@d-i-t-a/reader 2.2.0-beta.3 → 2.2.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +247 -229
- package/dist/esm/index.js.map +3 -3
- package/dist/reader.js +29 -29
- package/dist/reader.js.map +3 -3
- package/dist/types/modules/history/HistoryModule.d.ts +5 -3
- package/dist/types/reader.d.ts +8 -0
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -30641,8 +30641,37 @@ var require_devtools_detector = __commonJS({
|
|
|
30641
30641
|
return e.d(n2, "a", n2), n2;
|
|
30642
30642
|
}, e.o = function(t2, n2) {
|
|
30643
30643
|
return Object.prototype.hasOwnProperty.call(t2, n2);
|
|
30644
|
-
}, e.p = "", e(e.s =
|
|
30644
|
+
}, e.p = "", e(e.s = 3);
|
|
30645
30645
|
}([function(t, n, e) {
|
|
30646
|
+
"use strict";
|
|
30647
|
+
e.d(n, "j", function() {
|
|
30648
|
+
return s;
|
|
30649
|
+
}), e.d(n, "e", function() {
|
|
30650
|
+
return l;
|
|
30651
|
+
}), e.d(n, "f", function() {
|
|
30652
|
+
return d;
|
|
30653
|
+
}), e.d(n, "d", function() {
|
|
30654
|
+
return h;
|
|
30655
|
+
}), e.d(n, "i", function() {
|
|
30656
|
+
return p;
|
|
30657
|
+
}), e.d(n, "g", function() {
|
|
30658
|
+
return v;
|
|
30659
|
+
}), e.d(n, "c", function() {
|
|
30660
|
+
return b;
|
|
30661
|
+
}), e.d(n, "h", function() {
|
|
30662
|
+
return y;
|
|
30663
|
+
}), n.a = function() {
|
|
30664
|
+
for (var t2, n2 = [], e2 = 0; e2 < arguments.length; e2++)
|
|
30665
|
+
n2[e2] = arguments[e2];
|
|
30666
|
+
if (f === null || f === void 0 ? void 0 : f.document)
|
|
30667
|
+
return (t2 = f.document).createElement.apply(t2, n2);
|
|
30668
|
+
return {};
|
|
30669
|
+
}, e.d(n, "b", function() {
|
|
30670
|
+
return w;
|
|
30671
|
+
});
|
|
30672
|
+
var r, i, o, u, c, a = e(1), f = Object(a.a)(), s = ((r = f === null || f === void 0 ? void 0 : f.navigator) === null || r === void 0 ? void 0 : r.userAgent) || "unknown", l = "InstallTrigger" in ((f === null || f === void 0 ? void 0 : f.window) || {}) || /firefox/i.test(s), d = /trident/i.test(s) || /msie/i.test(s), h = /edge/i.test(s), p = /webkit/i.test(s) && !h, v = /IqiyiApp/.test(s), b = ((i = f === null || f === void 0 ? void 0 : f.window) === null || i === void 0 ? void 0 : i.chrome) !== void 0 || /chrome/i.test(s) || /CriOS/i.test(s), y = (((u = (o = f === null || f === void 0 ? void 0 : f.window) === null || o === void 0 ? void 0 : o.safari) === null || u === void 0 ? void 0 : u.pushNotification) || false).toString() === "[object SafariRemoteNotification]" || /safari/i.test(s) && !b;
|
|
30673
|
+
var w = typeof ((c = f.document) === null || c === void 0 ? void 0 : c.createElement) == "function";
|
|
30674
|
+
}, function(t, n, e) {
|
|
30646
30675
|
"use strict";
|
|
30647
30676
|
(function(t2) {
|
|
30648
30677
|
n.c = function() {
|
|
@@ -30678,24 +30707,8 @@ var require_devtools_detector = __commonJS({
|
|
|
30678
30707
|
return t2;
|
|
30679
30708
|
return this;
|
|
30680
30709
|
};
|
|
30681
|
-
var r = e(
|
|
30682
|
-
}).call(n, e(
|
|
30683
|
-
}, function(t, n, e) {
|
|
30684
|
-
"use strict";
|
|
30685
|
-
e.d(n, "c", function() {
|
|
30686
|
-
return f;
|
|
30687
|
-
}), e.d(n, "d", function() {
|
|
30688
|
-
return s;
|
|
30689
|
-
}), e.d(n, "b", function() {
|
|
30690
|
-
return l;
|
|
30691
|
-
}), e.d(n, "f", function() {
|
|
30692
|
-
return d;
|
|
30693
|
-
}), e.d(n, "a", function() {
|
|
30694
|
-
return h;
|
|
30695
|
-
}), e.d(n, "e", function() {
|
|
30696
|
-
return p;
|
|
30697
|
-
});
|
|
30698
|
-
var r, i, o, u = e(3), c = e(0), a = Object(c.a)(), f = "InstallTrigger" in ((a === null || a === void 0 ? void 0 : a.window) || {}) || /firefox/i.test(u.b), s = /trident/i.test(u.b) || /msie/i.test(u.b), l = /edge/i.test(u.b), d = /webkit/i.test(u.b) && !l, h = ((r = a === null || a === void 0 ? void 0 : a.window) === null || r === void 0 ? void 0 : r.chrome) !== void 0 || /chrome/i.test(u.b) || /CriOS/i.test(u.b), p = (((o = (i = a === null || a === void 0 ? void 0 : a.window) === null || i === void 0 ? void 0 : i.safari) === null || o === void 0 ? void 0 : o.pushNotification) || false).toString() === "[object SafariRemoteNotification]" || /safari/i.test(u.b) && !h;
|
|
30710
|
+
var r = e(8), i = (e.n(r), e(4));
|
|
30711
|
+
}).call(n, e(7));
|
|
30699
30712
|
}, function(t, n, e) {
|
|
30700
30713
|
"use strict";
|
|
30701
30714
|
e.d(n, "b", function() {
|
|
@@ -30705,10 +30718,10 @@ var require_devtools_detector = __commonJS({
|
|
|
30705
30718
|
}), e.d(n, "a", function() {
|
|
30706
30719
|
return c;
|
|
30707
30720
|
});
|
|
30708
|
-
var r = e(
|
|
30721
|
+
var r = e(0);
|
|
30709
30722
|
function i(t2) {
|
|
30710
30723
|
if (console) {
|
|
30711
|
-
if (!r.
|
|
30724
|
+
if (!r.f && !r.d)
|
|
30712
30725
|
return console[t2];
|
|
30713
30726
|
if (t2 === "log" || t2 === "clear")
|
|
30714
30727
|
return function() {
|
|
@@ -30723,59 +30736,54 @@ var require_devtools_detector = __commonJS({
|
|
|
30723
30736
|
};
|
|
30724
30737
|
}
|
|
30725
30738
|
var o = i("log"), u = i("table"), c = i("clear");
|
|
30726
|
-
}, function(t, n, e) {
|
|
30727
|
-
"use strict";
|
|
30728
|
-
n.a = function() {
|
|
30729
|
-
for (var t2, n2 = [], e2 = 0; e2 < arguments.length; e2++)
|
|
30730
|
-
n2[e2] = arguments[e2];
|
|
30731
|
-
if (o === null || o === void 0 ? void 0 : o.document)
|
|
30732
|
-
return (t2 = o.document).createElement.apply(t2, n2);
|
|
30733
|
-
return {};
|
|
30734
|
-
}, e.d(n, "b", function() {
|
|
30735
|
-
return u;
|
|
30736
|
-
});
|
|
30737
|
-
var r, i = e(0), o = Object(i.a)();
|
|
30738
|
-
var u = ((r = o === null || o === void 0 ? void 0 : o.navigator) === null || r === void 0 ? void 0 : r.userAgent) || "xxxxx";
|
|
30739
30739
|
}, function(t, n, e) {
|
|
30740
30740
|
"use strict";
|
|
30741
30741
|
Object.defineProperty(n, "__esModule", { value: true }), n.addListener = function(t2) {
|
|
30742
|
-
|
|
30742
|
+
s.addListener(t2);
|
|
30743
30743
|
}, n.removeListener = function(t2) {
|
|
30744
|
-
|
|
30744
|
+
s.removeListener(t2);
|
|
30745
30745
|
}, n.isLaunch = function() {
|
|
30746
|
-
return
|
|
30746
|
+
return s.isLaunch();
|
|
30747
30747
|
}, n.launch = function() {
|
|
30748
|
-
|
|
30748
|
+
s.launch();
|
|
30749
30749
|
}, n.stop = function() {
|
|
30750
|
-
|
|
30750
|
+
s.stop();
|
|
30751
30751
|
}, n.setDetectDelay = function(t2) {
|
|
30752
|
-
|
|
30752
|
+
s.setDetectDelay(t2);
|
|
30753
30753
|
};
|
|
30754
|
-
var r = e(
|
|
30754
|
+
var r = e(6), i = e(9);
|
|
30755
30755
|
e.d(n, "DevtoolsDetector", function() {
|
|
30756
30756
|
return r.a;
|
|
30757
30757
|
}), e.d(n, "checkers", function() {
|
|
30758
30758
|
return i;
|
|
30759
30759
|
});
|
|
30760
|
-
var o = e(
|
|
30760
|
+
var o = e(1);
|
|
30761
30761
|
e.d(n, "match", function() {
|
|
30762
30762
|
return o.b;
|
|
30763
30763
|
}), e.d(n, "specificVersionMatch", function() {
|
|
30764
30764
|
return o.d;
|
|
30765
30765
|
});
|
|
30766
|
-
var u = e(
|
|
30767
|
-
e.d(n, "
|
|
30768
|
-
return u.
|
|
30766
|
+
var u = e(0);
|
|
30767
|
+
e.d(n, "userAgent", function() {
|
|
30768
|
+
return u.j;
|
|
30769
|
+
}), e.d(n, "isFirefox", function() {
|
|
30770
|
+
return u.e;
|
|
30769
30771
|
}), e.d(n, "isIE", function() {
|
|
30770
|
-
return u.
|
|
30772
|
+
return u.f;
|
|
30771
30773
|
}), e.d(n, "isEdge", function() {
|
|
30772
|
-
return u.
|
|
30774
|
+
return u.d;
|
|
30773
30775
|
}), e.d(n, "isWebkit", function() {
|
|
30774
|
-
return u.
|
|
30776
|
+
return u.i;
|
|
30777
|
+
}), e.d(n, "isIqiyiApp", function() {
|
|
30778
|
+
return u.g;
|
|
30775
30779
|
}), e.d(n, "isChrome", function() {
|
|
30776
|
-
return u.
|
|
30780
|
+
return u.c;
|
|
30777
30781
|
}), e.d(n, "isSafari", function() {
|
|
30778
|
-
return u.
|
|
30782
|
+
return u.h;
|
|
30783
|
+
}), e.d(n, "createElement", function() {
|
|
30784
|
+
return u.a;
|
|
30785
|
+
}), e.d(n, "inBrowser", function() {
|
|
30786
|
+
return u.b;
|
|
30779
30787
|
});
|
|
30780
30788
|
var c = e(2);
|
|
30781
30789
|
e.d(n, "log", function() {
|
|
@@ -30785,34 +30793,30 @@ var require_devtools_detector = __commonJS({
|
|
|
30785
30793
|
}), e.d(n, "clear", function() {
|
|
30786
30794
|
return c.a;
|
|
30787
30795
|
});
|
|
30788
|
-
var a = e(
|
|
30789
|
-
e.d(n, "
|
|
30796
|
+
var a = e(4);
|
|
30797
|
+
e.d(n, "versionMap", function() {
|
|
30790
30798
|
return a.a;
|
|
30791
30799
|
});
|
|
30792
30800
|
var f = e(5);
|
|
30793
|
-
e.d(n, "versionMap", function() {
|
|
30794
|
-
return f.a;
|
|
30795
|
-
});
|
|
30796
|
-
var s = e(6);
|
|
30797
30801
|
e.d(n, "isMac", function() {
|
|
30798
|
-
return
|
|
30802
|
+
return f.d;
|
|
30799
30803
|
}), e.d(n, "isIpad", function() {
|
|
30800
|
-
return
|
|
30804
|
+
return f.b;
|
|
30801
30805
|
}), e.d(n, "isIphone", function() {
|
|
30802
|
-
return
|
|
30806
|
+
return f.c;
|
|
30803
30807
|
}), e.d(n, "isAndroid", function() {
|
|
30804
|
-
return
|
|
30808
|
+
return f.a;
|
|
30805
30809
|
}), e.d(n, "isWindows", function() {
|
|
30806
|
-
return
|
|
30810
|
+
return f.e;
|
|
30807
30811
|
});
|
|
30808
|
-
var
|
|
30809
|
-
n.default =
|
|
30812
|
+
var s = new r.a({ checkers: [i.erudaChecker, i.elementIdChecker, i.regToStringChecker, i.functionToStringChecker, i.depRegToStringChecker, i.dateToStringChecker, i.performanceChecker, i.debuggerChecker] });
|
|
30813
|
+
n.default = s;
|
|
30810
30814
|
}, function(t, n, e) {
|
|
30811
30815
|
"use strict";
|
|
30812
30816
|
e.d(n, "a", function() {
|
|
30813
30817
|
return r;
|
|
30814
30818
|
});
|
|
30815
|
-
for (var r = {}, i = 0, o = (e(
|
|
30819
|
+
for (var r = {}, i = 0, o = (e(0).j || "").match(/\w+\/(\d|\.)+(\s|$)/gi) || []; i < o.length; i++) {
|
|
30816
30820
|
var u = o[i].split("/"), c = u[0], a = u[1];
|
|
30817
30821
|
r[c] = a;
|
|
30818
30822
|
}
|
|
@@ -30829,15 +30833,15 @@ var require_devtools_detector = __commonJS({
|
|
|
30829
30833
|
}), e.d(n, "e", function() {
|
|
30830
30834
|
return a;
|
|
30831
30835
|
});
|
|
30832
|
-
var r = e(
|
|
30836
|
+
var r = e(0), i = /macintosh/i.test(r.j), o = /ipad/i.test(r.j) || i && navigator.maxTouchPoints > 1, u = /iphone/i.test(r.j), c = /android/i.test(r.j), a = /windows/i.test(r.j);
|
|
30833
30837
|
}, function(t, n, e) {
|
|
30834
30838
|
"use strict";
|
|
30835
30839
|
e.d(n, "a", function() {
|
|
30836
|
-
return
|
|
30840
|
+
return u;
|
|
30837
30841
|
});
|
|
30838
|
-
var r = this && this.__awaiter || function(t2, n2, e2, r2) {
|
|
30842
|
+
var r = e(0), i = this && this.__awaiter || function(t2, n2, e2, r2) {
|
|
30839
30843
|
return new (e2 || (e2 = Promise))(function(i2, o2) {
|
|
30840
|
-
function
|
|
30844
|
+
function u2(t3) {
|
|
30841
30845
|
try {
|
|
30842
30846
|
a(r2.next(t3));
|
|
30843
30847
|
} catch (t4) {
|
|
@@ -30856,12 +30860,12 @@ var require_devtools_detector = __commonJS({
|
|
|
30856
30860
|
return t4 instanceof e2 ? t4 : new e2(function(n3) {
|
|
30857
30861
|
n3(t4);
|
|
30858
30862
|
});
|
|
30859
|
-
}(t3.value).then(
|
|
30863
|
+
}(t3.value).then(u2, c);
|
|
30860
30864
|
}
|
|
30861
30865
|
a((r2 = r2.apply(t2, n2 || [])).next());
|
|
30862
30866
|
});
|
|
30863
|
-
},
|
|
30864
|
-
var e2, r2, i2, o2,
|
|
30867
|
+
}, o = this && this.__generator || function(t2, n2) {
|
|
30868
|
+
var e2, r2, i2, o2, u2 = { label: 0, sent: function() {
|
|
30865
30869
|
if (1 & i2[0])
|
|
30866
30870
|
throw i2[1];
|
|
30867
30871
|
return i2[1];
|
|
@@ -30874,7 +30878,7 @@ var require_devtools_detector = __commonJS({
|
|
|
30874
30878
|
return function(o4) {
|
|
30875
30879
|
if (e2)
|
|
30876
30880
|
throw new TypeError("Generator is already executing.");
|
|
30877
|
-
for (;
|
|
30881
|
+
for (; u2; )
|
|
30878
30882
|
try {
|
|
30879
30883
|
if (e2 = 1, r2 && (i2 = 2 & o4[0] ? r2.return : o4[0] ? r2.throw || ((i2 = r2.return) && i2.call(r2), 0) : r2.next) && !(i2 = i2.call(r2, o4[1])).done)
|
|
30880
30884
|
return i2;
|
|
@@ -30884,34 +30888,34 @@ var require_devtools_detector = __commonJS({
|
|
|
30884
30888
|
i2 = o4;
|
|
30885
30889
|
break;
|
|
30886
30890
|
case 4:
|
|
30887
|
-
return
|
|
30891
|
+
return u2.label++, { value: o4[1], done: false };
|
|
30888
30892
|
case 5:
|
|
30889
|
-
|
|
30893
|
+
u2.label++, r2 = o4[1], o4 = [0];
|
|
30890
30894
|
continue;
|
|
30891
30895
|
case 7:
|
|
30892
|
-
o4 =
|
|
30896
|
+
o4 = u2.ops.pop(), u2.trys.pop();
|
|
30893
30897
|
continue;
|
|
30894
30898
|
default:
|
|
30895
|
-
if (!(i2 = (i2 =
|
|
30896
|
-
|
|
30899
|
+
if (!(i2 = (i2 = u2.trys).length > 0 && i2[i2.length - 1]) && (o4[0] === 6 || o4[0] === 2)) {
|
|
30900
|
+
u2 = 0;
|
|
30897
30901
|
continue;
|
|
30898
30902
|
}
|
|
30899
30903
|
if (o4[0] === 3 && (!i2 || o4[1] > i2[0] && o4[1] < i2[3])) {
|
|
30900
|
-
|
|
30904
|
+
u2.label = o4[1];
|
|
30901
30905
|
break;
|
|
30902
30906
|
}
|
|
30903
|
-
if (o4[0] === 6 &&
|
|
30904
|
-
|
|
30907
|
+
if (o4[0] === 6 && u2.label < i2[1]) {
|
|
30908
|
+
u2.label = i2[1], i2 = o4;
|
|
30905
30909
|
break;
|
|
30906
30910
|
}
|
|
30907
|
-
if (i2 &&
|
|
30908
|
-
|
|
30911
|
+
if (i2 && u2.label < i2[2]) {
|
|
30912
|
+
u2.label = i2[2], u2.ops.push(o4);
|
|
30909
30913
|
break;
|
|
30910
30914
|
}
|
|
30911
|
-
i2[2] &&
|
|
30915
|
+
i2[2] && u2.ops.pop(), u2.trys.pop();
|
|
30912
30916
|
continue;
|
|
30913
30917
|
}
|
|
30914
|
-
o4 = n2.call(t2,
|
|
30918
|
+
o4 = n2.call(t2, u2);
|
|
30915
30919
|
} catch (t3) {
|
|
30916
30920
|
o4 = [6, t3], r2 = 0;
|
|
30917
30921
|
} finally {
|
|
@@ -30923,13 +30927,13 @@ var require_devtools_detector = __commonJS({
|
|
|
30923
30927
|
}([o3, c2]);
|
|
30924
30928
|
};
|
|
30925
30929
|
}
|
|
30926
|
-
},
|
|
30930
|
+
}, u = function() {
|
|
30927
30931
|
function t2(t3) {
|
|
30928
30932
|
var n2 = t3.checkers;
|
|
30929
30933
|
this._listeners = [], this._isOpen = false, this._detectLoopStopped = true, this._detectLoopDelay = 500, this._checkers = n2.slice();
|
|
30930
30934
|
}
|
|
30931
30935
|
return t2.prototype.launch = function() {
|
|
30932
|
-
this._detectLoopDelay <= 0 && this.setDetectDelay(500), this._detectLoopStopped && (this._detectLoopStopped = false, this._detectLoop());
|
|
30936
|
+
r.b && (this._detectLoopDelay <= 0 && this.setDetectDelay(500), this._detectLoopStopped && (this._detectLoopStopped = false, this._detectLoop()));
|
|
30933
30937
|
}, t2.prototype.stop = function() {
|
|
30934
30938
|
this._detectLoopStopped || (this._detectLoopStopped = true, clearTimeout(this._timer));
|
|
30935
30939
|
}, t2.prototype.isLaunch = function() {
|
|
@@ -30951,65 +30955,137 @@ var require_devtools_detector = __commonJS({
|
|
|
30951
30955
|
}
|
|
30952
30956
|
}
|
|
30953
30957
|
}, t2.prototype._detectLoop = function() {
|
|
30954
|
-
return
|
|
30955
|
-
var t3, n2, e2, r2,
|
|
30956
|
-
return
|
|
30957
|
-
switch (
|
|
30958
|
+
return i(this, void 0, void 0, function() {
|
|
30959
|
+
var t3, n2, e2, r2, i2, u2 = this;
|
|
30960
|
+
return o(this, function(o2) {
|
|
30961
|
+
switch (o2.label) {
|
|
30958
30962
|
case 0:
|
|
30959
|
-
t3 = false, n2 = "", e2 = 0, r2 = this._checkers,
|
|
30963
|
+
t3 = false, n2 = "", e2 = 0, r2 = this._checkers, o2.label = 1;
|
|
30960
30964
|
case 1:
|
|
30961
|
-
return e2 < r2.length ? [4, (
|
|
30965
|
+
return e2 < r2.length ? [4, (i2 = r2[e2]).isEnable()] : [3, 6];
|
|
30962
30966
|
case 2:
|
|
30963
|
-
return
|
|
30967
|
+
return o2.sent() ? (n2 = i2.name, [4, i2.isOpen()]) : [3, 4];
|
|
30964
30968
|
case 3:
|
|
30965
|
-
t3 =
|
|
30969
|
+
t3 = o2.sent(), o2.label = 4;
|
|
30966
30970
|
case 4:
|
|
30967
30971
|
if (t3)
|
|
30968
30972
|
return [3, 6];
|
|
30969
|
-
|
|
30973
|
+
o2.label = 5;
|
|
30970
30974
|
case 5:
|
|
30971
30975
|
return e2++, [3, 1];
|
|
30972
30976
|
case 6:
|
|
30973
|
-
return t3 != this._isOpen && (this._isOpen = t3, this._broadcast({ isOpen: t3, checkerName: n2 })), this._detectLoopDelay > 0 ? this._timer = setTimeout(function() {
|
|
30974
|
-
return
|
|
30977
|
+
return t3 != this._isOpen && (this._isOpen = t3, this._broadcast({ isOpen: t3, checkerName: n2 })), this._detectLoopDelay > 0 && !this._detectLoopStopped ? this._timer = setTimeout(function() {
|
|
30978
|
+
return u2._detectLoop();
|
|
30975
30979
|
}, this._detectLoopDelay) : this.stop(), [2];
|
|
30976
30980
|
}
|
|
30977
30981
|
});
|
|
30978
30982
|
});
|
|
30979
30983
|
}, t2;
|
|
30980
30984
|
}();
|
|
30985
|
+
}, function(t, n) {
|
|
30986
|
+
var e;
|
|
30987
|
+
e = function() {
|
|
30988
|
+
return this;
|
|
30989
|
+
}();
|
|
30990
|
+
try {
|
|
30991
|
+
e = e || Function("return this")() || (0, eval)("this");
|
|
30992
|
+
} catch (t2) {
|
|
30993
|
+
typeof window == "object" && (e = window);
|
|
30994
|
+
}
|
|
30995
|
+
t.exports = e;
|
|
30996
|
+
}, function(t, n, e) {
|
|
30997
|
+
var r, i, o;
|
|
30998
|
+
!function(e2, u) {
|
|
30999
|
+
i = [], (o = typeof (r = u) == "function" ? r.apply(n, i) : r) === void 0 || (t.exports = o);
|
|
31000
|
+
}(0, function() {
|
|
31001
|
+
var t2 = /^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;
|
|
31002
|
+
function n2(t3) {
|
|
31003
|
+
var n3 = t3.replace(/^v/, "").replace(/\+.*$/, ""), e3 = function(t4, n4) {
|
|
31004
|
+
return t4.indexOf(n4) === -1 ? t4.length : t4.indexOf(n4);
|
|
31005
|
+
}(n3, "-"), r3 = n3.substring(0, e3).split(".");
|
|
31006
|
+
return r3.push(n3.substring(e3 + 1)), r3;
|
|
31007
|
+
}
|
|
31008
|
+
function e2(t3) {
|
|
31009
|
+
return isNaN(Number(t3)) ? t3 : Number(t3);
|
|
31010
|
+
}
|
|
31011
|
+
function r2(n3) {
|
|
31012
|
+
if (typeof n3 != "string")
|
|
31013
|
+
throw new TypeError("Invalid argument expected string");
|
|
31014
|
+
if (!t2.test(n3))
|
|
31015
|
+
throw new Error("Invalid argument not valid semver ('" + n3 + "' received)");
|
|
31016
|
+
}
|
|
31017
|
+
function i2(t3, i3) {
|
|
31018
|
+
[t3, i3].forEach(r2);
|
|
31019
|
+
for (var o3 = n2(t3), u2 = n2(i3), c = 0; c < Math.max(o3.length - 1, u2.length - 1); c++) {
|
|
31020
|
+
var a = parseInt(o3[c] || 0, 10), f = parseInt(u2[c] || 0, 10);
|
|
31021
|
+
if (a > f)
|
|
31022
|
+
return 1;
|
|
31023
|
+
if (f > a)
|
|
31024
|
+
return -1;
|
|
31025
|
+
}
|
|
31026
|
+
var s = o3[o3.length - 1], l = u2[u2.length - 1];
|
|
31027
|
+
if (s && l) {
|
|
31028
|
+
var d = s.split(".").map(e2), h = l.split(".").map(e2);
|
|
31029
|
+
for (c = 0; c < Math.max(d.length, h.length); c++) {
|
|
31030
|
+
if (d[c] === void 0 || typeof h[c] == "string" && typeof d[c] == "number")
|
|
31031
|
+
return -1;
|
|
31032
|
+
if (h[c] === void 0 || typeof d[c] == "string" && typeof h[c] == "number")
|
|
31033
|
+
return 1;
|
|
31034
|
+
if (d[c] > h[c])
|
|
31035
|
+
return 1;
|
|
31036
|
+
if (h[c] > d[c])
|
|
31037
|
+
return -1;
|
|
31038
|
+
}
|
|
31039
|
+
} else if (s || l)
|
|
31040
|
+
return s ? -1 : 1;
|
|
31041
|
+
return 0;
|
|
31042
|
+
}
|
|
31043
|
+
var o2 = [">", ">=", "=", "<", "<="], u = { ">": [1], ">=": [0, 1], "=": [0], "<=": [-1, 0], "<": [-1] };
|
|
31044
|
+
return i2.validate = function(n3) {
|
|
31045
|
+
return typeof n3 == "string" && t2.test(n3);
|
|
31046
|
+
}, i2.compare = function(t3, n3, e3) {
|
|
31047
|
+
!function(t4) {
|
|
31048
|
+
if (typeof t4 != "string")
|
|
31049
|
+
throw new TypeError("Invalid operator type, expected string but got " + typeof t4);
|
|
31050
|
+
if (o2.indexOf(t4) === -1)
|
|
31051
|
+
throw new TypeError("Invalid operator, expected one of " + o2.join("|"));
|
|
31052
|
+
}(e3);
|
|
31053
|
+
var r3 = i2(t3, n3);
|
|
31054
|
+
return u[e3].indexOf(r3) > -1;
|
|
31055
|
+
}, i2;
|
|
31056
|
+
});
|
|
30981
31057
|
}, function(t, n, e) {
|
|
30982
31058
|
"use strict";
|
|
30983
31059
|
Object.defineProperty(n, "__esModule", { value: true });
|
|
30984
|
-
var r = e(
|
|
31060
|
+
var r = e(10);
|
|
30985
31061
|
e.d(n, "depRegToStringChecker", function() {
|
|
30986
31062
|
return r.a;
|
|
30987
31063
|
});
|
|
30988
|
-
var i = e(
|
|
31064
|
+
var i = e(11);
|
|
30989
31065
|
e.d(n, "elementIdChecker", function() {
|
|
30990
31066
|
return i.a;
|
|
30991
31067
|
});
|
|
30992
|
-
var o = e(
|
|
31068
|
+
var o = e(12);
|
|
30993
31069
|
e.d(n, "functionToStringChecker", function() {
|
|
30994
31070
|
return o.a;
|
|
30995
31071
|
});
|
|
30996
|
-
var u = e(
|
|
31072
|
+
var u = e(13);
|
|
30997
31073
|
e.d(n, "regToStringChecker", function() {
|
|
30998
31074
|
return u.a;
|
|
30999
31075
|
});
|
|
31000
|
-
var c = e(
|
|
31076
|
+
var c = e(14);
|
|
31001
31077
|
e.d(n, "debuggerChecker", function() {
|
|
31002
31078
|
return c.a;
|
|
31003
31079
|
});
|
|
31004
|
-
var a = e(
|
|
31080
|
+
var a = e(15);
|
|
31005
31081
|
e.d(n, "dateToStringChecker", function() {
|
|
31006
31082
|
return a.a;
|
|
31007
31083
|
});
|
|
31008
|
-
var f = e(
|
|
31084
|
+
var f = e(16);
|
|
31009
31085
|
e.d(n, "performanceChecker", function() {
|
|
31010
31086
|
return f.a;
|
|
31011
31087
|
});
|
|
31012
|
-
var s = e(
|
|
31088
|
+
var s = e(17);
|
|
31013
31089
|
e.d(n, "erudaChecker", function() {
|
|
31014
31090
|
return s.a;
|
|
31015
31091
|
});
|
|
@@ -31018,7 +31094,7 @@ var require_devtools_detector = __commonJS({
|
|
|
31018
31094
|
e.d(n, "a", function() {
|
|
31019
31095
|
return s;
|
|
31020
31096
|
});
|
|
31021
|
-
var r = e(
|
|
31097
|
+
var r = e(0), i = e(2), o = e(1), u = this && this.__awaiter || function(t2, n2, e2, r2) {
|
|
31022
31098
|
return new (e2 || (e2 = Promise))(function(i2, o2) {
|
|
31023
31099
|
function u2(t3) {
|
|
31024
31100
|
try {
|
|
@@ -31119,88 +31195,16 @@ var require_devtools_detector = __commonJS({
|
|
|
31119
31195
|
}, isEnable: function() {
|
|
31120
31196
|
return u(this, void 0, void 0, function() {
|
|
31121
31197
|
return c(this, function(t2) {
|
|
31122
|
-
return [2, Object(o.b)({ includes: [true], excludes: [r.
|
|
31198
|
+
return [2, Object(o.b)({ includes: [true], excludes: [r.e, r.f] })];
|
|
31123
31199
|
});
|
|
31124
31200
|
});
|
|
31125
31201
|
} };
|
|
31126
|
-
}, function(t, n) {
|
|
31127
|
-
var e;
|
|
31128
|
-
e = function() {
|
|
31129
|
-
return this;
|
|
31130
|
-
}();
|
|
31131
|
-
try {
|
|
31132
|
-
e = e || Function("return this")() || (0, eval)("this");
|
|
31133
|
-
} catch (t2) {
|
|
31134
|
-
typeof window == "object" && (e = window);
|
|
31135
|
-
}
|
|
31136
|
-
t.exports = e;
|
|
31137
|
-
}, function(t, n, e) {
|
|
31138
|
-
var r, i, o;
|
|
31139
|
-
!function(e2, u) {
|
|
31140
|
-
i = [], (o = typeof (r = u) == "function" ? r.apply(n, i) : r) === void 0 || (t.exports = o);
|
|
31141
|
-
}(0, function() {
|
|
31142
|
-
var t2 = /^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;
|
|
31143
|
-
function n2(t3) {
|
|
31144
|
-
var n3 = t3.replace(/^v/, "").replace(/\+.*$/, ""), e3 = function(t4, n4) {
|
|
31145
|
-
return t4.indexOf(n4) === -1 ? t4.length : t4.indexOf(n4);
|
|
31146
|
-
}(n3, "-"), r3 = n3.substring(0, e3).split(".");
|
|
31147
|
-
return r3.push(n3.substring(e3 + 1)), r3;
|
|
31148
|
-
}
|
|
31149
|
-
function e2(t3) {
|
|
31150
|
-
return isNaN(Number(t3)) ? t3 : Number(t3);
|
|
31151
|
-
}
|
|
31152
|
-
function r2(n3) {
|
|
31153
|
-
if (typeof n3 != "string")
|
|
31154
|
-
throw new TypeError("Invalid argument expected string");
|
|
31155
|
-
if (!t2.test(n3))
|
|
31156
|
-
throw new Error("Invalid argument not valid semver ('" + n3 + "' received)");
|
|
31157
|
-
}
|
|
31158
|
-
function i2(t3, i3) {
|
|
31159
|
-
[t3, i3].forEach(r2);
|
|
31160
|
-
for (var o3 = n2(t3), u2 = n2(i3), c = 0; c < Math.max(o3.length - 1, u2.length - 1); c++) {
|
|
31161
|
-
var a = parseInt(o3[c] || 0, 10), f = parseInt(u2[c] || 0, 10);
|
|
31162
|
-
if (a > f)
|
|
31163
|
-
return 1;
|
|
31164
|
-
if (f > a)
|
|
31165
|
-
return -1;
|
|
31166
|
-
}
|
|
31167
|
-
var s = o3[o3.length - 1], l = u2[u2.length - 1];
|
|
31168
|
-
if (s && l) {
|
|
31169
|
-
var d = s.split(".").map(e2), h = l.split(".").map(e2);
|
|
31170
|
-
for (c = 0; c < Math.max(d.length, h.length); c++) {
|
|
31171
|
-
if (d[c] === void 0 || typeof h[c] == "string" && typeof d[c] == "number")
|
|
31172
|
-
return -1;
|
|
31173
|
-
if (h[c] === void 0 || typeof d[c] == "string" && typeof h[c] == "number")
|
|
31174
|
-
return 1;
|
|
31175
|
-
if (d[c] > h[c])
|
|
31176
|
-
return 1;
|
|
31177
|
-
if (h[c] > d[c])
|
|
31178
|
-
return -1;
|
|
31179
|
-
}
|
|
31180
|
-
} else if (s || l)
|
|
31181
|
-
return s ? -1 : 1;
|
|
31182
|
-
return 0;
|
|
31183
|
-
}
|
|
31184
|
-
var o2 = [">", ">=", "=", "<", "<="], u = { ">": [1], ">=": [0, 1], "=": [0], "<=": [-1, 0], "<": [-1] };
|
|
31185
|
-
return i2.validate = function(n3) {
|
|
31186
|
-
return typeof n3 == "string" && t2.test(n3);
|
|
31187
|
-
}, i2.compare = function(t3, n3, e3) {
|
|
31188
|
-
!function(t4) {
|
|
31189
|
-
if (typeof t4 != "string")
|
|
31190
|
-
throw new TypeError("Invalid operator type, expected string but got " + typeof t4);
|
|
31191
|
-
if (o2.indexOf(t4) === -1)
|
|
31192
|
-
throw new TypeError("Invalid operator, expected one of " + o2.join("|"));
|
|
31193
|
-
}(e3);
|
|
31194
|
-
var r3 = i2(t3, n3);
|
|
31195
|
-
return u[e3].indexOf(r3) > -1;
|
|
31196
|
-
}, i2;
|
|
31197
|
-
});
|
|
31198
31202
|
}, function(t, n, e) {
|
|
31199
31203
|
"use strict";
|
|
31200
31204
|
e.d(n, "a", function() {
|
|
31201
|
-
return
|
|
31205
|
+
return s;
|
|
31202
31206
|
});
|
|
31203
|
-
var r = e(
|
|
31207
|
+
var r = e(0), i = e(2), o = e(1), u = this && this.__awaiter || function(t2, n2, e2, r2) {
|
|
31204
31208
|
return new (e2 || (e2 = Promise))(function(i2, o2) {
|
|
31205
31209
|
function u2(t3) {
|
|
31206
31210
|
try {
|
|
@@ -31225,7 +31229,7 @@ var require_devtools_detector = __commonJS({
|
|
|
31225
31229
|
}
|
|
31226
31230
|
a2((r2 = r2.apply(t2, n2 || [])).next());
|
|
31227
31231
|
});
|
|
31228
|
-
},
|
|
31232
|
+
}, c = this && this.__generator || function(t2, n2) {
|
|
31229
31233
|
var e2, r2, i2, o2, u2 = { label: 0, sent: function() {
|
|
31230
31234
|
if (1 & i2[0])
|
|
31231
31235
|
throw i2[1];
|
|
@@ -31288,20 +31292,20 @@ var require_devtools_detector = __commonJS({
|
|
|
31288
31292
|
}([o3, c3]);
|
|
31289
31293
|
};
|
|
31290
31294
|
}
|
|
31291
|
-
},
|
|
31292
|
-
Object.defineProperty(
|
|
31293
|
-
return
|
|
31295
|
+
}, a = Object(r.a)("div"), f = false;
|
|
31296
|
+
Object.defineProperty(a, "id", { get: function() {
|
|
31297
|
+
return f = true, s.name;
|
|
31294
31298
|
}, configurable: true });
|
|
31295
|
-
var
|
|
31296
|
-
return
|
|
31297
|
-
return
|
|
31298
|
-
return
|
|
31299
|
+
var s = { name: "element-id", isOpen: function() {
|
|
31300
|
+
return u(this, void 0, void 0, function() {
|
|
31301
|
+
return c(this, function(t2) {
|
|
31302
|
+
return f = false, Object(i.b)(a), Object(i.a)(), [2, f];
|
|
31299
31303
|
});
|
|
31300
31304
|
});
|
|
31301
31305
|
}, isEnable: function() {
|
|
31302
|
-
return
|
|
31303
|
-
return
|
|
31304
|
-
return [2, Object(o.b)({ includes: [true], excludes: [r.
|
|
31306
|
+
return u(this, void 0, void 0, function() {
|
|
31307
|
+
return c(this, function(t2) {
|
|
31308
|
+
return [2, Object(o.b)({ includes: [true], excludes: [r.f, r.d, r.e] })];
|
|
31305
31309
|
});
|
|
31306
31310
|
});
|
|
31307
31311
|
} };
|
|
@@ -31310,7 +31314,7 @@ var require_devtools_detector = __commonJS({
|
|
|
31310
31314
|
e.d(n, "a", function() {
|
|
31311
31315
|
return l;
|
|
31312
31316
|
});
|
|
31313
|
-
var r = e(
|
|
31317
|
+
var r = e(0), i = e(2), o = e(5), u = e(1), c = this && this.__awaiter || function(t2, n2, e2, r2) {
|
|
31314
31318
|
return new (e2 || (e2 = Promise))(function(i2, o2) {
|
|
31315
31319
|
function u2(t3) {
|
|
31316
31320
|
try {
|
|
@@ -31414,7 +31418,7 @@ var require_devtools_detector = __commonJS({
|
|
|
31414
31418
|
}, isEnable: function() {
|
|
31415
31419
|
return c(this, void 0, void 0, function() {
|
|
31416
31420
|
return a(this, function(t2) {
|
|
31417
|
-
return [2, Object(u.b)({ includes: [true], excludes: [r.
|
|
31421
|
+
return [2, Object(u.b)({ includes: [true], excludes: [r.g, r.e, (o.b || o.c) && r.c] })];
|
|
31418
31422
|
});
|
|
31419
31423
|
});
|
|
31420
31424
|
} };
|
|
@@ -31423,7 +31427,7 @@ var require_devtools_detector = __commonJS({
|
|
|
31423
31427
|
e.d(n, "a", function() {
|
|
31424
31428
|
return s;
|
|
31425
31429
|
});
|
|
31426
|
-
var r = e(2), i = e(
|
|
31430
|
+
var r = e(2), i = e(0), o = e(1), u = this && this.__awaiter || function(t2, n2, e2, r2) {
|
|
31427
31431
|
return new (e2 || (e2 = Promise))(function(i2, o2) {
|
|
31428
31432
|
function u2(t3) {
|
|
31429
31433
|
try {
|
|
@@ -31524,7 +31528,7 @@ var require_devtools_detector = __commonJS({
|
|
|
31524
31528
|
}, isEnable: function() {
|
|
31525
31529
|
return u(this, void 0, void 0, function() {
|
|
31526
31530
|
return c(this, function(t2) {
|
|
31527
|
-
return [2, Object(o.b)({ includes: [true], excludes: [i.
|
|
31531
|
+
return [2, Object(o.b)({ includes: [true], excludes: [i.i] })];
|
|
31528
31532
|
});
|
|
31529
31533
|
});
|
|
31530
31534
|
} };
|
|
@@ -31533,7 +31537,7 @@ var require_devtools_detector = __commonJS({
|
|
|
31533
31537
|
e.d(n, "a", function() {
|
|
31534
31538
|
return u;
|
|
31535
31539
|
});
|
|
31536
|
-
var r = e(
|
|
31540
|
+
var r = e(1), i = this && this.__awaiter || function(t2, n2, e2, r2) {
|
|
31537
31541
|
return new (e2 || (e2 = Promise))(function(i2, o2) {
|
|
31538
31542
|
function u2(t3) {
|
|
31539
31543
|
try {
|
|
@@ -31641,7 +31645,7 @@ var require_devtools_detector = __commonJS({
|
|
|
31641
31645
|
e.d(n, "a", function() {
|
|
31642
31646
|
return l;
|
|
31643
31647
|
});
|
|
31644
|
-
var r = e(
|
|
31648
|
+
var r = e(0), i = e(2), o = e(1), u = e(3), c = this && this.__awaiter || function(t2, n2, e2, r2) {
|
|
31645
31649
|
return new (e2 || (e2 = Promise))(function(i2, o2) {
|
|
31646
31650
|
function u2(t3) {
|
|
31647
31651
|
try {
|
|
@@ -31742,16 +31746,16 @@ var require_devtools_detector = __commonJS({
|
|
|
31742
31746
|
}, isEnable: function() {
|
|
31743
31747
|
return c(this, void 0, void 0, function() {
|
|
31744
31748
|
return a(this, function(t2) {
|
|
31745
|
-
return [2, Object(o.b)({ includes: [r.
|
|
31749
|
+
return [2, Object(o.b)({ includes: [r.c], excludes: [(u.isIpad || u.isIphone) && r.c] })];
|
|
31746
31750
|
});
|
|
31747
31751
|
});
|
|
31748
31752
|
} };
|
|
31749
31753
|
}, function(t, n, e) {
|
|
31750
31754
|
"use strict";
|
|
31751
31755
|
e.d(n, "a", function() {
|
|
31752
|
-
return
|
|
31756
|
+
return s;
|
|
31753
31757
|
});
|
|
31754
|
-
|
|
31758
|
+
var r = e(0), i = e(2), o = e(1), u = this && this.__awaiter || function(t2, n2, e2, r2) {
|
|
31755
31759
|
return new (e2 || (e2 = Promise))(function(i2, o2) {
|
|
31756
31760
|
function u2(t3) {
|
|
31757
31761
|
try {
|
|
@@ -31839,41 +31843,34 @@ var require_devtools_detector = __commonJS({
|
|
|
31839
31843
|
}([o3, c3]);
|
|
31840
31844
|
};
|
|
31841
31845
|
}
|
|
31842
|
-
}, a = function() {
|
|
31843
|
-
for (var t2 = {}, n2 = 0; n2 < 500; n2++)
|
|
31844
|
-
t2["".concat(n2)] = "".concat(n2);
|
|
31845
|
-
return t2;
|
|
31846
|
-
}(), f = [], s = 0; s < 50; s++)
|
|
31847
|
-
f.push(a);
|
|
31848
|
-
var l = Math.max(h(), 1e-3);
|
|
31849
|
-
Object(i.a)();
|
|
31850
|
-
var d = { name: "performance", isOpen: function() {
|
|
31846
|
+
}, a = null, f = 0, s = { name: "performance", isOpen: function() {
|
|
31851
31847
|
return u(this, void 0, void 0, function() {
|
|
31852
|
-
var t2;
|
|
31853
|
-
return c(this, function(
|
|
31854
|
-
return
|
|
31848
|
+
var t2, n2;
|
|
31849
|
+
return c(this, function(e2) {
|
|
31850
|
+
return a === null && (a = function() {
|
|
31851
|
+
for (var t3 = function() {
|
|
31852
|
+
for (var t4 = {}, n4 = 0; n4 < 500; n4++)
|
|
31853
|
+
t4["".concat(n4)] = "".concat(n4);
|
|
31854
|
+
return t4;
|
|
31855
|
+
}(), n3 = [], e3 = 0; e3 < 50; e3++)
|
|
31856
|
+
n3.push(t3);
|
|
31857
|
+
return n3;
|
|
31858
|
+
}()), t2 = function() {
|
|
31855
31859
|
var t3 = Object(o.c)();
|
|
31856
|
-
return Object(i.c)(
|
|
31857
|
-
}(),
|
|
31860
|
+
return Object(i.c)(a), Object(o.c)() - t3;
|
|
31861
|
+
}(), n2 = function() {
|
|
31862
|
+
var t3 = Object(o.c)();
|
|
31863
|
+
return Object(i.b)(a), Object(o.c)() - t3;
|
|
31864
|
+
}(), f = Math.max(f, n2), Object(i.a)(), t2 === 0 ? [2, false] : f === 0 ? [2, false] : [2, t2 > 10 * f];
|
|
31858
31865
|
});
|
|
31859
31866
|
});
|
|
31860
31867
|
}, isEnable: function() {
|
|
31861
31868
|
return u(this, void 0, void 0, function() {
|
|
31862
31869
|
return c(this, function(t2) {
|
|
31863
|
-
return [2, Object(o.b)({ includes: [r.
|
|
31870
|
+
return [2, Object(o.b)({ includes: [r.c], excludes: [] })];
|
|
31864
31871
|
});
|
|
31865
31872
|
});
|
|
31866
31873
|
} };
|
|
31867
|
-
function h() {
|
|
31868
|
-
var t2 = Object(o.c)();
|
|
31869
|
-
return Object(i.b)(f), Object(o.c)() - t2;
|
|
31870
|
-
}
|
|
31871
|
-
}, function(t, n, e) {
|
|
31872
|
-
"use strict";
|
|
31873
|
-
e.d(n, "a", function() {
|
|
31874
|
-
return i;
|
|
31875
|
-
});
|
|
31876
|
-
var r = e(3), i = /mobile/i.test(r.b);
|
|
31877
31874
|
}, function(t, n, e) {
|
|
31878
31875
|
"use strict";
|
|
31879
31876
|
e.d(n, "a", function() {
|
|
@@ -64323,24 +64320,30 @@ var HistoryModule = class {
|
|
|
64323
64320
|
addEventListenerOptional(this.historyBackAnchorElement, "click", this.handleHistoryBackClick.bind(this));
|
|
64324
64321
|
}
|
|
64325
64322
|
async handleHistoryForwardClick(event) {
|
|
64323
|
+
await this.historyForward();
|
|
64324
|
+
event.preventDefault();
|
|
64325
|
+
event.stopPropagation();
|
|
64326
|
+
}
|
|
64327
|
+
async historyForward() {
|
|
64326
64328
|
if (this.history.length > 0) {
|
|
64327
64329
|
if (this.historyCurrentIndex + 1 < this.history.length) {
|
|
64328
64330
|
this.historyCurrentIndex = this.historyCurrentIndex + 1;
|
|
64329
64331
|
await this.delegate.navigate(this.history[this.historyCurrentIndex], false);
|
|
64330
64332
|
}
|
|
64331
64333
|
}
|
|
64334
|
+
}
|
|
64335
|
+
async handleHistoryBackClick(event) {
|
|
64336
|
+
await this.historyBack();
|
|
64332
64337
|
event.preventDefault();
|
|
64333
64338
|
event.stopPropagation();
|
|
64334
64339
|
}
|
|
64335
|
-
async
|
|
64340
|
+
async historyBack() {
|
|
64336
64341
|
if (this.history.length > 0) {
|
|
64337
64342
|
if (this.historyCurrentIndex > 0) {
|
|
64338
64343
|
this.historyCurrentIndex = this.historyCurrentIndex - 1;
|
|
64339
64344
|
await this.delegate.navigate(this.history[this.historyCurrentIndex], false);
|
|
64340
64345
|
}
|
|
64341
64346
|
}
|
|
64342
|
-
event.preventDefault();
|
|
64343
|
-
event.stopPropagation();
|
|
64344
64347
|
}
|
|
64345
64348
|
};
|
|
64346
64349
|
|
|
@@ -64816,6 +64819,9 @@ var PDFNavigator = class extends import_eventemitter32.default {
|
|
|
64816
64819
|
} else {
|
|
64817
64820
|
document.getElementById(String(num))?.scrollIntoView();
|
|
64818
64821
|
pdfload.style.display = "none";
|
|
64822
|
+
if (self2.api?.resourceReady)
|
|
64823
|
+
self2.api?.resourceReady();
|
|
64824
|
+
self2.emit("resource.ready");
|
|
64819
64825
|
}
|
|
64820
64826
|
});
|
|
64821
64827
|
}
|
|
@@ -65057,6 +65063,12 @@ var D2Reader = class {
|
|
|
65057
65063
|
this.addDefinition = async (definition) => {
|
|
65058
65064
|
await this.definitionsModule?.addDefinition(definition);
|
|
65059
65065
|
};
|
|
65066
|
+
this.historyBack = async () => {
|
|
65067
|
+
return this.historyModule?.historyBack();
|
|
65068
|
+
};
|
|
65069
|
+
this.historyForward = async () => {
|
|
65070
|
+
return this.historyModule?.historyForward();
|
|
65071
|
+
};
|
|
65060
65072
|
this.search = async (term, current) => {
|
|
65061
65073
|
return await this.searchModule?.search(term, current) ?? [];
|
|
65062
65074
|
};
|
|
@@ -65430,6 +65442,12 @@ var D2Reader = class {
|
|
|
65430
65442
|
get annotations() {
|
|
65431
65443
|
return this.annotationModule?.getAnnotations();
|
|
65432
65444
|
}
|
|
65445
|
+
get history() {
|
|
65446
|
+
return this.historyModule?.history;
|
|
65447
|
+
}
|
|
65448
|
+
get historyCurrentIndex() {
|
|
65449
|
+
return this.historyModule?.historyCurrentIndex;
|
|
65450
|
+
}
|
|
65433
65451
|
get currentResource() {
|
|
65434
65452
|
return this.navigator.currentResource();
|
|
65435
65453
|
}
|