omezarr-tilesource 0.1.2 → 0.3.0
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 +30 -7
- package/dist/__vite-browser-external-BIIyDRRX.js +7 -0
- package/dist/__vite-browser-external-YbutIfMq-DmIpWUUk.js +7 -0
- package/dist/blosc-D7C3XedS.js +692 -0
- package/dist/chunk-BXES_1_E.js +13 -0
- package/dist/chunk-INHXZS53-DODoS5wr.js +13 -0
- package/dist/dist-DIvEDGnZ.js +87 -0
- package/dist/lz4-O6H78S8a.js +626 -0
- package/dist/omezarr-tilesource.d.ts +20 -19
- package/dist/omezarr-tilesource.js +2821 -14554
- package/dist/omezarr-tilesource.umd.cjs +42 -42
- package/dist/png-K1gqQ34g-BW3a7qE6.js +1950 -0
- package/dist/zstd-GeB6dyr_.js +583 -0
- package/package.json +18 -19
- package/dist/blosc-D1xNXZJs.js +0 -719
- package/dist/chunk-INHXZS53-DiyuLb3Z.js +0 -14
- package/dist/lz4-1Ws5oVWR.js +0 -640
- package/dist/zstd-C4EcZnjq.js +0 -603
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (e && (t = e(e = 0)), t), s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, i, o, s) => {
|
|
3
|
+
if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
|
|
4
|
+
get: ((e) => i[e]).bind(null, d),
|
|
5
|
+
enumerable: !(s = n(i, d)) || s.enumerable
|
|
6
|
+
});
|
|
7
|
+
return e;
|
|
8
|
+
}, l = (n, r, a) => (a = n == null ? {} : e(i(n)), c(r || !n || !n.__esModule ? t(a, "default", {
|
|
9
|
+
value: n,
|
|
10
|
+
enumerable: !0
|
|
11
|
+
}) : a, n));
|
|
12
|
+
//#endregion
|
|
13
|
+
export { o as n, l as r, s as t };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/numcodecs@0.3.2/node_modules/numcodecs/dist/chunk-INHXZS53.js
|
|
2
|
+
var e = /* @__PURE__ */ (() => {
|
|
3
|
+
for (var e = new Uint8Array(128), t = 0; t < 64; t++) e[t < 26 ? t + 65 : t < 52 ? t + 71 : t < 62 ? t - 4 : t * 4 - 205] = t;
|
|
4
|
+
return (t) => {
|
|
5
|
+
for (var n = t.length, r = new Uint8Array((n - (t[n - 1] == "=") - (t[n - 2] == "=")) * 3 / 4 | 0), i = 0, a = 0; i < n;) {
|
|
6
|
+
var o = e[t.charCodeAt(i++)], s = e[t.charCodeAt(i++)], c = e[t.charCodeAt(i++)], l = e[t.charCodeAt(i++)];
|
|
7
|
+
r[a++] = o << 2 | s >> 4, r[a++] = s << 4 | c >> 2, r[a++] = c << 6 | l;
|
|
8
|
+
}
|
|
9
|
+
return r;
|
|
10
|
+
};
|
|
11
|
+
})();
|
|
12
|
+
//#endregion
|
|
13
|
+
export { e as t };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { n as e } from "./chunk-BXES_1_E.js";
|
|
2
|
+
//#region node_modules/.pnpm/vite-plugin-node-polyfills@0.28.0_vite@8.0.14_yaml@2.9.0_/node_modules/vite-plugin-node-polyfills/shims/process/dist/index.js
|
|
3
|
+
function t(e) {
|
|
4
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
|
+
}
|
|
6
|
+
function n() {
|
|
7
|
+
throw Error("setTimeout has not been defined");
|
|
8
|
+
}
|
|
9
|
+
function r() {
|
|
10
|
+
throw Error("clearTimeout has not been defined");
|
|
11
|
+
}
|
|
12
|
+
function i(e) {
|
|
13
|
+
if (f === setTimeout) return setTimeout(e, 0);
|
|
14
|
+
if ((f === n || !f) && setTimeout) return f = setTimeout, setTimeout(e, 0);
|
|
15
|
+
try {
|
|
16
|
+
return f(e, 0);
|
|
17
|
+
} catch {
|
|
18
|
+
try {
|
|
19
|
+
return f.call(null, e, 0);
|
|
20
|
+
} catch {
|
|
21
|
+
return f.call(this, e, 0);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function a(e) {
|
|
26
|
+
if (p === clearTimeout) return clearTimeout(e);
|
|
27
|
+
if ((p === r || !p) && clearTimeout) return p = clearTimeout, clearTimeout(e);
|
|
28
|
+
try {
|
|
29
|
+
return p(e);
|
|
30
|
+
} catch {
|
|
31
|
+
try {
|
|
32
|
+
return p.call(null, e);
|
|
33
|
+
} catch {
|
|
34
|
+
return p.call(this, e);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function o() {
|
|
39
|
+
!h || !g || (h = !1, g.length ? m = g.concat(m) : _ = -1, m.length && s());
|
|
40
|
+
}
|
|
41
|
+
function s() {
|
|
42
|
+
if (!h) {
|
|
43
|
+
var e = i(o);
|
|
44
|
+
h = !0;
|
|
45
|
+
for (var t = m.length; t;) {
|
|
46
|
+
for (g = m, m = []; ++_ < t;) g && g[_].run();
|
|
47
|
+
_ = -1, t = m.length;
|
|
48
|
+
}
|
|
49
|
+
g = null, h = !1, a(e);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function c(e, t) {
|
|
53
|
+
this.fun = e, this.array = t;
|
|
54
|
+
}
|
|
55
|
+
function l() {}
|
|
56
|
+
var u, d, f, p, m, h, g, _, v, y, b = e((() => {
|
|
57
|
+
u = { exports: {} }, d = u.exports = {}, (function() {
|
|
58
|
+
try {
|
|
59
|
+
f = typeof setTimeout == "function" ? setTimeout : n;
|
|
60
|
+
} catch {
|
|
61
|
+
f = n;
|
|
62
|
+
}
|
|
63
|
+
try {
|
|
64
|
+
p = typeof clearTimeout == "function" ? clearTimeout : r;
|
|
65
|
+
} catch {
|
|
66
|
+
p = r;
|
|
67
|
+
}
|
|
68
|
+
})(), m = [], h = !1, _ = -1, d.nextTick = function(e) {
|
|
69
|
+
var t = Array(arguments.length - 1);
|
|
70
|
+
if (arguments.length > 1) for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
|
|
71
|
+
m.push(new c(e, t)), m.length === 1 && !h && i(s);
|
|
72
|
+
}, c.prototype.run = function() {
|
|
73
|
+
this.fun.apply(null, this.array);
|
|
74
|
+
}, d.title = "browser", d.browser = !0, d.env = {}, d.argv = [], d.version = "", d.versions = {}, d.on = l, d.addListener = l, d.once = l, d.off = l, d.removeListener = l, d.removeAllListeners = l, d.emit = l, d.prependListener = l, d.prependOnceListener = l, d.listeners = function(e) {
|
|
75
|
+
return [];
|
|
76
|
+
}, d.binding = function(e) {
|
|
77
|
+
throw Error("process.binding is not supported");
|
|
78
|
+
}, d.cwd = function() {
|
|
79
|
+
return "/";
|
|
80
|
+
}, d.chdir = function(e) {
|
|
81
|
+
throw Error("process.chdir is not supported");
|
|
82
|
+
}, d.umask = function() {
|
|
83
|
+
return 0;
|
|
84
|
+
}, v = u.exports, y = /* @__PURE__ */ t(v);
|
|
85
|
+
}));
|
|
86
|
+
//#endregion
|
|
87
|
+
export { y as n, b as t };
|