vizor_view 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +144 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
- package/dist/cesiumStatic/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
- package/dist/cesiumStatic/Assets/Images/bing_maps_credit.png +0 -0
- package/dist/cesiumStatic/Assets/Images/cesium_credit.png +0 -0
- package/dist/cesiumStatic/Assets/Images/google_earth_credit.png +0 -0
- package/dist/cesiumStatic/Assets/Images/ion-credit.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
- package/dist/cesiumStatic/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/airfield.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/airport.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/america-football.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/art-gallery.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/bakery.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/bank.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/bar.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/baseball.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/basketball.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/beer.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/bicycle.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/building.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/bus.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/cafe.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/camera.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/campsite.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/car.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/cemetery.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/cesium.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/chemist.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/cinema.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/circle-stroked.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/circle.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/city.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/clothing-store.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/college.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/commercial.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/cricket.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/cross.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/dam.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/danger.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/disability.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/dog-park.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/embassy.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/entrance.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/farm.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/fast-food.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/ferry.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/fire-station.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/fuel.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/garden.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/gift.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/golf.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/grocery.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/hairdresser.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/harbor.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/heart.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/heliport.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/hospital.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/ice-cream.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/industrial.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/land-use.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/laundry.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/library.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/lighthouse.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/lodging.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/logging.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/london-underground.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/marker-stroked.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/marker.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/minefield.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/mobilephone.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/monument.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/museum.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/music.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/oil-well.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/park.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/park2.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/parking-garage.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/parking.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/pharmacy.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/pitch.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/place-of-worship.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/playground.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/police.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/polling-place.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/post.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/prison.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/rail-above.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/rail-light.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/rail-metro.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/rail-underground.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/rail.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/religious-christian.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/religious-jewish.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/religious-muslim.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/restaurant.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/roadblock.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/rocket.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/school.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/scooter.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/shop.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/skiing.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/soccer.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/square-stroked.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/square.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/star-stroked.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/star.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/suitcase.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/swimming.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/telephone.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/tennis.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/theatre.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/toilets.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/town-hall.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/town.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/triangle.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/village.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/warehouse.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/waste-basket.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/water.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/wetland.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/maki/zoo.png +0 -0
- package/dist/cesiumStatic/Assets/Textures/moonSmall.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/pin.svg +1 -0
- package/dist/cesiumStatic/Assets/Textures/waterNormals.jpg +0 -0
- package/dist/cesiumStatic/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/dist/cesiumStatic/Assets/approximateTerrainHeights.json +1 -0
- package/dist/cesiumStatic/ThirdParty/Workers/package.json +1 -0
- package/dist/cesiumStatic/ThirdParty/Workers/pako_deflate.min.js +2 -0
- package/dist/cesiumStatic/ThirdParty/Workers/pako_deflate.min.js.LICENSE.txt +1 -0
- package/dist/cesiumStatic/ThirdParty/Workers/pako_inflate.min.js +2 -0
- package/dist/cesiumStatic/ThirdParty/Workers/pako_inflate.min.js.LICENSE.txt +1 -0
- package/dist/cesiumStatic/ThirdParty/Workers/z-worker-pako.js +1 -0
- package/dist/cesiumStatic/ThirdParty/basis_transcoder.wasm +0 -0
- package/dist/cesiumStatic/ThirdParty/draco_decoder.wasm +0 -0
- package/dist/cesiumStatic/ThirdParty/google-earth-dbroot-parser.js +1 -0
- package/dist/cesiumStatic/Widgets/Animation/Animation.css +127 -0
- package/dist/cesiumStatic/Widgets/Animation/lighter.css +70 -0
- package/dist/cesiumStatic/Widgets/BaseLayerPicker/BaseLayerPicker.css +108 -0
- package/dist/cesiumStatic/Widgets/BaseLayerPicker/lighter.css +22 -0
- package/dist/cesiumStatic/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +102 -0
- package/dist/cesiumStatic/Widgets/CesiumInspector/CesiumInspector.css +113 -0
- package/dist/cesiumStatic/Widgets/CesiumWidget/CesiumWidget.css +119 -0
- package/dist/cesiumStatic/Widgets/CesiumWidget/lighter.css +14 -0
- package/dist/cesiumStatic/Widgets/FullscreenButton/FullscreenButton.css +8 -0
- package/dist/cesiumStatic/Widgets/Geocoder/Geocoder.css +70 -0
- package/dist/cesiumStatic/Widgets/Geocoder/lighter.css +17 -0
- package/dist/cesiumStatic/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
- package/dist/cesiumStatic/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
- package/dist/cesiumStatic/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
- package/dist/cesiumStatic/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
- package/dist/cesiumStatic/Widgets/Images/NavigationHelp/Touch.svg +120 -0
- package/dist/cesiumStatic/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
- package/dist/cesiumStatic/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
- package/dist/cesiumStatic/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
- package/dist/cesiumStatic/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
- package/dist/cesiumStatic/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/TimelineIcons.png +0 -0
- package/dist/cesiumStatic/Widgets/Images/info-loading.gif +0 -0
- package/dist/cesiumStatic/Widgets/InfoBox/InfoBox.css +92 -0
- package/dist/cesiumStatic/Widgets/InfoBox/InfoBoxDescription.css +178 -0
- package/dist/cesiumStatic/Widgets/NavigationHelpButton/NavigationHelpButton.css +93 -0
- package/dist/cesiumStatic/Widgets/NavigationHelpButton/lighter.css +38 -0
- package/dist/cesiumStatic/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
- package/dist/cesiumStatic/Widgets/ProjectionPicker/ProjectionPicker.css +38 -0
- package/dist/cesiumStatic/Widgets/SceneModePicker/SceneModePicker.css +56 -0
- package/dist/cesiumStatic/Widgets/SelectionIndicator/SelectionIndicator.css +20 -0
- package/dist/cesiumStatic/Widgets/Timeline/Timeline.css +103 -0
- package/dist/cesiumStatic/Widgets/Timeline/lighter.css +23 -0
- package/dist/cesiumStatic/Widgets/VRButton/VRButton.css +8 -0
- package/dist/cesiumStatic/Widgets/Viewer/Viewer.css +107 -0
- package/dist/cesiumStatic/Widgets/VoxelInspector/VoxelInspector.css +16 -0
- package/dist/cesiumStatic/Widgets/lighter.css +237 -0
- package/dist/cesiumStatic/Widgets/lighterShared.css +46 -0
- package/dist/cesiumStatic/Widgets/shared.css +103 -0
- package/dist/cesiumStatic/Widgets/widgets.css +1342 -0
- package/dist/cesiumStatic/Workers/chunk-3FGVTQZT.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-3FGVTQZT.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-5KPQNVA2.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-5KPQNVA2.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-666MYB7X.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-666MYB7X.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-6GG6EJBW.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-6GG6EJBW.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-7OVGHUAO.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-7OVGHUAO.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-AWPY57MX.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-AWPY57MX.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-AXCXHIZO.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-AXCXHIZO.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-BSL4RZYV.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-BSL4RZYV.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-CRU5R7HF.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-CRU5R7HF.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-CUOIAHY2.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-CUOIAHY2.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-CWBIOT2C.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-CWBIOT2C.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-DBOVA5XH.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-DBOVA5XH.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-EEN7GMYN.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-EEN7GMYN.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-FPT7TGTJ.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-FPT7TGTJ.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-FYZYSHA7.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-FYZYSHA7.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-G2BB42Z6.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-G2BB42Z6.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-G4IO3CPJ.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-G4IO3CPJ.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-G6QT7N47.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-G6QT7N47.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-GBRF7ES3.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-GBRF7ES3.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-GI7IUZK6.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-GI7IUZK6.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-GWDOQ4QX.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-GWDOQ4QX.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-H7SSJW5A.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-H7SSJW5A.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-I36V6CKP.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-I36V6CKP.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-KGKDCW56.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-KGKDCW56.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-LL4PRXXO.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-LL4PRXXO.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-LVKOVZ5N.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-LVKOVZ5N.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-M6TFP6VU.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-M6TFP6VU.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-NVJ64HSB.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-NVJ64HSB.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-O3U5FZIX.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-O3U5FZIX.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-O7LU3SZT.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-O7LU3SZT.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-OKAWXMC7.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-OKAWXMC7.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-PPN6SLYU.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-PPN6SLYU.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-Q5J5QSYF.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-Q5J5QSYF.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-Q6IZOLLM.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-Q6IZOLLM.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-QALYXFKR.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-QALYXFKR.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-RAWIUDJR.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-RAWIUDJR.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-RDVL7HNQ.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-RDVL7HNQ.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-RHEGXTJ5.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-RHEGXTJ5.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-RIW4PILL.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-RIW4PILL.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-SOWUYSYI.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-SOWUYSYI.js.LICENSE.txt +67 -0
- package/dist/cesiumStatic/Workers/chunk-SPMC5TLM.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-SPMC5TLM.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-SQXEWPMX.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-SQXEWPMX.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-SXYTVHGU.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-SXYTVHGU.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-T52RL3ZJ.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-T52RL3ZJ.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-TJP3YKBO.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-TJP3YKBO.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-TXLODGLR.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-TXLODGLR.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-W2LU7RJ5.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-W2LU7RJ5.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-W5FWNHP7.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-W5FWNHP7.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-WG62ICZK.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-WG62ICZK.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-WN2OOK5W.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-WN2OOK5W.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-WNCIY4BT.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-WNCIY4BT.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/chunk-WZ52TQTL.js +2 -0
- package/dist/cesiumStatic/Workers/chunk-WZ52TQTL.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/combineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/combineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createBoxGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createBoxGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createBoxOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createBoxOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createCircleGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createCircleGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createCircleOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createCircleOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createCoplanarPolygonGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createCoplanarPolygonGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createCoplanarPolygonOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createCoplanarPolygonOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createCorridorGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createCorridorGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createCorridorOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createCorridorOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createCylinderGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createCylinderGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createCylinderOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createCylinderOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createEllipseGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createEllipseGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createEllipseOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createEllipseOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createEllipsoidGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createEllipsoidGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createEllipsoidOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createEllipsoidOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createFrustumGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createFrustumGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createFrustumOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createFrustumOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createGroundPolylineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createGroundPolylineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createPlaneGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createPlaneGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createPlaneOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createPlaneOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createPolygonGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createPolygonGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createPolygonOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createPolygonOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createPolylineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createPolylineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createPolylineVolumeGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createPolylineVolumeGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createPolylineVolumeOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createPolylineVolumeOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createRectangleGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createRectangleGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createRectangleOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createRectangleOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createSimplePolylineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createSimplePolylineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createSphereGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createSphereGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createSphereOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createSphereOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createTaskProcessorWorker.js +2 -0
- package/dist/cesiumStatic/Workers/createTaskProcessorWorker.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createVectorTileClampedPolylines.js +2 -0
- package/dist/cesiumStatic/Workers/createVectorTileClampedPolylines.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createVectorTileGeometries.js +2 -0
- package/dist/cesiumStatic/Workers/createVectorTileGeometries.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createVectorTilePoints.js +2 -0
- package/dist/cesiumStatic/Workers/createVectorTilePoints.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createVectorTilePolygons.js +2 -0
- package/dist/cesiumStatic/Workers/createVectorTilePolygons.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createVectorTilePolylines.js +2 -0
- package/dist/cesiumStatic/Workers/createVectorTilePolylines.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -0
- package/dist/cesiumStatic/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createVerticesFromHeightmap.js +2 -0
- package/dist/cesiumStatic/Workers/createVerticesFromHeightmap.js.LICENSE.txt +26 -0
- package/dist/cesiumStatic/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -0
- package/dist/cesiumStatic/Workers/createVerticesFromQuantizedTerrainMesh.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createWallGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createWallGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/createWallOutlineGeometry.js +2 -0
- package/dist/cesiumStatic/Workers/createWallOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/decodeDraco.js +2 -0
- package/dist/cesiumStatic/Workers/decodeDraco.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/decodeGoogleEarthEnterprisePacket.js +2 -0
- package/dist/cesiumStatic/Workers/decodeGoogleEarthEnterprisePacket.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/decodeI3S.js +2 -0
- package/dist/cesiumStatic/Workers/decodeI3S.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/transcodeKTX2.js +2 -0
- package/dist/cesiumStatic/Workers/transcodeKTX2.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/transferTypedArrayTest.js +2 -0
- package/dist/cesiumStatic/Workers/transferTypedArrayTest.js.LICENSE.txt +24 -0
- package/dist/cesiumStatic/Workers/upsampleQuantizedTerrainMesh.js +2 -0
- package/dist/cesiumStatic/Workers/upsampleQuantizedTerrainMesh.js.LICENSE.txt +24 -0
- package/dist/vizor_view.min.js +2 -0
- package/dist/vizor_view.min.js.LICENSE.txt +61 -0
- package/package.json +42 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-EEN7GMYN.js.LICENSE.txt */
|
|
2
|
+
import{a as f}from"./chunk-KGKDCW56.js";import{a as n,b as c}from"./chunk-G4IO3CPJ.js";import{c as I,d as _,e as o}from"./chunk-GBRF7ES3.js";var P=I(((t,r)=>{var n=function(t){null==t&&(t=(new Date).getTime()),this.N=624,this.M=397,this.MATRIX_A=2567483615,this.UPPER_MASK=2147483648,this.LOWER_MASK=2147483647,this.mt=new Array(this.N),this.mti=this.N+1,t.constructor==Array?this.init_by_array(t,t.length):this.init_seed(t)};n.prototype.init_seed=function(t){for(this.mt[0]=t>>>0,this.mti=1;this.mti<this.N;this.mti++){t=this.mt[this.mti-1]^this.mt[this.mti-1]>>>30;this.mt[this.mti]=(1812433253*((4294901760&t)>>>16)<<16)+1812433253*(65535&t)+this.mti,this.mt[this.mti]>>>=0}},n.prototype.init_by_array=function(t,r){var n,e,i;for(this.init_seed(19650218),n=1,e=0,i=this.N>r?this.N:r;i;i--){var o=this.mt[n-1]^this.mt[n-1]>>>30;this.mt[n]=(this.mt[n]^(1664525*((4294901760&o)>>>16)<<16)+1664525*(65535&o))+t[e]+e,this.mt[n]>>>=0,e++,++n>=this.N&&(this.mt[0]=this.mt[this.N-1],n=1),e>=r&&(e=0)}for(i=this.N-1;i;i--){o=this.mt[n-1]^this.mt[n-1]>>>30;this.mt[n]=(this.mt[n]^(1566083941*((4294901760&o)>>>16)<<16)+1566083941*(65535&o))-n,this.mt[n]>>>=0,++n>=this.N&&(this.mt[0]=this.mt[this.N-1],n=1)}this.mt[0]=2147483648},n.prototype.random_int=function(){var t,r=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var n;for(this.mti==this.N+1&&this.init_seed(5489),n=0;n<this.N-this.M;n++)t=this.mt[n]&this.UPPER_MASK|this.mt[n+1]&this.LOWER_MASK,this.mt[n]=this.mt[n+this.M]^t>>>1^r[1&t];for(;n<this.N-1;n++)t=this.mt[n]&this.UPPER_MASK|this.mt[n+1]&this.LOWER_MASK,this.mt[n]=this.mt[n+(this.M-this.N)]^t>>>1^r[1&t];t=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^t>>>1^r[1&t],this.mti=0}return t=this.mt[this.mti++],t^=t>>>11,t^=t<<7&2636928640,t^=t<<15&4022730752,(t^=t>>>18)>>>0},n.prototype.random_int31=function(){return this.random_int()>>>1},n.prototype.random_incl=function(){return this.random_int()*(1/4294967295)},n.prototype.random=function(){return this.random_int()*(1/4294967296)},n.prototype.random_excl=function(){return(this.random_int()+.5)*(1/4294967296)},n.prototype.random_long=function(){return(67108864*(this.random_int()>>>5)+(this.random_int()>>>6))*(1/9007199254740992)},r.exports=n})),m=_(P(),1),r={EPSILON1:.1,EPSILON2:.01,EPSILON3:.001,EPSILON4:1e-4,EPSILON5:1e-5,EPSILON6:1e-6,EPSILON7:1e-7,EPSILON8:1e-8,EPSILON9:1e-9,EPSILON10:1e-10,EPSILON11:1e-11,EPSILON12:1e-12,EPSILON13:1e-13,EPSILON14:1e-14,EPSILON15:1e-15,EPSILON16:1e-16,EPSILON17:1e-17,EPSILON18:1e-18,EPSILON19:1e-19,EPSILON20:1e-20,EPSILON21:1e-21,GRAVITATIONALPARAMETER:3986004418e5,SOLAR_RADIUS:6955e5,LUNAR_RADIUS:1737400,SIXTY_FOUR_KILOBYTES:65536,FOUR_GIGABYTES:4294967296};r.sign=f(Math.sign,(function(t){return 0===(t=+t)||t!=t?t:t>0?1:-1})),r.signNotZero=function(t){return t<0?-1:1},r.toSNorm=function(t,n){return n=f(n,255),Math.round((.5*r.clamp(t,-1,1)+.5)*n)},r.fromSNorm=function(t,n){return n=f(n,255),r.clamp(t,0,n)/n*2-1},r.normalize=function(t,n,e){return 0===(e=Math.max(e-n,0))?0:r.clamp((t-n)/e,0,1)},r.sinh=f(Math.sinh,(function(t){return(Math.exp(t)-Math.exp(-t))/2})),r.cosh=f(Math.cosh,(function(t){return(Math.exp(t)+Math.exp(-t))/2})),r.lerp=function(t,r,n){return(1-n)*t+n*r},r.PI=Math.PI,r.ONE_OVER_PI=1/Math.PI,r.PI_OVER_TWO=Math.PI/2,r.PI_OVER_THREE=Math.PI/3,r.PI_OVER_FOUR=Math.PI/4,r.PI_OVER_SIX=Math.PI/6,r.THREE_PI_OVER_TWO=3*Math.PI/2,r.TWO_PI=2*Math.PI,r.ONE_OVER_TWO_PI=1/(2*Math.PI),r.RADIANS_PER_DEGREE=Math.PI/180,r.DEGREES_PER_RADIAN=180/Math.PI,r.RADIANS_PER_ARCSECOND=r.RADIANS_PER_DEGREE/3600,r.toRadians=function(t){if(!o(t))throw new n("degrees is required.");return t*r.RADIANS_PER_DEGREE},r.toDegrees=function(t){if(!o(t))throw new n("radians is required.");return t*r.DEGREES_PER_RADIAN},r.convertLongitudeRange=function(t){if(!o(t))throw new n("angle is required.");let e=r.TWO_PI,i=t-Math.floor(t/e)*e;return i<-Math.PI?i+e:i>=Math.PI?i-e:i},r.clampToLatitudeRange=function(t){if(!o(t))throw new n("angle is required.");return r.clamp(t,-1*r.PI_OVER_TWO,r.PI_OVER_TWO)},r.negativePiToPi=function(t){if(!o(t))throw new n("angle is required.");return t>=-r.PI&&t<=r.PI?t:r.zeroToTwoPi(t+r.PI)-r.PI},r.zeroToTwoPi=function(t){if(!o(t))throw new n("angle is required.");if(t>=0&&t<=r.TWO_PI)return t;let e=r.mod(t,r.TWO_PI);return Math.abs(e)<r.EPSILON14&&Math.abs(t)>r.EPSILON14?r.TWO_PI:e},r.mod=function(t,e){if(!o(t))throw new n("m is required.");if(!o(e))throw new n("n is required.");if(0===e)throw new n("divisor cannot be 0.");return r.sign(t)===r.sign(e)&&Math.abs(t)<Math.abs(e)?t:(t%e+e)%e},r.equalsEpsilon=function(t,r,e,i){if(!o(t))throw new n("left is required.");if(!o(r))throw new n("right is required.");e=f(e,0),i=f(i,e);let s=Math.abs(t-r);return s<=i||s<=e*Math.max(Math.abs(t),Math.abs(r))},r.lessThan=function(t,r,e){if(!o(t))throw new n("first is required.");if(!o(r))throw new n("second is required.");if(!o(e))throw new n("absoluteEpsilon is required.");return t-r<-e},r.lessThanOrEquals=function(t,r,e){if(!o(t))throw new n("first is required.");if(!o(r))throw new n("second is required.");if(!o(e))throw new n("absoluteEpsilon is required.");return t-r<e},r.greaterThan=function(t,r,e){if(!o(t))throw new n("first is required.");if(!o(r))throw new n("second is required.");if(!o(e))throw new n("absoluteEpsilon is required.");return t-r>e},r.greaterThanOrEquals=function(t,r,e){if(!o(t))throw new n("first is required.");if(!o(r))throw new n("second is required.");if(!o(e))throw new n("absoluteEpsilon is required.");return t-r>-e};var w=[1];r.factorial=function(t){if("number"!=typeof t||t<0)throw new n("A number greater than or equal to 0 is required.");let r=w.length;if(t>=r){let n=w[r-1];for(let e=r;e<=t;e++){let t=n*e;w.push(t),n=t}}return w[t]},r.incrementWrap=function(t,r,e){if(e=f(e,0),!o(t))throw new n("n is required.");if(r<=e)throw new n("maximumValue must be greater than minimumValue.");return++t>r&&(t=e),t},r.isPowerOfTwo=function(t){if("number"!=typeof t||t<0||t>4294967295)throw new n("A number between 0 and (2^32)-1 is required.");return 0!==t&&!(t&t-1)},r.nextPowerOfTwo=function(t){if("number"!=typeof t||t<0||t>2147483648)throw new n("A number between 0 and 2^31 is required.");return--t,t|=t>>1,t|=t>>2,t|=t>>4,t|=t>>8,t|=t>>16,++t},r.previousPowerOfTwo=function(t){if("number"!=typeof t||t<0||t>4294967295)throw new n("A number between 0 and (2^32)-1 is required.");return t|=t>>1,t|=t>>2,t|=t>>4,t|=t>>8,t|=t>>16,t=((t|=t>>32)>>>0)-(t>>>1)},r.clamp=function(t,r,n){return c.typeOf.number("value",t),c.typeOf.number("min",r),c.typeOf.number("max",n),t<r?r:t>n?n:t};var E=new m.default;r.setRandomNumberSeed=function(t){if(!o(t))throw new n("seed is required.");E=new m.default(t)},r.nextRandomNumber=function(){return E.random()},r.randomBetween=function(t,n){return r.nextRandomNumber()*(n-t)+t},r.acosClamped=function(t){if(!o(t))throw new n("value is required.");return Math.acos(r.clamp(t,-1,1))},r.asinClamped=function(t){if(!o(t))throw new n("value is required.");return Math.asin(r.clamp(t,-1,1))},r.chordLength=function(t,r){if(!o(t))throw new n("angle is required.");if(!o(r))throw new n("radius is required.");return 2*r*Math.sin(.5*t)},r.logBase=function(t,r){if(!o(t))throw new n("number is required.");if(!o(r))throw new n("base is required.");return Math.log(t)/Math.log(r)},r.cbrt=f(Math.cbrt,(function(t){let r=Math.pow(Math.abs(t),.3333333333333333);return t<0?-r:r})),r.log2=f(Math.log2,(function(t){return Math.log(t)*Math.LOG2E})),r.fog=function(t,r){let n=t*r;return 1-Math.exp(-n*n)},r.fastApproximateAtan=function(t){return c.typeOf.number("x",t),t*(-.1784*Math.abs(t)-.0663*t*t+1.0301)},r.fastApproximateAtan2=function(t,e){c.typeOf.number("x",t),c.typeOf.number("y",e);let i,o=Math.abs(t);i=Math.abs(e);let s=Math.max(o,i);i=Math.min(o,i);let h=i/s;if(isNaN(h))throw new n("either x or y must be nonzero");return o=r.fastApproximateAtan(h),o=Math.abs(e)>Math.abs(t)?r.PI_OVER_TWO-o:o,o=t<0?r.PI-o:o,o=e<0?-o:o,o};var A=r;export{A as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.120
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-FPT7TGTJ.js.LICENSE.txt */
|
|
2
|
+
import{a as st}from"./chunk-Q6IZOLLM.js";import{b as at,c as ht,d as nt}from"./chunk-CWBIOT2C.js";import{a as et}from"./chunk-I36V6CKP.js";import{a as h,b as tt,c as v,d as vt}from"./chunk-WG62ICZK.js";import{a as Y}from"./chunk-EEN7GMYN.js";import{a as xt}from"./chunk-SXYTVHGU.js";import{a as K}from"./chunk-KGKDCW56.js";import{b as C}from"./chunk-G4IO3CPJ.js";import{e as D}from"./chunk-GBRF7ES3.js";var ct={CLOCKWISE:xt.CW,COUNTER_CLOCKWISE:xt.CCW,validate:function(t){return t===ct.CLOCKWISE||t===ct.COUNTER_CLOCKWISE}},pt=Object.freeze(ct);function dt(t,e,n=2){let r,i,u,a=e&&e.length,l=a?e[0]*n:t.length,o=bt(t,0,l,n,!0),x=[];if(!o||o.next===o.prev)return x;if(a&&(o=It(t,e,o,n)),t.length>80*n){r=1/0,i=1/0;let e=-1/0,a=-1/0;for(let u=n;u<l;u+=n){let n=t[u],l=t[u+1];n<r&&(r=n),l<i&&(i=l),n>e&&(e=n),l>a&&(a=l)}u=Math.max(e-r,a-i),u=0!==u?32767/u:0}return rt(o,x,n,r,i,u,0),x}function bt(t,e,n,r,i){let u;if(i===jt(t,e,n,r)>0)for(let i=e;i<n;i+=r)u=wt(i/r|0,t[i],t[i+1],u);else for(let i=n-r;i>=e;i-=r)u=wt(i/r|0,t[i],t[i+1],u);return u&&ft(u,u.next)&&(ot(u),u=u.next),u}function N(t,e){if(!t)return t;e||(e=t);let n,r=t;do{if(n=!1,r.steiner||!ft(r,r.next)&&0!==b(r.prev,r,r.next))r=r.next;else{if(ot(r),r=e=r.prev,r===r.next)break;n=!0}}while(n||r!==e);return e}function rt(t,e,n,r,i,u,a){if(!t)return;!a&&u&&Nt(t,r,i,u);let l=t;for(;t.prev!==t.next;){let o=t.prev,x=t.next;if(u?Rt(t,r,i,u):Pt(t))e.push(o.i,t.i,x.i),ot(t),t=x.next,l=x.next;else if((t=x)===l){a?1===a?rt(t=zt(N(t),e),e,n,r,i,u,2):2===a&&Bt(t,e,n,r,i,u):rt(N(t),e,n,r,i,u,1);break}}}function Pt(t){let e=t.prev,n=t,r=t.next;if(b(e,n,r)>=0)return!1;let i=e.x,u=n.x,a=r.x,l=e.y,o=n.y,x=r.y,h=i<u?i<a?i:a:u<a?u:a,p=l<o?l<x?l:x:o<x?o:x,s=i>u?i>a?i:a:u>a?u:a,y=l>o?l>x?l:x:o>x?o:x,f=r.next;for(;f!==e;){if(f.x>=h&&f.x<=s&&f.y>=p&&f.y<=y&&V(i,l,u,o,a,x,f.x,f.y)&&b(f.prev,f,f.next)>=0)return!1;f=f.next}return!0}function Rt(t,e,n,r){let i=t.prev,u=t,a=t.next;if(b(i,u,a)>=0)return!1;let l=i.x,o=u.x,x=a.x,h=i.y,p=u.y,s=a.y,y=l<o?l<x?l:x:o<x?o:x,f=h<p?h<s?h:s:p<s?p:s,c=l>o?l>x?l:x:o>x?o:x,m=h>p?h>s?h:s:p>s?p:s,v=yt(y,f,e,n,r),d=yt(c,m,e,n,r),g=t.prevZ,C=t.nextZ;for(;g&&g.z>=v&&C&&C.z<=d;){if(g.x>=y&&g.x<=c&&g.y>=f&&g.y<=m&&g!==i&&g!==a&&V(l,h,o,p,x,s,g.x,g.y)&&b(g.prev,g,g.next)>=0||(g=g.prevZ,C.x>=y&&C.x<=c&&C.y>=f&&C.y<=m&&C!==i&&C!==a&&V(l,h,o,p,x,s,C.x,C.y)&&b(C.prev,C,C.next)>=0))return!1;C=C.nextZ}for(;g&&g.z>=v;){if(g.x>=y&&g.x<=c&&g.y>=f&&g.y<=m&&g!==i&&g!==a&&V(l,h,o,p,x,s,g.x,g.y)&&b(g.prev,g,g.next)>=0)return!1;g=g.prevZ}for(;C&&C.z<=d;){if(C.x>=y&&C.x<=c&&C.y>=f&&C.y<=m&&C!==i&&C!==a&&V(l,h,o,p,x,s,C.x,C.y)&&b(C.prev,C,C.next)>=0)return!1;C=C.nextZ}return!0}function zt(t,e){let n=t;do{let r=n.prev,i=n.next.next;!ft(r,i)&&St(r,n,n.next,i)&&it(r,i)&&it(i,r)&&(e.push(r.i,n.i,i.i),ot(n),ot(n.next),n=t=i),n=n.next}while(n!==t);return N(n)}function Bt(t,e,n,r,i,u){let a=t;do{let t=a.next.next;for(;t!==a.prev;){if(a.i!==t.i&&_t(a,t)){let l=At(a,t);return a=N(a,a.next),l=N(l,l.next),rt(a,e,n,r,i,u,0),void rt(l,e,n,r,i,u,0)}t=t.next}a=a.next}while(a!==t)}function It(t,e,n,r){let i=[];for(let n=0,u=e.length;n<u;n++){let a=bt(t,e[n]*r,n<u-1?e[n+1]*r:t.length,r,!1);a===a.next&&(a.steiner=!0),i.push(Ut(a))}i.sort(Wt);for(let t=0;t<i.length;t++)n=$t(i[t],n);return n}function Wt(t,e){return t.x-e.x}function $t(t,e){let n=Gt(t,e);if(!n)return e;let r=At(n,t);return N(r,r.next),N(n,n.next)}function Gt(t,e){let n,r=e,i=t.x,u=t.y,a=-1/0;do{if(u<=r.y&&u>=r.next.y&&r.next.y!==r.y){let t=r.x+(u-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(t<=i&&t>a&&(a=t,n=r.x<r.next.x?r:r.next,t===i))return n}r=r.next}while(r!==e);if(!n)return null;let l=n,o=n.x,x=n.y,h=1/0;r=n;do{if(i>=r.x&&r.x>=o&&i!==r.x&&V(u<x?i:a,u,o,x,u<x?a:i,u,r.x,r.y)){let e=Math.abs(u-r.y)/(i-r.x);it(r,t)&&(e<h||e===h&&(r.x>n.x||r.x===n.x&&Ht(n,r)))&&(n=r,h=e)}r=r.next}while(r!==l);return n}function Ht(t,e){return b(t.prev,t,e.prev)<0&&b(e.next,t,t.next)<0}function Nt(t,e,n,r){let i=t;do{0===i.z&&(i.z=yt(i.x,i.y,e,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,kt(i)}function kt(t){let e,n=1;do{let r,i=t;t=null;let u=null;for(e=0;i;){e++;let a=i,l=0;for(let t=0;t<n&&(l++,a=a.nextZ,a);t++);let o=n;for(;l>0||o>0&&a;)0!==l&&(0===o||!a||i.z<=a.z)?(r=i,i=i.nextZ,l--):(r=a,a=a.nextZ,o--),u?u.nextZ=r:t=r,r.prevZ=u,u=r;i=a}u.nextZ=null,n*=2}while(e>1);return t}function yt(t,e,n,r,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-n)*i|0)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-r)*i|0)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function Ut(t){let e=t,n=t;do{(e.x<n.x||e.x===n.x&&e.y<n.y)&&(n=e),e=e.next}while(e!==t);return n}function V(t,e,n,r,i,u,a,l){return(i-a)*(e-l)>=(t-a)*(u-l)&&(t-a)*(r-l)>=(n-a)*(e-l)&&(n-a)*(u-l)>=(i-a)*(r-l)}function _t(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!Kt(t,e)&&(it(t,e)&&it(e,t)&&Vt(t,e)&&(b(t.prev,t,e.prev)||b(t,e.prev,e))||ft(t,e)&&b(t.prev,t,t.next)>0&&b(e.prev,e,e.next)>0)}function b(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function ft(t,e){return t.x===e.x&&t.y===e.y}function St(t,e,n,r){let i=lt(b(t,e,n)),u=lt(b(t,e,r)),a=lt(b(n,r,t)),l=lt(b(n,r,e));return!!(i!==u&&a!==l||0===i&&ut(t,n,e)||0===u&&ut(t,r,e)||0===a&&ut(n,t,r)||0===l&&ut(n,e,r))}function ut(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function lt(t){return t>0?1:t<0?-1:0}function Kt(t,e){let n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&St(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}function it(t,e){return b(t.prev,t,t.next)<0?b(t,e,t.next)>=0&&b(t,t.prev,e)>=0:b(t,e,t.prev)<0||b(t,t.next,e)<0}function Vt(t,e){let n=t,r=!1,i=(t.x+e.x)/2,u=(t.y+e.y)/2;do{n.y>u!=n.next.y>u&&n.next.y!==n.y&&i<(n.next.x-n.x)*(u-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==t);return r}function At(t,e){let n=mt(t.i,t.x,t.y),r=mt(e.i,e.x,e.y),i=t.next,u=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,r.next=n,n.prev=r,u.next=r,r.prev=u,r}function wt(t,e,n,r){let i=mt(t,e,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function ot(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function mt(t,e,n){return{i:t,x:e,y:n,prev:null,next:null,z:0,prevZ:null,nextZ:null,steiner:!1}}function jt(t,e,n,r){let i=0;for(let u=e,a=n-r;u<n;u+=r)i+=(t[a]-t[u])*(t[u+1]+t[a+1]),a=u;return i}var qt=new h,Jt=new h,B={computeArea2D:function(t){C.defined("positions",t),C.typeOf.number.greaterThanOrEquals("positions.length",t.length,3);let e=t.length,n=0;for(let r=e-1,i=0;i<e;r=i++){let e=t[r],u=t[i];n+=e.x*u.y-u.x*e.y}return.5*n},computeWindingOrder2D:function(t){return B.computeArea2D(t)>0?pt.COUNTER_CLOCKWISE:pt.CLOCKWISE},triangulate:function(t,e){return C.defined("positions",t),dt(v.packArray(t),e,2)}},Tt=new h,Mt=new h,Zt=new h,Ct=new h,Et=new h,Ot=new h,R=new h,Lt=new v,Dt=new v,Ft=new v,j=new v;B.computeSubdivision=function(t,e,n,r,i){i=K(i,Y.RADIANS_PER_DEGREE);let u=D(r);C.typeOf.object("ellipsoid",t),C.defined("positions",e),C.defined("indices",n),C.typeOf.number.greaterThanOrEquals("indices.length",n.length,3),C.typeOf.number.equals("indices.length % 3","0",n.length%3,0),C.typeOf.number.greaterThan("granularity",i,0);let a,l=n.slice(0),o=e.length,x=new Array(3*o),p=new Array(2*o),s=0,y=0;for(a=0;a<o;a++){let t=e[a];if(x[s++]=t.x,x[s++]=t.y,x[s++]=t.z,u){let t=r[a];p[y++]=t.x,p[y++]=t.y}}let f=[],c={},m=t.maximumRadius,d=Y.chordLength(i,m),g=d*d;for(;l.length>0;){let t,e,n,r=l.pop(),i=l.pop(),o=l.pop(),s=h.fromArray(x,3*o,Tt),y=h.fromArray(x,3*i,Mt),d=h.fromArray(x,3*r,Zt);u&&(t=v.fromArray(p,2*o,Lt),e=v.fromArray(p,2*i,Dt),n=v.fromArray(p,2*r,Ft));let b,C,w,A=h.multiplyByScalar(h.normalize(s,Ct),m,Ct),S=h.multiplyByScalar(h.normalize(y,Et),m,Et),E=h.multiplyByScalar(h.normalize(d,Ot),m,Ot),O=h.magnitudeSquared(h.subtract(A,S,R)),Z=h.magnitudeSquared(h.subtract(S,E,R)),B=h.magnitudeSquared(h.subtract(E,A,R)),M=Math.max(O,Z,B);M>g?O===M?(b=`${Math.min(o,i)} ${Math.max(o,i)}`,a=c[b],D(a)||(C=h.add(s,y,R),h.multiplyByScalar(C,.5,C),x.push(C.x,C.y,C.z),a=x.length/3-1,c[b]=a,u&&(w=v.add(t,e,j),v.multiplyByScalar(w,.5,w),p.push(w.x,w.y))),l.push(o,a,r),l.push(a,i,r)):Z===M?(b=`${Math.min(i,r)} ${Math.max(i,r)}`,a=c[b],D(a)||(C=h.add(y,d,R),h.multiplyByScalar(C,.5,C),x.push(C.x,C.y,C.z),a=x.length/3-1,c[b]=a,u&&(w=v.add(e,n,j),v.multiplyByScalar(w,.5,w),p.push(w.x,w.y))),l.push(i,a,o),l.push(a,r,o)):B===M&&(b=`${Math.min(r,o)} ${Math.max(r,o)}`,a=c[b],D(a)||(C=h.add(d,s,R),h.multiplyByScalar(C,.5,C),x.push(C.x,C.y,C.z),a=x.length/3-1,c[b]=a,u&&(w=v.add(n,t,j),v.multiplyByScalar(w,.5,w),p.push(w.x,w.y))),l.push(r,a,i),l.push(a,o,i)):(f.push(o),f.push(i),f.push(r))}let b={attributes:{position:new nt({componentDatatype:et.DOUBLE,componentsPerAttribute:3,values:x})},indices:f,primitiveType:at.TRIANGLES};return u&&(b.attributes.st=new nt({componentDatatype:et.FLOAT,componentsPerAttribute:2,values:p})),new ht(b)};var Qt=new tt,Xt=new tt,Yt=new tt,gt=new tt;B.computeRhumbLineSubdivision=function(t,e,n,r,i){i=K(i,Y.RADIANS_PER_DEGREE);let u=D(r);C.typeOf.object("ellipsoid",t),C.defined("positions",e),C.defined("indices",n),C.typeOf.number.greaterThanOrEquals("indices.length",n.length,3),C.typeOf.number.equals("indices.length % 3","0",n.length%3,0),C.typeOf.number.greaterThan("granularity",i,0);let a,l=n.slice(0),o=e.length,x=new Array(3*o),p=new Array(2*o),s=0,y=0;for(a=0;a<o;a++){let t=e[a];if(x[s++]=t.x,x[s++]=t.y,x[s++]=t.z,u){let t=r[a];p[y++]=t.x,p[y++]=t.y}}let f=[],c={},m=t.maximumRadius,d=Y.chordLength(i,m),g=new st(void 0,void 0,t),b=new st(void 0,void 0,t),w=new st(void 0,void 0,t);for(;l.length>0;){let e,n,r,i=l.pop(),o=l.pop(),s=l.pop(),y=h.fromArray(x,3*s,Tt),m=h.fromArray(x,3*o,Mt),C=h.fromArray(x,3*i,Zt);u&&(e=v.fromArray(p,2*s,Lt),n=v.fromArray(p,2*o,Dt),r=v.fromArray(p,2*i,Ft));let A=t.cartesianToCartographic(y,Qt),S=t.cartesianToCartographic(m,Xt),E=t.cartesianToCartographic(C,Yt);g.setEndPoints(A,S);let O=g.surfaceDistance;b.setEndPoints(S,E);let Z=b.surfaceDistance;w.setEndPoints(E,A);let B,M,z,T,L,N=w.surfaceDistance,K=Math.max(O,Z,N);K>d?O===K?(B=`${Math.min(s,o)} ${Math.max(s,o)}`,a=c[B],D(a)||(M=g.interpolateUsingFraction(.5,gt),z=.5*(A.height+S.height),T=h.fromRadians(M.longitude,M.latitude,z,t,R),x.push(T.x,T.y,T.z),a=x.length/3-1,c[B]=a,u&&(L=v.add(e,n,j),v.multiplyByScalar(L,.5,L),p.push(L.x,L.y))),l.push(s,a,i),l.push(a,o,i)):Z===K?(B=`${Math.min(o,i)} ${Math.max(o,i)}`,a=c[B],D(a)||(M=b.interpolateUsingFraction(.5,gt),z=.5*(S.height+E.height),T=h.fromRadians(M.longitude,M.latitude,z,t,R),x.push(T.x,T.y,T.z),a=x.length/3-1,c[B]=a,u&&(L=v.add(n,r,j),v.multiplyByScalar(L,.5,L),p.push(L.x,L.y))),l.push(o,a,s),l.push(a,i,s)):N===K&&(B=`${Math.min(i,s)} ${Math.max(i,s)}`,a=c[B],D(a)||(M=w.interpolateUsingFraction(.5,gt),z=.5*(E.height+A.height),T=h.fromRadians(M.longitude,M.latitude,z,t,R),x.push(T.x,T.y,T.z),a=x.length/3-1,c[B]=a,u&&(L=v.add(r,e,j),v.multiplyByScalar(L,.5,L),p.push(L.x,L.y))),l.push(i,a,o),l.push(a,s,o)):(f.push(s),f.push(o),f.push(i))}let A={attributes:{position:new nt({componentDatatype:et.DOUBLE,componentsPerAttribute:3,values:x})},indices:f,primitiveType:at.TRIANGLES};return u&&(A.attributes.st=new nt({componentDatatype:et.FLOAT,componentsPerAttribute:2,values:p})),new ht(A)},B.scaleToGeodeticHeight=function(t,e,n,r){n=K(n,vt.default);let i=qt,u=Jt;if(e=K(e,0),r=K(r,!0),D(t)){let a=t.length;for(let l=0;l<a;l+=3)h.fromArray(t,l,u),r&&(u=n.scaleToGeodeticSurface(u,u)),0!==e&&(i=n.geodeticSurfaceNormal(u,i),h.multiplyByScalar(i,e,i),h.add(u,i,u)),t[l]=u.x,t[l+1]=u.y,t[l+2]=u.z}return t};var ge=B;export{pt as a,ge as b};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.120
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-FYZYSHA7.js.LICENSE.txt */
|
|
2
|
+
import{a as P}from"./chunk-CRU5R7HF.js";import{a as j,b as d}from"./chunk-WZ52TQTL.js";import{a as O}from"./chunk-5KPQNVA2.js";import{a as A,b as m,g as u}from"./chunk-SOWUYSYI.js";import{a as e,c as l,d as _}from"./chunk-WG62ICZK.js";import{a as g}from"./chunk-KGKDCW56.js";import{a as y,b as p}from"./chunk-G4IO3CPJ.js";import{e as r}from"./chunk-GBRF7ES3.js";var x=new A;function s(t,n){if(p.defined("origin",t),t=(n=g(n,_.default)).scaleToGeodeticSurface(t),!r(t))throw new y("origin must not be at the center of the ellipsoid.");let i=u.eastNorthUpToFixedFrame(t,n);this._ellipsoid=n,this._origin=t,this._xAxis=e.fromCartesian4(m.getColumn(i,0,x)),this._yAxis=e.fromCartesian4(m.getColumn(i,1,x));let o=e.fromCartesian4(m.getColumn(i,2,x));this._plane=O.fromPointNormal(t,o)}Object.defineProperties(s.prototype,{ellipsoid:{get:function(){return this._ellipsoid}},origin:{get:function(){return this._origin}},plane:{get:function(){return this._plane}},xAxis:{get:function(){return this._xAxis}},yAxis:{get:function(){return this._yAxis}},zAxis:{get:function(){return this._plane.normal}}});var C=new P;s.fromPoints=function(e,t){return p.defined("cartesians",e),new s(P.fromPoints(e,C).center,t)};var w=new j,h=new e;s.prototype.projectPointOntoPlane=function(t,n){p.defined("cartesian",t);let i=w;i.origin=t,e.normalize(t,i.direction);let o=d.rayPlane(i,this._plane,h);if(r(o)||(e.negate(i.direction,i.direction),o=d.rayPlane(i,this._plane,h)),r(o)){let t=e.subtract(o,this._origin,o),i=e.dot(this._xAxis,t),s=e.dot(this._yAxis,t);return r(n)?(n.x=i,n.y=s,n):new l(i,s)}},s.prototype.projectPointsOntoPlane=function(e,t){p.defined("cartesians",e),r(t)||(t=[]);let n=0,i=e.length;for(let o=0;o<i;o++){let i=this.projectPointOntoPlane(e[o],t[n]);r(i)&&(t[n]=i,n++)}return t.length=n,t},s.prototype.projectPointToNearestOnPlane=function(t,n){p.defined("cartesian",t),r(n)||(n=new l);let i=w;i.origin=t,e.clone(this._plane.normal,i.direction);let o=d.rayPlane(i,this._plane,h);r(o)||(e.negate(i.direction,i.direction),o=d.rayPlane(i,this._plane,h));let s=e.subtract(o,this._origin,o),a=e.dot(this._xAxis,s),c=e.dot(this._yAxis,s);return n.x=a,n.y=c,n},s.prototype.projectPointsToNearestOnPlane=function(e,t){p.defined("cartesians",e),r(t)||(t=[]);let n=e.length;t.length=n;for(let i=0;i<n;i++)t[i]=this.projectPointToNearestOnPlane(e[i],t[i]);return t};var T=new e;s.prototype.projectPointOntoEllipsoid=function(t,n){p.defined("cartesian",t),r(n)||(n=new e);let i=this._ellipsoid,o=this._origin,s=this._xAxis,a=this._yAxis,l=T;return e.multiplyByScalar(s,t.x,l),n=e.add(o,l,n),e.multiplyByScalar(a,t.y,l),e.add(n,l,n),i.scaleToGeocentricSurface(n,n),n},s.prototype.projectPointsOntoEllipsoid=function(e,t){p.defined("cartesians",e);let n=e.length;r(t)?t.length=n:t=new Array(n);for(let i=0;i<n;++i)t[i]=this.projectPointOntoEllipsoid(e[i],t[i]);return t};var M=s;export{M as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.120
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-G2BB42Z6.js.LICENSE.txt */
|
|
2
|
+
import{a as b}from"./chunk-6GG6EJBW.js";import{a as u}from"./chunk-TXLODGLR.js";import{a as O}from"./chunk-RHEGXTJ5.js";import{b as w,c as h,d as x}from"./chunk-CWBIOT2C.js";import{d}from"./chunk-PPN6SLYU.js";import{a as y}from"./chunk-I36V6CKP.js";import{a as i}from"./chunk-WG62ICZK.js";import{a as p}from"./chunk-KGKDCW56.js";import{a as z,b as c}from"./chunk-G4IO3CPJ.js";import{e as A}from"./chunk-GBRF7ES3.js";var D=new i;function f(t){let e=(t=p(t,p.EMPTY_OBJECT)).minimum,n=t.maximum;if(c.typeOf.object("min",e),c.typeOf.object("max",n),A(t.offsetAttribute)&&t.offsetAttribute===b.TOP)throw new z("GeometryOffsetAttribute.TOP is not a supported options.offsetAttribute for this geometry.");let r=p(t.vertexFormat,u.DEFAULT);this._minimum=i.clone(e),this._maximum=i.clone(n),this._vertexFormat=r,this._offsetAttribute=t.offsetAttribute,this._workerName="createBoxGeometry"}f.fromDimensions=function(t){let e=(t=p(t,p.EMPTY_OBJECT)).dimensions;c.typeOf.object("dimensions",e),c.typeOf.number.greaterThanOrEquals("dimensions.x",e.x,0),c.typeOf.number.greaterThanOrEquals("dimensions.y",e.y,0),c.typeOf.number.greaterThanOrEquals("dimensions.z",e.z,0);let n=i.multiplyByScalar(e,.5,new i);return new f({minimum:i.negate(n,new i),maximum:n,vertexFormat:t.vertexFormat,offsetAttribute:t.offsetAttribute})},f.fromAxisAlignedBoundingBox=function(t){return c.typeOf.object("boundingBox",t),new f({minimum:t.minimum,maximum:t.maximum})},f.packedLength=2*i.packedLength+u.packedLength+1,f.pack=function(t,e,n){return c.typeOf.object("value",t),c.defined("array",e),n=p(n,0),i.pack(t._minimum,e,n),i.pack(t._maximum,e,n+i.packedLength),u.pack(t._vertexFormat,e,n+2*i.packedLength),e[n+2*i.packedLength+u.packedLength]=p(t._offsetAttribute,-1),e};var l,_=new i,g=new i,k=new u,F={minimum:_,maximum:g,vertexFormat:k,offsetAttribute:void 0};f.unpack=function(t,e,n){c.defined("array",t),e=p(e,0);let r=i.unpack(t,e,_),o=i.unpack(t,e+i.packedLength,g),a=u.unpack(t,e+2*i.packedLength,k),m=t[e+2*i.packedLength+u.packedLength];return A(n)?(n._minimum=i.clone(r,n._minimum),n._maximum=i.clone(o,n._maximum),n._vertexFormat=u.clone(a,n._vertexFormat),n._offsetAttribute=-1===m?void 0:m,n):(F.offsetAttribute=-1===m?void 0:m,new f(F))},f.createGeometry=function(t){let e=t._minimum,n=t._maximum,r=t._vertexFormat;if(i.equals(e,n))return;let o,a,m=new O;if(r.position&&(r.st||r.normal||r.tangent||r.bitangent)){if(r.position&&(a=new Float64Array(72),a[0]=e.x,a[1]=e.y,a[2]=n.z,a[3]=n.x,a[4]=e.y,a[5]=n.z,a[6]=n.x,a[7]=n.y,a[8]=n.z,a[9]=e.x,a[10]=n.y,a[11]=n.z,a[12]=e.x,a[13]=e.y,a[14]=e.z,a[15]=n.x,a[16]=e.y,a[17]=e.z,a[18]=n.x,a[19]=n.y,a[20]=e.z,a[21]=e.x,a[22]=n.y,a[23]=e.z,a[24]=n.x,a[25]=e.y,a[26]=e.z,a[27]=n.x,a[28]=n.y,a[29]=e.z,a[30]=n.x,a[31]=n.y,a[32]=n.z,a[33]=n.x,a[34]=e.y,a[35]=n.z,a[36]=e.x,a[37]=e.y,a[38]=e.z,a[39]=e.x,a[40]=n.y,a[41]=e.z,a[42]=e.x,a[43]=n.y,a[44]=n.z,a[45]=e.x,a[46]=e.y,a[47]=n.z,a[48]=e.x,a[49]=n.y,a[50]=e.z,a[51]=n.x,a[52]=n.y,a[53]=e.z,a[54]=n.x,a[55]=n.y,a[56]=n.z,a[57]=e.x,a[58]=n.y,a[59]=n.z,a[60]=e.x,a[61]=e.y,a[62]=e.z,a[63]=n.x,a[64]=e.y,a[65]=e.z,a[66]=n.x,a[67]=e.y,a[68]=n.z,a[69]=e.x,a[70]=e.y,a[71]=n.z,m.position=new x({componentDatatype:y.DOUBLE,componentsPerAttribute:3,values:a})),r.normal){let t=new Float32Array(72);t[0]=0,t[1]=0,t[2]=1,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=1,t[9]=0,t[10]=0,t[11]=1,t[12]=0,t[13]=0,t[14]=-1,t[15]=0,t[16]=0,t[17]=-1,t[18]=0,t[19]=0,t[20]=-1,t[21]=0,t[22]=0,t[23]=-1,t[24]=1,t[25]=0,t[26]=0,t[27]=1,t[28]=0,t[29]=0,t[30]=1,t[31]=0,t[32]=0,t[33]=1,t[34]=0,t[35]=0,t[36]=-1,t[37]=0,t[38]=0,t[39]=-1,t[40]=0,t[41]=0,t[42]=-1,t[43]=0,t[44]=0,t[45]=-1,t[46]=0,t[47]=0,t[48]=0,t[49]=1,t[50]=0,t[51]=0,t[52]=1,t[53]=0,t[54]=0,t[55]=1,t[56]=0,t[57]=0,t[58]=1,t[59]=0,t[60]=0,t[61]=-1,t[62]=0,t[63]=0,t[64]=-1,t[65]=0,t[66]=0,t[67]=-1,t[68]=0,t[69]=0,t[70]=-1,t[71]=0,m.normal=new x({componentDatatype:y.FLOAT,componentsPerAttribute:3,values:t})}if(r.st){let t=new Float32Array(48);t[0]=0,t[1]=0,t[2]=1,t[3]=0,t[4]=1,t[5]=1,t[6]=0,t[7]=1,t[8]=1,t[9]=0,t[10]=0,t[11]=0,t[12]=0,t[13]=1,t[14]=1,t[15]=1,t[16]=0,t[17]=0,t[18]=1,t[19]=0,t[20]=1,t[21]=1,t[22]=0,t[23]=1,t[24]=1,t[25]=0,t[26]=0,t[27]=0,t[28]=0,t[29]=1,t[30]=1,t[31]=1,t[32]=1,t[33]=0,t[34]=0,t[35]=0,t[36]=0,t[37]=1,t[38]=1,t[39]=1,t[40]=0,t[41]=0,t[42]=1,t[43]=0,t[44]=1,t[45]=1,t[46]=0,t[47]=1,m.st=new x({componentDatatype:y.FLOAT,componentsPerAttribute:2,values:t})}if(r.tangent){let t=new Float32Array(72);t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t[6]=1,t[7]=0,t[8]=0,t[9]=1,t[10]=0,t[11]=0,t[12]=-1,t[13]=0,t[14]=0,t[15]=-1,t[16]=0,t[17]=0,t[18]=-1,t[19]=0,t[20]=0,t[21]=-1,t[22]=0,t[23]=0,t[24]=0,t[25]=1,t[26]=0,t[27]=0,t[28]=1,t[29]=0,t[30]=0,t[31]=1,t[32]=0,t[33]=0,t[34]=1,t[35]=0,t[36]=0,t[37]=-1,t[38]=0,t[39]=0,t[40]=-1,t[41]=0,t[42]=0,t[43]=-1,t[44]=0,t[45]=0,t[46]=-1,t[47]=0,t[48]=-1,t[49]=0,t[50]=0,t[51]=-1,t[52]=0,t[53]=0,t[54]=-1,t[55]=0,t[56]=0,t[57]=-1,t[58]=0,t[59]=0,t[60]=1,t[61]=0,t[62]=0,t[63]=1,t[64]=0,t[65]=0,t[66]=1,t[67]=0,t[68]=0,t[69]=1,t[70]=0,t[71]=0,m.tangent=new x({componentDatatype:y.FLOAT,componentsPerAttribute:3,values:t})}if(r.bitangent){let t=new Float32Array(72);t[0]=0,t[1]=1,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=1,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=1,t[14]=0,t[15]=0,t[16]=1,t[17]=0,t[18]=0,t[19]=1,t[20]=0,t[21]=0,t[22]=1,t[23]=0,t[24]=0,t[25]=0,t[26]=1,t[27]=0,t[28]=0,t[29]=1,t[30]=0,t[31]=0,t[32]=1,t[33]=0,t[34]=0,t[35]=1,t[36]=0,t[37]=0,t[38]=1,t[39]=0,t[40]=0,t[41]=1,t[42]=0,t[43]=0,t[44]=1,t[45]=0,t[46]=0,t[47]=1,t[48]=0,t[49]=0,t[50]=1,t[51]=0,t[52]=0,t[53]=1,t[54]=0,t[55]=0,t[56]=1,t[57]=0,t[58]=0,t[59]=1,t[60]=0,t[61]=0,t[62]=1,t[63]=0,t[64]=0,t[65]=1,t[66]=0,t[67]=0,t[68]=1,t[69]=0,t[70]=0,t[71]=1,m.bitangent=new x({componentDatatype:y.FLOAT,componentsPerAttribute:3,values:t})}o=new Uint16Array(36),o[0]=0,o[1]=1,o[2]=2,o[3]=0,o[4]=2,o[5]=3,o[6]=6,o[7]=5,o[8]=4,o[9]=7,o[10]=6,o[11]=4,o[12]=8,o[13]=9,o[14]=10,o[15]=8,o[16]=10,o[17]=11,o[18]=14,o[19]=13,o[20]=12,o[21]=15,o[22]=14,o[23]=12,o[24]=18,o[25]=17,o[26]=16,o[27]=19,o[28]=18,o[29]=16,o[30]=20,o[31]=21,o[32]=22,o[33]=20,o[34]=22,o[35]=23}else a=new Float64Array(24),a[0]=e.x,a[1]=e.y,a[2]=e.z,a[3]=n.x,a[4]=e.y,a[5]=e.z,a[6]=n.x,a[7]=n.y,a[8]=e.z,a[9]=e.x,a[10]=n.y,a[11]=e.z,a[12]=e.x,a[13]=e.y,a[14]=n.z,a[15]=n.x,a[16]=e.y,a[17]=n.z,a[18]=n.x,a[19]=n.y,a[20]=n.z,a[21]=e.x,a[22]=n.y,a[23]=n.z,m.position=new x({componentDatatype:y.DOUBLE,componentsPerAttribute:3,values:a}),o=new Uint16Array(36),o[0]=4,o[1]=5,o[2]=6,o[3]=4,o[4]=6,o[5]=7,o[6]=1,o[7]=0,o[8]=3,o[9]=1,o[10]=3,o[11]=2,o[12]=1,o[13]=6,o[14]=5,o[15]=1,o[16]=2,o[17]=6,o[18]=2,o[19]=3,o[20]=7,o[21]=2,o[22]=7,o[23]=6,o[24]=3,o[25]=0,o[26]=4,o[27]=3,o[28]=4,o[29]=7,o[30]=0,o[31]=1,o[32]=5,o[33]=0,o[34]=5,o[35]=4;let u=i.subtract(n,e,D),s=.5*i.magnitude(u);if(A(t._offsetAttribute)){let e=a.length,n=t._offsetAttribute===b.NONE?0:1,i=new Uint8Array(e/3).fill(n);m.applyOffset=new x({componentDatatype:y.UNSIGNED_BYTE,componentsPerAttribute:1,values:i})}return new h({attributes:m,indices:o,primitiveType:w.TRIANGLES,boundingSphere:new d(i.ZERO,s),offsetAttribute:t._offsetAttribute})},f.getUnitBox=function(){return A(l)||(l=f.createGeometry(f.fromDimensions({dimensions:new i(1,1,1),vertexFormat:u.POSITION_ONLY}))),l};var R=f;export{R as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.120
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-G4IO3CPJ.js.LICENSE.txt */
|
|
2
|
+
import{e as u}from"./chunk-GBRF7ES3.js";function f(t){let e;this.name="DeveloperError",this.message=t;try{throw new Error}catch(t){e=t.stack}this.stack=e}u(Object.create)&&(f.prototype=Object.create(Error.prototype),f.prototype.constructor=f),f.prototype.toString=function(){let t=`${this.name}: ${this.message}`;return u(this.stack)&&(t+=`\n${this.stack.toString()}`),t},f.throwInstantiationError=function(){throw new f("This function defines an interface and should not be called directly.")};var r=f,n={};function c(t){return`${t} is required, actual value was undefined`}function a(t,e,n){return`Expected ${n} to be typeof ${e}, actual typeof was ${t}`}n.typeOf={},n.defined=function(t,e){if(!u(e))throw new r(c(t))},n.typeOf.func=function(t,e){if("function"!=typeof e)throw new r(a(typeof e,"function",t))},n.typeOf.string=function(t,e){if("string"!=typeof e)throw new r(a(typeof e,"string",t))},n.typeOf.number=function(t,e){if("number"!=typeof e)throw new r(a(typeof e,"number",t))},n.typeOf.number.lessThan=function(t,e,o){if(n.typeOf.number(t,e),e>=o)throw new r(`Expected ${t} to be less than ${o}, actual value was ${e}`)},n.typeOf.number.lessThanOrEquals=function(t,e,o){if(n.typeOf.number(t,e),e>o)throw new r(`Expected ${t} to be less than or equal to ${o}, actual value was ${e}`)},n.typeOf.number.greaterThan=function(t,e,o){if(n.typeOf.number(t,e),e<=o)throw new r(`Expected ${t} to be greater than ${o}, actual value was ${e}`)},n.typeOf.number.greaterThanOrEquals=function(t,e,o){if(n.typeOf.number(t,e),e<o)throw new r(`Expected ${t} to be greater than or equal to ${o}, actual value was ${e}`)},n.typeOf.object=function(t,e){if("object"!=typeof e)throw new r(a(typeof e,"object",t))},n.typeOf.bool=function(t,e){if("boolean"!=typeof e)throw new r(a(typeof e,"boolean",t))},n.typeOf.bigint=function(t,e){if("bigint"!=typeof e)throw new r(a(typeof e,"bigint",t))},n.typeOf.number.equals=function(t,e,o,a){if(n.typeOf.number(t,o),n.typeOf.number(e,a),o!==a)throw new r(`${t} must be equal to ${e}, the actual values are ${o} and ${a}`)};var l=n;export{r as a,l as b};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.120
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-G6QT7N47.js.LICENSE.txt */
|
|
2
|
+
import{a as _}from"./chunk-T52RL3ZJ.js";import{a as te}from"./chunk-FYZYSHA7.js";import{a as fe,b as j,f as Z,g as me}from"./chunk-SOWUYSYI.js";import{a as e,b as ie,c as ee,e as O}from"./chunk-WG62ICZK.js";import{a as Q}from"./chunk-EEN7GMYN.js";import{a as se}from"./chunk-KGKDCW56.js";import{a as le}from"./chunk-G4IO3CPJ.js";import{e as $}from"./chunk-GBRF7ES3.js";var Se={ROUNDED:0,MITERED:1,BEVELED:2},G=Object.freeze(Se),ue={};function P(e,t){if(!$(e))throw new le("identifier is required.");$(ue[e])||(ue[e]=!0,console.warn(se(t,e)))}P.geometryOutlines="Entity geometry outlines are unsupported on terrain. Outlines will be disabled. To enable outlines, disable geometry terrain clamping by explicitly setting height to 0.",P.geometryZIndex="Entity geometry with zIndex are unsupported when height or extrudedHeight are defined. zIndex will be ignored",P.geometryHeightReference="Entity corridor, ellipse, polygon or rectangle with heightReference must also have a defined height. heightReference will be ignored",P.geometryExtrudedHeightReference="Entity corridor, ellipse, polygon or rectangle with extrudedHeightReference must also have a defined extrudedHeight. extrudedHeightReference will be ignored";var he=P,w=[new e,new e],Te=new e,Be=new e,Ce=new e,ze=new e,Ae=new e,be=new e,Oe=new e,ve=new e,De=new e,I=new e,W=new e,R={},re=new ie;function je(e,t){let n=new Array(e.length);for(let r=0;r<e.length;r++){let o=e[r];re=t.cartesianToCartographic(o,re),n[r]=re.height,e[r]=t.scaleToGeodeticSurface(o,o)}return n}function ne(t,n,r,o){let a,l=t[0],i=t[1],c=e.angleBetween(l,i),s=Math.ceil(c/o),u=new Array(s);if(n===r){for(a=0;a<s;a++)u[a]=n;return u.push(r),u}let d=(r-n)/s;for(a=1;a<s;a++){let e=n+a*d;u[a]=e}return u[0]=n,u.push(r),u}var X=new e,Y=new e;function He(t,n,r,o){let a=new te(r,o),l=a.projectPointOntoPlane(e.add(r,t,X),X),i=a.projectPointOntoPlane(e.add(r,n,Y),Y),c=ee.angleBetween(l,i);return i.x*l.y-i.y*l.x>=0?-c:c}var Me=new e(-1,0,0),H=new j,Ve=new j,oe=new O,Ne=O.IDENTITY.clone(),Fe=new e,Ge=new fe,de=new e;function v(t,n,r,o,a,l,i,c){let s=Fe,u=Ge;H=me.eastNorthUpToFixedFrame(t,a,H),s=j.multiplyByPointAsVector(H,Me,s),s=e.normalize(s,s);let d=He(s,n,t,a);oe=O.fromRotationZ(d,oe),de.z=l,H=j.multiplyTransformation(H,j.fromRotationTranslation(oe,de,Ve),H);let w=Ne;w[0]=i;for(let t=0;t<c;t++)for(let t=0;t<r.length;t+=3)u=e.fromArray(r,t,u),u=O.multiplyByVector(w,u,u),u=j.multiplyByPoint(H,u,u),o.push(u.x,u.y,u.z);return o}var Ie=new e;function ce(t,n,r,o,a,l,i){for(let c=0;c<t.length;c+=3){o=v(e.fromArray(t,c,Ie),n,r,o,a,l[c/3],i,1)}return o}function Le(e,t){let n=e.length,r=new Array(6*n),o=0,a=t.x+t.width/2,l=t.y+t.height/2,i=e[0];r[o++]=i.x-a,r[o++]=0,r[o++]=i.y-l;for(let t=1;t<n;t++){i=e[t];let n=i.x-a,c=i.y-l;r[o++]=n,r[o++]=0,r[o++]=c,r[o++]=n,r[o++]=0,r[o++]=c}return i=e[0],r[o++]=i.x-a,r[o++]=0,r[o++]=i.y-l,r}function ge(e,t){let n=e.length,r=new Array(3*n),o=0,a=t.x+t.width/2,l=t.y+t.height/2;for(let t=0;t<n;t++)r[o++]=e[t].x-a,r[o++]=0,r[o++]=e[t].y-l;return r}var ye=new Z,we=new e,pe=new O;function xe(t,n,r,o,a,l,i,c,s,u){let d,w,g,m=e.angleBetween(e.subtract(n,t,I),e.subtract(r,t,W)),h=o===G.BEVELED?0:Math.ceil(m/Q.toRadians(5));if(d=a?O.fromQuaternion(Z.fromAxisAngle(e.negate(t,I),m/(h+1),ye),pe):O.fromQuaternion(Z.fromAxisAngle(t,m/(h+1),ye),pe),n=e.clone(n,we),h>0){let r=u?2:1;for(let o=0;o<h;o++)n=O.multiplyByVector(d,n,n),w=e.subtract(n,t,I),w=e.normalize(w,w),a||(w=e.negate(w,w)),g=l.scaleToGeodeticSurface(n,W),i=v(g,w,c,i,l,s,1,r)}else w=e.subtract(n,t,I),w=e.normalize(w,w),a||(w=e.negate(w,w)),g=l.scaleToGeodeticSurface(n,W),i=v(g,w,c,i,l,s,1,1),r=e.clone(r,we),w=e.subtract(r,t,I),w=e.normalize(w,w),a||(w=e.negate(w,w)),g=l.scaleToGeodeticSurface(r,W),i=v(g,w,c,i,l,s,1,1);return i}R.removeDuplicatesFromShape=function(e){let t=e.length,n=[];for(let r=t-1,o=0;o<t;r=o++){let t=e[r],a=e[o];ee.equals(t,a)||n.push(a)}return n},R.angleIsGreaterThanPi=function(t,n,r,o){let a=new te(r,o),l=a.projectPointOntoPlane(e.add(r,t,X),X),i=a.projectPointOntoPlane(e.add(r,n,Y),Y);return i.x*l.y-i.y*l.x>=0};var qe=new e,Pe=new e;R.computePositions=function(t,n,r,o,a){let l=o._ellipsoid,i=je(t,l),c=o._granularity,s=o._cornerType,u=a?Le(n,r):ge(n,r),d=a?ge(n,r):void 0,g=r.height/2,m=r.width/2,h=t.length,y=[],f=a?[]:void 0,p=Te,x=Be,E=Ce,b=ze,O=Ae,P=be,j=Oe,B=ve,S=De,z=t[0],A=t[1];b=l.geodeticSurfaceNormal(z,b),p=e.subtract(A,z,p),p=e.normalize(p,p),B=e.cross(b,p,B),B=e.normalize(B,B);let T,H,D=i[0],N=i[1];a&&(f=v(z,B,d,f,l,D+g,1,1)),S=e.clone(z,S),z=A,x=e.negate(p,x);for(let n=1;n<h-1;n++){let r=a?2:1;if(A=t[n+1],z.equals(A)){he("Positions are too close and are considered equivalent with rounding error.");continue}p=e.subtract(A,z,p),p=e.normalize(p,p),E=e.add(p,x,E),E=e.normalize(E,E),b=l.geodeticSurfaceNormal(z,b);let o=e.multiplyByScalar(b,e.dot(p,b),qe);e.subtract(p,o,o),e.normalize(o,o);let d=e.multiplyByScalar(b,e.dot(x,b),Pe);if(e.subtract(x,d,d),e.normalize(d,d),Q.equalsEpsilon(Math.abs(e.dot(o,d)),1,Q.EPSILON7))y=v(S,B,u,y,l,D+g,1,1),S=z;else{E=e.cross(E,b,E),E=e.cross(b,E,E),E=e.normalize(E,E);let t=1/Math.max(.25,e.magnitude(e.cross(E,x,I))),n=R.angleIsGreaterThanPi(p,x,z,l);n?(O=e.add(z,e.multiplyByScalar(E,t*m,E),O),P=e.add(O,e.multiplyByScalar(B,m,P),P),w[0]=e.clone(S,w[0]),w[1]=e.clone(P,w[1]),T=ne(w,D+g,N+g,c),H=_.generateArc({positions:w,granularity:c,ellipsoid:l}),y=ce(H,B,u,y,l,T,1),B=e.cross(b,p,B),B=e.normalize(B,B),j=e.add(O,e.multiplyByScalar(B,m,j),j),s===G.ROUNDED||s===G.BEVELED?xe(O,P,j,s,n,l,y,u,N+g,a):(E=e.negate(E,E),y=v(z,E,u,y,l,N+g,t,r)),S=e.clone(j,S)):(O=e.add(z,e.multiplyByScalar(E,t*m,E),O),P=e.add(O,e.multiplyByScalar(B,-m,P),P),w[0]=e.clone(S,w[0]),w[1]=e.clone(P,w[1]),T=ne(w,D+g,N+g,c),H=_.generateArc({positions:w,granularity:c,ellipsoid:l}),y=ce(H,B,u,y,l,T,1),B=e.cross(b,p,B),B=e.normalize(B,B),j=e.add(O,e.multiplyByScalar(B,-m,j),j),s===G.ROUNDED||s===G.BEVELED?xe(O,P,j,s,n,l,y,u,N+g,a):y=v(z,E,u,y,l,N+g,t,r),S=e.clone(j,S)),x=e.negate(p,x)}D=N,N=i[n+1],z=A}w[0]=e.clone(S,w[0]),w[1]=e.clone(z,w[1]),T=ne(w,D+g,N+g,c),H=_.generateArc({positions:w,granularity:c,ellipsoid:l}),y=ce(H,B,u,y,l,T,1),a&&(f=v(z,B,d,f,l,N+g,1,1)),h=y.length;let Y=a?h+f.length:h,V=new Float64Array(Y);return V.set(y),a&&V.set(f,h),V};var lt=R;export{G as a,he as b,lt as c};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.120
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-GBRF7ES3.js.LICENSE.txt */
|
|
2
|
+
var i=Object.create,u=Object.defineProperty,r=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,o=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,a=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):e)((function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')})),b=e=>r=>{var t=e[r];if(t)return t();throw new Error("Module not found in bundle: "+r)},g=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),p=(e,t,o,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let p of l(t))!c.call(e,p)&&p!==o&&u(e,p,{get:()=>t[p],enumerable:!(n=r(t,p))||n.enumerable});return e},h=(e,r,t)=>(t=null!=e?i(o(e)):{},p(!r&&e&&e.__esModule?t:u(t,"default",{value:e,enumerable:!0}),e));function x(e){return null!=e}var k=x;export{a,b,g as c,h as d,k as e};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.120
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-GI7IUZK6.js.LICENSE.txt */
|
|
2
|
+
import{a as et}from"./chunk-OKAWXMC7.js";import{a as jt}from"./chunk-AXCXHIZO.js";import{b as Lt}from"./chunk-WZ52TQTL.js";import{a as Et}from"./chunk-5KPQNVA2.js";import{a as j}from"./chunk-DBOVA5XH.js";import{a as mt,b as D,c as B,d as U}from"./chunk-CWBIOT2C.js";import{a as _t,b as Ut,d as rt}from"./chunk-PPN6SLYU.js";import{a as dt,b as H}from"./chunk-SOWUYSYI.js";import{a as k}from"./chunk-I36V6CKP.js";import{a as r,b as Mt,c as R,e as Ot}from"./chunk-WG62ICZK.js";import{a as N}from"./chunk-EEN7GMYN.js";import{a as K}from"./chunk-KGKDCW56.js";import{a as I,b as pt}from"./chunk-G4IO3CPJ.js";import{e as f}from"./chunk-GBRF7ES3.js";var Yt=new r,Zt=new r,Xt=new r;function pe(e,t,i,n,o){let s,a,u,l,p,c,m,y;if(pt.defined("point",e),pt.defined("p0",t),pt.defined("p1",i),pt.defined("p2",n),f(o)||(o=new r),f(t.z)){if(r.equalsEpsilon(e,t,N.EPSILON14))return r.clone(r.UNIT_X,o);if(r.equalsEpsilon(e,i,N.EPSILON14))return r.clone(r.UNIT_Y,o);if(r.equalsEpsilon(e,n,N.EPSILON14))return r.clone(r.UNIT_Z,o);s=r.subtract(i,t,Yt),a=r.subtract(n,t,Zt),u=r.subtract(e,t,Xt),l=r.dot(s,s),p=r.dot(s,a),c=r.dot(s,u),m=r.dot(a,a),y=r.dot(a,u)}else{if(R.equalsEpsilon(e,t,N.EPSILON14))return r.clone(r.UNIT_X,o);if(R.equalsEpsilon(e,i,N.EPSILON14))return r.clone(r.UNIT_Y,o);if(R.equalsEpsilon(e,n,N.EPSILON14))return r.clone(r.UNIT_Z,o);s=R.subtract(i,t,Yt),a=R.subtract(n,t,Zt),u=R.subtract(e,t,Xt),l=R.dot(s,s),p=R.dot(s,a),c=R.dot(s,u),m=R.dot(a,a),y=R.dot(a,u)}o.y=m*c-p*y,o.z=l*y-p*c;let h=l*m-p*p;if(0!==h)return o.y/=h,o.z/=h,o.x=1-o.y-o.z,o}var Ht=pe,Nt={calculateACMR:function(e){let t=(e=K(e,K.EMPTY_OBJECT)).indices,r=e.maximumIndex,i=K(e.cacheSize,24);if(!f(t))throw new I("indices is required.");let n=t.length;if(n<3||n%3!=0)throw new I("indices length must be a multiple of three.");if(r<=0)throw new I("maximumIndex must be greater than zero.");if(i<3)throw new I("cacheSize must be greater than two.");if(!f(r)){r=0;let e=0,i=t[e];for(;e<n;)i>r&&(r=i),++e,i=t[e]}let o=[];for(let e=0;e<r+1;e++)o[e]=0;let s=i+1;for(let e=0;e<n;++e)s-o[t[e]]>i&&(o[t[e]]=s,++s);return(s-i+1)/(n/3)}};Nt.tipsify=function(e){let t,r=(e=K(e,K.EMPTY_OBJECT)).indices,i=e.maximumIndex,n=K(e.cacheSize,24);function o(e,r,i,n,o,s,a){let u,l=-1,f=-1,p=0;for(;p<i.length;){let e=i[p];n[e].numLiveTriangles&&(u=0,o-n[e].timeStamp+2*n[e].numLiveTriangles<=r&&(u=o-n[e].timeStamp),(u>f||-1===f)&&(f=u,l=e)),++p}return-1===l?function(e,r,i,n){for(;r.length>=1;){let t=r[r.length-1];if(r.splice(r.length-1,1),e[t].numLiveTriangles>0)return t}for(;t<n;){if(e[t].numLiveTriangles>0)return++t,t-1;++t}return-1}(n,s,0,a):l}if(!f(r))throw new I("indices is required.");let s=r.length;if(s<3||s%3!=0)throw new I("indices length must be a multiple of three.");if(i<=0)throw new I("maximumIndex must be greater than zero.");if(n<3)throw new I("cacheSize must be greater than two.");let a=0,u=0,l=r[u],p=s;if(f(i))a=i+1;else{for(;u<p;)l>a&&(a=l),++u,l=r[u];if(-1===a)return 0;++a}let c,m=[];for(c=0;c<a;c++)m[c]={numLiveTriangles:0,timeStamp:0,vertexTriangles:[]};u=0;let y=0;for(;u<p;)m[r[u]].vertexTriangles.push(y),++m[r[u]].numLiveTriangles,m[r[u+1]].vertexTriangles.push(y),++m[r[u+1]].numLiveTriangles,m[r[u+2]].vertexTriangles.push(y),++m[r[u+2]].numLiveTriangles,++y,u+=3;let h=0,d=n+1;t=1;let v,b,w,g,T=[],A=[],N=0,S=[],x=s/3,P=[];for(c=0;c<x;c++)P[c]=!1;for(;-1!==h;){T=[],b=m[h],g=b.vertexTriangles.length;for(let e=0;e<g;++e)if(y=b.vertexTriangles[e],!P[y]){P[y]=!0,u=y+y+y;for(let e=0;e<3;++e)w=r[u],T.push(w),A.push(w),S[N]=w,++N,v=m[w],--v.numLiveTriangles,d-v.timeStamp>n&&(v.timeStamp=d,++d),++u}h=o(0,n,T,m,d,A,a)}return S};var Wt=Nt,F={};function St(e,t,r,i,n){e[t++]=r,e[t++]=i,e[t++]=i,e[t++]=n,e[t++]=n,e[t]=r}function de(e){let t=e.length,r=t/3*6,i=j.createTypedArray(t,r),n=0;for(let r=0;r<t;r+=3,n+=6)St(i,n,e[r],e[r+1],e[r+2]);return i}function me(e){let t=e.length;if(t>=3){let r=6*(t-2),i=j.createTypedArray(t,r);St(i,0,e[0],e[1],e[2]);let n=6;for(let r=3;r<t;++r,n+=6)St(i,n,e[r-1],e[r],e[r-2]);return i}return new Uint16Array}function he(e){if(e.length>0){let t=e.length-1,r=6*(t-1),i=j.createTypedArray(t,r),n=e[0],o=0;for(let r=1;r<t;++r,o+=6)St(i,o,n,e[r],e[r+1]);return i}return new Uint16Array}function $t(e){let t={};for(let r in e)if(e.hasOwnProperty(r)&&f(e[r])&&f(e[r].values)){let i=e[r];t[r]=new U({componentDatatype:i.componentDatatype,componentsPerAttribute:i.componentsPerAttribute,normalize:i.normalize,values:[]})}return t}function be(e,t,r){for(let i in t)if(t.hasOwnProperty(i)&&f(t[i])&&f(t[i].values)){let n=t[i];for(let t=0;t<n.componentsPerAttribute;++t)e[i].values.push(n.values[r*n.componentsPerAttribute+t])}}F.toWireframe=function(e){if(!f(e))throw new I("geometry is required.");let t=e.indices;if(f(t)){switch(e.primitiveType){case D.TRIANGLES:e.indices=de(t);break;case D.TRIANGLE_STRIP:e.indices=me(t);break;case D.TRIANGLE_FAN:e.indices=he(t);break;default:throw new I("geometry.primitiveType must be TRIANGLES, TRIANGLE_STRIP, or TRIANGLE_FAN.")}e.primitiveType=D.LINES}return e},F.createLineSegmentsForVectors=function(e,t,r){if(t=K(t,"normal"),!f(e))throw new I("geometry is required.");if(!f(e.attributes.position))throw new I("geometry.attributes.position is required.");if(!f(e.attributes[t]))throw new I(`geometry.attributes must have an attribute with the same name as the attributeName parameter, ${t}.`);r=K(r,1e4);let i=e.attributes.position.values,n=e.attributes[t].values,o=i.length,s=new Float64Array(2*o),a=0;for(let e=0;e<o;e+=3)s[a++]=i[e],s[a++]=i[e+1],s[a++]=i[e+2],s[a++]=i[e]+n[e]*r,s[a++]=i[e+1]+n[e+1]*r,s[a++]=i[e+2]+n[e+2]*r;let u,l=e.boundingSphere;return f(l)&&(u=new rt(l.center,l.radius+r)),new B({attributes:{position:new U({componentDatatype:k.DOUBLE,componentsPerAttribute:3,values:s})},primitiveType:D.LINES,boundingSphere:u})},F.createAttributeLocations=function(e){if(!f(e))throw new I("geometry is required.");let t,r=["position","positionHigh","positionLow","position3DHigh","position3DLow","position2DHigh","position2DLow","pickColor","normal","st","tangent","bitangent","extrudeDirection","compressedAttributes"],i=e.attributes,n={},o=0,s=r.length;for(t=0;t<s;++t){let e=r[t];f(i[e])&&(n[e]=o++)}for(let e in i)i.hasOwnProperty(e)&&!f(n[e])&&(n[e]=o++);return n},F.reorderForPreVertexCache=function(e){if(!f(e))throw new I("geometry is required.");let t=B.computeNumberOfVertices(e),r=e.indices;if(f(r)){let i=new Int32Array(t);for(let e=0;e<t;e++)i[e]=-1;let n,o=r,s=o.length,a=j.createTypedArray(t,s),u=0,l=0,p=0;for(;u<s;)n=i[o[u]],-1!==n?a[l]=n:(n=o[u],i[n]=p,a[l]=p,++p),++u,++l;e.indices=a;let c=e.attributes;for(let e in c)if(c.hasOwnProperty(e)&&f(c[e])&&f(c[e].values)){let r=c[e],n=r.values,o=0,s=r.componentsPerAttribute,a=k.createTypedArray(r.componentDatatype,p*s);for(;o<t;){let e=i[o];if(-1!==e)for(let t=0;t<s;t++)a[s*e+t]=n[s*o+t];++o}r.values=a}}return e},F.reorderForPostVertexCache=function(e,t){if(!f(e))throw new I("geometry is required.");let r=e.indices;if(e.primitiveType===D.TRIANGLES&&f(r)){let i=r.length,n=0;for(let e=0;e<i;e++)r[e]>n&&(n=r[e]);e.indices=Wt.tipsify({indices:r,maximumIndex:n,cacheSize:t})}return e},F.fitToUnsignedShortIndices=function(e){if(!f(e))throw new I("geometry is required.");if(f(e.indices)&&e.primitiveType!==D.TRIANGLES&&e.primitiveType!==D.LINES&&e.primitiveType!==D.POINTS)throw new I("geometry.primitiveType must equal to PrimitiveType.TRIANGLES, PrimitiveType.LINES, or PrimitiveType.POINTS.");let t=[],r=B.computeNumberOfVertices(e);if(f(e.indices)&&r>=N.SIXTY_FOUR_KILOBYTES){let r,i=[],n=[],o=0,s=$t(e.attributes),a=e.indices,u=a.length;e.primitiveType===D.TRIANGLES?r=3:e.primitiveType===D.LINES?r=2:e.primitiveType===D.POINTS&&(r=1);for(let l=0;l<u;l+=r){for(let t=0;t<r;++t){let r=a[l+t],u=i[r];f(u)||(u=o++,i[r]=u,be(s,e.attributes,r)),n.push(u)}o+r>=N.SIXTY_FOUR_KILOBYTES&&(t.push(new B({attributes:s,indices:n,primitiveType:e.primitiveType,boundingSphere:e.boundingSphere,boundingSphereCV:e.boundingSphereCV})),i=[],n=[],o=0,s=$t(e.attributes))}0!==n.length&&t.push(new B({attributes:s,indices:n,primitiveType:e.primitiveType,boundingSphere:e.boundingSphere,boundingSphereCV:e.boundingSphereCV}))}else t.push(e);return t};var Jt=new r,we=new Mt;F.projectTo2D=function(e,t,i,n,o){if(!f(e))throw new I("geometry is required.");if(!f(t))throw new I("attributeName is required.");if(!f(i))throw new I("attributeName3D is required.");if(!f(n))throw new I("attributeName2D is required.");if(!f(e.attributes[t]))throw new I(`geometry must have attribute matching the attributeName argument: ${t}.`);if(e.attributes[t].componentDatatype!==k.DOUBLE)throw new I("The attribute componentDatatype must be ComponentDatatype.DOUBLE.");let s=e.attributes[t],a=(o=f(o)?o:new _t).ellipsoid,u=s.values,l=new Float64Array(u.length),p=0;for(let e=0;e<u.length;e+=3){let t=r.fromArray(u,e,Jt),i=a.cartesianToCartographic(t,we);if(!f(i))throw new I(`Could not project point (${t.x}, ${t.y}, ${t.z}) to 2D.`);let n=o.project(i,Jt);l[p++]=n.x,l[p++]=n.y,l[p++]=n.z}return e.attributes[i]=s,e.attributes[n]=new U({componentDatatype:k.DOUBLE,componentsPerAttribute:3,values:l}),delete e.attributes[t],e};var zt={high:0,low:0};F.encodeAttribute=function(e,t,r,i){if(!f(e))throw new I("geometry is required.");if(!f(t))throw new I("attributeName is required.");if(!f(r))throw new I("attributeHighName is required.");if(!f(i))throw new I("attributeLowName is required.");if(!f(e.attributes[t]))throw new I(`geometry must have attribute matching the attributeName argument: ${t}.`);if(e.attributes[t].componentDatatype!==k.DOUBLE)throw new I("The attribute componentDatatype must be ComponentDatatype.DOUBLE.");let n=e.attributes[t],o=n.values,s=o.length,a=new Float32Array(s),u=new Float32Array(s);for(let e=0;e<s;++e)jt.encode(o[e],zt),a[e]=zt.high,u[e]=zt.low;let l=n.componentsPerAttribute;return e.attributes[r]=new U({componentDatatype:k.FLOAT,componentsPerAttribute:l,values:a}),e.attributes[i]=new U({componentDatatype:k.FLOAT,componentsPerAttribute:l,values:u}),delete e.attributes[t],e};var $=new r;function Dt(e,t){if(f(t)){let i=t.values,n=i.length;for(let t=0;t<n;t+=3)r.unpack(i,t,$),H.multiplyByPoint(e,$,$),r.pack($,i,t)}}function qt(e,t){if(f(t)){let i=t.values,n=i.length;for(let t=0;t<n;t+=3)r.unpack(i,t,$),Ot.multiplyByVector(e,$,$),$=r.normalize($,$),r.pack($,i,t)}}var vt=new H,yt=new Ot;function ve(e,t){let r,i=e.length,n={},o=e[0][t].attributes;for(r in o)if(o.hasOwnProperty(r)&&f(o[r])&&f(o[r].values)){let s=o[r],a=s.values.length,u=!0;for(let n=1;n<i;++n){let i=e[n][t].attributes[r];if(!f(i)||s.componentDatatype!==i.componentDatatype||s.componentsPerAttribute!==i.componentsPerAttribute||s.normalize!==i.normalize){u=!1;break}a+=i.values.length}u&&(n[r]=new U({componentDatatype:s.componentDatatype,componentsPerAttribute:s.componentsPerAttribute,normalize:s.normalize,values:k.createTypedArray(s.componentDatatype,a)}))}return n}F.transformToWorldCoordinates=function(e){if(!f(e))throw new I("instance is required.");let t=e.modelMatrix;if(H.equals(t,H.IDENTITY))return e;let r=e.geometry.attributes;Dt(t,r.position),Dt(t,r.prevPosition),Dt(t,r.nextPosition),(f(r.normal)||f(r.tangent)||f(r.bitangent))&&(H.inverse(t,vt),H.transpose(vt,vt),H.getMatrix3(vt,yt),qt(yt,r.normal),qt(yt,r.tangent),qt(yt,r.bitangent));let i=e.geometry.boundingSphere;return f(i)&&(e.geometry.boundingSphere=rt.transform(i,t,i)),e.modelMatrix=H.clone(H.IDENTITY),e};var ye=new r;function Vt(e,t){let i,n,o,s,a=e.length,u=e[0].modelMatrix,l=f(e[0][t].indices),p=e[0][t].primitiveType;for(n=1;n<a;++n){if(!H.equals(e[n].modelMatrix,u))throw new I("All instances must have the same modelMatrix.");if(f(e[n][t].indices)!==l)throw new I("All instance geometries must have an indices or not have one.");if(e[n][t].primitiveType!==p)throw new I("All instance geometries must have the same primitiveType.")}let c,m,y,h,d=ve(e,t);for(i in d)if(d.hasOwnProperty(i))for(c=d[i].values,s=0,n=0;n<a;++n)for(m=e[n][t].attributes[i].values,y=m.length,o=0;o<y;++o)c[s++]=m[o];if(l){let r=0;for(n=0;n<a;++n)r+=e[n][t].indices.length;let i=B.computeNumberOfVertices(new B({attributes:d,primitiveType:D.POINTS})),o=j.createTypedArray(i,r),u=0,l=0;for(n=0;n<a;++n){let r=e[n][t].indices,i=r.length;for(s=0;s<i;++s)o[u++]=l+r[s];l+=B.computeNumberOfVertices(e[n][t])}h=o}let v,b=new r,w=0;for(n=0;n<a;++n){if(v=e[n][t].boundingSphere,!f(v)){b=void 0;break}r.add(v.center,b,b)}if(f(b))for(r.divideByScalar(b,a,b),n=0;n<a;++n){v=e[n][t].boundingSphere;let i=r.magnitude(r.subtract(v.center,b,ye))+v.radius;i>w&&(w=i)}return new B({attributes:d,indices:h,primitiveType:p,boundingSphere:f(b)?new rt(b,w):void 0})}F.combineInstances=function(e){if(!f(e)||e.length<1)throw new I("instances is required and must have length greater than zero.");let t=[],r=[],i=e.length;for(let n=0;n<i;++n){let i=e[n];f(i.geometry)?t.push(i):f(i.westHemisphereGeometry)&&f(i.eastHemisphereGeometry)&&r.push(i)}let n=[];return t.length>0&&n.push(Vt(t,"geometry")),r.length>0&&(n.push(Vt(r,"westHemisphereGeometry")),n.push(Vt(r,"eastHemisphereGeometry"))),n};var Z=new r,ht=new r,ct=new r,at=new r;F.computeNormal=function(e){if(!f(e))throw new I("geometry is required.");if(!f(e.attributes.position)||!f(e.attributes.position.values))throw new I("geometry.attributes.position.values is required.");if(!f(e.indices))throw new I("geometry.indices is required.");if(e.indices.length<2||e.indices.length%3!=0)throw new I("geometry.indices length must be greater than 0 and be a multiple of 3.");if(e.primitiveType!==D.TRIANGLES)throw new I("geometry.primitiveType must be PrimitiveType.TRIANGLES.");let t,i=e.indices,n=e.attributes,o=n.position.values,s=n.position.values.length/3,a=i.length,u=new Array(s),l=new Array(a/3),p=new Array(a);for(t=0;t<s;t++)u[t]={indexOffset:0,count:0,currentCount:0};let c=0;for(t=0;t<a;t+=3){let e=i[t],n=i[t+1],s=i[t+2],a=3*e,f=3*n,p=3*s;ht.x=o[a],ht.y=o[a+1],ht.z=o[a+2],ct.x=o[f],ct.y=o[f+1],ct.z=o[f+2],at.x=o[p],at.y=o[p+1],at.z=o[p+2],u[e].count++,u[n].count++,u[s].count++,r.subtract(ct,ht,ct),r.subtract(at,ht,at),l[c]=r.cross(ct,at,new r),c++}let m,y=0;for(t=0;t<s;t++)u[t].indexOffset+=y,y+=u[t].count;for(c=0,t=0;t<a;t+=3){m=u[i[t]];let e=m.indexOffset+m.currentCount;p[e]=c,m.currentCount++,m=u[i[t+1]],e=m.indexOffset+m.currentCount,p[e]=c,m.currentCount++,m=u[i[t+2]],e=m.indexOffset+m.currentCount,p[e]=c,m.currentCount++,c++}let h=new Float32Array(3*s);for(t=0;t<s;t++){let e=3*t;if(m=u[t],r.clone(r.ZERO,Z),m.count>0){for(c=0;c<m.count;c++)r.add(Z,l[p[m.indexOffset+c]],Z);r.equalsEpsilon(r.ZERO,Z,N.EPSILON10)&&r.clone(l[p[m.indexOffset]],Z)}r.equalsEpsilon(r.ZERO,Z,N.EPSILON10)&&(Z.z=1),r.normalize(Z,Z),h[e]=Z.x,h[e+1]=Z.y,h[e+2]=Z.z}return e.attributes.normal=new U({componentDatatype:k.FLOAT,componentsPerAttribute:3,values:h}),e};var xe=new r,Kt=new r,Te=new r;F.computeTangentAndBitangent=function(e){if(!f(e))throw new I("geometry is required.");let t=e.attributes,i=e.indices;if(!f(t.position)||!f(t.position.values))throw new I("geometry.attributes.position.values is required.");if(!f(t.normal)||!f(t.normal.values))throw new I("geometry.attributes.normal.values is required.");if(!f(t.st)||!f(t.st.values))throw new I("geometry.attributes.st.values is required.");if(!f(i))throw new I("geometry.indices is required.");if(i.length<2||i.length%3!=0)throw new I("geometry.indices length must be greater than 0 and be a multiple of 3.");if(e.primitiveType!==D.TRIANGLES)throw new I("geometry.primitiveType must be PrimitiveType.TRIANGLES.");let n,o,s,a,u=e.attributes.position.values,l=e.attributes.normal.values,p=e.attributes.st.values,c=e.attributes.position.values.length/3,m=i.length,y=new Array(3*c);for(n=0;n<y.length;n++)y[n]=0;for(n=0;n<m;n+=3){let e=i[n],t=i[n+1],r=i[n+2];o=3*e,s=3*t,a=3*r;let l=2*e,f=2*t,c=2*r,m=u[o],h=u[o+1],d=u[o+2],v=p[l],b=p[l+1],w=p[f+1]-b,g=p[c+1]-b,I=1/((p[f]-v)*g-(p[c]-v)*w),T=(g*(u[s]-m)-w*(u[a]-m))*I,A=(g*(u[s+1]-h)-w*(u[a+1]-h))*I,N=(g*(u[s+2]-d)-w*(u[a+2]-d))*I;y[o]+=T,y[o+1]+=A,y[o+2]+=N,y[s]+=T,y[s+1]+=A,y[s+2]+=N,y[a]+=T,y[a+1]+=A,y[a+2]+=N}let h=new Float32Array(3*c),d=new Float32Array(3*c);for(n=0;n<c;n++){o=3*n,s=o+1,a=o+2;let e=r.fromArray(l,o,xe),t=r.fromArray(y,o,Te),i=r.dot(e,t);r.multiplyByScalar(e,i,Kt),r.normalize(r.subtract(t,Kt,t),t),h[o]=t.x,h[s]=t.y,h[a]=t.z,r.normalize(r.cross(e,t,t),t),d[o]=t.x,d[s]=t.y,d[a]=t.z}return e.attributes.tangent=new U({componentDatatype:k.FLOAT,componentsPerAttribute:3,values:h}),e.attributes.bitangent=new U({componentDatatype:k.FLOAT,componentsPerAttribute:3,values:d}),e};var bt=new R,W=new r,Qt=new r,te=new r,xt=new R;function Ae(e){if(f(e.indices))return e;let t=B.computeNumberOfVertices(e);if(t<3)throw new I("The number of vertices must be at least three.");if(t%3!=0)throw new I("The number of vertices must be a multiple of three.");let r=j.createTypedArray(t,t);for(let e=0;e<t;++e)r[e]=e;return e.indices=r,e}function Ie(e){let t=B.computeNumberOfVertices(e);if(t<3)throw new I("The number of vertices must be at least three.");let r=j.createTypedArray(t,3*(t-2));r[0]=1,r[1]=0,r[2]=2;let i=3;for(let e=3;e<t;++e)r[i++]=e-1,r[i++]=0,r[i++]=e;return e.indices=r,e.primitiveType=D.TRIANGLES,e}function Se(e){let t=B.computeNumberOfVertices(e);if(t<3)throw new I("The number of vertices must be at least 3.");let r=j.createTypedArray(t,3*(t-2));r[0]=0,r[1]=1,r[2]=2,t>3&&(r[3]=0,r[4]=2,r[5]=3);let i=6;for(let e=3;e<t-1;e+=2)r[i++]=e,r[i++]=e-1,r[i++]=e+1,e+2<t&&(r[i++]=e,r[i++]=e+1,r[i++]=e+2);return e.indices=r,e.primitiveType=D.TRIANGLES,e}function Pe(e){if(f(e.indices))return e;let t=B.computeNumberOfVertices(e);if(t<2)throw new I("The number of vertices must be at least two.");if(t%2!=0)throw new I("The number of vertices must be a multiple of 2.");let r=j.createTypedArray(t,t);for(let e=0;e<t;++e)r[e]=e;return e.indices=r,e}function ge(e){let t=B.computeNumberOfVertices(e);if(t<2)throw new I("The number of vertices must be at least two.");let r=j.createTypedArray(t,2*(t-1));r[0]=0,r[1]=1;let i=2;for(let e=2;e<t;++e)r[i++]=e-1,r[i++]=e;return e.indices=r,e.primitiveType=D.LINES,e}function Oe(e){let t=B.computeNumberOfVertices(e);if(t<2)throw new I("The number of vertices must be at least two.");let r=j.createTypedArray(t,2*t);r[0]=0,r[1]=1;let i=2;for(let e=2;e<t;++e)r[i++]=e-1,r[i++]=e;return r[i++]=t-1,r[i]=0,e.indices=r,e.primitiveType=D.LINES,e}function Le(e){switch(e.primitiveType){case D.TRIANGLE_FAN:return Ie(e);case D.TRIANGLE_STRIP:return Se(e);case D.TRIANGLES:return Ae(e);case D.LINE_STRIP:return ge(e);case D.LINE_LOOP:return Oe(e);case D.LINES:return Pe(e)}return e}function tt(e,t){Math.abs(e.y)<N.EPSILON6&&(e.y=t?-N.EPSILON6:N.EPSILON6)}function Ee(e,t,r){if(0!==e.y&&0!==t.y&&0!==r.y)return tt(e,e.y<0),tt(t,t.y<0),void tt(r,r.y<0);let i,n=Math.abs(e.y),o=Math.abs(t.y),s=Math.abs(r.y);i=n>o?n>s?N.sign(e.y):N.sign(r.y):o>s?N.sign(t.y):N.sign(r.y);let a=i<0;tt(e,a),tt(t,a),tt(r,a)}F.compressVertices=function(e){if(!f(e))throw new I("geometry is required.");let t,i,n=e.attributes.extrudeDirection;if(f(n)){let o=n.values;i=o.length/3;let s=new Float32Array(2*i),a=0;for(t=0;t<i;++t)r.fromArray(o,3*t,W),r.equals(W,r.ZERO)?a+=2:(xt=et.octEncodeInRange(W,65535,xt),s[a++]=xt.x,s[a++]=xt.y);return e.attributes.compressedAttributes=new U({componentDatatype:k.FLOAT,componentsPerAttribute:2,values:s}),delete e.attributes.extrudeDirection,e}let o=e.attributes.normal,s=e.attributes.st,a=f(o),u=f(s);if(!a&&!u)return e;let l,p,c,m,y=e.attributes.tangent,h=e.attributes.bitangent,d=f(y),v=f(h);a&&(l=o.values),u&&(p=s.values),d&&(c=y.values),v&&(m=h.values),i=(a?l.length:p.length)/(a?3:2);let b=i,w=u&&a?2:1;w+=d||v?1:0,b*=w;let g=new Float32Array(b),T=0;for(t=0;t<i;++t){u&&(R.fromArray(p,2*t,bt),g[T++]=et.compressTextureCoordinates(bt));let e=3*t;a&&f(c)&&f(m)?(r.fromArray(l,e,W),r.fromArray(c,e,Qt),r.fromArray(m,e,te),et.octPack(W,Qt,te,bt),g[T++]=bt.x,g[T++]=bt.y):(a&&(r.fromArray(l,e,W),g[T++]=et.octEncodeFloat(W)),d&&(r.fromArray(c,e,W),g[T++]=et.octEncodeFloat(W)),v&&(r.fromArray(m,e,W),g[T++]=et.octEncodeFloat(W)))}return e.attributes.compressedAttributes=new U({componentDatatype:k.FLOAT,componentsPerAttribute:w,values:g}),a&&delete e.attributes.normal,u&&delete e.attributes.st,v&&delete e.attributes.bitangent,d&&delete e.attributes.tangent,e};var ee=new r;function X(e,t,i,n){r.add(e,r.multiplyByScalar(r.subtract(t,e,ee),e.y/(e.y-t.y),ee),i),r.clone(i,n),tt(i,!0),tt(n,!1)}var nt=new r,it=new r,st=new r,ot=new r,Rt={positions:new Array(7),indices:new Array(9)};function Ne(e,t,r){if(e.x>=0||t.x>=0||r.x>=0)return;Ee(e,t,r);let i=e.y<0,n=t.y<0,o=r.y<0,s=0;s+=i?1:0,s+=n?1:0,s+=o?1:0;let a=Rt.indices;1===s?(a[1]=3,a[2]=4,a[5]=6,a[7]=6,a[8]=5,i?(X(e,t,nt,st),X(e,r,it,ot),a[0]=0,a[3]=1,a[4]=2,a[6]=1):n?(X(t,r,nt,st),X(t,e,it,ot),a[0]=1,a[3]=2,a[4]=0,a[6]=2):o&&(X(r,e,nt,st),X(r,t,it,ot),a[0]=2,a[3]=0,a[4]=1,a[6]=0)):2===s&&(a[2]=4,a[4]=4,a[5]=3,a[7]=5,a[8]=6,i?n?o||(X(r,e,nt,st),X(r,t,it,ot),a[0]=0,a[1]=1,a[3]=0,a[6]=2):(X(t,r,nt,st),X(t,e,it,ot),a[0]=2,a[1]=0,a[3]=2,a[6]=1):(X(e,t,nt,st),X(e,r,it,ot),a[0]=1,a[1]=2,a[3]=1,a[6]=0));let u=Rt.positions;return u[0]=e,u[1]=t,u[2]=r,u.length=3,(1===s||2===s)&&(u[3]=nt,u[4]=it,u[5]=st,u[6]=ot,u.length=7),Rt}function ne(e,t){let r=e.attributes;if(0===r.position.values.length)return;for(let e in r)if(r.hasOwnProperty(e)&&f(r[e])&&f(r[e].values)){let t=r[e];t.values=k.createTypedArray(t.componentDatatype,t.values)}let i=B.computeNumberOfVertices(e);return e.indices=j.createTypedArray(i,e.indices),t&&(e.boundingSphere=rt.fromVertices(r.position.values)),e}function lt(e){let t=e.attributes,r={};for(let e in t)if(t.hasOwnProperty(e)&&f(t[e])&&f(t[e].values)){let i=t[e];r[e]=new U({componentDatatype:i.componentDatatype,componentsPerAttribute:i.componentsPerAttribute,normalize:i.normalize,values:[]})}return new B({attributes:r,indices:[],primitiveType:e.primitiveType})}function kt(e,t,r){let i=f(e.geometry.boundingSphere);t=ne(t,i),r=ne(r,i),f(r)&&!f(t)?e.geometry=r:!f(r)&&f(t)?e.geometry=t:(e.westHemisphereGeometry=t,e.eastHemisphereGeometry=r,e.geometry=void 0)}function Ft(e,t){let r=new e,i=new e,n=new e;return function(o,s,a,u,l,f,p,c){let m=e.fromArray(l,o*t,r),y=e.fromArray(l,s*t,i),h=e.fromArray(l,a*t,n);e.multiplyByScalar(m,u.x,m),e.multiplyByScalar(y,u.y,y),e.multiplyByScalar(h,u.z,h);let d=e.add(m,y,m);e.add(d,h,d),c&&e.normalize(d,d),e.pack(d,f,p*t)}}var ze=Ft(dt,4),It=Ft(r,3),ae=Ft(R,2),De=function(e,t,r,i,n,o,s){let a=n[e]*i.x,u=n[t]*i.y,l=n[r]*i.z;o[s]=a+u+l>N.EPSILON6?1:0},wt=new r,Gt=new r,Ct=new r,qe=new r;function Tt(e,t,i,n,o,s,a,u,l,p,c,m,y,h,d,v){if(!(f(s)||f(a)||f(u)||f(l)||f(p)||0!==h))return;let b=r.fromArray(o,3*e,wt),w=r.fromArray(o,3*t,Gt),g=r.fromArray(o,3*i,Ct),I=Ht(n,b,w,g,qe);if(f(I)){if(f(s)&&It(e,t,i,I,s,m.normal.values,v,!0),f(p)){let n,o=r.fromArray(p,3*e,wt),s=r.fromArray(p,3*t,Gt),a=r.fromArray(p,3*i,Ct);r.multiplyByScalar(o,I.x,o),r.multiplyByScalar(s,I.y,s),r.multiplyByScalar(a,I.z,a),r.equals(o,r.ZERO)&&r.equals(s,r.ZERO)&&r.equals(a,r.ZERO)?(n=wt,n.x=0,n.y=0,n.z=0):(n=r.add(o,s,o),r.add(n,a,n),r.normalize(n,n)),r.pack(n,m.extrudeDirection.values,3*v)}if(f(c)&&De(e,t,i,I,c,m.applyOffset.values,v),f(a)&&It(e,t,i,I,a,m.tangent.values,v,!0),f(u)&&It(e,t,i,I,u,m.bitangent.values,v,!0),f(l)&&ae(e,t,i,I,l,m.st.values,v),h>0)for(let r=0;r<h;r++){let n=y[r];Ve(e,t,i,I,v,d[n],m[n])}}}function Ve(e,t,r,i,n,o,s){let a=o.componentsPerAttribute,u=o.values,l=s.values;switch(a){case 4:ze(e,t,r,i,u,l,n,!1);break;case 3:It(e,t,r,i,u,l,n,!1);break;case 2:ae(e,t,r,i,u,l,n,!1);break;default:l[n]=u[e]*i.x+u[t]*i.y+u[r]*i.z}}function Q(e,t,r,i,n,o){let s=e.position.values.length/3;if(-1!==n){let a=i[n],u=r[a];return-1===u?(r[a]=s,e.position.values.push(o.x,o.y,o.z),t.push(s),s):(t.push(u),u)}return e.position.values.push(o.x,o.y,o.z),t.push(s),s}var Re={position:!0,normal:!0,bitangent:!0,tangent:!0,st:!0,extrudeDirection:!0,applyOffset:!0};function ie(e){let t=e.geometry,i=t.attributes,n=i.position.values,o=f(i.normal)?i.normal.values:void 0,s=f(i.bitangent)?i.bitangent.values:void 0,a=f(i.tangent)?i.tangent.values:void 0,u=f(i.st)?i.st.values:void 0,l=f(i.extrudeDirection)?i.extrudeDirection.values:void 0,p=f(i.applyOffset)?i.applyOffset.values:void 0,c=t.indices,m=[];for(let e in i)i.hasOwnProperty(e)&&!Re[e]&&f(i[e])&&m.push(e);let y,h,d,v,b,w=m.length,g=lt(t),I=lt(t),T=[];T.length=n.length/3;let A=[];for(A.length=n.length/3,b=0;b<T.length;++b)T[b]=-1,A[b]=-1;let N=c.length;for(b=0;b<N;b+=3){let e=c[b],t=c[b+1],N=c[b+2],S=r.fromArray(n,3*e),x=r.fromArray(n,3*t),P=r.fromArray(n,3*N),O=Ne(S,x,P);if(f(O)&&O.positions.length>3){let r=O.positions,f=O.indices,S=f.length;for(let x=0;x<S;++x){let S=f[x],P=r[S];P.y<0?(y=I.attributes,h=I.indices,d=T):(y=g.attributes,h=g.indices,d=A),v=Q(y,h,d,c,S<3?b+S:-1,P),Tt(e,t,N,P,n,o,a,s,u,l,p,y,m,w,i,v)}}else f(O)&&(S=O.positions[0],x=O.positions[1],P=O.positions[2]),S.y<0?(y=I.attributes,h=I.indices,d=T):(y=g.attributes,h=g.indices,d=A),v=Q(y,h,d,c,b,S),Tt(e,t,N,S,n,o,a,s,u,l,p,y,m,w,i,v),v=Q(y,h,d,c,b+1,x),Tt(e,t,N,x,n,o,a,s,u,l,p,y,m,w,i,v),v=Q(y,h,d,c,b+2,P),Tt(e,t,N,P,n,o,a,s,u,l,p,y,m,w,i,v)}kt(e,I,g)}var ue=Et.fromPointNormal(r.ZERO,r.UNIT_Y),Ge=new r,Ce=new r;function ut(e,t,i,n,o,s,a){if(!f(a))return;let u=r.fromArray(n,3*e,wt);r.equalsEpsilon(u,i,N.EPSILON10)?s.applyOffset.values[o]=a[e]:s.applyOffset.values[o]=a[t]}function se(e){let t,i=e.geometry,n=i.attributes,o=n.position.values,s=f(n.applyOffset)?n.applyOffset.values:void 0,a=i.indices,u=lt(i),l=lt(i),p=a.length,c=[];c.length=o.length/3;let m=[];for(m.length=o.length/3,t=0;t<c.length;++t)c[t]=-1,m[t]=-1;for(t=0;t<p;t+=2){let e,i=a[t],n=a[t+1],p=r.fromArray(o,3*i,wt),y=r.fromArray(o,3*n,Gt);Math.abs(p.y)<N.EPSILON6&&(p.y<0?p.y=-N.EPSILON6:p.y=N.EPSILON6),Math.abs(y.y)<N.EPSILON6&&(y.y<0?y.y=-N.EPSILON6:y.y=N.EPSILON6);let h=u.attributes,d=u.indices,v=m,b=l.attributes,w=l.indices,g=c,I=Lt.lineSegmentPlane(p,y,ue,Ct);if(f(I)){let f=r.multiplyByScalar(r.UNIT_Y,5*N.EPSILON9,Ge);p.y<0&&(r.negate(f,f),h=l.attributes,d=l.indices,v=c,b=u.attributes,w=u.indices,g=m);let T=r.add(I,f,Ce);e=Q(h,d,v,a,t,p),ut(i,n,p,o,e,h,s),e=Q(h,d,v,a,-1,T),ut(i,n,T,o,e,h,s),r.negate(f,f),r.add(I,f,T),e=Q(b,w,g,a,-1,T),ut(i,n,T,o,e,b,s),e=Q(b,w,g,a,t+1,y),ut(i,n,y,o,e,b,s)}else{let r,f,h;p.y<0?(r=l.attributes,f=l.indices,h=c):(r=u.attributes,f=u.indices,h=m),e=Q(r,f,h,a,t,p),ut(i,n,p,o,e,r,s),e=Q(r,f,h,a,t+1,y),ut(i,n,y,o,e,r,s)}}kt(e,l,u)}var oe=new R,Be=new R,le=new r,fe=new r,Bt=new r,ke=new r,Fe=new r,Me=new r,re=new dt;function ce(e){let t=e.attributes,i=t.position.values,n=t.prevPosition.values,o=t.nextPosition.values,s=i.length;for(let e=0;e<s;e+=3){let t=r.unpack(i,e,le);if(t.x>0)continue;let a=r.unpack(n,e,fe);(t.y<0&&a.y>0||t.y>0&&a.y<0)&&(e-3>0?(n[e]=i[e-3],n[e+1]=i[e-2],n[e+2]=i[e-1]):r.pack(t,n,e));let u=r.unpack(o,e,Bt);(t.y<0&&u.y>0||t.y>0&&u.y<0)&&(e+3<s?(o[e]=i[e+3],o[e+1]=i[e+4],o[e+2]=i[e+5]):r.pack(t,o,e))}}var _e=5*N.EPSILON9,At=N.EPSILON6;function Ue(e){let t,i,n,o=e.geometry,s=o.attributes,a=s.position.values,u=s.prevPosition.values,l=s.nextPosition.values,p=s.expandAndWidth.values,c=f(s.st)?s.st.values:void 0,m=f(s.color)?s.color.values:void 0,y=lt(o),h=lt(o),d=!1,v=a.length/3;for(t=0;t<v;t+=4){let e=t,o=t+2,s=r.fromArray(a,3*e,le),v=r.fromArray(a,3*o,fe);if(Math.abs(s.y)<At)for(s.y=At*(v.y<0?-1:1),a[3*t+1]=s.y,a[3*(t+1)+1]=s.y,i=3*e;i<3*e+12;i+=3)u[i]=a[3*t],u[i+1]=a[3*t+1],u[i+2]=a[3*t+2];if(Math.abs(v.y)<At)for(v.y=At*(s.y<0?-1:1),a[3*(t+2)+1]=v.y,a[3*(t+3)+1]=v.y,i=3*e;i<3*e+12;i+=3)l[i]=a[3*(t+2)],l[i+1]=a[3*(t+2)+1],l[i+2]=a[3*(t+2)+2];let b=y.attributes,w=y.indices,g=h.attributes,I=h.indices,T=Lt.lineSegmentPlane(s,v,ue,ke);if(f(T)){d=!0;let a=r.multiplyByScalar(r.UNIT_Y,_e,Fe);s.y<0&&(r.negate(a,a),b=h.attributes,w=h.indices,g=y.attributes,I=y.indices);let A=r.add(T,a,Me);b.position.values.push(s.x,s.y,s.z,s.x,s.y,s.z),b.position.values.push(A.x,A.y,A.z),b.position.values.push(A.x,A.y,A.z),b.prevPosition.values.push(u[3*e],u[3*e+1],u[3*e+2]),b.prevPosition.values.push(u[3*e+3],u[3*e+4],u[3*e+5]),b.prevPosition.values.push(s.x,s.y,s.z,s.x,s.y,s.z),b.nextPosition.values.push(A.x,A.y,A.z),b.nextPosition.values.push(A.x,A.y,A.z),b.nextPosition.values.push(A.x,A.y,A.z),b.nextPosition.values.push(A.x,A.y,A.z),r.negate(a,a),r.add(T,a,A),g.position.values.push(A.x,A.y,A.z),g.position.values.push(A.x,A.y,A.z),g.position.values.push(v.x,v.y,v.z,v.x,v.y,v.z),g.prevPosition.values.push(A.x,A.y,A.z),g.prevPosition.values.push(A.x,A.y,A.z),g.prevPosition.values.push(A.x,A.y,A.z),g.prevPosition.values.push(A.x,A.y,A.z),g.nextPosition.values.push(v.x,v.y,v.z,v.x,v.y,v.z),g.nextPosition.values.push(l[3*o],l[3*o+1],l[3*o+2]),g.nextPosition.values.push(l[3*o+3],l[3*o+4],l[3*o+5]);let S=R.fromArray(p,2*e,oe),x=Math.abs(S.y);b.expandAndWidth.values.push(-1,x,1,x),b.expandAndWidth.values.push(-1,-x,1,-x),g.expandAndWidth.values.push(-1,x,1,x),g.expandAndWidth.values.push(-1,-x,1,-x);let P=r.magnitudeSquared(r.subtract(T,s,Bt));if(P/=r.magnitudeSquared(r.subtract(v,s,Bt)),f(m)){let t=dt.fromArray(m,4*e,re),r=dt.fromArray(m,4*o,re),n=N.lerp(t.x,r.x,P),s=N.lerp(t.y,r.y,P),a=N.lerp(t.z,r.z,P),u=N.lerp(t.w,r.w,P);for(i=4*e;i<4*e+8;++i)b.color.values.push(m[i]);for(b.color.values.push(n,s,a,u),b.color.values.push(n,s,a,u),g.color.values.push(n,s,a,u),g.color.values.push(n,s,a,u),i=4*o;i<4*o+8;++i)g.color.values.push(m[i])}if(f(c)){let r=R.fromArray(c,2*e,oe),n=R.fromArray(c,2*(t+3),Be),s=N.lerp(r.x,n.x,P);for(i=2*e;i<2*e+4;++i)b.st.values.push(c[i]);for(b.st.values.push(s,r.y),b.st.values.push(s,n.y),g.st.values.push(s,r.y),g.st.values.push(s,n.y),i=2*o;i<2*o+4;++i)g.st.values.push(c[i])}n=b.position.values.length/3-4,w.push(n,n+2,n+1),w.push(n+1,n+2,n+3),n=g.position.values.length/3-4,I.push(n,n+2,n+1),I.push(n+1,n+2,n+3)}else{let e,r;for(s.y<0?(e=h.attributes,r=h.indices):(e=y.attributes,r=y.indices),e.position.values.push(s.x,s.y,s.z),e.position.values.push(s.x,s.y,s.z),e.position.values.push(v.x,v.y,v.z),e.position.values.push(v.x,v.y,v.z),i=3*t;i<3*t+12;++i)e.prevPosition.values.push(u[i]),e.nextPosition.values.push(l[i]);for(i=2*t;i<2*t+8;++i)e.expandAndWidth.values.push(p[i]),f(c)&&e.st.values.push(c[i]);if(f(m))for(i=4*t;i<4*t+16;++i)e.color.values.push(m[i]);n=e.position.values.length/3-4,r.push(n,n+2,n+1),r.push(n+1,n+2,n+3)}}d&&(ce(h),ce(y)),kt(e,h,y)}F.splitLongitude=function(e){if(!f(e))throw new I("instance is required.");let t=e.geometry,r=t.boundingSphere;if(f(r)&&(r.center.x-r.radius>0||rt.intersectPlane(r,Et.ORIGIN_ZX_PLANE)!==Ut.INTERSECTING))return e;if(t.geometryType!==mt.NONE)switch(t.geometryType){case mt.POLYLINES:Ue(e);break;case mt.TRIANGLES:ie(e);break;case mt.LINES:se(e)}else Le(t),t.primitiveType===D.TRIANGLES?ie(e):t.primitiveType===D.LINES&&se(e);return e};var gn=F;export{gn as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.120
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-GWDOQ4QX.js.LICENSE.txt */
|
|
2
|
+
import{b as t}from"./chunk-SOWUYSYI.js";import{a as r}from"./chunk-KGKDCW56.js";import{a as m}from"./chunk-G4IO3CPJ.js";import{e as i}from"./chunk-GBRF7ES3.js";function d(e){if(e=r(e,r.EMPTY_OBJECT),!i(e.geometry))throw new m("options.geometry is required.");this.geometry=e.geometry,this.modelMatrix=t.clone(r(e.modelMatrix,t.IDENTITY)),this.id=e.id,this.pickPrimitive=e.pickPrimitive,this.attributes=r(e.attributes,{}),this.westHemisphereGeometry=void 0,this.eastHemisphereGeometry=void 0}var s=d;export{s as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.120
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-H7SSJW5A.js.LICENSE.txt */
|
|
2
|
+
import{a as z,c as q}from"./chunk-G6QT7N47.js";import{a as U}from"./chunk-T52RL3ZJ.js";import{f as I}from"./chunk-SOWUYSYI.js";import{a as e,e as C}from"./chunk-WG62ICZK.js";import{a as O}from"./chunk-EEN7GMYN.js";import{e as j}from"./chunk-GBRF7ES3.js";var G={},B=new e,J=new e,_=new e,v=new e,g=[new e,new e],K=new e,W=new e,X=new e,$=new e,ee=new e,te=new e,ne=new e,oe=new e,re=new e,se=new e,F=new I,k=new C;function V(t,a,r,n,l){let o,i=e.angleBetween(e.subtract(a,t,B),e.subtract(r,t,J)),s=n===z.BEVELED?1:Math.ceil(i/O.toRadians(5))+1,c=3*s,u=new Array(c);u[c-3]=r.x,u[c-2]=r.y,u[c-1]=r.z,o=l?C.fromQuaternion(I.fromAxisAngle(e.negate(t,B),i/s,F),k):C.fromQuaternion(I.fromAxisAngle(t,i/s,F),k);let y=0;a=e.clone(a,B);for(let e=0;e<s;e++)a=C.multiplyByVector(o,a,a),u[y++]=a.x,u[y++]=a.y,u[y++]=a.z;return u}function ae(t){let a=K,r=W,n=X,l=t[1];r=e.fromArray(t[1],l.length-3,r),n=e.fromArray(t[0],0,n),a=e.midpoint(r,n,a);let o=V(a,r,n,z.ROUNDED,!1),i=t.length-1,s=t[i-1];return l=t[i],r=e.fromArray(s,s.length-3,r),n=e.fromArray(l,0,n),a=e.midpoint(r,n,a),[o,V(a,r,n,z.ROUNDED,!1)]}function H(t,a,r,n){let l=B;return n||(a=e.negate(a,a)),l=e.add(t,a,l),[l.x,l.y,l.z,r.x,r.y,r.z]}function T(t,a,r,n){let l=new Array(t.length),o=new Array(t.length),i=e.multiplyByScalar(a,r,B),s=e.negate(i,J),c=0,u=t.length-1;for(let a=0;a<t.length;a+=3){let r=e.fromArray(t,a,_),n=e.add(r,s,v);l[c++]=n.x,l[c++]=n.y,l[c++]=n.z;let y=e.add(r,i,v);o[u--]=y.z,o[u--]=y.y,o[u--]=y.x}return n.push(l,o),n}G.addAttribute=function(e,t,a,r){let n=t.x,l=t.y,o=t.z;j(a)&&(e[a]=n,e[a+1]=l,e[a+2]=o),j(r)&&(e[r]=o,e[r-1]=l,e[r-2]=n)};var le=new e,ce=new e;G.computePositions=function(t){let a=t.granularity,r=t.positions,n=t.ellipsoid,l=t.width/2,o=t.cornerType,i=t.saveAttributes,s=K,c=W,u=X,y=$,m=ee,d=te,p=ne,h=oe,f=re,w=se,x=[],E=i?[]:void 0,S=i?[]:void 0,A=r[0],D=r[1];c=e.normalize(e.subtract(D,A,c),c),s=n.geodeticSurfaceNormal(A,s),y=e.normalize(e.cross(s,c,y),y),i&&(E.push(y.x,y.y,y.z),S.push(s.x,s.y,s.z)),p=e.clone(A,p),A=D,u=e.negate(c,u);let N,b,j,k=[],v=r.length;for(b=1;b<v-1;b++){s=n.geodeticSurfaceNormal(A,s),D=r[b+1],c=e.normalize(e.subtract(D,A,c),c),m=e.normalize(e.add(c,u,m),m);let t=e.multiplyByScalar(s,e.dot(c,s),le);e.subtract(c,t,t),e.normalize(t,t);let j=e.multiplyByScalar(s,e.dot(u,s),ce);if(e.subtract(u,j,j),e.normalize(j,j),!O.equalsEpsilon(Math.abs(e.dot(t,j)),1,O.EPSILON7)){m=e.cross(m,s,m),m=e.cross(s,m,m),m=e.normalize(m,m);let t=l/Math.max(.25,e.magnitude(e.cross(m,u,B))),r=q.angleIsGreaterThanPi(c,u,A,n);m=e.multiplyByScalar(m,t,m),r?(h=e.add(A,m,h),w=e.add(h,e.multiplyByScalar(y,l,w),w),f=e.add(h,e.multiplyByScalar(y,2*l,f),f),g[0]=e.clone(p,g[0]),g[1]=e.clone(w,g[1]),N=U.generateArc({positions:g,granularity:a,ellipsoid:n}),x=T(N,y,l,x),i&&(E.push(y.x,y.y,y.z),S.push(s.x,s.y,s.z)),d=e.clone(f,d),y=e.normalize(e.cross(s,c,y),y),f=e.add(h,e.multiplyByScalar(y,2*l,f),f),p=e.add(h,e.multiplyByScalar(y,l,p),p),o===z.ROUNDED||o===z.BEVELED?k.push({leftPositions:V(h,d,f,o,r)}):k.push({leftPositions:H(A,e.negate(m,m),f,r)})):(f=e.add(A,m,f),w=e.add(f,e.negate(e.multiplyByScalar(y,l,w),w),w),h=e.add(f,e.negate(e.multiplyByScalar(y,2*l,h),h),h),g[0]=e.clone(p,g[0]),g[1]=e.clone(w,g[1]),N=U.generateArc({positions:g,granularity:a,ellipsoid:n}),x=T(N,y,l,x),i&&(E.push(y.x,y.y,y.z),S.push(s.x,s.y,s.z)),d=e.clone(h,d),y=e.normalize(e.cross(s,c,y),y),h=e.add(f,e.negate(e.multiplyByScalar(y,2*l,h),h),h),p=e.add(f,e.negate(e.multiplyByScalar(y,l,p),p),p),o===z.ROUNDED||o===z.BEVELED?k.push({rightPositions:V(f,d,h,o,r)}):k.push({rightPositions:H(A,m,h,r)})),u=e.negate(c,u)}A=D}return s=n.geodeticSurfaceNormal(A,s),g[0]=e.clone(p,g[0]),g[1]=e.clone(A,g[1]),N=U.generateArc({positions:g,granularity:a,ellipsoid:n}),x=T(N,y,l,x),i&&(E.push(y.x,y.y,y.z),S.push(s.x,s.y,s.z)),o===z.ROUNDED&&(j=ae(x)),{positions:x,corners:k,lefts:E,normals:S,endPositions:j}};var we=G;export{we as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.120
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-I36V6CKP.js.LICENSE.txt */
|
|
2
|
+
import{a as N}from"./chunk-SXYTVHGU.js";import{a as i}from"./chunk-KGKDCW56.js";import{a}from"./chunk-G4IO3CPJ.js";import{e as T}from"./chunk-GBRF7ES3.js";var r={BYTE:N.BYTE,UNSIGNED_BYTE:N.UNSIGNED_BYTE,SHORT:N.SHORT,UNSIGNED_SHORT:N.UNSIGNED_SHORT,INT:N.INT,UNSIGNED_INT:N.UNSIGNED_INT,FLOAT:N.FLOAT,DOUBLE:N.DOUBLE,getSizeInBytes:function(e){if(!T(e))throw new a("value is required.");switch(e){case r.BYTE:return Int8Array.BYTES_PER_ELEMENT;case r.UNSIGNED_BYTE:return Uint8Array.BYTES_PER_ELEMENT;case r.SHORT:return Int16Array.BYTES_PER_ELEMENT;case r.UNSIGNED_SHORT:return Uint16Array.BYTES_PER_ELEMENT;case r.INT:return Int32Array.BYTES_PER_ELEMENT;case r.UNSIGNED_INT:return Uint32Array.BYTES_PER_ELEMENT;case r.FLOAT:return Float32Array.BYTES_PER_ELEMENT;case r.DOUBLE:return Float64Array.BYTES_PER_ELEMENT;default:throw new a("componentDatatype is not a valid value.")}},fromTypedArray:function(e){if(e instanceof Int8Array)return r.BYTE;if(e instanceof Uint8Array)return r.UNSIGNED_BYTE;if(e instanceof Int16Array)return r.SHORT;if(e instanceof Uint16Array)return r.UNSIGNED_SHORT;if(e instanceof Int32Array)return r.INT;if(e instanceof Uint32Array)return r.UNSIGNED_INT;if(e instanceof Float32Array)return r.FLOAT;if(e instanceof Float64Array)return r.DOUBLE;throw new a("array must be an Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, or Float64Array.")},validate:function(e){return T(e)&&(e===r.BYTE||e===r.UNSIGNED_BYTE||e===r.SHORT||e===r.UNSIGNED_SHORT||e===r.INT||e===r.UNSIGNED_INT||e===r.FLOAT||e===r.DOUBLE)},createTypedArray:function(e,n){if(!T(e))throw new a("componentDatatype is required.");if(!T(n))throw new a("valuesOrLength is required.");switch(e){case r.BYTE:return new Int8Array(n);case r.UNSIGNED_BYTE:return new Uint8Array(n);case r.SHORT:return new Int16Array(n);case r.UNSIGNED_SHORT:return new Uint16Array(n);case r.INT:return new Int32Array(n);case r.UNSIGNED_INT:return new Uint32Array(n);case r.FLOAT:return new Float32Array(n);case r.DOUBLE:return new Float64Array(n);default:throw new a("componentDatatype is not a valid value.")}},createArrayBufferView:function(e,n,t,E){if(!T(e))throw new a("componentDatatype is required.");if(!T(n))throw new a("buffer is required.");switch(t=i(t,0),E=i(E,(n.byteLength-t)/r.getSizeInBytes(e)),e){case r.BYTE:return new Int8Array(n,t,E);case r.UNSIGNED_BYTE:return new Uint8Array(n,t,E);case r.SHORT:return new Int16Array(n,t,E);case r.UNSIGNED_SHORT:return new Uint16Array(n,t,E);case r.INT:return new Int32Array(n,t,E);case r.UNSIGNED_INT:return new Uint32Array(n,t,E);case r.FLOAT:return new Float32Array(n,t,E);case r.DOUBLE:return new Float64Array(n,t,E);default:throw new a("componentDatatype is not a valid value.")}},fromName:function(e){switch(e){case"BYTE":return r.BYTE;case"UNSIGNED_BYTE":return r.UNSIGNED_BYTE;case"SHORT":return r.SHORT;case"UNSIGNED_SHORT":return r.UNSIGNED_SHORT;case"INT":return r.INT;case"UNSIGNED_INT":return r.UNSIGNED_INT;case"FLOAT":return r.FLOAT;case"DOUBLE":return r.DOUBLE;default:throw new a("name is not a valid value.")}}},U=Object.freeze(r);export{U as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.120
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.120
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-LL4PRXXO.js.LICENSE.txt */
|
|
2
|
+
import{f as j}from"./chunk-WG62ICZK.js";import{a as E}from"./chunk-EEN7GMYN.js";import{a as C}from"./chunk-KGKDCW56.js";import{b as n}from"./chunk-G4IO3CPJ.js";import{e as O}from"./chunk-GBRF7ES3.js";function l(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),6*t<1?e+6*(r-e)*t:2*t<1?r:3*t<2?e+(r-e)*(2/3-t)*6:e}function e(e,r,t,o){this.red=C(e,1),this.green=C(r,1),this.blue=C(t,1),this.alpha=C(o,1)}var A,g,m;e.fromCartesian4=function(r,t){return n.typeOf.object("cartesian",r),O(t)?(t.red=r.x,t.green=r.y,t.blue=r.z,t.alpha=r.w,t):new e(r.x,r.y,r.z,r.w)},e.fromBytes=function(r,t,o,n,s){return r=e.byteToFloat(C(r,255)),t=e.byteToFloat(C(t,255)),o=e.byteToFloat(C(o,255)),n=e.byteToFloat(C(n,255)),O(s)?(s.red=r,s.green=t,s.blue=o,s.alpha=n,s):new e(r,t,o,n)},e.fromAlpha=function(r,t,o){return n.typeOf.object("color",r),n.typeOf.number("alpha",t),O(o)?(o.red=r.red,o.green=r.green,o.blue=r.blue,o.alpha=t,o):new e(r.red,r.green,r.blue,t)},j.supportsTypedArrays()&&(A=new ArrayBuffer(4),g=new Uint32Array(A),m=new Uint8Array(A)),e.fromRgba=function(r,t){return g[0]=r,e.fromBytes(m[0],m[1],m[2],m[3],t)},e.fromHsl=function(r,t,o,n,s){r=C(r,0)%1,t=C(t,0),o=C(o,0),n=C(n,1);let f=o,i=o,a=o;if(0!==t){let e;e=o<.5?o*(1+t):o+t-o*t;let n=2*o-e;f=l(n,e,r+1/3),i=l(n,e,r),a=l(n,e,r-1/3)}return O(s)?(s.red=f,s.green=i,s.blue=a,s.alpha=n,s):new e(f,i,a,n)},e.fromRandom=function(r,t){let o=(r=C(r,C.EMPTY_OBJECT)).red;if(!O(o)){let e=C(r.minimumRed,0),t=C(r.maximumRed,1);n.typeOf.number.lessThanOrEquals("minimumRed",e,t),o=e+E.nextRandomNumber()*(t-e)}let s=r.green;if(!O(s)){let e=C(r.minimumGreen,0),t=C(r.maximumGreen,1);n.typeOf.number.lessThanOrEquals("minimumGreen",e,t),s=e+E.nextRandomNumber()*(t-e)}let f=r.blue;if(!O(f)){let e=C(r.minimumBlue,0),t=C(r.maximumBlue,1);n.typeOf.number.lessThanOrEquals("minimumBlue",e,t),f=e+E.nextRandomNumber()*(t-e)}let l=r.alpha;if(!O(l)){let e=C(r.minimumAlpha,0),t=C(r.maximumAlpha,1);n.typeOf.number.lessThanOrEquals("minumumAlpha",e,t),l=e+E.nextRandomNumber()*(t-e)}return O(t)?(t.red=o,t.green=s,t.blue=f,t.alpha=l,t):new e(o,s,f,l)};var a=/^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i,z=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i,p=/^rgba?\s*\(\s*([0-9.]+%?)\s*[,\s]+\s*([0-9.]+%?)\s*[,\s]+\s*([0-9.]+%?)(?:\s*[,\s/]+\s*([0-9.]+))?\s*\)$/i,R=/^hsla?\s*\(\s*([0-9.]+)\s*[,\s]+\s*([0-9.]+%)\s*[,\s]+\s*([0-9.]+%)(?:\s*[,\s/]+\s*([0-9.]+))?\s*\)$/i;e.fromCssColorString=function(r,t){n.typeOf.string("color",r),O(t)||(t=new e);let o=e[(r=r.trim()).toUpperCase()];if(O(o))return e.clone(o,t),t;let s=a.exec(r);return null!==s?(t.red=parseInt(s[1],16)/15,t.green=parseInt(s[2],16)/15,t.blue=parseInt(s[3],16)/15,t.alpha=parseInt(C(s[4],"f"),16)/15,t):(s=z.exec(r),null!==s?(t.red=parseInt(s[1],16)/255,t.green=parseInt(s[2],16)/255,t.blue=parseInt(s[3],16)/255,t.alpha=parseInt(C(s[4],"ff"),16)/255,t):(s=p.exec(r),null!==s?(t.red=parseFloat(s[1])/("%"===s[1].substr(-1)?100:255),t.green=parseFloat(s[2])/("%"===s[2].substr(-1)?100:255),t.blue=parseFloat(s[3])/("%"===s[3].substr(-1)?100:255),t.alpha=parseFloat(C(s[4],"1.0")),t):(s=R.exec(r),null!==s?e.fromHsl(parseFloat(s[1])/360,parseFloat(s[2])/100,parseFloat(s[3])/100,parseFloat(C(s[4],"1.0")),t):t=void 0)))},e.packedLength=4,e.pack=function(e,r,t){return n.typeOf.object("value",e),n.defined("array",r),t=C(t,0),r[t++]=e.red,r[t++]=e.green,r[t++]=e.blue,r[t]=e.alpha,r},e.unpack=function(r,t,o){return n.defined("array",r),t=C(t,0),O(o)||(o=new e),o.red=r[t++],o.green=r[t++],o.blue=r[t++],o.alpha=r[t],o},e.byteToFloat=function(e){return e/255},e.floatToByte=function(e){return 1===e?255:256*e|0},e.clone=function(r,t){if(O(r))return O(t)?(t.red=r.red,t.green=r.green,t.blue=r.blue,t.alpha=r.alpha,t):new e(r.red,r.green,r.blue,r.alpha)},e.equals=function(e,r){return e===r||O(e)&&O(r)&&e.red===r.red&&e.green===r.green&&e.blue===r.blue&&e.alpha===r.alpha},e.equalsArray=function(e,r,t){return e.red===r[t]&&e.green===r[t+1]&&e.blue===r[t+2]&&e.alpha===r[t+3]},e.prototype.clone=function(r){return e.clone(this,r)},e.prototype.equals=function(r){return e.equals(this,r)},e.prototype.equalsEpsilon=function(e,r){return this===e||O(e)&&Math.abs(this.red-e.red)<=r&&Math.abs(this.green-e.green)<=r&&Math.abs(this.blue-e.blue)<=r&&Math.abs(this.alpha-e.alpha)<=r},e.prototype.toString=function(){return`(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`},e.prototype.toCssColorString=function(){let r=e.floatToByte(this.red),t=e.floatToByte(this.green),o=e.floatToByte(this.blue);return 1===this.alpha?`rgb(${r},${t},${o})`:`rgba(${r},${t},${o},${this.alpha})`},e.prototype.toCssHexString=function(){let r=e.floatToByte(this.red).toString(16);r.length<2&&(r=`0${r}`);let t=e.floatToByte(this.green).toString(16);t.length<2&&(t=`0${t}`);let o=e.floatToByte(this.blue).toString(16);if(o.length<2&&(o=`0${o}`),this.alpha<1){let n=e.floatToByte(this.alpha).toString(16);return n.length<2&&(n=`0${n}`),`#${r}${t}${o}${n}`}return`#${r}${t}${o}`},e.prototype.toBytes=function(r){let t=e.floatToByte(this.red),o=e.floatToByte(this.green),n=e.floatToByte(this.blue),s=e.floatToByte(this.alpha);return O(r)?(r[0]=t,r[1]=o,r[2]=n,r[3]=s,r):[t,o,n,s]},e.prototype.toRgba=function(){return m[0]=e.floatToByte(this.red),m[1]=e.floatToByte(this.green),m[2]=e.floatToByte(this.blue),m[3]=e.floatToByte(this.alpha),g[0]},e.prototype.brighten=function(e,r){return n.typeOf.number("magnitude",e),n.typeOf.number.greaterThanOrEquals("magnitude",e,0),n.typeOf.object("result",r),e=1-e,r.red=1-(1-this.red)*e,r.green=1-(1-this.green)*e,r.blue=1-(1-this.blue)*e,r.alpha=this.alpha,r},e.prototype.darken=function(e,r){return n.typeOf.number("magnitude",e),n.typeOf.number.greaterThanOrEquals("magnitude",e,0),n.typeOf.object("result",r),e=1-e,r.red=this.red*e,r.green=this.green*e,r.blue=this.blue*e,r.alpha=this.alpha,r},e.prototype.withAlpha=function(r,t){return e.fromAlpha(this,r,t)},e.add=function(e,r,t){return n.typeOf.object("left",e),n.typeOf.object("right",r),n.typeOf.object("result",t),t.red=e.red+r.red,t.green=e.green+r.green,t.blue=e.blue+r.blue,t.alpha=e.alpha+r.alpha,t},e.subtract=function(e,r,t){return n.typeOf.object("left",e),n.typeOf.object("right",r),n.typeOf.object("result",t),t.red=e.red-r.red,t.green=e.green-r.green,t.blue=e.blue-r.blue,t.alpha=e.alpha-r.alpha,t},e.multiply=function(e,r,t){return n.typeOf.object("left",e),n.typeOf.object("right",r),n.typeOf.object("result",t),t.red=e.red*r.red,t.green=e.green*r.green,t.blue=e.blue*r.blue,t.alpha=e.alpha*r.alpha,t},e.divide=function(e,r,t){return n.typeOf.object("left",e),n.typeOf.object("right",r),n.typeOf.object("result",t),t.red=e.red/r.red,t.green=e.green/r.green,t.blue=e.blue/r.blue,t.alpha=e.alpha/r.alpha,t},e.mod=function(e,r,t){return n.typeOf.object("left",e),n.typeOf.object("right",r),n.typeOf.object("result",t),t.red=e.red%r.red,t.green=e.green%r.green,t.blue=e.blue%r.blue,t.alpha=e.alpha%r.alpha,t},e.lerp=function(e,r,t,o){return n.typeOf.object("start",e),n.typeOf.object("end",r),n.typeOf.number("t",t),n.typeOf.object("result",o),o.red=E.lerp(e.red,r.red,t),o.green=E.lerp(e.green,r.green,t),o.blue=E.lerp(e.blue,r.blue,t),o.alpha=E.lerp(e.alpha,r.alpha,t),o},e.multiplyByScalar=function(e,r,t){return n.typeOf.object("color",e),n.typeOf.number("scalar",r),n.typeOf.object("result",t),t.red=e.red*r,t.green=e.green*r,t.blue=e.blue*r,t.alpha=e.alpha*r,t},e.divideByScalar=function(e,r,t){return n.typeOf.object("color",e),n.typeOf.number("scalar",r),n.typeOf.object("result",t),t.red=e.red/r,t.green=e.green/r,t.blue=e.blue/r,t.alpha=e.alpha/r,t},e.ALICEBLUE=Object.freeze(e.fromCssColorString("#F0F8FF")),e.ANTIQUEWHITE=Object.freeze(e.fromCssColorString("#FAEBD7")),e.AQUA=Object.freeze(e.fromCssColorString("#00FFFF")),e.AQUAMARINE=Object.freeze(e.fromCssColorString("#7FFFD4")),e.AZURE=Object.freeze(e.fromCssColorString("#F0FFFF")),e.BEIGE=Object.freeze(e.fromCssColorString("#F5F5DC")),e.BISQUE=Object.freeze(e.fromCssColorString("#FFE4C4")),e.BLACK=Object.freeze(e.fromCssColorString("#000000")),e.BLANCHEDALMOND=Object.freeze(e.fromCssColorString("#FFEBCD")),e.BLUE=Object.freeze(e.fromCssColorString("#0000FF")),e.BLUEVIOLET=Object.freeze(e.fromCssColorString("#8A2BE2")),e.BROWN=Object.freeze(e.fromCssColorString("#A52A2A")),e.BURLYWOOD=Object.freeze(e.fromCssColorString("#DEB887")),e.CADETBLUE=Object.freeze(e.fromCssColorString("#5F9EA0")),e.CHARTREUSE=Object.freeze(e.fromCssColorString("#7FFF00")),e.CHOCOLATE=Object.freeze(e.fromCssColorString("#D2691E")),e.CORAL=Object.freeze(e.fromCssColorString("#FF7F50")),e.CORNFLOWERBLUE=Object.freeze(e.fromCssColorString("#6495ED")),e.CORNSILK=Object.freeze(e.fromCssColorString("#FFF8DC")),e.CRIMSON=Object.freeze(e.fromCssColorString("#DC143C")),e.CYAN=Object.freeze(e.fromCssColorString("#00FFFF")),e.DARKBLUE=Object.freeze(e.fromCssColorString("#00008B")),e.DARKCYAN=Object.freeze(e.fromCssColorString("#008B8B")),e.DARKGOLDENROD=Object.freeze(e.fromCssColorString("#B8860B")),e.DARKGRAY=Object.freeze(e.fromCssColorString("#A9A9A9")),e.DARKGREEN=Object.freeze(e.fromCssColorString("#006400")),e.DARKGREY=e.DARKGRAY,e.DARKKHAKI=Object.freeze(e.fromCssColorString("#BDB76B")),e.DARKMAGENTA=Object.freeze(e.fromCssColorString("#8B008B")),e.DARKOLIVEGREEN=Object.freeze(e.fromCssColorString("#556B2F")),e.DARKORANGE=Object.freeze(e.fromCssColorString("#FF8C00")),e.DARKORCHID=Object.freeze(e.fromCssColorString("#9932CC")),e.DARKRED=Object.freeze(e.fromCssColorString("#8B0000")),e.DARKSALMON=Object.freeze(e.fromCssColorString("#E9967A")),e.DARKSEAGREEN=Object.freeze(e.fromCssColorString("#8FBC8F")),e.DARKSLATEBLUE=Object.freeze(e.fromCssColorString("#483D8B")),e.DARKSLATEGRAY=Object.freeze(e.fromCssColorString("#2F4F4F")),e.DARKSLATEGREY=e.DARKSLATEGRAY,e.DARKTURQUOISE=Object.freeze(e.fromCssColorString("#00CED1")),e.DARKVIOLET=Object.freeze(e.fromCssColorString("#9400D3")),e.DEEPPINK=Object.freeze(e.fromCssColorString("#FF1493")),e.DEEPSKYBLUE=Object.freeze(e.fromCssColorString("#00BFFF")),e.DIMGRAY=Object.freeze(e.fromCssColorString("#696969")),e.DIMGREY=e.DIMGRAY,e.DODGERBLUE=Object.freeze(e.fromCssColorString("#1E90FF")),e.FIREBRICK=Object.freeze(e.fromCssColorString("#B22222")),e.FLORALWHITE=Object.freeze(e.fromCssColorString("#FFFAF0")),e.FORESTGREEN=Object.freeze(e.fromCssColorString("#228B22")),e.FUCHSIA=Object.freeze(e.fromCssColorString("#FF00FF")),e.GAINSBORO=Object.freeze(e.fromCssColorString("#DCDCDC")),e.GHOSTWHITE=Object.freeze(e.fromCssColorString("#F8F8FF")),e.GOLD=Object.freeze(e.fromCssColorString("#FFD700")),e.GOLDENROD=Object.freeze(e.fromCssColorString("#DAA520")),e.GRAY=Object.freeze(e.fromCssColorString("#808080")),e.GREEN=Object.freeze(e.fromCssColorString("#008000")),e.GREENYELLOW=Object.freeze(e.fromCssColorString("#ADFF2F")),e.GREY=e.GRAY,e.HONEYDEW=Object.freeze(e.fromCssColorString("#F0FFF0")),e.HOTPINK=Object.freeze(e.fromCssColorString("#FF69B4")),e.INDIANRED=Object.freeze(e.fromCssColorString("#CD5C5C")),e.INDIGO=Object.freeze(e.fromCssColorString("#4B0082")),e.IVORY=Object.freeze(e.fromCssColorString("#FFFFF0")),e.KHAKI=Object.freeze(e.fromCssColorString("#F0E68C")),e.LAVENDER=Object.freeze(e.fromCssColorString("#E6E6FA")),e.LAVENDAR_BLUSH=Object.freeze(e.fromCssColorString("#FFF0F5")),e.LAWNGREEN=Object.freeze(e.fromCssColorString("#7CFC00")),e.LEMONCHIFFON=Object.freeze(e.fromCssColorString("#FFFACD")),e.LIGHTBLUE=Object.freeze(e.fromCssColorString("#ADD8E6")),e.LIGHTCORAL=Object.freeze(e.fromCssColorString("#F08080")),e.LIGHTCYAN=Object.freeze(e.fromCssColorString("#E0FFFF")),e.LIGHTGOLDENRODYELLOW=Object.freeze(e.fromCssColorString("#FAFAD2")),e.LIGHTGRAY=Object.freeze(e.fromCssColorString("#D3D3D3")),e.LIGHTGREEN=Object.freeze(e.fromCssColorString("#90EE90")),e.LIGHTGREY=e.LIGHTGRAY,e.LIGHTPINK=Object.freeze(e.fromCssColorString("#FFB6C1")),e.LIGHTSEAGREEN=Object.freeze(e.fromCssColorString("#20B2AA")),e.LIGHTSKYBLUE=Object.freeze(e.fromCssColorString("#87CEFA")),e.LIGHTSLATEGRAY=Object.freeze(e.fromCssColorString("#778899")),e.LIGHTSLATEGREY=e.LIGHTSLATEGRAY,e.LIGHTSTEELBLUE=Object.freeze(e.fromCssColorString("#B0C4DE")),e.LIGHTYELLOW=Object.freeze(e.fromCssColorString("#FFFFE0")),e.LIME=Object.freeze(e.fromCssColorString("#00FF00")),e.LIMEGREEN=Object.freeze(e.fromCssColorString("#32CD32")),e.LINEN=Object.freeze(e.fromCssColorString("#FAF0E6")),e.MAGENTA=Object.freeze(e.fromCssColorString("#FF00FF")),e.MAROON=Object.freeze(e.fromCssColorString("#800000")),e.MEDIUMAQUAMARINE=Object.freeze(e.fromCssColorString("#66CDAA")),e.MEDIUMBLUE=Object.freeze(e.fromCssColorString("#0000CD")),e.MEDIUMORCHID=Object.freeze(e.fromCssColorString("#BA55D3")),e.MEDIUMPURPLE=Object.freeze(e.fromCssColorString("#9370DB")),e.MEDIUMSEAGREEN=Object.freeze(e.fromCssColorString("#3CB371")),e.MEDIUMSLATEBLUE=Object.freeze(e.fromCssColorString("#7B68EE")),e.MEDIUMSPRINGGREEN=Object.freeze(e.fromCssColorString("#00FA9A")),e.MEDIUMTURQUOISE=Object.freeze(e.fromCssColorString("#48D1CC")),e.MEDIUMVIOLETRED=Object.freeze(e.fromCssColorString("#C71585")),e.MIDNIGHTBLUE=Object.freeze(e.fromCssColorString("#191970")),e.MINTCREAM=Object.freeze(e.fromCssColorString("#F5FFFA")),e.MISTYROSE=Object.freeze(e.fromCssColorString("#FFE4E1")),e.MOCCASIN=Object.freeze(e.fromCssColorString("#FFE4B5")),e.NAVAJOWHITE=Object.freeze(e.fromCssColorString("#FFDEAD")),e.NAVY=Object.freeze(e.fromCssColorString("#000080")),e.OLDLACE=Object.freeze(e.fromCssColorString("#FDF5E6")),e.OLIVE=Object.freeze(e.fromCssColorString("#808000")),e.OLIVEDRAB=Object.freeze(e.fromCssColorString("#6B8E23")),e.ORANGE=Object.freeze(e.fromCssColorString("#FFA500")),e.ORANGERED=Object.freeze(e.fromCssColorString("#FF4500")),e.ORCHID=Object.freeze(e.fromCssColorString("#DA70D6")),e.PALEGOLDENROD=Object.freeze(e.fromCssColorString("#EEE8AA")),e.PALEGREEN=Object.freeze(e.fromCssColorString("#98FB98")),e.PALETURQUOISE=Object.freeze(e.fromCssColorString("#AFEEEE")),e.PALEVIOLETRED=Object.freeze(e.fromCssColorString("#DB7093")),e.PAPAYAWHIP=Object.freeze(e.fromCssColorString("#FFEFD5")),e.PEACHPUFF=Object.freeze(e.fromCssColorString("#FFDAB9")),e.PERU=Object.freeze(e.fromCssColorString("#CD853F")),e.PINK=Object.freeze(e.fromCssColorString("#FFC0CB")),e.PLUM=Object.freeze(e.fromCssColorString("#DDA0DD")),e.POWDERBLUE=Object.freeze(e.fromCssColorString("#B0E0E6")),e.PURPLE=Object.freeze(e.fromCssColorString("#800080")),e.RED=Object.freeze(e.fromCssColorString("#FF0000")),e.ROSYBROWN=Object.freeze(e.fromCssColorString("#BC8F8F")),e.ROYALBLUE=Object.freeze(e.fromCssColorString("#4169E1")),e.SADDLEBROWN=Object.freeze(e.fromCssColorString("#8B4513")),e.SALMON=Object.freeze(e.fromCssColorString("#FA8072")),e.SANDYBROWN=Object.freeze(e.fromCssColorString("#F4A460")),e.SEAGREEN=Object.freeze(e.fromCssColorString("#2E8B57")),e.SEASHELL=Object.freeze(e.fromCssColorString("#FFF5EE")),e.SIENNA=Object.freeze(e.fromCssColorString("#A0522D")),e.SILVER=Object.freeze(e.fromCssColorString("#C0C0C0")),e.SKYBLUE=Object.freeze(e.fromCssColorString("#87CEEB")),e.SLATEBLUE=Object.freeze(e.fromCssColorString("#6A5ACD")),e.SLATEGRAY=Object.freeze(e.fromCssColorString("#708090")),e.SLATEGREY=e.SLATEGRAY,e.SNOW=Object.freeze(e.fromCssColorString("#FFFAFA")),e.SPRINGGREEN=Object.freeze(e.fromCssColorString("#00FF7F")),e.STEELBLUE=Object.freeze(e.fromCssColorString("#4682B4")),e.TAN=Object.freeze(e.fromCssColorString("#D2B48C")),e.TEAL=Object.freeze(e.fromCssColorString("#008080")),e.THISTLE=Object.freeze(e.fromCssColorString("#D8BFD8")),e.TOMATO=Object.freeze(e.fromCssColorString("#FF6347")),e.TURQUOISE=Object.freeze(e.fromCssColorString("#40E0D0")),e.VIOLET=Object.freeze(e.fromCssColorString("#EE82EE")),e.WHEAT=Object.freeze(e.fromCssColorString("#F5DEB3")),e.WHITE=Object.freeze(e.fromCssColorString("#FFFFFF")),e.WHITESMOKE=Object.freeze(e.fromCssColorString("#F5F5F5")),e.YELLOW=Object.freeze(e.fromCssColorString("#FFFF00")),e.YELLOWGREEN=Object.freeze(e.fromCssColorString("#9ACD32")),e.TRANSPARENT=Object.freeze(new e(0,0,0,0));var h=e;export{h as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.120
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|