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,341 @@
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 w, b as z, i as S } from "./chunk-7Z5IIKOJ.js";
27
+ import { a as y } from "./chunk-KZNJOCYU.js";
28
+ import { a as C, c as T, e as x } from "./chunk-POASMU2N.js";
29
+ import { a as h } from "./chunk-R6KGAEF6.js";
30
+ import { a as u, b as a } from "./chunk-UH2WFNTA.js";
31
+ import { e as b } from "./chunk-PEYJTJPE.js";
32
+ var c = {
33
+ SCALAR: "SCALAR",
34
+ VEC2: "VEC2",
35
+ VEC3: "VEC3",
36
+ VEC4: "VEC4",
37
+ MAT2: "MAT2",
38
+ MAT3: "MAT3",
39
+ MAT4: "MAT4",
40
+ };
41
+ c.getMathType = function (e) {
42
+ switch (e) {
43
+ case c.SCALAR:
44
+ return Number;
45
+ case c.VEC2:
46
+ return T;
47
+ case c.VEC3:
48
+ return C;
49
+ case c.VEC4:
50
+ return w;
51
+ case c.MAT2:
52
+ return S;
53
+ case c.MAT3:
54
+ return x;
55
+ case c.MAT4:
56
+ return z;
57
+ default:
58
+ throw new u("attributeType is not a valid value.");
59
+ }
60
+ };
61
+ c.getNumberOfComponents = function (e) {
62
+ switch (e) {
63
+ case c.SCALAR:
64
+ return 1;
65
+ case c.VEC2:
66
+ return 2;
67
+ case c.VEC3:
68
+ return 3;
69
+ case c.VEC4:
70
+ case c.MAT2:
71
+ return 4;
72
+ case c.MAT3:
73
+ return 9;
74
+ case c.MAT4:
75
+ return 16;
76
+ default:
77
+ throw new u("attributeType is not a valid value.");
78
+ }
79
+ };
80
+ c.getAttributeLocationCount = function (e) {
81
+ switch (e) {
82
+ case c.SCALAR:
83
+ case c.VEC2:
84
+ case c.VEC3:
85
+ case c.VEC4:
86
+ return 1;
87
+ case c.MAT2:
88
+ return 2;
89
+ case c.MAT3:
90
+ return 3;
91
+ case c.MAT4:
92
+ return 4;
93
+ default:
94
+ throw new u("attributeType is not a valid value.");
95
+ }
96
+ };
97
+ c.getGlslType = function (e) {
98
+ switch ((a.typeOf.string("attributeType", e), e)) {
99
+ case c.SCALAR:
100
+ return "float";
101
+ case c.VEC2:
102
+ return "vec2";
103
+ case c.VEC3:
104
+ return "vec3";
105
+ case c.VEC4:
106
+ return "vec4";
107
+ case c.MAT2:
108
+ return "mat2";
109
+ case c.MAT3:
110
+ return "mat3";
111
+ case c.MAT4:
112
+ return "mat4";
113
+ default:
114
+ throw new u("attributeType is not a valid value.");
115
+ }
116
+ };
117
+ var N = Object.freeze(c);
118
+ var V = 1 / 256,
119
+ D = 256,
120
+ r = {};
121
+ r.octEncodeInRange = function (e, t, n) {
122
+ (a.defined("vector", e), a.defined("result", n));
123
+ let o = C.magnitudeSquared(e);
124
+ if (Math.abs(o - 1) > h.EPSILON6) throw new u("vector must be normalized.");
125
+ if (
126
+ ((n.x = e.x / (Math.abs(e.x) + Math.abs(e.y) + Math.abs(e.z))),
127
+ (n.y = e.y / (Math.abs(e.x) + Math.abs(e.y) + Math.abs(e.z))),
128
+ e.z < 0)
129
+ ) {
130
+ let i = n.x,
131
+ d = n.y;
132
+ ((n.x = (1 - Math.abs(d)) * h.signNotZero(i)),
133
+ (n.y = (1 - Math.abs(i)) * h.signNotZero(d)));
134
+ }
135
+ return ((n.x = h.toSNorm(n.x, t)), (n.y = h.toSNorm(n.y, t)), n);
136
+ };
137
+ r.octEncode = function (e, t) {
138
+ return r.octEncodeInRange(e, 255, t);
139
+ };
140
+ var A = new T(),
141
+ F = new Uint8Array(1);
142
+ function E(e) {
143
+ return ((F[0] = e), F[0]);
144
+ }
145
+ r.octEncodeToCartesian4 = function (e, t) {
146
+ return (
147
+ r.octEncodeInRange(e, 65535, A),
148
+ (t.x = E(A.x * V)),
149
+ (t.y = E(A.x)),
150
+ (t.z = E(A.y * V)),
151
+ (t.w = E(A.y)),
152
+ t
153
+ );
154
+ };
155
+ r.octDecodeInRange = function (e, t, n, o) {
156
+ if ((a.defined("result", o), e < 0 || e > n || t < 0 || t > n))
157
+ throw new u(
158
+ `x and y must be unsigned normalized integers between 0 and ${n}`,
159
+ );
160
+ if (
161
+ ((o.x = h.fromSNorm(e, n)),
162
+ (o.y = h.fromSNorm(t, n)),
163
+ (o.z = 1 - (Math.abs(o.x) + Math.abs(o.y))),
164
+ o.z < 0)
165
+ ) {
166
+ let i = o.x;
167
+ ((o.x = (1 - Math.abs(o.y)) * h.signNotZero(i)),
168
+ (o.y = (1 - Math.abs(i)) * h.signNotZero(o.y)));
169
+ }
170
+ return C.normalize(o, o);
171
+ };
172
+ r.octDecode = function (e, t, n) {
173
+ return r.octDecodeInRange(e, t, 255, n);
174
+ };
175
+ r.octDecodeFromCartesian4 = function (e, t) {
176
+ (a.typeOf.object("encoded", e), a.typeOf.object("result", t));
177
+ let n = e.x,
178
+ o = e.y,
179
+ i = e.z,
180
+ d = e.w;
181
+ if (
182
+ n < 0 ||
183
+ n > 255 ||
184
+ o < 0 ||
185
+ o > 255 ||
186
+ i < 0 ||
187
+ i > 255 ||
188
+ d < 0 ||
189
+ d > 255
190
+ )
191
+ throw new u(
192
+ "x, y, z, and w must be unsigned normalized integers between 0 and 255",
193
+ );
194
+ let f = n * D + o,
195
+ s = i * D + d;
196
+ return r.octDecodeInRange(f, s, 65535, t);
197
+ };
198
+ r.octPackFloat = function (e) {
199
+ return (a.defined("encoded", e), 256 * e.x + e.y);
200
+ };
201
+ var l = new T();
202
+ r.octEncodeFloat = function (e) {
203
+ return (r.octEncode(e, l), r.octPackFloat(l));
204
+ };
205
+ r.octDecodeFloat = function (e, t) {
206
+ a.defined("value", e);
207
+ let n = e / 256,
208
+ o = Math.floor(n),
209
+ i = (n - o) * 256;
210
+ return r.octDecode(o, i, t);
211
+ };
212
+ r.octPack = function (e, t, n, o) {
213
+ (a.defined("v1", e),
214
+ a.defined("v2", t),
215
+ a.defined("v3", n),
216
+ a.defined("result", o));
217
+ let i = r.octEncodeFloat(e),
218
+ d = r.octEncodeFloat(t),
219
+ f = r.octEncode(n, l);
220
+ return ((o.x = 65536 * f.x + i), (o.y = 65536 * f.y + d), o);
221
+ };
222
+ r.octUnpack = function (e, t, n, o) {
223
+ (a.defined("packed", e),
224
+ a.defined("v1", t),
225
+ a.defined("v2", n),
226
+ a.defined("v3", o));
227
+ let i = e.x / 65536,
228
+ d = Math.floor(i),
229
+ f = (i - d) * 65536;
230
+ i = e.y / 65536;
231
+ let s = Math.floor(i),
232
+ m = (i - s) * 65536;
233
+ (r.octDecodeFloat(f, t), r.octDecodeFloat(m, n), r.octDecode(d, s, o));
234
+ };
235
+ r.compressTextureCoordinates = function (e) {
236
+ a.defined("textureCoordinates", e);
237
+ let t = (e.x * 4095) | 0,
238
+ n = (e.y * 4095) | 0;
239
+ return 4096 * t + n;
240
+ };
241
+ r.decompressTextureCoordinates = function (e, t) {
242
+ (a.defined("compressed", e), a.defined("result", t));
243
+ let n = e / 4096,
244
+ o = Math.floor(n);
245
+ return ((t.x = o / 4095), (t.y = (e - o * 4096) / 4095), t);
246
+ };
247
+ function g(e) {
248
+ return (e >> 1) ^ -(e & 1);
249
+ }
250
+ r.zigZagDeltaDecode = function (e, t, n) {
251
+ (a.defined("uBuffer", e),
252
+ a.defined("vBuffer", t),
253
+ a.typeOf.number.equals(
254
+ "uBuffer.length",
255
+ "vBuffer.length",
256
+ e.length,
257
+ t.length,
258
+ ),
259
+ b(n) &&
260
+ a.typeOf.number.equals(
261
+ "uBuffer.length",
262
+ "heightBuffer.length",
263
+ e.length,
264
+ n.length,
265
+ ));
266
+ let o = e.length,
267
+ i = 0,
268
+ d = 0,
269
+ f = 0;
270
+ for (let s = 0; s < o; ++s)
271
+ ((i += g(e[s])),
272
+ (d += g(t[s])),
273
+ (e[s] = i),
274
+ (t[s] = d),
275
+ b(n) && ((f += g(n[s])), (n[s] = f)));
276
+ };
277
+ r.dequantize = function (e, t, n, o) {
278
+ (a.defined("typedArray", e),
279
+ a.defined("componentDatatype", t),
280
+ a.defined("type", n),
281
+ a.defined("count", o));
282
+ let i = N.getNumberOfComponents(n),
283
+ d;
284
+ switch (t) {
285
+ case y.BYTE:
286
+ d = 127;
287
+ break;
288
+ case y.UNSIGNED_BYTE:
289
+ d = 255;
290
+ break;
291
+ case y.SHORT:
292
+ d = 32767;
293
+ break;
294
+ case y.UNSIGNED_SHORT:
295
+ d = 65535;
296
+ break;
297
+ case y.INT:
298
+ d = 2147483647;
299
+ break;
300
+ case y.UNSIGNED_INT:
301
+ d = 4294967295;
302
+ break;
303
+ default:
304
+ throw new u(`Cannot dequantize component datatype: ${t}`);
305
+ }
306
+ let f = new Float32Array(o * i);
307
+ for (let s = 0; s < o; s++)
308
+ for (let m = 0; m < i; m++) {
309
+ let p = s * i + m;
310
+ f[p] = Math.max(e[p] / d, -1);
311
+ }
312
+ return f;
313
+ };
314
+ r.decodeRGB565 = function (e, t) {
315
+ a.defined("typedArray", e);
316
+ let n = e.length * 3;
317
+ b(t) &&
318
+ a.typeOf.number.equals(
319
+ "result.length",
320
+ "typedArray.length * 3",
321
+ t.length,
322
+ n,
323
+ );
324
+ let o = e.length;
325
+ b(t) || (t = new Float32Array(o * 3));
326
+ let i = 31,
327
+ d = 63,
328
+ f = 1 / 31,
329
+ s = 1 / 63;
330
+ for (let m = 0; m < o; m++) {
331
+ let p = e[m],
332
+ R = p >> 11,
333
+ I = (p >> 5) & d,
334
+ O = p & i,
335
+ M = 3 * m;
336
+ ((t[M] = R * f), (t[M + 1] = I * s), (t[M + 2] = O * f));
337
+ }
338
+ return t;
339
+ };
340
+ var W = r;
341
+ export { W as a };
@@ -0,0 +1,269 @@
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 _ } from "./chunk-W23CU777.js";
27
+ import { a as M } from "./chunk-FYOYUPXG.js";
28
+ import { b as G } from "./chunk-TAMCUKAR.js";
29
+ import { a as b } from "./chunk-PDMQLSBL.js";
30
+ import { b as R } from "./chunk-7Z5IIKOJ.js";
31
+ import { a, b as L, d as z } from "./chunk-POASMU2N.js";
32
+ import { a as E } from "./chunk-R6KGAEF6.js";
33
+ import { a as C } from "./chunk-IUA6FAOZ.js";
34
+ import { a as I } from "./chunk-UH2WFNTA.js";
35
+ import { e as T } from "./chunk-PEYJTJPE.js";
36
+ var p = {};
37
+ p.numberOfPoints = function (r, n, o) {
38
+ let e = a.distance(r, n);
39
+ return Math.ceil(e / o);
40
+ };
41
+ p.numberOfPointsRhumbLine = function (r, n, o) {
42
+ let e =
43
+ Math.pow(r.longitude - n.longitude, 2) +
44
+ Math.pow(r.latitude - n.latitude, 2);
45
+ return Math.max(1, Math.ceil(Math.sqrt(e / (o * o))));
46
+ };
47
+ var V = new L();
48
+ p.extractHeights = function (r, n) {
49
+ let o = r.length,
50
+ e = new Array(o);
51
+ for (let t = 0; t < o; t++) {
52
+ let l = r[t];
53
+ e[t] = n.cartesianToCartographic(l, V).height;
54
+ }
55
+ return e;
56
+ };
57
+ var Y = new R(),
58
+ F = new a(),
59
+ v = new a(),
60
+ j = new b(a.UNIT_X, 0),
61
+ H = new a(),
62
+ J = new b(a.UNIT_X, 0),
63
+ K = new a(),
64
+ Q = new a(),
65
+ k = [];
66
+ function q(r, n, o) {
67
+ let e = k;
68
+ e.length = r;
69
+ let t;
70
+ if (n === o) {
71
+ for (t = 0; t < r; t++) e[t] = n;
72
+ return e;
73
+ }
74
+ let u = (o - n) / r;
75
+ for (t = 0; t < r; t++) {
76
+ let d = n + t * u;
77
+ e[t] = d;
78
+ }
79
+ return e;
80
+ }
81
+ var x = new L(),
82
+ N = new L(),
83
+ D = new a(),
84
+ B = new a(),
85
+ W = new a(),
86
+ O = new _(),
87
+ S = new M();
88
+ function $(r, n, o, e, t, l, u, d) {
89
+ let i = e.scaleToGeodeticSurface(r, B),
90
+ w = e.scaleToGeodeticSurface(n, W),
91
+ h = p.numberOfPoints(r, n, o),
92
+ f = e.cartesianToCartographic(i, x),
93
+ y = e.cartesianToCartographic(w, N),
94
+ g = q(h, t, l);
95
+ O.setEndPoints(f, y);
96
+ let P = O.surfaceDistance / h,
97
+ c = d;
98
+ f.height = t;
99
+ let s = e.cartographicToCartesian(f, D);
100
+ (a.pack(s, u, c), (c += 3));
101
+ for (let m = 1; m < h; m++) {
102
+ let A = O.interpolateUsingSurfaceDistance(m * P, N);
103
+ ((A.height = g[m]),
104
+ (s = e.cartographicToCartesian(A, D)),
105
+ a.pack(s, u, c),
106
+ (c += 3));
107
+ }
108
+ return c;
109
+ }
110
+ function tt(r, n, o, e, t, l, u, d) {
111
+ let i = e.cartesianToCartographic(r, x),
112
+ w = e.cartesianToCartographic(n, N),
113
+ h = p.numberOfPointsRhumbLine(i, w, o);
114
+ ((i.height = 0), (w.height = 0));
115
+ let f = q(h, t, l);
116
+ (S.ellipsoid.equals(e) || (S = new M(void 0, void 0, e)),
117
+ S.setEndPoints(i, w));
118
+ let y = S.surfaceDistance / h,
119
+ g = d;
120
+ i.height = t;
121
+ let P = e.cartographicToCartesian(i, D);
122
+ (a.pack(P, u, g), (g += 3));
123
+ for (let c = 1; c < h; c++) {
124
+ let s = S.interpolateUsingSurfaceDistance(c * y, N);
125
+ ((s.height = f[c]),
126
+ (P = e.cartographicToCartesian(s, D)),
127
+ a.pack(P, u, g),
128
+ (g += 3));
129
+ }
130
+ return g;
131
+ }
132
+ p.wrapLongitude = function (r, n) {
133
+ let o = [],
134
+ e = [];
135
+ if (T(r) && r.length > 0) {
136
+ n = C(n, R.IDENTITY);
137
+ let t = R.inverseTransformation(n, Y),
138
+ l = R.multiplyByPoint(t, a.ZERO, F),
139
+ u = a.normalize(R.multiplyByPointAsVector(t, a.UNIT_Y, v), v),
140
+ d = b.fromPointNormal(l, u, j),
141
+ i = a.normalize(R.multiplyByPointAsVector(t, a.UNIT_X, H), H),
142
+ w = b.fromPointNormal(l, i, J),
143
+ h = 1;
144
+ o.push(a.clone(r[0]));
145
+ let f = o[0],
146
+ y = r.length;
147
+ for (let g = 1; g < y; ++g) {
148
+ let P = r[g];
149
+ if (b.getPointDistance(w, f) < 0 || b.getPointDistance(w, P) < 0) {
150
+ let c = G.lineSegmentPlane(f, P, d, K);
151
+ if (T(c)) {
152
+ let s = a.multiplyByScalar(u, 5e-9, Q);
153
+ (b.getPointDistance(d, f) < 0 && a.negate(s, s),
154
+ o.push(a.add(c, s, new a())),
155
+ e.push(h + 1),
156
+ a.negate(s, s),
157
+ o.push(a.add(c, s, new a())),
158
+ (h = 1));
159
+ }
160
+ }
161
+ (o.push(a.clone(r[g])), h++, (f = P));
162
+ }
163
+ e.push(h);
164
+ }
165
+ return { positions: o, lengths: e };
166
+ };
167
+ p.generateArc = function (r) {
168
+ T(r) || (r = {});
169
+ let n = r.positions;
170
+ if (!T(n)) throw new I("options.positions is required.");
171
+ let o = n.length,
172
+ e = C(r.ellipsoid, z.default),
173
+ t = C(r.height, 0),
174
+ l = Array.isArray(t);
175
+ if (o < 1) return [];
176
+ if (o === 1) {
177
+ let c = e.scaleToGeodeticSurface(n[0], B);
178
+ if (((t = l ? t[0] : t), t !== 0)) {
179
+ let s = e.geodeticSurfaceNormal(c, D);
180
+ (a.multiplyByScalar(s, t, s), a.add(c, s, c));
181
+ }
182
+ return [c.x, c.y, c.z];
183
+ }
184
+ let u = r.minDistance;
185
+ if (!T(u)) {
186
+ let c = C(r.granularity, E.RADIANS_PER_DEGREE);
187
+ u = E.chordLength(c, e.maximumRadius);
188
+ }
189
+ let d = 0,
190
+ i;
191
+ for (i = 0; i < o - 1; i++) d += p.numberOfPoints(n[i], n[i + 1], u);
192
+ let w = (d + 1) * 3,
193
+ h = new Array(w),
194
+ f = 0;
195
+ for (i = 0; i < o - 1; i++) {
196
+ let c = n[i],
197
+ s = n[i + 1],
198
+ m = l ? t[i] : t,
199
+ A = l ? t[i + 1] : t;
200
+ f = $(c, s, u, e, m, A, h, f);
201
+ }
202
+ k.length = 0;
203
+ let y = n[o - 1],
204
+ g = e.cartesianToCartographic(y, x);
205
+ g.height = l ? t[o - 1] : t;
206
+ let P = e.cartographicToCartesian(g, D);
207
+ return (a.pack(P, h, w - 3), h);
208
+ };
209
+ var U = new L(),
210
+ et = new L();
211
+ p.generateRhumbArc = function (r) {
212
+ T(r) || (r = {});
213
+ let n = r.positions;
214
+ if (!T(n)) throw new I("options.positions is required.");
215
+ let o = n.length,
216
+ e = C(r.ellipsoid, z.default),
217
+ t = C(r.height, 0),
218
+ l = Array.isArray(t);
219
+ if (o < 1) return [];
220
+ if (o === 1) {
221
+ let m = e.scaleToGeodeticSurface(n[0], B);
222
+ if (((t = l ? t[0] : t), t !== 0)) {
223
+ let A = e.geodeticSurfaceNormal(m, D);
224
+ (a.multiplyByScalar(A, t, A), a.add(m, A, m));
225
+ }
226
+ return [m.x, m.y, m.z];
227
+ }
228
+ let u = C(r.granularity, E.RADIANS_PER_DEGREE),
229
+ d = 0,
230
+ i,
231
+ w = e.cartesianToCartographic(n[0], U),
232
+ h;
233
+ for (i = 0; i < o - 1; i++)
234
+ ((h = e.cartesianToCartographic(n[i + 1], et)),
235
+ (d += p.numberOfPointsRhumbLine(w, h, u)),
236
+ (w = L.clone(h, U)));
237
+ let f = (d + 1) * 3,
238
+ y = new Array(f),
239
+ g = 0;
240
+ for (i = 0; i < o - 1; i++) {
241
+ let m = n[i],
242
+ A = n[i + 1],
243
+ X = l ? t[i] : t,
244
+ Z = l ? t[i + 1] : t;
245
+ g = tt(m, A, u, e, X, Z, y, g);
246
+ }
247
+ k.length = 0;
248
+ let P = n[o - 1],
249
+ c = e.cartesianToCartographic(P, x);
250
+ c.height = l ? t[o - 1] : t;
251
+ let s = e.cartographicToCartesian(c, D);
252
+ return (a.pack(s, y, f - 3), y);
253
+ };
254
+ p.generateCartesianArc = function (r) {
255
+ let n = p.generateArc(r),
256
+ o = n.length / 3,
257
+ e = new Array(o);
258
+ for (let t = 0; t < o; t++) e[t] = a.unpack(n, t * 3);
259
+ return e;
260
+ };
261
+ p.generateCartesianRhumbArc = function (r) {
262
+ let n = p.generateRhumbArc(r),
263
+ o = n.length / 3,
264
+ e = new Array(o);
265
+ for (let t = 0; t < o; t++) e[t] = a.unpack(n, t * 3);
266
+ return e;
267
+ };
268
+ var mt = p;
269
+ export { mt as a };
@@ -0,0 +1,28 @@
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
+ var e = { NONE: 0, GEODESIC: 1, RHUMB: 2 },
27
+ t = Object.freeze(e);
28
+ export { t as a };