@nasa-terra/components 0.0.192 → 0.0.194

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 (1257) hide show
  1. package/cdn/chunks/chunk.25HPLSXK.js +19 -0
  2. package/cdn/chunks/chunk.27SIDXC6.js +19 -0
  3. package/cdn/chunks/chunk.2GBZA7X6.js +29 -0
  4. package/cdn/chunks/chunk.2JBOUVTP.js +19 -0
  5. package/cdn/chunks/chunk.2JSCXQW7.js +34 -0
  6. package/cdn/chunks/chunk.2R35TCCR.js +104 -0
  7. package/cdn/chunks/chunk.2VWO27MZ.js +29 -0
  8. package/cdn/chunks/chunk.3CKFHNXJ.js +29 -0
  9. package/cdn/chunks/chunk.3EIEZGDZ.js +33 -0
  10. package/cdn/chunks/chunk.3GKNYXW2.js +151 -0
  11. package/cdn/chunks/chunk.3LHCEEXB.js +29 -0
  12. package/cdn/chunks/chunk.3MOJVWIF.js +19 -0
  13. package/cdn/chunks/chunk.3NMZ6KCW.js +19 -0
  14. package/cdn/chunks/chunk.3PZGPPLB.js +32 -0
  15. package/cdn/chunks/chunk.3VVCAJUS.js +29 -0
  16. package/cdn/chunks/chunk.42HYQORC.js +19 -0
  17. package/cdn/chunks/chunk.4RFHOHAW.js +19 -0
  18. package/cdn/chunks/chunk.4USDETUT.js +19 -0
  19. package/cdn/chunks/chunk.4ZUHP7DV.js +19 -0
  20. package/cdn/chunks/chunk.54QUDEQS.js +19 -0
  21. package/cdn/chunks/chunk.56ESMRJG.js +19 -0
  22. package/cdn/chunks/chunk.57PNGTGL.js +19 -0
  23. package/cdn/chunks/chunk.5AHVOWBD.js +47 -0
  24. package/cdn/chunks/chunk.5AQTORKZ.js +19 -0
  25. package/cdn/chunks/chunk.5ELVELDK.js +32 -0
  26. package/cdn/chunks/chunk.5JA573P2.js +231 -0
  27. package/cdn/chunks/chunk.5JZJ5AAG.js +19 -0
  28. package/cdn/chunks/chunk.5OUTFWGD.js +29 -0
  29. package/cdn/chunks/chunk.5PBKRZ33.js +493 -0
  30. package/cdn/chunks/chunk.5SYNPWHT.js +29 -0
  31. package/cdn/chunks/chunk.62N5Y2AB.js +19 -0
  32. package/cdn/chunks/chunk.64NUK4JL.js +29 -0
  33. package/cdn/chunks/chunk.66YTCHG3.js +32 -0
  34. package/cdn/chunks/chunk.6EBUIW4K.js +19 -0
  35. package/cdn/chunks/chunk.6F5WC2OW.js +82 -0
  36. package/cdn/chunks/chunk.6OMLNJTP.js +60 -0
  37. package/cdn/chunks/chunk.6TECKHZT.js +524 -0
  38. package/cdn/chunks/chunk.76YRBNB2.js +19 -0
  39. package/cdn/chunks/chunk.7C6GWOGP.js +19 -0
  40. package/cdn/chunks/chunk.7RXZ4DIZ.js +29 -0
  41. package/cdn/chunks/chunk.ACQCJRMW.js +33 -0
  42. package/cdn/chunks/chunk.ACXZHLNE.js +19 -0
  43. package/cdn/chunks/chunk.AD6R4VZ6.js +188 -0
  44. package/cdn/chunks/chunk.AFCKIMUZ.js +19 -0
  45. package/cdn/chunks/chunk.AJT4ZPZJ.js +33 -0
  46. package/cdn/chunks/chunk.AO22HKLW.js +19 -0
  47. package/cdn/chunks/chunk.AUXD4HEQ.js +92 -0
  48. package/cdn/chunks/chunk.BBBW7QJ4.js +29 -0
  49. package/cdn/chunks/chunk.BOIW6W57.js +32 -0
  50. package/cdn/chunks/chunk.BRQHBE2V.js +19 -0
  51. package/cdn/chunks/chunk.BRZW6LTV.js +19 -0
  52. package/cdn/chunks/chunk.C2ATZQ5F.js +29 -0
  53. package/cdn/chunks/chunk.CAKC3UCR.js +39 -0
  54. package/cdn/chunks/chunk.CAMTWMJT.js +29 -0
  55. package/cdn/chunks/chunk.CDWI63JL.js +29 -0
  56. package/cdn/chunks/chunk.CIEAG7S4.js +19 -0
  57. package/cdn/chunks/chunk.CPGK37L6.js +19 -0
  58. package/cdn/chunks/chunk.CPRCJFA2.js +19 -0
  59. package/cdn/chunks/chunk.CQNTYZDU.js +34 -0
  60. package/cdn/chunks/chunk.D2JCOO4N.js +19 -0
  61. package/cdn/chunks/chunk.D3BXGIH4.js +29 -0
  62. package/cdn/chunks/chunk.D3SUQHML.js +161 -0
  63. package/cdn/chunks/chunk.D47AKNJC.js +35 -0
  64. package/cdn/chunks/chunk.D5YCEDW5.js +19 -0
  65. package/cdn/chunks/chunk.DDZ3RNNW.js +62 -0
  66. package/cdn/chunks/chunk.DFNIXOB6.js +83 -0
  67. package/cdn/chunks/chunk.DJZRENBK.js +610 -0
  68. package/cdn/chunks/chunk.DRA5MV4R.js +19 -0
  69. package/cdn/chunks/chunk.DREWQEIG.js +19 -0
  70. package/cdn/chunks/chunk.EDE6XYWP.js +19 -0
  71. package/cdn/chunks/chunk.EIKDPG3G.js +32 -0
  72. package/cdn/chunks/chunk.EM46QCN4.js +165 -0
  73. package/cdn/chunks/chunk.ENESQRWD.js +293 -0
  74. package/cdn/chunks/chunk.EORFZZMW.js +19 -0
  75. package/cdn/chunks/chunk.ESMKHLKZ.js +36 -0
  76. package/cdn/chunks/chunk.EU3PNTIG.js +19 -0
  77. package/cdn/chunks/chunk.EURF434X.js +19 -0
  78. package/cdn/chunks/chunk.EUSE5BHV.js +538 -0
  79. package/cdn/chunks/chunk.EVMCVKQH.js +19 -0
  80. package/cdn/chunks/chunk.EZMQUKZA.js +35 -0
  81. package/cdn/chunks/chunk.F3ZA2EFX.js +19 -0
  82. package/cdn/chunks/chunk.FLOBTPDY.js +49 -0
  83. package/cdn/chunks/chunk.FMMWQRF6.js +616 -0
  84. package/cdn/chunks/chunk.FTO5YA7A.js +29 -0
  85. package/cdn/chunks/chunk.FUQGB4UU.js +32 -0
  86. package/cdn/chunks/chunk.FZODCTQW.js +29 -0
  87. package/cdn/chunks/chunk.GM5OAPMU.js +599 -0
  88. package/cdn/chunks/chunk.GPBWYPVI.js +29 -0
  89. package/cdn/chunks/chunk.H5JXHH2F.js +294 -0
  90. package/cdn/chunks/chunk.HBVEZIU6.js +19 -0
  91. package/cdn/chunks/chunk.HDSP7ASR.js +32 -0
  92. package/cdn/chunks/chunk.HT74GBHV.js +19 -0
  93. package/cdn/chunks/chunk.HV4ZOPDY.js +158 -0
  94. package/cdn/chunks/chunk.HWOTHK3U.js +330 -0
  95. package/cdn/chunks/chunk.I6H2QL7V.js +19 -0
  96. package/cdn/chunks/chunk.IAR6FJQ6.js +170 -0
  97. package/cdn/chunks/chunk.ID4RKLO7.js +132 -0
  98. package/cdn/chunks/chunk.IFAC3FEC.js +33 -0
  99. package/cdn/chunks/chunk.IFRZKWBI.js +19 -0
  100. package/cdn/chunks/chunk.IGNHRKWM.js +310 -0
  101. package/cdn/chunks/chunk.IH3AXGEW.js +29 -0
  102. package/cdn/chunks/chunk.INNEOUXN.js +234 -0
  103. package/cdn/chunks/chunk.IZYJIYRD.js +230 -0
  104. package/cdn/chunks/chunk.J2JFFPZR.js +29 -0
  105. package/cdn/chunks/chunk.J2SEB2ET.js +41 -0
  106. package/cdn/chunks/chunk.JAI2Q27H.js +537 -0
  107. package/cdn/chunks/chunk.JBH5HRD4.js +136 -0
  108. package/cdn/chunks/chunk.JFMPGJP3.js +1197 -0
  109. package/cdn/chunks/chunk.JPATOQ2E.js +19 -0
  110. package/cdn/chunks/chunk.JY73LTVA.js +19 -0
  111. package/cdn/chunks/chunk.K43ZWHFO.js +359 -0
  112. package/cdn/chunks/chunk.K6OTID57.js +32 -0
  113. package/cdn/chunks/chunk.K6V3EHME.js +99 -0
  114. package/cdn/chunks/chunk.KIKNUHHR.js +36 -0
  115. package/cdn/chunks/chunk.L67ZDXTQ.js +60 -0
  116. package/cdn/chunks/chunk.LARZNDXR.js +19 -0
  117. package/cdn/chunks/chunk.LEWORS2G.js +19 -0
  118. package/cdn/chunks/chunk.LIJL3O5C.js +29 -0
  119. package/cdn/chunks/chunk.LJ2VRPGW.js +37 -0
  120. package/cdn/chunks/chunk.LPYJTSID.js +19 -0
  121. package/cdn/chunks/chunk.LSDG52RS.js +19 -0
  122. package/cdn/chunks/chunk.LVDHTFCM.js +19 -0
  123. package/cdn/chunks/chunk.LYK67ADV.js +29 -0
  124. package/cdn/chunks/chunk.M2X5WZYA.js +195 -0
  125. package/cdn/chunks/chunk.M6QWSQ6R.js +32 -0
  126. package/cdn/chunks/chunk.MBUMDZWN.js +273 -0
  127. package/cdn/chunks/chunk.MH3KE4F4.js +904 -0
  128. package/cdn/chunks/chunk.MKRIP4AB.js +32 -0
  129. package/cdn/chunks/chunk.ML55JOKI.js +443 -0
  130. package/cdn/chunks/chunk.MNT7EW6Z.js +19 -0
  131. package/cdn/chunks/chunk.MQKU3QFL.js +19 -0
  132. package/cdn/chunks/chunk.N2XXN3TR.js +56075 -0
  133. package/cdn/chunks/chunk.N3RUN4BC.js +589 -0
  134. package/cdn/chunks/chunk.NARFBXIM.js +19 -0
  135. package/cdn/chunks/chunk.NDZ465WZ.js +29 -0
  136. package/cdn/chunks/chunk.NN5FLRAE.js +294 -0
  137. package/cdn/chunks/chunk.NR67OQKA.js +29 -0
  138. package/cdn/chunks/chunk.NVERX3HX.js +37 -0
  139. package/cdn/chunks/chunk.OBYBLUJW.js +29 -0
  140. package/cdn/chunks/chunk.OK7OTDZR.js +99 -0
  141. package/cdn/chunks/chunk.OMH5KBUQ.js +19 -0
  142. package/cdn/chunks/chunk.OZPPRU7T.js +32 -0
  143. package/cdn/chunks/chunk.PNLVMKMG.js +30 -0
  144. package/cdn/chunks/chunk.POXKPQPI.js +138 -0
  145. package/cdn/chunks/chunk.PVE72XKV.js +19 -0
  146. package/cdn/chunks/chunk.PWWCCXHW.js +86 -0
  147. package/cdn/chunks/chunk.PYLMFAYG.js +29 -0
  148. package/cdn/chunks/chunk.Q3MBVDWM.js +155 -0
  149. package/cdn/chunks/chunk.QGJV6ODQ.js +19 -0
  150. package/cdn/chunks/chunk.QNA6DNPH.js +190 -0
  151. package/cdn/chunks/chunk.R6TZC2LN.js +259 -0
  152. package/cdn/chunks/chunk.RA34EXZV.js +266 -0
  153. package/cdn/chunks/chunk.RBJVGVK2.js +19 -0
  154. package/cdn/chunks/chunk.RBRCQLSM.js +224 -0
  155. package/cdn/chunks/chunk.RSYNB7LT.js +2546 -0
  156. package/cdn/chunks/chunk.RTDUSEHR.js +113 -0
  157. package/cdn/chunks/chunk.RU5LYEYT.js +35 -0
  158. package/cdn/chunks/chunk.RYI43APZ.js +1975 -0
  159. package/cdn/chunks/chunk.S6VAJR4I.js +29 -0
  160. package/cdn/chunks/chunk.S7E3FO44.js +46 -0
  161. package/cdn/chunks/chunk.SAJCA6BZ.js +33 -0
  162. package/cdn/chunks/chunk.SF66BMUX.js +93 -0
  163. package/cdn/chunks/chunk.SFU6B27K.js +134 -0
  164. package/cdn/chunks/chunk.SPWNS6NM.js +29 -0
  165. package/cdn/chunks/chunk.SSIULMP4.js +19 -0
  166. package/cdn/chunks/chunk.SWSXHVIH.js +135 -0
  167. package/cdn/chunks/chunk.T23GTDT7.js +36 -0
  168. package/cdn/chunks/chunk.TESOH43L.js +19 -0
  169. package/cdn/chunks/chunk.TLZRGNQD.js +19 -0
  170. package/cdn/chunks/chunk.U2AACUWF.js +19 -0
  171. package/cdn/chunks/chunk.U7TCD5P2.js +960 -0
  172. package/cdn/chunks/chunk.UCT3XAKW.js +658 -0
  173. package/cdn/chunks/chunk.UUADHMC4.js +276 -0
  174. package/cdn/chunks/chunk.UYMVPCQM.js +539 -0
  175. package/cdn/chunks/chunk.UZNUBRSO.js +278 -0
  176. package/cdn/chunks/chunk.VEA2ZOY3.js +377 -0
  177. package/cdn/chunks/chunk.VLH4EKCR.js +29 -0
  178. package/cdn/chunks/chunk.VY3MFEXW.js +29 -0
  179. package/cdn/chunks/chunk.W36ELLE3.js +32 -0
  180. package/cdn/chunks/chunk.W4C6XLXC.js +36 -0
  181. package/cdn/chunks/chunk.WFUSNOGC.js +78 -0
  182. package/cdn/chunks/chunk.WGY4VUHI.js +35 -0
  183. package/cdn/chunks/chunk.WTFB42FU.js +663 -0
  184. package/cdn/chunks/chunk.X2BIJLHO.js +101 -0
  185. package/cdn/chunks/chunk.XA2U365T.js +110 -0
  186. package/cdn/chunks/chunk.XBS3GWMX.js +478 -0
  187. package/cdn/chunks/chunk.XFSSGWZP.js +19 -0
  188. package/cdn/chunks/chunk.XTH2GCFE.js +123 -0
  189. package/cdn/chunks/chunk.Y6HDWQ4L.js +19 -0
  190. package/cdn/chunks/chunk.YAQXBTU6.js +36 -0
  191. package/cdn/chunks/chunk.YHDOC5KN.js +32 -0
  192. package/cdn/chunks/chunk.YMWIHREQ.js +74 -0
  193. package/cdn/chunks/chunk.YQDAO5XG.js +915 -0
  194. package/cdn/chunks/chunk.YS5YJL73.js +29 -0
  195. package/cdn/chunks/chunk.YVHY3OAP.js +35 -0
  196. package/cdn/chunks/chunk.Z4WUWYUD.js +71 -0
  197. package/cdn/chunks/chunk.ZAM5GOI5.js +19 -0
  198. package/cdn/chunks/chunk.ZCHJKRIE.js +19 -0
  199. package/cdn/chunks/chunk.ZFVISD6K.js +357 -0
  200. package/cdn/chunks/chunk.ZITP6N3P.js +68 -0
  201. package/cdn/chunks/chunk.ZK2F6XLW.js +2690 -0
  202. package/cdn/chunks/chunk.ZKOQMCU6.js +32 -0
  203. package/cdn/chunks/chunk.ZTZDXMQ6.js +19 -0
  204. package/cdn/chunks/chunk.ZWLHZBEM.js +1259 -0
  205. package/cdn/components/accordion/accordion.component.js +3 -3
  206. package/cdn/components/accordion/accordion.js +4 -4
  207. package/cdn/components/alert/alert.component.js +2 -2
  208. package/cdn/components/alert/alert.js +3 -3
  209. package/cdn/components/avatar/avatar.component.js +3 -3
  210. package/cdn/components/avatar/avatar.js +4 -4
  211. package/cdn/components/badge/badge.component.js +2 -2
  212. package/cdn/components/badge/badge.js +3 -3
  213. package/cdn/components/banner/banner.component.js +2 -2
  214. package/cdn/components/banner/banner.js +3 -3
  215. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  216. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  217. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  218. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  219. package/cdn/components/browse-variables/browse-variables.component.js +13 -13
  220. package/cdn/components/browse-variables/browse-variables.controller.js +3 -3
  221. package/cdn/components/browse-variables/browse-variables.js +14 -14
  222. package/cdn/components/button/button.component.js +3 -3
  223. package/cdn/components/button/button.js +4 -4
  224. package/cdn/components/button-group/button-group.component.js +2 -2
  225. package/cdn/components/button-group/button-group.js +3 -3
  226. package/cdn/components/caption/caption.component.js +2 -2
  227. package/cdn/components/caption/caption.js +3 -3
  228. package/cdn/components/card/card.component.js +2 -2
  229. package/cdn/components/card/card.js +3 -3
  230. package/cdn/components/checkbox/checkbox.component.js +3 -3
  231. package/cdn/components/checkbox/checkbox.js +4 -4
  232. package/cdn/components/chip/chip.component.js +2 -2
  233. package/cdn/components/chip/chip.js +3 -3
  234. package/cdn/components/combobox/combobox.component.js +2 -2
  235. package/cdn/components/combobox/combobox.js +3 -3
  236. package/cdn/components/data-access/data-access.component.js +17 -17
  237. package/cdn/components/data-access/data-access.js +18 -18
  238. package/cdn/components/data-grid/data-grid.component.js +3 -3
  239. package/cdn/components/data-grid/data-grid.js +4 -4
  240. package/cdn/components/data-rods/data-rods.component.d.ts +2 -0
  241. package/cdn/components/data-rods/data-rods.component.js +25 -25
  242. package/cdn/components/data-rods/data-rods.js +26 -26
  243. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +1 -0
  244. package/cdn/components/data-subsetter/data-subsetter.component.js +26 -26
  245. package/cdn/components/data-subsetter/data-subsetter.js +27 -27
  246. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  247. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +27 -27
  248. package/cdn/components/data-subsetter-history/data-subsetter-history.js +28 -28
  249. package/cdn/components/date-picker/date-picker.component.js +8 -8
  250. package/cdn/components/date-picker/date-picker.js +9 -9
  251. package/cdn/components/date-range-slider/date-range-slider.component.js +4 -4
  252. package/cdn/components/date-range-slider/date-range-slider.js +5 -5
  253. package/cdn/components/dialog/dialog.component.js +4 -4
  254. package/cdn/components/dialog/dialog.js +5 -5
  255. package/cdn/components/divider/divider.component.js +2 -2
  256. package/cdn/components/divider/divider.js +3 -3
  257. package/cdn/components/dropdown/dropdown.component.js +3 -3
  258. package/cdn/components/dropdown/dropdown.js +4 -4
  259. package/cdn/components/earthdata-login/earthdata-login.component.js +10 -10
  260. package/cdn/components/earthdata-login/earthdata-login.js +11 -11
  261. package/cdn/components/file-upload/file-upload.component.js +2 -2
  262. package/cdn/components/file-upload/file-upload.js +3 -3
  263. package/cdn/components/harmony-history/harmony-history.component.js +8 -8
  264. package/cdn/components/harmony-history/harmony-history.js +9 -9
  265. package/cdn/components/icon/icon.component.js +2 -2
  266. package/cdn/components/icon/icon.js +3 -3
  267. package/cdn/components/input/input.component.js +3 -3
  268. package/cdn/components/input/input.js +4 -4
  269. package/cdn/components/loader/loader.component.js +2 -2
  270. package/cdn/components/loader/loader.js +3 -3
  271. package/cdn/components/login/login.component.js +8 -8
  272. package/cdn/components/login/login.js +9 -9
  273. package/cdn/components/map/map.component.js +2 -2
  274. package/cdn/components/map/map.js +3 -3
  275. package/cdn/components/menu/menu.component.js +2 -2
  276. package/cdn/components/menu/menu.js +3 -3
  277. package/cdn/components/menu-item/menu-item.component.js +5 -5
  278. package/cdn/components/menu-item/menu-item.js +6 -6
  279. package/cdn/components/option/option.component.js +3 -3
  280. package/cdn/components/option/option.js +4 -4
  281. package/cdn/components/pagination/pagination.component.js +3 -3
  282. package/cdn/components/pagination/pagination.js +4 -4
  283. package/cdn/components/plot/plot.component.js +2 -2
  284. package/cdn/components/plot/plot.js +3 -3
  285. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  286. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  287. package/cdn/components/plot-toolbar/plot-toolbar.component.js +11 -11
  288. package/cdn/components/plot-toolbar/plot-toolbar.js +12 -12
  289. package/cdn/components/popup/popup.component.js +2 -2
  290. package/cdn/components/popup/popup.js +3 -3
  291. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  292. package/cdn/components/progress-bar/progress-bar.js +3 -3
  293. package/cdn/components/radio/radio.component.js +2 -2
  294. package/cdn/components/radio/radio.js +3 -3
  295. package/cdn/components/radio-group/radio-group.component.js +2 -2
  296. package/cdn/components/radio-group/radio-group.js +3 -3
  297. package/cdn/components/scroll-hint/scroll-hint.component.js +3 -3
  298. package/cdn/components/scroll-hint/scroll-hint.js +4 -4
  299. package/cdn/components/select/select.component.js +5 -5
  300. package/cdn/components/select/select.js +6 -6
  301. package/cdn/components/site-header/site-header.component.js +3 -3
  302. package/cdn/components/site-header/site-header.js +3 -3
  303. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  304. package/cdn/components/site-navigation/site-navigation.js +2 -2
  305. package/cdn/components/skeleton/skeleton.component.js +2 -2
  306. package/cdn/components/skeleton/skeleton.js +3 -3
  307. package/cdn/components/slider/slider.component.js +2 -2
  308. package/cdn/components/slider/slider.js +3 -3
  309. package/cdn/components/spatial-picker/spatial-picker.component.js +7 -7
  310. package/cdn/components/spatial-picker/spatial-picker.js +8 -8
  311. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  312. package/cdn/components/status-indicator/status-indicator.js +3 -3
  313. package/cdn/components/stepper/stepper.component.js +2 -2
  314. package/cdn/components/stepper/stepper.js +3 -3
  315. package/cdn/components/stepper-step/stepper-step.component.js +3 -3
  316. package/cdn/components/stepper-step/stepper-step.js +4 -4
  317. package/cdn/components/tab/tab.component.js +3 -3
  318. package/cdn/components/tab/tab.js +4 -4
  319. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  320. package/cdn/components/tab-panel/tab-panel.js +3 -3
  321. package/cdn/components/tabs/tabs.component.js +3 -3
  322. package/cdn/components/tabs/tabs.js +4 -4
  323. package/cdn/components/tag/tag.component.js +3 -3
  324. package/cdn/components/tag/tag.js +4 -4
  325. package/cdn/components/textarea/textarea.component.js +2 -2
  326. package/cdn/components/textarea/textarea.js +3 -3
  327. package/cdn/components/time-average-map/time-average-map.component.js +17 -17
  328. package/cdn/components/time-average-map/time-average-map.controller.js +3 -3
  329. package/cdn/components/time-average-map/time-average-map.js +18 -18
  330. package/cdn/components/time-series/time-series-cache.service.js +1 -1
  331. package/cdn/components/time-series/time-series.component.d.ts +3 -0
  332. package/cdn/components/time-series/time-series.component.js +18 -18
  333. package/cdn/components/time-series/time-series.controller.js +4 -4
  334. package/cdn/components/time-series/time-series.js +19 -19
  335. package/cdn/components/toast/toast.component.js +3 -3
  336. package/cdn/components/toast/toast.js +4 -4
  337. package/cdn/components/toggle/toggle.component.js +2 -2
  338. package/cdn/components/toggle/toggle.js +3 -3
  339. package/cdn/components/tooltip/tooltip.component.js +3 -3
  340. package/cdn/components/tooltip/tooltip.js +4 -4
  341. package/cdn/components/variable-combobox/variable-combobox.component.js +6 -6
  342. package/cdn/components/variable-combobox/variable-combobox.js +7 -7
  343. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +6 -6
  344. package/cdn/components/variable-keyword-search/variable-keyword-search.js +7 -7
  345. package/cdn/custom-elements.json +314 -203
  346. package/cdn/events/events.d.ts +2 -0
  347. package/cdn/events/terra-time-series-chunk-progress-change.d.ts +11 -0
  348. package/cdn/events/terra-time-series-loading-change.d.ts +10 -0
  349. package/cdn/react/accordion/index.js +4 -4
  350. package/cdn/react/alert/index.js +3 -3
  351. package/cdn/react/avatar/index.js +4 -4
  352. package/cdn/react/badge/index.js +3 -3
  353. package/cdn/react/banner/index.js +3 -3
  354. package/cdn/react/breadcrumb/index.js +3 -3
  355. package/cdn/react/breadcrumbs/index.js +3 -3
  356. package/cdn/react/browse-variables/index.js +14 -14
  357. package/cdn/react/button/index.js +4 -4
  358. package/cdn/react/button-group/index.js +3 -3
  359. package/cdn/react/caption/index.js +3 -3
  360. package/cdn/react/card/index.js +3 -3
  361. package/cdn/react/checkbox/index.js +4 -4
  362. package/cdn/react/chip/index.js +3 -3
  363. package/cdn/react/combobox/index.js +3 -3
  364. package/cdn/react/data-access/index.js +18 -18
  365. package/cdn/react/data-grid/index.js +4 -4
  366. package/cdn/react/data-rods/index.js +26 -26
  367. package/cdn/react/data-subsetter/index.js +27 -27
  368. package/cdn/react/data-subsetter-history/index.js +28 -28
  369. package/cdn/react/date-picker/index.js +9 -9
  370. package/cdn/react/date-range-slider/index.js +5 -5
  371. package/cdn/react/dialog/index.js +5 -5
  372. package/cdn/react/divider/index.js +3 -3
  373. package/cdn/react/dropdown/index.js +4 -4
  374. package/cdn/react/earthdata-login/index.js +11 -11
  375. package/cdn/react/file-upload/index.js +3 -3
  376. package/cdn/react/harmony-history/index.js +9 -9
  377. package/cdn/react/icon/index.js +3 -3
  378. package/cdn/react/index.d.ts +1 -1
  379. package/cdn/react/index.js +145 -145
  380. package/cdn/react/input/index.js +4 -4
  381. package/cdn/react/loader/index.js +3 -3
  382. package/cdn/react/login/index.js +9 -9
  383. package/cdn/react/map/index.js +3 -3
  384. package/cdn/react/menu/index.js +3 -3
  385. package/cdn/react/menu-item/index.js +6 -6
  386. package/cdn/react/option/index.js +4 -4
  387. package/cdn/react/pagination/index.js +4 -4
  388. package/cdn/react/plot/index.js +3 -3
  389. package/cdn/react/plot-toolbar/index.js +12 -12
  390. package/cdn/react/popup/index.js +3 -3
  391. package/cdn/react/progress-bar/index.js +3 -3
  392. package/cdn/react/radio/index.js +3 -3
  393. package/cdn/react/radio-group/index.js +3 -3
  394. package/cdn/react/scroll-hint/index.js +4 -4
  395. package/cdn/react/select/index.js +6 -6
  396. package/cdn/react/site-header/index.js +4 -4
  397. package/cdn/react/site-navigation/index.js +3 -3
  398. package/cdn/react/skeleton/index.js +3 -3
  399. package/cdn/react/slider/index.js +3 -3
  400. package/cdn/react/spatial-picker/index.js +8 -8
  401. package/cdn/react/status-indicator/index.js +3 -3
  402. package/cdn/react/stepper/index.js +3 -3
  403. package/cdn/react/stepper-step/index.js +4 -4
  404. package/cdn/react/tab/index.js +4 -4
  405. package/cdn/react/tab-panel/index.js +3 -3
  406. package/cdn/react/tabs/index.js +4 -4
  407. package/cdn/react/tag/index.js +4 -4
  408. package/cdn/react/textarea/index.js +3 -3
  409. package/cdn/react/time-average-map/index.js +18 -18
  410. package/cdn/react/time-series/index.d.ts +8 -0
  411. package/cdn/react/time-series/index.js +19 -19
  412. package/cdn/react/toast/index.js +4 -4
  413. package/cdn/react/toggle/index.js +3 -3
  414. package/cdn/react/tooltip/index.js +4 -4
  415. package/cdn/react/variable-combobox/index.js +7 -7
  416. package/cdn/react/variable-keyword-search/index.js +7 -7
  417. package/cdn/terra-ui-components.js +137 -137
  418. package/cdn/types/vue/index.d.ts +137 -129
  419. package/cdn/utilities/date.d.ts +1 -1
  420. package/cdn/utilities/date.js +2 -2
  421. package/cdn/utilities/variable-task.js +3 -3
  422. package/cdn/vscode.html-custom-data.json +42 -42
  423. package/cdn/web-types.json +207 -188
  424. package/dist/chunks/chunk.26KXEWMN.js +16 -0
  425. package/dist/chunks/chunk.2AQNNAKL.js +1 -0
  426. package/dist/chunks/chunk.2FH6MYZZ.js +154 -0
  427. package/dist/chunks/chunk.2HOQQP26.js +23 -0
  428. package/dist/chunks/chunk.2IV72XUL.js +127 -0
  429. package/dist/chunks/chunk.2YTDL5KY.js +1 -0
  430. package/dist/chunks/chunk.33BFN23F.js +1 -0
  431. package/dist/chunks/chunk.35TL2DA6.js +75 -0
  432. package/dist/chunks/chunk.3FMYX3E6.js +1 -0
  433. package/dist/chunks/chunk.3G3L327Q.js +12 -0
  434. package/dist/chunks/chunk.3JUE7LKC.js +1 -0
  435. package/dist/chunks/chunk.3MYOC5J2.js +1 -0
  436. package/dist/chunks/chunk.3UXNICM5.js +1 -0
  437. package/dist/chunks/chunk.3UYB6TPT.js +33 -0
  438. package/dist/chunks/chunk.45QRM7RA.js +39 -0
  439. package/dist/chunks/chunk.4KYB4FL4.js +1 -0
  440. package/dist/chunks/chunk.4X7V4TVM.js +1 -0
  441. package/dist/chunks/chunk.4Z54QKZJ.js +14 -0
  442. package/dist/chunks/chunk.4ZBS5PPG.js +43 -0
  443. package/dist/chunks/chunk.54PML2SA.js +47 -0
  444. package/dist/chunks/chunk.5IKNWT5H.js +1 -0
  445. package/dist/chunks/chunk.5THA7JYX.js +1 -0
  446. package/dist/chunks/chunk.5V7VFGD5.js +61 -0
  447. package/dist/chunks/chunk.62SHHUCR.js +1 -0
  448. package/dist/chunks/chunk.65LT476V.js +1 -0
  449. package/dist/chunks/chunk.6EVIJKKN.js +1 -0
  450. package/dist/chunks/chunk.6FWVT5YS.js +780 -0
  451. package/dist/chunks/chunk.6NRGGCAP.js +41 -0
  452. package/dist/chunks/chunk.6QFWASSC.js +1 -0
  453. package/dist/chunks/chunk.72Q4Y2S2.js +8 -0
  454. package/dist/chunks/chunk.72VGTCIQ.js +1 -0
  455. package/dist/chunks/chunk.75SIW5FR.js +1 -0
  456. package/dist/chunks/chunk.75UNUTC7.js +1 -0
  457. package/dist/chunks/chunk.7DBXIKTC.js +300 -0
  458. package/dist/chunks/chunk.7MP72TZP.js +1 -0
  459. package/dist/chunks/chunk.7MYAWNRA.js +64 -0
  460. package/dist/chunks/chunk.7RB7NZHP.js +1 -0
  461. package/dist/chunks/chunk.A4TVOKKY.js +4 -0
  462. package/dist/chunks/chunk.ACCIF3CW.js +1 -0
  463. package/dist/chunks/chunk.AFGADJNK.js +1 -0
  464. package/dist/chunks/chunk.AIVIE5YC.js +1 -0
  465. package/dist/chunks/chunk.ATB2QRYD.js +1 -0
  466. package/dist/chunks/chunk.AXHBILJ4.js +300 -0
  467. package/dist/chunks/chunk.B2T3E3EN.js +1 -0
  468. package/dist/chunks/chunk.C62YPWNU.js +1 -0
  469. package/dist/chunks/chunk.C6AKU7WM.js +24 -0
  470. package/dist/chunks/chunk.C7E3R5KU.js +1 -0
  471. package/dist/chunks/chunk.CEHKBT6Q.js +1 -0
  472. package/dist/chunks/chunk.CHAY5OT7.js +35 -0
  473. package/dist/chunks/chunk.CTISMZYA.js +17 -0
  474. package/dist/chunks/chunk.CY5SBRKH.js +148 -0
  475. package/dist/chunks/chunk.CYECGPCS.js +1 -0
  476. package/dist/chunks/chunk.CZAJYJ7Y.js +1 -0
  477. package/dist/chunks/chunk.DADDNQLP.js +1 -0
  478. package/dist/chunks/chunk.DGC76RUW.js +43 -0
  479. package/dist/chunks/chunk.DN4QUBZT.js +1 -0
  480. package/dist/chunks/chunk.DPCU4QNO.js +1 -0
  481. package/dist/chunks/chunk.DQUUBGXN.js +65 -0
  482. package/dist/chunks/chunk.DTGRYWDW.js +1 -0
  483. package/dist/chunks/chunk.DTK4KP3A.js +1 -0
  484. package/dist/chunks/chunk.DWUSSCJJ.js +1 -0
  485. package/dist/chunks/chunk.E2CO7WAC.js +1 -0
  486. package/dist/chunks/chunk.E5J45IZ7.js +1 -0
  487. package/dist/chunks/chunk.E6QEYMFV.js +1 -0
  488. package/dist/chunks/chunk.EGGMNU3M.js +1 -0
  489. package/dist/chunks/chunk.EIXQWEAM.js +2 -0
  490. package/dist/chunks/chunk.EKTAW2GT.js +1 -0
  491. package/dist/chunks/chunk.EMPODODW.js +1 -0
  492. package/dist/chunks/chunk.EUVWT4QC.js +1 -0
  493. package/dist/chunks/chunk.EVUZHRXP.js +1 -0
  494. package/dist/chunks/chunk.F2565BRS.js +1 -0
  495. package/dist/chunks/chunk.FDEYULXK.js +9 -0
  496. package/dist/chunks/chunk.FRPWAKUG.js +1 -0
  497. package/dist/chunks/chunk.FWOBNCDE.js +1 -0
  498. package/dist/chunks/chunk.FWQ7SHUK.js +1 -0
  499. package/dist/chunks/chunk.G27RDTEA.js +1 -0
  500. package/dist/chunks/chunk.G335JMUG.js +11 -0
  501. package/dist/chunks/chunk.GFEVBXEL.js +1 -0
  502. package/dist/chunks/chunk.GIQVOBK7.js +1 -0
  503. package/dist/chunks/chunk.GLZKR6B5.js +1 -0
  504. package/dist/chunks/chunk.GODNPIQP.js +11 -0
  505. package/dist/chunks/chunk.GPNEDD5P.js +1 -0
  506. package/dist/chunks/chunk.GPYZTBOY.js +1 -0
  507. package/dist/chunks/chunk.GRK5N5A6.js +1 -0
  508. package/dist/chunks/chunk.GSHBEMLU.js +1 -0
  509. package/dist/chunks/chunk.GTEDR4QW.js +35 -0
  510. package/dist/chunks/chunk.GUF6ZBAS.js +26 -0
  511. package/dist/chunks/chunk.GUXZYNLH.js +1 -0
  512. package/dist/chunks/chunk.HETQFJKA.js +37 -0
  513. package/dist/chunks/chunk.HFOE6H7K.js +1 -0
  514. package/dist/chunks/chunk.HKVMHATQ.js +1 -0
  515. package/dist/chunks/chunk.HLDG5CW2.js +1 -0
  516. package/dist/chunks/chunk.HQH7ECRG.js +9 -0
  517. package/dist/chunks/chunk.HTATUAK5.js +1 -0
  518. package/dist/chunks/chunk.HWZU5KAS.js +1 -0
  519. package/dist/chunks/chunk.I5QWDHQJ.js +1 -0
  520. package/dist/chunks/chunk.I6ERW6PJ.js +1 -0
  521. package/dist/chunks/chunk.IC6VHV7M.js +1 -0
  522. package/dist/chunks/chunk.IDZK2LDN.js +1 -0
  523. package/dist/chunks/chunk.IL4QZ3ZM.js +1 -0
  524. package/dist/chunks/chunk.INUW5PQ4.js +6 -0
  525. package/dist/chunks/chunk.IUKZUZN7.js +1 -0
  526. package/dist/chunks/chunk.IZHIRL3X.js +1 -0
  527. package/dist/chunks/chunk.J5CDDE2J.js +1 -0
  528. package/dist/chunks/chunk.J6S26VCB.js +30 -0
  529. package/dist/chunks/chunk.JB2RNZRH.js +1 -0
  530. package/dist/chunks/chunk.JEML32HW.js +1 -0
  531. package/dist/chunks/chunk.JLHERDSR.js +1 -0
  532. package/dist/chunks/chunk.JM2I74WK.js +1 -0
  533. package/dist/chunks/chunk.JQCR6OBC.js +1 -0
  534. package/dist/chunks/chunk.JSHDLVPL.js +1 -0
  535. package/dist/chunks/chunk.JWBNPKSD.js +74 -0
  536. package/dist/chunks/chunk.KHDCXDVC.js +1 -0
  537. package/dist/chunks/chunk.L27PY7AR.js +1 -0
  538. package/dist/chunks/chunk.L4SJSJJH.js +1 -0
  539. package/dist/chunks/chunk.LMLDHGQC.js +27 -0
  540. package/dist/chunks/chunk.LMUNJ5G5.js +1 -0
  541. package/dist/chunks/chunk.LNGCGZML.js +145 -0
  542. package/dist/chunks/chunk.M6TRKIQH.js +1 -0
  543. package/dist/chunks/chunk.MG7I2BHN.js +5 -0
  544. package/dist/chunks/chunk.MGRDBN66.js +1 -0
  545. package/dist/chunks/chunk.MJL3WV7Q.js +55 -0
  546. package/dist/chunks/chunk.MPV52EDT.js +1 -0
  547. package/dist/chunks/chunk.MTMYGCXE.js +1 -0
  548. package/dist/chunks/chunk.MVH4BD5E.js +1 -0
  549. package/dist/chunks/chunk.N2J4ZXBP.js +1 -0
  550. package/dist/chunks/chunk.NSXOOZRJ.js +122 -0
  551. package/dist/chunks/chunk.O33GZXIW.js +19 -0
  552. package/dist/chunks/chunk.O5E2D7VI.js +80 -0
  553. package/dist/chunks/chunk.O5FM57JC.js +1 -0
  554. package/dist/chunks/chunk.OBDWHYK6.js +1 -0
  555. package/dist/chunks/chunk.OD4TBRCI.js +20 -0
  556. package/dist/chunks/chunk.OHUBKCFW.js +1 -0
  557. package/dist/chunks/chunk.OK25GRRM.js +1 -0
  558. package/dist/chunks/chunk.OUXNGODQ.js +55 -0
  559. package/dist/chunks/chunk.OYBESMEM.js +55 -0
  560. package/dist/chunks/chunk.OZGKOS7X.js +38 -0
  561. package/dist/chunks/chunk.OZHGY63Y.js +113 -0
  562. package/dist/chunks/chunk.P7GHJ7JX.js +1 -0
  563. package/dist/chunks/chunk.PLUPSVTL.js +1 -0
  564. package/dist/chunks/chunk.POQML7RV.js +1 -0
  565. package/dist/chunks/chunk.PUPEOSOS.js +1 -0
  566. package/dist/chunks/chunk.PWWWIMDG.js +1 -0
  567. package/dist/chunks/chunk.Q2AK6YWC.js +1 -0
  568. package/dist/chunks/chunk.QASYGJ27.js +1 -0
  569. package/dist/chunks/chunk.QBNYAZEC.js +5 -0
  570. package/dist/chunks/chunk.QGXUQL5S.js +1 -0
  571. package/dist/chunks/chunk.QHJOOSNB.js +1 -0
  572. package/dist/chunks/chunk.QHOKD4JQ.js +1 -0
  573. package/dist/chunks/chunk.QJFTPHPW.js +30 -0
  574. package/dist/chunks/chunk.QNDVROWC.js +100 -0
  575. package/dist/chunks/chunk.QQHOPHO5.js +1 -0
  576. package/dist/chunks/chunk.QUEQ5PKP.js +1 -0
  577. package/dist/chunks/chunk.R45UUT4V.js +1 -0
  578. package/dist/chunks/chunk.RBS4URTQ.js +1 -0
  579. package/dist/chunks/chunk.RCEQNCD4.js +1 -0
  580. package/dist/chunks/chunk.RF5XHFQ3.js +20 -0
  581. package/dist/chunks/chunk.RLKWWOLF.js +1 -0
  582. package/dist/chunks/chunk.RMUOTOM3.js +1 -0
  583. package/dist/chunks/chunk.RNPNGSH7.js +157 -0
  584. package/dist/chunks/chunk.RT4QYORC.js +26 -0
  585. package/dist/chunks/chunk.SDWVM2SO.js +1 -0
  586. package/dist/chunks/chunk.SLP6CFPP.js +1182 -0
  587. package/dist/chunks/chunk.SMTUPE7E.js +1 -0
  588. package/dist/chunks/chunk.SPD5O5GO.js +1 -0
  589. package/dist/chunks/chunk.SPGRHFBJ.js +1 -0
  590. package/dist/chunks/chunk.THXTTTK2.js +1 -0
  591. package/dist/chunks/chunk.TJVIISBO.js +1 -0
  592. package/dist/chunks/chunk.TLQJK44I.js +1 -0
  593. package/dist/chunks/chunk.U75IFYWR.js +1 -0
  594. package/dist/chunks/chunk.UBF6BPEZ.js +121 -0
  595. package/dist/chunks/chunk.ULOHDMHW.js +1 -0
  596. package/dist/chunks/chunk.UN5LAOCO.js +1 -0
  597. package/dist/chunks/chunk.UXWER3LW.js +1 -0
  598. package/dist/chunks/chunk.UZT5IB54.js +62 -0
  599. package/dist/chunks/chunk.V7Z7GMTQ.js +1 -0
  600. package/dist/chunks/chunk.VG3AZDMP.js +1 -0
  601. package/dist/chunks/chunk.WDUVKDPP.js +99 -0
  602. package/dist/chunks/chunk.WMQPWMUX.js +115 -0
  603. package/dist/chunks/chunk.WN3SDNIM.js +1 -0
  604. package/dist/chunks/chunk.WTXOFBLG.js +25 -0
  605. package/dist/chunks/chunk.X36ZL2LL.js +1 -0
  606. package/dist/chunks/chunk.XGH7TABE.js +1 -0
  607. package/dist/chunks/chunk.XOG3BCPQ.js +1 -0
  608. package/dist/chunks/chunk.XTX4TR6R.js +1 -0
  609. package/dist/chunks/chunk.XWAIVPGA.js +8 -0
  610. package/dist/chunks/chunk.XXIFAJRB.js +1 -0
  611. package/dist/chunks/chunk.Y6UXJUWB.js +22 -0
  612. package/dist/chunks/chunk.YCOSKKGZ.js +67 -0
  613. package/dist/chunks/chunk.YDK4KHPK.js +1 -0
  614. package/dist/chunks/chunk.YDO3U6BD.js +572 -0
  615. package/dist/chunks/chunk.YG7VEWC4.js +1 -0
  616. package/dist/chunks/chunk.YH3IQ333.js +1 -0
  617. package/dist/chunks/chunk.YS7FAJWI.js +1 -0
  618. package/dist/chunks/chunk.YUPDTNHJ.js +1 -0
  619. package/dist/chunks/chunk.YVTC325R.js +48 -0
  620. package/dist/chunks/chunk.YYB5PPWG.js +1 -0
  621. package/dist/chunks/chunk.YYETMKDA.js +1 -0
  622. package/dist/chunks/chunk.Z4FLHWPR.js +1 -0
  623. package/dist/chunks/chunk.Z5WIAHFZ.js +280 -0
  624. package/dist/chunks/chunk.ZDAPP3SH.js +1 -0
  625. package/dist/chunks/chunk.ZEEJTZFK.js +1 -0
  626. package/dist/chunks/chunk.ZUGFTVEB.js +1 -0
  627. package/dist/components/accordion/accordion.component.js +1 -1
  628. package/dist/components/accordion/accordion.js +1 -1
  629. package/dist/components/alert/alert.component.js +1 -1
  630. package/dist/components/alert/alert.js +1 -1
  631. package/dist/components/avatar/avatar.component.js +1 -1
  632. package/dist/components/avatar/avatar.js +1 -1
  633. package/dist/components/badge/badge.component.js +1 -1
  634. package/dist/components/badge/badge.js +1 -1
  635. package/dist/components/banner/banner.component.js +1 -1
  636. package/dist/components/banner/banner.js +1 -1
  637. package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
  638. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  639. package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
  640. package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
  641. package/dist/components/browse-variables/browse-variables.component.js +1 -1
  642. package/dist/components/browse-variables/browse-variables.controller.js +1 -1
  643. package/dist/components/browse-variables/browse-variables.js +1 -1
  644. package/dist/components/button/button.component.js +1 -1
  645. package/dist/components/button/button.js +1 -1
  646. package/dist/components/button-group/button-group.component.js +1 -1
  647. package/dist/components/button-group/button-group.js +1 -1
  648. package/dist/components/caption/caption.component.js +1 -1
  649. package/dist/components/caption/caption.js +1 -1
  650. package/dist/components/card/card.component.js +1 -1
  651. package/dist/components/card/card.js +1 -1
  652. package/dist/components/checkbox/checkbox.component.js +1 -1
  653. package/dist/components/checkbox/checkbox.js +1 -1
  654. package/dist/components/chip/chip.component.js +1 -1
  655. package/dist/components/chip/chip.js +1 -1
  656. package/dist/components/combobox/combobox.component.js +1 -1
  657. package/dist/components/combobox/combobox.js +1 -1
  658. package/dist/components/data-access/data-access.component.js +1 -1
  659. package/dist/components/data-access/data-access.js +1 -1
  660. package/dist/components/data-grid/data-grid.component.js +1 -1
  661. package/dist/components/data-grid/data-grid.js +1 -1
  662. package/dist/components/data-rods/data-rods.component.d.ts +2 -0
  663. package/dist/components/data-rods/data-rods.component.js +1 -1
  664. package/dist/components/data-rods/data-rods.js +1 -1
  665. package/dist/components/data-subsetter/data-subsetter.component.d.ts +1 -0
  666. package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
  667. package/dist/components/data-subsetter/data-subsetter.js +1 -1
  668. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  669. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
  670. package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
  671. package/dist/components/date-picker/date-picker.component.js +1 -1
  672. package/dist/components/date-picker/date-picker.js +1 -1
  673. package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
  674. package/dist/components/date-range-slider/date-range-slider.js +1 -1
  675. package/dist/components/dialog/dialog.component.js +1 -1
  676. package/dist/components/dialog/dialog.js +1 -1
  677. package/dist/components/divider/divider.component.js +1 -1
  678. package/dist/components/divider/divider.js +1 -1
  679. package/dist/components/dropdown/dropdown.component.js +1 -1
  680. package/dist/components/dropdown/dropdown.js +1 -1
  681. package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
  682. package/dist/components/earthdata-login/earthdata-login.js +1 -1
  683. package/dist/components/file-upload/file-upload.component.js +1 -1
  684. package/dist/components/file-upload/file-upload.js +1 -1
  685. package/dist/components/harmony-history/harmony-history.component.js +1 -1
  686. package/dist/components/harmony-history/harmony-history.js +1 -1
  687. package/dist/components/icon/icon.component.js +1 -1
  688. package/dist/components/icon/icon.js +1 -1
  689. package/dist/components/input/input.component.js +1 -1
  690. package/dist/components/input/input.js +1 -1
  691. package/dist/components/loader/loader.component.js +1 -1
  692. package/dist/components/loader/loader.js +1 -1
  693. package/dist/components/login/login.component.js +1 -1
  694. package/dist/components/login/login.js +1 -1
  695. package/dist/components/map/map.component.js +1 -1
  696. package/dist/components/map/map.js +1 -1
  697. package/dist/components/menu/menu.component.js +1 -1
  698. package/dist/components/menu/menu.js +1 -1
  699. package/dist/components/menu-item/menu-item.component.js +1 -1
  700. package/dist/components/menu-item/menu-item.js +1 -1
  701. package/dist/components/option/option.component.js +1 -1
  702. package/dist/components/option/option.js +1 -1
  703. package/dist/components/pagination/pagination.component.js +1 -1
  704. package/dist/components/pagination/pagination.js +1 -1
  705. package/dist/components/plot/plot.component.js +1 -1
  706. package/dist/components/plot/plot.js +1 -1
  707. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  708. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  709. package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
  710. package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
  711. package/dist/components/popup/popup.component.js +1 -1
  712. package/dist/components/popup/popup.js +1 -1
  713. package/dist/components/progress-bar/progress-bar.component.js +1 -1
  714. package/dist/components/progress-bar/progress-bar.js +1 -1
  715. package/dist/components/radio/radio.component.js +1 -1
  716. package/dist/components/radio/radio.js +1 -1
  717. package/dist/components/radio-group/radio-group.component.js +1 -1
  718. package/dist/components/radio-group/radio-group.js +1 -1
  719. package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
  720. package/dist/components/scroll-hint/scroll-hint.js +1 -1
  721. package/dist/components/select/select.component.js +1 -1
  722. package/dist/components/select/select.js +1 -1
  723. package/dist/components/site-header/site-header.component.js +1 -1
  724. package/dist/components/site-header/site-header.js +1 -1
  725. package/dist/components/site-navigation/site-navigation.component.js +1 -1
  726. package/dist/components/site-navigation/site-navigation.js +1 -1
  727. package/dist/components/skeleton/skeleton.component.js +1 -1
  728. package/dist/components/skeleton/skeleton.js +1 -1
  729. package/dist/components/slider/slider.component.js +1 -1
  730. package/dist/components/slider/slider.js +1 -1
  731. package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
  732. package/dist/components/spatial-picker/spatial-picker.js +1 -1
  733. package/dist/components/status-indicator/status-indicator.component.js +1 -1
  734. package/dist/components/status-indicator/status-indicator.js +1 -1
  735. package/dist/components/stepper/stepper.component.js +1 -1
  736. package/dist/components/stepper/stepper.js +1 -1
  737. package/dist/components/stepper-step/stepper-step.component.js +1 -1
  738. package/dist/components/stepper-step/stepper-step.js +1 -1
  739. package/dist/components/tab/tab.component.js +1 -1
  740. package/dist/components/tab/tab.js +1 -1
  741. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  742. package/dist/components/tab-panel/tab-panel.js +1 -1
  743. package/dist/components/tabs/tabs.component.js +1 -1
  744. package/dist/components/tabs/tabs.js +1 -1
  745. package/dist/components/tag/tag.component.js +1 -1
  746. package/dist/components/tag/tag.js +1 -1
  747. package/dist/components/textarea/textarea.component.js +1 -1
  748. package/dist/components/textarea/textarea.js +1 -1
  749. package/dist/components/time-average-map/time-average-map.component.js +1 -1
  750. package/dist/components/time-average-map/time-average-map.controller.js +1 -1
  751. package/dist/components/time-average-map/time-average-map.js +1 -1
  752. package/dist/components/time-series/time-series-cache.service.js +1 -1
  753. package/dist/components/time-series/time-series.component.d.ts +3 -0
  754. package/dist/components/time-series/time-series.component.js +1 -1
  755. package/dist/components/time-series/time-series.controller.js +1 -1
  756. package/dist/components/time-series/time-series.js +1 -1
  757. package/dist/components/toast/toast.component.js +1 -1
  758. package/dist/components/toast/toast.js +1 -1
  759. package/dist/components/toggle/toggle.component.js +1 -1
  760. package/dist/components/toggle/toggle.js +1 -1
  761. package/dist/components/tooltip/tooltip.component.js +1 -1
  762. package/dist/components/tooltip/tooltip.js +1 -1
  763. package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
  764. package/dist/components/variable-combobox/variable-combobox.js +1 -1
  765. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
  766. package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
  767. package/dist/custom-elements.json +314 -203
  768. package/dist/events/events.d.ts +2 -0
  769. package/dist/events/terra-time-series-chunk-progress-change.d.ts +11 -0
  770. package/dist/events/terra-time-series-loading-change.d.ts +10 -0
  771. package/dist/react/accordion/index.js +1 -1
  772. package/dist/react/alert/index.js +1 -1
  773. package/dist/react/avatar/index.js +1 -1
  774. package/dist/react/badge/index.js +1 -1
  775. package/dist/react/banner/index.js +1 -1
  776. package/dist/react/breadcrumb/index.js +1 -1
  777. package/dist/react/breadcrumbs/index.js +1 -1
  778. package/dist/react/browse-variables/index.js +1 -1
  779. package/dist/react/button/index.js +1 -1
  780. package/dist/react/button-group/index.js +1 -1
  781. package/dist/react/caption/index.js +1 -1
  782. package/dist/react/card/index.js +1 -1
  783. package/dist/react/checkbox/index.js +1 -1
  784. package/dist/react/chip/index.js +1 -1
  785. package/dist/react/combobox/index.js +1 -1
  786. package/dist/react/data-access/index.js +1 -1
  787. package/dist/react/data-grid/index.js +1 -1
  788. package/dist/react/data-rods/index.js +1 -1
  789. package/dist/react/data-subsetter/index.js +1 -1
  790. package/dist/react/data-subsetter-history/index.js +1 -1
  791. package/dist/react/date-picker/index.js +1 -1
  792. package/dist/react/date-range-slider/index.js +1 -1
  793. package/dist/react/dialog/index.js +1 -1
  794. package/dist/react/divider/index.js +1 -1
  795. package/dist/react/dropdown/index.js +1 -1
  796. package/dist/react/earthdata-login/index.js +1 -1
  797. package/dist/react/file-upload/index.js +1 -1
  798. package/dist/react/harmony-history/index.js +1 -1
  799. package/dist/react/icon/index.js +1 -1
  800. package/dist/react/index.d.ts +1 -1
  801. package/dist/react/index.js +1 -1
  802. package/dist/react/input/index.js +1 -1
  803. package/dist/react/loader/index.js +1 -1
  804. package/dist/react/login/index.js +1 -1
  805. package/dist/react/map/index.js +1 -1
  806. package/dist/react/menu/index.js +1 -1
  807. package/dist/react/menu-item/index.js +1 -1
  808. package/dist/react/option/index.js +1 -1
  809. package/dist/react/pagination/index.js +1 -1
  810. package/dist/react/plot/index.js +1 -1
  811. package/dist/react/plot-toolbar/index.js +1 -1
  812. package/dist/react/popup/index.js +1 -1
  813. package/dist/react/progress-bar/index.js +1 -1
  814. package/dist/react/radio/index.js +1 -1
  815. package/dist/react/radio-group/index.js +1 -1
  816. package/dist/react/scroll-hint/index.js +1 -1
  817. package/dist/react/select/index.js +1 -1
  818. package/dist/react/site-header/index.js +1 -1
  819. package/dist/react/site-navigation/index.js +1 -1
  820. package/dist/react/skeleton/index.js +1 -1
  821. package/dist/react/slider/index.js +1 -1
  822. package/dist/react/spatial-picker/index.js +1 -1
  823. package/dist/react/status-indicator/index.js +1 -1
  824. package/dist/react/stepper/index.js +1 -1
  825. package/dist/react/stepper-step/index.js +1 -1
  826. package/dist/react/tab/index.js +1 -1
  827. package/dist/react/tab-panel/index.js +1 -1
  828. package/dist/react/tabs/index.js +1 -1
  829. package/dist/react/tag/index.js +1 -1
  830. package/dist/react/textarea/index.js +1 -1
  831. package/dist/react/time-average-map/index.js +1 -1
  832. package/dist/react/time-series/index.d.ts +8 -0
  833. package/dist/react/time-series/index.js +1 -1
  834. package/dist/react/toast/index.js +1 -1
  835. package/dist/react/toggle/index.js +1 -1
  836. package/dist/react/tooltip/index.js +1 -1
  837. package/dist/react/variable-combobox/index.js +1 -1
  838. package/dist/react/variable-keyword-search/index.js +1 -1
  839. package/dist/terra-ui-components.js +1 -1
  840. package/dist/terra_ui_components-0.0.193-py3-none-any.whl +0 -0
  841. package/dist/terra_ui_components-0.0.193.tar.gz +0 -0
  842. package/dist/types/vue/index.d.ts +137 -129
  843. package/dist/utilities/date.d.ts +1 -1
  844. package/dist/utilities/date.js +1 -1
  845. package/dist/utilities/variable-task.js +1 -1
  846. package/dist/vscode.html-custom-data.json +42 -42
  847. package/dist/web-types.json +207 -188
  848. package/package.json +1 -1
  849. package/cdn/chunks/chunk.245STXLU.js +0 -266
  850. package/cdn/chunks/chunk.24INYUDF.js +0 -538
  851. package/cdn/chunks/chunk.26GHOZ7N.js +0 -32
  852. package/cdn/chunks/chunk.27WWEW6V.js +0 -104
  853. package/cdn/chunks/chunk.2ANSTQHT.js +0 -36
  854. package/cdn/chunks/chunk.2GKHFPDG.js +0 -599
  855. package/cdn/chunks/chunk.2KXNVEBU.js +0 -32
  856. package/cdn/chunks/chunk.2NRXB43M.js +0 -19
  857. package/cdn/chunks/chunk.2YVP3FRZ.js +0 -231
  858. package/cdn/chunks/chunk.3HMD5G6A.js +0 -443
  859. package/cdn/chunks/chunk.3JLTI64D.js +0 -19
  860. package/cdn/chunks/chunk.3OZIDRVV.js +0 -29
  861. package/cdn/chunks/chunk.3REYIBPS.js +0 -34
  862. package/cdn/chunks/chunk.3W7NW4IP.js +0 -29
  863. package/cdn/chunks/chunk.44A2OFJE.js +0 -32
  864. package/cdn/chunks/chunk.45RJD3VV.js +0 -151
  865. package/cdn/chunks/chunk.4E6YUD2P.js +0 -294
  866. package/cdn/chunks/chunk.4M4SA4VL.js +0 -155
  867. package/cdn/chunks/chunk.4MXAJRHY.js +0 -663
  868. package/cdn/chunks/chunk.4OEMN3MA.js +0 -190
  869. package/cdn/chunks/chunk.4V3MHTHA.js +0 -19
  870. package/cdn/chunks/chunk.4WNBCYY4.js +0 -134
  871. package/cdn/chunks/chunk.4Y35UDBM.js +0 -35
  872. package/cdn/chunks/chunk.53PUY3ZS.js +0 -110
  873. package/cdn/chunks/chunk.56S57ULO.js +0 -158
  874. package/cdn/chunks/chunk.5MJBTEGL.js +0 -49
  875. package/cdn/chunks/chunk.5QSRCR4F.js +0 -19
  876. package/cdn/chunks/chunk.5ZXZFXF3.js +0 -19
  877. package/cdn/chunks/chunk.64L3DD6Q.js +0 -19
  878. package/cdn/chunks/chunk.6A2ZNIEO.js +0 -19
  879. package/cdn/chunks/chunk.6GG7OO3R.js +0 -19
  880. package/cdn/chunks/chunk.6RVIWT4A.js +0 -188
  881. package/cdn/chunks/chunk.7IQDUVYV.js +0 -33
  882. package/cdn/chunks/chunk.7M4SKAG4.js +0 -19
  883. package/cdn/chunks/chunk.7NJYVBGM.js +0 -47
  884. package/cdn/chunks/chunk.7WSYDEHF.js +0 -19
  885. package/cdn/chunks/chunk.7XJKHZU3.js +0 -39
  886. package/cdn/chunks/chunk.A5N5AY4C.js +0 -29
  887. package/cdn/chunks/chunk.AOCK57QX.js +0 -32
  888. package/cdn/chunks/chunk.AUTKKBC5.js +0 -241
  889. package/cdn/chunks/chunk.AZ6WPUFH.js +0 -19
  890. package/cdn/chunks/chunk.B5S3NM7F.js +0 -19
  891. package/cdn/chunks/chunk.B7WNQ5PO.js +0 -29
  892. package/cdn/chunks/chunk.BAQHLVAK.js +0 -19
  893. package/cdn/chunks/chunk.BH4BHYZF.js +0 -19
  894. package/cdn/chunks/chunk.BJ5T462Y.js +0 -123
  895. package/cdn/chunks/chunk.BPVSVPVN.js +0 -19
  896. package/cdn/chunks/chunk.BTKS3XOS.js +0 -19
  897. package/cdn/chunks/chunk.BUNK6WCA.js +0 -19
  898. package/cdn/chunks/chunk.BX4SOFZN.js +0 -29
  899. package/cdn/chunks/chunk.BXX2TOJD.js +0 -377
  900. package/cdn/chunks/chunk.C5SUSFPR.js +0 -19
  901. package/cdn/chunks/chunk.C6YX7LF2.js +0 -19
  902. package/cdn/chunks/chunk.CFW3RCL2.js +0 -32
  903. package/cdn/chunks/chunk.CQER7LGP.js +0 -135
  904. package/cdn/chunks/chunk.CQNIDQAS.js +0 -29
  905. package/cdn/chunks/chunk.CSUI7ZCT.js +0 -658
  906. package/cdn/chunks/chunk.CSVBPSJG.js +0 -893
  907. package/cdn/chunks/chunk.CWCAKMDC.js +0 -29
  908. package/cdn/chunks/chunk.DPW4KE3J.js +0 -35
  909. package/cdn/chunks/chunk.DTOJJOLD.js +0 -19
  910. package/cdn/chunks/chunk.DVTAL6AU.js +0 -539
  911. package/cdn/chunks/chunk.E2WN7IE3.js +0 -29
  912. package/cdn/chunks/chunk.EAQXXCFO.js +0 -19
  913. package/cdn/chunks/chunk.ET5DXSTJ.js +0 -230
  914. package/cdn/chunks/chunk.EYJ7P7C5.js +0 -19
  915. package/cdn/chunks/chunk.FIEZKD4M.js +0 -170
  916. package/cdn/chunks/chunk.FLXIUURB.js +0 -330
  917. package/cdn/chunks/chunk.FRXDO4TZ.js +0 -29
  918. package/cdn/chunks/chunk.FSSESF75.js +0 -19
  919. package/cdn/chunks/chunk.FST3PZ4D.js +0 -2546
  920. package/cdn/chunks/chunk.FT3IPXUI.js +0 -32
  921. package/cdn/chunks/chunk.G3CPLL72.js +0 -19
  922. package/cdn/chunks/chunk.G6PX4ZZR.js +0 -78
  923. package/cdn/chunks/chunk.GLC3GLWY.js +0 -359
  924. package/cdn/chunks/chunk.GQYYZEYB.js +0 -29
  925. package/cdn/chunks/chunk.H5WQMCJJ.js +0 -234
  926. package/cdn/chunks/chunk.H6IRY4OL.js +0 -1197
  927. package/cdn/chunks/chunk.HJMZJ4N5.js +0 -32
  928. package/cdn/chunks/chunk.HLQ3QMJC.js +0 -19
  929. package/cdn/chunks/chunk.HMPCGKTE.js +0 -224
  930. package/cdn/chunks/chunk.HTXCIC4D.js +0 -19
  931. package/cdn/chunks/chunk.HWGUV5FW.js +0 -41
  932. package/cdn/chunks/chunk.I2DUTZ2T.js +0 -33
  933. package/cdn/chunks/chunk.IG3H5AIK.js +0 -60
  934. package/cdn/chunks/chunk.IJM6CDFW.js +0 -19
  935. package/cdn/chunks/chunk.IQYQG42U.js +0 -19
  936. package/cdn/chunks/chunk.IUXV7RBL.js +0 -29
  937. package/cdn/chunks/chunk.IXHOSB76.js +0 -19
  938. package/cdn/chunks/chunk.IYDWKATS.js +0 -904
  939. package/cdn/chunks/chunk.JFLGXCKZ.js +0 -19
  940. package/cdn/chunks/chunk.JGY4EGZC.js +0 -60
  941. package/cdn/chunks/chunk.JLQCZDIY.js +0 -29
  942. package/cdn/chunks/chunk.K3RQ7AFD.js +0 -19
  943. package/cdn/chunks/chunk.K4PU2JQ6.js +0 -138
  944. package/cdn/chunks/chunk.K4ZAN4CN.js +0 -35
  945. package/cdn/chunks/chunk.K7U7MVEQ.js +0 -56075
  946. package/cdn/chunks/chunk.KRUULCP6.js +0 -35
  947. package/cdn/chunks/chunk.KTQLYAOB.js +0 -2615
  948. package/cdn/chunks/chunk.L2R7AMTX.js +0 -19
  949. package/cdn/chunks/chunk.L7FYC6LU.js +0 -32
  950. package/cdn/chunks/chunk.LCZ7CTUM.js +0 -19
  951. package/cdn/chunks/chunk.LDXOXMSA.js +0 -19
  952. package/cdn/chunks/chunk.LG32OSKX.js +0 -68
  953. package/cdn/chunks/chunk.LJIY5NZ2.js +0 -30
  954. package/cdn/chunks/chunk.LWNGQ3V4.js +0 -29
  955. package/cdn/chunks/chunk.LYQ6YFGG.js +0 -99
  956. package/cdn/chunks/chunk.MA5VVFFT.js +0 -29
  957. package/cdn/chunks/chunk.MHATFZ67.js +0 -19
  958. package/cdn/chunks/chunk.MRFDIT24.js +0 -29
  959. package/cdn/chunks/chunk.MRRU67I2.js +0 -29
  960. package/cdn/chunks/chunk.N6YE5MVP.js +0 -29
  961. package/cdn/chunks/chunk.N73S5M22.js +0 -32
  962. package/cdn/chunks/chunk.N74CAU67.js +0 -32
  963. package/cdn/chunks/chunk.NBVZOPJI.js +0 -616
  964. package/cdn/chunks/chunk.NDSC57Q5.js +0 -19
  965. package/cdn/chunks/chunk.NQHSSDFG.js +0 -19
  966. package/cdn/chunks/chunk.NUWLRNQB.js +0 -161
  967. package/cdn/chunks/chunk.O5JW24LZ.js +0 -36
  968. package/cdn/chunks/chunk.OG47UMA5.js +0 -1259
  969. package/cdn/chunks/chunk.OK2FJZAC.js +0 -29
  970. package/cdn/chunks/chunk.OQOUFXO5.js +0 -19
  971. package/cdn/chunks/chunk.OQXKI5GJ.js +0 -86
  972. package/cdn/chunks/chunk.P2M4CQ5P.js +0 -33
  973. package/cdn/chunks/chunk.P5TSNROJ.js +0 -537
  974. package/cdn/chunks/chunk.P7CV4I3K.js +0 -74
  975. package/cdn/chunks/chunk.PHUBZRQC.js +0 -83
  976. package/cdn/chunks/chunk.PILWENSQ.js +0 -92
  977. package/cdn/chunks/chunk.PJ3IJJYS.js +0 -19
  978. package/cdn/chunks/chunk.PP3XLO5P.js +0 -34
  979. package/cdn/chunks/chunk.PRQLTMQC.js +0 -136
  980. package/cdn/chunks/chunk.PTCT3TYT.js +0 -357
  981. package/cdn/chunks/chunk.PUQV3TET.js +0 -99
  982. package/cdn/chunks/chunk.PUS7Y5TV.js +0 -1975
  983. package/cdn/chunks/chunk.PYFO4TDY.js +0 -71
  984. package/cdn/chunks/chunk.Q4J6KRAB.js +0 -310
  985. package/cdn/chunks/chunk.Q6EGX4BU.js +0 -19
  986. package/cdn/chunks/chunk.QB6OILCE.js +0 -19
  987. package/cdn/chunks/chunk.QL6AJSHA.js +0 -19
  988. package/cdn/chunks/chunk.QLVPPBKP.js +0 -19
  989. package/cdn/chunks/chunk.QS2PWRLO.js +0 -293
  990. package/cdn/chunks/chunk.QZTA6VVX.js +0 -32
  991. package/cdn/chunks/chunk.R2AKYP36.js +0 -19
  992. package/cdn/chunks/chunk.RBZCWRRQ.js +0 -29
  993. package/cdn/chunks/chunk.RD6K7VHR.js +0 -19
  994. package/cdn/chunks/chunk.REPAPQYQ.js +0 -19
  995. package/cdn/chunks/chunk.RERDMEOR.js +0 -195
  996. package/cdn/chunks/chunk.RII5KPMA.js +0 -19
  997. package/cdn/chunks/chunk.RLWFZOAQ.js +0 -32
  998. package/cdn/chunks/chunk.RR7Z7BPS.js +0 -19
  999. package/cdn/chunks/chunk.RRZ6U2ME.js +0 -19
  1000. package/cdn/chunks/chunk.RXWLUABB.js +0 -47
  1001. package/cdn/chunks/chunk.S62TAS73.js +0 -276
  1002. package/cdn/chunks/chunk.SPZEQOKO.js +0 -93
  1003. package/cdn/chunks/chunk.SQIH7CTF.js +0 -19
  1004. package/cdn/chunks/chunk.SSV6F5FN.js +0 -259
  1005. package/cdn/chunks/chunk.STFEACGD.js +0 -19
  1006. package/cdn/chunks/chunk.SZE3XMGB.js +0 -29
  1007. package/cdn/chunks/chunk.T4HBNQKM.js +0 -29
  1008. package/cdn/chunks/chunk.TE3JDUXK.js +0 -36
  1009. package/cdn/chunks/chunk.TGHIEUXU.js +0 -32
  1010. package/cdn/chunks/chunk.TKSEPVAL.js +0 -1697
  1011. package/cdn/chunks/chunk.TNMUVPYV.js +0 -29
  1012. package/cdn/chunks/chunk.TQQ2KJQP.js +0 -493
  1013. package/cdn/chunks/chunk.TV5IMGDS.js +0 -82
  1014. package/cdn/chunks/chunk.U3IBIDXE.js +0 -19
  1015. package/cdn/chunks/chunk.U7Y67S2C.js +0 -19
  1016. package/cdn/chunks/chunk.UCCUOTF6.js +0 -19
  1017. package/cdn/chunks/chunk.UDACLO72.js +0 -33
  1018. package/cdn/chunks/chunk.UKAWFAYP.js +0 -524
  1019. package/cdn/chunks/chunk.UTYHZRYG.js +0 -113
  1020. package/cdn/chunks/chunk.UWCPGTVV.js +0 -32
  1021. package/cdn/chunks/chunk.UWRZGIR3.js +0 -551
  1022. package/cdn/chunks/chunk.UZPINX4J.js +0 -610
  1023. package/cdn/chunks/chunk.V3MUNLZP.js +0 -29
  1024. package/cdn/chunks/chunk.V6KFRX6Q.js +0 -19
  1025. package/cdn/chunks/chunk.V6YORIDQ.js +0 -132
  1026. package/cdn/chunks/chunk.VB3KDLU6.js +0 -29
  1027. package/cdn/chunks/chunk.VDXXAQWU.js +0 -29
  1028. package/cdn/chunks/chunk.VGKRX5H5.js +0 -278
  1029. package/cdn/chunks/chunk.VHVI2N6K.js +0 -34
  1030. package/cdn/chunks/chunk.VWXS72MS.js +0 -19
  1031. package/cdn/chunks/chunk.VY4A7VXP.js +0 -19
  1032. package/cdn/chunks/chunk.W5OQMP5C.js +0 -29
  1033. package/cdn/chunks/chunk.W7YINCCY.js +0 -29
  1034. package/cdn/chunks/chunk.WTF7NFZZ.js +0 -36
  1035. package/cdn/chunks/chunk.X27AII7Z.js +0 -19
  1036. package/cdn/chunks/chunk.X6F5AXSA.js +0 -62
  1037. package/cdn/chunks/chunk.XB4O6ZSP.js +0 -139
  1038. package/cdn/chunks/chunk.XBQ73UMK.js +0 -37
  1039. package/cdn/chunks/chunk.XE4NOQA4.js +0 -19
  1040. package/cdn/chunks/chunk.XHVFPYZC.js +0 -19
  1041. package/cdn/chunks/chunk.XLP5YNJK.js +0 -19
  1042. package/cdn/chunks/chunk.XOOKGSCN.js +0 -35
  1043. package/cdn/chunks/chunk.XRKVQYVI.js +0 -294
  1044. package/cdn/chunks/chunk.XTQYMH4X.js +0 -915
  1045. package/cdn/chunks/chunk.XVNO5RTC.js +0 -478
  1046. package/cdn/chunks/chunk.XWUX5XJQ.js +0 -19
  1047. package/cdn/chunks/chunk.XZFUPKPW.js +0 -29
  1048. package/cdn/chunks/chunk.Y4MUXZI3.js +0 -33
  1049. package/cdn/chunks/chunk.Z5JWSUN3.js +0 -19
  1050. package/cdn/chunks/chunk.ZJZ2OUC4.js +0 -37
  1051. package/cdn/chunks/chunk.ZSNXJ3BL.js +0 -29
  1052. package/cdn/chunks/chunk.ZZATCATC.js +0 -29
  1053. package/dist/chunks/chunk.2D55HJ64.js +0 -1
  1054. package/dist/chunks/chunk.2GO7TMLP.js +0 -1
  1055. package/dist/chunks/chunk.2GYNGU2K.js +0 -1
  1056. package/dist/chunks/chunk.2HHUVNE2.js +0 -1
  1057. package/dist/chunks/chunk.2IJJATB5.js +0 -1
  1058. package/dist/chunks/chunk.2PPDUXC4.js +0 -1
  1059. package/dist/chunks/chunk.2TZJ5OSU.js +0 -121
  1060. package/dist/chunks/chunk.33ODMKXB.js +0 -1
  1061. package/dist/chunks/chunk.37B2FLZJ.js +0 -1
  1062. package/dist/chunks/chunk.3G3CSN3G.js +0 -1
  1063. package/dist/chunks/chunk.3GT4NYNA.js +0 -1
  1064. package/dist/chunks/chunk.3OLIE46J.js +0 -19
  1065. package/dist/chunks/chunk.3S6SXGFQ.js +0 -1
  1066. package/dist/chunks/chunk.3UX5QRYF.js +0 -1
  1067. package/dist/chunks/chunk.43SHAFPE.js +0 -1
  1068. package/dist/chunks/chunk.47FP7IRS.js +0 -1
  1069. package/dist/chunks/chunk.4CAGPPMV.js +0 -38
  1070. package/dist/chunks/chunk.4CI5DWX7.js +0 -1
  1071. package/dist/chunks/chunk.4SKNFNU3.js +0 -1
  1072. package/dist/chunks/chunk.4YQGPE6J.js +0 -64
  1073. package/dist/chunks/chunk.567W2YB4.js +0 -1
  1074. package/dist/chunks/chunk.57KBJQ5Z.js +0 -1
  1075. package/dist/chunks/chunk.5OO3UVJO.js +0 -1
  1076. package/dist/chunks/chunk.5TSON4Q5.js +0 -1
  1077. package/dist/chunks/chunk.5UG7GGUP.js +0 -1
  1078. package/dist/chunks/chunk.5XVYJITF.js +0 -1
  1079. package/dist/chunks/chunk.6QTDPCVI.js +0 -1
  1080. package/dist/chunks/chunk.6UWS4R34.js +0 -8
  1081. package/dist/chunks/chunk.766PN3VI.js +0 -1
  1082. package/dist/chunks/chunk.7IS3PQKN.js +0 -1
  1083. package/dist/chunks/chunk.7JD2UT6A.js +0 -1
  1084. package/dist/chunks/chunk.7VFYUGD6.js +0 -1
  1085. package/dist/chunks/chunk.7X2NWNZP.js +0 -55
  1086. package/dist/chunks/chunk.ACFE5TVJ.js +0 -25
  1087. package/dist/chunks/chunk.AD4SBK65.js +0 -1
  1088. package/dist/chunks/chunk.AHFV6WBO.js +0 -113
  1089. package/dist/chunks/chunk.AN2CNNH3.js +0 -20
  1090. package/dist/chunks/chunk.B2I3FFIQ.js +0 -1
  1091. package/dist/chunks/chunk.BAGXAJKO.js +0 -1
  1092. package/dist/chunks/chunk.BAYWCQTO.js +0 -1
  1093. package/dist/chunks/chunk.BK6SKY54.js +0 -1
  1094. package/dist/chunks/chunk.BOBV4O46.js +0 -75
  1095. package/dist/chunks/chunk.BT6QLSOO.js +0 -1
  1096. package/dist/chunks/chunk.BV6IZ2QN.js +0 -127
  1097. package/dist/chunks/chunk.BVG7OM4Q.js +0 -1
  1098. package/dist/chunks/chunk.BWCJXCND.js +0 -1
  1099. package/dist/chunks/chunk.CD6I4VZO.js +0 -1
  1100. package/dist/chunks/chunk.CF6D473M.js +0 -280
  1101. package/dist/chunks/chunk.CQLL2YKN.js +0 -26
  1102. package/dist/chunks/chunk.CW47XTQB.js +0 -1
  1103. package/dist/chunks/chunk.D4KXKEFI.js +0 -1
  1104. package/dist/chunks/chunk.DF6IRZMZ.js +0 -1157
  1105. package/dist/chunks/chunk.E76UUHH4.js +0 -1
  1106. package/dist/chunks/chunk.EM4IAMRI.js +0 -1
  1107. package/dist/chunks/chunk.ENQAS3E3.js +0 -39
  1108. package/dist/chunks/chunk.ENXCABUB.js +0 -1
  1109. package/dist/chunks/chunk.EQHUPMJQ.js +0 -1
  1110. package/dist/chunks/chunk.EQJX6O4V.js +0 -572
  1111. package/dist/chunks/chunk.F3PXS6XR.js +0 -1
  1112. package/dist/chunks/chunk.FAWTVVL4.js +0 -1
  1113. package/dist/chunks/chunk.FJIJEA4W.js +0 -11
  1114. package/dist/chunks/chunk.FRY7JWSR.js +0 -1
  1115. package/dist/chunks/chunk.FSHYXKJI.js +0 -300
  1116. package/dist/chunks/chunk.G7H6WIM7.js +0 -1
  1117. package/dist/chunks/chunk.GJG2G54S.js +0 -62
  1118. package/dist/chunks/chunk.GKYP6GCC.js +0 -1
  1119. package/dist/chunks/chunk.GQZN3IYC.js +0 -1
  1120. package/dist/chunks/chunk.GUKZS6H7.js +0 -1
  1121. package/dist/chunks/chunk.GUQPQH73.js +0 -55
  1122. package/dist/chunks/chunk.H4TEESQU.js +0 -1
  1123. package/dist/chunks/chunk.HEEYAQNP.js +0 -1
  1124. package/dist/chunks/chunk.HJIPLW5J.js +0 -37
  1125. package/dist/chunks/chunk.HLKDWTZV.js +0 -41
  1126. package/dist/chunks/chunk.HVO4YL55.js +0 -4
  1127. package/dist/chunks/chunk.HXJR743G.js +0 -1
  1128. package/dist/chunks/chunk.HY6RFKDY.js +0 -1
  1129. package/dist/chunks/chunk.HZGAYAHT.js +0 -1
  1130. package/dist/chunks/chunk.I3GHWZC4.js +0 -16
  1131. package/dist/chunks/chunk.I6BL3WPE.js +0 -1
  1132. package/dist/chunks/chunk.IHP65UGR.js +0 -33
  1133. package/dist/chunks/chunk.IOFVAK65.js +0 -2
  1134. package/dist/chunks/chunk.ISBUK3L4.js +0 -1
  1135. package/dist/chunks/chunk.IWQ6YFE2.js +0 -145
  1136. package/dist/chunks/chunk.JDE47ALB.js +0 -1
  1137. package/dist/chunks/chunk.JDUOQDJ3.js +0 -100
  1138. package/dist/chunks/chunk.JE6M4M4S.js +0 -65
  1139. package/dist/chunks/chunk.JUJ7Y22D.js +0 -74
  1140. package/dist/chunks/chunk.JZYLEEB7.js +0 -1
  1141. package/dist/chunks/chunk.K6T46UOF.js +0 -1
  1142. package/dist/chunks/chunk.KG5CMWFL.js +0 -1
  1143. package/dist/chunks/chunk.KGXZLDN7.js +0 -1
  1144. package/dist/chunks/chunk.KIZLB2ZY.js +0 -1
  1145. package/dist/chunks/chunk.KMMLLCHB.js +0 -1
  1146. package/dist/chunks/chunk.KPNCPULO.js +0 -1
  1147. package/dist/chunks/chunk.KQD2HFDR.js +0 -1
  1148. package/dist/chunks/chunk.KRHZH55I.js +0 -1
  1149. package/dist/chunks/chunk.KTSFHPUH.js +0 -26
  1150. package/dist/chunks/chunk.L2WWAWYC.js +0 -1
  1151. package/dist/chunks/chunk.L3PZPPIQ.js +0 -1
  1152. package/dist/chunks/chunk.L45W3S3B.js +0 -1
  1153. package/dist/chunks/chunk.LFEM3FJX.js +0 -1
  1154. package/dist/chunks/chunk.LH7RWUQZ.js +0 -24
  1155. package/dist/chunks/chunk.LL6BEIZA.js +0 -5
  1156. package/dist/chunks/chunk.LLZSYM64.js +0 -1
  1157. package/dist/chunks/chunk.LM4RHNKJ.js +0 -30
  1158. package/dist/chunks/chunk.LVWUQXWQ.js +0 -1
  1159. package/dist/chunks/chunk.MBFAWLMY.js +0 -9
  1160. package/dist/chunks/chunk.MDEHAIAG.js +0 -1
  1161. package/dist/chunks/chunk.MK6COBAF.js +0 -43
  1162. package/dist/chunks/chunk.MPM3TXSL.js +0 -80
  1163. package/dist/chunks/chunk.NBJ7ET7E.js +0 -1
  1164. package/dist/chunks/chunk.NCDC7TOR.js +0 -1
  1165. package/dist/chunks/chunk.NEY2SQ2K.js +0 -14
  1166. package/dist/chunks/chunk.NJJIUYH6.js +0 -12
  1167. package/dist/chunks/chunk.NXGSNQLW.js +0 -1
  1168. package/dist/chunks/chunk.O6Q5WBJ5.js +0 -55
  1169. package/dist/chunks/chunk.OCUTIAAQ.js +0 -1
  1170. package/dist/chunks/chunk.OFMDUJXM.js +0 -1
  1171. package/dist/chunks/chunk.OGQQV2BX.js +0 -1
  1172. package/dist/chunks/chunk.P5WP3ZNR.js +0 -1
  1173. package/dist/chunks/chunk.PALWDZSA.js +0 -1
  1174. package/dist/chunks/chunk.PJQAURNT.js +0 -1
  1175. package/dist/chunks/chunk.PX2P3YX5.js +0 -142
  1176. package/dist/chunks/chunk.PYEHMPWX.js +0 -6
  1177. package/dist/chunks/chunk.Q3LRI55J.js +0 -11
  1178. package/dist/chunks/chunk.QDUXLZXC.js +0 -51
  1179. package/dist/chunks/chunk.QEKD7PQ4.js +0 -1
  1180. package/dist/chunks/chunk.QFFYKOAS.js +0 -1
  1181. package/dist/chunks/chunk.QH2WOGME.js +0 -1
  1182. package/dist/chunks/chunk.QLEWT4JQ.js +0 -23
  1183. package/dist/chunks/chunk.QMFEAVMN.js +0 -17
  1184. package/dist/chunks/chunk.QV2ZY4DD.js +0 -1
  1185. package/dist/chunks/chunk.QV5ITZ7D.js +0 -1
  1186. package/dist/chunks/chunk.R5PRDVSU.js +0 -48
  1187. package/dist/chunks/chunk.R6Q4JCND.js +0 -1
  1188. package/dist/chunks/chunk.REKMTQRY.js +0 -1
  1189. package/dist/chunks/chunk.RJML3ZEW.js +0 -1
  1190. package/dist/chunks/chunk.ROCTMAMM.js +0 -1
  1191. package/dist/chunks/chunk.RTXL2G7J.js +0 -99
  1192. package/dist/chunks/chunk.S74OFI5C.js +0 -1
  1193. package/dist/chunks/chunk.SBMSU6KI.js +0 -35
  1194. package/dist/chunks/chunk.SGESE6DO.js +0 -1
  1195. package/dist/chunks/chunk.SIB5Q6QQ.js +0 -1
  1196. package/dist/chunks/chunk.SNMZJK77.js +0 -1
  1197. package/dist/chunks/chunk.SP77OFFN.js +0 -1
  1198. package/dist/chunks/chunk.STV7F7TN.js +0 -1
  1199. package/dist/chunks/chunk.SU44CMPF.js +0 -1
  1200. package/dist/chunks/chunk.SXBEKR3M.js +0 -1
  1201. package/dist/chunks/chunk.SYEGBJVG.js +0 -157
  1202. package/dist/chunks/chunk.T7WOIW6P.js +0 -1
  1203. package/dist/chunks/chunk.TAQPGW7M.js +0 -1
  1204. package/dist/chunks/chunk.TEOQ7XY3.js +0 -67
  1205. package/dist/chunks/chunk.TGY77T44.js +0 -122
  1206. package/dist/chunks/chunk.TPV33XNJ.js +0 -1
  1207. package/dist/chunks/chunk.TTSYVAEW.js +0 -1
  1208. package/dist/chunks/chunk.TVO3XZ2N.js +0 -1
  1209. package/dist/chunks/chunk.TXOI254L.js +0 -47
  1210. package/dist/chunks/chunk.TYI6WGK7.js +0 -1
  1211. package/dist/chunks/chunk.U3F7WCPA.js +0 -1
  1212. package/dist/chunks/chunk.U465JMCV.js +0 -1
  1213. package/dist/chunks/chunk.U6HUBMNB.js +0 -1
  1214. package/dist/chunks/chunk.UEIOQPHW.js +0 -9
  1215. package/dist/chunks/chunk.UKUWK3UY.js +0 -1
  1216. package/dist/chunks/chunk.UKWCOY7A.js +0 -1
  1217. package/dist/chunks/chunk.UNRENVA4.js +0 -1
  1218. package/dist/chunks/chunk.UOWK4M4L.js +0 -1
  1219. package/dist/chunks/chunk.V242FK7Q.js +0 -1
  1220. package/dist/chunks/chunk.V4CGJNAJ.js +0 -30
  1221. package/dist/chunks/chunk.VDIB3NRZ.js +0 -1
  1222. package/dist/chunks/chunk.VFE2HBPZ.js +0 -20
  1223. package/dist/chunks/chunk.VP5IYIOB.js +0 -8
  1224. package/dist/chunks/chunk.W2QZOO6Z.js +0 -1
  1225. package/dist/chunks/chunk.W6SU4PRC.js +0 -1
  1226. package/dist/chunks/chunk.W7H2V3HN.js +0 -27
  1227. package/dist/chunks/chunk.WAD5F7IY.js +0 -1
  1228. package/dist/chunks/chunk.WEMSJJQN.js +0 -300
  1229. package/dist/chunks/chunk.WFNB4UWK.js +0 -1
  1230. package/dist/chunks/chunk.WGWLPC2C.js +0 -1
  1231. package/dist/chunks/chunk.WLSBHYJK.js +0 -780
  1232. package/dist/chunks/chunk.WNP2BTB4.js +0 -43
  1233. package/dist/chunks/chunk.WOPNQVFQ.js +0 -5
  1234. package/dist/chunks/chunk.WRJYRBGT.js +0 -1
  1235. package/dist/chunks/chunk.WZVYVECU.js +0 -1
  1236. package/dist/chunks/chunk.X3JEFEVB.js +0 -1
  1237. package/dist/chunks/chunk.X5PXI5E6.js +0 -1
  1238. package/dist/chunks/chunk.X74ZBUDB.js +0 -22
  1239. package/dist/chunks/chunk.XB3O7ORG.js +0 -1
  1240. package/dist/chunks/chunk.XFH26EMI.js +0 -1
  1241. package/dist/chunks/chunk.XTDTWZSX.js +0 -1
  1242. package/dist/chunks/chunk.XYMWO3Y6.js +0 -1
  1243. package/dist/chunks/chunk.Y2G3I3B3.js +0 -35
  1244. package/dist/chunks/chunk.Y4SZNHG5.js +0 -1
  1245. package/dist/chunks/chunk.Y4U7SQM2.js +0 -1
  1246. package/dist/chunks/chunk.Y5FRCL7O.js +0 -1
  1247. package/dist/chunks/chunk.Y5HJPERY.js +0 -1
  1248. package/dist/chunks/chunk.YKDLYMHH.js +0 -115
  1249. package/dist/chunks/chunk.YN3KH4A6.js +0 -1
  1250. package/dist/chunks/chunk.YN755QKE.js +0 -154
  1251. package/dist/chunks/chunk.YZLKAK5D.js +0 -1
  1252. package/dist/chunks/chunk.Z44ETYQS.js +0 -1
  1253. package/dist/chunks/chunk.Z5S2XQG5.js +0 -1
  1254. package/dist/chunks/chunk.ZAZOHAFA.js +0 -1
  1255. package/dist/chunks/chunk.ZUHRBHV4.js +0 -1
  1256. package/dist/terra_ui_components-0.0.191-py3-none-any.whl +0 -0
  1257. package/dist/terra_ui_components-0.0.191.tar.gz +0 -0
@@ -1,2615 +0,0 @@
1
- import {
2
- KnownFeatureFlags,
3
- isFeatureEnabled
4
- } from "./chunk.S6KQAZNG.js";
5
- import {
6
- convertVariableEntryIdToGiovanniFormat
7
- } from "./chunk.FXO66O5A.js";
8
- import {
9
- getNotebook
10
- } from "./chunk.TV5IMGDS.js";
11
- import {
12
- TerraLogin
13
- } from "./chunk.PUQV3TET.js";
14
- import {
15
- TerraDialog
16
- } from "./chunk.NBVZOPJI.js";
17
- import {
18
- HarmonyRequestController
19
- } from "./chunk.MWU5BT2I.js";
20
- import {
21
- HarmonyRequest
22
- } from "./chunk.DPSHTZ6P.js";
23
- import {
24
- AuthController
25
- } from "./chunk.P34Y4ETY.js";
26
- import {
27
- data_subsetter_styles_default
28
- } from "./chunk.ITK2GQEZ.js";
29
- import {
30
- TerraDataAccess,
31
- debounce
32
- } from "./chunk.XTQYMH4X.js";
33
- import {
34
- TerraSlider
35
- } from "./chunk.3HMD5G6A.js";
36
- import {
37
- TerraMenu
38
- } from "./chunk.45RJD3VV.js";
39
- import {
40
- TerraMenuItem
41
- } from "./chunk.HMPCGKTE.js";
42
- import {
43
- TerraDatePicker
44
- } from "./chunk.FST3PZ4D.js";
45
- import {
46
- CollectionController
47
- } from "./chunk.23F22BJH.js";
48
- import {
49
- TerraSpatialPicker
50
- } from "./chunk.P5TSNROJ.js";
51
- import {
52
- TerraDropdown
53
- } from "./chunk.24INYUDF.js";
54
- import {
55
- TerraInput
56
- } from "./chunk.UZPINX4J.js";
57
- import {
58
- QueryClientMixin
59
- } from "./chunk.DOUWGQFH.js";
60
- import {
61
- TerraLoader
62
- } from "./chunk.PRQLTMQC.js";
63
- import {
64
- getUTCDate
65
- } from "./chunk.TKSEPVAL.js";
66
- import {
67
- TerraButton
68
- } from "./chunk.XVNO5RTC.js";
69
- import {
70
- TerraAccordion
71
- } from "./chunk.OQXKI5GJ.js";
72
- import {
73
- TerraIcon
74
- } from "./chunk.ET5DXSTJ.js";
75
- import {
76
- getBasePath
77
- } from "./chunk.ZQVMOVOT.js";
78
- import {
79
- TerraAlert
80
- } from "./chunk.245STXLU.js";
81
- import {
82
- watch
83
- } from "./chunk.MPVZOQYA.js";
84
- import {
85
- TerraElement,
86
- component_styles_default,
87
- e,
88
- n,
89
- r
90
- } from "./chunk.4MXAJRHY.js";
91
- import {
92
- A,
93
- b
94
- } from "./chunk.RRCYT4LP.js";
95
- import {
96
- __decorateClass,
97
- __privateAdd,
98
- __privateGet,
99
- __privateMethod,
100
- __spreadProps,
101
- __spreadValues,
102
- init_buffer,
103
- init_dirname,
104
- init_process
105
- } from "./chunk.ZEOVK2FE.js";
106
-
107
- // src/components/data-subsetter/data-subsetter.component.ts
108
- init_dirname();
109
- init_buffer();
110
- init_process();
111
-
112
- // src/lib/jupyter.ts
113
- init_dirname();
114
- init_buffer();
115
- init_process();
116
- var JUPYTER_LITE_URL = "https://gesdisc.github.io/jupyterlite/lab/index.html";
117
- function openJupyterLiteWindow(readyCb) {
118
- const jupyterWindow = window.open(JUPYTER_LITE_URL, "_blank");
119
- if (!jupyterWindow) {
120
- console.error("Failed to open JupyterLite!");
121
- return;
122
- }
123
- window.addEventListener("message", (event) => readyCb(event, jupyterWindow), {
124
- once: true
125
- });
126
- return jupyterWindow;
127
- }
128
- function sendDataToJupyterNotebook(type, data) {
129
- openJupyterLiteWindow((event, jupyterWindow) => {
130
- var _a;
131
- if (((_a = event.data) == null ? void 0 : _a.type) !== "jupyterlite-ready") {
132
- return;
133
- }
134
- console.log("JupyterLite is ready!");
135
- jupyterWindow.postMessage(__spreadValues({ type }, data), "*");
136
- });
137
- }
138
-
139
- // src/services/cmr-variable.service.ts
140
- init_dirname();
141
- init_buffer();
142
- init_process();
143
- var CmrVariableService = class {
144
- /**
145
- * given a name and a list of variables, return the variable with the matching name
146
- */
147
- getVariableByName(name, variables) {
148
- var _a;
149
- if (!variables || !((_a = variables.items) == null ? void 0 : _a.length)) {
150
- return;
151
- }
152
- return variables.items.find((variable) => variable.umm.Name === name);
153
- }
154
- /**
155
- * given a variable, return the variable's display label
156
- * ex: Shortname = LongName (Units)
157
- */
158
- getVariableDisplayLabel(variable) {
159
- const { Name = "", LongName = "", Units = "" } = variable.umm;
160
- return `${Name}${Name && LongName && Name !== LongName ? ` = ${LongName}` : ""}${Units ? ` (${Units})` : ""}`;
161
- }
162
- };
163
- var cmrVariableService = new CmrVariableService();
164
- var cmr_variable_service_default = cmrVariableService;
165
-
166
- // src/components/data-subsetter/data-subsetter.component.ts
167
- var defaultOutputFormat = {
168
- key: "application/x-netcdf4",
169
- label: "NetCDF",
170
- description: "Download data in NetCDF format"
171
- };
172
- var _collectionController, _authController, _harmonyRequestController, _renderFooterForDialog, renderFooterForDialog_fn, _renderSizeInfo, renderSizeInfo_fn, _renderSubsetOptions, renderSubsetOptions_fn, _resetAllParameters, _renderSearchForCollection, renderSearchForCollection_fn, _renderOutputFormatSelection, renderOutputFormatSelection_fn, _renderDateRangeSelection, renderDateRangeSelection_fn, _handleDateChange, _resetDateRangeSelection, _resetFormatSelection, _getCollectionDateRange, getCollectionDateRange_fn, _renderSpatialSelection, renderSpatialSelection_fn, _handleSpatialChange, _resetSpatialSelection, _renderVariableSelection, renderVariableSelection_fn, _renderDimensionGroup, renderDimensionGroup_fn, _setDimensionValue, setDimensionValue_fn, _renderDimensionSelection, renderDimensionSelection_fn, _filterVariableTree, filterVariableTree_fn, _handleVariableFilterChange, handleVariableFilterChange_fn, _buildVariableTree, buildVariableTree_fn, _renderVariableTree, renderVariableTree_fn, _getAllGroupPaths, getAllGroupPaths_fn, _toggleGroupExpand, toggleGroupExpand_fn, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn, _toggleVariableSelection, toggleVariableSelection_fn, _markFieldTouched, markFieldTouched_fn, _resetVariableSelection, _resetDimensionSelection, resetDimensionSelection_fn, _isDimensionExcluded, isDimensionExcluded_fn, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn, _renderJobStatus, renderJobStatus_fn, _renderSelectedParams, renderSelectedParams_fn, _cancelJob, cancelJob_fn, _getData, getData_fn, _touchAllFields, touchAllFields_fn, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn, _getDocumentationLinks, getDocumentationLinks_fn, _getDataLinks, getDataLinks_fn, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn, _hasSpatialSubset, hasSpatialSubset_fn, _renderJobMessage, renderJobMessage_fn, _getJobMessageText, getJobMessageText_fn, _estimateJobSize, estimateJobSize_fn, _refineParameters, refineParameters_fn, _backToSubsetOptions, backToSubsetOptions_fn, _viewRunningJob, viewRunningJob_fn, _handleDownloadSelect, handleDownloadSelect_fn, _downloadLinksAsTxt, downloadLinksAsTxt_fn, _downloadPythonScript, downloadPythonScript_fn, _downloadEarthdataDownload, downloadEarthdataDownload_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn, _getGiovanniValidationError, getGiovanniValidationError_fn;
173
- var TerraDataSubsetter = class extends QueryClientMixin(TerraElement) {
174
- constructor() {
175
- super(...arguments);
176
- __privateAdd(this, _renderFooterForDialog);
177
- __privateAdd(this, _renderSizeInfo);
178
- __privateAdd(this, _renderSubsetOptions);
179
- __privateAdd(this, _renderSearchForCollection);
180
- __privateAdd(this, _renderOutputFormatSelection);
181
- __privateAdd(this, _renderDateRangeSelection);
182
- __privateAdd(this, _getCollectionDateRange);
183
- __privateAdd(this, _renderSpatialSelection);
184
- __privateAdd(this, _renderVariableSelection);
185
- __privateAdd(this, _renderDimensionGroup);
186
- __privateAdd(this, _setDimensionValue);
187
- __privateAdd(this, _renderDimensionSelection);
188
- __privateAdd(this, _filterVariableTree);
189
- __privateAdd(this, _handleVariableFilterChange);
190
- __privateAdd(this, _buildVariableTree);
191
- __privateAdd(this, _renderVariableTree);
192
- __privateAdd(this, _getAllGroupPaths);
193
- __privateAdd(this, _toggleGroupExpand);
194
- __privateAdd(this, _toggleExpandCollapseAll);
195
- __privateAdd(this, _toggleVariableSelection);
196
- __privateAdd(this, _markFieldTouched);
197
- __privateAdd(this, _resetDimensionSelection);
198
- __privateAdd(this, _isDimensionExcluded);
199
- __privateAdd(this, _getCommonSelectableDimensions);
200
- __privateAdd(this, _renderJobStatus);
201
- __privateAdd(this, _renderSelectedParams);
202
- __privateAdd(this, _cancelJob);
203
- __privateAdd(this, _getData);
204
- __privateAdd(this, _touchAllFields);
205
- __privateAdd(this, _numberOfFilesFoundEstimate);
206
- __privateAdd(this, _getDocumentationLinks);
207
- __privateAdd(this, _getDataLinks);
208
- __privateAdd(this, _hasAtLeastOneSubsetOption);
209
- __privateAdd(this, _hasSpatialSubset);
210
- __privateAdd(this, _renderJobMessage);
211
- __privateAdd(this, _getJobMessageText);
212
- __privateAdd(this, _estimateJobSize);
213
- __privateAdd(this, _refineParameters);
214
- __privateAdd(this, _backToSubsetOptions);
215
- __privateAdd(this, _viewRunningJob);
216
- __privateAdd(this, _handleDownloadSelect);
217
- __privateAdd(this, _downloadLinksAsTxt);
218
- __privateAdd(this, _downloadPythonScript);
219
- __privateAdd(this, _downloadEarthdataDownload);
220
- __privateAdd(this, _handleJupyterNotebookClick);
221
- __privateAdd(this, _renderAvailableTemporalRangeSection);
222
- __privateAdd(this, _renderAvailableSpatialRangeSection);
223
- __privateAdd(this, _renderDataAccessModeSelection);
224
- __privateAdd(this, _getGiovanniValidationError);
225
- this.showCollectionSearch = true;
226
- this.showHistoryPanel = true;
227
- this.isHistoryView = false;
228
- this.selectedVariables = [];
229
- this.selectedDimensionIndexes = {};
230
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
231
- this.variableFilterText = "";
232
- this.touchedFields = /* @__PURE__ */ new Set();
233
- this.selectedDateRange = {
234
- startDate: null,
235
- endDate: null
236
- };
237
- this.selectedFormat = defaultOutputFormat;
238
- this.cancelingGetData = false;
239
- this.selectedTab = "web-links";
240
- this.refineParameters = false;
241
- this.collectionSearchType = "all";
242
- this.collectionSearchLoading = false;
243
- this.collectionLoading = false;
244
- this.collectionAccordionOpen = true;
245
- this.dataAccessMode = "original";
246
- __privateAdd(this, _collectionController, new CollectionController(this, {
247
- getCollectionEntryId: () => this.collectionEntryId,
248
- getBearerToken: () => this.bearerToken
249
- }));
250
- __privateAdd(this, _authController, new AuthController(this));
251
- __privateAdd(this, _harmonyRequestController, new HarmonyRequestController(this));
252
- __privateAdd(this, _resetAllParameters, () => {
253
- this.selectedVariables = [];
254
- if (__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this)) {
255
- __privateGet(this, _resetSpatialSelection).call(this);
256
- }
257
- this.selectedDateRange = {
258
- startDate: null,
259
- endDate: null
260
- };
261
- this.touchedFields = /* @__PURE__ */ new Set();
262
- this.validationError = void 0;
263
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
264
- this.requestUpdate();
265
- });
266
- __privateAdd(this, _handleDateChange, (e2) => {
267
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
268
- this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
269
- startDate: e2.detail.startDate,
270
- endDate: e2.detail.endDate
271
- });
272
- });
273
- __privateAdd(this, _resetDateRangeSelection, () => {
274
- this.selectedDateRange = { startDate: null, endDate: null };
275
- });
276
- __privateAdd(this, _resetFormatSelection, () => {
277
- var _a;
278
- if ((_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats.length) {
279
- const netcdfFormat = this.collectionWithServices.configuredOutputFormats.find(
280
- (f) => f.key === "application/x-netcdf4" || f.key === "application/netcdf"
281
- );
282
- this.selectedFormat = netcdfFormat || this.collectionWithServices.configuredOutputFormats[0];
283
- } else {
284
- this.selectedFormat = defaultOutputFormat;
285
- }
286
- });
287
- __privateAdd(this, _handleSpatialChange, (e2) => {
288
- var _a;
289
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
290
- if (e2.detail.type === "point" /* POINT */) {
291
- this.shapeGeoJson = void 0;
292
- this.spatialLabel = void 0;
293
- this.spatialSelection = e2.detail.latLng;
294
- } else if (e2.detail.type === "bbox" /* BBOX */) {
295
- this.shapeGeoJson = void 0;
296
- this.spatialLabel = void 0;
297
- this.spatialSelection = e2.detail.bounds;
298
- } else if (e2.detail.type === "polygon" /* POLYGON */) {
299
- this.spatialSelection = void 0;
300
- if (e2.detail.geoJson) {
301
- this.shapeGeoJson = e2.detail.geoJson;
302
- this.spatialLabel = (_a = e2.detail.label) != null ? _a : "Shape selected";
303
- } else if (e2.detail.latLngs.length > 0) {
304
- const coords = e2.detail.latLngs.map((ll) => [ll.lng, ll.lat]);
305
- coords.push(coords[0]);
306
- this.shapeGeoJson = {
307
- type: "FeatureCollection",
308
- features: [
309
- {
310
- type: "Feature",
311
- geometry: {
312
- type: "Polygon",
313
- coordinates: [coords]
314
- },
315
- properties: null
316
- }
317
- ]
318
- };
319
- this.spatialLabel = `Polygon (${e2.detail.latLngs.length} vertices)`;
320
- } else {
321
- this.shapeGeoJson = void 0;
322
- this.spatialLabel = void 0;
323
- }
324
- } else {
325
- this.spatialSelection = void 0;
326
- this.shapeGeoJson = void 0;
327
- this.spatialLabel = void 0;
328
- }
329
- });
330
- /**
331
- * resets the spatial selection back to the bounds of the collection
332
- */
333
- __privateAdd(this, _resetSpatialSelection, () => {
334
- this.spatialSelection = void 0;
335
- this.shapeGeoJson = void 0;
336
- this.spatialLabel = void 0;
337
- this.spatialPicker.clear();
338
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
339
- });
340
- __privateAdd(this, _resetVariableSelection, () => {
341
- this.selectedVariables = [];
342
- __privateMethod(this, _resetDimensionSelection, resetDimensionSelection_fn).call(this);
343
- });
344
- }
345
- jobIdChanged() {
346
- if (this.jobId) {
347
- __privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId, {
348
- bearerToken: this.bearerToken
349
- });
350
- this.dataAccessMode = "subset";
351
- }
352
- }
353
- shortNameAndVersionChanged() {
354
- if (this.shortName && this.version) {
355
- this.collectionEntryId = `${this.shortName}_${this.version}`;
356
- }
357
- }
358
- collectionEntryIdChanged() {
359
- if (this.collectionEntryId) {
360
- this.showCollectionSearch = false;
361
- } else {
362
- this.showCollectionSearch = true;
363
- }
364
- }
365
- firstUpdated() {
366
- if (this.collectionEntryId) {
367
- this.showCollectionSearch = false;
368
- }
369
- if (this.jobId) {
370
- __privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId, {
371
- bearerToken: this.bearerToken
372
- });
373
- this.dataAccessMode = "subset";
374
- }
375
- this.renderHistoryPanel();
376
- }
377
- updated(changedProps) {
378
- var _a, _b, _c;
379
- super.updated(changedProps);
380
- const newCollectionInfo = __privateGet(this, _collectionController).collectionInfo;
381
- if (newCollectionInfo !== this.collectionWithServices) {
382
- this.collectionWithServices = newCollectionInfo;
383
- }
384
- const sampling = (_a = __privateGet(this, _collectionController).sampling) == null ? void 0 : _a.data;
385
- if ((sampling == null ? void 0 : sampling.minDate) !== this.granuleMinDate) {
386
- this.granuleMinDate = sampling == null ? void 0 : sampling.minDate;
387
- }
388
- if ((sampling == null ? void 0 : sampling.maxDate) !== this.granuleMaxDate) {
389
- this.granuleMaxDate = sampling == null ? void 0 : sampling.maxDate;
390
- }
391
- const newGiovanni = __privateGet(this, _collectionController).giovanniVariables;
392
- if (newGiovanni.size !== ((_c = (_b = this.giovanniConfiguredVariables) == null ? void 0 : _b.size) != null ? _c : 0)) {
393
- this.giovanniConfiguredVariables = newGiovanni;
394
- }
395
- }
396
- /** True if the collection contains sub-daily granules. Used by DataSubsetterController to format dates. */
397
- get isSubDaily() {
398
- return __privateGet(this, _collectionController).isSubDaily;
399
- }
400
- collectionChanged() {
401
- const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
402
- this.selectedDateRange = { startDate, endDate };
403
- __privateGet(this, _resetFormatSelection).call(this);
404
- this.collectionLoading = false;
405
- this.collectionAccordionOpen = false;
406
- }
407
- granuleDatesChanged() {
408
- const newRange = __spreadValues(__spreadValues({}, this.granuleMinDate && { startDate: this.granuleMinDate }), this.granuleMaxDate && { endDate: this.granuleMaxDate });
409
- if (Object.keys(newRange).length > 0) {
410
- this.selectedDateRange = __spreadValues(__spreadValues({}, this.selectedDateRange), newRange);
411
- }
412
- }
413
- selectedFormatChanged() {
414
- if (this.selectedFormat.isGiovanniFormat && this.selectedVariables.length > 1) {
415
- this.selectedVariables = [this.selectedVariables[0]];
416
- }
417
- }
418
- showDialog() {
419
- var _a;
420
- (_a = this.dialogElement) == null ? void 0 : _a.show();
421
- }
422
- render() {
423
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
424
- const showJobStatus = __privateGet(this, _harmonyRequestController).jobId && !this.refineParameters;
425
- const showMinimizeButton = showJobStatus && !!this.dialog;
426
- const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
427
- if (!this.collectionWithServices) {
428
- if (__privateGet(this, _collectionController).hasCapabilitiesError) {
429
- return b`
430
- <terra-alert open variant="danger" appearance="white">
431
- Failed to find the requested collection.
432
- </terra-alert>
433
- `;
434
- }
435
- }
436
- const content = b`
437
- <div class="container">
438
- ${!this.dialog ? b`
439
- <div class="header">
440
- <h1>
441
- <svg
442
- class="download-icon"
443
- viewBox="0 0 24 24"
444
- fill="currentColor"
445
- >
446
- <path
447
- d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
448
- />
449
- </svg>
450
- ${title}
451
- </h1>
452
-
453
- ${showMinimizeButton ? b`<button
454
- class="minimize-btn"
455
- @click=${() => this.minimizeDialog()}
456
- >
457
- -
458
- </button>` : A}
459
- </div>
460
- ` : A}
461
- ${!this.isHistoryView && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? b`
462
- <div class="section">
463
- ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
464
- </div>
465
- ` : A}
466
- ${this.dataAccessMode === "original" ? b`
467
- <div class="section">
468
- <terra-data-access
469
- short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
470
- version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
471
- ?footer-slot=${!!this.dialog}
472
- >
473
- ${this.dialog ? b`
474
- <div
475
- slot="footer"
476
- style="margin-top: 15px;"
477
- >
478
- <slot
479
- name="data-access-footer"
480
- ></slot>
481
- </div>
482
- ` : A}
483
- </terra-data-access>
484
- </div>
485
- ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
486
- </div>
487
- `;
488
- if (this.dialog) {
489
- return b`
490
- <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
491
- <span
492
- slot="label"
493
- style="display: flex; align-items: center; gap: 8px; color: var(--terra-text-brand-on-secondary, #1c67e3); font-weight: 600;"
494
- >
495
- <svg
496
- class="download-icon"
497
- viewBox="0 0 24 24"
498
- fill="currentColor"
499
- style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
500
- >
501
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
502
- </svg>
503
- ${title}
504
- </span>
505
- ${showMinimizeButton ? b`
506
- <button
507
- slot="header-actions"
508
- class="minimize-btn"
509
- @click=${() => {
510
- var _a2;
511
- return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
512
- }}
513
- aria-label="Minimize"
514
- >
515
- -
516
- </button>
517
- ` : A}
518
- <slot name="dialog-header-content"></slot>
519
- ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
520
- </terra-dialog>
521
- `;
522
- }
523
- return b`
524
- <div class="container">
525
- <div class="header">
526
- <h1>
527
- <svg
528
- class="download-icon"
529
- viewBox="0 0 24 24"
530
- fill="currentColor"
531
- >
532
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
533
- </svg>
534
- ${title}
535
- </h1>
536
-
537
- ${showMinimizeButton ? b`<button
538
- class="minimize-btn"
539
- @click=${() => this.minimizeDialog()}
540
- >
541
- -
542
- </button>` : A}
543
- </div>
544
- ${!this.isHistoryView && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? b`
545
- <div class="section">
546
- ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
547
- </div>
548
- ` : A}
549
- ${this.dataAccessMode === "original" ? b`
550
- <div class="section">
551
- <terra-data-access
552
- short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
553
- version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
554
- ?footer-slot=${!!this.dialog}
555
- >
556
- ${this.dialog ? b`
557
- <div
558
- slot="footer"
559
- style="margin-top: 15px;"
560
- >
561
- <slot
562
- name="data-access-footer"
563
- ></slot>
564
- </div>
565
- ` : A}
566
- </terra-data-access>
567
- </div>
568
- ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
569
- </div>
570
- `;
571
- }
572
- minimizeDialog() {
573
- var _a;
574
- (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
575
- }
576
- handleCollectionSearch(searchTerm) {
577
- this.collectionSearchQuery = searchTerm;
578
- }
579
- renderHistoryPanel() {
580
- const existingHistoryPanel = document.querySelector(
581
- "terra-data-subsetter-history"
582
- );
583
- if (!existingHistoryPanel && this.bearerToken) {
584
- const historyPanel = document.createElement(
585
- "terra-data-subsetter-history"
586
- );
587
- if (this.bearerToken) {
588
- historyPanel.setAttribute("bearer-token", this.bearerToken);
589
- }
590
- if (this.environment) {
591
- historyPanel.setAttribute("environment", this.environment);
592
- }
593
- document.body.appendChild(historyPanel);
594
- }
595
- }
596
- };
597
- _collectionController = new WeakMap();
598
- _authController = new WeakMap();
599
- _harmonyRequestController = new WeakMap();
600
- _renderFooterForDialog = new WeakSet();
601
- renderFooterForDialog_fn = function() {
602
- const showJobStatus = __privateGet(this, _harmonyRequestController).jobId && !this.refineParameters;
603
- if (showJobStatus && __privateGet(this, _harmonyRequestController).jobId) {
604
- return b`
605
- <div slot="footer" class="footer">
606
- ${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
607
- <div
608
- style="display: flex; align-items: center; gap: 8px;"
609
- >
610
- <terra-dropdown
611
- @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
612
- >
613
- <terra-button slot="trigger" caret>
614
- Download Options
615
- </terra-button>
616
- <terra-menu>
617
- <terra-menu-item value="file-list">
618
- <svg
619
- slot="prefix"
620
- viewBox="0 0 24 24"
621
- width="16"
622
- height="16"
623
- style="width: 16px; height: 16px;"
624
- >
625
- <path
626
- fill="currentColor"
627
- d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"
628
- />
629
- </svg>
630
- File List
631
- </terra-menu-item>
632
- <terra-menu-item value="python-script">
633
- <svg
634
- slot="prefix"
635
- viewBox="0 0 128 128"
636
- width="16"
637
- height="16"
638
- style="width: 16px; height: 16px;"
639
- >
640
- <path
641
- fill="currentColor"
642
- d="M49.33 62h29.159C86.606 62 93 55.132 93 46.981V19.183c0-7.912-6.632-13.856-14.555-15.176-5.014-.835-10.195-1.215-15.187-1.191-4.99.023-9.612.448-13.805 1.191C37.098 6.188 35 10.758 35 19.183V30h29v4H23.776c-8.484 0-15.914 5.108-18.237 14.811-2.681 11.12-2.8 17.919 0 29.53C7.614 86.983 12.569 93 21.054 93H31V79.952C31 70.315 39.428 62 49.33 62zm-1.838-39.11c-3.026 0-5.478-2.479-5.478-5.545 0-3.079 2.451-5.581 5.478-5.581 3.015 0 5.479 2.502 5.479 5.581-.001 3.066-2.465 5.545-5.479 5.545zm74.789 25.921C120.183 40.363 116.178 34 107.682 34H97v12.981C97 57.031 88.206 65 78.489 65H49.33C41.342 65 35 72.326 35 80.326v27.8c0 7.91 6.745 12.564 14.462 14.834 9.242 2.717 17.994 3.208 29.051 0C85.862 120.831 93 116.549 93 108.126V97H64v-4h43.682c8.484 0 11.647-5.776 14.599-14.66 3.047-9.145 2.916-17.799 0-29.529zm-41.955 55.606c3.027 0 5.479 2.479 5.479 5.547 0 3.076-2.451 5.579-5.479 5.579-3.015 0-5.478-2.502-5.478-5.579 0-3.068 2.463-5.547 5.478-5.547z"
643
- ></path>
644
- </svg>
645
- Python Script
646
- </terra-menu-item>
647
- <terra-menu-item value="earthdata-download">
648
- <svg
649
- slot="prefix"
650
- viewBox="0 0 64 64"
651
- fill="none"
652
- width="16"
653
- height="16"
654
- style="width: 16px; height: 16px;"
655
- >
656
- <circle
657
- cx="32"
658
- cy="32"
659
- r="28"
660
- fill="currentColor"
661
- />
662
- <path
663
- d="M32 14v26M32 40l-9-9M32 40l9-9"
664
- stroke="#fff"
665
- stroke-width="4"
666
- stroke-linecap="round"
667
- stroke-linejoin="round"
668
- fill="none"
669
- />
670
- </svg>
671
- Earthdata Download
672
- </terra-menu-item>
673
- </terra-menu>
674
- </terra-dropdown>
675
-
676
- <!--
677
- <terra-button
678
- outline
679
- @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
680
- >
681
- <terra-icon
682
- name="outline-code-bracket"
683
- library="heroicons"
684
- font-size="1.5em"
685
- style="margin-right: 5px;"
686
- ></terra-icon>
687
- Open in Jupyter Notebook
688
- </terra-button>
689
- -->
690
- </div>
691
- ` : A}
692
- ${__privateGet(this, _harmonyRequestController).status === "running" /* RUNNING */ ? b`<button
693
- class="btn btn-success"
694
- @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
695
- ?disabled=${this.cancelingGetData}
696
- >
697
- ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
698
- </button>` : A}
699
-
700
- <div class="job-info">
701
- Job ID:
702
- <span class="job-id">
703
- ${this.bearerToken ? b`<a
704
- href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
705
- target="_blank"
706
- >${__privateGet(this, _harmonyRequestController).jobId}</a
707
- >` : __privateGet(this, _harmonyRequestController).jobId}
708
- </span>
709
- <span class="info-icon">?</span>
710
- </div>
711
- </div>
712
- `;
713
- } else if (this.dataAccessMode === "subset") {
714
- return b`
715
- <div slot="footer" class="footer">
716
- <button class="btn btn-secondary" @click=${__privateGet(this, _resetAllParameters)}>Reset All</button>
717
- <div>
718
- <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
719
- Get Data
720
- </button>
721
- ${this.jobId ? b`
722
- <terra-button
723
- variant="default"
724
- @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
725
- >
726
- View Running Job
727
- </terra-button>
728
- ` : A}
729
- </div>
730
- </div>
731
- </div>
732
- </div>
733
- `;
734
- }
735
- return A;
736
- };
737
- _renderSizeInfo = new WeakSet();
738
- renderSizeInfo_fn = function(estimates) {
739
- if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
740
- return b`
741
- <div class="size-info warning">
742
- <terra-login>
743
- <h2 slot="logged-out">Limited access as a guest.</h2>
744
-
745
- <p slot="logged-out">
746
- Your results will be capped at 10 links. Log in for full
747
- access to all data.
748
- </p>
749
- </terra-login>
750
- </div>
751
- `;
752
- }
753
- return b`<div
754
- class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
755
- >
756
- <h2>Estimated size of results</h2>
757
- <div class="size-stats">
758
- ${estimates.days.toLocaleString()} days,
759
- ${estimates.links.toLocaleString()} links
760
- </div>
761
- ${estimates.links >= 150 ? b`<div class="size-warning">
762
- You are about to retrieve ${estimates.links.toLocaleString()}
763
- file links from the archive. You may
764
- <strong>speed up the request</strong> by limiting the scope of
765
- your search.
766
- </div>` : A}
767
- </div>`;
768
- };
769
- _renderSubsetOptions = new WeakSet();
770
- renderSubsetOptions_fn = function() {
771
- var _a, _b, _c, _d, _e, _f, _g, _h, _i;
772
- const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
773
- const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
774
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
775
- const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
776
- const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
777
- const showTemporalSection = temporalExtents == null ? void 0 : temporalExtents.length;
778
- const showSpatialSection = (_c = (_b = spatialExtent == null ? void 0 : spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles;
779
- return b`
780
- ${this.dataAccessMode === "original" ? A : hasSubsetOption ? b`
781
- ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : A}
782
- ${this.showCollectionSearch ? b`
783
- <div class="section">
784
- <h2 class="section-title">
785
- Select Data Collection
786
- </h2>
787
-
788
- ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
789
- </div>
790
- ` : A}
791
- ${((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.summary.outputFormats) == null ? void 0 : _e.length) && hasSubsetOption ? b`
792
- <div class="section">
793
- <h2 class="section-title">Output Format</h2>
794
-
795
- ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
796
- </div>
797
- ` : A}
798
- <div class="section">
799
- <h2 class="section-title">Subset Options</h2>
800
- <p style="color: #666; margin-bottom: 16px;">
801
- Generate file links that support spatial subsetting,
802
- date/time range selection, and variable selection.
803
- </p>
804
-
805
- ${((_f = this.collectionWithServices) == null ? void 0 : _f.summary.subsetting.temporal) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : A}
806
- ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : A}
807
- ${((_g = this.collectionWithServices) == null ? void 0 : _g.summary.subsetting.variable) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : A}
808
- ${((_h = this.collectionWithServices) == null ? void 0 : _h.summary.subsetting.variable) && isFeatureEnabled(
809
- KnownFeatureFlags.DIMENSION_SUBSET,
810
- this.features
811
- ) ? __privateMethod(this, _renderDimensionSelection, renderDimensionSelection_fn).call(this) : A}
812
- </div>
813
- ` : b`
814
- ${showTemporalSection && !((_i = this.collectionWithServices) == null ? void 0 : _i.summary.subsetting.temporal) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : A}
815
- ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : A}
816
- `}
817
- ${!hasSubsetOption && estimates ? b`
818
- <div
819
- class="neutral-info"
820
- style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
821
- >
822
- <strong>Estimated result size:</strong><br />
823
- Your request will return approximately
824
- <b>${estimates.links.toLocaleString()}</b> files covering
825
- <b>${estimates.days.toLocaleString()}</b> days.
826
- </div>
827
- ` : A}
828
- ${this.dataAccessMode === "subset" && !this.dialog ? b`
829
- <div class="footer">
830
- <button class="btn btn-secondary" @click=${__privateGet(this, _resetAllParameters)}>Reset All</button>
831
- <div>
832
- <button
833
- class="btn btn-primary"
834
- @click=${__privateMethod(this, _getData, getData_fn)}
835
- >
836
- Get Data
837
- </button>
838
- ${this.jobId ? b`
839
- <terra-button
840
- variant="default"
841
- @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
842
- >
843
- View Running Job
844
- </terra-button>
845
- ` : A}
846
- </div>
847
- </div>
848
- </div>
849
- </div>
850
- ` : A}
851
- `;
852
- };
853
- _resetAllParameters = new WeakMap();
854
- _renderSearchForCollection = new WeakSet();
855
- renderSearchForCollection_fn = function() {
856
- var _a, _b;
857
- let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
858
- if (this.collectionSearchType === "collection") {
859
- placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
860
- }
861
- if (this.collectionSearchType === "variable") {
862
- placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
863
- }
864
- return b`
865
- <terra-accordion .open=${this.collectionAccordionOpen}>
866
- <div slot="summary">
867
- <span class="accordion-title">Collection:</span>
868
- </div>
869
-
870
- <div
871
- slot="summary-right"
872
- style="display: flex; align-items: center; gap: 10px"
873
- >
874
- ${this.collectionEntryId ? b` <span
875
- class="accordion-value"
876
- id="selected-collection-display"
877
- >${this.collectionEntryId}</span
878
- >
879
-
880
- <button
881
- class="reset-btn"
882
- @click=${() => this.collectionEntryId = void 0}
883
- >
884
- Reset
885
- </button>` : A}
886
- </div>
887
-
888
- <div class="search-tabs-mini">
889
- <button
890
- class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
891
- @click=${() => this.collectionSearchType = "all"}
892
- >
893
- All
894
- </button>
895
- <button
896
- class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
897
- @click=${() => this.collectionSearchType = "collection"}
898
- >
899
- Collections
900
- </button>
901
- <button
902
- class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
903
- @click=${() => this.collectionSearchType = "variable"}
904
- >
905
- Variables
906
- </button>
907
- </div>
908
-
909
- <div class="search-container-mini">
910
- <input
911
- type="text"
912
- class="search-input-mini"
913
- id="search-input"
914
- placeholder=${placeholder}
915
- @input="${(e2) => this.handleCollectionSearch(
916
- e2.target.value
917
- )}"
918
- />
919
-
920
- <button class="search-button-mini">
921
- <svg
922
- class="search-icon-mini"
923
- viewBox="0 0 24 24"
924
- fill="currentColor"
925
- >
926
- <path
927
- d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"
928
- />
929
- </svg>
930
- Search
931
- </button>
932
- </div>
933
-
934
- <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
935
- <div class="quick-links-mini">
936
- <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
937
- >GPM Precipitation</a
938
- >
939
- <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
940
- >MODIS Data</a
941
- >
942
- <a
943
- href="#"
944
- class="quick-link-mini"
945
- onclick="quickSearch('Landsat')"
946
- >Landsat Imagery</a
947
- >
948
- <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
949
- >Atmospheric Data</a
950
- >
951
- </div>
952
- -->
953
-
954
- <div id="search-results-section" class="search-results-section">
955
- ${this.collectionSearchLoading ? b`
956
- <div id="loading-mini" class="loading-mini">
957
- <div class="spinner-mini"></div>
958
- <div>Searching NASA CMR...</div>
959
- </div>
960
- ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? b` <div
961
- id="results-container-mini"
962
- class="results-container-mini"
963
- >
964
- ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
965
- (item) => b`
966
- <div
967
- class="result-item-mini"
968
- @click=${() => {
969
- this.collectionEntryId = item.collectionEntryId;
970
- this.collectionAccordionOpen = false;
971
- this.collectionLoading = true;
972
- if (item.type === "variable") {
973
- this.selectedVariables = [
974
- {
975
- name: item.entryId,
976
- href: "",
977
- conceptId: item.conceptId
978
- }
979
- ];
980
- }
981
- this.requestUpdate();
982
- }}
983
- style="cursor: pointer;"
984
- >
985
- <div class="result-title-mini">
986
- ${item.title}
987
- </div>
988
- <div class="result-id-mini">
989
- ${item.entryId}
990
- </div>
991
- <div class="result-description-mini">
992
- ${item.summary || item.title}
993
- </div>
994
- <div class="result-meta-mini">
995
- <span>📅 2000-02-24 - ongoing</span>
996
- <span>🌍 Global</span>
997
- <span>🏢 ${item.provider}</span>
998
- ${item.type === "variable" ? b` <span
999
- >📊
1000
- ${item.collectionEntryId}</span
1001
- >` : A}
1002
- <span class="tag-mini"
1003
- >${item.type.toUpperCase()}</span
1004
- >
1005
- </div>
1006
- </div>
1007
- `
1008
- )}
1009
- </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? b`<div id="no-results-mini" class="no-results-mini">
1010
- <p>
1011
- No results found for
1012
- '${this.collectionSearchQuery}'. Try adjusting
1013
- your search term.
1014
- </p>
1015
- </div>` : A}
1016
- </div>
1017
- </terra-accordion>
1018
-
1019
- ${this.collectionLoading ? b`
1020
- <div
1021
- class="collection-loading-bar"
1022
- style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
1023
- >
1024
- <span
1025
- class="loading-spinner"
1026
- style="width: 20px; height: 20px; border: 3px solid #ccc; border-top: 3px solid #31708f; border-radius: 50%; display: inline-block; animation: spin 1s linear infinite;"
1027
- ></span>
1028
- Retrieving collection, please wait...
1029
- </div>
1030
- <style>
1031
- @keyframes spin {
1032
- 0% {
1033
- transform: rotate(0deg);
1034
- }
1035
- 100% {
1036
- transform: rotate(360deg);
1037
- }
1038
- }
1039
- </style>
1040
- ` : A}
1041
- `;
1042
- };
1043
- _renderOutputFormatSelection = new WeakSet();
1044
- renderOutputFormatSelection_fn = function() {
1045
- return b`
1046
- <terra-accordion>
1047
- <div slot="summary">
1048
- <span class="accordion-title">File Format:</span>
1049
- </div>
1050
-
1051
- <div
1052
- slot="summary-right"
1053
- style="display: flex; align-items: center; gap: 10px;"
1054
- >
1055
- <span>${this.selectedFormat.label}</span>
1056
-
1057
- <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
1058
- Reset
1059
- </button>
1060
- </div>
1061
-
1062
- <div class="accordion-content" style="margin-top: 12px;">
1063
- ${(() => {
1064
- var _a;
1065
- return (((_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats) || []).map(
1066
- (format) => b`
1067
- <label
1068
- style="display: flex; align-items: center; gap: 8px; padding: 5px;"
1069
- >
1070
- <input
1071
- type="radio"
1072
- name="output-format"
1073
- value="${format}"
1074
- .checked=${this.selectedFormat === format}
1075
- @change=${() => this.selectedFormat = format}
1076
- />
1077
- ${format.label}
1078
- </label>
1079
- `
1080
- );
1081
- })()}
1082
- </div>
1083
- </terra-accordion>
1084
- `;
1085
- };
1086
- _renderDateRangeSelection = new WeakSet();
1087
- renderDateRangeSelection_fn = function() {
1088
- var _a, _b, _c, _d, _e, _f, _g, _h;
1089
- const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1090
- const startDate = (_b = (_a = this.selectedDateRange.startDate) != null ? _a : this.granuleMinDate) != null ? _b : defaultStartDate;
1091
- const endDate = (_d = (_c = this.selectedDateRange.endDate) != null ? _c : this.granuleMaxDate) != null ? _d : defaultEndDate;
1092
- const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
1093
- return b`
1094
- <terra-accordion>
1095
- <div slot="summary">
1096
- <span class="accordion-title">Refine Date Range:</span>
1097
- </div>
1098
-
1099
- <div
1100
- slot="summary-right"
1101
- style="display: flex; align-items: center; gap: 10px;"
1102
- >
1103
- ${showError ? b`<span class="accordion-value error"
1104
- >Please select a date range</span
1105
- >` : this.touchedFields.has("date") && startDate && endDate ? b`<span class="accordion-value"
1106
- >${startDate} to ${endDate}</span
1107
- >` : A}
1108
- <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
1109
- Reset
1110
- </button>
1111
- </div>
1112
-
1113
- <div style="width: 300px">
1114
- <terra-date-picker
1115
- allow-input
1116
- inline
1117
- range
1118
- split-inputs
1119
- show-presets
1120
- ?enable-time=${this.isSubDaily}
1121
- start-label="Start Date"
1122
- end-label="End Date"
1123
- .minDate=${(_e = this.granuleMinDate) != null ? _e : defaultStartDate}
1124
- .maxDate=${(_f = this.granuleMaxDate) != null ? _f : defaultEndDate}
1125
- .startDate=${(_g = this.selectedDateRange.startDate) != null ? _g : this.granuleMinDate}
1126
- .endDate=${(_h = this.selectedDateRange.endDate) != null ? _h : this.granuleMaxDate}
1127
- .useEndOfDay=${!this.selectedFormat.isGiovanniFormat}
1128
- @terra-date-range-change=${__privateGet(this, _handleDateChange)}
1129
- ></terra-date-picker>
1130
- </div>
1131
-
1132
- <div style="display: flex; gap: 16px; margin-top: 15px;">
1133
- <span
1134
- ><strong>Available Range:</strong> ${defaultStartDate} to
1135
- ${defaultEndDate}</span
1136
- >
1137
- ${this.isSubDaily ? b`<span
1138
- ><strong>Note:</strong> All dates and times are in
1139
- UTC.</span
1140
- >` : A}
1141
- </div>
1142
- </terra-accordion>
1143
- `;
1144
- };
1145
- _handleDateChange = new WeakMap();
1146
- _resetDateRangeSelection = new WeakMap();
1147
- _resetFormatSelection = new WeakMap();
1148
- _getCollectionDateRange = new WeakSet();
1149
- getCollectionDateRange_fn = function() {
1150
- var _a, _b;
1151
- const samplingMinDate = this.granuleMinDate;
1152
- const samplingMaxDate = this.granuleMaxDate;
1153
- if (samplingMinDate && samplingMaxDate) {
1154
- return {
1155
- startDate: samplingMinDate.slice(0, 10),
1156
- endDate: samplingMaxDate.slice(0, 10)
1157
- };
1158
- }
1159
- const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
1160
- if (!(temporalExtents == null ? void 0 : temporalExtents.length))
1161
- return {
1162
- startDate: null,
1163
- endDate: null
1164
- };
1165
- let minStart = null;
1166
- let maxEnd = null;
1167
- const today = /* @__PURE__ */ new Date();
1168
- for (const temporal of temporalExtents) {
1169
- for (const range of temporal.RangeDateTimes || []) {
1170
- const start = new Date(range.BeginningDateTime);
1171
- let end;
1172
- if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
1173
- end = today;
1174
- } else {
1175
- end = new Date(range.EndingDateTime);
1176
- }
1177
- if (!minStart || start < minStart)
1178
- minStart = start;
1179
- if (!maxEnd || end > maxEnd)
1180
- maxEnd = end;
1181
- }
1182
- }
1183
- return {
1184
- startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
1185
- endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
1186
- };
1187
- };
1188
- _renderSpatialSelection = new WeakSet();
1189
- renderSpatialSelection_fn = function() {
1190
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
1191
- const showError = this.touchedFields.has("spatial") && !this.spatialSelection && !this.shapeGeoJson;
1192
- const spatialString = (_c = (_b = this.spatialLabel) != null ? _b : (_a = this.spatialSelection) == null ? void 0 : _a.toString()) != null ? _c : void 0;
1193
- const spatialInitialValue = (_e = (_d = this.spatialSelection) == null ? void 0 : _d.toString()) != null ? _e : void 0;
1194
- return b`
1195
- <terra-accordion>
1196
- <div slot="summary">
1197
- <span class="accordion-title">Refine Region:</span>
1198
- </div>
1199
-
1200
- <div
1201
- slot="summary-right"
1202
- style="display: flex; align-items: center; gap: 10px;"
1203
- >
1204
- ${showError ? b`<span class="accordion-value error"
1205
- >Please select a region</span
1206
- >` : spatialString ? b`<span class="accordion-value"
1207
- >${spatialString}</span
1208
- >` : A}
1209
- <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1210
- Reset
1211
- </button>
1212
- </div>
1213
- <div class="accordion-content">
1214
- <terra-spatial-picker
1215
- part="spatial-picker"
1216
- inline
1217
- hide-label
1218
- .spatialConstraints=${__privateGet(this, _collectionController).spatialConstraints || "-180, -90, 180, 90"}
1219
- .initialValue=${spatialInitialValue}
1220
- ?has-shape-selector=${(_i = (_h = (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.summary) == null ? void 0 : _g.subsetting) == null ? void 0 : _h.shape) != null ? _i : false}
1221
- ?show-polygon-selection=${(_m = (_l = (_k = (_j = this.collectionWithServices) == null ? void 0 : _j.summary) == null ? void 0 : _k.subsetting) == null ? void 0 : _l.shape) != null ? _m : false}
1222
- @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1223
- ></terra-spatial-picker>
1224
- <div
1225
- style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1226
- >
1227
- <span
1228
- ><strong>Available Range:</strong> ${__privateGet(this, _collectionController).spatialConstraints}</span
1229
- >
1230
- </div>
1231
- </div>
1232
- </terra-accordion>
1233
- `;
1234
- };
1235
- _handleSpatialChange = new WeakMap();
1236
- _resetSpatialSelection = new WeakMap();
1237
- _renderVariableSelection = new WeakSet();
1238
- renderVariableSelection_fn = function() {
1239
- var _a;
1240
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1241
- const giovanniError = this.touchedFields.has("variables") && __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1242
- const basicError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1243
- const showError = giovanniError || basicError;
1244
- const errorMessage = giovanniError || (basicError ? "Please select at least one variable" : "");
1245
- const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1246
- const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1247
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1248
- return b`
1249
- <terra-accordion>
1250
- <div slot="summary">
1251
- <span class="accordion-title">Select Variables:</span>
1252
- </div>
1253
- <div
1254
- slot="summary-right"
1255
- style="display: flex; align-items: center; gap: 10px;"
1256
- >
1257
- ${showError ? b`<span class="accordion-value error"
1258
- >${errorMessage}</span
1259
- >` : this.selectedVariables.length ? b`<span class="accordion-value"
1260
- >${this.selectedVariables.length} selected</span
1261
- >` : A}
1262
-
1263
- <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1264
- Reset
1265
- </button>
1266
- </div>
1267
- <div class="accordion-content">
1268
- <terra-input
1269
- label="Filter variables"
1270
- placeholder="Search by variable name..."
1271
- .value=${this.variableFilterText}
1272
- @input=${(e2) => {
1273
- const input = e2.target;
1274
- this.variableFilterText = input.value;
1275
- __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1276
- }}
1277
- style="margin-bottom: 10px;"
1278
- ></terra-input>
1279
- <button
1280
- class="reset-btn"
1281
- style="margin-bottom: 10px;"
1282
- @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1283
- >
1284
- ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1285
- </button>
1286
-
1287
- ${this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables ? b`
1288
- <terra-alert
1289
- open
1290
- appearance="white"
1291
- style="margin: 10px 0"
1292
- >
1293
- <terra-icon
1294
- slot="icon"
1295
- name="outline-information-circle"
1296
- library="heroicons"
1297
- ></terra-icon>
1298
- Only certain variables are supported for the
1299
- selected output format. (Giovanni service)
1300
- </terra-alert>
1301
- ` : A}
1302
- ${variables.length === 0 ? b`<p style="color: #666; font-style: italic;">
1303
- No variables available for this collection.
1304
- </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1305
- </div>
1306
- </terra-accordion>
1307
- `;
1308
- };
1309
- _renderDimensionGroup = new WeakSet();
1310
- renderDimensionGroup_fn = function(dim) {
1311
- var _a, _b, _c, _d, _e, _f;
1312
- const currentValue = (_a = this.selectedDimensionIndexes[dim.name]) != null ? _a : 1;
1313
- const dimensions = ((_f = (_e = (_d = (_c = (_b = __privateGet(this, _collectionController).gesDiscCollection) == null ? void 0 : _b.data) == null ? void 0 : _c.services) == null ? void 0 : _d.subset) == null ? void 0 : _e.find(
1314
- (s) => s.dimensions && s.dimensions.length > 0
1315
- )) == null ? void 0 : _f.dimensions) || [];
1316
- return b`
1317
- <div style="margin-bottom: 16px;">
1318
- <div
1319
- style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;"
1320
- >
1321
- <span style="font-weight: 600; margin-bottom: 44px"
1322
- >Dimension: ${dim.name}</span
1323
- >
1324
- </div>
1325
- <terra-slider
1326
- class="dimension-slider"
1327
- mode="range"
1328
- min="1"
1329
- .max=${dim.size}
1330
- step="1"
1331
- .startValue=${currentValue.start}
1332
- .endValue=${currentValue.end}
1333
- has-tooltips
1334
- show-inputs
1335
- hide-label
1336
- .formatTooltip=${dimensions.length > 0 ? (value) => {
1337
- const found = dimensions.find(
1338
- (d) => String(d.value) === String(value)
1339
- );
1340
- return found ? found.label : String(value);
1341
- } : A}
1342
- @terra-slider-change=${(event) => {
1343
- if ("startValue" in event.detail) {
1344
- const { startValue, endValue } = event.detail;
1345
- __privateMethod(this, _setDimensionValue, setDimensionValue_fn).call(this, dim.name, startValue, endValue);
1346
- }
1347
- }}
1348
- ></terra-slider>
1349
- </div>
1350
- `;
1351
- };
1352
- _setDimensionValue = new WeakSet();
1353
- setDimensionValue_fn = function(dimName, startValue, endValue) {
1354
- const dimensions = __privateMethod(this, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn).call(this);
1355
- const found = dimensions.find((d) => d.name === dimName);
1356
- if (!found) {
1357
- return;
1358
- }
1359
- const normalizedStartValue = Math.min(
1360
- Math.max(Math.round(startValue), 1),
1361
- found.size
1362
- );
1363
- const normalizedEndValue = Math.min(
1364
- Math.max(Math.round(endValue != null ? endValue : startValue), 1),
1365
- found.size
1366
- );
1367
- if (normalizedStartValue <= 1 && normalizedEndValue >= found.size) {
1368
- delete this.selectedDimensionIndexes[dimName];
1369
- return;
1370
- }
1371
- this.selectedDimensionIndexes = __spreadProps(__spreadValues({}, this.selectedDimensionIndexes), {
1372
- [dimName]: { start: normalizedStartValue, end: normalizedEndValue }
1373
- });
1374
- };
1375
- _renderDimensionSelection = new WeakSet();
1376
- renderDimensionSelection_fn = function() {
1377
- const dimensions = __privateMethod(this, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn).call(this);
1378
- if (!dimensions.length) {
1379
- return A;
1380
- }
1381
- const selectedCount = Object.keys(this.selectedDimensionIndexes).length;
1382
- return b`
1383
- <terra-accordion>
1384
- <div slot="summary">
1385
- <span class="accordion-title">Select Dimensions:</span>
1386
- </div>
1387
- <div
1388
- slot="summary-right"
1389
- style="display: flex; align-items: center; gap: 10px;"
1390
- >
1391
- ${selectedCount ? b`<span class="accordion-value"
1392
- >${selectedCount}
1393
- dimension${selectedCount === 1 ? "" : "s"}
1394
- selected</span
1395
- >` : A}
1396
- <button class="reset-btn" @click=${__privateMethod(this, _resetDimensionSelection, resetDimensionSelection_fn)}>
1397
- Reset
1398
- </button>
1399
- </div>
1400
- <div class="accordion-content">
1401
- ${dimensions.map((dim) => __privateMethod(this, _renderDimensionGroup, renderDimensionGroup_fn).call(this, dim))}
1402
- </div>
1403
- </terra-accordion>
1404
- `;
1405
- };
1406
- _filterVariableTree = new WeakSet();
1407
- filterVariableTree_fn = function(tree) {
1408
- if (!this.variableFilterText.trim()) {
1409
- return tree;
1410
- }
1411
- const filterText = this.variableFilterText.toLowerCase().trim();
1412
- const filterNode = (node) => {
1413
- const result = {};
1414
- for (const [key, value] of Object.entries(node)) {
1415
- if (value.__isLeaf) {
1416
- const variableName = value.__variable.name.toLowerCase();
1417
- if (variableName.includes(filterText)) {
1418
- result[key] = value;
1419
- }
1420
- } else {
1421
- const filteredChildren = filterNode(value.__children);
1422
- if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1423
- result[key] = __spreadProps(__spreadValues({}, value), {
1424
- __children: filteredChildren
1425
- });
1426
- }
1427
- }
1428
- }
1429
- return result;
1430
- };
1431
- return filterNode(tree);
1432
- };
1433
- _handleVariableFilterChange = new WeakSet();
1434
- handleVariableFilterChange_fn = function() {
1435
- var _a;
1436
- if (!this.variableFilterText.trim()) {
1437
- return;
1438
- }
1439
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1440
- const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1441
- const filterText = this.variableFilterText.toLowerCase().trim();
1442
- const groupsToExpand = /* @__PURE__ */ new Set();
1443
- const findMatchingGroups = (node, path = []) => {
1444
- for (const [key, value] of Object.entries(node)) {
1445
- if (value.__isLeaf) {
1446
- const variableName = value.__variable.name.toLowerCase();
1447
- if (variableName.includes(filterText)) {
1448
- for (let i = 0; i < path.length; i++) {
1449
- const groupPath = path.slice(0, i + 1).join("/");
1450
- groupsToExpand.add(groupPath);
1451
- }
1452
- }
1453
- } else {
1454
- const groupPath = [...path, key].join("/");
1455
- findMatchingGroups(value.__children, [...path, key]);
1456
- if (key.toLowerCase().includes(filterText)) {
1457
- groupsToExpand.add(groupPath);
1458
- }
1459
- }
1460
- }
1461
- };
1462
- findMatchingGroups(tree);
1463
- if (groupsToExpand.size > 0) {
1464
- this.expandedVariableGroups = /* @__PURE__ */ new Set([
1465
- ...this.expandedVariableGroups,
1466
- ...groupsToExpand
1467
- ]);
1468
- }
1469
- };
1470
- _buildVariableTree = new WeakSet();
1471
- buildVariableTree_fn = function(variables) {
1472
- let filteredVariables = variables;
1473
- if (this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables) {
1474
- filteredVariables = variables.filter((v) => {
1475
- var _a, _b, _c;
1476
- const shortName = (_a = this.collectionWithServices) == null ? void 0 : _a.shortName;
1477
- const version = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.collection) == null ? void 0 : _c.Version;
1478
- if (!shortName || !version) {
1479
- return false;
1480
- }
1481
- const giovanniVariableName = convertVariableEntryIdToGiovanniFormat(
1482
- shortName,
1483
- version,
1484
- v.name
1485
- );
1486
- return this.giovanniConfiguredVariables.has(giovanniVariableName);
1487
- });
1488
- }
1489
- const root = {};
1490
- for (const v of filteredVariables) {
1491
- const parts = v.name.split("/");
1492
- let node = root;
1493
- for (let i = 0; i < parts.length; i++) {
1494
- const part = parts[i];
1495
- if (!node[part])
1496
- node[part] = { __children: {}, __isLeaf: false };
1497
- if (i === parts.length - 1) {
1498
- node[part].__isLeaf = true;
1499
- node[part].__variable = v;
1500
- }
1501
- node = node[part].__children;
1502
- }
1503
- }
1504
- return root;
1505
- };
1506
- _renderVariableTree = new WeakSet();
1507
- renderVariableTree_fn = function(node, path) {
1508
- const isGiovanni = this.selectedFormat.isGiovanniFormat;
1509
- return b`
1510
- <div style="margin-left: ${path.length * 20}px;">
1511
- ${Object.entries(node).map(([key, value]) => {
1512
- var _a;
1513
- const groupPath = [...path, key].join("/");
1514
- if (value.__isLeaf) {
1515
- const ummVar = cmr_variable_service_default.getVariableByName(
1516
- key,
1517
- (_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data
1518
- );
1519
- const variableLabel = ummVar ? cmr_variable_service_default.getVariableDisplayLabel(ummVar) : key;
1520
- return b`
1521
- <div class="option-row">
1522
- <label class="checkbox-option">
1523
- <input
1524
- type="${isGiovanni ? "radio" : "checkbox"}"
1525
- name="${isGiovanni ? "variable-selection" : ""}"
1526
- .checked=${this.selectedVariables.some(
1527
- (v) => v.name === value.__variable.name
1528
- )}
1529
- @change=${(e2) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e2, value.__variable)}
1530
- />
1531
- <span>${variableLabel}</span>
1532
- </label>
1533
- </div>
1534
- `;
1535
- } else {
1536
- const expanded = this.expandedVariableGroups.has(groupPath);
1537
- return b`
1538
- <div class="option-row" style="align-items: flex-start;">
1539
- <span
1540
- style="cursor: pointer; display: flex; align-items: center;"
1541
- @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1542
- >
1543
- <terra-icon
1544
- library="heroicons"
1545
- name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1546
- style="margin-right: 4px;"
1547
- ></terra-icon>
1548
- <span style="font-weight: 500;">${key}</span>
1549
- </span>
1550
- </div>
1551
- ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1552
- ...path,
1553
- key
1554
- ]) : ""}
1555
- `;
1556
- }
1557
- })}
1558
- </div>
1559
- `;
1560
- };
1561
- _getAllGroupPaths = new WeakSet();
1562
- getAllGroupPaths_fn = function(node, path = []) {
1563
- let groups = [];
1564
- for (const [key, value] of Object.entries(node)) {
1565
- if (!value.__isLeaf) {
1566
- const groupPath = [...path, key].join("/");
1567
- groups.push(groupPath);
1568
- groups = groups.concat(
1569
- __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1570
- );
1571
- }
1572
- }
1573
- return groups;
1574
- };
1575
- _toggleGroupExpand = new WeakSet();
1576
- toggleGroupExpand_fn = function(groupPath) {
1577
- const set = new Set(this.expandedVariableGroups);
1578
- if (set.has(groupPath)) {
1579
- set.delete(groupPath);
1580
- } else {
1581
- set.add(groupPath);
1582
- }
1583
- this.expandedVariableGroups = set;
1584
- };
1585
- _toggleExpandCollapseAll = new WeakSet();
1586
- toggleExpandCollapseAll_fn = function(tree) {
1587
- const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1588
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1589
- if (allExpanded) {
1590
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
1591
- } else {
1592
- this.expandedVariableGroups = new Set(allGroups);
1593
- }
1594
- };
1595
- _toggleVariableSelection = new WeakSet();
1596
- toggleVariableSelection_fn = function(e2, variable) {
1597
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1598
- const checked = e2.target.checked;
1599
- if (this.selectedFormat.isGiovanniFormat) {
1600
- if (checked) {
1601
- this.selectedVariables = [variable];
1602
- }
1603
- } else {
1604
- if (checked) {
1605
- if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1606
- this.selectedVariables = [...this.selectedVariables, variable];
1607
- }
1608
- } else {
1609
- this.selectedVariables = this.selectedVariables.filter(
1610
- (v) => v.name !== variable.name
1611
- );
1612
- }
1613
- }
1614
- };
1615
- _markFieldTouched = new WeakSet();
1616
- markFieldTouched_fn = function(field) {
1617
- this.touchedFields = new Set(this.touchedFields).add(field);
1618
- };
1619
- _resetVariableSelection = new WeakMap();
1620
- _resetDimensionSelection = new WeakSet();
1621
- resetDimensionSelection_fn = function() {
1622
- this.selectedDimensionIndexes = {};
1623
- };
1624
- _isDimensionExcluded = new WeakSet();
1625
- isDimensionExcluded_fn = function(dim) {
1626
- var _a, _b, _c;
1627
- const normalizedName = (_b = (_a = dim.Name) == null ? void 0 : _a.toLowerCase()) != null ? _b : "";
1628
- const normalizedType = ((_c = dim.Type) != null ? _c : "").toLowerCase();
1629
- return ["time", "latitude", "longitude", "lat", "lon", "x", "y"].some(
1630
- (value) => normalizedName.includes(value) || normalizedType.includes(value)
1631
- );
1632
- };
1633
- _getCommonSelectableDimensions = new WeakSet();
1634
- getCommonSelectableDimensions_fn = function() {
1635
- var _a, _b;
1636
- const variables = (_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data;
1637
- if (!variables) {
1638
- return [];
1639
- }
1640
- const allUmmVars = (_b = variables.items) != null ? _b : [];
1641
- if (!allUmmVars.length) {
1642
- return [];
1643
- }
1644
- const allDimensionSets = allUmmVars.map(
1645
- (v) => {
1646
- var _a2;
1647
- return (_a2 = v.umm.Dimensions) != null ? _a2 : [];
1648
- }
1649
- );
1650
- if (!allDimensionSets.length) {
1651
- return [];
1652
- }
1653
- const allDimensionNames = Array.from(
1654
- new Set(allDimensionSets.flatMap((dimSet) => dimSet.map((dim) => dim.Name)))
1655
- );
1656
- const filteredCommon = allDimensionNames.map((name) => {
1657
- var _a2, _b2;
1658
- const dims = allDimensionSets.map((set) => set.find((dim) => dim.Name === name)).filter((d) => Boolean(d));
1659
- if (!dims.length) {
1660
- return null;
1661
- }
1662
- const validSizes = dims.filter((dim) => dim.Size !== void 0 && dim.Size !== "Varies").map((dim) => Number(dim.Size)).filter((size2) => Number.isFinite(size2) && size2 > 0);
1663
- if (!validSizes.length) {
1664
- return null;
1665
- }
1666
- const size = Math.min(...validSizes);
1667
- return {
1668
- name,
1669
- type: (_b2 = (_a2 = dims[0]) == null ? void 0 : _a2.Type) != null ? _b2 : "OTHER",
1670
- size
1671
- };
1672
- }).filter(
1673
- (entry) => Boolean(entry)
1674
- ).filter(
1675
- (entry) => !__privateMethod(this, _isDimensionExcluded, isDimensionExcluded_fn).call(this, {
1676
- Name: entry.name,
1677
- Type: entry.type
1678
- })
1679
- );
1680
- return filteredCommon;
1681
- };
1682
- _renderJobStatus = new WeakSet();
1683
- renderJobStatus_fn = function() {
1684
- var _a, _b, _c, _d, _e;
1685
- if (!__privateGet(this, _harmonyRequestController).jobId) {
1686
- return b`<div class="results-section" id="job-status-section">
1687
- <div
1688
- style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1689
- >
1690
- <h2 class="results-title" style="margin: 0;">Results:</h2>
1691
- ${!this.isHistoryView ? b`
1692
- <terra-button
1693
- variant="default"
1694
- size="small"
1695
- @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1696
- >
1697
- ← Back to Subset Options
1698
- </terra-button>
1699
- ` : A}
1700
- </div>
1701
-
1702
- <div class="progress-container">
1703
- <div class="progress-text">
1704
- <span class="spinner"></span>
1705
- <span class="status-running">Searching for data...</span>
1706
- </div>
1707
-
1708
- <div class="progress-bar">
1709
- <div class="progress-fill" style="width: 0%"></div>
1710
- </div>
1711
- </div>
1712
-
1713
- ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1714
- </div>`;
1715
- }
1716
- return b`
1717
- <div class="results-section" id="job-status-section">
1718
- <div
1719
- style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1720
- >
1721
- <h2 class="results-title" style="margin: 0;">Results:</h2>
1722
- ${!this.isHistoryView ? b`
1723
- <terra-button
1724
- variant="default"
1725
- size="small"
1726
- @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1727
- >
1728
- ← Back to Subset Options
1729
- </terra-button>
1730
- ` : A}
1731
- </div>
1732
-
1733
- ${__privateGet(this, _harmonyRequestController).status !== "canceled" && __privateGet(this, _harmonyRequestController).status !== "failed" ? b` <div class="progress-container">
1734
- <div class="progress-text">
1735
- ${__privateGet(this, _harmonyRequestController).progress >= 100 ? b`
1736
- <span class="status-complete"
1737
- >✓ Search complete</span
1738
- >
1739
- ` : b`
1740
- <span class="spinner"></span>
1741
- <span class="status-running"
1742
- >Searching for data...
1743
- (${__privateGet(this, _harmonyRequestController).progress}%)</span
1744
- >
1745
- `}
1746
- </div>
1747
-
1748
- <div class="progress-bar">
1749
- <div
1750
- class="progress-fill"
1751
- style="width: ${__privateGet(this, _harmonyRequestController).progress}%"
1752
- ></div>
1753
- </div>
1754
- </div>` : A}
1755
-
1756
- <div class="search-status">
1757
- <span class="file-count"
1758
- >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1759
- >
1760
- out of estimated
1761
- <span class="estimated-total"
1762
- >${(_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.numInputGranules.toLocaleString()}</span
1763
- >
1764
- </div>
1765
-
1766
- ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1767
- ${((_c = (_b = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _b.errors) == null ? void 0 : _c.length) ? b`
1768
- <terra-accordion>
1769
- <div slot="summary">
1770
- <span
1771
- class="accordion-title"
1772
- style="color: #dc3545;"
1773
- >Errors
1774
- (${(_d = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _d.errors.length})</span
1775
- >
1776
- </div>
1777
- <div class="accordion-content">
1778
- <ul
1779
- style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1780
- >
1781
- ${(_e = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _e.errors.map(
1782
- (err) => b`
1783
- <li style="margin-bottom: 12px;">
1784
- <a
1785
- href="${err.url}"
1786
- target="_blank"
1787
- style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1788
- >
1789
- ${err.url}
1790
- </a>
1791
- <div style="margin-top: 2px;">
1792
- ${err.message}
1793
- </div>
1794
- </li>
1795
- `
1796
- )}
1797
- </ul>
1798
- </div>
1799
- </terra-accordion>
1800
- ` : A}
1801
-
1802
- <div class="tabs">
1803
- <button
1804
- class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1805
- @click=${() => this.selectedTab = "web-links"}
1806
- >
1807
- Web Links
1808
- </button>
1809
-
1810
- ${!this.isHistoryView ? b`
1811
- <button
1812
- class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1813
- @click=${() => this.selectedTab = "selected-params"}
1814
- >
1815
- Selected Parameters
1816
- </button>
1817
- ` : A}
1818
- </div>
1819
- <div
1820
- id="web-links"
1821
- class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1822
- >
1823
- ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? b`
1824
- <div class="documentation-links">
1825
- ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1826
- (link) => b`
1827
- <a href="${link.href}" class="doc-link"
1828
- >${link.title}</a
1829
- >
1830
- `
1831
- )}
1832
- </div>
1833
- ` : A}
1834
-
1835
- <ul class="file-list">
1836
- ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1837
- (link) => b`
1838
- <li class="file-item">
1839
- <a
1840
- href="${link.href}"
1841
- class="file-link"
1842
- target="_blank"
1843
- >
1844
- ${link.title}
1845
- </a>
1846
- </li>
1847
- `
1848
- )}
1849
- </ul>
1850
- </div>
1851
-
1852
- <div
1853
- id="selected-params"
1854
- class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1855
- >
1856
- ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1857
- </div>
1858
- </div>
1859
-
1860
- ${!this.dialog ? b`
1861
- <div class="footer">
1862
- ${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
1863
- <div
1864
- style="display: flex; align-items: center; gap: 8px;"
1865
- >
1866
- <terra-dropdown
1867
- @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1868
- >
1869
- <terra-button slot="trigger" caret>
1870
- Download Options
1871
- </terra-button>
1872
- <terra-menu>
1873
- <terra-menu-item value="file-list">
1874
- <svg
1875
- slot="prefix"
1876
- viewBox="0 0 24 24"
1877
- width="16"
1878
- height="16"
1879
- style="width: 16px; height: 16px;"
1880
- >
1881
- <path
1882
- fill="currentColor"
1883
- d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"
1884
- />
1885
- </svg>
1886
- File List
1887
- </terra-menu-item>
1888
- <terra-menu-item
1889
- value="python-script"
1890
- >
1891
- <svg
1892
- slot="prefix"
1893
- viewBox="0 0 128 128"
1894
- width="16"
1895
- height="16"
1896
- style="width: 16px; height: 16px;"
1897
- >
1898
- <path
1899
- fill="currentColor"
1900
- d="M49.33 62h29.159C86.606 62 93 55.132 93 46.981V19.183c0-7.912-6.632-13.856-14.555-15.176-5.014-.835-10.195-1.215-15.187-1.191-4.99.023-9.612.448-13.805 1.191C37.098 6.188 35 10.758 35 19.183V30h29v4H23.776c-8.484 0-15.914 5.108-18.237 14.811-2.681 11.12-2.8 17.919 0 29.53C7.614 86.983 12.569 93 21.054 93H31V79.952C31 70.315 39.428 62 49.33 62zm-1.838-39.11c-3.026 0-5.478-2.479-5.478-5.545 0-3.079 2.451-5.581 5.478-5.581 3.015 0 5.479 2.502 5.479 5.581-.001 3.066-2.465 5.545-5.479 5.545zm74.789 25.921C120.183 40.363 116.178 34 107.682 34H97v12.981C97 57.031 88.206 65 78.489 65H49.33C41.342 65 35 72.326 35 80.326v27.8c0 7.91 6.745 12.564 14.462 14.834 9.242 2.717 17.994 3.208 29.051 0C85.862 120.831 93 116.549 93 108.126V97H64v-4h43.682c8.484 0 11.647-5.776 14.599-14.66 3.047-9.145 2.916-17.799 0-29.529zm-41.955 55.606c3.027 0 5.479 2.479 5.479 5.547 0 3.076-2.451 5.579-5.479 5.579-3.015 0-5.478-2.502-5.478-5.579 0-3.068 2.463-5.547 5.478-5.547z"
1901
- ></path>
1902
- </svg>
1903
- Python Script
1904
- </terra-menu-item>
1905
- <terra-menu-item
1906
- value="earthdata-download"
1907
- >
1908
- <svg
1909
- slot="prefix"
1910
- viewBox="0 0 64 64"
1911
- fill="none"
1912
- width="16"
1913
- height="16"
1914
- style="width: 16px; height: 16px;"
1915
- >
1916
- <circle
1917
- cx="32"
1918
- cy="32"
1919
- r="28"
1920
- fill="currentColor"
1921
- />
1922
- <path
1923
- d="M32 14v26M32 40l-9-9M32 40l9-9"
1924
- stroke="#fff"
1925
- stroke-width="4"
1926
- stroke-linecap="round"
1927
- stroke-linejoin="round"
1928
- fill="none"
1929
- />
1930
- </svg>
1931
- Earthdata Download
1932
- </terra-menu-item>
1933
- </terra-menu>
1934
- </terra-dropdown>
1935
-
1936
- <!--
1937
- <terra-button
1938
- outline
1939
- @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
1940
- >
1941
- <terra-icon
1942
- name="outline-code-bracket"
1943
- library="heroicons"
1944
- font-size="1.5em"
1945
- style="margin-right: 5px;"
1946
- ></terra-icon>
1947
- Open in Jupyter Notebook
1948
- </terra-button>
1949
- --></div>
1950
- ` : A}
1951
- ${__privateGet(this, _harmonyRequestController).status === "running" /* RUNNING */ ? b`<button
1952
- class="btn btn-success"
1953
- @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
1954
- ?disabled=${this.cancelingGetData}
1955
- >
1956
- ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
1957
- </button>` : A}
1958
-
1959
- <div class="job-info">
1960
- Job ID:
1961
- <span class="job-id">
1962
- ${this.bearerToken ? b`<a
1963
- href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
1964
- target="_blank"
1965
- >${__privateGet(this, _harmonyRequestController).jobId}</a
1966
- >` : __privateGet(this, _harmonyRequestController).jobId}
1967
- </span>
1968
- <span class="info-icon">?</span>
1969
- </div>
1970
- </div>
1971
- ` : A}
1972
- `;
1973
- };
1974
- _renderSelectedParams = new WeakSet();
1975
- renderSelectedParams_fn = function() {
1976
- var _a, _b, _c, _d;
1977
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1978
- const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
1979
- const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
1980
- const spatial = (_c = (_b = this.spatialSelection) == null ? void 0 : _b.toString()) != null ? _c : "-";
1981
- return b`
1982
- <dl class="params-summary">
1983
- <div>
1984
- <dt><strong>Dataset</strong></dt>
1985
- <dd>${(_d = collection == null ? void 0 : collection.EntryTitle) != null ? _d : "\u2014"}</dd>
1986
- </div>
1987
- <div>
1988
- <dt><strong>Variables</strong></dt>
1989
- <dd>${variables.map((v) => b`<div>${v}</div>`)}</dd>
1990
- </div>
1991
- <div>
1992
- <dt><strong>Dimensions</strong></dt>
1993
- <dd>
1994
- ${Object.entries(this.selectedDimensionIndexes).length ? Object.entries(this.selectedDimensionIndexes).map(
1995
- ([dimName, value]) => b`<div>
1996
- <strong>${dimName}:</strong> ${value}
1997
- </div>`
1998
- ) : "\u2014"}
1999
- </dd>
2000
- </div>
2001
- <div>
2002
- <dt><strong>Date Range</strong></dt>
2003
- <dd>${dateRange}</dd>
2004
- </div>
2005
- <div>
2006
- <dt><strong>Spatial</strong></dt>
2007
- <dd>${spatial}</dd>
2008
- </div>
2009
- </dl>
2010
-
2011
- <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
2012
- >Refine Parameters</terra-button
2013
- >
2014
- `;
2015
- };
2016
- _cancelJob = new WeakSet();
2017
- cancelJob_fn = async function() {
2018
- if (!this.jobId) {
2019
- return;
2020
- }
2021
- this.cancelingGetData = true;
2022
- try {
2023
- await __privateGet(this, _harmonyRequestController).cancelJob({
2024
- jobId: this.jobId,
2025
- options: { bearerToken: this.bearerToken }
2026
- });
2027
- } finally {
2028
- this.cancelingGetData = false;
2029
- }
2030
- };
2031
- _getData = new WeakSet();
2032
- getData_fn = async function() {
2033
- var _a, _b, _c, _d, _e, _f, _g, _h, _i;
2034
- const validationError = __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
2035
- if (validationError) {
2036
- this.validationError = validationError;
2037
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
2038
- return;
2039
- }
2040
- this.validationError = void 0;
2041
- this.cancelingGetData = false;
2042
- __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
2043
- const variables = this.selectedFormat.isGiovanniFormat ? this.selectedVariables.map(
2044
- (v) => {
2045
- var _a2, _b2, _c2;
2046
- return (
2047
- // the Giovanni variable catalog uses different variable entry ids, we need to support them
2048
- // ex. CMR: M2T1NXSLV_5.2.14 in Giovanni uses underscores: M2T1NXSLV_5_2_14
2049
- convertVariableEntryIdToGiovanniFormat(
2050
- (_a2 = this.collectionWithServices.shortName) != null ? _a2 : "",
2051
- (_c2 = (_b2 = this.collectionWithServices.collection) == null ? void 0 : _b2.Version) != null ? _c2 : "",
2052
- v.name
2053
- )
2054
- );
2055
- }
2056
- ) : this.selectedVariables.map((v) => v.conceptId);
2057
- const harmonyRequest = new HarmonyRequest({
2058
- collectionConceptId: this.collectionWithServices.conceptId,
2059
- variables,
2060
- location: this.spatialSelection
2061
- });
2062
- if (this.shapeGeoJson) {
2063
- harmonyRequest.shape(this.shapeGeoJson);
2064
- }
2065
- if (((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.temporal) && this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
2066
- harmonyRequest.startDate(
2067
- this.isSubDaily ? this.selectedDateRange.startDate : getUTCDate(this.selectedDateRange.startDate).toISOString()
2068
- );
2069
- harmonyRequest.endDate(
2070
- this.isSubDaily ? this.selectedDateRange.endDate : getUTCDate(this.selectedDateRange.endDate).toISOString()
2071
- );
2072
- }
2073
- if (this.selectedFormat) {
2074
- harmonyRequest.format(
2075
- this.selectedFormat.isGiovanniFormat ? "text/csv" : this.selectedFormat.key
2076
- );
2077
- }
2078
- if (this.selectedFormat.key === "text/csv") {
2079
- harmonyRequest.average("area");
2080
- }
2081
- if (this.selectedFormat.key === "image/tiff") {
2082
- harmonyRequest.average("time");
2083
- }
2084
- if (Object.keys(this.selectedDimensionIndexes).length) {
2085
- Object.entries(this.selectedDimensionIndexes).forEach(
2086
- ([dimName, { start, end }]) => {
2087
- harmonyRequest.dimension({
2088
- name: dimName,
2089
- min: start,
2090
- max: end
2091
- });
2092
- }
2093
- );
2094
- }
2095
- harmonyRequest.label("terra-data-subsetter");
2096
- const cwsShortName = (_e = (_b = this.collectionWithServices) == null ? void 0 : _b.shortName) != null ? _e : (_d = (_c = this.collectionWithServices) == null ? void 0 : _c.collection) == null ? void 0 : _d.ShortName;
2097
- const cwsVersion = (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.Version;
2098
- const cwsEntryTitle = (_i = (_h = this.collectionWithServices) == null ? void 0 : _h.collection) == null ? void 0 : _i.EntryTitle;
2099
- if (cwsShortName && cwsVersion) {
2100
- harmonyRequest.label(
2101
- `collection-entry-id: ${cwsShortName}_${cwsVersion}`.toLowerCase()
2102
- );
2103
- }
2104
- if (cwsEntryTitle) {
2105
- harmonyRequest.label(
2106
- `collection-entry-title: ${cwsEntryTitle.toLowerCase()}`
2107
- );
2108
- }
2109
- console.log("Creating Harmony job with request:", harmonyRequest.params);
2110
- const job = await __privateGet(this, _harmonyRequestController).startJob({
2111
- harmonyRequest,
2112
- options: { bearerToken: this.bearerToken }
2113
- });
2114
- this.jobId = job.jobID;
2115
- setTimeout(() => {
2116
- const el = this.renderRoot.querySelector("#job-status-section");
2117
- el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
2118
- }, 100);
2119
- this.refineParameters = false;
2120
- this.isHistoryView = false;
2121
- };
2122
- _touchAllFields = new WeakSet();
2123
- touchAllFields_fn = function() {
2124
- this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
2125
- };
2126
- _numberOfFilesFoundEstimate = new WeakSet();
2127
- numberOfFilesFoundEstimate_fn = function() {
2128
- var _a, _b, _c;
2129
- return Math.floor(
2130
- ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.numInputGranules) != null ? _b : 0) * ((_c = __privateGet(this, _harmonyRequestController).progress) != null ? _c : 0) / 100
2131
- );
2132
- };
2133
- _getDocumentationLinks = new WeakSet();
2134
- getDocumentationLinks_fn = function() {
2135
- var _a, _b;
2136
- return ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links) != null ? _b : []).filter(
2137
- (link) => link.rel === "stac-catalog-json"
2138
- );
2139
- };
2140
- _getDataLinks = new WeakSet();
2141
- getDataLinks_fn = function() {
2142
- var _a, _b;
2143
- return ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links) != null ? _b : []).filter(
2144
- (link) => link.rel === "data"
2145
- );
2146
- };
2147
- _hasAtLeastOneSubsetOption = new WeakSet();
2148
- hasAtLeastOneSubsetOption_fn = function() {
2149
- var _a, _b, _c, _d;
2150
- return ((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.bbox) || ((_b = this.collectionWithServices) == null ? void 0 : _b.summary.subsetting.shape) || ((_c = this.collectionWithServices) == null ? void 0 : _c.summary.subsetting.variable) || ((_d = this.collectionWithServices) == null ? void 0 : _d.summary.subsetting.temporal);
2151
- };
2152
- _hasSpatialSubset = new WeakSet();
2153
- hasSpatialSubset_fn = function() {
2154
- var _a, _b;
2155
- return ((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.bbox) || ((_b = this.collectionWithServices) == null ? void 0 : _b.summary.subsetting.shape);
2156
- };
2157
- _renderJobMessage = new WeakSet();
2158
- renderJobMessage_fn = function() {
2159
- var _a;
2160
- const warningStatuses = [
2161
- "canceled" /* CANCELED */,
2162
- "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
2163
- "running_with_errors" /* RUNNING_WITH_ERRORS */
2164
- ];
2165
- const errorStatuses = ["failed" /* FAILED */];
2166
- if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.status)) {
2167
- return A;
2168
- }
2169
- let type = "normal";
2170
- if (warningStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
2171
- type = "warning";
2172
- } else if (errorStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
2173
- type = "error";
2174
- }
2175
- let color, bg;
2176
- if (type === "error") {
2177
- color = "#dc3545";
2178
- bg = "#f8d7da";
2179
- } else if (type === "warning") {
2180
- color = "#856404";
2181
- bg = "#fff3cd";
2182
- } else {
2183
- color = "#555";
2184
- bg = "#f8f9fa";
2185
- }
2186
- return b`
2187
- <div
2188
- style="
2189
- margin: 24px 0 16px 0;
2190
- padding: 16px 20px;
2191
- border-radius: 6px;
2192
- background: ${bg};
2193
- color: ${color};
2194
- border: 1px solid ${color}22;
2195
- "
2196
- >
2197
- ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
2198
- </div>
2199
- `;
2200
- };
2201
- _getJobMessageText = new WeakSet();
2202
- getJobMessageText_fn = function() {
2203
- var _a;
2204
- return (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.message.replace(
2205
- /\b(The job|the job|job|Job)\b/g,
2206
- (match) => {
2207
- switch (match) {
2208
- case "The job":
2209
- return "Your request";
2210
- case "the job":
2211
- return "Your Request";
2212
- case "job":
2213
- return "request";
2214
- case "Job":
2215
- return "Request";
2216
- }
2217
- return match;
2218
- }
2219
- );
2220
- };
2221
- _estimateJobSize = new WeakSet();
2222
- estimateJobSize_fn = function() {
2223
- var _a, _b, _c, _d, _e;
2224
- if (!((_a = this.collectionWithServices) == null ? void 0 : _a.granuleCount))
2225
- return;
2226
- const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2227
- let startDate;
2228
- let endDate;
2229
- let links = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.granuleCount) != null ? _c : 0;
2230
- if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
2231
- startDate = this.selectedDateRange.startDate;
2232
- endDate = this.selectedDateRange.endDate;
2233
- } else {
2234
- startDate = (_d = this.granuleMinDate) != null ? _d : range.startDate;
2235
- endDate = (_e = this.granuleMaxDate) != null ? _e : range.endDate;
2236
- }
2237
- if (!startDate || !endDate)
2238
- return;
2239
- const start = new Date(startDate);
2240
- const end = new Date(endDate);
2241
- const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
2242
- if (range.startDate && range.endDate) {
2243
- const availableDaysInCollection = Math.floor(
2244
- (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
2245
- ) + 1;
2246
- const granulesPerDay = links / availableDaysInCollection;
2247
- links = Math.ceil(days * granulesPerDay);
2248
- }
2249
- return { days, links };
2250
- };
2251
- _refineParameters = new WeakSet();
2252
- refineParameters_fn = function() {
2253
- this.refineParameters = true;
2254
- };
2255
- _backToSubsetOptions = new WeakSet();
2256
- backToSubsetOptions_fn = function() {
2257
- this.refineParameters = true;
2258
- setTimeout(() => {
2259
- const container = this.renderRoot.querySelector(".container");
2260
- container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
2261
- }, 100);
2262
- };
2263
- _viewRunningJob = new WeakSet();
2264
- viewRunningJob_fn = function() {
2265
- this.refineParameters = false;
2266
- setTimeout(() => {
2267
- const el = this.renderRoot.querySelector("#job-status-section");
2268
- el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
2269
- }, 100);
2270
- };
2271
- _handleDownloadSelect = new WeakSet();
2272
- handleDownloadSelect_fn = function(event) {
2273
- const item = event.detail.item;
2274
- const value = item.value || item.getTextLabel();
2275
- if (value === "file-list") {
2276
- __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
2277
- } else if (value === "python-script") {
2278
- __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
2279
- } else if (value === "earthdata-download") {
2280
- __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
2281
- }
2282
- };
2283
- _downloadLinksAsTxt = new WeakSet();
2284
- downloadLinksAsTxt_fn = function(event) {
2285
- var _a;
2286
- event.stopPropagation();
2287
- if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2288
- return;
2289
- }
2290
- const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
2291
- if (dataLinks.length === 0) {
2292
- return;
2293
- }
2294
- const content = dataLinks.map((link) => link.href).join("\n");
2295
- const blob = new Blob([content], { type: "text/plain" });
2296
- const url = URL.createObjectURL(blob);
2297
- const a = document.createElement("a");
2298
- a.href = url;
2299
- a.download = `subset_links_${__privateGet(this, _harmonyRequestController).jobId}.txt`;
2300
- document.body.appendChild(a);
2301
- a.click();
2302
- document.body.removeChild(a);
2303
- URL.revokeObjectURL(url);
2304
- };
2305
- _downloadPythonScript = new WeakSet();
2306
- downloadPythonScript_fn = async function(event) {
2307
- var _a, _b, _c, _d;
2308
- event.stopPropagation();
2309
- if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2310
- return;
2311
- }
2312
- const response = await fetch(
2313
- getBasePath("assets/data-subsetter/download_subset_files.py.txt")
2314
- );
2315
- if (!response.ok) {
2316
- alert(
2317
- "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
2318
- );
2319
- }
2320
- const content = (await response.text()).replace(/{{jobId}}/gi, (_b = __privateGet(this, _harmonyRequestController).jobId) != null ? _b : "").replace(
2321
- /{{HARMONY_ENV}}/gi,
2322
- `Environment.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
2323
- ).replace(
2324
- /{{EARTHACCESS_ENV}}/gi,
2325
- `earthaccess.${(_d = this.environment) == null ? void 0 : _d.toUpperCase()}`
2326
- );
2327
- const blob = new Blob([content], { type: "text/plain" });
2328
- const url = URL.createObjectURL(blob);
2329
- const a = document.createElement("a");
2330
- a.href = url;
2331
- a.download = `download_subset_files_${__privateGet(this, _harmonyRequestController).jobId}.py`;
2332
- document.body.appendChild(a);
2333
- a.click();
2334
- document.body.removeChild(a);
2335
- URL.revokeObjectURL(url);
2336
- };
2337
- _downloadEarthdataDownload = new WeakSet();
2338
- downloadEarthdataDownload_fn = async function(event) {
2339
- var _a;
2340
- event.stopPropagation();
2341
- if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2342
- return;
2343
- }
2344
- alert("Sorry, Earthdata Download is not currently supported");
2345
- };
2346
- _handleJupyterNotebookClick = new WeakSet();
2347
- handleJupyterNotebookClick_fn = function() {
2348
- const notebook = getNotebook(this);
2349
- sendDataToJupyterNotebook("load-notebook", {
2350
- filename: `subset_${__privateGet(this, _harmonyRequestController).jobId}.ipynb`,
2351
- notebook,
2352
- bearerToken: this.bearerToken
2353
- });
2354
- };
2355
- _renderAvailableTemporalRangeSection = new WeakSet();
2356
- renderAvailableTemporalRangeSection_fn = function() {
2357
- const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2358
- if (!startDate || !endDate)
2359
- return A;
2360
- return b`
2361
- <div class="section" style="margin-bottom: 16px;">
2362
- <h2 class="section-title">Available Date Range</h2>
2363
- <div style="color: #31708f; margin-top: 8px;">
2364
- <strong>${startDate}</strong> to <strong>${endDate}</strong>
2365
- </div>
2366
- <div style="font-size: 0.95em; color: #666;">
2367
- This collection does not support temporal subsetting.
2368
- </div>
2369
- </div>
2370
- `;
2371
- };
2372
- _renderAvailableSpatialRangeSection = new WeakSet();
2373
- renderAvailableSpatialRangeSection_fn = function() {
2374
- var _a, _b, _c, _d, _e;
2375
- const boundingRects = (_e = (_d = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.SpatialExtent) == null ? void 0 : _c.HorizontalSpatialDomain) == null ? void 0 : _d.Geometry) == null ? void 0 : _e.BoundingRectangles;
2376
- if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
2377
- return A;
2378
- return b`
2379
- <div class="section" style="margin-bottom: 16px;">
2380
- <h2 class="section-title">Available Spatial Area</h2>
2381
- <div style="color: #31708f; margin-top: 8px;">
2382
- ${boundingRects.map(
2383
- (rect) => b`<div>
2384
- <strong>Bounding Box:</strong>
2385
- ${rect.WestBoundingCoordinate},
2386
- ${rect.SouthBoundingCoordinate},
2387
- ${rect.EastBoundingCoordinate},
2388
- ${rect.NorthBoundingCoordinate}
2389
- </div>`
2390
- )}
2391
- </div>
2392
- <div style="font-size: 0.95em; color: #666;">
2393
- This collection does not support spatial subsetting.
2394
- </div>
2395
- </div>
2396
- `;
2397
- };
2398
- _renderDataAccessModeSelection = new WeakSet();
2399
- renderDataAccessModeSelection_fn = function() {
2400
- if (!__privateGet(this, _collectionController).hasGranules) {
2401
- return A;
2402
- }
2403
- return b`
2404
- <div class="mode-selection">
2405
- <div class="mode-options">
2406
- <label
2407
- class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
2408
- >
2409
- <input
2410
- type="radio"
2411
- name="data-access-mode"
2412
- value="original"
2413
- .checked=${this.dataAccessMode === "original"}
2414
- @change=${() => this.dataAccessMode = "original"}
2415
- />
2416
- <div class="mode-content">
2417
- <div class="mode-title">Get Original Files</div>
2418
- <div class="mode-description">
2419
- Filter file links directly from the archive.
2420
- </div>
2421
- </div>
2422
- </label>
2423
-
2424
- <label
2425
- class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
2426
- >
2427
- <input
2428
- type="radio"
2429
- name="data-access-mode"
2430
- value="subset"
2431
- .checked=${this.dataAccessMode === "subset"}
2432
- @change=${() => this.dataAccessMode = "subset"}
2433
- />
2434
- <div class="mode-content">
2435
- <div class="mode-title">Transform Data</div>
2436
- <div class="mode-description">
2437
- Transform the data to your specific needs.
2438
- </div>
2439
- </div>
2440
- </label>
2441
- </div>
2442
- </div>
2443
- `;
2444
- };
2445
- _getGiovanniValidationError = new WeakSet();
2446
- getGiovanniValidationError_fn = function() {
2447
- if (!this.selectedFormat.isGiovanniFormat) {
2448
- return null;
2449
- }
2450
- if (this.selectedVariables.length === 0) {
2451
- return "Please select a variable to subset.";
2452
- }
2453
- if (this.selectedVariables.length > 1) {
2454
- return "The selected format only supports subsetting one variable at a time.";
2455
- }
2456
- return null;
2457
- };
2458
- TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
2459
- TerraDataSubsetter.dependencies = {
2460
- "terra-accordion": TerraAccordion,
2461
- "terra-date-picker": TerraDatePicker,
2462
- "terra-icon": TerraIcon,
2463
- "terra-input": TerraInput,
2464
- "terra-spatial-picker": TerraSpatialPicker,
2465
- "terra-login": TerraLogin,
2466
- "terra-loader": TerraLoader,
2467
- "terra-data-access": TerraDataAccess,
2468
- "terra-dialog": TerraDialog,
2469
- "terra-dropdown": TerraDropdown,
2470
- "terra-menu": TerraMenu,
2471
- "terra-menu-item": TerraMenuItem,
2472
- "terra-button": TerraButton,
2473
- "terra-alert": TerraAlert,
2474
- "terra-slider": TerraSlider
2475
- };
2476
- __decorateClass([
2477
- n({ reflect: true, attribute: "collection-entry-id" })
2478
- ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
2479
- __decorateClass([
2480
- n({ reflect: true, attribute: "short-name" })
2481
- ], TerraDataSubsetter.prototype, "shortName", 2);
2482
- __decorateClass([
2483
- n({ reflect: true, attribute: "version" })
2484
- ], TerraDataSubsetter.prototype, "version", 2);
2485
- __decorateClass([
2486
- n({
2487
- reflect: true,
2488
- type: Boolean,
2489
- attribute: "show-collection-search"
2490
- })
2491
- ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
2492
- __decorateClass([
2493
- n({ reflect: true, type: Boolean, attribute: "show-history-panel" })
2494
- ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
2495
- __decorateClass([
2496
- n({ reflect: true, attribute: "job-id" })
2497
- ], TerraDataSubsetter.prototype, "jobId", 2);
2498
- __decorateClass([
2499
- n({ attribute: "bearer-token" })
2500
- ], TerraDataSubsetter.prototype, "bearerToken", 2);
2501
- __decorateClass([
2502
- n()
2503
- ], TerraDataSubsetter.prototype, "features", 2);
2504
- __decorateClass([
2505
- n({ reflect: true })
2506
- ], TerraDataSubsetter.prototype, "dialog", 2);
2507
- __decorateClass([
2508
- n({ reflect: true, type: Boolean, attribute: "is-history-view" })
2509
- ], TerraDataSubsetter.prototype, "isHistoryView", 2);
2510
- __decorateClass([
2511
- r()
2512
- ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
2513
- __decorateClass([
2514
- r()
2515
- ], TerraDataSubsetter.prototype, "selectedVariables", 2);
2516
- __decorateClass([
2517
- r()
2518
- ], TerraDataSubsetter.prototype, "selectedDimensionIndexes", 2);
2519
- __decorateClass([
2520
- r()
2521
- ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
2522
- __decorateClass([
2523
- r()
2524
- ], TerraDataSubsetter.prototype, "variableFilterText", 2);
2525
- __decorateClass([
2526
- r()
2527
- ], TerraDataSubsetter.prototype, "touchedFields", 2);
2528
- __decorateClass([
2529
- r()
2530
- ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2531
- __decorateClass([
2532
- r()
2533
- ], TerraDataSubsetter.prototype, "shapeGeoJson", 2);
2534
- __decorateClass([
2535
- r()
2536
- ], TerraDataSubsetter.prototype, "spatialLabel", 2);
2537
- __decorateClass([
2538
- r()
2539
- ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2540
- __decorateClass([
2541
- r()
2542
- ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2543
- __decorateClass([
2544
- r()
2545
- ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2546
- __decorateClass([
2547
- r()
2548
- ], TerraDataSubsetter.prototype, "selectedTab", 2);
2549
- __decorateClass([
2550
- r()
2551
- ], TerraDataSubsetter.prototype, "refineParameters", 2);
2552
- __decorateClass([
2553
- r()
2554
- ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2555
- __decorateClass([
2556
- r()
2557
- ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2558
- __decorateClass([
2559
- r()
2560
- ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2561
- __decorateClass([
2562
- r()
2563
- ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2564
- __decorateClass([
2565
- r()
2566
- ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2567
- __decorateClass([
2568
- r()
2569
- ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2570
- __decorateClass([
2571
- r()
2572
- ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2573
- __decorateClass([
2574
- r()
2575
- ], TerraDataSubsetter.prototype, "validationError", 2);
2576
- __decorateClass([
2577
- r()
2578
- ], TerraDataSubsetter.prototype, "granuleMinDate", 2);
2579
- __decorateClass([
2580
- r()
2581
- ], TerraDataSubsetter.prototype, "granuleMaxDate", 2);
2582
- __decorateClass([
2583
- r()
2584
- ], TerraDataSubsetter.prototype, "giovanniConfiguredVariables", 2);
2585
- __decorateClass([
2586
- e('[part~="spatial-picker"]')
2587
- ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2588
- __decorateClass([
2589
- e("terra-dialog")
2590
- ], TerraDataSubsetter.prototype, "dialogElement", 2);
2591
- __decorateClass([
2592
- watch(["jobId"], { waitUntilFirstUpdate: true })
2593
- ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2594
- __decorateClass([
2595
- watch(["shortName", "version"])
2596
- ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2597
- __decorateClass([
2598
- watch("collectionEntryId", { waitUntilFirstUpdate: true })
2599
- ], TerraDataSubsetter.prototype, "collectionEntryIdChanged", 1);
2600
- __decorateClass([
2601
- watch(["collectionWithServices"])
2602
- ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2603
- __decorateClass([
2604
- watch(["granuleMinDate", "granuleMaxDate"])
2605
- ], TerraDataSubsetter.prototype, "granuleDatesChanged", 1);
2606
- __decorateClass([
2607
- watch("selectedFormat")
2608
- ], TerraDataSubsetter.prototype, "selectedFormatChanged", 1);
2609
- __decorateClass([
2610
- debounce(500)
2611
- ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2612
-
2613
- export {
2614
- TerraDataSubsetter
2615
- };