Walrus blob · mainnet
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["index-DnpKLwT9.js","index-CeMnqBop.js","index-6HPkoFQc.css","_commonjs-dynamic-modules-TDtrdbi3.js","qpdf-DKBnLwRg.js"])))=>i.map(i=>d[i]);
var __defProp = Object.defineProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
import { c as Vt, t as pe, a4 as Ot, q as mt, w as me, _ as Tt, r as et, j as y, U as Pt, a as _t, D as Nt, X as Yt, e as ge, C as xe, a5 as be, n as _e, f as Gt, L as ye, __tla as __tla_0 } from "./index-CeMnqBop.js";
import { P as ut, S as ee, d as Ft, r as re, E as we } from "./PDFButton-B549sIxf.js";
import { c as It } from "./_commonjs-dynamic-modules-TDtrdbi3.js";
import { l as Ut, __tla as __tla_1 } from "./pdfjs-DOFyr7qr.js";
import { C as vt } from "./chevron-left-BEdjO5Qe.js";
import { F as ve } from "./files-Bw0Rjeng.js";
import { F as ke } from "./file-plus-2-2f8a6zLX.js";
import { R as Se, I as je } from "./rotate-cw-CSDLPbbZ.js";
import { T as Ce } from "./trash-2-XZz4bnYZ.js";
import { R as Ee } from "./refresh-cw-B7QjnYq-.js";
import { C as Jt } from "./check-DBfhNWom.js";
import { I as ze } from "./image-wrler6X1.js";
let jr;
let __tla = Promise.all([
(() => {
try {
return __tla_0;
} catch {
}
})(),
(() => {
try {
return __tla_1;
} catch {
}
})()
]).then(async () => {
const Pe = Vt("Camera", [
[
"path",
{
d: "M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",
key: "1tc9qg"
}
],
[
"circle",
{
cx: "12",
cy: "13",
r: "3",
key: "1vg3eu"
}
]
]);
const Ne = Vt("LockOpen", [
[
"rect",
{
width: "18",
height: "11",
x: "3",
y: "11",
rx: "2",
ry: "2",
key: "1w4ew1"
}
],
[
"path",
{
d: "M7 11V7a5 5 0 0 1 9.9-1",
key: "1mm8w8"
}
]
]);
const Ae = Vt("PenLine", [
[
"path",
{
d: "M12 20h9",
key: "t2du7b"
}
],
[
"path",
{
d: "M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",
key: "1ykcvy"
}
]
]);
var Zt = {
exports: {}
}, Qt;
function De() {
return Qt || (Qt = 1, (function(T, h) {
(function(r) {
T.exports = r();
})(function() {
return (function r(p, o, n) {
function i(u, f) {
if (!o[u]) {
if (!p[u]) {
var g = typeof It == "function" && It;
if (!f && g) return g(u, true);
if (e) return e(u, true);
var v = new Error("Cannot find module '" + u + "'");
throw v.code = "MODULE_NOT_FOUND", v;
}
var c = o[u] = {
exports: {}
};
p[u][0].call(c.exports, function(m) {
var l = p[u][1][m];
return i(l || m);
}, c, c.exports, r, p, o, n);
}
return o[u].exports;
}
for (var e = typeof It == "function" && It, a = 0; a < n.length; a++) i(n[a]);
return i;
})({
1: [
function(r, p, o) {
var n = r("./utils"), i = r("./support"), e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
o.encode = function(a) {
for (var u, f, g, v, c, m, l, x = [], d = 0, _ = a.length, j = _, E = n.getTypeOf(a) !== "string"; d < a.length; ) j = _ - d, g = E ? (u = a[d++], f = d < _ ? a[d++] : 0, d < _ ? a[d++] : 0) : (u = a.charCodeAt(d++), f = d < _ ? a.charCodeAt(d++) : 0, d < _ ? a.charCodeAt(d++) : 0), v = u >> 2, c = (3 & u) << 4 | f >> 4, m = 1 < j ? (15 & f) << 2 | g >> 6 : 64, l = 2 < j ? 63 & g : 64, x.push(e.charAt(v) + e.charAt(c) + e.charAt(m) + e.charAt(l));
return x.join("");
}, o.decode = function(a) {
var u, f, g, v, c, m, l = 0, x = 0, d = "data:";
if (a.substr(0, d.length) === d) throw new Error("Invalid base64 input, it looks like a data url.");
var _, j = 3 * (a = a.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
if (a.charAt(a.length - 1) === e.charAt(64) && j--, a.charAt(a.length - 2) === e.charAt(64) && j--, j % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
for (_ = i.uint8array ? new Uint8Array(0 | j) : new Array(0 | j); l < a.length; ) u = e.indexOf(a.charAt(l++)) << 2 | (v = e.indexOf(a.charAt(l++))) >> 4, f = (15 & v) << 4 | (c = e.indexOf(a.charAt(l++))) >> 2, g = (3 & c) << 6 | (m = e.indexOf(a.charAt(l++))), _[x++] = u, c !== 64 && (_[x++] = f), m !== 64 && (_[x++] = g);
return _;
};
},
{
"./support": 30,
"./utils": 32
}
],
2: [
function(r, p, o) {
var n = r("./external"), i = r("./stream/DataWorker"), e = r("./stream/Crc32Probe"), a = r("./stream/DataLengthProbe");
function u(f, g, v, c, m) {
this.compressedSize = f, this.uncompressedSize = g, this.crc32 = v, this.compression = c, this.compressedContent = m;
}
u.prototype = {
getContentWorker: function() {
var f = new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")), g = this;
return f.on("end", function() {
if (this.streamInfo.data_length !== g.uncompressedSize) throw new Error("Bug : uncompressed data size mismatch");
}), f;
},
getCompressedWorker: function() {
return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize", this.compressedSize).withStreamInfo("uncompressedSize", this.uncompressedSize).withStreamInfo("crc32", this.crc32).withStreamInfo("compression", this.compression);
}
}, u.createWorkerFrom = function(f, g, v) {
return f.pipe(new e()).pipe(new a("uncompressedSize")).pipe(g.compressWorker(v)).pipe(new a("compressedSize")).withStreamInfo("compression", g);
}, p.exports = u;
},
{
"./external": 6,
"./stream/Crc32Probe": 25,
"./stream/DataLengthProbe": 26,
"./stream/DataWorker": 27
}
],
3: [
function(r, p, o) {
var n = r("./stream/GenericWorker");
o.STORE = {
magic: "\0\0",
compressWorker: function() {
return new n("STORE compression");
},
uncompressWorker: function() {
return new n("STORE decompression");
}
}, o.DEFLATE = r("./flate");
},
{
"./flate": 7,
"./stream/GenericWorker": 28
}
],
4: [
function(r, p, o) {
var n = r("./utils"), i = (function() {
for (var e, a = [], u = 0; u < 256; u++) {
e = u;
for (var f = 0; f < 8; f++) e = 1 & e ? 3988292384 ^ e >>> 1 : e >>> 1;
a[u] = e;
}
return a;
})();
p.exports = function(e, a) {
return e !== void 0 && e.length ? n.getTypeOf(e) !== "string" ? (function(u, f, g, v) {
var c = i, m = v + g;
u ^= -1;
for (var l = v; l < m; l++) u = u >>> 8 ^ c[255 & (u ^ f[l])];
return -1 ^ u;
})(0 | a, e, e.length, 0) : (function(u, f, g, v) {
var c = i, m = v + g;
u ^= -1;
for (var l = v; l < m; l++) u = u >>> 8 ^ c[255 & (u ^ f.charCodeAt(l))];
return -1 ^ u;
})(0 | a, e, e.length, 0) : 0;
};
},
{
"./utils": 32
}
],
5: [
function(r, p, o) {
o.base64 = false, o.binary = false, o.dir = false, o.createFolders = true, o.date = null, o.compression = null, o.compressionOptions = null, o.comment = null, o.unixPermissions = null, o.dosPermissions = null;
},
{}
],
6: [
function(r, p, o) {
var n = null;
n = typeof Promise < "u" ? Promise : r("lie"), p.exports = {
Promise: n
};
},
{
lie: 37
}
],
7: [
function(r, p, o) {
var n = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", i = r("pako"), e = r("./utils"), a = r("./stream/GenericWorker"), u = n ? "uint8array" : "array";
function f(g, v) {
a.call(this, "FlateWorker/" + g), this._pako = null, this._pakoAction = g, this._pakoOptions = v, this.meta = {};
}
o.magic = "\b\0", e.inherits(f, a), f.prototype.processChunk = function(g) {
this.meta = g.meta, this._pako === null && this._createPako(), this._pako.push(e.transformTo(u, g.data), false);
}, f.prototype.flush = function() {
a.prototype.flush.call(this), this._pako === null && this._createPako(), this._pako.push([], true);
}, f.prototype.cleanUp = function() {
a.prototype.cleanUp.call(this), this._pako = null;
}, f.prototype._createPako = function() {
this._pako = new i[this._pakoAction]({
raw: true,
level: this._pakoOptions.level || -1
});
var g = this;
this._pako.onData = function(v) {
g.push({
data: v,
meta: g.meta
});
};
}, o.compressWorker = function(g) {
return new f("Deflate", g);
}, o.uncompressWorker = function() {
return new f("Inflate", {});
};
},
{
"./stream/GenericWorker": 28,
"./utils": 32,
pako: 38
}
],
8: [
function(r, p, o) {
function n(c, m) {
var l, x = "";
for (l = 0; l < m; l++) x += String.fromCharCode(255 & c), c >>>= 8;
return x;
}
function i(c, m, l, x, d, _) {
var j, E, S = c.file, D = c.compression, P = _ !== u.utf8encode, M = e.transformTo("string", _(S.name)), F = e.transformTo("string", u.utf8encode(S.name)), R = S.comment, V = e.transformTo("string", _(R)), k = e.transformTo("string", u.utf8encode(R)), A = F.length !== S.name.length, s = k.length !== R.length, B = "", tt = "", Z = "", rt = S.dir, $ = S.date, Q = {
crc32: 0,
compressedSize: 0,
uncompressedSize: 0
};
m && !l || (Q.crc32 = c.crc32, Q.compressedSize = c.compressedSize, Q.uncompressedSize = c.uncompressedSize);
var O = 0;
m && (O |= 8), P || !A && !s || (O |= 2048);
var N = 0, J = 0;
rt && (N |= 16), d === "UNIX" ? (J = 798, N |= (function(q, ot) {
var ht = q;
return q || (ht = ot ? 16893 : 33204), (65535 & ht) << 16;
})(S.unixPermissions, rt)) : (J = 20, N |= (function(q) {
return 63 & (q || 0);
})(S.dosPermissions)), j = $.getUTCHours(), j <<= 6, j |= $.getUTCMinutes(), j <<= 5, j |= $.getUTCSeconds() / 2, E = $.getUTCFullYear() - 1980, E <<= 4, E |= $.getUTCMonth() + 1, E <<= 5, E |= $.getUTCDate(), A && (tt = n(1, 1) + n(f(M), 4) + F, B += "up" + n(tt.length, 2) + tt), s && (Z = n(1, 1) + n(f(V), 4) + k, B += "uc" + n(Z.length, 2) + Z);
var Y = "";
return Y += `
\0`, Y += n(O, 2), Y += D.magic, Y += n(j, 2), Y += n(E, 2), Y += n(Q.crc32, 4), Y += n(Q.compressedSize, 4), Y += n(Q.uncompressedSize, 4), Y += n(M.length, 2), Y += n(B.length, 2), {
fileRecord: g.LOCAL_FILE_HEADER + Y + M + B,
dirRecord: g.CENTRAL_FILE_HEADER + n(J, 2) + Y + n(V.length, 2) + "\0\0\0\0" + n(N, 4) + n(x, 4) + M + B + V
};
}
var e = r("../utils"), a = r("../stream/GenericWorker"), u = r("../utf8"), f = r("../crc32"), g = r("../signature");
function v(c, m, l, x) {
a.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = m, this.zipPlatform = l, this.encodeFileName = x, this.streamFiles = c, this.accumulate = false, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
}
e.inherits(v, a), v.prototype.push = function(c) {
var m = c.meta.percent || 0, l = this.entriesCount, x = this._sources.length;
this.accumulate ? this.contentBuffer.push(c) : (this.bytesWritten += c.data.length, a.prototype.push.call(this, {
data: c.data,
meta: {
currentFile: this.currentFile,
percent: l ? (m + 100 * (l - x - 1)) / l : 100
}
}));
}, v.prototype.openedSource = function(c) {
this.currentSourceOffset = this.bytesWritten, this.currentFile = c.file.name;
var m = this.streamFiles && !c.file.dir;
if (m) {
var l = i(c, m, false, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
this.push({
data: l.fileRecord,
meta: {
percent: 0
}
});
} else this.accumulate = true;
}, v.prototype.closedSource = function(c) {
this.accumulate = false;
var m = this.streamFiles && !c.file.dir, l = i(c, m, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
if (this.dirRecords.push(l.dirRecord), m) this.push({
data: (function(x) {
return g.DATA_DESCRIPTOR + n(x.crc32, 4) + n(x.compressedSize, 4) + n(x.uncompressedSize, 4);
})(c),
meta: {
percent: 100
}
});
else for (this.push({
data: l.fileRecord,
meta: {
percent: 0
}
}); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
this.currentFile = null;
}, v.prototype.flush = function() {
for (var c = this.bytesWritten, m = 0; m < this.dirRecords.length; m++) this.push({
data: this.dirRecords[m],
meta: {
percent: 100
}
});
var l = this.bytesWritten - c, x = (function(d, _, j, E, S) {
var D = e.transformTo("string", S(E));
return g.CENTRAL_DIRECTORY_END + "\0\0\0\0" + n(d, 2) + n(d, 2) + n(_, 4) + n(j, 4) + n(D.length, 2) + D;
})(this.dirRecords.length, l, c, this.zipComment, this.encodeFileName);
this.push({
data: x,
meta: {
percent: 100
}
});
}, v.prototype.prepareNextSource = function() {
this.previous = this._sources.shift(), this.openedSource(this.previous.streamInfo), this.isPaused ? this.previous.pause() : this.previous.resume();
}, v.prototype.registerPrevious = function(c) {
this._sources.push(c);
var m = this;
return c.on("data", function(l) {
m.processChunk(l);
}), c.on("end", function() {
m.closedSource(m.previous.streamInfo), m._sources.length ? m.prepareNextSource() : m.end();
}), c.on("error", function(l) {
m.error(l);
}), this;
}, v.prototype.resume = function() {
return !!a.prototype.resume.call(this) && (!this.previous && this._sources.length ? (this.prepareNextSource(), true) : this.previous || this._sources.length || this.generatedError ? void 0 : (this.end(), true));
}, v.prototype.error = function(c) {
var m = this._sources;
if (!a.prototype.error.call(this, c)) return false;
for (var l = 0; l < m.length; l++) try {
m[l].error(c);
} catch {
}
return true;
}, v.prototype.lock = function() {
a.prototype.lock.call(this);
for (var c = this._sources, m = 0; m < c.length; m++) c[m].lock();
}, p.exports = v;
},
{
"../crc32": 4,
"../signature": 23,
"../stream/GenericWorker": 28,
"../utf8": 31,
"../utils": 32
}
],
9: [
function(r, p, o) {
var n = r("../compressions"), i = r("./ZipFileWorker");
o.generateWorker = function(e, a, u) {
var f = new i(a.streamFiles, u, a.platform, a.encodeFileName), g = 0;
try {
e.forEach(function(v, c) {
g++;
var m = (function(_, j) {
var E = _ || j, S = n[E];
if (!S) throw new Error(E + " is not a valid compression method !");
return S;
})(c.options.compression, a.compression), l = c.options.compressionOptions || a.compressionOptions || {}, x = c.dir, d = c.date;
c._compressWorker(m, l).withStreamInfo("file", {
name: v,
dir: x,
date: d,
comment: c.comment || "",
unixPermissions: c.unixPermissions,
dosPermissions: c.dosPermissions
}).pipe(f);
}), f.entriesCount = g;
} catch (v) {
f.error(v);
}
return f;
};
},
{
"../compressions": 3,
"./ZipFileWorker": 8
}
],
10: [
function(r, p, o) {
function n() {
if (!(this instanceof n)) return new n();
if (arguments.length) throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");
this.files = /* @__PURE__ */ Object.create(null), this.comment = null, this.root = "", this.clone = function() {
var i = new n();
for (var e in this) typeof this[e] != "function" && (i[e] = this[e]);
return i;
};
}
(n.prototype = r("./object")).loadAsync = r("./load"), n.support = r("./support"), n.defaults = r("./defaults"), n.version = "3.10.1", n.loadAsync = function(i, e) {
return new n().loadAsync(i, e);
}, n.external = r("./external"), p.exports = n;
},
{
"./defaults": 5,
"./external": 6,
"./load": 11,
"./object": 15,
"./support": 30
}
],
11: [
function(r, p, o) {
var n = r("./utils"), i = r("./external"), e = r("./utf8"), a = r("./zipEntries"), u = r("./stream/Crc32Probe"), f = r("./nodejsUtils");
function g(v) {
return new i.Promise(function(c, m) {
var l = v.decompressed.getContentWorker().pipe(new u());
l.on("error", function(x) {
m(x);
}).on("end", function() {
l.streamInfo.crc32 !== v.decompressed.crc32 ? m(new Error("Corrupted zip : CRC32 mismatch")) : c();
}).resume();
});
}
p.exports = function(v, c) {
var m = this;
return c = n.extend(c || {}, {
base64: false,
checkCRC32: false,
optimizedBinaryString: false,
createFolders: false,
decodeFileName: e.utf8decode
}), f.isNode && f.isStream(v) ? i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : n.prepareContent("the loaded zip file", v, true, c.optimizedBinaryString, c.base64).then(function(l) {
var x = new a(c);
return x.load(l), x;
}).then(function(l) {
var x = [
i.Promise.resolve(l)
], d = l.files;
if (c.checkCRC32) for (var _ = 0; _ < d.length; _++) x.push(g(d[_]));
return i.Promise.all(x);
}).then(function(l) {
for (var x = l.shift(), d = x.files, _ = 0; _ < d.length; _++) {
var j = d[_], E = j.fileNameStr, S = n.resolve(j.fileNameStr);
m.file(S, j.decompressed, {
binary: true,
optimizedBinaryString: true,
date: j.date,
dir: j.dir,
comment: j.fileCommentStr.length ? j.fileCommentStr : null,
unixPermissions: j.unixPermissions,
dosPermissions: j.dosPermissions,
createFolders: c.createFolders
}), j.dir || (m.file(S).unsafeOriginalName = E);
}
return x.zipComment.length && (m.comment = x.zipComment), m;
});
};
},
{
"./external": 6,
"./nodejsUtils": 14,
"./stream/Crc32Probe": 25,
"./utf8": 31,
"./utils": 32,
"./zipEntries": 33
}
],
12: [
function(r, p, o) {
var n = r("../utils"), i = r("../stream/GenericWorker");
function e(a, u) {
i.call(this, "Nodejs stream input adapter for " + a), this._upstreamEnded = false, this._bindStream(u);
}
n.inherits(e, i), e.prototype._bindStream = function(a) {
var u = this;
(this._stream = a).pause(), a.on("data", function(f) {
u.push({
data: f,
meta: {
percent: 0
}
});
}).on("error", function(f) {
u.isPaused ? this.generatedError = f : u.error(f);
}).on("end", function() {
u.isPaused ? u._upstreamEnded = true : u.end();
});
}, e.prototype.pause = function() {
return !!i.prototype.pause.call(this) && (this._stream.pause(), true);
}, e.prototype.resume = function() {
return !!i.prototype.resume.call(this) && (this._upstreamEnded ? this.end() : this._stream.resume(), true);
}, p.exports = e;
},
{
"../stream/GenericWorker": 28,
"../utils": 32
}
],
13: [
function(r, p, o) {
var n = r("readable-stream").Readable;
function i(e, a, u) {
n.call(this, a), this._helper = e;
var f = this;
e.on("data", function(g, v) {
f.push(g) || f._helper.pause(), u && u(v);
}).on("error", function(g) {
f.emit("error", g);
}).on("end", function() {
f.push(null);
});
}
r("../utils").inherits(i, n), i.prototype._read = function() {
this._helper.resume();
}, p.exports = i;
},
{
"../utils": 32,
"readable-stream": 16
}
],
14: [
function(r, p, o) {
p.exports = {
isNode: typeof mt < "u",
newBufferFrom: function(n, i) {
if (mt.from && mt.from !== Uint8Array.from) return mt.from(n, i);
if (typeof n == "number") throw new Error('The "data" argument must not be a number');
return new mt(n, i);
},
allocBuffer: function(n) {
if (mt.alloc) return mt.alloc(n);
var i = new mt(n);
return i.fill(0), i;
},
isBuffer: function(n) {
return mt.isBuffer(n);
},
isStream: function(n) {
return n && typeof n.on == "function" && typeof n.pause == "function" && typeof n.resume == "function";
}
};
},
{}
],
15: [
function(r, p, o) {
function n(S, D, P) {
var M, F = e.getTypeOf(D), R = e.extend(P || {}, f);
R.date = R.date || /* @__PURE__ */ new Date(), R.compression !== null && (R.compression = R.compression.toUpperCase()), typeof R.unixPermissions == "string" && (R.unixPermissions = parseInt(R.unixPermissions, 8)), R.unixPermissions && 16384 & R.unixPermissions && (R.dir = true), R.dosPermissions && 16 & R.dosPermissions && (R.dir = true), R.dir && (S = d(S)), R.createFolders && (M = x(S)) && _.call(this, M, true);
var V = F === "string" && R.binary === false && R.base64 === false;
P && P.binary !== void 0 || (R.binary = !V), (D instanceof g && D.uncompressedSize === 0 || R.dir || !D || D.length === 0) && (R.base64 = false, R.binary = true, D = "", R.compression = "STORE", F = "string");
var k = null;
k = D instanceof g || D instanceof a ? D : m.isNode && m.isStream(D) ? new l(S, D) : e.prepareContent(S, D, R.binary, R.optimizedBinaryString, R.base64);
var A = new v(S, k, R);
this.files[S] = A;
}
var i = r("./utf8"), e = r("./utils"), a = r("./stream/GenericWorker"), u = r("./stream/StreamHelper"), f = r("./defaults"), g = r("./compressedObject"), v = r("./zipObject"), c = r("./generate"), m = r("./nodejsUtils"), l = r("./nodejs/NodejsStreamInputAdapter"), x = function(S) {
S.slice(-1) === "/" && (S = S.substring(0, S.length - 1));
var D = S.lastIndexOf("/");
return 0 < D ? S.substring(0, D) : "";
}, d = function(S) {
return S.slice(-1) !== "/" && (S += "/"), S;
}, _ = function(S, D) {
return D = D !== void 0 ? D : f.createFolders, S = d(S), this.files[S] || n.call(this, S, null, {
dir: true,
createFolders: D
}), this.files[S];
};
function j(S) {
return Object.prototype.toString.call(S) === "[object RegExp]";
}
var E = {
load: function() {
throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
},
forEach: function(S) {
var D, P, M;
for (D in this.files) M = this.files[D], (P = D.slice(this.root.length, D.length)) && D.slice(0, this.root.length) === this.root && S(P, M);
},
filter: function(S) {
var D = [];
return this.forEach(function(P, M) {
S(P, M) && D.push(M);
}), D;
},
file: function(S, D, P) {
if (arguments.length !== 1) return S = this.root + S, n.call(this, S, D, P), this;
if (j(S)) {
var M = S;
return this.filter(function(R, V) {
return !V.dir && M.test(R);
});
}
var F = this.files[this.root + S];
return F && !F.dir ? F : null;
},
folder: function(S) {
if (!S) return this;
if (j(S)) return this.filter(function(F, R) {
return R.dir && S.test(F);
});
var D = this.root + S, P = _.call(this, D), M = this.clone();
return M.root = P.name, M;
},
remove: function(S) {
S = this.root + S;
var D = this.files[S];
if (D || (S.slice(-1) !== "/" && (S += "/"), D = this.files[S]), D && !D.dir) delete this.files[S];
else for (var P = this.filter(function(F, R) {
return R.name.slice(0, S.length) === S;
}), M = 0; M < P.length; M++) delete this.files[P[M].name];
return this;
},
generate: function() {
throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
},
generateInternalStream: function(S) {
var D, P = {};
try {
if ((P = e.extend(S || {}, {
streamFiles: false,
compression: "STORE",
compressionOptions: null,
type: "",
platform: "DOS",
comment: null,
mimeType: "application/zip",
encodeFileName: i.utf8encode
})).type = P.type.toLowerCase(), P.compression = P.compression.toUpperCase(), P.type === "binarystring" && (P.type = "string"), !P.type) throw new Error("No output type specified.");
e.checkSupport(P.type), P.platform !== "darwin" && P.platform !== "freebsd" && P.platform !== "linux" && P.platform !== "sunos" || (P.platform = "UNIX"), P.platform === "win32" && (P.platform = "DOS");
var M = P.comment || this.comment || "";
D = c.generateWorker(this, P, M);
} catch (F) {
(D = new a("error")).error(F);
}
return new u(D, P.type || "string", P.mimeType);
},
generateAsync: function(S, D) {
return this.generateInternalStream(S).accumulate(D);
},
generateNodeStream: function(S, D) {
return (S = S || {}).type || (S.type = "nodebuffer"), this.generateInternalStream(S).toNodejsStream(D);
}
};
p.exports = E;
},
{
"./compressedObject": 2,
"./defaults": 5,
"./generate": 9,
"./nodejs/NodejsStreamInputAdapter": 12,
"./nodejsUtils": 14,
"./stream/GenericWorker": 28,
"./stream/StreamHelper": 29,
"./utf8": 31,
"./utils": 32,
"./zipObject": 35
}
],
16: [
function(r, p, o) {
p.exports = r("stream");
},
{
stream: void 0
}
],
17: [
function(r, p, o) {
var n = r("./DataOn-chain registration not yet visible.
The aggregator served this blob, but we couldn't locate a matching BlobRegistered event in our scan window. It may not be certified yet, or live further back than we paged.
Lifecycle data is unavailable until the blob registration is visible on-chain.