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,34 @@
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
+ self.onmessage = function (a) {
27
+ let s = a.data.array,
28
+ e = self.webkitPostMessage || self.postMessage;
29
+ try {
30
+ e({ array: s }, [s.buffer]);
31
+ } catch {
32
+ e({});
33
+ }
34
+ };
@@ -0,0 +1,534 @@
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 be, b as Ne } from "./chunk-CV7DLCWG.js";
27
+ import { a as Ae } from "./chunk-PXCJYT2S.js";
28
+ import { a as ue } from "./chunk-Q6L7X3LP.js";
29
+ import { a as ee } from "./chunk-ABGXSJNX.js";
30
+ import "./chunk-KF5NF354.js";
31
+ import "./chunk-4WRMLZA7.js";
32
+ import "./chunk-TAMCUKAR.js";
33
+ import "./chunk-PDMQLSBL.js";
34
+ import { a as Ve } from "./chunk-P37AI2DW.js";
35
+ import { d as de } from "./chunk-TMSETF7M.js";
36
+ import { h as Se } from "./chunk-7Z5IIKOJ.js";
37
+ import "./chunk-KZNJOCYU.js";
38
+ import { a as A, b as Ie, c as Z, d as Ce } from "./chunk-POASMU2N.js";
39
+ import { a as N } from "./chunk-R6KGAEF6.js";
40
+ import "./chunk-3C7WC463.js";
41
+ import "./chunk-II4VNKYR.js";
42
+ import "./chunk-IUA6FAOZ.js";
43
+ import { a as V, b as q } from "./chunk-UH2WFNTA.js";
44
+ import { e as f } from "./chunk-PEYJTJPE.js";
45
+ var ne = {};
46
+ ne.clipTriangleAtAxisAlignedThreshold = function (n, h, o, i, s, e) {
47
+ if (!f(n)) throw new V("threshold is required.");
48
+ if (!f(h)) throw new V("keepAbove is required.");
49
+ if (!f(o)) throw new V("u0 is required.");
50
+ if (!f(i)) throw new V("u1 is required.");
51
+ if (!f(s)) throw new V("u2 is required.");
52
+ f(e) ? (e.length = 0) : (e = []);
53
+ let g, w, c;
54
+ h
55
+ ? ((g = o < n), (w = i < n), (c = s < n))
56
+ : ((g = o > n), (w = i > n), (c = s > n));
57
+ let p = g + w + c,
58
+ d,
59
+ u,
60
+ r,
61
+ l,
62
+ I,
63
+ C;
64
+ return (
65
+ p === 1
66
+ ? g
67
+ ? ((d = (n - o) / (i - o)),
68
+ (u = (n - o) / (s - o)),
69
+ e.push(1),
70
+ e.push(2),
71
+ u !== 1 && (e.push(-1), e.push(0), e.push(2), e.push(u)),
72
+ d !== 1 && (e.push(-1), e.push(0), e.push(1), e.push(d)))
73
+ : w
74
+ ? ((r = (n - i) / (s - i)),
75
+ (l = (n - i) / (o - i)),
76
+ e.push(2),
77
+ e.push(0),
78
+ l !== 1 && (e.push(-1), e.push(1), e.push(0), e.push(l)),
79
+ r !== 1 && (e.push(-1), e.push(1), e.push(2), e.push(r)))
80
+ : c &&
81
+ ((I = (n - s) / (o - s)),
82
+ (C = (n - s) / (i - s)),
83
+ e.push(0),
84
+ e.push(1),
85
+ C !== 1 && (e.push(-1), e.push(2), e.push(1), e.push(C)),
86
+ I !== 1 && (e.push(-1), e.push(2), e.push(0), e.push(I)))
87
+ : p === 2
88
+ ? !g && o !== n
89
+ ? ((l = (n - i) / (o - i)),
90
+ (I = (n - s) / (o - s)),
91
+ e.push(0),
92
+ e.push(-1),
93
+ e.push(1),
94
+ e.push(0),
95
+ e.push(l),
96
+ e.push(-1),
97
+ e.push(2),
98
+ e.push(0),
99
+ e.push(I))
100
+ : !w && i !== n
101
+ ? ((C = (n - s) / (i - s)),
102
+ (d = (n - o) / (i - o)),
103
+ e.push(1),
104
+ e.push(-1),
105
+ e.push(2),
106
+ e.push(1),
107
+ e.push(C),
108
+ e.push(-1),
109
+ e.push(0),
110
+ e.push(1),
111
+ e.push(d))
112
+ : !c &&
113
+ s !== n &&
114
+ ((u = (n - o) / (s - o)),
115
+ (r = (n - i) / (s - i)),
116
+ e.push(2),
117
+ e.push(-1),
118
+ e.push(0),
119
+ e.push(2),
120
+ e.push(u),
121
+ e.push(-1),
122
+ e.push(1),
123
+ e.push(2),
124
+ e.push(r))
125
+ : p !== 3 && (e.push(0), e.push(1), e.push(2)),
126
+ e
127
+ );
128
+ };
129
+ ne.computeBarycentricCoordinates = function (n, h, o, i, s, e, g, w, c) {
130
+ if (!f(n)) throw new V("x is required.");
131
+ if (!f(h)) throw new V("y is required.");
132
+ if (!f(o)) throw new V("x1 is required.");
133
+ if (!f(i)) throw new V("y1 is required.");
134
+ if (!f(s)) throw new V("x2 is required.");
135
+ if (!f(e)) throw new V("y2 is required.");
136
+ if (!f(g)) throw new V("x3 is required.");
137
+ if (!f(w)) throw new V("y3 is required.");
138
+ let p = o - g,
139
+ d = g - s,
140
+ u = e - w,
141
+ r = i - w,
142
+ l = 1 / (u * p + d * r),
143
+ I = h - w,
144
+ C = n - g,
145
+ R = (u * C + d * I) * l,
146
+ O = (-r * C + p * I) * l,
147
+ W = 1 - R - O;
148
+ return f(c) ? ((c.x = R), (c.y = O), (c.z = W), c) : new A(R, O, W);
149
+ };
150
+ ne.computeLineSegmentLineSegmentIntersection = function (
151
+ n,
152
+ h,
153
+ o,
154
+ i,
155
+ s,
156
+ e,
157
+ g,
158
+ w,
159
+ c,
160
+ ) {
161
+ (q.typeOf.number("x00", n),
162
+ q.typeOf.number("y00", h),
163
+ q.typeOf.number("x01", o),
164
+ q.typeOf.number("y01", i),
165
+ q.typeOf.number("x10", s),
166
+ q.typeOf.number("y10", e),
167
+ q.typeOf.number("x11", g),
168
+ q.typeOf.number("y11", w));
169
+ let p = (g - s) * (h - e) - (w - e) * (n - s),
170
+ d = (o - n) * (h - e) - (i - h) * (n - s),
171
+ u = (w - e) * (o - n) - (g - s) * (i - h);
172
+ if (u === 0) return;
173
+ let r = p / u,
174
+ l = d / u;
175
+ if (r >= 0 && r <= 1 && l >= 0 && l <= 1)
176
+ return (
177
+ f(c) || (c = new Z()),
178
+ (c.x = n + r * (o - n)),
179
+ (c.y = h + r * (i - h)),
180
+ c
181
+ );
182
+ };
183
+ var ie = ne;
184
+ var a = 32767,
185
+ z = (a / 2) | 0,
186
+ Me = [],
187
+ ze = [],
188
+ Xe = [],
189
+ te = new Ie(),
190
+ E = new A(),
191
+ Ke = [],
192
+ We = [],
193
+ Ye = [],
194
+ Le = [],
195
+ _e = [],
196
+ Je = new A(),
197
+ Qe = new de(),
198
+ Ze = new ue(),
199
+ Ge = new Z(),
200
+ $e = new A();
201
+ function je(n, h) {
202
+ let o = n.isEastChild,
203
+ i = n.isNorthChild,
204
+ s = o ? z : 0,
205
+ e = o ? a : z,
206
+ g = i ? z : 0,
207
+ w = i ? a : z,
208
+ c = Ke,
209
+ p = We,
210
+ d = Ye,
211
+ u = _e;
212
+ ((c.length = 0), (p.length = 0), (d.length = 0), (u.length = 0));
213
+ let r = Le;
214
+ r.length = 0;
215
+ let l = {},
216
+ I = n.vertices,
217
+ C = n.indices;
218
+ C = C.subarray(0, n.indexCountWithoutSkirts);
219
+ let R = Ne.clone(n.encoding),
220
+ O = R.hasVertexNormals,
221
+ W = 0,
222
+ Y = n.vertexCountWithoutSkirts,
223
+ se = n.minimumHeight,
224
+ ae = n.maximumHeight,
225
+ D = new Array(Y),
226
+ G = new Array(Y),
227
+ L = new Array(Y),
228
+ F = O ? new Array(Y * 2) : void 0,
229
+ $ = 20,
230
+ H,
231
+ t,
232
+ k,
233
+ x,
234
+ y;
235
+ for (t = 0, k = 0; t < Y; ++t, k += 2) {
236
+ let v = R.decodeTextureCoordinates(I, t, Ge);
237
+ if (
238
+ ((H = R.decodeHeight(I, t)),
239
+ (x = N.clamp((v.x * a) | 0, 0, a)),
240
+ (y = N.clamp((v.y * a) | 0, 0, a)),
241
+ (L[t] = N.clamp((((H - se) / (ae - se)) * a) | 0, 0, a)),
242
+ x < $ && (x = 0),
243
+ y < $ && (y = 0),
244
+ a - x < $ && (x = a),
245
+ a - y < $ && (y = a),
246
+ (D[t] = x),
247
+ (G[t] = y),
248
+ O)
249
+ ) {
250
+ let Q = R.getOctEncodedNormal(I, t, $e);
251
+ ((F[k] = Q.x), (F[k + 1] = Q.y));
252
+ }
253
+ ((o && x >= z) || (!o && x <= z)) &&
254
+ ((i && y >= z) || (!i && y <= z)) &&
255
+ ((l[t] = W),
256
+ c.push(x),
257
+ p.push(y),
258
+ d.push(L[t]),
259
+ O && (u.push(F[k]), u.push(F[k + 1])),
260
+ ++W);
261
+ }
262
+ let T = [];
263
+ (T.push(new m()), T.push(new m()), T.push(new m()));
264
+ let B = [];
265
+ (B.push(new m()), B.push(new m()), B.push(new m()));
266
+ let b, j;
267
+ for (t = 0; t < C.length; t += 3) {
268
+ let v = C[t],
269
+ Q = C[t + 1],
270
+ Be = C[t + 2],
271
+ De = D[v],
272
+ Fe = D[Q],
273
+ ke = D[Be];
274
+ (T[0].initializeIndexed(D, G, L, F, v),
275
+ T[1].initializeIndexed(D, G, L, F, Q),
276
+ T[2].initializeIndexed(D, G, L, F, Be));
277
+ let P = ie.clipTriangleAtAxisAlignedThreshold(z, o, De, Fe, ke, Me);
278
+ ((b = 0),
279
+ !(b >= P.length) &&
280
+ ((b = B[0].initializeFromClipResult(P, b, T)),
281
+ !(b >= P.length) &&
282
+ ((b = B[1].initializeFromClipResult(P, b, T)),
283
+ !(b >= P.length) &&
284
+ ((b = B[2].initializeFromClipResult(P, b, T)),
285
+ (j = ie.clipTriangleAtAxisAlignedThreshold(
286
+ z,
287
+ i,
288
+ B[0].getV(),
289
+ B[1].getV(),
290
+ B[2].getV(),
291
+ ze,
292
+ )),
293
+ Oe(c, p, d, u, r, l, j, B, O),
294
+ b < P.length &&
295
+ (B[2].clone(B[1]),
296
+ B[2].initializeFromClipResult(P, b, T),
297
+ (j = ie.clipTriangleAtAxisAlignedThreshold(
298
+ z,
299
+ i,
300
+ B[0].getV(),
301
+ B[1].getV(),
302
+ B[2].getV(),
303
+ ze,
304
+ )),
305
+ Oe(c, p, d, u, r, l, j, B, O))))));
306
+ }
307
+ let He = o ? -a : 0,
308
+ qe = i ? -a : 0,
309
+ me = [],
310
+ ge = [],
311
+ le = [],
312
+ we = [],
313
+ U = Number.MAX_VALUE,
314
+ _ = -U,
315
+ M = Xe;
316
+ M.length = 0;
317
+ let re = Ce.clone(n.ellipsoid),
318
+ J = Se.clone(n.childRectangle),
319
+ Ee = J.north,
320
+ Re = J.south,
321
+ ce = J.east,
322
+ xe = J.west;
323
+ for (ce < xe && (ce += N.TWO_PI), t = 0; t < c.length; ++t)
324
+ ((x = Math.round(c[t])),
325
+ x <= s
326
+ ? (me.push(t), (x = 0))
327
+ : x >= e
328
+ ? (le.push(t), (x = a))
329
+ : (x = x * 2 + He),
330
+ (c[t] = x),
331
+ (y = Math.round(p[t])),
332
+ y <= g
333
+ ? (ge.push(t), (y = 0))
334
+ : y >= w
335
+ ? (we.push(t), (y = a))
336
+ : (y = y * 2 + qe),
337
+ (p[t] = y),
338
+ (H = N.lerp(se, ae, d[t] / a)),
339
+ H < U && (U = H),
340
+ H > _ && (_ = H),
341
+ (d[t] = H),
342
+ (te.longitude = N.lerp(xe, ce, x / a)),
343
+ (te.latitude = N.lerp(Re, Ee, y / a)),
344
+ (te.height = H),
345
+ re.cartographicToCartesian(te, E),
346
+ M.push(E.x),
347
+ M.push(E.y),
348
+ M.push(E.z));
349
+ let he = de.fromVertices(M, A.ZERO, 3, Qe),
350
+ Ue = ue.fromRectangle(J, U, _, re, Ze),
351
+ ve = new be(
352
+ re,
353
+ ).computeHorizonCullingPointFromVerticesPossiblyUnderEllipsoid(
354
+ he.center,
355
+ M,
356
+ 3,
357
+ he.center,
358
+ U,
359
+ Je,
360
+ ),
361
+ Pe = _ - U,
362
+ X = new Uint16Array(c.length + p.length + d.length);
363
+ for (t = 0; t < c.length; ++t) X[t] = c[t];
364
+ let fe = c.length;
365
+ for (t = 0; t < p.length; ++t) X[fe + t] = p[t];
366
+ for (fe += p.length, t = 0; t < d.length; ++t)
367
+ X[fe + t] = (a * (d[t] - U)) / Pe;
368
+ let pe = Ve.createTypedArray(c.length, r),
369
+ ye;
370
+ if (O) {
371
+ let v = new Uint8Array(u);
372
+ (h.push(X.buffer, pe.buffer, v.buffer), (ye = v.buffer));
373
+ } else h.push(X.buffer, pe.buffer);
374
+ return {
375
+ vertices: X.buffer,
376
+ encodedNormals: ye,
377
+ indices: pe.buffer,
378
+ minimumHeight: U,
379
+ maximumHeight: _,
380
+ westIndices: me,
381
+ southIndices: ge,
382
+ eastIndices: le,
383
+ northIndices: we,
384
+ boundingSphere: he,
385
+ orientedBoundingBox: Ue,
386
+ horizonOcclusionPoint: ve,
387
+ };
388
+ }
389
+ function m() {
390
+ ((this.vertexBuffer = void 0),
391
+ (this.index = void 0),
392
+ (this.first = void 0),
393
+ (this.second = void 0),
394
+ (this.ratio = void 0));
395
+ }
396
+ m.prototype.clone = function (n) {
397
+ return (
398
+ f(n) || (n = new m()),
399
+ (n.uBuffer = this.uBuffer),
400
+ (n.vBuffer = this.vBuffer),
401
+ (n.heightBuffer = this.heightBuffer),
402
+ (n.normalBuffer = this.normalBuffer),
403
+ (n.index = this.index),
404
+ (n.first = this.first),
405
+ (n.second = this.second),
406
+ (n.ratio = this.ratio),
407
+ n
408
+ );
409
+ };
410
+ m.prototype.initializeIndexed = function (n, h, o, i, s) {
411
+ ((this.uBuffer = n),
412
+ (this.vBuffer = h),
413
+ (this.heightBuffer = o),
414
+ (this.normalBuffer = i),
415
+ (this.index = s),
416
+ (this.first = void 0),
417
+ (this.second = void 0),
418
+ (this.ratio = void 0));
419
+ };
420
+ m.prototype.initializeFromClipResult = function (n, h, o) {
421
+ let i = h + 1;
422
+ return (
423
+ n[h] !== -1
424
+ ? o[n[h]].clone(this)
425
+ : ((this.vertexBuffer = void 0),
426
+ (this.index = void 0),
427
+ (this.first = o[n[i]]),
428
+ ++i,
429
+ (this.second = o[n[i]]),
430
+ ++i,
431
+ (this.ratio = n[i]),
432
+ ++i),
433
+ i
434
+ );
435
+ };
436
+ m.prototype.getKey = function () {
437
+ return this.isIndexed()
438
+ ? this.index
439
+ : JSON.stringify({
440
+ first: this.first.getKey(),
441
+ second: this.second.getKey(),
442
+ ratio: this.ratio,
443
+ });
444
+ };
445
+ m.prototype.isIndexed = function () {
446
+ return f(this.index);
447
+ };
448
+ m.prototype.getH = function () {
449
+ return f(this.index)
450
+ ? this.heightBuffer[this.index]
451
+ : N.lerp(this.first.getH(), this.second.getH(), this.ratio);
452
+ };
453
+ m.prototype.getU = function () {
454
+ return f(this.index)
455
+ ? this.uBuffer[this.index]
456
+ : N.lerp(this.first.getU(), this.second.getU(), this.ratio);
457
+ };
458
+ m.prototype.getV = function () {
459
+ return f(this.index)
460
+ ? this.vBuffer[this.index]
461
+ : N.lerp(this.first.getV(), this.second.getV(), this.ratio);
462
+ };
463
+ var K = new Z(),
464
+ oe = -1,
465
+ en = [new A(), new A()],
466
+ nn = [new A(), new A()];
467
+ function Te(n, h) {
468
+ ++oe;
469
+ let o = en[oe],
470
+ i = nn[oe];
471
+ return (
472
+ (o = ee.octDecode(n.first.getNormalX(), n.first.getNormalY(), o)),
473
+ (i = ee.octDecode(n.second.getNormalX(), n.second.getNormalY(), i)),
474
+ (E = A.lerp(o, i, n.ratio, E)),
475
+ A.normalize(E, E),
476
+ ee.octEncode(E, h),
477
+ --oe,
478
+ h
479
+ );
480
+ }
481
+ m.prototype.getNormalX = function () {
482
+ return f(this.index)
483
+ ? this.normalBuffer[this.index * 2]
484
+ : ((K = Te(this, K)), K.x);
485
+ };
486
+ m.prototype.getNormalY = function () {
487
+ return f(this.index)
488
+ ? this.normalBuffer[this.index * 2 + 1]
489
+ : ((K = Te(this, K)), K.y);
490
+ };
491
+ var S = [];
492
+ S.push(new m());
493
+ S.push(new m());
494
+ S.push(new m());
495
+ S.push(new m());
496
+ function Oe(n, h, o, i, s, e, g, w, c) {
497
+ if (g.length === 0) return;
498
+ let p = 0,
499
+ d = 0;
500
+ for (; d < g.length; ) d = S[p++].initializeFromClipResult(g, d, w);
501
+ for (let u = 0; u < p; ++u) {
502
+ let r = S[u];
503
+ if (r.isIndexed())
504
+ ((r.newIndex = e[r.index]),
505
+ (r.uBuffer = n),
506
+ (r.vBuffer = h),
507
+ (r.heightBuffer = o),
508
+ c && (r.normalBuffer = i));
509
+ else {
510
+ let l = r.getKey();
511
+ if (f(e[l])) r.newIndex = e[l];
512
+ else {
513
+ let I = n.length;
514
+ (n.push(r.getU()),
515
+ h.push(r.getV()),
516
+ o.push(r.getH()),
517
+ c && (i.push(r.getNormalX()), i.push(r.getNormalY())),
518
+ (r.newIndex = I),
519
+ (e[l] = I));
520
+ }
521
+ }
522
+ }
523
+ p === 3
524
+ ? (s.push(S[0].newIndex), s.push(S[1].newIndex), s.push(S[2].newIndex))
525
+ : p === 4 &&
526
+ (s.push(S[0].newIndex),
527
+ s.push(S[1].newIndex),
528
+ s.push(S[2].newIndex),
529
+ s.push(S[0].newIndex),
530
+ s.push(S[2].newIndex),
531
+ s.push(S[3].newIndex));
532
+ }
533
+ var An = Ae(je);
534
+ export { An as default };