@dp_unity/dpu-gis-viewer 0.0.1

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 (508) hide show
  1. package/README.md +0 -0
  2. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
  3. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
  4. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
  5. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
  6. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
  7. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
  8. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
  9. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
  10. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
  11. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
  12. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
  13. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
  14. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
  15. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
  16. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
  17. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
  18. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
  19. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
  20. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
  21. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
  22. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
  23. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
  24. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
  25. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
  26. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
  27. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
  28. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
  29. package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
  30. package/dist/DPUStatic/Assets/Images/bing_maps_credit.png +0 -0
  31. package/dist/DPUStatic/Assets/Images/cesium_credit.png +0 -0
  32. package/dist/DPUStatic/Assets/Images/google_earth_credit.png +0 -0
  33. package/dist/DPUStatic/Assets/Images/ion-credit.png +0 -0
  34. package/dist/DPUStatic/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  35. package/dist/DPUStatic/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  36. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  37. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  38. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  39. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  40. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  41. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  42. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  43. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  44. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  45. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  46. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  47. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  48. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  49. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  50. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  51. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  52. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  53. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  54. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  55. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  56. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  57. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  58. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  59. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  60. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  61. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  62. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  63. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  64. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  65. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  66. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  67. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  68. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  69. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  70. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  71. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  72. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  73. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  74. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  75. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  76. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  77. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  78. package/dist/DPUStatic/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
  79. package/dist/DPUStatic/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  80. package/dist/DPUStatic/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  81. package/dist/DPUStatic/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  82. package/dist/DPUStatic/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  83. package/dist/DPUStatic/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  84. package/dist/DPUStatic/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  85. package/dist/DPUStatic/Assets/Textures/maki/airfield.png +0 -0
  86. package/dist/DPUStatic/Assets/Textures/maki/airport.png +0 -0
  87. package/dist/DPUStatic/Assets/Textures/maki/alcohol-shop.png +0 -0
  88. package/dist/DPUStatic/Assets/Textures/maki/america-football.png +0 -0
  89. package/dist/DPUStatic/Assets/Textures/maki/art-gallery.png +0 -0
  90. package/dist/DPUStatic/Assets/Textures/maki/bakery.png +0 -0
  91. package/dist/DPUStatic/Assets/Textures/maki/bank.png +0 -0
  92. package/dist/DPUStatic/Assets/Textures/maki/bar.png +0 -0
  93. package/dist/DPUStatic/Assets/Textures/maki/baseball.png +0 -0
  94. package/dist/DPUStatic/Assets/Textures/maki/basketball.png +0 -0
  95. package/dist/DPUStatic/Assets/Textures/maki/beer.png +0 -0
  96. package/dist/DPUStatic/Assets/Textures/maki/bicycle.png +0 -0
  97. package/dist/DPUStatic/Assets/Textures/maki/building.png +0 -0
  98. package/dist/DPUStatic/Assets/Textures/maki/bus.png +0 -0
  99. package/dist/DPUStatic/Assets/Textures/maki/cafe.png +0 -0
  100. package/dist/DPUStatic/Assets/Textures/maki/camera.png +0 -0
  101. package/dist/DPUStatic/Assets/Textures/maki/campsite.png +0 -0
  102. package/dist/DPUStatic/Assets/Textures/maki/car.png +0 -0
  103. package/dist/DPUStatic/Assets/Textures/maki/cemetery.png +0 -0
  104. package/dist/DPUStatic/Assets/Textures/maki/cesium.png +0 -0
  105. package/dist/DPUStatic/Assets/Textures/maki/chemist.png +0 -0
  106. package/dist/DPUStatic/Assets/Textures/maki/cinema.png +0 -0
  107. package/dist/DPUStatic/Assets/Textures/maki/circle-stroked.png +0 -0
  108. package/dist/DPUStatic/Assets/Textures/maki/circle.png +0 -0
  109. package/dist/DPUStatic/Assets/Textures/maki/city.png +0 -0
  110. package/dist/DPUStatic/Assets/Textures/maki/clothing-store.png +0 -0
  111. package/dist/DPUStatic/Assets/Textures/maki/college.png +0 -0
  112. package/dist/DPUStatic/Assets/Textures/maki/commercial.png +0 -0
  113. package/dist/DPUStatic/Assets/Textures/maki/cricket.png +0 -0
  114. package/dist/DPUStatic/Assets/Textures/maki/cross.png +0 -0
  115. package/dist/DPUStatic/Assets/Textures/maki/dam.png +0 -0
  116. package/dist/DPUStatic/Assets/Textures/maki/danger.png +0 -0
  117. package/dist/DPUStatic/Assets/Textures/maki/disability.png +0 -0
  118. package/dist/DPUStatic/Assets/Textures/maki/dog-park.png +0 -0
  119. package/dist/DPUStatic/Assets/Textures/maki/embassy.png +0 -0
  120. package/dist/DPUStatic/Assets/Textures/maki/emergency-telephone.png +0 -0
  121. package/dist/DPUStatic/Assets/Textures/maki/entrance.png +0 -0
  122. package/dist/DPUStatic/Assets/Textures/maki/farm.png +0 -0
  123. package/dist/DPUStatic/Assets/Textures/maki/fast-food.png +0 -0
  124. package/dist/DPUStatic/Assets/Textures/maki/ferry.png +0 -0
  125. package/dist/DPUStatic/Assets/Textures/maki/fire-station.png +0 -0
  126. package/dist/DPUStatic/Assets/Textures/maki/fuel.png +0 -0
  127. package/dist/DPUStatic/Assets/Textures/maki/garden.png +0 -0
  128. package/dist/DPUStatic/Assets/Textures/maki/gift.png +0 -0
  129. package/dist/DPUStatic/Assets/Textures/maki/golf.png +0 -0
  130. package/dist/DPUStatic/Assets/Textures/maki/grocery.png +0 -0
  131. package/dist/DPUStatic/Assets/Textures/maki/hairdresser.png +0 -0
  132. package/dist/DPUStatic/Assets/Textures/maki/harbor.png +0 -0
  133. package/dist/DPUStatic/Assets/Textures/maki/heart.png +0 -0
  134. package/dist/DPUStatic/Assets/Textures/maki/heliport.png +0 -0
  135. package/dist/DPUStatic/Assets/Textures/maki/hospital.png +0 -0
  136. package/dist/DPUStatic/Assets/Textures/maki/ice-cream.png +0 -0
  137. package/dist/DPUStatic/Assets/Textures/maki/industrial.png +0 -0
  138. package/dist/DPUStatic/Assets/Textures/maki/land-use.png +0 -0
  139. package/dist/DPUStatic/Assets/Textures/maki/laundry.png +0 -0
  140. package/dist/DPUStatic/Assets/Textures/maki/library.png +0 -0
  141. package/dist/DPUStatic/Assets/Textures/maki/lighthouse.png +0 -0
  142. package/dist/DPUStatic/Assets/Textures/maki/lodging.png +0 -0
  143. package/dist/DPUStatic/Assets/Textures/maki/logging.png +0 -0
  144. package/dist/DPUStatic/Assets/Textures/maki/london-underground.png +0 -0
  145. package/dist/DPUStatic/Assets/Textures/maki/marker-stroked.png +0 -0
  146. package/dist/DPUStatic/Assets/Textures/maki/marker.png +0 -0
  147. package/dist/DPUStatic/Assets/Textures/maki/minefield.png +0 -0
  148. package/dist/DPUStatic/Assets/Textures/maki/mobilephone.png +0 -0
  149. package/dist/DPUStatic/Assets/Textures/maki/monument.png +0 -0
  150. package/dist/DPUStatic/Assets/Textures/maki/museum.png +0 -0
  151. package/dist/DPUStatic/Assets/Textures/maki/music.png +0 -0
  152. package/dist/DPUStatic/Assets/Textures/maki/oil-well.png +0 -0
  153. package/dist/DPUStatic/Assets/Textures/maki/park.png +0 -0
  154. package/dist/DPUStatic/Assets/Textures/maki/park2.png +0 -0
  155. package/dist/DPUStatic/Assets/Textures/maki/parking-garage.png +0 -0
  156. package/dist/DPUStatic/Assets/Textures/maki/parking.png +0 -0
  157. package/dist/DPUStatic/Assets/Textures/maki/pharmacy.png +0 -0
  158. package/dist/DPUStatic/Assets/Textures/maki/pitch.png +0 -0
  159. package/dist/DPUStatic/Assets/Textures/maki/place-of-worship.png +0 -0
  160. package/dist/DPUStatic/Assets/Textures/maki/playground.png +0 -0
  161. package/dist/DPUStatic/Assets/Textures/maki/police.png +0 -0
  162. package/dist/DPUStatic/Assets/Textures/maki/polling-place.png +0 -0
  163. package/dist/DPUStatic/Assets/Textures/maki/post.png +0 -0
  164. package/dist/DPUStatic/Assets/Textures/maki/prison.png +0 -0
  165. package/dist/DPUStatic/Assets/Textures/maki/rail-above.png +0 -0
  166. package/dist/DPUStatic/Assets/Textures/maki/rail-light.png +0 -0
  167. package/dist/DPUStatic/Assets/Textures/maki/rail-metro.png +0 -0
  168. package/dist/DPUStatic/Assets/Textures/maki/rail-underground.png +0 -0
  169. package/dist/DPUStatic/Assets/Textures/maki/rail.png +0 -0
  170. package/dist/DPUStatic/Assets/Textures/maki/religious-christian.png +0 -0
  171. package/dist/DPUStatic/Assets/Textures/maki/religious-jewish.png +0 -0
  172. package/dist/DPUStatic/Assets/Textures/maki/religious-muslim.png +0 -0
  173. package/dist/DPUStatic/Assets/Textures/maki/restaurant.png +0 -0
  174. package/dist/DPUStatic/Assets/Textures/maki/roadblock.png +0 -0
  175. package/dist/DPUStatic/Assets/Textures/maki/rocket.png +0 -0
  176. package/dist/DPUStatic/Assets/Textures/maki/school.png +0 -0
  177. package/dist/DPUStatic/Assets/Textures/maki/scooter.png +0 -0
  178. package/dist/DPUStatic/Assets/Textures/maki/shop.png +0 -0
  179. package/dist/DPUStatic/Assets/Textures/maki/skiing.png +0 -0
  180. package/dist/DPUStatic/Assets/Textures/maki/slaughterhouse.png +0 -0
  181. package/dist/DPUStatic/Assets/Textures/maki/soccer.png +0 -0
  182. package/dist/DPUStatic/Assets/Textures/maki/square-stroked.png +0 -0
  183. package/dist/DPUStatic/Assets/Textures/maki/square.png +0 -0
  184. package/dist/DPUStatic/Assets/Textures/maki/star-stroked.png +0 -0
  185. package/dist/DPUStatic/Assets/Textures/maki/star.png +0 -0
  186. package/dist/DPUStatic/Assets/Textures/maki/suitcase.png +0 -0
  187. package/dist/DPUStatic/Assets/Textures/maki/swimming.png +0 -0
  188. package/dist/DPUStatic/Assets/Textures/maki/telephone.png +0 -0
  189. package/dist/DPUStatic/Assets/Textures/maki/tennis.png +0 -0
  190. package/dist/DPUStatic/Assets/Textures/maki/theatre.png +0 -0
  191. package/dist/DPUStatic/Assets/Textures/maki/toilets.png +0 -0
  192. package/dist/DPUStatic/Assets/Textures/maki/town-hall.png +0 -0
  193. package/dist/DPUStatic/Assets/Textures/maki/town.png +0 -0
  194. package/dist/DPUStatic/Assets/Textures/maki/triangle-stroked.png +0 -0
  195. package/dist/DPUStatic/Assets/Textures/maki/triangle.png +0 -0
  196. package/dist/DPUStatic/Assets/Textures/maki/village.png +0 -0
  197. package/dist/DPUStatic/Assets/Textures/maki/warehouse.png +0 -0
  198. package/dist/DPUStatic/Assets/Textures/maki/waste-basket.png +0 -0
  199. package/dist/DPUStatic/Assets/Textures/maki/water.png +0 -0
  200. package/dist/DPUStatic/Assets/Textures/maki/wetland.png +0 -0
  201. package/dist/DPUStatic/Assets/Textures/maki/zoo.png +0 -0
  202. package/dist/DPUStatic/Assets/Textures/moonSmall.jpg +0 -0
  203. package/dist/DPUStatic/Assets/Textures/pin.svg +1 -0
  204. package/dist/DPUStatic/Assets/Textures/waterNormals.jpg +0 -0
  205. package/dist/DPUStatic/Assets/Textures/waterNormalsSmall.jpg +0 -0
  206. package/dist/DPUStatic/Assets/approximateTerrainHeights.json +1 -0
  207. package/dist/DPUStatic/ThirdParty/Workers/package.json +1 -0
  208. package/dist/DPUStatic/ThirdParty/Workers/pako_deflate.min.js +2 -0
  209. package/dist/DPUStatic/ThirdParty/Workers/pako_deflate.min.js.LICENSE.txt +1 -0
  210. package/dist/DPUStatic/ThirdParty/Workers/pako_inflate.min.js +2 -0
  211. package/dist/DPUStatic/ThirdParty/Workers/pako_inflate.min.js.LICENSE.txt +1 -0
  212. package/dist/DPUStatic/ThirdParty/Workers/z-worker-pako.js +1 -0
  213. package/dist/DPUStatic/ThirdParty/basis_transcoder.wasm +0 -0
  214. package/dist/DPUStatic/ThirdParty/draco_decoder.wasm +0 -0
  215. package/dist/DPUStatic/ThirdParty/google-earth-dbroot-parser.js +1 -0
  216. package/dist/DPUStatic/Widgets/Animation/Animation.css +127 -0
  217. package/dist/DPUStatic/Widgets/Animation/lighter.css +70 -0
  218. package/dist/DPUStatic/Widgets/BaseLayerPicker/BaseLayerPicker.css +108 -0
  219. package/dist/DPUStatic/Widgets/BaseLayerPicker/lighter.css +22 -0
  220. package/dist/DPUStatic/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +102 -0
  221. package/dist/DPUStatic/Widgets/CesiumInspector/CesiumInspector.css +113 -0
  222. package/dist/DPUStatic/Widgets/CesiumWidget/CesiumWidget.css +119 -0
  223. package/dist/DPUStatic/Widgets/CesiumWidget/lighter.css +14 -0
  224. package/dist/DPUStatic/Widgets/FullscreenButton/FullscreenButton.css +8 -0
  225. package/dist/DPUStatic/Widgets/Geocoder/Geocoder.css +70 -0
  226. package/dist/DPUStatic/Widgets/Geocoder/lighter.css +17 -0
  227. package/dist/DPUStatic/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
  228. package/dist/DPUStatic/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  229. package/dist/DPUStatic/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  230. package/dist/DPUStatic/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  231. package/dist/DPUStatic/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  232. package/dist/DPUStatic/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  233. package/dist/DPUStatic/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  234. package/dist/DPUStatic/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  235. package/dist/DPUStatic/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  236. package/dist/DPUStatic/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  237. package/dist/DPUStatic/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  238. package/dist/DPUStatic/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  239. package/dist/DPUStatic/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  240. package/dist/DPUStatic/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  241. package/dist/DPUStatic/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  242. package/dist/DPUStatic/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  243. package/dist/DPUStatic/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  244. package/dist/DPUStatic/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  245. package/dist/DPUStatic/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  246. package/dist/DPUStatic/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  247. package/dist/DPUStatic/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
  248. package/dist/DPUStatic/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
  249. package/dist/DPUStatic/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
  250. package/dist/DPUStatic/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
  251. package/dist/DPUStatic/Widgets/Images/NavigationHelp/Touch.svg +120 -0
  252. package/dist/DPUStatic/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
  253. package/dist/DPUStatic/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
  254. package/dist/DPUStatic/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
  255. package/dist/DPUStatic/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
  256. package/dist/DPUStatic/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  257. package/dist/DPUStatic/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  258. package/dist/DPUStatic/Widgets/Images/TimelineIcons.png +0 -0
  259. package/dist/DPUStatic/Widgets/Images/info-loading.gif +0 -0
  260. package/dist/DPUStatic/Widgets/InfoBox/InfoBox.css +92 -0
  261. package/dist/DPUStatic/Widgets/InfoBox/InfoBoxDescription.css +178 -0
  262. package/dist/DPUStatic/Widgets/NavigationHelpButton/NavigationHelpButton.css +93 -0
  263. package/dist/DPUStatic/Widgets/NavigationHelpButton/lighter.css +38 -0
  264. package/dist/DPUStatic/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
  265. package/dist/DPUStatic/Widgets/ProjectionPicker/ProjectionPicker.css +38 -0
  266. package/dist/DPUStatic/Widgets/SceneModePicker/SceneModePicker.css +56 -0
  267. package/dist/DPUStatic/Widgets/SelectionIndicator/SelectionIndicator.css +20 -0
  268. package/dist/DPUStatic/Widgets/Timeline/Timeline.css +103 -0
  269. package/dist/DPUStatic/Widgets/Timeline/lighter.css +23 -0
  270. package/dist/DPUStatic/Widgets/VRButton/VRButton.css +8 -0
  271. package/dist/DPUStatic/Widgets/Viewer/Viewer.css +107 -0
  272. package/dist/DPUStatic/Widgets/VoxelInspector/VoxelInspector.css +16 -0
  273. package/dist/DPUStatic/Widgets/lighter.css +237 -0
  274. package/dist/DPUStatic/Widgets/lighterShared.css +46 -0
  275. package/dist/DPUStatic/Widgets/shared.css +103 -0
  276. package/dist/DPUStatic/Widgets/widgets.css +1342 -0
  277. package/dist/DPUStatic/Workers/chunk-24JYWT5N.js +2 -0
  278. package/dist/DPUStatic/Workers/chunk-24JYWT5N.js.LICENSE.txt +24 -0
  279. package/dist/DPUStatic/Workers/chunk-34ULWVZF.js +2 -0
  280. package/dist/DPUStatic/Workers/chunk-34ULWVZF.js.LICENSE.txt +24 -0
  281. package/dist/DPUStatic/Workers/chunk-3THTQ4QB.js +2 -0
  282. package/dist/DPUStatic/Workers/chunk-3THTQ4QB.js.LICENSE.txt +24 -0
  283. package/dist/DPUStatic/Workers/chunk-42FICTTZ.js +2 -0
  284. package/dist/DPUStatic/Workers/chunk-42FICTTZ.js.LICENSE.txt +24 -0
  285. package/dist/DPUStatic/Workers/chunk-4BYMTYMT.js +2 -0
  286. package/dist/DPUStatic/Workers/chunk-4BYMTYMT.js.LICENSE.txt +24 -0
  287. package/dist/DPUStatic/Workers/chunk-54PMPXZ4.js +2 -0
  288. package/dist/DPUStatic/Workers/chunk-54PMPXZ4.js.LICENSE.txt +24 -0
  289. package/dist/DPUStatic/Workers/chunk-5CC3QRYS.js +2 -0
  290. package/dist/DPUStatic/Workers/chunk-5CC3QRYS.js.LICENSE.txt +24 -0
  291. package/dist/DPUStatic/Workers/chunk-6HIVPZ7K.js +2 -0
  292. package/dist/DPUStatic/Workers/chunk-6HIVPZ7K.js.LICENSE.txt +24 -0
  293. package/dist/DPUStatic/Workers/chunk-72CGGEJF.js +2 -0
  294. package/dist/DPUStatic/Workers/chunk-72CGGEJF.js.LICENSE.txt +24 -0
  295. package/dist/DPUStatic/Workers/chunk-CTRWX4F5.js +2 -0
  296. package/dist/DPUStatic/Workers/chunk-CTRWX4F5.js.LICENSE.txt +24 -0
  297. package/dist/DPUStatic/Workers/chunk-D5HNP2LB.js +2 -0
  298. package/dist/DPUStatic/Workers/chunk-D5HNP2LB.js.LICENSE.txt +24 -0
  299. package/dist/DPUStatic/Workers/chunk-E7HC3VTG.js +2 -0
  300. package/dist/DPUStatic/Workers/chunk-E7HC3VTG.js.LICENSE.txt +24 -0
  301. package/dist/DPUStatic/Workers/chunk-FNTGP2KW.js +2 -0
  302. package/dist/DPUStatic/Workers/chunk-FNTGP2KW.js.LICENSE.txt +24 -0
  303. package/dist/DPUStatic/Workers/chunk-G72WI3OZ.js +2 -0
  304. package/dist/DPUStatic/Workers/chunk-G72WI3OZ.js.LICENSE.txt +24 -0
  305. package/dist/DPUStatic/Workers/chunk-G75U3WZT.js +2 -0
  306. package/dist/DPUStatic/Workers/chunk-G75U3WZT.js.LICENSE.txt +24 -0
  307. package/dist/DPUStatic/Workers/chunk-GJI4ZBKE.js +2 -0
  308. package/dist/DPUStatic/Workers/chunk-GJI4ZBKE.js.LICENSE.txt +24 -0
  309. package/dist/DPUStatic/Workers/chunk-HQ4YU6WD.js +2 -0
  310. package/dist/DPUStatic/Workers/chunk-HQ4YU6WD.js.LICENSE.txt +24 -0
  311. package/dist/DPUStatic/Workers/chunk-HQXG4R4L.js +2 -0
  312. package/dist/DPUStatic/Workers/chunk-HQXG4R4L.js.LICENSE.txt +24 -0
  313. package/dist/DPUStatic/Workers/chunk-HTYD62GU.js +2 -0
  314. package/dist/DPUStatic/Workers/chunk-HTYD62GU.js.LICENSE.txt +24 -0
  315. package/dist/DPUStatic/Workers/chunk-IF6EJ7KL.js +2 -0
  316. package/dist/DPUStatic/Workers/chunk-IF6EJ7KL.js.LICENSE.txt +24 -0
  317. package/dist/DPUStatic/Workers/chunk-JR7WFPVR.js +2 -0
  318. package/dist/DPUStatic/Workers/chunk-JR7WFPVR.js.LICENSE.txt +24 -0
  319. package/dist/DPUStatic/Workers/chunk-JXLT7VPX.js +2 -0
  320. package/dist/DPUStatic/Workers/chunk-JXLT7VPX.js.LICENSE.txt +24 -0
  321. package/dist/DPUStatic/Workers/chunk-K2M3OJ7Z.js +2 -0
  322. package/dist/DPUStatic/Workers/chunk-K2M3OJ7Z.js.LICENSE.txt +24 -0
  323. package/dist/DPUStatic/Workers/chunk-LH3SUUXG.js +2 -0
  324. package/dist/DPUStatic/Workers/chunk-LH3SUUXG.js.LICENSE.txt +24 -0
  325. package/dist/DPUStatic/Workers/chunk-M3A6SPGI.js +2 -0
  326. package/dist/DPUStatic/Workers/chunk-M3A6SPGI.js.LICENSE.txt +67 -0
  327. package/dist/DPUStatic/Workers/chunk-MWSGYAUE.js +2 -0
  328. package/dist/DPUStatic/Workers/chunk-MWSGYAUE.js.LICENSE.txt +24 -0
  329. package/dist/DPUStatic/Workers/chunk-N3A5CZ2S.js +2 -0
  330. package/dist/DPUStatic/Workers/chunk-N3A5CZ2S.js.LICENSE.txt +24 -0
  331. package/dist/DPUStatic/Workers/chunk-N5HLZFHR.js +2 -0
  332. package/dist/DPUStatic/Workers/chunk-N5HLZFHR.js.LICENSE.txt +24 -0
  333. package/dist/DPUStatic/Workers/chunk-OTRIIEF3.js +2 -0
  334. package/dist/DPUStatic/Workers/chunk-OTRIIEF3.js.LICENSE.txt +24 -0
  335. package/dist/DPUStatic/Workers/chunk-OZYLWM74.js +2 -0
  336. package/dist/DPUStatic/Workers/chunk-OZYLWM74.js.LICENSE.txt +24 -0
  337. package/dist/DPUStatic/Workers/chunk-PJQ53UQY.js +2 -0
  338. package/dist/DPUStatic/Workers/chunk-PJQ53UQY.js.LICENSE.txt +24 -0
  339. package/dist/DPUStatic/Workers/chunk-PJUDOIE3.js +2 -0
  340. package/dist/DPUStatic/Workers/chunk-PJUDOIE3.js.LICENSE.txt +24 -0
  341. package/dist/DPUStatic/Workers/chunk-PY4CW263.js +2 -0
  342. package/dist/DPUStatic/Workers/chunk-PY4CW263.js.LICENSE.txt +24 -0
  343. package/dist/DPUStatic/Workers/chunk-Q5IXWMLP.js +2 -0
  344. package/dist/DPUStatic/Workers/chunk-Q5IXWMLP.js.LICENSE.txt +24 -0
  345. package/dist/DPUStatic/Workers/chunk-Q5MYX5A2.js +2 -0
  346. package/dist/DPUStatic/Workers/chunk-Q5MYX5A2.js.LICENSE.txt +24 -0
  347. package/dist/DPUStatic/Workers/chunk-R62IKKEC.js +2 -0
  348. package/dist/DPUStatic/Workers/chunk-R62IKKEC.js.LICENSE.txt +24 -0
  349. package/dist/DPUStatic/Workers/chunk-RDAVO5OM.js +2 -0
  350. package/dist/DPUStatic/Workers/chunk-RDAVO5OM.js.LICENSE.txt +24 -0
  351. package/dist/DPUStatic/Workers/chunk-RNF7TLFF.js +2 -0
  352. package/dist/DPUStatic/Workers/chunk-RNF7TLFF.js.LICENSE.txt +24 -0
  353. package/dist/DPUStatic/Workers/chunk-RRZIPF5C.js +2 -0
  354. package/dist/DPUStatic/Workers/chunk-RRZIPF5C.js.LICENSE.txt +24 -0
  355. package/dist/DPUStatic/Workers/chunk-S4VBGY2U.js +2 -0
  356. package/dist/DPUStatic/Workers/chunk-S4VBGY2U.js.LICENSE.txt +24 -0
  357. package/dist/DPUStatic/Workers/chunk-SOCYD7RP.js +2 -0
  358. package/dist/DPUStatic/Workers/chunk-SOCYD7RP.js.LICENSE.txt +24 -0
  359. package/dist/DPUStatic/Workers/chunk-SYY6FTAS.js +2 -0
  360. package/dist/DPUStatic/Workers/chunk-SYY6FTAS.js.LICENSE.txt +24 -0
  361. package/dist/DPUStatic/Workers/chunk-UCTPWOTZ.js +2 -0
  362. package/dist/DPUStatic/Workers/chunk-UCTPWOTZ.js.LICENSE.txt +24 -0
  363. package/dist/DPUStatic/Workers/chunk-UJMUN4NO.js +2 -0
  364. package/dist/DPUStatic/Workers/chunk-UJMUN4NO.js.LICENSE.txt +24 -0
  365. package/dist/DPUStatic/Workers/chunk-W5MIOKEY.js +2 -0
  366. package/dist/DPUStatic/Workers/chunk-W5MIOKEY.js.LICENSE.txt +24 -0
  367. package/dist/DPUStatic/Workers/chunk-W7OWWJQT.js +2 -0
  368. package/dist/DPUStatic/Workers/chunk-W7OWWJQT.js.LICENSE.txt +24 -0
  369. package/dist/DPUStatic/Workers/chunk-WJYW7YDO.js +2 -0
  370. package/dist/DPUStatic/Workers/chunk-WJYW7YDO.js.LICENSE.txt +24 -0
  371. package/dist/DPUStatic/Workers/chunk-XSINRSN5.js +2 -0
  372. package/dist/DPUStatic/Workers/chunk-XSINRSN5.js.LICENSE.txt +24 -0
  373. package/dist/DPUStatic/Workers/chunk-Z6PJ3IIE.js +2 -0
  374. package/dist/DPUStatic/Workers/chunk-Z6PJ3IIE.js.LICENSE.txt +24 -0
  375. package/dist/DPUStatic/Workers/chunk-Z7BLUZ7R.js +2 -0
  376. package/dist/DPUStatic/Workers/chunk-Z7BLUZ7R.js.LICENSE.txt +24 -0
  377. package/dist/DPUStatic/Workers/chunk-ZFYLUAMF.js +2 -0
  378. package/dist/DPUStatic/Workers/chunk-ZFYLUAMF.js.LICENSE.txt +24 -0
  379. package/dist/DPUStatic/Workers/chunk-ZHF7X3YD.js +2 -0
  380. package/dist/DPUStatic/Workers/chunk-ZHF7X3YD.js.LICENSE.txt +24 -0
  381. package/dist/DPUStatic/Workers/combineGeometry.js +2 -0
  382. package/dist/DPUStatic/Workers/combineGeometry.js.LICENSE.txt +24 -0
  383. package/dist/DPUStatic/Workers/createBoxGeometry.js +2 -0
  384. package/dist/DPUStatic/Workers/createBoxGeometry.js.LICENSE.txt +24 -0
  385. package/dist/DPUStatic/Workers/createBoxOutlineGeometry.js +2 -0
  386. package/dist/DPUStatic/Workers/createBoxOutlineGeometry.js.LICENSE.txt +24 -0
  387. package/dist/DPUStatic/Workers/createCircleGeometry.js +2 -0
  388. package/dist/DPUStatic/Workers/createCircleGeometry.js.LICENSE.txt +24 -0
  389. package/dist/DPUStatic/Workers/createCircleOutlineGeometry.js +2 -0
  390. package/dist/DPUStatic/Workers/createCircleOutlineGeometry.js.LICENSE.txt +24 -0
  391. package/dist/DPUStatic/Workers/createCoplanarPolygonGeometry.js +2 -0
  392. package/dist/DPUStatic/Workers/createCoplanarPolygonGeometry.js.LICENSE.txt +24 -0
  393. package/dist/DPUStatic/Workers/createCoplanarPolygonOutlineGeometry.js +2 -0
  394. package/dist/DPUStatic/Workers/createCoplanarPolygonOutlineGeometry.js.LICENSE.txt +24 -0
  395. package/dist/DPUStatic/Workers/createCorridorGeometry.js +2 -0
  396. package/dist/DPUStatic/Workers/createCorridorGeometry.js.LICENSE.txt +24 -0
  397. package/dist/DPUStatic/Workers/createCorridorOutlineGeometry.js +2 -0
  398. package/dist/DPUStatic/Workers/createCorridorOutlineGeometry.js.LICENSE.txt +24 -0
  399. package/dist/DPUStatic/Workers/createCylinderGeometry.js +2 -0
  400. package/dist/DPUStatic/Workers/createCylinderGeometry.js.LICENSE.txt +24 -0
  401. package/dist/DPUStatic/Workers/createCylinderOutlineGeometry.js +2 -0
  402. package/dist/DPUStatic/Workers/createCylinderOutlineGeometry.js.LICENSE.txt +24 -0
  403. package/dist/DPUStatic/Workers/createEllipseGeometry.js +2 -0
  404. package/dist/DPUStatic/Workers/createEllipseGeometry.js.LICENSE.txt +24 -0
  405. package/dist/DPUStatic/Workers/createEllipseOutlineGeometry.js +2 -0
  406. package/dist/DPUStatic/Workers/createEllipseOutlineGeometry.js.LICENSE.txt +24 -0
  407. package/dist/DPUStatic/Workers/createEllipsoidGeometry.js +2 -0
  408. package/dist/DPUStatic/Workers/createEllipsoidGeometry.js.LICENSE.txt +24 -0
  409. package/dist/DPUStatic/Workers/createEllipsoidOutlineGeometry.js +2 -0
  410. package/dist/DPUStatic/Workers/createEllipsoidOutlineGeometry.js.LICENSE.txt +24 -0
  411. package/dist/DPUStatic/Workers/createFrustumGeometry.js +2 -0
  412. package/dist/DPUStatic/Workers/createFrustumGeometry.js.LICENSE.txt +24 -0
  413. package/dist/DPUStatic/Workers/createFrustumOutlineGeometry.js +2 -0
  414. package/dist/DPUStatic/Workers/createFrustumOutlineGeometry.js.LICENSE.txt +24 -0
  415. package/dist/DPUStatic/Workers/createGeometry.js +2 -0
  416. package/dist/DPUStatic/Workers/createGeometry.js.LICENSE.txt +24 -0
  417. package/dist/DPUStatic/Workers/createGroundPolylineGeometry.js +2 -0
  418. package/dist/DPUStatic/Workers/createGroundPolylineGeometry.js.LICENSE.txt +24 -0
  419. package/dist/DPUStatic/Workers/createPlaneGeometry.js +2 -0
  420. package/dist/DPUStatic/Workers/createPlaneGeometry.js.LICENSE.txt +24 -0
  421. package/dist/DPUStatic/Workers/createPlaneOutlineGeometry.js +2 -0
  422. package/dist/DPUStatic/Workers/createPlaneOutlineGeometry.js.LICENSE.txt +24 -0
  423. package/dist/DPUStatic/Workers/createPolygonGeometry.js +2 -0
  424. package/dist/DPUStatic/Workers/createPolygonGeometry.js.LICENSE.txt +24 -0
  425. package/dist/DPUStatic/Workers/createPolygonOutlineGeometry.js +2 -0
  426. package/dist/DPUStatic/Workers/createPolygonOutlineGeometry.js.LICENSE.txt +24 -0
  427. package/dist/DPUStatic/Workers/createPolylineGeometry.js +2 -0
  428. package/dist/DPUStatic/Workers/createPolylineGeometry.js.LICENSE.txt +24 -0
  429. package/dist/DPUStatic/Workers/createPolylineVolumeGeometry.js +2 -0
  430. package/dist/DPUStatic/Workers/createPolylineVolumeGeometry.js.LICENSE.txt +24 -0
  431. package/dist/DPUStatic/Workers/createPolylineVolumeOutlineGeometry.js +2 -0
  432. package/dist/DPUStatic/Workers/createPolylineVolumeOutlineGeometry.js.LICENSE.txt +24 -0
  433. package/dist/DPUStatic/Workers/createRectangleGeometry.js +2 -0
  434. package/dist/DPUStatic/Workers/createRectangleGeometry.js.LICENSE.txt +24 -0
  435. package/dist/DPUStatic/Workers/createRectangleOutlineGeometry.js +2 -0
  436. package/dist/DPUStatic/Workers/createRectangleOutlineGeometry.js.LICENSE.txt +24 -0
  437. package/dist/DPUStatic/Workers/createSimplePolylineGeometry.js +2 -0
  438. package/dist/DPUStatic/Workers/createSimplePolylineGeometry.js.LICENSE.txt +24 -0
  439. package/dist/DPUStatic/Workers/createSphereGeometry.js +2 -0
  440. package/dist/DPUStatic/Workers/createSphereGeometry.js.LICENSE.txt +24 -0
  441. package/dist/DPUStatic/Workers/createSphereOutlineGeometry.js +2 -0
  442. package/dist/DPUStatic/Workers/createSphereOutlineGeometry.js.LICENSE.txt +24 -0
  443. package/dist/DPUStatic/Workers/createTaskProcessorWorker.js +2 -0
  444. package/dist/DPUStatic/Workers/createTaskProcessorWorker.js.LICENSE.txt +24 -0
  445. package/dist/DPUStatic/Workers/createVectorTileClampedPolylines.js +2 -0
  446. package/dist/DPUStatic/Workers/createVectorTileClampedPolylines.js.LICENSE.txt +24 -0
  447. package/dist/DPUStatic/Workers/createVectorTileGeometries.js +2 -0
  448. package/dist/DPUStatic/Workers/createVectorTileGeometries.js.LICENSE.txt +24 -0
  449. package/dist/DPUStatic/Workers/createVectorTilePoints.js +2 -0
  450. package/dist/DPUStatic/Workers/createVectorTilePoints.js.LICENSE.txt +24 -0
  451. package/dist/DPUStatic/Workers/createVectorTilePolygons.js +2 -0
  452. package/dist/DPUStatic/Workers/createVectorTilePolygons.js.LICENSE.txt +24 -0
  453. package/dist/DPUStatic/Workers/createVectorTilePolylines.js +2 -0
  454. package/dist/DPUStatic/Workers/createVectorTilePolylines.js.LICENSE.txt +24 -0
  455. package/dist/DPUStatic/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -0
  456. package/dist/DPUStatic/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js.LICENSE.txt +24 -0
  457. package/dist/DPUStatic/Workers/createVerticesFromHeightmap.js +2 -0
  458. package/dist/DPUStatic/Workers/createVerticesFromHeightmap.js.LICENSE.txt +26 -0
  459. package/dist/DPUStatic/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -0
  460. package/dist/DPUStatic/Workers/createVerticesFromQuantizedTerrainMesh.js.LICENSE.txt +24 -0
  461. package/dist/DPUStatic/Workers/createWallGeometry.js +2 -0
  462. package/dist/DPUStatic/Workers/createWallGeometry.js.LICENSE.txt +24 -0
  463. package/dist/DPUStatic/Workers/createWallOutlineGeometry.js +2 -0
  464. package/dist/DPUStatic/Workers/createWallOutlineGeometry.js.LICENSE.txt +24 -0
  465. package/dist/DPUStatic/Workers/decodeDraco.js +2 -0
  466. package/dist/DPUStatic/Workers/decodeDraco.js.LICENSE.txt +24 -0
  467. package/dist/DPUStatic/Workers/decodeGoogleEarthEnterprisePacket.js +2 -0
  468. package/dist/DPUStatic/Workers/decodeGoogleEarthEnterprisePacket.js.LICENSE.txt +24 -0
  469. package/dist/DPUStatic/Workers/decodeI3S.js +2 -0
  470. package/dist/DPUStatic/Workers/decodeI3S.js.LICENSE.txt +24 -0
  471. package/dist/DPUStatic/Workers/transcodeKTX2.js +2 -0
  472. package/dist/DPUStatic/Workers/transcodeKTX2.js.LICENSE.txt +24 -0
  473. package/dist/DPUStatic/Workers/transferTypedArrayTest.js +2 -0
  474. package/dist/DPUStatic/Workers/transferTypedArrayTest.js.LICENSE.txt +24 -0
  475. package/dist/DPUStatic/Workers/upsampleQuantizedTerrainMesh.js +2 -0
  476. package/dist/DPUStatic/Workers/upsampleQuantizedTerrainMesh.js.LICENSE.txt +24 -0
  477. package/dist/index.js +3 -0
  478. package/dist/index.js.LICENSE.txt +51 -0
  479. package/dist/index.js.map +1 -0
  480. package/dist/types/DPUService.d.ts +6 -0
  481. package/dist/types/DPUViewer.d.ts +93 -0
  482. package/dist/types/class/tileModel.d.ts +33 -0
  483. package/dist/types/icon.d.ts +33 -0
  484. package/dist/types/index.d.ts +2 -0
  485. package/dist/types/interfaces/styleElement.interface.d.ts +17 -0
  486. package/dist/types/services/Dialog/formLabelPoint.d.ts +43 -0
  487. package/dist/types/services/contextMenu.d.ts +32 -0
  488. package/dist/types/services/coordinates.d.ts +22 -0
  489. package/dist/types/services/createToolbar.d.ts +31 -0
  490. package/dist/types/services/dataProperties.d.ts +31 -0
  491. package/dist/types/services/flyCamera.d.ts +101 -0
  492. package/dist/types/services/flyToLocation.d.ts +32 -0
  493. package/dist/types/services/footerView.d.ts +18 -0
  494. package/dist/types/services/labelPoint.d.ts +135 -0
  495. package/dist/types/services/mapWeather.d.ts +34 -0
  496. package/dist/types/services/mesureCesium.d.ts +69 -0
  497. package/dist/types/services/sceneManager.d.ts +35 -0
  498. package/dist/types/services/styleElement.d.ts +10 -0
  499. package/dist/types/services/treeTileModel.d.ts +66 -0
  500. package/dist/types/utils/Dialog/dialog.d.ts +34 -0
  501. package/dist/types/utils/Dialog/validToken.d.ts +12 -0
  502. package/dist/types/utils/compass/DomUtil.d.ts +23 -0
  503. package/dist/types/utils/compass/Widget.d.ts +44 -0
  504. package/dist/types/utils/compass/compass.d.ts +60 -0
  505. package/dist/types/utils/compass/icons/compass-outer.d.ts +6 -0
  506. package/dist/types/utils/compass/icons/index.d.ts +4 -0
  507. package/dist/types/utils/utils.d.ts +16 -0
  508. package/package.json +49 -0
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.124
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see chunk-PJQ53UQY.js.LICENSE.txt */
2
+ import{a as y}from"./chunk-Q5MYX5A2.js";import{d as j}from"./chunk-K2M3OJ7Z.js";import{b as d,h as L}from"./chunk-M3A6SPGI.js";import{a as R}from"./chunk-D5HNP2LB.js";import{a as s,b as W,c as T,d as q}from"./chunk-S4VBGY2U.js";import{a as w}from"./chunk-UCTPWOTZ.js";import{a as P}from"./chunk-N3A5CZ2S.js";import{a as A,b as z}from"./chunk-G75U3WZT.js";import{e as l}from"./chunk-3THTQ4QB.js";function x(t,e){z.typeOf.object("ellipsoid",t),this._ellipsoid=t,this._cameraPosition=new s,this._cameraPositionInScaledSpace=new s,this._distanceToLimbInScaledSpaceSquared=0,l(e)&&(this.cameraPosition=e)}Object.defineProperties(x.prototype,{ellipsoid:{get:function(){return this._ellipsoid}},cameraPosition:{get:function(){return this._cameraPosition},set:function(t){let e=this._ellipsoid.transformPositionToScaledSpace(t,this._cameraPositionInScaledSpace),i=s.magnitudeSquared(e)-1;s.clone(t,this._cameraPosition),this._cameraPositionInScaledSpace=e,this._distanceToLimbInScaledSpaceSquared=i}}});var U=new s;x.prototype.isPointVisible=function(t){return F(this._ellipsoid.transformPositionToScaledSpace(t,U),this._cameraPositionInScaledSpace,this._distanceToLimbInScaledSpaceSquared)},x.prototype.isScaledSpacePointVisible=function(t){return F(t,this._cameraPositionInScaledSpace,this._distanceToLimbInScaledSpaceSquared)};var at=new s;x.prototype.isScaledSpacePointVisiblePossiblyUnderEllipsoid=function(t,e){let i,o,r=this._ellipsoid;return l(e)&&e<0&&r.minimumRadius>-e?(o=at,o.x=this._cameraPosition.x/(r.radii.x+e),o.y=this._cameraPosition.y/(r.radii.y+e),o.z=this._cameraPosition.z/(r.radii.z+e),i=o.x*o.x+o.y*o.y+o.z*o.z-1):(o=this._cameraPositionInScaledSpace,i=this._distanceToLimbInScaledSpaceSquared),F(t,o,i)},x.prototype.computeHorizonCullingPoint=function(t,e,i){return Q(this._ellipsoid,t,e,i)};var v=q.clone(q.UNIT_SPHERE);x.prototype.computeHorizonCullingPointPossiblyUnderEllipsoid=function(t,e,i,o){return Q(Z(this._ellipsoid,i,v),t,e,o)},x.prototype.computeHorizonCullingPointFromVertices=function(t,e,i,o,r){return J(this._ellipsoid,t,e,i,o,r)},x.prototype.computeHorizonCullingPointFromVerticesPossiblyUnderEllipsoid=function(t,e,i,o,r,s){return J(Z(this._ellipsoid,r,v),t,e,i,o,s)};var nt=[];x.prototype.computeHorizonCullingPointFromRectangle=function(t,e,i){z.typeOf.object("rectangle",t);let o=L.subsample(t,e,0,nt),r=j.fromPoints(o);if(!(s.magnitude(r.center)<.1*e.minimumRadius))return this.computeHorizonCullingPoint(r.center,o,i)};var st=new s;function Z(t,e,i){if(l(e)&&e<0&&t.minimumRadius>-e){let o=s.fromElements(t.radii.x+e,t.radii.y+e,t.radii.z+e,st);t=q.fromCartesian3(o,i)}return t}function Q(t,e,i,o){z.typeOf.object("directionToPoint",e),z.defined("positions",i),l(o)||(o=new s);let r=Y(t,e),a=0;for(let e=0,o=i.length;e<o;++e){let o=K(t,i[e],r);if(o<0)return;a=Math.max(a,o)}return X(r,a,o)}var M=new s;function J(t,e,i,o,r,a){z.typeOf.object("directionToPoint",e),z.defined("vertices",i),z.typeOf.number("stride",o),l(a)||(a=new s),o=P(o,3),r=P(r,s.ZERO);let n=Y(t,e),c=0;for(let e=0,s=i.length;e<s;e+=o){M.x=i[e]+r.x,M.y=i[e+1]+r.y,M.z=i[e+2]+r.z;let o=K(t,M,n);if(o<0)return;c=Math.max(c,o)}return X(n,c,a)}function F(t,e,i){let o=e,r=i,a=s.subtract(t,o,U),n=-s.dot(a,o);return!(r<0?n>0:n>r&&n*n/s.magnitudeSquared(a)>r)}var ct=new s,rt=new s;function K(t,e,i){let o=t.transformPositionToScaledSpace(e,ct),r=s.magnitudeSquared(o),a=Math.sqrt(r),n=s.divideByScalar(o,a,rt);r=Math.max(1,r),a=Math.max(1,a);let c=1/a;return 1/(s.dot(n,i)*c-s.magnitude(s.cross(n,i,n))*(Math.sqrt(r-1)*c))}function X(t,e,i){if(!(e<=0||e===1/0||e!=e))return s.multiplyByScalar(t,e,i)}var D=new s;function Y(t,e){return s.equals(e,s.ZERO)?e:(t.transformPositionToScaledSpace(e,D),s.normalize(D,D))}var Pt=x,O={getHeight:function(t,e,i){if(!Number.isFinite(e))throw new A("scale must be a finite number.");if(!Number.isFinite(i))throw new A("relativeHeight must be a finite number.");return(t-i)*e+i}},mt=new W;O.getPosition=function(t,e,i,o,r){let a=e.cartesianToCartographic(t,mt);if(!l(a))return s.clone(t,r);let n=O.getHeight(a.height,i,o);return s.fromRadians(a.longitude,a.latitude,n,e,r)};var $=O,dt={NONE:0,BITS12:1},S=Object.freeze(dt),C=new s,lt=new s,f=new T,V=new d,ht=new d,pt=Math.pow(2,12);function p(t,e,i,o,r,a,n,c,m,u){let h,f,p=S.NONE;if(l(e)&&l(i)&&l(o)&&l(r)){let t=e.minimum,a=e.maximum,n=s.subtract(a,t,lt),c=o-i;p=Math.max(s.maximumComponent(n),c)<pt-1?S.BITS12:S.NONE,h=d.inverseTransformation(r,new d);let l=s.negate(t,C);d.multiply(d.fromTranslation(l,V),h,h);let m=C;m.x=1/n.x,m.y=1/n.y,m.z=1/n.z,d.multiply(d.fromScale(m,V),h,h),f=d.clone(r),d.setTranslation(f,s.ZERO,f),r=d.clone(r,new d);let u=d.fromTranslation(t,V),x=d.fromScale(n,ht),y=d.multiply(u,x,V);d.multiply(r,y,r),d.multiply(f,y,f)}this.quantization=p,this.minimumHeight=i,this.maximumHeight=o,this.center=s.clone(t),this.toScaledENU=h,this.fromScaledENU=r,this.matrix=f,this.hasVertexNormals=a,this.hasWebMercatorT=P(n,!1),this.hasGeodeticSurfaceNormals=P(c,!1),this.exaggeration=P(m,1),this.exaggerationRelativeHeight=P(u,0),this.stride=0,this._offsetGeodeticSurfaceNormal=0,this._offsetVertexNormal=0,this._calculateStrideAndOffsets()}p.prototype.encode=function(t,e,i,o,r,a,n,c){let l=o.x,m=o.y;if(this.quantization===S.BITS12){(i=d.multiplyByPoint(this.toScaledENU,i,C)).x=w.clamp(i.x,0,1),i.y=w.clamp(i.y,0,1),i.z=w.clamp(i.z,0,1);let o=this.maximumHeight-this.minimumHeight,s=w.clamp((r-this.minimumHeight)/o,0,1);T.fromElements(i.x,i.y,f);let a=y.compressTextureCoordinates(f);T.fromElements(i.z,s,f);let c=y.compressTextureCoordinates(f);T.fromElements(l,m,f);let u=y.compressTextureCoordinates(f);if(t[e++]=a,t[e++]=c,t[e++]=u,this.hasWebMercatorT){T.fromElements(n,0,f);let i=y.compressTextureCoordinates(f);t[e++]=i}}else s.subtract(i,this.center,C),t[e++]=C.x,t[e++]=C.y,t[e++]=C.z,t[e++]=r,t[e++]=l,t[e++]=m,this.hasWebMercatorT&&(t[e++]=n);return this.hasVertexNormals&&(t[e++]=y.octPackFloat(a)),this.hasGeodeticSurfaceNormals&&(t[e++]=c.x,t[e++]=c.y,t[e++]=c.z),e};var ut=new s,B=new s;p.prototype.addGeodeticSurfaceNormals=function(t,e,i){if(this.hasGeodeticSurfaceNormals)return;let o=this.stride,r=t.length/o;this.hasGeodeticSurfaceNormals=!0,this._calculateStrideAndOffsets();let s=this.stride;for(let a=0;a<r;a++){for(let i=0;i<o;i++){let r=a*o+i;e[a*s+i]=t[r]}let r=this.decodePosition(e,a,ut),n=i.geodeticSurfaceNormal(r,B),c=a*s+this._offsetGeodeticSurfaceNormal;e[c]=n.x,e[c+1]=n.y,e[c+2]=n.z}},p.prototype.removeGeodeticSurfaceNormals=function(t,e){if(!this.hasGeodeticSurfaceNormals)return;let i=this.stride,o=t.length/i;this.hasGeodeticSurfaceNormals=!1,this._calculateStrideAndOffsets();let r=this.stride;for(let s=0;s<o;s++)for(let o=0;o<r;o++){let a=s*i+o;e[s*r+o]=t[a]}},p.prototype.decodePosition=function(t,e,i){if(l(i)||(i=new s),e*=this.stride,this.quantization===S.BITS12){let o=y.decompressTextureCoordinates(t[e],f);i.x=o.x,i.y=o.y;let r=y.decompressTextureCoordinates(t[e+1],f);return i.z=r.x,d.multiplyByPoint(this.fromScaledENU,i,i)}return i.x=t[e],i.y=t[e+1],i.z=t[e+2],s.add(i,this.center,i)},p.prototype.getExaggeratedPosition=function(t,e,i){i=this.decodePosition(t,e,i);let o=this.exaggeration,r=this.exaggerationRelativeHeight;if(1!==o&&this.hasGeodeticSurfaceNormals){let s=this.decodeGeodeticSurfaceNormal(t,e,B),a=this.decodeHeight(t,e),n=$.getHeight(a,o,r)-a;i.x+=s.x*n,i.y+=s.y*n,i.z+=s.z*n}return i},p.prototype.decodeTextureCoordinates=function(t,e,i){return l(i)||(i=new T),e*=this.stride,this.quantization===S.BITS12?y.decompressTextureCoordinates(t[e+2],i):T.fromElements(t[e+4],t[e+5],i)},p.prototype.decodeHeight=function(t,e){return e*=this.stride,this.quantization===S.BITS12?y.decompressTextureCoordinates(t[e+1],f).y*(this.maximumHeight-this.minimumHeight)+this.minimumHeight:t[e+3]},p.prototype.decodeWebMercatorT=function(t,e){return e*=this.stride,this.quantization===S.BITS12?y.decompressTextureCoordinates(t[e+3],f).x:t[e+6]},p.prototype.getOctEncodedNormal=function(t,e,i){let o=t[e=e*this.stride+this._offsetVertexNormal]/256,r=Math.floor(o),s=256*(o-r);return T.fromElements(r,s,i)},p.prototype.decodeGeodeticSurfaceNormal=function(t,e,i){return e=e*this.stride+this._offsetGeodeticSurfaceNormal,i.x=t[e],i.y=t[e+1],i.z=t[e+2],i},p.prototype._calculateStrideAndOffsets=function(){let t=0;this.quantization===S.BITS12?t+=3:t+=6,this.hasWebMercatorT&&(t+=1),this.hasVertexNormals&&(this._offsetVertexNormal=t,t+=1),this.hasGeodeticSurfaceNormals&&(this._offsetGeodeticSurfaceNormal=t,t+=3),this.stride=t};var G={position3DAndHeight:0,textureCoordAndEncodedNormals:1,geodeticSurfaceNormal:2},H={compressed0:0,compressed1:1,geodeticSurfaceNormal:2};p.prototype.getAttributes=function(t){let e=R.FLOAT,i=R.getSizeInBytes(e),o=this.stride*i,r=0,s=[];function a(a,n){s.push({index:a,vertexBuffer:t,componentDatatype:e,componentsPerAttribute:n,offsetInBytes:r,strideInBytes:o}),r+=n*i}if(this.quantization===S.NONE){a(G.position3DAndHeight,4);let t=2;t+=this.hasWebMercatorT?1:0,t+=this.hasVertexNormals?1:0,a(G.textureCoordAndEncodedNormals,t),this.hasGeodeticSurfaceNormals&&a(G.geodeticSurfaceNormal,3)}else{let t=this.hasWebMercatorT||this.hasVertexNormals,e=this.hasWebMercatorT&&this.hasVertexNormals;a(H.compressed0,t?4:3),e&&a(H.compressed1,1),this.hasGeodeticSurfaceNormals&&a(H.geodeticSurfaceNormal,3)}return s},p.prototype.getAttributeLocations=function(){return this.quantization===S.NONE?G:H},p.clone=function(t,e){if(l(t))return l(e)||(e=new p),e.quantization=t.quantization,e.minimumHeight=t.minimumHeight,e.maximumHeight=t.maximumHeight,e.center=s.clone(t.center),e.toScaledENU=d.clone(t.toScaledENU),e.fromScaledENU=d.clone(t.fromScaledENU),e.matrix=d.clone(t.matrix),e.hasVertexNormals=t.hasVertexNormals,e.hasWebMercatorT=t.hasWebMercatorT,e.hasGeodeticSurfaceNormals=t.hasGeodeticSurfaceNormals,e.exaggeration=t.exaggeration,e.exaggerationRelativeHeight=t.exaggerationRelativeHeight,e._calculateStrideAndOffsets(),e};var Wt=p;export{Pt as a,Wt as b};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.124
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see chunk-PJUDOIE3.js.LICENSE.txt */
2
+ import{a as L,b as x}from"./chunk-K2M3OJ7Z.js";import{h as R}from"./chunk-M3A6SPGI.js";import{b as d,c as O,d as g}from"./chunk-S4VBGY2U.js";import{a as w}from"./chunk-N3A5CZ2S.js";import{b as m}from"./chunk-G75U3WZT.js";import{e as f}from"./chunk-3THTQ4QB.js";function t(t,e,h,i){this.x=w(t,0),this.y=w(e,0),this.width=w(h,0),this.height=w(i,0)}t.packedLength=4,t.pack=function(t,e,h){return m.typeOf.object("value",t),m.defined("array",e),h=w(h,0),e[h++]=t.x,e[h++]=t.y,e[h++]=t.width,e[h]=t.height,e},t.unpack=function(e,h,i){return m.defined("array",e),h=w(h,0),f(i)||(i=new t),i.x=e[h++],i.y=e[h++],i.width=e[h++],i.height=e[h],i},t.fromPoints=function(e,h){if(f(h)||(h=new t),!f(e)||0===e.length)return h.x=0,h.y=0,h.width=0,h.height=0,h;let i=e.length,n=e[0].x,r=e[0].y,o=e[0].x,a=e[0].y;for(let t=1;t<i;t++){let h=e[t],i=h.x,f=h.y;n=Math.min(i,n),o=Math.max(i,o),r=Math.min(f,r),a=Math.max(f,a)}return h.x=n,h.y=r,h.width=o-n,h.height=a-r,h};var X=new L,Y=new d,k=new d;t.fromRectangle=function(e,h,i){if(f(i)||(i=new t),!f(e))return i.x=0,i.y=0,i.width=0,i.height=0,i;X._ellipsoid=g.default;let n=(h=w(h,X)).project(R.southwest(e,Y)),r=h.project(R.northeast(e,k));return O.subtract(r,n,r),i.x=n.x,i.y=n.y,i.width=r.x,i.height=r.y,i},t.clone=function(e,h){if(f(e))return f(h)?(h.x=e.x,h.y=e.y,h.width=e.width,h.height=e.height,h):new t(e.x,e.y,e.width,e.height)},t.union=function(e,h,i){m.typeOf.object("left",e),m.typeOf.object("right",h),f(i)||(i=new t);let n=Math.min(e.x,h.x),r=Math.min(e.y,h.y),o=Math.max(e.x+e.width,h.x+h.width),a=Math.max(e.y+e.height,h.y+h.height);return i.x=n,i.y=r,i.width=o-n,i.height=a-r,i},t.expand=function(e,h,i){m.typeOf.object("rectangle",e),m.typeOf.object("point",h),i=t.clone(e,i);let n=h.x-i.x,r=h.y-i.y;return n>i.width?i.width=n:n<0&&(i.width-=n,i.x=h.x),r>i.height?i.height=r:r<0&&(i.height-=r,i.y=h.y),i},t.intersect=function(t,e){m.typeOf.object("left",t),m.typeOf.object("right",e);let h=t.x,i=t.y,n=e.x,r=e.y;return h>n+e.width||h+t.width<n||i+t.height<r||i>r+e.height?x.OUTSIDE:x.INTERSECTING},t.equals=function(t,e){return t===e||f(t)&&f(e)&&t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height},t.prototype.clone=function(e){return t.clone(this,e)},t.prototype.intersect=function(e){return t.intersect(this,e)},t.prototype.equals=function(e){return t.equals(this,e)};var a=t;export{a};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.124
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see chunk-PY4CW263.js.LICENSE.txt */
2
+ import{c as Z}from"./chunk-K2M3OJ7Z.js";import{a as o,b as ft,e as b}from"./chunk-S4VBGY2U.js";import{a as R}from"./chunk-UCTPWOTZ.js";import{a as H}from"./chunk-N3A5CZ2S.js";import{a as w,b as et}from"./chunk-G75U3WZT.js";import{e as g}from"./chunk-3THTQ4QB.js";var nt={};function mt(e,t,r){let n=e+t;return R.sign(e)!==R.sign(t)&&Math.abs(n/Math.max(Math.abs(e),Math.abs(t)))<r?0:n}nt.computeDiscriminant=function(e,t,r){if("number"!=typeof e)throw new w("a is a required number.");if("number"!=typeof t)throw new w("b is a required number.");if("number"!=typeof r)throw new w("c is a required number.");return t*t-4*e*r},nt.computeRealRoots=function(e,t,r){if("number"!=typeof e)throw new w("a is a required number.");if("number"!=typeof t)throw new w("b is a required number.");if("number"!=typeof r)throw new w("c is a required number.");let n;if(0===e)return 0===t?[]:[-r/t];if(0===t){if(0===r)return[0,0];let t=Math.abs(r),i=Math.abs(e);if(t<i&&t/i<R.EPSILON14)return[0,0];if(t>i&&i/t<R.EPSILON14)return[];if(n=-r/e,n<0)return[];let o=Math.sqrt(n);return[-o,o]}if(0===r)return n=-t/e,n<0?[n,0]:[0,n];let i=mt(t*t,-4*e*r,R.EPSILON14);if(i<0)return[];let o=-.5*mt(t,R.sign(t)*Math.sqrt(i),R.EPSILON14);return t>0?[o/e,r/o]:[r/o,o/e]};var T=nt,ot={};function rt(e,t,r,n){let i,o,a=e,u=t/3,s=r/3,l=n,w=a*s,f=u*l,c=u*u,h=s*s,m=a*s-c,d=a*l-u*s,g=u*l-h,p=4*m*g-d*d;if(p<0){let e,t,r;c*f>=w*h?(e=a,t=m,r=-2*u*m+a*d):(e=l,t=g,r=-l*d+2*s*g);let n=-(r<0?-1:1)*Math.abs(e)*Math.sqrt(-p);o=-r+n;let b=o/2,R=b<0?-Math.pow(-b,1/3):Math.pow(b,1/3),q=o===n?-R:-t/R;return i=t<=0?R+q:-r/(R*R+q*q+t),c*f>=w*h?[(i-u)/a]:[-l/(i+s)]}let b=m,R=-2*u*m+a*d,q=g,O=-l*d+2*s*g,M=Math.sqrt(p),y=Math.sqrt(3)/2,S=Math.abs(Math.atan2(a*M,-R)/3);i=2*Math.sqrt(-b);let P=Math.cos(S);o=i*P;let N=i*(-P/2-y*Math.sin(S)),L=o+N>2*u?o-u:N-u,E=a,T=L/E;S=Math.abs(Math.atan2(l*M,-O)/3),i=2*Math.sqrt(-q),P=Math.cos(S),o=i*P,N=i*(-P/2-y*Math.sin(S));let I=-l,v=o+N<2*s?o+s:N+s,x=I/v,z=-L*v-E*I,C=(s*z-u*(L*I))/(-u*z+s*(E*v));return T<=C?T<=x?C<=x?[T,C,x]:[T,x,C]:[x,T,C]:T<=x?[C,T,x]:C<=x?[C,x,T]:[x,C,T]}ot.computeDiscriminant=function(e,t,r,n){if("number"!=typeof e)throw new w("a is a required number.");if("number"!=typeof t)throw new w("b is a required number.");if("number"!=typeof r)throw new w("c is a required number.");if("number"!=typeof n)throw new w("d is a required number.");let i=t*t,o=r*r;return 18*e*t*r*n+i*o-e*e*27*(n*n)-4*(e*o*r+i*t*n)},ot.computeRealRoots=function(e,t,r,n){if("number"!=typeof e)throw new w("a is a required number.");if("number"!=typeof t)throw new w("b is a required number.");if("number"!=typeof r)throw new w("c is a required number.");if("number"!=typeof n)throw new w("d is a required number.");let i,o;if(0===e)return T.computeRealRoots(t,r,n);if(0===t){if(0===r){if(0===n)return[0,0,0];o=-n/e;let t=o<0?-Math.pow(-o,1/3):Math.pow(o,1/3);return[t,t,t]}return 0===n?(i=T.computeRealRoots(e,0,r),0===i.Length?[0]:[i[0],0,i[1]]):rt(e,0,r,n)}return 0===r?0===n?(o=-t/e,o<0?[o,0,0]:[0,0,o]):rt(e,t,0,n):0===n?(i=T.computeRealRoots(e,t,r),0===i.length?[0]:i[1]<=0?[i[0],i[1],0]:i[0]>=0?[0,i[0],i[1]]:[i[0],0,i[1]]):rt(e,t,r,n)};var F=ot,it={};function z(e,t,r,n){let i=e*e,o=t-3*i/8,a=r-t*e/2+i*e/8,u=n-r*e/4+t*i/16-3*i*i/256,s=F.computeRealRoots(1,2*o,o*o-4*u,-a*a);if(s.length>0){let t=-e/4,r=s[s.length-1];if(Math.abs(r)<R.EPSILON14){let e=T.computeRealRoots(1,o,u);if(2===e.length){let r,n=e[0],i=e[1];if(n>=0&&i>=0){let e=Math.sqrt(n),r=Math.sqrt(i);return[t-r,t-e,t+e,t+r]}if(n>=0&&i<0)return r=Math.sqrt(n),[t-r,t+r];if(n<0&&i>=0)return r=Math.sqrt(i),[t-r,t+r]}return[]}if(r>0){let e=Math.sqrt(r),n=(o+r-a/e)/2,i=(o+r+a/e)/2,u=T.computeRealRoots(1,e,n),s=T.computeRealRoots(1,-e,i);return 0!==u.length?(u[0]+=t,u[1]+=t,0!==s.length?(s[0]+=t,s[1]+=t,u[1]<=s[0]?[u[0],u[1],s[0],s[1]]:s[1]<=u[0]?[s[0],s[1],u[0],u[1]]:u[0]>=s[0]&&u[1]<=s[1]?[s[0],u[0],u[1],s[1]]:s[0]>=u[0]&&s[1]<=u[1]?[u[0],s[0],s[1],u[1]]:u[0]>s[0]&&u[0]<s[1]?[s[0],u[0],s[1],u[1]]:[u[0],s[0],u[1],s[1]]):u):0!==s.length?(s[0]+=t,s[1]+=t,s):[]}}return[]}function Y(e,t,r,n){let i=e*e,o=-2*t,a=r*e+t*t-4*n,u=i*n-r*t*e+r*r,s=F.computeRealRoots(1,o,a,u);if(s.length>0){let o,a,u,l,w,f,c=s[0],h=t-c,m=h*h,d=e/2,g=h/2,p=m-4*n,b=m+4*Math.abs(n),q=i-4*c,O=i+4*Math.abs(c);if(c<0||p*O<q*b){let t=Math.sqrt(q);o=t/2,a=0===t?0:(e*g-r)/t}else{let t=Math.sqrt(p);o=0===t?0:(e*g-r)/t,a=t/2}0===d&&0===o?(u=0,l=0):R.sign(d)===R.sign(o)?(u=d+o,l=c/u):(l=d-o,u=c/l),0===g&&0===a?(w=0,f=0):R.sign(g)===R.sign(a)?(w=g+a,f=n/w):(f=g-a,w=n/f);let M=T.computeRealRoots(1,u,w),y=T.computeRealRoots(1,l,f);if(0!==M.length)return 0!==y.length?M[1]<=y[0]?[M[0],M[1],y[0],y[1]]:y[1]<=M[0]?[y[0],y[1],M[0],M[1]]:M[0]>=y[0]&&M[1]<=y[1]?[y[0],M[0],M[1],y[1]]:y[0]>=M[0]&&y[1]<=M[1]?[M[0],y[0],y[1],M[1]]:M[0]>y[0]&&M[0]<y[1]?[y[0],M[0],y[1],M[1]]:[M[0],y[0],M[1],y[1]]:M;if(0!==y.length)return y}return[]}it.computeDiscriminant=function(e,t,r,n,i){if("number"!=typeof e)throw new w("a is a required number.");if("number"!=typeof t)throw new w("b is a required number.");if("number"!=typeof r)throw new w("c is a required number.");if("number"!=typeof n)throw new w("d is a required number.");if("number"!=typeof i)throw new w("e is a required number.");let o=e*e,a=t*t,u=a*t,s=r*r,l=s*r,f=n*n,c=f*n,h=i*i;return a*s*f-4*u*c-4*e*l*f+18*e*t*r*c-27*o*f*f+o*e*256*(h*i)+i*(18*u*r*n-4*a*l+16*e*s*s-80*e*t*s*n-6*e*a*f+144*o*r*f)+h*(144*e*a*r-27*a*a-128*o*s-192*o*t*n)},it.computeRealRoots=function(e,t,r,n,i){if("number"!=typeof e)throw new w("a is a required number.");if("number"!=typeof t)throw new w("b is a required number.");if("number"!=typeof r)throw new w("c is a required number.");if("number"!=typeof n)throw new w("d is a required number.");if("number"!=typeof i)throw new w("e is a required number.");if(Math.abs(e)<R.EPSILON15)return F.computeRealRoots(t,r,n,i);let o=t/e,a=r/e,u=n/e,s=i/e,l=o<0?1:0;switch(l+=a<0?l+1:l,l+=u<0?l+1:l,l+=s<0?l+1:l,l){case 0:case 3:case 4:case 6:case 7:case 9:case 10:case 12:case 13:case 14:case 15:return z(o,a,u,s);case 1:case 2:case 5:case 8:case 11:return Y(o,a,u,s);default:return}};var dt=it;function J(e,t){t=o.clone(H(t,o.ZERO)),o.equals(t,o.ZERO)||o.normalize(t,t),this.origin=o.clone(H(e,o.ZERO)),this.direction=t}J.clone=function(e,t){if(g(e))return g(t)?(t.origin=o.clone(e.origin),t.direction=o.clone(e.direction),t):new J(e.origin,e.direction)},J.getPoint=function(e,t,r){return et.typeOf.object("ray",e),et.typeOf.number("t",t),g(r)||(r=new o),r=o.multiplyByScalar(e.direction,t,r),o.add(e.origin,r,r)};var st=J,O={rayPlane:function(e,t,r){if(!g(e))throw new w("ray is required.");if(!g(t))throw new w("plane is required.");g(r)||(r=new o);let n=e.origin,i=e.direction,a=t.normal,u=o.dot(a,i);if(Math.abs(u)<R.EPSILON15)return;let s=(-t.distance-o.dot(a,n))/u;return s<0?void 0:(r=o.multiplyByScalar(i,s,r),o.add(n,r,r))}},Ot=new o,Pt=new o,Mt=new o,lt=new o,ht=new o;O.rayTriangleParametric=function(e,t,r,n,i){if(!g(e))throw new w("ray is required.");if(!g(t))throw new w("p0 is required.");if(!g(r))throw new w("p1 is required.");if(!g(n))throw new w("p2 is required.");i=H(i,!1);let a,u,s,l,f,c=e.origin,h=e.direction,m=o.subtract(r,t,Ot),d=o.subtract(n,t,Pt),p=o.cross(h,d,Mt),b=o.dot(m,p);if(i){if(b<R.EPSILON6||(a=o.subtract(c,t,lt),s=o.dot(a,p),s<0||s>b)||(u=o.cross(a,m,ht),l=o.dot(h,u),l<0||s+l>b))return;f=o.dot(d,u)/b}else{if(Math.abs(b)<R.EPSILON6)return;let e=1/b;if(a=o.subtract(c,t,lt),s=o.dot(a,p)*e,s<0||s>1||(u=o.cross(a,m,ht),l=o.dot(h,u)*e,l<0||s+l>1))return;f=o.dot(d,u)*e}return f},O.rayTriangle=function(e,t,r,n,i,a){let u=O.rayTriangleParametric(e,t,r,n,i);if(g(u)&&!(u<0))return g(a)||(a=new o),o.multiplyByScalar(e.direction,u,a),o.add(e.origin,a,a)};var Et=new st;function Ct(e,t,r,n){let i=t*t-4*e*r;if(i<0)return;if(i>0){let r=1/(2*e),o=Math.sqrt(i),a=(-t+o)*r,u=(-t-o)*r;return a<u?(n.root0=a,n.root1=u):(n.root0=u,n.root1=a),n}let o=-t/(2*e);return 0!==o?(n.root0=n.root1=o,n):void 0}O.lineSegmentTriangle=function(e,t,r,n,i,a,u){if(!g(e))throw new w("v0 is required.");if(!g(t))throw new w("v1 is required.");if(!g(r))throw new w("p0 is required.");if(!g(n))throw new w("p1 is required.");if(!g(i))throw new w("p2 is required.");let s=Et;o.clone(e,s.origin),o.subtract(t,e,s.direction),o.normalize(s.direction,s.direction);let l=O.rayTriangleParametric(s,r,n,i,a);if(!(!g(l)||l<0||l>o.distance(e,t)))return g(u)||(u=new o),o.multiplyByScalar(s.direction,l,u),o.add(s.origin,u,u)};var Nt={root0:0,root1:0};function Rt(e,t,r){g(r)||(r=new Z);let n=e.origin,i=e.direction,a=t.center,u=t.radius*t.radius,s=o.subtract(n,a,Mt),l=Ct(o.dot(i,i),2*o.dot(i,s),o.magnitudeSquared(s)-u,Nt);if(g(l))return r.start=l.root0,r.stop=l.root1,r}O.raySphere=function(e,t,r){if(!g(e))throw new w("ray is required.");if(!g(t))throw new w("sphere is required.");if(r=Rt(e,t,r),g(r)&&!(r.stop<0))return r.start=Math.max(r.start,0),r};var Lt=new st;O.lineSegmentSphere=function(e,t,r,n){if(!g(e))throw new w("p0 is required.");if(!g(t))throw new w("p1 is required.");if(!g(r))throw new w("sphere is required.");let i=Lt;o.clone(e,i.origin);let a=o.subtract(t,e,i.direction),u=o.magnitude(a);if(o.normalize(a,a),n=Rt(i,r,n),!(!g(n)||n.stop<0||n.start>u))return n.start=Math.max(n.start,0),n.stop=Math.min(n.stop,u),n};var It=new o,Dt=new o;function Q(e,t,r){let n=e+t;return R.sign(e)!==R.sign(t)&&Math.abs(n/Math.max(Math.abs(e),Math.abs(t)))<r?0:n}O.rayEllipsoid=function(e,t){if(!g(e))throw new w("ray is required.");if(!g(t))throw new w("ellipsoid is required.");let r,n,i,a,u,s=t.oneOverRadii,l=o.multiplyComponents(s,e.origin,It),f=o.multiplyComponents(s,e.direction,Dt),c=o.magnitudeSquared(l),h=o.dot(l,f);if(c>1){if(h>=0)return;let e=h*h;if(r=c-1,n=o.magnitudeSquared(f),i=n*r,e<i)return;if(e>i){a=h*h-i,u=-h+Math.sqrt(a);let e=u/n,t=r/u;return e<t?new Z(e,t):{start:t,stop:e}}let t=Math.sqrt(r/n);return new Z(t,t)}return c<1?(r=c-1,n=o.magnitudeSquared(f),i=n*r,a=h*h-i,u=-h+Math.sqrt(a),new Z(0,u/n)):h<0?(n=o.magnitudeSquared(f),new Z(0,-h/n)):void 0},O.quadraticVectorExpression=function(e,t,r,n,i){let a,u=n*n,s=i*i,l=(e[b.COLUMN1ROW1]-e[b.COLUMN2ROW2])*s,w=i*(n*Q(e[b.COLUMN1ROW0],e[b.COLUMN0ROW1],R.EPSILON15)+t.y),f=e[b.COLUMN0ROW0]*u+e[b.COLUMN2ROW2]*s+n*t.x+r,c=s*Q(e[b.COLUMN2ROW1],e[b.COLUMN1ROW2],R.EPSILON15),h=i*(n*Q(e[b.COLUMN2ROW0],e[b.COLUMN0ROW2])+t.z),m=[];if(0===h&&0===c){if(a=T.computeRealRoots(l,w,f),0===a.length)return m;let e=a[0],t=Math.sqrt(Math.max(1-e*e,0));if(m.push(new o(n,i*e,i*-t)),m.push(new o(n,i*e,i*t)),2===a.length){let e=a[1],t=Math.sqrt(Math.max(1-e*e,0));m.push(new o(n,i*e,i*-t)),m.push(new o(n,i*e,i*t))}return m}let d=h*h,g=c*c,p=h*c,q=l*l+g,O=2*(w*l+p),M=2*f*l+w*w-g+d,y=2*(f*w-p),S=f*f-d;if(0===q&&0===O&&0===M&&0===y)return m;a=dt.computeRealRoots(q,O,M,y,S);let P=a.length;if(0===P)return m;for(let e=0;e<P;++e){let t,r=a[e],u=r*r,s=Math.max(1-u,0),d=Math.sqrt(s);t=R.sign(l)===R.sign(f)?Q(l*u+f,w*r,R.EPSILON12):R.sign(f)===R.sign(w*r)?Q(l*u,w*r+f,R.EPSILON12):Q(l*u+w*r,f,R.EPSILON12);let g=t*Q(c*r,h,R.EPSILON15);g<0?m.push(new o(n,i*r,i*d)):g>0?m.push(new o(n,i*r,i*-d)):0!==d?(m.push(new o(n,i*r,i*-d)),m.push(new o(n,i*r,i*d)),++e):m.push(new o(n,i*r,i*d))}return m};var ct=new o,wt=new o,qt=new o,K=new o,Bt=new o,xt=new b,Tt=new b,zt=new b,Wt=new b,Vt=new b,gt=new b,pt=new b,St=new o,vt=new o,Ut=new ft;O.grazingAltitudeLocation=function(e,t){if(!g(e))throw new w("ray is required.");if(!g(t))throw new w("ellipsoid is required.");let r=e.origin,n=e.direction;if(!o.equals(r,o.ZERO)){let e=t.geodeticSurfaceNormal(r,ct);if(o.dot(n,e)>=0)return r}let i=g(this.rayEllipsoid(e,t)),a=t.transformPositionToScaledSpace(n,ct),u=o.normalize(a,a),s=o.mostOrthogonalAxis(a,K),l=o.normalize(o.cross(s,u,wt),wt),f=o.normalize(o.cross(u,l,qt),qt),c=xt;c[0]=u.x,c[1]=u.y,c[2]=u.z,c[3]=l.x,c[4]=l.y,c[5]=l.z,c[6]=f.x,c[7]=f.y,c[8]=f.z;let h=b.transpose(c,Tt),m=b.fromScale(t.radii,zt),d=b.fromScale(t.oneOverRadii,Wt),p=Vt;p[0]=0,p[1]=-n.z,p[2]=n.y,p[3]=n.z,p[4]=0,p[5]=-n.x,p[6]=-n.y,p[7]=n.x,p[8]=0;let q,M,y=b.multiply(b.multiply(h,d,gt),p,gt),S=b.multiply(b.multiply(y,m,pt),c,pt),P=b.multiplyByVector(y,r,Bt),N=O.quadraticVectorExpression(S,o.negate(P,ct),0,0,1),L=N.length;if(L>0){let e=o.clone(o.ZERO,vt),a=Number.NEGATIVE_INFINITY;for(let t=0;t<L;++t){q=b.multiplyByVector(m,b.multiplyByVector(c,N[t],St),St);let i=o.normalize(o.subtract(q,r,K),K),u=o.dot(i,n);u>a&&(a=u,e=o.clone(q,e))}let u=t.cartesianToCartographic(e,Ut);return a=R.clamp(a,0,1),M=o.magnitude(o.subtract(e,r,K))*Math.sqrt(1-a*a),M=i?-M:M,u.height=M,t.cartographicToCartesian(u,new o)}};var Qt=new o;O.lineSegmentPlane=function(e,t,r,n){if(!g(e))throw new w("endPoint0 is required.");if(!g(t))throw new w("endPoint1 is required.");if(!g(r))throw new w("plane is required.");g(n)||(n=new o);let i=o.subtract(t,e,Qt),a=r.normal,u=o.dot(a,i);if(Math.abs(u)<R.EPSILON6)return;let s=o.dot(a,e),l=-(r.distance+s)/u;return l<0||l>1?void 0:(o.multiplyByScalar(i,l,n),o.add(e,n,n),n)},O.trianglePlaneIntersection=function(e,t,r,n){if(!(g(e)&&g(t)&&g(r)&&g(n)))throw new w("p0, p1, p2, and plane are required.");let i,a,u=n.normal,s=n.distance,l=o.dot(u,e)+s<0,f=o.dot(u,t)+s<0,c=o.dot(u,r)+s<0,h=0;if(h+=l?1:0,h+=f?1:0,h+=c?1:0,(1===h||2===h)&&(i=new o,a=new o),1===h){if(l)return O.lineSegmentPlane(e,t,n,i),O.lineSegmentPlane(e,r,n,a),{positions:[e,t,r,i,a],indices:[0,3,4,1,2,4,1,4,3]};if(f)return O.lineSegmentPlane(t,r,n,i),O.lineSegmentPlane(t,e,n,a),{positions:[e,t,r,i,a],indices:[1,3,4,2,0,4,2,4,3]};if(c)return O.lineSegmentPlane(r,e,n,i),O.lineSegmentPlane(r,t,n,a),{positions:[e,t,r,i,a],indices:[2,3,4,0,1,4,0,4,3]}}else if(2===h){if(!l)return O.lineSegmentPlane(t,e,n,i),O.lineSegmentPlane(r,e,n,a),{positions:[e,t,r,i,a],indices:[1,2,4,1,4,3,0,3,4]};if(!f)return O.lineSegmentPlane(r,t,n,i),O.lineSegmentPlane(e,t,n,a),{positions:[e,t,r,i,a],indices:[2,0,4,2,4,3,1,3,4]};if(!c)return O.lineSegmentPlane(e,r,n,i),O.lineSegmentPlane(t,r,n,a),{positions:[e,t,r,i,a],indices:[0,1,4,0,4,3,2,3,4]}}};var we=O;export{st as a,we as b};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.124
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see chunk-Q5IXWMLP.js.LICENSE.txt */
2
+ import{a as E}from"./chunk-6HIVPZ7K.js";import{a as Q}from"./chunk-RRZIPF5C.js";import{a as ae}from"./chunk-24JYWT5N.js";import{b as oe,c as re,d as J}from"./chunk-LH3SUUXG.js";import{b as A,d as ie}from"./chunk-K2M3OJ7Z.js";import{a as b,b as F,f as N}from"./chunk-M3A6SPGI.js";import{a as H}from"./chunk-D5HNP2LB.js";import{a as r,e as G}from"./chunk-S4VBGY2U.js";import{a as P}from"./chunk-UCTPWOTZ.js";import{a as m}from"./chunk-N3A5CZ2S.js";import{a as w,b as O}from"./chunk-G75U3WZT.js";import{e as a}from"./chunk-3THTQ4QB.js";function T(t){this.planes=m(t,[])}var X=[new r,new r,new r];r.clone(r.UNIT_X,X[0]),r.clone(r.UNIT_Y,X[1]),r.clone(r.UNIT_Z,X[2]);var V=new r,_e=new r,fe=new Q(new r(1,0,0),0);T.fromBoundingSphere=function(t,e){if(!a(t))throw new w("boundingSphere is required.");a(e)||(e=new T);let i=X.length,n=e.planes;n.length=2*i;let o=t.center,s=t.radius,f=0;for(let t=0;t<i;++t){let e=X[t],i=n[f],u=n[f+1];a(i)||(i=n[f]=new b),a(u)||(u=n[f+1]=new b),r.multiplyByScalar(e,-s,V),r.add(o,V,V),i.x=e.x,i.y=e.y,i.z=e.z,i.w=-r.dot(e,V),r.multiplyByScalar(e,s,V),r.add(o,V,V),u.x=-e.x,u.y=-e.y,u.z=-e.z,u.w=-r.dot(r.negate(e,_e),V),f+=2}return e},T.prototype.computeVisibility=function(t){if(!a(t))throw new w("boundingVolume is required.");let e=this.planes,r=!1;for(let i=0,a=e.length;i<a;++i){let a=t.intersectPlane(Q.fromCartesian4(e[i],fe));if(a===A.OUTSIDE)return A.OUTSIDE;a===A.INTERSECTING&&(r=!0)}return r?A.INTERSECTING:A.INSIDE},T.prototype.computeVisibilityWithPlaneMask=function(t,e){if(!a(t))throw new w("boundingVolume is required.");if(!a(e))throw new w("parentPlaneMask is required.");if(e===T.MASK_OUTSIDE||e===T.MASK_INSIDE)return e;let r=T.MASK_INSIDE,i=this.planes;for(let a=0,n=i.length;a<n;++a){let n=a<31?1<<a:0;if(a<31&&!(e&n))continue;let o=t.intersectPlane(Q.fromCartesian4(i[a],fe));if(o===A.OUTSIDE)return T.MASK_OUTSIDE;o===A.INTERSECTING&&(r|=n)}return r},T.MASK_OUTSIDE=4294967295,T.MASK_INSIDE=0,T.MASK_INDETERMINATE=2147483647;var $=T;function k(t){t=m(t,m.EMPTY_OBJECT),this.left=t.left,this._left=void 0,this.right=t.right,this._right=void 0,this.top=t.top,this._top=void 0,this.bottom=t.bottom,this._bottom=void 0,this.near=m(t.near,1),this._near=this.near,this.far=m(t.far,5e8),this._far=this.far,this._cullingVolume=new $,this._orthographicMatrix=new F}function ce(t){if(!(a(t.right)&&a(t.left)&&a(t.top)&&a(t.bottom)&&a(t.near)&&a(t.far)))throw new w("right, left, top, bottom, near, or far parameters are not set.");if(t.top!==t._top||t.bottom!==t._bottom||t.left!==t._left||t.right!==t._right||t.near!==t._near||t.far!==t._far){if(t.left>t.right)throw new w("right must be greater than left.");if(t.bottom>t.top)throw new w("top must be greater than bottom.");if(t.near<=0||t.near>t.far)throw new w("near must be greater than zero and less than far.");t._left=t.left,t._right=t.right,t._top=t.top,t._bottom=t.bottom,t._near=t.near,t._far=t.far,t._orthographicMatrix=F.computeOrthographicOffCenter(t.left,t.right,t.bottom,t.top,t.near,t.far,t._orthographicMatrix)}}Object.defineProperties(k.prototype,{projectionMatrix:{get:function(){return ce(this),this._orthographicMatrix}}});var me=new r,ye=new r,ge=new r,ee=new r;k.prototype.computeCullingVolume=function(t,e,i){if(!a(t))throw new w("position is required.");if(!a(e))throw new w("direction is required.");if(!a(i))throw new w("up is required.");let n=this._cullingVolume.planes,o=this.top,s=this.bottom,f=this.right,u=this.left,h=this.near,p=this.far,l=r.cross(e,i,me);r.normalize(l,l);let c=ye;r.multiplyByScalar(e,h,c),r.add(t,c,c);let m=ge;r.multiplyByScalar(l,u,m),r.add(c,m,m);let d=n[0];return a(d)||(d=n[0]=new b),d.x=l.x,d.y=l.y,d.z=l.z,d.w=-r.dot(l,m),r.multiplyByScalar(l,f,m),r.add(c,m,m),d=n[1],a(d)||(d=n[1]=new b),d.x=-l.x,d.y=-l.y,d.z=-l.z,d.w=-r.dot(r.negate(l,ee),m),r.multiplyByScalar(i,s,m),r.add(c,m,m),d=n[2],a(d)||(d=n[2]=new b),d.x=i.x,d.y=i.y,d.z=i.z,d.w=-r.dot(i,m),r.multiplyByScalar(i,o,m),r.add(c,m,m),d=n[3],a(d)||(d=n[3]=new b),d.x=-i.x,d.y=-i.y,d.z=-i.z,d.w=-r.dot(r.negate(i,ee),m),d=n[4],a(d)||(d=n[4]=new b),d.x=e.x,d.y=e.y,d.z=e.z,d.w=-r.dot(e,c),r.multiplyByScalar(e,p,m),r.add(t,m,m),d=n[5],a(d)||(d=n[5]=new b),d.x=-e.x,d.y=-e.y,d.z=-e.z,d.w=-r.dot(r.negate(e,ee),m),this._cullingVolume},k.prototype.getPixelDimensions=function(t,e,r,i,n){if(ce(this),!a(t)||!a(e))throw new w("Both drawingBufferWidth and drawingBufferHeight are required.");if(t<=0)throw new w("drawingBufferWidth must be greater than zero.");if(e<=0)throw new w("drawingBufferHeight must be greater than zero.");if(!a(r))throw new w("distance is required.");if(!a(i))throw new w("pixelRatio is required.");if(i<=0)throw new w("pixelRatio must be greater than zero.");if(!a(n))throw new w("A result object is required.");let o=i*(this.right-this.left)/t,s=i*(this.top-this.bottom)/e;return n.x=o,n.y=s,n},k.prototype.clone=function(t){return a(t)||(t=new k),t.left=this.left,t.right=this.right,t.top=this.top,t.bottom=this.bottom,t.near=this.near,t.far=this.far,t._left=void 0,t._right=void 0,t._top=void 0,t._bottom=void 0,t._near=void 0,t._far=void 0,t},k.prototype.equals=function(t){return a(t)&&t instanceof k&&this.right===t.right&&this.left===t.left&&this.top===t.top&&this.bottom===t.bottom&&this.near===t.near&&this.far===t.far},k.prototype.equalsEpsilon=function(t,e,r){return t===this||a(t)&&t instanceof k&&P.equalsEpsilon(this.right,t.right,e,r)&&P.equalsEpsilon(this.left,t.left,e,r)&&P.equalsEpsilon(this.top,t.top,e,r)&&P.equalsEpsilon(this.bottom,t.bottom,e,r)&&P.equalsEpsilon(this.near,t.near,e,r)&&P.equalsEpsilon(this.far,t.far,e,r)};var he=k;function z(t){t=m(t,m.EMPTY_OBJECT),this._offCenterFrustum=new he,this.width=t.width,this._width=void 0,this.aspectRatio=t.aspectRatio,this._aspectRatio=void 0,this.near=m(t.near,1),this._near=this.near,this.far=m(t.far,5e8),this._far=this.far}function j(t){if(!(a(t.width)&&a(t.aspectRatio)&&a(t.near)&&a(t.far)))throw new w("width, aspectRatio, near, or far parameters are not set.");let e=t._offCenterFrustum;if(t.width!==t._width||t.aspectRatio!==t._aspectRatio||t.near!==t._near||t.far!==t._far){if(t.aspectRatio<0)throw new w("aspectRatio must be positive.");if(t.near<0||t.near>t.far)throw new w("near must be greater than zero and less than far.");t._aspectRatio=t.aspectRatio,t._width=t.width,t._near=t.near,t._far=t.far;let r=1/t.aspectRatio;e.right=.5*t.width,e.left=-e.right,e.top=r*e.right,e.bottom=-e.top,e.near=t.near,e.far=t.far}}z.packedLength=4,z.pack=function(t,e,r){return O.typeOf.object("value",t),O.defined("array",e),r=m(r,0),e[r++]=t.width,e[r++]=t.aspectRatio,e[r++]=t.near,e[r]=t.far,e},z.unpack=function(t,e,r){return O.defined("array",t),e=m(e,0),a(r)||(r=new z),r.width=t[e++],r.aspectRatio=t[e++],r.near=t[e++],r.far=t[e],r},Object.defineProperties(z.prototype,{projectionMatrix:{get:function(){return j(this),this._offCenterFrustum.projectionMatrix}},offCenterFrustum:{get:function(){return j(this),this._offCenterFrustum}}}),z.prototype.computeCullingVolume=function(t,e,r){return j(this),this._offCenterFrustum.computeCullingVolume(t,e,r)},z.prototype.getPixelDimensions=function(t,e,r,i,a){return j(this),this._offCenterFrustum.getPixelDimensions(t,e,r,i,a)},z.prototype.clone=function(t){return a(t)||(t=new z),t.aspectRatio=this.aspectRatio,t.width=this.width,t.near=this.near,t.far=this.far,t._aspectRatio=void 0,t._width=void 0,t._near=void 0,t._far=void 0,this._offCenterFrustum.clone(t._offCenterFrustum),t},z.prototype.equals=function(t){return!!(a(t)&&t instanceof z)&&(j(this),j(t),this.width===t.width&&this.aspectRatio===t.aspectRatio&&this._offCenterFrustum.equals(t._offCenterFrustum))},z.prototype.equalsEpsilon=function(t,e,r){return!!(a(t)&&t instanceof z)&&(j(this),j(t),P.equalsEpsilon(this.width,t.width,e,r)&&P.equalsEpsilon(this.aspectRatio,t.aspectRatio,e,r)&&this._offCenterFrustum.equalsEpsilon(t._offCenterFrustum,e,r))};var B=z;function S(t){t=m(t,m.EMPTY_OBJECT),this.left=t.left,this._left=void 0,this.right=t.right,this._right=void 0,this.top=t.top,this._top=void 0,this.bottom=t.bottom,this._bottom=void 0,this.near=m(t.near,1),this._near=this.near,this.far=m(t.far,5e8),this._far=this.far,this._cullingVolume=new $,this._perspectiveMatrix=new F,this._infinitePerspective=new F}function te(t){if(!(a(t.right)&&a(t.left)&&a(t.top)&&a(t.bottom)&&a(t.near)&&a(t.far)))throw new w("right, left, top, bottom, near, or far parameters are not set.");let{top:e,bottom:r,right:i,left:n,near:o,far:s}=t;if(e!==t._top||r!==t._bottom||n!==t._left||i!==t._right||o!==t._near||s!==t._far){if(t.near<=0||t.near>t.far)throw new w("near must be greater than zero and less than far.");t._left=n,t._right=i,t._top=e,t._bottom=r,t._near=o,t._far=s,t._perspectiveMatrix=F.computePerspectiveOffCenter(n,i,r,e,o,s,t._perspectiveMatrix),t._infinitePerspective=F.computeInfinitePerspectiveOffCenter(n,i,r,e,o,t._infinitePerspective)}}Object.defineProperties(S.prototype,{projectionMatrix:{get:function(){return te(this),this._perspectiveMatrix}},infiniteProjectionMatrix:{get:function(){return te(this),this._infinitePerspective}}});var Ce=new r,be=new r,Oe=new r,Pe=new r;S.prototype.computeCullingVolume=function(t,e,i){if(!a(t))throw new w("position is required.");if(!a(e))throw new w("direction is required.");if(!a(i))throw new w("up is required.");let n=this._cullingVolume.planes,o=this.top,s=this.bottom,f=this.right,u=this.left,h=this.near,p=this.far,l=r.cross(e,i,Ce),c=be;r.multiplyByScalar(e,h,c),r.add(t,c,c);let m=Oe;r.multiplyByScalar(e,p,m),r.add(t,m,m);let d=Pe;r.multiplyByScalar(l,u,d),r.add(c,d,d),r.subtract(d,t,d),r.normalize(d,d),r.cross(d,i,d),r.normalize(d,d);let _=n[0];return a(_)||(_=n[0]=new b),_.x=d.x,_.y=d.y,_.z=d.z,_.w=-r.dot(d,t),r.multiplyByScalar(l,f,d),r.add(c,d,d),r.subtract(d,t,d),r.cross(i,d,d),r.normalize(d,d),_=n[1],a(_)||(_=n[1]=new b),_.x=d.x,_.y=d.y,_.z=d.z,_.w=-r.dot(d,t),r.multiplyByScalar(i,s,d),r.add(c,d,d),r.subtract(d,t,d),r.cross(l,d,d),r.normalize(d,d),_=n[2],a(_)||(_=n[2]=new b),_.x=d.x,_.y=d.y,_.z=d.z,_.w=-r.dot(d,t),r.multiplyByScalar(i,o,d),r.add(c,d,d),r.subtract(d,t,d),r.cross(d,l,d),r.normalize(d,d),_=n[3],a(_)||(_=n[3]=new b),_.x=d.x,_.y=d.y,_.z=d.z,_.w=-r.dot(d,t),_=n[4],a(_)||(_=n[4]=new b),_.x=e.x,_.y=e.y,_.z=e.z,_.w=-r.dot(e,c),r.negate(e,d),_=n[5],a(_)||(_=n[5]=new b),_.x=d.x,_.y=d.y,_.z=d.z,_.w=-r.dot(d,m),this._cullingVolume},S.prototype.getPixelDimensions=function(t,e,r,i,n){if(te(this),!a(t)||!a(e))throw new w("Both drawingBufferWidth and drawingBufferHeight are required.");if(t<=0)throw new w("drawingBufferWidth must be greater than zero.");if(e<=0)throw new w("drawingBufferHeight must be greater than zero.");if(!a(r))throw new w("distance is required.");if(!a(i))throw new w("pixelRatio is required");if(i<=0)throw new w("pixelRatio must be greater than zero.");if(!a(n))throw new w("A result object is required.");let o=1/this.near,s=this.top*o,f=2*i*r*s/e;s=this.right*o;let u=2*i*r*s/t;return n.x=u,n.y=f,n},S.prototype.clone=function(t){return a(t)||(t=new S),t.right=this.right,t.left=this.left,t.top=this.top,t.bottom=this.bottom,t.near=this.near,t.far=this.far,t._left=void 0,t._right=void 0,t._top=void 0,t._bottom=void 0,t._near=void 0,t._far=void 0,t},S.prototype.equals=function(t){return a(t)&&t instanceof S&&this.right===t.right&&this.left===t.left&&this.top===t.top&&this.bottom===t.bottom&&this.near===t.near&&this.far===t.far},S.prototype.equalsEpsilon=function(t,e,r){return t===this||a(t)&&t instanceof S&&P.equalsEpsilon(this.right,t.right,e,r)&&P.equalsEpsilon(this.left,t.left,e,r)&&P.equalsEpsilon(this.top,t.top,e,r)&&P.equalsEpsilon(this.bottom,t.bottom,e,r)&&P.equalsEpsilon(this.near,t.near,e,r)&&P.equalsEpsilon(this.far,t.far,e,r)};var pe=S;function R(t){t=m(t,m.EMPTY_OBJECT),this._offCenterFrustum=new pe,this.fov=t.fov,this._fov=void 0,this._fovy=void 0,this._sseDenominator=void 0,this.aspectRatio=t.aspectRatio,this._aspectRatio=void 0,this.near=m(t.near,1),this._near=this.near,this.far=m(t.far,5e8),this._far=this.far,this.xOffset=m(t.xOffset,0),this._xOffset=this.xOffset,this.yOffset=m(t.yOffset,0),this._yOffset=this.yOffset}function q(t){if(!(a(t.fov)&&a(t.aspectRatio)&&a(t.near)&&a(t.far)))throw new w("fov, aspectRatio, near, or far parameters are not set.");if(t.fov===t._fov&&t.aspectRatio===t._aspectRatio&&t.near===t._near&&t.far===t._far&&t.xOffset===t._xOffset&&t.yOffset===t._yOffset)return;if(O.typeOf.number.greaterThanOrEquals("fov",t.fov,0),O.typeOf.number.lessThan("fov",t.fov,Math.PI),O.typeOf.number.greaterThanOrEquals("aspectRatio",t.aspectRatio,0),O.typeOf.number.greaterThanOrEquals("near",t.near,0),t.near>t.far)throw new w("near must be less than far.");t._aspectRatio=t.aspectRatio,t._fov=t.fov,t._fovy=t.aspectRatio<=1?t.fov:2*Math.atan(Math.tan(.5*t.fov)/t.aspectRatio),t._near=t.near,t._far=t.far,t._sseDenominator=2*Math.tan(.5*t._fovy),t._xOffset=t.xOffset,t._yOffset=t.yOffset;let e=t._offCenterFrustum;e.top=t.near*Math.tan(.5*t._fovy),e.bottom=-e.top,e.right=t.aspectRatio*e.top,e.left=-e.right,e.near=t.near,e.far=t.far,e.right+=t.xOffset,e.left+=t.xOffset,e.top+=t.yOffset,e.bottom+=t.yOffset}R.packedLength=6,R.pack=function(t,e,r){return O.typeOf.object("value",t),O.defined("array",e),r=m(r,0),e[r++]=t.fov,e[r++]=t.aspectRatio,e[r++]=t.near,e[r++]=t.far,e[r++]=t.xOffset,e[r]=t.yOffset,e},R.unpack=function(t,e,r){return O.defined("array",t),e=m(e,0),a(r)||(r=new R),r.fov=t[e++],r.aspectRatio=t[e++],r.near=t[e++],r.far=t[e++],r.xOffset=t[e++],r.yOffset=t[e],r},Object.defineProperties(R.prototype,{projectionMatrix:{get:function(){return q(this),this._offCenterFrustum.projectionMatrix}},infiniteProjectionMatrix:{get:function(){return q(this),this._offCenterFrustum.infiniteProjectionMatrix}},fovy:{get:function(){return q(this),this._fovy}},sseDenominator:{get:function(){return q(this),this._sseDenominator}},offCenterFrustum:{get:function(){return q(this),this._offCenterFrustum}}}),R.prototype.computeCullingVolume=function(t,e,r){return q(this),this._offCenterFrustum.computeCullingVolume(t,e,r)},R.prototype.getPixelDimensions=function(t,e,r,i,a){return q(this),this._offCenterFrustum.getPixelDimensions(t,e,r,i,a)},R.prototype.clone=function(t){return a(t)||(t=new R),t.aspectRatio=this.aspectRatio,t.fov=this.fov,t.near=this.near,t.far=this.far,t._aspectRatio=void 0,t._fov=void 0,t._near=void 0,t._far=void 0,this._offCenterFrustum.clone(t._offCenterFrustum),t},R.prototype.equals=function(t){return!!(a(t)&&t instanceof R)&&(q(this),q(t),this.fov===t.fov&&this.aspectRatio===t.aspectRatio&&this._offCenterFrustum.equals(t._offCenterFrustum))},R.prototype.equalsEpsilon=function(t,e,r){return!!(a(t)&&t instanceof R)&&(q(this),q(t),P.equalsEpsilon(this.fov,t.fov,e,r)&&P.equalsEpsilon(this.aspectRatio,t.aspectRatio,e,r)&&this._offCenterFrustum.equalsEpsilon(t._offCenterFrustum,e,r))};var L=R,I=0,Fe=1;function U(t){O.typeOf.object("options",t),O.typeOf.object("options.frustum",t.frustum),O.typeOf.object("options.origin",t.origin),O.typeOf.object("options.orientation",t.orientation);let e,i,a=t.frustum,n=t.orientation,o=t.origin,s=m(t.vertexFormat,E.DEFAULT),f=m(t._drawNearPlane,!0);a instanceof L?(e=I,i=L.packedLength):a instanceof B&&(e=Fe,i=B.packedLength),this._frustumType=e,this._frustum=a.clone(),this._origin=r.clone(o),this._orientation=N.clone(n),this._drawNearPlane=f,this._vertexFormat=s,this._workerName="createFrustumGeometry",this.packedLength=2+i+r.packedLength+N.packedLength+E.packedLength}U.pack=function(t,e,i){O.typeOf.object("value",t),O.defined("array",e),i=m(i,0);let a=t._frustumType,n=t._frustum;return e[i++]=a,a===I?(L.pack(n,e,i),i+=L.packedLength):(B.pack(n,e,i),i+=B.packedLength),r.pack(t._origin,e,i),i+=r.packedLength,N.pack(t._orientation,e,i),i+=N.packedLength,E.pack(t._vertexFormat,e,i),e[i+=E.packedLength]=t._drawNearPlane?1:0,e};var xe=new L,ve=new B,ze=new N,Re=new r,Te=new E;function W(t,e,r,i,n,o,s,f){let u=t/3*2;for(let n=0;n<4;++n)a(e)&&(e[t]=o.x,e[t+1]=o.y,e[t+2]=o.z),a(r)&&(r[t]=s.x,r[t+1]=s.y,r[t+2]=s.z),a(i)&&(i[t]=f.x,i[t+1]=f.y,i[t+2]=f.z),t+=3;n[u]=0,n[u+1]=0,n[u+2]=1,n[u+3]=0,n[u+4]=1,n[u+5]=1,n[u+6]=0,n[u+7]=1}U.unpack=function(t,e,i){O.defined("array",t),e=m(e,0);let n,o=t[e++];o===I?(n=L.unpack(t,e,xe),e+=L.packedLength):(n=B.unpack(t,e,ve),e+=B.packedLength);let s=r.unpack(t,e,Re);e+=r.packedLength;let f=N.unpack(t,e,ze);e+=N.packedLength;let u=E.unpack(t,e,Te),h=1===t[e+=E.packedLength];if(!a(i))return new U({frustum:n,origin:s,orientation:f,vertexFormat:u,_drawNearPlane:h});let p=o===i._frustumType?i._frustum:void 0;return i._frustum=n.clone(p),i._frustumType=o,i._origin=r.clone(s,i._origin),i._orientation=N.clone(f,i._orientation),i._vertexFormat=E.clone(u,i._vertexFormat),i._drawNearPlane=h,i};var qe=new G,Me=new F,ne=new F,se=new r,le=new r,we=new r,ke=new r,Se=new r,De=new r,u=new Array(3),Z=new Array(4);Z[0]=new b(-1,-1,1,1),Z[1]=new b(1,-1,1,1),Z[2]=new b(1,1,1,1),Z[3]=new b(-1,1,1,1);var de=new Array(4);for(let t=0;t<4;++t)de[t]=new b;U._computeNearFarPlanes=function(t,e,i,n,o,s,f,h){let p=G.fromQuaternion(e,qe),l=m(s,se),c=m(f,le),w=m(h,we);l=G.getColumn(p,0,l),c=G.getColumn(p,1,c),w=G.getColumn(p,2,w),r.normalize(l,l),r.normalize(c,c),r.normalize(w,w),r.negate(l,l);let d,_,g=F.computeView(t,w,c,l,Me),y=n.projectionMatrix;if(i===I){let t=F.multiply(y,g,ne);_=F.inverse(t,ne)}else d=F.inverseTransformation(g,ne);a(_)?(u[0]=n.near,u[1]=n.far):(u[0]=0,u[1]=n.near,u[2]=n.far);for(let e=0;e<2;++e)for(let i=0;i<4;++i){let s=b.clone(Z[i],de[i]);if(a(_)){s=F.multiplyByVector(_,s,s);let i=1/s.w;r.multiplyByScalar(s,i,s),r.subtract(s,t,s),r.normalize(s,s);let a=r.dot(w,s);r.multiplyByScalar(s,u[e]/a,s),r.add(s,t,s)}else{let t=n.offCenterFrustum;a(t)&&(n=t);let r=u[e],i=u[e+1];s.x=.5*(s.x*(n.right-n.left)+n.left+n.right),s.y=.5*(s.y*(n.top-n.bottom)+n.bottom+n.top),s.z=.5*(s.z*(r-i)-r-i),s.w=1,F.multiplyByVector(d,s,s)}o[12*e+3*i]=s.x,o[12*e+3*i+1]=s.y,o[12*e+3*i+2]=s.z}},U.createGeometry=function(t){let e=t._frustumType,i=t._frustum,n=t._origin,o=t._orientation,s=t._drawNearPlane,f=t._vertexFormat,u=s?6:5,h=new Float64Array(72);U._computeNearFarPlanes(n,o,e,i,h);let p=24;h[p]=h[12],h[p+1]=h[13],h[p+2]=h[14],h[p+3]=h[0],h[p+4]=h[1],h[p+5]=h[2],h[p+6]=h[9],h[p+7]=h[10],h[p+8]=h[11],h[p+9]=h[21],h[p+10]=h[22],h[p+11]=h[23],p+=12,h[p]=h[15],h[p+1]=h[16],h[p+2]=h[17],h[p+3]=h[3],h[p+4]=h[4],h[p+5]=h[5],h[p+6]=h[0],h[p+7]=h[1],h[p+8]=h[2],h[p+9]=h[12],h[p+10]=h[13],h[p+11]=h[14],p+=12,h[p]=h[3],h[p+1]=h[4],h[p+2]=h[5],h[p+3]=h[15],h[p+4]=h[16],h[p+5]=h[17],h[p+6]=h[18],h[p+7]=h[19],h[p+8]=h[20],h[p+9]=h[6],h[p+10]=h[7],h[p+11]=h[8],p+=12,h[p]=h[6],h[p+1]=h[7],h[p+2]=h[8],h[p+3]=h[18],h[p+4]=h[19],h[p+5]=h[20],h[p+6]=h[21],h[p+7]=h[22],h[p+8]=h[23],h[p+9]=h[9],h[p+10]=h[10],h[p+11]=h[11],s||(h=h.subarray(12));let l=new ae({position:new J({componentDatatype:H.DOUBLE,componentsPerAttribute:3,values:h})});if(a(f.normal)||a(f.tangent)||a(f.bitangent)||a(f.st)){let t=a(f.normal)?new Float32Array(12*u):void 0,e=a(f.tangent)?new Float32Array(12*u):void 0,i=a(f.bitangent)?new Float32Array(12*u):void 0,n=a(f.st)?new Float32Array(8*u):void 0,o=se,h=le,c=we,m=r.negate(o,ke),w=r.negate(h,Se),d=r.negate(c,De);p=0,s&&(W(p,t,e,i,n,d,o,h),p+=12),W(p,t,e,i,n,c,m,h),p+=12,W(p,t,e,i,n,m,d,h),p+=12,W(p,t,e,i,n,w,d,m),p+=12,W(p,t,e,i,n,o,c,h),p+=12,W(p,t,e,i,n,h,c,m),a(t)&&(l.normal=new J({componentDatatype:H.FLOAT,componentsPerAttribute:3,values:t})),a(e)&&(l.tangent=new J({componentDatatype:H.FLOAT,componentsPerAttribute:3,values:e})),a(i)&&(l.bitangent=new J({componentDatatype:H.FLOAT,componentsPerAttribute:3,values:i})),a(n)&&(l.st=new J({componentDatatype:H.FLOAT,componentsPerAttribute:2,values:n}))}let c=new Uint16Array(6*u);for(let t=0;t<u;++t){let e=6*t,r=4*t;c[e]=r,c[e+1]=r+1,c[e+2]=r+2,c[e+3]=r,c[e+4]=r+2,c[e+5]=r+3}return new re({attributes:l,indices:c,primitiveType:oe.TRIANGLES,boundingSphere:ie.fromVertices(h)})};var Vt=U;export{B as a,L as b,Vt as c};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.124
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see chunk-Q5MYX5A2.js.LICENSE.txt */
2
+ import{a as w,b as z,i as S}from"./chunk-M3A6SPGI.js";import{a as y}from"./chunk-D5HNP2LB.js";import{a as C,c as T,e as x}from"./chunk-S4VBGY2U.js";import{a as h}from"./chunk-UCTPWOTZ.js";import{a as u,b as a}from"./chunk-G75U3WZT.js";import{e as b}from"./chunk-3THTQ4QB.js";var c={SCALAR:"SCALAR",VEC2:"VEC2",VEC3:"VEC3",VEC4:"VEC4",MAT2:"MAT2",MAT3:"MAT3",MAT4:"MAT4",getMathType:function(e){switch(e){case c.SCALAR:return Number;case c.VEC2:return T;case c.VEC3:return C;case c.VEC4:return w;case c.MAT2:return S;case c.MAT3:return x;case c.MAT4:return z;default:throw new u("attributeType is not a valid value.")}},getNumberOfComponents:function(e){switch(e){case c.SCALAR:return 1;case c.VEC2:return 2;case c.VEC3:return 3;case c.VEC4:case c.MAT2:return 4;case c.MAT3:return 9;case c.MAT4:return 16;default:throw new u("attributeType is not a valid value.")}},getAttributeLocationCount:function(e){switch(e){case c.SCALAR:case c.VEC2:case c.VEC3:case c.VEC4:return 1;case c.MAT2:return 2;case c.MAT3:return 3;case c.MAT4:return 4;default:throw new u("attributeType is not a valid value.")}},getGlslType:function(e){switch(a.typeOf.string("attributeType",e),e){case c.SCALAR:return"float";case c.VEC2:return"vec2";case c.VEC3:return"vec3";case c.VEC4:return"vec4";case c.MAT2:return"mat2";case c.MAT3:return"mat3";case c.MAT4:return"mat4";default:throw new u("attributeType is not a valid value.")}}},N=Object.freeze(c),V=1/256,D=256,r={octEncodeInRange:function(e,t,r){a.defined("vector",e),a.defined("result",r);let n=C.magnitudeSquared(e);if(Math.abs(n-1)>h.EPSILON6)throw new u("vector must be normalized.");if(r.x=e.x/(Math.abs(e.x)+Math.abs(e.y)+Math.abs(e.z)),r.y=e.y/(Math.abs(e.x)+Math.abs(e.y)+Math.abs(e.z)),e.z<0){let e=r.x,t=r.y;r.x=(1-Math.abs(t))*h.signNotZero(e),r.y=(1-Math.abs(e))*h.signNotZero(t)}return r.x=h.toSNorm(r.x,t),r.y=h.toSNorm(r.y,t),r},octEncode:function(e,t){return r.octEncodeInRange(e,255,t)}},A=new T,F=new Uint8Array(1);function E(e){return F[0]=e,F[0]}r.octEncodeToCartesian4=function(e,t){return r.octEncodeInRange(e,65535,A),t.x=E(A.x*V),t.y=E(A.x),t.z=E(A.y*V),t.w=E(A.y),t},r.octDecodeInRange=function(e,t,r,n){if(a.defined("result",n),e<0||e>r||t<0||t>r)throw new u(`x and y must be unsigned normalized integers between 0 and ${r}`);if(n.x=h.fromSNorm(e,r),n.y=h.fromSNorm(t,r),n.z=1-(Math.abs(n.x)+Math.abs(n.y)),n.z<0){let e=n.x;n.x=(1-Math.abs(n.y))*h.signNotZero(e),n.y=(1-Math.abs(e))*h.signNotZero(n.y)}return C.normalize(n,n)},r.octDecode=function(e,t,n){return r.octDecodeInRange(e,t,255,n)},r.octDecodeFromCartesian4=function(e,t){a.typeOf.object("encoded",e),a.typeOf.object("result",t);let n=e.x,c=e.y,o=e.z,s=e.w;if(n<0||n>255||c<0||c>255||o<0||o>255||s<0||s>255)throw new u("x, y, z, and w must be unsigned normalized integers between 0 and 255");let d=n*D+c,i=o*D+s;return r.octDecodeInRange(d,i,65535,t)},r.octPackFloat=function(e){return a.defined("encoded",e),256*e.x+e.y};var l=new T;function g(e){return e>>1^-(1&e)}r.octEncodeFloat=function(e){return r.octEncode(e,l),r.octPackFloat(l)},r.octDecodeFloat=function(e,t){a.defined("value",e);let n=e/256,c=Math.floor(n),o=256*(n-c);return r.octDecode(c,o,t)},r.octPack=function(e,t,n,c){a.defined("v1",e),a.defined("v2",t),a.defined("v3",n),a.defined("result",c);let o=r.octEncodeFloat(e),u=r.octEncodeFloat(t),s=r.octEncode(n,l);return c.x=65536*s.x+o,c.y=65536*s.y+u,c},r.octUnpack=function(e,t,n,c){a.defined("packed",e),a.defined("v1",t),a.defined("v2",n),a.defined("v3",c);let o=e.x/65536,u=Math.floor(o),s=65536*(o-u);o=e.y/65536;let d=Math.floor(o),i=65536*(o-d);r.octDecodeFloat(s,t),r.octDecodeFloat(i,n),r.octDecode(u,d,c)},r.compressTextureCoordinates=function(e){return a.defined("textureCoordinates",e),4096*(4095*e.x|0)+(4095*e.y|0)},r.decompressTextureCoordinates=function(e,t){a.defined("compressed",e),a.defined("result",t);let r=e/4096,n=Math.floor(r);return t.x=n/4095,t.y=(e-4096*n)/4095,t},r.zigZagDeltaDecode=function(e,t,r){a.defined("uBuffer",e),a.defined("vBuffer",t),a.typeOf.number.equals("uBuffer.length","vBuffer.length",e.length,t.length),b(r)&&a.typeOf.number.equals("uBuffer.length","heightBuffer.length",e.length,r.length);let n=e.length,c=0,o=0,u=0;for(let a=0;a<n;++a)c+=g(e[a]),o+=g(t[a]),e[a]=c,t[a]=o,b(r)&&(u+=g(r[a]),r[a]=u)},r.dequantize=function(e,t,r,n){a.defined("typedArray",e),a.defined("componentDatatype",t),a.defined("type",r),a.defined("count",n);let c,o=N.getNumberOfComponents(r);switch(t){case y.BYTE:c=127;break;case y.UNSIGNED_BYTE:c=255;break;case y.SHORT:c=32767;break;case y.UNSIGNED_SHORT:c=65535;break;case y.INT:c=2147483647;break;case y.UNSIGNED_INT:c=4294967295;break;default:throw new u(`Cannot dequantize component datatype: ${t}`)}let s=new Float32Array(n*o);for(let t=0;t<n;t++)for(let r=0;r<o;r++){let n=t*o+r;s[n]=Math.max(e[n]/c,-1)}return s},r.decodeRGB565=function(e,t){a.defined("typedArray",e);let r=3*e.length;b(t)&&a.typeOf.number.equals("result.length","typedArray.length * 3",t.length,r);let n=e.length;b(t)||(t=new Float32Array(3*n));let c=1/31,o=1/63;for(let r=0;r<n;r++){let n=e[r],a=n>>11,u=n>>5&63,s=31&n,d=3*r;t[d]=a*c,t[d+1]=u*o,t[d+2]=s*c}return t};var W=r;export{W as a};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.124
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see chunk-R62IKKEC.js.LICENSE.txt */
2
+ import{e}from"./chunk-3THTQ4QB.js";function t(t){let r;this.name="RuntimeError",this.message=t;try{throw new Error}catch(t){r=t.stack}this.stack=r}e(Object.create)&&(t.prototype=Object.create(Error.prototype),t.prototype.constructor=t),t.prototype.toString=function(){let t=`${this.name}: ${this.message}`;return e(this.stack)&&(t+=`\n${this.stack.toString()}`),t};var c=t;export{c as a};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.124
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see chunk-RDAVO5OM.js.LICENSE.txt */
2
+ import{a as p,b as P,d as q}from"./chunk-S4VBGY2U.js";import{a}from"./chunk-UCTPWOTZ.js";import{a as T}from"./chunk-N3A5CZ2S.js";import{a as I,b as g}from"./chunk-G75U3WZT.js";import{e as l}from"./chunk-3THTQ4QB.js";function y(t,i,e){if(0===t)return i*e;let a=t*t,n=a*a,s=n*a,l=s*a,h=l*a,d=h*a,u=e;return i*((1-a/4-3*n/64-5*s/256-175*l/16384-441*h/65536-4851*d/1048576)*u-(3*a/8+3*n/32+45*s/1024+105*l/4096+2205*h/131072+6237*d/524288)*Math.sin(2*u)+(15*n/256+45*s/1024+525*l/16384+1575*h/65536+155925*d/8388608)*Math.sin(4*u)-(35*s/3072+175*l/12288+3675*h/262144+13475*d/1048576)*Math.sin(6*u)+(315*l/131072+2205*h/524288+43659*d/8388608)*Math.sin(8*u)-(693*h/1310720+6237*d/5242880)*Math.sin(10*u)+1001*d/8388608*Math.sin(12*u))}function z(t,i,e){let a=t/e;if(0===i)return a;let n=a*a,s=n*a,l=s*a,h=i*i,d=h*h,u=d*h,o=u*h,r=o*h,c=r*h,g=Math.sin(2*a),_=Math.cos(2*a),p=Math.sin(4*a),f=Math.cos(4*a),M=Math.sin(6*a),m=Math.cos(6*a),P=Math.sin(8*a),O=Math.cos(8*a),T=Math.sin(10*a);return a+a*h/4+7*a*d/64+15*a*u/256+579*a*o/16384+1515*a*r/65536+16837*a*c/1048576+(3*a*d/16+45*a*u/256-a*(32*n-561)*o/4096-a*(232*n-1677)*r/16384+a*(399985-90560*n+512*l)*c/5242880)*_+(21*a*u/256+483*a*o/4096-a*(224*n-1969)*r/16384-a*(33152*n-112599)*c/1048576)*f+(151*a*o/4096+4681*a*r/65536+1479*a*c/16384-453*s*c/32768)*m+(1097*a*r/65536+42783*a*c/1048576)*O+8011*a*c/1048576*Math.cos(10*a)+(3*h/8+3*d/16+213*u/2048-3*n*u/64+255*o/4096-33*n*o/512+20861*r/524288-33*n*r/512+l*r/1024+28273*c/1048576-471*n*c/8192+9*l*c/4096)*g+(21*d/256+21*u/256+533*o/8192-21*n*o/512+197*r/4096-315*n*r/4096+584039*c/16777216-12517*n*c/131072+7*l*c/2048)*p+(151*u/6144+151*o/4096+5019*r/131072-453*n*r/16384+26965*c/786432-8607*n*c/131072)*M+(1097*o/131072+1097*r/65536+225797*c/10485760-1097*n*c/65536)*P+(8011*r/2621440+8011*c/1048576)*T+293393*c/251658240*Math.sin(12*a)}function O(t,i){if(0===t)return Math.log(Math.tan(.5*(a.PI_OVER_TWO+i)));let e=t*Math.sin(i);return Math.log(Math.tan(.5*(a.PI_OVER_TWO+i)))-t/2*Math.log((1+e)/(1-e))}function k(t,i,e,n,s){let l=O(t._ellipticity,e),h=O(t._ellipticity,s);return Math.atan2(a.negativePiToPi(n-i),h-l)}function A(t,i,e,n,s,l,h){let d=t._heading,u=l-n,o=0;if(a.equalsEpsilon(Math.abs(d),a.PI_OVER_TWO,a.EPSILON8))if(i===e)o=i*Math.cos(s)*a.negativePiToPi(u);else{let e=Math.sin(s);o=i*Math.cos(s)*a.negativePiToPi(u)/Math.sqrt(1-t._ellipticitySquared*e*e)}else{let e=y(t._ellipticity,i,s);o=(y(t._ellipticity,i,h)-e)/Math.cos(d)}return Math.abs(o)}var B=new p,w=new p;function D(t,i,e,a){let n=p.normalize(a.cartographicToCartesian(i,w),B),s=p.normalize(a.cartographicToCartesian(e,w),w);g.typeOf.number.greaterThanOrEquals("value",Math.abs(Math.abs(p.angleBetween(n,s))-Math.PI),.0125);let l=a.maximumRadius,h=a.minimumRadius,d=l*l,u=h*h;t._ellipticitySquared=(d-u)/d,t._ellipticity=Math.sqrt(t._ellipticitySquared),t._start=P.clone(i,t._start),t._start.height=0,t._end=P.clone(e,t._end),t._end.height=0,t._heading=k(t,i.longitude,i.latitude,e.longitude,e.latitude),t._distance=A(t,a.maximumRadius,a.minimumRadius,i.longitude,i.latitude,e.longitude,e.latitude)}function v(t,i,e,n,s,h){if(0===e)return P.clone(t,h);let d,u,o,r=s*s;if(Math.abs(a.PI_OVER_TWO-Math.abs(i))>a.EPSILON8)if(u=z(y(s,n,t.latitude)+e*Math.cos(i),s,n),Math.abs(i)<a.EPSILON10)d=a.negativePiToPi(t.longitude);else{let e=O(s,t.latitude),n=O(s,u);o=Math.tan(i)*(n-e),d=a.negativePiToPi(t.longitude+o)}else{let l;if(u=t.latitude,0===s)l=n*Math.cos(t.latitude);else{let i=Math.sin(t.latitude);l=n*Math.cos(t.latitude)/Math.sqrt(1-r*i*i)}o=e/l,d=i>0?a.negativePiToPi(t.longitude+o):a.negativePiToPi(t.longitude-o)}return l(h)?(h.longitude=d,h.latitude=u,h.height=0,h):new P(d,u,0)}function m(t,i,e){let a=T(e,q.default);this._ellipsoid=a,this._start=new P,this._end=new P,this._heading=void 0,this._distance=void 0,this._ellipticity=void 0,this._ellipticitySquared=void 0,l(t)&&l(i)&&D(this,t,i,a)}Object.defineProperties(m.prototype,{ellipsoid:{get:function(){return this._ellipsoid}},surfaceDistance:{get:function(){return g.defined("distance",this._distance),this._distance}},start:{get:function(){return this._start}},end:{get:function(){return this._end}},heading:{get:function(){return g.defined("distance",this._distance),this._heading}}}),m.fromStartHeadingDistance=function(t,i,e,n,s){g.defined("start",t),g.defined("heading",i),g.defined("distance",e),g.typeOf.number.greaterThan("distance",e,0);let h=T(n,q.default),d=h.maximumRadius,u=h.minimumRadius,o=d*d,r=u*u,c=Math.sqrt((o-r)/o),_=v(t,i=a.negativePiToPi(i),e,h.maximumRadius,c);return!l(s)||l(n)&&!n.equals(s.ellipsoid)?new m(t,_,h):(s.setEndPoints(t,_),s)},m.prototype.setEndPoints=function(t,i){g.defined("start",t),g.defined("end",i),D(this,t,i,this._ellipsoid)},m.prototype.interpolateUsingFraction=function(t,i){return this.interpolateUsingSurfaceDistance(t*this._distance,i)},m.prototype.interpolateUsingSurfaceDistance=function(t,i){if(g.typeOf.number("distance",t),!l(this._distance)||0===this._distance)throw new I("EllipsoidRhumbLine must have distinct start and end set.");return v(this._start,this._heading,t,this._ellipsoid.maximumRadius,this._ellipticity,i)},m.prototype.findIntersectionWithLongitude=function(t,i){if(g.typeOf.number("intersectionLongitude",t),!l(this._distance)||0===this._distance)throw new I("EllipsoidRhumbLine must have distinct start and end set.");let e=this._ellipticity,n=this._heading,s=Math.abs(n),h=this._start;if(t=a.negativePiToPi(t),a.equalsEpsilon(Math.abs(t),Math.PI,a.EPSILON14)&&(t=a.sign(h.longitude)*Math.PI),l(i)||(i=new P),Math.abs(a.PI_OVER_TWO-s)<=a.EPSILON8)return i.longitude=t,i.latitude=h.latitude,i.height=0,i;if(a.equalsEpsilon(Math.abs(a.PI_OVER_TWO-s),a.PI_OVER_TWO,a.EPSILON8))return a.equalsEpsilon(t,h.longitude,a.EPSILON12)?void 0:(i.longitude=t,i.latitude=a.PI_OVER_TWO*a.sign(a.PI_OVER_TWO-n),i.height=0,i);let d,u=h.latitude,o=e*Math.sin(u),r=Math.tan(.5*(a.PI_OVER_TWO+u))*Math.exp((t-h.longitude)/Math.tan(n)),c=(1+o)/(1-o),_=h.latitude;do{d=_;let t=e*Math.sin(d),i=(1+t)/(1-t);_=2*Math.atan(r*Math.pow(i/c,e/2))-a.PI_OVER_TWO}while(!a.equalsEpsilon(_,d,a.EPSILON12));return i.longitude=t,i.latitude=_,i.height=0,i},m.prototype.findIntersectionWithLatitude=function(t,i){if(g.typeOf.number("intersectionLatitude",t),!l(this._distance)||0===this._distance)throw new I("EllipsoidRhumbLine must have distinct start and end set.");let e=this._ellipticity,n=this._heading,s=this._start;if(a.equalsEpsilon(Math.abs(n),a.PI_OVER_TWO,a.EPSILON8))return;let h=O(e,s.latitude),d=O(e,t),u=Math.tan(n)*(d-h),o=a.negativePiToPi(s.longitude+u);return l(i)?(i.longitude=o,i.latitude=t,i.height=0,i):new P(o,t,0)};var $=m;export{$ as a};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.124
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see chunk-RNF7TLFF.js.LICENSE.txt */
2
+ import{a as _}from"./chunk-E7HC3VTG.js";import{a as M}from"./chunk-RDAVO5OM.js";import{b as G}from"./chunk-PY4CW263.js";import{a as b}from"./chunk-RRZIPF5C.js";import{b as R}from"./chunk-M3A6SPGI.js";import{a,b as L,d as z}from"./chunk-S4VBGY2U.js";import{a as E}from"./chunk-UCTPWOTZ.js";import{a as C}from"./chunk-N3A5CZ2S.js";import{a as I}from"./chunk-G75U3WZT.js";import{e as T}from"./chunk-3THTQ4QB.js";var p={numberOfPoints:function(e,t,r){let n=a.distance(e,t);return Math.ceil(n/r)},numberOfPointsRhumbLine:function(e,t,a){let r=Math.pow(e.longitude-t.longitude,2)+Math.pow(e.latitude-t.latitude,2);return Math.max(1,Math.ceil(Math.sqrt(r/(a*a))))}},V=new L;p.extractHeights=function(e,t){let a=e.length,r=new Array(a);for(let n=0;n<a;n++){let a=e[n];r[n]=t.cartesianToCartographic(a,V).height}return r};var Y=new R,F=new a,v=new a,j=new b(a.UNIT_X,0),H=new a,J=new b(a.UNIT_X,0),K=new a,Q=new a,k=[];function q(e,t,a){let r,n=k;if(n.length=e,t===a){for(r=0;r<e;r++)n[r]=t;return n}let i=(a-t)/e;for(r=0;r<e;r++){let e=t+r*i;n[r]=e}return n}var x=new L,N=new L,D=new a,B=new a,W=new a,O=new _,S=new M;function $(e,t,r,n,i,o,l,c){let s=n.scaleToGeodeticSurface(e,B),u=n.scaleToGeodeticSurface(t,W),h=p.numberOfPoints(e,t,r),f=n.cartesianToCartographic(s,x),g=n.cartesianToCartographic(u,N),m=q(h,i,o);O.setEndPoints(f,g);let T=O.surfaceDistance/h,d=c;f.height=i;let w=n.cartographicToCartesian(f,D);a.pack(w,l,d),d+=3;for(let e=1;e<h;e++){let t=O.interpolateUsingSurfaceDistance(e*T,N);t.height=m[e],w=n.cartographicToCartesian(t,D),a.pack(w,l,d),d+=3}return d}function tt(e,t,r,n,i,o,l,c){let s=n.cartesianToCartographic(e,x),u=n.cartesianToCartographic(t,N),h=p.numberOfPointsRhumbLine(s,u,r);s.height=0,u.height=0;let f=q(h,i,o);S.ellipsoid.equals(n)||(S=new M(void 0,void 0,n)),S.setEndPoints(s,u);let g=S.surfaceDistance/h,m=c;s.height=i;let T=n.cartographicToCartesian(s,D);a.pack(T,l,m),m+=3;for(let e=1;e<h;e++){let t=S.interpolateUsingSurfaceDistance(e*g,N);t.height=f[e],T=n.cartographicToCartesian(t,D),a.pack(T,l,m),m+=3}return m}p.wrapLongitude=function(e,t){let r=[],n=[];if(T(e)&&e.length>0){t=C(t,R.IDENTITY);let i=R.inverseTransformation(t,Y),o=R.multiplyByPoint(i,a.ZERO,F),l=a.normalize(R.multiplyByPointAsVector(i,a.UNIT_Y,v),v),c=b.fromPointNormal(o,l,j),s=a.normalize(R.multiplyByPointAsVector(i,a.UNIT_X,H),H),u=b.fromPointNormal(o,s,J),h=1;r.push(a.clone(e[0]));let p=r[0],f=e.length;for(let t=1;t<f;++t){let i=e[t];if(b.getPointDistance(u,p)<0||b.getPointDistance(u,i)<0){let e=G.lineSegmentPlane(p,i,c,K);if(T(e)){let t=a.multiplyByScalar(l,5e-9,Q);b.getPointDistance(c,p)<0&&a.negate(t,t),r.push(a.add(e,t,new a)),n.push(h+1),a.negate(t,t),r.push(a.add(e,t,new a)),h=1}}r.push(a.clone(e[t])),h++,p=i}n.push(h)}return{positions:r,lengths:n}},p.generateArc=function(e){T(e)||(e={});let t=e.positions;if(!T(t))throw new I("options.positions is required.");let r=t.length,n=C(e.ellipsoid,z.default),i=C(e.height,0),o=Array.isArray(i);if(r<1)return[];if(1===r){let e=n.scaleToGeodeticSurface(t[0],B);if(i=o?i[0]:i,0!==i){let t=n.geodeticSurfaceNormal(e,D);a.multiplyByScalar(t,i,t),a.add(e,t,e)}return[e.x,e.y,e.z]}let l=e.minDistance;if(!T(l)){let t=C(e.granularity,E.RADIANS_PER_DEGREE);l=E.chordLength(t,n.maximumRadius)}let c,s=0;for(c=0;c<r-1;c++)s+=p.numberOfPoints(t[c],t[c+1],l);let u=3*(s+1),h=new Array(u),f=0;for(c=0;c<r-1;c++)f=$(t[c],t[c+1],l,n,o?i[c]:i,o?i[c+1]:i,h,f);k.length=0;let g=t[r-1],m=n.cartesianToCartographic(g,x);m.height=o?i[r-1]:i;let d=n.cartographicToCartesian(m,D);return a.pack(d,h,u-3),h};var U=new L,et=new L;p.generateRhumbArc=function(e){T(e)||(e={});let t=e.positions;if(!T(t))throw new I("options.positions is required.");let r=t.length,n=C(e.ellipsoid,z.default),i=C(e.height,0),o=Array.isArray(i);if(r<1)return[];if(1===r){let e=n.scaleToGeodeticSurface(t[0],B);if(i=o?i[0]:i,0!==i){let t=n.geodeticSurfaceNormal(e,D);a.multiplyByScalar(t,i,t),a.add(e,t,e)}return[e.x,e.y,e.z]}let l,c,s=C(e.granularity,E.RADIANS_PER_DEGREE),u=0,h=n.cartesianToCartographic(t[0],U);for(l=0;l<r-1;l++)c=n.cartesianToCartographic(t[l+1],et),u+=p.numberOfPointsRhumbLine(h,c,s),h=L.clone(c,U);let f=3*(u+1),g=new Array(f),m=0;for(l=0;l<r-1;l++)m=tt(t[l],t[l+1],s,n,o?i[l]:i,o?i[l+1]:i,g,m);k.length=0;let d=t[r-1],w=n.cartesianToCartographic(d,x);w.height=o?i[r-1]:i;let y=n.cartographicToCartesian(w,D);return a.pack(y,g,f-3),g},p.generateCartesianArc=function(e){let t=p.generateArc(e),r=t.length/3,n=new Array(r);for(let e=0;e<r;e++)n[e]=a.unpack(t,3*e);return n},p.generateCartesianRhumbArc=function(e){let t=p.generateRhumbArc(e),r=t.length/3,n=new Array(r);for(let e=0;e<r;e++)n[e]=a.unpack(t,3*e);return n};var mt=p;export{mt as a};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.124
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see chunk-RRZIPF5C.js.LICENSE.txt */
2
+ import{a as l,b as d}from"./chunk-M3A6SPGI.js";import{a as t}from"./chunk-S4VBGY2U.js";import{a as s}from"./chunk-UCTPWOTZ.js";import{a as f,b as r}from"./chunk-G75U3WZT.js";import{e as m}from"./chunk-3THTQ4QB.js";function o(e,n){if(r.typeOf.object("normal",e),!s.equalsEpsilon(t.magnitude(e),1,s.EPSILON6))throw new f("normal must be normalized.");r.typeOf.number("distance",n),this.normal=t.clone(e),this.distance=n}o.fromPointNormal=function(e,n,a){if(r.typeOf.object("point",e),r.typeOf.object("normal",n),!s.equalsEpsilon(t.magnitude(n),1,s.EPSILON6))throw new f("normal must be normalized.");let i=-t.dot(n,e);return m(a)?(t.clone(n,a.normal),a.distance=i,a):new o(n,i)};var b=new t;o.fromCartesian4=function(e,n){r.typeOf.object("coefficients",e);let a=t.fromCartesian4(e,b),i=e.w;if(!s.equalsEpsilon(t.magnitude(a),1,s.EPSILON6))throw new f("normal must be normalized.");return m(n)?(t.clone(a,n.normal),n.distance=i,n):new o(a,i)},o.getPointDistance=function(e,n){return r.typeOf.object("plane",e),r.typeOf.object("point",n),t.dot(e.normal,n)+e.distance};var y=new t;o.projectPointOntoPlane=function(e,n,a){r.typeOf.object("plane",e),r.typeOf.object("point",n),m(a)||(a=new t);let i=o.getPointDistance(e,n),s=t.multiplyByScalar(e.normal,i,y);return t.subtract(n,s,a)};var w=new d,j=new l,N=new t;o.transform=function(e,n,a){r.typeOf.object("plane",e),r.typeOf.object("transform",n);let i=e.normal,s=e.distance,c=d.inverseTranspose(n,w),m=l.fromElements(i.x,i.y,i.z,s,j);m=d.multiplyByVector(c,m,m);let f=t.fromCartesian4(m,N);return m=l.divideByScalar(m,t.magnitude(f),m),o.fromCartesian4(m,a)},o.clone=function(e,n){return r.typeOf.object("plane",e),m(n)?(t.clone(e.normal,n.normal),n.distance=e.distance,n):new o(e.normal,e.distance)},o.equals=function(e,n){return r.typeOf.object("left",e),r.typeOf.object("right",n),e.distance===n.distance&&t.equals(e.normal,n.normal)},o.ORIGIN_XY_PLANE=Object.freeze(new o(t.UNIT_Z,0)),o.ORIGIN_YZ_PLANE=Object.freeze(new o(t.UNIT_X,0)),o.ORIGIN_ZX_PLANE=Object.freeze(new o(t.UNIT_Y,0));var T=o;export{T as a};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.124
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see chunk-S4VBGY2U.js.LICENSE.txt */
2
+ import{a as w}from"./chunk-UCTPWOTZ.js";import{a as O}from"./chunk-N3A5CZ2S.js";import{a as S,b as c}from"./chunk-G75U3WZT.js";import{e as u}from"./chunk-3THTQ4QB.js";function f(e,t,n){this.x=O(e,0),this.y=O(t,0),this.z=O(n,0)}f.fromSpherical=function(e,t){c.typeOf.object("spherical",e),u(t)||(t=new f);let n=e.clock,r=e.cone,a=O(e.magnitude,1),i=a*Math.sin(r);return t.x=i*Math.cos(n),t.y=i*Math.sin(n),t.z=a*Math.cos(r),t},f.fromElements=function(e,t,n,r){return u(r)?(r.x=e,r.y=t,r.z=n,r):new f(e,t,n)},f.clone=function(e,t){if(u(e))return u(t)?(t.x=e.x,t.y=e.y,t.z=e.z,t):new f(e.x,e.y,e.z)},f.fromCartesian4=f.clone,f.packedLength=3,f.pack=function(e,t,n){return c.typeOf.object("value",e),c.defined("array",t),n=O(n,0),t[n++]=e.x,t[n++]=e.y,t[n]=e.z,t},f.unpack=function(e,t,n){return c.defined("array",e),t=O(t,0),u(n)||(n=new f),n.x=e[t++],n.y=e[t++],n.z=e[t],n},f.packArray=function(e,t){c.defined("array",e);let n=e.length,r=3*n;if(u(t)){if(!Array.isArray(t)&&t.length!==r)throw new S("If result is a typed array, it must have exactly array.length * 3 elements");t.length!==r&&(t.length=r)}else t=new Array(r);for(let r=0;r<n;++r)f.pack(e[r],t,3*r);return t},f.unpackArray=function(e,t){if(c.defined("array",e),c.typeOf.number.greaterThanOrEquals("array.length",e.length,3),e.length%3!=0)throw new S("array length must be a multiple of 3.");let n=e.length;u(t)?t.length=n/3:t=new Array(n/3);for(let r=0;r<n;r+=3){let n=r/3;t[n]=f.unpack(e,r,t[n])}return t},f.fromArray=f.unpack,f.maximumComponent=function(e){return c.typeOf.object("cartesian",e),Math.max(e.x,e.y,e.z)},f.minimumComponent=function(e){return c.typeOf.object("cartesian",e),Math.min(e.x,e.y,e.z)},f.minimumByComponent=function(e,t,n){return c.typeOf.object("first",e),c.typeOf.object("second",t),c.typeOf.object("result",n),n.x=Math.min(e.x,t.x),n.y=Math.min(e.y,t.y),n.z=Math.min(e.z,t.z),n},f.maximumByComponent=function(e,t,n){return c.typeOf.object("first",e),c.typeOf.object("second",t),c.typeOf.object("result",n),n.x=Math.max(e.x,t.x),n.y=Math.max(e.y,t.y),n.z=Math.max(e.z,t.z),n},f.clamp=function(e,t,n,r){c.typeOf.object("value",e),c.typeOf.object("min",t),c.typeOf.object("max",n),c.typeOf.object("result",r);let a=w.clamp(e.x,t.x,n.x),i=w.clamp(e.y,t.y,n.y),u=w.clamp(e.z,t.z,n.z);return r.x=a,r.y=i,r.z=u,r},f.magnitudeSquared=function(e){return c.typeOf.object("cartesian",e),e.x*e.x+e.y*e.y+e.z*e.z},f.magnitude=function(e){return Math.sqrt(f.magnitudeSquared(e))};var G=new f;f.distance=function(e,t){return c.typeOf.object("left",e),c.typeOf.object("right",t),f.subtract(e,t,G),f.magnitude(G)},f.distanceSquared=function(e,t){return c.typeOf.object("left",e),c.typeOf.object("right",t),f.subtract(e,t,G),f.magnitudeSquared(G)},f.normalize=function(e,t){c.typeOf.object("cartesian",e),c.typeOf.object("result",t);let n=f.magnitude(e);if(t.x=e.x/n,t.y=e.y/n,t.z=e.z/n,isNaN(t.x)||isNaN(t.y)||isNaN(t.z))throw new S("normalized result is not a number");return t},f.dot=function(e,t){return c.typeOf.object("left",e),c.typeOf.object("right",t),e.x*t.x+e.y*t.y+e.z*t.z},f.multiplyComponents=function(e,t,n){return c.typeOf.object("left",e),c.typeOf.object("right",t),c.typeOf.object("result",n),n.x=e.x*t.x,n.y=e.y*t.y,n.z=e.z*t.z,n},f.divideComponents=function(e,t,n){return c.typeOf.object("left",e),c.typeOf.object("right",t),c.typeOf.object("result",n),n.x=e.x/t.x,n.y=e.y/t.y,n.z=e.z/t.z,n},f.add=function(e,t,n){return c.typeOf.object("left",e),c.typeOf.object("right",t),c.typeOf.object("result",n),n.x=e.x+t.x,n.y=e.y+t.y,n.z=e.z+t.z,n},f.subtract=function(e,t,n){return c.typeOf.object("left",e),c.typeOf.object("right",t),c.typeOf.object("result",n),n.x=e.x-t.x,n.y=e.y-t.y,n.z=e.z-t.z,n},f.multiplyByScalar=function(e,t,n){return c.typeOf.object("cartesian",e),c.typeOf.number("scalar",t),c.typeOf.object("result",n),n.x=e.x*t,n.y=e.y*t,n.z=e.z*t,n},f.divideByScalar=function(e,t,n){return c.typeOf.object("cartesian",e),c.typeOf.number("scalar",t),c.typeOf.object("result",n),n.x=e.x/t,n.y=e.y/t,n.z=e.z/t,n},f.negate=function(e,t){return c.typeOf.object("cartesian",e),c.typeOf.object("result",t),t.x=-e.x,t.y=-e.y,t.z=-e.z,t},f.abs=function(e,t){return c.typeOf.object("cartesian",e),c.typeOf.object("result",t),t.x=Math.abs(e.x),t.y=Math.abs(e.y),t.z=Math.abs(e.z),t};var ln=new f;f.lerp=function(e,t,n,r){return c.typeOf.object("start",e),c.typeOf.object("end",t),c.typeOf.number("t",n),c.typeOf.object("result",r),f.multiplyByScalar(t,n,ln),r=f.multiplyByScalar(e,1-n,r),f.add(ln,r,r)};var Y=new f,yn=new f;f.angleBetween=function(e,t){c.typeOf.object("left",e),c.typeOf.object("right",t),f.normalize(e,Y),f.normalize(t,yn);let n=f.dot(Y,yn),r=f.magnitude(f.cross(Y,yn,Y));return Math.atan2(r,n)};var Xn=new f;f.mostOrthogonalAxis=function(e,t){c.typeOf.object("cartesian",e),c.typeOf.object("result",t);let n=f.normalize(e,Xn);return f.abs(n,n),n.x<=n.y?n.x<=n.z?f.clone(f.UNIT_X,t):f.clone(f.UNIT_Z,t):n.y<=n.z?f.clone(f.UNIT_Y,t):f.clone(f.UNIT_Z,t)},f.projectVector=function(e,t,n){c.defined("a",e),c.defined("b",t),c.defined("result",n);let r=f.dot(e,t)/f.dot(t,t);return f.multiplyByScalar(t,r,n)},f.equals=function(e,t){return e===t||u(e)&&u(t)&&e.x===t.x&&e.y===t.y&&e.z===t.z},f.equalsArray=function(e,t,n){return e.x===t[n]&&e.y===t[n+1]&&e.z===t[n+2]},f.equalsEpsilon=function(e,t,n,r){return e===t||u(e)&&u(t)&&w.equalsEpsilon(e.x,t.x,n,r)&&w.equalsEpsilon(e.y,t.y,n,r)&&w.equalsEpsilon(e.z,t.z,n,r)},f.cross=function(e,t,n){c.typeOf.object("left",e),c.typeOf.object("right",t),c.typeOf.object("result",n);let r=e.x,a=e.y,i=e.z,u=t.x,o=t.y,l=t.z,f=a*l-i*o,s=i*u-r*l,y=r*o-a*u;return n.x=f,n.y=s,n.z=y,n},f.midpoint=function(e,t,n){return c.typeOf.object("left",e),c.typeOf.object("right",t),c.typeOf.object("result",n),n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y),n.z=.5*(e.z+t.z),n},f.fromDegrees=function(e,t,n,r,a){return c.typeOf.number("longitude",e),c.typeOf.number("latitude",t),e=w.toRadians(e),t=w.toRadians(t),f.fromRadians(e,t,n,r,a)};var C=new f,v=new f;f._ellipsoidRadiiSquared=new f(40680631590769,40680631590769,40408299984661.445),f.fromRadians=function(e,t,n,r,a){c.typeOf.number("longitude",e),c.typeOf.number("latitude",t),n=O(n,0);let i=u(r)?r.radiiSquared:f._ellipsoidRadiiSquared,o=Math.cos(t);C.x=o*Math.cos(e),C.y=o*Math.sin(e),C.z=Math.sin(t),C=f.normalize(C,C),f.multiplyComponents(i,C,v);let l=Math.sqrt(f.dot(C,v));return v=f.divideByScalar(v,l,v),C=f.multiplyByScalar(C,n,C),u(a)||(a=new f),f.add(v,C,a)},f.fromDegreesArray=function(e,t,n){if(c.defined("coordinates",e),e.length<2||e.length%2!=0)throw new S("the number of coordinates must be a multiple of 2 and at least 2");let r=e.length;u(n)?n.length=r/2:n=new Array(r/2);for(let a=0;a<r;a+=2){let r=e[a],i=e[a+1],u=a/2;n[u]=f.fromDegrees(r,i,0,t,n[u])}return n},f.fromRadiansArray=function(e,t,n){if(c.defined("coordinates",e),e.length<2||e.length%2!=0)throw new S("the number of coordinates must be a multiple of 2 and at least 2");let r=e.length;u(n)?n.length=r/2:n=new Array(r/2);for(let a=0;a<r;a+=2){let r=e[a],i=e[a+1],u=a/2;n[u]=f.fromRadians(r,i,0,t,n[u])}return n},f.fromDegreesArrayHeights=function(e,t,n){if(c.defined("coordinates",e),e.length<3||e.length%3!=0)throw new S("the number of coordinates must be a multiple of 3 and at least 3");let r=e.length;u(n)?n.length=r/3:n=new Array(r/3);for(let a=0;a<r;a+=3){let r=e[a],i=e[a+1],u=e[a+2],o=a/3;n[o]=f.fromDegrees(r,i,u,t,n[o])}return n},f.fromRadiansArrayHeights=function(e,t,n){if(c.defined("coordinates",e),e.length<3||e.length%3!=0)throw new S("the number of coordinates must be a multiple of 3 and at least 3");let r=e.length;u(n)?n.length=r/3:n=new Array(r/3);for(let a=0;a<r;a+=3){let r=e[a],i=e[a+1],u=e[a+2],o=a/3;n[o]=f.fromRadians(r,i,u,t,n[o])}return n},f.ZERO=Object.freeze(new f(0,0,0)),f.ONE=Object.freeze(new f(1,1,1)),f.UNIT_X=Object.freeze(new f(1,0,0)),f.UNIT_Y=Object.freeze(new f(0,1,0)),f.UNIT_Z=Object.freeze(new f(0,0,1)),f.prototype.clone=function(e){return f.clone(this,e)},f.prototype.equals=function(e){return f.equals(this,e)},f.prototype.equalsEpsilon=function(e,t,n){return f.equalsEpsilon(this,e,t,n)},f.prototype.toString=function(){return`(${this.x}, ${this.y}, ${this.z})`};var y=f,Yn=new y,Gn=new y;function Hn(e,t,n,r,a){if(!u(e))throw new S("cartesian is required.");if(!u(t))throw new S("oneOverRadii is required.");if(!u(n))throw new S("oneOverRadiiSquared is required.");if(!u(r))throw new S("centerToleranceSquared is required.");let i=e.x,o=e.y,c=e.z,l=t.x,f=t.y,s=t.z,p=i*i*l*l,d=o*o*f*f,m=c*c*s*s,h=p+d+m,b=Math.sqrt(1/h),O=y.multiplyByScalar(e,b,Yn);if(h<r)return isFinite(b)?y.clone(O,a):void 0;let g=n.x,x=n.y,j=n.z,z=Gn;z.x=O.x*g*2,z.y=O.y*x*2,z.z=O.z*j*2;let q,v,E,A,R,_,M,T,C,N,I,F=(1-b)*y.magnitude(e)/(.5*y.magnitude(z)),B=0;do{F-=B,E=1/(1+F*g),A=1/(1+F*x),R=1/(1+F*j),_=E*E,M=A*A,T=R*R,C=_*E,N=M*A,I=T*R,q=p*_+d*M+m*T-1,v=p*C*g+d*N*x+m*I*j,B=q/(-2*v)}while(Math.abs(q)>w.EPSILON12);return u(a)?(a.x=i*E,a.y=o*A,a.z=c*R,a):new y(i*E,o*A,c*R)}var H=Hn;function g(e,t,n){this.longitude=O(e,0),this.latitude=O(t,0),this.height=O(n,0)}g.fromRadians=function(e,t,n,r){return c.typeOf.number("longitude",e),c.typeOf.number("latitude",t),n=O(n,0),u(r)?(r.longitude=e,r.latitude=t,r.height=n,r):new g(e,t,n)},g.fromDegrees=function(e,t,n,r){return c.typeOf.number("longitude",e),c.typeOf.number("latitude",t),e=w.toRadians(e),t=w.toRadians(t),g.fromRadians(e,t,n,r)};var Qn=new y,Kn=new y,Jn=new y;g._ellipsoidOneOverRadii=new y(1/6378137,1/6378137,1/6356752.314245179),g._ellipsoidOneOverRadiiSquared=new y(1/40680631590769,1/40680631590769,1/40408299984661.445),g._ellipsoidCenterToleranceSquared=w.EPSILON1,g.fromCartesian=function(e,t,n){let r=u(t)?t.oneOverRadii:g._ellipsoidOneOverRadii,a=u(t)?t.oneOverRadiiSquared:g._ellipsoidOneOverRadiiSquared,i=u(t)?t._centerToleranceSquared:g._ellipsoidCenterToleranceSquared,o=H(e,r,a,i,Kn);if(!u(o))return;let c=y.multiplyComponents(o,a,Qn);c=y.normalize(c,c);let l=y.subtract(e,o,Jn),f=Math.atan2(c.y,c.x),s=Math.asin(c.z),p=w.sign(y.dot(l,e))*y.magnitude(l);return u(n)?(n.longitude=f,n.latitude=s,n.height=p,n):new g(f,s,p)},g.toCartesian=function(e,t,n){return c.defined("cartographic",e),y.fromRadians(e.longitude,e.latitude,e.height,t,n)},g.clone=function(e,t){if(u(e))return u(t)?(t.longitude=e.longitude,t.latitude=e.latitude,t.height=e.height,t):new g(e.longitude,e.latitude,e.height)},g.equals=function(e,t){return e===t||u(e)&&u(t)&&e.longitude===t.longitude&&e.latitude===t.latitude&&e.height===t.height},g.equalsEpsilon=function(e,t,n){return n=O(n,0),e===t||u(e)&&u(t)&&Math.abs(e.longitude-t.longitude)<=n&&Math.abs(e.latitude-t.latitude)<=n&&Math.abs(e.height-t.height)<=n},g.ZERO=Object.freeze(new g(0,0,0)),g.prototype.clone=function(e){return g.clone(this,e)},g.prototype.equals=function(e){return g.equals(this,e)},g.prototype.equalsEpsilon=function(e,t){return g.equalsEpsilon(this,e,t)},g.prototype.toString=function(){return`(${this.longitude}, ${this.latitude}, ${this.height})`};var D=g;function a(e,t){this.x=O(e,0),this.y=O(t,0)}a.fromElements=function(e,t,n){return u(n)?(n.x=e,n.y=t,n):new a(e,t)},a.clone=function(e,t){if(u(e))return u(t)?(t.x=e.x,t.y=e.y,t):new a(e.x,e.y)},a.fromCartesian3=a.clone,a.fromCartesian4=a.clone,a.packedLength=2,a.pack=function(e,t,n){return c.typeOf.object("value",e),c.defined("array",t),n=O(n,0),t[n++]=e.x,t[n]=e.y,t},a.unpack=function(e,t,n){return c.defined("array",e),t=O(t,0),u(n)||(n=new a),n.x=e[t++],n.y=e[t],n},a.packArray=function(e,t){c.defined("array",e);let n=e.length,r=2*n;if(u(t)){if(!Array.isArray(t)&&t.length!==r)throw new S("If result is a typed array, it must have exactly array.length * 2 elements");t.length!==r&&(t.length=r)}else t=new Array(r);for(let r=0;r<n;++r)a.pack(e[r],t,2*r);return t},a.unpackArray=function(e,t){if(c.defined("array",e),c.typeOf.number.greaterThanOrEquals("array.length",e.length,2),e.length%2!=0)throw new S("array length must be a multiple of 2.");let n=e.length;u(t)?t.length=n/2:t=new Array(n/2);for(let r=0;r<n;r+=2){let n=r/2;t[n]=a.unpack(e,r,t[n])}return t},a.fromArray=a.unpack,a.maximumComponent=function(e){return c.typeOf.object("cartesian",e),Math.max(e.x,e.y)},a.minimumComponent=function(e){return c.typeOf.object("cartesian",e),Math.min(e.x,e.y)},a.minimumByComponent=function(e,t,n){return c.typeOf.object("first",e),c.typeOf.object("second",t),c.typeOf.object("result",n),n.x=Math.min(e.x,t.x),n.y=Math.min(e.y,t.y),n},a.maximumByComponent=function(e,t,n){return c.typeOf.object("first",e),c.typeOf.object("second",t),c.typeOf.object("result",n),n.x=Math.max(e.x,t.x),n.y=Math.max(e.y,t.y),n},a.clamp=function(e,t,n,r){c.typeOf.object("value",e),c.typeOf.object("min",t),c.typeOf.object("max",n),c.typeOf.object("result",r);let a=w.clamp(e.x,t.x,n.x),i=w.clamp(e.y,t.y,n.y);return r.x=a,r.y=i,r},a.magnitudeSquared=function(e){return c.typeOf.object("cartesian",e),e.x*e.x+e.y*e.y},a.magnitude=function(e){return Math.sqrt(a.magnitudeSquared(e))};var Q=new a;a.distance=function(e,t){return c.typeOf.object("left",e),c.typeOf.object("right",t),a.subtract(e,t,Q),a.magnitude(Q)},a.distanceSquared=function(e,t){return c.typeOf.object("left",e),c.typeOf.object("right",t),a.subtract(e,t,Q),a.magnitudeSquared(Q)},a.normalize=function(e,t){c.typeOf.object("cartesian",e),c.typeOf.object("result",t);let n=a.magnitude(e);if(t.x=e.x/n,t.y=e.y/n,isNaN(t.x)||isNaN(t.y))throw new S("normalized result is not a number");return t},a.dot=function(e,t){return c.typeOf.object("left",e),c.typeOf.object("right",t),e.x*t.x+e.y*t.y},a.cross=function(e,t){return c.typeOf.object("left",e),c.typeOf.object("right",t),e.x*t.y-e.y*t.x},a.multiplyComponents=function(e,t,n){return c.typeOf.object("left",e),c.typeOf.object("right",t),c.typeOf.object("result",n),n.x=e.x*t.x,n.y=e.y*t.y,n},a.divideComponents=function(e,t,n){return c.typeOf.object("left",e),c.typeOf.object("right",t),c.typeOf.object("result",n),n.x=e.x/t.x,n.y=e.y/t.y,n},a.add=function(e,t,n){return c.typeOf.object("left",e),c.typeOf.object("right",t),c.typeOf.object("result",n),n.x=e.x+t.x,n.y=e.y+t.y,n},a.subtract=function(e,t,n){return c.typeOf.object("left",e),c.typeOf.object("right",t),c.typeOf.object("result",n),n.x=e.x-t.x,n.y=e.y-t.y,n},a.multiplyByScalar=function(e,t,n){return c.typeOf.object("cartesian",e),c.typeOf.number("scalar",t),c.typeOf.object("result",n),n.x=e.x*t,n.y=e.y*t,n},a.divideByScalar=function(e,t,n){return c.typeOf.object("cartesian",e),c.typeOf.number("scalar",t),c.typeOf.object("result",n),n.x=e.x/t,n.y=e.y/t,n},a.negate=function(e,t){return c.typeOf.object("cartesian",e),c.typeOf.object("result",t),t.x=-e.x,t.y=-e.y,t},a.abs=function(e,t){return c.typeOf.object("cartesian",e),c.typeOf.object("result",t),t.x=Math.abs(e.x),t.y=Math.abs(e.y),t};var Cn=new a;a.lerp=function(e,t,n,r){return c.typeOf.object("start",e),c.typeOf.object("end",t),c.typeOf.number("t",n),c.typeOf.object("result",r),a.multiplyByScalar(t,n,Cn),r=a.multiplyByScalar(e,1-n,r),a.add(Cn,r,r)};var Tn=new a,Nn=new a;a.angleBetween=function(e,t){return c.typeOf.object("left",e),c.typeOf.object("right",t),a.normalize(e,Tn),a.normalize(t,Nn),w.acosClamped(a.dot(Tn,Nn))};var ne=new a;a.mostOrthogonalAxis=function(e,t){c.typeOf.object("cartesian",e),c.typeOf.object("result",t);let n=a.normalize(e,ne);return a.abs(n,n),n.x<=n.y?a.clone(a.UNIT_X,t):a.clone(a.UNIT_Y,t)},a.equals=function(e,t){return e===t||u(e)&&u(t)&&e.x===t.x&&e.y===t.y},a.equalsArray=function(e,t,n){return e.x===t[n]&&e.y===t[n+1]},a.equalsEpsilon=function(e,t,n,r){return e===t||u(e)&&u(t)&&w.equalsEpsilon(e.x,t.x,n,r)&&w.equalsEpsilon(e.y,t.y,n,r)},a.ZERO=Object.freeze(new a(0,0)),a.ONE=Object.freeze(new a(1,1)),a.UNIT_X=Object.freeze(new a(1,0)),a.UNIT_Y=Object.freeze(new a(0,1)),a.prototype.clone=function(e){return a.clone(this,e)},a.prototype.equals=function(e){return a.equals(this,e)},a.prototype.equalsEpsilon=function(e,t,n){return a.equalsEpsilon(this,e,t,n)},a.prototype.toString=function(){return`(${this.x}, ${this.y})`};var mn=a;function Fn(e,t,n,r){t=O(t,0),n=O(n,0),r=O(r,0),c.typeOf.number.greaterThanOrEquals("x",t,0),c.typeOf.number.greaterThanOrEquals("y",n,0),c.typeOf.number.greaterThanOrEquals("z",r,0),e._radii=new y(t,n,r),e._radiiSquared=new y(t*t,n*n,r*r),e._radiiToTheFourth=new y(t*t*t*t,n*n*n*n,r*r*r*r),e._oneOverRadii=new y(0===t?0:1/t,0===n?0:1/n,0===r?0:1/r),e._oneOverRadiiSquared=new y(0===t?0:1/(t*t),0===n?0:1/(n*n),0===r?0:1/(r*r)),e._minimumRadius=Math.min(t,n,r),e._maximumRadius=Math.max(t,n,r),e._centerToleranceSquared=w.EPSILON1,0!==e._radiiSquared.z&&(e._squaredXOverSquaredZ=e._radiiSquared.x/e._radiiSquared.z)}function b(e,t,n){this._radii=void 0,this._radiiSquared=void 0,this._radiiToTheFourth=void 0,this._oneOverRadii=void 0,this._oneOverRadiiSquared=void 0,this._minimumRadius=void 0,this._maximumRadius=void 0,this._centerToleranceSquared=void 0,this._squaredXOverSquaredZ=void 0,Fn(this,e,t,n)}Object.defineProperties(b.prototype,{radii:{get:function(){return this._radii}},radiiSquared:{get:function(){return this._radiiSquared}},radiiToTheFourth:{get:function(){return this._radiiToTheFourth}},oneOverRadii:{get:function(){return this._oneOverRadii}},oneOverRadiiSquared:{get:function(){return this._oneOverRadiiSquared}},minimumRadius:{get:function(){return this._minimumRadius}},maximumRadius:{get:function(){return this._maximumRadius}}}),b.clone=function(e,t){if(!u(e))return;let n=e._radii;return u(t)?(y.clone(n,t._radii),y.clone(e._radiiSquared,t._radiiSquared),y.clone(e._radiiToTheFourth,t._radiiToTheFourth),y.clone(e._oneOverRadii,t._oneOverRadii),y.clone(e._oneOverRadiiSquared,t._oneOverRadiiSquared),t._minimumRadius=e._minimumRadius,t._maximumRadius=e._maximumRadius,t._centerToleranceSquared=e._centerToleranceSquared,t):new b(n.x,n.y,n.z)},b.fromCartesian3=function(e,t){return u(t)||(t=new b),u(e)&&Fn(t,e.x,e.y,e.z),t},b.WGS84=Object.freeze(new b(6378137,6378137,6356752.314245179)),b.UNIT_SPHERE=Object.freeze(new b(1,1,1)),b.MOON=Object.freeze(new b(w.LUNAR_RADIUS,w.LUNAR_RADIUS,w.LUNAR_RADIUS)),b._default=b.WGS84,Object.defineProperties(b,{default:{get:function(){return b._default},set:function(e){c.typeOf.object("value",e),b._default=e,y._ellipsoidRadiiSquared=e.radiiSquared,D._ellipsoidOneOverRadii=e.oneOverRadii,D._ellipsoidOneOverRadiiSquared=e.oneOverRadiiSquared,D._ellipsoidCenterToleranceSquared=e._centerToleranceSquared}}}),b.prototype.clone=function(e){return b.clone(this,e)},b.packedLength=y.packedLength,b.pack=function(e,t,n){return c.typeOf.object("value",e),c.defined("array",t),n=O(n,0),y.pack(e._radii,t,n),t},b.unpack=function(e,t,n){c.defined("array",e),t=O(t,0);let r=y.unpack(e,t);return b.fromCartesian3(r,n)},b.prototype.geocentricSurfaceNormal=y.normalize,b.prototype.geodeticSurfaceNormalCartographic=function(e,t){c.typeOf.object("cartographic",e);let n=e.longitude,r=e.latitude,a=Math.cos(r),i=a*Math.cos(n),o=a*Math.sin(n),l=Math.sin(r);return u(t)||(t=new y),t.x=i,t.y=o,t.z=l,y.normalize(t,t)},b.prototype.geodeticSurfaceNormal=function(e,t){if(c.typeOf.object("cartesian",e),isNaN(e.x)||isNaN(e.y)||isNaN(e.z))throw new S("cartesian has a NaN component");if(!y.equalsEpsilon(e,y.ZERO,w.EPSILON14))return u(t)||(t=new y),t=y.multiplyComponents(e,this._oneOverRadiiSquared,t),y.normalize(t,t)};var ee=new y,oe=new y;b.prototype.cartographicToCartesian=function(e,t){let n=ee,r=oe;this.geodeticSurfaceNormalCartographic(e,n),y.multiplyComponents(this._radiiSquared,n,r);let a=Math.sqrt(y.dot(n,r));return y.divideByScalar(r,a,r),y.multiplyByScalar(n,e.height,n),u(t)||(t=new y),y.add(r,n,t)},b.prototype.cartographicArrayToCartesianArray=function(e,t){c.defined("cartographics",e);let n=e.length;u(t)?t.length=n:t=new Array(n);for(let r=0;r<n;r++)t[r]=this.cartographicToCartesian(e[r],t[r]);return t};var te=new y,ce=new y,ie=new y;b.prototype.cartesianToCartographic=function(e,t){let n=this.scaleToGeodeticSurface(e,ce);if(!u(n))return;let r=this.geodeticSurfaceNormal(n,te),a=y.subtract(e,n,ie),i=Math.atan2(r.y,r.x),o=Math.asin(r.z),c=w.sign(y.dot(a,e))*y.magnitude(a);return u(t)?(t.longitude=i,t.latitude=o,t.height=c,t):new D(i,o,c)},b.prototype.cartesianArrayToCartographicArray=function(e,t){c.defined("cartesians",e);let n=e.length;u(t)?t.length=n:t=new Array(n);for(let r=0;r<n;++r)t[r]=this.cartesianToCartographic(e[r],t[r]);return t},b.prototype.scaleToGeodeticSurface=function(e,t){return H(e,this._oneOverRadii,this._oneOverRadiiSquared,this._centerToleranceSquared,t)},b.prototype.scaleToGeocentricSurface=function(e,t){c.typeOf.object("cartesian",e),u(t)||(t=new y);let n=e.x,r=e.y,a=e.z,i=this._oneOverRadiiSquared,o=1/Math.sqrt(n*n*i.x+r*r*i.y+a*a*i.z);return y.multiplyByScalar(e,o,t)},b.prototype.transformPositionToScaledSpace=function(e,t){return u(t)||(t=new y),y.multiplyComponents(e,this._oneOverRadii,t)},b.prototype.transformPositionFromScaledSpace=function(e,t){return u(t)||(t=new y),y.multiplyComponents(e,this._radii,t)},b.prototype.equals=function(e){return this===e||u(e)&&y.equals(this._radii,e._radii)},b.prototype.toString=function(){return this._radii.toString()},b.prototype.getSurfaceNormalIntersectionWithZAxis=function(e,t,n){if(c.typeOf.object("position",e),!w.equalsEpsilon(this._radii.x,this._radii.y,w.EPSILON15))throw new S("Ellipsoid must be an ellipsoid of revolution (radii.x == radii.y)");c.typeOf.number.greaterThan("Ellipsoid.radii.z",this._radii.z,0),t=O(t,0);let r=this._squaredXOverSquaredZ;if(u(n)||(n=new y),n.x=0,n.y=0,n.z=e.z*(1-r),!(Math.abs(n.z)>=this._radii.z-t))return n};var fe=new y;b.prototype.getLocalCurvature=function(e,t){c.typeOf.object("surfacePosition",e),u(t)||(t=new mn);let n=this.getSurfaceNormalIntersectionWithZAxis(e,0,fe),r=y.distance(e,n),a=r*(this.minimumRadius*r/this.maximumRadius**2)**2;return mn.fromElements(1/r,1/a,t)};var re=[.14887433898163,.43339539412925,.67940956829902,.86506336668898,.97390652851717,0],pe=[.29552422471475,.26926671930999,.21908636251598,.14945134915058,.066671344308684,0];function xn(e,t,n){c.typeOf.number("a",e),c.typeOf.number("b",t),c.typeOf.func("func",n);let r=.5*(t+e),a=.5*(t-e),i=0;for(let e=0;e<5;e++){let t=a*re[e];i+=pe[e]*(n(r+t)+n(r-t))}return i*=a,i}b.prototype.surfaceArea=function(e){c.typeOf.object("rectangle",e);let t=e.west,n=e.east,r=e.south,a=e.north;for(;n<t;)n+=w.TWO_PI;let i=this._radiiSquared,u=i.x,o=i.y,l=i.z,f=u*o;return xn(r,a,(function(e){let r=Math.cos(e),a=Math.sin(e);return Math.cos(e)*xn(t,n,(function(e){let t=Math.cos(e),n=Math.sin(e);return Math.sqrt(f*a*a+l*(o*t*t+u*n*n)*r*r)}))}))};var fo=b;function r(e,t,n,r,a,i,u,o,c){this[0]=O(e,0),this[1]=O(r,0),this[2]=O(u,0),this[3]=O(t,0),this[4]=O(a,0),this[5]=O(o,0),this[6]=O(n,0),this[7]=O(i,0),this[8]=O(c,0)}r.packedLength=9,r.pack=function(e,t,n){return c.typeOf.object("value",e),c.defined("array",t),n=O(n,0),t[n++]=e[0],t[n++]=e[1],t[n++]=e[2],t[n++]=e[3],t[n++]=e[4],t[n++]=e[5],t[n++]=e[6],t[n++]=e[7],t[n++]=e[8],t},r.unpack=function(e,t,n){return c.defined("array",e),t=O(t,0),u(n)||(n=new r),n[0]=e[t++],n[1]=e[t++],n[2]=e[t++],n[3]=e[t++],n[4]=e[t++],n[5]=e[t++],n[6]=e[t++],n[7]=e[t++],n[8]=e[t++],n},r.packArray=function(e,t){c.defined("array",e);let n=e.length,a=9*n;if(u(t)){if(!Array.isArray(t)&&t.length!==a)throw new S("If result is a typed array, it must have exactly array.length * 9 elements");t.length!==a&&(t.length=a)}else t=new Array(a);for(let a=0;a<n;++a)r.pack(e[a],t,9*a);return t},r.unpackArray=function(e,t){if(c.defined("array",e),c.typeOf.number.greaterThanOrEquals("array.length",e.length,9),e.length%9!=0)throw new S("array length must be a multiple of 9.");let n=e.length;u(t)?t.length=n/9:t=new Array(n/9);for(let a=0;a<n;a+=9){let n=a/9;t[n]=r.unpack(e,a,t[n])}return t},r.clone=function(e,t){if(u(e))return u(t)?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t):new r(e[0],e[3],e[6],e[1],e[4],e[7],e[2],e[5],e[8])},r.fromArray=r.unpack,r.fromColumnMajorArray=function(e,t){return c.defined("values",e),r.clone(e,t)},r.fromRowMajorArray=function(e,t){return c.defined("values",e),u(t)?(t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8],t):new r(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},r.fromQuaternion=function(e,t){c.typeOf.object("quaternion",e);let n=e.x*e.x,a=e.x*e.y,i=e.x*e.z,o=e.x*e.w,l=e.y*e.y,f=e.y*e.z,s=e.y*e.w,y=e.z*e.z,p=e.z*e.w,d=e.w*e.w,m=n-l-y+d,h=2*(a-p),b=2*(i+s),O=2*(a+p),g=-n+l-y+d,x=2*(f-o),j=2*(i-s),w=2*(f+o),z=-n-l+y+d;return u(t)?(t[0]=m,t[1]=O,t[2]=j,t[3]=h,t[4]=g,t[5]=w,t[6]=b,t[7]=x,t[8]=z,t):new r(m,h,b,O,g,x,j,w,z)},r.fromHeadingPitchRoll=function(e,t){c.typeOf.object("headingPitchRoll",e);let n=Math.cos(-e.pitch),a=Math.cos(-e.heading),i=Math.cos(e.roll),o=Math.sin(-e.pitch),l=Math.sin(-e.heading),f=Math.sin(e.roll),s=n*a,y=-i*l+f*o*a,p=f*l+i*o*a,d=n*l,m=i*a+f*o*l,h=-f*a+i*o*l,b=-o,O=f*n,g=i*n;return u(t)?(t[0]=s,t[1]=d,t[2]=b,t[3]=y,t[4]=m,t[5]=O,t[6]=p,t[7]=h,t[8]=g,t):new r(s,y,p,d,m,h,b,O,g)},r.fromScale=function(e,t){return c.typeOf.object("scale",e),u(t)?(t[0]=e.x,t[1]=0,t[2]=0,t[3]=0,t[4]=e.y,t[5]=0,t[6]=0,t[7]=0,t[8]=e.z,t):new r(e.x,0,0,0,e.y,0,0,0,e.z)},r.fromUniformScale=function(e,t){return c.typeOf.number("scale",e),u(t)?(t[0]=e,t[1]=0,t[2]=0,t[3]=0,t[4]=e,t[5]=0,t[6]=0,t[7]=0,t[8]=e,t):new r(e,0,0,0,e,0,0,0,e)},r.fromCrossProduct=function(e,t){return c.typeOf.object("vector",e),u(t)?(t[0]=0,t[1]=e.z,t[2]=-e.y,t[3]=-e.z,t[4]=0,t[5]=e.x,t[6]=e.y,t[7]=-e.x,t[8]=0,t):new r(0,-e.z,e.y,e.z,0,-e.x,-e.y,e.x,0)},r.fromRotationX=function(e,t){c.typeOf.number("angle",e);let n=Math.cos(e),a=Math.sin(e);return u(t)?(t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=n,t[5]=a,t[6]=0,t[7]=-a,t[8]=n,t):new r(1,0,0,0,n,-a,0,a,n)},r.fromRotationY=function(e,t){c.typeOf.number("angle",e);let n=Math.cos(e),a=Math.sin(e);return u(t)?(t[0]=n,t[1]=0,t[2]=-a,t[3]=0,t[4]=1,t[5]=0,t[6]=a,t[7]=0,t[8]=n,t):new r(n,0,a,0,1,0,-a,0,n)},r.fromRotationZ=function(e,t){c.typeOf.number("angle",e);let n=Math.cos(e),a=Math.sin(e);return u(t)?(t[0]=n,t[1]=a,t[2]=0,t[3]=-a,t[4]=n,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t):new r(n,-a,0,a,n,0,0,0,1)},r.toArray=function(e,t){return c.typeOf.object("matrix",e),u(t)?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t):[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]]},r.getElementIndex=function(e,t){return c.typeOf.number.greaterThanOrEquals("row",t,0),c.typeOf.number.lessThanOrEquals("row",t,2),c.typeOf.number.greaterThanOrEquals("column",e,0),c.typeOf.number.lessThanOrEquals("column",e,2),3*e+t},r.getColumn=function(e,t,n){c.typeOf.object("matrix",e),c.typeOf.number.greaterThanOrEquals("index",t,0),c.typeOf.number.lessThanOrEquals("index",t,2),c.typeOf.object("result",n);let r=3*t,a=e[r],i=e[r+1],u=e[r+2];return n.x=a,n.y=i,n.z=u,n},r.setColumn=function(e,t,n,a){c.typeOf.object("matrix",e),c.typeOf.number.greaterThanOrEquals("index",t,0),c.typeOf.number.lessThanOrEquals("index",t,2),c.typeOf.object("cartesian",n),c.typeOf.object("result",a);let i=3*t;return(a=r.clone(e,a))[i]=n.x,a[i+1]=n.y,a[i+2]=n.z,a},r.getRow=function(e,t,n){c.typeOf.object("matrix",e),c.typeOf.number.greaterThanOrEquals("index",t,0),c.typeOf.number.lessThanOrEquals("index",t,2),c.typeOf.object("result",n);let r=e[t],a=e[t+3],i=e[t+6];return n.x=r,n.y=a,n.z=i,n},r.setRow=function(e,t,n,a){return c.typeOf.object("matrix",e),c.typeOf.number.greaterThanOrEquals("index",t,0),c.typeOf.number.lessThanOrEquals("index",t,2),c.typeOf.object("cartesian",n),c.typeOf.object("result",a),(a=r.clone(e,a))[t]=n.x,a[t+3]=n.y,a[t+6]=n.z,a};var ue=new y;r.setScale=function(e,t,n){c.typeOf.object("matrix",e),c.typeOf.object("scale",t),c.typeOf.object("result",n);let a=r.getScale(e,ue),i=t.x/a.x,u=t.y/a.y,o=t.z/a.z;return n[0]=e[0]*i,n[1]=e[1]*i,n[2]=e[2]*i,n[3]=e[3]*u,n[4]=e[4]*u,n[5]=e[5]*u,n[6]=e[6]*o,n[7]=e[7]*o,n[8]=e[8]*o,n};var ae=new y;r.setUniformScale=function(e,t,n){c.typeOf.object("matrix",e),c.typeOf.number("scale",t),c.typeOf.object("result",n);let a=r.getScale(e,ae),i=t/a.x,u=t/a.y,o=t/a.z;return n[0]=e[0]*i,n[1]=e[1]*i,n[2]=e[2]*i,n[3]=e[3]*u,n[4]=e[4]*u,n[5]=e[5]*u,n[6]=e[6]*o,n[7]=e[7]*o,n[8]=e[8]*o,n};var sn=new y;r.getScale=function(e,t){return c.typeOf.object("matrix",e),c.typeOf.object("result",t),t.x=y.magnitude(y.fromElements(e[0],e[1],e[2],sn)),t.y=y.magnitude(y.fromElements(e[3],e[4],e[5],sn)),t.z=y.magnitude(y.fromElements(e[6],e[7],e[8],sn)),t};var kn=new y;r.getMaximumScale=function(e){return r.getScale(e,kn),y.maximumComponent(kn)};var de=new y;r.setRotation=function(e,t,n){c.typeOf.object("matrix",e),c.typeOf.object("result",n);let a=r.getScale(e,de);return n[0]=t[0]*a.x,n[1]=t[1]*a.x,n[2]=t[2]*a.x,n[3]=t[3]*a.y,n[4]=t[4]*a.y,n[5]=t[5]*a.y,n[6]=t[6]*a.z,n[7]=t[7]*a.z,n[8]=t[8]*a.z,n};var ye=new y;function me(e){let t=0;for(let n=0;n<9;++n){let r=e[n];t+=r*r}return Math.sqrt(t)}r.getRotation=function(e,t){c.typeOf.object("matrix",e),c.typeOf.object("result",t);let n=r.getScale(e,ye);return t[0]=e[0]/n.x,t[1]=e[1]/n.x,t[2]=e[2]/n.x,t[3]=e[3]/n.y,t[4]=e[4]/n.y,t[5]=e[5]/n.y,t[6]=e[6]/n.z,t[7]=e[7]/n.z,t[8]=e[8]/n.z,t},r.multiply=function(e,t,n){c.typeOf.object("left",e),c.typeOf.object("right",t),c.typeOf.object("result",n);let r=e[0]*t[0]+e[3]*t[1]+e[6]*t[2],a=e[1]*t[0]+e[4]*t[1]+e[7]*t[2],i=e[2]*t[0]+e[5]*t[1]+e[8]*t[2],u=e[0]*t[3]+e[3]*t[4]+e[6]*t[5],o=e[1]*t[3]+e[4]*t[4]+e[7]*t[5],l=e[2]*t[3]+e[5]*t[4]+e[8]*t[5],f=e[0]*t[6]+e[3]*t[7]+e[6]*t[8],s=e[1]*t[6]+e[4]*t[7]+e[7]*t[8],y=e[2]*t[6]+e[5]*t[7]+e[8]*t[8];return n[0]=r,n[1]=a,n[2]=i,n[3]=u,n[4]=o,n[5]=l,n[6]=f,n[7]=s,n[8]=y,n},r.add=function(e,t,n){return c.typeOf.object("left",e),c.typeOf.object("right",t),c.typeOf.object("result",n),n[0]=e[0]+t[0],n[1]=e[1]+t[1],n[2]=e[2]+t[2],n[3]=e[3]+t[3],n[4]=e[4]+t[4],n[5]=e[5]+t[5],n[6]=e[6]+t[6],n[7]=e[7]+t[7],n[8]=e[8]+t[8],n},r.subtract=function(e,t,n){return c.typeOf.object("left",e),c.typeOf.object("right",t),c.typeOf.object("result",n),n[0]=e[0]-t[0],n[1]=e[1]-t[1],n[2]=e[2]-t[2],n[3]=e[3]-t[3],n[4]=e[4]-t[4],n[5]=e[5]-t[5],n[6]=e[6]-t[6],n[7]=e[7]-t[7],n[8]=e[8]-t[8],n},r.multiplyByVector=function(e,t,n){c.typeOf.object("matrix",e),c.typeOf.object("cartesian",t),c.typeOf.object("result",n);let r=t.x,a=t.y,i=t.z,u=e[0]*r+e[3]*a+e[6]*i,o=e[1]*r+e[4]*a+e[7]*i,l=e[2]*r+e[5]*a+e[8]*i;return n.x=u,n.y=o,n.z=l,n},r.multiplyByScalar=function(e,t,n){return c.typeOf.object("matrix",e),c.typeOf.number("scalar",t),c.typeOf.object("result",n),n[0]=e[0]*t,n[1]=e[1]*t,n[2]=e[2]*t,n[3]=e[3]*t,n[4]=e[4]*t,n[5]=e[5]*t,n[6]=e[6]*t,n[7]=e[7]*t,n[8]=e[8]*t,n},r.multiplyByScale=function(e,t,n){return c.typeOf.object("matrix",e),c.typeOf.object("scale",t),c.typeOf.object("result",n),n[0]=e[0]*t.x,n[1]=e[1]*t.x,n[2]=e[2]*t.x,n[3]=e[3]*t.y,n[4]=e[4]*t.y,n[5]=e[5]*t.y,n[6]=e[6]*t.z,n[7]=e[7]*t.z,n[8]=e[8]*t.z,n},r.multiplyByUniformScale=function(e,t,n){return c.typeOf.object("matrix",e),c.typeOf.number("scale",t),c.typeOf.object("result",n),n[0]=e[0]*t,n[1]=e[1]*t,n[2]=e[2]*t,n[3]=e[3]*t,n[4]=e[4]*t,n[5]=e[5]*t,n[6]=e[6]*t,n[7]=e[7]*t,n[8]=e[8]*t,n},r.negate=function(e,t){return c.typeOf.object("matrix",e),c.typeOf.object("result",t),t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t[4]=-e[4],t[5]=-e[5],t[6]=-e[6],t[7]=-e[7],t[8]=-e[8],t},r.transpose=function(e,t){c.typeOf.object("matrix",e),c.typeOf.object("result",t);let n=e[0],r=e[3],a=e[6],i=e[1],u=e[4],o=e[7],l=e[2],f=e[5],s=e[8];return t[0]=n,t[1]=r,t[2]=a,t[3]=i,t[4]=u,t[5]=o,t[6]=l,t[7]=f,t[8]=s,t};var On=[1,0,0],bn=[2,2,1];function se(e){let t=0;for(let n=0;n<3;++n){let a=e[r.getElementIndex(bn[n],On[n])];t+=2*a*a}return Math.sqrt(t)}function Oe(e,t){let n=w.EPSILON15,a=0,i=1;for(let t=0;t<3;++t){let n=Math.abs(e[r.getElementIndex(bn[t],On[t])]);n>a&&(i=t,a=n)}let u=1,o=0,c=On[i],l=bn[i];if(Math.abs(e[r.getElementIndex(l,c)])>n){let t,n=(e[r.getElementIndex(l,l)]-e[r.getElementIndex(c,c)])/2/e[r.getElementIndex(l,c)];t=n<0?-1/(-n+Math.sqrt(1+n*n)):1/(n+Math.sqrt(1+n*n)),u=1/Math.sqrt(1+t*t),o=t*u}return(t=r.clone(r.IDENTITY,t))[r.getElementIndex(c,c)]=t[r.getElementIndex(l,l)]=u,t[r.getElementIndex(l,c)]=o,t[r.getElementIndex(c,l)]=-o,t}var K=new r,Bn=new r;r.computeEigenDecomposition=function(e,t){c.typeOf.object("matrix",e);let n=w.EPSILON20,a=0,i=0;u(t)||(t={});let o=t.unitary=r.clone(r.IDENTITY,t.unitary),l=t.diagonal=r.clone(e,t.diagonal),f=n*me(l);for(;i<10&&se(l)>f;)Oe(l,K),r.transpose(K,Bn),r.multiply(l,K,l),r.multiply(Bn,l,l),r.multiply(o,K,o),++a>2&&(++i,a=0);return t},r.abs=function(e,t){return c.typeOf.object("matrix",e),c.typeOf.object("result",t),t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t[3]=Math.abs(e[3]),t[4]=Math.abs(e[4]),t[5]=Math.abs(e[5]),t[6]=Math.abs(e[6]),t[7]=Math.abs(e[7]),t[8]=Math.abs(e[8]),t},r.determinant=function(e){c.typeOf.object("matrix",e);let t=e[0],n=e[3],r=e[6],a=e[1],i=e[4],u=e[7],o=e[2],l=e[5],f=e[8];return t*(i*f-l*u)+a*(l*r-n*f)+o*(n*u-i*r)},r.inverse=function(e,t){c.typeOf.object("matrix",e),c.typeOf.object("result",t);let n=e[0],a=e[1],i=e[2],u=e[3],o=e[4],l=e[5],f=e[6],s=e[7],y=e[8],p=r.determinant(e);if(Math.abs(p)<=w.EPSILON15)throw new S("matrix is not invertible");t[0]=o*y-s*l,t[1]=s*i-a*y,t[2]=a*l-o*i,t[3]=f*l-u*y,t[4]=n*y-f*i,t[5]=u*i-n*l,t[6]=u*s-f*o,t[7]=f*a-n*s,t[8]=n*o-u*a;let d=1/p;return r.multiplyByScalar(t,d,t)};var be=new r;r.inverseTranspose=function(e,t){return c.typeOf.object("matrix",e),c.typeOf.object("result",t),r.inverse(r.transpose(e,be),t)},r.equals=function(e,t){return e===t||u(e)&&u(t)&&e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]},r.equalsEpsilon=function(e,t,n){return n=O(n,0),e===t||u(e)&&u(t)&&Math.abs(e[0]-t[0])<=n&&Math.abs(e[1]-t[1])<=n&&Math.abs(e[2]-t[2])<=n&&Math.abs(e[3]-t[3])<=n&&Math.abs(e[4]-t[4])<=n&&Math.abs(e[5]-t[5])<=n&&Math.abs(e[6]-t[6])<=n&&Math.abs(e[7]-t[7])<=n&&Math.abs(e[8]-t[8])<=n},r.IDENTITY=Object.freeze(new r(1,0,0,0,1,0,0,0,1)),r.ZERO=Object.freeze(new r(0,0,0,0,0,0,0,0,0)),r.COLUMN0ROW0=0,r.COLUMN0ROW1=1,r.COLUMN0ROW2=2,r.COLUMN1ROW0=3,r.COLUMN1ROW1=4,r.COLUMN1ROW2=5,r.COLUMN2ROW0=6,r.COLUMN2ROW1=7,r.COLUMN2ROW2=8,Object.defineProperties(r.prototype,{length:{get:function(){return r.packedLength}}}),r.prototype.clone=function(e){return r.clone(this,e)},r.prototype.equals=function(e){return r.equals(this,e)},r.equalsArray=function(e,t,n){return e[0]===t[n]&&e[1]===t[n+1]&&e[2]===t[n+2]&&e[3]===t[n+3]&&e[4]===t[n+4]&&e[5]===t[n+5]&&e[6]===t[n+6]&&e[7]===t[n+7]&&e[8]===t[n+8]},r.prototype.equalsEpsilon=function(e,t){return r.equalsEpsilon(this,e,t)},r.prototype.toString=function(){return`(${this[0]}, ${this[3]}, ${this[6]})\n(${this[1]}, ${this[4]}, ${this[7]})\n(${this[2]}, ${this[5]}, ${this[8]})`};var F,Oo=r,R={requestFullscreen:void 0,exitFullscreen:void 0,fullscreenEnabled:void 0,fullscreenElement:void 0,fullscreenchange:void 0,fullscreenerror:void 0},_={};Object.defineProperties(_,{element:{get:function(){if(_.supportsFullscreen())return document[R.fullscreenElement]}},changeEventName:{get:function(){if(_.supportsFullscreen())return R.fullscreenchange}},errorEventName:{get:function(){if(_.supportsFullscreen())return R.fullscreenerror}},enabled:{get:function(){if(_.supportsFullscreen())return document[R.fullscreenEnabled]}},fullscreen:{get:function(){if(_.supportsFullscreen())return null!==_.element}}}),_.supportsFullscreen=function(){if(u(F))return F;F=!1;let e=document.body;if("function"==typeof e.requestFullscreen)return R.requestFullscreen="requestFullscreen",R.exitFullscreen="exitFullscreen",R.fullscreenEnabled="fullscreenEnabled",R.fullscreenElement="fullscreenElement",R.fullscreenchange="fullscreenchange",R.fullscreenerror="fullscreenerror",F=!0;let t,n=["webkit","moz","o","ms","khtml"];for(let r=0,a=n.length;r<a;++r){let a=n[r];t=`${a}RequestFullscreen`,"function"==typeof e[t]?(R.requestFullscreen=t,F=!0):(t=`${a}RequestFullScreen`,"function"==typeof e[t]&&(R.requestFullscreen=t,F=!0)),t=`${a}ExitFullscreen`,"function"==typeof document[t]?R.exitFullscreen=t:(t=`${a}CancelFullScreen`,"function"==typeof document[t]&&(R.exitFullscreen=t)),t=`${a}FullscreenEnabled`,void 0!==document[t]?R.fullscreenEnabled=t:(t=`${a}FullScreenEnabled`,void 0!==document[t]&&(R.fullscreenEnabled=t)),t=`${a}FullscreenElement`,void 0!==document[t]?R.fullscreenElement=t:(t=`${a}FullScreenElement`,void 0!==document[t]&&(R.fullscreenElement=t)),t=`${a}fullscreenchange`,void 0!==document[`on${t}`]&&("ms"===a&&(t="MSFullscreenChange"),R.fullscreenchange=t),t=`${a}fullscreenerror`,void 0!==document[`on${t}`]&&("ms"===a&&(t="MSFullscreenError"),R.fullscreenerror=t)}return F},_.requestFullscreen=function(e,t){_.supportsFullscreen()&&e[R.requestFullscreen]({vrDisplay:t})},_.exitFullscreen=function(){_.supportsFullscreen()&&document[R.exitFullscreen]()},_._names=R;var A,J,In,nn,Pn,en,gn,Z,Sn,on,vn,tn,Rn,hn,wn,jn,$n,cn,Un=_;function B(e){let t=e.split(".");for(let e=0,n=t.length;e<n;++e)t[e]=parseInt(t[e],10);return t}function zn(){if(!u(J)&&(J=!1,!fn())){let e=/ Chrome\/([\.0-9]+)/.exec(A.userAgent);null!==e&&(J=!0,In=B(e[1]))}return J}function he(){return zn()&&In}function Ln(){if(!u(nn)&&(nn=!1,!zn()&&!fn()&&/ Safari\/[\.0-9]+/.test(A.userAgent))){let e=/ Version\/([\.0-9]+)/.exec(A.userAgent);null!==e&&(nn=!0,Pn=B(e[1]))}return nn}function we(){return Ln()&&Pn}function Vn(){if(!u(en)){en=!1;let e=/ AppleWebKit\/([\.0-9]+)(\+?)/.exec(A.userAgent);null!==e&&(en=!0,(gn=B(e[1])).isNightly=!!e[2])}return en}function je(){return Vn()&&gn}function Wn(){if(!u(Z)){let e;Z=!1,"Microsoft Internet Explorer"===A.appName?(e=/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(A.userAgent),null!==e&&(Z=!0,Sn=B(e[1]))):"Netscape"===A.appName&&(e=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(A.userAgent),null!==e&&(Z=!0,Sn=B(e[1])))}return Z}function ge(){return Wn()&&Sn}function fn(){if(!u(on)){on=!1;let e=/ Edg\/([\.0-9]+)/.exec(A.userAgent);null!==e&&(on=!0,vn=B(e[1]))}return on}function Se(){return fn()&&vn}function rn(){if(!u(tn)){tn=!1;let e=/Firefox\/([\.0-9]+)/.exec(A.userAgent);null!==e&&(tn=!0,Rn=B(e[1]))}return tn}function ze(){return u(hn)||(hn=/Windows/i.test(A.appVersion)),hn}function Re(){return u(wn)||(wn="iPhone"===navigator.platform||"iPod"===navigator.platform||"iPad"===navigator.platform),wn}function Me(){return rn()&&Rn}function qe(){return u(jn)||(jn=!rn()&&typeof PointerEvent<"u"&&(!u(A.pointerEnabled)||A.pointerEnabled)),jn}function Dn(){if(!u(cn)){let e=document.createElement("canvas");e.setAttribute("style","image-rendering: -moz-crisp-edges;image-rendering: pixelated;");let t=e.style.imageRendering;(cn=u(t)&&""!==t)&&($n=t)}return cn}function Ee(){return Dn()?$n:void 0}function E(){if(!E.initialized)throw new S("You must call FeatureDetection.supportsWebP.initialize and wait for the promise to resolve before calling FeatureDetection.supportsWebP");return E._result}A=typeof navigator<"u"?navigator:{},E._promise=void 0,E._result=void 0,E.initialize=function(){return u(E._promise)||(E._promise=new Promise((e=>{let t=new Image;t.onload=function(){E._result=t.width>0&&t.height>0,e(E._result)},t.onerror=function(){E._result=!1,e(E._result)},t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA"}))),E._promise},Object.defineProperties(E,{initialized:{get:function(){return u(E._result)}}});var $=[];typeof ArrayBuffer<"u"&&($.push(Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array),typeof Uint8ClampedArray<"u"&&$.push(Uint8ClampedArray),typeof Uint8ClampedArray<"u"&&$.push(Uint8ClampedArray),typeof BigInt64Array<"u"&&$.push(BigInt64Array),typeof BigUint64Array<"u"&&$.push(BigUint64Array));var T={isChrome:zn,chromeVersion:he,isSafari:Ln,safariVersion:we,isWebkit:Vn,webkitVersion:je,isInternetExplorer:Wn,internetExplorerVersion:ge,isEdge:fn,edgeVersion:Se,isFirefox:rn,firefoxVersion:Me,isWindows:ze,isIPadOrIOS:Re,hardwareConcurrency:O(A.hardwareConcurrency,3),supportsPointerEvents:qe,supportsImageRenderingPixelated:Dn,supportsWebP:E,imageRenderingValue:Ee,typedArrayTypes:$,supportsBasis:function(e){return T.supportsWebAssembly()&&e.context.supportsBasis},supportsFullscreen:function(){return Un.supportsFullscreen()},supportsTypedArrays:function(){return typeof ArrayBuffer<"u"},supportsBigInt64Array:function(){return typeof BigInt64Array<"u"},supportsBigUint64Array:function(){return typeof BigUint64Array<"u"},supportsBigInt:function(){return typeof BigInt<"u"},supportsWebWorkers:function(){return typeof Worker<"u"},supportsWebAssembly:function(){return typeof WebAssembly<"u"},supportsWebgl2:function(e){return c.defined("scene",e),e.context.webgl2},supportsEsmWebWorkers:function(){return!rn()||parseInt(Rn)>=114}},Mo=T;export{y as a,D as b,mn as c,fo as d,Oo as e,Mo as f};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.124
5
+ *
6
+ * Copyright 2011-2022 Cesium Contributors
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ *
20
+ * Columbus View (Pat. Pend.)
21
+ *
22
+ * Portions licensed separately.
23
+ * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see chunk-SOCYD7RP.js.LICENSE.txt */
2
+ import{a as K}from"./chunk-CTRWX4F5.js";import{a as L}from"./chunk-RRZIPF5C.js";import{b as v,c as J,d as Z}from"./chunk-K2M3OJ7Z.js";import{b as B,h as k}from"./chunk-M3A6SPGI.js";import{a as t,b as S,c as I,d as G,e as d}from"./chunk-S4VBGY2U.js";import{a as g}from"./chunk-UCTPWOTZ.js";import{a as W}from"./chunk-N3A5CZ2S.js";import{a as b,b as z}from"./chunk-G75U3WZT.js";import{e as p}from"./chunk-3THTQ4QB.js";function m(e,n){this.center=t.clone(W(e,t.ZERO)),this.halfAxes=d.clone(W(n,d.ZERO))}m.packedLength=t.packedLength+d.packedLength,m.pack=function(e,n,a){return z.typeOf.object("value",e),z.defined("array",n),a=W(a,0),t.pack(e.center,n,a),d.pack(e.halfAxes,n,a+t.packedLength),n},m.unpack=function(e,n,a){return z.defined("array",e),n=W(n,0),p(a)||(a=new m),t.unpack(e,n,a.center),d.unpack(e,n+t.packedLength,a.halfAxes),a};var Ct=new t,ut=new t,Pt=new t,xt=new t,yt=new t,At=new t,Nt=new d,Mt={unitary:new d,diagonal:new d};m.fromPoints=function(e,n){if(p(n)||(n=new m),!p(e)||0===e.length)return n.halfAxes=d.ZERO,n.center=t.ZERO,n;let a,r=e.length,o=t.clone(e[0],Ct);for(a=1;a<r;a++)t.add(o,e[a],o);let i=1/r;t.multiplyByScalar(o,i,o);let s,c=0,u=0,l=0,h=0,f=0,w=0;for(a=0;a<r;a++)s=t.subtract(e[a],o,ut),c+=s.x*s.x,u+=s.x*s.y,l+=s.x*s.z,h+=s.y*s.y,f+=s.y*s.z,w+=s.z*s.z;c*=i,u*=i,l*=i,h*=i,f*=i,w*=i;let b=Nt;b[0]=c,b[1]=u,b[2]=l,b[3]=u,b[4]=h,b[5]=f,b[6]=l,b[7]=f,b[8]=w;let x=d.computeEigenDecomposition(b,Mt),y=d.clone(x.unitary,n.halfAxes),g=d.getColumn(y,0,xt),M=d.getColumn(y,1,yt),O=d.getColumn(y,2,At),T=-Number.MAX_VALUE,N=-Number.MAX_VALUE,A=-Number.MAX_VALUE,C=Number.MAX_VALUE,I=Number.MAX_VALUE,S=Number.MAX_VALUE;for(a=0;a<r;a++)s=e[a],T=Math.max(t.dot(g,s),T),N=Math.max(t.dot(M,s),N),A=Math.max(t.dot(O,s),A),C=Math.min(t.dot(g,s),C),I=Math.min(t.dot(M,s),I),S=Math.min(t.dot(O,s),S);g=t.multiplyByScalar(g,.5*(C+T),g),M=t.multiplyByScalar(M,.5*(I+N),M),O=t.multiplyByScalar(O,.5*(S+A),O);let P=t.add(g,M,n.center);t.add(P,O,P);let R=Pt;return R.x=T-C,R.y=N-I,R.z=A-S,t.multiplyByScalar(R,.5,R),d.multiplyByScale(n.halfAxes,R,n.halfAxes),n};var nt=new t,Ot=new t;function Q(e,n,a,r,o,i,s,c,u,l,h){if(!(p(o)&&p(i)&&p(s)&&p(c)&&p(u)&&p(l)))throw new b("all extents (minimum/maximum X/Y/Z) are required.");p(h)||(h=new m);let f=h.halfAxes;d.setColumn(f,0,n,f),d.setColumn(f,1,a,f),d.setColumn(f,2,r,f);let w=nt;w.x=(o+i)/2,w.y=(s+c)/2,w.z=(u+l)/2;let x=Ot;x.x=(i-o)/2,x.y=(c-s)/2,x.z=(l-u)/2;let y=h.center;return w=d.multiplyByVector(f,w,w),t.add(e,w,y),d.multiplyByScale(f,x,f),h}var $=new S,bt=new t,Tt=new S,St=new S,gt=new S,Et=new S,Rt=new S,Wt=new t,H=new t,zt=new t,tt=new t,It=new t,Lt=new I,Ut=new I,qt=new I,jt=new I,Bt=new I,vt=new t,Vt=new t,_t=new t,Dt=new t,Xt=new I,kt=new t,Zt=new t,Yt=new t,Ft=new L(t.UNIT_X,0);m.fromRectangle=function(e,n,a,r,o){if(!p(e))throw new b("rectangle is required");if(e.width<0||e.width>g.TWO_PI)throw new b("Rectangle width must be between 0 and 2 * pi");if(e.height<0||e.height>g.PI)throw new b("Rectangle height must be between 0 and pi");if(p(r)&&!g.equalsEpsilon(r.radii.x,r.radii.y,g.EPSILON15))throw new b("Ellipsoid must be an ellipsoid of revolution (radii.x == radii.y)");let i,s,c,d,u,l,m;if(n=W(n,0),a=W(a,0),r=W(r,G.default),e.width<=g.PI){let t=k.center(e,$),h=r.cartographicToCartesian(t,bt),p=new K(h,r);m=p.plane;let f=t.longitude,w=e.south<0&&e.north>0?0:t.latitude,b=S.fromRadians(f,e.north,a,Tt),x=S.fromRadians(e.west,e.north,a,St),y=S.fromRadians(e.west,w,a,gt),g=S.fromRadians(e.west,e.south,a,Et),M=S.fromRadians(f,e.south,a,Rt),O=r.cartographicToCartesian(b,Wt),T=r.cartographicToCartesian(x,H),N=r.cartographicToCartesian(y,zt),A=r.cartographicToCartesian(g,tt),C=r.cartographicToCartesian(M,It),I=p.projectPointToNearestOnPlane(O,Lt),P=p.projectPointToNearestOnPlane(T,Ut),R=p.projectPointToNearestOnPlane(N,qt),U=p.projectPointToNearestOnPlane(A,jt),z=p.projectPointToNearestOnPlane(C,Bt);return i=Math.min(P.x,R.x,U.x),s=-i,d=Math.max(P.y,I.y),c=Math.min(U.y,z.y),x.height=g.height=n,T=r.cartographicToCartesian(x,H),A=r.cartographicToCartesian(g,tt),u=Math.min(L.getPointDistance(m,T),L.getPointDistance(m,A)),l=a,Q(p.origin,p.xAxis,p.yAxis,p.zAxis,i,s,c,d,u,l,o)}let h=e.south>0,f=e.north<0,w=h?e.south:f?e.north:0,x=k.center(e,$).longitude,y=t.fromRadians(x,w,a,r,vt);y.z=0;let M=Math.abs(y.x)<g.EPSILON10&&Math.abs(y.y)<g.EPSILON10?t.UNIT_X:t.normalize(y,Vt),O=t.UNIT_Z,T=t.cross(M,O,_t);m=L.fromPointNormal(y,M,Ft);let N=t.fromRadians(x+g.PI_OVER_TWO,w,a,r,Dt);s=t.dot(L.projectPointOntoPlane(m,N,Xt),T),i=-s,d=t.fromRadians(0,e.north,f?n:a,r,kt).z,c=t.fromRadians(0,e.south,h?n:a,r,Zt).z;let A=t.fromRadians(e.east,w,a,r,Yt);return u=L.getPointDistance(m,A),l=0,Q(y,T,O,M,i,s,c,d,u,l,o)},m.fromTransformation=function(t,e){return z.typeOf.object("transformation",t),p(e)||(e=new m),e.center=B.getTranslation(t,e.center),e.halfAxes=B.getMatrix3(t,e.halfAxes),e.halfAxes=d.multiplyByScalar(e.halfAxes,.5,e.halfAxes),e},m.clone=function(e,n){if(p(e))return p(n)?(t.clone(e.center,n.center),d.clone(e.halfAxes,n.halfAxes),n):new m(e.center,e.halfAxes)},m.intersectPlane=function(e,n){if(!p(e))throw new b("box is required.");if(!p(n))throw new b("plane is required.");let a=e.center,r=n.normal,o=e.halfAxes,i=r.x,s=r.y,c=r.z,u=Math.abs(i*o[d.COLUMN0ROW0]+s*o[d.COLUMN0ROW1]+c*o[d.COLUMN0ROW2])+Math.abs(i*o[d.COLUMN1ROW0]+s*o[d.COLUMN1ROW1]+c*o[d.COLUMN1ROW2])+Math.abs(i*o[d.COLUMN2ROW0]+s*o[d.COLUMN2ROW1]+c*o[d.COLUMN2ROW2]),l=t.dot(r,a)+n.distance;return l<=-u?v.OUTSIDE:l>=u?v.INSIDE:v.INTERSECTING};var at=new t,ct=new t,rt=new t,Gt=new t,et=new t,Jt=new t;m.distanceSquaredTo=function(e,n){if(!p(e))throw new b("box is required.");if(!p(n))throw new b("cartesian is required.");let a=t.subtract(n,e.center,nt),r=e.halfAxes,o=d.getColumn(r,0,at),i=d.getColumn(r,1,ct),s=d.getColumn(r,2,rt),c=t.magnitude(o),u=t.magnitude(i),l=t.magnitude(s),m=!0,h=!0,f=!0;c>0?t.divideByScalar(o,c,o):m=!1,u>0?t.divideByScalar(i,u,i):h=!1,l>0?t.divideByScalar(s,l,s):f=!1;let w,x,y,M=!m+!h+!f;if(1===M){let e=o;w=i,x=s,h?f||(e=s,x=o):(e=i,w=o),y=t.cross(w,x,et),e===o?o=y:e===i?i=y:e===s&&(s=y)}else if(2===M){w=o,h?w=i:f&&(w=s);let e=t.UNIT_Y;e.equalsEpsilon(w,g.EPSILON3)&&(e=t.UNIT_X),x=t.cross(w,e,Gt),t.normalize(x,x),y=t.cross(w,x,et),t.normalize(y,y),w===o?(i=x,s=y):w===i?(s=x,o=y):w===s&&(o=x,i=y)}else 3===M&&(o=t.UNIT_X,i=t.UNIT_Y,s=t.UNIT_Z);let O=Jt;O.x=t.dot(a,o),O.y=t.dot(a,i),O.z=t.dot(a,s);let T,N=0;return O.x<-c?(T=O.x+c,N+=T*T):O.x>c&&(T=O.x-c,N+=T*T),O.y<-u?(T=O.y+u,N+=T*T):O.y>u&&(T=O.y-u,N+=T*T),O.z<-l?(T=O.z+l,N+=T*T):O.z>l&&(T=O.z-l,N+=T*T),N};var Kt=new t,Qt=new t;m.computePlaneDistances=function(e,n,a,r){if(!p(e))throw new b("box is required.");if(!p(n))throw new b("position is required.");if(!p(a))throw new b("direction is required.");p(r)||(r=new J);let o=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY,s=e.center,c=e.halfAxes,u=d.getColumn(c,0,at),l=d.getColumn(c,1,ct),m=d.getColumn(c,2,rt),h=t.add(u,l,Kt);t.add(h,m,h),t.add(h,s,h);let f=t.subtract(h,n,Qt),w=t.dot(a,f);return o=Math.min(w,o),i=Math.max(w,i),t.add(s,u,h),t.add(h,l,h),t.subtract(h,m,h),t.subtract(h,n,f),w=t.dot(a,f),o=Math.min(w,o),i=Math.max(w,i),t.add(s,u,h),t.subtract(h,l,h),t.add(h,m,h),t.subtract(h,n,f),w=t.dot(a,f),o=Math.min(w,o),i=Math.max(w,i),t.add(s,u,h),t.subtract(h,l,h),t.subtract(h,m,h),t.subtract(h,n,f),w=t.dot(a,f),o=Math.min(w,o),i=Math.max(w,i),t.subtract(s,u,h),t.add(h,l,h),t.add(h,m,h),t.subtract(h,n,f),w=t.dot(a,f),o=Math.min(w,o),i=Math.max(w,i),t.subtract(s,u,h),t.add(h,l,h),t.subtract(h,m,h),t.subtract(h,n,f),w=t.dot(a,f),o=Math.min(w,o),i=Math.max(w,i),t.subtract(s,u,h),t.subtract(h,l,h),t.add(h,m,h),t.subtract(h,n,f),w=t.dot(a,f),o=Math.min(w,o),i=Math.max(w,i),t.subtract(s,u,h),t.subtract(h,l,h),t.subtract(h,m,h),t.subtract(h,n,f),w=t.dot(a,f),o=Math.min(w,o),i=Math.max(w,i),r.start=o,r.stop=i,r};var $t=new t,Ht=new t,te=new t;m.computeCorners=function(e,n){z.typeOf.object("box",e),p(n)||(n=[new t,new t,new t,new t,new t,new t,new t,new t]);let a=e.center,r=e.halfAxes,o=d.getColumn(r,0,$t),i=d.getColumn(r,1,Ht),s=d.getColumn(r,2,te);return t.clone(a,n[0]),t.subtract(n[0],o,n[0]),t.subtract(n[0],i,n[0]),t.subtract(n[0],s,n[0]),t.clone(a,n[1]),t.subtract(n[1],o,n[1]),t.subtract(n[1],i,n[1]),t.add(n[1],s,n[1]),t.clone(a,n[2]),t.subtract(n[2],o,n[2]),t.add(n[2],i,n[2]),t.subtract(n[2],s,n[2]),t.clone(a,n[3]),t.subtract(n[3],o,n[3]),t.add(n[3],i,n[3]),t.add(n[3],s,n[3]),t.clone(a,n[4]),t.add(n[4],o,n[4]),t.subtract(n[4],i,n[4]),t.subtract(n[4],s,n[4]),t.clone(a,n[5]),t.add(n[5],o,n[5]),t.subtract(n[5],i,n[5]),t.add(n[5],s,n[5]),t.clone(a,n[6]),t.add(n[6],o,n[6]),t.add(n[6],i,n[6]),t.subtract(n[6],s,n[6]),t.clone(a,n[7]),t.add(n[7],o,n[7]),t.add(n[7],i,n[7]),t.add(n[7],s,n[7]),n};var ee=new d;m.computeTransformation=function(t,e){z.typeOf.object("box",t),p(e)||(e=new B);let n=t.center,a=d.multiplyByUniformScale(t.halfAxes,2,ee);return B.fromRotationTranslation(a,n,e)};var ne=new Z;m.isOccluded=function(t,e){if(!p(t))throw new b("box is required.");if(!p(e))throw new b("occluder is required.");let n=Z.fromOrientedBoundingBox(t,ne);return!e.isBoundingSphereVisible(n)},m.prototype.intersectPlane=function(t){return m.intersectPlane(this,t)},m.prototype.distanceSquaredTo=function(t){return m.distanceSquaredTo(this,t)},m.prototype.computePlaneDistances=function(t,e,n){return m.computePlaneDistances(this,t,e,n)},m.prototype.computeCorners=function(t){return m.computeCorners(this,t)},m.prototype.computeTransformation=function(t){return m.computeTransformation(this,t)},m.prototype.isOccluded=function(t){return m.isOccluded(this,t)},m.equals=function(e,n){return e===n||p(e)&&p(n)&&t.equals(e.center,n.center)&&d.equals(e.halfAxes,n.halfAxes)},m.prototype.clone=function(t){return m.clone(this,t)},m.prototype.equals=function(t){return m.equals(this,t)};var ye=m;export{ye as a};