@zappar/zappar-cv 3.0.1-alpha.3 → 3.0.1-alpha.5
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 +2 -2
- package/lib/data-download.d.ts +8 -0
- package/lib/data-download.js +8 -0
- package/lib/direct.js +1 -1
- package/lib/gen/zappar-client.js +2 -2
- package/lib/native.js +9 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/worker-client.js +2 -1
- package/lib/worker-server.d.ts +1 -1
- package/lib/worker-server.js +21 -5
- package/lib/worker.js +2 -1
- package/lib/zappar-cv.js +87 -87
- package/lib/zappar-cv.wasm +0 -0
- package/package.json +1 -1
- package/umd/{a5f074b0d01366261164.wasm → 17cb8e68ad2789719d7f.wasm} +0 -0
- package/umd/751.zappar-cv.js +1 -0
- package/umd/867.zappar-cv.js +1 -1
- package/umd/zappar-cv.js +1 -1
- package/umd/zappar-cv.worker.js +1 -1
- package/umd/429.zappar-cv.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ZCV=t():e.ZCV=t()}(self,(()=>(()=>{"use strict";var e,t,r={152:(e,t,r)=>{var a=r(581);class i{constructor(e){this._messageSender=e,this._freeBufferPool=[],this._buffer=new ArrayBuffer(16),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=1,this._startOffset=-1,this._timeoutSet=!1,this._appender={int:e=>this.int(e),bool:e=>this.int(e?1:0),float:e=>this.float(e),string:e=>this.string(e),dataWithLength:e=>this.arrayBuffer(e),type:e=>this.int(e),matrix4x4:e=>this.float32ArrayBuffer(e),matrix3x3:e=>this.float32ArrayBuffer(e),floatArray:e=>this.float32ArrayBuffer(e),identityCoefficients:e=>this.float32ArrayBuffer(e),expressionCoefficients:e=>this.float32ArrayBuffer(e),cameraModel:e=>this.float32ArrayBuffer(e),timestamp:e=>this.double(e),barcodeFormat:e=>this.int(e),faceLandmarkName:e=>this.int(e),instantTrackerTransformOrientation:e=>this.int(e),logLevel:e=>this.int(e)},this._freeBufferPool.push(new ArrayBuffer(16)),this._freeBufferPool.push(new ArrayBuffer(16))}bufferReturn(e){this._freeBufferPool.push(e)}_ensureArrayBuffer(e){let t,r=4*(this._offset+e+8);if(this._buffer&&this._buffer.byteLength>=r)return;if(!t){let e=r;e--,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,e++,t=new ArrayBuffer(e)}let a=this._buffer?this._i32View:void 0;this._buffer=t,this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),a&&this._i32View.set(a.subarray(0,this._offset))}sendMessage(e,t){this._ensureArrayBuffer(4),this._startOffset=this._offset,this._i32View[this._offset+1]=e,this._offset+=2,t(this._appender),this._i32View[this._startOffset]=this._offset-this._startOffset,this._startOffset=-1,this._sendOneTime()}_sendOneTime(){!1===this._timeoutSet&&(this._timeoutSet=!0,setTimeout((()=>{this._timeoutSet=!1,this._send()}),0))}_send(){0!==this._freeBufferPool.length?(this._i32View[0]=this._offset,this._messageSender(this._buffer),this._buffer=void 0,this._buffer=this._freeBufferPool.pop(),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u8cView=new Uint8ClampedArray(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=1,this._startOffset=-1):this._sendOneTime()}int(e){this._ensureArrayBuffer(1),this._i32View[this._offset]=e,this._offset++}double(e){this._ensureArrayBuffer(2),this._offset%2==1&&this._offset++,this._f64View[this._offset/2]=e,this._offset+=2}float(e){this._ensureArrayBuffer(1),this._f32View[this._offset]=e,this._offset++}int32Array(e){this._ensureArrayBuffer(e.length);for(let t=0;t<e.length;++t)this._i32View[this._offset+t]=e[t];this._offset+=e.length}float32Array(e){this._ensureArrayBuffer(e.length);for(let t=0;t<e.length;++t)this._f32View[this._offset+t]=e[t];this._offset+=e.length}booleanArray(e){this._ensureArrayBuffer(e.length);for(let t=0;t<e.length;++t)this._i32View[this._offset+t]=e[t]?1:0;this._offset+=e.length}uint8ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.byteLength,this._offset++,this._u8View.set(e,4*this._offset),this._offset+=e.byteLength>>2,0!=(3&e.byteLength)&&this._offset++}arrayBuffer(e){let t=new Uint8Array(e);this.uint8ArrayBuffer(t)}uint8ClampedArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.byteLength,this._offset++,this._u8cView.set(e,4*this._offset),this._offset+=e.byteLength>>2,0!=(3&e.byteLength)&&this._offset++}float32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._f32View.set(e,this._offset),this._offset+=e.length}uint16ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++;let t=2*this._offset;this._u16View.set(e,t),this._offset+=e.length>>1,0!=(1&e.length)&&this._offset++}int32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._i32View.set(e,this._offset),this._offset+=e.length}uint32ArrayBuffer(e){this._ensureArrayBuffer(e.byteLength/4),this._i32View[this._offset]=e.length,this._offset++,this._u32View.set(e,this._offset),this._offset+=e.length}string(e){let t=(new TextEncoder).encode(e);this._ensureArrayBuffer(t.byteLength/4),this._i32View[this._offset]=t.byteLength,this._offset++,this._u8View.set(t,4*this._offset),this._offset+=t.byteLength>>2,0!=(3&t.byteLength)&&this._offset++}}class _{constructor(){this._buffer=new ArrayBuffer(0),this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=0,this._length=0,this._startOffset=-1,this._processor={int:()=>this._i32View[this._startOffset++],bool:()=>1===this._i32View[this._startOffset++],type:()=>this._i32View[this._startOffset++],float:()=>this._f32View[this._startOffset++],timestamp:()=>{this._startOffset%2==1&&this._startOffset++;let e=this._f64View[this._startOffset/2];return this._startOffset+=2,e},string:()=>{let e=this._i32View[this._startOffset++],t=(new TextDecoder).decode(new Uint8Array(this._buffer,4*this._startOffset,e));return this._startOffset+=e>>2,0!=(3&e)&&this._startOffset++,t},dataWithLength:()=>{let e=this._i32View[this._startOffset++],t=new Uint8Array(e);return t.set(this._u8View.subarray(4*this._startOffset,4*this._startOffset+e)),this._startOffset+=t.byteLength>>2,0!=(3&t.byteLength)&&this._startOffset++,t.buffer},floatArray:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+e)),this._startOffset+=e,t},matrix4x4:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+16)),this._startOffset+=e,t},matrix3x3:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+9)),this._startOffset+=e,t},identityCoefficients:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+50)),this._startOffset+=e,t},expressionCoefficients:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+29)),this._startOffset+=e,t},cameraModel:()=>{let e=this._i32View[this._startOffset++],t=new Float32Array(e);return t.set(this._f32View.subarray(this._startOffset,this._startOffset+6)),this._startOffset+=e,t},barcodeFormat:()=>this._i32View[this._startOffset++],faceLandmarkName:()=>this._i32View[this._startOffset++],instantTrackerTransformOrientation:()=>this._i32View[this._startOffset++],logLevel:()=>this._i32View[this._startOffset++]}}setData(e){this._buffer=e,this._i32View=new Int32Array(this._buffer),this._f32View=new Float32Array(this._buffer),this._f64View=new Float64Array(this._buffer),this._u8View=new Uint8Array(this._buffer),this._u16View=new Uint16Array(this._buffer),this._u32View=new Uint32Array(this._buffer),this._offset=0,this._length=0,e.byteLength>=4&&(this._offset=1,this._length=this._i32View[0]),this._startOffset=-1}hasMessage(){return this._offset+1<this._length}forMessages(e){for(;this.hasMessage();){let t=this._i32View[this._offset],r=this._i32View[this._offset+1];this._startOffset=this._offset+2,this._offset+=t,e(r,this._processor)}}}class n{constructor(e,t){this._impl=e,this._sender=t,this._deserializer=new _,this.serializersByPipelineId=new Map,this._pipeline_id_by_pipeline_id=new Map,this._pipeline_by_instance=new Map,this._pipeline_id_by_camera_source_id=new Map,this._camera_source_by_instance=new Map,this._pipeline_id_by_sequence_source_id=new Map,this._sequence_source_by_instance=new Map,this._pipeline_id_by_image_tracker_id=new Map,this._image_tracker_by_instance=new Map,this._pipeline_id_by_face_tracker_id=new Map,this._face_tracker_by_instance=new Map,this._pipeline_id_by_face_mesh_id=new Map,this._face_mesh_by_instance=new Map,this._pipeline_id_by_face_landmark_id=new Map,this._face_landmark_by_instance=new Map,this._pipeline_id_by_barcode_finder_id=new Map,this._barcode_finder_by_instance=new Map,this._pipeline_id_by_instant_world_tracker_id=new Map,this._instant_world_tracker_by_instance=new Map,this._pipeline_id_by_world_tracker_id=new Map,this._world_tracker_by_instance=new Map}processBuffer(e){this._deserializer.setData(e),this._deserializer.forMessages(((e,t)=>{switch(e){case 38:this._impl.log_level_set(t.logLevel());break;case 35:this._impl.analytics_project_id_set(t.string(),t.string());break;case 31:{let e=t.type(),r=this._impl.pipeline_create();this._pipeline_by_instance.set(e,r),this._pipeline_id_by_pipeline_id.set(e,e),this.serializersByPipelineId.set(e,new i((t=>{this._sender(e,t)})));break}case 32:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_destroy(r),this._pipeline_by_instance.delete(e);break}case 9:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_frame_update(r);break}case 8:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_camera_frame_submit(r,t.dataWithLength(),t.int(),t.int(),t.int(),t.matrix4x4(),t.cameraModel(),t.bool());break}case 10:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_accelerometer_submit(r,t.timestamp(),t.float(),t.float(),t.float());break}case 12:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_accelerometer_with_gravity_submit_int(r,t.timestamp(),t.timestamp(),t.float(),t.float(),t.float());break}case 11:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_accelerometer_without_gravity_submit_int(r,t.timestamp(),t.timestamp(),t.float(),t.float(),t.float());break}case 15:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_rotation_rate_submit(r,t.timestamp(),t.float(),t.float(),t.float());break}case 13:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_rotation_rate_submit_int(r,t.timestamp(),t.timestamp(),t.float(),t.float(),t.float());break}case 16:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_attitude_submit(r,t.timestamp(),t.float(),t.float(),t.float());break}case 14:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_attitude_submit_int(r,t.timestamp(),t.timestamp(),t.float(),t.float(),t.float());break}case 17:{let e=t.type(),r=this._pipeline_by_instance.get(e);if(void 0===r)return;this._impl.pipeline_motion_attitude_matrix_submit(r,t.matrix4x4());break}case 33:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),i=t.string(),_=this._impl.camera_source_create(a,i);this._camera_source_by_instance.set(e,_),this._pipeline_id_by_camera_source_id.set(e,r);break}case 34:{let e=t.type(),r=this._camera_source_by_instance.get(e);if(void 0===r)return;this._impl.camera_source_destroy(r),this._camera_source_by_instance.delete(e);break}case 39:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),i=this._impl.sequence_source_create(a);this._sequence_source_by_instance.set(e,i),this._pipeline_id_by_sequence_source_id.set(e,r);break}case 40:{let e=t.type(),r=this._sequence_source_by_instance.get(e);if(void 0===r)return;this._impl.sequence_source_destroy(r),this._sequence_source_by_instance.delete(e);break}case 2:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),i=this._impl.image_tracker_create(a);this._image_tracker_by_instance.set(e,i),this._pipeline_id_by_image_tracker_id.set(e,r);break}case 18:{let e=t.type(),r=this._image_tracker_by_instance.get(e);if(void 0===r)return;this._impl.image_tracker_destroy(r),this._image_tracker_by_instance.delete(e);break}case 4:{let e=t.type(),r=this._image_tracker_by_instance.get(e);if(void 0===r)return;this._impl.image_tracker_target_load_from_memory(r,t.dataWithLength());break}case 3:{let e=t.type(),r=this._image_tracker_by_instance.get(e);if(void 0===r)return;this._impl.image_tracker_enabled_set(r,t.bool());break}case 24:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),i=this._impl.face_tracker_create(a);this._face_tracker_by_instance.set(e,i),this._pipeline_id_by_face_tracker_id.set(e,r);break}case 25:{let e=t.type(),r=this._face_tracker_by_instance.get(e);if(void 0===r)return;this._impl.face_tracker_destroy(r),this._face_tracker_by_instance.delete(e);break}case 26:{let e=t.type(),r=this._face_tracker_by_instance.get(e);if(void 0===r)return;this._impl.face_tracker_model_load_from_memory(r,t.dataWithLength());break}case 27:{let e=t.type(),r=this._face_tracker_by_instance.get(e);if(void 0===r)return;this._impl.face_tracker_enabled_set(r,t.bool());break}case 28:{let e=t.type(),r=this._face_tracker_by_instance.get(e);if(void 0===r)return;this._impl.face_tracker_max_faces_set(r,t.int());break}case 29:{let e=t.type(),r=this._impl.face_mesh_create();this._face_mesh_by_instance.set(e,r);break}case 30:{let e=t.type(),r=this._face_mesh_by_instance.get(e);if(void 0===r)return;this._impl.face_mesh_destroy(r),this._face_mesh_by_instance.delete(e);break}case 36:{let e=t.type(),r=t.faceLandmarkName(),a=this._impl.face_landmark_create(r);this._face_landmark_by_instance.set(e,a);break}case 37:{let e=t.type(),r=this._face_landmark_by_instance.get(e);if(void 0===r)return;this._impl.face_landmark_destroy(r),this._face_landmark_by_instance.delete(e);break}case 20:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),i=this._impl.barcode_finder_create(a);this._barcode_finder_by_instance.set(e,i),this._pipeline_id_by_barcode_finder_id.set(e,r);break}case 21:{let e=t.type(),r=this._barcode_finder_by_instance.get(e);if(void 0===r)return;this._impl.barcode_finder_destroy(r),this._barcode_finder_by_instance.delete(e);break}case 22:{let e=t.type(),r=this._barcode_finder_by_instance.get(e);if(void 0===r)return;this._impl.barcode_finder_enabled_set(r,t.bool());break}case 23:{let e=t.type(),r=this._barcode_finder_by_instance.get(e);if(void 0===r)return;this._impl.barcode_finder_formats_set(r,t.barcodeFormat());break}case 5:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),i=this._impl.instant_world_tracker_create(a);this._instant_world_tracker_by_instance.set(e,i),this._pipeline_id_by_instant_world_tracker_id.set(e,r);break}case 19:{let e=t.type(),r=this._instant_world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.instant_world_tracker_destroy(r),this._instant_world_tracker_by_instance.delete(e);break}case 6:{let e=t.type(),r=this._instant_world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.instant_world_tracker_enabled_set(r,t.bool());break}case 7:{let e=t.type(),r=this._instant_world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.instant_world_tracker_anchor_pose_set_from_camera_offset_raw(r,t.float(),t.float(),t.float(),t.instantTrackerTransformOrientation());break}case 41:{let e=t.type(),r=t.type(),a=this._pipeline_by_instance.get(r),i=this._impl.world_tracker_create(a);this._world_tracker_by_instance.set(e,i),this._pipeline_id_by_world_tracker_id.set(e,r);break}case 42:{let e=t.type(),r=this._world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.world_tracker_destroy(r),this._world_tracker_by_instance.delete(e);break}case 43:{let e=t.type(),r=this._world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.world_tracker_enabled_set(r,t.bool());break}case 44:{let e=t.type(),r=this._world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.world_tracker_reset(r);break}case 45:{let e=t.type(),r=this._world_tracker_by_instance.get(e);if(void 0===r)return;this._impl.world_tracker_debug_enabled_set(r,t.bool());break}}}))}exploreState(){for(let[e,t]of this._pipeline_by_instance){let r=this._pipeline_id_by_pipeline_id.get(e);if(!r)continue;let a=this.serializersByPipelineId.get(r);a&&(a.sendMessage(7,(r=>{r.type(e),r.int(this._impl.pipeline_frame_number(t))})),a.sendMessage(6,(r=>{r.type(e),r.cameraModel(this._impl.pipeline_camera_model(t))})),a.sendMessage(5,(r=>{r.type(e),r.int(this._impl.pipeline_camera_frame_user_data(t))})),a.sendMessage(11,(r=>{r.type(e),r.matrix4x4(this._impl.pipeline_camera_frame_camera_attitude(t))})),a.sendMessage(12,(r=>{r.type(e),r.matrix4x4(this._impl.pipeline_camera_frame_device_attitude(t))})))}for(let[e,t]of this._camera_source_by_instance){let t=this._pipeline_id_by_camera_source_id.get(e);t&&this.serializersByPipelineId.get(t)}for(let[e,t]of this._sequence_source_by_instance){let t=this._pipeline_id_by_sequence_source_id.get(e);t&&this.serializersByPipelineId.get(t)}for(let[e,t]of this._image_tracker_by_instance){let r=this._pipeline_id_by_image_tracker_id.get(e);if(!r)continue;let a=this.serializersByPipelineId.get(r);if(a){a.sendMessage(19,(r=>{r.type(e),r.int(this._impl.image_tracker_target_loaded_version(t))})),a.sendMessage(1,(r=>{r.type(e),r.int(this._impl.image_tracker_anchor_count(t))}));for(let r=0;r<this._impl.image_tracker_anchor_count(t);r++)a.sendMessage(2,(a=>{a.type(e),a.int(r),a.string(this._impl.image_tracker_anchor_id(t,r))}));for(let r=0;r<this._impl.image_tracker_anchor_count(t);r++)a.sendMessage(3,(a=>{a.type(e),a.int(r),a.matrix4x4(this._impl.image_tracker_anchor_pose_raw(t,r))}))}}for(let[e,t]of this._face_tracker_by_instance){let r=this._pipeline_id_by_face_tracker_id.get(e);if(!r)continue;let a=this.serializersByPipelineId.get(r);if(a){a.sendMessage(18,(r=>{r.type(e),r.int(this._impl.face_tracker_model_loaded_version(t))})),a.sendMessage(13,(r=>{r.type(e),r.int(this._impl.face_tracker_anchor_count(t))}));for(let r=0;r<this._impl.face_tracker_anchor_count(t);r++)a.sendMessage(14,(a=>{a.type(e),a.int(r),a.string(this._impl.face_tracker_anchor_id(t,r))}));for(let r=0;r<this._impl.face_tracker_anchor_count(t);r++)a.sendMessage(15,(a=>{a.type(e),a.int(r),a.matrix4x4(this._impl.face_tracker_anchor_pose_raw(t,r))}));for(let r=0;r<this._impl.face_tracker_anchor_count(t);r++)a.sendMessage(16,(a=>{a.type(e),a.int(r),a.identityCoefficients(this._impl.face_tracker_anchor_identity_coefficients(t,r))}));for(let r=0;r<this._impl.face_tracker_anchor_count(t);r++)a.sendMessage(17,(a=>{a.type(e),a.int(r),a.expressionCoefficients(this._impl.face_tracker_anchor_expression_coefficients(t,r))}))}}for(let[e,t]of this._face_mesh_by_instance){let t=this._pipeline_id_by_face_mesh_id.get(e);t&&this.serializersByPipelineId.get(t)}for(let[e,t]of this._face_landmark_by_instance){let t=this._pipeline_id_by_face_landmark_id.get(e);t&&this.serializersByPipelineId.get(t)}for(let[e,t]of this._barcode_finder_by_instance){let r=this._pipeline_id_by_barcode_finder_id.get(e);if(!r)continue;let a=this.serializersByPipelineId.get(r);if(a){a.sendMessage(8,(r=>{r.type(e),r.int(this._impl.barcode_finder_found_number(t))}));for(let r=0;r<this._impl.barcode_finder_found_number(t);r++)a.sendMessage(9,(a=>{a.type(e),a.int(r),a.string(this._impl.barcode_finder_found_text(t,r))}));for(let r=0;r<this._impl.barcode_finder_found_number(t);r++)a.sendMessage(10,(a=>{a.type(e),a.int(r),a.barcodeFormat(this._impl.barcode_finder_found_format(t,r))}))}}for(let[e,t]of this._instant_world_tracker_by_instance){let r=this._pipeline_id_by_instant_world_tracker_id.get(e);if(!r)continue;let a=this.serializersByPipelineId.get(r);a&&a.sendMessage(4,(r=>{r.type(e),r.matrix4x4(this._impl.instant_world_tracker_anchor_pose_raw(t))}))}for(let[e,t]of this._world_tracker_by_instance){let r=this._pipeline_id_by_world_tracker_id.get(e);if(!r)continue;let a=this.serializersByPipelineId.get(r);if(a){a.sendMessage(27,(r=>{r.type(e),r.int(this._impl.world_tracker_quality(t))})),a.sendMessage(21,(r=>{r.type(e),r.int(this._impl.world_tracker_plane_count(t))}));for(let r=0;r<this._impl.world_tracker_plane_count(t);r++)a.sendMessage(22,(a=>{a.type(e),a.int(r),a.matrix4x4(this._impl.world_tracker_plane_pose_raw(t,r))}));a.sendMessage(23,(r=>{r.type(e),r.bool(this._impl.world_tracker_world_anchor_valid(t))})),a.sendMessage(24,(r=>{r.type(e),r.matrix4x4(this._impl.world_tracker_world_anchor_pose_raw(t))})),a.sendMessage(23,(r=>{r.type(e),r.bool(this._impl.world_tracker_ground_anchor_valid(t))})),a.sendMessage(26,(r=>{r.type(e),r.matrix4x4(this._impl.world_tracker_ground_anchor_pose_raw(t))})),a.sendMessage(29,(r=>{r.type(e),r.int(this._impl.world_tracker_debug_tracks_data_size(t))})),a.sendMessage(28,(r=>{r.type(e),r.floatArray(this._impl.world_tracker_debug_tracks_data(t))})),a.sendMessage(31,(r=>{r.type(e),r.int(this._impl.world_tracker_debug_projections_data_size(t))})),a.sendMessage(30,(r=>{r.type(e),r.floatArray(this._impl.world_tracker_debug_projections_data(t))}))}}}}class s{constructor(){this._funcs=[]}bind(e){this._funcs.push(e)}unbind(e){let t=this._funcs.indexOf(e);t>-1&&this._funcs.splice(t,1)}emit(){for(var e=0,t=this._funcs.length;e<t;e++)this._funcs[e]()}}class o{constructor(){this._funcs=[]}bind(e){this._funcs.push(e)}unbind(e){let t=this._funcs.indexOf(e);t>-1&&this._funcs.splice(t,1)}emit(e){for(var t=0,r=this._funcs.length;t<r;t++)this._funcs[t](e)}}var c,f,l,u,p,d,h,m=r(975);!function(e){e[e.UNKNOWN=131072]="UNKNOWN",e[e.AZTEC=1]="AZTEC",e[e.CODABAR=2]="CODABAR",e[e.CODE_39=4]="CODE_39",e[e.CODE_93=8]="CODE_93",e[e.CODE_128=16]="CODE_128",e[e.DATA_MATRIX=32]="DATA_MATRIX",e[e.EAN_8=64]="EAN_8",e[e.EAN_13=128]="EAN_13",e[e.ITF=256]="ITF",e[e.MAXICODE=512]="MAXICODE",e[e.PDF_417=1024]="PDF_417",e[e.QR_CODE=2048]="QR_CODE",e[e.RSS_14=4096]="RSS_14",e[e.RSS_EXPANDED=8192]="RSS_EXPANDED",e[e.UPC_A=16384]="UPC_A",e[e.UPC_E=32768]="UPC_E",e[e.UPC_EAN_EXTENSION=65536]="UPC_EAN_EXTENSION",e[e.ALL=131071]="ALL"}(c||(c={})),function(e){e[e.EYE_LEFT=0]="EYE_LEFT",e[e.EYE_RIGHT=1]="EYE_RIGHT",e[e.EAR_LEFT=2]="EAR_LEFT",e[e.EAR_RIGHT=3]="EAR_RIGHT",e[e.NOSE_BRIDGE=4]="NOSE_BRIDGE",e[e.NOSE_TIP=5]="NOSE_TIP",e[e.NOSE_BASE=6]="NOSE_BASE",e[e.LIP_TOP=7]="LIP_TOP",e[e.LIP_BOTTOM=8]="LIP_BOTTOM",e[e.MOUTH_CENTER=9]="MOUTH_CENTER",e[e.CHIN=10]="CHIN",e[e.EYEBROW_LEFT=11]="EYEBROW_LEFT",e[e.EYEBROW_RIGHT=12]="EYEBROW_RIGHT"}(f||(f={})),function(e){e[e.WORLD=3]="WORLD",e[e.MINUS_Z_AWAY_FROM_USER=4]="MINUS_Z_AWAY_FROM_USER",e[e.MINUS_Z_HEADING=5]="MINUS_Z_HEADING",e[e.UNCHANGED=6]="UNCHANGED"}(l||(l={})),function(e){e[e.LOG_LEVEL_NONE=0]="LOG_LEVEL_NONE",e[e.LOG_LEVEL_ERROR=1]="LOG_LEVEL_ERROR",e[e.LOG_LEVEL_WARNING=2]="LOG_LEVEL_WARNING",e[e.LOG_LEVEL_VERBOSE=3]="LOG_LEVEL_VERBOSE"}(u||(u={})),function(e){e[e.FRAME_PIXEL_FORMAT_I420=0]="FRAME_PIXEL_FORMAT_I420",e[e.FRAME_PIXEL_FORMAT_I420A=1]="FRAME_PIXEL_FORMAT_I420A",e[e.FRAME_PIXEL_FORMAT_I422=2]="FRAME_PIXEL_FORMAT_I422",e[e.FRAME_PIXEL_FORMAT_I444=3]="FRAME_PIXEL_FORMAT_I444",e[e.FRAME_PIXEL_FORMAT_NV12=4]="FRAME_PIXEL_FORMAT_NV12",e[e.FRAME_PIXEL_FORMAT_RGBA=5]="FRAME_PIXEL_FORMAT_RGBA",e[e.FRAME_PIXEL_FORMAT_BGRA=6]="FRAME_PIXEL_FORMAT_BGRA",e[e.FRAME_PIXEL_FORMAT_Y=7]="FRAME_PIXEL_FORMAT_Y"}(p||(p={})),function(e){e[e.IMAGE_TRACKER_TYPE_PLANAR=0]="IMAGE_TRACKER_TYPE_PLANAR",e[e.IMAGE_TRACKER_TYPE_CYLINDRICAL=1]="IMAGE_TRACKER_TYPE_CYLINDRICAL",e[e.IMAGE_TRACKER_TYPE_CONICAL=2]="IMAGE_TRACKER_TYPE_CONICAL"}(d||(d={})),function(e){e[e.WORLD_TRACKER_QUALITY_INITIALIZING=0]="WORLD_TRACKER_QUALITY_INITIALIZING",e[e.WORLD_TRACKER_QUALITY_GOOD=1]="WORLD_TRACKER_QUALITY_GOOD",e[e.WORLD_TRACKER_QUALITY_ORIENTATION_ONLY=2]="WORLD_TRACKER_QUALITY_ORIENTATION_ONLY"}(h||(h={}));const b=new Map;class g{constructor(e){this._gl=e,this._viewports=[],this._underlyingViewport=this._gl.viewport,this._viewports.push(this._gl.getParameter(this._gl.VIEWPORT)),this._gl.viewport=(e,t,r,a)=>{this._viewports[this._viewports.length-1]=[e,t,r,a],this._underlyingViewport.call(this._gl,e,t,r,a)}}static get(e){let t=b.get(e);return t||(t=new g(e),b.set(e,t)),t}push(){this._viewports.push(this._viewports[this._viewports.length-1])}pop(){const e=this._viewports.pop(),t=this._viewports[this._viewports.length-1];e&&e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]||this._underlyingViewport.call(this._gl,t[0],t[1],t[2],t[3])}}var w,y=r(238);!function(e){e[e.OBJECT_URL=0]="OBJECT_URL",e[e.SRC_OBJECT=1]="SRC_OBJECT"}(w||(w={}));let A={deviceMotionMutliplier:-1,blacklisted:!1,showGyroPermissionsWarningIfNecessary:!1,showSafariPermissionsResetIfNecessary:!1,requestHighFrameRate:!1,videoWidth:640,videoHeight:480,dataWidth:320,dataHeight:240,videoElementInDOM:!1,preferMediaStreamTrackProcessorCamera:!0,preferImageBitmapCamera:!1,ios164CameraSelection:!1,relyOnConstraintsForCameraSelection:!1,forceWindowOrientation:!1,intervalMultiplier:1,trustSensorIntervals:!1};"undefined"!=typeof window&&(window.zeeProfile=A,window.location.href.indexOf("_mstppipeline")>=0&&(console.log("Configuring for MSTP camera pipeline (if supported)"),A.preferMediaStreamTrackProcessorCamera=!0),window.location.href.indexOf("_imagebitmappipeline")>=0&&(console.log("Configuring for ImageBitmap camera pipeline (if supported)"),A.preferImageBitmapCamera=!0));let E=new y.UAParser,T=(E.getOS().name||"unknown").toLowerCase(),R=(E.getEngine().name||"unknown").toLowerCase();function k(e){A.forceWindowOrientation=!0,A.preferMediaStreamTrackProcessorCamera=!1,A.intervalMultiplier=1e3,A.trustSensorIntervals=!0;let t=e.split(".");if(t.length>=2){const e=parseInt(t[0]),r=parseInt(t[1]);(e<11||11===e&&r<3)&&(A.blacklisted=!0),(e<12||12===e&&r<2)&&(A.videoElementInDOM=!0),(12===e&&r>=2||e>=13)&&(A.showGyroPermissionsWarningIfNecessary=!0),e>=13&&(A.showSafariPermissionsResetIfNecessary=!0),(e>=12&&r>1||e>=13)&&navigator.mediaDevices&&navigator.mediaDevices.getSupportedConstraints&&navigator.mediaDevices.getSupportedConstraints().frameRate&&(A.requestHighFrameRate=!0,e<14&&(A.videoHeight=360,A.dataHeight=180)),16===e&&r>=4&&(A.ios164CameraSelection=!0),e>=17&&(A.relyOnConstraintsForCameraSelection=!0)}}function v(e,t,r){let a=e.createShader(t);if(!a)throw new Error("Unable to create shader");e.shaderSource(a,r),e.compileShader(a);let i=e.getShaderInfoLog(a);if(i&&i.trim().length>0)throw new Error("Shader compile error: "+i);return a}"webkit"===R&&"ios"!==T&&(A.deviceMotionMutliplier=1,"undefined"!=typeof window&&void 0!==window.orientation&&k("15.0")),"webkit"===R&&"ios"===T&&(A.deviceMotionMutliplier=1,k(E.getOS().version||"15.0"));class x{constructor(e){this._gl=e,this._isPaused=!0,this._hadFrames=!1,this._isUserFacing=!1,this._cameraToScreenRotation=0,this._isUploadFrame=!0,this._computedTransformRotation=-1,this._computedFrontCameraRotation=!1,this._cameraUvTransform=m.Ue(),this._framebufferWidth=0,this._framebufferHeight=0,this._framebufferId=null,this._renderTexture=null,this._isWebGL2=!1,this._isWebGL2=e.getParameter(e.VERSION).indexOf("WebGL 2")>=0,this._isWebGL2||(this._instancedArraysExtension=this._gl.getExtension("ANGLE_instanced_arrays"))}resetGLContext(){this._framebufferId=null,this._renderTexture=null,this._vertexBuffer=void 0,this._indexBuffer=void 0,this._greyscaleShader=void 0}destroy(){this.resetGLContext()}uploadFrame(e,t,r,a){let i=this._gl;const _=g.get(i);_.push();const n=i.isEnabled(i.SCISSOR_TEST),s=i.isEnabled(i.DEPTH_TEST),o=i.isEnabled(i.BLEND),c=i.isEnabled(i.CULL_FACE),f=i.isEnabled(i.STENCIL_TEST),l=i.getParameter(i.ACTIVE_TEXTURE),u=i.getParameter(i.UNPACK_FLIP_Y_WEBGL),p=i.getParameter(i.CURRENT_PROGRAM);i.activeTexture(i.TEXTURE0);const d=i.getParameter(i.TEXTURE_BINDING_2D),h=i.getParameter(i.FRAMEBUFFER_BINDING),m=i.getParameter(i.ARRAY_BUFFER_BINDING),b=i.getParameter(i.ELEMENT_ARRAY_BUFFER_BINDING);i.disable(i.SCISSOR_TEST),i.disable(i.DEPTH_TEST),i.disable(i.BLEND),i.disable(i.CULL_FACE),i.disable(i.STENCIL_TEST),i.pixelStorei(i.UNPACK_FLIP_Y_WEBGL,!1),i.bindTexture(i.TEXTURE_2D,e);const w=i.RGBA,y=i.RGBA,E=i.UNSIGNED_BYTE;i.texImage2D(i.TEXTURE_2D,0,w,y,E,t);let T=0,R=0;"undefined"!=typeof HTMLVideoElement&&t instanceof HTMLVideoElement?(T=t.videoWidth,R=t.videoHeight):(T=t.width,R=t.height),R>T&&(R=[T,T=R][0]),this._updateTransforms(r,a);let k=this._getFramebuffer(i,A.dataWidth/4,A.dataHeight),v=this._getVertexBuffer(i),x=this._getIndexBuffer(i),L=this._getGreyscaleShader(i);const F=i.getVertexAttrib(L.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_SIZE),I=i.getVertexAttrib(L.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_TYPE),O=i.getVertexAttrib(L.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_NORMALIZED),M=i.getVertexAttrib(L.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_STRIDE),B=i.getVertexAttribOffset(L.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_POINTER),P=i.getVertexAttrib(L.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_ENABLED),V=i.getVertexAttrib(L.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),C=i.getVertexAttrib(L.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_SIZE),U=i.getVertexAttrib(L.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_TYPE),S=i.getVertexAttrib(L.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_NORMALIZED),z=i.getVertexAttrib(L.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_STRIDE),N=i.getVertexAttribOffset(L.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_POINTER),D=i.getVertexAttrib(L.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),G=i.getVertexAttrib(L.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_ENABLED);let W=0,X=0;this._isWebGL2?(W=i.getVertexAttrib(L.aVertexPositionLoc,i.VERTEX_ATTRIB_ARRAY_DIVISOR),X=i.getVertexAttrib(L.aTextureCoordLoc,i.VERTEX_ATTRIB_ARRAY_DIVISOR),i.vertexAttribDivisor(L.aVertexPositionLoc,0),i.vertexAttribDivisor(L.aTextureCoordLoc,0)):this._instancedArraysExtension&&(W=i.getVertexAttrib(L.aVertexPositionLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),X=i.getVertexAttrib(L.aTextureCoordLoc,this._instancedArraysExtension.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE),this._instancedArraysExtension.vertexAttribDivisorANGLE(L.aVertexPositionLoc,0),this._instancedArraysExtension.vertexAttribDivisorANGLE(L.aTextureCoordLoc,0)),i.bindFramebuffer(i.FRAMEBUFFER,k),i.viewport(0,0,this._framebufferWidth,this._framebufferHeight),i.clear(i.COLOR_BUFFER_BIT),i.bindBuffer(i.ARRAY_BUFFER,v),i.vertexAttribPointer(L.aVertexPositionLoc,2,i.FLOAT,!1,16,0),i.enableVertexAttribArray(L.aVertexPositionLoc),i.vertexAttribPointer(L.aTextureCoordLoc,2,i.FLOAT,!1,16,8),i.enableVertexAttribArray(L.aTextureCoordLoc),i.bindBuffer(i.ELEMENT_ARRAY_BUFFER,x),i.useProgram(L.program),i.uniform1f(L.uTexWidthLoc,A.dataWidth),i.uniformMatrix4fv(L.uUvTransformLoc,!1,this._cameraUvTransform),i.activeTexture(i.TEXTURE0),i.bindTexture(i.TEXTURE_2D,e),i.uniform1i(L.uSamplerLoc,0),i.drawElements(i.TRIANGLES,6,i.UNSIGNED_SHORT,0),i.bindBuffer(i.ARRAY_BUFFER,V),i.vertexAttribPointer(L.aVertexPositionLoc,F,I,O,M,B),i.bindBuffer(i.ARRAY_BUFFER,D),i.vertexAttribPointer(L.aTextureCoordLoc,C,U,S,z,N),i.bindBuffer(i.ARRAY_BUFFER,m),i.bindBuffer(i.ELEMENT_ARRAY_BUFFER,b),P||i.disableVertexAttribArray(L.aVertexPositionLoc),G||i.disableVertexAttribArray(L.aTextureCoordLoc),this._isWebGL2?(i.vertexAttribDivisor(L.aVertexPositionLoc,W),i.vertexAttribDivisor(L.aTextureCoordLoc,X)):this._instancedArraysExtension&&(this._instancedArraysExtension.vertexAttribDivisorANGLE(L.aVertexPositionLoc,W),this._instancedArraysExtension.vertexAttribDivisorANGLE(L.aTextureCoordLoc,X)),i.bindFramebuffer(i.FRAMEBUFFER,h),i.useProgram(p),i.bindTexture(i.TEXTURE_2D,d),i.activeTexture(l),i.pixelStorei(i.UNPACK_FLIP_Y_WEBGL,u),_.pop(),o&&i.enable(i.BLEND),c&&i.enable(i.CULL_FACE),s&&i.enable(i.DEPTH_TEST),n&&i.enable(i.SCISSOR_TEST),f&&i.enable(i.STENCIL_TEST)}readFrame(e,t){let r=this._gl,a=new Uint8Array(t);const i=r.getParameter(r.FRAMEBUFFER_BINDING);let _=this._getFramebuffer(r,A.dataWidth/4,A.dataHeight);return r.bindFramebuffer(r.FRAMEBUFFER,_),r.readPixels(0,0,this._framebufferWidth,this._framebufferHeight,r.RGBA,r.UNSIGNED_BYTE,a),r.bindFramebuffer(r.FRAMEBUFFER,i),{uvTransform:this._cameraUvTransform,data:t,texture:e,dataWidth:A.dataWidth,dataHeight:A.dataHeight,userFacing:this._computedFrontCameraRotation}}_updateTransforms(e,t){e==this._computedTransformRotation&&t==this._computedFrontCameraRotation||(this._computedTransformRotation=e,this._computedFrontCameraRotation=t,this._cameraUvTransform=this._getCameraUvTransform())}_getCameraUvTransform(){switch(this._computedTransformRotation){case 270:return new Float32Array([0,1,0,0,-1,0,0,0,0,0,1,0,1,0,0,1]);case 180:return new Float32Array([-1,0,0,0,0,-1,0,0,0,0,1,0,1,1,0,1]);case 90:return new Float32Array([0,-1,0,0,1,0,0,0,0,0,1,0,0,1,0,1])}return new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}_getFramebuffer(e,t,r){if(this._framebufferWidth===t&&this._framebufferHeight===r&&this._framebufferId)return this._framebufferId;if(this._framebufferId&&(e.deleteFramebuffer(this._framebufferId),this._framebufferId=null),this._renderTexture&&(e.deleteTexture(this._renderTexture),this._renderTexture=null),this._framebufferId=e.createFramebuffer(),!this._framebufferId)throw new Error("Unable to create framebuffer");if(e.bindFramebuffer(e.FRAMEBUFFER,this._framebufferId),this._renderTexture=e.createTexture(),!this._renderTexture)throw new Error("Unable to create render texture");e.activeTexture(e.TEXTURE0);const a=e.getParameter(e.TEXTURE_BINDING_2D);e.bindTexture(e.TEXTURE_2D,this._renderTexture),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,t,r,0,e.RGBA,e.UNSIGNED_BYTE,null),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameterf(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this._renderTexture,0);let i=e.checkFramebufferStatus(e.FRAMEBUFFER);if(i!==e.FRAMEBUFFER_COMPLETE)throw new Error("Framebuffer not complete: "+i.toString());return this._framebufferWidth=t,this._framebufferHeight=r,e.bindTexture(e.TEXTURE_2D,a),e.bindFramebuffer(e.FRAMEBUFFER,null),this._framebufferId}_getVertexBuffer(e){if(this._vertexBuffer)return this._vertexBuffer;if(this._vertexBuffer=e.createBuffer(),!this._vertexBuffer)throw new Error("Unable to create vertex buffer");e.bindBuffer(e.ARRAY_BUFFER,this._vertexBuffer);let t=new Float32Array([-1,-1,0,0,-1,1,0,1,1,1,1,1,1,-1,1,0]);return e.bufferData(e.ARRAY_BUFFER,t,e.STATIC_DRAW),this._vertexBuffer}_getIndexBuffer(e){if(this._indexBuffer)return this._indexBuffer;if(this._indexBuffer=e.createBuffer(),!this._indexBuffer)throw new Error("Unable to create index buffer");e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,this._indexBuffer);let t=new Uint16Array([0,1,2,0,2,3]);return e.bufferData(e.ELEMENT_ARRAY_BUFFER,t,e.STATIC_DRAW),this._indexBuffer}_getGreyscaleShader(e){if(this._greyscaleShader)return this._greyscaleShader;let t=e.createProgram();if(!t)throw new Error("Unable to create program");let r=v(e,e.VERTEX_SHADER,M),a=v(e,e.FRAGMENT_SHADER,B);e.attachShader(t,r),e.attachShader(t,a),function(e,t){e.linkProgram(t);let r=e.getProgramInfoLog(t);if(r&&r.trim().length>0)throw new Error("Unable to link: "+r)}(e,t);let i=e.getUniformLocation(t,"uTexWidth");if(!i)throw new Error("Unable to get uniform location uTexWidth");let _=e.getUniformLocation(t,"uUvTransform");if(!_)throw new Error("Unable to get uniform location uUvTransform");let n=e.getUniformLocation(t,"uSampler");if(!n)throw new Error("Unable to get uniform location uSampler");return this._greyscaleShader={program:t,aVertexPositionLoc:e.getAttribLocation(t,"aVertexPosition"),aTextureCoordLoc:e.getAttribLocation(t,"aTextureCoord"),uTexWidthLoc:i,uUvTransformLoc:_,uSamplerLoc:n},this._greyscaleShader}}let L,F,I,O,M="\n attribute vec4 aVertexPosition;\n attribute vec2 aTextureCoord;\n\n varying highp vec2 vTextureCoord1;\n varying highp vec2 vTextureCoord2;\n varying highp vec2 vTextureCoord3;\n varying highp vec2 vTextureCoord4;\n\n uniform float uTexWidth;\n\tuniform mat4 uUvTransform;\n\n void main(void) {\n highp vec2 offset1 = vec2(1.5 / uTexWidth, 0);\n highp vec2 offset2 = vec2(0.5 / uTexWidth, 0);\n\n gl_Position = aVertexPosition;\n vTextureCoord1 = (uUvTransform * vec4(aTextureCoord - offset1, 0, 1)).xy;\n vTextureCoord2 = (uUvTransform * vec4(aTextureCoord - offset2, 0, 1)).xy;\n vTextureCoord3 = (uUvTransform * vec4(aTextureCoord + offset2, 0, 1)).xy;\n vTextureCoord4 = (uUvTransform * vec4(aTextureCoord + offset1, 0, 1)).xy;\n }\n",B="\n varying highp vec2 vTextureCoord1;\n varying highp vec2 vTextureCoord2;\n varying highp vec2 vTextureCoord3;\n varying highp vec2 vTextureCoord4;\n\n uniform sampler2D uSampler;\n\n const lowp vec3 colorWeights = vec3(77.0 / 256.0, 150.0 / 256.0, 29.0 / 256.0);\n\n void main(void) {\n lowp vec4 outpx;\n\n outpx.r = dot(colorWeights, texture2D(uSampler, vTextureCoord1).xyz);\n outpx.g = dot(colorWeights, texture2D(uSampler, vTextureCoord2).xyz);\n outpx.b = dot(colorWeights, texture2D(uSampler, vTextureCoord3).xyz);\n outpx.a = dot(colorWeights, texture2D(uSampler, vTextureCoord4).xyz);\n\n gl_FragColor = outpx;\n }\n";var P=r(604),V=function(e,t,r,a){return new(r||(r=Promise))((function(i,_){function n(e){try{o(a.next(e))}catch(e){_(e)}}function s(e){try{o(a.throw(e))}catch(e){_(e)}}function o(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(n,s)}o((a=a.apply(e,t||[])).next())}))};let C,U=new class{constructor(){this.onOutgoingMessage=new s,this.onIncomingMessage=new o,this._outgoingMessages=[]}postIncomingMessage(e){this.onIncomingMessage.emit(e)}postOutgoingMessage(e,t){this._outgoingMessages.push({msg:e,transferables:t}),this.onOutgoingMessage.emit()}getOutgoingMessages(){let e=this._outgoingMessages;return this._outgoingMessages=[],e}},S=0,z=!1;const N=new Map;function D(e,t,r){return V(this,void 0,void 0,(function*(){let i=a.Z({locateFile:(t,r)=>t.endsWith("zappar-cv.wasm")?e:r+t,instantiateWasm:(e,r)=>{const a=new WebAssembly.Instance(t,e);return r(a),a.exports},onRuntimeInitialized:()=>{let e=function(e){let t=e.cwrap("zappar_log_level","number",[]),r=e.cwrap("zappar_log_level_set",null,["number"]),a=e.cwrap("zappar_analytics_project_id_set",null,["string","string"]),i=e.cwrap("zappar_pipeline_create","number",[]),_=e.cwrap("zappar_pipeline_destroy",null,["number"]),n=e.cwrap("zappar_pipeline_camera_frame_data_raw","number",["number"]),s=e.cwrap("zappar_pipeline_camera_frame_data_raw_size","number",["number"]),o=e.cwrap("zappar_pipeline_camera_frame_data_raw_width","number",["number"]),c=e.cwrap("zappar_pipeline_camera_frame_data_raw_height","number",["number"]),f=e.cwrap("zappar_pipeline_frame_update",null,["number"]),l=e.cwrap("zappar_pipeline_frame_number","number",["number"]),u=e.cwrap("zappar_pipeline_camera_model","number",["number"]),p=e.cwrap("zappar_pipeline_camera_frame_user_data","number",["number"]),d=e.cwrap("zappar_pipeline_camera_frame_submit",null,["number","number","number","number","number","number","number","number","number"]),h=e.cwrap("zappar_pipeline_camera_frame_submit_raw_pointer",null,["number","number","number","number","number","number","number","number","number","number","number","number"]),m=e.cwrap("zappar_pipeline_camera_frame_camera_attitude","number",["number"]),b=e.cwrap("zappar_pipeline_camera_frame_device_attitude","number",["number"]),g=e.cwrap("zappar_pipeline_motion_accelerometer_submit",null,["number","number","number","number","number"]),w=e.cwrap("zappar_pipeline_motion_accelerometer_with_gravity_submit_int",null,["number","number","number","number","number","number"]),y=e.cwrap("zappar_pipeline_motion_accelerometer_without_gravity_submit_int",null,["number","number","number","number","number","number"]),A=e.cwrap("zappar_pipeline_motion_rotation_rate_submit",null,["number","number","number","number","number"]),E=e.cwrap("zappar_pipeline_motion_rotation_rate_submit_int",null,["number","number","number","number","number","number"]),T=e.cwrap("zappar_pipeline_motion_attitude_submit",null,["number","number","number","number","number"]),R=e.cwrap("zappar_pipeline_motion_attitude_submit_int",null,["number","number","number","number","number","number"]),k=e.cwrap("zappar_pipeline_motion_attitude_matrix_submit",null,["number","number"]),v=e.cwrap("zappar_camera_source_create","number",["number","string"]),x=e.cwrap("zappar_camera_source_destroy",null,["number"]),L=e.cwrap("zappar_sequence_source_create","number",["number"]),F=e.cwrap("zappar_sequence_source_destroy",null,["number"]),I=e.cwrap("zappar_image_tracker_create","number",["number"]),O=e.cwrap("zappar_image_tracker_destroy",null,["number"]),M=e.cwrap("zappar_image_tracker_target_load_from_memory",null,["number","number","number"]),B=e.cwrap("zappar_image_tracker_target_loaded_version","number",["number"]),P=e.cwrap("zappar_image_tracker_enabled","number",["number"]),V=e.cwrap("zappar_image_tracker_enabled_set",null,["number","number"]),C=e.cwrap("zappar_image_tracker_anchor_count","number",["number"]),U=e.cwrap("zappar_image_tracker_anchor_id","string",["number","number"]),S=e.cwrap("zappar_image_tracker_anchor_pose_raw","number",["number","number"]),z=e.cwrap("zappar_face_tracker_create","number",["number"]),N=e.cwrap("zappar_face_tracker_destroy",null,["number"]),D=e.cwrap("zappar_face_tracker_model_load_from_memory",null,["number","number","number"]),G=e.cwrap("zappar_face_tracker_model_loaded_version","number",["number"]),W=e.cwrap("zappar_face_tracker_enabled_set",null,["number","number"]),X=e.cwrap("zappar_face_tracker_enabled","number",["number"]),H=e.cwrap("zappar_face_tracker_max_faces_set",null,["number","number"]),Y=e.cwrap("zappar_face_tracker_max_faces","number",["number"]),q=e.cwrap("zappar_face_tracker_anchor_count","number",["number"]),j=e.cwrap("zappar_face_tracker_anchor_id","string",["number","number"]),K=e.cwrap("zappar_face_tracker_anchor_pose_raw","number",["number","number"]),Z=e.cwrap("zappar_face_tracker_anchor_identity_coefficients","number",["number","number"]),Q=e.cwrap("zappar_face_tracker_anchor_expression_coefficients","number",["number","number"]),J=e.cwrap("zappar_face_mesh_create","number",[]),$=e.cwrap("zappar_face_mesh_destroy",null,["number"]),ee=e.cwrap("zappar_face_landmark_create","number",["number"]),te=e.cwrap("zappar_face_landmark_destroy",null,["number"]),re=e.cwrap("zappar_barcode_finder_create","number",["number"]),ae=e.cwrap("zappar_barcode_finder_destroy",null,["number"]),ie=e.cwrap("zappar_barcode_finder_enabled_set",null,["number","number"]),_e=e.cwrap("zappar_barcode_finder_enabled","number",["number"]),ne=e.cwrap("zappar_barcode_finder_found_number","number",["number"]),se=e.cwrap("zappar_barcode_finder_found_text","string",["number","number"]),oe=e.cwrap("zappar_barcode_finder_found_format","number",["number","number"]),ce=e.cwrap("zappar_barcode_finder_formats","number",["number"]),fe=e.cwrap("zappar_barcode_finder_formats_set",null,["number","number"]),le=e.cwrap("zappar_instant_world_tracker_create","number",["number"]),ue=e.cwrap("zappar_instant_world_tracker_destroy",null,["number"]),pe=e.cwrap("zappar_instant_world_tracker_enabled_set",null,["number","number"]),de=e.cwrap("zappar_instant_world_tracker_enabled","number",["number"]),he=e.cwrap("zappar_instant_world_tracker_anchor_pose_raw","number",["number"]),me=e.cwrap("zappar_instant_world_tracker_anchor_pose_set_from_camera_offset_raw",null,["number","number","number","number","number"]),be=e.cwrap("zappar_world_tracker_create","number",["number"]),ge=e.cwrap("zappar_world_tracker_destroy",null,["number"]),we=e.cwrap("zappar_world_tracker_enabled","number",["number"]),ye=e.cwrap("zappar_world_tracker_enabled_set",null,["number","number"]),Ae=e.cwrap("zappar_world_tracker_quality","number",["number"]),Ee=e.cwrap("zappar_world_tracker_plane_count","number",["number"]),Te=e.cwrap("zappar_world_tracker_plane_pose_raw","number",["number","number"]),Re=e.cwrap("zappar_world_tracker_world_anchor_valid","number",["number"]),ke=e.cwrap("zappar_world_tracker_world_anchor_pose_raw","number",["number"]),ve=e.cwrap("zappar_world_tracker_ground_anchor_valid","number",["number"]),xe=e.cwrap("zappar_world_tracker_ground_anchor_pose_raw","number",["number"]),Le=e.cwrap("zappar_world_tracker_reset",null,["number"]),Fe=e.cwrap("zappar_world_tracker_debug_enabled","number",["number"]),Ie=e.cwrap("zappar_world_tracker_debug_enabled_set",null,["number","number"]),Oe=e.cwrap("zappar_world_tracker_debug_tracks_data_size","number",["number"]),Me=e.cwrap("zappar_world_tracker_debug_tracks_data","number",["number"]),Be=e.cwrap("zappar_world_tracker_debug_projections_data_size","number",["number"]),Pe=e.cwrap("zappar_world_tracker_debug_projections_data","number",["number"]),Ve=32,Ce=e._malloc(Ve),Ue=(e._malloc(64),new Map),Se=(t,r)=>{let a=Ue.get(t);return(!a||a[0]<r)&&(a&&e._free(a[1]),a=[r,e._malloc(r)],Ue.set(t,a)),a[1]};return{log_level:()=>t(),log_level_set:e=>r(e),analytics_project_id_set:(e,t)=>a(e,t),pipeline_create:()=>i(),pipeline_destroy:()=>{_()},pipeline_camera_frame_data_raw:e=>n(e),pipeline_camera_frame_data_raw_size:e=>s(e),pipeline_camera_frame_data_raw_width:e=>o(e),pipeline_camera_frame_data_raw_height:e=>c(e),pipeline_frame_update:e=>f(e),pipeline_frame_number:e=>l(e),pipeline_camera_model:t=>{let r=u(t),a=new Float32Array(6);return a.set(e.HEAPF32.subarray(r/4,6+r/4)),r=a,r},pipeline_camera_frame_user_data:e=>p(e),pipeline_camera_frame_submit:(t,r,a,i,_,n,s,o)=>{Ve<r.byteLength&&(e._free(Ce),Ve=r.byteLength,Ce=e._malloc(Ve));let c=Ce,f=r.byteLength;e.HEAPU8.set(new Uint8Array(r),Ce);let l=a,u=i,p=_,h=Se(4,n.byteLength);e.HEAPF32.set(n,h/4);let m=Se(5,s.byteLength);return e.HEAPF32.set(s,m/4),d(t,c,f,l,u,p,h,m,o?1:0)},pipeline_camera_frame_submit_raw_pointer:(t,r,a,i,_,n,s,o,c,f,l,u)=>{let p=r,d=a,m=i,b=_,g=n,w=s,y=Se(6,o.byteLength);e.HEAPF32.set(o,y/4);let A=c,E=Se(8,f.byteLength);return e.HEAPF32.set(f,E/4),h(t,p,d,m,b,g,w,y,A,E,l?1:0,u)},pipeline_camera_frame_camera_attitude:t=>{let r=m(t),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(r/4,16+r/4)),r=a,r},pipeline_camera_frame_device_attitude:t=>{let r=b(t),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(r/4,16+r/4)),r=a,r},pipeline_motion_accelerometer_submit:(e,t,r,a,i)=>g(e,t,r,a,i),pipeline_motion_accelerometer_with_gravity_submit_int:(e,t,r,a,i,_)=>w(e,t,r,a,i,_),pipeline_motion_accelerometer_without_gravity_submit_int:(e,t,r,a,i,_)=>y(e,t,r,a,i,_),pipeline_motion_rotation_rate_submit:(e,t,r,a,i)=>A(e,t,r,a,i),pipeline_motion_rotation_rate_submit_int:(e,t,r,a,i,_)=>E(e,t,r,a,i,_),pipeline_motion_attitude_submit:(e,t,r,a,i)=>T(e,t,r,a,i),pipeline_motion_attitude_submit_int:(e,t,r,a,i,_)=>R(e,t,r,a,i,_),pipeline_motion_attitude_matrix_submit:(t,r)=>{let a=Se(0,r.byteLength);return e.HEAPF32.set(r,a/4),k(t,a)},camera_source_create:(e,t)=>v(e,t),camera_source_destroy:()=>{x()},sequence_source_create:e=>L(e),sequence_source_destroy:()=>{F()},image_tracker_create:e=>I(e),image_tracker_destroy:()=>{O()},image_tracker_target_load_from_memory:(t,r)=>{Ve<r.byteLength&&(e._free(Ce),Ve=r.byteLength,Ce=e._malloc(Ve));let a=Ce,i=r.byteLength;return e.HEAPU8.set(new Uint8Array(r),Ce),M(t,a,i)},image_tracker_target_loaded_version:e=>B(e),image_tracker_enabled:e=>{let t=P(e);return t=1===t,t},image_tracker_enabled_set:(e,t)=>V(e,t?1:0),image_tracker_anchor_count:e=>C(e),image_tracker_anchor_id:(e,t)=>U(e,t),image_tracker_anchor_pose_raw:(t,r)=>{let a=S(t,r),i=new Float32Array(16);return i.set(e.HEAPF32.subarray(a/4,16+a/4)),a=i,a},face_tracker_create:e=>z(e),face_tracker_destroy:()=>{N()},face_tracker_model_load_from_memory:(t,r)=>{Ve<r.byteLength&&(e._free(Ce),Ve=r.byteLength,Ce=e._malloc(Ve));let a=Ce,i=r.byteLength;return e.HEAPU8.set(new Uint8Array(r),Ce),D(t,a,i)},face_tracker_model_loaded_version:e=>G(e),face_tracker_enabled_set:(e,t)=>W(e,t?1:0),face_tracker_enabled:e=>{let t=X(e);return t=1===t,t},face_tracker_max_faces_set:(e,t)=>H(e,t),face_tracker_max_faces:e=>Y(e),face_tracker_anchor_count:e=>q(e),face_tracker_anchor_id:(e,t)=>j(e,t),face_tracker_anchor_pose_raw:(t,r)=>{let a=K(t,r),i=new Float32Array(16);return i.set(e.HEAPF32.subarray(a/4,16+a/4)),a=i,a},face_tracker_anchor_identity_coefficients:(t,r)=>{let a=Z(t,r),i=new Float32Array(50);return i.set(e.HEAPF32.subarray(a/4,50+a/4)),a=i,a},face_tracker_anchor_expression_coefficients:(t,r)=>{let a=Q(t,r),i=new Float32Array(29);return i.set(e.HEAPF32.subarray(a/4,29+a/4)),a=i,a},face_mesh_create:()=>J(),face_mesh_destroy:()=>{$()},face_landmark_create:e=>ee(e),face_landmark_destroy:()=>{te()},barcode_finder_create:e=>re(e),barcode_finder_destroy:()=>{ae()},barcode_finder_enabled_set:(e,t)=>ie(e,t?1:0),barcode_finder_enabled:e=>{let t=_e(e);return t=1===t,t},barcode_finder_found_number:e=>ne(e),barcode_finder_found_text:(e,t)=>se(e,t),barcode_finder_found_format:(e,t)=>oe(e,t),barcode_finder_formats:e=>ce(e),barcode_finder_formats_set:(e,t)=>fe(e,t),instant_world_tracker_create:e=>le(e),instant_world_tracker_destroy:()=>{ue()},instant_world_tracker_enabled_set:(e,t)=>pe(e,t?1:0),instant_world_tracker_enabled:e=>{let t=de(e);return t=1===t,t},instant_world_tracker_anchor_pose_raw:t=>{let r=he(t),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(r/4,16+r/4)),r=a,r},instant_world_tracker_anchor_pose_set_from_camera_offset_raw:(e,t,r,a,i)=>me(e,t,r,a,i),world_tracker_create:e=>be(e),world_tracker_destroy:()=>{ge()},world_tracker_enabled:e=>{let t=we(e);return t=1===t,t},world_tracker_enabled_set:(e,t)=>ye(e,t?1:0),world_tracker_quality:e=>Ae(e),world_tracker_plane_count:e=>Ee(e),world_tracker_plane_pose_raw:(t,r)=>{let a=Te(t,r),i=new Float32Array(16);return i.set(e.HEAPF32.subarray(a/4,16+a/4)),a=i,a},world_tracker_world_anchor_valid:e=>{let t=Re(e);return t=1===t,t},world_tracker_world_anchor_pose_raw:t=>{let r=ke(t),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(r/4,16+r/4)),r=a,r},world_tracker_ground_anchor_valid:e=>{let t=ve(e);return t=1===t,t},world_tracker_ground_anchor_pose_raw:t=>{let r=xe(t),a=new Float32Array(16);return a.set(e.HEAPF32.subarray(r/4,16+r/4)),r=a,r},world_tracker_reset:e=>Le(e),world_tracker_debug_enabled:e=>{let t=Fe(e);return t=1===t,t},world_tracker_debug_enabled_set:(e,t)=>Ie(e,t?1:0),world_tracker_debug_tracks_data_size:e=>Oe(e),world_tracker_debug_tracks_data:t=>{let r=Me(t),a=Oe(t),i=new Float32Array(a);return i.set(e.HEAPF32.subarray(r/4,a+r/4)),r=i,r},world_tracker_debug_projections_data_size:e=>Be(e),world_tracker_debug_projections_data:t=>{let r=Pe(t),a=Be(t),i=new Float32Array(a);return i.set(e.HEAPF32.subarray(r/4,a+r/4)),r=i,r}}}(i);const t=(0,P.g)(i),a=r?function(e){return{data_download_clear:e.cwrap("data_download_clear",null,[]),data_download_size:e.cwrap("data_download_size","number",[]),data_download:e.cwrap("data_download","number",[]),data_should_record_set:e.cwrap("data_should_record_set",null,["number"])}}(i):void 0;null==a||a.data_should_record_set(1);let _=new n(e,((e,t)=>{U.postOutgoingMessage({p:e,t:"zappar",d:t},[t])}));U.postOutgoingMessage("loaded",[]),U.onIncomingMessage.bind((r=>{var n,s,o;switch(r.t){case"zappar":_.processBuffer(r.d),U.postOutgoingMessage({t:"buf",d:r.d},[r.d]);break;case"buf":null===(n=_.serializersByPipelineId.get(r.p))||void 0===n||n.bufferReturn(r.d);break;case"cameraFrameC2S":{let n,s=r,o=_._pipeline_by_instance.get(s.p);o&&(e.pipeline_camera_frame_submit(o,s.d,s.width,s.height,s.token,s.c2d,s.cm,s.userFacing),e.pipeline_frame_update(o),n=e.pipeline_camera_frame_device_attitude(o),_.exploreState(),Q(i,t),a&&J(i,a));let c={token:s.token,d:s.d,p:s.p,t:"cameraFrameRecycleS2C",att:n};U.postOutgoingMessage(c,[s.d]);break}case"rawenabled":z=r.v;break;case"rawrequest":{const e=r,t=N.get(e.p),a={t:"raw",token:e.token,p:e.p,data:t&&null!==(o=null===(s=t.ready.find((t=>t.token===e.token)))||void 0===s?void 0:s.data)&&void 0!==o?o:null};U.postOutgoingMessage(a,[]);break}case"streamC2S":{let n=r;(function(e,t,r,a,i,_,n,s,o){return V(this,void 0,void 0,(function*(){for(;;){let c;try{c=yield r.getReader()}catch(e){yield K(1e3);continue}try{return void(yield j(e,t,c,a,i,_,n,s,o))}catch(e){}return void(yield K(1e3))}}))})(i,e,n.s,n.p,n.userFacing,_,n.source,t,a).then((()=>{let e={t:"streamEndedS2C",p:n.p,source:n.source};U.postOutgoingMessage(e,[])})).catch((e=>{}));break}case"cameraToScreenC2S":S=r.r;break;case"imageBitmapC2S":!function(e,t,r,a){const[i,_]=function(){if(!I||!O){const e=new OffscreenCanvas(1,1);if(O=e.getContext("webgl"),!O)throw new Error("Unable to get offscreen GL context");I=new x(O)}return[I,O]}();if(F||(F=_.createTexture(),_.bindTexture(_.TEXTURE_2D,F),_.texParameteri(_.TEXTURE_2D,_.TEXTURE_WRAP_S,_.CLAMP_TO_EDGE),_.texParameteri(_.TEXTURE_2D,_.TEXTURE_WRAP_T,_.CLAMP_TO_EDGE),_.texParameteri(_.TEXTURE_2D,_.TEXTURE_MIN_FILTER,_.LINEAR)),!F)return;(!L||L.byteLength<A.dataWidth*A.dataHeight)&&(L=new ArrayBuffer(A.dataWidth*A.dataHeight)),i.uploadFrame(F,e.i,e.r,e.userFacing);let n=i.readFrame(F,L),s={t:"imageBitmapS2C",dataWidth:n.dataWidth,dataHeight:n.dataHeight,frame:e.i,userFacing:n.userFacing,uvTransform:n.uvTransform||m.Ue(),tokenId:e.tokenId,p:e.p};a.postOutgoingMessage(s,[e.i]);let o=r._pipeline_by_instance.get(e.p);o&&(t.pipeline_camera_frame_submit(o,L,n.dataWidth,n.dataHeight,e.tokenId,e.cameraToDevice,e.cameraModel,n.userFacing),t.pipeline_frame_update(o),r.exploreState())}(r,e,_,U);break;case"sensorDataC2S":{const t=r,a=_._pipeline_by_instance.get(t.p);if(!a)break;switch(t.sensor){case"accel":e.pipeline_motion_accelerometer_submit(a,t.timestamp,t.x,t.y,t.z);break;case"accel_w_gravity_int":e.pipeline_motion_accelerometer_with_gravity_submit_int(a,t.timestamp,t.interval,t.x,t.y,t.z);break;case"accel_wo_gravity_int":e.pipeline_motion_accelerometer_without_gravity_submit_int(a,t.timestamp,t.interval,t.x,t.y,t.z);break;case"attitude_int":e.pipeline_motion_attitude_submit_int(a,t.timestamp,t.interval,t.x,t.y,t.z);break;case"attitude":e.pipeline_motion_attitude_submit(a,t.timestamp,t.x,t.y,t.z);break;case"rotation_rate_int":e.pipeline_motion_rotation_rate_submit_int(a,t.timestamp,t.interval,t.x,t.y,t.z);break;case"rotation_rate":e.pipeline_motion_rotation_rate_submit(a,t.timestamp,t.x,t.y,t.z)}break}case"attitudeMatrixC2S":{const t=r,a=_._pipeline_by_instance.get(t.p);if(!a)break;e.pipeline_motion_attitude_matrix_submit(a,t.m);break}}}))}})}))}let G=0,W=0,X=1;function H(e){return new Promise(((t,r)=>{const a=setTimeout((()=>{r("Frame timeout")}),2e3);e.read().then((e=>{clearTimeout(a),t(e)}))}))}const Y=m.Ue(),q=new Float32Array([300,300,160,120,0,0]);function j(e,t,r,a,i,_,n,s,o){var c,f;return V(this,void 0,void 0,(function*(){for(;;){let l=yield H(r);if(l.done)return void(null===(c=l.value)||void 0===c||c.close());let u=l.value,p=u.allocationSize();p>W&&(G>0&&e._free(G),G=e._malloc(p),W=p),yield u.copyTo(e.HEAPU8.subarray(G,G+W));let d=X;X++;const h=u.visibleRect.width,b=u.visibleRect.height;let g,w=h,y=b;switch(S){case 270:g=new Float32Array([0,1,0,0,-1,0,0,0,0,0,1,0,1,0,0,1]),w=b,y=h;break;case 180:g=new Float32Array([-1,0,0,0,0,-1,0,0,0,0,1,0,1,1,0,1]);break;case 90:g=new Float32Array([0,-1,0,0,1,0,0,0,0,0,1,0,0,1,0,1]),w=b,y=h;break;default:g=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}let E=u.clone();i?m.xJ(Y,[-1,1,-1]):m.yR(Y);let T=300*A.dataWidth/320;q[0]=T,q[1]=T,q[2]=.5*A.dataWidth,q[3]=.5*A.dataHeight;const R={token:d,d:E,p:a,t:"videoFrameS2C",userFacing:i,uvTransform:g,w:A.dataWidth,h:A.dataHeight,cameraToDevice:Y,cameraModel:q,source:n};U.postOutgoingMessage(R,[R.d,R.uvTransform.buffer]);const k=_._pipeline_by_instance.get(a);if(k){try{t.pipeline_camera_frame_submit_raw_pointer(k,G,p,Z(u.format),h,b,d,Y,S,q,i,null!==(f=u.timestamp)&&void 0!==f?f:-1),Q(e,s),o&&J(e,o)}catch(e){console.log("Exception during camera processing",e)}if(t.pipeline_frame_update(k),z){let r=N.get(a);if(r||(r={available:[],ready:[]},N.set(a,r)),r.ready.length>4){const e=r.ready.splice(0,1);for(const t of e)r.available.push(new Uint8Array(t.data.data))}const i=t.pipeline_camera_frame_data_raw_size(k);let _;for(;!_||_.byteLength<i;)r.available.length<1&&r.available.push(new Uint8Array(i)),_=r.available.pop();const n=t.pipeline_camera_frame_data_raw(k);_.set(e.HEAPU8.subarray(n,n+i)),r.ready.push({token:d,data:{data:_,width:t.pipeline_camera_frame_data_raw_width(a),height:t.pipeline_camera_frame_data_raw_height(a)}})}_.exploreState()}u.close()}}))}function K(e){return new Promise((t=>{setTimeout(t,e)}))}function Z(e){switch(e){case"I420":return p.FRAME_PIXEL_FORMAT_I420;case"I420A":return p.FRAME_PIXEL_FORMAT_I420A;case"I422":return p.FRAME_PIXEL_FORMAT_I422;case"I444":return p.FRAME_PIXEL_FORMAT_I444;case"NV12":return p.FRAME_PIXEL_FORMAT_NV12;case"RGBA":case"RGBX":return p.FRAME_PIXEL_FORMAT_RGBA;case"BGRA":case"BGRX":return p.FRAME_PIXEL_FORMAT_BGRA}return p.FRAME_PIXEL_FORMAT_Y}function Q(e,t){const r=t.worker_message_send_count();if(0!==r){C||(C=new MessageChannel,C.port1.start(),C.port1.addEventListener("message",(r=>{if("msgrec"!==r.data.t)return;const a=r.data.data,i=e._malloc(a.byteLength);e.HEAPU8.set(a,i),t.worker_message_receive(r.data.reference,a.byteLength,i),e._free(i)})),U.postOutgoingMessage({t:"setupCeresWorker",port:C.port2},[C.port2]));for(let a=0;a<r;a++){const r=t.worker_message_send_reference(a),i=t.worker_message_send_data_size(a),_=t.worker_message_send_data(a),n=e.HEAPU8.slice(_,_+i);C.port1.postMessage({t:"msgsend",data:n,reference:r},[n.buffer])}t.worker_message_send_clear()}}function J(e,t){const r=t.data_download_size();if(0===r)return;const a=t.data_download(),i=e.HEAPU8.slice(a,a+r);U.postOutgoingMessage({t:"_z_datadownload",data:i},[i.buffer]),t.data_download_clear()}const $=self;U.onOutgoingMessage.bind((()=>{let e=U.getOutgoingMessages();for(let t of e)$.postMessage(t.msg,t.transferables)}));let ee=e=>{var t;e&&e.data&&"wasm"===e.data.t&&(D(location.href.startsWith("blob")?e.data.url:new URL(r(751),r.b).toString(),e.data.module,null!==(t=e.data.shouldRecordData)&&void 0!==t&&t),$.removeEventListener("message",ee))};$.addEventListener("message",ee),$.addEventListener("message",(e=>{U.postIncomingMessage(e.data)}))}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var _=a[e]={exports:{}};return r[e].call(_.exports,_,_.exports,i),_.exports}return i.m=r,i.x=()=>{var e=i.O(void 0,[169,867],(()=>i(152)));return i.O(e)},i.amdO={},e=[],i.O=(t,r,a,_)=>{if(!r){var n=1/0;for(f=0;f<e.length;f++){for(var[r,a,_]=e[f],s=!0,o=0;o<r.length;o++)(!1&_||n>=_)&&Object.keys(i.O).every((e=>i.O[e](r[o])))?r.splice(o--,1):(s=!1,_<n&&(n=_));if(s){e.splice(f--,1);var c=a();void 0!==c&&(t=c)}}return t}_=_||0;for(var f=e.length;f>0&&e[f-1][2]>_;f--)e[f]=e[f-1];e[f]=[r,a,_]},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>e+".zappar-cv.js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var a=r.length-1;a>-1&&!e;)e=r[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{i.b=self.location+"";var e={751:1};i.f.i=(t,r)=>{e[t]||importScripts(i.p+i.u(t))};var t=self.webpackChunkZCV=self.webpackChunkZCV||[],r=t.push.bind(t);t.push=t=>{var[a,_,n]=t;for(var s in _)i.o(_,s)&&(i.m[s]=_[s]);for(n&&n(i);a.length;)e[a.pop()]=1;r(t)}})(),t=i.x,i.x=()=>Promise.all([i.e(169),i.e(867)]).then(t),i.x()})()));
|
package/umd/867.zappar-cv.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkZCV=self.webpackChunkZCV||[]).push([[867],{604:(e,r,a)=>{function t(e){return{worker_message_send_count:e.cwrap("worker_message_send_count","number",[]),worker_message_send_clear:e.cwrap("worker_message_send_clear",null,[]),worker_message_send_data_size:e.cwrap("worker_message_send_data_size","number",["number"]),worker_message_send_data:e.cwrap("worker_message_send_data","number",["number"]),worker_message_send_reference:e.cwrap("worker_message_send_reference","number",["number"]),worker_message_receive:e.cwrap("worker_message_receive",null,["number","number","number"])}}a.d(r,{g:()=>t})},581:(e,r,a)=>{var t;a.d(r,{Z:()=>i});const i=(t="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(e={}){var r,a,i=e;i.ready=new Promise(((e,t)=>{r=e,a=t}));var n,o=Object.assign({},i),_="./this.program",c=(e,r)=>{throw r},h="";h=self.location.href,t&&(h=t),h=h.startsWith("blob:")?"":h.substr(0,h.replace(/[?#].*/,"").lastIndexOf("/")+1),n=e=>{var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)};var s,l=i.print||console.log.bind(console),u=i.printErr||console.error.bind(console);Object.assign(i,o),o=null,i.thisProgram&&(_=i.thisProgram),i.quit&&(c=i.quit),i.wasmBinary&&(s=i.wasmBinary),"object"!=typeof WebAssembly&&A("no native wasm support detected");var d,f,p,v,E,m,b,w,g,y,N=!1;function S(){var e=d.buffer;i.HEAP8=p=new Int8Array(e),i.HEAP16=E=new Int16Array(e),i.HEAPU8=v=new Uint8Array(e),i.HEAPU16=m=new Uint16Array(e),i.HEAP32=b=new Int32Array(e),i.HEAPU32=w=new Uint32Array(e),i.HEAPF32=g=new Float32Array(e),i.HEAPF64=y=new Float64Array(e)}var z=[],k=[],I=[];function P(){var e=i.preRun.shift();z.unshift(e)}var L,j,R,x=0,K=null,M=null;function Z(){x++,i.monitorRunDependencies?.(x)}function C(){if(x--,i.monitorRunDependencies?.(x),0==x&&(null!==K&&(clearInterval(K),K=null),M)){var e=M;M=null,e()}}function A(e){throw i.onAbort?.(e),u(e="Aborted("+e+")"),N=!0,f=1,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),a(e),e}if(!(L="zappar-cv.wasm").startsWith("data:application/octet-stream;base64,")){var F=L;L=i.locateFile?i.locateFile(F,h):h+F}function D(e){this.name="ExitStatus",this.message=`Program terminated with exit(${e})`,this.status=e}var T=e=>{for(;0<e.length;)e.shift()(i)},O=i.noExitRuntime||!0,q=[],U=0,B=0;class W{constructor(e){this.uh=e,this.jh=e-24}}var G=e=>{var r=B;if(!r)return ua(0),0;var a=new W(r);w[a.jh+16>>2]=r;var t=w[a.jh+4>>2];if(!t)return ua(0),r;for(var i in e){var n=e[i];if(0===n||n===t)break;if(ma(n,t,a.jh+16))return ua(n),r}return ua(t),r},Y=()=>{var e=q.pop();e||A("no exception to throw");var r=e.uh;throw 0==p[e.jh+13>>0]&&(q.push(e),p[e.jh+13>>0]=1,p[e.jh+12>>0]=0,U++),B=r},H=(e,r)=>{for(var a=0,t=e.length-1;0<=t;t--){var i=e[t];"."===i?e.splice(t,1):".."===i?(e.splice(t,1),a++):a&&(e.splice(t,1),a--)}if(r)for(;a;a--)e.unshift("..");return e},V=e=>{var r="/"===e.charAt(0),a="/"===e.substr(-1);return(e=H(e.split("/").filter((e=>!!e)),!r).join("/"))||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},$=e=>{var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1);return e=r[0],r=r[1],e||r?(r&&=r.substr(0,r.length-1),e+r):"."},X=e=>{if("/"===e)return"/";var r=(e=(e=V(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===r?e:e.substr(r+1)},J=e=>(J=(()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return e=>crypto.getRandomValues(e);A("initRandomDevice")})())(e);function Q(){for(var e="",r=!1,a=arguments.length-1;-1<=a&&!r;a--){if("string"!=typeof(r=0<=a?arguments[a]:"/"))throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";e=r+"/"+e,r="/"===r.charAt(0)}return(r?"/":"")+(e=H(e.split("/").filter((e=>!!e)),!r).join("/"))||"."}var ee="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,re=(e,r,a)=>{var t=r+a;for(a=r;e[a]&&!(a>=t);)++a;if(16<a-r&&e.buffer&&ee)return ee.decode(e.subarray(r,a));for(t="";r<a;){var i=e[r++];if(128&i){var n=63&e[r++];if(192==(224&i))t+=String.fromCharCode((31&i)<<6|n);else{var o=63&e[r++];65536>(i=224==(240&i)?(15&i)<<12|n<<6|o:(7&i)<<18|n<<12|o<<6|63&e[r++])?t+=String.fromCharCode(i):(i-=65536,t+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else t+=String.fromCharCode(i)}return t},ae=[],te=e=>{for(var r=0,a=0;a<e.length;++a){var t=e.charCodeAt(a);127>=t?r++:2047>=t?r+=2:55296<=t&&57343>=t?(r+=4,++a):r+=3}return r},ie=(e,r,a,t)=>{if(!(0<t))return 0;var i=a;t=a+t-1;for(var n=0;n<e.length;++n){var o=e.charCodeAt(n);if(55296<=o&&57343>=o&&(o=65536+((1023&o)<<10)|1023&e.charCodeAt(++n)),127>=o){if(a>=t)break;r[a++]=o}else{if(2047>=o){if(a+1>=t)break;r[a++]=192|o>>6}else{if(65535>=o){if(a+2>=t)break;r[a++]=224|o>>12}else{if(a+3>=t)break;r[a++]=240|o>>18,r[a++]=128|o>>12&63}r[a++]=128|o>>6&63}r[a++]=128|63&o}}return r[a]=0,a-i};function ne(e,r){var a=Array(te(e)+1);return e=ie(e,a,0,a.length),r&&(a.length=e),a}var oe=[];function _e(e,r){oe[e]={input:[],kh:[],sh:r},Fe(e,ce)}var ce={open(e){var r=oe[e.node.Dh];if(!r)throw new ge(43);e.hh=r,e.seekable=!1},close(e){e.hh.sh.Hh(e.hh)},Hh(e){e.hh.sh.Hh(e.hh)},read(e,r,a,t){if(!e.hh||!e.hh.sh.Wh)throw new ge(60);for(var i=0,n=0;n<t;n++){try{var o=e.hh.sh.Wh(e.hh)}catch(e){throw new ge(29)}if(void 0===o&&0===i)throw new ge(6);if(null==o)break;i++,r[a+n]=o}return i&&(e.node.timestamp=Date.now()),i},write(e,r,a,t){if(!e.hh||!e.hh.sh.Rh)throw new ge(60);try{for(var i=0;i<t;i++)e.hh.sh.Rh(e.hh,r[a+i])}catch(e){throw new ge(29)}return t&&(e.node.timestamp=Date.now()),i}},he={Wh(){e:{if(!ae.length){var e=null;if("undefined"!=typeof window&&"function"==typeof window.prompt?null!==(e=window.prompt("Input: "))&&(e+="\n"):"function"==typeof readline&&null!==(e=readline())&&(e+="\n"),!e){e=null;break e}ae=ne(e,!0)}e=ae.shift()}return e},Rh(e,r){null===r||10===r?(l(re(e.kh,0)),e.kh=[]):0!=r&&e.kh.push(r)},Hh(e){e.kh&&0<e.kh.length&&(l(re(e.kh,0)),e.kh=[])},li:()=>({Di:25856,Fi:5,Ci:191,Ei:35387,Bi:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),mi:()=>0,ni:()=>[24,80]},se={Rh(e,r){null===r||10===r?(u(re(e.kh,0)),e.kh=[]):0!=r&&e.kh.push(r)},Hh(e){e.kh&&0<e.kh.length&&(u(re(e.kh,0)),e.kh=[])}};function le(e,r){var a=e.fh?e.fh.length:0;a>=r||(r=Math.max(r,a*(1048576>a?2:1.125)>>>0),0!=a&&(r=Math.max(r,256)),a=e.fh,e.fh=new Uint8Array(r),0<e.ih&&e.fh.set(a.subarray(0,e.ih),0))}var ue={oh:null,rh:()=>ue.createNode(null,"/",16895,0),createNode(e,r,a,t){if(24576==(61440&a)||4096==(61440&a))throw new ge(63);return ue.oh||(ue.oh={dir:{node:{nh:ue.eh.nh,ph:ue.eh.ph,Ch:ue.eh.Ch,Ih:ue.eh.Ih,ai:ue.eh.ai,Oh:ue.eh.Oh,Kh:ue.eh.Kh,Jh:ue.eh.Jh,Lh:ue.eh.Lh},stream:{wh:ue.gh.wh}},file:{node:{nh:ue.eh.nh,ph:ue.eh.ph},stream:{wh:ue.gh.wh,read:ue.gh.read,write:ue.gh.write,Fh:ue.gh.Fh,Yh:ue.gh.Yh,$h:ue.gh.$h}},link:{node:{nh:ue.eh.nh,ph:ue.eh.ph,Eh:ue.eh.Eh},stream:{}},Uh:{node:{nh:ue.eh.nh,ph:ue.eh.ph},stream:Ae}}),Le((a=Pe(e,r,a,t)).mode)?(a.eh=ue.oh.dir.node,a.gh=ue.oh.dir.stream,a.fh={}):32768==(61440&a.mode)?(a.eh=ue.oh.file.node,a.gh=ue.oh.file.stream,a.ih=0,a.fh=null):40960==(61440&a.mode)?(a.eh=ue.oh.link.node,a.gh=ue.oh.link.stream):8192==(61440&a.mode)&&(a.eh=ue.oh.Uh.node,a.gh=ue.oh.Uh.stream),a.timestamp=Date.now(),e&&(e.fh[r]=a,e.timestamp=a.timestamp),a},Ki:e=>e.fh?e.fh.subarray?e.fh.subarray(0,e.ih):new Uint8Array(e.fh):new Uint8Array(0),eh:{nh(e){var r={};return r.fi=8192==(61440&e.mode)?e.id:1,r.Xh=e.id,r.mode=e.mode,r.si=1,r.uid=0,r.hi=0,r.Dh=e.Dh,Le(e.mode)?r.size=4096:32768==(61440&e.mode)?r.size=e.ih:40960==(61440&e.mode)?r.size=e.link.length:r.size=0,r.bi=new Date(e.timestamp),r.ri=new Date(e.timestamp),r.ei=new Date(e.timestamp),r.ci=4096,r.di=Math.ceil(r.size/r.ci),r},ph(e,r){if(void 0!==r.mode&&(e.mode=r.mode),void 0!==r.timestamp&&(e.timestamp=r.timestamp),void 0!==r.size&&(r=r.size,e.ih!=r))if(0==r)e.fh=null,e.ih=0;else{var a=e.fh;e.fh=new Uint8Array(r),a&&e.fh.set(a.subarray(0,Math.min(r,e.ih))),e.ih=r}},Ch(){throw ye[44]},Ih:(e,r,a,t)=>ue.createNode(e,r,a,t),ai(e,r,a){if(Le(e.mode)){try{var t=Ie(r,a)}catch(e){}if(t)for(var i in t.fh)throw new ge(55)}delete e.parent.fh[e.name],e.parent.timestamp=Date.now(),e.name=a,r.fh[a]=e,r.timestamp=e.parent.timestamp,e.parent=r},Oh(e,r){delete e.fh[r],e.timestamp=Date.now()},Kh(e,r){var a,t=Ie(e,r);for(a in t.fh)throw new ge(55);delete e.fh[r],e.timestamp=Date.now()},Jh(e){var r,a=[".",".."];for(r of Object.keys(e.fh))a.push(r);return a},Lh:(e,r,a)=>((e=ue.createNode(e,r,41471,0)).link=a,e),Eh(e){if(40960!=(61440&e.mode))throw new ge(28);return e.link}},gh:{read(e,r,a,t,i){var n=e.node.fh;if(i>=e.node.ih)return 0;if(8<(e=Math.min(e.node.ih-i,t))&&n.subarray)r.set(n.subarray(i,i+e),a);else for(t=0;t<e;t++)r[a+t]=n[i+t];return e},write(e,r,a,t,i,n){if(r.buffer===p.buffer&&(n=!1),!t)return 0;if((e=e.node).timestamp=Date.now(),r.subarray&&(!e.fh||e.fh.subarray)){if(n)return e.fh=r.subarray(a,a+t),e.ih=t;if(0===e.ih&&0===i)return e.fh=r.slice(a,a+t),e.ih=t;if(i+t<=e.ih)return e.fh.set(r.subarray(a,a+t),i),t}if(le(e,i+t),e.fh.subarray&&r.subarray)e.fh.set(r.subarray(a,a+t),i);else for(n=0;n<t;n++)e.fh[i+n]=r[a+n];return e.ih=Math.max(e.ih,i+t),t},wh(e,r,a){if(1===a?r+=e.position:2===a&&32768==(61440&e.node.mode)&&(r+=e.node.ih),0>r)throw new ge(28);return r},Fh(e,r,a){le(e.node,r+a),e.node.ih=Math.max(e.node.ih,r+a)},Yh(e,r,a,t,i){if(32768!=(61440&e.node.mode))throw new ge(43);if(e=e.node.fh,2&i||e.buffer!==p.buffer){if((0<a||a+r<e.length)&&(e=e.subarray?e.subarray(a,a+r):Array.prototype.slice.call(e,a,a+r)),a=!0,A(),!(r=void 0))throw new ge(48);p.set(e,r)}else a=!1,r=e.byteOffset;return{jh:r,zh:a}},$h:(e,r,a,t)=>(ue.gh.write(e,r,0,t,a,!1),0)}},de=i.preloadPlugins||[],fe=(e,r)=>{var a=0;return e&&(a|=365),r&&(a|=146),a},pe=null,ve={},Ee=[],me=1,be=null,we=!0,ge=class{constructor(e){this.name="ErrnoError",this.lh=e}},ye={};function Ne(e,r={}){if(!(e=Q(e)))return{path:"",node:null};if(8<(r=Object.assign({Vh:!0,Sh:0},r)).Sh)throw new ge(32);e=e.split("/").filter((e=>!!e));for(var a=pe,t="/",i=0;i<e.length;i++){var n=i===e.length-1;if(n&&r.parent)break;if(a=Ie(a,e[i]),t=V(t+"/"+e[i]),a.Ah&&(!n||n&&r.Vh)&&(a=a.Ah.root),!n||r.Gh)for(n=0;40960==(61440&a.mode);)if(a=Be(t),a=Ne(t=Q($(t),a),{Sh:r.Sh+1}).node,40<n++)throw new ge(32)}return{path:t,node:a}}function Se(e){for(var r;;){if(e===e.parent)return e=e.rh.Zh,r?"/"!==e[e.length-1]?`${e}/${r}`:e+r:e;r=r?`${e.name}/${r}`:e.name,e=e.parent}}function ze(e,r){for(var a=0,t=0;t<r.length;t++)a=(a<<5)-a+r.charCodeAt(t)|0;return(e+a>>>0)%be.length}function ke(e){var r=ze(e.parent.id,e.name);if(be[r]===e)be[r]=e.Bh;else for(r=be[r];r;){if(r.Bh===e){r.Bh=e.Bh;break}r=r.Bh}}function Ie(e,r){var a=Le(e.mode)?(a=Re(e,"x"))?a:e.eh.Ch?0:2:54;if(a)throw new ge(a);for(a=be[ze(e.id,r)];a;a=a.Bh){var t=a.name;if(a.parent.id===e.id&&t===r)return a}return e.eh.Ch(e,r)}function Pe(e,r,a,t){return r=ze((e=new ia(e,r,a,t)).parent.id,e.name),e.Bh=be[r],be[r]=e}function Le(e){return 16384==(61440&e)}function je(e){var r=["r","w","rw"][3&e];return 512&e&&(r+="w"),r}function Re(e,r){return we?0:!r.includes("r")||292&e.mode?r.includes("w")&&!(146&e.mode)||r.includes("x")&&!(73&e.mode)?2:0:2}function xe(e,r){try{return Ie(e,r),20}catch(e){}return Re(e,"wx")}function Ke(e,r,a){try{var t=Ie(e,r)}catch(e){return e.lh}if(e=Re(e,"wx"))return e;if(a){if(!Le(t.mode))return 54;if(t===t.parent||"/"===Se(t))return 10}else if(Le(t.mode))return 31;return 0}function Me(e){if(!(e=Ee[e]))throw new ge(8);return e}function Ze(e,r=-1){return Ve||((Ve=function(){this.mh={}}).prototype={},Object.defineProperties(Ve.prototype,{object:{get(){return this.node},set(e){this.node=e}},flags:{get(){return this.mh.flags},set(e){this.mh.flags=e}},position:{get(){return this.mh.position},set(e){this.mh.position=e}}})),e=Object.assign(new Ve,e),-1==r&&(r=function(){for(var e=0;4096>=e;e++)if(!Ee[e])return e;throw new ge(33)}()),e.th=r,Ee[r]=e}var Ce,Ae={open(e){e.gh=ve[e.node.Dh].gh,e.gh.open?.(e)},wh(){throw new ge(70)}};function Fe(e,r){ve[e]={gh:r}}function De(e,r){var a="/"===r;if(a&&pe)throw new ge(10);if(!a&&r){var t=Ne(r,{Vh:!1});if(r=t.path,(t=t.node).Ah)throw new ge(10);if(!Le(t.mode))throw new ge(54)}r={type:e,Oi:{},Zh:r,pi:[]},(e=e.rh(r)).rh=r,r.root=e,a?pe=e:t&&(t.Ah=r,t.rh&&t.rh.pi.push(r))}function Te(e,r,a){var t=Ne(e,{parent:!0}).node;if(!(e=X(e))||"."===e||".."===e)throw new ge(28);var i=xe(t,e);if(i)throw new ge(i);if(!t.eh.Ih)throw new ge(63);return t.eh.Ih(t,e,r,a)}function Oe(e){return Te(e,16895,0)}function qe(e,r,a){void 0===a&&(a=r,r=438),Te(e,8192|r,a)}function Ue(e,r){if(!Q(e))throw new ge(44);var a=Ne(r,{parent:!0}).node;if(!a)throw new ge(44);var t=xe(a,r=X(r));if(t)throw new ge(t);if(!a.eh.Lh)throw new ge(63);a.eh.Lh(a,r,e)}function Be(e){if(!(e=Ne(e).node))throw new ge(44);if(!e.eh.Eh)throw new ge(28);return Q(Se(e.parent),e.eh.Eh(e))}function We(e,r,a){if(""===e)throw new ge(44);if("string"==typeof r){var t={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[r];if(void 0===t)throw Error(`Unknown file open mode: ${r}`);r=t}if(a=64&r?4095&(void 0===a?438:a)|32768:0,"object"==typeof e)var n=e;else{e=V(e);try{n=Ne(e,{Gh:!(131072&r)}).node}catch(e){}}if(t=!1,64&r)if(n){if(128&r)throw new ge(20)}else n=Te(e,a,0),t=!0;if(!n)throw new ge(44);if(8192==(61440&n.mode)&&(r&=-513),65536&r&&!Le(n.mode))throw new ge(54);if(!t&&(a=n?40960==(61440&n.mode)?32:Le(n.mode)&&("r"!==je(r)||512&r)?31:Re(n,je(r)):44))throw new ge(a);if(512&r&&!t){if(!(a="string"==typeof(a=n)?Ne(a,{Gh:!0}).node:a).eh.ph)throw new ge(63);if(Le(a.mode))throw new ge(31);if(32768!=(61440&a.mode))throw new ge(28);if(t=Re(a,"w"))throw new ge(t);a.eh.ph(a,{size:0,timestamp:Date.now()})}return r&=-131713,(n=Ze({node:n,path:Se(n),flags:r,seekable:!0,position:0,gh:n.gh,xi:[],error:!1})).gh.open&&n.gh.open(n),!i.logReadFiles||1&r||($e||={},e in $e||($e[e]=1)),n}function Ge(e,r,a){if(null===e.th)throw new ge(8);if(!e.seekable||!e.gh.wh)throw new ge(70);if(0!=a&&1!=a&&2!=a)throw new ge(28);return e.position=e.gh.wh(e,r,a),e.xi=[],e.position}function Ye(e,r,a){e=V("/dev/"+e);var t=fe(!!r,!!a);He||=64;var i=He++<<8|0;Fe(i,{open(e){e.seekable=!1},close(){a?.buffer?.length&&a(10)},read(e,a,t,i){for(var n=0,o=0;o<i;o++){try{var _=r()}catch(e){throw new ge(29)}if(void 0===_&&0===n)throw new ge(6);if(null==_)break;n++,a[t+o]=_}return n&&(e.node.timestamp=Date.now()),n},write(e,r,t,i){for(var n=0;n<i;n++)try{a(r[t+n])}catch(e){throw new ge(29)}return i&&(e.node.timestamp=Date.now()),n}}),qe(e,t,i)}var He,Ve,$e,Xe={},Je=(e,r)=>e?re(v,e,r):"";function Qe(e,r){if("/"===r.charAt(0))return r;if(e=-100===e?"/":Me(e).path,0==r.length)throw new ge(44);return V(e+"/"+r)}var er=void 0;function rr(){var e=b[+er>>2];return er+=4,e}var ar,tr=e=>0==e%4&&(0!=e%100||0==e%400),ir=[0,31,60,91,121,152,182,213,244,274,305,335],nr=[0,31,59,90,120,151,181,212,243,273,304,334],or=e=>{var r=te(e)+1,a=ha(r);return a&&ie(e,v,a,r),a},_r=e=>{f=e,O||(i.onExit?.(e),N=!0),c(e,new D(e))},cr=e=>{if(!N)try{if(e(),!O)try{f=e=f,_r(e)}catch(e){e instanceof D||"unwind"==e||c(1,e)}}catch(e){e instanceof D||"unwind"==e||c(1,e)}},hr=(e,r)=>{setTimeout((()=>{cr(e)}),r)};ar=()=>performance.now();var sr,lr,ur,dr=!1,fr=null,pr=0,vr=null,Er=0,mr=0,br=0,wr=[],gr={},yr=!1,Nr=!1,Sr=[],zr=!1,kr=void 0,Ir=void 0;function Pr(){return!!yr&&((document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||(()=>{})).apply(document,[]),!0)}var Lr=0;function jr(e){if("function"==typeof requestAnimationFrame)requestAnimationFrame(e);else{var r=Date.now();if(0===Lr)Lr=r+1e3/60;else for(;r+2>=Lr;)Lr+=1e3/60;setTimeout(e,Math.max(Lr-r,0))}}function Rr(e){return{jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[e.substr(e.lastIndexOf(".")+1)]}var xr=[];function Kr(){var e=i.canvas;xr.forEach((r=>r(e.width,e.height)))}function Mr(e,r,a){r&&a?(e.yi=r,e.ii=a):(r=e.yi,a=e.ii);var t=r,n=a;if(i.forcedAspectRatio&&0<i.forcedAspectRatio&&(t/n<i.forcedAspectRatio?t=Math.round(n*i.forcedAspectRatio):n=Math.round(t/i.forcedAspectRatio)),(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e.parentNode&&"undefined"!=typeof screen){var o=Math.min(screen.width/t,screen.height/n);t=Math.round(t*o),n=Math.round(n*o)}Ir?(e.width!=t&&(e.width=t),e.height!=n&&(e.height=n),void 0!==e.style&&(e.style.removeProperty("width"),e.style.removeProperty("height"))):(e.width!=r&&(e.width=r),e.height!=a&&(e.height=a),void 0!==e.style&&(t!=r||n!=a?(e.style.setProperty("width",t+"px","important"),e.style.setProperty("height",n+"px","important")):(e.style.removeProperty("width"),e.style.removeProperty("height"))))}var Zr,Cr,Ar,Fr,Dr,Tr=[],Or=e=>{var r=Tr[e];return r||(e>=Tr.length&&(Tr.length=e+1),Tr[e]=r=Ar.get(e)),r};function qr(e,r,a,t,i){function n(){var r=0,a=0;y.response&&b&&0===w[e+12>>2]&&(a=y.response.byteLength),0<a&&(r=ha(a),v.set(new Uint8Array(y.response),r)),w[e+12>>2]=r,Ur(e+16,a),Ur(e+24,0),(r=y.response?y.response.byteLength:0)&&Ur(e+32,r),m[e+40>>1]=y.readyState,m[e+42>>1]=y.status,y.statusText&&ie(y.statusText,v,e+44,64)}var o=w[e+8>>2];if(o){var _=o?re(v,o):"",c=e+112,h=Je(c+0);h||="GET";var s=w[c+56>>2],l=w[c+68>>2],u=w[c+72>>2];o=w[c+76>>2];var d=w[c+80>>2],f=w[c+84>>2],p=w[c+88>>2],E=w[c+52>>2],b=!!(1&E),g=!!(2&E);E=!!(64&E),l=l?l?re(v,l):"":void 0,u=u?u?re(v,u):"":void 0;var y=new XMLHttpRequest;if(y.withCredentials=!!v[c+60>>0],y.open(h,_,!E,l,u),E||(y.timeout=s),y.mh=_,y.responseType="arraybuffer",d&&(_=d?re(v,d):"",y.overrideMimeType(_)),o)for(;(c=w[o>>2])&&(_=w[o+4>>2]);)o+=8,c=c?re(v,c):"",_=_?re(v,_):"",y.setRequestHeader(c,_);var N=Fr.Fh(y);w[e>>2]=N,o=f&&p?v.slice(f,f+p):null,y.onload=t=>{Fr.has(N)&&(n(),200<=y.status&&300>y.status?r?.(e,y,t):a?.(e,y,t))},y.onerror=r=>{Fr.has(N)&&(n(),a?.(e,y,r))},y.ontimeout=r=>{Fr.has(N)&&a?.(e,y,r)},y.onprogress=r=>{if(Fr.has(N)){var a=b&&g&&y.response?y.response.byteLength:0,i=0;0<a&&b&&g&&(i=ha(a),v.set(new Uint8Array(y.response),i)),w[e+12>>2]=i,Ur(e+16,a),Ur(e+24,r.loaded-a),Ur(e+32,r.total),m[e+40>>1]=y.readyState,3<=y.readyState&&0===y.status&&0<r.loaded&&(y.status=200),m[e+42>>1]=y.status,y.statusText&&ie(y.statusText,v,e+44,64),t?.(e,y,r),i&&ca(i)}},y.onreadystatechange=r=>{Fr.has(N)&&(m[e+40>>1]=y.readyState,2<=y.readyState&&(m[e+42>>1]=y.status),i?.(e,y,r))};try{y.send(o)}catch(r){a?.(e,y,r)}}else a(e,0,"no url specified!")}var Ur=(e,r)=>{w[e>>2]=r,w[e+4>>2]=(r-w[e>>2])/4294967296};function Br(e,r,a,t){var i=Dr;if(i){var n=w[e+112+64>>2];n||=w[e+8>>2];var o=n?re(v,n):"";try{var _=i.transaction(["FILES"],"readwrite").objectStore("FILES").put(r,o);_.onsuccess=()=>{m[e+40>>1]=4,m[e+42>>1]=200,ie("OK",v,e+44,64),a(e,0,o)},_.onerror=r=>{m[e+40>>1]=4,m[e+42>>1]=413,ie("Payload Too Large",v,e+44,64),t(e,0,r)}}catch(r){t(e,0,r)}}else t(e,0,"IndexedDB not available!")}var Wr,Gr,Yr,Hr={},Vr=()=>{if(!Wr){var e,r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:_||"./this.program"};for(e in Hr)void 0===Hr[e]?delete r[e]:r[e]=Hr[e];var a=[];for(e in r)a.push(`${e}=${r[e]}`);Wr=a}return Wr},$r=1,Xr=[],Jr=[],Qr=e=>{for(var r=$r++,a=e.length;a<r;a++)e[a]=null;return r},ea=e=>{if(e||=Yr,!e.ji){e.ji=!0;var r=e.Ph;(e=>{var r=e.getExtension("ANGLE_instanced_arrays");r&&(e.vertexAttribDivisor=(e,a)=>r.vertexAttribDivisorANGLE(e,a),e.drawArraysInstanced=(e,a,t,i)=>r.drawArraysInstancedANGLE(e,a,t,i),e.drawElementsInstanced=(e,a,t,i,n)=>r.drawElementsInstancedANGLE(e,a,t,i,n))})(r),(e=>{var r=e.getExtension("OES_vertex_array_object");r&&(e.createVertexArray=()=>r.createVertexArrayOES(),e.deleteVertexArray=e=>r.deleteVertexArrayOES(e),e.bindVertexArray=e=>r.bindVertexArrayOES(e),e.isVertexArray=e=>r.isVertexArrayOES(e))})(r),(e=>{var r=e.getExtension("WEBGL_draw_buffers");r&&(e.drawBuffers=(e,a)=>r.drawBuffersWEBGL(e,a))})(r),r.Hi=r.getExtension("EXT_disjoint_timer_query"),r.Li=r.getExtension("WEBGL_multi_draw"),function(e){var r="ANGLE_instanced_arrays EXT_blend_minmax EXT_disjoint_timer_query EXT_frag_depth EXT_shader_texture_lod EXT_sRGB OES_element_index_uint OES_fbo_render_mipmap OES_standard_derivatives OES_texture_float OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_depth_texture WEBGL_draw_buffers EXT_color_buffer_half_float EXT_float_blend EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic KHR_parallel_shader_compile OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context WEBGL_multi_draw".split(" ");return(e.getSupportedExtensions()||[]).filter((e=>r.includes(e)))}(r).forEach((e=>{e.includes("lose_context")||e.includes("debug")||r.getExtension(e)}))}},ra={},aa=[31,29,31,30,31,30,31,31,30,31,30,31],ta=[31,28,31,30,31,30,31,31,30,31,30,31];function ia(e,r,a,t){e||=this,this.parent=e,this.rh=e.rh,this.Ah=null,this.id=me++,this.name=r,this.mode=a,this.eh={},this.gh={},this.Dh=t}Object.defineProperties(ia.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(e){e?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(e){e?this.mode|=146:this.mode&=-147}}}),[44].forEach((e=>{ye[e]=new ge(e),ye[e].stack="<generic error, no stack>"})),be=Array(4096),De(ue,"/"),Oe("/tmp"),Oe("/home"),Oe("/home/web_user"),function(){Oe("/dev"),Fe(259,{read:()=>0,write:(e,r,a,t)=>t}),qe("/dev/null",259),_e(1280,he),_e(1536,se),qe("/dev/tty",1280),qe("/dev/tty1",1536);var e=new Uint8Array(1024),r=0,a=()=>(0===r&&(r=J(e).byteLength),e[--r]);Ye("random",a),Ye("urandom",a),Oe("/dev/shm"),Oe("/dev/shm/tmp")}(),function(){Oe("/proc");var e=Oe("/proc/self");Oe("/proc/self/fd"),De({rh(){var r=Pe(e,"fd",16895,73);return r.eh={Ch(e,r){var a=Me(+r);return(e={parent:null,rh:{Zh:"fake"},eh:{Eh:()=>a.path}}).parent=e}},r}},"/proc/self/fd")}(),i.requestFullscreen=function(e,r){function a(){yr=!1;var e=t.parentNode;(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e?(t.exitFullscreen=Pr,kr&&t.requestPointerLock(),yr=!0,Ir?("undefined"!=typeof SDL&&(b[SDL.screen>>2]=8388608|w[SDL.screen>>2]),Mr(i.canvas),Kr()):Mr(t)):(e.parentNode.insertBefore(t,e),e.parentNode.removeChild(e),Ir?("undefined"!=typeof SDL&&(b[SDL.screen>>2]=-8388609&w[SDL.screen>>2]),Mr(i.canvas),Kr()):Mr(t)),i.onFullScreen?.(yr),i.onFullscreen?.(yr)}void 0===(kr=e)&&(kr=!0),void 0===(Ir=r)&&(Ir=!1);var t=i.canvas;zr||(zr=!0,document.addEventListener("fullscreenchange",a,!1),document.addEventListener("mozfullscreenchange",a,!1),document.addEventListener("webkitfullscreenchange",a,!1),document.addEventListener("MSFullscreenChange",a,!1));var n=document.createElement("div");t.parentNode.insertBefore(n,t),n.appendChild(t),n.requestFullscreen=n.requestFullscreen||n.mozRequestFullScreen||n.msRequestFullscreen||(n.webkitRequestFullscreen?()=>n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):null)||(n.webkitRequestFullScreen?()=>n.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):null),n.requestFullscreen()},i.requestAnimationFrame=jr,i.setCanvasSize=function(e,r,a){Mr(i.canvas,e,r),a||Kr()},i.pauseMainLoop=function(){fr=null,pr++},i.resumeMainLoop=function(){pr++;var e=Er,r=mr,a=vr;vr=null,(e=>{!vr||A("emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."),vr=e;var r=pr;dr=!1,lr=function(){if(!N)if(0<wr.length){var a=wr.shift();if(a.Ji(a.Ai),ur){var t=ur,n=0==t%1?t-1:Math.floor(t);ur=a.Gi?n:(8*t+(n+.5))/9}i.setStatus&&(a=i.statusMessage||"Please wait...",n=gr.Ii,(t=ur)?t<n?i.setStatus(a+" ("+(n-t)+"/"+n+")"):i.setStatus(a):i.setStatus("")),r<pr||setTimeout(lr,0)}else r<pr||(br=br+1|0,1==Er&&1<mr&&0!=br%mr?fr():(0==Er&&(sr=ar()),N||i.preMainLoop&&!1===i.preMainLoop()||(cr(e),i.postMainLoop?.()),r<pr||("object"==typeof SDL&&SDL.audio?.Pi?.(),fr())))}})(a),((e,r)=>{if(Er=e,mr=r,vr)if(dr||=!0,0==e)fr=function(){var e=0|Math.max(0,sr+r-ar());setTimeout(lr,e)};else if(1==e)fr=function(){jr(lr)};else if(2==e){if(void 0===Zr)if("undefined"==typeof setImmediate){var a=[];addEventListener("message",(e=>{"setimmediate"!==e.data&&"setimmediate"!==e.data.target||(e.stopPropagation(),a.shift()())}),!0),Zr=function(e){a.push(e),void 0===i.setImmediates&&(i.setImmediates=[]),i.setImmediates.push(e),postMessage({target:"setimmediate"})}}else Zr=setImmediate;fr=function(){Zr(lr)}}})(e,r),fr()},i.getUserMedia=function(e){let r;(r=window).getUserMedia||(r.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia),window.getUserMedia(e)},i.createContext=function(e,r,a,t){if(r&&i.Qh&&e==i.canvas)return i.Qh;var n;if(r){var o={antialias:!1,alpha:!1,oi:1};if(t)for(var _ in t)o[_]=t[_];if(void 0!==ra&&(n=((e,r)=>{e.mh||(e.mh=e.getContext,e.getContext=function(r,a){return"webgl"==r==(a=e.mh(r,a))instanceof WebGLRenderingContext?a:null});var a=e.getContext("webgl",r);return a?((e,r)=>{var a=Qr(Jr),t={handle:a,attributes:r,version:r.oi,Ph:e};return e.canvas&&(e.canvas.zi=t),Jr[a]=t,(void 0===r.gi||r.gi)&&ea(t),a})(a,r):0})(e,o)))var c=Jr[n].Ph}else c=e.getContext("2d");return c?(a&&(r||void 0===na||A("cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),i.Qh=c,r&&(Yr=Jr[n],i.Qh=na=Yr?.Ph),i.Ri=r,Sr.forEach((e=>e())),function(){function e(){Nr=document.pointerLockElement===i.canvas||document.mozPointerLockElement===i.canvas||document.webkitPointerLockElement===i.canvas||document.msPointerLockElement===i.canvas}if(!Cr){Cr=!0,de.push({canHandle:function(e){return!i.Ni&&/\.(jpg|jpeg|png|bmp)$/i.test(e)},handle:function(e,r,a,t){var i=new Blob([e],{type:Rr(r)});i.size!==e.length&&(i=new Blob([new Uint8Array(e).buffer],{type:Rr(r)}));var n=URL.createObjectURL(i),o=new Image;o.onload=()=>{o.complete||A(`Image ${r} could not be decoded`);var t=document.createElement("canvas");t.width=o.width,t.height=o.height,t.getContext("2d").drawImage(o,0,0),URL.revokeObjectURL(n),a?.(e)},o.onerror=()=>{u(`Image ${n} could not be decoded`),t?.()},o.src=n}}),de.push({canHandle:function(e){return!i.Mi&&e.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},handle:function(e,r,a){function t(){i||(i=!0,a?.(e))}var i=!1,n=URL.createObjectURL(new Blob([e],{type:Rr(r)})),o=new Audio;o.addEventListener("canplaythrough",(()=>t()),!1),o.onerror=function(){if(!i){u(`warning: browser could not fully decode audio ${r}, trying slower base64 approach`);for(var a="",n=0,_=0,c=0;c<e.length;c++)for(n=n<<8|e[c],_+=8;6<=_;){var h=n>>_-6&63;_-=6,a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[h]}2==_?(a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(3&n)<<4],a+="=="):4==_&&(a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(15&n)<<2],a+="="),o.src="data:audio/x-"+r.substr(-3)+";base64,"+a,t()}},o.src=n,hr((()=>{t()}),1e4)}});var r=i.canvas;r&&(r.requestPointerLock=r.requestPointerLock||r.mozRequestPointerLock||r.webkitRequestPointerLock||r.msRequestPointerLock||(()=>{}),r.exitPointerLock=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||(()=>{}),r.exitPointerLock=r.exitPointerLock.bind(document),document.addEventListener("pointerlockchange",e,!1),document.addEventListener("mozpointerlockchange",e,!1),document.addEventListener("webkitpointerlockchange",e,!1),document.addEventListener("mspointerlockchange",e,!1),i.elementPointerLock&&r.addEventListener("click",(e=>{!Nr&&i.canvas.requestPointerLock&&(i.canvas.requestPointerLock(),e.preventDefault())}),!1))}}()),c):null},Fr=new class{constructor(){this.zh=[void 0],this.mh=[]}get(e){return this.zh[e]}has(e){return void 0!==this.zh[e]}Fh(e){var r=this.mh.pop()||this.zh.length;return this.zh[r]=e,r}},Z(),function(e,r){try{var a=indexedDB.open("emscripten_filesystem",1)}catch(e){return void r()}a.onupgradeneeded=e=>{(e=e.target.result).objectStoreNames.contains("FILES")&&e.deleteObjectStore("FILES"),e.createObjectStore("FILES")},a.onsuccess=e=>(e=>{Dr=e,C()})(e.target.result),a.onerror=r}(0,(()=>{Dr=!1,C()}));var na,oa={q:e=>{if(e=new W(e),0==p[e.jh+12>>0]&&(p[e.jh+12>>0]=1,U--),p[e.jh+13>>0]=0,q.push(e),Ea(e.uh),ba(w[e.jh+4>>2]))e=w[e.uh>>2];else{var r=w[e.jh+16>>2];e=0!==r?r:e.uh}return e},Mb:()=>{if(!q.length)return 0;var e=q[q.length-1];return Ea(e.uh),e.uh},y:()=>{la(0,0);var e=q.pop();va(e.uh),B=0},a:()=>G([]),i:e=>G([e]),G:(e,r)=>G([e,r]),Fa:Y,Lb:e=>{e&&(e=new W(e),q.push(e),p[e.jh+13>>0]=1,Y())},n:(e,r,a)=>{var t=new W(e);throw w[t.jh+16>>2]=0,w[t.jh+4>>2]=r,w[t.jh+8>>2]=a,U++,B=e},Nb:()=>U,d:e=>{throw B||=e,B},R:function(e,r,a){er=a;try{var t=Me(e);switch(r){case 0:var i=rr();if(0>i)break;for(;Ee[i];)i++;return Ze(t,i).th;case 1:case 2:case 13:case 14:return 0;case 3:return t.flags;case 4:return i=rr(),t.flags|=i,0;case 12:return i=rr(),E[i+0>>1]=2,0}return-28}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.lh}},Tb:function(e,r,a){try{var t=Me(e);if(!t.vh){var i=Ne(t.path,{Gh:!0}).node;if(!i.eh.Jh)throw new ge(54);var n=i.eh.Jh(i);t.vh=n}e=0;for(var o=Ge(t,0,1),_=Math.floor(o/280);_<t.vh.length&&e+280<=a;){var c=t.vh[_];if("."===c)var h=t.node.id,s=4;else if(".."===c)h=Ne(t.path,{parent:!0}).node.id,s=4;else{var l=Ie(t.node,c);h=l.id,s=8192==(61440&l.mode)?2:Le(l.mode)?4:40960==(61440&l.mode)?10:8}R=[h>>>0,(j=h,1<=+Math.abs(j)?0<j?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],b[r+e>>2]=R[0],b[r+e+4>>2]=R[1],R=[280*(_+1)>>>0,(j=280*(_+1),1<=+Math.abs(j)?0<j?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],b[r+e+8>>2]=R[0],b[r+e+12>>2]=R[1],E[r+e+16>>1]=280,p[r+e+18>>0]=s,ie(c,v,r+e+19,256),e+=280,_+=1}return Ge(t,280*_,0),e}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.lh}},_b:function(e,r,a){er=a;try{var t=Me(e);switch(r){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return t.hh?0:-59;case 21505:if(!t.hh)return-59;if(t.hh.sh.li){e=[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var i=rr();b[i>>2]=25856,b[i+4>>2]=5,b[i+8>>2]=191,b[i+12>>2]=35387;for(var n=0;32>n;n++)p[i+n+17>>0]=e[n]||0}return 0;case 21506:case 21507:case 21508:if(!t.hh)return-59;if(t.hh.sh.mi)for(i=rr(),e=[],n=0;32>n;n++)e.push(p[i+n+17>>0]);return 0;case 21519:return t.hh?(i=rr(),b[i>>2]=0):-59;case 21520:return t.hh?-28:-59;case 21531:if(i=rr(),!t.gh.ki)throw new ge(59);return t.gh.ki(t,r,i);case 21523:return t.hh?(t.hh.sh.ni&&(n=[24,80],i=rr(),E[i>>1]=n[0],E[i+2>>1]=n[1]),0):-59;default:return-28}}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.lh}},Ja:function(e,r,a,t){er=t;try{return We(r=Qe(e,r=r?re(v,r):""),a,t?rr():0).th}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.lh}},Rb:function(e,r,a,t){try{if(r=Qe(e,r=r?re(v,r):""),0>=t)return-28;var i=Be(r),n=Math.min(t,te(i)),o=p[a+n];return ie(i,v,a,t+1),p[a+n]=o,n}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.lh}},Wb:function(e,r){try{var a=Ne(e=e?re(v,e):"",{Gh:!0}).node;if(!a)throw new ge(44);if(!a.eh.nh)throw new ge(63);var t=a.eh.nh(a);b[r>>2]=t.fi,b[r+4>>2]=t.mode,w[r+8>>2]=t.si,b[r+12>>2]=t.uid,b[r+16>>2]=t.hi,b[r+20>>2]=t.Dh,R=[t.size>>>0,(j=t.size,1<=+Math.abs(j)?0<j?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],b[r+24>>2]=R[0],b[r+28>>2]=R[1],b[r+32>>2]=4096,b[r+36>>2]=t.di;var i=t.bi.getTime(),n=t.ri.getTime(),o=t.ei.getTime();return R=[Math.floor(i/1e3)>>>0,(j=Math.floor(i/1e3),1<=+Math.abs(j)?0<j?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],b[r+40>>2]=R[0],b[r+44>>2]=R[1],w[r+48>>2]=i%1e3*1e3,R=[Math.floor(n/1e3)>>>0,(j=Math.floor(n/1e3),1<=+Math.abs(j)?0<j?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],b[r+56>>2]=R[0],b[r+60>>2]=R[1],w[r+64>>2]=n%1e3*1e3,R=[Math.floor(o/1e3)>>>0,(j=Math.floor(o/1e3),1<=+Math.abs(j)?0<j?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],b[r+72>>2]=R[0],b[r+76>>2]=R[1],w[r+80>>2]=o%1e3*1e3,R=[t.Xh>>>0,(j=t.Xh,1<=+Math.abs(j)?0<j?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],b[r+88>>2]=R[0],b[r+92>>2]=R[1],0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.lh}},Sb:function(e,r){try{return Ue(e=e?re(v,e):"",r=r?re(v,r):""),0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.lh}},Pb:function(e,r,a){try{if(r=Qe(e,r=r?re(v,r):""),0===a){var t=r,i=Ne(t,{parent:!0}).node;if(!i)throw new ge(44);var n=X(t),o=Ie(i,n),_=Ke(i,n,!1);if(_)throw new ge(_);if(!i.eh.Oh)throw new ge(63);if(o.Ah)throw new ge(10);i.eh.Oh(i,n),ke(o)}else if(512===a){t=Ne(i=r,{parent:!0}).node;var c=X(i),h=Ie(t,c),s=Ke(t,c,!0);if(s)throw new ge(s);if(!t.eh.Kh)throw new ge(63);if(h.Ah)throw new ge(10);t.eh.Kh(t,c),ke(h)}else A("Invalid flags passed to unlinkat");return 0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.lh}},$b:function(e){if(Fr.has(e)){var r=Fr.get(e),a=Fr;a.zh[e]=void 0,a.mh.push(e),0<r.readyState&&4>r.readyState&&r.abort()}},Yb:()=>1,lb:function(e,r,a){e=new Date(1e3*(r+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*r:NaN)),b[a>>2]=e.getUTCSeconds(),b[a+4>>2]=e.getUTCMinutes(),b[a+8>>2]=e.getUTCHours(),b[a+12>>2]=e.getUTCDate(),b[a+16>>2]=e.getUTCMonth(),b[a+20>>2]=e.getUTCFullYear()-1900,b[a+24>>2]=e.getUTCDay(),b[a+28>>2]=(e.getTime()-Date.UTC(e.getUTCFullYear(),0,1,0,0,0,0))/864e5|0},mb:function(e,r,a){e=new Date(1e3*(r+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*r:NaN)),b[a>>2]=e.getSeconds(),b[a+4>>2]=e.getMinutes(),b[a+8>>2]=e.getHours(),b[a+12>>2]=e.getDate(),b[a+16>>2]=e.getMonth(),b[a+20>>2]=e.getFullYear()-1900,b[a+24>>2]=e.getDay(),b[a+28>>2]=(tr(e.getFullYear())?ir:nr)[e.getMonth()]+e.getDate()-1|0,b[a+36>>2]=-60*e.getTimezoneOffset(),r=new Date(e.getFullYear(),6,1).getTimezoneOffset();var t=new Date(e.getFullYear(),0,1).getTimezoneOffset();b[a+32>>2]=0|(r!=t&&e.getTimezoneOffset()==Math.min(t,r))},Qb:(e,r,a)=>{function t(e){return(e=e.toTimeString().match(/\(([A-Za-z ]+)\)$/))?e[1]:"GMT"}var i=(new Date).getFullYear(),n=new Date(i,0,1),o=new Date(i,6,1);i=n.getTimezoneOffset();var _=o.getTimezoneOffset();w[e>>2]=60*Math.max(i,_),b[r>>2]=Number(i!=_),e=t(n),r=t(o),e=or(e),r=or(r),_<i?(w[a>>2]=e,w[a+4>>2]=r):(w[a>>2]=r,w[a+4>>2]=e)},F:()=>{A("")},gb:function(){self.postMessage({t:"gfx"})},ib:function(){var e=new URL(location.origin).hostname;if(0===e.length&&(e=new URL(location.href.replace("blob:","")).hostname),/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(e))0===e.indexOf("10.")&&(e="10.*"),0===e.indexOf("192.168.")&&(e="192.168.*"),0===e.indexOf("172.")&&(e="172.*"),0===e.indexOf("127.")&&(e="127.*");else{var r=new RegExp("("+String.fromCharCode(92)+".ngrok"+String.fromCharCode(92)+".io)$","i");r.test(e)&&(e="*.ngrok.io"),(r=new RegExp("("+String.fromCharCode(92)+".ngrok-free"+String.fromCharCode(92)+".app)$","i")).test(e)&&(e="*.ngrok.io"),(r=new RegExp("("+String.fromCharCode(92)+".arweb"+String.fromCharCode(92)+".app)$","i")).test(e)&&(e="*.arweb.app")}r=te(e)+1;var a=ha(r);return ie(e,v,a,r+1),a},hb:function(){self.postMessage({t:"licerr"})},Ea:(e,r,a)=>{function t(){Or(e)(r)}0<=a?hr(t,a):function(e){jr((()=>{cr(e)}))}(t)},ma:()=>Date.now(),Jb:()=>2147483648,Xb:ar,bc:()=>!1,Zb:(e,r,a)=>v.copyWithin(e,r,r+a),Ob:e=>{var r=v.length;if(2147483648<(e>>>=0))return!1;for(var a=1;4>=a;a*=2){var t=r*(1+.2/a);t=Math.min(t,e+100663296);var i=Math;t=Math.max(e,t);e:{i=(i.min.call(i,2147483648,t+(65536-t%65536)%65536)-d.buffer.byteLength+65535)/65536;try{d.grow(i),S();var n=1;break e}catch(e){}n=void 0}if(n)return!0}return!1},ac:function(e,r,a,t,i){function n(e){u?e():cr(e)}var o=e+112,_=w[o+36>>2],c=w[o+40>>2],h=w[o+44>>2],s=w[o+48>>2],l=w[o+52>>2],u=!!(64&l),d=e=>{n((()=>{_?Or(_)(e):r?.(e)}))},f=e=>{n((()=>{h?Or(h)(e):t?.(e)}))},p=e=>{n((()=>{c?Or(c)(e):a?.(e)}))},E=e=>{n((()=>{s?Or(s)(e):i?.(e)}))},b=e=>{qr(e,d,p,f,E)},g=(e,a)=>{Br(e,a.response,(e=>{n((()=>{_?Or(_)(e):r?.(e)}))}),(e=>{n((()=>{_?Or(_)(e):r?.(e)}))}))},y=Je(o+0),N=!!(16&l),S=!!(4&l);if(l=!!(32&l),"EM_IDB_STORE"===y)b=w[o+84>>2],Br(e,v.slice(b,b+w[o+88>>2]),d,p);else if("EM_IDB_DELETE"===y)!function(e,r,a){var t=Dr;if(t){var i=w[e+112+64>>2];i||=w[e+8>>2],i=i?re(v,i):"";try{var n=t.transaction(["FILES"],"readwrite").objectStore("FILES").delete(i);n.onsuccess=a=>{a=a.target.result,w[e+12>>2]=0,Ur(e+16,0),Ur(e+24,0),Ur(e+32,0),m[e+40>>1]=4,m[e+42>>1]=200,ie("OK",v,e+44,64),r(e,0,a)},n.onerror=r=>{m[e+40>>1]=4,m[e+42>>1]=404,ie("Not Found",v,e+44,64),a(e,0,r)}}catch(r){a(e,0,r)}}else a(e,0,"IndexedDB not available!")}(e,d,p);else if(N){if(l)return 0;qr(e,S?g:d,p,f,E)}else!function(e,r,a){var t=Dr;if(t){var i=w[e+112+64>>2];i||=w[e+8>>2],i=i?re(v,i):"";try{var n=t.transaction(["FILES"],"readonly").objectStore("FILES").get(i);n.onsuccess=t=>{if(t.target.result){var i=(t=t.target.result).byteLength||t.length,n=ha(i);v.set(new Uint8Array(t),n),w[e+12>>2]=n,Ur(e+16,i),Ur(e+24,0),Ur(e+32,i),m[e+40>>1]=4,m[e+42>>1]=200,ie("OK",v,e+44,64),r(e,0,t)}else m[e+40>>1]=4,m[e+42>>1]=404,ie("Not Found",v,e+44,64),a(e,0,"no data")},n.onerror=r=>{m[e+40>>1]=4,m[e+42>>1]=404,ie("Not Found",v,e+44,64),a(e,0,r)}}catch(r){a(e,0,r)}}else a(e,0,"IndexedDB not available!")}(e,d,l?p:S?e=>{qr(e,g,p,f,E)}:b);return e},Ub:(e,r)=>{var a=0;return Vr().forEach(((t,i)=>{var n=r+a;for(i=w[e+4*i>>2]=n,n=0;n<t.length;++n)p[i++>>0]=t.charCodeAt(n);p[i>>0]=0,a+=t.length+1})),0},Vb:(e,r)=>{var a=Vr();w[e>>2]=a.length;var t=0;return a.forEach((e=>t+=e.length+1)),w[r>>2]=t,0},dc:e=>{f=e,_r(e)},_:function(e){try{var r=Me(e);if(null===r.th)throw new ge(8);r.vh&&(r.vh=null);try{r.gh.close&&r.gh.close(r)}catch(e){throw e}finally{Ee[r.th]=null}return r.th=null,0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return e.lh}},Ka:function(e,r,a,t){try{e:{var i=Me(e);e=r;for(var n,o=r=0;o<a;o++){var _=w[e>>2],c=w[e+4>>2];e+=8;var h=i,s=n,l=p;if(0>c||0>s)throw new ge(28);if(null===h.th)throw new ge(8);if(1==(2097155&h.flags))throw new ge(8);if(Le(h.node.mode))throw new ge(31);if(!h.gh.read)throw new ge(28);var u=void 0!==s;if(u){if(!h.seekable)throw new ge(70)}else s=h.position;var d=h.gh.read(h,l,_,c,s);u||(h.position+=d);var f=d;if(0>f){var v=-1;break e}if(r+=f,f<c)break;void 0!==n&&(n+=f)}v=r}return w[t>>2]=v,0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return e.lh}},nb:function(e,r,a,t,i){r=a+2097152>>>0<4194305-!!r?(r>>>0)+4294967296*a:NaN;try{if(isNaN(r))return 61;var n=Me(e);return Ge(n,r,t),R=[n.position>>>0,(j=n.position,1<=+Math.abs(j)?0<j?+Math.floor(j/4294967296)>>>0:~~+Math.ceil((j-+(~~j>>>0))/4294967296)>>>0:0)],b[i>>2]=R[0],b[i+4>>2]=R[1],n.vh&&0===r&&0===t&&(n.vh=null),0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return e.lh}},na:function(e,r,a,t){try{e:{var i=Me(e);e=r;for(var n,o=r=0;o<a;o++){var _=w[e>>2],c=w[e+4>>2];e+=8;var h=i,s=_,l=c,u=n,d=p;if(0>l||0>u)throw new ge(28);if(null===h.th)throw new ge(8);if(0==(2097155&h.flags))throw new ge(8);if(Le(h.node.mode))throw new ge(31);if(!h.gh.write)throw new ge(28);h.seekable&&1024&h.flags&&Ge(h,0,2);var f=void 0!==u;if(f){if(!h.seekable)throw new ge(70)}else u=h.position;var v=h.gh.write(h,d,s,l,u,void 0);f||(h.position+=v);var E=v;if(0>E){var m=-1;break e}r+=E,void 0!==n&&(n+=E)}m=r}return w[t>>2]=m,0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return e.lh}},Ha:(e,r)=>{na.bindTexture(e,Xr[r])},Ia:(e,r)=>{for(var a=0;a<e;a++){var t=na.createTexture(),i=t&&Qr(Xr);t?(t.name=i,Xr[i]=t):Gr||=1282,b[r+4*a>>2]=i}},ka:(e,r,a,t,i,n,o,_,c)=>{var h=na,s=h.texImage2D;if(c){var l=_-5120;l=1==l?v:4==l?b:6==l?g:5==l||28922==l?w:m;var u=31-Math.clz32(l.BYTES_PER_ELEMENT);c=l.subarray(c>>u,c+i*(t*({5:3,6:4,8:2,29502:3,29504:4}[o-6402]||1)*(1<<u)+4-1&-4)>>u)}else c=null;s.call(h,e,r,a,t,i,n,o,_,c)},la:function(e,r,a){na.texParameteri(e,r,a)},w:function(e){var r=da();try{return Or(e)()}catch(e){if(fa(r),e!==e+0)throw e;la(1,0)}},ea:function(e,r){var a=da();try{return Or(e)(r)}catch(e){if(fa(a),e!==e+0)throw e;la(1,0)}},cc:function(e,r,a){var t=da();try{return Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},Aa:function(e,r,a){var t=da();try{return Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},O:function(e,r,a,t){var i=da();try{return Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},Za:function(e,r,a,t,i){var n=da();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},qa:function(e,r,a,t,i,n,o,_){var c=da();try{return Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},zb:function(e,r,a,t,i){var n=da();try{return xa(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},ob:function(e,r,a,t,i){var n=da();try{return Ta(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Z:function(e,r){var a=da();try{return Or(e)(r)}catch(e){if(fa(a),e!==e+0)throw e;la(1,0)}},aa:function(e,r,a){var t=da();try{return Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},Ca:function(e,r,a,t){var i=da();try{return Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},Sa:function(e,r,a,t,i,n){var o=da();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},s:function(e){var r=da();try{return Or(e)()}catch(e){if(fa(r),e!==e+0)throw e;la(1,0)}},La:function(e,r,a,t,i){var n=da();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},ta:function(e,r,a,t,i,n){var o=da();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},b:function(e,r){var a=da();try{return Or(e)(r)}catch(e){if(fa(a),e!==e+0)throw e;la(1,0)}},r:function(e,r,a){var t=da();try{return Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},Y:function(e,r,a,t){var i=da();try{return Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},fa:function(e,r,a,t,i){var n=da();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Ra:function(e,r,a,t,i){var n=da();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Pa:function(e,r,a,t){var i=da();try{return Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},cb:function(e,r,a){var t=da();try{return Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},va:function(e,r,a,t,i){var n=da();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},ua:function(e,r,a,t,i,n){var o=da();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},f:function(e,r,a){var t=da();try{return Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},T:function(e,r,a,t){var i=da();try{return Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},_a:function(e,r,a,t,i){var n=da();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},fc:function(e,r,a,t,i,n,o,_){var c=da();try{return Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},sa:function(e,r,a,t,i,n,o,_,c,h,s,l,u){var d=da();try{return Or(e)(r,a,t,i,n,o,_,c,h,s,l,u)}catch(e){if(fa(d),e!==e+0)throw e;la(1,0)}},wa:function(e,r,a,t,i,n){var o=da();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},c:function(e,r,a,t){var i=da();try{return Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},Oa:function(e,r,a,t,i,n){var o=da();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},l:function(e,r,a,t,i){var n=da();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Na:function(e,r,a,t,i,n){var o=da();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},u:function(e,r,a,t,i,n){var o=da();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},B:function(e,r,a,t,i,n,o){var _=da();try{return Or(e)(r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},x:function(e,r,a,t,i,n,o,_){var c=da();try{return Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},L:function(e,r,a,t,i,n,o,_,c){var h=da();try{return Or(e)(r,a,t,i,n,o,_,c)}catch(e){if(fa(h),e!==e+0)throw e;la(1,0)}},$:function(e,r,a,t,i,n,o,_,c,h){var s=da();try{return Or(e)(r,a,t,i,n,o,_,c,h)}catch(e){if(fa(s),e!==e+0)throw e;la(1,0)}},K:function(e,r,a,t,i,n,o,_,c,h,s){var l=da();try{return Or(e)(r,a,t,i,n,o,_,c,h,s)}catch(e){if(fa(l),e!==e+0)throw e;la(1,0)}},ba:function(e,r,a,t,i,n,o,_,c,h,s,l){var u=da();try{return Or(e)(r,a,t,i,n,o,_,c,h,s,l)}catch(e){if(fa(u),e!==e+0)throw e;la(1,0)}},kb:function(e,r,a,t,i,n,o){var _=da();try{return Oa(e,r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},qb:function(e,r,a,t,i,n){var o=da();try{return Fa(e,r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},yb:function(e,r,a,t,i,n,o,_,c){var h=da();try{return La(e,r,a,t,i,n,o,_,c)}catch(e){if(fa(h),e!==e+0)throw e;la(1,0)}},Bb:function(e,r,a,t,i,n,o,_,c,h,s){var l=da();try{return Pa(e,r,a,t,i,n,o,_,c,h,s)}catch(e){if(fa(l),e!==e+0)throw e;la(1,0)}},Gb:function(e,r,a,t){var i=da();try{return Na(e,r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},Db:function(e,r,a,t,i){var n=da();try{return za(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},xb:function(e,r,a,t,i,n,o,_,c,h,s,l,u,d,f){var p=da();try{return ja(e,r,a,t,i,n,o,_,c,h,s,l,u,d,f)}catch(e){if(fa(p),e!==e+0)throw e;la(1,0)}},rb:function(e,r,a,t){var i=da();try{return Aa(e,r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},Hb:function(e){var r=da();try{return wa(e)}catch(e){if(fa(r),e!==e+0)throw e;la(1,0)}},Cb:function(e,r){var a=da();try{return Ia(e,r)}catch(e){if(fa(a),e!==e+0)throw e;la(1,0)}},vb:function(e,r,a){var t=da();try{return Ma(e,r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},wb:function(e,r,a,t){var i=da();try{return Ka(e,r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},jb:function(e,r,a,t,i){var n=da();try{return qa(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},pb:function(e,r,a){var t=da();try{return Da(e,r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},m:function(e){var r=da();try{Or(e)()}catch(e){if(fa(r),e!==e+0)throw e;la(1,0)}},bb:function(e,r,a){var t=da();try{Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},db:function(e,r,a,t,i,n){var o=da();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},g:function(e,r){var a=da();try{Or(e)(r)}catch(e){if(fa(a),e!==e+0)throw e;la(1,0)}},Qa:function(e,r,a,t,i,n){var o=da();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},da:function(e,r,a,t,i,n,o){var _=da();try{Or(e)(r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},ra:function(e,r,a,t,i,n){var o=da();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},Ga:function(e,r,a,t,i,n){var o=da();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},ec:function(e,r,a,t){var i=da();try{Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},S:function(e,r,a,t,i){var n=da();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Ma:function(e,r,a,t,i){var n=da();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Ua:function(e,r,a,t,i,n){var o=da();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},e:function(e,r,a){var t=da();try{Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},t:function(e,r,a,t){var i=da();try{Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},Q:function(e,r,a,t,i){var n=da();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},M:function(e,r,a,t){var i=da();try{Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},X:function(e,r,a,t,i){var n=da();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},xa:function(e,r,a,t,i,n){var o=da();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},Va:function(e,r,a,t,i,n,o,_,c){var h=da();try{Or(e)(r,a,t,i,n,o,_,c)}catch(e){if(fa(h),e!==e+0)throw e;la(1,0)}},N:function(e,r,a,t,i){var n=da();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},h:function(e,r,a,t){var i=da();try{Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},ga:function(e,r,a,t,i){var n=da();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},pa:function(e,r,a,t,i,n){var o=da();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},$a:function(e,r,a,t,i,n){var o=da();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},Ya:function(e,r,a,t,i,n,o,_){var c=da();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},Xa:function(e,r,a,t,i,n,o,_,c){var h=da();try{Or(e)(r,a,t,i,n,o,_,c)}catch(e){if(fa(h),e!==e+0)throw e;la(1,0)}},Da:function(e,r,a,t,i,n,o,_){var c=da();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},V:function(e,r,a,t,i,n,o,_,c,h,s,l){var u=da();try{Or(e)(r,a,t,i,n,o,_,c,h,s,l)}catch(e){if(fa(u),e!==e+0)throw e;la(1,0)}},eb:function(e,r,a,t,i,n){var o=da();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},ia:function(e,r,a,t,i,n,o){var _=da();try{Or(e)(r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},k:function(e,r,a,t,i){var n=da();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},ya:function(e,r,a,t,i,n){var o=da();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},fb:function(e,r,a,t,i,n){var o=da();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},Ta:function(e,r,a,t,i,n,o,_,c,h,s){var l=da();try{Or(e)(r,a,t,i,n,o,_,c,h,s)}catch(e){if(fa(l),e!==e+0)throw e;la(1,0)}},ja:function(e,r,a,t,i,n,o){var _=da();try{Or(e)(r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},Wa:function(e,r,a,t,i,n,o,_){var c=da();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},j:function(e,r,a,t,i,n){var o=da();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},U:function(e,r,a,t,i,n,o){var _=da();try{Or(e)(r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},ab:function(e,r,a,t,i,n,o,_){var c=da();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},Ba:function(e,r,a,t,i,n,o,_){var c=da();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},o:function(e,r,a,t,i,n,o){var _=da();try{Or(e)(r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},z:function(e,r,a,t,i,n,o,_){var c=da();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},ha:function(e,r,a,t,i,n,o,_){var c=da();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},p:function(e,r,a,t,i,n,o,_){var c=da();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},v:function(e,r,a,t,i,n,o,_,c,h,s,l,u){var d=da();try{Or(e)(r,a,t,i,n,o,_,c,h,s,l,u)}catch(e){if(fa(d),e!==e+0)throw e;la(1,0)}},P:function(e,r,a,t,i,n,o,_,c,h){var s=da();try{Or(e)(r,a,t,i,n,o,_,c,h)}catch(e){if(fa(s),e!==e+0)throw e;la(1,0)}},W:function(e,r,a,t,i,n,o,_,c,h,s,l,u){var d=da();try{Or(e)(r,a,t,i,n,o,_,c,h,s,l,u)}catch(e){if(fa(d),e!==e+0)throw e;la(1,0)}},C:function(e,r,a,t,i,n,o,_,c){var h=da();try{Or(e)(r,a,t,i,n,o,_,c)}catch(e){if(fa(h),e!==e+0)throw e;la(1,0)}},E:function(e,r,a,t,i,n,o,_,c,h){var s=da();try{Or(e)(r,a,t,i,n,o,_,c,h)}catch(e){if(fa(s),e!==e+0)throw e;la(1,0)}},H:function(e,r,a,t,i,n,o,_,c,h,s){var l=da();try{Or(e)(r,a,t,i,n,o,_,c,h,s)}catch(e){if(fa(l),e!==e+0)throw e;la(1,0)}},za:function(e,r,a,t,i,n,o,_,c,h,s,l){var u=da();try{Or(e)(r,a,t,i,n,o,_,c,h,s,l)}catch(e){if(fa(u),e!==e+0)throw e;la(1,0)}},I:function(e,r,a,t,i,n,o,_,c,h,s,l,u,d){var f=da();try{Or(e)(r,a,t,i,n,o,_,c,h,s,l,u,d)}catch(e){if(fa(f),e!==e+0)throw e;la(1,0)}},D:function(e,r,a,t,i,n,o,_,c,h,s,l){var u=da();try{Or(e)(r,a,t,i,n,o,_,c,h,s,l)}catch(e){if(fa(u),e!==e+0)throw e;la(1,0)}},J:function(e,r,a,t,i,n,o,_,c,h,s,l,u){var d=da();try{Or(e)(r,a,t,i,n,o,_,c,h,s,l,u)}catch(e){if(fa(d),e!==e+0)throw e;la(1,0)}},oa:function(e,r,a,t,i,n,o,_,c,h,s,l,u,d,f){var p=da();try{Or(e)(r,a,t,i,n,o,_,c,h,s,l,u,d,f)}catch(e){if(fa(p),e!==e+0)throw e;la(1,0)}},ca:function(e,r,a,t,i,n,o,_,c,h,s,l,u,d,f,p){var v=da();try{Or(e)(r,a,t,i,n,o,_,c,h,s,l,u,d,f,p)}catch(e){if(fa(v),e!==e+0)throw e;la(1,0)}},Ib:function(e,r,a,t,i){var n=da();try{ga(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Ab:function(e,r,a,t,i,n){var o=da();try{Ra(e,r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},Eb:function(e,r,a,t,i,n,o){var _=da();try{ya(e,r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},Fb:function(e,r,a,t){var i=da();try{Sa(e,r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},ub:function(e,r,a,t,i){var n=da();try{ka(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},sb:function(e,r,a,t){var i=da();try{Ca(e,r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},tb:function(e,r,a,t,i){var n=da();try{Za(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},A:e=>e,Kb:(e,r,a,t)=>((e,r,a,t)=>{function i(e,r,a){for(e="number"==typeof e?e.toString():e||"";e.length<r;)e=a[0]+e;return e}function n(e,r){return i(e,r,"0")}function o(e,r){function a(e){return 0>e?-1:0<e?1:0}var t;return 0===(t=a(e.getFullYear()-r.getFullYear()))&&0===(t=a(e.getMonth()-r.getMonth()))&&(t=a(e.getDate()-r.getDate())),t}function _(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function c(e){var r=e.xh;for(e=new Date(new Date(e.yh+1900,0,1).getTime());0<r;){var a=e.getMonth(),t=(tr(e.getFullYear())?aa:ta)[a];if(!(r>t-e.getDate())){e.setDate(e.getDate()+r);break}r-=t-e.getDate()+1,e.setDate(1),11>a?e.setMonth(a+1):(e.setMonth(0),e.setFullYear(e.getFullYear()+1))}return a=new Date(e.getFullYear()+1,0,4),r=_(new Date(e.getFullYear(),0,4)),a=_(a),0>=o(r,e)?0>=o(a,e)?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var h=w[t+40>>2];for(var s in t={vi:b[t>>2],ui:b[t+4>>2],Mh:b[t+8>>2],Th:b[t+12>>2],Nh:b[t+16>>2],yh:b[t+20>>2],qh:b[t+24>>2],xh:b[t+28>>2],Qi:b[t+32>>2],ti:b[t+36>>2],wi:h&&h?re(v,h):""},a=a?re(v,a):"",h={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})a=a.replace(new RegExp(s,"g"),h[s]);var l="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),u="January February March April May June July August September October November December".split(" ");for(s in h={"%a":e=>l[e.qh].substring(0,3),"%A":e=>l[e.qh],"%b":e=>u[e.Nh].substring(0,3),"%B":e=>u[e.Nh],"%C":e=>n((e.yh+1900)/100|0,2),"%d":e=>n(e.Th,2),"%e":e=>i(e.Th,2," "),"%g":e=>c(e).toString().substring(2),"%G":c,"%H":e=>n(e.Mh,2),"%I":e=>(0==(e=e.Mh)?e=12:12<e&&(e-=12),n(e,2)),"%j":e=>{for(var r=0,a=0;a<=e.Nh-1;r+=(tr(e.yh+1900)?aa:ta)[a++]);return n(e.Th+r,3)},"%m":e=>n(e.Nh+1,2),"%M":e=>n(e.ui,2),"%n":()=>"\n","%p":e=>0<=e.Mh&&12>e.Mh?"AM":"PM","%S":e=>n(e.vi,2),"%t":()=>"\t","%u":e=>e.qh||7,"%U":e=>n(Math.floor((e.xh+7-e.qh)/7),2),"%V":e=>{var r=Math.floor((e.xh+7-(e.qh+6)%7)/7);if(2>=(e.qh+371-e.xh-2)%7&&r++,r)53==r&&(4==(a=(e.qh+371-e.xh)%7)||3==a&&tr(e.yh)||(r=1));else{r=52;var a=(e.qh+7-e.xh-1)%7;(4==a||5==a&&tr(e.yh%400-1))&&r++}return n(r,2)},"%w":e=>e.qh,"%W":e=>n(Math.floor((e.xh+7-(e.qh+6)%7)/7),2),"%y":e=>(e.yh+1900).toString().substring(2),"%Y":e=>e.yh+1900,"%z":e=>{var r=0<=(e=e.ti);return e=Math.abs(e)/60,(r?"+":"-")+String("0000"+(e/60*100+e%60)).slice(-4)},"%Z":e=>e.wi,"%%":()=>"%"},a=a.replace(/%%/g,"\0\0"),h)a.includes(s)&&(a=a.replace(new RegExp(s,"g"),h[s](t)));return(s=ne(a=a.replace(/\0\0/g,"%"),!1)).length>r?0:(p.set(s,e),s.length-1)})(e,r,a,t)},_a=function(){function e(e){return _a=e.exports,d=_a.gc,S(),Ar=_a.lc,k.unshift(_a.hc),C(),_a}var r={a:oa};if(Z(),i.instantiateWasm)try{return i.instantiateWasm(r,e)}catch(e){u(`Module.instantiateWasm callback failed with error: ${e}`),a(e)}return r=function(e){if(L==L&&s)var r=new Uint8Array(s);else{if(!n)throw'sync fetching of the wasm failed: you can preload it to Module["wasmBinary"] manually, or emcc.py will do that for you when generating HTML (but not JS)';r=n(L)}return r=new WebAssembly.Module(r),[new WebAssembly.Instance(r,e),r]}(r),e(r[0])}();i._zappar_has_initialized=_a.ic,i._zappar_invert=_a.jc,i._zappar_loaded=_a.kc,i._zappar_pipeline_create=_a.mc,i._zappar_pipeline_destroy=_a.nc,i._zappar_pipeline_camera_frame_submit=_a.oc,i._zappar_pipeline_camera_frame_submit_raw_pointer=_a.pc,i._zappar_pipeline_frame_update=_a.qc,i._zappar_pipeline_camera_frame_user_data=_a.rc,i._zappar_pipeline_camera_model=_a.sc,i._zappar_pipeline_frame_number=_a.tc,i._zappar_pipeline_camera_frame_data_raw_size=_a.uc,i._zappar_pipeline_camera_frame_data_raw_width=_a.vc,i._zappar_pipeline_camera_frame_data_raw_height=_a.wc,i._zappar_pipeline_camera_frame_data_raw=_a.xc,i._zappar_pipeline_motion_accelerometer_submit=_a.yc,i._zappar_pipeline_motion_accelerometer_with_gravity_submit_int=_a.zc,i._zappar_pipeline_motion_accelerometer_without_gravity_submit_int=_a.Ac,i._zappar_pipeline_motion_rotation_rate_submit_int=_a.Bc,i._zappar_pipeline_motion_attitude_submit_int=_a.Cc,i._zappar_pipeline_motion_rotation_rate_submit=_a.Dc,i._zappar_pipeline_motion_attitude_submit=_a.Ec,i._zappar_pipeline_motion_attitude_matrix_submit=_a.Fc,i._zappar_pipeline_camera_frame_user_facing=_a.Gc,i._zappar_pipeline_camera_frame_texture_matrix=_a.Hc,i._zappar_pipeline_camera_pose_with_attitude=_a.Ic,i._zappar_pipeline_camera_pose_with_origin=_a.Jc,i._zappar_pipeline_camera_frame_camera_attitude=_a.Kc,i._zappar_pipeline_camera_frame_device_attitude=_a.Lc,i._zappar_pipeline_camera_frame_texture_gl=_a.Mc,i._zappar_pipeline_camera_frame_upload_gl=_a.Nc,i._zappar_pipeline_sequence_record_start=_a.Oc,i._zappar_pipeline_sequence_record_stop=_a.Pc,i._zappar_pipeline_sequence_record_clear=_a.Qc,i._zappar_pipeline_sequence_record_device_attitude_matrices_set=_a.Rc,i._zappar_pipeline_sequence_record_data_size=_a.Sc,i._zappar_pipeline_sequence_record_data=_a.Tc,i._zappar_pipeline_process_gl=_a.Uc,i._zappar_pipeline_camera_pose_default=_a.Vc,i._zappar_instant_world_tracker_create=_a.Wc,i._zappar_instant_world_tracker_destroy=_a.Xc,i._zappar_instant_world_tracker_anchor_pose_set_from_camera_offset_raw=_a.Yc,i._zappar_instant_world_tracker_anchor_pose_raw=_a.Zc,i._zappar_instant_world_tracker_enabled_set=_a._c,i._zappar_instant_world_tracker_enabled=_a.$c,i._zappar_image_tracker_create=_a.ad,i._zappar_image_tracker_destroy=_a.bd,i._zappar_image_tracker_target_load_from_memory=_a.cd,i.__Z42zappar_image_tracker_target_load_from_fileP23zappar_image_tracker_tiPKc=_a.dd;var ca=i._free=_a.ed;i._zappar_image_tracker_anchor_count=_a.fd,i._zappar_image_tracker_anchor_id=_a.gd,i._zappar_image_tracker_anchor_pose_raw=_a.hd,i._zappar_image_tracker_enabled_set=_a.id,i._zappar_image_tracker_enabled=_a.jd,i._zappar_image_tracker_target_loaded_version=_a.kd,i.__Z33zappar_image_tracker_target_countP23zappar_image_tracker_ti=_a.ld,i.__Z46zappar_image_tracker_target_preview_compressedP23zappar_image_tracker_tii=_a.md,i.__Z51zappar_image_tracker_target_preview_compressed_sizeP23zappar_image_tracker_tii=_a.nd,i.__Z55zappar_image_tracker_target_preview_compressed_mimetypeP23zappar_image_tracker_tii=_a.od,i.__Z40zappar_image_tracker_target_preview_rgbaP23zappar_image_tracker_tii=_a.pd,i.__Z45zappar_image_tracker_target_preview_rgba_sizeP23zappar_image_tracker_tii=_a.qd,i.__Z46zappar_image_tracker_target_preview_rgba_widthP23zappar_image_tracker_tii=_a.rd,i.__Z47zappar_image_tracker_target_preview_rgba_heightP23zappar_image_tracker_tii=_a.sd,i.__Z38zappar_image_tracker_target_radius_topP23zappar_image_tracker_tii=_a.td,i.__Z41zappar_image_tracker_target_radius_bottomP23zappar_image_tracker_tii=_a.ud,i.__Z39zappar_image_tracker_target_side_lengthP23zappar_image_tracker_tii=_a.vd,i.__Z49zappar_image_tracker_target_physical_scale_factorP23zappar_image_tracker_tii=_a.wd,i.__Z49zappar_image_tracker_target_preview_mesh_verticesP23zappar_image_tracker_tii=_a.xd,i.__Z48zappar_image_tracker_target_preview_mesh_normalsP23zappar_image_tracker_tii=_a.yd,i.__Z44zappar_image_tracker_target_preview_mesh_uvsP23zappar_image_tracker_tii=_a.zd,i.__Z48zappar_image_tracker_target_preview_mesh_indicesP23zappar_image_tracker_tii=_a.Ad,i.__Z54zappar_image_tracker_target_preview_mesh_vertices_sizeP23zappar_image_tracker_tii=_a.Bd,i.__Z53zappar_image_tracker_target_preview_mesh_normals_sizeP23zappar_image_tracker_tii=_a.Cd,i.__Z49zappar_image_tracker_target_preview_mesh_uvs_sizeP23zappar_image_tracker_tii=_a.Dd,i.__Z53zappar_image_tracker_target_preview_mesh_indices_sizeP23zappar_image_tracker_tii=_a.Ed,i.__Z32zappar_image_tracker_target_typeP23zappar_image_tracker_tii=_a.Fd,i._zappar_face_tracker_create=_a.Gd,i._zappar_face_tracker_destroy=_a.Hd,i._zappar_face_tracker_model_load_from_memory=_a.Id,i._zappar_face_tracker_anchor_count=_a.Jd,i._zappar_face_tracker_anchor_id=_a.Kd,i._zappar_face_tracker_anchor_pose_raw=_a.Ld,i._zappar_face_tracker_anchor_identity_coefficients=_a.Md,i._zappar_face_tracker_anchor_expression_coefficients=_a.Nd,i._zappar_face_tracker_enabled_set=_a.Od,i._zappar_face_tracker_enabled=_a.Pd,i._zappar_face_tracker_max_faces_set=_a.Qd,i._zappar_face_tracker_max_faces=_a.Rd,i._zappar_face_tracker_model_loaded_version=_a.Sd,i._zappar_face_landmark_create=_a.Td,i._zappar_face_landmark_destroy=_a.Ud,i.__Z27zappar_face_landmark_updateP23zappar_face_landmark_tiPKfS2_i=_a.Vd,i._zappar_face_landmark_anchor_pose=_a.Wd,i._zappar_barcode_finder_create=_a.Xd,i._zappar_barcode_finder_destroy=_a.Yd,i._zappar_barcode_finder_found_number=_a.Zd,i._zappar_barcode_finder_found_text=_a._d,i._zappar_barcode_finder_enabled_set=_a.$d,i._zappar_barcode_finder_enabled=_a.ae,i._zappar_barcode_finder_found_format=_a.be,i._zappar_barcode_finder_formats=_a.ce,i._zappar_barcode_finder_formats_set=_a.de;var ha=i._malloc=_a.ee;i._zappar_face_mesh_create=_a.fe,i._zappar_face_mesh_destroy=_a.ge,i.__Z33zappar_face_mesh_load_from_memoryP19zappar_face_mesh_tiPKciiiii=_a.he,i.__Z29zappar_face_mesh_indices_sizeP19zappar_face_mesh_ti=_a.ie,i.__Z25zappar_face_mesh_uvs_sizeP19zappar_face_mesh_ti=_a.je,i.__Z30zappar_face_mesh_vertices_sizeP19zappar_face_mesh_ti=_a.ke,i.__Z31zappar_face_mesh_loaded_versionP19zappar_face_mesh_ti=_a.le,i.__Z25zappar_face_mesh_verticesP19zappar_face_mesh_ti=_a.me,i.__Z20zappar_face_mesh_uvsP19zappar_face_mesh_ti=_a.ne,i.__Z24zappar_face_mesh_indicesP19zappar_face_mesh_ti=_a.oe,i.__Z23zappar_face_mesh_updateP19zappar_face_mesh_tiPKfS2_i=_a.pe,i.__Z29zappar_face_mesh_normals_sizeP19zappar_face_mesh_ti=_a.qe,i.__Z24zappar_face_mesh_normalsP19zappar_face_mesh_ti=_a.re,i._zappar_camera_source_create=_a.se,i._zappar_camera_source_destroy=_a.te,i._zappar_camera_source_start=_a.ue,i._zappar_camera_source_pause=_a.ve,i._zappar_camera_default_device_id=_a.we,i._zappar_sequence_source_create=_a.xe,i.__Z28zappar_sequence_source_startP25zappar_sequence_source_ti=_a.ye,i.__Z39zappar_sequence_source_load_from_memoryP25zappar_sequence_source_tiPKci=_a.ze,i.__Z28zappar_sequence_source_pauseP25zappar_sequence_source_ti=_a.Ae,i._zappar_sequence_source_destroy=_a.Be,i._zappar_sequence_source_max_playback_fps_set=_a.Ce,i._zappar_log_level_set=_a.De,i._zappar_log_level=_a.Ee,i.__Z23zappar_log_redirect_setPFv18zappar_log_level_tPKcE=_a.Fe,i._zappar_world_tracker_create=_a.Ge,i._zappar_world_tracker_destroy=_a.He,i._zappar_world_tracker_world_anchor_valid=_a.Ie,i._zappar_world_tracker_plane_count=_a.Je,i._zappar_world_tracker_plane_pose_raw=_a.Ke,i._zappar_world_tracker_world_anchor_pose_raw=_a.Le,i._zappar_world_tracker_ground_anchor_valid=_a.Me,i._zappar_world_tracker_ground_anchor_pose_raw=_a.Ne,i._zappar_world_tracker_reset=_a.Oe,i._zappar_world_tracker_enabled_set=_a.Pe,i._zappar_world_tracker_quality=_a.Qe,i._zappar_world_tracker_enabled=_a.Re,i._zappar_world_tracker_debug_enabled=_a.Se,i._zappar_world_tracker_debug_enabled_set=_a.Te,i._zappar_world_tracker_debug_tracks_data=_a.Ue,i._zappar_world_tracker_debug_tracks_data_size=_a.Ve,i._zappar_world_tracker_debug_projections_data=_a.We,i._zappar_world_tracker_debug_projections_data_size=_a.Xe,i._worker_message_send_count=_a.Ye,i._worker_message_send_clear=_a.Ze,i._worker_message_send_data_size=_a._e,i._worker_message_send_reference=_a.$e,i._worker_message_send_data=_a.af,i._worker_message_receive=_a.bf,i._ceres_worker=_a.cf,i._zappar_analytics_project_id_set=_a.df,i.__ZN5boost13serialization16singleton_module8get_lockEv=_a.ef,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem19InitializationInputEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.ff,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.gf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKi5FrameEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.hf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE5FrameE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.jf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.kf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.lf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.mf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam5Pose3EE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.nf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi6ELi1ELi0ELi6ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.of,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.pf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam7imuBias12ConstantBiasEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.qf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26bitsetILm2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.rf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.sf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE3ImuE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.tf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.uf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKi12WorldFeatureEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.vf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE12WorldFeatureE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.wf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.xf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.yf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam7Cal3_S2EE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.zf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Af,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam7Cal3_S2EE15load_object_ptrERNS1_14basic_iarchiveEPvj=_a.Bf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam28PreintegrationCombinedParamsEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Cf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam28PreintegrationCombinedParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Df,i.__ZN5boost13serialization18void_cast_registerIN5gtsam28PreintegrationCombinedParamsENS2_20PreintegrationParamsEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=_a.Ef,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam20PreintegrationParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Ff,i.__ZN5boost13serialization18void_cast_registerIN5gtsam20PreintegrationParamsENS2_27PreintegratedRotationParamsEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=_a.Gf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam27PreintegratedRotationParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Hf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__28optionalIN5gtsam5Pose3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.If,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__28optionalIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Jf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi3ELi3ELi0ELi3ELi3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Kf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi6ELi6ELi0ELi6ELi6EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Lf,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam28PreintegrationCombinedParamsEE15load_object_ptrERNS1_14basic_iarchiveEPvj=_a.Mf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem10ParametersEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Nf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN2cv12TermCriteriaEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Of,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem20InitializationResultEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Pf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Qf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKi5FrameEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Rf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE5FrameE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Sf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Tf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Uf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Vf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam5Pose3EE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Wf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi6ELi1ELi0ELi6ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Xf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Yf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam7imuBias12ConstantBiasEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Zf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26bitsetILm2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a._f,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.$f,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE3ImuE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.ag,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.bg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKi12WorldFeatureEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.cg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE12WorldFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.dg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.eg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem19InitializationInputEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.fg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.gg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam7Cal3_S2EE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.hg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.ig,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam7Cal3_S2EE15save_object_ptrERNS1_14basic_oarchiveEPKv=_a.jg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam28PreintegrationCombinedParamsEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.kg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam28PreintegrationCombinedParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.lg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam20PreintegrationParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.mg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam27PreintegratedRotationParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.ng,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__28optionalIN5gtsam5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.og,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__28optionalIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.pg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi3ELi3ELi0ELi3ELi3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.qg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi6ELi6ELi0ELi6ELi6EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.rg,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam28PreintegrationCombinedParamsEE15save_object_ptrERNS1_14basic_oarchiveEPKv=_a.sg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem10ParametersEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.tg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN2cv12TermCriteriaEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.ug,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem20InitializationResultEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.vg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE9RecordingE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.wg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorI11SensorEventNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.xg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE11SensorEventE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.yg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.zg;var sa,la=_a.Ag,ua=_a.Bg,da=_a.Cg,fa=_a.Dg,pa=_a.Eg,va=_a.Fg,Ea=_a.Gg,ma=_a.Hg,ba=_a.Ig,wa=i.dynCall_j=_a.Jg,ga=i.dynCall_viij=_a.Kg,ya=i.dynCall_viijii=_a.Lg,Na=i.dynCall_iij=_a.Mg,Sa=i.dynCall_vij=_a.Ng,za=i.dynCall_iiji=_a.Og,ka=i.dynCall_viji=_a.Pg,Ia=i.dynCall_ji=_a.Qg,Pa=i.dynCall_iiiijjji=_a.Rg,La=i.dynCall_iiiijji=_a.Sg,ja=i.dynCall_iijjjjjji=_a.Tg,Ra=i.dynCall_viiji=_a.Ug,xa=i.dynCall_diji=_a.Vg,Ka=i.dynCall_jiii=_a.Wg,Ma=i.dynCall_jii=_a.Xg,Za=i.dynCall_vjii=_a.Yg,Ca=i.dynCall_vji=_a.Zg,Aa=i.dynCall_iji=_a._g,Fa=i.dynCall_iiiij=_a.$g,Da=i.dynCall_jj=_a.ah,Ta=i.dynCall_djj=_a.bh,Oa=i.dynCall_iiiiij=_a.ch,qa=i.dynCall_jiiii=_a.dh;function Ua(){function e(){if(!sa&&(sa=!0,i.calledRun=!0,!N)){if(i.noFSInit||Ce||(Ce=!0,i.stdin=i.stdin,i.stdout=i.stdout,i.stderr=i.stderr,i.stdin?Ye("stdin",i.stdin):Ue("/dev/tty","/dev/stdin"),i.stdout?Ye("stdout",null,i.stdout):Ue("/dev/tty","/dev/stdout"),i.stderr?Ye("stderr",null,i.stderr):Ue("/dev/tty1","/dev/stderr"),We("/dev/stdin",0),We("/dev/stdout",1),We("/dev/stderr",1)),we=!1,T(k),r(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;){var e=i.postRun.shift();I.unshift(e)}T(I)}}if(!(0<x)){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)P();T(z),0<x||(i.setStatus?(i.setStatus("Running..."),setTimeout((function(){setTimeout((function(){i.setStatus("")}),1),e()}),1)):e())}}if(i.___start_em_js=629308,i.___stop_em_js=630473,i.cwrap=(e,r,a,t)=>{var n=!a||a.every((e=>"number"===e||"boolean"===e));return"string"!==r&&n&&!t?i["_"+e]:function(){return((e,r,a,t)=>{var n={string:e=>{var r=0;if(null!=e&&0!==e){r=te(e)+1;var a=pa(r);ie(e,v,a,r),r=a}return r},array:e=>{var r=pa(e.length);return p.set(e,r),r}};e=i["_"+e];var o,_=[],c=0;if(t)for(var h=0;h<t.length;h++){var s=n[a[h]];s?(0===c&&(c=da()),_[h]=s(t[h])):_[h]=t[h]}return o=a=e.apply(null,_),0!==c&&fa(c),"string"===r?o?re(v,o):"":"boolean"===r?!!o:o})(e,r,a,arguments)}},i.setValue=function(e,r,a="i8"){switch(a.endsWith("*")&&(a="*"),a){case"i1":case"i8":p[e>>0]=r;break;case"i16":E[e>>1]=r;break;case"i32":b[e>>2]=r;break;case"i64":A("to do setValue(i64) use WASM_BIGINT");case"float":g[e>>2]=r;break;case"double":y[e>>3]=r;break;case"*":w[e>>2]=r;break;default:A(`invalid type for setValue: ${a}`)}},i.getValue=function(e,r="i8"){switch(r.endsWith("*")&&(r="*"),r){case"i1":case"i8":return p[e>>0];case"i16":return E[e>>1];case"i32":return b[e>>2];case"i64":A("to do getValue(i64) use WASM_BIGINT");case"float":return g[e>>2];case"double":return y[e>>3];case"*":return w[e>>2];default:A(`invalid type for getValue: ${r}`)}},i.UTF8ToString=Je,M=function e(){sa||Ua(),sa||(M=e)},i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);0<i.preInit.length;)i.preInit.pop()();return Ua(),e})},751:(e,r,a)=>{e.exports=a.p+"a5f074b0d01366261164.wasm"}}]);
|
|
1
|
+
"use strict";(self.webpackChunkZCV=self.webpackChunkZCV||[]).push([[867],{604:(e,r,a)=>{function t(e){return{worker_message_send_count:e.cwrap("worker_message_send_count","number",[]),worker_message_send_clear:e.cwrap("worker_message_send_clear",null,[]),worker_message_send_data_size:e.cwrap("worker_message_send_data_size","number",["number"]),worker_message_send_data:e.cwrap("worker_message_send_data","number",["number"]),worker_message_send_reference:e.cwrap("worker_message_send_reference","number",["number"]),worker_message_receive:e.cwrap("worker_message_receive",null,["number","number","number"])}}a.d(r,{g:()=>t})},581:(e,r,a)=>{var t;a.d(r,{Z:()=>i});const i=(t="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(e={}){var r,a,i=e;i.ready=new Promise(((e,t)=>{r=e,a=t}));var n,o=Object.assign({},i),_="./this.program",c=(e,r)=>{throw r},s="";s=self.location.href,t&&(s=t),s=s.startsWith("blob:")?"":s.substr(0,s.replace(/[?#].*/,"").lastIndexOf("/")+1),n=e=>{var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)};var h,l=i.print||console.log.bind(console),d=i.printErr||console.error.bind(console);Object.assign(i,o),o=null,i.thisProgram&&(_=i.thisProgram),i.quit&&(c=i.quit),i.wasmBinary&&(h=i.wasmBinary),"object"!=typeof WebAssembly&&A("no native wasm support detected");var u,f,p,v,E,m,b,w,g,y,N=!1;function S(){var e=u.buffer;i.HEAP8=p=new Int8Array(e),i.HEAP16=E=new Int16Array(e),i.HEAPU8=v=new Uint8Array(e),i.HEAPU16=m=new Uint16Array(e),i.HEAP32=b=new Int32Array(e),i.HEAPU32=w=new Uint32Array(e),i.HEAPF32=g=new Float32Array(e),i.HEAPF64=y=new Float64Array(e)}var z=[],k=[],I=[];function j(){var e=i.preRun.shift();z.unshift(e)}var P,L,R,x=0,K=null,M=null;function Z(){x++,i.monitorRunDependencies?.(x)}function C(){if(x--,i.monitorRunDependencies?.(x),0==x&&(null!==K&&(clearInterval(K),K=null),M)){var e=M;M=null,e()}}function A(e){throw i.onAbort?.(e),d(e="Aborted("+e+")"),N=!0,f=1,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),a(e),e}if(!(P="zappar-cv.wasm").startsWith("data:application/octet-stream;base64,")){var F=P;P=i.locateFile?i.locateFile(F,s):s+F}function D(e){this.name="ExitStatus",this.message=`Program terminated with exit(${e})`,this.status=e}var T=e=>{for(;0<e.length;)e.shift()(i)},O=i.noExitRuntime||!0,q=[],U=0,B=0;class W{constructor(e){this.yh=e,this.nh=e-24}}var G=e=>{var r=B;if(!r)return da(0),0;var a=new W(r);w[a.nh+16>>2]=r;var t=w[a.nh+4>>2];if(!t)return da(0),r;for(var i in e){var n=e[i];if(0===n||n===t)break;if(ma(n,t,a.nh+16))return da(n),r}return da(t),r},H=()=>{var e=q.pop();e||A("no exception to throw");var r=e.yh;throw 0==p[e.nh+13>>0]&&(q.push(e),p[e.nh+13>>0]=1,p[e.nh+12>>0]=0,U++),B=r},Y=(e,r)=>{for(var a=0,t=e.length-1;0<=t;t--){var i=e[t];"."===i?e.splice(t,1):".."===i?(e.splice(t,1),a++):a&&(e.splice(t,1),a--)}if(r)for(;a;a--)e.unshift("..");return e},V=e=>{var r="/"===e.charAt(0),a="/"===e.substr(-1);return(e=Y(e.split("/").filter((e=>!!e)),!r).join("/"))||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},$=e=>{var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1);return e=r[0],r=r[1],e||r?(r&&=r.substr(0,r.length-1),e+r):"."},X=e=>{if("/"===e)return"/";var r=(e=(e=V(e)).replace(/\/$/,"")).lastIndexOf("/");return-1===r?e:e.substr(r+1)},J=e=>(J=(()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return e=>crypto.getRandomValues(e);A("initRandomDevice")})())(e);function Q(){for(var e="",r=!1,a=arguments.length-1;-1<=a&&!r;a--){if("string"!=typeof(r=0<=a?arguments[a]:"/"))throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";e=r+"/"+e,r="/"===r.charAt(0)}return(r?"/":"")+(e=Y(e.split("/").filter((e=>!!e)),!r).join("/"))||"."}var ee="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,re=(e,r,a)=>{var t=r+a;for(a=r;e[a]&&!(a>=t);)++a;if(16<a-r&&e.buffer&&ee)return ee.decode(e.subarray(r,a));for(t="";r<a;){var i=e[r++];if(128&i){var n=63&e[r++];if(192==(224&i))t+=String.fromCharCode((31&i)<<6|n);else{var o=63&e[r++];65536>(i=224==(240&i)?(15&i)<<12|n<<6|o:(7&i)<<18|n<<12|o<<6|63&e[r++])?t+=String.fromCharCode(i):(i-=65536,t+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else t+=String.fromCharCode(i)}return t},ae=[],te=e=>{for(var r=0,a=0;a<e.length;++a){var t=e.charCodeAt(a);127>=t?r++:2047>=t?r+=2:55296<=t&&57343>=t?(r+=4,++a):r+=3}return r},ie=(e,r,a,t)=>{if(!(0<t))return 0;var i=a;t=a+t-1;for(var n=0;n<e.length;++n){var o=e.charCodeAt(n);if(55296<=o&&57343>=o&&(o=65536+((1023&o)<<10)|1023&e.charCodeAt(++n)),127>=o){if(a>=t)break;r[a++]=o}else{if(2047>=o){if(a+1>=t)break;r[a++]=192|o>>6}else{if(65535>=o){if(a+2>=t)break;r[a++]=224|o>>12}else{if(a+3>=t)break;r[a++]=240|o>>18,r[a++]=128|o>>12&63}r[a++]=128|o>>6&63}r[a++]=128|63&o}}return r[a]=0,a-i};function ne(e,r){var a=Array(te(e)+1);return e=ie(e,a,0,a.length),r&&(a.length=e),a}var oe=[];function _e(e,r){oe[e]={input:[],oh:[],wh:r},Fe(e,ce)}var ce={open(e){var r=oe[e.node.Hh];if(!r)throw new ge(43);e.lh=r,e.seekable=!1},close(e){e.lh.wh.Lh(e.lh)},Lh(e){e.lh.wh.Lh(e.lh)},read(e,r,a,t){if(!e.lh||!e.lh.wh.$h)throw new ge(60);for(var i=0,n=0;n<t;n++){try{var o=e.lh.wh.$h(e.lh)}catch(e){throw new ge(29)}if(void 0===o&&0===i)throw new ge(6);if(null==o)break;i++,r[a+n]=o}return i&&(e.node.timestamp=Date.now()),i},write(e,r,a,t){if(!e.lh||!e.lh.wh.Vh)throw new ge(60);try{for(var i=0;i<t;i++)e.lh.wh.Vh(e.lh,r[a+i])}catch(e){throw new ge(29)}return t&&(e.node.timestamp=Date.now()),i}},se={$h(){e:{if(!ae.length){var e=null;if("undefined"!=typeof window&&"function"==typeof window.prompt?null!==(e=window.prompt("Input: "))&&(e+="\n"):"function"==typeof readline&&null!==(e=readline())&&(e+="\n"),!e){e=null;break e}ae=ne(e,!0)}e=ae.shift()}return e},Vh(e,r){null===r||10===r?(l(re(e.oh,0)),e.oh=[]):0!=r&&e.oh.push(r)},Lh(e){e.oh&&0<e.oh.length&&(l(re(e.oh,0)),e.oh=[])},pi:()=>({Hi:25856,Ji:5,Gi:191,Ii:35387,Fi:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),ri:()=>0,si:()=>[24,80]},he={Vh(e,r){null===r||10===r?(d(re(e.oh,0)),e.oh=[]):0!=r&&e.oh.push(r)},Lh(e){e.oh&&0<e.oh.length&&(d(re(e.oh,0)),e.oh=[])}};function le(e,r){var a=e.jh?e.jh.length:0;a>=r||(r=Math.max(r,a*(1048576>a?2:1.125)>>>0),0!=a&&(r=Math.max(r,256)),a=e.jh,e.jh=new Uint8Array(r),0<e.mh&&e.jh.set(a.subarray(0,e.mh),0))}var de={sh:null,vh:()=>de.createNode(null,"/",16895,0),createNode(e,r,a,t){if(24576==(61440&a)||4096==(61440&a))throw new ge(63);return de.sh||(de.sh={dir:{node:{rh:de.ih.rh,th:de.ih.th,Gh:de.ih.Gh,Mh:de.ih.Mh,ei:de.ih.ei,Sh:de.ih.Sh,Oh:de.ih.Oh,Nh:de.ih.Nh,Ph:de.ih.Ph},stream:{Ah:de.kh.Ah}},file:{node:{rh:de.ih.rh,th:de.ih.th},stream:{Ah:de.kh.Ah,read:de.kh.read,write:de.kh.write,Jh:de.kh.Jh,bi:de.kh.bi,di:de.kh.di}},link:{node:{rh:de.ih.rh,th:de.ih.th,Ih:de.ih.Ih},stream:{}},Yh:{node:{rh:de.ih.rh,th:de.ih.th},stream:Ae}}),Pe((a=je(e,r,a,t)).mode)?(a.ih=de.sh.dir.node,a.kh=de.sh.dir.stream,a.jh={}):32768==(61440&a.mode)?(a.ih=de.sh.file.node,a.kh=de.sh.file.stream,a.mh=0,a.jh=null):40960==(61440&a.mode)?(a.ih=de.sh.link.node,a.kh=de.sh.link.stream):8192==(61440&a.mode)&&(a.ih=de.sh.Yh.node,a.kh=de.sh.Yh.stream),a.timestamp=Date.now(),e&&(e.jh[r]=a,e.timestamp=a.timestamp),a},Oi:e=>e.jh?e.jh.subarray?e.jh.subarray(0,e.mh):new Uint8Array(e.jh):new Uint8Array(0),ih:{rh(e){var r={};return r.ji=8192==(61440&e.mode)?e.id:1,r.ai=e.id,r.mode=e.mode,r.wi=1,r.uid=0,r.li=0,r.Hh=e.Hh,Pe(e.mode)?r.size=4096:32768==(61440&e.mode)?r.size=e.mh:40960==(61440&e.mode)?r.size=e.link.length:r.size=0,r.fi=new Date(e.timestamp),r.vi=new Date(e.timestamp),r.ii=new Date(e.timestamp),r.gi=4096,r.hi=Math.ceil(r.size/r.gi),r},th(e,r){if(void 0!==r.mode&&(e.mode=r.mode),void 0!==r.timestamp&&(e.timestamp=r.timestamp),void 0!==r.size&&(r=r.size,e.mh!=r))if(0==r)e.jh=null,e.mh=0;else{var a=e.jh;e.jh=new Uint8Array(r),a&&e.jh.set(a.subarray(0,Math.min(r,e.mh))),e.mh=r}},Gh(){throw ye[44]},Mh:(e,r,a,t)=>de.createNode(e,r,a,t),ei(e,r,a){if(Pe(e.mode)){try{var t=Ie(r,a)}catch(e){}if(t)for(var i in t.jh)throw new ge(55)}delete e.parent.jh[e.name],e.parent.timestamp=Date.now(),e.name=a,r.jh[a]=e,r.timestamp=e.parent.timestamp,e.parent=r},Sh(e,r){delete e.jh[r],e.timestamp=Date.now()},Oh(e,r){var a,t=Ie(e,r);for(a in t.jh)throw new ge(55);delete e.jh[r],e.timestamp=Date.now()},Nh(e){var r,a=[".",".."];for(r of Object.keys(e.jh))a.push(r);return a},Ph:(e,r,a)=>((e=de.createNode(e,r,41471,0)).link=a,e),Ih(e){if(40960!=(61440&e.mode))throw new ge(28);return e.link}},kh:{read(e,r,a,t,i){var n=e.node.jh;if(i>=e.node.mh)return 0;if(8<(e=Math.min(e.node.mh-i,t))&&n.subarray)r.set(n.subarray(i,i+e),a);else for(t=0;t<e;t++)r[a+t]=n[i+t];return e},write(e,r,a,t,i,n){if(r.buffer===p.buffer&&(n=!1),!t)return 0;if((e=e.node).timestamp=Date.now(),r.subarray&&(!e.jh||e.jh.subarray)){if(n)return e.jh=r.subarray(a,a+t),e.mh=t;if(0===e.mh&&0===i)return e.jh=r.slice(a,a+t),e.mh=t;if(i+t<=e.mh)return e.jh.set(r.subarray(a,a+t),i),t}if(le(e,i+t),e.jh.subarray&&r.subarray)e.jh.set(r.subarray(a,a+t),i);else for(n=0;n<t;n++)e.jh[i+n]=r[a+n];return e.mh=Math.max(e.mh,i+t),t},Ah(e,r,a){if(1===a?r+=e.position:2===a&&32768==(61440&e.node.mode)&&(r+=e.node.mh),0>r)throw new ge(28);return r},Jh(e,r,a){le(e.node,r+a),e.node.mh=Math.max(e.node.mh,r+a)},bi(e,r,a,t,i){if(32768!=(61440&e.node.mode))throw new ge(43);if(e=e.node.jh,2&i||e.buffer!==p.buffer){if((0<a||a+r<e.length)&&(e=e.subarray?e.subarray(a,a+r):Array.prototype.slice.call(e,a,a+r)),a=!0,A(),!(r=void 0))throw new ge(48);p.set(e,r)}else a=!1,r=e.byteOffset;return{nh:r,Dh:a}},di:(e,r,a,t)=>(de.kh.write(e,r,0,t,a,!1),0)}},ue=i.preloadPlugins||[],fe=(e,r)=>{var a=0;return e&&(a|=365),r&&(a|=146),a},pe=null,ve={},Ee=[],me=1,be=null,we=!0,ge=class{constructor(e){this.name="ErrnoError",this.ph=e}},ye={};function Ne(e,r={}){if(!(e=Q(e)))return{path:"",node:null};if(8<(r=Object.assign({Zh:!0,Wh:0},r)).Wh)throw new ge(32);e=e.split("/").filter((e=>!!e));for(var a=pe,t="/",i=0;i<e.length;i++){var n=i===e.length-1;if(n&&r.parent)break;if(a=Ie(a,e[i]),t=V(t+"/"+e[i]),a.Eh&&(!n||n&&r.Zh)&&(a=a.Eh.root),!n||r.Kh)for(n=0;40960==(61440&a.mode);)if(a=Be(t),a=Ne(t=Q($(t),a),{Wh:r.Wh+1}).node,40<n++)throw new ge(32)}return{path:t,node:a}}function Se(e){for(var r;;){if(e===e.parent)return e=e.vh.ci,r?"/"!==e[e.length-1]?`${e}/${r}`:e+r:e;r=r?`${e.name}/${r}`:e.name,e=e.parent}}function ze(e,r){for(var a=0,t=0;t<r.length;t++)a=(a<<5)-a+r.charCodeAt(t)|0;return(e+a>>>0)%be.length}function ke(e){var r=ze(e.parent.id,e.name);if(be[r]===e)be[r]=e.Fh;else for(r=be[r];r;){if(r.Fh===e){r.Fh=e.Fh;break}r=r.Fh}}function Ie(e,r){var a=Pe(e.mode)?(a=Re(e,"x"))?a:e.ih.Gh?0:2:54;if(a)throw new ge(a);for(a=be[ze(e.id,r)];a;a=a.Fh){var t=a.name;if(a.parent.id===e.id&&t===r)return a}return e.ih.Gh(e,r)}function je(e,r,a,t){return r=ze((e=new ia(e,r,a,t)).parent.id,e.name),e.Fh=be[r],be[r]=e}function Pe(e){return 16384==(61440&e)}function Le(e){var r=["r","w","rw"][3&e];return 512&e&&(r+="w"),r}function Re(e,r){return we?0:!r.includes("r")||292&e.mode?r.includes("w")&&!(146&e.mode)||r.includes("x")&&!(73&e.mode)?2:0:2}function xe(e,r){try{return Ie(e,r),20}catch(e){}return Re(e,"wx")}function Ke(e,r,a){try{var t=Ie(e,r)}catch(e){return e.ph}if(e=Re(e,"wx"))return e;if(a){if(!Pe(t.mode))return 54;if(t===t.parent||"/"===Se(t))return 10}else if(Pe(t.mode))return 31;return 0}function Me(e){if(!(e=Ee[e]))throw new ge(8);return e}function Ze(e,r=-1){return Ve||((Ve=function(){this.qh={}}).prototype={},Object.defineProperties(Ve.prototype,{object:{get(){return this.node},set(e){this.node=e}},flags:{get(){return this.qh.flags},set(e){this.qh.flags=e}},position:{get(){return this.qh.position},set(e){this.qh.position=e}}})),e=Object.assign(new Ve,e),-1==r&&(r=function(){for(var e=0;4096>=e;e++)if(!Ee[e])return e;throw new ge(33)}()),e.xh=r,Ee[r]=e}var Ce,Ae={open(e){e.kh=ve[e.node.Hh].kh,e.kh.open?.(e)},Ah(){throw new ge(70)}};function Fe(e,r){ve[e]={kh:r}}function De(e,r){var a="/"===r;if(a&&pe)throw new ge(10);if(!a&&r){var t=Ne(r,{Zh:!1});if(r=t.path,(t=t.node).Eh)throw new ge(10);if(!Pe(t.mode))throw new ge(54)}r={type:e,Si:{},ci:r,ui:[]},(e=e.vh(r)).vh=r,r.root=e,a?pe=e:t&&(t.Eh=r,t.vh&&t.vh.ui.push(r))}function Te(e,r,a){var t=Ne(e,{parent:!0}).node;if(!(e=X(e))||"."===e||".."===e)throw new ge(28);var i=xe(t,e);if(i)throw new ge(i);if(!t.ih.Mh)throw new ge(63);return t.ih.Mh(t,e,r,a)}function Oe(e){return Te(e,16895,0)}function qe(e,r,a){void 0===a&&(a=r,r=438),Te(e,8192|r,a)}function Ue(e,r){if(!Q(e))throw new ge(44);var a=Ne(r,{parent:!0}).node;if(!a)throw new ge(44);var t=xe(a,r=X(r));if(t)throw new ge(t);if(!a.ih.Ph)throw new ge(63);a.ih.Ph(a,r,e)}function Be(e){if(!(e=Ne(e).node))throw new ge(44);if(!e.ih.Ih)throw new ge(28);return Q(Se(e.parent),e.ih.Ih(e))}function We(e,r,a){if(""===e)throw new ge(44);if("string"==typeof r){var t={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[r];if(void 0===t)throw Error(`Unknown file open mode: ${r}`);r=t}if(a=64&r?4095&(void 0===a?438:a)|32768:0,"object"==typeof e)var n=e;else{e=V(e);try{n=Ne(e,{Kh:!(131072&r)}).node}catch(e){}}if(t=!1,64&r)if(n){if(128&r)throw new ge(20)}else n=Te(e,a,0),t=!0;if(!n)throw new ge(44);if(8192==(61440&n.mode)&&(r&=-513),65536&r&&!Pe(n.mode))throw new ge(54);if(!t&&(a=n?40960==(61440&n.mode)?32:Pe(n.mode)&&("r"!==Le(r)||512&r)?31:Re(n,Le(r)):44))throw new ge(a);if(512&r&&!t){if(!(a="string"==typeof(a=n)?Ne(a,{Kh:!0}).node:a).ih.th)throw new ge(63);if(Pe(a.mode))throw new ge(31);if(32768!=(61440&a.mode))throw new ge(28);if(t=Re(a,"w"))throw new ge(t);a.ih.th(a,{size:0,timestamp:Date.now()})}return r&=-131713,(n=Ze({node:n,path:Se(n),flags:r,seekable:!0,position:0,kh:n.kh,Bi:[],error:!1})).kh.open&&n.kh.open(n),!i.logReadFiles||1&r||($e||={},e in $e||($e[e]=1)),n}function Ge(e,r,a){if(null===e.xh)throw new ge(8);if(!e.seekable||!e.kh.Ah)throw new ge(70);if(0!=a&&1!=a&&2!=a)throw new ge(28);return e.position=e.kh.Ah(e,r,a),e.Bi=[],e.position}function He(e,r,a){e=V("/dev/"+e);var t=fe(!!r,!!a);Ye||=64;var i=Ye++<<8|0;Fe(i,{open(e){e.seekable=!1},close(){a?.buffer?.length&&a(10)},read(e,a,t,i){for(var n=0,o=0;o<i;o++){try{var _=r()}catch(e){throw new ge(29)}if(void 0===_&&0===n)throw new ge(6);if(null==_)break;n++,a[t+o]=_}return n&&(e.node.timestamp=Date.now()),n},write(e,r,t,i){for(var n=0;n<i;n++)try{a(r[t+n])}catch(e){throw new ge(29)}return i&&(e.node.timestamp=Date.now()),n}}),qe(e,t,i)}var Ye,Ve,$e,Xe={},Je=(e,r)=>e?re(v,e,r):"";function Qe(e,r){if("/"===r.charAt(0))return r;if(e=-100===e?"/":Me(e).path,0==r.length)throw new ge(44);return V(e+"/"+r)}var er=void 0;function rr(){var e=b[+er>>2];return er+=4,e}var ar,tr=e=>0==e%4&&(0!=e%100||0==e%400),ir=[0,31,60,91,121,152,182,213,244,274,305,335],nr=[0,31,59,90,120,151,181,212,243,273,304,334],or=e=>{var r=te(e)+1,a=sa(r);return a&&ie(e,v,a,r),a},_r=e=>{f=e,O||(i.onExit?.(e),N=!0),c(e,new D(e))},cr=e=>{if(!N)try{if(e(),!O)try{f=e=f,_r(e)}catch(e){e instanceof D||"unwind"==e||c(1,e)}}catch(e){e instanceof D||"unwind"==e||c(1,e)}},sr=(e,r)=>{setTimeout((()=>{cr(e)}),r)};ar=()=>performance.now();var hr,lr,dr,ur=!1,fr=null,pr=0,vr=null,Er=0,mr=0,br=0,wr=[],gr={},yr=!1,Nr=!1,Sr=[],zr=!1,kr=void 0,Ir=void 0;function jr(){return!!yr&&((document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||(()=>{})).apply(document,[]),!0)}var Pr=0;function Lr(e){if("function"==typeof requestAnimationFrame)requestAnimationFrame(e);else{var r=Date.now();if(0===Pr)Pr=r+1e3/60;else for(;r+2>=Pr;)Pr+=1e3/60;setTimeout(e,Math.max(Pr-r,0))}}function Rr(e){return{jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[e.substr(e.lastIndexOf(".")+1)]}var xr=[];function Kr(){var e=i.canvas;xr.forEach((r=>r(e.width,e.height)))}function Mr(e,r,a){r&&a?(e.Ci=r,e.mi=a):(r=e.Ci,a=e.mi);var t=r,n=a;if(i.forcedAspectRatio&&0<i.forcedAspectRatio&&(t/n<i.forcedAspectRatio?t=Math.round(n*i.forcedAspectRatio):n=Math.round(t/i.forcedAspectRatio)),(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e.parentNode&&"undefined"!=typeof screen){var o=Math.min(screen.width/t,screen.height/n);t=Math.round(t*o),n=Math.round(n*o)}Ir?(e.width!=t&&(e.width=t),e.height!=n&&(e.height=n),void 0!==e.style&&(e.style.removeProperty("width"),e.style.removeProperty("height"))):(e.width!=r&&(e.width=r),e.height!=a&&(e.height=a),void 0!==e.style&&(t!=r||n!=a?(e.style.setProperty("width",t+"px","important"),e.style.setProperty("height",n+"px","important")):(e.style.removeProperty("width"),e.style.removeProperty("height"))))}var Zr,Cr,Ar,Fr,Dr,Tr=[],Or=e=>{var r=Tr[e];return r||(e>=Tr.length&&(Tr.length=e+1),Tr[e]=r=Ar.get(e)),r};function qr(e,r,a,t,i){function n(){var r=0,a=0;y.response&&b&&0===w[e+12>>2]&&(a=y.response.byteLength),0<a&&(r=sa(a),v.set(new Uint8Array(y.response),r)),w[e+12>>2]=r,Ur(e+16,a),Ur(e+24,0),(r=y.response?y.response.byteLength:0)&&Ur(e+32,r),m[e+40>>1]=y.readyState,m[e+42>>1]=y.status,y.statusText&&ie(y.statusText,v,e+44,64)}var o=w[e+8>>2];if(o){var _=o?re(v,o):"",c=e+112,s=Je(c+0);s||="GET";var h=w[c+56>>2],l=w[c+68>>2],d=w[c+72>>2];o=w[c+76>>2];var u=w[c+80>>2],f=w[c+84>>2],p=w[c+88>>2],E=w[c+52>>2],b=!!(1&E),g=!!(2&E);E=!!(64&E),l=l?l?re(v,l):"":void 0,d=d?d?re(v,d):"":void 0;var y=new XMLHttpRequest;if(y.withCredentials=!!v[c+60>>0],y.open(s,_,!E,l,d),E||(y.timeout=h),y.qh=_,y.responseType="arraybuffer",u&&(_=u?re(v,u):"",y.overrideMimeType(_)),o)for(;(c=w[o>>2])&&(_=w[o+4>>2]);)o+=8,c=c?re(v,c):"",_=_?re(v,_):"",y.setRequestHeader(c,_);var N=Fr.Jh(y);w[e>>2]=N,o=f&&p?v.slice(f,f+p):null,y.onload=t=>{Fr.has(N)&&(n(),200<=y.status&&300>y.status?r?.(e,y,t):a?.(e,y,t))},y.onerror=r=>{Fr.has(N)&&(n(),a?.(e,y,r))},y.ontimeout=r=>{Fr.has(N)&&a?.(e,y,r)},y.onprogress=r=>{if(Fr.has(N)){var a=b&&g&&y.response?y.response.byteLength:0,i=0;0<a&&b&&g&&(i=sa(a),v.set(new Uint8Array(y.response),i)),w[e+12>>2]=i,Ur(e+16,a),Ur(e+24,r.loaded-a),Ur(e+32,r.total),m[e+40>>1]=y.readyState,3<=y.readyState&&0===y.status&&0<r.loaded&&(y.status=200),m[e+42>>1]=y.status,y.statusText&&ie(y.statusText,v,e+44,64),t?.(e,y,r),i&&ca(i)}},y.onreadystatechange=r=>{Fr.has(N)&&(m[e+40>>1]=y.readyState,2<=y.readyState&&(m[e+42>>1]=y.status),i?.(e,y,r))};try{y.send(o)}catch(r){a?.(e,y,r)}}else a(e,0,"no url specified!")}var Ur=(e,r)=>{w[e>>2]=r,w[e+4>>2]=(r-w[e>>2])/4294967296};function Br(e,r,a,t){var i=Dr;if(i){var n=w[e+112+64>>2];n||=w[e+8>>2];var o=n?re(v,n):"";try{var _=i.transaction(["FILES"],"readwrite").objectStore("FILES").put(r,o);_.onsuccess=()=>{m[e+40>>1]=4,m[e+42>>1]=200,ie("OK",v,e+44,64),a(e,0,o)},_.onerror=r=>{m[e+40>>1]=4,m[e+42>>1]=413,ie("Payload Too Large",v,e+44,64),t(e,0,r)}}catch(r){t(e,0,r)}}else t(e,0,"IndexedDB not available!")}var Wr,Gr,Hr,Yr={},Vr=()=>{if(!Wr){var e,r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:_||"./this.program"};for(e in Yr)void 0===Yr[e]?delete r[e]:r[e]=Yr[e];var a=[];for(e in r)a.push(`${e}=${r[e]}`);Wr=a}return Wr},$r=1,Xr=[],Jr=[],Qr=e=>{for(var r=$r++,a=e.length;a<r;a++)e[a]=null;return r},ea=e=>{if(e||=Hr,!e.ni){e.ni=!0;var r=e.Th;(e=>{var r=e.getExtension("ANGLE_instanced_arrays");r&&(e.vertexAttribDivisor=(e,a)=>r.vertexAttribDivisorANGLE(e,a),e.drawArraysInstanced=(e,a,t,i)=>r.drawArraysInstancedANGLE(e,a,t,i),e.drawElementsInstanced=(e,a,t,i,n)=>r.drawElementsInstancedANGLE(e,a,t,i,n))})(r),(e=>{var r=e.getExtension("OES_vertex_array_object");r&&(e.createVertexArray=()=>r.createVertexArrayOES(),e.deleteVertexArray=e=>r.deleteVertexArrayOES(e),e.bindVertexArray=e=>r.bindVertexArrayOES(e),e.isVertexArray=e=>r.isVertexArrayOES(e))})(r),(e=>{var r=e.getExtension("WEBGL_draw_buffers");r&&(e.drawBuffers=(e,a)=>r.drawBuffersWEBGL(e,a))})(r),r.Li=r.getExtension("EXT_disjoint_timer_query"),r.Pi=r.getExtension("WEBGL_multi_draw"),function(e){var r="ANGLE_instanced_arrays EXT_blend_minmax EXT_disjoint_timer_query EXT_frag_depth EXT_shader_texture_lod EXT_sRGB OES_element_index_uint OES_fbo_render_mipmap OES_standard_derivatives OES_texture_float OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_depth_texture WEBGL_draw_buffers EXT_color_buffer_half_float EXT_float_blend EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic KHR_parallel_shader_compile OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context WEBGL_multi_draw".split(" ");return(e.getSupportedExtensions()||[]).filter((e=>r.includes(e)))}(r).forEach((e=>{e.includes("lose_context")||e.includes("debug")||r.getExtension(e)}))}},ra={},aa=[31,29,31,30,31,30,31,31,30,31,30,31],ta=[31,28,31,30,31,30,31,31,30,31,30,31];function ia(e,r,a,t){e||=this,this.parent=e,this.vh=e.vh,this.Eh=null,this.id=me++,this.name=r,this.mode=a,this.ih={},this.kh={},this.Hh=t}Object.defineProperties(ia.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(e){e?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(e){e?this.mode|=146:this.mode&=-147}}}),[44].forEach((e=>{ye[e]=new ge(e),ye[e].stack="<generic error, no stack>"})),be=Array(4096),De(de,"/"),Oe("/tmp"),Oe("/home"),Oe("/home/web_user"),function(){Oe("/dev"),Fe(259,{read:()=>0,write:(e,r,a,t)=>t}),qe("/dev/null",259),_e(1280,se),_e(1536,he),qe("/dev/tty",1280),qe("/dev/tty1",1536);var e=new Uint8Array(1024),r=0,a=()=>(0===r&&(r=J(e).byteLength),e[--r]);He("random",a),He("urandom",a),Oe("/dev/shm"),Oe("/dev/shm/tmp")}(),function(){Oe("/proc");var e=Oe("/proc/self");Oe("/proc/self/fd"),De({vh(){var r=je(e,"fd",16895,73);return r.ih={Gh(e,r){var a=Me(+r);return(e={parent:null,vh:{ci:"fake"},ih:{Ih:()=>a.path}}).parent=e}},r}},"/proc/self/fd")}(),i.requestFullscreen=function(e,r){function a(){yr=!1;var e=t.parentNode;(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===e?(t.exitFullscreen=jr,kr&&t.requestPointerLock(),yr=!0,Ir?("undefined"!=typeof SDL&&(b[SDL.screen>>2]=8388608|w[SDL.screen>>2]),Mr(i.canvas),Kr()):Mr(t)):(e.parentNode.insertBefore(t,e),e.parentNode.removeChild(e),Ir?("undefined"!=typeof SDL&&(b[SDL.screen>>2]=-8388609&w[SDL.screen>>2]),Mr(i.canvas),Kr()):Mr(t)),i.onFullScreen?.(yr),i.onFullscreen?.(yr)}void 0===(kr=e)&&(kr=!0),void 0===(Ir=r)&&(Ir=!1);var t=i.canvas;zr||(zr=!0,document.addEventListener("fullscreenchange",a,!1),document.addEventListener("mozfullscreenchange",a,!1),document.addEventListener("webkitfullscreenchange",a,!1),document.addEventListener("MSFullscreenChange",a,!1));var n=document.createElement("div");t.parentNode.insertBefore(n,t),n.appendChild(t),n.requestFullscreen=n.requestFullscreen||n.mozRequestFullScreen||n.msRequestFullscreen||(n.webkitRequestFullscreen?()=>n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):null)||(n.webkitRequestFullScreen?()=>n.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):null),n.requestFullscreen()},i.requestAnimationFrame=Lr,i.setCanvasSize=function(e,r,a){Mr(i.canvas,e,r),a||Kr()},i.pauseMainLoop=function(){fr=null,pr++},i.resumeMainLoop=function(){pr++;var e=Er,r=mr,a=vr;vr=null,(e=>{!vr||A("emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."),vr=e;var r=pr;ur=!1,lr=function(){if(!N)if(0<wr.length){var a=wr.shift();if(a.Ni(a.Ei),dr){var t=dr,n=0==t%1?t-1:Math.floor(t);dr=a.Ki?n:(8*t+(n+.5))/9}i.setStatus&&(a=i.statusMessage||"Please wait...",n=gr.Mi,(t=dr)?t<n?i.setStatus(a+" ("+(n-t)+"/"+n+")"):i.setStatus(a):i.setStatus("")),r<pr||setTimeout(lr,0)}else r<pr||(br=br+1|0,1==Er&&1<mr&&0!=br%mr?fr():(0==Er&&(hr=ar()),N||i.preMainLoop&&!1===i.preMainLoop()||(cr(e),i.postMainLoop?.()),r<pr||("object"==typeof SDL&&SDL.audio?.Ti?.(),fr())))}})(a),((e,r)=>{if(Er=e,mr=r,vr)if(ur||=!0,0==e)fr=function(){var e=0|Math.max(0,hr+r-ar());setTimeout(lr,e)};else if(1==e)fr=function(){Lr(lr)};else if(2==e){if(void 0===Zr)if("undefined"==typeof setImmediate){var a=[];addEventListener("message",(e=>{"setimmediate"!==e.data&&"setimmediate"!==e.data.target||(e.stopPropagation(),a.shift()())}),!0),Zr=function(e){a.push(e),void 0===i.setImmediates&&(i.setImmediates=[]),i.setImmediates.push(e),postMessage({target:"setimmediate"})}}else Zr=setImmediate;fr=function(){Zr(lr)}}})(e,r),fr()},i.getUserMedia=function(e){let r;(r=window).getUserMedia||(r.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia),window.getUserMedia(e)},i.createContext=function(e,r,a,t){if(r&&i.Uh&&e==i.canvas)return i.Uh;var n;if(r){var o={antialias:!1,alpha:!1,ti:1};if(t)for(var _ in t)o[_]=t[_];if(void 0!==ra&&(n=((e,r)=>{e.qh||(e.qh=e.getContext,e.getContext=function(r,a){return"webgl"==r==(a=e.qh(r,a))instanceof WebGLRenderingContext?a:null});var a=e.getContext("webgl",r);return a?((e,r)=>{var a=Qr(Jr),t={handle:a,attributes:r,version:r.ti,Th:e};return e.canvas&&(e.canvas.Di=t),Jr[a]=t,(void 0===r.ki||r.ki)&&ea(t),a})(a,r):0})(e,o)))var c=Jr[n].Th}else c=e.getContext("2d");return c?(a&&(r||void 0===na||A("cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),i.Uh=c,r&&(Hr=Jr[n],i.Uh=na=Hr?.Th),i.Vi=r,Sr.forEach((e=>e())),function(){function e(){Nr=document.pointerLockElement===i.canvas||document.mozPointerLockElement===i.canvas||document.webkitPointerLockElement===i.canvas||document.msPointerLockElement===i.canvas}if(!Cr){Cr=!0,ue.push({canHandle:function(e){return!i.Ri&&/\.(jpg|jpeg|png|bmp)$/i.test(e)},handle:function(e,r,a,t){var i=new Blob([e],{type:Rr(r)});i.size!==e.length&&(i=new Blob([new Uint8Array(e).buffer],{type:Rr(r)}));var n=URL.createObjectURL(i),o=new Image;o.onload=()=>{o.complete||A(`Image ${r} could not be decoded`);var t=document.createElement("canvas");t.width=o.width,t.height=o.height,t.getContext("2d").drawImage(o,0,0),URL.revokeObjectURL(n),a?.(e)},o.onerror=()=>{d(`Image ${n} could not be decoded`),t?.()},o.src=n}}),ue.push({canHandle:function(e){return!i.Qi&&e.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},handle:function(e,r,a){function t(){i||(i=!0,a?.(e))}var i=!1,n=URL.createObjectURL(new Blob([e],{type:Rr(r)})),o=new Audio;o.addEventListener("canplaythrough",(()=>t()),!1),o.onerror=function(){if(!i){d(`warning: browser could not fully decode audio ${r}, trying slower base64 approach`);for(var a="",n=0,_=0,c=0;c<e.length;c++)for(n=n<<8|e[c],_+=8;6<=_;){var s=n>>_-6&63;_-=6,a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[s]}2==_?(a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(3&n)<<4],a+="=="):4==_&&(a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(15&n)<<2],a+="="),o.src="data:audio/x-"+r.substr(-3)+";base64,"+a,t()}},o.src=n,sr((()=>{t()}),1e4)}});var r=i.canvas;r&&(r.requestPointerLock=r.requestPointerLock||r.mozRequestPointerLock||r.webkitRequestPointerLock||r.msRequestPointerLock||(()=>{}),r.exitPointerLock=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||(()=>{}),r.exitPointerLock=r.exitPointerLock.bind(document),document.addEventListener("pointerlockchange",e,!1),document.addEventListener("mozpointerlockchange",e,!1),document.addEventListener("webkitpointerlockchange",e,!1),document.addEventListener("mspointerlockchange",e,!1),i.elementPointerLock&&r.addEventListener("click",(e=>{!Nr&&i.canvas.requestPointerLock&&(i.canvas.requestPointerLock(),e.preventDefault())}),!1))}}()),c):null},Fr=new class{constructor(){this.Dh=[void 0],this.qh=[]}get(e){return this.Dh[e]}has(e){return void 0!==this.Dh[e]}Jh(e){var r=this.qh.pop()||this.Dh.length;return this.Dh[r]=e,r}},Z(),function(e,r){try{var a=indexedDB.open("emscripten_filesystem",1)}catch(e){return void r()}a.onupgradeneeded=e=>{(e=e.target.result).objectStoreNames.contains("FILES")&&e.deleteObjectStore("FILES"),e.createObjectStore("FILES")},a.onsuccess=e=>(e=>{Dr=e,C()})(e.target.result),a.onerror=r}(0,(()=>{Dr=!1,C()}));var na,oa={q:e=>{if(e=new W(e),0==p[e.nh+12>>0]&&(p[e.nh+12>>0]=1,U--),p[e.nh+13>>0]=0,q.push(e),Ea(e.yh),ba(w[e.nh+4>>2]))e=w[e.yh>>2];else{var r=w[e.nh+16>>2];e=0!==r?r:e.yh}return e},Nb:()=>{if(!q.length)return 0;var e=q[q.length-1];return Ea(e.yh),e.yh},y:()=>{la(0,0);var e=q.pop();va(e.yh),B=0},a:()=>G([]),i:e=>G([e]),G:(e,r)=>G([e,r]),Ga:H,Mb:e=>{e&&(e=new W(e),q.push(e),p[e.nh+13>>0]=1,H())},n:(e,r,a)=>{var t=new W(e);throw w[t.nh+16>>2]=0,w[t.nh+4>>2]=r,w[t.nh+8>>2]=a,U++,B=e},ma:()=>U,d:e=>{throw B||=e,B},R:function(e,r,a){er=a;try{var t=Me(e);switch(r){case 0:var i=rr();if(0>i)break;for(;Ee[i];)i++;return Ze(t,i).xh;case 1:case 2:case 13:case 14:return 0;case 3:return t.flags;case 4:return i=rr(),t.flags|=i,0;case 12:return i=rr(),E[i+0>>1]=2,0}return-28}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.ph}},Tb:function(e,r,a){try{var t=Me(e);if(!t.zh){var i=Ne(t.path,{Kh:!0}).node;if(!i.ih.Nh)throw new ge(54);var n=i.ih.Nh(i);t.zh=n}e=0;for(var o=Ge(t,0,1),_=Math.floor(o/280);_<t.zh.length&&e+280<=a;){var c=t.zh[_];if("."===c)var s=t.node.id,h=4;else if(".."===c)s=Ne(t.path,{parent:!0}).node.id,h=4;else{var l=Ie(t.node,c);s=l.id,h=8192==(61440&l.mode)?2:Pe(l.mode)?4:40960==(61440&l.mode)?10:8}R=[s>>>0,(L=s,1<=+Math.abs(L)?0<L?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],b[r+e>>2]=R[0],b[r+e+4>>2]=R[1],R=[280*(_+1)>>>0,(L=280*(_+1),1<=+Math.abs(L)?0<L?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],b[r+e+8>>2]=R[0],b[r+e+12>>2]=R[1],E[r+e+16>>1]=280,p[r+e+18>>0]=h,ie(c,v,r+e+19,256),e+=280,_+=1}return Ge(t,280*_,0),e}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.ph}},_b:function(e,r,a){er=a;try{var t=Me(e);switch(r){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return t.lh?0:-59;case 21505:if(!t.lh)return-59;if(t.lh.wh.pi){e=[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var i=rr();b[i>>2]=25856,b[i+4>>2]=5,b[i+8>>2]=191,b[i+12>>2]=35387;for(var n=0;32>n;n++)p[i+n+17>>0]=e[n]||0}return 0;case 21506:case 21507:case 21508:if(!t.lh)return-59;if(t.lh.wh.ri)for(i=rr(),e=[],n=0;32>n;n++)e.push(p[i+n+17>>0]);return 0;case 21519:return t.lh?(i=rr(),b[i>>2]=0):-59;case 21520:return t.lh?-28:-59;case 21531:if(i=rr(),!t.kh.oi)throw new ge(59);return t.kh.oi(t,r,i);case 21523:return t.lh?(t.lh.wh.si&&(n=[24,80],i=rr(),E[i>>1]=n[0],E[i+2>>1]=n[1]),0):-59;default:return-28}}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.ph}},Ka:function(e,r,a,t){er=t;try{return We(r=Qe(e,r=r?re(v,r):""),a,t?rr():0).xh}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.ph}},Rb:function(e,r,a,t){try{if(r=Qe(e,r=r?re(v,r):""),0>=t)return-28;var i=Be(r),n=Math.min(t,te(i)),o=p[a+n];return ie(i,v,a,t+1),p[a+n]=o,n}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.ph}},Wb:function(e,r){try{var a=Ne(e=e?re(v,e):"",{Kh:!0}).node;if(!a)throw new ge(44);if(!a.ih.rh)throw new ge(63);var t=a.ih.rh(a);b[r>>2]=t.ji,b[r+4>>2]=t.mode,w[r+8>>2]=t.wi,b[r+12>>2]=t.uid,b[r+16>>2]=t.li,b[r+20>>2]=t.Hh,R=[t.size>>>0,(L=t.size,1<=+Math.abs(L)?0<L?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],b[r+24>>2]=R[0],b[r+28>>2]=R[1],b[r+32>>2]=4096,b[r+36>>2]=t.hi;var i=t.fi.getTime(),n=t.vi.getTime(),o=t.ii.getTime();return R=[Math.floor(i/1e3)>>>0,(L=Math.floor(i/1e3),1<=+Math.abs(L)?0<L?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],b[r+40>>2]=R[0],b[r+44>>2]=R[1],w[r+48>>2]=i%1e3*1e3,R=[Math.floor(n/1e3)>>>0,(L=Math.floor(n/1e3),1<=+Math.abs(L)?0<L?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],b[r+56>>2]=R[0],b[r+60>>2]=R[1],w[r+64>>2]=n%1e3*1e3,R=[Math.floor(o/1e3)>>>0,(L=Math.floor(o/1e3),1<=+Math.abs(L)?0<L?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],b[r+72>>2]=R[0],b[r+76>>2]=R[1],w[r+80>>2]=o%1e3*1e3,R=[t.ai>>>0,(L=t.ai,1<=+Math.abs(L)?0<L?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],b[r+88>>2]=R[0],b[r+92>>2]=R[1],0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.ph}},Sb:function(e,r){try{return Ue(e=e?re(v,e):"",r=r?re(v,r):""),0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.ph}},Pb:function(e,r,a){try{if(r=Qe(e,r=r?re(v,r):""),0===a){var t=r,i=Ne(t,{parent:!0}).node;if(!i)throw new ge(44);var n=X(t),o=Ie(i,n),_=Ke(i,n,!1);if(_)throw new ge(_);if(!i.ih.Sh)throw new ge(63);if(o.Eh)throw new ge(10);i.ih.Sh(i,n),ke(o)}else if(512===a){t=Ne(i=r,{parent:!0}).node;var c=X(i),s=Ie(t,c),h=Ke(t,c,!0);if(h)throw new ge(h);if(!t.ih.Oh)throw new ge(63);if(s.Eh)throw new ge(10);t.ih.Oh(t,c),ke(s)}else A("Invalid flags passed to unlinkat");return 0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return-e.ph}},$b:function(e){if(Fr.has(e)){var r=Fr.get(e),a=Fr;a.Dh[e]=void 0,a.qh.push(e),0<r.readyState&&4>r.readyState&&r.abort()}},Yb:()=>1,mb:function(e,r,a){e=new Date(1e3*(r+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*r:NaN)),b[a>>2]=e.getUTCSeconds(),b[a+4>>2]=e.getUTCMinutes(),b[a+8>>2]=e.getUTCHours(),b[a+12>>2]=e.getUTCDate(),b[a+16>>2]=e.getUTCMonth(),b[a+20>>2]=e.getUTCFullYear()-1900,b[a+24>>2]=e.getUTCDay(),b[a+28>>2]=(e.getTime()-Date.UTC(e.getUTCFullYear(),0,1,0,0,0,0))/864e5|0},nb:function(e,r,a){e=new Date(1e3*(r+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*r:NaN)),b[a>>2]=e.getSeconds(),b[a+4>>2]=e.getMinutes(),b[a+8>>2]=e.getHours(),b[a+12>>2]=e.getDate(),b[a+16>>2]=e.getMonth(),b[a+20>>2]=e.getFullYear()-1900,b[a+24>>2]=e.getDay(),b[a+28>>2]=(tr(e.getFullYear())?ir:nr)[e.getMonth()]+e.getDate()-1|0,b[a+36>>2]=-60*e.getTimezoneOffset(),r=new Date(e.getFullYear(),6,1).getTimezoneOffset();var t=new Date(e.getFullYear(),0,1).getTimezoneOffset();b[a+32>>2]=0|(r!=t&&e.getTimezoneOffset()==Math.min(t,r))},Qb:(e,r,a)=>{function t(e){return(e=e.toTimeString().match(/\(([A-Za-z ]+)\)$/))?e[1]:"GMT"}var i=(new Date).getFullYear(),n=new Date(i,0,1),o=new Date(i,6,1);i=n.getTimezoneOffset();var _=o.getTimezoneOffset();w[e>>2]=60*Math.max(i,_),b[r>>2]=Number(i!=_),e=t(n),r=t(o),e=or(e),r=or(r),_<i?(w[a>>2]=e,w[a+4>>2]=r):(w[a>>2]=r,w[a+4>>2]=e)},F:()=>{A("")},hb:function(){self.postMessage({t:"gfx"})},jb:function(){var e=new URL(location.origin).hostname;if(0===e.length&&(e=new URL(location.href.replace("blob:","")).hostname),/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(e))0===e.indexOf("10.")&&(e="10.*"),0===e.indexOf("192.168.")&&(e="192.168.*"),0===e.indexOf("172.")&&(e="172.*"),0===e.indexOf("127.")&&(e="127.*");else{var r=new RegExp("("+String.fromCharCode(92)+".ngrok"+String.fromCharCode(92)+".io)$","i");r.test(e)&&(e="*.ngrok.io"),(r=new RegExp("("+String.fromCharCode(92)+".ngrok-free"+String.fromCharCode(92)+".app)$","i")).test(e)&&(e="*.ngrok.io"),(r=new RegExp("("+String.fromCharCode(92)+".arweb"+String.fromCharCode(92)+".app)$","i")).test(e)&&(e="*.arweb.app")}r=te(e)+1;var a=sa(r);return ie(e,v,a,r+1),a},ib:function(){self.postMessage({t:"licerr"})},Fa:(e,r,a)=>{function t(){Or(e)(r)}0<=a?sr(t,a):function(e){Lr((()=>{cr(e)}))}(t)},na:()=>Date.now(),Kb:()=>2147483648,Xb:ar,bc:()=>!1,Zb:(e,r,a)=>v.copyWithin(e,r,r+a),Ob:e=>{var r=v.length;if(2147483648<(e>>>=0))return!1;for(var a=1;4>=a;a*=2){var t=r*(1+.2/a);t=Math.min(t,e+100663296);var i=Math;t=Math.max(e,t);e:{i=(i.min.call(i,2147483648,t+(65536-t%65536)%65536)-u.buffer.byteLength+65535)/65536;try{u.grow(i),S();var n=1;break e}catch(e){}n=void 0}if(n)return!0}return!1},ac:function(e,r,a,t,i){function n(e){d?e():cr(e)}var o=e+112,_=w[o+36>>2],c=w[o+40>>2],s=w[o+44>>2],h=w[o+48>>2],l=w[o+52>>2],d=!!(64&l),u=e=>{n((()=>{_?Or(_)(e):r?.(e)}))},f=e=>{n((()=>{s?Or(s)(e):t?.(e)}))},p=e=>{n((()=>{c?Or(c)(e):a?.(e)}))},E=e=>{n((()=>{h?Or(h)(e):i?.(e)}))},b=e=>{qr(e,u,p,f,E)},g=(e,a)=>{Br(e,a.response,(e=>{n((()=>{_?Or(_)(e):r?.(e)}))}),(e=>{n((()=>{_?Or(_)(e):r?.(e)}))}))},y=Je(o+0),N=!!(16&l),S=!!(4&l);if(l=!!(32&l),"EM_IDB_STORE"===y)b=w[o+84>>2],Br(e,v.slice(b,b+w[o+88>>2]),u,p);else if("EM_IDB_DELETE"===y)!function(e,r,a){var t=Dr;if(t){var i=w[e+112+64>>2];i||=w[e+8>>2],i=i?re(v,i):"";try{var n=t.transaction(["FILES"],"readwrite").objectStore("FILES").delete(i);n.onsuccess=a=>{a=a.target.result,w[e+12>>2]=0,Ur(e+16,0),Ur(e+24,0),Ur(e+32,0),m[e+40>>1]=4,m[e+42>>1]=200,ie("OK",v,e+44,64),r(e,0,a)},n.onerror=r=>{m[e+40>>1]=4,m[e+42>>1]=404,ie("Not Found",v,e+44,64),a(e,0,r)}}catch(r){a(e,0,r)}}else a(e,0,"IndexedDB not available!")}(e,u,p);else if(N){if(l)return 0;qr(e,S?g:u,p,f,E)}else!function(e,r,a){var t=Dr;if(t){var i=w[e+112+64>>2];i||=w[e+8>>2],i=i?re(v,i):"";try{var n=t.transaction(["FILES"],"readonly").objectStore("FILES").get(i);n.onsuccess=t=>{if(t.target.result){var i=(t=t.target.result).byteLength||t.length,n=sa(i);v.set(new Uint8Array(t),n),w[e+12>>2]=n,Ur(e+16,i),Ur(e+24,0),Ur(e+32,i),m[e+40>>1]=4,m[e+42>>1]=200,ie("OK",v,e+44,64),r(e,0,t)}else m[e+40>>1]=4,m[e+42>>1]=404,ie("Not Found",v,e+44,64),a(e,0,"no data")},n.onerror=r=>{m[e+40>>1]=4,m[e+42>>1]=404,ie("Not Found",v,e+44,64),a(e,0,r)}}catch(r){a(e,0,r)}}else a(e,0,"IndexedDB not available!")}(e,u,l?p:S?e=>{qr(e,g,p,f,E)}:b);return e},Ub:(e,r)=>{var a=0;return Vr().forEach(((t,i)=>{var n=r+a;for(i=w[e+4*i>>2]=n,n=0;n<t.length;++n)p[i++>>0]=t.charCodeAt(n);p[i>>0]=0,a+=t.length+1})),0},Vb:(e,r)=>{var a=Vr();w[e>>2]=a.length;var t=0;return a.forEach((e=>t+=e.length+1)),w[r>>2]=t,0},dc:e=>{f=e,_r(e)},_:function(e){try{var r=Me(e);if(null===r.xh)throw new ge(8);r.zh&&(r.zh=null);try{r.kh.close&&r.kh.close(r)}catch(e){throw e}finally{Ee[r.xh]=null}return r.xh=null,0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return e.ph}},La:function(e,r,a,t){try{e:{var i=Me(e);e=r;for(var n,o=r=0;o<a;o++){var _=w[e>>2],c=w[e+4>>2];e+=8;var s=i,h=n,l=p;if(0>c||0>h)throw new ge(28);if(null===s.xh)throw new ge(8);if(1==(2097155&s.flags))throw new ge(8);if(Pe(s.node.mode))throw new ge(31);if(!s.kh.read)throw new ge(28);var d=void 0!==h;if(d){if(!s.seekable)throw new ge(70)}else h=s.position;var u=s.kh.read(s,l,_,c,h);d||(s.position+=u);var f=u;if(0>f){var v=-1;break e}if(r+=f,f<c)break;void 0!==n&&(n+=f)}v=r}return w[t>>2]=v,0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return e.ph}},ob:function(e,r,a,t,i){r=a+2097152>>>0<4194305-!!r?(r>>>0)+4294967296*a:NaN;try{if(isNaN(r))return 61;var n=Me(e);return Ge(n,r,t),R=[n.position>>>0,(L=n.position,1<=+Math.abs(L)?0<L?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],b[i>>2]=R[0],b[i+4>>2]=R[1],n.zh&&0===r&&0===t&&(n.zh=null),0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return e.ph}},oa:function(e,r,a,t){try{e:{var i=Me(e);e=r;for(var n,o=r=0;o<a;o++){var _=w[e>>2],c=w[e+4>>2];e+=8;var s=i,h=_,l=c,d=n,u=p;if(0>l||0>d)throw new ge(28);if(null===s.xh)throw new ge(8);if(0==(2097155&s.flags))throw new ge(8);if(Pe(s.node.mode))throw new ge(31);if(!s.kh.write)throw new ge(28);s.seekable&&1024&s.flags&&Ge(s,0,2);var f=void 0!==d;if(f){if(!s.seekable)throw new ge(70)}else d=s.position;var v=s.kh.write(s,u,h,l,d,void 0);f||(s.position+=v);var E=v;if(0>E){var m=-1;break e}r+=E,void 0!==n&&(n+=E)}m=r}return w[t>>2]=m,0}catch(e){if(void 0===Xe||"ErrnoError"!==e.name)throw e;return e.ph}},Ia:(e,r)=>{na.bindTexture(e,Xr[r])},Ja:(e,r)=>{for(var a=0;a<e;a++){var t=na.createTexture(),i=t&&Qr(Xr);t?(t.name=i,Xr[i]=t):Gr||=1282,b[r+4*a>>2]=i}},ka:(e,r,a,t,i,n,o,_,c)=>{var s=na,h=s.texImage2D;if(c){var l=_-5120;l=1==l?v:4==l?b:6==l?g:5==l||28922==l?w:m;var d=31-Math.clz32(l.BYTES_PER_ELEMENT);c=l.subarray(c>>d,c+i*(t*({5:3,6:4,8:2,29502:3,29504:4}[o-6402]||1)*(1<<d)+4-1&-4)>>d)}else c=null;h.call(s,e,r,a,t,i,n,o,_,c)},la:function(e,r,a){na.texParameteri(e,r,a)},w:function(e){var r=ua();try{return Or(e)()}catch(e){if(fa(r),e!==e+0)throw e;la(1,0)}},ea:function(e,r){var a=ua();try{return Or(e)(r)}catch(e){if(fa(a),e!==e+0)throw e;la(1,0)}},cc:function(e,r,a){var t=ua();try{return Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},Ba:function(e,r,a){var t=ua();try{return Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},O:function(e,r,a,t){var i=ua();try{return Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},_a:function(e,r,a,t,i){var n=ua();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},ra:function(e,r,a,t,i,n,o,_){var c=ua();try{return Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},Ab:function(e,r,a,t,i){var n=ua();try{return xa(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},pb:function(e,r,a,t,i){var n=ua();try{return Ta(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Z:function(e,r){var a=ua();try{return Or(e)(r)}catch(e){if(fa(a),e!==e+0)throw e;la(1,0)}},aa:function(e,r,a){var t=ua();try{return Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},Da:function(e,r,a,t){var i=ua();try{return Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},Ta:function(e,r,a,t,i,n){var o=ua();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},s:function(e){var r=ua();try{return Or(e)()}catch(e){if(fa(r),e!==e+0)throw e;la(1,0)}},Ma:function(e,r,a,t,i){var n=ua();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},ua:function(e,r,a,t,i,n){var o=ua();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},b:function(e,r){var a=ua();try{return Or(e)(r)}catch(e){if(fa(a),e!==e+0)throw e;la(1,0)}},r:function(e,r,a){var t=ua();try{return Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},Y:function(e,r,a,t){var i=ua();try{return Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},fa:function(e,r,a,t,i){var n=ua();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Sa:function(e,r,a,t,i){var n=ua();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Qa:function(e,r,a,t){var i=ua();try{return Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},db:function(e,r,a){var t=ua();try{return Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},wa:function(e,r,a,t,i){var n=ua();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},va:function(e,r,a,t,i,n){var o=ua();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},f:function(e,r,a){var t=ua();try{return Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},T:function(e,r,a,t){var i=ua();try{return Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},$a:function(e,r,a,t,i){var n=ua();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},fc:function(e,r,a,t,i,n,o,_){var c=ua();try{return Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},ta:function(e,r,a,t,i,n,o,_,c,s,h,l,d){var u=ua();try{return Or(e)(r,a,t,i,n,o,_,c,s,h,l,d)}catch(e){if(fa(u),e!==e+0)throw e;la(1,0)}},xa:function(e,r,a,t,i,n){var o=ua();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},c:function(e,r,a,t){var i=ua();try{return Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},Pa:function(e,r,a,t,i,n){var o=ua();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},l:function(e,r,a,t,i){var n=ua();try{return Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Oa:function(e,r,a,t,i,n){var o=ua();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},u:function(e,r,a,t,i,n){var o=ua();try{return Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},B:function(e,r,a,t,i,n,o){var _=ua();try{return Or(e)(r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},x:function(e,r,a,t,i,n,o,_){var c=ua();try{return Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},L:function(e,r,a,t,i,n,o,_,c){var s=ua();try{return Or(e)(r,a,t,i,n,o,_,c)}catch(e){if(fa(s),e!==e+0)throw e;la(1,0)}},$:function(e,r,a,t,i,n,o,_,c,s){var h=ua();try{return Or(e)(r,a,t,i,n,o,_,c,s)}catch(e){if(fa(h),e!==e+0)throw e;la(1,0)}},K:function(e,r,a,t,i,n,o,_,c,s,h){var l=ua();try{return Or(e)(r,a,t,i,n,o,_,c,s,h)}catch(e){if(fa(l),e!==e+0)throw e;la(1,0)}},ba:function(e,r,a,t,i,n,o,_,c,s,h,l){var d=ua();try{return Or(e)(r,a,t,i,n,o,_,c,s,h,l)}catch(e){if(fa(d),e!==e+0)throw e;la(1,0)}},lb:function(e,r,a,t,i,n,o){var _=ua();try{return Oa(e,r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},rb:function(e,r,a,t,i,n){var o=ua();try{return Fa(e,r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},zb:function(e,r,a,t,i,n,o,_,c){var s=ua();try{return Pa(e,r,a,t,i,n,o,_,c)}catch(e){if(fa(s),e!==e+0)throw e;la(1,0)}},Cb:function(e,r,a,t,i,n,o,_,c,s,h){var l=ua();try{return ja(e,r,a,t,i,n,o,_,c,s,h)}catch(e){if(fa(l),e!==e+0)throw e;la(1,0)}},Hb:function(e,r,a,t){var i=ua();try{return Na(e,r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},Eb:function(e,r,a,t,i){var n=ua();try{return za(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},yb:function(e,r,a,t,i,n,o,_,c,s,h,l,d,u,f){var p=ua();try{return La(e,r,a,t,i,n,o,_,c,s,h,l,d,u,f)}catch(e){if(fa(p),e!==e+0)throw e;la(1,0)}},sb:function(e,r,a,t){var i=ua();try{return Aa(e,r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},Ib:function(e){var r=ua();try{return wa(e)}catch(e){if(fa(r),e!==e+0)throw e;la(1,0)}},Db:function(e,r){var a=ua();try{return Ia(e,r)}catch(e){if(fa(a),e!==e+0)throw e;la(1,0)}},wb:function(e,r,a){var t=ua();try{return Ma(e,r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},xb:function(e,r,a,t){var i=ua();try{return Ka(e,r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},kb:function(e,r,a,t,i){var n=ua();try{return qa(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},qb:function(e,r,a){var t=ua();try{return Da(e,r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},m:function(e){var r=ua();try{Or(e)()}catch(e){if(fa(r),e!==e+0)throw e;la(1,0)}},cb:function(e,r,a){var t=ua();try{Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},eb:function(e,r,a,t,i,n){var o=ua();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},g:function(e,r){var a=ua();try{Or(e)(r)}catch(e){if(fa(a),e!==e+0)throw e;la(1,0)}},Ra:function(e,r,a,t,i,n){var o=ua();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},da:function(e,r,a,t,i,n,o){var _=ua();try{Or(e)(r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},sa:function(e,r,a,t,i,n){var o=ua();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},Ha:function(e,r,a,t,i,n){var o=ua();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},ec:function(e,r,a,t){var i=ua();try{Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},S:function(e,r,a,t,i){var n=ua();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Na:function(e,r,a,t,i){var n=ua();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Va:function(e,r,a,t,i,n){var o=ua();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},e:function(e,r,a){var t=ua();try{Or(e)(r,a)}catch(e){if(fa(t),e!==e+0)throw e;la(1,0)}},t:function(e,r,a,t){var i=ua();try{Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},Q:function(e,r,a,t,i){var n=ua();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},M:function(e,r,a,t){var i=ua();try{Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},X:function(e,r,a,t,i){var n=ua();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},ya:function(e,r,a,t,i,n){var o=ua();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},Wa:function(e,r,a,t,i,n,o,_,c){var s=ua();try{Or(e)(r,a,t,i,n,o,_,c)}catch(e){if(fa(s),e!==e+0)throw e;la(1,0)}},N:function(e,r,a,t,i){var n=ua();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},h:function(e,r,a,t){var i=ua();try{Or(e)(r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},ga:function(e,r,a,t,i){var n=ua();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},qa:function(e,r,a,t,i,n){var o=ua();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},ab:function(e,r,a,t,i,n){var o=ua();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},Za:function(e,r,a,t,i,n,o,_){var c=ua();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},Ya:function(e,r,a,t,i,n,o,_,c){var s=ua();try{Or(e)(r,a,t,i,n,o,_,c)}catch(e){if(fa(s),e!==e+0)throw e;la(1,0)}},Ea:function(e,r,a,t,i,n,o,_){var c=ua();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},V:function(e,r,a,t,i,n,o,_,c,s,h,l){var d=ua();try{Or(e)(r,a,t,i,n,o,_,c,s,h,l)}catch(e){if(fa(d),e!==e+0)throw e;la(1,0)}},fb:function(e,r,a,t,i,n){var o=ua();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},ia:function(e,r,a,t,i,n,o){var _=ua();try{Or(e)(r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},k:function(e,r,a,t,i){var n=ua();try{Or(e)(r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},za:function(e,r,a,t,i,n){var o=ua();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},gb:function(e,r,a,t,i,n){var o=ua();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},Ua:function(e,r,a,t,i,n,o,_,c,s,h){var l=ua();try{Or(e)(r,a,t,i,n,o,_,c,s,h)}catch(e){if(fa(l),e!==e+0)throw e;la(1,0)}},ja:function(e,r,a,t,i,n,o){var _=ua();try{Or(e)(r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},Xa:function(e,r,a,t,i,n,o,_){var c=ua();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},j:function(e,r,a,t,i,n){var o=ua();try{Or(e)(r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},U:function(e,r,a,t,i,n,o){var _=ua();try{Or(e)(r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},bb:function(e,r,a,t,i,n,o,_){var c=ua();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},Ca:function(e,r,a,t,i,n,o,_){var c=ua();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},o:function(e,r,a,t,i,n,o){var _=ua();try{Or(e)(r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},z:function(e,r,a,t,i,n,o,_){var c=ua();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},ha:function(e,r,a,t,i,n,o,_){var c=ua();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},p:function(e,r,a,t,i,n,o,_){var c=ua();try{Or(e)(r,a,t,i,n,o,_)}catch(e){if(fa(c),e!==e+0)throw e;la(1,0)}},v:function(e,r,a,t,i,n,o,_,c,s,h,l,d){var u=ua();try{Or(e)(r,a,t,i,n,o,_,c,s,h,l,d)}catch(e){if(fa(u),e!==e+0)throw e;la(1,0)}},P:function(e,r,a,t,i,n,o,_,c,s){var h=ua();try{Or(e)(r,a,t,i,n,o,_,c,s)}catch(e){if(fa(h),e!==e+0)throw e;la(1,0)}},W:function(e,r,a,t,i,n,o,_,c,s,h,l,d){var u=ua();try{Or(e)(r,a,t,i,n,o,_,c,s,h,l,d)}catch(e){if(fa(u),e!==e+0)throw e;la(1,0)}},C:function(e,r,a,t,i,n,o,_,c){var s=ua();try{Or(e)(r,a,t,i,n,o,_,c)}catch(e){if(fa(s),e!==e+0)throw e;la(1,0)}},E:function(e,r,a,t,i,n,o,_,c,s){var h=ua();try{Or(e)(r,a,t,i,n,o,_,c,s)}catch(e){if(fa(h),e!==e+0)throw e;la(1,0)}},H:function(e,r,a,t,i,n,o,_,c,s,h){var l=ua();try{Or(e)(r,a,t,i,n,o,_,c,s,h)}catch(e){if(fa(l),e!==e+0)throw e;la(1,0)}},Aa:function(e,r,a,t,i,n,o,_,c,s,h,l){var d=ua();try{Or(e)(r,a,t,i,n,o,_,c,s,h,l)}catch(e){if(fa(d),e!==e+0)throw e;la(1,0)}},I:function(e,r,a,t,i,n,o,_,c,s,h,l,d,u){var f=ua();try{Or(e)(r,a,t,i,n,o,_,c,s,h,l,d,u)}catch(e){if(fa(f),e!==e+0)throw e;la(1,0)}},D:function(e,r,a,t,i,n,o,_,c,s,h,l){var d=ua();try{Or(e)(r,a,t,i,n,o,_,c,s,h,l)}catch(e){if(fa(d),e!==e+0)throw e;la(1,0)}},J:function(e,r,a,t,i,n,o,_,c,s,h,l,d){var u=ua();try{Or(e)(r,a,t,i,n,o,_,c,s,h,l,d)}catch(e){if(fa(u),e!==e+0)throw e;la(1,0)}},pa:function(e,r,a,t,i,n,o,_,c,s,h,l,d,u,f){var p=ua();try{Or(e)(r,a,t,i,n,o,_,c,s,h,l,d,u,f)}catch(e){if(fa(p),e!==e+0)throw e;la(1,0)}},ca:function(e,r,a,t,i,n,o,_,c,s,h,l,d,u,f,p){var v=ua();try{Or(e)(r,a,t,i,n,o,_,c,s,h,l,d,u,f,p)}catch(e){if(fa(v),e!==e+0)throw e;la(1,0)}},Jb:function(e,r,a,t,i){var n=ua();try{ga(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},Bb:function(e,r,a,t,i,n){var o=ua();try{Ra(e,r,a,t,i,n)}catch(e){if(fa(o),e!==e+0)throw e;la(1,0)}},Fb:function(e,r,a,t,i,n,o){var _=ua();try{ya(e,r,a,t,i,n,o)}catch(e){if(fa(_),e!==e+0)throw e;la(1,0)}},Gb:function(e,r,a,t){var i=ua();try{Sa(e,r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},vb:function(e,r,a,t,i){var n=ua();try{ka(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},tb:function(e,r,a,t){var i=ua();try{Ca(e,r,a,t)}catch(e){if(fa(i),e!==e+0)throw e;la(1,0)}},ub:function(e,r,a,t,i){var n=ua();try{Za(e,r,a,t,i)}catch(e){if(fa(n),e!==e+0)throw e;la(1,0)}},A:e=>e,Lb:(e,r,a,t)=>((e,r,a,t)=>{function i(e,r,a){for(e="number"==typeof e?e.toString():e||"";e.length<r;)e=a[0]+e;return e}function n(e,r){return i(e,r,"0")}function o(e,r){function a(e){return 0>e?-1:0<e?1:0}var t;return 0===(t=a(e.getFullYear()-r.getFullYear()))&&0===(t=a(e.getMonth()-r.getMonth()))&&(t=a(e.getDate()-r.getDate())),t}function _(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function c(e){var r=e.Bh;for(e=new Date(new Date(e.Ch+1900,0,1).getTime());0<r;){var a=e.getMonth(),t=(tr(e.getFullYear())?aa:ta)[a];if(!(r>t-e.getDate())){e.setDate(e.getDate()+r);break}r-=t-e.getDate()+1,e.setDate(1),11>a?e.setMonth(a+1):(e.setMonth(0),e.setFullYear(e.getFullYear()+1))}return a=new Date(e.getFullYear()+1,0,4),r=_(new Date(e.getFullYear(),0,4)),a=_(a),0>=o(r,e)?0>=o(a,e)?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var s=w[t+40>>2];for(var h in t={zi:b[t>>2],yi:b[t+4>>2],Qh:b[t+8>>2],Xh:b[t+12>>2],Rh:b[t+16>>2],Ch:b[t+20>>2],uh:b[t+24>>2],Bh:b[t+28>>2],Ui:b[t+32>>2],xi:b[t+36>>2],Ai:s&&s?re(v,s):""},a=a?re(v,a):"",s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})a=a.replace(new RegExp(h,"g"),s[h]);var l="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),d="January February March April May June July August September October November December".split(" ");for(h in s={"%a":e=>l[e.uh].substring(0,3),"%A":e=>l[e.uh],"%b":e=>d[e.Rh].substring(0,3),"%B":e=>d[e.Rh],"%C":e=>n((e.Ch+1900)/100|0,2),"%d":e=>n(e.Xh,2),"%e":e=>i(e.Xh,2," "),"%g":e=>c(e).toString().substring(2),"%G":c,"%H":e=>n(e.Qh,2),"%I":e=>(0==(e=e.Qh)?e=12:12<e&&(e-=12),n(e,2)),"%j":e=>{for(var r=0,a=0;a<=e.Rh-1;r+=(tr(e.Ch+1900)?aa:ta)[a++]);return n(e.Xh+r,3)},"%m":e=>n(e.Rh+1,2),"%M":e=>n(e.yi,2),"%n":()=>"\n","%p":e=>0<=e.Qh&&12>e.Qh?"AM":"PM","%S":e=>n(e.zi,2),"%t":()=>"\t","%u":e=>e.uh||7,"%U":e=>n(Math.floor((e.Bh+7-e.uh)/7),2),"%V":e=>{var r=Math.floor((e.Bh+7-(e.uh+6)%7)/7);if(2>=(e.uh+371-e.Bh-2)%7&&r++,r)53==r&&(4==(a=(e.uh+371-e.Bh)%7)||3==a&&tr(e.Ch)||(r=1));else{r=52;var a=(e.uh+7-e.Bh-1)%7;(4==a||5==a&&tr(e.Ch%400-1))&&r++}return n(r,2)},"%w":e=>e.uh,"%W":e=>n(Math.floor((e.Bh+7-(e.uh+6)%7)/7),2),"%y":e=>(e.Ch+1900).toString().substring(2),"%Y":e=>e.Ch+1900,"%z":e=>{var r=0<=(e=e.xi);return e=Math.abs(e)/60,(r?"+":"-")+String("0000"+(e/60*100+e%60)).slice(-4)},"%Z":e=>e.Ai,"%%":()=>"%"},a=a.replace(/%%/g,"\0\0"),s)a.includes(h)&&(a=a.replace(new RegExp(h,"g"),s[h](t)));return(h=ne(a=a.replace(/\0\0/g,"%"),!1)).length>r?0:(p.set(h,e),h.length-1)})(e,r,a,t)},_a=function(){function e(e){return _a=e.exports,u=_a.gc,S(),Ar=_a.lc,k.unshift(_a.hc),C(),_a}var r={a:oa};if(Z(),i.instantiateWasm)try{return i.instantiateWasm(r,e)}catch(e){d(`Module.instantiateWasm callback failed with error: ${e}`),a(e)}return r=function(e){if(P==P&&h)var r=new Uint8Array(h);else{if(!n)throw'sync fetching of the wasm failed: you can preload it to Module["wasmBinary"] manually, or emcc.py will do that for you when generating HTML (but not JS)';r=n(P)}return r=new WebAssembly.Module(r),[new WebAssembly.Instance(r,e),r]}(r),e(r[0])}();i._zappar_has_initialized=_a.ic,i._zappar_invert=_a.jc,i._zappar_loaded=_a.kc,i._zappar_pipeline_create=_a.mc,i._zappar_pipeline_destroy=_a.nc,i._zappar_pipeline_camera_frame_submit=_a.oc,i._zappar_pipeline_camera_frame_submit_raw_pointer=_a.pc,i._zappar_pipeline_frame_update=_a.qc,i._zappar_pipeline_camera_frame_user_data=_a.rc,i._zappar_pipeline_camera_model=_a.sc,i._zappar_pipeline_frame_number=_a.tc,i._zappar_pipeline_camera_frame_data_raw_size=_a.uc,i._zappar_pipeline_camera_frame_data_raw_width=_a.vc,i._zappar_pipeline_camera_frame_data_raw_height=_a.wc,i._zappar_pipeline_camera_frame_data_raw=_a.xc,i._zappar_pipeline_motion_accelerometer_submit=_a.yc,i._zappar_pipeline_motion_accelerometer_with_gravity_submit_int=_a.zc,i._zappar_pipeline_motion_accelerometer_without_gravity_submit_int=_a.Ac,i._zappar_pipeline_motion_rotation_rate_submit_int=_a.Bc,i._zappar_pipeline_motion_attitude_submit_int=_a.Cc,i._zappar_pipeline_motion_rotation_rate_submit=_a.Dc,i._zappar_pipeline_motion_attitude_submit=_a.Ec,i._zappar_pipeline_motion_attitude_matrix_submit=_a.Fc,i._zappar_pipeline_camera_frame_user_facing=_a.Gc,i._zappar_pipeline_camera_frame_texture_matrix=_a.Hc,i._zappar_pipeline_camera_pose_with_attitude=_a.Ic,i._zappar_pipeline_camera_pose_with_origin=_a.Jc,i._zappar_pipeline_camera_frame_camera_attitude=_a.Kc,i._zappar_pipeline_camera_frame_device_attitude=_a.Lc,i._zappar_pipeline_camera_frame_texture_gl=_a.Mc,i._zappar_pipeline_camera_frame_upload_gl=_a.Nc,i._zappar_pipeline_sequence_record_start=_a.Oc,i._zappar_pipeline_sequence_record_stop=_a.Pc,i._zappar_pipeline_sequence_record_clear=_a.Qc,i._zappar_pipeline_sequence_record_device_attitude_matrices_set=_a.Rc,i._zappar_pipeline_sequence_record_data_size=_a.Sc,i._zappar_pipeline_sequence_record_data=_a.Tc,i._zappar_pipeline_process_gl=_a.Uc,i._zappar_pipeline_camera_pose_default=_a.Vc,i._zappar_instant_world_tracker_create=_a.Wc,i._zappar_instant_world_tracker_destroy=_a.Xc,i._zappar_instant_world_tracker_anchor_pose_set_from_camera_offset_raw=_a.Yc,i._zappar_instant_world_tracker_anchor_pose_raw=_a.Zc,i._zappar_instant_world_tracker_enabled_set=_a._c,i._zappar_instant_world_tracker_enabled=_a.$c,i._zappar_image_tracker_create=_a.ad,i._zappar_image_tracker_destroy=_a.bd,i._zappar_image_tracker_target_load_from_memory=_a.cd,i.__Z42zappar_image_tracker_target_load_from_fileP23zappar_image_tracker_tiPKc=_a.dd;var ca=i._free=_a.ed;i._zappar_image_tracker_anchor_count=_a.fd,i._zappar_image_tracker_anchor_id=_a.gd,i._zappar_image_tracker_anchor_pose_raw=_a.hd,i._zappar_image_tracker_enabled_set=_a.id,i._zappar_image_tracker_enabled=_a.jd,i._zappar_image_tracker_target_loaded_version=_a.kd,i.__Z33zappar_image_tracker_target_countP23zappar_image_tracker_ti=_a.ld,i.__Z46zappar_image_tracker_target_preview_compressedP23zappar_image_tracker_tii=_a.md,i.__Z51zappar_image_tracker_target_preview_compressed_sizeP23zappar_image_tracker_tii=_a.nd,i.__Z55zappar_image_tracker_target_preview_compressed_mimetypeP23zappar_image_tracker_tii=_a.od,i.__Z40zappar_image_tracker_target_preview_rgbaP23zappar_image_tracker_tii=_a.pd,i.__Z45zappar_image_tracker_target_preview_rgba_sizeP23zappar_image_tracker_tii=_a.qd,i.__Z46zappar_image_tracker_target_preview_rgba_widthP23zappar_image_tracker_tii=_a.rd,i.__Z47zappar_image_tracker_target_preview_rgba_heightP23zappar_image_tracker_tii=_a.sd,i.__Z38zappar_image_tracker_target_radius_topP23zappar_image_tracker_tii=_a.td,i.__Z41zappar_image_tracker_target_radius_bottomP23zappar_image_tracker_tii=_a.ud,i.__Z39zappar_image_tracker_target_side_lengthP23zappar_image_tracker_tii=_a.vd,i.__Z49zappar_image_tracker_target_physical_scale_factorP23zappar_image_tracker_tii=_a.wd,i.__Z49zappar_image_tracker_target_preview_mesh_verticesP23zappar_image_tracker_tii=_a.xd,i.__Z48zappar_image_tracker_target_preview_mesh_normalsP23zappar_image_tracker_tii=_a.yd,i.__Z44zappar_image_tracker_target_preview_mesh_uvsP23zappar_image_tracker_tii=_a.zd,i.__Z48zappar_image_tracker_target_preview_mesh_indicesP23zappar_image_tracker_tii=_a.Ad,i.__Z54zappar_image_tracker_target_preview_mesh_vertices_sizeP23zappar_image_tracker_tii=_a.Bd,i.__Z53zappar_image_tracker_target_preview_mesh_normals_sizeP23zappar_image_tracker_tii=_a.Cd,i.__Z49zappar_image_tracker_target_preview_mesh_uvs_sizeP23zappar_image_tracker_tii=_a.Dd,i.__Z53zappar_image_tracker_target_preview_mesh_indices_sizeP23zappar_image_tracker_tii=_a.Ed,i.__Z32zappar_image_tracker_target_typeP23zappar_image_tracker_tii=_a.Fd,i._zappar_face_tracker_create=_a.Gd,i._zappar_face_tracker_destroy=_a.Hd,i._zappar_face_tracker_model_load_from_memory=_a.Id,i._zappar_face_tracker_anchor_count=_a.Jd,i._zappar_face_tracker_anchor_id=_a.Kd,i._zappar_face_tracker_anchor_pose_raw=_a.Ld,i._zappar_face_tracker_anchor_identity_coefficients=_a.Md,i._zappar_face_tracker_anchor_expression_coefficients=_a.Nd,i._zappar_face_tracker_enabled_set=_a.Od,i._zappar_face_tracker_enabled=_a.Pd,i._zappar_face_tracker_max_faces_set=_a.Qd,i._zappar_face_tracker_max_faces=_a.Rd,i._zappar_face_tracker_model_loaded_version=_a.Sd,i._zappar_face_landmark_create=_a.Td,i._zappar_face_landmark_destroy=_a.Ud,i.__Z27zappar_face_landmark_updateP23zappar_face_landmark_tiPKfS2_i=_a.Vd,i._zappar_face_landmark_anchor_pose=_a.Wd,i._zappar_barcode_finder_create=_a.Xd,i._zappar_barcode_finder_destroy=_a.Yd,i._zappar_barcode_finder_found_number=_a.Zd,i._zappar_barcode_finder_found_text=_a._d,i._zappar_barcode_finder_enabled_set=_a.$d,i._zappar_barcode_finder_enabled=_a.ae,i._zappar_barcode_finder_found_format=_a.be,i._zappar_barcode_finder_formats=_a.ce,i._zappar_barcode_finder_formats_set=_a.de;var sa=i._malloc=_a.ee;i._zappar_face_mesh_create=_a.fe,i._zappar_face_mesh_destroy=_a.ge,i.__Z33zappar_face_mesh_load_from_memoryP19zappar_face_mesh_tiPKciiiii=_a.he,i.__Z29zappar_face_mesh_indices_sizeP19zappar_face_mesh_ti=_a.ie,i.__Z25zappar_face_mesh_uvs_sizeP19zappar_face_mesh_ti=_a.je,i.__Z30zappar_face_mesh_vertices_sizeP19zappar_face_mesh_ti=_a.ke,i.__Z31zappar_face_mesh_loaded_versionP19zappar_face_mesh_ti=_a.le,i.__Z25zappar_face_mesh_verticesP19zappar_face_mesh_ti=_a.me,i.__Z20zappar_face_mesh_uvsP19zappar_face_mesh_ti=_a.ne,i.__Z24zappar_face_mesh_indicesP19zappar_face_mesh_ti=_a.oe,i.__Z23zappar_face_mesh_updateP19zappar_face_mesh_tiPKfS2_i=_a.pe,i.__Z29zappar_face_mesh_normals_sizeP19zappar_face_mesh_ti=_a.qe,i.__Z24zappar_face_mesh_normalsP19zappar_face_mesh_ti=_a.re,i._zappar_camera_source_create=_a.se,i._zappar_camera_source_destroy=_a.te,i._zappar_camera_source_start=_a.ue,i._zappar_camera_source_pause=_a.ve,i._zappar_camera_default_device_id=_a.we,i._zappar_sequence_source_create=_a.xe,i.__Z28zappar_sequence_source_startP25zappar_sequence_source_ti=_a.ye,i.__Z39zappar_sequence_source_load_from_memoryP25zappar_sequence_source_tiPKci=_a.ze,i.__Z28zappar_sequence_source_pauseP25zappar_sequence_source_ti=_a.Ae,i._zappar_sequence_source_destroy=_a.Be,i._zappar_sequence_source_max_playback_fps_set=_a.Ce,i._zappar_log_level_set=_a.De,i._zappar_log_level=_a.Ee,i.__Z23zappar_log_redirect_setPFv18zappar_log_level_tPKcE=_a.Fe,i._zappar_world_tracker_create=_a.Ge,i._zappar_world_tracker_destroy=_a.He,i._zappar_world_tracker_world_anchor_valid=_a.Ie,i._zappar_world_tracker_plane_count=_a.Je,i._zappar_world_tracker_plane_pose_raw=_a.Ke,i._zappar_world_tracker_world_anchor_pose_raw=_a.Le,i._zappar_world_tracker_ground_anchor_valid=_a.Me,i._zappar_world_tracker_ground_anchor_pose_raw=_a.Ne,i._zappar_world_tracker_reset=_a.Oe,i._zappar_world_tracker_enabled_set=_a.Pe,i._zappar_world_tracker_quality=_a.Qe,i._zappar_world_tracker_enabled=_a.Re,i._zappar_world_tracker_debug_enabled=_a.Se,i._zappar_world_tracker_debug_enabled_set=_a.Te,i._zappar_world_tracker_debug_tracks_data=_a.Ue,i._zappar_world_tracker_debug_tracks_data_size=_a.Ve,i._zappar_world_tracker_debug_projections_data=_a.We,i._zappar_world_tracker_debug_projections_data_size=_a.Xe,i._worker_message_send_count=_a.Ye,i._worker_message_send_clear=_a.Ze,i._worker_message_send_data_size=_a._e,i._worker_message_send_reference=_a.$e,i._worker_message_send_data=_a.af,i._worker_message_receive=_a.bf,i._ceres_worker=_a.cf,i._data_download_clear=_a.df,i._data_download_size=_a.ef,i._data_download=_a.ff,i._data_should_record_set=_a.gf,i._zappar_analytics_project_id_set=_a.hf,i.__ZN5boost13serialization16singleton_module8get_lockEv=_a.jf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem19InitializationInputEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.kf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.lf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKi5FrameEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.mf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE5FrameE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.nf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.of,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.pf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.qf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam5Pose3EE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.rf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi6ELi1ELi0ELi6ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.sf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.tf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam7imuBias12ConstantBiasEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.uf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26bitsetILm2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.vf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.wf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE3ImuE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.xf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.yf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__24pairIKi12WorldFeatureEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.zf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveE12WorldFeatureE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Af,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Bf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Cf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam7Cal3_S2EE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Df,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Ef,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam7Cal3_S2EE15load_object_ptrERNS1_14basic_iarchiveEPvj=_a.Ff,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__210shared_ptrIN5gtsam28PreintegrationCombinedParamsEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Gf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam28PreintegrationCombinedParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Hf,i.__ZN5boost13serialization18void_cast_registerIN5gtsam28PreintegrationCombinedParamsENS2_20PreintegrationParamsEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=_a.If,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam20PreintegrationParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Jf,i.__ZN5boost13serialization18void_cast_registerIN5gtsam20PreintegrationParamsENS2_27PreintegratedRotationParamsEEERKNS0_16void_cast_detail11void_casterEPKT_PKT0_=_a.Kf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5gtsam27PreintegratedRotationParamsEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Lf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__28optionalIN5gtsam5Pose3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Mf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveENSt3__28optionalIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Nf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi3ELi3ELi0ELi3ELi3EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Of,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN5Eigen6MatrixIdLi6ELi6ELi0ELi6ELi6EEEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Pf,i.__ZNK5boost7archive6detail19pointer_iserializerINS0_15binary_iarchiveEN5gtsam28PreintegrationCombinedParamsEE15load_object_ptrERNS1_14basic_iarchiveEPvj=_a.Qf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem10ParametersEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Rf,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN2cv12TermCriteriaEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.Sf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem20InitializationResultEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Tf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIi5FrameNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Uf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKi5FrameEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Vf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE5FrameE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Wf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEENS4_4lessIiEENS4_9allocatorINS4_4pairIKiS8_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Xf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKiN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Yf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Zf,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam5Pose3EE16save_object_dataERNS1_14basic_oarchiveEPKv=_a._f,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi6ELi1ELi0ELi6ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.$f,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.ag,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam7imuBias12ConstantBiasEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.bg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26bitsetILm2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.cg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__26vectorI3ImuNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.dg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE3ImuE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.eg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23mapIi12WorldFeatureNS4_4lessIiEENS4_9allocatorINS4_4pairIKiS6_EEEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.fg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__24pairIKi12WorldFeatureEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.gg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveE12WorldFeatureE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.hg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__23setIiNS4_4lessIiEENS4_9allocatorIiEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.ig,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem19InitializationInputEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.jg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam7Cal3_S2EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.kg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam7Cal3_S2EE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.lg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi5ELi1ELi0ELi5ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.mg,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam7Cal3_S2EE15save_object_ptrERNS1_14basic_oarchiveEPKv=_a.ng,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__210shared_ptrIN5gtsam28PreintegrationCombinedParamsEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.og,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam28PreintegrationCombinedParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.pg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam20PreintegrationParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.qg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5gtsam27PreintegratedRotationParamsEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.rg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__28optionalIN5gtsam5Pose3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.sg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveENSt3__28optionalIN5Eigen6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.tg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi3ELi3ELi0ELi3ELi3EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.ug,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN5Eigen6MatrixIdLi6ELi6ELi0ELi6ELi6EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.vg,i.__ZNK5boost7archive6detail19pointer_oserializerINS0_15binary_oarchiveEN5gtsam28PreintegrationCombinedParamsEE15save_object_ptrERNS1_14basic_oarchiveEPKv=_a.wg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN10SLAMSystem10ParametersEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.xg,i.__ZNK5boost7archive6detail11oserializerINS0_15binary_oarchiveEN2cv12TermCriteriaEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.yg,i.__ZNK5boost7archive6detail11iserializerINS0_15binary_iarchiveEN10SLAMSystem20InitializationResultEE16load_object_dataERNS1_14basic_iarchiveEPvj=_a.zg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE9RecordingE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Ag,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveENSt3__26vectorI11SensorEventNS4_9allocatorIS6_EEEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Bg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveE11SensorEventE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Cg,i.__ZNK5boost7archive6detail11oserializerINS0_12xml_oarchiveEN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEEE16save_object_dataERNS1_14basic_oarchiveEPKv=_a.Dg;var ha,la=_a.Eg,da=_a.Fg,ua=_a.Gg,fa=_a.Hg,pa=_a.Ig,va=_a.Jg,Ea=_a.Kg,ma=_a.Lg,ba=_a.Mg,wa=i.dynCall_j=_a.Ng,ga=i.dynCall_viij=_a.Og,ya=i.dynCall_viijii=_a.Pg,Na=i.dynCall_iij=_a.Qg,Sa=i.dynCall_vij=_a.Rg,za=i.dynCall_iiji=_a.Sg,ka=i.dynCall_viji=_a.Tg,Ia=i.dynCall_ji=_a.Ug,ja=i.dynCall_iiiijjji=_a.Vg,Pa=i.dynCall_iiiijji=_a.Wg,La=i.dynCall_iijjjjjji=_a.Xg,Ra=i.dynCall_viiji=_a.Yg,xa=i.dynCall_diji=_a.Zg,Ka=i.dynCall_jiii=_a._g,Ma=i.dynCall_jii=_a.$g,Za=i.dynCall_vjii=_a.ah,Ca=i.dynCall_vji=_a.bh,Aa=i.dynCall_iji=_a.ch,Fa=i.dynCall_iiiij=_a.dh,Da=i.dynCall_jj=_a.eh,Ta=i.dynCall_djj=_a.fh,Oa=i.dynCall_iiiiij=_a.gh,qa=i.dynCall_jiiii=_a.hh;function Ua(){function e(){if(!ha&&(ha=!0,i.calledRun=!0,!N)){if(i.noFSInit||Ce||(Ce=!0,i.stdin=i.stdin,i.stdout=i.stdout,i.stderr=i.stderr,i.stdin?He("stdin",i.stdin):Ue("/dev/tty","/dev/stdin"),i.stdout?He("stdout",null,i.stdout):Ue("/dev/tty","/dev/stdout"),i.stderr?He("stderr",null,i.stderr):Ue("/dev/tty1","/dev/stderr"),We("/dev/stdin",0),We("/dev/stdout",1),We("/dev/stderr",1)),we=!1,T(k),r(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;){var e=i.postRun.shift();I.unshift(e)}T(I)}}if(!(0<x)){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)j();T(z),0<x||(i.setStatus?(i.setStatus("Running..."),setTimeout((function(){setTimeout((function(){i.setStatus("")}),1),e()}),1)):e())}}if(i.___start_em_js=629964,i.___stop_em_js=631129,i.cwrap=(e,r,a,t)=>{var n=!a||a.every((e=>"number"===e||"boolean"===e));return"string"!==r&&n&&!t?i["_"+e]:function(){return((e,r,a,t)=>{var n={string:e=>{var r=0;if(null!=e&&0!==e){r=te(e)+1;var a=pa(r);ie(e,v,a,r),r=a}return r},array:e=>{var r=pa(e.length);return p.set(e,r),r}};e=i["_"+e];var o,_=[],c=0;if(t)for(var s=0;s<t.length;s++){var h=n[a[s]];h?(0===c&&(c=ua()),_[s]=h(t[s])):_[s]=t[s]}return o=a=e.apply(null,_),0!==c&&fa(c),"string"===r?o?re(v,o):"":"boolean"===r?!!o:o})(e,r,a,arguments)}},i.setValue=function(e,r,a="i8"){switch(a.endsWith("*")&&(a="*"),a){case"i1":case"i8":p[e>>0]=r;break;case"i16":E[e>>1]=r;break;case"i32":b[e>>2]=r;break;case"i64":A("to do setValue(i64) use WASM_BIGINT");case"float":g[e>>2]=r;break;case"double":y[e>>3]=r;break;case"*":w[e>>2]=r;break;default:A(`invalid type for setValue: ${a}`)}},i.getValue=function(e,r="i8"){switch(r.endsWith("*")&&(r="*"),r){case"i1":case"i8":return p[e>>0];case"i16":return E[e>>1];case"i32":return b[e>>2];case"i64":A("to do getValue(i64) use WASM_BIGINT");case"float":return g[e>>2];case"double":return y[e>>3];case"*":return w[e>>2];default:A(`invalid type for getValue: ${r}`)}},i.UTF8ToString=Je,M=function e(){ha||Ua(),ha||(M=e)},i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);0<i.preInit.length;)i.preInit.pop()();return Ua(),e})},751:(e,r,a)=>{e.exports=a.p+"17cb8e68ad2789719d7f.wasm"}}]);
|