@contentauth/c2pa-web 0.15.3 → 0.15.4
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/dist/{c2pa-ekHbRvhf.js → c2pa-DTWK5AOF.js} +62 -62
- package/dist/c2pa_worker.js +61 -61
- package/dist/index.js +1 -1
- package/dist/inline.js +8 -8
- package/dist/resources/c2pa_bg.wasm +0 -0
- package/package.json +4 -4
package/dist/c2pa_worker.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var $ = (r, e) => () => (e || r((e = { exports: {} }).exports, e), e.exports);
|
|
2
|
-
var
|
|
2
|
+
var be = $((le, P) => {
|
|
3
3
|
class h {
|
|
4
4
|
static __wrap(e) {
|
|
5
5
|
const t = Object.create(h.prototype);
|
|
@@ -20,7 +20,7 @@ var de = $((le, P) => {
|
|
|
20
20
|
addAction(e) {
|
|
21
21
|
const t = o.wasmbuilder_addAction(this.__wbg_ptr, e);
|
|
22
22
|
if (t[1])
|
|
23
|
-
throw
|
|
23
|
+
throw b(t[0]);
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Add an assertion to the manifest under `label` with the given `data`.
|
|
@@ -28,9 +28,9 @@ var de = $((le, P) => {
|
|
|
28
28
|
* @param {any} data
|
|
29
29
|
*/
|
|
30
30
|
addAssertion(e, t) {
|
|
31
|
-
const n =
|
|
31
|
+
const n = d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a, c = o.wasmbuilder_addAssertion(this.__wbg_ptr, n, _, t);
|
|
32
32
|
if (c[1])
|
|
33
|
-
throw
|
|
33
|
+
throw b(c[0]);
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* Add an ingredient to the manifest from a JSON ingredient definition and a [`Blob`].
|
|
@@ -45,7 +45,7 @@ var de = $((le, P) => {
|
|
|
45
45
|
* @returns {Promise<void>}
|
|
46
46
|
*/
|
|
47
47
|
addIngredientFromBlob(e, t, n) {
|
|
48
|
-
const _ =
|
|
48
|
+
const _ = d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a, s = d(t, o.__wbindgen_malloc, o.__wbindgen_realloc), i = a;
|
|
49
49
|
return o.wasmbuilder_addIngredientFromBlob(this.__wbg_ptr, _, c, s, i, n);
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
@@ -56,9 +56,9 @@ var de = $((le, P) => {
|
|
|
56
56
|
* @param {string} json
|
|
57
57
|
*/
|
|
58
58
|
addIngredient(e) {
|
|
59
|
-
const t =
|
|
59
|
+
const t = d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), n = a, _ = o.wasmbuilder_addIngredient(this.__wbg_ptr, t, n);
|
|
60
60
|
if (_[1])
|
|
61
|
-
throw
|
|
61
|
+
throw b(_[0]);
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Add a redaction for a JUMBF URI with the given reason.
|
|
@@ -69,9 +69,9 @@ var de = $((le, P) => {
|
|
|
69
69
|
* @param {any} reason
|
|
70
70
|
*/
|
|
71
71
|
addRedaction(e, t) {
|
|
72
|
-
const n =
|
|
72
|
+
const n = d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a, c = o.wasmbuilder_addRedaction(this.__wbg_ptr, n, _, t);
|
|
73
73
|
if (c[1])
|
|
74
|
-
throw
|
|
74
|
+
throw b(c[0]);
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
77
|
* Add a [`Blob`] to the manifest as a resource. The ID must match an identifier in the manifest.
|
|
@@ -79,9 +79,9 @@ var de = $((le, P) => {
|
|
|
79
79
|
* @param {Blob} blob
|
|
80
80
|
*/
|
|
81
81
|
addResourceFromBlob(e, t) {
|
|
82
|
-
const n =
|
|
82
|
+
const n = d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a, c = o.wasmbuilder_addResourceFromBlob(this.__wbg_ptr, n, _, t);
|
|
83
83
|
if (c[1])
|
|
84
|
-
throw
|
|
84
|
+
throw b(c[0]);
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* Retains actions and ingredients together in one step, per
|
|
@@ -98,7 +98,7 @@ var de = $((le, P) => {
|
|
|
98
98
|
filterActionsAndIngredientsAt(e, t) {
|
|
99
99
|
const n = E(e, o.__wbindgen_malloc), _ = a, c = E(t, o.__wbindgen_malloc), s = a, i = o.wasmbuilder_filterActionsAndIngredientsAt(this.__wbg_ptr, n, _, c, s);
|
|
100
100
|
if (i[1])
|
|
101
|
-
throw
|
|
101
|
+
throw b(i[0]);
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
104
|
* Retains only the actions at the given 0-based indices into the actions currently returned
|
|
@@ -120,7 +120,7 @@ var de = $((le, P) => {
|
|
|
120
120
|
filterActionsAt(e) {
|
|
121
121
|
const t = E(e, o.__wbindgen_malloc), n = a, _ = o.wasmbuilder_filterActionsAt(this.__wbg_ptr, t, n);
|
|
122
122
|
if (_[1])
|
|
123
|
-
throw
|
|
123
|
+
throw b(_[0]);
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
126
|
* Retains ingredients, rescuing an otherwise-orphaned ingredient when its 0-based index into
|
|
@@ -134,7 +134,7 @@ var de = $((le, P) => {
|
|
|
134
134
|
filterIngredientsAt(e) {
|
|
135
135
|
const t = E(e, o.__wbindgen_malloc), n = a, _ = o.wasmbuilder_filterIngredientsAt(this.__wbg_ptr, t, n);
|
|
136
136
|
if (_[1])
|
|
137
|
-
throw
|
|
137
|
+
throw b(_[0]);
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
140
|
* Attempts to create a new `WasmBuilder` from a builder archive.
|
|
@@ -144,10 +144,10 @@ var de = $((le, P) => {
|
|
|
144
144
|
* @returns {WasmBuilder}
|
|
145
145
|
*/
|
|
146
146
|
static fromArchive(e, t) {
|
|
147
|
-
var n = w(t) ? 0 :
|
|
147
|
+
var n = w(t) ? 0 : d(t, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a;
|
|
148
148
|
const c = o.wasmbuilder_fromArchive(e, n, _);
|
|
149
149
|
if (c[2])
|
|
150
|
-
throw
|
|
150
|
+
throw b(c[1]);
|
|
151
151
|
return h.__wrap(c[0]);
|
|
152
152
|
}
|
|
153
153
|
/**
|
|
@@ -158,11 +158,11 @@ var de = $((le, P) => {
|
|
|
158
158
|
* @returns {WasmBuilder}
|
|
159
159
|
*/
|
|
160
160
|
static fromJson(e, t) {
|
|
161
|
-
const n =
|
|
162
|
-
var c = w(t) ? 0 :
|
|
161
|
+
const n = d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a;
|
|
162
|
+
var c = w(t) ? 0 : d(t, o.__wbindgen_malloc, o.__wbindgen_realloc), s = a;
|
|
163
163
|
const i = o.wasmbuilder_fromJson(n, _, c, s);
|
|
164
164
|
if (i[2])
|
|
165
|
-
throw
|
|
165
|
+
throw b(i[1]);
|
|
166
166
|
return h.__wrap(i[0]);
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
@@ -172,8 +172,8 @@ var de = $((le, P) => {
|
|
|
172
172
|
getDefinition() {
|
|
173
173
|
const e = o.wasmbuilder_getDefinition(this.__wbg_ptr);
|
|
174
174
|
if (e[2])
|
|
175
|
-
throw
|
|
176
|
-
return
|
|
175
|
+
throw b(e[1]);
|
|
176
|
+
return b(e[0]);
|
|
177
177
|
}
|
|
178
178
|
/**
|
|
179
179
|
* Creates a new `WasmBuilder` with a minimal manifest definition.
|
|
@@ -182,10 +182,10 @@ var de = $((le, P) => {
|
|
|
182
182
|
* @returns {WasmBuilder}
|
|
183
183
|
*/
|
|
184
184
|
static new(e) {
|
|
185
|
-
var t = w(e) ? 0 :
|
|
185
|
+
var t = w(e) ? 0 : d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), n = a;
|
|
186
186
|
const _ = o.wasmbuilder_new(t, n);
|
|
187
187
|
if (_[2])
|
|
188
|
-
throw
|
|
188
|
+
throw b(_[1]);
|
|
189
189
|
return h.__wrap(_[0]);
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
@@ -195,7 +195,7 @@ var de = $((le, P) => {
|
|
|
195
195
|
setIntent(e) {
|
|
196
196
|
const t = o.wasmbuilder_setIntent(this.__wbg_ptr, e);
|
|
197
197
|
if (t[1])
|
|
198
|
-
throw
|
|
198
|
+
throw b(t[0]);
|
|
199
199
|
}
|
|
200
200
|
/**
|
|
201
201
|
* Sets the state of the no_embed flag.
|
|
@@ -212,7 +212,7 @@ var de = $((le, P) => {
|
|
|
212
212
|
* @param {string} url
|
|
213
213
|
*/
|
|
214
214
|
setRemoteUrl(e) {
|
|
215
|
-
const t =
|
|
215
|
+
const t = d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), n = a;
|
|
216
216
|
o.wasmbuilder_setRemoteUrl(this.__wbg_ptr, t, n);
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
@@ -221,9 +221,9 @@ var de = $((le, P) => {
|
|
|
221
221
|
* @param {Blob} blob
|
|
222
222
|
*/
|
|
223
223
|
setThumbnailFromBlob(e, t) {
|
|
224
|
-
const n =
|
|
224
|
+
const n = d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a, c = o.wasmbuilder_setThumbnailFromBlob(this.__wbg_ptr, n, _, t);
|
|
225
225
|
if (c[1])
|
|
226
|
-
throw
|
|
226
|
+
throw b(c[0]);
|
|
227
227
|
}
|
|
228
228
|
/**
|
|
229
229
|
* Sign an asset using the provided SignerDefinition, format, and source Blob.
|
|
@@ -237,7 +237,7 @@ var de = $((le, P) => {
|
|
|
237
237
|
* @returns {Promise<any>}
|
|
238
238
|
*/
|
|
239
239
|
signAndGetManifestBytes(e, t, n, _) {
|
|
240
|
-
const c =
|
|
240
|
+
const c = d(n, o.__wbindgen_malloc, o.__wbindgen_realloc), s = a;
|
|
241
241
|
return o.wasmbuilder_signAndGetManifestBytes(this.__wbg_ptr, e, t, c, s, _);
|
|
242
242
|
}
|
|
243
243
|
/**
|
|
@@ -253,7 +253,7 @@ var de = $((le, P) => {
|
|
|
253
253
|
* @returns {Promise<Uint8Array>}
|
|
254
254
|
*/
|
|
255
255
|
sign(e, t, n, _) {
|
|
256
|
-
const c =
|
|
256
|
+
const c = d(n, o.__wbindgen_malloc, o.__wbindgen_realloc), s = a;
|
|
257
257
|
return o.wasmbuilder_sign(this.__wbg_ptr, e, t, c, s, _);
|
|
258
258
|
}
|
|
259
259
|
/**
|
|
@@ -263,8 +263,8 @@ var de = $((le, P) => {
|
|
|
263
263
|
toArchive() {
|
|
264
264
|
const e = o.wasmbuilder_toArchive(this.__wbg_ptr);
|
|
265
265
|
if (e[2])
|
|
266
|
-
throw
|
|
267
|
-
return
|
|
266
|
+
throw b(e[1]);
|
|
267
|
+
return b(e[0]);
|
|
268
268
|
}
|
|
269
269
|
/**
|
|
270
270
|
* Replaces the actions in the `c2pa.actions`/`c2pa.actions.v2` assertions with
|
|
@@ -293,7 +293,7 @@ var de = $((le, P) => {
|
|
|
293
293
|
updateActionsAt(e) {
|
|
294
294
|
const t = o.wasmbuilder_updateActionsAt(this.__wbg_ptr, e);
|
|
295
295
|
if (t[1])
|
|
296
|
-
throw
|
|
296
|
+
throw b(t[0]);
|
|
297
297
|
}
|
|
298
298
|
/**
|
|
299
299
|
* Replaces the data of every assertion with an exact matching label, in positional order.
|
|
@@ -302,9 +302,9 @@ var de = $((le, P) => {
|
|
|
302
302
|
* @param {any} data
|
|
303
303
|
*/
|
|
304
304
|
updateAssertionsAt(e, t) {
|
|
305
|
-
const n =
|
|
305
|
+
const n = d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a, c = o.wasmbuilder_updateAssertionsAt(this.__wbg_ptr, n, _, t);
|
|
306
306
|
if (c[1])
|
|
307
|
-
throw
|
|
307
|
+
throw b(c[0]);
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
Symbol.dispose && (h.prototype[Symbol.dispose] = h.prototype.free);
|
|
@@ -337,8 +337,8 @@ var de = $((le, P) => {
|
|
|
337
337
|
activeManifest() {
|
|
338
338
|
const e = o.wasmreader_activeManifest(this.__wbg_ptr);
|
|
339
339
|
if (e[2])
|
|
340
|
-
throw
|
|
341
|
-
return
|
|
340
|
+
throw b(e[1]);
|
|
341
|
+
return b(e[0]);
|
|
342
342
|
}
|
|
343
343
|
/**
|
|
344
344
|
* Returns the asset's manifest store as crJSON.
|
|
@@ -363,8 +363,8 @@ var de = $((le, P) => {
|
|
|
363
363
|
* @returns {Promise<WasmReader>}
|
|
364
364
|
*/
|
|
365
365
|
static fromBlobFragment(e, t, n, _) {
|
|
366
|
-
const c =
|
|
367
|
-
var i = w(_) ? 0 :
|
|
366
|
+
const c = d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), s = a;
|
|
367
|
+
var i = w(_) ? 0 : d(_, o.__wbindgen_malloc, o.__wbindgen_realloc), u = a;
|
|
368
368
|
return o.wasmreader_fromBlobFragment(c, s, t, n, i, u);
|
|
369
369
|
}
|
|
370
370
|
/**
|
|
@@ -376,8 +376,8 @@ var de = $((le, P) => {
|
|
|
376
376
|
* @returns {Promise<WasmReader>}
|
|
377
377
|
*/
|
|
378
378
|
static fromBlob(e, t, n) {
|
|
379
|
-
const _ =
|
|
380
|
-
var s = w(n) ? 0 :
|
|
379
|
+
const _ = d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a;
|
|
380
|
+
var s = w(n) ? 0 : d(n, o.__wbindgen_malloc, o.__wbindgen_realloc), i = a;
|
|
381
381
|
return o.wasmreader_fromBlob(_, c, t, s, i);
|
|
382
382
|
}
|
|
383
383
|
/**
|
|
@@ -395,8 +395,8 @@ var de = $((le, P) => {
|
|
|
395
395
|
* @returns {Promise<WasmReader>}
|
|
396
396
|
*/
|
|
397
397
|
static fromBytes(e, t, n) {
|
|
398
|
-
const _ =
|
|
399
|
-
var u = w(n) ? 0 :
|
|
398
|
+
const _ = d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a, s = ne(t, o.__wbindgen_malloc), i = a;
|
|
399
|
+
var u = w(n) ? 0 : d(n, o.__wbindgen_malloc, o.__wbindgen_realloc), g = a;
|
|
400
400
|
return o.wasmreader_fromBytes(_, c, s, i, u, g);
|
|
401
401
|
}
|
|
402
402
|
/**
|
|
@@ -419,8 +419,8 @@ var de = $((le, P) => {
|
|
|
419
419
|
manifestStore() {
|
|
420
420
|
const e = o.wasmreader_manifestStore(this.__wbg_ptr);
|
|
421
421
|
if (e[2])
|
|
422
|
-
throw
|
|
423
|
-
return
|
|
422
|
+
throw b(e[1]);
|
|
423
|
+
return b(e[0]);
|
|
424
424
|
}
|
|
425
425
|
/**
|
|
426
426
|
* Accepts a URI reference to a binary object in the resource store and returns a `js_sys::Uint8Array` containing the resource's bytes.
|
|
@@ -428,10 +428,10 @@ var de = $((le, P) => {
|
|
|
428
428
|
* @returns {Uint8Array}
|
|
429
429
|
*/
|
|
430
430
|
resourceToBytes(e) {
|
|
431
|
-
const t =
|
|
431
|
+
const t = d(e, o.__wbindgen_malloc, o.__wbindgen_realloc), n = a, _ = o.wasmreader_resourceToBytes(this.__wbg_ptr, t, n);
|
|
432
432
|
if (_[2])
|
|
433
|
-
throw
|
|
434
|
-
return
|
|
433
|
+
throw b(_[1]);
|
|
434
|
+
return b(_[0]);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
Symbol.dispose && (M.prototype[Symbol.dispose] = M.prototype.free);
|
|
@@ -447,7 +447,7 @@ var de = $((le, P) => {
|
|
|
447
447
|
return Number(e);
|
|
448
448
|
},
|
|
449
449
|
__wbg_String_8564e559799eccda: function(e, t) {
|
|
450
|
-
const n = String(t), _ =
|
|
450
|
+
const n = String(t), _ = d(n, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a;
|
|
451
451
|
m().setInt32(e + 4, c, !0), m().setInt32(e + 0, _, !0);
|
|
452
452
|
},
|
|
453
453
|
__wbg___wbindgen_bigint_get_as_i64_a2383202b9353e4c: function(e, t) {
|
|
@@ -459,7 +459,7 @@ var de = $((le, P) => {
|
|
|
459
459
|
return w(n) ? 16777215 : n ? 1 : 0;
|
|
460
460
|
},
|
|
461
461
|
__wbg___wbindgen_debug_string_4687d8d8c2017d52: function(e, t) {
|
|
462
|
-
const n = x(t), _ =
|
|
462
|
+
const n = x(t), _ = d(n, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a;
|
|
463
463
|
m().setInt32(e + 4, c, !0), m().setInt32(e + 0, _, !0);
|
|
464
464
|
},
|
|
465
465
|
__wbg___wbindgen_in_92f62ee1427d9e49: function(e, t) {
|
|
@@ -496,7 +496,7 @@ var de = $((le, P) => {
|
|
|
496
496
|
},
|
|
497
497
|
__wbg___wbindgen_string_get_0380ccaa2f57f0d9: function(e, t) {
|
|
498
498
|
const n = t, _ = typeof n == "string" ? n : void 0;
|
|
499
|
-
var c = w(_) ? 0 :
|
|
499
|
+
var c = w(_) ? 0 : d(_, o.__wbindgen_malloc, o.__wbindgen_realloc), s = a;
|
|
500
500
|
m().setInt32(e + 4, s, !0), m().setInt32(e + 0, c, !0);
|
|
501
501
|
},
|
|
502
502
|
__wbg___wbindgen_throw_41e9ee4f547fc59a: function(e, t) {
|
|
@@ -828,7 +828,7 @@ var de = $((le, P) => {
|
|
|
828
828
|
}, arguments);
|
|
829
829
|
},
|
|
830
830
|
__wbg_stack_3b0d974bbf31e44f: function(e, t) {
|
|
831
|
-
const n = t.stack, _ =
|
|
831
|
+
const n = t.stack, _ = d(n, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a;
|
|
832
832
|
m().setInt32(e + 4, c, !0), m().setInt32(e + 0, _, !0);
|
|
833
833
|
},
|
|
834
834
|
__wbg_static_accessor_GLOBAL_266715b9d96ba635: function() {
|
|
@@ -865,7 +865,7 @@ var de = $((le, P) => {
|
|
|
865
865
|
return e.then(t);
|
|
866
866
|
},
|
|
867
867
|
__wbg_url_8e28edeab4cd6bed: function(e, t) {
|
|
868
|
-
const n = t.url, _ =
|
|
868
|
+
const n = t.url, _ = d(n, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a;
|
|
869
869
|
m().setInt32(e + 4, c, !0), m().setInt32(e + 0, _, !0);
|
|
870
870
|
},
|
|
871
871
|
__wbg_valueOf_6abcff09c8156bb6: function(e) {
|
|
@@ -913,15 +913,15 @@ var de = $((le, P) => {
|
|
|
913
913
|
};
|
|
914
914
|
}
|
|
915
915
|
function X(r, e) {
|
|
916
|
-
o.
|
|
916
|
+
o.wasm_bindgen_255200e6d97c625a___convert__closures_____invoke_______true_(r, e);
|
|
917
917
|
}
|
|
918
918
|
function Y(r, e, t) {
|
|
919
|
-
const n = o.
|
|
919
|
+
const n = o.wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___wasm_bindgen_255200e6d97c625a___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_255200e6d97c625a___JsError___true_(r, e, t);
|
|
920
920
|
if (n[1])
|
|
921
|
-
throw
|
|
921
|
+
throw b(n[0]);
|
|
922
922
|
}
|
|
923
923
|
function K(r, e, t, n) {
|
|
924
|
-
o.
|
|
924
|
+
o.wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined_______true_(r, e, t, n);
|
|
925
925
|
}
|
|
926
926
|
const Q = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"], Z = ["omit", "same-origin", "include"], ee = ["same-origin", "no-cors", "cors", "navigate"], z = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
927
927
|
}, unregister: () => {
|
|
@@ -1025,7 +1025,7 @@ ${r.stack}` : n;
|
|
|
1025
1025
|
const t = e(r.length * 1, 1) >>> 0;
|
|
1026
1026
|
return R().set(r, t / 1), a = r.length, t;
|
|
1027
1027
|
}
|
|
1028
|
-
function
|
|
1028
|
+
function d(r, e, t) {
|
|
1029
1029
|
if (t === void 0) {
|
|
1030
1030
|
const i = j.encode(r), u = e(i.length, 1) >>> 0;
|
|
1031
1031
|
return R().subarray(u, u + i.length).set(i), a = i.length, u;
|
|
@@ -1045,7 +1045,7 @@ ${r.stack}` : n;
|
|
|
1045
1045
|
}
|
|
1046
1046
|
return a = s, _;
|
|
1047
1047
|
}
|
|
1048
|
-
function
|
|
1048
|
+
function b(r) {
|
|
1049
1049
|
const e = o.__wbindgen_externrefs.get(r);
|
|
1050
1050
|
return o.__externref_table_dealloc(r), e;
|
|
1051
1051
|
}
|
|
@@ -1179,7 +1179,7 @@ ${r.stack}` : n;
|
|
|
1179
1179
|
}));
|
|
1180
1180
|
}
|
|
1181
1181
|
ie(
|
|
1182
|
-
|
|
1182
|
+
de({
|
|
1183
1183
|
async initWorker(r) {
|
|
1184
1184
|
ce({ module: r });
|
|
1185
1185
|
},
|
|
@@ -1331,7 +1331,7 @@ ${r.stack}` : n;
|
|
|
1331
1331
|
}
|
|
1332
1332
|
})
|
|
1333
1333
|
);
|
|
1334
|
-
function
|
|
1334
|
+
function de(r) {
|
|
1335
1335
|
const e = {};
|
|
1336
1336
|
for (const [t, n] of Object.entries(r))
|
|
1337
1337
|
e[t] = async (..._) => {
|
|
@@ -1344,4 +1344,4 @@ ${r.stack}` : n;
|
|
|
1344
1344
|
return e;
|
|
1345
1345
|
}
|
|
1346
1346
|
});
|
|
1347
|
-
export default
|
|
1347
|
+
export default be();
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, B as t, C as r, D as E, a as T, b as _, c as S, d as A, e as i, f as R, R as g, g as n, h as o, i as D, j as L, k as l, l as F, m as f, n as I, o as M, r as U, p as c, s as u, q as Y, v as d, w as h } from "./c2pa-
|
|
1
|
+
import { A as e, B as t, C as r, D as E, a as T, b as _, c as S, d as A, e as i, f as R, R as g, g as n, h as o, i as D, j as L, k as l, l as F, m as f, n as I, o as M, r as U, p as c, s as u, q as Y, v as d, w as h } from "./c2pa-DTWK5AOF.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AssetTooLargeError,
|
|
4
4
|
t as Builder,
|