@ifc-lite/viewer 1.17.2 → 1.17.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +34 -24
- package/.turbo/turbo-typecheck.log +1 -42
- package/CHANGELOG.md +24 -0
- package/DESKTOP_CONTRACT_VERSION +1 -0
- package/dist/assets/arrow-CZ5kQ26f.js +20 -0
- package/dist/assets/basketViewActivator-BmnNtVfZ.js +1 -0
- package/dist/assets/bcf-DOG9_WPX.js +281 -0
- package/dist/assets/{browser-BDShTXzi.js → browser-C5TFR7sH.js} +1 -1
- package/dist/assets/cesium-ADbP7waU.css +1 -0
- package/dist/assets/cesium-DUOzBlqv.js +17817 -0
- package/dist/assets/drawing-2d-gWfpdfYe.js +257 -0
- package/dist/assets/epsg-index.generated-BjJrt_0S.js +1 -0
- package/dist/assets/exporters-ChAtBmlj.js +80367 -0
- package/dist/assets/geometry.worker-BQ0rzNo-.js +1 -0
- package/dist/assets/ids-B4jTqB1O.js +1 -0
- package/dist/assets/ifc-lite_bg-BX4E7TX8.wasm +0 -0
- package/dist/assets/index-Co8E2-FE.js +106013 -0
- package/dist/assets/index-DckuDqlv.css +1 -0
- package/dist/assets/lens-CSASnhAL.js +1 -0
- package/dist/assets/maplibre-gl-CGLcoNXc.js +811 -0
- package/dist/assets/native-bridge-BRvbckFQ.js +429 -0
- package/dist/assets/{arrow2-bb-jcVEo.js → parquet-CEXmQNRO.js} +2 -2
- package/dist/assets/sandbox-DZiNLNMk.js +5933 -0
- package/dist/assets/server-client-BV8zHZ7Y.js +626 -0
- package/dist/assets/tauri-core-stub-D8Fa-u43.js +1 -0
- package/dist/assets/tauri-dialog-stub-r7Wksg7o.js +1 -0
- package/dist/assets/tauri-fs-stub-BdeRC7aK.js +1 -0
- package/dist/assets/wasm-bridge-g01g7T9b.js +1 -0
- package/dist/assets/zip-DBEtpeu6.js +12 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
- package/dist/cesium/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
- package/dist/cesium/Assets/Images/bing_maps_credit.png +0 -0
- package/dist/cesium/Assets/Images/cesium_credit.png +0 -0
- package/dist/cesium/Assets/Images/google_earth_credit.png +0 -0
- package/dist/cesium/Assets/Images/ion-credit.png +0 -0
- package/dist/cesium/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/dist/cesium/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/dist/cesium/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/dist/cesium/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/dist/cesium/Assets/Textures/maki/airfield.png +0 -0
- package/dist/cesium/Assets/Textures/maki/airport.png +0 -0
- package/dist/cesium/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/dist/cesium/Assets/Textures/maki/america-football.png +0 -0
- package/dist/cesium/Assets/Textures/maki/art-gallery.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bakery.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bank.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bar.png +0 -0
- package/dist/cesium/Assets/Textures/maki/baseball.png +0 -0
- package/dist/cesium/Assets/Textures/maki/basketball.png +0 -0
- package/dist/cesium/Assets/Textures/maki/beer.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bicycle.png +0 -0
- package/dist/cesium/Assets/Textures/maki/building.png +0 -0
- package/dist/cesium/Assets/Textures/maki/bus.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cafe.png +0 -0
- package/dist/cesium/Assets/Textures/maki/camera.png +0 -0
- package/dist/cesium/Assets/Textures/maki/campsite.png +0 -0
- package/dist/cesium/Assets/Textures/maki/car.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cemetery.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cesium.png +0 -0
- package/dist/cesium/Assets/Textures/maki/chemist.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cinema.png +0 -0
- package/dist/cesium/Assets/Textures/maki/circle-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/circle.png +0 -0
- package/dist/cesium/Assets/Textures/maki/city.png +0 -0
- package/dist/cesium/Assets/Textures/maki/clothing-store.png +0 -0
- package/dist/cesium/Assets/Textures/maki/college.png +0 -0
- package/dist/cesium/Assets/Textures/maki/commercial.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cricket.png +0 -0
- package/dist/cesium/Assets/Textures/maki/cross.png +0 -0
- package/dist/cesium/Assets/Textures/maki/dam.png +0 -0
- package/dist/cesium/Assets/Textures/maki/danger.png +0 -0
- package/dist/cesium/Assets/Textures/maki/disability.png +0 -0
- package/dist/cesium/Assets/Textures/maki/dog-park.png +0 -0
- package/dist/cesium/Assets/Textures/maki/embassy.png +0 -0
- package/dist/cesium/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/dist/cesium/Assets/Textures/maki/entrance.png +0 -0
- package/dist/cesium/Assets/Textures/maki/farm.png +0 -0
- package/dist/cesium/Assets/Textures/maki/fast-food.png +0 -0
- package/dist/cesium/Assets/Textures/maki/ferry.png +0 -0
- package/dist/cesium/Assets/Textures/maki/fire-station.png +0 -0
- package/dist/cesium/Assets/Textures/maki/fuel.png +0 -0
- package/dist/cesium/Assets/Textures/maki/garden.png +0 -0
- package/dist/cesium/Assets/Textures/maki/gift.png +0 -0
- package/dist/cesium/Assets/Textures/maki/golf.png +0 -0
- package/dist/cesium/Assets/Textures/maki/grocery.png +0 -0
- package/dist/cesium/Assets/Textures/maki/hairdresser.png +0 -0
- package/dist/cesium/Assets/Textures/maki/harbor.png +0 -0
- package/dist/cesium/Assets/Textures/maki/heart.png +0 -0
- package/dist/cesium/Assets/Textures/maki/heliport.png +0 -0
- package/dist/cesium/Assets/Textures/maki/hospital.png +0 -0
- package/dist/cesium/Assets/Textures/maki/ice-cream.png +0 -0
- package/dist/cesium/Assets/Textures/maki/industrial.png +0 -0
- package/dist/cesium/Assets/Textures/maki/land-use.png +0 -0
- package/dist/cesium/Assets/Textures/maki/laundry.png +0 -0
- package/dist/cesium/Assets/Textures/maki/library.png +0 -0
- package/dist/cesium/Assets/Textures/maki/lighthouse.png +0 -0
- package/dist/cesium/Assets/Textures/maki/lodging.png +0 -0
- package/dist/cesium/Assets/Textures/maki/logging.png +0 -0
- package/dist/cesium/Assets/Textures/maki/london-underground.png +0 -0
- package/dist/cesium/Assets/Textures/maki/marker-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/marker.png +0 -0
- package/dist/cesium/Assets/Textures/maki/minefield.png +0 -0
- package/dist/cesium/Assets/Textures/maki/mobilephone.png +0 -0
- package/dist/cesium/Assets/Textures/maki/monument.png +0 -0
- package/dist/cesium/Assets/Textures/maki/museum.png +0 -0
- package/dist/cesium/Assets/Textures/maki/music.png +0 -0
- package/dist/cesium/Assets/Textures/maki/oil-well.png +0 -0
- package/dist/cesium/Assets/Textures/maki/park.png +0 -0
- package/dist/cesium/Assets/Textures/maki/park2.png +0 -0
- package/dist/cesium/Assets/Textures/maki/parking-garage.png +0 -0
- package/dist/cesium/Assets/Textures/maki/parking.png +0 -0
- package/dist/cesium/Assets/Textures/maki/pharmacy.png +0 -0
- package/dist/cesium/Assets/Textures/maki/pitch.png +0 -0
- package/dist/cesium/Assets/Textures/maki/place-of-worship.png +0 -0
- package/dist/cesium/Assets/Textures/maki/playground.png +0 -0
- package/dist/cesium/Assets/Textures/maki/police.png +0 -0
- package/dist/cesium/Assets/Textures/maki/polling-place.png +0 -0
- package/dist/cesium/Assets/Textures/maki/post.png +0 -0
- package/dist/cesium/Assets/Textures/maki/prison.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail-above.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail-light.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail-metro.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail-underground.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rail.png +0 -0
- package/dist/cesium/Assets/Textures/maki/religious-christian.png +0 -0
- package/dist/cesium/Assets/Textures/maki/religious-jewish.png +0 -0
- package/dist/cesium/Assets/Textures/maki/religious-muslim.png +0 -0
- package/dist/cesium/Assets/Textures/maki/restaurant.png +0 -0
- package/dist/cesium/Assets/Textures/maki/roadblock.png +0 -0
- package/dist/cesium/Assets/Textures/maki/rocket.png +0 -0
- package/dist/cesium/Assets/Textures/maki/school.png +0 -0
- package/dist/cesium/Assets/Textures/maki/scooter.png +0 -0
- package/dist/cesium/Assets/Textures/maki/shop.png +0 -0
- package/dist/cesium/Assets/Textures/maki/skiing.png +0 -0
- package/dist/cesium/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/dist/cesium/Assets/Textures/maki/soccer.png +0 -0
- package/dist/cesium/Assets/Textures/maki/square-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/square.png +0 -0
- package/dist/cesium/Assets/Textures/maki/star-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/star.png +0 -0
- package/dist/cesium/Assets/Textures/maki/suitcase.png +0 -0
- package/dist/cesium/Assets/Textures/maki/swimming.png +0 -0
- package/dist/cesium/Assets/Textures/maki/telephone.png +0 -0
- package/dist/cesium/Assets/Textures/maki/tennis.png +0 -0
- package/dist/cesium/Assets/Textures/maki/theatre.png +0 -0
- package/dist/cesium/Assets/Textures/maki/toilets.png +0 -0
- package/dist/cesium/Assets/Textures/maki/town-hall.png +0 -0
- package/dist/cesium/Assets/Textures/maki/town.png +0 -0
- package/dist/cesium/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/dist/cesium/Assets/Textures/maki/triangle.png +0 -0
- package/dist/cesium/Assets/Textures/maki/village.png +0 -0
- package/dist/cesium/Assets/Textures/maki/warehouse.png +0 -0
- package/dist/cesium/Assets/Textures/maki/waste-basket.png +0 -0
- package/dist/cesium/Assets/Textures/maki/water.png +0 -0
- package/dist/cesium/Assets/Textures/maki/wetland.png +0 -0
- package/dist/cesium/Assets/Textures/maki/zoo.png +0 -0
- package/dist/cesium/Assets/Textures/moonSmall.jpg +0 -0
- package/dist/cesium/Assets/Textures/pin.svg +1 -0
- package/dist/cesium/Assets/Textures/waterNormals.jpg +0 -0
- package/dist/cesium/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/dist/cesium/Assets/approximateTerrainHeights.json +1 -0
- package/dist/cesium/ThirdParty/Workers/package.json +1 -0
- package/dist/cesium/ThirdParty/Workers/zip-web-worker.js +1 -0
- package/dist/cesium/ThirdParty/basis_transcoder.wasm +0 -0
- package/dist/cesium/ThirdParty/draco_decoder.wasm +0 -0
- package/dist/cesium/ThirdParty/google-earth-dbroot-parser.js +1 -0
- package/dist/cesium/ThirdParty/wasm_splats_bg.wasm +0 -0
- package/dist/cesium/ThirdParty/zip-module.wasm +0 -0
- package/dist/cesium/Widgets/Animation/Animation.css +127 -0
- package/dist/cesium/Widgets/Animation/lighter.css +70 -0
- package/dist/cesium/Widgets/BaseLayerPicker/BaseLayerPicker.css +108 -0
- package/dist/cesium/Widgets/BaseLayerPicker/lighter.css +22 -0
- package/dist/cesium/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +102 -0
- package/dist/cesium/Widgets/CesiumInspector/CesiumInspector.css +113 -0
- package/dist/cesium/Widgets/CesiumWidget/CesiumWidget.css +119 -0
- package/dist/cesium/Widgets/CesiumWidget/lighter.css +14 -0
- package/dist/cesium/Widgets/FullscreenButton/FullscreenButton.css +8 -0
- package/dist/cesium/Widgets/Geocoder/Geocoder.css +70 -0
- package/dist/cesium/Widgets/Geocoder/lighter.css +17 -0
- package/dist/cesium/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/azureAerial.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/azureRoads.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/googleContour.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/googleRoadmap.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/googleSatellite.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/googleSatelliteLabels.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
- package/dist/cesium/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/Touch.svg +120 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
- package/dist/cesium/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
- package/dist/cesium/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
- package/dist/cesium/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
- package/dist/cesium/Widgets/Images/TimelineIcons.png +0 -0
- package/dist/cesium/Widgets/Images/info-loading.gif +0 -0
- package/dist/cesium/Widgets/InfoBox/InfoBox.css +92 -0
- package/dist/cesium/Widgets/InfoBox/InfoBoxDescription.css +178 -0
- package/dist/cesium/Widgets/NavigationHelpButton/NavigationHelpButton.css +93 -0
- package/dist/cesium/Widgets/NavigationHelpButton/lighter.css +38 -0
- package/dist/cesium/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
- package/dist/cesium/Widgets/ProjectionPicker/ProjectionPicker.css +38 -0
- package/dist/cesium/Widgets/SceneModePicker/SceneModePicker.css +56 -0
- package/dist/cesium/Widgets/SelectionIndicator/SelectionIndicator.css +20 -0
- package/dist/cesium/Widgets/Timeline/Timeline.css +103 -0
- package/dist/cesium/Widgets/Timeline/lighter.css +23 -0
- package/dist/cesium/Widgets/VRButton/VRButton.css +8 -0
- package/dist/cesium/Widgets/Viewer/Viewer.css +107 -0
- package/dist/cesium/Widgets/VoxelInspector/VoxelInspector.css +16 -0
- package/dist/cesium/Widgets/lighter.css +237 -0
- package/dist/cesium/Widgets/lighterShared.css +46 -0
- package/dist/cesium/Widgets/shared.css +103 -0
- package/dist/cesium/Widgets/widgets.css +1342 -0
- package/dist/cesium/Workers/chunk-23ZQ2IVV.js +29 -0
- package/dist/cesium/Workers/chunk-2EQO3Q56.js +26 -0
- package/dist/cesium/Workers/chunk-2MJIIVP4.js +26 -0
- package/dist/cesium/Workers/chunk-2TE5NTVD.js +26 -0
- package/dist/cesium/Workers/chunk-2ZBHLJST.js +26 -0
- package/dist/cesium/Workers/chunk-5TJMAQVL.js +26 -0
- package/dist/cesium/Workers/chunk-6BD4U3VO.js +26 -0
- package/dist/cesium/Workers/chunk-7TVGLKQF.js +26 -0
- package/dist/cesium/Workers/chunk-BTSYJ5XU.js +26 -0
- package/dist/cesium/Workers/chunk-BXMEEOCS.js +63 -0
- package/dist/cesium/Workers/chunk-BYLCY7GP.js +29 -0
- package/dist/cesium/Workers/chunk-CTHM3W6I.js +26 -0
- package/dist/cesium/Workers/chunk-CUUSNIVQ.js +26 -0
- package/dist/cesium/Workers/chunk-E3JOOS3S.js +26 -0
- package/dist/cesium/Workers/chunk-E7KYDCM5.js +26 -0
- package/dist/cesium/Workers/chunk-EDVBB7SS.js +27 -0
- package/dist/cesium/Workers/chunk-EFBN7QNX.js +26 -0
- package/dist/cesium/Workers/chunk-EQ4YRVWL.js +26 -0
- package/dist/cesium/Workers/chunk-F6PRE7D6.js +26 -0
- package/dist/cesium/Workers/chunk-FC4ZZ65J.js +26 -0
- package/dist/cesium/Workers/chunk-FFBVWF2L.js +26 -0
- package/dist/cesium/Workers/chunk-GBAA6GVX.js +26 -0
- package/dist/cesium/Workers/chunk-ICALLYLG.js +26 -0
- package/dist/cesium/Workers/chunk-ILRYTWTP.js +26 -0
- package/dist/cesium/Workers/chunk-IRNLBSEJ.js +26 -0
- package/dist/cesium/Workers/chunk-IX4VMHEV.js +26 -0
- package/dist/cesium/Workers/chunk-L6QHHACZ.js +26 -0
- package/dist/cesium/Workers/chunk-LI2ZSORM.js +26 -0
- package/dist/cesium/Workers/chunk-LSLE2RL4.js +26 -0
- package/dist/cesium/Workers/chunk-M4HLDBCG.js +26 -0
- package/dist/cesium/Workers/chunk-MJHHSGEH.js +26 -0
- package/dist/cesium/Workers/chunk-NMVKML6W.js +26 -0
- package/dist/cesium/Workers/chunk-OCWJRAXS.js +26 -0
- package/dist/cesium/Workers/chunk-OIRKANTH.js +26 -0
- package/dist/cesium/Workers/chunk-OIT7J4IC.js +26 -0
- package/dist/cesium/Workers/chunk-OLZ3FYUM.js +26 -0
- package/dist/cesium/Workers/chunk-Q5BPHJQF.js +26 -0
- package/dist/cesium/Workers/chunk-QFM5DCMQ.js +26 -0
- package/dist/cesium/Workers/chunk-QKUIYMGC.js +28 -0
- package/dist/cesium/Workers/chunk-S44JILQT.js +26 -0
- package/dist/cesium/Workers/chunk-SLT4J352.js +26 -0
- package/dist/cesium/Workers/chunk-SQMIIXB7.js +26 -0
- package/dist/cesium/Workers/chunk-TJ4XLGBQ.js +26 -0
- package/dist/cesium/Workers/chunk-TNSUQXWK.js +27 -0
- package/dist/cesium/Workers/chunk-UBOGZS7F.js +26 -0
- package/dist/cesium/Workers/chunk-V3OSTMM6.js +26 -0
- package/dist/cesium/Workers/chunk-V7QEYVP3.js +26 -0
- package/dist/cesium/Workers/chunk-VUKYSU4H.js +26 -0
- package/dist/cesium/Workers/chunk-W37FE5GR.js +26 -0
- package/dist/cesium/Workers/chunk-WBOV35NL.js +26 -0
- package/dist/cesium/Workers/chunk-WPMZLB3Y.js +26 -0
- package/dist/cesium/Workers/chunk-WWWZVEEH.js +26 -0
- package/dist/cesium/Workers/chunk-XFIQ5DEQ.js +28 -0
- package/dist/cesium/Workers/chunk-XQHLGIO7.js +26 -0
- package/dist/cesium/Workers/chunk-XUSCFAVF.js +26 -0
- package/dist/cesium/Workers/chunk-YP7I5QBZ.js +26 -0
- package/dist/cesium/Workers/chunk-Z3QF2EHT.js +26 -0
- package/dist/cesium/Workers/combineGeometry.js +26 -0
- package/dist/cesium/Workers/createBoxGeometry.js +26 -0
- package/dist/cesium/Workers/createBoxOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createCircleGeometry.js +26 -0
- package/dist/cesium/Workers/createCircleOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createCoplanarPolygonGeometry.js +26 -0
- package/dist/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createCorridorGeometry.js +26 -0
- package/dist/cesium/Workers/createCorridorOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createCylinderGeometry.js +26 -0
- package/dist/cesium/Workers/createCylinderOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createEllipseGeometry.js +26 -0
- package/dist/cesium/Workers/createEllipseOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createEllipsoidGeometry.js +26 -0
- package/dist/cesium/Workers/createEllipsoidOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createFrustumGeometry.js +26 -0
- package/dist/cesium/Workers/createFrustumOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createGeometry.js +26 -0
- package/dist/cesium/Workers/createGroundPolylineGeometry.js +26 -0
- package/dist/cesium/Workers/createPlaneGeometry.js +26 -0
- package/dist/cesium/Workers/createPlaneOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createPolygonGeometry.js +26 -0
- package/dist/cesium/Workers/createPolygonOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createPolylineGeometry.js +26 -0
- package/dist/cesium/Workers/createPolylineVolumeGeometry.js +26 -0
- package/dist/cesium/Workers/createPolylineVolumeOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createRectangleGeometry.js +26 -0
- package/dist/cesium/Workers/createRectangleOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createSimplePolylineGeometry.js +26 -0
- package/dist/cesium/Workers/createSphereGeometry.js +26 -0
- package/dist/cesium/Workers/createSphereOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/createTaskProcessorWorker.js +26 -0
- package/dist/cesium/Workers/createVectorTileClampedPolylines.js +26 -0
- package/dist/cesium/Workers/createVectorTileGeometries.js +26 -0
- package/dist/cesium/Workers/createVectorTilePoints.js +26 -0
- package/dist/cesium/Workers/createVectorTilePolygons.js +26 -0
- package/dist/cesium/Workers/createVectorTilePolylines.js +26 -0
- package/dist/cesium/Workers/createVerticesFromCesium3DTilesTerrain.js +26 -0
- package/dist/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +26 -0
- package/dist/cesium/Workers/createVerticesFromHeightmap.js +26 -0
- package/dist/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +26 -0
- package/dist/cesium/Workers/createWallGeometry.js +26 -0
- package/dist/cesium/Workers/createWallOutlineGeometry.js +26 -0
- package/dist/cesium/Workers/decodeDraco.js +26 -0
- package/dist/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +26 -0
- package/dist/cesium/Workers/decodeI3S.js +26 -0
- package/dist/cesium/Workers/gaussianSplatSorter.js +26 -0
- package/dist/cesium/Workers/gaussianSplatTextureGenerator.js +26 -0
- package/dist/cesium/Workers/incrementallyBuildTerrainPicker.js +26 -0
- package/dist/cesium/Workers/transcodeKTX2.js +56 -0
- package/dist/cesium/Workers/transferTypedArrayTest.js +26 -0
- package/dist/cesium/Workers/upsampleQuantizedTerrainMesh.js +26 -0
- package/dist/cesium/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +26 -0
- package/dist/index.html +13 -2
- package/package.json +27 -19
- package/src/App.tsx +1 -17
- package/src/components/viewer/BCFPanel.tsx +46 -4
- package/src/components/viewer/CesiumOverlay.tsx +672 -0
- package/src/components/viewer/CesiumSettingsDialog.tsx +100 -0
- package/src/components/viewer/ChatPanel.tsx +54 -16
- package/src/components/viewer/CommandPalette.tsx +6 -1
- package/src/components/viewer/DesktopEntitlementBanner.tsx +74 -0
- package/src/components/viewer/ExportChangesButton.tsx +24 -4
- package/src/components/viewer/ExportDialog.tsx +38 -9
- package/src/components/viewer/HierarchyPanel.tsx +202 -6
- package/src/components/viewer/IDSPanel.tsx +52 -3
- package/src/components/viewer/KeyboardShortcutsDialog.tsx +1 -1
- package/src/components/viewer/MainToolbar.tsx +353 -27
- package/src/components/viewer/PropertiesPanel.tsx +306 -131
- package/src/components/viewer/ScriptPanel.tsx +34 -8
- package/src/components/viewer/Section2DPanel.tsx +3 -2
- package/src/components/viewer/SettingsPage.tsx +430 -0
- package/src/components/viewer/StatusBar.tsx +17 -1
- package/src/components/viewer/UpgradePage.tsx +6 -4
- package/src/components/viewer/ViewerLayout.tsx +47 -6
- package/src/components/viewer/Viewport.tsx +49 -8
- package/src/components/viewer/ViewportContainer.tsx +285 -32
- package/src/components/viewer/ViewportOverlays.tsx +129 -27
- package/src/components/viewer/hierarchy/treeDataBuilder.ts +2 -1
- package/src/components/viewer/properties/EpsgLookupDialog.tsx +418 -0
- package/src/components/viewer/properties/GeoreferencingPanel.tsx +703 -0
- package/src/components/viewer/properties/LocationMap.tsx +730 -0
- package/src/components/viewer/properties/ModelMetadataPanel.tsx +3 -70
- package/src/components/viewer/selectionHandlers.ts +4 -3
- package/src/components/viewer/useAnimationLoop.ts +4 -0
- package/src/components/viewer/useGeometryStreaming.ts +127 -40
- package/src/components/viewer/useMouseControls.ts +4 -1
- package/src/hooks/bcfIdLookup.ts +13 -11
- package/src/hooks/ids/idsColorSystem.ts +3 -8
- package/src/hooks/ingest/viewerModelIngest.ts +275 -0
- package/src/hooks/useIDS.ts +32 -17
- package/src/hooks/useIfc.ts +7 -1
- package/src/hooks/useIfcCache.ts +28 -15
- package/src/hooks/useIfcFederation.ts +59 -227
- package/src/hooks/useIfcLoader.ts +1656 -130
- package/src/hooks/useIfcServer.ts +0 -69
- package/src/lib/desktop/ClerkDesktopEntitlementSync.tsx +175 -0
- package/src/lib/desktop/desktopEntitlementEvents.ts +39 -0
- package/src/lib/desktop-entitlement.ts +45 -0
- package/src/lib/desktop-product.ts +124 -0
- package/src/lib/geo/cesium-bridge.ts +310 -0
- package/src/lib/geo/kmz-exporter.ts +112 -0
- package/src/lib/geo/reproject.ts +370 -0
- package/src/lib/lens/adapter.ts +3 -1
- package/src/lib/recent-files.ts +2 -1
- package/src/main.tsx +1 -0
- package/src/sdk/adapters/export-adapter.ts +14 -1
- package/src/sdk/adapters/viewer-adapter.ts +5 -9
- package/src/sdk/adapters/visibility-adapter.ts +6 -9
- package/src/services/analysis-extensions.ts +125 -0
- package/src/services/app-navigation.ts +13 -0
- package/src/services/bsdd.ts +53 -4
- package/src/services/cacheService.ts +1 -1
- package/src/services/desktop-cache.ts +43 -0
- package/src/services/desktop-export.ts +77 -0
- package/src/services/desktop-harness.ts +196 -0
- package/src/services/desktop-logger.ts +20 -0
- package/src/services/desktop-native-metadata.ts +207 -0
- package/src/services/desktop-panel-actions.ts +43 -0
- package/src/services/desktop-preferences.ts +44 -0
- package/src/services/file-dialog.ts +147 -0
- package/src/services/tauri-core-stub.ts +7 -0
- package/src/services/tauri-dialog-stub.ts +7 -0
- package/src/services/tauri-fs-stub.ts +7 -0
- package/src/store/basketVisibleSet.ts +3 -4
- package/src/store/globalId.ts +79 -0
- package/src/store/index.ts +41 -2
- package/src/store/slices/cesiumSlice.ts +122 -0
- package/src/store/slices/chatSlice.ts +5 -1
- package/src/store/slices/dataSlice.ts +139 -28
- package/src/store/slices/desktopEntitlementSlice.ts +86 -0
- package/src/store/slices/loadingSlice.ts +14 -2
- package/src/store/slices/modelSlice.ts +58 -3
- package/src/store/slices/mutationSlice.ts +178 -0
- package/src/store/slices/pinboardSlice.ts +4 -8
- package/src/store/types.ts +96 -2
- package/src/store.ts +1 -1
- package/src/utils/desktopModelSnapshot.ts +358 -0
- package/src/utils/ifcConfig.ts +6 -1
- package/src/utils/nativeSpatialDataStore.ts +250 -0
- package/src/utils/serverDataModel.ts +4 -0
- package/src/utils/spatialHierarchy.ts +10 -11
- package/vite.config.ts +41 -0
- package/dist/assets/Arrow.dom-BhOg9lpn.js +0 -20
- package/dist/assets/arrow2_bg-BlXl-cSQ.js +0 -1
- package/dist/assets/basketViewActivator-BRG5DBmM.js +0 -1
- package/dist/assets/desktop-cache-oPzaWXYE.js +0 -1
- package/dist/assets/geometry.worker-kgiT_Qhh.js +0 -1
- package/dist/assets/ifc-lite_bg-FNRmpSvM.wasm +0 -0
- package/dist/assets/index-B1Ecw4AU.js +0 -189756
- package/dist/assets/index-Ba4eoTe7.css +0 -1
- package/dist/assets/index-CrgYBjTn.js +0 -229
- package/dist/assets/module-6F3E5H7Y-tx0BadV3.js +0 -6
- package/dist/assets/native-bridge-Crsb7TKz.js +0 -111
- package/dist/assets/wasm-bridge-mJUhb7uk.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e;function g(n){B===y.length&&y.push(y.length+1);const t=B;return B=y[t],y[t]=n,t}const ht=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>n.dtor(n.a,n.b));function Zt(n){n<132||(y[n]=B,B=n)}function I(n,t){return n=n>>>0,Xt().subarray(n/4,n/4+t)}function T(n,t){return n=n>>>0,qt().subarray(n/8,n/8+t)}function Dt(n,t){return n=n>>>0,Tt().subarray(n/4,n/4+t)}let x=null;function o(){return(x===null||x.buffer.detached===!0||x.buffer.detached===void 0&&x.buffer!==e.memory.buffer)&&(x=new DataView(e.memory.buffer)),x}let k=null;function Xt(){return(k===null||k.byteLength===0)&&(k=new Float32Array(e.memory.buffer)),k}let P=null;function qt(){return(P===null||P.byteLength===0)&&(P=new Float64Array(e.memory.buffer)),P}function l(n,t){return n=n>>>0,Kt(n,t)}let L=null;function Tt(){return(L===null||L.byteLength===0)&&(L=new Uint32Array(e.memory.buffer)),L}let D=null;function E(){return(D===null||D.byteLength===0)&&(D=new Uint8Array(e.memory.buffer)),D}function p(n){return y[n]}function A(n,t){try{return n.apply(this,t)}catch(r){e.__wbindgen_export(g(r))}}let y=new Array(128).fill(void 0);y.push(void 0,null,!0,!1);let B=y.length;function v(n){return n==null}function Jt(n,t,r,_){const s={a:n,b:t,cnt:1,dtor:r},i=(...a)=>{s.cnt++;const c=s.a;s.a=0;try{return _(c,s.b,...a)}finally{s.a=c,i._wbg_cb_unref()}};return i._wbg_cb_unref=()=>{--s.cnt===0&&(s.dtor(s.a,s.b),s.a=0,ht.unregister(s))},ht.register(i,s,s),i}function M(n,t){const r=t(n.length*4,4)>>>0;return Tt().set(n,r/4),b=n.length,r}function C(n,t){const r=t(n.length*1,1)>>>0;return E().set(n,r/1),b=n.length,r}function u(n,t,r){if(r===void 0){const c=G.encode(n),d=t(c.length,1)>>>0;return E().subarray(d,d+c.length).set(c),b=c.length,d}let _=n.length,s=t(_,1)>>>0;const i=E();let a=0;for(;a<_;a++){const c=n.charCodeAt(a);if(c>127)break;i[s+a]=c}if(a!==_){a!==0&&(n=n.slice(a)),s=r(s,_,_=a+n.length*3,1)>>>0;const c=E().subarray(s+a,s+_),d=G.encodeInto(n,c);a+=d.written,s=r(s,_,a,1)>>>0}return b=a,s}function w(n){const t=p(n);return Zt(n),t}let ct=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});ct.decode();const Ht=2146435072;let ut=0;function Kt(n,t){return ut+=t,ut>=Ht&&(ct=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),ct.decode(),ut=t),ct.decode(E().subarray(n,n+t))}const G=new TextEncoder;"encodeInto"in G||(G.encodeInto=function(n,t){const r=G.encode(n);return t.set(r),{read:n.length,written:r.length}});let b=0;function Qt(n,t,r){e.__wasm_bindgen_func_elem_1127(n,t,g(r))}function $t(n,t,r,_){e.__wasm_bindgen_func_elem_1167(n,t,g(r),g(_))}const mt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_georeferencejs_free(n>>>0,1)),dt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_gpugeometry_free(n>>>0,1)),lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_gpuinstancedgeometry_free(n>>>0,1)),ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_gpuinstancedgeometrycollection_free(n>>>0,1)),xt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_gpuinstancedgeometryref_free(n>>>0,1)),It=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_gpumeshmetadata_free(n>>>0,1)),jt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_ifcapi_free(n>>>0,1)),vt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_instancedata_free(n>>>0,1)),Ft=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_instancedgeometry_free(n>>>0,1)),Rt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_instancedmeshcollection_free(n>>>0,1)),zt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_meshcollection_free(n>>>0,1)),St=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_meshcollectionwithrtc_free(n>>>0,1)),Ot=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_meshdatajs_free(n>>>0,1)),At=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_profilecollection_free(n>>>0,1)),Mt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_profileentryjs_free(n>>>0,1)),Ct=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_rtcoffsetjs_free(n>>>0,1)),kt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_symboliccircle_free(n>>>0,1)),Pt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_symbolicpolyline_free(n>>>0,1)),Lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_symbolicrepresentationcollection_free(n>>>0,1)),yt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(n=>e.__wbg_zerocopymesh_free(n>>>0,1));class U{static __wrap(t){t=t>>>0;const r=Object.create(U.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_georeferencejs_free(t,0)}localToMap(t,r,_){try{const c=e.__wbindgen_add_to_stack_pointer(-16);e.georeferencejs_localToMap(c,this.__wbg_ptr,t,r,_);var s=o().getInt32(c+4*0,!0),i=o().getInt32(c+4*1,!0),a=T(s,i).slice();return e.__wbindgen_export2(s,i*8,8),a}finally{e.__wbindgen_add_to_stack_pointer(16)}}mapToLocal(t,r,_){try{const c=e.__wbindgen_add_to_stack_pointer(-16);e.georeferencejs_mapToLocal(c,this.__wbg_ptr,t,r,_);var s=o().getInt32(c+4*0,!0),i=o().getInt32(c+4*1,!0),a=T(s,i).slice();return e.__wbindgen_export2(s,i*8,8),a}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(_+4*0,!0),r=o().getInt32(_+4*1,!0);let s;return t!==0&&(s=l(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+4*0,!0),r=o().getInt32(s+4*1,!0),_=T(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&&(U.prototype[Symbol.dispose]=U.prototype.free);class F{static __wrap(t){t=t>>>0;const r=Object.create(F.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_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+4*0,!0),_=o().getInt32(s+4*1,!0);let i;return r!==0&&(i=l(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:Z.__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,dt.register(this,this.__wbg_ptr,this),this}get isEmpty(){return e.gpugeometry_isEmpty(this.__wbg_ptr)!==0}}Symbol.dispose&&(F.prototype[Symbol.dispose]=F.prototype.free);class N{static __wrap(t){t=t>>>0;const r=Object.create(N.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_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,lt.register(this,this.__wbg_ptr,this),this}}Symbol.dispose&&(N.prototype[Symbol.dispose]=N.prototype.free);class V{static __wrap(t){t=t>>>0;const r=Object.create(V.prototype);return r.__wbg_ptr=t,ft.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,ft.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,ft.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:Y.__wrap(r)}}Symbol.dispose&&(V.prototype[Symbol.dispose]=V.prototype.free);class Y{static __wrap(t){t=t>>>0;const r=Object.create(Y.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_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&&(Y.prototype[Symbol.dispose]=Y.prototype.free);class Z{static __wrap(t){t=t>>>0;const r=Object.create(Z.prototype);return r.__wbg_ptr=t,It.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,It.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+4*0,!0),r=o().getInt32(s+4*1,!0),_=I(t,r).slice();return e.__wbindgen_export2(t,r*4,4),_}finally{e.__wbindgen_add_to_stack_pointer(16)}}}Symbol.dispose&&(Z.prototype[Symbol.dispose]=Z.prototype.free);class W{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,jt.unregister(this),t}free(){const t=this.__destroy_into_raw();e.__wbg_ifcapi_free(t,0)}parseMeshes(t){const r=u(t,e.__wbindgen_export3,e.__wbindgen_export4),_=b,s=e.ifcapi_parseMeshes(this.__wbg_ptr,r,_);return m.__wrap(s)}parseMeshesAsync(t,r){const _=u(t,e.__wbindgen_export3,e.__wbindgen_export4),s=b,i=e.ifcapi_parseMeshesAsync(this.__wbg_ptr,_,s,g(r));return w(i)}buildPrePassFast(t){const r=C(t,e.__wbindgen_export3),_=b,s=e.ifcapi_buildPrePassFast(this.__wbg_ptr,r,_);return w(s)}buildPrePassOnce(t){const r=C(t,e.__wbindgen_export3),_=b,s=e.ifcapi_buildPrePassOnce(this.__wbg_ptr,r,_);return w(s)}parseMeshesSubset(t,r,_,s){const i=u(t,e.__wbindgen_export3,e.__wbindgen_export4),a=b,c=e.ifcapi_parseMeshesSubset(this.__wbg_ptr,i,a,r,_,s);return m.__wrap(c)}parseToGpuGeometry(t){const r=u(t,e.__wbindgen_export3,e.__wbindgen_export4),_=b,s=e.ifcapi_parseToGpuGeometry(this.__wbg_ptr,r,_);return F.__wrap(s)}parseMeshesInstanced(t){const r=u(t,e.__wbindgen_export3,e.__wbindgen_export4),_=b,s=e.ifcapi_parseMeshesInstanced(this.__wbg_ptr,r,_);return q.__wrap(s)}processGeometryBatch(t,r,_,s,i,a,c,d,at,pt,bt,wt){const nt=C(t,e.__wbindgen_export3),z=b,S=M(r,e.__wbindgen_export3),_t=b,O=M(d,e.__wbindgen_export3),f=b,st=M(at,e.__wbindgen_export3),it=b,ot=M(pt,e.__wbindgen_export3),Gt=b,Wt=M(bt,e.__wbindgen_export3),Ut=b,Nt=C(wt,e.__wbindgen_export3),Vt=b,Yt=e.ifcapi_processGeometryBatch(this.__wbg_ptr,nt,z,S,_t,_,s,i,a,c,O,f,st,it,ot,Gt,Wt,Ut,Nt,Vt);return m.__wrap(Yt)}parseToGpuGeometryAsync(t,r){const _=u(t,e.__wbindgen_export3,e.__wbindgen_export4),s=b,i=e.ifcapi_parseToGpuGeometryAsync(this.__wbg_ptr,_,s,g(r));return w(i)}parseMeshesInstancedAsync(t,r){const _=u(t,e.__wbindgen_export3,e.__wbindgen_export4),s=b,i=e.ifcapi_parseMeshesInstancedAsync(this.__wbg_ptr,_,s,g(r));return w(i)}parseToGpuInstancedGeometry(t){const r=u(t,e.__wbindgen_export3,e.__wbindgen_export4),_=b,s=e.ifcapi_parseToGpuInstancedGeometry(this.__wbg_ptr,r,_);return V.__wrap(s)}parseZeroCopy(t){const r=u(t,e.__wbindgen_export3,e.__wbindgen_export4),_=b,s=e.ifcapi_parseZeroCopy(this.__wbg_ptr,r,_);return rt.__wrap(s)}extractProfiles(t,r){const _=u(t,e.__wbindgen_export3,e.__wbindgen_export4),s=b,i=e.ifcapi_extractProfiles(this.__wbg_ptr,_,s,r);return H.__wrap(i)}debugProcessEntity953(t){let r,_;try{const a=e.__wbindgen_add_to_stack_pointer(-16),c=u(t,e.__wbindgen_export3,e.__wbindgen_export4),d=b;e.ifcapi_debugProcessEntity953(a,this.__wbg_ptr,c,d);var s=o().getInt32(a+4*0,!0),i=o().getInt32(a+4*1,!0);return r=s,_=i,l(s,i)}finally{e.__wbindgen_add_to_stack_pointer(16),e.__wbindgen_export2(r,_,1)}}debugProcessFirstWall(t){let r,_;try{const a=e.__wbindgen_add_to_stack_pointer(-16),c=u(t,e.__wbindgen_export3,e.__wbindgen_export4),d=b;e.ifcapi_debugProcessFirstWall(a,this.__wbg_ptr,c,d);var s=o().getInt32(a+4*0,!0),i=o().getInt32(a+4*1,!0);return r=s,_=i,l(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 w(t)}constructor(){const t=e.ifcapi_new();return this.__wbg_ptr=t>>>0,jt.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+4*0,!0),s=o().getInt32(i+4*1,!0);return t=_,r=s,l(_,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=u(t,e.__wbindgen_export3,e.__wbindgen_export4),_=b,s=e.ifcapi_getGeoReference(this.__wbg_ptr,r,_);return s===0?void 0:U.__wrap(s)}parseMeshesWithRtc(t){const r=u(t,e.__wbindgen_export3,e.__wbindgen_export4),_=b,s=e.ifcapi_parseMeshesWithRtc(this.__wbg_ptr,r,_);return J.__wrap(s)}parseStreaming(t,r){const _=u(t,e.__wbindgen_export3,e.__wbindgen_export4),s=b,i=e.ifcapi_parseStreaming(this.__wbg_ptr,_,s,g(r));return w(i)}scanEntitiesFast(t){const r=u(t,e.__wbindgen_export3,e.__wbindgen_export4),_=b,s=e.ifcapi_scanEntitiesFast(this.__wbg_ptr,r,_);return w(s)}scanEntitiesFastBytes(t){const r=C(t,e.__wbindgen_export3),_=b,s=e.ifcapi_scanEntitiesFastBytes(this.__wbg_ptr,r,_);return w(s)}scanGeometryEntitiesFast(t){const r=u(t,e.__wbindgen_export3,e.__wbindgen_export4),_=b,s=e.ifcapi_scanGeometryEntitiesFast(this.__wbg_ptr,r,_);return w(s)}parse(t){const r=u(t,e.__wbindgen_export3,e.__wbindgen_export4),_=b,s=e.ifcapi_parse(this.__wbg_ptr,r,_);return w(s)}parseSymbolicRepresentations(t){const r=u(t,e.__wbindgen_export3,e.__wbindgen_export4),_=b,s=e.ifcapi_parseSymbolicRepresentations(this.__wbg_ptr,r,_);return et.__wrap(s)}}Symbol.dispose&&(W.prototype[Symbol.dispose]=W.prototype.free);class X{static __wrap(t){t=t>>>0;const r=Object.create(X.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_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+4*0,!0),r=o().getInt32(s+4*1,!0),_=I(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 w(t)}}Symbol.dispose&&(X.prototype[Symbol.dispose]=X.prototype.free);class R{static __wrap(t){t=t>>>0;const r=Object.create(R.prototype);return r.__wbg_ptr=t,Ft.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,Ft.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:X.__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 w(t)}get normals(){const t=e.instancedgeometry_normals(this.__wbg_ptr);return w(t)}get positions(){const t=e.instancedgeometry_positions(this.__wbg_ptr);return w(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,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_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:R.__wrap(r)}get length(){return e.gpuinstancedgeometrycollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(q.prototype[Symbol.dispose]=q.prototype.free);class m{static __wrap(t){t=t>>>0;const r=Object.create(m.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_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 c=e.__wbindgen_add_to_stack_pointer(-16);e.meshcollection_localToWorld(c,this.__wbg_ptr,t,r,_);var s=o().getInt32(c+4*0,!0),i=o().getInt32(c+4*1,!0),a=T(s,i).slice();return e.__wbindgen_export2(s,i*8,8),a}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(_+4*0,!0),r=o().getFloat64(_+8*1,!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:j.__wrap(r)}get length(){return e.meshcollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(m.prototype[Symbol.dispose]=m.prototype.free);class J{static __wrap(t){t=t>>>0;const r=Object.create(J.prototype);return r.__wbg_ptr=t,St.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,St.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 Q.__wrap(t)}get(t){const r=e.meshcollectionwithrtc_get(this.__wbg_ptr,t);return r===0?void 0:j.__wrap(r)}get length(){return e.meshcollection_length(this.__wbg_ptr)>>>0}get meshes(){const t=e.meshcollectionwithrtc_meshes(this.__wbg_ptr);return m.__wrap(t)}}Symbol.dispose&&(J.prototype[Symbol.dispose]=J.prototype.free);class j{static __wrap(t){t=t>>>0;const r=Object.create(j.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_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 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+4*0,!0),r=o().getInt32(s+4*1,!0),_=I(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 w(t)}get normals(){const t=e.meshdatajs_normals(this.__wbg_ptr);return w(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+4*0,!0),s=o().getInt32(i+4*1,!0);return t=_,r=s,l(_,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 w(t)}}Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);class H{static __wrap(t){t=t>>>0;const r=Object.create(H.prototype);return r.__wbg_ptr=t,At.register(r,r.__wbg_ptr,r),r}__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_profilecollection_free(t,0)}get(t){const r=e.profilecollection_get(this.__wbg_ptr,t);return r===0?void 0:K.__wrap(r)}get length(){return e.profilecollection_length(this.__wbg_ptr)>>>0}}Symbol.dispose&&(H.prototype[Symbol.dispose]=H.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_profileentryjs_free(t,0)}get expressId(){return e.meshdatajs_expressId(this.__wbg_ptr)>>>0}get holeCounts(){const t=e.profileentryjs_holeCounts(this.__wbg_ptr);return w(t)}get holePoints(){const t=e.profileentryjs_holePoints(this.__wbg_ptr);return w(t)}get modelIndex(){return e.profileentryjs_modelIndex(this.__wbg_ptr)>>>0}get outerPoints(){const t=e.profileentryjs_outerPoints(this.__wbg_ptr);return w(t)}get extrusionDir(){const t=e.profileentryjs_extrusionDir(this.__wbg_ptr);return w(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+4*0,!0),s=o().getInt32(i+4*1,!0);return t=_,r=s,l(_,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 w(t)}}Symbol.dispose&&(K.prototype[Symbol.dispose]=K.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_rtcoffsetjs_free(t,0)}isSignificant(){return e.rtcoffsetjs_isSignificant(this.__wbg_ptr)!==0}toWorld(t,r,_){try{const c=e.__wbindgen_add_to_stack_pointer(-16);e.rtcoffsetjs_toWorld(c,this.__wbg_ptr,t,r,_);var s=o().getInt32(c+4*0,!0),i=o().getInt32(c+4*1,!0),a=T(s,i).slice();return e.__wbindgen_export2(s,i*8,8),a}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&&(Q.prototype[Symbol.dispose]=Q.prototype.free);class ${static __wrap(t){t=t>>>0;const r=Object.create($.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_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+4*0,!0),s=o().getInt32(i+4*1,!0);return t=_,r=s,l(_,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 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+4*0,!0),s=o().getInt32(i+4*1,!0);return t=_,r=s,l(_,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&&($.prototype[Symbol.dispose]=$.prototype.free);class tt{static __wrap(t){t=t>>>0;const r=Object.create(tt.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_symbolicpolyline_free(t,0)}get expressId(){return e.symbolicpolyline_expressId(this.__wbg_ptr)>>>0}get pointCount(){return e.symbolicpolyline_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+4*0,!0),s=o().getInt32(i+4*1,!0);return t=_,r=s,l(_,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 w(t)}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+4*0,!0),s=o().getInt32(i+4*1,!0);return t=_,r=s,l(_,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&&(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,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_symbolicrepresentationcollection_free(t,0)}getCircle(t){const r=e.symbolicrepresentationcollection_getCircle(this.__wbg_ptr,t);return r===0?void 0:$.__wrap(r)}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:tt.__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+4*0,!0),r=o().getInt32(s+4*1,!0),_=Dt(t,r).slice();return e.__wbindgen_export2(t,r*4,4),_}finally{e.__wbindgen_add_to_stack_pointer(16)}}get isEmpty(){return e.symbolicrepresentationcollection_isEmpty(this.__wbg_ptr)!==0}}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,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_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+4*0,!0),r=o().getInt32(s+4*1,!0),_=I(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+4*0,!0),r=o().getInt32(s+4*1,!0),_=I(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,yt.register(this,this.__wbg_ptr,this),this}get is_empty(){return e.zerocopymesh_is_empty(this.__wbg_ptr)!==0}}Symbol.dispose&&(rt.prototype[Symbol.dispose]=rt.prototype.free);const te=new Set(["basic","cors","default"]);async function ee(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&&te.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 Et(){const n={};return n.wbg={},n.wbg.__wbg_Error_52673b7de5a0ca89=function(t,r){const _=Error(l(t,r));return g(_)},n.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd=function(t){return typeof p(t)=="function"},n.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269=function(t){return p(t)===void 0},n.wbg.__wbg___wbindgen_memory_a342e963fbcabd68=function(){const t=e.memory;return g(t)},n.wbg.__wbg___wbindgen_number_get_9619185a74197f95=function(t,r){const _=p(r),s=typeof _=="number"?_:void 0;o().setFloat64(t+8*1,v(s)?0:s,!0),o().setInt32(t+4*0,!v(s),!0)},n.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e=function(t,r){throw new Error(l(t,r))},n.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7=function(t){p(t)._wbg_cb_unref()},n.wbg.__wbg_call_3020136f7a2d6e44=function(){return A(function(t,r,_){const s=p(t).call(p(r),p(_));return g(s)},arguments)},n.wbg.__wbg_call_abb4ff46ce38be40=function(){return A(function(t,r){const _=p(t).call(p(r));return g(_)},arguments)},n.wbg.__wbg_call_c8baa5c5e72d274e=function(){return A(function(t,r,_,s){const i=p(t).call(p(r),p(_),p(s));return g(i)},arguments)},n.wbg.__wbg_debug_9d0c87ddda3dc485=function(t){console.debug(p(t))},n.wbg.__wbg_error_7534b8e9a36f1ab4=function(t,r){let _,s;try{_=t,s=r,console.error(l(t,r))}finally{e.__wbindgen_export2(_,s,1)}},n.wbg.__wbg_get_af9dab7e9603ea93=function(){return A(function(t,r){const _=Reflect.get(p(t),p(r));return g(_)},arguments)},n.wbg.__wbg_gpugeometry_new=function(t){const r=F.__wrap(t);return g(r)},n.wbg.__wbg_instancedgeometry_new=function(t){const r=R.__wrap(t);return g(r)},n.wbg.__wbg_length_86ce4877baf913bb=function(t){return p(t).length},n.wbg.__wbg_length_d45040a40c570362=function(t){return p(t).length},n.wbg.__wbg_meshdatajs_new=function(t){const r=j.__wrap(t);return g(r)},n.wbg.__wbg_new_1ba21ce319a06297=function(){const t=new Object;return g(t)},n.wbg.__wbg_new_25f239778d6112b9=function(){const t=new Array;return g(t)},n.wbg.__wbg_new_8a6f238a6ece86ea=function(){const t=new Error;return g(t)},n.wbg.__wbg_new_ff12d2b041fb48f1=function(t,r){try{var _={a:t,b:r},s=(a,c)=>{const d=_.a;_.a=0;try{return $t(d,_.b,a,c)}finally{_.a=d}};const i=new Promise(s);return g(i)}finally{_.a=_.b=0}},n.wbg.__wbg_new_from_slice_41e2764a343e3cb1=function(t,r){const _=new Float32Array(I(t,r));return g(_)},n.wbg.__wbg_new_from_slice_db0691b69e9d3891=function(t,r){const _=new Uint32Array(Dt(t,r));return g(_)},n.wbg.__wbg_new_no_args_cb138f77cf6151ee=function(t,r){const _=new Function(l(t,r));return g(_)},n.wbg.__wbg_new_with_length_202b3db94ba5fc86=function(t){const r=new Uint32Array(t>>>0);return g(r)},n.wbg.__wbg_new_with_length_806b9e5b8290af7c=function(t){const r=new Float64Array(t>>>0);return g(r)},n.wbg.__wbg_new_with_length_aa5eaf41d35235e5=function(t){const r=new Uint8Array(t>>>0);return g(r)},n.wbg.__wbg_prototypesetcall_96cc7097487b926d=function(t,r,_){Float32Array.prototype.set.call(I(t,r),p(_))},n.wbg.__wbg_push_7d9be8f38fc13975=function(t,r){return p(t).push(p(r))},n.wbg.__wbg_queueMicrotask_9b549dfce8865860=function(t){const r=p(t).queueMicrotask;return g(r)},n.wbg.__wbg_queueMicrotask_fca69f5bfad613a5=function(t){queueMicrotask(p(t))},n.wbg.__wbg_resolve_fd5bfbaa4ce36e1e=function(t){const r=Promise.resolve(p(t));return g(r)},n.wbg.__wbg_set_3f1d0b984ed272ed=function(t,r,_){p(t)[w(r)]=w(_)},n.wbg.__wbg_set_781438a03c0c3c81=function(){return A(function(t,r,_){return Reflect.set(p(t),p(r),p(_))},arguments)},n.wbg.__wbg_set_7df433eea03a5c14=function(t,r,_){p(t)[r>>>0]=w(_)},n.wbg.__wbg_set_index_021489b2916af13e=function(t,r,_){p(t)[r>>>0]=_},n.wbg.__wbg_set_index_04c4b93e64d08a52=function(t,r,_){p(t)[r>>>0]=_},n.wbg.__wbg_set_index_42abe35f117e614e=function(t,r,_){p(t)[r>>>0]=_>>>0},n.wbg.__wbg_stack_0ed75d68575b0f3c=function(t,r){const _=p(r).stack,s=u(_,e.__wbindgen_export3,e.__wbindgen_export4),i=b;o().setInt32(t+4*1,i,!0),o().setInt32(t+4*0,s,!0)},n.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335=function(){const t=typeof global>"u"?null:global;return v(t)?0:g(t)},n.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1=function(){const t=typeof globalThis>"u"?null:globalThis;return v(t)?0:g(t)},n.wbg.__wbg_static_accessor_SELF_08f5a74c69739274=function(){const t=typeof self>"u"?null:self;return v(t)?0:g(t)},n.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024=function(){const t=typeof window>"u"?null:window;return v(t)?0:g(t)},n.wbg.__wbg_then_4f95312d68691235=function(t,r){const _=p(t).then(p(r));return g(_)},n.wbg.__wbg_warn_6e567d0d926ff881=function(t){console.warn(p(t))},n.wbg.__wbindgen_cast_2241b6af4c4b2941=function(t,r){const _=l(t,r);return g(_)},n.wbg.__wbindgen_cast_4625c577ab2ec9ee=function(t){const r=BigInt.asUintN(64,t);return g(r)},n.wbg.__wbindgen_cast_8410bcb836a2825d=function(t,r){const _=Jt(t,r,e.__wasm_bindgen_func_elem_1126,Qt);return g(_)},n.wbg.__wbindgen_cast_d6cd19b81560fd6e=function(t){return g(t)},n.wbg.__wbindgen_object_clone_ref=function(t){const r=p(t);return g(r)},n.wbg.__wbindgen_object_drop_ref=function(t){w(t)},n}function Bt(n,t){return e=n.exports,gt.__wbindgen_wasm_module=t,x=null,k=null,P=null,L=null,D=null,e.__wbindgen_start(),e}function re(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=Et();n instanceof WebAssembly.Module||(n=new WebAssembly.Module(n));const r=new WebAssembly.Instance(n,t);return Bt(r,n)}async function gt(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-FNRmpSvM.wasm",import.meta.url));const t=Et();(typeof n=="string"||typeof Request=="function"&&n instanceof Request||typeof URL=="function"&&n instanceof URL)&&(n=fetch(n));const{instance:r,module:_}=await ee(await n,t);return Bt(r,_)}let h=null;self.onmessage=async n=>{try{if(n.data.type==="prepass"||n.data.type==="prepass-fast"){h||(await gt(),h=new W);const t=new Uint8Array(n.data.sharedBuffer.byteLength);t.set(new Uint8Array(n.data.sharedBuffer));const r=n.data.type==="prepass-fast"?h.buildPrePassFast(t):h.buildPrePassOnce(t);self.postMessage({type:"prepass-result",result:r});return}if(n.data.type==="init"){n.data.wasmModule?re({module_or_path:n.data.wasmModule}):await gt(),h=new W,self.postMessage({type:"ready"});return}if(n.data.type==="process"){h||(await gt(),h=new W);const{sharedBuffer:t,jobsFlat:r,unitScale:_,rtcX:s,rtcY:i,rtcZ:a,needsShift:c,voidKeys:d,voidCounts:at,voidValues:pt,styleIds:bt,styleColors:wt}=n.data,nt=new Uint8Array(t.byteLength);nt.set(new Uint8Array(t));const z=h.processGeometryBatch(nt,r,_,s,i,a,c,d,at,pt,bt,wt),S=[],_t=[];for(let O=0;O<z.length;O++){const f=z.get(O);if(!f)continue;const st=new Float32Array(f.positions),it=new Float32Array(f.normals),ot=new Uint32Array(f.indices);S.push({expressId:f.expressId,ifcType:f.ifcType,positions:st,normals:it,indices:ot,color:[f.color[0],f.color[1],f.color[2],f.color[3]]}),_t.push(st.buffer,it.buffer,ot.buffer),f.free()}z.free(),self.postMessage({type:"batch",meshes:S},_t),self.postMessage({type:"complete",totalMeshes:S.length})}}catch(t){self.postMessage({type:"error",message:t instanceof Error?t.message:String(t)})}};
|
|
Binary file
|