@danielx/civet 0.5.25 → 0.5.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.js CHANGED
@@ -644,6 +644,7 @@ ${input.slice(result.pos)}
644
644
  NameSpaceImport,
645
645
  NamedImports,
646
646
  FromClause,
647
+ TypeAndImportSpecifier,
647
648
  ImportSpecifier,
648
649
  ModuleExportName,
649
650
  ModuleSpecifier,
@@ -653,6 +654,7 @@ ${input.slice(result.pos)}
653
654
  ExportDeclaration,
654
655
  ExportVarDec,
655
656
  ExportFromClause,
657
+ TypeAndNamedExports,
656
658
  NamedExports,
657
659
  ExportSpecifier,
658
660
  ImplicitExportSpecifier,
@@ -747,6 +749,7 @@ ${input.slice(result.pos)}
747
749
  Else,
748
750
  Equals,
749
751
  Export,
752
+ Extends,
750
753
  For,
751
754
  From,
752
755
  Function,
@@ -759,6 +762,7 @@ ${input.slice(result.pos)}
759
762
  New,
760
763
  Not,
761
764
  Of,
765
+ OpenAngleBracket,
762
766
  OpenBrace,
763
767
  OpenBracket,
764
768
  OpenParen,
@@ -793,12 +797,12 @@ ${input.slice(result.pos)}
793
797
  When,
794
798
  While,
795
799
  Yield,
796
- TypedJSXElement,
800
+ JSXImplicitFragment,
801
+ JSXTag,
797
802
  JSXElement,
798
803
  JSXSelfClosingElement,
799
804
  JSXOpeningElement,
800
805
  JSXClosingElement,
801
- TypedJSXFragment,
802
806
  JSXFragment,
803
807
  JSXElementName,
804
808
  JSXIdentifierName,
@@ -870,6 +874,7 @@ ${input.slice(result.pos)}
870
874
  TypeParameters,
871
875
  TypeParameter,
872
876
  TypeConstraint,
877
+ TypeInitializer,
873
878
  TypeParameterDelimiter,
874
879
  Shebang,
875
880
  CivetPrologue,
@@ -921,175 +926,174 @@ ${input.slice(result.pos)}
921
926
  var $L2 = $L("--");
922
927
  var $L3 = $L("=>");
923
928
  var $L4 = $L(" ");
924
- var $L5 = $L("<");
925
- var $L6 = $L("extends");
926
- var $L7 = $L("implements");
927
- var $L8 = $L("#");
928
- var $L9 = $L(".");
929
- var $L10 = $L("super");
930
- var $L11 = $L("import");
931
- var $L12 = $L("!");
932
- var $L13 = $L("super[");
933
- var $L14 = $L("import.meta");
934
- var $L15 = $L(")");
935
- var $L16 = $L("->");
936
- var $L17 = $L("}");
937
- var $L18 = $L("null");
938
- var $L19 = $L("true");
939
- var $L20 = $L("false");
940
- var $L21 = $L("yes");
941
- var $L22 = $L("on");
942
- var $L23 = $L("no");
943
- var $L24 = $L("off");
944
- var $L25 = $L(",");
945
- var $L26 = $L("=");
946
- var $L27 = $L(">");
947
- var $L28 = $L("]");
948
- var $L29 = $L(":");
949
- var $L30 = $L("**=");
950
- var $L31 = $L("*=");
951
- var $L32 = $L("/=");
952
- var $L33 = $L("%=");
953
- var $L34 = $L("+=");
954
- var $L35 = $L("-=");
955
- var $L36 = $L("<<=");
956
- var $L37 = $L(">>>=");
957
- var $L38 = $L(">>=");
958
- var $L39 = $L("&&=");
959
- var $L40 = $L("&=");
960
- var $L41 = $L("^=");
961
- var $L42 = $L("||=");
962
- var $L43 = $L("|=");
963
- var $L44 = $L("??=");
964
- var $L45 = $L("?=");
965
- var $L46 = $L("and=");
966
- var $L47 = $L("or=");
967
- var $L48 = $L("**");
968
- var $L49 = $L("*");
969
- var $L50 = $L("/");
970
- var $L51 = $L("%%");
971
- var $L52 = $L("%");
972
- var $L53 = $L("+");
973
- var $L54 = $L("-");
974
- var $L55 = $L("<=");
975
- var $L56 = $L(">=");
976
- var $L57 = $L("<<");
977
- var $L58 = $L(">>>");
978
- var $L59 = $L(">>");
979
- var $L60 = $L("!==");
980
- var $L61 = $L("!=");
981
- var $L62 = $L("isnt");
982
- var $L63 = $L("===");
983
- var $L64 = $L("==");
984
- var $L65 = $L("and");
985
- var $L66 = $L("&&");
986
- var $L67 = $L("of");
987
- var $L68 = $L("or");
988
- var $L69 = $L("||");
989
- var $L70 = $L("??");
990
- var $L71 = $L("?");
991
- var $L72 = $L("instanceof");
992
- var $L73 = $L("not");
993
- var $L74 = $L("in");
994
- var $L75 = $L("is");
995
- var $L76 = $L("&");
996
- var $L77 = $L("^");
997
- var $L78 = $L("|");
998
- var $L79 = $L(";");
999
- var $L80 = $L("own");
1000
- var $L81 = $L("finally");
1001
- var $L82 = $L("break");
1002
- var $L83 = $L("continue");
1003
- var $L84 = $L("debugger");
1004
- var $L85 = $L("import type");
1005
- var $L86 = $L("default");
1006
- var $L87 = $L(":=");
1007
- var $L88 = $L("::=");
1008
- var $L89 = $L(".=");
1009
- var $L90 = $L("/*");
1010
- var $L91 = $L("*/");
1011
- var $L92 = $L("\\");
1012
- var $L93 = $L("abstract");
1013
- var $L94 = $L("as");
1014
- var $L95 = $L("@");
1015
- var $L96 = $L("@@");
1016
- var $L97 = $L("async");
1017
- var $L98 = $L("await");
1018
- var $L99 = $L("`");
1019
- var $L100 = $L("by");
1020
- var $L101 = $L("case");
1021
- var $L102 = $L("catch");
1022
- var $L103 = $L("class");
1023
- var $L104 = $L("#{");
1024
- var $L105 = $L("delete");
1025
- var $L106 = $L("do");
1026
- var $L107 = $L("..");
1027
- var $L108 = $L("...");
1028
- var $L109 = $L("::");
1029
- var $L110 = $L('"');
1030
- var $L111 = $L("else");
1031
- var $L112 = $L("export");
1032
- var $L113 = $L("for");
1033
- var $L114 = $L("from");
1034
- var $L115 = $L("function");
1035
- var $L116 = $L("get");
1036
- var $L117 = $L("set");
1037
- var $L118 = $L("if");
1038
- var $L119 = $L("let");
1039
- var $L120 = $L("const");
1040
- var $L121 = $L("loop");
1041
- var $L122 = $L("new");
1042
- var $L123 = $L("{");
1043
- var $L124 = $L("[");
1044
- var $L125 = $L("(");
1045
- var $L126 = $L("public");
1046
- var $L127 = $L("private");
1047
- var $L128 = $L("protected");
1048
- var $L129 = $L("|>");
1049
- var $L130 = $L("readonly");
1050
- var $L131 = $L("return");
1051
- var $L132 = $L("satisfies");
1052
- var $L133 = $L("'");
1053
- var $L134 = $L("static");
1054
- var $L135 = $L("${");
1055
- var $L136 = $L("switch");
1056
- var $L137 = $L("target");
1057
- var $L138 = $L("then");
1058
- var $L139 = $L("this");
1059
- var $L140 = $L("throw");
1060
- var $L141 = $L('"""');
1061
- var $L142 = $L("'''");
1062
- var $L143 = $L("///");
1063
- var $L144 = $L("```");
1064
- var $L145 = $L("try");
1065
- var $L146 = $L("typeof");
1066
- var $L147 = $L("unless");
1067
- var $L148 = $L("until");
1068
- var $L149 = $L("var");
1069
- var $L150 = $L("void");
1070
- var $L151 = $L("when");
1071
- var $L152 = $L("while");
1072
- var $L153 = $L("yield");
1073
- var $L154 = $L("/>");
1074
- var $L155 = $L("</");
1075
- var $L156 = $L("<>");
1076
- var $L157 = $L("</>");
1077
- var $L158 = $L("<!--");
1078
- var $L159 = $L("-->");
1079
- var $L160 = $L("declare");
1080
- var $L161 = $L("type");
1081
- var $L162 = $L("interface");
1082
- var $L163 = $L("namespace");
1083
- var $L164 = $L("asserts");
1084
- var $L165 = $L("keyof");
1085
- var $L166 = $L("infer");
1086
- var $L167 = $L("[]");
1087
- var $L168 = $L("civet");
929
+ var $L5 = $L("implements");
930
+ var $L6 = $L("#");
931
+ var $L7 = $L(".");
932
+ var $L8 = $L("super");
933
+ var $L9 = $L("import");
934
+ var $L10 = $L("!");
935
+ var $L11 = $L("super[");
936
+ var $L12 = $L("import.meta");
937
+ var $L13 = $L(")");
938
+ var $L14 = $L("->");
939
+ var $L15 = $L("}");
940
+ var $L16 = $L("null");
941
+ var $L17 = $L("true");
942
+ var $L18 = $L("false");
943
+ var $L19 = $L("yes");
944
+ var $L20 = $L("on");
945
+ var $L21 = $L("no");
946
+ var $L22 = $L("off");
947
+ var $L23 = $L(",");
948
+ var $L24 = $L("=");
949
+ var $L25 = $L(">");
950
+ var $L26 = $L("]");
951
+ var $L27 = $L(":");
952
+ var $L28 = $L("**=");
953
+ var $L29 = $L("*=");
954
+ var $L30 = $L("/=");
955
+ var $L31 = $L("%=");
956
+ var $L32 = $L("+=");
957
+ var $L33 = $L("-=");
958
+ var $L34 = $L("<<=");
959
+ var $L35 = $L(">>>=");
960
+ var $L36 = $L(">>=");
961
+ var $L37 = $L("&&=");
962
+ var $L38 = $L("&=");
963
+ var $L39 = $L("^=");
964
+ var $L40 = $L("||=");
965
+ var $L41 = $L("|=");
966
+ var $L42 = $L("??=");
967
+ var $L43 = $L("?=");
968
+ var $L44 = $L("and=");
969
+ var $L45 = $L("or=");
970
+ var $L46 = $L("**");
971
+ var $L47 = $L("*");
972
+ var $L48 = $L("/");
973
+ var $L49 = $L("%%");
974
+ var $L50 = $L("%");
975
+ var $L51 = $L("+");
976
+ var $L52 = $L("-");
977
+ var $L53 = $L("<=");
978
+ var $L54 = $L(">=");
979
+ var $L55 = $L("<<");
980
+ var $L56 = $L(">>>");
981
+ var $L57 = $L(">>");
982
+ var $L58 = $L("!==");
983
+ var $L59 = $L("!=");
984
+ var $L60 = $L("isnt");
985
+ var $L61 = $L("===");
986
+ var $L62 = $L("==");
987
+ var $L63 = $L("and");
988
+ var $L64 = $L("&&");
989
+ var $L65 = $L("of");
990
+ var $L66 = $L("or");
991
+ var $L67 = $L("||");
992
+ var $L68 = $L("??");
993
+ var $L69 = $L("?");
994
+ var $L70 = $L("instanceof");
995
+ var $L71 = $L("not");
996
+ var $L72 = $L("in");
997
+ var $L73 = $L("is");
998
+ var $L74 = $L("&");
999
+ var $L75 = $L("^");
1000
+ var $L76 = $L("|");
1001
+ var $L77 = $L(";");
1002
+ var $L78 = $L("own");
1003
+ var $L79 = $L("finally");
1004
+ var $L80 = $L("break");
1005
+ var $L81 = $L("continue");
1006
+ var $L82 = $L("debugger");
1007
+ var $L83 = $L("default");
1008
+ var $L84 = $L(":=");
1009
+ var $L85 = $L("::=");
1010
+ var $L86 = $L(".=");
1011
+ var $L87 = $L("/*");
1012
+ var $L88 = $L("*/");
1013
+ var $L89 = $L("\\");
1014
+ var $L90 = $L("abstract");
1015
+ var $L91 = $L("as");
1016
+ var $L92 = $L("@");
1017
+ var $L93 = $L("@@");
1018
+ var $L94 = $L("async");
1019
+ var $L95 = $L("await");
1020
+ var $L96 = $L("`");
1021
+ var $L97 = $L("by");
1022
+ var $L98 = $L("case");
1023
+ var $L99 = $L("catch");
1024
+ var $L100 = $L("class");
1025
+ var $L101 = $L("#{");
1026
+ var $L102 = $L("delete");
1027
+ var $L103 = $L("do");
1028
+ var $L104 = $L("..");
1029
+ var $L105 = $L("...");
1030
+ var $L106 = $L("::");
1031
+ var $L107 = $L('"');
1032
+ var $L108 = $L("else");
1033
+ var $L109 = $L("export");
1034
+ var $L110 = $L("extends");
1035
+ var $L111 = $L("for");
1036
+ var $L112 = $L("from");
1037
+ var $L113 = $L("function");
1038
+ var $L114 = $L("get");
1039
+ var $L115 = $L("set");
1040
+ var $L116 = $L("if");
1041
+ var $L117 = $L("let");
1042
+ var $L118 = $L("const");
1043
+ var $L119 = $L("loop");
1044
+ var $L120 = $L("new");
1045
+ var $L121 = $L("<");
1046
+ var $L122 = $L("{");
1047
+ var $L123 = $L("[");
1048
+ var $L124 = $L("(");
1049
+ var $L125 = $L("public");
1050
+ var $L126 = $L("private");
1051
+ var $L127 = $L("protected");
1052
+ var $L128 = $L("|>");
1053
+ var $L129 = $L("readonly");
1054
+ var $L130 = $L("return");
1055
+ var $L131 = $L("satisfies");
1056
+ var $L132 = $L("'");
1057
+ var $L133 = $L("static");
1058
+ var $L134 = $L("${");
1059
+ var $L135 = $L("switch");
1060
+ var $L136 = $L("target");
1061
+ var $L137 = $L("then");
1062
+ var $L138 = $L("this");
1063
+ var $L139 = $L("throw");
1064
+ var $L140 = $L('"""');
1065
+ var $L141 = $L("'''");
1066
+ var $L142 = $L("///");
1067
+ var $L143 = $L("```");
1068
+ var $L144 = $L("try");
1069
+ var $L145 = $L("typeof");
1070
+ var $L146 = $L("unless");
1071
+ var $L147 = $L("until");
1072
+ var $L148 = $L("var");
1073
+ var $L149 = $L("void");
1074
+ var $L150 = $L("when");
1075
+ var $L151 = $L("while");
1076
+ var $L152 = $L("yield");
1077
+ var $L153 = $L("/>");
1078
+ var $L154 = $L("</");
1079
+ var $L155 = $L("<>");
1080
+ var $L156 = $L("</>");
1081
+ var $L157 = $L("<!--");
1082
+ var $L158 = $L("-->");
1083
+ var $L159 = $L("declare");
1084
+ var $L160 = $L("type");
1085
+ var $L161 = $L("interface");
1086
+ var $L162 = $L("namespace");
1087
+ var $L163 = $L("asserts");
1088
+ var $L164 = $L("keyof");
1089
+ var $L165 = $L("infer");
1090
+ var $L166 = $L("[]");
1091
+ var $L167 = $L("civet");
1088
1092
  var $R0 = $R(new RegExp("(for|of|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1089
1093
  var $R1 = $R(new RegExp("[&]", "suy"));
1090
1094
  var $R2 = $R(new RegExp("[!~+-]+", "suy"));
1091
1095
  var $R3 = $R(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
1092
- var $R4 = $R(new RegExp("[+-]", "suy"));
1096
+ var $R4 = $R(new RegExp("[!+-]", "suy"));
1093
1097
  var $R5 = $R(new RegExp("<(?!\\p{ID_Start}|[_$])", "suy"));
1094
1098
  var $R6 = $R(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy"));
1095
1099
  var $R7 = $R(new RegExp("(?=[\\s\\)])", "suy"));
@@ -1136,12 +1140,13 @@ ${input.slice(result.pos)}
1136
1140
  var $R48 = $R(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
1137
1141
  var $R49 = $R(new RegExp("[^{}<>\\r\\n]+", "suy"));
1138
1142
  var $R50 = $R(new RegExp("[+-]?", "suy"));
1139
- var $R51 = $R(new RegExp("#![^\\r\\n]*", "suy"));
1140
- var $R52 = $R(new RegExp("[\\t ]*", "suy"));
1141
- var $R53 = $R(new RegExp("[\\s]*", "suy"));
1142
- var $R54 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
1143
- var $R55 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
1144
- var $R56 = $R(new RegExp("[ \\t]*", "suy"));
1143
+ var $R51 = $R(new RegExp("[+-]", "suy"));
1144
+ var $R52 = $R(new RegExp("#![^\\r\\n]*", "suy"));
1145
+ var $R53 = $R(new RegExp("[\\t ]*", "suy"));
1146
+ var $R54 = $R(new RegExp("[\\s]*", "suy"));
1147
+ var $R55 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
1148
+ var $R56 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
1149
+ var $R57 = $R(new RegExp("[ \\t]*", "suy"));
1145
1150
  var Program$0 = $TS($S(Reset, Init, __, $Q(TopLevelStatement), __), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
1146
1151
  var statements = $4;
1147
1152
  module.processProgram(statements);
@@ -2162,8 +2167,7 @@ ${input.slice(result.pos)}
2162
2167
  var PrimaryExpression$7 = RegularExpressionLiteral;
2163
2168
  var PrimaryExpression$8 = TemplateLiteral;
2164
2169
  var PrimaryExpression$9 = ParenthesizedExpression;
2165
- var PrimaryExpression$10 = TypedJSXElement;
2166
- var PrimaryExpression$11 = TypedJSXFragment;
2170
+ var PrimaryExpression$10 = JSXImplicitFragment;
2167
2171
  function PrimaryExpression(state) {
2168
2172
  if (state.events) {
2169
2173
  const result = state.events.enter?.("PrimaryExpression", state);
@@ -2171,12 +2175,12 @@ ${input.slice(result.pos)}
2171
2175
  return result.cache;
2172
2176
  }
2173
2177
  if (state.tokenize) {
2174
- const result = $TOKEN("PrimaryExpression", state, PrimaryExpression$0(state) || PrimaryExpression$1(state) || PrimaryExpression$2(state) || PrimaryExpression$3(state) || PrimaryExpression$4(state) || PrimaryExpression$5(state) || PrimaryExpression$6(state) || PrimaryExpression$7(state) || PrimaryExpression$8(state) || PrimaryExpression$9(state) || PrimaryExpression$10(state) || PrimaryExpression$11(state));
2178
+ const result = $TOKEN("PrimaryExpression", state, PrimaryExpression$0(state) || PrimaryExpression$1(state) || PrimaryExpression$2(state) || PrimaryExpression$3(state) || PrimaryExpression$4(state) || PrimaryExpression$5(state) || PrimaryExpression$6(state) || PrimaryExpression$7(state) || PrimaryExpression$8(state) || PrimaryExpression$9(state) || PrimaryExpression$10(state));
2175
2179
  if (state.events)
2176
2180
  state.events.exit?.("PrimaryExpression", state, result);
2177
2181
  return result;
2178
2182
  } else {
2179
- const result = PrimaryExpression$0(state) || PrimaryExpression$1(state) || PrimaryExpression$2(state) || PrimaryExpression$3(state) || PrimaryExpression$4(state) || PrimaryExpression$5(state) || PrimaryExpression$6(state) || PrimaryExpression$7(state) || PrimaryExpression$8(state) || PrimaryExpression$9(state) || PrimaryExpression$10(state) || PrimaryExpression$11(state);
2183
+ const result = PrimaryExpression$0(state) || PrimaryExpression$1(state) || PrimaryExpression$2(state) || PrimaryExpression$3(state) || PrimaryExpression$4(state) || PrimaryExpression$5(state) || PrimaryExpression$6(state) || PrimaryExpression$7(state) || PrimaryExpression$8(state) || PrimaryExpression$9(state) || PrimaryExpression$10(state);
2180
2184
  if (state.events)
2181
2185
  state.events.exit?.("PrimaryExpression", state, result);
2182
2186
  return result;
@@ -2293,7 +2297,7 @@ ${input.slice(result.pos)}
2293
2297
  return result;
2294
2298
  }
2295
2299
  }
2296
- var ExtendsClause$0 = $S(__, ExtendsToken, __, ExtendsTarget);
2300
+ var ExtendsClause$0 = $S(ExtendsToken, __, ExtendsTarget);
2297
2301
  function ExtendsClause(state) {
2298
2302
  if (state.events) {
2299
2303
  const result = state.events.enter?.("ExtendsClause", state);
@@ -2312,12 +2316,22 @@ ${input.slice(result.pos)}
2312
2316
  return result;
2313
2317
  }
2314
2318
  }
2315
- var ExtendsToken$0 = $TV($EXPECT($L5, fail, 'ExtendsToken "<"'), function($skip, $loc, $0, $1) {
2316
- return { $loc, token: "extends" };
2317
- });
2318
- var ExtendsToken$1 = $TS($S($EXPECT($L6, fail, 'ExtendsToken "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2319
- return { $loc, token: $1 };
2319
+ var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L4, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2320
+ var l = $1;
2321
+ var ws = $2;
2322
+ var lt = $3;
2323
+ const children = [
2324
+ ...ws,
2325
+ { ...lt, token: "extends " }
2326
+ ];
2327
+ if (!ws.length) {
2328
+ children.unshift({ $loc: l.$loc, token: " " });
2329
+ }
2330
+ return {
2331
+ children
2332
+ };
2320
2333
  });
2334
+ var ExtendsToken$1 = $S(__, Extends);
2321
2335
  function ExtendsToken(state) {
2322
2336
  if (state.events) {
2323
2337
  const result = state.events.enter?.("ExtendsToken", state);
@@ -2386,7 +2400,7 @@ ${input.slice(result.pos)}
2386
2400
  return result;
2387
2401
  }
2388
2402
  }
2389
- var ImplementsToken$0 = $TS($S($EXPECT($L7, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2403
+ var ImplementsToken$0 = $TS($S($EXPECT($L5, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2390
2404
  return { $loc, token: $1 };
2391
2405
  });
2392
2406
  function ImplementsToken(state) {
@@ -2599,7 +2613,7 @@ ${input.slice(result.pos)}
2599
2613
  }
2600
2614
  }
2601
2615
  var ThisLiteral$0 = This;
2602
- var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L8, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2616
+ var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L6, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2603
2617
  var t = $1;
2604
2618
  var id = $2;
2605
2619
  return [{ ...t, token: "this." }, id];
@@ -2626,7 +2640,7 @@ ${input.slice(result.pos)}
2626
2640
  return result;
2627
2641
  }
2628
2642
  }
2629
- var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L9, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2643
+ var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L7, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2630
2644
  if ($1.length)
2631
2645
  return $0;
2632
2646
  return $2;
@@ -2649,8 +2663,8 @@ ${input.slice(result.pos)}
2649
2663
  return result;
2650
2664
  }
2651
2665
  }
2652
- var CallExpression$0 = $S($EXPECT($L10, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest));
2653
- var CallExpression$1 = $TS($S($EXPECT($L11, fail, 'CallExpression "import"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
2666
+ var CallExpression$0 = $S($EXPECT($L8, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest));
2667
+ var CallExpression$1 = $TS($S($EXPECT($L9, fail, 'CallExpression "import"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
2654
2668
  return {
2655
2669
  type: "CallExpression",
2656
2670
  children: $0
@@ -2723,7 +2737,7 @@ ${input.slice(result.pos)}
2723
2737
  return result;
2724
2738
  }
2725
2739
  }
2726
- var NonNullAssertion$0 = $T($EXPECT($L12, fail, 'NonNullAssertion "!"'), function(value) {
2740
+ var NonNullAssertion$0 = $T($EXPECT($L10, fail, 'NonNullAssertion "!"'), function(value) {
2727
2741
  return { "ts": true, "children": value };
2728
2742
  });
2729
2743
  function NonNullAssertion(state) {
@@ -2969,8 +2983,8 @@ ${input.slice(result.pos)}
2969
2983
  return result;
2970
2984
  }
2971
2985
  }
2972
- var SuperProperty$0 = $S($EXPECT($L13, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2973
- var SuperProperty$1 = $S($EXPECT($L10, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
2986
+ var SuperProperty$0 = $S($EXPECT($L11, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2987
+ var SuperProperty$1 = $S($EXPECT($L8, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
2974
2988
  function SuperProperty(state) {
2975
2989
  if (state.events) {
2976
2990
  const result = state.events.enter?.("SuperProperty", state);
@@ -2990,7 +3004,7 @@ ${input.slice(result.pos)}
2990
3004
  }
2991
3005
  }
2992
3006
  var MetaProperty$0 = $S(New, Dot, Target);
2993
- var MetaProperty$1 = $TS($S($EXPECT($L14, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3007
+ var MetaProperty$1 = $TS($S($EXPECT($L12, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2994
3008
  return { $loc, token: $1 };
2995
3009
  });
2996
3010
  function MetaProperty(state) {
@@ -3154,7 +3168,7 @@ ${input.slice(result.pos)}
3154
3168
  }
3155
3169
  }
3156
3170
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3157
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ParameterElementDelimiter ")"')));
3171
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L13, fail, 'ParameterElementDelimiter ")"')));
3158
3172
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3159
3173
  return value[1];
3160
3174
  });
@@ -3909,7 +3923,7 @@ ${input.slice(result.pos)}
3909
3923
  return result;
3910
3924
  }
3911
3925
  }
3912
- var Arrow$0 = $TV($EXPECT($L16, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3926
+ var Arrow$0 = $TV($EXPECT($L14, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3913
3927
  return { $loc, token: $1 };
3914
3928
  });
3915
3929
  function Arrow(state) {
@@ -4171,7 +4185,7 @@ ${input.slice(result.pos)}
4171
4185
  children: [$1, expressions]
4172
4186
  };
4173
4187
  });
4174
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L17, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4188
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L15, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4175
4189
  const expressions = [];
4176
4190
  return {
4177
4191
  type: "BlockStatement",
@@ -4296,7 +4310,7 @@ ${input.slice(result.pos)}
4296
4310
  return result;
4297
4311
  }
4298
4312
  }
4299
- var NullLiteral$0 = $TS($S($EXPECT($L18, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4313
+ var NullLiteral$0 = $TS($S($EXPECT($L16, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4300
4314
  return { $loc, token: $1 };
4301
4315
  });
4302
4316
  function NullLiteral(state) {
@@ -4320,7 +4334,7 @@ ${input.slice(result.pos)}
4320
4334
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
4321
4335
  return value[1];
4322
4336
  });
4323
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L19, fail, 'BooleanLiteral "true"'), $EXPECT($L20, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4337
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L17, fail, 'BooleanLiteral "true"'), $EXPECT($L18, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4324
4338
  return { $loc, token: $1 };
4325
4339
  });
4326
4340
  function BooleanLiteral(state) {
@@ -4341,10 +4355,10 @@ ${input.slice(result.pos)}
4341
4355
  return result;
4342
4356
  }
4343
4357
  }
4344
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4358
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L19, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L20, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4345
4359
  return { $loc, token: "true" };
4346
4360
  });
4347
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4361
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4348
4362
  return { $loc, token: "false" };
4349
4363
  });
4350
4364
  function CoffeeScriptBooleanLiteral(state) {
@@ -4365,7 +4379,7 @@ ${input.slice(result.pos)}
4365
4379
  return result;
4366
4380
  }
4367
4381
  }
4368
- var Comma$0 = $TV($EXPECT($L25, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4382
+ var Comma$0 = $TV($EXPECT($L23, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4369
4383
  return { $loc, token: $1 };
4370
4384
  });
4371
4385
  function Comma(state) {
@@ -4455,7 +4469,7 @@ ${input.slice(result.pos)}
4455
4469
  return result;
4456
4470
  }
4457
4471
  }
4458
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L26, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L26, fail, 'UpcomingAssignment "="'), $EXPECT($L27, fail, 'UpcomingAssignment ">"')))));
4472
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L24, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L24, fail, 'UpcomingAssignment "="'), $EXPECT($L25, fail, 'UpcomingAssignment ">"')))));
4459
4473
  function UpcomingAssignment(state) {
4460
4474
  if (state.events) {
4461
4475
  const result = state.events.enter?.("UpcomingAssignment", state);
@@ -4704,7 +4718,7 @@ ${input.slice(result.pos)}
4704
4718
  }
4705
4719
  }
4706
4720
  var ArrayElementDelimiter$0 = $S(__, Comma);
4707
- var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L28, fail, 'ArrayElementDelimiter "]"')));
4721
+ var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L26, fail, 'ArrayElementDelimiter "]"')));
4708
4722
  var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
4709
4723
  return value[1];
4710
4724
  });
@@ -4780,7 +4794,8 @@ ${input.slice(result.pos)}
4780
4794
  return result;
4781
4795
  }
4782
4796
  }
4783
- var ArrayElementExpression$0 = $TS($S($E(ExtendedExpression), __, DotDotDot, $Y(ArrayElementDelimiter)), function($skip, $loc, $0, $1, $2, $3, $4) {
4797
+ var ArrayElementExpression$0 = JSXTag;
4798
+ var ArrayElementExpression$1 = $TS($S($E(ExtendedExpression), __, DotDotDot, $Y(ArrayElementDelimiter)), function($skip, $loc, $0, $1, $2, $3, $4) {
4784
4799
  var exp = $1;
4785
4800
  var ws = $2;
4786
4801
  var dots = $3;
@@ -4798,7 +4813,7 @@ ${input.slice(result.pos)}
4798
4813
  names: exp.names
4799
4814
  };
4800
4815
  });
4801
- var ArrayElementExpression$1 = $TS($S($E($S($E($S(__, DotDotDot, __)), ExtendedExpression)), $Y(ArrayElementDelimiter)), function($skip, $loc, $0, $1, $2) {
4816
+ var ArrayElementExpression$2 = $TS($S($E($S($E($S(__, DotDotDot, __)), ExtendedExpression)), $Y(ArrayElementDelimiter)), function($skip, $loc, $0, $1, $2) {
4802
4817
  var expMaybeSpread = $1;
4803
4818
  if (expMaybeSpread) {
4804
4819
  const [spread, exp] = expMaybeSpread;
@@ -4828,12 +4843,12 @@ ${input.slice(result.pos)}
4828
4843
  return result.cache;
4829
4844
  }
4830
4845
  if (state.tokenize) {
4831
- const result = $TOKEN("ArrayElementExpression", state, ArrayElementExpression$0(state) || ArrayElementExpression$1(state));
4846
+ const result = $TOKEN("ArrayElementExpression", state, ArrayElementExpression$0(state) || ArrayElementExpression$1(state) || ArrayElementExpression$2(state));
4832
4847
  if (state.events)
4833
4848
  state.events.exit?.("ArrayElementExpression", state, result);
4834
4849
  return result;
4835
4850
  } else {
4836
- const result = ArrayElementExpression$0(state) || ArrayElementExpression$1(state);
4851
+ const result = ArrayElementExpression$0(state) || ArrayElementExpression$1(state) || ArrayElementExpression$2(state);
4837
4852
  if (state.events)
4838
4853
  state.events.exit?.("ArrayElementExpression", state, result);
4839
4854
  return result;
@@ -5073,7 +5088,7 @@ ${input.slice(result.pos)}
5073
5088
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
5074
5089
  return value[1];
5075
5090
  });
5076
- var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L29, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L15, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L28, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L17, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
5091
+ var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L27, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L13, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L26, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L15, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
5077
5092
  return "";
5078
5093
  });
5079
5094
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -5098,7 +5113,7 @@ ${input.slice(result.pos)}
5098
5113
  }
5099
5114
  }
5100
5115
  var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
5101
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L17, fail, 'ObjectPropertyDelimiter "}"')));
5116
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ObjectPropertyDelimiter "}"')));
5102
5117
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
5103
5118
  return value[1];
5104
5119
  });
@@ -5159,7 +5174,7 @@ ${input.slice(result.pos)}
5159
5174
  value
5160
5175
  };
5161
5176
  });
5162
- var PropertyDefinition$1 = $TS($S(__, $TEXT($EXPECT($R4, fail, "PropertyDefinition /[+-]/")), IdentifierName), function($skip, $loc, $0, $1, $2, $3) {
5177
+ var PropertyDefinition$1 = $TS($S(__, $TEXT($EXPECT($R4, fail, "PropertyDefinition /[!+-]/")), IdentifierName), function($skip, $loc, $0, $1, $2, $3) {
5163
5178
  var ws = $1;
5164
5179
  var toggle = $2;
5165
5180
  var id = $3;
@@ -5489,7 +5504,7 @@ ${input.slice(result.pos)}
5489
5504
  return result;
5490
5505
  }
5491
5506
  }
5492
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L8, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5507
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L6, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5493
5508
  return {
5494
5509
  type: "Identifier",
5495
5510
  name: $0,
@@ -5545,25 +5560,25 @@ ${input.slice(result.pos)}
5545
5560
  return result;
5546
5561
  }
5547
5562
  }
5548
- var AssignmentOpSymbol$0 = $EXPECT($L30, fail, 'AssignmentOpSymbol "**="');
5549
- var AssignmentOpSymbol$1 = $EXPECT($L31, fail, 'AssignmentOpSymbol "*="');
5550
- var AssignmentOpSymbol$2 = $EXPECT($L32, fail, 'AssignmentOpSymbol "/="');
5551
- var AssignmentOpSymbol$3 = $EXPECT($L33, fail, 'AssignmentOpSymbol "%="');
5552
- var AssignmentOpSymbol$4 = $EXPECT($L34, fail, 'AssignmentOpSymbol "+="');
5553
- var AssignmentOpSymbol$5 = $EXPECT($L35, fail, 'AssignmentOpSymbol "-="');
5554
- var AssignmentOpSymbol$6 = $EXPECT($L36, fail, 'AssignmentOpSymbol "<<="');
5555
- var AssignmentOpSymbol$7 = $EXPECT($L37, fail, 'AssignmentOpSymbol ">>>="');
5556
- var AssignmentOpSymbol$8 = $EXPECT($L38, fail, 'AssignmentOpSymbol ">>="');
5557
- var AssignmentOpSymbol$9 = $EXPECT($L39, fail, 'AssignmentOpSymbol "&&="');
5558
- var AssignmentOpSymbol$10 = $EXPECT($L40, fail, 'AssignmentOpSymbol "&="');
5559
- var AssignmentOpSymbol$11 = $EXPECT($L41, fail, 'AssignmentOpSymbol "^="');
5560
- var AssignmentOpSymbol$12 = $EXPECT($L42, fail, 'AssignmentOpSymbol "||="');
5561
- var AssignmentOpSymbol$13 = $EXPECT($L43, fail, 'AssignmentOpSymbol "|="');
5562
- var AssignmentOpSymbol$14 = $EXPECT($L44, fail, 'AssignmentOpSymbol "??="');
5563
- var AssignmentOpSymbol$15 = $T($EXPECT($L45, fail, 'AssignmentOpSymbol "?="'), function(value) {
5563
+ var AssignmentOpSymbol$0 = $EXPECT($L28, fail, 'AssignmentOpSymbol "**="');
5564
+ var AssignmentOpSymbol$1 = $EXPECT($L29, fail, 'AssignmentOpSymbol "*="');
5565
+ var AssignmentOpSymbol$2 = $EXPECT($L30, fail, 'AssignmentOpSymbol "/="');
5566
+ var AssignmentOpSymbol$3 = $EXPECT($L31, fail, 'AssignmentOpSymbol "%="');
5567
+ var AssignmentOpSymbol$4 = $EXPECT($L32, fail, 'AssignmentOpSymbol "+="');
5568
+ var AssignmentOpSymbol$5 = $EXPECT($L33, fail, 'AssignmentOpSymbol "-="');
5569
+ var AssignmentOpSymbol$6 = $EXPECT($L34, fail, 'AssignmentOpSymbol "<<="');
5570
+ var AssignmentOpSymbol$7 = $EXPECT($L35, fail, 'AssignmentOpSymbol ">>>="');
5571
+ var AssignmentOpSymbol$8 = $EXPECT($L36, fail, 'AssignmentOpSymbol ">>="');
5572
+ var AssignmentOpSymbol$9 = $EXPECT($L37, fail, 'AssignmentOpSymbol "&&="');
5573
+ var AssignmentOpSymbol$10 = $EXPECT($L38, fail, 'AssignmentOpSymbol "&="');
5574
+ var AssignmentOpSymbol$11 = $EXPECT($L39, fail, 'AssignmentOpSymbol "^="');
5575
+ var AssignmentOpSymbol$12 = $EXPECT($L40, fail, 'AssignmentOpSymbol "||="');
5576
+ var AssignmentOpSymbol$13 = $EXPECT($L41, fail, 'AssignmentOpSymbol "|="');
5577
+ var AssignmentOpSymbol$14 = $EXPECT($L42, fail, 'AssignmentOpSymbol "??="');
5578
+ var AssignmentOpSymbol$15 = $T($EXPECT($L43, fail, 'AssignmentOpSymbol "?="'), function(value) {
5564
5579
  return "??=";
5565
5580
  });
5566
- var AssignmentOpSymbol$16 = $T($S($EXPECT($L26, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L26, fail, 'AssignmentOpSymbol "="'))), function(value) {
5581
+ var AssignmentOpSymbol$16 = $T($S($EXPECT($L24, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L24, fail, 'AssignmentOpSymbol "="'))), function(value) {
5567
5582
  return value[0];
5568
5583
  });
5569
5584
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
@@ -5587,10 +5602,10 @@ ${input.slice(result.pos)}
5587
5602
  return result;
5588
5603
  }
5589
5604
  }
5590
- var CoffeeWordAssignmentOp$0 = $T($EXPECT($L46, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5605
+ var CoffeeWordAssignmentOp$0 = $T($EXPECT($L44, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5591
5606
  return "&&=";
5592
5607
  });
5593
- var CoffeeWordAssignmentOp$1 = $T($EXPECT($L47, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5608
+ var CoffeeWordAssignmentOp$1 = $T($EXPECT($L45, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5594
5609
  return "||=";
5595
5610
  });
5596
5611
  function CoffeeWordAssignmentOp(state) {
@@ -5634,77 +5649,77 @@ ${input.slice(result.pos)}
5634
5649
  return result;
5635
5650
  }
5636
5651
  }
5637
- var BinaryOpSymbol$0 = $EXPECT($L48, fail, 'BinaryOpSymbol "**"');
5638
- var BinaryOpSymbol$1 = $EXPECT($L49, fail, 'BinaryOpSymbol "*"');
5639
- var BinaryOpSymbol$2 = $EXPECT($L50, fail, 'BinaryOpSymbol "/"');
5640
- var BinaryOpSymbol$3 = $TV($EXPECT($L51, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
5652
+ var BinaryOpSymbol$0 = $EXPECT($L46, fail, 'BinaryOpSymbol "**"');
5653
+ var BinaryOpSymbol$1 = $EXPECT($L47, fail, 'BinaryOpSymbol "*"');
5654
+ var BinaryOpSymbol$2 = $EXPECT($L48, fail, 'BinaryOpSymbol "/"');
5655
+ var BinaryOpSymbol$3 = $TV($EXPECT($L49, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
5641
5656
  return {
5642
5657
  call: module.getRef("modulo"),
5643
5658
  special: true
5644
5659
  };
5645
5660
  });
5646
- var BinaryOpSymbol$4 = $EXPECT($L52, fail, 'BinaryOpSymbol "%"');
5647
- var BinaryOpSymbol$5 = $EXPECT($L53, fail, 'BinaryOpSymbol "+"');
5648
- var BinaryOpSymbol$6 = $EXPECT($L54, fail, 'BinaryOpSymbol "-"');
5649
- var BinaryOpSymbol$7 = $EXPECT($L55, fail, 'BinaryOpSymbol "<="');
5650
- var BinaryOpSymbol$8 = $EXPECT($L56, fail, 'BinaryOpSymbol ">="');
5651
- var BinaryOpSymbol$9 = $EXPECT($L57, fail, 'BinaryOpSymbol "<<"');
5661
+ var BinaryOpSymbol$4 = $EXPECT($L50, fail, 'BinaryOpSymbol "%"');
5662
+ var BinaryOpSymbol$5 = $EXPECT($L51, fail, 'BinaryOpSymbol "+"');
5663
+ var BinaryOpSymbol$6 = $EXPECT($L52, fail, 'BinaryOpSymbol "-"');
5664
+ var BinaryOpSymbol$7 = $EXPECT($L53, fail, 'BinaryOpSymbol "<="');
5665
+ var BinaryOpSymbol$8 = $EXPECT($L54, fail, 'BinaryOpSymbol ">="');
5666
+ var BinaryOpSymbol$9 = $EXPECT($L55, fail, 'BinaryOpSymbol "<<"');
5652
5667
  var BinaryOpSymbol$10 = $TR($EXPECT($R5, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
5653
5668
  return "<";
5654
5669
  });
5655
- var BinaryOpSymbol$11 = $EXPECT($L58, fail, 'BinaryOpSymbol ">>>"');
5656
- var BinaryOpSymbol$12 = $EXPECT($L59, fail, 'BinaryOpSymbol ">>"');
5657
- var BinaryOpSymbol$13 = $EXPECT($L27, fail, 'BinaryOpSymbol ">"');
5658
- var BinaryOpSymbol$14 = $EXPECT($L60, fail, 'BinaryOpSymbol "!=="');
5659
- var BinaryOpSymbol$15 = $TV($EXPECT($L61, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
5670
+ var BinaryOpSymbol$11 = $EXPECT($L56, fail, 'BinaryOpSymbol ">>>"');
5671
+ var BinaryOpSymbol$12 = $EXPECT($L57, fail, 'BinaryOpSymbol ">>"');
5672
+ var BinaryOpSymbol$13 = $EXPECT($L25, fail, 'BinaryOpSymbol ">"');
5673
+ var BinaryOpSymbol$14 = $EXPECT($L58, fail, 'BinaryOpSymbol "!=="');
5674
+ var BinaryOpSymbol$15 = $TV($EXPECT($L59, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
5660
5675
  if (module.config.coffeeEq)
5661
5676
  return "!==";
5662
5677
  return $1;
5663
5678
  });
5664
- var BinaryOpSymbol$16 = $TS($S($EXPECT($L62, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5679
+ var BinaryOpSymbol$16 = $TS($S($EXPECT($L60, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5665
5680
  if (module.config.coffeeIsnt)
5666
5681
  return "!==";
5667
5682
  return $skip;
5668
5683
  });
5669
- var BinaryOpSymbol$17 = $EXPECT($L63, fail, 'BinaryOpSymbol "==="');
5670
- var BinaryOpSymbol$18 = $TV($EXPECT($L64, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5684
+ var BinaryOpSymbol$17 = $EXPECT($L61, fail, 'BinaryOpSymbol "==="');
5685
+ var BinaryOpSymbol$18 = $TV($EXPECT($L62, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5671
5686
  if (module.config.coffeeEq)
5672
5687
  return "===";
5673
5688
  return $1;
5674
5689
  });
5675
- var BinaryOpSymbol$19 = $T($S($EXPECT($L65, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5690
+ var BinaryOpSymbol$19 = $T($S($EXPECT($L63, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5676
5691
  return "&&";
5677
5692
  });
5678
- var BinaryOpSymbol$20 = $EXPECT($L66, fail, 'BinaryOpSymbol "&&"');
5679
- var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L67, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5693
+ var BinaryOpSymbol$20 = $EXPECT($L64, fail, 'BinaryOpSymbol "&&"');
5694
+ var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L65, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5680
5695
  return "in";
5681
5696
  });
5682
- var BinaryOpSymbol$22 = $T($S($EXPECT($L68, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5697
+ var BinaryOpSymbol$22 = $T($S($EXPECT($L66, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5683
5698
  return "||";
5684
5699
  });
5685
- var BinaryOpSymbol$23 = $EXPECT($L69, fail, 'BinaryOpSymbol "||"');
5686
- var BinaryOpSymbol$24 = $EXPECT($L70, fail, 'BinaryOpSymbol "??"');
5687
- var BinaryOpSymbol$25 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "?"')), function(value) {
5700
+ var BinaryOpSymbol$23 = $EXPECT($L67, fail, 'BinaryOpSymbol "||"');
5701
+ var BinaryOpSymbol$24 = $EXPECT($L68, fail, 'BinaryOpSymbol "??"');
5702
+ var BinaryOpSymbol$25 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L69, fail, 'BinaryOpSymbol "?"')), function(value) {
5688
5703
  return "??";
5689
5704
  });
5690
- var BinaryOpSymbol$26 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5705
+ var BinaryOpSymbol$26 = $TS($S($EXPECT($L70, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5691
5706
  return $1;
5692
5707
  });
5693
- var BinaryOpSymbol$27 = $TS($S(CoffeeNotEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5708
+ var BinaryOpSymbol$27 = $TS($S(CoffeeNotEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L70, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5694
5709
  return {
5695
5710
  $loc,
5696
5711
  token: "instanceof",
5697
5712
  special: true
5698
5713
  };
5699
5714
  });
5700
- var BinaryOpSymbol$28 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L67, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5715
+ var BinaryOpSymbol$28 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L65, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5701
5716
  return {
5702
5717
  $loc,
5703
5718
  token: "in",
5704
5719
  special: true
5705
5720
  };
5706
5721
  });
5707
- var BinaryOpSymbol$29 = $TV($C($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5722
+ var BinaryOpSymbol$29 = $TV($C($S($EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5708
5723
  return {
5709
5724
  call: [module.getRef("indexOf"), ".call"],
5710
5725
  relational: true,
@@ -5713,7 +5728,7 @@ ${input.slice(result.pos)}
5713
5728
  special: true
5714
5729
  };
5715
5730
  });
5716
- var BinaryOpSymbol$30 = $TV($C($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5731
+ var BinaryOpSymbol$30 = $TV($C($S($EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5717
5732
  return {
5718
5733
  call: [module.getRef("indexOf"), ".call"],
5719
5734
  relational: true,
@@ -5722,18 +5737,18 @@ ${input.slice(result.pos)}
5722
5737
  special: true
5723
5738
  };
5724
5739
  });
5725
- var BinaryOpSymbol$31 = $T($S($N(CoffeeNotEnabled), $EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function(value) {
5740
+ var BinaryOpSymbol$31 = $T($S($N(CoffeeNotEnabled), $EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function(value) {
5726
5741
  return "!==";
5727
5742
  });
5728
- var BinaryOpSymbol$32 = $T($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5743
+ var BinaryOpSymbol$32 = $T($S($EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5729
5744
  return "===";
5730
5745
  });
5731
- var BinaryOpSymbol$33 = $TS($S($EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5746
+ var BinaryOpSymbol$33 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5732
5747
  return $1;
5733
5748
  });
5734
- var BinaryOpSymbol$34 = $EXPECT($L76, fail, 'BinaryOpSymbol "&"');
5735
- var BinaryOpSymbol$35 = $EXPECT($L77, fail, 'BinaryOpSymbol "^"');
5736
- var BinaryOpSymbol$36 = $EXPECT($L78, fail, 'BinaryOpSymbol "|"');
5749
+ var BinaryOpSymbol$34 = $EXPECT($L74, fail, 'BinaryOpSymbol "&"');
5750
+ var BinaryOpSymbol$35 = $EXPECT($L75, fail, 'BinaryOpSymbol "^"');
5751
+ var BinaryOpSymbol$36 = $EXPECT($L76, fail, 'BinaryOpSymbol "|"');
5737
5752
  function BinaryOpSymbol(state) {
5738
5753
  if (state.events) {
5739
5754
  const result = state.events.enter?.("BinaryOpSymbol", state);
@@ -5872,7 +5887,7 @@ ${input.slice(result.pos)}
5872
5887
  return result;
5873
5888
  }
5874
5889
  }
5875
- var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L79, fail, 'EmptyStatement ";"'))), function(value) {
5890
+ var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L77, fail, 'EmptyStatement ";"'))), function(value) {
5876
5891
  return { "type": "EmptyStatement", "children": value[0] };
5877
5892
  });
5878
5893
  function EmptyStatement(state) {
@@ -5893,7 +5908,7 @@ ${input.slice(result.pos)}
5893
5908
  return result;
5894
5909
  }
5895
5910
  }
5896
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L26, fail, 'BlockStatement "="')))), function(value) {
5911
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L24, fail, 'BlockStatement "="')))), function(value) {
5897
5912
  return value[0];
5898
5913
  });
5899
5914
  function BlockStatement(state) {
@@ -6718,7 +6733,7 @@ ${input.slice(result.pos)}
6718
6733
  return result;
6719
6734
  }
6720
6735
  }
6721
- var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L80, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
6736
+ var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L78, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
6722
6737
  var own = $1;
6723
6738
  var binding = $2;
6724
6739
  if (own) {
@@ -7262,7 +7277,7 @@ ${input.slice(result.pos)}
7262
7277
  return result;
7263
7278
  }
7264
7279
  }
7265
- var Finally$0 = $S(__, $EXPECT($L81, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
7280
+ var Finally$0 = $S(__, $EXPECT($L79, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
7266
7281
  function Finally(state) {
7267
7282
  if (state.events) {
7268
7283
  const result = state.events.enter?.("Finally", state);
@@ -7398,13 +7413,13 @@ ${input.slice(result.pos)}
7398
7413
  return result;
7399
7414
  }
7400
7415
  }
7401
- var KeywordStatement$0 = $T($S($EXPECT($L82, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7416
+ var KeywordStatement$0 = $T($S($EXPECT($L80, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7402
7417
  return { "type": "BreakStatement", "children": value };
7403
7418
  });
7404
- var KeywordStatement$1 = $T($S($EXPECT($L83, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7419
+ var KeywordStatement$1 = $T($S($EXPECT($L81, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7405
7420
  return { "type": "ContinueStatement", "children": value };
7406
7421
  });
7407
- var KeywordStatement$2 = $T($S($EXPECT($L84, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7422
+ var KeywordStatement$2 = $T($S($EXPECT($L82, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7408
7423
  return { "type": "DebuggerStatement", "children": value };
7409
7424
  });
7410
7425
  var KeywordStatement$3 = $T($S(Return, $E(MaybeNestedExpression)), function(value) {
@@ -7431,7 +7446,7 @@ ${input.slice(result.pos)}
7431
7446
  return result;
7432
7447
  }
7433
7448
  }
7434
- var DebuggerExpression$0 = $TS($S($EXPECT($L84, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7449
+ var DebuggerExpression$0 = $TS($S($EXPECT($L82, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7435
7450
  return {
7436
7451
  type: "DebuggerExpression",
7437
7452
  children: ["(()=>{", $1, "})()"]
@@ -7504,7 +7519,7 @@ ${input.slice(result.pos)}
7504
7519
  return result;
7505
7520
  }
7506
7521
  }
7507
- var ImportDeclaration$0 = $T($S($EXPECT($L85, fail, 'ImportDeclaration "import type"'), NonIdContinue, __, ImportClause, __, FromClause), function(value) {
7522
+ var ImportDeclaration$0 = $T($S(Import, __, TypeKeyword, __, ImportClause, __, FromClause), function(value) {
7508
7523
  return { "ts": true, "children": value };
7509
7524
  });
7510
7525
  var ImportDeclaration$1 = $S(Import, __, ImportClause, __, FromClause);
@@ -7621,11 +7636,9 @@ ${input.slice(result.pos)}
7621
7636
  return result;
7622
7637
  }
7623
7638
  }
7624
- var NamedImports$0 = $TS($S(OpenBrace, $Q(ImportSpecifier), $E($S(__, Comma)), __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7639
+ var NamedImports$0 = $TS($S(OpenBrace, $Q(TypeAndImportSpecifier), $E($S(__, Comma)), __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7625
7640
  var specifiers = $2;
7626
- const names = specifiers.flatMap(({ binding }) => {
7627
- return binding.names;
7628
- });
7641
+ const names = specifiers.flatMap(({ binding }) => binding.names);
7629
7642
  return {
7630
7643
  type: "Declaration",
7631
7644
  children: $0,
@@ -7669,6 +7682,29 @@ ${input.slice(result.pos)}
7669
7682
  return result;
7670
7683
  }
7671
7684
  }
7685
+ var TypeAndImportSpecifier$0 = $TS($S($E($S(__, TypeKeyword)), ImportSpecifier), function($skip, $loc, $0, $1, $2) {
7686
+ if (!$1)
7687
+ return $2;
7688
+ return { ts: true, children: $0, binding: $2.binding };
7689
+ });
7690
+ function TypeAndImportSpecifier(state) {
7691
+ if (state.events) {
7692
+ const result = state.events.enter?.("TypeAndImportSpecifier", state);
7693
+ if (result)
7694
+ return result.cache;
7695
+ }
7696
+ if (state.tokenize) {
7697
+ const result = $TOKEN("TypeAndImportSpecifier", state, TypeAndImportSpecifier$0(state));
7698
+ if (state.events)
7699
+ state.events.exit?.("TypeAndImportSpecifier", state, result);
7700
+ return result;
7701
+ } else {
7702
+ const result = TypeAndImportSpecifier$0(state);
7703
+ if (state.events)
7704
+ state.events.exit?.("TypeAndImportSpecifier", state, result);
7705
+ return result;
7706
+ }
7707
+ }
7672
7708
  var ImportSpecifier$0 = $TS($S(__, ModuleExportName, __, As, __, ImportedBinding, ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
7673
7709
  var binding = $6;
7674
7710
  return {
@@ -7804,9 +7840,17 @@ ${input.slice(result.pos)}
7804
7840
  return result;
7805
7841
  }
7806
7842
  }
7807
- var ExportDeclaration$0 = $S(Export, __, $EXPECT($L86, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7808
- var ExportDeclaration$1 = $S(Export, __, ExportFromClause, __, FromClause);
7809
- var ExportDeclaration$2 = $S(Export, __, $C(Declaration, NamedExports, VariableStatement, ExportVarDec));
7843
+ var ExportDeclaration$0 = $S(Export, __, $EXPECT($L83, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7844
+ var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7845
+ if (!$3.ts)
7846
+ return $0;
7847
+ return { ts: true, children: $0 };
7848
+ });
7849
+ var ExportDeclaration$2 = $TS($S(Export, __, $C(Declaration, TypeAndNamedExports, VariableStatement, ExportVarDec)), function($skip, $loc, $0, $1, $2, $3) {
7850
+ if (!$3.ts)
7851
+ return $0;
7852
+ return { ts: true, children: $0 };
7853
+ });
7810
7854
  function ExportDeclaration(state) {
7811
7855
  if (state.events) {
7812
7856
  const result = state.events.enter?.("ExportDeclaration", state);
@@ -7845,7 +7889,7 @@ ${input.slice(result.pos)}
7845
7889
  }
7846
7890
  }
7847
7891
  var ExportFromClause$0 = $S(Star, $E($S(__, As, __, ModuleExportName)));
7848
- var ExportFromClause$1 = NamedExports;
7892
+ var ExportFromClause$1 = TypeAndNamedExports;
7849
7893
  function ExportFromClause(state) {
7850
7894
  if (state.events) {
7851
7895
  const result = state.events.enter?.("ExportFromClause", state);
@@ -7864,6 +7908,29 @@ ${input.slice(result.pos)}
7864
7908
  return result;
7865
7909
  }
7866
7910
  }
7911
+ var TypeAndNamedExports$0 = $TS($S($E($S(TypeKeyword, __)), NamedExports), function($skip, $loc, $0, $1, $2) {
7912
+ if (!$1)
7913
+ return $2;
7914
+ return { ts: true, children: $0 };
7915
+ });
7916
+ function TypeAndNamedExports(state) {
7917
+ if (state.events) {
7918
+ const result = state.events.enter?.("TypeAndNamedExports", state);
7919
+ if (result)
7920
+ return result.cache;
7921
+ }
7922
+ if (state.tokenize) {
7923
+ const result = $TOKEN("TypeAndNamedExports", state, TypeAndNamedExports$0(state));
7924
+ if (state.events)
7925
+ state.events.exit?.("TypeAndNamedExports", state, result);
7926
+ return result;
7927
+ } else {
7928
+ const result = TypeAndNamedExports$0(state);
7929
+ if (state.events)
7930
+ state.events.exit?.("TypeAndNamedExports", state, result);
7931
+ return result;
7932
+ }
7933
+ }
7867
7934
  var NamedExports$0 = $S(OpenBrace, $Q(ExportSpecifier), $E($S(__, Comma)), __, CloseBrace);
7868
7935
  var NamedExports$1 = $TS($S(InsertInlineOpenBrace, ImplicitExportSpecifier, $Q($S(_, ImplicitExportSpecifier)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
7869
7936
  var open = $1;
@@ -7888,7 +7955,11 @@ ${input.slice(result.pos)}
7888
7955
  return result;
7889
7956
  }
7890
7957
  }
7891
- var ExportSpecifier$0 = $S(__, ModuleExportName, $E($S(__, As, __, ModuleExportName)), ObjectPropertyDelimiter);
7958
+ var ExportSpecifier$0 = $TS($S(__, $E($S(TypeKeyword, __)), ModuleExportName, $E($S(__, As, __, ModuleExportName)), ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7959
+ if (!$2)
7960
+ return $0;
7961
+ return { ts: true, children: $0 };
7962
+ });
7892
7963
  function ExportSpecifier(state) {
7893
7964
  if (state.events) {
7894
7965
  const result = state.events.enter?.("ExportSpecifier", state);
@@ -7907,7 +7978,7 @@ ${input.slice(result.pos)}
7907
7978
  return result;
7908
7979
  }
7909
7980
  }
7910
- var ImplicitExportSpecifier$0 = $S($N($EXPECT($L86, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
7981
+ var ImplicitExportSpecifier$0 = $S($N($EXPECT($L83, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
7911
7982
  function ImplicitExportSpecifier(state) {
7912
7983
  if (state.events) {
7913
7984
  const result = state.events.enter?.("ImplicitExportSpecifier", state);
@@ -8062,7 +8133,7 @@ ${input.slice(result.pos)}
8062
8133
  return result;
8063
8134
  }
8064
8135
  }
8065
- var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
8136
+ var ConstAssignment$0 = $TV($EXPECT($L84, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
8066
8137
  return { $loc, token: "=" };
8067
8138
  });
8068
8139
  function ConstAssignment(state) {
@@ -8083,10 +8154,10 @@ ${input.slice(result.pos)}
8083
8154
  return result;
8084
8155
  }
8085
8156
  }
8086
- var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
8157
+ var LetAssignment$0 = $TV($EXPECT($L85, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
8087
8158
  return { $loc, token: "=" };
8088
8159
  });
8089
- var LetAssignment$1 = $TV($EXPECT($L89, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
8160
+ var LetAssignment$1 = $TV($EXPECT($L86, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
8090
8161
  return { $loc, token: "=" };
8091
8162
  });
8092
8163
  function LetAssignment(state) {
@@ -8644,7 +8715,7 @@ ${input.slice(result.pos)}
8644
8715
  }
8645
8716
  }
8646
8717
  var RegularExpressionLiteral$0 = HeregexLiteral;
8647
- var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
8718
+ var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L48, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L48, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
8648
8719
  return { $loc, token: $1 };
8649
8720
  });
8650
8721
  function RegularExpressionLiteral(state) {
@@ -8991,7 +9062,7 @@ ${input.slice(result.pos)}
8991
9062
  var ReservedWord$2 = $S(CoffeeForLoopsEnabled, $R$0($EXPECT($R34, fail, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")));
8992
9063
  var ReservedWord$3 = $S(CoffeeOfEnabled, $R$0($EXPECT($R35, fail, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")));
8993
9064
  var ReservedWord$4 = $S(CoffeeNotEnabled, $R$0($EXPECT($R36, fail, "ReservedWord /(?:not)(?!\\p{ID_Continue})/")));
8994
- var ReservedWord$5 = $S($EXPECT($L73, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'ReservedWord "in"'), NonIdContinue);
9065
+ var ReservedWord$5 = $S($EXPECT($L71, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'ReservedWord "in"'), NonIdContinue);
8995
9066
  var ReservedWord$6 = $R$0($EXPECT($R37, fail, "ReservedWord /(?:and|as|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|import|in|instanceof|interface|is|let|loop|new|null|or|private|protected|public|return|satisfies|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})/"));
8996
9067
  function ReservedWord(state) {
8997
9068
  if (state.events) {
@@ -9092,7 +9163,7 @@ ${input.slice(result.pos)}
9092
9163
  return result;
9093
9164
  }
9094
9165
  }
9095
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L90, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L91, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L91, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
9166
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L87, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L88, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L88, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
9096
9167
  return { $loc, token: $1 };
9097
9168
  });
9098
9169
  function JSMultiLineComment(state) {
@@ -9134,7 +9205,7 @@ ${input.slice(result.pos)}
9134
9205
  return result;
9135
9206
  }
9136
9207
  }
9137
- var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L91, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
9208
+ var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L88, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
9138
9209
  return { $loc, token: `/*${$2}*/` };
9139
9210
  });
9140
9211
  function CoffeeMultiLineComment(state) {
@@ -9174,7 +9245,7 @@ ${input.slice(result.pos)}
9174
9245
  return result;
9175
9246
  }
9176
9247
  }
9177
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L90, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L91, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L91, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
9248
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L87, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L88, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L88, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
9178
9249
  return { $loc, token: $1 };
9179
9250
  });
9180
9251
  function InlineComment(state) {
@@ -9257,7 +9328,7 @@ ${input.slice(result.pos)}
9257
9328
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9258
9329
  return { $loc, token: $0 };
9259
9330
  });
9260
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L92, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9331
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L89, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9261
9332
  return "";
9262
9333
  });
9263
9334
  function NonNewlineWhitespace(state) {
@@ -9426,7 +9497,7 @@ ${input.slice(result.pos)}
9426
9497
  return result;
9427
9498
  }
9428
9499
  }
9429
- var Abstract$0 = $TV($TEXT($S($EXPECT($L93, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
9500
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L90, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
9430
9501
  return { $loc, token: $1, ts: true };
9431
9502
  });
9432
9503
  function Abstract(state) {
@@ -9447,7 +9518,7 @@ ${input.slice(result.pos)}
9447
9518
  return result;
9448
9519
  }
9449
9520
  }
9450
- var Ampersand$0 = $TV($EXPECT($L76, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9521
+ var Ampersand$0 = $TV($EXPECT($L74, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9451
9522
  return { $loc, token: $1 };
9452
9523
  });
9453
9524
  function Ampersand(state) {
@@ -9468,7 +9539,7 @@ ${input.slice(result.pos)}
9468
9539
  return result;
9469
9540
  }
9470
9541
  }
9471
- var As$0 = $TS($S($EXPECT($L94, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9542
+ var As$0 = $TS($S($EXPECT($L91, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9472
9543
  return { $loc, token: $1 };
9473
9544
  });
9474
9545
  function As(state) {
@@ -9489,7 +9560,7 @@ ${input.slice(result.pos)}
9489
9560
  return result;
9490
9561
  }
9491
9562
  }
9492
- var At$0 = $TV($EXPECT($L95, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9563
+ var At$0 = $TV($EXPECT($L92, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9493
9564
  return { $loc, token: $1 };
9494
9565
  });
9495
9566
  function At(state) {
@@ -9510,7 +9581,7 @@ ${input.slice(result.pos)}
9510
9581
  return result;
9511
9582
  }
9512
9583
  }
9513
- var AtAt$0 = $TV($EXPECT($L96, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9584
+ var AtAt$0 = $TV($EXPECT($L93, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9514
9585
  return { $loc, token: "@" };
9515
9586
  });
9516
9587
  function AtAt(state) {
@@ -9531,7 +9602,7 @@ ${input.slice(result.pos)}
9531
9602
  return result;
9532
9603
  }
9533
9604
  }
9534
- var Async$0 = $TS($S($EXPECT($L97, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9605
+ var Async$0 = $TS($S($EXPECT($L94, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9535
9606
  return { $loc, token: $1, type: "Async" };
9536
9607
  });
9537
9608
  function Async(state) {
@@ -9552,7 +9623,7 @@ ${input.slice(result.pos)}
9552
9623
  return result;
9553
9624
  }
9554
9625
  }
9555
- var Await$0 = $TS($S($EXPECT($L98, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9626
+ var Await$0 = $TS($S($EXPECT($L95, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9556
9627
  return { $loc, token: $1 };
9557
9628
  });
9558
9629
  function Await(state) {
@@ -9573,7 +9644,7 @@ ${input.slice(result.pos)}
9573
9644
  return result;
9574
9645
  }
9575
9646
  }
9576
- var Backtick$0 = $TV($EXPECT($L99, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9647
+ var Backtick$0 = $TV($EXPECT($L96, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9577
9648
  return { $loc, token: $1 };
9578
9649
  });
9579
9650
  function Backtick(state) {
@@ -9594,7 +9665,7 @@ ${input.slice(result.pos)}
9594
9665
  return result;
9595
9666
  }
9596
9667
  }
9597
- var By$0 = $TS($S($EXPECT($L100, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9668
+ var By$0 = $TS($S($EXPECT($L97, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9598
9669
  return { $loc, token: $1 };
9599
9670
  });
9600
9671
  function By(state) {
@@ -9615,7 +9686,7 @@ ${input.slice(result.pos)}
9615
9686
  return result;
9616
9687
  }
9617
9688
  }
9618
- var Case$0 = $TS($S($EXPECT($L101, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9689
+ var Case$0 = $TS($S($EXPECT($L98, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9619
9690
  return { $loc, token: $1 };
9620
9691
  });
9621
9692
  function Case(state) {
@@ -9636,7 +9707,7 @@ ${input.slice(result.pos)}
9636
9707
  return result;
9637
9708
  }
9638
9709
  }
9639
- var Catch$0 = $TS($S($EXPECT($L102, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9710
+ var Catch$0 = $TS($S($EXPECT($L99, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9640
9711
  return { $loc, token: $1 };
9641
9712
  });
9642
9713
  function Catch(state) {
@@ -9657,7 +9728,7 @@ ${input.slice(result.pos)}
9657
9728
  return result;
9658
9729
  }
9659
9730
  }
9660
- var Class$0 = $TS($S($EXPECT($L103, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9731
+ var Class$0 = $TS($S($EXPECT($L100, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9661
9732
  return { $loc, token: $1 };
9662
9733
  });
9663
9734
  function Class(state) {
@@ -9678,7 +9749,7 @@ ${input.slice(result.pos)}
9678
9749
  return result;
9679
9750
  }
9680
9751
  }
9681
- var CloseBrace$0 = $TV($EXPECT($L17, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9752
+ var CloseBrace$0 = $TV($EXPECT($L15, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9682
9753
  return { $loc, token: $1 };
9683
9754
  });
9684
9755
  function CloseBrace(state) {
@@ -9699,7 +9770,7 @@ ${input.slice(result.pos)}
9699
9770
  return result;
9700
9771
  }
9701
9772
  }
9702
- var CloseBracket$0 = $TV($EXPECT($L28, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9773
+ var CloseBracket$0 = $TV($EXPECT($L26, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9703
9774
  return { $loc, token: $1 };
9704
9775
  });
9705
9776
  function CloseBracket(state) {
@@ -9720,7 +9791,7 @@ ${input.slice(result.pos)}
9720
9791
  return result;
9721
9792
  }
9722
9793
  }
9723
- var CloseParen$0 = $TV($EXPECT($L15, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9794
+ var CloseParen$0 = $TV($EXPECT($L13, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9724
9795
  return { $loc, token: $1 };
9725
9796
  });
9726
9797
  function CloseParen(state) {
@@ -9741,7 +9812,7 @@ ${input.slice(result.pos)}
9741
9812
  return result;
9742
9813
  }
9743
9814
  }
9744
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L104, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9815
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L101, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9745
9816
  return { $loc, token: "${" };
9746
9817
  });
9747
9818
  function CoffeeSubstitutionStart(state) {
@@ -9762,7 +9833,7 @@ ${input.slice(result.pos)}
9762
9833
  return result;
9763
9834
  }
9764
9835
  }
9765
- var Colon$0 = $TV($EXPECT($L29, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9836
+ var Colon$0 = $TV($EXPECT($L27, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9766
9837
  return { $loc, token: $1 };
9767
9838
  });
9768
9839
  function Colon(state) {
@@ -9783,7 +9854,7 @@ ${input.slice(result.pos)}
9783
9854
  return result;
9784
9855
  }
9785
9856
  }
9786
- var ConstructorShorthand$0 = $TV($EXPECT($L95, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9857
+ var ConstructorShorthand$0 = $TV($EXPECT($L92, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9787
9858
  return { $loc, token: "constructor" };
9788
9859
  });
9789
9860
  function ConstructorShorthand(state) {
@@ -9804,7 +9875,7 @@ ${input.slice(result.pos)}
9804
9875
  return result;
9805
9876
  }
9806
9877
  }
9807
- var Default$0 = $TS($S($EXPECT($L86, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9878
+ var Default$0 = $TS($S($EXPECT($L83, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9808
9879
  return { $loc, token: $1 };
9809
9880
  });
9810
9881
  function Default(state) {
@@ -9825,7 +9896,7 @@ ${input.slice(result.pos)}
9825
9896
  return result;
9826
9897
  }
9827
9898
  }
9828
- var Delete$0 = $TS($S($EXPECT($L105, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9899
+ var Delete$0 = $TS($S($EXPECT($L102, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9829
9900
  return { $loc, token: $1 };
9830
9901
  });
9831
9902
  function Delete(state) {
@@ -9846,7 +9917,7 @@ ${input.slice(result.pos)}
9846
9917
  return result;
9847
9918
  }
9848
9919
  }
9849
- var Do$0 = $TS($S($EXPECT($L106, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9920
+ var Do$0 = $TS($S($EXPECT($L103, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9850
9921
  return { $loc, token: $1 };
9851
9922
  });
9852
9923
  function Do(state) {
@@ -9867,7 +9938,7 @@ ${input.slice(result.pos)}
9867
9938
  return result;
9868
9939
  }
9869
9940
  }
9870
- var Dot$0 = $TV($EXPECT($L9, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9941
+ var Dot$0 = $TV($EXPECT($L7, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9871
9942
  return { $loc, token: $1 };
9872
9943
  });
9873
9944
  function Dot(state) {
@@ -9888,7 +9959,7 @@ ${input.slice(result.pos)}
9888
9959
  return result;
9889
9960
  }
9890
9961
  }
9891
- var DotDot$0 = $TV($EXPECT($L107, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9962
+ var DotDot$0 = $TV($EXPECT($L104, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9892
9963
  return { $loc, token: $1 };
9893
9964
  });
9894
9965
  function DotDot(state) {
@@ -9909,7 +9980,7 @@ ${input.slice(result.pos)}
9909
9980
  return result;
9910
9981
  }
9911
9982
  }
9912
- var DotDotDot$0 = $TV($EXPECT($L108, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
9983
+ var DotDotDot$0 = $TV($EXPECT($L105, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
9913
9984
  return { $loc, token: $1 };
9914
9985
  });
9915
9986
  function DotDotDot(state) {
@@ -9930,7 +10001,7 @@ ${input.slice(result.pos)}
9930
10001
  return result;
9931
10002
  }
9932
10003
  }
9933
- var DoubleColon$0 = $TV($EXPECT($L109, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
10004
+ var DoubleColon$0 = $TV($EXPECT($L106, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
9934
10005
  return { $loc, token: $1 };
9935
10006
  });
9936
10007
  function DoubleColon(state) {
@@ -9951,7 +10022,7 @@ ${input.slice(result.pos)}
9951
10022
  return result;
9952
10023
  }
9953
10024
  }
9954
- var DoubleQuote$0 = $TV($EXPECT($L110, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
10025
+ var DoubleQuote$0 = $TV($EXPECT($L107, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
9955
10026
  return { $loc, token: $1 };
9956
10027
  });
9957
10028
  function DoubleQuote(state) {
@@ -9972,7 +10043,7 @@ ${input.slice(result.pos)}
9972
10043
  return result;
9973
10044
  }
9974
10045
  }
9975
- var Else$0 = $TS($S($EXPECT($L111, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10046
+ var Else$0 = $TS($S($EXPECT($L108, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9976
10047
  return { $loc, token: $1 };
9977
10048
  });
9978
10049
  function Else(state) {
@@ -9993,7 +10064,7 @@ ${input.slice(result.pos)}
9993
10064
  return result;
9994
10065
  }
9995
10066
  }
9996
- var Equals$0 = $TV($EXPECT($L26, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
10067
+ var Equals$0 = $TV($EXPECT($L24, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
9997
10068
  return { $loc, token: $1 };
9998
10069
  });
9999
10070
  function Equals(state) {
@@ -10014,7 +10085,7 @@ ${input.slice(result.pos)}
10014
10085
  return result;
10015
10086
  }
10016
10087
  }
10017
- var Export$0 = $TS($S($EXPECT($L112, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10088
+ var Export$0 = $TS($S($EXPECT($L109, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10018
10089
  return { $loc, token: $1 };
10019
10090
  });
10020
10091
  function Export(state) {
@@ -10035,7 +10106,28 @@ ${input.slice(result.pos)}
10035
10106
  return result;
10036
10107
  }
10037
10108
  }
10038
- var For$0 = $TS($S($EXPECT($L113, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10109
+ var Extends$0 = $TS($S($EXPECT($L110, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10110
+ return { $loc, token: $1 };
10111
+ });
10112
+ function Extends(state) {
10113
+ if (state.events) {
10114
+ const result = state.events.enter?.("Extends", state);
10115
+ if (result)
10116
+ return result.cache;
10117
+ }
10118
+ if (state.tokenize) {
10119
+ const result = $TOKEN("Extends", state, Extends$0(state));
10120
+ if (state.events)
10121
+ state.events.exit?.("Extends", state, result);
10122
+ return result;
10123
+ } else {
10124
+ const result = Extends$0(state);
10125
+ if (state.events)
10126
+ state.events.exit?.("Extends", state, result);
10127
+ return result;
10128
+ }
10129
+ }
10130
+ var For$0 = $TS($S($EXPECT($L111, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10039
10131
  return { $loc, token: $1 };
10040
10132
  });
10041
10133
  function For(state) {
@@ -10056,7 +10148,7 @@ ${input.slice(result.pos)}
10056
10148
  return result;
10057
10149
  }
10058
10150
  }
10059
- var From$0 = $TS($S($EXPECT($L114, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10151
+ var From$0 = $TS($S($EXPECT($L112, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10060
10152
  return { $loc, token: $1 };
10061
10153
  });
10062
10154
  function From(state) {
@@ -10077,7 +10169,7 @@ ${input.slice(result.pos)}
10077
10169
  return result;
10078
10170
  }
10079
10171
  }
10080
- var Function$0 = $TS($S($EXPECT($L115, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10172
+ var Function$0 = $TS($S($EXPECT($L113, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10081
10173
  return { $loc, token: $1 };
10082
10174
  });
10083
10175
  function Function(state) {
@@ -10098,7 +10190,7 @@ ${input.slice(result.pos)}
10098
10190
  return result;
10099
10191
  }
10100
10192
  }
10101
- var GetOrSet$0 = $TS($S($C($EXPECT($L116, fail, 'GetOrSet "get"'), $EXPECT($L117, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10193
+ var GetOrSet$0 = $TS($S($C($EXPECT($L114, fail, 'GetOrSet "get"'), $EXPECT($L115, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10102
10194
  return { $loc, token: $1, type: "GetOrSet" };
10103
10195
  });
10104
10196
  function GetOrSet(state) {
@@ -10119,7 +10211,7 @@ ${input.slice(result.pos)}
10119
10211
  return result;
10120
10212
  }
10121
10213
  }
10122
- var If$0 = $TV($TEXT($S($EXPECT($L118, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
10214
+ var If$0 = $TV($TEXT($S($EXPECT($L116, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
10123
10215
  return { $loc, token: $1 };
10124
10216
  });
10125
10217
  function If(state) {
@@ -10140,7 +10232,7 @@ ${input.slice(result.pos)}
10140
10232
  return result;
10141
10233
  }
10142
10234
  }
10143
- var Import$0 = $TS($S($EXPECT($L11, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10235
+ var Import$0 = $TS($S($EXPECT($L9, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10144
10236
  return { $loc, token: $1 };
10145
10237
  });
10146
10238
  function Import(state) {
@@ -10161,7 +10253,7 @@ ${input.slice(result.pos)}
10161
10253
  return result;
10162
10254
  }
10163
10255
  }
10164
- var In$0 = $TS($S($EXPECT($L74, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10256
+ var In$0 = $TS($S($EXPECT($L72, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10165
10257
  return { $loc, token: $1 };
10166
10258
  });
10167
10259
  function In(state) {
@@ -10182,7 +10274,7 @@ ${input.slice(result.pos)}
10182
10274
  return result;
10183
10275
  }
10184
10276
  }
10185
- var LetOrConst$0 = $TS($S($C($EXPECT($L119, fail, 'LetOrConst "let"'), $EXPECT($L120, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10277
+ var LetOrConst$0 = $TS($S($C($EXPECT($L117, fail, 'LetOrConst "let"'), $EXPECT($L118, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10186
10278
  return { $loc, token: $1 };
10187
10279
  });
10188
10280
  function LetOrConst(state) {
@@ -10203,7 +10295,7 @@ ${input.slice(result.pos)}
10203
10295
  return result;
10204
10296
  }
10205
10297
  }
10206
- var Loop$0 = $TS($S($EXPECT($L121, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10298
+ var Loop$0 = $TS($S($EXPECT($L119, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10207
10299
  return { $loc, token: "while(true)" };
10208
10300
  });
10209
10301
  function Loop(state) {
@@ -10224,7 +10316,7 @@ ${input.slice(result.pos)}
10224
10316
  return result;
10225
10317
  }
10226
10318
  }
10227
- var New$0 = $TS($S($EXPECT($L122, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10319
+ var New$0 = $TS($S($EXPECT($L120, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10228
10320
  return { $loc, token: $1 };
10229
10321
  });
10230
10322
  function New(state) {
@@ -10245,7 +10337,7 @@ ${input.slice(result.pos)}
10245
10337
  return result;
10246
10338
  }
10247
10339
  }
10248
- var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L73, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L4, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
10340
+ var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L71, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L4, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
10249
10341
  return { $loc, token: "!" };
10250
10342
  });
10251
10343
  function Not(state) {
@@ -10266,7 +10358,7 @@ ${input.slice(result.pos)}
10266
10358
  return result;
10267
10359
  }
10268
10360
  }
10269
- var Of$0 = $TS($S($EXPECT($L67, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10361
+ var Of$0 = $TS($S($EXPECT($L65, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10270
10362
  return { $loc, token: $1 };
10271
10363
  });
10272
10364
  function Of(state) {
@@ -10287,7 +10379,28 @@ ${input.slice(result.pos)}
10287
10379
  return result;
10288
10380
  }
10289
10381
  }
10290
- var OpenBrace$0 = $TV($EXPECT($L123, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10382
+ var OpenAngleBracket$0 = $TV($EXPECT($L121, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
10383
+ return { $loc, token: $1 };
10384
+ });
10385
+ function OpenAngleBracket(state) {
10386
+ if (state.events) {
10387
+ const result = state.events.enter?.("OpenAngleBracket", state);
10388
+ if (result)
10389
+ return result.cache;
10390
+ }
10391
+ if (state.tokenize) {
10392
+ const result = $TOKEN("OpenAngleBracket", state, OpenAngleBracket$0(state));
10393
+ if (state.events)
10394
+ state.events.exit?.("OpenAngleBracket", state, result);
10395
+ return result;
10396
+ } else {
10397
+ const result = OpenAngleBracket$0(state);
10398
+ if (state.events)
10399
+ state.events.exit?.("OpenAngleBracket", state, result);
10400
+ return result;
10401
+ }
10402
+ }
10403
+ var OpenBrace$0 = $TV($EXPECT($L122, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10291
10404
  return { $loc, token: $1 };
10292
10405
  });
10293
10406
  function OpenBrace(state) {
@@ -10308,7 +10421,7 @@ ${input.slice(result.pos)}
10308
10421
  return result;
10309
10422
  }
10310
10423
  }
10311
- var OpenBracket$0 = $TV($EXPECT($L124, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10424
+ var OpenBracket$0 = $TV($EXPECT($L123, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10312
10425
  return { $loc, token: $1 };
10313
10426
  });
10314
10427
  function OpenBracket(state) {
@@ -10329,7 +10442,7 @@ ${input.slice(result.pos)}
10329
10442
  return result;
10330
10443
  }
10331
10444
  }
10332
- var OpenParen$0 = $TV($EXPECT($L125, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10445
+ var OpenParen$0 = $TV($EXPECT($L124, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10333
10446
  return { $loc, token: $1 };
10334
10447
  });
10335
10448
  function OpenParen(state) {
@@ -10350,7 +10463,7 @@ ${input.slice(result.pos)}
10350
10463
  return result;
10351
10464
  }
10352
10465
  }
10353
- var Public$0 = $TS($S($EXPECT($L126, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10466
+ var Public$0 = $TS($S($EXPECT($L125, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10354
10467
  return { $loc, token: $1 };
10355
10468
  });
10356
10469
  function Public(state) {
@@ -10371,7 +10484,7 @@ ${input.slice(result.pos)}
10371
10484
  return result;
10372
10485
  }
10373
10486
  }
10374
- var Private$0 = $TS($S($EXPECT($L127, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10487
+ var Private$0 = $TS($S($EXPECT($L126, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10375
10488
  return { $loc, token: $1 };
10376
10489
  });
10377
10490
  function Private(state) {
@@ -10392,7 +10505,7 @@ ${input.slice(result.pos)}
10392
10505
  return result;
10393
10506
  }
10394
10507
  }
10395
- var Protected$0 = $TS($S($EXPECT($L128, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10508
+ var Protected$0 = $TS($S($EXPECT($L127, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10396
10509
  return { $loc, token: $1 };
10397
10510
  });
10398
10511
  function Protected(state) {
@@ -10413,7 +10526,7 @@ ${input.slice(result.pos)}
10413
10526
  return result;
10414
10527
  }
10415
10528
  }
10416
- var Pipe$0 = $TV($EXPECT($L129, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
10529
+ var Pipe$0 = $TV($EXPECT($L128, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
10417
10530
  return { $loc, token: $1 };
10418
10531
  });
10419
10532
  function Pipe(state) {
@@ -10434,7 +10547,7 @@ ${input.slice(result.pos)}
10434
10547
  return result;
10435
10548
  }
10436
10549
  }
10437
- var QuestionMark$0 = $TV($EXPECT($L71, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10550
+ var QuestionMark$0 = $TV($EXPECT($L69, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10438
10551
  return { $loc, token: $1 };
10439
10552
  });
10440
10553
  function QuestionMark(state) {
@@ -10455,7 +10568,7 @@ ${input.slice(result.pos)}
10455
10568
  return result;
10456
10569
  }
10457
10570
  }
10458
- var Readonly$0 = $TS($S($EXPECT($L130, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10571
+ var Readonly$0 = $TS($S($EXPECT($L129, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10459
10572
  return { $loc, token: $1, ts: true };
10460
10573
  });
10461
10574
  function Readonly(state) {
@@ -10476,7 +10589,7 @@ ${input.slice(result.pos)}
10476
10589
  return result;
10477
10590
  }
10478
10591
  }
10479
- var Return$0 = $TS($S($EXPECT($L131, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10592
+ var Return$0 = $TS($S($EXPECT($L130, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10480
10593
  return { $loc, token: $1 };
10481
10594
  });
10482
10595
  function Return(state) {
@@ -10497,7 +10610,7 @@ ${input.slice(result.pos)}
10497
10610
  return result;
10498
10611
  }
10499
10612
  }
10500
- var Satisfies$0 = $TS($S($EXPECT($L132, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10613
+ var Satisfies$0 = $TS($S($EXPECT($L131, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10501
10614
  return { $loc, token: $1 };
10502
10615
  });
10503
10616
  function Satisfies(state) {
@@ -10518,7 +10631,7 @@ ${input.slice(result.pos)}
10518
10631
  return result;
10519
10632
  }
10520
10633
  }
10521
- var Semicolon$0 = $TV($EXPECT($L79, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10634
+ var Semicolon$0 = $TV($EXPECT($L77, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10522
10635
  return { $loc, token: $1 };
10523
10636
  });
10524
10637
  function Semicolon(state) {
@@ -10539,7 +10652,7 @@ ${input.slice(result.pos)}
10539
10652
  return result;
10540
10653
  }
10541
10654
  }
10542
- var SingleQuote$0 = $TV($EXPECT($L133, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10655
+ var SingleQuote$0 = $TV($EXPECT($L132, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10543
10656
  return { $loc, token: $1 };
10544
10657
  });
10545
10658
  function SingleQuote(state) {
@@ -10560,7 +10673,7 @@ ${input.slice(result.pos)}
10560
10673
  return result;
10561
10674
  }
10562
10675
  }
10563
- var Star$0 = $TV($EXPECT($L49, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10676
+ var Star$0 = $TV($EXPECT($L47, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10564
10677
  return { $loc, token: $1 };
10565
10678
  });
10566
10679
  function Star(state) {
@@ -10581,10 +10694,10 @@ ${input.slice(result.pos)}
10581
10694
  return result;
10582
10695
  }
10583
10696
  }
10584
- var Static$0 = $TS($S($EXPECT($L134, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10697
+ var Static$0 = $TS($S($EXPECT($L133, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10585
10698
  return { $loc, token: $1 };
10586
10699
  });
10587
- var Static$1 = $TS($S($EXPECT($L95, fail, 'Static "@"'), $N($C($EXPECT($L125, fail, 'Static "("'), $EXPECT($L95, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
10700
+ var Static$1 = $TS($S($EXPECT($L92, fail, 'Static "@"'), $N($C($EXPECT($L124, fail, 'Static "("'), $EXPECT($L92, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
10588
10701
  return { $loc, token: "static " };
10589
10702
  });
10590
10703
  function Static(state) {
@@ -10605,7 +10718,7 @@ ${input.slice(result.pos)}
10605
10718
  return result;
10606
10719
  }
10607
10720
  }
10608
- var SubstitutionStart$0 = $TV($EXPECT($L135, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10721
+ var SubstitutionStart$0 = $TV($EXPECT($L134, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10609
10722
  return { $loc, token: $1 };
10610
10723
  });
10611
10724
  function SubstitutionStart(state) {
@@ -10626,7 +10739,7 @@ ${input.slice(result.pos)}
10626
10739
  return result;
10627
10740
  }
10628
10741
  }
10629
- var Switch$0 = $TS($S($EXPECT($L136, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10742
+ var Switch$0 = $TS($S($EXPECT($L135, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10630
10743
  return { $loc, token: $1 };
10631
10744
  });
10632
10745
  function Switch(state) {
@@ -10647,7 +10760,7 @@ ${input.slice(result.pos)}
10647
10760
  return result;
10648
10761
  }
10649
10762
  }
10650
- var Target$0 = $TS($S($EXPECT($L137, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10763
+ var Target$0 = $TS($S($EXPECT($L136, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10651
10764
  return { $loc, token: $1 };
10652
10765
  });
10653
10766
  function Target(state) {
@@ -10668,7 +10781,7 @@ ${input.slice(result.pos)}
10668
10781
  return result;
10669
10782
  }
10670
10783
  }
10671
- var Then$0 = $TS($S(__, $EXPECT($L138, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10784
+ var Then$0 = $TS($S(__, $EXPECT($L137, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10672
10785
  return { $loc, token: "" };
10673
10786
  });
10674
10787
  function Then(state) {
@@ -10689,7 +10802,7 @@ ${input.slice(result.pos)}
10689
10802
  return result;
10690
10803
  }
10691
10804
  }
10692
- var This$0 = $TS($S($EXPECT($L139, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10805
+ var This$0 = $TS($S($EXPECT($L138, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10693
10806
  return { $loc, token: $1 };
10694
10807
  });
10695
10808
  function This(state) {
@@ -10710,7 +10823,7 @@ ${input.slice(result.pos)}
10710
10823
  return result;
10711
10824
  }
10712
10825
  }
10713
- var Throw$0 = $TS($S($EXPECT($L140, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10826
+ var Throw$0 = $TS($S($EXPECT($L139, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10714
10827
  return { $loc, token: $1 };
10715
10828
  });
10716
10829
  function Throw(state) {
@@ -10731,7 +10844,7 @@ ${input.slice(result.pos)}
10731
10844
  return result;
10732
10845
  }
10733
10846
  }
10734
- var TripleDoubleQuote$0 = $TV($EXPECT($L141, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10847
+ var TripleDoubleQuote$0 = $TV($EXPECT($L140, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10735
10848
  return { $loc, token: "`" };
10736
10849
  });
10737
10850
  function TripleDoubleQuote(state) {
@@ -10752,7 +10865,7 @@ ${input.slice(result.pos)}
10752
10865
  return result;
10753
10866
  }
10754
10867
  }
10755
- var TripleSingleQuote$0 = $TV($EXPECT($L142, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10868
+ var TripleSingleQuote$0 = $TV($EXPECT($L141, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10756
10869
  return { $loc, token: "`" };
10757
10870
  });
10758
10871
  function TripleSingleQuote(state) {
@@ -10773,7 +10886,7 @@ ${input.slice(result.pos)}
10773
10886
  return result;
10774
10887
  }
10775
10888
  }
10776
- var TripleSlash$0 = $TV($EXPECT($L143, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10889
+ var TripleSlash$0 = $TV($EXPECT($L142, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10777
10890
  return { $loc, token: "/" };
10778
10891
  });
10779
10892
  function TripleSlash(state) {
@@ -10794,7 +10907,7 @@ ${input.slice(result.pos)}
10794
10907
  return result;
10795
10908
  }
10796
10909
  }
10797
- var TripleTick$0 = $TV($EXPECT($L144, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10910
+ var TripleTick$0 = $TV($EXPECT($L143, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10798
10911
  return { $loc, token: "`" };
10799
10912
  });
10800
10913
  function TripleTick(state) {
@@ -10815,7 +10928,7 @@ ${input.slice(result.pos)}
10815
10928
  return result;
10816
10929
  }
10817
10930
  }
10818
- var Try$0 = $TS($S($EXPECT($L145, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10931
+ var Try$0 = $TS($S($EXPECT($L144, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10819
10932
  return { $loc, token: $1 };
10820
10933
  });
10821
10934
  function Try(state) {
@@ -10836,7 +10949,7 @@ ${input.slice(result.pos)}
10836
10949
  return result;
10837
10950
  }
10838
10951
  }
10839
- var Typeof$0 = $TS($S($EXPECT($L146, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10952
+ var Typeof$0 = $TS($S($EXPECT($L145, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10840
10953
  return { $loc, token: $1 };
10841
10954
  });
10842
10955
  function Typeof(state) {
@@ -10857,7 +10970,7 @@ ${input.slice(result.pos)}
10857
10970
  return result;
10858
10971
  }
10859
10972
  }
10860
- var Unless$0 = $TS($S($EXPECT($L147, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10973
+ var Unless$0 = $TS($S($EXPECT($L146, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10861
10974
  return { $loc, token: $1 };
10862
10975
  });
10863
10976
  function Unless(state) {
@@ -10878,7 +10991,7 @@ ${input.slice(result.pos)}
10878
10991
  return result;
10879
10992
  }
10880
10993
  }
10881
- var Until$0 = $TS($S($EXPECT($L148, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10994
+ var Until$0 = $TS($S($EXPECT($L147, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10882
10995
  return { $loc, token: $1 };
10883
10996
  });
10884
10997
  function Until(state) {
@@ -10899,7 +11012,7 @@ ${input.slice(result.pos)}
10899
11012
  return result;
10900
11013
  }
10901
11014
  }
10902
- var Var$0 = $TS($S($EXPECT($L149, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11015
+ var Var$0 = $TS($S($EXPECT($L148, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10903
11016
  return { $loc, token: $1 };
10904
11017
  });
10905
11018
  function Var(state) {
@@ -10920,7 +11033,7 @@ ${input.slice(result.pos)}
10920
11033
  return result;
10921
11034
  }
10922
11035
  }
10923
- var Void$0 = $TS($S($EXPECT($L150, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11036
+ var Void$0 = $TS($S($EXPECT($L149, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10924
11037
  return { $loc, token: $1 };
10925
11038
  });
10926
11039
  function Void(state) {
@@ -10941,7 +11054,7 @@ ${input.slice(result.pos)}
10941
11054
  return result;
10942
11055
  }
10943
11056
  }
10944
- var When$0 = $TS($S($EXPECT($L151, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11057
+ var When$0 = $TS($S($EXPECT($L150, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10945
11058
  return { $loc, token: "case" };
10946
11059
  });
10947
11060
  function When(state) {
@@ -10962,7 +11075,7 @@ ${input.slice(result.pos)}
10962
11075
  return result;
10963
11076
  }
10964
11077
  }
10965
- var While$0 = $TS($S($EXPECT($L152, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11078
+ var While$0 = $TS($S($EXPECT($L151, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10966
11079
  return { $loc, token: $1 };
10967
11080
  });
10968
11081
  function While(state) {
@@ -10983,7 +11096,7 @@ ${input.slice(result.pos)}
10983
11096
  return result;
10984
11097
  }
10985
11098
  }
10986
- var Yield$0 = $TS($S($EXPECT($L153, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11099
+ var Yield$0 = $TS($S($EXPECT($L152, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10987
11100
  return { $loc, token: $1 };
10988
11101
  });
10989
11102
  function Yield(state) {
@@ -11004,29 +11117,62 @@ ${input.slice(result.pos)}
11004
11117
  return result;
11005
11118
  }
11006
11119
  }
11007
- var TypedJSXElement$0 = $TS($S(JSXElement), function($skip, $loc, $0, $1) {
11008
- const type = module.typeOfJSXElement($1);
11120
+ var JSXImplicitFragment$0 = $TS($S(JSXTag, $Q($S(Samedent, JSXTag))), function($skip, $loc, $0, $1, $2) {
11121
+ const jsx = $2.length === 0 ? $1 : {
11122
+ type: "JSXFragment",
11123
+ children: [
11124
+ "<>\n",
11125
+ module.currentIndent.token,
11126
+ ...$0,
11127
+ "\n",
11128
+ module.currentIndent.token,
11129
+ "</>"
11130
+ ],
11131
+ jsxChildren: [$1].concat($2.map(([, tag]) => tag))
11132
+ };
11133
+ const type = module.typeOfJSX(jsx);
11009
11134
  return type ? [
11010
11135
  { ts: true, children: ["("] },
11011
- $1,
11136
+ jsx,
11012
11137
  { ts: true, children: [" as any as ", type, ")"] }
11013
- ] : $1;
11138
+ ] : jsx;
11014
11139
  });
11015
- function TypedJSXElement(state) {
11140
+ function JSXImplicitFragment(state) {
11016
11141
  if (state.events) {
11017
- const result = state.events.enter?.("TypedJSXElement", state);
11142
+ const result = state.events.enter?.("JSXImplicitFragment", state);
11018
11143
  if (result)
11019
11144
  return result.cache;
11020
11145
  }
11021
11146
  if (state.tokenize) {
11022
- const result = $TOKEN("TypedJSXElement", state, TypedJSXElement$0(state));
11147
+ const result = $TOKEN("JSXImplicitFragment", state, JSXImplicitFragment$0(state));
11023
11148
  if (state.events)
11024
- state.events.exit?.("TypedJSXElement", state, result);
11149
+ state.events.exit?.("JSXImplicitFragment", state, result);
11025
11150
  return result;
11026
11151
  } else {
11027
- const result = TypedJSXElement$0(state);
11152
+ const result = JSXImplicitFragment$0(state);
11028
11153
  if (state.events)
11029
- state.events.exit?.("TypedJSXElement", state, result);
11154
+ state.events.exit?.("JSXImplicitFragment", state, result);
11155
+ return result;
11156
+ }
11157
+ }
11158
+ var JSXTag$0 = JSXElement;
11159
+ var JSXTag$1 = JSXFragment;
11160
+ var JSXTag$2 = JSXComment;
11161
+ function JSXTag(state) {
11162
+ if (state.events) {
11163
+ const result = state.events.enter?.("JSXTag", state);
11164
+ if (result)
11165
+ return result.cache;
11166
+ }
11167
+ if (state.tokenize) {
11168
+ const result = $TOKEN("JSXTag", state, JSXTag$0(state) || JSXTag$1(state) || JSXTag$2(state));
11169
+ if (state.events)
11170
+ state.events.exit?.("JSXTag", state, result);
11171
+ return result;
11172
+ } else {
11173
+ const result = JSXTag$0(state) || JSXTag$1(state) || JSXTag$2(state);
11174
+ if (state.events)
11175
+ state.events.exit?.("JSXTag", state, result);
11030
11176
  return result;
11031
11177
  }
11032
11178
  }
@@ -11066,7 +11212,7 @@ ${input.slice(result.pos)}
11066
11212
  return result;
11067
11213
  }
11068
11214
  }
11069
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L5, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L154, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
11215
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L121, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L153, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
11070
11216
  return { type: "JSXElement", children: $0 };
11071
11217
  });
11072
11218
  function JSXSelfClosingElement(state) {
@@ -11087,7 +11233,7 @@ ${input.slice(result.pos)}
11087
11233
  return result;
11088
11234
  }
11089
11235
  }
11090
- var JSXOpeningElement$0 = $S($EXPECT($L5, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
11236
+ var JSXOpeningElement$0 = $S($EXPECT($L121, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L25, fail, 'JSXOpeningElement ">"'));
11091
11237
  function JSXOpeningElement(state) {
11092
11238
  if (state.events) {
11093
11239
  const result = state.events.enter?.("JSXOpeningElement", state);
@@ -11106,7 +11252,7 @@ ${input.slice(result.pos)}
11106
11252
  return result;
11107
11253
  }
11108
11254
  }
11109
- var JSXClosingElement$0 = $S($EXPECT($L155, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
11255
+ var JSXClosingElement$0 = $S($EXPECT($L154, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L25, fail, 'JSXClosingElement ">"'));
11110
11256
  function JSXClosingElement(state) {
11111
11257
  if (state.events) {
11112
11258
  const result = state.events.enter?.("JSXClosingElement", state);
@@ -11125,40 +11271,14 @@ ${input.slice(result.pos)}
11125
11271
  return result;
11126
11272
  }
11127
11273
  }
11128
- var TypedJSXFragment$0 = $TS($S(JSXFragment), function($skip, $loc, $0, $1) {
11129
- const type = module.typeOfJSXFragment($1);
11130
- return type ? [
11131
- { ts: true, children: ["("] },
11132
- $1,
11133
- { ts: true, children: [" as any as ", type, ")"] }
11134
- ] : $1;
11135
- });
11136
- function TypedJSXFragment(state) {
11137
- if (state.events) {
11138
- const result = state.events.enter?.("TypedJSXFragment", state);
11139
- if (result)
11140
- return result.cache;
11141
- }
11142
- if (state.tokenize) {
11143
- const result = $TOKEN("TypedJSXFragment", state, TypedJSXFragment$0(state));
11144
- if (state.events)
11145
- state.events.exit?.("TypedJSXFragment", state, result);
11146
- return result;
11147
- } else {
11148
- const result = TypedJSXFragment$0(state);
11149
- if (state.events)
11150
- state.events.exit?.("TypedJSXFragment", state, result);
11151
- return result;
11152
- }
11153
- }
11154
- var JSXFragment$0 = $TS($S($EXPECT($L156, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), $EXPECT($L157, fail, 'JSXFragment "</>"')), function($skip, $loc, $0, $1, $2, $3, $4) {
11274
+ var JSXFragment$0 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), $EXPECT($L156, fail, 'JSXFragment "</>"')), function($skip, $loc, $0, $1, $2, $3, $4) {
11155
11275
  if ($2) {
11156
11276
  return { type: "JSXFragment", children: $0, jsxChildren: $2.jsxChildren };
11157
11277
  } else {
11158
11278
  return { type: "JSXFragment", children: $0, jsxChildren: [] };
11159
11279
  }
11160
11280
  });
11161
- var JSXFragment$1 = $TS($S($EXPECT($L156, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
11281
+ var JSXFragment$1 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
11162
11282
  return { type: "JSXFragment", children: [...$0, "</>"], jsxChildren: $2.jsxChildren };
11163
11283
  });
11164
11284
  function JSXFragment(state) {
@@ -11369,7 +11489,7 @@ ${input.slice(result.pos)}
11369
11489
  }
11370
11490
  });
11371
11491
  var JSXAttribute$2 = $S(InsertInlineOpenBrace, DotDotDot, InlineJSXAttributeValue, InsertCloseBrace);
11372
- var JSXAttribute$3 = $TS($S($EXPECT($L8, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
11492
+ var JSXAttribute$3 = $TS($S($EXPECT($L6, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
11373
11493
  return [" ", "id=", $2];
11374
11494
  });
11375
11495
  var JSXAttribute$4 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
@@ -11378,6 +11498,12 @@ ${input.slice(result.pos)}
11378
11498
  class: $2
11379
11499
  };
11380
11500
  });
11501
+ var JSXAttribute$5 = $TS($S($TEXT($EXPECT($R4, fail, "JSXAttribute /[!+-]/")), JSXAttributeName), function($skip, $loc, $0, $1, $2) {
11502
+ var toggle = $1;
11503
+ var id = $2;
11504
+ const value = toggle === "+" ? "true" : "false";
11505
+ return [" ", id, "={", value, "}"];
11506
+ });
11381
11507
  function JSXAttribute(state) {
11382
11508
  if (state.events) {
11383
11509
  const result = state.events.enter?.("JSXAttribute", state);
@@ -11385,12 +11511,12 @@ ${input.slice(result.pos)}
11385
11511
  return result.cache;
11386
11512
  }
11387
11513
  if (state.tokenize) {
11388
- const result = $TOKEN("JSXAttribute", state, JSXAttribute$0(state) || JSXAttribute$1(state) || JSXAttribute$2(state) || JSXAttribute$3(state) || JSXAttribute$4(state));
11514
+ const result = $TOKEN("JSXAttribute", state, JSXAttribute$0(state) || JSXAttribute$1(state) || JSXAttribute$2(state) || JSXAttribute$3(state) || JSXAttribute$4(state) || JSXAttribute$5(state));
11389
11515
  if (state.events)
11390
11516
  state.events.exit?.("JSXAttribute", state, result);
11391
11517
  return result;
11392
11518
  } else {
11393
- const result = JSXAttribute$0(state) || JSXAttribute$1(state) || JSXAttribute$2(state) || JSXAttribute$3(state) || JSXAttribute$4(state);
11519
+ const result = JSXAttribute$0(state) || JSXAttribute$1(state) || JSXAttribute$2(state) || JSXAttribute$3(state) || JSXAttribute$4(state) || JSXAttribute$5(state);
11394
11520
  if (state.events)
11395
11521
  state.events.exit?.("JSXAttribute", state, result);
11396
11522
  return result;
@@ -11626,8 +11752,8 @@ ${input.slice(result.pos)}
11626
11752
  return result;
11627
11753
  }
11628
11754
  }
11629
- var InlineJSXCallExpression$0 = $S($EXPECT($L10, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11630
- var InlineJSXCallExpression$1 = $S($EXPECT($L11, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11755
+ var InlineJSXCallExpression$0 = $S($EXPECT($L8, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11756
+ var InlineJSXCallExpression$1 = $S($EXPECT($L9, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11631
11757
  var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
11632
11758
  if ($2.length)
11633
11759
  return $0;
@@ -11814,7 +11940,7 @@ ${input.slice(result.pos)}
11814
11940
  }
11815
11941
  return $skip;
11816
11942
  });
11817
- var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L17, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
11943
+ var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L15, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
11818
11944
  return { children: [], jsxChildren: [] };
11819
11945
  });
11820
11946
  function JSXNestedChildren(state) {
@@ -11881,7 +12007,7 @@ ${input.slice(result.pos)}
11881
12007
  return result;
11882
12008
  }
11883
12009
  }
11884
- var JSXComment$0 = $TS($S($EXPECT($L158, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L159, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
12010
+ var JSXComment$0 = $TS($S($EXPECT($L157, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L158, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
11885
12011
  return ["{/*", $2, "*/}"];
11886
12012
  });
11887
12013
  function JSXComment(state) {
@@ -12030,7 +12156,7 @@ ${input.slice(result.pos)}
12030
12156
  return result;
12031
12157
  }
12032
12158
  }
12033
- var TypeDeclarationModifier$0 = $S($EXPECT($L160, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
12159
+ var TypeDeclarationModifier$0 = $S($EXPECT($L159, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
12034
12160
  var TypeDeclarationModifier$1 = Export;
12035
12161
  function TypeDeclarationModifier(state) {
12036
12162
  if (state.events) {
@@ -12072,7 +12198,7 @@ ${input.slice(result.pos)}
12072
12198
  return result;
12073
12199
  }
12074
12200
  }
12075
- var TypeKeyword$0 = $S($EXPECT($L161, fail, 'TypeKeyword "type"'), NonIdContinue);
12201
+ var TypeKeyword$0 = $S($EXPECT($L160, fail, 'TypeKeyword "type"'), NonIdContinue);
12076
12202
  function TypeKeyword(state) {
12077
12203
  if (state.events) {
12078
12204
  const result = state.events.enter?.("TypeKeyword", state);
@@ -12091,7 +12217,7 @@ ${input.slice(result.pos)}
12091
12217
  return result;
12092
12218
  }
12093
12219
  }
12094
- var Interface$0 = $S($EXPECT($L162, fail, 'Interface "interface"'), NonIdContinue);
12220
+ var Interface$0 = $S($EXPECT($L161, fail, 'Interface "interface"'), NonIdContinue);
12095
12221
  function Interface(state) {
12096
12222
  if (state.events) {
12097
12223
  const result = state.events.enter?.("Interface", state);
@@ -12110,7 +12236,7 @@ ${input.slice(result.pos)}
12110
12236
  return result;
12111
12237
  }
12112
12238
  }
12113
- var Namespace$0 = $S($EXPECT($L163, fail, 'Namespace "namespace"'), NonIdContinue);
12239
+ var Namespace$0 = $S($EXPECT($L162, fail, 'Namespace "namespace"'), NonIdContinue);
12114
12240
  function Namespace(state) {
12115
12241
  if (state.events) {
12116
12242
  const result = state.events.enter?.("Namespace", state);
@@ -12299,7 +12425,7 @@ ${input.slice(result.pos)}
12299
12425
  return result;
12300
12426
  }
12301
12427
  }
12302
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L130, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R4, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
12428
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L129, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
12303
12429
  function TypeIndexSignature(state) {
12304
12430
  if (state.events) {
12305
12431
  const result = state.events.enter?.("TypeIndexSignature", state);
@@ -12359,7 +12485,7 @@ ${input.slice(result.pos)}
12359
12485
  return result;
12360
12486
  }
12361
12487
  }
12362
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L164, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
12488
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L163, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
12363
12489
  const children = [...$1, $2];
12364
12490
  if ($3)
12365
12491
  children.push($3);
@@ -12388,7 +12514,7 @@ ${input.slice(result.pos)}
12388
12514
  return result;
12389
12515
  }
12390
12516
  }
12391
- var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L75, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
12517
+ var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L73, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
12392
12518
  if (!$2)
12393
12519
  return $1;
12394
12520
  return $0;
@@ -12494,10 +12620,10 @@ ${input.slice(result.pos)}
12494
12620
  return result;
12495
12621
  }
12496
12622
  }
12497
- var TypeUnaryOp$0 = $S($EXPECT($L165, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
12498
- var TypeUnaryOp$1 = $S($EXPECT($L146, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
12499
- var TypeUnaryOp$2 = $S($EXPECT($L166, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
12500
- var TypeUnaryOp$3 = $S($EXPECT($L130, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
12623
+ var TypeUnaryOp$0 = $S($EXPECT($L164, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
12624
+ var TypeUnaryOp$1 = $S($EXPECT($L145, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
12625
+ var TypeUnaryOp$2 = $S($EXPECT($L165, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
12626
+ var TypeUnaryOp$3 = $S($EXPECT($L129, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
12501
12627
  function TypeUnaryOp(state) {
12502
12628
  if (state.events) {
12503
12629
  const result = state.events.enter?.("TypeUnaryOp", state);
@@ -12641,7 +12767,7 @@ ${input.slice(result.pos)}
12641
12767
  return result;
12642
12768
  }
12643
12769
  }
12644
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L6, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
12770
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L110, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
12645
12771
  if ($2)
12646
12772
  return $0;
12647
12773
  return $1;
@@ -12666,10 +12792,10 @@ ${input.slice(result.pos)}
12666
12792
  }
12667
12793
  var TypeLiteral$0 = Literal;
12668
12794
  var TypeLiteral$1 = TemplateLiteral;
12669
- var TypeLiteral$2 = $TS($S($EXPECT($L150, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12795
+ var TypeLiteral$2 = $TS($S($EXPECT($L149, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12670
12796
  return { $loc, token: "void" };
12671
12797
  });
12672
- var TypeLiteral$3 = $TV($EXPECT($L167, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12798
+ var TypeLiteral$3 = $TV($EXPECT($L166, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12673
12799
  return { $loc, token: "[]" };
12674
12800
  });
12675
12801
  function TypeLiteral(state) {
@@ -12690,10 +12816,10 @@ ${input.slice(result.pos)}
12690
12816
  return result;
12691
12817
  }
12692
12818
  }
12693
- var TypeBinaryOp$0 = $TV($EXPECT($L78, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12819
+ var TypeBinaryOp$0 = $TV($EXPECT($L76, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12694
12820
  return { $loc, token: "|" };
12695
12821
  });
12696
- var TypeBinaryOp$1 = $TV($EXPECT($L76, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12822
+ var TypeBinaryOp$1 = $TV($EXPECT($L74, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12697
12823
  return { $loc, token: "&" };
12698
12824
  });
12699
12825
  function TypeBinaryOp(state) {
@@ -12733,7 +12859,7 @@ ${input.slice(result.pos)}
12733
12859
  return result;
12734
12860
  }
12735
12861
  }
12736
- var TypeArguments$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12862
+ var TypeArguments$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12737
12863
  return { ts: true, children: $0 };
12738
12864
  });
12739
12865
  function TypeArguments(state) {
@@ -12754,7 +12880,7 @@ ${input.slice(result.pos)}
12754
12880
  return result;
12755
12881
  }
12756
12882
  }
12757
- var CompactTypeArguments$0 = $TS($S($EXPECT($L5, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12883
+ var CompactTypeArguments$0 = $TS($S($EXPECT($L121, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12758
12884
  return { ts: true, children: $0 };
12759
12885
  });
12760
12886
  function CompactTypeArguments(state) {
@@ -12813,7 +12939,7 @@ ${input.slice(result.pos)}
12813
12939
  return result;
12814
12940
  }
12815
12941
  }
12816
- var TypeParameters$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12942
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L25, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12817
12943
  var parameters = $3;
12818
12944
  return {
12819
12945
  type: "TypeParameters",
@@ -12840,7 +12966,7 @@ ${input.slice(result.pos)}
12840
12966
  return result;
12841
12967
  }
12842
12968
  }
12843
- var TypeParameter$0 = $S(__, Identifier, $E(TypeConstraint), TypeParameterDelimiter);
12969
+ var TypeParameter$0 = $S(__, Identifier, $E(TypeConstraint), $E(TypeInitializer), TypeParameterDelimiter);
12844
12970
  function TypeParameter(state) {
12845
12971
  if (state.events) {
12846
12972
  const result = state.events.enter?.("TypeParameter", state);
@@ -12859,7 +12985,7 @@ ${input.slice(result.pos)}
12859
12985
  return result;
12860
12986
  }
12861
12987
  }
12862
- var TypeConstraint$0 = $S(__, $EXPECT($L6, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
12988
+ var TypeConstraint$0 = $S(__, $EXPECT($L110, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
12863
12989
  function TypeConstraint(state) {
12864
12990
  if (state.events) {
12865
12991
  const result = state.events.enter?.("TypeConstraint", state);
@@ -12878,8 +13004,27 @@ ${input.slice(result.pos)}
12878
13004
  return result;
12879
13005
  }
12880
13006
  }
13007
+ var TypeInitializer$0 = $S(__, $EXPECT($L24, fail, 'TypeInitializer "="'), Type);
13008
+ function TypeInitializer(state) {
13009
+ if (state.events) {
13010
+ const result = state.events.enter?.("TypeInitializer", state);
13011
+ if (result)
13012
+ return result.cache;
13013
+ }
13014
+ if (state.tokenize) {
13015
+ const result = $TOKEN("TypeInitializer", state, TypeInitializer$0(state));
13016
+ if (state.events)
13017
+ state.events.exit?.("TypeInitializer", state, result);
13018
+ return result;
13019
+ } else {
13020
+ const result = TypeInitializer$0(state);
13021
+ if (state.events)
13022
+ state.events.exit?.("TypeInitializer", state, result);
13023
+ return result;
13024
+ }
13025
+ }
12881
13026
  var TypeParameterDelimiter$0 = $S($Q(_), Comma);
12882
- var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L27, fail, 'TypeParameterDelimiter ">"')));
13027
+ var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L25, fail, 'TypeParameterDelimiter ">"')));
12883
13028
  var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
12884
13029
  return value[1];
12885
13030
  });
@@ -12901,7 +13046,7 @@ ${input.slice(result.pos)}
12901
13046
  return result;
12902
13047
  }
12903
13048
  }
12904
- var Shebang$0 = $S($R$0($EXPECT($R51, fail, "Shebang /#![^\\r\\n]*/")), EOL);
13049
+ var Shebang$0 = $S($R$0($EXPECT($R52, fail, "Shebang /#![^\\r\\n]*/")), EOL);
12905
13050
  function Shebang(state) {
12906
13051
  if (state.events) {
12907
13052
  const result = state.events.enter?.("Shebang", state);
@@ -12920,11 +13065,11 @@ ${input.slice(result.pos)}
12920
13065
  return result;
12921
13066
  }
12922
13067
  }
12923
- var CivetPrologue$0 = $T($S($EXPECT($R52, fail, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
13068
+ var CivetPrologue$0 = $T($S($EXPECT($R53, fail, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
12924
13069
  var content = value[2];
12925
13070
  return content;
12926
13071
  });
12927
- var CivetPrologue$1 = $T($S($EXPECT($R52, fail, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
13072
+ var CivetPrologue$1 = $T($S($EXPECT($R53, fail, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
12928
13073
  var content = value[2];
12929
13074
  return content;
12930
13075
  });
@@ -12946,7 +13091,7 @@ ${input.slice(result.pos)}
12946
13091
  return result;
12947
13092
  }
12948
13093
  }
12949
- var CivetPrologueContent$0 = $TS($S($EXPECT($L168, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R53, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
13094
+ var CivetPrologueContent$0 = $TS($S($EXPECT($L167, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R54, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
12950
13095
  var options = $3;
12951
13096
  return {
12952
13097
  type: "CivetPrologue",
@@ -12972,7 +13117,7 @@ ${input.slice(result.pos)}
12972
13117
  return result;
12973
13118
  }
12974
13119
  }
12975
- var CivetOption$0 = $TR($EXPECT($R54, fail, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
13120
+ var CivetOption$0 = $TR($EXPECT($R55, fail, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
12976
13121
  const optionName = $2.replace(/-+([a-z]?)/g, (_2, l) => {
12977
13122
  if (l)
12978
13123
  return l.toUpperCase();
@@ -13004,7 +13149,7 @@ ${input.slice(result.pos)}
13004
13149
  return result;
13005
13150
  }
13006
13151
  }
13007
- var UnknownPrologue$0 = $S($R$0($EXPECT($R52, fail, "UnknownPrologue /[\\t ]*/")), BasicStringLiteral, $TEXT(StatementDelimiter), EOS);
13152
+ var UnknownPrologue$0 = $S($R$0($EXPECT($R53, fail, "UnknownPrologue /[\\t ]*/")), BasicStringLiteral, $TEXT(StatementDelimiter), EOS);
13008
13153
  function UnknownPrologue(state) {
13009
13154
  if (state.events) {
13010
13155
  const result = state.events.enter?.("UnknownPrologue", state);
@@ -13062,7 +13207,7 @@ ${input.slice(result.pos)}
13062
13207
  return result;
13063
13208
  }
13064
13209
  }
13065
- var EOL$0 = $TR($EXPECT($R55, fail, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
13210
+ var EOL$0 = $TR($EXPECT($R56, fail, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
13066
13211
  return { $loc, token: $0 };
13067
13212
  });
13068
13213
  function EOL(state) {
@@ -13779,12 +13924,20 @@ ${input.slice(result.pos)}
13779
13924
  declareRef[base](ref);
13780
13925
  return refs[base] = ref;
13781
13926
  };
13782
- module.typeOfJSXElement = function($12) {
13927
+ module.typeOfJSX = function(node) {
13928
+ switch (node.type) {
13929
+ case "JSXElement":
13930
+ return module.typeOfJSXElement(node);
13931
+ case "JSXFragment":
13932
+ return module.typeOfJSXFragment(node);
13933
+ }
13934
+ };
13935
+ module.typeOfJSXElement = function(node) {
13783
13936
  if (module.config.solid) {
13784
13937
  if (module.config.server && !module.config.client) {
13785
13938
  return ["string"];
13786
13939
  }
13787
- let open = $12.children;
13940
+ let open = node.children;
13788
13941
  while (Array.isArray(open[0]))
13789
13942
  open = open[0];
13790
13943
  open = open[1];
@@ -13796,11 +13949,11 @@ ${input.slice(result.pos)}
13796
13949
  }
13797
13950
  }
13798
13951
  };
13799
- module.typeOfJSXFragment = function($12) {
13952
+ module.typeOfJSXFragment = function(node) {
13800
13953
  if (module.config.solid) {
13801
13954
  let type = [];
13802
13955
  let lastType;
13803
- for (let child of $12.jsxChildren) {
13956
+ for (let child of node.jsxChildren) {
13804
13957
  switch (child.type) {
13805
13958
  case "JSXText":
13806
13959
  if (lastType !== "JSXText") {
@@ -13826,7 +13979,7 @@ ${input.slice(result.pos)}
13826
13979
  if (type.length === 1) {
13827
13980
  return type[0];
13828
13981
  } else {
13829
- type = type.map((t) => [t, ", "]).flat();
13982
+ type = type.flatMap((t) => [t, ", "]);
13830
13983
  type.pop();
13831
13984
  return ["[", type, "]"];
13832
13985
  }
@@ -14877,7 +15030,7 @@ ${input.slice(result.pos)}
14877
15030
  return result;
14878
15031
  }
14879
15032
  }
14880
- var Indent$0 = $TR($EXPECT($R56, fail, "Indent /[ \\t]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
15033
+ var Indent$0 = $TR($EXPECT($R57, fail, "Indent /[ \\t]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14881
15034
  let level;
14882
15035
  if (module.config.tab) {
14883
15036
  const tabs = $0.match(/\t/g);
@@ -15495,7 +15648,7 @@ ${input.slice(result.pos)}
15495
15648
  ({ parse } = import_parser.default);
15496
15649
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
15497
15650
  defaultOptions = {};
15498
- uncacheable = /* @__PURE__ */ new Set(["TrackIndented", "Samedent", "IndentedFurther", "PushIndent", "PopIndent", "Nested", "InsertIndent", "Arguments", "ArgumentsWithTrailingCallExpressions", "ApplicationStart", "CallExpression", "CallExpressionRest", "LeftHandSideExpression", "ActualAssignment", "UpdateExpression", "UnaryExpression", "BinaryOpExpression", "BinaryOpRHS", "ConditionalExpression", "ShortCircuitExpression", "InlineObjectLiteral", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedJSXChildExpression", "NestedJSXChildExpression", "ObjectLiteral", "NestedObject", "NestedImplicitObjectLiteral", "BracedObjectLiteralContent", "NestedPropertyDefinitions", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedBlockStatement", "NestedElement", "NestedElementList", "NestedBindingElement", "NestedBindingElements", "NestedInterfaceProperty", "MemberExpression", "PrimaryExpression", "IndentedApplicationAllowed", "ExpressionWithIndentedApplicationSuppressed", "SuppressIndentedApplication", "AssignmentExpressionTail", "AssignmentExpression", "ExtendedExpression", "Expression", "MemberExpressionRest", "ElseClause", "CoffeeCommentEnabled", "SingleLineComment", "Debugger", "JSXElement", "TypedJSXElement", "JSXFragment", "TypedJSXFragment", "JSXChild", "JSXChildren", "JSXNestedChildren", "JSXMixedChildren"]);
15651
+ uncacheable = /* @__PURE__ */ new Set(["TrackIndented", "Samedent", "IndentedFurther", "PushIndent", "PopIndent", "Nested", "InsertIndent", "Arguments", "ArgumentsWithTrailingCallExpressions", "ApplicationStart", "CallExpression", "CallExpressionRest", "LeftHandSideExpression", "ActualAssignment", "UpdateExpression", "UnaryExpression", "BinaryOpExpression", "BinaryOpRHS", "ConditionalExpression", "ShortCircuitExpression", "InlineObjectLiteral", "ImplicitInlineObjectPropertyDelimiter", "FatArrowBody", "ThinArrowFunction", "ArrowFunctionTail", "ArrowFunction", "ImplicitNestedBlock", "BracedBlock", "BracedOrEmptyBlock", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatements", "SingleLineStatements", "ExpressionStatement", "Statement", "IndentedJSXChildExpression", "NestedJSXChildExpression", "ObjectLiteral", "NestedObject", "NestedImplicitObjectLiteral", "BracedObjectLiteralContent", "NestedPropertyDefinitions", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedBlockStatement", "NestedElement", "NestedElementList", "NestedBindingElement", "NestedBindingElements", "NestedInterfaceProperty", "MemberExpression", "PrimaryExpression", "IndentedApplicationAllowed", "ExpressionWithIndentedApplicationSuppressed", "SuppressIndentedApplication", "AssignmentExpressionTail", "AssignmentExpression", "ExtendedExpression", "Expression", "MemberExpressionRest", "ElseClause", "CoffeeCommentEnabled", "SingleLineComment", "Debugger", "JSXImplicitFragment", "JSXTag", "JSXElement", "TypedJSXElement", "JSXFragment", "TypedJSXFragment", "JSXChild", "JSXChildren", "JSXNestedChildren", "JSXMixedChildren"]);
15499
15652
  var compile = function(src, options = defaultOptions) {
15500
15653
  var ast, code, events, filename, sm, srcMapJSON;
15501
15654
  filename = options.filename || "unknown";