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,924 @@
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 xt } from "./chunk-F5IHREXR.js";
27
+ import { a as P } from "./chunk-V7JEDBOE.js";
28
+ import { a as yt } from "./chunk-PXCJYT2S.js";
29
+ import { a as ht } from "./chunk-SB224QGV.js";
30
+ import { a as g, b as ot, d as st, e as it } from "./chunk-POASMU2N.js";
31
+ import { a as M } from "./chunk-R6KGAEF6.js";
32
+ import { a as ft } from "./chunk-IUA6FAOZ.js";
33
+ import { b as lt } from "./chunk-UH2WFNTA.js";
34
+ import { d as mt, e as h } from "./chunk-PEYJTJPE.js";
35
+ var at = mt(xt(), 1);
36
+ function wt(n) {
37
+ return (
38
+ lt.defined("value", n),
39
+ n <= 0.04045
40
+ ? n * 0.07739938080495357
41
+ : Math.pow((n + 0.055) * 0.9478672985781991, 2.4)
42
+ );
43
+ }
44
+ var k = wt;
45
+ var ut;
46
+ function It(n, t, e, o, a, i) {
47
+ let r = e * (1 - n) + o * n,
48
+ s = a * (1 - n) + i * n;
49
+ return r * (1 - t) + s * t;
50
+ }
51
+ function H(n, t, e, o) {
52
+ let a = n + t * e;
53
+ return o[a];
54
+ }
55
+ function At(n, t, e) {
56
+ let o = e.nativeExtent,
57
+ a = ((n - o.west) / (o.east - o.west)) * (e.width - 1),
58
+ i = ((t - o.south) / (o.north - o.south)) * (e.height - 1),
59
+ r = Math.floor(a),
60
+ s = Math.floor(i);
61
+ ((a -= r), (i -= s));
62
+ let c = r < e.width ? r + 1 : r,
63
+ u = s < e.height ? s + 1 : s;
64
+ ((s = e.height - 1 - s), (u = e.height - 1 - u));
65
+ let l = H(r, s, e.width, e.buffer),
66
+ f = H(c, s, e.width, e.buffer),
67
+ p = H(r, u, e.width, e.buffer),
68
+ m = H(c, u, e.width, e.buffer),
69
+ d = It(a, i, l, f, p, m);
70
+ return ((d = d * e.scale + e.offset), d);
71
+ }
72
+ function bt(n, t, e) {
73
+ for (let o = 0; o < e.length; o++) {
74
+ let a = e[o].nativeExtent,
75
+ i = new g();
76
+ if (e[o].projectionType === "WebMercator") {
77
+ let r = e[o].projection._ellipsoid._radii;
78
+ i = new ht(new st(r.x, r.y, r.z)).project(new ot(n, t, 0));
79
+ } else ((i.x = n), (i.y = t));
80
+ if (i.x > a.west && i.x < a.east && i.y > a.south && i.y < a.north)
81
+ return At(i.x, i.y, e[o]);
82
+ }
83
+ return 0;
84
+ }
85
+ function Lt(n, t, e, o, a, i, r) {
86
+ if (r) return;
87
+ let s = bt(a.longitude, a.latitude, i);
88
+ for (let c = 0; c < n; ++c) {
89
+ let u = bt(
90
+ a.longitude + M.toRadians(e * t[c * 3]),
91
+ a.latitude + M.toRadians(o * t[c * 3 + 1]),
92
+ i,
93
+ );
94
+ t[c * 3 + 2] += u - s;
95
+ }
96
+ }
97
+ function Ot(n, t, e, o, a, i, r, s, c) {
98
+ if (n === 0 || !h(t) || t.length === 0) return;
99
+ let u = new st(Math.sqrt(r.x), Math.sqrt(r.y), Math.sqrt(r.z));
100
+ for (let l = 0; l < n; ++l) {
101
+ let f = l * 3,
102
+ p = f + 1,
103
+ m = f + 2,
104
+ d = new ot();
105
+ ((d.longitude = o.longitude + M.toRadians(s * t[f])),
106
+ (d.latitude = o.latitude + M.toRadians(c * t[p])),
107
+ (d.height = o.height + t[m]));
108
+ let b = {};
109
+ (u.cartographicToCartesian(d, b), (b.x -= a.x), (b.y -= a.y), (b.z -= a.z));
110
+ let x = {};
111
+ if (
112
+ (it.multiplyByVector(i, b, x),
113
+ (t[f] = x.x),
114
+ (t[p] = x.y),
115
+ (t[m] = x.z),
116
+ h(e))
117
+ ) {
118
+ let T = new g(e[f], e[p], e[m]),
119
+ I = {};
120
+ (it.multiplyByVector(i, T, I), (e[f] = I.x), (e[p] = I.y), (e[m] = I.z));
121
+ }
122
+ }
123
+ }
124
+ function Tt(n, t, e) {
125
+ for (let o = 0; o < n; ++o) {
126
+ let a = e[o * 4] / 65535,
127
+ i = e[o * 4 + 1] / 65535,
128
+ r = (e[o * 4 + 2] - e[o * 4]) / 65535,
129
+ s = (e[o * 4 + 3] - e[o * 4 + 1]) / 65535;
130
+ ((t[o * 2] *= r),
131
+ (t[o * 2] += a),
132
+ (t[o * 2 + 1] *= s),
133
+ (t[o * 2 + 1] += i));
134
+ }
135
+ }
136
+ function Ct(n, t, e, o) {
137
+ let a = new Uint32Array(n),
138
+ i = h(t) ? (s) => t[s] : (s) => s,
139
+ r = 0;
140
+ if (o && h(e)) {
141
+ let s = (c) => e[i(c) * 4 + 3] < 255;
142
+ for (let c = 0; c < n; c += 3)
143
+ !s(c) &&
144
+ !s(c + 1) &&
145
+ !s(c + 2) &&
146
+ ((a[r++] = i(c)), (a[r++] = i(c + 1)), (a[r++] = i(c + 2)));
147
+ if (r > 0) {
148
+ let c = r;
149
+ for (let u = 0; u < n; u += 3)
150
+ (s(u) || s(u + 1) || s(u + 2)) &&
151
+ ((a[c++] = i(u)), (a[c++] = i(u + 1)), (a[c++] = i(u + 2)));
152
+ } else for (let c = 0; c < n; ++c) a[c] = i(c);
153
+ } else {
154
+ r = n;
155
+ for (let s = 0; s < n; ++s) a[s] = i(s);
156
+ }
157
+ return { indexArray: a, transparentVertexOffset: r };
158
+ }
159
+ function Ft(n, t, e) {
160
+ let o = t[e];
161
+ if (h(o)) return o;
162
+ let a = (t[e] = { positions: {}, indices: {}, edges: {} }),
163
+ i = ft(n[e], n.default);
164
+ return ((a.hasOutline = h(i?.edges)), a);
165
+ }
166
+ function Ut(n, t, e, o) {
167
+ if (!h(n[e])) {
168
+ let a = e * 3,
169
+ i = t;
170
+ for (let r = 0; r < 3; r++) {
171
+ let s = o[a + r];
172
+ (h(i[s]) || (i[s] = {}), (i = i[s]));
173
+ }
174
+ (h(i.index) || (i.index = e), (n[e] = i.index));
175
+ }
176
+ }
177
+ function Vt(n, t, e, o, a, i) {
178
+ let r, s;
179
+ o < a ? ((r = o), (s = a)) : ((r = a), (s = o));
180
+ let c = n[r];
181
+ h(c) || (c = n[r] = {});
182
+ let u = c[s];
183
+ (h(u) || (u = c[s] = { normalsIndex: [], outlines: [] }),
184
+ u.normalsIndex.push(i),
185
+ (u.outlines.length === 0 || t !== o || e !== a) && u.outlines.push(t, e));
186
+ }
187
+ function Et(n, t, e, o) {
188
+ let a = [];
189
+ for (let i = 0; i < e.length; i += 3) {
190
+ let r = h(t) ? t[e[i]] : "default",
191
+ s = Ft(n, a, r);
192
+ if (!s.hasOutline) continue;
193
+ let c = s.indices,
194
+ u = s.positions;
195
+ for (let f = 0; f < 3; f++) {
196
+ let p = e[i + f];
197
+ Ut(c, u, p, o);
198
+ }
199
+ let l = s.edges;
200
+ for (let f = 0; f < 3; f++) {
201
+ let p = e[i + f],
202
+ m = e[i + ((f + 1) % 3)],
203
+ d = c[p],
204
+ b = c[m];
205
+ Vt(l, p, m, d, b, i);
206
+ }
207
+ }
208
+ return a;
209
+ }
210
+ var O = new g(),
211
+ X = new g(),
212
+ Y = new g();
213
+ function gt(n, t, e, o) {
214
+ let a = e[t] * 3,
215
+ i = e[t + 1] * 3,
216
+ r = e[t + 2] * 3;
217
+ (g.fromArray(o, a, O),
218
+ g.fromArray(o, i, X),
219
+ g.fromArray(o, r, Y),
220
+ g.subtract(X, O, X),
221
+ g.subtract(Y, O, Y),
222
+ g.cross(X, Y, O));
223
+ let s = g.magnitude(O);
224
+ s !== 0 && g.divideByScalar(O, s, O);
225
+ let c = t * 3,
226
+ u = (t + 1) * 3,
227
+ l = (t + 2) * 3;
228
+ (g.pack(O, n, c), g.pack(O, n, u), g.pack(O, n, l));
229
+ }
230
+ var z = new g(),
231
+ ct = new g();
232
+ function _t(n, t, e) {
233
+ (g.fromArray(n, t, z), g.fromArray(n, e, ct));
234
+ let o = g.dot(z, ct),
235
+ a = g.magnitude(g.cross(z, ct, z));
236
+ return Math.atan2(a, o) < 0.25;
237
+ }
238
+ function Rt(n, t, e, o, a) {
239
+ if (t.normalsIndex.length > 1) {
240
+ let i = o.length === a.length;
241
+ for (let r = 0; r < t.normalsIndex.length; r++) {
242
+ let s = t.normalsIndex[r];
243
+ if ((h(a[s * 3]) || gt(a, s, e, o), r !== 0))
244
+ for (let c = 0; c < r; c++) {
245
+ let u = t.normalsIndex[c],
246
+ l = i ? e[s] * 3 : s * 3,
247
+ f = i ? e[u] * 3 : u * 3;
248
+ if (_t(a, l, f)) return;
249
+ }
250
+ }
251
+ }
252
+ n.push(...t.outlines);
253
+ }
254
+ function Nt(n, t, e, o, a) {
255
+ let i = Object.keys(t);
256
+ for (let r = 0; r < i.length; r++) {
257
+ let s = t[i[r]],
258
+ c = Object.keys(s);
259
+ for (let u = 0; u < c.length; u++) {
260
+ let l = s[c[u]];
261
+ Rt(n, l, e, o, a);
262
+ }
263
+ }
264
+ }
265
+ function Bt(n, t, e, o) {
266
+ let a = [],
267
+ i = Object.keys(n);
268
+ for (let r = 0; r < i.length; r++) {
269
+ let s = n[i[r]].edges;
270
+ Nt(a, s, t, e, o);
271
+ }
272
+ return a;
273
+ }
274
+ function Gt(n, t, e, o, a) {
275
+ if (!h(n) || Object.keys(n).length === 0) return;
276
+ let i = Et(n, t, e, o);
277
+ (!h(a) || e.length * 3 !== a.length) && (a = []);
278
+ let r = Bt(i, e, o, a);
279
+ return r.length > 0 ? new Uint32Array(r) : void 0;
280
+ }
281
+ function St(n) {
282
+ let t = new Float32Array(n.length);
283
+ for (let e = 0; e < n.length; e += 4)
284
+ ((t[e] = k(P.byteToFloat(n[e]))),
285
+ (t[e + 1] = k(P.byteToFloat(n[e + 1]))),
286
+ (t[e + 2] = k(P.byteToFloat(n[e + 2]))),
287
+ (t[e + 3] = P.byteToFloat(n[e + 3])));
288
+ return t;
289
+ }
290
+ function vt(n, t, e, o, a, i, r) {
291
+ let s = {
292
+ normals: void 0,
293
+ positions: void 0,
294
+ uv0s: void 0,
295
+ colors: void 0,
296
+ featureIndex: void 0,
297
+ vertexCount: void 0,
298
+ };
299
+ if (n === 0 || !h(e) || e.length === 0 || h(o)) return s;
300
+ if (h(t)) {
301
+ ((s.vertexCount = t.length),
302
+ (s.positions = new Float32Array(t.length * 3)),
303
+ (s.uv0s = h(a) ? new Float32Array(t.length * 2) : void 0),
304
+ (s.colors = h(i) ? new Uint8Array(t.length * 4) : void 0),
305
+ (s.featureIndex = h(r) ? new Array(t.length) : void 0));
306
+ for (let c = 0; c < t.length; c++) {
307
+ let u = t[c];
308
+ ((s.positions[c * 3] = e[u * 3]),
309
+ (s.positions[c * 3 + 1] = e[u * 3 + 1]),
310
+ (s.positions[c * 3 + 2] = e[u * 3 + 2]),
311
+ h(s.uv0s) &&
312
+ ((s.uv0s[c * 2] = a[u * 2]), (s.uv0s[c * 2 + 1] = a[u * 2 + 1])),
313
+ h(s.colors) &&
314
+ ((s.colors[c * 4] = i[u * 4]),
315
+ (s.colors[c * 4 + 1] = i[u * 4 + 1]),
316
+ (s.colors[c * 4 + 2] = i[u * 4 + 2]),
317
+ (s.colors[c * 4 + 3] = i[u * 4 + 3])),
318
+ h(s.featureIndex) && (s.featureIndex[c] = r[u]));
319
+ }
320
+ ((n = t.length), (e = s.positions));
321
+ }
322
+ t = new Array(n);
323
+ for (let c = 0; c < n; c++) t[c] = c;
324
+ s.normals = new Float32Array(t.length * 3);
325
+ for (let c = 0; c < t.length; c += 3) gt(s.normals, c, t, e);
326
+ return s;
327
+ }
328
+ function Mt(n, t, e, o, a, i, r, s) {
329
+ if (n === 0 || !h(e) || e.length === 0)
330
+ return {
331
+ buffers: [],
332
+ bufferViews: [],
333
+ accessors: [],
334
+ meshes: [],
335
+ nodes: [],
336
+ nodesInScene: [],
337
+ };
338
+ let c = [],
339
+ u = [],
340
+ l = [],
341
+ f = [],
342
+ p = [],
343
+ m = [],
344
+ d = {},
345
+ b = [];
346
+ h(t) && (n = t.length);
347
+ let { indexArray: x, transparentVertexOffset: T } = Ct(
348
+ n,
349
+ t,
350
+ i,
351
+ s.splitGeometryByColorTransparency,
352
+ ),
353
+ I = new Blob([x], { type: "application/binary" }),
354
+ A = URL.createObjectURL(I),
355
+ w = n,
356
+ F = s.enableFeatures && h(r) ? new Float32Array(r.length) : void 0,
357
+ C = 0;
358
+ if (h(F))
359
+ for (let y = 0; y < r.length; ++y) {
360
+ F[y] = r[y];
361
+ let E = r[y] + 1;
362
+ C < E && (C = E);
363
+ }
364
+ let U,
365
+ R = Gt(s.symbologyData, r, x, e, o);
366
+ if (h(R)) {
367
+ let y = new Blob([R], { type: "application/binary" });
368
+ U = URL.createObjectURL(y);
369
+ }
370
+ let L = e.subarray(0, w * 3),
371
+ dt = new Blob([L], { type: "application/binary" }),
372
+ pt = URL.createObjectURL(dt),
373
+ D = Number.POSITIVE_INFINITY,
374
+ K = Number.NEGATIVE_INFINITY,
375
+ Q = Number.POSITIVE_INFINITY,
376
+ Z = Number.NEGATIVE_INFINITY,
377
+ J = Number.POSITIVE_INFINITY,
378
+ $ = Number.NEGATIVE_INFINITY;
379
+ for (let y = 0; y < L.length / 3; y++)
380
+ ((D = Math.min(D, L[y * 3 + 0])),
381
+ (K = Math.max(K, L[y * 3 + 0])),
382
+ (Q = Math.min(Q, L[y * 3 + 1])),
383
+ (Z = Math.max(Z, L[y * 3 + 1])),
384
+ (J = Math.min(J, L[y * 3 + 2])),
385
+ ($ = Math.max($, L[y * 3 + 2])));
386
+ let N = o ? o.subarray(0, w * 3) : void 0,
387
+ q;
388
+ if (h(N)) {
389
+ let y = new Blob([N], { type: "application/binary" });
390
+ q = URL.createObjectURL(y);
391
+ }
392
+ let B = a ? a.subarray(0, w * 2) : void 0,
393
+ tt;
394
+ if (h(B)) {
395
+ let y = new Blob([B], { type: "application/binary" });
396
+ tt = URL.createObjectURL(y);
397
+ }
398
+ let G = h(i) ? St(i.subarray(0, w * 4)) : void 0,
399
+ et;
400
+ if (h(G)) {
401
+ let y = new Blob([G], { type: "application/binary" });
402
+ et = URL.createObjectURL(y);
403
+ }
404
+ let S = h(F) ? F.subarray(0, w) : void 0,
405
+ nt;
406
+ if (h(S)) {
407
+ let y = new Blob([S], { type: "application/binary" });
408
+ nt = URL.createObjectURL(y);
409
+ }
410
+ let _ = h(F) ? new Float32Array(C) : void 0,
411
+ rt;
412
+ if (h(_)) {
413
+ for (let E = 0; E < _.length; ++E) _[E] = E;
414
+ let y = new Blob([_], { type: "application/binary" });
415
+ rt = URL.createObjectURL(y);
416
+ }
417
+ let V = {},
418
+ j = {};
419
+ ((V.POSITION = l.length),
420
+ c.push({ uri: pt, byteLength: L.byteLength }),
421
+ u.push({
422
+ buffer: c.length - 1,
423
+ byteOffset: 0,
424
+ byteLength: L.byteLength,
425
+ target: 34962,
426
+ }),
427
+ l.push({
428
+ bufferView: u.length - 1,
429
+ byteOffset: 0,
430
+ componentType: 5126,
431
+ count: L.length / 3,
432
+ type: "VEC3",
433
+ max: [D, Q, J],
434
+ min: [K, Z, $],
435
+ }),
436
+ h(q) &&
437
+ ((V.NORMAL = l.length),
438
+ c.push({ uri: q, byteLength: N.byteLength }),
439
+ u.push({
440
+ buffer: c.length - 1,
441
+ byteOffset: 0,
442
+ byteLength: N.byteLength,
443
+ target: 34962,
444
+ }),
445
+ l.push({
446
+ bufferView: u.length - 1,
447
+ byteOffset: 0,
448
+ componentType: 5126,
449
+ count: N.length / 3,
450
+ type: "VEC3",
451
+ })),
452
+ h(tt) &&
453
+ ((V.TEXCOORD_0 = l.length),
454
+ c.push({ uri: tt, byteLength: B.byteLength }),
455
+ u.push({
456
+ buffer: c.length - 1,
457
+ byteOffset: 0,
458
+ byteLength: B.byteLength,
459
+ target: 34962,
460
+ }),
461
+ l.push({
462
+ bufferView: u.length - 1,
463
+ byteOffset: 0,
464
+ componentType: 5126,
465
+ count: B.length / 2,
466
+ type: "VEC2",
467
+ })),
468
+ h(et) &&
469
+ ((V.COLOR_0 = l.length),
470
+ c.push({ uri: et, byteLength: G.byteLength }),
471
+ u.push({
472
+ buffer: c.length - 1,
473
+ byteOffset: 0,
474
+ byteLength: G.byteLength,
475
+ target: 34962,
476
+ }),
477
+ l.push({
478
+ bufferView: u.length - 1,
479
+ byteOffset: 0,
480
+ componentType: 5126,
481
+ count: G.length / 4,
482
+ type: "VEC4",
483
+ })),
484
+ h(nt) &&
485
+ ((V._FEATURE_ID_0 = l.length),
486
+ c.push({ uri: nt, byteLength: S.byteLength }),
487
+ u.push({
488
+ buffer: c.length - 1,
489
+ byteOffset: 0,
490
+ byteLength: S.byteLength,
491
+ target: 34963,
492
+ }),
493
+ l.push({
494
+ bufferView: u.length - 1,
495
+ byteOffset: 0,
496
+ componentType: 5126,
497
+ count: S.length,
498
+ type: "SCALAR",
499
+ }),
500
+ (j.EXT_mesh_features = {
501
+ featureIds: [{ attribute: 0, propertyTable: 0, featureCount: C }],
502
+ }),
503
+ b.push("EXT_mesh_features")),
504
+ h(rt) &&
505
+ (c.push({ uri: rt, byteLength: _.byteLength }),
506
+ u.push({
507
+ buffer: c.length - 1,
508
+ byteOffset: 0,
509
+ byteLength: _.byteLength,
510
+ target: 34963,
511
+ }),
512
+ (d.EXT_structural_metadata = {
513
+ schema: {
514
+ id: "i3s-metadata-schema-001",
515
+ name: "I3S metadata schema 001",
516
+ description: "The schema for I3S metadata",
517
+ version: "1.0",
518
+ classes: {
519
+ feature: {
520
+ name: "feature",
521
+ description: "Feature metadata",
522
+ properties: {
523
+ index: {
524
+ description: "The feature index",
525
+ type: "SCALAR",
526
+ componentType: "FLOAT32",
527
+ required: !0,
528
+ },
529
+ },
530
+ },
531
+ },
532
+ },
533
+ propertyTables: [
534
+ {
535
+ name: "feature-indices-mapping",
536
+ class: "feature",
537
+ count: C,
538
+ properties: { index: { values: u.length - 1 } },
539
+ },
540
+ ],
541
+ }),
542
+ b.push("EXT_structural_metadata")),
543
+ h(U) &&
544
+ (c.push({ uri: U, byteLength: R.byteLength }),
545
+ u.push({
546
+ buffer: c.length - 1,
547
+ byteOffset: 0,
548
+ byteLength: R.byteLength,
549
+ target: 34963,
550
+ }),
551
+ l.push({
552
+ bufferView: u.length - 1,
553
+ byteOffset: 0,
554
+ componentType: 5125,
555
+ count: R.length,
556
+ type: "SCALAR",
557
+ }),
558
+ (j.CESIUM_primitive_outline = { indices: l.length - 1 }),
559
+ b.push("CESIUM_primitive_outline")),
560
+ c.push({ uri: A, byteLength: x.byteLength }),
561
+ u.push({
562
+ buffer: c.length - 1,
563
+ byteOffset: 0,
564
+ byteLength: x.byteLength,
565
+ target: 34963,
566
+ }));
567
+ let v = [];
568
+ return (
569
+ T > 0 &&
570
+ (l.push({
571
+ bufferView: u.length - 1,
572
+ byteOffset: 0,
573
+ componentType: 5125,
574
+ count: T,
575
+ type: "SCALAR",
576
+ }),
577
+ v.push({
578
+ attributes: V,
579
+ indices: l.length - 1,
580
+ material: v.length,
581
+ extensions: j,
582
+ })),
583
+ T < n &&
584
+ (l.push({
585
+ bufferView: u.length - 1,
586
+ byteOffset: 4 * T,
587
+ componentType: 5125,
588
+ count: n - T,
589
+ type: "SCALAR",
590
+ }),
591
+ v.push({
592
+ attributes: V,
593
+ indices: l.length - 1,
594
+ material: v.length,
595
+ extensions: j,
596
+ extra: { isTransparent: !0 },
597
+ })),
598
+ f.push({ primitives: v }),
599
+ m.push(0),
600
+ p.push({ mesh: 0 }),
601
+ {
602
+ buffers: c,
603
+ bufferViews: u,
604
+ accessors: l,
605
+ meshes: f,
606
+ nodes: p,
607
+ nodesInScene: m,
608
+ rootExtensions: d,
609
+ extensionsUsed: b,
610
+ }
611
+ );
612
+ }
613
+ function Pt(n, t, e, o) {
614
+ let a = new Uint8Array(n, 0, 5);
615
+ return a[0] === 68 && a[1] === 82 && a[2] === 65 && a[3] === 67 && a[4] === 79
616
+ ? jt(n, e)
617
+ : Ht(n, t, e, o);
618
+ }
619
+ function jt(n) {
620
+ let t = ut,
621
+ e = new t.DecoderBuffer(),
622
+ o = new Uint8Array(n);
623
+ e.Init(o, o.length);
624
+ let a = new t.Decoder(),
625
+ i = a.GetEncodedGeometryType(e),
626
+ r = new t.MetadataQuerier(),
627
+ s,
628
+ c;
629
+ i === t.TRIANGULAR_MESH &&
630
+ ((s = new t.Mesh()), (c = a.DecodeBufferToMesh(e, s)));
631
+ let u = { vertexCount: [0], featureCount: 0 };
632
+ if (h(c) && c.ok() && s.ptr !== 0) {
633
+ let l = s.num_faces(),
634
+ f = s.num_attributes(),
635
+ p = s.num_points();
636
+ u.indices = new Uint32Array(l * 3);
637
+ let m = u.indices;
638
+ ((u.vertexCount[0] = p), (u.scale_x = 1), (u.scale_y = 1));
639
+ let d = new t.DracoInt32Array(3);
640
+ for (let b = 0; b < l; ++b)
641
+ (a.GetFaceFromMesh(s, b, d),
642
+ (m[b * 3] = d.GetValue(0)),
643
+ (m[b * 3 + 1] = d.GetValue(1)),
644
+ (m[b * 3 + 2] = d.GetValue(2)));
645
+ t.destroy(d);
646
+ for (let b = 0; b < f; ++b) {
647
+ let x = a.GetAttribute(s, b),
648
+ T = kt(t, a, s, x, p),
649
+ I = x.attribute_type(),
650
+ A = "unknown";
651
+ I === t.POSITION
652
+ ? (A = "positions")
653
+ : I === t.NORMAL
654
+ ? (A = "normals")
655
+ : I === t.COLOR
656
+ ? (A = "colors")
657
+ : I === t.TEX_COORD && (A = "uv0s");
658
+ let w = a.GetAttributeMetadata(s, b);
659
+ if (w.ptr !== 0) {
660
+ let F = r.NumEntries(w);
661
+ for (let C = 0; C < F; ++C) {
662
+ let U = r.GetEntryName(w, C);
663
+ U === "i3s-scale_x"
664
+ ? (u.scale_x = r.GetDoubleEntry(w, "i3s-scale_x"))
665
+ : U === "i3s-scale_y"
666
+ ? (u.scale_y = r.GetDoubleEntry(w, "i3s-scale_y"))
667
+ : U === "i3s-attribute-type" &&
668
+ (A = r.GetStringEntry(w, "i3s-attribute-type"));
669
+ }
670
+ }
671
+ (h(u[A]) && console.log("Attribute already exists", A),
672
+ (u[A] = T),
673
+ A === "feature-index" && u.featureCount++);
674
+ }
675
+ t.destroy(s);
676
+ }
677
+ return (t.destroy(r), t.destroy(a), u);
678
+ }
679
+ function kt(n, t, e, o, a) {
680
+ let i = o.num_components() * a,
681
+ r,
682
+ c = [
683
+ function () {},
684
+ function () {
685
+ ((r = new n.DracoInt8Array(i)),
686
+ t.GetAttributeInt8ForAllPoints(e, o, r) ||
687
+ console.error("Bad stream"));
688
+ let l = new Int8Array(i);
689
+ for (let f = 0; f < i; ++f) l[f] = r.GetValue(f);
690
+ return l;
691
+ },
692
+ function () {
693
+ ((r = new n.DracoInt8Array(i)),
694
+ t.GetAttributeUInt8ForAllPoints(e, o, r) ||
695
+ console.error("Bad stream"));
696
+ let l = new Uint8Array(i);
697
+ for (let f = 0; f < i; ++f) l[f] = r.GetValue(f);
698
+ return l;
699
+ },
700
+ function () {
701
+ ((r = new n.DracoInt16Array(i)),
702
+ t.GetAttributeInt16ForAllPoints(e, o, r) ||
703
+ console.error("Bad stream"));
704
+ let l = new Int16Array(i);
705
+ for (let f = 0; f < i; ++f) l[f] = r.GetValue(f);
706
+ return l;
707
+ },
708
+ function () {
709
+ ((r = new n.DracoInt16Array(i)),
710
+ t.GetAttributeUInt16ForAllPoints(e, o, r) ||
711
+ console.error("Bad stream"));
712
+ let l = new Uint16Array(i);
713
+ for (let f = 0; f < i; ++f) l[f] = r.GetValue(f);
714
+ return l;
715
+ },
716
+ function () {
717
+ ((r = new n.DracoInt32Array(i)),
718
+ t.GetAttributeInt32ForAllPoints(e, o, r) ||
719
+ console.error("Bad stream"));
720
+ let l = new Int32Array(i);
721
+ for (let f = 0; f < i; ++f) l[f] = r.GetValue(f);
722
+ return l;
723
+ },
724
+ function () {
725
+ ((r = new n.DracoInt32Array(i)),
726
+ t.GetAttributeUInt32ForAllPoints(e, o, r) ||
727
+ console.error("Bad stream"));
728
+ let l = new Uint32Array(i);
729
+ for (let f = 0; f < i; ++f) l[f] = r.GetValue(f);
730
+ return l;
731
+ },
732
+ function () {},
733
+ function () {},
734
+ function () {
735
+ ((r = new n.DracoFloat32Array(i)),
736
+ t.GetAttributeFloatForAllPoints(e, o, r) ||
737
+ console.error("Bad stream"));
738
+ let l = new Float32Array(i);
739
+ for (let f = 0; f < i; ++f) l[f] = r.GetValue(f);
740
+ return l;
741
+ },
742
+ function () {},
743
+ function () {
744
+ ((r = new n.DracoUInt8Array(i)),
745
+ t.GetAttributeUInt8ForAllPoints(e, o, r) ||
746
+ console.error("Bad stream"));
747
+ let l = new Uint8Array(i);
748
+ for (let f = 0; f < i; ++f) l[f] = r.GetValue(f);
749
+ return l;
750
+ },
751
+ ][o.data_type()]();
752
+ return (h(r) && n.destroy(r), c);
753
+ }
754
+ var W = {
755
+ position: function (n, t, e) {
756
+ let o = n.vertexCount * 3;
757
+ return ((n.positions = new Float32Array(t, e, o)), (e += o * 4), e);
758
+ },
759
+ normal: function (n, t, e) {
760
+ let o = n.vertexCount * 3;
761
+ return ((n.normals = new Float32Array(t, e, o)), (e += o * 4), e);
762
+ },
763
+ uv0: function (n, t, e) {
764
+ let o = n.vertexCount * 2;
765
+ return ((n.uv0s = new Float32Array(t, e, o)), (e += o * 4), e);
766
+ },
767
+ color: function (n, t, e) {
768
+ let o = n.vertexCount * 4;
769
+ return ((n.colors = new Uint8Array(t, e, o)), (e += o), e);
770
+ },
771
+ featureId: function (n, t, e) {
772
+ let o = n.featureCount;
773
+ return ((e += o * 8), e);
774
+ },
775
+ id: function (n, t, e) {
776
+ let o = n.featureCount;
777
+ return ((e += o * 8), e);
778
+ },
779
+ faceRange: function (n, t, e) {
780
+ let o = n.featureCount * 2;
781
+ return ((n.faceRange = new Uint32Array(t, e, o)), (e += o * 4), e);
782
+ },
783
+ uvRegion: function (n, t, e) {
784
+ let o = n.vertexCount * 4;
785
+ return ((n["uv-region"] = new Uint16Array(t, e, o)), (e += o * 2), e);
786
+ },
787
+ region: function (n, t, e) {
788
+ let o = n.vertexCount * 4;
789
+ return ((n["uv-region"] = new Uint16Array(t, e, o)), (e += o * 2), e);
790
+ },
791
+ };
792
+ function Ht(n, t, e, o) {
793
+ let a = { vertexCount: 0 },
794
+ i = new DataView(n);
795
+ try {
796
+ let r = 0;
797
+ if (
798
+ ((a.vertexCount = i.getUint32(r, 1)),
799
+ (r += 4),
800
+ (a.featureCount = i.getUint32(r, 1)),
801
+ (r += 4),
802
+ h(e))
803
+ )
804
+ for (let s = 0; s < e.attributes.length; s++)
805
+ h(W[e.attributes[s]])
806
+ ? (r = W[e.attributes[s]](a, n, r))
807
+ : console.error("Unknown decoder for", e.attributes[s]);
808
+ else {
809
+ let s = t.ordering,
810
+ c = t.featureAttributeOrder;
811
+ h(o) &&
812
+ h(o.geometryData) &&
813
+ h(o.geometryData[0]) &&
814
+ h(o.geometryData[0].params) &&
815
+ ((s = Object.keys(o.geometryData[0].params.vertexAttributes)),
816
+ (c = Object.keys(o.geometryData[0].params.featureAttributes)));
817
+ for (let u = 0; u < s.length; u++) {
818
+ let l = W[s[u]];
819
+ r = l(a, n, r);
820
+ }
821
+ for (let u = 0; u < c.length; u++) {
822
+ let l = W[c[u]];
823
+ r = l(a, n, r);
824
+ }
825
+ }
826
+ } catch (r) {
827
+ console.error(r);
828
+ }
829
+ return ((a.scale_x = 1), (a.scale_y = 1), a);
830
+ }
831
+ function Xt(n) {
832
+ let t = Pt(n.binaryData, n.schema, n.bufferInfo, n.featureData);
833
+ (h(n.geoidDataList) &&
834
+ n.geoidDataList.length > 0 &&
835
+ Lt(
836
+ t.vertexCount,
837
+ t.positions,
838
+ t.scale_x,
839
+ t.scale_y,
840
+ n.cartographicCenter,
841
+ n.geoidDataList,
842
+ !1,
843
+ ),
844
+ Ot(
845
+ t.vertexCount,
846
+ t.positions,
847
+ t.normals,
848
+ n.cartographicCenter,
849
+ n.cartesianCenter,
850
+ n.parentRotation,
851
+ n.ellipsoidRadiiSquare,
852
+ t.scale_x,
853
+ t.scale_y,
854
+ ),
855
+ h(t.uv0s) &&
856
+ h(t["uv-region"]) &&
857
+ Tt(t.vertexCount, t.uv0s, t["uv-region"]));
858
+ let e;
859
+ if (h(t["feature-index"])) e = t["feature-index"];
860
+ else if (h(t.faceRange)) {
861
+ e = new Array(t.vertexCount);
862
+ for (let r = 0; r < t.faceRange.length - 1; r += 2) {
863
+ let s = r / 2,
864
+ c = t.faceRange[r],
865
+ u = t.faceRange[r + 1];
866
+ for (let l = c; l <= u; l++)
867
+ ((e[l * 3] = s), (e[l * 3 + 1] = s), (e[l * 3 + 2] = s));
868
+ }
869
+ }
870
+ if (n.calculateNormals) {
871
+ let r = vt(
872
+ t.vertexCount,
873
+ t.indices,
874
+ t.positions,
875
+ t.normals,
876
+ t.uv0s,
877
+ t.colors,
878
+ e,
879
+ );
880
+ h(r.normals) &&
881
+ ((t.normals = r.normals),
882
+ h(r.vertexCount) &&
883
+ ((t.vertexCount = r.vertexCount),
884
+ (t.indices = r.indices),
885
+ (t.positions = r.positions),
886
+ (t.uv0s = r.uv0s),
887
+ (t.colors = r.colors),
888
+ (e = r.featureIndex)));
889
+ }
890
+ let o = Mt(
891
+ t.vertexCount,
892
+ t.indices,
893
+ t.positions,
894
+ t.normals,
895
+ t.uv0s,
896
+ t.colors,
897
+ e,
898
+ n,
899
+ ),
900
+ a = {
901
+ positions: t.positions,
902
+ indices: t.indices,
903
+ featureIndex: e,
904
+ sourceURL: n.url,
905
+ cartesianCenter: n.cartesianCenter,
906
+ parentRotation: n.parentRotation,
907
+ };
908
+ return ((o._customAttributes = a), { meshData: o });
909
+ }
910
+ async function Yt(n, t) {
911
+ let e = n.webAssemblyConfig;
912
+ return (
913
+ h(e) && h(e.wasmBinaryFile)
914
+ ? (ut = await (0, at.default)(e))
915
+ : (ut = await (0, at.default)()),
916
+ !0
917
+ );
918
+ }
919
+ function zt(n, t) {
920
+ let e = n.webAssemblyConfig;
921
+ return h(e) ? Yt(n, t) : Xt(n, t);
922
+ }
923
+ var se = yt(zt);
924
+ export { se as default };