UNPKG

226 kBJavaScriptView Raw
1var e=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 t=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 u=t,i=t;u.default=i;const n=t=>{if("string"!=typeof(t=t.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," "))||0===t.length)return 0;t=e(t);let i=0;for(let e=0;e<t.length;e++){const n=t.codePointAt(e);n<=31||n>=127&&n<=159||(n>=768&&n<=879||(n>65535&&e++,i+=u(n)?2:1))}return i};var r=n,s=n;r.default=s;var a=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};function o(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var c="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function p(){throw new Error("setTimeout has not been defined")}function D(){throw new Error("clearTimeout has not been defined")}var h=p,l=D;function d(e){if(h===setTimeout)return setTimeout(e,0);if((h===p||!h)&&setTimeout)return h=setTimeout,setTimeout(e,0);try{return h(e,0)}catch(t){try{return h.call(null,e,0)}catch(t){return h.call(this,e,0)}}}"function"==typeof c.setTimeout&&(h=setTimeout),"function"==typeof c.clearTimeout&&(l=clearTimeout);var E,f=[],C=!1,m=-1;function A(){C&&E&&(C=!1,E.length?f=E.concat(f):m=-1,f.length&&F())}function F(){if(!C){var e=d(A);C=!0;for(var t=f.length;t;){for(E=f,f=[];++m<t;)E&&E[m].run();m=-1,t=f.length}E=null,C=!1,function(e){if(l===clearTimeout)return clearTimeout(e);if((l===D||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}(e)}}function g(e,t){this.fun=e,this.array=t}g.prototype.run=function(){this.fun.apply(null,this.array)};function y(){}var x=y,B=y,S=y,v=y,b=y,T=y,_=y;var w=c.performance||{},k=w.now||w.mozNow||w.msNow||w.oNow||w.webkitNow||function(){return(new Date).getTime()};var I=new Date;var N={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];f.push(new g(e,t)),1!==f.length||C||d(F)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:x,addListener:B,once:S,off:v,removeListener:b,removeAllListeners:T,emit:_,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*k.call(w),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-I)/1e3}};var L="object"==typeof N&&N.env&&N.env.NODE_DEBUG&&/\bsemver\b/i.test(N.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var P={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16};function O(e,t,u){return e(u={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&u.path)}},u.exports),u.exports}function R(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var M=O((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:u}=P,i=(t=e.exports={}).re=[],n=t.src=[],r=t.t={};let s=0;const a=(e,t,u)=>{const a=s++;L(a,t),r[e]=a,n[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","(".concat(n[r.NUMERICIDENTIFIER],")\\.")+"(".concat(n[r.NUMERICIDENTIFIER],")\\.")+"(".concat(n[r.NUMERICIDENTIFIER],")")),a("MAINVERSIONLOOSE","(".concat(n[r.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(n[r.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(n[r.NUMERICIDENTIFIERLOOSE],")")),a("PRERELEASEIDENTIFIER","(?:".concat(n[r.NUMERICIDENTIFIER],"|").concat(n[r.NONNUMERICIDENTIFIER],")")),a("PRERELEASEIDENTIFIERLOOSE","(?:".concat(n[r.NUMERICIDENTIFIERLOOSE],"|").concat(n[r.NONNUMERICIDENTIFIER],")")),a("PRERELEASE","(?:-(".concat(n[r.PRERELEASEIDENTIFIER],"(?:\\.").concat(n[r.PRERELEASEIDENTIFIER],")*))")),a("PRERELEASELOOSE","(?:-?(".concat(n[r.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(n[r.PRERELEASEIDENTIFIERLOOSE],")*))")),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD","(?:\\+(".concat(n[r.BUILDIDENTIFIER],"(?:\\.").concat(n[r.BUILDIDENTIFIER],")*))")),a("FULLPLAIN","v?".concat(n[r.MAINVERSION]).concat(n[r.PRERELEASE],"?").concat(n[r.BUILD],"?")),a("FULL","^".concat(n[r.FULLPLAIN],"$")),a("LOOSEPLAIN","[v=\\s]*".concat(n[r.MAINVERSIONLOOSE]).concat(n[r.PRERELEASELOOSE],"?").concat(n[r.BUILD],"?")),a("LOOSE","^".concat(n[r.LOOSEPLAIN],"$")),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE","".concat(n[r.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),a("XRANGEIDENTIFIER","".concat(n[r.NUMERICIDENTIFIER],"|x|X|\\*")),a("XRANGEPLAIN","[v=\\s]*(".concat(n[r.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(n[r.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(n[r.XRANGEIDENTIFIER],")")+"(?:".concat(n[r.PRERELEASE],")?").concat(n[r.BUILD],"?")+")?)?"),a("XRANGEPLAINLOOSE","[v=\\s]*(".concat(n[r.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(n[r.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(n[r.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(n[r.PRERELEASELOOSE],")?").concat(n[r.BUILD],"?")+")?)?"),a("XRANGE","^".concat(n[r.GTLT],"\\s*").concat(n[r.XRANGEPLAIN],"$")),a("XRANGELOOSE","^".concat(n[r.GTLT],"\\s*").concat(n[r.XRANGEPLAINLOOSE],"$")),a("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(u,"})")+"(?:\\.(\\d{1,".concat(u,"}))?")+"(?:\\.(\\d{1,".concat(u,"}))?")+"(?:$|[^\\d])"),a("COERCERTL",n[r.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM","(\\s*)".concat(n[r.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",a("TILDE","^".concat(n[r.LONETILDE]).concat(n[r.XRANGEPLAIN],"$")),a("TILDELOOSE","^".concat(n[r.LONETILDE]).concat(n[r.XRANGEPLAINLOOSE],"$")),a("LONECARET","(?:\\^)"),a("CARETTRIM","(\\s*)".concat(n[r.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",a("CARET","^".concat(n[r.LONECARET]).concat(n[r.XRANGEPLAIN],"$")),a("CARETLOOSE","^".concat(n[r.LONECARET]).concat(n[r.XRANGEPLAINLOOSE],"$")),a("COMPARATORLOOSE","^".concat(n[r.GTLT],"\\s*(").concat(n[r.LOOSEPLAIN],")$|^$")),a("COMPARATOR","^".concat(n[r.GTLT],"\\s*(").concat(n[r.FULLPLAIN],")$|^$")),a("COMPARATORTRIM","(\\s*)".concat(n[r.GTLT],"\\s*(").concat(n[r.LOOSEPLAIN],"|").concat(n[r.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE","^\\s*(".concat(n[r.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(n[r.XRANGEPLAIN],")")+"\\s*$"),a("HYPHENRANGELOOSE","^\\s*(".concat(n[r.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(n[r.XRANGEPLAINLOOSE],")")+"\\s*$"),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}));const V=/^[0-9]+$/,j=(e,t)=>{const u=V.test(e),i=V.test(t);return u&&i&&(e=+e,t=+t),e===t?0:u&&!i?-1:i&&!u?1:e<t?-1:1};var U={compareIdentifiers:j,rcompareIdentifiers:(e,t)=>j(t,e)};const{MAX_LENGTH:G,MAX_SAFE_INTEGER:X}=P,{re:q,t:W}=M,{compareIdentifiers:J}=U;class H{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof H){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>G)throw new TypeError("version is longer than ".concat(G," characters"));L("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const u=e.trim().match(t.loose?q[W.LOOSE]:q[W.FULL]);if(!u)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>X||this.major<0)throw new TypeError("Invalid major version");if(this.minor>X||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>X||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<X)return t}return e})):this.prerelease=[],this.build=u[5]?u[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(e){if(L("SemVer.compare",this.version,this.options,e),!(e instanceof H)){if("string"==typeof e&&e===this.version)return 0;e=new H(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof H||(e=new H(e,this.options)),J(this.major,e.major)||J(this.minor,e.minor)||J(this.patch,e.patch)}comparePre(e){if(e instanceof H||(e=new H(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(L("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 J(u,i)}while(++t)}compareBuild(e){e instanceof H||(e=new H(e,this.options));let t=0;do{const u=this.build[t],i=e.build[t];if(L("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 J(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: ".concat(e))}return this.format(),this.raw=this.version,this}}var z=H;var $=(e,t,u)=>new z(e,u).compare(new z(t,u));var K=(e,t,u)=>$(e,t,u)<0;var Q=(e,t,u)=>$(e,t,u)>=0,Y="2.2.1",Z=O((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});var n=Object.prototype.hasOwnProperty,r=function(e,t){return n.call(e,t)};function s(e,t){for(var u in t)r(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,n=e[0].match(p);n&&(i=n[1].length);var r=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(r,"$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,n=e.length;i<n;i++)u+=e[i],i<n-1&&(u+=t[i]);return u}function d(e){return r(e,"raw")&&r(e,"length")}var E=function e(t){var u=i(),n=i();return s((function i(r){for(var a=[],o=1;o<arguments.length;o++)a[o-1]=arguments[o];if(d(r)){var p=r,f=(a[0]===i||a[0]===E)&&D.test(p[0])&&c.test(p[1]),C=f?n:u,m=C.get(p);if(m||(m=h(p,f,t),C.set(p,m)),0===a.length)return m[0];var A=l(m,f?a.slice(1):a);return A}return e(s(s({},t),r||{}))}),{string:function(e){return h([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=E,t.default=E;try{e.exports=E,Object.defineProperty(E,"__esModule",{value:!0}),E.default=E,E.outdent=E}catch(e){}}));function ee(){const e=o(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]);return ee=function(){return e},e}function te(){const e=o(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]);return te=function(){return e},e}function ue(){const e=o(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]);return ue=function(){return e},e}function ie(){const e=o(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]);return ie=function(){return e},e}function ne(){const e=o(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "]);return ne=function(){return e},e}function re(){const e=o(["\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n "]);return re=function(){return e},e}const{outdent:se}=Z,ae={cursorOffset:{since:"1.4.0",category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:se(re()),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:se(ne())}]},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:null,description:"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:se(ie()),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:1/0,step:1}},rangeEnd:{since:"1.4.0",category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:se(ue()),cliCategory:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:se(te()),cliCategory:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:se(ee()),cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,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 oe={compare:$,lt:K,gte:Q},ce=Y,pe={CATEGORY_CONFIG:"Config",CATEGORY_EDITOR:"Editor",CATEGORY_FORMAT:"Format",CATEGORY_OTHER:"Other",CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:"Global",CATEGORY_SPECIAL:"Special",options:ae}.options;var De={getSupportInfo:function({plugins:e=[],showUnreleased:t=!1,showDeprecated:u=!1,showInternal:i=!1}={}){const n=ce.split("-",1)[0],r=e.reduce(((e,t)=>e.concat(t.languages||[])),[]).filter(c),s=(a=Object.assign({},...e.map((({options:e})=>e)),pe),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 function(e,t){if(null==e)return{};var u,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)u=r[i],t.indexOf(u)>=0||(n[u]=e[u]);return n}(e,["cliName","cliCategory","cliDescription"])})).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)=>oe.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 n of t)if(n.parsers)for(const t of n.parsers)if(!i.has(t)){i.add(t);const r=u.find((e=>e.parsers&&e.parsers[t]));let s=n.name;r&&r.name&&(s+=" (plugin: ".concat(r.name,")")),e.choices.push({value:t,description:s})}}(t,r,e));const u=e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).reduce(((e,u)=>(e[u.name]=u.defaultOptions[t.name],e)),{});return Object.assign({},t,{pluginDefaults:u})}));var a,o;return{languages:r,options:s};function c(e){return t||!("since"in e)||e.since&&oe.gte(n,e.since)}function p(e){return u||!("deprecated"in e)||e.deprecated&&oe.lt(n,e.deprecated)}}};const{getSupportInfo:he}=De,le=/[^\x20-\x7F]/;function de(e){return(t,u,i)=>{const n=i&&i.backwards;if(!1===u)return!1;const{length:r}=t;let s=u;for(;s>=0&&s<r;){const u=t.charAt(s);if(e instanceof RegExp){if(!e.test(u))return s}else if(!e.includes(u))return s;n?s--:s++}return(-1===s||s===r)&&s}}const Ee=de(/\s/),fe=de(" \t"),Ce=de(",; \t"),me=de(/[^\n\r]/);function Ae(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 Fe(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?me(e,t):t)}function ge(e,t,u){const i=u&&u.backwards;if(!1===t)return!1;const n=e.charAt(t);if(i){if("\r"===e.charAt(t-1)&&"\n"===n)return t-2;if("\n"===n||"\r"===n||"\u2028"===n||"\u2029"===n)return t-1}else{if("\r"===n&&"\n"===e.charAt(t+1))return t+2;if("\n"===n||"\r"===n||"\u2028"===n||"\u2029"===n)return t+1}return t}function ye(e,t,u){const i=fe(e,(u=u||{}).backwards?t-1:t,u);return i!==ge(e,i,u)}function xe(e,t){let u=null,i=t;for(;i!==u;)u=i,i=Ce(e,i),i=Ae(e,i),i=fe(e,i);return i=Fe(e,i),i=ge(e,i),!1!==i&&ye(e,i)}function Be(e,t){let u=null,i=t;for(;i!==u;)u=i,i=fe(e,i),i=Ae(e,i),i=Fe(e,i),i=ge(e,i);return i}function Se(e,t,u){return Be(e,u(t))}function ve(e,t,u){let i=0;for(let n=u=u||0;n<e.length;++n)"\t"===e[n]?i=i+t-i%t:i++;return i}function be(e,t){const u=e.slice(1,-1),i={quote:'"',regex:/"/g},n={quote:"'",regex:/'/g},r="'"===t?n:i,s=r===n?i:n;let a=r.quote;if(u.includes(r.quote)||u.includes(s.quote)){a=(u.match(r.regex)||[]).length>(u.match(s.regex)||[]).length?s.quote:r.quote}return a}function Te(e,t,u){const i='"'===t?"'":'"',n=e.replace(/\\([\S\s])|(["'])/g,((e,n,r)=>n===i?n:r===t?"\\"+r:r||(u&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(n)?n:"\\"+n)));return t+n+t}function _e(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var we={inferParserByLanguage:function(e,t){const{languages:u}=he({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(".".concat(e))));return i&&i.parsers[0]},replaceEndOfLineWith:function(e,t){const u=[];for(const i of e.split("\n"))0!==u.length&&u.push(t),u.push(i);return u},getStringWidth:function(e){return e?le.test(e)?r(e):e.length:0},getMaxContinuousCount:function(e,t){const u=e.match(new RegExp("(".concat(a(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("(".concat(a(t),")+"),"g"));if(null===u)return 0;const i=new Map;let n=0;for(const e of u){const u=e.length/t.length;i.set(u,!0),u>n&&(n=u)}for(let e=1;e<n;e++)if(!i.get(e))return e;return n+1},getPenultimate:e=>e[e.length-2],getLast:e=>e[e.length-1],getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Be,getNextNonSpaceNonCommentCharacterIndex:Se,getNextNonSpaceNonCommentCharacter:function(e,t,u){return e.charAt(Se(e,t,u))},skip:de,skipWhitespace:Ee,skipSpaces:fe,skipToLineEnd:Ce,skipEverythingButNewLine:me,skipInlineComment:Ae,skipTrailingComment:Fe,skipNewline:ge,isNextLineEmptyAfterIndex:xe,isNextLineEmpty:function(e,t,u){return xe(e,u(t))},isPreviousLineEmpty:function(e,t,u){let i=u(t)-1;return i=fe(e,i,{backwards:!0}),i=ge(e,i,{backwards:!0}),i=fe(e,i,{backwards:!0}),i!==ge(e,i,{backwards:!0})},hasNewline:ye,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 fe(e,(u=u||{}).backwards?t-1:t,u)!==t},getAlignmentSize:ve,getIndentSize:function(e,t){const u=e.lastIndexOf("\n");return-1===u?0:ve(e.slice(u+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:be,printString:function(e,t,u){const i=e.slice(1,-1),n=!i.includes('"')&&!i.includes("'"),r="json"===t.parser?'"':t.__isInHtmlAttribute?"'":be(e,t.singleQuote?"'":'"');return u?n?r+i+r:e:Te(i,r,!("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|$)/,"")},isNodeIgnoreComment:function(e){return"prettier-ignore"===e.value.trim()},makeString:Te,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,_e(e,t)},addDanglingComment:function(e,t,u){t.leading=!1,t.trailing=!1,u&&(t.marker=u),_e(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,_e(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)}};var ke=function(e,t){const u=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return u.loc=t,u},Ie=Object.freeze({__proto__:null,default:{EOL:"\n",platform:()=>"browser",cpus:()=>[{model:"Prettier"}]}});const Ne=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 Le=Ne;Le.graceful=e=>"string"==typeof e&&Ne(e)||"\n";var Pe=R(Ie),Oe=O((function(e,t){function u(){const e=Pe;return u=function(){return e},e}function i(){const e=(t=Le)&&t.__esModule?t:{default:t};var t;return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e){const t=e.match(s);return t?t[0].trimLeft():""},t.strip=function(e){const t=e.match(s);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return l(e).pragmas},t.parseWithComments=l,t.print=function({comments:e="",pragmas:t={}}){const n=(0,i().default)(e)||u().EOL,r=" *",s=Object.keys(t),a=s.map((e=>d(e,t[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>" * "+e+n)).join("");if(!e){if(0===s.length)return"";if(1===s.length&&!Array.isArray(t[s[0]])){const e=t[s[0]];return"".concat("/**"," ").concat(d(s[0],e)[0]).concat(" */")}}const o=e.split(n).map((e=>"".concat(r," ").concat(e))).join(n)+n;return"/**"+n+(e?o:"")+(e&&s.length?r+n:"")+a+" */"};const n=/\*\/$/,r=/^\/\*\*/,s=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,o=/^(\r?\n)+/,c=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,p=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,D=/(\r?\n|^) *\* ?/g,h=[];function l(e){const t=(0,i().default)(e)||u().EOL;e=e.replace(r,"").replace(n,"").replace(D,"$1");let s="";for(;s!==e;)s=e,e=e.replace(c,"".concat(t,"$1 $2").concat(t));e=e.replace(o,"").trimRight();const l=Object.create(null),d=e.replace(p,"").replace(o,"").trimRight();let E;for(;E=p.exec(e);){const e=E[2].replace(a,"");"string"==typeof l[E[1]]||Array.isArray(l[E[1]])?l[E[1]]=h.concat(l[E[1]],e):l[E[1]]=e}return{comments:d,pragmas:l}}function d(e,t){return h.concat(t).map((t=>"@".concat(e," ").concat(t).trim()))}}));var Re={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" '.concat(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:Me,strip:Ve,extract:je,print:Ue}=Oe,{getShebang:Ge}=we,{normalizeEndOfLine:Xe}=Re;function qe(e){const t=Ge(e);t&&(e=e.slice(t.length+1));const u=je(e),{pragmas:i,comments:n}=Me(u);return{shebang:t,text:e,pragmas:i,comments:n}}var We={hasPragma:function(e){const t=Object.keys(qe(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:u,pragmas:i,comments:n}=qe(e),r=Ve(u),s=Ue({pragmas:Object.assign({format:""},i),comments:n.trimStart()});return(t?"".concat(t,"\n"):"")+Xe(s)+(r.startsWith("\n")?"\n":"\n\n")+r}};function Je(e,t){const{ignoreDecorators:u}=t||{};if(!u){const t=e.declaration&&e.declaration.decorators||e.decorators;if(t&&t.length>0)return Je(t[0])}return e.range?e.range[0]:e.start}function He(e){const t=e.range?e.range[1]:e.end;return e.typeAnnotation?Math.max(t,He(e.typeAnnotation)):t}function ze(e,t){return Je(e)===Je(t)}var $e={locStart:Je,locEnd:He,composeLoc:function(e,t=e){const u=Je(e);return[u,"number"==typeof t?u+t:He(t)]},hasSameLocStart:ze,hasSameLoc:function(e,t){return ze(e,t)&&function(e,t){return He(e)===He(t)}(e,t)}},Ke=O((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}}()})),Qe=O((function(e){!function(){var t,u,i,n,r,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],n=new Array(128),s=0;s<128;++s)n[s]=s>=97&&s<=122||s>=65&&s<=90||36===s||95===s;for(r=new Array(128),s=0;s<128;++s)r[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?n[e]:u.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES5:function(e){return e<128?r[e]:u.NonAsciiIdentifierPart.test(a(e))},isIdentifierStartES6:function(e){return e<128?n[e]:t.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES6:function(e){return e<128?r[e]:t.NonAsciiIdentifierPart.test(a(e))}}}()})),Ye=O((function(e){!function(){var t=Qe;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 n(e,t){return"null"===e||"true"===e||"false"===e||u(e,t)}function r(e,t){return"null"===e||"true"===e||"false"===e||i(e,t)}function s(e){var u,i,n;if(0===e.length)return!1;if(n=e.charCodeAt(0),!t.isIdentifierStartES5(n))return!1;for(u=1,i=e.length;u<i;++u)if(n=e.charCodeAt(u),!t.isIdentifierPartES5(n))return!1;return!0}function a(e){var u,i,n,r,s;if(0===e.length)return!1;for(s=t.isIdentifierStartES6,u=0,i=e.length;u<i;++u){if(55296<=(n=e.charCodeAt(u))&&n<=56319){if(++u>=i)return!1;if(!(56320<=(r=e.charCodeAt(u))&&r<=57343))return!1;n=1024*(n-55296)+(r-56320)+65536}if(!s(n))return!1;s=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:u,isKeywordES6:i,isReservedWordES5:n,isReservedWordES6:r,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:s,isIdentifierNameES6:a,isIdentifierES5:function(e,t){return s(e)&&!n(e,t)},isIdentifierES6:function(e,t){return a(e)&&!r(e,t)}}}()}));const Ze=O((function(e,t){t.ast=Ke,t.code=Qe,t.keyword=Ye})).keyword.isIdentifierNameES5,{getLast:et,hasNewline:tt,hasNewlineInRange:ut,skipWhitespace:it}=we,{locStart:nt,locEnd:rt,hasSameLocStart:st}=$e,at=new RegExp("^".concat("(?:(?=.)\\s)","*:")),ot=new RegExp("^".concat("(?:(?=.)\\s)","*::"));function ct(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some((e=>ct(e,t)));const u=t(e);return"boolean"==typeof u?u:Object.keys(e).some((u=>ct(e[u],t)))}function pt(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||"CallExpression"===e.type||"OptionalCallExpression"===e.type||"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function Dt(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}const ht=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function lt(e){return e&&ht.has(e.type)}function dt(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}function Et(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function ft(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function Ct(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function mt(e){return!("CallExpression"!==e.type&&"OptionalCallExpression"!==e.type||"Identifier"!==e.callee.type||"async"!==e.callee.name&&"inject"!==e.callee.name&&"fakeAsync"!==e.callee.name)}function At(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function Ft(e){return"get"===e.kind||"set"===e.kind}function gt(e){return Ft(e)||st(e,e.value)}const yt=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]);const xt=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 Bt=/^(skip|[fx]?(it|describe|test))$/;function St(e){return"CallExpression"===e.type||"OptionalCallExpression"===e.type}const vt=new RegExp("([ \n\r\t]+)"),bt=new RegExp("[^ \n\r\t]");function Tt(e){return dt(e)&&(bt.test(It(e))||!/\n/.test(It(e)))}function _t(e,t){if(At(t))return Gt(t);return t.comments&&t.comments.some((t=>t.leading&&tt(e,rt(t))))}function wt(e){return/^(\d+|\d+\.\d+)$/.test(e)}function kt(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function It(e){return e.extra?e.extra.raw:e.raw}const Nt={"==":!0,"!=":!0,"===":!0,"!==":!0},Lt={"*":!0,"/":!0,"%":!0},Pt={">>":!0,">>>":!0,"<<":!0};const Ot={};function Rt(e){return Ot[e]}[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach(((e,t)=>{e.forEach((e=>{Ot[e]=t}))}));const Mt=new WeakMap;function Vt(e){if(Mt.has(e))return Mt.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),Mt.set(e,t),t}const jt=new WeakMap;function Ut(e){return"prettier-ignore"===e.value.trim()}function Gt(e){return e&&(e.comments&&e.comments.length>0&&e.comments.some((e=>Ut(e)&&!e.unignore))||e.prettierIgnore)}function Xt(e){return Gt(e.getValue())}var qt={classChildNeedsASIProtection:function(e){if(e){if(e.static||e.accessibility)return!1;if(!e.computed){const t=e.key&&e.key.name;if("in"===t||"instanceof"===t)return!0}switch(e.type){case"ClassProperty":case"FieldDefinition":case"TSAbstractClassProperty":return e.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{const t=e.value?e.value.async:e.async,u=e.value?e.value.generator:e.generator;return!t&&"get"!==e.kind&&"set"!==e.kind&&!(!e.computed&&!u)}case"TSIndexSignature":return!0;default:return!1}}},classPropMayCauseASIProblems:function(e){const t=e.getNode();if("ClassProperty"!==t.type&&"FieldDefinition"!==t.type)return!1;const u=t.key&&t.key.name;return!("static"!==u&&"get"!==u&&"set"!==u||t.value||t.typeAnnotation)||void 0},getFunctionParameters:Vt,iterateFunctionParametersPath:function(e,t){const u=e.getValue();let i=0;const n=e=>t(e,i++);u.this&&e.call(n,"this"),Array.isArray(u.parameters)?e.each(n,"parameters"):Array.isArray(u.params)&&e.each(n,"params"),u.rest&&e.call(n,"rest")},getCallArguments:function(e){if(jt.has(e))return jt.get(e);const t="ImportExpression"===e.type?[e.source]:e.arguments;return jt.set(e,t),t},iterateCallArgumentsPath:function(e,t){"ImportExpression"===e.getValue().type?e.call((e=>t(e,0)),"source"):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;const t=Vt(e);return t.length>0&&"RestElement"===et(t).type},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()&&lt(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasDanglingComments:function(e){return e.comments&&e.comments.some((e=>!e.leading&&!e.trailing))},hasFlowAnnotationComment:function(e){return e&&Dt(e[0])&&ot.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&e.trailingComments&&Dt(e.trailingComments[0])&&at.test(e.trailingComments[0].value)},hasLeadingComment:function(e){return e.comments&&e.comments.some((e=>e.leading))},hasLeadingOwnLineComment:_t,hasNakedLeftSide:pt,hasNewlineBetweenOrAfterDecorators:function(e,t){return ut(t.originalText,nt(e.decorators[0]),rt(et(e.decorators)))||tt(t.originalText,rt(et(e.decorators)))},hasNgSideEffect:function(e){return ct(e.getValue(),(e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))},hasNode:ct,hasPrettierIgnore:function(e){return Xt(e)||function(e){const t=e.getValue(),u=e.getParentNode();if(!(u&&t&&At(t)&&At(u)))return!1;let i=null;for(let e=u.children.indexOf(t);e>0;e--){const t=u.children[e-1];if("JSXText"!==t.type||Tt(t)){i=t;break}}return i&&"JSXExpressionContainer"===i.type&&"JSXEmptyExpression"===i.expression.type&&i.expression.comments&&i.expression.comments.some((e=>Ut(e)))}(e)},hasTrailingComment:function(e){return e.comments&&e.comments.some((e=>e.trailing))},hasTrailingLineComment:function(e){return e.comments&&e.comments.some((e=>e.trailing&&!Dt(e)))},hasIgnoreComment:Xt,hasNodeIgnoreComment:Gt,identity:function(e){return e},isBinaryish:function(e){return yt.has(e.type)},isBlockComment:Dt,isLineComment:function(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type},isPrettierIgnoreComment:Ut,isCallOrOptionalCallExpression:St,isEmptyJSXElement:function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;const t=e.children[0];return dt(t)&&!Tt(t)},isExportDeclaration:lt,isFlowAnnotationComment:function(e,t){const u=nt(t),i=it(e,rt(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(Ct(u)){if(t+=1,t>1)return!0}else if(St(u))for(const e of u.arguments)if(Ct(e))return!0;return!1},isFunctionNotation:gt,isFunctionOrArrowExpression:Ct,isGetterOrSetter:Ft,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:At,isJSXWhitespaceExpression:function(e){return"JSXExpressionContainer"===e.type&&dt(e.expression)&&" "===e.expression.value&&!e.expression.comments},isLastStatement:function(e){const t=e.getParentNode();if(!t)return!0;const u=e.getValue(),i=(t.body||t.consequent).filter((e=>"EmptyStatement"!==e.type));return i[i.length-1]===u},isLiteral:dt,isLongCurriedCallExpression:function(e){const t=e.getValue(),u=e.getParentNode();return St(t)&&St(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),n="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(n&&n.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||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?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))):"ImportExpression"===t.type?i(t.source):"CallExpression"===t.type||"OptionalCallExpression"===t.type||"NewExpression"===t.type?e(t.callee,u)&&t.arguments.every(i):"MemberExpression"===t.type||"OptionalMemberExpression"===t.type?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)))},isMeaningfulJSXText:Tt,isMemberExpressionChain:function e(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&("Identifier"===t.object.type||e(t.object))},isMemberish:function(e){return"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"BindExpression"===e.type&&Boolean(e.object)},isNgForOf:function(e,t,u){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===u.body[0].type&&null===u.body[0].value},isNumericLiteral:Et,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||gt(e))},isSimpleType:function(e){return!!e&&(!("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)||!!xt.has(e.type))},isSimpleNumber:wt,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const u=e[t];return 0!==u.length&&u.every((e=>{if(e.comments)return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if("MemberExpression"===e.type||"OptionalMemberExpression"===e.type){let t=e;for(;"MemberExpression"===t.type||"OptionalMemberExpression"===t.type;){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,t.comments)return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:ft,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&ft(e.key)&&It(e.key).slice(1,-1)===e.key.value&&(Ze(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||wt(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&kt(e)||"TaggedTemplateExpression"===e.type&&kt(e.quasi))&&!tt(t,nt(e),{backwards:!0})},isTestCall:function e(t,u){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(mt(t)&&u&&e(u))return Ct(t.arguments[0]);if("Identifier"===(i=t).callee.type&&/^(before|after)(Each|All)$/.test(i.callee.name)&&1===i.arguments.length)return mt(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&Bt.test(t.callee.name)||function(e){return("MemberExpression"===e.callee.type||"OptionalMemberExpression"===e.callee.type)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&Bt.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])||ft(t.arguments[0])))return!(t.arguments[2]&&!Et(t.arguments[2]))&&((2===t.arguments.length?Ct(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&Vt(t.arguments[1]).length<=1)||mt(t.arguments[1]));var i;return!1},isTheOnlyJSXElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const u=t.getNode();if(!u.expression||!At(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||st(e,e.typeAnnotation))},matchJsxWhitespaceRegex:vt,needsHardlineAfterDanglingComment:function(e){if(!e.comments)return!1;const t=et(e.comments.filter((e=>!e.leading&&!e.trailing)));return t&&!Dt(t)},rawText:It,returnArgumentHasLeadingComment:function(e,t){if(_t(e.originalText,t))return!0;if(pt(t)){let i,n=t;for(;i=(u=n).expressions?u.expressions[0]:u.left||u.test||u.callee||u.object||u.tag||u.argument||u.expression;)if(n=i,_t(e.originalText,n))return!0}var u;return!1},shouldPrintComma:function(e,t="es5"){return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return!!Pt[e]||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return Rt(t)===Rt(e)&&("**"!==e&&((!Nt[e]||!Nt[t])&&(!("%"===t&&Lt[e]||"%"===e&&Lt[t])&&((t===e||!Lt[t]||!Lt[e])&&(!Pt[e]||!Pt[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":return e(t.expression,u);default:return!1}},getPrecedence:Rt};const{getLast:Wt,hasNewline:Jt,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ht,getNextNonSpaceNonCommentCharacter:zt,hasNewlineInRange:$t,addLeadingComment:Kt,addTrailingComment:Qt,addDanglingComment:Yt,getNextNonSpaceNonCommentCharacterIndex:Zt}=we,{isBlockComment:eu,getFunctionParameters:tu,isPrettierIgnoreComment:uu,isJSXNode:iu,hasFlowShorthandAnnotationComment:nu,hasFlowAnnotationComment:ru,hasIgnoreComment:su}=qt,{locStart:au,locEnd:ou}=$e;function cu(e,t){const u=(e.body||e.properties).find((({type:e})=>"EmptyStatement"!==e));u?Kt(u,t):Yt(e,t)}function pu(e,t){"BlockStatement"===e.type?cu(e,t):Kt(e,t)}function Du(e,t){const{precedingNode:u,enclosingNode:i,followingNode:n}=e;if(!i||"IfStatement"!==i.type||!n)return!1;return")"===zt(t,e,ou)?(Qt(u,e),!0):u===i.consequent&&n===i.alternate?("BlockStatement"===u.type?Qt(u,e):Yt(i,e),!0):"BlockStatement"===n.type?(cu(n,e),!0):"IfStatement"===n.type?(pu(n.consequent,e),!0):i.consequent===n&&(Kt(n,e),!0)}function hu(e,t){const{precedingNode:u,enclosingNode:i,followingNode:n}=e;if(!i||"WhileStatement"!==i.type||!n)return!1;return")"===zt(t,e,ou)?(Qt(u,e),!0):"BlockStatement"===n.type?(cu(n,e),!0):i.body===n&&(Kt(n,e),!0)}function lu(e){const{precedingNode:t,enclosingNode:u,followingNode:i}=e;return!(!u||"TryStatement"!==u.type&&"CatchClause"!==u.type||!i)&&("CatchClause"===u.type&&t?(Qt(t,e),!0):"BlockStatement"===i.type?(cu(i,e),!0):"TryStatement"===i.type?(pu(i.finalizer,e),!0):"CatchClause"===i.type&&(pu(i.body,e),!0))}function du(e){const{precedingNode:t,enclosingNode:u,followingNode:i}=e;if(u&&("ClassDeclaration"===u.type||"ClassExpression"===u.type||"DeclareClass"===u.type||"DeclareInterface"===u.type||"InterfaceDeclaration"===u.type||"TSInterfaceDeclaration"===u.type)){if(u.decorators&&u.decorators.length>0&&(!i||"Decorator"!==i.type))return Qt(u.decorators[u.decorators.length-1],e),!0;if(u.body&&i===u.body)return cu(u.body,e),!0;if(i)for(const n of["implements","extends","mixins"])if(u[n]&&i===u[n][0])return!t||t!==u.id&&t!==u.typeParameters&&t!==u.superClass?Yt(u,e,n):Qt(t,e),!0}return!1}function Eu(e,t){const{precedingNode:u,enclosingNode:i}=e;return(i&&u&&("Property"===i.type||"TSDeclareMethod"===i.type||"TSAbstractMethodDefinition"===i.type)&&"Identifier"===u.type&&i.key===u&&":"!==zt(t,u,ou)||!(!u||!i||"Decorator"!==u.type||"ClassMethod"!==i.type&&"ClassProperty"!==i.type&&"FieldDefinition"!==i.type&&"TSAbstractClassProperty"!==i.type&&"TSAbstractMethodDefinition"!==i.type&&"TSDeclareMethod"!==i.type&&"MethodDefinition"!==i.type))&&(Qt(u,e),!0)}function fu(e,t){const{precedingNode:u,enclosingNode:i,followingNode:n}=e;if(u&&"FunctionTypeParam"===u.type&&i&&"FunctionTypeAnnotation"===i.type&&n&&"FunctionTypeParam"!==n.type)return Qt(u,e),!0;if(u&&("Identifier"===u.type||"AssignmentPattern"===u.type)&&i&&gu(i)&&")"===zt(t,e,ou))return Qt(u,e),!0;if(i&&"FunctionDeclaration"===i.type&&n&&"BlockStatement"===n.type){const u=(()=>{const e=tu(i);if(0!==e.length)return Ht(t,ou(Wt(e)));const u=Ht(t,ou(i.id));return!1!==u&&Ht(t,u+1)})();if(au(e)>u)return cu(n,e),!0}return!1}function Cu(e){const{enclosingNode:t}=e;return!(!t||"ImportSpecifier"!==t.type)&&(Kt(t,e),!0)}function mu(e){const{enclosingNode:t}=e;return!(!t||"LabeledStatement"!==t.type)&&(Kt(t,e),!0)}function Au(e,t,u){const{enclosingNode:i}=e;return t&&t.body&&0===t.body.length?(u?Yt(t,e):Kt(t,e),!0):!(!i||"Program"!==i.type||0!==i.body.length||!i.directives||0!==i.directives.length)&&(u?Yt(i,e):Kt(i,e),!0)}function Fu(e){const{enclosingNode:t,followingNode:u}=e;if(uu(e)&&t&&"TSMappedType"===t.type&&u&&"TSTypeParameter"===u.type&&u.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function gu(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 yu(e){return eu(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var xu={handleOwnLineComment:function(e,t,u,i,n){return Fu(e)||fu(e,t)||function(e){const{enclosingNode:t,followingNode:u}=e;if(t&&("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&u&&"Identifier"===u.type)return Kt(t,e),!0;return!1}(e)||Du(e,t)||hu(e,t)||lu(e)||du(e)||Cu(e)||function(e){const{enclosingNode:t}=e;if(t&&("ForInStatement"===t.type||"ForOfStatement"===t.type))return Kt(t,e),!0;return!1}(e)||function(e){const{precedingNode:t,enclosingNode:u,followingNode:i}=e;if(u&&("UnionTypeAnnotation"===u.type||"TSUnionType"===u.type))return uu(e)&&(i.prettierIgnore=!0,e.unignore=!0),!!t&&(Qt(t,e),!0);i&&("UnionTypeAnnotation"===i.type||"TSUnionType"===i.type)&&uu(e)&&(i.types[0].prettierIgnore=!0,e.unignore=!0);return!1}(e)||Au(e,i,n)||function(e,t){const{precedingNode:u,enclosingNode:i}=e;if(u&&"ImportSpecifier"===u.type&&i&&"ImportDeclaration"===i.type&&Jt(t,ou(e)))return Qt(u,e),!0;return!1}(e,t)||function(e){const{enclosingNode:t}=e;if(t&&"AssignmentPattern"===t.type)return Kt(t,e),!0;return!1}(e)||Eu(e,t)||mu(e)},handleEndOfLineComment:function(e,t,u,i,n){return function(e){const{followingNode:t}=e;if(t&&yu(e))return Kt(t,e),!0;return!1}(e)||fu(e,t)||function(e,t){const{precedingNode:u,enclosingNode:i,followingNode:n}=e,r=u&&!$t(t,ou(u),au(e));if((!u||!r)&&i&&("ConditionalExpression"===i.type||"TSConditionalType"===i.type)&&n)return Kt(n,e),!0;return!1}(e,t)||Cu(e)||Du(e,t)||hu(e,t)||lu(e)||du(e)||mu(e)||function(e){const{precedingNode:t,enclosingNode:u}=e;if(u&&("CallExpression"===u.type||"OptionalCallExpression"===u.type)&&t&&u.callee===t&&u.arguments.length>0)return Kt(u.arguments[0],e),!0;return!1}(e)||function(e){const{enclosingNode:t}=e;if(t&&("Property"===t.type||"ObjectProperty"===t.type))return Kt(t,e),!0;return!1}(e)||Au(e,i,n)||function(e){const{enclosingNode:t}=e;if(t&&"TypeAlias"===t.type)return Kt(t,e),!0;return!1}(e)||function(e){const{enclosingNode:t,followingNode:u}=e;if(t&&("VariableDeclarator"===t.type||"AssignmentExpression"===t.type)&&u&&("ObjectExpression"===u.type||"ArrayExpression"===u.type||"TemplateLiteral"===u.type||"TaggedTemplateExpression"===u.type||eu(e)))return Kt(u,e),!0;return!1}(e)},handleRemainingComment:function(e,t,u,i,n){return!!(Fu(e)||Du(e,t)||hu(e,t)||function(e){const{precedingNode:t,enclosingNode:u}=e;if(u&&("ObjectProperty"===u.type||"Property"===u.type)&&u.shorthand&&u.key===t&&"AssignmentPattern"===u.value.type)return Qt(u.value.left,e),!0;return!1}(e)||function(e,t){if(")"!==zt(t,e,ou))return!1;const{enclosingNode:u}=e;if(u&&(gu(u)&&0===tu(u).length||("CallExpression"===u.type||"OptionalCallExpression"===u.type||"NewExpression"===u.type)&&0===u.arguments.length))return Yt(u,e),!0;if(u&&"MethodDefinition"===u.type&&0===tu(u.value).length)return Yt(u.value,e),!0;return!1}(e,t)||Eu(e,t)||Au(e,i,n)||function(e,t){const{enclosingNode:u}=e;if(!u||"ArrowFunctionExpression"!==u.type)return!1;const i=Zt(t,e,ou);if(!1!==i&&"=>"===t.slice(i,i+2))return Yt(u,e),!0;return!1}(e,t)||function(e,t){if("("!==zt(t,e,ou))return!1;const{precedingNode:u,enclosingNode:i}=e;if(u&&i&&("FunctionDeclaration"===i.type||"FunctionExpression"===i.type||"ClassMethod"===i.type||"MethodDefinition"===i.type||"ObjectMethod"===i.type))return Qt(u,e),!0;return!1}(e,t)||function(e){const{precedingNode:t,enclosingNode:u,followingNode:i}=e;if(!u||"TSMappedType"!==u.type)return!1;if(i&&"TSTypeParameter"===i.type&&i.name)return Kt(i.name,e),!0;if(t&&"TSTypeParameter"===t.type&&t.constraint)return Qt(t.constraint,e),!0;return!1}(e)||function(e){const{enclosingNode:t}=e;if(t&&("ContinueStatement"===t.type||"BreakStatement"===t.type)&&!t.label)return Qt(t,e),!0;return!1}(e)||function(e,t){const{enclosingNode:u,followingNode:i}=e;if(!i&&u&&("TSMethodSignature"===u.type||"TSDeclareFunction"===u.type||"TSAbstractMethodDefinition"===u.type)&&";"===zt(t,e,ou))return Qt(u,e),!0;return!1}(e,t))},hasLeadingComment:function(e,t=(()=>!0)){return e.leadingComments?e.leadingComments.some(t):!!e.comments&&e.comments.some((e=>e.leading&&t(e)))},isTypeCastComment:yu,getGapRegex:function(e){if(e&&"BinaryExpression"!==e.type&&"LogicalExpression"!==e.type)return/^[\s&(|]*$/},getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===tu(e.value).length&&!e.value.returnType&&(!e.value.typeParameters||0===e.value.typeParameters.length)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){const t=e.getValue(),u=e.getParentNode();return(t&&(iu(t)||nu(t)||u&&("CallExpression"===u.type||"OptionalCallExpression"===u.type)&&(ru(t.leadingComments)||ru(t.trailingComments)))||u&&("JSXSpreadAttribute"===u.type||"JSXSpreadChild"===u.type||"UnionTypeAnnotation"===u.type||"TSUnionType"===u.type||("ClassDeclaration"===u.type||"ClassExpression"===u.type)&&u.superClass===t))&&(!su(e)||"UnionTypeAnnotation"===u.type||"TSUnionType"===u.type)}};const{getLast:Bu,getNextNonSpaceNonCommentCharacter:Su,getShebang:vu}=we,{composeLoc:bu,locStart:Tu,locEnd:_u}=$e,{isTypeCastComment:wu}=xu;function ku(e){return"CallExpression"===e.type?(e.type="OptionalCallExpression",e.callee=ku(e.callee)):"MemberExpression"===e.type?(e.type="OptionalMemberExpression",e.object=ku(e.object)):"TSNonNullExpression"===e.type&&(e.expression=ku(e.expression)),e}function Iu(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,n]of u)e[i]=Iu(n,t);return Array.isArray(e)?e:t(e)||e}function Nu(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}function Lu(e){return Nu(e)?Lu({type:"LogicalExpression",operator:e.operator,left:Lu({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:bu(e.left,e.right.left)}),right:e.right.right,range:bu(e)}):e}var Pu=function(e,t){if("typescript"!==t.parser&&"flow"!==t.parser&&"espree"!==t.parser||function(e,t){const u=vu(t.originalText);u&&e.comments.unshift({type:"Line",value:u.slice(2),range:[0,u.length]})}(e,t),"typescript"===t.parser&&t.originalText.includes("@")){const{esTreeNodeToTSNodeMap:u,tsNodeToESTreeNodeMap:i}=t.tsParseResult;e=Iu(e,(e=>{const t=u.get(e);if(!t)return;const n=t.decorators;if(!Array.isArray(n))return;const r=i.get(t);if(r!==e)return;const s=r.decorators;if(!Array.isArray(s)||s.length!==n.length||n.some((e=>{const t=i.get(e);return!t||!s.includes(t)}))){const{start:e,end:t}=r.loc;throw ke("Leading decorators must be attached to a class declaration",{start:{line:e.line,column:e.column+1},end:{line:t.line,column:t.column+1}})}}))}if("typescript"!==t.parser&&"flow"!==t.parser&&"espree"!==t.parser&&"meriyah"!==t.parser){const t=new Set;e=Iu(e,(e=>{e.leadingComments&&e.leadingComments.some(wu)&&t.add(Tu(e))})),e=Iu(e,(e=>{if("ParenthesizedExpression"===e.type){const{expression:u}=e;if("TypeCastExpression"===u.type)return u.range=e.range,u;const i=Tu(e);if(!t.has(i))return u.extra=Object.assign({},u.extra,{parenthesized:!0}),u}}))}return e=Iu(e,(e=>{switch(e.type){case"ChainExpression":return ku(e.expression);case"LogicalExpression":if(Nu(e))return Lu(e);break;case"VariableDeclaration":{const u=Bu(e.declarations);u&&u.init&&function(e,u){if(";"===t.originalText[_u(u)])return;e.range=bu(e,u)}(e,u);break}case"TSParenthesizedType":return e.typeAnnotation.range=bu(e),e.typeAnnotation;case"TSUnionType":case"TSIntersectionType":if(1===e.types.length){const[t]=e.types;return t.range=bu(e),t}break;case"TSTypeParameter":"string"==typeof e.name&&(e.name={type:"Identifier",name:e.name,range:bu(e,e.name.length)});break;case"SequenceExpression":{const t=Bu(e.expressions);_u(e)>_u(t)&&(e.range=bu(e,t));break}case"ClassProperty":e.key&&"TSPrivateIdentifier"===e.key.type&&"?"===Su(t.originalText,e.key,_u)&&(e.optional=!0)}}))},Ou={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"},Ru="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",Mu={5:Ru,"5module":Ru+" export import",6:Ru+" const class extends export import super"},Vu=/^in(stanceof)?$/,ju="\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",Uu="\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",Gu=new RegExp("["+ju+"]"),Xu=new RegExp("["+ju+Uu+"]");ju=Uu=null;var qu=[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],Wu=[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 Ju(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 Hu(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&Gu.test(String.fromCharCode(e)):!1!==t&&Ju(e,qu)))}function zu(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&Xu.test(String.fromCharCode(e)):!1!==t&&(Ju(e,qu)||Ju(e,Wu)))))}var $u=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 Ku(e,t){return new $u(e,{beforeExpr:!0,binop:t})}var Qu={beforeExpr:!0},Yu={startsExpr:!0},Zu={};function ei(e,t){return void 0===t&&(t={}),t.keyword=e,Zu[e]=new $u(e,t)}var ti={num:new $u("num",Yu),regexp:new $u("regexp",Yu),string:new $u("string",Yu),name:new $u("name",Yu),eof:new $u("eof"),bracketL:new $u("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new $u("]"),braceL:new $u("{",{beforeExpr:!0,startsExpr:!0}),braceR:new $u("}"),parenL:new $u("(",{beforeExpr:!0,startsExpr:!0}),parenR:new $u(")"),comma:new $u(",",Qu),semi:new $u(";",Qu),colon:new $u(":",Qu),dot:new $u("."),question:new $u("?",Qu),questionDot:new $u("?."),arrow:new $u("=>",Qu),template:new $u("template"),invalidTemplate:new $u("invalidTemplate"),ellipsis:new $u("...",Qu),backQuote:new $u("`",Yu),dollarBraceL:new $u("${",{beforeExpr:!0,startsExpr:!0}),eq:new $u("=",{beforeExpr:!0,isAssign:!0}),assign:new $u("_=",{beforeExpr:!0,isAssign:!0}),incDec:new $u("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new $u("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Ku("||",1),logicalAND:Ku("&&",2),bitwiseOR:Ku("|",3),bitwiseXOR:Ku("^",4),bitwiseAND:Ku("&",5),equality:Ku("==/!=/===/!==",6),relational:Ku("</>/<=/>=",7),bitShift:Ku("<</>>/>>>",8),plusMin:new $u("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Ku("%",10),star:Ku("*",10),slash:Ku("/",10),starstar:new $u("**",{beforeExpr:!0}),coalesce:Ku("??",1),_break:ei("break"),_case:ei("case",Qu),_catch:ei("catch"),_continue:ei("continue"),_debugger:ei("debugger"),_default:ei("default",Qu),_do:ei("do",{isLoop:!0,beforeExpr:!0}),_else:ei("else",Qu),_finally:ei("finally"),_for:ei("for",{isLoop:!0}),_function:ei("function",Yu),_if:ei("if"),_return:ei("return",Qu),_switch:ei("switch"),_throw:ei("throw",Qu),_try:ei("try"),_var:ei("var"),_const:ei("const"),_while:ei("while",{isLoop:!0}),_with:ei("with"),_new:ei("new",{beforeExpr:!0,startsExpr:!0}),_this:ei("this",Yu),_super:ei("super",Yu),_class:ei("class",Yu),_extends:ei("extends",Qu),_export:ei("export"),_import:ei("import",Yu),_null:ei("null",Yu),_true:ei("true",Yu),_false:ei("false",Yu),_in:ei("in",{beforeExpr:!0,binop:7}),_instanceof:ei("instanceof",{beforeExpr:!0,binop:7}),_typeof:ei("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:ei("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:ei("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},ui=/\r\n?|\n|\u2028|\u2029/,ii=new RegExp(ui.source,"g");function ni(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var ri=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,si=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ai=Object.prototype,oi=ai.hasOwnProperty,ci=ai.toString;function pi(e,t){return oi.call(e,t)}var Di=Array.isArray||function(e){return"[object Array]"===ci.call(e)};function hi(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var li=function(e,t){this.line=e,this.column=t};li.prototype.offset=function(e){return new li(this.line,this.column+e)};var di=function(e,t,u){this.start=t,this.end=u,null!==e.sourceFile&&(this.source=e.sourceFile)};function Ei(e,t){for(var u=1,i=0;;){ii.lastIndex=i;var n=ii.exec(e);if(!(n&&n.index<t))return new li(u,t-i);++u,i=n.index+n[0].length}}var fi={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 Ci(e){var t={};for(var u in fi)t[u]=e&&pi(e,u)?e[u]:fi[u];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),Di(t.onToken)){var i=t.onToken;t.onToken=function(e){return i.push(e)}}return Di(t.onComment)&&(t.onComment=function(e,t){return function(u,i,n,r,s,a){var o={type:u?"Block":"Line",value:i,start:n,end:r};e.locations&&(o.loc=new di(this,s,a)),e.ranges&&(o.range=[n,r]),t.push(o)}}(t,t.onComment)),t}function mi(e,t){return 2|(e?4:0)|(t?8:0)}var Ai=function(e,t,u){this.options=e=Ci(e),this.sourceFile=e.sourceFile,this.keywords=hi(Mu[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var i="";if(!0!==e.allowReserved){for(var n=e.ecmaVersion;!(i=Ou[n]);n--);"module"===e.sourceType&&(i+=" await")}this.reservedWords=hi(i);var r=(i?i+" ":"")+Ou.strict;this.reservedWordsStrict=hi(r),this.reservedWordsStrictBind=hi(r+" "+Ou.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(ui).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=ti.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},Fi={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};Ai.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Fi.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},Fi.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},Fi.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},Fi.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},Fi.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},Fi.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Ai.prototype.inNonArrowFunction=function(){return(2&this.currentThisScope().flags)>0},Ai.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},Ai.parse=function(e,t){return new this(t,e).parse()},Ai.parseExpressionAt=function(e,t,u){var i=new this(u,e,t);return i.nextToken(),i.parseExpression()},Ai.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(Ai.prototype,Fi);var gi=Ai.prototype,yi=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)")/;function xi(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}gi.strictDirective=function(e){for(;;){si.lastIndex=e,e+=si.exec(this.input)[0].length;var t=yi.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){si.lastIndex=e+t[0].length;var u=si.exec(this.input),i=u.index+u[0].length,n=this.input.charAt(i);return";"===n||"}"===n||ui.test(u[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||"!"===n&&"="===this.input.charAt(i+1))}e+=t[0].length,si.lastIndex=e,e+=si.exec(this.input)[0].length,";"===this.input[e]&&e++}},gi.eat=function(e){return this.type===e&&(this.next(),!0)},gi.isContextual=function(e){return this.type===ti.name&&this.value===e&&!this.containsEsc},gi.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},gi.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},gi.canInsertSemicolon=function(){return this.type===ti.eof||this.type===ti.braceR||ui.test(this.input.slice(this.lastTokEnd,this.start))},gi.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},gi.semicolon=function(){this.eat(ti.semi)||this.insertSemicolon()||this.unexpected()},gi.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},gi.expect=function(e){this.eat(e)||this.unexpected()},gi.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},gi.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")}},gi.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")},gi.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")},gi.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var Bi=Ai.prototype;Bi.parseTopLevel=function(e){var t={};for(e.body||(e.body=[]);this.type!==ti.eof;){var u=this.parseStatement(null,!0,t);e.body.push(u)}if(this.inModule)for(var i=0,n=Object.keys(this.undefinedExports);i<n.length;i+=1){var r=n[i];this.raiseRecoverable(this.undefinedExports[r].start,"Export '"+r+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Si={kind:"loop"},vi={kind:"switch"};Bi.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;si.lastIndex=this.pos;var t=si.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(Hu(i,!0)){for(var n=u+1;zu(this.input.charCodeAt(n),!0);)++n;var r=this.input.slice(u,n);if(!Vu.test(r))return!0}return!1},Bi.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;si.lastIndex=this.pos;var e=si.exec(this.input),t=this.pos+e[0].length;return!(ui.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!==this.input.length&&zu(this.input.charAt(t+8)))},Bi.parseStatement=function(e,t,u){var i,n=this.type,r=this.startNode();switch(this.isLet(e)&&(n=ti._var,i="let"),n){case ti._break:case ti._continue:return this.parseBreakContinueStatement(r,n.keyword);case ti._debugger:return this.parseDebuggerStatement(r);case ti._do:return this.parseDoStatement(r);case ti._for:return this.parseForStatement(r);case ti._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(r,!1,!e);case ti._class:return e&&this.unexpected(),this.parseClass(r,!0);case ti._if:return this.parseIfStatement(r);case ti._return:return this.parseReturnStatement(r);case ti._switch:return this.parseSwitchStatement(r);case ti._throw:return this.parseThrowStatement(r);case ti._try:return this.parseTryStatement(r);case ti._const:case ti._var:return i=i||this.value,e&&"var"!==i&&this.unexpected(),this.parseVarStatement(r,i);case ti._while:return this.parseWhileStatement(r);case ti._with:return this.parseWithStatement(r);case ti.braceL:return this.parseBlock(!0,r);case ti.semi:return this.parseEmptyStatement(r);case ti._export:case ti._import:if(this.options.ecmaVersion>10&&n===ti._import){si.lastIndex=this.pos;var s=si.exec(this.input),a=this.pos+s[0].length,o=this.input.charCodeAt(a);if(40===o||46===o)return this.parseExpressionStatement(r,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'")),n===ti._import?this.parseImport(r):this.parseExport(r,u);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(r,!0,!e);var c=this.value,p=this.parseExpression();return n===ti.name&&"Identifier"===p.type&&this.eat(ti.colon)?this.parseLabeledStatement(r,c,p,e):this.parseExpressionStatement(r,p)}},Bi.parseBreakContinueStatement=function(e,t){var u="break"===t;this.next(),this.eat(ti.semi)||this.insertSemicolon()?e.label=null:this.type!==ti.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var n=this.labels[i];if(null==e.label||n.name===e.label.name){if(null!=n.kind&&(u||"loop"===n.kind))break;if(e.label&&u)break}}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,u?"BreakStatement":"ContinueStatement")},Bi.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},Bi.parseDoStatement=function(e){return this.next(),this.labels.push(Si),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(ti._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(ti.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},Bi.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(Si),this.enterScope(0),this.expect(ti.parenL),this.type===ti.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var u=this.isLet();if(this.type===ti._var||this.type===ti._const||u){var i=this.startNode(),n=u?"let":this.value;return this.next(),this.parseVar(i,!0,n),this.finishNode(i,"VariableDeclaration"),(this.type===ti._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===i.declarations.length?(this.options.ecmaVersion>=9&&(this.type===ti._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var r=new xi,s=this.parseExpression(!0,r);return this.type===ti._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===ti._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(s,!1,r),this.checkLVal(s),this.parseForIn(e,s)):(this.checkExpressionErrors(r,!0),t>-1&&this.unexpected(t),this.parseFor(e,s))},Bi.parseFunctionStatement=function(e,t,u){return this.next(),this.parseFunction(e,Ti|(u?0:_i),!1,t)},Bi.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(ti._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},Bi.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(ti.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},Bi.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(ti.braceL),this.labels.push(vi),this.enterScope(0);for(var u=!1;this.type!==ti.braceR;)if(this.type===ti._case||this.type===ti._default){var i=this.type===ti._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(ti.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")},Bi.parseThrowStatement=function(e){return this.next(),ui.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 bi=[];Bi.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===ti._catch){var t=this.startNode();if(this.next(),this.eat(ti.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(ti.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(ti._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},Bi.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},Bi.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Si),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},Bi.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")},Bi.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},Bi.parseLabeledStatement=function(e,t,u,i){for(var n=0,r=this.labels;n<r.length;n+=1){r[n].name===t&&this.raise(u.start,"Label '"+t+"' is already declared")}for(var s=this.type.isLoop?"loop":this.type===ti._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")},Bi.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},Bi.parseBlock=function(e,t,u){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(ti.braceL),e&&this.enterScope(0);this.type!==ti.braceR;){var i=this.parseStatement(null);t.body.push(i)}return u&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},Bi.parseFor=function(e,t){return e.init=t,this.expect(ti.semi),e.test=this.type===ti.semi?null:this.parseExpression(),this.expect(ti.semi),e.update=this.type===ti.parenR?null:this.parseExpression(),this.expect(ti.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},Bi.parseForIn=function(e,t){var u=this.type===ti._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(ti.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,u?"ForInStatement":"ForOfStatement")},Bi.parseVar=function(e,t,u){for(e.declarations=[],e.kind=u;;){var i=this.startNode();if(this.parseVarId(i,u),this.eat(ti.eq)?i.init=this.parseMaybeAssign(t):"const"!==u||this.type===ti._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===i.id.type||t&&(this.type===ti._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(ti.comma))break}return e},Bi.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"var"===t?1:2,!1)};var Ti=1,_i=2;Bi.parseFunction=function(e,t,u,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===ti.star&&t&_i&&this.unexpected(),e.generator=this.eat(ti.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&Ti&&(e.id=4&t&&this.type!==ti.name?null:this.parseIdent(),!e.id||t&_i||this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var n=this.yieldPos,r=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(mi(e.async,e.generator)),t&Ti||(e.id=this.type===ti.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,u,!1),this.yieldPos=n,this.awaitPos=r,this.awaitIdentPos=s,this.finishNode(e,t&Ti?"FunctionDeclaration":"FunctionExpression")},Bi.parseFunctionParams=function(e){this.expect(ti.parenL),e.params=this.parseBindingList(ti.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Bi.parseClass=function(e,t){this.next();var u=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),n=!1;for(i.body=[],this.expect(ti.braceL);this.type!==ti.braceR;){var r=this.parseClassElement(null!==e.superClass);r&&(i.body.push(r),"MethodDefinition"===r.type&&"constructor"===r.kind&&(n&&this.raise(r.start,"Duplicate constructor in the same class"),n=!0))}return this.strict=u,this.next(),e.body=this.finishNode(i,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},Bi.parseClassElement=function(e){var t=this;if(this.eat(ti.semi))return null;var u=this.startNode(),i=function(e,i){void 0===i&&(i=!1);var n=t.start,r=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===ti.parenL||i&&t.canInsertSemicolon())||(u.key&&t.unexpected(),u.computed=!1,u.key=t.startNodeAt(n,r),u.key.name=e,t.finishNode(u.key,"Identifier"),!1))};u.kind="method",u.static=i("static");var n=this.eat(ti.star),r=!1;n||(this.options.ecmaVersion>=8&&i("async",!0)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(ti.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"),n&&this.raise(s.start,"Constructor can't be a generator"),r&&this.raise(s.start,"Constructor can't be an async method"),u.kind="constructor",a=e),this.parseClassMethod(u,n,r,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},Bi.parseClassMethod=function(e,t,u,i){return e.value=this.parseMethod(t,u,i),this.finishNode(e,"MethodDefinition")},Bi.parseClassId=function(e,t){this.type===ti.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},Bi.parseClassSuper=function(e){e.superClass=this.eat(ti._extends)?this.parseExprSubscripts():null},Bi.parseExport=function(e,t){if(this.next(),this.eat(ti.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!==ti.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(ti._default)){var u;if(this.checkExport(t,"default",this.lastTokStart),this.type===ti._function||(u=this.isAsyncFunction())){var i=this.startNode();this.next(),u&&this.next(),e.declaration=this.parseFunction(i,4|Ti,!1,u)}else if(this.type===ti._class){var n=this.startNode();e.declaration=this.parseClass(n,"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!==ti.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var r=0,s=e.specifiers;r<s.length;r+=1){var a=s[r];this.checkUnreserved(a.local),this.checkLocalExport(a.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},Bi.checkExport=function(e,t,u){e&&(pi(e,t)&&this.raiseRecoverable(u,"Duplicate export '"+t+"'"),e[t]=!0)},Bi.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,n=t.properties;i<n.length;i+=1){var r=n[i];this.checkPatternExport(e,r)}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)},Bi.checkVariableExport=function(e,t){if(e)for(var u=0,i=t;u<i.length;u+=1){var n=i[u];this.checkPatternExport(e,n.id)}},Bi.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},Bi.parseExportSpecifiers=function(e){var t=[],u=!0;for(this.expect(ti.braceL);!this.eat(ti.braceR);){if(u)u=!1;else if(this.expect(ti.comma),this.afterTrailingComma(ti.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},Bi.parseImport=function(e){return this.next(),this.type===ti.string?(e.specifiers=bi,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===ti.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},Bi.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===ti.name){var u=this.startNode();if(u.local=this.parseIdent(),this.checkLVal(u.local,2),e.push(this.finishNode(u,"ImportDefaultSpecifier")),!this.eat(ti.comma))return e}if(this.type===ti.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(ti.braceL);!this.eat(ti.braceR);){if(t)t=!1;else if(this.expect(ti.comma),this.afterTrailingComma(ti.braceR))break;var n=this.startNode();n.imported=this.parseIdent(!0),this.eatContextual("as")?n.local=this.parseIdent():(this.checkUnreserved(n.imported),n.local=n.imported),this.checkLVal(n.local,2),e.push(this.finishNode(n,"ImportSpecifier"))}return e},Bi.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)},Bi.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 wi=Ai.prototype;wi.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,n=e.properties;i<n.length;i+=1){var r=n[i];this.toAssignable(r,t),"RestElement"!==r.type||"ArrayPattern"!==r.argument.type&&"ObjectPattern"!==r.argument.type||this.raise(r.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},wi.toAssignableList=function(e,t){for(var u=e.length,i=0;i<u;i++){var n=e[i];n&&this.toAssignable(n,t)}if(u){var r=e[u-1];6===this.options.ecmaVersion&&t&&r&&"RestElement"===r.type&&"Identifier"!==r.argument.type&&this.unexpected(r.argument.start)}return e},wi.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},wi.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==ti.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},wi.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case ti.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(ti.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case ti.braceL:return this.parseObj(!0)}return this.parseIdent()},wi.parseBindingList=function(e,t,u){for(var i=[],n=!0;!this.eat(e);)if(n?n=!1:this.expect(ti.comma),t&&this.type===ti.comma)i.push(null);else{if(u&&this.afterTrailingComma(e))break;if(this.type===ti.ellipsis){var r=this.parseRestBinding();this.parseBindingListItem(r),i.push(r),this.type===ti.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},wi.parseBindingListItem=function(e){return e},wi.parseMaybeDefault=function(e,t,u){if(u=u||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(ti.eq))return u;var i=this.startNodeAt(e,t);return i.left=u,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")},wi.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&&(pi(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,n=e.properties;i<n.length;i+=1){var r=n[i];this.checkLVal(r,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 ki=Ai.prototype;ki.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,n=e.key;switch(n.type){case"Identifier":i=n.name;break;case"Literal":i=String(n.value);break;default:return}var r=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===i&&"init"===r&&(t.proto&&(u?u.doubleProto<0&&(u.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0);else{var s=t[i="$"+i];if(s)("init"===r?this.strict&&s.init||s.get||s.set:s.init||s[r])&&this.raiseRecoverable(n.start,"Redefinition of property");else s=t[i]={init:!1,get:!1,set:!1};s[r]=!0}}},ki.parseExpression=function(e,t){var u=this.start,i=this.startLoc,n=this.parseMaybeAssign(e,t);if(this.type===ti.comma){var r=this.startNodeAt(u,i);for(r.expressions=[n];this.eat(ti.comma);)r.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(r,"SequenceExpression")}return n},ki.parseMaybeAssign=function(e,t,u){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var i=!1,n=-1,r=-1;t?(n=t.parenthesizedAssign,r=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new xi,i=!0);var s=this.start,a=this.startLoc;this.type!==ti.parenL&&this.type!==ti.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===ti.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),n>-1&&(t.parenthesizedAssign=n),r>-1&&(t.trailingComma=r),o},ki.parseMaybeConditional=function(e,t){var u=this.start,i=this.startLoc,n=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return n;if(this.eat(ti.question)){var r=this.startNodeAt(u,i);return r.test=n,r.consequent=this.parseMaybeAssign(),this.expect(ti.colon),r.alternate=this.parseMaybeAssign(e),this.finishNode(r,"ConditionalExpression")}return n},ki.parseExprOps=function(e,t){var u=this.start,i=this.startLoc,n=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||n.start===u&&"ArrowFunctionExpression"===n.type?n:this.parseExprOp(n,u,i,-1,e)},ki.parseExprOp=function(e,t,u,i,n){var r=this.type.binop;if(null!=r&&(!n||this.type!==ti._in)&&r>i){var s=this.type===ti.logicalOR||this.type===ti.logicalAND,a=this.type===ti.coalesce;a&&(r=ti.logicalAND.binop);var o=this.value;this.next();var c=this.start,p=this.startLoc,D=this.parseExprOp(this.parseMaybeUnary(null,!1),c,p,r,n),h=this.buildBinary(t,u,e,D,o,s||a);return(s&&this.type===ti.coalesce||a&&(this.type===ti.logicalOR||this.type===ti.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(h,t,u,i,n)}return e},ki.buildBinary=function(e,t,u,i,n,r){var s=this.startNodeAt(e,t);return s.left=u,s.operator=n,s.right=i,this.finishNode(s,r?"LogicalExpression":"BinaryExpression")},ki.parseMaybeUnary=function(e,t){var u,i=this.start,n=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))u=this.parseAwait(),t=!0;else if(this.type.prefix){var r=this.startNode(),s=this.type===ti.incDec;r.operator=this.value,r.prefix=!0,this.next(),r.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),s?this.checkLVal(r.argument):this.strict&&"delete"===r.operator&&"Identifier"===r.argument.type?this.raiseRecoverable(r.start,"Deleting local variable in strict mode"):t=!0,u=this.finishNode(r,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,n);a.operator=this.value,a.prefix=!1,a.argument=u,this.checkLVal(u),this.next(),u=this.finishNode(a,"UpdateExpression")}}return!t&&this.eat(ti.starstar)?this.buildBinary(i,n,u,this.parseMaybeUnary(null,!1),"**",!1):u},ki.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 n=this.parseSubscripts(i,t,u);return e&&"MemberExpression"===n.type&&(e.parenthesizedAssign>=n.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=n.start&&(e.parenthesizedBind=-1)),n},ki.parseSubscripts=function(e,t,u,i){for(var n=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,r=!1;;){var s=this.parseSubscript(e,t,u,i,n,r);if(s.optional&&(r=!0),s===e||"ArrowFunctionExpression"===s.type){if(r){var a=this.startNodeAt(t,u);a.expression=s,s=this.finishNode(a,"ChainExpression")}return s}e=s}},ki.parseSubscript=function(e,t,u,i,n,r){var s=this.options.ecmaVersion>=11,a=s&&this.eat(ti.questionDot);i&&a&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var o=this.eat(ti.bracketL);if(o||a&&this.type!==ti.parenL&&this.type!==ti.backQuote||this.eat(ti.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(ti.bracketR),s&&(c.optional=a),e=this.finishNode(c,"MemberExpression")}else if(!i&&this.eat(ti.parenL)){var p=new xi,D=this.yieldPos,h=this.awaitPos,l=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var d=this.parseExprList(ti.parenR,this.options.ecmaVersion>=8,!1,p);if(n&&!a&&!this.canInsertSemicolon()&&this.eat(ti.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 E=this.startNodeAt(t,u);E.callee=e,E.arguments=d,s&&(E.optional=a),e=this.finishNode(E,"CallExpression")}else if(this.type===ti.backQuote){(a||r)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var f=this.startNodeAt(t,u);f.tag=e,f.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(f,"TaggedTemplateExpression")}return e},ki.parseExprAtom=function(e){this.type===ti.slash&&this.readRegexp();var t,u=this.potentialArrowAt===this.start;switch(this.type){case ti._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),t=this.startNode(),this.next(),this.type!==ti.parenL||this.allowDirectSuper||this.raise(t.start,"super() call outside constructor of a subclass"),this.type!==ti.dot&&this.type!==ti.bracketL&&this.type!==ti.parenL&&this.unexpected(),this.finishNode(t,"Super");case ti._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case ti.name:var i=this.start,n=this.startLoc,r=this.containsEsc,s=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!r&&"async"===s.name&&!this.canInsertSemicolon()&&this.eat(ti._function))return this.parseFunction(this.startNodeAt(i,n),0,!1,!0);if(u&&!this.canInsertSemicolon()){if(this.eat(ti.arrow))return this.parseArrowExpression(this.startNodeAt(i,n),[s],!1);if(this.options.ecmaVersion>=8&&"async"===s.name&&this.type===ti.name&&!r)return s=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(ti.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,n),[s],!0)}return s;case ti.regexp:var a=this.value;return(t=this.parseLiteral(a.value)).regex={pattern:a.pattern,flags:a.flags},t;case ti.num:case ti.string:return this.parseLiteral(this.value);case ti._null:case ti._true:case ti._false:return(t=this.startNode()).value=this.type===ti._null?null:this.type===ti._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case ti.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 ti.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(ti.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case ti.braceL:return this.parseObj(!1,e);case ti._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case ti._class:return this.parseClass(this.startNode(),!1);case ti._new:return this.parseNew();case ti.backQuote:return this.parseTemplate();case ti._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},ki.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 ti.parenL:return this.parseDynamicImport(e);case ti.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},ki.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(ti.parenR)){var t=this.start;this.eat(ti.comma)&&this.eat(ti.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},ki.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")},ki.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")},ki.parseParenExpression=function(){this.expect(ti.parenL);var e=this.parseExpression();return this.expect(ti.parenR),e},ki.parseParenAndDistinguishExpression=function(e){var t,u=this.start,i=this.startLoc,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var r,s=this.start,a=this.startLoc,o=[],c=!0,p=!1,D=new xi,h=this.yieldPos,l=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==ti.parenR;){if(c?c=!1:this.expect(ti.comma),n&&this.afterTrailingComma(ti.parenR,!0)){p=!0;break}if(this.type===ti.ellipsis){r=this.start,o.push(this.parseParenItem(this.parseRestBinding())),this.type===ti.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,E=this.startLoc;if(this.expect(ti.parenR),e&&!this.canInsertSemicolon()&&this.eat(ti.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),r&&this.unexpected(r),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,E)):t=o[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var f=this.startNodeAt(u,i);return f.expression=t,this.finishNode(f,"ParenthesizedExpression")}return t},ki.parseParenItem=function(e){return e},ki.parseParenArrowList=function(e,t,u){return this.parseArrowExpression(this.startNodeAt(e,t),u)};var Ii=[];ki.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(ti.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,n=this.startLoc,r=this.type===ti._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,n,!0),r&&"ImportExpression"===e.callee.type&&this.raise(i,"Cannot use new with import()"),this.eat(ti.parenL)?e.arguments=this.parseExprList(ti.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Ii,this.finishNode(e,"NewExpression")},ki.parseTemplateElement=function(e){var t=e.isTagged,u=this.startNode();return this.type===ti.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===ti.backQuote,this.finishNode(u,"TemplateElement")},ki.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===ti.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(ti.dollarBraceL),u.expressions.push(this.parseExpression()),this.expect(ti.braceR),u.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(u,"TemplateLiteral")},ki.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===ti.name||this.type===ti.num||this.type===ti.string||this.type===ti.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===ti.star)&&!ui.test(this.input.slice(this.lastTokEnd,this.start))},ki.parseObj=function(e,t){var u=this.startNode(),i=!0,n={};for(u.properties=[],this.next();!this.eat(ti.braceR);){if(i)i=!1;else if(this.expect(ti.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(ti.braceR))break;var r=this.parseProperty(e,t);e||this.checkPropClash(r,n,t),u.properties.push(r)}return this.finishNode(u,e?"ObjectPattern":"ObjectExpression")},ki.parseProperty=function(e,t){var u,i,n,r,s=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(ti.ellipsis))return e?(s.argument=this.parseIdent(!1),this.type===ti.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(s,"RestElement")):(this.type===ti.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),s.argument=this.parseMaybeAssign(!1,t),this.type===ti.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)&&(n=this.start,r=this.startLoc),e||(u=this.eat(ti.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(ti.star),this.parsePropertyName(s,t)):i=!1,this.parsePropertyValue(s,e,u,i,n,r,t,a),this.finishNode(s,"Property")},ki.parsePropertyValue=function(e,t,u,i,n,r,s,a){if((u||i)&&this.type===ti.colon&&this.unexpected(),this.eat(ti.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===ti.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===ti.comma||this.type===ti.braceR||this.type===ti.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=n),e.kind="init",t?e.value=this.parseMaybeDefault(n,r,e.key):this.type===ti.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,r,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")}},ki.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(ti.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(ti.bracketR),e.key;e.computed=!1}return e.key=this.type===ti.num||this.type===ti.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},ki.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},ki.parseMethod=function(e,t,u){var i=this.startNode(),n=this.yieldPos,r=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|mi(t,i.generator)|(u?128:0)),this.expect(ti.parenL),i.params=this.parseBindingList(ti.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=n,this.awaitPos=r,this.awaitIdentPos=s,this.finishNode(i,"FunctionExpression")},ki.parseArrowExpression=function(e,t,u){var i=this.yieldPos,n=this.awaitPos,r=this.awaitIdentPos;return this.enterScope(16|mi(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=n,this.awaitIdentPos=r,this.finishNode(e,"ArrowFunctionExpression")},ki.parseFunctionBody=function(e,t,u){var i=t&&this.type!==ti.braceL,n=this.strict,r=!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);n&&!s||(r=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=[],r&&(this.strict=!0),this.checkParams(e,!n&&!r&&!t&&!u&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,5),e.body=this.parseBlock(!1,void 0,r&&!n),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=a}this.exitScope()},ki.isSimpleParamList=function(e){for(var t=0,u=e;t<u.length;t+=1){if("Identifier"!==u[t].type)return!1}return!0},ki.checkParams=function(e,t){for(var u={},i=0,n=e.params;i<n.length;i+=1){var r=n[i];this.checkLVal(r,1,t?null:u)}},ki.parseExprList=function(e,t,u,i){for(var n=[],r=!0;!this.eat(e);){if(r)r=!1;else if(this.expect(ti.comma),t&&this.afterTrailingComma(e))break;var s=void 0;u&&this.type===ti.comma?s=null:this.type===ti.ellipsis?(s=this.parseSpread(i),i&&this.type===ti.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):s=this.parseMaybeAssign(!1,i),n.push(s)}return n},ki.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"))},ki.parseIdent=function(e,t){var u=this.startNode();return this.type===ti.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},ki.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===ti.semi||this.canInsertSemicolon()||this.type!==ti.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(ti.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},ki.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 Ni=Ai.prototype;Ni.raise=function(e,t){var u=Ei(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},Ni.raiseRecoverable=Ni.raise,Ni.curPosition=function(){if(this.options.locations)return new li(this.curLine,this.pos-this.lineStart)};var Li=Ai.prototype,Pi=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]};Li.enterScope=function(e){this.scopeStack.push(new Pi(e))},Li.exitScope=function(){this.scopeStack.pop()},Li.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},Li.declareName=function(e,t,u){var i=!1;if(2===t){var n=this.currentScope();i=n.lexical.indexOf(e)>-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1,n.lexical.push(e),this.inModule&&1&n.flags&&delete this.undefinedExports[e]}else if(4===t){this.currentScope().lexical.push(e)}else if(3===t){var r=this.currentScope();i=this.treatFunctionsAsVar?r.lexical.indexOf(e)>-1:r.lexical.indexOf(e)>-1||r.var.indexOf(e)>-1,r.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")},Li.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},Li.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Li.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags)return t}},Li.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 Oi=function(e,t,u){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new di(e,u)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},Ri=Ai.prototype;function Mi(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}Ri.startNode=function(){return new Oi(this,this.start,this.startLoc)},Ri.startNodeAt=function(e,t){return new Oi(this,e,t)},Ri.finishNode=function(e,t){return Mi.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Ri.finishNodeAt=function(e,t,u,i){return Mi.call(this,e,t,u,i)};var Vi=function(e,t,u,i,n){this.token=e,this.isExpr=!!t,this.preserveSpace=!!u,this.override=i,this.generator=!!n},ji={b_stat:new Vi("{",!1),b_expr:new Vi("{",!0),b_tmpl:new Vi("${",!1),p_stat:new Vi("(",!1),p_expr:new Vi("(",!0),q_tmpl:new Vi("`",!0,!0,(function(e){return e.tryReadTemplateToken()})),f_stat:new Vi("function",!1),f_expr:new Vi("function",!0),f_expr_gen:new Vi("function",!0,!1,null,!0),f_gen:new Vi("function",!1,!1,null,!0)},Ui=Ai.prototype;Ui.initialContext=function(){return[ji.b_stat]},Ui.braceIsBlock=function(e){var t=this.curContext();return t===ji.f_expr||t===ji.f_stat||(e!==ti.colon||t!==ji.b_stat&&t!==ji.b_expr?e===ti._return||e===ti.name&&this.exprAllowed?ui.test(this.input.slice(this.lastTokEnd,this.start)):e===ti._else||e===ti.semi||e===ti.eof||e===ti.parenR||e===ti.arrow||(e===ti.braceL?t===ji.b_stat:e!==ti._var&&e!==ti._const&&e!==ti.name&&!this.exprAllowed):!t.isExpr)},Ui.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},Ui.updateContext=function(e){var t,u=this.type;u.keyword&&e===ti.dot?this.exprAllowed=!1:(t=u.updateContext)?t.call(this,e):this.exprAllowed=u.beforeExpr},ti.parenR.updateContext=ti.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===ji.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},ti.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ji.b_stat:ji.b_expr),this.exprAllowed=!0},ti.dollarBraceL.updateContext=function(){this.context.push(ji.b_tmpl),this.exprAllowed=!0},ti.parenL.updateContext=function(e){var t=e===ti._if||e===ti._for||e===ti._with||e===ti._while;this.context.push(t?ji.p_stat:ji.p_expr),this.exprAllowed=!0},ti.incDec.updateContext=function(){},ti._function.updateContext=ti._class.updateContext=function(e){!e.beforeExpr||e===ti.semi||e===ti._else||e===ti._return&&ui.test(this.input.slice(this.lastTokEnd,this.start))||(e===ti.colon||e===ti.braceL)&&this.curContext()===ji.b_stat?this.context.push(ji.f_stat):this.context.push(ji.f_expr),this.exprAllowed=!1},ti.backQuote.updateContext=function(){this.curContext()===ji.q_tmpl?this.context.pop():this.context.push(ji.q_tmpl),this.exprAllowed=!1},ti.star.updateContext=function(e){if(e===ti._function){var t=this.context.length-1;this.context[t]===ji.f_expr?this.context[t]=ji.f_expr_gen:this.context[t]=ji.f_gen}this.exprAllowed=!0},ti.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==ti.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Gi="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",Xi=Gi+" Extended_Pictographic",qi={9:Gi,10:Xi,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"},Wi="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",Ji="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",Hi=Ji+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",zi={9:Ji,10:Hi,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"},$i={};function Ki(e){var t=$i[e]={binary:hi(qi[e]+" "+Wi),nonBinary:{General_Category:hi(Wi),Script:hi(zi[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}Ki(9),Ki(10),Ki(11);var Qi=Ai.prototype,Yi=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=$i[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 Zi(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function en(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function tn(e){return e>=65&&e<=90||e>=97&&e<=122}function un(e){return tn(e)||95===e}function nn(e){return un(e)||rn(e)}function rn(e){return e>=48&&e<=57}function sn(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function an(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function on(e){return e>=48&&e<=55}Yi.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},Yi.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},Yi.prototype.at=function(e,t){void 0===t&&(t=!1);var u=this.source,i=u.length;if(e>=i)return-1;var n=u.charCodeAt(e);if(!t&&!this.switchU||n<=55295||n>=57344||e+1>=i)return n;var r=u.charCodeAt(e+1);return r>=56320&&r<=57343?(n<<10)+r-56613888:n},Yi.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var u=this.source,i=u.length;if(e>=i)return i;var n,r=u.charCodeAt(e);return!t&&!this.switchU||r<=55295||r>=57344||e+1>=i||(n=u.charCodeAt(e+1))<56320||n>57343?e+1:e+2},Yi.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},Yi.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},Yi.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},Yi.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},Qi.validateRegExpFlags=function(e){for(var t=e.validFlags,u=e.flags,i=0;i<u.length;i++){var n=u.charAt(i);-1===t.indexOf(n)&&this.raise(e.start,"Invalid regular expression flag"),u.indexOf(n,i+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}},Qi.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},Qi.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")}},Qi.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")},Qi.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},Qi.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)},Qi.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},Qi.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},Qi.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},Qi.regexp_eatBracedQuantifier=function(e,t){var u=e.pos;if(e.eat(123)){var i=0,n=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue),e.eat(125)))return-1!==n&&n<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=u}return!1},Qi.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)},Qi.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},Qi.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},Qi.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},Qi.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)},Qi.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},Qi.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!en(t)&&(e.lastIntValue=t,e.advance(),!0)},Qi.regexp_eatPatternCharacters=function(e){for(var t=e.pos,u=0;-1!==(u=e.current())&&!en(u);)e.advance();return e.pos!==t},Qi.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)},Qi.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")}},Qi.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},Qi.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Zi(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Zi(e.lastIntValue);return!0}return!1},Qi.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 Hu(e,!0)||36===e||95===e}(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)},Qi.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 zu(e,!0)||36===e||95===e||8204===e||8205===e}(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)},Qi.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)},Qi.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},Qi.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},Qi.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)},Qi.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},Qi.regexp_eatZero=function(e){return 48===e.current()&&!rn(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},Qi.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)},Qi.regexp_eatControlLetter=function(e){var t=e.current();return!!tn(t)&&(e.lastIntValue=t%32,e.advance(),!0)},Qi.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var u,i=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(n&&r>=55296&&r<=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*(r-55296)+(a-56320)+65536,!0}e.pos=s,e.lastIntValue=r}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((u=e.lastIntValue)>=0&&u<=1114111))return!0;n&&e.raise("Invalid unicode escape"),e.pos=i}return!1},Qi.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)},Qi.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},Qi.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},Qi.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 n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,n),!0}return!1},Qi.regexp_validateUnicodePropertyNameAndValue=function(e,t,u){pi(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(u)||e.raise("Invalid property value")},Qi.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},Qi.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";un(t=e.current());)e.lastStringValue+=Zi(t),e.advance();return""!==e.lastStringValue},Qi.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";nn(t=e.current());)e.lastStringValue+=Zi(t),e.advance();return""!==e.lastStringValue},Qi.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},Qi.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},Qi.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")}}},Qi.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||on(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)},Qi.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)},Qi.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!rn(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},Qi.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},Qi.regexp_eatDecimalDigits=function(e){var t=e.pos,u=0;for(e.lastIntValue=0;rn(u=e.current());)e.lastIntValue=10*e.lastIntValue+(u-48),e.advance();return e.pos!==t},Qi.regexp_eatHexDigits=function(e){var t=e.pos,u=0;for(e.lastIntValue=0;sn(u=e.current());)e.lastIntValue=16*e.lastIntValue+an(u),e.advance();return e.pos!==t},Qi.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},Qi.regexp_eatOctalDigit=function(e){var t=e.current();return on(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},Qi.regexp_eatFixedHexDigits=function(e,t){var u=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var n=e.current();if(!sn(n))return e.pos=u,!1;e.lastIntValue=16*e.lastIntValue+an(n),e.advance()}return!0};var cn=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new di(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},pn=Ai.prototype;function Dn(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}function hn(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}pn.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 cn(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},pn.getToken=function(){return this.next(),new cn(this)},"undefined"!=typeof Symbol&&(pn[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===ti.eof,value:t}}}}),pn.curContext=function(){return this.context[this.context.length-1]},pn.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(ti.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},pn.readToken=function(e){return Hu(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},pn.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},pn.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(ii.lastIndex=u;(e=ii.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())},pn.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&&!ni(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())},pn.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&&ri.test(String.fromCharCode(e))))break e;++this.pos}}},pn.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)},pn.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(ti.ellipsis)):(++this.pos,this.finishToken(ti.dot))},pn.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(ti.assign,2):this.finishOp(ti.slash,1)},pn.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),u=1,i=42===e?ti.star:ti.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++u,i=ti.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(ti.assign,u+1):this.finishOp(i,u)},pn.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(ti.assign,3);return this.finishOp(124===e?ti.logicalOR:ti.logicalAND,2)}return 61===t?this.finishOp(ti.assign,2):this.finishOp(124===e?ti.bitwiseOR:ti.bitwiseAND,1)},pn.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(ti.assign,2):this.finishOp(ti.bitwiseXOR,1)},pn.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&&!ui.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(ti.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(ti.assign,2):this.finishOp(ti.plusMin,1)},pn.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(ti.assign,u+1):this.finishOp(ti.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(ti.relational,u)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},pn.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(ti.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(ti.arrow)):this.finishOp(61===e?ti.eq:ti.prefix,1)},pn.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(ti.questionDot,2)}if(63===t){if(e>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(ti.assign,3);return this.finishOp(ti.coalesce,2)}}return this.finishOp(ti.question,1)},pn.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(ti.parenL);case 41:return++this.pos,this.finishToken(ti.parenR);case 59:return++this.pos,this.finishToken(ti.semi);case 44:return++this.pos,this.finishToken(ti.comma);case 91:return++this.pos,this.finishToken(ti.bracketL);case 93:return++this.pos,this.finishToken(ti.bracketR);case 123:return++this.pos,this.finishToken(ti.braceL);case 125:return++this.pos,this.finishToken(ti.braceR);case 58:return++this.pos,this.finishToken(ti.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(ti.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(ti.prefix,1)}this.raise(this.pos,"Unexpected character '"+hn(e)+"'")},pn.finishOp=function(e,t){var u=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,u)},pn.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(ui.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 n=this.input.slice(u,this.pos);++this.pos;var r=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(r);var a=this.regexpState||(this.regexpState=new Yi(this));a.reset(u,n,s),this.validateRegExpFlags(a),this.validateRegExpPattern(a);var o=null;try{o=new RegExp(n,s)}catch(e){}return this.finishToken(ti.regexp,{pattern:n,flags:s,value:o})},pn.readInt=function(e,t,u){for(var i=this.options.ecmaVersion>=12&&void 0===t,n=u&&48===this.input.charCodeAt(this.pos),r=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)n&&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===r||null!=t&&this.pos-r!==t?null:s},pn.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=Dn(this.input.slice(t,this.pos)),++this.pos):Hu(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(ti.num,u)},pn.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 n=Dn(this.input.slice(t,this.pos));return++this.pos,Hu(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(ti.num,n)}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")),Hu(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var r,s=(r=this.input.slice(t,this.pos),u?parseInt(r,8):parseFloat(r.replace(/_/g,"")));return this.finishToken(ti.num,s)},pn.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},pn.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):(ni(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(u,this.pos++),this.finishToken(ti.string,t)};var ln={};pn.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==ln)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},pn.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ln;this.raise(e,t)},pn.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!==ti.template&&this.type!==ti.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(ti.template,e)):36===u?(this.pos+=2,this.finishToken(ti.dollarBraceL)):(++this.pos,this.finishToken(ti.backQuote));if(92===u)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(ni(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}},pn.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(ti.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},pn.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 hn(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],n=parseInt(i,8);return n>255&&(i=i.slice(0,-1),n=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(n)}return ni(t)?"":String.fromCharCode(t)}},pn.readHexChar=function(e){var t=this.pos,u=this.readInt(16,e);return null===u&&this.invalidStringToken(t,"Bad character escape sequence"),u},pn.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,u=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var n=this.fullCharCodeAtPos();if(zu(n,i))this.pos+=n<=65535?1:2;else{if(92!==n)break;this.containsEsc=!0,e+=this.input.slice(u,this.pos);var r=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var s=this.readCodePoint();(t?Hu:zu)(s,i)||this.invalidStringToken(r,"Invalid Unicode escape"),e+=hn(s),u=this.pos}t=!1}return e+this.input.slice(u,this.pos)},pn.readWord=function(){var e=this.readWord1(),t=ti.name;return this.keywords.test(e)&&(t=Zu[e]),this.finishToken(t,e)};Ai.acorn={Parser:Ai,version:"7.4.0",defaultOptions:fi,Position:li,SourceLocation:di,getLineInfo:Ei,Node:Oi,TokenType:$u,tokTypes:ti,keywordTypes:Zu,TokContext:Vi,tokContexts:ji,isIdentifierChar:zu,isIdentifierStart:Hu,Token:cn,isNewLine:ni,lineBreak:ui,lineBreakG:ii,nonASCIIwhitespace:ri};var dn={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"},En=R(Object.freeze({__proto__:null,Node:Oi,Parser:Ai,Position:li,SourceLocation:di,TokContext:Vi,Token:cn,TokenType:$u,defaultOptions:fi,getLineInfo:Ei,isIdentifierChar:zu,isIdentifierStart:Hu,isNewLine:ni,keywordTypes:Zu,lineBreak:ui,lineBreakG:ii,nonASCIIwhitespace:ri,parse:function(e,t){return Ai.parse(e,t)},parseExpressionAt:function(e,t,u){return Ai.parseExpressionAt(e,t,u)},tokContexts:ji,tokTypes:ti,tokenizer:function(e,t){return Ai.tokenizer(e,t)},version:"7.4.0"})),fn=O((function(e){const t=/^[\da-fA-F]+$/,u=/^\d+$/,i=new WeakMap;function n(e){e=e.Parser.acorn||e;let t=i.get(e);if(!t){const u=e.tokTypes,n=e.TokContext,r=e.TokenType,s=new n("<tag",!1),a=new n("</tag",!1),o=new n("<tag>...</tag>",!0,!0),c={tc_oTag:s,tc_cTag:a,tc_expr:o},p={jsxName:new r("jsxName"),jsxText:new r("jsxText",{beforeExpr:!0}),jsxTagStart:new r("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new r("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 r(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?r(e.object)+"."+r(e.property):void 0:e}e.exports=function(e){return e=e||{},function(i){return function(e,i){const s=i.acorn||En,a=n(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,E=s.isIdentifierStart,f=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?"&gt;":"&rbrace;")+'` 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="",n=0,r=this.input[this.pos];"&"!==r&&this.raise(this.pos,"Entity must start with an ampersand");let s=++this.pos;for(;this.pos<this.input.length&&n++<10;){if(r=this.input[this.pos++],";"===r){"#"===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=dn[i];break}i+=r}return e||(this.pos=s,"&")}jsx_readWord(){let e,t=this.pos;do{e=this.input.charCodeAt(++this.pos)}while(f(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 n=this.startNodeAt(t,u);return n.namespace=i,n.name=this.jsx_parseIdentifier(),this.finishNode(n,"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=[],n=this.jsx_parseOpeningElementAt(e,t),s=null;if(!n.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()}r(s.name)!==r(n.name)&&this.raise(s.start,"Expected corresponding JSX closing tag for <"+r(n.name)+">")}let a=n.name?"Element":"Fragment";return u["opening"+a]=n,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(E(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 n(En).tokTypes},configurable:!0,enumerable:!0})})),Cn={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 mn="Boolean",An="Identifier",Fn="Keyword",gn="Null",yn="Numeric",xn="Punctuator",Bn="String",Sn="RegularExpression",vn="Template",bn="JSXIdentifier",Tn="JSXText";function _n(e,t){this._acornTokTypes=e,this._tokens=[],this._curlyBrace=null,this._code=t}_n.prototype={constructor:_n,translate(e,t){const u=e.type,i=this._acornTokTypes;if(u===i.name)e.type=An,"static"===e.value&&(e.type=Fn),t.ecmaVersion>5&&("yield"===e.value||"let"===e.value)&&(e.type=Fn);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=xn,e.value=this._code.slice(e.start,e.end);else if(u===i.jsxName)e.type=bn;else if("jsxText"===u.label||u===i.jsxAttrValueToken)e.type=Tn;else if(u.keyword)"true"===u.keyword||"false"===u.keyword?e.type=mn:"null"===u.keyword?e.type=gn:e.type=Fn;else if(u===i.num)e.type=yn,e.value=this._code.slice(e.start,e.end);else if(u===i.string)t.jsxAttrValueToken?(t.jsxAttrValueToken=!1,e.type=Tn):e.type=Bn,e.value=this._code.slice(e.start,e.end);else if(u===i.regexp){e.type=Sn;const t=e.value;e.regex={flags:t.flags,pattern:t.pattern},e.value="/".concat(t.pattern,"/").concat(t.flags)}return e},onToken(e,t){const u=this,i=this._acornTokTypes,n=t.tokens,r=this._tokens;function s(){n.push(function(e,t){const u=e[0],i=e[e.length-1],n={type:vn,value:t.slice(u.start,i.end)};return u.loc&&(n.loc={start:u.loc.start,end:i.loc.end}),u.range&&(n.start=u.range[0],n.end=i.range[1],n.range=[n.start,n.end]),n}(u._tokens,u._code)),u._tokens=[]}if(e.type!==i.eof){if(e.type===i.backQuote)return this._curlyBrace&&(n.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),r.push(e),void(r.length>1&&s());if(e.type===i.dollarBraceL)return r.push(e),void s();if(e.type===i.braceR)return this._curlyBrace&&n.push(this.translate(this._curlyBrace,t)),void(this._curlyBrace=e);if(e.type===i.template||e.type===i.invalidTemplate)return this._curlyBrace&&(r.push(this._curlyBrace),this._curlyBrace=null),void r.push(e);this._curlyBrace&&(n.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),n.push(this.translate(e,t))}else this._curlyBrace&&n.push(this.translate(this._curlyBrace,t))}};var wn=_n;const kn=[3,5,6,7,8,9,10,11,12];var In={normalizeOptions:function(e){const t=function(e=5){if("number"!=typeof e)throw new Error("ecmaVersion must be a number. Received value of type ".concat(typeof e," instead."));let t=e;if(t>=2015&&(t-=2009),!kn.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,n=!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:n})},getLatestEcmaVersion:function(){return kn[kn.length-1]},getSupportedEcmaVersions:function(){return[...kn]}};const{normalizeOptions:Nn}=In,Ln=Symbol("espree's internal state"),Pn=Symbol("espree's esprimaFinishNode");var On=()=>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=Nn(e),n=i.ecmaFeatures||{},r=!0===i.tokens?new wn(t,u):null;super({ecmaVersion:i.ecmaVersion,sourceType:i.sourceType,ranges:i.ranges,locations:i.locations,allowReturnOutsideFunction:Boolean(n.globalReturn),onToken:e=>{r&&r.onToken(e,this[Ln]),e.type!==t.eof&&(this[Ln].lastToken=e)},onComment:(e,t,u,i,n,r)=>{if(this[Ln].comments){const s=function(e,t,u,i,n,r){const s={type:e?"Block":"Line",value:t};return"number"==typeof u&&(s.start=u,s.end=i,s.range=[u,i]),"object"==typeof n&&(s.loc={start:n,end:r}),s}(e,t,u,i,n,r);this[Ln].comments.push(s)}}},u),this[Ln]={tokens:r?[]:null,comments:!0===i.comment?[]:null,impliedStrict:!0===n.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[Ln],u=e.tokens;return e.comments&&(u.comments=e.comments),u}finishNode(...e){const t=super.finishNode(...e);return this[Pn](t)}finishNodeAt(...e){const t=super.finishNodeAt(...e);return this[Pn](t)}parse(){const e=this[Ln],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[Ln].impliedStrict&&(this.strict=!0),super.parseTopLevel(e)}raise(t,u){const i=e.acorn.getLineInfo(this.input,t),n=new SyntaxError(u);throw n.index=t,n.lineNumber=i.line,n.column=i.column+1,n}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+=" ".concat(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[Ln].jsxAttrValueToken=!0),u}[Pn](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}}},Rn="7.3.0",Mn={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 Vn=Object.freeze(Object.keys(Mn));for(const e of Vn)Object.freeze(Mn[e]);Object.freeze(Mn);const jn=new Set(["parent","leadingComments","trailingComments"]);function Un(e){return!jn.has(e)&&"_"!==e[0]}var Gn=Object.freeze({KEYS:Mn,getKeys:e=>Object.keys(e).filter(Un),unionWith(e){const t=Object.assign({},Mn);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:Xn,getSupportedEcmaVersions:qn}=In,Wn={_regular:null,_jsx:null,get regular(){return null===this._regular&&(this._regular=En.Parser.extend(On())),this._regular},get jsx(){return null===this._jsx&&(this._jsx=En.Parser.extend(fn(),On())),this._jsx},get(e){return Boolean(e&&e.ecmaFeatures&&e.ecmaFeatures.jsx)?this.jsx:this.regular}};var Jn={version:Rn,tokenize:function(e,t){const u=Wn.get(t);return t&&!0===t.tokens||(t=Object.assign({},t,{tokens:!0})),new u(t,e).tokenize()},parse:function(e,t){return new(Wn.get(t))(t,e).parse()},Syntax:function(){let e,t={};for(e in"function"==typeof Object.create&&(t=Object.create(null)),Cn)Object.hasOwnProperty.call(Cn,e)&&(t[e]=Cn[e]);return"function"==typeof Object.freeze&&Object.freeze(t),t}(),VisitorKeys:Gn.KEYS,latestEcmaVersion:Xn(),supportedEcmaVersions:qn()};const{getShebang:Hn}=we,{hasPragma:zn}=We,{locStart:$n,locEnd:Kn}=$e,Qn={range:!0,loc:!0,comment:!0,tokens:!0,sourceType:"module",ecmaFeatures:{jsx:!0,globalReturn:!0,impliedStrict:!1}};var Yn={parsers:{espree:{parse:function(e,t,u){const{parse:i,latestEcmaVersion:n}=Jn;Qn.ecmaVersion=n;const r=Hn(e),s=r?" ".repeat(r.length)+e.slice(r.length):e;let a;try{a=i(s,Qn)}catch(e){try{a=i(s,Object.assign({},Qn,{sourceType:"script"}))}catch(t){const{message:u,lineNumber:i,column:n}=e;if("number"!=typeof i)throw e;throw ke(u,{start:{line:i,column:n}})}}return Pu(a,Object.assign({},u,{originalText:e}))},astFormat:"estree",hasPragma:zn,locStart:$n,locEnd:Kn}}};export default Yn;