@d-i-t-a/reader 2.4.1 → 2.4.2
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 +22 -21
- package/dist/esm/index.js.map +2 -2
- package/dist/reader.js +29 -30
- package/dist/reader.js.map +3 -3
- package/package.json +6 -6
package/dist/esm/index.js
CHANGED
|
@@ -2914,7 +2914,7 @@ var require_browser2 = __commonJS({
|
|
|
2914
2914
|
exports2.load = load2;
|
|
2915
2915
|
exports2.useColors = useColors;
|
|
2916
2916
|
exports2.storage = localstorage();
|
|
2917
|
-
exports2.destroy = (() => {
|
|
2917
|
+
exports2.destroy = /* @__PURE__ */ (() => {
|
|
2918
2918
|
let warned = false;
|
|
2919
2919
|
return () => {
|
|
2920
2920
|
if (!warned) {
|
|
@@ -8141,7 +8141,7 @@ var require_node = __commonJS({
|
|
|
8141
8141
|
"node_modules/domhandler/lib/node.js"(exports2) {
|
|
8142
8142
|
"use strict";
|
|
8143
8143
|
init_polyfills();
|
|
8144
|
-
var __extends3 = exports2 && exports2.__extends || function() {
|
|
8144
|
+
var __extends3 = exports2 && exports2.__extends || /* @__PURE__ */ function() {
|
|
8145
8145
|
var extendStatics3 = function(d, b) {
|
|
8146
8146
|
extendStatics3 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
8147
8147
|
d2.__proto__ = b2;
|
|
@@ -16395,7 +16395,7 @@ var require_lodash = __commonJS({
|
|
|
16395
16395
|
}
|
|
16396
16396
|
return new LodashWrapper(value);
|
|
16397
16397
|
}
|
|
16398
|
-
var baseCreate = function() {
|
|
16398
|
+
var baseCreate = /* @__PURE__ */ function() {
|
|
16399
16399
|
function object() {
|
|
16400
16400
|
}
|
|
16401
16401
|
return function(proto) {
|
|
@@ -19702,7 +19702,7 @@ var require_lodash = __commonJS({
|
|
|
19702
19702
|
var gte = createRelationalOperation(function(value, other) {
|
|
19703
19703
|
return value >= other;
|
|
19704
19704
|
});
|
|
19705
|
-
var isArguments = baseIsArguments(function() {
|
|
19705
|
+
var isArguments = baseIsArguments(/* @__PURE__ */ function() {
|
|
19706
19706
|
return arguments;
|
|
19707
19707
|
}()) ? baseIsArguments : function(value) {
|
|
19708
19708
|
return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
|
@@ -21783,7 +21783,7 @@ var require_devtools_detector = __commonJS({
|
|
|
21783
21783
|
}();
|
|
21784
21784
|
}, function(t, n) {
|
|
21785
21785
|
var e;
|
|
21786
|
-
e = function() {
|
|
21786
|
+
e = /* @__PURE__ */ function() {
|
|
21787
21787
|
return this;
|
|
21788
21788
|
}();
|
|
21789
21789
|
try {
|
|
@@ -24893,7 +24893,7 @@ var require_regexp_tree = __commonJS({
|
|
|
24893
24893
|
"node_modules/regexp-tree/dist/parser/generated/regexp-tree.js"(exports2, module2) {
|
|
24894
24894
|
"use strict";
|
|
24895
24895
|
init_polyfills();
|
|
24896
|
-
var _slicedToArray = function() {
|
|
24896
|
+
var _slicedToArray = /* @__PURE__ */ function() {
|
|
24897
24897
|
function sliceIterator(arr, i) {
|
|
24898
24898
|
var _arr = [];
|
|
24899
24899
|
var _n = true;
|
|
@@ -26059,7 +26059,7 @@ var require_node_path = __commonJS({
|
|
|
26059
26059
|
"node_modules/regexp-tree/dist/traverse/node-path.js"(exports2, module2) {
|
|
26060
26060
|
"use strict";
|
|
26061
26061
|
init_polyfills();
|
|
26062
|
-
var _createClass = function() {
|
|
26062
|
+
var _createClass = /* @__PURE__ */ function() {
|
|
26063
26063
|
function defineProperties(target, props) {
|
|
26064
26064
|
for (var i = 0; i < props.length; i++) {
|
|
26065
26065
|
var descriptor = props[i];
|
|
@@ -26632,7 +26632,7 @@ var require_transform = __commonJS({
|
|
|
26632
26632
|
"node_modules/regexp-tree/dist/transform/index.js"(exports2, module2) {
|
|
26633
26633
|
"use strict";
|
|
26634
26634
|
init_polyfills();
|
|
26635
|
-
var _createClass = function() {
|
|
26635
|
+
var _createClass = /* @__PURE__ */ function() {
|
|
26636
26636
|
function defineProperties(target, props) {
|
|
26637
26637
|
for (var i = 0; i < props.length; i++) {
|
|
26638
26638
|
var descriptor = props[i];
|
|
@@ -28175,7 +28175,7 @@ var require_nfa = __commonJS({
|
|
|
28175
28175
|
"node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa.js"(exports2, module2) {
|
|
28176
28176
|
"use strict";
|
|
28177
28177
|
init_polyfills();
|
|
28178
|
-
var _slicedToArray = function() {
|
|
28178
|
+
var _slicedToArray = /* @__PURE__ */ function() {
|
|
28179
28179
|
function sliceIterator(arr, i) {
|
|
28180
28180
|
var _arr = [];
|
|
28181
28181
|
var _n = true;
|
|
@@ -28211,7 +28211,7 @@ var require_nfa = __commonJS({
|
|
|
28211
28211
|
}
|
|
28212
28212
|
};
|
|
28213
28213
|
}();
|
|
28214
|
-
var _createClass = function() {
|
|
28214
|
+
var _createClass = /* @__PURE__ */ function() {
|
|
28215
28215
|
function defineProperties(target, props) {
|
|
28216
28216
|
for (var i = 0; i < props.length; i++) {
|
|
28217
28217
|
var descriptor = props[i];
|
|
@@ -28419,7 +28419,7 @@ var require_dfa_minimizer = __commonJS({
|
|
|
28419
28419
|
"node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa/dfa-minimizer.js"(exports2, module2) {
|
|
28420
28420
|
"use strict";
|
|
28421
28421
|
init_polyfills();
|
|
28422
|
-
var _slicedToArray = function() {
|
|
28422
|
+
var _slicedToArray = /* @__PURE__ */ function() {
|
|
28423
28423
|
function sliceIterator(arr, i) {
|
|
28424
28424
|
var _arr = [];
|
|
28425
28425
|
var _n = true;
|
|
@@ -28764,7 +28764,7 @@ var require_dfa = __commonJS({
|
|
|
28764
28764
|
"node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa/dfa.js"(exports2, module2) {
|
|
28765
28765
|
"use strict";
|
|
28766
28766
|
init_polyfills();
|
|
28767
|
-
var _createClass = function() {
|
|
28767
|
+
var _createClass = /* @__PURE__ */ function() {
|
|
28768
28768
|
function defineProperties(target, props) {
|
|
28769
28769
|
for (var i = 0; i < props.length; i++) {
|
|
28770
28770
|
var descriptor = props[i];
|
|
@@ -29085,7 +29085,7 @@ var require_state = __commonJS({
|
|
|
29085
29085
|
"node_modules/regexp-tree/dist/interpreter/finite-automaton/state.js"(exports2, module2) {
|
|
29086
29086
|
"use strict";
|
|
29087
29087
|
init_polyfills();
|
|
29088
|
-
var _createClass = function() {
|
|
29088
|
+
var _createClass = /* @__PURE__ */ function() {
|
|
29089
29089
|
function defineProperties(target, props) {
|
|
29090
29090
|
for (var i = 0; i < props.length; i++) {
|
|
29091
29091
|
var descriptor = props[i];
|
|
@@ -29155,7 +29155,7 @@ var require_nfa_state = __commonJS({
|
|
|
29155
29155
|
"node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa-state.js"(exports2, module2) {
|
|
29156
29156
|
"use strict";
|
|
29157
29157
|
init_polyfills();
|
|
29158
|
-
var _createClass = function() {
|
|
29158
|
+
var _createClass = /* @__PURE__ */ function() {
|
|
29159
29159
|
function defineProperties(target, props) {
|
|
29160
29160
|
for (var i = 0; i < props.length; i++) {
|
|
29161
29161
|
var descriptor = props[i];
|
|
@@ -29626,7 +29626,7 @@ var require_runtime = __commonJS({
|
|
|
29626
29626
|
"node_modules/regexp-tree/dist/compat-transpiler/runtime/index.js"(exports2, module2) {
|
|
29627
29627
|
"use strict";
|
|
29628
29628
|
init_polyfills();
|
|
29629
|
-
var _createClass = function() {
|
|
29629
|
+
var _createClass = /* @__PURE__ */ function() {
|
|
29630
29630
|
function defineProperties(target, props) {
|
|
29631
29631
|
for (var i = 0; i < props.length; i++) {
|
|
29632
29632
|
var descriptor = props[i];
|
|
@@ -31929,7 +31929,7 @@ var require_jscrypto = __commonJS({
|
|
|
31929
31929
|
this.generateKeyStreamAndEncrypt(n5, t5, this.Hn.blockSize, this.Hn), this.Cn = r2;
|
|
31930
31930
|
}, t4;
|
|
31931
31931
|
}(t3), t3;
|
|
31932
|
-
}(B.T), z = function() {
|
|
31932
|
+
}(B.T), z = /* @__PURE__ */ function() {
|
|
31933
31933
|
var n3 = function(t3, r2) {
|
|
31934
31934
|
return (n3 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n4, t4) {
|
|
31935
31935
|
n4.__proto__ = t4;
|
|
@@ -31966,7 +31966,7 @@ var require_jscrypto = __commonJS({
|
|
|
31966
31966
|
n5[t5 + f2] ^= u2[f2];
|
|
31967
31967
|
}, t4;
|
|
31968
31968
|
}(t3), t3.Decryptor = t3.Encryptor, t3;
|
|
31969
|
-
}(B.T), U = function() {
|
|
31969
|
+
}(B.T), U = /* @__PURE__ */ function() {
|
|
31970
31970
|
var n3 = function(t3, r2) {
|
|
31971
31971
|
return (n3 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n4, t4) {
|
|
31972
31972
|
n4.__proto__ = t4;
|
|
@@ -32004,7 +32004,7 @@ var require_jscrypto = __commonJS({
|
|
|
32004
32004
|
this.Hn.decryptBlock(n5, t5);
|
|
32005
32005
|
}, t4;
|
|
32006
32006
|
}(t3), t3;
|
|
32007
|
-
}(B.T), F = function() {
|
|
32007
|
+
}(B.T), F = /* @__PURE__ */ function() {
|
|
32008
32008
|
var n3 = function(t3, r2) {
|
|
32009
32009
|
return (n3 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n4, t4) {
|
|
32010
32010
|
n4.__proto__ = t4;
|
|
@@ -55132,7 +55132,7 @@ var regexes = [
|
|
|
55132
55132
|
]
|
|
55133
55133
|
},
|
|
55134
55134
|
{
|
|
55135
|
-
regex: /Edge?\/(\d+)
|
|
55135
|
+
regex: /Edge?\/(\d+)\.(\d+)(\.(\d+)|)/,
|
|
55136
55136
|
family: "edge"
|
|
55137
55137
|
},
|
|
55138
55138
|
{
|
|
@@ -55158,9 +55158,10 @@ var regexes = [
|
|
|
55158
55158
|
/**
|
|
55159
55159
|
* Safari on iPad have desktop-like useragent
|
|
55160
55160
|
* Some versions contains letter subversions
|
|
55161
|
+
* GNOME Web (X11) is based on WebKit and should be detected as Safari
|
|
55161
55162
|
*/
|
|
55162
55163
|
{
|
|
55163
|
-
regex: /Maci.+ Version\/(\d+)\.(\d+)([.,](\d+)|)( \(\w+\)|)( Mobile\/\w+|) Safari\//,
|
|
55164
|
+
regex: /(Maci|X11).+ Version\/(\d+)\.(\d+)([.,](\d+)|)( \(\w+\)|)( Mobile\/\w+|) Safari\//,
|
|
55164
55165
|
family: "safari"
|
|
55165
55166
|
},
|
|
55166
55167
|
/**
|
|
@@ -59004,7 +59005,7 @@ var SampleReadEventHandler = class {
|
|
|
59004
59005
|
if (this.navigator.errorMessage) {
|
|
59005
59006
|
this.navigator.errorMessage.style.display = "block";
|
|
59006
59007
|
this.navigator.errorMessage.style.backgroundColor = "rgb(255, 255, 255)";
|
|
59007
|
-
this.navigator.errorMessage.innerHTML =
|
|
59008
|
+
this.navigator.errorMessage.innerHTML = `<span>${(_f = this.navigator.sample) == null ? void 0 : _f.popup}</span>` ?? "";
|
|
59008
59009
|
}
|
|
59009
59010
|
} else {
|
|
59010
59011
|
this.navigator.iframes[0].focus();
|