@hero-design/rn 8.131.3 → 8.131.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/es/index.js +360 -357
- package/lib/index.js +360 -357
- package/package.json +8 -8
package/lib/index.js
CHANGED
|
@@ -3291,18 +3291,13 @@ var createCache = function createCache(options) {
|
|
|
3291
3291
|
};
|
|
3292
3292
|
|
|
3293
3293
|
function _extends() {
|
|
3294
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
3295
|
-
for (var
|
|
3296
|
-
var
|
|
3297
|
-
for (var
|
|
3298
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
3299
|
-
target[key] = source[key];
|
|
3300
|
-
}
|
|
3301
|
-
}
|
|
3294
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
3295
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
3296
|
+
var t = arguments[e];
|
|
3297
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
3302
3298
|
}
|
|
3303
|
-
return
|
|
3304
|
-
};
|
|
3305
|
-
return _extends.apply(this, arguments);
|
|
3299
|
+
return n;
|
|
3300
|
+
}, _extends.apply(null, arguments);
|
|
3306
3301
|
}
|
|
3307
3302
|
|
|
3308
3303
|
var EmotionCacheContext = /* #__PURE__ */React__namespace.createContext(
|
|
@@ -16773,36 +16768,36 @@ function selection_dispatch (type, params) {
|
|
|
16773
16768
|
var _marked = /*#__PURE__*/_regeneratorRuntime().mark(_callee);
|
|
16774
16769
|
function _callee() {
|
|
16775
16770
|
var groups, j, m, group, i, n, node;
|
|
16776
|
-
return _regeneratorRuntime().wrap(function
|
|
16771
|
+
return _regeneratorRuntime().wrap(function (_context) {
|
|
16777
16772
|
while (1) switch (_context.prev = _context.next) {
|
|
16778
16773
|
case 0:
|
|
16779
16774
|
groups = this._groups, j = 0, m = groups.length;
|
|
16780
16775
|
case 1:
|
|
16781
16776
|
if (!(j < m)) {
|
|
16782
|
-
_context.next =
|
|
16777
|
+
_context.next = 5;
|
|
16783
16778
|
break;
|
|
16784
16779
|
}
|
|
16785
16780
|
group = groups[j], i = 0, n = group.length;
|
|
16786
|
-
case
|
|
16781
|
+
case 2:
|
|
16787
16782
|
if (!(i < n)) {
|
|
16788
|
-
_context.next =
|
|
16783
|
+
_context.next = 4;
|
|
16789
16784
|
break;
|
|
16790
16785
|
}
|
|
16791
16786
|
if (!(node = group[i])) {
|
|
16792
|
-
_context.next =
|
|
16787
|
+
_context.next = 3;
|
|
16793
16788
|
break;
|
|
16794
16789
|
}
|
|
16795
|
-
_context.next =
|
|
16790
|
+
_context.next = 3;
|
|
16796
16791
|
return node;
|
|
16797
|
-
case
|
|
16792
|
+
case 3:
|
|
16798
16793
|
++i;
|
|
16799
|
-
_context.next =
|
|
16794
|
+
_context.next = 2;
|
|
16800
16795
|
break;
|
|
16801
|
-
case
|
|
16796
|
+
case 4:
|
|
16802
16797
|
++j;
|
|
16803
16798
|
_context.next = 1;
|
|
16804
16799
|
break;
|
|
16805
|
-
case
|
|
16800
|
+
case 5:
|
|
16806
16801
|
case "end":
|
|
16807
16802
|
return _context.stop();
|
|
16808
16803
|
}
|
|
@@ -31560,15 +31555,15 @@ function requireLib() {
|
|
|
31560
31555
|
return n(e) && Me.isPoint(e.anchor) && Me.isPoint(e.focus);
|
|
31561
31556
|
},
|
|
31562
31557
|
points: /*#__PURE__*/_regeneratorRuntime().mark(function points(e) {
|
|
31563
|
-
return _regeneratorRuntime().wrap(function
|
|
31558
|
+
return _regeneratorRuntime().wrap(function (_context) {
|
|
31564
31559
|
while (1) switch (_context.prev = _context.next) {
|
|
31565
31560
|
case 0:
|
|
31566
|
-
_context.next =
|
|
31561
|
+
_context.next = 1;
|
|
31567
31562
|
return [e.anchor, "anchor"];
|
|
31568
|
-
case
|
|
31569
|
-
_context.next =
|
|
31563
|
+
case 1:
|
|
31564
|
+
_context.next = 2;
|
|
31570
31565
|
return [e.focus, "focus"];
|
|
31571
|
-
case
|
|
31566
|
+
case 2:
|
|
31572
31567
|
case "end":
|
|
31573
31568
|
return _context.stop();
|
|
31574
31569
|
}
|
|
@@ -31640,41 +31635,41 @@ function requireLib() {
|
|
|
31640
31635
|
ancestors: function ancestors(e, t) {
|
|
31641
31636
|
var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
|
|
31642
31637
|
return /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
31643
|
-
var _iterator9, _step9, n, o;
|
|
31644
|
-
return _regeneratorRuntime().wrap(function
|
|
31638
|
+
var _iterator9, _step9, n, o, _t7;
|
|
31639
|
+
return _regeneratorRuntime().wrap(function (_context2) {
|
|
31645
31640
|
while (1) switch (_context2.prev = _context2.next) {
|
|
31646
31641
|
case 0:
|
|
31647
31642
|
_iterator9 = _createForOfIteratorHelper(ie.ancestors(t, r));
|
|
31648
31643
|
_context2.prev = 1;
|
|
31649
31644
|
_iterator9.s();
|
|
31650
|
-
case
|
|
31645
|
+
case 2:
|
|
31651
31646
|
if ((_step9 = _iterator9.n()).done) {
|
|
31652
|
-
_context2.next =
|
|
31647
|
+
_context2.next = 4;
|
|
31653
31648
|
break;
|
|
31654
31649
|
}
|
|
31655
31650
|
n = _step9.value;
|
|
31656
31651
|
o = [Ae.ancestor(e, n), n];
|
|
31657
|
-
_context2.next = 8;
|
|
31658
|
-
return o;
|
|
31659
|
-
case 8:
|
|
31660
31652
|
_context2.next = 3;
|
|
31653
|
+
return o;
|
|
31654
|
+
case 3:
|
|
31655
|
+
_context2.next = 2;
|
|
31661
31656
|
break;
|
|
31662
|
-
case
|
|
31663
|
-
_context2.next =
|
|
31657
|
+
case 4:
|
|
31658
|
+
_context2.next = 6;
|
|
31664
31659
|
break;
|
|
31665
|
-
case
|
|
31666
|
-
_context2.prev =
|
|
31667
|
-
|
|
31668
|
-
_iterator9.e(
|
|
31669
|
-
case
|
|
31670
|
-
_context2.prev =
|
|
31660
|
+
case 5:
|
|
31661
|
+
_context2.prev = 5;
|
|
31662
|
+
_t7 = _context2["catch"](1);
|
|
31663
|
+
_iterator9.e(_t7);
|
|
31664
|
+
case 6:
|
|
31665
|
+
_context2.prev = 6;
|
|
31671
31666
|
_iterator9.f();
|
|
31672
|
-
return _context2.finish(
|
|
31673
|
-
case
|
|
31667
|
+
return _context2.finish(6);
|
|
31668
|
+
case 7:
|
|
31674
31669
|
case "end":
|
|
31675
31670
|
return _context2.stop();
|
|
31676
31671
|
}
|
|
31677
|
-
}, _callee, null, [[1,
|
|
31672
|
+
}, _callee, null, [[1, 5, 6, 7]]);
|
|
31678
31673
|
})();
|
|
31679
31674
|
},
|
|
31680
31675
|
child: function child(e, t) {
|
|
@@ -31687,24 +31682,24 @@ function requireLib() {
|
|
|
31687
31682
|
var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
|
|
31688
31683
|
return /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
31689
31684
|
var _r$reverse, n, o, u, a, i, s;
|
|
31690
|
-
return _regeneratorRuntime().wrap(function
|
|
31685
|
+
return _regeneratorRuntime().wrap(function (_context3) {
|
|
31691
31686
|
while (1) switch (_context3.prev = _context3.next) {
|
|
31692
31687
|
case 0:
|
|
31693
31688
|
_r$reverse = r.reverse, n = _r$reverse === void 0 ? false : _r$reverse, o = Ae.ancestor(e, t), u = o.children, a = n ? u.length - 1 : 0;
|
|
31694
31689
|
case 1:
|
|
31695
31690
|
if (!(n ? a >= 0 : a < u.length)) {
|
|
31696
|
-
_context3.next =
|
|
31691
|
+
_context3.next = 4;
|
|
31697
31692
|
break;
|
|
31698
31693
|
}
|
|
31699
31694
|
i = Ae.child(o, a), s = t.concat(a);
|
|
31700
|
-
_context3.next =
|
|
31695
|
+
_context3.next = 2;
|
|
31701
31696
|
return [i, s];
|
|
31702
|
-
case
|
|
31697
|
+
case 2:
|
|
31703
31698
|
a = n ? a - 1 : a + 1;
|
|
31704
|
-
case
|
|
31699
|
+
case 3:
|
|
31705
31700
|
_context3.next = 1;
|
|
31706
31701
|
break;
|
|
31707
|
-
case
|
|
31702
|
+
case 4:
|
|
31708
31703
|
case "end":
|
|
31709
31704
|
return _context3.stop();
|
|
31710
31705
|
}
|
|
@@ -31723,89 +31718,89 @@ function requireLib() {
|
|
|
31723
31718
|
descendants: function descendants(e) {
|
|
31724
31719
|
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
|
|
31725
31720
|
return /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
31726
|
-
var _iterator10, _step10, _step10$value, r, n;
|
|
31727
|
-
return _regeneratorRuntime().wrap(function
|
|
31721
|
+
var _iterator10, _step10, _step10$value, r, n, _t8, _t9;
|
|
31722
|
+
return _regeneratorRuntime().wrap(function (_context4) {
|
|
31728
31723
|
while (1) switch (_context4.prev = _context4.next) {
|
|
31729
31724
|
case 0:
|
|
31730
31725
|
_iterator10 = _createForOfIteratorHelper(Ae.nodes(e, t));
|
|
31731
31726
|
_context4.prev = 1;
|
|
31732
31727
|
_iterator10.s();
|
|
31733
|
-
case
|
|
31728
|
+
case 2:
|
|
31734
31729
|
if ((_step10 = _iterator10.n()).done) {
|
|
31735
|
-
_context4.next =
|
|
31730
|
+
_context4.next = 4;
|
|
31736
31731
|
break;
|
|
31737
31732
|
}
|
|
31738
31733
|
_step10$value = _slicedToArray(_step10.value, 2), r = _step10$value[0], n = _step10$value[1];
|
|
31739
|
-
|
|
31740
|
-
if (!
|
|
31741
|
-
_context4.next =
|
|
31734
|
+
_t8 = 0 !== n.length;
|
|
31735
|
+
if (!_t8) {
|
|
31736
|
+
_context4.next = 3;
|
|
31742
31737
|
break;
|
|
31743
31738
|
}
|
|
31744
|
-
_context4.next = 9;
|
|
31745
|
-
return [r, n];
|
|
31746
|
-
case 9:
|
|
31747
31739
|
_context4.next = 3;
|
|
31740
|
+
return [r, n];
|
|
31741
|
+
case 3:
|
|
31742
|
+
_context4.next = 2;
|
|
31748
31743
|
break;
|
|
31749
|
-
case
|
|
31750
|
-
_context4.next =
|
|
31744
|
+
case 4:
|
|
31745
|
+
_context4.next = 6;
|
|
31751
31746
|
break;
|
|
31752
|
-
case
|
|
31753
|
-
_context4.prev =
|
|
31754
|
-
|
|
31755
|
-
_iterator10.e(
|
|
31756
|
-
case
|
|
31757
|
-
_context4.prev =
|
|
31747
|
+
case 5:
|
|
31748
|
+
_context4.prev = 5;
|
|
31749
|
+
_t9 = _context4["catch"](1);
|
|
31750
|
+
_iterator10.e(_t9);
|
|
31751
|
+
case 6:
|
|
31752
|
+
_context4.prev = 6;
|
|
31758
31753
|
_iterator10.f();
|
|
31759
|
-
return _context4.finish(
|
|
31760
|
-
case
|
|
31754
|
+
return _context4.finish(6);
|
|
31755
|
+
case 7:
|
|
31761
31756
|
case "end":
|
|
31762
31757
|
return _context4.stop();
|
|
31763
31758
|
}
|
|
31764
|
-
}, _callee3, null, [[1,
|
|
31759
|
+
}, _callee3, null, [[1, 5, 6, 7]]);
|
|
31765
31760
|
})();
|
|
31766
31761
|
},
|
|
31767
31762
|
elements: function elements(e) {
|
|
31768
31763
|
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
|
|
31769
31764
|
return /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
31770
|
-
var _iterator11, _step11, _step11$value, r, n;
|
|
31771
|
-
return _regeneratorRuntime().wrap(function
|
|
31765
|
+
var _iterator11, _step11, _step11$value, r, n, _t10, _t11;
|
|
31766
|
+
return _regeneratorRuntime().wrap(function (_context5) {
|
|
31772
31767
|
while (1) switch (_context5.prev = _context5.next) {
|
|
31773
31768
|
case 0:
|
|
31774
31769
|
_iterator11 = _createForOfIteratorHelper(Ae.nodes(e, t));
|
|
31775
31770
|
_context5.prev = 1;
|
|
31776
31771
|
_iterator11.s();
|
|
31777
|
-
case
|
|
31772
|
+
case 2:
|
|
31778
31773
|
if ((_step11 = _iterator11.n()).done) {
|
|
31779
|
-
_context5.next =
|
|
31774
|
+
_context5.next = 4;
|
|
31780
31775
|
break;
|
|
31781
31776
|
}
|
|
31782
31777
|
_step11$value = _slicedToArray(_step11.value, 2), r = _step11$value[0], n = _step11$value[1];
|
|
31783
|
-
|
|
31784
|
-
if (!
|
|
31785
|
-
_context5.next =
|
|
31778
|
+
_t10 = Be.isElement(r);
|
|
31779
|
+
if (!_t10) {
|
|
31780
|
+
_context5.next = 3;
|
|
31786
31781
|
break;
|
|
31787
31782
|
}
|
|
31788
|
-
_context5.next = 9;
|
|
31789
|
-
return [r, n];
|
|
31790
|
-
case 9:
|
|
31791
31783
|
_context5.next = 3;
|
|
31784
|
+
return [r, n];
|
|
31785
|
+
case 3:
|
|
31786
|
+
_context5.next = 2;
|
|
31792
31787
|
break;
|
|
31793
|
-
case
|
|
31794
|
-
_context5.next =
|
|
31788
|
+
case 4:
|
|
31789
|
+
_context5.next = 6;
|
|
31795
31790
|
break;
|
|
31796
|
-
case
|
|
31797
|
-
_context5.prev =
|
|
31798
|
-
|
|
31799
|
-
_iterator11.e(
|
|
31800
|
-
case
|
|
31801
|
-
_context5.prev =
|
|
31791
|
+
case 5:
|
|
31792
|
+
_context5.prev = 5;
|
|
31793
|
+
_t11 = _context5["catch"](1);
|
|
31794
|
+
_iterator11.e(_t11);
|
|
31795
|
+
case 6:
|
|
31796
|
+
_context5.prev = 6;
|
|
31802
31797
|
_iterator11.f();
|
|
31803
|
-
return _context5.finish(
|
|
31804
|
-
case
|
|
31798
|
+
return _context5.finish(6);
|
|
31799
|
+
case 7:
|
|
31805
31800
|
case "end":
|
|
31806
31801
|
return _context5.stop();
|
|
31807
31802
|
}
|
|
31808
|
-
}, _callee4, null, [[1,
|
|
31803
|
+
}, _callee4, null, [[1, 5, 6, 7]]);
|
|
31809
31804
|
})();
|
|
31810
31805
|
},
|
|
31811
31806
|
extractProps: function extractProps(e) {
|
|
@@ -31908,41 +31903,41 @@ function requireLib() {
|
|
|
31908
31903
|
levels: function levels(e, t) {
|
|
31909
31904
|
var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
|
|
31910
31905
|
return /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
31911
|
-
var _iterator13, _step13, n, o;
|
|
31912
|
-
return _regeneratorRuntime().wrap(function
|
|
31906
|
+
var _iterator13, _step13, n, o, _t12;
|
|
31907
|
+
return _regeneratorRuntime().wrap(function (_context6) {
|
|
31913
31908
|
while (1) switch (_context6.prev = _context6.next) {
|
|
31914
31909
|
case 0:
|
|
31915
31910
|
_iterator13 = _createForOfIteratorHelper(ie.levels(t, r));
|
|
31916
31911
|
_context6.prev = 1;
|
|
31917
31912
|
_iterator13.s();
|
|
31918
|
-
case
|
|
31913
|
+
case 2:
|
|
31919
31914
|
if ((_step13 = _iterator13.n()).done) {
|
|
31920
|
-
_context6.next =
|
|
31915
|
+
_context6.next = 4;
|
|
31921
31916
|
break;
|
|
31922
31917
|
}
|
|
31923
31918
|
n = _step13.value;
|
|
31924
31919
|
o = Ae.get(e, n);
|
|
31925
|
-
_context6.next = 8;
|
|
31926
|
-
return [o, n];
|
|
31927
|
-
case 8:
|
|
31928
31920
|
_context6.next = 3;
|
|
31921
|
+
return [o, n];
|
|
31922
|
+
case 3:
|
|
31923
|
+
_context6.next = 2;
|
|
31929
31924
|
break;
|
|
31930
|
-
case
|
|
31931
|
-
_context6.next =
|
|
31925
|
+
case 4:
|
|
31926
|
+
_context6.next = 6;
|
|
31932
31927
|
break;
|
|
31933
|
-
case
|
|
31934
|
-
_context6.prev =
|
|
31935
|
-
|
|
31936
|
-
_iterator13.e(
|
|
31937
|
-
case
|
|
31938
|
-
_context6.prev =
|
|
31928
|
+
case 5:
|
|
31929
|
+
_context6.prev = 5;
|
|
31930
|
+
_t12 = _context6["catch"](1);
|
|
31931
|
+
_iterator13.e(_t12);
|
|
31932
|
+
case 6:
|
|
31933
|
+
_context6.prev = 6;
|
|
31939
31934
|
_iterator13.f();
|
|
31940
|
-
return _context6.finish(
|
|
31941
|
-
case
|
|
31935
|
+
return _context6.finish(6);
|
|
31936
|
+
case 7:
|
|
31942
31937
|
case "end":
|
|
31943
31938
|
return _context6.stop();
|
|
31944
31939
|
}
|
|
31945
|
-
}, _callee5, null, [[1,
|
|
31940
|
+
}, _callee5, null, [[1, 5, 6, 7]]);
|
|
31946
31941
|
})();
|
|
31947
31942
|
},
|
|
31948
31943
|
matches: function matches(e, t) {
|
|
@@ -31951,57 +31946,57 @@ function requireLib() {
|
|
|
31951
31946
|
nodes: function nodes(e) {
|
|
31952
31947
|
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
|
|
31953
31948
|
return /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
|
|
31954
|
-
var r, _t$reverse4, n, _t$from, o, u, a, i, s, l, c;
|
|
31955
|
-
return _regeneratorRuntime().wrap(function
|
|
31949
|
+
var r, _t$reverse4, n, _t$from, o, u, a, i, s, l, c, _t13;
|
|
31950
|
+
return _regeneratorRuntime().wrap(function (_context7) {
|
|
31956
31951
|
while (1) switch (_context7.prev = _context7.next) {
|
|
31957
31952
|
case 0:
|
|
31958
31953
|
r = t.pass, _t$reverse4 = t.reverse, n = _t$reverse4 === void 0 ? false : _t$reverse4, _t$from = t.from, o = _t$from === void 0 ? [] : _t$from, u = t.to, a = new Set(), i = [], s = e;
|
|
31959
31954
|
case 1:
|
|
31960
31955
|
if (!(!u || !(n ? ie.isBefore(i, u) : ie.isAfter(i, u)))) {
|
|
31961
|
-
_context7.next =
|
|
31956
|
+
_context7.next = 7;
|
|
31962
31957
|
break;
|
|
31963
31958
|
}
|
|
31964
|
-
|
|
31965
|
-
if (
|
|
31966
|
-
_context7.next =
|
|
31959
|
+
_t13 = a.has(s);
|
|
31960
|
+
if (_t13) {
|
|
31961
|
+
_context7.next = 2;
|
|
31967
31962
|
break;
|
|
31968
31963
|
}
|
|
31969
|
-
_context7.next =
|
|
31964
|
+
_context7.next = 2;
|
|
31970
31965
|
return [s, i];
|
|
31971
|
-
case
|
|
31966
|
+
case 2:
|
|
31972
31967
|
if (!(a.has(s) || Ve.isText(s) || 0 === s.children.length || null != r && false !== r([s, i]))) {
|
|
31973
|
-
_context7.next =
|
|
31968
|
+
_context7.next = 5;
|
|
31974
31969
|
break;
|
|
31975
31970
|
}
|
|
31976
31971
|
if (!(0 === i.length)) {
|
|
31977
|
-
_context7.next =
|
|
31972
|
+
_context7.next = 3;
|
|
31978
31973
|
break;
|
|
31979
31974
|
}
|
|
31980
|
-
return _context7.abrupt("
|
|
31981
|
-
case
|
|
31975
|
+
return _context7.abrupt("continue", 7);
|
|
31976
|
+
case 3:
|
|
31982
31977
|
if (n) {
|
|
31983
|
-
_context7.next =
|
|
31978
|
+
_context7.next = 4;
|
|
31984
31979
|
break;
|
|
31985
31980
|
}
|
|
31986
31981
|
l = ie.next(i);
|
|
31987
31982
|
if (!Ae.has(e, l)) {
|
|
31988
|
-
_context7.next =
|
|
31983
|
+
_context7.next = 4;
|
|
31989
31984
|
break;
|
|
31990
31985
|
}
|
|
31991
31986
|
i = l, s = Ae.get(e, i);
|
|
31992
|
-
return _context7.abrupt("continue",
|
|
31993
|
-
case
|
|
31987
|
+
return _context7.abrupt("continue", 6);
|
|
31988
|
+
case 4:
|
|
31994
31989
|
n && 0 !== i[i.length - 1] ? (i = ie.previous(i), s = Ae.get(e, i)) : (i = ie.parent(i), s = Ae.get(e, i), a.add(s));
|
|
31995
|
-
_context7.next =
|
|
31990
|
+
_context7.next = 6;
|
|
31996
31991
|
break;
|
|
31997
|
-
case
|
|
31992
|
+
case 5:
|
|
31998
31993
|
a.add(s);
|
|
31999
31994
|
c = n ? s.children.length - 1 : 0;
|
|
32000
31995
|
ie.isAncestor(i, o) && (c = o[i.length]), i = i.concat(c), s = Ae.get(e, i);
|
|
32001
|
-
case
|
|
31996
|
+
case 6:
|
|
32002
31997
|
_context7.next = 1;
|
|
32003
31998
|
break;
|
|
32004
|
-
case
|
|
31999
|
+
case 7:
|
|
32005
32000
|
case "end":
|
|
32006
32001
|
return _context7.stop();
|
|
32007
32002
|
}
|
|
@@ -32020,45 +32015,45 @@ function requireLib() {
|
|
|
32020
32015
|
texts: function texts(e) {
|
|
32021
32016
|
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
|
|
32022
32017
|
return /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
|
|
32023
|
-
var _iterator14, _step14, _step14$value, r, n;
|
|
32024
|
-
return _regeneratorRuntime().wrap(function
|
|
32018
|
+
var _iterator14, _step14, _step14$value, r, n, _t14, _t15;
|
|
32019
|
+
return _regeneratorRuntime().wrap(function (_context8) {
|
|
32025
32020
|
while (1) switch (_context8.prev = _context8.next) {
|
|
32026
32021
|
case 0:
|
|
32027
32022
|
_iterator14 = _createForOfIteratorHelper(Ae.nodes(e, t));
|
|
32028
32023
|
_context8.prev = 1;
|
|
32029
32024
|
_iterator14.s();
|
|
32030
|
-
case
|
|
32025
|
+
case 2:
|
|
32031
32026
|
if ((_step14 = _iterator14.n()).done) {
|
|
32032
|
-
_context8.next =
|
|
32027
|
+
_context8.next = 4;
|
|
32033
32028
|
break;
|
|
32034
32029
|
}
|
|
32035
32030
|
_step14$value = _slicedToArray(_step14.value, 2), r = _step14$value[0], n = _step14$value[1];
|
|
32036
|
-
|
|
32037
|
-
if (!
|
|
32038
|
-
_context8.next =
|
|
32031
|
+
_t14 = Ve.isText(r);
|
|
32032
|
+
if (!_t14) {
|
|
32033
|
+
_context8.next = 3;
|
|
32039
32034
|
break;
|
|
32040
32035
|
}
|
|
32041
|
-
_context8.next = 9;
|
|
32042
|
-
return [r, n];
|
|
32043
|
-
case 9:
|
|
32044
32036
|
_context8.next = 3;
|
|
32037
|
+
return [r, n];
|
|
32038
|
+
case 3:
|
|
32039
|
+
_context8.next = 2;
|
|
32045
32040
|
break;
|
|
32046
|
-
case
|
|
32047
|
-
_context8.next =
|
|
32041
|
+
case 4:
|
|
32042
|
+
_context8.next = 6;
|
|
32048
32043
|
break;
|
|
32049
|
-
case
|
|
32050
|
-
_context8.prev =
|
|
32051
|
-
|
|
32052
|
-
_iterator14.e(
|
|
32053
|
-
case
|
|
32054
|
-
_context8.prev =
|
|
32044
|
+
case 5:
|
|
32045
|
+
_context8.prev = 5;
|
|
32046
|
+
_t15 = _context8["catch"](1);
|
|
32047
|
+
_iterator14.e(_t15);
|
|
32048
|
+
case 6:
|
|
32049
|
+
_context8.prev = 6;
|
|
32055
32050
|
_iterator14.f();
|
|
32056
|
-
return _context8.finish(
|
|
32057
|
-
case
|
|
32051
|
+
return _context8.finish(6);
|
|
32052
|
+
case 7:
|
|
32058
32053
|
case "end":
|
|
32059
32054
|
return _context8.stop();
|
|
32060
32055
|
}
|
|
32061
|
-
}, _callee7, null, [[1,
|
|
32056
|
+
}, _callee7, null, [[1, 5, 6, 7]]);
|
|
32062
32057
|
})();
|
|
32063
32058
|
}
|
|
32064
32059
|
};
|
|
@@ -32649,38 +32644,38 @@ function requireLib() {
|
|
|
32649
32644
|
},
|
|
32650
32645
|
Ye = /*#__PURE__*/_regeneratorRuntime().mark(function Ye(e) {
|
|
32651
32646
|
var t, r, n, o;
|
|
32652
|
-
return _regeneratorRuntime().wrap(function
|
|
32647
|
+
return _regeneratorRuntime().wrap(function (_context9) {
|
|
32653
32648
|
while (1) switch (_context9.prev = _context9.next) {
|
|
32654
32649
|
case 0:
|
|
32655
32650
|
t = e.length - 1, r = 0;
|
|
32656
32651
|
case 1:
|
|
32657
32652
|
if (!(r < e.length)) {
|
|
32658
|
-
_context9.next =
|
|
32653
|
+
_context9.next = 5;
|
|
32659
32654
|
break;
|
|
32660
32655
|
}
|
|
32661
32656
|
n = e.charAt(t - r);
|
|
32662
32657
|
if (!Qe(n.charCodeAt(0))) {
|
|
32663
|
-
_context9.next =
|
|
32658
|
+
_context9.next = 3;
|
|
32664
32659
|
break;
|
|
32665
32660
|
}
|
|
32666
32661
|
o = e.charAt(t - r - 1);
|
|
32667
32662
|
if (!Ge(o.charCodeAt(0))) {
|
|
32668
|
-
_context9.next =
|
|
32663
|
+
_context9.next = 3;
|
|
32669
32664
|
break;
|
|
32670
32665
|
}
|
|
32671
|
-
_context9.next =
|
|
32666
|
+
_context9.next = 2;
|
|
32672
32667
|
return o + n;
|
|
32673
|
-
case
|
|
32668
|
+
case 2:
|
|
32674
32669
|
r++;
|
|
32675
|
-
return _context9.abrupt("continue",
|
|
32676
|
-
case
|
|
32677
|
-
_context9.next =
|
|
32670
|
+
return _context9.abrupt("continue", 4);
|
|
32671
|
+
case 3:
|
|
32672
|
+
_context9.next = 4;
|
|
32678
32673
|
return n;
|
|
32679
|
-
case
|
|
32674
|
+
case 4:
|
|
32680
32675
|
r++;
|
|
32681
32676
|
_context9.next = 1;
|
|
32682
32677
|
break;
|
|
32683
|
-
case
|
|
32678
|
+
case 5:
|
|
32684
32679
|
case "end":
|
|
32685
32680
|
return _context9.stop();
|
|
32686
32681
|
}
|
|
@@ -33259,9 +33254,9 @@ function requireLib() {
|
|
|
33259
33254
|
C = _Ae$last2[1],
|
|
33260
33255
|
y = [],
|
|
33261
33256
|
B = function B(t) {
|
|
33262
|
-
var
|
|
33263
|
-
r =
|
|
33264
|
-
n =
|
|
33257
|
+
var _t16 = _slicedToArray(t, 2),
|
|
33258
|
+
r = _t16[0],
|
|
33259
|
+
n = _t16[1];
|
|
33265
33260
|
return !(0 === n.length || !p && (D && ie.isAncestor(n, m) && Be.isElement(r) && !e.isVoid(r) && !e.isInline(r) || g && ie.isAncestor(n, C) && Be.isElement(r) && !e.isVoid(r) && !e.isInline(r)));
|
|
33266
33261
|
};
|
|
33267
33262
|
var _iterator23 = _createForOfIteratorHelper(Ae.nodes({
|
|
@@ -33393,9 +33388,9 @@ function requireLib() {
|
|
|
33393
33388
|
normalizeNode: function normalizeNode() {
|
|
33394
33389
|
for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++) r[n] = arguments[n];
|
|
33395
33390
|
return function (e, t) {
|
|
33396
|
-
var
|
|
33397
|
-
r =
|
|
33398
|
-
n =
|
|
33391
|
+
var _t17 = _slicedToArray(t, 2),
|
|
33392
|
+
r = _t17[0],
|
|
33393
|
+
n = _t17[1];
|
|
33399
33394
|
if (!Ve.isText(r)) if (Be.isElement(r) && 0 === r.children.length) yt.insertNodes(e, {
|
|
33400
33395
|
text: ""
|
|
33401
33396
|
}, {
|
|
@@ -33808,8 +33803,8 @@ function requireLib() {
|
|
|
33808
33803
|
_iterator29.f();
|
|
33809
33804
|
}
|
|
33810
33805
|
var k = Array.from(O, function (t) {
|
|
33811
|
-
var
|
|
33812
|
-
r =
|
|
33806
|
+
var _t18 = _slicedToArray(t, 2),
|
|
33807
|
+
r = _t18[1];
|
|
33813
33808
|
return Se.pathRef(e, r);
|
|
33814
33809
|
}),
|
|
33815
33810
|
j = Se.pointRef(e, D),
|
|
@@ -34033,9 +34028,9 @@ function requireLib() {
|
|
|
34033
34028
|
s = r.match,
|
|
34034
34029
|
l = r.select;
|
|
34035
34030
|
if (Ae.isNode(t) && (t = [t]), 0 !== t.length) {
|
|
34036
|
-
var
|
|
34037
|
-
|
|
34038
|
-
c =
|
|
34031
|
+
var _t19 = t,
|
|
34032
|
+
_t20 = _slicedToArray(_t19, 1),
|
|
34033
|
+
c = _t20[0];
|
|
34039
34034
|
if (i || (i = qe(e), false !== l && (l = true)), null == l && (l = false), Ce.isRange(i)) if (n || (i = Se.unhangRange(e, i, {
|
|
34040
34035
|
voids: o
|
|
34041
34036
|
})), Ce.isCollapsed(i)) i = i.anchor;else {
|
|
@@ -34223,54 +34218,54 @@ function requireLib() {
|
|
|
34223
34218
|
return function (e) {
|
|
34224
34219
|
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
|
|
34225
34220
|
return /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
|
34226
|
-
var _t$at3, r, _t$reverse6, n, _t$voids3, o, u, a, i, _iterator32, _step32, _step32$value, s, l;
|
|
34227
|
-
return _regeneratorRuntime().wrap(function
|
|
34221
|
+
var _t$at3, r, _t$reverse6, n, _t$voids3, o, u, a, i, _iterator32, _step32, _step32$value, s, l, _t21;
|
|
34222
|
+
return _regeneratorRuntime().wrap(function (_context10) {
|
|
34228
34223
|
while (1) switch (_context10.prev = _context10.next) {
|
|
34229
34224
|
case 0:
|
|
34230
34225
|
_t$at3 = t.at, r = _t$at3 === void 0 ? e.selection : _t$at3, _t$reverse6 = t.reverse, n = _t$reverse6 === void 0 ? false : _t$reverse6, _t$voids3 = t.voids, o = _t$voids3 === void 0 ? false : _t$voids3, u = t.match;
|
|
34231
34226
|
if (!(null == u && (u = function u() {
|
|
34232
34227
|
return true;
|
|
34233
34228
|
}), r)) {
|
|
34234
|
-
_context10.next =
|
|
34229
|
+
_context10.next = 8;
|
|
34235
34230
|
break;
|
|
34236
34231
|
}
|
|
34237
34232
|
a = [], i = Se.path(e, r);
|
|
34238
34233
|
_iterator32 = _createForOfIteratorHelper(Ae.levels(e, i));
|
|
34239
|
-
_context10.prev =
|
|
34234
|
+
_context10.prev = 1;
|
|
34240
34235
|
_iterator32.s();
|
|
34241
|
-
case
|
|
34236
|
+
case 2:
|
|
34242
34237
|
if ((_step32 = _iterator32.n()).done) {
|
|
34243
|
-
_context10.next =
|
|
34238
|
+
_context10.next = 4;
|
|
34244
34239
|
break;
|
|
34245
34240
|
}
|
|
34246
34241
|
_step32$value = _slicedToArray(_step32.value, 2), s = _step32$value[0], l = _step32$value[1];
|
|
34247
34242
|
if (!(u(s, l) && (a.push([s, l]), !o && Be.isElement(s) && Se.isVoid(e, s)))) {
|
|
34248
|
-
_context10.next =
|
|
34243
|
+
_context10.next = 3;
|
|
34249
34244
|
break;
|
|
34250
34245
|
}
|
|
34251
|
-
return _context10.abrupt("
|
|
34252
|
-
case
|
|
34253
|
-
_context10.next =
|
|
34246
|
+
return _context10.abrupt("continue", 4);
|
|
34247
|
+
case 3:
|
|
34248
|
+
_context10.next = 2;
|
|
34254
34249
|
break;
|
|
34255
|
-
case
|
|
34256
|
-
_context10.next =
|
|
34250
|
+
case 4:
|
|
34251
|
+
_context10.next = 6;
|
|
34257
34252
|
break;
|
|
34258
|
-
case
|
|
34259
|
-
_context10.prev =
|
|
34260
|
-
|
|
34261
|
-
_iterator32.e(
|
|
34262
|
-
case
|
|
34263
|
-
_context10.prev =
|
|
34253
|
+
case 5:
|
|
34254
|
+
_context10.prev = 5;
|
|
34255
|
+
_t21 = _context10["catch"](1);
|
|
34256
|
+
_iterator32.e(_t21);
|
|
34257
|
+
case 6:
|
|
34258
|
+
_context10.prev = 6;
|
|
34264
34259
|
_iterator32.f();
|
|
34265
|
-
return _context10.finish(
|
|
34266
|
-
case
|
|
34260
|
+
return _context10.finish(6);
|
|
34261
|
+
case 7:
|
|
34267
34262
|
n && a.reverse();
|
|
34268
|
-
return _context10.delegateYield(a, "
|
|
34269
|
-
case
|
|
34263
|
+
return _context10.delegateYield(a, "t0", 8);
|
|
34264
|
+
case 8:
|
|
34270
34265
|
case "end":
|
|
34271
34266
|
return _context10.stop();
|
|
34272
34267
|
}
|
|
34273
|
-
}, _callee8, null, [[
|
|
34268
|
+
}, _callee8, null, [[1, 5, 6, 7]]);
|
|
34274
34269
|
})();
|
|
34275
34270
|
}.apply(void 0, [e].concat(r));
|
|
34276
34271
|
},
|
|
@@ -34296,8 +34291,8 @@ function requireLib() {
|
|
|
34296
34291
|
voids: o
|
|
34297
34292
|
}),
|
|
34298
34293
|
i = Array.from(a, function (t) {
|
|
34299
|
-
var
|
|
34300
|
-
r =
|
|
34294
|
+
var _t22 = _slicedToArray(t, 2),
|
|
34295
|
+
r = _t22[1];
|
|
34301
34296
|
return Se.pathRef(e, r);
|
|
34302
34297
|
});
|
|
34303
34298
|
for (var _i5 = 0, _i4 = i; _i5 < _i4.length; _i5++) {
|
|
@@ -34515,8 +34510,8 @@ function requireLib() {
|
|
|
34515
34510
|
voids: u
|
|
34516
34511
|
}),
|
|
34517
34512
|
l = Array.from(s, function (t) {
|
|
34518
|
-
var
|
|
34519
|
-
r =
|
|
34513
|
+
var _t23 = _slicedToArray(t, 2),
|
|
34514
|
+
r = _t23[1];
|
|
34520
34515
|
return Se.pathRef(e, r);
|
|
34521
34516
|
});
|
|
34522
34517
|
for (var _i6 = 0, _l2 = l; _i6 < _l2.length; _i6++) {
|
|
@@ -34591,15 +34586,15 @@ function requireLib() {
|
|
|
34591
34586
|
return function (e) {
|
|
34592
34587
|
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
|
|
34593
34588
|
return /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
|
|
34594
|
-
var _t$at8, r, _t$mode6, n, _t$universal, o, _t$reverse8, u, _t$voids8, a, _t$ignoreNonSelectabl, i, s, l, c, f, d, h, v, p, _iterator33, _step33, _step33$value, D, g, m, C;
|
|
34595
|
-
return _regeneratorRuntime().wrap(function
|
|
34589
|
+
var _t$at8, r, _t$mode6, n, _t$universal, o, _t$reverse8, u, _t$voids8, a, _t$ignoreNonSelectabl, i, s, l, c, f, d, h, v, p, _iterator33, _step33, _step33$value, D, g, m, C, _t25, _t26, _t27, _t28;
|
|
34590
|
+
return _regeneratorRuntime().wrap(function (_context11) {
|
|
34596
34591
|
while (1) switch (_context11.prev = _context11.next) {
|
|
34597
34592
|
case 0:
|
|
34598
34593
|
_t$at8 = t.at, r = _t$at8 === void 0 ? e.selection : _t$at8, _t$mode6 = t.mode, n = _t$mode6 === void 0 ? "all" : _t$mode6, _t$universal = t.universal, o = _t$universal === void 0 ? false : _t$universal, _t$reverse8 = t.reverse, u = _t$reverse8 === void 0 ? false : _t$reverse8, _t$voids8 = t.voids, a = _t$voids8 === void 0 ? false : _t$voids8, _t$ignoreNonSelectabl = t.ignoreNonSelectable, i = _t$ignoreNonSelectabl === void 0 ? false : _t$ignoreNonSelectabl, s = t.match;
|
|
34599
34594
|
if (!(s || (s = function s() {
|
|
34600
34595
|
return true;
|
|
34601
34596
|
}), r)) {
|
|
34602
|
-
_context11.next =
|
|
34597
|
+
_context11.next = 15;
|
|
34603
34598
|
break;
|
|
34604
34599
|
}
|
|
34605
34600
|
if (ke(r)) l = r[0], c = r[1];else {
|
|
@@ -34615,110 +34610,110 @@ function requireLib() {
|
|
|
34615
34610
|
from: l,
|
|
34616
34611
|
to: c,
|
|
34617
34612
|
pass: function pass(t) {
|
|
34618
|
-
var
|
|
34619
|
-
r =
|
|
34613
|
+
var _t24 = _slicedToArray(t, 1),
|
|
34614
|
+
r = _t24[0];
|
|
34620
34615
|
return !(!Be.isElement(r) || (a || !Se.isVoid(e, r) && !Se.isElementReadOnly(e, r)) && (!i || Se.isSelectable(e, r)));
|
|
34621
34616
|
}
|
|
34622
34617
|
}), p = [];
|
|
34623
34618
|
_iterator33 = _createForOfIteratorHelper(v);
|
|
34624
|
-
_context11.prev =
|
|
34619
|
+
_context11.prev = 1;
|
|
34625
34620
|
_iterator33.s();
|
|
34626
|
-
case
|
|
34621
|
+
case 2:
|
|
34627
34622
|
if ((_step33 = _iterator33.n()).done) {
|
|
34628
|
-
_context11.next =
|
|
34623
|
+
_context11.next = 9;
|
|
34629
34624
|
break;
|
|
34630
34625
|
}
|
|
34631
34626
|
_step33$value = _slicedToArray(_step33.value, 2), D = _step33$value[0], g = _step33$value[1];
|
|
34632
34627
|
if (!(!i || !Be.isElement(D) || Se.isSelectable(e, D))) {
|
|
34633
|
-
_context11.next =
|
|
34628
|
+
_context11.next = 8;
|
|
34634
34629
|
break;
|
|
34635
34630
|
}
|
|
34636
34631
|
m = h && 0 === ie.compare(g, h[1]);
|
|
34637
34632
|
if (!("highest" !== n || !m)) {
|
|
34638
|
-
_context11.next =
|
|
34633
|
+
_context11.next = 8;
|
|
34639
34634
|
break;
|
|
34640
34635
|
}
|
|
34641
34636
|
if (!s(D, g)) {
|
|
34642
|
-
_context11.next =
|
|
34637
|
+
_context11.next = 7;
|
|
34643
34638
|
break;
|
|
34644
34639
|
}
|
|
34645
34640
|
if (!("lowest" === n && m)) {
|
|
34646
|
-
_context11.next =
|
|
34641
|
+
_context11.next = 3;
|
|
34647
34642
|
break;
|
|
34648
34643
|
}
|
|
34649
34644
|
h = [D, g];
|
|
34650
|
-
_context11.next =
|
|
34645
|
+
_context11.next = 6;
|
|
34651
34646
|
break;
|
|
34652
|
-
case
|
|
34647
|
+
case 3:
|
|
34653
34648
|
C = "lowest" === n ? h : [D, g];
|
|
34654
|
-
|
|
34655
|
-
if (!
|
|
34656
|
-
_context11.next =
|
|
34649
|
+
_t25 = C;
|
|
34650
|
+
if (!_t25) {
|
|
34651
|
+
_context11.next = 5;
|
|
34657
34652
|
break;
|
|
34658
34653
|
}
|
|
34659
34654
|
if (!o) {
|
|
34660
|
-
_context11.next =
|
|
34655
|
+
_context11.next = 4;
|
|
34661
34656
|
break;
|
|
34662
34657
|
}
|
|
34663
34658
|
p.push(C);
|
|
34664
|
-
_context11.next =
|
|
34659
|
+
_context11.next = 5;
|
|
34665
34660
|
break;
|
|
34666
|
-
case
|
|
34667
|
-
_context11.next =
|
|
34661
|
+
case 4:
|
|
34662
|
+
_context11.next = 5;
|
|
34668
34663
|
return C;
|
|
34669
|
-
case
|
|
34664
|
+
case 5:
|
|
34670
34665
|
h = [D, g];
|
|
34671
|
-
case
|
|
34672
|
-
_context11.next =
|
|
34666
|
+
case 6:
|
|
34667
|
+
_context11.next = 8;
|
|
34673
34668
|
break;
|
|
34674
|
-
case
|
|
34669
|
+
case 7:
|
|
34675
34670
|
if (!(o && !m && Ve.isText(D))) {
|
|
34676
|
-
_context11.next =
|
|
34671
|
+
_context11.next = 8;
|
|
34677
34672
|
break;
|
|
34678
34673
|
}
|
|
34679
34674
|
return _context11.abrupt("return");
|
|
34680
|
-
case
|
|
34681
|
-
_context11.next =
|
|
34675
|
+
case 8:
|
|
34676
|
+
_context11.next = 2;
|
|
34682
34677
|
break;
|
|
34683
|
-
case
|
|
34684
|
-
_context11.next =
|
|
34678
|
+
case 9:
|
|
34679
|
+
_context11.next = 11;
|
|
34685
34680
|
break;
|
|
34686
|
-
case
|
|
34687
|
-
_context11.prev =
|
|
34688
|
-
|
|
34689
|
-
_iterator33.e(
|
|
34690
|
-
case
|
|
34691
|
-
_context11.prev =
|
|
34681
|
+
case 10:
|
|
34682
|
+
_context11.prev = 10;
|
|
34683
|
+
_t26 = _context11["catch"](1);
|
|
34684
|
+
_iterator33.e(_t26);
|
|
34685
|
+
case 11:
|
|
34686
|
+
_context11.prev = 11;
|
|
34692
34687
|
_iterator33.f();
|
|
34693
|
-
return _context11.finish(
|
|
34694
|
-
case
|
|
34695
|
-
|
|
34696
|
-
if (!
|
|
34697
|
-
_context11.next =
|
|
34688
|
+
return _context11.finish(11);
|
|
34689
|
+
case 12:
|
|
34690
|
+
_t27 = "lowest" === n && h;
|
|
34691
|
+
if (!_t27) {
|
|
34692
|
+
_context11.next = 14;
|
|
34698
34693
|
break;
|
|
34699
34694
|
}
|
|
34700
34695
|
if (!o) {
|
|
34701
|
-
_context11.next =
|
|
34696
|
+
_context11.next = 13;
|
|
34702
34697
|
break;
|
|
34703
34698
|
}
|
|
34704
34699
|
p.push(h);
|
|
34705
|
-
_context11.next =
|
|
34700
|
+
_context11.next = 14;
|
|
34706
34701
|
break;
|
|
34707
|
-
case
|
|
34708
|
-
_context11.next =
|
|
34702
|
+
case 13:
|
|
34703
|
+
_context11.next = 14;
|
|
34709
34704
|
return h;
|
|
34710
|
-
case
|
|
34711
|
-
|
|
34712
|
-
if (!
|
|
34713
|
-
_context11.next =
|
|
34705
|
+
case 14:
|
|
34706
|
+
_t28 = o;
|
|
34707
|
+
if (!_t28) {
|
|
34708
|
+
_context11.next = 15;
|
|
34714
34709
|
break;
|
|
34715
34710
|
}
|
|
34716
|
-
return _context11.delegateYield(p, "
|
|
34717
|
-
case
|
|
34711
|
+
return _context11.delegateYield(p, "t0", 15);
|
|
34712
|
+
case 15:
|
|
34718
34713
|
case "end":
|
|
34719
34714
|
return _context11.stop();
|
|
34720
34715
|
}
|
|
34721
|
-
}, _callee9, null, [[
|
|
34716
|
+
}, _callee9, null, [[1, 10, 11, 12]]);
|
|
34722
34717
|
})();
|
|
34723
34718
|
}.apply(void 0, [e].concat(r));
|
|
34724
34719
|
},
|
|
@@ -34911,8 +34906,8 @@ function requireLib() {
|
|
|
34911
34906
|
return function (e) {
|
|
34912
34907
|
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
|
|
34913
34908
|
return /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
|
|
34914
|
-
var _t$at9, r, _t$unit5, n, _t$reverse9, o, _t$voids9, u, _t$ignoreNonSelectabl2, a, i, _Ce$edges35, _Ce$edges36, s, l, c, f, d, h, v, p, _iterator35, _step35, _step35$value, D, g, m, C, y, B;
|
|
34915
|
-
return _regeneratorRuntime().wrap(function
|
|
34909
|
+
var _t$at9, r, _t$unit5, n, _t$reverse9, o, _t$voids9, u, _t$ignoreNonSelectabl2, a, i, _Ce$edges35, _Ce$edges36, s, l, c, f, d, h, v, p, _iterator35, _step35, _step35$value, D, g, m, C, y, B, _t29, _t30;
|
|
34910
|
+
return _regeneratorRuntime().wrap(function (_context12) {
|
|
34916
34911
|
while (1) switch (_context12.prev = _context12.next) {
|
|
34917
34912
|
case 0:
|
|
34918
34913
|
B = function _B(e, t, r) {
|
|
@@ -34934,7 +34929,7 @@ function requireLib() {
|
|
|
34934
34929
|
};
|
|
34935
34930
|
_t$at9 = t.at, r = _t$at9 === void 0 ? e.selection : _t$at9, _t$unit5 = t.unit, n = _t$unit5 === void 0 ? "offset" : _t$unit5, _t$reverse9 = t.reverse, o = _t$reverse9 === void 0 ? false : _t$reverse9, _t$voids9 = t.voids, u = _t$voids9 === void 0 ? false : _t$voids9, _t$ignoreNonSelectabl2 = t.ignoreNonSelectable, a = _t$ignoreNonSelectabl2 === void 0 ? false : _t$ignoreNonSelectabl2;
|
|
34936
34931
|
if (!r) {
|
|
34937
|
-
_context12.next =
|
|
34932
|
+
_context12.next = 17;
|
|
34938
34933
|
break;
|
|
34939
34934
|
}
|
|
34940
34935
|
i = Se.range(e, r), _Ce$edges35 = Ce.edges(i), _Ce$edges36 = _slicedToArray(_Ce$edges35, 2), s = _Ce$edges36[0], l = _Ce$edges36[1], c = o ? l : s, f = false, d = "", h = 0, v = 0, p = 0;
|
|
@@ -34944,33 +34939,33 @@ function requireLib() {
|
|
|
34944
34939
|
voids: u,
|
|
34945
34940
|
ignoreNonSelectable: a
|
|
34946
34941
|
}));
|
|
34947
|
-
_context12.prev =
|
|
34942
|
+
_context12.prev = 1;
|
|
34948
34943
|
_iterator35.s();
|
|
34949
|
-
case
|
|
34944
|
+
case 2:
|
|
34950
34945
|
if ((_step35 = _iterator35.n()).done) {
|
|
34951
|
-
_context12.next =
|
|
34946
|
+
_context12.next = 14;
|
|
34952
34947
|
break;
|
|
34953
34948
|
}
|
|
34954
34949
|
_step35$value = _slicedToArray(_step35.value, 2), D = _step35$value[0], g = _step35$value[1];
|
|
34955
34950
|
if (!Be.isElement(D)) {
|
|
34956
|
-
_context12.next =
|
|
34951
|
+
_context12.next = 6;
|
|
34957
34952
|
break;
|
|
34958
34953
|
}
|
|
34959
34954
|
if (!(!u && (e.isVoid(D) || e.isElementReadOnly(D)))) {
|
|
34960
|
-
_context12.next =
|
|
34955
|
+
_context12.next = 4;
|
|
34961
34956
|
break;
|
|
34962
34957
|
}
|
|
34963
|
-
_context12.next =
|
|
34958
|
+
_context12.next = 3;
|
|
34964
34959
|
return Se.start(e, g);
|
|
34965
|
-
case
|
|
34966
|
-
return _context12.abrupt("continue",
|
|
34967
|
-
case
|
|
34960
|
+
case 3:
|
|
34961
|
+
return _context12.abrupt("continue", 13);
|
|
34962
|
+
case 4:
|
|
34968
34963
|
if (!e.isInline(D)) {
|
|
34969
|
-
_context12.next =
|
|
34964
|
+
_context12.next = 5;
|
|
34970
34965
|
break;
|
|
34971
34966
|
}
|
|
34972
|
-
return _context12.abrupt("continue",
|
|
34973
|
-
case
|
|
34967
|
+
return _context12.abrupt("continue", 13);
|
|
34968
|
+
case 5:
|
|
34974
34969
|
if (Se.hasInlines(e, D)) {
|
|
34975
34970
|
m = ie.isAncestor(g, l.path) ? l : Se.end(e, g), C = ie.isAncestor(g, s.path) ? s : Se.start(e, g);
|
|
34976
34971
|
d = Se.string(e, {
|
|
@@ -34980,73 +34975,73 @@ function requireLib() {
|
|
|
34980
34975
|
voids: u
|
|
34981
34976
|
}), f = true;
|
|
34982
34977
|
}
|
|
34983
|
-
case
|
|
34978
|
+
case 6:
|
|
34984
34979
|
if (!Ve.isText(D)) {
|
|
34985
|
-
_context12.next =
|
|
34980
|
+
_context12.next = 13;
|
|
34986
34981
|
break;
|
|
34987
34982
|
}
|
|
34988
34983
|
y = ie.equals(g, c.path);
|
|
34989
34984
|
y ? (v = o ? c.offset : D.text.length - c.offset, p = c.offset) : (v = D.text.length, p = o ? v : 0);
|
|
34990
|
-
|
|
34991
|
-
if (!
|
|
34992
|
-
_context12.next =
|
|
34985
|
+
_t29 = y || f || "offset" === n;
|
|
34986
|
+
if (!_t29) {
|
|
34987
|
+
_context12.next = 8;
|
|
34993
34988
|
break;
|
|
34994
34989
|
}
|
|
34995
|
-
_context12.next =
|
|
34990
|
+
_context12.next = 7;
|
|
34996
34991
|
return {
|
|
34997
34992
|
path: g,
|
|
34998
34993
|
offset: p
|
|
34999
34994
|
};
|
|
35000
|
-
case
|
|
34995
|
+
case 7:
|
|
35001
34996
|
f = false;
|
|
35002
|
-
case
|
|
34997
|
+
case 8:
|
|
35003
34998
|
if (!(0 === h)) {
|
|
35004
|
-
_context12.next =
|
|
34999
|
+
_context12.next = 10;
|
|
35005
35000
|
break;
|
|
35006
35001
|
}
|
|
35007
35002
|
if (!("" === d)) {
|
|
35008
|
-
_context12.next =
|
|
35003
|
+
_context12.next = 9;
|
|
35009
35004
|
break;
|
|
35010
35005
|
}
|
|
35011
|
-
return _context12.abrupt("
|
|
35012
|
-
case
|
|
35006
|
+
return _context12.abrupt("continue", 13);
|
|
35007
|
+
case 9:
|
|
35013
35008
|
h = B(d, n, o), d = Je(d, h, o)[1];
|
|
35014
|
-
case
|
|
35009
|
+
case 10:
|
|
35015
35010
|
if (!(p = o ? p - h : p + h, (v -= h) < 0)) {
|
|
35016
|
-
_context12.next =
|
|
35011
|
+
_context12.next = 11;
|
|
35017
35012
|
break;
|
|
35018
35013
|
}
|
|
35019
35014
|
h = -v;
|
|
35020
|
-
return _context12.abrupt("
|
|
35021
|
-
case
|
|
35015
|
+
return _context12.abrupt("continue", 13);
|
|
35016
|
+
case 11:
|
|
35022
35017
|
h = 0;
|
|
35023
|
-
_context12.next =
|
|
35018
|
+
_context12.next = 12;
|
|
35024
35019
|
return {
|
|
35025
35020
|
path: g,
|
|
35026
35021
|
offset: p
|
|
35027
35022
|
};
|
|
35028
|
-
case
|
|
35029
|
-
_context12.next =
|
|
35023
|
+
case 12:
|
|
35024
|
+
_context12.next = 8;
|
|
35030
35025
|
break;
|
|
35031
|
-
case
|
|
35032
|
-
_context12.next =
|
|
35026
|
+
case 13:
|
|
35027
|
+
_context12.next = 2;
|
|
35033
35028
|
break;
|
|
35034
|
-
case
|
|
35035
|
-
_context12.next =
|
|
35029
|
+
case 14:
|
|
35030
|
+
_context12.next = 16;
|
|
35036
35031
|
break;
|
|
35037
|
-
case
|
|
35038
|
-
_context12.prev =
|
|
35039
|
-
|
|
35040
|
-
_iterator35.e(
|
|
35041
|
-
case
|
|
35042
|
-
_context12.prev =
|
|
35032
|
+
case 15:
|
|
35033
|
+
_context12.prev = 15;
|
|
35034
|
+
_t30 = _context12["catch"](1);
|
|
35035
|
+
_iterator35.e(_t30);
|
|
35036
|
+
case 16:
|
|
35037
|
+
_context12.prev = 16;
|
|
35043
35038
|
_iterator35.f();
|
|
35044
|
-
return _context12.finish(
|
|
35045
|
-
case
|
|
35039
|
+
return _context12.finish(16);
|
|
35040
|
+
case 17:
|
|
35046
35041
|
case "end":
|
|
35047
35042
|
return _context12.stop();
|
|
35048
35043
|
}
|
|
35049
|
-
}, _callee10, null, [[
|
|
35044
|
+
}, _callee10, null, [[1, 15, 16, 17]]);
|
|
35050
35045
|
})();
|
|
35051
35046
|
}.apply(void 0, [e].concat(r));
|
|
35052
35047
|
},
|
|
@@ -35155,8 +35150,8 @@ function requireLib() {
|
|
|
35155
35150
|
voids: n
|
|
35156
35151
|
}),
|
|
35157
35152
|
s = Array.from(i, function (t) {
|
|
35158
|
-
var
|
|
35159
|
-
r =
|
|
35153
|
+
var _t31 = _slicedToArray(t, 2),
|
|
35154
|
+
r = _t31[1];
|
|
35160
35155
|
return Se.pathRef(e, r);
|
|
35161
35156
|
});
|
|
35162
35157
|
for (var _i7 = 0, _s2 = s; _i7 < _s2.length; _i7++) {
|
|
@@ -35584,8 +35579,8 @@ function requireLib() {
|
|
|
35584
35579
|
voids: o
|
|
35585
35580
|
}),
|
|
35586
35581
|
l = Array.from(s, function (t) {
|
|
35587
|
-
var
|
|
35588
|
-
r =
|
|
35582
|
+
var _t32 = _slicedToArray(t, 2),
|
|
35583
|
+
r = _t32[1];
|
|
35589
35584
|
return Se.pathRef(e, r);
|
|
35590
35585
|
}).reverse(),
|
|
35591
35586
|
c = function c() {
|
|
@@ -35742,9 +35737,9 @@ function requireLib() {
|
|
|
35742
35737
|
shouldMergeNodesRemovePrevNode: function shouldMergeNodesRemovePrevNode() {
|
|
35743
35738
|
for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++) r[n] = arguments[n];
|
|
35744
35739
|
return function (e, t) {
|
|
35745
|
-
var
|
|
35746
|
-
r =
|
|
35747
|
-
n =
|
|
35740
|
+
var _t33 = _slicedToArray(t, 2),
|
|
35741
|
+
r = _t33[0],
|
|
35742
|
+
n = _t33[1];
|
|
35748
35743
|
return Be.isElement(r) && Se.isEmpty(e, r) || Ve.isText(r) && "" === r.text && 0 !== n[n.length - 1];
|
|
35749
35744
|
}.apply(void 0, [e].concat(r));
|
|
35750
35745
|
}
|
|
@@ -35765,8 +35760,8 @@ function requireLib() {
|
|
|
35765
35760
|
},
|
|
35766
35761
|
Qt = function Qt(e, t) {
|
|
35767
35762
|
if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) {
|
|
35768
|
-
var
|
|
35769
|
-
return Gt(
|
|
35763
|
+
var r = getComputedStyle(e, null);
|
|
35764
|
+
return Gt(r.overflowY, t) || Gt(r.overflowX, t) || function (e) {
|
|
35770
35765
|
var t = function (e) {
|
|
35771
35766
|
if (!e.ownerDocument || !e.ownerDocument.defaultView) return null;
|
|
35772
35767
|
try {
|
|
@@ -35838,34 +35833,34 @@ function requireLib() {
|
|
|
35838
35833
|
S = "center" === s ? w + y / 2 - x + F : "end" === s ? b + F : w - x;
|
|
35839
35834
|
var k = [];
|
|
35840
35835
|
for (var _e8 = 0; _e8 < h.length; _e8++) {
|
|
35841
|
-
var
|
|
35842
|
-
_t$getBoundingClientR =
|
|
35843
|
-
|
|
35836
|
+
var _t34 = h[_e8],
|
|
35837
|
+
_t$getBoundingClientR = _t34.getBoundingClientRect(),
|
|
35838
|
+
_r6 = _t$getBoundingClientR.height,
|
|
35844
35839
|
_n7 = _t$getBoundingClientR.width,
|
|
35845
35840
|
_o7 = _t$getBoundingClientR.top,
|
|
35846
35841
|
_u5 = _t$getBoundingClientR.right,
|
|
35847
35842
|
_l4 = _t$getBoundingClientR.bottom,
|
|
35848
35843
|
_c5 = _t$getBoundingClientR.left;
|
|
35849
35844
|
if ("if-needed" === a && B >= 0 && w >= 0 && E <= D && b <= p && B >= _o7 && E <= _l4 && w >= _c5 && b <= _u5) return k;
|
|
35850
|
-
var _f5 = getComputedStyle(
|
|
35845
|
+
var _f5 = getComputedStyle(_t34),
|
|
35851
35846
|
_v2 = parseInt(_f5.borderLeftWidth, 10),
|
|
35852
35847
|
_A = parseInt(_f5.borderTopWidth, 10),
|
|
35853
35848
|
_F = parseInt(_f5.borderRightWidth, 10),
|
|
35854
35849
|
_O = parseInt(_f5.borderBottomWidth, 10);
|
|
35855
35850
|
var _x3 = 0,
|
|
35856
35851
|
_j = 0;
|
|
35857
|
-
var _T = "offsetWidth" in
|
|
35858
|
-
_M = "offsetHeight" in
|
|
35859
|
-
_R = "offsetWidth" in
|
|
35860
|
-
_N = "offsetHeight" in
|
|
35861
|
-
if (d ===
|
|
35862
|
-
_x3 = "start" === i ? P - _o7 - _A : "end" === i ? P - _l4 + _O + _M : "nearest" === i ? er(_o7, _l4,
|
|
35863
|
-
var _e9 =
|
|
35864
|
-
_a6 =
|
|
35865
|
-
_x3 = 0 === _N ? 0 : Math.max(0, Math.min(_a6 + _x3 / _N,
|
|
35852
|
+
var _T = "offsetWidth" in _t34 ? _t34.offsetWidth - _t34.clientWidth - _v2 - _F : 0,
|
|
35853
|
+
_M = "offsetHeight" in _t34 ? _t34.offsetHeight - _t34.clientHeight - _A - _O : 0,
|
|
35854
|
+
_R = "offsetWidth" in _t34 ? 0 === _t34.offsetWidth ? 0 : _n7 / _t34.offsetWidth : 0,
|
|
35855
|
+
_N = "offsetHeight" in _t34 ? 0 === _t34.offsetHeight ? 0 : _r6 / _t34.offsetHeight : 0;
|
|
35856
|
+
if (d === _t34) _x3 = "start" === i ? P : "end" === i ? P - D : "nearest" === i ? er(m, m + D, D, _A, _O, m + P, m + P + C, C) : P - D / 2, _j = "start" === s ? S : "center" === s ? S - p / 2 : "end" === s ? S - p : er(g, g + p, p, _v2, _F, g + S, g + S + y, y), _x3 = Math.max(0, _x3 + m), _j = Math.max(0, _j + g);else {
|
|
35857
|
+
_x3 = "start" === i ? P - _o7 - _A : "end" === i ? P - _l4 + _O + _M : "nearest" === i ? er(_o7, _l4, _r6, _A, _O + _M, P, P + C, C) : P - (_o7 + _r6 / 2) + _M / 2, _j = "start" === s ? S - _c5 - _v2 : "center" === s ? S - (_c5 + _n7 / 2) + _T / 2 : "end" === s ? S - _u5 + _F + _T : er(_c5, _u5, _n7, _v2, _F + _T, S, S + y, y);
|
|
35858
|
+
var _e9 = _t34.scrollLeft,
|
|
35859
|
+
_a6 = _t34.scrollTop;
|
|
35860
|
+
_x3 = 0 === _N ? 0 : Math.max(0, Math.min(_a6 + _x3 / _N, _t34.scrollHeight - _r6 / _N + _M)), _j = 0 === _R ? 0 : Math.max(0, Math.min(_e9 + _j / _R, _t34.scrollWidth - _n7 / _R + _T)), P += _a6 - _x3, S += _e9 - _j;
|
|
35866
35861
|
}
|
|
35867
35862
|
k.push({
|
|
35868
|
-
el:
|
|
35863
|
+
el: _t34,
|
|
35869
35864
|
top: _x3,
|
|
35870
35865
|
left: _j
|
|
35871
35866
|
});
|
|
@@ -36059,10 +36054,10 @@ function requireLib() {
|
|
|
36059
36054
|
},
|
|
36060
36055
|
findEventRange: function findEventRange(e, t) {
|
|
36061
36056
|
"nativeEvent" in t && (t = t.nativeEvent);
|
|
36062
|
-
var
|
|
36063
|
-
r =
|
|
36064
|
-
n =
|
|
36065
|
-
o =
|
|
36057
|
+
var _t35 = t,
|
|
36058
|
+
r = _t35.clientX,
|
|
36059
|
+
n = _t35.clientY,
|
|
36060
|
+
o = _t35.target;
|
|
36066
36061
|
if (null == r || null == n) throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));
|
|
36067
36062
|
var u,
|
|
36068
36063
|
a = ln.toSlateNode(e, t.target),
|
|
@@ -36375,13 +36370,13 @@ function requireLib() {
|
|
|
36375
36370
|
var f = t.getRangeAt(0),
|
|
36376
36371
|
d = t.getRangeAt(t.rangeCount - 1);
|
|
36377
36372
|
if (a instanceof HTMLTableRowElement && f.startContainer instanceof HTMLTableRowElement && d.startContainer instanceof HTMLTableRowElement) {
|
|
36378
|
-
var
|
|
36379
|
-
return e.childElementCount > 0 ?
|
|
36373
|
+
var _B3 = function _B2(e) {
|
|
36374
|
+
return e.childElementCount > 0 ? _B3(e.children[0]) : e;
|
|
36380
36375
|
};
|
|
36381
36376
|
var h = f.startContainer,
|
|
36382
36377
|
v = d.startContainer,
|
|
36383
|
-
p =
|
|
36384
|
-
D =
|
|
36378
|
+
p = _B3(h.children[f.startOffset]),
|
|
36379
|
+
D = _B3(v.children[d.startOffset]);
|
|
36385
36380
|
i = 0, o = D.childNodes.length > 0 ? D.childNodes[0] : D, a = p.childNodes.length > 0 ? p.childNodes[0] : p, u = D instanceof HTMLElement ? D.innerHTML.length : 0;
|
|
36386
36381
|
} else f.startContainer === a ? (o = d.endContainer, u = d.endOffset, i = f.startOffset) : (o = f.startContainer, u = f.endOffset, i = d.startOffset);
|
|
36387
36382
|
} else o = t.anchorNode, u = t.anchorOffset, a = t.focusNode, i = t.focusOffset;
|
|
@@ -37998,11 +37993,11 @@ function requireLib() {
|
|
|
37998
37993
|
return {
|
|
37999
37994
|
registerMutations: function registerMutations(n) {
|
|
38000
37995
|
if (t.current) {
|
|
38001
|
-
var
|
|
37996
|
+
var _r7;
|
|
38002
37997
|
var o = n.filter(function (t) {
|
|
38003
37998
|
return _mr(e, t, n);
|
|
38004
37999
|
});
|
|
38005
|
-
(
|
|
38000
|
+
(_r7 = r).push.apply(_r7, _toConsumableArray(o));
|
|
38006
38001
|
}
|
|
38007
38002
|
},
|
|
38008
38003
|
restoreDOM: function restoreDOM() {
|
|
@@ -38824,14 +38819,14 @@ function requireLib() {
|
|
|
38824
38819
|
try {
|
|
38825
38820
|
for (_iterator47.s(); !(_step47 = _iterator47.n()).done;) {
|
|
38826
38821
|
var _step47$value = _step47.value,
|
|
38827
|
-
|
|
38828
|
-
|
|
38829
|
-
|
|
38830
|
-
var _e12 =
|
|
38831
|
-
|
|
38832
|
-
|
|
38822
|
+
o = _step47$value.el,
|
|
38823
|
+
u = _step47$value.top,
|
|
38824
|
+
a = _step47$value.left;
|
|
38825
|
+
var _e12 = u - r.top + r.bottom,
|
|
38826
|
+
_t36 = a - r.left + r.right;
|
|
38827
|
+
o.scroll({
|
|
38833
38828
|
top: _e12,
|
|
38834
|
-
left:
|
|
38829
|
+
left: _t36,
|
|
38835
38830
|
behavior: n
|
|
38836
38831
|
});
|
|
38837
38832
|
}
|
|
@@ -38974,8 +38969,8 @@ function requireLib() {
|
|
|
38974
38969
|
at: r.selection
|
|
38975
38970
|
});
|
|
38976
38971
|
if (t) {
|
|
38977
|
-
var
|
|
38978
|
-
n =
|
|
38972
|
+
var _t37 = _slicedToArray(t, 2),
|
|
38973
|
+
n = _t37[1],
|
|
38979
38974
|
o = Se.range(r, n, r.selection.anchor),
|
|
38980
38975
|
a = function (e, t) {
|
|
38981
38976
|
var r = Se.range(e, Ce.end(t)),
|
|
@@ -39141,19 +39136,19 @@ function requireLib() {
|
|
|
39141
39136
|
case "set_selection":
|
|
39142
39137
|
zr.set(r, true);
|
|
39143
39138
|
}
|
|
39144
|
-
for (var _i10 = 0,
|
|
39145
|
-
var
|
|
39146
|
-
m =
|
|
39147
|
-
C =
|
|
39139
|
+
for (var _i10 = 0, _o10 = o; _i10 < _o10.length; _i10++) {
|
|
39140
|
+
var _o10$_i = _slicedToArray(_o10[_i10], 2),
|
|
39141
|
+
m = _o10$_i[0],
|
|
39142
|
+
C = _o10$_i[1];
|
|
39148
39143
|
var _Se$node13 = Se.node(r, m),
|
|
39149
39144
|
_Se$node14 = _slicedToArray(_Se$node13, 1),
|
|
39150
39145
|
y = _Se$node14[0];
|
|
39151
39146
|
$r.set(y, C);
|
|
39152
39147
|
}
|
|
39153
|
-
for (var _i11 = 0,
|
|
39154
|
-
var
|
|
39155
|
-
B =
|
|
39156
|
-
b =
|
|
39148
|
+
for (var _i11 = 0, _u6 = u; _i11 < _u6.length; _i11++) {
|
|
39149
|
+
var _u6$_i = _slicedToArray(_u6[_i11], 2),
|
|
39150
|
+
B = _u6$_i[0],
|
|
39151
|
+
b = _u6$_i[1];
|
|
39157
39152
|
if (B.current) {
|
|
39158
39153
|
var _Se$node15 = Se.node(r, B.current),
|
|
39159
39154
|
_Se$node16 = _slicedToArray(_Se$node15, 1),
|
|
@@ -39246,8 +39241,8 @@ function requireLib() {
|
|
|
39246
39241
|
t && t(e), o(e);
|
|
39247
39242
|
}, r;
|
|
39248
39243
|
}(t, arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "x-slate-fragment");
|
|
39249
|
-
var
|
|
39250
|
-
r =
|
|
39244
|
+
var _t38 = t,
|
|
39245
|
+
r = _t38.onChange;
|
|
39251
39246
|
return t.onChange = function (e) {
|
|
39252
39247
|
(bu < 18 ? mo().unstable_batchedUpdates : function (e) {
|
|
39253
39248
|
return e();
|
|
@@ -39773,12 +39768,20 @@ function requireLib() {
|
|
|
39773
39768
|
},
|
|
39774
39769
|
Ma = function Ma(e, t) {
|
|
39775
39770
|
return function (r) {
|
|
39776
|
-
var n = function
|
|
39777
|
-
|
|
39771
|
+
var n = function (_n8) {
|
|
39772
|
+
function n(_x4) {
|
|
39773
|
+
return _n8.apply(this, arguments);
|
|
39774
|
+
}
|
|
39775
|
+
n.toString = function () {
|
|
39776
|
+
return _n8.toString();
|
|
39777
|
+
};
|
|
39778
|
+
return n;
|
|
39779
|
+
}(function (n) {
|
|
39780
|
+
Ta(n) && n.data.type === ja(r.id, e) && t({
|
|
39778
39781
|
editor: r,
|
|
39779
|
-
data:
|
|
39782
|
+
data: n.data.data
|
|
39780
39783
|
});
|
|
39781
|
-
};
|
|
39784
|
+
});
|
|
39782
39785
|
return window.addEventListener("message", n), function () {
|
|
39783
39786
|
return window.removeEventListener("message", n);
|
|
39784
39787
|
};
|
|
@@ -41051,9 +41054,9 @@ function requireLib() {
|
|
|
41051
41054
|
}, t().createElement("code", null, JSON.stringify(r, null, 2)));
|
|
41052
41055
|
},
|
|
41053
41056
|
Fs = function Fs(e) {
|
|
41054
|
-
return t = function t(
|
|
41057
|
+
return t = function t(_t39) {
|
|
41055
41058
|
return function () {
|
|
41056
|
-
return e(
|
|
41059
|
+
return e(_t39(_t39)).apply(void 0, arguments);
|
|
41057
41060
|
};
|
|
41058
41061
|
}, function () {
|
|
41059
41062
|
return e(t(t)).apply(void 0, arguments);
|