@my-react/react-reconciler-compact 0.0.12 → 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 (34) hide show
  1. package/dist/cjs/index.development.js +922 -730
  2. package/dist/cjs/index.production.js +755 -660
  3. package/dist/esm/index.mjs +1676 -1394
  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 +5 -0
  11. package/dist/types/config.d.ts.map +1 -0
  12. package/dist/types/constants.d.ts.map +1 -1
  13. package/dist/types/devtool.d.ts.map +1 -1
  14. package/dist/types/{dispatchFiber.d.ts → dispatch-fiber.d.ts} +1 -1
  15. package/dist/types/dispatch-fiber.d.ts.map +1 -0
  16. package/dist/types/{dispatchMap.d.ts → dispatch-map.d.ts} +1 -1
  17. package/dist/types/dispatch-map.d.ts.map +1 -0
  18. package/dist/types/{dispatchMount.d.ts → dispatch-mount.d.ts} +1 -1
  19. package/dist/types/dispatch-mount.d.ts.map +1 -0
  20. package/dist/types/{dispatchUpdate.d.ts → dispatch-update.d.ts} +1 -1
  21. package/dist/types/dispatch-update.d.ts.map +1 -0
  22. package/dist/types/dispatch.d.ts +34 -211
  23. package/dist/types/dispatch.d.ts.map +1 -1
  24. package/dist/types/feature.d.ts +35 -211
  25. package/dist/types/feature.d.ts.map +1 -1
  26. package/dist/types/hmr.d.ts.map +1 -1
  27. package/dist/types/index.d.ts +1 -0
  28. package/dist/types/index.d.ts.map +1 -1
  29. package/dist/types/portal.d.ts.map +1 -1
  30. package/package.json +5 -5
  31. package/dist/types/dispatchFiber.d.ts.map +0 -1
  32. package/dist/types/dispatchMap.d.ts.map +0 -1
  33. package/dist/types/dispatchMount.d.ts.map +0 -1
  34. 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;
@@ -348,8 +352,10 @@ function requireIndex_production () {
348
352
  return ListTreeNode;
349
353
  }());
350
354
  var ListTree = /** @class */ (function () {
351
- function ListTree() {
355
+ function ListTree(max) {
352
356
  this.length = 0;
357
+ this.maxLength = Infinity;
358
+ this.maxLength = max || Infinity;
353
359
  var _stickyHead = null;
354
360
  Object.defineProperty(this, "stickyHead", {
355
361
  get: function () {
@@ -388,6 +394,9 @@ function requireIndex_production () {
388
394
  });
389
395
  }
390
396
  ListTree.prototype.push = function (node) {
397
+ while (this.length >= this.maxLength) {
398
+ this.pop();
399
+ }
391
400
  var listNode = new ListTreeNode(node);
392
401
  this.length++;
393
402
  if (!this.foot) {
@@ -405,6 +414,7 @@ function requireIndex_production () {
405
414
  var node_1 = this.stickyFoot;
406
415
  this.push(node_1.value);
407
416
  this.stickyFoot = null;
417
+ this.length--;
408
418
  }
409
419
  else {
410
420
  this.length++;
@@ -417,6 +427,7 @@ function requireIndex_production () {
417
427
  var node_2 = this.stickyHead;
418
428
  this.unshift(node_2.value);
419
429
  this.stickyHead = null;
430
+ this.length--;
420
431
  }
421
432
  else {
422
433
  this.length++;
@@ -435,6 +446,9 @@ function requireIndex_production () {
435
446
  }
436
447
  };
437
448
  ListTree.prototype.unshift = function (node) {
449
+ while (this.length >= this.maxLength) {
450
+ this.shift();
451
+ }
438
452
  var listNode = new ListTreeNode(node);
439
453
  this.length++;
440
454
  if (!this.head) {
@@ -452,6 +466,7 @@ function requireIndex_production () {
452
466
  var node_3 = this.stickyHead;
453
467
  this.unshift(node_3.value);
454
468
  this.stickyHead = null;
469
+ this.length--;
455
470
  }
456
471
  else {
457
472
  this.length++;
@@ -464,6 +479,7 @@ function requireIndex_production () {
464
479
  var node_4 = this.stickyFoot;
465
480
  this.push(node_4.value);
466
481
  this.stickyFoot = null;
482
+ this.length--;
467
483
  }
468
484
  else {
469
485
  this.length++;
@@ -615,7 +631,7 @@ function requireIndex_production () {
615
631
  return newList;
616
632
  };
617
633
  ListTree.prototype.clone = function () {
618
- var newList = new ListTree();
634
+ var newList = new ListTree(this.maxLength);
619
635
  this.listToFoot(function (v) { return newList.push(v); });
620
636
  return newList;
621
637
  };
@@ -736,7 +752,7 @@ function requireIndex_production () {
736
752
  var enableValidMyReactElement = react.createRef(false);
737
753
  var enableLogForCurrentFlowIsRunning = react.createRef(false);
738
754
 
739
- exports.NODE_TYPE = void 0;
755
+ exports$1.NODE_TYPE = void 0;
740
756
  (function (NODE_TYPE) {
741
757
  NODE_TYPE[NODE_TYPE["__initial__"] = 0] = "__initial__";
742
758
  NODE_TYPE[NODE_TYPE["__class__"] = 1] = "__class__";
@@ -762,24 +778,25 @@ function requireIndex_production () {
762
778
  NODE_TYPE[NODE_TYPE["__scopeLazy__"] = 1048576] = "__scopeLazy__";
763
779
  NODE_TYPE[NODE_TYPE["__scopeSuspense__"] = 2097152] = "__scopeSuspense__";
764
780
  NODE_TYPE[NODE_TYPE["__activity__"] = 4194304] = "__activity__";
765
- })(exports.NODE_TYPE || (exports.NODE_TYPE = {}));
781
+ NODE_TYPE[NODE_TYPE["__serverComponent__"] = 8388608] = "__serverComponent__";
782
+ })(exports$1.NODE_TYPE || (exports$1.NODE_TYPE = {}));
766
783
 
767
784
  var enableSyncFlush$1 = react.__my_react_shared__.enableSyncFlush;
768
785
  /**
769
786
  * @deprecated
770
787
  */
771
- exports.syncFlush = false;
788
+ exports$1.syncFlush = false;
772
789
  /**
773
790
  * @deprecated
774
791
  */
775
792
  var beforeSyncFlush = function () {
776
- exports.syncFlush = true;
793
+ exports$1.syncFlush = true;
777
794
  };
778
795
  /**
779
796
  * @deprecated
780
797
  */
781
798
  var afterSyncFlush = function () {
782
- exports.syncFlush = false;
799
+ exports$1.syncFlush = false;
783
800
  };
784
801
  var stack = [enableSyncFlush$1.current];
785
802
  var beforeSyncUpdate = function () {
@@ -995,74 +1012,76 @@ function requireIndex_production () {
995
1012
  }
996
1013
  };
997
1014
  var shouldIncludeLog = function (fiber) {
998
- 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__)) {
999
1016
  return true;
1000
1017
  }
1001
1018
  return false;
1002
1019
  };
1003
1020
  var getFiberTagName = function (fiber) {
1004
1021
  var tag = [];
1005
- if (fiber.type & exports.NODE_TYPE.__memo__) {
1022
+ if (fiber.type & exports$1.NODE_TYPE.__memo__) {
1006
1023
  tag.push("memo");
1007
1024
  }
1008
- if (fiber.type & exports.NODE_TYPE.__forwardRef__) {
1025
+ if (fiber.type & exports$1.NODE_TYPE.__forwardRef__) {
1009
1026
  tag.push("forwardRef");
1010
1027
  }
1011
- if (fiber.type & exports.NODE_TYPE.__lazy__) {
1028
+ if (fiber.type & exports$1.NODE_TYPE.__lazy__) {
1012
1029
  tag.push("lazy");
1013
1030
  }
1014
- if (fiber.type & exports.NODE_TYPE.__fragment__ && fiber.pendingProps["wrap"]) {
1031
+ if (fiber.type & exports$1.NODE_TYPE.__fragment__ && fiber.pendingProps["wrap"]) {
1015
1032
  tag.push("auto-wrap");
1016
1033
  }
1017
1034
  return tag.join("-");
1018
1035
  };
1019
1036
  var getPlainFiberName = function (fiber) {
1020
- if (fiber.type & exports.NODE_TYPE.__provider__) {
1037
+ if (fiber.type & exports$1.NODE_TYPE.__provider__) {
1021
1038
  var typedElementType = fiber.elementType;
1022
1039
  var name_2 = typedElementType.Context.displayName;
1023
1040
  return "".concat(name_2 || "Context", ".Provider");
1024
1041
  }
1025
- if (fiber.type & exports.NODE_TYPE.__context__) {
1042
+ if (fiber.type & exports$1.NODE_TYPE.__context__) {
1026
1043
  var typedElementType = fiber.elementType;
1027
1044
  var name_3 = typedElementType.displayName;
1028
1045
  return "".concat(name_3 || "Context");
1029
1046
  }
1030
- if (fiber.type & exports.NODE_TYPE.__consumer__) {
1047
+ if (fiber.type & exports$1.NODE_TYPE.__consumer__) {
1031
1048
  var typedElementType = fiber.elementType;
1032
1049
  var name_4 = typedElementType.Context.displayName;
1033
1050
  return "".concat(name_4 || "Context", ".Consumer");
1034
1051
  }
1035
- if (fiber.type & exports.NODE_TYPE.__lazy__) {
1052
+ if (fiber.type & exports$1.NODE_TYPE.__lazy__) {
1036
1053
  var typedElementType = fiber.elementType;
1037
1054
  var typedRender = typedElementType === null || typedElementType === void 0 ? void 0 : typedElementType.render;
1038
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;
1039
1058
  return "".concat(name_5 || "Anonymous");
1040
1059
  }
1041
- if (fiber.type & exports.NODE_TYPE.__portal__)
1060
+ if (fiber.type & exports$1.NODE_TYPE.__portal__)
1042
1061
  return "Portal";
1043
- if (fiber.type & exports.NODE_TYPE.__null__)
1062
+ if (fiber.type & exports$1.NODE_TYPE.__null__)
1044
1063
  return "Null";
1045
- if (fiber.type & exports.NODE_TYPE.__empty__)
1064
+ if (fiber.type & exports$1.NODE_TYPE.__empty__)
1046
1065
  return "Empty";
1047
- if (fiber.type & exports.NODE_TYPE.__scope__)
1066
+ if (fiber.type & exports$1.NODE_TYPE.__scope__)
1048
1067
  return "Scope";
1049
- if (fiber.type & exports.NODE_TYPE.__scopeLazy__)
1068
+ if (fiber.type & exports$1.NODE_TYPE.__scopeLazy__)
1050
1069
  return "ScopeLazy";
1051
- if (fiber.type & exports.NODE_TYPE.__scopeSuspense__)
1070
+ if (fiber.type & exports$1.NODE_TYPE.__scopeSuspense__)
1052
1071
  return "ScopeSuspense";
1053
- if (fiber.type & exports.NODE_TYPE.__strict__)
1072
+ if (fiber.type & exports$1.NODE_TYPE.__strict__)
1054
1073
  return "Strict";
1055
- if (fiber.type & exports.NODE_TYPE.__profiler__)
1074
+ if (fiber.type & exports$1.NODE_TYPE.__profiler__)
1056
1075
  return "Profiler";
1057
- if (fiber.type & exports.NODE_TYPE.__suspense__)
1076
+ if (fiber.type & exports$1.NODE_TYPE.__suspense__)
1058
1077
  return "Suspense";
1059
- if (fiber.type & exports.NODE_TYPE.__comment__)
1078
+ if (fiber.type & exports$1.NODE_TYPE.__comment__)
1060
1079
  return "Comment";
1061
- if (fiber.type & exports.NODE_TYPE.__root__)
1080
+ if (fiber.type & exports$1.NODE_TYPE.__root__)
1062
1081
  return "Root";
1063
- if (fiber.type & exports.NODE_TYPE.__fragment__)
1082
+ if (fiber.type & exports$1.NODE_TYPE.__fragment__)
1064
1083
  return "Fragment";
1065
- if (fiber.type & exports.NODE_TYPE.__text__)
1084
+ if (fiber.type & exports$1.NODE_TYPE.__text__)
1066
1085
  return "text";
1067
1086
  if (typeof fiber.elementType === "string")
1068
1087
  return "".concat(fiber.elementType);
@@ -1122,7 +1141,7 @@ function requireIndex_production () {
1122
1141
  while (temp) {
1123
1142
  res ? (res += "\n".concat(preString).concat(getFiberNodeNameWithFiber(temp))) : (res = "".concat(preString).concat(getFiberNodeNameWithFiber(temp)));
1124
1143
  var isMount = temp._debugIsMount;
1125
- var isPlain = temp.type & exports.NODE_TYPE.__plain__;
1144
+ var isPlain = temp.type & exports$1.NODE_TYPE.__plain__;
1126
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"));
1127
1146
  arr.push("");
1128
1147
  arr.push(temp);
@@ -1189,23 +1208,23 @@ function requireIndex_production () {
1189
1208
  return type;
1190
1209
  };
1191
1210
  var getTypeFromElementNode = function (element) {
1192
- var nodeType = exports.NODE_TYPE.__initial__;
1211
+ var nodeType = exports$1.NODE_TYPE.__initial__;
1193
1212
  if (react.isValidElement(element)) {
1194
1213
  return getTypeFromElement(element);
1195
1214
  }
1196
1215
  else {
1197
1216
  if (typeof element === "object" && element !== null) {
1198
- nodeType = merge(nodeType, exports.NODE_TYPE.__empty__);
1217
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__empty__);
1199
1218
  }
1200
1219
  else if (element === null || element === undefined || typeof element === "boolean" || typeof element === "function" || element === "") {
1201
- nodeType = merge(nodeType, exports.NODE_TYPE.__null__);
1220
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__null__);
1202
1221
  }
1203
1222
  else {
1204
1223
  // text element
1205
1224
  return {
1206
1225
  key: null,
1207
1226
  ref: null,
1208
- nodeType: exports.NODE_TYPE.__text__,
1227
+ nodeType: exports$1.NODE_TYPE.__text__,
1209
1228
  elementType: String(element),
1210
1229
  pendingProps: emptyProps$1,
1211
1230
  finalElement: element,
@@ -1217,7 +1236,7 @@ function requireIndex_production () {
1217
1236
  };
1218
1237
  var getTypeFromElement = function (element) {
1219
1238
  var _a, _b, _e, _f, _g;
1220
- var nodeType = exports.NODE_TYPE.__initial__;
1239
+ var nodeType = exports$1.NODE_TYPE.__initial__;
1221
1240
  var elementType = element.type;
1222
1241
  var finalElement = element;
1223
1242
  var pendingProps = element.props;
@@ -1227,105 +1246,105 @@ function requireIndex_production () {
1227
1246
  var typedElementType = elementType;
1228
1247
  switch (typedElementType[TYPEKEY]) {
1229
1248
  case Provider:
1230
- nodeType = merge(nodeType, exports.NODE_TYPE.__provider__);
1249
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__provider__);
1231
1250
  break;
1232
1251
  // support react 19 context api
1233
1252
  case Context:
1234
- nodeType = merge(nodeType, exports.NODE_TYPE.__context__);
1253
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__context__);
1235
1254
  break;
1236
1255
  case Consumer:
1237
- nodeType = merge(nodeType, exports.NODE_TYPE.__consumer__);
1256
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__consumer__);
1238
1257
  break;
1239
1258
  case Memo:
1240
- nodeType = merge(nodeType, exports.NODE_TYPE.__memo__);
1259
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__memo__);
1241
1260
  elementType = typedElementType.render;
1242
1261
  break;
1243
1262
  case ForwardRef:
1244
- nodeType = merge(nodeType, exports.NODE_TYPE.__forwardRef__);
1263
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__forwardRef__);
1245
1264
  elementType = typedElementType.render;
1246
1265
  break;
1247
1266
  case Lazy:
1248
- nodeType = merge(nodeType, exports.NODE_TYPE.__lazy__);
1267
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__lazy__);
1249
1268
  break;
1250
1269
  default:
1251
1270
  throw new Error("[@my-react/react] invalid object element type \"".concat((_e = typedElementType[TYPEKEY]) === null || _e === void 0 ? void 0 : _e.toString(), "\""));
1252
1271
  }
1253
1272
  if (typeof elementType === "object") {
1254
1273
  if (elementType[TYPEKEY] === ForwardRef) {
1255
- nodeType = merge(nodeType, exports.NODE_TYPE.__forwardRef__);
1274
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__forwardRef__);
1256
1275
  elementType = elementType.render;
1257
1276
  }
1258
1277
  if (elementType[TYPEKEY] === Provider) {
1259
- nodeType = merge(nodeType, exports.NODE_TYPE.__provider__);
1278
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__provider__);
1260
1279
  }
1261
1280
  if (elementType[TYPEKEY] === Context) {
1262
- nodeType = merge(nodeType, exports.NODE_TYPE.__context__);
1281
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__context__);
1263
1282
  }
1264
1283
  if (elementType[TYPEKEY] === Consumer) {
1265
- nodeType = merge(nodeType, exports.NODE_TYPE.__consumer__);
1284
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__consumer__);
1266
1285
  }
1267
1286
  }
1268
1287
  if (typeof elementType === "function") {
1269
1288
  if ((_f = elementType.prototype) === null || _f === void 0 ? void 0 : _f.isMyReactComponent) {
1270
- nodeType = merge(nodeType, exports.NODE_TYPE.__class__);
1289
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__class__);
1271
1290
  }
1272
1291
  else {
1273
- nodeType = merge(nodeType, exports.NODE_TYPE.__function__);
1292
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__function__);
1274
1293
  }
1275
1294
  }
1276
1295
  }
1277
1296
  else if (typeof elementType === "function") {
1278
1297
  if ((_g = elementType.prototype) === null || _g === void 0 ? void 0 : _g.isMyReactComponent) {
1279
- nodeType = merge(nodeType, exports.NODE_TYPE.__class__);
1298
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__class__);
1280
1299
  }
1281
1300
  else {
1282
- nodeType = merge(nodeType, exports.NODE_TYPE.__function__);
1301
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__function__);
1283
1302
  }
1284
1303
  }
1285
1304
  else if (typeof elementType === "symbol") {
1286
1305
  switch (elementType) {
1287
1306
  case Root:
1288
- nodeType = merge(nodeType, exports.NODE_TYPE.__root__);
1307
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__root__);
1289
1308
  break;
1290
1309
  case Fragment:
1291
- nodeType = merge(nodeType, exports.NODE_TYPE.__fragment__);
1310
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__fragment__);
1292
1311
  break;
1293
1312
  case Strict:
1294
- nodeType = merge(nodeType, exports.NODE_TYPE.__strict__);
1313
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__strict__);
1295
1314
  break;
1296
1315
  case Suspense:
1297
- nodeType = merge(nodeType, exports.NODE_TYPE.__suspense__);
1316
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__suspense__);
1298
1317
  break;
1299
1318
  case Scope:
1300
- nodeType = merge(nodeType, exports.NODE_TYPE.__scope__);
1319
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__scope__);
1301
1320
  break;
1302
1321
  case ScopeLazy:
1303
- nodeType = merge(nodeType, exports.NODE_TYPE.__scopeLazy__);
1322
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__scopeLazy__);
1304
1323
  break;
1305
1324
  case ScopeSuspense:
1306
- nodeType = merge(nodeType, exports.NODE_TYPE.__scopeSuspense__);
1325
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__scopeSuspense__);
1307
1326
  break;
1308
1327
  case Comment:
1309
- nodeType = merge(nodeType, exports.NODE_TYPE.__comment__);
1328
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__comment__);
1310
1329
  break;
1311
1330
  case Portal:
1312
- nodeType = merge(nodeType, exports.NODE_TYPE.__portal__);
1331
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__portal__);
1313
1332
  break;
1314
1333
  case Profiler:
1315
- nodeType = merge(nodeType, exports.NODE_TYPE.__profiler__);
1334
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__profiler__);
1316
1335
  break;
1317
1336
  case Activity:
1318
- nodeType = merge(nodeType, exports.NODE_TYPE.__activity__);
1337
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__activity__);
1319
1338
  break;
1320
1339
  default:
1321
1340
  throw new Error("[@my-react/react] invalid symbol element type \"".concat(elementType === null || elementType === void 0 ? void 0 : elementType.toString(), "\""));
1322
1341
  }
1323
1342
  }
1324
1343
  else if (typeof elementType === "string" && elementType !== "") {
1325
- nodeType = merge(nodeType, exports.NODE_TYPE.__plain__);
1344
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__plain__);
1326
1345
  }
1327
1346
  else {
1328
- nodeType = merge(nodeType, exports.NODE_TYPE.__empty__);
1347
+ nodeType = merge(nodeType, exports$1.NODE_TYPE.__empty__);
1329
1348
  }
1330
1349
  return { key: key, ref: ref, nodeType: nodeType, elementType: elementType, pendingProps: pendingProps, finalElement: finalElement };
1331
1350
  };
@@ -1335,7 +1354,7 @@ function requireIndex_production () {
1335
1354
  var setRefreshHandler = function (handler) {
1336
1355
  };
1337
1356
  var setRefreshTypeMap = function (fiber) {
1338
- 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__)) {
1339
1358
  var elementType = fiber.elementType;
1340
1359
  var exist = typeToFibersMap.get(elementType) || new Set();
1341
1360
  exist.add(fiber);
@@ -1731,7 +1750,7 @@ function requireIndex_production () {
1731
1750
  var _a;
1732
1751
  var parent = fiber.parent;
1733
1752
  while (parent) {
1734
- if (include(parent.type, exports.NODE_TYPE.__suspense__)) {
1753
+ if (include(parent.type, exports$1.NODE_TYPE.__suspense__)) {
1735
1754
  return (_a = parent.pendingProps) === null || _a === void 0 ? void 0 : _a["fallback"];
1736
1755
  }
1737
1756
  parent = parent.parent;
@@ -1741,7 +1760,7 @@ function requireIndex_production () {
1741
1760
  var defaultResolveSuspenseFiber = function (fiber) {
1742
1761
  var parent = fiber.parent;
1743
1762
  while (parent) {
1744
- if (include(parent.type, exports.NODE_TYPE.__suspense__)) {
1763
+ if (include(parent.type, exports$1.NODE_TYPE.__suspense__)) {
1745
1764
  return parent;
1746
1765
  }
1747
1766
  parent = parent.parent;
@@ -1750,7 +1769,7 @@ function requireIndex_production () {
1750
1769
  };
1751
1770
  var defaultResolveAliveSuspenseFiber = function (fiber) {
1752
1771
  while (fiber) {
1753
- 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__)) {
1754
1773
  return fiber;
1755
1774
  }
1756
1775
  fiber = fiber.parent;
@@ -1873,7 +1892,6 @@ function requireIndex_production () {
1873
1892
  case 0:
1874
1893
  node = renderDispatch.pendingSuspenseFiberArray.uniShift();
1875
1894
  suspenseField = getInstanceFieldByInstance(node.instance);
1876
- renderDispatch.pendingSuspenseFiberArray.clear();
1877
1895
  list = suspenseField.asyncLoadList.getAll();
1878
1896
  return [4 /*yield*/, Promise.all(list.map(function (item) { return __awaiter(void 0, void 0, void 0, function () {
1879
1897
  var set;
@@ -1958,8 +1976,9 @@ function requireIndex_production () {
1958
1976
  }); };
1959
1977
  var processAsyncLoadListOnSyncMount = function (renderDispatch) {
1960
1978
  var _a;
1961
- if ((_a = renderDispatch.pendingSuspenseFiberArray) === null || _a === void 0 ? void 0 : _a.length) {
1979
+ var _loop_2 = function () {
1962
1980
  var allPendingSuspenseFiberArray = renderDispatch.pendingSuspenseFiberArray.getAll();
1981
+ renderDispatch.pendingSuspenseFiberArray.clear();
1963
1982
  if (renderDispatch.enableAsyncLoad) {
1964
1983
  var allField_1 = [];
1965
1984
  allPendingSuspenseFiberArray.forEach(function (node) {
@@ -1970,7 +1989,9 @@ function requireIndex_production () {
1970
1989
  return typeof item.status !== "string";
1971
1990
  }
1972
1991
  else {
1973
- return !item._loading && !item._loaded && !item._error;
1992
+ // return !item._loading && !item._loaded && !item._error;
1993
+ // return !item._loading;
1994
+ return true;
1974
1995
  }
1975
1996
  });
1976
1997
  if (allPendingLoadArray.length) {
@@ -2018,11 +2039,13 @@ function requireIndex_production () {
2018
2039
  // TODO use hide tree to improve
2019
2040
  mountLoopAll(renderDispatch, root);
2020
2041
  allField_1.forEach(function (field) { return (field.isHidden = false); });
2021
- renderDispatch.pendingSuspenseFiberArray.clear();
2022
2042
  }
2023
2043
  else {
2024
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");
2025
2045
  }
2046
+ };
2047
+ while ((_a = renderDispatch.pendingSuspenseFiberArray) === null || _a === void 0 ? void 0 : _a.length) {
2048
+ _loop_2();
2026
2049
  }
2027
2050
  if (enableSuspenseRoot$3.current) {
2028
2051
  var suspenseField_2 = getInstanceFieldByInstance(renderDispatch);
@@ -2085,13 +2108,13 @@ function requireIndex_production () {
2085
2108
 
2086
2109
  var enableSuspenseRoot$2 = react.__my_react_shared__.enableSuspenseRoot;
2087
2110
  var currentScheduler$d = react.__my_react_internal__.currentScheduler;
2088
- exports.updateTypeEnum = void 0;
2111
+ exports$1.updateTypeEnum = void 0;
2089
2112
  (function (updateTypeEnum) {
2090
2113
  updateTypeEnum[updateTypeEnum["syncFromRoot"] = 0] = "syncFromRoot";
2091
2114
  updateTypeEnum[updateTypeEnum["syncFromTrigger"] = 1] = "syncFromTrigger";
2092
2115
  updateTypeEnum[updateTypeEnum["concurrentFromRoot"] = 2] = "concurrentFromRoot";
2093
2116
  updateTypeEnum[updateTypeEnum["concurrentFromTrigger"] = 3] = "concurrentFromTrigger";
2094
- })(exports.updateTypeEnum || (exports.updateTypeEnum = {}));
2117
+ })(exports$1.updateTypeEnum || (exports$1.updateTypeEnum = {}));
2095
2118
  var triggerFiberUpdateListener = function (renderDispatch, fiber) {
2096
2119
  safeCallWithCurrentFiber({
2097
2120
  fiber: fiber,
@@ -2132,8 +2155,9 @@ function requireIndex_production () {
2132
2155
  };
2133
2156
  var processAsyncLoadListOnUpdate = function (renderDispatch) {
2134
2157
  var _a;
2135
- if ((_a = renderDispatch.pendingSuspenseFiberArray) === null || _a === void 0 ? void 0 : _a.length) {
2158
+ var _loop_1 = function () {
2136
2159
  var allPendingSuspenseFiberArray = renderDispatch.pendingSuspenseFiberArray.getAll();
2160
+ renderDispatch.pendingSuspenseFiberArray.clear();
2137
2161
  if (renderDispatch.enableAsyncLoad) {
2138
2162
  var allField_1 = [];
2139
2163
  allPendingSuspenseFiberArray.forEach(function (node) {
@@ -2144,7 +2168,9 @@ function requireIndex_production () {
2144
2168
  return typeof item.status !== "string";
2145
2169
  }
2146
2170
  else {
2147
- return !item._loading && !item._loaded && !item._error;
2171
+ // return !item._loading && !item._loaded && !item._error;
2172
+ // return !item._loading;
2173
+ return true;
2148
2174
  }
2149
2175
  });
2150
2176
  if (allPendingLoadArray.length) {
@@ -2193,20 +2219,62 @@ function requireIndex_production () {
2193
2219
  // TODO use hide tree to improve
2194
2220
  mountLoopAll(renderDispatch, root);
2195
2221
  allField_1.forEach(function (field) { return (field.isHidden = false); });
2196
- renderDispatch.pendingSuspenseFiberArray.clear();
2197
2222
  }
2198
2223
  else {
2199
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");
2200
2225
  }
2226
+ };
2227
+ while ((_a = renderDispatch.pendingSuspenseFiberArray) === null || _a === void 0 ? void 0 : _a.length) {
2228
+ _loop_1();
2201
2229
  }
2202
2230
  // TODO update flow
2203
2231
  if (enableSuspenseRoot$2.current) {
2204
- var suspenseField = getInstanceFieldByInstance(renderDispatch);
2205
- var list = suspenseField.asyncLoadList.getAll();
2232
+ var suspenseField_1 = getInstanceFieldByInstance(renderDispatch);
2233
+ var list = suspenseField_1.asyncLoadList.getAll();
2206
2234
  if (list.length === 0)
2207
2235
  return;
2208
2236
  if (renderDispatch.enableAsyncLoad) {
2209
- throw new Error("[@my-react/reconciler] not implemented yet");
2237
+ var allPendingLoadArray = list.filter(function (item) {
2238
+ if (isPromise(item)) {
2239
+ return typeof item.status !== "string";
2240
+ }
2241
+ else {
2242
+ return !item._loading && !item._loaded && !item._error;
2243
+ }
2244
+ });
2245
+ if (allPendingLoadArray.length) {
2246
+ Promise.all(allPendingLoadArray.map(function (item) { return __awaiter(void 0, void 0, void 0, function () {
2247
+ var allNode;
2248
+ var _a;
2249
+ return __generator(this, function (_b) {
2250
+ switch (_b.label) {
2251
+ case 0:
2252
+ if (!isPromise(item)) return [3 /*break*/, 2];
2253
+ return [4 /*yield*/, renderDispatch.processPromise(item)];
2254
+ case 1:
2255
+ _b.sent();
2256
+ return [3 /*break*/, 4];
2257
+ case 2: return [4 /*yield*/, renderDispatch.processLazy(item)];
2258
+ case 3:
2259
+ _b.sent();
2260
+ _b.label = 4;
2261
+ case 4:
2262
+ allNode = Array.from(item._list);
2263
+ (_a = item._list) === null || _a === void 0 ? void 0 : _a.clear();
2264
+ allNode.forEach(function (node) {
2265
+ node.state = STATE_TYPE.__reschedule__;
2266
+ });
2267
+ suspenseField_1.asyncLoadList.uniDelete(item);
2268
+ return [2 /*return*/];
2269
+ }
2270
+ });
2271
+ }); }));
2272
+ var root = renderDispatch.rootFiber;
2273
+ root.state = remove(root.state, STATE_TYPE.__stable__);
2274
+ root.state = merge(root.state, STATE_TYPE.__retrigger__);
2275
+ // TODO use hide tree to improve
2276
+ mountLoopAll(renderDispatch, root);
2277
+ }
2210
2278
  }
2211
2279
  else {
2212
2280
  throw new Error("[@my-react/reconciler] should not process async load list on sync mount without enableAsyncLoad, you may use a wrong renderDispatch instance");
@@ -2218,7 +2286,7 @@ function requireIndex_production () {
2218
2286
  return typeof instance.componentDidCatch === "function" || typeof Component.getDerivedStateFromError === "function";
2219
2287
  };
2220
2288
  var isErrorBoundariesComponent = function (fiber) {
2221
- 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__)) {
2222
2290
  var Component = fiber.elementType;
2223
2291
  var typedComponent = Component;
2224
2292
  var typedInstance = fiber.instance;
@@ -2258,7 +2326,6 @@ function requireIndex_production () {
2258
2326
  return field;
2259
2327
  };
2260
2328
 
2261
- /* eslint-disable max-lines */
2262
2329
  var enableLegacyLifeCycle = react.__my_react_shared__.enableLegacyLifeCycle;
2263
2330
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2264
2331
  // @ts-ignore
@@ -2344,7 +2411,7 @@ function requireIndex_production () {
2344
2411
  var processComponentDidMountOnMount = function (renderDispatch, fiber) {
2345
2412
  var typedInstance = fiber.instance;
2346
2413
  var effect = getInstanceEffectState(typedInstance);
2347
- if (exclude(effect, Effect_TYPE.__effect__)) {
2414
+ if (typeof effect === "number" && exclude(effect, Effect_TYPE.__effect__)) {
2348
2415
  setEffectForInstance(typedInstance, Effect_TYPE.__effect__);
2349
2416
  renderDispatch.pendingLayoutEffect(fiber, function invokeComponentDidMountOnInstance() {
2350
2417
  var _a;
@@ -2413,7 +2480,7 @@ function requireIndex_production () {
2413
2480
  var baseState = _a.baseState, baseProps = _a.baseProps, snapshot = _a.snapshot;
2414
2481
  var typedInstance = fiber.instance;
2415
2482
  var effect = getInstanceEffectState(typedInstance);
2416
- if (typedInstance.componentDidUpdate && exclude(effect, Effect_TYPE.__effect__)) {
2483
+ if (typedInstance.componentDidUpdate && typeof effect === "number" && exclude(effect, Effect_TYPE.__effect__)) {
2417
2484
  setEffectForInstance(typedInstance, Effect_TYPE.__effect__);
2418
2485
  renderDispatch.pendingLayoutEffect(fiber, function invokeComponentDidUpdateOnInstance() {
2419
2486
  var _a;
@@ -2547,7 +2614,7 @@ function requireIndex_production () {
2547
2614
  var nextContext = processComponentContextOnUpdate(renderDispatch, fiber);
2548
2615
  var shouldUpdate = Boolean(include(fiber.state, STATE_TYPE.__triggerSyncForce__ | STATE_TYPE.__triggerConcurrentForce__));
2549
2616
  if (!shouldUpdate) {
2550
- shouldUpdate = processComponentShouldUpdateOnUpdate(fiber, {
2617
+ shouldUpdate = !!processComponentShouldUpdateOnUpdate(fiber, {
2551
2618
  nextState: nextState,
2552
2619
  nextProps: nextProps,
2553
2620
  nextContext: nextContext,
@@ -2612,7 +2679,7 @@ function requireIndex_production () {
2612
2679
  var processClassComponentUpdateQueueLatest = function (renderDispatch, fiber, enableTaskPriority) {
2613
2680
  if (include(fiber.state, STATE_TYPE.__unmount__))
2614
2681
  return;
2615
- if (exclude(fiber.type, exports.NODE_TYPE.__class__))
2682
+ if (exclude(fiber.type, exports$1.NODE_TYPE.__class__))
2616
2683
  throw new Error("[@my-react/react] current fiber is not a class component, look like a bug for @my-react");
2617
2684
  var renderScheduler = currentScheduler$c.current;
2618
2685
  var allQueue = fiber.updateQueue;
@@ -2741,7 +2808,7 @@ function requireIndex_production () {
2741
2808
  var processClassComponentUpdateQueueLegacy = function (renderDispatch, fiber) {
2742
2809
  if (include(fiber.state, STATE_TYPE.__unmount__))
2743
2810
  return;
2744
- if (exclude(fiber.type, exports.NODE_TYPE.__class__))
2811
+ if (exclude(fiber.type, exports$1.NODE_TYPE.__class__))
2745
2812
  throw new Error("[@my-react/react] current fiber is not a class component, look like a bug for @my-react");
2746
2813
  var renderScheduler = currentScheduler$c.current;
2747
2814
  var allQueue = fiber.updateQueue;
@@ -2812,7 +2879,7 @@ function requireIndex_production () {
2812
2879
  var _a, _b;
2813
2880
  if (include(fiber.state, STATE_TYPE.__unmount__))
2814
2881
  return;
2815
- if (exclude(fiber.type, exports.NODE_TYPE.__function__)) {
2882
+ if (exclude(fiber.type, exports$1.NODE_TYPE.__function__)) {
2816
2883
  throw new Error("[@my-react/react] current fiber is not a function component, look like a bug for @my-react");
2817
2884
  }
2818
2885
  var renderScheduler = currentScheduler$c.current;
@@ -2971,7 +3038,7 @@ function requireIndex_production () {
2971
3038
  var _a;
2972
3039
  if (include(fiber.state, STATE_TYPE.__unmount__))
2973
3040
  return;
2974
- if (exclude(fiber.type, exports.NODE_TYPE.__function__)) {
3041
+ if (exclude(fiber.type, exports$1.NODE_TYPE.__function__)) {
2975
3042
  throw new Error("[@my-react/react] current fiber is not a function component, look like a bug for @my-react");
2976
3043
  }
2977
3044
  var renderScheduler = currentScheduler$c.current;
@@ -3261,12 +3328,11 @@ function requireIndex_production () {
3261
3328
  cb === null || cb === void 0 ? void 0 : cb();
3262
3329
  };
3263
3330
  var clearContainer = function (renderDispatch) {
3264
- var _a, _b, _c, _d;
3331
+ var _a, _b, _c;
3265
3332
  renderDispatch.pendingCommitFiberPatch = PATCH_TYPE.__initial__;
3266
3333
  (_a = renderDispatch.pendingUpdateFiberArray) === null || _a === void 0 ? void 0 : _a.clear();
3267
3334
  (_b = renderDispatch.pendingSuspenseFiberArray) === null || _b === void 0 ? void 0 : _b.clear();
3268
3335
  (_c = renderDispatch.pendingCommitFiberList) === null || _c === void 0 ? void 0 : _c.clear();
3269
- (_d = renderDispatch.pendingChangedFiberList) === null || _d === void 0 ? void 0 : _d.clear();
3270
3336
  renderDispatch.resetUpdateFlowRuntimeFiber();
3271
3337
  renderDispatch.isAppMounted = false;
3272
3338
  renderDispatch.isAppUnmounted = true;
@@ -3276,7 +3342,7 @@ function requireIndex_production () {
3276
3342
  var applyTriggerFiberCb = function (renderDispatch, fiber) {
3277
3343
  var _a, _b;
3278
3344
  var cbArray = renderDispatch.runtimeMap.triggerCallbackMap.get(fiber);
3279
- if (include(fiber.type, exports.NODE_TYPE.__class__)) {
3345
+ if (include(fiber.type, exports$1.NODE_TYPE.__class__)) {
3280
3346
  (_a = cbArray === null || cbArray === void 0 ? void 0 : cbArray.listToFoot) === null || _a === void 0 ? void 0 : _a.call(cbArray, function (cb) {
3281
3347
  renderDispatch.pendingLayoutEffect(fiber, cb, { stickyToFoot: true });
3282
3348
  });
@@ -3486,14 +3552,12 @@ function requireIndex_production () {
3486
3552
  react.__my_react_shared__.enableScopeTreeLog;
3487
3553
  function finishUpdateSyncFromRoot(renderDispatch) {
3488
3554
  var commitList = renderDispatch.pendingCommitFiberList;
3489
- var changedList = renderDispatch.pendingChangedFiberList;
3490
3555
  renderDispatch.resetUpdateFlowRuntimeFiber();
3491
3556
  renderDispatch.pendingCommitFiberList = null;
3492
- renderDispatch.pendingChangedFiberList = null;
3493
3557
  (commitList === null || commitList === void 0 ? void 0 : commitList.length) && renderDispatch.reconcileUpdate(commitList, true);
3494
- (changedList === null || changedList === void 0 ? void 0 : changedList.length) &&
3558
+ (commitList === null || commitList === void 0 ? void 0 : commitList.length) &&
3495
3559
  safeCall(function safeCallFiberHasChangeListener() {
3496
- renderDispatch.callOnFiberChange(changedList);
3560
+ renderDispatch.callOnFiberChange(commitList);
3497
3561
  });
3498
3562
  }
3499
3563
  var updateSyncFromRoot = function (renderDispatch) {
@@ -3509,14 +3573,12 @@ function requireIndex_production () {
3509
3573
  };
3510
3574
  function finishUpdateConcurrentFromRoot(renderDispatch) {
3511
3575
  var commitList = renderDispatch.pendingCommitFiberList;
3512
- var changedList = renderDispatch.pendingChangedFiberList;
3513
3576
  renderDispatch.resetUpdateFlowRuntimeFiber();
3514
3577
  renderDispatch.pendingCommitFiberList = null;
3515
- renderDispatch.pendingChangedFiberList = null;
3516
3578
  (commitList === null || commitList === void 0 ? void 0 : commitList.length) && renderDispatch.reconcileUpdate(commitList);
3517
- (changedList === null || changedList === void 0 ? void 0 : changedList.length) &&
3579
+ (commitList === null || commitList === void 0 ? void 0 : commitList.length) &&
3518
3580
  safeCall(function safeCallFiberHasChangeListener() {
3519
- renderDispatch.callOnFiberChange(changedList);
3581
+ renderDispatch.callOnFiberChange(commitList);
3520
3582
  });
3521
3583
  }
3522
3584
  function checkNextFiberIsSync(renderDispatch) {
@@ -3661,8 +3723,9 @@ function requireIndex_production () {
3661
3723
  if (currentHookIndex === 0) {
3662
3724
  defaultDeleteChildEffect(renderDispatch, fiber);
3663
3725
  defaultDeleteCurrentEffect(renderDispatch, fiber);
3664
- fiber.hookList.clear();
3665
3726
  }
3727
+ return currentHook;
3728
+ // fiber.hookList.clear();
3666
3729
  }
3667
3730
  else {
3668
3731
  throw new Error("[@my-react/react] should not have a hookList for current node, this is a bug for @my-react");
@@ -4153,10 +4216,10 @@ function requireIndex_production () {
4153
4216
  var renderScheduler = currentScheduler$5.current;
4154
4217
  var flag = renderDispatch.enableConcurrentMode;
4155
4218
  var updateState = null;
4156
- if (include(fiber.type, exports.NODE_TYPE.__class__)) {
4219
+ if (include(fiber.type, exports$1.NODE_TYPE.__class__)) {
4157
4220
  updateState = flag ? processClassComponentUpdateQueueLatest(renderDispatch, fiber, flag) : processClassComponentUpdateQueueLegacy(renderDispatch, fiber);
4158
4221
  }
4159
- else if (include(fiber.type, exports.NODE_TYPE.__function__)) {
4222
+ else if (include(fiber.type, exports$1.NODE_TYPE.__function__)) {
4160
4223
  updateState = flag
4161
4224
  ? processFunctionComponentUpdateQueueLatest(renderDispatch, fiber, flag)
4162
4225
  : processFunctionComponentUpdateQueueLegacy(renderDispatch, fiber);
@@ -4242,7 +4305,7 @@ function requireIndex_production () {
4242
4305
  function MyReactFiberNode(element) {
4243
4306
  this.state = STATE_TYPE.__initial__;
4244
4307
  this.patch = PATCH_TYPE.__initial__;
4245
- this.type = exports.NODE_TYPE.__initial__;
4308
+ this.type = exports$1.NODE_TYPE.__initial__;
4246
4309
  this.child = null;
4247
4310
  this.parent = null;
4248
4311
  this.sibling = null;
@@ -4257,7 +4320,7 @@ function requireIndex_production () {
4257
4320
  this.key = key;
4258
4321
  this.type = nodeType;
4259
4322
  this.elementType = elementType;
4260
- if (include(nodeType, exports.NODE_TYPE.__function__)) {
4323
+ if (include(nodeType, exports$1.NODE_TYPE.__function__)) {
4261
4324
  this.elementRawType = element === null || element === void 0 ? void 0 : element.type;
4262
4325
  }
4263
4326
  this.pendingProps = pendingProps;
@@ -4343,7 +4406,7 @@ function requireIndex_production () {
4343
4406
  var nextProps = fiber.pendingProps;
4344
4407
  var nextRef = fiber.ref;
4345
4408
  if (prevElementType !== nextElementType || prevProps !== nextProps) {
4346
- if (include(fiber.type, exports.NODE_TYPE.__memo__)) {
4409
+ if (include(fiber.type, exports$1.NODE_TYPE.__memo__)) {
4347
4410
  var typedElement = nextElement;
4348
4411
  var typedElementType = typedElement.type;
4349
4412
  var compare = typedElementType.compare || isNormalEquals;
@@ -4362,12 +4425,12 @@ function requireIndex_production () {
4362
4425
  }
4363
4426
  }
4364
4427
  if (fiber.state !== STATE_TYPE.__stable__) {
4365
- if (include(fiber.type, exports.NODE_TYPE.__plain__)) {
4428
+ if (include(fiber.type, exports$1.NODE_TYPE.__plain__)) {
4366
4429
  if (!isNormalEquals(fiber.pendingProps, fiber.memoizedProps, function (key) { return key === "children"; })) {
4367
4430
  renderDispatch.pendingUpdate(fiber);
4368
4431
  }
4369
4432
  }
4370
- if (include(fiber.type, exports.NODE_TYPE.__text__)) {
4433
+ if (include(fiber.type, exports$1.NODE_TYPE.__text__)) {
4371
4434
  renderDispatch.pendingUpdate(fiber);
4372
4435
  }
4373
4436
  }
@@ -4446,7 +4509,6 @@ function requireIndex_production () {
4446
4509
  renderDispatch.runtimeMap.effectMap.delete(fiber);
4447
4510
  renderDispatch.runtimeMap.layoutEffectMap.delete(fiber);
4448
4511
  renderDispatch.runtimeMap.unmountMap.delete(fiber);
4449
- renderDispatch.runtimeMap.eventMap.delete(fiber);
4450
4512
  renderDispatch.runtimeMap.triggerCallbackMap.delete(fiber);
4451
4513
  if (Boolean(false) === false) {
4452
4514
  // fiber.child = null;
@@ -4504,7 +4566,6 @@ function requireIndex_production () {
4504
4566
  renderDispatch.pendingUnmount(parentFiber, f);
4505
4567
  });
4506
4568
  });
4507
- renderDispatch.generateChangedList(parentFiber, true);
4508
4569
  }
4509
4570
  };
4510
4571
  var getNewFiberWithUpdate = function (renderDispatch, newChild, parentFiber, existingChildren, prevFiberChild, index) {
@@ -4516,13 +4577,11 @@ function requireIndex_production () {
4516
4577
  existingChildren.delete(index);
4517
4578
  }
4518
4579
  // same type
4519
- 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__)) {
4520
4581
  var newElement = react.createElement(Fragment, dynamicFragmentProps, newChild);
4521
- draftFiber_1 !== prevFiberChild && renderDispatch.generateChangedList(parentFiber);
4522
4582
  return updateFiberNode(renderDispatch, { fiber: draftFiber_1, parent: parentFiber, prevFiber: prevFiberChild }, newElement);
4523
4583
  }
4524
4584
  else {
4525
- draftFiber_1 && renderDispatch.generateChangedList(parentFiber);
4526
4585
  draftFiber_1 && renderDispatch.pendingUnmount(parentFiber, draftFiber_1);
4527
4586
  return createFragmentWithUpdate(renderDispatch, newChild, parentFiber);
4528
4587
  }
@@ -4535,12 +4594,10 @@ function requireIndex_production () {
4535
4594
  }
4536
4595
  var isSameType = getIsSameTypeNode(newChild, draftFiber);
4537
4596
  if (isSameType) {
4538
- draftFiber !== prevFiberChild && renderDispatch.generateChangedList(parentFiber);
4539
4597
  return updateFiberNode(renderDispatch, { fiber: draftFiber, parent: parentFiber, prevFiber: prevFiberChild }, newChild);
4540
4598
  }
4541
4599
  else {
4542
4600
  draftFiber && renderDispatch.pendingUnmount(parentFiber, draftFiber);
4543
- draftFiber && renderDispatch.generateChangedList(parentFiber);
4544
4601
  return createFiberNode(renderDispatch, { parent: parentFiber, type: "position" }, newChild);
4545
4602
  }
4546
4603
  };
@@ -4583,7 +4640,6 @@ function requireIndex_production () {
4583
4640
  deleteIfNeed(renderDispatch, parentFiber, existingChildrenMap);
4584
4641
  }
4585
4642
  else {
4586
- renderDispatch.generateChangedList(parentFiber);
4587
4643
  var existingChildrenMap = getExistingChildren(parentFiber).existingChildrenMap;
4588
4644
  deleteIfNeed(renderDispatch, parentFiber, existingChildrenMap);
4589
4645
  parentFiber.child = null;
@@ -4654,7 +4710,7 @@ function requireIndex_production () {
4654
4710
  return children;
4655
4711
  };
4656
4712
 
4657
- 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;
4658
4714
  var triggerState = STATE_TYPE.__triggerSync__ |
4659
4715
  STATE_TYPE.__triggerSyncForce__ |
4660
4716
  STATE_TYPE.__triggerConcurrent__ |
@@ -4666,7 +4722,7 @@ function requireIndex_production () {
4666
4722
  currentHookNodeIndex$1.current = 0;
4667
4723
  var typedElementType = fiber.elementType;
4668
4724
  var children = null;
4669
- if (include(fiber.type, exports.NODE_TYPE.__forwardRef__)) {
4725
+ if (include(fiber.type, exports$1.NODE_TYPE.__forwardRef__)) {
4670
4726
  var typedElementTypeWithRef_1 = typedElementType;
4671
4727
  children = safeCallWithCurrentFiber({
4672
4728
  fiber: fiber,
@@ -4674,7 +4730,17 @@ function requireIndex_production () {
4674
4730
  var _a, _b, _c, _d;
4675
4731
  var re = undefined;
4676
4732
  try {
4677
- 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
+ }
4678
4744
  }
4679
4745
  catch (e) {
4680
4746
  if (isPromise(e)) {
@@ -4701,7 +4767,16 @@ function requireIndex_production () {
4701
4767
  var _a, _b, _c, _d;
4702
4768
  var re = undefined;
4703
4769
  try {
4704
- 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
+ }
4705
4780
  }
4706
4781
  catch (e) {
4707
4782
  if (isPromise(e)) {
@@ -4730,7 +4805,7 @@ function requireIndex_production () {
4730
4805
  var WrapperBySuspenseScope = function (children) {
4731
4806
  return react.createElement(ScopeSuspense, null, react.createElement(Comment, { mode: "s" }), children, react.createElement(Comment, { mode: "e" }));
4732
4807
  };
4733
- 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__); };
4734
4809
  var isCommentStartElement = function (fiber) {
4735
4810
  if (isCommentElement(fiber)) {
4736
4811
  return fiber.pendingProps["mode"] === "s";
@@ -4744,7 +4819,7 @@ function requireIndex_production () {
4744
4819
  return false;
4745
4820
  };
4746
4821
 
4747
- var enableSuspenseRoot$1 = react.__my_react_shared__.enableSuspenseRoot;
4822
+ var enableSuspenseRoot$1 = react.__my_react_shared__.enableSuspenseRoot; react.__my_react_shared__.enableDebugFiled;
4748
4823
  var currentScheduler$3 = react.__my_react_internal__.currentScheduler;
4749
4824
  var loadLazy = function (renderDispatch, typedElementType) { return __awaiter(void 0, void 0, void 0, function () {
4750
4825
  var loadedPromise, loaded, render, e_1;
@@ -4785,7 +4860,12 @@ function requireIndex_production () {
4785
4860
  }
4786
4861
  if (typedElementType._loaded === true) {
4787
4862
  var render = typedElementType.render;
4788
- 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
+ }
4789
4869
  }
4790
4870
  typedElementType._list = typedElementType._list || new Set();
4791
4871
  typedElementType._list.add(fiber);
@@ -4993,7 +5073,7 @@ function requireIndex_production () {
4993
5073
  nextWorkCommon(renderDispatch, fiber, children);
4994
5074
  };
4995
5075
  var nextWorkComponent = function (renderDispatch, fiber) {
4996
- if (include(fiber.type, exports.NODE_TYPE.__function__)) {
5076
+ if (include(fiber.type, exports$1.NODE_TYPE.__function__)) {
4997
5077
  currentComponentFiber$1.current = fiber;
4998
5078
  nextWorkFunctionComponent(renderDispatch, fiber);
4999
5079
  currentComponentFiber$1.current = null;
@@ -5113,14 +5193,14 @@ function requireIndex_production () {
5113
5193
  if ((fiber === null || fiber === void 0 ? void 0 : fiber.parent) && ContextObject) {
5114
5194
  var parent_1 = fiber.parent;
5115
5195
  while (parent_1) {
5116
- if (include(parent_1.type, exports.NODE_TYPE.__provider__)) {
5196
+ if (include(parent_1.type, exports$1.NODE_TYPE.__provider__)) {
5117
5197
  var typedElementType = parent_1.elementType;
5118
5198
  var contextObj = typedElementType["Context"];
5119
5199
  if (contextObj === ContextObject) {
5120
5200
  return parent_1;
5121
5201
  }
5122
5202
  }
5123
- if (include(parent_1.type, exports.NODE_TYPE.__context__)) {
5203
+ if (include(parent_1.type, exports$1.NODE_TYPE.__context__)) {
5124
5204
  var typedElementType = parent_1.elementType;
5125
5205
  var contextObj = typedElementType;
5126
5206
  if (contextObj === ContextObject) {
@@ -5251,7 +5331,7 @@ function requireIndex_production () {
5251
5331
  var defaultResolveScope = function (fiber) {
5252
5332
  var parent = fiber.parent;
5253
5333
  while (parent) {
5254
- 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__)) {
5255
5335
  return parent;
5256
5336
  }
5257
5337
  parent = parent.parent;
@@ -5291,22 +5371,22 @@ function requireIndex_production () {
5291
5371
  });
5292
5372
  }
5293
5373
  });
5294
- _list.listToHead(function invokePositionList(_fiber) {
5374
+ _list.listToFoot(function invokeAppendList(_fiber) {
5295
5375
  if (exclude(_fiber.state, STATE_TYPE.__unmount__) && !_dispatch.isAppUnmounted) {
5296
5376
  safeCallWithCurrentFiber({
5297
5377
  fiber: _fiber,
5298
- action: function safeCallPosition() {
5299
- _dispatch.commitPosition(_fiber);
5378
+ action: function safeCallAppendList() {
5379
+ _dispatch.commitAppend(_fiber);
5300
5380
  },
5301
5381
  });
5302
5382
  }
5303
5383
  });
5304
- _list.listToFoot(function invokeAppendList(_fiber) {
5384
+ _list.listToHead(function invokePositionList(_fiber) {
5305
5385
  if (exclude(_fiber.state, STATE_TYPE.__unmount__) && !_dispatch.isAppUnmounted) {
5306
5386
  safeCallWithCurrentFiber({
5307
5387
  fiber: _fiber,
5308
- action: function safeCallAppendList() {
5309
- _dispatch.commitAppend(_fiber);
5388
+ action: function safeCallPosition() {
5389
+ _dispatch.commitPosition(_fiber);
5310
5390
  },
5311
5391
  });
5312
5392
  }
@@ -5402,7 +5482,7 @@ function requireIndex_production () {
5402
5482
  return resolveHookValue(currentHook, field);
5403
5483
  };
5404
5484
 
5405
- var enableSuspenseRoot = react.__my_react_shared__.enableSuspenseRoot;
5485
+ var enableSuspenseRoot = react.__my_react_shared__.enableSuspenseRoot; react.__my_react_shared__.enableDebugFiled;
5406
5486
  var currentScheduler = react.__my_react_internal__.currentScheduler;
5407
5487
  var loadPromise = function (renderDispatch, promise) { return __awaiter(void 0, void 0, void 0, function () {
5408
5488
  var value, reason_1;
@@ -5413,20 +5493,22 @@ function requireIndex_production () {
5413
5493
  return [2 /*return*/];
5414
5494
  _a.label = 1;
5415
5495
  case 1:
5416
- _a.trys.push([1, 3, , 4]);
5496
+ _a.trys.push([1, 3, 4, 5]);
5417
5497
  promise.status = "pending";
5418
5498
  return [4 /*yield*/, Promise.resolve(promise)];
5419
5499
  case 2:
5420
5500
  value = _a.sent();
5421
5501
  promise.status = "fulfilled";
5422
5502
  promise._value = value;
5423
- return [3 /*break*/, 4];
5503
+ return [3 /*break*/, 5];
5424
5504
  case 3:
5425
5505
  reason_1 = _a.sent();
5426
5506
  promise.status = "rejected";
5427
5507
  promise._reason = reason_1;
5428
- return [3 /*break*/, 4];
5429
- case 4: return [2 /*return*/];
5508
+ return [3 /*break*/, 5];
5509
+ case 4:
5510
+ return [7 /*endfinally*/];
5511
+ case 5: return [2 /*return*/];
5430
5512
  }
5431
5513
  });
5432
5514
  }); };
@@ -5544,7 +5626,6 @@ function requireIndex_production () {
5544
5626
  layoutEffectMap: new MyWeakMap(),
5545
5627
  insertionEffectMap: new MyWeakMap(),
5546
5628
  unmountMap: new MyWeakMap(),
5547
- eventMap: new MyWeakMap(),
5548
5629
  triggerCallbackMap: new MyWeakMap(),
5549
5630
  }); };
5550
5631
  var getInitialFiber = function () { return ({
@@ -5554,11 +5635,11 @@ function requireIndex_production () {
5554
5635
  retriggerFiber: null,
5555
5636
  }); };
5556
5637
  var initialRef = {
5557
- typeForRef: exports.NODE_TYPE.__plain__ | exports.NODE_TYPE.__class__,
5558
- typeForCreate: exports.NODE_TYPE.__text__ | exports.NODE_TYPE.__plain__ | exports.NODE_TYPE.__portal__ | exports.NODE_TYPE.__comment__,
5559
- typeForUpdate: exports.NODE_TYPE.__text__ | exports.NODE_TYPE.__plain__ | exports.NODE_TYPE.__comment__,
5560
- typeForAppend: exports.NODE_TYPE.__text__ | exports.NODE_TYPE.__plain__ | exports.NODE_TYPE.__comment__,
5561
- 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__,
5562
5643
  };
5563
5644
  var listenerMap = dispatchToListenerMap;
5564
5645
  var RenderDispatchEvent = /** @class */ (function (_super) {
@@ -5662,628 +5743,668 @@ function requireIndex_production () {
5662
5743
  RenderDispatchEvent.prototype.resetYield = function () {
5663
5744
  };
5664
5745
  RenderDispatchEvent.prototype.onFiberInitial = function (cb) {
5665
- var set = listenerMap.get(this).fiberInitial;
5666
- set.add(cb);
5667
- 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); };
5668
5750
  };
5669
5751
  RenderDispatchEvent.prototype.onceFiberInitial = function (cb) {
5670
- var set = listenerMap.get(this).fiberInitial;
5752
+ var _a;
5753
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberInitial;
5671
5754
  var onceCb = function (_fiber) {
5672
5755
  cb(_fiber);
5673
- set.delete(onceCb);
5756
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
5674
5757
  };
5675
- set.add(onceCb);
5758
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
5676
5759
  };
5677
5760
  RenderDispatchEvent.prototype.callOnFiberInitial = function (_fiber) {
5678
- var _a;
5679
- var set = listenerMap.get(this).fiberInitial;
5680
- (_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); });
5681
5764
  };
5682
5765
  RenderDispatchEvent.prototype.onFiberUpdate = function (cb) {
5683
- var set = listenerMap.get(this).fiberUpdate;
5684
- set.add(cb);
5685
- 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); };
5686
5770
  };
5687
5771
  RenderDispatchEvent.prototype.onceFiberUpdate = function (cb) {
5688
- var set = listenerMap.get(this).fiberUpdate;
5772
+ var _a;
5773
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberUpdate;
5689
5774
  var onceCb = function (_fiber) {
5690
5775
  cb(_fiber);
5691
- set.delete(onceCb);
5776
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
5692
5777
  };
5693
- set.add(onceCb);
5778
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
5694
5779
  };
5695
5780
  RenderDispatchEvent.prototype.callOnFiberUpdate = function (_fiber) {
5696
- var _a;
5697
- var set = listenerMap.get(this).fiberUpdate;
5698
- (_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); });
5699
5784
  };
5700
5785
  RenderDispatchEvent.prototype.onFiberChange = function (cb) {
5701
- var set = listenerMap.get(this).fiberHasChange;
5702
- set.add(cb);
5703
- 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); };
5704
5790
  };
5705
5791
  RenderDispatchEvent.prototype.onceFiberChange = function (cb) {
5706
- var set = listenerMap.get(this).fiberHasChange;
5792
+ var _a;
5793
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberHasChange;
5707
5794
  var onceCb = function (_list) {
5708
5795
  cb(_list);
5709
- set.delete(onceCb);
5796
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
5710
5797
  };
5711
- set.add(onceCb);
5798
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
5712
5799
  };
5713
5800
  RenderDispatchEvent.prototype.callOnFiberChange = function (_list) {
5714
- var _a;
5715
- var set = listenerMap.get(this).fiberHasChange;
5716
- (_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); });
5717
5804
  };
5718
5805
  RenderDispatchEvent.prototype.onFiberUnmount = function (cb) {
5719
- var set = listenerMap.get(this).fiberUnmount;
5720
- set.add(cb);
5721
- 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); };
5722
5810
  };
5723
5811
  RenderDispatchEvent.prototype.onceFiberUnmount = function (cb) {
5724
- var set = listenerMap.get(this).fiberUnmount;
5812
+ var _a;
5813
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberUnmount;
5725
5814
  var onceCb = function (_fiber) {
5726
5815
  cb(_fiber);
5727
- set.delete(onceCb);
5816
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
5728
5817
  };
5729
- set.add(onceCb);
5818
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
5730
5819
  };
5731
5820
  RenderDispatchEvent.prototype.callOnFiberUnmount = function (_fiber) {
5732
- var _a;
5733
- var set = listenerMap.get(this).fiberUnmount;
5734
- (_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); });
5735
5824
  };
5736
5825
  RenderDispatchEvent.prototype.onFiberState = function (cb) {
5737
- var set = listenerMap.get(this).fiberState;
5738
- set.add(cb);
5739
- 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); };
5740
5830
  };
5741
5831
  RenderDispatchEvent.prototype.onceFiberState = function (cb) {
5742
- var set = listenerMap.get(this).fiberState;
5832
+ var _a;
5833
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberState;
5743
5834
  var onceCb = function (_fiber, _updater) {
5744
5835
  cb(_fiber, _updater);
5745
- set.delete(onceCb);
5836
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
5746
5837
  };
5747
- set.add(onceCb);
5838
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
5748
5839
  };
5749
5840
  RenderDispatchEvent.prototype.callOnFiberState = function (_fiber, _updater) {
5750
- var _a;
5751
- var set = listenerMap.get(this).fiberState;
5752
- (_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); });
5753
5844
  };
5754
5845
  RenderDispatchEvent.prototype.onFiberTrigger = function (cb) {
5755
- var set = listenerMap.get(this).fiberTrigger;
5756
- set.add(cb);
5757
- 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); };
5758
5850
  };
5759
5851
  RenderDispatchEvent.prototype.onceFiberTrigger = function (cb) {
5760
- var set = listenerMap.get(this).fiberTrigger;
5852
+ var _a;
5853
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.fiberTrigger;
5761
5854
  var onceCb = function (_fiber, _state) {
5762
5855
  cb(_fiber, _state);
5763
- set.delete(onceCb);
5856
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
5764
5857
  };
5765
- set.add(onceCb);
5858
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
5766
5859
  };
5767
5860
  RenderDispatchEvent.prototype.callOnFiberTrigger = function (_fiber, _state) {
5768
- var _a;
5769
- var set = listenerMap.get(this).fiberTrigger;
5770
- (_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); });
5771
5864
  };
5772
5865
  RenderDispatchEvent.prototype.onFiberHMR = function (cb) {
5773
- var _a;
5774
- var set = listenerMap.get(this).fiberHMR;
5775
- (_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);
5776
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); };
5777
5870
  };
5778
5871
  RenderDispatchEvent.prototype.onceFiberHMR = function (cb) {
5779
- var _a;
5780
- 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;
5781
5874
  var onceCb = function (_fiber, _forceRefresh) {
5782
5875
  var _a;
5783
5876
  cb(_fiber, _forceRefresh);
5784
5877
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5785
5878
  };
5786
- (_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);
5787
5880
  };
5788
5881
  RenderDispatchEvent.prototype.callOnFiberHMR = function (_fiber, _forceRefresh) {
5789
- var _a;
5790
- var set = listenerMap.get(this).fiberHMR;
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, _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); });
5792
5885
  };
5793
5886
  RenderDispatchEvent.prototype.onFiberWarn = function (cb) {
5794
- var _a;
5795
- var set = listenerMap.get(this).fiberWarn;
5796
- (_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);
5797
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); };
5798
5891
  };
5799
5892
  RenderDispatchEvent.prototype.onceFiberWarn = function (cb) {
5800
- var _a;
5801
- 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;
5802
5895
  var onceCb = function (_fiber) {
5803
5896
  var _a;
5804
5897
  cb(_fiber);
5805
5898
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5806
5899
  };
5807
- (_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);
5808
5901
  };
5809
5902
  RenderDispatchEvent.prototype.callOnFiberWarn = function (_fiber) {
5810
- var _a;
5903
+ var _a, _b;
5811
5904
  var args = [];
5812
5905
  for (var _i = 1; _i < arguments.length; _i++) {
5813
5906
  args[_i - 1] = arguments[_i];
5814
5907
  }
5815
- var set = listenerMap.get(this).fiberWarn;
5816
- (_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)); });
5817
5910
  };
5818
5911
  RenderDispatchEvent.prototype.onFiberError = function (cb) {
5819
- var _a;
5820
- var set = listenerMap.get(this).fiberError;
5821
- (_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);
5822
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); };
5823
5916
  };
5824
5917
  RenderDispatchEvent.prototype.onceFiberError = function (cb) {
5825
- var _a;
5826
- 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;
5827
5920
  var onceCb = function (_fiber) {
5828
5921
  var _a;
5829
5922
  cb(_fiber);
5830
5923
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5831
5924
  };
5832
- (_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);
5833
5926
  };
5834
5927
  RenderDispatchEvent.prototype.callOnFiberError = function (_fiber) {
5835
- var _a;
5928
+ var _a, _b;
5836
5929
  var args = [];
5837
5930
  for (var _i = 1; _i < arguments.length; _i++) {
5838
5931
  args[_i - 1] = arguments[_i];
5839
5932
  }
5840
- var set = listenerMap.get(this).fiberError;
5841
- (_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)); });
5842
5935
  };
5843
5936
  RenderDispatchEvent.prototype.onPerformanceWarn = function (cb) {
5844
- var _a;
5845
- var set = listenerMap.get(this).performanceWarn;
5846
- (_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);
5847
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); };
5848
5941
  };
5849
5942
  RenderDispatchEvent.prototype.oncePerformanceWarn = function (cb) {
5850
- var _a;
5851
- 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;
5852
5945
  var onceCb = function (_fiber, _renderTime) {
5853
5946
  var _a;
5854
5947
  cb(_fiber, _renderTime);
5855
5948
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5856
5949
  };
5857
- (_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);
5858
5951
  };
5859
5952
  RenderDispatchEvent.prototype.callOnPerformanceWarn = function (_fiber, _renderTime) {
5860
- var _a;
5861
- var set = listenerMap.get(this).performanceWarn;
5862
- (_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); });
5863
5956
  };
5864
5957
  RenderDispatchEvent.prototype.onBeforeFiberRun = function (cb) {
5865
- var _a;
5866
- var set = listenerMap.get(this).beforeFiberRun;
5867
- (_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);
5868
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); };
5869
5962
  };
5870
5963
  RenderDispatchEvent.prototype.onceBeforeFiberRun = function (cb) {
5871
- var _a;
5872
- 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;
5873
5966
  var onceCb = function (_fiber) {
5874
5967
  var _a;
5875
5968
  cb(_fiber);
5876
5969
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5877
5970
  };
5878
- (_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);
5879
5972
  };
5880
5973
  RenderDispatchEvent.prototype.callOnBeforeFiberRun = function (_fiber) {
5881
- var _a;
5882
- var set = listenerMap.get(this).beforeFiberRun;
5883
- (_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); });
5884
5977
  };
5885
5978
  RenderDispatchEvent.prototype.onAfterFiberRun = function (cb) {
5886
- var _a;
5887
- var set = listenerMap.get(this).afterFiberRun;
5888
- (_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);
5889
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); };
5890
5983
  };
5891
5984
  RenderDispatchEvent.prototype.onceAfterFiberRun = function (cb) {
5892
- var _a;
5893
- 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;
5894
5987
  var onceCb = function (_fiber) {
5895
5988
  var _a;
5896
5989
  cb(_fiber);
5897
5990
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5898
5991
  };
5899
- (_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);
5900
5993
  };
5901
5994
  RenderDispatchEvent.prototype.callOnAfterFiberRun = function (_fiber) {
5902
- var _a;
5903
- var set = listenerMap.get(this).afterFiberRun;
5904
- (_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); });
5905
5998
  };
5906
5999
  RenderDispatchEvent.prototype.onAfterFiberDone = function (cb) {
5907
- var _a;
5908
- var set = listenerMap.get(this).afterFiberDone;
5909
- (_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);
5910
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); };
5911
6004
  };
5912
6005
  RenderDispatchEvent.prototype.onceAfterFiberDone = function (cb) {
5913
- var _a;
5914
- 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;
5915
6008
  var onceCb = function (_fiber) {
5916
6009
  var _a;
5917
6010
  cb(_fiber);
5918
6011
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5919
6012
  };
5920
- (_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);
5921
6014
  };
5922
6015
  RenderDispatchEvent.prototype.callOnAfterFiberDone = function (_fiber) {
5923
- var _a;
5924
- var set = listenerMap.get(this).afterFiberDone;
5925
- (_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); });
5926
6019
  };
5927
6020
  RenderDispatchEvent.prototype.onBeforeDispatchRender = function (cb) {
5928
- var _a;
5929
- var set = listenerMap.get(this).beforeDispatchRender;
5930
- (_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);
5931
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); };
5932
6025
  };
5933
6026
  RenderDispatchEvent.prototype.onceBeforeDispatchRender = function (cb) {
5934
- var _a;
5935
- 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;
5936
6029
  var onceCb = function (renderDispatch, fiber) {
5937
6030
  var _a;
5938
6031
  cb(renderDispatch, fiber);
5939
6032
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5940
6033
  };
5941
- (_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);
5942
6035
  };
5943
6036
  RenderDispatchEvent.prototype.callOnBeforeDispatchRender = function (renderDispatch, fiber) {
5944
- var _a;
5945
- var set = listenerMap.get(this).beforeDispatchRender;
5946
- (_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); });
5947
6040
  };
5948
6041
  RenderDispatchEvent.prototype.onAfterDispatchRender = function (cb) {
5949
- var _a;
5950
- var set = listenerMap.get(this).afterDispatchRender;
5951
- (_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);
5952
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); };
5953
6046
  };
5954
6047
  RenderDispatchEvent.prototype.onceAfterDispatchRender = function (cb) {
5955
- var _a;
5956
- 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;
5957
6050
  var onceCb = function (renderDispatch) {
5958
6051
  var _a;
5959
6052
  cb(renderDispatch);
5960
6053
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5961
6054
  };
5962
- (_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);
5963
6056
  };
5964
6057
  RenderDispatchEvent.prototype.callOnAfterDispatchRender = function (renderDispatch) {
5965
- var _a;
5966
- var set = listenerMap.get(this).afterDispatchRender;
5967
- (_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); });
5968
6061
  };
5969
6062
  RenderDispatchEvent.prototype.onBeforeDispatchUpdate = function (cb) {
5970
- var _a;
5971
- var set = listenerMap.get(this).beforeDispatchUpdate;
5972
- (_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);
5973
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); };
5974
6067
  };
5975
6068
  RenderDispatchEvent.prototype.onceBeforeDispatchUpdate = function (cb) {
5976
- var _a;
5977
- 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;
5978
6071
  var onceCb = function (renderDispatch, list) {
5979
6072
  var _a;
5980
6073
  cb(renderDispatch, list);
5981
6074
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
5982
6075
  };
5983
- (_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);
5984
6077
  };
5985
6078
  RenderDispatchEvent.prototype.callOnBeforeDispatchUpdate = function (renderDispatch, list) {
5986
- var _a;
5987
- var set = listenerMap.get(this).beforeDispatchUpdate;
5988
- (_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); });
5989
6082
  };
5990
6083
  RenderDispatchEvent.prototype.onAfterDispatchUpdate = function (cb) {
5991
- var _a;
5992
- var set = listenerMap.get(this).afterDispatchUpdate;
5993
- (_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);
5994
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); };
5995
6088
  };
5996
6089
  RenderDispatchEvent.prototype.onceAfterDispatchUpdate = function (cb) {
5997
- var _a;
5998
- 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;
5999
6092
  var onceCb = function (renderDispatch) {
6000
6093
  var _a;
6001
6094
  cb(renderDispatch);
6002
6095
  (_a = set === null || set === void 0 ? void 0 : set.delete) === null || _a === void 0 ? void 0 : _a.call(set, onceCb);
6003
6096
  };
6004
- (_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);
6005
6098
  };
6006
6099
  RenderDispatchEvent.prototype.callOnAfterDispatchUpdate = function (renderDispatch) {
6007
- var _a;
6008
- var set = listenerMap.get(this).afterDispatchUpdate;
6009
- (_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); });
6010
6103
  };
6011
6104
  RenderDispatchEvent.prototype.onInstanceInitial = function (cb) {
6012
- var set = listenerMap.get(this).instanceInitial;
6013
- set.add(cb);
6014
- 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); };
6015
6109
  };
6016
6110
  RenderDispatchEvent.prototype.onceInstanceInitial = function (cb) {
6017
- var set = listenerMap.get(this).instanceInitial;
6111
+ var _a;
6112
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceInitial;
6018
6113
  var onceCb = function (_instance, _fiber) {
6019
6114
  cb(_instance, _fiber);
6020
- set.delete(onceCb);
6115
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6021
6116
  };
6022
- set.add(onceCb);
6117
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6023
6118
  };
6024
6119
  RenderDispatchEvent.prototype.callOnInstanceInitial = function (_instance, _fiber) {
6025
- var _a;
6026
- var set = listenerMap.get(this).instanceInitial;
6027
- (_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); });
6028
6123
  };
6029
6124
  RenderDispatchEvent.prototype.onInstanceUpdate = function (cb) {
6030
- var set = listenerMap.get(this).instanceUpdate;
6031
- set.add(cb);
6032
- 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); };
6033
6129
  };
6034
6130
  RenderDispatchEvent.prototype.onceInstanceUpdate = function (cb) {
6035
- var set = listenerMap.get(this).instanceUpdate;
6131
+ var _a;
6132
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceUpdate;
6036
6133
  var onceCb = function (_instance, _fiber) {
6037
6134
  cb(_instance, _fiber);
6038
- set.delete(onceCb);
6135
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6039
6136
  };
6040
- set.add(onceCb);
6137
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6041
6138
  };
6042
6139
  RenderDispatchEvent.prototype.callOnInstanceUpdate = function (_instance, _fiber) {
6043
- var _a;
6044
- var set = listenerMap.get(this).instanceUpdate;
6045
- (_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); });
6046
6143
  };
6047
6144
  RenderDispatchEvent.prototype.onInstanceState = function (cb) {
6048
- var set = listenerMap.get(this).instanceState;
6049
- set.add(cb);
6050
- 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); };
6051
6149
  };
6052
6150
  RenderDispatchEvent.prototype.onceInstanceState = function (cb) {
6053
- var set = listenerMap.get(this).instanceState;
6151
+ var _a;
6152
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceState;
6054
6153
  var onceCb = function (_instance, _fiber, _updater) {
6055
6154
  cb(_instance, _fiber, _updater);
6056
- set.delete(onceCb);
6155
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6057
6156
  };
6058
- set.add(onceCb);
6157
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6059
6158
  };
6060
6159
  RenderDispatchEvent.prototype.callOnInstanceState = function (_instance, _fiber, _updater) {
6061
- var _a;
6062
- var set = listenerMap.get(this).instanceState;
6063
- (_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); });
6064
6163
  };
6065
6164
  RenderDispatchEvent.prototype.onInstanceUnmount = function (cb) {
6066
- var set = listenerMap.get(this).instanceUnmount;
6067
- set.add(cb);
6068
- 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); };
6069
6169
  };
6070
6170
  RenderDispatchEvent.prototype.onceInstanceUnmount = function (cb) {
6071
- var set = listenerMap.get(this).instanceUnmount;
6171
+ var _a;
6172
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.instanceUnmount;
6072
6173
  var onceCb = function (_instance, _fiber) {
6073
6174
  cb(_instance, _fiber);
6074
- set.delete(onceCb);
6175
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6075
6176
  };
6076
- set.add(onceCb);
6177
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6077
6178
  };
6078
6179
  RenderDispatchEvent.prototype.callOnInstanceUnmount = function (_instance, _fiber) {
6079
- var _a;
6080
- var set = listenerMap.get(this).instanceUnmount;
6081
- (_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); });
6082
6183
  };
6083
6184
  RenderDispatchEvent.prototype.onHookInitial = function (cb) {
6084
- var set = listenerMap.get(this).hookInitial;
6085
- set.add(cb);
6086
- 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); };
6087
6189
  };
6088
6190
  RenderDispatchEvent.prototype.onceHookInitial = function (cb) {
6089
- var set = listenerMap.get(this).hookInitial;
6191
+ var _a;
6192
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookInitial;
6090
6193
  var onceCb = function (_hook, _fiber) {
6091
6194
  cb(_hook, _fiber);
6092
- set.delete(onceCb);
6195
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6093
6196
  };
6094
- set.add(onceCb);
6197
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6095
6198
  };
6096
6199
  RenderDispatchEvent.prototype.callOnHookInitial = function (_hook, _fiber) {
6097
- var _a;
6098
- var set = listenerMap.get(this).hookInitial;
6099
- (_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); });
6100
6203
  };
6101
6204
  RenderDispatchEvent.prototype.onHookUpdate = function (cb) {
6102
- var set = listenerMap.get(this).hookUpdate;
6103
- set.add(cb);
6104
- 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); };
6105
6209
  };
6106
6210
  RenderDispatchEvent.prototype.onceHookUpdate = function (cb) {
6107
- var set = listenerMap.get(this).hookUpdate;
6211
+ var _a;
6212
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookUpdate;
6108
6213
  var onceCb = function (_hook, _fiber) {
6109
6214
  cb(_hook, _fiber);
6110
- set.delete(onceCb);
6215
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6111
6216
  };
6112
- set.add(onceCb);
6217
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6113
6218
  };
6114
6219
  RenderDispatchEvent.prototype.callOnHookUpdate = function (_hook, _fiber) {
6115
- var _a;
6116
- var set = listenerMap.get(this).hookUpdate;
6117
- (_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); });
6118
6223
  };
6119
6224
  RenderDispatchEvent.prototype.onHookUnmount = function (cb) {
6120
- var set = listenerMap.get(this).hookUnmount;
6121
- set.add(cb);
6122
- 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); };
6123
6229
  };
6124
6230
  RenderDispatchEvent.prototype.onceHookUnmount = function (cb) {
6125
- var set = listenerMap.get(this).hookUnmount;
6231
+ var _a;
6232
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookUnmount;
6126
6233
  var onceCb = function (_hook, _fiber) {
6127
6234
  cb(_hook, _fiber);
6128
- set.delete(onceCb);
6235
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6129
6236
  };
6130
- set.add(onceCb);
6237
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6131
6238
  };
6132
6239
  RenderDispatchEvent.prototype.callOnHookUnmount = function (_hook, _fiber) {
6133
- var _a;
6134
- var set = listenerMap.get(this).hookUnmount;
6135
- (_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); });
6136
6243
  };
6137
6244
  RenderDispatchEvent.prototype.onHookState = function (cb) {
6138
- var set = listenerMap.get(this).hookState;
6139
- set.add(cb);
6140
- 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); };
6141
6249
  };
6142
6250
  RenderDispatchEvent.prototype.onceHookTrigger = function (cb) {
6143
- var set = listenerMap.get(this).hookState;
6251
+ var _a;
6252
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.hookState;
6144
6253
  var onceCb = function (_hook, _fiber, _updater) {
6145
6254
  cb(_hook, _fiber, _updater);
6146
- set.delete(onceCb);
6255
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6147
6256
  };
6148
- set.add(onceCb);
6257
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6149
6258
  };
6150
6259
  RenderDispatchEvent.prototype.callOnHookState = function (_hook, _fiber, _updater) {
6151
- var _a;
6152
- var set = listenerMap.get(this).hookState;
6153
- (_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); });
6154
6263
  };
6155
6264
  RenderDispatchEvent.prototype.onBeforeCommitMount = function (cb) {
6156
- var set = listenerMap.get(this).beforeCommitMount;
6157
- set.add(cb);
6158
- 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); };
6159
6269
  };
6160
6270
  RenderDispatchEvent.prototype.onceBeforeCommitMount = function (cb) {
6161
- var set = listenerMap.get(this).beforeCommitMount;
6271
+ var _a;
6272
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeCommitMount;
6162
6273
  var onceCb = function (renderDispatch) {
6163
6274
  cb(renderDispatch);
6164
- set.delete(onceCb);
6275
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6165
6276
  };
6166
- set.add(onceCb);
6277
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6167
6278
  };
6168
6279
  RenderDispatchEvent.prototype.callOnBeforeCommitMount = function (renderDispatch) {
6169
- var _a;
6170
- var set = listenerMap.get(this).beforeCommitMount;
6171
- (_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); });
6172
6283
  };
6173
6284
  RenderDispatchEvent.prototype.onAfterCommitMount = function (cb) {
6174
- var set = listenerMap.get(this).afterCommitMount;
6175
- set.add(cb);
6176
- 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); };
6177
6289
  };
6178
6290
  RenderDispatchEvent.prototype.onceAfterCommitMount = function (cb) {
6179
- var set = listenerMap.get(this).afterCommitMount;
6291
+ var _a;
6292
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterCommitMount;
6180
6293
  var onceCb = function (renderDispatch) {
6181
6294
  cb(renderDispatch);
6182
- set.delete(onceCb);
6295
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6183
6296
  };
6184
- set.add(onceCb);
6297
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6185
6298
  };
6186
6299
  RenderDispatchEvent.prototype.callOnAfterCommitMount = function (renderDispatch) {
6187
- var _a;
6188
- var set = listenerMap.get(this).afterCommitMount;
6189
- (_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); });
6190
6303
  };
6191
6304
  RenderDispatchEvent.prototype.onBeforeCommitUpdate = function (cb) {
6192
- var set = listenerMap.get(this).beforeCommitUpdate;
6193
- set.add(cb);
6194
- 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); };
6195
6309
  };
6196
6310
  RenderDispatchEvent.prototype.onceBeforeCommitUpdate = function (cb) {
6197
- var set = listenerMap.get(this).beforeCommitUpdate;
6311
+ var _a;
6312
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeCommitUpdate;
6198
6313
  var onceCb = function (renderDispatch) {
6199
6314
  cb(renderDispatch);
6200
- set.delete(onceCb);
6315
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6201
6316
  };
6202
- set.add(onceCb);
6317
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6203
6318
  };
6204
6319
  RenderDispatchEvent.prototype.callOnBeforeCommitUpdate = function (renderDispatch) {
6205
- var _a;
6206
- var set = listenerMap.get(this).beforeCommitUpdate;
6207
- (_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); });
6208
6323
  };
6209
6324
  RenderDispatchEvent.prototype.onAfterCommitUpdate = function (cb) {
6210
- var set = listenerMap.get(this).afterCommitUpdate;
6211
- set.add(cb);
6212
- 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); };
6213
6329
  };
6214
6330
  RenderDispatchEvent.prototype.onceAfterCommitUpdate = function (cb) {
6215
- var set = listenerMap.get(this).afterCommitUpdate;
6331
+ var _a;
6332
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterCommitUpdate;
6216
6333
  var onceCb = function (renderDispatch) {
6217
6334
  cb(renderDispatch);
6218
- set.delete(onceCb);
6335
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6219
6336
  };
6220
- set.add(onceCb);
6337
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6221
6338
  };
6222
6339
  RenderDispatchEvent.prototype.callOnAfterCommitUpdate = function (renderDispatch) {
6223
- var _a;
6224
- var set = listenerMap.get(this).afterCommitUpdate;
6225
- (_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); });
6226
6343
  };
6227
6344
  RenderDispatchEvent.prototype.onBeforeCommitUnmount = function (cb) {
6228
- var set = listenerMap.get(this).beforeCommitUnmount;
6229
- set.add(cb);
6230
- 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); };
6231
6349
  };
6232
6350
  RenderDispatchEvent.prototype.onceBeforeCommitUnmount = function (cb) {
6233
- var set = listenerMap.get(this).beforeCommitUnmount;
6351
+ var _a;
6352
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.beforeCommitUnmount;
6234
6353
  var onceCb = function (renderDispatch) {
6235
6354
  cb(renderDispatch);
6236
- set.delete(onceCb);
6355
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6237
6356
  };
6238
- set.add(onceCb);
6357
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6239
6358
  };
6240
6359
  RenderDispatchEvent.prototype.callOnBeforeCommitUnmount = function (renderDispatch) {
6241
- var _a;
6242
- var set = listenerMap.get(this).beforeCommitUnmount;
6243
- (_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); });
6244
6363
  };
6245
6364
  RenderDispatchEvent.prototype.onAfterCommitUnmount = function (cb) {
6246
- var set = listenerMap.get(this).afterCommitUnmount;
6247
- set.add(cb);
6248
- 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); };
6249
6369
  };
6250
6370
  RenderDispatchEvent.prototype.onceAfterCommitUnmount = function (cb) {
6251
- var set = listenerMap.get(this).afterCommitUnmount;
6371
+ var _a;
6372
+ var set = (_a = listenerMap.get(this)) === null || _a === void 0 ? void 0 : _a.afterCommitUnmount;
6252
6373
  var onceCb = function (renderDispatch) {
6253
6374
  cb(renderDispatch);
6254
- set.delete(onceCb);
6375
+ set === null || set === void 0 ? void 0 : set.delete(onceCb);
6255
6376
  };
6256
- set.add(onceCb);
6377
+ set === null || set === void 0 ? void 0 : set.add(onceCb);
6257
6378
  };
6258
6379
  RenderDispatchEvent.prototype.callOnAfterCommitUnmount = function (renderDispatch) {
6259
- var _a;
6260
- var set = listenerMap.get(this).afterCommitUnmount;
6261
- (_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); });
6262
6383
  };
6263
6384
  return RenderDispatchEvent;
6264
6385
  }(MyReactInternalInstanceClass));
6265
6386
 
6266
6387
  var defaultDispatchFiber = function (renderDispatch, fiber) {
6267
- if (include(fiber.type, exports.NODE_TYPE.__root__)) {
6388
+ if (include(fiber.type, exports$1.NODE_TYPE.__root__)) {
6268
6389
  // TODO
6269
6390
  nextWorkRoot(renderDispatch, fiber);
6270
6391
  }
6271
- 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__)) {
6272
6393
  nextWorkComponent(renderDispatch, fiber);
6273
6394
  }
6274
- else if (include(fiber.type, exports.NODE_TYPE.__lazy__)) {
6395
+ else if (include(fiber.type, exports$1.NODE_TYPE.__lazy__)) {
6275
6396
  nextWorkLazy(renderDispatch, fiber);
6276
6397
  }
6277
- else if (include(fiber.type, exports.NODE_TYPE.__suspense__)) {
6398
+ else if (include(fiber.type, exports$1.NODE_TYPE.__suspense__)) {
6278
6399
  nextWorkSuspense(renderDispatch, fiber);
6279
6400
  }
6280
- else if (include(fiber.type, exports.NODE_TYPE.__consumer__)) {
6401
+ else if (include(fiber.type, exports$1.NODE_TYPE.__consumer__)) {
6281
6402
  nextWorkConsumer(renderDispatch, fiber);
6282
6403
  }
6283
- 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__)) {
6284
6405
  nextWorkProvider(renderDispatch, fiber);
6285
6406
  }
6286
- else if (include(fiber.type, exports.NODE_TYPE.__activity__)) {
6407
+ else if (include(fiber.type, exports$1.NODE_TYPE.__activity__)) {
6287
6408
  nextWorkActivity(renderDispatch, fiber);
6288
6409
  }
6289
6410
  else {
@@ -6300,13 +6421,12 @@ function requireIndex_production () {
6300
6421
  _this.isAppMounted = false;
6301
6422
  _this.isAppCrashed = false;
6302
6423
  _this.isAppUnmounted = false;
6303
- _this.version = "0.3.21";
6424
+ _this.version = "0.3.23";
6304
6425
  _this.id = Math.random().toString(16).slice(2);
6305
6426
  _this.mode = "production";
6306
6427
  _this.renderMode = "render";
6307
6428
  _this.pendingCommitFiberList = null;
6308
6429
  _this.pendingCommitFiberPatch = PATCH_TYPE.__initial__;
6309
- _this.pendingChangedFiberList = null;
6310
6430
  _this.pendingUpdateFiberArray = new UniqueArray();
6311
6431
  _this.pendingSuspenseFiberArray = new UniqueArray();
6312
6432
  _this.uniqueIdCount = 0;
@@ -6324,17 +6444,6 @@ function requireIndex_production () {
6324
6444
  this.pendingCommitFiberList.push(_fiber);
6325
6445
  }
6326
6446
  };
6327
- CustomRenderDispatch.prototype.generateChangedList = function (_fiber, withCheck) {
6328
- if (!_fiber)
6329
- return;
6330
- if (!this.isAppMounted)
6331
- return;
6332
- this.pendingChangedFiberList = this.pendingChangedFiberList || new ListTree();
6333
- if (withCheck && this.pendingChangedFiberList.hasValue(_fiber)) {
6334
- return;
6335
- }
6336
- this.pendingChangedFiberList.push(_fiber);
6337
- };
6338
6447
  CustomRenderDispatch.prototype.pendingCreate = function (_fiber) {
6339
6448
  if (include(_fiber.type, this.runtimeRef.typeForCreate)) {
6340
6449
  _fiber.patch = merge(_fiber.patch, PATCH_TYPE.__create__);
@@ -6358,7 +6467,7 @@ function requireIndex_production () {
6358
6467
  if (include(_fiber.type, this.runtimeRef.typeForRef)) {
6359
6468
  _fiber.patch = merge(_fiber.patch, PATCH_TYPE.__ref__);
6360
6469
  }
6361
- else if (exclude(_fiber.type, exports.NODE_TYPE.__forwardRef__)) {
6470
+ else if (exclude(_fiber.type, exports$1.NODE_TYPE.__forwardRef__)) {
6362
6471
  onceWarnWithKeyAndFiber(_fiber, "ref", "[@my-react/react] set ref for current element will be ignored");
6363
6472
  }
6364
6473
  }
@@ -6519,17 +6628,8 @@ function requireIndex_production () {
6519
6628
  react.__my_react_shared__.enableScopeTreeLog;
6520
6629
  function finishMountSync(renderDispatch, fiber) {
6521
6630
  renderDispatch.reconcileCommit(fiber);
6522
- var changedList = renderDispatch.pendingChangedFiberList;
6523
6631
  renderDispatch.resetUpdateFlowRuntimeFiber();
6524
6632
  renderDispatch.pendingCommitFiberList = null;
6525
- renderDispatch.pendingChangedFiberList = null;
6526
- (changedList === null || changedList === void 0 ? void 0 : changedList.length) &&
6527
- safeCallWithCurrentFiber({
6528
- fiber: fiber,
6529
- action: function safeCallFiberHasChangeListener() {
6530
- renderDispatch.callOnFiberChange(changedList);
6531
- },
6532
- });
6533
6633
  }
6534
6634
  var mountSync = function (renderDispatch, fiber) {
6535
6635
  globalLoop.current = true;
@@ -6540,17 +6640,8 @@ function requireIndex_production () {
6540
6640
  };
6541
6641
  function finishMountAsync(renderDispatch, fiber) {
6542
6642
  renderDispatch.reconcileCommit(fiber);
6543
- var changedList = renderDispatch.pendingChangedFiberList;
6544
6643
  renderDispatch.resetUpdateFlowRuntimeFiber();
6545
6644
  renderDispatch.pendingCommitFiberList = null;
6546
- renderDispatch.pendingChangedFiberList = null;
6547
- (changedList === null || changedList === void 0 ? void 0 : changedList.length) &&
6548
- safeCallWithCurrentFiber({
6549
- fiber: fiber,
6550
- action: function safeCallFiberHasChangeListener() {
6551
- renderDispatch.callOnFiberChange(changedList);
6552
- },
6553
- });
6554
6645
  }
6555
6646
  var mountAsync = function (renderDispatch, fiber) { return __awaiter(void 0, void 0, void 0, function () {
6556
6647
  return __generator(this, function (_a) {
@@ -6568,192 +6659,192 @@ function requireIndex_production () {
6568
6659
  });
6569
6660
  }); };
6570
6661
 
6571
- var version = "0.3.21";
6662
+ var version = "0.3.23";
6572
6663
 
6573
- exports.CustomRenderDispatch = CustomRenderDispatch;
6574
- exports.MyReactFiberNode = MyReactFiberNode;
6575
- exports.MyReactHookNode = MyReactHookNode;
6576
- exports.MyWeakMap = MyWeakMap;
6577
- exports.RenderDispatchEvent = RenderDispatchEvent;
6578
- exports.WrapperByLazyScope = WrapperByLazyScope;
6579
- exports.WrapperBySuspenseScope = WrapperBySuspenseScope;
6580
- exports.addEffectCallback = addEffectCallback;
6581
- exports.afterSyncFlush = afterSyncFlush;
6582
- exports.afterSyncUpdate = afterSyncUpdate;
6583
- exports.applyTriggerFiberCb = applyTriggerFiberCb;
6584
- exports.beforeSyncFlush = beforeSyncFlush;
6585
- exports.beforeSyncUpdate = beforeSyncUpdate;
6586
- exports.callWithFiber = callWithFiber;
6587
- exports.checkIsMyReactFiberNode = checkIsMyReactFiberNode;
6588
- exports.checkIsSameType = checkIsSameType;
6589
- exports.clearContainer = clearContainer;
6590
- exports.clearFiberNode = clearFiberNode;
6591
- exports.createFiberNode = createFiberNode;
6592
- exports.createHookNode = createHookNode;
6593
- exports.currentRefreshHandler = currentRefreshHandler;
6594
- exports.currentTriggerFiber = currentTriggerFiber;
6595
- exports.debugWithNode = debugWithNode;
6596
- exports.defaultDeleteChildEffect = defaultDeleteChildEffect;
6597
- exports.defaultDeleteCurrentEffect = defaultDeleteCurrentEffect;
6598
- exports.defaultDispatchMount = defaultDispatchMount;
6599
- exports.defaultDispatchMountLatest = defaultDispatchMountLatest;
6600
- exports.defaultDispatchUnmount = defaultDispatchUnmount;
6601
- exports.defaultDispatchUpdate = defaultDispatchUpdate;
6602
- exports.defaultGenerateEffectMap = defaultGenerateEffectMap;
6603
- exports.defaultGenerateStrict = defaultGenerateStrict;
6604
- exports.defaultGenerateUnmountMap = defaultGenerateUnmountMap;
6605
- exports.defaultGetContextFiber = defaultGetContextFiber;
6606
- exports.defaultGetContextValue = defaultGetContextValue;
6607
- exports.defaultInvokeEffect = defaultInvokeEffect;
6608
- exports.defaultInvokeInsertionEffect = defaultInvokeInsertionEffect;
6609
- exports.defaultInvokeLayoutEffect = defaultInvokeLayoutEffect;
6610
- exports.defaultInvokeUnmountList = defaultInvokeUnmountList;
6611
- exports.defaultReadContext = defaultReadContext;
6612
- exports.defaultReadPromise = defaultReadPromise;
6613
- exports.defaultResolveAliveSuspenseFiber = defaultResolveAliveSuspenseFiber;
6614
- exports.defaultResolveErrorBoundaries = defaultResolveErrorBoundaries;
6615
- exports.defaultResolveScope = defaultResolveScope;
6616
- exports.defaultResolveSuspenseFiber = defaultResolveSuspenseFiber;
6617
- exports.defaultResolveSuspenseValue = defaultResolveSuspenseValue;
6618
- exports.devError = devError;
6619
- exports.devErrorWithFiber = devErrorWithFiber;
6620
- exports.devWarn = devWarn;
6621
- exports.devWarnWithFiber = devWarnWithFiber;
6622
- exports.effect = effect;
6623
- exports.effectHookNode = effectHookNode;
6624
- exports.emptyProps = emptyProps;
6625
- exports.enableDebugUpdateQueue = enableDebugUpdateQueue;
6626
- exports.enableFiberForLog = enableFiberForLog;
6627
- exports.enableLogForCurrentFlowIsRunning = enableLogForCurrentFlowIsRunning;
6628
- exports.enableValidMyReactElement = enableValidMyReactElement;
6629
- exports.fiberToDispatchMap = fiberToDispatchMap;
6630
- exports.flushEffectCallback = flushEffectCallback;
6631
- exports.generateFiberToListWithAction = generateFiberToListWithAction;
6632
- exports.generateFiberToMountList = generateFiberToMountList;
6633
- exports.generateFiberToUnmountList = generateFiberToUnmountList;
6634
- exports.getClassInstanceFieldByInstance = getClassInstanceFieldByInstance;
6635
- exports.getCurrentDispatchFromFiber = getCurrentDispatchFromFiber;
6636
- exports.getCurrentDispatchFromType = getCurrentDispatchFromType;
6637
- exports.getCurrentFibersFromType = getCurrentFibersFromType;
6638
- exports.getCurrentTypeFromRefresh = getCurrentTypeFromRefresh;
6639
- exports.getCurrentTypeFromRefreshOnly = getCurrentTypeFromRefreshOnly;
6640
- exports.getElementFromRefreshIfExist = getElementFromRefreshIfExist;
6641
- exports.getElementName = getElementName;
6642
- exports.getElementTypeFromType = getElementTypeFromType;
6643
- exports.getFiberTree = getFiberTree$1;
6644
- exports.getFiberTreeWithFiber = getFiberTreeWithFiber;
6645
- exports.getHookTree = getHookTree;
6646
- exports.getInstanceContextFiber = getInstanceContextFiber;
6647
- exports.getInstanceEffectState = getInstanceEffectState;
6648
- exports.getInstanceFieldByInstance = getInstanceFieldByInstance;
6649
- exports.getInstanceOwnerFiber = getInstanceOwnerFiber;
6650
- exports.getPlainFiberName = getPlainFiberName;
6651
- exports.getStackTree = getStackTree;
6652
- exports.getTypeFromElement = getTypeFromElement;
6653
- exports.getTypeFromElementNode = getTypeFromElementNode;
6654
- exports.hmr = hmr;
6655
- exports.hmrRevert = hmrRevert;
6656
- exports.hmrUpdate = hmrUpdate;
6657
- exports.hookListUnmount = hookListUnmount;
6658
- exports.initClassInstance = initClassInstance;
6659
- exports.initHMR = initHMR;
6660
- exports.initHookInstance = initHookInstance;
6661
- exports.initInstance = initInstance;
6662
- exports.initScheduler = initScheduler;
6663
- exports.initSuspenseInstance = initSuspenseInstance;
6664
- exports.initVisibleInstance = initVisibleInstance;
6665
- exports.initialFiberNode = initialFiberNode;
6666
- exports.insertionEffect = insertionEffect;
6667
- exports.isCommentElement = isCommentElement;
6668
- exports.isCommentEndElement = isCommentEndElement;
6669
- exports.isCommentStartElement = isCommentStartElement;
6670
- exports.isErrorBoundariesComponent = isErrorBoundariesComponent;
6671
- exports.isErrorBoundariesInstance = isErrorBoundariesInstance;
6672
- exports.layoutEffect = layoutEffect;
6673
- exports.loadLazy = loadLazy;
6674
- exports.loadPromise = loadPromise;
6675
- exports.mountAsync = mountAsync;
6676
- exports.mountClassInstance = mountClassInstance;
6677
- exports.mountLoopAll = mountLoopAll;
6678
- exports.mountLoopAllFromScheduler = mountLoopAllFromScheduler;
6679
- exports.mountSync = mountSync;
6680
- exports.mountToNextFiberFromRoot = mountToNextFiberFromRoot;
6681
- exports.nextWorkActivity = nextWorkActivity;
6682
- exports.nextWorkClassComponent = nextWorkClassComponent;
6683
- exports.nextWorkCommon = nextWorkCommon;
6684
- exports.nextWorkComponent = nextWorkComponent;
6685
- exports.nextWorkConsumer = nextWorkConsumer;
6686
- exports.nextWorkFunctionComponent = nextWorkFunctionComponent;
6687
- exports.nextWorkLazy = nextWorkLazy;
6688
- exports.nextWorkNormal = nextWorkNormal;
6689
- exports.nextWorkProvider = nextWorkProvider;
6690
- exports.nextWorkRoot = nextWorkRoot;
6691
- exports.nextWorkSuspense = nextWorkSuspense;
6692
- exports.onceErrorWithKeyAndFiber = onceErrorWithKeyAndFiber;
6693
- exports.onceWarnWithKeyAndFiber = onceWarnWithKeyAndFiber;
6694
- exports.originalError = originalError;
6695
- exports.originalWarn = originalWarn;
6696
- exports.performToNextFiberFromRoot = performToNextFiberFromRoot;
6697
- exports.prepareUpdateAllDependence = prepareUpdateAllDependence;
6698
- exports.prepareUpdateOnFiber = prepareUpdateOnFiber;
6699
- exports.processAsyncLoadListOnAsyncMount = processAsyncLoadListOnAsyncMount;
6700
- exports.processAsyncLoadListOnSyncMount = processAsyncLoadListOnSyncMount;
6701
- exports.processAsyncLoadListOnUpdate = processAsyncLoadListOnUpdate;
6702
- exports.processClassComponentActive = processClassComponentActive;
6703
- exports.processClassComponentMount = processClassComponentMount;
6704
- exports.processClassComponentUnmount = processClassComponentUnmount;
6705
- exports.processClassComponentUpdate = processClassComponentUpdate;
6706
- exports.processClassComponentUpdateQueueLatest = processClassComponentUpdateQueueLatest;
6707
- exports.processClassComponentUpdateQueueLegacy = processClassComponentUpdateQueueLegacy;
6708
- exports.processConsumer = processConsumer;
6709
- exports.processFunction = processFunction;
6710
- exports.processFunctionComponentUpdateQueueLatest = processFunctionComponentUpdateQueueLatest;
6711
- exports.processFunctionComponentUpdateQueueLegacy = processFunctionComponentUpdateQueueLegacy;
6712
- exports.processHook = processHook;
6713
- exports.processLazy = processLazy;
6714
- exports.processNormalComponentUpdateLatest = processNormalComponentUpdateLatest;
6715
- exports.processNormalComponentUpdateLegacy = processNormalComponentUpdateLegacy;
6716
- exports.processPromise = processPromise;
6717
- exports.processProvider = processProvider;
6718
- exports.processState = processState;
6719
- exports.processSuspense = processSuspense;
6720
- exports.processSuspensePromise = processSuspensePromise;
6721
- exports.resetLogScope = resetLogScope;
6722
- exports.runtimeNextWork = runtimeNextWork;
6723
- exports.runtimeNextWorkDev = runtimeNextWorkDev;
6724
- exports.safeCall = safeCall;
6725
- exports.safeCallWithCurrentFiber = safeCallWithCurrentFiber;
6726
- exports.safeCallWithSync = safeCallWithSync;
6727
- exports.scheduleNext = scheduleNext;
6728
- exports.scheduleUpdate = scheduleUpdate;
6729
- exports.setContextForInstance = setContextForInstance;
6730
- exports.setEffectForInstance = setEffectForInstance;
6731
- exports.setLogScope = setLogScope;
6732
- exports.setOwnerForInstance = setOwnerForInstance;
6733
- exports.setRefreshHandler = setRefreshHandler;
6734
- exports.setRefreshTypeMap = setRefreshTypeMap;
6735
- exports.setSubscribeForInstance = setSubscribeForInstance;
6736
- exports.syncComponentStateToFiber = syncComponentStateToFiber;
6737
- exports.syncFiberStateToComponent = syncFiberStateToComponent;
6738
- exports.syncFlushComponentQueue = syncFlushComponentQueue;
6739
- exports.transformChildrenFiber = transformChildrenFiber;
6740
- exports.triggerError = triggerError;
6741
- exports.triggerFiberUpdateListener = triggerFiberUpdateListener;
6742
- exports.triggerRevert = triggerRevert;
6743
- exports.triggerUpdate = triggerUpdate;
6744
- exports.triggerUpdateOnFiber = triggerUpdateOnFiber;
6745
- exports.typeToFibersMap = typeToFibersMap;
6746
- exports.unmountContainer = unmountContainer;
6747
- exports.unmountFiber = unmountFiber;
6748
- exports.unmountFiberNode = unmountFiberNode;
6749
- exports.unmountInstance = unmountInstance;
6750
- exports.updateConcurrentFromRoot = updateConcurrentFromRoot;
6751
- exports.updateFiberNode = updateFiberNode;
6752
- exports.updateHookNode = updateHookNode;
6753
- exports.updateLoopConcurrentFromRoot = updateLoopConcurrentFromRoot;
6754
- exports.updateLoopSyncFromRoot = updateLoopSyncFromRoot;
6755
- exports.updateSyncFromRoot = updateSyncFromRoot;
6756
- 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;
6757
6848
  } (index_production));
6758
6849
  return index_production;
6759
6850
  }
@@ -6866,6 +6957,8 @@ var Effect_TYPE;
6866
6957
  Effect_TYPE[Effect_TYPE["__unmount__"] = 2] = "__unmount__";
6867
6958
  })(Effect_TYPE || (Effect_TYPE = {}));
6868
6959
 
6960
+ var enableKnownConfigLog = require$$0.createRef(false);
6961
+
6869
6962
  var DISPATCH_FIELD = "__@my-react/dispatch__";
6870
6963
  var DEV_TOOL_FIELD = "__@my-react/react-devtool-inject__";
6871
6964
  var addGlobalDispatch = function (dispatch) {
@@ -7496,24 +7589,24 @@ var ReconcilerDispatchUpdate = function (_dispatch, _list, config, sync) {
7496
7589
  }
7497
7590
  }
7498
7591
  });
7499
- _list.listToHead(function invokePositionList(_fiber) {
7592
+ _list.listToFoot(function invokeAppendList(_fiber) {
7500
7593
  if (exclude(_fiber.state, STATE_TYPE.__unmount__) && !_dispatch.isAppUnmounted) {
7501
7594
  myreactReconcilerExports.safeCallWithCurrentFiber({
7502
7595
  fiber: _fiber,
7503
- action: function safeCallPosition() {
7504
- _dispatch.commitPosition(_fiber);
7596
+ action: function safeCallAppendList() {
7597
+ _dispatch.commitAppend(_fiber);
7505
7598
  var parentFiber = getValidParentFiberWithNode(_dispatch, _fiber);
7506
7599
  parentFiber && pendingFinalizeInitialChildrenFiberSet.add(parentFiber);
7507
7600
  },
7508
7601
  });
7509
7602
  }
7510
7603
  });
7511
- _list.listToFoot(function invokeAppendList(_fiber) {
7604
+ _list.listToHead(function invokePositionList(_fiber) {
7512
7605
  if (exclude(_fiber.state, STATE_TYPE.__unmount__) && !_dispatch.isAppUnmounted) {
7513
7606
  myreactReconcilerExports.safeCallWithCurrentFiber({
7514
7607
  fiber: _fiber,
7515
- action: function safeCallAppendList() {
7516
- _dispatch.commitAppend(_fiber);
7608
+ action: function safeCallPosition() {
7609
+ _dispatch.commitPosition(_fiber);
7517
7610
  var parentFiber = getValidParentFiberWithNode(_dispatch, _fiber);
7518
7611
  parentFiber && pendingFinalizeInitialChildrenFiberSet.add(parentFiber);
7519
7612
  },
@@ -7697,10 +7790,10 @@ var createDispatch = function (rootNode, rootFiber, rootElement, config, flag) {
7697
7790
 
7698
7791
  /* eslint-disable @typescript-eslint/no-unused-vars */
7699
7792
  /* eslint-disable @typescript-eslint/ban-ts-comment */
7700
- function loadRemoteScript(url, options) {
7701
- if (options === void 0) { options = {}; }
7702
- return __awaiter(this, void 0, void 0, function () {
7793
+ function loadRemoteScript(url_1) {
7794
+ return __awaiter(this, arguments, void 0, function (url, options) {
7703
7795
  var _a, timeout, _b, context, _c, useEval, controller_1, timeoutId, response, code, error_1, errorMsg;
7796
+ if (options === void 0) { options = {}; }
7704
7797
  return __generator(this, function (_d) {
7705
7798
  switch (_d.label) {
7706
7799
  case 0:
@@ -8050,10 +8143,10 @@ function createSafeRequire() {
8050
8143
  };
8051
8144
  }
8052
8145
  // 增强的模块加载版本(支持导出)
8053
- function loadRemoteModule(url, options) {
8054
- if (options === void 0) { options = {}; }
8055
- return __awaiter(this, void 0, void 0, function () {
8146
+ function loadRemoteModule(url_1) {
8147
+ return __awaiter(this, arguments, void 0, function (url, options) {
8056
8148
  var _a, context, moduleExports, moduleContext;
8149
+ if (options === void 0) { options = {}; }
8057
8150
  return __generator(this, function (_b) {
8058
8151
  switch (_b.label) {
8059
8152
  case 0:
@@ -8098,6 +8191,7 @@ var Reconciler = function (_config) {
8098
8191
  _container.__flag__ = 1;
8099
8192
  }
8100
8193
  enableDebugFiled.current = false;
8194
+ myreactReconcilerExports.enableDebugUpdateQueue.current = false;
8101
8195
  enableScopeTreeLog.current = false;
8102
8196
  myreactReconcilerExports.enableFiberForLog.current = false;
8103
8197
  return _container;
@@ -8192,14 +8286,15 @@ var Reconciler = function (_config) {
8192
8286
  getPublicRootInstance: getPublicRootInstance,
8193
8287
  injectIntoDevToolsWithSocketIO: injectIntoDevToolsWithSocketIO,
8194
8288
  flushSync: myreactReconcilerExports.safeCallWithSync,
8289
+ flushSyncWork: myreactReconcilerExports.safeCallWithSync,
8195
8290
  batchedUpdates: myreactReconcilerExports.safeCallWithSync,
8196
8291
  };
8197
8292
  };
8198
8293
 
8199
- /* eslint-disable import/export */
8200
- var version = "0.0.12";
8294
+ var version = "0.0.14";
8201
8295
  var createReconciler = Reconciler;
8202
8296
 
8203
8297
  exports.createReconciler = createReconciler;
8204
8298
  exports.default = createReconciler;
8299
+ exports.enableKnownConfigLog = enableKnownConfigLog;
8205
8300
  exports.version = version;