drone_view 3.0.21 → 3.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/droneView.js +1 -1
- package/package.json +1 -1
- package/FETCH_HEAD +0 -0
- package/dist1/486.droneView.js +0 -1
- package/dist1/514.droneView.js +0 -1
- package/dist1/645.droneView.js +0 -1
- package/dist1/800.droneView.js +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_0.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_1.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_10.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_11.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_12.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_13.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_14.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_15.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_16.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_17.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_18.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_19.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_2.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_20.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_21.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_22.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_23.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_24.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_25.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_26.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_27.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_3.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_4.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_5.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_6.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_7.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_8.json +0 -1
- package/dist1/Assets/IAU2006_XYS/IAU2006_XYS_9.json +0 -1
- package/dist1/Assets/Images/bing_maps_credit.png +0 -0
- package/dist1/Assets/Images/cesium_credit.png +0 -0
- package/dist1/Assets/Images/google_earth_credit.png +0 -0
- package/dist1/Assets/Images/ion-credit.png +0 -0
- package/dist1/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/dist1/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/dist1/Assets/Textures/NaturalEarthII/tilemapresource.xml +0 -14
- package/dist1/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/dist1/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/dist1/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/dist1/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/dist1/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/dist1/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/dist1/Assets/Textures/maki/airfield.png +0 -0
- package/dist1/Assets/Textures/maki/airport.png +0 -0
- package/dist1/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/dist1/Assets/Textures/maki/america-football.png +0 -0
- package/dist1/Assets/Textures/maki/art-gallery.png +0 -0
- package/dist1/Assets/Textures/maki/bakery.png +0 -0
- package/dist1/Assets/Textures/maki/bank.png +0 -0
- package/dist1/Assets/Textures/maki/bar.png +0 -0
- package/dist1/Assets/Textures/maki/baseball.png +0 -0
- package/dist1/Assets/Textures/maki/basketball.png +0 -0
- package/dist1/Assets/Textures/maki/beer.png +0 -0
- package/dist1/Assets/Textures/maki/bicycle.png +0 -0
- package/dist1/Assets/Textures/maki/building.png +0 -0
- package/dist1/Assets/Textures/maki/bus.png +0 -0
- package/dist1/Assets/Textures/maki/cafe.png +0 -0
- package/dist1/Assets/Textures/maki/camera.png +0 -0
- package/dist1/Assets/Textures/maki/campsite.png +0 -0
- package/dist1/Assets/Textures/maki/car.png +0 -0
- package/dist1/Assets/Textures/maki/cemetery.png +0 -0
- package/dist1/Assets/Textures/maki/cesium.png +0 -0
- package/dist1/Assets/Textures/maki/chemist.png +0 -0
- package/dist1/Assets/Textures/maki/cinema.png +0 -0
- package/dist1/Assets/Textures/maki/circle-stroked.png +0 -0
- package/dist1/Assets/Textures/maki/circle.png +0 -0
- package/dist1/Assets/Textures/maki/city.png +0 -0
- package/dist1/Assets/Textures/maki/clothing-store.png +0 -0
- package/dist1/Assets/Textures/maki/college.png +0 -0
- package/dist1/Assets/Textures/maki/commercial.png +0 -0
- package/dist1/Assets/Textures/maki/cricket.png +0 -0
- package/dist1/Assets/Textures/maki/cross.png +0 -0
- package/dist1/Assets/Textures/maki/dam.png +0 -0
- package/dist1/Assets/Textures/maki/danger.png +0 -0
- package/dist1/Assets/Textures/maki/disability.png +0 -0
- package/dist1/Assets/Textures/maki/dog-park.png +0 -0
- package/dist1/Assets/Textures/maki/embassy.png +0 -0
- package/dist1/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/dist1/Assets/Textures/maki/entrance.png +0 -0
- package/dist1/Assets/Textures/maki/farm.png +0 -0
- package/dist1/Assets/Textures/maki/fast-food.png +0 -0
- package/dist1/Assets/Textures/maki/ferry.png +0 -0
- package/dist1/Assets/Textures/maki/fire-station.png +0 -0
- package/dist1/Assets/Textures/maki/fuel.png +0 -0
- package/dist1/Assets/Textures/maki/garden.png +0 -0
- package/dist1/Assets/Textures/maki/gift.png +0 -0
- package/dist1/Assets/Textures/maki/golf.png +0 -0
- package/dist1/Assets/Textures/maki/grocery.png +0 -0
- package/dist1/Assets/Textures/maki/hairdresser.png +0 -0
- package/dist1/Assets/Textures/maki/harbor.png +0 -0
- package/dist1/Assets/Textures/maki/heart.png +0 -0
- package/dist1/Assets/Textures/maki/heliport.png +0 -0
- package/dist1/Assets/Textures/maki/hospital.png +0 -0
- package/dist1/Assets/Textures/maki/ice-cream.png +0 -0
- package/dist1/Assets/Textures/maki/industrial.png +0 -0
- package/dist1/Assets/Textures/maki/land-use.png +0 -0
- package/dist1/Assets/Textures/maki/laundry.png +0 -0
- package/dist1/Assets/Textures/maki/library.png +0 -0
- package/dist1/Assets/Textures/maki/lighthouse.png +0 -0
- package/dist1/Assets/Textures/maki/lodging.png +0 -0
- package/dist1/Assets/Textures/maki/logging.png +0 -0
- package/dist1/Assets/Textures/maki/london-underground.png +0 -0
- package/dist1/Assets/Textures/maki/marker-stroked.png +0 -0
- package/dist1/Assets/Textures/maki/marker.png +0 -0
- package/dist1/Assets/Textures/maki/minefield.png +0 -0
- package/dist1/Assets/Textures/maki/mobilephone.png +0 -0
- package/dist1/Assets/Textures/maki/monument.png +0 -0
- package/dist1/Assets/Textures/maki/museum.png +0 -0
- package/dist1/Assets/Textures/maki/music.png +0 -0
- package/dist1/Assets/Textures/maki/oil-well.png +0 -0
- package/dist1/Assets/Textures/maki/park.png +0 -0
- package/dist1/Assets/Textures/maki/park2.png +0 -0
- package/dist1/Assets/Textures/maki/parking-garage.png +0 -0
- package/dist1/Assets/Textures/maki/parking.png +0 -0
- package/dist1/Assets/Textures/maki/pharmacy.png +0 -0
- package/dist1/Assets/Textures/maki/pitch.png +0 -0
- package/dist1/Assets/Textures/maki/place-of-worship.png +0 -0
- package/dist1/Assets/Textures/maki/playground.png +0 -0
- package/dist1/Assets/Textures/maki/police.png +0 -0
- package/dist1/Assets/Textures/maki/polling-place.png +0 -0
- package/dist1/Assets/Textures/maki/post.png +0 -0
- package/dist1/Assets/Textures/maki/prison.png +0 -0
- package/dist1/Assets/Textures/maki/rail-above.png +0 -0
- package/dist1/Assets/Textures/maki/rail-light.png +0 -0
- package/dist1/Assets/Textures/maki/rail-metro.png +0 -0
- package/dist1/Assets/Textures/maki/rail-underground.png +0 -0
- package/dist1/Assets/Textures/maki/rail.png +0 -0
- package/dist1/Assets/Textures/maki/religious-christian.png +0 -0
- package/dist1/Assets/Textures/maki/religious-jewish.png +0 -0
- package/dist1/Assets/Textures/maki/religious-muslim.png +0 -0
- package/dist1/Assets/Textures/maki/restaurant.png +0 -0
- package/dist1/Assets/Textures/maki/roadblock.png +0 -0
- package/dist1/Assets/Textures/maki/rocket.png +0 -0
- package/dist1/Assets/Textures/maki/school.png +0 -0
- package/dist1/Assets/Textures/maki/scooter.png +0 -0
- package/dist1/Assets/Textures/maki/shop.png +0 -0
- package/dist1/Assets/Textures/maki/skiing.png +0 -0
- package/dist1/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/dist1/Assets/Textures/maki/soccer.png +0 -0
- package/dist1/Assets/Textures/maki/square-stroked.png +0 -0
- package/dist1/Assets/Textures/maki/square.png +0 -0
- package/dist1/Assets/Textures/maki/star-stroked.png +0 -0
- package/dist1/Assets/Textures/maki/star.png +0 -0
- package/dist1/Assets/Textures/maki/suitcase.png +0 -0
- package/dist1/Assets/Textures/maki/swimming.png +0 -0
- package/dist1/Assets/Textures/maki/telephone.png +0 -0
- package/dist1/Assets/Textures/maki/tennis.png +0 -0
- package/dist1/Assets/Textures/maki/theatre.png +0 -0
- package/dist1/Assets/Textures/maki/toilets.png +0 -0
- package/dist1/Assets/Textures/maki/town-hall.png +0 -0
- package/dist1/Assets/Textures/maki/town.png +0 -0
- package/dist1/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/dist1/Assets/Textures/maki/triangle.png +0 -0
- package/dist1/Assets/Textures/maki/village.png +0 -0
- package/dist1/Assets/Textures/maki/warehouse.png +0 -0
- package/dist1/Assets/Textures/maki/waste-basket.png +0 -0
- package/dist1/Assets/Textures/maki/water.png +0 -0
- package/dist1/Assets/Textures/maki/wetland.png +0 -0
- package/dist1/Assets/Textures/maki/zoo.png +0 -0
- package/dist1/Assets/Textures/moonSmall.jpg +0 -0
- package/dist1/Assets/Textures/pin.svg +0 -1
- package/dist1/Assets/Textures/waterNormals.jpg +0 -0
- package/dist1/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/dist1/Assets/approximateTerrainHeights.json +0 -1
- package/dist1/ThirdParty/Workers/basis_transcoder.js +0 -1
- package/dist1/ThirdParty/Workers/draco_decoder_nodejs.js +0 -1
- package/dist1/ThirdParty/Workers/package.json +0 -1
- package/dist1/ThirdParty/Workers/pako_deflate.min.js +0 -2
- package/dist1/ThirdParty/Workers/pako_deflate.min.js.LICENSE.txt +0 -1
- package/dist1/ThirdParty/Workers/pako_inflate.min.js +0 -2
- package/dist1/ThirdParty/Workers/pako_inflate.min.js.LICENSE.txt +0 -1
- package/dist1/ThirdParty/Workers/z-worker-pako.js +0 -1
- package/dist1/ThirdParty/basis_transcoder.wasm +0 -0
- package/dist1/ThirdParty/draco_decoder.wasm +0 -0
- package/dist1/ThirdParty/google-earth-dbroot-parser.js +0 -1
- package/dist1/Widgets/Animation/Animation.css +0 -176
- package/dist1/Widgets/Animation/lighter.css +0 -99
- package/dist1/Widgets/BaseLayerPicker/BaseLayerPicker.css +0 -117
- package/dist1/Widgets/BaseLayerPicker/lighter.css +0 -33
- package/dist1/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +0 -122
- package/dist1/Widgets/CesiumInspector/CesiumInspector.css +0 -134
- package/dist1/Widgets/CesiumWidget/CesiumWidget.css +0 -124
- package/dist1/Widgets/CesiumWidget/lighter.css +0 -14
- package/dist1/Widgets/FullscreenButton/FullscreenButton.css +0 -7
- package/dist1/Widgets/Geocoder/Geocoder.css +0 -78
- package/dist1/Widgets/Geocoder/lighter.css +0 -19
- package/dist1/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/esriNationalGeographic.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/esriWorldImagery.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/esriWorldStreetMap.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
- package/dist1/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
- package/dist1/Widgets/Images/NavigationHelp/Mouse.svg +0 -84
- package/dist1/Widgets/Images/NavigationHelp/MouseLeft.svg +0 -76
- package/dist1/Widgets/Images/NavigationHelp/MouseMiddle.svg +0 -76
- package/dist1/Widgets/Images/NavigationHelp/MouseRight.svg +0 -76
- package/dist1/Widgets/Images/NavigationHelp/Touch.svg +0 -120
- package/dist1/Widgets/Images/NavigationHelp/TouchDrag.svg +0 -129
- package/dist1/Widgets/Images/NavigationHelp/TouchRotate.svg +0 -76
- package/dist1/Widgets/Images/NavigationHelp/TouchTilt.svg +0 -135
- package/dist1/Widgets/Images/NavigationHelp/TouchZoom.svg +0 -74
- package/dist1/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
- package/dist1/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
- package/dist1/Widgets/Images/TimelineIcons.png +0 -0
- package/dist1/Widgets/Images/info-loading.gif +0 -0
- package/dist1/Widgets/InfoBox/InfoBox.css +0 -98
- package/dist1/Widgets/InfoBox/InfoBoxDescription.css +0 -90
- package/dist1/Widgets/NavigationHelpButton/NavigationHelpButton.css +0 -112
- package/dist1/Widgets/NavigationHelpButton/lighter.css +0 -46
- package/dist1/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +0 -16
- package/dist1/Widgets/ProjectionPicker/ProjectionPicker.css +0 -49
- package/dist1/Widgets/SceneModePicker/SceneModePicker.css +0 -80
- package/dist1/Widgets/SelectionIndicator/SelectionIndicator.css +0 -21
- package/dist1/Widgets/Timeline/Timeline.css +0 -114
- package/dist1/Widgets/Timeline/lighter.css +0 -20
- package/dist1/Widgets/VRButton/VRButton.css +0 -7
- package/dist1/Widgets/Viewer/Viewer.css +0 -118
- package/dist1/Widgets/VoxelInspector/VoxelInspector.css +0 -20
- package/dist1/Widgets/lighter.css +0 -7
- package/dist1/Widgets/lighterShared.css +0 -52
- package/dist1/Widgets/shared.css +0 -117
- package/dist1/Widgets/widgets.css +0 -18
- package/dist1/Workers/ArcType-26a3f38d.js +0 -1
- package/dist1/Workers/AttributeCompression-48e336db.js +0 -1
- package/dist1/Workers/AxisAlignedBoundingBox-39ab50d0.js +0 -1
- package/dist1/Workers/BoundingRectangle-2379df5a.js +0 -1
- package/dist1/Workers/BoxGeometry-61fa3148.js +0 -1
- package/dist1/Workers/Color-7d827393.js +0 -1
- package/dist1/Workers/ComponentDatatype-ab629b88.js +0 -1
- package/dist1/Workers/CoplanarPolygonGeometryLibrary-9cff5a6c.js +0 -1
- package/dist1/Workers/CorridorGeometryLibrary-28996bf3.js +0 -1
- package/dist1/Workers/CylinderGeometry-966ff1e5.js +0 -1
- package/dist1/Workers/CylinderGeometryLibrary-f49f33a8.js +0 -1
- package/dist1/Workers/EllipseGeometry-fddb3596.js +0 -1
- package/dist1/Workers/EllipseGeometryLibrary-08d055cc.js +0 -1
- package/dist1/Workers/EllipseOutlineGeometry-a72d7da8.js +0 -1
- package/dist1/Workers/EllipsoidGeodesic-2723ab86.js +0 -1
- package/dist1/Workers/EllipsoidGeometry-fd18adbd.js +0 -1
- package/dist1/Workers/EllipsoidOutlineGeometry-d9d02643.js +0 -1
- package/dist1/Workers/EllipsoidRhumbLine-77eff028.js +0 -1
- package/dist1/Workers/EllipsoidTangentPlane-82f2a887.js +0 -1
- package/dist1/Workers/EncodedCartesian3-5e2017ab.js +0 -1
- package/dist1/Workers/FrustumGeometry-9378eccf.js +0 -1
- package/dist1/Workers/GeometryAttribute-81ff775c.js +0 -1
- package/dist1/Workers/GeometryAttributes-1e4ddcd2.js +0 -1
- package/dist1/Workers/GeometryInstance-0318e0cd.js +0 -1
- package/dist1/Workers/GeometryOffsetAttribute-2579b8d2.js +0 -1
- package/dist1/Workers/GeometryPipeline-e049e700.js +0 -1
- package/dist1/Workers/IndexDatatype-d3db4e7d.js +0 -1
- package/dist1/Workers/IntersectionTests-357c3d7f.js +0 -1
- package/dist1/Workers/Math-2ce22ee9.js +0 -1
- package/dist1/Workers/Matrix2-413c4048.js +0 -1
- package/dist1/Workers/Matrix3-81054f0f.js +0 -1
- package/dist1/Workers/OrientedBoundingBox-cfd17917.js +0 -1
- package/dist1/Workers/Plane-6add0ae1.js +0 -1
- package/dist1/Workers/PolygonGeometryLibrary-003d1689.js +0 -1
- package/dist1/Workers/PolygonPipeline-61ca1579.js +0 -1
- package/dist1/Workers/PolylinePipeline-8495667b.js +0 -1
- package/dist1/Workers/PolylineVolumeGeometryLibrary-2df3f067.js +0 -1
- package/dist1/Workers/PrimitivePipeline-8033b34b.js +0 -1
- package/dist1/Workers/RectangleGeometryLibrary-a0a06d23.js +0 -1
- package/dist1/Workers/RuntimeError-9b4ce3fb.js +0 -1
- package/dist1/Workers/TerrainEncoding-bd5c9ed5.js +0 -1
- package/dist1/Workers/Transforms-fce95115.js +0 -2
- package/dist1/Workers/Transforms-fce95115.js.LICENSE.txt +0 -12
- package/dist1/Workers/VertexFormat-fbdec922.js +0 -1
- package/dist1/Workers/WallGeometryLibrary-1c767084.js +0 -1
- package/dist1/Workers/WebGLConstants-7f557f93.js +0 -1
- package/dist1/Workers/WebMercatorProjection-943e2226.js +0 -1
- package/dist1/Workers/arrayRemoveDuplicates-9b636830.js +0 -1
- package/dist1/Workers/cesiumWorkerBootstrapper.js +0 -2
- package/dist1/Workers/cesiumWorkerBootstrapper.js.LICENSE.txt +0 -30
- package/dist1/Workers/combine-0c102d93.js +0 -1
- package/dist1/Workers/combineGeometry.js +0 -1
- package/dist1/Workers/createBoxGeometry.js +0 -1
- package/dist1/Workers/createBoxOutlineGeometry.js +0 -1
- package/dist1/Workers/createCircleGeometry.js +0 -1
- package/dist1/Workers/createCircleOutlineGeometry.js +0 -1
- package/dist1/Workers/createCoplanarPolygonGeometry.js +0 -1
- package/dist1/Workers/createCoplanarPolygonOutlineGeometry.js +0 -1
- package/dist1/Workers/createCorridorGeometry.js +0 -1
- package/dist1/Workers/createCorridorOutlineGeometry.js +0 -1
- package/dist1/Workers/createCylinderGeometry.js +0 -1
- package/dist1/Workers/createCylinderOutlineGeometry.js +0 -1
- package/dist1/Workers/createEllipseGeometry.js +0 -1
- package/dist1/Workers/createEllipseOutlineGeometry.js +0 -1
- package/dist1/Workers/createEllipsoidGeometry.js +0 -1
- package/dist1/Workers/createEllipsoidOutlineGeometry.js +0 -1
- package/dist1/Workers/createFrustumGeometry.js +0 -1
- package/dist1/Workers/createFrustumOutlineGeometry.js +0 -1
- package/dist1/Workers/createGeometry.js +0 -1
- package/dist1/Workers/createGroundPolylineGeometry.js +0 -1
- package/dist1/Workers/createPlaneGeometry.js +0 -1
- package/dist1/Workers/createPlaneOutlineGeometry.js +0 -1
- package/dist1/Workers/createPolygonGeometry.js +0 -1
- package/dist1/Workers/createPolygonOutlineGeometry.js +0 -1
- package/dist1/Workers/createPolylineGeometry.js +0 -1
- package/dist1/Workers/createPolylineVolumeGeometry.js +0 -1
- package/dist1/Workers/createPolylineVolumeOutlineGeometry.js +0 -1
- package/dist1/Workers/createRectangleGeometry.js +0 -1
- package/dist1/Workers/createRectangleOutlineGeometry.js +0 -1
- package/dist1/Workers/createSimplePolylineGeometry.js +0 -1
- package/dist1/Workers/createSphereGeometry.js +0 -1
- package/dist1/Workers/createSphereOutlineGeometry.js +0 -1
- package/dist1/Workers/createTaskProcessorWorker.js +0 -1
- package/dist1/Workers/createVectorTileClampedPolylines.js +0 -1
- package/dist1/Workers/createVectorTileGeometries.js +0 -1
- package/dist1/Workers/createVectorTilePoints.js +0 -1
- package/dist1/Workers/createVectorTilePolygons.js +0 -1
- package/dist1/Workers/createVectorTilePolylines.js +0 -1
- package/dist1/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +0 -1
- package/dist1/Workers/createVerticesFromHeightmap.js +0 -2
- package/dist1/Workers/createVerticesFromHeightmap.js.LICENSE.txt +0 -1
- package/dist1/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -1
- package/dist1/Workers/createWallGeometry.js +0 -1
- package/dist1/Workers/createWallOutlineGeometry.js +0 -1
- package/dist1/Workers/decodeDraco.js +0 -1
- package/dist1/Workers/decodeGoogleEarthEnterprisePacket.js +0 -1
- package/dist1/Workers/decodeI3S.js +0 -1
- package/dist1/Workers/defaultValue-f6d5e6da.js +0 -1
- package/dist1/Workers/package.js +0 -2
- package/dist1/Workers/package.js.LICENSE.txt +0 -24
- package/dist1/Workers/transcodeKTX2.js +0 -1
- package/dist1/Workers/transferTypedArrayTest.js +0 -2
- package/dist1/Workers/transferTypedArrayTest.js.LICENSE.txt +0 -24
- package/dist1/Workers/upsampleQuantizedTerrainMesh.js +0 -1
- package/dist1/droneView.js +0 -2
- package/dist1/droneView.js.LICENSE.txt +0 -80
- /package/{dist1 → dist}/_382d.droneView.js +0 -0
- /package/{dist1 → dist}/_6b2a.droneView.js +0 -0
- /package/{dist1 → dist}/_9839.droneView.js +0 -0
- /package/{dist1 → dist}/_afdc.droneView.js +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
var BASIS=function(){var e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(e=e||__filename),function(r){var t,n,o=void 0!==(r=r||{})?r:{};o.ready=new Promise((function(e,r){t=e,readyPromiseRejectza=r}));var i,a={};for(i in o)o.hasOwnProperty(i)&&(a[i]=o[i]);var u,s,c,f,l=[];c="object"==typeof window,f="function"==typeof importScripts,u="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,s=!c&&!u&&!f;var p,d,h,v,y,m="";u?(m=f?require("path").dirname(m)+"/":__dirname+"/",p=function(e,r){return v||(v=require("fs")),y||(y=require("path")),e=y.normalize(e),v.readFileSync(e,r?null:"utf8")},h=function(e){var r=p(e,!0);return r.buffer||(r=new Uint8Array(r)),$(r.buffer),r},process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),l=process.argv.slice(2),process.on("uncaughtException",(function(e){if(!(e instanceof $r))throw e})),process.on("unhandledRejection",Y),o.inspect=function(){return"[Emscripten Module object]"}):s?("undefined"!=typeof read&&(p=function(e){return read(e)}),h=function(e){var r;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):($("object"==typeof(r=read(e,"binary"))),r)},"undefined"!=typeof scriptArgs?l=scriptArgs:void 0!==arguments&&(l=arguments),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(c||f)&&(f?m=self.location.href:"undefined"!=typeof document&&document.currentScript&&(m=document.currentScript.src),e&&(m=e),m=0!==m.indexOf("blob:")?m.substr(0,m.lastIndexOf("/")+1):"",p=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.send(null),r.responseText},f&&(h=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}),d=function(e,r,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?r(n.response):t()},n.onerror=t,n.send(null)});var g,w,T=o.print||console.log.bind(console),b=o.printErr||console.warn.bind(console);for(i in a)a.hasOwnProperty(i)&&(o[i]=a[i]);a=null,o.arguments&&(l=o.arguments),o.thisProgram&&o.thisProgram,o.quit&&o.quit,o.wasmBinary&&(g=o.wasmBinary),o.noExitRuntime,"object"!=typeof WebAssembly&&Y("no native wasm support detected");var C=!1;function $(e,r){e||Y("Assertion failed: "+r)}var P="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function A(e,r,t){for(var n=r+t,o=r;e[o]&&!(o>=n);)++o;if(o-r>16&&e.subarray&&P)return P.decode(e.subarray(r,o));for(var i="";r<o;){var a=e[r++];if(128&a){var u=63&e[r++];if(192!=(224&a)){var s=63&e[r++];if((a=224==(240&a)?(15&a)<<12|u<<6|s:(7&a)<<18|u<<12|s<<6|63&e[r++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|u)}else i+=String.fromCharCode(a)}return i}function _(e,r){return e?A(E,e,r):""}var S,W,E,F,k,O,j,R,I,x="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function D(e,r){for(var t=e,n=t>>1,o=n+r/2;!(n>=o)&&k[n];)++n;if((t=n<<1)-e>32&&x)return x.decode(E.subarray(e,t));for(var i="",a=0;!(a>=r/2);++a){var u=F[e+2*a>>1];if(0==u)break;i+=String.fromCharCode(u)}return i}function U(e,r,t){if(void 0===t&&(t=2147483647),t<2)return 0;for(var n=r,o=(t-=2)<2*e.length?t/2:e.length,i=0;i<o;++i){var a=e.charCodeAt(i);F[r>>1]=a,r+=2}return F[r>>1]=0,r-n}function B(e){return 2*e.length}function M(e,r){for(var t=0,n="";!(t>=r/4);){var o=O[e+4*t>>2];if(0==o)break;if(++t,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n}function V(e,r,t){if(void 0===t&&(t=2147483647),t<4)return 0;for(var n=r,o=n+t-4,i=0;i<e.length;++i){var a=e.charCodeAt(i);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i)),O[r>>2]=a,(r+=4)+4>o)break}return O[r>>2]=0,r-n}function H(e){for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&++t,r+=4}return r}function q(e){S=e,o.HEAP8=W=new Int8Array(e),o.HEAP16=F=new Int16Array(e),o.HEAP32=O=new Int32Array(e),o.HEAPU8=E=new Uint8Array(e),o.HEAPU16=k=new Uint16Array(e),o.HEAPU32=j=new Uint32Array(e),o.HEAPF32=R=new Float32Array(e),o.HEAPF64=I=new Float64Array(e)}o.INITIAL_MEMORY;var z,N=[],G=[],L=[],X=[],J=0,K=null,Q=null;function Y(e){o.onAbort&&o.onAbort(e),b(e+=""),C=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.";var r=new WebAssembly.RuntimeError(e);throw n(r),r}function Z(e,r){return String.prototype.startsWith?e.startsWith(r):0===e.indexOf(r)}o.preloadedImages={},o.preloadedAudios={};function ee(e){return Z(e,"data:application/octet-stream;base64,")}function re(e){return Z(e,"file://")}var te,ne="basis_transcoder.wasm";function oe(e){try{if(e==ne&&g)return new Uint8Array(g);if(h)return h(e);throw"both async and sync fetching of the wasm failed"}catch(e){Y(e)}}function ie(e){for(;e.length>0;){var r=e.shift();if("function"!=typeof r){var t=r.func;"number"==typeof t?void 0===r.arg?z.get(t)():z.get(t)(r.arg):t(void 0===r.arg?null:r.arg)}else r(o)}}ee(ne)||(te=ne,ne=o.locateFile?o.locateFile(te,m):m+te);var ae={};function ue(e){for(;e.length;){var r=e.pop();e.pop()(r)}}function se(e){return this.fromWireType(j[e>>2])}var ce={},fe={},le={},pe=48,de=57;function he(e){if(void 0===e)return"_unknown";var r=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return r>=pe&&r<=de?"_"+e:e}function ve(e,r){return e=he(e),new Function("body","return function "+e+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(r)}function ye(e,r){var t=ve(r,(function(e){this.name=r,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}));return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},t}var me=void 0;function ge(e){throw new me(e)}function we(e,r,t){function n(r){var n=t(r);n.length!==e.length&&ge("Mismatched type converter count");for(var o=0;o<e.length;++o)Ae(e[o],n[o])}e.forEach((function(e){le[e]=r}));var o=new Array(r.length),i=[],a=0;r.forEach((function(e,r){fe.hasOwnProperty(e)?o[r]=fe[e]:(i.push(e),ce.hasOwnProperty(e)||(ce[e]=[]),ce[e].push((function(){o[r]=fe[e],++a===i.length&&n(o)})))})),0===i.length&&n(o)}function Te(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}var be=void 0;function Ce(e){for(var r="",t=e;E[t];)r+=be[E[t++]];return r}var $e=void 0;function Pe(e){throw new $e(e)}function Ae(e,r,t){if(t=t||{},!("argPackAdvance"in r))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=r.name;if(e||Pe('type "'+n+'" must have a positive integer typeid pointer'),fe.hasOwnProperty(e)){if(t.ignoreDuplicateRegistrations)return;Pe("Cannot register type '"+n+"' twice")}if(fe[e]=r,delete le[e],ce.hasOwnProperty(e)){var o=ce[e];delete ce[e],o.forEach((function(e){e()}))}}function _e(e){Pe(e.$$.ptrType.registeredClass.name+" instance already deleted")}var Se=!1;function We(e){}function Ee(e){e.count.value-=1,0===e.count.value&&function(e){e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)}(e)}function Fe(e){return"undefined"==typeof FinalizationGroup?(Fe=function(e){return e},e):(Se=new FinalizationGroup((function(e){for(var r=e.next();!r.done;r=e.next()){var t=r.value;t.ptr?Ee(t):console.warn("object already deleted: "+t.ptr)}})),Fe=function(e){return Se.register(e,e.$$,e.$$),e},We=function(e){Se.unregister(e.$$)},Fe(e))}var ke=void 0,Oe=[];function je(){for(;Oe.length;){var e=Oe.pop();e.$$.deleteScheduled=!1,e.delete()}}function Re(){}var Ie={};function xe(e,r,t){if(void 0===e[r].overloadTable){var n=e[r];e[r]=function(){return e[r].overloadTable.hasOwnProperty(arguments.length)||Pe("Function '"+t+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[r].overloadTable+")!"),e[r].overloadTable[arguments.length].apply(this,arguments)},e[r].overloadTable=[],e[r].overloadTable[n.argCount]=n}}function De(e,r,t){o.hasOwnProperty(e)?((void 0===t||void 0!==o[e].overloadTable&&void 0!==o[e].overloadTable[t])&&Pe("Cannot register public name '"+e+"' twice"),xe(o,e,e),o.hasOwnProperty(t)&&Pe("Cannot register multiple overloads of a function with the same number of arguments ("+t+")!"),o[e].overloadTable[t]=r):(o[e]=r,void 0!==t&&(o[e].numArguments=t))}function Ue(e,r,t,n,o,i,a,u){this.name=e,this.constructor=r,this.instancePrototype=t,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=u,this.pureVirtualFunctions=[]}function Be(e,r,t){for(;r!==t;)r.upcast||Pe("Expected null or instance of "+t.name+", got an instance of "+r.name),e=r.upcast(e),r=r.baseClass;return e}function Me(e,r){if(null===r)return this.isReference&&Pe("null is not a valid "+this.name),0;r.$$||Pe('Cannot pass "'+ur(r)+'" as a '+this.name),r.$$.ptr||Pe("Cannot pass deleted object as a pointer of type "+this.name);var t=r.$$.ptrType.registeredClass;return Be(r.$$.ptr,t,this.registeredClass)}function Ve(e,r){var t;if(null===r)return this.isReference&&Pe("null is not a valid "+this.name),this.isSmartPointer?(t=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,t),t):0;r.$$||Pe('Cannot pass "'+ur(r)+'" as a '+this.name),r.$$.ptr||Pe("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&r.$$.ptrType.isConst&&Pe("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);var n=r.$$.ptrType.registeredClass;if(t=Be(r.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===r.$$.smartPtr&&Pe("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?t=r.$$.smartPtr:Pe("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:t=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)t=r.$$.smartPtr;else{var o=r.clone();t=this.rawShare(t,or((function(){o.delete()}))),null!==e&&e.push(this.rawDestructor,t)}break;default:Pe("Unsupporting sharing policy")}return t}function He(e,r){if(null===r)return this.isReference&&Pe("null is not a valid "+this.name),0;r.$$||Pe('Cannot pass "'+ur(r)+'" as a '+this.name),r.$$.ptr||Pe("Cannot pass deleted object as a pointer of type "+this.name),r.$$.ptrType.isConst&&Pe("Cannot convert argument of type "+r.$$.ptrType.name+" to parameter type "+this.name);var t=r.$$.ptrType.registeredClass;return Be(r.$$.ptr,t,this.registeredClass)}function qe(e,r,t){if(r===t)return e;if(void 0===t.baseClass)return null;var n=qe(e,r,t.baseClass);return null===n?null:t.downcast(n)}var ze={};function Ne(e,r){return r.ptrType&&r.ptr||ge("makeClassHandle requires ptr and ptrType"),!!r.smartPtrType!=!!r.smartPtr&&ge("Both smartPtrType and smartPtr must be specified"),r.count={value:1},Fe(Object.create(e,{$$:{value:r}}))}function Ge(e,r,t,n,o,i,a,u,s,c,f){this.name=e,this.registeredClass=r,this.isReference=t,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=u,this.rawConstructor=s,this.rawShare=c,this.rawDestructor=f,o||void 0!==r.baseClass?this.toWireType=Ve:n?(this.toWireType=Me,this.destructorFunction=null):(this.toWireType=He,this.destructorFunction=null)}function Le(e,r,t){o.hasOwnProperty(e)||ge("Replacing nonexistant public symbol"),void 0!==o[e].overloadTable&&void 0!==t?o[e].overloadTable[t]=r:(o[e]=r,o[e].argCount=t)}function Xe(e,r){var t,n,i,a=-1!=(e=Ce(e)).indexOf("j")?(t=e,n=r,i=[],function(){i.length=arguments.length;for(var e=0;e<arguments.length;e++)i[e]=arguments[e];return function(e,r,t){return-1!=e.indexOf("j")?function(e,r,t){var n=o["dynCall_"+e];return t&&t.length?n.apply(null,[r].concat(t)):n.call(null,r)}(e,r,t):z.get(r).apply(null,t)}(t,n,i)}):z.get(r);return"function"!=typeof a&&Pe("unknown function pointer with signature "+e+": "+r),a}var Je=void 0;function Ke(e){var r=Cr(e),t=Ce(r);return br(r),t}function Qe(e,r){var t=[],n={};throw r.forEach((function e(r){n[r]||fe[r]||(le[r]?le[r].forEach(e):(t.push(r),n[r]=!0))})),new Je(e+": "+t.map(Ke).join([", "]))}function Ye(e,r){for(var t=[],n=0;n<e;n++)t.push(O[(r>>2)+n]);return t}function Ze(e,r){if(!(e instanceof Function))throw new TypeError("new_ called with constructor type "+typeof e+" which is not a function");var t=ve(e.name||"unknownFunctionName",(function(){}));t.prototype=e.prototype;var n=new t,o=e.apply(n,r);return o instanceof Object?o:n}function er(e,r,t,n,o){var i=r.length;i<2&&Pe("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==r[1]&&null!==t,u=!1,s=1;s<r.length;++s)if(null!==r[s]&&void 0===r[s].destructorFunction){u=!0;break}var c="void"!==r[0].name,f="",l="";for(s=0;s<i-2;++s)f+=(0!==s?", ":"")+"arg"+s,l+=(0!==s?", ":"")+"arg"+s+"Wired";var p="return function "+he(e)+"("+f+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+e+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";u&&(p+="var destructors = [];\n");var d=u?"destructors":"null",h=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],v=[Pe,n,o,ue,r[0],r[1]];for(a&&(p+="var thisWired = classParam.toWireType("+d+", this);\n"),s=0;s<i-2;++s)p+="var arg"+s+"Wired = argType"+s+".toWireType("+d+", arg"+s+"); // "+r[s+2].name+"\n",h.push("argType"+s),v.push(r[s+2]);if(a&&(l="thisWired"+(l.length>0?", ":"")+l),p+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",u)p+="runDestructors(destructors);\n";else for(s=a?1:2;s<r.length;++s){var y=1===s?"thisWired":"arg"+(s-2)+"Wired";null!==r[s].destructorFunction&&(p+=y+"_dtor("+y+"); // "+r[s].name+"\n",h.push(y+"_dtor"),v.push(r[s].destructorFunction))}return c&&(p+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),p+="}\n",h.push(p),Ze(Function,h).apply(null,v)}var rr=[],tr=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function nr(e){e>4&&0==--tr[e].refcount&&(tr[e]=void 0,rr.push(e))}function or(e){switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var r=rr.length?rr.pop():tr.length;return tr[r]={refcount:1,value:e},r}}function ir(e,r,t){switch(r){case 0:return function(e){var r=t?W:E;return this.fromWireType(r[e])};case 1:return function(e){var r=t?F:k;return this.fromWireType(r[e>>1])};case 2:return function(e){var r=t?O:j;return this.fromWireType(r[e>>2])};default:throw new TypeError("Unknown integer type: "+e)}}function ar(e,r){var t=fe[e];return void 0===t&&Pe(r+" has unknown type "+Ke(e)),t}function ur(e){if(null===e)return"null";var r=typeof e;return"object"===r||"array"===r||"function"===r?e.toString():""+e}function sr(e,r){switch(r){case 2:return function(e){return this.fromWireType(R[e>>2])};case 3:return function(e){return this.fromWireType(I[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function cr(e,r,t){switch(r){case 0:return t?function(e){return W[e]}:function(e){return E[e]};case 1:return t?function(e){return F[e>>1]}:function(e){return k[e>>1]};case 2:return t?function(e){return O[e>>2]}:function(e){return j[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}function fr(e){return e||Pe("Cannot use deleted val. handle = "+e),tr[e].value}var lr={};function pr(e){var r=lr[e];return void 0===r?Ce(e):r}var dr=[];function hr(){return"object"==typeof globalThis?globalThis:Function("return this")()}var vr={};function yr(e){try{return w.grow(e-S.byteLength+65535>>>16),q(w.buffer),1}catch(e){}}var mr={mappings:{},buffers:[null,[],[]],printChar:function(e,r){var t=mr.buffers[e];0===r||10===r?((1===e?T:b)(A(t,0)),t.length=0):t.push(r)},varargs:void 0,get:function(){return mr.varargs+=4,O[mr.varargs-4>>2]},getStr:function(e){return _(e)},get64:function(e,r){return e}};me=o.InternalError=ye(Error,"InternalError"),function(){for(var e=new Array(256),r=0;r<256;++r)e[r]=String.fromCharCode(r);be=e}(),$e=o.BindingError=ye(Error,"BindingError"),Re.prototype.isAliasOf=function(e){if(!(this instanceof Re))return!1;if(!(e instanceof Re))return!1;for(var r=this.$$.ptrType.registeredClass,t=this.$$.ptr,n=e.$$.ptrType.registeredClass,o=e.$$.ptr;r.baseClass;)t=r.upcast(t),r=r.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return r===n&&t===o},Re.prototype.clone=function(){if(this.$$.ptr||_e(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,r=Fe(Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}}));return r.$$.count.value+=1,r.$$.deleteScheduled=!1,r},Re.prototype.delete=function(){this.$$.ptr||_e(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Pe("Object already scheduled for deletion"),We(this),Ee(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},Re.prototype.isDeleted=function(){return!this.$$.ptr},Re.prototype.deleteLater=function(){return this.$$.ptr||_e(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Pe("Object already scheduled for deletion"),Oe.push(this),1===Oe.length&&ke&&ke(je),this.$$.deleteScheduled=!0,this},Ge.prototype.getPointee=function(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},Ge.prototype.destructor=function(e){this.rawDestructor&&this.rawDestructor(e)},Ge.prototype.argPackAdvance=8,Ge.prototype.readValueFromPointer=se,Ge.prototype.deleteObject=function(e){null!==e&&e.delete()},Ge.prototype.fromWireType=function(e){var r=this.getPointee(e);if(!r)return this.destructor(e),null;var t=function(e,r){return r=function(e,r){for(void 0===r&&Pe("ptr should not be undefined");e.baseClass;)r=e.upcast(r),e=e.baseClass;return r}(e,r),ze[r]}(this.registeredClass,r);if(void 0!==t){if(0===t.$$.count.value)return t.$$.ptr=r,t.$$.smartPtr=e,t.clone();var n=t.clone();return this.destructor(e),n}function o(){return this.isSmartPointer?Ne(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:e}):Ne(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var i,a=this.registeredClass.getActualType(r),u=Ie[a];if(!u)return o.call(this);i=this.isConst?u.constPointerType:u.pointerType;var s=qe(r,this.registeredClass,i.registeredClass);return null===s?o.call(this):this.isSmartPointer?Ne(i.registeredClass.instancePrototype,{ptrType:i,ptr:s,smartPtrType:this,smartPtr:e}):Ne(i.registeredClass.instancePrototype,{ptrType:i,ptr:s})},o.getInheritedInstanceCount=function(){return Object.keys(ze).length},o.getLiveInheritedInstances=function(){var e=[];for(var r in ze)ze.hasOwnProperty(r)&&e.push(ze[r]);return e},o.flushPendingDeletes=je,o.setDelayFunction=function(e){ke=e,Oe.length&&ke&&ke(je)},Je=o.UnboundTypeError=ye(Error,"UnboundTypeError"),o.count_emval_handles=function(){for(var e=0,r=5;r<tr.length;++r)void 0!==tr[r]&&++e;return e},o.get_first_emval=function(){for(var e=5;e<tr.length;++e)if(void 0!==tr[e])return tr[e];return null};var gr,wr={t:function(e){var r=ae[e];delete ae[e];var t=r.rawConstructor,n=r.rawDestructor,o=r.fields;we([e],o.map((function(e){return e.getterReturnType})).concat(o.map((function(e){return e.setterArgumentType}))),(function(e){var i={};return o.forEach((function(r,t){var n=r.fieldName,a=e[t],u=r.getter,s=r.getterContext,c=e[t+o.length],f=r.setter,l=r.setterContext;i[n]={read:function(e){return a.fromWireType(u(s,e))},write:function(e,r){var t=[];f(l,e,c.toWireType(t,r)),ue(t)}}})),[{name:r.name,fromWireType:function(e){var r={};for(var t in i)r[t]=i[t].read(e);return n(e),r},toWireType:function(e,r){for(var o in i)if(!(o in r))throw new TypeError('Missing field: "'+o+'"');var a=t();for(o in i)i[o].write(a,r[o]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:se,destructorFunction:n}]}))},I:function(e,r,t,n,o){var i=Te(t);Ae(e,{name:r=Ce(r),fromWireType:function(e){return!!e},toWireType:function(e,r){return r?n:o},argPackAdvance:8,readValueFromPointer:function(e){var n;if(1===t)n=W;else if(2===t)n=F;else{if(4!==t)throw new TypeError("Unknown boolean type size: "+r);n=O}return this.fromWireType(n[e>>i])},destructorFunction:null})},x:function(e,r,t,n,o,i,a,u,s,c,f,l,p){f=Ce(f),i=Xe(o,i),u&&(u=Xe(a,u)),c&&(c=Xe(s,c)),p=Xe(l,p);var d=he(f);De(d,(function(){Qe("Cannot construct "+f+" due to unbound types",[n])})),we([e,r,t],n?[n]:[],(function(r){var t,o;r=r[0],o=n?(t=r.registeredClass).instancePrototype:Re.prototype;var a=ve(d,(function(){if(Object.getPrototypeOf(this)!==s)throw new $e("Use 'new' to construct "+f);if(void 0===l.constructor_body)throw new $e(f+" has no accessible constructor");var e=l.constructor_body[arguments.length];if(void 0===e)throw new $e("Tried to invoke ctor of "+f+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(l.constructor_body).toString()+") parameters instead!");return e.apply(this,arguments)})),s=Object.create(o,{constructor:{value:a}});a.prototype=s;var l=new Ue(f,a,s,p,t,i,u,c),h=new Ge(f,l,!0,!1,!1),v=new Ge(f+"*",l,!1,!1,!1),y=new Ge(f+" const*",l,!1,!0,!1);return Ie[e]={pointerType:v,constPointerType:y},Le(d,a),[h,v,y]}))},w:function(e,r,t,n,o,i){$(r>0);var a=Ye(r,t);o=Xe(n,o);var u=[i],s=[];we([],[e],(function(e){var t="constructor "+(e=e[0]).name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[r-1])throw new $e("Cannot register multiple constructors with identical number of parameters ("+(r-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.registeredClass.constructor_body[r-1]=function(){Qe("Cannot construct "+e.name+" due to unbound types",a)},we([],a,(function(n){return e.registeredClass.constructor_body[r-1]=function(){arguments.length!==r-1&&Pe(t+" called with "+arguments.length+" arguments, expected "+(r-1)),s.length=0,u.length=r;for(var e=1;e<r;++e)u[e]=n[e].toWireType(s,arguments[e-1]);var i=o.apply(null,u);return ue(s),n[0].fromWireType(i)},[]})),[]}))},d:function(e,r,t,n,o,i,a,u){var s=Ye(t,n);r=Ce(r),i=Xe(o,i),we([],[e],(function(e){var n=(e=e[0]).name+"."+r;function o(){Qe("Cannot call "+n+" due to unbound types",s)}u&&e.registeredClass.pureVirtualFunctions.push(r);var c=e.registeredClass.instancePrototype,f=c[r];return void 0===f||void 0===f.overloadTable&&f.className!==e.name&&f.argCount===t-2?(o.argCount=t-2,o.className=e.name,c[r]=o):(xe(c,r,n),c[r].overloadTable[t-2]=o),we([],s,(function(o){var u=er(n,o,e,i,a);return void 0===c[r].overloadTable?(u.argCount=t-2,c[r]=u):c[r].overloadTable[t-2]=u,[]})),[]}))},k:function(e,r,t){e=Ce(e),we([],[r],(function(r){return r=r[0],o[e]=r.fromWireType(t),[]}))},H:function(e,r){Ae(e,{name:r=Ce(r),fromWireType:function(e){var r=tr[e].value;return nr(e),r},toWireType:function(e,r){return or(r)},argPackAdvance:8,readValueFromPointer:se,destructorFunction:null})},n:function(e,r,t,n){var o=Te(t);function i(){}r=Ce(r),i.values={},Ae(e,{name:r,constructor:i,fromWireType:function(e){return this.constructor.values[e]},toWireType:function(e,r){return r.value},argPackAdvance:8,readValueFromPointer:ir(r,o,n),destructorFunction:null}),De(r,i)},a:function(e,r,t){var n=ar(e,"enum");r=Ce(r);var o=n.constructor,i=Object.create(n.constructor.prototype,{value:{value:t},constructor:{value:ve(n.name+"_"+r,(function(){}))}});o.values[t]=i,o[r]=i},A:function(e,r,t){var n=Te(t);Ae(e,{name:r=Ce(r),fromWireType:function(e){return e},toWireType:function(e,r){if("number"!=typeof r&&"boolean"!=typeof r)throw new TypeError('Cannot convert "'+ur(r)+'" to '+this.name);return r},argPackAdvance:8,readValueFromPointer:sr(r,n),destructorFunction:null})},i:function(e,r,t,n,o,i){var a=Ye(r,t);e=Ce(e),o=Xe(n,o),De(e,(function(){Qe("Cannot call "+e+" due to unbound types",a)}),r-1),we([],a,(function(t){var n=[t[0],null].concat(t.slice(1));return Le(e,er(e,n,null,o,i),r-1),[]}))},j:function(e,r,t,n,o){r=Ce(r),-1===o&&(o=4294967295);var i=Te(t),a=function(e){return e};if(0===n){var u=32-8*t;a=function(e){return e<<u>>>u}}var s=-1!=r.indexOf("unsigned");Ae(e,{name:r,fromWireType:a,toWireType:function(e,t){if("number"!=typeof t&&"boolean"!=typeof t)throw new TypeError('Cannot convert "'+ur(t)+'" to '+this.name);if(t<n||t>o)throw new TypeError('Passing a number "'+ur(t)+'" from JS side to C/C++ side to an argument of type "'+r+'", which is outside the valid range ['+n+", "+o+"]!");return s?t>>>0:0|t},argPackAdvance:8,readValueFromPointer:cr(r,i,0!==n),destructorFunction:null})},h:function(e,r,t){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][r];function o(e){var r=j,t=r[e>>=2],o=r[e+1];return new n(S,o,t)}Ae(e,{name:t=Ce(t),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},B:function(e,r){var t="std::string"===(r=Ce(r));Ae(e,{name:r,fromWireType:function(e){var r,n=j[e>>2];if(t)for(var o=e+4,i=0;i<=n;++i){var a=e+4+i;if(i==n||0==E[a]){var u=_(o,a-o);void 0===r?r=u:(r+=String.fromCharCode(0),r+=u),o=a+1}}else{var s=new Array(n);for(i=0;i<n;++i)s[i]=String.fromCharCode(E[e+4+i]);r=s.join("")}return br(e),r},toWireType:function(e,r){var n;r instanceof ArrayBuffer&&(r=new Uint8Array(r));var o="string"==typeof r;o||r instanceof Uint8Array||r instanceof Uint8ClampedArray||r instanceof Int8Array||Pe("Cannot pass non-string to std::string"),n=t&&o?function(){return function(e){for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++t)),n<=127?++r:r+=n<=2047?2:n<=65535?3:4}return r}(r)}:function(){return r.length};var i=n(),a=Tr(4+i+1);if(j[a>>2]=i,t&&o)!function(e,r,t,n){if(!(n>0))return 0;for(var o=t+n-1,i=0;i<e.length;++i){var a=e.charCodeAt(i);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i)),a<=127){if(t>=o)break;r[t++]=a}else if(a<=2047){if(t+1>=o)break;r[t++]=192|a>>6,r[t++]=128|63&a}else if(a<=65535){if(t+2>=o)break;r[t++]=224|a>>12,r[t++]=128|a>>6&63,r[t++]=128|63&a}else{if(t+3>=o)break;r[t++]=240|a>>18,r[t++]=128|a>>12&63,r[t++]=128|a>>6&63,r[t++]=128|63&a}}r[t]=0}(r,E,a+4,i+1);else if(o)for(var u=0;u<i;++u){var s=r.charCodeAt(u);s>255&&(br(a),Pe("String has UTF-16 code units that do not fit in 8 bits")),E[a+4+u]=s}else for(u=0;u<i;++u)E[a+4+u]=r[u];return null!==e&&e.push(br,a),a},argPackAdvance:8,readValueFromPointer:se,destructorFunction:function(e){br(e)}})},v:function(e,r,t){var n,o,i,a,u;t=Ce(t),2===r?(n=D,o=U,a=B,i=function(){return k},u=1):4===r&&(n=M,o=V,a=H,i=function(){return j},u=2),Ae(e,{name:t,fromWireType:function(e){for(var t,o=j[e>>2],a=i(),s=e+4,c=0;c<=o;++c){var f=e+4+c*r;if(c==o||0==a[f>>u]){var l=n(s,f-s);void 0===t?t=l:(t+=String.fromCharCode(0),t+=l),s=f+r}}return br(e),t},toWireType:function(e,n){"string"!=typeof n&&Pe("Cannot pass non-string to C++ string type "+t);var i=a(n),s=Tr(4+i+r);return j[s>>2]=i>>u,o(n,s+4,i+r),null!==e&&e.push(br,s),s},argPackAdvance:8,readValueFromPointer:se,destructorFunction:function(e){br(e)}})},u:function(e,r,t,n,o,i){ae[e]={name:Ce(r),rawConstructor:Xe(t,n),rawDestructor:Xe(o,i),fields:[]}},c:function(e,r,t,n,o,i,a,u,s,c){ae[e].fields.push({fieldName:Ce(r),getterReturnType:t,getter:Xe(n,o),getterContext:i,setterArgumentType:a,setter:Xe(u,s),setterContext:c})},J:function(e,r){Ae(e,{isVoid:!0,name:r=Ce(r),argPackAdvance:0,fromWireType:function(){},toWireType:function(e,r){}})},m:function(e,r,t){e=fr(e),r=ar(r,"emval::as");var n=[],o=or(n);return O[t>>2]=o,r.toWireType(n,e)},s:function(e,r,t,n){(e=dr[e])(r=fr(r),t=pr(t),null,n)},b:nr,y:function(e){return 0===e?or(hr()):(e=pr(e),or(hr()[e]))},p:function(e,r){for(var t=function(e,r){for(var t=new Array(e),n=0;n<e;++n)t[n]=ar(O[(r>>2)+n],"parameter "+n);return t}(e,r),n=t[0],o=n.name+"_$"+t.slice(1).map((function(e){return e.name})).join("_")+"$",i=["retType"],a=[n],u="",s=0;s<e-1;++s)u+=(0!==s?", ":"")+"arg"+s,i.push("argType"+s),a.push(t[1+s]);var c,f,l="return function "+he("methodCaller_"+o)+"(handle, name, destructors, args) {\n",p=0;for(s=0;s<e-1;++s)l+=" var arg"+s+" = argType"+s+".readValueFromPointer(args"+(p?"+"+p:"")+");\n",p+=t[s+1].argPackAdvance;for(l+=" var rv = handle[name]("+u+");\n",s=0;s<e-1;++s)t[s+1].deleteObject&&(l+=" argType"+s+".deleteObject(arg"+s+");\n");return n.isVoid||(l+=" return retType.toWireType(destructors, rv);\n"),l+="};\n",i.push(l),c=Ze(Function,i).apply(null,a),f=dr.length,dr.push(c),f},r:function(e){return e=pr(e),or(o[e])},e:function(e,r){return or((e=fr(e))[r=fr(r)])},g:function(e){e>4&&(tr[e].refcount+=1)},q:function(e,r,t,n){e=fr(e);var i=vr[r];return i||(i=function(e){for(var r="",t=0;t<e;++t)r+=(0!==t?", ":"")+"arg"+t;var n="return function emval_allocator_"+e+"(constructor, argTypes, args) {\n";for(t=0;t<e;++t)n+="var argType"+t+" = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + "+t+'], "parameter '+t+'");\nvar arg'+t+" = argType"+t+".readValueFromPointer(args);\nargs += argType"+t+"['argPackAdvance'];\n";return n+="var obj = new constructor("+r+");\nreturn __emval_register(obj);\n}\n",new Function("requireRegisteredType","Module","__emval_register",n)(ar,o,or)}(r),vr[r]=i),i(e,t,n)},f:function(e){return or(pr(e))},l:function(e){ue(tr[e].value),nr(e)},o:function(){Y()},E:function(e,r,t){E.copyWithin(e,r,r+t)},F:function(e){var r,t=E.length,n=2147483648;if((e>>>=0)>n)return!1;for(var o=1;o<=4;o*=2){var i=t*(1+.2/o);if(i=Math.min(i,e+100663296),yr(Math.min(n,((r=Math.max(e,i))%65536>0&&(r+=65536-r%65536),r))))return!0}return!1},G:function(e){return 0},C:function(e,r,t,n,o){},z:function(e,r,t,n){for(var o=0,i=0;i<t;i++){for(var a=O[r+8*i>>2],u=O[r+(8*i+4)>>2],s=0;s<u;s++)mr.printChar(e,E[a+s]);o+=u}return O[n>>2]=o,0},D:function(e){}},Tr=(function(){var e={a:wr};function r(e,r){var t,n=e.exports;o.asm=n,q((w=o.asm.K).buffer),z=o.asm.O,t=o.asm.L,G.unshift(t),function(e){if(J--,o.monitorRunDependencies&&o.monitorRunDependencies(J),0==J&&(null!==K&&(clearInterval(K),K=null),Q)){var r=Q;Q=null,r()}}()}function t(e){r(e.instance)}function i(r){return function(){if(!g&&(c||f)){if("function"==typeof fetch&&!re(ne))return fetch(ne,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ne+"'";return e.arrayBuffer()})).catch((function(){return oe(ne)}));if(d)return new Promise((function(e,r){d(ne,(function(r){e(new Uint8Array(r))}),r)}))}return Promise.resolve().then((function(){return oe(ne)}))}().then((function(r){return WebAssembly.instantiate(r,e)})).then(r,(function(e){b("failed to asynchronously prepare wasm: "+e),Y(e)}))}if(J++,o.monitorRunDependencies&&o.monitorRunDependencies(J),o.instantiateWasm)try{return o.instantiateWasm(e,r)}catch(e){return b("Module.instantiateWasm callback failed with error: "+e),!1}(g||"function"!=typeof WebAssembly.instantiateStreaming||ee(ne)||re(ne)||"function"!=typeof fetch?i(t):fetch(ne,{credentials:"same-origin"}).then((function(r){return WebAssembly.instantiateStreaming(r,e).then(t,(function(e){return b("wasm streaming compile failed: "+e),b("falling back to ArrayBuffer instantiation"),i(t)}))}))).catch(n)}(),o.___wasm_call_ctors=function(){return(o.___wasm_call_ctors=o.asm.L).apply(null,arguments)},o._malloc=function(){return(Tr=o._malloc=o.asm.M).apply(null,arguments)}),br=o._free=function(){return(br=o._free=o.asm.N).apply(null,arguments)},Cr=o.___getTypeName=function(){return(Cr=o.___getTypeName=o.asm.P).apply(null,arguments)};function $r(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function Pr(e){function r(){gr||(gr=!0,o.calledRun=!0,C||(ie(G),ie(L),t(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),function(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)e=o.postRun.shift(),X.unshift(e);var e;ie(X)}()))}e=e||l,J>0||(function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)e=o.preRun.shift(),N.unshift(e);var e;ie(N)}(),J>0||(o.setStatus?(o.setStatus("Running..."),setTimeout((function(){setTimeout((function(){o.setStatus("")}),1),r()}),1)):r()))}if(o.___embind_register_native_and_builtin_types=function(){return(o.___embind_register_native_and_builtin_types=o.asm.Q).apply(null,arguments)},o.dynCall_jiji=function(){return(o.dynCall_jiji=o.asm.R).apply(null,arguments)},Q=function e(){gr||Pr(),gr||(Q=e)},o.run=Pr,o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return Pr(),r.ready}}();"object"==typeof exports&&"object"==typeof module?module.exports=BASIS:"function"==typeof define&&define.amd?define([],(function(){return BASIS})):"object"==typeof exports&&(exports.BASIS=BASIS);
|
@@ -1 +0,0 @@
|
|
1
|
-
var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.arrayIteratorImpl=function(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}},$jscomp.arrayIterator=function(t){return{next:$jscomp.arrayIteratorImpl(t)}},$jscomp.makeIterator=function(t){var e="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return e?e.call(t):$jscomp.arrayIterator(t)},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.ISOLATE_POLYFILLS=!1,$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,$jscomp.getGlobal=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<t.length;++e){var r=t[e];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){return t==Array.prototype||t==Object.prototype||(t[e]=r.value),t},$jscomp.IS_SYMBOL_NATIVE="function"==typeof Symbol&&"symbol"==typeof Symbol("x"),$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE,$jscomp.polyfills={},$jscomp.propertyToPolyfillSymbol={},$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(t,e){var r=$jscomp.propertyToPolyfillSymbol[e];return null==r?t[e]:void 0!==(r=t[r])?r:t[e]};$jscomp.polyfill=function(t,e,r,n){e&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(t,e,r,n):$jscomp.polyfillUnisolated(t,e,r,n))},$jscomp.polyfillUnisolated=function(t,e,r,n){for(r=$jscomp.global,t=t.split("."),n=0;n<t.length-1;n++){var o=t[n];if(!(o in r))return;r=r[o]}(e=e(n=r[t=t[t.length-1]]))!=n&&null!=e&&$jscomp.defineProperty(r,t,{configurable:!0,writable:!0,value:e})},$jscomp.polyfillIsolated=function(t,e,r,n){var o=t.split(".");t=1===o.length,n=o[0],n=!t&&n in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var _=0;_<o.length-1;_++){var i=o[_];if(!(i in n))return;n=n[i]}o=o[o.length-1],null!=(e=e(r=$jscomp.IS_SYMBOL_NATIVE&&"es6"===r?n[o]:null))&&(t?$jscomp.defineProperty($jscomp.polyfills,o,{configurable:!0,writable:!0,value:e}):e!==r&&(void 0===$jscomp.propertyToPolyfillSymbol[o]&&(r=1e9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[o]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(o):$jscomp.POLYFILL_PREFIX+r+"$"+o),$jscomp.defineProperty(n,$jscomp.propertyToPolyfillSymbol[o],{configurable:!0,writable:!0,value:e})))},$jscomp.polyfill("Promise",(function(t){function e(){this.batch_=null}function r(t){return t instanceof o?t:new o((function(e,r){e(t)}))}if(t&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&void 0===$jscomp.global.PromiseRejectionEvent)||!$jscomp.global.Promise||-1===$jscomp.global.Promise.toString().indexOf("[native code]")))return t;e.prototype.asyncExecute=function(t){if(null==this.batch_){this.batch_=[];var e=this;this.asyncExecuteFunction((function(){e.executeBatch_()}))}this.batch_.push(t)};var n=$jscomp.global.setTimeout;e.prototype.asyncExecuteFunction=function(t){n(t,0)},e.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var t=this.batch_;this.batch_=[];for(var e=0;e<t.length;++e){var r=t[e];t[e]=null;try{r()}catch(t){this.asyncThrow_(t)}}}this.batch_=null},e.prototype.asyncThrow_=function(t){this.asyncExecuteFunction((function(){throw t}))};var o=function(t){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var e=this.createResolveAndReject_();try{t(e.resolve,e.reject)}catch(t){e.reject(t)}};o.prototype.createResolveAndReject_=function(){function t(t){return function(n){r||(r=!0,t.call(e,n))}}var e=this,r=!1;return{resolve:t(this.resolveTo_),reject:t(this.reject_)}},o.prototype.resolveTo_=function(t){if(t===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof o)this.settleSameAsPromise_(t);else{t:switch(typeof t){case"object":var e=null!=t;break t;case"function":e=!0;break t;default:e=!1}e?this.resolveToNonPromiseObj_(t):this.fulfill_(t)}},o.prototype.resolveToNonPromiseObj_=function(t){var e=void 0;try{e=t.then}catch(t){return void this.reject_(t)}"function"==typeof e?this.settleSameAsThenable_(e,t):this.fulfill_(t)},o.prototype.reject_=function(t){this.settle_(2,t)},o.prototype.fulfill_=function(t){this.settle_(1,t)},o.prototype.settle_=function(t,e){if(0!=this.state_)throw Error("Cannot settle("+t+", "+e+"): Promise already settled in state"+this.state_);this.state_=t,this.result_=e,2===this.state_&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},o.prototype.scheduleUnhandledRejectionCheck_=function(){var t=this;n((function(){if(t.notifyUnhandledRejection_()){var e=$jscomp.global.console;void 0!==e&&e.error(t.result_)}}),1)},o.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var t=$jscomp.global.CustomEvent,e=$jscomp.global.Event,r=$jscomp.global.dispatchEvent;return void 0===r||("function"==typeof t?t=new t("unhandledrejection",{cancelable:!0}):"function"==typeof e?t=new e("unhandledrejection",{cancelable:!0}):(t=$jscomp.global.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,t),t.promise=this,t.reason=this.result_,r(t))},o.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var t=0;t<this.onSettledCallbacks_.length;++t)_.asyncExecute(this.onSettledCallbacks_[t]);this.onSettledCallbacks_=null}};var _=new e;return o.prototype.settleSameAsPromise_=function(t){var e=this.createResolveAndReject_();t.callWhenSettled_(e.resolve,e.reject)},o.prototype.settleSameAsThenable_=function(t,e){var r=this.createResolveAndReject_();try{t.call(e,r.resolve,r.reject)}catch(t){r.reject(t)}},o.prototype.then=function(t,e){function r(t,e){return"function"==typeof t?function(e){try{n(t(e))}catch(t){_(t)}}:e}var n,_,i=new o((function(t,e){n=t,_=e}));return this.callWhenSettled_(r(t,n),r(e,_)),i},o.prototype.catch=function(t){return this.then(void 0,t)},o.prototype.callWhenSettled_=function(t,e){function r(){switch(n.state_){case 1:t(n.result_);break;case 2:e(n.result_);break;default:throw Error("Unexpected state: "+n.state_)}}var n=this;null==this.onSettledCallbacks_?_.asyncExecute(r):this.onSettledCallbacks_.push(r),this.isRejectionHandled_=!0},o.resolve=r,o.reject=function(t){return new o((function(e,r){r(t)}))},o.race=function(t){return new o((function(e,n){for(var o=$jscomp.makeIterator(t),_=o.next();!_.done;_=o.next())r(_.value).callWhenSettled_(e,n)}))},o.all=function(t){var e=$jscomp.makeIterator(t),n=e.next();return n.done?r([]):new o((function(t,o){function _(e){return function(r){i[e]=r,0==--p&&t(i)}}var i=[],p=0;do{i.push(void 0),p++,r(n.value).callWhenSettled_(_(i.length-1),o),n=e.next()}while(!n.done)}))},o}),"es6","es3"),$jscomp.owns=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(t,e){for(var r=1;r<arguments.length;r++){var n=arguments[r];if(n)for(var o in n)$jscomp.owns(n,o)&&(t[o]=n[o])}return t},$jscomp.polyfill("Object.assign",(function(t){return t||$jscomp.assign}),"es6","es3"),$jscomp.checkStringArgs=function(t,e,r){if(null==t)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return t+""},$jscomp.polyfill("String.prototype.startsWith",(function(t){return t||function(t,e){var r=$jscomp.checkStringArgs(this,t,"startsWith");t+="";var n=r.length,o=t.length;e=Math.max(0,Math.min(0|e,r.length));for(var _=0;_<o&&e<n;)if(r[e++]!=t[_++])return!1;return _>=o}}),"es6","es3"),$jscomp.polyfill("Array.prototype.copyWithin",(function(t){function e(t){return 1/0===(t=Number(t))||-1/0===t?t:0|t}return t||function(t,r,n){var o=this.length;if(t=e(t),r=e(r),n=void 0===n?o:e(n),t=0>t?Math.max(o+t,0):Math.min(t,o),r=0>r?Math.max(o+r,0):Math.min(r,o),n=0>n?Math.max(o+n,0):Math.min(n,o),t<r)for(;r<n;)r in this?this[t++]=this[r++]:(delete this[t++],r++);else for(t+=(n=Math.min(n,o+r-t))-r;n>r;)--n in this?this[--t]=this[n]:delete this[--t];return this}}),"es6","es3"),$jscomp.typedArrayCopyWithin=function(t){return t||Array.prototype.copyWithin},$jscomp.polyfill("Int8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint8ClampedArray.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Int16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Int32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Float32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Float64Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");var DracoDecoderModule=function(){var t="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(t=t||__filename),function(e){function r(t,e,r){var n=e+r;for(r=e;t[r]&&!(r>=n);)++r;if(16<r-e&&t.buffer&&it)return it.decode(t.subarray(e,r));for(n="";e<r;){var o=t[e++];if(128&o){var _=63&t[e++];if(192==(224&o))n+=String.fromCharCode((31&o)<<6|_);else{var i=63&t[e++];65536>(o=224==(240&o)?(15&o)<<12|_<<6|i:(7&o)<<18|_<<12|i<<6|63&t[e++])?n+=String.fromCharCode(o):(o-=65536,n+=String.fromCharCode(55296|o>>10,56320|1023&o))}}else n+=String.fromCharCode(o)}return n}function n(t,e){return t?r(et,t,e):""}function o(){var t=Z.buffer;C.HEAP8=tt=new Int8Array(t),C.HEAP16=new Int16Array(t),C.HEAP32=rt=new Int32Array(t),C.HEAPU8=et=new Uint8Array(t),C.HEAPU16=new Uint16Array(t),C.HEAPU32=nt=new Uint32Array(t),C.HEAPF32=new Float32Array(t),C.HEAPF64=new Float64Array(t)}function _(t){throw C.onAbort&&C.onAbort(t),J(t="Aborted("+t+")"),_t=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),L(t),t}function i(t){try{if(t==ft&&X)return new Uint8Array(X);if(H)return H(t);throw"both async and sync fetching of the wasm failed"}catch(t){_(t)}}function p(t){for(;0<t.length;)t.shift()(C)}function a(t){this.excPtr=t,this.ptr=t-24,this.set_type=function(t){nt[this.ptr+4>>2]=t},this.get_type=function(){return nt[this.ptr+4>>2]},this.set_destructor=function(t){nt[this.ptr+8>>2]=t},this.get_destructor=function(){return nt[this.ptr+8>>2]},this.set_refcount=function(t){rt[this.ptr>>2]=t},this.set_caught=function(t){tt[this.ptr+12>>0]=t?1:0},this.get_caught=function(){return 0!=tt[this.ptr+12>>0]},this.set_rethrown=function(t){tt[this.ptr+13>>0]=t?1:0},this.get_rethrown=function(){return 0!=tt[this.ptr+13>>0]},this.init=function(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){rt[this.ptr>>2]+=1},this.release_ref=function(){var t=rt[this.ptr>>2];return rt[this.ptr>>2]=t-1,1===t},this.set_adjusted_ptr=function(t){nt[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return nt[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Zr(this.get_type()))return nt[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}function c(){function t(){if(!Jr&&(Jr=!0,C.calledRun=!0,!_t)){if(st=!0,p(at),F(C),C.onRuntimeInitialized&&C.onRuntimeInitialized(),C.postRun)for("function"==typeof C.postRun&&(C.postRun=[C.postRun]);C.postRun.length;)ct.unshift(C.postRun.shift());p(ct)}}if(!(0<ut)){if(C.preRun)for("function"==typeof C.preRun&&(C.preRun=[C.preRun]);C.preRun.length;)pt.unshift(C.preRun.shift());p(pt),0<ut||(C.setStatus?(C.setStatus("Running..."),setTimeout((function(){setTimeout((function(){C.setStatus("")}),1),t()}),1)):t())}}function s(){}function u(t){return(t||s).__cache__}function y(t,e){var r=u(e),n=r[t];return n||((n=Object.create((e||s).prototype)).ptr=t,r[t]=n)}function l(t){if("string"==typeof t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);127>=n?e++:2047>=n?e+=2:55296<=n&&57343>=n?(e+=4,++r):e+=3}if(r=0,0<(n=(e=Array(e+1)).length)){n=r+n-1;for(var o=0;o<t.length;++o){var _=t.charCodeAt(o);if(55296<=_&&57343>=_&&(_=65536+((1023&_)<<10)|1023&t.charCodeAt(++o)),127>=_){if(r>=n)break;e[r++]=_}else{if(2047>=_){if(r+1>=n)break;e[r++]=192|_>>6}else{if(65535>=_){if(r+2>=n)break;e[r++]=224|_>>12}else{if(r+3>=n)break;e[r++]=240|_>>18,e[r++]=128|_>>12&63}e[r++]=128|_>>6&63}e[r++]=128|63&_}}e[r]=0}return t=tn.alloc(e,tt),tn.copy(e,tt,t),t}return t}function f(t){if("object"==typeof t){var e=tn.alloc(t,tt);return tn.copy(t,tt,e),e}return t}function m(){throw"cannot construct a VoidPtr, no constructor in IDL"}function d(){this.ptr=ht(),u(d)[this.ptr]=this}function b(){this.ptr=Dt(),u(b)[this.ptr]=this}function h(){this.ptr=Et(),u(h)[this.ptr]=this}function A(){this.ptr=vt(),u(A)[this.ptr]=this}function T(){this.ptr=Ct(),u(T)[this.ptr]=this}function D(){this.ptr=Wt(),u(D)[this.ptr]=this}function I(){this.ptr=Yt(),u(I)[this.ptr]=this}function j(){this.ptr=Kt(),u(j)[this.ptr]=this}function E(){this.ptr=re(),u(E)[this.ptr]=this}function G(){throw"cannot construct a Status, no constructor in IDL"}function v(){this.ptr=ae(),u(v)[this.ptr]=this}function O(){this.ptr=ye(),u(O)[this.ptr]=this}function P(){this.ptr=de(),u(P)[this.ptr]=this}function R(){this.ptr=Te(),u(R)[this.ptr]=this}function S(){this.ptr=Ee(),u(S)[this.ptr]=this}function M(){this.ptr=Pe(),u(M)[this.ptr]=this}function N(){this.ptr=Ne(),u(N)[this.ptr]=this}function U(){this.ptr=Le(),u(U)[this.ptr]=this}function g(){this.ptr=xe(),u(g)[this.ptr]=this}var F,L,C=void 0!==(e=void 0===e?{}:e)?e:{};C.ready=new Promise((function(t,e){F=t,L=e}));var $=!1,w=!1;C.onRuntimeInitialized=function(){$=!0,w&&"function"==typeof C.onModuleLoaded&&C.onModuleLoaded(C)},C.onModuleParsed=function(){w=!0,$&&"function"==typeof C.onModuleLoaded&&C.onModuleLoaded(C)},C.isVersionSupported=function(t){return"string"==typeof t&&!(2>(t=t.split(".")).length||3<t.length)&&(1==t[0]&&0<=t[1]&&5>=t[1]||!(0!=t[0]||10<t[1]))};var z=Object.assign({},C),V="object"==typeof window,B="function"==typeof importScripts,W="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,k="";if(W){var x=require("fs"),Q=require("path");k=B?Q.dirname(k)+"/":__dirname+"/";var Y=function(t,e){return t=t.startsWith("file://")?new URL(t):Q.normalize(t),x.readFileSync(t,e?void 0:"utf8")},H=function(t){return(t=Y(t,!0)).buffer||(t=new Uint8Array(t)),t},q=function(t,e,r){t=t.startsWith("file://")?new URL(t):Q.normalize(t),x.readFile(t,(function(t,n){t?r(t):e(n.buffer)}))};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),C.inspect=function(){return"[Emscripten Module object]"}}else(V||B)&&(B?k=self.location.href:"undefined"!=typeof document&&document.currentScript&&(k=document.currentScript.src),t&&(k=t),k=0!==k.indexOf("blob:")?k.substr(0,k.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Y=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},B&&(H=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),q=function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)});var X,K=C.print||console.log.bind(console),J=C.printErr||console.warn.bind(console);Object.assign(C,z),z=null,C.wasmBinary&&(X=C.wasmBinary),"object"!=typeof WebAssembly&&_("no native wasm support detected");var Z,tt,et,rt,nt,ot,_t=!1,it="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,pt=[],at=[],ct=[],st=!1,ut=0,yt=null,lt=null,ft="draco_decoder.wasm";ft.startsWith("data:application/octet-stream;base64,")||(ot=ft,ft=C.locateFile?C.locateFile(ot,k):k+ot);var mt=[null,[],[]],dt={b:function(t,e,r){throw new a(t).init(e,r),t},a:function(){_("")},g:function(t,e,r){et.copyWithin(t,e,e+r)},e:function(t){var e=et.length;if(2147483648<(t>>>=0))return!1;for(var r=1;4>=r;r*=2){var n=e*(1+.2/r);n=Math.min(n,t+100663296);var _=Math;n=Math.max(t,n),_=_.min.call(_,2147483648,n+(65536-n%65536)%65536);t:{n=Z.buffer;try{Z.grow(_-n.byteLength+65535>>>16),o();var i=1;break t}catch(t){}i=void 0}if(i)return!0}return!1},f:function(t){return 52},d:function(t,e,r,n,o){return 70},c:function(t,e,n,o){for(var _=0,i=0;i<n;i++){var p=nt[e>>2],a=nt[e+4>>2];e+=8;for(var c=0;c<a;c++){var s=et[p+c],u=mt[t];0===s||10===s?((1===t?K:J)(r(u,0)),u.length=0):u.push(s)}_+=a}return nt[o>>2]=_,0}};!function(){function t(t,e){C.asm=t.exports,Z=C.asm.h,o(),at.unshift(C.asm.i),ut--,C.monitorRunDependencies&&C.monitorRunDependencies(ut),0==ut&&(null!==yt&&(clearInterval(yt),yt=null),lt&&(t=lt,lt=null,t()))}function e(e){t(e.instance)}function r(t){return function(){if(!X&&(V||B)){if("function"==typeof fetch&&!ft.startsWith("file://"))return fetch(ft,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+ft+"'";return t.arrayBuffer()})).catch((function(){return i(ft)}));if(q)return new Promise((function(t,e){q(ft,(function(e){t(new Uint8Array(e))}),e)}))}return Promise.resolve().then((function(){return i(ft)}))}().then((function(t){return WebAssembly.instantiate(t,n)})).then((function(t){return t})).then(t,(function(t){J("failed to asynchronously prepare wasm: "+t),_(t)}))}var n={a:dt};if(ut++,C.monitorRunDependencies&&C.monitorRunDependencies(ut),C.instantiateWasm)try{return C.instantiateWasm(n,t)}catch(t){J("Module.instantiateWasm callback failed with error: "+t),L(t)}(X||"function"!=typeof WebAssembly.instantiateStreaming||ft.startsWith("data:application/octet-stream;base64,")||ft.startsWith("file://")||W||"function"!=typeof fetch?r(e):fetch(ft,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,n).then(e,(function(t){return J("wasm streaming compile failed: "+t),J("falling back to ArrayBuffer instantiation"),r(e)}))}))).catch(L)}();var bt=C._emscripten_bind_VoidPtr___destroy___0=function(){return(bt=C._emscripten_bind_VoidPtr___destroy___0=C.asm.k).apply(null,arguments)},ht=C._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(ht=C._emscripten_bind_DecoderBuffer_DecoderBuffer_0=C.asm.l).apply(null,arguments)},At=C._emscripten_bind_DecoderBuffer_Init_2=function(){return(At=C._emscripten_bind_DecoderBuffer_Init_2=C.asm.m).apply(null,arguments)},Tt=C._emscripten_bind_DecoderBuffer___destroy___0=function(){return(Tt=C._emscripten_bind_DecoderBuffer___destroy___0=C.asm.n).apply(null,arguments)},Dt=C._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Dt=C._emscripten_bind_AttributeTransformData_AttributeTransformData_0=C.asm.o).apply(null,arguments)},It=C._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(It=C._emscripten_bind_AttributeTransformData_transform_type_0=C.asm.p).apply(null,arguments)},jt=C._emscripten_bind_AttributeTransformData___destroy___0=function(){return(jt=C._emscripten_bind_AttributeTransformData___destroy___0=C.asm.q).apply(null,arguments)},Et=C._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Et=C._emscripten_bind_GeometryAttribute_GeometryAttribute_0=C.asm.r).apply(null,arguments)},Gt=C._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Gt=C._emscripten_bind_GeometryAttribute___destroy___0=C.asm.s).apply(null,arguments)},vt=C._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(vt=C._emscripten_bind_PointAttribute_PointAttribute_0=C.asm.t).apply(null,arguments)},Ot=C._emscripten_bind_PointAttribute_size_0=function(){return(Ot=C._emscripten_bind_PointAttribute_size_0=C.asm.u).apply(null,arguments)},Pt=C._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(Pt=C._emscripten_bind_PointAttribute_GetAttributeTransformData_0=C.asm.v).apply(null,arguments)},Rt=C._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Rt=C._emscripten_bind_PointAttribute_attribute_type_0=C.asm.w).apply(null,arguments)},St=C._emscripten_bind_PointAttribute_data_type_0=function(){return(St=C._emscripten_bind_PointAttribute_data_type_0=C.asm.x).apply(null,arguments)},Mt=C._emscripten_bind_PointAttribute_num_components_0=function(){return(Mt=C._emscripten_bind_PointAttribute_num_components_0=C.asm.y).apply(null,arguments)},Nt=C._emscripten_bind_PointAttribute_normalized_0=function(){return(Nt=C._emscripten_bind_PointAttribute_normalized_0=C.asm.z).apply(null,arguments)},Ut=C._emscripten_bind_PointAttribute_byte_stride_0=function(){return(Ut=C._emscripten_bind_PointAttribute_byte_stride_0=C.asm.A).apply(null,arguments)},gt=C._emscripten_bind_PointAttribute_byte_offset_0=function(){return(gt=C._emscripten_bind_PointAttribute_byte_offset_0=C.asm.B).apply(null,arguments)},Ft=C._emscripten_bind_PointAttribute_unique_id_0=function(){return(Ft=C._emscripten_bind_PointAttribute_unique_id_0=C.asm.C).apply(null,arguments)},Lt=C._emscripten_bind_PointAttribute___destroy___0=function(){return(Lt=C._emscripten_bind_PointAttribute___destroy___0=C.asm.D).apply(null,arguments)},Ct=C._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Ct=C._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=C.asm.E).apply(null,arguments)},$t=C._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return($t=C._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=C.asm.F).apply(null,arguments)},wt=C._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(wt=C._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=C.asm.G).apply(null,arguments)},zt=C._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(zt=C._emscripten_bind_AttributeQuantizationTransform_min_value_1=C.asm.H).apply(null,arguments)},Vt=C._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(Vt=C._emscripten_bind_AttributeQuantizationTransform_range_0=C.asm.I).apply(null,arguments)},Bt=C._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(Bt=C._emscripten_bind_AttributeQuantizationTransform___destroy___0=C.asm.J).apply(null,arguments)},Wt=C._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Wt=C._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=C.asm.K).apply(null,arguments)},kt=C._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(kt=C._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=C.asm.L).apply(null,arguments)},xt=C._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(xt=C._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=C.asm.M).apply(null,arguments)},Qt=C._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Qt=C._emscripten_bind_AttributeOctahedronTransform___destroy___0=C.asm.N).apply(null,arguments)},Yt=C._emscripten_bind_PointCloud_PointCloud_0=function(){return(Yt=C._emscripten_bind_PointCloud_PointCloud_0=C.asm.O).apply(null,arguments)},Ht=C._emscripten_bind_PointCloud_num_attributes_0=function(){return(Ht=C._emscripten_bind_PointCloud_num_attributes_0=C.asm.P).apply(null,arguments)},qt=C._emscripten_bind_PointCloud_num_points_0=function(){return(qt=C._emscripten_bind_PointCloud_num_points_0=C.asm.Q).apply(null,arguments)},Xt=C._emscripten_bind_PointCloud___destroy___0=function(){return(Xt=C._emscripten_bind_PointCloud___destroy___0=C.asm.R).apply(null,arguments)},Kt=C._emscripten_bind_Mesh_Mesh_0=function(){return(Kt=C._emscripten_bind_Mesh_Mesh_0=C.asm.S).apply(null,arguments)},Jt=C._emscripten_bind_Mesh_num_faces_0=function(){return(Jt=C._emscripten_bind_Mesh_num_faces_0=C.asm.T).apply(null,arguments)},Zt=C._emscripten_bind_Mesh_num_attributes_0=function(){return(Zt=C._emscripten_bind_Mesh_num_attributes_0=C.asm.U).apply(null,arguments)},te=C._emscripten_bind_Mesh_num_points_0=function(){return(te=C._emscripten_bind_Mesh_num_points_0=C.asm.V).apply(null,arguments)},ee=C._emscripten_bind_Mesh___destroy___0=function(){return(ee=C._emscripten_bind_Mesh___destroy___0=C.asm.W).apply(null,arguments)},re=C._emscripten_bind_Metadata_Metadata_0=function(){return(re=C._emscripten_bind_Metadata_Metadata_0=C.asm.X).apply(null,arguments)},ne=C._emscripten_bind_Metadata___destroy___0=function(){return(ne=C._emscripten_bind_Metadata___destroy___0=C.asm.Y).apply(null,arguments)},oe=C._emscripten_bind_Status_code_0=function(){return(oe=C._emscripten_bind_Status_code_0=C.asm.Z).apply(null,arguments)},_e=C._emscripten_bind_Status_ok_0=function(){return(_e=C._emscripten_bind_Status_ok_0=C.asm._).apply(null,arguments)},ie=C._emscripten_bind_Status_error_msg_0=function(){return(ie=C._emscripten_bind_Status_error_msg_0=C.asm.$).apply(null,arguments)},pe=C._emscripten_bind_Status___destroy___0=function(){return(pe=C._emscripten_bind_Status___destroy___0=C.asm.aa).apply(null,arguments)},ae=C._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(ae=C._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=C.asm.ba).apply(null,arguments)},ce=C._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(ce=C._emscripten_bind_DracoFloat32Array_GetValue_1=C.asm.ca).apply(null,arguments)},se=C._emscripten_bind_DracoFloat32Array_size_0=function(){return(se=C._emscripten_bind_DracoFloat32Array_size_0=C.asm.da).apply(null,arguments)},ue=C._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(ue=C._emscripten_bind_DracoFloat32Array___destroy___0=C.asm.ea).apply(null,arguments)},ye=C._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(ye=C._emscripten_bind_DracoInt8Array_DracoInt8Array_0=C.asm.fa).apply(null,arguments)},le=C._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(le=C._emscripten_bind_DracoInt8Array_GetValue_1=C.asm.ga).apply(null,arguments)},fe=C._emscripten_bind_DracoInt8Array_size_0=function(){return(fe=C._emscripten_bind_DracoInt8Array_size_0=C.asm.ha).apply(null,arguments)},me=C._emscripten_bind_DracoInt8Array___destroy___0=function(){return(me=C._emscripten_bind_DracoInt8Array___destroy___0=C.asm.ia).apply(null,arguments)},de=C._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(de=C._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=C.asm.ja).apply(null,arguments)},be=C._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(be=C._emscripten_bind_DracoUInt8Array_GetValue_1=C.asm.ka).apply(null,arguments)},he=C._emscripten_bind_DracoUInt8Array_size_0=function(){return(he=C._emscripten_bind_DracoUInt8Array_size_0=C.asm.la).apply(null,arguments)},Ae=C._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Ae=C._emscripten_bind_DracoUInt8Array___destroy___0=C.asm.ma).apply(null,arguments)},Te=C._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Te=C._emscripten_bind_DracoInt16Array_DracoInt16Array_0=C.asm.na).apply(null,arguments)},De=C._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(De=C._emscripten_bind_DracoInt16Array_GetValue_1=C.asm.oa).apply(null,arguments)},Ie=C._emscripten_bind_DracoInt16Array_size_0=function(){return(Ie=C._emscripten_bind_DracoInt16Array_size_0=C.asm.pa).apply(null,arguments)},je=C._emscripten_bind_DracoInt16Array___destroy___0=function(){return(je=C._emscripten_bind_DracoInt16Array___destroy___0=C.asm.qa).apply(null,arguments)},Ee=C._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Ee=C._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=C.asm.ra).apply(null,arguments)},Ge=C._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(Ge=C._emscripten_bind_DracoUInt16Array_GetValue_1=C.asm.sa).apply(null,arguments)},ve=C._emscripten_bind_DracoUInt16Array_size_0=function(){return(ve=C._emscripten_bind_DracoUInt16Array_size_0=C.asm.ta).apply(null,arguments)},Oe=C._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(Oe=C._emscripten_bind_DracoUInt16Array___destroy___0=C.asm.ua).apply(null,arguments)},Pe=C._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Pe=C._emscripten_bind_DracoInt32Array_DracoInt32Array_0=C.asm.va).apply(null,arguments)},Re=C._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Re=C._emscripten_bind_DracoInt32Array_GetValue_1=C.asm.wa).apply(null,arguments)},Se=C._emscripten_bind_DracoInt32Array_size_0=function(){return(Se=C._emscripten_bind_DracoInt32Array_size_0=C.asm.xa).apply(null,arguments)},Me=C._emscripten_bind_DracoInt32Array___destroy___0=function(){return(Me=C._emscripten_bind_DracoInt32Array___destroy___0=C.asm.ya).apply(null,arguments)},Ne=C._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Ne=C._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=C.asm.za).apply(null,arguments)},Ue=C._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(Ue=C._emscripten_bind_DracoUInt32Array_GetValue_1=C.asm.Aa).apply(null,arguments)},ge=C._emscripten_bind_DracoUInt32Array_size_0=function(){return(ge=C._emscripten_bind_DracoUInt32Array_size_0=C.asm.Ba).apply(null,arguments)},Fe=C._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(Fe=C._emscripten_bind_DracoUInt32Array___destroy___0=C.asm.Ca).apply(null,arguments)},Le=C._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Le=C._emscripten_bind_MetadataQuerier_MetadataQuerier_0=C.asm.Da).apply(null,arguments)},Ce=C._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(Ce=C._emscripten_bind_MetadataQuerier_HasEntry_2=C.asm.Ea).apply(null,arguments)},$e=C._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return($e=C._emscripten_bind_MetadataQuerier_GetIntEntry_2=C.asm.Fa).apply(null,arguments)},we=C._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(we=C._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=C.asm.Ga).apply(null,arguments)},ze=C._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(ze=C._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=C.asm.Ha).apply(null,arguments)},Ve=C._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(Ve=C._emscripten_bind_MetadataQuerier_GetStringEntry_2=C.asm.Ia).apply(null,arguments)},Be=C._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(Be=C._emscripten_bind_MetadataQuerier_NumEntries_1=C.asm.Ja).apply(null,arguments)},We=C._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(We=C._emscripten_bind_MetadataQuerier_GetEntryName_2=C.asm.Ka).apply(null,arguments)},ke=C._emscripten_bind_MetadataQuerier___destroy___0=function(){return(ke=C._emscripten_bind_MetadataQuerier___destroy___0=C.asm.La).apply(null,arguments)},xe=C._emscripten_bind_Decoder_Decoder_0=function(){return(xe=C._emscripten_bind_Decoder_Decoder_0=C.asm.Ma).apply(null,arguments)},Qe=C._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(Qe=C._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=C.asm.Na).apply(null,arguments)},Ye=C._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(Ye=C._emscripten_bind_Decoder_DecodeArrayToMesh_3=C.asm.Oa).apply(null,arguments)},He=C._emscripten_bind_Decoder_GetAttributeId_2=function(){return(He=C._emscripten_bind_Decoder_GetAttributeId_2=C.asm.Pa).apply(null,arguments)},qe=C._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(qe=C._emscripten_bind_Decoder_GetAttributeIdByName_2=C.asm.Qa).apply(null,arguments)},Xe=C._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(Xe=C._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=C.asm.Ra).apply(null,arguments)},Ke=C._emscripten_bind_Decoder_GetAttribute_2=function(){return(Ke=C._emscripten_bind_Decoder_GetAttribute_2=C.asm.Sa).apply(null,arguments)},Je=C._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(Je=C._emscripten_bind_Decoder_GetAttributeByUniqueId_2=C.asm.Ta).apply(null,arguments)},Ze=C._emscripten_bind_Decoder_GetMetadata_1=function(){return(Ze=C._emscripten_bind_Decoder_GetMetadata_1=C.asm.Ua).apply(null,arguments)},tr=C._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(tr=C._emscripten_bind_Decoder_GetAttributeMetadata_2=C.asm.Va).apply(null,arguments)},er=C._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(er=C._emscripten_bind_Decoder_GetFaceFromMesh_3=C.asm.Wa).apply(null,arguments)},rr=C._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(rr=C._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=C.asm.Xa).apply(null,arguments)},nr=C._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(nr=C._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=C.asm.Ya).apply(null,arguments)},or=C._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(or=C._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=C.asm.Za).apply(null,arguments)},_r=C._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(_r=C._emscripten_bind_Decoder_GetAttributeFloat_3=C.asm._a).apply(null,arguments)},ir=C._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(ir=C._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=C.asm.$a).apply(null,arguments)},pr=C._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(pr=C._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=C.asm.ab).apply(null,arguments)},ar=C._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(ar=C._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=C.asm.bb).apply(null,arguments)},cr=C._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(cr=C._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=C.asm.cb).apply(null,arguments)},sr=C._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(sr=C._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=C.asm.db).apply(null,arguments)},ur=C._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(ur=C._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=C.asm.eb).apply(null,arguments)},yr=C._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(yr=C._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=C.asm.fb).apply(null,arguments)},lr=C._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(lr=C._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=C.asm.gb).apply(null,arguments)},fr=C._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(fr=C._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=C.asm.hb).apply(null,arguments)},mr=C._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(mr=C._emscripten_bind_Decoder_SkipAttributeTransform_1=C.asm.ib).apply(null,arguments)},dr=C._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(dr=C._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=C.asm.jb).apply(null,arguments)},br=C._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(br=C._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=C.asm.kb).apply(null,arguments)},hr=C._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(hr=C._emscripten_bind_Decoder_DecodeBufferToMesh_2=C.asm.lb).apply(null,arguments)},Ar=C._emscripten_bind_Decoder___destroy___0=function(){return(Ar=C._emscripten_bind_Decoder___destroy___0=C.asm.mb).apply(null,arguments)},Tr=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Tr=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=C.asm.nb).apply(null,arguments)},Dr=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Dr=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=C.asm.ob).apply(null,arguments)},Ir=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Ir=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=C.asm.pb).apply(null,arguments)},jr=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(jr=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=C.asm.qb).apply(null,arguments)},Er=C._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Er=C._emscripten_enum_draco_GeometryAttribute_Type_INVALID=C.asm.rb).apply(null,arguments)},Gr=C._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Gr=C._emscripten_enum_draco_GeometryAttribute_Type_POSITION=C.asm.sb).apply(null,arguments)},vr=C._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(vr=C._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=C.asm.tb).apply(null,arguments)},Or=C._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Or=C._emscripten_enum_draco_GeometryAttribute_Type_COLOR=C.asm.ub).apply(null,arguments)},Pr=C._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Pr=C._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=C.asm.vb).apply(null,arguments)},Rr=C._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(Rr=C._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=C.asm.wb).apply(null,arguments)},Sr=C._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(Sr=C._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=C.asm.xb).apply(null,arguments)},Mr=C._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(Mr=C._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=C.asm.yb).apply(null,arguments)},Nr=C._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(Nr=C._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=C.asm.zb).apply(null,arguments)},Ur=C._emscripten_enum_draco_DataType_DT_INVALID=function(){return(Ur=C._emscripten_enum_draco_DataType_DT_INVALID=C.asm.Ab).apply(null,arguments)},gr=C._emscripten_enum_draco_DataType_DT_INT8=function(){return(gr=C._emscripten_enum_draco_DataType_DT_INT8=C.asm.Bb).apply(null,arguments)},Fr=C._emscripten_enum_draco_DataType_DT_UINT8=function(){return(Fr=C._emscripten_enum_draco_DataType_DT_UINT8=C.asm.Cb).apply(null,arguments)},Lr=C._emscripten_enum_draco_DataType_DT_INT16=function(){return(Lr=C._emscripten_enum_draco_DataType_DT_INT16=C.asm.Db).apply(null,arguments)},Cr=C._emscripten_enum_draco_DataType_DT_UINT16=function(){return(Cr=C._emscripten_enum_draco_DataType_DT_UINT16=C.asm.Eb).apply(null,arguments)},$r=C._emscripten_enum_draco_DataType_DT_INT32=function(){return($r=C._emscripten_enum_draco_DataType_DT_INT32=C.asm.Fb).apply(null,arguments)},wr=C._emscripten_enum_draco_DataType_DT_UINT32=function(){return(wr=C._emscripten_enum_draco_DataType_DT_UINT32=C.asm.Gb).apply(null,arguments)},zr=C._emscripten_enum_draco_DataType_DT_INT64=function(){return(zr=C._emscripten_enum_draco_DataType_DT_INT64=C.asm.Hb).apply(null,arguments)},Vr=C._emscripten_enum_draco_DataType_DT_UINT64=function(){return(Vr=C._emscripten_enum_draco_DataType_DT_UINT64=C.asm.Ib).apply(null,arguments)},Br=C._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(Br=C._emscripten_enum_draco_DataType_DT_FLOAT32=C.asm.Jb).apply(null,arguments)},Wr=C._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(Wr=C._emscripten_enum_draco_DataType_DT_FLOAT64=C.asm.Kb).apply(null,arguments)},kr=C._emscripten_enum_draco_DataType_DT_BOOL=function(){return(kr=C._emscripten_enum_draco_DataType_DT_BOOL=C.asm.Lb).apply(null,arguments)},xr=C._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(xr=C._emscripten_enum_draco_DataType_DT_TYPES_COUNT=C.asm.Mb).apply(null,arguments)},Qr=C._emscripten_enum_draco_StatusCode_OK=function(){return(Qr=C._emscripten_enum_draco_StatusCode_OK=C.asm.Nb).apply(null,arguments)},Yr=C._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(Yr=C._emscripten_enum_draco_StatusCode_DRACO_ERROR=C.asm.Ob).apply(null,arguments)},Hr=C._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(Hr=C._emscripten_enum_draco_StatusCode_IO_ERROR=C.asm.Pb).apply(null,arguments)},qr=C._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(qr=C._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=C.asm.Qb).apply(null,arguments)},Xr=C._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(Xr=C._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=C.asm.Rb).apply(null,arguments)},Kr=C._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(Kr=C._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=C.asm.Sb).apply(null,arguments)};C._malloc=function(){return(C._malloc=C.asm.Tb).apply(null,arguments)},C._free=function(){return(C._free=C.asm.Ub).apply(null,arguments)};var Jr,Zr=function(){return(Zr=C.asm.Vb).apply(null,arguments)};if(C.___start_em_js=15856,C.___stop_em_js=15954,lt=function t(){Jr||c(),Jr||(lt=t)},C.preInit)for("function"==typeof C.preInit&&(C.preInit=[C.preInit]);0<C.preInit.length;)C.preInit.pop()();c(),s.prototype=Object.create(s.prototype),s.prototype.constructor=s,s.prototype.__class__=s,s.__cache__={},C.WrapperObject=s,C.getCache=u,C.wrapPointer=y,C.castObject=function(t,e){return y(t.ptr,e)},C.NULL=y(0),C.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete u(t.__class__)[t.ptr]},C.compare=function(t,e){return t.ptr===e.ptr},C.getPointer=function(t){return t.ptr},C.getClass=function(t){return t.__class__};var tn={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(tn.needed){for(var t=0;t<tn.temps.length;t++)C._free(tn.temps[t]);tn.temps.length=0,C._free(tn.buffer),tn.buffer=0,tn.size+=tn.needed,tn.needed=0}tn.buffer||(tn.size+=128,tn.buffer=C._malloc(tn.size),tn.buffer||_(void 0)),tn.pos=0},alloc:function(t,e){return tn.buffer||_(void 0),t=7+(t=t.length*e.BYTES_PER_ELEMENT)&-8,tn.pos+t>=tn.size?(0<t||_(void 0),tn.needed+=t,e=C._malloc(t),tn.temps.push(e)):(e=tn.buffer+tn.pos,tn.pos+=t),e},copy:function(t,e,r){switch(r>>>=0,e.BYTES_PER_ELEMENT){case 2:r>>>=1;break;case 4:r>>>=2;break;case 8:r>>>=3}for(var n=0;n<t.length;n++)e[r+n]=t[n]}};return m.prototype=Object.create(s.prototype),m.prototype.constructor=m,m.prototype.__class__=m,m.__cache__={},C.VoidPtr=m,m.prototype.__destroy__=m.prototype.__destroy__=function(){bt(this.ptr)},d.prototype=Object.create(s.prototype),d.prototype.constructor=d,d.prototype.__class__=d,d.__cache__={},C.DecoderBuffer=d,d.prototype.Init=d.prototype.Init=function(t,e){var r=this.ptr;tn.prepare(),"object"==typeof t&&(t=f(t)),e&&"object"==typeof e&&(e=e.ptr),At(r,t,e)},d.prototype.__destroy__=d.prototype.__destroy__=function(){Tt(this.ptr)},b.prototype=Object.create(s.prototype),b.prototype.constructor=b,b.prototype.__class__=b,b.__cache__={},C.AttributeTransformData=b,b.prototype.transform_type=b.prototype.transform_type=function(){return It(this.ptr)},b.prototype.__destroy__=b.prototype.__destroy__=function(){jt(this.ptr)},h.prototype=Object.create(s.prototype),h.prototype.constructor=h,h.prototype.__class__=h,h.__cache__={},C.GeometryAttribute=h,h.prototype.__destroy__=h.prototype.__destroy__=function(){Gt(this.ptr)},A.prototype=Object.create(s.prototype),A.prototype.constructor=A,A.prototype.__class__=A,A.__cache__={},C.PointAttribute=A,A.prototype.size=A.prototype.size=function(){return Ot(this.ptr)},A.prototype.GetAttributeTransformData=A.prototype.GetAttributeTransformData=function(){return y(Pt(this.ptr),b)},A.prototype.attribute_type=A.prototype.attribute_type=function(){return Rt(this.ptr)},A.prototype.data_type=A.prototype.data_type=function(){return St(this.ptr)},A.prototype.num_components=A.prototype.num_components=function(){return Mt(this.ptr)},A.prototype.normalized=A.prototype.normalized=function(){return!!Nt(this.ptr)},A.prototype.byte_stride=A.prototype.byte_stride=function(){return Ut(this.ptr)},A.prototype.byte_offset=A.prototype.byte_offset=function(){return gt(this.ptr)},A.prototype.unique_id=A.prototype.unique_id=function(){return Ft(this.ptr)},A.prototype.__destroy__=A.prototype.__destroy__=function(){Lt(this.ptr)},T.prototype=Object.create(s.prototype),T.prototype.constructor=T,T.prototype.__class__=T,T.__cache__={},C.AttributeQuantizationTransform=T,T.prototype.InitFromAttribute=T.prototype.InitFromAttribute=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!$t(e,t)},T.prototype.quantization_bits=T.prototype.quantization_bits=function(){return wt(this.ptr)},T.prototype.min_value=T.prototype.min_value=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),zt(e,t)},T.prototype.range=T.prototype.range=function(){return Vt(this.ptr)},T.prototype.__destroy__=T.prototype.__destroy__=function(){Bt(this.ptr)},D.prototype=Object.create(s.prototype),D.prototype.constructor=D,D.prototype.__class__=D,D.__cache__={},C.AttributeOctahedronTransform=D,D.prototype.InitFromAttribute=D.prototype.InitFromAttribute=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!kt(e,t)},D.prototype.quantization_bits=D.prototype.quantization_bits=function(){return xt(this.ptr)},D.prototype.__destroy__=D.prototype.__destroy__=function(){Qt(this.ptr)},I.prototype=Object.create(s.prototype),I.prototype.constructor=I,I.prototype.__class__=I,I.__cache__={},C.PointCloud=I,I.prototype.num_attributes=I.prototype.num_attributes=function(){return Ht(this.ptr)},I.prototype.num_points=I.prototype.num_points=function(){return qt(this.ptr)},I.prototype.__destroy__=I.prototype.__destroy__=function(){Xt(this.ptr)},j.prototype=Object.create(s.prototype),j.prototype.constructor=j,j.prototype.__class__=j,j.__cache__={},C.Mesh=j,j.prototype.num_faces=j.prototype.num_faces=function(){return Jt(this.ptr)},j.prototype.num_attributes=j.prototype.num_attributes=function(){return Zt(this.ptr)},j.prototype.num_points=j.prototype.num_points=function(){return te(this.ptr)},j.prototype.__destroy__=j.prototype.__destroy__=function(){ee(this.ptr)},E.prototype=Object.create(s.prototype),E.prototype.constructor=E,E.prototype.__class__=E,E.__cache__={},C.Metadata=E,E.prototype.__destroy__=E.prototype.__destroy__=function(){ne(this.ptr)},G.prototype=Object.create(s.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},C.Status=G,G.prototype.code=G.prototype.code=function(){return oe(this.ptr)},G.prototype.ok=G.prototype.ok=function(){return!!_e(this.ptr)},G.prototype.error_msg=G.prototype.error_msg=function(){return n(ie(this.ptr))},G.prototype.__destroy__=G.prototype.__destroy__=function(){pe(this.ptr)},v.prototype=Object.create(s.prototype),v.prototype.constructor=v,v.prototype.__class__=v,v.__cache__={},C.DracoFloat32Array=v,v.prototype.GetValue=v.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),ce(e,t)},v.prototype.size=v.prototype.size=function(){return se(this.ptr)},v.prototype.__destroy__=v.prototype.__destroy__=function(){ue(this.ptr)},O.prototype=Object.create(s.prototype),O.prototype.constructor=O,O.prototype.__class__=O,O.__cache__={},C.DracoInt8Array=O,O.prototype.GetValue=O.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),le(e,t)},O.prototype.size=O.prototype.size=function(){return fe(this.ptr)},O.prototype.__destroy__=O.prototype.__destroy__=function(){me(this.ptr)},P.prototype=Object.create(s.prototype),P.prototype.constructor=P,P.prototype.__class__=P,P.__cache__={},C.DracoUInt8Array=P,P.prototype.GetValue=P.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),be(e,t)},P.prototype.size=P.prototype.size=function(){return he(this.ptr)},P.prototype.__destroy__=P.prototype.__destroy__=function(){Ae(this.ptr)},R.prototype=Object.create(s.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},C.DracoInt16Array=R,R.prototype.GetValue=R.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),De(e,t)},R.prototype.size=R.prototype.size=function(){return Ie(this.ptr)},R.prototype.__destroy__=R.prototype.__destroy__=function(){je(this.ptr)},S.prototype=Object.create(s.prototype),S.prototype.constructor=S,S.prototype.__class__=S,S.__cache__={},C.DracoUInt16Array=S,S.prototype.GetValue=S.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ge(e,t)},S.prototype.size=S.prototype.size=function(){return ve(this.ptr)},S.prototype.__destroy__=S.prototype.__destroy__=function(){Oe(this.ptr)},M.prototype=Object.create(s.prototype),M.prototype.constructor=M,M.prototype.__class__=M,M.__cache__={},C.DracoInt32Array=M,M.prototype.GetValue=M.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Re(e,t)},M.prototype.size=M.prototype.size=function(){return Se(this.ptr)},M.prototype.__destroy__=M.prototype.__destroy__=function(){Me(this.ptr)},N.prototype=Object.create(s.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},C.DracoUInt32Array=N,N.prototype.GetValue=N.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ue(e,t)},N.prototype.size=N.prototype.size=function(){return ge(this.ptr)},N.prototype.__destroy__=N.prototype.__destroy__=function(){Fe(this.ptr)},U.prototype=Object.create(s.prototype),U.prototype.constructor=U,U.prototype.__class__=U,U.__cache__={},C.MetadataQuerier=U,U.prototype.HasEntry=U.prototype.HasEntry=function(t,e){var r=this.ptr;return tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),!!Ce(r,t,e)},U.prototype.GetIntEntry=U.prototype.GetIntEntry=function(t,e){var r=this.ptr;return tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),$e(r,t,e)},U.prototype.GetIntEntryArray=U.prototype.GetIntEntryArray=function(t,e,r){var n=this.ptr;tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),r&&"object"==typeof r&&(r=r.ptr),we(n,t,e,r)},U.prototype.GetDoubleEntry=U.prototype.GetDoubleEntry=function(t,e){var r=this.ptr;return tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),ze(r,t,e)},U.prototype.GetStringEntry=U.prototype.GetStringEntry=function(t,e){var r=this.ptr;return tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),n(Ve(r,t,e))},U.prototype.NumEntries=U.prototype.NumEntries=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Be(e,t)},U.prototype.GetEntryName=U.prototype.GetEntryName=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),n(We(r,t,e))},U.prototype.__destroy__=U.prototype.__destroy__=function(){ke(this.ptr)},g.prototype=Object.create(s.prototype),g.prototype.constructor=g,g.prototype.__class__=g,g.__cache__={},C.Decoder=g,g.prototype.DecodeArrayToPointCloud=g.prototype.DecodeArrayToPointCloud=function(t,e,r){var n=this.ptr;return tn.prepare(),"object"==typeof t&&(t=f(t)),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),y(Qe(n,t,e,r),G)},g.prototype.DecodeArrayToMesh=g.prototype.DecodeArrayToMesh=function(t,e,r){var n=this.ptr;return tn.prepare(),"object"==typeof t&&(t=f(t)),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),y(Ye(n,t,e,r),G)},g.prototype.GetAttributeId=g.prototype.GetAttributeId=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),He(r,t,e)},g.prototype.GetAttributeIdByName=g.prototype.GetAttributeIdByName=function(t,e){var r=this.ptr;return tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),qe(r,t,e)},g.prototype.GetAttributeIdByMetadataEntry=g.prototype.GetAttributeIdByMetadataEntry=function(t,e,r){var n=this.ptr;return tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),r=r&&"object"==typeof r?r.ptr:l(r),Xe(n,t,e,r)},g.prototype.GetAttribute=g.prototype.GetAttribute=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),y(Ke(r,t,e),A)},g.prototype.GetAttributeByUniqueId=g.prototype.GetAttributeByUniqueId=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),y(Je(r,t,e),A)},g.prototype.GetMetadata=g.prototype.GetMetadata=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),y(Ze(e,t),E)},g.prototype.GetAttributeMetadata=g.prototype.GetAttributeMetadata=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),y(tr(r,t,e),E)},g.prototype.GetFaceFromMesh=g.prototype.GetFaceFromMesh=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!er(n,t,e,r)},g.prototype.GetTriangleStripsFromMesh=g.prototype.GetTriangleStripsFromMesh=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),rr(r,t,e)},g.prototype.GetTrianglesUInt16Array=g.prototype.GetTrianglesUInt16Array=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!nr(n,t,e,r)},g.prototype.GetTrianglesUInt32Array=g.prototype.GetTrianglesUInt32Array=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!or(n,t,e,r)},g.prototype.GetAttributeFloat=g.prototype.GetAttributeFloat=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!_r(n,t,e,r)},g.prototype.GetAttributeFloatForAllPoints=g.prototype.GetAttributeFloatForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!ir(n,t,e,r)},g.prototype.GetAttributeIntForAllPoints=g.prototype.GetAttributeIntForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!pr(n,t,e,r)},g.prototype.GetAttributeInt8ForAllPoints=g.prototype.GetAttributeInt8ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!ar(n,t,e,r)},g.prototype.GetAttributeUInt8ForAllPoints=g.prototype.GetAttributeUInt8ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!cr(n,t,e,r)},g.prototype.GetAttributeInt16ForAllPoints=g.prototype.GetAttributeInt16ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!sr(n,t,e,r)},g.prototype.GetAttributeUInt16ForAllPoints=g.prototype.GetAttributeUInt16ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!ur(n,t,e,r)},g.prototype.GetAttributeInt32ForAllPoints=g.prototype.GetAttributeInt32ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!yr(n,t,e,r)},g.prototype.GetAttributeUInt32ForAllPoints=g.prototype.GetAttributeUInt32ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!lr(n,t,e,r)},g.prototype.GetAttributeDataArrayForAllPoints=g.prototype.GetAttributeDataArrayForAllPoints=function(t,e,r,n,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),!!fr(_,t,e,r,n,o)},g.prototype.SkipAttributeTransform=g.prototype.SkipAttributeTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),mr(e,t)},g.prototype.GetEncodedGeometryType_Deprecated=g.prototype.GetEncodedGeometryType_Deprecated=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),dr(e,t)},g.prototype.DecodeBufferToPointCloud=g.prototype.DecodeBufferToPointCloud=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),y(br(r,t,e),G)},g.prototype.DecodeBufferToMesh=g.prototype.DecodeBufferToMesh=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),y(hr(r,t,e),G)},g.prototype.__destroy__=g.prototype.__destroy__=function(){Ar(this.ptr)},function(){function t(){C.ATTRIBUTE_INVALID_TRANSFORM=Tr(),C.ATTRIBUTE_NO_TRANSFORM=Dr(),C.ATTRIBUTE_QUANTIZATION_TRANSFORM=Ir(),C.ATTRIBUTE_OCTAHEDRON_TRANSFORM=jr(),C.INVALID=Er(),C.POSITION=Gr(),C.NORMAL=vr(),C.COLOR=Or(),C.TEX_COORD=Pr(),C.GENERIC=Rr(),C.INVALID_GEOMETRY_TYPE=Sr(),C.POINT_CLOUD=Mr(),C.TRIANGULAR_MESH=Nr(),C.DT_INVALID=Ur(),C.DT_INT8=gr(),C.DT_UINT8=Fr(),C.DT_INT16=Lr(),C.DT_UINT16=Cr(),C.DT_INT32=$r(),C.DT_UINT32=wr(),C.DT_INT64=zr(),C.DT_UINT64=Vr(),C.DT_FLOAT32=Br(),C.DT_FLOAT64=Wr(),C.DT_BOOL=kr(),C.DT_TYPES_COUNT=xr(),C.OK=Qr(),C.DRACO_ERROR=Yr(),C.IO_ERROR=Hr(),C.INVALID_PARAMETER=qr(),C.UNSUPPORTED_VERSION=Xr(),C.UNKNOWN_VERSION=Kr()}st?t():at.unshift(t)}(),"function"==typeof C.onModuleParsed&&C.onModuleParsed(),C.Decoder.prototype.GetEncodedGeometryType=function(t){if(t.__class__&&t.__class__===C.DecoderBuffer)return C.Decoder.prototype.GetEncodedGeometryType_Deprecated(t);if(8>t.byteLength)return C.INVALID_GEOMETRY_TYPE;switch(t[7]){case 0:return C.POINT_CLOUD;case 1:return C.TRIANGULAR_MESH;default:return C.INVALID_GEOMETRY_TYPE}},e.ready}}();"object"==typeof exports&&"object"==typeof module?module.exports=DracoDecoderModule:"function"==typeof define&&define.amd?define([],(function(){return DracoDecoderModule})):"object"==typeof exports&&(exports.DracoDecoderModule=DracoDecoderModule);
|
@@ -1 +0,0 @@
|
|
1
|
-
{"type":"commonjs"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
/*! For license information please see pako_deflate.min.js.LICENSE.txt */
|
2
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).pako={})}(this,(function(t){"use strict";function e(t){let e=t.length;for(;--e>=0;)t[e]=0}const a=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),s=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),n=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),r=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),i=new Array(576);e(i);const _=new Array(60);e(_);const l=new Array(512);e(l);const h=new Array(256);e(h);const o=new Array(29);e(o);const d=new Array(30);function u(t,e,a,s,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=s,this.max_length=n,this.has_stree=t&&t.length}let f,c,p;function g(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(d);const w=t=>t<256?l[t]:l[256+(t>>>7)],m=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},b=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,m(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},y=(t,e,a)=>{b(t,a[2*e],a[2*e+1])},v=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},z=(t,e,a)=>{const s=new Array(16);let n,r,i=0;for(n=1;n<=15;n++)i=i+a[n-1]<<1,s[n]=i;for(r=0;r<=e;r++){let e=t[2*r+1];0!==e&&(t[2*r]=v(s[e]++,e))}},k=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},x=t=>{t.bi_valid>8?m(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=(t,e,a,s)=>{const n=2*e,r=2*a;return t[n]<t[r]||t[n]===t[r]&&s[e]<=s[a]},E=(t,e,a)=>{const s=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n<t.heap_len&&A(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!A(e,s,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=s},Z=(t,e,n)=>{let r,i,_,l,u=0;if(0!==t.sym_next)do{r=255&t.pending_buf[t.sym_buf+u++],r+=(255&t.pending_buf[t.sym_buf+u++])<<8,i=t.pending_buf[t.sym_buf+u++],0===r?y(t,i,e):(_=h[i],y(t,_+256+1,e),l=a[_],0!==l&&(i-=o[_],b(t,i,l)),r--,_=w(r),y(t,_,n),l=s[_],0!==l&&(r-=d[_],b(t,r,l)))}while(u<t.sym_next);y(t,256,e)},U=(t,e)=>{const a=e.dyn_tree,s=e.stat_desc.static_tree,n=e.stat_desc.has_stree,r=e.stat_desc.elems;let i,_,l,h=-1;for(t.heap_len=0,t.heap_max=573,i=0;i<r;i++)0!==a[2*i]?(t.heap[++t.heap_len]=h=i,t.depth[i]=0):a[2*i+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=h<2?++h:0,a[2*l]=1,t.depth[l]=0,t.opt_len--,n&&(t.static_len-=s[2*l+1]);for(e.max_code=h,i=t.heap_len>>1;i>=1;i--)E(t,a,i);l=r;do{i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],E(t,a,1),_=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=_,a[2*l]=a[2*i]+a[2*_],t.depth[l]=(t.depth[i]>=t.depth[_]?t.depth[i]:t.depth[_])+1,a[2*i+1]=a[2*_+1]=l,t.heap[1]=l++,E(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,s=e.max_code,n=e.stat_desc.static_tree,r=e.stat_desc.has_stree,i=e.stat_desc.extra_bits,_=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,o,d,u,f,c,p=0;for(u=0;u<=15;u++)t.bl_count[u]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;h++)o=t.heap[h],u=a[2*a[2*o+1]+1]+1,u>l&&(u=l,p++),a[2*o+1]=u,o>s||(t.bl_count[u]++,f=0,o>=_&&(f=i[o-_]),c=a[2*o],t.opt_len+=c*(u+f),r&&(t.static_len+=c*(n[2*o+1]+f)));if(0!==p){do{for(u=l-1;0===t.bl_count[u];)u--;t.bl_count[u]--,t.bl_count[u+1]+=2,t.bl_count[l]--,p-=2}while(p>0);for(u=l;0!==u;u--)for(o=t.bl_count[u];0!==o;)d=t.heap[--h],d>s||(a[2*d+1]!==u&&(t.opt_len+=(u-a[2*d+1])*a[2*d],a[2*d+1]=u),o--)}})(t,e),z(a,h,t.bl_count)},R=(t,e,a)=>{let s,n,r=-1,i=e[1],_=0,l=7,h=4;for(0===i&&(l=138,h=3),e[2*(a+1)+1]=65535,s=0;s<=a;s++)n=i,i=e[2*(s+1)+1],++_<l&&n===i||(_<h?t.bl_tree[2*n]+=_:0!==n?(n!==r&&t.bl_tree[2*n]++,t.bl_tree[32]++):_<=10?t.bl_tree[34]++:t.bl_tree[36]++,_=0,r=n,0===i?(l=138,h=3):n===i?(l=6,h=3):(l=7,h=4))},S=(t,e,a)=>{let s,n,r=-1,i=e[1],_=0,l=7,h=4;for(0===i&&(l=138,h=3),s=0;s<=a;s++)if(n=i,i=e[2*(s+1)+1],!(++_<l&&n===i)){if(_<h)do{y(t,n,t.bl_tree)}while(0!=--_);else 0!==n?(n!==r&&(y(t,n,t.bl_tree),_--),y(t,16,t.bl_tree),b(t,_-3,2)):_<=10?(y(t,17,t.bl_tree),b(t,_-3,3)):(y(t,18,t.bl_tree),b(t,_-11,7));_=0,r=n,0===i?(l=138,h=3):n===i?(l=6,h=3):(l=7,h=4)}};let T=!1;const L=(t,e,a,s)=>{b(t,0+(s?1:0),3),x(t),m(t,a),m(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var F={_tr_init:t=>{T||((()=>{let t,e,r,g,w;const m=new Array(16);for(r=0,g=0;g<28;g++)for(o[g]=r,t=0;t<1<<a[g];t++)h[r++]=g;for(h[r-1]=g,w=0,g=0;g<16;g++)for(d[g]=w,t=0;t<1<<s[g];t++)l[w++]=g;for(w>>=7;g<30;g++)for(d[g]=w<<7,t=0;t<1<<s[g]-7;t++)l[256+w++]=g;for(e=0;e<=15;e++)m[e]=0;for(t=0;t<=143;)i[2*t+1]=8,t++,m[8]++;for(;t<=255;)i[2*t+1]=9,t++,m[9]++;for(;t<=279;)i[2*t+1]=7,t++,m[7]++;for(;t<=287;)i[2*t+1]=8,t++,m[8]++;for(z(i,287,m),t=0;t<30;t++)_[2*t+1]=5,_[2*t]=v(t,5);f=new u(i,a,257,286,15),c=new u(_,s,0,30,15),p=new u(new Array(0),n,0,19,7)})(),T=!0),t.l_desc=new g(t.dyn_ltree,f),t.d_desc=new g(t.dyn_dtree,c),t.bl_desc=new g(t.bl_tree,p),t.bi_buf=0,t.bi_valid=0,k(t)},_tr_stored_block:L,_tr_flush_block:(t,e,a,s)=>{let n,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),U(t,t.l_desc),U(t,t.d_desc),h=(t=>{let e;for(R(t,t.dyn_ltree,t.l_desc.max_code),R(t,t.dyn_dtree,t.d_desc.max_code),U(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*r[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),n=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=n&&(n=l)):n=l=a+5,a+4<=n&&-1!==e?L(t,e,a,s):4===t.strategy||l===n?(b(t,2+(s?1:0),3),Z(t,i,_)):(b(t,4+(s?1:0),3),((t,e,a,s)=>{let n;for(b(t,e-257,5),b(t,a-1,5),b(t,s-4,4),n=0;n<s;n++)b(t,t.bl_tree[2*r[n]+1],3);S(t,t.dyn_ltree,e-1),S(t,t.dyn_dtree,a-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),Z(t,t.dyn_ltree,t.dyn_dtree)),k(t),s&&x(t)},_tr_tally:(t,e,a)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(h[a]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{b(t,2,3),y(t,256,i),(t=>{16===t.bi_valid?(m(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}},O=(t,e,a,s)=>{let n=65535&t|0,r=t>>>16&65535|0,i=0;for(;0!==a;){i=a>2e3?2e3:a,a-=i;do{n=n+e[s++]|0,r=r+n|0}while(--i);n%=65521,r%=65521}return n|r<<16|0};const D=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var s=0;s<8;s++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,s)=>{const n=D,r=s+a;t^=-1;for(let a=s;a<r;a++)t=t>>>8^n[255&(t^e[a])];return-1^t},I={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},C={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:B,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:P,_tr_align:j}=F,{Z_NO_FLUSH:K,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ERROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:st,Z_FIXED:nt,Z_DEFAULT_STRATEGY:rt,Z_UNKNOWN:it,Z_DEFLATED:_t}=C,lt=258,ht=262,ot=42,dt=113,ut=666,ft=(t,e)=>(t.msg=I[e],e),ct=t=>2*t-(t>4?9:0),pt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},gt=t=>{let e,a,s,n=t.w_size;e=t.hash_size,s=e;do{a=t.head[--s],t.head[s]=a>=n?a-n:0}while(--e);e=n,s=e;do{a=t.prev[--s],t.prev[s]=a>=n?a-n:0}while(--e)};let wt=(t,e,a)=>(e<<t.hash_shift^a)&t.hash_mask;const mt=t=>{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},bt=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,mt(t.strm)},yt=(t,e)=>{t.pending_buf[t.pending++]=e},vt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},zt=(t,e,a,s)=>{let n=t.avail_in;return n>s&&(n=s),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=O(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},kt=(t,e)=>{let a,s,n=t.max_chain_length,r=t.strstart,i=t.prev_length,_=t.nice_match;const l=t.strstart>t.w_size-ht?t.strstart-(t.w_size-ht):0,h=t.window,o=t.w_mask,d=t.prev,u=t.strstart+lt;let f=h[r+i-1],c=h[r+i];t.prev_length>=t.good_match&&(n>>=2),_>t.lookahead&&(_=t.lookahead);do{if(a=e,h[a+i]===c&&h[a+i-1]===f&&h[a]===h[r]&&h[++a]===h[r+1]){r+=2,a++;do{}while(h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&h[++r]===h[++a]&&r<u);if(s=lt-(u-r),r=u-lt,s>i){if(t.match_start=e,i=s,s>=_)break;f=h[r+i-1],c=h[r+i]}}}while((e=d[e&o])>l&&0!=--n);return i<=t.lookahead?i:t.lookahead},xt=t=>{const e=t.w_size;let a,s,n;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-ht)&&(t.window.set(t.window.subarray(e,e+e-s),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),gt(t),s+=e),0===t.strm.avail_in)break;if(a=zt(t.strm,t.window,t.strstart+t.lookahead,s),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=wt(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=wt(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<ht&&0!==t.strm.avail_in)},At=(t,e)=>{let a,s,n,r=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,i=0,_=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_out<n)break;if(n=t.strm.avail_out-n,s=t.strstart-t.block_start,a>s+t.strm.avail_in&&(a=s+t.strm.avail_in),a>n&&(a=n),a<r&&(0===a&&e!==X||e===K||a!==s+t.strm.avail_in))break;i=e===X&&a===s+t.strm.avail_in?1:0,H(t,0,0,i),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,mt(t.strm),s&&(s>a&&(s=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+s),t.strm.next_out),t.strm.next_out+=s,t.strm.avail_out-=s,t.strm.total_out+=s,t.block_start+=s,a-=s),a&&(zt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===i);return _-=t.strm.avail_in,_&&(_>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=_&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-_,t.strm.next_in),t.strstart),t.strstart+=_,t.insert+=_>t.w_size-t.insert?t.w_size-t.insert:_),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),i?4:e!==K&&e!==X&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(n=t.window_size-t.strstart,t.strm.avail_in>n&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(zt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water<t.strstart&&(t.high_water=t.strstart),n=t.bi_valid+42>>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,r=n>t.w_size?t.w_size:n,s=t.strstart-t.block_start,(s>=r||(s||e===X)&&e!==K&&0===t.strm.avail_in&&s<=n)&&(a=s>n?n:s,i=e===X&&0===t.strm.avail_in&&a===s?1:0,H(t,t.block_start,a,i),t.block_start+=a,mt(t.strm)),i?3:1)},Et=(t,e)=>{let a,s;for(;;){if(t.lookahead<ht){if(xt(t),t.lookahead<ht&&e===K)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=wt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-ht&&(t.match_length=kt(t,a)),t.match_length>=3)if(s=P(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=wt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=wt(t,t.ins_h,t.window[t.strstart+1]);else s=P(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(s&&(bt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(bt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(bt(t,!1),0===t.strm.avail_out)?1:2},Zt=(t,e)=>{let a,s,n;for(;;){if(t.lookahead<ht){if(xt(t),t.lookahead<ht&&e===K)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=wt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-ht&&(t.match_length=kt(t,a),t.match_length<=5&&(t.strategy===et||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,s=P(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=wt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,s&&(bt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(s=P(t,0,t.window[t.strstart-1]),s&&bt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(s=P(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(bt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(bt(t,!1),0===t.strm.avail_out)?1:2};function Ut(t,e,a,s,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=s,this.func=n}const Rt=[new Ut(0,0,0,0,At),new Ut(4,4,8,4,Et),new Ut(4,5,16,8,Et),new Ut(4,6,32,32,Et),new Ut(4,4,16,16,Zt),new Ut(8,16,32,32,Zt),new Ut(8,16,128,128,Zt),new Ut(8,32,128,256,Zt),new Ut(32,128,258,1024,Zt),new Ut(32,258,258,4096,Zt)];function St(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_t,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),pt(this.dyn_ltree),pt(this.dyn_dtree),pt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),pt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),pt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Tt=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.status!==ot&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&e.status!==dt&&e.status!==ut?1:0},Lt=t=>{if(Tt(t))return ft(t,Q);t.total_in=t.total_out=0,t.data_type=it;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?ot:dt,t.adler=2===e.wrap?0:1,e.last_flush=-2,B(e),q},Ft=t=>{const e=Lt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,pt(a.head),a.max_lazy_match=Rt[a.level].max_lazy,a.good_match=Rt[a.level].good_length,a.nice_match=Rt[a.level].nice_length,a.max_chain_length=Rt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ot=(t,e,a,s,n,r)=>{if(!t)return Q;let i=1;if(e===tt&&(e=6),s<0?(i=0,s=-s):s>15&&(i=2,s-=16),n<1||n>9||a!==_t||s<8||s>15||e<0||e>9||r<0||r>nt||8===s&&1!==i)return ft(t,Q);8===s&&(s=9);const _=new St;return t.state=_,_.strm=t,_.status=ot,_.wrap=i,_.gzhead=null,_.w_bits=s,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=n+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+3-1)/3),_.window=new Uint8Array(2*_.w_size),_.head=new Uint16Array(_.hash_size),_.prev=new Uint16Array(_.w_size),_.lit_bufsize=1<<n+6,_.pending_buf_size=4*_.lit_bufsize,_.pending_buf=new Uint8Array(_.pending_buf_size),_.sym_buf=_.lit_bufsize,_.sym_end=3*(_.lit_bufsize-1),_.level=e,_.strategy=r,_.method=a,Ft(t)};var Dt={deflateInit:(t,e)=>Ot(t,e,_t,15,8,rt),deflateInit2:Ot,deflateReset:Ft,deflateResetKeep:Lt,deflateSetHeader:(t,e)=>Tt(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Tt(t)||e>W||e<0)return t?ft(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||a.status===ut&&e!==X)return ft(t,0===t.avail_out?$:Q);const s=a.last_flush;if(a.last_flush=e,0!==a.pending){if(mt(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ct(e)<=ct(s)&&e!==X)return ft(t,$);if(a.status===ut&&0!==t.avail_in)return ft(t,$);if(a.status===ot&&0===a.wrap&&(a.status=dt),a.status===ot){let e=_t+(a.w_bits-8<<4)<<8,s=-1;if(s=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=s<<6,0!==a.strstart&&(e|=32),e+=31-e%31,vt(a,e),0!==a.strstart&&(vt(a,t.adler>>>16),vt(a,65535&t.adler)),t.adler=1,a.status=dt,mt(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,yt(a,31),yt(a,139),yt(a,8),a.gzhead)yt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),yt(a,255&a.gzhead.time),yt(a,a.gzhead.time>>8&255),yt(a,a.gzhead.time>>16&255),yt(a,a.gzhead.time>>24&255),yt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),yt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(yt(a,255&a.gzhead.extra.length),yt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(yt(a,0),yt(a,0),yt(a,0),yt(a,0),yt(a,0),yt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),yt(a,3),a.status=dt,mt(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,s=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+s>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,mt(t),0!==a.pending)return a.last_flush=-1,q;e=0,s-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+s),a.pending),a.pending+=s,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,s=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>s&&(t.adler=N(t.adler,a.pending_buf,a.pending-s,s)),mt(t),0!==a.pending)return a.last_flush=-1,q;s=0}e=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,yt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>s&&(t.adler=N(t.adler,a.pending_buf,a.pending-s,s)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,s=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>s&&(t.adler=N(t.adler,a.pending_buf,a.pending-s,s)),mt(t),0!==a.pending)return a.last_flush=-1,q;s=0}e=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,yt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>s&&(t.adler=N(t.adler,a.pending_buf,a.pending-s,s))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(mt(t),0!==a.pending))return a.last_flush=-1,q;yt(a,255&t.adler),yt(a,t.adler>>8&255),t.adler=0}if(a.status=dt,mt(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==K&&a.status!==ut){let s=0===a.level?At(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(xt(t),0===t.lookahead)){if(e===K)return 1;break}if(t.match_length=0,a=P(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(bt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(bt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(bt(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===st?((t,e)=>{let a,s,n,r;const i=t.window;for(;;){if(t.lookahead<=lt){if(xt(t),t.lookahead<=lt&&e===K)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,s=i[n],s===i[++n]&&s===i[++n]&&s===i[++n])){r=t.strstart+lt;do{}while(s===i[++n]&&s===i[++n]&&s===i[++n]&&s===i[++n]&&s===i[++n]&&s===i[++n]&&s===i[++n]&&s===i[++n]&&n<r);t.match_length=lt-(r-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=P(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=P(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(bt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(bt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(bt(t,!1),0===t.strm.avail_out)?1:2})(a,e):Rt[a.level].func(a,e);if(3!==s&&4!==s||(a.status=ut),1===s||3===s)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===s&&(e===Y?j(a):e!==W&&(H(a,0,0,!1),e===G&&(pt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),mt(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(yt(a,255&t.adler),yt(a,t.adler>>8&255),yt(a,t.adler>>16&255),yt(a,t.adler>>24&255),yt(a,255&t.total_in),yt(a,t.total_in>>8&255),yt(a,t.total_in>>16&255),yt(a,t.total_in>>24&255)):(vt(a,t.adler>>>16),vt(a,65535&t.adler)),mt(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Tt(t))return Q;const e=t.state.status;return t.state=null,e===dt?ft(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Tt(t))return Q;const s=t.state,n=s.wrap;if(2===n||1===n&&s.status!==ot||s.lookahead)return Q;if(1===n&&(t.adler=O(t.adler,e,a,0)),s.wrap=0,a>=s.w_size){0===n&&(pt(s.head),s.strstart=0,s.block_start=0,s.insert=0);let t=new Uint8Array(s.w_size);t.set(e.subarray(a-s.w_size,a),0),e=t,a=s.w_size}const r=t.avail_in,i=t.next_in,_=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,xt(s);s.lookahead>=3;){let t=s.strstart,e=s.lookahead-2;do{s.ins_h=wt(s,s.ins_h,s.window[t+3-1]),s.prev[t&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=t,t++}while(--e);s.strstart=t,s.lookahead=2,xt(s)}return s.strstart+=s.lookahead,s.block_start=s.strstart,s.insert=s.lookahead,s.lookahead=0,s.match_length=s.prev_length=2,s.match_available=0,t.next_in=i,t.input=_,t.avail_in=r,s.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Nt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var It=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Nt(a,e)&&(t[e]=a[e])}}return t};let Ct=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Ct=!1}const Bt=new Uint8Array(256);for(let t=0;t<256;t++)Bt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Bt[254]=Bt[254]=1;var Ht=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,s,n,r,i=t.length,_=0;for(n=0;n<i;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<i&&(s=t.charCodeAt(n+1),56320==(64512&s)&&(a=65536+(a-55296<<10)+(s-56320),n++)),_+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(_),r=0,n=0;r<_;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<i&&(s=t.charCodeAt(n+1),56320==(64512&s)&&(a=65536+(a-55296<<10)+(s-56320),n++)),a<128?e[r++]=a:a<2048?(e[r++]=192|a>>>6,e[r++]=128|63&a):a<65536?(e[r++]=224|a>>>12,e[r++]=128|a>>>6&63,e[r++]=128|63&a):(e[r++]=240|a>>>18,e[r++]=128|a>>>12&63,e[r++]=128|a>>>6&63,e[r++]=128|63&a);return e},Mt=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Pt=Object.prototype.toString,{Z_NO_FLUSH:jt,Z_SYNC_FLUSH:Kt,Z_FULL_FLUSH:Yt,Z_FINISH:Gt,Z_OK:Xt,Z_STREAM_END:Wt,Z_DEFAULT_COMPRESSION:qt,Z_DEFAULT_STRATEGY:Jt,Z_DEFLATED:Qt}=C;function Vt(t){this.options=It({level:qt,method:Qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Jt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Mt,this.strm.avail_out=0;let a=Dt.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Xt)throw new Error(I[a]);if(e.header&&Dt.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Ht(e.dictionary):"[object ArrayBuffer]"===Pt.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=Dt.deflateSetDictionary(this.strm,t),a!==Xt)throw new Error(I[a]);this._dict_set=!0}}function $t(t,e){const a=new Vt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Vt.prototype.push=function(t,e){const a=this.strm,s=this.options.chunkSize;let n,r;if(this.ended)return!1;for(r=e===~~e?e:!0===e?Gt:jt,"string"==typeof t?a.input=Ht(t):"[object ArrayBuffer]"===Pt.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(s),a.next_out=0,a.avail_out=s),(r===Kt||r===Yt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=Dt.deflate(a,r),n===Wt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=Dt.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Xt;if(0!==a.avail_out){if(r>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Vt.prototype.onData=function(t){this.chunks.push(t)},Vt.prototype.onEnd=function(t){t===Xt&&(this.result=(t=>{let e=0;for(let a=0,s=t.length;a<s;a++)e+=t[a].length;const a=new Uint8Array(e);for(let e=0,s=0,n=t.length;e<n;e++){let n=t[e];a.set(n,s),s+=n.length}return a})(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var te=Vt,ee=$t,ae=function(t,e){return(e=e||{}).raw=!0,$t(t,e)},se=function(t,e){return(e=e||{}).gzip=!0,$t(t,e)},ne=C,re={Deflate:te,deflate:ee,deflateRaw:ae,gzip:se,constants:ne};t.Deflate=te,t.constants=ne,t.default=re,t.deflate=ee,t.deflateRaw=ae,t.gzip=se,Object.defineProperty(t,"__esModule",{value:!0})}));
|
@@ -1 +0,0 @@
|
|
1
|
-
/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */
|
@@ -1,2 +0,0 @@
|
|
1
|
-
/*! For license information please see pako_inflate.min.js.LICENSE.txt */
|
2
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).pako={})}(this,(function(e){"use strict";var t=(e,t,i,n)=>{let a=65535&e|0,r=e>>>16&65535|0,o=0;for(;0!==i;){o=i>2e3?2e3:i,i-=o;do{a=a+t[n++]|0,r=r+a|0}while(--o);a%=65521,r%=65521}return a|r<<16|0};const i=new Uint32Array((()=>{let e,t=[];for(var i=0;i<256;i++){e=i;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[i]=e}return t})());var n=(e,t,n,a)=>{const r=i,o=a+n;e^=-1;for(let i=a;i<o;i++)e=e>>>8^r[255&(e^t[i])];return-1^e};const a=16209;var r=function(e,t){let i,n,r,o,s,l,d,f,c,h,u,w,b,m,k,_,g,p,v,x,y,E,R,A;const Z=e.state;i=e.next_in,R=e.input,n=i+(e.avail_in-5),r=e.next_out,A=e.output,o=r-(t-e.avail_out),s=r+(e.avail_out-257),l=Z.dmax,d=Z.wsize,f=Z.whave,c=Z.wnext,h=Z.window,u=Z.hold,w=Z.bits,b=Z.lencode,m=Z.distcode,k=(1<<Z.lenbits)-1,_=(1<<Z.distbits)-1;e:do{w<15&&(u+=R[i++]<<w,w+=8,u+=R[i++]<<w,w+=8),g=b[u&k];t:for(;;){if(p=g>>>24,u>>>=p,w-=p,p=g>>>16&255,0===p)A[r++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=b[(65535&g)+(u&(1<<p)-1)];continue t}if(32&p){Z.mode=16191;break e}e.msg="invalid literal/length code",Z.mode=a;break e}v=65535&g,p&=15,p&&(w<p&&(u+=R[i++]<<w,w+=8),v+=u&(1<<p)-1,u>>>=p,w-=p),w<15&&(u+=R[i++]<<w,w+=8,u+=R[i++]<<w,w+=8),g=m[u&_];i:for(;;){if(p=g>>>24,u>>>=p,w-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=m[(65535&g)+(u&(1<<p)-1)];continue i}e.msg="invalid distance code",Z.mode=a;break e}if(x=65535&g,p&=15,w<p&&(u+=R[i++]<<w,w+=8,w<p&&(u+=R[i++]<<w,w+=8)),x+=u&(1<<p)-1,x>l){e.msg="invalid distance too far back",Z.mode=a;break e}if(u>>>=p,w-=p,p=r-o,x>p){if(p=x-p,p>f&&Z.sane){e.msg="invalid distance too far back",Z.mode=a;break e}if(y=0,E=h,0===c){if(y+=d-p,p<v){v-=p;do{A[r++]=h[y++]}while(--p);y=r-x,E=A}}else if(c<p){if(y+=d+c-p,p-=c,p<v){v-=p;do{A[r++]=h[y++]}while(--p);if(y=0,c<v){p=c,v-=p;do{A[r++]=h[y++]}while(--p);y=r-x,E=A}}}else if(y+=c-p,p<v){v-=p;do{A[r++]=h[y++]}while(--p);y=r-x,E=A}for(;v>2;)A[r++]=E[y++],A[r++]=E[y++],A[r++]=E[y++],v-=3;v&&(A[r++]=E[y++],v>1&&(A[r++]=E[y++]))}else{y=r-x;do{A[r++]=A[y++],A[r++]=A[y++],A[r++]=A[y++],v-=3}while(v>2);v&&(A[r++]=A[y++],v>1&&(A[r++]=A[y++]))}break}}break}}while(i<n&&r<s);v=w>>3,i-=v,w-=v<<3,u&=(1<<w)-1,e.next_in=i,e.next_out=r,e.avail_in=i<n?n-i+5:5-(i-n),e.avail_out=r<s?s-r+257:257-(r-s),Z.hold=u,Z.bits=w};const o=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),s=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),l=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),d=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var f=(e,t,i,n,a,r,f,c)=>{const h=c.bits;let u,w,b,m,k,_,g=0,p=0,v=0,x=0,y=0,E=0,R=0,A=0,Z=0,S=0,T=null;const O=new Uint16Array(16),U=new Uint16Array(16);let D,I,B,N=null;for(g=0;g<=15;g++)O[g]=0;for(p=0;p<n;p++)O[t[i+p]]++;for(y=h,x=15;x>=1&&0===O[x];x--);if(y>x&&(y=x),0===x)return a[r++]=20971520,a[r++]=20971520,c.bits=1,0;for(v=1;v<x&&0===O[v];v++);for(y<v&&(y=v),A=1,g=1;g<=15;g++)if(A<<=1,A-=O[g],A<0)return-1;if(A>0&&(0===e||1!==x))return-1;for(U[1]=0,g=1;g<15;g++)U[g+1]=U[g]+O[g];for(p=0;p<n;p++)0!==t[i+p]&&(f[U[t[i+p]]++]=p);if(0===e?(T=N=f,_=20):1===e?(T=o,N=s,_=257):(T=l,N=d,_=0),S=0,p=0,g=v,k=r,E=y,R=0,b=-1,Z=1<<y,m=Z-1,1===e&&Z>852||2===e&&Z>592)return 1;for(;;){D=g-R,f[p]+1<_?(I=0,B=f[p]):f[p]>=_?(I=N[f[p]-_],B=T[f[p]-_]):(I=96,B=0),u=1<<g-R,w=1<<E,v=w;do{w-=u,a[k+(S>>R)+w]=D<<24|I<<16|B|0}while(0!==w);for(u=1<<g-1;S&u;)u>>=1;if(0!==u?(S&=u-1,S+=u):S=0,p++,0==--O[g]){if(g===x)break;g=t[i+f[p]]}if(g>y&&(S&m)!==b){for(0===R&&(R=y),k+=v,E=g-R,A=1<<E;E+R<x&&(A-=O[E+R],!(A<=0));)E++,A<<=1;if(Z+=1<<E,1===e&&Z>852||2===e&&Z>592)return 1;b=S&m,a[b]=y<<24|E<<16|k-r|0}}return 0!==S&&(a[k+S]=g-R<<24|64<<16|0),c.bits=y,0},c={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{Z_FINISH:h,Z_BLOCK:u,Z_TREES:w,Z_OK:b,Z_STREAM_END:m,Z_NEED_DICT:k,Z_STREAM_ERROR:_,Z_DATA_ERROR:g,Z_MEM_ERROR:p,Z_BUF_ERROR:v,Z_DEFLATED:x}=c,y=16180,E=16190,R=16191,A=16192,Z=16194,S=16199,T=16200,O=16206,U=16209,D=e=>(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24);function I(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const B=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.mode<y||t.mode>16211?1:0},N=e=>{if(B(e))return _;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=y,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,b},C=e=>{if(B(e))return _;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,N(e)},z=(e,t)=>{let i;if(B(e))return _;const n=e.state;return t<0?(i=0,t=-t):(i=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?_:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=i,n.wbits=t,C(e))},F=(e,t)=>{if(!e)return _;const i=new I;e.state=i,i.strm=e,i.window=null,i.mode=y;const n=z(e,t);return n!==b&&(e.state=null),n};let L,M,H=!0;const j=e=>{if(H){L=new Int32Array(512),M=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(f(1,e.lens,0,288,L,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;f(2,e.lens,0,32,M,0,e.work,{bits:5}),H=!1}e.lencode=L,e.lenbits=9,e.distcode=M,e.distbits=5},K=(e,t,i,n)=>{let a;const r=e.state;return null===r.window&&(r.wsize=1<<r.wbits,r.wnext=0,r.whave=0,r.window=new Uint8Array(r.wsize)),n>=r.wsize?(r.window.set(t.subarray(i-r.wsize,i),0),r.wnext=0,r.whave=r.wsize):(a=r.wsize-r.wnext,a>n&&(a=n),r.window.set(t.subarray(i-n,i-n+a),r.wnext),(n-=a)?(r.window.set(t.subarray(i-n,i),0),r.wnext=n,r.whave=r.wsize):(r.wnext+=a,r.wnext===r.wsize&&(r.wnext=0),r.whave<r.wsize&&(r.whave+=a))),0};var P={inflateReset:C,inflateReset2:z,inflateResetKeep:N,inflateInit:e=>F(e,15),inflateInit2:F,inflate:(e,i)=>{let a,o,s,l,d,c,I,N,C,z,F,L,M,H,P,Y,G,X,W,q,J,Q,V=0;const $=new Uint8Array(4);let ee,te;const ie=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(B(e)||!e.output||!e.input&&0!==e.avail_in)return _;a=e.state,a.mode===R&&(a.mode=A),d=e.next_out,s=e.output,I=e.avail_out,l=e.next_in,o=e.input,c=e.avail_in,N=a.hold,C=a.bits,z=c,F=I,Q=b;e:for(;;)switch(a.mode){case y:if(0===a.wrap){a.mode=A;break}for(;C<16;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}if(2&a.wrap&&35615===N){0===a.wbits&&(a.wbits=15),a.check=0,$[0]=255&N,$[1]=N>>>8&255,a.check=n(a.check,$,2,0),N=0,C=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&N)<<8)+(N>>8))%31){e.msg="incorrect header check",a.mode=U;break}if((15&N)!==x){e.msg="unknown compression method",a.mode=U;break}if(N>>>=4,C-=4,J=8+(15&N),0===a.wbits&&(a.wbits=J),J>15||J>a.wbits){e.msg="invalid window size",a.mode=U;break}a.dmax=1<<a.wbits,a.flags=0,e.adler=a.check=1,a.mode=512&N?16189:R,N=0,C=0;break;case 16181:for(;C<16;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}if(a.flags=N,(255&a.flags)!==x){e.msg="unknown compression method",a.mode=U;break}if(57344&a.flags){e.msg="unknown header flags set",a.mode=U;break}a.head&&(a.head.text=N>>8&1),512&a.flags&&4&a.wrap&&($[0]=255&N,$[1]=N>>>8&255,a.check=n(a.check,$,2,0)),N=0,C=0,a.mode=16182;case 16182:for(;C<32;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}a.head&&(a.head.time=N),512&a.flags&&4&a.wrap&&($[0]=255&N,$[1]=N>>>8&255,$[2]=N>>>16&255,$[3]=N>>>24&255,a.check=n(a.check,$,4,0)),N=0,C=0,a.mode=16183;case 16183:for(;C<16;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}a.head&&(a.head.xflags=255&N,a.head.os=N>>8),512&a.flags&&4&a.wrap&&($[0]=255&N,$[1]=N>>>8&255,a.check=n(a.check,$,2,0)),N=0,C=0,a.mode=16184;case 16184:if(1024&a.flags){for(;C<16;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}a.length=N,a.head&&(a.head.extra_len=N),512&a.flags&&4&a.wrap&&($[0]=255&N,$[1]=N>>>8&255,a.check=n(a.check,$,2,0)),N=0,C=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(L=a.length,L>c&&(L=c),L&&(a.head&&(J=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(o.subarray(l,l+L),J)),512&a.flags&&4&a.wrap&&(a.check=n(a.check,o,L,l)),c-=L,l+=L,a.length-=L),a.length))break e;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===c)break e;L=0;do{J=o[l+L++],a.head&&J&&a.length<65536&&(a.head.name+=String.fromCharCode(J))}while(J&&L<c);if(512&a.flags&&4&a.wrap&&(a.check=n(a.check,o,L,l)),c-=L,l+=L,J)break e}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===c)break e;L=0;do{J=o[l+L++],a.head&&J&&a.length<65536&&(a.head.comment+=String.fromCharCode(J))}while(J&&L<c);if(512&a.flags&&4&a.wrap&&(a.check=n(a.check,o,L,l)),c-=L,l+=L,J)break e}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;C<16;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}if(4&a.wrap&&N!==(65535&a.check)){e.msg="header crc mismatch",a.mode=U;break}N=0,C=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),e.adler=a.check=0,a.mode=R;break;case 16189:for(;C<32;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}e.adler=a.check=D(N),N=0,C=0,a.mode=E;case E:if(0===a.havedict)return e.next_out=d,e.avail_out=I,e.next_in=l,e.avail_in=c,a.hold=N,a.bits=C,k;e.adler=a.check=1,a.mode=R;case R:if(i===u||i===w)break e;case A:if(a.last){N>>>=7&C,C-=7&C,a.mode=O;break}for(;C<3;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}switch(a.last=1&N,N>>>=1,C-=1,3&N){case 0:a.mode=16193;break;case 1:if(j(a),a.mode=S,i===w){N>>>=2,C-=2;break e}break;case 2:a.mode=16196;break;case 3:e.msg="invalid block type",a.mode=U}N>>>=2,C-=2;break;case 16193:for(N>>>=7&C,C-=7&C;C<32;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}if((65535&N)!=(N>>>16^65535)){e.msg="invalid stored block lengths",a.mode=U;break}if(a.length=65535&N,N=0,C=0,a.mode=Z,i===w)break e;case Z:a.mode=16195;case 16195:if(L=a.length,L){if(L>c&&(L=c),L>I&&(L=I),0===L)break e;s.set(o.subarray(l,l+L),d),c-=L,l+=L,I-=L,d+=L,a.length-=L;break}a.mode=R;break;case 16196:for(;C<14;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}if(a.nlen=257+(31&N),N>>>=5,C-=5,a.ndist=1+(31&N),N>>>=5,C-=5,a.ncode=4+(15&N),N>>>=4,C-=4,a.nlen>286||a.ndist>30){e.msg="too many length or distance symbols",a.mode=U;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;C<3;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}a.lens[ie[a.have++]]=7&N,N>>>=3,C-=3}for(;a.have<19;)a.lens[ie[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,ee={bits:a.lenbits},Q=f(0,a.lens,0,19,a.lencode,0,a.work,ee),a.lenbits=ee.bits,Q){e.msg="invalid code lengths set",a.mode=U;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;V=a.lencode[N&(1<<a.lenbits)-1],P=V>>>24,Y=V>>>16&255,G=65535&V,!(P<=C);){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}if(G<16)N>>>=P,C-=P,a.lens[a.have++]=G;else{if(16===G){for(te=P+2;C<te;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}if(N>>>=P,C-=P,0===a.have){e.msg="invalid bit length repeat",a.mode=U;break}J=a.lens[a.have-1],L=3+(3&N),N>>>=2,C-=2}else if(17===G){for(te=P+3;C<te;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}N>>>=P,C-=P,J=0,L=3+(7&N),N>>>=3,C-=3}else{for(te=P+7;C<te;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}N>>>=P,C-=P,J=0,L=11+(127&N),N>>>=7,C-=7}if(a.have+L>a.nlen+a.ndist){e.msg="invalid bit length repeat",a.mode=U;break}for(;L--;)a.lens[a.have++]=J}}if(a.mode===U)break;if(0===a.lens[256]){e.msg="invalid code -- missing end-of-block",a.mode=U;break}if(a.lenbits=9,ee={bits:a.lenbits},Q=f(1,a.lens,0,a.nlen,a.lencode,0,a.work,ee),a.lenbits=ee.bits,Q){e.msg="invalid literal/lengths set",a.mode=U;break}if(a.distbits=6,a.distcode=a.distdyn,ee={bits:a.distbits},Q=f(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,ee),a.distbits=ee.bits,Q){e.msg="invalid distances set",a.mode=U;break}if(a.mode=S,i===w)break e;case S:a.mode=T;case T:if(c>=6&&I>=258){e.next_out=d,e.avail_out=I,e.next_in=l,e.avail_in=c,a.hold=N,a.bits=C,r(e,F),d=e.next_out,s=e.output,I=e.avail_out,l=e.next_in,o=e.input,c=e.avail_in,N=a.hold,C=a.bits,a.mode===R&&(a.back=-1);break}for(a.back=0;V=a.lencode[N&(1<<a.lenbits)-1],P=V>>>24,Y=V>>>16&255,G=65535&V,!(P<=C);){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}if(Y&&0==(240&Y)){for(X=P,W=Y,q=G;V=a.lencode[q+((N&(1<<X+W)-1)>>X)],P=V>>>24,Y=V>>>16&255,G=65535&V,!(X+P<=C);){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}N>>>=X,C-=X,a.back+=X}if(N>>>=P,C-=P,a.back+=P,a.length=G,0===Y){a.mode=16205;break}if(32&Y){a.back=-1,a.mode=R;break}if(64&Y){e.msg="invalid literal/length code",a.mode=U;break}a.extra=15&Y,a.mode=16201;case 16201:if(a.extra){for(te=a.extra;C<te;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}a.length+=N&(1<<a.extra)-1,N>>>=a.extra,C-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;V=a.distcode[N&(1<<a.distbits)-1],P=V>>>24,Y=V>>>16&255,G=65535&V,!(P<=C);){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}if(0==(240&Y)){for(X=P,W=Y,q=G;V=a.distcode[q+((N&(1<<X+W)-1)>>X)],P=V>>>24,Y=V>>>16&255,G=65535&V,!(X+P<=C);){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}N>>>=X,C-=X,a.back+=X}if(N>>>=P,C-=P,a.back+=P,64&Y){e.msg="invalid distance code",a.mode=U;break}a.offset=G,a.extra=15&Y,a.mode=16203;case 16203:if(a.extra){for(te=a.extra;C<te;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}a.offset+=N&(1<<a.extra)-1,N>>>=a.extra,C-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){e.msg="invalid distance too far back",a.mode=U;break}a.mode=16204;case 16204:if(0===I)break e;if(L=F-I,a.offset>L){if(L=a.offset-L,L>a.whave&&a.sane){e.msg="invalid distance too far back",a.mode=U;break}L>a.wnext?(L-=a.wnext,M=a.wsize-L):M=a.wnext-L,L>a.length&&(L=a.length),H=a.window}else H=s,M=d-a.offset,L=a.length;L>I&&(L=I),I-=L,a.length-=L;do{s[d++]=H[M++]}while(--L);0===a.length&&(a.mode=T);break;case 16205:if(0===I)break e;s[d++]=a.length,I--,a.mode=T;break;case O:if(a.wrap){for(;C<32;){if(0===c)break e;c--,N|=o[l++]<<C,C+=8}if(F-=I,e.total_out+=F,a.total+=F,4&a.wrap&&F&&(e.adler=a.check=a.flags?n(a.check,s,F,d-F):t(a.check,s,F,d-F)),F=I,4&a.wrap&&(a.flags?N:D(N))!==a.check){e.msg="incorrect data check",a.mode=U;break}N=0,C=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;C<32;){if(0===c)break e;c--,N+=o[l++]<<C,C+=8}if(4&a.wrap&&N!==(4294967295&a.total)){e.msg="incorrect length check",a.mode=U;break}N=0,C=0}a.mode=16208;case 16208:Q=m;break e;case U:Q=g;break e;case 16210:return p;default:return _}return e.next_out=d,e.avail_out=I,e.next_in=l,e.avail_in=c,a.hold=N,a.bits=C,(a.wsize||F!==e.avail_out&&a.mode<U&&(a.mode<O||i!==h))&&K(e,e.output,e.next_out,F-e.avail_out),z-=e.avail_in,F-=e.avail_out,e.total_in+=z,e.total_out+=F,a.total+=F,4&a.wrap&&F&&(e.adler=a.check=a.flags?n(a.check,s,F,e.next_out-F):t(a.check,s,F,e.next_out-F)),e.data_type=a.bits+(a.last?64:0)+(a.mode===R?128:0)+(a.mode===S||a.mode===Z?256:0),(0===z&&0===F||i===h)&&Q===b&&(Q=v),Q},inflateEnd:e=>{if(B(e))return _;let t=e.state;return t.window&&(t.window=null),e.state=null,b},inflateGetHeader:(e,t)=>{if(B(e))return _;const i=e.state;return 0==(2&i.wrap)?_:(i.head=t,t.done=!1,b)},inflateSetDictionary:(e,i)=>{const n=i.length;let a,r,o;return B(e)?_:(a=e.state,0!==a.wrap&&a.mode!==E?_:a.mode===E&&(r=1,r=t(r,i,n,0),r!==a.check)?g:(o=K(e,i,n,n),o?(a.mode=16210,p):(a.havedict=1,b)))},inflateInfo:"pako inflate (from Nodeca project)"};const Y=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var G=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const i=t.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(const t in i)Y(i,t)&&(e[t]=i[t])}}return e};let X=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){X=!1}const W=new Uint8Array(256);for(let e=0;e<256;e++)W[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;W[254]=W[254]=1;var q=e=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);let t,i,n,a,r,o=e.length,s=0;for(a=0;a<o;a++)i=e.charCodeAt(a),55296==(64512&i)&&a+1<o&&(n=e.charCodeAt(a+1),56320==(64512&n)&&(i=65536+(i-55296<<10)+(n-56320),a++)),s+=i<128?1:i<2048?2:i<65536?3:4;for(t=new Uint8Array(s),r=0,a=0;r<s;a++)i=e.charCodeAt(a),55296==(64512&i)&&a+1<o&&(n=e.charCodeAt(a+1),56320==(64512&n)&&(i=65536+(i-55296<<10)+(n-56320),a++)),i<128?t[r++]=i:i<2048?(t[r++]=192|i>>>6,t[r++]=128|63&i):i<65536?(t[r++]=224|i>>>12,t[r++]=128|i>>>6&63,t[r++]=128|63&i):(t[r++]=240|i>>>18,t[r++]=128|i>>>12&63,t[r++]=128|i>>>6&63,t[r++]=128|63&i);return t},J=(e,t)=>{const i=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,t));let n,a;const r=new Array(2*i);for(a=0,n=0;n<i;){let t=e[n++];if(t<128){r[a++]=t;continue}let o=W[t];if(o>4)r[a++]=65533,n+=o-1;else{for(t&=2===o?31:3===o?15:7;o>1&&n<i;)t=t<<6|63&e[n++],o--;o>1?r[a++]=65533:t<65536?r[a++]=t:(t-=65536,r[a++]=55296|t>>10&1023,r[a++]=56320|1023&t)}}return((e,t)=>{if(t<65534&&e.subarray&&X)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let i="";for(let n=0;n<t;n++)i+=String.fromCharCode(e[n]);return i})(r,a)},Q=(e,t)=>{(t=t||e.length)>e.length&&(t=e.length);let i=t-1;for(;i>=0&&128==(192&e[i]);)i--;return i<0||0===i?t:i+W[e[i]]>t?i:t},V={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},$=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},ee=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const te=Object.prototype.toString,{Z_NO_FLUSH:ie,Z_FINISH:ne,Z_OK:ae,Z_STREAM_END:re,Z_NEED_DICT:oe,Z_STREAM_ERROR:se,Z_DATA_ERROR:le,Z_MEM_ERROR:de}=c;function fe(e){this.options=G({chunkSize:65536,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new $,this.strm.avail_out=0;let i=P.inflateInit2(this.strm,t.windowBits);if(i!==ae)throw new Error(V[i]);if(this.header=new ee,P.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=q(t.dictionary):"[object ArrayBuffer]"===te.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(i=P.inflateSetDictionary(this.strm,t.dictionary),i!==ae)))throw new Error(V[i])}function ce(e,t){const i=new fe(t);if(i.push(e),i.err)throw i.msg||V[i.err];return i.result}fe.prototype.push=function(e,t){const i=this.strm,n=this.options.chunkSize,a=this.options.dictionary;let r,o,s;if(this.ended)return!1;for(o=t===~~t?t:!0===t?ne:ie,"[object ArrayBuffer]"===te.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;){for(0===i.avail_out&&(i.output=new Uint8Array(n),i.next_out=0,i.avail_out=n),r=P.inflate(i,o),r===oe&&a&&(r=P.inflateSetDictionary(i,a),r===ae?r=P.inflate(i,o):r===le&&(r=oe));i.avail_in>0&&r===re&&i.state.wrap>0&&0!==e[i.next_in];)P.inflateReset(i),r=P.inflate(i,o);switch(r){case se:case le:case oe:case de:return this.onEnd(r),this.ended=!0,!1}if(s=i.avail_out,i.next_out&&(0===i.avail_out||r===re))if("string"===this.options.to){let e=Q(i.output,i.next_out),t=i.next_out-e,a=J(i.output,e);i.next_out=t,i.avail_out=n-t,t&&i.output.set(i.output.subarray(e,e+t),0),this.onData(a)}else this.onData(i.output.length===i.next_out?i.output:i.output.subarray(0,i.next_out));if(r!==ae||0!==s){if(r===re)return r=P.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,!0;if(0===i.avail_in)break}}return!0},fe.prototype.onData=function(e){this.chunks.push(e)},fe.prototype.onEnd=function(e){e===ae&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=(e=>{let t=0;for(let i=0,n=e.length;i<n;i++)t+=e[i].length;const i=new Uint8Array(t);for(let t=0,n=0,a=e.length;t<a;t++){let a=e[t];i.set(a,n),n+=a.length}return i})(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var he=fe,ue=ce,we=function(e,t){return(t=t||{}).raw=!0,ce(e,t)},be=ce,me=c,ke={Inflate:he,inflate:ue,inflateRaw:we,ungzip:be,constants:me};e.Inflate=he,e.constants=me,e.default=ke,e.inflate=ue,e.inflateRaw=we,e.ungzip=be,Object.defineProperty(e,"__esModule",{value:!0})}));
|
@@ -1 +0,0 @@
|
|
1
|
-
/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */
|
@@ -1 +0,0 @@
|
|
1
|
-
!function(){"use strict";const{Array:t,Object:e,Math:n,Error:s,Uint8Array:r,Uint16Array:a,Uint32Array:i,Int32Array:c,DataView:o,TextEncoder:l,crypto:h,postMessage:p}=globalThis,d=[];for(let t=0;256>t;t++){let e=t;for(let t=0;8>t;t++)1&e?e=e>>>1^3988292384:e>>>=1;d[t]=e}class u{constructor(t){this.crc=t||-1}append(t){let e=0|this.crc;for(let n=0,s=0|t.length;s>n;n++)e=e>>>8^d[255&(e^t[n])];this.crc=e}get(){return~this.crc}}const f={concat(t,e){if(0===t.length||0===e.length)return t.concat(e);const n=t[t.length-1],s=f.getPartial(n);return 32===s?t.concat(e):f._shiftRight(e,s,0|n,t.slice(0,t.length-1))},bitLength(t){const e=t.length;if(0===e)return 0;const n=t[e-1];return 32*(e-1)+f.getPartial(n)},clamp(t,e){if(32*t.length<e)return t;const s=(t=t.slice(0,n.ceil(e/32))).length;return e&=31,s>0&&e&&(t[s-1]=f.partial(e,t[s-1]&2147483648>>e-1,1)),t},partial:(t,e,n)=>32===t?e:(n?0|e:e<<32-t)+1099511627776*t,getPartial:t=>n.round(t/1099511627776)||32,_shiftRight(t,e,n,s){for(void 0===s&&(s=[]);e>=32;e-=32)s.push(n),n=0;if(0===e)return s.concat(t);for(let r=0;r<t.length;r++)s.push(n|t[r]>>>e),n=t[r]<<32-e;const r=t.length?t[t.length-1]:0,a=f.getPartial(r);return s.push(f.partial(e+a&31,e+a>32?n:s.pop(),1)),s}},g={bytes:{fromBits(t){const e=f.bitLength(t)/8,n=new r(e);let s;for(let r=0;e>r;r++)0==(3&r)&&(s=t[r/4]),n[r]=s>>>24,s<<=8;return n},toBits(t){const e=[];let n,s=0;for(n=0;n<t.length;n++)s=s<<8|t[n],3==(3&n)&&(e.push(s),s=0);return 3&n&&e.push(f.partial(8*(3&n),s)),e}}},w={sha1:function(t){t?(this._h=t._h.slice(0),this._buffer=t._buffer.slice(0),this._length=t._length):this.reset()}};w.sha1.prototype={blockSize:512,reset:function(){const t=this;return t._h=this._init.slice(0),t._buffer=[],t._length=0,t},update:function(t){const e=this;"string"==typeof t&&(t=g.utf8String.toBits(t));const n=e._buffer=f.concat(e._buffer,t),r=e._length,a=e._length=r+f.bitLength(t);if(a>9007199254740991)throw new s("Cannot hash more than 2^53 - 1 bits");const c=new i(n);let o=0;for(let t=e.blockSize+r-(e.blockSize+r&e.blockSize-1);a>=t;t+=e.blockSize)e._block(c.subarray(16*o,16*(o+1))),o+=1;return n.splice(0,16*o),e},finalize:function(){const t=this;let e=t._buffer;const s=t._h;e=f.concat(e,[f.partial(1,1)]);for(let t=e.length+2;15&t;t++)e.push(0);for(e.push(n.floor(t._length/4294967296)),e.push(0|t._length);e.length;)t._block(e.splice(0,16));return t.reset(),s},_init:[1732584193,4023233417,2562383102,271733878,3285377520],_key:[1518500249,1859775393,2400959708,3395469782],_f:(t,e,n,s)=>t>19?t>39?t>59?t>79?void 0:e^n^s:e&n|e&s|n&s:e^n^s:e&n|~e&s,_S:(t,e)=>e<<t|e>>>32-t,_block:function(e){const s=this,r=s._h,a=t(80);for(let t=0;16>t;t++)a[t]=e[t];let i=r[0],c=r[1],o=r[2],l=r[3],h=r[4];for(let t=0;79>=t;t++){16>t||(a[t]=s._S(1,a[t-3]^a[t-8]^a[t-14]^a[t-16]));const e=s._S(5,i)+s._f(t,c,o,l)+h+a[t]+s._key[n.floor(t/20)]|0;h=l,l=o,o=s._S(30,c),c=i,i=e}r[0]=r[0]+i|0,r[1]=r[1]+c|0,r[2]=r[2]+o|0,r[3]=r[3]+l|0,r[4]=r[4]+h|0}};const y={getRandomValues(t){const e=new i(t.buffer),s=t=>{let e=987654321;const s=4294967295;return()=>(e=36969*(65535&e)+(e>>16)&s,(((e<<16)+(t=18e3*(65535&t)+(t>>16)&s)&s)/4294967296+.5)*(n.random()>.5?1:-1))};for(let r,a=0;a<t.length;a+=4){const t=s(4294967296*(r||n.random()));r=987654071*t(),e[a/4]=4294967296*t()|0}return t}},_={importKey:t=>new _.hmacSha1(g.bytes.toBits(t)),pbkdf2(t,e,n,r){if(n=n||1e4,0>r||0>n)throw new s("invalid params to pbkdf2");const a=1+(r>>5)<<2;let i,c,l,h,p;const d=new ArrayBuffer(a),u=new o(d);let w=0;const y=f;for(e=g.bytes.toBits(e),p=1;(a||1)>w;p++){for(i=c=t.encrypt(y.concat(e,[p])),l=1;n>l;l++)for(c=t.encrypt(c),h=0;h<c.length;h++)i[h]^=c[h];for(l=0;(a||1)>w&&l<i.length;l++)u.setInt32(w,i[l]),w+=4}return d.slice(0,r/8)},hmacSha1:class{constructor(t){const e=this,n=e._hash=w.sha1,s=[[],[]],r=n.prototype.blockSize/32;e._baseHash=[new n,new n],t.length>r&&(t=n.hash(t));for(let e=0;r>e;e++)s[0][e]=909522486^t[e],s[1][e]=1549556828^t[e];e._baseHash[0].update(s[0]),e._baseHash[1].update(s[1]),e._resultHash=new n(e._baseHash[0])}reset(){const t=this;t._resultHash=new t._hash(t._baseHash[0]),t._updated=!1}update(t){this._updated=!0,this._resultHash.update(t)}digest(){const t=this,e=t._resultHash.finalize(),n=new t._hash(t._baseHash[1]).update(e).finalize();return t.reset(),n}encrypt(t){if(this._updated)throw new s("encrypt on already updated hmac called!");return this.update(t),this.digest(t)}}},m="Invalid pasword",b=16,k={name:"PBKDF2"},v=e.assign({hash:{name:"HMAC"}},k),z=e.assign({iterations:1e3,hash:{name:"SHA-1"}},k),C=["deriveBits"],S=[8,12,16],B=[16,24,32],I=10,D=[0,0,0,0],V=void 0!==h,H=V&&void 0!==h.subtle,K=g.bytes,A=class{constructor(t){const e=this;e._tables=[[[],[],[],[],[]],[[],[],[],[],[]]],e._tables[0][0][0]||e._precompute();const n=e._tables[0][4],r=e._tables[1],a=t.length;let i,c,o,l=1;if(4!==a&&6!==a&&8!==a)throw new s("invalid aes key size");for(e._key=[c=t.slice(0),o=[]],i=a;4*a+28>i;i++){let t=c[i-1];(i%a==0||8===a&&i%a==4)&&(t=n[t>>>24]<<24^n[t>>16&255]<<16^n[t>>8&255]<<8^n[255&t],i%a==0&&(t=t<<8^t>>>24^l<<24,l=l<<1^283*(l>>7))),c[i]=c[i-a]^t}for(let t=0;i;t++,i--){const e=c[3&t?i:i-4];o[t]=4>=i||4>t?e:r[0][n[e>>>24]]^r[1][n[e>>16&255]]^r[2][n[e>>8&255]]^r[3][n[255&e]]}}encrypt(t){return this._crypt(t,0)}decrypt(t){return this._crypt(t,1)}_precompute(){const t=this._tables[0],e=this._tables[1],n=t[4],s=e[4],r=[],a=[];let i,c,o,l;for(let t=0;256>t;t++)a[(r[t]=t<<1^283*(t>>7))^t]=t;for(let h=i=0;!n[h];h^=c||1,i=a[i]||1){let a=i^i<<1^i<<2^i<<3^i<<4;a=a>>8^255&a^99,n[h]=a,s[a]=h,l=r[o=r[c=r[h]]];let p=16843009*l^65537*o^257*c^16843008*h,d=257*r[a]^16843008*a;for(let n=0;4>n;n++)t[n][h]=d=d<<24^d>>>8,e[n][a]=p=p<<24^p>>>8}for(let n=0;5>n;n++)t[n]=t[n].slice(0),e[n]=e[n].slice(0)}_crypt(t,e){if(4!==t.length)throw new s("invalid aes block size");const n=this._key[e],r=n.length/4-2,a=[0,0,0,0],i=this._tables[e],c=i[0],o=i[1],l=i[2],h=i[3],p=i[4];let d,u,f,g=t[0]^n[0],w=t[e?3:1]^n[1],y=t[2]^n[2],_=t[e?1:3]^n[3],m=4;for(let t=0;r>t;t++)d=c[g>>>24]^o[w>>16&255]^l[y>>8&255]^h[255&_]^n[m],u=c[w>>>24]^o[y>>16&255]^l[_>>8&255]^h[255&g]^n[m+1],f=c[y>>>24]^o[_>>16&255]^l[g>>8&255]^h[255&w]^n[m+2],_=c[_>>>24]^o[g>>16&255]^l[w>>8&255]^h[255&y]^n[m+3],m+=4,g=d,w=u,y=f;for(let t=0;4>t;t++)a[e?3&-t:t]=p[g>>>24]<<24^p[w>>16&255]<<16^p[y>>8&255]<<8^p[255&_]^n[m++],d=g,g=w,w=y,y=_,_=d;return a}},R=class{constructor(t,e){this._prf=t,this._initIv=e,this._iv=e}reset(){this._iv=this._initIv}update(t){return this.calculate(this._prf,t,this._iv)}incWord(t){if(255==(t>>24&255)){let e=t>>16&255,n=t>>8&255,s=255&t;255===e?(e=0,255===n?(n=0,255===s?s=0:++s):++n):++e,t=0,t+=e<<16,t+=n<<8,t+=s}else t+=1<<24;return t}incCounter(t){0===(t[0]=this.incWord(t[0]))&&(t[1]=this.incWord(t[1]))}calculate(t,e,n){let s;if(!(s=e.length))return[];const r=f.bitLength(e);for(let r=0;s>r;r+=4){this.incCounter(n);const s=t.encrypt(n);e[r]^=s[0],e[r+1]^=s[1],e[r+2]^=s[2],e[r+3]^=s[3]}return f.clamp(e,r)}},W=_.hmacSha1;class T{constructor(t,n,s){e.assign(this,{password:t,signed:n,strength:s-1,pendingInput:new r(0)})}async append(e){const n=this;if(n.password){const r=E(e,0,S[n.strength]+2);await(async(t,e,n)=>{await L(t,n,E(e,0,S[t.strength]));const r=E(e,S[t.strength]),a=t.keys.passwordVerification;if(a[0]!=r[0]||a[1]!=r[1])throw new s(m)})(n,r,n.password),n.password=null,n.aesCtrGladman=new R(new A(n.keys.key),t.from(D)),n.hmac=new W(n.keys.authentication),e=E(e,S[n.strength]+2)}return G(n,e,new r(e.length-I-(e.length-I)%b),0,I,!0)}flush(){const t=this,e=t.pendingInput,n=E(e,0,e.length-I),s=E(e,e.length-I);let a=new r(0);if(n.length){const e=K.toBits(n);t.hmac.update(e);const s=t.aesCtrGladman.update(e);a=K.fromBits(s)}let i=!0;if(t.signed){const e=E(K.fromBits(t.hmac.digest()),0,I);for(let t=0;I>t;t++)e[t]!=s[t]&&(i=!1)}return{valid:i,data:a}}}class U{constructor(t,n){e.assign(this,{password:t,strength:n-1,pendingInput:new r(0)})}async append(e){const n=this;let s=new r(0);n.password&&(s=await(async(t,e)=>{const n=(s=new r(S[t.strength]),V&&"function"==typeof h.getRandomValues?h.getRandomValues(s):y.getRandomValues(s));var s;return await L(t,e,n),P(n,t.keys.passwordVerification)})(n,n.password),n.password=null,n.aesCtrGladman=new R(new A(n.keys.key),t.from(D)),n.hmac=new W(n.keys.authentication));const a=new r(s.length+e.length-e.length%b);return a.set(s,0),G(n,e,a,s.length,0)}flush(){const t=this;let e=new r(0);if(t.pendingInput.length){const n=t.aesCtrGladman.update(K.toBits(t.pendingInput));t.hmac.update(n),e=K.fromBits(n)}const n=E(K.fromBits(t.hmac.digest()),0,I);return{data:P(e,n),signature:n}}}function G(t,e,n,s,a,i){const c=e.length-a;let o;for(t.pendingInput.length&&(e=P(t.pendingInput,e),n=((t,e)=>{if(e&&e>t.length){const n=t;(t=new r(e)).set(n,0)}return t})(n,c-c%b)),o=0;c-b>=o;o+=b){const r=K.toBits(E(e,o,o+b));i&&t.hmac.update(r);const a=t.aesCtrGladman.update(r);i||t.hmac.update(a),n.set(K.fromBits(a),o+s)}return t.pendingInput=E(e,o),n}async function L(t,n,s){const a=(t=>{if(void 0===l){const e=new r((t=unescape(encodeURIComponent(t))).length);for(let n=0;n<e.length;n++)e[n]=t.charCodeAt(n);return e}return(new l).encode(t)})(n),i=await((t,e,n,s,r)=>V&&H&&"function"==typeof h.subtle.importKey?h.subtle.importKey("raw",e,n,!1,r):_.importKey(e))(0,a,v,0,C),c=await(async(t,e,n)=>V&&H&&"function"==typeof h.subtle.deriveBits?await h.subtle.deriveBits(t,e,n):_.pbkdf2(e,t.salt,z.iterations,n))(e.assign({salt:s},z),i,8*(2*B[t.strength]+2)),o=new r(c);t.keys={key:K.toBits(E(o,0,B[t.strength])),authentication:K.toBits(E(o,B[t.strength],2*B[t.strength])),passwordVerification:E(o,2*B[t.strength])}}function P(t,e){let n=t;return t.length+e.length&&(n=new r(t.length+e.length),n.set(t,0),n.set(e,t.length)),n}function E(t,e,n){return t.subarray(e,n)}class M{constructor(t,n){e.assign(this,{password:t,passwordVerification:n}),O(this,t)}append(t){const e=this;if(e.password){const n=x(e,t.subarray(0,12));if(e.password=null,n[11]!=e.passwordVerification)throw new s(m);t=t.subarray(12)}return x(e,t)}flush(){return{valid:!0,data:new r(0)}}}class j{constructor(t,n){e.assign(this,{password:t,passwordVerification:n}),O(this,t)}append(t){const e=this;let n,s;if(e.password){e.password=null;const a=h.getRandomValues(new r(12));a[11]=e.passwordVerification,n=new r(t.length+a.length),n.set(F(e,a),0),s=12}else n=new r(t.length),s=0;return n.set(F(e,t),s),n}flush(){return{data:new r(0)}}}function x(t,e){const n=new r(e.length);for(let s=0;s<e.length;s++)n[s]=J(t)^e[s],q(t,n[s]);return n}function F(t,e){const n=new r(e.length);for(let s=0;s<e.length;s++)n[s]=J(t)^e[s],q(t,e[s]);return n}function O(t,e){t.keys=[305419896,591751049,878082192],t.crcKey0=new u(t.keys[0]),t.crcKey2=new u(t.keys[2]);for(let n=0;n<e.length;n++)q(t,e.charCodeAt(n))}function q(t,e){t.crcKey0.append([e]),t.keys[0]=~t.crcKey0.get(),t.keys[1]=Q(t.keys[1]+N(t.keys[0])),t.keys[1]=Q(n.imul(t.keys[1],134775813)+1),t.crcKey2.append([t.keys[1]>>>24]),t.keys[2]=~t.crcKey2.get()}function J(t){const e=2|t.keys[2];return N(n.imul(e,1^e)>>>8)}function N(t){return 255&t}function Q(t){return 4294967295&t}const X="deflate",Y="inflate",Z="Invalid signature";class ${constructor(t,{signature:n,password:s,signed:r,compressed:a,zipCrypto:i,passwordVerification:c,encryptionStrength:o},{chunkSize:l}){const h=!!s;e.assign(this,{signature:n,encrypted:h,signed:r,compressed:a,inflate:a&&new t({chunkSize:l}),crc32:r&&new u,zipCrypto:i,decrypt:h&&i?new M(s,c):new T(s,r,o)})}async append(t){const e=this;return e.encrypted&&t.length&&(t=await e.decrypt.append(t)),e.compressed&&t.length&&(t=await e.inflate.append(t)),(!e.encrypted||e.zipCrypto)&&e.signed&&t.length&&e.crc32.append(t),t}async flush(){const t=this;let e,n=new r(0);if(t.encrypted){const e=t.decrypt.flush();if(!e.valid)throw new s(Z);n=e.data}if((!t.encrypted||t.zipCrypto)&&t.signed){const n=new o(new r(4).buffer);if(e=t.crc32.get(),n.setUint32(0,e),t.signature!=n.getUint32(0,!1))throw new s(Z)}return t.compressed&&(n=await t.inflate.append(n)||new r(0),await t.inflate.flush()),{data:n,signature:e}}}class tt{constructor(t,{encrypted:n,signed:s,compressed:r,level:a,zipCrypto:i,password:c,passwordVerification:o,encryptionStrength:l},{chunkSize:h}){e.assign(this,{encrypted:n,signed:s,compressed:r,deflate:r&&new t({level:a||5,chunkSize:h}),crc32:s&&new u,zipCrypto:i,encrypt:n&&i?new j(c,o):new U(c,l)})}async append(t){const e=this;let n=t;return e.compressed&&t.length&&(n=await e.deflate.append(t)),e.encrypted&&n.length&&(n=await e.encrypt.append(n)),(!e.encrypted||e.zipCrypto)&&e.signed&&t.length&&e.crc32.append(t),n}async flush(){const t=this;let e,n=new r(0);if(t.compressed&&(n=await t.deflate.flush()||new r(0)),t.encrypted){n=await t.encrypt.append(n);const s=t.encrypt.flush();e=s.signature;const a=new r(n.length+s.data.length);a.set(n,0),a.set(s.data,n.length),n=a}return t.encrypted&&!t.zipCrypto||!t.signed||(e=t.crc32.get()),{data:n,signature:e}}}const et={init(t){t.scripts&&t.scripts.length&&importScripts.apply(void 0,t.scripts);const e=t.options;let n;self.initCodec&&self.initCodec(),e.codecType.startsWith(X)?n=self.Deflate:e.codecType.startsWith(Y)&&(n=self.Inflate),nt=((t,e,n)=>e.codecType.startsWith(X)?new tt(t,e,n):e.codecType.startsWith(Y)?new $(t,e,n):void 0)(n,e,t.config)},append:async t=>({data:await nt.append(t.data)}),flush:()=>nt.flush()};let nt;function st(t,n,s){return class{constructor(a){const i=this;i.codec=new t(e.assign({},n,a)),s(i.codec,(t=>{if(i.pendingData){const e=i.pendingData;i.pendingData=new r(e.length+t.length),i.pendingData.set(e,0),i.pendingData.set(t,e.length)}else i.pendingData=new r(t)}))}append(t){return this.codec.push(t),a(this)}flush(){return this.codec.push(new r(0),!0),a(this)}};function a(t){if(t.pendingData){const e=t.pendingData;return t.pendingData=null,e}return new r(0)}}addEventListener("message",(async t=>{const e=t.data,n=e.type,s=et[n];if(s)try{e.data&&(e.data=new r(e.data));const t=await s(e)||{};if(t.type=n,t.data)try{t.data=t.data.buffer,p(t,[t.data])}catch(e){p(t)}else p(t)}catch(t){p({type:n,error:{message:t.message,stack:t.stack}})}})),self.initCodec=()=>{const{Deflate:t,Inflate:e}=((t,e={},n)=>({Deflate:st(t.Deflate,e.deflate,n),Inflate:st(t.Inflate,e.inflate,n)}))(pako,{deflate:{raw:!0},inflate:{raw:!0}},((t,e)=>t.onData=e));self.Deflate=t,self.Inflate=e}}();
|
Binary file
|
Binary file
|