drone_view 3.0.63 → 3.0.64

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.
Files changed (494) hide show
  1. package/dist/droneView.js +1 -1
  2. package/package.json +1 -1
  3. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
  4. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
  5. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
  6. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
  7. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
  8. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
  9. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
  10. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
  11. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
  12. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
  13. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
  14. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
  15. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
  16. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
  17. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
  18. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
  19. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
  20. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
  21. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
  22. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
  23. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
  24. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
  25. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
  26. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
  27. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
  28. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
  29. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
  30. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
  31. package/serviceV2/3d/Assets/Images/bing_maps_credit.png +0 -0
  32. package/serviceV2/3d/Assets/Images/cesium_credit.png +0 -0
  33. package/serviceV2/3d/Assets/Images/google_earth_credit.png +0 -0
  34. package/serviceV2/3d/Assets/Images/ion-credit.png +0 -0
  35. package/serviceV2/3d/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  36. package/serviceV2/3d/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  37. package/serviceV2/3d/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  38. package/serviceV2/3d/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  39. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  40. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  41. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  42. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  43. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  44. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  45. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  46. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  47. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  48. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  49. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  50. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  51. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  52. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  53. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  54. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  55. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  56. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  57. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  58. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  59. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  60. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  61. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  62. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  63. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  64. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  65. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  66. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  67. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  68. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  69. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  70. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  71. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  72. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  73. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  74. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  75. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  76. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  77. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  78. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  79. package/serviceV2/3d/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
  80. package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  81. package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  82. package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  83. package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  84. package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  85. package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  86. package/serviceV2/3d/Assets/Textures/maki/airfield.png +0 -0
  87. package/serviceV2/3d/Assets/Textures/maki/airport.png +0 -0
  88. package/serviceV2/3d/Assets/Textures/maki/alcohol-shop.png +0 -0
  89. package/serviceV2/3d/Assets/Textures/maki/america-football.png +0 -0
  90. package/serviceV2/3d/Assets/Textures/maki/art-gallery.png +0 -0
  91. package/serviceV2/3d/Assets/Textures/maki/bakery.png +0 -0
  92. package/serviceV2/3d/Assets/Textures/maki/bank.png +0 -0
  93. package/serviceV2/3d/Assets/Textures/maki/bar.png +0 -0
  94. package/serviceV2/3d/Assets/Textures/maki/baseball.png +0 -0
  95. package/serviceV2/3d/Assets/Textures/maki/basketball.png +0 -0
  96. package/serviceV2/3d/Assets/Textures/maki/beer.png +0 -0
  97. package/serviceV2/3d/Assets/Textures/maki/bicycle.png +0 -0
  98. package/serviceV2/3d/Assets/Textures/maki/building.png +0 -0
  99. package/serviceV2/3d/Assets/Textures/maki/bus.png +0 -0
  100. package/serviceV2/3d/Assets/Textures/maki/cafe.png +0 -0
  101. package/serviceV2/3d/Assets/Textures/maki/camera.png +0 -0
  102. package/serviceV2/3d/Assets/Textures/maki/campsite.png +0 -0
  103. package/serviceV2/3d/Assets/Textures/maki/car.png +0 -0
  104. package/serviceV2/3d/Assets/Textures/maki/cemetery.png +0 -0
  105. package/serviceV2/3d/Assets/Textures/maki/cesium.png +0 -0
  106. package/serviceV2/3d/Assets/Textures/maki/chemist.png +0 -0
  107. package/serviceV2/3d/Assets/Textures/maki/cinema.png +0 -0
  108. package/serviceV2/3d/Assets/Textures/maki/circle-stroked.png +0 -0
  109. package/serviceV2/3d/Assets/Textures/maki/circle.png +0 -0
  110. package/serviceV2/3d/Assets/Textures/maki/city.png +0 -0
  111. package/serviceV2/3d/Assets/Textures/maki/clothing-store.png +0 -0
  112. package/serviceV2/3d/Assets/Textures/maki/college.png +0 -0
  113. package/serviceV2/3d/Assets/Textures/maki/commercial.png +0 -0
  114. package/serviceV2/3d/Assets/Textures/maki/cricket.png +0 -0
  115. package/serviceV2/3d/Assets/Textures/maki/cross.png +0 -0
  116. package/serviceV2/3d/Assets/Textures/maki/dam.png +0 -0
  117. package/serviceV2/3d/Assets/Textures/maki/danger.png +0 -0
  118. package/serviceV2/3d/Assets/Textures/maki/disability.png +0 -0
  119. package/serviceV2/3d/Assets/Textures/maki/dog-park.png +0 -0
  120. package/serviceV2/3d/Assets/Textures/maki/embassy.png +0 -0
  121. package/serviceV2/3d/Assets/Textures/maki/emergency-telephone.png +0 -0
  122. package/serviceV2/3d/Assets/Textures/maki/entrance.png +0 -0
  123. package/serviceV2/3d/Assets/Textures/maki/farm.png +0 -0
  124. package/serviceV2/3d/Assets/Textures/maki/fast-food.png +0 -0
  125. package/serviceV2/3d/Assets/Textures/maki/ferry.png +0 -0
  126. package/serviceV2/3d/Assets/Textures/maki/fire-station.png +0 -0
  127. package/serviceV2/3d/Assets/Textures/maki/fuel.png +0 -0
  128. package/serviceV2/3d/Assets/Textures/maki/garden.png +0 -0
  129. package/serviceV2/3d/Assets/Textures/maki/gift.png +0 -0
  130. package/serviceV2/3d/Assets/Textures/maki/golf.png +0 -0
  131. package/serviceV2/3d/Assets/Textures/maki/grocery.png +0 -0
  132. package/serviceV2/3d/Assets/Textures/maki/hairdresser.png +0 -0
  133. package/serviceV2/3d/Assets/Textures/maki/harbor.png +0 -0
  134. package/serviceV2/3d/Assets/Textures/maki/heart.png +0 -0
  135. package/serviceV2/3d/Assets/Textures/maki/heliport.png +0 -0
  136. package/serviceV2/3d/Assets/Textures/maki/hospital.png +0 -0
  137. package/serviceV2/3d/Assets/Textures/maki/ice-cream.png +0 -0
  138. package/serviceV2/3d/Assets/Textures/maki/industrial.png +0 -0
  139. package/serviceV2/3d/Assets/Textures/maki/land-use.png +0 -0
  140. package/serviceV2/3d/Assets/Textures/maki/laundry.png +0 -0
  141. package/serviceV2/3d/Assets/Textures/maki/library.png +0 -0
  142. package/serviceV2/3d/Assets/Textures/maki/lighthouse.png +0 -0
  143. package/serviceV2/3d/Assets/Textures/maki/lodging.png +0 -0
  144. package/serviceV2/3d/Assets/Textures/maki/logging.png +0 -0
  145. package/serviceV2/3d/Assets/Textures/maki/london-underground.png +0 -0
  146. package/serviceV2/3d/Assets/Textures/maki/marker-stroked.png +0 -0
  147. package/serviceV2/3d/Assets/Textures/maki/marker.png +0 -0
  148. package/serviceV2/3d/Assets/Textures/maki/minefield.png +0 -0
  149. package/serviceV2/3d/Assets/Textures/maki/mobilephone.png +0 -0
  150. package/serviceV2/3d/Assets/Textures/maki/monument.png +0 -0
  151. package/serviceV2/3d/Assets/Textures/maki/museum.png +0 -0
  152. package/serviceV2/3d/Assets/Textures/maki/music.png +0 -0
  153. package/serviceV2/3d/Assets/Textures/maki/oil-well.png +0 -0
  154. package/serviceV2/3d/Assets/Textures/maki/park.png +0 -0
  155. package/serviceV2/3d/Assets/Textures/maki/park2.png +0 -0
  156. package/serviceV2/3d/Assets/Textures/maki/parking-garage.png +0 -0
  157. package/serviceV2/3d/Assets/Textures/maki/parking.png +0 -0
  158. package/serviceV2/3d/Assets/Textures/maki/pharmacy.png +0 -0
  159. package/serviceV2/3d/Assets/Textures/maki/pitch.png +0 -0
  160. package/serviceV2/3d/Assets/Textures/maki/place-of-worship.png +0 -0
  161. package/serviceV2/3d/Assets/Textures/maki/playground.png +0 -0
  162. package/serviceV2/3d/Assets/Textures/maki/police.png +0 -0
  163. package/serviceV2/3d/Assets/Textures/maki/polling-place.png +0 -0
  164. package/serviceV2/3d/Assets/Textures/maki/post.png +0 -0
  165. package/serviceV2/3d/Assets/Textures/maki/prison.png +0 -0
  166. package/serviceV2/3d/Assets/Textures/maki/rail-above.png +0 -0
  167. package/serviceV2/3d/Assets/Textures/maki/rail-light.png +0 -0
  168. package/serviceV2/3d/Assets/Textures/maki/rail-metro.png +0 -0
  169. package/serviceV2/3d/Assets/Textures/maki/rail-underground.png +0 -0
  170. package/serviceV2/3d/Assets/Textures/maki/rail.png +0 -0
  171. package/serviceV2/3d/Assets/Textures/maki/religious-christian.png +0 -0
  172. package/serviceV2/3d/Assets/Textures/maki/religious-jewish.png +0 -0
  173. package/serviceV2/3d/Assets/Textures/maki/religious-muslim.png +0 -0
  174. package/serviceV2/3d/Assets/Textures/maki/restaurant.png +0 -0
  175. package/serviceV2/3d/Assets/Textures/maki/roadblock.png +0 -0
  176. package/serviceV2/3d/Assets/Textures/maki/rocket.png +0 -0
  177. package/serviceV2/3d/Assets/Textures/maki/school.png +0 -0
  178. package/serviceV2/3d/Assets/Textures/maki/scooter.png +0 -0
  179. package/serviceV2/3d/Assets/Textures/maki/shop.png +0 -0
  180. package/serviceV2/3d/Assets/Textures/maki/skiing.png +0 -0
  181. package/serviceV2/3d/Assets/Textures/maki/slaughterhouse.png +0 -0
  182. package/serviceV2/3d/Assets/Textures/maki/soccer.png +0 -0
  183. package/serviceV2/3d/Assets/Textures/maki/square-stroked.png +0 -0
  184. package/serviceV2/3d/Assets/Textures/maki/square.png +0 -0
  185. package/serviceV2/3d/Assets/Textures/maki/star-stroked.png +0 -0
  186. package/serviceV2/3d/Assets/Textures/maki/star.png +0 -0
  187. package/serviceV2/3d/Assets/Textures/maki/suitcase.png +0 -0
  188. package/serviceV2/3d/Assets/Textures/maki/swimming.png +0 -0
  189. package/serviceV2/3d/Assets/Textures/maki/telephone.png +0 -0
  190. package/serviceV2/3d/Assets/Textures/maki/tennis.png +0 -0
  191. package/serviceV2/3d/Assets/Textures/maki/theatre.png +0 -0
  192. package/serviceV2/3d/Assets/Textures/maki/toilets.png +0 -0
  193. package/serviceV2/3d/Assets/Textures/maki/town-hall.png +0 -0
  194. package/serviceV2/3d/Assets/Textures/maki/town.png +0 -0
  195. package/serviceV2/3d/Assets/Textures/maki/triangle-stroked.png +0 -0
  196. package/serviceV2/3d/Assets/Textures/maki/triangle.png +0 -0
  197. package/serviceV2/3d/Assets/Textures/maki/village.png +0 -0
  198. package/serviceV2/3d/Assets/Textures/maki/warehouse.png +0 -0
  199. package/serviceV2/3d/Assets/Textures/maki/waste-basket.png +0 -0
  200. package/serviceV2/3d/Assets/Textures/maki/water.png +0 -0
  201. package/serviceV2/3d/Assets/Textures/maki/wetland.png +0 -0
  202. package/serviceV2/3d/Assets/Textures/maki/zoo.png +0 -0
  203. package/serviceV2/3d/Assets/Textures/moonSmall.jpg +0 -0
  204. package/serviceV2/3d/Assets/Textures/pin.svg +1 -0
  205. package/serviceV2/3d/Assets/Textures/waterNormals.jpg +0 -0
  206. package/serviceV2/3d/Assets/Textures/waterNormalsSmall.jpg +0 -0
  207. package/serviceV2/3d/Assets/approximateTerrainHeights.json +1 -0
  208. package/serviceV2/3d/ThirdParty/Workers/package.json +1 -0
  209. package/serviceV2/3d/ThirdParty/Workers/zip-web-worker.js +1 -0
  210. package/serviceV2/3d/ThirdParty/basis_transcoder.wasm +0 -0
  211. package/serviceV2/3d/ThirdParty/draco_decoder.wasm +0 -0
  212. package/serviceV2/3d/ThirdParty/google-earth-dbroot-parser.js +1 -0
  213. package/serviceV2/3d/ThirdParty/wasm_splats_bg.wasm +0 -0
  214. package/serviceV2/3d/ThirdParty/zip-module.wasm +0 -0
  215. package/serviceV2/3d/Widgets/Animation/Animation.css +127 -0
  216. package/serviceV2/3d/Widgets/Animation/lighter.css +70 -0
  217. package/serviceV2/3d/Widgets/BaseLayerPicker/BaseLayerPicker.css +108 -0
  218. package/serviceV2/3d/Widgets/BaseLayerPicker/lighter.css +22 -0
  219. package/serviceV2/3d/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +102 -0
  220. package/serviceV2/3d/Widgets/CesiumInspector/CesiumInspector.css +113 -0
  221. package/serviceV2/3d/Widgets/CesiumWidget/CesiumWidget.css +119 -0
  222. package/serviceV2/3d/Widgets/CesiumWidget/lighter.css +14 -0
  223. package/serviceV2/3d/Widgets/FullscreenButton/FullscreenButton.css +8 -0
  224. package/serviceV2/3d/Widgets/Geocoder/Geocoder.css +70 -0
  225. package/serviceV2/3d/Widgets/Geocoder/lighter.css +17 -0
  226. package/serviceV2/3d/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
  227. package/serviceV2/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  228. package/serviceV2/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  229. package/serviceV2/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  230. package/serviceV2/3d/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  231. package/serviceV2/3d/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  232. package/serviceV2/3d/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  233. package/serviceV2/3d/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  234. package/serviceV2/3d/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  235. package/serviceV2/3d/Widgets/Images/ImageryProviders/googleContour.png +0 -0
  236. package/serviceV2/3d/Widgets/Images/ImageryProviders/googleLabels.png +0 -0
  237. package/serviceV2/3d/Widgets/Images/ImageryProviders/googleRoadmap.png +0 -0
  238. package/serviceV2/3d/Widgets/Images/ImageryProviders/googleSatellite.png +0 -0
  239. package/serviceV2/3d/Widgets/Images/ImageryProviders/googleSatelliteLabels.png +0 -0
  240. package/serviceV2/3d/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  241. package/serviceV2/3d/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  242. package/serviceV2/3d/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  243. package/serviceV2/3d/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  244. package/serviceV2/3d/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  245. package/serviceV2/3d/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  246. package/serviceV2/3d/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  247. package/serviceV2/3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  248. package/serviceV2/3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  249. package/serviceV2/3d/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  250. package/serviceV2/3d/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  251. package/serviceV2/3d/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
  252. package/serviceV2/3d/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
  253. package/serviceV2/3d/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
  254. package/serviceV2/3d/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
  255. package/serviceV2/3d/Widgets/Images/NavigationHelp/Touch.svg +120 -0
  256. package/serviceV2/3d/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
  257. package/serviceV2/3d/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
  258. package/serviceV2/3d/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
  259. package/serviceV2/3d/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
  260. package/serviceV2/3d/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  261. package/serviceV2/3d/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  262. package/serviceV2/3d/Widgets/Images/TimelineIcons.png +0 -0
  263. package/serviceV2/3d/Widgets/Images/info-loading.gif +0 -0
  264. package/serviceV2/3d/Widgets/InfoBox/InfoBox.css +92 -0
  265. package/serviceV2/3d/Widgets/InfoBox/InfoBoxDescription.css +178 -0
  266. package/serviceV2/3d/Widgets/NavigationHelpButton/NavigationHelpButton.css +93 -0
  267. package/serviceV2/3d/Widgets/NavigationHelpButton/lighter.css +38 -0
  268. package/serviceV2/3d/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
  269. package/serviceV2/3d/Widgets/ProjectionPicker/ProjectionPicker.css +38 -0
  270. package/serviceV2/3d/Widgets/SceneModePicker/SceneModePicker.css +56 -0
  271. package/serviceV2/3d/Widgets/SelectionIndicator/SelectionIndicator.css +20 -0
  272. package/serviceV2/3d/Widgets/Timeline/Timeline.css +103 -0
  273. package/serviceV2/3d/Widgets/Timeline/lighter.css +23 -0
  274. package/serviceV2/3d/Widgets/VRButton/VRButton.css +8 -0
  275. package/serviceV2/3d/Widgets/Viewer/Viewer.css +107 -0
  276. package/serviceV2/3d/Widgets/VoxelInspector/VoxelInspector.css +16 -0
  277. package/serviceV2/3d/Widgets/lighter.css +237 -0
  278. package/serviceV2/3d/Widgets/lighterShared.css +46 -0
  279. package/serviceV2/3d/Widgets/shared.css +103 -0
  280. package/serviceV2/3d/Widgets/widgets.css +1342 -0
  281. package/serviceV2/3d/Workers/chunk-2ZPEMRCT.js +2 -0
  282. package/serviceV2/3d/Workers/chunk-2ZPEMRCT.js.LICENSE.txt +24 -0
  283. package/serviceV2/3d/Workers/chunk-3BSRJTW3.js +2 -0
  284. package/serviceV2/3d/Workers/chunk-3BSRJTW3.js.LICENSE.txt +24 -0
  285. package/serviceV2/3d/Workers/chunk-3WSHJXU2.js +2 -0
  286. package/serviceV2/3d/Workers/chunk-3WSHJXU2.js.LICENSE.txt +24 -0
  287. package/serviceV2/3d/Workers/chunk-42MGKNSS.js +2 -0
  288. package/serviceV2/3d/Workers/chunk-42MGKNSS.js.LICENSE.txt +24 -0
  289. package/serviceV2/3d/Workers/chunk-4MJDNHOT.js +2 -0
  290. package/serviceV2/3d/Workers/chunk-4MJDNHOT.js.LICENSE.txt +24 -0
  291. package/serviceV2/3d/Workers/chunk-4WJUWBRK.js +2 -0
  292. package/serviceV2/3d/Workers/chunk-4WJUWBRK.js.LICENSE.txt +24 -0
  293. package/serviceV2/3d/Workers/chunk-5G23AKP3.js +2 -0
  294. package/serviceV2/3d/Workers/chunk-5G23AKP3.js.LICENSE.txt +24 -0
  295. package/serviceV2/3d/Workers/chunk-5HPISDSZ.js +2 -0
  296. package/serviceV2/3d/Workers/chunk-5HPISDSZ.js.LICENSE.txt +24 -0
  297. package/serviceV2/3d/Workers/chunk-APG2S62J.js +2 -0
  298. package/serviceV2/3d/Workers/chunk-APG2S62J.js.LICENSE.txt +24 -0
  299. package/serviceV2/3d/Workers/chunk-AZLP5742.js +2 -0
  300. package/serviceV2/3d/Workers/chunk-AZLP5742.js.LICENSE.txt +24 -0
  301. package/serviceV2/3d/Workers/chunk-BJAB7QAF.js +2 -0
  302. package/serviceV2/3d/Workers/chunk-BJAB7QAF.js.LICENSE.txt +24 -0
  303. package/serviceV2/3d/Workers/chunk-BTDQB5Q4.js +2 -0
  304. package/serviceV2/3d/Workers/chunk-BTDQB5Q4.js.LICENSE.txt +24 -0
  305. package/serviceV2/3d/Workers/chunk-CJRI54BI.js +2 -0
  306. package/serviceV2/3d/Workers/chunk-CJRI54BI.js.LICENSE.txt +24 -0
  307. package/serviceV2/3d/Workers/chunk-CUP6SILZ.js +2 -0
  308. package/serviceV2/3d/Workers/chunk-CUP6SILZ.js.LICENSE.txt +24 -0
  309. package/serviceV2/3d/Workers/chunk-D2NFCOGE.js +2 -0
  310. package/serviceV2/3d/Workers/chunk-D2NFCOGE.js.LICENSE.txt +24 -0
  311. package/serviceV2/3d/Workers/chunk-DK73HV33.js +2 -0
  312. package/serviceV2/3d/Workers/chunk-DK73HV33.js.LICENSE.txt +24 -0
  313. package/serviceV2/3d/Workers/chunk-EDF5FKWJ.js +2 -0
  314. package/serviceV2/3d/Workers/chunk-EDF5FKWJ.js.LICENSE.txt +24 -0
  315. package/serviceV2/3d/Workers/chunk-ET7KY3BS.js +2 -0
  316. package/serviceV2/3d/Workers/chunk-ET7KY3BS.js.LICENSE.txt +24 -0
  317. package/serviceV2/3d/Workers/chunk-FIHQI7E3.js +2 -0
  318. package/serviceV2/3d/Workers/chunk-FIHQI7E3.js.LICENSE.txt +24 -0
  319. package/serviceV2/3d/Workers/chunk-FVGSQINW.js +2 -0
  320. package/serviceV2/3d/Workers/chunk-FVGSQINW.js.LICENSE.txt +24 -0
  321. package/serviceV2/3d/Workers/chunk-FWF3VNA2.js +2 -0
  322. package/serviceV2/3d/Workers/chunk-FWF3VNA2.js.LICENSE.txt +24 -0
  323. package/serviceV2/3d/Workers/chunk-GTQ3WXPT.js +2 -0
  324. package/serviceV2/3d/Workers/chunk-GTQ3WXPT.js.LICENSE.txt +24 -0
  325. package/serviceV2/3d/Workers/chunk-HSJ6GSLC.js +2 -0
  326. package/serviceV2/3d/Workers/chunk-HSJ6GSLC.js.LICENSE.txt +24 -0
  327. package/serviceV2/3d/Workers/chunk-IOTBNCMN.js +2 -0
  328. package/serviceV2/3d/Workers/chunk-IOTBNCMN.js.LICENSE.txt +24 -0
  329. package/serviceV2/3d/Workers/chunk-IYO6TYGP.js +2 -0
  330. package/serviceV2/3d/Workers/chunk-IYO6TYGP.js.LICENSE.txt +24 -0
  331. package/serviceV2/3d/Workers/chunk-J7MBSSYW.js +2 -0
  332. package/serviceV2/3d/Workers/chunk-J7MBSSYW.js.LICENSE.txt +24 -0
  333. package/serviceV2/3d/Workers/chunk-KWAHJ72S.js +2 -0
  334. package/serviceV2/3d/Workers/chunk-KWAHJ72S.js.LICENSE.txt +24 -0
  335. package/serviceV2/3d/Workers/chunk-KX5PR5Q3.js +2 -0
  336. package/serviceV2/3d/Workers/chunk-KX5PR5Q3.js.LICENSE.txt +24 -0
  337. package/serviceV2/3d/Workers/chunk-LJBMXZ6U.js +2 -0
  338. package/serviceV2/3d/Workers/chunk-LJBMXZ6U.js.LICENSE.txt +24 -0
  339. package/serviceV2/3d/Workers/chunk-LPJEXZWM.js +2 -0
  340. package/serviceV2/3d/Workers/chunk-LPJEXZWM.js.LICENSE.txt +24 -0
  341. package/serviceV2/3d/Workers/chunk-MKDADUG3.js +2 -0
  342. package/serviceV2/3d/Workers/chunk-MKDADUG3.js.LICENSE.txt +24 -0
  343. package/serviceV2/3d/Workers/chunk-NOIUI5SY.js +2 -0
  344. package/serviceV2/3d/Workers/chunk-NOIUI5SY.js.LICENSE.txt +24 -0
  345. package/serviceV2/3d/Workers/chunk-OFCC6BNI.js +2 -0
  346. package/serviceV2/3d/Workers/chunk-OFCC6BNI.js.LICENSE.txt +24 -0
  347. package/serviceV2/3d/Workers/chunk-OXJ2LJUE.js +2 -0
  348. package/serviceV2/3d/Workers/chunk-OXJ2LJUE.js.LICENSE.txt +24 -0
  349. package/serviceV2/3d/Workers/chunk-Q4W25C4L.js +2 -0
  350. package/serviceV2/3d/Workers/chunk-Q4W25C4L.js.LICENSE.txt +24 -0
  351. package/serviceV2/3d/Workers/chunk-QORMFUM4.js +2 -0
  352. package/serviceV2/3d/Workers/chunk-QORMFUM4.js.LICENSE.txt +24 -0
  353. package/serviceV2/3d/Workers/chunk-RCHWDG3R.js +2 -0
  354. package/serviceV2/3d/Workers/chunk-RCHWDG3R.js.LICENSE.txt +24 -0
  355. package/serviceV2/3d/Workers/chunk-RYOF6QSA.js +2 -0
  356. package/serviceV2/3d/Workers/chunk-RYOF6QSA.js.LICENSE.txt +24 -0
  357. package/serviceV2/3d/Workers/chunk-SCO7TMKT.js +2 -0
  358. package/serviceV2/3d/Workers/chunk-SCO7TMKT.js.LICENSE.txt +24 -0
  359. package/serviceV2/3d/Workers/chunk-SNSHUVCZ.js +2 -0
  360. package/serviceV2/3d/Workers/chunk-SNSHUVCZ.js.LICENSE.txt +24 -0
  361. package/serviceV2/3d/Workers/chunk-SXKYZMEL.js +2 -0
  362. package/serviceV2/3d/Workers/chunk-SXKYZMEL.js.LICENSE.txt +24 -0
  363. package/serviceV2/3d/Workers/chunk-T6Q6HX5J.js +2 -0
  364. package/serviceV2/3d/Workers/chunk-T6Q6HX5J.js.LICENSE.txt +24 -0
  365. package/serviceV2/3d/Workers/chunk-T77EB7BE.js +2 -0
  366. package/serviceV2/3d/Workers/chunk-T77EB7BE.js.LICENSE.txt +24 -0
  367. package/serviceV2/3d/Workers/chunk-TGKHFJV6.js +2 -0
  368. package/serviceV2/3d/Workers/chunk-TGKHFJV6.js.LICENSE.txt +24 -0
  369. package/serviceV2/3d/Workers/chunk-U6GWZBRL.js +2 -0
  370. package/serviceV2/3d/Workers/chunk-U6GWZBRL.js.LICENSE.txt +24 -0
  371. package/serviceV2/3d/Workers/chunk-UTYWXSQT.js +2 -0
  372. package/serviceV2/3d/Workers/chunk-UTYWXSQT.js.LICENSE.txt +67 -0
  373. package/serviceV2/3d/Workers/chunk-VHZAK4GN.js +2 -0
  374. package/serviceV2/3d/Workers/chunk-VHZAK4GN.js.LICENSE.txt +24 -0
  375. package/serviceV2/3d/Workers/chunk-VTK7G5BX.js +2 -0
  376. package/serviceV2/3d/Workers/chunk-VTK7G5BX.js.LICENSE.txt +24 -0
  377. package/serviceV2/3d/Workers/chunk-XBWRWNYZ.js +2 -0
  378. package/serviceV2/3d/Workers/chunk-XBWRWNYZ.js.LICENSE.txt +24 -0
  379. package/serviceV2/3d/Workers/chunk-XQDTMI7Q.js +2 -0
  380. package/serviceV2/3d/Workers/chunk-XQDTMI7Q.js.LICENSE.txt +24 -0
  381. package/serviceV2/3d/Workers/chunk-XQIJGAVD.js +2 -0
  382. package/serviceV2/3d/Workers/chunk-XQIJGAVD.js.LICENSE.txt +24 -0
  383. package/serviceV2/3d/Workers/chunk-XRRBRTKL.js +2 -0
  384. package/serviceV2/3d/Workers/chunk-XRRBRTKL.js.LICENSE.txt +24 -0
  385. package/serviceV2/3d/Workers/chunk-YHWHVNY2.js +2 -0
  386. package/serviceV2/3d/Workers/chunk-YHWHVNY2.js.LICENSE.txt +24 -0
  387. package/serviceV2/3d/Workers/chunk-YY6GMQGO.js +2 -0
  388. package/serviceV2/3d/Workers/chunk-YY6GMQGO.js.LICENSE.txt +24 -0
  389. package/serviceV2/3d/Workers/combineGeometry.js +2 -0
  390. package/serviceV2/3d/Workers/combineGeometry.js.LICENSE.txt +24 -0
  391. package/serviceV2/3d/Workers/createBoxGeometry.js +2 -0
  392. package/serviceV2/3d/Workers/createBoxGeometry.js.LICENSE.txt +24 -0
  393. package/serviceV2/3d/Workers/createBoxOutlineGeometry.js +2 -0
  394. package/serviceV2/3d/Workers/createBoxOutlineGeometry.js.LICENSE.txt +24 -0
  395. package/serviceV2/3d/Workers/createCircleGeometry.js +2 -0
  396. package/serviceV2/3d/Workers/createCircleGeometry.js.LICENSE.txt +24 -0
  397. package/serviceV2/3d/Workers/createCircleOutlineGeometry.js +2 -0
  398. package/serviceV2/3d/Workers/createCircleOutlineGeometry.js.LICENSE.txt +24 -0
  399. package/serviceV2/3d/Workers/createCoplanarPolygonGeometry.js +2 -0
  400. package/serviceV2/3d/Workers/createCoplanarPolygonGeometry.js.LICENSE.txt +24 -0
  401. package/serviceV2/3d/Workers/createCoplanarPolygonOutlineGeometry.js +2 -0
  402. package/serviceV2/3d/Workers/createCoplanarPolygonOutlineGeometry.js.LICENSE.txt +24 -0
  403. package/serviceV2/3d/Workers/createCorridorGeometry.js +2 -0
  404. package/serviceV2/3d/Workers/createCorridorGeometry.js.LICENSE.txt +24 -0
  405. package/serviceV2/3d/Workers/createCorridorOutlineGeometry.js +2 -0
  406. package/serviceV2/3d/Workers/createCorridorOutlineGeometry.js.LICENSE.txt +24 -0
  407. package/serviceV2/3d/Workers/createCylinderGeometry.js +2 -0
  408. package/serviceV2/3d/Workers/createCylinderGeometry.js.LICENSE.txt +24 -0
  409. package/serviceV2/3d/Workers/createCylinderOutlineGeometry.js +2 -0
  410. package/serviceV2/3d/Workers/createCylinderOutlineGeometry.js.LICENSE.txt +24 -0
  411. package/serviceV2/3d/Workers/createEllipseGeometry.js +2 -0
  412. package/serviceV2/3d/Workers/createEllipseGeometry.js.LICENSE.txt +24 -0
  413. package/serviceV2/3d/Workers/createEllipseOutlineGeometry.js +2 -0
  414. package/serviceV2/3d/Workers/createEllipseOutlineGeometry.js.LICENSE.txt +24 -0
  415. package/serviceV2/3d/Workers/createEllipsoidGeometry.js +2 -0
  416. package/serviceV2/3d/Workers/createEllipsoidGeometry.js.LICENSE.txt +24 -0
  417. package/serviceV2/3d/Workers/createEllipsoidOutlineGeometry.js +2 -0
  418. package/serviceV2/3d/Workers/createEllipsoidOutlineGeometry.js.LICENSE.txt +24 -0
  419. package/serviceV2/3d/Workers/createFrustumGeometry.js +2 -0
  420. package/serviceV2/3d/Workers/createFrustumGeometry.js.LICENSE.txt +24 -0
  421. package/serviceV2/3d/Workers/createFrustumOutlineGeometry.js +2 -0
  422. package/serviceV2/3d/Workers/createFrustumOutlineGeometry.js.LICENSE.txt +24 -0
  423. package/serviceV2/3d/Workers/createGeometry.js +2 -0
  424. package/serviceV2/3d/Workers/createGeometry.js.LICENSE.txt +24 -0
  425. package/serviceV2/3d/Workers/createGroundPolylineGeometry.js +2 -0
  426. package/serviceV2/3d/Workers/createGroundPolylineGeometry.js.LICENSE.txt +24 -0
  427. package/serviceV2/3d/Workers/createPlaneGeometry.js +2 -0
  428. package/serviceV2/3d/Workers/createPlaneGeometry.js.LICENSE.txt +24 -0
  429. package/serviceV2/3d/Workers/createPlaneOutlineGeometry.js +2 -0
  430. package/serviceV2/3d/Workers/createPlaneOutlineGeometry.js.LICENSE.txt +24 -0
  431. package/serviceV2/3d/Workers/createPolygonGeometry.js +2 -0
  432. package/serviceV2/3d/Workers/createPolygonGeometry.js.LICENSE.txt +24 -0
  433. package/serviceV2/3d/Workers/createPolygonOutlineGeometry.js +2 -0
  434. package/serviceV2/3d/Workers/createPolygonOutlineGeometry.js.LICENSE.txt +24 -0
  435. package/serviceV2/3d/Workers/createPolylineGeometry.js +2 -0
  436. package/serviceV2/3d/Workers/createPolylineGeometry.js.LICENSE.txt +24 -0
  437. package/serviceV2/3d/Workers/createPolylineVolumeGeometry.js +2 -0
  438. package/serviceV2/3d/Workers/createPolylineVolumeGeometry.js.LICENSE.txt +24 -0
  439. package/serviceV2/3d/Workers/createPolylineVolumeOutlineGeometry.js +2 -0
  440. package/serviceV2/3d/Workers/createPolylineVolumeOutlineGeometry.js.LICENSE.txt +24 -0
  441. package/serviceV2/3d/Workers/createRectangleGeometry.js +2 -0
  442. package/serviceV2/3d/Workers/createRectangleGeometry.js.LICENSE.txt +24 -0
  443. package/serviceV2/3d/Workers/createRectangleOutlineGeometry.js +2 -0
  444. package/serviceV2/3d/Workers/createRectangleOutlineGeometry.js.LICENSE.txt +24 -0
  445. package/serviceV2/3d/Workers/createSimplePolylineGeometry.js +2 -0
  446. package/serviceV2/3d/Workers/createSimplePolylineGeometry.js.LICENSE.txt +24 -0
  447. package/serviceV2/3d/Workers/createSphereGeometry.js +2 -0
  448. package/serviceV2/3d/Workers/createSphereGeometry.js.LICENSE.txt +24 -0
  449. package/serviceV2/3d/Workers/createSphereOutlineGeometry.js +2 -0
  450. package/serviceV2/3d/Workers/createSphereOutlineGeometry.js.LICENSE.txt +24 -0
  451. package/serviceV2/3d/Workers/createTaskProcessorWorker.js +2 -0
  452. package/serviceV2/3d/Workers/createTaskProcessorWorker.js.LICENSE.txt +24 -0
  453. package/serviceV2/3d/Workers/createVectorTileClampedPolylines.js +2 -0
  454. package/serviceV2/3d/Workers/createVectorTileClampedPolylines.js.LICENSE.txt +24 -0
  455. package/serviceV2/3d/Workers/createVectorTileGeometries.js +2 -0
  456. package/serviceV2/3d/Workers/createVectorTileGeometries.js.LICENSE.txt +24 -0
  457. package/serviceV2/3d/Workers/createVectorTilePoints.js +2 -0
  458. package/serviceV2/3d/Workers/createVectorTilePoints.js.LICENSE.txt +24 -0
  459. package/serviceV2/3d/Workers/createVectorTilePolygons.js +2 -0
  460. package/serviceV2/3d/Workers/createVectorTilePolygons.js.LICENSE.txt +24 -0
  461. package/serviceV2/3d/Workers/createVectorTilePolylines.js +2 -0
  462. package/serviceV2/3d/Workers/createVectorTilePolylines.js.LICENSE.txt +24 -0
  463. package/serviceV2/3d/Workers/createVerticesFromCesium3DTilesTerrain.js +2 -0
  464. package/serviceV2/3d/Workers/createVerticesFromCesium3DTilesTerrain.js.LICENSE.txt +24 -0
  465. package/serviceV2/3d/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -0
  466. package/serviceV2/3d/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js.LICENSE.txt +24 -0
  467. package/serviceV2/3d/Workers/createVerticesFromHeightmap.js +2 -0
  468. package/serviceV2/3d/Workers/createVerticesFromHeightmap.js.LICENSE.txt +26 -0
  469. package/serviceV2/3d/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -0
  470. package/serviceV2/3d/Workers/createVerticesFromQuantizedTerrainMesh.js.LICENSE.txt +24 -0
  471. package/serviceV2/3d/Workers/createWallGeometry.js +2 -0
  472. package/serviceV2/3d/Workers/createWallGeometry.js.LICENSE.txt +24 -0
  473. package/serviceV2/3d/Workers/createWallOutlineGeometry.js +2 -0
  474. package/serviceV2/3d/Workers/createWallOutlineGeometry.js.LICENSE.txt +24 -0
  475. package/serviceV2/3d/Workers/decodeDraco.js +2 -0
  476. package/serviceV2/3d/Workers/decodeDraco.js.LICENSE.txt +24 -0
  477. package/serviceV2/3d/Workers/decodeGoogleEarthEnterprisePacket.js +2 -0
  478. package/serviceV2/3d/Workers/decodeGoogleEarthEnterprisePacket.js.LICENSE.txt +24 -0
  479. package/serviceV2/3d/Workers/decodeI3S.js +2 -0
  480. package/serviceV2/3d/Workers/decodeI3S.js.LICENSE.txt +24 -0
  481. package/serviceV2/3d/Workers/gaussianSplatSorter.js +2 -0
  482. package/serviceV2/3d/Workers/gaussianSplatSorter.js.LICENSE.txt +24 -0
  483. package/serviceV2/3d/Workers/gaussianSplatTextureGenerator.js +2 -0
  484. package/serviceV2/3d/Workers/gaussianSplatTextureGenerator.js.LICENSE.txt +24 -0
  485. package/serviceV2/3d/Workers/transcodeKTX2.js +2 -0
  486. package/serviceV2/3d/Workers/transcodeKTX2.js.LICENSE.txt +24 -0
  487. package/serviceV2/3d/Workers/transferTypedArrayTest.js +2 -0
  488. package/serviceV2/3d/Workers/transferTypedArrayTest.js.LICENSE.txt +24 -0
  489. package/serviceV2/3d/Workers/upsampleQuantizedTerrainMesh.js +2 -0
  490. package/serviceV2/3d/Workers/upsampleQuantizedTerrainMesh.js.LICENSE.txt +24 -0
  491. package/serviceV2/3d/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +2 -0
  492. package/serviceV2/3d/Workers/upsampleVerticesFromCesium3DTilesTerrain.js.LICENSE.txt +24 -0
  493. package/webpack.config.dev.js +5 -5
  494. package/webpack.config.prod.js +5 -5
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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 createRectangleOutlineGeometry.js.LICENSE.txt */
2
+ import{a as R}from"./chunk-RYOF6QSA.js";import{a as y}from"./chunk-T77EB7BE.js";import{b as z}from"./chunk-IYO6TYGP.js";import"./chunk-5HPISDSZ.js";import{a as q}from"./chunk-T6Q6HX5J.js";import{a as F}from"./chunk-4MJDNHOT.js";import{b as v,c as B,d as T}from"./chunk-EDF5FKWJ.js";import{d as P}from"./chunk-XQIJGAVD.js";import{i as b}from"./chunk-UTYWXSQT.js";import{a as D}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as x,b as U,d as w,f as M}from"./chunk-KWAHJ72S.js";import{a as S}from"./chunk-MKDADUG3.js";import{a as C}from"./chunk-NOIUI5SY.js";import{e as H}from"./chunk-XRRBRTKL.js";var j=new P,K=new P,Q=new x,W=new b;function Y(t,e){let i=t._ellipsoid,r=e.height,o=e.width,n=e.northCap,a=e.southCap,s=r,l=2,u=0,c=4;n&&(l-=1,s-=1,u+=1,c-=2),a&&(l-=1,s-=1,u+=1,c-=2),u+=l*o+2*s-c;let h,p=new Float64Array(3*u),f=0,d=0,g=Q;if(n)R.computePosition(e,i,!1,d,0,g),p[f++]=g.x,p[f++]=g.y,p[f++]=g.z;else for(h=0;h<o;h++)R.computePosition(e,i,!1,d,h,g),p[f++]=g.x,p[f++]=g.y,p[f++]=g.z;for(h=o-1,d=1;d<r;d++)R.computePosition(e,i,!1,d,h,g),p[f++]=g.x,p[f++]=g.y,p[f++]=g.z;if(d=r-1,!a)for(h=o-2;h>=0;h--)R.computePosition(e,i,!1,d,h,g),p[f++]=g.x,p[f++]=g.y,p[f++]=g.z;for(h=0,d=r-2;d>0;d--)R.computePosition(e,i,!1,d,h,g),p[f++]=g.x,p[f++]=g.y,p[f++]=g.z;let m=p.length/3*2,_=q.createTypedArray(p.length/3,m),b=0;for(let t=0;t<p.length/3-1;t++)_[b++]=t,_[b++]=t+1;_[b++]=p.length/3-1,_[b++]=0;let w=new B({attributes:new F,primitiveType:v.LINES});return w.attributes.position=new T({componentDatatype:D.DOUBLE,componentsPerAttribute:3,values:p}),w.indices=_,w}function X(t,e){let i=t._surfaceHeight,r=t._extrudedHeight,o=t._ellipsoid,n=Y(t,e),a=e.height,s=e.width,l=z.scaleToGeodeticHeight(n.attributes.position.values,i,o,!1),u=l.length,c=new Float64Array(2*u);c.set(l);let h=z.scaleToGeodeticHeight(n.attributes.position.values,r,o);c.set(h,u),n.attributes.position.values=c;let p=e.northCap,f=e.southCap,d=4;p&&(d-=1),f&&(d-=1);let g=2*(c.length/3+d),m=q.createTypedArray(c.length/3,g);u=c.length/6;let _,b=0;for(let t=0;t<u-1;t++)m[b++]=t,m[b++]=t+1,m[b++]=t+u,m[b++]=t+u+1;if(m[b++]=u-1,m[b++]=0,m[b++]=u+u-1,m[b++]=u,m[b++]=0,m[b++]=u,p)_=a-1;else{let t=s-1;m[b++]=t,m[b++]=t+u,_=s+a-2}if(m[b++]=_,m[b++]=_+u,!f){let t=s+_-1;m[b++]=t,m[b]=t+u}return n.indices=m,n}function k(t){let e=(t=t??M.EMPTY_OBJECT).rectangle,i=t.granularity??S.RADIANS_PER_DEGREE,r=t.ellipsoid??w.default,o=t.rotation??0;if(!H(e))throw new C("rectangle is required.");if(b._validate(e),e.north<e.south)throw new C("options.rectangle.north must be greater than options.rectangle.south");let n=t.height??0,a=t.extrudedHeight??n;this._rectangle=b.clone(e),this._granularity=i,this._ellipsoid=r,this._surfaceHeight=Math.max(n,a),this._rotation=o,this._extrudedHeight=Math.min(n,a),this._offsetAttribute=t.offsetAttribute,this._workerName="createRectangleOutlineGeometry"}k.packedLength=b.packedLength+w.packedLength+5,k.pack=function(t,e,i){if(!H(t))throw new C("value is required");if(!H(e))throw new C("array is required");return i=i??0,b.pack(t._rectangle,e,i),i+=b.packedLength,w.pack(t._ellipsoid,e,i),i+=w.packedLength,e[i++]=t._granularity,e[i++]=t._surfaceHeight,e[i++]=t._rotation,e[i++]=t._extrudedHeight,e[i]=t._offsetAttribute??-1,e};var J=new b,V=w.clone(w.UNIT_SPHERE),N={rectangle:J,ellipsoid:V,granularity:void 0,height:void 0,rotation:void 0,extrudedHeight:void 0,offsetAttribute:void 0};k.unpack=function(t,e,i){if(!H(t))throw new C("array is required");e=e??0;let r=b.unpack(t,e,J);e+=b.packedLength;let o=w.unpack(t,e,V);e+=w.packedLength;let n=t[e++],a=t[e++],s=t[e++],l=t[e++],u=t[e];return H(i)?(i._rectangle=b.clone(r,i._rectangle),i._ellipsoid=w.clone(o,i._ellipsoid),i._surfaceHeight=a,i._rotation=s,i._extrudedHeight=l,i._offsetAttribute=-1===u?void 0:u,i):(N.granularity=n,N.height=a,N.rotation=s,N.extrudedHeight=l,N.offsetAttribute=-1===u?void 0:u,new k(N))};var Z=new U;k.createGeometry=function(t){let e,i,r=t._rectangle,o=t._ellipsoid,n=R.computeOptions(r,t._granularity,t._rotation,0,W,Z);if(S.equalsEpsilon(r.north,r.south,S.EPSILON10)||S.equalsEpsilon(r.east,r.west,S.EPSILON10))return;let a,s=t._surfaceHeight,l=t._extrudedHeight;if(S.equalsEpsilon(s,l,0,S.EPSILON2)){if(e=Y(t,n),e.attributes.position.values=z.scaleToGeodeticHeight(e.attributes.position.values,s,o,!1),H(t._offsetAttribute)){let i=e.attributes.position.values.length;a=t._offsetAttribute===y.NONE?0:1;let r=new Uint8Array(i/3).fill(a);e.attributes.applyOffset=new T({componentDatatype:D.UNSIGNED_BYTE,componentsPerAttribute:1,values:r})}i=P.fromRectangle3D(r,o,s)}else{if(e=X(t,n),H(t._offsetAttribute)){let i=e.attributes.position.values.length/3,r=new Uint8Array(i);t._offsetAttribute===y.TOP?r=r.fill(1,0,i/2):(a=t._offsetAttribute===y.NONE?0:1,r=r.fill(a)),e.attributes.applyOffset=new T({componentDatatype:D.UNSIGNED_BYTE,componentsPerAttribute:1,values:r})}let u=P.fromRectangle3D(r,o,s,K),c=P.fromRectangle3D(r,o,l,j);i=P.union(u,c)}return new B({attributes:e.attributes,indices:e.indices,primitiveType:v.LINES,boundingSphere:i,offsetAttribute:t._offsetAttribute})};var O=k;function $(t,e){return H(e)&&(t=O.unpack(t,e)),t._ellipsoid=w.clone(t._ellipsoid),t._rectangle=b.clone(t._rectangle),O.createGeometry(t)}var Et=$;export{Et as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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 createSimplePolylineGeometry.js.LICENSE.txt */
2
+ import{a as r}from"./chunk-GTQ3WXPT.js";import{a as L}from"./chunk-OXJ2LJUE.js";import{a as P}from"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as X}from"./chunk-T6Q6HX5J.js";import{a as W}from"./chunk-4MJDNHOT.js";import{b as K,c as Q,d as H}from"./chunk-EDF5FKWJ.js";import{d as j}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as v}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as A,d as w,f as J}from"./chunk-KWAHJ72S.js";import{a as G}from"./chunk-MKDADUG3.js";import{a as D}from"./chunk-NOIUI5SY.js";import{e as u}from"./chunk-XRRBRTKL.js";function Z(e,t,o,a,n,i,l){let s,u=P.numberOfPoints(e,t,n),p=o.red,c=o.green,h=o.blue,f=o.alpha,y=a.red,m=a.green,d=a.blue,g=a.alpha;if(r.equals(o,a)){for(s=0;s<u;s++)i[l++]=r.floatToByte(p),i[l++]=r.floatToByte(c),i[l++]=r.floatToByte(h),i[l++]=r.floatToByte(f);return l}let k=(y-p)/u,T=(m-c)/u,w=(d-h)/u,_=(g-f)/u,A=l;for(s=0;s<u;s++)i[A++]=r.floatToByte(p+s*k),i[A++]=r.floatToByte(c+s*T),i[A++]=r.floatToByte(h+s*w),i[A++]=r.floatToByte(f+s*_);return A}function O(e){let t=(e=e??J.EMPTY_OBJECT).positions,o=e.colors,a=e.colorsPerVertex??!1;if(!u(t)||t.length<2)throw new D("At least two positions are required.");if(u(o)&&(a&&o.length<t.length||!a&&o.length<t.length-1))throw new D("colors has an invalid length.");this._positions=t,this._colors=o,this._colorsPerVertex=a,this._arcType=e.arcType??L.GEODESIC,this._granularity=e.granularity??G.RADIANS_PER_DEGREE,this._ellipsoid=e.ellipsoid??w.default,this._workerName="createSimplePolylineGeometry";let n=1+t.length*A.packedLength;n+=u(o)?1+o.length*r.packedLength:1,this.packedLength=n+w.packedLength+3}O.pack=function(e,t,o){if(!u(e))throw new D("value is required");if(!u(t))throw new D("array is required");o=o??0;let a,n=e._positions,i=n.length;for(t[o++]=i,a=0;a<i;++a,o+=A.packedLength)A.pack(n[a],t,o);let l=e._colors;for(i=u(l)?l.length:0,t[o++]=i,a=0;a<i;++a,o+=r.packedLength)r.pack(l[a],t,o);return w.pack(e._ellipsoid,t,o),o+=w.packedLength,t[o++]=e._colorsPerVertex?1:0,t[o++]=e._arcType,t[o]=e._granularity,t},O.unpack=function(e,t,o){if(!u(e))throw new D("array is required");t=t??0;let a,n=e[t++],i=new Array(n);for(a=0;a<n;++a,t+=A.packedLength)i[a]=A.unpack(e,t);n=e[t++];let l=n>0?new Array(n):void 0;for(a=0;a<n;++a,t+=r.packedLength)l[a]=r.unpack(e,t);let s=w.unpack(e,t);t+=w.packedLength;let p=1===e[t++],c=e[t++],h=e[t];return u(o)?(o._positions=i,o._colors=l,o._ellipsoid=s,o._colorsPerVertex=p,o._arcType=c,o._granularity=h,o):new O({positions:i,colors:l,ellipsoid:s,colorsPerVertex:p,arcType:c,granularity:h})};var U=new Array(2),q=new Array(2),$={positions:U,height:q,ellipsoid:void 0,minDistance:void 0,granularity:void 0};O.createGeometry=function(e){let t,o,a,n,i,l=e._positions,s=e._colors,p=e._colorsPerVertex,c=e._arcType,h=e._granularity,f=e._ellipsoid,y=G.chordLength(h,f.maximumRadius),m=u(s)&&!p,d=l.length,g=0;if(c===L.GEODESIC||c===L.RHUMB){let e,a,p;c===L.GEODESIC?(e=G.chordLength(h,f.maximumRadius),a=P.numberOfPoints,p=P.generateArc):(e=h,a=P.numberOfPointsRhumbLine,p=P.generateRhumbArc);let k=P.extractHeights(l,f),T=$;if(c===L.GEODESIC?T.minDistance=y:T.granularity=h,T.ellipsoid=f,m){let c=0;for(t=0;t<d-1;t++)c+=a(l[t],l[t+1],e)+1;o=new Float64Array(3*c),n=new Uint8Array(4*c),T.positions=U,T.height=q;let h=0;for(t=0;t<d-1;++t){U[0]=l[t],U[1]=l[t+1],q[0]=k[t],q[1]=k[t+1];let e=p(T);if(u(s)){let o=e.length/3;i=s[t];for(let e=0;e<o;++e)n[h++]=r.floatToByte(i.red),n[h++]=r.floatToByte(i.green),n[h++]=r.floatToByte(i.blue),n[h++]=r.floatToByte(i.alpha)}o.set(e,g),g+=e.length}}else if(T.positions=l,T.height=k,o=new Float64Array(p(T)),u(s)){for(n=new Uint8Array(o.length/3*4),t=0;t<d-1;++t)g=Z(l[t],l[t+1],s[t],s[t+1],y,n,g);let e=s[d-1];n[g++]=r.floatToByte(e.red),n[g++]=r.floatToByte(e.green),n[g++]=r.floatToByte(e.blue),n[g++]=r.floatToByte(e.alpha)}}else{a=m?2*d-2:d,o=new Float64Array(3*a),n=u(s)?new Uint8Array(4*a):void 0;let e=0,p=0;for(t=0;t<d;++t){let a=l[t];if(m&&t>0&&(A.pack(a,o,e),e+=3,i=s[t-1],n[p++]=r.floatToByte(i.red),n[p++]=r.floatToByte(i.green),n[p++]=r.floatToByte(i.blue),n[p++]=r.floatToByte(i.alpha)),m&&t===d-1)break;A.pack(a,o,e),e+=3,u(s)&&(i=s[t],n[p++]=r.floatToByte(i.red),n[p++]=r.floatToByte(i.green),n[p++]=r.floatToByte(i.blue),n[p++]=r.floatToByte(i.alpha))}}let k=new W;k.position=new H({componentDatatype:v.DOUBLE,componentsPerAttribute:3,values:o}),u(s)&&(k.color=new H({componentDatatype:v.UNSIGNED_BYTE,componentsPerAttribute:4,values:n,normalize:!0})),a=o.length/3;let T=2*(a-1),w=X.createTypedArray(a,T),_=0;for(t=0;t<a-1;++t)w[_++]=t,w[_++]=t+1;return new Q({attributes:k,indices:w,primitiveType:K.LINES,boundingSphere:j.fromPoints(l)})};var Y=O;function x(e,r){return u(r)&&(e=Y.unpack(e,r)),e._ellipsoid=w.clone(e._ellipsoid),Y.createGeometry(e)}var _e=x;export{_e as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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 createSphereGeometry.js.LICENSE.txt */
2
+ import{a as r}from"./chunk-CJRI54BI.js";import"./chunk-T77EB7BE.js";import{a as m}from"./chunk-APG2S62J.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as s}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as p}from"./chunk-NOIUI5SY.js";import{e as c}from"./chunk-XRRBRTKL.js";function a(t){let i=t.radius??1,e={radii:new s(i,i,i),stackPartitions:t.stackPartitions,slicePartitions:t.slicePartitions,vertexFormat:t.vertexFormat};this._ellipsoidGeometry=new r(e),this._workerName="createSphereGeometry"}a.packedLength=r.packedLength,a.pack=function(t,i,e){return p.typeOf.object("value",t),r.pack(t._ellipsoidGeometry,i,e)};var l=new r,i={radius:void 0,radii:new s,vertexFormat:new m,stackPartitions:void 0,slicePartitions:void 0};a.unpack=function(t,e,o){let n=r.unpack(t,e,l);return i.vertexFormat=m.clone(n._vertexFormat,i.vertexFormat),i.stackPartitions=n._stackPartitions,i.slicePartitions=n._slicePartitions,c(o)?(s.clone(n._radii,i.radii),o._ellipsoidGeometry=new r(i),o):(i.radius=n._radii.x,new a(i))},a.createGeometry=function(t){return r.createGeometry(t._ellipsoidGeometry)};var d=a;function f(r,t){return c(t)&&(r=d.unpack(r,t)),d.createGeometry(r)}var w=f;export{w as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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 createSphereOutlineGeometry.js.LICENSE.txt */
2
+ import{a as t}from"./chunk-J7MBSSYW.js";import"./chunk-T77EB7BE.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as c}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as u}from"./chunk-NOIUI5SY.js";import{e as a}from"./chunk-XRRBRTKL.js";function s(i){let s=i.radius??1,n={radii:new c(s,s,s),stackPartitions:i.stackPartitions,slicePartitions:i.slicePartitions,subdivisions:i.subdivisions};this._ellipsoidGeometry=new t(n),this._workerName="createSphereOutlineGeometry"}s.packedLength=t.packedLength,s.pack=function(i,s,n){return u.typeOf.object("value",i),t.pack(i._ellipsoidGeometry,s,n)};var l=new t,n={radius:void 0,radii:new c,stackPartitions:void 0,slicePartitions:void 0,subdivisions:void 0};s.unpack=function(i,r,e){let o=t.unpack(i,r,l);return n.stackPartitions=o._stackPartitions,n.slicePartitions=o._slicePartitions,n.subdivisions=o._subdivisions,a(e)?(c.clone(o._radii,n.radii),e._ellipsoidGeometry=new t(n),e):(n.radius=o._radii.x,new s(n))},s.createGeometry=function(i){return t.createGeometry(i._ellipsoidGeometry)};var d=s;function m(i,t){return a(t)&&(i=d.unpack(i,t)),d.createGeometry(i)}var h=m;export{h as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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 createTaskProcessorWorker.js.LICENSE.txt */
2
+ import{a}from"./chunk-D2NFCOGE.js";import"./chunk-XRRBRTKL.js";export{a as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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 createVectorTileClampedPolylines.js.LICENSE.txt */
2
+ import{a as J}from"./chunk-D2NFCOGE.js";import{a as Y}from"./chunk-VHZAK4GN.js";import{a as B}from"./chunk-T6Q6HX5J.js";import{d as X,i as W}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as t,b as k,d as _}from"./chunk-KWAHJ72S.js";import{a as v}from"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import"./chunk-XRRBRTKL.js";var V=32767,it=Math.cos(v.toRadians(150)),ct=new k,rt=new t;function at(e,r,s,a,n,i,o){let l=e.length,d=new Float64Array(3*l);for(let f=0;f<l;++f){let l=e[f],h=r[f],u=s[f],c=v.lerp(a.west,a.east,l/V),p=v.lerp(a.south,a.north,h/V),m=v.lerp(n,i,u/V),A=k.fromRadians(c,p,m,ct),w=o.cartographicToCartesian(A,rt);t.pack(w,d,3*f)}return d}function dt(t){let e=t.length,r=new Uint32Array(e+1),s=0;for(let a=0;a<e;++a)r[a]=s,s+=t[a];return r[e]=s,r}var lt=new k,ht=new k;function ft(t,e,r,s){let a=s.length,n=t.length,i=new Uint8Array(n),o=lt,l=ht,d=0;for(let r=0;r<a;r++){let a=s[r],n=a;for(let r=1;r<a;r++){let s=d+r,a=s-1;l.longitude=t[s],l.latitude=e[s],o.longitude=t[a],o.latitude=e[a],k.equals(l,o)&&(n--,i[a]=1)}s[r]=n,d+=a}let f=0;for(let s=0;s<n;s++)1!==i[s]&&(t[f]=t[s],e[f]=e[s],r[f]=r[s],f++)}function ot(t){let e=8*t,r=3*e,s=4*e;this.startEllipsoidNormals=new Float32Array(r),this.endEllipsoidNormals=new Float32Array(r),this.startPositionAndHeights=new Float32Array(s),this.startFaceNormalAndVertexCornerIds=new Float32Array(s),this.endPositionAndHeights=new Float32Array(s),this.endFaceNormalAndHalfWidths=new Float32Array(s),this.vertexBatchIds=new Uint16Array(e),this.indices=B.createTypedArray(e,36*t),this.vec3Offset=0,this.vec4Offset=0,this.batchIdOffset=0,this.indexOffset=0,this.volumeStartIndex=0}var Q=new t,pt=new t;function $(e,r,s,a,n){let i=t.subtract(s,r,pt),o=t.subtract(r,e,Q);return t.normalize(i,i),t.normalize(o,o),t.dot(i,o)<it&&(o=t.multiplyByScalar(o,-1,Q)),t.add(i,o,n),t.equals(n,t.ZERO)&&(n=t.subtract(e,r)),t.cross(n,a,n),t.cross(a,n,n),t.normalize(n,n),n}var st=[0,2,6,0,6,4,0,1,3,0,3,2,0,4,5,0,5,1,5,3,1,5,7,3,7,5,4,7,4,6,7,6,2,7,2,3],j=st.length,tt=new t,ut=new t,mt=new t,At=new t,Nt=new t;ot.prototype.addVolume=function(e,r,s,a,n,i,o,l,d,f){let h=t.add(r,d,tt),u=f.geodeticSurfaceNormal(h,ut);h=t.add(s,d,tt);let c,p=f.geodeticSurfaceNormal(h,At),m=$(e,r,s,u,mt),A=$(a,s,r,p,Nt),k=this.startEllipsoidNormals,w=this.endEllipsoidNormals,b=this.startPositionAndHeights,N=this.startFaceNormalAndVertexCornerIds,g=this.endPositionAndHeights,v=this.endFaceNormalAndHalfWidths,y=this.vertexBatchIds,I=this.batchIdOffset,x=this.vec3Offset,E=this.vec4Offset;for(c=0;c<8;c++)t.pack(u,k,x),t.pack(p,w,x),t.pack(r,b,E),b[E+3]=n,t.pack(s,g,E),g[E+3]=i,t.pack(m,N,E),N[E+3]=c,t.pack(A,v,E),v[E+3]=o,y[I++]=l,x+=3,E+=4;this.batchIdOffset=I,this.vec3Offset=x,this.vec4Offset=E;let F=this.indices,H=this.volumeStartIndex,O=this.indexOffset;for(c=0;c<j;c++)F[O+c]=st[c]+H;this.volumeStartIndex+=8,this.indexOffset+=j};var gt=new W,Et=new _,wt=new t,M=new t,It=new t,xt=new t,T=new t;function Pt(e,r){let s=new Uint16Array(e.positions),a=new Uint16Array(e.widths),n=new Uint32Array(e.counts),i=new Uint16Array(e.batchIds),o=gt,l=Et,d=wt,f=new Float64Array(e.packedBuffer),h=0,u=f[h++],c=f[h++];W.unpack(f,h,o),h+=W.packedLength,_.unpack(f,h,l),h+=_.packedLength,t.unpack(f,h,d);let p,m=s.length/3,A=s.subarray(0,m),k=s.subarray(m,2*m),w=s.subarray(2*m,3*m);Y.zigZagDeltaDecode(A,k,w),ft(A,k,w,n);let b=n.length,N=0;for(p=0;p<b;p++)N+=n[p]-1;let g=new ot(N),y=at(A,k,w,o,u,c,l,d);m=A.length;let I=new Float32Array(3*m);for(p=0;p<m;++p)I[3*p]=y[3*p]-d.x,I[3*p+1]=y[3*p+1]-d.y,I[3*p+2]=y[3*p+2]-d.z;let x=0,E=0;for(p=0;p<b;p++){let e=n[p]-1,r=.5*a[p],s=i[p],o=x;for(let a=0;a<e;a++){let n=t.unpack(I,x,It),i=t.unpack(I,x+3,xt),f=w[E],h=w[E+1];f=v.lerp(u,c,f/V),h=v.lerp(u,c,h/V),E++;let p=M,m=T;if(0===a){let r=o+3*e,s=t.unpack(I,r,M);if(t.equals(s,n))t.unpack(I,r-3,p);else{let e=t.subtract(n,i,M);p=t.add(e,n,M)}}else t.unpack(I,x-3,p);if(a===e-1){let e=t.unpack(I,o,T);if(t.equals(e,i))t.unpack(I,o+3,m);else{let e=t.subtract(i,n,T);m=t.add(e,i,T)}}else t.unpack(I,x+6,m);g.addVolume(p,n,i,m,f,h,r,s,d,l),x+=3}x+=3,E++}let F=g.indices;r.push(g.startEllipsoidNormals.buffer),r.push(g.endEllipsoidNormals.buffer),r.push(g.startPositionAndHeights.buffer),r.push(g.startFaceNormalAndVertexCornerIds.buffer),r.push(g.endPositionAndHeights.buffer),r.push(g.endFaceNormalAndHalfWidths.buffer),r.push(g.vertexBatchIds.buffer),r.push(F.buffer);let H={indexDatatype:2===F.BYTES_PER_ELEMENT?B.UNSIGNED_SHORT:B.UNSIGNED_INT,startEllipsoidNormals:g.startEllipsoidNormals.buffer,endEllipsoidNormals:g.endEllipsoidNormals.buffer,startPositionAndHeights:g.startPositionAndHeights.buffer,startFaceNormalAndVertexCornerIds:g.startFaceNormalAndVertexCornerIds.buffer,endPositionAndHeights:g.endPositionAndHeights.buffer,endFaceNormalAndHalfWidths:g.endFaceNormalAndHalfWidths.buffer,vertexBatchIds:g.vertexBatchIds.buffer,indices:F.buffer};if(e.keepDecodedPositions){let t=dt(n);r.push(y.buffer,t.buffer),H=X(H,{decodedPositions:y.buffer,decodedPositionOffsets:t.buffer})}return H}var Vt=J(Pt);export{Vt as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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 createVectorTileGeometries.js.LICENSE.txt */
2
+ import{a as P}from"./chunk-GTQ3WXPT.js";import{a as z}from"./chunk-BTDQB5Q4.js";import"./chunk-XQDTMI7Q.js";import{a as H}from"./chunk-CJRI54BI.js";import{a as Y}from"./chunk-D2NFCOGE.js";import{a as j}from"./chunk-KX5PR5Q3.js";import"./chunk-T77EB7BE.js";import"./chunk-APG2S62J.js";import{a as W}from"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import{d as E}from"./chunk-XQIJGAVD.js";import{b as d}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as o}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as l}from"./chunk-XRRBRTKL.js";function X(e){this.offset=e.offset,this.count=e.count,this.color=e.color,this.batchIds=e.batchIds}var J=X,S=new o,$=d.packedLength+o.packedLength,ee=d.packedLength+2,ne=d.packedLength+o.packedLength,te=o.packedLength+1,u={modelMatrix:new d,boundingVolume:new E};function oe(e,t){let n=t*$,r=o.unpack(e,n,S);n+=o.packedLength;let i=d.unpack(e,n,u.modelMatrix);d.multiplyByScale(i,r,i);let s=u.boundingVolume;return o.clone(o.ZERO,s.center),s.radius=Math.sqrt(3),u}function ce(e,t){let n=t*ee,r=e[n++],i=e[n++],s=o.fromElements(r,r,i,S),a=d.unpack(e,n,u.modelMatrix);d.multiplyByScale(a,s,a);let l=u.boundingVolume;return o.clone(o.ZERO,l.center),l.radius=Math.sqrt(2),u}function se(e,t){let n=t*ne,r=o.unpack(e,n,S);n+=o.packedLength;let i=d.unpack(e,n,u.modelMatrix);d.multiplyByScale(i,r,i);let s=u.boundingVolume;return o.clone(o.ZERO,s.center),s.radius=1,u}function ie(e,t){let n=t*te,r=e[n++],i=o.unpack(e,n,S),s=d.fromTranslation(i,u.modelMatrix);d.multiplyByUniformScale(s,r,s);let a=u.boundingVolume;return o.clone(o.ZERO,a.center),a.radius=1,u}var de=new o;function R(e,t,n,r,i){if(!l(t))return;let s=n.length,a=r.attributes.position.values,c=r.indices,u=e.positions,f=e.vertexBatchIds,h=e.indices,p=e.batchIds,m=e.batchTableColors,b=e.batchedIndices,k=e.indexOffsets,g=e.indexCounts,y=e.boundingVolumes,I=e.modelMatrix,x=e.center,B=e.positionOffset,w=e.batchIdIndex,A=e.indexOffset,j=e.batchedIndicesOffset;for(let e=0;e<s;++e){let r=i(t,e),s=r.modelMatrix;d.multiply(I,s,s);let l=n[e],O=a.length;for(let e=0;e<O;e+=3){let t=o.unpack(a,e,de);d.multiplyByPoint(s,t,t),o.subtract(t,x,t),o.pack(t,u,3*B+e),f[w++]=l}let v=c.length;for(let e=0;e<v;++e)h[A+e]=c[e]+B;let R=e+j;b[R]=new J({offset:A,count:v,color:P.fromRgba(m[l]),batchIds:[l]}),p[R]=l,k[R]=A,g[R]=v,y[R]=E.transform(r.boundingVolume,s),B+=O/3,A+=v}e.positionOffset=B,e.batchIdIndex=w,e.indexOffset=A,e.batchedIndicesOffset+=s}var K=new o,Q=new d;function re(e){let t=new Float64Array(e),n=0;o.unpack(t,n,K),n+=o.packedLength,d.unpack(t,n,Q)}function le(e){let t=e.length,n=0;for(let o=0;o<t;++o)n+=P.packedLength+3+e[o].batchIds.length;return n}function ae(e,t,n){let o=n.length,r=2+o*E.packedLength+1+le(t),i=new Float64Array(r),s=0;i[s++]=e,i[s++]=o;for(let e=0;e<o;++e)E.pack(n[e],i,s),s+=E.packedLength;let a=t.length;i[s++]=a;for(let e=0;e<a;++e){let n=t[e];P.pack(n.color,i,s),s+=P.packedLength,i[s++]=n.offset,i[s++]=n.count;let o=n.batchIds,r=o.length;i[s++]=r;for(let e=0;e<r;++e)i[s++]=o[e]}return i}function fe(e,t){let n=l(e.boxes)?new Float32Array(e.boxes):void 0,o=l(e.boxBatchIds)?new Uint16Array(e.boxBatchIds):void 0,r=l(e.cylinders)?new Float32Array(e.cylinders):void 0,i=l(e.cylinderBatchIds)?new Uint16Array(e.cylinderBatchIds):void 0,s=l(e.ellipsoids)?new Float32Array(e.ellipsoids):void 0,a=l(e.ellipsoidBatchIds)?new Uint16Array(e.ellipsoidBatchIds):void 0,c=l(e.spheres)?new Float32Array(e.spheres):void 0,d=l(e.sphereBatchIds)?new Uint16Array(e.sphereBatchIds):void 0,u=l(n)?o.length:0,f=l(r)?i.length:0,h=l(s)?a.length:0,p=l(c)?d.length:0,m=j.getUnitBox(),b=z.getUnitCylinder(),k=H.getUnitEllipsoid(),g=m.attributes.position.values,y=b.attributes.position.values,I=k.attributes.position.values,x=g.length*u;x+=y.length*f,x+=I.length*(h+p);let B=m.indices,w=b.indices,A=k.indices,E=B.length*u;E+=w.length*f,E+=A.length*(h+p);let O=new Float32Array(x),v=new Uint16Array(x/3),T=W.createTypedArray(x/3,E),U=u+f+h+p,L=new Uint16Array(U),M=new Array(U),S=new Uint32Array(U),P=new Uint32Array(U),C=new Array(U);re(e.packedBuffer);let F={batchTableColors:new Uint32Array(e.batchTableColors),positions:O,vertexBatchIds:v,indices:T,batchIds:L,batchedIndices:M,indexOffsets:S,indexCounts:P,boundingVolumes:C,positionOffset:0,batchIdIndex:0,indexOffset:0,batchedIndicesOffset:0,modelMatrix:Q,center:K};R(F,n,o,m,oe),R(F,r,i,b,ce),R(F,s,a,k,se),R(F,c,d,k,ie);let J=ae(T.BYTES_PER_ELEMENT,M,C);return t.push(O.buffer,v.buffer,T.buffer),t.push(L.buffer,S.buffer,P.buffer),t.push(J.buffer),{positions:O.buffer,vertexBatchIds:v.buffer,indices:T.buffer,indexOffsets:S.buffer,indexCounts:P.buffer,batchIds:L.buffer,packedBuffer:J.buffer}}var Oe=Y(fe);export{Oe as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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 createVectorTilePoints.js.LICENSE.txt */
2
+ import{a as x}from"./chunk-D2NFCOGE.js";import{a as w}from"./chunk-VHZAK4GN.js";import{i as c}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as h,b as l,d as p}from"./chunk-KWAHJ72S.js";import{a as i}from"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import"./chunk-XRRBRTKL.js";var u=32767,F=new l,L=new h,b=new c,y=new p,a={min:void 0,max:void 0};function V(r){r=new Float64Array(r);let n=0;a.min=r[n++],a.max=r[n++],c.unpack(r,n,b),n+=c.packedLength,p.unpack(r,n,y)}function z(r,n){let t=new Uint16Array(r.positions);V(r.packedBuffer);let e=b,o=y,s=a.min,p=a.max,c=t.length/3,m=t.subarray(0,c),f=t.subarray(c,2*c),k=t.subarray(2*c,3*c);w.zigZagDeltaDecode(m,f,k);let j=new Float64Array(t.length);for(let a=0;a<c;++a){let r=m[a],n=f[a],t=k[a],c=i.lerp(e.west,e.east,r/u),w=i.lerp(e.south,e.north,n/u),b=i.lerp(s,p,t/u),y=l.fromRadians(c,w,b,F),d=o.cartographicToCartesian(y,L);h.pack(d,j,3*a)}return n.push(j.buffer),{positions:j.buffer}}var G=x(z);export{G as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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 createVectorTilePolygons.js.LICENSE.txt */
2
+ import{a as R}from"./chunk-GTQ3WXPT.js";import{a as It}from"./chunk-D2NFCOGE.js";import{a as M}from"./chunk-SCO7TMKT.js";import{a as bt}from"./chunk-VHZAK4GN.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as W}from"./chunk-T6Q6HX5J.js";import"./chunk-XQIJGAVD.js";import{i as z}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as o,b as nt,d as j}from"./chunk-KWAHJ72S.js";import{a as et}from"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as A}from"./chunk-XRRBRTKL.js";var kt=new o,Bt=new j,Nt=new z,E={min:void 0,max:void 0,indexBytesPerElement:void 0};function Pt(t){let e=new Float64Array(t),n=0;E.indexBytesPerElement=e[n++],E.min=e[n++],E.max=e[n++],o.unpack(e,n,kt),n+=o.packedLength,j.unpack(e,n,Bt),n+=j.packedLength,z.unpack(e,n,Nt)}function Tt(t){let e=t.length,n=0;for(let r=0;r<e;++r)n+=R.packedLength+3+t[r].batchIds.length;return n}function Ct(t,e,n){let r=e.length,a=2+r*M.packedLength+1+Tt(n),o=new Float64Array(a),i=0;o[i++]=t,o[i++]=r;for(let t=0;t<r;++t)M.pack(e[t],o,i),i+=M.packedLength;let s=n.length;o[i++]=s;for(let t=0;t<s;++t){let e=n[t];R.pack(e.color,o,i),i+=R.packedLength,o[i++]=e.offset,o[i++]=e.count;let r=e.batchIds,a=r.length;o[i++]=a;for(let t=0;t<a;++t)o[i++]=r[t]}return o}var yt=32767,wt=new o,Ht=new o,St=new o,Ut=new o,Ft=new o,Lt=new nt,Mt=new z;function Rt(t,e){let n;Pt(t.packedBuffer),n=2===E.indexBytesPerElement?new Uint16Array(t.indices):new Uint32Array(t.indices);let r=new Uint16Array(t.positions),a=new Uint32Array(t.counts),i=new Uint32Array(t.indexCounts),s=new Uint32Array(t.batchIds),f=new Uint32Array(t.batchTableColors),l=new Array(a.length),c=kt,h=Bt,u=Nt,m=E.min,p=E.max,d=t.minimumHeights,g=t.maximumHeights;A(d)&&A(g)&&(d=new Float32Array(d),g=new Float32Array(g));let k,I,w,b=r.length/2,y=r.subarray(0,b),T=r.subarray(b,2*b);bt.zigZagDeltaDecode(y,T);let N=new Float64Array(3*b);for(k=0;k<b;++k){let t=y[k],e=T[k],n=et.lerp(u.west,u.east,t/yt),r=et.lerp(u.south,u.north,e/yt),a=nt.fromRadians(n,r,0,Lt),i=h.cartographicToCartesian(a,wt);o.pack(i,N,3*k)}let x=a.length,L=new Array(x),j=new Array(x),S=0,U=0;for(k=0;k<x;++k)L[k]=S,j[k]=U,S+=a[k],U+=i[k];let B=new Float32Array(3*b*2),O=new Uint16Array(2*b),F=new Uint32Array(j.length),G=new Uint32Array(i.length),P=[],C={};for(k=0;k<x;++k)w=f[k],A(C[w])?(C[w].positionLength+=a[k],C[w].indexLength+=i[k],C[w].batchIds.push(k)):C[w]={positionLength:a[k],indexLength:i[k],offset:0,indexOffset:0,batchIds:[k]};let H,D=0,K=0;for(w in C)if(C.hasOwnProperty(w)){H=C[w],H.offset=D,H.indexOffset=K;let t=2*H.positionLength,e=2*H.indexLength+6*H.positionLength;D+=t,K+=e,H.indexLength=e}let Y=[];for(w in C)C.hasOwnProperty(w)&&(H=C[w],Y.push({color:R.fromRgba(parseInt(w)),offset:H.indexOffset,count:H.indexLength,batchIds:H.batchIds}));for(k=0;k<x;++k){w=f[k],H=C[w];let t=H.offset,e=3*t,r=t,b=L[k],y=a[k],T=s[k],E=m,x=p;A(d)&&A(g)&&(E=d[k],x=g[k]);let S=Number.POSITIVE_INFINITY,U=Number.NEGATIVE_INFINITY,R=Number.POSITIVE_INFINITY,W=Number.NEGATIVE_INFINITY;for(I=0;I<y;++I){let t=o.unpack(N,3*b+3*I,wt);h.scaleToGeodeticSurface(t,t);let n=h.cartesianToCartographic(t,Lt),a=n.latitude,i=n.longitude;S=Math.min(a,S),U=Math.max(a,U),R=Math.min(i,R),W=Math.max(i,W);let s=h.geodeticSurfaceNormal(t,Ht),f=o.multiplyByScalar(s,E,St),l=o.add(t,f,Ut);f=o.multiplyByScalar(s,x,f);let u=o.add(t,f,Ft);o.subtract(u,c,u),o.subtract(l,c,l),o.pack(u,B,e),o.pack(l,B,e+3),O[r]=T,O[r+1]=T,e+=6,r+=2}u=Mt,u.west=R,u.east=W,u.south=S,u.north=U,l[k]=M.fromRectangle(u,m,p,h);let D=H.indexOffset,K=j[k],Y=i[k];for(F[k]=D,I=0;I<Y;I+=3){let e=n[K+I]-b,r=n[K+I+1]-b,a=n[K+I+2]-b;P[D++]=2*e+t,P[D++]=2*r+t,P[D++]=2*a+t,P[D++]=2*a+1+t,P[D++]=2*r+1+t,P[D++]=2*e+1+t}for(I=0;I<y;++I){let e=I,n=(I+1)%y;P[D++]=2*e+1+t,P[D++]=2*n+t,P[D++]=2*e+t,P[D++]=2*e+1+t,P[D++]=2*n+1+t,P[D++]=2*n+t}H.offset+=2*y,H.indexOffset=D,G[k]=D-F[k]}P=W.createTypedArray(B.length/3,P);let _=Y.length;for(let t=0;t<_;++t){let e=Y[t].batchIds,n=0,r=e.length;for(let t=0;t<r;++t)n+=G[e[t]];Y[t].count=n}let J=Ct(2===P.BYTES_PER_ELEMENT?W.UNSIGNED_SHORT:W.UNSIGNED_INT,l,Y);return e.push(B.buffer,P.buffer,F.buffer,G.buffer,O.buffer,J.buffer),{positions:B.buffer,indices:P.buffer,indexOffsets:F.buffer,indexCounts:G.buffer,batchIds:O.buffer,packedBuffer:J.buffer}}var Jt=It(Rt);export{Jt as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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 createVectorTilePolylines.js.LICENSE.txt */
2
+ import{a as K}from"./chunk-D2NFCOGE.js";import{a as G}from"./chunk-VHZAK4GN.js";import{a as S}from"./chunk-T6Q6HX5J.js";import{d as B,i as R}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as t,b as _,d as L}from"./chunk-KWAHJ72S.js";import{a as F}from"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import"./chunk-XRRBRTKL.js";var O=32767,ct=new _,rt=new t;function it(e,r,a,n,u){let o=e.length/3,s=e.subarray(0,o),f=e.subarray(o,2*o),i=e.subarray(2*o,3*o);G.zigZagDeltaDecode(s,f,i);let c=new Float64Array(e.length);for(let e=0;e<o;++e){let o=s[e],p=f[e],l=i[e],d=F.lerp(r.west,r.east,o/O),k=F.lerp(r.south,r.north,p/O),h=F.lerp(a,n,l/O),b=_.fromRadians(d,k,h,ct),m=u.cartographicToCartesian(b,rt);t.pack(m,c,3*e)}return c}var Y=it,X=new R,$=new L,j=new t,H={min:void 0,max:void 0};function at(e){e=new Float64Array(e);let r=0;H.min=e[r++],H.max=e[r++],R.unpack(e,r,X),r+=R.packedLength,L.unpack(e,r,$),r+=L.packedLength,t.unpack(e,r,j)}function ft(t){let e=t.length,r=new Uint32Array(e+1),a=0;for(let n=0;n<e;++n)r[n]=a,a+=t[n];return r[e]=a,r}var Z=new t,q=new t,J=new t,dt=new t,Q=new t;function ut(e,r){let a=new Uint16Array(e.positions),n=new Uint16Array(e.widths),u=new Uint32Array(e.counts),o=new Uint16Array(e.batchIds);at(e.packedBuffer);let s,f=X,i=$,c=j,p=H.min,l=H.max,d=Y(a,f,p,l,i),k=d.length/3,h=4*k-4,b=new Float32Array(3*h),m=new Float32Array(3*h),w=new Float32Array(3*h),y=new Float32Array(2*h),A=new Uint16Array(h),R=0,U=0,F=0,g=0,D=u.length;for(s=0;s<D;++s){let e=u[s],r=n[s],a=o[s];for(let n=0;n<e;++n){let u;if(0===n){let e=t.unpack(d,3*g,Z),r=t.unpack(d,3*(g+1),q);u=t.subtract(e,r,J),t.add(e,u,u)}else u=t.unpack(d,3*(g+n-1),J);let o,s=t.unpack(d,3*(g+n),dt);if(n===e-1){let r=t.unpack(d,3*(g+e-1),Z),a=t.unpack(d,3*(g+e-2),q);o=t.subtract(r,a,Q),t.add(r,o,o)}else o=t.unpack(d,3*(g+n+1),Q);t.subtract(u,c,u),t.subtract(s,c,s),t.subtract(o,c,o);let f=n===e-1?2:4;for(let e=0===n?2:0;e<f;++e){t.pack(s,b,R),t.pack(u,m,R),t.pack(o,w,R),R+=3;let n=e-2<0?-1:1;y[U++]=e%2*2-1,y[U++]=n*r,A[F++]=a}}g+=e}let T=S.createTypedArray(h,6*k-6),G=0,I=0;for(D=k-1,s=0;s<D;++s)T[I++]=G,T[I++]=G+2,T[I++]=G+1,T[I++]=G+1,T[I++]=G+2,T[I++]=G+3,G+=4;r.push(b.buffer,m.buffer,w.buffer),r.push(y.buffer,A.buffer,T.buffer);let N={indexDatatype:2===T.BYTES_PER_ELEMENT?S.UNSIGNED_SHORT:S.UNSIGNED_INT,currentPositions:b.buffer,previousPositions:m.buffer,nextPositions:w.buffer,expandAndWidth:y.buffer,batchIds:A.buffer,indices:T.buffer};if(e.keepDecodedPositions){let t=ft(u);r.push(d.buffer,t.buffer),N=B(N,{decodedPositions:d.buffer,decodedPositionOffsets:t.buffer})}return N}var It=K(ut);export{It as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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 createVerticesFromCesium3DTilesTerrain.js.LICENSE.txt */
2
+ import{a as u}from"./chunk-LPJEXZWM.js";import"./chunk-YY6GMQGO.js";import"./chunk-BJAB7QAF.js";import{a as f}from"./chunk-D2NFCOGE.js";import"./chunk-XBWRWNYZ.js";import"./chunk-SCO7TMKT.js";import"./chunk-VHZAK4GN.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import"./chunk-T6Q6HX5J.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import"./chunk-XRRBRTKL.js";function a(t,r){return u.createMesh(t).then((function(t){let u=t.vertices.buffer,s=t.indices.buffer,n=t.westIndicesSouthToNorth.buffer,e=t.southIndicesEastToWest.buffer,i=t.eastIndicesNorthToSouth.buffer,o=t.northIndicesWestToEast.buffer;return r.push(u,s,n,e,i,o),{verticesBuffer:u,indicesBuffer:s,vertexCountWithoutSkirts:t.vertexCountWithoutSkirts,indexCountWithoutSkirts:t.indexCountWithoutSkirts,encoding:t.encoding,westIndicesBuffer:n,southIndicesBuffer:e,eastIndicesBuffer:i,northIndicesBuffer:o}}))}var T=f(a);export{T as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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 createVerticesFromGoogleEarthEnterpriseBuffer.js.LICENSE.txt */
2
+ import{a as Dt,b as Gt}from"./chunk-BJAB7QAF.js";import{a as Lt}from"./chunk-D2NFCOGE.js";import{a as lt}from"./chunk-XBWRWNYZ.js";import{a as qt}from"./chunk-SCO7TMKT.js";import"./chunk-VHZAK4GN.js";import"./chunk-ET7KY3BS.js";import{a as kt}from"./chunk-CUP6SILZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{d as zt}from"./chunk-XQIJGAVD.js";import{b as $,h as Ot,i as Vt}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import{a as Ht}from"./chunk-5G23AKP3.js";import{a as P,b as N,c as wt,d as Ut}from"./chunk-KWAHJ72S.js";import{a as r}from"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as ht}from"./chunk-XRRBRTKL.js";var $t=Uint16Array.BYTES_PER_ELEMENT,mt=Int32Array.BYTES_PER_ELEMENT,Pt=Uint32Array.BYTES_PER_ELEMENT,te=Float32Array.BYTES_PER_ELEMENT,H=Float64Array.BYTES_PER_ELEMENT;function tt(t,e,n){n=n??r;let i=t.length;for(let o=0;o<i;++o)if(n.equalsEpsilon(t[o],e,r.EPSILON12))return o;return-1}function ee(t,e){t.ellipsoid=Ut.clone(t.ellipsoid),t.rectangle=Vt.clone(t.rectangle);let n=re(t.buffer,t.relativeToCenter,t.ellipsoid,t.rectangle,t.nativeRectangle,t.exaggeration,t.exaggerationRelativeHeight,t.skirtHeight,t.includeWebMercatorT,t.negativeAltitudeExponentBias,t.negativeElevationThreshold),i=n.vertices;e.push(i.buffer);let r=n.indices;return e.push(r.buffer),{vertices:i.buffer,indices:r.buffer,numberOfAttributes:n.encoding.stride,minimumHeight:n.minimumHeight,maximumHeight:n.maximumHeight,boundingSphere3D:n.boundingSphere3D,orientedBoundingBox:n.orientedBoundingBox,occludeePointInScaledSpace:n.occludeePointInScaledSpace,encoding:n.encoding,vertexCountWithoutSkirts:n.vertexCountWithoutSkirts,indexCountWithoutSkirts:n.indexCountWithoutSkirts,westIndicesSouthToNorth:n.westIndicesSouthToNorth,southIndicesEastToWest:n.southIndicesEastToWest,eastIndicesNorthToSouth:n.eastIndicesNorthToSouth,northIndicesWestToEast:n.northIndicesWestToEast}}var u=new N,G=new P,oe=new P,ne=new P,ie=new $;function re(t,e,n,i,o,a,s,l,h,c,d){let m,g,p,I,f,T;ht(i)?(m=i.west,g=i.south,p=i.east,I=i.north,f=i.width,T=i.height):(m=r.toRadians(o.west),g=r.toRadians(o.south),p=r.toRadians(o.east),I=r.toRadians(o.north),f=r.toRadians(i.width),T=r.toRadians(i.height));let E,S,x=[g,I],w=[m,p],A=Ot.eastNorthUpToFixedFrame(e,n),R=$.inverseTransformation(A,ie);h&&(E=lt.geodeticLatitudeToMercatorAngle(g),S=1/(lt.geodeticLatitudeToMercatorAngle(I)-E));let k=1!==a,b=new DataView(t),B=Number.POSITIVE_INFINITY,y=Number.NEGATIVE_INFINITY,M=oe;M.x=Number.POSITIVE_INFINITY,M.y=Number.POSITIVE_INFINITY,M.z=Number.POSITIVE_INFINITY;let v=ne;v.x=Number.NEGATIVE_INFINITY,v.y=Number.NEGATIVE_INFINITY,v.z=Number.NEGATIVE_INFINITY;let F,W,_=0,C=0,U=0;for(W=0;W<4;++W){let t=_;F=b.getUint32(t,!0),t+=Pt;let e=r.toRadians(180*b.getFloat64(t,!0));t+=H,-1===tt(w,e)&&w.push(e);let n=r.toRadians(180*b.getFloat64(t,!0));t+=H,-1===tt(x,n)&&x.push(n),t+=2*H;let i=b.getInt32(t,!0);t+=mt,C+=i,i=b.getInt32(t,!0),U+=3*i,_+=F+Pt}let j=[],Y=[],L=new Array(C),O=new Array(C),V=new Array(C),D=h?new Array(C):[],K=k?new Array(C):[],z=new Array(U),J=[],X=[],Z=[],q=[],Q=0,et=0;for(_=0,W=0;W<4;++W){F=b.getUint32(_,!0),_+=Pt;let t=_,e=r.toRadians(180*b.getFloat64(_,!0));_+=H;let i=r.toRadians(180*b.getFloat64(_,!0));_+=H;let o=r.toRadians(180*b.getFloat64(_,!0)),a=.5*o;_+=H;let s=r.toRadians(180*b.getFloat64(_,!0)),l=.5*s;_+=H;let f=b.getInt32(_,!0);_+=mt;let T=b.getInt32(_,!0);_+=mt,_+=mt;let A=new Array(f);for(let t=0;t<f;++t){let f=e+b.getUint8(_++)*o;u.longitude=f;let T=i+b.getUint8(_++)*s;u.latitude=T;let H=b.getFloat32(_,!0);if(_+=te,0!==H&&H<d&&(H*=-Math.pow(2,c)),H*=6371010,u.height=H,-1!==tt(w,f)||-1!==tt(x,T)){let e=tt(j,u,N);if(-1!==e){A[t]=Y[e];continue}j.push(N.clone(u)),Y.push(Q)}A[t]=Q,Math.abs(f-m)<a?J.push({index:Q,cartographic:N.clone(u)}):Math.abs(f-p)<a?Z.push({index:Q,cartographic:N.clone(u)}):Math.abs(T-g)<l?X.push({index:Q,cartographic:N.clone(u)}):Math.abs(T-I)<l&&q.push({index:Q,cartographic:N.clone(u)}),B=Math.min(H,B),y=Math.max(H,y),V[Q]=H;let F=n.cartographicToCartesian(u);if(L[Q]=F,h&&(D[Q]=(lt.geodeticLatitudeToMercatorAngle(T)-E)*S),k){let t=n.geodeticSurfaceNormal(F);K[Q]=t}$.multiplyByPoint(R,F,G),P.minimumByComponent(G,M,M),P.maximumByComponent(G,v,v);let W=(f-m)/(p-m);W=r.clamp(W,0,1);let C=(T-g)/(I-g);C=r.clamp(C,0,1),O[Q]=new wt(W,C),++Q}let W=3*T;for(let t=0;t<W;++t,++et)z[et]=A[b.getUint16(_,!0)],_+=$t;if(F!==_-t)throw new Ht("Invalid terrain tile.")}L.length=Q,O.length=Q,V.length=Q,h&&(D.length=Q),k&&(K.length=Q);let nt=Q,it=et,rt={hMin:B,lastBorderPoint:void 0,skirtHeight:l,toENU:R,ellipsoid:n,minimum:M,maximum:v};J.sort((function(t,e){return e.cartographic.latitude-t.cartographic.latitude})),X.sort((function(t,e){return t.cartographic.longitude-e.cartographic.longitude})),Z.sort((function(t,e){return t.cartographic.latitude-e.cartographic.latitude})),q.sort((function(t,e){return e.cartographic.longitude-t.cartographic.longitude}));let ot=1e-5;if(gt(L,V,O,D,K,z,rt,J,-ot*f,!0,-ot*T),gt(L,V,O,D,K,z,rt,X,-ot*T,!1),gt(L,V,O,D,K,z,rt,Z,ot*f,!0,ot*T),gt(L,V,O,D,K,z,rt,q,ot*T,!1),J.length>0&&q.length>0){let t=J[0].index,e=nt,n=q[q.length-1].index,i=L.length-1;z.push(n,i,e,e,t,n)}C=L.length;let at,ut=zt.fromPoints(L);ht(i)&&(at=qt.fromRectangle(i,B,y,n));let st=new Dt(n).computeHorizonCullingPointPossiblyUnderEllipsoid(e,L,B),ct=new kt(M,v,e),dt=new Gt(e,ct,rt.hMin,y,A,!1,h,k,a,s),pt=new Float32Array(C*dt.stride),It=0;for(let t=0;t<C;++t)It=dt.encode(pt,It,L[t],O[t],V[t],void 0,D[t],K[t]);let Nt=J.map((function(t){return t.index})).reverse(),ft=X.map((function(t){return t.index})).reverse(),Tt=Z.map((function(t){return t.index})).reverse(),Et=q.map((function(t){return t.index})).reverse();return ft.unshift(Tt[Tt.length-1]),ft.push(Nt[0]),Et.unshift(Nt[Nt.length-1]),Et.push(Tt[0]),{vertices:pt,indices:new Uint16Array(z),maximumHeight:y,minimumHeight:B,encoding:dt,boundingSphere3D:ut,orientedBoundingBox:at,occludeePointInScaledSpace:st,vertexCountWithoutSkirts:nt,indexCountWithoutSkirts:it,westIndicesSouthToNorth:Nt,southIndicesEastToWest:ft,eastIndicesNorthToSouth:Tt,northIndicesWestToEast:Et}}function gt(t,e,n,i,o,a,s,l,h,c,d){let m=l.length;for(let g=0;g<m;++g){let p=l[g],I=p.cartographic,f=p.index,T=t.length,E=I.longitude,S=I.latitude;S=r.clamp(S,-r.PI_OVER_TWO,r.PI_OVER_TWO);let x=I.height-s.skirtHeight;s.hMin=Math.min(s.hMin,x),N.fromRadians(E,S,x,u),c&&(u.longitude+=h),c?g===m-1?u.latitude+=d:0===g&&(u.latitude-=d):u.latitude+=h;let w=s.ellipsoid.cartographicToCartesian(u);t.push(w),e.push(x),n.push(wt.clone(n[f])),i.length>0&&i.push(i[f]),o.length>0&&o.push(o[f]),$.multiplyByPoint(s.toENU,w,G);let A=s.minimum,R=s.maximum;P.minimumByComponent(G,A,A),P.maximumByComponent(G,R,R);let k=s.lastBorderPoint;if(ht(k)){let t=k.index;a.push(t,T-1,T,T,f,t)}s.lastBorderPoint=p}}var we=Lt(ee);export{we as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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 createVerticesFromHeightmap.js.LICENSE.txt */
2
+ import{a as ar,b as sr}from"./chunk-BJAB7QAF.js";import{a as ir}from"./chunk-D2NFCOGE.js";import{a as xe}from"./chunk-XBWRWNYZ.js";import{a as nr}from"./chunk-SCO7TMKT.js";import"./chunk-VHZAK4GN.js";import"./chunk-ET7KY3BS.js";import{a as tr}from"./chunk-CUP6SILZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{d as rr}from"./chunk-XQIJGAVD.js";import{b as Ie,h as er,i as ne}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import{a as Re}from"./chunk-5G23AKP3.js";import{a as re,c as Pe,d as pe}from"./chunk-KWAHJ72S.js";import{a as he}from"./chunk-MKDADUG3.js";import{a as me}from"./chunk-NOIUI5SY.js";import{c as pr,d as Ir,e as W}from"./chunk-XRRBRTKL.js";var lr=pr(((e,t)=>{!function(){var e,i,r,a,n,s,l=(e={defaultNoDataValue:-34027999387901484e22,decode:function(t,s){var l=(s=s||{}).encodedMaskData||null===s.encodedMaskData,o=n(t,s.inputOffset||0,l),f=null!==s.noDataValue?s.noDataValue:e.defaultNoDataValue,u=i(o,s.pixelType||Float32Array,s.encodedMaskData,f,s.returnMask),h={width:o.width,height:o.height,pixelData:u.resultPixels,minValue:u.minValue,maxValue:o.pixels.maxValue,noDataValue:f};return u.resultMask&&(h.maskData=u.resultMask),s.returnEncodedMask&&o.mask&&(h.encodedMaskData=o.mask.bitset?o.mask.bitset:null),s.returnFileInfo&&(h.fileInfo=r(o),s.computeUsedBitDepths&&(h.fileInfo.bitDepths=a(o))),h}},i=function(e,t,i,r,a){var n,l,o,f=0,u=e.pixels.numBlocksX,h=e.pixels.numBlocksY,c=Math.floor(e.width/u),m=Math.floor(e.height/h),d=2*e.maxZError,g=Number.MAX_VALUE;i=i||(e.mask?e.mask.bitset:null),l=new t(e.width*e.height),a&&i&&(o=new Uint8Array(e.width*e.height));for(var p,w,x=new Float32Array(c*m),k=0;k<=h;k++){var y=k!==h?m:e.height%h;if(0!==y)for(var I=0;I<=u;I++){var U=I!==u?c:e.width%u;if(0!==U){var b,v,T,A,M=k*e.width*m+I*c,V=e.width-U,D=e.pixels.blocks[f];if(D.encoding<2?(0===D.encoding?b=D.rawData:(s(D.stuffedData,D.bitsPerPixel,D.numValidPixels,D.offset,d,x,e.pixels.maxValue),b=x),v=0):T=2===D.encoding?0:D.offset,i)for(w=0;w<y;w++){for(7&M&&(A=i[M>>3],A<<=7&M),p=0;p<U;p++)7&M||(A=i[M>>3]),128&A?(o&&(o[M]=1),g=g>(n=D.encoding<2?b[v++]:T)?n:g,l[M++]=n):(o&&(o[M]=0),l[M++]=r),A<<=1;M+=V}else if(D.encoding<2)for(w=0;w<y;w++){for(p=0;p<U;p++)g=g>(n=b[v++])?n:g,l[M++]=n;M+=V}else for(g=g>T?T:g,w=0;w<y;w++){for(p=0;p<U;p++)l[M++]=T;M+=V}if(1===D.encoding&&v!==D.numValidPixels)throw"Block and Mask do not match";f++}}}return{resultPixels:l,resultMask:o,minValue:g}},r=function(e){return{fileIdentifierString:e.fileIdentifierString,fileVersion:e.fileVersion,imageType:e.imageType,height:e.height,width:e.width,maxZError:e.maxZError,eofOffset:e.eofOffset,mask:e.mask?{numBlocksX:e.mask.numBlocksX,numBlocksY:e.mask.numBlocksY,numBytes:e.mask.numBytes,maxValue:e.mask.maxValue}:null,pixels:{numBlocksX:e.pixels.numBlocksX,numBlocksY:e.pixels.numBlocksY,numBytes:e.pixels.numBytes,maxValue:e.pixels.maxValue,noDataValue:e.noDataValue}}},a=function(e){for(var t=e.pixels.numBlocksX*e.pixels.numBlocksY,i={},r=0;r<t;r++){var a=e.pixels.blocks[r];0===a.encoding?i.float32=!0:1===a.encoding?i[a.bitsPerPixel]=!0:i[0]=!0}return Object.keys(i)},n=function(e,t,i){var r={},a=new Uint8Array(e,t,10);if(r.fileIdentifierString=String.fromCharCode.apply(null,a),"CntZImage"!==r.fileIdentifierString.trim())throw"Unexpected file identifier string: "+r.fileIdentifierString;t+=10;var n=new DataView(e,t,24);if(r.fileVersion=n.getInt32(0,!0),r.imageType=n.getInt32(4,!0),r.height=n.getUint32(8,!0),r.width=n.getUint32(12,!0),r.maxZError=n.getFloat64(16,!0),t+=24,!i)if(n=new DataView(e,t,16),r.mask={},r.mask.numBlocksY=n.getUint32(0,!0),r.mask.numBlocksX=n.getUint32(4,!0),r.mask.numBytes=n.getUint32(8,!0),r.mask.maxValue=n.getFloat32(12,!0),t+=16,r.mask.numBytes>0){var s=new Uint8Array(Math.ceil(r.width*r.height/8)),l=(n=new DataView(e,t,r.mask.numBytes)).getInt16(0,!0),o=2,f=0;do{if(l>0)for(;l--;)s[f++]=n.getUint8(o++);else{var u=n.getUint8(o++);for(l=-l;l--;)s[f++]=u}l=n.getInt16(o,!0),o+=2}while(o<r.mask.numBytes);if(-32768!==l||f<s.length)throw"Unexpected end of mask RLE encoding";r.mask.bitset=s,t+=r.mask.numBytes}else 0==(r.mask.numBytes|r.mask.numBlocksY|r.mask.maxValue)&&(r.mask.bitset=new Uint8Array(Math.ceil(r.width*r.height/8)));n=new DataView(e,t,16),r.pixels={},r.pixels.numBlocksY=n.getUint32(0,!0),r.pixels.numBlocksX=n.getUint32(4,!0),r.pixels.numBytes=n.getUint32(8,!0),r.pixels.maxValue=n.getFloat32(12,!0),t+=16;var h=r.pixels.numBlocksX,c=r.pixels.numBlocksY,m=h+(r.width%h>0?1:0),d=c+(r.height%c>0?1:0);r.pixels.blocks=new Array(m*d);for(var g=0,p=0;p<d;p++)for(var w=0;w<m;w++){var x=0,k=e.byteLength-t;n=new DataView(e,t,Math.min(10,k));var y={};r.pixels.blocks[g++]=y;var I=n.getUint8(0);if(x++,y.encoding=63&I,y.encoding>3)throw"Invalid block encoding ("+y.encoding+")";if(2!==y.encoding){if(0!==I&&2!==I){if(I>>=6,y.offsetType=I,2===I)y.offset=n.getInt8(1),x++;else if(1===I)y.offset=n.getInt16(1,!0),x+=2;else{if(0!==I)throw"Invalid block offset type";y.offset=n.getFloat32(1,!0),x+=4}if(1===y.encoding)if(I=n.getUint8(x),x++,y.bitsPerPixel=63&I,I>>=6,y.numValidPixelsType=I,2===I)y.numValidPixels=n.getUint8(x),x++;else if(1===I)y.numValidPixels=n.getUint16(x,!0),x+=2;else{if(0!==I)throw"Invalid valid pixel count type";y.numValidPixels=n.getUint32(x,!0),x+=4}}var U;if(t+=x,3!==y.encoding)if(0===y.encoding){var b=(r.pixels.numBytes-1)/4;if(b!==Math.floor(b))throw"uncompressed block has invalid length";U=new ArrayBuffer(4*b),new Uint8Array(U).set(new Uint8Array(e,t,4*b));var v=new Float32Array(U);y.rawData=v,t+=4*b}else if(1===y.encoding){var T=Math.ceil(y.numValidPixels*y.bitsPerPixel/8),A=Math.ceil(T/4);U=new ArrayBuffer(4*A),new Uint8Array(U).set(new Uint8Array(e,t,T)),y.stuffedData=new Uint32Array(U),t+=T}}else t++}return r.eofOffset=t,r},s=function(e,t,i,r,a,n,s){var l,o,f,u=(1<<t)-1,h=0,c=0,m=Math.ceil((s-r)/a),d=4*e.length-Math.ceil(t*i/8);for(e[e.length-1]<<=8*d,l=0;l<i;l++){if(0===c&&(f=e[h++],c=32),c>=t)o=f>>>c-t&u,c-=t;else{var g=t-c;o=(f&u)<<g&u,o+=(f=e[h++])>>>(c=32-g)}n[l]=o<m?r+o*a:s}return n},e),o=function(){"use strict";var e=function(e,t,i,r,a,n,s,l){var o,f,u,h,c,m=(1<<i)-1,d=0,g=0,p=4*e.length-Math.ceil(i*r/8);if(e[e.length-1]<<=8*p,a)for(o=0;o<r;o++)0===g&&(u=e[d++],g=32),g>=i?(f=u>>>g-i&m,g-=i):(f=(u&m)<<(h=i-g)&m,f+=(u=e[d++])>>>(g=32-h)),t[o]=a[f];else for(c=Math.ceil((l-n)/s),o=0;o<r;o++)0===g&&(u=e[d++],g=32),g>=i?(f=u>>>g-i&m,g-=i):(f=(u&m)<<(h=i-g)&m,f+=(u=e[d++])>>>(g=32-h)),t[o]=f<c?n+f*s:l},t=function(e,t,i,r,a,n,s,l){var o,f,u,h,c=(1<<i)-1,m=0,d=0,g=0;if(a)for(o=0;o<r;o++)0===d&&(u=e[m++],d=32,g=0),d>=i?(f=u>>>g&c,d-=i,g+=i):(f=u>>>g&c,d=32-(h=i-d),f|=((u=e[m++])&(1<<h)-1)<<i-h,g=h),t[o]=a[f];else{var p=Math.ceil((l-n)/s);for(o=0;o<r;o++)0===d&&(u=e[m++],d=32,g=0),d>=i?(f=u>>>g&c,d-=i,g+=i):(f=u>>>g&c,d=32-(h=i-d),f|=((u=e[m++])&(1<<h)-1)<<i-h,g=h),t[o]=f<p?n+f*s:l}return t},i={HUFFMAN_LUT_BITS_MAX:12,computeChecksumFletcher32:function(e){for(var t=65535,i=65535,r=e.length,a=Math.floor(r/2),n=0;a;){var s=a>=359?359:a;a-=s;do{t+=e[n++]<<8,i+=t+=e[n++]}while(--s);t=(65535&t)+(t>>>16),i=(65535&i)+(i>>>16)}return 1&r&&(i+=t+=e[n]<<8),((i=(65535&i)+(i>>>16))<<16|(t=(65535&t)+(t>>>16)))>>>0},readHeaderInfo:function(e,t){var i=t.ptr,r=new Uint8Array(e,i,6),a={};if(a.fileIdentifierString=String.fromCharCode.apply(null,r),0!==a.fileIdentifierString.lastIndexOf("Lerc2",0))throw"Unexpected file identifier string (expect Lerc2 ): "+a.fileIdentifierString;i+=6;var n,s=new DataView(e,i,8),l=s.getInt32(0,!0);if(a.fileVersion=l,i+=4,l>=3&&(a.checksum=s.getUint32(4,!0),i+=4),s=new DataView(e,i,12),a.height=s.getUint32(0,!0),a.width=s.getUint32(4,!0),i+=8,l>=4?(a.numDims=s.getUint32(8,!0),i+=4):a.numDims=1,s=new DataView(e,i,40),a.numValidPixel=s.getUint32(0,!0),a.microBlockSize=s.getInt32(4,!0),a.blobSize=s.getInt32(8,!0),a.imageType=s.getInt32(12,!0),a.maxZError=s.getFloat64(16,!0),a.zMin=s.getFloat64(24,!0),a.zMax=s.getFloat64(32,!0),i+=40,t.headerInfo=a,t.ptr=i,l>=3&&(n=l>=4?52:48,this.computeChecksumFletcher32(new Uint8Array(e,i-n,a.blobSize-14))!==a.checksum))throw"Checksum failed.";return!0},checkMinMaxRanges:function(e,t){var i=t.headerInfo,r=this.getDataTypeArray(i.imageType),a=i.numDims*this.getDataTypeSize(i.imageType),n=this.readSubArray(e,t.ptr,r,a),s=this.readSubArray(e,t.ptr+a,r,a);t.ptr+=2*a;var l,o=!0;for(l=0;l<i.numDims;l++)if(n[l]!==s[l]){o=!1;break}return i.minValues=n,i.maxValues=s,o},readSubArray:function(e,t,i,r){var a;if(i===Uint8Array)a=new Uint8Array(e,t,r);else{var n=new ArrayBuffer(r);new Uint8Array(n).set(new Uint8Array(e,t,r)),a=new i(n)}return a},readMask:function(e,t){var i,r,a=t.ptr,n=t.headerInfo,s=n.width*n.height,l=n.numValidPixel,o=new DataView(e,a,4),f={};if(f.numBytes=o.getUint32(0,!0),a+=4,(0===l||s===l)&&0!==f.numBytes)throw"invalid mask";if(0===l)i=new Uint8Array(Math.ceil(s/8)),f.bitset=i,r=new Uint8Array(s),t.pixels.resultMask=r,a+=f.numBytes;else if(f.numBytes>0){i=new Uint8Array(Math.ceil(s/8));var u=(o=new DataView(e,a,f.numBytes)).getInt16(0,!0),h=2,c=0,m=0;do{if(u>0)for(;u--;)i[c++]=o.getUint8(h++);else for(m=o.getUint8(h++),u=-u;u--;)i[c++]=m;u=o.getInt16(h,!0),h+=2}while(h<f.numBytes);if(-32768!==u||c<i.length)throw"Unexpected end of mask RLE encoding";r=new Uint8Array(s);var d=0,g=0;for(g=0;g<s;g++)7&g?(d=i[g>>3],d<<=7&g):d=i[g>>3],128&d&&(r[g]=1);t.pixels.resultMask=r,f.bitset=i,a+=f.numBytes}return t.ptr=a,t.mask=f,!0},readDataOneSweep:function(e,t,r){var a,n=t.ptr,s=t.headerInfo,l=s.numDims,o=s.width*s.height,f=s.imageType,u=s.numValidPixel*i.getDataTypeSize(f)*l,h=t.pixels.resultMask;if(r===Uint8Array)a=new Uint8Array(e,n,u);else{var c=new ArrayBuffer(u);new Uint8Array(c).set(new Uint8Array(e,n,u)),a=new r(c)}if(a.length===o*l)t.pixels.resultPixels=a;else{t.pixels.resultPixels=new r(o*l);var m=0,d=0,g=0,p=0;if(l>1)for(g=0;g<l;g++)for(p=g*o,d=0;d<o;d++)h[d]&&(t.pixels.resultPixels[p+d]=a[m++]);else for(d=0;d<o;d++)h[d]&&(t.pixels.resultPixels[d]=a[m++])}return n+=u,t.ptr=n,!0},readHuffmanTree:function(e,t){var a=this.HUFFMAN_LUT_BITS_MAX,n=new DataView(e,t.ptr,16);if(t.ptr+=16,n.getInt32(0,!0)<2)throw"unsupported Huffman version";var s=n.getInt32(4,!0),l=n.getInt32(8,!0),o=n.getInt32(12,!0);if(l>=o)return!1;var f=new Uint32Array(o-l);i.decodeBits(e,t,f);var u,h,c,m,d=[];for(u=l;u<o;u++)d[h=u-(u<s?0:s)]={first:f[u-l],second:null};var g=e.byteLength-t.ptr,p=Math.ceil(g/4),w=new ArrayBuffer(4*p);new Uint8Array(w).set(new Uint8Array(e,t.ptr,g));var x,k=new Uint32Array(w),y=0,I=0;for(x=k[0],u=l;u<o;u++)(m=d[h=u-(u<s?0:s)].first)>0&&(d[h].second=x<<y>>>32-m,32-y>=m?32===(y+=m)&&(y=0,x=k[++I]):(y+=m-32,x=k[++I],d[h].second|=x>>>32-y));var U,b=0,v=new r;for(u=0;u<d.length;u++)void 0!==d[u]&&(b=Math.max(b,d[u].first));U=b>=a?a:b,b>=30&&console.log("WARning, large NUM LUT BITS IS "+b);var T,A,M,V,D,B=[];for(u=l;u<o;u++)if((m=d[h=u-(u<s?0:s)].first)>0)if(T=[m,h],m<=U)for(A=d[h].second<<U-m,M=1<<U-m,c=0;c<M;c++)B[A|c]=T;else for(A=d[h].second,D=v,V=m-1;V>=0;V--)A>>>V&1?(D.right||(D.right=new r),D=D.right):(D.left||(D.left=new r),D=D.left),0===V&&!D.val&&(D.val=T[1]);return{decodeLut:B,numBitsLUTQick:U,numBitsLUT:b,tree:v,stuffedData:k,srcPtr:I,bitPos:y}},readHuffman:function(e,t,i){var r,a,n,s,l,o,f,u,h,c=t.headerInfo,m=c.numDims,d=t.headerInfo.height,g=t.headerInfo.width,p=g*d,w=this.readHuffmanTree(e,t),x=w.decodeLut,k=w.tree,y=w.stuffedData,I=w.srcPtr,U=w.bitPos,b=w.numBitsLUTQick,v=w.numBitsLUT,T=0===t.headerInfo.imageType?128:0,A=t.pixels.resultMask,M=0;U>0&&(I++,U=0);var V,D=y[I],B=1===t.encodeMode,S=new i(p*m),P=S;for(V=0;V<c.numDims;V++){if(m>1&&(P=new i(S.buffer,p*V,p),M=0),t.headerInfo.numValidPixel===g*d)for(u=0,o=0;o<d;o++)for(f=0;f<g;f++,u++){if(a=0,l=s=D<<U>>>32-b,32-U<b&&(l=s|=y[I+1]>>>64-U-b),x[l])a=x[l][1],U+=x[l][0];else for(l=s=D<<U>>>32-v,32-U<v&&(l=s|=y[I+1]>>>64-U-v),r=k,h=0;h<v;h++)if(!(r=s>>>v-h-1&1?r.right:r.left).left&&!r.right){a=r.val,U=U+h+1;break}U>=32&&(U-=32,D=y[++I]),n=a-T,B?(n+=f>0?M:o>0?P[u-g]:M,n&=255,P[u]=n,M=n):P[u]=n}else for(u=0,o=0;o<d;o++)for(f=0;f<g;f++,u++)if(A[u]){if(a=0,l=s=D<<U>>>32-b,32-U<b&&(l=s|=y[I+1]>>>64-U-b),x[l])a=x[l][1],U+=x[l][0];else for(l=s=D<<U>>>32-v,32-U<v&&(l=s|=y[I+1]>>>64-U-v),r=k,h=0;h<v;h++)if(!(r=s>>>v-h-1&1?r.right:r.left).left&&!r.right){a=r.val,U=U+h+1;break}U>=32&&(U-=32,D=y[++I]),n=a-T,B?(f>0&&A[u-1]?n+=M:o>0&&A[u-g]?n+=P[u-g]:n+=M,n&=255,P[u]=n,M=n):P[u]=n}t.ptr=t.ptr+4*(I+1)+(U>0?4:0)}t.pixels.resultPixels=S},decodeBits:function(i,r,a,n,s){var l=r.headerInfo,o=l.fileVersion,f=0,u=new DataView(i,r.ptr,5),h=u.getUint8(0);f++;var c=h>>6,m=0===c?4:3-c,d=(32&h)>0,g=31&h,p=0;if(1===m)p=u.getUint8(f),f++;else if(2===m)p=u.getUint16(f,!0),f+=2;else{if(4!==m)throw"Invalid valid pixel count type";p=u.getUint32(f,!0),f+=4}var w,x,k,y,I,U,b,v,T,A=2*l.maxZError,M=l.numDims>1?l.maxValues[s]:l.zMax;if(d){for(r.counter.lut++,v=u.getUint8(f),f++,y=Math.ceil((v-1)*g/8),I=Math.ceil(y/4),x=new ArrayBuffer(4*I),k=new Uint8Array(x),r.ptr+=f,k.set(new Uint8Array(i,r.ptr,y)),b=new Uint32Array(x),r.ptr+=y,T=0;v-1>>>T;)T++;y=Math.ceil(p*T/8),I=Math.ceil(y/4),x=new ArrayBuffer(4*I),(k=new Uint8Array(x)).set(new Uint8Array(i,r.ptr,y)),w=new Uint32Array(x),r.ptr+=y,U=o>=3?function(e,t,i,r,a,n){var s,l=(1<<t)-1,o=0,f=0,u=0,h=0,c=0,m=0,d=[],g=Math.ceil((n-r)/a);for(f=0;f<i;f++)0===h&&(s=e[o++],h=32,m=0),h>=t?(c=s>>>m&l,h-=t,m+=t):(c=s>>>m&l,h=32-(u=t-h),c|=((s=e[o++])&(1<<u)-1)<<t-u,m=u),d[f]=c<g?r+c*a:n;return d.unshift(r),d}(b,g,v-1,n,A,M):function(e,t,i,r,a,n){var s,l=(1<<t)-1,o=0,f=0,u=0,h=0,c=0,m=[],d=4*e.length-Math.ceil(t*i/8);e[e.length-1]<<=8*d;var g=Math.ceil((n-r)/a);for(f=0;f<i;f++)0===h&&(s=e[o++],h=32),h>=t?(c=s>>>h-t&l,h-=t):(c=(s&l)<<(u=t-h)&l,c+=(s=e[o++])>>>(h=32-u)),m[f]=c<g?r+c*a:n;return m.unshift(r),m}(b,g,v-1,n,A,M),o>=3?t(w,a,T,p,U):e(w,a,T,p,U)}else r.counter.bitstuffer++,T=g,r.ptr+=f,T>0&&(y=Math.ceil(p*T/8),I=Math.ceil(y/4),x=new ArrayBuffer(4*I),(k=new Uint8Array(x)).set(new Uint8Array(i,r.ptr,y)),w=new Uint32Array(x),r.ptr+=y,o>=3?null==n?function(e,t,i,r){var a,n,s,l,o=(1<<i)-1,f=0,u=0,h=0;for(a=0;a<r;a++)0===u&&(s=e[f++],u=32,h=0),u>=i?(n=s>>>h&o,u-=i,h+=i):(n=s>>>h&o,u=32-(l=i-u),n|=((s=e[f++])&(1<<l)-1)<<i-l,h=l),t[a]=n}(w,a,T,p):t(w,a,T,p,!1,n,A,M):null==n?function(e,t,i,r){var a,n,s,l,o=(1<<i)-1,f=0,u=0,h=4*e.length-Math.ceil(i*r/8);for(e[e.length-1]<<=8*h,a=0;a<r;a++)0===u&&(s=e[f++],u=32),u>=i?(n=s>>>u-i&o,u-=i):(n=(s&o)<<(l=i-u)&o,n+=(s=e[f++])>>>(u=32-l)),t[a]=n}(w,a,T,p):e(w,a,T,p,!1,n,A,M))},readTiles:function(e,t,r){var a=t.headerInfo,n=a.width,s=a.height,l=a.microBlockSize,o=a.imageType,f=i.getDataTypeSize(o),u=Math.ceil(n/l),h=Math.ceil(s/l);t.pixels.numBlocksY=h,t.pixels.numBlocksX=u,t.pixels.ptr=0;var c,m,d,g,p,w,x,k,y=0,I=0,U=0,b=0,v=0,T=0,A=0,M=0,V=0,D=0,B=0,S=0,P=0,E=0,F=0,N=new r(l*l),R=s%l||l,L=n%l||l,O=a.numDims,C=t.pixels.resultMask,z=t.pixels.resultPixels;for(U=0;U<h;U++)for(v=U!==h-1?l:R,b=0;b<u;b++)for(D=U*n*l+b*l,B=n-(T=b!==u-1?l:L),k=0;k<O;k++){if(O>1&&(z=new r(t.pixels.resultPixels.buffer,n*s*k*f,n*s)),A=e.byteLength-t.ptr,m={},F=0,F++,V=(M=(c=new DataView(e,t.ptr,Math.min(10,A))).getUint8(0))>>6&255,(M>>2&15)!=(b*l>>3&15))throw"integrity issue";if((p=3&M)>3)throw t.ptr+=F,"Invalid block encoding ("+p+")";if(2!==p)if(0===p){if(t.counter.uncompressed++,t.ptr+=F,S=(S=v*T*f)<(P=e.byteLength-t.ptr)?S:P,d=new ArrayBuffer(S%f==0?S:S+f-S%f),new Uint8Array(d).set(new Uint8Array(e,t.ptr,S)),g=new r(d),E=0,C)for(y=0;y<v;y++){for(I=0;I<T;I++)C[D]&&(z[D]=g[E++]),D++;D+=B}else for(y=0;y<v;y++){for(I=0;I<T;I++)z[D++]=g[E++];D+=B}t.ptr+=E*f}else if(w=i.getDataTypeUsed(o,V),x=i.getOnePixel(m,F,w,c),F+=i.getDataTypeSize(w),3===p)if(t.ptr+=F,t.counter.constantoffset++,C)for(y=0;y<v;y++){for(I=0;I<T;I++)C[D]&&(z[D]=x),D++;D+=B}else for(y=0;y<v;y++){for(I=0;I<T;I++)z[D++]=x;D+=B}else if(t.ptr+=F,i.decodeBits(e,t,N,x,k),F=0,C)for(y=0;y<v;y++){for(I=0;I<T;I++)C[D]&&(z[D]=N[F++]),D++;D+=B}else for(y=0;y<v;y++){for(I=0;I<T;I++)z[D++]=N[F++];D+=B}else t.counter.constant++,t.ptr+=F}},formatFileInfo:function(e){return{fileIdentifierString:e.headerInfo.fileIdentifierString,fileVersion:e.headerInfo.fileVersion,imageType:e.headerInfo.imageType,height:e.headerInfo.height,width:e.headerInfo.width,numValidPixel:e.headerInfo.numValidPixel,microBlockSize:e.headerInfo.microBlockSize,blobSize:e.headerInfo.blobSize,maxZError:e.headerInfo.maxZError,pixelType:i.getPixelType(e.headerInfo.imageType),eofOffset:e.eofOffset,mask:e.mask?{numBytes:e.mask.numBytes}:null,pixels:{numBlocksX:e.pixels.numBlocksX,numBlocksY:e.pixels.numBlocksY,maxValue:e.headerInfo.zMax,minValue:e.headerInfo.zMin,noDataValue:e.noDataValue}}},constructConstantSurface:function(e){var t=e.headerInfo.zMax,i=e.headerInfo.numDims,r=e.headerInfo.height*e.headerInfo.width,a=r*i,n=0,s=0,l=0,o=e.pixels.resultMask;if(o)if(i>1)for(n=0;n<i;n++)for(l=n*r,s=0;s<r;s++)o[s]&&(e.pixels.resultPixels[l+s]=t);else for(s=0;s<r;s++)o[s]&&(e.pixels.resultPixels[s]=t);else if(e.pixels.resultPixels.fill)e.pixels.resultPixels.fill(t);else for(s=0;s<a;s++)e.pixels.resultPixels[s]=t},getDataTypeArray:function(e){var t;switch(e){case 0:t=Int8Array;break;case 1:t=Uint8Array;break;case 2:t=Int16Array;break;case 3:t=Uint16Array;break;case 4:t=Int32Array;break;case 5:t=Uint32Array;break;case 6:default:t=Float32Array;break;case 7:t=Float64Array}return t},getPixelType:function(e){var t;switch(e){case 0:t="S8";break;case 1:t="U8";break;case 2:t="S16";break;case 3:t="U16";break;case 4:t="S32";break;case 5:t="U32";break;case 6:default:t="F32";break;case 7:t="F64"}return t},isValidPixelValue:function(e,t){if(null==t)return!1;var i;switch(e){case 0:i=t>=-128&&t<=127;break;case 1:i=t>=0&&t<=255;break;case 2:i=t>=-32768&&t<=32767;break;case 3:i=t>=0&&t<=65536;break;case 4:i=t>=-2147483648&&t<=2147483647;break;case 5:i=t>=0&&t<=4294967296;break;case 6:i=t>=-34027999387901484e22&&t<=34027999387901484e22;break;case 7:i=t>=5e-324&&t<=17976931348623157e292;break;default:i=!1}return i},getDataTypeSize:function(e){var t=0;switch(e){case 0:case 1:t=1;break;case 2:case 3:t=2;break;case 4:case 5:case 6:t=4;break;case 7:t=8;break;default:t=e}return t},getDataTypeUsed:function(e,t){var i=e;switch(e){case 2:case 4:i=e-t;break;case 3:case 5:i=e-2*t;break;case 6:i=0===t?e:1===t?2:1;break;case 7:i=0===t?e:e-2*t+1;break;default:i=e}return i},getOnePixel:function(e,t,i,r){var a=0;switch(i){case 0:a=r.getInt8(t);break;case 1:a=r.getUint8(t);break;case 2:a=r.getInt16(t,!0);break;case 3:a=r.getUint16(t,!0);break;case 4:a=r.getInt32(t,!0);break;case 5:a=r.getUInt32(t,!0);break;case 6:a=r.getFloat32(t,!0);break;case 7:a=r.getFloat64(t,!0);break;default:throw"the decoder does not understand this pixel type"}return a}},r=function(e,t,i){this.val=e,this.left=t,this.right=i},a={decode:function(e,t){var r=(t=t||{}).noDataValue,a=0,n={};if(n.ptr=t.inputOffset||0,n.pixels={},i.readHeaderInfo(e,n)){var s=n.headerInfo,l=s.fileVersion,o=i.getDataTypeArray(s.imageType);i.readMask(e,n),s.numValidPixel!==s.width*s.height&&!n.pixels.resultMask&&(n.pixels.resultMask=t.maskData);var f,u=s.width*s.height;if(n.pixels.resultPixels=new o(u*s.numDims),n.counter={onesweep:0,uncompressed:0,lut:0,bitstuffer:0,constant:0,constantoffset:0},0!==s.numValidPixel)if(s.zMax===s.zMin)i.constructConstantSurface(n);else if(l>=4&&i.checkMinMaxRanges(e,n))i.constructConstantSurface(n);else{var h=new DataView(e,n.ptr,2),c=h.getUint8(0);if(n.ptr++,c)i.readDataOneSweep(e,n,o);else if(l>1&&s.imageType<=1&&Math.abs(s.maxZError-.5)<1e-5){var m=h.getUint8(1);if(n.ptr++,n.encodeMode=m,m>2||l<4&&m>1)throw"Invalid Huffman flag "+m;m?i.readHuffman(e,n,o):i.readTiles(e,n,o)}else i.readTiles(e,n,o)}n.eofOffset=n.ptr,t.inputOffset?(f=n.headerInfo.blobSize+t.inputOffset-n.ptr,Math.abs(f)>=1&&(n.eofOffset=t.inputOffset+n.headerInfo.blobSize)):(f=n.headerInfo.blobSize-n.ptr,Math.abs(f)>=1&&(n.eofOffset=n.headerInfo.blobSize));var d={width:s.width,height:s.height,pixelData:n.pixels.resultPixels,minValue:s.zMin,maxValue:s.zMax,validPixelCount:s.numValidPixel,dimCount:s.numDims,dimStats:{minValues:s.minValues,maxValues:s.maxValues},maskData:n.pixels.resultMask};if(n.pixels.resultMask&&i.isValidPixelValue(s.imageType,r)){var g=n.pixels.resultMask;for(a=0;a<u;a++)g[a]||(d.pixelData[a]=r);d.noDataValue=r}return n.noDataValue=r,t.returnFileInfo&&(d.fileInfo=i.formatFileInfo(n)),d}},getBandCount:function(e){for(var t=0,r=0,a={ptr:0,pixels:{}};r<e.byteLength-58;)i.readHeaderInfo(e,a),r+=a.headerInfo.blobSize,t++,a.ptr=r;return t}};return a}(),f=function(){var e=new ArrayBuffer(4),t=new Uint8Array(e);return new Uint32Array(e)[0]=1,1===t[0]}(),u={decode:function(e,t){if(!f)throw"Big endian system is not supported.";var i,r,a,n,s,u=(t=t||{}).inputOffset||0,h=new Uint8Array(e,u,10),c=String.fromCharCode.apply(null,h);if("CntZImage"===c.trim())i=l,r=1;else{if("Lerc2"!==c.substring(0,5))throw"Unexpected file identifier string: "+c;i=o,r=2}for(var m,d,g,p=0,w=e.byteLength-10,x=[],k={width:0,height:0,pixels:[],pixelType:t.pixelType,mask:null,statistics:[]};u<w;){var y=i.decode(e,{inputOffset:u,encodedMaskData:m,maskData:g,returnMask:0===p,returnEncodedMask:0===p,returnFileInfo:!0,pixelType:t.pixelType||null,noDataValue:t.noDataValue||null});u=y.fileInfo.eofOffset,0===p&&(m=y.encodedMaskData,g=y.maskData,k.width=y.width,k.height=y.height,k.dimCount=y.dimCount||1,k.pixelType=y.pixelType||y.fileInfo.pixelType,k.mask=y.maskData),r>1&&y.fileInfo.mask&&y.fileInfo.mask.numBytes>0&&x.push(y.maskData),p++,k.pixels.push(y.pixelData),k.statistics.push({minValue:y.minValue,maxValue:y.maxValue,noDataValue:y.noDataValue,dimStats:y.dimStats})}if(r>1&&x.length>1){for(s=k.width*k.height,k.bandMasks=x,(g=new Uint8Array(s)).set(x[0]),a=1;a<x.length;a++)for(d=x[a],n=0;n<s;n++)g[n]=g[n]&d[n];k.maskData=g}return k}};"function"==typeof define&&define.amd?define([],(function(){return u})):typeof t<"u"&&t.exports?t.exports=u:this.Lerc=u}()})),xr={NONE:0,LERC:1},fr=Object.freeze(xr),G={};G.DEFAULT_STRUCTURE=Object.freeze({heightScale:1,heightOffset:0,elementsPerHeight:1,stride:1,elementMultiplier:256,isBigEndian:!1});var He=new re,Ur=new Ie,Tr=new re,kr=new re;G.computeVertices=function(e){if(!W(e)||!W(e.heightmap))throw new me("options.heightmap is required.");if(!W(e.width)||!W(e.height))throw new me("options.width and options.height are required.");if(!W(e.nativeRectangle))throw new me("options.nativeRectangle is required.");if(!W(e.skirtHeight))throw new me("options.skirtHeight is required.");let t,i,r,a,n=Math.cos,s=Math.sin,l=Math.sqrt,o=Math.atan,f=Math.exp,u=he.PI_OVER_TWO,h=he.toRadians,c=e.heightmap,m=e.width,d=e.height,g=e.skirtHeight,p=g>0,w=e.isGeographic??!0,x=e.ellipsoid??pe.default,k=1/x.maximumRadius,y=ne.clone(e.nativeRectangle),I=ne.clone(e.rectangle);W(I)?(t=I.west,i=I.south,r=I.east,a=I.north):w?(t=h(y.west),i=h(y.south),r=h(y.east),a=h(y.north)):(t=y.west*k,i=u-2*o(f(-y.south*k)),r=y.east*k,a=u-2*o(f(-y.north*k)));let U=e.relativeToCenter,b=W(U);U=b?U:re.ZERO;let v=e.includeWebMercatorT??!1,T=e.exaggeration??1,A=e.exaggerationRelativeHeight??0,M=1!==T,V=e.structure??G.DEFAULT_STRUCTURE,D=V.heightScale??G.DEFAULT_STRUCTURE.heightScale,B=V.heightOffset??G.DEFAULT_STRUCTURE.heightOffset,S=V.elementsPerHeight??G.DEFAULT_STRUCTURE.elementsPerHeight,P=V.stride??G.DEFAULT_STRUCTURE.stride,E=V.elementMultiplier??G.DEFAULT_STRUCTURE.elementMultiplier,F=V.isBigEndian??G.DEFAULT_STRUCTURE.isBigEndian,N=ne.computeWidth(y),R=ne.computeHeight(y),L=N/(m-1),O=R/(d-1);w||(N*=k,R*=k);let C,z,H=x.radiiSquared,Y=H.x,_=H.y,j=H.z,X=65536,Z=-65536,K=er.eastNorthUpToFixedFrame(U,x),q=Ie.inverseTransformation(K,Ur);v&&(C=xe.geodeticLatitudeToMercatorAngle(i),z=1/(xe.geodeticLatitudeToMercatorAngle(a)-C));let J=Tr;J.x=Number.POSITIVE_INFINITY,J.y=Number.POSITIVE_INFINITY,J.z=Number.POSITIVE_INFINITY;let Q=kr;Q.x=Number.NEGATIVE_INFINITY,Q.y=Number.NEGATIVE_INFINITY,Q.z=Number.NEGATIVE_INFINITY;let $=Number.POSITIVE_INFINITY,ee=m*d,te=ee+(g>0?2*m+2*d:0),ie=new Array(te),ae=new Array(te),se=new Array(te),le=v?new Array(te):[],oe=M?new Array(te):[],fe=0,ue=d,ce=0,de=m;p&&(--fe,++ue,--ce,++de);let ge=1e-5;for(let e=fe;e<ue;++e){let p=e;p<0&&(p=0),p>=d&&(p=d-1);let I=y.north-O*p;I=w?h(I):u-2*o(f(-I*k));let U=(I-i)/(a-i);U=he.clamp(U,0,1);let b=e===fe,T=e===ue-1;g>0&&(b?I+=ge*R:T&&(I-=ge*R));let A,V=n(I),H=s(I),W=j*H;v&&(A=(xe.geodeticLatitudeToMercatorAngle(I)-C)*z);for(let e=ce;e<de;++e){let i=e;i<0&&(i=0),i>=m&&(i=m-1);let a,o=p*(m*P)+i*P;if(1===S)a=c[o];else{let e;if(a=0,F)for(e=0;e<S;++e)a=a*E+c[o+e];else for(e=S-1;e>=0;--e)a=a*E+c[o+e]}a=a*D+B,Z=Math.max(Z,a),X=Math.min(X,a);let f=y.west+L*i;w?f=h(f):f*=k;let u=(f-t)/(r-t);u=he.clamp(u,0,1);let I=p*m+i;if(g>0){let t=e===ce,r=e===de-1,n=b||T||t||r;if((b||T)&&(t||r))continue;n&&(a-=g,t?(I=ee+(d-p-1),f-=ge*N):T?I=ee+d+(m-i-1):r?(I=ee+d+m+p,f+=ge*N):b&&(I=ee+d+m+d+i))}let R=V*n(f),O=V*s(f),C=Y*R,z=_*O,G=1/l(C*R+z*O+W*H),j=C*G,K=z*G,te=W*G,ne=new re;ne.x=j+R*a,ne.y=K+O*a,ne.z=te+H*a,Ie.multiplyByPoint(q,ne,He),re.minimumByComponent(He,J,J),re.maximumByComponent(He,Q,Q),$=Math.min($,a),ie[I]=ne,se[I]=new Pe(u,U),ae[I]=a,v&&(le[I]=A),M&&(oe[I]=x.geodeticSurfaceNormal(ne))}}let we,ke,ye=rr.fromPoints(ie);W(I)&&(we=nr.fromRectangle(I,X,Z,x)),b&&(ke=new ar(x).computeHorizonCullingPointPossiblyUnderEllipsoid(U,ie,X));let Ue=new tr(J,Q,U),be=new sr(U,Ue,$,Z,K,!1,v,M,T,A),ve=new Float32Array(te*be.stride),Te=0;for(let e=0;e<te;++e)Te=be.encode(ve,Te,ie[e],se[e],ae[e],void 0,le[e],oe[e]);return{vertices:ve,maximumHeight:Z,minimumHeight:X,encoding:be,boundingSphere3D:ye,orientedBoundingBox:we,occludeePointInScaledSpace:ke}};var or=G,ur=Ir(lr(),1);function yr(e,t){if(e.encoding===fr.LERC){let t;try{t=ur.default.decode(e.heightmap)}catch(e){throw new Re(e)}if(t.statistics[0].minValue===Number.MAX_VALUE)throw new Re("Invalid tile data");e.heightmap=t.pixels[0],e.width=t.width,e.height=t.height}e.ellipsoid=pe.clone(e.ellipsoid),e.rectangle=ne.clone(e.rectangle);let i=or.computeVertices(e),r=i.vertices;return t.push(r.buffer),{vertices:r.buffer,numberOfAttributes:i.encoding.stride,minimumHeight:i.minimumHeight,maximumHeight:i.maximumHeight,gridWidth:e.width,gridHeight:e.height,boundingSphere3D:i.boundingSphere3D,orientedBoundingBox:i.orientedBoundingBox,occludeePointInScaledSpace:i.occludeePointInScaledSpace,encoding:i.encoding,westIndicesSouthToNorth:i.westIndicesSouthToNorth,southIndicesEastToWest:i.southIndicesEastToWest,eastIndicesNorthToSouth:i.eastIndicesNorthToSouth,northIndicesWestToEast:i.northIndicesWestToEast}}var Kr=ir(yr);export{Kr as default};
@@ -0,0 +1,26 @@
1
+ /* Copyright 2015-2018 Esri. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 @preserve */
2
+
3
+ /**
4
+ * @license
5
+ * Cesium - https://github.com/CesiumGS/cesium
6
+ * Version 1.135.0
7
+ *
8
+ * Copyright 2011-2022 Cesium Contributors
9
+ *
10
+ * Licensed under the Apache License, Version 2.0 (the "License");
11
+ * you may not use this file except in compliance with the License.
12
+ * You may obtain a copy of the License at
13
+ *
14
+ * http://www.apache.org/licenses/LICENSE-2.0
15
+ *
16
+ * Unless required by applicable law or agreed to in writing, software
17
+ * distributed under the License is distributed on an "AS IS" BASIS,
18
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ * See the License for the specific language governing permissions and
20
+ * limitations under the License.
21
+ *
22
+ * Columbus View (Pat. Pend.)
23
+ *
24
+ * Portions licensed separately.
25
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
26
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createVerticesFromQuantizedTerrainMesh.js.LICENSE.txt */
2
+ import{a as At}from"./chunk-YY6GMQGO.js";import{a as Ot,b as pt}from"./chunk-BJAB7QAF.js";import{a as Et}from"./chunk-D2NFCOGE.js";import{a as z}from"./chunk-XBWRWNYZ.js";import"./chunk-VHZAK4GN.js";import{a as bt}from"./chunk-CUP6SILZ.js";import{a as Mt}from"./chunk-T6Q6HX5J.js";import"./chunk-XQIJGAVD.js";import{b as Y,h as wt,i as yt}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as O,b as xt,c as rt,d as St}from"./chunk-KWAHJ72S.js";import{a as T}from"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as D}from"./chunk-XRRBRTKL.js";var ut=32767,G=new O,Gt=new O,Ut=new O,n=new xt,F=new rt;function qt(t,e){let i,r,o=t.quantizedVertices,a=o.length/3,s=t.octEncodedNormals,u=t.westIndices.length+t.eastIndices.length+t.southIndices.length+t.northIndices.length,c=t.includeWebMercatorT,h=t.exaggeration,l=t.exaggerationRelativeHeight,m=1!==h,I=yt.clone(t.rectangle),d=I.west,g=I.south,N=I.east,p=I.north,f=St.clone(t.ellipsoid),y=t.minimumHeight,S=t.maximumHeight,w=t.relativeToCenter,b=wt.eastNorthUpToFixedFrame(w,f),k=Y.inverseTransformation(b,new Y);c&&(i=z.geodeticLatitudeToMercatorAngle(g),r=1/(z.geodeticLatitudeToMercatorAngle(p)-i));let A=o.subarray(0,a),x=o.subarray(a,2*a),E=o.subarray(2*a,3*a),M=D(s),H=new Array(a),j=new Array(a),P=new Array(a),V=c?new Array(a):[],W=m?new Array(a):[],C=Gt;C.x=Number.POSITIVE_INFINITY,C.y=Number.POSITIVE_INFINITY,C.z=Number.POSITIVE_INFINITY;let _=Ut;_.x=Number.NEGATIVE_INFINITY,_.y=Number.NEGATIVE_INFINITY,_.z=Number.NEGATIVE_INFINITY;let B=Number.POSITIVE_INFINITY,U=Number.NEGATIVE_INFINITY,v=Number.POSITIVE_INFINITY,R=Number.NEGATIVE_INFINITY;for(let t=0;t<a;++t){let e=A[t],o=x[t],a=e/ut,s=o/ut,u=T.lerp(y,S,E[t]/ut);n.longitude=T.lerp(d,N,a),n.latitude=T.lerp(g,p,s),n.height=u,B=Math.min(n.longitude,B),U=Math.max(n.longitude,U),v=Math.min(n.latitude,v),R=Math.max(n.latitude,R);let h=f.cartographicToCartesian(n);H[t]=new rt(a,s),j[t]=u,P[t]=h,c&&(V[t]=(z.geodeticLatitudeToMercatorAngle(n.latitude)-i)*r),m&&(W[t]=f.geodeticSurfaceNormal(h)),Y.multiplyByPoint(k,h,G),O.minimumByComponent(G,C,C),O.maximumByComponent(G,_,_)}let L,X=K(t.westIndices,(function(t,e){return H[t].y-H[e].y})),q=K(t.eastIndices,(function(t,e){return H[e].y-H[t].y})),Z=K(t.southIndices,(function(t,e){return H[e].x-H[t].x})),$=K(t.northIndices,(function(t,e){return H[t].x-H[e].x}));y<0&&(L=new Ot(f).computeHorizonCullingPointPossiblyUnderEllipsoid(w,P,y));let tt=y;tt=Math.min(tt,Q(t.westIndices,t.westSkirtHeight,j,H,I,f,k,C,_)),tt=Math.min(tt,Q(t.southIndices,t.southSkirtHeight,j,H,I,f,k,C,_)),tt=Math.min(tt,Q(t.eastIndices,t.eastSkirtHeight,j,H,I,f,k,C,_)),tt=Math.min(tt,Q(t.northIndices,t.northSkirtHeight,j,H,I,f,k,C,_));let et=new bt(C,_,w),nt=new pt(w,et,tt,S,b,M,c,m,h,l),it=nt.stride,ot=new Float32Array(a*it+u*it),at=0;for(let t=0;t<a;++t){if(M){let e=2*t;F.x=s[e],F.y=s[e+1]}at=nt.encode(ot,at,P[t],H[t],j[t],F,V[t],W[t])}let st=Math.max(0,2*(u-4)),ct=t.indices.length+3*st,ht=Mt.createTypedArray(a+u,ct);ht.set(t.indices,0);let lt=1e-4,mt=(U-B)*lt,It=(R-v)*lt,dt=-mt,gt=mt,Tt=It,Nt=-It,ft=a*it;return J(ot,ft,X,nt,j,H,s,f,I,t.westSkirtHeight,i,r,dt,0),ft+=t.westIndices.length*it,J(ot,ft,Z,nt,j,H,s,f,I,t.southSkirtHeight,i,r,0,Nt),ft+=t.southIndices.length*it,J(ot,ft,q,nt,j,H,s,f,I,t.eastSkirtHeight,i,r,gt,0),ft+=t.eastIndices.length*it,J(ot,ft,$,nt,j,H,s,f,I,t.northSkirtHeight,i,r,0,Tt),At.addSkirtIndices(X,Z,q,$,a,ht,t.indices.length),e.push(ot.buffer,ht.buffer),{vertices:ot.buffer,indices:ht.buffer,westIndicesSouthToNorth:X,southIndicesEastToWest:Z,eastIndicesNorthToSouth:q,northIndicesWestToEast:$,vertexStride:it,center:w,minimumHeight:y,maximumHeight:S,occludeePointInScaledSpace:L,encoding:nt,indexCountWithoutSkirts:t.indices.length}}function Q(t,e,i,r,o,a,s,u,c){let h=Number.POSITIVE_INFINITY,l=o.north,m=o.south,I=o.east,d=o.west;I<d&&(I+=T.TWO_PI);let g=t.length;for(let o=0;o<g;++o){let g=t[o],N=i[g],p=r[g];n.longitude=T.lerp(d,I,p.x),n.latitude=T.lerp(m,l,p.y),n.height=N-e;let f=a.cartographicToCartesian(n,G);Y.multiplyByPoint(s,f,f),O.minimumByComponent(f,u,u),O.maximumByComponent(f,c,c),h=Math.min(h,n.height)}return h}function J(t,e,i,r,o,a,s,u,c,h,l,m,I,d){let g=D(s),N=c.north,p=c.south,f=c.east,y=c.west;f<y&&(f+=T.TWO_PI);let S=i.length;for(let c=0;c<S;++c){let S=i[c],w=o[S],b=a[S];n.longitude=T.lerp(y,f,b.x)+I,n.latitude=T.lerp(p,N,b.y)+d,n.height=w-h;let k,A,x=u.cartographicToCartesian(n,G);if(g){let t=2*S;F.x=s[t],F.y=s[t+1]}r.hasWebMercatorT&&(k=(z.geodeticLatitudeToMercatorAngle(n.latitude)-l)*m),r.hasGeodeticSurfaceNormals&&(A=u.geodeticSurfaceNormal(x)),e=r.encode(t,e,x,b,n.height,F,k,A)}}function K(t,e){let n;return"function"==typeof t.slice&&(n=t.slice(),"function"!=typeof n.sort&&(n=void 0)),D(n)||(n=Array.prototype.slice.call(t)),n.sort(e),n}var re=Et(qt);export{re as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */