@my-react/react-reconciler-compact 0.0.13 → 0.0.14

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.
Files changed (32) hide show
  1. package/dist/cjs/index.development.js +755 -663
  2. package/dist/cjs/index.production.js +688 -607
  3. package/dist/esm/index.mjs +1432 -1258
  4. package/dist/types/api/append.d.ts.map +1 -1
  5. package/dist/types/api/create.d.ts.map +1 -1
  6. package/dist/types/api/position.d.ts.map +1 -1
  7. package/dist/types/api/ref.d.ts.map +1 -1
  8. package/dist/types/api/remove.d.ts.map +1 -1
  9. package/dist/types/api/update.d.ts.map +1 -1
  10. package/dist/types/config.d.ts.map +1 -1
  11. package/dist/types/constants.d.ts.map +1 -1
  12. package/dist/types/devtool.d.ts.map +1 -1
  13. package/dist/types/{dispatchFiber.d.ts → dispatch-fiber.d.ts} +1 -1
  14. package/dist/types/dispatch-fiber.d.ts.map +1 -0
  15. package/dist/types/{dispatchMap.d.ts → dispatch-map.d.ts} +1 -1
  16. package/dist/types/dispatch-map.d.ts.map +1 -0
  17. package/dist/types/{dispatchMount.d.ts → dispatch-mount.d.ts} +1 -1
  18. package/dist/types/dispatch-mount.d.ts.map +1 -0
  19. package/dist/types/{dispatchUpdate.d.ts → dispatch-update.d.ts} +1 -1
  20. package/dist/types/dispatch-update.d.ts.map +1 -0
  21. package/dist/types/dispatch.d.ts +34 -206
  22. package/dist/types/dispatch.d.ts.map +1 -1
  23. package/dist/types/feature.d.ts +34 -206
  24. package/dist/types/feature.d.ts.map +1 -1
  25. package/dist/types/hmr.d.ts.map +1 -1
  26. package/dist/types/index.d.ts.map +1 -1
  27. package/dist/types/portal.d.ts.map +1 -1
  28. package/package.json +5 -5
  29. package/dist/types/dispatchFiber.d.ts.map +0 -1
  30. package/dist/types/dispatchMap.d.ts.map +0 -1
  31. package/dist/types/dispatchMount.d.ts.map +0 -1
  32. package/dist/types/dispatchUpdate.d.ts.map +0 -1
@@ -108,7 +108,7 @@ var hasRequiredIndex_production;
108
108
  function requireIndex_production () {
109
109
  if (hasRequiredIndex_production) return index_production;
110
110
  hasRequiredIndex_production = 1;
111
- (function (exports) {
111
+ (function (exports$1) {
112
112
 
113
113
  var react = require$$0;
114
114
 
@@ -153,6 +153,10 @@ function requireIndex_production () {
153
153
  var Comment = Symbol.for("react.comment");
154
154
  var Activity = Symbol.for("react.activity");
155
155
  var Profiler = Symbol.for("react.profiler");
156
+ /**
157
+ * Symbol for server reference type
158
+ */
159
+ var SERVER_REFERENCE_SYMBOL = Symbol.for("react.server.reference");
156
160
 
157
161
  function isObject(target) {
158
162
  return typeof target === "object" && target !== null;
@@ -748,7 +752,7 @@ function requireIndex_production () {
748
752
  var enableValidMyReactElement = react.createRef(false);
749
753
  var enableLogForCurrentFlowIsRunning = react.createRef(false);
750
754
 
751
- exports.NODE_TYPE = void 0;
755
+ exports$1.NODE_TYPE = void 0;
752
756
  (function (NODE_TYPE) {
753
757
  NODE_TYPE[NODE_TYPE["__initial__"] = 0] = "__initial__";
754
758
  NODE_TYPE[NODE_TYPE["__class__"] = 1] = "__class__";
@@ -774,24 +778,25 @@ function requireIndex_production () {
774
778
  NODE_TYPE[NODE_TYPE["__scopeLazy__"] = 1048576] = "__scopeLazy__";
775
779
  NODE_TYPE[NODE_TYPE["__scopeSuspense__"] = 2097152] = "__scopeSuspense__";
776
780
  NODE_TYPE[NODE_TYPE["__activity__"] = 4194304] = "__activity__";
777
- })(exports.NODE_TYPE || (exports.NODE_TYPE = {}));
781
+ NODE_TYPE[NODE_TYPE["__serverComponent__"] = 8388608] = "__serverComponent__";
782
+ })(exports$1.NODE_TYPE || (exports$1.NODE_TYPE = {}));
778
783
 
779
784
  var enableSyncFlush$1 = react.__my_react_shared__.enableSyncFlush;
780
785
  /**
781
786
  * @deprecated
782
787
  */
783
- exports.syncFlush = false;
788
+ exports$1.syncFlush = false;
784
789
  /**
785
790
  * @deprecated
786
791
  */
787
792
  var beforeSyncFlush = function () {
788
- exports.syncFlush = true;
793
+ exports$1.syncFlush = true;
789
794
  };
790
795
  /**
791
796
  * @deprecated
792
797
  */
793
798
  var afterSyncFlush = function () {
794
- exports.syncFlush = false;
799
+ exports$1.syncFlush = false;
795
800
  };
796
801
  var stack = [enableSyncFlush$1.current];
797
802
  var beforeSyncUpdate = function () {
@@ -1007,74 +1012,76 @@ function requireIndex_production () {
1007
1012
  }
1008
1013
  };
1009
1014
  var shouldIncludeLog = function (fiber) {
1010
- if (include(fiber.type, exports.NODE_TYPE.__class__ | exports.NODE_TYPE.__function__)) {
1015
+ if (include(fiber.type, exports$1.NODE_TYPE.__class__ | exports$1.NODE_TYPE.__function__)) {
1011
1016
  return true;
1012
1017
  }
1013
1018
  return false;
1014
1019
  };
1015
1020
  var getFiberTagName = function (fiber) {
1016
1021
  var tag = [];
1017
- if (fiber.type & exports.NODE_TYPE.__memo__) {
1022
+ if (fiber.type & exports$1.NODE_TYPE.__memo__) {
1018
1023
  tag.push("memo");
1019
1024
  }
1020
- if (fiber.type & exports.NODE_TYPE.__forwardRef__) {
1025
+ if (fiber.type & exports$1.NODE_TYPE.__forwardRef__) {
1021
1026
  tag.push("forwardRef");
1022
1027
  }
1023
- if (fiber.type & exports.NODE_TYPE.__lazy__) {
1028
+ if (fiber.type & exports$1.NODE_TYPE.__lazy__) {
1024
1029
  tag.push("lazy");
1025
1030
  }
1026
- if (fiber.type & exports.NODE_TYPE.__fragment__ && fiber.pendingProps["wrap"]) {
1031
+ if (fiber.type & exports$1.NODE_TYPE.__fragment__ && fiber.pendingProps["wrap"]) {
1027
1032
  tag.push("auto-wrap");
1028
1033
  }
1029
1034
  return tag.join("-");
1030
1035
  };
1031
1036
  var getPlainFiberName = function (fiber) {
1032
- if (fiber.type & exports.NODE_TYPE.__provider__) {
1037
+ if (fiber.type & exports$1.NODE_TYPE.__provider__) {
1033
1038
  var typedElementType = fiber.elementType;
1034
1039
  var name_2 = typedElementType.Context.displayName;
1035
1040
  return "".concat(name_2 || "Context", ".Provider");
1036
1041
  }
1037
- if (fiber.type & exports.NODE_TYPE.__context__) {
1042
+ if (fiber.type & exports$1.NODE_TYPE.__context__) {
1038
1043
  var typedElementType = fiber.elementType;
1039
1044
  var name_3 = typedElementType.displayName;
1040
1045
  return "".concat(name_3 || "Context");
1041
1046
  }
1042
- if (fiber.type & exports.NODE_TYPE.__consumer__) {
1047
+ if (fiber.type & exports$1.NODE_TYPE.__consumer__) {
1043
1048
  var typedElementType = fiber.elementType;
1044
1049
  var name_4 = typedElementType.Context.displayName;
1045
1050
  return "".concat(name_4 || "Context", ".Consumer");
1046
1051
  }
1047
- if (fiber.type & exports.NODE_TYPE.__lazy__) {
1052
+ if (fiber.type & exports$1.NODE_TYPE.__lazy__) {
1048
1053
  var typedElementType = fiber.elementType;
1049
1054
  var typedRender = typedElementType === null || typedElementType === void 0 ? void 0 : typedElementType.render;
1050
1055
  var name_5 = (typedRender === null || typedRender === void 0 ? void 0 : typedRender.displayName) || (typedRender === null || typedRender === void 0 ? void 0 : typedRender.name) || "";
1056
+ var loader = typedElementType.loader;
1057
+ name_5 = loader["displayName"] || name_5;
1051
1058
  return "".concat(name_5 || "Anonymous");
1052
1059
  }
1053
- if (fiber.type & exports.NODE_TYPE.__portal__)
1060
+ if (fiber.type & exports$1.NODE_TYPE.__portal__)
1054
1061
  return "Portal";
1055
- if (fiber.type & exports.NODE_TYPE.__null__)
1062
+ if (fiber.type & exports$1.NODE_TYPE.__null__)
1056
1063
  return "Null";
1057
- if (fiber.type & exports.NODE_TYPE.__empty__)
1064
+ if (fiber.type & exports$1.NODE_TYPE.__empty__)
1058
1065
  return "Empty";
1059
- if (fiber.type & exports.NODE_TYPE.__scope__)
1066
+ if (fiber.type & exports$1.NODE_TYPE.__scope__)
1060
1067
  return "Scope";
1061
- if (fiber.type & exports.NODE_TYPE.__scopeLazy__)
1068
+ if (fiber.type & exports$1.NODE_TYPE.__scopeLazy__)
1062
1069
  return "ScopeLazy";
1063
- if (fiber.type & exports.NODE_TYPE.__scopeSuspense__)
1070
+ if (fiber.type & exports$1.NODE_TYPE.__scopeSuspense__)
1064
1071
  return "ScopeSuspense";
1065
- if (fiber.type & exports.NODE_TYPE.__strict__)
1072
+ if (fiber.type & exports$1.NODE_TYPE.__strict__)
1066
1073
  return "Strict";
1067
- if (fiber.type & exports.NODE_TYPE.__profiler__)
1074
+ if (fiber.type & exports$1.NODE_TYPE.__profiler__)
1068
1075
  return "Profiler";
1069
- if (fiber.type & exports.NODE_TYPE.__suspense__)
1076
+ if (fiber.type & exports$1.NODE_TYPE.__suspense__)
1070
1077
  return "Suspense";
1071
- if (fiber.type & exports.NODE_TYPE.__comment__)
1078
+ if (fiber.type & exports$1.NODE_TYPE.__comment__)
1072
1079
  return "Comment";
1073
- if (fiber.type & exports.NODE_TYPE.__root__)
1080
+ if (fiber.type & exports$1.NODE_TYPE.__root__)
1074
1081
  return "Root";
1075
- if (fiber.type & exports.NODE_TYPE.__fragment__)
1082
+ if (fiber.type & exports$1.NODE_TYPE.__fragment__)
1076
1083
  return "Fragment";
1077
- if (fiber.type & exports.NODE_TYPE.__text__)
1084
+ if (fiber.type & exports$1.NODE_TYPE.__text__)
1078
1085
  return "text";
1079
1086
  if (typeof fiber.elementType === "string")
1080
1087
  return "".concat(fiber.elementType);
@@ -1134,7 +1141,7 @@ function requireIndex_production () {
1134
1141
  while (temp) {
1135
1142
  res ? (res += "\n".concat(preString).concat(getFiberNodeNameWithFiber(temp))) : (res = "".concat(preString).concat(getFiberNodeNameWithFiber(temp)));
1136
1143
  var isMount = temp._debugIsMount;
1137
- var isPlain = temp.type & exports.NODE_TYPE.__plain__;
1144
+ var isPlain = temp.type & exports$1.NODE_TYPE.__plain__;
1138
1145
  arr.push("color: white;background-color: ".concat(isMount ? (isPlain ? typeColor.plain : typeColor.normal) : typeColor.unmount, "; border-radius: 2px; padding: 1px 5px; margin: 1px 0px"));
1139
1146
  arr.push("");
1140
1147
  arr.push(temp);
@@ -1201,23 +1208,23 @@ function requireIndex_production () {
1201
1208
  return type;
1202
1209
  };
1203
1210
  var getTypeFromElementNode = function (element) {
1204
- var nodeType = exports.NODE_TYPE.__initial__;
1211
+ var nodeType = exports$1.NODE_TYPE.__initial__;
1205
1212
  if (react.isValidElement(element)) {
1206
1213
  return getTypeFromElement(element);
1207
1214
  }
1208
1215
  else {
1209
1216
  if (typeof element === "object" && element !== null) {
1210
- nodeType = merge(nodeType, exports.NODE_TYPE.__empty__);
1217
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__empty__);
1211
1218
  }
1212
1219
  else if (element === null || element === undefined || typeof element === "boolean" || typeof element === "function" || element === "") {
1213
- nodeType = merge(nodeType, exports.NODE_TYPE.__null__);
1220
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__null__);
1214
1221
  }
1215
1222
  else {
1216
1223
  // text element
1217
1224
  return {
1218
1225
  key: null,
1219
1226
  ref: null,
1220
- nodeType: exports.NODE_TYPE.__text__,
1227
+ nodeType: exports$1.NODE_TYPE.__text__,
1221
1228
  elementType: String(element),
1222
1229
  pendingProps: emptyProps$1,
1223
1230
  finalElement: element,
@@ -1229,7 +1236,7 @@ function requireIndex_production () {
1229
1236
  };
1230
1237
  var getTypeFromElement = function (element) {
1231
1238
  var _a, _b, _e, _f, _g;
1232
- var nodeType = exports.NODE_TYPE.__initial__;
1239
+ var nodeType = exports$1.NODE_TYPE.__initial__;
1233
1240
  var elementType = element.type;
1234
1241
  var finalElement = element;
1235
1242
  var pendingProps = element.props;
@@ -1239,105 +1246,105 @@ function requireIndex_production () {
1239
1246
  var typedElementType = elementType;
1240
1247
  switch (typedElementType[TYPEKEY]) {
1241
1248
  case Provider:
1242
- nodeType = merge(nodeType, exports.NODE_TYPE.__provider__);
1249
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__provider__);
1243
1250
  break;
1244
1251
  // support react 19 context api
1245
1252
  case Context:
1246
- nodeType = merge(nodeType, exports.NODE_TYPE.__context__);
1253
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__context__);
1247
1254
  break;
1248
1255
  case Consumer:
1249
- nodeType = merge(nodeType, exports.NODE_TYPE.__consumer__);
1256
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__consumer__);
1250
1257
  break;
1251
1258
  case Memo:
1252
- nodeType = merge(nodeType, exports.NODE_TYPE.__memo__);
1259
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__memo__);
1253
1260
  elementType = typedElementType.render;
1254
1261
  break;
1255
1262
  case ForwardRef:
1256
- nodeType = merge(nodeType, exports.NODE_TYPE.__forwardRef__);
1263
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__forwardRef__);
1257
1264
  elementType = typedElementType.render;
1258
1265
  break;
1259
1266
  case Lazy:
1260
- nodeType = merge(nodeType, exports.NODE_TYPE.__lazy__);
1267
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__lazy__);
1261
1268
  break;
1262
1269
  default:
1263
1270
  throw new Error("[@my-react/react] invalid object element type \"".concat((_e = typedElementType[TYPEKEY]) === null || _e === void 0 ? void 0 : _e.toString(), "\""));
1264
1271
  }
1265
1272
  if (typeof elementType === "object") {
1266
1273
  if (elementType[TYPEKEY] === ForwardRef) {
1267
- nodeType = merge(nodeType, exports.NODE_TYPE.__forwardRef__);
1274
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__forwardRef__);
1268
1275
  elementType = elementType.render;
1269
1276
  }
1270
1277
  if (elementType[TYPEKEY] === Provider) {
1271
- nodeType = merge(nodeType, exports.NODE_TYPE.__provider__);
1278
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__provider__);
1272
1279
  }
1273
1280
  if (elementType[TYPEKEY] === Context) {
1274
- nodeType = merge(nodeType, exports.NODE_TYPE.__context__);
1281
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__context__);
1275
1282
  }
1276
1283
  if (elementType[TYPEKEY] === Consumer) {
1277
- nodeType = merge(nodeType, exports.NODE_TYPE.__consumer__);
1284
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__consumer__);
1278
1285
  }
1279
1286
  }
1280
1287
  if (typeof elementType === "function") {
1281
1288
  if ((_f = elementType.prototype) === null || _f === void 0 ? void 0 : _f.isMyReactComponent) {
1282
- nodeType = merge(nodeType, exports.NODE_TYPE.__class__);
1289
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__class__);
1283
1290
  }
1284
1291
  else {
1285
- nodeType = merge(nodeType, exports.NODE_TYPE.__function__);
1292
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__function__);
1286
1293
  }
1287
1294
  }
1288
1295
  }
1289
1296
  else if (typeof elementType === "function") {
1290
1297
  if ((_g = elementType.prototype) === null || _g === void 0 ? void 0 : _g.isMyReactComponent) {
1291
- nodeType = merge(nodeType, exports.NODE_TYPE.__class__);
1298
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__class__);
1292
1299
  }
1293
1300
  else {
1294
- nodeType = merge(nodeType, exports.NODE_TYPE.__function__);
1301
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__function__);
1295
1302
  }
1296
1303
  }
1297
1304
  else if (typeof elementType === "symbol") {
1298
1305
  switch (elementType) {
1299
1306
  case Root:
1300
- nodeType = merge(nodeType, exports.NODE_TYPE.__root__);
1307
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__root__);
1301
1308
  break;
1302
1309
  case Fragment:
1303
- nodeType = merge(nodeType, exports.NODE_TYPE.__fragment__);
1310
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__fragment__);
1304
1311
  break;
1305
1312
  case Strict:
1306
- nodeType = merge(nodeType, exports.NODE_TYPE.__strict__);
1313
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__strict__);
1307
1314
  break;
1308
1315
  case Suspense:
1309
- nodeType = merge(nodeType, exports.NODE_TYPE.__suspense__);
1316
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__suspense__);
1310
1317
  break;
1311
1318
  case Scope:
1312
- nodeType = merge(nodeType, exports.NODE_TYPE.__scope__);
1319
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__scope__);
1313
1320
  break;
1314
1321
  case ScopeLazy:
1315
- nodeType = merge(nodeType, exports.NODE_TYPE.__scopeLazy__);
1322
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__scopeLazy__);
1316
1323
  break;
1317
1324
  case ScopeSuspense:
1318
- nodeType = merge(nodeType, exports.NODE_TYPE.__scopeSuspense__);
1325
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__scopeSuspense__);
1319
1326
  break;
1320
1327
  case Comment:
1321
- nodeType = merge(nodeType, exports.NODE_TYPE.__comment__);
1328
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__comment__);
1322
1329
  break;
1323
1330
  case Portal:
1324
- nodeType = merge(nodeType, exports.NODE_TYPE.__portal__);
1331
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__portal__);
1325
1332
  break;
1326
1333
  case Profiler:
1327
- nodeType = merge(nodeType, exports.NODE_TYPE.__profiler__);
1334
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__profiler__);
1328
1335
  break;
1329
1336
  case Activity:
1330
- nodeType = merge(nodeType, exports.NODE_TYPE.__activity__);
1337
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__activity__);
1331
1338
  break;
1332
1339
  default:
1333
1340
  throw new Error("[@my-react/react] invalid symbol element type \"".concat(elementType === null || elementType === void 0 ? void 0 : elementType.toString(), "\""));
1334
1341
  }
1335
1342
  }
1336
1343
  else if (typeof elementType === "string" && elementType !== "") {
1337
- nodeType = merge(nodeType, exports.NODE_TYPE.__plain__);
1344
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__plain__);
1338
1345
  }
1339
1346
  else {
1340
- nodeType = merge(nodeType, exports.NODE_TYPE.__empty__);
1347
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__empty__);
1341
1348
  }
1342
1349
  return { key: key, ref: ref, nodeType: nodeType, elementType: elementType, pendingProps: pendingProps, finalElement: finalElement };
1343
1350
  };
@@ -1347,7 +1354,7 @@ function requireIndex_production () {
1347
1354
  var setRefreshHandler = function (handler) {
1348
1355
  };
1349
1356
  var setRefreshTypeMap = function (fiber) {
1350
- if (include(fiber.type, exports.NODE_TYPE.__class__ | exports.NODE_TYPE.__function__)) {
1357
+ if (include(fiber.type, exports$1.NODE_TYPE.__class__ | exports$1.NODE_TYPE.__function__)) {
1351
1358
  var elementType = fiber.elementType;
1352
1359
  var exist = typeToFibersMap.get(elementType) || new Set();
1353
1360
  exist.add(fiber);
@@ -1743,7 +1750,7 @@ function requireIndex_production () {
1743
1750
  var _a;
1744
1751
  var parent = fiber.parent;
1745
1752
  while (parent) {
1746
- if (include(parent.type, exports.NODE_TYPE.__suspense__)) {
1753
+ if (include(parent.type, exports$1.NODE_TYPE.__suspense__)) {
1747
1754
  return (_a = parent.pendingProps) === null || _a === void 0 ? void 0 : _a["fallback"];
1748
1755
  }
1749
1756
  parent = parent.parent;
@@ -1753,7 +1760,7 @@ function requireIndex_production () {
1753
1760
  var defaultResolveSuspenseFiber = function (fiber) {
1754
1761
  var parent = fiber.parent;
1755
1762
  while (parent) {
1756
- if (include(parent.type, exports.NODE_TYPE.__suspense__)) {
1763
+ if (include(parent.type, exports$1.NODE_TYPE.__suspense__)) {
1757
1764
  return parent;
1758
1765
  }
1759
1766
  parent = parent.parent;
@@ -1762,7 +1769,7 @@ function requireIndex_production () {
1762
1769
  };
1763
1770
  var defaultResolveAliveSuspenseFiber = function (fiber) {
1764
1771
  while (fiber) {
1765
- if (include(fiber.type, exports.NODE_TYPE.__suspense__) && exclude(fiber.state, STATE_TYPE.__unmount__)) {
1772
+ if (include(fiber.type, exports$1.NODE_TYPE.__suspense__) && exclude(fiber.state, STATE_TYPE.__unmount__)) {
1766
1773
  return fiber;
1767
1774
  }
1768
1775
  fiber = fiber.parent;
@@ -1885,7 +1892,6 @@ function requireIndex_production () {
1885
1892
  case 0:
1886
1893
  node = renderDispatch.pendingSuspenseFiberArray.uniShift();
1887
1894
  suspenseField = getInstanceFieldByInstance(node.instance);
1888
- renderDispatch.pendingSuspenseFiberArray.clear();
1889
1895
  list = suspenseField.asyncLoadList.getAll();
1890
1896
  return [4 /*yield*/, Promise.all(list.map(function (item) { return __awaiter(void 0, void 0, void 0, function () {
1891
1897
  var set;
@@ -1970,8 +1976,9 @@ function requireIndex_production () {
1970
1976
  }); };
1971
1977
  var processAsyncLoadListOnSyncMount = function (renderDispatch) {
1972
1978
  var _a;
1973
- if ((_a = renderDispatch.pendingSuspenseFiberArray) === null || _a === void 0 ? void 0 : _a.length) {
1979
+ var _loop_2 = function () {
1974
1980
  var allPendingSuspenseFiberArray = renderDispatch.pendingSuspenseFiberArray.getAll();
1981
+ renderDispatch.pendingSuspenseFiberArray.clear();
1975
1982
  if (renderDispatch.enableAsyncLoad) {
1976
1983
  var allField_1 = [];
1977
1984
  allPendingSuspenseFiberArray.forEach(function (node) {
@@ -1982,7 +1989,9 @@ function requireIndex_production () {
1982
1989
  return typeof item.status !== "string";
1983
1990
  }
1984
1991
  else {
1985
- return !item._loading && !item._loaded && !item._error;
1992
+ // return !item._loading && !item._loaded && !item._error;
1993
+ // return !item._loading;
1994
+ return true;
1986
1995
  }
1987
1996
  });
1988
1997
  if (allPendingLoadArray.length) {
@@ -2030,11 +2039,13 @@ function requireIndex_production () {
2030
2039
  // TODO use hide tree to improve
2031
2040
  mountLoopAll(renderDispatch, root);
2032
2041
  allField_1.forEach(function (field) { return (field.isHidden = false); });
2033
- renderDispatch.pendingSuspenseFiberArray.clear();
2034
2042
  }
2035
2043
  else {
2036
2044
  throw new Error("[@my-react/reconciler] should not process async load list on sync mount without enableAsyncLoad, you may use a wrong renderDispatch instance");
2037
2045
  }
2046
+ };
2047
+ while ((_a = renderDispatch.pendingSuspenseFiberArray) === null || _a === void 0 ? void 0 : _a.length) {
2048
+ _loop_2();
2038
2049
  }
2039
2050
  if (enableSuspenseRoot$3.current) {
2040
2051
  var suspenseField_2 = getInstanceFieldByInstance(renderDispatch);
@@ -2097,13 +2108,13 @@ function requireIndex_production () {
2097
2108
 
2098
2109
  var enableSuspenseRoot$2 = react.__my_react_shared__.enableSuspenseRoot;
2099
2110
  var currentScheduler$d = react.__my_react_internal__.currentScheduler;
2100
- exports.updateTypeEnum = void 0;
2111
+ exports$1.updateTypeEnum = void 0;
2101
2112
  (function (updateTypeEnum) {
2102
2113
  updateTypeEnum[updateTypeEnum["syncFromRoot"] = 0] = "syncFromRoot";
2103
2114
  updateTypeEnum[updateTypeEnum["syncFromTrigger"] = 1] = "syncFromTrigger";
2104
2115
  updateTypeEnum[updateTypeEnum["concurrentFromRoot"] = 2] = "concurrentFromRoot";
2105
2116
  updateTypeEnum[updateTypeEnum["concurrentFromTrigger"] = 3] = "concurrentFromTrigger";
2106
- })(exports.updateTypeEnum || (exports.updateTypeEnum = {}));
2117
+ })(exports$1.updateTypeEnum || (exports$1.updateTypeEnum = {}));
2107
2118
  var triggerFiberUpdateListener = function (renderDispatch, fiber) {
2108
2119
  safeCallWithCurrentFiber({
2109
2120
  fiber: fiber,
@@ -2144,8 +2155,9 @@ function requireIndex_production () {
2144
2155
  };
2145
2156
  var processAsyncLoadListOnUpdate = function (renderDispatch) {
2146
2157
  var _a;
2147
- if ((_a = renderDispatch.pendingSuspenseFiberArray) === null || _a === void 0 ? void 0 : _a.length) {
2158
+ var _loop_1 = function () {
2148
2159
  var allPendingSuspenseFiberArray = renderDispatch.pendingSuspenseFiberArray.getAll();
2160
+ renderDispatch.pendingSuspenseFiberArray.clear();
2149
2161
  if (renderDispatch.enableAsyncLoad) {
2150
2162
  var allField_1 = [];
2151
2163
  allPendingSuspenseFiberArray.forEach(function (node) {
@@ -2156,7 +2168,9 @@ function requireIndex_production () {
2156
2168
  return typeof item.status !== "string";
2157
2169
  }
2158
2170
  else {
2159
- return !item._loading && !item._loaded && !item._error;
2171
+ // return !item._loading && !item._loaded && !item._error;
2172
+ // return !item._loading;
2173
+ return true;
2160
2174
  }
2161
2175
  });
2162
2176
  if (allPendingLoadArray.length) {
@@ -2205,11 +2219,13 @@ function requireIndex_production () {
2205
2219
  // TODO use hide tree to improve
2206
2220
  mountLoopAll(renderDispatch, root);
2207
2221
  allField_1.forEach(function (field) { return (field.isHidden = false); });
2208
- renderDispatch.pendingSuspenseFiberArray.clear();
2209
2222
  }
2210
2223
  else {
2211
2224
  throw new Error("[@my-react/reconciler] should not process async load list on sync mount without enableAsyncLoad, you may use a wrong renderDispatch instance");
2212
2225
  }
2226
+ };
2227
+ while ((_a = renderDispatch.pendingSuspenseFiberArray) === null || _a === void 0 ? void 0 : _a.length) {
2228
+ _loop_1();
2213
2229
  }
2214
2230
  // TODO update flow
2215
2231
  if (enableSuspenseRoot$2.current) {
@@ -2270,7 +2286,7 @@ function requireIndex_production () {
2270
2286
  return typeof instance.componentDidCatch === "function" || typeof Component.getDerivedStateFromError === "function";
2271
2287
  };
2272
2288
  var isErrorBoundariesComponent = function (fiber) {
2273
- if (include(fiber.type, exports.NODE_TYPE.__class__) && include(fiber.state, STATE_TYPE.__stable__)) {
2289
+ if (include(fiber.type, exports$1.NODE_TYPE.__class__) && include(fiber.state, STATE_TYPE.__stable__)) {
2274
2290
  var Component = fiber.elementType;
2275
2291
  var typedComponent = Component;
2276
2292
  var typedInstance = fiber.instance;
@@ -2310,7 +2326,6 @@ function requireIndex_production () {
2310
2326
  return field;
2311
2327
  };
2312
2328
 
2313
- /* eslint-disable max-lines */
2314
2329
  var enableLegacyLifeCycle = react.__my_react_shared__.enableLegacyLifeCycle;
2315
2330
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2316
2331
  // @ts-ignore
@@ -2396,7 +2411,7 @@ function requireIndex_production () {
2396
2411
  var processComponentDidMountOnMount = function (renderDispatch, fiber) {
2397
2412
  var typedInstance = fiber.instance;
2398
2413
  var effect = getInstanceEffectState(typedInstance);
2399
- if (exclude(effect, Effect_TYPE.__effect__)) {
2414
+ if (typeof effect === "number" && exclude(effect, Effect_TYPE.__effect__)) {
2400
2415
  setEffectForInstance(typedInstance, Effect_TYPE.__effect__);
2401
2416
  renderDispatch.pendingLayoutEffect(fiber, function invokeComponentDidMountOnInstance() {
2402
2417
  var _a;
@@ -2465,7 +2480,7 @@ function requireIndex_production () {
2465
2480
  var baseState = _a.baseState, baseProps = _a.baseProps, snapshot = _a.snapshot;
2466
2481
  var typedInstance = fiber.instance;
2467
2482
  var effect = getInstanceEffectState(typedInstance);
2468
- if (typedInstance.componentDidUpdate && exclude(effect, Effect_TYPE.__effect__)) {
2483
+ if (typedInstance.componentDidUpdate && typeof effect === "number" && exclude(effect, Effect_TYPE.__effect__)) {
2469
2484
  setEffectForInstance(typedInstance, Effect_TYPE.__effect__);
2470
2485
  renderDispatch.pendingLayoutEffect(fiber, function invokeComponentDidUpdateOnInstance() {
2471
2486
  var _a;
@@ -2599,7 +2614,7 @@ function requireIndex_production () {
2599
2614
  var nextContext = processComponentContextOnUpdate(renderDispatch, fiber);
2600
2615
  var shouldUpdate = Boolean(include(fiber.state, STATE_TYPE.__triggerSyncForce__ | STATE_TYPE.__triggerConcurrentForce__));
2601
2616
  if (!shouldUpdate) {
2602
- shouldUpdate = processComponentShouldUpdateOnUpdate(fiber, {
2617
+ shouldUpdate = !!processComponentShouldUpdateOnUpdate(fiber, {
2603
2618
  nextState: nextState,
2604
2619
  nextProps: nextProps,
2605
2620
  nextContext: nextContext,
@@ -2664,7 +2679,7 @@ function requireIndex_production () {
2664
2679
  var processClassComponentUpdateQueueLatest = function (renderDispatch, fiber, enableTaskPriority) {
2665
2680
  if (include(fiber.state, STATE_TYPE.__unmount__))
2666
2681
  return;
2667
- if (exclude(fiber.type, exports.NODE_TYPE.__class__))
2682
+ if (exclude(fiber.type, exports$1.NODE_TYPE.__class__))
2668
2683
  throw new Error("[@my-react/react] current fiber is not a class component, look like a bug for @my-react");
2669
2684
  var renderScheduler = currentScheduler$c.current;
2670
2685
  var allQueue = fiber.updateQueue;
@@ -2793,7 +2808,7 @@ function requireIndex_production () {
2793
2808
  var processClassComponentUpdateQueueLegacy = function (renderDispatch, fiber) {
2794
2809
  if (include(fiber.state, STATE_TYPE.__unmount__))
2795
2810
  return;
2796
- if (exclude(fiber.type, exports.NODE_TYPE.__class__))
2811
+ if (exclude(fiber.type, exports$1.NODE_TYPE.__class__))
2797
2812
  throw new Error("[@my-react/react] current fiber is not a class component, look like a bug for @my-react");
2798
2813
  var renderScheduler = currentScheduler$c.current;
2799
2814
  var allQueue = fiber.updateQueue;
@@ -2864,7 +2879,7 @@ function requireIndex_production () {
2864
2879
  var _a, _b;
2865
2880
  if (include(fiber.state, STATE_TYPE.__unmount__))
2866
2881
  return;
2867
- if (exclude(fiber.type, exports.NODE_TYPE.__function__)) {
2882
+ if (exclude(fiber.type, exports$1.NODE_TYPE.__function__)) {
2868
2883
  throw new Error("[@my-react/react] current fiber is not a function component, look like a bug for @my-react");
2869
2884
  }
2870
2885
  var renderScheduler = currentScheduler$c.current;
@@ -3023,7 +3038,7 @@ function requireIndex_production () {
3023
3038
  var _a;
3024
3039
  if (include(fiber.state, STATE_TYPE.__unmount__))
3025
3040
  return;
3026
- if (exclude(fiber.type, exports.NODE_TYPE.__function__)) {
3041
+ if (exclude(fiber.type, exports$1.NODE_TYPE.__function__)) {
3027
3042
  throw new Error("[@my-react/react] current fiber is not a function component, look like a bug for @my-react");
3028
3043
  }
3029
3044
  var renderScheduler = currentScheduler$c.current;
@@ -3327,7 +3342,7 @@ function requireIndex_production () {
3327
3342
  var applyTriggerFiberCb = function (renderDispatch, fiber) {
3328
3343
  var _a, _b;
3329
3344
  var cbArray = renderDispatch.runtimeMap.triggerCallbackMap.get(fiber);
3330
- if (include(fiber.type, exports.NODE_TYPE.__class__)) {
3345
+ if (include(fiber.type, exports$1.NODE_TYPE.__class__)) {
3331
3346
  (_a = cbArray === null || cbArray === void 0 ? void 0 : cbArray.listToFoot) === null || _a === void 0 ? void 0 : _a.call(cbArray, function (cb) {
3332
3347
  renderDispatch.pendingLayoutEffect(fiber, cb, { stickyToFoot: true });
3333
3348
  });
@@ -3708,8 +3723,9 @@ function requireIndex_production () {
3708
3723
  if (currentHookIndex === 0) {
3709
3724
  defaultDeleteChildEffect(renderDispatch, fiber);
3710
3725
  defaultDeleteCurrentEffect(renderDispatch, fiber);
3711
- fiber.hookList.clear();
3712
3726
  }
3727
+ return currentHook;
3728
+ // fiber.hookList.clear();
3713
3729
  }
3714
3730
  else {
3715
3731
  throw new Error("[@my-react/react] should not have a hookList for current node, this is a bug for @my-react");
@@ -4200,10 +4216,10 @@ function requireIndex_production () {
4200
4216
  var renderScheduler = currentScheduler$5.current;
4201
4217
  var flag = renderDispatch.enableConcurrentMode;
4202
4218
  var updateState = null;
4203
- if (include(fiber.type, exports.NODE_TYPE.__class__)) {
4219
+ if (include(fiber.type, exports$1.NODE_TYPE.__class__)) {
4204
4220
  updateState = flag ? processClassComponentUpdateQueueLatest(renderDispatch, fiber, flag) : processClassComponentUpdateQueueLegacy(renderDispatch, fiber);
4205
4221
  }
4206
- else if (include(fiber.type, exports.NODE_TYPE.__function__)) {
4222
+ else if (include(fiber.type, exports$1.NODE_TYPE.__function__)) {
4207
4223
  updateState = flag
4208
4224
  ? processFunctionComponentUpdateQueueLatest(renderDispatch, fiber, flag)
4209
4225
  : processFunctionComponentUpdateQueueLegacy(renderDispatch, fiber);
@@ -4289,7 +4305,7 @@ function requireIndex_production () {
4289
4305
  function MyReactFiberNode(element) {
4290
4306
  this.state = STATE_TYPE.__initial__;
4291
4307
  this.patch = PATCH_TYPE.__initial__;
4292
- this.type = exports.NODE_TYPE.__initial__;
4308
+ this.type = exports$1.NODE_TYPE.__initial__;
4293
4309
  this.child = null;
4294
4310
  this.parent = null;
4295
4311
  this.sibling = null;
@@ -4304,7 +4320,7 @@ function requireIndex_production () {
4304
4320
  this.key = key;
4305
4321
  this.type = nodeType;
4306
4322
  this.elementType = elementType;
4307
- if (include(nodeType, exports.NODE_TYPE.__function__)) {
4323
+ if (include(nodeType, exports$1.NODE_TYPE.__function__)) {
4308
4324
  this.elementRawType = element === null || element === void 0 ? void 0 : element.type;
4309
4325
  }
4310
4326
  this.pendingProps = pendingProps;
@@ -4390,7 +4406,7 @@ function requireIndex_production () {
4390
4406
  var nextProps = fiber.pendingProps;
4391
4407
  var nextRef = fiber.ref;
4392
4408
  if (prevElementType !== nextElementType || prevProps !== nextProps) {
4393
- if (include(fiber.type, exports.NODE_TYPE.__memo__)) {
4409
+ if (include(fiber.type, exports$1.NODE_TYPE.__memo__)) {
4394
4410
  var typedElement = nextElement;
4395
4411
  var typedElementType = typedElement.type;
4396
4412
  var compare = typedElementType.compare || isNormalEquals;
@@ -4409,12 +4425,12 @@ function requireIndex_production () {
4409
4425
  }
4410
4426
  }
4411
4427
  if (fiber.state !== STATE_TYPE.__stable__) {
4412
- if (include(fiber.type, exports.NODE_TYPE.__plain__)) {
4428
+ if (include(fiber.type, exports$1.NODE_TYPE.__plain__)) {
4413
4429
  if (!isNormalEquals(fiber.pendingProps, fiber.memoizedProps, function (key) { return key === "children"; })) {
4414
4430
  renderDispatch.pendingUpdate(fiber);
4415
4431
  }
4416
4432
  }
4417
- if (include(fiber.type, exports.NODE_TYPE.__text__)) {
4433
+ if (include(fiber.type, exports$1.NODE_TYPE.__text__)) {
4418
4434
  renderDispatch.pendingUpdate(fiber);
4419
4435
  }
4420
4436
  }
@@ -4561,7 +4577,7 @@ function requireIndex_production () {
4561
4577
  existingChildren.delete(index);
4562
4578
  }
4563
4579
  // same type
4564
- if (include(draftFiber_1 === null || draftFiber_1 === void 0 ? void 0 : draftFiber_1.type, exports.NODE_TYPE.__fragment__)) {
4580
+ if (include(draftFiber_1 === null || draftFiber_1 === void 0 ? void 0 : draftFiber_1.type, exports$1.NODE_TYPE.__fragment__)) {
4565
4581
  var newElement = react.createElement(Fragment, dynamicFragmentProps, newChild);
4566
4582
  return updateFiberNode(renderDispatch, { fiber: draftFiber_1, parent: parentFiber, prevFiber: prevFiberChild }, newElement);
4567
4583
  }
@@ -4694,7 +4710,7 @@ function requireIndex_production () {
4694
4710
  return children;
4695
4711
  };
4696
4712
 
4697
- var currentHookTreeNode = react.__my_react_internal__.currentHookTreeNode, currentHookNodeIndex$1 = react.__my_react_internal__.currentHookNodeIndex, currentScheduler$4 = react.__my_react_internal__.currentScheduler;
4713
+ var currentHookTreeNode = react.__my_react_internal__.currentHookTreeNode, currentHookNodeIndex$1 = react.__my_react_internal__.currentHookNodeIndex, currentScheduler$4 = react.__my_react_internal__.currentScheduler, cacheLazy = react.__my_react_internal__.cacheLazy;
4698
4714
  var triggerState = STATE_TYPE.__triggerSync__ |
4699
4715
  STATE_TYPE.__triggerSyncForce__ |
4700
4716
  STATE_TYPE.__triggerConcurrent__ |
@@ -4706,7 +4722,7 @@ function requireIndex_production () {
4706
4722
  currentHookNodeIndex$1.current = 0;
4707
4723
  var typedElementType = fiber.elementType;
4708
4724
  var children = null;
4709
- if (include(fiber.type, exports.NODE_TYPE.__forwardRef__)) {
4725
+ if (include(fiber.type, exports$1.NODE_TYPE.__forwardRef__)) {
4710
4726
  var typedElementTypeWithRef_1 = typedElementType;
4711
4727
  children = safeCallWithCurrentFiber({
4712
4728
  fiber: fiber,
@@ -4714,7 +4730,17 @@ function requireIndex_production () {
4714
4730
  var _a, _b, _c, _d;
4715
4731
  var re = undefined;
4716
4732
  try {
4717
- re = typedElementTypeWithRef_1(fiber.pendingProps, fiber.ref);
4733
+ if (typedElementTypeWithRef_1[TYPEKEY] === SERVER_REFERENCE_SYMBOL) {
4734
+ var cacheFun = react.cache(typedElementTypeWithRef_1);
4735
+ re = cacheFun(fiber.pendingProps, fiber.ref);
4736
+ // support rsc
4737
+ // rsc return promise, so we transform promise to lazy, and try to keep the lazy stable
4738
+ if (isPromise(re))
4739
+ return react.createElement(cacheLazy(re));
4740
+ }
4741
+ else {
4742
+ re = typedElementTypeWithRef_1(fiber.pendingProps, fiber.ref);
4743
+ }
4718
4744
  }
4719
4745
  catch (e) {
4720
4746
  if (isPromise(e)) {
@@ -4741,7 +4767,16 @@ function requireIndex_production () {
4741
4767
  var _a, _b, _c, _d;
4742
4768
  var re = undefined;
4743
4769
  try {
4744
- re = typedElementType(fiber.pendingProps);
4770
+ if (typedElementType[TYPEKEY] === SERVER_REFERENCE_SYMBOL) {
4771
+ var cacheFun = react.cache(typedElementType);
4772
+ re = cacheFun(fiber.pendingProps);
4773
+ // support rsc
4774
+ if (isPromise(re))
4775
+ return react.createElement(cacheLazy(re));
4776
+ }
4777
+ else {
4778
+ re = typedElementType(fiber.pendingProps);
4779
+ }
4745
4780
  }
4746
4781
  catch (e) {
4747
4782
  if (isPromise(e)) {
@@ -4770,7 +4805,7 @@ function requireIndex_production () {
4770
4805
  var WrapperBySuspenseScope = function (children) {
4771
4806
  return react.createElement(ScopeSuspense, null, react.createElement(Comment, { mode: "s" }), children, react.createElement(Comment, { mode: "e" }));
4772
4807
  };
4773
- var isCommentElement = function (fiber) { return include(fiber.type, exports.NODE_TYPE.__comment__); };
4808
+ var isCommentElement = function (fiber) { return include(fiber.type, exports$1.NODE_TYPE.__comment__); };
4774
4809
  var isCommentStartElement = function (fiber) {
4775
4810
  if (isCommentElement(fiber)) {
4776
4811
  return fiber.pendingProps["mode"] === "s";
@@ -4784,7 +4819,7 @@ function requireIndex_production () {
4784
4819
  return false;
4785
4820
  };
4786
4821
 
4787
- var enableSuspenseRoot$1 = react.__my_react_shared__.enableSuspenseRoot;
4822
+ var enableSuspenseRoot$1 = react.__my_react_shared__.enableSuspenseRoot; react.__my_react_shared__.enableDebugFiled;
4788
4823
  var currentScheduler$3 = react.__my_react_internal__.currentScheduler;
4789
4824
  var loadLazy = function (renderDispatch, typedElementType) { return __awaiter(void 0, void 0, void 0, function () {
4790
4825
  var loadedPromise, loaded, render, e_1;
@@ -4825,7 +4860,12 @@ function requireIndex_production () {
4825
4860
  }
4826
4861
  if (typedElementType._loaded === true) {
4827
4862
  var render = typedElementType.render;
4828
- return WrapperByLazyScope(react.createElement(render, fiber.pendingProps));
4863
+ if (react.isValidElement(render)) {
4864
+ return WrapperByLazyScope(react.cloneElement(render));
4865
+ }
4866
+ else {
4867
+ return WrapperByLazyScope(react.createElement(render, fiber.pendingProps));
4868
+ }
4829
4869
  }
4830
4870
  typedElementType._list = typedElementType._list || new Set();
4831
4871
  typedElementType._list.add(fiber);
@@ -5033,7 +5073,7 @@ function requireIndex_production () {
5033
5073
  nextWorkCommon(renderDispatch, fiber, children);
5034
5074
  };
5035
5075
  var nextWorkComponent = function (renderDispatch, fiber) {
5036
- if (include(fiber.type, exports.NODE_TYPE.__function__)) {
5076
+ if (include(fiber.type, exports$1.NODE_TYPE.__function__)) {
5037
5077
  currentComponentFiber$1.current = fiber;
5038
5078
  nextWorkFunctionComponent(renderDispatch, fiber);
5039
5079
  currentComponentFiber$1.current = null;
@@ -5153,14 +5193,14 @@ function requireIndex_production () {
5153
5193
  if ((fiber === null || fiber === void 0 ? void 0 : fiber.parent) && ContextObject) {
5154
5194
  var parent_1 = fiber.parent;
5155
5195
  while (parent_1) {
5156
- if (include(parent_1.type, exports.NODE_TYPE.__provider__)) {
5196
+ if (include(parent_1.type, exports$1.NODE_TYPE.__provider__)) {
5157
5197
  var typedElementType = parent_1.elementType;
5158
5198
  var contextObj = typedElementType["Context"];
5159
5199
  if (contextObj === ContextObject) {
5160
5200
  return parent_1;
5161
5201
  }
5162
5202
  }
5163
- if (include(parent_1.type, exports.NODE_TYPE.__context__)) {
5203
+ if (include(parent_1.type, exports$1.NODE_TYPE.__context__)) {
5164
5204
  var typedElementType = parent_1.elementType;
5165
5205
  var contextObj = typedElementType;
5166
5206
  if (contextObj === ContextObject) {
@@ -5291,7 +5331,7 @@ function requireIndex_production () {
5291
5331
  var defaultResolveScope = function (fiber) {
5292
5332
  var parent = fiber.parent;
5293
5333
  while (parent) {
5294
- if (include(parent.type, exports.NODE_TYPE.__scope__) || include(parent.type, exports.NODE_TYPE.__scopeSuspense__)) {
5334
+ if (include(parent.type, exports$1.NODE_TYPE.__scope__) || include(parent.type, exports$1.NODE_TYPE.__scopeSuspense__)) {
5295
5335
  return parent;
5296
5336
  }
5297
5337
  parent = parent.parent;
@@ -5331,22 +5371,22 @@ function requireIndex_production () {
5331
5371
  });
5332
5372
  }
5333
5373
  });
5334
- _list.listToHead(function invokePositionList(_fiber) {
5374
+ _list.listToFoot(function invokeAppendList(_fiber) {
5335
5375
  if (exclude(_fiber.state, STATE_TYPE.__unmount__) && !_dispatch.isAppUnmounted) {
5336
5376
  safeCallWithCurrentFiber({
5337
5377
  fiber: _fiber,
5338
- action: function safeCallPosition() {
5339
- _dispatch.commitPosition(_fiber);
5378
+ action: function safeCallAppendList() {
5379
+ _dispatch.commitAppend(_fiber);
5340
5380
  },
5341
5381
  });
5342
5382
  }
5343
5383
  });
5344
- _list.listToFoot(function invokeAppendList(_fiber) {
5384
+ _list.listToHead(function invokePositionList(_fiber) {
5345
5385
  if (exclude(_fiber.state, STATE_TYPE.__unmount__) && !_dispatch.isAppUnmounted) {
5346
5386
  safeCallWithCurrentFiber({
5347
5387
  fiber: _fiber,
5348
- action: function safeCallAppendList() {
5349
- _dispatch.commitAppend(_fiber);
5388
+ action: function safeCallPosition() {
5389
+ _dispatch.commitPosition(_fiber);
5350
5390
  },
5351
5391
  });
5352
5392
  }
@@ -5442,7 +5482,7 @@ function requireIndex_production () {
5442
5482
  return resolveHookValue(currentHook, field);
5443
5483
  };
5444
5484
 
5445
- var enableSuspenseRoot = react.__my_react_shared__.enableSuspenseRoot;
5485
+ var enableSuspenseRoot = react.__my_react_shared__.enableSuspenseRoot; react.__my_react_shared__.enableDebugFiled;
5446
5486
  var currentScheduler = react.__my_react_internal__.currentScheduler;
5447
5487
  var loadPromise = function (renderDispatch, promise) { return __awaiter(void 0, void 0, void 0, function () {
5448
5488
  var value, reason_1;
@@ -5453,20 +5493,22 @@ function requireIndex_production () {
5453
5493
  return [2 /*return*/];
5454
5494
  _a.label = 1;
5455
5495
  case 1:
5456
- _a.trys.push([1, 3, , 4]);
5496
+ _a.trys.push([1, 3, 4, 5]);
5457
5497
  promise.status = "pending";
5458
5498
  return [4 /*yield*/, Promise.resolve(promise)];
5459
5499
  case 2:
5460
5500
  value = _a.sent();
5461
5501
  promise.status = "fulfilled";
5462
5502
  promise._value = value;
5463
- return [3 /*break*/, 4];
5503
+ return [3 /*break*/, 5];
5464
5504
  case 3:
5465
5505
  reason_1 = _a.sent();
5466
5506
  promise.status = "rejected";
5467
5507
  promise._reason = reason_1;
5468
- return [3 /*break*/, 4];
5469
- case 4: return [2 /*return*/];
5508
+ return [3 /*break*/, 5];
5509
+ case 4:
5510
+ return [7 /*endfinally*/];
5511
+ case 5: return [2 /*return*/];
5470
5512
  }
5471
5513
  });
5472
5514
  }); };
@@ -5593,11 +5635,11 @@ function requireIndex_production () {
5593
5635
  retriggerFiber: null,
5594
5636
  }); };
5595
5637
  var initialRef = {
5596
- typeForRef: exports.NODE_TYPE.__plain__ | exports.NODE_TYPE.__class__,
5597
- typeForCreate: exports.NODE_TYPE.__text__ | exports.NODE_TYPE.__plain__ | exports.NODE_TYPE.__portal__ | exports.NODE_TYPE.__comment__,
5598
- typeForUpdate: exports.NODE_TYPE.__text__ | exports.NODE_TYPE.__plain__ | exports.NODE_TYPE.__comment__,
5599
- typeForAppend: exports.NODE_TYPE.__text__ | exports.NODE_TYPE.__plain__ | exports.NODE_TYPE.__comment__,
5600
- typeForNativeNode: exports.NODE_TYPE.__text__ | exports.NODE_TYPE.__plain__ | exports.NODE_TYPE.__portal__ | exports.NODE_TYPE.__comment__,
5638
+ typeForRef: exports$1.NODE_TYPE.__plain__ | exports$1.NODE_TYPE.__class__,
5639
+ typeForCreate: exports$1.NODE_TYPE.__text__ | exports$1.NODE_TYPE.__plain__ | exports$1.NODE_TYPE.__portal__ | exports$1.NODE_TYPE.__comment__,
5640
+ typeForUpdate: exports$1.NODE_TYPE.__text__ | exports$1.NODE_TYPE.__plain__ | exports$1.NODE_TYPE.__comment__,
5641
+ typeForAppend: exports$1.NODE_TYPE.__text__ | exports$1.NODE_TYPE.__plain__ | exports$1.NODE_TYPE.__comment__,
5642
+ typeForNativeNode: exports$1.NODE_TYPE.__text__ | exports$1.NODE_TYPE.__plain__ | exports$1.NODE_TYPE.__portal__ | exports$1.NODE_TYPE.__comment__,
5601
5643
  };
5602
5644
  var listenerMap = dispatchToListenerMap;
5603
5645
  var RenderDispatchEvent = /** @class */ (function (_super) {
@@ -5701,628 +5743,668 @@ function requireIndex_production () {
5701
5743
  RenderDispatchEvent.prototype.resetYield = function () {
5702
5744
  };
5703
5745
  RenderDispatchEvent.prototype.onFiberInitial = function (cb) {
5704
- var set = listenerMap.get(this).fiberInitial;
5705
- set.add(cb);
5706
- return function () { return set.delete(cb); };
5746
+ var _a;
5747
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberInitial;
5748
+ set === null || set === void 0 ? void 0 : set.add(cb);
5749
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
5707
5750
  };
5708
5751
  RenderDispatchEvent.prototype.onceFiberInitial = function (cb) {
5709
- var set = listenerMap.get(this).fiberInitial;
5752
+ var _a;
5753
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberInitial;
5710
5754
  var onceCb = function (_fiber) {
5711
5755
  cb(_fiber);
5712
- set.delete(onceCb);
5756
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
5713
5757
  };
5714
- set.add(onceCb);
5758
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
5715
5759
  };
5716
5760
  RenderDispatchEvent.prototype.callOnFiberInitial = function (_fiber) {
5717
- var _a;
5718
- var set = listenerMap.get(this).fiberInitial;
5719
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_fiber); });
5761
+ var _a, _b;
5762
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberInitial;
5763
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_fiber); });
5720
5764
  };
5721
5765
  RenderDispatchEvent.prototype.onFiberUpdate = function (cb) {
5722
- var set = listenerMap.get(this).fiberUpdate;
5723
- set.add(cb);
5724
- return function () { return set.delete(cb); };
5766
+ var _a;
5767
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberUpdate;
5768
+ set === null || set === void 0 ? void 0 : set.add(cb);
5769
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
5725
5770
  };
5726
5771
  RenderDispatchEvent.prototype.onceFiberUpdate = function (cb) {
5727
- var set = listenerMap.get(this).fiberUpdate;
5772
+ var _a;
5773
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberUpdate;
5728
5774
  var onceCb = function (_fiber) {
5729
5775
  cb(_fiber);
5730
- set.delete(onceCb);
5776
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
5731
5777
  };
5732
- set.add(onceCb);
5778
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
5733
5779
  };
5734
5780
  RenderDispatchEvent.prototype.callOnFiberUpdate = function (_fiber) {
5735
- var _a;
5736
- var set = listenerMap.get(this).fiberUpdate;
5737
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_fiber); });
5781
+ var _a, _b;
5782
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberUpdate;
5783
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_fiber); });
5738
5784
  };
5739
5785
  RenderDispatchEvent.prototype.onFiberChange = function (cb) {
5740
- var set = listenerMap.get(this).fiberHasChange;
5741
- set.add(cb);
5742
- return function () { return set.delete(cb); };
5786
+ var _a;
5787
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberHasChange;
5788
+ set === null || set === void 0 ? void 0 : set.add(cb);
5789
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
5743
5790
  };
5744
5791
  RenderDispatchEvent.prototype.onceFiberChange = function (cb) {
5745
- var set = listenerMap.get(this).fiberHasChange;
5792
+ var _a;
5793
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberHasChange;
5746
5794
  var onceCb = function (_list) {
5747
5795
  cb(_list);
5748
- set.delete(onceCb);
5796
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
5749
5797
  };
5750
- set.add(onceCb);
5798
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
5751
5799
  };
5752
5800
  RenderDispatchEvent.prototype.callOnFiberChange = function (_list) {
5753
- var _a;
5754
- var set = listenerMap.get(this).fiberHasChange;
5755
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_list); });
5801
+ var _a, _b;
5802
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberHasChange;
5803
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_list); });
5756
5804
  };
5757
5805
  RenderDispatchEvent.prototype.onFiberUnmount = function (cb) {
5758
- var set = listenerMap.get(this).fiberUnmount;
5759
- set.add(cb);
5760
- return function () { return set.delete(cb); };
5806
+ var _a;
5807
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberUnmount;
5808
+ set === null || set === void 0 ? void 0 : set.add(cb);
5809
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
5761
5810
  };
5762
5811
  RenderDispatchEvent.prototype.onceFiberUnmount = function (cb) {
5763
- var set = listenerMap.get(this).fiberUnmount;
5812
+ var _a;
5813
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberUnmount;
5764
5814
  var onceCb = function (_fiber) {
5765
5815
  cb(_fiber);
5766
- set.delete(onceCb);
5816
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
5767
5817
  };
5768
- set.add(onceCb);
5818
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
5769
5819
  };
5770
5820
  RenderDispatchEvent.prototype.callOnFiberUnmount = function (_fiber) {
5771
- var _a;
5772
- var set = listenerMap.get(this).fiberUnmount;
5773
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_fiber); });
5821
+ var _a, _b;
5822
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberUnmount;
5823
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_fiber); });
5774
5824
  };
5775
5825
  RenderDispatchEvent.prototype.onFiberState = function (cb) {
5776
- var set = listenerMap.get(this).fiberState;
5777
- set.add(cb);
5778
- return function () { return set.delete(cb); };
5826
+ var _a;
5827
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberState;
5828
+ set === null || set === void 0 ? void 0 : set.add(cb);
5829
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
5779
5830
  };
5780
5831
  RenderDispatchEvent.prototype.onceFiberState = function (cb) {
5781
- var set = listenerMap.get(this).fiberState;
5832
+ var _a;
5833
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberState;
5782
5834
  var onceCb = function (_fiber, _updater) {
5783
5835
  cb(_fiber, _updater);
5784
- set.delete(onceCb);
5836
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
5785
5837
  };
5786
- set.add(onceCb);
5838
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
5787
5839
  };
5788
5840
  RenderDispatchEvent.prototype.callOnFiberState = function (_fiber, _updater) {
5789
- var _a;
5790
- var set = listenerMap.get(this).fiberState;
5791
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_fiber, _updater); });
5841
+ var _a, _b;
5842
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberState;
5843
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_fiber, _updater); });
5792
5844
  };
5793
5845
  RenderDispatchEvent.prototype.onFiberTrigger = function (cb) {
5794
- var set = listenerMap.get(this).fiberTrigger;
5795
- set.add(cb);
5796
- return function () { return set.delete(cb); };
5846
+ var _a;
5847
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberTrigger;
5848
+ set === null || set === void 0 ? void 0 : set.add(cb);
5849
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
5797
5850
  };
5798
5851
  RenderDispatchEvent.prototype.onceFiberTrigger = function (cb) {
5799
- var set = listenerMap.get(this).fiberTrigger;
5852
+ var _a;
5853
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberTrigger;
5800
5854
  var onceCb = function (_fiber, _state) {
5801
5855
  cb(_fiber, _state);
5802
- set.delete(onceCb);
5856
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
5803
5857
  };
5804
- set.add(onceCb);
5858
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
5805
5859
  };
5806
5860
  RenderDispatchEvent.prototype.callOnFiberTrigger = function (_fiber, _state) {
5807
- var _a;
5808
- var set = listenerMap.get(this).fiberTrigger;
5809
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_fiber, _state); });
5861
+ var _a, _b;
5862
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberTrigger;
5863
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_fiber, _state); });
5810
5864
  };
5811
5865
  RenderDispatchEvent.prototype.onFiberHMR = function (cb) {
5812
- var _a;
5813
- var set = listenerMap.get(this).fiberHMR;
5814
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, cb);
5866
+ var _a, _b;
5867
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberHMR;
5868
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, cb);
5815
5869
  return function () { var _a; return (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, cb); };
5816
5870
  };
5817
5871
  RenderDispatchEvent.prototype.onceFiberHMR = function (cb) {
5818
- var _a;
5819
- var set = listenerMap.get(this).fiberHMR;
5872
+ var _a, _b;
5873
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberHMR;
5820
5874
  var onceCb = function (_fiber, _forceRefresh) {
5821
5875
  var _a;
5822
5876
  cb(_fiber, _forceRefresh);
5823
5877
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5824
5878
  };
5825
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5879
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, onceCb);
5826
5880
  };
5827
5881
  RenderDispatchEvent.prototype.callOnFiberHMR = function (_fiber, _forceRefresh) {
5828
- var _a;
5829
- var set = listenerMap.get(this).fiberHMR;
5830
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_fiber, _forceRefresh); });
5882
+ var _a, _b;
5883
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberHMR;
5884
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_fiber, _forceRefresh); });
5831
5885
  };
5832
5886
  RenderDispatchEvent.prototype.onFiberWarn = function (cb) {
5833
- var _a;
5834
- var set = listenerMap.get(this).fiberWarn;
5835
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, cb);
5887
+ var _a, _b;
5888
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberWarn;
5889
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, cb);
5836
5890
  return function () { var _a; return (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, cb); };
5837
5891
  };
5838
5892
  RenderDispatchEvent.prototype.onceFiberWarn = function (cb) {
5839
- var _a;
5840
- var set = listenerMap.get(this).fiberWarn;
5893
+ var _a, _b;
5894
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberWarn;
5841
5895
  var onceCb = function (_fiber) {
5842
5896
  var _a;
5843
5897
  cb(_fiber);
5844
5898
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5845
5899
  };
5846
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5900
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, onceCb);
5847
5901
  };
5848
5902
  RenderDispatchEvent.prototype.callOnFiberWarn = function (_fiber) {
5849
- var _a;
5903
+ var _a, _b;
5850
5904
  var args = [];
5851
5905
  for (var _i = 1; _i < arguments.length; _i++) {
5852
5906
  args[_i - 1] = arguments[_i];
5853
5907
  }
5854
- var set = listenerMap.get(this).fiberWarn;
5855
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb.apply(void 0, __spreadArray([_fiber], args, false)); });
5908
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberWarn;
5909
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb.apply(void 0, __spreadArray([_fiber], args, false)); });
5856
5910
  };
5857
5911
  RenderDispatchEvent.prototype.onFiberError = function (cb) {
5858
- var _a;
5859
- var set = listenerMap.get(this).fiberError;
5860
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, cb);
5912
+ var _a, _b;
5913
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberError;
5914
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, cb);
5861
5915
  return function () { var _a; return (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, cb); };
5862
5916
  };
5863
5917
  RenderDispatchEvent.prototype.onceFiberError = function (cb) {
5864
- var _a;
5865
- var set = listenerMap.get(this).fiberError;
5918
+ var _a, _b;
5919
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberError;
5866
5920
  var onceCb = function (_fiber) {
5867
5921
  var _a;
5868
5922
  cb(_fiber);
5869
5923
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5870
5924
  };
5871
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5925
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, onceCb);
5872
5926
  };
5873
5927
  RenderDispatchEvent.prototype.callOnFiberError = function (_fiber) {
5874
- var _a;
5928
+ var _a, _b;
5875
5929
  var args = [];
5876
5930
  for (var _i = 1; _i < arguments.length; _i++) {
5877
5931
  args[_i - 1] = arguments[_i];
5878
5932
  }
5879
- var set = listenerMap.get(this).fiberError;
5880
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb.apply(void 0, __spreadArray([_fiber], args, false)); });
5933
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberError;
5934
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb.apply(void 0, __spreadArray([_fiber], args, false)); });
5881
5935
  };
5882
5936
  RenderDispatchEvent.prototype.onPerformanceWarn = function (cb) {
5883
- var _a;
5884
- var set = listenerMap.get(this).performanceWarn;
5885
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, cb);
5937
+ var _a, _b;
5938
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.performanceWarn;
5939
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, cb);
5886
5940
  return function () { var _a; return (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, cb); };
5887
5941
  };
5888
5942
  RenderDispatchEvent.prototype.oncePerformanceWarn = function (cb) {
5889
- var _a;
5890
- var set = listenerMap.get(this).performanceWarn;
5943
+ var _a, _b;
5944
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.performanceWarn;
5891
5945
  var onceCb = function (_fiber, _renderTime) {
5892
5946
  var _a;
5893
5947
  cb(_fiber, _renderTime);
5894
5948
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5895
5949
  };
5896
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5950
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, onceCb);
5897
5951
  };
5898
5952
  RenderDispatchEvent.prototype.callOnPerformanceWarn = function (_fiber, _renderTime) {
5899
- var _a;
5900
- var set = listenerMap.get(this).performanceWarn;
5901
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_fiber, _renderTime); });
5953
+ var _a, _b;
5954
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.performanceWarn;
5955
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_fiber, _renderTime); });
5902
5956
  };
5903
5957
  RenderDispatchEvent.prototype.onBeforeFiberRun = function (cb) {
5904
- var _a;
5905
- var set = listenerMap.get(this).beforeFiberRun;
5906
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, cb);
5958
+ var _a, _b;
5959
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeFiberRun;
5960
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, cb);
5907
5961
  return function () { var _a; return (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, cb); };
5908
5962
  };
5909
5963
  RenderDispatchEvent.prototype.onceBeforeFiberRun = function (cb) {
5910
- var _a;
5911
- var set = listenerMap.get(this).beforeFiberRun;
5964
+ var _a, _b;
5965
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeFiberRun;
5912
5966
  var onceCb = function (_fiber) {
5913
5967
  var _a;
5914
5968
  cb(_fiber);
5915
5969
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5916
5970
  };
5917
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5971
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, onceCb);
5918
5972
  };
5919
5973
  RenderDispatchEvent.prototype.callOnBeforeFiberRun = function (_fiber) {
5920
- var _a;
5921
- var set = listenerMap.get(this).beforeFiberRun;
5922
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_fiber); });
5974
+ var _a, _b;
5975
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeFiberRun;
5976
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_fiber); });
5923
5977
  };
5924
5978
  RenderDispatchEvent.prototype.onAfterFiberRun = function (cb) {
5925
- var _a;
5926
- var set = listenerMap.get(this).afterFiberRun;
5927
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, cb);
5979
+ var _a, _b;
5980
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterFiberRun;
5981
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, cb);
5928
5982
  return function () { var _a; return (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, cb); };
5929
5983
  };
5930
5984
  RenderDispatchEvent.prototype.onceAfterFiberRun = function (cb) {
5931
- var _a;
5932
- var set = listenerMap.get(this).afterFiberRun;
5985
+ var _a, _b;
5986
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterFiberRun;
5933
5987
  var onceCb = function (_fiber) {
5934
5988
  var _a;
5935
5989
  cb(_fiber);
5936
5990
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5937
5991
  };
5938
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5992
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, onceCb);
5939
5993
  };
5940
5994
  RenderDispatchEvent.prototype.callOnAfterFiberRun = function (_fiber) {
5941
- var _a;
5942
- var set = listenerMap.get(this).afterFiberRun;
5943
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_fiber); });
5995
+ var _a, _b;
5996
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterFiberRun;
5997
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_fiber); });
5944
5998
  };
5945
5999
  RenderDispatchEvent.prototype.onAfterFiberDone = function (cb) {
5946
- var _a;
5947
- var set = listenerMap.get(this).afterFiberDone;
5948
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, cb);
6000
+ var _a, _b;
6001
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterFiberDone;
6002
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, cb);
5949
6003
  return function () { var _a; return (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, cb); };
5950
6004
  };
5951
6005
  RenderDispatchEvent.prototype.onceAfterFiberDone = function (cb) {
5952
- var _a;
5953
- var set = listenerMap.get(this).afterFiberDone;
6006
+ var _a, _b;
6007
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterFiberDone;
5954
6008
  var onceCb = function (_fiber) {
5955
6009
  var _a;
5956
6010
  cb(_fiber);
5957
6011
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5958
6012
  };
5959
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
6013
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, onceCb);
5960
6014
  };
5961
6015
  RenderDispatchEvent.prototype.callOnAfterFiberDone = function (_fiber) {
5962
- var _a;
5963
- var set = listenerMap.get(this).afterFiberDone;
5964
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_fiber); });
6016
+ var _a, _b;
6017
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterFiberDone;
6018
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_fiber); });
5965
6019
  };
5966
6020
  RenderDispatchEvent.prototype.onBeforeDispatchRender = function (cb) {
5967
- var _a;
5968
- var set = listenerMap.get(this).beforeDispatchRender;
5969
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, cb);
6021
+ var _a, _b;
6022
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeDispatchRender;
6023
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, cb);
5970
6024
  return function () { var _a; return (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, cb); };
5971
6025
  };
5972
6026
  RenderDispatchEvent.prototype.onceBeforeDispatchRender = function (cb) {
5973
- var _a;
5974
- var set = listenerMap.get(this).beforeDispatchRender;
6027
+ var _a, _b;
6028
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeDispatchRender;
5975
6029
  var onceCb = function (renderDispatch, fiber) {
5976
6030
  var _a;
5977
6031
  cb(renderDispatch, fiber);
5978
6032
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5979
6033
  };
5980
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
6034
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, onceCb);
5981
6035
  };
5982
6036
  RenderDispatchEvent.prototype.callOnBeforeDispatchRender = function (renderDispatch, fiber) {
5983
- var _a;
5984
- var set = listenerMap.get(this).beforeDispatchRender;
5985
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(renderDispatch, fiber); });
6037
+ var _a, _b;
6038
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeDispatchRender;
6039
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(renderDispatch, fiber); });
5986
6040
  };
5987
6041
  RenderDispatchEvent.prototype.onAfterDispatchRender = function (cb) {
5988
- var _a;
5989
- var set = listenerMap.get(this).afterDispatchRender;
5990
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, cb);
6042
+ var _a, _b;
6043
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterDispatchRender;
6044
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, cb);
5991
6045
  return function () { var _a; return (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, cb); };
5992
6046
  };
5993
6047
  RenderDispatchEvent.prototype.onceAfterDispatchRender = function (cb) {
5994
- var _a;
5995
- var set = listenerMap.get(this).afterDispatchRender;
6048
+ var _a, _b;
6049
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterDispatchRender;
5996
6050
  var onceCb = function (renderDispatch) {
5997
6051
  var _a;
5998
6052
  cb(renderDispatch);
5999
6053
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
6000
6054
  };
6001
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
6055
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, onceCb);
6002
6056
  };
6003
6057
  RenderDispatchEvent.prototype.callOnAfterDispatchRender = function (renderDispatch) {
6004
- var _a;
6005
- var set = listenerMap.get(this).afterDispatchRender;
6006
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(renderDispatch); });
6058
+ var _a, _b;
6059
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterDispatchRender;
6060
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(renderDispatch); });
6007
6061
  };
6008
6062
  RenderDispatchEvent.prototype.onBeforeDispatchUpdate = function (cb) {
6009
- var _a;
6010
- var set = listenerMap.get(this).beforeDispatchUpdate;
6011
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, cb);
6063
+ var _a, _b;
6064
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeDispatchUpdate;
6065
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, cb);
6012
6066
  return function () { var _a; return (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, cb); };
6013
6067
  };
6014
6068
  RenderDispatchEvent.prototype.onceBeforeDispatchUpdate = function (cb) {
6015
- var _a;
6016
- var set = listenerMap.get(this).beforeDispatchUpdate;
6069
+ var _a, _b;
6070
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeDispatchUpdate;
6017
6071
  var onceCb = function (renderDispatch, list) {
6018
6072
  var _a;
6019
6073
  cb(renderDispatch, list);
6020
6074
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
6021
6075
  };
6022
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
6076
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, onceCb);
6023
6077
  };
6024
6078
  RenderDispatchEvent.prototype.callOnBeforeDispatchUpdate = function (renderDispatch, list) {
6025
- var _a;
6026
- var set = listenerMap.get(this).beforeDispatchUpdate;
6027
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(renderDispatch, list); });
6079
+ var _a, _b;
6080
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeDispatchUpdate;
6081
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(renderDispatch, list); });
6028
6082
  };
6029
6083
  RenderDispatchEvent.prototype.onAfterDispatchUpdate = function (cb) {
6030
- var _a;
6031
- var set = listenerMap.get(this).afterDispatchUpdate;
6032
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, cb);
6084
+ var _a, _b;
6085
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterDispatchUpdate;
6086
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, cb);
6033
6087
  return function () { var _a; return (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, cb); };
6034
6088
  };
6035
6089
  RenderDispatchEvent.prototype.onceAfterDispatchUpdate = function (cb) {
6036
- var _a;
6037
- var set = listenerMap.get(this).afterDispatchUpdate;
6090
+ var _a, _b;
6091
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterDispatchUpdate;
6038
6092
  var onceCb = function (renderDispatch) {
6039
6093
  var _a;
6040
6094
  cb(renderDispatch);
6041
6095
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
6042
6096
  };
6043
- (_a = set === null || set === void 0 ? void 0 : set.add) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
6097
+ (_b = set === null || set === void 0 ? void 0 : set.add) === null || _b === void 0 ? void 0 : _b.call(set, onceCb);
6044
6098
  };
6045
6099
  RenderDispatchEvent.prototype.callOnAfterDispatchUpdate = function (renderDispatch) {
6046
- var _a;
6047
- var set = listenerMap.get(this).afterDispatchUpdate;
6048
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(renderDispatch); });
6100
+ var _a, _b;
6101
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterDispatchUpdate;
6102
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(renderDispatch); });
6049
6103
  };
6050
6104
  RenderDispatchEvent.prototype.onInstanceInitial = function (cb) {
6051
- var set = listenerMap.get(this).instanceInitial;
6052
- set.add(cb);
6053
- return function () { return set.delete(cb); };
6105
+ var _a;
6106
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceInitial;
6107
+ set === null || set === void 0 ? void 0 : set.add(cb);
6108
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6054
6109
  };
6055
6110
  RenderDispatchEvent.prototype.onceInstanceInitial = function (cb) {
6056
- var set = listenerMap.get(this).instanceInitial;
6111
+ var _a;
6112
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceInitial;
6057
6113
  var onceCb = function (_instance, _fiber) {
6058
6114
  cb(_instance, _fiber);
6059
- set.delete(onceCb);
6115
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6060
6116
  };
6061
- set.add(onceCb);
6117
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6062
6118
  };
6063
6119
  RenderDispatchEvent.prototype.callOnInstanceInitial = function (_instance, _fiber) {
6064
- var _a;
6065
- var set = listenerMap.get(this).instanceInitial;
6066
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_instance, _fiber); });
6120
+ var _a, _b;
6121
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceInitial;
6122
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_instance, _fiber); });
6067
6123
  };
6068
6124
  RenderDispatchEvent.prototype.onInstanceUpdate = function (cb) {
6069
- var set = listenerMap.get(this).instanceUpdate;
6070
- set.add(cb);
6071
- return function () { return set.delete(cb); };
6125
+ var _a;
6126
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceUpdate;
6127
+ set === null || set === void 0 ? void 0 : set.add(cb);
6128
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6072
6129
  };
6073
6130
  RenderDispatchEvent.prototype.onceInstanceUpdate = function (cb) {
6074
- var set = listenerMap.get(this).instanceUpdate;
6131
+ var _a;
6132
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceUpdate;
6075
6133
  var onceCb = function (_instance, _fiber) {
6076
6134
  cb(_instance, _fiber);
6077
- set.delete(onceCb);
6135
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6078
6136
  };
6079
- set.add(onceCb);
6137
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6080
6138
  };
6081
6139
  RenderDispatchEvent.prototype.callOnInstanceUpdate = function (_instance, _fiber) {
6082
- var _a;
6083
- var set = listenerMap.get(this).instanceUpdate;
6084
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_instance, _fiber); });
6140
+ var _a, _b;
6141
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceUpdate;
6142
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_instance, _fiber); });
6085
6143
  };
6086
6144
  RenderDispatchEvent.prototype.onInstanceState = function (cb) {
6087
- var set = listenerMap.get(this).instanceState;
6088
- set.add(cb);
6089
- return function () { return set.delete(cb); };
6145
+ var _a;
6146
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceState;
6147
+ set === null || set === void 0 ? void 0 : set.add(cb);
6148
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6090
6149
  };
6091
6150
  RenderDispatchEvent.prototype.onceInstanceState = function (cb) {
6092
- var set = listenerMap.get(this).instanceState;
6151
+ var _a;
6152
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceState;
6093
6153
  var onceCb = function (_instance, _fiber, _updater) {
6094
6154
  cb(_instance, _fiber, _updater);
6095
- set.delete(onceCb);
6155
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6096
6156
  };
6097
- set.add(onceCb);
6157
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6098
6158
  };
6099
6159
  RenderDispatchEvent.prototype.callOnInstanceState = function (_instance, _fiber, _updater) {
6100
- var _a;
6101
- var set = listenerMap.get(this).instanceState;
6102
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_instance, _fiber, _updater); });
6160
+ var _a, _b;
6161
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceState;
6162
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_instance, _fiber, _updater); });
6103
6163
  };
6104
6164
  RenderDispatchEvent.prototype.onInstanceUnmount = function (cb) {
6105
- var set = listenerMap.get(this).instanceUnmount;
6106
- set.add(cb);
6107
- return function () { return set.delete(cb); };
6165
+ var _a;
6166
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceUnmount;
6167
+ set === null || set === void 0 ? void 0 : set.add(cb);
6168
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6108
6169
  };
6109
6170
  RenderDispatchEvent.prototype.onceInstanceUnmount = function (cb) {
6110
- var set = listenerMap.get(this).instanceUnmount;
6171
+ var _a;
6172
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceUnmount;
6111
6173
  var onceCb = function (_instance, _fiber) {
6112
6174
  cb(_instance, _fiber);
6113
- set.delete(onceCb);
6175
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6114
6176
  };
6115
- set.add(onceCb);
6177
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6116
6178
  };
6117
6179
  RenderDispatchEvent.prototype.callOnInstanceUnmount = function (_instance, _fiber) {
6118
- var _a;
6119
- var set = listenerMap.get(this).instanceUnmount;
6120
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_instance, _fiber); });
6180
+ var _a, _b;
6181
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceUnmount;
6182
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_instance, _fiber); });
6121
6183
  };
6122
6184
  RenderDispatchEvent.prototype.onHookInitial = function (cb) {
6123
- var set = listenerMap.get(this).hookInitial;
6124
- set.add(cb);
6125
- return function () { return set.delete(cb); };
6185
+ var _a;
6186
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookInitial;
6187
+ set === null || set === void 0 ? void 0 : set.add(cb);
6188
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6126
6189
  };
6127
6190
  RenderDispatchEvent.prototype.onceHookInitial = function (cb) {
6128
- var set = listenerMap.get(this).hookInitial;
6191
+ var _a;
6192
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookInitial;
6129
6193
  var onceCb = function (_hook, _fiber) {
6130
6194
  cb(_hook, _fiber);
6131
- set.delete(onceCb);
6195
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6132
6196
  };
6133
- set.add(onceCb);
6197
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6134
6198
  };
6135
6199
  RenderDispatchEvent.prototype.callOnHookInitial = function (_hook, _fiber) {
6136
- var _a;
6137
- var set = listenerMap.get(this).hookInitial;
6138
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_hook, _fiber); });
6200
+ var _a, _b;
6201
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookInitial;
6202
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_hook, _fiber); });
6139
6203
  };
6140
6204
  RenderDispatchEvent.prototype.onHookUpdate = function (cb) {
6141
- var set = listenerMap.get(this).hookUpdate;
6142
- set.add(cb);
6143
- return function () { return set.delete(cb); };
6205
+ var _a;
6206
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookUpdate;
6207
+ set === null || set === void 0 ? void 0 : set.add(cb);
6208
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6144
6209
  };
6145
6210
  RenderDispatchEvent.prototype.onceHookUpdate = function (cb) {
6146
- var set = listenerMap.get(this).hookUpdate;
6211
+ var _a;
6212
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookUpdate;
6147
6213
  var onceCb = function (_hook, _fiber) {
6148
6214
  cb(_hook, _fiber);
6149
- set.delete(onceCb);
6215
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6150
6216
  };
6151
- set.add(onceCb);
6217
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6152
6218
  };
6153
6219
  RenderDispatchEvent.prototype.callOnHookUpdate = function (_hook, _fiber) {
6154
- var _a;
6155
- var set = listenerMap.get(this).hookUpdate;
6156
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_hook, _fiber); });
6220
+ var _a, _b;
6221
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookUpdate;
6222
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_hook, _fiber); });
6157
6223
  };
6158
6224
  RenderDispatchEvent.prototype.onHookUnmount = function (cb) {
6159
- var set = listenerMap.get(this).hookUnmount;
6160
- set.add(cb);
6161
- return function () { return set.delete(cb); };
6225
+ var _a;
6226
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookUnmount;
6227
+ set === null || set === void 0 ? void 0 : set.add(cb);
6228
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6162
6229
  };
6163
6230
  RenderDispatchEvent.prototype.onceHookUnmount = function (cb) {
6164
- var set = listenerMap.get(this).hookUnmount;
6231
+ var _a;
6232
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookUnmount;
6165
6233
  var onceCb = function (_hook, _fiber) {
6166
6234
  cb(_hook, _fiber);
6167
- set.delete(onceCb);
6235
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6168
6236
  };
6169
- set.add(onceCb);
6237
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6170
6238
  };
6171
6239
  RenderDispatchEvent.prototype.callOnHookUnmount = function (_hook, _fiber) {
6172
- var _a;
6173
- var set = listenerMap.get(this).hookUnmount;
6174
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_hook, _fiber); });
6240
+ var _a, _b;
6241
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookUnmount;
6242
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_hook, _fiber); });
6175
6243
  };
6176
6244
  RenderDispatchEvent.prototype.onHookState = function (cb) {
6177
- var set = listenerMap.get(this).hookState;
6178
- set.add(cb);
6179
- return function () { return set.delete(cb); };
6245
+ var _a;
6246
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookState;
6247
+ set === null || set === void 0 ? void 0 : set.add(cb);
6248
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6180
6249
  };
6181
6250
  RenderDispatchEvent.prototype.onceHookTrigger = function (cb) {
6182
- var set = listenerMap.get(this).hookState;
6251
+ var _a;
6252
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookState;
6183
6253
  var onceCb = function (_hook, _fiber, _updater) {
6184
6254
  cb(_hook, _fiber, _updater);
6185
- set.delete(onceCb);
6255
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6186
6256
  };
6187
- set.add(onceCb);
6257
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6188
6258
  };
6189
6259
  RenderDispatchEvent.prototype.callOnHookState = function (_hook, _fiber, _updater) {
6190
- var _a;
6191
- var set = listenerMap.get(this).hookState;
6192
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(_hook, _fiber, _updater); });
6260
+ var _a, _b;
6261
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookState;
6262
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(_hook, _fiber, _updater); });
6193
6263
  };
6194
6264
  RenderDispatchEvent.prototype.onBeforeCommitMount = function (cb) {
6195
- var set = listenerMap.get(this).beforeCommitMount;
6196
- set.add(cb);
6197
- return function () { return set.delete(cb); };
6265
+ var _a;
6266
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeCommitMount;
6267
+ set === null || set === void 0 ? void 0 : set.add(cb);
6268
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6198
6269
  };
6199
6270
  RenderDispatchEvent.prototype.onceBeforeCommitMount = function (cb) {
6200
- var set = listenerMap.get(this).beforeCommitMount;
6271
+ var _a;
6272
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeCommitMount;
6201
6273
  var onceCb = function (renderDispatch) {
6202
6274
  cb(renderDispatch);
6203
- set.delete(onceCb);
6275
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6204
6276
  };
6205
- set.add(onceCb);
6277
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6206
6278
  };
6207
6279
  RenderDispatchEvent.prototype.callOnBeforeCommitMount = function (renderDispatch) {
6208
- var _a;
6209
- var set = listenerMap.get(this).beforeCommitMount;
6210
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(renderDispatch); });
6280
+ var _a, _b;
6281
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeCommitMount;
6282
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(renderDispatch); });
6211
6283
  };
6212
6284
  RenderDispatchEvent.prototype.onAfterCommitMount = function (cb) {
6213
- var set = listenerMap.get(this).afterCommitMount;
6214
- set.add(cb);
6215
- return function () { return set.delete(cb); };
6285
+ var _a;
6286
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterCommitMount;
6287
+ set === null || set === void 0 ? void 0 : set.add(cb);
6288
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6216
6289
  };
6217
6290
  RenderDispatchEvent.prototype.onceAfterCommitMount = function (cb) {
6218
- var set = listenerMap.get(this).afterCommitMount;
6291
+ var _a;
6292
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterCommitMount;
6219
6293
  var onceCb = function (renderDispatch) {
6220
6294
  cb(renderDispatch);
6221
- set.delete(onceCb);
6295
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6222
6296
  };
6223
- set.add(onceCb);
6297
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6224
6298
  };
6225
6299
  RenderDispatchEvent.prototype.callOnAfterCommitMount = function (renderDispatch) {
6226
- var _a;
6227
- var set = listenerMap.get(this).afterCommitMount;
6228
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(renderDispatch); });
6300
+ var _a, _b;
6301
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterCommitMount;
6302
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(renderDispatch); });
6229
6303
  };
6230
6304
  RenderDispatchEvent.prototype.onBeforeCommitUpdate = function (cb) {
6231
- var set = listenerMap.get(this).beforeCommitUpdate;
6232
- set.add(cb);
6233
- return function () { return set.delete(cb); };
6305
+ var _a;
6306
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeCommitUpdate;
6307
+ set === null || set === void 0 ? void 0 : set.add(cb);
6308
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6234
6309
  };
6235
6310
  RenderDispatchEvent.prototype.onceBeforeCommitUpdate = function (cb) {
6236
- var set = listenerMap.get(this).beforeCommitUpdate;
6311
+ var _a;
6312
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeCommitUpdate;
6237
6313
  var onceCb = function (renderDispatch) {
6238
6314
  cb(renderDispatch);
6239
- set.delete(onceCb);
6315
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6240
6316
  };
6241
- set.add(onceCb);
6317
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6242
6318
  };
6243
6319
  RenderDispatchEvent.prototype.callOnBeforeCommitUpdate = function (renderDispatch) {
6244
- var _a;
6245
- var set = listenerMap.get(this).beforeCommitUpdate;
6246
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(renderDispatch); });
6320
+ var _a, _b;
6321
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeCommitUpdate;
6322
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(renderDispatch); });
6247
6323
  };
6248
6324
  RenderDispatchEvent.prototype.onAfterCommitUpdate = function (cb) {
6249
- var set = listenerMap.get(this).afterCommitUpdate;
6250
- set.add(cb);
6251
- return function () { return set.delete(cb); };
6325
+ var _a;
6326
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterCommitUpdate;
6327
+ set === null || set === void 0 ? void 0 : set.add(cb);
6328
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6252
6329
  };
6253
6330
  RenderDispatchEvent.prototype.onceAfterCommitUpdate = function (cb) {
6254
- var set = listenerMap.get(this).afterCommitUpdate;
6331
+ var _a;
6332
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterCommitUpdate;
6255
6333
  var onceCb = function (renderDispatch) {
6256
6334
  cb(renderDispatch);
6257
- set.delete(onceCb);
6335
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6258
6336
  };
6259
- set.add(onceCb);
6337
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6260
6338
  };
6261
6339
  RenderDispatchEvent.prototype.callOnAfterCommitUpdate = function (renderDispatch) {
6262
- var _a;
6263
- var set = listenerMap.get(this).afterCommitUpdate;
6264
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(renderDispatch); });
6340
+ var _a, _b;
6341
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterCommitUpdate;
6342
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(renderDispatch); });
6265
6343
  };
6266
6344
  RenderDispatchEvent.prototype.onBeforeCommitUnmount = function (cb) {
6267
- var set = listenerMap.get(this).beforeCommitUnmount;
6268
- set.add(cb);
6269
- return function () { return set.delete(cb); };
6345
+ var _a;
6346
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeCommitUnmount;
6347
+ set === null || set === void 0 ? void 0 : set.add(cb);
6348
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6270
6349
  };
6271
6350
  RenderDispatchEvent.prototype.onceBeforeCommitUnmount = function (cb) {
6272
- var set = listenerMap.get(this).beforeCommitUnmount;
6351
+ var _a;
6352
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeCommitUnmount;
6273
6353
  var onceCb = function (renderDispatch) {
6274
6354
  cb(renderDispatch);
6275
- set.delete(onceCb);
6355
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6276
6356
  };
6277
- set.add(onceCb);
6357
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6278
6358
  };
6279
6359
  RenderDispatchEvent.prototype.callOnBeforeCommitUnmount = function (renderDispatch) {
6280
- var _a;
6281
- var set = listenerMap.get(this).beforeCommitUnmount;
6282
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(renderDispatch); });
6360
+ var _a, _b;
6361
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeCommitUnmount;
6362
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(renderDispatch); });
6283
6363
  };
6284
6364
  RenderDispatchEvent.prototype.onAfterCommitUnmount = function (cb) {
6285
- var set = listenerMap.get(this).afterCommitUnmount;
6286
- set.add(cb);
6287
- return function () { return set.delete(cb); };
6365
+ var _a;
6366
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterCommitUnmount;
6367
+ set === null || set === void 0 ? void 0 : set.add(cb);
6368
+ return function () { return set === null || set === void 0 ? void 0 : set.delete(cb); };
6288
6369
  };
6289
6370
  RenderDispatchEvent.prototype.onceAfterCommitUnmount = function (cb) {
6290
- var set = listenerMap.get(this).afterCommitUnmount;
6371
+ var _a;
6372
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterCommitUnmount;
6291
6373
  var onceCb = function (renderDispatch) {
6292
6374
  cb(renderDispatch);
6293
- set.delete(onceCb);
6375
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6294
6376
  };
6295
- set.add(onceCb);
6377
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6296
6378
  };
6297
6379
  RenderDispatchEvent.prototype.callOnAfterCommitUnmount = function (renderDispatch) {
6298
- var _a;
6299
- var set = listenerMap.get(this).afterCommitUnmount;
6300
- (_a = set === null || set === void 0 ? void 0 : set.forEach) === null || _a === void 0 ? void 0 : _a.call(set, function (cb) { return cb(renderDispatch); });
6380
+ var _a, _b;
6381
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterCommitUnmount;
6382
+ (_b = set === null || set === void 0 ? void 0 : set.forEach) === null || _b === void 0 ? void 0 : _b.call(set, function (cb) { return cb(renderDispatch); });
6301
6383
  };
6302
6384
  return RenderDispatchEvent;
6303
6385
  }(MyReactInternalInstanceClass));
6304
6386
 
6305
6387
  var defaultDispatchFiber = function (renderDispatch, fiber) {
6306
- if (include(fiber.type, exports.NODE_TYPE.__root__)) {
6388
+ if (include(fiber.type, exports$1.NODE_TYPE.__root__)) {
6307
6389
  // TODO
6308
6390
  nextWorkRoot(renderDispatch, fiber);
6309
6391
  }
6310
- else if (include(fiber.type, exports.NODE_TYPE.__class__ | exports.NODE_TYPE.__function__)) {
6392
+ else if (include(fiber.type, exports$1.NODE_TYPE.__class__ | exports$1.NODE_TYPE.__function__)) {
6311
6393
  nextWorkComponent(renderDispatch, fiber);
6312
6394
  }
6313
- else if (include(fiber.type, exports.NODE_TYPE.__lazy__)) {
6395
+ else if (include(fiber.type, exports$1.NODE_TYPE.__lazy__)) {
6314
6396
  nextWorkLazy(renderDispatch, fiber);
6315
6397
  }
6316
- else if (include(fiber.type, exports.NODE_TYPE.__suspense__)) {
6398
+ else if (include(fiber.type, exports$1.NODE_TYPE.__suspense__)) {
6317
6399
  nextWorkSuspense(renderDispatch, fiber);
6318
6400
  }
6319
- else if (include(fiber.type, exports.NODE_TYPE.__consumer__)) {
6401
+ else if (include(fiber.type, exports$1.NODE_TYPE.__consumer__)) {
6320
6402
  nextWorkConsumer(renderDispatch, fiber);
6321
6403
  }
6322
- else if (include(fiber.type, exports.NODE_TYPE.__provider__ | exports.NODE_TYPE.__context__)) {
6404
+ else if (include(fiber.type, exports$1.NODE_TYPE.__provider__ | exports$1.NODE_TYPE.__context__)) {
6323
6405
  nextWorkProvider(renderDispatch, fiber);
6324
6406
  }
6325
- else if (include(fiber.type, exports.NODE_TYPE.__activity__)) {
6407
+ else if (include(fiber.type, exports$1.NODE_TYPE.__activity__)) {
6326
6408
  nextWorkActivity(renderDispatch, fiber);
6327
6409
  }
6328
6410
  else {
@@ -6339,7 +6421,7 @@ function requireIndex_production () {
6339
6421
  _this.isAppMounted = false;
6340
6422
  _this.isAppCrashed = false;
6341
6423
  _this.isAppUnmounted = false;
6342
- _this.version = "0.3.22";
6424
+ _this.version = "0.3.23";
6343
6425
  _this.id = Math.random().toString(16).slice(2);
6344
6426
  _this.mode = "production";
6345
6427
  _this.renderMode = "render";
@@ -6385,7 +6467,7 @@ function requireIndex_production () {
6385
6467
  if (include(_fiber.type, this.runtimeRef.typeForRef)) {
6386
6468
  _fiber.patch = merge(_fiber.patch, PATCH_TYPE.__ref__);
6387
6469
  }
6388
- else if (exclude(_fiber.type, exports.NODE_TYPE.__forwardRef__)) {
6470
+ else if (exclude(_fiber.type, exports$1.NODE_TYPE.__forwardRef__)) {
6389
6471
  onceWarnWithKeyAndFiber(_fiber, "ref", "[@my-react/react] set ref for current element will be ignored");
6390
6472
  }
6391
6473
  }
@@ -6577,192 +6659,192 @@ function requireIndex_production () {
6577
6659
  });
6578
6660
  }); };
6579
6661
 
6580
- var version = "0.3.22";
6662
+ var version = "0.3.23";
6581
6663
 
6582
- exports.CustomRenderDispatch = CustomRenderDispatch;
6583
- exports.MyReactFiberNode = MyReactFiberNode;
6584
- exports.MyReactHookNode = MyReactHookNode;
6585
- exports.MyWeakMap = MyWeakMap;
6586
- exports.RenderDispatchEvent = RenderDispatchEvent;
6587
- exports.WrapperByLazyScope = WrapperByLazyScope;
6588
- exports.WrapperBySuspenseScope = WrapperBySuspenseScope;
6589
- exports.addEffectCallback = addEffectCallback;
6590
- exports.afterSyncFlush = afterSyncFlush;
6591
- exports.afterSyncUpdate = afterSyncUpdate;
6592
- exports.applyTriggerFiberCb = applyTriggerFiberCb;
6593
- exports.beforeSyncFlush = beforeSyncFlush;
6594
- exports.beforeSyncUpdate = beforeSyncUpdate;
6595
- exports.callWithFiber = callWithFiber;
6596
- exports.checkIsMyReactFiberNode = checkIsMyReactFiberNode;
6597
- exports.checkIsSameType = checkIsSameType;
6598
- exports.clearContainer = clearContainer;
6599
- exports.clearFiberNode = clearFiberNode;
6600
- exports.createFiberNode = createFiberNode;
6601
- exports.createHookNode = createHookNode;
6602
- exports.currentRefreshHandler = currentRefreshHandler;
6603
- exports.currentTriggerFiber = currentTriggerFiber;
6604
- exports.debugWithNode = debugWithNode;
6605
- exports.defaultDeleteChildEffect = defaultDeleteChildEffect;
6606
- exports.defaultDeleteCurrentEffect = defaultDeleteCurrentEffect;
6607
- exports.defaultDispatchMount = defaultDispatchMount;
6608
- exports.defaultDispatchMountLatest = defaultDispatchMountLatest;
6609
- exports.defaultDispatchUnmount = defaultDispatchUnmount;
6610
- exports.defaultDispatchUpdate = defaultDispatchUpdate;
6611
- exports.defaultGenerateEffectMap = defaultGenerateEffectMap;
6612
- exports.defaultGenerateStrict = defaultGenerateStrict;
6613
- exports.defaultGenerateUnmountMap = defaultGenerateUnmountMap;
6614
- exports.defaultGetContextFiber = defaultGetContextFiber;
6615
- exports.defaultGetContextValue = defaultGetContextValue;
6616
- exports.defaultInvokeEffect = defaultInvokeEffect;
6617
- exports.defaultInvokeInsertionEffect = defaultInvokeInsertionEffect;
6618
- exports.defaultInvokeLayoutEffect = defaultInvokeLayoutEffect;
6619
- exports.defaultInvokeUnmountList = defaultInvokeUnmountList;
6620
- exports.defaultReadContext = defaultReadContext;
6621
- exports.defaultReadPromise = defaultReadPromise;
6622
- exports.defaultResolveAliveSuspenseFiber = defaultResolveAliveSuspenseFiber;
6623
- exports.defaultResolveErrorBoundaries = defaultResolveErrorBoundaries;
6624
- exports.defaultResolveScope = defaultResolveScope;
6625
- exports.defaultResolveSuspenseFiber = defaultResolveSuspenseFiber;
6626
- exports.defaultResolveSuspenseValue = defaultResolveSuspenseValue;
6627
- exports.devError = devError;
6628
- exports.devErrorWithFiber = devErrorWithFiber;
6629
- exports.devWarn = devWarn;
6630
- exports.devWarnWithFiber = devWarnWithFiber;
6631
- exports.effect = effect;
6632
- exports.effectHookNode = effectHookNode;
6633
- exports.emptyProps = emptyProps;
6634
- exports.enableDebugUpdateQueue = enableDebugUpdateQueue;
6635
- exports.enableFiberForLog = enableFiberForLog;
6636
- exports.enableLogForCurrentFlowIsRunning = enableLogForCurrentFlowIsRunning;
6637
- exports.enableValidMyReactElement = enableValidMyReactElement;
6638
- exports.fiberToDispatchMap = fiberToDispatchMap;
6639
- exports.flushEffectCallback = flushEffectCallback;
6640
- exports.generateFiberToListWithAction = generateFiberToListWithAction;
6641
- exports.generateFiberToMountList = generateFiberToMountList;
6642
- exports.generateFiberToUnmountList = generateFiberToUnmountList;
6643
- exports.getClassInstanceFieldByInstance = getClassInstanceFieldByInstance;
6644
- exports.getCurrentDispatchFromFiber = getCurrentDispatchFromFiber;
6645
- exports.getCurrentDispatchFromType = getCurrentDispatchFromType;
6646
- exports.getCurrentFibersFromType = getCurrentFibersFromType;
6647
- exports.getCurrentTypeFromRefresh = getCurrentTypeFromRefresh;
6648
- exports.getCurrentTypeFromRefreshOnly = getCurrentTypeFromRefreshOnly;
6649
- exports.getElementFromRefreshIfExist = getElementFromRefreshIfExist;
6650
- exports.getElementName = getElementName;
6651
- exports.getElementTypeFromType = getElementTypeFromType;
6652
- exports.getFiberTree = getFiberTree$1;
6653
- exports.getFiberTreeWithFiber = getFiberTreeWithFiber;
6654
- exports.getHookTree = getHookTree;
6655
- exports.getInstanceContextFiber = getInstanceContextFiber;
6656
- exports.getInstanceEffectState = getInstanceEffectState;
6657
- exports.getInstanceFieldByInstance = getInstanceFieldByInstance;
6658
- exports.getInstanceOwnerFiber = getInstanceOwnerFiber;
6659
- exports.getPlainFiberName = getPlainFiberName;
6660
- exports.getStackTree = getStackTree;
6661
- exports.getTypeFromElement = getTypeFromElement;
6662
- exports.getTypeFromElementNode = getTypeFromElementNode;
6663
- exports.hmr = hmr;
6664
- exports.hmrRevert = hmrRevert;
6665
- exports.hmrUpdate = hmrUpdate;
6666
- exports.hookListUnmount = hookListUnmount;
6667
- exports.initClassInstance = initClassInstance;
6668
- exports.initHMR = initHMR;
6669
- exports.initHookInstance = initHookInstance;
6670
- exports.initInstance = initInstance;
6671
- exports.initScheduler = initScheduler;
6672
- exports.initSuspenseInstance = initSuspenseInstance;
6673
- exports.initVisibleInstance = initVisibleInstance;
6674
- exports.initialFiberNode = initialFiberNode;
6675
- exports.insertionEffect = insertionEffect;
6676
- exports.isCommentElement = isCommentElement;
6677
- exports.isCommentEndElement = isCommentEndElement;
6678
- exports.isCommentStartElement = isCommentStartElement;
6679
- exports.isErrorBoundariesComponent = isErrorBoundariesComponent;
6680
- exports.isErrorBoundariesInstance = isErrorBoundariesInstance;
6681
- exports.layoutEffect = layoutEffect;
6682
- exports.loadLazy = loadLazy;
6683
- exports.loadPromise = loadPromise;
6684
- exports.mountAsync = mountAsync;
6685
- exports.mountClassInstance = mountClassInstance;
6686
- exports.mountLoopAll = mountLoopAll;
6687
- exports.mountLoopAllFromScheduler = mountLoopAllFromScheduler;
6688
- exports.mountSync = mountSync;
6689
- exports.mountToNextFiberFromRoot = mountToNextFiberFromRoot;
6690
- exports.nextWorkActivity = nextWorkActivity;
6691
- exports.nextWorkClassComponent = nextWorkClassComponent;
6692
- exports.nextWorkCommon = nextWorkCommon;
6693
- exports.nextWorkComponent = nextWorkComponent;
6694
- exports.nextWorkConsumer = nextWorkConsumer;
6695
- exports.nextWorkFunctionComponent = nextWorkFunctionComponent;
6696
- exports.nextWorkLazy = nextWorkLazy;
6697
- exports.nextWorkNormal = nextWorkNormal;
6698
- exports.nextWorkProvider = nextWorkProvider;
6699
- exports.nextWorkRoot = nextWorkRoot;
6700
- exports.nextWorkSuspense = nextWorkSuspense;
6701
- exports.onceErrorWithKeyAndFiber = onceErrorWithKeyAndFiber;
6702
- exports.onceWarnWithKeyAndFiber = onceWarnWithKeyAndFiber;
6703
- exports.originalError = originalError;
6704
- exports.originalWarn = originalWarn;
6705
- exports.performToNextFiberFromRoot = performToNextFiberFromRoot;
6706
- exports.prepareUpdateAllDependence = prepareUpdateAllDependence;
6707
- exports.prepareUpdateOnFiber = prepareUpdateOnFiber;
6708
- exports.processAsyncLoadListOnAsyncMount = processAsyncLoadListOnAsyncMount;
6709
- exports.processAsyncLoadListOnSyncMount = processAsyncLoadListOnSyncMount;
6710
- exports.processAsyncLoadListOnUpdate = processAsyncLoadListOnUpdate;
6711
- exports.processClassComponentActive = processClassComponentActive;
6712
- exports.processClassComponentMount = processClassComponentMount;
6713
- exports.processClassComponentUnmount = processClassComponentUnmount;
6714
- exports.processClassComponentUpdate = processClassComponentUpdate;
6715
- exports.processClassComponentUpdateQueueLatest = processClassComponentUpdateQueueLatest;
6716
- exports.processClassComponentUpdateQueueLegacy = processClassComponentUpdateQueueLegacy;
6717
- exports.processConsumer = processConsumer;
6718
- exports.processFunction = processFunction;
6719
- exports.processFunctionComponentUpdateQueueLatest = processFunctionComponentUpdateQueueLatest;
6720
- exports.processFunctionComponentUpdateQueueLegacy = processFunctionComponentUpdateQueueLegacy;
6721
- exports.processHook = processHook;
6722
- exports.processLazy = processLazy;
6723
- exports.processNormalComponentUpdateLatest = processNormalComponentUpdateLatest;
6724
- exports.processNormalComponentUpdateLegacy = processNormalComponentUpdateLegacy;
6725
- exports.processPromise = processPromise;
6726
- exports.processProvider = processProvider;
6727
- exports.processState = processState;
6728
- exports.processSuspense = processSuspense;
6729
- exports.processSuspensePromise = processSuspensePromise;
6730
- exports.resetLogScope = resetLogScope;
6731
- exports.runtimeNextWork = runtimeNextWork;
6732
- exports.runtimeNextWorkDev = runtimeNextWorkDev;
6733
- exports.safeCall = safeCall;
6734
- exports.safeCallWithCurrentFiber = safeCallWithCurrentFiber;
6735
- exports.safeCallWithSync = safeCallWithSync;
6736
- exports.scheduleNext = scheduleNext;
6737
- exports.scheduleUpdate = scheduleUpdate;
6738
- exports.setContextForInstance = setContextForInstance;
6739
- exports.setEffectForInstance = setEffectForInstance;
6740
- exports.setLogScope = setLogScope;
6741
- exports.setOwnerForInstance = setOwnerForInstance;
6742
- exports.setRefreshHandler = setRefreshHandler;
6743
- exports.setRefreshTypeMap = setRefreshTypeMap;
6744
- exports.setSubscribeForInstance = setSubscribeForInstance;
6745
- exports.syncComponentStateToFiber = syncComponentStateToFiber;
6746
- exports.syncFiberStateToComponent = syncFiberStateToComponent;
6747
- exports.syncFlushComponentQueue = syncFlushComponentQueue;
6748
- exports.transformChildrenFiber = transformChildrenFiber;
6749
- exports.triggerError = triggerError;
6750
- exports.triggerFiberUpdateListener = triggerFiberUpdateListener;
6751
- exports.triggerRevert = triggerRevert;
6752
- exports.triggerUpdate = triggerUpdate;
6753
- exports.triggerUpdateOnFiber = triggerUpdateOnFiber;
6754
- exports.typeToFibersMap = typeToFibersMap;
6755
- exports.unmountContainer = unmountContainer;
6756
- exports.unmountFiber = unmountFiber;
6757
- exports.unmountFiberNode = unmountFiberNode;
6758
- exports.unmountInstance = unmountInstance;
6759
- exports.updateConcurrentFromRoot = updateConcurrentFromRoot;
6760
- exports.updateFiberNode = updateFiberNode;
6761
- exports.updateHookNode = updateHookNode;
6762
- exports.updateLoopConcurrentFromRoot = updateLoopConcurrentFromRoot;
6763
- exports.updateLoopSyncFromRoot = updateLoopSyncFromRoot;
6764
- exports.updateSyncFromRoot = updateSyncFromRoot;
6765
- exports.version = version;
6664
+ exports$1.CustomRenderDispatch = CustomRenderDispatch;
6665
+ exports$1.MyReactFiberNode = MyReactFiberNode;
6666
+ exports$1.MyReactHookNode = MyReactHookNode;
6667
+ exports$1.MyWeakMap = MyWeakMap;
6668
+ exports$1.RenderDispatchEvent = RenderDispatchEvent;
6669
+ exports$1.WrapperByLazyScope = WrapperByLazyScope;
6670
+ exports$1.WrapperBySuspenseScope = WrapperBySuspenseScope;
6671
+ exports$1.addEffectCallback = addEffectCallback;
6672
+ exports$1.afterSyncFlush = afterSyncFlush;
6673
+ exports$1.afterSyncUpdate = afterSyncUpdate;
6674
+ exports$1.applyTriggerFiberCb = applyTriggerFiberCb;
6675
+ exports$1.beforeSyncFlush = beforeSyncFlush;
6676
+ exports$1.beforeSyncUpdate = beforeSyncUpdate;
6677
+ exports$1.callWithFiber = callWithFiber;
6678
+ exports$1.checkIsMyReactFiberNode = checkIsMyReactFiberNode;
6679
+ exports$1.checkIsSameType = checkIsSameType;
6680
+ exports$1.clearContainer = clearContainer;
6681
+ exports$1.clearFiberNode = clearFiberNode;
6682
+ exports$1.createFiberNode = createFiberNode;
6683
+ exports$1.createHookNode = createHookNode;
6684
+ exports$1.currentRefreshHandler = currentRefreshHandler;
6685
+ exports$1.currentTriggerFiber = currentTriggerFiber;
6686
+ exports$1.debugWithNode = debugWithNode;
6687
+ exports$1.defaultDeleteChildEffect = defaultDeleteChildEffect;
6688
+ exports$1.defaultDeleteCurrentEffect = defaultDeleteCurrentEffect;
6689
+ exports$1.defaultDispatchMount = defaultDispatchMount;
6690
+ exports$1.defaultDispatchMountLatest = defaultDispatchMountLatest;
6691
+ exports$1.defaultDispatchUnmount = defaultDispatchUnmount;
6692
+ exports$1.defaultDispatchUpdate = defaultDispatchUpdate;
6693
+ exports$1.defaultGenerateEffectMap = defaultGenerateEffectMap;
6694
+ exports$1.defaultGenerateStrict = defaultGenerateStrict;
6695
+ exports$1.defaultGenerateUnmountMap = defaultGenerateUnmountMap;
6696
+ exports$1.defaultGetContextFiber = defaultGetContextFiber;
6697
+ exports$1.defaultGetContextValue = defaultGetContextValue;
6698
+ exports$1.defaultInvokeEffect = defaultInvokeEffect;
6699
+ exports$1.defaultInvokeInsertionEffect = defaultInvokeInsertionEffect;
6700
+ exports$1.defaultInvokeLayoutEffect = defaultInvokeLayoutEffect;
6701
+ exports$1.defaultInvokeUnmountList = defaultInvokeUnmountList;
6702
+ exports$1.defaultReadContext = defaultReadContext;
6703
+ exports$1.defaultReadPromise = defaultReadPromise;
6704
+ exports$1.defaultResolveAliveSuspenseFiber = defaultResolveAliveSuspenseFiber;
6705
+ exports$1.defaultResolveErrorBoundaries = defaultResolveErrorBoundaries;
6706
+ exports$1.defaultResolveScope = defaultResolveScope;
6707
+ exports$1.defaultResolveSuspenseFiber = defaultResolveSuspenseFiber;
6708
+ exports$1.defaultResolveSuspenseValue = defaultResolveSuspenseValue;
6709
+ exports$1.devError = devError;
6710
+ exports$1.devErrorWithFiber = devErrorWithFiber;
6711
+ exports$1.devWarn = devWarn;
6712
+ exports$1.devWarnWithFiber = devWarnWithFiber;
6713
+ exports$1.effect = effect;
6714
+ exports$1.effectHookNode = effectHookNode;
6715
+ exports$1.emptyProps = emptyProps;
6716
+ exports$1.enableDebugUpdateQueue = enableDebugUpdateQueue;
6717
+ exports$1.enableFiberForLog = enableFiberForLog;
6718
+ exports$1.enableLogForCurrentFlowIsRunning = enableLogForCurrentFlowIsRunning;
6719
+ exports$1.enableValidMyReactElement = enableValidMyReactElement;
6720
+ exports$1.fiberToDispatchMap = fiberToDispatchMap;
6721
+ exports$1.flushEffectCallback = flushEffectCallback;
6722
+ exports$1.generateFiberToListWithAction = generateFiberToListWithAction;
6723
+ exports$1.generateFiberToMountList = generateFiberToMountList;
6724
+ exports$1.generateFiberToUnmountList = generateFiberToUnmountList;
6725
+ exports$1.getClassInstanceFieldByInstance = getClassInstanceFieldByInstance;
6726
+ exports$1.getCurrentDispatchFromFiber = getCurrentDispatchFromFiber;
6727
+ exports$1.getCurrentDispatchFromType = getCurrentDispatchFromType;
6728
+ exports$1.getCurrentFibersFromType = getCurrentFibersFromType;
6729
+ exports$1.getCurrentTypeFromRefresh = getCurrentTypeFromRefresh;
6730
+ exports$1.getCurrentTypeFromRefreshOnly = getCurrentTypeFromRefreshOnly;
6731
+ exports$1.getElementFromRefreshIfExist = getElementFromRefreshIfExist;
6732
+ exports$1.getElementName = getElementName;
6733
+ exports$1.getElementTypeFromType = getElementTypeFromType;
6734
+ exports$1.getFiberTree = getFiberTree$1;
6735
+ exports$1.getFiberTreeWithFiber = getFiberTreeWithFiber;
6736
+ exports$1.getHookTree = getHookTree;
6737
+ exports$1.getInstanceContextFiber = getInstanceContextFiber;
6738
+ exports$1.getInstanceEffectState = getInstanceEffectState;
6739
+ exports$1.getInstanceFieldByInstance = getInstanceFieldByInstance;
6740
+ exports$1.getInstanceOwnerFiber = getInstanceOwnerFiber;
6741
+ exports$1.getPlainFiberName = getPlainFiberName;
6742
+ exports$1.getStackTree = getStackTree;
6743
+ exports$1.getTypeFromElement = getTypeFromElement;
6744
+ exports$1.getTypeFromElementNode = getTypeFromElementNode;
6745
+ exports$1.hmr = hmr;
6746
+ exports$1.hmrRevert = hmrRevert;
6747
+ exports$1.hmrUpdate = hmrUpdate;
6748
+ exports$1.hookListUnmount = hookListUnmount;
6749
+ exports$1.initClassInstance = initClassInstance;
6750
+ exports$1.initHMR = initHMR;
6751
+ exports$1.initHookInstance = initHookInstance;
6752
+ exports$1.initInstance = initInstance;
6753
+ exports$1.initScheduler = initScheduler;
6754
+ exports$1.initSuspenseInstance = initSuspenseInstance;
6755
+ exports$1.initVisibleInstance = initVisibleInstance;
6756
+ exports$1.initialFiberNode = initialFiberNode;
6757
+ exports$1.insertionEffect = insertionEffect;
6758
+ exports$1.isCommentElement = isCommentElement;
6759
+ exports$1.isCommentEndElement = isCommentEndElement;
6760
+ exports$1.isCommentStartElement = isCommentStartElement;
6761
+ exports$1.isErrorBoundariesComponent = isErrorBoundariesComponent;
6762
+ exports$1.isErrorBoundariesInstance = isErrorBoundariesInstance;
6763
+ exports$1.layoutEffect = layoutEffect;
6764
+ exports$1.loadLazy = loadLazy;
6765
+ exports$1.loadPromise = loadPromise;
6766
+ exports$1.mountAsync = mountAsync;
6767
+ exports$1.mountClassInstance = mountClassInstance;
6768
+ exports$1.mountLoopAll = mountLoopAll;
6769
+ exports$1.mountLoopAllFromScheduler = mountLoopAllFromScheduler;
6770
+ exports$1.mountSync = mountSync;
6771
+ exports$1.mountToNextFiberFromRoot = mountToNextFiberFromRoot;
6772
+ exports$1.nextWorkActivity = nextWorkActivity;
6773
+ exports$1.nextWorkClassComponent = nextWorkClassComponent;
6774
+ exports$1.nextWorkCommon = nextWorkCommon;
6775
+ exports$1.nextWorkComponent = nextWorkComponent;
6776
+ exports$1.nextWorkConsumer = nextWorkConsumer;
6777
+ exports$1.nextWorkFunctionComponent = nextWorkFunctionComponent;
6778
+ exports$1.nextWorkLazy = nextWorkLazy;
6779
+ exports$1.nextWorkNormal = nextWorkNormal;
6780
+ exports$1.nextWorkProvider = nextWorkProvider;
6781
+ exports$1.nextWorkRoot = nextWorkRoot;
6782
+ exports$1.nextWorkSuspense = nextWorkSuspense;
6783
+ exports$1.onceErrorWithKeyAndFiber = onceErrorWithKeyAndFiber;
6784
+ exports$1.onceWarnWithKeyAndFiber = onceWarnWithKeyAndFiber;
6785
+ exports$1.originalError = originalError;
6786
+ exports$1.originalWarn = originalWarn;
6787
+ exports$1.performToNextFiberFromRoot = performToNextFiberFromRoot;
6788
+ exports$1.prepareUpdateAllDependence = prepareUpdateAllDependence;
6789
+ exports$1.prepareUpdateOnFiber = prepareUpdateOnFiber;
6790
+ exports$1.processAsyncLoadListOnAsyncMount = processAsyncLoadListOnAsyncMount;
6791
+ exports$1.processAsyncLoadListOnSyncMount = processAsyncLoadListOnSyncMount;
6792
+ exports$1.processAsyncLoadListOnUpdate = processAsyncLoadListOnUpdate;
6793
+ exports$1.processClassComponentActive = processClassComponentActive;
6794
+ exports$1.processClassComponentMount = processClassComponentMount;
6795
+ exports$1.processClassComponentUnmount = processClassComponentUnmount;
6796
+ exports$1.processClassComponentUpdate = processClassComponentUpdate;
6797
+ exports$1.processClassComponentUpdateQueueLatest = processClassComponentUpdateQueueLatest;
6798
+ exports$1.processClassComponentUpdateQueueLegacy = processClassComponentUpdateQueueLegacy;
6799
+ exports$1.processConsumer = processConsumer;
6800
+ exports$1.processFunction = processFunction;
6801
+ exports$1.processFunctionComponentUpdateQueueLatest = processFunctionComponentUpdateQueueLatest;
6802
+ exports$1.processFunctionComponentUpdateQueueLegacy = processFunctionComponentUpdateQueueLegacy;
6803
+ exports$1.processHook = processHook;
6804
+ exports$1.processLazy = processLazy;
6805
+ exports$1.processNormalComponentUpdateLatest = processNormalComponentUpdateLatest;
6806
+ exports$1.processNormalComponentUpdateLegacy = processNormalComponentUpdateLegacy;
6807
+ exports$1.processPromise = processPromise;
6808
+ exports$1.processProvider = processProvider;
6809
+ exports$1.processState = processState;
6810
+ exports$1.processSuspense = processSuspense;
6811
+ exports$1.processSuspensePromise = processSuspensePromise;
6812
+ exports$1.resetLogScope = resetLogScope;
6813
+ exports$1.runtimeNextWork = runtimeNextWork;
6814
+ exports$1.runtimeNextWorkDev = runtimeNextWorkDev;
6815
+ exports$1.safeCall = safeCall;
6816
+ exports$1.safeCallWithCurrentFiber = safeCallWithCurrentFiber;
6817
+ exports$1.safeCallWithSync = safeCallWithSync;
6818
+ exports$1.scheduleNext = scheduleNext;
6819
+ exports$1.scheduleUpdate = scheduleUpdate;
6820
+ exports$1.setContextForInstance = setContextForInstance;
6821
+ exports$1.setEffectForInstance = setEffectForInstance;
6822
+ exports$1.setLogScope = setLogScope;
6823
+ exports$1.setOwnerForInstance = setOwnerForInstance;
6824
+ exports$1.setRefreshHandler = setRefreshHandler;
6825
+ exports$1.setRefreshTypeMap = setRefreshTypeMap;
6826
+ exports$1.setSubscribeForInstance = setSubscribeForInstance;
6827
+ exports$1.syncComponentStateToFiber = syncComponentStateToFiber;
6828
+ exports$1.syncFiberStateToComponent = syncFiberStateToComponent;
6829
+ exports$1.syncFlushComponentQueue = syncFlushComponentQueue;
6830
+ exports$1.transformChildrenFiber = transformChildrenFiber;
6831
+ exports$1.triggerError = triggerError;
6832
+ exports$1.triggerFiberUpdateListener = triggerFiberUpdateListener;
6833
+ exports$1.triggerRevert = triggerRevert;
6834
+ exports$1.triggerUpdate = triggerUpdate;
6835
+ exports$1.triggerUpdateOnFiber = triggerUpdateOnFiber;
6836
+ exports$1.typeToFibersMap = typeToFibersMap;
6837
+ exports$1.unmountContainer = unmountContainer;
6838
+ exports$1.unmountFiber = unmountFiber;
6839
+ exports$1.unmountFiberNode = unmountFiberNode;
6840
+ exports$1.unmountInstance = unmountInstance;
6841
+ exports$1.updateConcurrentFromRoot = updateConcurrentFromRoot;
6842
+ exports$1.updateFiberNode = updateFiberNode;
6843
+ exports$1.updateHookNode = updateHookNode;
6844
+ exports$1.updateLoopConcurrentFromRoot = updateLoopConcurrentFromRoot;
6845
+ exports$1.updateLoopSyncFromRoot = updateLoopSyncFromRoot;
6846
+ exports$1.updateSyncFromRoot = updateSyncFromRoot;
6847
+ exports$1.version = version;
6766
6848
  } (index_production));
6767
6849
  return index_production;
6768
6850
  }
@@ -7507,24 +7589,24 @@ var ReconcilerDispatchUpdate = function (_dispatch, _list, config, sync) {
7507
7589
  }
7508
7590
  }
7509
7591
  });
7510
- _list.listToHead(function invokePositionList(_fiber) {
7592
+ _list.listToFoot(function invokeAppendList(_fiber) {
7511
7593
  if (exclude(_fiber.state, STATE_TYPE.__unmount__) && !_dispatch.isAppUnmounted) {
7512
7594
  myreactReconcilerExports.safeCallWithCurrentFiber({
7513
7595
  fiber: _fiber,
7514
- action: function safeCallPosition() {
7515
- _dispatch.commitPosition(_fiber);
7596
+ action: function safeCallAppendList() {
7597
+ _dispatch.commitAppend(_fiber);
7516
7598
  var parentFiber = getValidParentFiberWithNode(_dispatch, _fiber);
7517
7599
  parentFiber && pendingFinalizeInitialChildrenFiberSet.add(parentFiber);
7518
7600
  },
7519
7601
  });
7520
7602
  }
7521
7603
  });
7522
- _list.listToFoot(function invokeAppendList(_fiber) {
7604
+ _list.listToHead(function invokePositionList(_fiber) {
7523
7605
  if (exclude(_fiber.state, STATE_TYPE.__unmount__) && !_dispatch.isAppUnmounted) {
7524
7606
  myreactReconcilerExports.safeCallWithCurrentFiber({
7525
7607
  fiber: _fiber,
7526
- action: function safeCallAppendList() {
7527
- _dispatch.commitAppend(_fiber);
7608
+ action: function safeCallPosition() {
7609
+ _dispatch.commitPosition(_fiber);
7528
7610
  var parentFiber = getValidParentFiberWithNode(_dispatch, _fiber);
7529
7611
  parentFiber && pendingFinalizeInitialChildrenFiberSet.add(parentFiber);
7530
7612
  },
@@ -7708,10 +7790,10 @@ var createDispatch = function (rootNode, rootFiber, rootElement, config, flag) {
7708
7790
 
7709
7791
  /* eslint-disable @typescript-eslint/no-unused-vars */
7710
7792
  /* eslint-disable @typescript-eslint/ban-ts-comment */
7711
- function loadRemoteScript(url, options) {
7712
- if (options === void 0) { options = {}; }
7713
- return __awaiter(this, void 0, void 0, function () {
7793
+ function loadRemoteScript(url_1) {
7794
+ return __awaiter(this, arguments, void 0, function (url, options) {
7714
7795
  var _a, timeout, _b, context, _c, useEval, controller_1, timeoutId, response, code, error_1, errorMsg;
7796
+ if (options === void 0) { options = {}; }
7715
7797
  return __generator(this, function (_d) {
7716
7798
  switch (_d.label) {
7717
7799
  case 0:
@@ -8061,10 +8143,10 @@ function createSafeRequire() {
8061
8143
  };
8062
8144
  }
8063
8145
  // 增强的模块加载版本(支持导出)
8064
- function loadRemoteModule(url, options) {
8065
- if (options === void 0) { options = {}; }
8066
- return __awaiter(this, void 0, void 0, function () {
8146
+ function loadRemoteModule(url_1) {
8147
+ return __awaiter(this, arguments, void 0, function (url, options) {
8067
8148
  var _a, context, moduleExports, moduleContext;
8149
+ if (options === void 0) { options = {}; }
8068
8150
  return __generator(this, function (_b) {
8069
8151
  switch (_b.label) {
8070
8152
  case 0:
@@ -8209,8 +8291,7 @@ var Reconciler = function (_config) {
8209
8291
  };
8210
8292
  };
8211
8293
 
8212
- /* eslint-disable import/export */
8213
- var version = "0.0.13";
8294
+ var version = "0.0.14";
8214
8295
  var createReconciler = Reconciler;
8215
8296
 
8216
8297
  exports.createReconciler = createReconciler;