@eodash/eodash 5.0.0-alpha.2.5 → 5.0.0-alpha.2.7
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/README.md +19 -5
- package/core/client/App.vue +6 -7
- package/core/client/SuspensedDashboard.ce.vue +58 -40
- package/core/client/asWebComponent.d.ts +10 -5
- package/core/client/asWebComponent.js +6 -6
- package/core/client/components/DashboardLayout.vue +35 -16
- package/core/client/components/DynamicWebComponent.vue +44 -44
- package/core/client/components/ErrorAlert.vue +19 -7
- package/core/client/components/Footer.vue +28 -14
- package/core/client/components/Header.vue +4 -4
- package/core/client/components/IframeWrapper.vue +3 -3
- package/core/client/components/Loading.vue +17 -18
- package/core/client/components/MobileLayout.vue +48 -26
- package/core/client/composables/DefineEodash.js +38 -29
- package/core/client/composables/DefineWidgets.js +101 -81
- package/core/client/composables/index.js +43 -29
- package/core/client/eodash.js +59 -41
- package/core/client/main.js +2 -2
- package/core/client/plugins/index.js +9 -10
- package/core/client/plugins/vuetify.js +9 -10
- package/core/client/render.js +4 -5
- package/core/client/store/Actions.js +8 -0
- package/core/client/store/States.js +8 -13
- package/core/client/store/index.js +14 -11
- package/core/client/store/stac.js +51 -37
- package/core/client/types.d.ts +173 -200
- package/core/client/utils/eodashSTAC.js +130 -49
- package/core/client/utils/helpers.js +18 -20
- package/core/client/utils/index.js +29 -10
- package/core/client/utils/keys.js +2 -2
- package/core/client/views/Dashboard.vue +53 -36
- package/core/client/vite-env.d.ts +19 -17
- package/dist/client/{DashboardLayout-BYROtP-7.js → DashboardLayout-Cbci3g7o.js} +9 -9
- package/dist/client/{DynamicWebComponent-BQhxFPM0.js → DynamicWebComponent-DzmQ3Fr3.js} +3 -3
- package/dist/client/EodashDatePicker-SP5bYISd.js +252 -0
- package/dist/client/{EodashItemFilter-DIBDAHcc.js → EodashItemFilter-B9Tf2TBw.js} +4 -6
- package/dist/client/{EodashMap-C6jJ2Lb_.js → EodashMap-D_znzmX7.js} +13131 -14490
- package/dist/client/EodashMapBtns-BOKugQ88.js +37 -0
- package/dist/client/ExportState-D7m9s4T8.js +558 -0
- package/dist/client/{Footer-BVIZms1S.js → Footer-C2uV1-zu.js} +12 -12
- package/dist/client/Header-C2ROtxo_.js +350 -0
- package/dist/client/{IframeWrapper-XKChM78a.js → IframeWrapper-Wwou4pwf.js} +1 -1
- package/dist/client/{MobileLayout-BlGcMQra.js → MobileLayout-DR27Ctiz.js} +45 -57
- package/dist/client/PopUp-bPGAY43o.js +300 -0
- package/dist/client/VImg-swqiqth2.js +291 -0
- package/dist/client/{VMain-C9XV5Lyg.js → VMain-Bu1bPjvK.js} +2 -2
- package/dist/client/VOverlay-D_MKJ4vQ.js +967 -0
- package/dist/client/{WidgetsContainer-BQXHnZpa.js → WidgetsContainer-CpxYT8YI.js} +10 -3
- package/dist/client/{asWebComponent-CbdGxelK.js → asWebComponent-DeaU3QoK.js} +6332 -6159
- package/dist/client/{basedecoder-Qm25PwVp-CHo5Pomv.js → basedecoder-DHcBySSe-BmCFNFnw.js} +5 -6
- package/dist/client/{decoder-HRvnjnEI-CHAYOWhz.js → decoder-CP4lv0Kb-nokx54iM.js} +1 -1
- package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +10 -0
- package/dist/client/eo-dash.js +2 -2
- package/dist/client/eodashSTAC-CFQuZ_cI.js +2788 -0
- package/dist/client/{eox-itemfilter-DcQkRD2l.js → eox-itemfilter-TaBxgqq_.js} +1002 -974
- package/dist/client/{eox-map-C3DL31fp.js → eox-map-L7abwKTR.js} +5677 -5695
- package/dist/client/{forwardRefs-CyCJOFsz.js → forwardRefs-D0a135Tc.js} +43 -50
- package/dist/client/{index-CabQjjQg.js → index-CoqcWt6E.js} +4 -4
- package/dist/client/{jpeg-DNfUpLwy-Fjan-04T.js → jpeg-BAgeD1d3-oeHbFPUL.js} +5 -6
- package/dist/client/{lerc-_E46UbWQ-TxBH4OeK.js → lerc-DzVumYtB-B3rx9xzz.js} +5 -7
- package/dist/client/{lzw-BOMhmEDy-Dboc93VO.js → lzw-LAGDNbSC-DkP96qO9.js} +1 -1
- package/dist/client/{packbits-DaUD6MLm-Bu1PoTGa.js → packbits-BlDR4Kj5-C66n1-zr.js} +1 -1
- package/dist/client/{pako.esm-C3kYPGGQ-BMki8cQY.js → pako.esm-CB1uQYY0-DB0PYm1P.js} +6 -12
- package/dist/client/{raw-CcGKjn8q-DFOt-i8n.js → raw-CMGvRjfu-BRi6E4i1.js} +1 -1
- package/dist/client/{ssrBoot-DWJ-z4I-.js → ssrBoot-C-inWOiD.js} +1 -1
- package/dist/client/style.css +2 -2
- package/dist/client/{transition-BlLt41wg.js → transition-C8le0YwQ.js} +3 -3
- package/dist/client/{webfontloader-CyOFAuFB.js → webfontloader-qotgY98I.js} +56 -92
- package/dist/client/{webimage-D2c098k3-DLj1LQxB.js → webimage-BM_pbLN3-L2cGWK5l.js} +1 -1
- package/dist/node/cli.js +1 -1
- package/dist/node/types.d.ts +32 -38
- package/package.json +12 -12
- package/widgets/EodashDatePicker.vue +94 -43
- package/widgets/EodashItemFilter.vue +13 -10
- package/widgets/EodashMap.vue +87 -20
- package/widgets/EodashMapBtns.vue +34 -0
- package/widgets/ExportState.vue +112 -0
- package/widgets/PopUp.vue +40 -0
- package/widgets/WidgetsContainer.vue +45 -27
- package/dist/client/EodashDatePicker-CFltnt5d.js +0 -1194
- package/dist/client/Header-TsTL1d2R.js +0 -633
- package/dist/client/deflate-Be2Arps5-hDqMz3RA.js +0 -10
- package/dist/client/http-ZWiLaAeR.js +0 -1337
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as v, s as w, c as x, w as R,
|
|
1
|
+
import { p as v, s as w, c as x, w as R, b7 as b } from "./asWebComponent-DeaU3QoK.js";
|
|
2
2
|
class d {
|
|
3
3
|
constructor(r) {
|
|
4
4
|
let {
|
|
@@ -45,16 +45,16 @@ function O(e) {
|
|
|
45
45
|
function P(e) {
|
|
46
46
|
const r = e.getBoundingClientRect(), n = getComputedStyle(e), i = n.transform;
|
|
47
47
|
if (i) {
|
|
48
|
-
let s, t, o,
|
|
48
|
+
let s, t, o, a, f;
|
|
49
49
|
if (i.startsWith("matrix3d("))
|
|
50
|
-
s = i.slice(9, -1).split(/, /), t = +s[0], o = +s[5],
|
|
50
|
+
s = i.slice(9, -1).split(/, /), t = +s[0], o = +s[5], a = +s[12], f = +s[13];
|
|
51
51
|
else if (i.startsWith("matrix("))
|
|
52
|
-
s = i.slice(7, -1).split(/, /), t = +s[0], o = +s[3],
|
|
52
|
+
s = i.slice(7, -1).split(/, /), t = +s[0], o = +s[3], a = +s[4], f = +s[5];
|
|
53
53
|
else
|
|
54
54
|
return new d(r);
|
|
55
|
-
const
|
|
55
|
+
const c = n.transformOrigin, u = r.x - a - (1 - t) * parseFloat(c), l = r.y - f - (1 - o) * parseFloat(c.slice(c.indexOf(" ") + 1)), h = t ? r.width / t : e.offsetWidth + 1, m = o ? r.height / o : e.offsetHeight + 1;
|
|
56
56
|
return new d({
|
|
57
|
-
x:
|
|
57
|
+
x: u,
|
|
58
58
|
y: l,
|
|
59
59
|
width: h,
|
|
60
60
|
height: m
|
|
@@ -63,10 +63,9 @@ function P(e) {
|
|
|
63
63
|
return new d(r);
|
|
64
64
|
}
|
|
65
65
|
function B(e, r, n) {
|
|
66
|
-
if (typeof e.animate > "u")
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
};
|
|
66
|
+
if (typeof e.animate > "u") return {
|
|
67
|
+
finished: Promise.resolve()
|
|
68
|
+
};
|
|
70
69
|
let i;
|
|
71
70
|
try {
|
|
72
71
|
i = e.animate(r, n);
|
|
@@ -81,10 +80,10 @@ function B(e, r, n) {
|
|
|
81
80
|
};
|
|
82
81
|
})), i;
|
|
83
82
|
}
|
|
84
|
-
const
|
|
83
|
+
const z = "cubic-bezier(0.4, 0, 0.2, 1)", I = "cubic-bezier(0.0, 0, 0.2, 1)", C = "cubic-bezier(0.4, 0, 1, 1)", S = v({
|
|
85
84
|
eager: Boolean
|
|
86
85
|
}, "lazy");
|
|
87
|
-
function
|
|
86
|
+
function _(e, r) {
|
|
88
87
|
const n = w(!1), i = x(() => n.value || e.eager || r.value);
|
|
89
88
|
R(r, () => n.value = !0);
|
|
90
89
|
function s() {
|
|
@@ -96,7 +95,7 @@ function S(e, r) {
|
|
|
96
95
|
onAfterLeave: s
|
|
97
96
|
};
|
|
98
97
|
}
|
|
99
|
-
function
|
|
98
|
+
function A() {
|
|
100
99
|
const r = b("useScopeId").vnode.scopeId;
|
|
101
100
|
return {
|
|
102
101
|
scopeId: r ? {
|
|
@@ -109,12 +108,11 @@ function g(e, r) {
|
|
|
109
108
|
let n = e;
|
|
110
109
|
for (; n; ) {
|
|
111
110
|
const i = Reflect.getOwnPropertyDescriptor(n, r);
|
|
112
|
-
if (i)
|
|
113
|
-
return i;
|
|
111
|
+
if (i) return i;
|
|
114
112
|
n = Object.getPrototypeOf(n);
|
|
115
113
|
}
|
|
116
114
|
}
|
|
117
|
-
function
|
|
115
|
+
function D(e) {
|
|
118
116
|
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
119
117
|
n[i - 1] = arguments[i];
|
|
120
118
|
return e[p] = n, new Proxy(e, {
|
|
@@ -124,16 +122,15 @@ function z(e) {
|
|
|
124
122
|
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
125
123
|
for (const o of n)
|
|
126
124
|
if (o.value && Reflect.has(o.value, t)) {
|
|
127
|
-
const
|
|
128
|
-
return typeof
|
|
125
|
+
const a = Reflect.get(o.value, t);
|
|
126
|
+
return typeof a == "function" ? a.bind(o.value) : a;
|
|
129
127
|
}
|
|
130
128
|
}
|
|
131
129
|
},
|
|
132
130
|
has(s, t) {
|
|
133
131
|
if (Reflect.has(s, t))
|
|
134
132
|
return !0;
|
|
135
|
-
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
|
|
136
|
-
return !1;
|
|
133
|
+
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__")) return !1;
|
|
137
134
|
for (const o of n)
|
|
138
135
|
if (o.value && Reflect.has(o.value, t))
|
|
139
136
|
return !0;
|
|
@@ -142,36 +139,30 @@ function z(e) {
|
|
|
142
139
|
set(s, t, o) {
|
|
143
140
|
if (Reflect.has(s, t))
|
|
144
141
|
return Reflect.set(s, t, o);
|
|
145
|
-
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
return Reflect.set(f.value, t, o);
|
|
142
|
+
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__")) return !1;
|
|
143
|
+
for (const a of n)
|
|
144
|
+
if (a.value && Reflect.has(a.value, t))
|
|
145
|
+
return Reflect.set(a.value, t, o);
|
|
150
146
|
return !1;
|
|
151
147
|
},
|
|
152
148
|
getOwnPropertyDescriptor(s, t) {
|
|
153
149
|
const o = Reflect.getOwnPropertyDescriptor(s, t);
|
|
154
|
-
if (o)
|
|
155
|
-
return o;
|
|
150
|
+
if (o) return o;
|
|
156
151
|
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
157
|
-
for (const
|
|
158
|
-
if (!
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
if (a)
|
|
162
|
-
return a;
|
|
152
|
+
for (const a of n) {
|
|
153
|
+
if (!a.value) continue;
|
|
154
|
+
const f = g(a.value, t) ?? ("_" in a.value ? g(a.value._?.setupState, t) : void 0);
|
|
155
|
+
if (f) return f;
|
|
163
156
|
}
|
|
164
|
-
for (const
|
|
165
|
-
const
|
|
166
|
-
if (!
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
const h = c.value && c.value[p];
|
|
174
|
-
h && u.push(...h);
|
|
157
|
+
for (const a of n) {
|
|
158
|
+
const f = a.value && a.value[p];
|
|
159
|
+
if (!f) continue;
|
|
160
|
+
const c = f.slice();
|
|
161
|
+
for (; c.length; ) {
|
|
162
|
+
const u = c.shift(), l = g(u.value, t);
|
|
163
|
+
if (l) return l;
|
|
164
|
+
const h = u.value && u.value[p];
|
|
165
|
+
h && c.push(...h);
|
|
175
166
|
}
|
|
176
167
|
}
|
|
177
168
|
}
|
|
@@ -181,12 +172,14 @@ function z(e) {
|
|
|
181
172
|
export {
|
|
182
173
|
d as B,
|
|
183
174
|
B as a,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
175
|
+
A as b,
|
|
176
|
+
C as c,
|
|
177
|
+
I as d,
|
|
178
|
+
W as e,
|
|
179
|
+
D as f,
|
|
187
180
|
O as g,
|
|
188
|
-
|
|
181
|
+
S as m,
|
|
189
182
|
P as n,
|
|
190
|
-
|
|
191
|
-
|
|
183
|
+
z as s,
|
|
184
|
+
_ as u
|
|
192
185
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g,
|
|
2
|
-
const
|
|
1
|
+
import { g, b9 as c, ab as p, ay as h, p as b, ba as S } from "./asWebComponent-DeaU3QoK.js";
|
|
2
|
+
const _ = b({
|
|
3
3
|
disabled: Boolean,
|
|
4
4
|
group: Boolean,
|
|
5
5
|
hideOnLeave: Boolean,
|
|
@@ -10,7 +10,7 @@ const S = b({
|
|
|
10
10
|
function s(o, d, i) {
|
|
11
11
|
return g()({
|
|
12
12
|
name: o,
|
|
13
|
-
props:
|
|
13
|
+
props: _({
|
|
14
14
|
mode: i,
|
|
15
15
|
origin: d
|
|
16
16
|
}),
|
|
@@ -95,7 +95,7 @@ function m(o, d) {
|
|
|
95
95
|
}
|
|
96
96
|
function v() {
|
|
97
97
|
let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
98
|
-
const i = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", n =
|
|
98
|
+
const i = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", n = S(`offset-${i}`);
|
|
99
99
|
return {
|
|
100
100
|
onBeforeEnter(t) {
|
|
101
101
|
t._parent = t.parentNode, t._initialStyle = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as oe } from "./basedecoder-
|
|
1
|
+
import { g as oe } from "./basedecoder-DHcBySSe-BmCFNFnw.js";
|
|
2
2
|
const J = new Int32Array([
|
|
3
3
|
0,
|
|
4
4
|
1,
|
|
@@ -380,11 +380,10 @@ class ae {
|
|
|
380
380
|
}
|
|
381
381
|
else
|
|
382
382
|
throw new Error("DQT: invalid table spec");
|
|
383
|
-
else
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
}
|
|
383
|
+
else for (let o = 0; o < 64; o++) {
|
|
384
|
+
const i = J[o];
|
|
385
|
+
m[i] = a[s++];
|
|
386
|
+
}
|
|
388
387
|
this.quantizationTables[f & 15] = m;
|
|
389
388
|
}
|
|
390
389
|
break;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as tA } from "./pako.esm-
|
|
2
|
-
import {
|
|
3
|
-
import { g as DA } from "./basedecoder-
|
|
1
|
+
import { b as tA } from "./pako.esm-CB1uQYY0-DB0PYm1P.js";
|
|
2
|
+
import { z as sA, B as gA, K as rA } from "./EodashMap-D_znzmX7.js";
|
|
3
|
+
import { g as DA } from "./basedecoder-DHcBySSe-BmCFNFnw.js";
|
|
4
4
|
var iA = { exports: {} };
|
|
5
5
|
(function(W) {
|
|
6
6
|
/* Copyright 2015-2021 Esri. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 @preserve */
|
|
@@ -122,8 +122,7 @@ var iA = { exports: {} };
|
|
|
122
122
|
if (t !== -32768 || s < C.length)
|
|
123
123
|
throw "Unexpected end of mask RLE encoding";
|
|
124
124
|
g.mask.bitset = C, a += g.mask.numBytes;
|
|
125
|
-
} else
|
|
126
|
-
g.mask.numBytes | g.mask.numBlocksY | g.mask.maxValue || (g.mask.bitset = new Uint8Array(Math.ceil(g.width * g.height / 8)));
|
|
125
|
+
} else g.mask.numBytes | g.mask.numBlocksY | g.mask.maxValue || (g.mask.bitset = new Uint8Array(Math.ceil(g.width * g.height / 8)));
|
|
127
126
|
B = new DataView(I, a, 16), g.pixels = {}, g.pixels.numBlocksY = B.getUint32(0, !0), g.pixels.numBlocksX = B.getUint32(4, !0), g.pixels.numBytes = B.getUint32(8, !0), g.pixels.maxValue = B.getFloat32(12, !0), a += 16;
|
|
128
127
|
var e = g.pixels.numBlocksX, i = g.pixels.numBlocksY, h = e + (g.width % e > 0 ? 1 : 0), y = i + (g.height % i > 0 ? 1 : 0);
|
|
129
128
|
g.pixels.blocks = new Array(h * y);
|
|
@@ -994,8 +993,7 @@ class wA {
|
|
|
994
993
|
K = u.instance, BA.env.emscripten_notify_memory_growth(0);
|
|
995
994
|
}
|
|
996
995
|
decode(u, P = 0) {
|
|
997
|
-
if (!K)
|
|
998
|
-
throw new Error("ZSTDDecoder: Await .init() before decoding.");
|
|
996
|
+
if (!K) throw new Error("ZSTDDecoder: Await .init() before decoding.");
|
|
999
997
|
const Z = u.byteLength, v = K.exports.malloc(Z);
|
|
1000
998
|
QA.set(u, v), P = P || Number(K.exports.ZSTD_findDecompressedSize(v, Z));
|
|
1001
999
|
const N = K.exports.malloc(P), d = K.exports.ZSTD_decompress(N, P, v, Z), m = QA.slice(N, N + d);
|
|
@@ -620,8 +620,7 @@ const je = (e) => {
|
|
|
620
620
|
d--, n += s[r++] << i, i += 8;
|
|
621
621
|
}
|
|
622
622
|
t.length = n, t.head && (t.head.extra_len = n), t.flags & 512 && t.wrap & 4 && (u[0] = n & 255, u[1] = n >>> 8 & 255, t.check = T(t.check, u, 2, 0)), n = 0, i = 0;
|
|
623
|
-
} else
|
|
624
|
-
t.head && (t.head.extra = null);
|
|
623
|
+
} else t.head && (t.head.extra = null);
|
|
625
624
|
t.mode = pt;
|
|
626
625
|
case pt:
|
|
627
626
|
if (t.flags & 1024 && (l = t.length, l > d && (l = d), l && (t.head && (_ = t.head.extra_len - t.length, t.head.extra || (t.head.extra = new Uint8Array(t.head.extra_len)), t.head.extra.set(
|
|
@@ -646,8 +645,7 @@ const je = (e) => {
|
|
|
646
645
|
while (_ && l < d);
|
|
647
646
|
if (t.flags & 512 && t.wrap & 4 && (t.check = T(t.check, s, l, r)), d -= l, r += l, _)
|
|
648
647
|
break t;
|
|
649
|
-
} else
|
|
650
|
-
t.head && (t.head.name = null);
|
|
648
|
+
} else t.head && (t.head.name = null);
|
|
651
649
|
t.length = 0, t.mode = yt;
|
|
652
650
|
case yt:
|
|
653
651
|
if (t.flags & 4096) {
|
|
@@ -659,8 +657,7 @@ const je = (e) => {
|
|
|
659
657
|
while (_ && l < d);
|
|
660
658
|
if (t.flags & 512 && t.wrap & 4 && (t.check = T(t.check, s, l, r)), d -= l, r += l, _)
|
|
661
659
|
break t;
|
|
662
|
-
} else
|
|
663
|
-
t.head && (t.head.comment = null);
|
|
660
|
+
} else t.head && (t.head.comment = null);
|
|
664
661
|
t.mode = xt;
|
|
665
662
|
case xt:
|
|
666
663
|
if (t.flags & 512) {
|
|
@@ -1031,8 +1028,7 @@ function H(e) {
|
|
|
1031
1028
|
H.prototype.push = function(e, a) {
|
|
1032
1029
|
const t = this.strm, s = this.options.chunkSize, o = this.options.dictionary;
|
|
1033
1030
|
let r, c, d;
|
|
1034
|
-
if (this.ended)
|
|
1035
|
-
return !1;
|
|
1031
|
+
if (this.ended) return !1;
|
|
1036
1032
|
for (a === ~~a ? c = a : c = a === !0 ? la : oa, ee.call(e) === "[object ArrayBuffer]" ? t.input = new Uint8Array(e) : t.input = e, t.next_in = 0, t.avail_in = t.input.length; ; ) {
|
|
1037
1033
|
for (t.avail_out === 0 && (t.output = new Uint8Array(s), t.next_out = 0, t.avail_out = s), r = O.inflate(t, c), r === nt && o && (r = O.inflateSetDictionary(t, o), r === M ? r = O.inflate(t, c) : r === Lt && (r = nt)); t.avail_in > 0 && r === at && t.state.wrap > 0 && e[t.next_in] !== 0; )
|
|
1038
1034
|
O.inflateReset(t), r = O.inflate(t, c);
|
|
@@ -1052,8 +1048,7 @@ H.prototype.push = function(e, a) {
|
|
|
1052
1048
|
if (!(r === M && d === 0)) {
|
|
1053
1049
|
if (r === at)
|
|
1054
1050
|
return r = O.inflateEnd(this.strm), this.onEnd(r), this.ended = !0, !0;
|
|
1055
|
-
if (t.avail_in === 0)
|
|
1056
|
-
break;
|
|
1051
|
+
if (t.avail_in === 0) break;
|
|
1057
1052
|
}
|
|
1058
1053
|
}
|
|
1059
1054
|
return !0;
|
|
@@ -1066,8 +1061,7 @@ H.prototype.onEnd = function(e) {
|
|
|
1066
1061
|
};
|
|
1067
1062
|
function lt(e, a) {
|
|
1068
1063
|
const t = new H(a);
|
|
1069
|
-
if (t.push(e), t.err)
|
|
1070
|
-
throw t.msg || rt[t.err];
|
|
1064
|
+
if (t.push(e), t.err) throw t.msg || rt[t.err];
|
|
1071
1065
|
return t.result;
|
|
1072
1066
|
}
|
|
1073
1067
|
function ca(e, a) {
|