create-swdg-frontend 0.1.0

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 (427) hide show
  1. package/README.md +39 -0
  2. package/bin/index.js +248 -0
  3. package/package.json +29 -0
  4. package/template/.husky/commit-msg +42 -0
  5. package/template/.husky/pre-commit +2 -0
  6. package/template/.husky/prepare-commit-msg +1 -0
  7. package/template/.lintstagedrc +5 -0
  8. package/template/.prettierignore +26 -0
  9. package/template/.prettierrc.cjs +10 -0
  10. package/template/.stylelintignore +1 -0
  11. package/template/.stylelintrc.json +6 -0
  12. package/template/README.md +36 -0
  13. package/template/commitlint.config.cjs +64 -0
  14. package/template/eslint.config.js +96 -0
  15. package/template/index.html +17 -0
  16. package/template/interface/user.ts +5 -0
  17. package/template/package.json +84 -0
  18. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1012 -0
  19. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1012 -0
  20. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1012 -0
  21. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1012 -0
  22. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1012 -0
  23. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1012 -0
  24. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1012 -0
  25. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1012 -0
  26. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1012 -0
  27. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1012 -0
  28. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1012 -0
  29. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1012 -0
  30. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1012 -0
  31. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1012 -0
  32. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1012 -0
  33. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1012 -0
  34. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1012 -0
  35. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1012 -0
  36. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1012 -0
  37. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1012 -0
  38. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_27.json +438 -0
  39. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1012 -0
  40. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1012 -0
  41. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1012 -0
  42. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1012 -0
  43. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1012 -0
  44. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1012 -0
  45. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1012 -0
  46. package/template/public/Cesium1.119/Assets/Images/bing_maps_credit.png +0 -0
  47. package/template/public/Cesium1.119/Assets/Images/cesium_credit.png +0 -0
  48. package/template/public/Cesium1.119/Assets/Images/google_earth_credit.png +0 -0
  49. package/template/public/Cesium1.119/Assets/Images/ion-credit.png +0 -0
  50. package/template/public/Cesium1.119/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  51. package/template/public/Cesium1.119/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  52. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  53. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  54. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  55. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  56. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  57. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  58. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  59. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  60. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  61. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  62. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  63. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  64. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  65. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  66. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  67. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  68. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  69. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  70. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  71. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  72. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  73. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  74. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  75. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  76. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  77. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  78. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  79. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  80. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  81. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  82. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  83. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  84. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  85. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  86. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  87. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  88. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  89. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  90. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  91. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  92. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  93. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  94. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
  95. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  96. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  97. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  98. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  99. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  100. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  101. package/template/public/Cesium1.119/Assets/Textures/maki/airfield.png +0 -0
  102. package/template/public/Cesium1.119/Assets/Textures/maki/airport.png +0 -0
  103. package/template/public/Cesium1.119/Assets/Textures/maki/alcohol-shop.png +0 -0
  104. package/template/public/Cesium1.119/Assets/Textures/maki/america-football.png +0 -0
  105. package/template/public/Cesium1.119/Assets/Textures/maki/art-gallery.png +0 -0
  106. package/template/public/Cesium1.119/Assets/Textures/maki/bakery.png +0 -0
  107. package/template/public/Cesium1.119/Assets/Textures/maki/bank.png +0 -0
  108. package/template/public/Cesium1.119/Assets/Textures/maki/bar.png +0 -0
  109. package/template/public/Cesium1.119/Assets/Textures/maki/baseball.png +0 -0
  110. package/template/public/Cesium1.119/Assets/Textures/maki/basketball.png +0 -0
  111. package/template/public/Cesium1.119/Assets/Textures/maki/beer.png +0 -0
  112. package/template/public/Cesium1.119/Assets/Textures/maki/bicycle.png +0 -0
  113. package/template/public/Cesium1.119/Assets/Textures/maki/building.png +0 -0
  114. package/template/public/Cesium1.119/Assets/Textures/maki/bus.png +0 -0
  115. package/template/public/Cesium1.119/Assets/Textures/maki/cafe.png +0 -0
  116. package/template/public/Cesium1.119/Assets/Textures/maki/camera.png +0 -0
  117. package/template/public/Cesium1.119/Assets/Textures/maki/campsite.png +0 -0
  118. package/template/public/Cesium1.119/Assets/Textures/maki/car.png +0 -0
  119. package/template/public/Cesium1.119/Assets/Textures/maki/cemetery.png +0 -0
  120. package/template/public/Cesium1.119/Assets/Textures/maki/cesium.png +0 -0
  121. package/template/public/Cesium1.119/Assets/Textures/maki/chemist.png +0 -0
  122. package/template/public/Cesium1.119/Assets/Textures/maki/cinema.png +0 -0
  123. package/template/public/Cesium1.119/Assets/Textures/maki/circle-stroked.png +0 -0
  124. package/template/public/Cesium1.119/Assets/Textures/maki/circle.png +0 -0
  125. package/template/public/Cesium1.119/Assets/Textures/maki/city.png +0 -0
  126. package/template/public/Cesium1.119/Assets/Textures/maki/clothing-store.png +0 -0
  127. package/template/public/Cesium1.119/Assets/Textures/maki/college.png +0 -0
  128. package/template/public/Cesium1.119/Assets/Textures/maki/commercial.png +0 -0
  129. package/template/public/Cesium1.119/Assets/Textures/maki/cricket.png +0 -0
  130. package/template/public/Cesium1.119/Assets/Textures/maki/cross.png +0 -0
  131. package/template/public/Cesium1.119/Assets/Textures/maki/dam.png +0 -0
  132. package/template/public/Cesium1.119/Assets/Textures/maki/danger.png +0 -0
  133. package/template/public/Cesium1.119/Assets/Textures/maki/disability.png +0 -0
  134. package/template/public/Cesium1.119/Assets/Textures/maki/dog-park.png +0 -0
  135. package/template/public/Cesium1.119/Assets/Textures/maki/embassy.png +0 -0
  136. package/template/public/Cesium1.119/Assets/Textures/maki/emergency-telephone.png +0 -0
  137. package/template/public/Cesium1.119/Assets/Textures/maki/entrance.png +0 -0
  138. package/template/public/Cesium1.119/Assets/Textures/maki/farm.png +0 -0
  139. package/template/public/Cesium1.119/Assets/Textures/maki/fast-food.png +0 -0
  140. package/template/public/Cesium1.119/Assets/Textures/maki/ferry.png +0 -0
  141. package/template/public/Cesium1.119/Assets/Textures/maki/fire-station.png +0 -0
  142. package/template/public/Cesium1.119/Assets/Textures/maki/fuel.png +0 -0
  143. package/template/public/Cesium1.119/Assets/Textures/maki/garden.png +0 -0
  144. package/template/public/Cesium1.119/Assets/Textures/maki/gift.png +0 -0
  145. package/template/public/Cesium1.119/Assets/Textures/maki/golf.png +0 -0
  146. package/template/public/Cesium1.119/Assets/Textures/maki/grocery.png +0 -0
  147. package/template/public/Cesium1.119/Assets/Textures/maki/hairdresser.png +0 -0
  148. package/template/public/Cesium1.119/Assets/Textures/maki/harbor.png +0 -0
  149. package/template/public/Cesium1.119/Assets/Textures/maki/heart.png +0 -0
  150. package/template/public/Cesium1.119/Assets/Textures/maki/heliport.png +0 -0
  151. package/template/public/Cesium1.119/Assets/Textures/maki/hospital.png +0 -0
  152. package/template/public/Cesium1.119/Assets/Textures/maki/ice-cream.png +0 -0
  153. package/template/public/Cesium1.119/Assets/Textures/maki/industrial.png +0 -0
  154. package/template/public/Cesium1.119/Assets/Textures/maki/land-use.png +0 -0
  155. package/template/public/Cesium1.119/Assets/Textures/maki/laundry.png +0 -0
  156. package/template/public/Cesium1.119/Assets/Textures/maki/library.png +0 -0
  157. package/template/public/Cesium1.119/Assets/Textures/maki/lighthouse.png +0 -0
  158. package/template/public/Cesium1.119/Assets/Textures/maki/lodging.png +0 -0
  159. package/template/public/Cesium1.119/Assets/Textures/maki/logging.png +0 -0
  160. package/template/public/Cesium1.119/Assets/Textures/maki/london-underground.png +0 -0
  161. package/template/public/Cesium1.119/Assets/Textures/maki/marker-stroked.png +0 -0
  162. package/template/public/Cesium1.119/Assets/Textures/maki/marker.png +0 -0
  163. package/template/public/Cesium1.119/Assets/Textures/maki/minefield.png +0 -0
  164. package/template/public/Cesium1.119/Assets/Textures/maki/mobilephone.png +0 -0
  165. package/template/public/Cesium1.119/Assets/Textures/maki/monument.png +0 -0
  166. package/template/public/Cesium1.119/Assets/Textures/maki/museum.png +0 -0
  167. package/template/public/Cesium1.119/Assets/Textures/maki/music.png +0 -0
  168. package/template/public/Cesium1.119/Assets/Textures/maki/oil-well.png +0 -0
  169. package/template/public/Cesium1.119/Assets/Textures/maki/park.png +0 -0
  170. package/template/public/Cesium1.119/Assets/Textures/maki/park2.png +0 -0
  171. package/template/public/Cesium1.119/Assets/Textures/maki/parking-garage.png +0 -0
  172. package/template/public/Cesium1.119/Assets/Textures/maki/parking.png +0 -0
  173. package/template/public/Cesium1.119/Assets/Textures/maki/pharmacy.png +0 -0
  174. package/template/public/Cesium1.119/Assets/Textures/maki/pitch.png +0 -0
  175. package/template/public/Cesium1.119/Assets/Textures/maki/place-of-worship.png +0 -0
  176. package/template/public/Cesium1.119/Assets/Textures/maki/playground.png +0 -0
  177. package/template/public/Cesium1.119/Assets/Textures/maki/police.png +0 -0
  178. package/template/public/Cesium1.119/Assets/Textures/maki/polling-place.png +0 -0
  179. package/template/public/Cesium1.119/Assets/Textures/maki/post.png +0 -0
  180. package/template/public/Cesium1.119/Assets/Textures/maki/prison.png +0 -0
  181. package/template/public/Cesium1.119/Assets/Textures/maki/rail-above.png +0 -0
  182. package/template/public/Cesium1.119/Assets/Textures/maki/rail-light.png +0 -0
  183. package/template/public/Cesium1.119/Assets/Textures/maki/rail-metro.png +0 -0
  184. package/template/public/Cesium1.119/Assets/Textures/maki/rail-underground.png +0 -0
  185. package/template/public/Cesium1.119/Assets/Textures/maki/rail.png +0 -0
  186. package/template/public/Cesium1.119/Assets/Textures/maki/religious-christian.png +0 -0
  187. package/template/public/Cesium1.119/Assets/Textures/maki/religious-jewish.png +0 -0
  188. package/template/public/Cesium1.119/Assets/Textures/maki/religious-muslim.png +0 -0
  189. package/template/public/Cesium1.119/Assets/Textures/maki/restaurant.png +0 -0
  190. package/template/public/Cesium1.119/Assets/Textures/maki/roadblock.png +0 -0
  191. package/template/public/Cesium1.119/Assets/Textures/maki/rocket.png +0 -0
  192. package/template/public/Cesium1.119/Assets/Textures/maki/school.png +0 -0
  193. package/template/public/Cesium1.119/Assets/Textures/maki/scooter.png +0 -0
  194. package/template/public/Cesium1.119/Assets/Textures/maki/shop.png +0 -0
  195. package/template/public/Cesium1.119/Assets/Textures/maki/skiing.png +0 -0
  196. package/template/public/Cesium1.119/Assets/Textures/maki/slaughterhouse.png +0 -0
  197. package/template/public/Cesium1.119/Assets/Textures/maki/soccer.png +0 -0
  198. package/template/public/Cesium1.119/Assets/Textures/maki/square-stroked.png +0 -0
  199. package/template/public/Cesium1.119/Assets/Textures/maki/square.png +0 -0
  200. package/template/public/Cesium1.119/Assets/Textures/maki/star-stroked.png +0 -0
  201. package/template/public/Cesium1.119/Assets/Textures/maki/star.png +0 -0
  202. package/template/public/Cesium1.119/Assets/Textures/maki/suitcase.png +0 -0
  203. package/template/public/Cesium1.119/Assets/Textures/maki/swimming.png +0 -0
  204. package/template/public/Cesium1.119/Assets/Textures/maki/telephone.png +0 -0
  205. package/template/public/Cesium1.119/Assets/Textures/maki/tennis.png +0 -0
  206. package/template/public/Cesium1.119/Assets/Textures/maki/theatre.png +0 -0
  207. package/template/public/Cesium1.119/Assets/Textures/maki/toilets.png +0 -0
  208. package/template/public/Cesium1.119/Assets/Textures/maki/town-hall.png +0 -0
  209. package/template/public/Cesium1.119/Assets/Textures/maki/town.png +0 -0
  210. package/template/public/Cesium1.119/Assets/Textures/maki/triangle-stroked.png +0 -0
  211. package/template/public/Cesium1.119/Assets/Textures/maki/triangle.png +0 -0
  212. package/template/public/Cesium1.119/Assets/Textures/maki/village.png +0 -0
  213. package/template/public/Cesium1.119/Assets/Textures/maki/warehouse.png +0 -0
  214. package/template/public/Cesium1.119/Assets/Textures/maki/waste-basket.png +0 -0
  215. package/template/public/Cesium1.119/Assets/Textures/maki/water.png +0 -0
  216. package/template/public/Cesium1.119/Assets/Textures/maki/wetland.png +0 -0
  217. package/template/public/Cesium1.119/Assets/Textures/maki/zoo.png +0 -0
  218. package/template/public/Cesium1.119/Assets/Textures/moonSmall.jpg +0 -0
  219. package/template/public/Cesium1.119/Assets/Textures/pin.svg +1 -0
  220. package/template/public/Cesium1.119/Assets/Textures/waterNormals.jpg +0 -0
  221. package/template/public/Cesium1.119/Assets/Textures/waterNormalsSmall.jpg +0 -0
  222. package/template/public/Cesium1.119/Assets/approximateTerrainHeights.json +10924 -0
  223. package/template/public/Cesium1.119/Cesium.js +185772 -0
  224. package/template/public/Cesium1.119/ThirdParty/Workers/package.json +3 -0
  225. package/template/public/Cesium1.119/ThirdParty/Workers/pako_deflate.min.js +1681 -0
  226. package/template/public/Cesium1.119/ThirdParty/Workers/pako_inflate.min.js +1489 -0
  227. package/template/public/Cesium1.119/ThirdParty/Workers/z-worker-pako.js +1070 -0
  228. package/template/public/Cesium1.119/ThirdParty/basis_transcoder.wasm +0 -0
  229. package/template/public/Cesium1.119/ThirdParty/draco_decoder.wasm +0 -0
  230. package/template/public/Cesium1.119/ThirdParty/google-earth-dbroot-parser.js +11424 -0
  231. package/template/public/Cesium1.119/Widgets/Animation/Animation.css +127 -0
  232. package/template/public/Cesium1.119/Widgets/Animation/lighter.css +78 -0
  233. package/template/public/Cesium1.119/Widgets/BaseLayerPicker/BaseLayerPicker.css +112 -0
  234. package/template/public/Cesium1.119/Widgets/BaseLayerPicker/lighter.css +28 -0
  235. package/template/public/Cesium1.119/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +104 -0
  236. package/template/public/Cesium1.119/Widgets/CesiumInspector/CesiumInspector.css +115 -0
  237. package/template/public/Cesium1.119/Widgets/CesiumWidget/CesiumWidget.css +119 -0
  238. package/template/public/Cesium1.119/Widgets/CesiumWidget/lighter.css +14 -0
  239. package/template/public/Cesium1.119/Widgets/FullscreenButton/FullscreenButton.css +8 -0
  240. package/template/public/Cesium1.119/Widgets/Geocoder/Geocoder.css +72 -0
  241. package/template/public/Cesium1.119/Widgets/Geocoder/lighter.css +17 -0
  242. package/template/public/Cesium1.119/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
  243. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  244. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  245. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  246. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  247. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  248. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  249. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  250. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  251. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  252. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  253. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  254. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  255. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  256. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  257. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  258. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  259. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  260. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  261. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  262. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
  263. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
  264. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
  265. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
  266. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Touch.svg +120 -0
  267. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
  268. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
  269. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
  270. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
  271. package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  272. package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  273. package/template/public/Cesium1.119/Widgets/Images/TimelineIcons.png +0 -0
  274. package/template/public/Cesium1.119/Widgets/Images/info-loading.gif +0 -0
  275. package/template/public/Cesium1.119/Widgets/InfoBox/InfoBox.css +94 -0
  276. package/template/public/Cesium1.119/Widgets/InfoBox/InfoBoxDescription.css +178 -0
  277. package/template/public/Cesium1.119/Widgets/NavigationHelpButton/NavigationHelpButton.css +95 -0
  278. package/template/public/Cesium1.119/Widgets/NavigationHelpButton/lighter.css +38 -0
  279. package/template/public/Cesium1.119/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
  280. package/template/public/Cesium1.119/Widgets/ProjectionPicker/ProjectionPicker.css +46 -0
  281. package/template/public/Cesium1.119/Widgets/SceneModePicker/SceneModePicker.css +72 -0
  282. package/template/public/Cesium1.119/Widgets/SelectionIndicator/SelectionIndicator.css +22 -0
  283. package/template/public/Cesium1.119/Widgets/Timeline/Timeline.css +103 -0
  284. package/template/public/Cesium1.119/Widgets/Timeline/lighter.css +18 -0
  285. package/template/public/Cesium1.119/Widgets/VRButton/VRButton.css +8 -0
  286. package/template/public/Cesium1.119/Widgets/Viewer/Viewer.css +107 -0
  287. package/template/public/Cesium1.119/Widgets/VoxelInspector/VoxelInspector.css +18 -0
  288. package/template/public/Cesium1.119/Widgets/lighter.css +246 -0
  289. package/template/public/Cesium1.119/Widgets/lighterShared.css +46 -0
  290. package/template/public/Cesium1.119/Widgets/shared.css +103 -0
  291. package/template/public/Cesium1.119/Widgets/widgets.css +1376 -0
  292. package/template/public/Cesium1.119/Workers/chunk-3C7WC463.js +611 -0
  293. package/template/public/Cesium1.119/Workers/chunk-3JW36LZF.js +166 -0
  294. package/template/public/Cesium1.119/Workers/chunk-4BTGX3WJ.js +264 -0
  295. package/template/public/Cesium1.119/Workers/chunk-4WRMLZA7.js +128 -0
  296. package/template/public/Cesium1.119/Workers/chunk-7Z5IIKOJ.js +8046 -0
  297. package/template/public/Cesium1.119/Workers/chunk-ABGXSJNX.js +341 -0
  298. package/template/public/Cesium1.119/Workers/chunk-AMQUWUD4.js +269 -0
  299. package/template/public/Cesium1.119/Workers/chunk-ATPDRNKI.js +28 -0
  300. package/template/public/Cesium1.119/Workers/chunk-BMHPVZ4H.js +199 -0
  301. package/template/public/Cesium1.119/Workers/chunk-CBEO3SHS.js +1102 -0
  302. package/template/public/Cesium1.119/Workers/chunk-CV7DLCWG.js +485 -0
  303. package/template/public/Cesium1.119/Workers/chunk-DQO6B4EQ.js +76 -0
  304. package/template/public/Cesium1.119/Workers/chunk-ED3TLP6D.js +91 -0
  305. package/template/public/Cesium1.119/Workers/chunk-EFZKO5RU.js +42 -0
  306. package/template/public/Cesium1.119/Workers/chunk-F5IHREXR.js +2678 -0
  307. package/template/public/Cesium1.119/Workers/chunk-FKRG4HDY.js +516 -0
  308. package/template/public/Cesium1.119/Workers/chunk-FYOYUPXG.js +399 -0
  309. package/template/public/Cesium1.119/Workers/chunk-GFN7NNSJ.js +65 -0
  310. package/template/public/Cesium1.119/Workers/chunk-HEEMUCG6.js +92 -0
  311. package/template/public/Cesium1.119/Workers/chunk-HSWA4OEL.js +672 -0
  312. package/template/public/Cesium1.119/Workers/chunk-IAC5XVZV.js +287 -0
  313. package/template/public/Cesium1.119/Workers/chunk-II4VNKYR.js +50 -0
  314. package/template/public/Cesium1.119/Workers/chunk-ILGBPNP6.js +28 -0
  315. package/template/public/Cesium1.119/Workers/chunk-IRH46BDL.js +124 -0
  316. package/template/public/Cesium1.119/Workers/chunk-IUA6FAOZ.js +31 -0
  317. package/template/public/Cesium1.119/Workers/chunk-K4ASOM65.js +331 -0
  318. package/template/public/Cesium1.119/Workers/chunk-KCIZBVXL.js +258 -0
  319. package/template/public/Cesium1.119/Workers/chunk-KF5NF354.js +162 -0
  320. package/template/public/Cesium1.119/Workers/chunk-KRKI6AAO.js +773 -0
  321. package/template/public/Cesium1.119/Workers/chunk-KZNJOCYU.js +162 -0
  322. package/template/public/Cesium1.119/Workers/chunk-O5IJ3OGP.js +857 -0
  323. package/template/public/Cesium1.119/Workers/chunk-OO23RBLX.js +183 -0
  324. package/template/public/Cesium1.119/Workers/chunk-P37AI2DW.js +85 -0
  325. package/template/public/Cesium1.119/Workers/chunk-PDMQLSBL.js +108 -0
  326. package/template/public/Cesium1.119/Workers/chunk-PEYJTJPE.js +73 -0
  327. package/template/public/Cesium1.119/Workers/chunk-POASMU2N.js +2372 -0
  328. package/template/public/Cesium1.119/Workers/chunk-PXCJYT2S.js +73 -0
  329. package/template/public/Cesium1.119/Workers/chunk-Q6L7X3LP.js +538 -0
  330. package/template/public/Cesium1.119/Workers/chunk-QB3MDM4J.js +1670 -0
  331. package/template/public/Cesium1.119/Workers/chunk-R6KGAEF6.js +392 -0
  332. package/template/public/Cesium1.119/Workers/chunk-RXTBM4OI.js +57 -0
  333. package/template/public/Cesium1.119/Workers/chunk-SB224QGV.js +72 -0
  334. package/template/public/Cesium1.119/Workers/chunk-T6BE4RZK.js +37 -0
  335. package/template/public/Cesium1.119/Workers/chunk-TAMCUKAR.js +814 -0
  336. package/template/public/Cesium1.119/Workers/chunk-TMSETF7M.js +579 -0
  337. package/template/public/Cesium1.119/Workers/chunk-TOGHF3VN.js +376 -0
  338. package/template/public/Cesium1.119/Workers/chunk-UH2WFNTA.js +111 -0
  339. package/template/public/Cesium1.119/Workers/chunk-V7JEDBOE.js +573 -0
  340. package/template/public/Cesium1.119/Workers/chunk-VBIROZR5.js +633 -0
  341. package/template/public/Cesium1.119/Workers/chunk-W23CU777.js +271 -0
  342. package/template/public/Cesium1.119/Workers/chunk-X5IHHI6X.js +173 -0
  343. package/template/public/Cesium1.119/Workers/chunk-XHX2UPDO.js +217 -0
  344. package/template/public/Cesium1.119/Workers/combineGeometry.js +53 -0
  345. package/template/public/Cesium1.119/Workers/createBoxGeometry.js +45 -0
  346. package/template/public/Cesium1.119/Workers/createBoxOutlineGeometry.js +189 -0
  347. package/template/public/Cesium1.119/Workers/createCircleGeometry.js +148 -0
  348. package/template/public/Cesium1.119/Workers/createCircleOutlineGeometry.js +105 -0
  349. package/template/public/Cesium1.119/Workers/createCoplanarPolygonGeometry.js +293 -0
  350. package/template/public/Cesium1.119/Workers/createCoplanarPolygonOutlineGeometry.js +143 -0
  351. package/template/public/Cesium1.119/Workers/createCorridorGeometry.js +830 -0
  352. package/template/public/Cesium1.119/Workers/createCorridorOutlineGeometry.js +417 -0
  353. package/template/public/Cesium1.119/Workers/createCylinderGeometry.js +47 -0
  354. package/template/public/Cesium1.119/Workers/createCylinderOutlineGeometry.js +170 -0
  355. package/template/public/Cesium1.119/Workers/createEllipseGeometry.js +58 -0
  356. package/template/public/Cesium1.119/Workers/createEllipseOutlineGeometry.js +51 -0
  357. package/template/public/Cesium1.119/Workers/createEllipsoidGeometry.js +46 -0
  358. package/template/public/Cesium1.119/Workers/createEllipsoidOutlineGeometry.js +45 -0
  359. package/template/public/Cesium1.119/Workers/createFrustumGeometry.js +45 -0
  360. package/template/public/Cesium1.119/Workers/createFrustumOutlineGeometry.js +164 -0
  361. package/template/public/Cesium1.119/Workers/createGeometry.js +159 -0
  362. package/template/public/Cesium1.119/Workers/createGroundPolylineGeometry.js +911 -0
  363. package/template/public/Cesium1.119/Workers/createPlaneGeometry.js +185 -0
  364. package/template/public/Cesium1.119/Workers/createPlaneOutlineGeometry.js +93 -0
  365. package/template/public/Cesium1.119/Workers/createPolygonGeometry.js +884 -0
  366. package/template/public/Cesium1.119/Workers/createPolygonOutlineGeometry.js +359 -0
  367. package/template/public/Cesium1.119/Workers/createPolylineGeometry.js +349 -0
  368. package/template/public/Cesium1.119/Workers/createPolylineVolumeGeometry.js +262 -0
  369. package/template/public/Cesium1.119/Workers/createPolylineVolumeOutlineGeometry.js +177 -0
  370. package/template/public/Cesium1.119/Workers/createRectangleGeometry.js +787 -0
  371. package/template/public/Cesium1.119/Workers/createRectangleOutlineGeometry.js +299 -0
  372. package/template/public/Cesium1.119/Workers/createSimplePolylineGeometry.js +294 -0
  373. package/template/public/Cesium1.119/Workers/createSphereGeometry.js +84 -0
  374. package/template/public/Cesium1.119/Workers/createSphereOutlineGeometry.js +83 -0
  375. package/template/public/Cesium1.119/Workers/createTaskProcessorWorker.js +28 -0
  376. package/template/public/Cesium1.119/Workers/createVectorTileClampedPolylines.js +289 -0
  377. package/template/public/Cesium1.119/Workers/createVectorTileGeometries.js +258 -0
  378. package/template/public/Cesium1.119/Workers/createVectorTilePoints.js +79 -0
  379. package/template/public/Cesium1.119/Workers/createVectorTilePolygons.js +275 -0
  380. package/template/public/Cesium1.119/Workers/createVectorTilePolylines.js +176 -0
  381. package/template/public/Cesium1.119/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +375 -0
  382. package/template/public/Cesium1.119/Workers/createVerticesFromHeightmap.js +1772 -0
  383. package/template/public/Cesium1.119/Workers/createVerticesFromQuantizedTerrainMesh.js +425 -0
  384. package/template/public/Cesium1.119/Workers/createWallGeometry.js +320 -0
  385. package/template/public/Cesium1.119/Workers/createWallOutlineGeometry.js +229 -0
  386. package/template/public/Cesium1.119/Workers/decodeDraco.js +227 -0
  387. package/template/public/Cesium1.119/Workers/decodeGoogleEarthEnterprisePacket.js +1836 -0
  388. package/template/public/Cesium1.119/Workers/decodeI3S.js +924 -0
  389. package/template/public/Cesium1.119/Workers/transcodeKTX2.js +3180 -0
  390. package/template/public/Cesium1.119/Workers/transferTypedArrayTest.js +34 -0
  391. package/template/public/Cesium1.119/Workers/upsampleQuantizedTerrainMesh.js +534 -0
  392. package/template/public/Cesium1.119/index.cjs +185632 -0
  393. package/template/public/Cesium1.119/index.js +182874 -0
  394. package/template/public/vite.svg +1 -0
  395. package/template/scripts/gen-api.cjs +178 -0
  396. package/template/src/App.vue +6 -0
  397. package/template/src/api/README.md +3 -0
  398. package/template/src/assets/favicon.svg +49 -0
  399. package/template/src/components/Body/index.vue +16 -0
  400. package/template/src/components/Header/index.vue +8 -0
  401. package/template/src/directive/focus.ts +9 -0
  402. package/template/src/layout/BasicLayout.vue +28 -0
  403. package/template/src/main.ts +33 -0
  404. package/template/src/router/index.ts +24 -0
  405. package/template/src/stores/README.md +3 -0
  406. package/template/src/stores/useCounter.ts +12 -0
  407. package/template/src/styles/alerts.less +85 -0
  408. package/template/src/styles/global.css +326 -0
  409. package/template/src/utils/alert.ts +58 -0
  410. package/template/src/utils/components.ts +21 -0
  411. package/template/src/utils/composables/useAlert.ts +14 -0
  412. package/template/src/views/Test/index.vue +23 -0
  413. package/template/src/views/index.vue +9 -0
  414. package/template/src/vite-env.d.ts +1 -0
  415. package/template/swdg/bin/index.js +23 -0
  416. package/template/swdg/package.json +27 -0
  417. package/template/tests/README.md +6 -0
  418. package/template/tests/e2e/README.md +3 -0
  419. package/template/tests/setup.ts +1 -0
  420. package/template/tests/unit/example.test.ts +7 -0
  421. package/template/tests/utils/helpers.ts +1 -0
  422. package/template/tsconfig.json +51 -0
  423. package/template/tsconfig.node.json +11 -0
  424. package/template/types/README.md +3 -0
  425. package/template/types/global.d.ts +9 -0
  426. package/template/vite.config.ts +75 -0
  427. package/template/vitest.config.ts +9 -0
@@ -0,0 +1,857 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.119
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 ue } from "./chunk-FYOYUPXG.js";
27
+ import { b as he, c as pe, d as ne } from "./chunk-X5IHHI6X.js";
28
+ import { a as te } from "./chunk-KZNJOCYU.js";
29
+ import { a as p, b as ee, c as w, d as Se } from "./chunk-POASMU2N.js";
30
+ import { a as Y } from "./chunk-R6KGAEF6.js";
31
+ import { a as le } from "./chunk-3C7WC463.js";
32
+ import { a as K } from "./chunk-IUA6FAOZ.js";
33
+ import { b } from "./chunk-UH2WFNTA.js";
34
+ import { c as We, d as $e, e as D } from "./chunk-PEYJTJPE.js";
35
+ var Oe = We((st, ge) => {
36
+ "use strict";
37
+ ge.exports = xe;
38
+ ge.exports.default = xe;
39
+ function xe(e, n, t) {
40
+ t = t || 2;
41
+ var u = n && n.length,
42
+ r = u ? n[0] * t : e.length,
43
+ i = Ce(e, 0, r, t, !0),
44
+ s = [];
45
+ if (!i || i.next === i.prev) return s;
46
+ var o, f, c, l, y, v, d;
47
+ if ((u && (i = ke(e, n, i, t)), e.length > 80 * t)) {
48
+ ((o = c = e[0]), (f = l = e[1]));
49
+ for (var h = t; h < r; h += t)
50
+ ((y = e[h]),
51
+ (v = e[h + 1]),
52
+ y < o && (o = y),
53
+ v < f && (f = v),
54
+ y > c && (c = y),
55
+ v > l && (l = v));
56
+ ((d = Math.max(c - o, l - f)), (d = d !== 0 ? 32767 / d : 0));
57
+ }
58
+ return (re(i, s, t, o, f, d, 0), s);
59
+ }
60
+ function Ce(e, n, t, u, r) {
61
+ var i, s;
62
+ if (r === de(e, n, t, u) > 0)
63
+ for (i = n; i < t; i += u) s = Ae(i, e[i], e[i + 1], s);
64
+ else for (i = t - u; i >= n; i -= u) s = Ae(i, e[i], e[i + 1], s);
65
+ return (s && ae(s, s.next) && (oe(s), (s = s.next)), s);
66
+ }
67
+ function N(e, n) {
68
+ if (!e) return e;
69
+ n || (n = e);
70
+ var t = e,
71
+ u;
72
+ do
73
+ if (
74
+ ((u = !1), !t.steiner && (ae(t, t.next) || A(t.prev, t, t.next) === 0))
75
+ ) {
76
+ if ((oe(t), (t = n = t.prev), t === t.next)) break;
77
+ u = !0;
78
+ } else t = t.next;
79
+ while (u || t !== n);
80
+ return n;
81
+ }
82
+ function re(e, n, t, u, r, i, s) {
83
+ if (e) {
84
+ !s && i && qe(e, u, r, i);
85
+ for (var o = e, f, c; e.prev !== e.next; ) {
86
+ if (((f = e.prev), (c = e.next), i ? Ie(e, u, r, i) : Ge(e))) {
87
+ (n.push((f.i / t) | 0),
88
+ n.push((e.i / t) | 0),
89
+ n.push((c.i / t) | 0),
90
+ oe(e),
91
+ (e = c.next),
92
+ (o = c.next));
93
+ continue;
94
+ }
95
+ if (((e = c), e === o)) {
96
+ s
97
+ ? s === 1
98
+ ? ((e = He(N(e), n, t)), re(e, n, t, u, r, i, 2))
99
+ : s === 2 && Ne(e, n, t, u, r, i)
100
+ : re(N(e), n, t, u, r, i, 1);
101
+ break;
102
+ }
103
+ }
104
+ }
105
+ }
106
+ function Ge(e) {
107
+ var n = e.prev,
108
+ t = e,
109
+ u = e.next;
110
+ if (A(n, t, u) >= 0) return !1;
111
+ for (
112
+ var r = n.x,
113
+ i = t.x,
114
+ s = u.x,
115
+ o = n.y,
116
+ f = t.y,
117
+ c = u.y,
118
+ l = r < i ? (r < s ? r : s) : i < s ? i : s,
119
+ y = o < f ? (o < c ? o : c) : f < c ? f : c,
120
+ v = r > i ? (r > s ? r : s) : i > s ? i : s,
121
+ d = o > f ? (o > c ? o : c) : f > c ? f : c,
122
+ h = u.next;
123
+ h !== n;
124
+ ) {
125
+ if (
126
+ h.x >= l &&
127
+ h.x <= v &&
128
+ h.y >= y &&
129
+ h.y <= d &&
130
+ V(r, o, i, f, s, c, h.x, h.y) &&
131
+ A(h.prev, h, h.next) >= 0
132
+ )
133
+ return !1;
134
+ h = h.next;
135
+ }
136
+ return !0;
137
+ }
138
+ function Ie(e, n, t, u) {
139
+ var r = e.prev,
140
+ i = e,
141
+ s = e.next;
142
+ if (A(r, i, s) >= 0) return !1;
143
+ for (
144
+ var o = r.x,
145
+ f = i.x,
146
+ c = s.x,
147
+ l = r.y,
148
+ y = i.y,
149
+ v = s.y,
150
+ d = o < f ? (o < c ? o : c) : f < c ? f : c,
151
+ h = l < y ? (l < v ? l : v) : y < v ? y : v,
152
+ T = o > f ? (o > c ? o : c) : f > c ? f : c,
153
+ L = l > y ? (l > v ? l : v) : y > v ? y : v,
154
+ z = ye(d, h, n, t, u),
155
+ F = ye(T, L, n, t, u),
156
+ x = e.prevZ,
157
+ a = e.nextZ;
158
+ x && x.z >= z && a && a.z <= F;
159
+ ) {
160
+ if (
161
+ (x.x >= d &&
162
+ x.x <= T &&
163
+ x.y >= h &&
164
+ x.y <= L &&
165
+ x !== r &&
166
+ x !== s &&
167
+ V(o, l, f, y, c, v, x.x, x.y) &&
168
+ A(x.prev, x, x.next) >= 0) ||
169
+ ((x = x.prevZ),
170
+ a.x >= d &&
171
+ a.x <= T &&
172
+ a.y >= h &&
173
+ a.y <= L &&
174
+ a !== r &&
175
+ a !== s &&
176
+ V(o, l, f, y, c, v, a.x, a.y) &&
177
+ A(a.prev, a, a.next) >= 0)
178
+ )
179
+ return !1;
180
+ a = a.nextZ;
181
+ }
182
+ for (; x && x.z >= z; ) {
183
+ if (
184
+ x.x >= d &&
185
+ x.x <= T &&
186
+ x.y >= h &&
187
+ x.y <= L &&
188
+ x !== r &&
189
+ x !== s &&
190
+ V(o, l, f, y, c, v, x.x, x.y) &&
191
+ A(x.prev, x, x.next) >= 0
192
+ )
193
+ return !1;
194
+ x = x.prevZ;
195
+ }
196
+ for (; a && a.z <= F; ) {
197
+ if (
198
+ a.x >= d &&
199
+ a.x <= T &&
200
+ a.y >= h &&
201
+ a.y <= L &&
202
+ a !== r &&
203
+ a !== s &&
204
+ V(o, l, f, y, c, v, a.x, a.y) &&
205
+ A(a.prev, a, a.next) >= 0
206
+ )
207
+ return !1;
208
+ a = a.nextZ;
209
+ }
210
+ return !0;
211
+ }
212
+ function He(e, n, t) {
213
+ var u = e;
214
+ do {
215
+ var r = u.prev,
216
+ i = u.next.next;
217
+ (!ae(r, i) &&
218
+ be(r, u, u.next, i) &&
219
+ ie(r, i) &&
220
+ ie(i, r) &&
221
+ (n.push((r.i / t) | 0),
222
+ n.push((u.i / t) | 0),
223
+ n.push((i.i / t) | 0),
224
+ oe(u),
225
+ oe(u.next),
226
+ (u = e = i)),
227
+ (u = u.next));
228
+ } while (u !== e);
229
+ return N(u);
230
+ }
231
+ function Ne(e, n, t, u, r, i) {
232
+ var s = e;
233
+ do {
234
+ for (var o = s.next.next; o !== s.prev; ) {
235
+ if (s.i !== o.i && je(s, o)) {
236
+ var f = Ee(s, o);
237
+ ((s = N(s, s.next)),
238
+ (f = N(f, f.next)),
239
+ re(s, n, t, u, r, i, 0),
240
+ re(f, n, t, u, r, i, 0));
241
+ return;
242
+ }
243
+ o = o.next;
244
+ }
245
+ s = s.next;
246
+ } while (s !== e);
247
+ }
248
+ function ke(e, n, t, u) {
249
+ var r = [],
250
+ i,
251
+ s,
252
+ o,
253
+ f,
254
+ c;
255
+ for (i = 0, s = n.length; i < s; i++)
256
+ ((o = n[i] * u),
257
+ (f = i < s - 1 ? n[i + 1] * u : e.length),
258
+ (c = Ce(e, o, f, u, !1)),
259
+ c === c.next && (c.steiner = !0),
260
+ r.push(Qe(c)));
261
+ for (r.sort(Ue), i = 0; i < r.length; i++) t = _e(r[i], t);
262
+ return t;
263
+ }
264
+ function Ue(e, n) {
265
+ return e.x - n.x;
266
+ }
267
+ function _e(e, n) {
268
+ var t = Ke(e, n);
269
+ if (!t) return n;
270
+ var u = Ee(t, e);
271
+ return (N(u, u.next), N(t, t.next));
272
+ }
273
+ function Ke(e, n) {
274
+ var t = n,
275
+ u = e.x,
276
+ r = e.y,
277
+ i = -1 / 0,
278
+ s;
279
+ do {
280
+ if (r <= t.y && r >= t.next.y && t.next.y !== t.y) {
281
+ var o = t.x + ((r - t.y) * (t.next.x - t.x)) / (t.next.y - t.y);
282
+ if (
283
+ o <= u &&
284
+ o > i &&
285
+ ((i = o), (s = t.x < t.next.x ? t : t.next), o === u)
286
+ )
287
+ return s;
288
+ }
289
+ t = t.next;
290
+ } while (t !== n);
291
+ if (!s) return null;
292
+ var f = s,
293
+ c = s.x,
294
+ l = s.y,
295
+ y = 1 / 0,
296
+ v;
297
+ t = s;
298
+ do
299
+ (u >= t.x &&
300
+ t.x >= c &&
301
+ u !== t.x &&
302
+ V(r < l ? u : i, r, c, l, r < l ? i : u, r, t.x, t.y) &&
303
+ ((v = Math.abs(r - t.y) / (u - t.x)),
304
+ ie(t, e) &&
305
+ (v < y || (v === y && (t.x > s.x || (t.x === s.x && Ve(s, t))))) &&
306
+ ((s = t), (y = v))),
307
+ (t = t.next));
308
+ while (t !== f);
309
+ return s;
310
+ }
311
+ function Ve(e, n) {
312
+ return A(e.prev, e, n.prev) < 0 && A(n.next, e, e.next) < 0;
313
+ }
314
+ function qe(e, n, t, u) {
315
+ var r = e;
316
+ do
317
+ (r.z === 0 && (r.z = ye(r.x, r.y, n, t, u)),
318
+ (r.prevZ = r.prev),
319
+ (r.nextZ = r.next),
320
+ (r = r.next));
321
+ while (r !== e);
322
+ ((r.prevZ.nextZ = null), (r.prevZ = null), Je(r));
323
+ }
324
+ function Je(e) {
325
+ var n,
326
+ t,
327
+ u,
328
+ r,
329
+ i,
330
+ s,
331
+ o,
332
+ f,
333
+ c = 1;
334
+ do {
335
+ for (t = e, e = null, i = null, s = 0; t; ) {
336
+ for (s++, u = t, o = 0, n = 0; n < c && (o++, (u = u.nextZ), !!u); n++);
337
+ for (f = c; o > 0 || (f > 0 && u); )
338
+ (o !== 0 && (f === 0 || !u || t.z <= u.z)
339
+ ? ((r = t), (t = t.nextZ), o--)
340
+ : ((r = u), (u = u.nextZ), f--),
341
+ i ? (i.nextZ = r) : (e = r),
342
+ (r.prevZ = i),
343
+ (i = r));
344
+ t = u;
345
+ }
346
+ ((i.nextZ = null), (c *= 2));
347
+ } while (s > 1);
348
+ return e;
349
+ }
350
+ function ye(e, n, t, u, r) {
351
+ return (
352
+ (e = ((e - t) * r) | 0),
353
+ (n = ((n - u) * r) | 0),
354
+ (e = (e | (e << 8)) & 16711935),
355
+ (e = (e | (e << 4)) & 252645135),
356
+ (e = (e | (e << 2)) & 858993459),
357
+ (e = (e | (e << 1)) & 1431655765),
358
+ (n = (n | (n << 8)) & 16711935),
359
+ (n = (n | (n << 4)) & 252645135),
360
+ (n = (n | (n << 2)) & 858993459),
361
+ (n = (n | (n << 1)) & 1431655765),
362
+ e | (n << 1)
363
+ );
364
+ }
365
+ function Qe(e) {
366
+ var n = e,
367
+ t = e;
368
+ do ((n.x < t.x || (n.x === t.x && n.y < t.y)) && (t = n), (n = n.next));
369
+ while (n !== e);
370
+ return t;
371
+ }
372
+ function V(e, n, t, u, r, i, s, o) {
373
+ return (
374
+ (r - s) * (n - o) >= (e - s) * (i - o) &&
375
+ (e - s) * (u - o) >= (t - s) * (n - o) &&
376
+ (t - s) * (i - o) >= (r - s) * (u - o)
377
+ );
378
+ }
379
+ function je(e, n) {
380
+ return (
381
+ e.next.i !== n.i &&
382
+ e.prev.i !== n.i &&
383
+ !Xe(e, n) &&
384
+ ((ie(e, n) &&
385
+ ie(n, e) &&
386
+ Ye(e, n) &&
387
+ (A(e.prev, e, n.prev) || A(e, n.prev, n))) ||
388
+ (ae(e, n) && A(e.prev, e, e.next) > 0 && A(n.prev, n, n.next) > 0))
389
+ );
390
+ }
391
+ function A(e, n, t) {
392
+ return (n.y - e.y) * (t.x - n.x) - (n.x - e.x) * (t.y - n.y);
393
+ }
394
+ function ae(e, n) {
395
+ return e.x === n.x && e.y === n.y;
396
+ }
397
+ function be(e, n, t, u) {
398
+ var r = fe(A(e, n, t)),
399
+ i = fe(A(e, n, u)),
400
+ s = fe(A(t, u, e)),
401
+ o = fe(A(t, u, n));
402
+ return !!(
403
+ (r !== i && s !== o) ||
404
+ (r === 0 && ce(e, t, n)) ||
405
+ (i === 0 && ce(e, u, n)) ||
406
+ (s === 0 && ce(t, e, u)) ||
407
+ (o === 0 && ce(t, n, u))
408
+ );
409
+ }
410
+ function ce(e, n, t) {
411
+ return (
412
+ n.x <= Math.max(e.x, t.x) &&
413
+ n.x >= Math.min(e.x, t.x) &&
414
+ n.y <= Math.max(e.y, t.y) &&
415
+ n.y >= Math.min(e.y, t.y)
416
+ );
417
+ }
418
+ function fe(e) {
419
+ return e > 0 ? 1 : e < 0 ? -1 : 0;
420
+ }
421
+ function Xe(e, n) {
422
+ var t = e;
423
+ do {
424
+ if (
425
+ t.i !== e.i &&
426
+ t.next.i !== e.i &&
427
+ t.i !== n.i &&
428
+ t.next.i !== n.i &&
429
+ be(t, t.next, e, n)
430
+ )
431
+ return !0;
432
+ t = t.next;
433
+ } while (t !== e);
434
+ return !1;
435
+ }
436
+ function ie(e, n) {
437
+ return A(e.prev, e, e.next) < 0
438
+ ? A(e, n, e.next) >= 0 && A(e, e.prev, n) >= 0
439
+ : A(e, n, e.prev) < 0 || A(e, e.next, n) < 0;
440
+ }
441
+ function Ye(e, n) {
442
+ var t = e,
443
+ u = !1,
444
+ r = (e.x + n.x) / 2,
445
+ i = (e.y + n.y) / 2;
446
+ do
447
+ (t.y > i != t.next.y > i &&
448
+ t.next.y !== t.y &&
449
+ r < ((t.next.x - t.x) * (i - t.y)) / (t.next.y - t.y) + t.x &&
450
+ (u = !u),
451
+ (t = t.next));
452
+ while (t !== e);
453
+ return u;
454
+ }
455
+ function Ee(e, n) {
456
+ var t = new me(e.i, e.x, e.y),
457
+ u = new me(n.i, n.x, n.y),
458
+ r = e.next,
459
+ i = n.prev;
460
+ return (
461
+ (e.next = n),
462
+ (n.prev = e),
463
+ (t.next = r),
464
+ (r.prev = t),
465
+ (u.next = t),
466
+ (t.prev = u),
467
+ (i.next = u),
468
+ (u.prev = i),
469
+ u
470
+ );
471
+ }
472
+ function Ae(e, n, t, u) {
473
+ var r = new me(e, n, t);
474
+ return (
475
+ u
476
+ ? ((r.next = u.next), (r.prev = u), (u.next.prev = r), (u.next = r))
477
+ : ((r.prev = r), (r.next = r)),
478
+ r
479
+ );
480
+ }
481
+ function oe(e) {
482
+ ((e.next.prev = e.prev),
483
+ (e.prev.next = e.next),
484
+ e.prevZ && (e.prevZ.nextZ = e.nextZ),
485
+ e.nextZ && (e.nextZ.prevZ = e.prevZ));
486
+ }
487
+ function me(e, n, t) {
488
+ ((this.i = e),
489
+ (this.x = n),
490
+ (this.y = t),
491
+ (this.prev = null),
492
+ (this.next = null),
493
+ (this.z = 0),
494
+ (this.prevZ = null),
495
+ (this.nextZ = null),
496
+ (this.steiner = !1));
497
+ }
498
+ xe.deviation = function (e, n, t, u) {
499
+ var r = n && n.length,
500
+ i = r ? n[0] * t : e.length,
501
+ s = Math.abs(de(e, 0, i, t));
502
+ if (r)
503
+ for (var o = 0, f = n.length; o < f; o++) {
504
+ var c = n[o] * t,
505
+ l = o < f - 1 ? n[o + 1] * t : e.length;
506
+ s -= Math.abs(de(e, c, l, t));
507
+ }
508
+ var y = 0;
509
+ for (o = 0; o < u.length; o += 3) {
510
+ var v = u[o] * t,
511
+ d = u[o + 1] * t,
512
+ h = u[o + 2] * t;
513
+ y += Math.abs(
514
+ (e[v] - e[h]) * (e[d + 1] - e[v + 1]) -
515
+ (e[v] - e[d]) * (e[h + 1] - e[v + 1]),
516
+ );
517
+ }
518
+ return s === 0 && y === 0 ? 0 : Math.abs((y - s) / s);
519
+ };
520
+ function de(e, n, t, u) {
521
+ for (var r = 0, i = n, s = t - u; i < t; i += u)
522
+ ((r += (e[s] - e[i]) * (e[i + 1] + e[s + 1])), (s = i));
523
+ return r;
524
+ }
525
+ xe.flatten = function (e) {
526
+ for (
527
+ var n = e[0][0].length,
528
+ t = { vertices: [], holes: [], dimensions: n },
529
+ u = 0,
530
+ r = 0;
531
+ r < e.length;
532
+ r++
533
+ ) {
534
+ for (var i = 0; i < e[r].length; i++)
535
+ for (var s = 0; s < n; s++) t.vertices.push(e[r][i][s]);
536
+ r > 0 && ((u += e[r - 1].length), t.holes.push(u));
537
+ }
538
+ return t;
539
+ };
540
+ });
541
+ var se = { CLOCKWISE: le.CW, COUNTER_CLOCKWISE: le.CCW };
542
+ se.validate = function (e) {
543
+ return e === se.CLOCKWISE || e === se.COUNTER_CLOCKWISE;
544
+ };
545
+ var ve = Object.freeze(se);
546
+ var Le = $e(Oe(), 1);
547
+ var et = new p(),
548
+ tt = new p(),
549
+ B = {};
550
+ B.computeArea2D = function (e) {
551
+ (b.defined("positions", e),
552
+ b.typeOf.number.greaterThanOrEquals("positions.length", e.length, 3));
553
+ let n = e.length,
554
+ t = 0;
555
+ for (let u = n - 1, r = 0; r < n; u = r++) {
556
+ let i = e[u],
557
+ s = e[r];
558
+ t += i.x * s.y - s.x * i.y;
559
+ }
560
+ return t * 0.5;
561
+ };
562
+ B.computeWindingOrder2D = function (e) {
563
+ return B.computeArea2D(e) > 0 ? ve.COUNTER_CLOCKWISE : ve.CLOCKWISE;
564
+ };
565
+ B.triangulate = function (e, n) {
566
+ b.defined("positions", e);
567
+ let t = w.packArray(e);
568
+ return (0, Le.default)(t, n, 2);
569
+ };
570
+ var De = new p(),
571
+ Fe = new p(),
572
+ Pe = new p(),
573
+ Te = new p(),
574
+ Me = new p(),
575
+ Ze = new p(),
576
+ R = new p(),
577
+ Re = new w(),
578
+ ze = new w(),
579
+ Be = new w(),
580
+ q = new w();
581
+ B.computeSubdivision = function (e, n, t, u, r) {
582
+ r = K(r, Y.RADIANS_PER_DEGREE);
583
+ let i = D(u);
584
+ (b.typeOf.object("ellipsoid", e),
585
+ b.defined("positions", n),
586
+ b.defined("indices", t),
587
+ b.typeOf.number.greaterThanOrEquals("indices.length", t.length, 3),
588
+ b.typeOf.number.equals("indices.length % 3", "0", t.length % 3, 0),
589
+ b.typeOf.number.greaterThan("granularity", r, 0));
590
+ let s = t.slice(0),
591
+ o,
592
+ f = n.length,
593
+ c = new Array(f * 3),
594
+ l = new Array(f * 2),
595
+ y = 0,
596
+ v = 0;
597
+ for (o = 0; o < f; o++) {
598
+ let x = n[o];
599
+ if (((c[y++] = x.x), (c[y++] = x.y), (c[y++] = x.z), i)) {
600
+ let a = u[o];
601
+ ((l[v++] = a.x), (l[v++] = a.y));
602
+ }
603
+ }
604
+ let d = [],
605
+ h = {},
606
+ T = e.maximumRadius,
607
+ L = Y.chordLength(r, T),
608
+ z = L * L;
609
+ for (; s.length > 0; ) {
610
+ let x = s.pop(),
611
+ a = s.pop(),
612
+ m = s.pop(),
613
+ C = p.fromArray(c, m * 3, De),
614
+ E = p.fromArray(c, a * 3, Fe),
615
+ J = p.fromArray(c, x * 3, Pe),
616
+ Q,
617
+ j,
618
+ W;
619
+ i &&
620
+ ((Q = w.fromArray(l, m * 2, Re)),
621
+ (j = w.fromArray(l, a * 2, ze)),
622
+ (W = w.fromArray(l, x * 2, Be)));
623
+ let k = p.multiplyByScalar(p.normalize(C, Te), T, Te),
624
+ U = p.multiplyByScalar(p.normalize(E, Me), T, Me),
625
+ $ = p.multiplyByScalar(p.normalize(J, Ze), T, Ze),
626
+ G = p.magnitudeSquared(p.subtract(k, U, R)),
627
+ I = p.magnitudeSquared(p.subtract(U, $, R)),
628
+ X = p.magnitudeSquared(p.subtract($, k, R)),
629
+ H = Math.max(G, I, X),
630
+ M,
631
+ S,
632
+ g;
633
+ H > z
634
+ ? G === H
635
+ ? ((M = `${Math.min(m, a)} ${Math.max(m, a)}`),
636
+ (o = h[M]),
637
+ D(o) ||
638
+ ((S = p.add(C, E, R)),
639
+ p.multiplyByScalar(S, 0.5, S),
640
+ c.push(S.x, S.y, S.z),
641
+ (o = c.length / 3 - 1),
642
+ (h[M] = o),
643
+ i &&
644
+ ((g = w.add(Q, j, q)),
645
+ w.multiplyByScalar(g, 0.5, g),
646
+ l.push(g.x, g.y))),
647
+ s.push(m, o, x),
648
+ s.push(o, a, x))
649
+ : I === H
650
+ ? ((M = `${Math.min(a, x)} ${Math.max(a, x)}`),
651
+ (o = h[M]),
652
+ D(o) ||
653
+ ((S = p.add(E, J, R)),
654
+ p.multiplyByScalar(S, 0.5, S),
655
+ c.push(S.x, S.y, S.z),
656
+ (o = c.length / 3 - 1),
657
+ (h[M] = o),
658
+ i &&
659
+ ((g = w.add(j, W, q)),
660
+ w.multiplyByScalar(g, 0.5, g),
661
+ l.push(g.x, g.y))),
662
+ s.push(a, o, m),
663
+ s.push(o, x, m))
664
+ : X === H &&
665
+ ((M = `${Math.min(x, m)} ${Math.max(x, m)}`),
666
+ (o = h[M]),
667
+ D(o) ||
668
+ ((S = p.add(J, C, R)),
669
+ p.multiplyByScalar(S, 0.5, S),
670
+ c.push(S.x, S.y, S.z),
671
+ (o = c.length / 3 - 1),
672
+ (h[M] = o),
673
+ i &&
674
+ ((g = w.add(W, Q, q)),
675
+ w.multiplyByScalar(g, 0.5, g),
676
+ l.push(g.x, g.y))),
677
+ s.push(x, o, a),
678
+ s.push(o, m, a))
679
+ : (d.push(m), d.push(a), d.push(x));
680
+ }
681
+ let F = {
682
+ attributes: {
683
+ position: new ne({
684
+ componentDatatype: te.DOUBLE,
685
+ componentsPerAttribute: 3,
686
+ values: c,
687
+ }),
688
+ },
689
+ indices: d,
690
+ primitiveType: he.TRIANGLES,
691
+ };
692
+ return (
693
+ i &&
694
+ (F.attributes.st = new ne({
695
+ componentDatatype: te.FLOAT,
696
+ componentsPerAttribute: 2,
697
+ values: l,
698
+ })),
699
+ new pe(F)
700
+ );
701
+ };
702
+ var nt = new ee(),
703
+ rt = new ee(),
704
+ it = new ee(),
705
+ we = new ee();
706
+ B.computeRhumbLineSubdivision = function (e, n, t, u, r) {
707
+ r = K(r, Y.RADIANS_PER_DEGREE);
708
+ let i = D(u);
709
+ (b.typeOf.object("ellipsoid", e),
710
+ b.defined("positions", n),
711
+ b.defined("indices", t),
712
+ b.typeOf.number.greaterThanOrEquals("indices.length", t.length, 3),
713
+ b.typeOf.number.equals("indices.length % 3", "0", t.length % 3, 0),
714
+ b.typeOf.number.greaterThan("granularity", r, 0));
715
+ let s = t.slice(0),
716
+ o,
717
+ f = n.length,
718
+ c = new Array(f * 3),
719
+ l = new Array(f * 2),
720
+ y = 0,
721
+ v = 0;
722
+ for (o = 0; o < f; o++) {
723
+ let m = n[o];
724
+ if (((c[y++] = m.x), (c[y++] = m.y), (c[y++] = m.z), i)) {
725
+ let C = u[o];
726
+ ((l[v++] = C.x), (l[v++] = C.y));
727
+ }
728
+ }
729
+ let d = [],
730
+ h = {},
731
+ T = e.maximumRadius,
732
+ L = Y.chordLength(r, T),
733
+ z = new ue(void 0, void 0, e),
734
+ F = new ue(void 0, void 0, e),
735
+ x = new ue(void 0, void 0, e);
736
+ for (; s.length > 0; ) {
737
+ let m = s.pop(),
738
+ C = s.pop(),
739
+ E = s.pop(),
740
+ J = p.fromArray(c, E * 3, De),
741
+ Q = p.fromArray(c, C * 3, Fe),
742
+ j = p.fromArray(c, m * 3, Pe),
743
+ W,
744
+ k,
745
+ U;
746
+ i &&
747
+ ((W = w.fromArray(l, E * 2, Re)),
748
+ (k = w.fromArray(l, C * 2, ze)),
749
+ (U = w.fromArray(l, m * 2, Be)));
750
+ let $ = e.cartesianToCartographic(J, nt),
751
+ G = e.cartesianToCartographic(Q, rt),
752
+ I = e.cartesianToCartographic(j, it);
753
+ z.setEndPoints($, G);
754
+ let X = z.surfaceDistance;
755
+ F.setEndPoints(G, I);
756
+ let H = F.surfaceDistance;
757
+ x.setEndPoints(I, $);
758
+ let M = x.surfaceDistance,
759
+ S = Math.max(X, H, M),
760
+ g,
761
+ P,
762
+ _,
763
+ Z,
764
+ O;
765
+ S > L
766
+ ? X === S
767
+ ? ((g = `${Math.min(E, C)} ${Math.max(E, C)}`),
768
+ (o = h[g]),
769
+ D(o) ||
770
+ ((P = z.interpolateUsingFraction(0.5, we)),
771
+ (_ = ($.height + G.height) * 0.5),
772
+ (Z = p.fromRadians(P.longitude, P.latitude, _, e, R)),
773
+ c.push(Z.x, Z.y, Z.z),
774
+ (o = c.length / 3 - 1),
775
+ (h[g] = o),
776
+ i &&
777
+ ((O = w.add(W, k, q)),
778
+ w.multiplyByScalar(O, 0.5, O),
779
+ l.push(O.x, O.y))),
780
+ s.push(E, o, m),
781
+ s.push(o, C, m))
782
+ : H === S
783
+ ? ((g = `${Math.min(C, m)} ${Math.max(C, m)}`),
784
+ (o = h[g]),
785
+ D(o) ||
786
+ ((P = F.interpolateUsingFraction(0.5, we)),
787
+ (_ = (G.height + I.height) * 0.5),
788
+ (Z = p.fromRadians(P.longitude, P.latitude, _, e, R)),
789
+ c.push(Z.x, Z.y, Z.z),
790
+ (o = c.length / 3 - 1),
791
+ (h[g] = o),
792
+ i &&
793
+ ((O = w.add(k, U, q)),
794
+ w.multiplyByScalar(O, 0.5, O),
795
+ l.push(O.x, O.y))),
796
+ s.push(C, o, E),
797
+ s.push(o, m, E))
798
+ : M === S &&
799
+ ((g = `${Math.min(m, E)} ${Math.max(m, E)}`),
800
+ (o = h[g]),
801
+ D(o) ||
802
+ ((P = x.interpolateUsingFraction(0.5, we)),
803
+ (_ = (I.height + $.height) * 0.5),
804
+ (Z = p.fromRadians(P.longitude, P.latitude, _, e, R)),
805
+ c.push(Z.x, Z.y, Z.z),
806
+ (o = c.length / 3 - 1),
807
+ (h[g] = o),
808
+ i &&
809
+ ((O = w.add(U, W, q)),
810
+ w.multiplyByScalar(O, 0.5, O),
811
+ l.push(O.x, O.y))),
812
+ s.push(m, o, C),
813
+ s.push(o, E, C))
814
+ : (d.push(E), d.push(C), d.push(m));
815
+ }
816
+ let a = {
817
+ attributes: {
818
+ position: new ne({
819
+ componentDatatype: te.DOUBLE,
820
+ componentsPerAttribute: 3,
821
+ values: c,
822
+ }),
823
+ },
824
+ indices: d,
825
+ primitiveType: he.TRIANGLES,
826
+ };
827
+ return (
828
+ i &&
829
+ (a.attributes.st = new ne({
830
+ componentDatatype: te.FLOAT,
831
+ componentsPerAttribute: 2,
832
+ values: l,
833
+ })),
834
+ new pe(a)
835
+ );
836
+ };
837
+ B.scaleToGeodeticHeight = function (e, n, t, u) {
838
+ t = K(t, Se.default);
839
+ let r = et,
840
+ i = tt;
841
+ if (((n = K(n, 0)), (u = K(u, !0)), D(e))) {
842
+ let s = e.length;
843
+ for (let o = 0; o < s; o += 3)
844
+ (p.fromArray(e, o, i),
845
+ u && (i = t.scaleToGeodeticSurface(i, i)),
846
+ n !== 0 &&
847
+ ((r = t.geodeticSurfaceNormal(i, r)),
848
+ p.multiplyByScalar(r, n, r),
849
+ p.add(i, r, i)),
850
+ (e[o] = i.x),
851
+ (e[o + 1] = i.y),
852
+ (e[o + 2] = i.z));
853
+ }
854
+ return e;
855
+ };
856
+ var At = B;
857
+ export { ve as a, At as b };