deeptwins-engine-3d 0.0.42

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 (590) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +39 -0
  3. package/dist/assets/Build/DeepTwins/Image/line.png +0 -0
  4. package/dist/assets/Build/DeepTwins/Image/qingtian/backav9.jpg +0 -0
  5. package/dist/assets/Build/DeepTwins/Image/qingtian/bottomav9.jpg +0 -0
  6. package/dist/assets/Build/DeepTwins/Image/qingtian/frontav9.jpg +0 -0
  7. package/dist/assets/Build/DeepTwins/Image/qingtian/leftav9.jpg +0 -0
  8. package/dist/assets/Build/DeepTwins/Image/qingtian/rightav9.jpg +0 -0
  9. package/dist/assets/Build/DeepTwins/Image/qingtian/topav9.jpg +0 -0
  10. package/dist/assets/Build/DeepTwins/Image/video-mask.png +0 -0
  11. package/dist/assets/Build/DeepTwins/Image/wall.png +0 -0
  12. package/dist/assets/Build/DeepTwins/Image/wanxia/SunSetBack.png +0 -0
  13. package/dist/assets/Build/DeepTwins/Image/wanxia/SunSetDown.png +0 -0
  14. package/dist/assets/Build/DeepTwins/Image/wanxia/SunSetFront.png +0 -0
  15. package/dist/assets/Build/DeepTwins/Image/wanxia/SunSetLeft.png +0 -0
  16. package/dist/assets/Build/DeepTwins/Image/wanxia/SunSetRight.png +0 -0
  17. package/dist/assets/Build/DeepTwins/Image/wanxia/SunSetUp.png +0 -0
  18. package/dist/assets/Build/DeepTwins/YunJing/yunjing-for-cesium.js +1 -0
  19. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
  20. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
  21. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
  22. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
  23. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
  24. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
  25. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
  26. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
  27. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
  28. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
  29. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
  30. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
  31. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
  32. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
  33. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
  34. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
  35. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
  36. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
  37. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
  38. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
  39. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
  40. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
  41. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
  42. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
  43. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
  44. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
  45. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
  46. package/dist/assets/Build/Map3d/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
  47. package/dist/assets/Build/Map3d/Assets/Images/bing_maps_credit.png +0 -0
  48. package/dist/assets/Build/Map3d/Assets/Images/cesium_credit.png +0 -0
  49. package/dist/assets/Build/Map3d/Assets/Images/google_earth_credit.png +0 -0
  50. package/dist/assets/Build/Map3d/Assets/Images/ion-credit.png +0 -0
  51. package/dist/assets/Build/Map3d/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  52. package/dist/assets/Build/Map3d/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  53. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  54. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  55. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  56. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  57. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  58. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  59. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  60. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  61. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  62. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  63. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  64. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  65. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  66. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  67. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  68. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  69. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  70. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  71. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  72. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  73. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  74. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  75. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  76. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  77. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  78. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  79. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  80. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  81. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  82. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  83. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  84. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  85. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  86. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  87. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  88. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  89. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  90. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  91. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  92. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  93. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  94. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  95. package/dist/assets/Build/Map3d/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
  96. package/dist/assets/Build/Map3d/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  97. package/dist/assets/Build/Map3d/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  98. package/dist/assets/Build/Map3d/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  99. package/dist/assets/Build/Map3d/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  100. package/dist/assets/Build/Map3d/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  101. package/dist/assets/Build/Map3d/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  102. package/dist/assets/Build/Map3d/Assets/Textures/maki/airfield.png +0 -0
  103. package/dist/assets/Build/Map3d/Assets/Textures/maki/airport.png +0 -0
  104. package/dist/assets/Build/Map3d/Assets/Textures/maki/alcohol-shop.png +0 -0
  105. package/dist/assets/Build/Map3d/Assets/Textures/maki/america-football.png +0 -0
  106. package/dist/assets/Build/Map3d/Assets/Textures/maki/art-gallery.png +0 -0
  107. package/dist/assets/Build/Map3d/Assets/Textures/maki/bakery.png +0 -0
  108. package/dist/assets/Build/Map3d/Assets/Textures/maki/bank.png +0 -0
  109. package/dist/assets/Build/Map3d/Assets/Textures/maki/bar.png +0 -0
  110. package/dist/assets/Build/Map3d/Assets/Textures/maki/baseball.png +0 -0
  111. package/dist/assets/Build/Map3d/Assets/Textures/maki/basketball.png +0 -0
  112. package/dist/assets/Build/Map3d/Assets/Textures/maki/beer.png +0 -0
  113. package/dist/assets/Build/Map3d/Assets/Textures/maki/bicycle.png +0 -0
  114. package/dist/assets/Build/Map3d/Assets/Textures/maki/building.png +0 -0
  115. package/dist/assets/Build/Map3d/Assets/Textures/maki/bus.png +0 -0
  116. package/dist/assets/Build/Map3d/Assets/Textures/maki/cafe.png +0 -0
  117. package/dist/assets/Build/Map3d/Assets/Textures/maki/camera.png +0 -0
  118. package/dist/assets/Build/Map3d/Assets/Textures/maki/campsite.png +0 -0
  119. package/dist/assets/Build/Map3d/Assets/Textures/maki/car.png +0 -0
  120. package/dist/assets/Build/Map3d/Assets/Textures/maki/cemetery.png +0 -0
  121. package/dist/assets/Build/Map3d/Assets/Textures/maki/cesium.png +0 -0
  122. package/dist/assets/Build/Map3d/Assets/Textures/maki/chemist.png +0 -0
  123. package/dist/assets/Build/Map3d/Assets/Textures/maki/cinema.png +0 -0
  124. package/dist/assets/Build/Map3d/Assets/Textures/maki/circle-stroked.png +0 -0
  125. package/dist/assets/Build/Map3d/Assets/Textures/maki/circle.png +0 -0
  126. package/dist/assets/Build/Map3d/Assets/Textures/maki/city.png +0 -0
  127. package/dist/assets/Build/Map3d/Assets/Textures/maki/clothing-store.png +0 -0
  128. package/dist/assets/Build/Map3d/Assets/Textures/maki/college.png +0 -0
  129. package/dist/assets/Build/Map3d/Assets/Textures/maki/commercial.png +0 -0
  130. package/dist/assets/Build/Map3d/Assets/Textures/maki/cricket.png +0 -0
  131. package/dist/assets/Build/Map3d/Assets/Textures/maki/cross.png +0 -0
  132. package/dist/assets/Build/Map3d/Assets/Textures/maki/dam.png +0 -0
  133. package/dist/assets/Build/Map3d/Assets/Textures/maki/danger.png +0 -0
  134. package/dist/assets/Build/Map3d/Assets/Textures/maki/disability.png +0 -0
  135. package/dist/assets/Build/Map3d/Assets/Textures/maki/dog-park.png +0 -0
  136. package/dist/assets/Build/Map3d/Assets/Textures/maki/embassy.png +0 -0
  137. package/dist/assets/Build/Map3d/Assets/Textures/maki/emergency-telephone.png +0 -0
  138. package/dist/assets/Build/Map3d/Assets/Textures/maki/entrance.png +0 -0
  139. package/dist/assets/Build/Map3d/Assets/Textures/maki/farm.png +0 -0
  140. package/dist/assets/Build/Map3d/Assets/Textures/maki/fast-food.png +0 -0
  141. package/dist/assets/Build/Map3d/Assets/Textures/maki/ferry.png +0 -0
  142. package/dist/assets/Build/Map3d/Assets/Textures/maki/fire-station.png +0 -0
  143. package/dist/assets/Build/Map3d/Assets/Textures/maki/fuel.png +0 -0
  144. package/dist/assets/Build/Map3d/Assets/Textures/maki/garden.png +0 -0
  145. package/dist/assets/Build/Map3d/Assets/Textures/maki/gift.png +0 -0
  146. package/dist/assets/Build/Map3d/Assets/Textures/maki/golf.png +0 -0
  147. package/dist/assets/Build/Map3d/Assets/Textures/maki/grocery.png +0 -0
  148. package/dist/assets/Build/Map3d/Assets/Textures/maki/hairdresser.png +0 -0
  149. package/dist/assets/Build/Map3d/Assets/Textures/maki/harbor.png +0 -0
  150. package/dist/assets/Build/Map3d/Assets/Textures/maki/heart.png +0 -0
  151. package/dist/assets/Build/Map3d/Assets/Textures/maki/heliport.png +0 -0
  152. package/dist/assets/Build/Map3d/Assets/Textures/maki/hospital.png +0 -0
  153. package/dist/assets/Build/Map3d/Assets/Textures/maki/ice-cream.png +0 -0
  154. package/dist/assets/Build/Map3d/Assets/Textures/maki/industrial.png +0 -0
  155. package/dist/assets/Build/Map3d/Assets/Textures/maki/land-use.png +0 -0
  156. package/dist/assets/Build/Map3d/Assets/Textures/maki/laundry.png +0 -0
  157. package/dist/assets/Build/Map3d/Assets/Textures/maki/library.png +0 -0
  158. package/dist/assets/Build/Map3d/Assets/Textures/maki/lighthouse.png +0 -0
  159. package/dist/assets/Build/Map3d/Assets/Textures/maki/lodging.png +0 -0
  160. package/dist/assets/Build/Map3d/Assets/Textures/maki/logging.png +0 -0
  161. package/dist/assets/Build/Map3d/Assets/Textures/maki/london-underground.png +0 -0
  162. package/dist/assets/Build/Map3d/Assets/Textures/maki/marker-stroked.png +0 -0
  163. package/dist/assets/Build/Map3d/Assets/Textures/maki/marker.png +0 -0
  164. package/dist/assets/Build/Map3d/Assets/Textures/maki/minefield.png +0 -0
  165. package/dist/assets/Build/Map3d/Assets/Textures/maki/mobilephone.png +0 -0
  166. package/dist/assets/Build/Map3d/Assets/Textures/maki/monument.png +0 -0
  167. package/dist/assets/Build/Map3d/Assets/Textures/maki/museum.png +0 -0
  168. package/dist/assets/Build/Map3d/Assets/Textures/maki/music.png +0 -0
  169. package/dist/assets/Build/Map3d/Assets/Textures/maki/oil-well.png +0 -0
  170. package/dist/assets/Build/Map3d/Assets/Textures/maki/park.png +0 -0
  171. package/dist/assets/Build/Map3d/Assets/Textures/maki/park2.png +0 -0
  172. package/dist/assets/Build/Map3d/Assets/Textures/maki/parking-garage.png +0 -0
  173. package/dist/assets/Build/Map3d/Assets/Textures/maki/parking.png +0 -0
  174. package/dist/assets/Build/Map3d/Assets/Textures/maki/pharmacy.png +0 -0
  175. package/dist/assets/Build/Map3d/Assets/Textures/maki/pitch.png +0 -0
  176. package/dist/assets/Build/Map3d/Assets/Textures/maki/place-of-worship.png +0 -0
  177. package/dist/assets/Build/Map3d/Assets/Textures/maki/playground.png +0 -0
  178. package/dist/assets/Build/Map3d/Assets/Textures/maki/police.png +0 -0
  179. package/dist/assets/Build/Map3d/Assets/Textures/maki/polling-place.png +0 -0
  180. package/dist/assets/Build/Map3d/Assets/Textures/maki/post.png +0 -0
  181. package/dist/assets/Build/Map3d/Assets/Textures/maki/prison.png +0 -0
  182. package/dist/assets/Build/Map3d/Assets/Textures/maki/rail-above.png +0 -0
  183. package/dist/assets/Build/Map3d/Assets/Textures/maki/rail-light.png +0 -0
  184. package/dist/assets/Build/Map3d/Assets/Textures/maki/rail-metro.png +0 -0
  185. package/dist/assets/Build/Map3d/Assets/Textures/maki/rail-underground.png +0 -0
  186. package/dist/assets/Build/Map3d/Assets/Textures/maki/rail.png +0 -0
  187. package/dist/assets/Build/Map3d/Assets/Textures/maki/religious-christian.png +0 -0
  188. package/dist/assets/Build/Map3d/Assets/Textures/maki/religious-jewish.png +0 -0
  189. package/dist/assets/Build/Map3d/Assets/Textures/maki/religious-muslim.png +0 -0
  190. package/dist/assets/Build/Map3d/Assets/Textures/maki/restaurant.png +0 -0
  191. package/dist/assets/Build/Map3d/Assets/Textures/maki/roadblock.png +0 -0
  192. package/dist/assets/Build/Map3d/Assets/Textures/maki/rocket.png +0 -0
  193. package/dist/assets/Build/Map3d/Assets/Textures/maki/school.png +0 -0
  194. package/dist/assets/Build/Map3d/Assets/Textures/maki/scooter.png +0 -0
  195. package/dist/assets/Build/Map3d/Assets/Textures/maki/shop.png +0 -0
  196. package/dist/assets/Build/Map3d/Assets/Textures/maki/skiing.png +0 -0
  197. package/dist/assets/Build/Map3d/Assets/Textures/maki/slaughterhouse.png +0 -0
  198. package/dist/assets/Build/Map3d/Assets/Textures/maki/soccer.png +0 -0
  199. package/dist/assets/Build/Map3d/Assets/Textures/maki/square-stroked.png +0 -0
  200. package/dist/assets/Build/Map3d/Assets/Textures/maki/square.png +0 -0
  201. package/dist/assets/Build/Map3d/Assets/Textures/maki/star-stroked.png +0 -0
  202. package/dist/assets/Build/Map3d/Assets/Textures/maki/star.png +0 -0
  203. package/dist/assets/Build/Map3d/Assets/Textures/maki/suitcase.png +0 -0
  204. package/dist/assets/Build/Map3d/Assets/Textures/maki/swimming.png +0 -0
  205. package/dist/assets/Build/Map3d/Assets/Textures/maki/telephone.png +0 -0
  206. package/dist/assets/Build/Map3d/Assets/Textures/maki/tennis.png +0 -0
  207. package/dist/assets/Build/Map3d/Assets/Textures/maki/theatre.png +0 -0
  208. package/dist/assets/Build/Map3d/Assets/Textures/maki/toilets.png +0 -0
  209. package/dist/assets/Build/Map3d/Assets/Textures/maki/town-hall.png +0 -0
  210. package/dist/assets/Build/Map3d/Assets/Textures/maki/town.png +0 -0
  211. package/dist/assets/Build/Map3d/Assets/Textures/maki/triangle-stroked.png +0 -0
  212. package/dist/assets/Build/Map3d/Assets/Textures/maki/triangle.png +0 -0
  213. package/dist/assets/Build/Map3d/Assets/Textures/maki/village.png +0 -0
  214. package/dist/assets/Build/Map3d/Assets/Textures/maki/warehouse.png +0 -0
  215. package/dist/assets/Build/Map3d/Assets/Textures/maki/waste-basket.png +0 -0
  216. package/dist/assets/Build/Map3d/Assets/Textures/maki/water.png +0 -0
  217. package/dist/assets/Build/Map3d/Assets/Textures/maki/wetland.png +0 -0
  218. package/dist/assets/Build/Map3d/Assets/Textures/maki/zoo.png +0 -0
  219. package/dist/assets/Build/Map3d/Assets/Textures/moonSmall.jpg +0 -0
  220. package/dist/assets/Build/Map3d/Assets/Textures/pin.svg +1 -0
  221. package/dist/assets/Build/Map3d/Assets/Textures/waterNormals.jpg +0 -0
  222. package/dist/assets/Build/Map3d/Assets/Textures/waterNormalsSmall.jpg +0 -0
  223. package/dist/assets/Build/Map3d/Assets/approximateTerrainHeights.json +1 -0
  224. package/dist/assets/Build/Map3d/Cesium.js +16071 -0
  225. package/dist/assets/Build/Map3d/ThirdParty/Workers/package.json +1 -0
  226. package/dist/assets/Build/Map3d/ThirdParty/Workers/pako_deflate.min.js +1 -0
  227. package/dist/assets/Build/Map3d/ThirdParty/Workers/pako_inflate.min.js +1 -0
  228. package/dist/assets/Build/Map3d/ThirdParty/Workers/z-worker-pako.js +1 -0
  229. package/dist/assets/Build/Map3d/ThirdParty/basis_transcoder.wasm +0 -0
  230. package/dist/assets/Build/Map3d/ThirdParty/draco_decoder.wasm +0 -0
  231. package/dist/assets/Build/Map3d/ThirdParty/google-earth-dbroot-parser.js +1 -0
  232. package/dist/assets/Build/Map3d/Widgets/Animation/Animation.css +127 -0
  233. package/dist/assets/Build/Map3d/Widgets/Animation/lighter.css +70 -0
  234. package/dist/assets/Build/Map3d/Widgets/BaseLayerPicker/BaseLayerPicker.css +108 -0
  235. package/dist/assets/Build/Map3d/Widgets/BaseLayerPicker/lighter.css +22 -0
  236. package/dist/assets/Build/Map3d/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +102 -0
  237. package/dist/assets/Build/Map3d/Widgets/CesiumInspector/CesiumInspector.css +113 -0
  238. package/dist/assets/Build/Map3d/Widgets/CesiumWidget/CesiumWidget.css +119 -0
  239. package/dist/assets/Build/Map3d/Widgets/CesiumWidget/lighter.css +14 -0
  240. package/dist/assets/Build/Map3d/Widgets/FullscreenButton/FullscreenButton.css +8 -0
  241. package/dist/assets/Build/Map3d/Widgets/Geocoder/Geocoder.css +70 -0
  242. package/dist/assets/Build/Map3d/Widgets/Geocoder/lighter.css +17 -0
  243. package/dist/assets/Build/Map3d/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
  244. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  245. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  246. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  247. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  248. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  249. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  250. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  251. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  252. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  253. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  254. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  255. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  256. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  257. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  258. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  259. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  260. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  261. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  262. package/dist/assets/Build/Map3d/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  263. package/dist/assets/Build/Map3d/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
  264. package/dist/assets/Build/Map3d/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
  265. package/dist/assets/Build/Map3d/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
  266. package/dist/assets/Build/Map3d/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
  267. package/dist/assets/Build/Map3d/Widgets/Images/NavigationHelp/Touch.svg +120 -0
  268. package/dist/assets/Build/Map3d/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
  269. package/dist/assets/Build/Map3d/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
  270. package/dist/assets/Build/Map3d/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
  271. package/dist/assets/Build/Map3d/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
  272. package/dist/assets/Build/Map3d/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  273. package/dist/assets/Build/Map3d/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  274. package/dist/assets/Build/Map3d/Widgets/Images/TimelineIcons.png +0 -0
  275. package/dist/assets/Build/Map3d/Widgets/Images/info-loading.gif +0 -0
  276. package/dist/assets/Build/Map3d/Widgets/InfoBox/InfoBox.css +92 -0
  277. package/dist/assets/Build/Map3d/Widgets/InfoBox/InfoBoxDescription.css +178 -0
  278. package/dist/assets/Build/Map3d/Widgets/NavigationHelpButton/NavigationHelpButton.css +93 -0
  279. package/dist/assets/Build/Map3d/Widgets/NavigationHelpButton/lighter.css +38 -0
  280. package/dist/assets/Build/Map3d/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
  281. package/dist/assets/Build/Map3d/Widgets/ProjectionPicker/ProjectionPicker.css +38 -0
  282. package/dist/assets/Build/Map3d/Widgets/SceneModePicker/SceneModePicker.css +56 -0
  283. package/dist/assets/Build/Map3d/Widgets/SelectionIndicator/SelectionIndicator.css +20 -0
  284. package/dist/assets/Build/Map3d/Widgets/Timeline/Timeline.css +103 -0
  285. package/dist/assets/Build/Map3d/Widgets/Timeline/lighter.css +23 -0
  286. package/dist/assets/Build/Map3d/Widgets/VRButton/VRButton.css +8 -0
  287. package/dist/assets/Build/Map3d/Widgets/Viewer/Viewer.css +107 -0
  288. package/dist/assets/Build/Map3d/Widgets/VoxelInspector/VoxelInspector.css +16 -0
  289. package/dist/assets/Build/Map3d/Widgets/lighter.css +237 -0
  290. package/dist/assets/Build/Map3d/Widgets/lighterShared.css +46 -0
  291. package/dist/assets/Build/Map3d/Widgets/shared.css +103 -0
  292. package/dist/assets/Build/Map3d/Widgets/widgets.css +1342 -0
  293. package/dist/assets/Build/Map3d/Workers/chunk-26PPBGHW.js +26 -0
  294. package/dist/assets/Build/Map3d/Workers/chunk-2H32TJK3.js +26 -0
  295. package/dist/assets/Build/Map3d/Workers/chunk-3DLZAS7T.js +26 -0
  296. package/dist/assets/Build/Map3d/Workers/chunk-4RP6ACF6.js +26 -0
  297. package/dist/assets/Build/Map3d/Workers/chunk-55B3WQ6I.js +26 -0
  298. package/dist/assets/Build/Map3d/Workers/chunk-6CSMIMD7.js +26 -0
  299. package/dist/assets/Build/Map3d/Workers/chunk-A4R6HP5H.js +26 -0
  300. package/dist/assets/Build/Map3d/Workers/chunk-AUO2K2B5.js +26 -0
  301. package/dist/assets/Build/Map3d/Workers/chunk-BAH467HD.js +26 -0
  302. package/dist/assets/Build/Map3d/Workers/chunk-BC3RBQRQ.js +28 -0
  303. package/dist/assets/Build/Map3d/Workers/chunk-CZ6DDD6J.js +26 -0
  304. package/dist/assets/Build/Map3d/Workers/chunk-D32DZSEC.js +26 -0
  305. package/dist/assets/Build/Map3d/Workers/chunk-DG7B7W65.js +26 -0
  306. package/dist/assets/Build/Map3d/Workers/chunk-DLCTHPIV.js +26 -0
  307. package/dist/assets/Build/Map3d/Workers/chunk-E25VRLIZ.js +26 -0
  308. package/dist/assets/Build/Map3d/Workers/chunk-E2NX4UJ2.js +26 -0
  309. package/dist/assets/Build/Map3d/Workers/chunk-EP544XEE.js +26 -0
  310. package/dist/assets/Build/Map3d/Workers/chunk-EQTQGYI2.js +26 -0
  311. package/dist/assets/Build/Map3d/Workers/chunk-FMJWH3RL.js +26 -0
  312. package/dist/assets/Build/Map3d/Workers/chunk-FSU6RZ6S.js +26 -0
  313. package/dist/assets/Build/Map3d/Workers/chunk-FZEJ65E6.js +26 -0
  314. package/dist/assets/Build/Map3d/Workers/chunk-GKS4EDRQ.js +26 -0
  315. package/dist/assets/Build/Map3d/Workers/chunk-GMF7KJHC.js +26 -0
  316. package/dist/assets/Build/Map3d/Workers/chunk-HZQ2LRMY.js +26 -0
  317. package/dist/assets/Build/Map3d/Workers/chunk-I2ICH2LD.js +26 -0
  318. package/dist/assets/Build/Map3d/Workers/chunk-I4G5DYCC.js +26 -0
  319. package/dist/assets/Build/Map3d/Workers/chunk-IIT3SHXK.js +28 -0
  320. package/dist/assets/Build/Map3d/Workers/chunk-JBPQP6LH.js +66 -0
  321. package/dist/assets/Build/Map3d/Workers/chunk-JPOF5MJM.js +26 -0
  322. package/dist/assets/Build/Map3d/Workers/chunk-K4QHJFYW.js +26 -0
  323. package/dist/assets/Build/Map3d/Workers/chunk-MDIGQ5JT.js +26 -0
  324. package/dist/assets/Build/Map3d/Workers/chunk-MNEOPOLK.js +26 -0
  325. package/dist/assets/Build/Map3d/Workers/chunk-NLPIV6OK.js +26 -0
  326. package/dist/assets/Build/Map3d/Workers/chunk-NOHRD3OR.js +26 -0
  327. package/dist/assets/Build/Map3d/Workers/chunk-NYFH7JC3.js +27 -0
  328. package/dist/assets/Build/Map3d/Workers/chunk-NZWLV2A4.js +26 -0
  329. package/dist/assets/Build/Map3d/Workers/chunk-OWZATOOT.js +26 -0
  330. package/dist/assets/Build/Map3d/Workers/chunk-R6A52HT4.js +27 -0
  331. package/dist/assets/Build/Map3d/Workers/chunk-R6YRFJ3K.js +26 -0
  332. package/dist/assets/Build/Map3d/Workers/chunk-RCLU4DVL.js +26 -0
  333. package/dist/assets/Build/Map3d/Workers/chunk-REP6L7BH.js +26 -0
  334. package/dist/assets/Build/Map3d/Workers/chunk-SOSKHJVT.js +26 -0
  335. package/dist/assets/Build/Map3d/Workers/chunk-SPFUTSGC.js +26 -0
  336. package/dist/assets/Build/Map3d/Workers/chunk-TRWH7IZP.js +26 -0
  337. package/dist/assets/Build/Map3d/Workers/chunk-TTK4OD75.js +26 -0
  338. package/dist/assets/Build/Map3d/Workers/chunk-VSCNOKDU.js +26 -0
  339. package/dist/assets/Build/Map3d/Workers/chunk-WDSHVSF7.js +26 -0
  340. package/dist/assets/Build/Map3d/Workers/chunk-WV3AQKZG.js +26 -0
  341. package/dist/assets/Build/Map3d/Workers/chunk-XDITHZHZ.js +26 -0
  342. package/dist/assets/Build/Map3d/Workers/chunk-XLESIVYV.js +26 -0
  343. package/dist/assets/Build/Map3d/Workers/chunk-YGC52UMX.js +26 -0
  344. package/dist/assets/Build/Map3d/Workers/chunk-ZRPUDUIP.js +26 -0
  345. package/dist/assets/Build/Map3d/Workers/combineGeometry.js +26 -0
  346. package/dist/assets/Build/Map3d/Workers/createBoxGeometry.js +26 -0
  347. package/dist/assets/Build/Map3d/Workers/createBoxOutlineGeometry.js +26 -0
  348. package/dist/assets/Build/Map3d/Workers/createCircleGeometry.js +26 -0
  349. package/dist/assets/Build/Map3d/Workers/createCircleOutlineGeometry.js +26 -0
  350. package/dist/assets/Build/Map3d/Workers/createCoplanarPolygonGeometry.js +26 -0
  351. package/dist/assets/Build/Map3d/Workers/createCoplanarPolygonOutlineGeometry.js +26 -0
  352. package/dist/assets/Build/Map3d/Workers/createCorridorGeometry.js +26 -0
  353. package/dist/assets/Build/Map3d/Workers/createCorridorOutlineGeometry.js +26 -0
  354. package/dist/assets/Build/Map3d/Workers/createCylinderGeometry.js +26 -0
  355. package/dist/assets/Build/Map3d/Workers/createCylinderOutlineGeometry.js +26 -0
  356. package/dist/assets/Build/Map3d/Workers/createEllipseGeometry.js +26 -0
  357. package/dist/assets/Build/Map3d/Workers/createEllipseOutlineGeometry.js +26 -0
  358. package/dist/assets/Build/Map3d/Workers/createEllipsoidGeometry.js +26 -0
  359. package/dist/assets/Build/Map3d/Workers/createEllipsoidOutlineGeometry.js +26 -0
  360. package/dist/assets/Build/Map3d/Workers/createFrustumGeometry.js +26 -0
  361. package/dist/assets/Build/Map3d/Workers/createFrustumOutlineGeometry.js +26 -0
  362. package/dist/assets/Build/Map3d/Workers/createGeometry.js +26 -0
  363. package/dist/assets/Build/Map3d/Workers/createGroundPolylineGeometry.js +26 -0
  364. package/dist/assets/Build/Map3d/Workers/createPlaneGeometry.js +26 -0
  365. package/dist/assets/Build/Map3d/Workers/createPlaneOutlineGeometry.js +26 -0
  366. package/dist/assets/Build/Map3d/Workers/createPolygonGeometry.js +26 -0
  367. package/dist/assets/Build/Map3d/Workers/createPolygonOutlineGeometry.js +26 -0
  368. package/dist/assets/Build/Map3d/Workers/createPolylineGeometry.js +26 -0
  369. package/dist/assets/Build/Map3d/Workers/createPolylineVolumeGeometry.js +26 -0
  370. package/dist/assets/Build/Map3d/Workers/createPolylineVolumeOutlineGeometry.js +26 -0
  371. package/dist/assets/Build/Map3d/Workers/createRectangleGeometry.js +26 -0
  372. package/dist/assets/Build/Map3d/Workers/createRectangleOutlineGeometry.js +26 -0
  373. package/dist/assets/Build/Map3d/Workers/createSimplePolylineGeometry.js +26 -0
  374. package/dist/assets/Build/Map3d/Workers/createSphereGeometry.js +26 -0
  375. package/dist/assets/Build/Map3d/Workers/createSphereOutlineGeometry.js +26 -0
  376. package/dist/assets/Build/Map3d/Workers/createTaskProcessorWorker.js +26 -0
  377. package/dist/assets/Build/Map3d/Workers/createVectorTileClampedPolylines.js +26 -0
  378. package/dist/assets/Build/Map3d/Workers/createVectorTileGeometries.js +26 -0
  379. package/dist/assets/Build/Map3d/Workers/createVectorTilePoints.js +26 -0
  380. package/dist/assets/Build/Map3d/Workers/createVectorTilePolygons.js +26 -0
  381. package/dist/assets/Build/Map3d/Workers/createVectorTilePolylines.js +26 -0
  382. package/dist/assets/Build/Map3d/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +26 -0
  383. package/dist/assets/Build/Map3d/Workers/createVerticesFromHeightmap.js +26 -0
  384. package/dist/assets/Build/Map3d/Workers/createVerticesFromQuantizedTerrainMesh.js +26 -0
  385. package/dist/assets/Build/Map3d/Workers/createWallGeometry.js +26 -0
  386. package/dist/assets/Build/Map3d/Workers/createWallOutlineGeometry.js +26 -0
  387. package/dist/assets/Build/Map3d/Workers/decodeDraco.js +26 -0
  388. package/dist/assets/Build/Map3d/Workers/decodeGoogleEarthEnterprisePacket.js +26 -0
  389. package/dist/assets/Build/Map3d/Workers/decodeI3S.js +26 -0
  390. package/dist/assets/Build/Map3d/Workers/transcodeKTX2.js +56 -0
  391. package/dist/assets/Build/Map3d/Workers/transferTypedArrayTest.js +26 -0
  392. package/dist/assets/Build/Map3d/Workers/upsampleQuantizedTerrainMesh.js +26 -0
  393. package/dist/assets/Build/Map3d/index.cjs +16071 -0
  394. package/dist/assets/Build/Map3d/index.js +16071 -0
  395. package/dist/cameraControl/ModelRoamHistory.d.ts +28 -0
  396. package/dist/cameraControl/ModelRoamHistory.js +290 -0
  397. package/dist/cameraControl/ModelRoamRealTime.d.ts +136 -0
  398. package/dist/cameraControl/ModelRoamRealTime.js +668 -0
  399. package/dist/cameraControl/ModelRoamRunTime.d.ts +32 -0
  400. package/dist/cameraControl/ModelRoamRunTime.js +244 -0
  401. package/dist/cameraControl/Roam.d.ts +19 -0
  402. package/dist/cameraControl/Roam.js +414 -0
  403. package/dist/cameraControl/Rotate.d.ts +11 -0
  404. package/dist/cameraControl/Rotate.js +110 -0
  405. package/dist/cameraControl/RotateInPlace.d.ts +11 -0
  406. package/dist/cameraControl/RotateInPlace.js +96 -0
  407. package/dist/constant.d.ts +409 -0
  408. package/dist/constant.js +805 -0
  409. package/dist/deepTwins/index.d.ts +17 -0
  410. package/dist/deepTwins/index.js +118 -0
  411. package/dist/drawer/base.d.ts +51 -0
  412. package/dist/drawer/base.js +179 -0
  413. package/dist/drawer/index.d.ts +62 -0
  414. package/dist/drawer/index.js +350 -0
  415. package/dist/drawer/painter.d.ts +41 -0
  416. package/dist/drawer/painter.js +115 -0
  417. package/dist/drawer/shape/Ellipse.d.ts +10 -0
  418. package/dist/drawer/shape/Ellipse.js +62 -0
  419. package/dist/drawer/shape/Point.d.ts +12 -0
  420. package/dist/drawer/shape/Point.js +59 -0
  421. package/dist/drawer/shape/Polygon.d.ts +10 -0
  422. package/dist/drawer/shape/Polygon.js +87 -0
  423. package/dist/drawer/shape/Polyline.d.ts +11 -0
  424. package/dist/drawer/shape/Polyline.js +54 -0
  425. package/dist/drawer/shape/Rectangle.d.ts +10 -0
  426. package/dist/drawer/shape/Rectangle.js +85 -0
  427. package/dist/drawer/typings.d.ts +106 -0
  428. package/dist/drawer/typings.js +1 -0
  429. package/dist/global.less +3 -0
  430. package/dist/graphicLayer/BaseEntity.d.ts +12 -0
  431. package/dist/graphicLayer/BaseEntity.js +45 -0
  432. package/dist/graphicLayer/BaseLayer.d.ts +29 -0
  433. package/dist/graphicLayer/BaseLayer.js +340 -0
  434. package/dist/graphicLayer/BasePointPrimitive.d.ts +10 -0
  435. package/dist/graphicLayer/BasePointPrimitive.js +41 -0
  436. package/dist/graphicLayer/BasePrimitive.d.ts +12 -0
  437. package/dist/graphicLayer/BasePrimitive.js +50 -0
  438. package/dist/graphicLayer/BasePrimitiveInstance.d.ts +10 -0
  439. package/dist/graphicLayer/BasePrimitiveInstance.js +37 -0
  440. package/dist/graphicLayer/BaseSource.d.ts +33 -0
  441. package/dist/graphicLayer/BaseSource.js +599 -0
  442. package/dist/graphicLayer/BillboardEntity.d.ts +7 -0
  443. package/dist/graphicLayer/BillboardEntity.js +109 -0
  444. package/dist/graphicLayer/BillboardPrimitive.d.ts +7 -0
  445. package/dist/graphicLayer/BillboardPrimitive.js +95 -0
  446. package/dist/graphicLayer/BoxEntity.d.ts +7 -0
  447. package/dist/graphicLayer/BoxEntity.js +102 -0
  448. package/dist/graphicLayer/BoxPrimitive.d.ts +5 -0
  449. package/dist/graphicLayer/BoxPrimitive.js +43 -0
  450. package/dist/graphicLayer/BoxPrimitiveInstance.d.ts +7 -0
  451. package/dist/graphicLayer/BoxPrimitiveInstance.js +97 -0
  452. package/dist/graphicLayer/EllipseEntity.d.ts +7 -0
  453. package/dist/graphicLayer/EllipseEntity.js +113 -0
  454. package/dist/graphicLayer/EllipsePrimitive.d.ts +5 -0
  455. package/dist/graphicLayer/EllipsePrimitive.js +42 -0
  456. package/dist/graphicLayer/EllipsePrimitiveInstance.d.ts +7 -0
  457. package/dist/graphicLayer/EllipsePrimitiveInstance.js +105 -0
  458. package/dist/graphicLayer/EllipsoidEntity.d.ts +7 -0
  459. package/dist/graphicLayer/EllipsoidEntity.js +121 -0
  460. package/dist/graphicLayer/EllipsoidPrimitive.d.ts +5 -0
  461. package/dist/graphicLayer/EllipsoidPrimitive.js +43 -0
  462. package/dist/graphicLayer/EllipsoidPrimitiveInstance.d.ts +7 -0
  463. package/dist/graphicLayer/EllipsoidPrimitiveInstance.js +117 -0
  464. package/dist/graphicLayer/GraphicLayerCollection.d.ts +31 -0
  465. package/dist/graphicLayer/GraphicLayerCollection.js +387 -0
  466. package/dist/graphicLayer/HtmlEntity.d.ts +19 -0
  467. package/dist/graphicLayer/HtmlEntity.js +179 -0
  468. package/dist/graphicLayer/LabelEntity.d.ts +7 -0
  469. package/dist/graphicLayer/LabelEntity.js +113 -0
  470. package/dist/graphicLayer/LabelPrimitive.d.ts +7 -0
  471. package/dist/graphicLayer/LabelPrimitive.js +104 -0
  472. package/dist/graphicLayer/ModelEntity.d.ts +7 -0
  473. package/dist/graphicLayer/ModelEntity.js +125 -0
  474. package/dist/graphicLayer/ModelPrimitive.d.ts +5 -0
  475. package/dist/graphicLayer/ModelPrimitive.js +46 -0
  476. package/dist/graphicLayer/ModelPrimitiveInstance.d.ts +7 -0
  477. package/dist/graphicLayer/ModelPrimitiveInstance.js +96 -0
  478. package/dist/graphicLayer/PointEntity.d.ts +7 -0
  479. package/dist/graphicLayer/PointEntity.js +97 -0
  480. package/dist/graphicLayer/PointPrimitive.d.ts +7 -0
  481. package/dist/graphicLayer/PointPrimitive.js +83 -0
  482. package/dist/graphicLayer/PolygonEntity.d.ts +7 -0
  483. package/dist/graphicLayer/PolygonEntity.js +106 -0
  484. package/dist/graphicLayer/PolygonPrimitive.d.ts +5 -0
  485. package/dist/graphicLayer/PolygonPrimitive.js +42 -0
  486. package/dist/graphicLayer/PolygonPrimitiveInstance.d.ts +7 -0
  487. package/dist/graphicLayer/PolygonPrimitiveInstance.js +103 -0
  488. package/dist/graphicLayer/PolylineEntity.d.ts +7 -0
  489. package/dist/graphicLayer/PolylineEntity.js +99 -0
  490. package/dist/graphicLayer/PolylinePrimitive.d.ts +5 -0
  491. package/dist/graphicLayer/PolylinePrimitive.js +48 -0
  492. package/dist/graphicLayer/PolylinePrimitiveInstance.d.ts +7 -0
  493. package/dist/graphicLayer/PolylinePrimitiveInstance.js +93 -0
  494. package/dist/graphicLayer/PolylineVolumeEntity.d.ts +7 -0
  495. package/dist/graphicLayer/PolylineVolumeEntity.js +107 -0
  496. package/dist/graphicLayer/PolylineVolumePrimitive.d.ts +5 -0
  497. package/dist/graphicLayer/PolylineVolumePrimitive.js +42 -0
  498. package/dist/graphicLayer/PolylineVolumePrimitiveInstance.d.ts +7 -0
  499. package/dist/graphicLayer/PolylineVolumePrimitiveInstance.js +101 -0
  500. package/dist/graphicLayer/WallEntity.d.ts +7 -0
  501. package/dist/graphicLayer/WallEntity.js +99 -0
  502. package/dist/graphicLayer/WallPrimitive.d.ts +5 -0
  503. package/dist/graphicLayer/WallPrimitive.js +42 -0
  504. package/dist/graphicLayer/WallPrimitiveInstance.d.ts +7 -0
  505. package/dist/graphicLayer/WallPrimitiveInstance.js +95 -0
  506. package/dist/index.d.ts +64 -0
  507. package/dist/index.js +108 -0
  508. package/dist/map/Event.d.ts +12 -0
  509. package/dist/map/Event.js +284 -0
  510. package/dist/map/GroundSkyBox.d.ts +20 -0
  511. package/dist/map/GroundSkyBox.js +166 -0
  512. package/dist/map/Map.d.ts +66 -0
  513. package/dist/map/Map.js +658 -0
  514. package/dist/map/Property.d.ts +6 -0
  515. package/dist/map/Property.js +35 -0
  516. package/dist/material/CircleWaveMaterialProperty.d.ts +17 -0
  517. package/dist/material/CircleWaveMaterialProperty.js +108 -0
  518. package/dist/material/DynamicWallMaterialProperty.d.ts +45 -0
  519. package/dist/material/DynamicWallMaterialProperty.js +162 -0
  520. package/dist/material/ImageMaterial.d.ts +4 -0
  521. package/dist/material/ImageMaterial.js +35 -0
  522. package/dist/material/ImageMaterialProperty.d.ts +4 -0
  523. package/dist/material/ImageMaterialProperty.js +34 -0
  524. package/dist/material/PolylineTrailLinkMaterialProperty.d.ts +19 -0
  525. package/dist/material/PolylineTrailLinkMaterialProperty.js +102 -0
  526. package/dist/material/WeatherEffects.d.ts +16 -0
  527. package/dist/material/WeatherEffects.js +159 -0
  528. package/dist/measure/AreaMeasure.d.ts +19 -0
  529. package/dist/measure/AreaMeasure.js +97 -0
  530. package/dist/measure/AreaSurfaceMeasure.d.ts +30 -0
  531. package/dist/measure/AreaSurfaceMeasure.js +151 -0
  532. package/dist/measure/DistanceMeasure.d.ts +19 -0
  533. package/dist/measure/DistanceMeasure.js +91 -0
  534. package/dist/measure/DistanceSurfaceMeasure.d.ts +37 -0
  535. package/dist/measure/DistanceSurfaceMeasure.js +122 -0
  536. package/dist/measure/Measure.d.ts +111 -0
  537. package/dist/measure/Measure.js +177 -0
  538. package/dist/measure/index.d.ts +5 -0
  539. package/dist/measure/index.js +5 -0
  540. package/dist/measure/utils.d.ts +23 -0
  541. package/dist/measure/utils.js +58 -0
  542. package/dist/property/PositionProperty.d.ts +8 -0
  543. package/dist/property/PositionProperty.js +56 -0
  544. package/dist/tileLayer/ArcGisLayer.d.ts +5 -0
  545. package/dist/tileLayer/ArcGisLayer.js +41 -0
  546. package/dist/tileLayer/ImageryLayer.d.ts +6 -0
  547. package/dist/tileLayer/ImageryLayer.js +44 -0
  548. package/dist/tileLayer/RasterLayer.d.ts +4 -0
  549. package/dist/tileLayer/RasterLayer.js +23 -0
  550. package/dist/tileLayer/WmsLayer.d.ts +6 -0
  551. package/dist/tileLayer/WmsLayer.js +26 -0
  552. package/dist/tileLayer/WmtsLayer.d.ts +4 -0
  553. package/dist/tileLayer/WmtsLayer.js +23 -0
  554. package/dist/tool/PrimitiveCluster.d.ts +37 -0
  555. package/dist/tool/PrimitiveCluster.js +705 -0
  556. package/dist/tool/TimerInterval.d.ts +10 -0
  557. package/dist/tool/TimerInterval.js +58 -0
  558. package/dist/tool/cesiumExtends/Subscriber/index.d.ts +66 -0
  559. package/dist/tool/cesiumExtends/Subscriber/index.js +246 -0
  560. package/dist/tool/common.d.ts +36 -0
  561. package/dist/tool/common.js +388 -0
  562. package/dist/tool/heatmap.js +631 -0
  563. package/dist/tool/utils.d.ts +30 -0
  564. package/dist/tool/utils.js +235 -0
  565. package/dist/toolTip/index.d.ts +13 -0
  566. package/dist/toolTip/index.js +73 -0
  567. package/dist/toolTip/index.less +24 -0
  568. package/dist/videoFusion/BaseVideo.d.ts +23 -0
  569. package/dist/videoFusion/BaseVideo.js +255 -0
  570. package/dist/videoFusion/VideoProject.d.ts +12 -0
  571. package/dist/videoFusion/VideoProject.js +230 -0
  572. package/dist/videoFusion/VideoTexture.d.ts +5 -0
  573. package/dist/videoFusion/VideoTexture.js +70 -0
  574. package/dist/visualization/Airspace.d.ts +11 -0
  575. package/dist/visualization/Airspace.js +87 -0
  576. package/dist/visualization/BaseFrustum.d.ts +12 -0
  577. package/dist/visualization/BaseFrustum.js +82 -0
  578. package/dist/visualization/BaseHeatmap.d.ts +23 -0
  579. package/dist/visualization/BaseHeatmap.js +214 -0
  580. package/dist/visualization/Frustum.d.ts +5 -0
  581. package/dist/visualization/Frustum.js +132 -0
  582. package/dist/visualization/FrustumWithCamera.d.ts +5 -0
  583. package/dist/visualization/FrustumWithCamera.js +131 -0
  584. package/dist/visualization/Heatmap2d.d.ts +7 -0
  585. package/dist/visualization/Heatmap2d.js +79 -0
  586. package/dist/visualization/Heatmap3d.d.ts +8 -0
  587. package/dist/visualization/Heatmap3d.js +127 -0
  588. package/dist/visualization/PointCluster.d.ts +17 -0
  589. package/dist/visualization/PointCluster.js +181 -0
  590. package/package.json +103 -0
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as S}from"./chunk-OWZATOOT.js";import{a as W}from"./chunk-2H32TJK3.js";import"./chunk-AUO2K2B5.js";import"./chunk-55B3WQ6I.js";import{a as K}from"./chunk-WDSHVSF7.js";import"./chunk-EP544XEE.js";import"./chunk-MDIGQ5JT.js";import{b as Q}from"./chunk-WV3AQKZG.js";import{a as it}from"./chunk-K4QHJFYW.js";import"./chunk-CZ6DDD6J.js";import"./chunk-26PPBGHW.js";import"./chunk-FMJWH3RL.js";import{a as Z}from"./chunk-E25VRLIZ.js";import{a as et}from"./chunk-FZEJ65E6.js";import{b as I,c as tt,d as J}from"./chunk-SPFUTSGC.js";import{d as x}from"./chunk-E2NX4UJ2.js";import"./chunk-JBPQP6LH.js";import{a as z}from"./chunk-NLPIV6OK.js";import{a as A,d as P}from"./chunk-IIT3SHXK.js";import{a as q}from"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import{a as H}from"./chunk-I2ICH2LD.js";import{b as M}from"./chunk-R6A52HT4.js";import{e as C}from"./chunk-D32DZSEC.js";var ot=new A,nt=new A,rt=new A;function ft(t,i){for(let e=0;e<t.length;e++)t[e]=i.scaleToGeodeticSurface(t[e],t[e]);return t}function st(t,i){let e=[],l=t.positions,h=t.corners,m=t.endPositions,D=new et,y,u=0,p=0,o,g=0,d;for(o=0;o<l.length;o+=2)d=l[o].length-3,u+=d,g+=d/3*4,p+=l[o+1].length-3;for(u+=3,p+=3,o=0;o<h.length;o++){y=h[o];let c=h[o].leftPositions;C(c)?(d=c.length,u+=d,g+=d/3*2):(d=h[o].rightPositions.length,p+=d,g+=d/3*2)}let _=C(m),w;_&&(w=m[0].length-3,u+=w,p+=w,w/=3,g+=w*4);let T=u+p,b=new Float64Array(T),n=0,s=T-1,a,E,L,k,U,O,j=w/2,r=Z.createTypedArray(T/3,g+4),f=0;if(r[f++]=n/3,r[f++]=(s-2)/3,_){e.push(n/3),O=ot,U=nt;let c=m[0];for(o=0;o<j;o++)O=A.fromArray(c,(j-1-o)*3,O),U=A.fromArray(c,(j+o)*3,U),S.addAttribute(b,U,n),S.addAttribute(b,O,void 0,s),E=n/3,k=E+1,a=(s-2)/3,L=a-1,r[f++]=a,r[f++]=L,r[f++]=E,r[f++]=k,n+=3,s-=3}let G=0,F=l[G++],N=l[G++];for(b.set(F,n),b.set(N,s-N.length+1),d=N.length-3,e.push(n/3,(s-2)/3),o=0;o<d;o+=3)E=n/3,k=E+1,a=(s-2)/3,L=a-1,r[f++]=a,r[f++]=L,r[f++]=E,r[f++]=k,n+=3,s-=3;for(o=0;o<h.length;o++){let c;y=h[o];let Y=y.leftPositions,X=y.rightPositions,v,B=rt;if(C(Y)){for(s-=3,v=L,e.push(k),c=0;c<Y.length/3;c++)B=A.fromArray(Y,c*3,B),r[f++]=v-c-1,r[f++]=v-c,S.addAttribute(b,B,void 0,s),s-=3;e.push(v-Math.floor(Y.length/6)),i===W.BEVELED&&e.push((s-2)/3+1),n+=3}else{for(n+=3,v=k,e.push(L),c=0;c<X.length/3;c++)B=A.fromArray(X,c*3,B),r[f++]=v+c,r[f++]=v+c+1,S.addAttribute(b,B,n),n+=3;e.push(v+Math.floor(X.length/6)),i===W.BEVELED&&e.push(n/3-1),s-=3}for(F=l[G++],N=l[G++],F.splice(0,3),N.splice(N.length-3,3),b.set(F,n),b.set(N,s-N.length+1),d=N.length-3,c=0;c<N.length;c+=3)k=n/3,E=k-1,L=(s-2)/3,a=L+1,r[f++]=a,r[f++]=L,r[f++]=E,r[f++]=k,n+=3,s-=3;n-=3,s+=3,e.push(n/3,(s-2)/3)}if(_){n+=3,s-=3,O=ot,U=nt;let c=m[1];for(o=0;o<j;o++)O=A.fromArray(c,(w-o-1)*3,O),U=A.fromArray(c,o*3,U),S.addAttribute(b,O,void 0,s),S.addAttribute(b,U,n),k=n/3,E=k-1,L=(s-2)/3,a=L+1,r[f++]=a,r[f++]=L,r[f++]=E,r[f++]=k,n+=3,s-=3;e.push(n/3)}else e.push(n/3,(s-2)/3);return r[f++]=n/3,r[f++]=(s-2)/3,D.position=new J({componentDatatype:z.DOUBLE,componentsPerAttribute:3,values:b}),{attributes:D,indices:r,wallIndices:e}}function ct(t){let i=t.ellipsoid,e=S.computePositions(t),l=st(e,t.cornerType),h=l.wallIndices,m=t.height,D=t.extrudedHeight,y=l.attributes,u=l.indices,p=y.position.values,o=p.length,g=new Float64Array(o);g.set(p);let d=new Float64Array(o*2);if(p=Q.scaleToGeodeticHeight(p,m,i),g=Q.scaleToGeodeticHeight(g,D,i),d.set(p),d.set(g,o),y.position.values=d,o/=3,C(t.offsetAttribute)){let a=new Uint8Array(o*2);if(t.offsetAttribute===K.TOP)a=a.fill(1,0,o);else{let E=t.offsetAttribute===K.NONE?0:1;a=a.fill(E)}y.applyOffset=new J({componentDatatype:z.UNSIGNED_BYTE,componentsPerAttribute:1,values:a})}let _,w=u.length,T=Z.createTypedArray(d.length/3,(w+h.length)*2);T.set(u);let b=w;for(_=0;_<w;_+=2){let a=u[_],E=u[_+1];T[b++]=a+o,T[b++]=E+o}let n,s;for(_=0;_<h.length;_++)n=h[_],s=n+o,T[b++]=n,T[b++]=s;return{attributes:y,indices:T}}function V(t){t=H(t,H.EMPTY_OBJECT);let i=t.positions,e=t.width;M.typeOf.object("options.positions",i),M.typeOf.number("options.width",e);let l=H(t.height,0),h=H(t.extrudedHeight,l);this._positions=i,this._ellipsoid=P.clone(H(t.ellipsoid,P.default)),this._width=e,this._height=Math.max(l,h),this._extrudedHeight=Math.min(l,h),this._cornerType=H(t.cornerType,W.ROUNDED),this._granularity=H(t.granularity,q.RADIANS_PER_DEGREE),this._offsetAttribute=t.offsetAttribute,this._workerName="createCorridorOutlineGeometry",this.packedLength=1+i.length*A.packedLength+P.packedLength+6}V.pack=function(t,i,e){M.typeOf.object("value",t),M.typeOf.object("array",i),e=H(e,0);let l=t._positions,h=l.length;i[e++]=h;for(let m=0;m<h;++m,e+=A.packedLength)A.pack(l[m],i,e);return P.pack(t._ellipsoid,i,e),e+=P.packedLength,i[e++]=t._width,i[e++]=t._height,i[e++]=t._extrudedHeight,i[e++]=t._cornerType,i[e++]=t._granularity,i[e]=H(t._offsetAttribute,-1),i};var lt=P.clone(P.UNIT_SPHERE),R={positions:void 0,ellipsoid:lt,width:void 0,height:void 0,extrudedHeight:void 0,cornerType:void 0,granularity:void 0,offsetAttribute:void 0};V.unpack=function(t,i,e){M.typeOf.object("array",t),i=H(i,0);let l=t[i++],h=new Array(l);for(let d=0;d<l;++d,i+=A.packedLength)h[d]=A.unpack(t,i);let m=P.unpack(t,i,lt);i+=P.packedLength;let D=t[i++],y=t[i++],u=t[i++],p=t[i++],o=t[i++],g=t[i];return C(e)?(e._positions=h,e._ellipsoid=P.clone(m,e._ellipsoid),e._width=D,e._height=y,e._extrudedHeight=u,e._cornerType=p,e._granularity=o,e._offsetAttribute=g===-1?void 0:g,e):(R.positions=h,R.width=D,R.height=y,R.extrudedHeight=u,R.cornerType=p,R.granularity=o,R.offsetAttribute=g===-1?void 0:g,new V(R))};V.createGeometry=function(t){let i=t._positions,e=t._width,l=t._ellipsoid;i=ft(i,l);let h=it(i,A.equalsEpsilon);if(h.length<2||e<=0)return;let m=t._height,D=t._extrudedHeight,y=!q.equalsEpsilon(m,D,0,q.EPSILON2),u={ellipsoid:l,positions:h,width:e,cornerType:t._cornerType,granularity:t._granularity,saveAttributes:!1},p;if(y)u.height=m,u.extrudedHeight=D,u.offsetAttribute=t._offsetAttribute,p=ct(u);else{let d=S.computePositions(u);if(p=st(d,u.cornerType),p.attributes.position.values=Q.scaleToGeodeticHeight(p.attributes.position.values,m,l),C(t._offsetAttribute)){let _=p.attributes.position.values.length,w=t._offsetAttribute===K.NONE?0:1,T=new Uint8Array(_/3).fill(w);p.attributes.applyOffset=new J({componentDatatype:z.UNSIGNED_BYTE,componentsPerAttribute:1,values:T})}}let o=p.attributes,g=x.fromVertices(o.position.values,void 0,3);return new tt({attributes:o,indices:p.indices,primitiveType:I.LINES,boundingSphere:g,offsetAttribute:t._offsetAttribute})};var $=V;function ht(t,i){return C(i)&&(t=$.unpack(t,i)),t._ellipsoid=P.clone(t._ellipsoid),$.createGeometry(t)}var Ot=ht;export{Ot as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as r}from"./chunk-JPOF5MJM.js";import"./chunk-SOSKHJVT.js";import"./chunk-WDSHVSF7.js";import"./chunk-HZQ2LRMY.js";import"./chunk-E25VRLIZ.js";import"./chunk-FZEJ65E6.js";import"./chunk-SPFUTSGC.js";import"./chunk-E2NX4UJ2.js";import"./chunk-JBPQP6LH.js";import"./chunk-NLPIV6OK.js";import"./chunk-IIT3SHXK.js";import"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import"./chunk-I2ICH2LD.js";import"./chunk-R6A52HT4.js";import{e as o}from"./chunk-D32DZSEC.js";function i(e,t){return o(t)&&(e=r.unpack(e,t)),r.createGeometry(e)}var a=i;export{a as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as M}from"./chunk-SOSKHJVT.js";import{a as V}from"./chunk-WDSHVSF7.js";import{a as N}from"./chunk-E25VRLIZ.js";import{a as k}from"./chunk-FZEJ65E6.js";import{b as D,c as P,d as L}from"./chunk-SPFUTSGC.js";import{d as y}from"./chunk-E2NX4UJ2.js";import"./chunk-JBPQP6LH.js";import{a as A}from"./chunk-NLPIV6OK.js";import{a as S,c as R}from"./chunk-IIT3SHXK.js";import"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import{a as c}from"./chunk-I2ICH2LD.js";import{a as T,b as m}from"./chunk-R6A52HT4.js";import{e as d}from"./chunk-D32DZSEC.js";var w=new R;function a(t){t=c(t,c.EMPTY_OBJECT);let e=t.length,i=t.topRadius,f=t.bottomRadius,o=c(t.slices,128),r=Math.max(c(t.numberOfVerticalLines,16),0);if(m.typeOf.number("options.positions",e),m.typeOf.number("options.topRadius",i),m.typeOf.number("options.bottomRadius",f),m.typeOf.number.greaterThanOrEquals("options.slices",o,3),d(t.offsetAttribute)&&t.offsetAttribute===V.TOP)throw new T("GeometryOffsetAttribute.TOP is not a supported options.offsetAttribute for this geometry.");this._length=e,this._topRadius=i,this._bottomRadius=f,this._slices=o,this._numberOfVerticalLines=r,this._offsetAttribute=t.offsetAttribute,this._workerName="createCylinderOutlineGeometry"}a.packedLength=6;a.pack=function(t,e,i){return m.typeOf.object("value",t),m.defined("array",e),i=c(i,0),e[i++]=t._length,e[i++]=t._topRadius,e[i++]=t._bottomRadius,e[i++]=t._slices,e[i++]=t._numberOfVerticalLines,e[i]=c(t._offsetAttribute,-1),e};var b={length:void 0,topRadius:void 0,bottomRadius:void 0,slices:void 0,numberOfVerticalLines:void 0,offsetAttribute:void 0};a.unpack=function(t,e,i){m.defined("array",t),e=c(e,0);let f=t[e++],o=t[e++],r=t[e++],h=t[e++],l=t[e++],p=t[e];return d(i)?(i._length=f,i._topRadius=o,i._bottomRadius=r,i._slices=h,i._numberOfVerticalLines=l,i._offsetAttribute=p===-1?void 0:p,i):(b.length=f,b.topRadius=o,b.bottomRadius=r,b.slices=h,b.numberOfVerticalLines=l,b.offsetAttribute=p===-1?void 0:p,new a(b))};a.createGeometry=function(t){let e=t._length,i=t._topRadius,f=t._bottomRadius,o=t._slices,r=t._numberOfVerticalLines;if(e<=0||i<0||f<0||i===0&&f===0)return;let h=o*2,l=M.computePositions(e,i,f,o,!1),p=o*2,E;if(r>0){let O=Math.min(r,o);E=Math.round(o/O),p+=O}let s=N.createTypedArray(h,p*2),u=0,n;for(n=0;n<o-1;n++)s[u++]=n,s[u++]=n+1,s[u++]=n+o,s[u++]=n+1+o;if(s[u++]=o-1,s[u++]=0,s[u++]=o+o-1,s[u++]=o,r>0)for(n=0;n<o;n+=E)s[u++]=n,s[u++]=n+o;let _=new k;_.position=new L({componentDatatype:A.DOUBLE,componentsPerAttribute:3,values:l}),w.x=e*.5,w.y=Math.max(f,i);let g=new y(S.ZERO,R.magnitude(w));if(d(t._offsetAttribute)){e=l.length;let O=t._offsetAttribute===V.NONE?0:1,B=new Uint8Array(e/3).fill(O);_.applyOffset=new L({componentDatatype:A.UNSIGNED_BYTE,componentsPerAttribute:1,values:B})}return new P({attributes:_,indices:s,primitiveType:D.LINES,boundingSphere:g,offsetAttribute:t._offsetAttribute})};var C=a;function G(t,e){return d(e)&&(t=C.unpack(t,e)),C.createGeometry(t)}var et=G;export{et as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as o}from"./chunk-3DLZAS7T.js";import"./chunk-NZWLV2A4.js";import"./chunk-YGC52UMX.js";import"./chunk-XLESIVYV.js";import"./chunk-MNEOPOLK.js";import"./chunk-I4G5DYCC.js";import"./chunk-WDSHVSF7.js";import"./chunk-HZQ2LRMY.js";import"./chunk-26PPBGHW.js";import"./chunk-FMJWH3RL.js";import"./chunk-E25VRLIZ.js";import"./chunk-FZEJ65E6.js";import"./chunk-SPFUTSGC.js";import"./chunk-E2NX4UJ2.js";import"./chunk-JBPQP6LH.js";import"./chunk-NLPIV6OK.js";import{a as t,d as c}from"./chunk-IIT3SHXK.js";import"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import"./chunk-I2ICH2LD.js";import"./chunk-R6A52HT4.js";import{e as n}from"./chunk-D32DZSEC.js";function a(r,i){return n(i)&&(r=o.unpack(r,i)),r._center=t.clone(r._center),r._ellipsoid=c.clone(r._ellipsoid),o.createGeometry(r)}var u=a;export{u as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as i}from"./chunk-EQTQGYI2.js";import"./chunk-NZWLV2A4.js";import"./chunk-WDSHVSF7.js";import"./chunk-E25VRLIZ.js";import"./chunk-FZEJ65E6.js";import"./chunk-SPFUTSGC.js";import"./chunk-E2NX4UJ2.js";import"./chunk-JBPQP6LH.js";import"./chunk-NLPIV6OK.js";import{a as t,d as c}from"./chunk-IIT3SHXK.js";import"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import"./chunk-I2ICH2LD.js";import"./chunk-R6A52HT4.js";import{e as o}from"./chunk-D32DZSEC.js";function a(r,n){return o(n)&&(r=i.unpack(r,n)),r._center=t.clone(r._center),r._ellipsoid=c.clone(r._ellipsoid),i.createGeometry(r)}var p=a;export{p as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as e}from"./chunk-6CSMIMD7.js";import"./chunk-WDSHVSF7.js";import"./chunk-HZQ2LRMY.js";import"./chunk-E25VRLIZ.js";import"./chunk-FZEJ65E6.js";import"./chunk-SPFUTSGC.js";import"./chunk-E2NX4UJ2.js";import"./chunk-JBPQP6LH.js";import"./chunk-NLPIV6OK.js";import"./chunk-IIT3SHXK.js";import"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import"./chunk-I2ICH2LD.js";import"./chunk-R6A52HT4.js";import{e as o}from"./chunk-D32DZSEC.js";function i(r,t){return o(t)&&(r=e.unpack(r,t)),e.createGeometry(r)}var a=i;export{a as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as t}from"./chunk-DG7B7W65.js";import"./chunk-WDSHVSF7.js";import"./chunk-E25VRLIZ.js";import"./chunk-FZEJ65E6.js";import"./chunk-SPFUTSGC.js";import"./chunk-E2NX4UJ2.js";import"./chunk-JBPQP6LH.js";import"./chunk-NLPIV6OK.js";import"./chunk-IIT3SHXK.js";import"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import"./chunk-I2ICH2LD.js";import"./chunk-R6A52HT4.js";import{e as n}from"./chunk-D32DZSEC.js";function u(r,e){return n(r.buffer,e)&&(r=t.unpack(r,e)),t.createGeometry(r)}var a=u;export{a as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{c as r}from"./chunk-ZRPUDUIP.js";import"./chunk-HZQ2LRMY.js";import"./chunk-FMJWH3RL.js";import"./chunk-FZEJ65E6.js";import"./chunk-SPFUTSGC.js";import"./chunk-E2NX4UJ2.js";import"./chunk-JBPQP6LH.js";import"./chunk-NLPIV6OK.js";import"./chunk-IIT3SHXK.js";import"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import"./chunk-I2ICH2LD.js";import"./chunk-R6A52HT4.js";import{e as o}from"./chunk-D32DZSEC.js";function i(e,t){return o(t)&&(e=r.unpack(e,t)),r.createGeometry(e)}var a=i;export{a as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as k,b as _,c as j}from"./chunk-ZRPUDUIP.js";import"./chunk-HZQ2LRMY.js";import"./chunk-FMJWH3RL.js";import{a as A}from"./chunk-FZEJ65E6.js";import{b as N,c as g,d as F}from"./chunk-SPFUTSGC.js";import{d as T}from"./chunk-E2NX4UJ2.js";import{f as s}from"./chunk-JBPQP6LH.js";import{a as b}from"./chunk-NLPIV6OK.js";import{a}from"./chunk-IIT3SHXK.js";import"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import{a as d}from"./chunk-I2ICH2LD.js";import{b as h}from"./chunk-R6A52HT4.js";import{e as w}from"./chunk-D32DZSEC.js";var L=0,C=1;function l(e){h.typeOf.object("options",e),h.typeOf.object("options.frustum",e.frustum),h.typeOf.object("options.origin",e.origin),h.typeOf.object("options.orientation",e.orientation);let t=e.frustum,o=e.orientation,u=e.origin,c=d(e._drawNearPlane,!0),m,p;t instanceof _?(m=L,p=_.packedLength):t instanceof k&&(m=C,p=k.packedLength),this._frustumType=m,this._frustum=t.clone(),this._origin=a.clone(u),this._orientation=s.clone(o),this._drawNearPlane=c,this._workerName="createFrustumOutlineGeometry",this.packedLength=2+p+a.packedLength+s.packedLength}l.pack=function(e,t,o){h.typeOf.object("value",e),h.defined("array",t),o=d(o,0);let u=e._frustumType,c=e._frustum;return t[o++]=u,u===L?(_.pack(c,t,o),o+=_.packedLength):(k.pack(c,t,o),o+=k.packedLength),a.pack(e._origin,t,o),o+=a.packedLength,s.pack(e._orientation,t,o),o+=s.packedLength,t[o]=e._drawNearPlane?1:0,t};var E=new _,G=new k,R=new s,S=new a;l.unpack=function(e,t,o){h.defined("array",e),t=d(t,0);let u=e[t++],c;u===L?(c=_.unpack(e,t,E),t+=_.packedLength):(c=k.unpack(e,t,G),t+=k.packedLength);let m=a.unpack(e,t,S);t+=a.packedLength;let p=s.unpack(e,t,R);t+=s.packedLength;let P=e[t]===1;if(!w(o))return new l({frustum:c,origin:m,orientation:p,_drawNearPlane:P});let n=u===o._frustumType?o._frustum:void 0;return o._frustum=c.clone(n),o._frustumType=u,o._origin=a.clone(m,o._origin),o._orientation=s.clone(p,o._orientation),o._drawNearPlane=P,o};l.createGeometry=function(e){let t=e._frustumType,o=e._frustum,u=e._origin,c=e._orientation,m=e._drawNearPlane,p=new Float64Array(3*4*2);j._computeNearFarPlanes(u,c,t,o,p);let P=new A({position:new F({componentDatatype:b.DOUBLE,componentsPerAttribute:3,values:p})}),n,r,y=m?2:1,i=new Uint16Array(8*(y+1)),f=m?0:1;for(;f<2;++f)n=m?f*8:0,r=f*4,i[n]=r,i[n+1]=r+1,i[n+2]=r+1,i[n+3]=r+2,i[n+4]=r+2,i[n+5]=r+3,i[n+6]=r+3,i[n+7]=r;for(f=0;f<2;++f)n=(y+f)*8,r=f*4,i[n]=r,i[n+1]=r+4,i[n+2]=r+1,i[n+3]=r+5,i[n+4]=r+2,i[n+5]=r+6,i[n+6]=r+3,i[n+7]=r+7;return new g({attributes:P,indices:i,primitiveType:N.LINES,boundingSphere:T.fromVertices(p)})};var O=l;function D(e,t){return w(t)&&(e=O.unpack(e,t)),O.createGeometry(e)}var I=D;export{I as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as d}from"./chunk-TTK4OD75.js";import{a as w}from"./chunk-BC3RBQRQ.js";import"./chunk-TRWH7IZP.js";import"./chunk-XLESIVYV.js";import"./chunk-MNEOPOLK.js";import"./chunk-I4G5DYCC.js";import"./chunk-26PPBGHW.js";import"./chunk-FMJWH3RL.js";import"./chunk-E25VRLIZ.js";import"./chunk-FZEJ65E6.js";import"./chunk-SPFUTSGC.js";import"./chunk-E2NX4UJ2.js";import"./chunk-JBPQP6LH.js";import"./chunk-NLPIV6OK.js";import"./chunk-IIT3SHXK.js";import"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import{a as k}from"./chunk-I2ICH2LD.js";import{a as y}from"./chunk-R6A52HT4.js";import{a,b as p,e as r}from"./chunk-D32DZSEC.js";var b=p({"./combineGeometry.js":()=>import("./combineGeometry.js"),"./createBoxGeometry.js":()=>import("./createBoxGeometry.js"),"./createBoxOutlineGeometry.js":()=>import("./createBoxOutlineGeometry.js"),"./createCircleGeometry.js":()=>import("./createCircleGeometry.js"),"./createCircleOutlineGeometry.js":()=>import("./createCircleOutlineGeometry.js"),"./createCoplanarPolygonGeometry.js":()=>import("./createCoplanarPolygonGeometry.js"),"./createCoplanarPolygonOutlineGeometry.js":()=>import("./createCoplanarPolygonOutlineGeometry.js"),"./createCorridorGeometry.js":()=>import("./createCorridorGeometry.js"),"./createCorridorOutlineGeometry.js":()=>import("./createCorridorOutlineGeometry.js"),"./createCylinderGeometry.js":()=>import("./createCylinderGeometry.js"),"./createCylinderOutlineGeometry.js":()=>import("./createCylinderOutlineGeometry.js"),"./createEllipseGeometry.js":()=>import("./createEllipseGeometry.js"),"./createEllipseOutlineGeometry.js":()=>import("./createEllipseOutlineGeometry.js"),"./createEllipsoidGeometry.js":()=>import("./createEllipsoidGeometry.js"),"./createEllipsoidOutlineGeometry.js":()=>import("./createEllipsoidOutlineGeometry.js"),"./createFrustumGeometry.js":()=>import("./createFrustumGeometry.js"),"./createFrustumOutlineGeometry.js":()=>import("./createFrustumOutlineGeometry.js"),"./createGeometry.js":()=>import("./createGeometry.js"),"./createGroundPolylineGeometry.js":()=>import("./createGroundPolylineGeometry.js"),"./createPlaneGeometry.js":()=>import("./createPlaneGeometry.js"),"./createPlaneOutlineGeometry.js":()=>import("./createPlaneOutlineGeometry.js"),"./createPolygonGeometry.js":()=>import("./createPolygonGeometry.js"),"./createPolygonOutlineGeometry.js":()=>import("./createPolygonOutlineGeometry.js"),"./createPolylineGeometry.js":()=>import("./createPolylineGeometry.js"),"./createPolylineVolumeGeometry.js":()=>import("./createPolylineVolumeGeometry.js"),"./createPolylineVolumeOutlineGeometry.js":()=>import("./createPolylineVolumeOutlineGeometry.js"),"./createRectangleGeometry.js":()=>import("./createRectangleGeometry.js"),"./createRectangleOutlineGeometry.js":()=>import("./createRectangleOutlineGeometry.js"),"./createSimplePolylineGeometry.js":()=>import("./createSimplePolylineGeometry.js"),"./createSphereGeometry.js":()=>import("./createSphereGeometry.js"),"./createSphereOutlineGeometry.js":()=>import("./createSphereOutlineGeometry.js"),"./createTaskProcessorWorker.js":()=>import("./createTaskProcessorWorker.js"),"./createVectorTileClampedPolylines.js":()=>import("./createVectorTileClampedPolylines.js"),"./createVectorTileGeometries.js":()=>import("./createVectorTileGeometries.js"),"./createVectorTilePoints.js":()=>import("./createVectorTilePoints.js"),"./createVectorTilePolygons.js":()=>import("./createVectorTilePolygons.js"),"./createVectorTilePolylines.js":()=>import("./createVectorTilePolylines.js"),"./createVerticesFromGoogleEarthEnterpriseBuffer.js":()=>import("./createVerticesFromGoogleEarthEnterpriseBuffer.js"),"./createVerticesFromHeightmap.js":()=>import("./createVerticesFromHeightmap.js"),"./createVerticesFromQuantizedTerrainMesh.js":()=>import("./createVerticesFromQuantizedTerrainMesh.js"),"./createWallGeometry.js":()=>import("./createWallGeometry.js"),"./createWallOutlineGeometry.js":()=>import("./createWallOutlineGeometry.js"),"./decodeDraco.js":()=>import("./decodeDraco.js"),"./decodeGoogleEarthEnterprisePacket.js":()=>import("./decodeGoogleEarthEnterprisePacket.js"),"./decodeI3S.js":()=>import("./decodeI3S.js"),"./transcodeKTX2.js":()=>import("./transcodeKTX2.js"),"./transferTypedArrayTest.js":()=>import("./transferTypedArrayTest.js"),"./upsampleQuantizedTerrainMesh.js":()=>import("./upsampleQuantizedTerrainMesh.js")});var f={};async function h(s,t){let e=k(f[t],f[s]);return r(e)?e:r(t)?(typeof exports=="object"?e=a(t):e=(await import(t)).default,f[t]=e,e):(typeof exports=="object"?e=a(`Workers/${s}`):e=(r(t)?await import(t):await b(`./${s}.js`)).default,f[s]=e,e)}async function x(s,t){let e=s.subTasks,n=e.length,u=new Array(n);for(let o=0;o<n;o++){let i=e[o],m=i.geometry,l=i.moduleName,c=i.modulePath;if(r(l)&&r(c))throw new y("Must only set moduleName or modulePath");r(l)||r(c)?u[o]=h(l,c).then(g=>g(m,i.offset)):u[o]=m}return Promise.all(u).then(function(o){return d.packCreateGeometryResults(o,t)})}var P=w(x);export{P as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as _e}from"./chunk-TRWH7IZP.js";import{a as Z}from"./chunk-VSCNOKDU.js";import{a as _t}from"./chunk-I4G5DYCC.js";import{a as Oe}from"./chunk-55B3WQ6I.js";import{a as Le}from"./chunk-K4QHJFYW.js";import{a as te}from"./chunk-CZ6DDD6J.js";import{b as Qt}from"./chunk-26PPBGHW.js";import{a as jt}from"./chunk-FMJWH3RL.js";import{c as Ce,d as zt}from"./chunk-SPFUTSGC.js";import{a as bt,d as G}from"./chunk-E2NX4UJ2.js";import{d as xe,e as Ne,f as Kt,h as U}from"./chunk-JBPQP6LH.js";import{a as Bt}from"./chunk-NLPIV6OK.js";import{a as t,b as u,c as Pt,d as z,e as vt}from"./chunk-IIT3SHXK.js";import{a as p}from"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import{a as O}from"./chunk-I2ICH2LD.js";import{a as St,b as et}from"./chunk-R6A52HT4.js";import{e as g}from"./chunk-D32DZSEC.js";function rt(e){e=O(e,O.EMPTY_OBJECT),this._ellipsoid=O(e.ellipsoid,z.default),this._rectangle=O(e.rectangle,U.MAX_VALUE),this._projection=new bt(this._ellipsoid),this._numberOfLevelZeroTilesX=O(e.numberOfLevelZeroTilesX,2),this._numberOfLevelZeroTilesY=O(e.numberOfLevelZeroTilesY,1)}Object.defineProperties(rt.prototype,{ellipsoid:{get:function(){return this._ellipsoid}},rectangle:{get:function(){return this._rectangle}},projection:{get:function(){return this._projection}}});rt.prototype.getNumberOfXTilesAtLevel=function(e){return this._numberOfLevelZeroTilesX<<e};rt.prototype.getNumberOfYTilesAtLevel=function(e){return this._numberOfLevelZeroTilesY<<e};rt.prototype.rectangleToNativeRectangle=function(e,i){et.defined("rectangle",e);let r=p.toDegrees(e.west),n=p.toDegrees(e.south),o=p.toDegrees(e.east),a=p.toDegrees(e.north);return g(i)?(i.west=r,i.south=n,i.east=o,i.north=a,i):new U(r,n,o,a)};rt.prototype.tileXYToNativeRectangle=function(e,i,r,n){let o=this.tileXYToRectangle(e,i,r,n);return o.west=p.toDegrees(o.west),o.south=p.toDegrees(o.south),o.east=p.toDegrees(o.east),o.north=p.toDegrees(o.north),o};rt.prototype.tileXYToRectangle=function(e,i,r,n){let o=this._rectangle,a=this.getNumberOfXTilesAtLevel(r),c=this.getNumberOfYTilesAtLevel(r),l=o.width/a,s=e*l+o.west,d=(e+1)*l+o.west,h=o.height/c,N=o.north-i*h,S=o.north-(i+1)*h;return g(n)||(n=new U(s,S,d,N)),n.west=s,n.south=S,n.east=d,n.north=N,n};rt.prototype.positionToTileXY=function(e,i,r){let n=this._rectangle;if(!U.contains(n,e))return;let o=this.getNumberOfXTilesAtLevel(i),a=this.getNumberOfYTilesAtLevel(i),c=n.width/o,l=n.height/a,s=e.longitude;n.east<n.west&&(s+=p.TWO_PI);let d=(s-n.west)/c|0;d>=o&&(d=o-1);let h=(n.north-e.latitude)/l|0;return h>=a&&(h=a-1),g(r)?(r.x=d,r.y=h,r):new Pt(d,h)};var De=rt;var Ie=new t,He=new t,ke=new u,ee=new t,hn=new t,ye=new G,pn=new De,Lt=[new u,new u,new u,new u],Ot=new Pt,w={};w.initialize=function(){let e=w._initPromise;return g(e)||(e=xe.fetchJson(Ne("Assets/approximateTerrainHeights.json")).then(function(i){w._terrainHeights=i}),w._initPromise=e),e};w.getMinimumMaximumHeights=function(e,i){if(et.defined("rectangle",e),!g(w._terrainHeights))throw new St("You must call ApproximateTerrainHeights.initialize and wait for the promise to resolve before using this function");i=O(i,z.default);let r=Ae(e),n=w._defaultMinTerrainHeight,o=w._defaultMaxTerrainHeight;if(g(r)){let a=`${r.level}-${r.x}-${r.y}`,c=w._terrainHeights[a];g(c)&&(n=c[0],o=c[1]),i.cartographicToCartesian(U.northeast(e,ke),Ie),i.cartographicToCartesian(U.southwest(e,ke),He),t.midpoint(He,Ie,ee);let l=i.scaleToGeodeticSurface(ee,hn);if(g(l)){let s=t.distance(ee,l);n=Math.min(n,-s)}else n=w._defaultMinTerrainHeight}return n=Math.max(w._defaultMinTerrainHeight,n),{minimumTerrainHeight:n,maximumTerrainHeight:o}};w.getBoundingSphere=function(e,i){if(et.defined("rectangle",e),!g(w._terrainHeights))throw new St("You must call ApproximateTerrainHeights.initialize and wait for the promise to resolve before using this function");i=O(i,z.default);let r=Ae(e),n=w._defaultMaxTerrainHeight;if(g(r)){let a=`${r.level}-${r.x}-${r.y}`,c=w._terrainHeights[a];g(c)&&(n=c[1])}let o=G.fromRectangle3D(e,i,0);return G.fromRectangle3D(e,i,n,ye),G.union(o,ye,o)};function Ae(e){u.fromRadians(e.east,e.north,0,Lt[0]),u.fromRadians(e.west,e.north,0,Lt[1]),u.fromRadians(e.east,e.south,0,Lt[2]),u.fromRadians(e.west,e.south,0,Lt[3]);let i=0,r=0,n=0,o=0,a=w._terrainHeightsMaxLevel,c;for(c=0;c<=a;++c){let l=!1;for(let s=0;s<4;++s){let d=Lt[s];if(pn.positionToTileXY(d,c,Ot),s===0)n=Ot.x,o=Ot.y;else if(n!==Ot.x||o!==Ot.y){l=!0;break}}if(l)break;i=n,r=o}if(c!==0)return{x:i,y:r,level:c>a?a:c-1}}w._terrainHeightsMaxLevel=6;w._defaultMaxTerrainHeight=9e3;w._defaultMinTerrainHeight=-1e5;w._terrainHeights=void 0;w._initPromise=void 0;Object.defineProperties(w,{initialized:{get:function(){return g(w._terrainHeights)}}});var Xt=w;var le=[bt,_e],dn=le.length,Ke=Math.cos(p.toRadians(30)),Me=Math.cos(p.toRadians(150)),Qe=0,tn=1e3;function ct(e){e=O(e,O.EMPTY_OBJECT);let i=e.positions;if(!g(i)||i.length<2)throw new St("At least two positions are required.");if(g(e.arcType)&&e.arcType!==Z.GEODESIC&&e.arcType!==Z.RHUMB)throw new St("Valid options for arcType are ArcType.GEODESIC and ArcType.RHUMB.");this.width=O(e.width,1),this._positions=i,this.granularity=O(e.granularity,9999),this.loop=O(e.loop,!1),this.arcType=O(e.arcType,Z.GEODESIC),this._ellipsoid=z.default,this._projectionIndex=0,this._workerName="createGroundPolylineGeometry",this._scene3DOnly=!1}Object.defineProperties(ct.prototype,{packedLength:{get:function(){return 1+this._positions.length*3+1+1+1+z.packedLength+1+1}}});ct.setProjectionAndEllipsoid=function(e,i){let r=0;for(let n=0;n<dn;n++)if(i instanceof le[n]){r=n;break}e._projectionIndex=r,e._ellipsoid=i.ellipsoid};var fn=new t,Re=new t,Pe=new t;function se(e,i,r,n,o){let a=P(n,e,0,fn),c=P(n,e,r,Re),l=P(n,i,0,Pe),s=nt(c,a,Re),d=nt(l,a,Pe);return t.cross(d,s,o),t.normalize(o,o)}var mn=new u,gn=new t,un=new t,wn=new t;function ne(e,i,r,n,o,a,c,l,s,d,h){if(o===0)return;let N;a===Z.GEODESIC?N=new Oe(e,i,c):a===Z.RHUMB&&(N=new te(e,i,c));let S=N.surfaceDistance;if(S<o)return;let R=se(e,i,n,c,wn),D=Math.ceil(S/o),I=S/D,j=I,q=D-1,f=l.length;for(let X=0;X<q;X++){let v=N.interpolateUsingSurfaceDistance(j,mn),y=P(c,v,r,gn),H=P(c,v,n,un);t.pack(R,l,f),t.pack(y,s,f),t.pack(H,d,f),h.push(v.latitude),h.push(v.longitude),f+=3,j+=I}}var oe=new u;function P(e,i,r,n){return u.clone(i,oe),oe.height=r,u.toCartesian(oe,e,n)}ct.pack=function(e,i,r){et.typeOf.object("value",e),et.defined("array",i);let n=O(r,0),o=e._positions,a=o.length;i[n++]=a;for(let c=0;c<a;++c){let l=o[c];t.pack(l,i,n),n+=3}return i[n++]=e.granularity,i[n++]=e.loop?1:0,i[n++]=e.arcType,z.pack(e._ellipsoid,i,n),n+=z.packedLength,i[n++]=e._projectionIndex,i[n++]=e._scene3DOnly?1:0,i};ct.unpack=function(e,i,r){et.defined("array",e);let n=O(i,0),o=e[n++],a=new Array(o);for(let S=0;S<o;S++)a[S]=t.unpack(e,n),n+=3;let c=e[n++],l=e[n++]===1,s=e[n++],d=z.unpack(e,n);n+=z.packedLength;let h=e[n++],N=e[n++]===1;return g(r)||(r=new ct({positions:a})),r._positions=a,r.granularity=c,r.loop=l,r.arcType=s,r._ellipsoid=d,r._projectionIndex=h,r._scene3DOnly=N,r};function nt(e,i,r){return t.subtract(e,i,r),t.normalize(r,r),r}function be(e,i,r,n){return n=nt(e,i,n),n=t.cross(n,r,n),n=t.normalize(n,n),n=t.cross(r,n,n),n}var Sn=new t,Tn=new t,En=new t,en=new t,xn=0,Nn=-1;function ie(e,i,r,n,o){let a=nt(r,i,en),c=be(e,i,a,Sn),l=be(n,i,a,Tn);if(p.equalsEpsilon(t.dot(c,l),Nn,p.EPSILON5))return o=t.cross(a,c,o),o=t.normalize(o,o),o;o=t.add(l,c,o),o=t.normalize(o,o);let s=t.cross(a,o,En);return t.dot(l,s)<xn&&(o=t.negate(o,o)),o}var Gt=jt.fromPointNormal(t.ZERO,t.UNIT_Y),Cn=new t,_n=new t,Ln=new t,On=new t,Dn=new t,Yt=new t,Ft=new u,ve=new u,Be=new u;ct.createGeometry=function(e){let i=!e._scene3DOnly,r=e.loop,n=e._ellipsoid,o=e.granularity,a=e.arcType,c=new le[e._projectionIndex](n),l=Qe,s=tn,d,h,N=e._positions,S=N.length;S===2&&(r=!1);let R,D,I,j,q=new te(void 0,void 0,n),f,X,v,y=[N[0]];for(h=0;h<S-1;h++)R=N[h],D=N[h+1],f=Qt.lineSegmentPlane(R,D,Gt,Yt),g(f)&&!t.equalsEpsilon(f,R,p.EPSILON7)&&!t.equalsEpsilon(f,D,p.EPSILON7)&&(e.arcType===Z.GEODESIC?y.push(t.clone(f)):e.arcType===Z.RHUMB&&(v=n.cartesianToCartographic(f,Ft).longitude,I=n.cartesianToCartographic(R,Ft),j=n.cartesianToCartographic(D,ve),q.setEndPoints(I,j),X=q.findIntersectionWithLongitude(v,Be),f=n.cartographicToCartesian(X,Yt),g(f)&&!t.equalsEpsilon(f,R,p.EPSILON7)&&!t.equalsEpsilon(f,D,p.EPSILON7)&&y.push(t.clone(f)))),y.push(D);r&&(R=N[S-1],D=N[0],f=Qt.lineSegmentPlane(R,D,Gt,Yt),g(f)&&!t.equalsEpsilon(f,R,p.EPSILON7)&&!t.equalsEpsilon(f,D,p.EPSILON7)&&(e.arcType===Z.GEODESIC?y.push(t.clone(f)):e.arcType===Z.RHUMB&&(v=n.cartesianToCartographic(f,Ft).longitude,I=n.cartesianToCartographic(R,Ft),j=n.cartesianToCartographic(D,ve),q.setEndPoints(I,j),X=q.findIntersectionWithLongitude(v,Be),f=n.cartographicToCartesian(X,Yt),g(f)&&!t.equalsEpsilon(f,R,p.EPSILON7)&&!t.equalsEpsilon(f,D,p.EPSILON7)&&y.push(t.clone(f)))));let H=y.length,C=new Array(H);for(h=0;h<H;h++){let F=u.fromCartesian(y[h],n);F.height=0,C[h]=F}if(C=Le(C,u.equalsEpsilon),H=C.length,H<2)return;let k=[],b=[],B=[],E=[],x=Cn,L=_n,_=Ln,Y=On,A=Dn,m=C[0],V=C[1],It=C[H-1];for(x=P(n,It,l,x),Y=P(n,V,l,Y),L=P(n,m,l,L),_=P(n,m,s,_),r?A=ie(x,L,_,Y,A):A=se(m,V,s,n,A),t.pack(A,b,0),t.pack(L,B,0),t.pack(_,E,0),k.push(m.latitude),k.push(m.longitude),ne(m,V,l,s,o,a,n,b,B,E,k),h=1;h<H-1;++h){x=t.clone(L,x),L=t.clone(Y,L);let F=C[h];P(n,F,s,_),P(n,C[h+1],l,Y),ie(x,L,_,Y,A),d=b.length,t.pack(A,b,d),t.pack(L,B,d),t.pack(_,E,d),k.push(F.latitude),k.push(F.longitude),ne(C[h],C[h+1],l,s,o,a,n,b,B,E,k)}let M=C[H-1],Tt=C[H-2];if(L=P(n,M,l,L),_=P(n,M,s,_),r){let F=C[0];x=P(n,Tt,l,x),Y=P(n,F,l,Y),A=ie(x,L,_,Y,A)}else A=se(Tt,M,s,n,A);if(d=b.length,t.pack(A,b,d),t.pack(L,B,d),t.pack(_,E,d),k.push(M.latitude),k.push(M.longitude),r){for(ne(M,m,l,s,o,a,n,b,B,E,k),d=b.length,h=0;h<3;++h)b[d+h]=b[h],B[d+h]=B[h],E[d+h]=E[h];k.push(m.latitude),k.push(m.longitude)}return Qn(r,c,B,E,b,k,i)};var In=new t,Hn=new vt,kn=new Kt;function ze(e,i,r,n){let o=nt(r,i,In),a=t.dot(o,e);if(a>Ke||a<Me){let c=nt(n,r,en),l=a<Me?p.PI_OVER_TWO:-p.PI_OVER_TWO,s=Kt.fromAxisAngle(c,l,kn),d=vt.fromQuaternion(s,Hn);return vt.multiplyByVector(d,e,e),!0}return!1}var je=new u,yn=new t,Xe=new t;function Dt(e,i,r,n,o){let a=u.toCartesian(i,e._ellipsoid,yn),c=t.add(a,r,Xe),l=!1,s=e._ellipsoid,d=s.cartesianToCartographic(c,je);Math.abs(i.longitude-d.longitude)>p.PI_OVER_TWO&&(l=!0,c=t.subtract(a,r,Xe),d=s.cartesianToCartographic(c,je)),d.height=0;let h=e.project(d,o);return o=t.subtract(h,n,o),o.z=0,o=t.normalize(o,o),l&&t.negate(o,o),o}var An=new t,Ye=new t;function Fe(e,i,r,n,o,a){let c=t.subtract(i,e,An);t.normalize(c,c);let l=r-Qe,s=t.multiplyByScalar(c,l,Ye);t.add(e,s,o);let d=n-tn;s=t.multiplyByScalar(c,d,Ye),t.add(i,s,a)}var Mn=new t;function Ut(e,i){let r=jt.getPointDistance(Gt,e),n=jt.getPointDistance(Gt,i),o=Mn;p.equalsEpsilon(r,0,p.EPSILON2)?(o=nt(i,e,o),t.multiplyByScalar(o,p.EPSILON2,o),t.add(e,o,e)):p.equalsEpsilon(n,0,p.EPSILON2)&&(o=nt(e,i,o),t.multiplyByScalar(o,p.EPSILON2,o),t.add(i,o,i))}function Rn(e,i){let r=Math.abs(e.longitude),n=Math.abs(i.longitude);if(p.equalsEpsilon(r,p.PI,p.EPSILON11)){let o=p.sign(i.longitude);return e.longitude=o*(r-p.EPSILON11),1}else if(p.equalsEpsilon(n,p.PI,p.EPSILON11)){let o=p.sign(e.longitude);return i.longitude=o*(n-p.EPSILON11),2}return 0}var nn=new u,on=new u,Ue=new t,re=new t,Ge=new t,qe=new t,Pn=new t,We=new t,bn=[nn,on],vn=new U,Bn=new t,zn=new t,jn=new t,Xn=new t,Yn=new t,Fn=new t,ae=new t,ce=new t,Un=new t,Gn=new t,qn=new t,Ze=new t,Wn=new t,Zn=new t,Vn=new _t,$n=new _t,Ve=new t,Jn=new t,$e=new t,Kn=[new G,new G],rn=[0,2,1,0,3,2,0,7,3,0,4,7,0,5,4,0,1,5,5,7,4,5,6,7,5,2,6,5,1,2,3,6,2,3,7,6],Je=rn.length;function Qn(e,i,r,n,o,a,c){let l,s,d=i._ellipsoid,h=r.length/3-1,N=h*8,S=N*4,R=h*36,D=N>65535?new Uint32Array(R):new Uint16Array(R),I=new Float64Array(N*3),j=new Float32Array(S),q=new Float32Array(S),f=new Float32Array(S),X=new Float32Array(S),v=new Float32Array(S),y,H,C,k;c&&(y=new Float32Array(S),H=new Float32Array(S),C=new Float32Array(S),k=new Float32Array(N*2));let b=a.length/2,B=0,E=nn;E.height=0;let x=on;x.height=0;let L=Ue,_=re;if(c)for(s=0,l=1;l<b;l++)E.latitude=a[s],E.longitude=a[s+1],x.latitude=a[s+2],x.longitude=a[s+3],L=i.project(E,L),_=i.project(x,_),B+=t.distance(L,_),s+=2;let Y=n.length/3;_=t.unpack(n,0,_);let A=0;for(s=3,l=1;l<Y;l++)L=t.clone(_,L),_=t.unpack(n,s,_),A+=t.distance(L,_),s+=3;let m;s=3;let V=0,It=0,M=0,Tt=0,F=!1,st=t.unpack(r,0,qe),lt=t.unpack(n,0,re),W=t.unpack(o,0,We);if(e){let ht=t.unpack(r,r.length-6,Ge);ze(W,ht,st,lt)&&(W=t.negate(W,W))}let pe=0,de=0,qt=0;for(l=0;l<h;l++){let ht=t.clone(st,Ge),Zt=t.clone(lt,Ue),mt=t.clone(W,Pn);F&&(mt=t.negate(mt,mt)),st=t.unpack(r,s,qe),lt=t.unpack(n,s,re),W=t.unpack(o,s,We),F=ze(W,ht,st,lt),E.latitude=a[V],E.longitude=a[V+1],x.latitude=a[V+2],x.longitude=a[V+3];let pt,gt,ot,it;if(c){let T=Rn(E,x);pt=i.project(E,Yn),gt=i.project(x,Fn);let wt=nt(gt,pt,Ve);wt.y=Math.abs(wt.y),ot=ae,it=ce,T===0||t.dot(wt,t.UNIT_Y)>Ke?(ot=Dt(i,E,mt,pt,ae),it=Dt(i,x,W,gt,ce)):T===1?(it=Dt(i,x,W,gt,ce),ot.x=0,ot.y=p.sign(E.longitude-Math.abs(x.longitude)),ot.z=0):(ot=Dt(i,E,mt,pt,ae),it.x=0,it.y=p.sign(E.longitude-x.longitude),it.z=0)}let ge=t.distance(Zt,lt),ue=_t.fromCartesian(ht,Vn),Ht=t.subtract(st,ht,Un),an=t.normalize(Ht,Ze),xt=t.subtract(Zt,ht,Gn);xt=t.normalize(xt,xt);let ut=t.cross(an,xt,Ze);ut=t.normalize(ut,ut);let kt=t.cross(xt,mt,Wn);kt=t.normalize(kt,kt);let yt=t.subtract(lt,st,qn);yt=t.normalize(yt,yt);let At=t.cross(W,yt,Zn);At=t.normalize(At,At);let cn=ge/A,sn=pe/A,Vt=0,Nt,Mt,dt,we=0,Se=0;if(c){Vt=t.distance(pt,gt),Nt=_t.fromCartesian(pt,$n),Mt=t.subtract(gt,pt,Ve),dt=t.normalize(Mt,Jn);let T=dt.x;dt.x=dt.y,dt.y=-T,we=Vt/B,Se=de/B}for(m=0;m<8;m++){let T=Tt+m*4,wt=It+m*2,Ct=T+3,Ee=m<4?1:-1,Rt=m===2||m===3||m===6||m===7?1:-1;t.pack(ue.high,j,T),j[Ct]=Ht.x,t.pack(ue.low,q,T),q[Ct]=Ht.y,t.pack(kt,f,T),f[Ct]=Ht.z,t.pack(At,X,T),X[Ct]=cn*Ee,t.pack(ut,v,T);let ft=sn*Rt;ft===0&&Rt<0&&(ft=9),v[Ct]=ft,c&&(y[T]=Nt.high.x,y[T+1]=Nt.high.y,y[T+2]=Nt.low.x,y[T+3]=Nt.low.y,C[T]=-ot.y,C[T+1]=ot.x,C[T+2]=it.y,C[T+3]=-it.x,H[T]=Mt.x,H[T+1]=Mt.y,H[T+2]=dt.x,H[T+3]=dt.y,k[wt]=we*Ee,ft=Se*Rt,ft===0&&Rt<0&&(ft=9),k[wt+1]=ft)}let $=jn,J=Xn,K=Bn,Q=zn,ln=U.fromCartographicArray(bn,vn),Te=Xt.getMinimumMaximumHeights(ln,d),$t=Te.minimumTerrainHeight,Jt=Te.maximumTerrainHeight;qt+=Math.abs($t),qt+=Math.abs(Jt),Fe(ht,Zt,$t,Jt,$,K),Fe(st,lt,$t,Jt,J,Q);let tt=t.multiplyByScalar(ut,p.EPSILON5,$e);t.add($,tt,$),t.add(J,tt,J),t.add(K,tt,K),t.add(Q,tt,Q),Ut($,J),Ut(K,Q),t.pack($,I,M),t.pack(J,I,M+3),t.pack(Q,I,M+6),t.pack(K,I,M+9),tt=t.multiplyByScalar(ut,-2*p.EPSILON5,$e),t.add($,tt,$),t.add(J,tt,J),t.add(K,tt,K),t.add(Q,tt,Q),Ut($,J),Ut(K,Q),t.pack($,I,M+12),t.pack(J,I,M+15),t.pack(Q,I,M+18),t.pack(K,I,M+21),V+=2,s+=3,It+=16,M+=24,Tt+=32,pe+=ge,de+=Vt}s=0;let fe=0;for(l=0;l<h;l++){for(m=0;m<Je;m++)D[s+m]=rn[m]+fe;fe+=8,s+=Je}let Wt=Kn;G.fromVertices(r,t.ZERO,3,Wt[0]),G.fromVertices(n,t.ZERO,3,Wt[1]);let me=G.fromBoundingSpheres(Wt);me.radius+=qt/(h*2);let Et={position:new zt({componentDatatype:Bt.DOUBLE,componentsPerAttribute:3,normalize:!1,values:I}),startHiAndForwardOffsetX:at(j),startLoAndForwardOffsetY:at(q),startNormalAndForwardOffsetZ:at(f),endNormalAndTextureCoordinateNormalizationX:at(X),rightNormalAndTextureCoordinateNormalizationY:at(v)};return c&&(Et.startHiLo2D=at(y),Et.offsetAndRight2D=at(H),Et.startEndNormals2D=at(C),Et.texcoordNormalization2D=new zt({componentDatatype:Bt.FLOAT,componentsPerAttribute:2,normalize:!1,values:k})),new Ce({attributes:Et,indices:D,boundingSphere:me})}function at(e){return new zt({componentDatatype:Bt.FLOAT,componentsPerAttribute:4,normalize:!1,values:e})}ct._projectNormal=Dt;var he=ct;function to(e,i){return Xt.initialize().then(function(){return g(i)&&(e=he.unpack(e,i)),he.createGeometry(e)})}var ti=to;export{ti as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as m}from"./chunk-HZQ2LRMY.js";import{a as b}from"./chunk-FZEJ65E6.js";import{b as v,c as x,d as p}from"./chunk-SPFUTSGC.js";import{d as A}from"./chunk-E2NX4UJ2.js";import"./chunk-JBPQP6LH.js";import{a as c}from"./chunk-NLPIV6OK.js";import{a as y}from"./chunk-IIT3SHXK.js";import"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import{a as i}from"./chunk-I2ICH2LD.js";import{b as u}from"./chunk-R6A52HT4.js";import{e as f}from"./chunk-D32DZSEC.js";function s(r){r=i(r,i.EMPTY_OBJECT);let e=i(r.vertexFormat,m.DEFAULT);this._vertexFormat=e,this._workerName="createPlaneGeometry"}s.packedLength=m.packedLength;s.pack=function(r,e,o){return u.typeOf.object("value",r),u.defined("array",e),o=i(o,0),m.pack(r._vertexFormat,e,o),e};var d=new m,P={vertexFormat:d};s.unpack=function(r,e,o){u.defined("array",r),e=i(e,0);let a=m.unpack(r,e,d);return f(o)?(o._vertexFormat=m.clone(a,o._vertexFormat),o):new s(P)};var F=new y(-.5,-.5,0),l=new y(.5,.5,0);s.createGeometry=function(r){let e=r._vertexFormat,o=new b,a,n;if(e.position){if(n=new Float64Array(4*3),n[0]=F.x,n[1]=F.y,n[2]=0,n[3]=l.x,n[4]=F.y,n[5]=0,n[6]=l.x,n[7]=l.y,n[8]=0,n[9]=F.x,n[10]=l.y,n[11]=0,o.position=new p({componentDatatype:c.DOUBLE,componentsPerAttribute:3,values:n}),e.normal){let t=new Float32Array(12);t[0]=0,t[1]=0,t[2]=1,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=1,t[9]=0,t[10]=0,t[11]=1,o.normal=new p({componentDatatype:c.FLOAT,componentsPerAttribute:3,values:t})}if(e.st){let t=new Float32Array(8);t[0]=0,t[1]=0,t[2]=1,t[3]=0,t[4]=1,t[5]=1,t[6]=0,t[7]=1,o.st=new p({componentDatatype:c.FLOAT,componentsPerAttribute:2,values:t})}if(e.tangent){let t=new Float32Array(12);t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t[6]=1,t[7]=0,t[8]=0,t[9]=1,t[10]=0,t[11]=0,o.tangent=new p({componentDatatype:c.FLOAT,componentsPerAttribute:3,values:t})}if(e.bitangent){let t=new Float32Array(12);t[0]=0,t[1]=1,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=1,t[8]=0,t[9]=0,t[10]=1,t[11]=0,o.bitangent=new p({componentDatatype:c.FLOAT,componentsPerAttribute:3,values:t})}a=new Uint16Array(2*3),a[0]=0,a[1]=1,a[2]=2,a[3]=0,a[4]=2,a[5]=3}return new x({attributes:o,indices:a,primitiveType:v.TRIANGLES,boundingSphere:new A(y.ZERO,Math.sqrt(2))})};var w=s;function h(r,e){return f(e)&&(r=w.unpack(r,e)),w.createGeometry(r)}var M=h;export{M as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as l}from"./chunk-FZEJ65E6.js";import{b as d,c as y,d as s}from"./chunk-SPFUTSGC.js";import{d as c}from"./chunk-E2NX4UJ2.js";import"./chunk-JBPQP6LH.js";import{a as f}from"./chunk-NLPIV6OK.js";import{a}from"./chunk-IIT3SHXK.js";import"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import"./chunk-I2ICH2LD.js";import{b as m}from"./chunk-R6A52HT4.js";import{e as i}from"./chunk-D32DZSEC.js";function o(){this._workerName="createPlaneOutlineGeometry"}o.packedLength=0;o.pack=function(r,e){return m.defined("value",r),m.defined("array",e),e};o.unpack=function(r,e,t){return m.defined("array",r),i(t)?t:new o};var n=new a(-.5,-.5,0),p=new a(.5,.5,0);o.createGeometry=function(){let r=new l,e=new Uint16Array(4*2),t=new Float64Array(4*3);return t[0]=n.x,t[1]=n.y,t[2]=n.z,t[3]=p.x,t[4]=n.y,t[5]=n.z,t[6]=p.x,t[7]=p.y,t[8]=n.z,t[9]=n.x,t[10]=p.y,t[11]=n.z,r.position=new s({componentDatatype:f.DOUBLE,componentsPerAttribute:3,values:t}),e[0]=0,e[1]=1,e[2]=1,e[3]=2,e[4]=2,e[5]=3,e[6]=3,e[7]=0,new y({attributes:r,indices:e,primitiveType:d.LINES,boundingSphere:new c(a.ZERO,Math.sqrt(2))})};var u=o;function w(r,e){return i(e)&&(r=u.unpack(r,e)),u.createGeometry(r)}var D=w;export{D as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as dt}from"./chunk-A4R6HP5H.js";import{a as F}from"./chunk-FSU6RZ6S.js";import{a as at}from"./chunk-VSCNOKDU.js";import{a as st}from"./chunk-YGC52UMX.js";import{a as bt}from"./chunk-XLESIVYV.js";import"./chunk-MNEOPOLK.js";import"./chunk-I4G5DYCC.js";import{a as ht}from"./chunk-WDSHVSF7.js";import{a as Q}from"./chunk-HZQ2LRMY.js";import{a as K}from"./chunk-EP544XEE.js";import"./chunk-MDIGQ5JT.js";import{a as gt,b as nt}from"./chunk-WV3AQKZG.js";import"./chunk-K4QHJFYW.js";import"./chunk-CZ6DDD6J.js";import{a as wt,b as yt}from"./chunk-26PPBGHW.js";import"./chunk-FMJWH3RL.js";import{a as lt}from"./chunk-E25VRLIZ.js";import"./chunk-FZEJ65E6.js";import{c as mt,d as tt}from"./chunk-SPFUTSGC.js";import{d as Tt}from"./chunk-E2NX4UJ2.js";import{f as ct,h as _t}from"./chunk-JBPQP6LH.js";import{a as $}from"./chunk-NLPIV6OK.js";import{a as c,b as ot,c as O,d as V,e as U}from"./chunk-IIT3SHXK.js";import{a as l}from"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import{a as L}from"./chunk-I2ICH2LD.js";import{a as ut,b as q}from"./chunk-R6A52HT4.js";import{e as P}from"./chunk-D32DZSEC.js";function b(t,e){this.position=t,P(this.position)||(this.position=new O),this.tangentPlane=e,P(this.tangentPlane)||(this.tangentPlane=b.NORTH_POLE_TANGENT_PLANE)}Object.defineProperties(b.prototype,{ellipsoid:{get:function(){return this.tangentPlane.ellipsoid}},x:{get:function(){return this.position.x}},y:{get:function(){return this.position.y}},conformalLatitude:{get:function(){let t=O.magnitude(this.position),e=2*this.ellipsoid.maximumRadius;return this.tangentPlane.plane.normal.z*(l.PI_OVER_TWO-2*Math.atan2(t,e))}},longitude:{get:function(){let t=l.PI_OVER_TWO+Math.atan2(this.y,this.x);return t>Math.PI&&(t-=l.TWO_PI),t}}});var it=new ot,Rt=new c;b.prototype.getLatitude=function(t){P(t)||(t=V.default),it.latitude=this.conformalLatitude,it.longitude=this.longitude,it.height=0;let e=this.ellipsoid.cartographicToCartesian(it,Rt);return t.cartesianToCartographic(e,it),it.latitude};var It=new wt,Lt=new c,Ft=new c;b.fromCartesian=function(t,e){q.defined("cartesian",t);let o=l.signNotZero(t.z),n=b.NORTH_POLE_TANGENT_PLANE,s=b.SOUTH_POLE;o<0&&(n=b.SOUTH_POLE_TANGENT_PLANE,s=b.NORTH_POLE);let i=It;i.origin=n.ellipsoid.scaleToGeocentricSurface(t,i.origin),i.direction=c.subtract(i.origin,s,Lt),c.normalize(i.direction,i.direction);let r=yt.rayPlane(i,n.plane,Ft),f=c.subtract(r,s,r),d=c.dot(n.xAxis,f),p=o*c.dot(n.yAxis,f);return P(e)?(e.position=new O(d,p),e.tangentPlane=n,e):new b(new O(d,p),n)};b.fromCartesianArray=function(t,e){q.defined("cartesians",t);let o=t.length;P(e)?e.length=o:e=new Array(o);for(let n=0;n<o;n++)e[n]=b.fromCartesian(t[n],e[n]);return e};b.clone=function(t,e){if(P(t))return P(e)?(e.position=t.position,e.tangentPlane=t.tangentPlane,e):new b(t.position,t.tangentPlane)};b.HALF_UNIT_SPHERE=Object.freeze(new V(.5,.5,.5));b.NORTH_POLE=Object.freeze(new c(0,0,.5));b.SOUTH_POLE=Object.freeze(new c(0,0,-.5));b.NORTH_POLE_TANGENT_PLANE=Object.freeze(new K(b.NORTH_POLE,b.HALF_UNIT_SPHERE));b.SOUTH_POLE_TANGENT_PLANE=Object.freeze(new K(b.SOUTH_POLE,b.HALF_UNIT_SPHERE));var D=b;var vt=new ot,Ot=new ot;function St(t,e,o,n){let i=n.cartesianToCartographic(t,vt).height,r=n.cartesianToCartographic(e,Ot);r.height=i,n.cartographicToCartesian(r,e);let f=n.cartesianToCartographic(o,Ot);f.height=i-100,n.cartographicToCartesian(f,o)}var Et=new dt,Vt=new c,Bt=new c,Mt=new c,jt=new c,kt=new c,zt=new c,ft=new c,Z=new c,rt=new c,Dt=new O,Ut=new O,Wt=new c,At=new ct,Gt=new U,Yt=new U;function pt(t){let e=t.vertexFormat,o=t.geometry,n=t.shadowVolume,s=o.attributes.position.values,i=P(o.attributes.st)?o.attributes.st.values:void 0,r=s.length,f=t.wall,d=t.top||f,p=t.bottom||f;if(e.st||e.normal||e.tangent||e.bitangent||n){let w=t.boundingRectangle,a=t.rotationAxis,H=t.projectTo2d,x=t.ellipsoid,j=t.stRotation,C=t.perPositionHeight,R=Dt;R.x=w.x,R.y=w.y;let B=e.st?new Float32Array(2*(r/3)):void 0,u;e.normal&&(C&&d&&!f?u=o.attributes.normal.values:u=new Float32Array(r));let E=e.tangent?new Float32Array(r):void 0,A=e.bitangent?new Float32Array(r):void 0,v=n?new Float32Array(r):void 0,T=0,y=0,_=Bt,h=Mt,g=jt,k=!0,Y=Gt,J=Yt;if(j!==0){let M=ct.fromAxisAngle(a,j,At);Y=U.fromQuaternion(M,Y),M=ct.fromAxisAngle(a,-j,At),J=U.fromQuaternion(M,J)}else Y=U.clone(U.IDENTITY,Y),J=U.clone(U.IDENTITY,J);let m=0,I=0;d&&p&&(m=r/2,I=r/3,r/=2);for(let M=0;M<r;M+=3){let z=c.fromArray(s,M,Wt);if(e.st&&!P(i)){let N=U.multiplyByVector(Y,z,Vt);N=x.scaleToGeodeticSurface(N,N);let S=H([N],Ut)[0];O.subtract(S,R,S);let X=l.clamp(S.x/w.width,0,1),et=l.clamp(S.y/w.height,0,1);p&&(B[T+I]=X,B[T+1+I]=et),d&&(B[T]=X,B[T+1]=et),T+=2}if(e.normal||e.tangent||e.bitangent||n){let N=y+1,S=y+2;if(f){if(M+3<r){let X=c.fromArray(s,M+3,kt);if(k){let et=c.fromArray(s,M+r,zt);C&&St(z,X,et,x),c.subtract(X,z,X),c.subtract(et,z,et),_=c.normalize(c.cross(et,X,_),_),k=!1}c.equalsEpsilon(X,z,l.EPSILON10)&&(k=!0)}(e.tangent||e.bitangent)&&(g=x.geodeticSurfaceNormal(z,g),e.tangent&&(h=c.normalize(c.cross(g,_,h),h)))}else _=x.geodeticSurfaceNormal(z,_),(e.tangent||e.bitangent)&&(C&&(ft=c.fromArray(u,y,ft),Z=c.cross(c.UNIT_Z,ft,Z),Z=c.normalize(U.multiplyByVector(J,Z,Z),Z),e.bitangent&&(rt=c.normalize(c.cross(ft,Z,rt),rt))),h=c.cross(c.UNIT_Z,_,h),h=c.normalize(U.multiplyByVector(J,h,h),h),e.bitangent&&(g=c.normalize(c.cross(_,h,g),g)));e.normal&&(t.wall?(u[y+m]=_.x,u[N+m]=_.y,u[S+m]=_.z):p&&(u[y+m]=-_.x,u[N+m]=-_.y,u[S+m]=-_.z),(d&&!C||f)&&(u[y]=_.x,u[N]=_.y,u[S]=_.z)),n&&(f&&(_=x.geodeticSurfaceNormal(z,_)),v[y+m]=-_.x,v[N+m]=-_.y,v[S+m]=-_.z),e.tangent&&(t.wall?(E[y+m]=h.x,E[N+m]=h.y,E[S+m]=h.z):p&&(E[y+m]=-h.x,E[N+m]=-h.y,E[S+m]=-h.z),d&&(C?(E[y]=Z.x,E[N]=Z.y,E[S]=Z.z):(E[y]=h.x,E[N]=h.y,E[S]=h.z))),e.bitangent&&(p&&(A[y+m]=g.x,A[N+m]=g.y,A[S+m]=g.z),d&&(C?(A[y]=rt.x,A[N]=rt.y,A[S]=rt.z):(A[y]=g.x,A[N]=g.y,A[S]=g.z))),y+=3}}e.st&&!P(i)&&(o.attributes.st=new tt({componentDatatype:$.FLOAT,componentsPerAttribute:2,values:B})),e.normal&&(o.attributes.normal=new tt({componentDatatype:$.FLOAT,componentsPerAttribute:3,values:u})),e.tangent&&(o.attributes.tangent=new tt({componentDatatype:$.FLOAT,componentsPerAttribute:3,values:E})),e.bitangent&&(o.attributes.bitangent=new tt({componentDatatype:$.FLOAT,componentsPerAttribute:3,values:A})),n&&(o.attributes.extrudeDirection=new tt({componentDatatype:$.FLOAT,componentsPerAttribute:3,values:v}))}if(t.extrude&&P(t.offsetAttribute)){let w=s.length/3,a=new Uint8Array(w);if(t.offsetAttribute===ht.TOP)d&&p||f?a=a.fill(1,0,w/2):d&&(a=a.fill(1));else{let H=t.offsetAttribute===ht.NONE?0:1;a=a.fill(H)}o.attributes.applyOffset=new tt({componentDatatype:$.UNSIGNED_BYTE,componentsPerAttribute:1,values:a})}return o}var Ht=[];function qt(t,e,o,n,s,i,r,f,d,p){let w={walls:[]},a;if(r||f){let u=F.createGeometryFromPositions(t,e,o,n,i,d,p),E=u.attributes.position.values,A=u.indices,v,T;if(r&&f){let y=E.concat(E);v=y.length/3,T=lt.createTypedArray(v,A.length*2),T.set(A);let _=A.length,h=v/2;for(a=0;a<_;a+=3){let g=T[a]+h,k=T[a+1]+h,Y=T[a+2]+h;T[a+_]=Y,T[a+1+_]=k,T[a+2+_]=g}if(u.attributes.position.values=y,i&&d.normal){let g=u.attributes.normal.values;u.attributes.normal.values=new Float32Array(y.length),u.attributes.normal.values.set(g)}if(d.st&&P(o)){let g=u.attributes.st.values;u.attributes.st.values=new Float32Array(v*2),u.attributes.st.values=g.concat(g)}u.indices=T}else if(f){for(v=E.length/3,T=lt.createTypedArray(v,A.length),a=0;a<A.length;a+=3)T[a]=A[a+2],T[a+1]=A[a+1],T[a+2]=A[a];u.indices=T}w.topAndBottom=new st({geometry:u})}let H=s.outerRing,x=K.fromPoints(H,t),j=x.projectPointsOntoPlane(H,Ht),C=nt.computeWindingOrder2D(j);C===gt.CLOCKWISE&&(H=H.slice().reverse());let R=F.computeWallGeometry(H,o,t,n,i,p);w.walls.push(new st({geometry:R}));let B=s.holes;for(a=0;a<B.length;a++){let u=B[a];j=x.projectPointsOntoPlane(u,Ht),C=nt.computeWindingOrder2D(j),C===gt.COUNTER_CLOCKWISE&&(u=u.slice().reverse()),R=F.computeWallGeometry(u,o,t,n,i,p),w.walls.push(new st({geometry:R}))}return w}function G(t){if(q.typeOf.object("options",t),q.typeOf.object("options.polygonHierarchy",t.polygonHierarchy),P(t.perPositionHeight)&&t.perPositionHeight&&P(t.height))throw new ut("Cannot use both options.perPositionHeight and options.height");if(P(t.arcType)&&t.arcType!==at.GEODESIC&&t.arcType!==at.RHUMB)throw new ut("Invalid arcType. Valid options are ArcType.GEODESIC and ArcType.RHUMB.");let e=t.polygonHierarchy,o=L(t.vertexFormat,Q.DEFAULT),n=L(t.ellipsoid,V.default),s=L(t.granularity,l.RADIANS_PER_DEGREE),i=L(t.stRotation,0),r=t.textureCoordinates,f=L(t.perPositionHeight,!1),d=f&&P(t.extrudedHeight),p=L(t.height,0),w=L(t.extrudedHeight,p);if(!d){let a=Math.max(p,w);w=Math.min(p,w),p=a}this._vertexFormat=Q.clone(o),this._ellipsoid=V.clone(n),this._granularity=s,this._stRotation=i,this._height=p,this._extrudedHeight=w,this._closeTop=L(t.closeTop,!0),this._closeBottom=L(t.closeBottom,!0),this._polygonHierarchy=e,this._perPositionHeight=f,this._perPositionHeightExtrude=d,this._shadowVolume=L(t.shadowVolume,!1),this._workerName="createPolygonGeometry",this._offsetAttribute=t.offsetAttribute,this._arcType=L(t.arcType,at.GEODESIC),this._rectangle=void 0,this._textureCoordinateRotationPoints=void 0,this._textureCoordinates=r,this.packedLength=F.computeHierarchyPackedLength(e,c)+V.packedLength+Q.packedLength+(r?F.computeHierarchyPackedLength(r,O):1)+12}G.fromPositions=function(t){t=L(t,L.EMPTY_OBJECT),q.defined("options.positions",t.positions);let e={polygonHierarchy:{positions:t.positions},height:t.height,extrudedHeight:t.extrudedHeight,vertexFormat:t.vertexFormat,stRotation:t.stRotation,ellipsoid:t.ellipsoid,granularity:t.granularity,perPositionHeight:t.perPositionHeight,closeTop:t.closeTop,closeBottom:t.closeBottom,offsetAttribute:t.offsetAttribute,arcType:t.arcType,textureCoordinates:t.textureCoordinates};return new G(e)};G.pack=function(t,e,o){return q.typeOf.object("value",t),q.defined("array",e),o=L(o,0),o=F.packPolygonHierarchy(t._polygonHierarchy,e,o,c),V.pack(t._ellipsoid,e,o),o+=V.packedLength,Q.pack(t._vertexFormat,e,o),o+=Q.packedLength,e[o++]=t._height,e[o++]=t._extrudedHeight,e[o++]=t._granularity,e[o++]=t._stRotation,e[o++]=t._perPositionHeightExtrude?1:0,e[o++]=t._perPositionHeight?1:0,e[o++]=t._closeTop?1:0,e[o++]=t._closeBottom?1:0,e[o++]=t._shadowVolume?1:0,e[o++]=L(t._offsetAttribute,-1),e[o++]=t._arcType,P(t._textureCoordinates)?o=F.packPolygonHierarchy(t._textureCoordinates,e,o,O):e[o++]=-1,e[o++]=t.packedLength,e};var Qt=V.clone(V.UNIT_SPHERE),Zt=new Q,Kt={polygonHierarchy:{}};G.unpack=function(t,e,o){q.defined("array",t),e=L(e,0);let n=F.unpackPolygonHierarchy(t,e,c);e=n.startingIndex,delete n.startingIndex;let s=V.unpack(t,e,Qt);e+=V.packedLength;let i=Q.unpack(t,e,Zt);e+=Q.packedLength;let r=t[e++],f=t[e++],d=t[e++],p=t[e++],w=t[e++]===1,a=t[e++]===1,H=t[e++]===1,x=t[e++]===1,j=t[e++]===1,C=t[e++],R=t[e++],B=t[e]===-1?void 0:F.unpackPolygonHierarchy(t,e,O);P(B)?(e=B.startingIndex,delete B.startingIndex):e++;let u=t[e++];return P(o)||(o=new G(Kt)),o._polygonHierarchy=n,o._ellipsoid=V.clone(s,o._ellipsoid),o._vertexFormat=Q.clone(i,o._vertexFormat),o._height=r,o._extrudedHeight=f,o._granularity=d,o._stRotation=p,o._perPositionHeightExtrude=w,o._perPositionHeight=a,o._closeTop=H,o._closeBottom=x,o._shadowVolume=j,o._offsetAttribute=C===-1?void 0:C,o._arcType=R,o._textureCoordinates=B,o.packedLength=u,o};var Jt=new O,Xt=new O,$t=new D;function xt(t,e,o,n,s,i){let r=t.longitude,f=r>=0?r:r+l.TWO_PI;s.westOverIdl=Math.min(s.westOverIdl,f),s.eastOverIdl=Math.max(s.eastOverIdl,f),i.west=Math.min(i.west,r),i.east=Math.max(i.east,r);let d=t.getLatitude(o),p=d;if(i.south=Math.min(i.south,d),i.north=Math.max(i.north,d),n!==at.RHUMB){let H=O.subtract(e.position,t.position,Jt),x=O.dot(e.position,H)/O.dot(H,H);if(x>0&&x<1){let j=O.add(e.position,O.multiplyByScalar(H,-x,H),Xt),C=D.clone(e,$t);C.position=j;let R=C.getLatitude(o);i.south=Math.min(i.south,R),i.north=Math.max(i.north,R),Math.abs(d)>Math.abs(R)&&(p=R)}}let w=e.x*t.y-t.x*e.y,a=Math.sign(w);a!==0&&(a*=O.angleBetween(e.position,t.position)),p>=0&&(s.northAngle+=a),p<=0&&(s.southAngle+=a)}var Ct=new D,te=new D,W={northAngle:0,southAngle:0,westOverIdl:0,eastOverIdl:0};G.computeRectangleFromPositions=function(t,e,o,n){if(q.defined("positions",t),P(n)||(n=new _t),t.length<3)return n;n.west=Number.POSITIVE_INFINITY,n.east=Number.NEGATIVE_INFINITY,n.south=Number.POSITIVE_INFINITY,n.north=Number.NEGATIVE_INFINITY,W.northAngle=0,W.southAngle=0,W.westOverIdl=Number.POSITIVE_INFINITY,W.eastOverIdl=Number.NEGATIVE_INFINITY;let s=t.length,i=D.fromCartesian(t[0],te);for(let r=1;r<s;r++){let f=D.fromCartesian(t[r],Ct);xt(f,i,e,o,W,n),i=D.clone(f,i)}return xt(D.fromCartesian(t[0],Ct),i,e,o,W,n),n.east-n.west>W.eastOverIdl-W.westOverIdl&&(n.west=W.westOverIdl,n.east=W.eastOverIdl,n.east>l.PI&&(n.east=n.east-l.TWO_PI),n.west>l.PI&&(n.west=n.west-l.TWO_PI)),l.equalsEpsilon(Math.abs(W.northAngle),l.TWO_PI,l.EPSILON10)&&(n.north=l.PI_OVER_TWO,n.east=l.PI,n.west=-l.PI),l.equalsEpsilon(Math.abs(W.southAngle),l.TWO_PI,l.EPSILON10)&&(n.south=-l.PI_OVER_TWO,n.east=l.PI,n.west=-l.PI),n};var ee=new D;function oe(t,e,o){return t.height>=l.PI||t.width>=l.PI?D.fromCartesian(e[0],ee).tangentPlane:K.fromPoints(e,o)}var Nt=new ot;function ne(t,e,o){return(n,s)=>{if(t.height>=l.PI||t.width>=l.PI){if(t.south<0&&t.north>0){P(s)||(s=[]);for(let r=0;r<n.length;++r){let f=o.cartesianToCartographic(n[r],Nt);s[r]=new O(f.longitude/l.PI,f.latitude/l.PI_OVER_TWO)}return s.length=n.length,s}return D.fromCartesianArray(n,s)}return K.fromPoints(e,o).projectPointsOntoPlane(n,s)}}function ie(t,e,o){if(t.height>=l.PI||t.width>=l.PI)return(s,i)=>{if(t.south<0&&t.north>0){let r=o.cartesianToCartographic(s,Nt);return P(i)||(i=new O),i.x=r.longitude/l.PI,i.y=r.latitude/l.PI_OVER_TWO,i}return D.fromCartesian(s,i)};let n=K.fromPoints(e,o);return(s,i)=>n.projectPointsOntoPlane(s,i)}function re(t,e,o,n){return(s,i)=>!n&&(t.height>=l.PI_OVER_TWO||t.width>=2*l.PI_OVER_THREE)?F.splitPolygonsOnEquator(s,e,o,i):s}function se(t,e,o,n){if(e.height>=l.PI||e.width>=l.PI)return dt.fromRectangle(e,void 0,Et);let s=t,i=K.fromPoints(s,o);return F.computeBoundingRectangle(i.plane.normal,i.projectPointOntoPlane.bind(i),s,n,Et)}G.createGeometry=function(t){let e=t._vertexFormat,o=t._ellipsoid,n=t._granularity,s=t._stRotation,i=t._polygonHierarchy,r=t._perPositionHeight,f=t._closeTop,d=t._closeBottom,p=t._arcType,w=t._textureCoordinates,a=P(w),H=i.positions;if(H.length<3)return;let x=t.rectangle,j=F.polygonsFromHierarchy(i,a,ne(x,H,o),!r,o,re(x,o,p,r)),C=j.hierarchy,R=j.polygons,B=function(m){return m},u=a?F.polygonsFromHierarchy(w,!0,B,!1,o).polygons:void 0;if(C.length===0)return;let E=C[0].outerRing,A=se(E,x,o,s),v=[],T=t._height,y=t._extrudedHeight,_=t._perPositionHeightExtrude||!l.equalsEpsilon(T,y,0,l.EPSILON2),h={perPositionHeight:r,vertexFormat:e,geometry:void 0,rotationAxis:oe(x,E,o).plane.normal,projectTo2d:ie(x,E,o),boundingRectangle:A,ellipsoid:o,stRotation:s,textureCoordinates:void 0,bottom:!1,top:!0,wall:!1,extrude:!1,arcType:p},g;if(_)for(h.extrude=!0,h.top=f,h.bottom=d,h.shadowVolume=t._shadowVolume,h.offsetAttribute=t._offsetAttribute,g=0;g<R.length;g++){let m=qt(o,R[g],a?u[g]:void 0,n,C[g],r,f,d,e,p),I;f&&d?(I=m.topAndBottom,h.geometry=F.scaleToGeodeticHeightExtruded(I.geometry,T,y,o,r)):f?(I=m.topAndBottom,I.geometry.attributes.position.values=nt.scaleToGeodeticHeight(I.geometry.attributes.position.values,T,o,!r),h.geometry=I.geometry):d&&(I=m.topAndBottom,I.geometry.attributes.position.values=nt.scaleToGeodeticHeight(I.geometry.attributes.position.values,y,o,!0),h.geometry=I.geometry),(f||d)&&(h.wall=!1,I.geometry=pt(h),v.push(I));let M=m.walls;h.wall=!0;for(let z=0;z<M.length;z++){let N=M[z];h.geometry=F.scaleToGeodeticHeightExtruded(N.geometry,T,y,o,r),N.geometry=pt(h),v.push(N)}}else for(g=0;g<R.length;g++){let m=new st({geometry:F.createGeometryFromPositions(o,R[g],a?u[g]:void 0,n,r,e,p)});if(m.geometry.attributes.position.values=nt.scaleToGeodeticHeight(m.geometry.attributes.position.values,T,o,!r),h.geometry=m.geometry,m.geometry=pt(h),P(t._offsetAttribute)){let I=m.geometry.attributes.position.values.length,M=t._offsetAttribute===ht.NONE?0:1,z=new Uint8Array(I/3).fill(M);m.geometry.attributes.applyOffset=new tt({componentDatatype:$.UNSIGNED_BYTE,componentsPerAttribute:1,values:z})}v.push(m)}let k=bt.combineInstances(v)[0];k.attributes.position.values=new Float64Array(k.attributes.position.values),k.indices=lt.createTypedArray(k.attributes.position.values.length/3,k.indices);let Y=k.attributes,J=Tt.fromVertices(Y.position.values);return e.position||delete Y.position,new mt({attributes:Y,indices:k.indices,primitiveType:k.primitiveType,boundingSphere:J,offsetAttribute:t._offsetAttribute})};G.createShadowVolume=function(t,e,o){let n=t._granularity,s=t._ellipsoid,i=e(n,s),r=o(n,s);return new G({polygonHierarchy:t._polygonHierarchy,ellipsoid:s,stRotation:t._stRotation,granularity:n,perPositionHeight:!1,extrudedHeight:i,height:r,vertexFormat:Q.POSITION_ONLY,shadowVolume:!0,arcType:t._arcType})};function ae(t){let e=-t._stRotation;if(e===0)return[0,0,0,1,1,0];let o=t._ellipsoid,n=t._polygonHierarchy.positions,s=t.rectangle;return mt._textureCoordinateRotationPoints(n,e,o,s)}Object.defineProperties(G.prototype,{rectangle:{get:function(){if(!P(this._rectangle)){let t=this._polygonHierarchy.positions;this._rectangle=G.computeRectangleFromPositions(t,this._ellipsoid,this._arcType)}return this._rectangle}},textureCoordinateRotationPoints:{get:function(){return P(this._textureCoordinateRotationPoints)||(this._textureCoordinateRotationPoints=ae(this)),this._textureCoordinateRotationPoints}}});var Pt=G;function ce(t,e){return P(e)&&(t=Pt.unpack(t,e)),t._ellipsoid=V.clone(t._ellipsoid),Pt.createGeometry(t)}var Xe=ce;export{Xe as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a}from"./chunk-FSU6RZ6S.js";import{a as b}from"./chunk-VSCNOKDU.js";import{a as F}from"./chunk-YGC52UMX.js";import{a as V}from"./chunk-XLESIVYV.js";import"./chunk-MNEOPOLK.js";import"./chunk-I4G5DYCC.js";import{a as D}from"./chunk-WDSHVSF7.js";import{a as W}from"./chunk-EP544XEE.js";import"./chunk-MDIGQ5JT.js";import{a as j,b as k}from"./chunk-WV3AQKZG.js";import"./chunk-K4QHJFYW.js";import"./chunk-CZ6DDD6J.js";import"./chunk-26PPBGHW.js";import"./chunk-FMJWH3RL.js";import{a as M}from"./chunk-E25VRLIZ.js";import{a as G}from"./chunk-FZEJ65E6.js";import{b as B,c as C,d as v}from"./chunk-SPFUTSGC.js";import{d as z}from"./chunk-E2NX4UJ2.js";import"./chunk-JBPQP6LH.js";import{a as w}from"./chunk-NLPIV6OK.js";import{a as S,d as y}from"./chunk-IIT3SHXK.js";import{a as T}from"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import{a as P}from"./chunk-I2ICH2LD.js";import{a as U,b as A}from"./chunk-R6A52HT4.js";import{e as O}from"./chunk-D32DZSEC.js";var Y=[],R=[];function K(e,t,r,H,l){let p=W.fromPoints(t,e).projectPointsOntoPlane(t,Y);k.computeWindingOrder2D(p)===j.CLOCKWISE&&(p.reverse(),t=t.slice().reverse());let n,i,o=t.length,c=0;if(H)for(n=new Float64Array(o*2*3),i=0;i<o;i++){let u=t[i],h=t[(i+1)%o];n[c++]=u.x,n[c++]=u.y,n[c++]=u.z,n[c++]=h.x,n[c++]=h.y,n[c++]=h.z}else{let u=0;if(l===b.GEODESIC)for(i=0;i<o;i++)u+=a.subdivideLineCount(t[i],t[(i+1)%o],r);else if(l===b.RHUMB)for(i=0;i<o;i++)u+=a.subdivideRhumbLineCount(e,t[i],t[(i+1)%o],r);for(n=new Float64Array(u*3),i=0;i<o;i++){let h;l===b.GEODESIC?h=a.subdivideLine(t[i],t[(i+1)%o],r,R):l===b.RHUMB&&(h=a.subdivideRhumbLine(e,t[i],t[(i+1)%o],r,R));let g=h.length;for(let d=0;d<g;++d)n[c++]=h[d]}}o=n.length/3;let f=o*2,m=M.createTypedArray(o,f);for(c=0,i=0;i<o-1;i++)m[c++]=i,m[c++]=i+1;return m[c++]=o-1,m[c++]=0,new F({geometry:new C({attributes:new G({position:new v({componentDatatype:w.DOUBLE,componentsPerAttribute:3,values:n})}),indices:m,primitiveType:B.LINES})})}function q(e,t,r,H,l){let p=W.fromPoints(t,e).projectPointsOntoPlane(t,Y);k.computeWindingOrder2D(p)===j.CLOCKWISE&&(p.reverse(),t=t.slice().reverse());let n,i,o=t.length,c=new Array(o),f=0;if(H)for(n=new Float64Array(o*2*3*2),i=0;i<o;++i){c[i]=f/3;let g=t[i],d=t[(i+1)%o];n[f++]=g.x,n[f++]=g.y,n[f++]=g.z,n[f++]=d.x,n[f++]=d.y,n[f++]=d.z}else{let g=0;if(l===b.GEODESIC)for(i=0;i<o;i++)g+=a.subdivideLineCount(t[i],t[(i+1)%o],r);else if(l===b.RHUMB)for(i=0;i<o;i++)g+=a.subdivideRhumbLineCount(e,t[i],t[(i+1)%o],r);for(n=new Float64Array(g*3*2),i=0;i<o;++i){c[i]=f/3;let d;l===b.GEODESIC?d=a.subdivideLine(t[i],t[(i+1)%o],r,R):l===b.RHUMB&&(d=a.subdivideRhumbLine(e,t[i],t[(i+1)%o],r,R));let E=d.length;for(let N=0;N<E;++N)n[f++]=d[N]}}o=n.length/(3*2);let m=c.length,u=(o*2+m)*2,h=M.createTypedArray(o+m,u);for(f=0,i=0;i<o;++i)h[f++]=i,h[f++]=(i+1)%o,h[f++]=i+o,h[f++]=(i+1)%o+o;for(i=0;i<m;i++){let g=c[i];h[f++]=g,h[f++]=g+o}return new F({geometry:new C({attributes:new G({position:new v({componentDatatype:w.DOUBLE,componentsPerAttribute:3,values:n})}),indices:h,primitiveType:B.LINES})})}function L(e){if(A.typeOf.object("options",e),A.typeOf.object("options.polygonHierarchy",e.polygonHierarchy),e.perPositionHeight&&O(e.height))throw new U("Cannot use both options.perPositionHeight and options.height");if(O(e.arcType)&&e.arcType!==b.GEODESIC&&e.arcType!==b.RHUMB)throw new U("Invalid arcType. Valid options are ArcType.GEODESIC and ArcType.RHUMB.");let t=e.polygonHierarchy,r=P(e.ellipsoid,y.default),H=P(e.granularity,T.RADIANS_PER_DEGREE),l=P(e.perPositionHeight,!1),_=l&&O(e.extrudedHeight),p=P(e.arcType,b.GEODESIC),s=P(e.height,0),n=P(e.extrudedHeight,s);if(!_){let i=Math.max(s,n);n=Math.min(s,n),s=i}this._ellipsoid=y.clone(r),this._granularity=H,this._height=s,this._extrudedHeight=n,this._arcType=p,this._polygonHierarchy=t,this._perPositionHeight=l,this._perPositionHeightExtrude=_,this._offsetAttribute=e.offsetAttribute,this._workerName="createPolygonOutlineGeometry",this.packedLength=a.computeHierarchyPackedLength(t,S)+y.packedLength+8}L.pack=function(e,t,r){return A.typeOf.object("value",e),A.defined("array",t),r=P(r,0),r=a.packPolygonHierarchy(e._polygonHierarchy,t,r,S),y.pack(e._ellipsoid,t,r),r+=y.packedLength,t[r++]=e._height,t[r++]=e._extrudedHeight,t[r++]=e._granularity,t[r++]=e._perPositionHeightExtrude?1:0,t[r++]=e._perPositionHeight?1:0,t[r++]=e._arcType,t[r++]=P(e._offsetAttribute,-1),t[r]=e.packedLength,t};var J=y.clone(y.UNIT_SPHERE),Q={polygonHierarchy:{}};L.unpack=function(e,t,r){A.defined("array",e),t=P(t,0);let H=a.unpackPolygonHierarchy(e,t,S);t=H.startingIndex,delete H.startingIndex;let l=y.unpack(e,t,J);t+=y.packedLength;let _=e[t++],p=e[t++],s=e[t++],n=e[t++]===1,i=e[t++]===1,o=e[t++],c=e[t++],f=e[t];return O(r)||(r=new L(Q)),r._polygonHierarchy=H,r._ellipsoid=y.clone(l,r._ellipsoid),r._height=_,r._extrudedHeight=p,r._granularity=s,r._perPositionHeight=i,r._perPositionHeightExtrude=n,r._arcType=o,r._offsetAttribute=c===-1?void 0:c,r.packedLength=f,r};L.fromPositions=function(e){e=P(e,P.EMPTY_OBJECT),A.defined("options.positions",e.positions);let t={polygonHierarchy:{positions:e.positions},height:e.height,extrudedHeight:e.extrudedHeight,ellipsoid:e.ellipsoid,granularity:e.granularity,perPositionHeight:e.perPositionHeight,arcType:e.arcType,offsetAttribute:e.offsetAttribute};return new L(t)};L.createGeometry=function(e){let t=e._ellipsoid,r=e._granularity,H=e._polygonHierarchy,l=e._perPositionHeight,_=e._arcType,p=a.polygonOutlinesFromHierarchy(H,!l,t);if(p.length===0)return;let s,n=[],i=T.chordLength(r,t.maximumRadius),o=e._height,c=e._extrudedHeight,f=e._perPositionHeightExtrude||!T.equalsEpsilon(o,c,0,T.EPSILON2),m,u;if(f)for(u=0;u<p.length;u++){if(s=q(t,p[u],i,l,_),s.geometry=a.scaleToGeodeticHeightExtruded(s.geometry,o,c,t,l),O(e._offsetAttribute)){let d=s.geometry.attributes.position.values.length/3,E=new Uint8Array(d);e._offsetAttribute===D.TOP?E=E.fill(1,0,d/2):(m=e._offsetAttribute===D.NONE?0:1,E=E.fill(m)),s.geometry.attributes.applyOffset=new v({componentDatatype:w.UNSIGNED_BYTE,componentsPerAttribute:1,values:E})}n.push(s)}else for(u=0;u<p.length;u++){if(s=K(t,p[u],i,l,_),s.geometry.attributes.position.values=k.scaleToGeodeticHeight(s.geometry.attributes.position.values,o,t,!l),O(e._offsetAttribute)){let d=s.geometry.attributes.position.values.length;m=e._offsetAttribute===D.NONE?0:1;let E=new Uint8Array(d/3).fill(m);s.geometry.attributes.applyOffset=new v({componentDatatype:w.UNSIGNED_BYTE,componentsPerAttribute:1,values:E})}n.push(s)}let h=V.combineInstances(n)[0],g=z.fromVertices(h.attributes.position.values);return new C({attributes:h.attributes,indices:h.indices,primitiveType:h.primitiveType,boundingSphere:g,offsetAttribute:e._offsetAttribute})};var x=L;function X(e,t){return O(t)&&(e=x.unpack(e,t)),e._ellipsoid=y.clone(e._ellipsoid),x.createGeometry(e)}var Oe=X;export{Oe as default};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.126
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
+ */
25
+
26
+ import{a as m}from"./chunk-GKS4EDRQ.js";import{a as N}from"./chunk-VSCNOKDU.js";import{a as U}from"./chunk-AUO2K2B5.js";import"./chunk-55B3WQ6I.js";import{a as k}from"./chunk-HZQ2LRMY.js";import{a as le}from"./chunk-K4QHJFYW.js";import"./chunk-CZ6DDD6J.js";import"./chunk-26PPBGHW.js";import"./chunk-FMJWH3RL.js";import{a as se}from"./chunk-E25VRLIZ.js";import{a as ce}from"./chunk-FZEJ65E6.js";import{a as ne,b as re,c as ie,d as O}from"./chunk-SPFUTSGC.js";import{d as oe}from"./chunk-E2NX4UJ2.js";import"./chunk-JBPQP6LH.js";import{a as x}from"./chunk-NLPIV6OK.js";import{a as p,d as u}from"./chunk-IIT3SHXK.js";import{a as J}from"./chunk-DLCTHPIV.js";import"./chunk-GMF7KJHC.js";import"./chunk-NYFH7JC3.js";import{a as A}from"./chunk-I2ICH2LD.js";import{a as V}from"./chunk-R6A52HT4.js";import{e as h}from"./chunk-D32DZSEC.js";var me=[];function Ae(e,o,t,n,c){let s=me;s.length=c;let l,E=t.red,a=t.green,r=t.blue,w=t.alpha,b=n.red,i=n.green,f=n.blue,L=n.alpha;if(m.equals(t,n)){for(l=0;l<c;l++)s[l]=m.clone(t);return s}let M=(b-E)/c,z=(i-a)/c,H=(f-r)/c,B=(L-w)/c;for(l=0;l<c;l++)s[l]=new m(E+l*M,a+l*z,r+l*H,w+l*B);return s}function G(e){e=A(e,A.EMPTY_OBJECT);let o=e.positions,t=e.colors,n=A(e.width,1),c=A(e.colorsPerVertex,!1);if(!h(o)||o.length<2)throw new V("At least two positions are required.");if(typeof n!="number")throw new V("width must be a number");if(h(t)&&(c&&t.length<o.length||!c&&t.length<o.length-1))throw new V("colors has an invalid length.");this._positions=o,this._colors=t,this._width=n,this._colorsPerVertex=c,this._vertexFormat=k.clone(A(e.vertexFormat,k.DEFAULT)),this._arcType=A(e.arcType,N.GEODESIC),this._granularity=A(e.granularity,J.RADIANS_PER_DEGREE),this._ellipsoid=u.clone(A(e.ellipsoid,u.default)),this._workerName="createPolylineGeometry";let s=1+o.length*p.packedLength;s+=h(t)?1+t.length*m.packedLength:1,this.packedLength=s+u.packedLength+k.packedLength+4}G.pack=function(e,o,t){if(!h(e))throw new V("value is required");if(!h(o))throw new V("array is required");t=A(t,0);let n,c=e._positions,s=c.length;for(o[t++]=s,n=0;n<s;++n,t+=p.packedLength)p.pack(c[n],o,t);let l=e._colors;for(s=h(l)?l.length:0,o[t++]=s,n=0;n<s;++n,t+=m.packedLength)m.pack(l[n],o,t);return u.pack(e._ellipsoid,o,t),t+=u.packedLength,k.pack(e._vertexFormat,o,t),t+=k.packedLength,o[t++]=e._width,o[t++]=e._colorsPerVertex?1:0,o[t++]=e._arcType,o[t]=e._granularity,o};var de=u.clone(u.UNIT_SPHERE),ue=new k,S={positions:void 0,colors:void 0,ellipsoid:de,vertexFormat:ue,width:void 0,colorsPerVertex:void 0,arcType:void 0,granularity:void 0};G.unpack=function(e,o,t){if(!h(e))throw new V("array is required");o=A(o,0);let n,c=e[o++],s=new Array(c);for(n=0;n<c;++n,o+=p.packedLength)s[n]=p.unpack(e,o);c=e[o++];let l=c>0?new Array(c):void 0;for(n=0;n<c;++n,o+=m.packedLength)l[n]=m.unpack(e,o);let E=u.unpack(e,o,de);o+=u.packedLength;let a=k.unpack(e,o,ue);o+=k.packedLength;let r=e[o++],w=e[o++]===1,b=e[o++],i=e[o];return h(t)?(t._positions=s,t._colors=l,t._ellipsoid=u.clone(E,t._ellipsoid),t._vertexFormat=k.clone(a,t._vertexFormat),t._width=r,t._colorsPerVertex=w,t._arcType=b,t._granularity=i,t):(S.positions=s,S.colors=l,S.width=r,S.colorsPerVertex=w,S.arcType=b,S.granularity=i,new G(S))};var pe=new p,ae=new p,fe=new p,he=new p;G.createGeometry=function(e){let o=e._width,t=e._vertexFormat,n=e._colors,c=e._colorsPerVertex,s=e._arcType,l=e._granularity,E=e._ellipsoid,a,r,w,b=[],i=le(e._positions,p.equalsEpsilon,!1,b);if(h(n)&&b.length>0){let d=0,P=b[0];n=n.filter(function(q,T){let g=!1;return c?g=T===P||T===0&&P===1:g=T+1===P,g?(d++,P=b[d],!1):!0})}let f=i.length;if(f<2||o<=0)return;if(s===N.GEODESIC||s===N.RHUMB){let d,P;s===N.GEODESIC?(d=J.chordLength(l,E.maximumRadius),P=U.numberOfPoints):(d=l,P=U.numberOfPointsRhumbLine);let q=U.extractHeights(i,E);if(h(n)){let T=1;for(a=0;a<f-1;++a)T+=P(i[a],i[a+1],d);let g=new Array(T),D=0;for(a=0;a<f-1;++a){let Z=i[a],$=i[a+1],I=n[a],ee=P(Z,$,d);if(c&&a<T){let _e=n[a+1],te=Ae(Z,$,I,_e,ee),Pe=te.length;for(r=0;r<Pe;++r)g[D++]=te[r]}else for(r=0;r<ee;++r)g[D++]=m.clone(I)}g[D]=m.clone(n[n.length-1]),n=g,me.length=0}s===N.GEODESIC?i=U.generateCartesianArc({positions:i,minDistance:d,ellipsoid:E,height:q}):i=U.generateCartesianRhumbArc({positions:i,granularity:d,ellipsoid:E,height:q})}f=i.length;let L=f*4-4,M=new Float64Array(L*3),z=new Float64Array(L*3),H=new Float64Array(L*3),B=new Float32Array(L*2),K=t.st?new Float32Array(L*2):void 0,y=h(n)?new Uint8Array(L*4):void 0,W=0,j=0,X=0,Y=0,_;for(r=0;r<f;++r){r===0?(_=pe,p.subtract(i[0],i[1],_),p.add(i[0],_,_)):_=i[r-1],p.clone(_,fe),p.clone(i[r],ae),r===f-1?(_=pe,p.subtract(i[f-1],i[f-2],_),p.add(i[f-1],_,_)):_=i[r+1],p.clone(_,he);let d,P;h(y)&&(r!==0&&!c?d=n[r-1]:d=n[r],r!==f-1&&(P=n[r]));let q=r===0?2:0,T=r===f-1?2:4;for(w=q;w<T;++w){p.pack(ae,M,W),p.pack(fe,z,W),p.pack(he,H,W),W+=3;let g=w-2<0?-1:1;if(B[j++]=2*(w%2)-1,B[j++]=g*o,t.st&&(K[X++]=r/(f-1),K[X++]=Math.max(B[j-2],0)),h(y)){let D=w<2?d:P;y[Y++]=m.floatToByte(D.red),y[Y++]=m.floatToByte(D.green),y[Y++]=m.floatToByte(D.blue),y[Y++]=m.floatToByte(D.alpha)}}}let v=new ce;v.position=new O({componentDatatype:x.DOUBLE,componentsPerAttribute:3,values:M}),v.prevPosition=new O({componentDatatype:x.DOUBLE,componentsPerAttribute:3,values:z}),v.nextPosition=new O({componentDatatype:x.DOUBLE,componentsPerAttribute:3,values:H}),v.expandAndWidth=new O({componentDatatype:x.FLOAT,componentsPerAttribute:2,values:B}),t.st&&(v.st=new O({componentDatatype:x.FLOAT,componentsPerAttribute:2,values:K})),h(y)&&(v.color=new O({componentDatatype:x.UNSIGNED_BYTE,componentsPerAttribute:4,values:y,normalize:!0}));let C=se.createTypedArray(L,f*6-6),F=0,R=0,we=f-1;for(r=0;r<we;++r)C[R++]=F,C[R++]=F+2,C[R++]=F+1,C[R++]=F+1,C[R++]=F+2,C[R++]=F+3,F+=4;return new ie({attributes:v,indices:C,primitiveType:re.TRIANGLES,boundingSphere:oe.fromPoints(i),geometryType:ne.POLYLINES})};var Q=G;function ge(e,o){return h(o)&&(e=Q.unpack(e,o)),e._ellipsoid=u.clone(e._ellipsoid),Q.createGeometry(e)}var We=ge;export{We as default};