easy-three-utils 0.0.337 → 0.0.339

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 (464) hide show
  1. package/cesium/components/react/Timeline/index.tsx +2 -1
  2. package/cesium/components/react/image/pause.png +0 -0
  3. package/cesium/components/react/image/play.png +0 -0
  4. package/cesium/components/react/image/stop.png +0 -0
  5. package/cesium/mars3d/data/militaryList.d.ts +7 -0
  6. package/cesium/mars3d/data/militaryList.js +9715 -0
  7. package/cesium/mars3d/data/militaryTree.d.ts +9 -0
  8. package/cesium/mars3d/data/militaryTree.js +9145 -0
  9. package/cesium/mars3d/drawPolygon.d.ts +93 -0
  10. package/cesium/mars3d/drawPolygon.js +1 -0
  11. package/cesium/utils/useCloud.ts +113 -0
  12. package/cesium/utils/useDrawTools.ts +50 -0
  13. package/package.json +1 -1
  14. package/cesium/modules/dayjs/.editorconfig +0 -7
  15. package/cesium/modules/dayjs/CHANGELOG.md +0 -982
  16. package/cesium/modules/dayjs/LICENSE +0 -21
  17. package/cesium/modules/dayjs/README.md +0 -180
  18. package/cesium/modules/dayjs/dayjs.min.js +0 -1
  19. package/cesium/modules/dayjs/esm/constant.js +0 -25
  20. package/cesium/modules/dayjs/esm/index.d.ts +0 -429
  21. package/cesium/modules/dayjs/esm/index.js +0 -541
  22. package/cesium/modules/dayjs/esm/locale/af.js +0 -39
  23. package/cesium/modules/dayjs/esm/locale/am.js +0 -40
  24. package/cesium/modules/dayjs/esm/locale/ar-dz.js +0 -41
  25. package/cesium/modules/dayjs/esm/locale/ar-iq.js +0 -42
  26. package/cesium/modules/dayjs/esm/locale/ar-kw.js +0 -41
  27. package/cesium/modules/dayjs/esm/locale/ar-ly.js +0 -27
  28. package/cesium/modules/dayjs/esm/locale/ar-ma.js +0 -42
  29. package/cesium/modules/dayjs/esm/locale/ar-sa.js +0 -41
  30. package/cesium/modules/dayjs/esm/locale/ar-tn.js +0 -42
  31. package/cesium/modules/dayjs/esm/locale/ar.js +0 -77
  32. package/cesium/modules/dayjs/esm/locale/az.js +0 -39
  33. package/cesium/modules/dayjs/esm/locale/be.js +0 -24
  34. package/cesium/modules/dayjs/esm/locale/bg.js +0 -55
  35. package/cesium/modules/dayjs/esm/locale/bi.js +0 -39
  36. package/cesium/modules/dayjs/esm/locale/bm.js +0 -39
  37. package/cesium/modules/dayjs/esm/locale/bn-bd.js +0 -81
  38. package/cesium/modules/dayjs/esm/locale/bn.js +0 -72
  39. package/cesium/modules/dayjs/esm/locale/bo.js +0 -38
  40. package/cesium/modules/dayjs/esm/locale/br.js +0 -93
  41. package/cesium/modules/dayjs/esm/locale/bs.js +0 -24
  42. package/cesium/modules/dayjs/esm/locale/ca.js +0 -44
  43. package/cesium/modules/dayjs/esm/locale/cs.js +0 -120
  44. package/cesium/modules/dayjs/esm/locale/cv.js +0 -24
  45. package/cesium/modules/dayjs/esm/locale/cy.js +0 -39
  46. package/cesium/modules/dayjs/esm/locale/da.js +0 -40
  47. package/cesium/modules/dayjs/esm/locale/de-at.js +0 -63
  48. package/cesium/modules/dayjs/esm/locale/de-ch.js +0 -63
  49. package/cesium/modules/dayjs/esm/locale/de.js +0 -64
  50. package/cesium/modules/dayjs/esm/locale/dv.js +0 -39
  51. package/cesium/modules/dayjs/esm/locale/el.js +0 -39
  52. package/cesium/modules/dayjs/esm/locale/en-au.js +0 -41
  53. package/cesium/modules/dayjs/esm/locale/en-ca.js +0 -38
  54. package/cesium/modules/dayjs/esm/locale/en-gb.js +0 -42
  55. package/cesium/modules/dayjs/esm/locale/en-ie.js +0 -39
  56. package/cesium/modules/dayjs/esm/locale/en-il.js +0 -38
  57. package/cesium/modules/dayjs/esm/locale/en-in.js +0 -42
  58. package/cesium/modules/dayjs/esm/locale/en-nz.js +0 -41
  59. package/cesium/modules/dayjs/esm/locale/en-sg.js +0 -39
  60. package/cesium/modules/dayjs/esm/locale/en-tt.js +0 -42
  61. package/cesium/modules/dayjs/esm/locale/en.js +0 -12
  62. package/cesium/modules/dayjs/esm/locale/eo.js +0 -39
  63. package/cesium/modules/dayjs/esm/locale/es-do.js +0 -39
  64. package/cesium/modules/dayjs/esm/locale/es-mx.js +0 -38
  65. package/cesium/modules/dayjs/esm/locale/es-pr.js +0 -39
  66. package/cesium/modules/dayjs/esm/locale/es-us.js +0 -38
  67. package/cesium/modules/dayjs/esm/locale/es.js +0 -39
  68. package/cesium/modules/dayjs/esm/locale/et.js +0 -65
  69. package/cesium/modules/dayjs/esm/locale/eu.js +0 -43
  70. package/cesium/modules/dayjs/esm/locale/fa.js +0 -39
  71. package/cesium/modules/dayjs/esm/locale/fi.js +0 -88
  72. package/cesium/modules/dayjs/esm/locale/fo.js +0 -39
  73. package/cesium/modules/dayjs/esm/locale/fr-ca.js +0 -38
  74. package/cesium/modules/dayjs/esm/locale/fr-ch.js +0 -39
  75. package/cesium/modules/dayjs/esm/locale/fr.js +0 -41
  76. package/cesium/modules/dayjs/esm/locale/fy.js +0 -39
  77. package/cesium/modules/dayjs/esm/locale/ga.js +0 -39
  78. package/cesium/modules/dayjs/esm/locale/gd.js +0 -39
  79. package/cesium/modules/dayjs/esm/locale/gl.js +0 -39
  80. package/cesium/modules/dayjs/esm/locale/gom-latn.js +0 -25
  81. package/cesium/modules/dayjs/esm/locale/gu.js +0 -38
  82. package/cesium/modules/dayjs/esm/locale/he.js +0 -78
  83. package/cesium/modules/dayjs/esm/locale/hi.js +0 -38
  84. package/cesium/modules/dayjs/esm/locale/hr.js +0 -53
  85. package/cesium/modules/dayjs/esm/locale/ht.js +0 -38
  86. package/cesium/modules/dayjs/esm/locale/hu.js +0 -61
  87. package/cesium/modules/dayjs/esm/locale/hy-am.js +0 -39
  88. package/cesium/modules/dayjs/esm/locale/id.js +0 -39
  89. package/cesium/modules/dayjs/esm/locale/index.d.ts +0 -11
  90. package/cesium/modules/dayjs/esm/locale/is.js +0 -68
  91. package/cesium/modules/dayjs/esm/locale/it-ch.js +0 -39
  92. package/cesium/modules/dayjs/esm/locale/it.js +0 -39
  93. package/cesium/modules/dayjs/esm/locale/ja.js +0 -45
  94. package/cesium/modules/dayjs/esm/locale/jv.js +0 -39
  95. package/cesium/modules/dayjs/esm/locale/ka.js +0 -39
  96. package/cesium/modules/dayjs/esm/locale/kk.js +0 -39
  97. package/cesium/modules/dayjs/esm/locale/km.js +0 -39
  98. package/cesium/modules/dayjs/esm/locale/kn.js +0 -38
  99. package/cesium/modules/dayjs/esm/locale/ko.js +0 -45
  100. package/cesium/modules/dayjs/esm/locale/ku.js +0 -77
  101. package/cesium/modules/dayjs/esm/locale/ky.js +0 -39
  102. package/cesium/modules/dayjs/esm/locale/lb.js +0 -24
  103. package/cesium/modules/dayjs/esm/locale/lo.js +0 -38
  104. package/cesium/modules/dayjs/esm/locale/lt.js +0 -70
  105. package/cesium/modules/dayjs/esm/locale/lv.js +0 -39
  106. package/cesium/modules/dayjs/esm/locale/me.js +0 -24
  107. package/cesium/modules/dayjs/esm/locale/mi.js +0 -39
  108. package/cesium/modules/dayjs/esm/locale/mk.js +0 -39
  109. package/cesium/modules/dayjs/esm/locale/ml.js +0 -38
  110. package/cesium/modules/dayjs/esm/locale/mn.js +0 -38
  111. package/cesium/modules/dayjs/esm/locale/mr.js +0 -23
  112. package/cesium/modules/dayjs/esm/locale/ms-my.js +0 -39
  113. package/cesium/modules/dayjs/esm/locale/ms.js +0 -39
  114. package/cesium/modules/dayjs/esm/locale/mt.js +0 -39
  115. package/cesium/modules/dayjs/esm/locale/my.js +0 -39
  116. package/cesium/modules/dayjs/esm/locale/nb.js +0 -40
  117. package/cesium/modules/dayjs/esm/locale/ne.js +0 -40
  118. package/cesium/modules/dayjs/esm/locale/nl-be.js +0 -39
  119. package/cesium/modules/dayjs/esm/locale/nl.js +0 -40
  120. package/cesium/modules/dayjs/esm/locale/nn.js +0 -39
  121. package/cesium/modules/dayjs/esm/locale/oc-lnc.js +0 -39
  122. package/cesium/modules/dayjs/esm/locale/pa-in.js +0 -38
  123. package/cesium/modules/dayjs/esm/locale/pl.js +0 -87
  124. package/cesium/modules/dayjs/esm/locale/pt-br.js +0 -38
  125. package/cesium/modules/dayjs/esm/locale/pt.js +0 -40
  126. package/cesium/modules/dayjs/esm/locale/rn.js +0 -39
  127. package/cesium/modules/dayjs/esm/locale/ro.js +0 -39
  128. package/cesium/modules/dayjs/esm/locale/ru.js +0 -99
  129. package/cesium/modules/dayjs/esm/locale/rw.js +0 -35
  130. package/cesium/modules/dayjs/esm/locale/sd.js +0 -39
  131. package/cesium/modules/dayjs/esm/locale/se.js +0 -39
  132. package/cesium/modules/dayjs/esm/locale/si.js +0 -38
  133. package/cesium/modules/dayjs/esm/locale/sk.js +0 -121
  134. package/cesium/modules/dayjs/esm/locale/sl.js +0 -141
  135. package/cesium/modules/dayjs/esm/locale/sq.js +0 -39
  136. package/cesium/modules/dayjs/esm/locale/sr-cyrl.js +0 -74
  137. package/cesium/modules/dayjs/esm/locale/sr.js +0 -74
  138. package/cesium/modules/dayjs/esm/locale/ss.js +0 -39
  139. package/cesium/modules/dayjs/esm/locale/sv-fi.js +0 -46
  140. package/cesium/modules/dayjs/esm/locale/sv.js +0 -44
  141. package/cesium/modules/dayjs/esm/locale/sw.js +0 -39
  142. package/cesium/modules/dayjs/esm/locale/ta.js +0 -38
  143. package/cesium/modules/dayjs/esm/locale/te.js +0 -38
  144. package/cesium/modules/dayjs/esm/locale/tet.js +0 -39
  145. package/cesium/modules/dayjs/esm/locale/tg.js +0 -39
  146. package/cesium/modules/dayjs/esm/locale/th.js +0 -38
  147. package/cesium/modules/dayjs/esm/locale/tk.js +0 -39
  148. package/cesium/modules/dayjs/esm/locale/tl-ph.js +0 -39
  149. package/cesium/modules/dayjs/esm/locale/tlh.js +0 -24
  150. package/cesium/modules/dayjs/esm/locale/tr.js +0 -39
  151. package/cesium/modules/dayjs/esm/locale/types.d.ts +0 -33
  152. package/cesium/modules/dayjs/esm/locale/tzl.js +0 -24
  153. package/cesium/modules/dayjs/esm/locale/tzm-latn.js +0 -39
  154. package/cesium/modules/dayjs/esm/locale/tzm.js +0 -39
  155. package/cesium/modules/dayjs/esm/locale/ug-cn.js +0 -39
  156. package/cesium/modules/dayjs/esm/locale/uk.js +0 -77
  157. package/cesium/modules/dayjs/esm/locale/ur.js +0 -39
  158. package/cesium/modules/dayjs/esm/locale/uz-latn.js +0 -39
  159. package/cesium/modules/dayjs/esm/locale/uz.js +0 -39
  160. package/cesium/modules/dayjs/esm/locale/vi.js +0 -43
  161. package/cesium/modules/dayjs/esm/locale/x-pseudo.js +0 -39
  162. package/cesium/modules/dayjs/esm/locale/yo.js +0 -39
  163. package/cesium/modules/dayjs/esm/locale/zh-cn.js +0 -67
  164. package/cesium/modules/dayjs/esm/locale/zh-hk.js +0 -65
  165. package/cesium/modules/dayjs/esm/locale/zh-tw.js +0 -65
  166. package/cesium/modules/dayjs/esm/locale/zh.js +0 -67
  167. package/cesium/modules/dayjs/esm/plugin/advancedFormat/index.d.ts +0 -4
  168. package/cesium/modules/dayjs/esm/plugin/advancedFormat/index.js +0 -66
  169. package/cesium/modules/dayjs/esm/plugin/arraySupport/index.d.ts +0 -10
  170. package/cesium/modules/dayjs/esm/plugin/arraySupport/index.js +0 -33
  171. package/cesium/modules/dayjs/esm/plugin/badMutable/index.d.ts +0 -4
  172. package/cesium/modules/dayjs/esm/plugin/badMutable/index.js +0 -61
  173. package/cesium/modules/dayjs/esm/plugin/bigIntSupport/index.d.ts +0 -11
  174. package/cesium/modules/dayjs/esm/plugin/bigIntSupport/index.js +0 -32
  175. package/cesium/modules/dayjs/esm/plugin/buddhistEra/index.d.ts +0 -4
  176. package/cesium/modules/dayjs/esm/plugin/buddhistEra/index.js +0 -21
  177. package/cesium/modules/dayjs/esm/plugin/calendar/index.d.ts +0 -10
  178. package/cesium/modules/dayjs/esm/plugin/calendar/index.js +0 -32
  179. package/cesium/modules/dayjs/esm/plugin/customParseFormat/index.d.ts +0 -8
  180. package/cesium/modules/dayjs/esm/plugin/customParseFormat/index.js +0 -333
  181. package/cesium/modules/dayjs/esm/plugin/dayOfYear/index.d.ts +0 -11
  182. package/cesium/modules/dayjs/esm/plugin/dayOfYear/index.js +0 -9
  183. package/cesium/modules/dayjs/esm/plugin/devHelper/index.d.ts +0 -4
  184. package/cesium/modules/dayjs/esm/plugin/devHelper/index.js +0 -38
  185. package/cesium/modules/dayjs/esm/plugin/duration/index.d.ts +0 -88
  186. package/cesium/modules/dayjs/esm/plugin/duration/index.js +0 -356
  187. package/cesium/modules/dayjs/esm/plugin/isBetween/index.d.ts +0 -10
  188. package/cesium/modules/dayjs/esm/plugin/isBetween/index.js +0 -10
  189. package/cesium/modules/dayjs/esm/plugin/isLeapYear/index.d.ts +0 -10
  190. package/cesium/modules/dayjs/esm/plugin/isLeapYear/index.js +0 -7
  191. package/cesium/modules/dayjs/esm/plugin/isMoment/index.d.ts +0 -10
  192. package/cesium/modules/dayjs/esm/plugin/isMoment/index.js +0 -5
  193. package/cesium/modules/dayjs/esm/plugin/isSameOrAfter/index.d.ts +0 -10
  194. package/cesium/modules/dayjs/esm/plugin/isSameOrAfter/index.js +0 -5
  195. package/cesium/modules/dayjs/esm/plugin/isSameOrBefore/index.d.ts +0 -10
  196. package/cesium/modules/dayjs/esm/plugin/isSameOrBefore/index.js +0 -5
  197. package/cesium/modules/dayjs/esm/plugin/isToday/index.d.ts +0 -10
  198. package/cesium/modules/dayjs/esm/plugin/isToday/index.js +0 -9
  199. package/cesium/modules/dayjs/esm/plugin/isTomorrow/index.d.ts +0 -10
  200. package/cesium/modules/dayjs/esm/plugin/isTomorrow/index.js +0 -9
  201. package/cesium/modules/dayjs/esm/plugin/isYesterday/index.d.ts +0 -10
  202. package/cesium/modules/dayjs/esm/plugin/isYesterday/index.js +0 -9
  203. package/cesium/modules/dayjs/esm/plugin/isoWeek/index.d.ts +0 -27
  204. package/cesium/modules/dayjs/esm/plugin/isoWeek/index.js +0 -57
  205. package/cesium/modules/dayjs/esm/plugin/isoWeeksInYear/index.d.ts +0 -10
  206. package/cesium/modules/dayjs/esm/plugin/isoWeeksInYear/index.js +0 -15
  207. package/cesium/modules/dayjs/esm/plugin/localeData/index.d.ts +0 -44
  208. package/cesium/modules/dayjs/esm/plugin/localeData/index.js +0 -114
  209. package/cesium/modules/dayjs/esm/plugin/localizedFormat/index.d.ts +0 -4
  210. package/cesium/modules/dayjs/esm/plugin/localizedFormat/index.js +0 -20
  211. package/cesium/modules/dayjs/esm/plugin/localizedFormat/utils.js +0 -20
  212. package/cesium/modules/dayjs/esm/plugin/minMax/index.d.ts +0 -22
  213. package/cesium/modules/dayjs/esm/plugin/minMax/index.js +0 -39
  214. package/cesium/modules/dayjs/esm/plugin/negativeYear/index.d.ts +0 -4
  215. package/cesium/modules/dayjs/esm/plugin/negativeYear/index.js +0 -36
  216. package/cesium/modules/dayjs/esm/plugin/objectSupport/index.d.ts +0 -48
  217. package/cesium/modules/dayjs/esm/plugin/objectSupport/index.js +0 -97
  218. package/cesium/modules/dayjs/esm/plugin/pluralGetSet/index.d.ts +0 -44
  219. package/cesium/modules/dayjs/esm/plugin/pluralGetSet/index.js +0 -7
  220. package/cesium/modules/dayjs/esm/plugin/preParsePostFormat/index.d.ts +0 -4
  221. package/cesium/modules/dayjs/esm/plugin/preParsePostFormat/index.js +0 -40
  222. package/cesium/modules/dayjs/esm/plugin/quarterOfYear/index.d.ts +0 -26
  223. package/cesium/modules/dayjs/esm/plugin/quarterOfYear/index.js +0 -41
  224. package/cesium/modules/dayjs/esm/plugin/relativeTime/index.d.ts +0 -24
  225. package/cesium/modules/dayjs/esm/plugin/relativeTime/index.js +0 -130
  226. package/cesium/modules/dayjs/esm/plugin/timezone/index.d.ts +0 -20
  227. package/cesium/modules/dayjs/esm/plugin/timezone/index.js +0 -198
  228. package/cesium/modules/dayjs/esm/plugin/toArray/index.d.ts +0 -10
  229. package/cesium/modules/dayjs/esm/plugin/toArray/index.js +0 -7
  230. package/cesium/modules/dayjs/esm/plugin/toObject/index.d.ts +0 -20
  231. package/cesium/modules/dayjs/esm/plugin/toObject/index.js +0 -15
  232. package/cesium/modules/dayjs/esm/plugin/updateLocale/index.d.ts +0 -8
  233. package/cesium/modules/dayjs/esm/plugin/updateLocale/index.js +0 -12
  234. package/cesium/modules/dayjs/esm/plugin/utc/index.d.ts +0 -19
  235. package/cesium/modules/dayjs/esm/plugin/utc/index.js +0 -188
  236. package/cesium/modules/dayjs/esm/plugin/weekOfYear/index.d.ts +0 -12
  237. package/cesium/modules/dayjs/esm/plugin/weekOfYear/index.js +0 -44
  238. package/cesium/modules/dayjs/esm/plugin/weekYear/index.d.ts +0 -10
  239. package/cesium/modules/dayjs/esm/plugin/weekYear/index.js +0 -19
  240. package/cesium/modules/dayjs/esm/plugin/weekday/index.d.ts +0 -12
  241. package/cesium/modules/dayjs/esm/plugin/weekday/index.js +0 -15
  242. package/cesium/modules/dayjs/esm/utils.js +0 -58
  243. package/cesium/modules/dayjs/index.d.ts +0 -429
  244. package/cesium/modules/dayjs/locale/af.js +0 -1
  245. package/cesium/modules/dayjs/locale/am.js +0 -1
  246. package/cesium/modules/dayjs/locale/ar-dz.js +0 -1
  247. package/cesium/modules/dayjs/locale/ar-iq.js +0 -1
  248. package/cesium/modules/dayjs/locale/ar-kw.js +0 -1
  249. package/cesium/modules/dayjs/locale/ar-ly.js +0 -1
  250. package/cesium/modules/dayjs/locale/ar-ma.js +0 -1
  251. package/cesium/modules/dayjs/locale/ar-sa.js +0 -1
  252. package/cesium/modules/dayjs/locale/ar-tn.js +0 -1
  253. package/cesium/modules/dayjs/locale/ar.js +0 -1
  254. package/cesium/modules/dayjs/locale/az.js +0 -1
  255. package/cesium/modules/dayjs/locale/be.js +0 -1
  256. package/cesium/modules/dayjs/locale/bg.js +0 -1
  257. package/cesium/modules/dayjs/locale/bi.js +0 -1
  258. package/cesium/modules/dayjs/locale/bm.js +0 -1
  259. package/cesium/modules/dayjs/locale/bn-bd.js +0 -1
  260. package/cesium/modules/dayjs/locale/bn.js +0 -1
  261. package/cesium/modules/dayjs/locale/bo.js +0 -1
  262. package/cesium/modules/dayjs/locale/br.js +0 -1
  263. package/cesium/modules/dayjs/locale/bs.js +0 -1
  264. package/cesium/modules/dayjs/locale/ca.js +0 -1
  265. package/cesium/modules/dayjs/locale/cs.js +0 -1
  266. package/cesium/modules/dayjs/locale/cv.js +0 -1
  267. package/cesium/modules/dayjs/locale/cy.js +0 -1
  268. package/cesium/modules/dayjs/locale/da.js +0 -1
  269. package/cesium/modules/dayjs/locale/de-at.js +0 -1
  270. package/cesium/modules/dayjs/locale/de-ch.js +0 -1
  271. package/cesium/modules/dayjs/locale/de.js +0 -1
  272. package/cesium/modules/dayjs/locale/dv.js +0 -1
  273. package/cesium/modules/dayjs/locale/el.js +0 -1
  274. package/cesium/modules/dayjs/locale/en-au.js +0 -1
  275. package/cesium/modules/dayjs/locale/en-ca.js +0 -1
  276. package/cesium/modules/dayjs/locale/en-gb.js +0 -1
  277. package/cesium/modules/dayjs/locale/en-ie.js +0 -1
  278. package/cesium/modules/dayjs/locale/en-il.js +0 -1
  279. package/cesium/modules/dayjs/locale/en-in.js +0 -1
  280. package/cesium/modules/dayjs/locale/en-nz.js +0 -1
  281. package/cesium/modules/dayjs/locale/en-sg.js +0 -1
  282. package/cesium/modules/dayjs/locale/en-tt.js +0 -1
  283. package/cesium/modules/dayjs/locale/en.js +0 -1
  284. package/cesium/modules/dayjs/locale/eo.js +0 -1
  285. package/cesium/modules/dayjs/locale/es-do.js +0 -1
  286. package/cesium/modules/dayjs/locale/es-mx.js +0 -1
  287. package/cesium/modules/dayjs/locale/es-pr.js +0 -1
  288. package/cesium/modules/dayjs/locale/es-us.js +0 -1
  289. package/cesium/modules/dayjs/locale/es.js +0 -1
  290. package/cesium/modules/dayjs/locale/et.js +0 -1
  291. package/cesium/modules/dayjs/locale/eu.js +0 -1
  292. package/cesium/modules/dayjs/locale/fa.js +0 -1
  293. package/cesium/modules/dayjs/locale/fi.js +0 -1
  294. package/cesium/modules/dayjs/locale/fo.js +0 -1
  295. package/cesium/modules/dayjs/locale/fr-ca.js +0 -1
  296. package/cesium/modules/dayjs/locale/fr-ch.js +0 -1
  297. package/cesium/modules/dayjs/locale/fr.js +0 -1
  298. package/cesium/modules/dayjs/locale/fy.js +0 -1
  299. package/cesium/modules/dayjs/locale/ga.js +0 -1
  300. package/cesium/modules/dayjs/locale/gd.js +0 -1
  301. package/cesium/modules/dayjs/locale/gl.js +0 -1
  302. package/cesium/modules/dayjs/locale/gom-latn.js +0 -1
  303. package/cesium/modules/dayjs/locale/gu.js +0 -1
  304. package/cesium/modules/dayjs/locale/he.js +0 -1
  305. package/cesium/modules/dayjs/locale/hi.js +0 -1
  306. package/cesium/modules/dayjs/locale/hr.js +0 -1
  307. package/cesium/modules/dayjs/locale/ht.js +0 -1
  308. package/cesium/modules/dayjs/locale/hu.js +0 -1
  309. package/cesium/modules/dayjs/locale/hy-am.js +0 -1
  310. package/cesium/modules/dayjs/locale/id.js +0 -1
  311. package/cesium/modules/dayjs/locale/index.d.ts +0 -11
  312. package/cesium/modules/dayjs/locale/is.js +0 -1
  313. package/cesium/modules/dayjs/locale/it-ch.js +0 -1
  314. package/cesium/modules/dayjs/locale/it.js +0 -1
  315. package/cesium/modules/dayjs/locale/ja.js +0 -1
  316. package/cesium/modules/dayjs/locale/jv.js +0 -1
  317. package/cesium/modules/dayjs/locale/ka.js +0 -1
  318. package/cesium/modules/dayjs/locale/kk.js +0 -1
  319. package/cesium/modules/dayjs/locale/km.js +0 -1
  320. package/cesium/modules/dayjs/locale/kn.js +0 -1
  321. package/cesium/modules/dayjs/locale/ko.js +0 -1
  322. package/cesium/modules/dayjs/locale/ku.js +0 -1
  323. package/cesium/modules/dayjs/locale/ky.js +0 -1
  324. package/cesium/modules/dayjs/locale/lb.js +0 -1
  325. package/cesium/modules/dayjs/locale/lo.js +0 -1
  326. package/cesium/modules/dayjs/locale/lt.js +0 -1
  327. package/cesium/modules/dayjs/locale/lv.js +0 -1
  328. package/cesium/modules/dayjs/locale/me.js +0 -1
  329. package/cesium/modules/dayjs/locale/mi.js +0 -1
  330. package/cesium/modules/dayjs/locale/mk.js +0 -1
  331. package/cesium/modules/dayjs/locale/ml.js +0 -1
  332. package/cesium/modules/dayjs/locale/mn.js +0 -1
  333. package/cesium/modules/dayjs/locale/mr.js +0 -1
  334. package/cesium/modules/dayjs/locale/ms-my.js +0 -1
  335. package/cesium/modules/dayjs/locale/ms.js +0 -1
  336. package/cesium/modules/dayjs/locale/mt.js +0 -1
  337. package/cesium/modules/dayjs/locale/my.js +0 -1
  338. package/cesium/modules/dayjs/locale/nb.js +0 -1
  339. package/cesium/modules/dayjs/locale/ne.js +0 -1
  340. package/cesium/modules/dayjs/locale/nl-be.js +0 -1
  341. package/cesium/modules/dayjs/locale/nl.js +0 -1
  342. package/cesium/modules/dayjs/locale/nn.js +0 -1
  343. package/cesium/modules/dayjs/locale/oc-lnc.js +0 -1
  344. package/cesium/modules/dayjs/locale/pa-in.js +0 -1
  345. package/cesium/modules/dayjs/locale/pl.js +0 -1
  346. package/cesium/modules/dayjs/locale/pt-br.js +0 -1
  347. package/cesium/modules/dayjs/locale/pt.js +0 -1
  348. package/cesium/modules/dayjs/locale/rn.js +0 -1
  349. package/cesium/modules/dayjs/locale/ro.js +0 -1
  350. package/cesium/modules/dayjs/locale/ru.js +0 -1
  351. package/cesium/modules/dayjs/locale/rw.js +0 -1
  352. package/cesium/modules/dayjs/locale/sd.js +0 -1
  353. package/cesium/modules/dayjs/locale/se.js +0 -1
  354. package/cesium/modules/dayjs/locale/si.js +0 -1
  355. package/cesium/modules/dayjs/locale/sk.js +0 -1
  356. package/cesium/modules/dayjs/locale/sl.js +0 -1
  357. package/cesium/modules/dayjs/locale/sq.js +0 -1
  358. package/cesium/modules/dayjs/locale/sr-cyrl.js +0 -1
  359. package/cesium/modules/dayjs/locale/sr.js +0 -1
  360. package/cesium/modules/dayjs/locale/ss.js +0 -1
  361. package/cesium/modules/dayjs/locale/sv-fi.js +0 -1
  362. package/cesium/modules/dayjs/locale/sv.js +0 -1
  363. package/cesium/modules/dayjs/locale/sw.js +0 -1
  364. package/cesium/modules/dayjs/locale/ta.js +0 -1
  365. package/cesium/modules/dayjs/locale/te.js +0 -1
  366. package/cesium/modules/dayjs/locale/tet.js +0 -1
  367. package/cesium/modules/dayjs/locale/tg.js +0 -1
  368. package/cesium/modules/dayjs/locale/th.js +0 -1
  369. package/cesium/modules/dayjs/locale/tk.js +0 -1
  370. package/cesium/modules/dayjs/locale/tl-ph.js +0 -1
  371. package/cesium/modules/dayjs/locale/tlh.js +0 -1
  372. package/cesium/modules/dayjs/locale/tr.js +0 -1
  373. package/cesium/modules/dayjs/locale/types.d.ts +0 -33
  374. package/cesium/modules/dayjs/locale/tzl.js +0 -1
  375. package/cesium/modules/dayjs/locale/tzm-latn.js +0 -1
  376. package/cesium/modules/dayjs/locale/tzm.js +0 -1
  377. package/cesium/modules/dayjs/locale/ug-cn.js +0 -1
  378. package/cesium/modules/dayjs/locale/uk.js +0 -1
  379. package/cesium/modules/dayjs/locale/ur.js +0 -1
  380. package/cesium/modules/dayjs/locale/uz-latn.js +0 -1
  381. package/cesium/modules/dayjs/locale/uz.js +0 -1
  382. package/cesium/modules/dayjs/locale/vi.js +0 -1
  383. package/cesium/modules/dayjs/locale/x-pseudo.js +0 -1
  384. package/cesium/modules/dayjs/locale/yo.js +0 -1
  385. package/cesium/modules/dayjs/locale/zh-cn.js +0 -1
  386. package/cesium/modules/dayjs/locale/zh-hk.js +0 -1
  387. package/cesium/modules/dayjs/locale/zh-tw.js +0 -1
  388. package/cesium/modules/dayjs/locale/zh.js +0 -1
  389. package/cesium/modules/dayjs/locale.json +0 -1
  390. package/cesium/modules/dayjs/package.json +0 -85
  391. package/cesium/modules/dayjs/plugin/advancedFormat.d.ts +0 -4
  392. package/cesium/modules/dayjs/plugin/advancedFormat.js +0 -1
  393. package/cesium/modules/dayjs/plugin/arraySupport.d.ts +0 -10
  394. package/cesium/modules/dayjs/plugin/arraySupport.js +0 -1
  395. package/cesium/modules/dayjs/plugin/badMutable.d.ts +0 -4
  396. package/cesium/modules/dayjs/plugin/badMutable.js +0 -1
  397. package/cesium/modules/dayjs/plugin/bigIntSupport.d.ts +0 -11
  398. package/cesium/modules/dayjs/plugin/bigIntSupport.js +0 -1
  399. package/cesium/modules/dayjs/plugin/buddhistEra.d.ts +0 -4
  400. package/cesium/modules/dayjs/plugin/buddhistEra.js +0 -1
  401. package/cesium/modules/dayjs/plugin/calendar.d.ts +0 -10
  402. package/cesium/modules/dayjs/plugin/calendar.js +0 -1
  403. package/cesium/modules/dayjs/plugin/customParseFormat.d.ts +0 -8
  404. package/cesium/modules/dayjs/plugin/customParseFormat.js +0 -1
  405. package/cesium/modules/dayjs/plugin/dayOfYear.d.ts +0 -11
  406. package/cesium/modules/dayjs/plugin/dayOfYear.js +0 -1
  407. package/cesium/modules/dayjs/plugin/devHelper.d.ts +0 -4
  408. package/cesium/modules/dayjs/plugin/devHelper.js +0 -1
  409. package/cesium/modules/dayjs/plugin/duration.d.ts +0 -88
  410. package/cesium/modules/dayjs/plugin/duration.js +0 -1
  411. package/cesium/modules/dayjs/plugin/isBetween.d.ts +0 -10
  412. package/cesium/modules/dayjs/plugin/isBetween.js +0 -1
  413. package/cesium/modules/dayjs/plugin/isLeapYear.d.ts +0 -10
  414. package/cesium/modules/dayjs/plugin/isLeapYear.js +0 -1
  415. package/cesium/modules/dayjs/plugin/isMoment.d.ts +0 -10
  416. package/cesium/modules/dayjs/plugin/isMoment.js +0 -1
  417. package/cesium/modules/dayjs/plugin/isSameOrAfter.d.ts +0 -10
  418. package/cesium/modules/dayjs/plugin/isSameOrAfter.js +0 -1
  419. package/cesium/modules/dayjs/plugin/isSameOrBefore.d.ts +0 -10
  420. package/cesium/modules/dayjs/plugin/isSameOrBefore.js +0 -1
  421. package/cesium/modules/dayjs/plugin/isToday.d.ts +0 -10
  422. package/cesium/modules/dayjs/plugin/isToday.js +0 -1
  423. package/cesium/modules/dayjs/plugin/isTomorrow.d.ts +0 -10
  424. package/cesium/modules/dayjs/plugin/isTomorrow.js +0 -1
  425. package/cesium/modules/dayjs/plugin/isYesterday.d.ts +0 -10
  426. package/cesium/modules/dayjs/plugin/isYesterday.js +0 -1
  427. package/cesium/modules/dayjs/plugin/isoWeek.d.ts +0 -27
  428. package/cesium/modules/dayjs/plugin/isoWeek.js +0 -1
  429. package/cesium/modules/dayjs/plugin/isoWeeksInYear.d.ts +0 -10
  430. package/cesium/modules/dayjs/plugin/isoWeeksInYear.js +0 -1
  431. package/cesium/modules/dayjs/plugin/localeData.d.ts +0 -44
  432. package/cesium/modules/dayjs/plugin/localeData.js +0 -1
  433. package/cesium/modules/dayjs/plugin/localizedFormat.d.ts +0 -4
  434. package/cesium/modules/dayjs/plugin/localizedFormat.js +0 -1
  435. package/cesium/modules/dayjs/plugin/minMax.d.ts +0 -22
  436. package/cesium/modules/dayjs/plugin/minMax.js +0 -1
  437. package/cesium/modules/dayjs/plugin/negativeYear.d.ts +0 -4
  438. package/cesium/modules/dayjs/plugin/negativeYear.js +0 -1
  439. package/cesium/modules/dayjs/plugin/objectSupport.d.ts +0 -48
  440. package/cesium/modules/dayjs/plugin/objectSupport.js +0 -1
  441. package/cesium/modules/dayjs/plugin/pluralGetSet.d.ts +0 -44
  442. package/cesium/modules/dayjs/plugin/pluralGetSet.js +0 -1
  443. package/cesium/modules/dayjs/plugin/preParsePostFormat.d.ts +0 -4
  444. package/cesium/modules/dayjs/plugin/preParsePostFormat.js +0 -1
  445. package/cesium/modules/dayjs/plugin/quarterOfYear.d.ts +0 -26
  446. package/cesium/modules/dayjs/plugin/quarterOfYear.js +0 -1
  447. package/cesium/modules/dayjs/plugin/relativeTime.d.ts +0 -24
  448. package/cesium/modules/dayjs/plugin/relativeTime.js +0 -1
  449. package/cesium/modules/dayjs/plugin/timezone.d.ts +0 -20
  450. package/cesium/modules/dayjs/plugin/timezone.js +0 -1
  451. package/cesium/modules/dayjs/plugin/toArray.d.ts +0 -10
  452. package/cesium/modules/dayjs/plugin/toArray.js +0 -1
  453. package/cesium/modules/dayjs/plugin/toObject.d.ts +0 -20
  454. package/cesium/modules/dayjs/plugin/toObject.js +0 -1
  455. package/cesium/modules/dayjs/plugin/updateLocale.d.ts +0 -8
  456. package/cesium/modules/dayjs/plugin/updateLocale.js +0 -1
  457. package/cesium/modules/dayjs/plugin/utc.d.ts +0 -19
  458. package/cesium/modules/dayjs/plugin/utc.js +0 -1
  459. package/cesium/modules/dayjs/plugin/weekOfYear.d.ts +0 -12
  460. package/cesium/modules/dayjs/plugin/weekOfYear.js +0 -1
  461. package/cesium/modules/dayjs/plugin/weekYear.d.ts +0 -10
  462. package/cesium/modules/dayjs/plugin/weekYear.js +0 -1
  463. package/cesium/modules/dayjs/plugin/weekday.d.ts +0 -12
  464. package/cesium/modules/dayjs/plugin/weekday.js +0 -1
@@ -0,0 +1,93 @@
1
+ import * as cesium from 'cesium'
2
+ import * as mars3d from "mars3d"
3
+
4
+ /**
5
+ * @param clampToGround 是否贴地
6
+ * @param color 标绘颜色
7
+ * @param fill 是否填充
8
+ * @param chasIntext 是否显示文本
9
+ * @param lineType 线段类型
10
+ * @param lineWidth 线段宽度
11
+ * @param serif 是否显示衬线
12
+ * @param serifColor 衬线颜色
13
+ * @param serifDirect 衬线类型
14
+ * @param serifWidth 衬线类型
15
+ */
16
+
17
+ export interface GraphicStyleOptions {
18
+ clampToGround?: boolean
19
+ color?: string
20
+ fill?: boolean
21
+ chasIntext?: boolean
22
+ lineType?: number
23
+ lineWidth?: number
24
+ serif?: boolean
25
+ serifColor?: string
26
+ serifDirect?: number
27
+ serifWidth?: number
28
+ }
29
+
30
+ export interface FileLike {
31
+ name: string
32
+ originFileObj?: File
33
+ }
34
+
35
+ export interface PolygonUtils {
36
+
37
+ /**
38
+ * 当前选中polygon
39
+ */
40
+ graphic: Record<remove, () => void> | null
41
+
42
+ /**
43
+ * 初始化工具
44
+ * @param Viewer
45
+ */
46
+ init: (Viewer: cesium.Viewer) => void
47
+
48
+ /**
49
+ * 销毁工具
50
+ */
51
+ destroy: () => void
52
+
53
+ /**
54
+ * 开始绘制
55
+ * @param options
56
+ */
57
+ startDraw: (options: {
58
+ code: options.code,
59
+ name: options.name,
60
+ type: options.type,
61
+ style?: Record<string, any>
62
+ }) => void
63
+
64
+ /**
65
+ * 清空图层
66
+ */
67
+ clearLayer: () => void
68
+
69
+ /**
70
+ * 读取文件并加载
71
+ */
72
+ readFileAndload: (file: FileLike | File) => void
73
+
74
+ /**
75
+ * 保存并导出标注数据
76
+ */
77
+ saveAndExportFile: () => void
78
+
79
+ /**
80
+ * 获取指定图形的样式
81
+ */
82
+ getGraphicStyles: (graphicId: string) => { style: GraphicStyleOptions }
83
+
84
+ /**
85
+ * 设置当前选中图形的样式
86
+ */
87
+ setGraphicStyles: (options: { style: GraphicStyleOptions }) => void
88
+ }
89
+
90
+ /**
91
+ * 标绘工具 hooks
92
+ */
93
+ export declare function usePolygonUtils(): PolygonUtils
@@ -0,0 +1 @@
1
+ var _0xodf='jsjiami.com.v7';function _0x3efe(_0x11ef97,_0x218365){const _0x1165de=_0x128d();return _0x3efe=function(_0x425b0e,_0x5ca7a1){_0x425b0e=_0x425b0e-0x1e3;let _0x4fb4ed=_0x1165de[_0x425b0e];if(_0x3efe['NgLbXb']===undefined){var _0x48e3e1=function(_0x2eac83){const _0x128d1d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3efef3='',_0x4656a6='',_0xdfc5f5=_0x3efef3+_0x48e3e1;for(let _0x5cf8e0=0x0,_0x3d5759,_0x5d74e5,_0x185790=0x0;_0x5d74e5=_0x2eac83['charAt'](_0x185790++);~_0x5d74e5&&(_0x3d5759=_0x5cf8e0%0x4?_0x3d5759*0x40+_0x5d74e5:_0x5d74e5,_0x5cf8e0++%0x4)?_0x3efef3+=_0xdfc5f5['charCodeAt'](_0x185790+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x3d5759>>(-0x2*_0x5cf8e0&0x6)):_0x5cf8e0:0x0){_0x5d74e5=_0x128d1d['indexOf'](_0x5d74e5);}for(let _0x18f84d=0x0,_0x549be1=_0x3efef3['length'];_0x18f84d<_0x549be1;_0x18f84d++){_0x4656a6+='%'+('00'+_0x3efef3['charCodeAt'](_0x18f84d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4656a6);};const _0x1c0a3d=function(_0x5dc445,_0x31fb5e){let _0x51689e=[],_0x338082=0x0,_0x2f1c75,_0x15452f='';_0x5dc445=_0x48e3e1(_0x5dc445);let _0x364c70;for(_0x364c70=0x0;_0x364c70<0x100;_0x364c70++){_0x51689e[_0x364c70]=_0x364c70;}for(_0x364c70=0x0;_0x364c70<0x100;_0x364c70++){_0x338082=(_0x338082+_0x51689e[_0x364c70]+_0x31fb5e['charCodeAt'](_0x364c70%_0x31fb5e['length']))%0x100,_0x2f1c75=_0x51689e[_0x364c70],_0x51689e[_0x364c70]=_0x51689e[_0x338082],_0x51689e[_0x338082]=_0x2f1c75;}_0x364c70=0x0,_0x338082=0x0;for(let _0x2038b8=0x0;_0x2038b8<_0x5dc445['length'];_0x2038b8++){_0x364c70=(_0x364c70+0x1)%0x100,_0x338082=(_0x338082+_0x51689e[_0x364c70])%0x100,_0x2f1c75=_0x51689e[_0x364c70],_0x51689e[_0x364c70]=_0x51689e[_0x338082],_0x51689e[_0x338082]=_0x2f1c75,_0x15452f+=String['fromCharCode'](_0x5dc445['charCodeAt'](_0x2038b8)^_0x51689e[(_0x51689e[_0x364c70]+_0x51689e[_0x338082])%0x100]);}return _0x15452f;};_0x3efe['MCpbaI']=_0x1c0a3d,_0x11ef97=arguments,_0x3efe['NgLbXb']=!![];}const _0x1916a8=_0x1165de[0x0],_0x5f3024=_0x425b0e+_0x1916a8,_0x98282=_0x11ef97[_0x5f3024];if(!_0x98282){if(_0x3efe['ZFVecT']===undefined){const _0x417630=function(_0x34fd76){this['DnrtRv']=_0x34fd76,this['TeFIAy']=[0x1,0x0,0x0],this['GxOCBe']=function(){return'newState';},this['DUgMPu']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['tJDXIM']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x417630['prototype']['OrdnaV']=function(){const _0x5b16d8=new RegExp(this['DUgMPu']+this['tJDXIM']),_0x274d4b=_0x5b16d8['test'](this['GxOCBe']['toString']())?--this['TeFIAy'][0x1]:--this['TeFIAy'][0x0];return this['LJXfxc'](_0x274d4b);},_0x417630['prototype']['LJXfxc']=function(_0x4bd648){if(!Boolean(~_0x4bd648))return _0x4bd648;return this['Zlhxpf'](this['DnrtRv']);},_0x417630['prototype']['Zlhxpf']=function(_0xe412db){for(let _0x4569a5=0x0,_0xb8638a=this['TeFIAy']['length'];_0x4569a5<_0xb8638a;_0x4569a5++){this['TeFIAy']['push'](Math['round'](Math['random']())),_0xb8638a=this['TeFIAy']['length'];}return _0xe412db(this['TeFIAy'][0x0]);},new _0x417630(_0x3efe)['OrdnaV'](),_0x3efe['ZFVecT']=!![];}_0x4fb4ed=_0x3efe['MCpbaI'](_0x4fb4ed,_0x5ca7a1),_0x11ef97[_0x5f3024]=_0x4fb4ed;}else _0x4fb4ed=_0x98282;return _0x4fb4ed;},_0x3efe(_0x11ef97,_0x218365);}(function(_0x39c269,_0x2849ba,_0x4f7e76,_0x125854,_0x1f6471,_0x1575e4,_0x54dc12){return _0x39c269=_0x39c269>>0x5,_0x1575e4='hs',_0x54dc12='hs',function(_0x5950d3,_0x3eeefd,_0x2e88a7,_0x129a29,_0x1b85ee){const _0xafe5f2=_0x3efe;_0x129a29='tfi',_0x1575e4=_0x129a29+_0x1575e4,_0x1b85ee='up',_0x54dc12+=_0x1b85ee,_0x1575e4=_0x2e88a7(_0x1575e4),_0x54dc12=_0x2e88a7(_0x54dc12),_0x2e88a7=0x0;const _0x3fa5bb=_0x5950d3();while(!![]&&--_0x125854+_0x3eeefd){try{_0x129a29=parseInt(_0xafe5f2(0x22d,'PnUr'))/0x1*(parseInt(_0xafe5f2(0x2cc,'R[eZ'))/0x2)+parseInt(_0xafe5f2(0x290,'eExC'))/0x3+-parseInt(_0xafe5f2(0x2d2,'R[eZ'))/0x4*(-parseInt(_0xafe5f2(0x1e5,')Js1'))/0x5)+-parseInt(_0xafe5f2(0x279,'ABCx'))/0x6*(-parseInt(_0xafe5f2(0x20e,')Js1'))/0x7)+parseInt(_0xafe5f2(0x29d,'x6A^'))/0x8+parseInt(_0xafe5f2(0x224,'f*y('))/0x9*(-parseInt(_0xafe5f2(0x2a9,'J^Xq'))/0xa)+-parseInt(_0xafe5f2(0x286,'Dp[X'))/0xb;}catch(_0x15ad0b){_0x129a29=_0x2e88a7;}finally{_0x1b85ee=_0x3fa5bb[_0x1575e4]();if(_0x39c269<=_0x125854)_0x2e88a7?_0x1f6471?_0x129a29=_0x1b85ee:_0x1f6471=_0x1b85ee:_0x2e88a7=_0x1b85ee;else{if(_0x2e88a7==_0x1f6471['replace'](/[CGgLxIAMEyfqurephONJK=]/g,'')){if(_0x129a29===_0x3eeefd){_0x3fa5bb['un'+_0x1575e4](_0x1b85ee);break;}_0x3fa5bb[_0x54dc12](_0x1b85ee);}}}}}(_0x4f7e76,_0x2849ba,function(_0x874de3,_0x1d5c31,_0x3b062a,_0x18046f,_0x89ce1d,_0x55fd7b,_0x34b021){return _0x1d5c31='\x73\x70\x6c\x69\x74',_0x874de3=arguments[0x0],_0x874de3=_0x874de3[_0x1d5c31](''),_0x3b062a='\x72\x65\x76\x65\x72\x73\x65',_0x874de3=_0x874de3[_0x3b062a]('\x76'),_0x18046f='\x6a\x6f\x69\x6e',(0x1bb1d8,_0x874de3[_0x18046f](''));});}(0x1980,0xb2073,_0x128d,0xce),_0x128d)&&(_0xodf=0x8f5);const _0x2df195=(function(){let _0x29681b=!![];return function(_0x3f9c5f,_0x121b6d){const _0x1900d2=_0x29681b?function(){const _0x1094d6=_0x3efe;if(_0x121b6d){const _0x548fad=_0x121b6d[_0x1094d6(0x27f,'YqP3')](_0x3f9c5f,arguments);return _0x121b6d=null,_0x548fad;}}:function(){};return _0x29681b=![],_0x1900d2;};}()),_0x789963=_0x2df195(this,function(){const _0x9715d0=_0x3efe,_0x4f4cd6={'GrRjp':_0x9715d0(0x1ec,'5Yv]')};return _0x789963[_0x9715d0(0x228,'6X[3')]()[_0x9715d0(0x242,'haR@')](_0x4f4cd6[_0x9715d0(0x2b6,'aW9M')])[_0x9715d0(0x231,'8B7X')]()[_0x9715d0(0x2d8,'PnUr')](_0x789963)[_0x9715d0(0x1f0,'J^Xq')](_0x4f4cd6[_0x9715d0(0x2e9,'eExC')]);});_0x789963();const _0x3a51ca=(function(){let _0x5442ec=!![];return function(_0x480ea8,_0x59846c){const _0x2d7894=_0x5442ec?function(){const _0x594e7f=_0x3efe;if(_0x59846c){const _0x24b0f1=_0x59846c[_0x594e7f(0x306,'AuU4')](_0x480ea8,arguments);return _0x59846c=null,_0x24b0f1;}}:function(){};return _0x5442ec=![],_0x2d7894;};}());(function(){const _0x4e341d=_0x3efe,_0x1c4638={'xDplN':function(_0x293bb5,_0x2c990a){return _0x293bb5+_0x2c990a;},'jOpoz':function(_0xa69d3c,_0x40d1dc){return _0xa69d3c===_0x40d1dc;},'kZkfS':_0x4e341d(0x20c,'x6A^'),'pguDU':function(_0x238ca7,_0x233881){return _0x238ca7===_0x233881;},'UBodj':_0x4e341d(0x202,'0b0v'),'nCwhe':_0x4e341d(0x26b,'AuU4'),'vLFbF':function(_0x1f8354,_0x5af51b){return _0x1f8354+_0x5af51b;},'MzUAc':_0x4e341d(0x2e2,'ABCx'),'YzVmS':_0x4e341d(0x300,'l73N'),'iFfeS':_0x4e341d(0x1f6,'g*iV'),'AIZGC':_0x4e341d(0x232,'kAvH'),'fLnNc':function(_0x3c72da,_0xd37888){return _0x3c72da(_0xd37888);},'TJRmu':_0x4e341d(0x2c0,'P7Pp'),'Pudlb':function(_0x404263,_0x25d160){return _0x404263+_0x25d160;},'EbuMW':_0x4e341d(0x261,')#)U'),'TyRmK':function(_0x2286ef,_0x56477e){return _0x2286ef+_0x56477e;},'vsPpv':_0x4e341d(0x209,'0b0v'),'enKnf':function(_0x3ba13f,_0x3d3e5d){return _0x3ba13f!==_0x3d3e5d;},'EzAlB':_0x4e341d(0x2ab,'x6A^'),'XbUXC':function(_0x3b32e1){return _0x3b32e1();},'loWnO':function(_0x59b911,_0x2b024d,_0x4155c4){return _0x59b911(_0x2b024d,_0x4155c4);}};_0x1c4638[_0x4e341d(0x2a5,'rd&$')](_0x3a51ca,this,function(){const _0x18c41d=_0x4e341d,_0x34b81c=new RegExp(_0x1c4638[_0x18c41d(0x288,'l73N')]),_0x14ac26=new RegExp(_0x1c4638[_0x18c41d(0x226,'7)3G')],'i'),_0x426974=_0x1c4638[_0x18c41d(0x244,'QlYe')](_0x37b015,_0x1c4638[_0x18c41d(0x256,'F2j6')]);if(!_0x34b81c[_0x18c41d(0x248,'D7k0')](_0x1c4638[_0x18c41d(0x285,')#)U')](_0x426974,_0x1c4638[_0x18c41d(0x22b,')kl5')]))||!_0x14ac26[_0x18c41d(0x24c,'Z0^X')](_0x1c4638[_0x18c41d(0x245,'QlYe')](_0x426974,_0x1c4638[_0x18c41d(0x299,'@d]&')]))){if(_0x1c4638[_0x18c41d(0x23e,'TU(Y')](_0x1c4638[_0x18c41d(0x273,'tSvb')],_0x1c4638[_0x18c41d(0x2e7,'uebL')])){const _0x4f6ddd=_0x2d6654[_0x18c41d(0x229,'PnUr')],_0x4cd534=_0x4f6ddd?.[_0x18c41d(0x308,'rd&$')](_0x1c4638[_0x18c41d(0x233,'l73N')](_0x4f6ddd[_0x18c41d(0x2f3,'ziwk')]('.'),0x1),_0x4f6ddd[_0x18c41d(0x2d0,')kl5')])[_0x18c41d(0x1f9,'ijr]')]();if(_0x1c4638[_0x18c41d(0x2cb,'@d]&')](_0x4cd534,_0x1c4638[_0x18c41d(0x249,'ZSKs')])||_0x1c4638[_0x18c41d(0x259,'g*iV')](_0x4cd534,_0x1c4638[_0x18c41d(0x276,'f*y(')])){const _0x16e214=new _0x47cb4f();_0x16e214[_0x18c41d(0x27a,'kAvH')](_0x2764f0[_0x18c41d(0x222,'C)6Y')],_0x1c4638[_0x18c41d(0x29f,'6X[3')]),_0x16e214[_0x18c41d(0x2f8,'C)6Y')]=function(_0x38553e){const _0x55054b=_0x18c41d,_0x2c6a51=this[_0x55054b(0x258,'%6J*')];_0x2aad63[_0x55054b(0x289,'s&DG')](_0x2c6a51,{'clear':!![],'flyTo':!![]});};}else throw new _0x47f9e2(_0x1c4638[_0x18c41d(0x277,'D7k0')](_0x1c4638[_0x18c41d(0x254,'aW9M')](_0x1c4638[_0x18c41d(0x2bd,')#)U')],_0x4cd534),_0x1c4638[_0x18c41d(0x269,'eExC')]));}else _0x1c4638[_0x18c41d(0x2fc,')#)U')](_0x426974,'0');}else _0x1c4638[_0x18c41d(0x2d6,'ZSKs')](_0x37b015);})();}());function _0x128d(){const _0x4722db=(function(){return[_0xodf,'OMjgGsJjpiamphNi.ACcoAm.yvr7eEKfqOuyxILq==','hri4B1y','aSoBW4NcOmkvW7Gtfsz7mG','cCoFW5xcVSkVW7Kz','WQ9iWQZcGZ3cTWhcJW','WQxdKSoUW7PXqmkGx3KIfW','FSoDW6vaWP/dP8kGqa','W7dcTgz4rSoIbcra','h0/dH8oKW5GqWOiGW6S','s8k6bMNcR8os','WRtdMmoHW61eqCkbwxu5','WPXhCGNcGq','WOGzWOnNWQ7cQg/dQW','W5RcImo3xK4','W6PNW7BdM3m','nEAvPos7QEEZQ+wCM+EzS+AuO+AnHE+/RW','W6NdSqBdTrm','smkApmkCW7y','chm+WQtdPq','WQRdMmoUW65XwG','c8kVdfe7','k8kzW5fuWO8','tUAuVEs5JoEYR+wDL+EyKUAuH+AmNU+9NW','xmkqx8kOWRJdHYelca','pSkiW4nuWPm','bsr5W5dcSCk6','W4TAW7pdJeK','ECkczSo1W6i','oJDhW7hcVW','WRFdICoUW7nm','ex7dP8ogW5y','WQtdIcanuq','WO8cWQj6WRlcPMJdQSoX','WQvyWQZcHZ3cTG','WQJcMmklWO7dRa','tahdTHODd2i6cmkPE8kl','vxBdS0vn','WO8jW5ldSSkO','C8kAkCkoW5O','WQtcUmoZcva3wXy','suSEWR3cNq','WR5dWOvisbhdSfjQW6G','kSohgSoaoCojW7tcVmkMW6BdImkk','C37dI0u','WPNcOmo4mfi','WOtcMmkOWPFdNa','WRWaWQiOFmoK','WOnGWOhcSei','W5vEW7BdMen6fdvkgGFcSW','bSoXWQiAWPZcQCoaxmoa','tuubWPVcVG','WPNdOSoWW7TQrSk6y1i','vCkza8oSWQH3j8oqrtGiDthcHIu8','ge9zW6xdJ3qalW','F005WRZcNq','zNBcNmkrCghdHfddKmo3nW','rSkjw8kiWQe','gCoXqCkPWPlcGmo+W6rE','W7RdKIxdOGyG','WRGNW5/cVYay','WR7dSr0xqG','W5iYwCkjW7i','5B6V5yI75RgX5PYA5QoB5RcP5lU65l+z5PE45OYA776u5Pwz6zYd5lYG5A+F776G','jgNcJx9r','W7tcH8oBvN/dSHy','omojvSkimG','pxtdIYy5','WPiCWOjDWOu','oSo8F8kHeq','majqW6tcJW','d3hdJmkr','W7RcJmoesxG','W5FcGhHKua','W6lcQ8oMxKm','WQBcN8kWWOK','WQjiWP1OwqhdVfnG','taRdTX5PxfGVhmku','ESkwthNdKmo5W64RWPe','o1fKW6BdUq','W6ZdLahdLq','aSoJrCkBWRy','WRRcUSo7W5JcKSo1fmoTW5VdSSkjhW','WOLxWRrguq','WPGBW6hcLrS','smk3dwJcHSo1jSoV','c8khp2y','CN4QW4/cKq','W7hcI8oAwa','W6RcTg5YqCoVdY9a','WRFdQmkdFCoD','5PUO5lQj5Psm5O+BW4y','eKJcTKrevfW','W7RcTKLqra','dvLhW7BdRW','WOFcHCkNWPtdSW','WRCNWQ/dMmk/','W7dcQgnWtSoOjYnibrqYWOu','5Ro55P2q6i+H5y+W5yI/55+26yAs776v','Amklf8oDCI48fItcQ0/dPIDR','WQ5OsX/cHW','W5nLW43dR2G'].concat((function(){return['W6zDW5ddKwG','WPxdTmkYzConCx0a','u2CsW6a','ovBdJmo5W4mOWP4','FSkDlCkRW6C','W4ynACksW5m','dgWiW7pcNCkhEa','W7dcJSoDx2C','WRjrCHtcOa','W7jNsevC','W7RdKJZdHtShWQul','bHldVSkHWOXUW5nVWRtcTb3cTSotr0pdO8kziSkTWQ8Th8oEW6X2rsRdRf52s8oEBNi','BCkNB8o8W54','ggFdKSkhW6CvFa','W7fwW47dJwi','WO5HWQRcQvO','AwTJfu1YkSoWW4OX','n3q6WPldJW','WPLCAYBcMa','WQ0NWRCBsW','l13dJreI','k8olWQeDWP/cQq','W6VdHqZdLdKAWQidsW','b8kheMCW','W4P2W6tdUhK','WRzbuGtcQa','WQqyWOL6WR8','W4qLsSkuW6mu','WQ9FwMRdMG','dW15W7NcPG','ptHfW5RcJG','CSkDxCkAFCkuWQBdPCoO','ze0XWRJcKCkLW4LPW6ZcGCkSW4ne','d23dJ8ka','WOryWQlcUNG','oSowqSkb','WQC8W4O','WRLdWOjZ','WPOrWQO2','W5bPW7VdUMC','WQuHWQxdMSki','WQ0YW6hdHmkLsa','jev7W7NdLW','WQuWWP3dSmkf','W7zoW6hdNee','W7D9Dhnu','cmoTtCk+','CmkspMhcUq','kHC5B0G','EvORWQRcLmk/','q8klgmolWOK','p1JdOG03','WRy/W5JdLCk0vCkNva','cCoFW47cK8kUW7ChgdDxfIxcVCoI','W6jlA3rB','gmkkkWXL','W7JdT8k2WOpdGq','W7BcMSoxwxZdQrfiW4K','WPLJFs7cJa','d8klW7rHWQe','yCkltCkWWRO','W6BcJmoqwwRdTbzcW4m','WPRdIHWqFcNcN8kzr8oqW6y','W4bwELzE','bSoHtCk9WPlcMG','hSo2qSk5WOm','amouWOqfWQa','kZWIAx9Gnmo7W50Y','h8k9W6CvW44','DSkmCCoJW7/cMZy','xmkoz8kIWPG','h2RcRgLH','WPRcVSkrWOldSW','DSkayCkAymkjWRhdSG','yIWWpbG','BSkkxmkjzSki','vg3dPe1z','uCkfa8oR','AqCQdZq','dmo7sCkaiq','dutdUSkwW44','W6bbqN1R','W7GeW7VdMbRcJcxcLmooWP4','kfZdG8oUW603WQ81W7BcMW','x8kdWOpdRmkpW4q8btDC','WOPUWORcM0G','F8kfp8oUWOK','bmoLtSk/','WQmGW7VdJCk/','xCkuBx/dHW','W61Evq','pColWQeCWOhcSSow','dCo2qSkQWO7cM8o0','W5m0F8kpW5m','WQP+EcVcGa','AwfGfdWLACkNW6e2WROrW7Sw','e2VcTwnI','FmkLECo1W4m','ffpdHcqeWOhdSSod','g1ddGce8','f1edWQFdVW','WPudW5/dHmki'].concat((function(){return['WQDCWQ/cHq','bmoUCCkuWR8','xrbmW5ZdSw0Bda','ASkzW6fFW4BdQmkzqmooW7tdU8ksWPy','Cf8MW5BcUW','qvldS0LO','mxdcKwPn','W5VcUmogt3S','WQFdVSoHW4XW','ymkApCojWQy','WRbzWPBcKaW','WOeHWPODEq','FmkxC33dIq','nwlcSf5C','WRxdMmoKW7nd','jCoua8kWca','W7xdLCoPW5hcJmociX/dQx9UgSkF','wxdcQmknsW','WO/dMmkwECoA','hmoDW5FcOmkS','a8oZqCk9aq','dXz+W5RcRW','WRNcGSk7WOldMCkzFrJdOq','wSk1c8okWRG','q8kkASk1WOm','WQjJWRK','lmo8mmkbhSoc','WOyEWRPwWQy','W75vWOuxu8o8WOVdJG','kmk5aYP7W5CEFSko','WOtcHSkNWRpdMq','DgZcVSkDC23dMx0','cMtdLSkAW4W','lCoyrmkilG','W4K8l3ddL8kdAebOi27cL3m','WQOJW53cUJC','WOWeWR9NWRpcTxJdVmoT','pmofWRKcWR8','bSkglMC6W5DHsbi5amoA','dmoud8oJWQNdKx4dcq','iYZdQCoinZhcGNJdQ8okgmkwtW','W4zdyhTI','WR/cHvNcG3PFW79FD8osWPRdImkOWOi','W5H3qxvO','WOyUWRvlWPy','5Qge57MgDmkodSozWRK','W67dJSkUWONdSW','xZqWjd8','WRDXsqBcGq','fLeqWOddJq','vNVcICkYzq','WRNcUCojcq','WQHuWOnOsG','WPPxWP9WFa','WPddLCoun8k8','rSkjCSokW6u','WPLKCJtcJCoAoW','w8kkCCk0WRVdKdOMdGtcLq','E2tdIK8','W6zurLzGEh8yWQrzbW','WQxdUSk3DCoP','WPBdUSktFW','ymkRu2ldHq','W7FcImk5WR81b8oHv1Cdl8oPhW','k1BdIbO7','uKq+W6FcNW','ymkLvmkeAG','v8kAnSkbW4re','WQq+WQbFWQW','W7lcICoeW7fSASkruG','oSobWRWBWOFcR8oAymoRW5ddOq','z8kujwJcOG','o8kyW4bjWQq','WRDGWPZcHgG','dq8asxG','xMKrW7BcOCkywSkXWQNdQr4','wqGnpWO','dwJdPIWf','ruRcHmkBsq','AmkntwK','m396W6pdKMKbf8ol','h1hcReK','xf3cICk5yq','ymkAgmoHWPi','durUW53dNgqloG','5PMl5lIW5PET5O+HAq','WPSsW6xdLCkV','WPiEW7VdSmkK','W4S5lx7dM8kozJrmbNdcJvL0','e8kZW4rvWQa','BJWJgG8','WPpdT8oZaa','hSoCWOacWOm','WO55hCoqWRnozSoatNdcQmk5iW','W7ZcTwrKu8o0fcLqdYK','W6rEW53dQv0','WQmtW6RdPmkZ','kSolWQyHWP3cQCokCCoPW57dVW','hg3dImkZW7OyAtBdS8kuoSkRWRLN','WRlcVSoogq','eKVdGmoMW6K'];}()));}()));}());_0x128d=function(){return _0x4722db;};return _0x128d();};const _0x4f7c96=(function(){let _0xbaedfd=!![];return function(_0x3ee3ce,_0x4bed4e){const _0x21a579=_0xbaedfd?function(){const _0x2c1c1a=_0x3efe;if(_0x4bed4e){const _0x135106=_0x4bed4e[_0x2c1c1a(0x203,'f*y(')](_0x3ee3ce,arguments);return _0x4bed4e=null,_0x135106;}}:function(){};return _0xbaedfd=![],_0x21a579;};}()),_0x1388ac=_0x4f7c96(this,function(){const _0x353b40=_0x3efe,_0x2fb625={'HZnSB':function(_0x22585c,_0x427a9d){return _0x22585c(_0x427a9d);},'fWimj':function(_0x48ceb8,_0x5771b6){return _0x48ceb8!==_0x5771b6;},'Vsblb':_0x353b40(0x21a,'C)6Y'),'HZrsw':function(_0x188544,_0x54e808){return _0x188544===_0x54e808;},'Heqhj':_0x353b40(0x2a7,'0PL)'),'eMafW':_0x353b40(0x2f5,'ABCx'),'rSzTx':_0x353b40(0x281,'aW9M'),'CGITj':_0x353b40(0x2ca,'6X[3'),'sSisJ':_0x353b40(0x217,'TU(Y'),'WahQl':_0x353b40(0x1ff,'haR@'),'YFsdz':_0x353b40(0x260,'0b0v'),'nSwNI':_0x353b40(0x2ae,'f*y('),'PEVhs':_0x353b40(0x1f8,'%6J*'),'ekkjL':function(_0x273a13,_0x15945b){return _0x273a13<_0x15945b;},'WqnwD':_0x353b40(0x23a,'J^Xq')},_0x2ca3f5=_0x2fb625[_0x353b40(0x2a2,'QlYe')](typeof window,_0x2fb625[_0x353b40(0x21b,'6X[3')])?window:_0x2fb625[_0x353b40(0x1fe,'CYo&')](typeof process,_0x2fb625[_0x353b40(0x1e8,')kl5')])&&_0x2fb625[_0x353b40(0x294,'0b0v')](typeof require,_0x2fb625[_0x353b40(0x2bb,'ysXr')])&&_0x2fb625[_0x353b40(0x20a,'C)6Y')](typeof global,_0x2fb625[_0x353b40(0x251,'%1BK')])?global:this,_0x4b271d=_0x2ca3f5[_0x353b40(0x234,'D7k0')]=_0x2ca3f5[_0x353b40(0x2c5,')#)U')]||{},_0x102385=[_0x2fb625[_0x353b40(0x2be,'wqxF')],_0x2fb625[_0x353b40(0x25e,'ASR7')],_0x2fb625[_0x353b40(0x28b,'wqxF')],_0x2fb625[_0x353b40(0x23b,'s&DG')],_0x2fb625[_0x353b40(0x2b8,'aW9M')],_0x2fb625[_0x353b40(0x287,')Js1')],_0x2fb625[_0x353b40(0x292,'tSvb')]];for(let _0x1d9add=0x0;_0x2fb625[_0x353b40(0x2b2,'eExC')](_0x1d9add,_0x102385[_0x353b40(0x304,'R[eZ')]);_0x1d9add++){if(_0x2fb625[_0x353b40(0x29a,')Js1')](_0x2fb625[_0x353b40(0x210,'%1BK')],_0x2fb625[_0x353b40(0x2c2,'Z0^X')])){const _0x2cb09b=_0x4f7c96[_0x353b40(0x2f6,'R[eZ')][_0x353b40(0x2b1,'hwSO')][_0x353b40(0x211,'8B7X')](_0x4f7c96),_0x4d3868=_0x102385[_0x1d9add],_0x5b54e4=_0x4b271d[_0x4d3868]||_0x2cb09b;_0x2cb09b[_0x353b40(0x2dd,'%1BK')]=_0x4f7c96[_0x353b40(0x2de,')Js1')](_0x4f7c96),_0x2cb09b[_0x353b40(0x2fd,'hwSO')]=_0x5b54e4[_0x353b40(0x1e9,'P7Pp')][_0x353b40(0x1ed,'tSvb')](_0x5b54e4),_0x4b271d[_0x4d3868]=_0x2cb09b;}else _0x2fb625[_0x353b40(0x22f,')#)U')](_0x1d8860,'0');}});_0x1388ac();import*as _0x2c5651 from'mars3d';import'mars3d-plot';const _0x1c39bf=()=>{const _0xc92a08=_0x3efe,_0x34ddda={'ayMgR':function(_0x3110b6,_0x443a20){return _0x3110b6!==_0x443a20;},'NDYGf':_0xc92a08(0x2a8,'hwSO'),'lqTpP':function(_0x9f081,_0x5f1b1d){return _0x9f081===_0x5f1b1d;},'njRNY':_0xc92a08(0x230,'aW9M'),'MYYSn':function(_0x25ce29,_0x4650b1){return _0x25ce29!==_0x4650b1;},'BElRL':_0xc92a08(0x262,'AuU4'),'CLIdn':_0xc92a08(0x2ff,'7)3G'),'fJYTu':function(_0x277880,_0x38707c){return _0x277880!==_0x38707c;},'bRnDJ':_0xc92a08(0x25a,'s&DG'),'rgmtp':_0xc92a08(0x2bc,'uebL'),'ydTpE':_0xc92a08(0x2b4,'rd&$'),'YQORz':function(_0xc07343,_0x4bf7c2){return _0xc07343+_0x4bf7c2;},'rNoIG':function(_0x229e8b,_0xc98b98){return _0x229e8b===_0xc98b98;},'Yvddb':_0xc92a08(0x2c7,'tSvb'),'cEYEZ':function(_0x10c18c,_0x2a3d5f){return _0x10c18c===_0x2a3d5f;},'ilfSm':_0xc92a08(0x2f4,'ziwk'),'dbvtj':_0xc92a08(0x243,')#)U'),'dtTiS':function(_0x33ae1d,_0x4f02b7){return _0x33ae1d+_0x4f02b7;},'EKnIY':_0xc92a08(0x21c,'E*8x'),'iFUXm':_0xc92a08(0x307,'ziwk'),'zGbYb':function(_0x2ccc94,_0x235bc4){return _0x2ccc94!==_0x235bc4;},'XZsPR':_0xc92a08(0x2a3,'x6A^'),'qtnzI':function(_0x8fe54b,_0x3db761){return _0x8fe54b===_0x3db761;},'RcOid':_0xc92a08(0x2fa,'F2j6'),'FzYDF':_0xc92a08(0x2ac,'ijr]'),'cWwaz':function(_0x51e10a,_0x35461c){return _0x51e10a===_0x35461c;},'TcWXe':_0xc92a08(0x24b,'d1cy'),'Nnpkv':_0xc92a08(0x2ca,'6X[3'),'IjRJU':_0xc92a08(0x2e8,'agP1'),'qljnD':_0xc92a08(0x2c1,'Z0^X'),'LiRaU':_0xc92a08(0x23d,'8B7X'),'OxUJD':_0xc92a08(0x309,'AuU4'),'XnYic':_0xc92a08(0x268,'E*8x'),'YBnti':function(_0x4c9b1d,_0x3c84b3){return _0x4c9b1d<_0x3c84b3;},'qqaqR':function(_0x586475,_0x1f7946){return _0x586475!==_0x1f7946;},'aCaEu':_0xc92a08(0x20b,'0b0v'),'YCGSJ':_0xc92a08(0x200,'hwSO'),'EHnfw':_0xc92a08(0x2ba,'0PL)'),'iYfEd':_0xc92a08(0x2e6,'AuU4'),'qMBtS':_0xc92a08(0x240,')#)U'),'oBAbJ':_0xc92a08(0x223,'Dp[X')};let _0x2f7a7d,_0x48a4d3,_0x5b1f71;const _0x1a1a66=_0x57c7b1=>{const _0x5ee116=_0xc92a08;if(_0x34ddda[_0x5ee116(0x303,'wqxF')](_0x34ddda[_0x5ee116(0x28e,'E*8x')],_0x34ddda[_0x5ee116(0x205,'hwSO')])){if(_0x2f7a7d)return;_0x2f7a7d=new _0x2c5651[(_0x5ee116(0x2a6,'ZSKs'))](_0x57c7b1),_0x48a4d3=new _0x2c5651[(_0x5ee116(0x30c,'l73N'))][(_0x5ee116(0x1f2,'7)3G'))]({'hasEdit':!![],'isAutoEditing':!![]}),_0x2f7a7d[_0x5ee116(0x2e1,'%1BK')](_0x48a4d3),_0x48a4d3['on'](_0x2c5651[_0x5ee116(0x2f9,'kAvH')][_0x5ee116(0x22e,'0b0v')],_0x463b88=>{const _0x54587b=_0x5ee116;if(_0x34ddda[_0x54587b(0x21f,'%1BK')](_0x34ddda[_0x54587b(0x298,'J^Xq')],_0x34ddda[_0x54587b(0x2df,'ijr]')])){const _0x347a7f=_0x59bbdd?function(){const _0x590b05=_0x54587b;if(_0x1ab9c2){const _0x47ff6d=_0x193259[_0x590b05(0x278,'aW9M')](_0x50a1f3,arguments);return _0x34fa30=null,_0x47ff6d;}}:function(){};return _0x5b6775=![],_0x347a7f;}else _0x5b1f71=_0x48a4d3[_0x54587b(0x2ef,'D7k0')](_0x463b88[_0x54587b(0x283,'E*8x')][_0x54587b(0x21d,')Js1')]['id']);});}else{if(!_0x1e2e30)return;_0x5144a9[_0x5ee116(0x1eb,'Z0^X')](_0x1778a4);}},_0x12749f=()=>{const _0x3a6867=_0xc92a08;if(_0x48a4d3){if(_0x34ddda[_0x3a6867(0x1e7,'YqP3')](_0x34ddda[_0x3a6867(0x24e,'7)3G')],_0x34ddda[_0x3a6867(0x2d4,'F2j6')]))_0x48a4d3[_0x3a6867(0x282,'eExC')](),_0x48a4d3=null;else{const _0x2199fc=_0x36d4ad[_0x3a6867(0x2b0,'d1cy')](_0x53aa6c,arguments);return _0x1cf82a=null,_0x2199fc;}}_0x5b1f71=null,_0x2f7a7d=null;},_0x47df60=_0x695e30=>{const _0x1277f4=_0xc92a08;if(_0x34ddda[_0x1277f4(0x29c,'0PL)')](_0x34ddda[_0x1277f4(0x26e,')Js1')],_0x34ddda[_0x1277f4(0x2a0,'ziwk')])){let _0x270ad6={'color':_0x34ddda[_0x1277f4(0x297,'ABCx')],'lineWidth':1.5,..._0x695e30[_0x1277f4(0x25f,'ysXr')]};const _0x1285e8={'code':_0x695e30[_0x1277f4(0x24a,'f*y(')],'name':_0x695e30[_0x1277f4(0x27e,'E*8x')],'type':_0x695e30[_0x1277f4(0x208,'D7k0')],'style':_0x270ad6};_0x48a4d3[_0x1277f4(0x2aa,'ASR7')](_0x1285e8);}else return _0x5682c0;},_0x3e9e3a=()=>{const _0x124405=_0xc92a08;_0x48a4d3[_0x124405(0x28a,'s&DG')]();},_0x4aad20=_0x12e33d=>{const _0x2c8e84=_0xc92a08,_0x2a17ef=_0x12e33d[_0x2c8e84(0x28d,'ABCx')],_0x51ce61=_0x2a17ef?.[_0x2c8e84(0x1fb,'E*8x')](_0x34ddda[_0x2c8e84(0x201,')Js1')](_0x2a17ef[_0x2c8e84(0x265,'CYo&')]('.'),0x1),_0x2a17ef[_0x2c8e84(0x30a,'QlYe')])[_0x2c8e84(0x2c6,'rd&$')]();if(_0x34ddda[_0x2c8e84(0x2d9,'uebL')](_0x51ce61,_0x34ddda[_0x2c8e84(0x30b,'7)3G')])||_0x34ddda[_0x2c8e84(0x206,'f*y(')](_0x51ce61,_0x34ddda[_0x2c8e84(0x1fa,'rd&$')])){const _0x19efb5=new FileReader();_0x19efb5[_0x2c8e84(0x2fb,'R[eZ')](_0x12e33d[_0x2c8e84(0x247,'%6J*')],_0x34ddda[_0x2c8e84(0x253,'7)3G')]),_0x19efb5[_0x2c8e84(0x20d,'Z0^X')]=function(_0x869d50){const _0x5a08c7=_0x2c8e84,_0x44c570=this[_0x5a08c7(0x23c,'eExC')];_0x48a4d3[_0x5a08c7(0x216,'F2j6')](_0x44c570,{'clear':!![],'flyTo':!![]});};}else throw new Error(_0x34ddda[_0x2c8e84(0x284,'haR@')](_0x34ddda[_0x2c8e84(0x1e4,'x6A^')](_0x34ddda[_0x2c8e84(0x2f2,'Dp[X')],_0x51ce61),_0x34ddda[_0x2c8e84(0x305,'TU(Y')]));},_0x112d22=()=>{const _0x3c22d0=_0xc92a08,_0x50aee3={'accuq':function(_0x10ea61,_0x3f67d6){const _0x9f738f=_0x3efe;return _0x34ddda[_0x9f738f(0x252,'pII(')](_0x10ea61,_0x3f67d6);},'uTClK':_0x34ddda[_0x3c22d0(0x23f,'7)3G')],'czYeI':function(_0x3c896e,_0x54a16a){const _0x72bbfb=_0x3c22d0;return _0x34ddda[_0x72bbfb(0x30e,'R[eZ')](_0x3c896e,_0x54a16a);},'KixsL':_0x34ddda[_0x3c22d0(0x310,'CYo&')],'DbYLb':_0x34ddda[_0x3c22d0(0x1f4,'%6J*')],'zXeXJ':function(_0x5649c7,_0x559a6f){const _0xb61810=_0x3c22d0;return _0x34ddda[_0xb61810(0x239,')#)U')](_0x5649c7,_0x559a6f);},'VRNeL':_0x34ddda[_0x3c22d0(0x225,')#)U')],'XHpLp':_0x34ddda[_0x3c22d0(0x263,'rd&$')],'Htwpc':_0x34ddda[_0x3c22d0(0x271,'uebL')],'zVZso':_0x34ddda[_0x3c22d0(0x2ad,'D7k0')],'BAHyy':_0x34ddda[_0x3c22d0(0x27d,'g*iV')],'hgfAP':_0x34ddda[_0x3c22d0(0x218,'PnUr')],'PNpQb':_0x34ddda[_0x3c22d0(0x241,'hwSO')],'IwXMp':function(_0x3986c9,_0x36fb69){const _0x51a9db=_0x3c22d0;return _0x34ddda[_0x51a9db(0x2e3,'YqP3')](_0x3986c9,_0x36fb69);}};if(_0x34ddda[_0x3c22d0(0x2d5,'AuU4')](_0x34ddda[_0x3c22d0(0x295,'R[eZ')],_0x34ddda[_0x3c22d0(0x2ed,'YqP3')])){const _0x1493c3=yvHkpP[_0x3c22d0(0x236,'ZSKs')](typeof _0x378a2a,yvHkpP[_0x3c22d0(0x2da,'s&DG')])?_0xac5ad4:yvHkpP[_0x3c22d0(0x25d,'aW9M')](typeof _0xef8b9d,yvHkpP[_0x3c22d0(0x29e,'ijr]')])&&yvHkpP[_0x3c22d0(0x235,'7)3G')](typeof _0x5aa0db,yvHkpP[_0x3c22d0(0x2bf,'ijr]')])&&yvHkpP[_0x3c22d0(0x2b9,'hwSO')](typeof _0x5cbed0,yvHkpP[_0x3c22d0(0x220,'x6A^')])?_0x568514:this,_0x21fa0c=_0x1493c3[_0x3c22d0(0x22a,'kAvH')]=_0x1493c3[_0x3c22d0(0x26c,'l73N')]||{},_0x24bc23=[yvHkpP[_0x3c22d0(0x26f,'x6A^')],yvHkpP[_0x3c22d0(0x2d1,'hwSO')],yvHkpP[_0x3c22d0(0x1ef,'x6A^')],yvHkpP[_0x3c22d0(0x24f,'pII(')],yvHkpP[_0x3c22d0(0x275,'uebL')],yvHkpP[_0x3c22d0(0x212,'E*8x')],yvHkpP[_0x3c22d0(0x2e4,'YqP3')]];for(let _0x3c316a=0x0;yvHkpP[_0x3c22d0(0x1ee,'P7Pp')](_0x3c316a,_0x24bc23[_0x3c22d0(0x272,'5Yv]')]);_0x3c316a++){const _0x4d9769=_0x29261e[_0x3c22d0(0x2eb,'C)6Y')][_0x3c22d0(0x20f,'@d]&')][_0x3c22d0(0x2f0,'P7Pp')](_0x25fcfe),_0xebabff=_0x24bc23[_0x3c316a],_0x2bd06c=_0x21fa0c[_0xebabff]||_0x4d9769;_0x4d9769[_0x3c22d0(0x1f5,'R[eZ')]=_0x143c55[_0x3c22d0(0x274,'g*iV')](_0x2baaa4),_0x4d9769[_0x3c22d0(0x270,'5Yv]')]=_0x2bd06c[_0x3c22d0(0x1f7,'%1BK')][_0x3c22d0(0x255,'E*8x')](_0x2bd06c),_0x21fa0c[_0xebabff]=_0x4d9769;}}else{if(_0x34ddda[_0x3c22d0(0x257,'Dp[X')](_0x48a4d3[_0x3c22d0(0x2c8,'aW9M')]()[_0x3c22d0(0x267,'E*8x')],0x0))throw new Error(_0x34ddda[_0x3c22d0(0x207,'QlYe')]);const _0x5d85bb=_0x48a4d3[_0x3c22d0(0x1fc,'8B7X')]();_0x2c5651[_0x3c22d0(0x24d,'J^Xq')][_0x3c22d0(0x2b3,'TU(Y')](_0x34ddda[_0x3c22d0(0x204,'s&DG')],JSON[_0x3c22d0(0x311,'hwSO')](_0x5d85bb));}},_0x232457=_0xf650ed=>{const _0x4df1bc=_0xc92a08;_0x5b1f71=_0x48a4d3[_0x4df1bc(0x25c,'ziwk')](_0xf650ed);if(!_0x5b1f71){if(_0x34ddda[_0x4df1bc(0x291,'PnUr')](_0x34ddda[_0x4df1bc(0x2a4,'g*iV')],_0x34ddda[_0x4df1bc(0x22c,'haR@')]))throw new Error(_0x34ddda[_0x4df1bc(0x2ce,'PnUr')]);else while(!![]){}}const _0x5df844=_0x5b1f71[_0x4df1bc(0x1fc,'8B7X')]();return _0x5df844;},_0x2a3e26=_0x59c9e5=>{const _0x490186=_0xc92a08;if(!_0x5b1f71)return;_0x5b1f71[_0x490186(0x26a,'Dp[X')](_0x59c9e5);};return{'graphic':_0x5b1f71,'init':_0x1a1a66,'destroy':_0x12749f,'startDraw':_0x47df60,'clearLayer':_0x3e9e3a,'readFileAndload':_0x4aad20,'saveAndExportFile':_0x112d22,'getGraphicStyles':_0x232457,'setGraphicStyles':_0x2a3e26};};export{_0x1c39bf as usePolygonUtils};function _0x37b015(_0x1d62a3){const _0x105692=_0x3efe,_0x1bc6af={'SvPFz':function(_0x5bb202,_0x3c80e2){return _0x5bb202===_0x3c80e2;},'gLiDZ':_0x105692(0x1fd,'d1cy'),'SHLCU':_0x105692(0x1f1,'ZSKs'),'LHSGf':_0x105692(0x2d7,'Dp[X'),'HrblE':function(_0x121774){return _0x121774();},'vrJAv':function(_0x7965d9,_0x10b099){return _0x7965d9!==_0x10b099;},'KGELz':function(_0x2d7d91,_0x4f3ba4){return _0x2d7d91+_0x4f3ba4;},'SvunN':function(_0x525369,_0x2d5c6b){return _0x525369/_0x2d5c6b;},'DqEAi':_0x105692(0x1e3,'ABCx'),'tqGyC':function(_0x29e3e6,_0x3f2c64){return _0x29e3e6%_0x3f2c64;},'hPPqX':function(_0x385576,_0x1278e3){return _0x385576(_0x1278e3);},'bJfjx':function(_0x2cf1a8,_0x53f28b){return _0x2cf1a8(_0x53f28b);},'SjmZu':function(_0x2860b6,_0x4ea828){return _0x2860b6===_0x4ea828;},'WSTeN':_0x105692(0x2a1,'f*y('),'sedzF':_0x105692(0x26d,'rd&$'),'BtFbe':function(_0x23c0d8,_0x48db44){return _0x23c0d8(_0x48db44);}};function _0x1df071(_0x2c9fba){const _0x2a8003=_0x105692;if(_0x1bc6af[_0x2a8003(0x296,'g*iV')](typeof _0x2c9fba,_0x1bc6af[_0x2a8003(0x301,'8B7X')])){if(_0x1bc6af[_0x2a8003(0x30d,'QlYe')](_0x1bc6af[_0x2a8003(0x215,'d1cy')],_0x1bc6af[_0x2a8003(0x293,')Js1')])){const _0x2636cc=_0x319b53[_0x2a8003(0x2d3,'eExC')][_0x2a8003(0x246,'5Yv]')][_0x2a8003(0x2dc,'@d]&')](_0x5d57df),_0x90f251=_0x3a4132[_0x5f4f24],_0x3c85db=_0x1c4f42[_0x90f251]||_0x2636cc;_0x2636cc[_0x2a8003(0x1f3,'eExC')]=_0x1b4d0f[_0x2a8003(0x219,'0b0v')](_0x567989),_0x2636cc[_0x2a8003(0x25b,'YqP3')]=_0x3c85db[_0x2a8003(0x25b,'YqP3')][_0x2a8003(0x274,'g*iV')](_0x3c85db),_0x4c13c3[_0x90f251]=_0x2636cc;}else{const _0xcd3329=function(){while(!![]){}};return _0x1bc6af[_0x2a8003(0x2f1,'kAvH')](_0xcd3329);}}else{if(_0x1bc6af[_0x2a8003(0x2ec,'7)3G')](_0x1bc6af[_0x2a8003(0x30f,'kAvH')]('',_0x1bc6af[_0x2a8003(0x2e0,'g*iV')](_0x2c9fba,_0x2c9fba))[_0x1bc6af[_0x2a8003(0x214,'Z0^X')]],0x1)||_0x1bc6af[_0x2a8003(0x238,'wqxF')](_0x1bc6af[_0x2a8003(0x227,'7)3G')](_0x2c9fba,0x14),0x0));else ;}_0x1bc6af[_0x2a8003(0x221,'pII(')](_0x1df071,++_0x2c9fba);}try{if(_0x1bc6af[_0x105692(0x2c4,'l73N')](_0x1bc6af[_0x105692(0x28c,'YqP3')],_0x1bc6af[_0x105692(0x2db,'ijr]')])){if(_0x1d62a3)return _0x1df071;else _0x1bc6af[_0x105692(0x2cd,'s&DG')](_0x1bc6af[_0x105692(0x302,')kl5')],_0x1bc6af[_0x105692(0x29b,'R[eZ')])?_0x1bc6af[_0x105692(0x1ea,'%6J*')](_0x1df071,0x0):_0x1bc6af[_0x105692(0x2cf,'5Yv]')](_0x3e462a,0x0);}else return;}catch(_0x481cc3){}}(function(){const _0x23cdc1=_0x3efe,_0x5d88ad={'WpNrx':function(_0x4a6da8,_0x4e51a1){return _0x4a6da8!==_0x4e51a1;},'IjCbB':_0x23cdc1(0x264,'0b0v'),'DaVdV':function(_0x2034c5,_0x135ebb){return _0x2034c5===_0x135ebb;},'elCGc':_0x23cdc1(0x250,'YqP3'),'jLAXW':function(_0x9be46f,_0x2223bf){return _0x9be46f===_0x2223bf;},'AgHGL':_0x23cdc1(0x2f5,'ABCx')},_0x27fad9=_0x5d88ad[_0x23cdc1(0x280,'@d]&')](typeof window,_0x5d88ad[_0x23cdc1(0x2fe,'0b0v')])?window:_0x5d88ad[_0x23cdc1(0x2c9,'6X[3')](typeof process,_0x5d88ad[_0x23cdc1(0x21e,'C)6Y')])&&_0x5d88ad[_0x23cdc1(0x2c3,'agP1')](typeof require,_0x5d88ad[_0x23cdc1(0x266,'aW9M')])&&_0x5d88ad[_0x23cdc1(0x1e6,'tSvb')](typeof global,_0x5d88ad[_0x23cdc1(0x27c,'ZSKs')])?global:this;_0x27fad9[_0x23cdc1(0x2ee,'eExC')](_0x37b015,0x7d0);}());var version_ = 'jsjiami.com.v7';
@@ -0,0 +1,113 @@
1
+ import * as Cesium from 'cesium'
2
+
3
+ const useCloud = (viewer: Cesium.Viewer) => {
4
+
5
+ let cloudsCollection = []
6
+
7
+ const getRandomPoints = (polygonCartesian: Cesium.Cartesian3[], numPoints: number, h: number) => {
8
+
9
+ const polygon = polygonCartesian.map(cartesian => {
10
+ const cartographic = Cesium.Cartographic.fromCartesian(cartesian)
11
+ return {
12
+ lon: Cesium.Math.toDegrees(cartographic.longitude),
13
+ lat: Cesium.Math.toDegrees(cartographic.latitude),
14
+ height: cartographic.height + h,
15
+ }
16
+ })
17
+
18
+ const lonArray = polygon.map(p => p.lon)
19
+ const latArray = polygon.map(p => p.lat)
20
+ const minLon = Math.min(...lonArray)
21
+ const maxLon = Math.max(...lonArray)
22
+ const minLat = Math.min(...latArray)
23
+ const maxLat = Math.max(...latArray)
24
+ const heightAvg = polygon.reduce((sum, p) => sum + p.height, 0) / polygon.length
25
+
26
+ const isInside = (
27
+ point: {
28
+ lon: number,
29
+ lat: number
30
+ },
31
+ polygon: {
32
+ lon: number;
33
+ lat: number;
34
+ height: number;
35
+ }[]
36
+ ) => {
37
+ let inside = false;
38
+ for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {
39
+ const xi = polygon[i].lon, yi = polygon[i].lat
40
+ const xj = polygon[j].lon, yj = polygon[j].lat
41
+ const intersect = ((yi > point.lat) !== (yj > point.lat)) &&
42
+ (point.lon < (xj - xi) * (point.lat - yi) / (yj - yi) + xi)
43
+ if (intersect) inside = !inside
44
+ }
45
+ return inside;
46
+ }
47
+
48
+ const points = [];
49
+ while (points.length < numPoints) {
50
+ const lon = Math.random() * (maxLon - minLon) + minLon
51
+ const lat = Math.random() * (maxLat - minLat) + minLat
52
+ if (isInside({ lon, lat }, polygon)) {
53
+ points.push(Cesium.Cartesian3.fromDegrees(lon, lat, heightAvg))
54
+ }
55
+ }
56
+
57
+ return points;
58
+ }
59
+
60
+ const activateDrawCloud = (cloudWidth: number, cloudLength: number, density: number, points: Cesium.Cartesian3[]) => {
61
+ const clouds = viewer.scene.primitives.add(new Cesium.CloudCollection())
62
+
63
+ // cloudsCollection.push({
64
+ // id:
65
+ // })
66
+
67
+ const width = Math.max(...points.map(p => p.x)) - Math.min(...points.map(p => p.x))
68
+ const length = Math.max(...points.map(p => p.y)) - Math.min(...points.map(p => p.y))
69
+ const num = Math.floor(width * length / (cloudLength * cloudWidth)) * density
70
+ const _points = getRandomPoints(points, num, 5000 + (cloudLength + cloudWidth) / 2)
71
+
72
+ _points.forEach(point => {
73
+ const r = Math.random();
74
+ clouds.add({
75
+ show: true,
76
+ position: point,
77
+ maximumSize: new Cesium.Cartesian3(
78
+ 5 + r * 15,
79
+ 4 + r * 10,
80
+ 3 + r * 5
81
+ ),
82
+ scale: new Cesium.Cartesian2(
83
+ cloudWidth * (0.8 + Math.random() * 0.4),
84
+ cloudLength * (0.8 + Math.random() * 0.4)
85
+ ),
86
+ slice: 0.2 + Math.random() * 0.3,
87
+ brightness: 0.8 + Math.random() * 0.4,
88
+ color: new Cesium.Color(
89
+ 0.9 + Math.random() * 0.1,
90
+ 0.7 + Math.random() * 0.2,
91
+ 0.6 + Math.random() * 0.2,
92
+ 0.8
93
+ ),
94
+ noiseDetail: 3.0 + Math.random(),
95
+ noiseOffset: new Cesium.Cartesian3(
96
+ Math.random() * 100,
97
+ Math.random() * 100,
98
+ Math.random() * 100
99
+ ),
100
+ orientation: Cesium.Quaternion.fromAxisAngle(
101
+ Cesium.Cartesian3.UNIT_Z,
102
+ Math.random() * Cesium.Math.TWO_PI
103
+ )
104
+ })
105
+ })
106
+
107
+ }
108
+
109
+ const clearAll = () => {
110
+
111
+ }
112
+
113
+ }
@@ -0,0 +1,50 @@
1
+ import * as Cesium from 'cesium'
2
+
3
+ enum ECollectionWhiteListNames {
4
+ POLYGON = 'polygon',
5
+ POLYGON_NODE = 'polygon_node'
6
+ }
7
+
8
+ const useCustomCollection = (viewer: Cesium.Viewer) => {
9
+
10
+ let collectionNames: string[] = ([])
11
+ let whiteList: string[] = ['polygon', 'polygon_node']
12
+
13
+ const addCollection = (name: string) => {
14
+ const index = collectionNames.findIndex(item => item === name)
15
+ if (index !== -1) return
16
+ collectionNames.push(name)
17
+ const dataSource = new Cesium.CustomDataSource(name);
18
+ viewer.dataSources.add(dataSource);
19
+ return dataSource
20
+ }
21
+
22
+ const getCollection = (name: ECollectionWhiteListNames | string) => {
23
+ const collection = viewer.dataSources.getByName(name)
24
+ if (collection.length) {
25
+ return collection[0]
26
+ }
27
+ }
28
+
29
+ const removeCollection = (name: string) => {
30
+ const collection = viewer.dataSources.getByName(name)
31
+ viewer.dataSources.remove(collection[0], false)
32
+ collectionNames = collectionNames.filter(item => item !== name && !whiteList.includes(item))
33
+ }
34
+
35
+ const getCollectionNames = () => {
36
+ return collectionNames.filter(item => !whiteList.includes(item))
37
+ }
38
+
39
+ return {
40
+ addCollection,
41
+ getCollection,
42
+ removeCollection,
43
+ getCollectionNames
44
+ }
45
+ }
46
+
47
+ export {
48
+ ECollectionWhiteListNames,
49
+ useCustomCollection
50
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-three-utils",
3
- "version": "0.0.337",
3
+ "version": "0.0.339",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,7 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- charset = utf-8
5
- end_of_line = lf
6
- insert_final_newline = true
7
- indent_size = 2