conformtools 0.6.6 → 0.6.8
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 +15 -10
- package/dist/{account-HDXVTS5T.js → account-NJSA4N67.js} +1 -1
- package/dist/{bridge-D5KPIUSY.js → bridge-UIDAF74E.js} +1 -1
- package/dist/browser/timeline_core_bg.wasm +0 -0
- package/dist/chunk-2BPR6LK6.js +3 -0
- package/dist/{chunk-VS3MKKJ5.js → chunk-3D3Z4TBR.js} +1 -1
- package/dist/{chunk-P7OVDUA5.js → chunk-6V4OEOOX.js} +1 -1
- package/dist/{chunk-SZD4C5MB.js → chunk-7SENYEIV.js} +1 -1
- package/dist/{chunk-6ML26TIK.js → chunk-A7FNR3T5.js} +1 -1
- package/dist/chunk-AMRJXYL4.js +3 -0
- package/dist/{chunk-RFIPLBQ4.js → chunk-BW4LRTHG.js} +1 -1
- package/dist/{chunk-5SUGU2YR.js → chunk-D4WPRRBT.js} +1 -1
- package/dist/{chunk-EJGVNQ3E.js → chunk-F74QMWXE.js} +1 -1
- package/dist/{chunk-AS7IXHYM.js → chunk-GK4YYKJ6.js} +1 -1
- package/dist/{chunk-LFJLRLEP.js → chunk-GM6QKY7W.js} +1 -1
- package/dist/chunk-H6WZ43NS.js +39 -0
- package/dist/{chunk-OVUCL3YY.js → chunk-IPFPZBSC.js} +1 -1
- package/dist/{chunk-HGDO3OED.js → chunk-J2JXLEAI.js} +1 -1
- package/dist/{chunk-5RSNFPED.js → chunk-JZY2BHQB.js} +7 -6
- package/dist/{chunk-5JBUCVRI.js → chunk-LGUO7PL5.js} +1 -1
- package/dist/{chunk-UKKRZ574.js → chunk-MS3AWOSG.js} +2 -2
- package/dist/{chunk-3OCQA33E.js → chunk-PHAMF4JF.js} +2 -1
- package/dist/chunk-RGMTLNMF.js +3 -0
- package/dist/chunk-RJ6JA2LZ.js +3 -0
- package/dist/{chunk-X53BNWNV.js → chunk-SGLQY53R.js} +1 -1
- package/dist/{chunk-OJWIBQK4.js → chunk-SYX6W5TS.js} +167 -165
- package/dist/{chunk-3XD6NC4G.js → chunk-VIBEEWPC.js} +1 -1
- package/dist/{chunk-NQHQKEP5.js → chunk-WN53ARHJ.js} +1 -1
- package/dist/cli.js +3 -3
- package/dist/conformtools-analyze +0 -0
- package/dist/conformtools-decode +0 -0
- package/dist/{cr3-wasm-L2LFY3LM.js → cr3-wasm-HLJWEV2S.js} +1 -1
- package/dist/{dng-wasm-U6NC3MDK.js → dng-wasm-CQDLPM5V.js} +1 -1
- package/dist/{dpx-wasm-RMKEUKED.js → dpx-wasm-TLGMM7BO.js} +1 -1
- package/dist/{exr-wasm-LBAOMOZD.js → exr-wasm-2NPKPTVB.js} +1 -1
- package/dist/framing-7LAOPOED.js +3 -0
- package/dist/gfx-worker.js +1 -1
- package/dist/{h264-3ESGVT6G.js → h264-JJMZSUWW.js} +1 -1
- package/dist/{h264-mxf-NPFS7NGH.js → h264-mxf-DCUOGLDU.js} +1 -1
- package/dist/{host-relink-D6CB2VOQ.js → host-relink-UOS3P5SL.js} +1 -1
- package/dist/hosts-66KSLCFJ.js +3 -0
- package/dist/http.js +2 -2
- package/dist/{inspect-7ASUPU73.js → inspect-FJKYPEXL.js} +15 -15
- package/dist/{isobmff-SIOE67WL.js → isobmff-VJOWP4MH.js} +1 -1
- package/dist/mc-video-5MGGOQN4.js +3 -0
- package/dist/mcp.js +1 -1
- package/dist/{media-7AUNRKHF.js → media-NZYVREUF.js} +1 -1
- package/dist/media_core-YZ3PABEG.js +9 -0
- package/dist/{mxf-74TTDICM.js → mxf-FJSRFLJC.js} +1 -1
- package/dist/{ops-FSOOBXMV.js → ops-X7NAREC4.js} +1 -1
- package/dist/premiere-uxp/lib/probe.js +212 -1
- package/dist/{r3d-ZDJ3WURS.js → r3d-CXUNG6VS.js} +1 -1
- package/dist/{r3d-YTLOMC7C.js → r3d-T5O6IIZZ.js} +1 -1
- package/dist/{source-BDJAUQVR.js → source-QGWWLMME.js} +1 -1
- package/dist/still-P4JJNTEO.js +3 -0
- package/dist/still-wasm-DN5LPASS.js +3 -0
- package/dist/{store-ZHXLQCGN.js → store-EXUE5XX5.js} +1 -1
- package/dist/{tiff-wasm-D2FJ3L56.js → tiff-wasm-BPRDR6EB.js} +1 -1
- package/dist/{timeline-6DYFDVEH.js → timeline-GVVL2CBI.js} +1 -1
- package/dist/wasm/media_core_bg.wasm +0 -0
- package/dist/wasm-threads/media_core_bg.wasm +0 -0
- package/dist/{wav-OWMUGQMM.js → wav-64SC6P7U.js} +1 -1
- package/package.json +1 -1
- package/dist/chunk-7MC7M2Y5.js +0 -3
- package/dist/chunk-BL6L5ZBP.js +0 -39
- package/dist/chunk-C5IX63YF.js +0 -3
- package/dist/chunk-UCMNH6Q6.js +0 -3
- package/dist/chunk-XNR7M4VX.js +0 -3
- package/dist/framing-SRCJKAYO.js +0 -3
- package/dist/hosts-W4AD2MYH.js +0 -3
- package/dist/media_core-Q2PIEV7D.js +0 -9
- package/dist/still-ZG2RUQAL.js +0 -3
package/dist/chunk-C5IX63YF.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
-
import{d as Tt}from"./chunk-PSANHDZM.js";var At={};Tt(At,{ExrBench:()=>J,ExrStreamEncoder:()=>Q,ProResBench:()=>Z,ProResMovEncoder:()=>tt,ProResMovWriter:()=>et,arriraw12_clip_info:()=>Ot,arriraw_mxf_gpu_frame:()=>Wt,audio_aac_au:()=>Ft,audio_aac_config:()=>St,audio_info:()=>Rt,bench_f32_boundary:()=>Lt,bench_piz_no_huffman:()=>zt,color_cst:()=>Dt,dci_code_full_depth:()=>Ut,dci_frame_cap:()=>jt,dci_gpu_colour_patch:()=>Pt,dci_gpu_colour_tables:()=>Bt,dci_last_pass_caps:()=>Ct,dci_legal_rates:()=>qt,dci_mq_bench:()=>Nt,dci_pack_tier1:()=>Ht,dci_stage_rgba8:()=>Gt,dci_transform_only:()=>Vt,decode_arriraw12_luma:()=>Kt,decode_arriraw12_mxf:()=>Xt,decode_arriraw12_preview:()=>Yt,decode_arriraw12_rgba:()=>$t,decode_arriraw_luma:()=>Jt,decode_arriraw_mxf:()=>Qt,decode_arriraw_preview:()=>Zt,decode_arriraw_preview_gray:()=>te,decode_arriraw_preview_meta:()=>ee,decode_arriraw_rgba:()=>ne,decode_arriraw_rgba_meta:()=>re,decode_audio_pcm:()=>_e,decode_braw_gen5log:()=>oe,decode_braw_luma:()=>ie,decode_braw_preview:()=>ae,decode_braw_rgba:()=>ce,decode_cr3_rgba:()=>de,decode_crm:()=>se,decode_dng_preview:()=>pe,decode_dng_rgba:()=>ge,decode_dpx_preview:()=>ue,decode_dpx_rgba:()=>we,decode_exr_linear:()=>be,decode_exr_preview:()=>le,decode_exr_rgba:()=>fe,decode_jpeg_rgba:()=>xe,decode_png_rgba:()=>ve,decode_prores_band_rgba:()=>Ie,decode_prores_luma:()=>ye,decode_prores_mxf:()=>me,decode_prores_preview:()=>he,decode_prores_raw_acescct:()=>ke,decode_prores_raw_luma:()=>Ae,decode_prores_raw_preview:()=>Me,decode_prores_raw_rec2020:()=>Ee,decode_prores_raw_rgba:()=>Te,decode_prores_raw_tier:()=>Oe,decode_prores_rgb16:()=>We,decode_prores_rgba:()=>Fe,decode_prores_thumb_dc32:()=>Se,decode_r3d_luma:()=>Re,decode_r3d_preview:()=>Le,decode_r3d_preview_clip:()=>ze,decode_r3d_rgb16:()=>De,decode_r3d_rgba:()=>Ue,decode_r3d_rgba_clip:()=>je,decode_tiff_preview:()=>Pe,decode_tiff_rgba:()=>Be,decode_vc3_band_rgba:()=>Ce,decode_vc3_luma:()=>qe,decode_vc3_mxf:()=>Ne,decode_vc3_preview:()=>He,decode_vc3_rgba:()=>Ge,decode_xocn_index_luma:()=>Ve,decode_xocn_luma:()=>Ke,decode_xocn_mxf:()=>Xe,decode_xocn_preview:()=>Ye,decode_xocn_preview_rec709:()=>$e,decode_xocn_rgb16:()=>Je,decode_xocn_rgba:()=>Qe,default:()=>rt,encode_dci_j2c:()=>Ze,encode_dci_j2c_rgb:()=>tn,encode_dci_j2c_rgba8:()=>en,encode_dci_j2c_staged:()=>nn,encode_dci_j2c_staged_modelled:()=>rn,encode_exr:()=>_n,encode_prores_4444_alpha_mov_rgba:()=>on,encode_prores_4444_alpha_sample_q:()=>an,encode_prores_444_sample_cbr:()=>cn,encode_prores_444_sample_cbr_rgb16:()=>dn,encode_prores_444_sample_cbr_rgb16_lut:()=>sn,encode_prores_mov_rgba:()=>pn,encode_prores_rgba:()=>gn,encode_prores_sample_cbr:()=>un,encode_prores_sample_cbr_rgb16:()=>wn,encode_prores_sample_cbr_rgb16_lut:()=>bn,encode_prores_sample_q:()=>ln,exr_sequence_filename:()=>fn,fit_sizing:()=>xn,initSync:()=>Cr,inspect_cr3:()=>vn,inspect_dng:()=>In,inspect_dpx:()=>yn,inspect_exr:()=>mn,inspect_isobmff:()=>hn,inspect_tiff:()=>kn,inspect_wav:()=>An,is_arriraw12_mxf:()=>Mn,is_arriraw_mxf:()=>En,is_crm:()=>Tn,is_prores_mxf:()=>On,is_vc3_mxf:()=>Wn,is_xavc_mxf:()=>Fn,is_xocn_mxf:()=>Sn,list_isobmff_segments:()=>Rn,list_mxf_segments:()=>Ln,list_r3d_frames:()=>zn,list_r3d_segments:()=>Dn,list_wav_segments:()=>Un,mux_prores_4444_alpha_samples:()=>jn,mux_prores_samples:()=>Pn,mux_prores_samples_full:()=>Bn,mxf_au_run:()=>Cn,mxf_frame_index:()=>qn,mxf_gop_map:()=>Nn,mxf_h264_kind:()=>Hn,plan_isobmff_trim:()=>Gn,plan_isobmff_trim_reader:()=>Vn,plan_mxf_compact_trim:()=>Kn,plan_mxf_trim:()=>Xn,plan_r3d_compact:()=>Yn,plan_wav_trim:()=>$n,plan_wav_trim_reader:()=>Jn,prepare_isobmff:()=>Qn,prepare_mxf:()=>Zn,prepare_r3d:()=>tr,prepare_wav:()=>er,probe_mov:()=>nr,probe_mxf:()=>rr,probe_r3d:()=>_r,prores_band_info:()=>or,prores_raw_container_color:()=>ir,prores_reset_rate_control:()=>ar,r3d_gpu_develop_params:()=>cr,r3d_index_ranges:()=>dr,r3d_is_helium:()=>sr,read_arriraw_fcs:()=>pr,read_arriraw_unit_correction:()=>gr,recover_reframe:()=>ur,resample_rgba16:()=>wr,resample_rgba8:()=>br,reset_dci_rate_state:()=>lr,resize_luma_area:()=>fr,rgba8_to_xyz12:()=>xr,shot_crop:()=>vr,shot_ramp:()=>Ir,shot_scan:()=>yr,trim_r3d:()=>mr,vc3_band_info:()=>hr,video_frame_index_isobmff_reader:()=>kr,xavc_au:()=>Ar,xavc_frame_count:()=>Mr,xocn_frame_count:()=>Er,xocn_index_prefix_len:()=>Tr,xocn_preview_prefix_len:()=>Or});var J=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,wt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_exrbench_free(e,0)}block_rows(){return t.exrbench_block_rows(this.__wbg_ptr)>>>0}f32_to_half_block(){return t.exrbench_f32_to_half_block(this.__wbg_ptr)}n_blocks(){return t.exrbench_n_blocks(this.__wbg_ptr)>>>0}constructor(e,n,o,a){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=y(a,t.__wbindgen_export4,t.__wbindgen_export5),u=p;t.exrbench_new(s,e,n,o,g,u);var c=_().getInt32(s+0,!0),i=_().getInt32(s+4,!0),d=_().getInt32(s+8,!0);if(d)throw w(i);return this.__wbg_ptr=c,wt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}piz_stage_block(e){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.exrbench_piz_stage_block(c,this.__wbg_ptr,e);var n=_().getFloat64(c+0,!0),o=_().getInt32(c+8,!0),a=_().getInt32(c+12,!0);if(a)throw w(o);return n}finally{t.__wbindgen_add_to_stack_pointer(16)}}staging_f32_ptr(){return t.exrbench_staging_f32_ptr(this.__wbg_ptr)>>>0}staging_f32_samples(){return t.exrbench_staging_f32_samples(this.__wbg_ptr)>>>0}staging_half_len(){return t.exrbench_staging_half_len(this.__wbg_ptr)>>>0}staging_half_ptr(){return t.exrbench_staging_half_ptr(this.__wbg_ptr)>>>0}zip_stage_block(e){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.exrbench_zip_stage_block(c,this.__wbg_ptr,e);var n=_().getFloat64(c+0,!0),o=_().getInt32(c+8,!0),a=_().getInt32(c+12,!0);if(a)throw w(o);return n}finally{t.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);var Q=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,bt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_exrstreamencoder_free(e,0)}block_rows(){return t.exrstreamencoder_block_rows(this.__wbg_ptr)>>>0}finish(){try{let i=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_finish(i,this.__wbg_ptr);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}header(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_header(a,this.__wbg_ptr);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}n_blocks(){return t.exrstreamencoder_n_blocks(this.__wbg_ptr)>>>0}constructor(e,n,o,a,c,i,d,s,g,u){try{let I=t.__wbindgen_add_to_stack_pointer(-16),h=y(o,t.__wbindgen_export4,t.__wbindgen_export5),k=p,M=y(a,t.__wbindgen_export4,t.__wbindgen_export5),O=p,W=y(c,t.__wbindgen_export4,t.__wbindgen_export5),E=p,S=y(i,t.__wbindgen_export4,t.__wbindgen_export5),L=p,z=y(s,t.__wbindgen_export4,t.__wbindgen_export5),U=p;t.exrstreamencoder_new(I,e,n,h,k,M,O,W,E,S,L,d,z,U,g,u);var b=_().getInt32(I+0,!0),x=_().getInt32(I+4,!0),m=_().getInt32(I+8,!0);if(m)throw w(x);return this.__wbg_ptr=b,bt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_block(e){try{let d=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_push_block(d,this.__wbg_ptr,e);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}rows_remaining(){return t.exrstreamencoder_rows_remaining(this.__wbg_ptr)>>>0}staging_ptr(){return t.exrstreamencoder_staging_ptr(this.__wbg_ptr)>>>0}staging_samples(){return t.exrstreamencoder_staging_samples(this.__wbg_ptr)>>>0}};Symbol.dispose&&(Q.prototype[Symbol.dispose]=Q.prototype.free);var Z=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,lt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_proresbench_free(e,0)}constructor(e,n,o,a){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=y(o,t.__wbindgen_export4,t.__wbindgen_export5),u=p;t.proresbench_new(s,e,n,g,u,a);var c=_().getInt32(s+0,!0),i=_().getInt32(s+4,!0),d=_().getInt32(s+8,!0);if(d)throw w(i);return this.__wbg_ptr=c,lt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}stage(e){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.proresbench_stage(c,this.__wbg_ptr,e);var n=_().getFloat64(c+0,!0),o=_().getInt32(c+8,!0),a=_().getInt32(c+12,!0);if(a)throw w(o);return n}finally{t.__wbindgen_add_to_stack_pointer(16)}}staging_len(){return t.proresbench_staging_len(this.__wbg_ptr)>>>0}staging_ptr(){return t.proresbench_staging_ptr(this.__wbg_ptr)>>>0}};Symbol.dispose&&(Z.prototype[Symbol.dispose]=Z.prototype.free);var tt=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ft.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_proresmovencoder_free(e,0)}add_frame_rgba(e){try{let a=t.__wbindgen_add_to_stack_pointer(-16),c=l(e,t.__wbindgen_export4),i=p;t.proresmovencoder_add_frame_rgba(a,this.__wbg_ptr,c,i);var n=_().getInt32(a+0,!0),o=_().getInt32(a+4,!0);if(o)throw w(n)}finally{t.__wbindgen_add_to_stack_pointer(16)}}finish(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovencoder_finish(a,this.__wbg_ptr);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}frame_count(){return t.proresmovencoder_frame_count(this.__wbg_ptr)>>>0}constructor(e,n,o,a){let c=t.proresmovencoder_new(e,n,o,a);return this.__wbg_ptr=c,ft.register(this,this.__wbg_ptr,this),this}set_alpha(e){t.proresmovencoder_set_alpha(this.__wbg_ptr,e)}set_bitrate_mbps(e){t.proresmovencoder_set_bitrate_mbps(this.__wbg_ptr,e)}set_qscale(e){t.proresmovencoder_set_qscale(this.__wbg_ptr,e)}};Symbol.dispose&&(tt.prototype[Symbol.dispose]=tt.prototype.free);var et=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,xt.unregister(this),e}free(){let e=this.__destroy_into_raw();t.__wbg_proresmovwriter_free(e,0)}finish(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_finish(a,this.__wbg_ptr);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}frame_count(){return t.proresmovwriter_frame_count(this.__wbg_ptr)>>>0}header(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_header(a,this.__wbg_ptr);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}mdat_box_header(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_mdat_box_header(a,this.__wbg_ptr);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}mdat_box_offset(){return t.proresmovwriter_mdat_box_offset(this.__wbg_ptr)}constructor(e,n,o,a){let c=t.proresmovwriter_new(e,n,o,a);return this.__wbg_ptr=c,xt.register(this,this.__wbg_ptr,this),this}push_frame(){try{let i=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_push_frame(i,this.__wbg_ptr);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_sample(e){try{let a=t.__wbindgen_add_to_stack_pointer(-16),c=l(e,t.__wbindgen_export4),i=p;t.proresmovwriter_push_sample(a,this.__wbg_ptr,c,i);var n=_().getInt32(a+0,!0),o=_().getInt32(a+4,!0);if(o)throw w(n)}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_sample_len(e){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_push_sample_len(a,this.__wbg_ptr,e);var n=_().getInt32(a+0,!0),o=_().getInt32(a+4,!0);if(o)throw w(n)}finally{t.__wbindgen_add_to_stack_pointer(16)}}reserve_large_mdat(e){t.proresmovwriter_reserve_large_mdat(this.__wbg_ptr,e)}set_alpha(e){t.proresmovwriter_set_alpha(this.__wbg_ptr,e)}set_bitrate_mbps(e){t.proresmovwriter_set_bitrate_mbps(this.__wbg_ptr,e)}set_par(e,n){t.proresmovwriter_set_par(this.__wbg_ptr,e,n)}set_profile(e){let n=y(e,t.__wbindgen_export4,t.__wbindgen_export5),o=p;t.proresmovwriter_set_profile(this.__wbg_ptr,n,o)}set_qscale(e){t.proresmovwriter_set_qscale(this.__wbg_ptr,e)}set_start_timecode(e,n){t.proresmovwriter_set_start_timecode(this.__wbg_ptr,e,n)}staging_len(){return t.proresmovwriter_staging_len(this.__wbg_ptr)>>>0}staging_ptr(){return t.proresmovwriter_staging_ptr(this.__wbg_ptr)>>>0}total_len(){return t.proresmovwriter_total_len(this.__wbg_ptr)}};Symbol.dispose&&(et.prototype[Symbol.dispose]=et.prototype.free);function Ot(r){let e,n;try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),d=p;t.arriraw12_clip_info(c,i,d);var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);return e=o,n=a,T(o,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Wt(r,e,n,o){var a=P(o)?0:y(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p;let i=t.arriraw_mxf_gpu_frame(v(r),e,n,a,c);return w(i)}function Ft(r,e,n){let o=t.audio_aac_au(v(r),e,n);return w(o)}function St(r,e){let n=t.audio_aac_config(v(r),e);return w(n)}function Rt(r,e){let n=t.audio_info(v(r),e);return w(n)}function Lt(r){let e=ot(r,t.__wbindgen_export4),n=p;return t.bench_f32_boundary(e,n)}function zt(r,e,n,o){let a=ot(r,t.__wbindgen_export4),c=p;return t.bench_piz_no_huffman(a,c,e,n,o)}function Dt(r,e){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=y(r,t.__wbindgen_export4,t.__wbindgen_export5),s=p;var n=ot(e,t.__wbindgen_export4),o=p;t.color_cst(i,d,s,n,o,v(e));var a=_().getInt32(i+0,!0),c=_().getInt32(i+4,!0);if(c)throw w(a)}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ut(r,e,n){let o=F(r,t.__wbindgen_export4),a=p;return t.dci_code_full_depth(o,a,e,n)}function jt(r,e,n){return t.dci_frame_cap(r,e,n)>>>0}function Pt(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p,u=y(e,t.__wbindgen_export4,t.__wbindgen_export5),b=p;t.dci_gpu_colour_patch(d,s,g,u,b);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=gt(n,o).slice();return t.__wbindgen_export3(n,o*2,2),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Bt(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=y(r,t.__wbindgen_export4,t.__wbindgen_export5),s=p;t.dci_gpu_colour_tables(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ct(){try{let o=t.__wbindgen_add_to_stack_pointer(-16);t.dci_last_pass_caps(o);var r=_().getInt32(o+0,!0),e=_().getInt32(o+4,!0),n=nt(r,e).slice();return t.__wbindgen_export3(r,e*4,4),n}finally{t.__wbindgen_add_to_stack_pointer(16)}}function qt(r,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.dci_legal_rates(c,r,e);var n=_().getInt32(c+0,!0),o=_().getInt32(c+4,!0),a=nt(n,o).slice();return t.__wbindgen_export3(n,o*4,4),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Nt(r){return t.dci_mq_bench(r)>>>0}function Ht(r,e,n,o,a,c,i,d,s,g,u){try{let k=t.__wbindgen_add_to_stack_pointer(-16),M=R(r,t.__wbindgen_export4),O=p,W=l(e,t.__wbindgen_export4),E=p,S=R(n,t.__wbindgen_export4),L=p,z=R(o,t.__wbindgen_export4),U=p,C=R(a,t.__wbindgen_export4),q=p,it=R(c,t.__wbindgen_export4),at=p,ct=R(i,t.__wbindgen_export4),dt=p,Mt=R(d,t.__wbindgen_export4),Et=p;t.dci_pack_tier1(k,M,O,W,E,S,L,z,U,C,q,it,at,ct,dt,Mt,Et,s,g,u);var b=_().getInt32(k+0,!0),x=_().getInt32(k+4,!0),m=_().getInt32(k+8,!0),I=_().getInt32(k+12,!0);if(I)throw w(m);var h=f(b,x).slice();return t.__wbindgen_export3(b,x*1,1),h}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Gt(r,e){let n=t.dci_stage_rgba8(r,e);return w(n)}function Vt(r,e,n){let o=F(r,t.__wbindgen_export4),a=p;return t.dci_transform_only(o,a,e,n)}function Kt(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p,u=l(e,t.__wbindgen_export4),b=p;t.decode_arriraw12_luma(d,s,g,u,b);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Xt(r,e,n,o){let a=y(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.decode_arriraw12_mxf(v(r),e,n,a,c);return w(i)}function Yt(r,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p,b=l(e,t.__wbindgen_export4),x=p;t.decode_arriraw12_preview(s,g,u,b,x,n);var o=_().getInt32(s+0,!0),a=_().getInt32(s+4,!0),c=_().getInt32(s+8,!0),i=_().getInt32(s+12,!0);if(i)throw w(c);var d=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function $t(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p,u=l(e,t.__wbindgen_export4),b=p;t.decode_arriraw12_rgba(d,s,g,u,b);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Jt(r,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.decode_arriraw_luma(s,g,u,e,n);var o=_().getInt32(s+0,!0),a=_().getInt32(s+4,!0),c=_().getInt32(s+8,!0),i=_().getInt32(s+12,!0);if(i)throw w(c);var d=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Qt(r,e,n,o){let a=y(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.decode_arriraw_mxf(v(r),e,n,a,c);return w(i)}function Zt(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.decode_arriraw_preview(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),d=_().getInt32(g+12,!0);if(d)throw w(i);var s=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function te(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.decode_arriraw_preview_gray(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),d=_().getInt32(g+12,!0);if(d)throw w(i);var s=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ee(r,e,n,o,a,c,i,d,s){try{let k=t.__wbindgen_add_to_stack_pointer(-16),M=l(r,t.__wbindgen_export4),O=p;var g=P(s)?0:Y(s,t.__wbindgen_export4),u=p;t.decode_arriraw_preview_meta(k,M,O,e,n,o,a,c,i,d,g,u);var b=_().getInt32(k+0,!0),x=_().getInt32(k+4,!0),m=_().getInt32(k+8,!0),I=_().getInt32(k+12,!0);if(I)throw w(m);var h=f(b,x).slice();return t.__wbindgen_export3(b,x*1,1),h}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ne(r,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.decode_arriraw_rgba(s,g,u,e,n);var o=_().getInt32(s+0,!0),a=_().getInt32(s+4,!0),c=_().getInt32(s+8,!0),i=_().getInt32(s+12,!0);if(i)throw w(c);var d=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function re(r,e,n,o,a,c,i,d){try{let h=t.__wbindgen_add_to_stack_pointer(-16),k=l(r,t.__wbindgen_export4),M=p;var s=P(d)?0:Y(d,t.__wbindgen_export4),g=p;t.decode_arriraw_rgba_meta(h,k,M,e,n,o,a,c,i,s,g);var u=_().getInt32(h+0,!0),b=_().getInt32(h+4,!0),x=_().getInt32(h+8,!0),m=_().getInt32(h+12,!0);if(m)throw w(x);var I=f(u,b).slice();return t.__wbindgen_export3(u,b*1,1),I}finally{t.__wbindgen_add_to_stack_pointer(16)}}function _e(r,e,n,o){let a=t.decode_audio_pcm(v(r),e,n,o);return w(a)}function oe(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),c=l(r,t.__wbindgen_export4),i=p;t.decode_braw_gen5log(a,c,i);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ie(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_braw_luma(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ae(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_braw_preview(d,s,g,e);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ce(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_braw_rgba(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function de(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_cr3_rgba(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function se(r,e,n,o){let a=y(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.decode_crm(v(r),e,n,a,c);return w(i)}function pe(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_dng_preview(d,s,g,e);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ge(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_dng_rgba(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ue(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_dpx_preview(d,s,g,e);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function we(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_dpx_rgba(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function be(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_exr_linear(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function le(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_exr_preview(d,s,g,e);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function fe(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_exr_rgba(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function xe(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_jpeg_rgba(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ve(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_png_rgba(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ie(r,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.decode_prores_band_rgba(s,g,u,e,n);var o=_().getInt32(s+0,!0),a=_().getInt32(s+4,!0),c=_().getInt32(s+8,!0),i=_().getInt32(s+12,!0);if(i)throw w(c);var d=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ye(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_luma(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function me(r,e,n,o){let a=y(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.decode_prores_mxf(v(r),e,n,a,c);return w(i)}function he(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_prores_preview(d,s,g,e);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ke(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_raw_acescct(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ae(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_raw_luma(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Me(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_prores_raw_preview(d,s,g,e);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ee(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_raw_rec2020(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Te(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_raw_rgba(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Oe(r,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p,b=y(e,t.__wbindgen_export4,t.__wbindgen_export5),x=p,m=l(n,t.__wbindgen_export4),I=p;t.decode_prores_raw_tier(s,g,u,b,x,m,I);var o=_().getInt32(s+0,!0),a=_().getInt32(s+4,!0),c=_().getInt32(s+8,!0),i=_().getInt32(s+12,!0);if(i)throw w(c);var d=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function We(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_rgb16(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Fe(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_rgba(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Se(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_thumb_dc32(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Re(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_r3d_luma(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Le(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_r3d_preview(d,s,g,e);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ze(r,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p,b=l(e,t.__wbindgen_export4),x=p;t.decode_r3d_preview_clip(s,g,u,b,x,n);var o=_().getInt32(s+0,!0),a=_().getInt32(s+4,!0),c=_().getInt32(s+8,!0),i=_().getInt32(s+12,!0);if(i)throw w(c);var d=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function De(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_r3d_rgb16(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ue(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_r3d_rgba(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function je(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p,u=l(e,t.__wbindgen_export4),b=p;t.decode_r3d_rgba_clip(d,s,g,u,b);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Pe(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_tiff_preview(d,s,g,e);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Be(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_tiff_rgba(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ce(r,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.decode_vc3_band_rgba(s,g,u,e,n);var o=_().getInt32(s+0,!0),a=_().getInt32(s+4,!0),c=_().getInt32(s+8,!0),i=_().getInt32(s+12,!0);if(i)throw w(c);var d=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function qe(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_vc3_luma(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ne(r,e,n,o){let a=y(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.decode_vc3_mxf(v(r),e,n,a,c);return w(i)}function He(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_vc3_preview(d,s,g,e);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ge(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_vc3_rgba(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ve(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),c=l(r,t.__wbindgen_export4),i=p;t.decode_xocn_index_luma(a,c,i);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ke(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_xocn_luma(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Xe(r,e,n,o){let a=y(o,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.decode_xocn_mxf(v(r),e,n,a,c);return w(i)}function Ye(r,e){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_xocn_preview(d,s,g,e);var n=_().getInt32(d+0,!0),o=_().getInt32(d+4,!0),a=_().getInt32(d+8,!0),c=_().getInt32(d+12,!0);if(c)throw w(a);var i=f(n,o).slice();return t.__wbindgen_export3(n,o*1,1),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function $e(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_xocn_preview_rec709(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Je(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),c=l(r,t.__wbindgen_export4),i=p;t.decode_xocn_rgb16(a,c,i);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Qe(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_xocn_rgba(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ze(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=F(r,t.__wbindgen_export4),b=p;t.encode_dci_j2c(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),d=_().getInt32(g+12,!0);if(d)throw w(i);var s=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function tn(r,e,n,o,a,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=F(r,t.__wbindgen_export4),m=p,I=y(n,t.__wbindgen_export4,t.__wbindgen_export5),h=p;t.encode_dci_j2c_rgb(b,x,m,e,I,h,o,a,c);var i=_().getInt32(b+0,!0),d=_().getInt32(b+4,!0),s=_().getInt32(b+8,!0),g=_().getInt32(b+12,!0);if(g)throw w(s);var u=f(i,d).slice();return t.__wbindgen_export3(i,d*1,1),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function en(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p,m=y(e,t.__wbindgen_export4,t.__wbindgen_export5),I=p;t.encode_dci_j2c_rgba8(u,b,x,m,I,n,o,a);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),d=_().getInt32(u+8,!0),s=_().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function nn(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=y(o,t.__wbindgen_export4,t.__wbindgen_export5),x=p;t.encode_dci_j2c_staged(u,r,e,n,b,x,a);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),d=_().getInt32(u+8,!0),s=_().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function rn(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=y(o,t.__wbindgen_export4,t.__wbindgen_export5),x=p;t.encode_dci_j2c_staged_modelled(u,r,e,n,b,x,a);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),d=_().getInt32(u+8,!0),s=_().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function _n(r,e,n,o,a,c,i,d,s,g,u,b,x,m,I){try{let E=t.__wbindgen_add_to_stack_pointer(-16),S=ot(r,t.__wbindgen_export4),L=p,z=y(a,t.__wbindgen_export4,t.__wbindgen_export5),U=p,C=y(c,t.__wbindgen_export4,t.__wbindgen_export5),q=p,it=y(i,t.__wbindgen_export4,t.__wbindgen_export5),at=p,ct=y(x,t.__wbindgen_export4,t.__wbindgen_export5),dt=p;t.encode_exr(E,S,L,e,n,o,z,U,C,q,it,at,d,s,g,u,b,ct,dt,m,I);var h=_().getInt32(E+0,!0),k=_().getInt32(E+4,!0),M=_().getInt32(E+8,!0),O=_().getInt32(E+12,!0);if(O)throw w(M);var W=f(h,k).slice();return t.__wbindgen_export3(h,k*1,1),W}finally{t.__wbindgen_add_to_stack_pointer(16)}}function on(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p;t.encode_prores_4444_alpha_mov_rgba(u,b,x,e,n,o,a);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),d=_().getInt32(u+8,!0),s=_().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function an(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.encode_prores_4444_alpha_sample_q(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),d=_().getInt32(g+12,!0);if(d)throw w(i);var s=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function cn(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.encode_prores_444_sample_cbr(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),d=_().getInt32(g+12,!0);if(d)throw w(i);var s=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function dn(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=F(r,t.__wbindgen_export4),b=p;t.encode_prores_444_sample_cbr_rgb16(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),d=_().getInt32(g+12,!0);if(d)throw w(i);var s=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function sn(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=F(r,t.__wbindgen_export4),x=p,m=F(a,t.__wbindgen_export4),I=p;t.encode_prores_444_sample_cbr_rgb16_lut(u,b,x,e,n,o,m,I);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),d=_().getInt32(u+8,!0),s=_().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function pn(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p;t.encode_prores_mov_rgba(u,b,x,e,n,o,a);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),d=_().getInt32(u+8,!0),s=_().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function gn(r,e,n){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.encode_prores_rgba(s,g,u,e,n);var o=_().getInt32(s+0,!0),a=_().getInt32(s+4,!0),c=_().getInt32(s+8,!0),i=_().getInt32(s+12,!0);if(i)throw w(c);var d=f(o,a).slice();return t.__wbindgen_export3(o,a*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function un(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.encode_prores_sample_cbr(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),d=_().getInt32(g+12,!0);if(d)throw w(i);var s=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function wn(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=F(r,t.__wbindgen_export4),b=p;t.encode_prores_sample_cbr_rgb16(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),d=_().getInt32(g+12,!0);if(d)throw w(i);var s=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function bn(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=F(r,t.__wbindgen_export4),x=p,m=F(a,t.__wbindgen_export4),I=p;t.encode_prores_sample_cbr_rgb16_lut(u,b,x,e,n,o,m,I);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),d=_().getInt32(u+8,!0),s=_().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,i).slice();return t.__wbindgen_export3(c,i*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ln(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.encode_prores_sample_q(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),d=_().getInt32(g+12,!0);if(d)throw w(i);var s=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function fn(r,e,n,o){let a,c;try{let x=t.__wbindgen_add_to_stack_pointer(-16),m=y(r,t.__wbindgen_export4,t.__wbindgen_export5),I=p;t.exr_sequence_filename(x,m,I,e,n,o);var i=_().getInt32(x+0,!0),d=_().getInt32(x+4,!0),s=_().getInt32(x+8,!0),g=_().getInt32(x+12,!0),u=i,b=d;if(g)throw u=0,b=0,w(s);return a=u,c=b,T(u,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,c,1)}}function xn(r,e,n,o,a,c,i,d){let s,g;try{let k=t.__wbindgen_add_to_stack_pointer(-16),M=l(r,t.__wbindgen_export4),O=p,W=l(o,t.__wbindgen_export4),E=p,S=y(d,t.__wbindgen_export4,t.__wbindgen_export5),L=p;t.fit_sizing(k,M,O,e,n,W,E,a,c,i,S,L);var u=_().getInt32(k+0,!0),b=_().getInt32(k+4,!0),x=_().getInt32(k+8,!0),m=_().getInt32(k+12,!0),I=u,h=b;if(m)throw I=0,h=0,w(x);return s=I,g=h,T(I,h)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(s,g,1)}}function vn(r){let e,n;try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),d=p;t.inspect_cr3(c,i,d);var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);return e=o,n=a,T(o,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function In(r){let e,n;try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),d=p;t.inspect_dng(c,i,d);var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);return e=o,n=a,T(o,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function yn(r){let e,n;try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),d=p;t.inspect_dpx(c,i,d);var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);return e=o,n=a,T(o,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function mn(r){let e,n;try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),d=p;t.inspect_exr(c,i,d);var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);return e=o,n=a,T(o,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function hn(r,e,n){let o=y(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,c=t.inspect_isobmff(v(r),e,o,a);return w(c)}function kn(r){let e,n;try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),d=p;t.inspect_tiff(c,i,d);var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);return e=o,n=a,T(o,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function An(r,e){let n=t.inspect_wav(v(r),e);return w(n)}function Mn(r,e){let n=t.is_arriraw12_mxf(v(r),e);return w(n)}function En(r,e){let n=t.is_arriraw_mxf(v(r),e);return w(n)}function Tn(r,e){let n=t.is_crm(v(r),e);return w(n)}function On(r,e){let n=t.is_prores_mxf(v(r),e);return w(n)}function Wn(r,e){let n=t.is_vc3_mxf(v(r),e);return w(n)}function Fn(r,e){let n=t.is_xavc_mxf(v(r),e);return w(n)}function Sn(r,e){let n=t.is_xocn_mxf(v(r),e);return w(n)}function Rn(r,e,n){let o=y(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,c=t.list_isobmff_segments(v(r),e,o,a);return w(c)}function Ln(r,e){let n=t.list_mxf_segments(v(r),e);return w(n)}function zn(r,e){let n=y(e,t.__wbindgen_export4,t.__wbindgen_export5),o=p,a=t.list_r3d_frames(v(r),n,o);return w(a)}function Dn(r,e){let n=y(e,t.__wbindgen_export4,t.__wbindgen_export5),o=p,a=t.list_r3d_segments(v(r),n,o);return w(a)}function Un(r,e){let n=t.list_wav_segments(v(r),e);return w(n)}function jn(r,e,n,o,a,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=l(r,t.__wbindgen_export4),m=p,I=R(e,t.__wbindgen_export4),h=p;t.mux_prores_4444_alpha_samples(b,x,m,I,h,n,o,a,c);var i=_().getInt32(b+0,!0),d=_().getInt32(b+4,!0),s=_().getInt32(b+8,!0),g=_().getInt32(b+12,!0);if(g)throw w(s);var u=f(i,d).slice();return t.__wbindgen_export3(i,d*1,1),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Pn(r,e,n,o,a,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=l(r,t.__wbindgen_export4),m=p,I=R(e,t.__wbindgen_export4),h=p;t.mux_prores_samples(b,x,m,I,h,n,o,a,c);var i=_().getInt32(b+0,!0),d=_().getInt32(b+4,!0),s=_().getInt32(b+8,!0),g=_().getInt32(b+12,!0);if(g)throw w(s);var u=f(i,d).slice();return t.__wbindgen_export3(i,d*1,1),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Bn(r,e,n,o,a,c,i,d,s,g,u,b){try{let M=t.__wbindgen_add_to_stack_pointer(-16),O=l(r,t.__wbindgen_export4),W=p,E=R(e,t.__wbindgen_export4),S=p,L=y(i,t.__wbindgen_export4,t.__wbindgen_export5),z=p;t.mux_prores_samples_full(M,O,W,E,S,n,o,a,c,L,z,d,s,g,u,b);var x=_().getInt32(M+0,!0),m=_().getInt32(M+4,!0),I=_().getInt32(M+8,!0),h=_().getInt32(M+12,!0);if(h)throw w(I);var k=f(x,m).slice();return t.__wbindgen_export3(x,m*1,1),k}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Cn(r,e,n,o){let a=t.mxf_au_run(v(r),e,n,o);return w(a)}function qn(r,e){let n=t.mxf_frame_index(v(r),e);return w(n)}function Nn(r,e){let n=t.mxf_gop_map(v(r),e);return w(n)}function Hn(r,e){let n=t.mxf_h264_kind(v(r),e);return w(n)}function Gn(r,e){let n,o;try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p,m=y(e,t.__wbindgen_export4,t.__wbindgen_export5),I=p;t.plan_isobmff_trim(u,b,x,m,I);var a=_().getInt32(u+0,!0),c=_().getInt32(u+4,!0),i=_().getInt32(u+8,!0),d=_().getInt32(u+12,!0),s=a,g=c;if(d)throw s=0,g=0,w(i);return n=s,o=g,T(s,g)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(n,o,1)}}function Vn(r,e,n,o,a){let c=y(a,t.__wbindgen_export4,t.__wbindgen_export5),i=p,d=t.plan_isobmff_trim_reader(v(r),e,n,o,c,i);return w(d)}function Kn(r){let e,n;try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=y(r,t.__wbindgen_export4,t.__wbindgen_export5),b=p;t.plan_mxf_compact_trim(g,u,b);var o=_().getInt32(g+0,!0),a=_().getInt32(g+4,!0),c=_().getInt32(g+8,!0),i=_().getInt32(g+12,!0),d=o,s=a;if(i)throw d=0,s=0,w(c);return e=d,n=s,T(d,s)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function Xn(r,e,n,o){let a=t.plan_mxf_trim(v(r),e,n,o);return w(a)}function Yn(r,e,n,o,a,c,i,d){let s,g;try{let x=t.__wbindgen_add_to_stack_pointer(-16),m=l(r,t.__wbindgen_export4),I=p,h=l(e,t.__wbindgen_export4),k=p,M=l(n,t.__wbindgen_export4),O=p,W=l(o,t.__wbindgen_export4),E=p,S=Y(a,t.__wbindgen_export4),L=p,z=Y(c,t.__wbindgen_export4),U=p,C=Y(i,t.__wbindgen_export4),q=p;t.plan_r3d_compact(x,m,I,h,k,M,O,W,E,S,L,z,U,C,q,d);var u=_().getInt32(x+0,!0),b=_().getInt32(x+4,!0);return s=u,g=b,T(u,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(s,g,1)}}function $n(r,e,n,o){let a,c;try{let x=t.__wbindgen_add_to_stack_pointer(-16),m=l(r,t.__wbindgen_export4),I=p;t.plan_wav_trim(x,m,I,e,n,o);var i=_().getInt32(x+0,!0),d=_().getInt32(x+4,!0),s=_().getInt32(x+8,!0),g=_().getInt32(x+12,!0),u=i,b=d;if(g)throw u=0,b=0,w(s);return a=u,c=b,T(u,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,c,1)}}function Jn(r,e,n,o,a){let c=t.plan_wav_trim_reader(v(r),e,n,o,a);return w(c)}function Qn(r,e,n,o){let a=y(n,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=y(o,t.__wbindgen_export4,t.__wbindgen_export5),d=p,s=t.prepare_isobmff(v(r),e,a,c,i,d);return w(s)}function Zn(r,e,n){let o=y(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,c=t.prepare_mxf(v(r),e,o,a);return w(c)}function tr(r,e,n){let o=y(e,t.__wbindgen_export4,t.__wbindgen_export5),a=p,c=y(n,t.__wbindgen_export4,t.__wbindgen_export5),i=p,d=t.prepare_r3d(v(r),o,a,c,i);return w(d)}function er(r,e,n,o){let a=y(n,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=t.prepare_wav(v(r),e,a,c,o);return w(i)}function nr(r){let e,n;try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.probe_mov(g,u,b);var o=_().getInt32(g+0,!0),a=_().getInt32(g+4,!0),c=_().getInt32(g+8,!0),i=_().getInt32(g+12,!0),d=o,s=a;if(i)throw d=0,s=0,w(c);return e=d,n=s,T(d,s)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function rr(r,e){let n=t.probe_mxf(v(r),e);return w(n)}function _r(r,e){let n=y(e,t.__wbindgen_export4,t.__wbindgen_export5),o=p,a=t.probe_r3d(v(r),n,o);return w(a)}function or(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.prores_band_info(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=nt(e,n).slice();return t.__wbindgen_export3(e,n*4,4),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ir(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),c=l(r,t.__wbindgen_export4),i=p;t.prores_raw_container_color(a,c,i);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ar(){t.prores_reset_rate_control()}function cr(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),c=l(r,t.__wbindgen_export4),i=p;t.r3d_gpu_develop_params(a,c,i);var e=_().getInt32(a+0,!0),n=_().getInt32(a+4,!0),o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}function dr(r,e,n){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.r3d_index_ranges(i,d,s,e,n);var o=_().getInt32(i+0,!0),a=_().getInt32(i+4,!0),c=nt(o,a).slice();return t.__wbindgen_export3(o,a*4,4),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function sr(r){let e=l(r,t.__wbindgen_export4),n=p;return t.r3d_is_helium(e,n)!==0}function pr(r){let e,n;try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.read_arriraw_fcs(g,u,b);var o=_().getInt32(g+0,!0),a=_().getInt32(g+4,!0),c=_().getInt32(g+8,!0),i=_().getInt32(g+12,!0),d=o,s=a;if(i)throw d=0,s=0,w(c);return e=d,n=s,T(d,s)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,n,1)}}function gr(r,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16),i=l(r,t.__wbindgen_export4),d=p;t.read_arriraw_unit_correction(c,i,d,e);var n=_().getInt32(c+0,!0),o=_().getInt32(c+4,!0),a=Rr(n,o).slice();return t.__wbindgen_export3(n,o*8,8),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ur(r,e,n,o,a,c,i){let d,s;try{let h=t.__wbindgen_add_to_stack_pointer(-16),k=l(r,t.__wbindgen_export4),M=p,O=l(o,t.__wbindgen_export4),W=p,E=y(i,t.__wbindgen_export4,t.__wbindgen_export5),S=p;t.recover_reframe(h,k,M,e,n,O,W,a,c,E,S);var g=_().getInt32(h+0,!0),u=_().getInt32(h+4,!0),b=_().getInt32(h+8,!0),x=_().getInt32(h+12,!0),m=g,I=u;if(x)throw m=0,I=0,w(b);return d=m,s=I,T(m,I)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(d,s,1)}}function wr(r,e,n,o,a,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=F(r,t.__wbindgen_export4),m=p,I=y(c,t.__wbindgen_export4,t.__wbindgen_export5),h=p;t.resample_rgba16(b,x,m,e,n,o,a,I,h);var i=_().getInt32(b+0,!0),d=_().getInt32(b+4,!0),s=_().getInt32(b+8,!0),g=_().getInt32(b+12,!0);if(g)throw w(s);var u=gt(i,d).slice();return t.__wbindgen_export3(i,d*2,2),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function br(r,e,n,o,a,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=l(r,t.__wbindgen_export4),m=p,I=y(c,t.__wbindgen_export4,t.__wbindgen_export5),h=p;t.resample_rgba8(b,x,m,e,n,o,a,I,h);var i=_().getInt32(b+0,!0),d=_().getInt32(b+4,!0),s=_().getInt32(b+8,!0),g=_().getInt32(b+12,!0);if(g)throw w(s);var u=f(i,d).slice();return t.__wbindgen_export3(i,d*1,1),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function lr(){t.reset_dci_rate_state()}function fr(r,e,n,o){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.resize_luma_area(g,u,b,e,n,o);var a=_().getInt32(g+0,!0),c=_().getInt32(g+4,!0),i=_().getInt32(g+8,!0),d=_().getInt32(g+12,!0);if(d)throw w(i);var s=f(a,c).slice();return t.__wbindgen_export3(a,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function xr(r,e,n,o,a){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p,m=y(a,t.__wbindgen_export4,t.__wbindgen_export5),I=p;t.rgba8_to_xyz12(u,b,x,e,n,o,m,I);var c=_().getInt32(u+0,!0),i=_().getInt32(u+4,!0),d=_().getInt32(u+8,!0),s=_().getInt32(u+12,!0);if(s)throw w(d);var g=gt(c,i).slice();return t.__wbindgen_export3(c,i*2,2),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function vr(r,e,n,o){let a,c;try{let x=t.__wbindgen_add_to_stack_pointer(-16),m=F(r,t.__wbindgen_export4),I=p,h=l(e,t.__wbindgen_export4),k=p,M=R(n,t.__wbindgen_export4),O=p,W=y(o,t.__wbindgen_export4,t.__wbindgen_export5),E=p;t.shot_crop(x,m,I,h,k,M,O,W,E);var i=_().getInt32(x+0,!0),d=_().getInt32(x+4,!0),s=_().getInt32(x+8,!0),g=_().getInt32(x+12,!0),u=i,b=d;if(g)throw u=0,b=0,w(s);return a=u,c=b,T(u,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,c,1)}}function Ir(r,e,n){let o,a;try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=F(r,t.__wbindgen_export4),m=p,I=l(e,t.__wbindgen_export4),h=p,k=y(n,t.__wbindgen_export4,t.__wbindgen_export5),M=p;t.shot_ramp(b,x,m,I,h,k,M);var c=_().getInt32(b+0,!0),i=_().getInt32(b+4,!0),d=_().getInt32(b+8,!0),s=_().getInt32(b+12,!0),g=c,u=i;if(s)throw g=0,u=0,w(d);return o=g,a=u,T(g,u)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(o,a,1)}}function yr(r,e,n,o){let a,c;try{let x=t.__wbindgen_add_to_stack_pointer(-16),m=F(r,t.__wbindgen_export4),I=p,h=l(e,t.__wbindgen_export4),k=p,M=R(n,t.__wbindgen_export4),O=p,W=y(o,t.__wbindgen_export4,t.__wbindgen_export5),E=p;t.shot_scan(x,m,I,h,k,M,O,W,E);var i=_().getInt32(x+0,!0),d=_().getInt32(x+4,!0),s=_().getInt32(x+8,!0),g=_().getInt32(x+12,!0),u=i,b=d;if(g)throw u=0,b=0,w(s);return a=u,c=b,T(u,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(a,c,1)}}function mr(r,e,n,o){let a=y(e,t.__wbindgen_export4,t.__wbindgen_export5),c=p,i=y(n,t.__wbindgen_export4,t.__wbindgen_export5),d=p,s=y(o,t.__wbindgen_export4,t.__wbindgen_export5),g=p,u=t.trim_r3d(v(r),a,c,i,d,s,g);return w(u)}function hr(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.vc3_band_info(i,d,s);var e=_().getInt32(i+0,!0),n=_().getInt32(i+4,!0),o=_().getInt32(i+8,!0),a=_().getInt32(i+12,!0);if(a)throw w(o);var c=nt(e,n).slice();return t.__wbindgen_export3(e,n*4,4),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function kr(r,e,n){let o=y(n,t.__wbindgen_export4,t.__wbindgen_export5),a=p,c=t.video_frame_index_isobmff_reader(v(r),e,o,a);return w(c)}function Ar(r,e,n){let o=t.xavc_au(v(r),e,n);return w(o)}function Mr(r,e){let n=t.xavc_frame_count(v(r),e);return w(n)}function Er(r,e){let n=t.xocn_frame_count(v(r),e);return w(n)}function Tr(r){let e=l(r,t.__wbindgen_export4),n=p;return t.xocn_index_prefix_len(e,n)>>>0}function Or(r){let e=l(r,t.__wbindgen_export4),n=p;return t.xocn_preview_prefix_len(e,n)>>>0}function It(){return{__proto__:null,"./media_core_bg.js":{__proto__:null,__wbg___wbindgen_copy_to_typed_array_c5728021fabd0236:function(e,n,o){new Uint8Array(A(o).buffer,A(o).byteOffset,A(o).byteLength).set(f(e,n))},__wbg___wbindgen_is_function_acc5528be2b923f2:function(e){return typeof A(e)=="function"},__wbg___wbindgen_is_undefined_721f8decd50c87a3:function(e){return A(e)===void 0},__wbg___wbindgen_throw_ea4887a5f8f9a9db:function(e,n){throw new Error(T(e,n))},__wbg__wbg_cb_unref_33c39e13d73b25f6:function(e){A(e)._wbg_cb_unref()},__wbg_call_0e855b388e315e17:function(){return st(function(e,n,o,a){let c=A(e).call(A(n),A(o),A(a));return v(c)},arguments)},__wbg_call_5575218572ead796:function(){return st(function(e,n,o){let a=A(e).call(A(n),A(o));return v(a)},arguments)},__wbg_call_dd0f909cbc9405d0:function(){return st(function(e,n,o,a,c){let i=A(e).call(A(n),A(o),A(a),A(c));return v(i)},arguments)},__wbg_length_589238bdcf171f0e:function(e){return A(e).length},__wbg_new_81880fb5002cb255:function(e){let n=new Uint8Array(A(e));return v(n)},__wbg_new_typed_00a409eb4ec4f2d9:function(e,n){try{var o={a:e,b:n},a=(i,d)=>{let s=o.a;o.a=0;try{return Fr(s,o.b,i,d)}finally{o.a=s}};let c=new Promise(a);return v(c)}finally{o.a=0}},__wbg_prototypesetcall_d721637c7ca66eb8:function(e,n,o){Uint8Array.prototype.set.call(f(e,n),A(o))},__wbg_queueMicrotask_1c9b3800e321a967:function(e){let n=A(e).queueMicrotask;return v(n)},__wbg_queueMicrotask_311744e534a929a3:function(e){queueMicrotask(A(e))},__wbg_resolve_d82363d90af6928a:function(e){let n=Promise.resolve(A(e));return v(n)},__wbg_static_accessor_GLOBAL_THIS_2fee5048bcca5938:function(){let e=typeof globalThis>"u"?null:globalThis;return P(e)?0:v(e)},__wbg_static_accessor_GLOBAL_ce44e66a4935da8c:function(){let e=typeof global>"u"?null:global;return P(e)?0:v(e)},__wbg_static_accessor_SELF_44f6e0cb5e67cdad:function(){let e=typeof self>"u"?null:self;return P(e)?0:v(e)},__wbg_static_accessor_WINDOW_168f178805d978fe:function(){let e=typeof window>"u"?null:window;return P(e)?0:v(e)},__wbg_then_05edfc8a4fea5106:function(e,n,o){let a=A(e).then(A(n),A(o));return v(a)},__wbg_then_591b6b3a75ee817a:function(e,n){let o=A(e).then(A(n));return v(o)},__wbindgen_cast_0000000000000001:function(e,n){let o=zr(e,n,Wr);return v(o)},__wbindgen_cast_0000000000000002:function(e){return v(e)},__wbindgen_cast_0000000000000003:function(e,n){let o=f(e,n);return v(o)},__wbindgen_cast_0000000000000004:function(e,n){let o=T(e,n);return v(o)},__wbindgen_cast_0000000000000005:function(e,n){var o=f(e,n).slice();return t.__wbindgen_export3(e,n*1,1),v(o)},__wbindgen_object_clone_ref:function(e){let n=A(e);return v(n)},__wbindgen_object_drop_ref:function(e){w(e)}}}}function Wr(r,e,n){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.__wasm_bindgen_func_elem_1903(c,r,e,v(n));var o=_().getInt32(c+0,!0),a=_().getInt32(c+4,!0);if(a)throw w(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Fr(r,e,n,o){t.__wasm_bindgen_func_elem_1918(r,e,v(n),v(o))}var wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_exrbench_free(r,1)),bt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_exrstreamencoder_free(r,1)),lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_proresbench_free(r,1)),ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_proresmovencoder_free(r,1)),xt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_proresmovwriter_free(r,1));function v(r){X===D.length&&D.push(D.length+1);let e=X;return X=D[e],D[e]=r,e}var vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbindgen_export2(r.a,r.b));function Sr(r){r<1028||(D[r]=X,X=r)}function Rr(r,e){return r=r>>>0,yt().subarray(r/8,r/8+e)}function gt(r,e){return r=r>>>0,mt().subarray(r/2,r/2+e)}function nt(r,e){return r=r>>>0,ht().subarray(r/4,r/4+e)}function f(r,e){return r=r>>>0,B().subarray(r/1,r/1+e)}var j=null;function _(){return(j===null||j.buffer.detached===!0||j.buffer.detached===void 0&&j.buffer!==t.memory.buffer)&&(j=new DataView(t.memory.buffer)),j}var N=null;function Lr(){return(N===null||N.byteLength===0)&&(N=new Float32Array(t.memory.buffer)),N}var H=null;function yt(){return(H===null||H.byteLength===0)&&(H=new Float64Array(t.memory.buffer)),H}function T(r,e){return Ur(r>>>0,e)}var G=null;function mt(){return(G===null||G.byteLength===0)&&(G=new Uint16Array(t.memory.buffer)),G}var V=null;function ht(){return(V===null||V.byteLength===0)&&(V=new Uint32Array(t.memory.buffer)),V}var K=null;function B(){return(K===null||K.byteLength===0)&&(K=new Uint8Array(t.memory.buffer)),K}function A(r){return D[r]}function st(r,e){try{return r.apply(this,e)}catch(n){t.__wbindgen_export(v(n))}}var D=new Array(1024).fill(void 0);D.push(void 0,null,!0,!1);var X=D.length;function P(r){return r==null}function zr(r,e,n){let o={a:r,b:e,cnt:1},a=(...c)=>{o.cnt++;let i=o.a;o.a=0;try{return n(i,o.b,...c)}finally{o.a=i,a._wbg_cb_unref()}};return a._wbg_cb_unref=()=>{--o.cnt===0&&(t.__wbindgen_export2(o.a,o.b),o.a=0,vt.unregister(o))},vt.register(a,o,o),a}function F(r,e){let n=e(r.length*2,2)>>>0;return mt().set(r,n/2),p=r.length,n}function R(r,e){let n=e(r.length*4,4)>>>0;return ht().set(r,n/4),p=r.length,n}function l(r,e){let n=e(r.length*1,1)>>>0;return B().set(r,n/1),p=r.length,n}function ot(r,e){let n=e(r.length*4,4)>>>0;return Lr().set(r,n/4),p=r.length,n}function Y(r,e){let n=e(r.length*8,8)>>>0;return yt().set(r,n/8),p=r.length,n}function y(r,e,n){if(n===void 0){let d=$.encode(r),s=e(d.length,1)>>>0;return B().subarray(s,s+d.length).set(d),p=d.length,s}let o=r.length,a=e(o,1)>>>0,c=B(),i=0;for(;i<o;i++){let d=r.charCodeAt(i);if(d>127)break;c[a+i]=d}if(i!==o){i!==0&&(r=r.slice(i)),a=n(a,o,o=i+r.length*3,1)>>>0;let d=B().subarray(a+i,a+o),s=$.encodeInto(r,d);i+=s.written,a=n(a,o,i,1)>>>0}return p=i,a}function w(r){let e=A(r);return Sr(r),e}var _t=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});_t.decode();var Dr=2146435072,pt=0;function Ur(r,e){return pt+=e,pt>=Dr&&(_t=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),_t.decode(),pt=e),_t.decode(B().subarray(r,r+e))}var $=new TextEncoder;"encodeInto"in $||($.encodeInto=function(r,e){let n=$.encode(r);return e.set(n),{read:r.length,written:n.length}});var p=0,jr,Pr,t;function kt(r,e){return Pr=r,t=r.exports,jr=e,j=null,N=null,H=null,G=null,V=null,K=null,t}async function Br(r,e){if(typeof Response=="function"&&r instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(r,e)}catch(a){if(r.ok&&n(r.type)&&r.headers.get("Content-Type")!=="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",a);else throw a}let o=await r.arrayBuffer();return await WebAssembly.instantiate(o,e)}else{let o=await WebAssembly.instantiate(r,e);return o instanceof WebAssembly.Instance?{instance:o,module:r}:o}function n(o){switch(o){case"basic":case"cors":case"default":return!0}return!1}}function Cr(r){if(t!==void 0)return t;r!==void 0&&(Object.getPrototypeOf(r)===Object.prototype?{module:r}=r:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let e=It();r instanceof WebAssembly.Module||(r=new WebAssembly.Module(r));let n=new WebAssembly.Instance(r,e);return kt(n,r)}async function rt(r){if(t!==void 0)return t;r!==void 0&&(Object.getPrototypeOf(r)===Object.prototype?{module_or_path:r}=r:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),r===void 0&&(r=new URL("media_core_bg.wasm",import.meta.url));let e=It();(typeof r=="string"||typeof Request=="function"&&r instanceof Request||typeof URL=="function"&&r instanceof URL)&&(r=fetch(r));let{instance:n,module:o}=await Br(await r,e);return kt(n,o)}var Hr=import.meta.env?.VITE_TE_WORKSPACE==="1";var Gr=!0,Vr=import.meta.env?.MODE==="development"?["conform.tools","localhost"]:["conform.tools"];var ut=null,qr=!1;function Nr(r){return ut||(ut=(async()=>{if(r!==void 0)return rt(r);if(typeof process<"u"&&process.versions?.node){let n="node:fs/promises",{readFile:o}=await import(n),a=await o(new URL("./wasm/media_core_bg.wasm",import.meta.url));return rt({module_or_path:a})}let{default:e}=await import("./media_core_bg-FDL7GJZP.js");return rt({module_or_path:e})})().then(e=>(qr=!0,e))),ut}function Jr(){return Nr()}export{et as a,Wt as b,Rt as c,Dt as d,Xt as e,Jt as f,Qt as g,te as h,_e as i,oe as j,ie as k,ae as l,ce as m,de as n,se as o,ge as p,we as q,fe as r,xe as s,ve as t,ye as u,me as v,he as w,ke as x,Ae as y,Me as z,Te as A,We as B,Fe as C,Se as D,Re as E,Le as F,ze as G,De as H,je as I,Be as J,qe as K,Ne as L,He as M,Ge as N,Ve as O,Ke as P,Xe as Q,Ye as R,$e as S,an as T,gn as U,ln as V,vn as W,In as X,yn as Y,mn as Z,hn as _,kn as $,An as aa,Mn as ba,En as ca,On as da,Wn as ea,Sn as fa,Rn as ga,Ln as ha,zn as ia,Dn as ja,Un as ka,Bn as la,Cn as ma,qn as na,Nn as oa,Vn as pa,Xn as qa,Jn as ra,Qn as sa,Zn as ta,er as ua,rr as va,_r as wa,cr as xa,dr as ya,sr as za,mr as Aa,kr as Ba,Tr as Ca,Or as Da,At as Ea,Gr as Fa,Jr as Ga};
|
package/dist/chunk-UCMNH6Q6.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
-
var r={png:"native",jpg:"native",jpeg:"native",gif:"native",webp:"native",avif:"native",bmp:"native",dpx:"wasm-decoder",tif:"wasm-decoder",tiff:"wasm-decoder",exr:"wasm-decoder",dng:"wasm-decoder",cr3:"wasm-decoder",psd:"none",tga:"none",heic:"none",heif:"none",pict:"none",pct:"none"};function l(e){let t=(e??"").toLowerCase();return Object.prototype.hasOwnProperty.call(r,t)?r[t]:null}var i=[{exts:["mov","mp4","m4v"],family:"isobmff",flavor:"mov",trimSupported:!0,inspectSupported:!0,protection:"public"},{exts:["crm"],family:"isobmff",flavor:"crm",trimSupported:!0,inspectSupported:!0,protection:"public"},{exts:["braw"],family:"isobmff",flavor:"braw",trimSupported:!0,inspectSupported:!0,protection:"public"},{exts:["mxf"],family:"mxf",flavor:"mxf",trimSupported:!0,inspectSupported:!0,protection:"proprietary"},{exts:["wav","wave","bwf"],family:"riff",flavor:"wav",trimSupported:!0,inspectSupported:!0,protection:"public"},{exts:["r3d"],family:"r3d",flavor:"r3d",trimSupported:!0,inspectSupported:!0,protection:"proprietary"},{exts:Object.keys(r),family:"still",flavor:"still",trimSupported:!1,inspectSupported:!0,protection:"public"}];function n(e){return(e.split(".").pop()??"").toLowerCase()}function p(e){let t=n(e);return t?i.find(o=>o.exts.includes(t))??null:null}function s(e){let t=p(e);return!!t&&t.trimSupported}export{l as a,p as b,s as c};
|
package/dist/chunk-XNR7M4VX.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
-
var s={scrub:{output:"rgba8",detail:"coarse"},thumbnail:{output:"rgba8",detail:"coarse"},park:{output:"rgba8",detail:"exact"},render:{output:"rgba8",detail:"exact"},transcode:{output:"rgb16",detail:"exact"}};function p(e){let t=new DataView(e.buffer,e.byteOffset,8),r=t.getUint32(0,!0),n=t.getUint32(4,!0),o=e.slice(8);return{width:r,height:n,rgb16:new Uint16Array(o.buffer,o.byteOffset,r*n*3)}}var a=class extends Error{constructor(r,n){super(`COVERAGE_MISS: frame ${r} not in linked media (${n} frames)`);this.index=r;this.frameCount=n;this.name="CoverageMissError"}},m=/(?:[A-Z0-9]+_)?COVERAGE_MISS\s+(\{[\s\S]*\})/;function u(e){let r=(e instanceof Error?e.message:String(e??"")).match(m);if(!r)return null;try{return JSON.parse(r[1])}catch{return{reason:"coverage_miss"}}}var i=class extends Error{constructor(r){super(`DELIVERY_COVERAGE_MISS: ${r.reason}`+(r.cut_in!=null?` cut [${r.cut_in}..${r.cut_out}] file_frames ${r.file_frames}`:""));this.detail=r;this.name="DeliveryCoverageMissError"}};function l(e){return e instanceof i?e.detail:u(e)}var d={mov:()=>import("./isobmff-SIOE67WL.js").then(e=>e.isobmffFormat),crm:()=>import("./isobmff-SIOE67WL.js").then(e=>e.isobmffFormat),braw:()=>import("./isobmff-SIOE67WL.js").then(e=>e.isobmffFormat),wav:()=>import("./wav-OWMUGQMM.js").then(e=>e.wavFormat),mxf:()=>import("./mxf-74TTDICM.js").then(e=>e.mxfFormat),r3d:()=>import("./r3d-YTLOMC7C.js").then(e=>e.r3dFormat),still:()=>import("./still-ZG2RUQAL.js").then(e=>e.stillFormat),avc1:()=>import("./h264-3ESGVT6G.js").then(e=>e.h264Format),avc3:()=>import("./h264-3ESGVT6G.js").then(e=>e.h264Format),h264:()=>import("./h264-3ESGVT6G.js").then(e=>e.h264Format),hvc1:()=>import("./h264-3ESGVT6G.js").then(e=>e.h264Format),hev1:()=>import("./h264-3ESGVT6G.js").then(e=>e.h264Format),hevc:()=>import("./h264-3ESGVT6G.js").then(e=>e.h264Format),h264_mxf:()=>import("./h264-mxf-NPFS7NGH.js").then(e=>e.h264MxfFormat)};async function c(e){let t=d[e];return t?await t():null}async function f(e){let t=await c(e.format);if(!t)throw new Error(`extract: no handler for format '${e.format}'`);return t.extract(e)}async function b(e,t){let r=await c(e.format);if(!r){if(t.verb==="inspect")return null;throw new Error(`mediaOp: no handler for format '${e.format}' (verb ${t.verb})`)}switch(t.verb){case"inspect":{let n=await r.inspect(e);return n&&(n.source_facts_origin="probed"),n}case"sparsify":return r.sparsify(e,t.selection);case"trim":return r.trim(e,t.selection);case"decode":{let{output:n,detail:o}=s[t.intent];if(n==="rgb16"){if(!r.decode16)throw new Error(`mediaOp: format '${e.format}' has no 16-bit decoder (intent '${t.intent}')`);return r.decode16(e,t.index)}if(!r.decode)throw new Error(`mediaOp: format '${e.format}' has no decoder (no viewer)`);return r.decode(e,t.index,{detail:o})}}}export{s as a,p as b,a as c,u as d,i as e,l as f,c as g,f as h,b as i};
|
package/dist/framing-SRCJKAYO.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
-
import{f as a,g as b,h as c,i as d,j as e,k as f,l as g,m as h,n as i,o as j,p as k,q as l}from"./chunk-OVUCL3YY.js";import"./chunk-BL6L5ZBP.js";import"./chunk-PFISREY4.js";import"./chunk-JV7TZDKJ.js";import"./chunk-3XD6NC4G.js";import"./chunk-PFZVET7S.js";import"./chunk-P7OVDUA5.js";import"./chunk-UCMNH6Q6.js";import"./chunk-5SUGU2YR.js";import"./chunk-NQHQKEP5.js";import"./chunk-6ML26TIK.js";import"./chunk-HGDO3OED.js";import"./chunk-X53BNWNV.js";import"./chunk-DKGGJM6Z.js";import"./chunk-7MC7M2Y5.js";import"./chunk-VS3MKKJ5.js";import"./chunk-XNR7M4VX.js";import"./chunk-NU3X7P4N.js";import"./chunk-C5IX63YF.js";import"./chunk-5RSNFPED.js";import"./chunk-3OCQA33E.js";import"./chunk-PLRB2YXJ.js";import"./chunk-C2ESM27Z.js";import"./chunk-PSANHDZM.js";export{i as ASPECTS,a as INPUT_SCALING,e as SIZING_TARGETS,h as alignText,g as alignTimeline,j as aspectOf,k as blankingQc,l as blankingText,c as inputFitRatio,f as offlineLane,d as resolveProps,b as scalingOf};
|
package/dist/hosts-W4AD2MYH.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
-
import{f as a,g as b,h as c,i as d,j as e}from"./chunk-UKKRZ574.js";import"./chunk-SZD4C5MB.js";import"./chunk-BL6L5ZBP.js";import"./chunk-5JBUCVRI.js";import"./chunk-PFISREY4.js";import"./chunk-TXQR2HI2.js";import"./chunk-JV7TZDKJ.js";import"./chunk-3XD6NC4G.js";import"./chunk-PFZVET7S.js";import"./chunk-P7OVDUA5.js";import"./chunk-UCMNH6Q6.js";import"./chunk-5SUGU2YR.js";import"./chunk-NQHQKEP5.js";import"./chunk-6ML26TIK.js";import"./chunk-HGDO3OED.js";import"./chunk-X53BNWNV.js";import"./chunk-DKGGJM6Z.js";import"./chunk-7MC7M2Y5.js";import"./chunk-VS3MKKJ5.js";import"./chunk-XNR7M4VX.js";import"./chunk-NU3X7P4N.js";import"./chunk-C5IX63YF.js";import"./chunk-5RSNFPED.js";import"./chunk-3OCQA33E.js";import"./chunk-PLRB2YXJ.js";import"./chunk-C2ESM27Z.js";import"./chunk-PSANHDZM.js";export{a as AVID_SETUP,b as FLAME_SETUP,c as NUKE_SETUP,e as adapter,d as setAdapter};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
-
import"./chunk-PSANHDZM.js";function wt(r,n){return new Promise(e=>{r.addEventListener("message",function _({data:i}){i?.type===n&&(r.removeEventListener("message",_),e(i))})})}wt(self,"wasm_bindgen_worker_init").then(async({init:r,receiver:n})=>{let e=await import("./media_core-Q2PIEV7D.js");await e.default(r),postMessage({type:"wasm_bindgen_worker_ready"}),e.wbg_rayon_start_worker(n)});var Tt;async function bt(r,n,e){if(e.numThreads()===0)throw new Error("num_threads must be > 0.");let _={type:"wasm_bindgen_worker_init",init:{module_or_path:r,memory:n},receiver:e.receiver()};Tt=await Promise.all(Array.from({length:e.numThreads()},async()=>{let i=new Worker(new URL("./workerHelpers.js",import.meta.url),{type:"module"});return i.postMessage(_),await wt(i,"wasm_bindgen_worker_ready"),i})),e.build()}var et=class{__destroy_into_raw(){let n=this.__wbg_ptr;return this.__wbg_ptr=0,ft.unregister(this),n}free(){let n=this.__destroy_into_raw();t.__wbg_exrbench_free(n,0)}block_rows(){return t.exrbench_block_rows(this.__wbg_ptr)>>>0}f32_to_half_block(){return t.exrbench_f32_to_half_block(this.__wbg_ptr)}n_blocks(){return t.exrbench_n_blocks(this.__wbg_ptr)>>>0}constructor(n,e,_,i){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=I(i,t.__wbindgen_export4,t.__wbindgen_export5),u=p;t.exrbench_new(s,n,e,_,g,u);var c=o().getInt32(s+0,!0),a=o().getInt32(s+4,!0),d=o().getInt32(s+8,!0);if(d)throw w(a);return this.__wbg_ptr=c,ft.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}piz_stage_block(n){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.exrbench_piz_stage_block(c,this.__wbg_ptr,n);var e=o().getFloat64(c+0,!0),_=o().getInt32(c+8,!0),i=o().getInt32(c+12,!0);if(i)throw w(_);return e}finally{t.__wbindgen_add_to_stack_pointer(16)}}staging_f32_ptr(){return t.exrbench_staging_f32_ptr(this.__wbg_ptr)>>>0}staging_f32_samples(){return t.exrbench_staging_f32_samples(this.__wbg_ptr)>>>0}staging_half_len(){return t.exrbench_staging_half_len(this.__wbg_ptr)>>>0}staging_half_ptr(){return t.exrbench_staging_half_ptr(this.__wbg_ptr)>>>0}zip_stage_block(n){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.exrbench_zip_stage_block(c,this.__wbg_ptr,n);var e=o().getFloat64(c+0,!0),_=o().getInt32(c+8,!0),i=o().getInt32(c+12,!0);if(i)throw w(_);return e}finally{t.__wbindgen_add_to_stack_pointer(16)}}};Symbol.dispose&&(et.prototype[Symbol.dispose]=et.prototype.free);var nt=class{__destroy_into_raw(){let n=this.__wbg_ptr;return this.__wbg_ptr=0,vt.unregister(this),n}free(){let n=this.__destroy_into_raw();t.__wbg_exrstreamencoder_free(n,0)}block_rows(){return t.exrstreamencoder_block_rows(this.__wbg_ptr)>>>0}finish(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_finish(a,this.__wbg_ptr);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}header(){try{let i=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_header(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),e=o().getInt32(i+4,!0),_=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}n_blocks(){return t.exrstreamencoder_n_blocks(this.__wbg_ptr)>>>0}constructor(n,e,_,i,c,a,d,s,g,u){try{let y=t.__wbindgen_add_to_stack_pointer(-16),k=I(_,t.__wbindgen_export4,t.__wbindgen_export5),A=p,F=I(i,t.__wbindgen_export4,t.__wbindgen_export5),z=p,W=I(c,t.__wbindgen_export4,t.__wbindgen_export5),M=p,T=I(a,t.__wbindgen_export4,t.__wbindgen_export5),U=p,O=I(s,t.__wbindgen_export4,t.__wbindgen_export5),q=p;t.exrstreamencoder_new(y,n,e,k,A,F,z,W,M,T,U,d,O,q,g,u);var b=o().getInt32(y+0,!0),x=o().getInt32(y+4,!0),m=o().getInt32(y+8,!0);if(m)throw w(x);return this.__wbg_ptr=b,vt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_block(n){try{let d=t.__wbindgen_add_to_stack_pointer(-16);t.exrstreamencoder_push_block(d,this.__wbg_ptr,n);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}rows_remaining(){return t.exrstreamencoder_rows_remaining(this.__wbg_ptr)>>>0}staging_ptr(){return t.exrstreamencoder_staging_ptr(this.__wbg_ptr)>>>0}staging_samples(){return t.exrstreamencoder_staging_samples(this.__wbg_ptr)>>>0}};Symbol.dispose&&(nt.prototype[Symbol.dispose]=nt.prototype.free);var rt=class{__destroy_into_raw(){let n=this.__wbg_ptr;return this.__wbg_ptr=0,xt.unregister(this),n}free(){let n=this.__destroy_into_raw();t.__wbg_proresbench_free(n,0)}constructor(n,e,_,i){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=I(_,t.__wbindgen_export4,t.__wbindgen_export5),u=p;t.proresbench_new(s,n,e,g,u,i);var c=o().getInt32(s+0,!0),a=o().getInt32(s+4,!0),d=o().getInt32(s+8,!0);if(d)throw w(a);return this.__wbg_ptr=c,xt.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}stage(n){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.proresbench_stage(c,this.__wbg_ptr,n);var e=o().getFloat64(c+0,!0),_=o().getInt32(c+8,!0),i=o().getInt32(c+12,!0);if(i)throw w(_);return e}finally{t.__wbindgen_add_to_stack_pointer(16)}}staging_len(){return t.proresbench_staging_len(this.__wbg_ptr)>>>0}staging_ptr(){return t.proresbench_staging_ptr(this.__wbg_ptr)>>>0}};Symbol.dispose&&(rt.prototype[Symbol.dispose]=rt.prototype.free);var _t=class{__destroy_into_raw(){let n=this.__wbg_ptr;return this.__wbg_ptr=0,yt.unregister(this),n}free(){let n=this.__destroy_into_raw();t.__wbg_proresmovencoder_free(n,0)}add_frame_rgba(n){try{let i=t.__wbindgen_add_to_stack_pointer(-16),c=l(n,t.__wbindgen_export4),a=p;t.proresmovencoder_add_frame_rgba(i,this.__wbg_ptr,c,a);var e=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);if(_)throw w(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}finish(){try{let i=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovencoder_finish(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),e=o().getInt32(i+4,!0),_=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}frame_count(){return t.proresmovencoder_frame_count(this.__wbg_ptr)>>>0}constructor(n,e,_,i){let c=t.proresmovencoder_new(n,e,_,i);return this.__wbg_ptr=c,yt.register(this,this.__wbg_ptr,this),this}set_alpha(n){t.proresmovencoder_set_alpha(this.__wbg_ptr,n)}set_bitrate_mbps(n){t.proresmovencoder_set_bitrate_mbps(this.__wbg_ptr,n)}set_qscale(n){t.proresmovencoder_set_qscale(this.__wbg_ptr,n)}};Symbol.dispose&&(_t.prototype[Symbol.dispose]=_t.prototype.free);var ot=class{__destroy_into_raw(){let n=this.__wbg_ptr;return this.__wbg_ptr=0,It.unregister(this),n}free(){let n=this.__destroy_into_raw();t.__wbg_proresmovwriter_free(n,0)}finish(){try{let i=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_finish(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),e=o().getInt32(i+4,!0),_=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}frame_count(){return t.proresmovwriter_frame_count(this.__wbg_ptr)>>>0}header(){try{let i=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_header(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),e=o().getInt32(i+4,!0),_=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}mdat_box_header(){try{let i=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_mdat_box_header(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),e=o().getInt32(i+4,!0),_=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}mdat_box_offset(){return t.proresmovwriter_mdat_box_offset(this.__wbg_ptr)}constructor(n,e,_,i){let c=t.proresmovwriter_new(n,e,_,i);return this.__wbg_ptr=c,It.register(this,this.__wbg_ptr,this),this}push_frame(){try{let a=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_push_frame(a,this.__wbg_ptr);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_sample(n){try{let i=t.__wbindgen_add_to_stack_pointer(-16),c=l(n,t.__wbindgen_export4),a=p;t.proresmovwriter_push_sample(i,this.__wbg_ptr,c,a);var e=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);if(_)throw w(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}push_sample_len(n){try{let i=t.__wbindgen_add_to_stack_pointer(-16);t.proresmovwriter_push_sample_len(i,this.__wbg_ptr,n);var e=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);if(_)throw w(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}reserve_large_mdat(n){t.proresmovwriter_reserve_large_mdat(this.__wbg_ptr,n)}set_alpha(n){t.proresmovwriter_set_alpha(this.__wbg_ptr,n)}set_bitrate_mbps(n){t.proresmovwriter_set_bitrate_mbps(this.__wbg_ptr,n)}set_par(n,e){t.proresmovwriter_set_par(this.__wbg_ptr,n,e)}set_profile(n){let e=I(n,t.__wbindgen_export4,t.__wbindgen_export5),_=p;t.proresmovwriter_set_profile(this.__wbg_ptr,e,_)}set_qscale(n){t.proresmovwriter_set_qscale(this.__wbg_ptr,n)}set_start_timecode(n,e){t.proresmovwriter_set_start_timecode(this.__wbg_ptr,n,e)}staging_len(){return t.proresmovwriter_staging_len(this.__wbg_ptr)>>>0}staging_ptr(){return t.proresmovwriter_staging_ptr(this.__wbg_ptr)>>>0}total_len(){return t.proresmovwriter_total_len(this.__wbg_ptr)}};Symbol.dispose&&(ot.prototype[Symbol.dispose]=ot.prototype.free);function Nt(r){let n,e;try{let c=t.__wbindgen_add_to_stack_pointer(-16),a=l(r,t.__wbindgen_export4),d=p;t.arriraw12_clip_info(c,a,d);var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0);return n=_,e=i,R(_,i)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(n,e,1)}}function Gt(r,n,e,_){var i=E(_)?0:I(_,t.__wbindgen_export4,t.__wbindgen_export5),c=p;let a=t.arriraw_mxf_gpu_frame(v(r),n,e,i,c);return w(a)}function Xt(r,n,e){let _=t.audio_aac_au(v(r),n,e);return w(_)}function Yt(r,n){let e=t.audio_aac_config(v(r),n);return w(e)}function Jt(r,n){let e=t.audio_info(v(r),n);return w(e)}function Kt(r){let n=it(r,t.__wbindgen_export4),e=p;return t.bench_f32_boundary(n,e)}function Qt(r,n,e,_){let i=it(r,t.__wbindgen_export4),c=p;return t.bench_piz_no_huffman(i,c,n,e,_)}function Zt(r,n){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=I(r,t.__wbindgen_export4,t.__wbindgen_export5),s=p;var e=it(n,t.__wbindgen_export4),_=p;t.color_cst(a,d,s,e,_,v(n));var i=o().getInt32(a+0,!0),c=o().getInt32(a+4,!0);if(c)throw w(i)}finally{t.__wbindgen_add_to_stack_pointer(16)}}function $t(r,n,e){let _=j(r,t.__wbindgen_export4),i=p;return t.dci_code_full_depth(_,i,n,e)}function te(r,n,e){return t.dci_frame_cap(r,n,e)>>>0}function ee(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p,u=I(n,t.__wbindgen_export4,t.__wbindgen_export5),b=p;t.dci_gpu_colour_patch(d,s,g,u,b);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=ut(e,_).slice();return t.__wbindgen_export3(e,_*2,2),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ne(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=I(r,t.__wbindgen_export4,t.__wbindgen_export5),s=p;t.dci_gpu_colour_tables(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function re(){try{let _=t.__wbindgen_add_to_stack_pointer(-16);t.dci_last_pass_caps(_);var r=o().getInt32(_+0,!0),n=o().getInt32(_+4,!0),e=$(r,n).slice();return t.__wbindgen_export3(r,n*4,4),e}finally{t.__wbindgen_add_to_stack_pointer(16)}}function _e(r,n){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.dci_legal_rates(c,r,n);var e=o().getInt32(c+0,!0),_=o().getInt32(c+4,!0),i=$(e,_).slice();return t.__wbindgen_export3(e,_*4,4),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function oe(r){return t.dci_mq_bench(r)>>>0}function ie(r,n,e,_,i,c,a,d,s,g,u){try{let A=t.__wbindgen_add_to_stack_pointer(-16),F=S(r,t.__wbindgen_export4),z=p,W=l(n,t.__wbindgen_export4),M=p,T=S(e,t.__wbindgen_export4),U=p,O=S(_,t.__wbindgen_export4),q=p,P=S(i,t.__wbindgen_export4),B=p,at=S(c,t.__wbindgen_export4),ct=p,dt=S(a,t.__wbindgen_export4),st=p,Wt=S(d,t.__wbindgen_export4),jt=p;t.dci_pack_tier1(A,F,z,W,M,T,U,O,q,P,B,at,ct,dt,st,Wt,jt,s,g,u);var b=o().getInt32(A+0,!0),x=o().getInt32(A+4,!0),m=o().getInt32(A+8,!0),y=o().getInt32(A+12,!0);if(y)throw w(m);var k=f(b,x).slice();return t.__wbindgen_export3(b,x*1,1),k}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ae(r,n){let e=t.dci_stage_rgba8(r,n);return w(e)}function ce(r,n,e){let _=j(r,t.__wbindgen_export4),i=p;return t.dci_transform_only(_,i,n,e)}function de(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p,u=l(n,t.__wbindgen_export4),b=p;t.decode_arriraw12_luma(d,s,g,u,b);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function se(r,n,e,_){let i=I(_,t.__wbindgen_export4,t.__wbindgen_export5),c=p,a=t.decode_arriraw12_mxf(v(r),n,e,i,c);return w(a)}function pe(r,n,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p,b=l(n,t.__wbindgen_export4),x=p;t.decode_arriraw12_preview(s,g,u,b,x,e);var _=o().getInt32(s+0,!0),i=o().getInt32(s+4,!0),c=o().getInt32(s+8,!0),a=o().getInt32(s+12,!0);if(a)throw w(c);var d=f(_,i).slice();return t.__wbindgen_export3(_,i*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ge(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p,u=l(n,t.__wbindgen_export4),b=p;t.decode_arriraw12_rgba(d,s,g,u,b);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ue(r,n,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.decode_arriraw_luma(s,g,u,n,e);var _=o().getInt32(s+0,!0),i=o().getInt32(s+4,!0),c=o().getInt32(s+8,!0),a=o().getInt32(s+12,!0);if(a)throw w(c);var d=f(_,i).slice();return t.__wbindgen_export3(_,i*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function we(r,n,e,_){let i=I(_,t.__wbindgen_export4,t.__wbindgen_export5),c=p,a=t.decode_arriraw_mxf(v(r),n,e,i,c);return w(a)}function be(r,n,e,_){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.decode_arriraw_preview(g,u,b,n,e,_);var i=o().getInt32(g+0,!0),c=o().getInt32(g+4,!0),a=o().getInt32(g+8,!0),d=o().getInt32(g+12,!0);if(d)throw w(a);var s=f(i,c).slice();return t.__wbindgen_export3(i,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function le(r,n,e,_){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.decode_arriraw_preview_gray(g,u,b,n,e,_);var i=o().getInt32(g+0,!0),c=o().getInt32(g+4,!0),a=o().getInt32(g+8,!0),d=o().getInt32(g+12,!0);if(d)throw w(a);var s=f(i,c).slice();return t.__wbindgen_export3(i,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function fe(r,n,e,_,i,c,a,d,s){try{let A=t.__wbindgen_add_to_stack_pointer(-16),F=l(r,t.__wbindgen_export4),z=p;var g=E(s)?0:J(s,t.__wbindgen_export4),u=p;t.decode_arriraw_preview_meta(A,F,z,n,e,_,i,c,a,d,g,u);var b=o().getInt32(A+0,!0),x=o().getInt32(A+4,!0),m=o().getInt32(A+8,!0),y=o().getInt32(A+12,!0);if(y)throw w(m);var k=f(b,x).slice();return t.__wbindgen_export3(b,x*1,1),k}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ve(r,n,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.decode_arriraw_rgba(s,g,u,n,e);var _=o().getInt32(s+0,!0),i=o().getInt32(s+4,!0),c=o().getInt32(s+8,!0),a=o().getInt32(s+12,!0);if(a)throw w(c);var d=f(_,i).slice();return t.__wbindgen_export3(_,i*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function xe(r,n,e,_,i,c,a,d){try{let k=t.__wbindgen_add_to_stack_pointer(-16),A=l(r,t.__wbindgen_export4),F=p;var s=E(d)?0:J(d,t.__wbindgen_export4),g=p;t.decode_arriraw_rgba_meta(k,A,F,n,e,_,i,c,a,s,g);var u=o().getInt32(k+0,!0),b=o().getInt32(k+4,!0),x=o().getInt32(k+8,!0),m=o().getInt32(k+12,!0);if(m)throw w(x);var y=f(u,b).slice();return t.__wbindgen_export3(u,b*1,1),y}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ye(r,n,e,_){let i=t.decode_audio_pcm(v(r),n,e,_);return w(i)}function Ie(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),c=l(r,t.__wbindgen_export4),a=p;t.decode_braw_gen5log(i,c,a);var n=o().getInt32(i+0,!0),e=o().getInt32(i+4,!0),_=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function me(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_braw_luma(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function he(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_braw_preview(d,s,g,n);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ke(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_braw_rgba(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ae(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_cr3_rgba(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Fe(r,n,e,_){let i=I(_,t.__wbindgen_export4,t.__wbindgen_export5),c=p,a=t.decode_crm(v(r),n,e,i,c);return w(a)}function Me(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_dng_preview(d,s,g,n);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Re(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_dng_rgba(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ze(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_dpx_preview(d,s,g,n);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function We(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_dpx_rgba(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function je(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_exr_linear(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Te(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_exr_preview(d,s,g,n);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Se(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_exr_rgba(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ue(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_jpeg_rgba(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Oe(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_png_rgba(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Le(r,n,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.decode_prores_band_rgba(s,g,u,n,e);var _=o().getInt32(s+0,!0),i=o().getInt32(s+4,!0),c=o().getInt32(s+8,!0),a=o().getInt32(s+12,!0);if(a)throw w(c);var d=f(_,i).slice();return t.__wbindgen_export3(_,i*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function qe(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_luma(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ee(r,n,e,_){let i=I(_,t.__wbindgen_export4,t.__wbindgen_export5),c=p,a=t.decode_prores_mxf(v(r),n,e,i,c);return w(a)}function De(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_prores_preview(d,s,g,n);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Pe(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_raw_acescct(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Be(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_raw_luma(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ce(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_prores_raw_preview(d,s,g,n);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ve(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_raw_rec2020(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function He(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_raw_rgba(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ne(r,n,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p,b=I(n,t.__wbindgen_export4,t.__wbindgen_export5),x=p,m=l(e,t.__wbindgen_export4),y=p;t.decode_prores_raw_tier(s,g,u,b,x,m,y);var _=o().getInt32(s+0,!0),i=o().getInt32(s+4,!0),c=o().getInt32(s+8,!0),a=o().getInt32(s+12,!0);if(a)throw w(c);var d=f(_,i).slice();return t.__wbindgen_export3(_,i*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ge(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_rgb16(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Xe(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_rgba(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ye(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_prores_thumb_dc32(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Je(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_r3d_luma(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ke(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_r3d_preview(d,s,g,n);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Qe(r,n,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p,b=l(n,t.__wbindgen_export4),x=p;t.decode_r3d_preview_clip(s,g,u,b,x,e);var _=o().getInt32(s+0,!0),i=o().getInt32(s+4,!0),c=o().getInt32(s+8,!0),a=o().getInt32(s+12,!0);if(a)throw w(c);var d=f(_,i).slice();return t.__wbindgen_export3(_,i*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Ze(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_r3d_rgb16(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function $e(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_r3d_rgba(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function tn(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p,u=l(n,t.__wbindgen_export4),b=p;t.decode_r3d_rgba_clip(d,s,g,u,b);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function en(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_tiff_preview(d,s,g,n);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function nn(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_tiff_rgba(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function rn(r,n,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.decode_vc3_band_rgba(s,g,u,n,e);var _=o().getInt32(s+0,!0),i=o().getInt32(s+4,!0),c=o().getInt32(s+8,!0),a=o().getInt32(s+12,!0);if(a)throw w(c);var d=f(_,i).slice();return t.__wbindgen_export3(_,i*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function _n(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_vc3_luma(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function on(r,n,e,_){let i=I(_,t.__wbindgen_export4,t.__wbindgen_export5),c=p,a=t.decode_vc3_mxf(v(r),n,e,i,c);return w(a)}function an(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_vc3_preview(d,s,g,n);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function cn(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_vc3_rgba(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function dn(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),c=l(r,t.__wbindgen_export4),a=p;t.decode_xocn_index_luma(i,c,a);var n=o().getInt32(i+0,!0),e=o().getInt32(i+4,!0),_=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function sn(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_xocn_luma(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function pn(r,n,e,_){let i=I(_,t.__wbindgen_export4,t.__wbindgen_export5),c=p,a=t.decode_xocn_mxf(v(r),n,e,i,c);return w(a)}function gn(r,n){try{let d=t.__wbindgen_add_to_stack_pointer(-16),s=l(r,t.__wbindgen_export4),g=p;t.decode_xocn_preview(d,s,g,n);var e=o().getInt32(d+0,!0),_=o().getInt32(d+4,!0),i=o().getInt32(d+8,!0),c=o().getInt32(d+12,!0);if(c)throw w(i);var a=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}function un(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_xocn_preview_rec709(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function wn(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),c=l(r,t.__wbindgen_export4),a=p;t.decode_xocn_rgb16(i,c,a);var n=o().getInt32(i+0,!0),e=o().getInt32(i+4,!0),_=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function bn(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.decode_xocn_rgba(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function ln(r,n,e,_){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=j(r,t.__wbindgen_export4),b=p;t.encode_dci_j2c(g,u,b,n,e,_);var i=o().getInt32(g+0,!0),c=o().getInt32(g+4,!0),a=o().getInt32(g+8,!0),d=o().getInt32(g+12,!0);if(d)throw w(a);var s=f(i,c).slice();return t.__wbindgen_export3(i,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function fn(r,n,e,_,i,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=j(r,t.__wbindgen_export4),m=p,y=I(e,t.__wbindgen_export4,t.__wbindgen_export5),k=p;t.encode_dci_j2c_rgb(b,x,m,n,y,k,_,i,c);var a=o().getInt32(b+0,!0),d=o().getInt32(b+4,!0),s=o().getInt32(b+8,!0),g=o().getInt32(b+12,!0);if(g)throw w(s);var u=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function vn(r,n,e,_,i){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p,m=I(n,t.__wbindgen_export4,t.__wbindgen_export5),y=p;t.encode_dci_j2c_rgba8(u,b,x,m,y,e,_,i);var c=o().getInt32(u+0,!0),a=o().getInt32(u+4,!0),d=o().getInt32(u+8,!0),s=o().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,a).slice();return t.__wbindgen_export3(c,a*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function xn(r,n,e,_,i){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=I(_,t.__wbindgen_export4,t.__wbindgen_export5),x=p;t.encode_dci_j2c_staged(u,r,n,e,b,x,i);var c=o().getInt32(u+0,!0),a=o().getInt32(u+4,!0),d=o().getInt32(u+8,!0),s=o().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,a).slice();return t.__wbindgen_export3(c,a*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function yn(r,n,e,_,i){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=I(_,t.__wbindgen_export4,t.__wbindgen_export5),x=p;t.encode_dci_j2c_staged_modelled(u,r,n,e,b,x,i);var c=o().getInt32(u+0,!0),a=o().getInt32(u+4,!0),d=o().getInt32(u+8,!0),s=o().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,a).slice();return t.__wbindgen_export3(c,a*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function In(r,n,e,_,i,c,a,d,s,g,u,b,x,m,y){try{let M=t.__wbindgen_add_to_stack_pointer(-16),T=it(r,t.__wbindgen_export4),U=p,O=I(i,t.__wbindgen_export4,t.__wbindgen_export5),q=p,P=I(c,t.__wbindgen_export4,t.__wbindgen_export5),B=p,at=I(a,t.__wbindgen_export4,t.__wbindgen_export5),ct=p,dt=I(x,t.__wbindgen_export4,t.__wbindgen_export5),st=p;t.encode_exr(M,T,U,n,e,_,O,q,P,B,at,ct,d,s,g,u,b,dt,st,m,y);var k=o().getInt32(M+0,!0),A=o().getInt32(M+4,!0),F=o().getInt32(M+8,!0),z=o().getInt32(M+12,!0);if(z)throw w(F);var W=f(k,A).slice();return t.__wbindgen_export3(k,A*1,1),W}finally{t.__wbindgen_add_to_stack_pointer(16)}}function mn(r,n,e,_,i){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p;t.encode_prores_4444_alpha_mov_rgba(u,b,x,n,e,_,i);var c=o().getInt32(u+0,!0),a=o().getInt32(u+4,!0),d=o().getInt32(u+8,!0),s=o().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,a).slice();return t.__wbindgen_export3(c,a*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function hn(r,n,e,_){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.encode_prores_4444_alpha_sample_q(g,u,b,n,e,_);var i=o().getInt32(g+0,!0),c=o().getInt32(g+4,!0),a=o().getInt32(g+8,!0),d=o().getInt32(g+12,!0);if(d)throw w(a);var s=f(i,c).slice();return t.__wbindgen_export3(i,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function kn(r,n,e,_){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.encode_prores_444_sample_cbr(g,u,b,n,e,_);var i=o().getInt32(g+0,!0),c=o().getInt32(g+4,!0),a=o().getInt32(g+8,!0),d=o().getInt32(g+12,!0);if(d)throw w(a);var s=f(i,c).slice();return t.__wbindgen_export3(i,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function An(r,n,e,_){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=j(r,t.__wbindgen_export4),b=p;t.encode_prores_444_sample_cbr_rgb16(g,u,b,n,e,_);var i=o().getInt32(g+0,!0),c=o().getInt32(g+4,!0),a=o().getInt32(g+8,!0),d=o().getInt32(g+12,!0);if(d)throw w(a);var s=f(i,c).slice();return t.__wbindgen_export3(i,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Fn(r,n,e,_,i){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=j(r,t.__wbindgen_export4),x=p,m=j(i,t.__wbindgen_export4),y=p;t.encode_prores_444_sample_cbr_rgb16_lut(u,b,x,n,e,_,m,y);var c=o().getInt32(u+0,!0),a=o().getInt32(u+4,!0),d=o().getInt32(u+8,!0),s=o().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,a).slice();return t.__wbindgen_export3(c,a*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Mn(r,n,e,_,i){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p;t.encode_prores_mov_rgba(u,b,x,n,e,_,i);var c=o().getInt32(u+0,!0),a=o().getInt32(u+4,!0),d=o().getInt32(u+8,!0),s=o().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,a).slice();return t.__wbindgen_export3(c,a*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Rn(r,n,e){try{let s=t.__wbindgen_add_to_stack_pointer(-16),g=l(r,t.__wbindgen_export4),u=p;t.encode_prores_rgba(s,g,u,n,e);var _=o().getInt32(s+0,!0),i=o().getInt32(s+4,!0),c=o().getInt32(s+8,!0),a=o().getInt32(s+12,!0);if(a)throw w(c);var d=f(_,i).slice();return t.__wbindgen_export3(_,i*1,1),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}function zn(r,n,e,_){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.encode_prores_sample_cbr(g,u,b,n,e,_);var i=o().getInt32(g+0,!0),c=o().getInt32(g+4,!0),a=o().getInt32(g+8,!0),d=o().getInt32(g+12,!0);if(d)throw w(a);var s=f(i,c).slice();return t.__wbindgen_export3(i,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Wn(r,n,e,_){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=j(r,t.__wbindgen_export4),b=p;t.encode_prores_sample_cbr_rgb16(g,u,b,n,e,_);var i=o().getInt32(g+0,!0),c=o().getInt32(g+4,!0),a=o().getInt32(g+8,!0),d=o().getInt32(g+12,!0);if(d)throw w(a);var s=f(i,c).slice();return t.__wbindgen_export3(i,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function jn(r,n,e,_,i){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=j(r,t.__wbindgen_export4),x=p,m=j(i,t.__wbindgen_export4),y=p;t.encode_prores_sample_cbr_rgb16_lut(u,b,x,n,e,_,m,y);var c=o().getInt32(u+0,!0),a=o().getInt32(u+4,!0),d=o().getInt32(u+8,!0),s=o().getInt32(u+12,!0);if(s)throw w(d);var g=f(c,a).slice();return t.__wbindgen_export3(c,a*1,1),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Tn(r,n,e,_){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.encode_prores_sample_q(g,u,b,n,e,_);var i=o().getInt32(g+0,!0),c=o().getInt32(g+4,!0),a=o().getInt32(g+8,!0),d=o().getInt32(g+12,!0);if(d)throw w(a);var s=f(i,c).slice();return t.__wbindgen_export3(i,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Sn(r,n,e,_){let i,c;try{let x=t.__wbindgen_add_to_stack_pointer(-16),m=I(r,t.__wbindgen_export4,t.__wbindgen_export5),y=p;t.exr_sequence_filename(x,m,y,n,e,_);var a=o().getInt32(x+0,!0),d=o().getInt32(x+4,!0),s=o().getInt32(x+8,!0),g=o().getInt32(x+12,!0),u=a,b=d;if(g)throw u=0,b=0,w(s);return i=u,c=b,R(u,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(i,c,1)}}function Un(r,n,e,_,i,c,a,d){let s,g;try{let A=t.__wbindgen_add_to_stack_pointer(-16),F=l(r,t.__wbindgen_export4),z=p,W=l(_,t.__wbindgen_export4),M=p,T=I(d,t.__wbindgen_export4,t.__wbindgen_export5),U=p;t.fit_sizing(A,F,z,n,e,W,M,i,c,a,T,U);var u=o().getInt32(A+0,!0),b=o().getInt32(A+4,!0),x=o().getInt32(A+8,!0),m=o().getInt32(A+12,!0),y=u,k=b;if(m)throw y=0,k=0,w(x);return s=y,g=k,R(y,k)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(s,g,1)}}function On(r){let n=t.initThreadPool(r);return w(n)}function Ln(r){let n,e;try{let c=t.__wbindgen_add_to_stack_pointer(-16),a=l(r,t.__wbindgen_export4),d=p;t.inspect_cr3(c,a,d);var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0);return n=_,e=i,R(_,i)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(n,e,1)}}function qn(r){let n,e;try{let c=t.__wbindgen_add_to_stack_pointer(-16),a=l(r,t.__wbindgen_export4),d=p;t.inspect_dng(c,a,d);var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0);return n=_,e=i,R(_,i)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(n,e,1)}}function En(r){let n,e;try{let c=t.__wbindgen_add_to_stack_pointer(-16),a=l(r,t.__wbindgen_export4),d=p;t.inspect_dpx(c,a,d);var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0);return n=_,e=i,R(_,i)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(n,e,1)}}function Dn(r){let n,e;try{let c=t.__wbindgen_add_to_stack_pointer(-16),a=l(r,t.__wbindgen_export4),d=p;t.inspect_exr(c,a,d);var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0);return n=_,e=i,R(_,i)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(n,e,1)}}function Pn(r,n,e){let _=I(e,t.__wbindgen_export4,t.__wbindgen_export5),i=p,c=t.inspect_isobmff(v(r),n,_,i);return w(c)}function Bn(r){let n,e;try{let c=t.__wbindgen_add_to_stack_pointer(-16),a=l(r,t.__wbindgen_export4),d=p;t.inspect_tiff(c,a,d);var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0);return n=_,e=i,R(_,i)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(n,e,1)}}function Cn(r,n){let e=t.inspect_wav(v(r),n);return w(e)}function Vn(r,n){let e=t.is_arriraw12_mxf(v(r),n);return w(e)}function Hn(r,n){let e=t.is_arriraw_mxf(v(r),n);return w(e)}function Nn(r,n){let e=t.is_crm(v(r),n);return w(e)}function Gn(r,n){let e=t.is_prores_mxf(v(r),n);return w(e)}function Xn(r,n){let e=t.is_vc3_mxf(v(r),n);return w(e)}function Yn(r,n){let e=t.is_xavc_mxf(v(r),n);return w(e)}function Jn(r,n){let e=t.is_xocn_mxf(v(r),n);return w(e)}function Kn(r,n,e){let _=I(e,t.__wbindgen_export4,t.__wbindgen_export5),i=p,c=t.list_isobmff_segments(v(r),n,_,i);return w(c)}function Qn(r,n){let e=t.list_mxf_segments(v(r),n);return w(e)}function Zn(r,n){let e=I(n,t.__wbindgen_export4,t.__wbindgen_export5),_=p,i=t.list_r3d_frames(v(r),e,_);return w(i)}function $n(r,n){let e=I(n,t.__wbindgen_export4,t.__wbindgen_export5),_=p,i=t.list_r3d_segments(v(r),e,_);return w(i)}function tr(r,n){let e=t.list_wav_segments(v(r),n);return w(e)}function er(r,n,e,_,i,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=l(r,t.__wbindgen_export4),m=p,y=S(n,t.__wbindgen_export4),k=p;t.mux_prores_4444_alpha_samples(b,x,m,y,k,e,_,i,c);var a=o().getInt32(b+0,!0),d=o().getInt32(b+4,!0),s=o().getInt32(b+8,!0),g=o().getInt32(b+12,!0);if(g)throw w(s);var u=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function nr(r,n,e,_,i,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=l(r,t.__wbindgen_export4),m=p,y=S(n,t.__wbindgen_export4),k=p;t.mux_prores_samples(b,x,m,y,k,e,_,i,c);var a=o().getInt32(b+0,!0),d=o().getInt32(b+4,!0),s=o().getInt32(b+8,!0),g=o().getInt32(b+12,!0);if(g)throw w(s);var u=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function rr(r,n,e,_,i,c,a,d,s,g,u,b){try{let F=t.__wbindgen_add_to_stack_pointer(-16),z=l(r,t.__wbindgen_export4),W=p,M=S(n,t.__wbindgen_export4),T=p,U=I(a,t.__wbindgen_export4,t.__wbindgen_export5),O=p;t.mux_prores_samples_full(F,z,W,M,T,e,_,i,c,U,O,d,s,g,u,b);var x=o().getInt32(F+0,!0),m=o().getInt32(F+4,!0),y=o().getInt32(F+8,!0),k=o().getInt32(F+12,!0);if(k)throw w(y);var A=f(x,m).slice();return t.__wbindgen_export3(x,m*1,1),A}finally{t.__wbindgen_add_to_stack_pointer(16)}}function _r(r,n,e,_){let i=t.mxf_au_run(v(r),n,e,_);return w(i)}function or(r,n){let e=t.mxf_frame_index(v(r),n);return w(e)}function ir(r,n){let e=t.mxf_gop_map(v(r),n);return w(e)}function ar(r,n){let e=t.mxf_h264_kind(v(r),n);return w(e)}function cr(r,n){let e,_;try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p,m=I(n,t.__wbindgen_export4,t.__wbindgen_export5),y=p;t.plan_isobmff_trim(u,b,x,m,y);var i=o().getInt32(u+0,!0),c=o().getInt32(u+4,!0),a=o().getInt32(u+8,!0),d=o().getInt32(u+12,!0),s=i,g=c;if(d)throw s=0,g=0,w(a);return e=s,_=g,R(s,g)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(e,_,1)}}function dr(r,n,e,_,i){let c=I(i,t.__wbindgen_export4,t.__wbindgen_export5),a=p,d=t.plan_isobmff_trim_reader(v(r),n,e,_,c,a);return w(d)}function sr(r){let n,e;try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=I(r,t.__wbindgen_export4,t.__wbindgen_export5),b=p;t.plan_mxf_compact_trim(g,u,b);var _=o().getInt32(g+0,!0),i=o().getInt32(g+4,!0),c=o().getInt32(g+8,!0),a=o().getInt32(g+12,!0),d=_,s=i;if(a)throw d=0,s=0,w(c);return n=d,e=s,R(d,s)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(n,e,1)}}function pr(r,n,e,_){let i=t.plan_mxf_trim(v(r),n,e,_);return w(i)}function gr(r,n,e,_,i,c,a,d){let s,g;try{let x=t.__wbindgen_add_to_stack_pointer(-16),m=l(r,t.__wbindgen_export4),y=p,k=l(n,t.__wbindgen_export4),A=p,F=l(e,t.__wbindgen_export4),z=p,W=l(_,t.__wbindgen_export4),M=p,T=J(i,t.__wbindgen_export4),U=p,O=J(c,t.__wbindgen_export4),q=p,P=J(a,t.__wbindgen_export4),B=p;t.plan_r3d_compact(x,m,y,k,A,F,z,W,M,T,U,O,q,P,B,d);var u=o().getInt32(x+0,!0),b=o().getInt32(x+4,!0);return s=u,g=b,R(u,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(s,g,1)}}function ur(r,n,e,_){let i,c;try{let x=t.__wbindgen_add_to_stack_pointer(-16),m=l(r,t.__wbindgen_export4),y=p;t.plan_wav_trim(x,m,y,n,e,_);var a=o().getInt32(x+0,!0),d=o().getInt32(x+4,!0),s=o().getInt32(x+8,!0),g=o().getInt32(x+12,!0),u=a,b=d;if(g)throw u=0,b=0,w(s);return i=u,c=b,R(u,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(i,c,1)}}function wr(r,n,e,_,i){let c=t.plan_wav_trim_reader(v(r),n,e,_,i);return w(c)}function br(r,n,e,_){let i=I(e,t.__wbindgen_export4,t.__wbindgen_export5),c=p,a=I(_,t.__wbindgen_export4,t.__wbindgen_export5),d=p,s=t.prepare_isobmff(v(r),n,i,c,a,d);return w(s)}function lr(r,n,e){let _=I(e,t.__wbindgen_export4,t.__wbindgen_export5),i=p,c=t.prepare_mxf(v(r),n,_,i);return w(c)}function fr(r,n,e){let _=I(n,t.__wbindgen_export4,t.__wbindgen_export5),i=p,c=I(e,t.__wbindgen_export4,t.__wbindgen_export5),a=p,d=t.prepare_r3d(v(r),_,i,c,a);return w(d)}function vr(r,n,e,_){let i=I(e,t.__wbindgen_export4,t.__wbindgen_export5),c=p,a=t.prepare_wav(v(r),n,i,c,_);return w(a)}function xr(r){let n,e;try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.probe_mov(g,u,b);var _=o().getInt32(g+0,!0),i=o().getInt32(g+4,!0),c=o().getInt32(g+8,!0),a=o().getInt32(g+12,!0),d=_,s=i;if(a)throw d=0,s=0,w(c);return n=d,e=s,R(d,s)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(n,e,1)}}function yr(r,n){let e=t.probe_mxf(v(r),n);return w(e)}function Ir(r,n){let e=I(n,t.__wbindgen_export4,t.__wbindgen_export5),_=p,i=t.probe_r3d(v(r),e,_);return w(i)}function mr(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.prores_band_info(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=$(n,e).slice();return t.__wbindgen_export3(n,e*4,4),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function hr(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),c=l(r,t.__wbindgen_export4),a=p;t.prores_raw_container_color(i,c,a);var n=o().getInt32(i+0,!0),e=o().getInt32(i+4,!0),_=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function kr(){t.prores_reset_rate_control()}function Ar(r){try{let i=t.__wbindgen_add_to_stack_pointer(-16),c=l(r,t.__wbindgen_export4),a=p;t.r3d_gpu_develop_params(i,c,a);var n=o().getInt32(i+0,!0),e=o().getInt32(i+4,!0),_=f(n,e).slice();return t.__wbindgen_export3(n,e*1,1),_}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Fr(r,n,e){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.r3d_index_ranges(a,d,s,n,e);var _=o().getInt32(a+0,!0),i=o().getInt32(a+4,!0),c=$(_,i).slice();return t.__wbindgen_export3(_,i*4,4),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Mr(r){let n=l(r,t.__wbindgen_export4),e=p;return t.r3d_is_helium(n,e)!==0}function Rr(r){let n,e;try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.read_arriraw_fcs(g,u,b);var _=o().getInt32(g+0,!0),i=o().getInt32(g+4,!0),c=o().getInt32(g+8,!0),a=o().getInt32(g+12,!0),d=_,s=i;if(a)throw d=0,s=0,w(c);return n=d,e=s,R(d,s)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(n,e,1)}}function zr(r,n){try{let c=t.__wbindgen_add_to_stack_pointer(-16),a=l(r,t.__wbindgen_export4),d=p;t.read_arriraw_unit_correction(c,a,d,n);var e=o().getInt32(c+0,!0),_=o().getInt32(c+4,!0),i=qt(e,_).slice();return t.__wbindgen_export3(e,_*8,8),i}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Wr(r,n,e,_,i,c,a){let d,s;try{let k=t.__wbindgen_add_to_stack_pointer(-16),A=l(r,t.__wbindgen_export4),F=p,z=l(_,t.__wbindgen_export4),W=p,M=I(a,t.__wbindgen_export4,t.__wbindgen_export5),T=p;t.recover_reframe(k,A,F,n,e,z,W,i,c,M,T);var g=o().getInt32(k+0,!0),u=o().getInt32(k+4,!0),b=o().getInt32(k+8,!0),x=o().getInt32(k+12,!0),m=g,y=u;if(x)throw m=0,y=0,w(b);return d=m,s=y,R(m,y)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(d,s,1)}}function jr(r,n,e,_,i,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=j(r,t.__wbindgen_export4),m=p,y=I(c,t.__wbindgen_export4,t.__wbindgen_export5),k=p;t.resample_rgba16(b,x,m,n,e,_,i,y,k);var a=o().getInt32(b+0,!0),d=o().getInt32(b+4,!0),s=o().getInt32(b+8,!0),g=o().getInt32(b+12,!0);if(g)throw w(s);var u=ut(a,d).slice();return t.__wbindgen_export3(a,d*2,2),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Tr(r,n,e,_,i,c){try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=l(r,t.__wbindgen_export4),m=p,y=I(c,t.__wbindgen_export4,t.__wbindgen_export5),k=p;t.resample_rgba8(b,x,m,n,e,_,i,y,k);var a=o().getInt32(b+0,!0),d=o().getInt32(b+4,!0),s=o().getInt32(b+8,!0),g=o().getInt32(b+12,!0);if(g)throw w(s);var u=f(a,d).slice();return t.__wbindgen_export3(a,d*1,1),u}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Sr(){t.reset_dci_rate_state()}function Ur(r,n,e,_){try{let g=t.__wbindgen_add_to_stack_pointer(-16),u=l(r,t.__wbindgen_export4),b=p;t.resize_luma_area(g,u,b,n,e,_);var i=o().getInt32(g+0,!0),c=o().getInt32(g+4,!0),a=o().getInt32(g+8,!0),d=o().getInt32(g+12,!0);if(d)throw w(a);var s=f(i,c).slice();return t.__wbindgen_export3(i,c*1,1),s}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Or(r,n,e,_,i){try{let u=t.__wbindgen_add_to_stack_pointer(-16),b=l(r,t.__wbindgen_export4),x=p,m=I(i,t.__wbindgen_export4,t.__wbindgen_export5),y=p;t.rgba8_to_xyz12(u,b,x,n,e,_,m,y);var c=o().getInt32(u+0,!0),a=o().getInt32(u+4,!0),d=o().getInt32(u+8,!0),s=o().getInt32(u+12,!0);if(s)throw w(d);var g=ut(c,a).slice();return t.__wbindgen_export3(c,a*2,2),g}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Lr(r,n,e,_){let i,c;try{let x=t.__wbindgen_add_to_stack_pointer(-16),m=j(r,t.__wbindgen_export4),y=p,k=l(n,t.__wbindgen_export4),A=p,F=S(e,t.__wbindgen_export4),z=p,W=I(_,t.__wbindgen_export4,t.__wbindgen_export5),M=p;t.shot_crop(x,m,y,k,A,F,z,W,M);var a=o().getInt32(x+0,!0),d=o().getInt32(x+4,!0),s=o().getInt32(x+8,!0),g=o().getInt32(x+12,!0),u=a,b=d;if(g)throw u=0,b=0,w(s);return i=u,c=b,R(u,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(i,c,1)}}function qr(r,n,e){let _,i;try{let b=t.__wbindgen_add_to_stack_pointer(-16),x=j(r,t.__wbindgen_export4),m=p,y=l(n,t.__wbindgen_export4),k=p,A=I(e,t.__wbindgen_export4,t.__wbindgen_export5),F=p;t.shot_ramp(b,x,m,y,k,A,F);var c=o().getInt32(b+0,!0),a=o().getInt32(b+4,!0),d=o().getInt32(b+8,!0),s=o().getInt32(b+12,!0),g=c,u=a;if(s)throw g=0,u=0,w(d);return _=g,i=u,R(g,u)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(_,i,1)}}function Er(r,n,e,_){let i,c;try{let x=t.__wbindgen_add_to_stack_pointer(-16),m=j(r,t.__wbindgen_export4),y=p,k=l(n,t.__wbindgen_export4),A=p,F=S(e,t.__wbindgen_export4),z=p,W=I(_,t.__wbindgen_export4,t.__wbindgen_export5),M=p;t.shot_scan(x,m,y,k,A,F,z,W,M);var a=o().getInt32(x+0,!0),d=o().getInt32(x+4,!0),s=o().getInt32(x+8,!0),g=o().getInt32(x+12,!0),u=a,b=d;if(g)throw u=0,b=0,w(s);return i=u,c=b,R(u,b)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export3(i,c,1)}}function Dr(r,n,e,_){let i=I(n,t.__wbindgen_export4,t.__wbindgen_export5),c=p,a=I(e,t.__wbindgen_export4,t.__wbindgen_export5),d=p,s=I(_,t.__wbindgen_export4,t.__wbindgen_export5),g=p,u=t.trim_r3d(v(r),i,c,a,d,s,g);return w(u)}function Pr(r){try{let a=t.__wbindgen_add_to_stack_pointer(-16),d=l(r,t.__wbindgen_export4),s=p;t.vc3_band_info(a,d,s);var n=o().getInt32(a+0,!0),e=o().getInt32(a+4,!0),_=o().getInt32(a+8,!0),i=o().getInt32(a+12,!0);if(i)throw w(_);var c=$(n,e).slice();return t.__wbindgen_export3(n,e*4,4),c}finally{t.__wbindgen_add_to_stack_pointer(16)}}function Br(r,n,e){let _=I(e,t.__wbindgen_export4,t.__wbindgen_export5),i=p,c=t.video_frame_index_isobmff_reader(v(r),n,_,i);return w(c)}var Z=class r{static __wrap(n){let e=Object.create(r.prototype);return e.__wbg_ptr=n,mt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){let n=this.__wbg_ptr;return this.__wbg_ptr=0,mt.unregister(this),n}free(){let n=this.__destroy_into_raw();t.__wbg_wbg_rayon_poolbuilder_free(n,0)}build(){t.wbg_rayon_poolbuilder_build(this.__wbg_ptr)}numThreads(){return t.wbg_rayon_poolbuilder_numThreads(this.__wbg_ptr)>>>0}receiver(){return t.wbg_rayon_poolbuilder_receiver(this.__wbg_ptr)>>>0}};Symbol.dispose&&(Z.prototype[Symbol.dispose]=Z.prototype.free);function Cr(r){t.wbg_rayon_start_worker(r)}function Vr(r,n,e){let _=t.xavc_au(v(r),n,e);return w(_)}function Hr(r,n){let e=t.xavc_frame_count(v(r),n);return w(e)}function Nr(r,n){let e=t.xocn_frame_count(v(r),n);return w(e)}function Gr(r){let n=l(r,t.__wbindgen_export4),e=p;return t.xocn_index_prefix_len(n,e)>>>0}function Xr(r){let n=l(r,t.__wbindgen_export4),e=p;return t.xocn_preview_prefix_len(n,e)>>>0}function kt(r){return{__proto__:null,"./media_core_bg.js":{__proto__:null,__wbg___wbindgen_copy_to_typed_array_c5728021fabd0236:function(e,_,i){new Uint8Array(h(i).buffer,h(i).byteOffset,h(i).byteLength).set(f(e,_))},__wbg___wbindgen_is_function_acc5528be2b923f2:function(e){return typeof h(e)=="function"},__wbg___wbindgen_is_undefined_721f8decd50c87a3:function(e){return h(e)===void 0},__wbg___wbindgen_memory_9751d9a3017e7c25:function(){let e=t.memory;return v(e)},__wbg___wbindgen_module_f86f28f0f85995dd:function(){return v(Rt)},__wbg___wbindgen_rethrow_858623e73c3311dc:function(e){throw w(e)},__wbg___wbindgen_throw_ea4887a5f8f9a9db:function(e,_){throw new Error(R(e,_))},__wbg__wbg_cb_unref_33c39e13d73b25f6:function(e){h(e)._wbg_cb_unref()},__wbg_async_4ec36f08efecafdc:function(e){return h(e).async},__wbg_buffer_49b4f592d8036785:function(e){let _=h(e).buffer;return v(_)},__wbg_call_0e855b388e315e17:function(){return tt(function(e,_,i,c){let a=h(e).call(h(_),h(i),h(c));return v(a)},arguments)},__wbg_call_5575218572ead796:function(){return tt(function(e,_,i){let c=h(e).call(h(_),h(i));return v(c)},arguments)},__wbg_call_dd0f909cbc9405d0:function(){return tt(function(e,_,i,c,a){let d=h(e).call(h(_),h(i),h(c),h(a));return v(d)},arguments)},__wbg_data_23c14f7d1102d077:function(e){let _=h(e).data;return v(_)},__wbg_instanceof_Window_0d356b88a2f77c42:function(e){let _;try{_=h(e)instanceof Window}catch{_=!1}return _},__wbg_length_589238bdcf171f0e:function(e){return h(e).length},__wbg_new_476e05fb84d8e4f3:function(e){let _=new Int32Array(h(e));return v(_)},__wbg_new_81880fb5002cb255:function(e){let _=new Uint8Array(h(e));return v(_)},__wbg_new_f85beb941dc6d8aa:function(e,_){try{var i={a:e,b:_},c=(d,s)=>{let g=i.a;i.a=0;try{return lt(g,i.b,d,s)}finally{i.a=g}};let a=new Promise(c);return v(a)}finally{i.a=0}},__wbg_new_typed_00a409eb4ec4f2d9:function(e,_){try{var i={a:e,b:_},c=(d,s)=>{let g=i.a;i.a=0;try{return lt(g,i.b,d,s)}finally{i.a=g}};let a=new Promise(c);return v(a)}finally{i.a=0}},__wbg_new_worker_e68fc8188cc230b5:function(e,_){let i=new Worker(R(e,_));return v(i)},__wbg_of_8737c43050b5546e:function(e,_,i){let c=Array.of(h(e),h(_),h(i));return v(c)},__wbg_postMessage_0162be6e48cf631e:function(){return tt(function(e,_){h(e).postMessage(h(_))},arguments)},__wbg_prototypesetcall_d721637c7ca66eb8:function(e,_,i){Uint8Array.prototype.set.call(f(e,_),h(i))},__wbg_queueMicrotask_1c9b3800e321a967:function(e){let _=h(e).queueMicrotask;return v(_)},__wbg_queueMicrotask_311744e534a929a3:function(e){queueMicrotask(h(e))},__wbg_resolve_d82363d90af6928a:function(e){let _=Promise.resolve(h(e));return v(_)},__wbg_set_onmessage_d05709471e546dca:function(e,_){h(e).onmessage=h(_)},__wbg_startWorkers_8b582d57e92bd2d4:function(e,_,i){let c=bt(w(e),w(_),Z.__wrap(i));return v(c)},__wbg_static_accessor_GLOBAL_THIS_2fee5048bcca5938:function(){let e=typeof globalThis>"u"?null:globalThis;return E(e)?0:v(e)},__wbg_static_accessor_GLOBAL_ce44e66a4935da8c:function(){let e=typeof global>"u"?null:global;return E(e)?0:v(e)},__wbg_static_accessor_SELF_44f6e0cb5e67cdad:function(){let e=typeof self>"u"?null:self;return E(e)?0:v(e)},__wbg_static_accessor_WINDOW_168f178805d978fe:function(){let e=typeof window>"u"?null:window;return E(e)?0:v(e)},__wbg_then_05edfc8a4fea5106:function(e,_,i){let c=h(e).then(h(_),h(i));return v(c)},__wbg_then_591b6b3a75ee817a:function(e,_){let i=h(e).then(h(_));return v(i)},__wbg_then_c768c7c3e60c20ef:function(e,_){let i=h(e).then(h(_));return v(i)},__wbg_value_2f34afb824ffcd9a:function(e){let _=h(e).value;return v(_)},__wbg_waitAsync_134f0b4abc50f1f2:function(e,_,i){let c=Atomics.waitAsync(h(e),_>>>0,i);return v(c)},__wbg_waitAsync_485a8d512901fd53:function(){let e=Atomics.waitAsync;return v(e)},__wbindgen_cast_0000000000000001:function(e,_){let i=pt(e,_,St);return v(i)},__wbindgen_cast_0000000000000002:function(e,_){let i=pt(e,_,Ot);return v(i)},__wbindgen_cast_0000000000000003:function(e,_){let i=pt(e,_,Ut);return v(i)},__wbindgen_cast_0000000000000004:function(e){return v(e)},__wbindgen_cast_0000000000000005:function(e,_){let i=f(e,_);return v(i)},__wbindgen_cast_0000000000000006:function(e,_){let i=R(e,_);return v(i)},__wbindgen_cast_0000000000000007:function(e,_){var i=f(e,_).slice();return t.__wbindgen_export3(e,_*1,1),v(i)},__wbindgen_link_ec60efd85dcca315:function(e){let _=`onmessage = function (ev) {
|
|
4
|
-
let [ia, index, value] = ev.data;
|
|
5
|
-
ia = new Int32Array(ia.buffer);
|
|
6
|
-
let result = Atomics.wait(ia, index, value);
|
|
7
|
-
postMessage(result);
|
|
8
|
-
};
|
|
9
|
-
`,i=typeof URL.createObjectURL>"u"?"data:application/javascript,"+encodeURIComponent(_):URL.createObjectURL(new Blob([_],{type:"text/javascript"})),c=I(i,t.__wbindgen_export4,t.__wbindgen_export5),a=p;o().setInt32(e+4,a,!0),o().setInt32(e+0,c,!0)},__wbindgen_object_clone_ref:function(e){let _=h(e);return v(_)},__wbindgen_object_drop_ref:function(e){w(e)},memory:r||new WebAssembly.Memory({initial:77,maximum:65536,shared:!0})}}}function St(r,n,e){t.__wasm_bindgen_func_elem_518(r,n,v(e))}function Ut(r,n,e){t.__wasm_bindgen_func_elem_2167(r,n,v(e))}function Ot(r,n,e){try{let c=t.__wbindgen_add_to_stack_pointer(-16);t.__wasm_bindgen_func_elem_2165(c,r,n,v(e));var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0);if(i)throw w(_)}finally{t.__wbindgen_add_to_stack_pointer(16)}}function lt(r,n,e,_){t.__wasm_bindgen_func_elem_2182(r,n,v(e),v(_))}var ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_exrbench_free(r,1)),vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_exrstreamencoder_free(r,1)),xt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_proresbench_free(r,1)),yt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_proresmovencoder_free(r,1)),It=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_proresmovwriter_free(r,1)),mt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbg_wbg_rayon_poolbuilder_free(r,1));function v(r){Y===L.length&&L.push(L.length+1);let n=Y;return Y=L[n],L[n]=r,n}var ht=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(r=>t.__wbindgen_export2(r.a,r.b));function Lt(r){r<1028||(L[r]=Y,Y=r)}function qt(r,n){return r=r>>>0,At().subarray(r/8,r/8+n)}function ut(r,n){return r=r>>>0,Ft().subarray(r/2,r/2+n)}function $(r,n){return r=r>>>0,Mt().subarray(r/4,r/4+n)}function f(r,n){return r=r>>>0,D().subarray(r/1,r/1+n)}var C=null;function o(){return(C===null||C.buffer!==t.memory.buffer)&&(C=new DataView(t.memory.buffer)),C}var V=null;function Et(){return(V===null||V.buffer!==t.memory.buffer)&&(V=new Float32Array(t.memory.buffer)),V}var H=null;function At(){return(H===null||H.buffer!==t.memory.buffer)&&(H=new Float64Array(t.memory.buffer)),H}function R(r,n){return Pt(r>>>0,n)}var N=null;function Ft(){return(N===null||N.buffer!==t.memory.buffer)&&(N=new Uint16Array(t.memory.buffer)),N}var G=null;function Mt(){return(G===null||G.buffer!==t.memory.buffer)&&(G=new Uint32Array(t.memory.buffer)),G}var X=null;function D(){return(X===null||X.buffer!==t.memory.buffer)&&(X=new Uint8Array(t.memory.buffer)),X}function h(r){return L[r]}function tt(r,n){try{return r.apply(this,n)}catch(e){t.__wbindgen_export(v(e))}}var L=new Array(1024).fill(void 0);L.push(void 0,null,!0,!1);var Y=L.length;function E(r){return r==null}function pt(r,n,e){let _={a:r,b:n,cnt:1},i=(...c)=>{_.cnt++;let a=_.a;_.a=0;try{return e(a,_.b,...c)}finally{_.a=a,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--_.cnt===0&&(t.__wbindgen_export2(_.a,_.b),_.a=0,ht.unregister(_))},ht.register(i,_,_),i}function j(r,n){let e=n(r.length*2,2)>>>0;return Ft().set(r,e/2),p=r.length,e}function S(r,n){let e=n(r.length*4,4)>>>0;return Mt().set(r,e/4),p=r.length,e}function l(r,n){let e=n(r.length*1,1)>>>0;return D().set(r,e/1),p=r.length,e}function it(r,n){let e=n(r.length*4,4)>>>0;return Et().set(r,e/4),p=r.length,e}function J(r,n){let e=n(r.length*8,8)>>>0;return At().set(r,e/8),p=r.length,e}function I(r,n,e){if(e===void 0){let d=Q.encode(r),s=n(d.length,1)>>>0;return D().subarray(s,s+d.length).set(d),p=d.length,s}let _=r.length,i=n(_,1)>>>0,c=D(),a=0;for(;a<_;a++){let d=r.charCodeAt(a);if(d>127)break;c[i+a]=d}if(a!==_){a!==0&&(r=r.slice(a)),i=e(i,_,_=a+r.length*3,1)>>>0;let d=D().subarray(i+a,i+_),s=Q.encodeInto(r,d);a+=s.written,i=e(i,_,a,1)>>>0}return p=a,i}function w(r){let n=h(r);return Lt(r),n}var K=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):void 0;K&&K.decode();var Dt=2146435072,gt=0;function Pt(r,n){return gt+=n,gt>=Dt&&(K=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),K.decode(),gt=n),K.decode(D().slice(r,r+n))}var Q=typeof TextEncoder<"u"?new TextEncoder:void 0;Q&&(Q.encodeInto=function(r,n){let e=Q.encode(r);return n.set(e),{read:r.length,written:e.length}});var p=0,Rt,Bt,t;function zt(r,n,e){if(Bt=r,t=r.exports,Rt=n,C=null,V=null,H=null,N=null,G=null,X=null,typeof e<"u"&&(typeof e!="number"||e===0||e%65536!==0))throw new Error("invalid stack size");return t.__wbindgen_start(e),t}async function Ct(r,n){if(typeof Response=="function"&&r instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(r,n)}catch(i){if(r.ok&&e(r.type)&&r.headers.get("Content-Type")!=="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",i);else throw i}let _=await r.arrayBuffer();return await WebAssembly.instantiate(_,n)}else{let _=await WebAssembly.instantiate(r,n);return _ instanceof WebAssembly.Instance?{instance:_,module:r}:_}function e(_){switch(_){case"basic":case"cors":case"default":return!0}return!1}}function Yr(r,n){if(t!==void 0)return t;let e;r!==void 0&&(Object.getPrototypeOf(r)===Object.prototype?{module:r,memory:n,thread_stack_size:e}=r:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let _=kt(n);r instanceof WebAssembly.Module||(r=new WebAssembly.Module(r));let i=new WebAssembly.Instance(r,_);return zt(i,r,e)}async function Jr(r,n){if(t!==void 0)return t;let e;r!==void 0&&(Object.getPrototypeOf(r)===Object.prototype?{module_or_path:r,memory:n,thread_stack_size:e}=r:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),r===void 0&&(r=new URL("media_core_bg.wasm",import.meta.url));let _=kt(n);(typeof r=="string"||typeof Request=="function"&&r instanceof Request||typeof URL=="function"&&r instanceof URL)&&(r=fetch(r));let{instance:i,module:c}=await Ct(await r,_);return zt(i,c,e)}export{et as ExrBench,nt as ExrStreamEncoder,rt as ProResBench,_t as ProResMovEncoder,ot as ProResMovWriter,Nt as arriraw12_clip_info,Gt as arriraw_mxf_gpu_frame,Xt as audio_aac_au,Yt as audio_aac_config,Jt as audio_info,Kt as bench_f32_boundary,Qt as bench_piz_no_huffman,Zt as color_cst,$t as dci_code_full_depth,te as dci_frame_cap,ee as dci_gpu_colour_patch,ne as dci_gpu_colour_tables,re as dci_last_pass_caps,_e as dci_legal_rates,oe as dci_mq_bench,ie as dci_pack_tier1,ae as dci_stage_rgba8,ce as dci_transform_only,de as decode_arriraw12_luma,se as decode_arriraw12_mxf,pe as decode_arriraw12_preview,ge as decode_arriraw12_rgba,ue as decode_arriraw_luma,we as decode_arriraw_mxf,be as decode_arriraw_preview,le as decode_arriraw_preview_gray,fe as decode_arriraw_preview_meta,ve as decode_arriraw_rgba,xe as decode_arriraw_rgba_meta,ye as decode_audio_pcm,Ie as decode_braw_gen5log,me as decode_braw_luma,he as decode_braw_preview,ke as decode_braw_rgba,Ae as decode_cr3_rgba,Fe as decode_crm,Me as decode_dng_preview,Re as decode_dng_rgba,ze as decode_dpx_preview,We as decode_dpx_rgba,je as decode_exr_linear,Te as decode_exr_preview,Se as decode_exr_rgba,Ue as decode_jpeg_rgba,Oe as decode_png_rgba,Le as decode_prores_band_rgba,qe as decode_prores_luma,Ee as decode_prores_mxf,De as decode_prores_preview,Pe as decode_prores_raw_acescct,Be as decode_prores_raw_luma,Ce as decode_prores_raw_preview,Ve as decode_prores_raw_rec2020,He as decode_prores_raw_rgba,Ne as decode_prores_raw_tier,Ge as decode_prores_rgb16,Xe as decode_prores_rgba,Ye as decode_prores_thumb_dc32,Je as decode_r3d_luma,Ke as decode_r3d_preview,Qe as decode_r3d_preview_clip,Ze as decode_r3d_rgb16,$e as decode_r3d_rgba,tn as decode_r3d_rgba_clip,en as decode_tiff_preview,nn as decode_tiff_rgba,rn as decode_vc3_band_rgba,_n as decode_vc3_luma,on as decode_vc3_mxf,an as decode_vc3_preview,cn as decode_vc3_rgba,dn as decode_xocn_index_luma,sn as decode_xocn_luma,pn as decode_xocn_mxf,gn as decode_xocn_preview,un as decode_xocn_preview_rec709,wn as decode_xocn_rgb16,bn as decode_xocn_rgba,Jr as default,ln as encode_dci_j2c,fn as encode_dci_j2c_rgb,vn as encode_dci_j2c_rgba8,xn as encode_dci_j2c_staged,yn as encode_dci_j2c_staged_modelled,In as encode_exr,mn as encode_prores_4444_alpha_mov_rgba,hn as encode_prores_4444_alpha_sample_q,kn as encode_prores_444_sample_cbr,An as encode_prores_444_sample_cbr_rgb16,Fn as encode_prores_444_sample_cbr_rgb16_lut,Mn as encode_prores_mov_rgba,Rn as encode_prores_rgba,zn as encode_prores_sample_cbr,Wn as encode_prores_sample_cbr_rgb16,jn as encode_prores_sample_cbr_rgb16_lut,Tn as encode_prores_sample_q,Sn as exr_sequence_filename,Un as fit_sizing,Yr as initSync,On as initThreadPool,Ln as inspect_cr3,qn as inspect_dng,En as inspect_dpx,Dn as inspect_exr,Pn as inspect_isobmff,Bn as inspect_tiff,Cn as inspect_wav,Vn as is_arriraw12_mxf,Hn as is_arriraw_mxf,Nn as is_crm,Gn as is_prores_mxf,Xn as is_vc3_mxf,Yn as is_xavc_mxf,Jn as is_xocn_mxf,Kn as list_isobmff_segments,Qn as list_mxf_segments,Zn as list_r3d_frames,$n as list_r3d_segments,tr as list_wav_segments,er as mux_prores_4444_alpha_samples,nr as mux_prores_samples,rr as mux_prores_samples_full,_r as mxf_au_run,or as mxf_frame_index,ir as mxf_gop_map,ar as mxf_h264_kind,cr as plan_isobmff_trim,dr as plan_isobmff_trim_reader,sr as plan_mxf_compact_trim,pr as plan_mxf_trim,gr as plan_r3d_compact,ur as plan_wav_trim,wr as plan_wav_trim_reader,br as prepare_isobmff,lr as prepare_mxf,fr as prepare_r3d,vr as prepare_wav,xr as probe_mov,yr as probe_mxf,Ir as probe_r3d,mr as prores_band_info,hr as prores_raw_container_color,kr as prores_reset_rate_control,Ar as r3d_gpu_develop_params,Fr as r3d_index_ranges,Mr as r3d_is_helium,Rr as read_arriraw_fcs,zr as read_arriraw_unit_correction,Wr as recover_reframe,jr as resample_rgba16,Tr as resample_rgba8,Sr as reset_dci_rate_state,Ur as resize_luma_area,Or as rgba8_to_xyz12,Lr as shot_crop,qr as shot_ramp,Er as shot_scan,Dr as trim_r3d,Pr as vc3_band_info,Br as video_frame_index_isobmff_reader,Z as wbg_rayon_PoolBuilder,Cr as wbg_rayon_start_worker,Vr as xavc_au,Hr as xavc_frame_count,Nr as xocn_frame_count,Gr as xocn_index_prefix_len,Xr as xocn_preview_prefix_len};
|
package/dist/still-ZG2RUQAL.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
-
import{a as n,f as s,g as o}from"./chunk-JV7TZDKJ.js";import{a as l}from"./chunk-UCMNH6Q6.js";import"./chunk-PSANHDZM.js";var u=r=>{let e=r.split(/[/\\]/).pop()??"",t=e.lastIndexOf(".");return t>0?e.slice(t+1).toLowerCase():""};async function f(r,e){try{if(r==="dpx"){let t=await(await import("./dpx-wasm-RMKEUKED.js")).inspectDpxWasm(e);return t?{width:t.width,height:t.height}:null}if(r==="exr"){let t=await(await import("./exr-wasm-LBAOMOZD.js")).inspectExrWasm(e);return t?{width:t.width,height:t.height}:null}if(r==="dng"){let t=await(await import("./dng-wasm-U6NC3MDK.js")).inspectDngWasm(e);return t?{width:t.width,height:t.height}:null}if(r==="cr3"){let t=await(await import("./cr3-wasm-L2LFY3LM.js")).inspectCr3Wasm(e);return t?{width:t.width,height:t.height}:null}if(r==="tif"||r==="tiff"){let t=await(await import("./tiff-wasm-D2FJ3L56.js")).inspectTiffWasm(e);return t?{width:t.width,height:t.height}:null}}catch{}return null}async function p(r){if(typeof createImageBitmap!="function"||typeof Blob>"u")return null;try{let e=await createImageBitmap(new Blob([r])),t={width:e.width,height:e.height};return e.close?.(),t.width>0&&t.height>0?t:null}catch{return null}}async function m(r){let e=u(r.filename),t=await o(e,s(r));if(t)return t;let i=l(e);if(i===null||i==="none")return null;let a;try{a=await r.read(0,r.fileSize)}catch{return null}return i==="wasm-decoder"?await f(e,a):await p(a)}function c(r){let e=n(r);return e==="jpg"?"jpeg":e==="tif"?"tiff":e||"still"}var _={async inspect(r){let e=r.parts[0],t=await m(e);return{id:e.filename,kind:"external",content_kind:"still",target_url:e.filename,available_range:null,reel_name:null,source_timecode:null,container:n(e.filename)||"still",codec:c(e.filename),size_bytes:e.fileSize,bitrate_bps:null,source_resolution_w:t?.width??null,source_resolution_h:t?.height??null,source_pixel_aspect:t?1:null,streams:[],vendor_metadata:{},binding_state:"unbound",raw_extraction:{},metadata:{}}},async extract(r){let e=r.parts.map((t,i)=>({kind:"frame",part:i,offset:0,length:t.fileSize,frame_in:i,frame_out:i}));return e.length===0?null:{v:1,container:n(r.parts[0].filename)||"still",codec:c(r.parts[0].filename),frame_count:e.length,granularity:"frame",segments:e,...r.parts.length>1?{part_names:r.parts.map(t=>t.filename)}:{}}},async sparsify(){throw new Error("stillFormat.sparsify: stills ship whole \u2014 no sparse plan exists")},async trim(){throw new Error("stillFormat.trim: stills ship whole \u2014 no trim plan exists")}};export{_ as stillFormat};
|