drone_view 3.0.63 → 3.0.65

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 (987) hide show
  1. package/dist/droneView.js +1 -1
  2. package/package.json +1 -1
  3. package/serviceV2/3d/ThirdParty/Workers/zip-web-worker.js +1 -0
  4. package/serviceV2/3d/ThirdParty/google-earth-dbroot-parser.js +1 -0
  5. package/serviceV2/3d/Workers/chunk-2ZPEMRCT.js +2 -0
  6. package/serviceV2/3d/Workers/chunk-3BSRJTW3.js +2 -0
  7. package/serviceV2/3d/Workers/chunk-3WSHJXU2.js +2 -0
  8. package/serviceV2/3d/Workers/chunk-42MGKNSS.js +2 -0
  9. package/serviceV2/3d/Workers/chunk-4MJDNHOT.js +2 -0
  10. package/{servicee → serviceV2}/3d/Workers/chunk-4WJUWBRK.js +2 -26
  11. package/serviceV2/3d/Workers/chunk-5G23AKP3.js +2 -0
  12. package/serviceV2/3d/Workers/chunk-5HPISDSZ.js +2 -0
  13. package/serviceV2/3d/Workers/chunk-APG2S62J.js +2 -0
  14. package/serviceV2/3d/Workers/chunk-AZLP5742.js +2 -0
  15. package/serviceV2/3d/Workers/chunk-BJAB7QAF.js +2 -0
  16. package/serviceV2/3d/Workers/chunk-BTDQB5Q4.js +2 -0
  17. package/serviceV2/3d/Workers/chunk-CJRI54BI.js +2 -0
  18. package/serviceV2/3d/Workers/chunk-CUP6SILZ.js +2 -0
  19. package/serviceV2/3d/Workers/chunk-D2NFCOGE.js +2 -0
  20. package/serviceV2/3d/Workers/chunk-DK73HV33.js +2 -0
  21. package/serviceV2/3d/Workers/chunk-EDF5FKWJ.js +2 -0
  22. package/serviceV2/3d/Workers/chunk-ET7KY3BS.js +2 -0
  23. package/serviceV2/3d/Workers/chunk-FIHQI7E3.js +2 -0
  24. package/serviceV2/3d/Workers/chunk-FVGSQINW.js +2 -0
  25. package/serviceV2/3d/Workers/chunk-FWF3VNA2.js +2 -0
  26. package/serviceV2/3d/Workers/chunk-GTQ3WXPT.js +2 -0
  27. package/serviceV2/3d/Workers/chunk-HSJ6GSLC.js +2 -0
  28. package/serviceV2/3d/Workers/chunk-IOTBNCMN.js +2 -0
  29. package/serviceV2/3d/Workers/chunk-IYO6TYGP.js +2 -0
  30. package/serviceV2/3d/Workers/chunk-J7MBSSYW.js +2 -0
  31. package/serviceV2/3d/Workers/chunk-KWAHJ72S.js +2 -0
  32. package/serviceV2/3d/Workers/chunk-KX5PR5Q3.js +2 -0
  33. package/serviceV2/3d/Workers/chunk-LJBMXZ6U.js +2 -0
  34. package/serviceV2/3d/Workers/chunk-LPJEXZWM.js +2 -0
  35. package/serviceV2/3d/Workers/chunk-MKDADUG3.js +2 -0
  36. package/serviceV2/3d/Workers/chunk-NOIUI5SY.js +2 -0
  37. package/serviceV2/3d/Workers/chunk-OFCC6BNI.js +2 -0
  38. package/serviceV2/3d/Workers/chunk-OXJ2LJUE.js +2 -0
  39. package/serviceV2/3d/Workers/chunk-Q4W25C4L.js +2 -0
  40. package/serviceV2/3d/Workers/chunk-QORMFUM4.js +2 -0
  41. package/serviceV2/3d/Workers/chunk-RCHWDG3R.js +2 -0
  42. package/serviceV2/3d/Workers/chunk-RYOF6QSA.js +2 -0
  43. package/serviceV2/3d/Workers/chunk-SCO7TMKT.js +2 -0
  44. package/serviceV2/3d/Workers/chunk-SNSHUVCZ.js +2 -0
  45. package/serviceV2/3d/Workers/chunk-SXKYZMEL.js +2 -0
  46. package/serviceV2/3d/Workers/chunk-T6Q6HX5J.js +2 -0
  47. package/serviceV2/3d/Workers/chunk-T77EB7BE.js +2 -0
  48. package/serviceV2/3d/Workers/chunk-TGKHFJV6.js +2 -0
  49. package/serviceV2/3d/Workers/chunk-U6GWZBRL.js +2 -0
  50. package/serviceV2/3d/Workers/chunk-UTYWXSQT.js +2 -0
  51. package/serviceV2/3d/Workers/chunk-VHZAK4GN.js +2 -0
  52. package/serviceV2/3d/Workers/chunk-VTK7G5BX.js +2 -0
  53. package/serviceV2/3d/Workers/chunk-XBWRWNYZ.js +2 -0
  54. package/serviceV2/3d/Workers/chunk-XQDTMI7Q.js +2 -0
  55. package/serviceV2/3d/Workers/chunk-XQIJGAVD.js +2 -0
  56. package/serviceV2/3d/Workers/chunk-XRRBRTKL.js +2 -0
  57. package/serviceV2/3d/Workers/chunk-YHWHVNY2.js +2 -0
  58. package/serviceV2/3d/Workers/chunk-YY6GMQGO.js +2 -0
  59. package/serviceV2/3d/Workers/combineGeometry.js +2 -0
  60. package/serviceV2/3d/Workers/createBoxGeometry.js +2 -0
  61. package/serviceV2/3d/Workers/createBoxOutlineGeometry.js +2 -0
  62. package/serviceV2/3d/Workers/createCircleGeometry.js +2 -0
  63. package/serviceV2/3d/Workers/createCircleOutlineGeometry.js +2 -0
  64. package/serviceV2/3d/Workers/createCoplanarPolygonGeometry.js +2 -0
  65. package/serviceV2/3d/Workers/createCoplanarPolygonOutlineGeometry.js +2 -0
  66. package/serviceV2/3d/Workers/createCorridorGeometry.js +2 -0
  67. package/serviceV2/3d/Workers/createCorridorOutlineGeometry.js +2 -0
  68. package/serviceV2/3d/Workers/createCylinderGeometry.js +2 -0
  69. package/serviceV2/3d/Workers/createCylinderOutlineGeometry.js +2 -0
  70. package/serviceV2/3d/Workers/createEllipseGeometry.js +2 -0
  71. package/serviceV2/3d/Workers/createEllipseOutlineGeometry.js +2 -0
  72. package/serviceV2/3d/Workers/createEllipsoidGeometry.js +2 -0
  73. package/serviceV2/3d/Workers/createEllipsoidOutlineGeometry.js +2 -0
  74. package/serviceV2/3d/Workers/createFrustumGeometry.js +2 -0
  75. package/serviceV2/3d/Workers/createFrustumOutlineGeometry.js +2 -0
  76. package/{servicee → serviceV2}/3d/Workers/createGeometry.js +2 -26
  77. package/serviceV2/3d/Workers/createGroundPolylineGeometry.js +2 -0
  78. package/serviceV2/3d/Workers/createPlaneGeometry.js +2 -0
  79. package/serviceV2/3d/Workers/createPlaneOutlineGeometry.js +2 -0
  80. package/serviceV2/3d/Workers/createPolygonGeometry.js +2 -0
  81. package/serviceV2/3d/Workers/createPolygonOutlineGeometry.js +2 -0
  82. package/serviceV2/3d/Workers/createPolylineGeometry.js +2 -0
  83. package/serviceV2/3d/Workers/createPolylineVolumeGeometry.js +2 -0
  84. package/serviceV2/3d/Workers/createPolylineVolumeOutlineGeometry.js +2 -0
  85. package/serviceV2/3d/Workers/createRectangleGeometry.js +2 -0
  86. package/serviceV2/3d/Workers/createRectangleOutlineGeometry.js +2 -0
  87. package/serviceV2/3d/Workers/createSimplePolylineGeometry.js +2 -0
  88. package/serviceV2/3d/Workers/createSphereGeometry.js +2 -0
  89. package/serviceV2/3d/Workers/createSphereOutlineGeometry.js +2 -0
  90. package/serviceV2/3d/Workers/createTaskProcessorWorker.js +2 -0
  91. package/serviceV2/3d/Workers/createVectorTileClampedPolylines.js +2 -0
  92. package/serviceV2/3d/Workers/createVectorTileGeometries.js +2 -0
  93. package/serviceV2/3d/Workers/createVectorTilePoints.js +2 -0
  94. package/serviceV2/3d/Workers/createVectorTilePolygons.js +2 -0
  95. package/serviceV2/3d/Workers/createVectorTilePolylines.js +2 -0
  96. package/serviceV2/3d/Workers/createVerticesFromCesium3DTilesTerrain.js +2 -0
  97. package/serviceV2/3d/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -0
  98. package/serviceV2/3d/Workers/createVerticesFromHeightmap.js +2 -0
  99. package/serviceV2/3d/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -0
  100. package/serviceV2/3d/Workers/createWallGeometry.js +2 -0
  101. package/serviceV2/3d/Workers/createWallOutlineGeometry.js +2 -0
  102. package/serviceV2/3d/Workers/decodeDraco.js +2 -0
  103. package/serviceV2/3d/Workers/decodeGoogleEarthEnterprisePacket.js +2 -0
  104. package/serviceV2/3d/Workers/decodeI3S.js +2 -0
  105. package/serviceV2/3d/Workers/gaussianSplatSorter.js +2 -0
  106. package/serviceV2/3d/Workers/gaussianSplatTextureGenerator.js +2 -0
  107. package/serviceV2/3d/Workers/transcodeKTX2.js +2 -0
  108. package/serviceV2/3d/Workers/transferTypedArrayTest.js +2 -0
  109. package/serviceV2/3d/Workers/upsampleQuantizedTerrainMesh.js +2 -0
  110. package/serviceV2/3d/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +2 -0
  111. package/webpack.config.dev.js +5 -5
  112. package/webpack.config.prod.js +5 -5
  113. package/serviceOld/3d/ThirdParty/Workers/zip-web-worker.js +0 -1
  114. package/serviceOld/3d/ThirdParty/google-earth-dbroot-parser.js +0 -1
  115. package/serviceOld/3d/Workers/chunk-2ZPEMRCT.js +0 -26
  116. package/serviceOld/3d/Workers/chunk-3BSRJTW3.js +0 -26
  117. package/serviceOld/3d/Workers/chunk-3WSHJXU2.js +0 -26
  118. package/serviceOld/3d/Workers/chunk-42MGKNSS.js +0 -26
  119. package/serviceOld/3d/Workers/chunk-4MJDNHOT.js +0 -26
  120. package/serviceOld/3d/Workers/chunk-4WJUWBRK.js +0 -26
  121. package/serviceOld/3d/Workers/chunk-5G23AKP3.js +0 -27
  122. package/serviceOld/3d/Workers/chunk-5HPISDSZ.js +0 -26
  123. package/serviceOld/3d/Workers/chunk-APG2S62J.js +0 -26
  124. package/serviceOld/3d/Workers/chunk-AZLP5742.js +0 -26
  125. package/serviceOld/3d/Workers/chunk-BJAB7QAF.js +0 -26
  126. package/serviceOld/3d/Workers/chunk-BTDQB5Q4.js +0 -26
  127. package/serviceOld/3d/Workers/chunk-CJRI54BI.js +0 -26
  128. package/serviceOld/3d/Workers/chunk-CUP6SILZ.js +0 -26
  129. package/serviceOld/3d/Workers/chunk-D2NFCOGE.js +0 -28
  130. package/serviceOld/3d/Workers/chunk-DK73HV33.js +0 -26
  131. package/serviceOld/3d/Workers/chunk-EDF5FKWJ.js +0 -26
  132. package/serviceOld/3d/Workers/chunk-ET7KY3BS.js +0 -26
  133. package/serviceOld/3d/Workers/chunk-FIHQI7E3.js +0 -26
  134. package/serviceOld/3d/Workers/chunk-FVGSQINW.js +0 -26
  135. package/serviceOld/3d/Workers/chunk-FWF3VNA2.js +0 -26
  136. package/serviceOld/3d/Workers/chunk-GTQ3WXPT.js +0 -26
  137. package/serviceOld/3d/Workers/chunk-HSJ6GSLC.js +0 -26
  138. package/serviceOld/3d/Workers/chunk-IOTBNCMN.js +0 -26
  139. package/serviceOld/3d/Workers/chunk-IYO6TYGP.js +0 -26
  140. package/serviceOld/3d/Workers/chunk-J7MBSSYW.js +0 -26
  141. package/serviceOld/3d/Workers/chunk-KWAHJ72S.js +0 -28
  142. package/serviceOld/3d/Workers/chunk-KX5PR5Q3.js +0 -26
  143. package/serviceOld/3d/Workers/chunk-LJBMXZ6U.js +0 -26
  144. package/serviceOld/3d/Workers/chunk-LPJEXZWM.js +0 -26
  145. package/serviceOld/3d/Workers/chunk-MKDADUG3.js +0 -26
  146. package/serviceOld/3d/Workers/chunk-NOIUI5SY.js +0 -27
  147. package/serviceOld/3d/Workers/chunk-OFCC6BNI.js +0 -26
  148. package/serviceOld/3d/Workers/chunk-OXJ2LJUE.js +0 -26
  149. package/serviceOld/3d/Workers/chunk-Q4W25C4L.js +0 -26
  150. package/serviceOld/3d/Workers/chunk-QORMFUM4.js +0 -26
  151. package/serviceOld/3d/Workers/chunk-RCHWDG3R.js +0 -26
  152. package/serviceOld/3d/Workers/chunk-RYOF6QSA.js +0 -26
  153. package/serviceOld/3d/Workers/chunk-SCO7TMKT.js +0 -26
  154. package/serviceOld/3d/Workers/chunk-SNSHUVCZ.js +0 -26
  155. package/serviceOld/3d/Workers/chunk-SXKYZMEL.js +0 -26
  156. package/serviceOld/3d/Workers/chunk-T6Q6HX5J.js +0 -26
  157. package/serviceOld/3d/Workers/chunk-T77EB7BE.js +0 -26
  158. package/serviceOld/3d/Workers/chunk-TGKHFJV6.js +0 -26
  159. package/serviceOld/3d/Workers/chunk-U6GWZBRL.js +0 -26
  160. package/serviceOld/3d/Workers/chunk-UTYWXSQT.js +0 -66
  161. package/serviceOld/3d/Workers/chunk-VHZAK4GN.js +0 -26
  162. package/serviceOld/3d/Workers/chunk-VTK7G5BX.js +0 -26
  163. package/serviceOld/3d/Workers/chunk-XBWRWNYZ.js +0 -26
  164. package/serviceOld/3d/Workers/chunk-XQDTMI7Q.js +0 -26
  165. package/serviceOld/3d/Workers/chunk-XQIJGAVD.js +0 -26
  166. package/serviceOld/3d/Workers/chunk-XRRBRTKL.js +0 -26
  167. package/serviceOld/3d/Workers/chunk-YHWHVNY2.js +0 -26
  168. package/serviceOld/3d/Workers/chunk-YY6GMQGO.js +0 -26
  169. package/serviceOld/3d/Workers/combineGeometry.js +0 -26
  170. package/serviceOld/3d/Workers/createBoxGeometry.js +0 -26
  171. package/serviceOld/3d/Workers/createBoxOutlineGeometry.js +0 -26
  172. package/serviceOld/3d/Workers/createCircleGeometry.js +0 -26
  173. package/serviceOld/3d/Workers/createCircleOutlineGeometry.js +0 -26
  174. package/serviceOld/3d/Workers/createCoplanarPolygonGeometry.js +0 -26
  175. package/serviceOld/3d/Workers/createCoplanarPolygonOutlineGeometry.js +0 -26
  176. package/serviceOld/3d/Workers/createCorridorGeometry.js +0 -26
  177. package/serviceOld/3d/Workers/createCorridorOutlineGeometry.js +0 -26
  178. package/serviceOld/3d/Workers/createCylinderGeometry.js +0 -26
  179. package/serviceOld/3d/Workers/createCylinderOutlineGeometry.js +0 -26
  180. package/serviceOld/3d/Workers/createEllipseGeometry.js +0 -26
  181. package/serviceOld/3d/Workers/createEllipseOutlineGeometry.js +0 -26
  182. package/serviceOld/3d/Workers/createEllipsoidGeometry.js +0 -26
  183. package/serviceOld/3d/Workers/createEllipsoidOutlineGeometry.js +0 -26
  184. package/serviceOld/3d/Workers/createFrustumGeometry.js +0 -26
  185. package/serviceOld/3d/Workers/createFrustumOutlineGeometry.js +0 -26
  186. package/serviceOld/3d/Workers/createGeometry.js +0 -26
  187. package/serviceOld/3d/Workers/createGroundPolylineGeometry.js +0 -26
  188. package/serviceOld/3d/Workers/createPlaneGeometry.js +0 -26
  189. package/serviceOld/3d/Workers/createPlaneOutlineGeometry.js +0 -26
  190. package/serviceOld/3d/Workers/createPolygonGeometry.js +0 -26
  191. package/serviceOld/3d/Workers/createPolygonOutlineGeometry.js +0 -26
  192. package/serviceOld/3d/Workers/createPolylineGeometry.js +0 -26
  193. package/serviceOld/3d/Workers/createPolylineVolumeGeometry.js +0 -26
  194. package/serviceOld/3d/Workers/createPolylineVolumeOutlineGeometry.js +0 -26
  195. package/serviceOld/3d/Workers/createRectangleGeometry.js +0 -26
  196. package/serviceOld/3d/Workers/createRectangleOutlineGeometry.js +0 -26
  197. package/serviceOld/3d/Workers/createSimplePolylineGeometry.js +0 -26
  198. package/serviceOld/3d/Workers/createSphereGeometry.js +0 -26
  199. package/serviceOld/3d/Workers/createSphereOutlineGeometry.js +0 -26
  200. package/serviceOld/3d/Workers/createTaskProcessorWorker.js +0 -26
  201. package/serviceOld/3d/Workers/createVectorTileClampedPolylines.js +0 -26
  202. package/serviceOld/3d/Workers/createVectorTileGeometries.js +0 -26
  203. package/serviceOld/3d/Workers/createVectorTilePoints.js +0 -26
  204. package/serviceOld/3d/Workers/createVectorTilePolygons.js +0 -26
  205. package/serviceOld/3d/Workers/createVectorTilePolylines.js +0 -26
  206. package/serviceOld/3d/Workers/createVerticesFromCesium3DTilesTerrain.js +0 -26
  207. package/serviceOld/3d/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +0 -26
  208. package/serviceOld/3d/Workers/createVerticesFromHeightmap.js +0 -26
  209. package/serviceOld/3d/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -26
  210. package/serviceOld/3d/Workers/createWallGeometry.js +0 -26
  211. package/serviceOld/3d/Workers/createWallOutlineGeometry.js +0 -26
  212. package/serviceOld/3d/Workers/decodeDraco.js +0 -26
  213. package/serviceOld/3d/Workers/decodeGoogleEarthEnterprisePacket.js +0 -26
  214. package/serviceOld/3d/Workers/decodeI3S.js +0 -26
  215. package/serviceOld/3d/Workers/gaussianSplatSorter.js +0 -26
  216. package/serviceOld/3d/Workers/gaussianSplatTextureGenerator.js +0 -26
  217. package/serviceOld/3d/Workers/transcodeKTX2.js +0 -56
  218. package/serviceOld/3d/Workers/transferTypedArrayTest.js +0 -26
  219. package/serviceOld/3d/Workers/upsampleQuantizedTerrainMesh.js +0 -26
  220. package/serviceOld/3d/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +0 -26
  221. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_0.json +0 -1
  222. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_1.json +0 -1
  223. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_10.json +0 -1
  224. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_11.json +0 -1
  225. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_12.json +0 -1
  226. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_13.json +0 -1
  227. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_14.json +0 -1
  228. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_15.json +0 -1
  229. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_16.json +0 -1
  230. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_17.json +0 -1
  231. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_18.json +0 -1
  232. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_19.json +0 -1
  233. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_2.json +0 -1
  234. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_20.json +0 -1
  235. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_21.json +0 -1
  236. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_22.json +0 -1
  237. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_23.json +0 -1
  238. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_24.json +0 -1
  239. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_25.json +0 -1
  240. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_26.json +0 -1
  241. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_27.json +0 -1
  242. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_3.json +0 -1
  243. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_4.json +0 -1
  244. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_5.json +0 -1
  245. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_6.json +0 -1
  246. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_7.json +0 -1
  247. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_8.json +0 -1
  248. package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_9.json +0 -1
  249. package/servicee/3d/Assets/Images/bing_maps_credit.png +0 -0
  250. package/servicee/3d/Assets/Images/cesium_credit.png +0 -0
  251. package/servicee/3d/Assets/Images/google_earth_credit.png +0 -0
  252. package/servicee/3d/Assets/Images/ion-credit.png +0 -0
  253. package/servicee/3d/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  254. package/servicee/3d/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  255. package/servicee/3d/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  256. package/servicee/3d/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  257. package/servicee/3d/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  258. package/servicee/3d/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  259. package/servicee/3d/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  260. package/servicee/3d/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  261. package/servicee/3d/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  262. package/servicee/3d/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  263. package/servicee/3d/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  264. package/servicee/3d/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  265. package/servicee/3d/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  266. package/servicee/3d/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  267. package/servicee/3d/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  268. package/servicee/3d/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  269. package/servicee/3d/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  270. package/servicee/3d/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  271. package/servicee/3d/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  272. package/servicee/3d/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  273. package/servicee/3d/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  274. package/servicee/3d/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  275. package/servicee/3d/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  276. package/servicee/3d/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  277. package/servicee/3d/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  278. package/servicee/3d/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  279. package/servicee/3d/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  280. package/servicee/3d/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  281. package/servicee/3d/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  282. package/servicee/3d/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  283. package/servicee/3d/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  284. package/servicee/3d/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  285. package/servicee/3d/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  286. package/servicee/3d/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  287. package/servicee/3d/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  288. package/servicee/3d/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  289. package/servicee/3d/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  290. package/servicee/3d/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  291. package/servicee/3d/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  292. package/servicee/3d/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  293. package/servicee/3d/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  294. package/servicee/3d/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  295. package/servicee/3d/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  296. package/servicee/3d/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  297. package/servicee/3d/Assets/Textures/NaturalEarthII/tilemapresource.xml +0 -14
  298. package/servicee/3d/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  299. package/servicee/3d/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  300. package/servicee/3d/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  301. package/servicee/3d/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  302. package/servicee/3d/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  303. package/servicee/3d/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  304. package/servicee/3d/Assets/Textures/maki/airfield.png +0 -0
  305. package/servicee/3d/Assets/Textures/maki/airport.png +0 -0
  306. package/servicee/3d/Assets/Textures/maki/alcohol-shop.png +0 -0
  307. package/servicee/3d/Assets/Textures/maki/america-football.png +0 -0
  308. package/servicee/3d/Assets/Textures/maki/art-gallery.png +0 -0
  309. package/servicee/3d/Assets/Textures/maki/bakery.png +0 -0
  310. package/servicee/3d/Assets/Textures/maki/bank.png +0 -0
  311. package/servicee/3d/Assets/Textures/maki/bar.png +0 -0
  312. package/servicee/3d/Assets/Textures/maki/baseball.png +0 -0
  313. package/servicee/3d/Assets/Textures/maki/basketball.png +0 -0
  314. package/servicee/3d/Assets/Textures/maki/beer.png +0 -0
  315. package/servicee/3d/Assets/Textures/maki/bicycle.png +0 -0
  316. package/servicee/3d/Assets/Textures/maki/building.png +0 -0
  317. package/servicee/3d/Assets/Textures/maki/bus.png +0 -0
  318. package/servicee/3d/Assets/Textures/maki/cafe.png +0 -0
  319. package/servicee/3d/Assets/Textures/maki/camera.png +0 -0
  320. package/servicee/3d/Assets/Textures/maki/campsite.png +0 -0
  321. package/servicee/3d/Assets/Textures/maki/car.png +0 -0
  322. package/servicee/3d/Assets/Textures/maki/cemetery.png +0 -0
  323. package/servicee/3d/Assets/Textures/maki/cesium.png +0 -0
  324. package/servicee/3d/Assets/Textures/maki/chemist.png +0 -0
  325. package/servicee/3d/Assets/Textures/maki/cinema.png +0 -0
  326. package/servicee/3d/Assets/Textures/maki/circle-stroked.png +0 -0
  327. package/servicee/3d/Assets/Textures/maki/circle.png +0 -0
  328. package/servicee/3d/Assets/Textures/maki/city.png +0 -0
  329. package/servicee/3d/Assets/Textures/maki/clothing-store.png +0 -0
  330. package/servicee/3d/Assets/Textures/maki/college.png +0 -0
  331. package/servicee/3d/Assets/Textures/maki/commercial.png +0 -0
  332. package/servicee/3d/Assets/Textures/maki/cricket.png +0 -0
  333. package/servicee/3d/Assets/Textures/maki/cross.png +0 -0
  334. package/servicee/3d/Assets/Textures/maki/dam.png +0 -0
  335. package/servicee/3d/Assets/Textures/maki/danger.png +0 -0
  336. package/servicee/3d/Assets/Textures/maki/disability.png +0 -0
  337. package/servicee/3d/Assets/Textures/maki/dog-park.png +0 -0
  338. package/servicee/3d/Assets/Textures/maki/embassy.png +0 -0
  339. package/servicee/3d/Assets/Textures/maki/emergency-telephone.png +0 -0
  340. package/servicee/3d/Assets/Textures/maki/entrance.png +0 -0
  341. package/servicee/3d/Assets/Textures/maki/farm.png +0 -0
  342. package/servicee/3d/Assets/Textures/maki/fast-food.png +0 -0
  343. package/servicee/3d/Assets/Textures/maki/ferry.png +0 -0
  344. package/servicee/3d/Assets/Textures/maki/fire-station.png +0 -0
  345. package/servicee/3d/Assets/Textures/maki/fuel.png +0 -0
  346. package/servicee/3d/Assets/Textures/maki/garden.png +0 -0
  347. package/servicee/3d/Assets/Textures/maki/gift.png +0 -0
  348. package/servicee/3d/Assets/Textures/maki/golf.png +0 -0
  349. package/servicee/3d/Assets/Textures/maki/grocery.png +0 -0
  350. package/servicee/3d/Assets/Textures/maki/hairdresser.png +0 -0
  351. package/servicee/3d/Assets/Textures/maki/harbor.png +0 -0
  352. package/servicee/3d/Assets/Textures/maki/heart.png +0 -0
  353. package/servicee/3d/Assets/Textures/maki/heliport.png +0 -0
  354. package/servicee/3d/Assets/Textures/maki/hospital.png +0 -0
  355. package/servicee/3d/Assets/Textures/maki/ice-cream.png +0 -0
  356. package/servicee/3d/Assets/Textures/maki/industrial.png +0 -0
  357. package/servicee/3d/Assets/Textures/maki/land-use.png +0 -0
  358. package/servicee/3d/Assets/Textures/maki/laundry.png +0 -0
  359. package/servicee/3d/Assets/Textures/maki/library.png +0 -0
  360. package/servicee/3d/Assets/Textures/maki/lighthouse.png +0 -0
  361. package/servicee/3d/Assets/Textures/maki/lodging.png +0 -0
  362. package/servicee/3d/Assets/Textures/maki/logging.png +0 -0
  363. package/servicee/3d/Assets/Textures/maki/london-underground.png +0 -0
  364. package/servicee/3d/Assets/Textures/maki/marker-stroked.png +0 -0
  365. package/servicee/3d/Assets/Textures/maki/marker.png +0 -0
  366. package/servicee/3d/Assets/Textures/maki/minefield.png +0 -0
  367. package/servicee/3d/Assets/Textures/maki/mobilephone.png +0 -0
  368. package/servicee/3d/Assets/Textures/maki/monument.png +0 -0
  369. package/servicee/3d/Assets/Textures/maki/museum.png +0 -0
  370. package/servicee/3d/Assets/Textures/maki/music.png +0 -0
  371. package/servicee/3d/Assets/Textures/maki/oil-well.png +0 -0
  372. package/servicee/3d/Assets/Textures/maki/park.png +0 -0
  373. package/servicee/3d/Assets/Textures/maki/park2.png +0 -0
  374. package/servicee/3d/Assets/Textures/maki/parking-garage.png +0 -0
  375. package/servicee/3d/Assets/Textures/maki/parking.png +0 -0
  376. package/servicee/3d/Assets/Textures/maki/pharmacy.png +0 -0
  377. package/servicee/3d/Assets/Textures/maki/pitch.png +0 -0
  378. package/servicee/3d/Assets/Textures/maki/place-of-worship.png +0 -0
  379. package/servicee/3d/Assets/Textures/maki/playground.png +0 -0
  380. package/servicee/3d/Assets/Textures/maki/police.png +0 -0
  381. package/servicee/3d/Assets/Textures/maki/polling-place.png +0 -0
  382. package/servicee/3d/Assets/Textures/maki/post.png +0 -0
  383. package/servicee/3d/Assets/Textures/maki/prison.png +0 -0
  384. package/servicee/3d/Assets/Textures/maki/rail-above.png +0 -0
  385. package/servicee/3d/Assets/Textures/maki/rail-light.png +0 -0
  386. package/servicee/3d/Assets/Textures/maki/rail-metro.png +0 -0
  387. package/servicee/3d/Assets/Textures/maki/rail-underground.png +0 -0
  388. package/servicee/3d/Assets/Textures/maki/rail.png +0 -0
  389. package/servicee/3d/Assets/Textures/maki/religious-christian.png +0 -0
  390. package/servicee/3d/Assets/Textures/maki/religious-jewish.png +0 -0
  391. package/servicee/3d/Assets/Textures/maki/religious-muslim.png +0 -0
  392. package/servicee/3d/Assets/Textures/maki/restaurant.png +0 -0
  393. package/servicee/3d/Assets/Textures/maki/roadblock.png +0 -0
  394. package/servicee/3d/Assets/Textures/maki/rocket.png +0 -0
  395. package/servicee/3d/Assets/Textures/maki/school.png +0 -0
  396. package/servicee/3d/Assets/Textures/maki/scooter.png +0 -0
  397. package/servicee/3d/Assets/Textures/maki/shop.png +0 -0
  398. package/servicee/3d/Assets/Textures/maki/skiing.png +0 -0
  399. package/servicee/3d/Assets/Textures/maki/slaughterhouse.png +0 -0
  400. package/servicee/3d/Assets/Textures/maki/soccer.png +0 -0
  401. package/servicee/3d/Assets/Textures/maki/square-stroked.png +0 -0
  402. package/servicee/3d/Assets/Textures/maki/square.png +0 -0
  403. package/servicee/3d/Assets/Textures/maki/star-stroked.png +0 -0
  404. package/servicee/3d/Assets/Textures/maki/star.png +0 -0
  405. package/servicee/3d/Assets/Textures/maki/suitcase.png +0 -0
  406. package/servicee/3d/Assets/Textures/maki/swimming.png +0 -0
  407. package/servicee/3d/Assets/Textures/maki/telephone.png +0 -0
  408. package/servicee/3d/Assets/Textures/maki/tennis.png +0 -0
  409. package/servicee/3d/Assets/Textures/maki/theatre.png +0 -0
  410. package/servicee/3d/Assets/Textures/maki/toilets.png +0 -0
  411. package/servicee/3d/Assets/Textures/maki/town-hall.png +0 -0
  412. package/servicee/3d/Assets/Textures/maki/town.png +0 -0
  413. package/servicee/3d/Assets/Textures/maki/triangle-stroked.png +0 -0
  414. package/servicee/3d/Assets/Textures/maki/triangle.png +0 -0
  415. package/servicee/3d/Assets/Textures/maki/village.png +0 -0
  416. package/servicee/3d/Assets/Textures/maki/warehouse.png +0 -0
  417. package/servicee/3d/Assets/Textures/maki/waste-basket.png +0 -0
  418. package/servicee/3d/Assets/Textures/maki/water.png +0 -0
  419. package/servicee/3d/Assets/Textures/maki/wetland.png +0 -0
  420. package/servicee/3d/Assets/Textures/maki/zoo.png +0 -0
  421. package/servicee/3d/Assets/Textures/moonSmall.jpg +0 -0
  422. package/servicee/3d/Assets/Textures/pin.svg +0 -1
  423. package/servicee/3d/Assets/Textures/waterNormals.jpg +0 -0
  424. package/servicee/3d/Assets/Textures/waterNormalsSmall.jpg +0 -0
  425. package/servicee/3d/Assets/approximateTerrainHeights.json +0 -1
  426. package/servicee/3d/Cesium.js +0 -16569
  427. package/servicee/3d/ThirdParty/Workers/package.json +0 -1
  428. package/servicee/3d/ThirdParty/Workers/zip-web-worker.js +0 -1
  429. package/servicee/3d/ThirdParty/basis_transcoder.wasm +0 -0
  430. package/servicee/3d/ThirdParty/draco_decoder.wasm +0 -0
  431. package/servicee/3d/ThirdParty/google-earth-dbroot-parser.js +0 -1
  432. package/servicee/3d/ThirdParty/wasm_splats_bg.wasm +0 -0
  433. package/servicee/3d/ThirdParty/zip-module.wasm +0 -0
  434. package/servicee/3d/Widgets/Animation/Animation.css +0 -127
  435. package/servicee/3d/Widgets/Animation/lighter.css +0 -70
  436. package/servicee/3d/Widgets/BaseLayerPicker/BaseLayerPicker.css +0 -108
  437. package/servicee/3d/Widgets/BaseLayerPicker/lighter.css +0 -22
  438. package/servicee/3d/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +0 -102
  439. package/servicee/3d/Widgets/CesiumInspector/CesiumInspector.css +0 -113
  440. package/servicee/3d/Widgets/CesiumWidget/CesiumWidget.css +0 -119
  441. package/servicee/3d/Widgets/CesiumWidget/lighter.css +0 -14
  442. package/servicee/3d/Widgets/FullscreenButton/FullscreenButton.css +0 -8
  443. package/servicee/3d/Widgets/Geocoder/Geocoder.css +0 -70
  444. package/servicee/3d/Widgets/Geocoder/lighter.css +0 -17
  445. package/servicee/3d/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +0 -27
  446. package/servicee/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  447. package/servicee/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  448. package/servicee/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  449. package/servicee/3d/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  450. package/servicee/3d/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  451. package/servicee/3d/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  452. package/servicee/3d/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  453. package/servicee/3d/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  454. package/servicee/3d/Widgets/Images/ImageryProviders/googleContour.png +0 -0
  455. package/servicee/3d/Widgets/Images/ImageryProviders/googleLabels.png +0 -0
  456. package/servicee/3d/Widgets/Images/ImageryProviders/googleRoadmap.png +0 -0
  457. package/servicee/3d/Widgets/Images/ImageryProviders/googleSatellite.png +0 -0
  458. package/servicee/3d/Widgets/Images/ImageryProviders/googleSatelliteLabels.png +0 -0
  459. package/servicee/3d/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  460. package/servicee/3d/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  461. package/servicee/3d/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  462. package/servicee/3d/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  463. package/servicee/3d/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  464. package/servicee/3d/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  465. package/servicee/3d/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  466. package/servicee/3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  467. package/servicee/3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  468. package/servicee/3d/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  469. package/servicee/3d/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  470. package/servicee/3d/Widgets/Images/NavigationHelp/Mouse.svg +0 -84
  471. package/servicee/3d/Widgets/Images/NavigationHelp/MouseLeft.svg +0 -76
  472. package/servicee/3d/Widgets/Images/NavigationHelp/MouseMiddle.svg +0 -76
  473. package/servicee/3d/Widgets/Images/NavigationHelp/MouseRight.svg +0 -76
  474. package/servicee/3d/Widgets/Images/NavigationHelp/Touch.svg +0 -120
  475. package/servicee/3d/Widgets/Images/NavigationHelp/TouchDrag.svg +0 -129
  476. package/servicee/3d/Widgets/Images/NavigationHelp/TouchRotate.svg +0 -76
  477. package/servicee/3d/Widgets/Images/NavigationHelp/TouchTilt.svg +0 -135
  478. package/servicee/3d/Widgets/Images/NavigationHelp/TouchZoom.svg +0 -74
  479. package/servicee/3d/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  480. package/servicee/3d/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  481. package/servicee/3d/Widgets/Images/TimelineIcons.png +0 -0
  482. package/servicee/3d/Widgets/Images/info-loading.gif +0 -0
  483. package/servicee/3d/Widgets/InfoBox/InfoBox.css +0 -92
  484. package/servicee/3d/Widgets/InfoBox/InfoBoxDescription.css +0 -178
  485. package/servicee/3d/Widgets/NavigationHelpButton/NavigationHelpButton.css +0 -93
  486. package/servicee/3d/Widgets/NavigationHelpButton/lighter.css +0 -38
  487. package/servicee/3d/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +0 -15
  488. package/servicee/3d/Widgets/ProjectionPicker/ProjectionPicker.css +0 -38
  489. package/servicee/3d/Widgets/SceneModePicker/SceneModePicker.css +0 -56
  490. package/servicee/3d/Widgets/SelectionIndicator/SelectionIndicator.css +0 -20
  491. package/servicee/3d/Widgets/Timeline/Timeline.css +0 -103
  492. package/servicee/3d/Widgets/Timeline/lighter.css +0 -23
  493. package/servicee/3d/Widgets/VRButton/VRButton.css +0 -8
  494. package/servicee/3d/Widgets/Viewer/Viewer.css +0 -107
  495. package/servicee/3d/Widgets/VoxelInspector/VoxelInspector.css +0 -16
  496. package/servicee/3d/Widgets/lighter.css +0 -237
  497. package/servicee/3d/Widgets/lighterShared.css +0 -46
  498. package/servicee/3d/Widgets/shared.css +0 -103
  499. package/servicee/3d/Widgets/widgets.css +0 -1342
  500. package/servicee/3d/Workers/chunk-2ZPEMRCT.js +0 -26
  501. package/servicee/3d/Workers/chunk-3BSRJTW3.js +0 -26
  502. package/servicee/3d/Workers/chunk-3WSHJXU2.js +0 -26
  503. package/servicee/3d/Workers/chunk-42MGKNSS.js +0 -26
  504. package/servicee/3d/Workers/chunk-4MJDNHOT.js +0 -26
  505. package/servicee/3d/Workers/chunk-5G23AKP3.js +0 -27
  506. package/servicee/3d/Workers/chunk-5HPISDSZ.js +0 -26
  507. package/servicee/3d/Workers/chunk-APG2S62J.js +0 -26
  508. package/servicee/3d/Workers/chunk-AZLP5742.js +0 -26
  509. package/servicee/3d/Workers/chunk-BJAB7QAF.js +0 -26
  510. package/servicee/3d/Workers/chunk-BTDQB5Q4.js +0 -26
  511. package/servicee/3d/Workers/chunk-CJRI54BI.js +0 -26
  512. package/servicee/3d/Workers/chunk-CUP6SILZ.js +0 -26
  513. package/servicee/3d/Workers/chunk-D2NFCOGE.js +0 -28
  514. package/servicee/3d/Workers/chunk-DK73HV33.js +0 -26
  515. package/servicee/3d/Workers/chunk-EDF5FKWJ.js +0 -26
  516. package/servicee/3d/Workers/chunk-ET7KY3BS.js +0 -26
  517. package/servicee/3d/Workers/chunk-FIHQI7E3.js +0 -26
  518. package/servicee/3d/Workers/chunk-FVGSQINW.js +0 -26
  519. package/servicee/3d/Workers/chunk-FWF3VNA2.js +0 -26
  520. package/servicee/3d/Workers/chunk-GTQ3WXPT.js +0 -26
  521. package/servicee/3d/Workers/chunk-HSJ6GSLC.js +0 -26
  522. package/servicee/3d/Workers/chunk-IOTBNCMN.js +0 -26
  523. package/servicee/3d/Workers/chunk-IYO6TYGP.js +0 -26
  524. package/servicee/3d/Workers/chunk-J7MBSSYW.js +0 -26
  525. package/servicee/3d/Workers/chunk-KWAHJ72S.js +0 -28
  526. package/servicee/3d/Workers/chunk-KX5PR5Q3.js +0 -26
  527. package/servicee/3d/Workers/chunk-LJBMXZ6U.js +0 -26
  528. package/servicee/3d/Workers/chunk-LPJEXZWM.js +0 -26
  529. package/servicee/3d/Workers/chunk-MKDADUG3.js +0 -26
  530. package/servicee/3d/Workers/chunk-NOIUI5SY.js +0 -27
  531. package/servicee/3d/Workers/chunk-OFCC6BNI.js +0 -26
  532. package/servicee/3d/Workers/chunk-OXJ2LJUE.js +0 -26
  533. package/servicee/3d/Workers/chunk-Q4W25C4L.js +0 -26
  534. package/servicee/3d/Workers/chunk-QORMFUM4.js +0 -26
  535. package/servicee/3d/Workers/chunk-RCHWDG3R.js +0 -26
  536. package/servicee/3d/Workers/chunk-RYOF6QSA.js +0 -26
  537. package/servicee/3d/Workers/chunk-SCO7TMKT.js +0 -26
  538. package/servicee/3d/Workers/chunk-SNSHUVCZ.js +0 -26
  539. package/servicee/3d/Workers/chunk-SXKYZMEL.js +0 -26
  540. package/servicee/3d/Workers/chunk-T6Q6HX5J.js +0 -26
  541. package/servicee/3d/Workers/chunk-T77EB7BE.js +0 -26
  542. package/servicee/3d/Workers/chunk-TGKHFJV6.js +0 -26
  543. package/servicee/3d/Workers/chunk-U6GWZBRL.js +0 -26
  544. package/servicee/3d/Workers/chunk-UTYWXSQT.js +0 -66
  545. package/servicee/3d/Workers/chunk-VHZAK4GN.js +0 -26
  546. package/servicee/3d/Workers/chunk-VTK7G5BX.js +0 -26
  547. package/servicee/3d/Workers/chunk-XBWRWNYZ.js +0 -26
  548. package/servicee/3d/Workers/chunk-XQDTMI7Q.js +0 -26
  549. package/servicee/3d/Workers/chunk-XQIJGAVD.js +0 -26
  550. package/servicee/3d/Workers/chunk-XRRBRTKL.js +0 -26
  551. package/servicee/3d/Workers/chunk-YHWHVNY2.js +0 -26
  552. package/servicee/3d/Workers/chunk-YY6GMQGO.js +0 -26
  553. package/servicee/3d/Workers/combineGeometry.js +0 -26
  554. package/servicee/3d/Workers/createBoxGeometry.js +0 -26
  555. package/servicee/3d/Workers/createBoxOutlineGeometry.js +0 -26
  556. package/servicee/3d/Workers/createCircleGeometry.js +0 -26
  557. package/servicee/3d/Workers/createCircleOutlineGeometry.js +0 -26
  558. package/servicee/3d/Workers/createCoplanarPolygonGeometry.js +0 -26
  559. package/servicee/3d/Workers/createCoplanarPolygonOutlineGeometry.js +0 -26
  560. package/servicee/3d/Workers/createCorridorGeometry.js +0 -26
  561. package/servicee/3d/Workers/createCorridorOutlineGeometry.js +0 -26
  562. package/servicee/3d/Workers/createCylinderGeometry.js +0 -26
  563. package/servicee/3d/Workers/createCylinderOutlineGeometry.js +0 -26
  564. package/servicee/3d/Workers/createEllipseGeometry.js +0 -26
  565. package/servicee/3d/Workers/createEllipseOutlineGeometry.js +0 -26
  566. package/servicee/3d/Workers/createEllipsoidGeometry.js +0 -26
  567. package/servicee/3d/Workers/createEllipsoidOutlineGeometry.js +0 -26
  568. package/servicee/3d/Workers/createFrustumGeometry.js +0 -26
  569. package/servicee/3d/Workers/createFrustumOutlineGeometry.js +0 -26
  570. package/servicee/3d/Workers/createGroundPolylineGeometry.js +0 -26
  571. package/servicee/3d/Workers/createPlaneGeometry.js +0 -26
  572. package/servicee/3d/Workers/createPlaneOutlineGeometry.js +0 -26
  573. package/servicee/3d/Workers/createPolygonGeometry.js +0 -26
  574. package/servicee/3d/Workers/createPolygonOutlineGeometry.js +0 -26
  575. package/servicee/3d/Workers/createPolylineGeometry.js +0 -26
  576. package/servicee/3d/Workers/createPolylineVolumeGeometry.js +0 -26
  577. package/servicee/3d/Workers/createPolylineVolumeOutlineGeometry.js +0 -26
  578. package/servicee/3d/Workers/createRectangleGeometry.js +0 -26
  579. package/servicee/3d/Workers/createRectangleOutlineGeometry.js +0 -26
  580. package/servicee/3d/Workers/createSimplePolylineGeometry.js +0 -26
  581. package/servicee/3d/Workers/createSphereGeometry.js +0 -26
  582. package/servicee/3d/Workers/createSphereOutlineGeometry.js +0 -26
  583. package/servicee/3d/Workers/createTaskProcessorWorker.js +0 -26
  584. package/servicee/3d/Workers/createVectorTileClampedPolylines.js +0 -26
  585. package/servicee/3d/Workers/createVectorTileGeometries.js +0 -26
  586. package/servicee/3d/Workers/createVectorTilePoints.js +0 -26
  587. package/servicee/3d/Workers/createVectorTilePolygons.js +0 -26
  588. package/servicee/3d/Workers/createVectorTilePolylines.js +0 -26
  589. package/servicee/3d/Workers/createVerticesFromCesium3DTilesTerrain.js +0 -26
  590. package/servicee/3d/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +0 -26
  591. package/servicee/3d/Workers/createVerticesFromHeightmap.js +0 -26
  592. package/servicee/3d/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -26
  593. package/servicee/3d/Workers/createWallGeometry.js +0 -26
  594. package/servicee/3d/Workers/createWallOutlineGeometry.js +0 -26
  595. package/servicee/3d/Workers/decodeDraco.js +0 -26
  596. package/servicee/3d/Workers/decodeGoogleEarthEnterprisePacket.js +0 -26
  597. package/servicee/3d/Workers/decodeI3S.js +0 -26
  598. package/servicee/3d/Workers/gaussianSplatSorter.js +0 -26
  599. package/servicee/3d/Workers/gaussianSplatTextureGenerator.js +0 -26
  600. package/servicee/3d/Workers/transcodeKTX2.js +0 -56
  601. package/servicee/3d/Workers/transferTypedArrayTest.js +0 -26
  602. package/servicee/3d/Workers/upsampleQuantizedTerrainMesh.js +0 -26
  603. package/servicee/3d/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +0 -26
  604. package/servicee/3d/index.cjs +0 -16569
  605. package/servicee/3d/index.js +0 -16569
  606. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_0.json +0 -0
  607. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_1.json +0 -0
  608. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_10.json +0 -0
  609. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_11.json +0 -0
  610. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_12.json +0 -0
  611. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_13.json +0 -0
  612. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_14.json +0 -0
  613. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_15.json +0 -0
  614. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_16.json +0 -0
  615. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_17.json +0 -0
  616. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_18.json +0 -0
  617. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_19.json +0 -0
  618. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_2.json +0 -0
  619. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_20.json +0 -0
  620. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_21.json +0 -0
  621. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_22.json +0 -0
  622. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_23.json +0 -0
  623. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_24.json +0 -0
  624. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_25.json +0 -0
  625. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_26.json +0 -0
  626. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_27.json +0 -0
  627. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_3.json +0 -0
  628. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_4.json +0 -0
  629. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_5.json +0 -0
  630. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_6.json +0 -0
  631. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_7.json +0 -0
  632. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_8.json +0 -0
  633. /package/{serviceOld → serviceV2}/3d/Assets/IAU2006_XYS/IAU2006_XYS_9.json +0 -0
  634. /package/{serviceOld → serviceV2}/3d/Assets/Images/bing_maps_credit.png +0 -0
  635. /package/{serviceOld → serviceV2}/3d/Assets/Images/cesium_credit.png +0 -0
  636. /package/{serviceOld → serviceV2}/3d/Assets/Images/google_earth_credit.png +0 -0
  637. /package/{serviceOld → serviceV2}/3d/Assets/Images/ion-credit.png +0 -0
  638. /package/{serviceOld → serviceV2}/3d/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  639. /package/{serviceOld → serviceV2}/3d/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  640. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  641. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  642. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  643. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  644. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  645. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  646. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  647. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  648. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  649. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  650. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  651. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  652. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  653. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  654. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  655. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  656. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  657. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  658. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  659. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  660. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  661. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  662. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  663. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  664. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  665. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  666. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  667. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  668. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  669. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  670. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  671. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  672. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  673. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  674. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  675. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  676. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  677. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  678. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  679. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  680. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  681. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  682. /package/{serviceOld → serviceV2}/3d/Assets/Textures/NaturalEarthII/tilemapresource.xml +0 -0
  683. /package/{serviceOld → serviceV2}/3d/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  684. /package/{serviceOld → serviceV2}/3d/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  685. /package/{serviceOld → serviceV2}/3d/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  686. /package/{serviceOld → serviceV2}/3d/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  687. /package/{serviceOld → serviceV2}/3d/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  688. /package/{serviceOld → serviceV2}/3d/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  689. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/airfield.png +0 -0
  690. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/airport.png +0 -0
  691. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/alcohol-shop.png +0 -0
  692. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/america-football.png +0 -0
  693. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/art-gallery.png +0 -0
  694. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/bakery.png +0 -0
  695. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/bank.png +0 -0
  696. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/bar.png +0 -0
  697. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/baseball.png +0 -0
  698. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/basketball.png +0 -0
  699. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/beer.png +0 -0
  700. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/bicycle.png +0 -0
  701. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/building.png +0 -0
  702. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/bus.png +0 -0
  703. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/cafe.png +0 -0
  704. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/camera.png +0 -0
  705. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/campsite.png +0 -0
  706. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/car.png +0 -0
  707. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/cemetery.png +0 -0
  708. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/cesium.png +0 -0
  709. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/chemist.png +0 -0
  710. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/cinema.png +0 -0
  711. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/circle-stroked.png +0 -0
  712. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/circle.png +0 -0
  713. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/city.png +0 -0
  714. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/clothing-store.png +0 -0
  715. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/college.png +0 -0
  716. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/commercial.png +0 -0
  717. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/cricket.png +0 -0
  718. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/cross.png +0 -0
  719. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/dam.png +0 -0
  720. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/danger.png +0 -0
  721. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/disability.png +0 -0
  722. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/dog-park.png +0 -0
  723. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/embassy.png +0 -0
  724. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/emergency-telephone.png +0 -0
  725. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/entrance.png +0 -0
  726. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/farm.png +0 -0
  727. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/fast-food.png +0 -0
  728. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/ferry.png +0 -0
  729. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/fire-station.png +0 -0
  730. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/fuel.png +0 -0
  731. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/garden.png +0 -0
  732. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/gift.png +0 -0
  733. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/golf.png +0 -0
  734. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/grocery.png +0 -0
  735. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/hairdresser.png +0 -0
  736. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/harbor.png +0 -0
  737. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/heart.png +0 -0
  738. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/heliport.png +0 -0
  739. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/hospital.png +0 -0
  740. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/ice-cream.png +0 -0
  741. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/industrial.png +0 -0
  742. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/land-use.png +0 -0
  743. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/laundry.png +0 -0
  744. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/library.png +0 -0
  745. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/lighthouse.png +0 -0
  746. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/lodging.png +0 -0
  747. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/logging.png +0 -0
  748. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/london-underground.png +0 -0
  749. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/marker-stroked.png +0 -0
  750. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/marker.png +0 -0
  751. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/minefield.png +0 -0
  752. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/mobilephone.png +0 -0
  753. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/monument.png +0 -0
  754. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/museum.png +0 -0
  755. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/music.png +0 -0
  756. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/oil-well.png +0 -0
  757. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/park.png +0 -0
  758. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/park2.png +0 -0
  759. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/parking-garage.png +0 -0
  760. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/parking.png +0 -0
  761. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/pharmacy.png +0 -0
  762. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/pitch.png +0 -0
  763. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/place-of-worship.png +0 -0
  764. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/playground.png +0 -0
  765. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/police.png +0 -0
  766. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/polling-place.png +0 -0
  767. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/post.png +0 -0
  768. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/prison.png +0 -0
  769. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/rail-above.png +0 -0
  770. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/rail-light.png +0 -0
  771. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/rail-metro.png +0 -0
  772. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/rail-underground.png +0 -0
  773. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/rail.png +0 -0
  774. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/religious-christian.png +0 -0
  775. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/religious-jewish.png +0 -0
  776. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/religious-muslim.png +0 -0
  777. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/restaurant.png +0 -0
  778. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/roadblock.png +0 -0
  779. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/rocket.png +0 -0
  780. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/school.png +0 -0
  781. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/scooter.png +0 -0
  782. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/shop.png +0 -0
  783. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/skiing.png +0 -0
  784. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/slaughterhouse.png +0 -0
  785. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/soccer.png +0 -0
  786. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/square-stroked.png +0 -0
  787. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/square.png +0 -0
  788. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/star-stroked.png +0 -0
  789. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/star.png +0 -0
  790. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/suitcase.png +0 -0
  791. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/swimming.png +0 -0
  792. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/telephone.png +0 -0
  793. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/tennis.png +0 -0
  794. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/theatre.png +0 -0
  795. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/toilets.png +0 -0
  796. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/town-hall.png +0 -0
  797. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/town.png +0 -0
  798. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/triangle-stroked.png +0 -0
  799. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/triangle.png +0 -0
  800. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/village.png +0 -0
  801. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/warehouse.png +0 -0
  802. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/waste-basket.png +0 -0
  803. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/water.png +0 -0
  804. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/wetland.png +0 -0
  805. /package/{serviceOld → serviceV2}/3d/Assets/Textures/maki/zoo.png +0 -0
  806. /package/{serviceOld → serviceV2}/3d/Assets/Textures/moonSmall.jpg +0 -0
  807. /package/{serviceOld → serviceV2}/3d/Assets/Textures/pin.svg +0 -0
  808. /package/{serviceOld → serviceV2}/3d/Assets/Textures/waterNormals.jpg +0 -0
  809. /package/{serviceOld → serviceV2}/3d/Assets/Textures/waterNormalsSmall.jpg +0 -0
  810. /package/{serviceOld → serviceV2}/3d/Assets/approximateTerrainHeights.json +0 -0
  811. /package/{serviceOld → serviceV2}/3d/ThirdParty/Workers/package.json +0 -0
  812. /package/{serviceOld → serviceV2}/3d/ThirdParty/basis_transcoder.wasm +0 -0
  813. /package/{serviceOld → serviceV2}/3d/ThirdParty/draco_decoder.wasm +0 -0
  814. /package/{serviceOld → serviceV2}/3d/ThirdParty/wasm_splats_bg.wasm +0 -0
  815. /package/{serviceOld → serviceV2}/3d/ThirdParty/zip-module.wasm +0 -0
  816. /package/{serviceOld → serviceV2}/3d/Widgets/Animation/Animation.css +0 -0
  817. /package/{serviceOld → serviceV2}/3d/Widgets/Animation/lighter.css +0 -0
  818. /package/{serviceOld → serviceV2}/3d/Widgets/BaseLayerPicker/BaseLayerPicker.css +0 -0
  819. /package/{serviceOld → serviceV2}/3d/Widgets/BaseLayerPicker/lighter.css +0 -0
  820. /package/{serviceOld → serviceV2}/3d/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +0 -0
  821. /package/{serviceOld → serviceV2}/3d/Widgets/CesiumInspector/CesiumInspector.css +0 -0
  822. /package/{serviceOld → serviceV2}/3d/Widgets/CesiumWidget/CesiumWidget.css +0 -0
  823. /package/{serviceOld → serviceV2}/3d/Widgets/CesiumWidget/lighter.css +0 -0
  824. /package/{serviceOld → serviceV2}/3d/Widgets/FullscreenButton/FullscreenButton.css +0 -0
  825. /package/{serviceOld → serviceV2}/3d/Widgets/Geocoder/Geocoder.css +0 -0
  826. /package/{serviceOld → serviceV2}/3d/Widgets/Geocoder/lighter.css +0 -0
  827. /package/{serviceOld → serviceV2}/3d/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +0 -0
  828. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  829. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  830. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  831. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  832. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  833. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  834. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  835. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  836. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/googleContour.png +0 -0
  837. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/googleLabels.png +0 -0
  838. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/googleRoadmap.png +0 -0
  839. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/googleSatellite.png +0 -0
  840. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/googleSatelliteLabels.png +0 -0
  841. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  842. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  843. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  844. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  845. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  846. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  847. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  848. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  849. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  850. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  851. /package/{serviceOld → serviceV2}/3d/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  852. /package/{serviceOld → serviceV2}/3d/Widgets/Images/NavigationHelp/Mouse.svg +0 -0
  853. /package/{serviceOld → serviceV2}/3d/Widgets/Images/NavigationHelp/MouseLeft.svg +0 -0
  854. /package/{serviceOld → serviceV2}/3d/Widgets/Images/NavigationHelp/MouseMiddle.svg +0 -0
  855. /package/{serviceOld → serviceV2}/3d/Widgets/Images/NavigationHelp/MouseRight.svg +0 -0
  856. /package/{serviceOld → serviceV2}/3d/Widgets/Images/NavigationHelp/Touch.svg +0 -0
  857. /package/{serviceOld → serviceV2}/3d/Widgets/Images/NavigationHelp/TouchDrag.svg +0 -0
  858. /package/{serviceOld → serviceV2}/3d/Widgets/Images/NavigationHelp/TouchRotate.svg +0 -0
  859. /package/{serviceOld → serviceV2}/3d/Widgets/Images/NavigationHelp/TouchTilt.svg +0 -0
  860. /package/{serviceOld → serviceV2}/3d/Widgets/Images/NavigationHelp/TouchZoom.svg +0 -0
  861. /package/{serviceOld → serviceV2}/3d/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  862. /package/{serviceOld → serviceV2}/3d/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  863. /package/{serviceOld → serviceV2}/3d/Widgets/Images/TimelineIcons.png +0 -0
  864. /package/{serviceOld → serviceV2}/3d/Widgets/Images/info-loading.gif +0 -0
  865. /package/{serviceOld → serviceV2}/3d/Widgets/InfoBox/InfoBox.css +0 -0
  866. /package/{serviceOld → serviceV2}/3d/Widgets/InfoBox/InfoBoxDescription.css +0 -0
  867. /package/{serviceOld → serviceV2}/3d/Widgets/NavigationHelpButton/NavigationHelpButton.css +0 -0
  868. /package/{serviceOld → serviceV2}/3d/Widgets/NavigationHelpButton/lighter.css +0 -0
  869. /package/{serviceOld → serviceV2}/3d/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +0 -0
  870. /package/{serviceOld → serviceV2}/3d/Widgets/ProjectionPicker/ProjectionPicker.css +0 -0
  871. /package/{serviceOld → serviceV2}/3d/Widgets/SceneModePicker/SceneModePicker.css +0 -0
  872. /package/{serviceOld → serviceV2}/3d/Widgets/SelectionIndicator/SelectionIndicator.css +0 -0
  873. /package/{serviceOld → serviceV2}/3d/Widgets/Timeline/Timeline.css +0 -0
  874. /package/{serviceOld → serviceV2}/3d/Widgets/Timeline/lighter.css +0 -0
  875. /package/{serviceOld → serviceV2}/3d/Widgets/VRButton/VRButton.css +0 -0
  876. /package/{serviceOld → serviceV2}/3d/Widgets/Viewer/Viewer.css +0 -0
  877. /package/{serviceOld → serviceV2}/3d/Widgets/VoxelInspector/VoxelInspector.css +0 -0
  878. /package/{serviceOld → serviceV2}/3d/Widgets/lighter.css +0 -0
  879. /package/{serviceOld → serviceV2}/3d/Widgets/lighterShared.css +0 -0
  880. /package/{serviceOld → serviceV2}/3d/Widgets/shared.css +0 -0
  881. /package/{serviceOld → serviceV2}/3d/Widgets/widgets.css +0 -0
  882. /package/{servicee → serviceV2}/3d/Workers/chunk-2ZPEMRCT.js.LICENSE.txt +0 -0
  883. /package/{servicee → serviceV2}/3d/Workers/chunk-3BSRJTW3.js.LICENSE.txt +0 -0
  884. /package/{servicee → serviceV2}/3d/Workers/chunk-3WSHJXU2.js.LICENSE.txt +0 -0
  885. /package/{servicee → serviceV2}/3d/Workers/chunk-42MGKNSS.js.LICENSE.txt +0 -0
  886. /package/{servicee → serviceV2}/3d/Workers/chunk-4MJDNHOT.js.LICENSE.txt +0 -0
  887. /package/{servicee → serviceV2}/3d/Workers/chunk-4WJUWBRK.js.LICENSE.txt +0 -0
  888. /package/{servicee → serviceV2}/3d/Workers/chunk-5G23AKP3.js.LICENSE.txt +0 -0
  889. /package/{servicee → serviceV2}/3d/Workers/chunk-5HPISDSZ.js.LICENSE.txt +0 -0
  890. /package/{servicee → serviceV2}/3d/Workers/chunk-APG2S62J.js.LICENSE.txt +0 -0
  891. /package/{servicee → serviceV2}/3d/Workers/chunk-AZLP5742.js.LICENSE.txt +0 -0
  892. /package/{servicee → serviceV2}/3d/Workers/chunk-BJAB7QAF.js.LICENSE.txt +0 -0
  893. /package/{servicee → serviceV2}/3d/Workers/chunk-BTDQB5Q4.js.LICENSE.txt +0 -0
  894. /package/{servicee → serviceV2}/3d/Workers/chunk-CJRI54BI.js.LICENSE.txt +0 -0
  895. /package/{servicee → serviceV2}/3d/Workers/chunk-CUP6SILZ.js.LICENSE.txt +0 -0
  896. /package/{servicee → serviceV2}/3d/Workers/chunk-D2NFCOGE.js.LICENSE.txt +0 -0
  897. /package/{servicee → serviceV2}/3d/Workers/chunk-DK73HV33.js.LICENSE.txt +0 -0
  898. /package/{servicee → serviceV2}/3d/Workers/chunk-EDF5FKWJ.js.LICENSE.txt +0 -0
  899. /package/{servicee → serviceV2}/3d/Workers/chunk-ET7KY3BS.js.LICENSE.txt +0 -0
  900. /package/{servicee → serviceV2}/3d/Workers/chunk-FIHQI7E3.js.LICENSE.txt +0 -0
  901. /package/{servicee → serviceV2}/3d/Workers/chunk-FVGSQINW.js.LICENSE.txt +0 -0
  902. /package/{servicee → serviceV2}/3d/Workers/chunk-FWF3VNA2.js.LICENSE.txt +0 -0
  903. /package/{servicee → serviceV2}/3d/Workers/chunk-GTQ3WXPT.js.LICENSE.txt +0 -0
  904. /package/{servicee → serviceV2}/3d/Workers/chunk-HSJ6GSLC.js.LICENSE.txt +0 -0
  905. /package/{servicee → serviceV2}/3d/Workers/chunk-IOTBNCMN.js.LICENSE.txt +0 -0
  906. /package/{servicee → serviceV2}/3d/Workers/chunk-IYO6TYGP.js.LICENSE.txt +0 -0
  907. /package/{servicee → serviceV2}/3d/Workers/chunk-J7MBSSYW.js.LICENSE.txt +0 -0
  908. /package/{servicee → serviceV2}/3d/Workers/chunk-KWAHJ72S.js.LICENSE.txt +0 -0
  909. /package/{servicee → serviceV2}/3d/Workers/chunk-KX5PR5Q3.js.LICENSE.txt +0 -0
  910. /package/{servicee → serviceV2}/3d/Workers/chunk-LJBMXZ6U.js.LICENSE.txt +0 -0
  911. /package/{servicee → serviceV2}/3d/Workers/chunk-LPJEXZWM.js.LICENSE.txt +0 -0
  912. /package/{servicee → serviceV2}/3d/Workers/chunk-MKDADUG3.js.LICENSE.txt +0 -0
  913. /package/{servicee → serviceV2}/3d/Workers/chunk-NOIUI5SY.js.LICENSE.txt +0 -0
  914. /package/{servicee → serviceV2}/3d/Workers/chunk-OFCC6BNI.js.LICENSE.txt +0 -0
  915. /package/{servicee → serviceV2}/3d/Workers/chunk-OXJ2LJUE.js.LICENSE.txt +0 -0
  916. /package/{servicee → serviceV2}/3d/Workers/chunk-Q4W25C4L.js.LICENSE.txt +0 -0
  917. /package/{servicee → serviceV2}/3d/Workers/chunk-QORMFUM4.js.LICENSE.txt +0 -0
  918. /package/{servicee → serviceV2}/3d/Workers/chunk-RCHWDG3R.js.LICENSE.txt +0 -0
  919. /package/{servicee → serviceV2}/3d/Workers/chunk-RYOF6QSA.js.LICENSE.txt +0 -0
  920. /package/{servicee → serviceV2}/3d/Workers/chunk-SCO7TMKT.js.LICENSE.txt +0 -0
  921. /package/{servicee → serviceV2}/3d/Workers/chunk-SNSHUVCZ.js.LICENSE.txt +0 -0
  922. /package/{servicee → serviceV2}/3d/Workers/chunk-SXKYZMEL.js.LICENSE.txt +0 -0
  923. /package/{servicee → serviceV2}/3d/Workers/chunk-T6Q6HX5J.js.LICENSE.txt +0 -0
  924. /package/{servicee → serviceV2}/3d/Workers/chunk-T77EB7BE.js.LICENSE.txt +0 -0
  925. /package/{servicee → serviceV2}/3d/Workers/chunk-TGKHFJV6.js.LICENSE.txt +0 -0
  926. /package/{servicee → serviceV2}/3d/Workers/chunk-U6GWZBRL.js.LICENSE.txt +0 -0
  927. /package/{servicee → serviceV2}/3d/Workers/chunk-UTYWXSQT.js.LICENSE.txt +0 -0
  928. /package/{servicee → serviceV2}/3d/Workers/chunk-VHZAK4GN.js.LICENSE.txt +0 -0
  929. /package/{servicee → serviceV2}/3d/Workers/chunk-VTK7G5BX.js.LICENSE.txt +0 -0
  930. /package/{servicee → serviceV2}/3d/Workers/chunk-XBWRWNYZ.js.LICENSE.txt +0 -0
  931. /package/{servicee → serviceV2}/3d/Workers/chunk-XQDTMI7Q.js.LICENSE.txt +0 -0
  932. /package/{servicee → serviceV2}/3d/Workers/chunk-XQIJGAVD.js.LICENSE.txt +0 -0
  933. /package/{servicee → serviceV2}/3d/Workers/chunk-XRRBRTKL.js.LICENSE.txt +0 -0
  934. /package/{servicee → serviceV2}/3d/Workers/chunk-YHWHVNY2.js.LICENSE.txt +0 -0
  935. /package/{servicee → serviceV2}/3d/Workers/chunk-YY6GMQGO.js.LICENSE.txt +0 -0
  936. /package/{servicee → serviceV2}/3d/Workers/combineGeometry.js.LICENSE.txt +0 -0
  937. /package/{servicee → serviceV2}/3d/Workers/createBoxGeometry.js.LICENSE.txt +0 -0
  938. /package/{servicee → serviceV2}/3d/Workers/createBoxOutlineGeometry.js.LICENSE.txt +0 -0
  939. /package/{servicee → serviceV2}/3d/Workers/createCircleGeometry.js.LICENSE.txt +0 -0
  940. /package/{servicee → serviceV2}/3d/Workers/createCircleOutlineGeometry.js.LICENSE.txt +0 -0
  941. /package/{servicee → serviceV2}/3d/Workers/createCoplanarPolygonGeometry.js.LICENSE.txt +0 -0
  942. /package/{servicee → serviceV2}/3d/Workers/createCoplanarPolygonOutlineGeometry.js.LICENSE.txt +0 -0
  943. /package/{servicee → serviceV2}/3d/Workers/createCorridorGeometry.js.LICENSE.txt +0 -0
  944. /package/{servicee → serviceV2}/3d/Workers/createCorridorOutlineGeometry.js.LICENSE.txt +0 -0
  945. /package/{servicee → serviceV2}/3d/Workers/createCylinderGeometry.js.LICENSE.txt +0 -0
  946. /package/{servicee → serviceV2}/3d/Workers/createCylinderOutlineGeometry.js.LICENSE.txt +0 -0
  947. /package/{servicee → serviceV2}/3d/Workers/createEllipseGeometry.js.LICENSE.txt +0 -0
  948. /package/{servicee → serviceV2}/3d/Workers/createEllipseOutlineGeometry.js.LICENSE.txt +0 -0
  949. /package/{servicee → serviceV2}/3d/Workers/createEllipsoidGeometry.js.LICENSE.txt +0 -0
  950. /package/{servicee → serviceV2}/3d/Workers/createEllipsoidOutlineGeometry.js.LICENSE.txt +0 -0
  951. /package/{servicee → serviceV2}/3d/Workers/createFrustumGeometry.js.LICENSE.txt +0 -0
  952. /package/{servicee → serviceV2}/3d/Workers/createFrustumOutlineGeometry.js.LICENSE.txt +0 -0
  953. /package/{servicee → serviceV2}/3d/Workers/createGeometry.js.LICENSE.txt +0 -0
  954. /package/{servicee → serviceV2}/3d/Workers/createGroundPolylineGeometry.js.LICENSE.txt +0 -0
  955. /package/{servicee → serviceV2}/3d/Workers/createPlaneGeometry.js.LICENSE.txt +0 -0
  956. /package/{servicee → serviceV2}/3d/Workers/createPlaneOutlineGeometry.js.LICENSE.txt +0 -0
  957. /package/{servicee → serviceV2}/3d/Workers/createPolygonGeometry.js.LICENSE.txt +0 -0
  958. /package/{servicee → serviceV2}/3d/Workers/createPolygonOutlineGeometry.js.LICENSE.txt +0 -0
  959. /package/{servicee → serviceV2}/3d/Workers/createPolylineGeometry.js.LICENSE.txt +0 -0
  960. /package/{servicee → serviceV2}/3d/Workers/createPolylineVolumeGeometry.js.LICENSE.txt +0 -0
  961. /package/{servicee → serviceV2}/3d/Workers/createPolylineVolumeOutlineGeometry.js.LICENSE.txt +0 -0
  962. /package/{servicee → serviceV2}/3d/Workers/createRectangleGeometry.js.LICENSE.txt +0 -0
  963. /package/{servicee → serviceV2}/3d/Workers/createRectangleOutlineGeometry.js.LICENSE.txt +0 -0
  964. /package/{servicee → serviceV2}/3d/Workers/createSimplePolylineGeometry.js.LICENSE.txt +0 -0
  965. /package/{servicee → serviceV2}/3d/Workers/createSphereGeometry.js.LICENSE.txt +0 -0
  966. /package/{servicee → serviceV2}/3d/Workers/createSphereOutlineGeometry.js.LICENSE.txt +0 -0
  967. /package/{servicee → serviceV2}/3d/Workers/createTaskProcessorWorker.js.LICENSE.txt +0 -0
  968. /package/{servicee → serviceV2}/3d/Workers/createVectorTileClampedPolylines.js.LICENSE.txt +0 -0
  969. /package/{servicee → serviceV2}/3d/Workers/createVectorTileGeometries.js.LICENSE.txt +0 -0
  970. /package/{servicee → serviceV2}/3d/Workers/createVectorTilePoints.js.LICENSE.txt +0 -0
  971. /package/{servicee → serviceV2}/3d/Workers/createVectorTilePolygons.js.LICENSE.txt +0 -0
  972. /package/{servicee → serviceV2}/3d/Workers/createVectorTilePolylines.js.LICENSE.txt +0 -0
  973. /package/{servicee → serviceV2}/3d/Workers/createVerticesFromCesium3DTilesTerrain.js.LICENSE.txt +0 -0
  974. /package/{servicee → serviceV2}/3d/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js.LICENSE.txt +0 -0
  975. /package/{servicee → serviceV2}/3d/Workers/createVerticesFromHeightmap.js.LICENSE.txt +0 -0
  976. /package/{servicee → serviceV2}/3d/Workers/createVerticesFromQuantizedTerrainMesh.js.LICENSE.txt +0 -0
  977. /package/{servicee → serviceV2}/3d/Workers/createWallGeometry.js.LICENSE.txt +0 -0
  978. /package/{servicee → serviceV2}/3d/Workers/createWallOutlineGeometry.js.LICENSE.txt +0 -0
  979. /package/{servicee → serviceV2}/3d/Workers/decodeDraco.js.LICENSE.txt +0 -0
  980. /package/{servicee → serviceV2}/3d/Workers/decodeGoogleEarthEnterprisePacket.js.LICENSE.txt +0 -0
  981. /package/{servicee → serviceV2}/3d/Workers/decodeI3S.js.LICENSE.txt +0 -0
  982. /package/{servicee → serviceV2}/3d/Workers/gaussianSplatSorter.js.LICENSE.txt +0 -0
  983. /package/{servicee → serviceV2}/3d/Workers/gaussianSplatTextureGenerator.js.LICENSE.txt +0 -0
  984. /package/{servicee → serviceV2}/3d/Workers/transcodeKTX2.js.LICENSE.txt +0 -0
  985. /package/{servicee → serviceV2}/3d/Workers/transferTypedArrayTest.js.LICENSE.txt +0 -0
  986. /package/{servicee → serviceV2}/3d/Workers/upsampleQuantizedTerrainMesh.js.LICENSE.txt +0 -0
  987. /package/{servicee → serviceV2}/3d/Workers/upsampleVerticesFromCesium3DTilesTerrain.js.LICENSE.txt +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createCorridorGeometry.js.LICENSE.txt */
2
+ import{a as M}from"./chunk-FVGSQINW.js";import{a as ut}from"./chunk-Q4W25C4L.js";import"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import{a as bt}from"./chunk-T77EB7BE.js";import{a as J}from"./chunk-APG2S62J.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{b as _t}from"./chunk-IYO6TYGP.js";import{a as Pt}from"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as Nt}from"./chunk-T6Q6HX5J.js";import{a as Dt}from"./chunk-4MJDNHOT.js";import{b as Mt,c as Ct,d as F}from"./chunk-EDF5FKWJ.js";import{d as St}from"./chunk-XQIJGAVD.js";import{i as Et}from"./chunk-UTYWXSQT.js";import{a as v}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as o,b as At,d as Y,f as Tt}from"./chunk-KWAHJ72S.js";import{a as it}from"./chunk-MKDADUG3.js";import{b as ot}from"./chunk-NOIUI5SY.js";import{e as Q}from"./chunk-XRRBRTKL.js";var Rt=new o,kt=new o,yt=new o,wt=new o,jt=new o,Ht=new o,st=new o,dt=new o;function Ut(t,e){for(let o=0;o<t.length;o++)t[o]=e.scaleToGeodeticSurface(t[o],t[o]);return t}function X(t,e,r,i,a,n){let s=t.normals,l=t.tangents,u=t.bitangents,d=o.normalize(o.cross(r,e,st),st);n.normal&&M.addAttribute(s,e,i,a),n.tangent&&M.addAttribute(l,d,i,a),n.bitangent&&M.addAttribute(u,r,i,a)}function Bt(t,e,r){let i,a,n,s=t.positions,l=t.corners,u=t.endPositions,d=t.lefts,m=t.normals,h=new Dt,c=0,f=0,g=0;for(a=0;a<s.length;a+=2)n=s[a].length-3,c+=n,g+=2*n,f+=s[a+1].length-3;for(c+=3,f+=3,a=0;a<l.length;a++){i=l[a];let t=l[a].leftPositions;Q(t)?(n=t.length,c+=n,g+=n):(n=l[a].rightPositions.length,f+=n,g+=n)}let p,A=Q(u);A&&(p=u[0].length-3,c+=p,f+=p,p/=3,g+=6*p);let y,b,_,w,T,I,k=c+f,N=new Float64Array(k),E={normals:e.normal?new Float32Array(k):void 0,tangents:e.tangent?new Float32Array(k):void 0,bitangents:e.bitangent?new Float32Array(k):void 0},x=0,O=k-1,P=Rt,G=kt,S=p/2,D=Nt.createTypedArray(k/3,g),W=0;if(A){I=yt,T=wt;let t=u[0];for(P=o.fromArray(m,0,P),G=o.fromArray(d,0,G),a=0;a<S;a++)I=o.fromArray(t,3*(S-1-a),I),T=o.fromArray(t,3*(S+a),T),M.addAttribute(N,T,x),M.addAttribute(N,I,void 0,O),X(E,P,G,x,O,e),b=x/3,w=b+1,y=(O-2)/3,_=y-1,D[W++]=y,D[W++]=b,D[W++]=_,D[W++]=_,D[W++]=b,D[W++]=w,x+=3,O-=3}let Y,L,j=0,V=0,R=s[j++],J=s[j++];for(N.set(R,x),N.set(J,O-J.length+1),G=o.fromArray(d,V,G),n=J.length-3,a=0;a<n;a+=3)Y=r.geodeticSurfaceNormal(o.fromArray(R,a,st),st),L=r.geodeticSurfaceNormal(o.fromArray(J,n-a,dt),dt),P=o.normalize(o.add(Y,L,P),P),X(E,P,G,x,O,e),b=x/3,w=b+1,y=(O-2)/3,_=y-1,D[W++]=y,D[W++]=b,D[W++]=_,D[W++]=_,D[W++]=b,D[W++]=w,x+=3,O-=3;for(Y=r.geodeticSurfaceNormal(o.fromArray(R,n,st),st),L=r.geodeticSurfaceNormal(o.fromArray(J,n,dt),dt),P=o.normalize(o.add(Y,L,P),P),V+=3,a=0;a<l.length;a++){let t;i=l[a];let u,h,c=i.leftPositions,f=i.rightPositions,g=Ht,p=yt,A=wt;if(P=o.fromArray(m,V,P),Q(c)){for(X(E,P,G,void 0,O,e),O-=3,u=w,h=_,t=0;t<c.length/3;t++)g=o.fromArray(c,3*t,g),D[W++]=u,D[W++]=h-t-1,D[W++]=h-t,M.addAttribute(N,g,void 0,O),p=o.fromArray(N,3*(h-t-1),p),A=o.fromArray(N,3*u,A),G=o.normalize(o.subtract(p,A,G),G),X(E,P,G,void 0,O,e),O-=3;g=o.fromArray(N,3*u,g),p=o.subtract(o.fromArray(N,3*h,p),g,p),A=o.subtract(o.fromArray(N,3*(h-t),A),g,A),G=o.normalize(o.add(p,A,G),G),X(E,P,G,x,void 0,e),x+=3}else{for(X(E,P,G,x,void 0,e),x+=3,u=_,h=w,t=0;t<f.length/3;t++)g=o.fromArray(f,3*t,g),D[W++]=u,D[W++]=h+t,D[W++]=h+t+1,M.addAttribute(N,g,x),p=o.fromArray(N,3*u,p),A=o.fromArray(N,3*(h+t),A),G=o.normalize(o.subtract(p,A,G),G),X(E,P,G,x,void 0,e),x+=3;g=o.fromArray(N,3*u,g),p=o.subtract(o.fromArray(N,3*(h+t),p),g,p),A=o.subtract(o.fromArray(N,3*h,A),g,A),G=o.normalize(o.negate(o.add(A,p,G),G),G),X(E,P,G,void 0,O,e),O-=3}for(R=s[j++],J=s[j++],R.splice(0,3),J.splice(J.length-3,3),N.set(R,x),N.set(J,O-J.length+1),n=J.length-3,V+=3,G=o.fromArray(d,V,G),t=0;t<J.length;t+=3)Y=r.geodeticSurfaceNormal(o.fromArray(R,t,st),st),L=r.geodeticSurfaceNormal(o.fromArray(J,n-t,dt),dt),P=o.normalize(o.add(Y,L,P),P),X(E,P,G,x,O,e),w=x/3,b=w-1,_=(O-2)/3,y=_+1,D[W++]=y,D[W++]=b,D[W++]=_,D[W++]=_,D[W++]=b,D[W++]=w,x+=3,O-=3;x-=3,O+=3}if(P=o.fromArray(m,m.length-3,P),X(E,P,G,x,O,e),A){x+=3,O-=3,I=yt,T=wt;let t=u[1];for(a=0;a<S;a++)I=o.fromArray(t,3*(p-a-1),I),T=o.fromArray(t,3*a,T),M.addAttribute(N,I,void 0,O),M.addAttribute(N,T,x),X(E,P,G,x,O,e),w=x/3,b=w-1,_=(O-2)/3,y=_+1,D[W++]=y,D[W++]=b,D[W++]=_,D[W++]=_,D[W++]=b,D[W++]=w,x+=3,O-=3}if(h.position=new F({componentDatatype:v.DOUBLE,componentsPerAttribute:3,values:N}),e.st){let t,e,o=new Float32Array(k/3*2),r=0;if(A){c/=3,f/=3;let i=Math.PI/(p+1);e=1/(c-p+1),t=1/(f-p+1);let n,s=p/2;for(a=s+1;a<p+1;a++)n=it.PI_OVER_TWO+i*a,o[r++]=t*(1+Math.cos(n)),o[r++]=.5*(1+Math.sin(n));for(a=1;a<f-p+1;a++)o[r++]=a*t,o[r++]=0;for(a=p;a>s;a--)n=it.PI_OVER_TWO-a*i,o[r++]=1-t*(1+Math.cos(n)),o[r++]=.5*(1+Math.sin(n));for(a=s;a>0;a--)n=it.PI_OVER_TWO-i*a,o[r++]=1-e*(1+Math.cos(n)),o[r++]=.5*(1+Math.sin(n));for(a=c-p;a>0;a--)o[r++]=a*e,o[r++]=1;for(a=1;a<s+1;a++)n=it.PI_OVER_TWO+i*a,o[r++]=e*(1+Math.cos(n)),o[r++]=.5*(1+Math.sin(n))}else{for(c/=3,f/=3,e=1/(c-1),t=1/(f-1),a=0;a<f;a++)o[r++]=a*t,o[r++]=0;for(a=c;a>0;a--)o[r++]=(a-1)*e,o[r++]=1}h.st=new F({componentDatatype:v.FLOAT,componentsPerAttribute:2,values:o})}return e.normal&&(h.normal=new F({componentDatatype:v.FLOAT,componentsPerAttribute:3,values:E.normals})),e.tangent&&(h.tangent=new F({componentDatatype:v.FLOAT,componentsPerAttribute:3,values:E.tangents})),e.bitangent&&(h.bitangent=new F({componentDatatype:v.FLOAT,componentsPerAttribute:3,values:E.bitangents})),{attributes:h,indices:D}}function qt(t,e){if(!(e.normal||e.tangent||e.bitangent||e.st))return t;let r,i,a=t.position.values;(e.normal||e.bitangent)&&(r=t.normal.values,i=t.bitangent.values);let n,s=t.position.values.length/18,l=3*s,u=2*s,d=2*l;if(e.normal||e.bitangent||e.tangent){let s=e.normal?new Float32Array(6*l):void 0,u=e.tangent?new Float32Array(6*l):void 0,m=e.bitangent?new Float32Array(6*l):void 0,h=Rt,c=kt,f=yt,g=wt,p=jt,A=Ht,y=d;for(n=0;n<l;n+=3){let t=y+d;h=o.fromArray(a,n,h),c=o.fromArray(a,n+l,c),f=o.fromArray(a,(n+3)%l,f),c=o.subtract(c,h,c),f=o.subtract(f,h,f),g=o.normalize(o.cross(c,f,g),g),e.normal&&(M.addAttribute(s,g,t),M.addAttribute(s,g,t+3),M.addAttribute(s,g,y),M.addAttribute(s,g,y+3)),(e.tangent||e.bitangent)&&(A=o.fromArray(r,n,A),e.bitangent&&(M.addAttribute(m,A,t),M.addAttribute(m,A,t+3),M.addAttribute(m,A,y),M.addAttribute(m,A,y+3)),e.tangent&&(p=o.normalize(o.cross(A,g,p),p),M.addAttribute(u,p,t),M.addAttribute(u,p,t+3),M.addAttribute(u,p,y),M.addAttribute(u,p,y+3))),y+=6}if(e.normal){for(s.set(r),n=0;n<l;n+=3)s[n+l]=-r[n],s[n+l+1]=-r[n+1],s[n+l+2]=-r[n+2];t.normal.values=s}else t.normal=void 0;if(e.bitangent?(m.set(i),m.set(i,l),t.bitangent.values=m):t.bitangent=void 0,e.tangent){let e=t.tangent.values;u.set(e),u.set(e,l),t.tangent.values=u}}if(e.st){let e=t.st.values,o=new Float32Array(6*u);o.set(e),o.set(e,u);let r=2*u;for(let t=0;t<2;t++){for(o[r++]=e[0],o[r++]=e[1],n=2;n<u;n+=2){let t=e[n],i=e[n+1];o[r++]=t,o[r++]=i,o[r++]=t,o[r++]=i}o[r++]=e[0],o[r++]=e[1]}t.st.values=o}return t}function Ot(t,e,o){o[e++]=t[0],o[e++]=t[1],o[e++]=t[2];for(let r=3;r<t.length;r+=3){let i=t[r],a=t[r+1],n=t[r+2];o[e++]=i,o[e++]=a,o[e++]=n,o[e++]=i,o[e++]=a,o[e++]=n}return o[e++]=t[0],o[e++]=t[1],o[e++]=t[2],o}function Jt(t,e){let o=new J({position:e.position,normal:e.normal||e.bitangent||t.shadowVolume,tangent:e.tangent,bitangent:e.normal||e.bitangent,st:e.st}),r=t.ellipsoid,i=Bt(M.computePositions(t),o,r),a=t.height,n=t.extrudedHeight,s=i.attributes,l=i.indices,u=s.position.values,d=u.length,m=new Float64Array(6*d),h=new Float64Array(d);h.set(u);let c=new Float64Array(4*d);u=_t.scaleToGeodeticHeight(u,a,r),c=Ot(u,0,c),h=_t.scaleToGeodeticHeight(h,n,r),c=Ot(h,2*d,c),m.set(u),m.set(h,d),m.set(c,2*d),s.position.values=m,s=qt(s,e);let f,g=d/3;if(t.shadowVolume){let t=s.normal.values;d=t.length;let o=new Float32Array(6*d);for(f=0;f<d;f++)t[f]=-t[f];o.set(t,d),o=Ot(t,4*d,o),s.extrudeDirection=new F({componentDatatype:v.FLOAT,componentsPerAttribute:3,values:o}),e.normal||(s.normal=void 0)}if(Q(t.offsetAttribute)){let e=new Uint8Array(6*g);if(t.offsetAttribute===bt.TOP)e=e.fill(1,0,g).fill(1,2*g,4*g);else{let o=t.offsetAttribute===bt.NONE?0:1;e=e.fill(o)}s.applyOffset=new F({componentDatatype:v.UNSIGNED_BYTE,componentsPerAttribute:1,values:e})}let p=l.length,A=g+g,y=Nt.createTypedArray(m.length/3,2*p+3*A);y.set(l);let b,_,w,T,I=p;for(f=0;f<p;f+=3){let t=l[f],e=l[f+1],o=l[f+2];y[I++]=o+g,y[I++]=e+g,y[I++]=t+g}for(f=0;f<A;f+=2)b=f+A,_=b+A,w=b+1,T=_+1,y[I++]=b,y[I++]=_,y[I++]=w,y[I++]=w,y[I++]=_,y[I++]=T;return{attributes:s,indices:y}}var Vt=new o,ht=new o,K=new At;function zt(t,e,r,i,a,n){let s=o.subtract(e,t,Vt);o.normalize(s,s);let l=r.geodeticSurfaceNormal(t,ht),u=o.cross(s,l,Vt);o.multiplyByScalar(u,i,u);let d=a.latitude,m=a.longitude,h=n.latitude,c=n.longitude;o.add(t,u,ht),r.cartesianToCartographic(ht,K);let f=K.latitude,g=K.longitude;d=Math.min(d,f),m=Math.min(m,g),h=Math.max(h,f),c=Math.max(c,g),o.subtract(t,u,ht),r.cartesianToCartographic(ht,K),f=K.latitude,g=K.longitude,d=Math.min(d,f),m=Math.min(m,g),h=Math.max(h,f),c=Math.max(c,g),a.latitude=d,a.longitude=m,n.latitude=h,n.longitude=c}var G=new o,gt=new o,I=new At,W=new At;function Yt(t,e,r,i,a){t=Ut(t,e);let n=Pt(t,o.equalsEpsilon),s=n.length;if(s<2||r<=0)return new Et;let l,u,d=.5*r;if(I.latitude=Number.POSITIVE_INFINITY,I.longitude=Number.POSITIVE_INFINITY,W.latitude=Number.NEGATIVE_INFINITY,W.longitude=Number.NEGATIVE_INFINITY,i===ut.ROUNDED){let t=n[0];o.subtract(t,n[1],G),o.normalize(G,G),o.multiplyByScalar(G,d,G),o.add(t,G,gt),e.cartesianToCartographic(gt,K),l=K.latitude,u=K.longitude,I.latitude=Math.min(I.latitude,l),I.longitude=Math.min(I.longitude,u),W.latitude=Math.max(W.latitude,l),W.longitude=Math.max(W.longitude,u)}for(let t=0;t<s-1;++t)zt(n[t],n[t+1],e,d,I,W);let m=n[s-1];o.subtract(m,n[s-2],G),o.normalize(G,G),o.multiplyByScalar(G,d,G),o.add(m,G,gt),zt(m,gt,e,d,I,W),i===ut.ROUNDED&&(e.cartesianToCartographic(gt,K),l=K.latitude,u=K.longitude,I.latitude=Math.min(I.latitude,l),I.longitude=Math.min(I.longitude,u),W.latitude=Math.max(W.latitude,l),W.longitude=Math.max(W.longitude,u));let h=Q(a)?a:new Et;return h.north=W.latitude,h.south=I.latitude,h.east=W.longitude,h.west=I.longitude,h}function tt(t){let e=(t=t??Tt.EMPTY_OBJECT).positions,r=t.width;ot.defined("options.positions",e),ot.defined("options.width",r);let i=t.height??0,a=t.extrudedHeight??i;this._positions=e,this._ellipsoid=Y.clone(t.ellipsoid??Y.default),this._vertexFormat=J.clone(t.vertexFormat??J.DEFAULT),this._width=r,this._height=Math.max(i,a),this._extrudedHeight=Math.min(i,a),this._cornerType=t.cornerType??ut.ROUNDED,this._granularity=t.granularity??it.RADIANS_PER_DEGREE,this._shadowVolume=t.shadowVolume??!1,this._workerName="createCorridorGeometry",this._offsetAttribute=t.offsetAttribute,this._rectangle=void 0,this.packedLength=1+e.length*o.packedLength+Y.packedLength+J.packedLength+7}tt.pack=function(t,e,r){ot.defined("value",t),ot.defined("array",e),r=r??0;let i=t._positions,a=i.length;e[r++]=a;for(let t=0;t<a;++t,r+=o.packedLength)o.pack(i[t],e,r);return Y.pack(t._ellipsoid,e,r),r+=Y.packedLength,J.pack(t._vertexFormat,e,r),r+=J.packedLength,e[r++]=t._width,e[r++]=t._height,e[r++]=t._extrudedHeight,e[r++]=t._cornerType,e[r++]=t._granularity,e[r++]=t._shadowVolume?1:0,e[r]=t._offsetAttribute??-1,e};var It=Y.clone(Y.UNIT_SPHERE),Wt=new J,x={positions:void 0,ellipsoid:It,vertexFormat:Wt,width:void 0,height:void 0,extrudedHeight:void 0,cornerType:void 0,granularity:void 0,shadowVolume:void 0,offsetAttribute:void 0};tt.unpack=function(t,e,r){ot.defined("array",t),e=e??0;let i=t[e++],a=new Array(i);for(let r=0;r<i;++r,e+=o.packedLength)a[r]=o.unpack(t,e);let n=Y.unpack(t,e,It);e+=Y.packedLength;let s=J.unpack(t,e,Wt);e+=J.packedLength;let l=t[e++],u=t[e++],d=t[e++],m=t[e++],h=t[e++],c=1===t[e++],f=t[e];return Q(r)?(r._positions=a,r._ellipsoid=Y.clone(n,r._ellipsoid),r._vertexFormat=J.clone(s,r._vertexFormat),r._width=l,r._height=u,r._extrudedHeight=d,r._cornerType=m,r._granularity=h,r._shadowVolume=c,r._offsetAttribute=-1===f?void 0:f,r):(x.positions=a,x.width=l,x.height=u,x.extrudedHeight=d,x.cornerType=m,x.granularity=h,x.shadowVolume=c,x.offsetAttribute=-1===f?void 0:f,new tt(x))},tt.computeRectangle=function(t,e){let o=(t=t??Tt.EMPTY_OBJECT).positions,r=t.width;return ot.defined("options.positions",o),ot.defined("options.width",r),Yt(o,t.ellipsoid??Y.default,r,t.cornerType??ut.ROUNDED,e)},tt.createGeometry=function(t){let e=t._positions,r=t._width,i=t._ellipsoid;e=Ut(e,i);let a=Pt(e,o.equalsEpsilon);if(a.length<2||r<=0)return;let n,s=t._height,l=t._extrudedHeight,u=!it.equalsEpsilon(s,l,0,it.EPSILON2),d=t._vertexFormat,m={ellipsoid:i,positions:a,width:r,cornerType:t._cornerType,granularity:t._granularity,saveAttributes:!0};if(u)m.height=s,m.extrudedHeight=l,m.shadowVolume=t._shadowVolume,m.offsetAttribute=t._offsetAttribute,n=Jt(m,d);else if(n=Bt(M.computePositions(m),d,i),n.attributes.position.values=_t.scaleToGeodeticHeight(n.attributes.position.values,s,i),Q(t._offsetAttribute)){let e=t._offsetAttribute===bt.NONE?0:1,o=n.attributes.position.values.length,r=new Uint8Array(o/3).fill(e);n.attributes.applyOffset=new F({componentDatatype:v.UNSIGNED_BYTE,componentsPerAttribute:1,values:r})}let h=n.attributes,c=St.fromVertices(h.position.values,void 0,3);return d.position||(n.attributes.position.values=void 0),new Ct({attributes:h,indices:n.indices,primitiveType:Mt.TRIANGLES,boundingSphere:c,offsetAttribute:t._offsetAttribute})},tt.createShadowVolume=function(t,e,o){let r=t._granularity,i=t._ellipsoid,a=e(r,i),n=o(r,i);return new tt({positions:t._positions,width:t._width,cornerType:t._cornerType,ellipsoid:i,granularity:r,extrudedHeight:a,height:n,vertexFormat:J.POSITION_ONLY,shadowVolume:!0})},Object.defineProperties(tt.prototype,{rectangle:{get:function(){return Q(this._rectangle)||(this._rectangle=Yt(this._positions,this._ellipsoid,this._width,this._cornerType)),this._rectangle}},textureCoordinateRotationPoints:{get:function(){return[0,0,0,1,1,0]}}});var Lt=tt;function Gt(t,e){return Q(e)&&(t=Lt.unpack(t,e)),t._ellipsoid=Y.clone(t._ellipsoid),Lt.createGeometry(t)}var Ae=Gt;export{Ae as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createCorridorOutlineGeometry.js.LICENSE.txt */
2
+ import{a as C}from"./chunk-FVGSQINW.js";import{a as Q}from"./chunk-Q4W25C4L.js";import"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import{a as J}from"./chunk-T77EB7BE.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{b as K}from"./chunk-IYO6TYGP.js";import{a as it}from"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as X}from"./chunk-T6Q6HX5J.js";import{a as et}from"./chunk-4MJDNHOT.js";import{b as I,c as tt,d as z}from"./chunk-EDF5FKWJ.js";import{d as x}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as q}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as A,d as P,f as $}from"./chunk-KWAHJ72S.js";import{a as Y}from"./chunk-MKDADUG3.js";import{b as B}from"./chunk-NOIUI5SY.js";import{e as N}from"./chunk-XRRBRTKL.js";var ot=new A,nt=new A,lt=new A;function ft(t,e){for(let i=0;i<t.length;i++)t[i]=e.scaleToGeodeticSurface(t[i],t[i]);return t}function st(t,e){let i,r,o,s=[],n=t.positions,l=t.corners,a=t.endPositions,h=new et,u=0,p=0,f=0;for(r=0;r<n.length;r+=2)o=n[r].length-3,u+=o,f+=o/3*4,p+=n[r+1].length-3;for(u+=3,p+=3,r=0;r<l.length;r++){i=l[r];let t=l[r].leftPositions;N(t)?(o=t.length,u+=o,f+=o/3*2):(o=l[r].rightPositions.length,p+=o,f+=o/3*2)}let c,d=N(a);d&&(c=a[0].length-3,u+=c,p+=c,c/=3,f+=4*c);let g,m,y,_,b,k,v=u+p,P=new Float64Array(v),E=0,T=v-1,j=c/2,w=X.createTypedArray(v/3,f+4),O=0;if(w[O++]=E/3,w[O++]=(T-2)/3,d){s.push(E/3),k=ot,b=nt;let t=a[0];for(r=0;r<j;r++)k=A.fromArray(t,3*(j-1-r),k),b=A.fromArray(t,3*(j+r),b),C.addAttribute(P,b,E),C.addAttribute(P,k,void 0,T),m=E/3,_=m+1,g=(T-2)/3,y=g-1,w[O++]=g,w[O++]=y,w[O++]=m,w[O++]=_,E+=3,T-=3}let D=0,H=n[D++],S=n[D++];for(P.set(H,E),P.set(S,T-S.length+1),o=S.length-3,s.push(E/3,(T-2)/3),r=0;r<o;r+=3)m=E/3,_=m+1,g=(T-2)/3,y=g-1,w[O++]=g,w[O++]=y,w[O++]=m,w[O++]=_,E+=3,T-=3;for(r=0;r<l.length;r++){let t;i=l[r];let a,h=i.leftPositions,u=i.rightPositions,p=lt;if(N(h)){for(T-=3,a=y,s.push(_),t=0;t<h.length/3;t++)p=A.fromArray(h,3*t,p),w[O++]=a-t-1,w[O++]=a-t,C.addAttribute(P,p,void 0,T),T-=3;s.push(a-Math.floor(h.length/6)),e===Q.BEVELED&&s.push((T-2)/3+1),E+=3}else{for(E+=3,a=_,s.push(y),t=0;t<u.length/3;t++)p=A.fromArray(u,3*t,p),w[O++]=a+t,w[O++]=a+t+1,C.addAttribute(P,p,E),E+=3;s.push(a+Math.floor(u.length/6)),e===Q.BEVELED&&s.push(E/3-1),T-=3}for(H=n[D++],S=n[D++],H.splice(0,3),S.splice(S.length-3,3),P.set(H,E),P.set(S,T-S.length+1),o=S.length-3,t=0;t<S.length;t+=3)_=E/3,m=_-1,y=(T-2)/3,g=y+1,w[O++]=g,w[O++]=y,w[O++]=m,w[O++]=_,E+=3,T-=3;E-=3,T+=3,s.push(E/3,(T-2)/3)}if(d){E+=3,T-=3,k=ot,b=nt;let t=a[1];for(r=0;r<j;r++)k=A.fromArray(t,3*(c-r-1),k),b=A.fromArray(t,3*r,b),C.addAttribute(P,k,void 0,T),C.addAttribute(P,b,E),_=E/3,m=_-1,y=(T-2)/3,g=y+1,w[O++]=g,w[O++]=y,w[O++]=m,w[O++]=_,E+=3,T-=3;s.push(E/3)}else s.push(E/3,(T-2)/3);return w[O++]=E/3,w[O++]=(T-2)/3,h.position=new z({componentDatatype:q.DOUBLE,componentsPerAttribute:3,values:P}),{attributes:h,indices:w,wallIndices:s}}function ct(t){let e=t.ellipsoid,i=st(C.computePositions(t),t.cornerType),r=i.wallIndices,o=t.height,s=t.extrudedHeight,n=i.attributes,l=i.indices,a=n.position.values,h=a.length,u=new Float64Array(h);u.set(a);let p=new Float64Array(2*h);if(a=K.scaleToGeodeticHeight(a,o,e),u=K.scaleToGeodeticHeight(u,s,e),p.set(a),p.set(u,h),n.position.values=p,h/=3,N(t.offsetAttribute)){let e=new Uint8Array(2*h);if(t.offsetAttribute===J.TOP)e=e.fill(1,0,h);else{let i=t.offsetAttribute===J.NONE?0:1;e=e.fill(i)}n.applyOffset=new z({componentDatatype:q.UNSIGNED_BYTE,componentsPerAttribute:1,values:e})}let f,c=l.length,d=X.createTypedArray(p.length/3,2*(c+r.length));d.set(l);let g,A,m=c;for(f=0;f<c;f+=2){let t=l[f],e=l[f+1];d[m++]=t+h,d[m++]=e+h}for(f=0;f<r.length;f++)g=r[f],A=g+h,d[m++]=g,d[m++]=A;return{attributes:n,indices:d}}function M(t){let e=(t=t??$.EMPTY_OBJECT).positions,i=t.width;B.typeOf.object("options.positions",e),B.typeOf.number("options.width",i);let r=t.height??0,o=t.extrudedHeight??r;this._positions=e,this._ellipsoid=P.clone(t.ellipsoid??P.default),this._width=i,this._height=Math.max(r,o),this._extrudedHeight=Math.min(r,o),this._cornerType=t.cornerType??Q.ROUNDED,this._granularity=t.granularity??Y.RADIANS_PER_DEGREE,this._offsetAttribute=t.offsetAttribute,this._workerName="createCorridorOutlineGeometry",this.packedLength=1+e.length*A.packedLength+P.packedLength+6}M.pack=function(t,e,i){B.typeOf.object("value",t),B.typeOf.object("array",e),i=i??0;let r=t._positions,o=r.length;e[i++]=o;for(let t=0;t<o;++t,i+=A.packedLength)A.pack(r[t],e,i);return P.pack(t._ellipsoid,e,i),i+=P.packedLength,e[i++]=t._width,e[i++]=t._height,e[i++]=t._extrudedHeight,e[i++]=t._cornerType,e[i++]=t._granularity,e[i]=t._offsetAttribute??-1,e};var rt=P.clone(P.UNIT_SPHERE),v={positions:void 0,ellipsoid:rt,width:void 0,height:void 0,extrudedHeight:void 0,cornerType:void 0,granularity:void 0,offsetAttribute:void 0};M.unpack=function(t,e,i){B.typeOf.object("array",t),e=e??0;let r=t[e++],o=new Array(r);for(let i=0;i<r;++i,e+=A.packedLength)o[i]=A.unpack(t,e);let s=P.unpack(t,e,rt);e+=P.packedLength;let n=t[e++],l=t[e++],a=t[e++],h=t[e++],u=t[e++],p=t[e];return N(i)?(i._positions=o,i._ellipsoid=P.clone(s,i._ellipsoid),i._width=n,i._height=l,i._extrudedHeight=a,i._cornerType=h,i._granularity=u,i._offsetAttribute=-1===p?void 0:p,i):(v.positions=o,v.width=n,v.height=l,v.extrudedHeight=a,v.cornerType=h,v.granularity=u,v.offsetAttribute=-1===p?void 0:p,new M(v))},M.createGeometry=function(t){let e=t._positions,i=t._width,r=t._ellipsoid;e=ft(e,r);let o=it(e,A.equalsEpsilon);if(o.length<2||i<=0)return;let s,n=t._height,l=t._extrudedHeight,a=!Y.equalsEpsilon(n,l,0,Y.EPSILON2),h={ellipsoid:r,positions:o,width:i,cornerType:t._cornerType,granularity:t._granularity,saveAttributes:!1};if(a)h.height=n,h.extrudedHeight=l,h.offsetAttribute=t._offsetAttribute,s=ct(h);else if(s=st(C.computePositions(h),h.cornerType),s.attributes.position.values=K.scaleToGeodeticHeight(s.attributes.position.values,n,r),N(t._offsetAttribute)){let e=s.attributes.position.values.length,i=t._offsetAttribute===J.NONE?0:1,r=new Uint8Array(e/3).fill(i);s.attributes.applyOffset=new z({componentDatatype:q.UNSIGNED_BYTE,componentsPerAttribute:1,values:r})}let u=s.attributes,p=x.fromVertices(u.position.values,void 0,3);return new tt({attributes:u,indices:s.indices,primitiveType:I.LINES,boundingSphere:p,offsetAttribute:t._offsetAttribute})};var Z=M;function ht(t,e){return N(e)&&(t=Z.unpack(t,e)),t._ellipsoid=P.clone(t._ellipsoid),Z.createGeometry(t)}var Ot=ht;export{Ot as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createCylinderGeometry.js.LICENSE.txt */
2
+ import{a as r}from"./chunk-BTDQB5Q4.js";import"./chunk-XQDTMI7Q.js";import"./chunk-T77EB7BE.js";import"./chunk-APG2S62J.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as o}from"./chunk-XRRBRTKL.js";function i(t,n){return o(n)&&(t=r.unpack(t,n)),r.createGeometry(t)}var a=i;export{a as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createCylinderOutlineGeometry.js.LICENSE.txt */
2
+ import{a as M}from"./chunk-XQDTMI7Q.js";import{a as L}from"./chunk-T77EB7BE.js";import{a as N}from"./chunk-T6Q6HX5J.js";import{a as k}from"./chunk-4MJDNHOT.js";import{b as D,c as P,d as A}from"./chunk-EDF5FKWJ.js";import{d as y}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as R}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as T,c as _,f as S}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{a as E,b as m}from"./chunk-NOIUI5SY.js";import{e as b}from"./chunk-XRRBRTKL.js";var V=new _;function d(t){let e=(t=t??S.EMPTY_OBJECT).length,i=t.topRadius,o=t.bottomRadius,s=t.slices??128,r=Math.max(t.numberOfVerticalLines??16,0);if(m.typeOf.number("options.positions",e),m.typeOf.number("options.topRadius",i),m.typeOf.number("options.bottomRadius",o),m.typeOf.number.greaterThanOrEquals("options.slices",s,3),b(t.offsetAttribute)&&t.offsetAttribute===L.TOP)throw new E("GeometryOffsetAttribute.TOP is not a supported options.offsetAttribute for this geometry.");this._length=e,this._topRadius=i,this._bottomRadius=o,this._slices=s,this._numberOfVerticalLines=r,this._offsetAttribute=t.offsetAttribute,this._workerName="createCylinderOutlineGeometry"}d.packedLength=6,d.pack=function(t,e,i){return m.typeOf.object("value",t),m.defined("array",e),i=i??0,e[i++]=t._length,e[i++]=t._topRadius,e[i++]=t._bottomRadius,e[i++]=t._slices,e[i++]=t._numberOfVerticalLines,e[i]=t._offsetAttribute??-1,e};var p={length:void 0,topRadius:void 0,bottomRadius:void 0,slices:void 0,numberOfVerticalLines:void 0,offsetAttribute:void 0};d.unpack=function(t,e,i){m.defined("array",t),e=e??0;let o=t[e++],s=t[e++],r=t[e++],n=t[e++],a=t[e++],u=t[e];return b(i)?(i._length=o,i._topRadius=s,i._bottomRadius=r,i._slices=n,i._numberOfVerticalLines=a,i._offsetAttribute=-1===u?void 0:u,i):(p.length=o,p.topRadius=s,p.bottomRadius=r,p.slices=n,p.numberOfVerticalLines=a,p.offsetAttribute=-1===u?void 0:u,new d(p))},d.createGeometry=function(t){let e=t._length,i=t._topRadius,o=t._bottomRadius,s=t._slices,r=t._numberOfVerticalLines;if(e<=0||i<0||o<0||0===i&&0===o)return;let n,a=2*s,u=M.computePositions(e,i,o,s,!1),f=2*s;if(r>0){let t=Math.min(r,s);n=Math.round(s/t),f+=t}let m,p=N.createTypedArray(a,2*f),c=0;for(m=0;m<s-1;m++)p[c++]=m,p[c++]=m+1,p[c++]=m+s,p[c++]=m+1+s;if(p[c++]=s-1,p[c++]=0,p[c++]=s+s-1,p[c++]=s,r>0)for(m=0;m<s;m+=n)p[c++]=m,p[c++]=m+s;let d=new k;d.position=new A({componentDatatype:R.DOUBLE,componentsPerAttribute:3,values:u}),V.x=.5*e,V.y=Math.max(o,i);let l=new y(T.ZERO,_.magnitude(V));if(b(t._offsetAttribute)){e=u.length;let i=t._offsetAttribute===L.NONE?0:1,o=new Uint8Array(e/3).fill(i);d.applyOffset=new A({componentDatatype:R.UNSIGNED_BYTE,componentsPerAttribute:1,values:o})}return new P({attributes:d,indices:p,primitiveType:D.LINES,boundingSphere:l,offsetAttribute:t._offsetAttribute})};var w=d;function G(t,e){return b(e)&&(t=w.unpack(t,e)),w.createGeometry(t)}var et=G;export{et as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createEllipseGeometry.js.LICENSE.txt */
2
+ import{a as o}from"./chunk-IOTBNCMN.js";import"./chunk-YHWHVNY2.js";import"./chunk-2ZPEMRCT.js";import"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import"./chunk-T77EB7BE.js";import"./chunk-APG2S62J.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as t,d as c}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as n}from"./chunk-XRRBRTKL.js";function a(r,s){return n(s)&&(r=o.unpack(r,s)),r._center=t.clone(r._center),r._ellipsoid=c.clone(r._ellipsoid),o.createGeometry(r)}var u=a;export{u as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createEllipseOutlineGeometry.js.LICENSE.txt */
2
+ import{a as i}from"./chunk-FIHQI7E3.js";import"./chunk-YHWHVNY2.js";import"./chunk-T77EB7BE.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as t,d as c}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as o}from"./chunk-XRRBRTKL.js";function a(r,n){return o(n)&&(r=i.unpack(r,n)),r._center=t.clone(r._center),r._ellipsoid=c.clone(r._ellipsoid),i.createGeometry(r)}var p=a;export{p as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createEllipsoidGeometry.js.LICENSE.txt */
2
+ import{a as e}from"./chunk-CJRI54BI.js";import"./chunk-T77EB7BE.js";import"./chunk-APG2S62J.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as o}from"./chunk-XRRBRTKL.js";function i(r,t){return o(t)&&(r=e.unpack(r,t)),e.createGeometry(r)}var a=i;export{a as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createEllipsoidOutlineGeometry.js.LICENSE.txt */
2
+ import{a as t}from"./chunk-J7MBSSYW.js";import"./chunk-T77EB7BE.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as n}from"./chunk-XRRBRTKL.js";function u(r,u){return n(r.buffer,u)&&(r=t.unpack(r,u)),t.createGeometry(r)}var a=u;export{a as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createFrustumGeometry.js.LICENSE.txt */
2
+ import{c as r}from"./chunk-SNSHUVCZ.js";import"./chunk-APG2S62J.js";import"./chunk-SXKYZMEL.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as o}from"./chunk-XRRBRTKL.js";function i(t,c){return o(c)&&(t=r.unpack(t,c)),r.createGeometry(t)}var a=i;export{a as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createFrustumOutlineGeometry.js.LICENSE.txt */
2
+ import{a as k,b as _,c as A}from"./chunk-SNSHUVCZ.js";import"./chunk-APG2S62J.js";import"./chunk-SXKYZMEL.js";import{a as F}from"./chunk-4MJDNHOT.js";import{b,c as N,d as g}from"./chunk-EDF5FKWJ.js";import{d as y}from"./chunk-XQIJGAVD.js";import{g as s}from"./chunk-UTYWXSQT.js";import{a as T}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as h}from"./chunk-NOIUI5SY.js";import{e as w}from"./chunk-XRRBRTKL.js";var d=0,j=1;function P(e){h.typeOf.object("options",e),h.typeOf.object("options.frustum",e.frustum),h.typeOf.object("options.origin",e.origin),h.typeOf.object("options.orientation",e.orientation);let t,n,r=e.frustum,o=e.orientation,i=e.origin,u=e._drawNearPlane??!0;r instanceof _?(t=d,n=_.packedLength):r instanceof k&&(t=j,n=k.packedLength),this._frustumType=t,this._frustum=r.clone(),this._origin=a.clone(i),this._orientation=s.clone(o),this._drawNearPlane=u,this._workerName="createFrustumOutlineGeometry",this.packedLength=2+n+a.packedLength+s.packedLength}P.pack=function(e,t,n){h.typeOf.object("value",e),h.defined("array",t),n=n??0;let r=e._frustumType,o=e._frustum;return t[n++]=r,r===d?(_.pack(o,t,n),n+=_.packedLength):(k.pack(o,t,n),n+=k.packedLength),a.pack(e._origin,t,n),n+=a.packedLength,s.pack(e._orientation,t,n),t[n+=s.packedLength]=e._drawNearPlane?1:0,t};var C=new _,E=new k,G=new s,R=new a;P.unpack=function(e,t,n){h.defined("array",e),t=t??0;let r,o=e[t++];o===d?(r=_.unpack(e,t,C),t+=_.packedLength):(r=k.unpack(e,t,E),t+=k.packedLength);let i=a.unpack(e,t,R);t+=a.packedLength;let u=s.unpack(e,t,G),c=1===e[t+=s.packedLength];if(!w(n))return new P({frustum:r,origin:i,orientation:u,_drawNearPlane:c});let p=o===n._frustumType?n._frustum:void 0;return n._frustum=r.clone(p),n._frustumType=o,n._origin=a.clone(i,n._origin),n._orientation=s.clone(u,n._orientation),n._drawNearPlane=c,n},P.createGeometry=function(e){let t=e._frustumType,n=e._frustum,r=e._origin,a=e._orientation,o=e._drawNearPlane,i=new Float64Array(24);A._computeNearFarPlanes(r,a,t,n,i);let s,u,c=new F({position:new g({componentDatatype:T.DOUBLE,componentsPerAttribute:3,values:i})}),p=o?2:1,k=new Uint16Array(8*(p+1)),m=o?0:1;for(;m<2;++m)s=o?8*m:0,u=4*m,k[s]=u,k[s+1]=u+1,k[s+2]=u+1,k[s+3]=u+2,k[s+4]=u+2,k[s+5]=u+3,k[s+6]=u+3,k[s+7]=u;for(m=0;m<2;++m)s=8*(p+m),u=4*m,k[s]=u,k[s+1]=u+4,k[s+2]=u+1,k[s+3]=u+5,k[s+4]=u+2,k[s+5]=u+6,k[s+6]=u+3,k[s+7]=u+7;return new N({attributes:c,indices:k,primitiveType:b.LINES,boundingSphere:y.fromVertices(i)})};var L=P;function S(e,t){return w(t)&&(e=L.unpack(e,t)),L.createGeometry(e)}var $=S;export{$ as default};
@@ -1,26 +1,2 @@
1
- /**
2
- * @license
3
- * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.135.0
5
- *
6
- * Copyright 2011-2022 Cesium Contributors
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- *
20
- * Columbus View (Pat. Pend.)
21
- *
22
- * Portions licensed separately.
23
- * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
- */
25
-
26
- import{a as k}from"./chunk-LJBMXZ6U.js";import{a as w}from"./chunk-D2NFCOGE.js";import"./chunk-XBWRWNYZ.js";import"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{a as y}from"./chunk-NOIUI5SY.js";import{a,b as p,e as r}from"./chunk-XRRBRTKL.js";var g=p({"./combineGeometry.js":()=>import("./combineGeometry.js"),"./createBoxGeometry.js":()=>import("./createBoxGeometry.js"),"./createBoxOutlineGeometry.js":()=>import("./createBoxOutlineGeometry.js"),"./createCircleGeometry.js":()=>import("./createCircleGeometry.js"),"./createCircleOutlineGeometry.js":()=>import("./createCircleOutlineGeometry.js"),"./createCoplanarPolygonGeometry.js":()=>import("./createCoplanarPolygonGeometry.js"),"./createCoplanarPolygonOutlineGeometry.js":()=>import("./createCoplanarPolygonOutlineGeometry.js"),"./createCorridorGeometry.js":()=>import("./createCorridorGeometry.js"),"./createCorridorOutlineGeometry.js":()=>import("./createCorridorOutlineGeometry.js"),"./createCylinderGeometry.js":()=>import("./createCylinderGeometry.js"),"./createCylinderOutlineGeometry.js":()=>import("./createCylinderOutlineGeometry.js"),"./createEllipseGeometry.js":()=>import("./createEllipseGeometry.js"),"./createEllipseOutlineGeometry.js":()=>import("./createEllipseOutlineGeometry.js"),"./createEllipsoidGeometry.js":()=>import("./createEllipsoidGeometry.js"),"./createEllipsoidOutlineGeometry.js":()=>import("./createEllipsoidOutlineGeometry.js"),"./createFrustumGeometry.js":()=>import("./createFrustumGeometry.js"),"./createFrustumOutlineGeometry.js":()=>import("./createFrustumOutlineGeometry.js"),"./createGeometry.js":()=>import("./createGeometry.js"),"./createGroundPolylineGeometry.js":()=>import("./createGroundPolylineGeometry.js"),"./createPlaneGeometry.js":()=>import("./createPlaneGeometry.js"),"./createPlaneOutlineGeometry.js":()=>import("./createPlaneOutlineGeometry.js"),"./createPolygonGeometry.js":()=>import("./createPolygonGeometry.js"),"./createPolygonOutlineGeometry.js":()=>import("./createPolygonOutlineGeometry.js"),"./createPolylineGeometry.js":()=>import("./createPolylineGeometry.js"),"./createPolylineVolumeGeometry.js":()=>import("./createPolylineVolumeGeometry.js"),"./createPolylineVolumeOutlineGeometry.js":()=>import("./createPolylineVolumeOutlineGeometry.js"),"./createRectangleGeometry.js":()=>import("./createRectangleGeometry.js"),"./createRectangleOutlineGeometry.js":()=>import("./createRectangleOutlineGeometry.js"),"./createSimplePolylineGeometry.js":()=>import("./createSimplePolylineGeometry.js"),"./createSphereGeometry.js":()=>import("./createSphereGeometry.js"),"./createSphereOutlineGeometry.js":()=>import("./createSphereOutlineGeometry.js"),"./createTaskProcessorWorker.js":()=>import("./createTaskProcessorWorker.js"),"./createVectorTileClampedPolylines.js":()=>import("./createVectorTileClampedPolylines.js"),"./createVectorTileGeometries.js":()=>import("./createVectorTileGeometries.js"),"./createVectorTilePoints.js":()=>import("./createVectorTilePoints.js"),"./createVectorTilePolygons.js":()=>import("./createVectorTilePolygons.js"),"./createVectorTilePolylines.js":()=>import("./createVectorTilePolylines.js"),"./createVerticesFromCesium3DTilesTerrain.js":()=>import("./createVerticesFromCesium3DTilesTerrain.js"),"./createVerticesFromGoogleEarthEnterpriseBuffer.js":()=>import("./createVerticesFromGoogleEarthEnterpriseBuffer.js"),"./createVerticesFromHeightmap.js":()=>import("./createVerticesFromHeightmap.js"),"./createVerticesFromQuantizedTerrainMesh.js":()=>import("./createVerticesFromQuantizedTerrainMesh.js"),"./createWallGeometry.js":()=>import("./createWallGeometry.js"),"./createWallOutlineGeometry.js":()=>import("./createWallOutlineGeometry.js"),"./decodeDraco.js":()=>import("./decodeDraco.js"),"./decodeGoogleEarthEnterprisePacket.js":()=>import("./decodeGoogleEarthEnterprisePacket.js"),"./decodeI3S.js":()=>import("./decodeI3S.js"),"./gaussianSplatSorter.js":()=>import("./gaussianSplatSorter.js"),"./gaussianSplatTextureGenerator.js":()=>import("./gaussianSplatTextureGenerator.js"),"./transcodeKTX2.js":()=>import("./transcodeKTX2.js"),"./transferTypedArrayTest.js":()=>import("./transferTypedArrayTest.js"),"./upsampleQuantizedTerrainMesh.js":()=>import("./upsampleQuantizedTerrainMesh.js"),"./upsampleVerticesFromCesium3DTilesTerrain.js":()=>import("./upsampleVerticesFromCesium3DTilesTerrain.js")});var c={};async function b(s,t){let e=c[t]??c[s];return r(e)?e:r(t)?(typeof exports=="object"?e=a(t):e=(await import(t)).default,c[t]=e,e):(typeof exports=="object"?e=a(`Workers/${s}`):e=(r(t)?await import(t):await g(`./${s}.js`)).default,c[s]=e,e)}async function h(s,t){let e=s.subTasks,n=e.length,f=new Array(n);for(let o=0;o<n;o++){let i=e[o],m=i.geometry,u=i.moduleName,l=i.modulePath;if(r(u)&&r(l))throw new y("Must only set moduleName or modulePath");r(u)||r(l)?f[o]=b(u,l).then(d=>d(m,i.offset)):f[o]=m}return Promise.all(f).then(function(o){return k.packCreateGeometryResults(o,t)})}var G=w(h);export{G as default};
1
+ /*! For license information please see createGeometry.js.LICENSE.txt */
2
+ import{a as k}from"./chunk-LJBMXZ6U.js";import{a as w}from"./chunk-D2NFCOGE.js";import"./chunk-XBWRWNYZ.js";import"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{a as y}from"./chunk-NOIUI5SY.js";import{a,b as p,e as r}from"./chunk-XRRBRTKL.js";var g=p({"./combineGeometry.js":()=>import("./combineGeometry.js"),"./createBoxGeometry.js":()=>import("./createBoxGeometry.js"),"./createBoxOutlineGeometry.js":()=>import("./createBoxOutlineGeometry.js"),"./createCircleGeometry.js":()=>import("./createCircleGeometry.js"),"./createCircleOutlineGeometry.js":()=>import("./createCircleOutlineGeometry.js"),"./createCoplanarPolygonGeometry.js":()=>import("./createCoplanarPolygonGeometry.js"),"./createCoplanarPolygonOutlineGeometry.js":()=>import("./createCoplanarPolygonOutlineGeometry.js"),"./createCorridorGeometry.js":()=>import("./createCorridorGeometry.js"),"./createCorridorOutlineGeometry.js":()=>import("./createCorridorOutlineGeometry.js"),"./createCylinderGeometry.js":()=>import("./createCylinderGeometry.js"),"./createCylinderOutlineGeometry.js":()=>import("./createCylinderOutlineGeometry.js"),"./createEllipseGeometry.js":()=>import("./createEllipseGeometry.js"),"./createEllipseOutlineGeometry.js":()=>import("./createEllipseOutlineGeometry.js"),"./createEllipsoidGeometry.js":()=>import("./createEllipsoidGeometry.js"),"./createEllipsoidOutlineGeometry.js":()=>import("./createEllipsoidOutlineGeometry.js"),"./createFrustumGeometry.js":()=>import("./createFrustumGeometry.js"),"./createFrustumOutlineGeometry.js":()=>import("./createFrustumOutlineGeometry.js"),"./createGeometry.js":()=>import("./createGeometry.js"),"./createGroundPolylineGeometry.js":()=>import("./createGroundPolylineGeometry.js"),"./createPlaneGeometry.js":()=>import("./createPlaneGeometry.js"),"./createPlaneOutlineGeometry.js":()=>import("./createPlaneOutlineGeometry.js"),"./createPolygonGeometry.js":()=>import("./createPolygonGeometry.js"),"./createPolygonOutlineGeometry.js":()=>import("./createPolygonOutlineGeometry.js"),"./createPolylineGeometry.js":()=>import("./createPolylineGeometry.js"),"./createPolylineVolumeGeometry.js":()=>import("./createPolylineVolumeGeometry.js"),"./createPolylineVolumeOutlineGeometry.js":()=>import("./createPolylineVolumeOutlineGeometry.js"),"./createRectangleGeometry.js":()=>import("./createRectangleGeometry.js"),"./createRectangleOutlineGeometry.js":()=>import("./createRectangleOutlineGeometry.js"),"./createSimplePolylineGeometry.js":()=>import("./createSimplePolylineGeometry.js"),"./createSphereGeometry.js":()=>import("./createSphereGeometry.js"),"./createSphereOutlineGeometry.js":()=>import("./createSphereOutlineGeometry.js"),"./createTaskProcessorWorker.js":()=>import("./createTaskProcessorWorker.js"),"./createVectorTileClampedPolylines.js":()=>import("./createVectorTileClampedPolylines.js"),"./createVectorTileGeometries.js":()=>import("./createVectorTileGeometries.js"),"./createVectorTilePoints.js":()=>import("./createVectorTilePoints.js"),"./createVectorTilePolygons.js":()=>import("./createVectorTilePolygons.js"),"./createVectorTilePolylines.js":()=>import("./createVectorTilePolylines.js"),"./createVerticesFromCesium3DTilesTerrain.js":()=>import("./createVerticesFromCesium3DTilesTerrain.js"),"./createVerticesFromGoogleEarthEnterpriseBuffer.js":()=>import("./createVerticesFromGoogleEarthEnterpriseBuffer.js"),"./createVerticesFromHeightmap.js":()=>import("./createVerticesFromHeightmap.js"),"./createVerticesFromQuantizedTerrainMesh.js":()=>import("./createVerticesFromQuantizedTerrainMesh.js"),"./createWallGeometry.js":()=>import("./createWallGeometry.js"),"./createWallOutlineGeometry.js":()=>import("./createWallOutlineGeometry.js"),"./decodeDraco.js":()=>import("./decodeDraco.js"),"./decodeGoogleEarthEnterprisePacket.js":()=>import("./decodeGoogleEarthEnterprisePacket.js"),"./decodeI3S.js":()=>import("./decodeI3S.js"),"./gaussianSplatSorter.js":()=>import("./gaussianSplatSorter.js"),"./gaussianSplatTextureGenerator.js":()=>import("./gaussianSplatTextureGenerator.js"),"./transcodeKTX2.js":()=>import("./transcodeKTX2.js"),"./transferTypedArrayTest.js":()=>import("./transferTypedArrayTest.js"),"./upsampleQuantizedTerrainMesh.js":()=>import("./upsampleQuantizedTerrainMesh.js"),"./upsampleVerticesFromCesium3DTilesTerrain.js":()=>import("./upsampleVerticesFromCesium3DTilesTerrain.js")}),c={};async function b(e,t){let o=c[t]??c[e];return r(o)?o:r(t)?(o="object"==typeof exports?a(t):(await import(t)).default,c[t]=o,o):(o="object"==typeof exports?a(`Workers/${e}`):(r(t)?await import(t):await g(`./${e}.js`)).default,c[e]=o,o)}async function h(e,t){let o=e.subTasks,s=o.length,i=new Array(s);for(let e=0;e<s;e++){let t=o[e],s=t.geometry,m=t.moduleName,a=t.modulePath;if(r(m)&&r(a))throw new y("Must only set moduleName or modulePath");r(m)||r(a)?i[e]=b(m,a).then((e=>e(s,t.offset))):i[e]=s}return Promise.all(i).then((function(e){return k.packCreateGeometryResults(e,t)}))}var G=w(h);export{G as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createGroundPolylineGeometry.js.LICENSE.txt */
2
+ import{a as _e}from"./chunk-XBWRWNYZ.js";import{a as W}from"./chunk-OXJ2LJUE.js";import{a as Ct}from"./chunk-OFCC6BNI.js";import{a as Oe}from"./chunk-FWF3VNA2.js";import{a as Le}from"./chunk-AZLP5742.js";import{a as te}from"./chunk-5HPISDSZ.js";import{b as Qt}from"./chunk-HSJ6GSLC.js";import{a as jt}from"./chunk-SXKYZMEL.js";import{c as Ce,d as zt}from"./chunk-EDF5FKWJ.js";import{a as Pt,d as U}from"./chunk-XQIJGAVD.js";import{e as xe,f as Ne,g as Kt,i as Y}from"./chunk-UTYWXSQT.js";import{a as Bt}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as t,b as u,c as Rt,d as B,e as bt,f as vt}from"./chunk-KWAHJ72S.js";import{a as p}from"./chunk-MKDADUG3.js";import{a as wt,b as tt}from"./chunk-NOIUI5SY.js";import{e as g}from"./chunk-XRRBRTKL.js";function it(t){t=t??vt.EMPTY_OBJECT,this._ellipsoid=t.ellipsoid??B.default,this._rectangle=t.rectangle??Y.MAX_VALUE,this._projection=new Pt(this._ellipsoid),this._numberOfLevelZeroTilesX=t.numberOfLevelZeroTilesX??2,this._numberOfLevelZeroTilesY=t.numberOfLevelZeroTilesY??1}Object.defineProperties(it.prototype,{ellipsoid:{get:function(){return this._ellipsoid}},rectangle:{get:function(){return this._rectangle}},projection:{get:function(){return this._projection}}}),it.prototype.getNumberOfXTilesAtLevel=function(t){return this._numberOfLevelZeroTilesX<<t},it.prototype.getNumberOfYTilesAtLevel=function(t){return this._numberOfLevelZeroTilesY<<t},it.prototype.rectangleToNativeRectangle=function(t,e){tt.defined("rectangle",t);let n=p.toDegrees(t.west),i=p.toDegrees(t.south),r=p.toDegrees(t.east),a=p.toDegrees(t.north);return g(e)?(e.west=n,e.south=i,e.east=r,e.north=a,e):new Y(n,i,r,a)},it.prototype.tileXYToNativeRectangle=function(t,e,n,i){let r=this.tileXYToRectangle(t,e,n,i);return r.west=p.toDegrees(r.west),r.south=p.toDegrees(r.south),r.east=p.toDegrees(r.east),r.north=p.toDegrees(r.north),r},it.prototype.tileXYToRectangle=function(t,e,n,i){let r=this._rectangle,a=this.getNumberOfXTilesAtLevel(n),o=this.getNumberOfYTilesAtLevel(n),l=r.width/a,s=t*l+r.west,u=(t+1)*l+r.west,p=r.height/o,c=r.north-e*p,h=r.north-(e+1)*p;return g(i)||(i=new Y(s,h,u,c)),i.west=s,i.south=h,i.east=u,i.north=c,i},it.prototype.positionToTileXY=function(t,e,n){let i=this._rectangle;if(!Y.contains(i,t))return;let r=this.getNumberOfXTilesAtLevel(e),a=this.getNumberOfYTilesAtLevel(e),o=i.width/r,l=i.height/a,s=t.longitude;i.east<i.west&&(s+=p.TWO_PI);let u=(s-i.west)/o|0;u>=r&&(u=r-1);let c=(i.north-t.latitude)/l|0;return c>=a&&(c=a-1),g(n)?(n.x=u,n.y=c,n):new Rt(u,c)};var De=it,Ie=new t,He=new t,ke=new u,ee=new t,hn=new t,ye=new U,pn=new De,_t=[new u,new u,new u,new u],Lt=new Rt,w={};function Ae(t){u.fromRadians(t.east,t.north,0,_t[0]),u.fromRadians(t.west,t.north,0,_t[1]),u.fromRadians(t.east,t.south,0,_t[2]),u.fromRadians(t.west,t.south,0,_t[3]);let e,n=0,i=0,r=0,a=0,o=w._terrainHeightsMaxLevel;for(e=0;e<=o;++e){let t=!1;for(let n=0;n<4;++n){let i=_t[n];if(pn.positionToTileXY(i,e,Lt),0===n)r=Lt.x,a=Lt.y;else if(r!==Lt.x||a!==Lt.y){t=!0;break}}if(t)break;n=r,i=a}if(0!==e)return{x:n,y:i,level:e>o?o:e-1}}w.initialize=function(){let t=w._initPromise;return g(t)||(t=xe.fetchJson(Ne("Assets/approximateTerrainHeights.json")).then((function(t){w._terrainHeights=t})),w._initPromise=t),t},w.getMinimumMaximumHeights=function(e,n){if(tt.defined("rectangle",e),!g(w._terrainHeights))throw new wt("You must call ApproximateTerrainHeights.initialize and wait for the promise to resolve before using this function");n=n??B.default;let i=Ae(e),r=w._defaultMinTerrainHeight,a=w._defaultMaxTerrainHeight;if(g(i)){let o=`${i.level}-${i.x}-${i.y}`,l=w._terrainHeights[o];g(l)&&(r=l[0],a=l[1]),n.cartographicToCartesian(Y.northeast(e,ke),Ie),n.cartographicToCartesian(Y.southwest(e,ke),He),t.midpoint(He,Ie,ee);let s=n.scaleToGeodeticSurface(ee,hn);if(g(s)){let e=t.distance(ee,s);r=Math.min(r,-e)}else r=w._defaultMinTerrainHeight}return r=Math.max(w._defaultMinTerrainHeight,r),{minimumTerrainHeight:r,maximumTerrainHeight:a}},w.getBoundingSphere=function(t,e){if(tt.defined("rectangle",t),!g(w._terrainHeights))throw new wt("You must call ApproximateTerrainHeights.initialize and wait for the promise to resolve before using this function");e=e??B.default;let n=Ae(t),i=w._defaultMaxTerrainHeight;if(g(n)){let t=`${n.level}-${n.x}-${n.y}`,e=w._terrainHeights[t];g(e)&&(i=e[1])}let r=U.fromRectangle3D(t,e,0);return U.fromRectangle3D(t,e,i,ye),U.union(r,ye,r)},w._terrainHeightsMaxLevel=6,w._defaultMaxTerrainHeight=9e3,w._defaultMinTerrainHeight=-1e5,w._terrainHeights=void 0,w._initPromise=void 0,Object.defineProperties(w,{initialized:{get:function(){return g(w._terrainHeights)}}});var Ft=w,le=[Pt,_e],dn=le.length,Ke=Math.cos(p.toRadians(30)),Me=Math.cos(p.toRadians(150)),Qe=0,tn=1e3;function at(t){let e=(t=t??vt.EMPTY_OBJECT).positions;if(!g(e)||e.length<2)throw new wt("At least two positions are required.");if(g(t.arcType)&&t.arcType!==W.GEODESIC&&t.arcType!==W.RHUMB)throw new wt("Valid options for arcType are ArcType.GEODESIC and ArcType.RHUMB.");this.width=t.width??1,this._positions=e,this.granularity=t.granularity??9999,this.loop=t.loop??!1,this.arcType=t.arcType??W.GEODESIC,this._ellipsoid=B.default,this._projectionIndex=0,this._workerName="createGroundPolylineGeometry",this._scene3DOnly=!1}Object.defineProperties(at.prototype,{packedLength:{get:function(){return 1+3*this._positions.length+1+1+1+B.packedLength+1+1}}}),at.setProjectionAndEllipsoid=function(t,e){let n=0;for(let t=0;t<dn;t++)if(e instanceof le[t]){n=t;break}t._projectionIndex=n,t._ellipsoid=e.ellipsoid};var fn=new t,Re=new t,Pe=new t;function se(e,n,i,r,a){let o=R(r,e,0,fn),l=R(r,e,i,Re),s=R(r,n,0,Pe),u=et(l,o,Re),p=et(s,o,Pe);return t.cross(p,u,a),t.normalize(a,a)}var mn=new u,gn=new t,un=new t,wn=new t;function ne(e,n,i,r,a,o,l,s,u,p,c){if(0===a)return;let h;o===W.GEODESIC?h=new Oe(e,n,l):o===W.RHUMB&&(h=new te(e,n,l));let g=h.surfaceDistance;if(g<a)return;let d=se(e,n,r,l,wn),f=Math.ceil(g/a),w=g/f,m=w,y=f-1,T=s.length;for(let e=0;e<y;e++){let e=h.interpolateUsingSurfaceDistance(m,mn),n=R(l,e,i,gn),a=R(l,e,r,un);t.pack(d,s,T),t.pack(n,u,T),t.pack(a,p,T),c.push(e.latitude),c.push(e.longitude),T+=3,m+=w}}var oe=new u;function R(t,e,n,i){return u.clone(e,oe),oe.height=n,u.toCartesian(oe,t,i)}function et(e,n,i){return t.subtract(e,n,i),t.normalize(i,i),i}function be(e,n,i,r){return r=et(e,n,r),r=t.cross(r,i,r),r=t.normalize(r,r),t.cross(i,r,r)}at.pack=function(e,n,i){tt.typeOf.object("value",e),tt.defined("array",n);let r=i??0,a=e._positions,o=a.length;n[r++]=o;for(let e=0;e<o;++e){let i=a[e];t.pack(i,n,r),r+=3}return n[r++]=e.granularity,n[r++]=e.loop?1:0,n[r++]=e.arcType,B.pack(e._ellipsoid,n,r),r+=B.packedLength,n[r++]=e._projectionIndex,n[r++]=e._scene3DOnly?1:0,n},at.unpack=function(e,n,i){tt.defined("array",e);let r=n??0,a=e[r++],o=new Array(a);for(let n=0;n<a;n++)o[n]=t.unpack(e,r),r+=3;let l=e[r++],s=1===e[r++],u=e[r++],p=B.unpack(e,r);r+=B.packedLength;let c=e[r++],h=1===e[r++];return g(i)||(i=new at({positions:o})),i._positions=o,i.granularity=l,i.loop=s,i.arcType=u,i._ellipsoid=p,i._projectionIndex=c,i._scene3DOnly=h,i};var Sn=new t,Tn=new t,En=new t,en=new t,xn=0,Nn=-1;function ie(e,n,i,r,a){let o=et(i,n,en),l=be(e,n,o,Sn),s=be(r,n,o,Tn);if(p.equalsEpsilon(t.dot(l,s),Nn,p.EPSILON5))return a=t.cross(o,l,a),t.normalize(a,a);a=t.add(s,l,a),a=t.normalize(a,a);let u=t.cross(o,a,En);return t.dot(s,u)<xn&&(a=t.negate(a,a)),a}var Gt=jt.fromPointNormal(t.ZERO,t.UNIT_Y),Cn=new t,_n=new t,Ln=new t,On=new t,Dn=new t,Xt=new t,Yt=new u,ve=new u,Be=new u;at.createGeometry=function(e){let n,i,r=!e._scene3DOnly,a=e.loop,o=e._ellipsoid,l=e.granularity,s=e.arcType,c=new le[e._projectionIndex](o),h=Qe,d=tn,f=e._positions,w=f.length;2===w&&(a=!1);let m,y,T,_,O,k,E,L=new te(void 0,void 0,o),P=[f[0]];for(i=0;i<w-1;i++)m=f[i],y=f[i+1],O=Qt.lineSegmentPlane(m,y,Gt,Xt),g(O)&&!t.equalsEpsilon(O,m,p.EPSILON7)&&!t.equalsEpsilon(O,y,p.EPSILON7)&&(e.arcType===W.GEODESIC?P.push(t.clone(O)):e.arcType===W.RHUMB&&(E=o.cartesianToCartographic(O,Yt).longitude,T=o.cartesianToCartographic(m,Yt),_=o.cartesianToCartographic(y,ve),L.setEndPoints(T,_),k=L.findIntersectionWithLongitude(E,Be),O=o.cartographicToCartesian(k,Xt),g(O)&&!t.equalsEpsilon(O,m,p.EPSILON7)&&!t.equalsEpsilon(O,y,p.EPSILON7)&&P.push(t.clone(O)))),P.push(y);a&&(m=f[w-1],y=f[0],O=Qt.lineSegmentPlane(m,y,Gt,Xt),g(O)&&!t.equalsEpsilon(O,m,p.EPSILON7)&&!t.equalsEpsilon(O,y,p.EPSILON7)&&(e.arcType===W.GEODESIC?P.push(t.clone(O)):e.arcType===W.RHUMB&&(E=o.cartesianToCartographic(O,Yt).longitude,T=o.cartesianToCartographic(m,Yt),_=o.cartesianToCartographic(y,ve),L.setEndPoints(T,_),k=L.findIntersectionWithLongitude(E,Be),O=o.cartographicToCartesian(k,Xt),g(O)&&!t.equalsEpsilon(O,m,p.EPSILON7)&&!t.equalsEpsilon(O,y,p.EPSILON7)&&P.push(t.clone(O)))));let A=P.length,b=new Array(A);for(i=0;i<A;i++){let t=u.fromCartesian(P[i],o);t.height=0,b[i]=t}if(b=Le(b,u.equalsEpsilon),A=b.length,A<2)return;let v=[],I=[],S=[],j=[],N=Cn,x=_n,D=Ln,Y=On,C=Dn,H=b[0],B=b[1];for(N=R(o,b[A-1],h,N),Y=R(o,B,h,Y),x=R(o,H,h,x),D=R(o,H,d,D),C=a?ie(N,x,D,Y,C):se(H,B,d,o,C),t.pack(C,I,0),t.pack(x,S,0),t.pack(D,j,0),v.push(H.latitude),v.push(H.longitude),ne(H,B,h,d,l,s,o,I,S,j,v),i=1;i<A-1;++i){N=t.clone(x,N),x=t.clone(Y,x);let e=b[i];R(o,e,d,D),R(o,b[i+1],h,Y),ie(N,x,D,Y,C),n=I.length,t.pack(C,I,n),t.pack(x,S,n),t.pack(D,j,n),v.push(e.latitude),v.push(e.longitude),ne(b[i],b[i+1],h,d,l,s,o,I,S,j,v)}let M=b[A-1],z=b[A-2];if(x=R(o,M,h,x),D=R(o,M,d,D),a){let t=b[0];N=R(o,z,h,N),Y=R(o,t,h,Y),C=ie(N,x,D,Y,C)}else C=se(z,M,d,o,C);if(n=I.length,t.pack(C,I,n),t.pack(x,S,n),t.pack(D,j,n),v.push(M.latitude),v.push(M.longitude),a){for(ne(M,H,h,d,l,s,o,I,S,j,v),n=I.length,i=0;i<3;++i)I[n+i]=I[i],S[n+i]=S[i],j[n+i]=j[i];v.push(H.latitude),v.push(H.longitude)}return Qn(a,c,S,j,I,v,r)};var In=new t,Hn=new bt,kn=new Kt;function ze(e,n,i,r){let a=et(i,n,In),o=t.dot(a,e);if(o>Ke||o<Me){let t=et(r,i,en),n=o<Me?p.PI_OVER_TWO:-p.PI_OVER_TWO,a=Kt.fromAxisAngle(t,n,kn),l=bt.fromQuaternion(a,Hn);return bt.multiplyByVector(l,e,e),!0}return!1}var je=new u,yn=new t,Fe=new t;function Ot(e,n,i,r,a){let o=u.toCartesian(n,e._ellipsoid,yn),l=t.add(o,i,Fe),s=!1,c=e._ellipsoid,h=c.cartesianToCartographic(l,je);Math.abs(n.longitude-h.longitude)>p.PI_OVER_TWO&&(s=!0,l=t.subtract(o,i,Fe),h=c.cartesianToCartographic(l,je)),h.height=0;let g=e.project(h,a);return(a=t.subtract(g,r,a)).z=0,a=t.normalize(a,a),s&&t.negate(a,a),a}var An=new t,Xe=new t;function Ye(e,n,i,r,a,o){let l=t.subtract(n,e,An);t.normalize(l,l);let s=i-Qe,u=t.multiplyByScalar(l,s,Xe);t.add(e,u,a);let p=r-tn;u=t.multiplyByScalar(l,p,Xe),t.add(n,u,o)}var Mn=new t;function Ut(e,n){let i=jt.getPointDistance(Gt,e),r=jt.getPointDistance(Gt,n),a=Mn;p.equalsEpsilon(i,0,p.EPSILON2)?(a=et(n,e,a),t.multiplyByScalar(a,p.EPSILON2,a),t.add(e,a,e)):p.equalsEpsilon(r,0,p.EPSILON2)&&(a=et(e,n,a),t.multiplyByScalar(a,p.EPSILON2,a),t.add(n,a,n))}function Rn(t,e){let n=Math.abs(t.longitude),i=Math.abs(e.longitude);if(p.equalsEpsilon(n,p.PI,p.EPSILON11)){let i=p.sign(e.longitude);return t.longitude=i*(n-p.EPSILON11),1}if(p.equalsEpsilon(i,p.PI,p.EPSILON11)){let n=p.sign(t.longitude);return e.longitude=n*(i-p.EPSILON11),2}return 0}var nn=new u,on=new u,Ue=new t,re=new t,Ge=new t,qe=new t,Pn=new t,We=new t,bn=[nn,on],vn=new Y,Bn=new t,zn=new t,jn=new t,Fn=new t,Xn=new t,Yn=new t,ae=new t,ce=new t,Un=new t,Gn=new t,qn=new t,Ze=new t,Wn=new t,Zn=new t,Vn=new Ct,$n=new Ct,Ve=new t,Jn=new t,$e=new t,Kn=[new U,new U],rn=[0,2,1,0,3,2,0,7,3,0,4,7,0,5,4,0,1,5,5,7,4,5,6,7,5,2,6,5,1,2,3,6,2,3,7,6],Je=rn.length;function Qn(e,n,i,r,a,o,l){let s,u,c,h,g,d,f=n._ellipsoid,w=i.length/3-1,m=8*w,y=4*m,T=36*w,_=m>65535?new Uint32Array(T):new Uint16Array(T),O=new Float64Array(3*m),k=new Float32Array(y),E=new Float32Array(y),L=new Float32Array(y),P=new Float32Array(y),R=new Float32Array(y);l&&(c=new Float32Array(y),h=new Float32Array(y),g=new Float32Array(y),d=new Float32Array(2*m));let A=o.length/2,b=0,v=nn;v.height=0;let I=on;I.height=0;let S=Ue,j=re;if(l)for(u=0,s=1;s<A;s++)v.latitude=o[u],v.longitude=o[u+1],I.latitude=o[u+2],I.longitude=o[u+3],S=n.project(v,S),j=n.project(I,j),b+=t.distance(S,j),u+=2;let N=r.length/3;j=t.unpack(r,0,j);let x,D=0;for(u=3,s=1;s<N;s++)S=t.clone(j,S),j=t.unpack(r,u,j),D+=t.distance(S,j),u+=3;u=3;let C=0,H=0,B=0,M=0,z=!1,W=t.unpack(i,0,qe),X=t.unpack(r,0,re),F=t.unpack(a,0,We);e&&ze(F,t.unpack(i,i.length-6,Ge),W,X)&&(F=t.negate(F,F));let G=0,q=0,Z=0;for(s=0;s<w;s++){let e,s,w,m,y=t.clone(W,Ge),T=t.clone(X,Ue),_=t.clone(F,Pn);if(z&&(_=t.negate(_,_)),W=t.unpack(i,u,qe),X=t.unpack(r,u,re),F=t.unpack(a,u,We),z=ze(F,y,W,X),v.latitude=o[C],v.longitude=o[C+1],I.latitude=o[C+2],I.longitude=o[C+3],l){let i=Rn(v,I);e=n.project(v,Xn),s=n.project(I,Yn);let r=et(s,e,Ve);r.y=Math.abs(r.y),w=ae,m=ce,0===i||t.dot(r,t.UNIT_Y)>Ke?(w=Ot(n,v,_,e,ae),m=Ot(n,I,F,s,ce)):1===i?(m=Ot(n,I,F,s,ce),w.x=0,w.y=p.sign(v.longitude-Math.abs(I.longitude)),w.z=0):(w=Ot(n,v,_,e,ae),m.x=0,m.y=p.sign(v.longitude-I.longitude),m.z=0)}let A=t.distance(T,X),S=Ct.fromCartesian(y,Vn),j=t.subtract(W,y,Un),N=t.normalize(j,Ze),U=t.subtract(T,y,Gn);U=t.normalize(U,U);let J=t.cross(N,U,Ze);J=t.normalize(J,J);let K=t.cross(U,_,Wn);K=t.normalize(K,K);let V=t.subtract(X,W,qn);V=t.normalize(V,V);let Q=t.cross(F,V,Zn);Q=t.normalize(Q,Q);let $,tt,nt,it=A/D,rt=G/D,at=0,ot=0,lt=0;if(l){at=t.distance(e,s),$=Ct.fromCartesian(e,$n),tt=t.subtract(s,e,Ve),nt=t.normalize(tt,Jn);let n=nt.x;nt.x=nt.y,nt.y=-n,ot=at/b,lt=q/b}for(x=0;x<8;x++){let e=M+4*x,n=H+2*x,i=e+3,r=x<4?1:-1,a=2===x||3===x||6===x||7===x?1:-1;t.pack(S.high,k,e),k[i]=j.x,t.pack(S.low,E,e),E[i]=j.y,t.pack(K,L,e),L[i]=j.z,t.pack(Q,P,e),P[i]=it*r,t.pack(J,R,e);let o=rt*a;0===o&&a<0&&(o=9),R[i]=o,l&&(c[e]=$.high.x,c[e+1]=$.high.y,c[e+2]=$.low.x,c[e+3]=$.low.y,g[e]=-w.y,g[e+1]=w.x,g[e+2]=m.y,g[e+3]=-m.x,h[e]=tt.x,h[e+1]=tt.y,h[e+2]=nt.x,h[e+3]=nt.y,d[n]=ot*r,o=lt*a,0===o&&a<0&&(o=9),d[n+1]=o)}let st=jn,ut=Fn,pt=Bn,ct=zn,ht=Y.fromCartographicArray(bn,vn),gt=Ft.getMinimumMaximumHeights(ht,f),dt=gt.minimumTerrainHeight,ft=gt.maximumTerrainHeight;Z+=Math.abs(dt),Z+=Math.abs(ft),Ye(y,T,dt,ft,st,pt),Ye(W,X,dt,ft,ut,ct);let wt=t.multiplyByScalar(J,p.EPSILON5,$e);t.add(st,wt,st),t.add(ut,wt,ut),t.add(pt,wt,pt),t.add(ct,wt,ct),Ut(st,ut),Ut(pt,ct),t.pack(st,O,B),t.pack(ut,O,B+3),t.pack(ct,O,B+6),t.pack(pt,O,B+9),wt=t.multiplyByScalar(J,-2*p.EPSILON5,$e),t.add(st,wt,st),t.add(ut,wt,ut),t.add(pt,wt,pt),t.add(ct,wt,ct),Ut(st,ut),Ut(pt,ct),t.pack(st,O,B+12),t.pack(ut,O,B+15),t.pack(ct,O,B+18),t.pack(pt,O,B+21),C+=2,u+=3,H+=16,B+=24,M+=32,G+=A,q+=at}u=0;let J=0;for(s=0;s<w;s++){for(x=0;x<Je;x++)_[u+x]=rn[x]+J;J+=8,u+=Je}let K=Kn;U.fromVertices(i,t.ZERO,3,K[0]),U.fromVertices(r,t.ZERO,3,K[1]);let V=U.fromBoundingSpheres(K);V.radius+=Z/(2*w);let Q={position:new zt({componentDatatype:Bt.DOUBLE,componentsPerAttribute:3,normalize:!1,values:O}),startHiAndForwardOffsetX:rt(k),startLoAndForwardOffsetY:rt(E),startNormalAndForwardOffsetZ:rt(L),endNormalAndTextureCoordinateNormalizationX:rt(P),rightNormalAndTextureCoordinateNormalizationY:rt(R)};return l&&(Q.startHiLo2D=rt(c),Q.offsetAndRight2D=rt(h),Q.startEndNormals2D=rt(g),Q.texcoordNormalization2D=new zt({componentDatatype:Bt.FLOAT,componentsPerAttribute:2,normalize:!1,values:d})),new Ce({attributes:Q,indices:_,boundingSphere:V})}function rt(t){return new zt({componentDatatype:Bt.FLOAT,componentsPerAttribute:4,normalize:!1,values:t})}at._projectNormal=Ot;var he=at;function to(t,e){return Ft.initialize().then((function(){return g(e)&&(t=he.unpack(t,e)),he.createGeometry(t)}))}var Qo=to;export{Qo as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPlaneGeometry.js.LICENSE.txt */
2
+ import{a as m}from"./chunk-APG2S62J.js";import{a as b}from"./chunk-4MJDNHOT.js";import{b as v,c as x,d as c}from"./chunk-EDF5FKWJ.js";import{d as l}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as i}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as u,f as A}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as f}from"./chunk-NOIUI5SY.js";import{e as s}from"./chunk-XRRBRTKL.js";function p(t){let e=(t=t??A.EMPTY_OBJECT).vertexFormat??m.DEFAULT;this._vertexFormat=e,this._workerName="createPlaneGeometry"}p.packedLength=m.packedLength,p.pack=function(t,e,n){return f.typeOf.object("value",t),f.defined("array",e),n=n??0,m.pack(t._vertexFormat,e,n),e};var d=new m,P={vertexFormat:d};p.unpack=function(t,e,n){f.defined("array",t),e=e??0;let r=m.unpack(t,e,d);return s(n)?(n._vertexFormat=m.clone(r,n._vertexFormat),n):new p(P)};var y=new u(-.5,-.5,0),F=new u(.5,.5,0);p.createGeometry=function(t){let e,n,r=t._vertexFormat,a=new b;if(r.position){if(n=new Float64Array(12),n[0]=y.x,n[1]=y.y,n[2]=0,n[3]=F.x,n[4]=y.y,n[5]=0,n[6]=F.x,n[7]=F.y,n[8]=0,n[9]=y.x,n[10]=F.y,n[11]=0,a.position=new c({componentDatatype:i.DOUBLE,componentsPerAttribute:3,values:n}),r.normal){let t=new Float32Array(12);t[0]=0,t[1]=0,t[2]=1,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=1,t[9]=0,t[10]=0,t[11]=1,a.normal=new c({componentDatatype:i.FLOAT,componentsPerAttribute:3,values:t})}if(r.st){let t=new Float32Array(8);t[0]=0,t[1]=0,t[2]=1,t[3]=0,t[4]=1,t[5]=1,t[6]=0,t[7]=1,a.st=new c({componentDatatype:i.FLOAT,componentsPerAttribute:2,values:t})}if(r.tangent){let t=new Float32Array(12);t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t[6]=1,t[7]=0,t[8]=0,t[9]=1,t[10]=0,t[11]=0,a.tangent=new c({componentDatatype:i.FLOAT,componentsPerAttribute:3,values:t})}if(r.bitangent){let t=new Float32Array(12);t[0]=0,t[1]=1,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=1,t[8]=0,t[9]=0,t[10]=1,t[11]=0,a.bitangent=new c({componentDatatype:i.FLOAT,componentsPerAttribute:3,values:t})}e=new Uint16Array(6),e[0]=0,e[1]=1,e[2]=2,e[3]=0,e[4]=2,e[5]=3}return new x({attributes:a,indices:e,primitiveType:v.TRIANGLES,boundingSphere:new l(u.ZERO,Math.sqrt(2))})};var w=p;function h(t,e){return s(e)&&(t=w.unpack(t,e)),w.createGeometry(t)}var N=h;export{N as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPlaneOutlineGeometry.js.LICENSE.txt */
2
+ import{a as l}from"./chunk-4MJDNHOT.js";import{b as d,c as y,d as s}from"./chunk-EDF5FKWJ.js";import{d as c}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as f}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as m}from"./chunk-NOIUI5SY.js";import{e as i}from"./chunk-XRRBRTKL.js";function o(){this._workerName="createPlaneOutlineGeometry"}o.packedLength=0,o.pack=function(n,e){return m.defined("value",n),m.defined("array",e),e},o.unpack=function(n,e,r){return m.defined("array",n),i(r)?r:new o};var n=new a(-.5,-.5,0),p=new a(.5,.5,0);o.createGeometry=function(){let e=new l,r=new Uint16Array(8),t=new Float64Array(12);return t[0]=n.x,t[1]=n.y,t[2]=n.z,t[3]=p.x,t[4]=n.y,t[5]=n.z,t[6]=p.x,t[7]=p.y,t[8]=n.z,t[9]=n.x,t[10]=p.y,t[11]=n.z,e.position=new s({componentDatatype:f.DOUBLE,componentsPerAttribute:3,values:t}),r[0]=0,r[1]=1,r[2]=1,r[3]=2,r[4]=2,r[5]=3,r[6]=3,r[7]=0,new y({attributes:e,indices:r,primitiveType:d.LINES,boundingSphere:new c(a.ZERO,Math.sqrt(2))})};var u=o;function w(n,e){return i(e)&&(n=u.unpack(n,e)),u.createGeometry(n)}var D=w;export{D as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPolygonGeometry.js.LICENSE.txt */
2
+ import{a as mt}from"./chunk-U6GWZBRL.js";import{a as L}from"./chunk-3WSHJXU2.js";import{a as st}from"./chunk-OXJ2LJUE.js";import{a as rt}from"./chunk-2ZPEMRCT.js";import{a as bt}from"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import{a as lt}from"./chunk-T77EB7BE.js";import{a as q}from"./chunk-APG2S62J.js";import{a as Z}from"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{a as dt,b as ot}from"./chunk-IYO6TYGP.js";import"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import{a as wt,b as yt}from"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as ct}from"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import{c as ut,d as $}from"./chunk-EDF5FKWJ.js";import{d as Tt}from"./chunk-XQIJGAVD.js";import{g as at,i as _t}from"./chunk-UTYWXSQT.js";import{a as X}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as c,b as et,c as O,d as S,e as D,f as Pt}from"./chunk-KWAHJ72S.js";import{a as l}from"./chunk-MKDADUG3.js";import{a as ft,b as Y}from"./chunk-NOIUI5SY.js";import{e as P}from"./chunk-XRRBRTKL.js";function b(t,e){this.position=t,P(this.position)||(this.position=new O),this.tangentPlane=e,P(this.tangentPlane)||(this.tangentPlane=b.NORTH_POLE_TANGENT_PLANE)}Object.defineProperties(b.prototype,{ellipsoid:{get:function(){return this.tangentPlane.ellipsoid}},x:{get:function(){return this.position.x}},y:{get:function(){return this.position.y}},conformalLatitude:{get:function(){let t=O.magnitude(this.position),e=2*this.ellipsoid.maximumRadius;return this.tangentPlane.plane.normal.z*(l.PI_OVER_TWO-2*Math.atan2(t,e))}},longitude:{get:function(){let t=l.PI_OVER_TWO+Math.atan2(this.y,this.x);return t>Math.PI&&(t-=l.TWO_PI),t}}});var nt=new et,Rt=new c;b.prototype.getLatitude=function(t){P(t)||(t=S.default),nt.latitude=this.conformalLatitude,nt.longitude=this.longitude,nt.height=0;let e=this.ellipsoid.cartographicToCartesian(nt,Rt);return t.cartesianToCartographic(e,nt),nt.latitude};var It=new wt,Lt=new c,Ft=new c;b.fromCartesian=function(t,e){Y.defined("cartesian",t);let o=l.signNotZero(t.z),i=b.NORTH_POLE_TANGENT_PLANE,n=b.SOUTH_POLE;o<0&&(i=b.SOUTH_POLE_TANGENT_PLANE,n=b.NORTH_POLE);let r=It;r.origin=i.ellipsoid.scaleToGeocentricSurface(t,r.origin),r.direction=c.subtract(r.origin,n,Lt),c.normalize(r.direction,r.direction);let a=yt.rayPlane(r,i.plane,Ft),s=c.subtract(a,n,a),u=c.dot(i.xAxis,s),h=o*c.dot(i.yAxis,s);return P(e)?(e.position=new O(u,h),e.tangentPlane=i,e):new b(new O(u,h),i)},b.fromCartesianArray=function(t,e){Y.defined("cartesians",t);let o=t.length;P(e)?e.length=o:e=new Array(o);for(let i=0;i<o;i++)e[i]=b.fromCartesian(t[i],e[i]);return e},b.clone=function(t,e){if(P(t))return P(e)?(e.position=t.position,e.tangentPlane=t.tangentPlane,e):new b(t.position,t.tangentPlane)},b.HALF_UNIT_SPHERE=Object.freeze(new S(.5,.5,.5)),b.NORTH_POLE=Object.freeze(new c(0,0,.5)),b.SOUTH_POLE=Object.freeze(new c(0,0,-.5)),b.NORTH_POLE_TANGENT_PLANE=Object.freeze(new Z(b.NORTH_POLE,b.HALF_UNIT_SPHERE)),b.SOUTH_POLE_TANGENT_PLANE=Object.freeze(new Z(b.SOUTH_POLE,b.HALF_UNIT_SPHERE));var z=b,vt=new et,Ot=new et;function St(t,e,o,i){let n=i.cartesianToCartographic(t,vt).height,r=i.cartesianToCartographic(e,Ot);r.height=n,i.cartographicToCartesian(r,e);let a=i.cartesianToCartographic(o,Ot);a.height=n-100,i.cartographicToCartesian(a,o)}var Et=new mt,Vt=new c,Bt=new c,Mt=new c,jt=new c,kt=new c,zt=new c,ht=new c,Q=new c,it=new c,Dt=new O,Ut=new O,Wt=new c,At=new at,Gt=new D,Yt=new D;function gt(t){let e=t.vertexFormat,o=t.geometry,i=t.shadowVolume,n=o.attributes.position.values,r=P(o.attributes.st)?o.attributes.st.values:void 0,a=n.length,s=t.wall,u=t.top||s,h=t.bottom||s;if(e.st||e.normal||e.tangent||e.bitangent||i){let p=t.boundingRectangle,g=t.rotationAxis,m=t.projectTo2d,d=t.ellipsoid,f=t.stRotation,y=t.perPositionHeight,_=Dt;_.x=p.x,_.y=p.y;let T,b=e.st?new Float32Array(a/3*2):void 0;e.normal&&(T=y&&u&&!s?o.attributes.normal.values:new Float32Array(a));let w=e.tangent?new Float32Array(a):void 0,I=e.bitangent?new Float32Array(a):void 0,A=i?new Float32Array(a):void 0,E=0,v=0,x=Bt,H=Mt,N=jt,L=!0,R=Gt,S=Yt;if(0!==f){let t=at.fromAxisAngle(g,f,At);R=D.fromQuaternion(t,R),t=at.fromAxisAngle(g,-f,At),S=D.fromQuaternion(t,S)}else R=D.clone(D.IDENTITY,R),S=D.clone(D.IDENTITY,S);let k=0,C=0;u&&h&&(k=a/2,C=a/3,a/=2);for(let o=0;o<a;o+=3){let g=c.fromArray(n,o,Wt);if(e.st&&!P(r)){let t=D.multiplyByVector(R,g,Vt);t=d.scaleToGeodeticSurface(t,t);let e=m([t],Ut)[0];O.subtract(e,_,e);let o=l.clamp(e.x/p.width,0,1),i=l.clamp(e.y/p.height,0,1);h&&(b[E+C]=o,b[E+1+C]=i),u&&(b[E]=o,b[E+1]=i),E+=2}if(e.normal||e.tangent||e.bitangent||i){let r=v+1,p=v+2;if(s){if(o+3<a){let t=c.fromArray(n,o+3,kt);if(L){let e=c.fromArray(n,o+a,zt);y&&St(g,t,e,d),c.subtract(t,g,t),c.subtract(e,g,e),x=c.normalize(c.cross(e,t,x),x),L=!1}c.equalsEpsilon(t,g,l.EPSILON10)&&(L=!0)}(e.tangent||e.bitangent)&&(N=d.geodeticSurfaceNormal(g,N),e.tangent&&(H=c.normalize(c.cross(N,x,H),H)))}else x=d.geodeticSurfaceNormal(g,x),(e.tangent||e.bitangent)&&(y&&(ht=c.fromArray(T,v,ht),Q=c.cross(c.UNIT_Z,ht,Q),Q=c.normalize(D.multiplyByVector(S,Q,Q),Q),e.bitangent&&(it=c.normalize(c.cross(ht,Q,it),it))),H=c.cross(c.UNIT_Z,x,H),H=c.normalize(D.multiplyByVector(S,H,H),H),e.bitangent&&(N=c.normalize(c.cross(x,H,N),N)));e.normal&&(t.wall?(T[v+k]=x.x,T[r+k]=x.y,T[p+k]=x.z):h&&(T[v+k]=-x.x,T[r+k]=-x.y,T[p+k]=-x.z),(u&&!y||s)&&(T[v]=x.x,T[r]=x.y,T[p]=x.z)),i&&(s&&(x=d.geodeticSurfaceNormal(g,x)),A[v+k]=-x.x,A[r+k]=-x.y,A[p+k]=-x.z),e.tangent&&(t.wall?(w[v+k]=H.x,w[r+k]=H.y,w[p+k]=H.z):h&&(w[v+k]=-H.x,w[r+k]=-H.y,w[p+k]=-H.z),u&&(y?(w[v]=Q.x,w[r]=Q.y,w[p]=Q.z):(w[v]=H.x,w[r]=H.y,w[p]=H.z))),e.bitangent&&(h&&(I[v+k]=N.x,I[r+k]=N.y,I[p+k]=N.z),u&&(y?(I[v]=it.x,I[r]=it.y,I[p]=it.z):(I[v]=N.x,I[r]=N.y,I[p]=N.z))),v+=3}}e.st&&!P(r)&&(o.attributes.st=new $({componentDatatype:X.FLOAT,componentsPerAttribute:2,values:b})),e.normal&&(o.attributes.normal=new $({componentDatatype:X.FLOAT,componentsPerAttribute:3,values:T})),e.tangent&&(o.attributes.tangent=new $({componentDatatype:X.FLOAT,componentsPerAttribute:3,values:w})),e.bitangent&&(o.attributes.bitangent=new $({componentDatatype:X.FLOAT,componentsPerAttribute:3,values:I})),i&&(o.attributes.extrudeDirection=new $({componentDatatype:X.FLOAT,componentsPerAttribute:3,values:A}))}if(t.extrude&&P(t.offsetAttribute)){let e=n.length/3,i=new Uint8Array(e);if(t.offsetAttribute===lt.TOP)u&&h||s?i=i.fill(1,0,e/2):u&&(i=i.fill(1));else{let e=t.offsetAttribute===lt.NONE?0:1;i=i.fill(e)}o.attributes.applyOffset=new $({componentDatatype:X.UNSIGNED_BYTE,componentsPerAttribute:1,values:i})}return o}var Ht=[];function qt(t,e,o,i,n,r,a,s,l,c){let u,h={walls:[]};if(a||s){let n,p,g=L.createGeometryFromPositions(t,e,o,i,r,l,c),m=g.attributes.position.values,d=g.indices;if(a&&s){let t=m.concat(m);n=t.length/3,p=ct.createTypedArray(n,2*d.length),p.set(d);let e=d.length,i=n/2;for(u=0;u<e;u+=3){let t=p[u]+i,o=p[u+1]+i,n=p[u+2]+i;p[u+e]=n,p[u+1+e]=o,p[u+2+e]=t}if(g.attributes.position.values=t,r&&l.normal){let e=g.attributes.normal.values;g.attributes.normal.values=new Float32Array(t.length),g.attributes.normal.values.set(e)}if(l.st&&P(o)){let t=g.attributes.st.values;g.attributes.st.values=new Float32Array(2*n),g.attributes.st.values=t.concat(t)}g.indices=p}else if(s){for(n=m.length/3,p=ct.createTypedArray(n,d.length),u=0;u<d.length;u+=3)p[u]=d[u+2],p[u+1]=d[u+1],p[u+2]=d[u];g.indices=p}h.topAndBottom=new rt({geometry:g})}let p=n.outerRing,g=Z.fromPoints(p,t),m=g.projectPointsOntoPlane(p,Ht),d=ot.computeWindingOrder2D(m);d===dt.CLOCKWISE&&(p=p.slice().reverse());let f=L.computeWallGeometry(p,o,t,i,r,c);h.walls.push(new rt({geometry:f}));let y=n.holes;for(u=0;u<y.length;u++){let e=y[u];m=g.projectPointsOntoPlane(e,Ht),d=ot.computeWindingOrder2D(m),d===dt.COUNTER_CLOCKWISE&&(e=e.slice().reverse()),f=L.computeWallGeometry(e,o,t,i,r,c),h.walls.push(new rt({geometry:f}))}return h}function W(t){if(Y.typeOf.object("options",t),Y.typeOf.object("options.polygonHierarchy",t.polygonHierarchy),P(t.perPositionHeight)&&t.perPositionHeight&&P(t.height))throw new ft("Cannot use both options.perPositionHeight and options.height");if(P(t.arcType)&&t.arcType!==st.GEODESIC&&t.arcType!==st.RHUMB)throw new ft("Invalid arcType. Valid options are ArcType.GEODESIC and ArcType.RHUMB.");let e=t.polygonHierarchy,o=t.vertexFormat??q.DEFAULT,i=t.ellipsoid??S.default,n=t.granularity??l.RADIANS_PER_DEGREE,r=t.stRotation??0,a=t.textureCoordinates,s=t.perPositionHeight??!1,u=s&&P(t.extrudedHeight),h=t.height??0,p=t.extrudedHeight??h;if(!u){let t=Math.max(h,p);p=Math.min(h,p),h=t}this._vertexFormat=q.clone(o),this._ellipsoid=S.clone(i),this._granularity=n,this._stRotation=r,this._height=h,this._extrudedHeight=p,this._closeTop=t.closeTop??!0,this._closeBottom=t.closeBottom??!0,this._polygonHierarchy=e,this._perPositionHeight=s,this._perPositionHeightExtrude=u,this._shadowVolume=t.shadowVolume??!1,this._workerName="createPolygonGeometry",this._offsetAttribute=t.offsetAttribute,this._arcType=t.arcType??st.GEODESIC,this._rectangle=void 0,this._textureCoordinateRotationPoints=void 0,this._textureCoordinates=a,this.packedLength=L.computeHierarchyPackedLength(e,c)+S.packedLength+q.packedLength+(a?L.computeHierarchyPackedLength(a,O):1)+12}W.fromPositions=function(t){return t=t??Pt.EMPTY_OBJECT,Y.defined("options.positions",t.positions),new W({polygonHierarchy:{positions:t.positions},height:t.height,extrudedHeight:t.extrudedHeight,vertexFormat:t.vertexFormat,stRotation:t.stRotation,ellipsoid:t.ellipsoid,granularity:t.granularity,perPositionHeight:t.perPositionHeight,closeTop:t.closeTop,closeBottom:t.closeBottom,offsetAttribute:t.offsetAttribute,arcType:t.arcType,textureCoordinates:t.textureCoordinates})},W.pack=function(t,e,o){return Y.typeOf.object("value",t),Y.defined("array",e),o=o??0,o=L.packPolygonHierarchy(t._polygonHierarchy,e,o,c),S.pack(t._ellipsoid,e,o),o+=S.packedLength,q.pack(t._vertexFormat,e,o),o+=q.packedLength,e[o++]=t._height,e[o++]=t._extrudedHeight,e[o++]=t._granularity,e[o++]=t._stRotation,e[o++]=t._perPositionHeightExtrude?1:0,e[o++]=t._perPositionHeight?1:0,e[o++]=t._closeTop?1:0,e[o++]=t._closeBottom?1:0,e[o++]=t._shadowVolume?1:0,e[o++]=t._offsetAttribute??-1,e[o++]=t._arcType,P(t._textureCoordinates)?o=L.packPolygonHierarchy(t._textureCoordinates,e,o,O):e[o++]=-1,e[o++]=t.packedLength,e};var Qt=S.clone(S.UNIT_SPHERE),Zt=new q,Kt={polygonHierarchy:{}};W.unpack=function(t,e,o){Y.defined("array",t),e=e??0;let i=L.unpackPolygonHierarchy(t,e,c);e=i.startingIndex,delete i.startingIndex;let n=S.unpack(t,e,Qt);e+=S.packedLength;let r=q.unpack(t,e,Zt);e+=q.packedLength;let a=t[e++],s=t[e++],l=t[e++],u=t[e++],h=1===t[e++],p=1===t[e++],g=1===t[e++],m=1===t[e++],d=1===t[e++],f=t[e++],y=t[e++],_=-1===t[e]?void 0:L.unpackPolygonHierarchy(t,e,O);P(_)?(e=_.startingIndex,delete _.startingIndex):e++;let T=t[e++];return P(o)||(o=new W(Kt)),o._polygonHierarchy=i,o._ellipsoid=S.clone(n,o._ellipsoid),o._vertexFormat=q.clone(r,o._vertexFormat),o._height=a,o._extrudedHeight=s,o._granularity=l,o._stRotation=u,o._perPositionHeightExtrude=h,o._perPositionHeight=p,o._closeTop=g,o._closeBottom=m,o._shadowVolume=d,o._offsetAttribute=-1===f?void 0:f,o._arcType=y,o._textureCoordinates=_,o.packedLength=T,o};var Jt=new O,Xt=new O,$t=new z;function xt(t,e,o,i,n,r){let a=t.longitude,s=a>=0?a:a+l.TWO_PI;n.westOverIdl=Math.min(n.westOverIdl,s),n.eastOverIdl=Math.max(n.eastOverIdl,s),r.west=Math.min(r.west,a),r.east=Math.max(r.east,a);let c=t.getLatitude(o),u=c;if(r.south=Math.min(r.south,c),r.north=Math.max(r.north,c),i!==st.RHUMB){let i=O.subtract(e.position,t.position,Jt),n=O.dot(e.position,i)/O.dot(i,i);if(n>0&&n<1){let t=O.add(e.position,O.multiplyByScalar(i,-n,i),Xt),a=z.clone(e,$t);a.position=t;let s=a.getLatitude(o);r.south=Math.min(r.south,s),r.north=Math.max(r.north,s),Math.abs(c)>Math.abs(s)&&(u=s)}}let h=e.x*t.y-t.x*e.y,p=Math.sign(h);0!==p&&(p*=O.angleBetween(e.position,t.position)),u>=0&&(n.northAngle+=p),u<=0&&(n.southAngle+=p)}var Ct=new z,te=new z,U={northAngle:0,southAngle:0,westOverIdl:0,eastOverIdl:0};W.computeRectangleFromPositions=function(t,e,o,i){if(Y.defined("positions",t),P(i)||(i=new _t),t.length<3)return i;i.west=Number.POSITIVE_INFINITY,i.east=Number.NEGATIVE_INFINITY,i.south=Number.POSITIVE_INFINITY,i.north=Number.NEGATIVE_INFINITY,U.northAngle=0,U.southAngle=0,U.westOverIdl=Number.POSITIVE_INFINITY,U.eastOverIdl=Number.NEGATIVE_INFINITY;let n=t.length,r=z.fromCartesian(t[0],te);for(let a=1;a<n;a++){let n=z.fromCartesian(t[a],Ct);xt(n,r,e,o,U,i),r=z.clone(n,r)}return xt(z.fromCartesian(t[0],Ct),r,e,o,U,i),i.east-i.west>U.eastOverIdl-U.westOverIdl&&(i.west=U.westOverIdl,i.east=U.eastOverIdl,i.east>l.PI&&(i.east=i.east-l.TWO_PI),i.west>l.PI&&(i.west=i.west-l.TWO_PI)),l.equalsEpsilon(Math.abs(U.northAngle),l.TWO_PI,l.EPSILON10)&&(i.north=l.PI_OVER_TWO,i.east=l.PI,i.west=-l.PI),l.equalsEpsilon(Math.abs(U.southAngle),l.TWO_PI,l.EPSILON10)&&(i.south=-l.PI_OVER_TWO,i.east=l.PI,i.west=-l.PI),i};var ee=new z;function oe(t,e,o){return t.height>=l.PI||t.width>=l.PI?z.fromCartesian(e[0],ee).tangentPlane:Z.fromPoints(e,o)}var Nt=new et;function ne(t,e,o){return(i,n)=>{if(t.height>=l.PI||t.width>=l.PI){if(t.south<0&&t.north>0){P(n)||(n=[]);for(let t=0;t<i.length;++t){let e=o.cartesianToCartographic(i[t],Nt);n[t]=new O(e.longitude/l.PI,e.latitude/l.PI_OVER_TWO)}return n.length=i.length,n}return z.fromCartesianArray(i,n)}return Z.fromPoints(e,o).projectPointsOntoPlane(i,n)}}function ie(t,e,o){if(t.height>=l.PI||t.width>=l.PI)return(e,i)=>{if(t.south<0&&t.north>0){let t=o.cartesianToCartographic(e,Nt);return P(i)||(i=new O),i.x=t.longitude/l.PI,i.y=t.latitude/l.PI_OVER_TWO,i}return z.fromCartesian(e,i)};let i=Z.fromPoints(e,o);return(t,e)=>i.projectPointsOntoPlane(t,e)}function re(t,e,o,i){return(n,r)=>!i&&(t.height>=l.PI_OVER_TWO||t.width>=2*l.PI_OVER_THREE)?L.splitPolygonsOnEquator(n,e,o,r):n}function se(t,e,o,i){if(e.height>=l.PI||e.width>=l.PI)return mt.fromRectangle(e,void 0,Et);let n=t,r=Z.fromPoints(n,o);return L.computeBoundingRectangle(r.plane.normal,r.projectPointOntoPlane.bind(r),n,i,Et)}function ae(t){let e=-t._stRotation;if(0===e)return[0,0,0,1,1,0];let o=t._ellipsoid,i=t._polygonHierarchy.positions,n=t.rectangle;return ut._textureCoordinateRotationPoints(i,e,o,n)}W.createGeometry=function(t){let e=t._vertexFormat,o=t._ellipsoid,i=t._granularity,n=t._stRotation,r=t._polygonHierarchy,a=t._perPositionHeight,s=t._closeTop,c=t._closeBottom,u=t._arcType,h=t._textureCoordinates,p=P(h),g=r.positions;if(g.length<3)return;let m=t.rectangle,d=L.polygonsFromHierarchy(r,p,ne(m,g,o),!a,o,re(m,o,u,a)),f=d.hierarchy,y=d.polygons,_=p?L.polygonsFromHierarchy(h,!0,(function(t){return t}),!1,o).polygons:void 0;if(0===f.length)return;let O,T=f[0].outerRing,b=se(T,m,o,n),w=[],I=t._height,A=t._extrudedHeight,E=t._perPositionHeightExtrude||!l.equalsEpsilon(I,A,0,l.EPSILON2),v={perPositionHeight:a,vertexFormat:e,geometry:void 0,rotationAxis:oe(m,T,o).plane.normal,projectTo2d:ie(m,T,o),boundingRectangle:b,ellipsoid:o,stRotation:n,textureCoordinates:void 0,bottom:!1,top:!0,wall:!1,extrude:!1,arcType:u};if(E)for(v.extrude=!0,v.top=s,v.bottom=c,v.shadowVolume=t._shadowVolume,v.offsetAttribute=t._offsetAttribute,O=0;O<y.length;O++){let t,n=qt(o,y[O],p?_[O]:void 0,i,f[O],a,s,c,e,u);s&&c?(t=n.topAndBottom,v.geometry=L.scaleToGeodeticHeightExtruded(t.geometry,I,A,o,a)):s?(t=n.topAndBottom,t.geometry.attributes.position.values=ot.scaleToGeodeticHeight(t.geometry.attributes.position.values,I,o,!a),v.geometry=t.geometry):c&&(t=n.topAndBottom,t.geometry.attributes.position.values=ot.scaleToGeodeticHeight(t.geometry.attributes.position.values,A,o,!0),v.geometry=t.geometry),(s||c)&&(v.wall=!1,t.geometry=gt(v),w.push(t));let r=n.walls;v.wall=!0;for(let t=0;t<r.length;t++){let e=r[t];v.geometry=L.scaleToGeodeticHeightExtruded(e.geometry,I,A,o,a),e.geometry=gt(v),w.push(e)}}else for(O=0;O<y.length;O++){let n=new rt({geometry:L.createGeometryFromPositions(o,y[O],p?_[O]:void 0,i,a,e,u)});if(n.geometry.attributes.position.values=ot.scaleToGeodeticHeight(n.geometry.attributes.position.values,I,o,!a),v.geometry=n.geometry,n.geometry=gt(v),P(t._offsetAttribute)){let e=n.geometry.attributes.position.values.length,o=t._offsetAttribute===lt.NONE?0:1,i=new Uint8Array(e/3).fill(o);n.geometry.attributes.applyOffset=new $({componentDatatype:X.UNSIGNED_BYTE,componentsPerAttribute:1,values:i})}w.push(n)}let x=bt.combineInstances(w)[0];x.attributes.position.values=new Float64Array(x.attributes.position.values),x.indices=ct.createTypedArray(x.attributes.position.values.length/3,x.indices);let H=x.attributes,N=Tt.fromVertices(H.position.values);return e.position||delete H.position,new ut({attributes:H,indices:x.indices,primitiveType:x.primitiveType,boundingSphere:N,offsetAttribute:t._offsetAttribute})},W.createShadowVolume=function(t,e,o){let i=t._granularity,n=t._ellipsoid,r=e(i,n),a=o(i,n);return new W({polygonHierarchy:t._polygonHierarchy,ellipsoid:n,stRotation:t._stRotation,granularity:i,perPositionHeight:!1,extrudedHeight:r,height:a,vertexFormat:q.POSITION_ONLY,shadowVolume:!0,arcType:t._arcType})},Object.defineProperties(W.prototype,{rectangle:{get:function(){if(!P(this._rectangle)){let t=this._polygonHierarchy.positions;this._rectangle=W.computeRectangleFromPositions(t,this._ellipsoid,this._arcType)}return this._rectangle}},textureCoordinateRotationPoints:{get:function(){return P(this._textureCoordinateRotationPoints)||(this._textureCoordinateRotationPoints=ae(this)),this._textureCoordinateRotationPoints}}});var pt=W;function ce(t,e){return P(e)&&(t=pt.unpack(t,e)),t._ellipsoid=S.clone(t._ellipsoid),pt.createGeometry(t)}var Xe=ce;export{Xe as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPolygonOutlineGeometry.js.LICENSE.txt */
2
+ import{a}from"./chunk-3WSHJXU2.js";import{a as P}from"./chunk-OXJ2LJUE.js";import{a as F}from"./chunk-2ZPEMRCT.js";import{a as V}from"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import{a as C}from"./chunk-T77EB7BE.js";import{a as M}from"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{a as W,b as D}from"./chunk-IYO6TYGP.js";import"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as G}from"./chunk-T6Q6HX5J.js";import{a as B}from"./chunk-4MJDNHOT.js";import{b as U,c as S,d as w}from"./chunk-EDF5FKWJ.js";import{d as x}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as T}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as v,d as y,f as j}from"./chunk-KWAHJ72S.js";import{a as L}from"./chunk-MKDADUG3.js";import{a as N,b as O}from"./chunk-NOIUI5SY.js";import{e as E}from"./chunk-XRRBRTKL.js";var Y=[],k=[];function K(e,t,i,r,o){let n=M.fromPoints(t,e).projectPointsOntoPlane(t,Y);D.computeWindingOrder2D(n)===W.CLOCKWISE&&(n.reverse(),t=t.slice().reverse());let s,p,u=t.length,l=0;if(r)for(s=new Float64Array(2*u*3),p=0;p<u;p++){let e=t[p],i=t[(p+1)%u];s[l++]=e.x,s[l++]=e.y,s[l++]=e.z,s[l++]=i.x,s[l++]=i.y,s[l++]=i.z}else{let r=0;if(o===P.GEODESIC)for(p=0;p<u;p++)r+=a.subdivideLineCount(t[p],t[(p+1)%u],i);else if(o===P.RHUMB)for(p=0;p<u;p++)r+=a.subdivideRhumbLineCount(e,t[p],t[(p+1)%u],i);for(s=new Float64Array(3*r),p=0;p<u;p++){let r;o===P.GEODESIC?r=a.subdivideLine(t[p],t[(p+1)%u],i,k):o===P.RHUMB&&(r=a.subdivideRhumbLine(e,t[p],t[(p+1)%u],i,k));let n=r.length;for(let e=0;e<n;++e)s[l++]=r[e]}}u=s.length/3;let h=2*u,c=G.createTypedArray(u,h);for(l=0,p=0;p<u-1;p++)c[l++]=p,c[l++]=p+1;return c[l++]=u-1,c[l++]=0,new F({geometry:new S({attributes:new B({position:new w({componentDatatype:T.DOUBLE,componentsPerAttribute:3,values:s})}),indices:c,primitiveType:U.LINES})})}function q(e,t,i,r,o){let n=M.fromPoints(t,e).projectPointsOntoPlane(t,Y);D.computeWindingOrder2D(n)===W.CLOCKWISE&&(n.reverse(),t=t.slice().reverse());let s,p,u=t.length,l=new Array(u),h=0;if(r)for(s=new Float64Array(2*u*3*2),p=0;p<u;++p){l[p]=h/3;let e=t[p],i=t[(p+1)%u];s[h++]=e.x,s[h++]=e.y,s[h++]=e.z,s[h++]=i.x,s[h++]=i.y,s[h++]=i.z}else{let r=0;if(o===P.GEODESIC)for(p=0;p<u;p++)r+=a.subdivideLineCount(t[p],t[(p+1)%u],i);else if(o===P.RHUMB)for(p=0;p<u;p++)r+=a.subdivideRhumbLineCount(e,t[p],t[(p+1)%u],i);for(s=new Float64Array(3*r*2),p=0;p<u;++p){let r;l[p]=h/3,o===P.GEODESIC?r=a.subdivideLine(t[p],t[(p+1)%u],i,k):o===P.RHUMB&&(r=a.subdivideRhumbLine(e,t[p],t[(p+1)%u],i,k));let n=r.length;for(let e=0;e<n;++e)s[h++]=r[e]}}u=s.length/6;let c=l.length,y=2*(2*u+c),f=G.createTypedArray(u+c,y);for(h=0,p=0;p<u;++p)f[h++]=p,f[h++]=(p+1)%u,f[h++]=p+u,f[h++]=(p+1)%u+u;for(p=0;p<c;p++){let e=l[p];f[h++]=e,f[h++]=e+u}return new F({geometry:new S({attributes:new B({position:new w({componentDatatype:T.DOUBLE,componentsPerAttribute:3,values:s})}),indices:f,primitiveType:U.LINES})})}function A(e){if(O.typeOf.object("options",e),O.typeOf.object("options.polygonHierarchy",e.polygonHierarchy),e.perPositionHeight&&E(e.height))throw new N("Cannot use both options.perPositionHeight and options.height");if(E(e.arcType)&&e.arcType!==P.GEODESIC&&e.arcType!==P.RHUMB)throw new N("Invalid arcType. Valid options are ArcType.GEODESIC and ArcType.RHUMB.");let t=e.polygonHierarchy,i=e.ellipsoid??y.default,r=e.granularity??L.RADIANS_PER_DEGREE,o=e.perPositionHeight??!1,n=o&&E(e.extrudedHeight),s=e.arcType??P.GEODESIC,p=e.height??0,u=e.extrudedHeight??p;if(!n){let e=Math.max(p,u);u=Math.min(p,u),p=e}this._ellipsoid=y.clone(i),this._granularity=r,this._height=p,this._extrudedHeight=u,this._arcType=s,this._polygonHierarchy=t,this._perPositionHeight=o,this._perPositionHeightExtrude=n,this._offsetAttribute=e.offsetAttribute,this._workerName="createPolygonOutlineGeometry",this.packedLength=a.computeHierarchyPackedLength(t,v)+y.packedLength+8}A.pack=function(e,t,i){return O.typeOf.object("value",e),O.defined("array",t),i=i??0,i=a.packPolygonHierarchy(e._polygonHierarchy,t,i,v),y.pack(e._ellipsoid,t,i),i+=y.packedLength,t[i++]=e._height,t[i++]=e._extrudedHeight,t[i++]=e._granularity,t[i++]=e._perPositionHeightExtrude?1:0,t[i++]=e._perPositionHeight?1:0,t[i++]=e._arcType,t[i++]=e._offsetAttribute??-1,t[i]=e.packedLength,t};var J=y.clone(y.UNIT_SPHERE),Q={polygonHierarchy:{}};A.unpack=function(e,t,i){O.defined("array",e),t=t??0;let r=a.unpackPolygonHierarchy(e,t,v);t=r.startingIndex,delete r.startingIndex;let o=y.unpack(e,t,J);t+=y.packedLength;let n=e[t++],s=e[t++],p=e[t++],u=1===e[t++],l=1===e[t++],h=e[t++],c=e[t++],f=e[t];return E(i)||(i=new A(Q)),i._polygonHierarchy=r,i._ellipsoid=y.clone(o,i._ellipsoid),i._height=n,i._extrudedHeight=s,i._granularity=p,i._perPositionHeight=l,i._perPositionHeightExtrude=u,i._arcType=h,i._offsetAttribute=-1===c?void 0:c,i.packedLength=f,i},A.fromPositions=function(e){return e=e??j.EMPTY_OBJECT,O.defined("options.positions",e.positions),new A({polygonHierarchy:{positions:e.positions},height:e.height,extrudedHeight:e.extrudedHeight,ellipsoid:e.ellipsoid,granularity:e.granularity,perPositionHeight:e.perPositionHeight,arcType:e.arcType,offsetAttribute:e.offsetAttribute})},A.createGeometry=function(e){let t=e._ellipsoid,i=e._granularity,r=e._polygonHierarchy,o=e._perPositionHeight,n=e._arcType,s=a.polygonOutlinesFromHierarchy(r,!o,t);if(0===s.length)return;let p,u,l,h=[],c=L.chordLength(i,t.maximumRadius),y=e._height,f=e._extrudedHeight;if(e._perPositionHeightExtrude||!L.equalsEpsilon(y,f,0,L.EPSILON2))for(l=0;l<s.length;l++){if(p=q(t,s[l],c,o,n),p.geometry=a.scaleToGeodeticHeightExtruded(p.geometry,y,f,t,o),E(e._offsetAttribute)){let t=p.geometry.attributes.position.values.length/3,i=new Uint8Array(t);e._offsetAttribute===C.TOP?i=i.fill(1,0,t/2):(u=e._offsetAttribute===C.NONE?0:1,i=i.fill(u)),p.geometry.attributes.applyOffset=new w({componentDatatype:T.UNSIGNED_BYTE,componentsPerAttribute:1,values:i})}h.push(p)}else for(l=0;l<s.length;l++){if(p=K(t,s[l],c,o,n),p.geometry.attributes.position.values=D.scaleToGeodeticHeight(p.geometry.attributes.position.values,y,t,!o),E(e._offsetAttribute)){let t=p.geometry.attributes.position.values.length;u=e._offsetAttribute===C.NONE?0:1;let i=new Uint8Array(t/3).fill(u);p.geometry.attributes.applyOffset=new w({componentDatatype:T.UNSIGNED_BYTE,componentsPerAttribute:1,values:i})}h.push(p)}let d=V.combineInstances(h)[0],g=x.fromVertices(d.attributes.position.values);return new S({attributes:d.attributes,indices:d.indices,primitiveType:d.primitiveType,boundingSphere:g,offsetAttribute:e._offsetAttribute})};var z=A;function X(e,t){return E(t)&&(e=z.unpack(e,t)),e._ellipsoid=y.clone(e._ellipsoid),z.createGeometry(e)}var Oe=X;export{Oe as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPolylineGeometry.js.LICENSE.txt */
2
+ import{a as m}from"./chunk-GTQ3WXPT.js";import{a as R}from"./chunk-OXJ2LJUE.js";import{a as N}from"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import{a as g}from"./chunk-APG2S62J.js";import{a as le}from"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as se}from"./chunk-T6Q6HX5J.js";import{a as ce}from"./chunk-4MJDNHOT.js";import{a as ne,b as re,c as ie,d as x}from"./chunk-EDF5FKWJ.js";import{d as oe}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as V}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as p,d as u,f as te}from"./chunk-KWAHJ72S.js";import{a as j}from"./chunk-MKDADUG3.js";import{a as F}from"./chunk-NOIUI5SY.js";import{e as h}from"./chunk-XRRBRTKL.js";var me=[];function Ae(e,t,r,o,n){let a=me;a.length=n;let i,l=r.red,s=r.green,p=r.blue,c=r.alpha,h=o.red,u=o.green,d=o.blue,f=o.alpha;if(m.equals(r,o)){for(i=0;i<n;i++)a[i]=m.clone(r);return a}let g=(h-l)/n,k=(u-s)/n,w=(d-p)/n,y=(f-c)/n;for(i=0;i<n;i++)a[i]=new m(l+i*g,s+i*k,p+i*w,c+i*y);return a}function q(e){let t=(e=e??te.EMPTY_OBJECT).positions,r=e.colors,o=e.width??1,n=e.colorsPerVertex??!1;if(!h(t)||t.length<2)throw new F("At least two positions are required.");if("number"!=typeof o)throw new F("width must be a number");if(h(r)&&(n&&r.length<t.length||!n&&r.length<t.length-1))throw new F("colors has an invalid length.");this._positions=t,this._colors=r,this._width=o,this._colorsPerVertex=n,this._vertexFormat=g.clone(e.vertexFormat??g.DEFAULT),this._arcType=e.arcType??R.GEODESIC,this._granularity=e.granularity??j.RADIANS_PER_DEGREE,this._ellipsoid=u.clone(e.ellipsoid??u.default),this._workerName="createPolylineGeometry";let a=1+t.length*p.packedLength;a+=h(r)?1+r.length*m.packedLength:1,this.packedLength=a+u.packedLength+g.packedLength+4}q.pack=function(e,t,r){if(!h(e))throw new F("value is required");if(!h(t))throw new F("array is required");r=r??0;let o,n=e._positions,a=n.length;for(t[r++]=a,o=0;o<a;++o,r+=p.packedLength)p.pack(n[o],t,r);let i=e._colors;for(a=h(i)?i.length:0,t[r++]=a,o=0;o<a;++o,r+=m.packedLength)m.pack(i[o],t,r);return u.pack(e._ellipsoid,t,r),r+=u.packedLength,g.pack(e._vertexFormat,t,r),r+=g.packedLength,t[r++]=e._width,t[r++]=e._colorsPerVertex?1:0,t[r++]=e._arcType,t[r]=e._granularity,t};var de=u.clone(u.UNIT_SPHERE),ue=new g,O={positions:void 0,colors:void 0,ellipsoid:de,vertexFormat:ue,width:void 0,colorsPerVertex:void 0,arcType:void 0,granularity:void 0};q.unpack=function(e,t,r){if(!h(e))throw new F("array is required");t=t??0;let o,n=e[t++],a=new Array(n);for(o=0;o<n;++o,t+=p.packedLength)a[o]=p.unpack(e,t);n=e[t++];let i=n>0?new Array(n):void 0;for(o=0;o<n;++o,t+=m.packedLength)i[o]=m.unpack(e,t);let l=u.unpack(e,t,de);t+=u.packedLength;let s=g.unpack(e,t,ue);t+=g.packedLength;let c=e[t++],d=1===e[t++],f=e[t++],k=e[t];return h(r)?(r._positions=a,r._colors=i,r._ellipsoid=u.clone(l,r._ellipsoid),r._vertexFormat=g.clone(s,r._vertexFormat),r._width=c,r._colorsPerVertex=d,r._arcType=f,r._granularity=k,r):(O.positions=a,O.colors=i,O.width=c,O.colorsPerVertex=d,O.arcType=f,O.granularity=k,new q(O))};var pe=new p,ae=new p,fe=new p,he=new p;q.createGeometry=function(e){let t,r,o,n=e._width,a=e._vertexFormat,i=e._colors,l=e._colorsPerVertex,s=e._arcType,c=e._granularity,u=e._ellipsoid,d=[],f=le(e._positions,p.equalsEpsilon,!1,d);if(h(i)&&d.length>0){let e=0,t=d[0];i=i.filter((function(r,o){let n=!1;return n=l?o===t||0===o&&1===t:o+1===t,!n||(e++,t=d[e],!1)}))}let g=f.length;if(g<2||n<=0)return;if(s===R.GEODESIC||s===R.RHUMB){let e,o;s===R.GEODESIC?(e=j.chordLength(c,u.maximumRadius),o=N.numberOfPoints):(e=c,o=N.numberOfPointsRhumbLine);let n=N.extractHeights(f,u);if(h(i)){let n=1;for(t=0;t<g-1;++t)n+=o(f[t],f[t+1],e);let a=new Array(n),s=0;for(t=0;t<g-1;++t){let p=f[t],c=f[t+1],h=i[t],u=o(p,c,e);if(l&&t<n){let e=Ae(p,c,h,i[t+1],u),o=e.length;for(r=0;r<o;++r)a[s++]=e[r]}else for(r=0;r<u;++r)a[s++]=m.clone(h)}a[s]=m.clone(i[i.length-1]),i=a,me.length=0}f=s===R.GEODESIC?N.generateCartesianArc({positions:f,minDistance:e,ellipsoid:u,height:n}):N.generateCartesianRhumbArc({positions:f,granularity:e,ellipsoid:u,height:n})}g=f.length;let k,w=4*g-4,y=new Float64Array(3*w),_=new Float64Array(3*w),A=new Float64Array(3*w),v=new Float32Array(2*w),L=a.st?new Float32Array(2*w):void 0,T=h(i)?new Uint8Array(4*w):void 0,E=0,P=0,F=0,D=0;for(r=0;r<g;++r){let e,t;0===r?(k=pe,p.subtract(f[0],f[1],k),p.add(f[0],k,k)):k=f[r-1],p.clone(k,fe),p.clone(f[r],ae),r===g-1?(k=pe,p.subtract(f[g-1],f[g-2],k),p.add(f[g-1],k,k)):k=f[r+1],p.clone(k,he),h(T)&&(e=0===r||l?i[r]:i[r-1],r!==g-1&&(t=i[r]));let s=r===g-1?2:4;for(o=0===r?2:0;o<s;++o){p.pack(ae,y,E),p.pack(fe,_,E),p.pack(he,A,E),E+=3;let i=o-2<0?-1:1;if(v[P++]=o%2*2-1,v[P++]=i*n,a.st&&(L[F++]=r/(g-1),L[F++]=Math.max(v[P-2],0)),h(T)){let r=o<2?e:t;T[D++]=m.floatToByte(r.red),T[D++]=m.floatToByte(r.green),T[D++]=m.floatToByte(r.blue),T[D++]=m.floatToByte(r.alpha)}}}let O=new ce;O.position=new x({componentDatatype:V.DOUBLE,componentsPerAttribute:3,values:y}),O.prevPosition=new x({componentDatatype:V.DOUBLE,componentsPerAttribute:3,values:_}),O.nextPosition=new x({componentDatatype:V.DOUBLE,componentsPerAttribute:3,values:A}),O.expandAndWidth=new x({componentDatatype:V.FLOAT,componentsPerAttribute:2,values:v}),a.st&&(O.st=new x({componentDatatype:V.FLOAT,componentsPerAttribute:2,values:L})),h(T)&&(O.color=new x({componentDatatype:V.UNSIGNED_BYTE,componentsPerAttribute:4,values:T,normalize:!0}));let b=se.createTypedArray(w,6*g-6),S=0,G=0,J=g-1;for(r=0;r<J;++r)b[G++]=S,b[G++]=S+2,b[G++]=S+1,b[G++]=S+1,b[G++]=S+2,b[G++]=S+3,S+=4;return new ie({attributes:O,indices:b,primitiveType:re.TRIANGLES,boundingSphere:oe.fromPoints(f),geometryType:ne.POLYLINES})};var J=q;function ge(e,t){return h(t)&&(e=J.unpack(e,t)),e._ellipsoid=u.clone(e._ellipsoid),J.createGeometry(e)}var We=ge;export{We as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPolylineVolumeGeometry.js.LICENSE.txt */
2
+ import{a as W}from"./chunk-U6GWZBRL.js";import{a as U}from"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import{a as x,b as I,c as j}from"./chunk-Q4W25C4L.js";import"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import{a as g}from"./chunk-APG2S62J.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{a as $,b as M}from"./chunk-IYO6TYGP.js";import{a as Z}from"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as X}from"./chunk-T6Q6HX5J.js";import{a as Q}from"./chunk-4MJDNHOT.js";import{b as V,c as Y,d as B}from"./chunk-EDF5FKWJ.js";import{d as K}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as N}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as E,c as D,d as f,f as J}from"./chunk-KWAHJ72S.js";import{a as H}from"./chunk-MKDADUG3.js";import{a as A}from"./chunk-NOIUI5SY.js";import{e as _}from"./chunk-XRRBRTKL.js";function oe(e,t,n,o){let r=new Q;o.position&&(r.position=new B({componentDatatype:N.DOUBLE,componentsPerAttribute:3,values:e}));let i,a,s,p,c,l,u=t.length,h=e.length/3,m=(h-2*u)/(2*u),g=M.triangulate(t),f=(m-1)*u*6+2*g.length,k=X.createTypedArray(h,f),d=2*u,y=0;for(i=0;i<m-1;i++){for(a=0;a<u-1;a++)s=2*a+i*u*2,l=s+d,p=s+1,c=p+d,k[y++]=p,k[y++]=s,k[y++]=c,k[y++]=c,k[y++]=s,k[y++]=l;s=2*u-2+i*u*2,p=s+1,c=p+d,l=s+d,k[y++]=p,k[y++]=s,k[y++]=c,k[y++]=c,k[y++]=s,k[y++]=l}if(o.st||o.tangent||o.bitangent){let e,o,s=new Float32Array(2*h),p=1/(m-1),c=1/n.height,l=n.height/2,g=0;for(i=0;i<m;i++){for(e=i*p,o=c*(t[0].y+l),s[g++]=e,s[g++]=o,a=1;a<u;a++)o=c*(t[a].y+l),s[g++]=e,s[g++]=o,s[g++]=e,s[g++]=o;o=c*(t[0].y+l),s[g++]=e,s[g++]=o}for(a=0;a<u;a++)e=0,o=c*(t[a].y+l),s[g++]=e,s[g++]=o;for(a=0;a<u;a++)e=(m-1)*p,o=c*(t[a].y+l),s[g++]=e,s[g++]=o;r.st=new B({componentDatatype:N.FLOAT,componentsPerAttribute:2,values:new Float32Array(s)})}let _=h-2*u;for(i=0;i<g.length;i+=3){let e=g[i]+_,t=g[i+1]+_,n=g[i+2]+_;k[y++]=e,k[y++]=t,k[y++]=n,k[y++]=n+u,k[y++]=t+u,k[y++]=e+u}let v=new Y({attributes:r,indices:k,boundingSphere:K.fromVertices(e),primitiveType:V.TRIANGLES});if(o.normal&&(v=U.computeNormal(v)),o.tangent||o.bitangent){try{v=U.computeTangentAndBitangent(v)}catch{I("polyline-volume-tangent-bitangent","Unable to compute tangents and bitangents for polyline volume geometry")}o.tangent||(v.attributes.tangent=void 0),o.bitangent||(v.attributes.bitangent=void 0),o.st||(v.attributes.st=void 0)}return v}function v(e){let t=(e=e??J.EMPTY_OBJECT).polylinePositions,n=e.shapePositions;if(!_(t))throw new A("options.polylinePositions is required.");if(!_(n))throw new A("options.shapePositions is required.");this._positions=t,this._shape=n,this._ellipsoid=f.clone(e.ellipsoid??f.default),this._cornerType=e.cornerType??x.ROUNDED,this._vertexFormat=g.clone(e.vertexFormat??g.DEFAULT),this._granularity=e.granularity??H.RADIANS_PER_DEGREE,this._workerName="createPolylineVolumeGeometry";let o=1+t.length*E.packedLength;o+=1+n.length*D.packedLength,this.packedLength=o+f.packedLength+g.packedLength+2}v.pack=function(e,t,n){if(!_(e))throw new A("value is required");if(!_(t))throw new A("array is required");n=n??0;let o,r=e._positions,i=r.length;for(t[n++]=i,o=0;o<i;++o,n+=E.packedLength)E.pack(r[o],t,n);let a=e._shape;for(i=a.length,t[n++]=i,o=0;o<i;++o,n+=D.packedLength)D.pack(a[o],t,n);return f.pack(e._ellipsoid,t,n),n+=f.packedLength,g.pack(e._vertexFormat,t,n),n+=g.packedLength,t[n++]=e._cornerType,t[n]=e._granularity,t};var ee=f.clone(f.UNIT_SPHERE),te=new g,S={polylinePositions:void 0,shapePositions:void 0,ellipsoid:ee,vertexFormat:te,cornerType:void 0,granularity:void 0};v.unpack=function(e,t,n){if(!_(e))throw new A("array is required");t=t??0;let o,r=e[t++],i=new Array(r);for(o=0;o<r;++o,t+=E.packedLength)i[o]=E.unpack(e,t);r=e[t++];let a=new Array(r);for(o=0;o<r;++o,t+=D.packedLength)a[o]=D.unpack(e,t);let s=f.unpack(e,t,ee);t+=f.packedLength;let p=g.unpack(e,t,te);t+=g.packedLength;let c=e[t++],l=e[t];return _(n)?(n._positions=i,n._shape=a,n._ellipsoid=f.clone(s,n._ellipsoid),n._vertexFormat=g.clone(p,n._vertexFormat),n._cornerType=c,n._granularity=l,n):(S.polylinePositions=i,S.shapePositions=a,S.cornerType=c,S.granularity=l,new v(S))};var ne=new W;v.createGeometry=function(e){let t=e._positions,n=Z(t,E.equalsEpsilon),o=e._shape;if(o=j.removeDuplicatesFromShape(o),n.length<2||o.length<3)return;M.computeWindingOrder2D(o)===$.CLOCKWISE&&o.reverse();let r=W.fromPoints(o,ne);return oe(j.computePositions(n,o,r,e,!0),o,r,e._vertexFormat)};var z=v;function ie(e,t){return _(t)&&(e=z.unpack(e,t)),e._ellipsoid=f.clone(e._ellipsoid),z.createGeometry(e)}var Re=ie;export{Re as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPolylineVolumeOutlineGeometry.js.LICENSE.txt */
2
+ import{a as k}from"./chunk-U6GWZBRL.js";import{a as N,c as w}from"./chunk-Q4W25C4L.js";import"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{a as v,b as G}from"./chunk-IYO6TYGP.js";import{a as q}from"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as g}from"./chunk-T6Q6HX5J.js";import{a as O}from"./chunk-4MJDNHOT.js";import{b as A,c as R,d as S}from"./chunk-EDF5FKWJ.js";import{d as C}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as b}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as d,c as y,d as s,f as D}from"./chunk-KWAHJ72S.js";import{a as T}from"./chunk-MKDADUG3.js";import{a}from"./chunk-NOIUI5SY.js";import{e as u}from"./chunk-XRRBRTKL.js";function W(e,o){let r=new O;r.position=new S({componentDatatype:b.DOUBLE,componentsPerAttribute:3,values:e});let i,t,n=o.length,s=r.position.values.length/3,a=e.length/3/n,p=g.createTypedArray(s,2*n*(a+1)),c=0;i=0;let u=i*n;for(t=0;t<n-1;t++)p[c++]=t+u,p[c++]=t+u+1;for(p[c++]=n-1+u,p[c++]=u,i=a-1,u=i*n,t=0;t<n-1;t++)p[c++]=t+u,p[c++]=t+u+1;for(p[c++]=n-1+u,p[c++]=u,i=0;i<a-1;i++){let e=n*i,o=e+n;for(t=0;t<n;t++)p[c++]=t+e,p[c++]=t+o}return new R({attributes:r,indices:g.createTypedArray(s,p),boundingSphere:C.fromVertices(e),primitiveType:A.LINES})}function P(e){let o=(e=e??D.EMPTY_OBJECT).polylinePositions,r=e.shapePositions;if(!u(o))throw new a("options.polylinePositions is required.");if(!u(r))throw new a("options.shapePositions is required.");this._positions=o,this._shape=r,this._ellipsoid=s.clone(e.ellipsoid??s.default),this._cornerType=e.cornerType??N.ROUNDED,this._granularity=e.granularity??T.RADIANS_PER_DEGREE,this._workerName="createPolylineVolumeOutlineGeometry";let i=1+o.length*d.packedLength;i+=1+r.length*y.packedLength,this.packedLength=i+s.packedLength+2}P.pack=function(e,o,r){if(!u(e))throw new a("value is required");if(!u(o))throw new a("array is required");r=r??0;let i,t=e._positions,n=t.length;for(o[r++]=n,i=0;i<n;++i,r+=d.packedLength)d.pack(t[i],o,r);let p=e._shape;for(n=p.length,o[r++]=n,i=0;i<n;++i,r+=y.packedLength)y.pack(p[i],o,r);return s.pack(e._ellipsoid,o,r),r+=s.packedLength,o[r++]=e._cornerType,o[r]=e._granularity,o};var B=s.clone(s.UNIT_SPHERE),_={polylinePositions:void 0,shapePositions:void 0,ellipsoid:B,height:void 0,cornerType:void 0,granularity:void 0};P.unpack=function(e,o,r){if(!u(e))throw new a("array is required");o=o??0;let i,t=e[o++],n=new Array(t);for(i=0;i<t;++i,o+=d.packedLength)n[i]=d.unpack(e,o);t=e[o++];let p=new Array(t);for(i=0;i<t;++i,o+=y.packedLength)p[i]=y.unpack(e,o);let c=s.unpack(e,o,B);o+=s.packedLength;let l=e[o++],h=e[o];return u(r)?(r._positions=n,r._shape=p,r._ellipsoid=s.clone(c,r._ellipsoid),r._cornerType=l,r._granularity=h,r):(_.polylinePositions=n,_.shapePositions=p,_.cornerType=l,_.granularity=h,new P(_))};var F=new k;P.createGeometry=function(e){let o=e._positions,r=q(o,d.equalsEpsilon),i=e._shape;if(i=w.removeDuplicatesFromShape(i),r.length<2||i.length<3)return;G.computeWindingOrder2D(i)===v.CLOCKWISE&&i.reverse();let t=k.fromPoints(i,F);return W(w.computePositions(r,i,t,e,!1),i)};var E=P;function M(e,o){return u(o)&&(e=E.unpack(e,o)),e._ellipsoid=s.clone(e._ellipsoid),E.createGeometry(e)}var he=M;export{he as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createRectangleGeometry.js.LICENSE.txt */
2
+ import{a as W}from"./chunk-RYOF6QSA.js";import{a as Nt}from"./chunk-2ZPEMRCT.js";import{a as zt}from"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import{a as ft}from"./chunk-T77EB7BE.js";import{a as q}from"./chunk-APG2S62J.js";import{b as yt}from"./chunk-IYO6TYGP.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as At}from"./chunk-T6Q6HX5J.js";import{a as Vt}from"./chunk-4MJDNHOT.js";import{b as Mt,c as Pt,d as Y}from"./chunk-EDF5FKWJ.js";import{d as at}from"./chunk-XQIJGAVD.js";import{g as Lt,i as E,j as bt}from"./chunk-UTYWXSQT.js";import{a as U}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as w,b as mt,c as $,d as D,e as lt,f as St}from"./chunk-KWAHJ72S.js";import{a as I}from"./chunk-MKDADUG3.js";import{a as Et,b as ct}from"./chunk-NOIUI5SY.js";import{e as K}from"./chunk-XRRBRTKL.js";var Tt=new w,Bt=new w,Ut=new w,Yt=new w,qt=new E,Zt=new $,Kt=new at,$t=new at;function Xt(t,e){let n=new Pt({attributes:new Vt,primitiveType:Mt.TRIANGLES});return n.attributes.position=new Y({componentDatatype:U.DOUBLE,componentsPerAttribute:3,values:e.positions}),t.normal&&(n.attributes.normal=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:e.normals})),t.tangent&&(n.attributes.tangent=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:e.tangents})),t.bitangent&&(n.attributes.bitangent=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:e.bitangents})),n}function Gt(t,e,n,o){let a=t.length,r=e.normal?new Float32Array(a):void 0,i=e.tangent?new Float32Array(a):void 0,s=e.bitangent?new Float32Array(a):void 0,l=0,u=Yt,c=Ut,m=Bt;if(e.normal||e.tangent||e.bitangent)for(let p=0;p<a;p+=3){let a=w.fromArray(t,p,Tt),h=l+1,f=l+2;m=n.geodeticSurfaceNormal(a,m),(e.tangent||e.bitangent)&&(w.cross(w.UNIT_Z,m,c),lt.multiplyByVector(o,c,c),w.normalize(c,c),e.bitangent&&w.normalize(w.cross(m,c,u),u)),e.normal&&(r[l]=m.x,r[h]=m.y,r[f]=m.z),e.tangent&&(i[l]=c.x,i[h]=c.y,i[f]=c.z),e.bitangent&&(s[l]=u.x,s[h]=u.y,s[f]=u.z),l+=3}return Xt(e,{positions:t,normals:r,tangents:i,bitangents:s})}var Ct=new w,jt=new w;function te(t,e,n){let o=t.length,a=e.normal?new Float32Array(o):void 0,r=e.tangent?new Float32Array(o):void 0,i=e.bitangent?new Float32Array(o):void 0,s=0,l=0,u=0,c=!0,m=Yt,p=Ut,h=Bt;if(e.normal||e.tangent||e.bitangent)for(let f=0;f<o;f+=6){let g=w.fromArray(t,f,Tt),d=w.fromArray(t,(f+6)%o,Ct);if(c){let e=w.fromArray(t,(f+3)%o,jt);w.subtract(d,g,d),w.subtract(e,g,e),h=w.normalize(w.cross(e,d,h),h),c=!1}w.equalsEpsilon(d,g,I.EPSILON10)&&(c=!0),(e.tangent||e.bitangent)&&(m=n.geodeticSurfaceNormal(g,m),e.tangent&&(p=w.normalize(w.cross(m,h,p),p))),e.normal&&(a[s++]=h.x,a[s++]=h.y,a[s++]=h.z,a[s++]=h.x,a[s++]=h.y,a[s++]=h.z),e.tangent&&(r[l++]=p.x,r[l++]=p.y,r[l++]=p.z,r[l++]=p.x,r[l++]=p.y,r[l++]=p.z),e.bitangent&&(i[u++]=m.x,i[u++]=m.y,i[u++]=m.z,i[u++]=m.x,i[u++]=m.y,i[u++]=m.z)}return Xt(e,{positions:t,normals:a,tangents:r,bitangents:i})}function It(t,e){let n=t._vertexFormat,o=t._ellipsoid,a=e.height,r=e.width,i=e.northCap,s=e.southCap,l=0,u=a,c=a,m=0;i&&(l=1,c-=1,m+=1),s&&(u-=1,c-=1,m+=1),m+=r*c;let p=n.position?new Float64Array(3*m):void 0,h=n.st?new Float32Array(2*m):void 0,f=0,g=0,d=Tt,w=Zt,y=Number.MAX_VALUE,_=Number.MAX_VALUE,b=-Number.MAX_VALUE,A=-Number.MAX_VALUE;for(let t=l;t<u;++t)for(let a=0;a<r;++a)W.computePosition(e,o,n.st,t,a,d,w),p[f++]=d.x,p[f++]=d.y,p[f++]=d.z,n.st&&(h[g++]=w.x,h[g++]=w.y,y=Math.min(y,w.x),_=Math.min(_,w.y),b=Math.max(b,w.x),A=Math.max(A,w.y));if(i&&(W.computePosition(e,o,n.st,0,0,d,w),p[f++]=d.x,p[f++]=d.y,p[f++]=d.z,n.st&&(h[g++]=w.x,h[g++]=w.y,y=w.x,_=w.y,b=w.x,A=w.y)),s&&(W.computePosition(e,o,n.st,a-1,0,d,w),p[f++]=d.x,p[f++]=d.y,p[f]=d.z,n.st&&(h[g++]=w.x,h[g]=w.y,y=Math.min(y,w.x),_=Math.min(_,w.y),b=Math.max(b,w.x),A=Math.max(A,w.y))),n.st&&(y<0||_<0||b>1||A>1))for(let t=0;t<h.length;t+=2)h[t]=(h[t]-y)/(b-y),h[t+1]=(h[t+1]-_)/(A-_);let v=Gt(p,n,o,e.tangentRotationMatrix),E=6*(r-1)*(c-1);i&&(E+=3*(r-1)),s&&(E+=3*(r-1));let x,D=At.createTypedArray(m,E),k=0,R=0;for(x=0;x<c-1;++x){for(let t=0;t<r-1;++t){let t=k,e=t+r,n=e+1,o=t+1;D[R++]=t,D[R++]=e,D[R++]=o,D[R++]=o,D[R++]=e,D[R++]=n,++k}++k}if(i||s){let t,e,n=m-1,o=m-1;if(i&&s&&(n=m-2),k=0,i)for(x=0;x<r-1;x++)t=k,e=t+1,D[R++]=n,D[R++]=t,D[R++]=e,++k;if(s)for(k=(c-1)*r,x=0;x<r-1;x++)t=k,e=t+1,D[R++]=t,D[R++]=o,D[R++]=e,++k}return v.indices=D,n.st&&(v.attributes.st=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:2,values:h})),v}function ut(t,e,n,o,a){return t[e++]=o[n],t[e++]=o[n+1],t[e++]=o[n+2],t[e++]=a[n],t[e++]=a[n+1],t[e]=a[n+2],t}function ht(t,e,n,o){return t[e++]=o[n],t[e++]=o[n+1],t[e++]=o[n],t[e]=o[n+1],t}var Dt=new q;function ee(t,e){let n,o=t._shadowVolume,a=t._offsetAttribute,r=t._vertexFormat,i=t._extrudedHeight,s=t._surfaceHeight,l=t._ellipsoid,u=e.height,c=e.width;if(o){let e=q.clone(r,Dt);e.normal=!0,t._vertexFormat=e}let m=It(t,e);o&&(t._vertexFormat=r);let p=yt.scaleToGeodeticHeight(m.attributes.position.values,s,l,!1);p=new Float64Array(p);let h=p.length,f=2*h,g=new Float64Array(f);g.set(p);let d=yt.scaleToGeodeticHeight(m.attributes.position.values,i,l);g.set(d,h),m.attributes.position.values=g;let y,_,b=r.normal?new Float32Array(f):void 0,A=r.tangent?new Float32Array(f):void 0,v=r.bitangent?new Float32Array(f):void 0,E=r.st?new Float32Array(f/3*2):void 0;if(r.normal){for(_=m.attributes.normal.values,b.set(_),n=0;n<h;n++)_[n]=-_[n];b.set(_,h),m.attributes.normal.values=b}if(o){_=m.attributes.normal.values,r.normal||(m.attributes.normal=void 0);let t=new Float32Array(f);for(n=0;n<h;n++)_[n]=-_[n];t.set(_,h),m.attributes.extrudeDirection=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:t})}let x,D=K(a);if(D){let t=h/3*2,e=new Uint8Array(t);a===ft.TOP?e=e.fill(1,0,t/2):(x=a===ft.NONE?0:1,e=e.fill(x)),m.attributes.applyOffset=new Y({componentDatatype:U.UNSIGNED_BYTE,componentsPerAttribute:1,values:e})}if(r.tangent){let t=m.attributes.tangent.values;for(A.set(t),n=0;n<h;n++)t[n]=-t[n];A.set(t,h),m.attributes.tangent.values=A}if(r.bitangent){let t=m.attributes.bitangent.values;v.set(t),v.set(t,h),m.attributes.bitangent.values=v}r.st&&(y=m.attributes.st.values,E.set(y),E.set(y,h/3*2),m.attributes.st.values=E);let k=m.indices,R=k.length,F=h/3,P=At.createTypedArray(f/3,2*R);for(P.set(k),n=0;n<R;n+=3)P[n+R]=k[n+2]+F,P[n+1+R]=k[n+1]+F,P[n+2+R]=k[n]+F;m.indices=P;let T=e.northCap,O=e.southCap,L=u,N=2,S=0,j=4,G=4;T&&(N-=1,L-=1,S+=1,j-=2,G-=1),O&&(N-=1,L-=1,S+=1,j-=2,G-=1),S+=N*c+2*L-j;let H=2*(S+G),J=new Float64Array(3*H),M=o?new Float32Array(3*H):void 0,C=D?new Uint8Array(H):void 0,W=r.st?new Float32Array(2*H):void 0,V=a===ft.TOP;D&&!V&&(x=a===ft.ALL?1:0,C=C.fill(x));let z,B=0,X=0,$=0,Q=0,Z=c*L;for(n=0;n<Z;n+=c)z=3*n,J=ut(J,B,z,p,d),B+=6,r.st&&(W=ht(W,X,2*n,y),X+=4),o&&($+=3,M[$++]=_[z],M[$++]=_[z+1],M[$++]=_[z+2]),V&&(C[Q++]=1,Q+=1);if(O){let t=T?Z+1:Z;for(z=3*t,n=0;n<2;n++)J=ut(J,B,z,p,d),B+=6,r.st&&(W=ht(W,X,2*t,y),X+=4),o&&($+=3,M[$++]=_[z],M[$++]=_[z+1],M[$++]=_[z+2]),V&&(C[Q++]=1,Q+=1)}else for(n=Z-c;n<Z;n++)z=3*n,J=ut(J,B,z,p,d),B+=6,r.st&&(W=ht(W,X,2*n,y),X+=4),o&&($+=3,M[$++]=_[z],M[$++]=_[z+1],M[$++]=_[z+2]),V&&(C[Q++]=1,Q+=1);for(n=Z-1;n>0;n-=c)z=3*n,J=ut(J,B,z,p,d),B+=6,r.st&&(W=ht(W,X,2*n,y),X+=4),o&&($+=3,M[$++]=_[z],M[$++]=_[z+1],M[$++]=_[z+2]),V&&(C[Q++]=1,Q+=1);if(T){let t=Z;for(z=3*t,n=0;n<2;n++)J=ut(J,B,z,p,d),B+=6,r.st&&(W=ht(W,X,2*t,y),X+=4),o&&($+=3,M[$++]=_[z],M[$++]=_[z+1],M[$++]=_[z+2]),V&&(C[Q++]=1,Q+=1)}else for(n=c-1;n>=0;n--)z=3*n,J=ut(J,B,z,p,d),B+=6,r.st&&(W=ht(W,X,2*n,y),X+=4),o&&($+=3,M[$++]=_[z],M[$++]=_[z+1],M[$++]=_[z+2]),V&&(C[Q++]=1,Q+=1);let tt=te(J,r,l);r.st&&(tt.attributes.st=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:2,values:W})),o&&(tt.attributes.extrudeDirection=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:M})),D&&(tt.attributes.applyOffset=new Y({componentDatatype:U.UNSIGNED_BYTE,componentsPerAttribute:1,values:C}));let et,nt,ot,at,rt=At.createTypedArray(H,6*S);h=J.length/3;let it=0;for(n=0;n<h-1;n+=2){et=n,at=(et+2)%h;let t=w.fromArray(J,3*et,Ct),e=w.fromArray(J,3*at,jt);w.equalsEpsilon(t,e,I.EPSILON10)||(nt=(et+1)%h,ot=(nt+2)%h,rt[it++]=et,rt[it++]=nt,rt[it++]=at,rt[it++]=at,rt[it++]=nt,rt[it++]=ot)}return tt.indices=rt,tt=zt.combineInstances([new Nt({geometry:m}),new Nt({geometry:tt})]),tt[0]}var ne=[new w,new w,new w,new w],Wt=new mt,oe=new mt;function Ht(t,e,n,o,a){if(0===n)return E.clone(t,a);let r=W.computeOptions(t,e,n,0,qt,Wt),i=r.height,s=r.width,l=ne;return W.computePosition(r,o,!1,0,0,l[0]),W.computePosition(r,o,!1,0,s-1,l[1]),W.computePosition(r,o,!1,i-1,0,l[2]),W.computePosition(r,o,!1,i-1,s-1,l[3]),E.fromCartesianArray(l,o,a)}function J(t){let e=(t=t??St.EMPTY_OBJECT).rectangle;if(ct.typeOf.object("rectangle",e),E._validate(e),e.north<e.south)throw new Et("options.rectangle.north must be greater than or equal to options.rectangle.south");let n=t.height??0,o=t.extrudedHeight??n;this._rectangle=E.clone(e),this._granularity=t.granularity??I.RADIANS_PER_DEGREE,this._ellipsoid=D.clone(t.ellipsoid??D.default),this._surfaceHeight=Math.max(n,o),this._rotation=t.rotation??0,this._stRotation=t.stRotation??0,this._vertexFormat=q.clone(t.vertexFormat??q.DEFAULT),this._extrudedHeight=Math.min(n,o),this._shadowVolume=t.shadowVolume??!1,this._workerName="createRectangleGeometry",this._offsetAttribute=t.offsetAttribute,this._rotatedRectangle=void 0,this._textureCoordinateRotationPoints=void 0}J.packedLength=E.packedLength+D.packedLength+q.packedLength+7,J.pack=function(t,e,n){return ct.typeOf.object("value",t),ct.defined("array",e),n=n??0,E.pack(t._rectangle,e,n),n+=E.packedLength,D.pack(t._ellipsoid,e,n),n+=D.packedLength,q.pack(t._vertexFormat,e,n),n+=q.packedLength,e[n++]=t._granularity,e[n++]=t._surfaceHeight,e[n++]=t._rotation,e[n++]=t._stRotation,e[n++]=t._extrudedHeight,e[n++]=t._shadowVolume?1:0,e[n]=t._offsetAttribute??-1,e};var Jt=new E,Qt=D.clone(D.UNIT_SPHERE),G={rectangle:Jt,ellipsoid:Qt,vertexFormat:Dt,granularity:void 0,height:void 0,rotation:void 0,stRotation:void 0,extrudedHeight:void 0,shadowVolume:void 0,offsetAttribute:void 0};J.unpack=function(t,e,n){ct.defined("array",t),e=e??0;let o=E.unpack(t,e,Jt);e+=E.packedLength;let a=D.unpack(t,e,Qt);e+=D.packedLength;let r=q.unpack(t,e,Dt);e+=q.packedLength;let i=t[e++],s=t[e++],l=t[e++],u=t[e++],c=t[e++],m=1===t[e++],p=t[e];return K(n)?(n._rectangle=E.clone(o,n._rectangle),n._ellipsoid=D.clone(a,n._ellipsoid),n._vertexFormat=q.clone(r,n._vertexFormat),n._granularity=i,n._surfaceHeight=s,n._rotation=l,n._stRotation=u,n._extrudedHeight=c,n._shadowVolume=m,n._offsetAttribute=-1===p?void 0:p,n):(G.granularity=i,G.height=s,G.rotation=l,G.stRotation=u,G.extrudedHeight=c,G.shadowVolume=m,G.offsetAttribute=-1===p?void 0:p,new J(G))},J.computeRectangle=function(t,e){let n=(t=t??St.EMPTY_OBJECT).rectangle;if(ct.typeOf.object("rectangle",n),E._validate(n),n.north<n.south)throw new Et("options.rectangle.north must be greater than or equal to options.rectangle.south");let o=t.granularity??I.RADIANS_PER_DEGREE,a=t.ellipsoid??D.default;return Ht(n,o,t.rotation??0,a,e)};var ie=new lt,Ft=new Lt,ae=new mt;J.createGeometry=function(t){if(I.equalsEpsilon(t._rectangle.north,t._rectangle.south,I.EPSILON10)||I.equalsEpsilon(t._rectangle.east,t._rectangle.west,I.EPSILON10))return;let e=t._rectangle,n=t._ellipsoid,o=t._rotation,a=t._stRotation,r=t._vertexFormat,i=W.computeOptions(e,t._granularity,o,a,qt,Wt,oe),s=ie;if(0!==a||0!==o){let t=E.center(e,ae),o=n.geodeticSurfaceNormalCartographic(t,Ct);Lt.fromAxisAngle(o,-a,Ft),lt.fromQuaternion(Ft,s)}else lt.clone(lt.IDENTITY,s);let l,u,c=t._surfaceHeight,m=t._extrudedHeight,p=!I.equalsEpsilon(c,m,0,I.EPSILON2);if(i.lonScalar=1/t._rectangle.width,i.latScalar=1/t._rectangle.height,i.tangentRotationMatrix=s,e=t._rectangle,p){l=ee(t,i);let o=at.fromRectangle3D(e,n,c,$t),a=at.fromRectangle3D(e,n,m,Kt);u=at.union(o,a)}else{if(l=It(t,i),l.attributes.position.values=yt.scaleToGeodeticHeight(l.attributes.position.values,c,n,!1),K(t._offsetAttribute)){let e=l.attributes.position.values.length,n=t._offsetAttribute===ft.NONE?0:1,o=new Uint8Array(e/3).fill(n);l.attributes.applyOffset=new Y({componentDatatype:U.UNSIGNED_BYTE,componentsPerAttribute:1,values:o})}u=at.fromRectangle3D(e,n,c)}return r.position||delete l.attributes.position,new Pt({attributes:l.attributes,indices:l.indices,primitiveType:l.primitiveType,boundingSphere:u,offsetAttribute:t._offsetAttribute})},J.createShadowVolume=function(t,e,n){let o=t._granularity,a=t._ellipsoid,r=e(o,a),i=n(o,a);return new J({rectangle:t._rectangle,rotation:t._rotation,ellipsoid:a,stRotation:t._stRotation,granularity:o,extrudedHeight:i,height:r,vertexFormat:q.POSITION_ONLY,shadowVolume:!0})};var vt=new E,se=[new $,new $,new $],re=new bt,ce=new mt;function le(t){if(0===t._stRotation)return[0,0,0,1,1,0];let e=E.clone(t._rectangle,vt),n=t._granularity,o=t._ellipsoid,a=Ht(e,n,t._rotation-t._stRotation,o,vt),r=se;r[0].x=a.west,r[0].y=a.south,r[1].x=a.west,r[1].y=a.north,r[2].x=a.east,r[2].y=a.south;let i=t.rectangle,s=bt.fromRotation(t._stRotation,re),l=E.center(i,ce);for(let t=0;t<3;++t){let e=r[t];e.x-=l.longitude,e.y-=l.latitude,bt.multiplyByVector(s,e,e),e.x+=l.longitude,e.y+=l.latitude,e.x=(e.x-i.west)/i.width,e.y=(e.y-i.south)/i.height}let u=r[0],c=r[1],m=r[2],p=new Array(6);return $.pack(u,p),$.pack(c,p,2),$.pack(m,p,4),p}Object.defineProperties(J.prototype,{rectangle:{get:function(){return K(this._rotatedRectangle)||(this._rotatedRectangle=Ht(this._rectangle,this._granularity,this._rotation,this._ellipsoid)),this._rotatedRectangle}},textureCoordinateRotationPoints:{get:function(){return K(this._textureCoordinateRotationPoints)||(this._textureCoordinateRotationPoints=le(this)),this._textureCoordinateRotationPoints}}});var Ot=J;function fe(t,e){return K(e)&&(t=Ot.unpack(t,e)),t._ellipsoid=D.clone(t._ellipsoid),t._rectangle=E.clone(t._rectangle),Ot.createGeometry(t)}var Ye=fe;export{Ye as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createRectangleOutlineGeometry.js.LICENSE.txt */
2
+ import{a as R}from"./chunk-RYOF6QSA.js";import{a as y}from"./chunk-T77EB7BE.js";import{b as z}from"./chunk-IYO6TYGP.js";import"./chunk-5HPISDSZ.js";import{a as q}from"./chunk-T6Q6HX5J.js";import{a as F}from"./chunk-4MJDNHOT.js";import{b as v,c as B,d as T}from"./chunk-EDF5FKWJ.js";import{d as P}from"./chunk-XQIJGAVD.js";import{i as b}from"./chunk-UTYWXSQT.js";import{a as D}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as x,b as U,d as w,f as M}from"./chunk-KWAHJ72S.js";import{a as S}from"./chunk-MKDADUG3.js";import{a as C}from"./chunk-NOIUI5SY.js";import{e as H}from"./chunk-XRRBRTKL.js";var j=new P,K=new P,Q=new x,W=new b;function Y(t,e){let i=t._ellipsoid,r=e.height,o=e.width,n=e.northCap,a=e.southCap,s=r,l=2,u=0,c=4;n&&(l-=1,s-=1,u+=1,c-=2),a&&(l-=1,s-=1,u+=1,c-=2),u+=l*o+2*s-c;let h,p=new Float64Array(3*u),f=0,d=0,g=Q;if(n)R.computePosition(e,i,!1,d,0,g),p[f++]=g.x,p[f++]=g.y,p[f++]=g.z;else for(h=0;h<o;h++)R.computePosition(e,i,!1,d,h,g),p[f++]=g.x,p[f++]=g.y,p[f++]=g.z;for(h=o-1,d=1;d<r;d++)R.computePosition(e,i,!1,d,h,g),p[f++]=g.x,p[f++]=g.y,p[f++]=g.z;if(d=r-1,!a)for(h=o-2;h>=0;h--)R.computePosition(e,i,!1,d,h,g),p[f++]=g.x,p[f++]=g.y,p[f++]=g.z;for(h=0,d=r-2;d>0;d--)R.computePosition(e,i,!1,d,h,g),p[f++]=g.x,p[f++]=g.y,p[f++]=g.z;let m=p.length/3*2,_=q.createTypedArray(p.length/3,m),b=0;for(let t=0;t<p.length/3-1;t++)_[b++]=t,_[b++]=t+1;_[b++]=p.length/3-1,_[b++]=0;let w=new B({attributes:new F,primitiveType:v.LINES});return w.attributes.position=new T({componentDatatype:D.DOUBLE,componentsPerAttribute:3,values:p}),w.indices=_,w}function X(t,e){let i=t._surfaceHeight,r=t._extrudedHeight,o=t._ellipsoid,n=Y(t,e),a=e.height,s=e.width,l=z.scaleToGeodeticHeight(n.attributes.position.values,i,o,!1),u=l.length,c=new Float64Array(2*u);c.set(l);let h=z.scaleToGeodeticHeight(n.attributes.position.values,r,o);c.set(h,u),n.attributes.position.values=c;let p=e.northCap,f=e.southCap,d=4;p&&(d-=1),f&&(d-=1);let g=2*(c.length/3+d),m=q.createTypedArray(c.length/3,g);u=c.length/6;let _,b=0;for(let t=0;t<u-1;t++)m[b++]=t,m[b++]=t+1,m[b++]=t+u,m[b++]=t+u+1;if(m[b++]=u-1,m[b++]=0,m[b++]=u+u-1,m[b++]=u,m[b++]=0,m[b++]=u,p)_=a-1;else{let t=s-1;m[b++]=t,m[b++]=t+u,_=s+a-2}if(m[b++]=_,m[b++]=_+u,!f){let t=s+_-1;m[b++]=t,m[b]=t+u}return n.indices=m,n}function k(t){let e=(t=t??M.EMPTY_OBJECT).rectangle,i=t.granularity??S.RADIANS_PER_DEGREE,r=t.ellipsoid??w.default,o=t.rotation??0;if(!H(e))throw new C("rectangle is required.");if(b._validate(e),e.north<e.south)throw new C("options.rectangle.north must be greater than options.rectangle.south");let n=t.height??0,a=t.extrudedHeight??n;this._rectangle=b.clone(e),this._granularity=i,this._ellipsoid=r,this._surfaceHeight=Math.max(n,a),this._rotation=o,this._extrudedHeight=Math.min(n,a),this._offsetAttribute=t.offsetAttribute,this._workerName="createRectangleOutlineGeometry"}k.packedLength=b.packedLength+w.packedLength+5,k.pack=function(t,e,i){if(!H(t))throw new C("value is required");if(!H(e))throw new C("array is required");return i=i??0,b.pack(t._rectangle,e,i),i+=b.packedLength,w.pack(t._ellipsoid,e,i),i+=w.packedLength,e[i++]=t._granularity,e[i++]=t._surfaceHeight,e[i++]=t._rotation,e[i++]=t._extrudedHeight,e[i]=t._offsetAttribute??-1,e};var J=new b,V=w.clone(w.UNIT_SPHERE),N={rectangle:J,ellipsoid:V,granularity:void 0,height:void 0,rotation:void 0,extrudedHeight:void 0,offsetAttribute:void 0};k.unpack=function(t,e,i){if(!H(t))throw new C("array is required");e=e??0;let r=b.unpack(t,e,J);e+=b.packedLength;let o=w.unpack(t,e,V);e+=w.packedLength;let n=t[e++],a=t[e++],s=t[e++],l=t[e++],u=t[e];return H(i)?(i._rectangle=b.clone(r,i._rectangle),i._ellipsoid=w.clone(o,i._ellipsoid),i._surfaceHeight=a,i._rotation=s,i._extrudedHeight=l,i._offsetAttribute=-1===u?void 0:u,i):(N.granularity=n,N.height=a,N.rotation=s,N.extrudedHeight=l,N.offsetAttribute=-1===u?void 0:u,new k(N))};var Z=new U;k.createGeometry=function(t){let e,i,r=t._rectangle,o=t._ellipsoid,n=R.computeOptions(r,t._granularity,t._rotation,0,W,Z);if(S.equalsEpsilon(r.north,r.south,S.EPSILON10)||S.equalsEpsilon(r.east,r.west,S.EPSILON10))return;let a,s=t._surfaceHeight,l=t._extrudedHeight;if(S.equalsEpsilon(s,l,0,S.EPSILON2)){if(e=Y(t,n),e.attributes.position.values=z.scaleToGeodeticHeight(e.attributes.position.values,s,o,!1),H(t._offsetAttribute)){let i=e.attributes.position.values.length;a=t._offsetAttribute===y.NONE?0:1;let r=new Uint8Array(i/3).fill(a);e.attributes.applyOffset=new T({componentDatatype:D.UNSIGNED_BYTE,componentsPerAttribute:1,values:r})}i=P.fromRectangle3D(r,o,s)}else{if(e=X(t,n),H(t._offsetAttribute)){let i=e.attributes.position.values.length/3,r=new Uint8Array(i);t._offsetAttribute===y.TOP?r=r.fill(1,0,i/2):(a=t._offsetAttribute===y.NONE?0:1,r=r.fill(a)),e.attributes.applyOffset=new T({componentDatatype:D.UNSIGNED_BYTE,componentsPerAttribute:1,values:r})}let u=P.fromRectangle3D(r,o,s,K),c=P.fromRectangle3D(r,o,l,j);i=P.union(u,c)}return new B({attributes:e.attributes,indices:e.indices,primitiveType:v.LINES,boundingSphere:i,offsetAttribute:t._offsetAttribute})};var O=k;function $(t,e){return H(e)&&(t=O.unpack(t,e)),t._ellipsoid=w.clone(t._ellipsoid),t._rectangle=b.clone(t._rectangle),O.createGeometry(t)}var Et=$;export{Et as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createSimplePolylineGeometry.js.LICENSE.txt */
2
+ import{a as r}from"./chunk-GTQ3WXPT.js";import{a as L}from"./chunk-OXJ2LJUE.js";import{a as P}from"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as X}from"./chunk-T6Q6HX5J.js";import{a as W}from"./chunk-4MJDNHOT.js";import{b as K,c as Q,d as H}from"./chunk-EDF5FKWJ.js";import{d as j}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as v}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as A,d as w,f as J}from"./chunk-KWAHJ72S.js";import{a as G}from"./chunk-MKDADUG3.js";import{a as D}from"./chunk-NOIUI5SY.js";import{e as u}from"./chunk-XRRBRTKL.js";function Z(e,t,o,a,n,i,l){let s,u=P.numberOfPoints(e,t,n),p=o.red,c=o.green,h=o.blue,f=o.alpha,y=a.red,m=a.green,d=a.blue,g=a.alpha;if(r.equals(o,a)){for(s=0;s<u;s++)i[l++]=r.floatToByte(p),i[l++]=r.floatToByte(c),i[l++]=r.floatToByte(h),i[l++]=r.floatToByte(f);return l}let k=(y-p)/u,T=(m-c)/u,w=(d-h)/u,_=(g-f)/u,A=l;for(s=0;s<u;s++)i[A++]=r.floatToByte(p+s*k),i[A++]=r.floatToByte(c+s*T),i[A++]=r.floatToByte(h+s*w),i[A++]=r.floatToByte(f+s*_);return A}function O(e){let t=(e=e??J.EMPTY_OBJECT).positions,o=e.colors,a=e.colorsPerVertex??!1;if(!u(t)||t.length<2)throw new D("At least two positions are required.");if(u(o)&&(a&&o.length<t.length||!a&&o.length<t.length-1))throw new D("colors has an invalid length.");this._positions=t,this._colors=o,this._colorsPerVertex=a,this._arcType=e.arcType??L.GEODESIC,this._granularity=e.granularity??G.RADIANS_PER_DEGREE,this._ellipsoid=e.ellipsoid??w.default,this._workerName="createSimplePolylineGeometry";let n=1+t.length*A.packedLength;n+=u(o)?1+o.length*r.packedLength:1,this.packedLength=n+w.packedLength+3}O.pack=function(e,t,o){if(!u(e))throw new D("value is required");if(!u(t))throw new D("array is required");o=o??0;let a,n=e._positions,i=n.length;for(t[o++]=i,a=0;a<i;++a,o+=A.packedLength)A.pack(n[a],t,o);let l=e._colors;for(i=u(l)?l.length:0,t[o++]=i,a=0;a<i;++a,o+=r.packedLength)r.pack(l[a],t,o);return w.pack(e._ellipsoid,t,o),o+=w.packedLength,t[o++]=e._colorsPerVertex?1:0,t[o++]=e._arcType,t[o]=e._granularity,t},O.unpack=function(e,t,o){if(!u(e))throw new D("array is required");t=t??0;let a,n=e[t++],i=new Array(n);for(a=0;a<n;++a,t+=A.packedLength)i[a]=A.unpack(e,t);n=e[t++];let l=n>0?new Array(n):void 0;for(a=0;a<n;++a,t+=r.packedLength)l[a]=r.unpack(e,t);let s=w.unpack(e,t);t+=w.packedLength;let p=1===e[t++],c=e[t++],h=e[t];return u(o)?(o._positions=i,o._colors=l,o._ellipsoid=s,o._colorsPerVertex=p,o._arcType=c,o._granularity=h,o):new O({positions:i,colors:l,ellipsoid:s,colorsPerVertex:p,arcType:c,granularity:h})};var U=new Array(2),q=new Array(2),$={positions:U,height:q,ellipsoid:void 0,minDistance:void 0,granularity:void 0};O.createGeometry=function(e){let t,o,a,n,i,l=e._positions,s=e._colors,p=e._colorsPerVertex,c=e._arcType,h=e._granularity,f=e._ellipsoid,y=G.chordLength(h,f.maximumRadius),m=u(s)&&!p,d=l.length,g=0;if(c===L.GEODESIC||c===L.RHUMB){let e,a,p;c===L.GEODESIC?(e=G.chordLength(h,f.maximumRadius),a=P.numberOfPoints,p=P.generateArc):(e=h,a=P.numberOfPointsRhumbLine,p=P.generateRhumbArc);let k=P.extractHeights(l,f),T=$;if(c===L.GEODESIC?T.minDistance=y:T.granularity=h,T.ellipsoid=f,m){let c=0;for(t=0;t<d-1;t++)c+=a(l[t],l[t+1],e)+1;o=new Float64Array(3*c),n=new Uint8Array(4*c),T.positions=U,T.height=q;let h=0;for(t=0;t<d-1;++t){U[0]=l[t],U[1]=l[t+1],q[0]=k[t],q[1]=k[t+1];let e=p(T);if(u(s)){let o=e.length/3;i=s[t];for(let e=0;e<o;++e)n[h++]=r.floatToByte(i.red),n[h++]=r.floatToByte(i.green),n[h++]=r.floatToByte(i.blue),n[h++]=r.floatToByte(i.alpha)}o.set(e,g),g+=e.length}}else if(T.positions=l,T.height=k,o=new Float64Array(p(T)),u(s)){for(n=new Uint8Array(o.length/3*4),t=0;t<d-1;++t)g=Z(l[t],l[t+1],s[t],s[t+1],y,n,g);let e=s[d-1];n[g++]=r.floatToByte(e.red),n[g++]=r.floatToByte(e.green),n[g++]=r.floatToByte(e.blue),n[g++]=r.floatToByte(e.alpha)}}else{a=m?2*d-2:d,o=new Float64Array(3*a),n=u(s)?new Uint8Array(4*a):void 0;let e=0,p=0;for(t=0;t<d;++t){let a=l[t];if(m&&t>0&&(A.pack(a,o,e),e+=3,i=s[t-1],n[p++]=r.floatToByte(i.red),n[p++]=r.floatToByte(i.green),n[p++]=r.floatToByte(i.blue),n[p++]=r.floatToByte(i.alpha)),m&&t===d-1)break;A.pack(a,o,e),e+=3,u(s)&&(i=s[t],n[p++]=r.floatToByte(i.red),n[p++]=r.floatToByte(i.green),n[p++]=r.floatToByte(i.blue),n[p++]=r.floatToByte(i.alpha))}}let k=new W;k.position=new H({componentDatatype:v.DOUBLE,componentsPerAttribute:3,values:o}),u(s)&&(k.color=new H({componentDatatype:v.UNSIGNED_BYTE,componentsPerAttribute:4,values:n,normalize:!0})),a=o.length/3;let T=2*(a-1),w=X.createTypedArray(a,T),_=0;for(t=0;t<a-1;++t)w[_++]=t,w[_++]=t+1;return new Q({attributes:k,indices:w,primitiveType:K.LINES,boundingSphere:j.fromPoints(l)})};var Y=O;function x(e,r){return u(r)&&(e=Y.unpack(e,r)),e._ellipsoid=w.clone(e._ellipsoid),Y.createGeometry(e)}var _e=x;export{_e as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createSphereGeometry.js.LICENSE.txt */
2
+ import{a as r}from"./chunk-CJRI54BI.js";import"./chunk-T77EB7BE.js";import{a as m}from"./chunk-APG2S62J.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as s}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as p}from"./chunk-NOIUI5SY.js";import{e as c}from"./chunk-XRRBRTKL.js";function a(t){let i=t.radius??1,e={radii:new s(i,i,i),stackPartitions:t.stackPartitions,slicePartitions:t.slicePartitions,vertexFormat:t.vertexFormat};this._ellipsoidGeometry=new r(e),this._workerName="createSphereGeometry"}a.packedLength=r.packedLength,a.pack=function(t,i,e){return p.typeOf.object("value",t),r.pack(t._ellipsoidGeometry,i,e)};var l=new r,i={radius:void 0,radii:new s,vertexFormat:new m,stackPartitions:void 0,slicePartitions:void 0};a.unpack=function(t,e,o){let n=r.unpack(t,e,l);return i.vertexFormat=m.clone(n._vertexFormat,i.vertexFormat),i.stackPartitions=n._stackPartitions,i.slicePartitions=n._slicePartitions,c(o)?(s.clone(n._radii,i.radii),o._ellipsoidGeometry=new r(i),o):(i.radius=n._radii.x,new a(i))},a.createGeometry=function(t){return r.createGeometry(t._ellipsoidGeometry)};var d=a;function f(r,t){return c(t)&&(r=d.unpack(r,t)),d.createGeometry(r)}var w=f;export{w as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createSphereOutlineGeometry.js.LICENSE.txt */
2
+ import{a as t}from"./chunk-J7MBSSYW.js";import"./chunk-T77EB7BE.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as c}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as u}from"./chunk-NOIUI5SY.js";import{e as a}from"./chunk-XRRBRTKL.js";function s(i){let s=i.radius??1,n={radii:new c(s,s,s),stackPartitions:i.stackPartitions,slicePartitions:i.slicePartitions,subdivisions:i.subdivisions};this._ellipsoidGeometry=new t(n),this._workerName="createSphereOutlineGeometry"}s.packedLength=t.packedLength,s.pack=function(i,s,n){return u.typeOf.object("value",i),t.pack(i._ellipsoidGeometry,s,n)};var l=new t,n={radius:void 0,radii:new c,stackPartitions:void 0,slicePartitions:void 0,subdivisions:void 0};s.unpack=function(i,r,e){let o=t.unpack(i,r,l);return n.stackPartitions=o._stackPartitions,n.slicePartitions=o._slicePartitions,n.subdivisions=o._subdivisions,a(e)?(c.clone(o._radii,n.radii),e._ellipsoidGeometry=new t(n),e):(n.radius=o._radii.x,new s(n))},s.createGeometry=function(i){return t.createGeometry(i._ellipsoidGeometry)};var d=s;function m(i,t){return a(t)&&(i=d.unpack(i,t)),d.createGeometry(i)}var h=m;export{h as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createTaskProcessorWorker.js.LICENSE.txt */
2
+ import{a}from"./chunk-D2NFCOGE.js";import"./chunk-XRRBRTKL.js";export{a as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createVectorTileClampedPolylines.js.LICENSE.txt */
2
+ import{a as J}from"./chunk-D2NFCOGE.js";import{a as Y}from"./chunk-VHZAK4GN.js";import{a as B}from"./chunk-T6Q6HX5J.js";import{d as X,i as W}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as t,b as k,d as _}from"./chunk-KWAHJ72S.js";import{a as v}from"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import"./chunk-XRRBRTKL.js";var V=32767,it=Math.cos(v.toRadians(150)),ct=new k,rt=new t;function at(e,r,s,a,n,i,o){let l=e.length,d=new Float64Array(3*l);for(let f=0;f<l;++f){let l=e[f],h=r[f],u=s[f],c=v.lerp(a.west,a.east,l/V),p=v.lerp(a.south,a.north,h/V),m=v.lerp(n,i,u/V),A=k.fromRadians(c,p,m,ct),w=o.cartographicToCartesian(A,rt);t.pack(w,d,3*f)}return d}function dt(t){let e=t.length,r=new Uint32Array(e+1),s=0;for(let a=0;a<e;++a)r[a]=s,s+=t[a];return r[e]=s,r}var lt=new k,ht=new k;function ft(t,e,r,s){let a=s.length,n=t.length,i=new Uint8Array(n),o=lt,l=ht,d=0;for(let r=0;r<a;r++){let a=s[r],n=a;for(let r=1;r<a;r++){let s=d+r,a=s-1;l.longitude=t[s],l.latitude=e[s],o.longitude=t[a],o.latitude=e[a],k.equals(l,o)&&(n--,i[a]=1)}s[r]=n,d+=a}let f=0;for(let s=0;s<n;s++)1!==i[s]&&(t[f]=t[s],e[f]=e[s],r[f]=r[s],f++)}function ot(t){let e=8*t,r=3*e,s=4*e;this.startEllipsoidNormals=new Float32Array(r),this.endEllipsoidNormals=new Float32Array(r),this.startPositionAndHeights=new Float32Array(s),this.startFaceNormalAndVertexCornerIds=new Float32Array(s),this.endPositionAndHeights=new Float32Array(s),this.endFaceNormalAndHalfWidths=new Float32Array(s),this.vertexBatchIds=new Uint16Array(e),this.indices=B.createTypedArray(e,36*t),this.vec3Offset=0,this.vec4Offset=0,this.batchIdOffset=0,this.indexOffset=0,this.volumeStartIndex=0}var Q=new t,pt=new t;function $(e,r,s,a,n){let i=t.subtract(s,r,pt),o=t.subtract(r,e,Q);return t.normalize(i,i),t.normalize(o,o),t.dot(i,o)<it&&(o=t.multiplyByScalar(o,-1,Q)),t.add(i,o,n),t.equals(n,t.ZERO)&&(n=t.subtract(e,r)),t.cross(n,a,n),t.cross(a,n,n),t.normalize(n,n),n}var st=[0,2,6,0,6,4,0,1,3,0,3,2,0,4,5,0,5,1,5,3,1,5,7,3,7,5,4,7,4,6,7,6,2,7,2,3],j=st.length,tt=new t,ut=new t,mt=new t,At=new t,Nt=new t;ot.prototype.addVolume=function(e,r,s,a,n,i,o,l,d,f){let h=t.add(r,d,tt),u=f.geodeticSurfaceNormal(h,ut);h=t.add(s,d,tt);let c,p=f.geodeticSurfaceNormal(h,At),m=$(e,r,s,u,mt),A=$(a,s,r,p,Nt),k=this.startEllipsoidNormals,w=this.endEllipsoidNormals,b=this.startPositionAndHeights,N=this.startFaceNormalAndVertexCornerIds,g=this.endPositionAndHeights,v=this.endFaceNormalAndHalfWidths,y=this.vertexBatchIds,I=this.batchIdOffset,x=this.vec3Offset,E=this.vec4Offset;for(c=0;c<8;c++)t.pack(u,k,x),t.pack(p,w,x),t.pack(r,b,E),b[E+3]=n,t.pack(s,g,E),g[E+3]=i,t.pack(m,N,E),N[E+3]=c,t.pack(A,v,E),v[E+3]=o,y[I++]=l,x+=3,E+=4;this.batchIdOffset=I,this.vec3Offset=x,this.vec4Offset=E;let F=this.indices,H=this.volumeStartIndex,O=this.indexOffset;for(c=0;c<j;c++)F[O+c]=st[c]+H;this.volumeStartIndex+=8,this.indexOffset+=j};var gt=new W,Et=new _,wt=new t,M=new t,It=new t,xt=new t,T=new t;function Pt(e,r){let s=new Uint16Array(e.positions),a=new Uint16Array(e.widths),n=new Uint32Array(e.counts),i=new Uint16Array(e.batchIds),o=gt,l=Et,d=wt,f=new Float64Array(e.packedBuffer),h=0,u=f[h++],c=f[h++];W.unpack(f,h,o),h+=W.packedLength,_.unpack(f,h,l),h+=_.packedLength,t.unpack(f,h,d);let p,m=s.length/3,A=s.subarray(0,m),k=s.subarray(m,2*m),w=s.subarray(2*m,3*m);Y.zigZagDeltaDecode(A,k,w),ft(A,k,w,n);let b=n.length,N=0;for(p=0;p<b;p++)N+=n[p]-1;let g=new ot(N),y=at(A,k,w,o,u,c,l,d);m=A.length;let I=new Float32Array(3*m);for(p=0;p<m;++p)I[3*p]=y[3*p]-d.x,I[3*p+1]=y[3*p+1]-d.y,I[3*p+2]=y[3*p+2]-d.z;let x=0,E=0;for(p=0;p<b;p++){let e=n[p]-1,r=.5*a[p],s=i[p],o=x;for(let a=0;a<e;a++){let n=t.unpack(I,x,It),i=t.unpack(I,x+3,xt),f=w[E],h=w[E+1];f=v.lerp(u,c,f/V),h=v.lerp(u,c,h/V),E++;let p=M,m=T;if(0===a){let r=o+3*e,s=t.unpack(I,r,M);if(t.equals(s,n))t.unpack(I,r-3,p);else{let e=t.subtract(n,i,M);p=t.add(e,n,M)}}else t.unpack(I,x-3,p);if(a===e-1){let e=t.unpack(I,o,T);if(t.equals(e,i))t.unpack(I,o+3,m);else{let e=t.subtract(i,n,T);m=t.add(e,i,T)}}else t.unpack(I,x+6,m);g.addVolume(p,n,i,m,f,h,r,s,d,l),x+=3}x+=3,E++}let F=g.indices;r.push(g.startEllipsoidNormals.buffer),r.push(g.endEllipsoidNormals.buffer),r.push(g.startPositionAndHeights.buffer),r.push(g.startFaceNormalAndVertexCornerIds.buffer),r.push(g.endPositionAndHeights.buffer),r.push(g.endFaceNormalAndHalfWidths.buffer),r.push(g.vertexBatchIds.buffer),r.push(F.buffer);let H={indexDatatype:2===F.BYTES_PER_ELEMENT?B.UNSIGNED_SHORT:B.UNSIGNED_INT,startEllipsoidNormals:g.startEllipsoidNormals.buffer,endEllipsoidNormals:g.endEllipsoidNormals.buffer,startPositionAndHeights:g.startPositionAndHeights.buffer,startFaceNormalAndVertexCornerIds:g.startFaceNormalAndVertexCornerIds.buffer,endPositionAndHeights:g.endPositionAndHeights.buffer,endFaceNormalAndHalfWidths:g.endFaceNormalAndHalfWidths.buffer,vertexBatchIds:g.vertexBatchIds.buffer,indices:F.buffer};if(e.keepDecodedPositions){let t=dt(n);r.push(y.buffer,t.buffer),H=X(H,{decodedPositions:y.buffer,decodedPositionOffsets:t.buffer})}return H}var Vt=J(Pt);export{Vt as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createVectorTileGeometries.js.LICENSE.txt */
2
+ import{a as P}from"./chunk-GTQ3WXPT.js";import{a as z}from"./chunk-BTDQB5Q4.js";import"./chunk-XQDTMI7Q.js";import{a as H}from"./chunk-CJRI54BI.js";import{a as Y}from"./chunk-D2NFCOGE.js";import{a as j}from"./chunk-KX5PR5Q3.js";import"./chunk-T77EB7BE.js";import"./chunk-APG2S62J.js";import{a as W}from"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import{d as E}from"./chunk-XQIJGAVD.js";import{b as d}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as o}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as l}from"./chunk-XRRBRTKL.js";function X(e){this.offset=e.offset,this.count=e.count,this.color=e.color,this.batchIds=e.batchIds}var J=X,S=new o,$=d.packedLength+o.packedLength,ee=d.packedLength+2,ne=d.packedLength+o.packedLength,te=o.packedLength+1,u={modelMatrix:new d,boundingVolume:new E};function oe(e,t){let n=t*$,r=o.unpack(e,n,S);n+=o.packedLength;let i=d.unpack(e,n,u.modelMatrix);d.multiplyByScale(i,r,i);let s=u.boundingVolume;return o.clone(o.ZERO,s.center),s.radius=Math.sqrt(3),u}function ce(e,t){let n=t*ee,r=e[n++],i=e[n++],s=o.fromElements(r,r,i,S),a=d.unpack(e,n,u.modelMatrix);d.multiplyByScale(a,s,a);let l=u.boundingVolume;return o.clone(o.ZERO,l.center),l.radius=Math.sqrt(2),u}function se(e,t){let n=t*ne,r=o.unpack(e,n,S);n+=o.packedLength;let i=d.unpack(e,n,u.modelMatrix);d.multiplyByScale(i,r,i);let s=u.boundingVolume;return o.clone(o.ZERO,s.center),s.radius=1,u}function ie(e,t){let n=t*te,r=e[n++],i=o.unpack(e,n,S),s=d.fromTranslation(i,u.modelMatrix);d.multiplyByUniformScale(s,r,s);let a=u.boundingVolume;return o.clone(o.ZERO,a.center),a.radius=1,u}var de=new o;function R(e,t,n,r,i){if(!l(t))return;let s=n.length,a=r.attributes.position.values,c=r.indices,u=e.positions,f=e.vertexBatchIds,h=e.indices,p=e.batchIds,m=e.batchTableColors,b=e.batchedIndices,k=e.indexOffsets,g=e.indexCounts,y=e.boundingVolumes,I=e.modelMatrix,x=e.center,B=e.positionOffset,w=e.batchIdIndex,A=e.indexOffset,j=e.batchedIndicesOffset;for(let e=0;e<s;++e){let r=i(t,e),s=r.modelMatrix;d.multiply(I,s,s);let l=n[e],O=a.length;for(let e=0;e<O;e+=3){let t=o.unpack(a,e,de);d.multiplyByPoint(s,t,t),o.subtract(t,x,t),o.pack(t,u,3*B+e),f[w++]=l}let v=c.length;for(let e=0;e<v;++e)h[A+e]=c[e]+B;let R=e+j;b[R]=new J({offset:A,count:v,color:P.fromRgba(m[l]),batchIds:[l]}),p[R]=l,k[R]=A,g[R]=v,y[R]=E.transform(r.boundingVolume,s),B+=O/3,A+=v}e.positionOffset=B,e.batchIdIndex=w,e.indexOffset=A,e.batchedIndicesOffset+=s}var K=new o,Q=new d;function re(e){let t=new Float64Array(e),n=0;o.unpack(t,n,K),n+=o.packedLength,d.unpack(t,n,Q)}function le(e){let t=e.length,n=0;for(let o=0;o<t;++o)n+=P.packedLength+3+e[o].batchIds.length;return n}function ae(e,t,n){let o=n.length,r=2+o*E.packedLength+1+le(t),i=new Float64Array(r),s=0;i[s++]=e,i[s++]=o;for(let e=0;e<o;++e)E.pack(n[e],i,s),s+=E.packedLength;let a=t.length;i[s++]=a;for(let e=0;e<a;++e){let n=t[e];P.pack(n.color,i,s),s+=P.packedLength,i[s++]=n.offset,i[s++]=n.count;let o=n.batchIds,r=o.length;i[s++]=r;for(let e=0;e<r;++e)i[s++]=o[e]}return i}function fe(e,t){let n=l(e.boxes)?new Float32Array(e.boxes):void 0,o=l(e.boxBatchIds)?new Uint16Array(e.boxBatchIds):void 0,r=l(e.cylinders)?new Float32Array(e.cylinders):void 0,i=l(e.cylinderBatchIds)?new Uint16Array(e.cylinderBatchIds):void 0,s=l(e.ellipsoids)?new Float32Array(e.ellipsoids):void 0,a=l(e.ellipsoidBatchIds)?new Uint16Array(e.ellipsoidBatchIds):void 0,c=l(e.spheres)?new Float32Array(e.spheres):void 0,d=l(e.sphereBatchIds)?new Uint16Array(e.sphereBatchIds):void 0,u=l(n)?o.length:0,f=l(r)?i.length:0,h=l(s)?a.length:0,p=l(c)?d.length:0,m=j.getUnitBox(),b=z.getUnitCylinder(),k=H.getUnitEllipsoid(),g=m.attributes.position.values,y=b.attributes.position.values,I=k.attributes.position.values,x=g.length*u;x+=y.length*f,x+=I.length*(h+p);let B=m.indices,w=b.indices,A=k.indices,E=B.length*u;E+=w.length*f,E+=A.length*(h+p);let O=new Float32Array(x),v=new Uint16Array(x/3),T=W.createTypedArray(x/3,E),U=u+f+h+p,L=new Uint16Array(U),M=new Array(U),S=new Uint32Array(U),P=new Uint32Array(U),C=new Array(U);re(e.packedBuffer);let F={batchTableColors:new Uint32Array(e.batchTableColors),positions:O,vertexBatchIds:v,indices:T,batchIds:L,batchedIndices:M,indexOffsets:S,indexCounts:P,boundingVolumes:C,positionOffset:0,batchIdIndex:0,indexOffset:0,batchedIndicesOffset:0,modelMatrix:Q,center:K};R(F,n,o,m,oe),R(F,r,i,b,ce),R(F,s,a,k,se),R(F,c,d,k,ie);let J=ae(T.BYTES_PER_ELEMENT,M,C);return t.push(O.buffer,v.buffer,T.buffer),t.push(L.buffer,S.buffer,P.buffer),t.push(J.buffer),{positions:O.buffer,vertexBatchIds:v.buffer,indices:T.buffer,indexOffsets:S.buffer,indexCounts:P.buffer,batchIds:L.buffer,packedBuffer:J.buffer}}var Oe=Y(fe);export{Oe as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createVectorTilePoints.js.LICENSE.txt */
2
+ import{a as x}from"./chunk-D2NFCOGE.js";import{a as w}from"./chunk-VHZAK4GN.js";import{i as c}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as h,b as l,d as p}from"./chunk-KWAHJ72S.js";import{a as i}from"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import"./chunk-XRRBRTKL.js";var u=32767,F=new l,L=new h,b=new c,y=new p,a={min:void 0,max:void 0};function V(r){r=new Float64Array(r);let n=0;a.min=r[n++],a.max=r[n++],c.unpack(r,n,b),n+=c.packedLength,p.unpack(r,n,y)}function z(r,n){let t=new Uint16Array(r.positions);V(r.packedBuffer);let e=b,o=y,s=a.min,p=a.max,c=t.length/3,m=t.subarray(0,c),f=t.subarray(c,2*c),k=t.subarray(2*c,3*c);w.zigZagDeltaDecode(m,f,k);let j=new Float64Array(t.length);for(let a=0;a<c;++a){let r=m[a],n=f[a],t=k[a],c=i.lerp(e.west,e.east,r/u),w=i.lerp(e.south,e.north,n/u),b=i.lerp(s,p,t/u),y=l.fromRadians(c,w,b,F),d=o.cartographicToCartesian(y,L);h.pack(d,j,3*a)}return n.push(j.buffer),{positions:j.buffer}}var G=x(z);export{G as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createVectorTilePolygons.js.LICENSE.txt */
2
+ import{a as R}from"./chunk-GTQ3WXPT.js";import{a as It}from"./chunk-D2NFCOGE.js";import{a as M}from"./chunk-SCO7TMKT.js";import{a as bt}from"./chunk-VHZAK4GN.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as W}from"./chunk-T6Q6HX5J.js";import"./chunk-XQIJGAVD.js";import{i as z}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as o,b as nt,d as j}from"./chunk-KWAHJ72S.js";import{a as et}from"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as A}from"./chunk-XRRBRTKL.js";var kt=new o,Bt=new j,Nt=new z,E={min:void 0,max:void 0,indexBytesPerElement:void 0};function Pt(t){let e=new Float64Array(t),n=0;E.indexBytesPerElement=e[n++],E.min=e[n++],E.max=e[n++],o.unpack(e,n,kt),n+=o.packedLength,j.unpack(e,n,Bt),n+=j.packedLength,z.unpack(e,n,Nt)}function Tt(t){let e=t.length,n=0;for(let r=0;r<e;++r)n+=R.packedLength+3+t[r].batchIds.length;return n}function Ct(t,e,n){let r=e.length,a=2+r*M.packedLength+1+Tt(n),o=new Float64Array(a),i=0;o[i++]=t,o[i++]=r;for(let t=0;t<r;++t)M.pack(e[t],o,i),i+=M.packedLength;let s=n.length;o[i++]=s;for(let t=0;t<s;++t){let e=n[t];R.pack(e.color,o,i),i+=R.packedLength,o[i++]=e.offset,o[i++]=e.count;let r=e.batchIds,a=r.length;o[i++]=a;for(let t=0;t<a;++t)o[i++]=r[t]}return o}var yt=32767,wt=new o,Ht=new o,St=new o,Ut=new o,Ft=new o,Lt=new nt,Mt=new z;function Rt(t,e){let n;Pt(t.packedBuffer),n=2===E.indexBytesPerElement?new Uint16Array(t.indices):new Uint32Array(t.indices);let r=new Uint16Array(t.positions),a=new Uint32Array(t.counts),i=new Uint32Array(t.indexCounts),s=new Uint32Array(t.batchIds),f=new Uint32Array(t.batchTableColors),l=new Array(a.length),c=kt,h=Bt,u=Nt,m=E.min,p=E.max,d=t.minimumHeights,g=t.maximumHeights;A(d)&&A(g)&&(d=new Float32Array(d),g=new Float32Array(g));let k,I,w,b=r.length/2,y=r.subarray(0,b),T=r.subarray(b,2*b);bt.zigZagDeltaDecode(y,T);let N=new Float64Array(3*b);for(k=0;k<b;++k){let t=y[k],e=T[k],n=et.lerp(u.west,u.east,t/yt),r=et.lerp(u.south,u.north,e/yt),a=nt.fromRadians(n,r,0,Lt),i=h.cartographicToCartesian(a,wt);o.pack(i,N,3*k)}let x=a.length,L=new Array(x),j=new Array(x),S=0,U=0;for(k=0;k<x;++k)L[k]=S,j[k]=U,S+=a[k],U+=i[k];let B=new Float32Array(3*b*2),O=new Uint16Array(2*b),F=new Uint32Array(j.length),G=new Uint32Array(i.length),P=[],C={};for(k=0;k<x;++k)w=f[k],A(C[w])?(C[w].positionLength+=a[k],C[w].indexLength+=i[k],C[w].batchIds.push(k)):C[w]={positionLength:a[k],indexLength:i[k],offset:0,indexOffset:0,batchIds:[k]};let H,D=0,K=0;for(w in C)if(C.hasOwnProperty(w)){H=C[w],H.offset=D,H.indexOffset=K;let t=2*H.positionLength,e=2*H.indexLength+6*H.positionLength;D+=t,K+=e,H.indexLength=e}let Y=[];for(w in C)C.hasOwnProperty(w)&&(H=C[w],Y.push({color:R.fromRgba(parseInt(w)),offset:H.indexOffset,count:H.indexLength,batchIds:H.batchIds}));for(k=0;k<x;++k){w=f[k],H=C[w];let t=H.offset,e=3*t,r=t,b=L[k],y=a[k],T=s[k],E=m,x=p;A(d)&&A(g)&&(E=d[k],x=g[k]);let S=Number.POSITIVE_INFINITY,U=Number.NEGATIVE_INFINITY,R=Number.POSITIVE_INFINITY,W=Number.NEGATIVE_INFINITY;for(I=0;I<y;++I){let t=o.unpack(N,3*b+3*I,wt);h.scaleToGeodeticSurface(t,t);let n=h.cartesianToCartographic(t,Lt),a=n.latitude,i=n.longitude;S=Math.min(a,S),U=Math.max(a,U),R=Math.min(i,R),W=Math.max(i,W);let s=h.geodeticSurfaceNormal(t,Ht),f=o.multiplyByScalar(s,E,St),l=o.add(t,f,Ut);f=o.multiplyByScalar(s,x,f);let u=o.add(t,f,Ft);o.subtract(u,c,u),o.subtract(l,c,l),o.pack(u,B,e),o.pack(l,B,e+3),O[r]=T,O[r+1]=T,e+=6,r+=2}u=Mt,u.west=R,u.east=W,u.south=S,u.north=U,l[k]=M.fromRectangle(u,m,p,h);let D=H.indexOffset,K=j[k],Y=i[k];for(F[k]=D,I=0;I<Y;I+=3){let e=n[K+I]-b,r=n[K+I+1]-b,a=n[K+I+2]-b;P[D++]=2*e+t,P[D++]=2*r+t,P[D++]=2*a+t,P[D++]=2*a+1+t,P[D++]=2*r+1+t,P[D++]=2*e+1+t}for(I=0;I<y;++I){let e=I,n=(I+1)%y;P[D++]=2*e+1+t,P[D++]=2*n+t,P[D++]=2*e+t,P[D++]=2*e+1+t,P[D++]=2*n+1+t,P[D++]=2*n+t}H.offset+=2*y,H.indexOffset=D,G[k]=D-F[k]}P=W.createTypedArray(B.length/3,P);let _=Y.length;for(let t=0;t<_;++t){let e=Y[t].batchIds,n=0,r=e.length;for(let t=0;t<r;++t)n+=G[e[t]];Y[t].count=n}let J=Ct(2===P.BYTES_PER_ELEMENT?W.UNSIGNED_SHORT:W.UNSIGNED_INT,l,Y);return e.push(B.buffer,P.buffer,F.buffer,G.buffer,O.buffer,J.buffer),{positions:B.buffer,indices:P.buffer,indexOffsets:F.buffer,indexCounts:G.buffer,batchIds:O.buffer,packedBuffer:J.buffer}}var Jt=It(Rt);export{Jt as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createVectorTilePolylines.js.LICENSE.txt */
2
+ import{a as K}from"./chunk-D2NFCOGE.js";import{a as G}from"./chunk-VHZAK4GN.js";import{a as S}from"./chunk-T6Q6HX5J.js";import{d as B,i as R}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as t,b as _,d as L}from"./chunk-KWAHJ72S.js";import{a as F}from"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import"./chunk-XRRBRTKL.js";var O=32767,ct=new _,rt=new t;function it(e,r,a,n,u){let o=e.length/3,s=e.subarray(0,o),f=e.subarray(o,2*o),i=e.subarray(2*o,3*o);G.zigZagDeltaDecode(s,f,i);let c=new Float64Array(e.length);for(let e=0;e<o;++e){let o=s[e],p=f[e],l=i[e],d=F.lerp(r.west,r.east,o/O),k=F.lerp(r.south,r.north,p/O),h=F.lerp(a,n,l/O),b=_.fromRadians(d,k,h,ct),m=u.cartographicToCartesian(b,rt);t.pack(m,c,3*e)}return c}var Y=it,X=new R,$=new L,j=new t,H={min:void 0,max:void 0};function at(e){e=new Float64Array(e);let r=0;H.min=e[r++],H.max=e[r++],R.unpack(e,r,X),r+=R.packedLength,L.unpack(e,r,$),r+=L.packedLength,t.unpack(e,r,j)}function ft(t){let e=t.length,r=new Uint32Array(e+1),a=0;for(let n=0;n<e;++n)r[n]=a,a+=t[n];return r[e]=a,r}var Z=new t,q=new t,J=new t,dt=new t,Q=new t;function ut(e,r){let a=new Uint16Array(e.positions),n=new Uint16Array(e.widths),u=new Uint32Array(e.counts),o=new Uint16Array(e.batchIds);at(e.packedBuffer);let s,f=X,i=$,c=j,p=H.min,l=H.max,d=Y(a,f,p,l,i),k=d.length/3,h=4*k-4,b=new Float32Array(3*h),m=new Float32Array(3*h),w=new Float32Array(3*h),y=new Float32Array(2*h),A=new Uint16Array(h),R=0,U=0,F=0,g=0,D=u.length;for(s=0;s<D;++s){let e=u[s],r=n[s],a=o[s];for(let n=0;n<e;++n){let u;if(0===n){let e=t.unpack(d,3*g,Z),r=t.unpack(d,3*(g+1),q);u=t.subtract(e,r,J),t.add(e,u,u)}else u=t.unpack(d,3*(g+n-1),J);let o,s=t.unpack(d,3*(g+n),dt);if(n===e-1){let r=t.unpack(d,3*(g+e-1),Z),a=t.unpack(d,3*(g+e-2),q);o=t.subtract(r,a,Q),t.add(r,o,o)}else o=t.unpack(d,3*(g+n+1),Q);t.subtract(u,c,u),t.subtract(s,c,s),t.subtract(o,c,o);let f=n===e-1?2:4;for(let e=0===n?2:0;e<f;++e){t.pack(s,b,R),t.pack(u,m,R),t.pack(o,w,R),R+=3;let n=e-2<0?-1:1;y[U++]=e%2*2-1,y[U++]=n*r,A[F++]=a}}g+=e}let T=S.createTypedArray(h,6*k-6),G=0,I=0;for(D=k-1,s=0;s<D;++s)T[I++]=G,T[I++]=G+2,T[I++]=G+1,T[I++]=G+1,T[I++]=G+2,T[I++]=G+3,G+=4;r.push(b.buffer,m.buffer,w.buffer),r.push(y.buffer,A.buffer,T.buffer);let N={indexDatatype:2===T.BYTES_PER_ELEMENT?S.UNSIGNED_SHORT:S.UNSIGNED_INT,currentPositions:b.buffer,previousPositions:m.buffer,nextPositions:w.buffer,expandAndWidth:y.buffer,batchIds:A.buffer,indices:T.buffer};if(e.keepDecodedPositions){let t=ft(u);r.push(d.buffer,t.buffer),N=B(N,{decodedPositions:d.buffer,decodedPositionOffsets:t.buffer})}return N}var It=K(ut);export{It as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createVerticesFromCesium3DTilesTerrain.js.LICENSE.txt */
2
+ import{a as u}from"./chunk-LPJEXZWM.js";import"./chunk-YY6GMQGO.js";import"./chunk-BJAB7QAF.js";import{a as f}from"./chunk-D2NFCOGE.js";import"./chunk-XBWRWNYZ.js";import"./chunk-SCO7TMKT.js";import"./chunk-VHZAK4GN.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import"./chunk-T6Q6HX5J.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import"./chunk-XRRBRTKL.js";function a(t,r){return u.createMesh(t).then((function(t){let u=t.vertices.buffer,s=t.indices.buffer,n=t.westIndicesSouthToNorth.buffer,e=t.southIndicesEastToWest.buffer,i=t.eastIndicesNorthToSouth.buffer,o=t.northIndicesWestToEast.buffer;return r.push(u,s,n,e,i,o),{verticesBuffer:u,indicesBuffer:s,vertexCountWithoutSkirts:t.vertexCountWithoutSkirts,indexCountWithoutSkirts:t.indexCountWithoutSkirts,encoding:t.encoding,westIndicesBuffer:n,southIndicesBuffer:e,eastIndicesBuffer:i,northIndicesBuffer:o}}))}var T=f(a);export{T as default};
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createVerticesFromGoogleEarthEnterpriseBuffer.js.LICENSE.txt */
2
+ import{a as Dt,b as Gt}from"./chunk-BJAB7QAF.js";import{a as Lt}from"./chunk-D2NFCOGE.js";import{a as lt}from"./chunk-XBWRWNYZ.js";import{a as qt}from"./chunk-SCO7TMKT.js";import"./chunk-VHZAK4GN.js";import"./chunk-ET7KY3BS.js";import{a as kt}from"./chunk-CUP6SILZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{d as zt}from"./chunk-XQIJGAVD.js";import{b as $,h as Ot,i as Vt}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import{a as Ht}from"./chunk-5G23AKP3.js";import{a as P,b as N,c as wt,d as Ut}from"./chunk-KWAHJ72S.js";import{a as r}from"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as ht}from"./chunk-XRRBRTKL.js";var $t=Uint16Array.BYTES_PER_ELEMENT,mt=Int32Array.BYTES_PER_ELEMENT,Pt=Uint32Array.BYTES_PER_ELEMENT,te=Float32Array.BYTES_PER_ELEMENT,H=Float64Array.BYTES_PER_ELEMENT;function tt(t,e,n){n=n??r;let i=t.length;for(let o=0;o<i;++o)if(n.equalsEpsilon(t[o],e,r.EPSILON12))return o;return-1}function ee(t,e){t.ellipsoid=Ut.clone(t.ellipsoid),t.rectangle=Vt.clone(t.rectangle);let n=re(t.buffer,t.relativeToCenter,t.ellipsoid,t.rectangle,t.nativeRectangle,t.exaggeration,t.exaggerationRelativeHeight,t.skirtHeight,t.includeWebMercatorT,t.negativeAltitudeExponentBias,t.negativeElevationThreshold),i=n.vertices;e.push(i.buffer);let r=n.indices;return e.push(r.buffer),{vertices:i.buffer,indices:r.buffer,numberOfAttributes:n.encoding.stride,minimumHeight:n.minimumHeight,maximumHeight:n.maximumHeight,boundingSphere3D:n.boundingSphere3D,orientedBoundingBox:n.orientedBoundingBox,occludeePointInScaledSpace:n.occludeePointInScaledSpace,encoding:n.encoding,vertexCountWithoutSkirts:n.vertexCountWithoutSkirts,indexCountWithoutSkirts:n.indexCountWithoutSkirts,westIndicesSouthToNorth:n.westIndicesSouthToNorth,southIndicesEastToWest:n.southIndicesEastToWest,eastIndicesNorthToSouth:n.eastIndicesNorthToSouth,northIndicesWestToEast:n.northIndicesWestToEast}}var u=new N,G=new P,oe=new P,ne=new P,ie=new $;function re(t,e,n,i,o,a,s,l,h,c,d){let m,g,p,I,f,T;ht(i)?(m=i.west,g=i.south,p=i.east,I=i.north,f=i.width,T=i.height):(m=r.toRadians(o.west),g=r.toRadians(o.south),p=r.toRadians(o.east),I=r.toRadians(o.north),f=r.toRadians(i.width),T=r.toRadians(i.height));let E,S,x=[g,I],w=[m,p],A=Ot.eastNorthUpToFixedFrame(e,n),R=$.inverseTransformation(A,ie);h&&(E=lt.geodeticLatitudeToMercatorAngle(g),S=1/(lt.geodeticLatitudeToMercatorAngle(I)-E));let k=1!==a,b=new DataView(t),B=Number.POSITIVE_INFINITY,y=Number.NEGATIVE_INFINITY,M=oe;M.x=Number.POSITIVE_INFINITY,M.y=Number.POSITIVE_INFINITY,M.z=Number.POSITIVE_INFINITY;let v=ne;v.x=Number.NEGATIVE_INFINITY,v.y=Number.NEGATIVE_INFINITY,v.z=Number.NEGATIVE_INFINITY;let F,W,_=0,C=0,U=0;for(W=0;W<4;++W){let t=_;F=b.getUint32(t,!0),t+=Pt;let e=r.toRadians(180*b.getFloat64(t,!0));t+=H,-1===tt(w,e)&&w.push(e);let n=r.toRadians(180*b.getFloat64(t,!0));t+=H,-1===tt(x,n)&&x.push(n),t+=2*H;let i=b.getInt32(t,!0);t+=mt,C+=i,i=b.getInt32(t,!0),U+=3*i,_+=F+Pt}let j=[],Y=[],L=new Array(C),O=new Array(C),V=new Array(C),D=h?new Array(C):[],K=k?new Array(C):[],z=new Array(U),J=[],X=[],Z=[],q=[],Q=0,et=0;for(_=0,W=0;W<4;++W){F=b.getUint32(_,!0),_+=Pt;let t=_,e=r.toRadians(180*b.getFloat64(_,!0));_+=H;let i=r.toRadians(180*b.getFloat64(_,!0));_+=H;let o=r.toRadians(180*b.getFloat64(_,!0)),a=.5*o;_+=H;let s=r.toRadians(180*b.getFloat64(_,!0)),l=.5*s;_+=H;let f=b.getInt32(_,!0);_+=mt;let T=b.getInt32(_,!0);_+=mt,_+=mt;let A=new Array(f);for(let t=0;t<f;++t){let f=e+b.getUint8(_++)*o;u.longitude=f;let T=i+b.getUint8(_++)*s;u.latitude=T;let H=b.getFloat32(_,!0);if(_+=te,0!==H&&H<d&&(H*=-Math.pow(2,c)),H*=6371010,u.height=H,-1!==tt(w,f)||-1!==tt(x,T)){let e=tt(j,u,N);if(-1!==e){A[t]=Y[e];continue}j.push(N.clone(u)),Y.push(Q)}A[t]=Q,Math.abs(f-m)<a?J.push({index:Q,cartographic:N.clone(u)}):Math.abs(f-p)<a?Z.push({index:Q,cartographic:N.clone(u)}):Math.abs(T-g)<l?X.push({index:Q,cartographic:N.clone(u)}):Math.abs(T-I)<l&&q.push({index:Q,cartographic:N.clone(u)}),B=Math.min(H,B),y=Math.max(H,y),V[Q]=H;let F=n.cartographicToCartesian(u);if(L[Q]=F,h&&(D[Q]=(lt.geodeticLatitudeToMercatorAngle(T)-E)*S),k){let t=n.geodeticSurfaceNormal(F);K[Q]=t}$.multiplyByPoint(R,F,G),P.minimumByComponent(G,M,M),P.maximumByComponent(G,v,v);let W=(f-m)/(p-m);W=r.clamp(W,0,1);let C=(T-g)/(I-g);C=r.clamp(C,0,1),O[Q]=new wt(W,C),++Q}let W=3*T;for(let t=0;t<W;++t,++et)z[et]=A[b.getUint16(_,!0)],_+=$t;if(F!==_-t)throw new Ht("Invalid terrain tile.")}L.length=Q,O.length=Q,V.length=Q,h&&(D.length=Q),k&&(K.length=Q);let nt=Q,it=et,rt={hMin:B,lastBorderPoint:void 0,skirtHeight:l,toENU:R,ellipsoid:n,minimum:M,maximum:v};J.sort((function(t,e){return e.cartographic.latitude-t.cartographic.latitude})),X.sort((function(t,e){return t.cartographic.longitude-e.cartographic.longitude})),Z.sort((function(t,e){return t.cartographic.latitude-e.cartographic.latitude})),q.sort((function(t,e){return e.cartographic.longitude-t.cartographic.longitude}));let ot=1e-5;if(gt(L,V,O,D,K,z,rt,J,-ot*f,!0,-ot*T),gt(L,V,O,D,K,z,rt,X,-ot*T,!1),gt(L,V,O,D,K,z,rt,Z,ot*f,!0,ot*T),gt(L,V,O,D,K,z,rt,q,ot*T,!1),J.length>0&&q.length>0){let t=J[0].index,e=nt,n=q[q.length-1].index,i=L.length-1;z.push(n,i,e,e,t,n)}C=L.length;let at,ut=zt.fromPoints(L);ht(i)&&(at=qt.fromRectangle(i,B,y,n));let st=new Dt(n).computeHorizonCullingPointPossiblyUnderEllipsoid(e,L,B),ct=new kt(M,v,e),dt=new Gt(e,ct,rt.hMin,y,A,!1,h,k,a,s),pt=new Float32Array(C*dt.stride),It=0;for(let t=0;t<C;++t)It=dt.encode(pt,It,L[t],O[t],V[t],void 0,D[t],K[t]);let Nt=J.map((function(t){return t.index})).reverse(),ft=X.map((function(t){return t.index})).reverse(),Tt=Z.map((function(t){return t.index})).reverse(),Et=q.map((function(t){return t.index})).reverse();return ft.unshift(Tt[Tt.length-1]),ft.push(Nt[0]),Et.unshift(Nt[Nt.length-1]),Et.push(Tt[0]),{vertices:pt,indices:new Uint16Array(z),maximumHeight:y,minimumHeight:B,encoding:dt,boundingSphere3D:ut,orientedBoundingBox:at,occludeePointInScaledSpace:st,vertexCountWithoutSkirts:nt,indexCountWithoutSkirts:it,westIndicesSouthToNorth:Nt,southIndicesEastToWest:ft,eastIndicesNorthToSouth:Tt,northIndicesWestToEast:Et}}function gt(t,e,n,i,o,a,s,l,h,c,d){let m=l.length;for(let g=0;g<m;++g){let p=l[g],I=p.cartographic,f=p.index,T=t.length,E=I.longitude,S=I.latitude;S=r.clamp(S,-r.PI_OVER_TWO,r.PI_OVER_TWO);let x=I.height-s.skirtHeight;s.hMin=Math.min(s.hMin,x),N.fromRadians(E,S,x,u),c&&(u.longitude+=h),c?g===m-1?u.latitude+=d:0===g&&(u.latitude-=d):u.latitude+=h;let w=s.ellipsoid.cartographicToCartesian(u);t.push(w),e.push(x),n.push(wt.clone(n[f])),i.length>0&&i.push(i[f]),o.length>0&&o.push(o[f]),$.multiplyByPoint(s.toENU,w,G);let A=s.minimum,R=s.maximum;P.minimumByComponent(G,A,A),P.maximumByComponent(G,R,R);let k=s.lastBorderPoint;if(ht(k)){let t=k.index;a.push(t,T-1,T,T,f,t)}s.lastBorderPoint=p}}var we=Lt(ee);export{we as default};