@eodash/eodash 5.0.0-alpha.2.4 → 5.0.0-alpha.2.6
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 +31 -7
- package/core/client/App.vue +6 -7
- package/core/client/SuspensedDashboard.ce.vue +59 -45
- package/core/client/asWebComponent.d.ts +10 -5
- package/core/client/asWebComponent.js +6 -6
- package/core/client/components/DashboardLayout.vue +63 -21
- package/core/client/components/DynamicWebComponent.vue +44 -44
- package/core/client/components/ErrorAlert.vue +24 -7
- package/core/client/components/Footer.vue +34 -15
- package/core/client/components/Header.vue +10 -5
- package/core/client/components/IframeWrapper.vue +4 -4
- package/core/client/components/Loading.vue +17 -18
- package/core/client/components/MobileLayout.vue +82 -29
- package/core/client/composables/DefineEodash.js +38 -28
- package/core/client/composables/DefineWidgets.js +105 -79
- package/core/client/composables/index.js +43 -141
- package/core/client/eodash.js +46 -39
- package/core/client/main.js +2 -2
- package/core/client/plugins/index.js +11 -9
- package/core/client/plugins/vuetify.js +9 -10
- package/core/client/render.js +4 -5
- 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 -248
- package/core/client/utils/eodashSTAC.js +151 -66
- package/core/client/utils/helpers.js +18 -20
- package/core/client/utils/index.js +25 -14
- package/core/client/utils/keys.js +2 -2
- package/core/client/views/Dashboard.vue +70 -42
- package/core/client/vite-env.d.ts +19 -17
- package/dist/client/DashboardLayout-BuDcv6LM.js +156 -0
- package/dist/client/{DynamicWebComponent-C4Hotc4H.js → DynamicWebComponent-BEP4rVce.js} +7 -7
- package/dist/client/EodashDatePicker-oFb1zt5E.js +1211 -0
- package/dist/client/EodashItemFilter-BElmgrST.js +63 -0
- package/dist/client/{EodashMap-CGrQjZ1P.js → EodashMap-DXyOgcEd.js} +11333 -14025
- package/dist/client/Footer-CoPx6UXQ.js +115 -0
- package/dist/client/Header-C-zX31Ys.js +635 -0
- package/dist/client/{IframeWrapper-Cg3GMmfW.js → IframeWrapper-2w2ye0zM.js} +4 -4
- package/dist/client/MobileLayout-C9OVcP12.js +945 -0
- package/dist/client/{VMain-BHYlmRic.js → VMain-Dm43jd43.js} +8 -8
- package/dist/client/{WidgetsContainer-dje9QSk0.js → WidgetsContainer-BS87sLqk.js} +12 -5
- package/dist/client/asWebComponent-CpQUVi2N.js +20135 -0
- package/dist/client/{basedecoder-Qm25PwVp-CHo5Pomv.js → basedecoder-DHcBySSe-BmCFNFnw.js} +5 -6
- package/dist/client/{decoder-HRvnjnEI-BQ2rajuJ.js → decoder-CP4lv0Kb-BHrv68IA.js} +1 -1
- package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +10 -0
- package/dist/client/eo-dash.js +3 -3
- package/dist/client/eodashSTAC-Q7kbX1Gy.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-BVFQ82G4.js +183 -0
- package/dist/client/{index-CaDDfJYE.js → index-dOzyv_xR.js} +43 -74
- package/dist/client/{jpeg-DNfUpLwy-Fjan-04T.js → jpeg-BAgeD1d3-oeHbFPUL.js} +5 -6
- package/dist/client/{lerc-_E46UbWQ-Beu35ovS.js → lerc-DzVumYtB-rm1Xco54.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-Dd7m-btU.js → ssrBoot-L9KejErM.js} +3 -3
- package/dist/client/style.css +2 -2
- package/dist/client/transition-DCePIwYR.js +34 -0
- 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 +3 -3
- package/dist/node/types.d.ts +32 -38
- package/package.json +13 -14
- package/widgets/EodashDatePicker.vue +145 -41
- package/widgets/EodashItemFilter.vue +41 -22
- package/widgets/EodashMap.vue +87 -20
- package/widgets/WidgetsContainer.vue +45 -27
- package/dist/client/DashboardLayout-ZaSRMD1M.js +0 -149
- package/dist/client/EodashDatePicker-C4kKjxKy.js +0 -1653
- package/dist/client/EodashItemFilter-cBHC0YEM.js +0 -51
- package/dist/client/Footer-pS636dEP.js +0 -118
- package/dist/client/Header-DQuaLdjl.js +0 -605
- package/dist/client/MobileLayout-BLXFBWI_.js +0 -987
- package/dist/client/asWebComponent-Bvb3xkxI.js +0 -13311
- package/dist/client/deflate-Be2Arps5-hDqMz3RA.js +0 -10
- package/dist/client/forwardRefs-Bxeu9Obx.js +0 -142
- package/dist/client/index-DlNICb3T.js +0 -34
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { p as v, s as w, c as x, w as R, ah as b } from "./asWebComponent-CpQUVi2N.js";
|
|
2
|
+
class d {
|
|
3
|
+
constructor(r) {
|
|
4
|
+
let {
|
|
5
|
+
x: n,
|
|
6
|
+
y: i,
|
|
7
|
+
width: s,
|
|
8
|
+
height: t
|
|
9
|
+
} = r;
|
|
10
|
+
this.x = n, this.y = i, this.width = s, this.height = t;
|
|
11
|
+
}
|
|
12
|
+
get top() {
|
|
13
|
+
return this.y;
|
|
14
|
+
}
|
|
15
|
+
get bottom() {
|
|
16
|
+
return this.y + this.height;
|
|
17
|
+
}
|
|
18
|
+
get left() {
|
|
19
|
+
return this.x;
|
|
20
|
+
}
|
|
21
|
+
get right() {
|
|
22
|
+
return this.x + this.width;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function W(e, r) {
|
|
26
|
+
return {
|
|
27
|
+
x: {
|
|
28
|
+
before: Math.max(0, r.left - e.left),
|
|
29
|
+
after: Math.max(0, e.right - r.right)
|
|
30
|
+
},
|
|
31
|
+
y: {
|
|
32
|
+
before: Math.max(0, r.top - e.top),
|
|
33
|
+
after: Math.max(0, e.bottom - r.bottom)
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function O(e) {
|
|
38
|
+
return Array.isArray(e) ? new d({
|
|
39
|
+
x: e[0],
|
|
40
|
+
y: e[1],
|
|
41
|
+
width: 0,
|
|
42
|
+
height: 0
|
|
43
|
+
}) : e.getBoundingClientRect();
|
|
44
|
+
}
|
|
45
|
+
function P(e) {
|
|
46
|
+
const r = e.getBoundingClientRect(), n = getComputedStyle(e), i = n.transform;
|
|
47
|
+
if (i) {
|
|
48
|
+
let s, t, o, f, a;
|
|
49
|
+
if (i.startsWith("matrix3d("))
|
|
50
|
+
s = i.slice(9, -1).split(/, /), t = +s[0], o = +s[5], f = +s[12], a = +s[13];
|
|
51
|
+
else if (i.startsWith("matrix("))
|
|
52
|
+
s = i.slice(7, -1).split(/, /), t = +s[0], o = +s[3], f = +s[4], a = +s[5];
|
|
53
|
+
else
|
|
54
|
+
return new d(r);
|
|
55
|
+
const u = n.transformOrigin, c = r.x - f - (1 - t) * parseFloat(u), l = r.y - a - (1 - o) * parseFloat(u.slice(u.indexOf(" ") + 1)), h = t ? r.width / t : e.offsetWidth + 1, m = o ? r.height / o : e.offsetHeight + 1;
|
|
56
|
+
return new d({
|
|
57
|
+
x: c,
|
|
58
|
+
y: l,
|
|
59
|
+
width: h,
|
|
60
|
+
height: m
|
|
61
|
+
});
|
|
62
|
+
} else
|
|
63
|
+
return new d(r);
|
|
64
|
+
}
|
|
65
|
+
function B(e, r, n) {
|
|
66
|
+
if (typeof e.animate > "u") return {
|
|
67
|
+
finished: Promise.resolve()
|
|
68
|
+
};
|
|
69
|
+
let i;
|
|
70
|
+
try {
|
|
71
|
+
i = e.animate(r, n);
|
|
72
|
+
} catch {
|
|
73
|
+
return {
|
|
74
|
+
finished: Promise.resolve()
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
return typeof i.finished > "u" && (i.finished = new Promise((s) => {
|
|
78
|
+
i.onfinish = () => {
|
|
79
|
+
s(i);
|
|
80
|
+
};
|
|
81
|
+
})), i;
|
|
82
|
+
}
|
|
83
|
+
const I = "cubic-bezier(0.4, 0, 0.2, 1)", C = v({
|
|
84
|
+
eager: Boolean
|
|
85
|
+
}, "lazy");
|
|
86
|
+
function S(e, r) {
|
|
87
|
+
const n = w(!1), i = x(() => n.value || e.eager || r.value);
|
|
88
|
+
R(r, () => n.value = !0);
|
|
89
|
+
function s() {
|
|
90
|
+
e.eager || (n.value = !1);
|
|
91
|
+
}
|
|
92
|
+
return {
|
|
93
|
+
isBooted: n,
|
|
94
|
+
hasContent: i,
|
|
95
|
+
onAfterLeave: s
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function _() {
|
|
99
|
+
const r = b("useScopeId").vnode.scopeId;
|
|
100
|
+
return {
|
|
101
|
+
scopeId: r ? {
|
|
102
|
+
[r]: ""
|
|
103
|
+
} : void 0
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
const p = Symbol("Forwarded refs");
|
|
107
|
+
function g(e, r) {
|
|
108
|
+
let n = e;
|
|
109
|
+
for (; n; ) {
|
|
110
|
+
const i = Reflect.getOwnPropertyDescriptor(n, r);
|
|
111
|
+
if (i) return i;
|
|
112
|
+
n = Object.getPrototypeOf(n);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
function z(e) {
|
|
116
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
117
|
+
n[i - 1] = arguments[i];
|
|
118
|
+
return e[p] = n, new Proxy(e, {
|
|
119
|
+
get(s, t) {
|
|
120
|
+
if (Reflect.has(s, t))
|
|
121
|
+
return Reflect.get(s, t);
|
|
122
|
+
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
123
|
+
for (const o of n)
|
|
124
|
+
if (o.value && Reflect.has(o.value, t)) {
|
|
125
|
+
const f = Reflect.get(o.value, t);
|
|
126
|
+
return typeof f == "function" ? f.bind(o.value) : f;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
has(s, t) {
|
|
131
|
+
if (Reflect.has(s, t))
|
|
132
|
+
return !0;
|
|
133
|
+
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__")) return !1;
|
|
134
|
+
for (const o of n)
|
|
135
|
+
if (o.value && Reflect.has(o.value, t))
|
|
136
|
+
return !0;
|
|
137
|
+
return !1;
|
|
138
|
+
},
|
|
139
|
+
set(s, t, o) {
|
|
140
|
+
if (Reflect.has(s, t))
|
|
141
|
+
return Reflect.set(s, t, o);
|
|
142
|
+
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__")) return !1;
|
|
143
|
+
for (const f of n)
|
|
144
|
+
if (f.value && Reflect.has(f.value, t))
|
|
145
|
+
return Reflect.set(f.value, t, o);
|
|
146
|
+
return !1;
|
|
147
|
+
},
|
|
148
|
+
getOwnPropertyDescriptor(s, t) {
|
|
149
|
+
const o = Reflect.getOwnPropertyDescriptor(s, t);
|
|
150
|
+
if (o) return o;
|
|
151
|
+
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
152
|
+
for (const f of n) {
|
|
153
|
+
if (!f.value) continue;
|
|
154
|
+
const a = g(f.value, t) ?? ("_" in f.value ? g(f.value._?.setupState, t) : void 0);
|
|
155
|
+
if (a) return a;
|
|
156
|
+
}
|
|
157
|
+
for (const f of n) {
|
|
158
|
+
const a = f.value && f.value[p];
|
|
159
|
+
if (!a) continue;
|
|
160
|
+
const u = a.slice();
|
|
161
|
+
for (; u.length; ) {
|
|
162
|
+
const c = u.shift(), l = g(c.value, t);
|
|
163
|
+
if (l) return l;
|
|
164
|
+
const h = c.value && c.value[p];
|
|
165
|
+
h && u.push(...h);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
export {
|
|
173
|
+
d as B,
|
|
174
|
+
B as a,
|
|
175
|
+
_ as b,
|
|
176
|
+
W as c,
|
|
177
|
+
z as f,
|
|
178
|
+
O as g,
|
|
179
|
+
C as m,
|
|
180
|
+
P as n,
|
|
181
|
+
I as s,
|
|
182
|
+
S as u
|
|
183
|
+
};
|
|
@@ -1,33 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
transition: {
|
|
4
|
-
type: [Boolean, String, Object],
|
|
5
|
-
default: "fade-transition",
|
|
6
|
-
validator: (s) => s !== !0
|
|
7
|
-
}
|
|
8
|
-
}, "transition"), B = (s, d) => {
|
|
9
|
-
let {
|
|
10
|
-
slots: i
|
|
11
|
-
} = d;
|
|
12
|
-
const {
|
|
13
|
-
transition: n,
|
|
14
|
-
disabled: r,
|
|
15
|
-
group: a,
|
|
16
|
-
...t
|
|
17
|
-
} = s, {
|
|
18
|
-
component: e = a ? g : p,
|
|
19
|
-
...l
|
|
20
|
-
} = typeof n == "object" ? n : {};
|
|
21
|
-
return c(e, S(typeof n == "string" ? {
|
|
22
|
-
name: r ? "" : n
|
|
23
|
-
} : l, typeof n == "string" ? {} : Object.fromEntries(Object.entries({
|
|
24
|
-
disabled: r,
|
|
25
|
-
group: a
|
|
26
|
-
}).filter((f) => {
|
|
27
|
-
let [u, y] = f;
|
|
28
|
-
return y !== void 0;
|
|
29
|
-
})), t), i);
|
|
30
|
-
}, w = m({
|
|
1
|
+
import { g, av as c, ab as p, aw as h, p as b, ax as w } from "./asWebComponent-CpQUVi2N.js";
|
|
2
|
+
const S = b({
|
|
31
3
|
disabled: Boolean,
|
|
32
4
|
group: Boolean,
|
|
33
5
|
hideOnLeave: Boolean,
|
|
@@ -35,10 +7,10 @@ const L = m({
|
|
|
35
7
|
mode: String,
|
|
36
8
|
origin: String
|
|
37
9
|
}, "transition");
|
|
38
|
-
function o
|
|
39
|
-
return
|
|
40
|
-
name:
|
|
41
|
-
props:
|
|
10
|
+
function s(o, d, i) {
|
|
11
|
+
return g()({
|
|
12
|
+
name: o,
|
|
13
|
+
props: S({
|
|
42
14
|
mode: i,
|
|
43
15
|
origin: d
|
|
44
16
|
}),
|
|
@@ -55,8 +27,8 @@ function o(s, d, i) {
|
|
|
55
27
|
const {
|
|
56
28
|
offsetTop: l,
|
|
57
29
|
offsetLeft: f,
|
|
58
|
-
offsetWidth:
|
|
59
|
-
offsetHeight:
|
|
30
|
+
offsetWidth: y,
|
|
31
|
+
offsetHeight: u
|
|
60
32
|
} = e;
|
|
61
33
|
e._transitionInitialStyles = {
|
|
62
34
|
position: e.style.position,
|
|
@@ -64,7 +36,7 @@ function o(s, d, i) {
|
|
|
64
36
|
left: e.style.left,
|
|
65
37
|
width: e.style.width,
|
|
66
38
|
height: e.style.height
|
|
67
|
-
}, e.style.position = "absolute", e.style.top = `${l}px`, e.style.left = `${f}px`, e.style.width = `${
|
|
39
|
+
}, e.style.position = "absolute", e.style.top = `${l}px`, e.style.left = `${f}px`, e.style.width = `${y}px`, e.style.height = `${u}px`;
|
|
68
40
|
}
|
|
69
41
|
n.hideOnLeave && e.style.setProperty("display", "none", "important");
|
|
70
42
|
},
|
|
@@ -73,18 +45,18 @@ function o(s, d, i) {
|
|
|
73
45
|
const {
|
|
74
46
|
position: l,
|
|
75
47
|
top: f,
|
|
76
|
-
left:
|
|
77
|
-
width:
|
|
48
|
+
left: y,
|
|
49
|
+
width: u,
|
|
78
50
|
height: x
|
|
79
51
|
} = e._transitionInitialStyles;
|
|
80
|
-
delete e._transitionInitialStyles, e.style.position = l || "", e.style.top = f || "", e.style.left =
|
|
52
|
+
delete e._transitionInitialStyles, e.style.position = l || "", e.style.top = f || "", e.style.left = y || "", e.style.width = u || "", e.style.height = x || "";
|
|
81
53
|
}
|
|
82
54
|
}
|
|
83
55
|
};
|
|
84
56
|
return () => {
|
|
85
|
-
const e = n.group ?
|
|
86
|
-
return
|
|
87
|
-
name: n.disabled ? "" :
|
|
57
|
+
const e = n.group ? c : p;
|
|
58
|
+
return h(e, {
|
|
59
|
+
name: n.disabled ? "" : o,
|
|
88
60
|
css: !n.disabled,
|
|
89
61
|
...n.group ? void 0 : {
|
|
90
62
|
mode: n.mode
|
|
@@ -95,10 +67,10 @@ function o(s, d, i) {
|
|
|
95
67
|
}
|
|
96
68
|
});
|
|
97
69
|
}
|
|
98
|
-
function
|
|
70
|
+
function m(o, d) {
|
|
99
71
|
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out";
|
|
100
|
-
return
|
|
101
|
-
name:
|
|
72
|
+
return g()({
|
|
73
|
+
name: o,
|
|
102
74
|
props: {
|
|
103
75
|
mode: {
|
|
104
76
|
type: String,
|
|
@@ -111,9 +83,9 @@ function v(s, d) {
|
|
|
111
83
|
let {
|
|
112
84
|
slots: a
|
|
113
85
|
} = r;
|
|
114
|
-
const t = n.group ?
|
|
115
|
-
return () =>
|
|
116
|
-
name: n.disabled ? "" :
|
|
86
|
+
const t = n.group ? c : p;
|
|
87
|
+
return () => h(t, {
|
|
88
|
+
name: n.disabled ? "" : o,
|
|
117
89
|
css: !n.disabled,
|
|
118
90
|
// mode: props.mode, // TODO: vuejs/vue-next#3104
|
|
119
91
|
...n.disabled ? {} : d
|
|
@@ -121,9 +93,9 @@ function v(s, d) {
|
|
|
121
93
|
}
|
|
122
94
|
});
|
|
123
95
|
}
|
|
124
|
-
function
|
|
125
|
-
let
|
|
126
|
-
const i = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", n =
|
|
96
|
+
function v() {
|
|
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 = w(`offset-${i}`);
|
|
127
99
|
return {
|
|
128
100
|
onBeforeEnter(t) {
|
|
129
101
|
t._parent = t.parentNode, t._initialStyle = {
|
|
@@ -136,7 +108,7 @@ function b() {
|
|
|
136
108
|
const e = t._initialStyle;
|
|
137
109
|
t.style.setProperty("transition", "none", "important"), t.style.overflow = "hidden";
|
|
138
110
|
const l = `${t[n]}px`;
|
|
139
|
-
t.style[i] = "0", t.offsetHeight, t.style.transition = e.transition,
|
|
111
|
+
t.style[i] = "0", t.offsetHeight, t.style.transition = e.transition, o && t._parent && t._parent.classList.add(o), requestAnimationFrame(() => {
|
|
140
112
|
t.style[i] = l;
|
|
141
113
|
});
|
|
142
114
|
},
|
|
@@ -153,32 +125,29 @@ function b() {
|
|
|
153
125
|
onLeaveCancelled: r
|
|
154
126
|
};
|
|
155
127
|
function r(t) {
|
|
156
|
-
|
|
128
|
+
o && t._parent && t._parent.classList.remove(o), a(t);
|
|
157
129
|
}
|
|
158
130
|
function a(t) {
|
|
159
131
|
const e = t._initialStyle[i];
|
|
160
132
|
t.style.overflow = t._initialStyle.overflow, e != null && (t.style[i] = e), delete t._initialStyle;
|
|
161
133
|
}
|
|
162
134
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
const
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
const
|
|
135
|
+
s("fab-transition", "center center", "out-in");
|
|
136
|
+
s("dialog-bottom-transition");
|
|
137
|
+
s("dialog-top-transition");
|
|
138
|
+
const L = s("fade-transition");
|
|
139
|
+
s("scale-transition");
|
|
140
|
+
s("scroll-x-transition");
|
|
141
|
+
s("scroll-x-reverse-transition");
|
|
142
|
+
s("scroll-y-transition");
|
|
143
|
+
s("scroll-y-reverse-transition");
|
|
144
|
+
s("slide-x-transition");
|
|
145
|
+
s("slide-x-reverse-transition");
|
|
146
|
+
s("slide-y-transition");
|
|
147
|
+
s("slide-y-reverse-transition");
|
|
148
|
+
const T = m("expand-transition", v());
|
|
149
|
+
m("expand-x-transition", v("", !0));
|
|
177
150
|
export {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
A as a,
|
|
181
|
-
P as b,
|
|
182
|
-
$ as c,
|
|
183
|
-
L as m
|
|
151
|
+
L as V,
|
|
152
|
+
T as a
|
|
184
153
|
};
|
|
@@ -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-DXyOgcEd.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) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s
|
|
1
|
+
import { s, Z as t, c as e, ay as n } from "./asWebComponent-CpQUVi2N.js";
|
|
2
2
|
function i() {
|
|
3
|
-
const o =
|
|
4
|
-
return
|
|
3
|
+
const o = s(!1);
|
|
4
|
+
return t(() => {
|
|
5
5
|
window.requestAnimationFrame(() => {
|
|
6
6
|
o.value = !0;
|
|
7
7
|
});
|