prettier 3.9.5 → 3.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ Expected it to be ${n}.`}var Oo=class extends Error{name="InvalidDocError";const
9
9
  `,Wl=`
10
10
  `,Jl=Wl;function Us(e){return e===Nl?vl:e===jl?Rl:Jl}var qs=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;var Ys=12288,Hs=65510,Xs=[12288,12288,65281,65376,65504,65510];var Vs=4352,Ks=262141,No=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141];var jo=(e,t)=>{let r=0,n=Math.floor(e.length/2)-1;for(;r<=n;){let o=Math.floor((r+n)/2),i=o*2;if(t<e[i])n=o-1;else if(t>e[i+1])r=o+1;else return!0}return!1};var $s=19968,[Gl,Ul]=ql(No);function ql(e){let t=e[0],r=e[1];for(let n=0;n<e.length;n+=2){let o=e[n],i=e[n+1];if($s>=o&&$s<=i)return[o,i];i-o>r-t&&(t=o,r=i)}return[t,r]}var vo=e=>e<Ys||e>Hs?!1:jo(Xs,e);var Ro=e=>e>=Gl&&e<=Ul?!0:e<Vs||e>Ks?!1:jo(No,e);var Yl=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u2764\u27A1\u2934\u2935\u2B05-\u2B07]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF3\uDFF5\uDFF7]|\uD83D[\uDC3F\uDC41\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])$/,Qs=e=>Yl.test(e);var Hl=/[^\x20-\x7F]/;function Xl(e){if(!e)return 0;if(!Hl.test(e))return e.length;let t=0;e=e.replace(qs(),r=>(t+=Qs(r)?1:2,""));for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||n>=65024&&n<=65039||(t+=vo(n)||Ro(n)?2:1)}return t}var dt=Xl;var Vl={type:0},Kl={type:1},Wo={value:"",length:0,queue:[],get root(){return Wo}};function zs(e,t,r){let n=t.type===1?e.queue.slice(0,-1):[...e.queue,t],o="",i=0,s=0,u=0;for(let E of n)switch(E.type){case 0:f(),r.useTabs?a(1):c(r.tabWidth);break;case 3:{let{string:P}=E;f(),o+=P,i+=P.length;break}case 2:{let{width:P}=E;s+=1,u+=P;break}default:throw new Error(`Unexpected indent comment '${E.type}'.`)}return F(),{...e,value:o,length:i,queue:n};function a(E){o+=" ".repeat(E),i+=r.tabWidth*E}function c(E){o+=" ".repeat(E),i+=E}function f(){r.useTabs?y():F()}function y(){s>0&&a(s),A()}function F(){u>0&&c(u),A()}function A(){s=0,u=0}}function Zs(e,t,r){if(!t)return e;if(t.type==="root")return{...e,root:e};if(t===Number.NEGATIVE_INFINITY)return e.root;let n;return typeof t=="number"?t<0?n=Kl:n={type:2,width:t}:n={type:3,string:t},zs(e,n,r)}function eu(e,t){return zs(e,Vl,t)}function $l(e){let t=0;for(let r=e.length-1;r>=0;r--){let n=e[r];if(n===" "||n===" ")t++;else break}return t}function En(e){let t=$l(e);return{text:t===0?e:e.slice(0,e.length-t),count:t}}var Jo=class{#e=[];#t="";#n=0;#o=[];#r=[];#i(){let t=this.#t;t!==""&&(this.#e.push(t),this.#n+=t.length,this.#t="");for(let r of this.#r)this.#o.push(Math.min(r,this.#n));this.#r.length=0}markPosition(){if(this.#o.length+this.#r.length>=2)throw new Error("There are too many 'cursor' in doc.");this.#r.push(this.#n+this.#t.length)}write(t){this.#t+=t}trim(){let{text:t,count:r}=En(this.#t);return this.#t=t,this.#i(),r}finish(){return this.#i(),{text:this.#e.join(""),positions:this.#o}}},tu=Jo;var nt=Symbol("MODE_BREAK"),Ct=Symbol("MODE_FLAT"),Go=Symbol("DOC_FILL_PRINTED_LENGTH");function dn(e,t,r,n,o,i){if(r===Number.POSITIVE_INFINITY)return!0;let s=t.length,u=!1,a=[e],c="";for(;r>=0;){if(a.length===0){if(s===0)return!0;a.push(t[--s]);continue}let{mode:f,doc:y}=a.pop(),F=Xe(y);switch(F){case ze:y&&(u&&(c+=" ",r-=1,u=!1),c+=y,r-=dt(y));break;case Me:case Ue:{let A=F===Me?y:y.parts,E=y[Go]??0;for(let P=A.length-1;P>=E;P--)a.push({mode:f,doc:A[P]});break}case Ze:case et:case tt:case Ne:a.push({mode:f,doc:y.contents});break;case lt:{let{text:A,count:E}=En(c);c=A,r+=E;break}case ge:{if(i&&y.break)return!1;let A=y.break?nt:f,E=y.expandedStates&&A===nt?w(0,y.expandedStates,-1):y.contents;a.push({mode:A,doc:E});break}case _e:{let E=(y.groupId?o[y.groupId]||Ct:f)===nt?y.breakContents:y.flatContents;E&&a.push({mode:f,doc:E});break}case Fe:if(f===nt||y.hard)return!0;y.soft||(u=!0);break;case rt:n=!0;break;case He:if(n)return!1;break}}return!1}function Uo(e,t){let r=Object.create(null),n=t.printWidth,o=Us(t.endOfLine),i=0,s=[{indent:Wo,mode:nt,doc:e}],u=!1,a=[],c=new tu;for(_s(e);s.length>0;){let{indent:E,mode:P,doc:C}=s.pop();switch(Xe(C)){case ze:{let I=o!==`
11
11
  `?V(0,C,`
12
- `,o):C;I&&(c.write(I),s.length>0&&(i+=dt(I)));break}case Me:for(let I=C.length-1;I>=0;I--)s.push({indent:E,mode:P,doc:C[I]});break;case ct:c.markPosition();break;case Ze:s.push({indent:eu(E,t),mode:P,doc:C.contents});break;case et:s.push({indent:Zs(E,C.n,t),mode:P,doc:C.contents});break;case lt:i-=c.trim();break;case ge:{let I=(function(){if(P===Ct&&!u)return{indent:E,mode:C.break?nt:Ct,doc:C.contents};u=!1;let h=n-i,v=a.length>0,U={indent:E,mode:Ct,doc:C.contents};if(!C.break&&dn(U,s,h,v,r))return U;if(!C.expandedStates)return{indent:E,mode:nt,doc:C.contents};if(!C.break)for(let ae=1;ae<C.expandedStates.length-1;ae++){let fe={indent:E,mode:Ct,doc:C.expandedStates[ae]};if(dn(fe,s,h,v,r))return fe}return{indent:E,mode:nt,doc:w(0,C.expandedStates,-1)}})();s.push(I),C.id&&(r[C.id]=I.mode);break}case Ue:{let I=n-i,k=C[Go]??0,{parts:h}=C,v=h.length-k;if(v===0)break;let U=h[k+0],ae=h[k+1],fe={indent:E,mode:Ct,doc:U},z={indent:E,mode:nt,doc:U},xe=dn(fe,[],I,a.length>0,r,!0);if(v===1){xe?s.push(fe):s.push(z);break}let De={indent:E,mode:Ct,doc:ae},xt={indent:E,mode:nt,doc:ae};if(v===2){xe?s.push(De,fe):s.push(xt,z);break}let bt=h[k+2],_={indent:E,mode:P,doc:{...C,[Go]:k+2}},we=dn({indent:E,mode:Ct,doc:[U,ae,bt]},[],I,a.length>0,r,!0);s.push(_),we?s.push(De,fe):xe?s.push(xt,fe):s.push(xt,z);break}case _e:case tt:{let I=C.groupId?r[C.groupId]:P;if(I===nt){let k=C.type===_e?C.breakContents:C.negate?C.contents:m(C.contents);k&&s.push({indent:E,mode:P,doc:k})}if(I===Ct){let k=C.type===_e?C.flatContents:C.negate?m(C.contents):C.contents;k&&s.push({indent:E,mode:P,doc:k})}break}case rt:a.push({indent:E,mode:P,doc:C.contents});break;case He:a.length>0&&s.push({indent:E,mode:P,doc:Mo});break;case Fe:switch(P){case Ct:if(!C.hard){C.soft||(c.write(" "),i+=1);break}u=!0;case nt:if(a.length>0){s.push({indent:E,mode:P,doc:C},...a.reverse()),a.length=0;break}C.literal?(c.write(o),i=0,E.root&&(E.root.value&&c.write(E.root.value),i=E.root.length)):(c.trim(),c.write(o+E.value),i=E.length);break}break;case Ne:s.push({indent:E,mode:P,doc:C.contents});break;case qe:break;default:throw new Ot(C)}s.length===0&&a.length>0&&(s.push(...a.reverse()),a.length=0)}let{text:f,positions:y}=c.finish();if(y.length!==2)return{formatted:f};let[F,A]=y;return{formatted:f,cursorNodeStart:F,cursorNodeText:f.slice(F,A)}}var St=class extends Error{name="ArgExpansionBailout"};function pr(e){return(e.type==="ObjectTypeProperty"||e.type==="ObjectTypeInternalSlot")&&!e.static&&!e.method&&e.kind!=="get"&&e.kind!=="set"&&e.value.type==="FunctionTypeAnnotation"}function Ql(e,t){let r=null,n=t;for(;n!==r;)r=n,n=Ki(e,n),n=tr(e,n),n=at(e,n);return n=rr(e,n),n=pt(e,n),n!==!1&&J(e,n)}var Gt=Ql;var me=(e,{originalText:t})=>{let r=S(e);if(Gt(t,r))return!0;let n=It(e);return n===r?!1:Gt(t,n)};var zl=B(["AnyTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","BooleanTypeAnnotation","BigIntTypeAnnotation","SymbolTypeAnnotation","StringTypeAnnotation","NeverTypeAnnotation","UndefinedTypeAnnotation","UnknownTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation"]),Cn=zl;var ru=B(["TSThisType","NullLiteralTypeAnnotation","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType"]);function Zl({type:e}){return e.startsWith("TS")&&e.endsWith("Keyword")}var Fn=Zl;function cr(e){return Fn(e)||Cn(e)||ru(e)||e.type==="GenericTypeAnnotation"&&!e.typeParameters||e.type==="TSTypeReference"&&!e.typeArguments}function nu(e){return(e.type==="TypeAnnotation"||e.type==="TSTypeAnnotation")&&e.typeAnnotation.type==="FunctionTypeAnnotation"&&!e.static&&!kt(e,e.typeAnnotation)}function em(e,t){let r=t.split(".");for(let n=r.length-1;n>=0;n--){let o=r[n];if(n===0)return e.type==="Identifier"&&e.name===o;if(n===1&&e.type==="MetaProperty"&&e.property.type==="Identifier"&&e.property.name===o){e=e.meta;continue}if(e.type==="MemberExpression"&&!e.optional&&!e.computed&&e.property.type==="Identifier"&&e.property.name===o){e=e.object;continue}return!1}}function lr(e,t){return t.some(r=>em(e,r))}var tm=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.fixme","test.step","test.describe","test.describe.only","test.describe.skip","test.describe.fixme","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function rm(e){return lr(e,tm)}function nm(e){return e.type==="Identifier"&&(e.name==="beforeEach"||e.name==="beforeAll"||e.name==="afterEach"||e.name==="afterAll")}function qo(e){return M(e)&&e.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}function om(e){return e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&e.body.type==="BlockStatement"}function Ut(e,t){if(e?.type!=="CallExpression"||e.optional)return!1;let r=se(e);if(r.length===1){if(qo(e)&&Ut(t))return wt(r[0]);if(nm(e.callee))return qo(r[0])}else if((r.length===2||r.length===3)&&(r[0].type==="TemplateLiteral"||q(r[0]))&&rm(e.callee))return r[2]&&!Ee(r[2])?!1:(r.length===2?wt(r[1]):om(r[1])&&ee(r[1]).length<=1)||qo(r[1]);return!1}function im(e,t){let r=t-1;r=at(e,r,{backwards:!0}),r=pt(e,r,{backwards:!0}),r=at(e,r,{backwards:!0});let n=pt(e,r,{backwards:!0});return r!==n}var xn=im;var Yo=()=>!0;function Ho(e,t){let r=e.node;return r.printed=!0,t.printer.printComment(e,t)}function sm(e,t){let r=e.node,n=[Ho(e,t)],{printer:o,originalText:i,locStart:s,locEnd:u}=t;if(o.isBlockComment?.(r)){let f=" ";J(i,u(r))&&(J(i,s(r),{backwards:!0})?f=d:f=T),n.push(f)}else n.push(d);let c=pt(i,at(i,u(r)));return c!==!1&&J(i,c)&&n.push(d),n}function um(e,t,r){let n=e.node,o=Ho(e,t),{printer:i,originalText:s,locStart:u}=t,a=i.isBlockComment?.(n);if(r?.hasLineSuffix&&!r?.isBlock||J(s,u(n),{backwards:!0})){let c=xn(s,u(n));return{doc:_o([d,c?d:"",o]),isBlock:a,hasLineSuffix:!0}}return!a||r?.hasLineSuffix?{doc:[_o([" ",o]),je],isBlock:a,hasLineSuffix:!0}:{doc:[" ",o],isBlock:a,hasLineSuffix:!1}}function W(e,t,r={}){let{indent:n=!1,marker:o,filter:i=Yo}=r,s=new Set(e.node?.comments?.filter(c=>!(c.leading||c.trailing||c.marker!==o||!i(c))));if(s.size===0)return"";let u=e.map(({node:c})=>s.has(c)?Ho(e,t):"","comments").filter(Boolean),a=L(d,u);return n?m([d,a]):a}function An(e,t,r){let n=t[Symbol.for("printedComments")],o=r?.filter??Yo,i=new Set(e.node?.comments?.filter(s=>!n?.has(s)&&s.leading&&o(s)));return i.size===0?"":e.map(({node:s})=>i.has(s)?sm(e,t):"","comments").filter(Boolean)}function ou(e,t,r){let n=e.node?.comments,o=new Set(n?.filter(f=>f.trailing)),i=t[Symbol.for("printedComments")],s=r?.filter??Yo,u=new Set(n?.filter(f=>o.has(f)&&!i?.has(f)&&s(f)));if(u.size===0)return"";let a=[],c;return e.each(({node:f})=>{o.has(f)&&(c=um(e,t,c),u.has(f)&&a.push(c.doc))},"comments"),a}function Tn(e,t,r){return{leading:An(e,t,r),trailing:ou(e,t,r)}}function Q(e,t,r,n){let o=An(e,r,n),i=ou(e,r,n);return o||i?mn(t,s=>[o,s,i]):t}function gn(e,t="es5"){return e.trailingComma==="es5"&&t==="es5"||e.trailingComma==="all"&&(t==="all"||t==="es5")}function $(e){let{node:t}=e;return!t.optional||t.type==="Identifier"&&t===e.parent.key?"":M(t)||N(t)&&t.computed||t.type==="OptionalIndexedAccessType"?"?.":"?"}function hn(e){return e.node.definite||e.match(void 0,(t,r)=>r==="id"&&t.type==="VariableDeclarator"&&t.definite)?"!":""}var am=B(["DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","DeclareVariable","DeclareExportDeclaration","DeclareExportAllDeclaration","DeclareOpaqueType","DeclareTypeAlias","DeclareEnum","DeclareInterface"]),pm=e=>{let{node:t}=e;return am(t)?e.parent.type!=="DeclareExportDeclaration"&&!t.implicitDeclare:t.declare};function ne(e){return pm(e)?"declare ":""}var cm=B(["TSAbstractMethodDefinition","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function mr({node:e}){return e.abstract||cm(e)?"abstract ":""}function qt(e){return e.accessibility?e.accessibility+" ":""}var iu=e=>e.type==="UnaryExpression"&&e.operator==="!";function lm(e){return x(e)||!iu(e)?!1:(e=e.argument,e=iu(e)?e.argument:e,e.type==="LogicalExpression")}function fr(e,t,r){let{node:n}=e,o=n.type==="WithStatement"?"object":"test",i=r(o);return lm(n[o])?i:p([m([D,i]),D])}function Mt(e,t,r){let{node:n}=e;return x(n,g.Dangling,r)?[m([D,W(e,t,{filter:r})]),x(n,g.Dangling|g.Line,r)?d:D]:""}function Ie(e,t="es5"){return gn(e,t)?O(","):""}function R(e){return e.semi?";":""}var mm=e=>e.mark!=="commentBeforeArrow";function Ke(e,t,r,n,o){let i=e.node,s=ee(i),u=o&&i.typeParameters?r("typeParameters"):"";if(s.length===0)return[u,"(",Mt(e,t,mm),")"];let{parent:a}=e,c=Ut(a),f=su(i),y=[];if(_i(e,(E,P)=>{let C=P===s.length-1;C&&i.rest&&y.push("..."),y.push(r()),!C&&(y.push(","),c||f?y.push(" "):me(s[P],t)?y.push(d,d):y.push(T))}),n&&!Dm(e)){if(ue(u)||ue(y))throw new St;return p([Jt(u),"(",Jt(y),")"])}let F=s.every(E=>!j(E.decorators));return f&&F?[u,"(",...y,")"]:c?[u,"(",...y,")"]:(pr(a)||nu(a)||a.type==="TypeAlias"||a.type==="UnionTypeAnnotation"||a.type==="IntersectionTypeAnnotation"||a.type==="FunctionTypeAnnotation"&&a.returnType===i)&&s.length===1&&s[0].name===null&&i.this!==s[0]&&s[0].typeAnnotation&&i.typeParameters===null&&cr(s[0].typeAnnotation)&&!i.rest?t.arrowParens==="always"||i.type==="HookTypeAnnotation"?["(",...y,")"]:y:[u,"(",m([D,...y]),!Ni(i)&&e.root.type!=="NGRoot"?Ie(t,"all"):"",D,")"]}function su(e){if(!e)return!1;let t=ee(e);if(t.length!==1)return!1;let[r]=t;return!x(r)&&(r.type==="ObjectPattern"||r.type==="ArrayPattern"||r.type==="Identifier"&&r.typeAnnotation&&(r.typeAnnotation.type==="TypeAnnotation"||r.typeAnnotation.type==="TSTypeAnnotation")&&Ye(r.typeAnnotation.typeAnnotation)||r.type==="FunctionTypeParam"&&Ye(r.typeAnnotation)&&r!==e.rest||r.type==="AssignmentPattern"&&(r.left.type==="ObjectPattern"||r.left.type==="ArrayPattern")&&(r.right.type==="Identifier"||ie(r.right)&&r.right.properties.length===0||Y(r.right)&&r.right.elements.length===0))}function fm(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function Bt(e,t){let r=fm(e);if(!r)return!1;let n=e.typeParameters?.params;if(n){if(n.length>1)return!1;if(n.length===1){let o=n[0];if(o.constraint||o.default)return!1}}return ee(e).length===1&&(Ye(r)||ue(t))}function Dm(e){return e.match(t=>t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement",(t,r)=>{if(t.type==="CallExpression"&&r==="arguments"&&t.arguments.length===1&&t.callee.type==="CallExpression"){let n=t.callee.callee;return n.type==="Identifier"||n.type==="MemberExpression"&&!n.computed&&n.object.type==="Identifier"&&n.property.type==="Identifier"}return!1},(t,r)=>t.type==="VariableDeclarator"&&r==="init"||t.type==="ExportDefaultDeclaration"&&r==="declaration"||t.type==="TSExportAssignment"&&r==="expression"||t.type==="AssignmentExpression"&&r==="right"&&t.left.type==="MemberExpression"&&t.left.object.type==="Identifier"&&t.left.object.name==="module"&&t.left.property.type==="Identifier"&&t.left.property.name==="exports",t=>t.type!=="VariableDeclaration"||t.kind==="const"&&t.declarations.length===1)}function uu(e){let t=ee(e);return t.length>1&&t.some(r=>r.type==="TSParameterProperty")}function Yt(e,t){return(t==="params"||t==="this"||t==="rest")&&su(e)}var ym=/^[\$A-Z_a-z\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][\$0-9A-Z_a-z\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]*$/,Em=e=>ym.test(e),au=Em;function dm(e){return e.length===1?e:e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}var _t=dm;var pu=Object.freeze({character:"'",codePoint:39}),cu=Object.freeze({character:'"',codePoint:34}),Cm=Object.freeze({preferred:pu,alternate:cu}),Fm=Object.freeze({preferred:cu,alternate:pu});function Sn(e,t){let{preferred:r,alternate:n}=t===!0||t==="'"?Cm:Fm,{length:o}=e,i=0,s=0;for(let u=0;u<o;u++){let a=e.charCodeAt(u);a===r.codePoint?i++:a===n.codePoint&&s++}return(i>s?n:r).character}var xm=/\\(["'\\])|(["'])/g;function Am(e,t){let r=t==='"'?"'":'"',n=V(0,e,xm,(o,i,s)=>i?i===r?r:o:s===t?"\\"+s:s);return t+n+t}var mu=Am;function Tm(e,t){Re(/^(?<quote>["']).*\k<quote>$/s.test(e));let r=e.slice(1,-1),n;return t.parser==="json"||t.parser==="jsonc"||t.parser==="json-stringify"||t.parser==="json5"&&t.quoteProps==="preserve"&&!t.singleQuote?n='"':t.__isInHtmlAttribute?n="'":n=Sn(r,t.singleQuote),e.charAt(0)===n?e:mu(r,n)}var ot=Tm;var fu=e=>e.type==="TSEnumMember",Du=e=>fu(e)?"id":"key",vr=e=>e[Du(e)],yu=e=>!fu(e)&&e.computed;function Eu(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}var gm=({parser:e})=>e==="typescript"||e==="babel-ts"||e==="oxc-ts";function hm(e,t){let r=vr(e);if(r.type==="Identifier")return!0;if(!Ee(r)||gm(t))return!1;let n=_t(ye(r));return String(r.value)===n&&Eu(n)}function du(e,t){let{parser:r}=t;if(r==="json"||r==="jsonc")return!1;let n=vr(e);if(!q(n))return!1;let{value:o}=n;return ot(ye(n),t).slice(1,-1)!==o?!1:!!(!(r==="babel-ts"&&e.type==="ClassProperty"||(r==="typescript"||r==="oxc-ts")&&e.type==="PropertyDefinition")&&au(o)||(r==="babel"||r==="acorn"||r==="oxc"||r==="espree"||r==="meriyah"||r==="__babel_estree")&&e.type!=="ImportAttribute"&&Eu(o)&&String(Number(o))===o)}var Sm=new WeakMap;function Cu(e,t){return Z(Sm,e.parent,()=>e.siblings.some(r=>{if(yu(r))return!1;let n=vr(r);return q(n)&&!du(r,t)}))}function Bm(e,t){return(t.parser==="json"||t.parser==="jsonc"||t.quoteProps==="consistent"&&Cu(e,t))&&hm(e.node,t)}function bm(e,t){return(t.quoteProps==="as-needed"||t.quoteProps==="consistent"&&!Cu(e,t))&&du(e.node,t)}function ve(e,t,r){let{node:n}=e,o=Du(n);if(yu(n))return["[",r(o),"]"];if(Bm(e,t)){let i=vr(n),s=ot(JSON.stringify(i.type==="Identifier"?i.name:String(i.value)),t);return e.call(()=>Q(e,s,t),o)}if(bm(e,t)){let{value:i}=vr(n),s=/^\d/.test(i)?_t(i):i;return e.call(()=>Q(e,s,t),o)}return r(o)}var Pm=B(["VoidTypeAnnotation","TSVoidKeyword","NullLiteralTypeAnnotation","TSNullKeyword"]),Im=B(["ObjectTypeAnnotation","TSTypeLiteral","GenericTypeAnnotation","TSTypeReference"]);function Vo(e){return e.key==="elementTypes"&&Zt(e.parent)&&e.parent.elementTypes.length>1}function Ht(e){let{types:t}=e;if(t.some(n=>x(n)))return!1;let r=t.find(n=>Im(n));return r?t.every(n=>n===r||Pm(n)):!1}function Bn(e){let{key:t,node:r,parent:n}=e;return!(Ht(r)||t==="types"&&pe(n)||t==="types"&&At(n)||Vo(e))}function bn(e,t,r,n){let{node:o}=e;if(Ht(o))return L(" | ",e.map(r,"types"));let i=p(e.map(({isFirst:s})=>{let u=s?O("| "):[T,"| "],a=r();return x(e.node,g.Leading)?[u,Se(2,Q(e,a,t))]:[u,Q(e,Se(2,a),t)]},"types"));return Bn(e)&&(i=Q(e,i,t)),oe(e,t)?p([m([D,i]),D]):Vo(e)?p([m([O(["(",D]),i]),D,O(")")]):n?.assignmentLayout==="break-after-operator"||!km(e)?i:p(m([D,i]))}function km(e){let{key:t,parent:r}=e;return!(t==="typeAnnotation"&&r.type==="TSTypeAssertion"||t==="elementTypes"&&Zt(r)||(t==="trueType"||t==="falseType")&&Qe(r)||t==="params"&&Hi(r)||t==="typeAnnotation"&&r.type==="FunctionTypeParam"&&!r.name&&e.grandparent.this!==r||e.match(void 0,(n,o)=>o==="typeAnnotation"&&n.type==="FunctionTypeParam",(n,o)=>o==="params"&&n.type==="FunctionTypeAnnotation",(n,o)=>o==="value"&&n.type==="ObjectTypeProperty"&&pr(n)))}function Fu(e){return cr(e)||Ye(e)?!0:pe(e)?Ht(e):!1}var wm=new WeakSet;function G(e,t,r="typeAnnotation"){let{node:{[r]:n}}=e;if(!n)return"";let o=!1;if(n.type==="TSTypeAnnotation"||n.type==="TypeAnnotation"){let i=e.call(xu,r);(i==="=>"||i===":"&&x(n,g.Leading))&&(o=!0),wm.add(n)}return o?[" ",t(r)]:t(r)}var xu=e=>e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>(r==="returnType"||r==="typeAnnotation")&&(t.type==="TSFunctionType"||t.type==="TSConstructorType"))?"=>":e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>r==="typeAnnotation"&&(t.type==="TSJSDocNullableType"||t.type==="TSJSDocNonNullableType"||t.type==="TSTypePredicate"))||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="typeAnnotation"&&t.type==="Identifier",(t,r)=>r==="id"&&t.type==="DeclareFunction")||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="typeAnnotation"&&t.type==="Identifier",(t,r)=>r==="id"&&t.type==="DeclareHook")||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="bound"&&t.type==="TypeParameter"&&t.usesExtendsBound)?"":":";function Pn(e,t,r){let n=xu(e);return n?[n," ",r("typeAnnotation")]:r("typeAnnotation")}var Lm=({node:e,key:t,parent:r})=>t==="value"&&e.type==="FunctionExpression"&&(r.type==="ObjectMethod"||r.type==="ClassMethod"||r.type==="ClassPrivateMethod"||r.type==="MethodDefinition"||r.type==="TSAbstractMethodDefinition"||r.type==="TSDeclareMethod"||r.type==="Property"&&$e(r));function Dr(e,t,r,n){if(Lm(e))return In(e,t,r);let{node:o}=e,i=!1;if(o.type==="FunctionExpression"&&n?.expandLastArg){let{parent:y}=e;M(y)&&(se(y).length>1||ee(o).every(F=>F.type==="Identifier"&&!F.typeAnnotation))&&(i=!0)}let s=Ke(e,t,r,i),u=wn(e,r),a=Bt(o,u),f=o.type==="HookDeclaration"?"hook":"function";return[ne(e),o.async?"async ":"",f,o.generator?"*":""," ",o.id?r("id"):"",r("typeParameters"),p([a?p(s):s,u]),o.body?" ":"",r("body"),o.declare||!o.body?R(t):""]}function Rr(e,t,r){let{node:n}=e,{kind:o}=n,i=n.value||n,s=[];return!o||o==="init"||o==="method"||o==="constructor"?i.async&&s.push("async "):(Re(o==="get"||o==="set"),s.push(o," ")),i.generator&&s.push("*"),s.push(ve(e,t,r),n.optional?"?":"",n===i?In(e,t,r):r("value")),s}function In(e,t,r){let{node:n}=e,o=Ke(e,t,r),i=wn(e,r),s=uu(n),u=Bt(n,i),a=[r("typeParameters"),p([s?p(o,{shouldBreak:!0}):u?p(o):o,i])];return n.body?a.push(" ",r("body")):a.push(R(t)),a}function Om(e){let t=ee(e);return t.length===1&&!e.typeParameters&&!x(e,g.Dangling)&&t[0].type==="Identifier"&&!t[0].typeAnnotation&&!x(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function kn(e,t){if(t.arrowParens==="always")return!1;if(t.arrowParens==="avoid"){let{node:r}=e;return Om(r)}return!1}function wn(e,t){let{node:r}=e,o=[G(e,t,"returnType")];return r.predicate&&o.push(t("predicate")),o}function yr(e,t){if(t.semi)return!1;let{node:r}=e;if(r.type!=="ExpressionStatement"||$o(e,t)||zo(e,t)||Qo(e,t))return!1;let{key:n,parent:o}=e;return!!((n==="body"&&(o.type==="Program"||o.type==="BlockStatement"||o.type==="StaticBlock"||o.type==="TSModuleBlock")||n==="consequent"&&o.type==="SwitchCase")&&e.call(()=>Au(e,t),"expression"))}function Au(e,t){let{node:r}=e;switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"TSTypeAssertion":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!kn(e,t))return!0;break;case"UnaryExpression":{let{prefix:n,operator:o}=r;if(n&&(o==="+"||o==="-"))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(H(r))return!0}return oe(e,t)?!0:sr(r)?e.call(()=>Au(e,t),...an(r)):!1}var Ko=({node:e,parent:t})=>e.type==="ExpressionStatement"&&t.type==="Program"&&t.body.length===1&&(Array.isArray(t.directives)&&t.directives.length===0||!t.directives);function $o(e,t){return(t.parentParser==="markdown"||t.parentParser==="mdx")&&Ko(e)&&H(e.node.expression)}function Qo(e,t){return t.__isHtmlInlineEventHandler&&Ko(e)}function zo(e,t){return(t.parser==="__vue_event_binding"||t.parser==="__vue_ts_event_binding")&&Ko(e)}function Ln(e,t){if(!yr(e,t))return!1;let r=w(0,re(e.node,g.Leading),-1);return!!(r&&nr(r))}var Mm=B(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function _m(e,t){let{key:r,parent:n}=e;if(r==="types"&&pe(n)||r==="argument"&&n.type==="JSXSpreadAttribute"||r==="expression"&&n.type==="JSXSpreadChild"||r==="superClass"&&(n.type==="ClassDeclaration"||n.type==="ClassExpression")||(r==="id"||r==="typeParameters")&&Mm(n)||r==="patterns"&&n.type==="MatchOrPattern"||tn(e))return!0;let{node:o}=e;return Lt(o)?!1:o.type==="ExpressionStatement"?Ln(e,t):pe(o)?Bn(e):!!H(o)}var Tu=_m;function Nm(e,t,r=0){let n=0;for(let o=r;o<e.length;++o)e[o]===" "?n=n+t-n%t:n++;return n}var gu=Nm;function jm(e,t){let r=e.lastIndexOf(`
12
+ `,o):C;I&&(c.write(I),s.length>0&&(i+=dt(I)));break}case Me:for(let I=C.length-1;I>=0;I--)s.push({indent:E,mode:P,doc:C[I]});break;case ct:c.markPosition();break;case Ze:s.push({indent:eu(E,t),mode:P,doc:C.contents});break;case et:s.push({indent:Zs(E,C.n,t),mode:P,doc:C.contents});break;case lt:i-=c.trim();break;case ge:{let I=(function(){if(P===Ct&&!u)return{indent:E,mode:C.break?nt:Ct,doc:C.contents};u=!1;let h=n-i,v=a.length>0,U={indent:E,mode:Ct,doc:C.contents};if(!C.break&&dn(U,s,h,v,r))return U;if(!C.expandedStates)return{indent:E,mode:nt,doc:C.contents};if(!C.break)for(let ae=1;ae<C.expandedStates.length-1;ae++){let fe={indent:E,mode:Ct,doc:C.expandedStates[ae]};if(dn(fe,s,h,v,r))return fe}return{indent:E,mode:nt,doc:w(0,C.expandedStates,-1)}})();s.push(I),C.id&&(r[C.id]=I.mode);break}case Ue:{let I=n-i,k=C[Go]??0,{parts:h}=C,v=h.length-k;if(v===0)break;let U=h[k+0],ae=h[k+1],fe={indent:E,mode:Ct,doc:U},z={indent:E,mode:nt,doc:U},xe=dn(fe,[],I,a.length>0,r,!0);if(v===1){xe?s.push(fe):s.push(z);break}let De={indent:E,mode:Ct,doc:ae},xt={indent:E,mode:nt,doc:ae};if(v===2){xe?s.push(De,fe):s.push(xt,z);break}let bt=h[k+2],_={indent:E,mode:P,doc:{...C,[Go]:k+2}},we=dn({indent:E,mode:Ct,doc:[U,ae,bt]},[],I,a.length>0,r,!0);s.push(_),we?s.push(De,fe):xe?s.push(xt,fe):s.push(xt,z);break}case _e:case tt:{let I=C.groupId?r[C.groupId]:P;if(I===nt){let k=C.type===_e?C.breakContents:C.negate?C.contents:m(C.contents);k&&s.push({indent:E,mode:P,doc:k})}if(I===Ct){let k=C.type===_e?C.flatContents:C.negate?m(C.contents):C.contents;k&&s.push({indent:E,mode:P,doc:k})}break}case rt:a.push({indent:E,mode:P,doc:C.contents});break;case He:a.length>0&&s.push({indent:E,mode:P,doc:Mo});break;case Fe:switch(P){case Ct:if(!C.hard){C.soft||(c.write(" "),i+=1);break}u=!0;case nt:if(a.length>0){s.push({indent:E,mode:P,doc:C},...a.reverse()),a.length=0;break}C.literal?(c.write(o),i=0,E.root&&(E.root.value&&c.write(E.root.value),i=E.root.length)):(c.trim(),c.write(o+E.value),i=E.length);break}break;case Ne:s.push({indent:E,mode:P,doc:C.contents});break;case qe:break;default:throw new Ot(C)}s.length===0&&a.length>0&&(s.push(...a.reverse()),a.length=0)}let{text:f,positions:y}=c.finish();if(y.length!==2)return{formatted:f};let[F,A]=y;return{formatted:f,cursorNodeStart:F,cursorNodeText:f.slice(F,A)}}var St=class extends Error{name="ArgExpansionBailout"};function pr(e){return(e.type==="ObjectTypeProperty"||e.type==="ObjectTypeInternalSlot")&&!e.static&&!e.method&&e.kind!=="get"&&e.kind!=="set"&&e.value.type==="FunctionTypeAnnotation"}function Ql(e,t){let r=null,n=t;for(;n!==r;)r=n,n=Ki(e,n),n=tr(e,n),n=at(e,n);return n=rr(e,n),n=pt(e,n),n!==!1&&J(e,n)}var Gt=Ql;var me=(e,{originalText:t})=>{let r=S(e);if(Gt(t,r))return!0;let n=It(e);return n===r?!1:Gt(t,n)};var zl=B(["AnyTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","BooleanTypeAnnotation","BigIntTypeAnnotation","SymbolTypeAnnotation","StringTypeAnnotation","NeverTypeAnnotation","UndefinedTypeAnnotation","UnknownTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation"]),Cn=zl;var ru=B(["TSThisType","NullLiteralTypeAnnotation","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType"]);function Zl({type:e}){return e.startsWith("TS")&&e.endsWith("Keyword")}var Fn=Zl;function cr(e){return Fn(e)||Cn(e)||ru(e)||e.type==="GenericTypeAnnotation"&&!e.typeParameters||e.type==="TSTypeReference"&&!e.typeArguments}function nu(e){return(e.type==="TypeAnnotation"||e.type==="TSTypeAnnotation")&&e.typeAnnotation.type==="FunctionTypeAnnotation"&&!e.static&&!kt(e,e.typeAnnotation)}function em(e,t){let r=t.split(".");for(let n=r.length-1;n>=0;n--){let o=r[n];if(n===0)return e.type==="Identifier"&&e.name===o;if(n===1&&e.type==="MetaProperty"&&e.property.type==="Identifier"&&e.property.name===o){e=e.meta;continue}if(e.type==="MemberExpression"&&!e.optional&&!e.computed&&e.property.type==="Identifier"&&e.property.name===o){e=e.object;continue}return!1}}function lr(e,t){return t.some(r=>em(e,r))}var tm=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.fixme","test.step","test.describe","test.describe.only","test.describe.skip","test.describe.fixme","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function rm(e){return lr(e,tm)}function nm(e){return e.type==="Identifier"&&(e.name==="beforeEach"||e.name==="beforeAll"||e.name==="afterEach"||e.name==="afterAll")}function qo(e){return M(e)&&e.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}function om(e){return e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&e.body.type==="BlockStatement"}function Ut(e,t){if(e?.type!=="CallExpression"||e.optional)return!1;let r=se(e);if(r.length===1){if(qo(e)&&Ut(t))return wt(r[0]);if(nm(e.callee))return qo(r[0])}else if((r.length===2||r.length===3)&&(r[0].type==="TemplateLiteral"||q(r[0]))&&rm(e.callee))return r[2]&&!Ee(r[2])?!1:(r.length===2?wt(r[1]):om(r[1])&&ee(r[1]).length<=1)||qo(r[1]);return!1}function im(e,t){let r=t-1;r=at(e,r,{backwards:!0}),r=pt(e,r,{backwards:!0}),r=at(e,r,{backwards:!0});let n=pt(e,r,{backwards:!0});return r!==n}var xn=im;var Yo=()=>!0;function Ho(e,t){let r=e.node;return r.printed=!0,t.printer.printComment(e,t)}function sm(e,t){let r=e.node,n=[Ho(e,t)],{printer:o,originalText:i,locStart:s,locEnd:u}=t;if(o.isBlockComment?.(r)){let f=" ";J(i,u(r))&&(J(i,s(r),{backwards:!0})?f=d:f=T),n.push(f)}else n.push(d);let c=pt(i,at(i,u(r)));return c!==!1&&J(i,c)&&n.push(d),n}function um(e,t,r){let n=e.node,o=Ho(e,t),{printer:i,originalText:s,locStart:u}=t,a=i.isBlockComment?.(n);if(r?.hasLineSuffix&&!r?.isBlock||J(s,u(n),{backwards:!0})){let c=xn(s,u(n));return{doc:_o([d,c?d:"",o]),isBlock:a,hasLineSuffix:!0}}return!a||r?.hasLineSuffix?{doc:[_o([" ",o]),je],isBlock:a,hasLineSuffix:!0}:{doc:[" ",o],isBlock:a,hasLineSuffix:!1}}function W(e,t,r={}){let{indent:n=!1,marker:o,filter:i=Yo}=r,s=new Set(e.node?.comments?.filter(c=>!(c.leading||c.trailing||c.marker!==o||!i(c))));if(s.size===0)return"";let u=e.map(({node:c})=>s.has(c)?Ho(e,t):"","comments").filter(Boolean),a=L(d,u);return n?m([d,a]):a}function An(e,t,r){let n=t[Symbol.for("printedComments")],o=r?.filter??Yo,i=new Set(e.node?.comments?.filter(s=>!n?.has(s)&&s.leading&&o(s)));return i.size===0?"":e.map(({node:s})=>i.has(s)?sm(e,t):"","comments").filter(Boolean)}function ou(e,t,r){let n=e.node?.comments,o=new Set(n?.filter(f=>f.trailing)),i=t[Symbol.for("printedComments")],s=r?.filter??Yo,u=new Set(n?.filter(f=>o.has(f)&&!i?.has(f)&&s(f)));if(u.size===0)return"";let a=[],c;return e.each(({node:f})=>{o.has(f)&&(c=um(e,t,c),u.has(f)&&a.push(c.doc))},"comments"),a}function Tn(e,t,r){return{leading:An(e,t,r),trailing:ou(e,t,r)}}function Q(e,t,r,n){let o=An(e,r,n),i=ou(e,r,n);return o||i?mn(t,s=>[o,s,i]):t}function gn(e,t="es5"){return e.trailingComma==="es5"&&t==="es5"||e.trailingComma==="all"&&(t==="all"||t==="es5")}function $(e){let{node:t}=e;return!t.optional||t.type==="Identifier"&&t===e.parent.key?"":M(t)||N(t)&&t.computed||t.type==="OptionalIndexedAccessType"?"?.":"?"}function hn(e){return e.node.definite||e.match(void 0,(t,r)=>r==="id"&&t.type==="VariableDeclarator"&&t.definite)?"!":""}var am=B(["DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","DeclareVariable","DeclareExportDeclaration","DeclareExportAllDeclaration","DeclareOpaqueType","DeclareTypeAlias","DeclareEnum","DeclareInterface"]),pm=e=>{let{node:t}=e;return am(t)?e.parent.type!=="DeclareExportDeclaration"&&!t.implicitDeclare:t.declare};function ne(e){return pm(e)?"declare ":""}var cm=B(["TSAbstractMethodDefinition","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function mr({node:e}){return e.abstract||cm(e)?"abstract ":""}function qt(e){return e.accessibility?e.accessibility+" ":""}var iu=e=>e.type==="UnaryExpression"&&e.operator==="!";function lm(e){return x(e)||!iu(e)?!1:(e=e.argument,e=iu(e)?e.argument:e,e.type==="LogicalExpression")}function fr(e,t,r){let{node:n}=e,o=n.type==="WithStatement"?"object":"test",i=r(o);return lm(n[o])?i:p([m([D,i]),D])}function Mt(e,t,r){let{node:n}=e;return x(n,g.Dangling,r)?[m([D,W(e,t,{filter:r})]),x(n,g.Dangling|g.Line,r)?d:D]:""}function Ie(e,t="es5"){return gn(e,t)?O(","):""}function R(e){return e.semi?";":""}var mm=e=>e.mark!=="commentBeforeArrow";function Ke(e,t,r,n,o){let i=e.node,s=ee(i),u=o&&i.typeParameters?r("typeParameters"):"";if(s.length===0)return[u,"(",Mt(e,t,mm),")"];let{parent:a}=e,c=Ut(a),f=su(i),y=[];if(_i(e,(E,P)=>{let C=P===s.length-1;C&&i.rest&&y.push("..."),y.push(r()),!C&&(y.push(","),c||f?y.push(" "):me(s[P],t)?y.push(d,d):y.push(T))}),n&&!Dm(e)){if(ue(u)||ue(y))throw new St;return p([Jt(u),"(",Jt(y),")"])}let F=s.every(E=>!j(E.decorators));return f&&F?[u,"(",...y,")"]:c?[u,"(",...y,")"]:(pr(a)||nu(a)||a.type==="TypeAlias"||a.type==="UnionTypeAnnotation"||a.type==="IntersectionTypeAnnotation"||a.type==="FunctionTypeAnnotation"&&a.returnType===i)&&s.length===1&&s[0].name===null&&i.this!==s[0]&&s[0].typeAnnotation&&i.typeParameters===null&&cr(s[0].typeAnnotation)&&!i.rest?t.arrowParens==="always"||i.type==="HookTypeAnnotation"?["(",...y,")"]:y:[u,"(",m([D,...y]),!Ni(i)&&e.root.type!=="NGRoot"?Ie(t,"all"):"",D,")"]}function su(e){if(!e)return!1;let t=ee(e);if(t.length!==1)return!1;let[r]=t;return!x(r)&&(r.type==="ObjectPattern"||r.type==="ArrayPattern"||r.type==="Identifier"&&r.typeAnnotation&&(r.typeAnnotation.type==="TypeAnnotation"||r.typeAnnotation.type==="TSTypeAnnotation")&&Ye(r.typeAnnotation.typeAnnotation)||r.type==="FunctionTypeParam"&&Ye(r.typeAnnotation)&&r!==e.rest||r.type==="AssignmentPattern"&&(r.left.type==="ObjectPattern"||r.left.type==="ArrayPattern")&&(r.right.type==="Identifier"||ie(r.right)&&r.right.properties.length===0||Y(r.right)&&r.right.elements.length===0))}function fm(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function Bt(e,t){let r=fm(e);if(!r)return!1;let n=e.typeParameters?.params;if(n){if(n.length>1)return!1;if(n.length===1){let o=n[0];if(o.constraint||o.default)return!1}}return ee(e).length===1&&(Ye(r)||ue(t))}function Dm(e){return e.match(t=>t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement",(t,r)=>{if(t.type==="CallExpression"&&r==="arguments"&&t.arguments.length===1&&t.callee.type==="CallExpression"){let n=t.callee.callee;return n.type==="Identifier"||n.type==="MemberExpression"&&!n.computed&&n.object.type==="Identifier"&&n.property.type==="Identifier"}return!1},(t,r)=>t.type==="VariableDeclarator"&&r==="init"||t.type==="ExportDefaultDeclaration"&&r==="declaration"||t.type==="TSExportAssignment"&&r==="expression"||t.type==="AssignmentExpression"&&r==="right"&&t.left.type==="MemberExpression"&&t.left.object.type==="Identifier"&&t.left.object.name==="module"&&t.left.property.type==="Identifier"&&t.left.property.name==="exports",t=>t.type!=="VariableDeclaration"||t.kind==="const"&&t.declarations.length===1)}function uu(e){let t=ee(e);return t.length>1&&t.some(r=>r.type==="TSParameterProperty")}function Yt(e,t){return(t==="params"||t==="this"||t==="rest")&&su(e)}var ym=/^[\$A-Z_a-z\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][\$0-9A-Z_a-z\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]*$/,Em=e=>ym.test(e),au=Em;function dm(e){return e.length===1?e:e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}var _t=dm;var pu=Object.freeze({character:"'",codePoint:39}),cu=Object.freeze({character:'"',codePoint:34}),Cm=Object.freeze({preferred:pu,alternate:cu}),Fm=Object.freeze({preferred:cu,alternate:pu});function Sn(e,t){let{preferred:r,alternate:n}=t===!0||t==="'"?Cm:Fm,{length:o}=e,i=0,s=0;for(let u=0;u<o;u++){let a=e.charCodeAt(u);a===r.codePoint?i++:a===n.codePoint&&s++}return(i>s?n:r).character}var xm=/\\(["'\\])|(["'])/g;function Am(e,t){let r=t==='"'?"'":'"',n=V(0,e,xm,(o,i,s)=>i?i===r?r:o:s===t?"\\"+s:s);return t+n+t}var mu=Am;function Tm(e,t){Re(/^(?<quote>["']).*\k<quote>$/s.test(e));let r=e.slice(1,-1),n;return t.parser==="json"||t.parser==="jsonc"||t.parser==="json-stringify"||t.parser==="json5"&&t.quoteProps==="preserve"&&!t.singleQuote?n='"':t.__isInHtmlAttribute?n="'":n=Sn(r,t.singleQuote),e.charAt(0)===n?e:mu(r,n)}var ot=Tm;var fu=e=>e.type==="TSEnumMember",Du=e=>fu(e)?"id":"key",vr=e=>e[Du(e)],yu=e=>!fu(e)&&e.computed;function Eu(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}var gm=({parser:e})=>e==="typescript"||e==="babel-ts"||e==="oxc-ts"||e==="yuku-ts";function hm(e,t){let r=vr(e);if(r.type==="Identifier")return!0;if(!Ee(r)||gm(t))return!1;let n=_t(ye(r));return String(r.value)===n&&Eu(n)}function du(e,t){let{parser:r}=t;if(r==="json"||r==="jsonc")return!1;let n=vr(e);if(!q(n))return!1;let{value:o}=n;return ot(ye(n),t).slice(1,-1)!==o||e.type==="TSMethodSignature"&&o==="new"?!1:!!(!(r==="babel-ts"&&e.type==="ClassProperty"||(r==="typescript"||r==="oxc-ts"||r==="yuku-ts")&&e.type==="PropertyDefinition")&&au(o)||(r==="babel"||r==="acorn"||r==="oxc"||r==="yuku"||r==="espree"||r==="meriyah"||r==="__babel_estree")&&e.type!=="ImportAttribute"&&Eu(o)&&String(Number(o))===o)}var Sm=new WeakMap;function Cu(e,t){return Z(Sm,e.parent,()=>e.siblings.some(r=>{if(yu(r))return!1;let n=vr(r);return q(n)&&!du(r,t)}))}function Bm(e,t){return(t.parser==="json"||t.parser==="jsonc"||t.quoteProps==="consistent"&&Cu(e,t))&&hm(e.node,t)}function bm(e,t){return(t.quoteProps==="as-needed"||t.quoteProps==="consistent"&&!Cu(e,t))&&du(e.node,t)}function ve(e,t,r){let{node:n}=e,o=Du(n);if(yu(n))return["[",r(o),"]"];if(Bm(e,t)){let i=vr(n),s=ot(JSON.stringify(i.type==="Identifier"?i.name:String(i.value)),t);return e.call(()=>Q(e,s,t),o)}if(bm(e,t)){let{value:i}=vr(n),s=/^\d/.test(i)?_t(i):i;return e.call(()=>Q(e,s,t),o)}return r(o)}var Pm=B(["VoidTypeAnnotation","TSVoidKeyword","NullLiteralTypeAnnotation","TSNullKeyword"]),Im=B(["ObjectTypeAnnotation","TSTypeLiteral","GenericTypeAnnotation","TSTypeReference"]);function Vo(e){return e.key==="elementTypes"&&Zt(e.parent)&&e.parent.elementTypes.length>1}function Ht(e){let{types:t}=e;if(t.some(n=>x(n)))return!1;let r=t.find(n=>Im(n));return r?t.every(n=>n===r||Pm(n)):!1}function Bn(e){let{key:t,node:r,parent:n}=e;return!(Ht(r)||t==="types"&&pe(n)||t==="types"&&At(n)||Vo(e))}function bn(e,t,r,n){let{node:o}=e;if(Ht(o))return L(" | ",e.map(r,"types"));let i=p(e.map(({isFirst:s})=>{let u=s?O("| "):[T,"| "],a=r();return x(e.node,g.Leading)?[u,Se(2,Q(e,a,t))]:[u,Q(e,Se(2,a),t)]},"types"));return Bn(e)&&(i=Q(e,i,t)),oe(e,t)?p([m([D,i]),D]):Vo(e)?p([m([O(["(",D]),i]),D,O(")")]):n?.assignmentLayout==="break-after-operator"||!km(e)?i:p(m([D,i]))}function km(e){let{key:t,parent:r}=e;return!(t==="typeAnnotation"&&r.type==="TSTypeAssertion"||t==="elementTypes"&&Zt(r)||(t==="trueType"||t==="falseType")&&Qe(r)||t==="params"&&Hi(r)||t==="typeAnnotation"&&r.type==="FunctionTypeParam"&&!r.name&&e.grandparent.this!==r||e.match(void 0,(n,o)=>o==="typeAnnotation"&&n.type==="FunctionTypeParam",(n,o)=>o==="params"&&n.type==="FunctionTypeAnnotation",(n,o)=>o==="value"&&n.type==="ObjectTypeProperty"&&pr(n)))}function Fu(e){return cr(e)||Ye(e)?!0:pe(e)?Ht(e):!1}var wm=new WeakSet;function G(e,t,r="typeAnnotation"){let{node:{[r]:n}}=e;if(!n)return"";let o=!1;if(n.type==="TSTypeAnnotation"||n.type==="TypeAnnotation"){let i=e.call(xu,r);(i==="=>"||i===":"&&x(n,g.Leading))&&(o=!0),wm.add(n)}return o?[" ",t(r)]:t(r)}var xu=e=>e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>(r==="returnType"||r==="typeAnnotation")&&(t.type==="TSFunctionType"||t.type==="TSConstructorType"))?"=>":e.match(t=>t.type==="TSTypeAnnotation",(t,r)=>r==="typeAnnotation"&&(t.type==="TSJSDocNullableType"||t.type==="TSJSDocNonNullableType"||t.type==="TSTypePredicate"))||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="typeAnnotation"&&t.type==="Identifier",(t,r)=>r==="id"&&t.type==="DeclareFunction")||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="typeAnnotation"&&t.type==="Identifier",(t,r)=>r==="id"&&t.type==="DeclareHook")||e.match(t=>t.type==="TypeAnnotation",(t,r)=>r==="bound"&&t.type==="TypeParameter"&&t.usesExtendsBound)?"":":";function Pn(e,t,r){let n=xu(e);return n?[n," ",r("typeAnnotation")]:r("typeAnnotation")}var Lm=({node:e,key:t,parent:r})=>t==="value"&&e.type==="FunctionExpression"&&(r.type==="ObjectMethod"||r.type==="ClassMethod"||r.type==="ClassPrivateMethod"||r.type==="MethodDefinition"||r.type==="TSAbstractMethodDefinition"||r.type==="TSDeclareMethod"||r.type==="Property"&&$e(r));function Dr(e,t,r,n){if(Lm(e))return In(e,t,r);let{node:o}=e,i=!1;if(o.type==="FunctionExpression"&&n?.expandLastArg){let{parent:y}=e;M(y)&&(se(y).length>1||ee(o).every(F=>F.type==="Identifier"&&!F.typeAnnotation))&&(i=!0)}let s=Ke(e,t,r,i),u=wn(e,r),a=Bt(o,u),f=o.type==="HookDeclaration"?"hook":"function";return[ne(e),o.async?"async ":"",f,o.generator?"*":""," ",o.id?r("id"):"",r("typeParameters"),p([a?p(s):s,u]),o.body?" ":"",r("body"),o.declare||!o.body?R(t):""]}function Rr(e,t,r){let{node:n}=e,{kind:o}=n,i=n.value||n,s=[];return!o||o==="init"||o==="method"||o==="constructor"?i.async&&s.push("async "):(Re(o==="get"||o==="set"),s.push(o," ")),i.generator&&s.push("*"),s.push(ve(e,t,r),n.optional?"?":"",n===i?In(e,t,r):r("value")),s}function In(e,t,r){let{node:n}=e,o=Ke(e,t,r),i=wn(e,r),s=uu(n),u=Bt(n,i),a=[r("typeParameters"),p([s?p(o,{shouldBreak:!0}):u?p(o):o,i])];return n.body?a.push(" ",r("body")):a.push(R(t)),a}function Om(e){let t=ee(e);return t.length===1&&!e.typeParameters&&!x(e,g.Dangling)&&t[0].type==="Identifier"&&!t[0].typeAnnotation&&!x(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function kn(e,t){if(t.arrowParens==="always")return!1;if(t.arrowParens==="avoid"){let{node:r}=e;return Om(r)}return!1}function wn(e,t){let{node:r}=e,o=[G(e,t,"returnType")];return r.predicate&&o.push(t("predicate")),o}function yr(e,t){if(t.semi)return!1;let{node:r}=e;if(r.type!=="ExpressionStatement"||$o(e,t)||zo(e,t)||Qo(e,t))return!1;let{key:n,parent:o}=e;return!!((n==="body"&&(o.type==="Program"||o.type==="BlockStatement"||o.type==="StaticBlock"||o.type==="TSModuleBlock")||n==="consequent"&&o.type==="SwitchCase")&&e.call(()=>Au(e,t),"expression"))}function Au(e,t){let{node:r}=e;switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"TSTypeAssertion":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!kn(e,t))return!0;break;case"UnaryExpression":{let{prefix:n,operator:o}=r;if(n&&(o==="+"||o==="-"))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(H(r))return!0}return oe(e,t)?!0:sr(r)?e.call(()=>Au(e,t),...an(r)):!1}var Ko=({node:e,parent:t})=>e.type==="ExpressionStatement"&&t.type==="Program"&&t.body.length===1&&(Array.isArray(t.directives)&&t.directives.length===0||!t.directives);function $o(e,t){return(t.parentParser==="markdown"||t.parentParser==="mdx")&&Ko(e)&&H(e.node.expression)}function Qo(e,t){return t.__isHtmlInlineEventHandler&&Ko(e)}function zo(e,t){return(t.parser==="__vue_event_binding"||t.parser==="__vue_ts_event_binding")&&Ko(e)}function Ln(e,t){if(!yr(e,t))return!1;let r=w(0,re(e.node,g.Leading),-1);return!!(r&&nr(r))}var Mm=B(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function _m(e,t){let{key:r,parent:n}=e;if(r==="types"&&pe(n)||r==="argument"&&n.type==="JSXSpreadAttribute"||r==="expression"&&n.type==="JSXSpreadChild"||r==="superClass"&&(n.type==="ClassDeclaration"||n.type==="ClassExpression")||(r==="id"||r==="typeParameters")&&Mm(n)||r==="patterns"&&n.type==="MatchOrPattern"||tn(e))return!0;let{node:o}=e;return Lt(o)?!1:o.type==="ExpressionStatement"?Ln(e,t):pe(o)?Bn(e):!!H(o)}var Tu=_m;function Nm(e,t,r=0){let n=0;for(let o=r;o<e.length;++o)e[o]===" "?n=n+t-n%t:n++;return n}var gu=Nm;function jm(e,t){let r=e.lastIndexOf(`
13
13
  `);return r===-1?0:gu(e.slice(r+1).match(/^[\t ]*/)[0],t)}var hu=jm;function On(e,t,r){if(Gm(e)){let i=vm(e,t,r);if(i)return i}let n=Nt(e,t,r),o=e.map(({isLast:i,index:s})=>[r(),i?"":n[s]],"quasis");return[Be,"`",...o,"`"]}function Bu(e,t,r){let n=r("quasi"),{node:o}=e,i="",s=re(o.quasi,g.Leading)[0];return s&&(te(t.originalText,S(o.typeArguments??o.tag),b(s))?i=D:i=" "),Et(n.label&&{tagged:!0,...n.label},[r("tag"),r("typeArguments"),i,Be,n])}function vm(e,t,r){let{node:n}=e,o=n.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(o.length>1||o.some(i=>i.length>0)){t.__inJestEach=!0;let i=Nt(e,t,r);t.__inJestEach=!1;let s=i.map(y=>Uo(y,{...t,printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"}).formatted),u=[{hasLineBreak:!1,cells:[]}];for(let y=1;y<n.quasis.length;y++){let F=w(0,u,-1),A=s[y-1];F.cells.push(A),A.includes(`
14
14
  `)&&(F.hasLineBreak=!0),n.quasis[y].value.raw.includes(`
15
15
  `)&&u.push({hasLineBreak:!1,cells:[]})}let a=Math.max(o.length,...u.map(y=>y.cells.length)),c=Array.from({length:a},()=>0),f=[{cells:o},...u.filter(y=>y.cells.length>0)];for(let y of f)if(!y.hasLineBreak)for(let[F,A]of y.cells.entries())c[F]=Math.max(c[F],dt(A));return[Be,"`",m([d,L(d,f.map(y=>L(" | ",y.cells.map((F,A)=>y.hasLineBreak?F:F+" ".repeat(c[A]-dt(F))))))]),d,"`"]}}var Rm=new WeakMap;function Wm(e,t){let{parent:r,index:n}=e;return Z(Rm,r,i=>{let{tabWidth:s}=t,u=0;return i.quasis.map(c=>{let f=c.value.raw,y=f.includes(`