@ifc-lite/viewer 1.25.0 → 1.25.2
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/.turbo/turbo-build.log +79 -84
- package/CHANGELOG.md +60 -0
- package/dist/assets/{basketViewActivator-CU8_toGq.js → basketViewActivator-CTgyKI3U.js} +6 -6
- package/dist/assets/{bcf-DXGDhw56.js → bcf-7jQby1qi.js} +1 -1
- package/dist/assets/{deflate-Bb1_H2Yf.js → deflate-Cfp9t1Df.js} +1 -1
- package/dist/assets/exporters-DfSvJPi4.js +4660 -0
- package/dist/assets/geometry.worker-Cyn5BybV.js +1 -0
- package/dist/assets/{geotiff-y0ZxbRJd.js → geotiff-xZoE8BkO.js} +10 -10
- package/dist/assets/{ids-DruUNtfD.js → ids-Cu73hD0Y.js} +21 -21
- package/dist/assets/ifc-lite_bg-ksLBP5cA.wasm +0 -0
- package/dist/assets/{index-Dr88ZlSY.js → index-WSbA5iy6.js} +31959 -31608
- package/dist/assets/{jpeg-B3_loqFe.js → jpeg-DhwFEbqb.js} +1 -1
- package/dist/assets/{lerc-nkwS8ZUe.js → lerc-Dz6BXOVb.js} +1 -1
- package/dist/assets/{lzw-D3cW5Wpg.js → lzw-C9z0fG2o.js} +1 -1
- package/dist/assets/{native-bridge-BcYJooq8.js → native-bridge-RvDmzO-2.js} +1 -1
- package/dist/assets/{packbits-DDN4xzB5.js → packbits-jfwifz7C.js} +1 -1
- package/dist/assets/parser.worker-C594dWxH.js +182 -0
- package/dist/assets/raw-R2QfzPAR.js +1 -0
- package/dist/assets/{sandbox-DETNEyQb.js → sandbox-DDSZ7rek.js} +2450 -2260
- package/dist/assets/{server-client-CmzJOeS7.js → server-client-Ctk8_Bof.js} +1 -1
- package/dist/assets/{webimage-CBjgg4up.js → webimage-XFHVyVtC.js} +1 -1
- package/dist/assets/{zstd-C8oQ6qdS.js → zstd-3q5qcl5V.js} +1 -1
- package/dist/index.html +6 -6
- package/package.json +22 -21
- package/src/App.tsx +4 -0
- package/src/components/viewer/BCFPanel.tsx +8 -1
- package/src/components/viewer/CommandPalette.tsx +5 -1
- package/src/components/viewer/MainToolbar.tsx +41 -19
- package/src/components/viewer/Section2DPanel.tsx +6 -2
- package/src/components/viewer/Viewport.tsx +48 -3
- package/src/components/viewer/bcf/BCFTopicDetail.tsx +24 -0
- package/src/components/viewer/hierarchy/ifc-icons.ts +60 -0
- package/src/components/viewer/useGeometryStreaming.ts +113 -18
- package/src/hooks/ingest/resolveDataStoreOrAbort.test.ts +61 -0
- package/src/hooks/ingest/resolveDataStoreOrAbort.ts +28 -0
- package/src/hooks/ingest/viewerModelIngest.ts +55 -11
- package/src/hooks/useBCF.ts +98 -16
- package/src/hooks/useDrawingGeneration.ts +149 -3
- package/src/hooks/useIfcCache.ts +44 -18
- package/src/hooks/useIfcLoader.ts +1 -23
- package/src/hooks/useSymbolicAnnotations.ts +240 -61
- package/src/store/constants.ts +19 -3
- package/src/store/index.ts +1 -0
- package/src/store/slices/visibilitySlice.ts +2 -1
- package/src/store/types.ts +9 -0
- package/src/utils/serverDataModel.test.ts +51 -1
- package/src/utils/serverDataModel.ts +2 -26
- package/vite.config.ts +0 -5
- package/dist/assets/exporters-DZhLN0ux.js +0 -5957
- package/dist/assets/geometry-controller.worker-DQOSYqtw.js +0 -7
- package/dist/assets/geometry.worker-B62e03Ao.js +0 -1
- package/dist/assets/ifc-lite-Ch2T9pP9.js +0 -7
- package/dist/assets/ifc-lite_bg-D7O1WHgP.wasm +0 -0
- package/dist/assets/ifc-lite_bg-iH_07wf8.wasm +0 -0
- package/dist/assets/parser.worker-BW1IMUed.js +0 -182
- package/dist/assets/raw-CoIXstQ-.js +0 -1
- package/dist/assets/wasm-bridge-CT7mK9W0.js +0 -1
- package/dist/assets/workerHelpers-IEQDo8r3.js +0 -36
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
function ie(s,t){return new Promise(e=>{s.addEventListener("message",function n({data:_}){_?.type===t&&(s.removeEventListener("message",n),e(_))})})}ie(self,"wasm_bindgen_worker_init").then(async({init:s,receiver:t})=>{const e=await Promise.resolve().then(function(){return Me});await e.default(s),postMessage({type:"wasm_bindgen_worker_ready"}),e.wbg_rayon_start_worker(t)});async function ue(s,t,e){if(e.numThreads()===0)throw new Error("num_threads must be > 0.");const n={type:"wasm_bindgen_worker_init",init:{module_or_path:s,memory:t},receiver:e.receiver()};await Promise.all(Array.from({length:e.numThreads()},async()=>{const _=new Worker(new URL("/assets/workerHelpers-IEQDo8r3.js",import.meta.url),{type:"module"});return _.postMessage(n),await ie(_,"wasm_bindgen_worker_ready"),_})),e.build()}let r;function l(s){gt===x.length&&x.push(x.length+1);const t=gt;return gt=x[t],x[t]=s,t}function zt(s){if(pt==1)throw new Error("out of js stack");return x[--pt]=s,pt}const Tt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>s.dtor(s.a,s.b));function we(s){s<132||(x[s]=gt,gt=s)}function k(s,t){return s=s>>>0,fe().subarray(s/4,s/4+t)}function A(s,t){return s=s>>>0,ye().subarray(s/8,s/8+t)}function oe(s,t){return s=s>>>0,ae().subarray(s/4,s/4+t)}let _t=null;function o(){return(_t===null||_t.buffer!==r.memory.buffer)&&(_t=new DataView(r.memory.buffer)),_t}let st=null;function fe(){return(st===null||st.buffer!==r.memory.buffer)&&(st=new Float32Array(r.memory.buffer)),st}let it=null;function ye(){return(it===null||it.buffer!==r.memory.buffer)&&(it=new Float64Array(r.memory.buffer)),it}function u(s,t){return s=s>>>0,me(s,t)}let ot=null;function ae(){return(ot===null||ot.buffer!==r.memory.buffer)&&(ot=new Uint32Array(r.memory.buffer)),ot}let at=null;function ct(){return(at===null||at.buffer!==r.memory.buffer)&&(at=new Uint8Array(r.memory.buffer)),at}function g(s){return x[s]}function S(s,t){try{return s.apply(this,t)}catch(e){r.__wbindgen_export(l(e))}}let x=new Array(128).fill(void 0);x.push(void 0,null,!0,!1);let gt=x.length;function C(s){return s==null}function Ot(s,t,e,n){const _={a:s,b:t,cnt:1,dtor:e},i=(...a)=>{_.cnt++;const c=_.a;_.a=0;try{return n(c,_.b,...a)}finally{_.a=c,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--_.cnt===0&&(_.dtor(_.a,_.b),_.a=0,Tt.unregister(_))},Tt.register(i,_,_),i}function f(s,t){const e=t(s.length*4,4)>>>0;return ae().set(s,e/4),p=s.length,e}function h(s,t){const e=t(s.length*1,1)>>>0;return ct().set(s,e/1),p=s.length,e}function w(s,t,e){if(e===void 0){const c=bt.encode(s),d=t(c.length,1)>>>0;return ct().subarray(d,d+c.length).set(c),p=c.length,d}let n=s.length,_=t(n,1)>>>0;const i=ct();let a=0;for(;a<n;a++){const c=s.charCodeAt(a);if(c>127)break;i[_+a]=c}if(a!==n){a!==0&&(s=s.slice(a)),_=e(_,n,n=a+s.length*3,1)>>>0;const c=ct().subarray(_+a,_+n),d=bt.encodeInto(s,c);a+=d.written,_=e(_,n,a,1)>>>0}return p=a,_}let pt=128;function b(s){const t=g(s);return we(s),t}let lt=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):void 0;lt&<.decode();const he=2146435072;let Mt=0;function me(s,t){return Mt+=t,Mt>=he&&(lt=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),lt.decode(),Mt=t),lt.decode(ct().slice(s,s+t))}const bt=typeof TextEncoder<"u"?new TextEncoder:void 0;bt&&(bt.encodeInto=function(s,t){const e=bt.encode(s);return t.set(e),{read:s.length,written:e.length}});let p=0;function Lt(s,t,e){r.__wasm_bindgen_func_elem_1442(s,t,l(e))}function xe(s,t,e,n){r.__wasm_bindgen_func_elem_1715(s,t,l(e),l(n))}const Bt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_georeferencejs_free(s>>>0,1)),Rt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpugeometry_free(s>>>0,1)),Pt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpuinstancedgeometry_free(s>>>0,1)),Ct=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpuinstancedgeometrycollection_free(s>>>0,1)),Et=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpuinstancedgeometryref_free(s>>>0,1)),Dt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpumeshmetadata_free(s>>>0,1)),Gt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_ifcapi_free(s>>>0,1)),Wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_instancedata_free(s>>>0,1)),Ut=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_instancedgeometry_free(s>>>0,1)),Yt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_instancedmeshcollection_free(s>>>0,1)),Vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_meshcollection_free(s>>>0,1)),Zt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_meshcollectionwithrtc_free(s>>>0,1)),Xt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_meshdatajs_free(s>>>0,1)),Jt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_profilecollection_free(s>>>0,1)),Nt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_profileentryjs_free(s>>>0,1)),$t=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_rtcoffsetjs_free(s>>>0,1)),Ht=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symboliccircle_free(s>>>0,1)),Kt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symbolicfillarea_free(s>>>0,1)),qt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symbolicpolyline_free(s>>>0,1)),Qt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symbolicrepresentationcollection_free(s>>>0,1)),te=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symbolictext_free(s>>>0,1)),At=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_zerocopymesh_free(s>>>0,1)),ee=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_wbg_rayon_poolbuilder_free(s>>>0,1));class z{static __wrap(t){t=t>>>0;const e=Object.create(z.prototype);return e.__wbg_ptr=t,Bt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Bt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_georeferencejs_free(t,0)}localToMap(t,e,n){try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_localToMap(c,this.__wbg_ptr,t,e,n);var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0),a=A(_,i).slice();return r.__wbindgen_export2(_,i*8,8),a}finally{r.__wbindgen_add_to_stack_pointer(16)}}mapToLocal(t,e,n){try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_mapToLocal(c,this.__wbg_ptr,t,e,n);var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0),a=A(_,i).slice();return r.__wbindgen_export2(_,i*8,8),a}finally{r.__wbindgen_add_to_stack_pointer(16)}}get crsName(){try{const n=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_crsName(n,this.__wbg_ptr);var t=o().getInt32(n+0,!0),e=o().getInt32(n+4,!0);let _;return t!==0&&(_=u(t,e).slice(),r.__wbindgen_export2(t,e*1,1)),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}get rotation(){return r.georeferencejs_rotation(this.__wbg_ptr)}toMatrix(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_toMatrix(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=A(t,e).slice();return r.__wbindgen_export2(t,e*8,8),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get eastings(){return r.__wbg_get_georeferencejs_eastings(this.__wbg_ptr)}set eastings(t){r.__wbg_set_georeferencejs_eastings(this.__wbg_ptr,t)}get northings(){return r.__wbg_get_georeferencejs_northings(this.__wbg_ptr)}set northings(t){r.__wbg_set_georeferencejs_northings(this.__wbg_ptr,t)}get orthogonal_height(){return r.__wbg_get_georeferencejs_orthogonal_height(this.__wbg_ptr)}set orthogonal_height(t){r.__wbg_set_georeferencejs_orthogonal_height(this.__wbg_ptr,t)}get x_axis_abscissa(){return r.__wbg_get_georeferencejs_x_axis_abscissa(this.__wbg_ptr)}set x_axis_abscissa(t){r.__wbg_set_georeferencejs_x_axis_abscissa(this.__wbg_ptr,t)}get x_axis_ordinate(){return r.__wbg_get_georeferencejs_x_axis_ordinate(this.__wbg_ptr)}set x_axis_ordinate(t){r.__wbg_set_georeferencejs_x_axis_ordinate(this.__wbg_ptr,t)}get scale(){return r.__wbg_get_georeferencejs_scale(this.__wbg_ptr)}set scale(t){r.__wbg_set_georeferencejs_scale(this.__wbg_ptr,t)}}Symbol.dispose&&(z.prototype[Symbol.dispose]=z.prototype.free);class M{static __wrap(t){t=t>>>0;const e=Object.create(M.prototype);return e.__wbg_ptr=t,Rt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Rt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpugeometry_free(t,0)}get meshCount(){return r.gpugeometry_meshCount(this.__wbg_ptr)>>>0}get indicesLen(){return r.gpugeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return r.gpugeometry_indicesPtr(this.__wbg_ptr)>>>0}get rtcOffsetX(){return r.gpugeometry_rtcOffsetX(this.__wbg_ptr)}get rtcOffsetY(){return r.gpugeometry_rtcOffsetY(this.__wbg_ptr)}get rtcOffsetZ(){return r.gpugeometry_rtcOffsetZ(this.__wbg_ptr)}get hasRtcOffset(){return r.gpugeometry_hasRtcOffset(this.__wbg_ptr)!==0}set_rtc_offset(t,e,n){r.gpugeometry_set_rtc_offset(this.__wbg_ptr,t,e,n)}get vertexDataLen(){return r.gpugeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return r.gpugeometry_vertexDataPtr(this.__wbg_ptr)>>>0}getIfcTypeName(t){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.gpugeometry_getIfcTypeName(_,this.__wbg_ptr,t);var e=o().getInt32(_+0,!0),n=o().getInt32(_+4,!0);let i;return e!==0&&(i=u(e,n).slice(),r.__wbindgen_export2(e,n*1,1)),i}finally{r.__wbindgen_add_to_stack_pointer(16)}}getMeshMetadata(t){const e=r.gpugeometry_getMeshMetadata(this.__wbg_ptr,t);return e===0?void 0:B.__wrap(e)}get totalVertexCount(){return r.gpugeometry_totalVertexCount(this.__wbg_ptr)>>>0}get indicesByteLength(){return r.gpugeometry_indicesByteLength(this.__wbg_ptr)>>>0}get totalTriangleCount(){return r.gpugeometry_totalTriangleCount(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return r.gpugeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}constructor(){const t=r.gpugeometry_new();return this.__wbg_ptr=t>>>0,Rt.register(this,this.__wbg_ptr,this),this}get isEmpty(){return r.gpugeometry_isEmpty(this.__wbg_ptr)!==0}}Symbol.dispose&&(M.prototype[Symbol.dispose]=M.prototype.free);class T{static __wrap(t){t=t>>>0;const e=Object.create(T.prototype);return e.__wbg_ptr=t,Pt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Pt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpuinstancedgeometry_free(t,0)}get geometryId(){const t=r.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get indicesLen(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return r.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get vertexCount(){return r.gpuinstancedgeometry_vertexCount(this.__wbg_ptr)>>>0}get instanceCount(){return r.gpuinstancedgeometry_instanceCount(this.__wbg_ptr)>>>0}get triangleCount(){return r.gpuinstancedgeometry_triangleCount(this.__wbg_ptr)>>>0}get vertexDataLen(){return r.gpuinstancedgeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return r.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get instanceDataLen(){return r.gpuinstancedgeometry_instanceDataLen(this.__wbg_ptr)>>>0}get instanceDataPtr(){return r.gpuinstancedgeometry_instanceDataPtr(this.__wbg_ptr)>>>0}get indicesByteLength(){return r.gpuinstancedgeometry_indicesByteLength(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return r.gpuinstancedgeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}get instanceExpressIdsPtr(){return r.gpuinstancedgeometry_instanceExpressIdsPtr(this.__wbg_ptr)>>>0}get instanceDataByteLength(){return r.gpuinstancedgeometry_instanceDataByteLength(this.__wbg_ptr)>>>0}constructor(t){const e=r.gpuinstancedgeometry_new(t);return this.__wbg_ptr=e>>>0,Pt.register(this,this.__wbg_ptr,this),this}}Symbol.dispose&&(T.prototype[Symbol.dispose]=T.prototype.free);class O{static __wrap(t){t=t>>>0;const e=Object.create(O.prototype);return e.__wbg_ptr=t,Ct.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ct.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpuinstancedgeometrycollection_free(t,0)}get(t){const e=r.gpuinstancedgeometrycollection_get(this.__wbg_ptr,t);return e===0?void 0:T.__wrap(e)}constructor(){const t=r.gpuinstancedgeometrycollection_new();return this.__wbg_ptr=t>>>0,Ct.register(this,this.__wbg_ptr,this),this}get length(){return r.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}getRef(t){const e=r.gpuinstancedgeometrycollection_get(this.__wbg_ptr,t);return e===0?void 0:L.__wrap(e)}}Symbol.dispose&&(O.prototype[Symbol.dispose]=O.prototype.free);class L{static __wrap(t){t=t>>>0;const e=Object.create(L.prototype);return e.__wbg_ptr=t,Et.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Et.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpuinstancedgeometryref_free(t,0)}get geometryId(){const t=r.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get indicesLen(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return r.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get instanceCount(){return r.gpuinstancedgeometry_instanceCount(this.__wbg_ptr)>>>0}get vertexDataLen(){return r.gpuinstancedgeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return r.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get instanceDataLen(){return r.gpuinstancedgeometry_instanceDataLen(this.__wbg_ptr)>>>0}get instanceDataPtr(){return r.gpuinstancedgeometry_instanceDataPtr(this.__wbg_ptr)>>>0}get indicesByteLength(){return r.gpuinstancedgeometry_indicesByteLength(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return r.gpuinstancedgeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}get instanceExpressIdsPtr(){return r.gpuinstancedgeometry_instanceExpressIdsPtr(this.__wbg_ptr)>>>0}get instanceDataByteLength(){return r.gpuinstancedgeometry_instanceDataByteLength(this.__wbg_ptr)>>>0}}Symbol.dispose&&(L.prototype[Symbol.dispose]=L.prototype.free);class B{static __wrap(t){t=t>>>0;const e=Object.create(B.prototype);return e.__wbg_ptr=t,Dt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Dt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpumeshmetadata_free(t,0)}get expressId(){return r.gpumeshmetadata_expressId(this.__wbg_ptr)>>>0}get indexCount(){return r.gpumeshmetadata_indexCount(this.__wbg_ptr)>>>0}get ifcTypeIdx(){return r.gpumeshmetadata_ifcTypeIdx(this.__wbg_ptr)}get indexOffset(){return r.gpumeshmetadata_indexOffset(this.__wbg_ptr)>>>0}get vertexCount(){return r.gpumeshmetadata_vertexCount(this.__wbg_ptr)>>>0}get vertexOffset(){return r.gpumeshmetadata_vertexOffset(this.__wbg_ptr)>>>0}get color(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.gpumeshmetadata_color(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=k(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}}Symbol.dispose&&(B.prototype[Symbol.dispose]=B.prototype.free);class wt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Gt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_ifcapi_free(t,0)}parseMeshes(t){const e=w(t,r.__wbindgen_export3,r.__wbindgen_export4),n=p,_=r.ifcapi_parseMeshes(this.__wbg_ptr,e,n);return I.__wrap(_)}parseMeshesAsync(t,e){const n=w(t,r.__wbindgen_export3,r.__wbindgen_export4),_=p,i=r.ifcapi_parseMeshesAsync(this.__wbg_ptr,n,_,l(e));return b(i)}buildPrePassFast(t){const e=h(t,r.__wbindgen_export3),n=p,_=r.ifcapi_buildPrePassFast(this.__wbg_ptr,e,n);return b(_)}buildPrePassOnce(t){const e=h(t,r.__wbindgen_export3),n=p,_=r.ifcapi_buildPrePassOnce(this.__wbg_ptr,e,n);return b(_)}parseMeshesSubset(t,e,n,_){const i=w(t,r.__wbindgen_export3,r.__wbindgen_export4),a=p,c=r.ifcapi_parseMeshesSubset(this.__wbg_ptr,i,a,e,n,_);return I.__wrap(c)}parseToGpuGeometry(t){const e=w(t,r.__wbindgen_export3,r.__wbindgen_export4),n=p,_=r.ifcapi_parseToGpuGeometry(this.__wbg_ptr,e,n);return M.__wrap(_)}parseMeshesInstanced(t){const e=w(t,r.__wbindgen_export3,r.__wbindgen_export4),n=p,_=r.ifcapi_parseMeshesInstanced(this.__wbg_ptr,e,n);return P.__wrap(_)}processGeometryBatch(t,e,n,_,i,a,c,d,y,F,H,K){const q=h(t,r.__wbindgen_export3),Q=p,tt=f(e,r.__wbindgen_export3),et=p,rt=f(d,r.__wbindgen_export3),nt=p,ht=f(y,r.__wbindgen_export3),mt=p,xt=f(F,r.__wbindgen_export3),vt=p,It=f(H,r.__wbindgen_export3),jt=p,Ft=h(K,r.__wbindgen_export3),St=p,kt=r.ifcapi_processGeometryBatch(this.__wbg_ptr,q,Q,tt,et,n,_,i,a,c,rt,nt,ht,mt,xt,vt,It,jt,Ft,St);return I.__wrap(kt)}scanEntityIndexShard(t,e,n,_){try{const d=r.__wbindgen_add_to_stack_pointer(-16),y=h(t,r.__wbindgen_export3),F=p;r.ifcapi_scanEntityIndexShard(d,this.__wbg_ptr,y,F,zt(e),n,_);var i=o().getInt32(d+0,!0),a=o().getInt32(d+4,!0),c=o().getInt32(d+8,!0);if(c)throw b(a);return b(i)}finally{r.__wbindgen_add_to_stack_pointer(16),x[pt++]=void 0}}buildPrePassStreaming(t,e,n){try{const c=r.__wbindgen_add_to_stack_pointer(-16),d=h(t,r.__wbindgen_export3),y=p;r.ifcapi_buildPrePassStreaming(c,this.__wbg_ptr,d,y,zt(e),n);var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0),a=o().getInt32(c+8,!0);if(a)throw b(i);return b(_)}finally{r.__wbindgen_add_to_stack_pointer(16),x[pt++]=void 0}}parseToGpuGeometryAsync(t,e){const n=w(t,r.__wbindgen_export3,r.__wbindgen_export4),_=p,i=r.ifcapi_parseToGpuGeometryAsync(this.__wbg_ptr,n,_,l(e));return b(i)}parseMeshesInstancedAsync(t,e){const n=w(t,r.__wbindgen_export3,r.__wbindgen_export4),_=p,i=r.ifcapi_parseMeshesInstancedAsync(this.__wbg_ptr,n,_,l(e));return b(i)}benchmarkPureCpuParallelism(t){try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.ifcapi_benchmarkPureCpuParallelism(i,this.__wbg_ptr,t);var e=o().getInt32(i+0,!0),n=o().getInt32(i+4,!0),_=A(e,n).slice();return r.__wbindgen_export2(e,n*8,8),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}parseToGpuInstancedGeometry(t){const e=w(t,r.__wbindgen_export3,r.__wbindgen_export4),n=p,_=r.ifcapi_parseToGpuInstancedGeometry(this.__wbg_ptr,e,n);return O.__wrap(_)}processGeometryBatchParallel(t,e,n,_,i,a,c,d,y,F,H,K){const q=h(t,r.__wbindgen_export3),Q=p,tt=f(e,r.__wbindgen_export3),et=p,rt=f(d,r.__wbindgen_export3),nt=p,ht=f(y,r.__wbindgen_export3),mt=p,xt=f(F,r.__wbindgen_export3),vt=p,It=f(H,r.__wbindgen_export3),jt=p,Ft=h(K,r.__wbindgen_export3),St=p,kt=r.ifcapi_processGeometryBatchParallel(this.__wbg_ptr,q,Q,tt,et,n,_,i,a,c,rt,nt,ht,mt,xt,vt,It,jt,Ft,St);return I.__wrap(kt)}processInstancedGeometryBatch(t,e,n,_,i,a,c,d,y){const F=h(t,r.__wbindgen_export3),H=p,K=f(e,r.__wbindgen_export3),q=p,Q=f(d,r.__wbindgen_export3),tt=p,et=h(y,r.__wbindgen_export3),rt=p,nt=r.ifcapi_processInstancedGeometryBatch(this.__wbg_ptr,F,H,K,q,n,_,i,a,c,Q,tt,et,rt);return P.__wrap(nt)}parseZeroCopy(t){const e=w(t,r.__wbindgen_export3,r.__wbindgen_export4),n=p,_=r.ifcapi_parseZeroCopy(this.__wbg_ptr,e,n);return N.__wrap(_)}extractProfiles(t,e){const n=w(t,r.__wbindgen_export3,r.__wbindgen_export4),_=p,i=r.ifcapi_extractProfiles(this.__wbg_ptr,n,_,e);return G.__wrap(i)}debugProcessEntity953(t){let e,n;try{const a=r.__wbindgen_add_to_stack_pointer(-16),c=w(t,r.__wbindgen_export3,r.__wbindgen_export4),d=p;r.ifcapi_debugProcessEntity953(a,this.__wbg_ptr,c,d);var _=o().getInt32(a+0,!0),i=o().getInt32(a+4,!0);return e=_,n=i,u(_,i)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(e,n,1)}}debugProcessFirstWall(t){let e,n;try{const a=r.__wbindgen_add_to_stack_pointer(-16),c=w(t,r.__wbindgen_export3,r.__wbindgen_export4),d=p;r.ifcapi_debugProcessFirstWall(a,this.__wbg_ptr,c,d);var _=o().getInt32(a+0,!0),i=o().getInt32(a+4,!0);return e=_,n=i,u(_,i)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(e,n,1)}}getMemory(){const t=r.ifcapi_getMemory(this.__wbg_ptr);return b(t)}setEntityIndex(t,e,n){const _=f(t,r.__wbindgen_export3),i=p,a=f(e,r.__wbindgen_export3),c=p,d=f(n,r.__wbindgen_export3),y=p;r.ifcapi_setEntityIndex(this.__wbg_ptr,_,i,a,c,d,y)}setMergeLayers(t){r.ifcapi_setMergeLayers(this.__wbg_ptr,t)}clearPrePassCache(){r.ifcapi_clearPrePassCache(this.__wbg_ptr)}constructor(){const t=r.ifcapi_new();return this.__wbg_ptr=t>>>0,Gt.register(this,this.__wbg_ptr,this),this}get version(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.ifcapi_version(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,u(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get is_ready(){return r.ifcapi_is_ready(this.__wbg_ptr)!==0}getGeoReference(t){const e=w(t,r.__wbindgen_export3,r.__wbindgen_export4),n=p,_=r.ifcapi_getGeoReference(this.__wbg_ptr,e,n);return _===0?void 0:z.__wrap(_)}parseMeshesWithRtc(t){const e=w(t,r.__wbindgen_export3,r.__wbindgen_export4),n=p,_=r.ifcapi_parseMeshesWithRtc(this.__wbg_ptr,e,n);return D.__wrap(_)}parseStreaming(t,e){const n=w(t,r.__wbindgen_export3,r.__wbindgen_export4),_=p,i=r.ifcapi_parseStreaming(this.__wbg_ptr,n,_,l(e));return b(i)}scanEntitiesFast(t){const e=w(t,r.__wbindgen_export3,r.__wbindgen_export4),n=p,_=r.ifcapi_scanEntitiesFast(this.__wbg_ptr,e,n);return b(_)}scanEntitiesFastBytes(t){const e=h(t,r.__wbindgen_export3),n=p,_=r.ifcapi_scanEntitiesFastBytes(this.__wbg_ptr,e,n);return b(_)}scanGeometryEntitiesFast(t){const e=w(t,r.__wbindgen_export3,r.__wbindgen_export4),n=p,_=r.ifcapi_scanGeometryEntitiesFast(this.__wbg_ptr,e,n);return b(_)}scanRelevantEntitiesFastBytes(t){const e=h(t,r.__wbindgen_export3),n=p,_=r.ifcapi_scanRelevantEntitiesFastBytes(this.__wbg_ptr,e,n);return b(_)}parse(t){const e=w(t,r.__wbindgen_export3,r.__wbindgen_export4),n=p,_=r.ifcapi_parse(this.__wbg_ptr,e,n);return b(_)}parseSymbolicRepresentations(t){const e=w(t,r.__wbindgen_export3,r.__wbindgen_export4),n=p,_=r.ifcapi_parseSymbolicRepresentations(this.__wbg_ptr,e,n);return X.__wrap(_)}}Symbol.dispose&&(wt.prototype[Symbol.dispose]=wt.prototype.free);class E{static __wrap(t){t=t>>>0;const e=Object.create(E.prototype);return e.__wbg_ptr=t,Wt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Wt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_instancedata_free(t,0)}get expressId(){return r.instancedata_expressId(this.__wbg_ptr)>>>0}get color(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.instancedata_color(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=k(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get transform(){const t=r.instancedata_transform(this.__wbg_ptr);return b(t)}}Symbol.dispose&&(E.prototype[Symbol.dispose]=E.prototype.free);class R{static __wrap(t){t=t>>>0;const e=Object.create(R.prototype);return e.__wbg_ptr=t,Ut.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ut.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_instancedgeometry_free(t,0)}get geometryId(){const t=r.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get_instance(t){const e=r.instancedgeometry_get_instance(this.__wbg_ptr,t);return e===0?void 0:E.__wrap(e)}get instance_count(){return r.instancedgeometry_instance_count(this.__wbg_ptr)>>>0}get indices(){const t=r.instancedgeometry_indices(this.__wbg_ptr);return b(t)}get normals(){const t=r.instancedgeometry_normals(this.__wbg_ptr);return b(t)}get positions(){const t=r.instancedgeometry_positions(this.__wbg_ptr);return b(t)}}Symbol.dispose&&(R.prototype[Symbol.dispose]=R.prototype.free);class P{static __wrap(t){t=t>>>0;const e=Object.create(P.prototype);return e.__wbg_ptr=t,Yt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Yt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_instancedmeshcollection_free(t,0)}get totalInstances(){return r.instancedmeshcollection_totalInstances(this.__wbg_ptr)>>>0}get totalGeometries(){return r.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}get(t){const e=r.instancedmeshcollection_get(this.__wbg_ptr,t);return e===0?void 0:R.__wrap(e)}get length(){return r.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(P.prototype[Symbol.dispose]=P.prototype.free);class I{static __wrap(t){t=t>>>0;const e=Object.create(I.prototype);return e.__wbg_ptr=t,Vt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Vt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_meshcollection_free(t,0)}get rtcOffsetX(){return r.gpugeometry_rtcOffsetZ(this.__wbg_ptr)}get rtcOffsetY(){return r.meshcollection_rtcOffsetY(this.__wbg_ptr)}get rtcOffsetZ(){return r.meshcollection_rtcOffsetZ(this.__wbg_ptr)}hasRtcOffset(){return r.meshcollection_hasRtcOffset(this.__wbg_ptr)!==0}localToWorld(t,e,n){try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.meshcollection_localToWorld(c,this.__wbg_ptr,t,e,n);var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0),a=A(_,i).slice();return r.__wbindgen_export2(_,i*8,8),a}finally{r.__wbindgen_add_to_stack_pointer(16)}}get totalVertices(){return r.meshcollection_totalVertices(this.__wbg_ptr)>>>0}get totalTriangles(){return r.meshcollection_totalTriangles(this.__wbg_ptr)>>>0}get buildingRotation(){try{const n=r.__wbindgen_add_to_stack_pointer(-16);r.meshcollection_buildingRotation(n,this.__wbg_ptr);var t=o().getInt32(n+0,!0),e=o().getFloat64(n+8,!0);return t===0?void 0:e}finally{r.__wbindgen_add_to_stack_pointer(16)}}get(t){const e=r.meshcollection_get(this.__wbg_ptr,t);return e===0?void 0:j.__wrap(e)}get length(){return r.meshcollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(I.prototype[Symbol.dispose]=I.prototype.free);class D{static __wrap(t){t=t>>>0;const e=Object.create(D.prototype);return e.__wbg_ptr=t,Zt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Zt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_meshcollectionwithrtc_free(t,0)}get rtcOffset(){const t=r.meshcollectionwithrtc_rtcOffset(this.__wbg_ptr);return U.__wrap(t)}get(t){const e=r.meshcollectionwithrtc_get(this.__wbg_ptr,t);return e===0?void 0:j.__wrap(e)}get length(){return r.meshcollection_length(this.__wbg_ptr)>>>0}get meshes(){const t=r.meshcollectionwithrtc_meshes(this.__wbg_ptr);return I.__wrap(t)}}Symbol.dispose&&(D.prototype[Symbol.dispose]=D.prototype.free);class j{static __wrap(t){t=t>>>0;const e=Object.create(j.prototype);return e.__wbg_ptr=t,Xt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Xt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_meshdatajs_free(t,0)}get expressId(){return r.meshdatajs_expressId(this.__wbg_ptr)>>>0}get vertexCount(){return r.meshdatajs_vertexCount(this.__wbg_ptr)>>>0}get shadingColor(){try{const n=r.__wbindgen_add_to_stack_pointer(-16);r.meshdatajs_shadingColor(n,this.__wbg_ptr);var t=o().getInt32(n+0,!0),e=o().getInt32(n+4,!0);let _;return t!==0&&(_=k(t,e).slice(),r.__wbindgen_export2(t,e*4,4)),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}get triangleCount(){return r.meshdatajs_triangleCount(this.__wbg_ptr)>>>0}get color(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.meshdatajs_color(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=k(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get indices(){const t=r.meshdatajs_indices(this.__wbg_ptr);return b(t)}get normals(){const t=r.meshdatajs_normals(this.__wbg_ptr);return b(t)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.meshdatajs_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,u(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get positions(){const t=r.meshdatajs_positions(this.__wbg_ptr);return b(t)}}Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);class G{static __wrap(t){t=t>>>0;const e=Object.create(G.prototype);return e.__wbg_ptr=t,Jt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Jt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_profilecollection_free(t,0)}get(t){const e=r.profilecollection_get(this.__wbg_ptr,t);return e===0?void 0:W.__wrap(e)}get length(){return r.profilecollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(G.prototype[Symbol.dispose]=G.prototype.free);class W{static __wrap(t){t=t>>>0;const e=Object.create(W.prototype);return e.__wbg_ptr=t,Nt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Nt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_profileentryjs_free(t,0)}get expressId(){return r.profileentryjs_expressId(this.__wbg_ptr)>>>0}get holeCounts(){const t=r.profileentryjs_holeCounts(this.__wbg_ptr);return b(t)}get holePoints(){const t=r.profileentryjs_holePoints(this.__wbg_ptr);return b(t)}get modelIndex(){return r.profileentryjs_modelIndex(this.__wbg_ptr)>>>0}get outerPoints(){const t=r.profileentryjs_outerPoints(this.__wbg_ptr);return b(t)}get extrusionDir(){const t=r.profileentryjs_extrusionDir(this.__wbg_ptr);return b(t)}get extrusionDepth(){return r.profileentryjs_extrusionDepth(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.profileentryjs_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,u(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get transform(){const t=r.profileentryjs_transform(this.__wbg_ptr);return b(t)}}Symbol.dispose&&(W.prototype[Symbol.dispose]=W.prototype.free);class U{static __wrap(t){t=t>>>0;const e=Object.create(U.prototype);return e.__wbg_ptr=t,$t.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,$t.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_rtcoffsetjs_free(t,0)}isSignificant(){return r.rtcoffsetjs_isSignificant(this.__wbg_ptr)!==0}toWorld(t,e,n){try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.rtcoffsetjs_toWorld(c,this.__wbg_ptr,t,e,n);var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0),a=A(_,i).slice();return r.__wbindgen_export2(_,i*8,8),a}finally{r.__wbindgen_add_to_stack_pointer(16)}}get x(){return r.__wbg_get_georeferencejs_eastings(this.__wbg_ptr)}set x(t){r.__wbg_set_georeferencejs_eastings(this.__wbg_ptr,t)}get y(){return r.__wbg_get_georeferencejs_northings(this.__wbg_ptr)}set y(t){r.__wbg_set_georeferencejs_northings(this.__wbg_ptr,t)}get z(){return r.__wbg_get_georeferencejs_orthogonal_height(this.__wbg_ptr)}set z(t){r.__wbg_set_georeferencejs_orthogonal_height(this.__wbg_ptr,t)}}Symbol.dispose&&(U.prototype[Symbol.dispose]=U.prototype.free);class Y{static __wrap(t){t=t>>>0;const e=Object.create(Y.prototype);return e.__wbg_ptr=t,Ht.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ht.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symboliccircle_free(t,0)}get expressId(){return r.gpumeshmetadata_vertexCount(this.__wbg_ptr)>>>0}get startAngle(){return r.symboliccircle_startAngle(this.__wbg_ptr)}get isFullCircle(){return r.symboliccircle_isFullCircle(this.__wbg_ptr)!==0}get repIdentifier(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symboliccircle_repIdentifier(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,u(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get radius(){return r.symboliccircle_radius(this.__wbg_ptr)}get worldY(){return r.symboliccircle_worldY(this.__wbg_ptr)}get centerX(){return r.symboliccircle_centerX(this.__wbg_ptr)}get centerY(){return r.symboliccircle_centerY(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symboliccircle_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,u(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get endAngle(){return r.symboliccircle_endAngle(this.__wbg_ptr)}}Symbol.dispose&&(Y.prototype[Symbol.dispose]=Y.prototype.free);class V{static __wrap(t){t=t>>>0;const e=Object.create(V.prototype);return e.__wbg_ptr=t,Kt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Kt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symbolicfillarea_free(t,0)}get expressId(){return r.profileentryjs_expressId(this.__wbg_ptr)>>>0}get holeCount(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get hatchAngle(){return r.symbolicfillarea_hatchAngle(this.__wbg_ptr)}get pointCount(){return r.symbolicfillarea_pointCount(this.__wbg_ptr)>>>0}get hasHatching(){return r.symbolicfillarea_hasHatching(this.__wbg_ptr)!==0}get hatchSpacing(){return r.symbolicfillarea_hatchSpacing(this.__wbg_ptr)}get holesOffsets(){const t=r.symbolicfillarea_holesOffsets(this.__wbg_ptr);return b(t)}get repIdentifier(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicfillarea_repIdentifier(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,u(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get hatchLineWidth(){return r.symbolicfillarea_hatchLineWidth(this.__wbg_ptr)}get hatchAngleSecondary(){return r.symbolicfillarea_hatchAngleSecondary(this.__wbg_ptr)}get fillA(){return r.symbolicfillarea_fillA(this.__wbg_ptr)}get fillB(){return r.symbolicfillarea_fillB(this.__wbg_ptr)}get fillG(){return r.symbolicfillarea_fillG(this.__wbg_ptr)}get fillR(){return r.symbolicfillarea_fillR(this.__wbg_ptr)}get points(){const t=r.symbolicfillarea_points(this.__wbg_ptr);return b(t)}get worldY(){return r.symbolicfillarea_worldY(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicfillarea_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,u(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}}Symbol.dispose&&(V.prototype[Symbol.dispose]=V.prototype.free);class Z{static __wrap(t){t=t>>>0;const e=Object.create(Z.prototype);return e.__wbg_ptr=t,qt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,qt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symbolicpolyline_free(t,0)}get expressId(){return r.symbolicpolyline_expressId(this.__wbg_ptr)>>>0}get pointCount(){return r.symbolicfillarea_pointCount(this.__wbg_ptr)>>>0}get repIdentifier(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicpolyline_repIdentifier(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,u(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get points(){const t=r.symbolicpolyline_points(this.__wbg_ptr);return b(t)}get worldY(){return r.symboliccircle_worldY(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicpolyline_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,u(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get isClosed(){return r.symbolicpolyline_isClosed(this.__wbg_ptr)!==0}}Symbol.dispose&&(Z.prototype[Symbol.dispose]=Z.prototype.free);class X{static __wrap(t){t=t>>>0;const e=Object.create(X.prototype);return e.__wbg_ptr=t,Qt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Qt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symbolicrepresentationcollection_free(t,0)}get fillCount(){return r.symbolicrepresentationcollection_fillCount(this.__wbg_ptr)>>>0}getCircle(t){const e=r.symbolicrepresentationcollection_getCircle(this.__wbg_ptr,t);return e===0?void 0:Y.__wrap(e)}get textCount(){return r.symbolicrepresentationcollection_textCount(this.__wbg_ptr)>>>0}get totalCount(){return r.symbolicrepresentationcollection_totalCount(this.__wbg_ptr)>>>0}get circleCount(){return r.symbolicrepresentationcollection_circleCount(this.__wbg_ptr)>>>0}getPolyline(t){const e=r.symbolicrepresentationcollection_getPolyline(this.__wbg_ptr,t);return e===0?void 0:Z.__wrap(e)}get polylineCount(){return r.symbolicrepresentationcollection_polylineCount(this.__wbg_ptr)>>>0}getExpressIds(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicrepresentationcollection_getExpressIds(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=oe(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}getFill(t){const e=r.symbolicrepresentationcollection_getFill(this.__wbg_ptr,t);return e===0?void 0:V.__wrap(e)}getText(t){const e=r.symbolicrepresentationcollection_getText(this.__wbg_ptr,t);return e===0?void 0:J.__wrap(e)}get isEmpty(){return r.symbolicrepresentationcollection_isEmpty(this.__wbg_ptr)!==0}}Symbol.dispose&&(X.prototype[Symbol.dispose]=X.prototype.free);class J{static __wrap(t){t=t>>>0;const e=Object.create(J.prototype);return e.__wbg_ptr=t,te.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,te.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symbolictext_free(t,0)}get expressId(){return r.profileentryjs_expressId(this.__wbg_ptr)>>>0}get repIdentifier(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolictext_repIdentifier(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,u(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get x(){return r.symbolicfillarea_fillR(this.__wbg_ptr)}get y(){return r.symbolicfillarea_fillG(this.__wbg_ptr)}get dirX(){return r.symbolicfillarea_fillB(this.__wbg_ptr)}get dirY(){return r.symbolicfillarea_fillA(this.__wbg_ptr)}get height(){return r.symbolicfillarea_hatchSpacing(this.__wbg_ptr)}get colorA(){return r.symbolictext_colorA(this.__wbg_ptr)}get colorB(){return r.symbolicfillarea_worldY(this.__wbg_ptr)}get colorG(){return r.symbolicfillarea_hatchLineWidth(this.__wbg_ptr)}get colorR(){return r.symbolicfillarea_hatchAngleSecondary(this.__wbg_ptr)}get content(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolictext_content(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,u(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get worldY(){return r.symbolicfillarea_hatchAngle(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolictext_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,u(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get alignment(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolictext_alignment(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,u(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get targetPx(){return r.symbolictext_targetPx(this.__wbg_ptr)}}Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);class N{static __wrap(t){t=t>>>0;const e=Object.create(N.prototype);return e.__wbg_ptr=t,At.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,At.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_zerocopymesh_free(t,0)}bounds_max(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.zerocopymesh_bounds_max(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=k(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}bounds_min(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.zerocopymesh_bounds_min(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=k(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get indices_len(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indices_ptr(){return r.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get normals_len(){return r.zerocopymesh_normals_len(this.__wbg_ptr)>>>0}get normals_ptr(){return r.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get vertex_count(){return r.zerocopymesh_vertex_count(this.__wbg_ptr)>>>0}get positions_len(){return r.zerocopymesh_positions_len(this.__wbg_ptr)>>>0}get positions_ptr(){return r.zerocopymesh_positions_ptr(this.__wbg_ptr)>>>0}get triangle_count(){return r.gpuinstancedgeometry_triangleCount(this.__wbg_ptr)>>>0}constructor(){const t=r.zerocopymesh_new();return this.__wbg_ptr=t>>>0,At.register(this,this.__wbg_ptr,this),this}get is_empty(){return r.zerocopymesh_is_empty(this.__wbg_ptr)!==0}}Symbol.dispose&&(N.prototype[Symbol.dispose]=N.prototype.free);function ve(){const s=r.get_memory();return b(s)}function Ie(){r.init()}function ce(s){const t=r.initThreadPool(s);return b(t)}function je(){let s,t;try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.version(_);var e=o().getInt32(_+0,!0),n=o().getInt32(_+4,!0);return s=e,t=n,u(e,n)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(s,t,1)}}class ${static __wrap(t){t=t>>>0;const e=Object.create($.prototype);return e.__wbg_ptr=t,ee.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,ee.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_wbg_rayon_poolbuilder_free(t,0)}numThreads(){return r.wbg_rayon_poolbuilder_numThreads(this.__wbg_ptr)>>>0}build(){r.wbg_rayon_poolbuilder_build(this.__wbg_ptr)}receiver(){return r.wbg_rayon_poolbuilder_receiver(this.__wbg_ptr)>>>0}}Symbol.dispose&&($.prototype[Symbol.dispose]=$.prototype.free);function Fe(s){r.wbg_rayon_start_worker(s)}const Se=new Set(["basic","cors","default"]);async function ke(s,t){if(typeof Response=="function"&&s instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(s,t)}catch(n){if(s.ok&&Se.has(s.type)&&s.headers.get("Content-Type")!=="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",n);else throw n}const e=await s.arrayBuffer();return await WebAssembly.instantiate(e,t)}else{const e=await WebAssembly.instantiate(s,t);return e instanceof WebAssembly.Instance?{instance:e,module:s}:e}}function ge(s){const t={};return t.wbg={},t.wbg.__wbg_Error_52673b7de5a0ca89=function(e,n){const _=Error(u(e,n));return l(_)},t.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd=function(e){return typeof g(e)=="function"},t.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269=function(e){return g(e)===void 0},t.wbg.__wbg___wbindgen_memory_a342e963fbcabd68=function(){const e=r.memory;return l(e)},t.wbg.__wbg___wbindgen_module_967adef62ea6cbf8=function(){const e=yt.__wbindgen_wasm_module;return l(e)},t.wbg.__wbg___wbindgen_number_get_9619185a74197f95=function(e,n){const _=g(n),i=typeof _=="number"?_:void 0;o().setFloat64(e+8,C(i)?0:i,!0),o().setInt32(e+0,!C(i),!0)},t.wbg.__wbg___wbindgen_rethrow_78714972834ecdf1=function(e){throw b(e)},t.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e=function(e,n){throw new Error(u(e,n))},t.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7=function(e){g(e)._wbg_cb_unref()},t.wbg.__wbg_async_bba5a2ac54b734df=function(e){return g(e).async},t.wbg.__wbg_buffer_063cd102cc769a1c=function(e){const n=g(e).buffer;return l(n)},t.wbg.__wbg_call_3020136f7a2d6e44=function(){return S(function(e,n,_){const i=g(e).call(g(n),g(_));return l(i)},arguments)},t.wbg.__wbg_call_abb4ff46ce38be40=function(){return S(function(e,n){const _=g(e).call(g(n));return l(_)},arguments)},t.wbg.__wbg_call_c8baa5c5e72d274e=function(){return S(function(e,n,_,i){const a=g(e).call(g(n),g(_),g(i));return l(a)},arguments)},t.wbg.__wbg_data_8bf4ae669a78a688=function(e){const n=g(e).data;return l(n)},t.wbg.__wbg_debug_9d0c87ddda3dc485=function(e){console.debug(g(e))},t.wbg.__wbg_error_7534b8e9a36f1ab4=function(e,n){let _,i;try{_=e,i=n,console.error(u(e,n))}finally{r.__wbindgen_export2(_,i,1)}},t.wbg.__wbg_get_af9dab7e9603ea93=function(){return S(function(e,n){const _=Reflect.get(g(e),g(n));return l(_)},arguments)},t.wbg.__wbg_gpugeometry_new=function(e){const n=M.__wrap(e);return l(n)},t.wbg.__wbg_info_ce6bcc489c22f6f0=function(e){console.info(g(e))},t.wbg.__wbg_instancedgeometry_new=function(e){const n=R.__wrap(e);return l(n)},t.wbg.__wbg_instanceof_Window_b5cf7783caa68180=function(e){let n;try{n=g(e)instanceof Window}catch{n=!1}return n},t.wbg.__wbg_length_d45040a40c570362=function(e){return g(e).length},t.wbg.__wbg_log_1d990106d99dacb7=function(e){console.log(g(e))},t.wbg.__wbg_meshdatajs_new=function(e){const n=j.__wrap(e);return l(n)},t.wbg.__wbg_new_1ba21ce319a06297=function(){const e=new Object;return l(e)},t.wbg.__wbg_new_25f239778d6112b9=function(){const e=new Array;return l(e)},t.wbg.__wbg_new_53cb1e86c1ef5d2a=function(){return S(function(e,n){const _=new Worker(u(e,n));return l(_)},arguments)},t.wbg.__wbg_new_8a6f238a6ece86ea=function(){const e=new Error;return l(e)},t.wbg.__wbg_new_de1e660b88fc921f=function(e){const n=new Int32Array(g(e));return l(n)},t.wbg.__wbg_new_ff12d2b041fb48f1=function(e,n){try{var _={a:e,b:n},i=(c,d)=>{const y=_.a;_.a=0;try{return xe(y,_.b,c,d)}finally{_.a=y}};const a=new Promise(i);return l(a)}finally{_.a=_.b=0}},t.wbg.__wbg_new_from_slice_41e2764a343e3cb1=function(e,n){const _=new Float32Array(k(e,n));return l(_)},t.wbg.__wbg_new_from_slice_db0691b69e9d3891=function(e,n){const _=new Uint32Array(oe(e,n));return l(_)},t.wbg.__wbg_new_no_args_cb138f77cf6151ee=function(e,n){const _=new Function(u(e,n));return l(_)},t.wbg.__wbg_new_with_length_202b3db94ba5fc86=function(e){const n=new Uint32Array(e>>>0);return l(n)},t.wbg.__wbg_new_with_length_806b9e5b8290af7c=function(e){const n=new Float64Array(e>>>0);return l(n)},t.wbg.__wbg_new_with_length_aa5eaf41d35235e5=function(e){const n=new Uint8Array(e>>>0);return l(n)},t.wbg.__wbg_now_69d776cd24f5215b=function(){return Date.now()},t.wbg.__wbg_of_7779827fa663eec8=function(e,n,_){const i=Array.of(g(e),g(n),g(_));return l(i)},t.wbg.__wbg_postMessage_07504dbe15265d5c=function(){return S(function(e,n){g(e).postMessage(g(n))},arguments)},t.wbg.__wbg_push_7d9be8f38fc13975=function(e,n){return g(e).push(g(n))},t.wbg.__wbg_queueMicrotask_9b549dfce8865860=function(e){const n=g(e).queueMicrotask;return l(n)},t.wbg.__wbg_queueMicrotask_fca69f5bfad613a5=function(e){queueMicrotask(g(e))},t.wbg.__wbg_resolve_fd5bfbaa4ce36e1e=function(e){const n=Promise.resolve(g(e));return l(n)},t.wbg.__wbg_set_3f1d0b984ed272ed=function(e,n,_){g(e)[b(n)]=b(_)},t.wbg.__wbg_set_781438a03c0c3c81=function(){return S(function(e,n,_){return Reflect.set(g(e),g(n),g(_))},arguments)},t.wbg.__wbg_set_7df433eea03a5c14=function(e,n,_){g(e)[n>>>0]=b(_)},t.wbg.__wbg_set_index_021489b2916af13e=function(e,n,_){g(e)[n>>>0]=_},t.wbg.__wbg_set_index_04c4b93e64d08a52=function(e,n,_){g(e)[n>>>0]=_},t.wbg.__wbg_set_index_42abe35f117e614e=function(e,n,_){g(e)[n>>>0]=_>>>0},t.wbg.__wbg_set_onmessage_deb94985de696ac7=function(e,n){g(e).onmessage=g(n)},t.wbg.__wbg_stack_0ed75d68575b0f3c=function(e,n){const _=g(n).stack,i=w(_,r.__wbindgen_export3,r.__wbindgen_export4),a=p;o().setInt32(e+4,a,!0),o().setInt32(e+0,i,!0)},t.wbg.__wbg_startWorkers_2ca11761e08ff5d5=function(e,n,_){const i=ue(b(e),b(n),$.__wrap(_));return l(i)},t.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335=function(){const e=typeof global>"u"?null:global;return C(e)?0:l(e)},t.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1=function(){const e=typeof globalThis>"u"?null:globalThis;return C(e)?0:l(e)},t.wbg.__wbg_static_accessor_SELF_08f5a74c69739274=function(){const e=typeof self>"u"?null:self;return C(e)?0:l(e)},t.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024=function(){const e=typeof window>"u"?null:window;return C(e)?0:l(e)},t.wbg.__wbg_then_4f95312d68691235=function(e,n){const _=g(e).then(g(n));return l(_)},t.wbg.__wbg_value_4cd497eeadba94bd=function(e){const n=g(e).value;return l(n)},t.wbg.__wbg_waitAsync_8afec80ffd213eca=function(e,n,_){const i=Atomics.waitAsync(g(e),n>>>0,_);return l(i)},t.wbg.__wbg_waitAsync_c186cb97ffacd552=function(){const e=Atomics.waitAsync;return l(e)},t.wbg.__wbg_warn_6e567d0d926ff881=function(e){console.warn(g(e))},t.wbg.__wbindgen_cast_03147804bda095a7=function(e,n){const _=Ot(e,n,r.__wasm_bindgen_func_elem_1441,Lt);return l(_)},t.wbg.__wbindgen_cast_2241b6af4c4b2941=function(e,n){const _=u(e,n);return l(_)},t.wbg.__wbindgen_cast_4625c577ab2ec9ee=function(e){const n=BigInt.asUintN(64,e);return l(n)},t.wbg.__wbindgen_cast_70d95440b2e680ed=function(e,n){const _=Ot(e,n,r.__wasm_bindgen_func_elem_1441,Lt);return l(_)},t.wbg.__wbindgen_cast_d6cd19b81560fd6e=function(e){return l(e)},t.wbg.__wbindgen_link_203404ece0e9bab9=function(e){const n=`onmessage = function (ev) {
|
|
2
|
-
let [ia, index, value] = ev.data;
|
|
3
|
-
ia = new Int32Array(ia.buffer);
|
|
4
|
-
let result = Atomics.wait(ia, index, value);
|
|
5
|
-
postMessage(result);
|
|
6
|
-
};
|
|
7
|
-
`,_=typeof URL.createObjectURL>"u"?"data:application/javascript,"+encodeURIComponent(n):URL.createObjectURL(new Blob([n],{type:"text/javascript"})),i=w(_,r.__wbindgen_export3,r.__wbindgen_export4),a=p;o().setInt32(e+4,a,!0),o().setInt32(e+0,i,!0)},t.wbg.__wbindgen_object_clone_ref=function(e){const n=g(e);return l(n)},t.wbg.__wbindgen_object_drop_ref=function(e){b(e)},t.wbg.memory=s||new WebAssembly.Memory({initial:132,maximum:65536,shared:!0}),t}function pe(s,t,e){if(r=s.exports,yt.__wbindgen_wasm_module=t,_t=null,st=null,it=null,ot=null,at=null,typeof e<"u"&&(typeof e!="number"||e===0||e%65536!==0))throw"invalid stack size";return r.__wbindgen_start(e),r}function le(s,t){if(r!==void 0)return r;let e;typeof s<"u"&&(Object.getPrototypeOf(s)===Object.prototype?{module:s,memory:t,thread_stack_size:e}=s:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const n=ge(t);s instanceof WebAssembly.Module||(s=new WebAssembly.Module(s));const _=new WebAssembly.Instance(s,n);return pe(_,s,e)}async function yt(s,t){if(r!==void 0)return r;let e;typeof s<"u"&&(Object.getPrototypeOf(s)===Object.prototype?{module_or_path:s,memory:t,thread_stack_size:e}=s:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),typeof s>"u"&&(s=new URL("/assets/ifc-lite_bg-iH_07wf8.wasm",import.meta.url));const n=ge(t);(typeof s=="string"||typeof Request=="function"&&s instanceof Request||typeof URL=="function"&&s instanceof URL)&&(s=fetch(s));const{instance:_,module:i}=await ke(await s,n);return pe(_,i,e)}var Me=Object.freeze({__proto__:null,GeoReferenceJs:z,GpuGeometry:M,GpuInstancedGeometry:T,GpuInstancedGeometryCollection:O,GpuInstancedGeometryRef:L,GpuMeshMetadata:B,IfcAPI:wt,InstanceData:E,InstancedGeometry:R,InstancedMeshCollection:P,MeshCollection:I,MeshCollectionWithRtc:D,MeshDataJs:j,ProfileCollection:G,ProfileEntryJs:W,RtcOffsetJs:U,SymbolicCircle:Y,SymbolicFillArea:V,SymbolicPolyline:Z,SymbolicRepresentationCollection:X,SymbolicText:J,ZeroCopyMesh:N,default:yt,get_memory:ve,init:Ie,initSync:le,initThreadPool:ce,version:je,wbg_rayon_PoolBuilder:$,wbg_rayon_start_worker:Fe});let v=null,dt=!1,re,be=!1,ft=!1;function ne(){if(!v||ft)return;const s=v;typeof s.setMergeLayers=="function"&&s.setMergeLayers(be),ft=!0}let m=null;function Re(s){return new Uint8Array(s)}function Pe(s){const t=new Uint8Array(s.byteLength);return t.set(new Uint8Array(s)),t}function Ce(s){return{sharedBuffer:s.sharedBuffer,localBytes:Re(s.sharedBuffer),sabFallbackTaken:!1,unitScale:s.unitScale,rtcX:s.rtcX,rtcY:s.rtcY,rtcZ:s.rtcZ,needsShift:s.needsShift,voidKeys:s.voidKeys,voidCounts:s.voidCounts,voidValues:s.voidValues,styleIds:s.styleIds,styleColors:s.styleColors,pendingMeshes:[],pendingTransfers:[],totalMeshesEmitted:0,cumulativeMeshBytes:0}}function de(s){if(s.pendingMeshes.length===0)return;const t=s.pendingMeshes,e=s.pendingTransfers;s.pendingMeshes=[],s.pendingTransfers=[],s.totalMeshesEmitted+=t.length,self.postMessage({type:"batch",meshes:t},e)}function Ae(s,t){for(let e=0;e<t.length;e++){const n=t.get(e);if(!n)continue;const _=new Float32Array(n.positions),i=new Float32Array(n.normals),a=new Uint32Array(n.indices);s.pendingMeshes.push({expressId:n.expressId,ifcType:n.ifcType,positions:_,normals:i,indices:a,color:[n.color[0],n.color[1],n.color[2],n.color[3]]}),s.pendingTransfers.push(_.buffer,i.buffer,a.buffer),s.cumulativeMeshBytes+=_.byteLength+i.byteLength+a.byteLength,n.free()}t.free()}async function ut(s,t){const e=Math.floor(t.length/3);if(e!==0)try{if(!v)throw new Error("controller API not initialised before stream-chunk");const n=v.processGeometryBatchParallel(s.localBytes,t,s.unitScale,s.rtcX,s.rtcY,s.rtcZ,s.needsShift,s.voidKeys,s.voidCounts,s.voidValues,s.styleIds,s.styleColors);Ae(s,n)}catch(n){const _=n.message;if(!s.sabFallbackTaken&&s.localBytes.buffer instanceof SharedArrayBuffer){s.sabFallbackTaken=!0,console.warn(`[controller] processGeometryBatchParallel rejected SAB view (${_}), copying`),s.localBytes=Pe(s.sharedBuffer),await ut(s,t);return}if(e===1){console.warn(`[controller] skipping entity #${t[0]}: ${_}`);return}console.warn(`[controller] batch of ${e} entities failed (${_}), splitting…`);const i=Math.floor(e/2)*3;await ut(s,t.slice(0,i)),await ut(s,t.slice(i))}}const _e=1e6;async function ze(s,t){const e=Math.floor(t.length/3);for(let n=0;n<e;n+=_e){const _=n*3,i=Math.min(_+_e*3,t.length);await ut(s,t.slice(_,i)),de(s)}}function Te(s){de(s);let t=0;try{t=v?.getMemory()?.buffer?.byteLength??0}catch{}self.postMessage({type:"memory",wasmHeapBytes:t,meshBytes:s.cumulativeMeshBytes}),self.postMessage({type:"complete",totalMeshes:s.totalMeshesEmitted})}let se=Promise.resolve();self.onmessage=s=>{const t=s;se=se.then(async()=>{try{if(t.data.type==="init"){t.data.wasmUrl&&(re=t.data.wasmUrl),t.data.wasmModule?le({module_or_path:t.data.wasmModule}):await yt(re),v=new wt,ft=!1,ne();const e=typeof navigator<"u"?navigator.hardwareConcurrency??4:4,n=Math.max(1,e-1);let _=null;for(let i=1;i<=5;i++)try{const a=performance.now();await ce(n),console.log(`[controller] rayon pool ready (${n} threads, attempt ${i}) @ ${Math.round(performance.now()-a)}ms`),dt=!0,_=null;break}catch(a){_=a,console.warn(`[controller] initThreadPool attempt ${i} failed:`,a),i<5&&await new Promise(c=>setTimeout(c,25))}if(!dt){const i=_ instanceof Error?_.message:String(_??"unknown initThreadPool failure");self.postMessage({type:"error",message:`controller: initThreadPool failed after 5 attempts: ${i}`});return}try{const i=v;typeof i.benchmarkPureCpuParallelism=="function"&&i.benchmarkPureCpuParallelism(9)}catch(i){console.warn("[controller] microbench failed:",i)}self.postMessage({type:"ready"});return}if(t.data.type==="stream-start"){if(!v||!dt)throw new Error('controller: stream-start before init/threadPool ready — host must wait for {type:"ready"} before dispatching');m=Ce({sharedBuffer:t.data.sharedBuffer,unitScale:t.data.unitScale,rtcX:t.data.rtcX,rtcY:t.data.rtcY,rtcZ:t.data.rtcZ,needsShift:t.data.needsShift,voidKeys:t.data.voidKeys,voidCounts:t.data.voidCounts,voidValues:t.data.voidValues,styleIds:t.data.styleIds,styleColors:t.data.styleColors});return}if(t.data.type==="stream-chunk"){if(!m||!v||!dt)throw new Error("controller: stream-chunk before init/stream-start");await ze(m,t.data.jobsFlat);return}if(t.data.type==="stream-end"){if(!m)return;Te(m),m=null;return}if(t.data.type==="set-styles"){if(!m)return;m.styleIds=t.data.styleIds,m.styleColors=t.data.styleColors,m.voidKeys=t.data.voidKeys,m.voidCounts=t.data.voidCounts,m.voidValues=t.data.voidValues;return}if(t.data.type==="set-merge-layers"){be=t.data.enabled===!0,ft=!1,ne();return}if(t.data.type==="set-entity-index"){if(!v)throw new Error('controller: set-entity-index before init — host must wait for {type:"ready"} before dispatching');v.setEntityIndex(t.data.ids,t.data.starts,t.data.lengths);return}console.warn(`[controller] ignoring unhandled message type: ${t.data.type}`)}catch(e){const n=e instanceof Error?e.message:String(e);console.error("[controller] handler error:",e),self.postMessage({type:"error",message:n})}})};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e;function p(n){Y===y.length&&y.push(y.length+1);const t=Y;return Y=y[t],y[t]=n,t}function Ft(n){if(V==1)throw new Error("out of js stack");return y[--V]=n,V}const jt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>n.dtor(n.a,n.b));function de(n){n<132||(y[n]=Y,Y=n)}function M(n,t){return n=n>>>0,be().subarray(n/4,n/4+t)}function W(n,t){return n=n>>>0,ue().subarray(n/8,n/8+t)}function $t(n,t){return n=n>>>0,qt().subarray(n/4,n/4+t)}let j=null;function o(){return(j===null||j.buffer.detached===!0||j.buffer.detached===void 0&&j.buffer!==e.memory.buffer)&&(j=new DataView(e.memory.buffer)),j}let T=null;function be(){return(T===null||T.byteLength===0)&&(T=new Float32Array(e.memory.buffer)),T}let E=null;function ue(){return(E===null||E.byteLength===0)&&(E=new Float64Array(e.memory.buffer)),E}function u(n,t){return n=n>>>0,ye(n,t)}let D=null;function qt(){return(D===null||D.byteLength===0)&&(D=new Uint32Array(e.memory.buffer)),D}let G=null;function U(){return(G===null||G.byteLength===0)&&(G=new Uint8Array(e.memory.buffer)),G}function l(n){return y[n]}function L(n,t){try{return n.apply(this,t)}catch(r){e.__wbindgen_export(p(r))}}let y=new Array(128).fill(void 0);y.push(void 0,null,!0,!1);let Y=y.length;function A(n){return n==null}function we(n,t,r,_){const s={a:n,b:t,cnt:1,dtor:r},i=(...c)=>{s.cnt++;const a=s.a;s.a=0;try{return _(a,s.b,...c)}finally{s.a=a,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--s.cnt===0&&(s.dtor(s.a,s.b),s.a=0,jt.unregister(s))},jt.register(i,s,s),i}function m(n,t){const r=t(n.length*4,4)>>>0;return qt().set(n,r/4),g=n.length,r}function x(n,t){const r=t(n.length*1,1)>>>0;return U().set(n,r/1),g=n.length,r}function w(n,t,r){if(r===void 0){const a=Z.encode(n),b=t(a.length,1)>>>0;return U().subarray(b,b+a.length).set(a),g=a.length,b}let _=n.length,s=t(_,1)>>>0;const i=U();let c=0;for(;c<_;c++){const a=n.charCodeAt(c);if(a>127)break;i[s+c]=a}if(c!==_){c!==0&&(n=n.slice(c)),s=r(s,_,_=c+n.length*3,1)>>>0;const a=U().subarray(s+c,s+_),b=Z.encodeInto(n,a);c+=b.written,s=r(s,_,c,1)>>>0}return g=c,s}let V=128;function d(n){const t=l(n);return de(n),t}let ct=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});ct.decode();const fe=2146435072;let ft=0;function ye(n,t){return ft+=t,ft>=fe&&(ct=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),ct.decode(),ft=t),ct.decode(U().subarray(n,n+t))}const Z=new TextEncoder;"encodeInto"in Z||(Z.encodeInto=function(n,t){const r=Z.encode(n);return t.set(r),{read:n.length,written:r.length}});let g=0;function he(n,t,r){e.__wasm_bindgen_func_elem_1533(n,t,p(r))}function me(n,t,r,_){e.__wasm_bindgen_func_elem_1573(n,t,p(r),p(_))}const kt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_georeferencejs_free(n>>>0,1)),yt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_gpugeometry_free(n>>>0,1)),ht=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_gpuinstancedgeometry_free(n>>>0,1)),mt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_gpuinstancedgeometrycollection_free(n>>>0,1)),Mt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_gpuinstancedgeometryref_free(n>>>0,1)),Rt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_gpumeshmetadata_free(n>>>0,1)),At=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_ifcapi_free(n>>>0,1)),Ct=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_instancedata_free(n>>>0,1)),zt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_instancedgeometry_free(n>>>0,1)),Pt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_instancedmeshcollection_free(n>>>0,1)),Ot=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_meshcollection_free(n>>>0,1)),Bt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_meshcollectionwithrtc_free(n>>>0,1)),Lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_meshdatajs_free(n>>>0,1)),Tt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_profilecollection_free(n>>>0,1)),Et=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_profileentryjs_free(n>>>0,1)),Dt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_rtcoffsetjs_free(n>>>0,1)),Gt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_symboliccircle_free(n>>>0,1)),Wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_symbolicfillarea_free(n>>>0,1)),Ut=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_symbolicpolyline_free(n>>>0,1)),Yt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_symbolicrepresentationcollection_free(n>>>0,1)),Vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_symbolictext_free(n>>>0,1)),xt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_zerocopymesh_free(n>>>0,1));class X{static __wrap(t){t=t>>>0;const r=Object.create(X.prototype);return r.__wbg_ptr=t,kt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,kt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_georeferencejs_free(t,0)}localToMap(t,r,_){try{const a=e.__wbindgen_add_to_stack_pointer(-16);e.georeferencejs_localToMap(a,this.__wbg_ptr,t,r,_);var s=o().getInt32(a+0,!0),i=o().getInt32(a+4,!0),c=W(s,i).slice();return e.__wbindgen_export2(s,i*8,8),c}finally{e.__wbindgen_add_to_stack_pointer(16)}}mapToLocal(t,r,_){try{const a=e.__wbindgen_add_to_stack_pointer(-16);e.georeferencejs_mapToLocal(a,this.__wbg_ptr,t,r,_);var s=o().getInt32(a+0,!0),i=o().getInt32(a+4,!0),c=W(s,i).slice();return e.__wbindgen_export2(s,i*8,8),c}finally{e.__wbindgen_add_to_stack_pointer(16)}}get crsName(){try{const _=e.__wbindgen_add_to_stack_pointer(-16);e.georeferencejs_crsName(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),r=o().getInt32(_+4,!0);let s;return t!==0&&(s=u(t,r).slice(),e.__wbindgen_export2(t,r*1,1)),s}finally{e.__wbindgen_add_to_stack_pointer(16)}}get rotation(){return e.georeferencejs_rotation(this.__wbg_ptr)}toMatrix(){try{const s=e.__wbindgen_add_to_stack_pointer(-16);e.georeferencejs_toMatrix(s,this.__wbg_ptr);var t=o().getInt32(s+0,!0),r=o().getInt32(s+4,!0),_=W(t,r).slice();return e.__wbindgen_export2(t,r*8,8),_}finally{e.__wbindgen_add_to_stack_pointer(16)}}get eastings(){return e.__wbg_get_georeferencejs_eastings(this.__wbg_ptr)}set eastings(t){e.__wbg_set_georeferencejs_eastings(this.__wbg_ptr,t)}get northings(){return e.__wbg_get_georeferencejs_northings(this.__wbg_ptr)}set northings(t){e.__wbg_set_georeferencejs_northings(this.__wbg_ptr,t)}get orthogonal_height(){return e.__wbg_get_georeferencejs_orthogonal_height(this.__wbg_ptr)}set orthogonal_height(t){e.__wbg_set_georeferencejs_orthogonal_height(this.__wbg_ptr,t)}get x_axis_abscissa(){return e.__wbg_get_georeferencejs_x_axis_abscissa(this.__wbg_ptr)}set x_axis_abscissa(t){e.__wbg_set_georeferencejs_x_axis_abscissa(this.__wbg_ptr,t)}get x_axis_ordinate(){return e.__wbg_get_georeferencejs_x_axis_ordinate(this.__wbg_ptr)}set x_axis_ordinate(t){e.__wbg_set_georeferencejs_x_axis_ordinate(this.__wbg_ptr,t)}get scale(){return e.__wbg_get_georeferencejs_scale(this.__wbg_ptr)}set scale(t){e.__wbg_set_georeferencejs_scale(this.__wbg_ptr,t)}}Symbol.dispose&&(X.prototype[Symbol.dispose]=X.prototype.free);class C{static __wrap(t){t=t>>>0;const r=Object.create(C.prototype);return r.__wbg_ptr=t,yt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,yt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_gpugeometry_free(t,0)}get meshCount(){return e.gpugeometry_meshCount(this.__wbg_ptr)>>>0}get indicesLen(){return e.gpugeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return e.gpugeometry_indicesPtr(this.__wbg_ptr)>>>0}get rtcOffsetX(){return e.gpugeometry_rtcOffsetX(this.__wbg_ptr)}get rtcOffsetY(){return e.gpugeometry_rtcOffsetY(this.__wbg_ptr)}get rtcOffsetZ(){return e.gpugeometry_rtcOffsetZ(this.__wbg_ptr)}get hasRtcOffset(){return e.gpugeometry_hasRtcOffset(this.__wbg_ptr)!==0}set_rtc_offset(t,r,_){e.gpugeometry_set_rtc_offset(this.__wbg_ptr,t,r,_)}get vertexDataLen(){return e.gpugeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return e.gpugeometry_vertexDataPtr(this.__wbg_ptr)>>>0}getIfcTypeName(t){try{const s=e.__wbindgen_add_to_stack_pointer(-16);e.gpugeometry_getIfcTypeName(s,this.__wbg_ptr,t);var r=o().getInt32(s+0,!0),_=o().getInt32(s+4,!0);let i;return r!==0&&(i=u(r,_).slice(),e.__wbindgen_export2(r,_*1,1)),i}finally{e.__wbindgen_add_to_stack_pointer(16)}}getMeshMetadata(t){const r=e.gpugeometry_getMeshMetadata(this.__wbg_ptr,t);return r===0?void 0:$.__wrap(r)}get totalVertexCount(){return e.gpugeometry_totalVertexCount(this.__wbg_ptr)>>>0}get indicesByteLength(){return e.gpugeometry_indicesByteLength(this.__wbg_ptr)>>>0}get totalTriangleCount(){return e.gpugeometry_totalTriangleCount(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return e.gpugeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}constructor(){const t=e.gpugeometry_new();return this.__wbg_ptr=t>>>0,yt.register(this,this.__wbg_ptr,this),this}get isEmpty(){return e.gpugeometry_isEmpty(this.__wbg_ptr)!==0}}Symbol.dispose&&(C.prototype[Symbol.dispose]=C.prototype.free);class N{static __wrap(t){t=t>>>0;const r=Object.create(N.prototype);return r.__wbg_ptr=t,ht.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,ht.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_gpuinstancedgeometry_free(t,0)}get geometryId(){const t=e.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get indicesLen(){return e.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return e.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get vertexCount(){return e.gpuinstancedgeometry_vertexCount(this.__wbg_ptr)>>>0}get instanceCount(){return e.gpuinstancedgeometry_instanceCount(this.__wbg_ptr)>>>0}get triangleCount(){return e.gpuinstancedgeometry_triangleCount(this.__wbg_ptr)>>>0}get vertexDataLen(){return e.gpuinstancedgeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return e.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get instanceDataLen(){return e.gpuinstancedgeometry_instanceDataLen(this.__wbg_ptr)>>>0}get instanceDataPtr(){return e.gpuinstancedgeometry_instanceDataPtr(this.__wbg_ptr)>>>0}get indicesByteLength(){return e.gpuinstancedgeometry_indicesByteLength(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return e.gpuinstancedgeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}get instanceExpressIdsPtr(){return e.gpuinstancedgeometry_instanceExpressIdsPtr(this.__wbg_ptr)>>>0}get instanceDataByteLength(){return e.gpuinstancedgeometry_instanceDataByteLength(this.__wbg_ptr)>>>0}constructor(t){const r=e.gpuinstancedgeometry_new(t);return this.__wbg_ptr=r>>>0,ht.register(this,this.__wbg_ptr,this),this}}Symbol.dispose&&(N.prototype[Symbol.dispose]=N.prototype.free);class K{static __wrap(t){t=t>>>0;const r=Object.create(K.prototype);return r.__wbg_ptr=t,mt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,mt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_gpuinstancedgeometrycollection_free(t,0)}get(t){const r=e.gpuinstancedgeometrycollection_get(this.__wbg_ptr,t);return r===0?void 0:N.__wrap(r)}constructor(){const t=e.gpuinstancedgeometrycollection_new();return this.__wbg_ptr=t>>>0,mt.register(this,this.__wbg_ptr,this),this}get length(){return e.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}getRef(t){const r=e.gpuinstancedgeometrycollection_get(this.__wbg_ptr,t);return r===0?void 0:H.__wrap(r)}}Symbol.dispose&&(K.prototype[Symbol.dispose]=K.prototype.free);class H{static __wrap(t){t=t>>>0;const r=Object.create(H.prototype);return r.__wbg_ptr=t,Mt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Mt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_gpuinstancedgeometryref_free(t,0)}get geometryId(){const t=e.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get indicesLen(){return e.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return e.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get instanceCount(){return e.gpuinstancedgeometry_instanceCount(this.__wbg_ptr)>>>0}get vertexDataLen(){return e.gpuinstancedgeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return e.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get instanceDataLen(){return e.gpuinstancedgeometry_instanceDataLen(this.__wbg_ptr)>>>0}get instanceDataPtr(){return e.gpuinstancedgeometry_instanceDataPtr(this.__wbg_ptr)>>>0}get indicesByteLength(){return e.gpuinstancedgeometry_indicesByteLength(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return e.gpuinstancedgeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}get instanceExpressIdsPtr(){return e.gpuinstancedgeometry_instanceExpressIdsPtr(this.__wbg_ptr)>>>0}get instanceDataByteLength(){return e.gpuinstancedgeometry_instanceDataByteLength(this.__wbg_ptr)>>>0}}Symbol.dispose&&(H.prototype[Symbol.dispose]=H.prototype.free);class ${static __wrap(t){t=t>>>0;const r=Object.create($.prototype);return r.__wbg_ptr=t,Rt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Rt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_gpumeshmetadata_free(t,0)}get expressId(){return e.gpumeshmetadata_expressId(this.__wbg_ptr)>>>0}get indexCount(){return e.gpumeshmetadata_indexCount(this.__wbg_ptr)>>>0}get ifcTypeIdx(){return e.gpumeshmetadata_ifcTypeIdx(this.__wbg_ptr)}get indexOffset(){return e.gpumeshmetadata_indexOffset(this.__wbg_ptr)>>>0}get vertexCount(){return e.gpumeshmetadata_vertexCount(this.__wbg_ptr)>>>0}get vertexOffset(){return e.gpumeshmetadata_vertexOffset(this.__wbg_ptr)>>>0}get color(){try{const s=e.__wbindgen_add_to_stack_pointer(-16);e.gpumeshmetadata_color(s,this.__wbg_ptr);var t=o().getInt32(s+0,!0),r=o().getInt32(s+4,!0),_=M(t,r).slice();return e.__wbindgen_export2(t,r*4,4),_}finally{e.__wbindgen_add_to_stack_pointer(16)}}}Symbol.dispose&&($.prototype[Symbol.dispose]=$.prototype.free);class pt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,At.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_ifcapi_free(t,0)}parseMeshes(t){const r=w(t,e.__wbindgen_export3,e.__wbindgen_export4),_=g,s=e.ifcapi_parseMeshes(this.__wbg_ptr,r,_);return I.__wrap(s)}parseMeshesAsync(t,r){const _=w(t,e.__wbindgen_export3,e.__wbindgen_export4),s=g,i=e.ifcapi_parseMeshesAsync(this.__wbg_ptr,_,s,p(r));return d(i)}buildPrePassFast(t){const r=x(t,e.__wbindgen_export3),_=g,s=e.ifcapi_buildPrePassFast(this.__wbg_ptr,r,_);return d(s)}buildPrePassOnce(t){const r=x(t,e.__wbindgen_export3),_=g,s=e.ifcapi_buildPrePassOnce(this.__wbg_ptr,r,_);return d(s)}parseMeshesSubset(t,r,_,s){const i=w(t,e.__wbindgen_export3,e.__wbindgen_export4),c=g,a=e.ifcapi_parseMeshesSubset(this.__wbg_ptr,i,c,r,_,s);return I.__wrap(a)}parseToGpuGeometry(t){const r=w(t,e.__wbindgen_export3,e.__wbindgen_export4),_=g,s=e.ifcapi_parseToGpuGeometry(this.__wbg_ptr,r,_);return C.__wrap(s)}parseMeshesInstanced(t){const r=w(t,e.__wbindgen_export3,e.__wbindgen_export4),_=g,s=e.ifcapi_parseMeshesInstanced(this.__wbg_ptr,r,_);return P.__wrap(s)}processGeometryBatch(t,r,_,s,i,c,a,b,h,S,O,B){const F=x(t,e.__wbindgen_export3),lt=g,dt=m(r,e.__wbindgen_export3),bt=g,ut=m(b,e.__wbindgen_export3),wt=g,_e=m(h,e.__wbindgen_export3),se=g,ie=m(S,e.__wbindgen_export3),oe=g,ae=m(O,e.__wbindgen_export3),ce=g,ge=x(B,e.__wbindgen_export3),pe=g,le=e.ifcapi_processGeometryBatch(this.__wbg_ptr,F,lt,dt,bt,_,s,i,c,a,ut,wt,_e,se,ie,oe,ae,ce,ge,pe);return I.__wrap(le)}scanEntityIndexShard(t,r,_,s){try{const b=e.__wbindgen_add_to_stack_pointer(-16),h=x(t,e.__wbindgen_export3),S=g;e.ifcapi_scanEntityIndexShard(b,this.__wbg_ptr,h,S,Ft(r),_,s);var i=o().getInt32(b+0,!0),c=o().getInt32(b+4,!0),a=o().getInt32(b+8,!0);if(a)throw d(c);return d(i)}finally{e.__wbindgen_add_to_stack_pointer(16),y[V++]=void 0}}buildPrePassStreaming(t,r,_){try{const a=e.__wbindgen_add_to_stack_pointer(-16),b=x(t,e.__wbindgen_export3),h=g;e.ifcapi_buildPrePassStreaming(a,this.__wbg_ptr,b,h,Ft(r),_);var s=o().getInt32(a+0,!0),i=o().getInt32(a+4,!0),c=o().getInt32(a+8,!0);if(c)throw d(i);return d(s)}finally{e.__wbindgen_add_to_stack_pointer(16),y[V++]=void 0}}parseToGpuGeometryAsync(t,r){const _=w(t,e.__wbindgen_export3,e.__wbindgen_export4),s=g,i=e.ifcapi_parseToGpuGeometryAsync(this.__wbg_ptr,_,s,p(r));return d(i)}parseMeshesInstancedAsync(t,r){const _=w(t,e.__wbindgen_export3,e.__wbindgen_export4),s=g,i=e.ifcapi_parseMeshesInstancedAsync(this.__wbg_ptr,_,s,p(r));return d(i)}parseToGpuInstancedGeometry(t){const r=w(t,e.__wbindgen_export3,e.__wbindgen_export4),_=g,s=e.ifcapi_parseToGpuInstancedGeometry(this.__wbg_ptr,r,_);return K.__wrap(s)}processInstancedGeometryBatch(t,r,_,s,i,c,a,b,h){const S=x(t,e.__wbindgen_export3),O=g,B=m(r,e.__wbindgen_export3),F=g,lt=m(b,e.__wbindgen_export3),dt=g,bt=x(h,e.__wbindgen_export3),ut=g,wt=e.ifcapi_processInstancedGeometryBatch(this.__wbg_ptr,S,O,B,F,_,s,i,c,a,lt,dt,bt,ut);return P.__wrap(wt)}parseZeroCopy(t){const r=w(t,e.__wbindgen_export3,e.__wbindgen_export4),_=g,s=e.ifcapi_parseZeroCopy(this.__wbg_ptr,r,_);return ot.__wrap(s)}extractProfiles(t,r){const _=w(t,e.__wbindgen_export3,e.__wbindgen_export4),s=g,i=e.ifcapi_extractProfiles(this.__wbg_ptr,_,s,r);return Q.__wrap(i)}debugProcessEntity953(t){let r,_;try{const c=e.__wbindgen_add_to_stack_pointer(-16),a=w(t,e.__wbindgen_export3,e.__wbindgen_export4),b=g;e.ifcapi_debugProcessEntity953(c,this.__wbg_ptr,a,b);var s=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0);return r=s,_=i,u(s,i)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(r,_,1)}}debugProcessFirstWall(t){let r,_;try{const c=e.__wbindgen_add_to_stack_pointer(-16),a=w(t,e.__wbindgen_export3,e.__wbindgen_export4),b=g;e.ifcapi_debugProcessFirstWall(c,this.__wbg_ptr,a,b);var s=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0);return r=s,_=i,u(s,i)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(r,_,1)}}getMemory(){const t=e.ifcapi_getMemory(this.__wbg_ptr);return d(t)}setEntityIndex(t,r,_){const s=m(t,e.__wbindgen_export3),i=g,c=m(r,e.__wbindgen_export3),a=g,b=m(_,e.__wbindgen_export3),h=g;e.ifcapi_setEntityIndex(this.__wbg_ptr,s,i,c,a,b,h)}setMergeLayers(t){e.ifcapi_setMergeLayers(this.__wbg_ptr,t)}clearPrePassCache(){e.ifcapi_clearPrePassCache(this.__wbg_ptr)}constructor(){const t=e.ifcapi_new();return this.__wbg_ptr=t>>>0,At.register(this,this.__wbg_ptr,this),this}get version(){let t,r;try{const i=e.__wbindgen_add_to_stack_pointer(-16);e.ifcapi_version(i,this.__wbg_ptr);var _=o().getInt32(i+0,!0),s=o().getInt32(i+4,!0);return t=_,r=s,u(_,s)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(t,r,1)}}get is_ready(){return e.ifcapi_is_ready(this.__wbg_ptr)!==0}getGeoReference(t){const r=w(t,e.__wbindgen_export3,e.__wbindgen_export4),_=g,s=e.ifcapi_getGeoReference(this.__wbg_ptr,r,_);return s===0?void 0:X.__wrap(s)}parseMeshesWithRtc(t){const r=w(t,e.__wbindgen_export3,e.__wbindgen_export4),_=g,s=e.ifcapi_parseMeshesWithRtc(this.__wbg_ptr,r,_);return J.__wrap(s)}parseStreaming(t,r){const _=w(t,e.__wbindgen_export3,e.__wbindgen_export4),s=g,i=e.ifcapi_parseStreaming(this.__wbg_ptr,_,s,p(r));return d(i)}scanEntitiesFast(t){const r=w(t,e.__wbindgen_export3,e.__wbindgen_export4),_=g,s=e.ifcapi_scanEntitiesFast(this.__wbg_ptr,r,_);return d(s)}scanEntitiesFastBytes(t){const r=x(t,e.__wbindgen_export3),_=g,s=e.ifcapi_scanEntitiesFastBytes(this.__wbg_ptr,r,_);return d(s)}scanGeometryEntitiesFast(t){const r=w(t,e.__wbindgen_export3,e.__wbindgen_export4),_=g,s=e.ifcapi_scanGeometryEntitiesFast(this.__wbg_ptr,r,_);return d(s)}scanRelevantEntitiesFastBytes(t){const r=x(t,e.__wbindgen_export3),_=g,s=e.ifcapi_scanRelevantEntitiesFastBytes(this.__wbg_ptr,r,_);return d(s)}parse(t){const r=w(t,e.__wbindgen_export3,e.__wbindgen_export4),_=g,s=e.ifcapi_parse(this.__wbg_ptr,r,_);return d(s)}parseSymbolicRepresentations(t){const r=w(t,e.__wbindgen_export3,e.__wbindgen_export4),_=g,s=e.ifcapi_parseSymbolicRepresentations(this.__wbg_ptr,r,_);return st.__wrap(s)}}Symbol.dispose&&(pt.prototype[Symbol.dispose]=pt.prototype.free);class q{static __wrap(t){t=t>>>0;const r=Object.create(q.prototype);return r.__wbg_ptr=t,Ct.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ct.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_instancedata_free(t,0)}get expressId(){return e.instancedata_expressId(this.__wbg_ptr)>>>0}get color(){try{const s=e.__wbindgen_add_to_stack_pointer(-16);e.instancedata_color(s,this.__wbg_ptr);var t=o().getInt32(s+0,!0),r=o().getInt32(s+4,!0),_=M(t,r).slice();return e.__wbindgen_export2(t,r*4,4),_}finally{e.__wbindgen_add_to_stack_pointer(16)}}get transform(){const t=e.instancedata_transform(this.__wbg_ptr);return d(t)}}Symbol.dispose&&(q.prototype[Symbol.dispose]=q.prototype.free);class z{static __wrap(t){t=t>>>0;const r=Object.create(z.prototype);return r.__wbg_ptr=t,zt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,zt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_instancedgeometry_free(t,0)}get geometryId(){const t=e.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get_instance(t){const r=e.instancedgeometry_get_instance(this.__wbg_ptr,t);return r===0?void 0:q.__wrap(r)}get instance_count(){return e.instancedgeometry_instance_count(this.__wbg_ptr)>>>0}get indices(){const t=e.instancedgeometry_indices(this.__wbg_ptr);return d(t)}get normals(){const t=e.instancedgeometry_normals(this.__wbg_ptr);return d(t)}get positions(){const t=e.instancedgeometry_positions(this.__wbg_ptr);return d(t)}}Symbol.dispose&&(z.prototype[Symbol.dispose]=z.prototype.free);class P{static __wrap(t){t=t>>>0;const r=Object.create(P.prototype);return r.__wbg_ptr=t,Pt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Pt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_instancedmeshcollection_free(t,0)}get totalInstances(){return e.instancedmeshcollection_totalInstances(this.__wbg_ptr)>>>0}get totalGeometries(){return e.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}get(t){const r=e.instancedmeshcollection_get(this.__wbg_ptr,t);return r===0?void 0:z.__wrap(r)}get length(){return e.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(P.prototype[Symbol.dispose]=P.prototype.free);class I{static __wrap(t){t=t>>>0;const r=Object.create(I.prototype);return r.__wbg_ptr=t,Ot.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ot.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_meshcollection_free(t,0)}get rtcOffsetX(){return e.gpugeometry_rtcOffsetZ(this.__wbg_ptr)}get rtcOffsetY(){return e.meshcollection_rtcOffsetY(this.__wbg_ptr)}get rtcOffsetZ(){return e.meshcollection_rtcOffsetZ(this.__wbg_ptr)}hasRtcOffset(){return e.meshcollection_hasRtcOffset(this.__wbg_ptr)!==0}localToWorld(t,r,_){try{const a=e.__wbindgen_add_to_stack_pointer(-16);e.meshcollection_localToWorld(a,this.__wbg_ptr,t,r,_);var s=o().getInt32(a+0,!0),i=o().getInt32(a+4,!0),c=W(s,i).slice();return e.__wbindgen_export2(s,i*8,8),c}finally{e.__wbindgen_add_to_stack_pointer(16)}}get totalVertices(){return e.meshcollection_totalVertices(this.__wbg_ptr)>>>0}get totalTriangles(){return e.meshcollection_totalTriangles(this.__wbg_ptr)>>>0}get buildingRotation(){try{const _=e.__wbindgen_add_to_stack_pointer(-16);e.meshcollection_buildingRotation(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),r=o().getFloat64(_+8,!0);return t===0?void 0:r}finally{e.__wbindgen_add_to_stack_pointer(16)}}get(t){const r=e.meshcollection_get(this.__wbg_ptr,t);return r===0?void 0:R.__wrap(r)}get length(){return e.meshcollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(I.prototype[Symbol.dispose]=I.prototype.free);class J{static __wrap(t){t=t>>>0;const r=Object.create(J.prototype);return r.__wbg_ptr=t,Bt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Bt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_meshcollectionwithrtc_free(t,0)}get rtcOffset(){const t=e.meshcollectionwithrtc_rtcOffset(this.__wbg_ptr);return et.__wrap(t)}get(t){const r=e.meshcollectionwithrtc_get(this.__wbg_ptr,t);return r===0?void 0:R.__wrap(r)}get length(){return e.meshcollection_length(this.__wbg_ptr)>>>0}get meshes(){const t=e.meshcollectionwithrtc_meshes(this.__wbg_ptr);return I.__wrap(t)}}Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);class R{static __wrap(t){t=t>>>0;const r=Object.create(R.prototype);return r.__wbg_ptr=t,Lt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Lt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_meshdatajs_free(t,0)}get expressId(){return e.meshdatajs_expressId(this.__wbg_ptr)>>>0}get vertexCount(){return e.meshdatajs_vertexCount(this.__wbg_ptr)>>>0}get shadingColor(){try{const _=e.__wbindgen_add_to_stack_pointer(-16);e.meshdatajs_shadingColor(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),r=o().getInt32(_+4,!0);let s;return t!==0&&(s=M(t,r).slice(),e.__wbindgen_export2(t,r*4,4)),s}finally{e.__wbindgen_add_to_stack_pointer(16)}}get triangleCount(){return e.meshdatajs_triangleCount(this.__wbg_ptr)>>>0}get color(){try{const s=e.__wbindgen_add_to_stack_pointer(-16);e.meshdatajs_color(s,this.__wbg_ptr);var t=o().getInt32(s+0,!0),r=o().getInt32(s+4,!0),_=M(t,r).slice();return e.__wbindgen_export2(t,r*4,4),_}finally{e.__wbindgen_add_to_stack_pointer(16)}}get indices(){const t=e.meshdatajs_indices(this.__wbg_ptr);return d(t)}get normals(){const t=e.meshdatajs_normals(this.__wbg_ptr);return d(t)}get ifcType(){let t,r;try{const i=e.__wbindgen_add_to_stack_pointer(-16);e.meshdatajs_ifcType(i,this.__wbg_ptr);var _=o().getInt32(i+0,!0),s=o().getInt32(i+4,!0);return t=_,r=s,u(_,s)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(t,r,1)}}get positions(){const t=e.meshdatajs_positions(this.__wbg_ptr);return d(t)}}Symbol.dispose&&(R.prototype[Symbol.dispose]=R.prototype.free);class Q{static __wrap(t){t=t>>>0;const r=Object.create(Q.prototype);return r.__wbg_ptr=t,Tt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Tt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_profilecollection_free(t,0)}get(t){const r=e.profilecollection_get(this.__wbg_ptr,t);return r===0?void 0:tt.__wrap(r)}get length(){return e.profilecollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(Q.prototype[Symbol.dispose]=Q.prototype.free);class tt{static __wrap(t){t=t>>>0;const r=Object.create(tt.prototype);return r.__wbg_ptr=t,Et.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Et.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_profileentryjs_free(t,0)}get expressId(){return e.profileentryjs_expressId(this.__wbg_ptr)>>>0}get holeCounts(){const t=e.profileentryjs_holeCounts(this.__wbg_ptr);return d(t)}get holePoints(){const t=e.profileentryjs_holePoints(this.__wbg_ptr);return d(t)}get modelIndex(){return e.profileentryjs_modelIndex(this.__wbg_ptr)>>>0}get outerPoints(){const t=e.profileentryjs_outerPoints(this.__wbg_ptr);return d(t)}get extrusionDir(){const t=e.profileentryjs_extrusionDir(this.__wbg_ptr);return d(t)}get extrusionDepth(){return e.profileentryjs_extrusionDepth(this.__wbg_ptr)}get ifcType(){let t,r;try{const i=e.__wbindgen_add_to_stack_pointer(-16);e.profileentryjs_ifcType(i,this.__wbg_ptr);var _=o().getInt32(i+0,!0),s=o().getInt32(i+4,!0);return t=_,r=s,u(_,s)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(t,r,1)}}get transform(){const t=e.profileentryjs_transform(this.__wbg_ptr);return d(t)}}Symbol.dispose&&(tt.prototype[Symbol.dispose]=tt.prototype.free);class et{static __wrap(t){t=t>>>0;const r=Object.create(et.prototype);return r.__wbg_ptr=t,Dt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Dt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_rtcoffsetjs_free(t,0)}isSignificant(){return e.rtcoffsetjs_isSignificant(this.__wbg_ptr)!==0}toWorld(t,r,_){try{const a=e.__wbindgen_add_to_stack_pointer(-16);e.rtcoffsetjs_toWorld(a,this.__wbg_ptr,t,r,_);var s=o().getInt32(a+0,!0),i=o().getInt32(a+4,!0),c=W(s,i).slice();return e.__wbindgen_export2(s,i*8,8),c}finally{e.__wbindgen_add_to_stack_pointer(16)}}get x(){return e.__wbg_get_georeferencejs_eastings(this.__wbg_ptr)}set x(t){e.__wbg_set_georeferencejs_eastings(this.__wbg_ptr,t)}get y(){return e.__wbg_get_georeferencejs_northings(this.__wbg_ptr)}set y(t){e.__wbg_set_georeferencejs_northings(this.__wbg_ptr,t)}get z(){return e.__wbg_get_georeferencejs_orthogonal_height(this.__wbg_ptr)}set z(t){e.__wbg_set_georeferencejs_orthogonal_height(this.__wbg_ptr,t)}}Symbol.dispose&&(et.prototype[Symbol.dispose]=et.prototype.free);class rt{static __wrap(t){t=t>>>0;const r=Object.create(rt.prototype);return r.__wbg_ptr=t,Gt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Gt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_symboliccircle_free(t,0)}get expressId(){return e.gpumeshmetadata_vertexCount(this.__wbg_ptr)>>>0}get startAngle(){return e.symboliccircle_startAngle(this.__wbg_ptr)}get isFullCircle(){return e.symboliccircle_isFullCircle(this.__wbg_ptr)!==0}get repIdentifier(){let t,r;try{const i=e.__wbindgen_add_to_stack_pointer(-16);e.symboliccircle_repIdentifier(i,this.__wbg_ptr);var _=o().getInt32(i+0,!0),s=o().getInt32(i+4,!0);return t=_,r=s,u(_,s)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(t,r,1)}}get radius(){return e.symboliccircle_radius(this.__wbg_ptr)}get worldY(){return e.symboliccircle_worldY(this.__wbg_ptr)}get centerX(){return e.symboliccircle_centerX(this.__wbg_ptr)}get centerY(){return e.symboliccircle_centerY(this.__wbg_ptr)}get ifcType(){let t,r;try{const i=e.__wbindgen_add_to_stack_pointer(-16);e.symboliccircle_ifcType(i,this.__wbg_ptr);var _=o().getInt32(i+0,!0),s=o().getInt32(i+4,!0);return t=_,r=s,u(_,s)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(t,r,1)}}get endAngle(){return e.symboliccircle_endAngle(this.__wbg_ptr)}}Symbol.dispose&&(rt.prototype[Symbol.dispose]=rt.prototype.free);class nt{static __wrap(t){t=t>>>0;const r=Object.create(nt.prototype);return r.__wbg_ptr=t,Wt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Wt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_symbolicfillarea_free(t,0)}get expressId(){return e.profileentryjs_expressId(this.__wbg_ptr)>>>0}get holeCount(){return e.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get hatchAngle(){return e.symbolicfillarea_hatchAngle(this.__wbg_ptr)}get pointCount(){return e.symbolicfillarea_pointCount(this.__wbg_ptr)>>>0}get hasHatching(){return e.symbolicfillarea_hasHatching(this.__wbg_ptr)!==0}get hatchSpacing(){return e.symbolicfillarea_hatchSpacing(this.__wbg_ptr)}get holesOffsets(){const t=e.symbolicfillarea_holesOffsets(this.__wbg_ptr);return d(t)}get repIdentifier(){let t,r;try{const i=e.__wbindgen_add_to_stack_pointer(-16);e.symbolicfillarea_repIdentifier(i,this.__wbg_ptr);var _=o().getInt32(i+0,!0),s=o().getInt32(i+4,!0);return t=_,r=s,u(_,s)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(t,r,1)}}get hatchLineWidth(){return e.symbolicfillarea_hatchLineWidth(this.__wbg_ptr)}get hatchAngleSecondary(){return e.symbolicfillarea_hatchAngleSecondary(this.__wbg_ptr)}get fillA(){return e.symbolicfillarea_fillA(this.__wbg_ptr)}get fillB(){return e.symbolicfillarea_fillB(this.__wbg_ptr)}get fillG(){return e.symbolicfillarea_fillG(this.__wbg_ptr)}get fillR(){return e.symbolicfillarea_fillR(this.__wbg_ptr)}get points(){const t=e.symbolicfillarea_points(this.__wbg_ptr);return d(t)}get worldY(){return e.symbolicfillarea_worldY(this.__wbg_ptr)}get ifcType(){let t,r;try{const i=e.__wbindgen_add_to_stack_pointer(-16);e.symbolicfillarea_ifcType(i,this.__wbg_ptr);var _=o().getInt32(i+0,!0),s=o().getInt32(i+4,!0);return t=_,r=s,u(_,s)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(t,r,1)}}}Symbol.dispose&&(nt.prototype[Symbol.dispose]=nt.prototype.free);class _t{static __wrap(t){t=t>>>0;const r=Object.create(_t.prototype);return r.__wbg_ptr=t,Ut.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ut.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_symbolicpolyline_free(t,0)}get expressId(){return e.symbolicpolyline_expressId(this.__wbg_ptr)>>>0}get pointCount(){return e.symbolicfillarea_pointCount(this.__wbg_ptr)>>>0}get repIdentifier(){let t,r;try{const i=e.__wbindgen_add_to_stack_pointer(-16);e.symbolicpolyline_repIdentifier(i,this.__wbg_ptr);var _=o().getInt32(i+0,!0),s=o().getInt32(i+4,!0);return t=_,r=s,u(_,s)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(t,r,1)}}get points(){const t=e.symbolicpolyline_points(this.__wbg_ptr);return d(t)}get worldY(){return e.symboliccircle_worldY(this.__wbg_ptr)}get ifcType(){let t,r;try{const i=e.__wbindgen_add_to_stack_pointer(-16);e.symbolicpolyline_ifcType(i,this.__wbg_ptr);var _=o().getInt32(i+0,!0),s=o().getInt32(i+4,!0);return t=_,r=s,u(_,s)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(t,r,1)}}get isClosed(){return e.symbolicpolyline_isClosed(this.__wbg_ptr)!==0}}Symbol.dispose&&(_t.prototype[Symbol.dispose]=_t.prototype.free);class st{static __wrap(t){t=t>>>0;const r=Object.create(st.prototype);return r.__wbg_ptr=t,Yt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Yt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_symbolicrepresentationcollection_free(t,0)}get fillCount(){return e.symbolicrepresentationcollection_fillCount(this.__wbg_ptr)>>>0}getCircle(t){const r=e.symbolicrepresentationcollection_getCircle(this.__wbg_ptr,t);return r===0?void 0:rt.__wrap(r)}get textCount(){return e.symbolicrepresentationcollection_textCount(this.__wbg_ptr)>>>0}get totalCount(){return e.symbolicrepresentationcollection_totalCount(this.__wbg_ptr)>>>0}get circleCount(){return e.symbolicrepresentationcollection_circleCount(this.__wbg_ptr)>>>0}getPolyline(t){const r=e.symbolicrepresentationcollection_getPolyline(this.__wbg_ptr,t);return r===0?void 0:_t.__wrap(r)}get polylineCount(){return e.symbolicrepresentationcollection_polylineCount(this.__wbg_ptr)>>>0}getExpressIds(){try{const s=e.__wbindgen_add_to_stack_pointer(-16);e.symbolicrepresentationcollection_getExpressIds(s,this.__wbg_ptr);var t=o().getInt32(s+0,!0),r=o().getInt32(s+4,!0),_=$t(t,r).slice();return e.__wbindgen_export2(t,r*4,4),_}finally{e.__wbindgen_add_to_stack_pointer(16)}}getFill(t){const r=e.symbolicrepresentationcollection_getFill(this.__wbg_ptr,t);return r===0?void 0:nt.__wrap(r)}getText(t){const r=e.symbolicrepresentationcollection_getText(this.__wbg_ptr,t);return r===0?void 0:it.__wrap(r)}get isEmpty(){return e.symbolicrepresentationcollection_isEmpty(this.__wbg_ptr)!==0}}Symbol.dispose&&(st.prototype[Symbol.dispose]=st.prototype.free);class it{static __wrap(t){t=t>>>0;const r=Object.create(it.prototype);return r.__wbg_ptr=t,Vt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Vt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_symbolictext_free(t,0)}get expressId(){return e.profileentryjs_expressId(this.__wbg_ptr)>>>0}get repIdentifier(){let t,r;try{const i=e.__wbindgen_add_to_stack_pointer(-16);e.symbolictext_repIdentifier(i,this.__wbg_ptr);var _=o().getInt32(i+0,!0),s=o().getInt32(i+4,!0);return t=_,r=s,u(_,s)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(t,r,1)}}get x(){return e.symbolicfillarea_fillR(this.__wbg_ptr)}get y(){return e.symbolicfillarea_fillG(this.__wbg_ptr)}get dirX(){return e.symbolicfillarea_fillB(this.__wbg_ptr)}get dirY(){return e.symbolicfillarea_fillA(this.__wbg_ptr)}get height(){return e.symbolicfillarea_hatchSpacing(this.__wbg_ptr)}get colorA(){return e.symbolictext_colorA(this.__wbg_ptr)}get colorB(){return e.symbolicfillarea_worldY(this.__wbg_ptr)}get colorG(){return e.symbolicfillarea_hatchLineWidth(this.__wbg_ptr)}get colorR(){return e.symbolicfillarea_hatchAngleSecondary(this.__wbg_ptr)}get content(){let t,r;try{const i=e.__wbindgen_add_to_stack_pointer(-16);e.symbolictext_content(i,this.__wbg_ptr);var _=o().getInt32(i+0,!0),s=o().getInt32(i+4,!0);return t=_,r=s,u(_,s)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(t,r,1)}}get worldY(){return e.symbolicfillarea_hatchAngle(this.__wbg_ptr)}get ifcType(){let t,r;try{const i=e.__wbindgen_add_to_stack_pointer(-16);e.symbolictext_ifcType(i,this.__wbg_ptr);var _=o().getInt32(i+0,!0),s=o().getInt32(i+4,!0);return t=_,r=s,u(_,s)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(t,r,1)}}get alignment(){let t,r;try{const i=e.__wbindgen_add_to_stack_pointer(-16);e.symbolictext_alignment(i,this.__wbg_ptr);var _=o().getInt32(i+0,!0),s=o().getInt32(i+4,!0);return t=_,r=s,u(_,s)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(t,r,1)}}get targetPx(){return e.symbolictext_targetPx(this.__wbg_ptr)}}Symbol.dispose&&(it.prototype[Symbol.dispose]=it.prototype.free);class ot{static __wrap(t){t=t>>>0;const r=Object.create(ot.prototype);return r.__wbg_ptr=t,xt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,xt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_zerocopymesh_free(t,0)}bounds_max(){try{const s=e.__wbindgen_add_to_stack_pointer(-16);e.zerocopymesh_bounds_max(s,this.__wbg_ptr);var t=o().getInt32(s+0,!0),r=o().getInt32(s+4,!0),_=M(t,r).slice();return e.__wbindgen_export2(t,r*4,4),_}finally{e.__wbindgen_add_to_stack_pointer(16)}}bounds_min(){try{const s=e.__wbindgen_add_to_stack_pointer(-16);e.zerocopymesh_bounds_min(s,this.__wbg_ptr);var t=o().getInt32(s+0,!0),r=o().getInt32(s+4,!0),_=M(t,r).slice();return e.__wbindgen_export2(t,r*4,4),_}finally{e.__wbindgen_add_to_stack_pointer(16)}}get indices_len(){return e.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indices_ptr(){return e.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get normals_len(){return e.zerocopymesh_normals_len(this.__wbg_ptr)>>>0}get normals_ptr(){return e.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get vertex_count(){return e.zerocopymesh_vertex_count(this.__wbg_ptr)>>>0}get positions_len(){return e.zerocopymesh_positions_len(this.__wbg_ptr)>>>0}get positions_ptr(){return e.zerocopymesh_positions_ptr(this.__wbg_ptr)>>>0}get triangle_count(){return e.gpuinstancedgeometry_triangleCount(this.__wbg_ptr)>>>0}constructor(){const t=e.zerocopymesh_new();return this.__wbg_ptr=t>>>0,xt.register(this,this.__wbg_ptr,this),this}get is_empty(){return e.zerocopymesh_is_empty(this.__wbg_ptr)!==0}}Symbol.dispose&&(ot.prototype[Symbol.dispose]=ot.prototype.free);const xe=new Set(["basic","cors","default"]);async function ve(n,t){if(typeof Response=="function"&&n instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(n,t)}catch(_){if(n.ok&&xe.has(n.type)&&n.headers.get("Content-Type")!=="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",_);else throw _}const r=await n.arrayBuffer();return await WebAssembly.instantiate(r,t)}else{const r=await WebAssembly.instantiate(n,t);return r instanceof WebAssembly.Instance?{instance:r,module:n}:r}}function Jt(){const n={};return n.wbg={},n.wbg.__wbg_Error_52673b7de5a0ca89=function(t,r){const _=Error(u(t,r));return p(_)},n.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd=function(t){return typeof l(t)=="function"},n.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269=function(t){return l(t)===void 0},n.wbg.__wbg___wbindgen_memory_a342e963fbcabd68=function(){const t=e.memory;return p(t)},n.wbg.__wbg___wbindgen_number_get_9619185a74197f95=function(t,r){const _=l(r),s=typeof _=="number"?_:void 0;o().setFloat64(t+8,A(s)?0:s,!0),o().setInt32(t+0,!A(s),!0)},n.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e=function(t,r){throw new Error(u(t,r))},n.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7=function(t){l(t)._wbg_cb_unref()},n.wbg.__wbg_call_3020136f7a2d6e44=function(){return L(function(t,r,_){const s=l(t).call(l(r),l(_));return p(s)},arguments)},n.wbg.__wbg_call_abb4ff46ce38be40=function(){return L(function(t,r){const _=l(t).call(l(r));return p(_)},arguments)},n.wbg.__wbg_call_c8baa5c5e72d274e=function(){return L(function(t,r,_,s){const i=l(t).call(l(r),l(_),l(s));return p(i)},arguments)},n.wbg.__wbg_debug_9d0c87ddda3dc485=function(t){console.debug(l(t))},n.wbg.__wbg_error_7534b8e9a36f1ab4=function(t,r){let _,s;try{_=t,s=r,console.error(u(t,r))}finally{e.__wbindgen_export2(_,s,1)}},n.wbg.__wbg_get_af9dab7e9603ea93=function(){return L(function(t,r){const _=Reflect.get(l(t),l(r));return p(_)},arguments)},n.wbg.__wbg_gpugeometry_new=function(t){const r=C.__wrap(t);return p(r)},n.wbg.__wbg_info_ce6bcc489c22f6f0=function(t){console.info(l(t))},n.wbg.__wbg_instancedgeometry_new=function(t){const r=z.__wrap(t);return p(r)},n.wbg.__wbg_length_d45040a40c570362=function(t){return l(t).length},n.wbg.__wbg_meshdatajs_new=function(t){const r=R.__wrap(t);return p(r)},n.wbg.__wbg_new_1ba21ce319a06297=function(){const t=new Object;return p(t)},n.wbg.__wbg_new_25f239778d6112b9=function(){const t=new Array;return p(t)},n.wbg.__wbg_new_8a6f238a6ece86ea=function(){const t=new Error;return p(t)},n.wbg.__wbg_new_ff12d2b041fb48f1=function(t,r){try{var _={a:t,b:r},s=(c,a)=>{const b=_.a;_.a=0;try{return me(b,_.b,c,a)}finally{_.a=b}};const i=new Promise(s);return p(i)}finally{_.a=_.b=0}},n.wbg.__wbg_new_from_slice_41e2764a343e3cb1=function(t,r){const _=new Float32Array(M(t,r));return p(_)},n.wbg.__wbg_new_from_slice_db0691b69e9d3891=function(t,r){const _=new Uint32Array($t(t,r));return p(_)},n.wbg.__wbg_new_no_args_cb138f77cf6151ee=function(t,r){const _=new Function(u(t,r));return p(_)},n.wbg.__wbg_new_with_length_202b3db94ba5fc86=function(t){const r=new Uint32Array(t>>>0);return p(r)},n.wbg.__wbg_new_with_length_806b9e5b8290af7c=function(t){const r=new Float64Array(t>>>0);return p(r)},n.wbg.__wbg_new_with_length_aa5eaf41d35235e5=function(t){const r=new Uint8Array(t>>>0);return p(r)},n.wbg.__wbg_push_7d9be8f38fc13975=function(t,r){return l(t).push(l(r))},n.wbg.__wbg_queueMicrotask_9b549dfce8865860=function(t){const r=l(t).queueMicrotask;return p(r)},n.wbg.__wbg_queueMicrotask_fca69f5bfad613a5=function(t){queueMicrotask(l(t))},n.wbg.__wbg_resolve_fd5bfbaa4ce36e1e=function(t){const r=Promise.resolve(l(t));return p(r)},n.wbg.__wbg_set_3f1d0b984ed272ed=function(t,r,_){l(t)[d(r)]=d(_)},n.wbg.__wbg_set_781438a03c0c3c81=function(){return L(function(t,r,_){return Reflect.set(l(t),l(r),l(_))},arguments)},n.wbg.__wbg_set_7df433eea03a5c14=function(t,r,_){l(t)[r>>>0]=d(_)},n.wbg.__wbg_set_index_021489b2916af13e=function(t,r,_){l(t)[r>>>0]=_},n.wbg.__wbg_set_index_04c4b93e64d08a52=function(t,r,_){l(t)[r>>>0]=_},n.wbg.__wbg_set_index_42abe35f117e614e=function(t,r,_){l(t)[r>>>0]=_>>>0},n.wbg.__wbg_stack_0ed75d68575b0f3c=function(t,r){const _=l(r).stack,s=w(_,e.__wbindgen_export3,e.__wbindgen_export4),i=g;o().setInt32(t+4,i,!0),o().setInt32(t+0,s,!0)},n.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335=function(){const t=typeof global>"u"?null:global;return A(t)?0:p(t)},n.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1=function(){const t=typeof globalThis>"u"?null:globalThis;return A(t)?0:p(t)},n.wbg.__wbg_static_accessor_SELF_08f5a74c69739274=function(){const t=typeof self>"u"?null:self;return A(t)?0:p(t)},n.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024=function(){const t=typeof window>"u"?null:window;return A(t)?0:p(t)},n.wbg.__wbg_then_4f95312d68691235=function(t,r){const _=l(t).then(l(r));return p(_)},n.wbg.__wbg_warn_6e567d0d926ff881=function(t){console.warn(l(t))},n.wbg.__wbindgen_cast_2241b6af4c4b2941=function(t,r){const _=u(t,r);return p(_)},n.wbg.__wbindgen_cast_4625c577ab2ec9ee=function(t){const r=BigInt.asUintN(64,t);return p(r)},n.wbg.__wbindgen_cast_56b148ee1abaedad=function(t,r){const _=we(t,r,e.__wasm_bindgen_func_elem_1532,he);return p(_)},n.wbg.__wbindgen_cast_d6cd19b81560fd6e=function(t){return p(t)},n.wbg.__wbindgen_object_clone_ref=function(t){const r=l(t);return p(r)},n.wbg.__wbindgen_object_drop_ref=function(t){d(t)},n}function Qt(n,t){return e=n.exports,te.__wbindgen_wasm_module=t,j=null,T=null,E=null,D=null,G=null,e.__wbindgen_start(),e}function Ie(n){if(e!==void 0)return e;typeof n<"u"&&(Object.getPrototypeOf(n)===Object.prototype?{module:n}=n:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const t=Jt();n instanceof WebAssembly.Module||(n=new WebAssembly.Module(n));const r=new WebAssembly.Instance(n,t);return Qt(r,n)}async function te(n){if(e!==void 0)return e;typeof n<"u"&&(Object.getPrototypeOf(n)===Object.prototype?{module_or_path:n}=n:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),typeof n>"u"&&(n=new URL("/assets/ifc-lite_bg-D7O1WHgP.wasm",import.meta.url));const t=Jt();(typeof n=="string"||typeof Request=="function"&&n instanceof Request||typeof URL=="function"&&n instanceof URL)&&(n=fetch(n));const{instance:r,module:_}=await ve(await n,t);return Qt(r,_)}let v=null,ee;async function k(){return v||(await te(ee),v=new pt,at=!1,vt(),v)}let re=!1,at=!1;function vt(){if(!v||at)return;const n=v;typeof n.setMergeLayers=="function"&&n.setMergeLayers(re),at=!0}function It(n){return new Uint8Array(n)}function St(n){const t=new Uint8Array(n.byteLength);return t.set(new Uint8Array(n)),t}let f=null;const Zt=1e6;function Xt(n){return{sharedBuffer:n.sharedBuffer,localBytes:It(n.sharedBuffer),sabFallbackTaken:!1,unitScale:n.unitScale,rtcX:n.rtcX,rtcY:n.rtcY,rtcZ:n.rtcZ,needsShift:n.needsShift,voidKeys:n.voidKeys,voidCounts:n.voidCounts,voidValues:n.voidValues,styleIds:n.styleIds,styleColors:n.styleColors,pendingMeshes:[],pendingTransfers:[],totalMeshesEmitted:0,cumulativeMeshBytes:0}}function ne(n){if(n.pendingMeshes.length===0)return;const t=n.pendingMeshes,r=n.pendingTransfers;n.pendingMeshes=[],n.pendingTransfers=[],n.totalMeshesEmitted+=t.length,self.postMessage({type:"batch",meshes:t},r)}function Se(n,t){for(let r=0;r<t.length;r++){const _=t.get(r);if(!_)continue;const s=new Float32Array(_.positions),i=new Float32Array(_.normals),c=new Uint32Array(_.indices);n.pendingMeshes.push({expressId:_.expressId,ifcType:_.ifcType,positions:s,normals:i,indices:c,color:[_.color[0],_.color[1],_.color[2],_.color[3]]}),n.pendingTransfers.push(s.buffer,i.buffer,c.buffer),n.cumulativeMeshBytes+=s.byteLength+i.byteLength+c.byteLength,_.free()}t.free()}async function gt(n,t){const r=Math.floor(t.length/3);if(r!==0)try{const s=(await k()).processGeometryBatch(n.localBytes,t,n.unitScale,n.rtcX,n.rtcY,n.rtcZ,n.needsShift,n.voidKeys,n.voidCounts,n.voidValues,n.styleIds,n.styleColors);Se(n,s)}catch(_){const s=_.message;if(!n.sabFallbackTaken&&n.localBytes.buffer instanceof SharedArrayBuffer){n.sabFallbackTaken=!0,console.warn(`[Worker] processGeometryBatch rejected SAB view (${s}), falling back to copy`),n.localBytes=St(n.sharedBuffer),await gt(n,t);return}if(r===1){console.warn(`[Worker] Skipping entity #${t[0]}: ${s}`),v=null;return}console.warn(`[Worker] Batch of ${r} entities failed (${s}), splitting…`),v=null;const i=Math.floor(r/2)*3;await gt(n,t.slice(0,i)),await gt(n,t.slice(i))}}async function Nt(n,t){const r=Math.floor(t.length/3);for(let _=0;_<r;_+=Zt){const s=_*3,i=Math.min(s+Zt*3,t.length);await gt(n,t.subarray(s,i)),ne(n)}}function Kt(n){ne(n);let t=0;try{t=v?.getMemory()?.buffer?.byteLength??0}catch{}self.postMessage({type:"memory",meshBytes:n.cumulativeMeshBytes,wasmHeapBytes:t}),self.postMessage({type:"complete",totalMeshes:n.totalMeshesEmitted})}let Ht=Promise.resolve();self.onmessage=n=>{Ht=Ht.then(()=>Fe(n)).catch(t=>{self.postMessage({type:"error",message:t instanceof Error?t.message:String(t)})})};async function Fe(n){try{if(n.data.type==="prepass-streaming"){const t=await k();self.postMessage({type:"prepass-progress",phase:"parsing"});const r=n.data.sharedBuffer,_=n.data.chunkSize??5e4;let s=It(r),i=!1;const c=a=>{self.postMessage({type:"prepass-stream",event:a})};try{t.buildPrePassStreaming(s,c,_)}catch(a){const b=a instanceof Error?a.message:String(a);if(!i)i=!0,console.warn(`[Worker] Streaming prepass with SAB view failed (${b}), retrying with copy`),s=St(r),t.buildPrePassStreaming(s,c,_);else throw a}return}if(n.data.type==="prepass"||n.data.type==="prepass-fast"){const t=await k();self.postMessage({type:"prepass-progress",phase:"parsing"});const r=n.data.sharedBuffer,_=n.data.type==="prepass-fast";let s;try{const i=It(r);s=_?t.buildPrePassFast(i):t.buildPrePassOnce(i)}catch(i){const c=i instanceof Error?i.message:String(i);console.warn(`[Worker] Prepass with SAB view failed (${c}), retrying with copy`);const a=St(r);s=_?t.buildPrePassFast(a):t.buildPrePassOnce(a)}self.postMessage({type:"prepass-result",result:s});return}if(n.data.type==="init"){n.data.wasmUrl&&(ee=n.data.wasmUrl),n.data.wasmModule?(Ie({module_or_path:n.data.wasmModule}),v=new pt,at=!1,vt()):await k(),self.postMessage({type:"ready"});return}if(n.data.type==="process"){await k();const{sharedBuffer:t,jobsFlat:r,unitScale:_,rtcX:s,rtcY:i,rtcZ:c,needsShift:a,voidKeys:b,voidCounts:h,voidValues:S,styleIds:O,styleColors:B}=n.data,F=Xt({sharedBuffer:t,unitScale:_,rtcX:s,rtcY:i,rtcZ:c,needsShift:a,voidKeys:b,voidCounts:h,voidValues:S,styleIds:O,styleColors:B});f=F,await Nt(F,r),Kt(F),f=null;return}if(n.data.type==="stream-start"){await k(),f=Xt({sharedBuffer:n.data.sharedBuffer,unitScale:n.data.unitScale,rtcX:n.data.rtcX,rtcY:n.data.rtcY,rtcZ:n.data.rtcZ,needsShift:n.data.needsShift,voidKeys:n.data.voidKeys,voidCounts:n.data.voidCounts,voidValues:n.data.voidValues,styleIds:n.data.styleIds,styleColors:n.data.styleColors});return}if(n.data.type==="stream-chunk"){if(!f)throw new Error("stream-chunk received before stream-start");await Nt(f,n.data.jobsFlat);return}if(n.data.type==="set-styles"){if(!f)return;f.styleIds=n.data.styleIds,f.styleColors=n.data.styleColors,f.voidKeys=n.data.voidKeys,f.voidCounts=n.data.voidCounts,f.voidValues=n.data.voidValues;return}if(n.data.type==="set-entity-index"){(await k()).setEntityIndex(n.data.ids,n.data.starts,n.data.lengths);return}if(n.data.type==="set-merge-layers"){re=n.data.enabled===!0,at=!1,vt();return}if(n.data.type==="stream-end"){if(!f)throw new Error("stream-end received before stream-start");Kt(f),f=null;return}}catch(t){self.postMessage({type:"error",message:t instanceof Error?t.message:String(t)})}}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{s as ee}from"./workerHelpers-IEQDo8r3.js";let r;function b(s){V===m.length&&m.push(m.length+1);const t=V;return V=m[t],m[t]=s,t}function Rt(s){if(X==1)throw new Error("out of js stack");return m[--X]=s,X}const kt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>s.dtor(s.a,s.b));function re(s){s<132||(m[s]=V,V=s)}function j(s,t){return s=s>>>0,ne().subarray(s/4,s/4+t)}function k(s,t){return s=s>>>0,_e().subarray(s/8,s/8+t)}function Jt(s,t){return s=s>>>0,Kt().subarray(s/4,s/4+t)}let B=null;function o(){return(B===null||B.buffer!==r.memory.buffer)&&(B=new DataView(r.memory.buffer)),B}let G=null;function ne(){return(G===null||G.buffer!==r.memory.buffer)&&(G=new Float32Array(r.memory.buffer)),G}let W=null;function _e(){return(W===null||W.buffer!==r.memory.buffer)&&(W=new Float64Array(r.memory.buffer)),W}function d(s,t){return s=s>>>0,ie(s,t)}let U=null;function Kt(){return(U===null||U.buffer!==r.memory.buffer)&&(U=new Uint32Array(r.memory.buffer)),U}let Y=null;function N(){return(Y===null||Y.buffer!==r.memory.buffer)&&(Y=new Uint8Array(r.memory.buffer)),Y}function g(s){return m[s]}function v(s,t){try{return s.apply(this,t)}catch(e){r.__wbindgen_export(b(e))}}let m=new Array(128).fill(void 0);m.push(void 0,null,!0,!1);let V=m.length;function R(s){return s==null}function St(s,t,e,n){const _={a:s,b:t,cnt:1,dtor:e},i=(...c)=>{_.cnt++;const p=_.a;_.a=0;try{return n(p,_.b,...c)}finally{_.a=p,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--_.cnt===0&&(_.dtor(_.a,_.b),_.a=0,kt.unregister(_))},kt.register(i,_,_),i}function f(s,t){const e=t(s.length*4,4)>>>0;return Kt().set(s,e/4),a=s.length,e}function h(s,t){const e=t(s.length*1,1)>>>0;return N().set(s,e/1),a=s.length,e}function u(s,t,e){if(e===void 0){const p=q.encode(s),l=t(p.length,1)>>>0;return N().subarray(l,l+p.length).set(p),a=p.length,l}let n=s.length,_=t(n,1)>>>0;const i=N();let c=0;for(;c<n;c++){const p=s.charCodeAt(c);if(p>127)break;i[_+c]=p}if(c!==n){c!==0&&(s=s.slice(c)),_=e(_,n,n=c+s.length*3,1)>>>0;const p=N().subarray(_+c,_+n),l=q.encodeInto(s,p);c+=l.written,_=e(_,n,c,1)>>>0}return a=c,_}let X=128;function w(s){const t=g(s);return re(s),t}let Z=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):void 0;Z&&Z.decode();const se=2146435072;let xt=0;function ie(s,t){return xt+=t,xt>=se&&(Z=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),Z.decode(),xt=t),Z.decode(N().slice(s,s+t))}const q=typeof TextEncoder<"u"?new TextEncoder:void 0;q&&(q.encodeInto=function(s,t){const e=q.encode(s);return t.set(e),{read:s.length,written:e.length}});let a=0;function zt(s,t,e){r.__wasm_bindgen_func_elem_1442(s,t,b(e))}function oe(s,t,e,n){r.__wasm_bindgen_func_elem_1715(s,t,b(e),b(n))}const At=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_georeferencejs_free(s>>>0,1)),It=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpugeometry_free(s>>>0,1)),vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpuinstancedgeometry_free(s>>>0,1)),jt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpuinstancedgeometrycollection_free(s>>>0,1)),Ot=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpuinstancedgeometryref_free(s>>>0,1)),Pt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_gpumeshmetadata_free(s>>>0,1)),Ct=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_ifcapi_free(s>>>0,1)),Tt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_instancedata_free(s>>>0,1)),Mt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_instancedgeometry_free(s>>>0,1)),Lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_instancedmeshcollection_free(s>>>0,1)),Dt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_meshcollection_free(s>>>0,1)),Et=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_meshcollectionwithrtc_free(s>>>0,1)),Bt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_meshdatajs_free(s>>>0,1)),Gt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_profilecollection_free(s>>>0,1)),Wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_profileentryjs_free(s>>>0,1)),Ut=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_rtcoffsetjs_free(s>>>0,1)),Yt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symboliccircle_free(s>>>0,1)),Nt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symbolicfillarea_free(s>>>0,1)),Vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symbolicpolyline_free(s>>>0,1)),Xt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symbolicrepresentationcollection_free(s>>>0,1)),Zt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_symbolictext_free(s>>>0,1)),Ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_zerocopymesh_free(s>>>0,1)),qt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(s=>r.__wbg_wbg_rayon_poolbuilder_free(s>>>0,1));class H{static __wrap(t){t=t>>>0;const e=Object.create(H.prototype);return e.__wbg_ptr=t,At.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,At.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_georeferencejs_free(t,0)}localToMap(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_localToMap(p,this.__wbg_ptr,t,e,n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),c=k(_,i).slice();return r.__wbindgen_export2(_,i*8,8),c}finally{r.__wbindgen_add_to_stack_pointer(16)}}mapToLocal(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_mapToLocal(p,this.__wbg_ptr,t,e,n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),c=k(_,i).slice();return r.__wbindgen_export2(_,i*8,8),c}finally{r.__wbindgen_add_to_stack_pointer(16)}}get crsName(){try{const n=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_crsName(n,this.__wbg_ptr);var t=o().getInt32(n+0,!0),e=o().getInt32(n+4,!0);let _;return t!==0&&(_=d(t,e).slice(),r.__wbindgen_export2(t,e*1,1)),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}get rotation(){return r.georeferencejs_rotation(this.__wbg_ptr)}toMatrix(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.georeferencejs_toMatrix(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=k(t,e).slice();return r.__wbindgen_export2(t,e*8,8),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get eastings(){return r.__wbg_get_georeferencejs_eastings(this.__wbg_ptr)}set eastings(t){r.__wbg_set_georeferencejs_eastings(this.__wbg_ptr,t)}get northings(){return r.__wbg_get_georeferencejs_northings(this.__wbg_ptr)}set northings(t){r.__wbg_set_georeferencejs_northings(this.__wbg_ptr,t)}get orthogonal_height(){return r.__wbg_get_georeferencejs_orthogonal_height(this.__wbg_ptr)}set orthogonal_height(t){r.__wbg_set_georeferencejs_orthogonal_height(this.__wbg_ptr,t)}get x_axis_abscissa(){return r.__wbg_get_georeferencejs_x_axis_abscissa(this.__wbg_ptr)}set x_axis_abscissa(t){r.__wbg_set_georeferencejs_x_axis_abscissa(this.__wbg_ptr,t)}get x_axis_ordinate(){return r.__wbg_get_georeferencejs_x_axis_ordinate(this.__wbg_ptr)}set x_axis_ordinate(t){r.__wbg_set_georeferencejs_x_axis_ordinate(this.__wbg_ptr,t)}get scale(){return r.__wbg_get_georeferencejs_scale(this.__wbg_ptr)}set scale(t){r.__wbg_set_georeferencejs_scale(this.__wbg_ptr,t)}}Symbol.dispose&&(H.prototype[Symbol.dispose]=H.prototype.free);class S{static __wrap(t){t=t>>>0;const e=Object.create(S.prototype);return e.__wbg_ptr=t,It.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,It.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpugeometry_free(t,0)}get meshCount(){return r.gpugeometry_meshCount(this.__wbg_ptr)>>>0}get indicesLen(){return r.gpugeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return r.gpugeometry_indicesPtr(this.__wbg_ptr)>>>0}get rtcOffsetX(){return r.gpugeometry_rtcOffsetX(this.__wbg_ptr)}get rtcOffsetY(){return r.gpugeometry_rtcOffsetY(this.__wbg_ptr)}get rtcOffsetZ(){return r.gpugeometry_rtcOffsetZ(this.__wbg_ptr)}get hasRtcOffset(){return r.gpugeometry_hasRtcOffset(this.__wbg_ptr)!==0}set_rtc_offset(t,e,n){r.gpugeometry_set_rtc_offset(this.__wbg_ptr,t,e,n)}get vertexDataLen(){return r.gpugeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return r.gpugeometry_vertexDataPtr(this.__wbg_ptr)>>>0}getIfcTypeName(t){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.gpugeometry_getIfcTypeName(_,this.__wbg_ptr,t);var e=o().getInt32(_+0,!0),n=o().getInt32(_+4,!0);let i;return e!==0&&(i=d(e,n).slice(),r.__wbindgen_export2(e,n*1,1)),i}finally{r.__wbindgen_add_to_stack_pointer(16)}}getMeshMetadata(t){const e=r.gpugeometry_getMeshMetadata(this.__wbg_ptr,t);return e===0?void 0:$.__wrap(e)}get totalVertexCount(){return r.gpugeometry_totalVertexCount(this.__wbg_ptr)>>>0}get indicesByteLength(){return r.gpugeometry_indicesByteLength(this.__wbg_ptr)>>>0}get totalTriangleCount(){return r.gpugeometry_totalTriangleCount(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return r.gpugeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}constructor(){const t=r.gpugeometry_new();return this.__wbg_ptr=t>>>0,It.register(this,this.__wbg_ptr,this),this}get isEmpty(){return r.gpugeometry_isEmpty(this.__wbg_ptr)!==0}}Symbol.dispose&&(S.prototype[Symbol.dispose]=S.prototype.free);class J{static __wrap(t){t=t>>>0;const e=Object.create(J.prototype);return e.__wbg_ptr=t,vt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,vt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpuinstancedgeometry_free(t,0)}get geometryId(){const t=r.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get indicesLen(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return r.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get vertexCount(){return r.gpuinstancedgeometry_vertexCount(this.__wbg_ptr)>>>0}get instanceCount(){return r.gpuinstancedgeometry_instanceCount(this.__wbg_ptr)>>>0}get triangleCount(){return r.gpuinstancedgeometry_triangleCount(this.__wbg_ptr)>>>0}get vertexDataLen(){return r.gpuinstancedgeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return r.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get instanceDataLen(){return r.gpuinstancedgeometry_instanceDataLen(this.__wbg_ptr)>>>0}get instanceDataPtr(){return r.gpuinstancedgeometry_instanceDataPtr(this.__wbg_ptr)>>>0}get indicesByteLength(){return r.gpuinstancedgeometry_indicesByteLength(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return r.gpuinstancedgeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}get instanceExpressIdsPtr(){return r.gpuinstancedgeometry_instanceExpressIdsPtr(this.__wbg_ptr)>>>0}get instanceDataByteLength(){return r.gpuinstancedgeometry_instanceDataByteLength(this.__wbg_ptr)>>>0}constructor(t){const e=r.gpuinstancedgeometry_new(t);return this.__wbg_ptr=e>>>0,vt.register(this,this.__wbg_ptr,this),this}}Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);class K{static __wrap(t){t=t>>>0;const e=Object.create(K.prototype);return e.__wbg_ptr=t,jt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,jt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpuinstancedgeometrycollection_free(t,0)}get(t){const e=r.gpuinstancedgeometrycollection_get(this.__wbg_ptr,t);return e===0?void 0:J.__wrap(e)}constructor(){const t=r.gpuinstancedgeometrycollection_new();return this.__wbg_ptr=t>>>0,jt.register(this,this.__wbg_ptr,this),this}get length(){return r.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}getRef(t){const e=r.gpuinstancedgeometrycollection_get(this.__wbg_ptr,t);return e===0?void 0:Q.__wrap(e)}}Symbol.dispose&&(K.prototype[Symbol.dispose]=K.prototype.free);class Q{static __wrap(t){t=t>>>0;const e=Object.create(Q.prototype);return e.__wbg_ptr=t,Ot.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ot.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpuinstancedgeometryref_free(t,0)}get geometryId(){const t=r.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get indicesLen(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indicesPtr(){return r.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get instanceCount(){return r.gpuinstancedgeometry_instanceCount(this.__wbg_ptr)>>>0}get vertexDataLen(){return r.gpuinstancedgeometry_vertexDataLen(this.__wbg_ptr)>>>0}get vertexDataPtr(){return r.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get instanceDataLen(){return r.gpuinstancedgeometry_instanceDataLen(this.__wbg_ptr)>>>0}get instanceDataPtr(){return r.gpuinstancedgeometry_instanceDataPtr(this.__wbg_ptr)>>>0}get indicesByteLength(){return r.gpuinstancedgeometry_indicesByteLength(this.__wbg_ptr)>>>0}get vertexDataByteLength(){return r.gpuinstancedgeometry_vertexDataByteLength(this.__wbg_ptr)>>>0}get instanceExpressIdsPtr(){return r.gpuinstancedgeometry_instanceExpressIdsPtr(this.__wbg_ptr)>>>0}get instanceDataByteLength(){return r.gpuinstancedgeometry_instanceDataByteLength(this.__wbg_ptr)>>>0}}Symbol.dispose&&(Q.prototype[Symbol.dispose]=Q.prototype.free);class ${static __wrap(t){t=t>>>0;const e=Object.create($.prototype);return e.__wbg_ptr=t,Pt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Pt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_gpumeshmetadata_free(t,0)}get expressId(){return r.gpumeshmetadata_expressId(this.__wbg_ptr)>>>0}get indexCount(){return r.gpumeshmetadata_indexCount(this.__wbg_ptr)>>>0}get ifcTypeIdx(){return r.gpumeshmetadata_ifcTypeIdx(this.__wbg_ptr)}get indexOffset(){return r.gpumeshmetadata_indexOffset(this.__wbg_ptr)>>>0}get vertexCount(){return r.gpumeshmetadata_vertexCount(this.__wbg_ptr)>>>0}get vertexOffset(){return r.gpumeshmetadata_vertexOffset(this.__wbg_ptr)>>>0}get color(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.gpumeshmetadata_color(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=j(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}}Symbol.dispose&&($.prototype[Symbol.dispose]=$.prototype.free);class Ht{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ct.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_ifcapi_free(t,0)}parseMeshes(t){const e=u(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseMeshes(this.__wbg_ptr,e,n);return x.__wrap(_)}parseMeshesAsync(t,e){const n=u(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_parseMeshesAsync(this.__wbg_ptr,n,_,b(e));return w(i)}buildPrePassFast(t){const e=h(t,r.__wbindgen_export3),n=a,_=r.ifcapi_buildPrePassFast(this.__wbg_ptr,e,n);return w(_)}buildPrePassOnce(t){const e=h(t,r.__wbindgen_export3),n=a,_=r.ifcapi_buildPrePassOnce(this.__wbg_ptr,e,n);return w(_)}parseMeshesSubset(t,e,n,_){const i=u(t,r.__wbindgen_export3,r.__wbindgen_export4),c=a,p=r.ifcapi_parseMeshesSubset(this.__wbg_ptr,i,c,e,n,_);return x.__wrap(p)}parseToGpuGeometry(t){const e=u(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseToGpuGeometry(this.__wbg_ptr,e,n);return S.__wrap(_)}parseMeshesInstanced(t){const e=u(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseMeshesInstanced(this.__wbg_ptr,e,n);return A.__wrap(_)}processGeometryBatch(t,e,n,_,i,c,p,l,y,I,O,P){const C=h(t,r.__wbindgen_export3),T=a,M=f(e,r.__wbindgen_export3),L=a,D=f(l,r.__wbindgen_export3),E=a,bt=f(y,r.__wbindgen_export3),wt=a,lt=f(I,r.__wbindgen_export3),dt=a,ut=f(O,r.__wbindgen_export3),ft=a,yt=h(P,r.__wbindgen_export3),ht=a,mt=r.ifcapi_processGeometryBatch(this.__wbg_ptr,C,T,M,L,n,_,i,c,p,D,E,bt,wt,lt,dt,ut,ft,yt,ht);return x.__wrap(mt)}scanEntityIndexShard(t,e,n,_){try{const l=r.__wbindgen_add_to_stack_pointer(-16),y=h(t,r.__wbindgen_export3),I=a;r.ifcapi_scanEntityIndexShard(l,this.__wbg_ptr,y,I,Rt(e),n,_);var i=o().getInt32(l+0,!0),c=o().getInt32(l+4,!0),p=o().getInt32(l+8,!0);if(p)throw w(c);return w(i)}finally{r.__wbindgen_add_to_stack_pointer(16),m[X++]=void 0}}buildPrePassStreaming(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16),l=h(t,r.__wbindgen_export3),y=a;r.ifcapi_buildPrePassStreaming(p,this.__wbg_ptr,l,y,Rt(e),n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),c=o().getInt32(p+8,!0);if(c)throw w(i);return w(_)}finally{r.__wbindgen_add_to_stack_pointer(16),m[X++]=void 0}}parseToGpuGeometryAsync(t,e){const n=u(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_parseToGpuGeometryAsync(this.__wbg_ptr,n,_,b(e));return w(i)}parseMeshesInstancedAsync(t,e){const n=u(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_parseMeshesInstancedAsync(this.__wbg_ptr,n,_,b(e));return w(i)}benchmarkPureCpuParallelism(t){try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.ifcapi_benchmarkPureCpuParallelism(i,this.__wbg_ptr,t);var e=o().getInt32(i+0,!0),n=o().getInt32(i+4,!0),_=k(e,n).slice();return r.__wbindgen_export2(e,n*8,8),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}parseToGpuInstancedGeometry(t){const e=u(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseToGpuInstancedGeometry(this.__wbg_ptr,e,n);return K.__wrap(_)}processGeometryBatchParallel(t,e,n,_,i,c,p,l,y,I,O,P){const C=h(t,r.__wbindgen_export3),T=a,M=f(e,r.__wbindgen_export3),L=a,D=f(l,r.__wbindgen_export3),E=a,bt=f(y,r.__wbindgen_export3),wt=a,lt=f(I,r.__wbindgen_export3),dt=a,ut=f(O,r.__wbindgen_export3),ft=a,yt=h(P,r.__wbindgen_export3),ht=a,mt=r.ifcapi_processGeometryBatchParallel(this.__wbg_ptr,C,T,M,L,n,_,i,c,p,D,E,bt,wt,lt,dt,ut,ft,yt,ht);return x.__wrap(mt)}processInstancedGeometryBatch(t,e,n,_,i,c,p,l,y){const I=h(t,r.__wbindgen_export3),O=a,P=f(e,r.__wbindgen_export3),C=a,T=f(l,r.__wbindgen_export3),M=a,L=h(y,r.__wbindgen_export3),D=a,E=r.ifcapi_processInstancedGeometryBatch(this.__wbg_ptr,I,O,P,C,n,_,i,c,p,T,M,L,D);return A.__wrap(E)}parseZeroCopy(t){const e=u(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseZeroCopy(this.__wbg_ptr,e,n);return at.__wrap(_)}extractProfiles(t,e){const n=u(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_extractProfiles(this.__wbg_ptr,n,_,e);return rt.__wrap(i)}debugProcessEntity953(t){let e,n;try{const c=r.__wbindgen_add_to_stack_pointer(-16),p=u(t,r.__wbindgen_export3,r.__wbindgen_export4),l=a;r.ifcapi_debugProcessEntity953(c,this.__wbg_ptr,p,l);var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0);return e=_,n=i,d(_,i)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(e,n,1)}}debugProcessFirstWall(t){let e,n;try{const c=r.__wbindgen_add_to_stack_pointer(-16),p=u(t,r.__wbindgen_export3,r.__wbindgen_export4),l=a;r.ifcapi_debugProcessFirstWall(c,this.__wbg_ptr,p,l);var _=o().getInt32(c+0,!0),i=o().getInt32(c+4,!0);return e=_,n=i,d(_,i)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(e,n,1)}}getMemory(){const t=r.ifcapi_getMemory(this.__wbg_ptr);return w(t)}setEntityIndex(t,e,n){const _=f(t,r.__wbindgen_export3),i=a,c=f(e,r.__wbindgen_export3),p=a,l=f(n,r.__wbindgen_export3),y=a;r.ifcapi_setEntityIndex(this.__wbg_ptr,_,i,c,p,l,y)}setMergeLayers(t){r.ifcapi_setMergeLayers(this.__wbg_ptr,t)}clearPrePassCache(){r.ifcapi_clearPrePassCache(this.__wbg_ptr)}constructor(){const t=r.ifcapi_new();return this.__wbg_ptr=t>>>0,Ct.register(this,this.__wbg_ptr,this),this}get version(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.ifcapi_version(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,d(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get is_ready(){return r.ifcapi_is_ready(this.__wbg_ptr)!==0}getGeoReference(t){const e=u(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_getGeoReference(this.__wbg_ptr,e,n);return _===0?void 0:H.__wrap(_)}parseMeshesWithRtc(t){const e=u(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseMeshesWithRtc(this.__wbg_ptr,e,n);return et.__wrap(_)}parseStreaming(t,e){const n=u(t,r.__wbindgen_export3,r.__wbindgen_export4),_=a,i=r.ifcapi_parseStreaming(this.__wbg_ptr,n,_,b(e));return w(i)}scanEntitiesFast(t){const e=u(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_scanEntitiesFast(this.__wbg_ptr,e,n);return w(_)}scanEntitiesFastBytes(t){const e=h(t,r.__wbindgen_export3),n=a,_=r.ifcapi_scanEntitiesFastBytes(this.__wbg_ptr,e,n);return w(_)}scanGeometryEntitiesFast(t){const e=u(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_scanGeometryEntitiesFast(this.__wbg_ptr,e,n);return w(_)}scanRelevantEntitiesFastBytes(t){const e=h(t,r.__wbindgen_export3),n=a,_=r.ifcapi_scanRelevantEntitiesFastBytes(this.__wbg_ptr,e,n);return w(_)}parse(t){const e=u(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parse(this.__wbg_ptr,e,n);return w(_)}parseSymbolicRepresentations(t){const e=u(t,r.__wbindgen_export3,r.__wbindgen_export4),n=a,_=r.ifcapi_parseSymbolicRepresentations(this.__wbg_ptr,e,n);return ct.__wrap(_)}}Symbol.dispose&&(Ht.prototype[Symbol.dispose]=Ht.prototype.free);class tt{static __wrap(t){t=t>>>0;const e=Object.create(tt.prototype);return e.__wbg_ptr=t,Tt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Tt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_instancedata_free(t,0)}get expressId(){return r.instancedata_expressId(this.__wbg_ptr)>>>0}get color(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.instancedata_color(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=j(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get transform(){const t=r.instancedata_transform(this.__wbg_ptr);return w(t)}}Symbol.dispose&&(tt.prototype[Symbol.dispose]=tt.prototype.free);class z{static __wrap(t){t=t>>>0;const e=Object.create(z.prototype);return e.__wbg_ptr=t,Mt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Mt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_instancedgeometry_free(t,0)}get geometryId(){const t=r.gpuinstancedgeometry_geometryId(this.__wbg_ptr);return BigInt.asUintN(64,t)}get_instance(t){const e=r.instancedgeometry_get_instance(this.__wbg_ptr,t);return e===0?void 0:tt.__wrap(e)}get instance_count(){return r.instancedgeometry_instance_count(this.__wbg_ptr)>>>0}get indices(){const t=r.instancedgeometry_indices(this.__wbg_ptr);return w(t)}get normals(){const t=r.instancedgeometry_normals(this.__wbg_ptr);return w(t)}get positions(){const t=r.instancedgeometry_positions(this.__wbg_ptr);return w(t)}}Symbol.dispose&&(z.prototype[Symbol.dispose]=z.prototype.free);class A{static __wrap(t){t=t>>>0;const e=Object.create(A.prototype);return e.__wbg_ptr=t,Lt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Lt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_instancedmeshcollection_free(t,0)}get totalInstances(){return r.instancedmeshcollection_totalInstances(this.__wbg_ptr)>>>0}get totalGeometries(){return r.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}get(t){const e=r.instancedmeshcollection_get(this.__wbg_ptr,t);return e===0?void 0:z.__wrap(e)}get length(){return r.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(A.prototype[Symbol.dispose]=A.prototype.free);class x{static __wrap(t){t=t>>>0;const e=Object.create(x.prototype);return e.__wbg_ptr=t,Dt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Dt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_meshcollection_free(t,0)}get rtcOffsetX(){return r.gpugeometry_rtcOffsetZ(this.__wbg_ptr)}get rtcOffsetY(){return r.meshcollection_rtcOffsetY(this.__wbg_ptr)}get rtcOffsetZ(){return r.meshcollection_rtcOffsetZ(this.__wbg_ptr)}hasRtcOffset(){return r.meshcollection_hasRtcOffset(this.__wbg_ptr)!==0}localToWorld(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16);r.meshcollection_localToWorld(p,this.__wbg_ptr,t,e,n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),c=k(_,i).slice();return r.__wbindgen_export2(_,i*8,8),c}finally{r.__wbindgen_add_to_stack_pointer(16)}}get totalVertices(){return r.meshcollection_totalVertices(this.__wbg_ptr)>>>0}get totalTriangles(){return r.meshcollection_totalTriangles(this.__wbg_ptr)>>>0}get buildingRotation(){try{const n=r.__wbindgen_add_to_stack_pointer(-16);r.meshcollection_buildingRotation(n,this.__wbg_ptr);var t=o().getInt32(n+0,!0),e=o().getFloat64(n+8,!0);return t===0?void 0:e}finally{r.__wbindgen_add_to_stack_pointer(16)}}get(t){const e=r.meshcollection_get(this.__wbg_ptr,t);return e===0?void 0:F.__wrap(e)}get length(){return r.meshcollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(x.prototype[Symbol.dispose]=x.prototype.free);class et{static __wrap(t){t=t>>>0;const e=Object.create(et.prototype);return e.__wbg_ptr=t,Et.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Et.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_meshcollectionwithrtc_free(t,0)}get rtcOffset(){const t=r.meshcollectionwithrtc_rtcOffset(this.__wbg_ptr);return _t.__wrap(t)}get(t){const e=r.meshcollectionwithrtc_get(this.__wbg_ptr,t);return e===0?void 0:F.__wrap(e)}get length(){return r.meshcollection_length(this.__wbg_ptr)>>>0}get meshes(){const t=r.meshcollectionwithrtc_meshes(this.__wbg_ptr);return x.__wrap(t)}}Symbol.dispose&&(et.prototype[Symbol.dispose]=et.prototype.free);class F{static __wrap(t){t=t>>>0;const e=Object.create(F.prototype);return e.__wbg_ptr=t,Bt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Bt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_meshdatajs_free(t,0)}get expressId(){return r.meshdatajs_expressId(this.__wbg_ptr)>>>0}get vertexCount(){return r.meshdatajs_vertexCount(this.__wbg_ptr)>>>0}get shadingColor(){try{const n=r.__wbindgen_add_to_stack_pointer(-16);r.meshdatajs_shadingColor(n,this.__wbg_ptr);var t=o().getInt32(n+0,!0),e=o().getInt32(n+4,!0);let _;return t!==0&&(_=j(t,e).slice(),r.__wbindgen_export2(t,e*4,4)),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}get triangleCount(){return r.meshdatajs_triangleCount(this.__wbg_ptr)>>>0}get color(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.meshdatajs_color(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=j(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get indices(){const t=r.meshdatajs_indices(this.__wbg_ptr);return w(t)}get normals(){const t=r.meshdatajs_normals(this.__wbg_ptr);return w(t)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.meshdatajs_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,d(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get positions(){const t=r.meshdatajs_positions(this.__wbg_ptr);return w(t)}}Symbol.dispose&&(F.prototype[Symbol.dispose]=F.prototype.free);class rt{static __wrap(t){t=t>>>0;const e=Object.create(rt.prototype);return e.__wbg_ptr=t,Gt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Gt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_profilecollection_free(t,0)}get(t){const e=r.profilecollection_get(this.__wbg_ptr,t);return e===0?void 0:nt.__wrap(e)}get length(){return r.profilecollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(rt.prototype[Symbol.dispose]=rt.prototype.free);class nt{static __wrap(t){t=t>>>0;const e=Object.create(nt.prototype);return e.__wbg_ptr=t,Wt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Wt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_profileentryjs_free(t,0)}get expressId(){return r.profileentryjs_expressId(this.__wbg_ptr)>>>0}get holeCounts(){const t=r.profileentryjs_holeCounts(this.__wbg_ptr);return w(t)}get holePoints(){const t=r.profileentryjs_holePoints(this.__wbg_ptr);return w(t)}get modelIndex(){return r.profileentryjs_modelIndex(this.__wbg_ptr)>>>0}get outerPoints(){const t=r.profileentryjs_outerPoints(this.__wbg_ptr);return w(t)}get extrusionDir(){const t=r.profileentryjs_extrusionDir(this.__wbg_ptr);return w(t)}get extrusionDepth(){return r.profileentryjs_extrusionDepth(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.profileentryjs_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,d(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get transform(){const t=r.profileentryjs_transform(this.__wbg_ptr);return w(t)}}Symbol.dispose&&(nt.prototype[Symbol.dispose]=nt.prototype.free);class _t{static __wrap(t){t=t>>>0;const e=Object.create(_t.prototype);return e.__wbg_ptr=t,Ut.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ut.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_rtcoffsetjs_free(t,0)}isSignificant(){return r.rtcoffsetjs_isSignificant(this.__wbg_ptr)!==0}toWorld(t,e,n){try{const p=r.__wbindgen_add_to_stack_pointer(-16);r.rtcoffsetjs_toWorld(p,this.__wbg_ptr,t,e,n);var _=o().getInt32(p+0,!0),i=o().getInt32(p+4,!0),c=k(_,i).slice();return r.__wbindgen_export2(_,i*8,8),c}finally{r.__wbindgen_add_to_stack_pointer(16)}}get x(){return r.__wbg_get_georeferencejs_eastings(this.__wbg_ptr)}set x(t){r.__wbg_set_georeferencejs_eastings(this.__wbg_ptr,t)}get y(){return r.__wbg_get_georeferencejs_northings(this.__wbg_ptr)}set y(t){r.__wbg_set_georeferencejs_northings(this.__wbg_ptr,t)}get z(){return r.__wbg_get_georeferencejs_orthogonal_height(this.__wbg_ptr)}set z(t){r.__wbg_set_georeferencejs_orthogonal_height(this.__wbg_ptr,t)}}Symbol.dispose&&(_t.prototype[Symbol.dispose]=_t.prototype.free);class st{static __wrap(t){t=t>>>0;const e=Object.create(st.prototype);return e.__wbg_ptr=t,Yt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Yt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symboliccircle_free(t,0)}get expressId(){return r.gpumeshmetadata_vertexCount(this.__wbg_ptr)>>>0}get startAngle(){return r.symboliccircle_startAngle(this.__wbg_ptr)}get isFullCircle(){return r.symboliccircle_isFullCircle(this.__wbg_ptr)!==0}get repIdentifier(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symboliccircle_repIdentifier(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,d(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get radius(){return r.symboliccircle_radius(this.__wbg_ptr)}get worldY(){return r.symboliccircle_worldY(this.__wbg_ptr)}get centerX(){return r.symboliccircle_centerX(this.__wbg_ptr)}get centerY(){return r.symboliccircle_centerY(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symboliccircle_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,d(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get endAngle(){return r.symboliccircle_endAngle(this.__wbg_ptr)}}Symbol.dispose&&(st.prototype[Symbol.dispose]=st.prototype.free);class it{static __wrap(t){t=t>>>0;const e=Object.create(it.prototype);return e.__wbg_ptr=t,Nt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Nt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symbolicfillarea_free(t,0)}get expressId(){return r.profileentryjs_expressId(this.__wbg_ptr)>>>0}get holeCount(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get hatchAngle(){return r.symbolicfillarea_hatchAngle(this.__wbg_ptr)}get pointCount(){return r.symbolicfillarea_pointCount(this.__wbg_ptr)>>>0}get hasHatching(){return r.symbolicfillarea_hasHatching(this.__wbg_ptr)!==0}get hatchSpacing(){return r.symbolicfillarea_hatchSpacing(this.__wbg_ptr)}get holesOffsets(){const t=r.symbolicfillarea_holesOffsets(this.__wbg_ptr);return w(t)}get repIdentifier(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicfillarea_repIdentifier(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,d(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get hatchLineWidth(){return r.symbolicfillarea_hatchLineWidth(this.__wbg_ptr)}get hatchAngleSecondary(){return r.symbolicfillarea_hatchAngleSecondary(this.__wbg_ptr)}get fillA(){return r.symbolicfillarea_fillA(this.__wbg_ptr)}get fillB(){return r.symbolicfillarea_fillB(this.__wbg_ptr)}get fillG(){return r.symbolicfillarea_fillG(this.__wbg_ptr)}get fillR(){return r.symbolicfillarea_fillR(this.__wbg_ptr)}get points(){const t=r.symbolicfillarea_points(this.__wbg_ptr);return w(t)}get worldY(){return r.symbolicfillarea_worldY(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicfillarea_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,d(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}}Symbol.dispose&&(it.prototype[Symbol.dispose]=it.prototype.free);class ot{static __wrap(t){t=t>>>0;const e=Object.create(ot.prototype);return e.__wbg_ptr=t,Vt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Vt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symbolicpolyline_free(t,0)}get expressId(){return r.symbolicpolyline_expressId(this.__wbg_ptr)>>>0}get pointCount(){return r.symbolicfillarea_pointCount(this.__wbg_ptr)>>>0}get repIdentifier(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicpolyline_repIdentifier(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,d(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get points(){const t=r.symbolicpolyline_points(this.__wbg_ptr);return w(t)}get worldY(){return r.symboliccircle_worldY(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicpolyline_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,d(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get isClosed(){return r.symbolicpolyline_isClosed(this.__wbg_ptr)!==0}}Symbol.dispose&&(ot.prototype[Symbol.dispose]=ot.prototype.free);class ct{static __wrap(t){t=t>>>0;const e=Object.create(ct.prototype);return e.__wbg_ptr=t,Xt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Xt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symbolicrepresentationcollection_free(t,0)}get fillCount(){return r.symbolicrepresentationcollection_fillCount(this.__wbg_ptr)>>>0}getCircle(t){const e=r.symbolicrepresentationcollection_getCircle(this.__wbg_ptr,t);return e===0?void 0:st.__wrap(e)}get textCount(){return r.symbolicrepresentationcollection_textCount(this.__wbg_ptr)>>>0}get totalCount(){return r.symbolicrepresentationcollection_totalCount(this.__wbg_ptr)>>>0}get circleCount(){return r.symbolicrepresentationcollection_circleCount(this.__wbg_ptr)>>>0}getPolyline(t){const e=r.symbolicrepresentationcollection_getPolyline(this.__wbg_ptr,t);return e===0?void 0:ot.__wrap(e)}get polylineCount(){return r.symbolicrepresentationcollection_polylineCount(this.__wbg_ptr)>>>0}getExpressIds(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.symbolicrepresentationcollection_getExpressIds(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=Jt(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}getFill(t){const e=r.symbolicrepresentationcollection_getFill(this.__wbg_ptr,t);return e===0?void 0:it.__wrap(e)}getText(t){const e=r.symbolicrepresentationcollection_getText(this.__wbg_ptr,t);return e===0?void 0:gt.__wrap(e)}get isEmpty(){return r.symbolicrepresentationcollection_isEmpty(this.__wbg_ptr)!==0}}Symbol.dispose&&(ct.prototype[Symbol.dispose]=ct.prototype.free);class gt{static __wrap(t){t=t>>>0;const e=Object.create(gt.prototype);return e.__wbg_ptr=t,Zt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Zt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_symbolictext_free(t,0)}get expressId(){return r.profileentryjs_expressId(this.__wbg_ptr)>>>0}get repIdentifier(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolictext_repIdentifier(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,d(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get x(){return r.symbolicfillarea_fillR(this.__wbg_ptr)}get y(){return r.symbolicfillarea_fillG(this.__wbg_ptr)}get dirX(){return r.symbolicfillarea_fillB(this.__wbg_ptr)}get dirY(){return r.symbolicfillarea_fillA(this.__wbg_ptr)}get height(){return r.symbolicfillarea_hatchSpacing(this.__wbg_ptr)}get colorA(){return r.symbolictext_colorA(this.__wbg_ptr)}get colorB(){return r.symbolicfillarea_worldY(this.__wbg_ptr)}get colorG(){return r.symbolicfillarea_hatchLineWidth(this.__wbg_ptr)}get colorR(){return r.symbolicfillarea_hatchAngleSecondary(this.__wbg_ptr)}get content(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolictext_content(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,d(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get worldY(){return r.symbolicfillarea_hatchAngle(this.__wbg_ptr)}get ifcType(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolictext_ifcType(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,d(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get alignment(){let t,e;try{const i=r.__wbindgen_add_to_stack_pointer(-16);r.symbolictext_alignment(i,this.__wbg_ptr);var n=o().getInt32(i+0,!0),_=o().getInt32(i+4,!0);return t=n,e=_,d(n,_)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(t,e,1)}}get targetPx(){return r.symbolictext_targetPx(this.__wbg_ptr)}}Symbol.dispose&&(gt.prototype[Symbol.dispose]=gt.prototype.free);class at{static __wrap(t){t=t>>>0;const e=Object.create(at.prototype);return e.__wbg_ptr=t,Ft.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ft.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_zerocopymesh_free(t,0)}bounds_max(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.zerocopymesh_bounds_max(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=j(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}bounds_min(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.zerocopymesh_bounds_min(_,this.__wbg_ptr);var t=o().getInt32(_+0,!0),e=o().getInt32(_+4,!0),n=j(t,e).slice();return r.__wbindgen_export2(t,e*4,4),n}finally{r.__wbindgen_add_to_stack_pointer(16)}}get indices_len(){return r.gpuinstancedgeometry_indicesLen(this.__wbg_ptr)>>>0}get indices_ptr(){return r.gpuinstancedgeometry_indicesPtr(this.__wbg_ptr)>>>0}get normals_len(){return r.zerocopymesh_normals_len(this.__wbg_ptr)>>>0}get normals_ptr(){return r.gpuinstancedgeometry_vertexDataPtr(this.__wbg_ptr)>>>0}get vertex_count(){return r.zerocopymesh_vertex_count(this.__wbg_ptr)>>>0}get positions_len(){return r.zerocopymesh_positions_len(this.__wbg_ptr)>>>0}get positions_ptr(){return r.zerocopymesh_positions_ptr(this.__wbg_ptr)>>>0}get triangle_count(){return r.gpuinstancedgeometry_triangleCount(this.__wbg_ptr)>>>0}constructor(){const t=r.zerocopymesh_new();return this.__wbg_ptr=t>>>0,Ft.register(this,this.__wbg_ptr,this),this}get is_empty(){return r.zerocopymesh_is_empty(this.__wbg_ptr)!==0}}Symbol.dispose&&(at.prototype[Symbol.dispose]=at.prototype.free);function pe(){const s=r.get_memory();return w(s)}function be(){r.init()}function we(s){const t=r.initThreadPool(s);return w(t)}function le(){let s,t;try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.version(_);var e=o().getInt32(_+0,!0),n=o().getInt32(_+4,!0);return s=e,t=n,d(e,n)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_export2(s,t,1)}}class pt{static __wrap(t){t=t>>>0;const e=Object.create(pt.prototype);return e.__wbg_ptr=t,qt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,qt.unregister(this),t}free(){const t=this.__destroy_into_raw();r.__wbg_wbg_rayon_poolbuilder_free(t,0)}numThreads(){return r.wbg_rayon_poolbuilder_numThreads(this.__wbg_ptr)>>>0}build(){r.wbg_rayon_poolbuilder_build(this.__wbg_ptr)}receiver(){return r.wbg_rayon_poolbuilder_receiver(this.__wbg_ptr)>>>0}}Symbol.dispose&&(pt.prototype[Symbol.dispose]=pt.prototype.free);function de(s){r.wbg_rayon_start_worker(s)}const ce=new Set(["basic","cors","default"]);async function ge(s,t){if(typeof Response=="function"&&s instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(s,t)}catch(n){if(s.ok&&ce.has(s.type)&&s.headers.get("Content-Type")!=="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",n);else throw n}const e=await s.arrayBuffer();return await WebAssembly.instantiate(e,t)}else{const e=await WebAssembly.instantiate(s,t);return e instanceof WebAssembly.Instance?{instance:e,module:s}:e}}function Qt(s){const t={};return t.wbg={},t.wbg.__wbg_Error_52673b7de5a0ca89=function(e,n){const _=Error(d(e,n));return b(_)},t.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd=function(e){return typeof g(e)=="function"},t.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269=function(e){return g(e)===void 0},t.wbg.__wbg___wbindgen_memory_a342e963fbcabd68=function(){const e=r.memory;return b(e)},t.wbg.__wbg___wbindgen_module_967adef62ea6cbf8=function(){const e=te.__wbindgen_wasm_module;return b(e)},t.wbg.__wbg___wbindgen_number_get_9619185a74197f95=function(e,n){const _=g(n),i=typeof _=="number"?_:void 0;o().setFloat64(e+8,R(i)?0:i,!0),o().setInt32(e+0,!R(i),!0)},t.wbg.__wbg___wbindgen_rethrow_78714972834ecdf1=function(e){throw w(e)},t.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e=function(e,n){throw new Error(d(e,n))},t.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7=function(e){g(e)._wbg_cb_unref()},t.wbg.__wbg_async_bba5a2ac54b734df=function(e){return g(e).async},t.wbg.__wbg_buffer_063cd102cc769a1c=function(e){const n=g(e).buffer;return b(n)},t.wbg.__wbg_call_3020136f7a2d6e44=function(){return v(function(e,n,_){const i=g(e).call(g(n),g(_));return b(i)},arguments)},t.wbg.__wbg_call_abb4ff46ce38be40=function(){return v(function(e,n){const _=g(e).call(g(n));return b(_)},arguments)},t.wbg.__wbg_call_c8baa5c5e72d274e=function(){return v(function(e,n,_,i){const c=g(e).call(g(n),g(_),g(i));return b(c)},arguments)},t.wbg.__wbg_data_8bf4ae669a78a688=function(e){const n=g(e).data;return b(n)},t.wbg.__wbg_debug_9d0c87ddda3dc485=function(e){console.debug(g(e))},t.wbg.__wbg_error_7534b8e9a36f1ab4=function(e,n){let _,i;try{_=e,i=n,console.error(d(e,n))}finally{r.__wbindgen_export2(_,i,1)}},t.wbg.__wbg_get_af9dab7e9603ea93=function(){return v(function(e,n){const _=Reflect.get(g(e),g(n));return b(_)},arguments)},t.wbg.__wbg_gpugeometry_new=function(e){const n=S.__wrap(e);return b(n)},t.wbg.__wbg_info_ce6bcc489c22f6f0=function(e){console.info(g(e))},t.wbg.__wbg_instancedgeometry_new=function(e){const n=z.__wrap(e);return b(n)},t.wbg.__wbg_instanceof_Window_b5cf7783caa68180=function(e){let n;try{n=g(e)instanceof Window}catch{n=!1}return n},t.wbg.__wbg_length_d45040a40c570362=function(e){return g(e).length},t.wbg.__wbg_log_1d990106d99dacb7=function(e){console.log(g(e))},t.wbg.__wbg_meshdatajs_new=function(e){const n=F.__wrap(e);return b(n)},t.wbg.__wbg_new_1ba21ce319a06297=function(){const e=new Object;return b(e)},t.wbg.__wbg_new_25f239778d6112b9=function(){const e=new Array;return b(e)},t.wbg.__wbg_new_53cb1e86c1ef5d2a=function(){return v(function(e,n){const _=new Worker(d(e,n));return b(_)},arguments)},t.wbg.__wbg_new_8a6f238a6ece86ea=function(){const e=new Error;return b(e)},t.wbg.__wbg_new_de1e660b88fc921f=function(e){const n=new Int32Array(g(e));return b(n)},t.wbg.__wbg_new_ff12d2b041fb48f1=function(e,n){try{var _={a:e,b:n},i=(p,l)=>{const y=_.a;_.a=0;try{return oe(y,_.b,p,l)}finally{_.a=y}};const c=new Promise(i);return b(c)}finally{_.a=_.b=0}},t.wbg.__wbg_new_from_slice_41e2764a343e3cb1=function(e,n){const _=new Float32Array(j(e,n));return b(_)},t.wbg.__wbg_new_from_slice_db0691b69e9d3891=function(e,n){const _=new Uint32Array(Jt(e,n));return b(_)},t.wbg.__wbg_new_no_args_cb138f77cf6151ee=function(e,n){const _=new Function(d(e,n));return b(_)},t.wbg.__wbg_new_with_length_202b3db94ba5fc86=function(e){const n=new Uint32Array(e>>>0);return b(n)},t.wbg.__wbg_new_with_length_806b9e5b8290af7c=function(e){const n=new Float64Array(e>>>0);return b(n)},t.wbg.__wbg_new_with_length_aa5eaf41d35235e5=function(e){const n=new Uint8Array(e>>>0);return b(n)},t.wbg.__wbg_now_69d776cd24f5215b=function(){return Date.now()},t.wbg.__wbg_of_7779827fa663eec8=function(e,n,_){const i=Array.of(g(e),g(n),g(_));return b(i)},t.wbg.__wbg_postMessage_07504dbe15265d5c=function(){return v(function(e,n){g(e).postMessage(g(n))},arguments)},t.wbg.__wbg_push_7d9be8f38fc13975=function(e,n){return g(e).push(g(n))},t.wbg.__wbg_queueMicrotask_9b549dfce8865860=function(e){const n=g(e).queueMicrotask;return b(n)},t.wbg.__wbg_queueMicrotask_fca69f5bfad613a5=function(e){queueMicrotask(g(e))},t.wbg.__wbg_resolve_fd5bfbaa4ce36e1e=function(e){const n=Promise.resolve(g(e));return b(n)},t.wbg.__wbg_set_3f1d0b984ed272ed=function(e,n,_){g(e)[w(n)]=w(_)},t.wbg.__wbg_set_781438a03c0c3c81=function(){return v(function(e,n,_){return Reflect.set(g(e),g(n),g(_))},arguments)},t.wbg.__wbg_set_7df433eea03a5c14=function(e,n,_){g(e)[n>>>0]=w(_)},t.wbg.__wbg_set_index_021489b2916af13e=function(e,n,_){g(e)[n>>>0]=_},t.wbg.__wbg_set_index_04c4b93e64d08a52=function(e,n,_){g(e)[n>>>0]=_},t.wbg.__wbg_set_index_42abe35f117e614e=function(e,n,_){g(e)[n>>>0]=_>>>0},t.wbg.__wbg_set_onmessage_deb94985de696ac7=function(e,n){g(e).onmessage=g(n)},t.wbg.__wbg_stack_0ed75d68575b0f3c=function(e,n){const _=g(n).stack,i=u(_,r.__wbindgen_export3,r.__wbindgen_export4),c=a;o().setInt32(e+4,c,!0),o().setInt32(e+0,i,!0)},t.wbg.__wbg_startWorkers_2ca11761e08ff5d5=function(e,n,_){const i=ee(w(e),w(n),pt.__wrap(_));return b(i)},t.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335=function(){const e=typeof global>"u"?null:global;return R(e)?0:b(e)},t.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1=function(){const e=typeof globalThis>"u"?null:globalThis;return R(e)?0:b(e)},t.wbg.__wbg_static_accessor_SELF_08f5a74c69739274=function(){const e=typeof self>"u"?null:self;return R(e)?0:b(e)},t.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024=function(){const e=typeof window>"u"?null:window;return R(e)?0:b(e)},t.wbg.__wbg_then_4f95312d68691235=function(e,n){const _=g(e).then(g(n));return b(_)},t.wbg.__wbg_value_4cd497eeadba94bd=function(e){const n=g(e).value;return b(n)},t.wbg.__wbg_waitAsync_8afec80ffd213eca=function(e,n,_){const i=Atomics.waitAsync(g(e),n>>>0,_);return b(i)},t.wbg.__wbg_waitAsync_c186cb97ffacd552=function(){const e=Atomics.waitAsync;return b(e)},t.wbg.__wbg_warn_6e567d0d926ff881=function(e){console.warn(g(e))},t.wbg.__wbindgen_cast_03147804bda095a7=function(e,n){const _=St(e,n,r.__wasm_bindgen_func_elem_1441,zt);return b(_)},t.wbg.__wbindgen_cast_2241b6af4c4b2941=function(e,n){const _=d(e,n);return b(_)},t.wbg.__wbindgen_cast_4625c577ab2ec9ee=function(e){const n=BigInt.asUintN(64,e);return b(n)},t.wbg.__wbindgen_cast_70d95440b2e680ed=function(e,n){const _=St(e,n,r.__wasm_bindgen_func_elem_1441,zt);return b(_)},t.wbg.__wbindgen_cast_d6cd19b81560fd6e=function(e){return b(e)},t.wbg.__wbindgen_link_203404ece0e9bab9=function(e){const n=`onmessage = function (ev) {
|
|
2
|
-
let [ia, index, value] = ev.data;
|
|
3
|
-
ia = new Int32Array(ia.buffer);
|
|
4
|
-
let result = Atomics.wait(ia, index, value);
|
|
5
|
-
postMessage(result);
|
|
6
|
-
};
|
|
7
|
-
`,_=typeof URL.createObjectURL>"u"?"data:application/javascript,"+encodeURIComponent(n):URL.createObjectURL(new Blob([n],{type:"text/javascript"})),i=u(_,r.__wbindgen_export3,r.__wbindgen_export4),c=a;o().setInt32(e+4,c,!0),o().setInt32(e+0,i,!0)},t.wbg.__wbindgen_object_clone_ref=function(e){const n=g(e);return b(n)},t.wbg.__wbindgen_object_drop_ref=function(e){w(e)},t.wbg.memory=s||new WebAssembly.Memory({initial:132,maximum:65536,shared:!0}),t}function $t(s,t,e){if(r=s.exports,te.__wbindgen_wasm_module=t,B=null,G=null,W=null,U=null,Y=null,typeof e<"u"&&(typeof e!="number"||e===0||e%65536!==0))throw"invalid stack size";return r.__wbindgen_start(e),r}function ue(s,t){if(r!==void 0)return r;let e;typeof s<"u"&&(Object.getPrototypeOf(s)===Object.prototype?{module:s,memory:t,thread_stack_size:e}=s:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const n=Qt(t);s instanceof WebAssembly.Module||(s=new WebAssembly.Module(s));const _=new WebAssembly.Instance(s,n);return $t(_,s,e)}async function te(s,t){if(r!==void 0)return r;let e;typeof s<"u"&&(Object.getPrototypeOf(s)===Object.prototype?{module_or_path:s,memory:t,thread_stack_size:e}=s:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),typeof s>"u"&&(s=new URL("/assets/ifc-lite_bg-iH_07wf8.wasm",import.meta.url));const n=Qt(t);(typeof s=="string"||typeof Request=="function"&&s instanceof Request||typeof URL=="function"&&s instanceof URL)&&(s=fetch(s));const{instance:_,module:i}=await ge(await s,n);return $t(_,i,e)}export{H as GeoReferenceJs,S as GpuGeometry,J as GpuInstancedGeometry,K as GpuInstancedGeometryCollection,Q as GpuInstancedGeometryRef,$ as GpuMeshMetadata,Ht as IfcAPI,tt as InstanceData,z as InstancedGeometry,A as InstancedMeshCollection,x as MeshCollection,et as MeshCollectionWithRtc,F as MeshDataJs,rt as ProfileCollection,nt as ProfileEntryJs,_t as RtcOffsetJs,st as SymbolicCircle,it as SymbolicFillArea,ot as SymbolicPolyline,ct as SymbolicRepresentationCollection,gt as SymbolicText,at as ZeroCopyMesh,te as default,pe as get_memory,be as init,ue as initSync,we as initThreadPool,le as version,pt as wbg_rayon_PoolBuilder,de as wbg_rayon_start_worker};
|
|
Binary file
|
|
Binary file
|