quickwin 2026.5.2-3.145209
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 +6 -0
- package/examples/pdf_preview.js +440 -0
- package/examples/pdf_preview.ts +470 -0
- package/examples/preact_demo.js +35 -0
- package/examples/preact_demo.tsx +49 -0
- package/examples/tray_demo.js +75 -0
- package/examples/tray_demo.tsx +79 -0
- package/lib/fetch.js +746 -0
- package/lib/fetch.ts +811 -0
- package/lib/polyfill.js +500 -0
- package/lib/polyfill.ts +454 -0
- package/lib/preact/hooks.js +287 -0
- package/lib/preact/hooks.ts +330 -0
- package/lib/preact/jsx-runtime.js +1 -0
- package/lib/preact/jsx-runtime.ts +2 -0
- package/lib/preact/jsx.d.ts +36 -0
- package/lib/preact/layout.js +153 -0
- package/lib/preact/layout.ts +183 -0
- package/lib/preact/preact.js +54 -0
- package/lib/preact/preact.ts +133 -0
- package/lib/preact/props.js +99 -0
- package/lib/preact/props.ts +119 -0
- package/lib/preact/render.js +320 -0
- package/lib/preact/render.ts +353 -0
- package/lib/websocket.js +540 -0
- package/lib/websocket.ts +574 -0
- package/package.json +32 -0
- package/quickwin.d.ts +657 -0
- package/test/add.wasm +0 -0
- package/test/complex.wasm +0 -0
- package/test/complex_imports.wasm +0 -0
- package/test/global_imports.wasm +0 -0
- package/test/import_func.wasm +0 -0
- package/test/imports.wasm +0 -0
- package/test/run.js +86 -0
- package/test/run.ts +90 -0
- package/test/sjlj.wasm +0 -0
- package/test/test_basic.js +7 -0
- package/test/test_basic.ts +9 -0
- package/test/test_brotli.js +48 -0
- package/test/test_brotli.ts +52 -0
- package/test/test_fetch_cache.js +131 -0
- package/test/test_fetch_cache.ts +141 -0
- package/test/test_ffi.js +157 -0
- package/test/test_ffi.ts +174 -0
- package/test/test_frame_encoding.js +128 -0
- package/test/test_frame_encoding.ts +132 -0
- package/test/test_helper.js +84 -0
- package/test/test_helper.ts +80 -0
- package/test/test_http_import.js +78 -0
- package/test/test_http_import.ts +74 -0
- package/test/test_mupdf_render.js +69 -0
- package/test/test_mupdf_render.ts +74 -0
- package/test/test_mupdf_twice.js +77 -0
- package/test/test_mupdf_twice.ts +81 -0
- package/test/test_mupdf_wasm.js +33 -0
- package/test/test_mupdf_wasm.ts +30 -0
- package/test/test_net_event.js +63 -0
- package/test/test_net_event.ts +59 -0
- package/test/test_net_fetch.js +153 -0
- package/test/test_net_fetch.ts +131 -0
- package/test/test_net_websocket.js +158 -0
- package/test/test_net_websocket.ts +144 -0
- package/test/test_polyfill.js +58 -0
- package/test/test_polyfill.ts +60 -0
- package/test/test_url.js +173 -0
- package/test/test_url.ts +183 -0
- package/test/test_wasm_basic.js +82 -0
- package/test/test_wasm_basic.ts +70 -0
- package/test/test_wasm_import_global.js +41 -0
- package/test/test_wasm_import_global.ts +39 -0
- package/test/test_wasm_sjlj.js +153 -0
- package/test/test_wasm_sjlj.ts +134 -0
- package/test/test_wasm_types.js +96 -0
- package/test/test_wasm_types.ts +108 -0
- package/test/types.wasm +0 -0
- package/tsconfig.json +18 -0
- package/vendor/mupdf-wasm/mupdf-wasm.d.ts +571 -0
- package/vendor/mupdf-wasm/mupdf-wasm.js +2749 -0
- package/vendor/mupdf-wasm/mupdf-wasm.wasm +0 -0
- package/vendor/mupdf-wasm/mupdf.d.ts +939 -0
- package/vendor/mupdf-wasm/mupdf.js +3317 -0
- package/win-mingw64.exe +0 -0
|
@@ -0,0 +1,2749 @@
|
|
|
1
|
+
// This code implements the `-sMODULARIZE` settings by taking the generated
|
|
2
|
+
// JS program code (INNER_JS_CODE) and wrapping it in a factory function.
|
|
3
|
+
|
|
4
|
+
// When targeting node and ES6 we use `await import ..` in the generated code
|
|
5
|
+
// so the outer function needs to be marked as async.
|
|
6
|
+
async function libmupdf_wasm(moduleArg = {}) {
|
|
7
|
+
var moduleRtn;
|
|
8
|
+
|
|
9
|
+
// include: shell.js
|
|
10
|
+
// include: minimum_runtime_check.js
|
|
11
|
+
// end include: minimum_runtime_check.js
|
|
12
|
+
// The Module object: Our interface to the outside world. We import
|
|
13
|
+
// and export values on it. There are various ways Module can be used:
|
|
14
|
+
// 1. Not defined. We create it here
|
|
15
|
+
// 2. A function parameter, function(moduleArg) => Promise<Module>
|
|
16
|
+
// 3. pre-run appended it, var Module = {}; ..generated code..
|
|
17
|
+
// 4. External script tag defines var Module.
|
|
18
|
+
// We need to check if Module already exists (e.g. case 3 above).
|
|
19
|
+
// Substitution will be replaced with actual code on later stage of the build,
|
|
20
|
+
// this way Closure Compiler will not mangle it (e.g. case 4. above).
|
|
21
|
+
// Note that if you want to run closure, and also to use Module
|
|
22
|
+
// after the generated code, you will need to define var Module = {};
|
|
23
|
+
// before the code. Then that object will be used in the code, and you
|
|
24
|
+
// can continue to use Module afterwards as well.
|
|
25
|
+
var Module = moduleArg;
|
|
26
|
+
|
|
27
|
+
// Determine the runtime environment we are in. You can customize this by
|
|
28
|
+
// setting the ENVIRONMENT setting at compile time (see settings.js).
|
|
29
|
+
// Attempt to auto-detect the environment
|
|
30
|
+
var ENVIRONMENT_IS_WEB = !!globalThis.window;
|
|
31
|
+
|
|
32
|
+
var ENVIRONMENT_IS_WORKER = !!globalThis.WorkerGlobalScope;
|
|
33
|
+
|
|
34
|
+
// N.b. Electron.js environment is simultaneously a NODE-environment, but
|
|
35
|
+
// also a web environment.
|
|
36
|
+
var ENVIRONMENT_IS_NODE = globalThis.process?.versions?.node && globalThis.process?.type != "renderer";
|
|
37
|
+
|
|
38
|
+
if (ENVIRONMENT_IS_NODE) {
|
|
39
|
+
// When building an ES module `require` is not normally available.
|
|
40
|
+
// We need to use `createRequire()` to construct the require()` function.
|
|
41
|
+
const {createRequire} = await import("node:module");
|
|
42
|
+
/** @suppress{duplicate} */ var require = createRequire(import.meta.url);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// --pre-jses are emitted after the Module integration code, so that they can
|
|
46
|
+
// refer to Module (if they choose; they can also define Module)
|
|
47
|
+
var arguments_ = [];
|
|
48
|
+
|
|
49
|
+
var thisProgram = "./this.program";
|
|
50
|
+
|
|
51
|
+
var quit_ = (status, toThrow) => {
|
|
52
|
+
throw toThrow;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
var _scriptName = import.meta.url;
|
|
56
|
+
|
|
57
|
+
// `/` should be present at the end if `scriptDirectory` is not empty
|
|
58
|
+
var scriptDirectory = "";
|
|
59
|
+
|
|
60
|
+
function locateFile(path) {
|
|
61
|
+
if (Module["locateFile"]) {
|
|
62
|
+
return Module["locateFile"](path, scriptDirectory);
|
|
63
|
+
}
|
|
64
|
+
return scriptDirectory + path;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Hooks that are implemented differently in different runtime environments.
|
|
68
|
+
var readAsync, readBinary;
|
|
69
|
+
|
|
70
|
+
if (ENVIRONMENT_IS_NODE) {
|
|
71
|
+
// These modules will usually be used on Node.js. Load them eagerly to avoid
|
|
72
|
+
// the complexity of lazy-loading.
|
|
73
|
+
var fs = require("node:fs");
|
|
74
|
+
if (_scriptName.startsWith("file:")) {
|
|
75
|
+
scriptDirectory = require("node:path").dirname(require("node:url").fileURLToPath(_scriptName)) + "/";
|
|
76
|
+
}
|
|
77
|
+
// include: node_shell_read.js
|
|
78
|
+
readBinary = filename => {
|
|
79
|
+
// We need to re-wrap `file://` strings to URLs.
|
|
80
|
+
filename = isFileURI(filename) ? new URL(filename) : filename;
|
|
81
|
+
var ret = fs.readFileSync(filename);
|
|
82
|
+
return ret;
|
|
83
|
+
};
|
|
84
|
+
readAsync = async (filename, binary = true) => {
|
|
85
|
+
// See the comment in the `readBinary` function.
|
|
86
|
+
filename = isFileURI(filename) ? new URL(filename) : filename;
|
|
87
|
+
var ret = fs.readFileSync(filename, binary ? undefined : "utf8");
|
|
88
|
+
return ret;
|
|
89
|
+
};
|
|
90
|
+
// end include: node_shell_read.js
|
|
91
|
+
if (process.argv.length > 1) {
|
|
92
|
+
thisProgram = process.argv[1].replace(/\\/g, "/");
|
|
93
|
+
}
|
|
94
|
+
arguments_ = process.argv.slice(2);
|
|
95
|
+
quit_ = (status, toThrow) => {
|
|
96
|
+
process.exitCode = status;
|
|
97
|
+
throw toThrow;
|
|
98
|
+
};
|
|
99
|
+
} else // Note that this includes Node.js workers when relevant (pthreads is enabled).
|
|
100
|
+
// Node.js workers are detected as a combination of ENVIRONMENT_IS_WORKER and
|
|
101
|
+
// ENVIRONMENT_IS_NODE.
|
|
102
|
+
if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) {
|
|
103
|
+
try {
|
|
104
|
+
scriptDirectory = new URL(".", _scriptName).href;
|
|
105
|
+
} catch {}
|
|
106
|
+
{
|
|
107
|
+
// include: web_or_worker_shell_read.js
|
|
108
|
+
if (ENVIRONMENT_IS_WORKER) {
|
|
109
|
+
readBinary = url => {
|
|
110
|
+
var xhr = new XMLHttpRequest;
|
|
111
|
+
xhr.open("GET", url, false);
|
|
112
|
+
xhr.responseType = "arraybuffer";
|
|
113
|
+
xhr.send(null);
|
|
114
|
+
return new Uint8Array(/** @type{!ArrayBuffer} */ (xhr.response));
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
readAsync = async url => {
|
|
118
|
+
// Fetch has some additional restrictions over XHR, like it can't be used on a file:// url.
|
|
119
|
+
// See https://github.com/github/fetch/pull/92#issuecomment-140665932
|
|
120
|
+
// Cordova or Electron apps are typically loaded from a file:// url.
|
|
121
|
+
// So use XHR on webview if URL is a file URL.
|
|
122
|
+
if (isFileURI(url)) {
|
|
123
|
+
return new Promise((resolve, reject) => {
|
|
124
|
+
var xhr = new XMLHttpRequest;
|
|
125
|
+
xhr.open("GET", url, true);
|
|
126
|
+
xhr.responseType = "arraybuffer";
|
|
127
|
+
xhr.onload = () => {
|
|
128
|
+
if (xhr.status == 200 || (xhr.status == 0 && xhr.response)) {
|
|
129
|
+
// file URLs can return 0
|
|
130
|
+
resolve(xhr.response);
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
reject(xhr.status);
|
|
134
|
+
};
|
|
135
|
+
xhr.onerror = reject;
|
|
136
|
+
xhr.send(null);
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
var response = await fetch(url, {
|
|
140
|
+
credentials: "same-origin"
|
|
141
|
+
});
|
|
142
|
+
if (response.ok) {
|
|
143
|
+
return response.arrayBuffer();
|
|
144
|
+
}
|
|
145
|
+
throw new Error(response.status + " : " + response.url);
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
} else {}
|
|
149
|
+
|
|
150
|
+
var out = console.log.bind(console);
|
|
151
|
+
|
|
152
|
+
var err = console.error.bind(console);
|
|
153
|
+
|
|
154
|
+
// end include: shell.js
|
|
155
|
+
// include: preamble.js
|
|
156
|
+
// === Preamble library stuff ===
|
|
157
|
+
// Documentation for the public APIs defined in this file must be updated in:
|
|
158
|
+
// site/source/docs/api_reference/preamble.js.rst
|
|
159
|
+
// A prebuilt local version of the documentation is available at:
|
|
160
|
+
// site/build/text/docs/api_reference/preamble.js.txt
|
|
161
|
+
// You can also build docs locally as HTML or other formats in site/
|
|
162
|
+
// An online HTML version (which may be of a different version of Emscripten)
|
|
163
|
+
// is up at http://kripken.github.io/emscripten-site/docs/api_reference/preamble.js.html
|
|
164
|
+
var wasmBinary;
|
|
165
|
+
|
|
166
|
+
// Wasm globals
|
|
167
|
+
//========================================
|
|
168
|
+
// Runtime essentials
|
|
169
|
+
//========================================
|
|
170
|
+
// whether we are quitting the application. no code should run after this.
|
|
171
|
+
// set in exit() and abort()
|
|
172
|
+
var ABORT = false;
|
|
173
|
+
|
|
174
|
+
// set by exit() and abort(). Passed to 'onExit' handler.
|
|
175
|
+
// NOTE: This is also used as the process return code in shell environments
|
|
176
|
+
// but only when noExitRuntime is false.
|
|
177
|
+
var EXITSTATUS;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Indicates whether filename is delivered via file protocol (as opposed to http/https)
|
|
181
|
+
* @noinline
|
|
182
|
+
*/ var isFileURI = filename => filename.startsWith("file://");
|
|
183
|
+
|
|
184
|
+
// include: runtime_common.js
|
|
185
|
+
// include: runtime_stack_check.js
|
|
186
|
+
// end include: runtime_stack_check.js
|
|
187
|
+
// include: runtime_exceptions.js
|
|
188
|
+
// Base Emscripten EH error class
|
|
189
|
+
class EmscriptenEH {}
|
|
190
|
+
|
|
191
|
+
class EmscriptenSjLj extends EmscriptenEH {}
|
|
192
|
+
|
|
193
|
+
// end include: runtime_exceptions.js
|
|
194
|
+
// include: runtime_debug.js
|
|
195
|
+
// end include: runtime_debug.js
|
|
196
|
+
var readyPromiseResolve, readyPromiseReject;
|
|
197
|
+
|
|
198
|
+
// Memory management
|
|
199
|
+
var runtimeInitialized = false;
|
|
200
|
+
|
|
201
|
+
function updateMemoryViews() {
|
|
202
|
+
var b = wasmMemory.buffer;
|
|
203
|
+
HEAP8 = new Int8Array(b);
|
|
204
|
+
HEAP16 = new Int16Array(b);
|
|
205
|
+
Module["HEAPU8"] = HEAPU8 = new Uint8Array(b);
|
|
206
|
+
HEAPU16 = new Uint16Array(b);
|
|
207
|
+
Module["HEAP32"] = HEAP32 = new Int32Array(b);
|
|
208
|
+
Module["HEAPU32"] = HEAPU32 = new Uint32Array(b);
|
|
209
|
+
Module["HEAPF32"] = HEAPF32 = new Float32Array(b);
|
|
210
|
+
HEAPF64 = new Float64Array(b);
|
|
211
|
+
HEAP64 = new BigInt64Array(b);
|
|
212
|
+
HEAPU64 = new BigUint64Array(b);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// include: memoryprofiler.js
|
|
216
|
+
// end include: memoryprofiler.js
|
|
217
|
+
// end include: runtime_common.js
|
|
218
|
+
function preRun() {
|
|
219
|
+
if (Module["preRun"]) {
|
|
220
|
+
if (typeof Module["preRun"] == "function") Module["preRun"] = [ Module["preRun"] ];
|
|
221
|
+
while (Module["preRun"].length) {
|
|
222
|
+
addOnPreRun(Module["preRun"].shift());
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
// Begin ATPRERUNS hooks
|
|
226
|
+
callRuntimeCallbacks(onPreRuns);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
function initRuntime() {
|
|
230
|
+
runtimeInitialized = true;
|
|
231
|
+
wasmExports["db"]();
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
function postRun() {
|
|
235
|
+
// PThreads reuse the runtime from the main thread.
|
|
236
|
+
if (Module["postRun"]) {
|
|
237
|
+
if (typeof Module["postRun"] == "function") Module["postRun"] = [ Module["postRun"] ];
|
|
238
|
+
while (Module["postRun"].length) {
|
|
239
|
+
addOnPostRun(Module["postRun"].shift());
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
// Begin ATPOSTRUNS hooks
|
|
243
|
+
callRuntimeCallbacks(onPostRuns);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* @param {string|number=} what
|
|
248
|
+
*/ function abort(what) {
|
|
249
|
+
Module["onAbort"]?.(what);
|
|
250
|
+
what = `Aborted(${what})`;
|
|
251
|
+
// TODO(sbc): Should we remove printing and leave it up to whoever
|
|
252
|
+
// catches the exception?
|
|
253
|
+
err(what);
|
|
254
|
+
ABORT = true;
|
|
255
|
+
what += ". Build with -sASSERTIONS for more info.";
|
|
256
|
+
// Use a wasm runtime error, because a JS error might be seen as a foreign
|
|
257
|
+
// exception, which means we'd run destructors on it. We need the error to
|
|
258
|
+
// simply make the program stop.
|
|
259
|
+
// FIXME This approach does not work in Wasm EH because it currently does not assume
|
|
260
|
+
// all RuntimeErrors are from traps; it decides whether a RuntimeError is from
|
|
261
|
+
// a trap or not based on a hidden field within the object. So at the moment
|
|
262
|
+
// we don't have a way of throwing a wasm trap from JS. TODO Make a JS API that
|
|
263
|
+
// allows this in the wasm spec.
|
|
264
|
+
// Suppress closure compiler warning here. Closure compiler's builtin extern
|
|
265
|
+
// definition for WebAssembly.RuntimeError claims it takes no arguments even
|
|
266
|
+
// though it can.
|
|
267
|
+
// TODO(https://github.com/google/closure-compiler/pull/3913): Remove if/when upstream closure gets fixed.
|
|
268
|
+
/** @suppress {checkTypes} */ var e = new WebAssembly.RuntimeError(what);
|
|
269
|
+
readyPromiseReject?.(e);
|
|
270
|
+
// Throw the error whether or not MODULARIZE is set because abort is used
|
|
271
|
+
// in code paths apart from instantiation where an exception is expected
|
|
272
|
+
// to be thrown when abort is called.
|
|
273
|
+
throw e;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
var wasmBinaryFile;
|
|
277
|
+
|
|
278
|
+
function findWasmBinary() {
|
|
279
|
+
if (Module["locateFile"]) {
|
|
280
|
+
return locateFile("mupdf-wasm.wasm");
|
|
281
|
+
}
|
|
282
|
+
// Use bundler-friendly `new URL(..., import.meta.url)` pattern; works in browsers too.
|
|
283
|
+
return new URL("mupdf-wasm.wasm", import.meta.url).href;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
function getBinarySync(file) {
|
|
287
|
+
if (file == wasmBinaryFile && wasmBinary) {
|
|
288
|
+
return new Uint8Array(wasmBinary);
|
|
289
|
+
}
|
|
290
|
+
if (readBinary) {
|
|
291
|
+
return readBinary(file);
|
|
292
|
+
}
|
|
293
|
+
// Throwing a plain string here, even though it not normally advisable since
|
|
294
|
+
// this gets turning into an `abort` in instantiateArrayBuffer.
|
|
295
|
+
throw "both async and sync fetching of the wasm failed";
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
async function getWasmBinary(binaryFile) {
|
|
299
|
+
// If we don't have the binary yet, load it asynchronously using readAsync.
|
|
300
|
+
if (!wasmBinary) {
|
|
301
|
+
// Fetch the binary using readAsync
|
|
302
|
+
try {
|
|
303
|
+
var response = await readAsync(binaryFile);
|
|
304
|
+
return new Uint8Array(response);
|
|
305
|
+
} catch {}
|
|
306
|
+
}
|
|
307
|
+
// Otherwise, getBinarySync should be able to get it synchronously
|
|
308
|
+
return getBinarySync(binaryFile);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
async function instantiateArrayBuffer(binaryFile, imports) {
|
|
312
|
+
try {
|
|
313
|
+
var binary = await getWasmBinary(binaryFile);
|
|
314
|
+
var instance = await WebAssembly.instantiate(binary, imports);
|
|
315
|
+
return instance;
|
|
316
|
+
} catch (reason) {
|
|
317
|
+
err(`failed to asynchronously prepare wasm: ${reason}`);
|
|
318
|
+
abort(reason);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
async function instantiateAsync(binary, binaryFile, imports) {
|
|
323
|
+
if (!binary && !isFileURI(binaryFile) && !ENVIRONMENT_IS_NODE) {
|
|
324
|
+
try {
|
|
325
|
+
var response = fetch(binaryFile, {
|
|
326
|
+
credentials: "same-origin"
|
|
327
|
+
});
|
|
328
|
+
var instantiationResult = await WebAssembly.instantiateStreaming(response, imports);
|
|
329
|
+
return instantiationResult;
|
|
330
|
+
} catch (reason) {
|
|
331
|
+
// We expect the most common failure cause to be a bad MIME type for the binary,
|
|
332
|
+
// in which case falling back to ArrayBuffer instantiation should work.
|
|
333
|
+
err(`wasm streaming compile failed: ${reason}`);
|
|
334
|
+
err("falling back to ArrayBuffer instantiation");
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
return instantiateArrayBuffer(binaryFile, imports);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
function getWasmImports() {
|
|
341
|
+
// prepare imports
|
|
342
|
+
var imports = {
|
|
343
|
+
"a": wasmImports
|
|
344
|
+
};
|
|
345
|
+
return imports;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
// Create the wasm instance.
|
|
349
|
+
// Receives the wasm imports, returns the exports.
|
|
350
|
+
async function createWasm() {
|
|
351
|
+
// Load the wasm module and create an instance of using native support in the JS engine.
|
|
352
|
+
// handle a generated wasm instance, receiving its exports and
|
|
353
|
+
// performing other necessary setup
|
|
354
|
+
/** @param {WebAssembly.Module=} module*/ function receiveInstance(instance, module) {
|
|
355
|
+
wasmExports = instance.exports;
|
|
356
|
+
assignWasmExports(wasmExports);
|
|
357
|
+
updateMemoryViews();
|
|
358
|
+
return wasmExports;
|
|
359
|
+
}
|
|
360
|
+
// Prefer streaming instantiation if available.
|
|
361
|
+
function receiveInstantiationResult(result) {
|
|
362
|
+
// 'result' is a ResultObject object which has both the module and instance.
|
|
363
|
+
// receiveInstance() will swap in the exports (to Module.asm) so they can be called
|
|
364
|
+
// TODO: Due to Closure regression https://github.com/google/closure-compiler/issues/3193, the above line no longer optimizes out down to the following line.
|
|
365
|
+
// When the regression is fixed, can restore the above PTHREADS-enabled path.
|
|
366
|
+
return receiveInstance(result["instance"]);
|
|
367
|
+
}
|
|
368
|
+
var info = getWasmImports();
|
|
369
|
+
// User shell pages can write their own Module.instantiateWasm = function(imports, successCallback) callback
|
|
370
|
+
// to manually instantiate the Wasm module themselves. This allows pages to
|
|
371
|
+
// run the instantiation parallel to any other async startup actions they are
|
|
372
|
+
// performing.
|
|
373
|
+
// Also pthreads and wasm workers initialize the wasm instance through this
|
|
374
|
+
// path.
|
|
375
|
+
if (Module["instantiateWasm"]) {
|
|
376
|
+
return new Promise((resolve, reject) => {
|
|
377
|
+
Module["instantiateWasm"](info, (inst, mod) => {
|
|
378
|
+
resolve(receiveInstance(inst, mod));
|
|
379
|
+
});
|
|
380
|
+
});
|
|
381
|
+
}
|
|
382
|
+
wasmBinaryFile ??= findWasmBinary();
|
|
383
|
+
var result = await instantiateAsync(wasmBinary, wasmBinaryFile, info);
|
|
384
|
+
var exports = receiveInstantiationResult(result);
|
|
385
|
+
return exports;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
// end include: preamble.js
|
|
389
|
+
// Begin JS library code
|
|
390
|
+
class ExitStatus {
|
|
391
|
+
name="ExitStatus";
|
|
392
|
+
constructor(status) {
|
|
393
|
+
this.message = `Program terminated with exit(${status})`;
|
|
394
|
+
this.status = status;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/** @type {!Int16Array} */ var HEAP16;
|
|
399
|
+
|
|
400
|
+
/** @type {!Int32Array} */ var HEAP32;
|
|
401
|
+
|
|
402
|
+
/** not-@type {!BigInt64Array} */ var HEAP64;
|
|
403
|
+
|
|
404
|
+
/** @type {!Int8Array} */ var HEAP8;
|
|
405
|
+
|
|
406
|
+
/** @type {!Float32Array} */ var HEAPF32;
|
|
407
|
+
|
|
408
|
+
/** @type {!Float64Array} */ var HEAPF64;
|
|
409
|
+
|
|
410
|
+
/** @type {!Uint16Array} */ var HEAPU16;
|
|
411
|
+
|
|
412
|
+
/** @type {!Uint32Array} */ var HEAPU32;
|
|
413
|
+
|
|
414
|
+
/** not-@type {!BigUint64Array} */ var HEAPU64;
|
|
415
|
+
|
|
416
|
+
/** @type {!Uint8Array} */ var HEAPU8;
|
|
417
|
+
|
|
418
|
+
var callRuntimeCallbacks = callbacks => {
|
|
419
|
+
while (callbacks.length > 0) {
|
|
420
|
+
// Pass the module as the first argument.
|
|
421
|
+
callbacks.shift()(Module);
|
|
422
|
+
}
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
var onPostRuns = [];
|
|
426
|
+
|
|
427
|
+
var addOnPostRun = cb => onPostRuns.push(cb);
|
|
428
|
+
|
|
429
|
+
var onPreRuns = [];
|
|
430
|
+
|
|
431
|
+
var addOnPreRun = cb => onPreRuns.push(cb);
|
|
432
|
+
|
|
433
|
+
var noExitRuntime = true;
|
|
434
|
+
|
|
435
|
+
var stackRestore = val => __emscripten_stack_restore(val);
|
|
436
|
+
|
|
437
|
+
var stackSave = () => _emscripten_stack_get_current();
|
|
438
|
+
|
|
439
|
+
var UTF8Decoder = new TextDecoder;
|
|
440
|
+
|
|
441
|
+
var findStringEnd = (heapOrArray, idx, maxBytesToRead, ignoreNul) => {
|
|
442
|
+
var maxIdx = idx + maxBytesToRead;
|
|
443
|
+
if (ignoreNul) return maxIdx;
|
|
444
|
+
// TextDecoder needs to know the byte length in advance, it doesn't stop on
|
|
445
|
+
// null terminator by itself.
|
|
446
|
+
// As a tiny code save trick, compare idx against maxIdx using a negation,
|
|
447
|
+
// so that maxBytesToRead=undefined/NaN means Infinity.
|
|
448
|
+
while (heapOrArray[idx] && !(idx >= maxIdx)) ++idx;
|
|
449
|
+
return idx;
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Given a pointer 'ptr' to a null-terminated UTF8-encoded string in the
|
|
454
|
+
* emscripten HEAP, returns a copy of that string as a Javascript String object.
|
|
455
|
+
*
|
|
456
|
+
* @param {number} ptr
|
|
457
|
+
* @param {number=} maxBytesToRead - An optional length that specifies the
|
|
458
|
+
* maximum number of bytes to read. You can omit this parameter to scan the
|
|
459
|
+
* string until the first 0 byte. If maxBytesToRead is passed, and the string
|
|
460
|
+
* at [ptr, ptr+maxBytesToReadr[ contains a null byte in the middle, then the
|
|
461
|
+
* string will cut short at that byte index.
|
|
462
|
+
* @param {boolean=} ignoreNul - If true, the function will not stop on a NUL character.
|
|
463
|
+
* @return {string}
|
|
464
|
+
*/ var UTF8ToString = (ptr, maxBytesToRead, ignoreNul) => {
|
|
465
|
+
if (!ptr) return "";
|
|
466
|
+
var end = findStringEnd(HEAPU8, ptr, maxBytesToRead, ignoreNul);
|
|
467
|
+
return UTF8Decoder.decode(HEAPU8.subarray(ptr, end));
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
var SYSCALLS = {
|
|
471
|
+
varargs: undefined,
|
|
472
|
+
getStr(ptr) {
|
|
473
|
+
var ret = UTF8ToString(ptr);
|
|
474
|
+
return ret;
|
|
475
|
+
}
|
|
476
|
+
};
|
|
477
|
+
|
|
478
|
+
function ___syscall_fcntl64(fd, cmd, varargs) {
|
|
479
|
+
SYSCALLS.varargs = varargs;
|
|
480
|
+
return 0;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
var INT53_MAX = 9007199254740992;
|
|
484
|
+
|
|
485
|
+
var INT53_MIN = -9007199254740992;
|
|
486
|
+
|
|
487
|
+
var bigintToI53Checked = num => (num < INT53_MIN || num > INT53_MAX) ? NaN : Number(num);
|
|
488
|
+
|
|
489
|
+
function ___syscall_ftruncate64(fd, length) {
|
|
490
|
+
length = bigintToI53Checked(length);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
function ___syscall_ioctl(fd, op, varargs) {
|
|
494
|
+
SYSCALLS.varargs = varargs;
|
|
495
|
+
return 0;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
function ___syscall_openat(dirfd, path, flags, varargs) {
|
|
499
|
+
SYSCALLS.varargs = varargs;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
var ___syscall_rmdir = path => {};
|
|
503
|
+
|
|
504
|
+
var ___syscall_unlinkat = (dirfd, path, flags) => {};
|
|
505
|
+
|
|
506
|
+
var __emscripten_throw_longjmp = () => {
|
|
507
|
+
throw new EmscriptenSjLj;
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
function __gmtime_js(time, tmPtr) {
|
|
511
|
+
time = bigintToI53Checked(time);
|
|
512
|
+
var date = new Date(time * 1e3);
|
|
513
|
+
HEAP32[((tmPtr) >> 2)] = date.getUTCSeconds();
|
|
514
|
+
HEAP32[(((tmPtr) + (4)) >> 2)] = date.getUTCMinutes();
|
|
515
|
+
HEAP32[(((tmPtr) + (8)) >> 2)] = date.getUTCHours();
|
|
516
|
+
HEAP32[(((tmPtr) + (12)) >> 2)] = date.getUTCDate();
|
|
517
|
+
HEAP32[(((tmPtr) + (16)) >> 2)] = date.getUTCMonth();
|
|
518
|
+
HEAP32[(((tmPtr) + (20)) >> 2)] = date.getUTCFullYear() - 1900;
|
|
519
|
+
HEAP32[(((tmPtr) + (24)) >> 2)] = date.getUTCDay();
|
|
520
|
+
var start = Date.UTC(date.getUTCFullYear(), 0, 1, 0, 0, 0, 0);
|
|
521
|
+
var yday = ((date.getTime() - start) / (1e3 * 60 * 60 * 24)) | 0;
|
|
522
|
+
HEAP32[(((tmPtr) + (28)) >> 2)] = yday;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
var __timegm_js = function(tmPtr) {
|
|
526
|
+
var ret = (() => {
|
|
527
|
+
var time = Date.UTC(HEAP32[(((tmPtr) + (20)) >> 2)] + 1900, HEAP32[(((tmPtr) + (16)) >> 2)], HEAP32[(((tmPtr) + (12)) >> 2)], HEAP32[(((tmPtr) + (8)) >> 2)], HEAP32[(((tmPtr) + (4)) >> 2)], HEAP32[((tmPtr) >> 2)], 0);
|
|
528
|
+
var date = new Date(time);
|
|
529
|
+
HEAP32[(((tmPtr) + (24)) >> 2)] = date.getUTCDay();
|
|
530
|
+
var start = Date.UTC(date.getUTCFullYear(), 0, 1, 0, 0, 0, 0);
|
|
531
|
+
var yday = ((date.getTime() - start) / (1e3 * 60 * 60 * 24)) | 0;
|
|
532
|
+
HEAP32[(((tmPtr) + (28)) >> 2)] = yday;
|
|
533
|
+
return date.getTime() / 1e3;
|
|
534
|
+
})();
|
|
535
|
+
return BigInt(ret);
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
var stringToUTF8Array = (str, heap, outIdx, maxBytesToWrite) => {
|
|
539
|
+
// Parameter maxBytesToWrite is not optional. Negative values, 0, null,
|
|
540
|
+
// undefined and false each don't write out any bytes.
|
|
541
|
+
if (!(maxBytesToWrite > 0)) return 0;
|
|
542
|
+
var startIdx = outIdx;
|
|
543
|
+
var endIdx = outIdx + maxBytesToWrite - 1;
|
|
544
|
+
// -1 for string null terminator.
|
|
545
|
+
for (var i = 0; i < str.length; ++i) {
|
|
546
|
+
// For UTF8 byte structure, see http://en.wikipedia.org/wiki/UTF-8#Description
|
|
547
|
+
// and https://www.ietf.org/rfc/rfc2279.txt
|
|
548
|
+
// and https://tools.ietf.org/html/rfc3629
|
|
549
|
+
var u = str.codePointAt(i);
|
|
550
|
+
if (u <= 127) {
|
|
551
|
+
if (outIdx >= endIdx) break;
|
|
552
|
+
heap[outIdx++] = u;
|
|
553
|
+
} else if (u <= 2047) {
|
|
554
|
+
if (outIdx + 1 >= endIdx) break;
|
|
555
|
+
heap[outIdx++] = 192 | (u >> 6);
|
|
556
|
+
heap[outIdx++] = 128 | (u & 63);
|
|
557
|
+
} else if (u <= 65535) {
|
|
558
|
+
if (outIdx + 2 >= endIdx) break;
|
|
559
|
+
heap[outIdx++] = 224 | (u >> 12);
|
|
560
|
+
heap[outIdx++] = 128 | ((u >> 6) & 63);
|
|
561
|
+
heap[outIdx++] = 128 | (u & 63);
|
|
562
|
+
} else {
|
|
563
|
+
if (outIdx + 3 >= endIdx) break;
|
|
564
|
+
heap[outIdx++] = 240 | (u >> 18);
|
|
565
|
+
heap[outIdx++] = 128 | ((u >> 12) & 63);
|
|
566
|
+
heap[outIdx++] = 128 | ((u >> 6) & 63);
|
|
567
|
+
heap[outIdx++] = 128 | (u & 63);
|
|
568
|
+
// Gotcha: if codePoint is over 0xFFFF, it is represented as a surrogate pair in UTF-16.
|
|
569
|
+
// We need to manually skip over the second code unit for correct iteration.
|
|
570
|
+
i++;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
// Null-terminate the pointer to the buffer.
|
|
574
|
+
heap[outIdx] = 0;
|
|
575
|
+
return outIdx - startIdx;
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
var stringToUTF8 = (str, outPtr, maxBytesToWrite) => stringToUTF8Array(str, HEAPU8, outPtr, maxBytesToWrite);
|
|
579
|
+
|
|
580
|
+
var __tzset_js = (timezone, daylight, std_name, dst_name) => {
|
|
581
|
+
// TODO: Use (malleable) environment variables instead of system settings.
|
|
582
|
+
var currentYear = (new Date).getFullYear();
|
|
583
|
+
var winter = new Date(currentYear, 0, 1);
|
|
584
|
+
var summer = new Date(currentYear, 6, 1);
|
|
585
|
+
var winterOffset = winter.getTimezoneOffset();
|
|
586
|
+
var summerOffset = summer.getTimezoneOffset();
|
|
587
|
+
// Local standard timezone offset. Local standard time is not adjusted for
|
|
588
|
+
// daylight savings. This code uses the fact that getTimezoneOffset returns
|
|
589
|
+
// a greater value during Standard Time versus Daylight Saving Time (DST).
|
|
590
|
+
// Thus it determines the expected output during Standard Time, and it
|
|
591
|
+
// compares whether the output of the given date the same (Standard) or less
|
|
592
|
+
// (DST).
|
|
593
|
+
var stdTimezoneOffset = Math.max(winterOffset, summerOffset);
|
|
594
|
+
// timezone is specified as seconds west of UTC ("The external variable
|
|
595
|
+
// `timezone` shall be set to the difference, in seconds, between
|
|
596
|
+
// Coordinated Universal Time (UTC) and local standard time."), the same
|
|
597
|
+
// as returned by stdTimezoneOffset.
|
|
598
|
+
// See http://pubs.opengroup.org/onlinepubs/009695399/functions/tzset.html
|
|
599
|
+
HEAPU32[((timezone) >> 2)] = stdTimezoneOffset * 60;
|
|
600
|
+
HEAP32[((daylight) >> 2)] = Number(winterOffset != summerOffset);
|
|
601
|
+
var extractZone = timezoneOffset => {
|
|
602
|
+
// Why inverse sign?
|
|
603
|
+
// Read here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset
|
|
604
|
+
var sign = timezoneOffset >= 0 ? "-" : "+";
|
|
605
|
+
var absOffset = Math.abs(timezoneOffset);
|
|
606
|
+
var hours = String(Math.floor(absOffset / 60)).padStart(2, "0");
|
|
607
|
+
var minutes = String(absOffset % 60).padStart(2, "0");
|
|
608
|
+
return `UTC${sign}${hours}${minutes}`;
|
|
609
|
+
};
|
|
610
|
+
var winterName = extractZone(winterOffset);
|
|
611
|
+
var summerName = extractZone(summerOffset);
|
|
612
|
+
if (summerOffset < winterOffset) {
|
|
613
|
+
// Northern hemisphere
|
|
614
|
+
stringToUTF8(winterName, std_name, 17);
|
|
615
|
+
stringToUTF8(summerName, dst_name, 17);
|
|
616
|
+
} else {
|
|
617
|
+
stringToUTF8(winterName, dst_name, 17);
|
|
618
|
+
stringToUTF8(summerName, std_name, 17);
|
|
619
|
+
}
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
var _emscripten_get_now = () => performance.now();
|
|
623
|
+
|
|
624
|
+
var _emscripten_date_now = () => Date.now();
|
|
625
|
+
|
|
626
|
+
var nowIsMonotonic = 1;
|
|
627
|
+
|
|
628
|
+
var checkWasiClock = clock_id => clock_id >= 0 && clock_id <= 3;
|
|
629
|
+
|
|
630
|
+
function _clock_time_get(clk_id, ignored_precision, ptime) {
|
|
631
|
+
ignored_precision = bigintToI53Checked(ignored_precision);
|
|
632
|
+
if (!checkWasiClock(clk_id)) {
|
|
633
|
+
return 28;
|
|
634
|
+
}
|
|
635
|
+
var now;
|
|
636
|
+
// all wasi clocks but realtime are monotonic
|
|
637
|
+
if (clk_id === 0) {
|
|
638
|
+
now = _emscripten_date_now();
|
|
639
|
+
} else if (nowIsMonotonic) {
|
|
640
|
+
now = _emscripten_get_now();
|
|
641
|
+
} else {
|
|
642
|
+
return 52;
|
|
643
|
+
}
|
|
644
|
+
// "now" is in ms, and wasi times are in ns.
|
|
645
|
+
var nsec = Math.round(now * 1e3 * 1e3);
|
|
646
|
+
HEAP64[((ptime) >> 3)] = BigInt(nsec);
|
|
647
|
+
return 0;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
var readEmAsmArgsArray = [];
|
|
651
|
+
|
|
652
|
+
var readEmAsmArgs = (sigPtr, buf) => {
|
|
653
|
+
readEmAsmArgsArray.length = 0;
|
|
654
|
+
var ch;
|
|
655
|
+
// Most arguments are i32s, so shift the buffer pointer so it is a plain
|
|
656
|
+
// index into HEAP32.
|
|
657
|
+
while (ch = HEAPU8[sigPtr++]) {
|
|
658
|
+
// Floats are always passed as doubles, so all types except for 'i'
|
|
659
|
+
// are 8 bytes and require alignment.
|
|
660
|
+
var wide = (ch != 105);
|
|
661
|
+
wide &= (ch != 112);
|
|
662
|
+
buf += wide && (buf % 8) ? 4 : 0;
|
|
663
|
+
readEmAsmArgsArray.push(// Special case for pointers under wasm64 or CAN_ADDRESS_2GB mode.
|
|
664
|
+
ch == 112 ? HEAPU32[((buf) >> 2)] : ch == 106 ? HEAP64[((buf) >> 3)] : ch == 105 ? HEAP32[((buf) >> 2)] : HEAPF64[((buf) >> 3)]);
|
|
665
|
+
buf += wide ? 8 : 4;
|
|
666
|
+
}
|
|
667
|
+
return readEmAsmArgsArray;
|
|
668
|
+
};
|
|
669
|
+
|
|
670
|
+
var runEmAsmFunction = (code, sigPtr, argbuf) => {
|
|
671
|
+
var args = readEmAsmArgs(sigPtr, argbuf);
|
|
672
|
+
return ASM_CONSTS[code](...args);
|
|
673
|
+
};
|
|
674
|
+
|
|
675
|
+
var _emscripten_asm_const_int = (code, sigPtr, argbuf) => runEmAsmFunction(code, sigPtr, argbuf);
|
|
676
|
+
|
|
677
|
+
var _emscripten_asm_const_ptr = (code, sigPtr, argbuf) => runEmAsmFunction(code, sigPtr, argbuf);
|
|
678
|
+
|
|
679
|
+
var getHeapMax = () => // Stay one Wasm page short of 4GB: while e.g. Chrome is able to allocate
|
|
680
|
+
// full 4GB Wasm memories, the size will wrap back to 0 bytes in Wasm side
|
|
681
|
+
// for any code that deals with heap sizes, which would require special
|
|
682
|
+
// casing all heap size related code to treat 0 specially.
|
|
683
|
+
2147483648;
|
|
684
|
+
|
|
685
|
+
var alignMemory = (size, alignment) => Math.ceil(size / alignment) * alignment;
|
|
686
|
+
|
|
687
|
+
var growMemory = size => {
|
|
688
|
+
var oldHeapSize = wasmMemory.buffer.byteLength;
|
|
689
|
+
var pages = ((size - oldHeapSize + 65535) / 65536) | 0;
|
|
690
|
+
try {
|
|
691
|
+
// round size grow request up to wasm page size (fixed 64KB per spec)
|
|
692
|
+
wasmMemory.grow(pages);
|
|
693
|
+
// .grow() takes a delta compared to the previous size
|
|
694
|
+
updateMemoryViews();
|
|
695
|
+
return 1;
|
|
696
|
+
} catch (e) {}
|
|
697
|
+
};
|
|
698
|
+
|
|
699
|
+
var _emscripten_resize_heap = requestedSize => {
|
|
700
|
+
var oldSize = HEAPU8.length;
|
|
701
|
+
// With CAN_ADDRESS_2GB or MEMORY64, pointers are already unsigned.
|
|
702
|
+
requestedSize >>>= 0;
|
|
703
|
+
// With multithreaded builds, races can happen (another thread might increase the size
|
|
704
|
+
// in between), so return a failure, and let the caller retry.
|
|
705
|
+
// Memory resize rules:
|
|
706
|
+
// 1. Always increase heap size to at least the requested size, rounded up
|
|
707
|
+
// to next page multiple.
|
|
708
|
+
// 2a. If MEMORY_GROWTH_LINEAR_STEP == -1, excessively resize the heap
|
|
709
|
+
// geometrically: increase the heap size according to
|
|
710
|
+
// MEMORY_GROWTH_GEOMETRIC_STEP factor (default +20%), At most
|
|
711
|
+
// overreserve by MEMORY_GROWTH_GEOMETRIC_CAP bytes (default 96MB).
|
|
712
|
+
// 2b. If MEMORY_GROWTH_LINEAR_STEP != -1, excessively resize the heap
|
|
713
|
+
// linearly: increase the heap size by at least
|
|
714
|
+
// MEMORY_GROWTH_LINEAR_STEP bytes.
|
|
715
|
+
// 3. Max size for the heap is capped at 2048MB-WASM_PAGE_SIZE, or by
|
|
716
|
+
// MAXIMUM_MEMORY, or by ASAN limit, depending on which is smallest
|
|
717
|
+
// 4. If we were unable to allocate as much memory, it may be due to
|
|
718
|
+
// over-eager decision to excessively reserve due to (3) above.
|
|
719
|
+
// Hence if an allocation fails, cut down on the amount of excess
|
|
720
|
+
// growth, in an attempt to succeed to perform a smaller allocation.
|
|
721
|
+
// A limit is set for how much we can grow. We should not exceed that
|
|
722
|
+
// (the wasm binary specifies it, so if we tried, we'd fail anyhow).
|
|
723
|
+
var maxHeapSize = getHeapMax();
|
|
724
|
+
if (requestedSize > maxHeapSize) {
|
|
725
|
+
return false;
|
|
726
|
+
}
|
|
727
|
+
// Loop through potential heap size increases. If we attempt a too eager
|
|
728
|
+
// reservation that fails, cut down on the attempted size and reserve a
|
|
729
|
+
// smaller bump instead. (max 3 times, chosen somewhat arbitrarily)
|
|
730
|
+
for (var cutDown = 1; cutDown <= 4; cutDown *= 2) {
|
|
731
|
+
var overGrownHeapSize = oldSize * (1 + .2 / cutDown);
|
|
732
|
+
// ensure geometric growth
|
|
733
|
+
// but limit overreserving (default to capping at +96MB overgrowth at most)
|
|
734
|
+
overGrownHeapSize = Math.min(overGrownHeapSize, requestedSize + 100663296);
|
|
735
|
+
var newSize = Math.min(maxHeapSize, alignMemory(Math.max(requestedSize, overGrownHeapSize), 65536));
|
|
736
|
+
var replacement = growMemory(newSize);
|
|
737
|
+
if (replacement) {
|
|
738
|
+
return true;
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
return false;
|
|
742
|
+
};
|
|
743
|
+
|
|
744
|
+
var ENV = {};
|
|
745
|
+
|
|
746
|
+
var getExecutableName = () => thisProgram || "./this.program";
|
|
747
|
+
|
|
748
|
+
var getEnvStrings = () => {
|
|
749
|
+
if (!getEnvStrings.strings) {
|
|
750
|
+
// Default values.
|
|
751
|
+
var lang = (globalThis.navigator?.language ?? "C").replace("-", "_") + ".UTF-8";
|
|
752
|
+
var env = {
|
|
753
|
+
"USER": "web_user",
|
|
754
|
+
"LOGNAME": "web_user",
|
|
755
|
+
"PATH": "/",
|
|
756
|
+
"PWD": "/",
|
|
757
|
+
"HOME": "/home/web_user",
|
|
758
|
+
"LANG": lang,
|
|
759
|
+
"_": getExecutableName()
|
|
760
|
+
};
|
|
761
|
+
// Apply the user-provided values, if any.
|
|
762
|
+
for (var x in ENV) {
|
|
763
|
+
// x is a key in ENV; if ENV[x] is undefined, that means it was
|
|
764
|
+
// explicitly set to be so. We allow user code to do that to
|
|
765
|
+
// force variables with default values to remain unset.
|
|
766
|
+
if (ENV[x] === undefined) delete env[x]; else env[x] = ENV[x];
|
|
767
|
+
}
|
|
768
|
+
var strings = [];
|
|
769
|
+
for (var x in env) {
|
|
770
|
+
strings.push(`${x}=${env[x]}`);
|
|
771
|
+
}
|
|
772
|
+
getEnvStrings.strings = strings;
|
|
773
|
+
}
|
|
774
|
+
return getEnvStrings.strings;
|
|
775
|
+
};
|
|
776
|
+
|
|
777
|
+
var _environ_get = (__environ, environ_buf) => {
|
|
778
|
+
var bufSize = 0;
|
|
779
|
+
var envp = 0;
|
|
780
|
+
for (var string of getEnvStrings()) {
|
|
781
|
+
var ptr = environ_buf + bufSize;
|
|
782
|
+
HEAPU32[(((__environ) + (envp)) >> 2)] = ptr;
|
|
783
|
+
bufSize += stringToUTF8(string, ptr, Infinity) + 1;
|
|
784
|
+
envp += 4;
|
|
785
|
+
}
|
|
786
|
+
return 0;
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
var lengthBytesUTF8 = str => {
|
|
790
|
+
var len = 0;
|
|
791
|
+
for (var i = 0; i < str.length; ++i) {
|
|
792
|
+
// Gotcha: charCodeAt returns a 16-bit word that is a UTF-16 encoded code
|
|
793
|
+
// unit, not a Unicode code point of the character! So decode
|
|
794
|
+
// UTF16->UTF32->UTF8.
|
|
795
|
+
// See http://unicode.org/faq/utf_bom.html#utf16-3
|
|
796
|
+
var c = str.charCodeAt(i);
|
|
797
|
+
// possibly a lead surrogate
|
|
798
|
+
if (c <= 127) {
|
|
799
|
+
len++;
|
|
800
|
+
} else if (c <= 2047) {
|
|
801
|
+
len += 2;
|
|
802
|
+
} else if (c >= 55296 && c <= 57343) {
|
|
803
|
+
len += 4;
|
|
804
|
+
++i;
|
|
805
|
+
} else {
|
|
806
|
+
len += 3;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
return len;
|
|
810
|
+
};
|
|
811
|
+
|
|
812
|
+
var _environ_sizes_get = (penviron_count, penviron_buf_size) => {
|
|
813
|
+
var strings = getEnvStrings();
|
|
814
|
+
HEAPU32[((penviron_count) >> 2)] = strings.length;
|
|
815
|
+
var bufSize = 0;
|
|
816
|
+
for (var string of strings) {
|
|
817
|
+
bufSize += lengthBytesUTF8(string) + 1;
|
|
818
|
+
}
|
|
819
|
+
HEAPU32[((penviron_buf_size) >> 2)] = bufSize;
|
|
820
|
+
return 0;
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
var runtimeKeepaliveCounter = 0;
|
|
824
|
+
|
|
825
|
+
var keepRuntimeAlive = () => noExitRuntime || runtimeKeepaliveCounter > 0;
|
|
826
|
+
|
|
827
|
+
var _proc_exit = code => {
|
|
828
|
+
EXITSTATUS = code;
|
|
829
|
+
if (!keepRuntimeAlive()) {
|
|
830
|
+
Module["onExit"]?.(code);
|
|
831
|
+
ABORT = true;
|
|
832
|
+
}
|
|
833
|
+
quit_(code, new ExitStatus(code));
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
/** @param {boolean|number=} implicit */ var exitJS = (status, implicit) => {
|
|
837
|
+
EXITSTATUS = status;
|
|
838
|
+
_proc_exit(status);
|
|
839
|
+
};
|
|
840
|
+
|
|
841
|
+
var _exit = exitJS;
|
|
842
|
+
|
|
843
|
+
var _fd_close = fd => 52;
|
|
844
|
+
|
|
845
|
+
var _fd_read = (fd, iov, iovcnt, pnum) => 52;
|
|
846
|
+
|
|
847
|
+
function _fd_seek(fd, offset, whence, newOffset) {
|
|
848
|
+
offset = bigintToI53Checked(offset);
|
|
849
|
+
return 70;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
var printCharBuffers = [ null, [], [] ];
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* Given a pointer 'idx' to a null-terminated UTF8-encoded string in the given
|
|
856
|
+
* array that contains uint8 values, returns a copy of that string as a
|
|
857
|
+
* Javascript String object.
|
|
858
|
+
* heapOrArray is either a regular array, or a JavaScript typed array view.
|
|
859
|
+
* @param {number=} idx
|
|
860
|
+
* @param {number=} maxBytesToRead
|
|
861
|
+
* @param {boolean=} ignoreNul - If true, the function will not stop on a NUL character.
|
|
862
|
+
* @return {string}
|
|
863
|
+
*/ var UTF8ArrayToString = (heapOrArray, idx = 0, maxBytesToRead, ignoreNul) => {
|
|
864
|
+
var endPtr = findStringEnd(heapOrArray, idx, maxBytesToRead, ignoreNul);
|
|
865
|
+
return UTF8Decoder.decode(heapOrArray.buffer ? heapOrArray.subarray(idx, endPtr) : new Uint8Array(heapOrArray.slice(idx, endPtr)));
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
var printChar = (stream, curr) => {
|
|
869
|
+
var buffer = printCharBuffers[stream];
|
|
870
|
+
if (curr === 0 || curr === 10) {
|
|
871
|
+
(stream === 1 ? out : err)(UTF8ArrayToString(buffer));
|
|
872
|
+
buffer.length = 0;
|
|
873
|
+
} else {
|
|
874
|
+
buffer.push(curr);
|
|
875
|
+
}
|
|
876
|
+
};
|
|
877
|
+
|
|
878
|
+
var _fd_write = (fd, iov, iovcnt, pnum) => {
|
|
879
|
+
// hack to support printf in SYSCALLS_REQUIRE_FILESYSTEM=0
|
|
880
|
+
var num = 0;
|
|
881
|
+
for (var i = 0; i < iovcnt; i++) {
|
|
882
|
+
var ptr = HEAPU32[((iov) >> 2)];
|
|
883
|
+
var len = HEAPU32[(((iov) + (4)) >> 2)];
|
|
884
|
+
iov += 8;
|
|
885
|
+
for (var j = 0; j < len; j++) {
|
|
886
|
+
printChar(fd, HEAPU8[ptr + j]);
|
|
887
|
+
}
|
|
888
|
+
num += len;
|
|
889
|
+
}
|
|
890
|
+
HEAPU32[((pnum) >> 2)] = num;
|
|
891
|
+
return 0;
|
|
892
|
+
};
|
|
893
|
+
|
|
894
|
+
/** @suppress{checkTypes} */ var getWasmTableEntry = funcPtr => wasmTable.get(funcPtr);
|
|
895
|
+
|
|
896
|
+
// End JS library code
|
|
897
|
+
// include: postlibrary.js
|
|
898
|
+
// This file is included after the automatically-generated JS library code
|
|
899
|
+
// but before the wasm module is created.
|
|
900
|
+
{
|
|
901
|
+
// Begin ATMODULES hooks
|
|
902
|
+
if (Module["noExitRuntime"]) noExitRuntime = Module["noExitRuntime"];
|
|
903
|
+
if (Module["print"]) out = Module["print"];
|
|
904
|
+
if (Module["printErr"]) err = Module["printErr"];
|
|
905
|
+
if (Module["wasmBinary"]) wasmBinary = Module["wasmBinary"];
|
|
906
|
+
// End ATMODULES hooks
|
|
907
|
+
if (Module["arguments"]) arguments_ = Module["arguments"];
|
|
908
|
+
if (Module["thisProgram"]) thisProgram = Module["thisProgram"];
|
|
909
|
+
if (Module["preInit"]) {
|
|
910
|
+
if (typeof Module["preInit"] == "function") Module["preInit"] = [ Module["preInit"] ];
|
|
911
|
+
while (Module["preInit"].length > 0) {
|
|
912
|
+
Module["preInit"].shift()();
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
// Begin runtime exports
|
|
918
|
+
Module["UTF8ToString"] = UTF8ToString;
|
|
919
|
+
|
|
920
|
+
Module["stringToUTF8"] = stringToUTF8;
|
|
921
|
+
|
|
922
|
+
Module["lengthBytesUTF8"] = lengthBytesUTF8;
|
|
923
|
+
|
|
924
|
+
// End runtime exports
|
|
925
|
+
// Begin JS library exports
|
|
926
|
+
// End JS library exports
|
|
927
|
+
// end include: postlibrary.js
|
|
928
|
+
var ASM_CONSTS = {
|
|
929
|
+
6111476: () => {
|
|
930
|
+
throw "TRYLATER";
|
|
931
|
+
},
|
|
932
|
+
6111498: () => {
|
|
933
|
+
throw "ABORT";
|
|
934
|
+
},
|
|
935
|
+
6111517: $0 => {
|
|
936
|
+
throw new Error(UTF8ToString($0));
|
|
937
|
+
},
|
|
938
|
+
6111556: () => {
|
|
939
|
+
throw new Error("Cannot create MuPDF context!");
|
|
940
|
+
},
|
|
941
|
+
6111609: ($0, $1, $2, $3, $4, $5, $6) => {
|
|
942
|
+
globalThis.$libmupdf_text_walk.begin_span($0, $1, $2, $3, $4, $5, $6);
|
|
943
|
+
},
|
|
944
|
+
6111683: ($0, $1, $2, $3, $4, $5, $6, $7) => {
|
|
945
|
+
globalThis.$libmupdf_text_walk.show_glyph($0, $1, $2, $3, $4, $5, $6, $7);
|
|
946
|
+
},
|
|
947
|
+
6111761: $0 => {
|
|
948
|
+
globalThis.$libmupdf_text_walk.end_span($0);
|
|
949
|
+
},
|
|
950
|
+
6111809: ($0, $1, $2, $3) => globalThis.$libmupdf_load_font_file($0, $1, $2, $3),
|
|
951
|
+
6111872: ($0, $1, $2, $3) => globalThis.$libmupdf_stm_read($0, $1, $2, $3),
|
|
952
|
+
6111930: $0 => {
|
|
953
|
+
globalThis.$libmupdf_stm_close($0);
|
|
954
|
+
},
|
|
955
|
+
6111970: ($0, $1, $2, $3) => globalThis.$libmupdf_stm_seek($0, $1, $2, $3),
|
|
956
|
+
6112028: ($0, $1, $2) => {
|
|
957
|
+
globalThis.$libmupdf_path_walk.moveto($0, $1, $2);
|
|
958
|
+
},
|
|
959
|
+
6112082: ($0, $1, $2) => {
|
|
960
|
+
globalThis.$libmupdf_path_walk.lineto($0, $1, $2);
|
|
961
|
+
},
|
|
962
|
+
6112136: ($0, $1, $2, $3, $4, $5, $6) => {
|
|
963
|
+
globalThis.$libmupdf_path_walk.curveto($0, $1, $2, $3, $4, $5, $6);
|
|
964
|
+
},
|
|
965
|
+
6112207: $0 => {
|
|
966
|
+
globalThis.$libmupdf_path_walk.closepath($0);
|
|
967
|
+
},
|
|
968
|
+
6112256: $0 => {
|
|
969
|
+
globalThis.$libmupdf_log_error($0);
|
|
970
|
+
},
|
|
971
|
+
6112295: $0 => {
|
|
972
|
+
globalThis.$libmupdf_log_warning($0);
|
|
973
|
+
},
|
|
974
|
+
6112336: $0 => {
|
|
975
|
+
globalThis.$libmupdf_device.close_device($0);
|
|
976
|
+
},
|
|
977
|
+
6112385: $0 => {
|
|
978
|
+
globalThis.$libmupdf_device.drop_device($0);
|
|
979
|
+
},
|
|
980
|
+
6112433: ($0, $1, $2, $3, $4, $5, $6, $7) => {
|
|
981
|
+
globalThis.$libmupdf_device.fill_path($0, $1, $2, $3, $4, $5, $6, $7);
|
|
982
|
+
},
|
|
983
|
+
6112507: ($0, $1, $2, $3, $4, $5, $6, $7) => {
|
|
984
|
+
globalThis.$libmupdf_device.stroke_path($0, $1, $2, $3, $4, $5, $6, $7);
|
|
985
|
+
},
|
|
986
|
+
6112583: ($0, $1, $2, $3) => {
|
|
987
|
+
globalThis.$libmupdf_device.clip_path($0, $1, $2, $3);
|
|
988
|
+
},
|
|
989
|
+
6112641: ($0, $1, $2, $3) => {
|
|
990
|
+
globalThis.$libmupdf_device.clip_stroke_path($0, $1, $2, $3);
|
|
991
|
+
},
|
|
992
|
+
6112706: ($0, $1, $2, $3, $4, $5, $6) => {
|
|
993
|
+
globalThis.$libmupdf_device.fill_text($0, $1, $2, $3, $4, $5, $6);
|
|
994
|
+
},
|
|
995
|
+
6112776: ($0, $1, $2, $3, $4, $5, $6, $7) => {
|
|
996
|
+
globalThis.$libmupdf_device.stroke_text($0, $1, $2, $3, $4, $5, $6, $7);
|
|
997
|
+
},
|
|
998
|
+
6112852: ($0, $1, $2) => {
|
|
999
|
+
globalThis.$libmupdf_device.clip_text($0, $1, $2);
|
|
1000
|
+
},
|
|
1001
|
+
6112906: ($0, $1, $2, $3) => {
|
|
1002
|
+
globalThis.$libmupdf_device.clip_stroke_text($0, $1, $2, $3);
|
|
1003
|
+
},
|
|
1004
|
+
6112971: ($0, $1, $2) => {
|
|
1005
|
+
globalThis.$libmupdf_device.ignore_text($0, $1, $2);
|
|
1006
|
+
},
|
|
1007
|
+
6113027: ($0, $1, $2, $3) => {
|
|
1008
|
+
globalThis.$libmupdf_device.fill_shade($0, $1, $2, $3);
|
|
1009
|
+
},
|
|
1010
|
+
6113086: ($0, $1, $2, $3) => {
|
|
1011
|
+
globalThis.$libmupdf_device.fill_image($0, $1, $2, $3);
|
|
1012
|
+
},
|
|
1013
|
+
6113145: ($0, $1, $2, $3, $4, $5, $6) => {
|
|
1014
|
+
globalThis.$libmupdf_device.fill_image_mask($0, $1, $2, $3, $4, $5, $6);
|
|
1015
|
+
},
|
|
1016
|
+
6113221: ($0, $1, $2) => {
|
|
1017
|
+
globalThis.$libmupdf_device.clip_image_mask($0, $1, $2);
|
|
1018
|
+
},
|
|
1019
|
+
6113281: $0 => {
|
|
1020
|
+
globalThis.$libmupdf_device.pop_clip($0);
|
|
1021
|
+
},
|
|
1022
|
+
6113326: ($0, $1, $2, $3, $4, $5) => {
|
|
1023
|
+
globalThis.$libmupdf_device.begin_mask($0, $1, $2, $3, $4, $5);
|
|
1024
|
+
},
|
|
1025
|
+
6113393: ($0, $1) => {
|
|
1026
|
+
globalThis.$libmupdf_device.end_mask($0, $1);
|
|
1027
|
+
},
|
|
1028
|
+
6113442: ($0, $1, $2, $3, $4, $5, $6) => {
|
|
1029
|
+
globalThis.$libmupdf_device.begin_group($0, $1, $2, $3, $4, $5, $6);
|
|
1030
|
+
},
|
|
1031
|
+
6113514: $0 => {
|
|
1032
|
+
globalThis.$libmupdf_device.end_group($0);
|
|
1033
|
+
},
|
|
1034
|
+
6113560: ($0, $1, $2, $3, $4, $5, $6) => globalThis.$libmupdf_device.begin_tile($0, $1, $2, $3, $4, $5, $6),
|
|
1035
|
+
6113638: $0 => {
|
|
1036
|
+
globalThis.$libmupdf_device.end_tile($0);
|
|
1037
|
+
},
|
|
1038
|
+
6113683: ($0, $1) => {
|
|
1039
|
+
globalThis.$libmupdf_device.begin_layer($0, $1);
|
|
1040
|
+
},
|
|
1041
|
+
6113735: $0 => {
|
|
1042
|
+
globalThis.$libmupdf_device.end_layer($0);
|
|
1043
|
+
}
|
|
1044
|
+
};
|
|
1045
|
+
|
|
1046
|
+
// Imports from the Wasm binary.
|
|
1047
|
+
var _wasm_init_context, _wasm_malloc, _wasm_free, _wasm_enable_icc, _wasm_disable_icc, _wasm_set_user_css, _wasm_empty_store, _wasm_shrink_store, _wasm_Memento_checkAllMemory, _wasm_Memento_listBlocks, _wasm_keep_buffer, _wasm_drop_buffer, _wasm_keep_stream, _wasm_drop_stream, _wasm_keep_colorspace, _wasm_drop_colorspace, _wasm_keep_pixmap, _wasm_drop_pixmap, _wasm_keep_font, _wasm_drop_font, _wasm_keep_stroke_state, _wasm_drop_stroke_state, _wasm_keep_image, _wasm_drop_image, _wasm_keep_shade, _wasm_drop_shade, _wasm_keep_path, _wasm_drop_path, _wasm_keep_text, _wasm_drop_text, _wasm_keep_device, _wasm_drop_device, _wasm_keep_display_list, _wasm_drop_display_list, _wasm_drop_stext_page, _wasm_drop_document_writer, _wasm_drop_outline_iterator, _wasm_keep_document, _wasm_drop_document, _wasm_keep_page, _wasm_drop_page, _wasm_keep_link, _wasm_drop_link, _wasm_keep_outline, _wasm_drop_outline, _wasm_pdf_keep_annot, _wasm_pdf_drop_annot, _wasm_pdf_keep_obj, _wasm_pdf_drop_obj, _wasm_pdf_keep_graft_map, _wasm_pdf_drop_graft_map, _wasm_buffer_get_data, _wasm_buffer_get_len, _wasm_colorspace_get_type, _wasm_colorspace_get_n, _wasm_colorspace_get_name, _wasm_pixmap_get_w, _wasm_pixmap_get_h, _wasm_pixmap_get_x, _wasm_pixmap_get_y, _wasm_pixmap_get_n, _wasm_pixmap_get_stride, _wasm_pixmap_get_alpha, _wasm_pixmap_get_xres, _wasm_pixmap_get_yres, _wasm_pixmap_get_colorspace, _wasm_pixmap_get_samples, _wasm_pixmap_set_xres, _wasm_pixmap_set_yres, _wasm_font_get_name, _wasm_stroke_state_get_start_cap, _wasm_stroke_state_set_start_cap, _wasm_stroke_state_get_dash_cap, _wasm_stroke_state_set_dash_cap, _wasm_stroke_state_get_end_cap, _wasm_stroke_state_set_end_cap, _wasm_stroke_state_get_linejoin, _wasm_stroke_state_set_linejoin, _wasm_stroke_state_get_linewidth, _wasm_stroke_state_set_linewidth, _wasm_stroke_state_get_miterlimit, _wasm_stroke_state_set_miterlimit, _wasm_stroke_state_get_dash_phase, _wasm_stroke_state_set_dash_phase, _wasm_stroke_state_get_dash_len, _wasm_image_get_w, _wasm_image_get_h, _wasm_image_get_n, _wasm_image_get_bpc, _wasm_image_get_xres, _wasm_image_get_yres, _wasm_image_get_imagemask, _wasm_image_get_colorspace, _wasm_image_get_mask, _wasm_outline_get_title, _wasm_outline_get_uri, _wasm_outline_get_next, _wasm_outline_get_down, _wasm_outline_get_is_open, _wasm_outline_item_get_title, _wasm_outline_item_get_uri, _wasm_outline_item_get_is_open, _wasm_link_get_rect, _wasm_link_get_uri, _wasm_link_get_next, _wasm_stext_page_get_mediabox, _wasm_stext_page_get_first_block, _wasm_stext_block_get_next, _wasm_stext_block_get_type, _wasm_stext_block_get_bbox, _wasm_stext_block_get_first_line, _wasm_stext_block_get_transform, _wasm_stext_block_get_image, _wasm_stext_block_get_v_flags, _wasm_stext_block_get_v_argb, _wasm_stext_line_get_next, _wasm_stext_line_get_wmode, _wasm_stext_line_get_dir, _wasm_stext_line_get_bbox, _wasm_stext_line_get_first_char, _wasm_stext_char_get_next, _wasm_stext_char_get_c, _wasm_stext_char_get_origin, _wasm_stext_char_get_quad, _wasm_stext_char_get_size, _wasm_stext_char_get_font, _wasm_stext_char_get_argb, _wasm_stext_char_get_bidi, _wasm_link_dest_get_chapter, _wasm_link_dest_get_page, _wasm_link_dest_get_type, _wasm_link_dest_get_x, _wasm_link_dest_get_y, _wasm_link_dest_get_w, _wasm_link_dest_get_h, _wasm_link_dest_get_zoom, _wasm_pdf_layer_config_ui_get_text, _wasm_pdf_layer_config_ui_get_depth, _wasm_pdf_layer_config_ui_get_type, _wasm_pdf_layer_config_ui_get_selected, _wasm_pdf_layer_config_ui_get_locked, _wasm_pdf_filespec_params_get_filename, _wasm_pdf_filespec_params_get_mimetype, _wasm_pdf_filespec_params_get_size, _wasm_pdf_filespec_params_get_created, _wasm_pdf_filespec_params_get_modified, _wasm_pdf_page_get_obj, _wasm_new_buffer, _wasm_new_buffer_from_data, _wasm_append_string, _wasm_append_byte, _wasm_append_buffer, _wasm_slice_buffer, _wasm_string_from_buffer, _wasm_device_gray, _wasm_device_rgb, _wasm_device_bgr, _wasm_device_cmyk, _wasm_device_lab, _wasm_new_icc_colorspace, _wasm_new_stroke_state, _wasm_stroke_state_get_dash_item, _wasm_stroke_state_set_dash_item, _wasm_new_base14_font, _wasm_new_cjk_font, _wasm_new_font_from_buffer, _wasm_encode_character, _wasm_advance_glyph, _wasm_font_is_monospaced, _wasm_font_is_serif, _wasm_font_is_bold, _wasm_font_is_italic, _wasm_new_image_from_pixmap, _wasm_new_image_from_buffer, _wasm_get_pixmap_from_image, _wasm_new_pixmap_from_page, _wasm_new_pixmap_from_page_contents, _wasm_pdf_new_pixmap_from_page_with_usage, _wasm_pdf_new_pixmap_from_page_contents_with_usage, _wasm_new_pixmap_with_bbox, _wasm_clear_pixmap, _wasm_clear_pixmap_with_value, _wasm_invert_pixmap, _wasm_invert_pixmap_luminance, _wasm_gamma_pixmap, _wasm_tint_pixmap, _wasm_new_buffer_from_pixmap_as_png, _wasm_new_buffer_from_pixmap_as_pam, _wasm_new_buffer_from_pixmap_as_psd, _wasm_new_buffer_from_pixmap_as_jpeg, _wasm_convert_pixmap, _wasm_warp_pixmap, _wasm_bound_shade, _wasm_new_display_list, _wasm_bound_display_list, _wasm_run_display_list, _wasm_new_pixmap_from_display_list, _wasm_new_stext_page_from_display_list, _wasm_search_display_list, _wasm_new_path, _wasm_moveto, _wasm_lineto, _wasm_curveto, _wasm_curvetov, _wasm_curvetoy, _wasm_closepath, _wasm_rectto, _wasm_transform_path, _wasm_bound_path, _wasm_new_text, _wasm_bound_text, _wasm_show_glyph, _wasm_show_string, _wasm_new_draw_device, _wasm_new_display_list_device, _wasm_close_device, _wasm_fill_path, _wasm_stroke_path, _wasm_clip_path, _wasm_clip_stroke_path, _wasm_fill_text, _wasm_stroke_text, _wasm_clip_text, _wasm_clip_stroke_text, _wasm_ignore_text, _wasm_fill_shade, _wasm_fill_image, _wasm_fill_image_mask, _wasm_clip_image_mask, _wasm_pop_clip, _wasm_begin_mask, _wasm_end_mask, _wasm_begin_group, _wasm_end_group, _wasm_begin_tile, _wasm_end_tile, _wasm_begin_layer, _wasm_end_layer, _wasm_new_document_writer_with_buffer, _wasm_begin_page, _wasm_end_page, _wasm_close_document_writer, _wasm_print_stext_page_as_json, _wasm_search_stext_page, _wasm_snap_selection, _wasm_copy_selection, _wasm_highlight_selection, _wasm_print_stext_page_as_html, _wasm_print_stext_page_as_text, _wasm_open_document_with_buffer, _wasm_open_document_with_stream, _wasm_format_link_uri, _wasm_needs_password, _wasm_authenticate_password, _wasm_has_permission, _wasm_count_pages, _wasm_load_page, _wasm_lookup_metadata, _wasm_set_metadata, _wasm_resolve_link, _wasm_resolve_link_dest, _wasm_load_outline, _wasm_outline_get_page, _wasm_layout_document, _wasm_is_document_reflowable, _wasm_link_set_rect, _wasm_link_set_uri, _wasm_bound_page, _wasm_load_links, _wasm_create_link, _wasm_delete_link, _wasm_run_page, _wasm_run_page_contents, _wasm_run_page_annots, _wasm_run_page_widgets, _wasm_new_stext_page_from_page, _wasm_new_display_list_from_page, _wasm_new_display_list_from_page_contents, _wasm_page_label, _wasm_search_page, _wasm_new_outline_iterator, _wasm_outline_iterator_next, _wasm_outline_iterator_prev, _wasm_outline_iterator_up, _wasm_outline_iterator_down, _wasm_outline_iterator_delete, _wasm_outline_iterator_item, _wasm_outline_iterator_insert, _wasm_outline_iterator_update, _wasm_pdf_document_from_fz_document, _wasm_pdf_page_from_fz_page, _wasm_pdf_create_document, _wasm_pdf_version, _wasm_pdf_was_repaired, _wasm_pdf_has_unsaved_changes, _wasm_pdf_can_be_saved_incrementally, _wasm_pdf_count_versions, _wasm_pdf_count_unsaved_versions, _wasm_pdf_validate_change_history, _wasm_pdf_enable_journal, _wasm_pdf_undoredo_state_position, _wasm_pdf_undoredo_state_count, _wasm_pdf_undoredo_step, _wasm_pdf_begin_operation, _wasm_pdf_begin_implicit_operation, _wasm_pdf_end_operation, _wasm_pdf_abandon_operation, _wasm_pdf_undo, _wasm_pdf_redo, _wasm_pdf_can_undo, _wasm_pdf_can_redo, _wasm_pdf_document_language, _wasm_pdf_set_document_language, _wasm_pdf_trailer, _wasm_pdf_xref_len, _wasm_pdf_lookup_page_obj, _wasm_pdf_add_object, _wasm_pdf_create_object, _wasm_pdf_delete_object, _wasm_pdf_add_stream, _wasm_pdf_add_simple_font, _wasm_pdf_add_cjk_font, _wasm_pdf_add_cid_font, _wasm_pdf_add_image, _wasm_pdf_load_image, _wasm_pdf_set_page_tree_cache, _wasm_pdf_add_page, _wasm_pdf_insert_page, _wasm_pdf_delete_page, _wasm_pdf_set_page_labels, _wasm_pdf_delete_page_labels, _wasm_pdf_is_embedded_file, _wasm_pdf_get_filespec_params, _wasm_pdf_add_embedded_file, _wasm_pdf_load_embedded_file_contents, _wasm_pdf_write_document_buffer, _wasm_pdf_js_supported, _wasm_pdf_enable_js, _wasm_pdf_disable_js, _wasm_pdf_rearrange_pages, _wasm_pdf_subset_fonts, _wasm_pdf_bake_document, _wasm_pdf_count_layer_configs, _wasm_pdf_layer_config_creator, _wasm_pdf_layer_config_name, _wasm_pdf_select_layer_config, _wasm_pdf_count_layer_config_uis, _wasm_pdf_layer_config_ui_info, _wasm_pdf_count_layers, _wasm_pdf_layer_name, _wasm_pdf_layer_is_enabled, _wasm_pdf_enable_layer, _wasm_pdf_page_transform, _wasm_pdf_set_page_box, _wasm_pdf_first_annot, _wasm_pdf_next_annot, _wasm_pdf_first_widget, _wasm_pdf_next_widget, _wasm_pdf_create_annot, _wasm_pdf_delete_annot, _wasm_pdf_update_page, _wasm_pdf_redact_page, _wasm_pdf_new_graft_map, _wasm_pdf_graft_mapped_object, _wasm_pdf_graft_object, _wasm_pdf_graft_mapped_page, _wasm_pdf_graft_page, _wasm_pdf_bound_annot, _wasm_pdf_run_annot, _wasm_pdf_new_pixmap_from_annot, _wasm_pdf_new_display_list_from_annot, _wasm_pdf_update_annot, _wasm_pdf_annot_obj, _wasm_pdf_annot_type, _wasm_pdf_annot_flags, _wasm_pdf_set_annot_flags, _wasm_pdf_annot_contents, _wasm_pdf_set_annot_contents, _wasm_pdf_annot_name, _wasm_pdf_set_annot_name, _wasm_pdf_annot_author, _wasm_pdf_set_annot_author, _wasm_pdf_annot_subject, _wasm_pdf_set_annot_subject, _wasm_pdf_annot_creation_date, _wasm_pdf_set_annot_creation_date, _wasm_pdf_annot_modification_date, _wasm_pdf_set_annot_modification_date, _wasm_pdf_annot_border_width, _wasm_pdf_set_annot_border_width, _wasm_pdf_annot_border_style, _wasm_pdf_set_annot_border_style, _wasm_pdf_annot_border_effect, _wasm_pdf_set_annot_border_effect, _wasm_pdf_annot_border_effect_intensity, _wasm_pdf_set_annot_border_effect_intensity, _wasm_pdf_annot_opacity, _wasm_pdf_set_annot_opacity, _wasm_pdf_annot_filespec, _wasm_pdf_set_annot_filespec, _wasm_pdf_annot_quadding, _wasm_pdf_set_annot_quadding, _wasm_pdf_annot_is_open, _wasm_pdf_set_annot_is_open, _wasm_pdf_annot_hidden_for_editing, _wasm_pdf_set_annot_hidden_for_editing, _wasm_pdf_annot_icon_name, _wasm_pdf_set_annot_icon_name, _wasm_pdf_annot_intent, _wasm_pdf_set_annot_intent, _wasm_pdf_annot_callout_style, _wasm_pdf_set_annot_callout_style, _wasm_pdf_annot_line_leader, _wasm_pdf_set_annot_line_leader, _wasm_pdf_annot_line_leader_extension, _wasm_pdf_set_annot_line_leader_extension, _wasm_pdf_annot_line_leader_offset, _wasm_pdf_set_annot_line_leader_offset, _wasm_pdf_annot_line_caption, _wasm_pdf_set_annot_line_caption, _wasm_pdf_annot_rich_defaults, _wasm_pdf_set_annot_rich_defaults, _wasm_pdf_annot_callout_point, _wasm_pdf_annot_line_caption_offset, _wasm_pdf_annot_rect, _wasm_pdf_annot_popup, _wasm_pdf_annot_quad_point_count, _wasm_pdf_annot_quad_point, _wasm_pdf_annot_vertex_count, _wasm_pdf_annot_vertex, _wasm_pdf_annot_ink_list_count, _wasm_pdf_annot_ink_list_stroke_count, _wasm_pdf_annot_ink_list_stroke_vertex, _wasm_pdf_annot_rich_contents, _wasm_pdf_annot_border_dash_count, _wasm_pdf_annot_border_dash_item, _wasm_pdf_annot_has_rect, _wasm_pdf_annot_has_ink_list, _wasm_pdf_annot_has_quad_points, _wasm_pdf_annot_has_vertices, _wasm_pdf_annot_has_line, _wasm_pdf_annot_has_interior_color, _wasm_pdf_annot_has_line_ending_styles, _wasm_pdf_annot_has_border, _wasm_pdf_annot_has_border_effect, _wasm_pdf_annot_has_icon_name, _wasm_pdf_annot_has_open, _wasm_pdf_annot_has_author, _wasm_pdf_annot_has_subject, _wasm_pdf_annot_has_filespec, _wasm_pdf_annot_has_callout, _wasm_pdf_annot_has_rich_contents, _wasm_pdf_annot_language, _wasm_pdf_set_annot_language, _wasm_pdf_set_annot_popup, _wasm_pdf_set_annot_rect, _wasm_pdf_clear_annot_quad_points, _wasm_pdf_clear_annot_vertices, _wasm_pdf_clear_annot_ink_list, _wasm_pdf_clear_annot_border_dash, _wasm_pdf_add_annot_quad_point, _wasm_pdf_add_annot_vertex, _wasm_pdf_add_annot_ink_list_stroke, _wasm_pdf_add_annot_ink_list_stroke_vertex, _wasm_pdf_add_annot_border_dash_item, _wasm_pdf_annot_line_ending_styles_start, _wasm_pdf_annot_line_1, _wasm_pdf_annot_line_2, _wasm_pdf_set_annot_line, _wasm_pdf_set_annot_callout_point, _wasm_pdf_annot_callout_line, _wasm_pdf_set_annot_callout_line, _wasm_pdf_set_annot_line_caption_offset, _wasm_pdf_annot_line_ending_styles_end, _wasm_pdf_set_annot_line_ending_styles, _wasm_pdf_annot_color, _wasm_pdf_annot_interior_color, _wasm_pdf_set_annot_color, _wasm_pdf_set_annot_interior_color, _wasm_pdf_set_annot_default_appearance, _wasm_pdf_annot_default_appearance_font, _wasm_pdf_annot_default_appearance_size, _wasm_pdf_annot_default_appearance_color, _wasm_pdf_set_annot_rich_contents, _wasm_pdf_set_annot_stamp_image, _wasm_pdf_set_annot_appearance_from_display_list, _wasm_pdf_set_annot_appearance, _wasm_pdf_apply_redaction, _wasm_pdf_reset_form, _wasm_pdf_annot_field_type, _wasm_pdf_annot_field_flags, _wasm_pdf_annot_field_label, _wasm_pdf_annot_field_value, _wasm_pdf_load_field_name, _wasm_pdf_annot_text_widget_max_len, _wasm_pdf_set_annot_text_field_value, _wasm_pdf_set_annot_choice_field_value, _wasm_pdf_annot_choice_field_option_count, _wasm_pdf_annot_choice_field_option, _wasm_pdf_toggle_widget, _wasm_pdf_is_indirect, _wasm_pdf_is_bool, _wasm_pdf_is_int, _wasm_pdf_is_real, _wasm_pdf_is_number, _wasm_pdf_is_name, _wasm_pdf_is_string, _wasm_pdf_is_array, _wasm_pdf_is_dict, _wasm_pdf_is_stream, _wasm_pdf_to_num, _wasm_pdf_to_bool, _wasm_pdf_to_real, _wasm_pdf_to_name, _wasm_pdf_to_text_string, _wasm_pdf_new_indirect, _wasm_pdf_new_array, _wasm_pdf_new_dict, _wasm_pdf_new_bool, _wasm_pdf_new_int, _wasm_pdf_new_real, _wasm_pdf_new_name, _wasm_pdf_new_text_string, _wasm_pdf_new_string, _wasm_pdf_resolve_indirect, _wasm_pdf_array_len, _wasm_pdf_array_get, _wasm_pdf_dict_get, _wasm_pdf_dict_len, _wasm_pdf_dict_get_key, _wasm_pdf_dict_get_val, _wasm_pdf_dict_get_inheritable, _wasm_pdf_dict_gets, _wasm_pdf_dict_gets_inheritable, _wasm_pdf_dict_put, _wasm_pdf_dict_puts, _wasm_pdf_dict_del, _wasm_pdf_dict_dels, _wasm_pdf_array_put, _wasm_pdf_array_push, _wasm_pdf_array_delete, _wasm_pdf_sprint_obj, _wasm_pdf_load_stream, _wasm_pdf_load_raw_stream, _wasm_pdf_update_object, _wasm_pdf_update_stream, _wasm_pdf_to_string, _wasm_new_stream, _wasm_walk_path, _wasm_walk_text, _wasm_enable_log_callback, _wasm_new_js_device, _setThrew, __emscripten_stack_restore, _emscripten_stack_get_current, memory, __indirect_function_table, wasmMemory, wasmTable;
|
|
1048
|
+
|
|
1049
|
+
function assignWasmExports(wasmExports) {
|
|
1050
|
+
_wasm_init_context = Module["_wasm_init_context"] = wasmExports["eb"];
|
|
1051
|
+
_wasm_malloc = Module["_wasm_malloc"] = wasmExports["fb"];
|
|
1052
|
+
_wasm_free = Module["_wasm_free"] = wasmExports["gb"];
|
|
1053
|
+
_wasm_enable_icc = Module["_wasm_enable_icc"] = wasmExports["hb"];
|
|
1054
|
+
_wasm_disable_icc = Module["_wasm_disable_icc"] = wasmExports["ib"];
|
|
1055
|
+
_wasm_set_user_css = Module["_wasm_set_user_css"] = wasmExports["jb"];
|
|
1056
|
+
_wasm_empty_store = Module["_wasm_empty_store"] = wasmExports["kb"];
|
|
1057
|
+
_wasm_shrink_store = Module["_wasm_shrink_store"] = wasmExports["lb"];
|
|
1058
|
+
_wasm_Memento_checkAllMemory = Module["_wasm_Memento_checkAllMemory"] = wasmExports["mb"];
|
|
1059
|
+
_wasm_Memento_listBlocks = Module["_wasm_Memento_listBlocks"] = wasmExports["nb"];
|
|
1060
|
+
_wasm_keep_buffer = Module["_wasm_keep_buffer"] = wasmExports["ob"];
|
|
1061
|
+
_wasm_drop_buffer = Module["_wasm_drop_buffer"] = wasmExports["pb"];
|
|
1062
|
+
_wasm_keep_stream = Module["_wasm_keep_stream"] = wasmExports["qb"];
|
|
1063
|
+
_wasm_drop_stream = Module["_wasm_drop_stream"] = wasmExports["rb"];
|
|
1064
|
+
_wasm_keep_colorspace = Module["_wasm_keep_colorspace"] = wasmExports["sb"];
|
|
1065
|
+
_wasm_drop_colorspace = Module["_wasm_drop_colorspace"] = wasmExports["tb"];
|
|
1066
|
+
_wasm_keep_pixmap = Module["_wasm_keep_pixmap"] = wasmExports["ub"];
|
|
1067
|
+
_wasm_drop_pixmap = Module["_wasm_drop_pixmap"] = wasmExports["vb"];
|
|
1068
|
+
_wasm_keep_font = Module["_wasm_keep_font"] = wasmExports["wb"];
|
|
1069
|
+
_wasm_drop_font = Module["_wasm_drop_font"] = wasmExports["xb"];
|
|
1070
|
+
_wasm_keep_stroke_state = Module["_wasm_keep_stroke_state"] = wasmExports["yb"];
|
|
1071
|
+
_wasm_drop_stroke_state = Module["_wasm_drop_stroke_state"] = wasmExports["zb"];
|
|
1072
|
+
_wasm_keep_image = Module["_wasm_keep_image"] = wasmExports["Ab"];
|
|
1073
|
+
_wasm_drop_image = Module["_wasm_drop_image"] = wasmExports["Bb"];
|
|
1074
|
+
_wasm_keep_shade = Module["_wasm_keep_shade"] = wasmExports["Cb"];
|
|
1075
|
+
_wasm_drop_shade = Module["_wasm_drop_shade"] = wasmExports["Db"];
|
|
1076
|
+
_wasm_keep_path = Module["_wasm_keep_path"] = wasmExports["Eb"];
|
|
1077
|
+
_wasm_drop_path = Module["_wasm_drop_path"] = wasmExports["Fb"];
|
|
1078
|
+
_wasm_keep_text = Module["_wasm_keep_text"] = wasmExports["Gb"];
|
|
1079
|
+
_wasm_drop_text = Module["_wasm_drop_text"] = wasmExports["Hb"];
|
|
1080
|
+
_wasm_keep_device = Module["_wasm_keep_device"] = wasmExports["Ib"];
|
|
1081
|
+
_wasm_drop_device = Module["_wasm_drop_device"] = wasmExports["Jb"];
|
|
1082
|
+
_wasm_keep_display_list = Module["_wasm_keep_display_list"] = wasmExports["Kb"];
|
|
1083
|
+
_wasm_drop_display_list = Module["_wasm_drop_display_list"] = wasmExports["Lb"];
|
|
1084
|
+
_wasm_drop_stext_page = Module["_wasm_drop_stext_page"] = wasmExports["Mb"];
|
|
1085
|
+
_wasm_drop_document_writer = Module["_wasm_drop_document_writer"] = wasmExports["Nb"];
|
|
1086
|
+
_wasm_drop_outline_iterator = Module["_wasm_drop_outline_iterator"] = wasmExports["Ob"];
|
|
1087
|
+
_wasm_keep_document = Module["_wasm_keep_document"] = wasmExports["Pb"];
|
|
1088
|
+
_wasm_drop_document = Module["_wasm_drop_document"] = wasmExports["Qb"];
|
|
1089
|
+
_wasm_keep_page = Module["_wasm_keep_page"] = wasmExports["Rb"];
|
|
1090
|
+
_wasm_drop_page = Module["_wasm_drop_page"] = wasmExports["Sb"];
|
|
1091
|
+
_wasm_keep_link = Module["_wasm_keep_link"] = wasmExports["Tb"];
|
|
1092
|
+
_wasm_drop_link = Module["_wasm_drop_link"] = wasmExports["Ub"];
|
|
1093
|
+
_wasm_keep_outline = Module["_wasm_keep_outline"] = wasmExports["Vb"];
|
|
1094
|
+
_wasm_drop_outline = Module["_wasm_drop_outline"] = wasmExports["Wb"];
|
|
1095
|
+
_wasm_pdf_keep_annot = Module["_wasm_pdf_keep_annot"] = wasmExports["Xb"];
|
|
1096
|
+
_wasm_pdf_drop_annot = Module["_wasm_pdf_drop_annot"] = wasmExports["Yb"];
|
|
1097
|
+
_wasm_pdf_keep_obj = Module["_wasm_pdf_keep_obj"] = wasmExports["Zb"];
|
|
1098
|
+
_wasm_pdf_drop_obj = Module["_wasm_pdf_drop_obj"] = wasmExports["_b"];
|
|
1099
|
+
_wasm_pdf_keep_graft_map = Module["_wasm_pdf_keep_graft_map"] = wasmExports["$b"];
|
|
1100
|
+
_wasm_pdf_drop_graft_map = Module["_wasm_pdf_drop_graft_map"] = wasmExports["ac"];
|
|
1101
|
+
_wasm_buffer_get_data = Module["_wasm_buffer_get_data"] = wasmExports["bc"];
|
|
1102
|
+
_wasm_buffer_get_len = Module["_wasm_buffer_get_len"] = wasmExports["cc"];
|
|
1103
|
+
_wasm_colorspace_get_type = Module["_wasm_colorspace_get_type"] = wasmExports["dc"];
|
|
1104
|
+
_wasm_colorspace_get_n = Module["_wasm_colorspace_get_n"] = wasmExports["ec"];
|
|
1105
|
+
_wasm_colorspace_get_name = Module["_wasm_colorspace_get_name"] = wasmExports["fc"];
|
|
1106
|
+
_wasm_pixmap_get_w = Module["_wasm_pixmap_get_w"] = wasmExports["gc"];
|
|
1107
|
+
_wasm_pixmap_get_h = Module["_wasm_pixmap_get_h"] = wasmExports["hc"];
|
|
1108
|
+
_wasm_pixmap_get_x = Module["_wasm_pixmap_get_x"] = wasmExports["ic"];
|
|
1109
|
+
_wasm_pixmap_get_y = Module["_wasm_pixmap_get_y"] = wasmExports["jc"];
|
|
1110
|
+
_wasm_pixmap_get_n = Module["_wasm_pixmap_get_n"] = wasmExports["kc"];
|
|
1111
|
+
_wasm_pixmap_get_stride = Module["_wasm_pixmap_get_stride"] = wasmExports["lc"];
|
|
1112
|
+
_wasm_pixmap_get_alpha = Module["_wasm_pixmap_get_alpha"] = wasmExports["mc"];
|
|
1113
|
+
_wasm_pixmap_get_xres = Module["_wasm_pixmap_get_xres"] = wasmExports["nc"];
|
|
1114
|
+
_wasm_pixmap_get_yres = Module["_wasm_pixmap_get_yres"] = wasmExports["oc"];
|
|
1115
|
+
_wasm_pixmap_get_colorspace = Module["_wasm_pixmap_get_colorspace"] = wasmExports["pc"];
|
|
1116
|
+
_wasm_pixmap_get_samples = Module["_wasm_pixmap_get_samples"] = wasmExports["qc"];
|
|
1117
|
+
_wasm_pixmap_set_xres = Module["_wasm_pixmap_set_xres"] = wasmExports["rc"];
|
|
1118
|
+
_wasm_pixmap_set_yres = Module["_wasm_pixmap_set_yres"] = wasmExports["sc"];
|
|
1119
|
+
_wasm_font_get_name = Module["_wasm_font_get_name"] = wasmExports["tc"];
|
|
1120
|
+
_wasm_stroke_state_get_start_cap = Module["_wasm_stroke_state_get_start_cap"] = wasmExports["uc"];
|
|
1121
|
+
_wasm_stroke_state_set_start_cap = Module["_wasm_stroke_state_set_start_cap"] = wasmExports["vc"];
|
|
1122
|
+
_wasm_stroke_state_get_dash_cap = Module["_wasm_stroke_state_get_dash_cap"] = wasmExports["wc"];
|
|
1123
|
+
_wasm_stroke_state_set_dash_cap = Module["_wasm_stroke_state_set_dash_cap"] = wasmExports["xc"];
|
|
1124
|
+
_wasm_stroke_state_get_end_cap = Module["_wasm_stroke_state_get_end_cap"] = wasmExports["yc"];
|
|
1125
|
+
_wasm_stroke_state_set_end_cap = Module["_wasm_stroke_state_set_end_cap"] = wasmExports["zc"];
|
|
1126
|
+
_wasm_stroke_state_get_linejoin = Module["_wasm_stroke_state_get_linejoin"] = wasmExports["Ac"];
|
|
1127
|
+
_wasm_stroke_state_set_linejoin = Module["_wasm_stroke_state_set_linejoin"] = wasmExports["Bc"];
|
|
1128
|
+
_wasm_stroke_state_get_linewidth = Module["_wasm_stroke_state_get_linewidth"] = wasmExports["Cc"];
|
|
1129
|
+
_wasm_stroke_state_set_linewidth = Module["_wasm_stroke_state_set_linewidth"] = wasmExports["Dc"];
|
|
1130
|
+
_wasm_stroke_state_get_miterlimit = Module["_wasm_stroke_state_get_miterlimit"] = wasmExports["Ec"];
|
|
1131
|
+
_wasm_stroke_state_set_miterlimit = Module["_wasm_stroke_state_set_miterlimit"] = wasmExports["Fc"];
|
|
1132
|
+
_wasm_stroke_state_get_dash_phase = Module["_wasm_stroke_state_get_dash_phase"] = wasmExports["Gc"];
|
|
1133
|
+
_wasm_stroke_state_set_dash_phase = Module["_wasm_stroke_state_set_dash_phase"] = wasmExports["Hc"];
|
|
1134
|
+
_wasm_stroke_state_get_dash_len = Module["_wasm_stroke_state_get_dash_len"] = wasmExports["Ic"];
|
|
1135
|
+
_wasm_image_get_w = Module["_wasm_image_get_w"] = wasmExports["Jc"];
|
|
1136
|
+
_wasm_image_get_h = Module["_wasm_image_get_h"] = wasmExports["Kc"];
|
|
1137
|
+
_wasm_image_get_n = Module["_wasm_image_get_n"] = wasmExports["Lc"];
|
|
1138
|
+
_wasm_image_get_bpc = Module["_wasm_image_get_bpc"] = wasmExports["Mc"];
|
|
1139
|
+
_wasm_image_get_xres = Module["_wasm_image_get_xres"] = wasmExports["Nc"];
|
|
1140
|
+
_wasm_image_get_yres = Module["_wasm_image_get_yres"] = wasmExports["Oc"];
|
|
1141
|
+
_wasm_image_get_imagemask = Module["_wasm_image_get_imagemask"] = wasmExports["Pc"];
|
|
1142
|
+
_wasm_image_get_colorspace = Module["_wasm_image_get_colorspace"] = wasmExports["Qc"];
|
|
1143
|
+
_wasm_image_get_mask = Module["_wasm_image_get_mask"] = wasmExports["Rc"];
|
|
1144
|
+
_wasm_outline_get_title = Module["_wasm_outline_get_title"] = wasmExports["Sc"];
|
|
1145
|
+
_wasm_outline_get_uri = Module["_wasm_outline_get_uri"] = wasmExports["Tc"];
|
|
1146
|
+
_wasm_outline_get_next = Module["_wasm_outline_get_next"] = wasmExports["Uc"];
|
|
1147
|
+
_wasm_outline_get_down = Module["_wasm_outline_get_down"] = wasmExports["Vc"];
|
|
1148
|
+
_wasm_outline_get_is_open = Module["_wasm_outline_get_is_open"] = wasmExports["Wc"];
|
|
1149
|
+
_wasm_outline_item_get_title = Module["_wasm_outline_item_get_title"] = wasmExports["Xc"];
|
|
1150
|
+
_wasm_outline_item_get_uri = Module["_wasm_outline_item_get_uri"] = wasmExports["Yc"];
|
|
1151
|
+
_wasm_outline_item_get_is_open = Module["_wasm_outline_item_get_is_open"] = wasmExports["Zc"];
|
|
1152
|
+
_wasm_link_get_rect = Module["_wasm_link_get_rect"] = wasmExports["_c"];
|
|
1153
|
+
_wasm_link_get_uri = Module["_wasm_link_get_uri"] = wasmExports["$c"];
|
|
1154
|
+
_wasm_link_get_next = Module["_wasm_link_get_next"] = wasmExports["ad"];
|
|
1155
|
+
_wasm_stext_page_get_mediabox = Module["_wasm_stext_page_get_mediabox"] = wasmExports["bd"];
|
|
1156
|
+
_wasm_stext_page_get_first_block = Module["_wasm_stext_page_get_first_block"] = wasmExports["cd"];
|
|
1157
|
+
_wasm_stext_block_get_next = Module["_wasm_stext_block_get_next"] = wasmExports["dd"];
|
|
1158
|
+
_wasm_stext_block_get_type = Module["_wasm_stext_block_get_type"] = wasmExports["ed"];
|
|
1159
|
+
_wasm_stext_block_get_bbox = Module["_wasm_stext_block_get_bbox"] = wasmExports["fd"];
|
|
1160
|
+
_wasm_stext_block_get_first_line = Module["_wasm_stext_block_get_first_line"] = wasmExports["gd"];
|
|
1161
|
+
_wasm_stext_block_get_transform = Module["_wasm_stext_block_get_transform"] = wasmExports["hd"];
|
|
1162
|
+
_wasm_stext_block_get_image = Module["_wasm_stext_block_get_image"] = wasmExports["id"];
|
|
1163
|
+
_wasm_stext_block_get_v_flags = Module["_wasm_stext_block_get_v_flags"] = wasmExports["jd"];
|
|
1164
|
+
_wasm_stext_block_get_v_argb = Module["_wasm_stext_block_get_v_argb"] = wasmExports["kd"];
|
|
1165
|
+
_wasm_stext_line_get_next = Module["_wasm_stext_line_get_next"] = wasmExports["ld"];
|
|
1166
|
+
_wasm_stext_line_get_wmode = Module["_wasm_stext_line_get_wmode"] = wasmExports["md"];
|
|
1167
|
+
_wasm_stext_line_get_dir = Module["_wasm_stext_line_get_dir"] = wasmExports["nd"];
|
|
1168
|
+
_wasm_stext_line_get_bbox = Module["_wasm_stext_line_get_bbox"] = wasmExports["od"];
|
|
1169
|
+
_wasm_stext_line_get_first_char = Module["_wasm_stext_line_get_first_char"] = wasmExports["pd"];
|
|
1170
|
+
_wasm_stext_char_get_next = Module["_wasm_stext_char_get_next"] = wasmExports["qd"];
|
|
1171
|
+
_wasm_stext_char_get_c = Module["_wasm_stext_char_get_c"] = wasmExports["rd"];
|
|
1172
|
+
_wasm_stext_char_get_origin = Module["_wasm_stext_char_get_origin"] = wasmExports["sd"];
|
|
1173
|
+
_wasm_stext_char_get_quad = Module["_wasm_stext_char_get_quad"] = wasmExports["td"];
|
|
1174
|
+
_wasm_stext_char_get_size = Module["_wasm_stext_char_get_size"] = wasmExports["ud"];
|
|
1175
|
+
_wasm_stext_char_get_font = Module["_wasm_stext_char_get_font"] = wasmExports["vd"];
|
|
1176
|
+
_wasm_stext_char_get_argb = Module["_wasm_stext_char_get_argb"] = wasmExports["wd"];
|
|
1177
|
+
_wasm_stext_char_get_bidi = Module["_wasm_stext_char_get_bidi"] = wasmExports["xd"];
|
|
1178
|
+
_wasm_link_dest_get_chapter = Module["_wasm_link_dest_get_chapter"] = wasmExports["yd"];
|
|
1179
|
+
_wasm_link_dest_get_page = Module["_wasm_link_dest_get_page"] = wasmExports["zd"];
|
|
1180
|
+
_wasm_link_dest_get_type = Module["_wasm_link_dest_get_type"] = wasmExports["Ad"];
|
|
1181
|
+
_wasm_link_dest_get_x = Module["_wasm_link_dest_get_x"] = wasmExports["Bd"];
|
|
1182
|
+
_wasm_link_dest_get_y = Module["_wasm_link_dest_get_y"] = wasmExports["Cd"];
|
|
1183
|
+
_wasm_link_dest_get_w = Module["_wasm_link_dest_get_w"] = wasmExports["Dd"];
|
|
1184
|
+
_wasm_link_dest_get_h = Module["_wasm_link_dest_get_h"] = wasmExports["Ed"];
|
|
1185
|
+
_wasm_link_dest_get_zoom = Module["_wasm_link_dest_get_zoom"] = wasmExports["Fd"];
|
|
1186
|
+
_wasm_pdf_layer_config_ui_get_text = Module["_wasm_pdf_layer_config_ui_get_text"] = wasmExports["Gd"];
|
|
1187
|
+
_wasm_pdf_layer_config_ui_get_depth = Module["_wasm_pdf_layer_config_ui_get_depth"] = wasmExports["Hd"];
|
|
1188
|
+
_wasm_pdf_layer_config_ui_get_type = Module["_wasm_pdf_layer_config_ui_get_type"] = wasmExports["Id"];
|
|
1189
|
+
_wasm_pdf_layer_config_ui_get_selected = Module["_wasm_pdf_layer_config_ui_get_selected"] = wasmExports["Jd"];
|
|
1190
|
+
_wasm_pdf_layer_config_ui_get_locked = Module["_wasm_pdf_layer_config_ui_get_locked"] = wasmExports["Kd"];
|
|
1191
|
+
_wasm_pdf_filespec_params_get_filename = Module["_wasm_pdf_filespec_params_get_filename"] = wasmExports["Ld"];
|
|
1192
|
+
_wasm_pdf_filespec_params_get_mimetype = Module["_wasm_pdf_filespec_params_get_mimetype"] = wasmExports["Md"];
|
|
1193
|
+
_wasm_pdf_filespec_params_get_size = Module["_wasm_pdf_filespec_params_get_size"] = wasmExports["Nd"];
|
|
1194
|
+
_wasm_pdf_filespec_params_get_created = Module["_wasm_pdf_filespec_params_get_created"] = wasmExports["Od"];
|
|
1195
|
+
_wasm_pdf_filespec_params_get_modified = Module["_wasm_pdf_filespec_params_get_modified"] = wasmExports["Pd"];
|
|
1196
|
+
_wasm_pdf_page_get_obj = Module["_wasm_pdf_page_get_obj"] = wasmExports["Qd"];
|
|
1197
|
+
_wasm_new_buffer = Module["_wasm_new_buffer"] = wasmExports["Rd"];
|
|
1198
|
+
_wasm_new_buffer_from_data = Module["_wasm_new_buffer_from_data"] = wasmExports["Sd"];
|
|
1199
|
+
_wasm_append_string = Module["_wasm_append_string"] = wasmExports["Td"];
|
|
1200
|
+
_wasm_append_byte = Module["_wasm_append_byte"] = wasmExports["Ud"];
|
|
1201
|
+
_wasm_append_buffer = Module["_wasm_append_buffer"] = wasmExports["Vd"];
|
|
1202
|
+
_wasm_slice_buffer = Module["_wasm_slice_buffer"] = wasmExports["Wd"];
|
|
1203
|
+
_wasm_string_from_buffer = Module["_wasm_string_from_buffer"] = wasmExports["Xd"];
|
|
1204
|
+
_wasm_device_gray = Module["_wasm_device_gray"] = wasmExports["Yd"];
|
|
1205
|
+
_wasm_device_rgb = Module["_wasm_device_rgb"] = wasmExports["Zd"];
|
|
1206
|
+
_wasm_device_bgr = Module["_wasm_device_bgr"] = wasmExports["_d"];
|
|
1207
|
+
_wasm_device_cmyk = Module["_wasm_device_cmyk"] = wasmExports["$d"];
|
|
1208
|
+
_wasm_device_lab = Module["_wasm_device_lab"] = wasmExports["ae"];
|
|
1209
|
+
_wasm_new_icc_colorspace = Module["_wasm_new_icc_colorspace"] = wasmExports["be"];
|
|
1210
|
+
_wasm_new_stroke_state = Module["_wasm_new_stroke_state"] = wasmExports["ce"];
|
|
1211
|
+
_wasm_stroke_state_get_dash_item = Module["_wasm_stroke_state_get_dash_item"] = wasmExports["de"];
|
|
1212
|
+
_wasm_stroke_state_set_dash_item = Module["_wasm_stroke_state_set_dash_item"] = wasmExports["ee"];
|
|
1213
|
+
_wasm_new_base14_font = Module["_wasm_new_base14_font"] = wasmExports["fe"];
|
|
1214
|
+
_wasm_new_cjk_font = Module["_wasm_new_cjk_font"] = wasmExports["ge"];
|
|
1215
|
+
_wasm_new_font_from_buffer = Module["_wasm_new_font_from_buffer"] = wasmExports["he"];
|
|
1216
|
+
_wasm_encode_character = Module["_wasm_encode_character"] = wasmExports["ie"];
|
|
1217
|
+
_wasm_advance_glyph = Module["_wasm_advance_glyph"] = wasmExports["je"];
|
|
1218
|
+
_wasm_font_is_monospaced = Module["_wasm_font_is_monospaced"] = wasmExports["ke"];
|
|
1219
|
+
_wasm_font_is_serif = Module["_wasm_font_is_serif"] = wasmExports["le"];
|
|
1220
|
+
_wasm_font_is_bold = Module["_wasm_font_is_bold"] = wasmExports["me"];
|
|
1221
|
+
_wasm_font_is_italic = Module["_wasm_font_is_italic"] = wasmExports["ne"];
|
|
1222
|
+
_wasm_new_image_from_pixmap = Module["_wasm_new_image_from_pixmap"] = wasmExports["oe"];
|
|
1223
|
+
_wasm_new_image_from_buffer = Module["_wasm_new_image_from_buffer"] = wasmExports["pe"];
|
|
1224
|
+
_wasm_get_pixmap_from_image = Module["_wasm_get_pixmap_from_image"] = wasmExports["qe"];
|
|
1225
|
+
_wasm_new_pixmap_from_page = Module["_wasm_new_pixmap_from_page"] = wasmExports["re"];
|
|
1226
|
+
_wasm_new_pixmap_from_page_contents = Module["_wasm_new_pixmap_from_page_contents"] = wasmExports["se"];
|
|
1227
|
+
_wasm_pdf_new_pixmap_from_page_with_usage = Module["_wasm_pdf_new_pixmap_from_page_with_usage"] = wasmExports["te"];
|
|
1228
|
+
_wasm_pdf_new_pixmap_from_page_contents_with_usage = Module["_wasm_pdf_new_pixmap_from_page_contents_with_usage"] = wasmExports["ue"];
|
|
1229
|
+
_wasm_new_pixmap_with_bbox = Module["_wasm_new_pixmap_with_bbox"] = wasmExports["ve"];
|
|
1230
|
+
_wasm_clear_pixmap = Module["_wasm_clear_pixmap"] = wasmExports["we"];
|
|
1231
|
+
_wasm_clear_pixmap_with_value = Module["_wasm_clear_pixmap_with_value"] = wasmExports["xe"];
|
|
1232
|
+
_wasm_invert_pixmap = Module["_wasm_invert_pixmap"] = wasmExports["ye"];
|
|
1233
|
+
_wasm_invert_pixmap_luminance = Module["_wasm_invert_pixmap_luminance"] = wasmExports["ze"];
|
|
1234
|
+
_wasm_gamma_pixmap = Module["_wasm_gamma_pixmap"] = wasmExports["Ae"];
|
|
1235
|
+
_wasm_tint_pixmap = Module["_wasm_tint_pixmap"] = wasmExports["Be"];
|
|
1236
|
+
_wasm_new_buffer_from_pixmap_as_png = Module["_wasm_new_buffer_from_pixmap_as_png"] = wasmExports["Ce"];
|
|
1237
|
+
_wasm_new_buffer_from_pixmap_as_pam = Module["_wasm_new_buffer_from_pixmap_as_pam"] = wasmExports["De"];
|
|
1238
|
+
_wasm_new_buffer_from_pixmap_as_psd = Module["_wasm_new_buffer_from_pixmap_as_psd"] = wasmExports["Ee"];
|
|
1239
|
+
_wasm_new_buffer_from_pixmap_as_jpeg = Module["_wasm_new_buffer_from_pixmap_as_jpeg"] = wasmExports["Fe"];
|
|
1240
|
+
_wasm_convert_pixmap = Module["_wasm_convert_pixmap"] = wasmExports["Ge"];
|
|
1241
|
+
_wasm_warp_pixmap = Module["_wasm_warp_pixmap"] = wasmExports["He"];
|
|
1242
|
+
_wasm_bound_shade = Module["_wasm_bound_shade"] = wasmExports["Ie"];
|
|
1243
|
+
_wasm_new_display_list = Module["_wasm_new_display_list"] = wasmExports["Je"];
|
|
1244
|
+
_wasm_bound_display_list = Module["_wasm_bound_display_list"] = wasmExports["Ke"];
|
|
1245
|
+
_wasm_run_display_list = Module["_wasm_run_display_list"] = wasmExports["Le"];
|
|
1246
|
+
_wasm_new_pixmap_from_display_list = Module["_wasm_new_pixmap_from_display_list"] = wasmExports["Me"];
|
|
1247
|
+
_wasm_new_stext_page_from_display_list = Module["_wasm_new_stext_page_from_display_list"] = wasmExports["Ne"];
|
|
1248
|
+
_wasm_search_display_list = Module["_wasm_search_display_list"] = wasmExports["Oe"];
|
|
1249
|
+
_wasm_new_path = Module["_wasm_new_path"] = wasmExports["Pe"];
|
|
1250
|
+
_wasm_moveto = Module["_wasm_moveto"] = wasmExports["Qe"];
|
|
1251
|
+
_wasm_lineto = Module["_wasm_lineto"] = wasmExports["Re"];
|
|
1252
|
+
_wasm_curveto = Module["_wasm_curveto"] = wasmExports["Se"];
|
|
1253
|
+
_wasm_curvetov = Module["_wasm_curvetov"] = wasmExports["Te"];
|
|
1254
|
+
_wasm_curvetoy = Module["_wasm_curvetoy"] = wasmExports["Ue"];
|
|
1255
|
+
_wasm_closepath = Module["_wasm_closepath"] = wasmExports["Ve"];
|
|
1256
|
+
_wasm_rectto = Module["_wasm_rectto"] = wasmExports["We"];
|
|
1257
|
+
_wasm_transform_path = Module["_wasm_transform_path"] = wasmExports["Xe"];
|
|
1258
|
+
_wasm_bound_path = Module["_wasm_bound_path"] = wasmExports["Ye"];
|
|
1259
|
+
_wasm_new_text = Module["_wasm_new_text"] = wasmExports["Ze"];
|
|
1260
|
+
_wasm_bound_text = Module["_wasm_bound_text"] = wasmExports["_e"];
|
|
1261
|
+
_wasm_show_glyph = Module["_wasm_show_glyph"] = wasmExports["$e"];
|
|
1262
|
+
_wasm_show_string = Module["_wasm_show_string"] = wasmExports["af"];
|
|
1263
|
+
_wasm_new_draw_device = Module["_wasm_new_draw_device"] = wasmExports["bf"];
|
|
1264
|
+
_wasm_new_display_list_device = Module["_wasm_new_display_list_device"] = wasmExports["cf"];
|
|
1265
|
+
_wasm_close_device = Module["_wasm_close_device"] = wasmExports["df"];
|
|
1266
|
+
_wasm_fill_path = Module["_wasm_fill_path"] = wasmExports["ef"];
|
|
1267
|
+
_wasm_stroke_path = Module["_wasm_stroke_path"] = wasmExports["ff"];
|
|
1268
|
+
_wasm_clip_path = Module["_wasm_clip_path"] = wasmExports["gf"];
|
|
1269
|
+
_wasm_clip_stroke_path = Module["_wasm_clip_stroke_path"] = wasmExports["hf"];
|
|
1270
|
+
_wasm_fill_text = Module["_wasm_fill_text"] = wasmExports["jf"];
|
|
1271
|
+
_wasm_stroke_text = Module["_wasm_stroke_text"] = wasmExports["kf"];
|
|
1272
|
+
_wasm_clip_text = Module["_wasm_clip_text"] = wasmExports["lf"];
|
|
1273
|
+
_wasm_clip_stroke_text = Module["_wasm_clip_stroke_text"] = wasmExports["mf"];
|
|
1274
|
+
_wasm_ignore_text = Module["_wasm_ignore_text"] = wasmExports["nf"];
|
|
1275
|
+
_wasm_fill_shade = Module["_wasm_fill_shade"] = wasmExports["of"];
|
|
1276
|
+
_wasm_fill_image = Module["_wasm_fill_image"] = wasmExports["pf"];
|
|
1277
|
+
_wasm_fill_image_mask = Module["_wasm_fill_image_mask"] = wasmExports["qf"];
|
|
1278
|
+
_wasm_clip_image_mask = Module["_wasm_clip_image_mask"] = wasmExports["rf"];
|
|
1279
|
+
_wasm_pop_clip = Module["_wasm_pop_clip"] = wasmExports["sf"];
|
|
1280
|
+
_wasm_begin_mask = Module["_wasm_begin_mask"] = wasmExports["tf"];
|
|
1281
|
+
_wasm_end_mask = Module["_wasm_end_mask"] = wasmExports["uf"];
|
|
1282
|
+
_wasm_begin_group = Module["_wasm_begin_group"] = wasmExports["vf"];
|
|
1283
|
+
_wasm_end_group = Module["_wasm_end_group"] = wasmExports["wf"];
|
|
1284
|
+
_wasm_begin_tile = Module["_wasm_begin_tile"] = wasmExports["xf"];
|
|
1285
|
+
_wasm_end_tile = Module["_wasm_end_tile"] = wasmExports["yf"];
|
|
1286
|
+
_wasm_begin_layer = Module["_wasm_begin_layer"] = wasmExports["zf"];
|
|
1287
|
+
_wasm_end_layer = Module["_wasm_end_layer"] = wasmExports["Af"];
|
|
1288
|
+
_wasm_new_document_writer_with_buffer = Module["_wasm_new_document_writer_with_buffer"] = wasmExports["Bf"];
|
|
1289
|
+
_wasm_begin_page = Module["_wasm_begin_page"] = wasmExports["Cf"];
|
|
1290
|
+
_wasm_end_page = Module["_wasm_end_page"] = wasmExports["Df"];
|
|
1291
|
+
_wasm_close_document_writer = Module["_wasm_close_document_writer"] = wasmExports["Ef"];
|
|
1292
|
+
_wasm_print_stext_page_as_json = Module["_wasm_print_stext_page_as_json"] = wasmExports["Ff"];
|
|
1293
|
+
_wasm_search_stext_page = Module["_wasm_search_stext_page"] = wasmExports["Gf"];
|
|
1294
|
+
_wasm_snap_selection = Module["_wasm_snap_selection"] = wasmExports["Hf"];
|
|
1295
|
+
_wasm_copy_selection = Module["_wasm_copy_selection"] = wasmExports["If"];
|
|
1296
|
+
_wasm_highlight_selection = Module["_wasm_highlight_selection"] = wasmExports["Jf"];
|
|
1297
|
+
_wasm_print_stext_page_as_html = Module["_wasm_print_stext_page_as_html"] = wasmExports["Kf"];
|
|
1298
|
+
_wasm_print_stext_page_as_text = Module["_wasm_print_stext_page_as_text"] = wasmExports["Lf"];
|
|
1299
|
+
_wasm_open_document_with_buffer = Module["_wasm_open_document_with_buffer"] = wasmExports["Mf"];
|
|
1300
|
+
_wasm_open_document_with_stream = Module["_wasm_open_document_with_stream"] = wasmExports["Nf"];
|
|
1301
|
+
_wasm_format_link_uri = Module["_wasm_format_link_uri"] = wasmExports["Of"];
|
|
1302
|
+
_wasm_needs_password = Module["_wasm_needs_password"] = wasmExports["Pf"];
|
|
1303
|
+
_wasm_authenticate_password = Module["_wasm_authenticate_password"] = wasmExports["Qf"];
|
|
1304
|
+
_wasm_has_permission = Module["_wasm_has_permission"] = wasmExports["Rf"];
|
|
1305
|
+
_wasm_count_pages = Module["_wasm_count_pages"] = wasmExports["Sf"];
|
|
1306
|
+
_wasm_load_page = Module["_wasm_load_page"] = wasmExports["Tf"];
|
|
1307
|
+
_wasm_lookup_metadata = Module["_wasm_lookup_metadata"] = wasmExports["Uf"];
|
|
1308
|
+
_wasm_set_metadata = Module["_wasm_set_metadata"] = wasmExports["Vf"];
|
|
1309
|
+
_wasm_resolve_link = Module["_wasm_resolve_link"] = wasmExports["Wf"];
|
|
1310
|
+
_wasm_resolve_link_dest = Module["_wasm_resolve_link_dest"] = wasmExports["Xf"];
|
|
1311
|
+
_wasm_load_outline = Module["_wasm_load_outline"] = wasmExports["Yf"];
|
|
1312
|
+
_wasm_outline_get_page = Module["_wasm_outline_get_page"] = wasmExports["Zf"];
|
|
1313
|
+
_wasm_layout_document = Module["_wasm_layout_document"] = wasmExports["_f"];
|
|
1314
|
+
_wasm_is_document_reflowable = Module["_wasm_is_document_reflowable"] = wasmExports["$f"];
|
|
1315
|
+
_wasm_link_set_rect = Module["_wasm_link_set_rect"] = wasmExports["ag"];
|
|
1316
|
+
_wasm_link_set_uri = Module["_wasm_link_set_uri"] = wasmExports["bg"];
|
|
1317
|
+
_wasm_bound_page = Module["_wasm_bound_page"] = wasmExports["cg"];
|
|
1318
|
+
_wasm_load_links = Module["_wasm_load_links"] = wasmExports["dg"];
|
|
1319
|
+
_wasm_create_link = Module["_wasm_create_link"] = wasmExports["eg"];
|
|
1320
|
+
_wasm_delete_link = Module["_wasm_delete_link"] = wasmExports["fg"];
|
|
1321
|
+
_wasm_run_page = Module["_wasm_run_page"] = wasmExports["gg"];
|
|
1322
|
+
_wasm_run_page_contents = Module["_wasm_run_page_contents"] = wasmExports["hg"];
|
|
1323
|
+
_wasm_run_page_annots = Module["_wasm_run_page_annots"] = wasmExports["ig"];
|
|
1324
|
+
_wasm_run_page_widgets = Module["_wasm_run_page_widgets"] = wasmExports["jg"];
|
|
1325
|
+
_wasm_new_stext_page_from_page = Module["_wasm_new_stext_page_from_page"] = wasmExports["kg"];
|
|
1326
|
+
_wasm_new_display_list_from_page = Module["_wasm_new_display_list_from_page"] = wasmExports["lg"];
|
|
1327
|
+
_wasm_new_display_list_from_page_contents = Module["_wasm_new_display_list_from_page_contents"] = wasmExports["mg"];
|
|
1328
|
+
_wasm_page_label = Module["_wasm_page_label"] = wasmExports["ng"];
|
|
1329
|
+
_wasm_search_page = Module["_wasm_search_page"] = wasmExports["og"];
|
|
1330
|
+
_wasm_new_outline_iterator = Module["_wasm_new_outline_iterator"] = wasmExports["pg"];
|
|
1331
|
+
_wasm_outline_iterator_next = Module["_wasm_outline_iterator_next"] = wasmExports["qg"];
|
|
1332
|
+
_wasm_outline_iterator_prev = Module["_wasm_outline_iterator_prev"] = wasmExports["rg"];
|
|
1333
|
+
_wasm_outline_iterator_up = Module["_wasm_outline_iterator_up"] = wasmExports["sg"];
|
|
1334
|
+
_wasm_outline_iterator_down = Module["_wasm_outline_iterator_down"] = wasmExports["tg"];
|
|
1335
|
+
_wasm_outline_iterator_delete = Module["_wasm_outline_iterator_delete"] = wasmExports["ug"];
|
|
1336
|
+
_wasm_outline_iterator_item = Module["_wasm_outline_iterator_item"] = wasmExports["vg"];
|
|
1337
|
+
_wasm_outline_iterator_insert = Module["_wasm_outline_iterator_insert"] = wasmExports["wg"];
|
|
1338
|
+
_wasm_outline_iterator_update = Module["_wasm_outline_iterator_update"] = wasmExports["xg"];
|
|
1339
|
+
_wasm_pdf_document_from_fz_document = Module["_wasm_pdf_document_from_fz_document"] = wasmExports["yg"];
|
|
1340
|
+
_wasm_pdf_page_from_fz_page = Module["_wasm_pdf_page_from_fz_page"] = wasmExports["zg"];
|
|
1341
|
+
_wasm_pdf_create_document = Module["_wasm_pdf_create_document"] = wasmExports["Ag"];
|
|
1342
|
+
_wasm_pdf_version = Module["_wasm_pdf_version"] = wasmExports["Bg"];
|
|
1343
|
+
_wasm_pdf_was_repaired = Module["_wasm_pdf_was_repaired"] = wasmExports["Cg"];
|
|
1344
|
+
_wasm_pdf_has_unsaved_changes = Module["_wasm_pdf_has_unsaved_changes"] = wasmExports["Dg"];
|
|
1345
|
+
_wasm_pdf_can_be_saved_incrementally = Module["_wasm_pdf_can_be_saved_incrementally"] = wasmExports["Eg"];
|
|
1346
|
+
_wasm_pdf_count_versions = Module["_wasm_pdf_count_versions"] = wasmExports["Fg"];
|
|
1347
|
+
_wasm_pdf_count_unsaved_versions = Module["_wasm_pdf_count_unsaved_versions"] = wasmExports["Gg"];
|
|
1348
|
+
_wasm_pdf_validate_change_history = Module["_wasm_pdf_validate_change_history"] = wasmExports["Hg"];
|
|
1349
|
+
_wasm_pdf_enable_journal = Module["_wasm_pdf_enable_journal"] = wasmExports["Ig"];
|
|
1350
|
+
_wasm_pdf_undoredo_state_position = Module["_wasm_pdf_undoredo_state_position"] = wasmExports["Jg"];
|
|
1351
|
+
_wasm_pdf_undoredo_state_count = Module["_wasm_pdf_undoredo_state_count"] = wasmExports["Kg"];
|
|
1352
|
+
_wasm_pdf_undoredo_step = Module["_wasm_pdf_undoredo_step"] = wasmExports["Lg"];
|
|
1353
|
+
_wasm_pdf_begin_operation = Module["_wasm_pdf_begin_operation"] = wasmExports["Mg"];
|
|
1354
|
+
_wasm_pdf_begin_implicit_operation = Module["_wasm_pdf_begin_implicit_operation"] = wasmExports["Ng"];
|
|
1355
|
+
_wasm_pdf_end_operation = Module["_wasm_pdf_end_operation"] = wasmExports["Og"];
|
|
1356
|
+
_wasm_pdf_abandon_operation = Module["_wasm_pdf_abandon_operation"] = wasmExports["Pg"];
|
|
1357
|
+
_wasm_pdf_undo = Module["_wasm_pdf_undo"] = wasmExports["Qg"];
|
|
1358
|
+
_wasm_pdf_redo = Module["_wasm_pdf_redo"] = wasmExports["Rg"];
|
|
1359
|
+
_wasm_pdf_can_undo = Module["_wasm_pdf_can_undo"] = wasmExports["Sg"];
|
|
1360
|
+
_wasm_pdf_can_redo = Module["_wasm_pdf_can_redo"] = wasmExports["Tg"];
|
|
1361
|
+
_wasm_pdf_document_language = Module["_wasm_pdf_document_language"] = wasmExports["Ug"];
|
|
1362
|
+
_wasm_pdf_set_document_language = Module["_wasm_pdf_set_document_language"] = wasmExports["Vg"];
|
|
1363
|
+
_wasm_pdf_trailer = Module["_wasm_pdf_trailer"] = wasmExports["Wg"];
|
|
1364
|
+
_wasm_pdf_xref_len = Module["_wasm_pdf_xref_len"] = wasmExports["Xg"];
|
|
1365
|
+
_wasm_pdf_lookup_page_obj = Module["_wasm_pdf_lookup_page_obj"] = wasmExports["Yg"];
|
|
1366
|
+
_wasm_pdf_add_object = Module["_wasm_pdf_add_object"] = wasmExports["Zg"];
|
|
1367
|
+
_wasm_pdf_create_object = Module["_wasm_pdf_create_object"] = wasmExports["_g"];
|
|
1368
|
+
_wasm_pdf_delete_object = Module["_wasm_pdf_delete_object"] = wasmExports["$g"];
|
|
1369
|
+
_wasm_pdf_add_stream = Module["_wasm_pdf_add_stream"] = wasmExports["ah"];
|
|
1370
|
+
_wasm_pdf_add_simple_font = Module["_wasm_pdf_add_simple_font"] = wasmExports["bh"];
|
|
1371
|
+
_wasm_pdf_add_cjk_font = Module["_wasm_pdf_add_cjk_font"] = wasmExports["ch"];
|
|
1372
|
+
_wasm_pdf_add_cid_font = Module["_wasm_pdf_add_cid_font"] = wasmExports["dh"];
|
|
1373
|
+
_wasm_pdf_add_image = Module["_wasm_pdf_add_image"] = wasmExports["eh"];
|
|
1374
|
+
_wasm_pdf_load_image = Module["_wasm_pdf_load_image"] = wasmExports["fh"];
|
|
1375
|
+
_wasm_pdf_set_page_tree_cache = Module["_wasm_pdf_set_page_tree_cache"] = wasmExports["gh"];
|
|
1376
|
+
_wasm_pdf_add_page = Module["_wasm_pdf_add_page"] = wasmExports["hh"];
|
|
1377
|
+
_wasm_pdf_insert_page = Module["_wasm_pdf_insert_page"] = wasmExports["ih"];
|
|
1378
|
+
_wasm_pdf_delete_page = Module["_wasm_pdf_delete_page"] = wasmExports["jh"];
|
|
1379
|
+
_wasm_pdf_set_page_labels = Module["_wasm_pdf_set_page_labels"] = wasmExports["kh"];
|
|
1380
|
+
_wasm_pdf_delete_page_labels = Module["_wasm_pdf_delete_page_labels"] = wasmExports["lh"];
|
|
1381
|
+
_wasm_pdf_is_embedded_file = Module["_wasm_pdf_is_embedded_file"] = wasmExports["mh"];
|
|
1382
|
+
_wasm_pdf_get_filespec_params = Module["_wasm_pdf_get_filespec_params"] = wasmExports["nh"];
|
|
1383
|
+
_wasm_pdf_add_embedded_file = Module["_wasm_pdf_add_embedded_file"] = wasmExports["oh"];
|
|
1384
|
+
_wasm_pdf_load_embedded_file_contents = Module["_wasm_pdf_load_embedded_file_contents"] = wasmExports["ph"];
|
|
1385
|
+
_wasm_pdf_write_document_buffer = Module["_wasm_pdf_write_document_buffer"] = wasmExports["qh"];
|
|
1386
|
+
_wasm_pdf_js_supported = Module["_wasm_pdf_js_supported"] = wasmExports["rh"];
|
|
1387
|
+
_wasm_pdf_enable_js = Module["_wasm_pdf_enable_js"] = wasmExports["sh"];
|
|
1388
|
+
_wasm_pdf_disable_js = Module["_wasm_pdf_disable_js"] = wasmExports["th"];
|
|
1389
|
+
_wasm_pdf_rearrange_pages = Module["_wasm_pdf_rearrange_pages"] = wasmExports["uh"];
|
|
1390
|
+
_wasm_pdf_subset_fonts = Module["_wasm_pdf_subset_fonts"] = wasmExports["vh"];
|
|
1391
|
+
_wasm_pdf_bake_document = Module["_wasm_pdf_bake_document"] = wasmExports["wh"];
|
|
1392
|
+
_wasm_pdf_count_layer_configs = Module["_wasm_pdf_count_layer_configs"] = wasmExports["xh"];
|
|
1393
|
+
_wasm_pdf_layer_config_creator = Module["_wasm_pdf_layer_config_creator"] = wasmExports["yh"];
|
|
1394
|
+
_wasm_pdf_layer_config_name = Module["_wasm_pdf_layer_config_name"] = wasmExports["zh"];
|
|
1395
|
+
_wasm_pdf_select_layer_config = Module["_wasm_pdf_select_layer_config"] = wasmExports["Ah"];
|
|
1396
|
+
_wasm_pdf_count_layer_config_uis = Module["_wasm_pdf_count_layer_config_uis"] = wasmExports["Bh"];
|
|
1397
|
+
_wasm_pdf_layer_config_ui_info = Module["_wasm_pdf_layer_config_ui_info"] = wasmExports["Ch"];
|
|
1398
|
+
_wasm_pdf_count_layers = Module["_wasm_pdf_count_layers"] = wasmExports["Dh"];
|
|
1399
|
+
_wasm_pdf_layer_name = Module["_wasm_pdf_layer_name"] = wasmExports["Eh"];
|
|
1400
|
+
_wasm_pdf_layer_is_enabled = Module["_wasm_pdf_layer_is_enabled"] = wasmExports["Fh"];
|
|
1401
|
+
_wasm_pdf_enable_layer = Module["_wasm_pdf_enable_layer"] = wasmExports["Gh"];
|
|
1402
|
+
_wasm_pdf_page_transform = Module["_wasm_pdf_page_transform"] = wasmExports["Hh"];
|
|
1403
|
+
_wasm_pdf_set_page_box = Module["_wasm_pdf_set_page_box"] = wasmExports["Ih"];
|
|
1404
|
+
_wasm_pdf_first_annot = Module["_wasm_pdf_first_annot"] = wasmExports["Jh"];
|
|
1405
|
+
_wasm_pdf_next_annot = Module["_wasm_pdf_next_annot"] = wasmExports["Kh"];
|
|
1406
|
+
_wasm_pdf_first_widget = Module["_wasm_pdf_first_widget"] = wasmExports["Lh"];
|
|
1407
|
+
_wasm_pdf_next_widget = Module["_wasm_pdf_next_widget"] = wasmExports["Mh"];
|
|
1408
|
+
_wasm_pdf_create_annot = Module["_wasm_pdf_create_annot"] = wasmExports["Nh"];
|
|
1409
|
+
_wasm_pdf_delete_annot = Module["_wasm_pdf_delete_annot"] = wasmExports["Oh"];
|
|
1410
|
+
_wasm_pdf_update_page = Module["_wasm_pdf_update_page"] = wasmExports["Ph"];
|
|
1411
|
+
_wasm_pdf_redact_page = Module["_wasm_pdf_redact_page"] = wasmExports["Qh"];
|
|
1412
|
+
_wasm_pdf_new_graft_map = Module["_wasm_pdf_new_graft_map"] = wasmExports["Rh"];
|
|
1413
|
+
_wasm_pdf_graft_mapped_object = Module["_wasm_pdf_graft_mapped_object"] = wasmExports["Sh"];
|
|
1414
|
+
_wasm_pdf_graft_object = Module["_wasm_pdf_graft_object"] = wasmExports["Th"];
|
|
1415
|
+
_wasm_pdf_graft_mapped_page = Module["_wasm_pdf_graft_mapped_page"] = wasmExports["Uh"];
|
|
1416
|
+
_wasm_pdf_graft_page = Module["_wasm_pdf_graft_page"] = wasmExports["Vh"];
|
|
1417
|
+
_wasm_pdf_bound_annot = Module["_wasm_pdf_bound_annot"] = wasmExports["Wh"];
|
|
1418
|
+
_wasm_pdf_run_annot = Module["_wasm_pdf_run_annot"] = wasmExports["Xh"];
|
|
1419
|
+
_wasm_pdf_new_pixmap_from_annot = Module["_wasm_pdf_new_pixmap_from_annot"] = wasmExports["Yh"];
|
|
1420
|
+
_wasm_pdf_new_display_list_from_annot = Module["_wasm_pdf_new_display_list_from_annot"] = wasmExports["Zh"];
|
|
1421
|
+
_wasm_pdf_update_annot = Module["_wasm_pdf_update_annot"] = wasmExports["_h"];
|
|
1422
|
+
_wasm_pdf_annot_obj = Module["_wasm_pdf_annot_obj"] = wasmExports["$h"];
|
|
1423
|
+
_wasm_pdf_annot_type = Module["_wasm_pdf_annot_type"] = wasmExports["ai"];
|
|
1424
|
+
_wasm_pdf_annot_flags = Module["_wasm_pdf_annot_flags"] = wasmExports["bi"];
|
|
1425
|
+
_wasm_pdf_set_annot_flags = Module["_wasm_pdf_set_annot_flags"] = wasmExports["ci"];
|
|
1426
|
+
_wasm_pdf_annot_contents = Module["_wasm_pdf_annot_contents"] = wasmExports["di"];
|
|
1427
|
+
_wasm_pdf_set_annot_contents = Module["_wasm_pdf_set_annot_contents"] = wasmExports["ei"];
|
|
1428
|
+
_wasm_pdf_annot_name = Module["_wasm_pdf_annot_name"] = wasmExports["fi"];
|
|
1429
|
+
_wasm_pdf_set_annot_name = Module["_wasm_pdf_set_annot_name"] = wasmExports["gi"];
|
|
1430
|
+
_wasm_pdf_annot_author = Module["_wasm_pdf_annot_author"] = wasmExports["hi"];
|
|
1431
|
+
_wasm_pdf_set_annot_author = Module["_wasm_pdf_set_annot_author"] = wasmExports["ii"];
|
|
1432
|
+
_wasm_pdf_annot_subject = Module["_wasm_pdf_annot_subject"] = wasmExports["ji"];
|
|
1433
|
+
_wasm_pdf_set_annot_subject = Module["_wasm_pdf_set_annot_subject"] = wasmExports["ki"];
|
|
1434
|
+
_wasm_pdf_annot_creation_date = Module["_wasm_pdf_annot_creation_date"] = wasmExports["li"];
|
|
1435
|
+
_wasm_pdf_set_annot_creation_date = Module["_wasm_pdf_set_annot_creation_date"] = wasmExports["mi"];
|
|
1436
|
+
_wasm_pdf_annot_modification_date = Module["_wasm_pdf_annot_modification_date"] = wasmExports["ni"];
|
|
1437
|
+
_wasm_pdf_set_annot_modification_date = Module["_wasm_pdf_set_annot_modification_date"] = wasmExports["oi"];
|
|
1438
|
+
_wasm_pdf_annot_border_width = Module["_wasm_pdf_annot_border_width"] = wasmExports["pi"];
|
|
1439
|
+
_wasm_pdf_set_annot_border_width = Module["_wasm_pdf_set_annot_border_width"] = wasmExports["qi"];
|
|
1440
|
+
_wasm_pdf_annot_border_style = Module["_wasm_pdf_annot_border_style"] = wasmExports["ri"];
|
|
1441
|
+
_wasm_pdf_set_annot_border_style = Module["_wasm_pdf_set_annot_border_style"] = wasmExports["si"];
|
|
1442
|
+
_wasm_pdf_annot_border_effect = Module["_wasm_pdf_annot_border_effect"] = wasmExports["ti"];
|
|
1443
|
+
_wasm_pdf_set_annot_border_effect = Module["_wasm_pdf_set_annot_border_effect"] = wasmExports["ui"];
|
|
1444
|
+
_wasm_pdf_annot_border_effect_intensity = Module["_wasm_pdf_annot_border_effect_intensity"] = wasmExports["vi"];
|
|
1445
|
+
_wasm_pdf_set_annot_border_effect_intensity = Module["_wasm_pdf_set_annot_border_effect_intensity"] = wasmExports["wi"];
|
|
1446
|
+
_wasm_pdf_annot_opacity = Module["_wasm_pdf_annot_opacity"] = wasmExports["xi"];
|
|
1447
|
+
_wasm_pdf_set_annot_opacity = Module["_wasm_pdf_set_annot_opacity"] = wasmExports["yi"];
|
|
1448
|
+
_wasm_pdf_annot_filespec = Module["_wasm_pdf_annot_filespec"] = wasmExports["zi"];
|
|
1449
|
+
_wasm_pdf_set_annot_filespec = Module["_wasm_pdf_set_annot_filespec"] = wasmExports["Ai"];
|
|
1450
|
+
_wasm_pdf_annot_quadding = Module["_wasm_pdf_annot_quadding"] = wasmExports["Bi"];
|
|
1451
|
+
_wasm_pdf_set_annot_quadding = Module["_wasm_pdf_set_annot_quadding"] = wasmExports["Ci"];
|
|
1452
|
+
_wasm_pdf_annot_is_open = Module["_wasm_pdf_annot_is_open"] = wasmExports["Di"];
|
|
1453
|
+
_wasm_pdf_set_annot_is_open = Module["_wasm_pdf_set_annot_is_open"] = wasmExports["Ei"];
|
|
1454
|
+
_wasm_pdf_annot_hidden_for_editing = Module["_wasm_pdf_annot_hidden_for_editing"] = wasmExports["Fi"];
|
|
1455
|
+
_wasm_pdf_set_annot_hidden_for_editing = Module["_wasm_pdf_set_annot_hidden_for_editing"] = wasmExports["Gi"];
|
|
1456
|
+
_wasm_pdf_annot_icon_name = Module["_wasm_pdf_annot_icon_name"] = wasmExports["Hi"];
|
|
1457
|
+
_wasm_pdf_set_annot_icon_name = Module["_wasm_pdf_set_annot_icon_name"] = wasmExports["Ii"];
|
|
1458
|
+
_wasm_pdf_annot_intent = Module["_wasm_pdf_annot_intent"] = wasmExports["Ji"];
|
|
1459
|
+
_wasm_pdf_set_annot_intent = Module["_wasm_pdf_set_annot_intent"] = wasmExports["Ki"];
|
|
1460
|
+
_wasm_pdf_annot_callout_style = Module["_wasm_pdf_annot_callout_style"] = wasmExports["Li"];
|
|
1461
|
+
_wasm_pdf_set_annot_callout_style = Module["_wasm_pdf_set_annot_callout_style"] = wasmExports["Mi"];
|
|
1462
|
+
_wasm_pdf_annot_line_leader = Module["_wasm_pdf_annot_line_leader"] = wasmExports["Ni"];
|
|
1463
|
+
_wasm_pdf_set_annot_line_leader = Module["_wasm_pdf_set_annot_line_leader"] = wasmExports["Oi"];
|
|
1464
|
+
_wasm_pdf_annot_line_leader_extension = Module["_wasm_pdf_annot_line_leader_extension"] = wasmExports["Pi"];
|
|
1465
|
+
_wasm_pdf_set_annot_line_leader_extension = Module["_wasm_pdf_set_annot_line_leader_extension"] = wasmExports["Qi"];
|
|
1466
|
+
_wasm_pdf_annot_line_leader_offset = Module["_wasm_pdf_annot_line_leader_offset"] = wasmExports["Ri"];
|
|
1467
|
+
_wasm_pdf_set_annot_line_leader_offset = Module["_wasm_pdf_set_annot_line_leader_offset"] = wasmExports["Si"];
|
|
1468
|
+
_wasm_pdf_annot_line_caption = Module["_wasm_pdf_annot_line_caption"] = wasmExports["Ti"];
|
|
1469
|
+
_wasm_pdf_set_annot_line_caption = Module["_wasm_pdf_set_annot_line_caption"] = wasmExports["Ui"];
|
|
1470
|
+
_wasm_pdf_annot_rich_defaults = Module["_wasm_pdf_annot_rich_defaults"] = wasmExports["Vi"];
|
|
1471
|
+
_wasm_pdf_set_annot_rich_defaults = Module["_wasm_pdf_set_annot_rich_defaults"] = wasmExports["Wi"];
|
|
1472
|
+
_wasm_pdf_annot_callout_point = Module["_wasm_pdf_annot_callout_point"] = wasmExports["Xi"];
|
|
1473
|
+
_wasm_pdf_annot_line_caption_offset = Module["_wasm_pdf_annot_line_caption_offset"] = wasmExports["Yi"];
|
|
1474
|
+
_wasm_pdf_annot_rect = Module["_wasm_pdf_annot_rect"] = wasmExports["Zi"];
|
|
1475
|
+
_wasm_pdf_annot_popup = Module["_wasm_pdf_annot_popup"] = wasmExports["_i"];
|
|
1476
|
+
_wasm_pdf_annot_quad_point_count = Module["_wasm_pdf_annot_quad_point_count"] = wasmExports["$i"];
|
|
1477
|
+
_wasm_pdf_annot_quad_point = Module["_wasm_pdf_annot_quad_point"] = wasmExports["aj"];
|
|
1478
|
+
_wasm_pdf_annot_vertex_count = Module["_wasm_pdf_annot_vertex_count"] = wasmExports["bj"];
|
|
1479
|
+
_wasm_pdf_annot_vertex = Module["_wasm_pdf_annot_vertex"] = wasmExports["cj"];
|
|
1480
|
+
_wasm_pdf_annot_ink_list_count = Module["_wasm_pdf_annot_ink_list_count"] = wasmExports["dj"];
|
|
1481
|
+
_wasm_pdf_annot_ink_list_stroke_count = Module["_wasm_pdf_annot_ink_list_stroke_count"] = wasmExports["ej"];
|
|
1482
|
+
_wasm_pdf_annot_ink_list_stroke_vertex = Module["_wasm_pdf_annot_ink_list_stroke_vertex"] = wasmExports["fj"];
|
|
1483
|
+
_wasm_pdf_annot_rich_contents = Module["_wasm_pdf_annot_rich_contents"] = wasmExports["gj"];
|
|
1484
|
+
_wasm_pdf_annot_border_dash_count = Module["_wasm_pdf_annot_border_dash_count"] = wasmExports["hj"];
|
|
1485
|
+
_wasm_pdf_annot_border_dash_item = Module["_wasm_pdf_annot_border_dash_item"] = wasmExports["ij"];
|
|
1486
|
+
_wasm_pdf_annot_has_rect = Module["_wasm_pdf_annot_has_rect"] = wasmExports["jj"];
|
|
1487
|
+
_wasm_pdf_annot_has_ink_list = Module["_wasm_pdf_annot_has_ink_list"] = wasmExports["kj"];
|
|
1488
|
+
_wasm_pdf_annot_has_quad_points = Module["_wasm_pdf_annot_has_quad_points"] = wasmExports["lj"];
|
|
1489
|
+
_wasm_pdf_annot_has_vertices = Module["_wasm_pdf_annot_has_vertices"] = wasmExports["mj"];
|
|
1490
|
+
_wasm_pdf_annot_has_line = Module["_wasm_pdf_annot_has_line"] = wasmExports["nj"];
|
|
1491
|
+
_wasm_pdf_annot_has_interior_color = Module["_wasm_pdf_annot_has_interior_color"] = wasmExports["oj"];
|
|
1492
|
+
_wasm_pdf_annot_has_line_ending_styles = Module["_wasm_pdf_annot_has_line_ending_styles"] = wasmExports["pj"];
|
|
1493
|
+
_wasm_pdf_annot_has_border = Module["_wasm_pdf_annot_has_border"] = wasmExports["qj"];
|
|
1494
|
+
_wasm_pdf_annot_has_border_effect = Module["_wasm_pdf_annot_has_border_effect"] = wasmExports["rj"];
|
|
1495
|
+
_wasm_pdf_annot_has_icon_name = Module["_wasm_pdf_annot_has_icon_name"] = wasmExports["sj"];
|
|
1496
|
+
_wasm_pdf_annot_has_open = Module["_wasm_pdf_annot_has_open"] = wasmExports["tj"];
|
|
1497
|
+
_wasm_pdf_annot_has_author = Module["_wasm_pdf_annot_has_author"] = wasmExports["uj"];
|
|
1498
|
+
_wasm_pdf_annot_has_subject = Module["_wasm_pdf_annot_has_subject"] = wasmExports["vj"];
|
|
1499
|
+
_wasm_pdf_annot_has_filespec = Module["_wasm_pdf_annot_has_filespec"] = wasmExports["wj"];
|
|
1500
|
+
_wasm_pdf_annot_has_callout = Module["_wasm_pdf_annot_has_callout"] = wasmExports["xj"];
|
|
1501
|
+
_wasm_pdf_annot_has_rich_contents = Module["_wasm_pdf_annot_has_rich_contents"] = wasmExports["yj"];
|
|
1502
|
+
_wasm_pdf_annot_language = Module["_wasm_pdf_annot_language"] = wasmExports["zj"];
|
|
1503
|
+
_wasm_pdf_set_annot_language = Module["_wasm_pdf_set_annot_language"] = wasmExports["Aj"];
|
|
1504
|
+
_wasm_pdf_set_annot_popup = Module["_wasm_pdf_set_annot_popup"] = wasmExports["Bj"];
|
|
1505
|
+
_wasm_pdf_set_annot_rect = Module["_wasm_pdf_set_annot_rect"] = wasmExports["Cj"];
|
|
1506
|
+
_wasm_pdf_clear_annot_quad_points = Module["_wasm_pdf_clear_annot_quad_points"] = wasmExports["Dj"];
|
|
1507
|
+
_wasm_pdf_clear_annot_vertices = Module["_wasm_pdf_clear_annot_vertices"] = wasmExports["Ej"];
|
|
1508
|
+
_wasm_pdf_clear_annot_ink_list = Module["_wasm_pdf_clear_annot_ink_list"] = wasmExports["Fj"];
|
|
1509
|
+
_wasm_pdf_clear_annot_border_dash = Module["_wasm_pdf_clear_annot_border_dash"] = wasmExports["Gj"];
|
|
1510
|
+
_wasm_pdf_add_annot_quad_point = Module["_wasm_pdf_add_annot_quad_point"] = wasmExports["Hj"];
|
|
1511
|
+
_wasm_pdf_add_annot_vertex = Module["_wasm_pdf_add_annot_vertex"] = wasmExports["Ij"];
|
|
1512
|
+
_wasm_pdf_add_annot_ink_list_stroke = Module["_wasm_pdf_add_annot_ink_list_stroke"] = wasmExports["Jj"];
|
|
1513
|
+
_wasm_pdf_add_annot_ink_list_stroke_vertex = Module["_wasm_pdf_add_annot_ink_list_stroke_vertex"] = wasmExports["Kj"];
|
|
1514
|
+
_wasm_pdf_add_annot_border_dash_item = Module["_wasm_pdf_add_annot_border_dash_item"] = wasmExports["Lj"];
|
|
1515
|
+
_wasm_pdf_annot_line_ending_styles_start = Module["_wasm_pdf_annot_line_ending_styles_start"] = wasmExports["Mj"];
|
|
1516
|
+
_wasm_pdf_annot_line_1 = Module["_wasm_pdf_annot_line_1"] = wasmExports["Nj"];
|
|
1517
|
+
_wasm_pdf_annot_line_2 = Module["_wasm_pdf_annot_line_2"] = wasmExports["Oj"];
|
|
1518
|
+
_wasm_pdf_set_annot_line = Module["_wasm_pdf_set_annot_line"] = wasmExports["Pj"];
|
|
1519
|
+
_wasm_pdf_set_annot_callout_point = Module["_wasm_pdf_set_annot_callout_point"] = wasmExports["Qj"];
|
|
1520
|
+
_wasm_pdf_annot_callout_line = Module["_wasm_pdf_annot_callout_line"] = wasmExports["Rj"];
|
|
1521
|
+
_wasm_pdf_set_annot_callout_line = Module["_wasm_pdf_set_annot_callout_line"] = wasmExports["Sj"];
|
|
1522
|
+
_wasm_pdf_set_annot_line_caption_offset = Module["_wasm_pdf_set_annot_line_caption_offset"] = wasmExports["Tj"];
|
|
1523
|
+
_wasm_pdf_annot_line_ending_styles_end = Module["_wasm_pdf_annot_line_ending_styles_end"] = wasmExports["Uj"];
|
|
1524
|
+
_wasm_pdf_set_annot_line_ending_styles = Module["_wasm_pdf_set_annot_line_ending_styles"] = wasmExports["Vj"];
|
|
1525
|
+
_wasm_pdf_annot_color = Module["_wasm_pdf_annot_color"] = wasmExports["Wj"];
|
|
1526
|
+
_wasm_pdf_annot_interior_color = Module["_wasm_pdf_annot_interior_color"] = wasmExports["Xj"];
|
|
1527
|
+
_wasm_pdf_set_annot_color = Module["_wasm_pdf_set_annot_color"] = wasmExports["Yj"];
|
|
1528
|
+
_wasm_pdf_set_annot_interior_color = Module["_wasm_pdf_set_annot_interior_color"] = wasmExports["Zj"];
|
|
1529
|
+
_wasm_pdf_set_annot_default_appearance = Module["_wasm_pdf_set_annot_default_appearance"] = wasmExports["_j"];
|
|
1530
|
+
_wasm_pdf_annot_default_appearance_font = Module["_wasm_pdf_annot_default_appearance_font"] = wasmExports["$j"];
|
|
1531
|
+
_wasm_pdf_annot_default_appearance_size = Module["_wasm_pdf_annot_default_appearance_size"] = wasmExports["ak"];
|
|
1532
|
+
_wasm_pdf_annot_default_appearance_color = Module["_wasm_pdf_annot_default_appearance_color"] = wasmExports["bk"];
|
|
1533
|
+
_wasm_pdf_set_annot_rich_contents = Module["_wasm_pdf_set_annot_rich_contents"] = wasmExports["ck"];
|
|
1534
|
+
_wasm_pdf_set_annot_stamp_image = Module["_wasm_pdf_set_annot_stamp_image"] = wasmExports["dk"];
|
|
1535
|
+
_wasm_pdf_set_annot_appearance_from_display_list = Module["_wasm_pdf_set_annot_appearance_from_display_list"] = wasmExports["ek"];
|
|
1536
|
+
_wasm_pdf_set_annot_appearance = Module["_wasm_pdf_set_annot_appearance"] = wasmExports["fk"];
|
|
1537
|
+
_wasm_pdf_apply_redaction = Module["_wasm_pdf_apply_redaction"] = wasmExports["gk"];
|
|
1538
|
+
_wasm_pdf_reset_form = Module["_wasm_pdf_reset_form"] = wasmExports["hk"];
|
|
1539
|
+
_wasm_pdf_annot_field_type = Module["_wasm_pdf_annot_field_type"] = wasmExports["ik"];
|
|
1540
|
+
_wasm_pdf_annot_field_flags = Module["_wasm_pdf_annot_field_flags"] = wasmExports["jk"];
|
|
1541
|
+
_wasm_pdf_annot_field_label = Module["_wasm_pdf_annot_field_label"] = wasmExports["kk"];
|
|
1542
|
+
_wasm_pdf_annot_field_value = Module["_wasm_pdf_annot_field_value"] = wasmExports["lk"];
|
|
1543
|
+
_wasm_pdf_load_field_name = Module["_wasm_pdf_load_field_name"] = wasmExports["mk"];
|
|
1544
|
+
_wasm_pdf_annot_text_widget_max_len = Module["_wasm_pdf_annot_text_widget_max_len"] = wasmExports["nk"];
|
|
1545
|
+
_wasm_pdf_set_annot_text_field_value = Module["_wasm_pdf_set_annot_text_field_value"] = wasmExports["ok"];
|
|
1546
|
+
_wasm_pdf_set_annot_choice_field_value = Module["_wasm_pdf_set_annot_choice_field_value"] = wasmExports["pk"];
|
|
1547
|
+
_wasm_pdf_annot_choice_field_option_count = Module["_wasm_pdf_annot_choice_field_option_count"] = wasmExports["qk"];
|
|
1548
|
+
_wasm_pdf_annot_choice_field_option = Module["_wasm_pdf_annot_choice_field_option"] = wasmExports["rk"];
|
|
1549
|
+
_wasm_pdf_toggle_widget = Module["_wasm_pdf_toggle_widget"] = wasmExports["sk"];
|
|
1550
|
+
_wasm_pdf_is_indirect = Module["_wasm_pdf_is_indirect"] = wasmExports["tk"];
|
|
1551
|
+
_wasm_pdf_is_bool = Module["_wasm_pdf_is_bool"] = wasmExports["uk"];
|
|
1552
|
+
_wasm_pdf_is_int = Module["_wasm_pdf_is_int"] = wasmExports["vk"];
|
|
1553
|
+
_wasm_pdf_is_real = Module["_wasm_pdf_is_real"] = wasmExports["wk"];
|
|
1554
|
+
_wasm_pdf_is_number = Module["_wasm_pdf_is_number"] = wasmExports["xk"];
|
|
1555
|
+
_wasm_pdf_is_name = Module["_wasm_pdf_is_name"] = wasmExports["yk"];
|
|
1556
|
+
_wasm_pdf_is_string = Module["_wasm_pdf_is_string"] = wasmExports["zk"];
|
|
1557
|
+
_wasm_pdf_is_array = Module["_wasm_pdf_is_array"] = wasmExports["Ak"];
|
|
1558
|
+
_wasm_pdf_is_dict = Module["_wasm_pdf_is_dict"] = wasmExports["Bk"];
|
|
1559
|
+
_wasm_pdf_is_stream = Module["_wasm_pdf_is_stream"] = wasmExports["Ck"];
|
|
1560
|
+
_wasm_pdf_to_num = Module["_wasm_pdf_to_num"] = wasmExports["Dk"];
|
|
1561
|
+
_wasm_pdf_to_bool = Module["_wasm_pdf_to_bool"] = wasmExports["Ek"];
|
|
1562
|
+
_wasm_pdf_to_real = Module["_wasm_pdf_to_real"] = wasmExports["Fk"];
|
|
1563
|
+
_wasm_pdf_to_name = Module["_wasm_pdf_to_name"] = wasmExports["Gk"];
|
|
1564
|
+
_wasm_pdf_to_text_string = Module["_wasm_pdf_to_text_string"] = wasmExports["Hk"];
|
|
1565
|
+
_wasm_pdf_new_indirect = Module["_wasm_pdf_new_indirect"] = wasmExports["Ik"];
|
|
1566
|
+
_wasm_pdf_new_array = Module["_wasm_pdf_new_array"] = wasmExports["Jk"];
|
|
1567
|
+
_wasm_pdf_new_dict = Module["_wasm_pdf_new_dict"] = wasmExports["Kk"];
|
|
1568
|
+
_wasm_pdf_new_bool = Module["_wasm_pdf_new_bool"] = wasmExports["Lk"];
|
|
1569
|
+
_wasm_pdf_new_int = Module["_wasm_pdf_new_int"] = wasmExports["Mk"];
|
|
1570
|
+
_wasm_pdf_new_real = Module["_wasm_pdf_new_real"] = wasmExports["Nk"];
|
|
1571
|
+
_wasm_pdf_new_name = Module["_wasm_pdf_new_name"] = wasmExports["Ok"];
|
|
1572
|
+
_wasm_pdf_new_text_string = Module["_wasm_pdf_new_text_string"] = wasmExports["Pk"];
|
|
1573
|
+
_wasm_pdf_new_string = Module["_wasm_pdf_new_string"] = wasmExports["Qk"];
|
|
1574
|
+
_wasm_pdf_resolve_indirect = Module["_wasm_pdf_resolve_indirect"] = wasmExports["Rk"];
|
|
1575
|
+
_wasm_pdf_array_len = Module["_wasm_pdf_array_len"] = wasmExports["Sk"];
|
|
1576
|
+
_wasm_pdf_array_get = Module["_wasm_pdf_array_get"] = wasmExports["Tk"];
|
|
1577
|
+
_wasm_pdf_dict_get = Module["_wasm_pdf_dict_get"] = wasmExports["Uk"];
|
|
1578
|
+
_wasm_pdf_dict_len = Module["_wasm_pdf_dict_len"] = wasmExports["Vk"];
|
|
1579
|
+
_wasm_pdf_dict_get_key = Module["_wasm_pdf_dict_get_key"] = wasmExports["Wk"];
|
|
1580
|
+
_wasm_pdf_dict_get_val = Module["_wasm_pdf_dict_get_val"] = wasmExports["Xk"];
|
|
1581
|
+
_wasm_pdf_dict_get_inheritable = Module["_wasm_pdf_dict_get_inheritable"] = wasmExports["Yk"];
|
|
1582
|
+
_wasm_pdf_dict_gets = Module["_wasm_pdf_dict_gets"] = wasmExports["Zk"];
|
|
1583
|
+
_wasm_pdf_dict_gets_inheritable = Module["_wasm_pdf_dict_gets_inheritable"] = wasmExports["_k"];
|
|
1584
|
+
_wasm_pdf_dict_put = Module["_wasm_pdf_dict_put"] = wasmExports["$k"];
|
|
1585
|
+
_wasm_pdf_dict_puts = Module["_wasm_pdf_dict_puts"] = wasmExports["al"];
|
|
1586
|
+
_wasm_pdf_dict_del = Module["_wasm_pdf_dict_del"] = wasmExports["bl"];
|
|
1587
|
+
_wasm_pdf_dict_dels = Module["_wasm_pdf_dict_dels"] = wasmExports["cl"];
|
|
1588
|
+
_wasm_pdf_array_put = Module["_wasm_pdf_array_put"] = wasmExports["dl"];
|
|
1589
|
+
_wasm_pdf_array_push = Module["_wasm_pdf_array_push"] = wasmExports["el"];
|
|
1590
|
+
_wasm_pdf_array_delete = Module["_wasm_pdf_array_delete"] = wasmExports["fl"];
|
|
1591
|
+
_wasm_pdf_sprint_obj = Module["_wasm_pdf_sprint_obj"] = wasmExports["gl"];
|
|
1592
|
+
_wasm_pdf_load_stream = Module["_wasm_pdf_load_stream"] = wasmExports["hl"];
|
|
1593
|
+
_wasm_pdf_load_raw_stream = Module["_wasm_pdf_load_raw_stream"] = wasmExports["il"];
|
|
1594
|
+
_wasm_pdf_update_object = Module["_wasm_pdf_update_object"] = wasmExports["jl"];
|
|
1595
|
+
_wasm_pdf_update_stream = Module["_wasm_pdf_update_stream"] = wasmExports["kl"];
|
|
1596
|
+
_wasm_pdf_to_string = Module["_wasm_pdf_to_string"] = wasmExports["ll"];
|
|
1597
|
+
_wasm_new_stream = Module["_wasm_new_stream"] = wasmExports["ml"];
|
|
1598
|
+
_wasm_walk_path = Module["_wasm_walk_path"] = wasmExports["nl"];
|
|
1599
|
+
_wasm_walk_text = Module["_wasm_walk_text"] = wasmExports["ol"];
|
|
1600
|
+
_wasm_enable_log_callback = Module["_wasm_enable_log_callback"] = wasmExports["pl"];
|
|
1601
|
+
_wasm_new_js_device = Module["_wasm_new_js_device"] = wasmExports["ql"];
|
|
1602
|
+
_setThrew = wasmExports["sl"];
|
|
1603
|
+
__emscripten_stack_restore = wasmExports["tl"];
|
|
1604
|
+
_emscripten_stack_get_current = wasmExports["ul"];
|
|
1605
|
+
memory = wasmMemory = wasmExports["cb"];
|
|
1606
|
+
__indirect_function_table = wasmTable = wasmExports["rl"];
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
var wasmImports = {
|
|
1610
|
+
/** @export */ za: ___syscall_fcntl64,
|
|
1611
|
+
/** @export */ bb: ___syscall_ftruncate64,
|
|
1612
|
+
/** @export */ ab: ___syscall_ioctl,
|
|
1613
|
+
/** @export */ ya: ___syscall_openat,
|
|
1614
|
+
/** @export */ $a: ___syscall_rmdir,
|
|
1615
|
+
/** @export */ xa: ___syscall_unlinkat,
|
|
1616
|
+
/** @export */ Va: __emscripten_throw_longjmp,
|
|
1617
|
+
/** @export */ Ua: __gmtime_js,
|
|
1618
|
+
/** @export */ Ta: __timegm_js,
|
|
1619
|
+
/** @export */ Sa: __tzset_js,
|
|
1620
|
+
/** @export */ _a: _clock_time_get,
|
|
1621
|
+
/** @export */ s: _emscripten_asm_const_int,
|
|
1622
|
+
/** @export */ Ra: _emscripten_asm_const_ptr,
|
|
1623
|
+
/** @export */ Qa: _emscripten_date_now,
|
|
1624
|
+
/** @export */ Pa: _emscripten_resize_heap,
|
|
1625
|
+
/** @export */ Za: _environ_get,
|
|
1626
|
+
/** @export */ Ya: _environ_sizes_get,
|
|
1627
|
+
/** @export */ ua: _exit,
|
|
1628
|
+
/** @export */ wa: _fd_close,
|
|
1629
|
+
/** @export */ Xa: _fd_read,
|
|
1630
|
+
/** @export */ Wa: _fd_seek,
|
|
1631
|
+
/** @export */ va: _fd_write,
|
|
1632
|
+
/** @export */ w: invoke_fii,
|
|
1633
|
+
/** @export */ n: invoke_fiii,
|
|
1634
|
+
/** @export */ ia: invoke_fiiif,
|
|
1635
|
+
/** @export */ Oa: invoke_fiiifiif,
|
|
1636
|
+
/** @export */ F: invoke_fiiii,
|
|
1637
|
+
/** @export */ ha: invoke_fiiiii,
|
|
1638
|
+
/** @export */ Na: invoke_fiiiiiii,
|
|
1639
|
+
/** @export */ ta: invoke_i,
|
|
1640
|
+
/** @export */ e: invoke_ii,
|
|
1641
|
+
/** @export */ ga: invoke_iif,
|
|
1642
|
+
/** @export */ d: invoke_iii,
|
|
1643
|
+
/** @export */ Ma: invoke_iiidi,
|
|
1644
|
+
/** @export */ La: invoke_iiif,
|
|
1645
|
+
/** @export */ sa: invoke_iiiff,
|
|
1646
|
+
/** @export */ fa: invoke_iiiffffiii,
|
|
1647
|
+
/** @export */ Ka: invoke_iiiffiiii,
|
|
1648
|
+
/** @export */ ra: invoke_iiiffiiiiiii,
|
|
1649
|
+
/** @export */ b: invoke_iiii,
|
|
1650
|
+
/** @export */ qa: invoke_iiiif,
|
|
1651
|
+
/** @export */ ea: invoke_iiiifi,
|
|
1652
|
+
/** @export */ h: invoke_iiiii,
|
|
1653
|
+
/** @export */ Z: invoke_iiiiiffi,
|
|
1654
|
+
/** @export */ pa: invoke_iiiiiffiifiii,
|
|
1655
|
+
/** @export */ da: invoke_iiiiiffiii,
|
|
1656
|
+
/** @export */ Y: invoke_iiiiifiiii,
|
|
1657
|
+
/** @export */ j: invoke_iiiiii,
|
|
1658
|
+
/** @export */ k: invoke_iiiiiii,
|
|
1659
|
+
/** @export */ Ja: invoke_iiiiiiifi,
|
|
1660
|
+
/** @export */ t: invoke_iiiiiiii,
|
|
1661
|
+
/** @export */ M: invoke_iiiiiiiii,
|
|
1662
|
+
/** @export */ I: invoke_iiiiiiiiii,
|
|
1663
|
+
/** @export */ U: invoke_iiiiiiiiiii,
|
|
1664
|
+
/** @export */ T: invoke_iiiiiiiiiiii,
|
|
1665
|
+
/** @export */ E: invoke_iiiiiiiiiiiiii,
|
|
1666
|
+
/** @export */ Ia: invoke_iiiiiiiiiiiiiiiiii,
|
|
1667
|
+
/** @export */ Ha: invoke_iiiiiiiij,
|
|
1668
|
+
/** @export */ Ga: invoke_iiiiiijji,
|
|
1669
|
+
/** @export */ Fa: invoke_iiiiij,
|
|
1670
|
+
/** @export */ oa: invoke_iiiij,
|
|
1671
|
+
/** @export */ na: invoke_iiij,
|
|
1672
|
+
/** @export */ C: invoke_iiiji,
|
|
1673
|
+
/** @export */ ca: invoke_iiijj,
|
|
1674
|
+
/** @export */ S: invoke_iij,
|
|
1675
|
+
/** @export */ Ea: invoke_ji,
|
|
1676
|
+
/** @export */ v: invoke_jii,
|
|
1677
|
+
/** @export */ N: invoke_jiii,
|
|
1678
|
+
/** @export */ Da: invoke_jiij,
|
|
1679
|
+
/** @export */ f: invoke_vi,
|
|
1680
|
+
/** @export */ a: invoke_vii,
|
|
1681
|
+
/** @export */ r: invoke_viid,
|
|
1682
|
+
/** @export */ x: invoke_viif,
|
|
1683
|
+
/** @export */ u: invoke_viiff,
|
|
1684
|
+
/** @export */ X: invoke_viifff,
|
|
1685
|
+
/** @export */ K: invoke_viiffff,
|
|
1686
|
+
/** @export */ R: invoke_viiffffff,
|
|
1687
|
+
/** @export */ ma: invoke_viiffii,
|
|
1688
|
+
/** @export */ ba: invoke_viifi,
|
|
1689
|
+
/** @export */ g: invoke_viii,
|
|
1690
|
+
/** @export */ O: invoke_viiid,
|
|
1691
|
+
/** @export */ W: invoke_viiif,
|
|
1692
|
+
/** @export */ Q: invoke_viiiffff,
|
|
1693
|
+
/** @export */ aa: invoke_viiifffffiii,
|
|
1694
|
+
/** @export */ Ca: invoke_viiififfff,
|
|
1695
|
+
/** @export */ la: invoke_viiifii,
|
|
1696
|
+
/** @export */ c: invoke_viiii,
|
|
1697
|
+
/** @export */ ka: invoke_viiiif,
|
|
1698
|
+
/** @export */ A: invoke_viiiiff,
|
|
1699
|
+
/** @export */ Ba: invoke_viiiiffi,
|
|
1700
|
+
/** @export */ H: invoke_viiiifi,
|
|
1701
|
+
/** @export */ Aa: invoke_viiiifii,
|
|
1702
|
+
/** @export */ $: invoke_viiiifiiiiiii,
|
|
1703
|
+
/** @export */ i: invoke_viiiii,
|
|
1704
|
+
/** @export */ _: invoke_viiiiifii,
|
|
1705
|
+
/** @export */ l: invoke_viiiiii,
|
|
1706
|
+
/** @export */ ja: invoke_viiiiiiffffi,
|
|
1707
|
+
/** @export */ D: invoke_viiiiiifi,
|
|
1708
|
+
/** @export */ o: invoke_viiiiiii,
|
|
1709
|
+
/** @export */ L: invoke_viiiiiiif,
|
|
1710
|
+
/** @export */ z: invoke_viiiiiiifi,
|
|
1711
|
+
/** @export */ P: invoke_viiiiiiifiiifffffiii,
|
|
1712
|
+
/** @export */ y: invoke_viiiiiiii,
|
|
1713
|
+
/** @export */ G: invoke_viiiiiiiii,
|
|
1714
|
+
/** @export */ B: invoke_viiiiiiiiii,
|
|
1715
|
+
/** @export */ J: invoke_viiiiiiiiiii,
|
|
1716
|
+
/** @export */ V: invoke_viiiij,
|
|
1717
|
+
/** @export */ m: invoke_viiij,
|
|
1718
|
+
/** @export */ q: invoke_viij,
|
|
1719
|
+
/** @export */ p: invoke_viiji
|
|
1720
|
+
};
|
|
1721
|
+
|
|
1722
|
+
function invoke_ii(index, a1) {
|
|
1723
|
+
var sp = stackSave();
|
|
1724
|
+
try {
|
|
1725
|
+
return getWasmTableEntry(index)(a1);
|
|
1726
|
+
} catch (e) {
|
|
1727
|
+
stackRestore(sp);
|
|
1728
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1729
|
+
_setThrew(1, 0);
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
function invoke_iii(index, a1, a2) {
|
|
1734
|
+
var sp = stackSave();
|
|
1735
|
+
try {
|
|
1736
|
+
return getWasmTableEntry(index)(a1, a2);
|
|
1737
|
+
} catch (e) {
|
|
1738
|
+
stackRestore(sp);
|
|
1739
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1740
|
+
_setThrew(1, 0);
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
function invoke_vi(index, a1) {
|
|
1745
|
+
var sp = stackSave();
|
|
1746
|
+
try {
|
|
1747
|
+
getWasmTableEntry(index)(a1);
|
|
1748
|
+
} catch (e) {
|
|
1749
|
+
stackRestore(sp);
|
|
1750
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1751
|
+
_setThrew(1, 0);
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
function invoke_vii(index, a1, a2) {
|
|
1756
|
+
var sp = stackSave();
|
|
1757
|
+
try {
|
|
1758
|
+
getWasmTableEntry(index)(a1, a2);
|
|
1759
|
+
} catch (e) {
|
|
1760
|
+
stackRestore(sp);
|
|
1761
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1762
|
+
_setThrew(1, 0);
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
function invoke_iiii(index, a1, a2, a3) {
|
|
1767
|
+
var sp = stackSave();
|
|
1768
|
+
try {
|
|
1769
|
+
return getWasmTableEntry(index)(a1, a2, a3);
|
|
1770
|
+
} catch (e) {
|
|
1771
|
+
stackRestore(sp);
|
|
1772
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1773
|
+
_setThrew(1, 0);
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
function invoke_viii(index, a1, a2, a3) {
|
|
1778
|
+
var sp = stackSave();
|
|
1779
|
+
try {
|
|
1780
|
+
getWasmTableEntry(index)(a1, a2, a3);
|
|
1781
|
+
} catch (e) {
|
|
1782
|
+
stackRestore(sp);
|
|
1783
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1784
|
+
_setThrew(1, 0);
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
function invoke_iiijj(index, a1, a2, a3, a4) {
|
|
1789
|
+
var sp = stackSave();
|
|
1790
|
+
try {
|
|
1791
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
1792
|
+
} catch (e) {
|
|
1793
|
+
stackRestore(sp);
|
|
1794
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1795
|
+
_setThrew(1, 0);
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
function invoke_iiiiii(index, a1, a2, a3, a4, a5) {
|
|
1800
|
+
var sp = stackSave();
|
|
1801
|
+
try {
|
|
1802
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5);
|
|
1803
|
+
} catch (e) {
|
|
1804
|
+
stackRestore(sp);
|
|
1805
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1806
|
+
_setThrew(1, 0);
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
function invoke_fiiii(index, a1, a2, a3, a4) {
|
|
1811
|
+
var sp = stackSave();
|
|
1812
|
+
try {
|
|
1813
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
1814
|
+
} catch (e) {
|
|
1815
|
+
stackRestore(sp);
|
|
1816
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1817
|
+
_setThrew(1, 0);
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
function invoke_iiiiiii(index, a1, a2, a3, a4, a5, a6) {
|
|
1822
|
+
var sp = stackSave();
|
|
1823
|
+
try {
|
|
1824
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6);
|
|
1825
|
+
} catch (e) {
|
|
1826
|
+
stackRestore(sp);
|
|
1827
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1828
|
+
_setThrew(1, 0);
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
function invoke_iiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
|
|
1833
|
+
var sp = stackSave();
|
|
1834
|
+
try {
|
|
1835
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7);
|
|
1836
|
+
} catch (e) {
|
|
1837
|
+
stackRestore(sp);
|
|
1838
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1839
|
+
_setThrew(1, 0);
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
function invoke_viif(index, a1, a2, a3) {
|
|
1844
|
+
var sp = stackSave();
|
|
1845
|
+
try {
|
|
1846
|
+
getWasmTableEntry(index)(a1, a2, a3);
|
|
1847
|
+
} catch (e) {
|
|
1848
|
+
stackRestore(sp);
|
|
1849
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1850
|
+
_setThrew(1, 0);
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
function invoke_viiii(index, a1, a2, a3, a4) {
|
|
1855
|
+
var sp = stackSave();
|
|
1856
|
+
try {
|
|
1857
|
+
getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
1858
|
+
} catch (e) {
|
|
1859
|
+
stackRestore(sp);
|
|
1860
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1861
|
+
_setThrew(1, 0);
|
|
1862
|
+
}
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
|
|
1866
|
+
var sp = stackSave();
|
|
1867
|
+
try {
|
|
1868
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6);
|
|
1869
|
+
} catch (e) {
|
|
1870
|
+
stackRestore(sp);
|
|
1871
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1872
|
+
_setThrew(1, 0);
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
function invoke_viiff(index, a1, a2, a3, a4) {
|
|
1877
|
+
var sp = stackSave();
|
|
1878
|
+
try {
|
|
1879
|
+
getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
1880
|
+
} catch (e) {
|
|
1881
|
+
stackRestore(sp);
|
|
1882
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1883
|
+
_setThrew(1, 0);
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
function invoke_viiffffff(index, a1, a2, a3, a4, a5, a6, a7, a8) {
|
|
1888
|
+
var sp = stackSave();
|
|
1889
|
+
try {
|
|
1890
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8);
|
|
1891
|
+
} catch (e) {
|
|
1892
|
+
stackRestore(sp);
|
|
1893
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1894
|
+
_setThrew(1, 0);
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
function invoke_viiffff(index, a1, a2, a3, a4, a5, a6) {
|
|
1899
|
+
var sp = stackSave();
|
|
1900
|
+
try {
|
|
1901
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6);
|
|
1902
|
+
} catch (e) {
|
|
1903
|
+
stackRestore(sp);
|
|
1904
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1905
|
+
_setThrew(1, 0);
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
function invoke_viiiii(index, a1, a2, a3, a4, a5) {
|
|
1910
|
+
var sp = stackSave();
|
|
1911
|
+
try {
|
|
1912
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5);
|
|
1913
|
+
} catch (e) {
|
|
1914
|
+
stackRestore(sp);
|
|
1915
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1916
|
+
_setThrew(1, 0);
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
function invoke_viiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
|
|
1921
|
+
var sp = stackSave();
|
|
1922
|
+
try {
|
|
1923
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
|
|
1924
|
+
} catch (e) {
|
|
1925
|
+
stackRestore(sp);
|
|
1926
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1927
|
+
_setThrew(1, 0);
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
function invoke_viiiiiiifi(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
|
|
1932
|
+
var sp = stackSave();
|
|
1933
|
+
try {
|
|
1934
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9);
|
|
1935
|
+
} catch (e) {
|
|
1936
|
+
stackRestore(sp);
|
|
1937
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1938
|
+
_setThrew(1, 0);
|
|
1939
|
+
}
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
function invoke_viiiiiifi(index, a1, a2, a3, a4, a5, a6, a7, a8) {
|
|
1943
|
+
var sp = stackSave();
|
|
1944
|
+
try {
|
|
1945
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8);
|
|
1946
|
+
} catch (e) {
|
|
1947
|
+
stackRestore(sp);
|
|
1948
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1949
|
+
_setThrew(1, 0);
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1953
|
+
function invoke_viiiifi(index, a1, a2, a3, a4, a5, a6) {
|
|
1954
|
+
var sp = stackSave();
|
|
1955
|
+
try {
|
|
1956
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6);
|
|
1957
|
+
} catch (e) {
|
|
1958
|
+
stackRestore(sp);
|
|
1959
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1960
|
+
_setThrew(1, 0);
|
|
1961
|
+
}
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
function invoke_viiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
|
|
1965
|
+
var sp = stackSave();
|
|
1966
|
+
try {
|
|
1967
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7);
|
|
1968
|
+
} catch (e) {
|
|
1969
|
+
stackRestore(sp);
|
|
1970
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1971
|
+
_setThrew(1, 0);
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
function invoke_viiiiiiif(index, a1, a2, a3, a4, a5, a6, a7, a8) {
|
|
1976
|
+
var sp = stackSave();
|
|
1977
|
+
try {
|
|
1978
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8);
|
|
1979
|
+
} catch (e) {
|
|
1980
|
+
stackRestore(sp);
|
|
1981
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1982
|
+
_setThrew(1, 0);
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1986
|
+
function invoke_iiiiiffiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
|
|
1987
|
+
var sp = stackSave();
|
|
1988
|
+
try {
|
|
1989
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9);
|
|
1990
|
+
} catch (e) {
|
|
1991
|
+
stackRestore(sp);
|
|
1992
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
1993
|
+
_setThrew(1, 0);
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
function invoke_iiiii(index, a1, a2, a3, a4) {
|
|
1998
|
+
var sp = stackSave();
|
|
1999
|
+
try {
|
|
2000
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
2001
|
+
} catch (e) {
|
|
2002
|
+
stackRestore(sp);
|
|
2003
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2004
|
+
_setThrew(1, 0);
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
function invoke_viiif(index, a1, a2, a3, a4) {
|
|
2009
|
+
var sp = stackSave();
|
|
2010
|
+
try {
|
|
2011
|
+
getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
2012
|
+
} catch (e) {
|
|
2013
|
+
stackRestore(sp);
|
|
2014
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2015
|
+
_setThrew(1, 0);
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
function invoke_viifff(index, a1, a2, a3, a4, a5) {
|
|
2020
|
+
var sp = stackSave();
|
|
2021
|
+
try {
|
|
2022
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5);
|
|
2023
|
+
} catch (e) {
|
|
2024
|
+
stackRestore(sp);
|
|
2025
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2026
|
+
_setThrew(1, 0);
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
function invoke_iiiiiijji(index, a1, a2, a3, a4, a5, a6, a7, a8) {
|
|
2031
|
+
var sp = stackSave();
|
|
2032
|
+
try {
|
|
2033
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8);
|
|
2034
|
+
} catch (e) {
|
|
2035
|
+
stackRestore(sp);
|
|
2036
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2037
|
+
_setThrew(1, 0);
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
function invoke_jii(index, a1, a2) {
|
|
2042
|
+
var sp = stackSave();
|
|
2043
|
+
try {
|
|
2044
|
+
return getWasmTableEntry(index)(a1, a2);
|
|
2045
|
+
} catch (e) {
|
|
2046
|
+
stackRestore(sp);
|
|
2047
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2048
|
+
_setThrew(1, 0);
|
|
2049
|
+
return 0n;
|
|
2050
|
+
}
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
function invoke_viij(index, a1, a2, a3) {
|
|
2054
|
+
var sp = stackSave();
|
|
2055
|
+
try {
|
|
2056
|
+
getWasmTableEntry(index)(a1, a2, a3);
|
|
2057
|
+
} catch (e) {
|
|
2058
|
+
stackRestore(sp);
|
|
2059
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2060
|
+
_setThrew(1, 0);
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2064
|
+
function invoke_fii(index, a1, a2) {
|
|
2065
|
+
var sp = stackSave();
|
|
2066
|
+
try {
|
|
2067
|
+
return getWasmTableEntry(index)(a1, a2);
|
|
2068
|
+
} catch (e) {
|
|
2069
|
+
stackRestore(sp);
|
|
2070
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2071
|
+
_setThrew(1, 0);
|
|
2072
|
+
}
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
function invoke_fiii(index, a1, a2, a3) {
|
|
2076
|
+
var sp = stackSave();
|
|
2077
|
+
try {
|
|
2078
|
+
return getWasmTableEntry(index)(a1, a2, a3);
|
|
2079
|
+
} catch (e) {
|
|
2080
|
+
stackRestore(sp);
|
|
2081
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2082
|
+
_setThrew(1, 0);
|
|
2083
|
+
}
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
function invoke_viiifii(index, a1, a2, a3, a4, a5, a6) {
|
|
2087
|
+
var sp = stackSave();
|
|
2088
|
+
try {
|
|
2089
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6);
|
|
2090
|
+
} catch (e) {
|
|
2091
|
+
stackRestore(sp);
|
|
2092
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2093
|
+
_setThrew(1, 0);
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
function invoke_viiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
|
|
2098
|
+
var sp = stackSave();
|
|
2099
|
+
try {
|
|
2100
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8);
|
|
2101
|
+
} catch (e) {
|
|
2102
|
+
stackRestore(sp);
|
|
2103
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2104
|
+
_setThrew(1, 0);
|
|
2105
|
+
}
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
function invoke_iiiji(index, a1, a2, a3, a4) {
|
|
2109
|
+
var sp = stackSave();
|
|
2110
|
+
try {
|
|
2111
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
2112
|
+
} catch (e) {
|
|
2113
|
+
stackRestore(sp);
|
|
2114
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2115
|
+
_setThrew(1, 0);
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2119
|
+
function invoke_iij(index, a1, a2) {
|
|
2120
|
+
var sp = stackSave();
|
|
2121
|
+
try {
|
|
2122
|
+
return getWasmTableEntry(index)(a1, a2);
|
|
2123
|
+
} catch (e) {
|
|
2124
|
+
stackRestore(sp);
|
|
2125
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2126
|
+
_setThrew(1, 0);
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
function invoke_iif(index, a1, a2) {
|
|
2131
|
+
var sp = stackSave();
|
|
2132
|
+
try {
|
|
2133
|
+
return getWasmTableEntry(index)(a1, a2);
|
|
2134
|
+
} catch (e) {
|
|
2135
|
+
stackRestore(sp);
|
|
2136
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2137
|
+
_setThrew(1, 0);
|
|
2138
|
+
}
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
function invoke_iiidi(index, a1, a2, a3, a4) {
|
|
2142
|
+
var sp = stackSave();
|
|
2143
|
+
try {
|
|
2144
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
2145
|
+
} catch (e) {
|
|
2146
|
+
stackRestore(sp);
|
|
2147
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2148
|
+
_setThrew(1, 0);
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
function invoke_iiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
|
|
2153
|
+
var sp = stackSave();
|
|
2154
|
+
try {
|
|
2155
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
|
|
2156
|
+
} catch (e) {
|
|
2157
|
+
stackRestore(sp);
|
|
2158
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2159
|
+
_setThrew(1, 0);
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2163
|
+
function invoke_ji(index, a1) {
|
|
2164
|
+
var sp = stackSave();
|
|
2165
|
+
try {
|
|
2166
|
+
return getWasmTableEntry(index)(a1);
|
|
2167
|
+
} catch (e) {
|
|
2168
|
+
stackRestore(sp);
|
|
2169
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2170
|
+
_setThrew(1, 0);
|
|
2171
|
+
return 0n;
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
function invoke_viiji(index, a1, a2, a3, a4) {
|
|
2176
|
+
var sp = stackSave();
|
|
2177
|
+
try {
|
|
2178
|
+
getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
2179
|
+
} catch (e) {
|
|
2180
|
+
stackRestore(sp);
|
|
2181
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2182
|
+
_setThrew(1, 0);
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
function invoke_i(index) {
|
|
2187
|
+
var sp = stackSave();
|
|
2188
|
+
try {
|
|
2189
|
+
return getWasmTableEntry(index)();
|
|
2190
|
+
} catch (e) {
|
|
2191
|
+
stackRestore(sp);
|
|
2192
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2193
|
+
_setThrew(1, 0);
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
function invoke_iiiiifiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
|
|
2198
|
+
var sp = stackSave();
|
|
2199
|
+
try {
|
|
2200
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9);
|
|
2201
|
+
} catch (e) {
|
|
2202
|
+
stackRestore(sp);
|
|
2203
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2204
|
+
_setThrew(1, 0);
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
|
|
2208
|
+
function invoke_iiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
|
|
2209
|
+
var sp = stackSave();
|
|
2210
|
+
try {
|
|
2211
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8);
|
|
2212
|
+
} catch (e) {
|
|
2213
|
+
stackRestore(sp);
|
|
2214
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2215
|
+
_setThrew(1, 0);
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2219
|
+
function invoke_iiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
|
|
2220
|
+
var sp = stackSave();
|
|
2221
|
+
try {
|
|
2222
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9);
|
|
2223
|
+
} catch (e) {
|
|
2224
|
+
stackRestore(sp);
|
|
2225
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2226
|
+
_setThrew(1, 0);
|
|
2227
|
+
}
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
function invoke_iiiffffiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
|
|
2231
|
+
var sp = stackSave();
|
|
2232
|
+
try {
|
|
2233
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9);
|
|
2234
|
+
} catch (e) {
|
|
2235
|
+
stackRestore(sp);
|
|
2236
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2237
|
+
_setThrew(1, 0);
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
function invoke_viiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
|
|
2242
|
+
var sp = stackSave();
|
|
2243
|
+
try {
|
|
2244
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9);
|
|
2245
|
+
} catch (e) {
|
|
2246
|
+
stackRestore(sp);
|
|
2247
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2248
|
+
_setThrew(1, 0);
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
function invoke_fiiiii(index, a1, a2, a3, a4, a5) {
|
|
2253
|
+
var sp = stackSave();
|
|
2254
|
+
try {
|
|
2255
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5);
|
|
2256
|
+
} catch (e) {
|
|
2257
|
+
stackRestore(sp);
|
|
2258
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2259
|
+
_setThrew(1, 0);
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
function invoke_iiiffiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
|
|
2264
|
+
var sp = stackSave();
|
|
2265
|
+
try {
|
|
2266
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
|
|
2267
|
+
} catch (e) {
|
|
2268
|
+
stackRestore(sp);
|
|
2269
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2270
|
+
_setThrew(1, 0);
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
function invoke_iiiiiiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17) {
|
|
2275
|
+
var sp = stackSave();
|
|
2276
|
+
try {
|
|
2277
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17);
|
|
2278
|
+
} catch (e) {
|
|
2279
|
+
stackRestore(sp);
|
|
2280
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2281
|
+
_setThrew(1, 0);
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
function invoke_iiiiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) {
|
|
2286
|
+
var sp = stackSave();
|
|
2287
|
+
try {
|
|
2288
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13);
|
|
2289
|
+
} catch (e) {
|
|
2290
|
+
stackRestore(sp);
|
|
2291
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2292
|
+
_setThrew(1, 0);
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
|
|
2296
|
+
function invoke_viiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
|
|
2297
|
+
var sp = stackSave();
|
|
2298
|
+
try {
|
|
2299
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
|
|
2300
|
+
} catch (e) {
|
|
2301
|
+
stackRestore(sp);
|
|
2302
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2303
|
+
_setThrew(1, 0);
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
function invoke_iiiff(index, a1, a2, a3, a4) {
|
|
2308
|
+
var sp = stackSave();
|
|
2309
|
+
try {
|
|
2310
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
2311
|
+
} catch (e) {
|
|
2312
|
+
stackRestore(sp);
|
|
2313
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2314
|
+
_setThrew(1, 0);
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
function invoke_iiiif(index, a1, a2, a3, a4) {
|
|
2319
|
+
var sp = stackSave();
|
|
2320
|
+
try {
|
|
2321
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
2322
|
+
} catch (e) {
|
|
2323
|
+
stackRestore(sp);
|
|
2324
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2325
|
+
_setThrew(1, 0);
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2329
|
+
function invoke_iiiij(index, a1, a2, a3, a4) {
|
|
2330
|
+
var sp = stackSave();
|
|
2331
|
+
try {
|
|
2332
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
2333
|
+
} catch (e) {
|
|
2334
|
+
stackRestore(sp);
|
|
2335
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2336
|
+
_setThrew(1, 0);
|
|
2337
|
+
}
|
|
2338
|
+
}
|
|
2339
|
+
|
|
2340
|
+
function invoke_viiij(index, a1, a2, a3, a4) {
|
|
2341
|
+
var sp = stackSave();
|
|
2342
|
+
try {
|
|
2343
|
+
getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
2344
|
+
} catch (e) {
|
|
2345
|
+
stackRestore(sp);
|
|
2346
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2347
|
+
_setThrew(1, 0);
|
|
2348
|
+
}
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
function invoke_viiid(index, a1, a2, a3, a4) {
|
|
2352
|
+
var sp = stackSave();
|
|
2353
|
+
try {
|
|
2354
|
+
getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
2355
|
+
} catch (e) {
|
|
2356
|
+
stackRestore(sp);
|
|
2357
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2358
|
+
_setThrew(1, 0);
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
function invoke_viiiifii(index, a1, a2, a3, a4, a5, a6, a7) {
|
|
2363
|
+
var sp = stackSave();
|
|
2364
|
+
try {
|
|
2365
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7);
|
|
2366
|
+
} catch (e) {
|
|
2367
|
+
stackRestore(sp);
|
|
2368
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2369
|
+
_setThrew(1, 0);
|
|
2370
|
+
}
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
function invoke_viid(index, a1, a2, a3) {
|
|
2374
|
+
var sp = stackSave();
|
|
2375
|
+
try {
|
|
2376
|
+
getWasmTableEntry(index)(a1, a2, a3);
|
|
2377
|
+
} catch (e) {
|
|
2378
|
+
stackRestore(sp);
|
|
2379
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2380
|
+
_setThrew(1, 0);
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
function invoke_fiiif(index, a1, a2, a3, a4) {
|
|
2385
|
+
var sp = stackSave();
|
|
2386
|
+
try {
|
|
2387
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
2388
|
+
} catch (e) {
|
|
2389
|
+
stackRestore(sp);
|
|
2390
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2391
|
+
_setThrew(1, 0);
|
|
2392
|
+
}
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
function invoke_jiii(index, a1, a2, a3) {
|
|
2396
|
+
var sp = stackSave();
|
|
2397
|
+
try {
|
|
2398
|
+
return getWasmTableEntry(index)(a1, a2, a3);
|
|
2399
|
+
} catch (e) {
|
|
2400
|
+
stackRestore(sp);
|
|
2401
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2402
|
+
_setThrew(1, 0);
|
|
2403
|
+
return 0n;
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
function invoke_fiiifiif(index, a1, a2, a3, a4, a5, a6, a7) {
|
|
2408
|
+
var sp = stackSave();
|
|
2409
|
+
try {
|
|
2410
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7);
|
|
2411
|
+
} catch (e) {
|
|
2412
|
+
stackRestore(sp);
|
|
2413
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2414
|
+
_setThrew(1, 0);
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
function invoke_viiiffff(index, a1, a2, a3, a4, a5, a6, a7) {
|
|
2419
|
+
var sp = stackSave();
|
|
2420
|
+
try {
|
|
2421
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7);
|
|
2422
|
+
} catch (e) {
|
|
2423
|
+
stackRestore(sp);
|
|
2424
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2425
|
+
_setThrew(1, 0);
|
|
2426
|
+
}
|
|
2427
|
+
}
|
|
2428
|
+
|
|
2429
|
+
function invoke_fiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
|
|
2430
|
+
var sp = stackSave();
|
|
2431
|
+
try {
|
|
2432
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7);
|
|
2433
|
+
} catch (e) {
|
|
2434
|
+
stackRestore(sp);
|
|
2435
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2436
|
+
_setThrew(1, 0);
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
|
|
2440
|
+
function invoke_viiifffffiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
|
|
2441
|
+
var sp = stackSave();
|
|
2442
|
+
try {
|
|
2443
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
|
|
2444
|
+
} catch (e) {
|
|
2445
|
+
stackRestore(sp);
|
|
2446
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2447
|
+
_setThrew(1, 0);
|
|
2448
|
+
}
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2451
|
+
function invoke_iiiiiffiifiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
|
|
2452
|
+
var sp = stackSave();
|
|
2453
|
+
try {
|
|
2454
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
|
|
2455
|
+
} catch (e) {
|
|
2456
|
+
stackRestore(sp);
|
|
2457
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2458
|
+
_setThrew(1, 0);
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
|
|
2462
|
+
function invoke_iiiiiffi(index, a1, a2, a3, a4, a5, a6, a7) {
|
|
2463
|
+
var sp = stackSave();
|
|
2464
|
+
try {
|
|
2465
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7);
|
|
2466
|
+
} catch (e) {
|
|
2467
|
+
stackRestore(sp);
|
|
2468
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2469
|
+
_setThrew(1, 0);
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
|
|
2473
|
+
function invoke_viiiiiiifiiifffffiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19) {
|
|
2474
|
+
var sp = stackSave();
|
|
2475
|
+
try {
|
|
2476
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19);
|
|
2477
|
+
} catch (e) {
|
|
2478
|
+
stackRestore(sp);
|
|
2479
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2480
|
+
_setThrew(1, 0);
|
|
2481
|
+
}
|
|
2482
|
+
}
|
|
2483
|
+
|
|
2484
|
+
function invoke_viiiiifii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
|
|
2485
|
+
var sp = stackSave();
|
|
2486
|
+
try {
|
|
2487
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8);
|
|
2488
|
+
} catch (e) {
|
|
2489
|
+
stackRestore(sp);
|
|
2490
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2491
|
+
_setThrew(1, 0);
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
function invoke_viiiiiiffffi(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
|
|
2496
|
+
var sp = stackSave();
|
|
2497
|
+
try {
|
|
2498
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
|
|
2499
|
+
} catch (e) {
|
|
2500
|
+
stackRestore(sp);
|
|
2501
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2502
|
+
_setThrew(1, 0);
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
function invoke_iiiifi(index, a1, a2, a3, a4, a5) {
|
|
2507
|
+
var sp = stackSave();
|
|
2508
|
+
try {
|
|
2509
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5);
|
|
2510
|
+
} catch (e) {
|
|
2511
|
+
stackRestore(sp);
|
|
2512
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2513
|
+
_setThrew(1, 0);
|
|
2514
|
+
}
|
|
2515
|
+
}
|
|
2516
|
+
|
|
2517
|
+
function invoke_viiiiff(index, a1, a2, a3, a4, a5, a6) {
|
|
2518
|
+
var sp = stackSave();
|
|
2519
|
+
try {
|
|
2520
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6);
|
|
2521
|
+
} catch (e) {
|
|
2522
|
+
stackRestore(sp);
|
|
2523
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2524
|
+
_setThrew(1, 0);
|
|
2525
|
+
}
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2528
|
+
function invoke_viifi(index, a1, a2, a3, a4) {
|
|
2529
|
+
var sp = stackSave();
|
|
2530
|
+
try {
|
|
2531
|
+
getWasmTableEntry(index)(a1, a2, a3, a4);
|
|
2532
|
+
} catch (e) {
|
|
2533
|
+
stackRestore(sp);
|
|
2534
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2535
|
+
_setThrew(1, 0);
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2538
|
+
|
|
2539
|
+
function invoke_iiiiiiifi(index, a1, a2, a3, a4, a5, a6, a7, a8) {
|
|
2540
|
+
var sp = stackSave();
|
|
2541
|
+
try {
|
|
2542
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8);
|
|
2543
|
+
} catch (e) {
|
|
2544
|
+
stackRestore(sp);
|
|
2545
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2546
|
+
_setThrew(1, 0);
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
|
|
2550
|
+
function invoke_viiffii(index, a1, a2, a3, a4, a5, a6) {
|
|
2551
|
+
var sp = stackSave();
|
|
2552
|
+
try {
|
|
2553
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6);
|
|
2554
|
+
} catch (e) {
|
|
2555
|
+
stackRestore(sp);
|
|
2556
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2557
|
+
_setThrew(1, 0);
|
|
2558
|
+
}
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
function invoke_viiiif(index, a1, a2, a3, a4, a5) {
|
|
2562
|
+
var sp = stackSave();
|
|
2563
|
+
try {
|
|
2564
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5);
|
|
2565
|
+
} catch (e) {
|
|
2566
|
+
stackRestore(sp);
|
|
2567
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2568
|
+
_setThrew(1, 0);
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2572
|
+
function invoke_iiiiiiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {
|
|
2573
|
+
var sp = stackSave();
|
|
2574
|
+
try {
|
|
2575
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
|
|
2576
|
+
} catch (e) {
|
|
2577
|
+
stackRestore(sp);
|
|
2578
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2579
|
+
_setThrew(1, 0);
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
|
|
2583
|
+
function invoke_viiiifiiiiiii(index, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {
|
|
2584
|
+
var sp = stackSave();
|
|
2585
|
+
try {
|
|
2586
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
|
|
2587
|
+
} catch (e) {
|
|
2588
|
+
stackRestore(sp);
|
|
2589
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2590
|
+
_setThrew(1, 0);
|
|
2591
|
+
}
|
|
2592
|
+
}
|
|
2593
|
+
|
|
2594
|
+
function invoke_viiiij(index, a1, a2, a3, a4, a5) {
|
|
2595
|
+
var sp = stackSave();
|
|
2596
|
+
try {
|
|
2597
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5);
|
|
2598
|
+
} catch (e) {
|
|
2599
|
+
stackRestore(sp);
|
|
2600
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2601
|
+
_setThrew(1, 0);
|
|
2602
|
+
}
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2605
|
+
function invoke_iiiiiiiij(index, a1, a2, a3, a4, a5, a6, a7, a8) {
|
|
2606
|
+
var sp = stackSave();
|
|
2607
|
+
try {
|
|
2608
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8);
|
|
2609
|
+
} catch (e) {
|
|
2610
|
+
stackRestore(sp);
|
|
2611
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2612
|
+
_setThrew(1, 0);
|
|
2613
|
+
}
|
|
2614
|
+
}
|
|
2615
|
+
|
|
2616
|
+
function invoke_jiij(index, a1, a2, a3) {
|
|
2617
|
+
var sp = stackSave();
|
|
2618
|
+
try {
|
|
2619
|
+
return getWasmTableEntry(index)(a1, a2, a3);
|
|
2620
|
+
} catch (e) {
|
|
2621
|
+
stackRestore(sp);
|
|
2622
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2623
|
+
_setThrew(1, 0);
|
|
2624
|
+
return 0n;
|
|
2625
|
+
}
|
|
2626
|
+
}
|
|
2627
|
+
|
|
2628
|
+
function invoke_iiij(index, a1, a2, a3) {
|
|
2629
|
+
var sp = stackSave();
|
|
2630
|
+
try {
|
|
2631
|
+
return getWasmTableEntry(index)(a1, a2, a3);
|
|
2632
|
+
} catch (e) {
|
|
2633
|
+
stackRestore(sp);
|
|
2634
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2635
|
+
_setThrew(1, 0);
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
function invoke_iiiiij(index, a1, a2, a3, a4, a5) {
|
|
2640
|
+
var sp = stackSave();
|
|
2641
|
+
try {
|
|
2642
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5);
|
|
2643
|
+
} catch (e) {
|
|
2644
|
+
stackRestore(sp);
|
|
2645
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2646
|
+
_setThrew(1, 0);
|
|
2647
|
+
}
|
|
2648
|
+
}
|
|
2649
|
+
|
|
2650
|
+
function invoke_iiiffiiii(index, a1, a2, a3, a4, a5, a6, a7, a8) {
|
|
2651
|
+
var sp = stackSave();
|
|
2652
|
+
try {
|
|
2653
|
+
return getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8);
|
|
2654
|
+
} catch (e) {
|
|
2655
|
+
stackRestore(sp);
|
|
2656
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2657
|
+
_setThrew(1, 0);
|
|
2658
|
+
}
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2661
|
+
function invoke_viiiiffi(index, a1, a2, a3, a4, a5, a6, a7) {
|
|
2662
|
+
var sp = stackSave();
|
|
2663
|
+
try {
|
|
2664
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7);
|
|
2665
|
+
} catch (e) {
|
|
2666
|
+
stackRestore(sp);
|
|
2667
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2668
|
+
_setThrew(1, 0);
|
|
2669
|
+
}
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
function invoke_iiif(index, a1, a2, a3) {
|
|
2673
|
+
var sp = stackSave();
|
|
2674
|
+
try {
|
|
2675
|
+
return getWasmTableEntry(index)(a1, a2, a3);
|
|
2676
|
+
} catch (e) {
|
|
2677
|
+
stackRestore(sp);
|
|
2678
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2679
|
+
_setThrew(1, 0);
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
function invoke_viiififfff(index, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
|
|
2684
|
+
var sp = stackSave();
|
|
2685
|
+
try {
|
|
2686
|
+
getWasmTableEntry(index)(a1, a2, a3, a4, a5, a6, a7, a8, a9);
|
|
2687
|
+
} catch (e) {
|
|
2688
|
+
stackRestore(sp);
|
|
2689
|
+
if (!(e instanceof EmscriptenEH)) throw e;
|
|
2690
|
+
_setThrew(1, 0);
|
|
2691
|
+
}
|
|
2692
|
+
}
|
|
2693
|
+
|
|
2694
|
+
// include: postamble.js
|
|
2695
|
+
// === Auto-generated postamble setup entry stuff ===
|
|
2696
|
+
function run() {
|
|
2697
|
+
preRun();
|
|
2698
|
+
function doRun() {
|
|
2699
|
+
// run may have just been called through dependencies being fulfilled just in this very frame,
|
|
2700
|
+
// or while the async setStatus time below was happening
|
|
2701
|
+
Module["calledRun"] = true;
|
|
2702
|
+
if (ABORT) return;
|
|
2703
|
+
initRuntime();
|
|
2704
|
+
readyPromiseResolve?.(Module);
|
|
2705
|
+
Module["onRuntimeInitialized"]?.();
|
|
2706
|
+
postRun();
|
|
2707
|
+
}
|
|
2708
|
+
if (Module["setStatus"]) {
|
|
2709
|
+
Module["setStatus"]("Running...");
|
|
2710
|
+
setTimeout(() => {
|
|
2711
|
+
setTimeout(() => Module["setStatus"](""), 1);
|
|
2712
|
+
doRun();
|
|
2713
|
+
}, 1);
|
|
2714
|
+
} else {
|
|
2715
|
+
doRun();
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
var wasmExports;
|
|
2720
|
+
|
|
2721
|
+
// In modularize mode the generated code is within a factory function so we
|
|
2722
|
+
// can use await here (since it's not top-level-await).
|
|
2723
|
+
wasmExports = await (createWasm());
|
|
2724
|
+
|
|
2725
|
+
run();
|
|
2726
|
+
|
|
2727
|
+
// end include: postamble.js
|
|
2728
|
+
// include: postamble_modularize.js
|
|
2729
|
+
// In MODULARIZE mode we wrap the generated code in a factory function
|
|
2730
|
+
// and return either the Module itself, or a promise of the module.
|
|
2731
|
+
// We assign to the `moduleRtn` global here and configure closure to see
|
|
2732
|
+
// this as an extern so it won't get minified.
|
|
2733
|
+
if (runtimeInitialized) {
|
|
2734
|
+
moduleRtn = Module;
|
|
2735
|
+
} else {
|
|
2736
|
+
// Set up the promise that indicates the Module is initialized
|
|
2737
|
+
moduleRtn = new Promise((resolve, reject) => {
|
|
2738
|
+
readyPromiseResolve = resolve;
|
|
2739
|
+
readyPromiseReject = reject;
|
|
2740
|
+
});
|
|
2741
|
+
}
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
return moduleRtn;
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
// Export using a UMD style export, or ES6 exports if selected
|
|
2748
|
+
export default libmupdf_wasm;
|
|
2749
|
+
|