@nasa-terra/components 0.0.165 → 0.0.167

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 (1274) hide show
  1. package/cdn/chunks/chunk.22JAM2GR.js +149 -0
  2. package/cdn/chunks/chunk.2KSTLEEW.js +19 -0
  3. package/cdn/chunks/chunk.2MOKVZJ5.js +110 -0
  4. package/cdn/chunks/chunk.2MRTLI7C.js +29 -0
  5. package/cdn/chunks/chunk.2OYHOPUN.js +29 -0
  6. package/cdn/chunks/chunk.2W6MOIKV.js +36 -0
  7. package/cdn/chunks/chunk.2ZAILZIZ.js +29 -0
  8. package/cdn/chunks/chunk.34GKSDDH.js +29 -0
  9. package/cdn/chunks/chunk.35NWYWPA.js +610 -0
  10. package/cdn/chunks/chunk.3DZICDY5.js +19 -0
  11. package/cdn/chunks/chunk.3EEC7I6T.js +77 -0
  12. package/cdn/chunks/chunk.3HQ5B2XG.js +60 -0
  13. package/cdn/chunks/chunk.3KF4JV5X.js +19 -0
  14. package/cdn/chunks/chunk.3OCLA6PR.js +113 -0
  15. package/cdn/chunks/chunk.3PYSUHMX.js +74 -0
  16. package/cdn/chunks/chunk.3RYHRIU7.js +47 -0
  17. package/cdn/chunks/chunk.3T7254VH.js +1002 -0
  18. package/cdn/chunks/chunk.3X2FJVEK.js +99 -0
  19. package/cdn/chunks/chunk.3YIIQKB4.js +29 -0
  20. package/cdn/chunks/chunk.4E526L3E.js +29 -0
  21. package/cdn/chunks/chunk.4JULN6G5.js +29 -0
  22. package/cdn/chunks/chunk.56M3T4SS.js +19 -0
  23. package/cdn/chunks/chunk.5RFPNO6G.js +19 -0
  24. package/cdn/chunks/chunk.5RYT4QNM.js +157 -0
  25. package/cdn/chunks/chunk.5VTC5O3H.js +29 -0
  26. package/cdn/chunks/chunk.5XLABLQB.js +276 -0
  27. package/cdn/chunks/chunk.66SSQP45.js +19 -0
  28. package/cdn/chunks/chunk.67XHQN22.js +19 -0
  29. package/cdn/chunks/chunk.6JBKCS52.js +83 -0
  30. package/cdn/chunks/chunk.6JIAMAMY.js +29 -0
  31. package/cdn/chunks/chunk.6TBKK4LM.js +493 -0
  32. package/cdn/chunks/chunk.6Y4YTK5P.js +238 -0
  33. package/cdn/chunks/chunk.77XDQUES.js +19 -0
  34. package/cdn/chunks/chunk.7FSPBN74.js +99 -0
  35. package/cdn/chunks/chunk.7PS6V6WS.js +1966 -0
  36. package/cdn/chunks/chunk.7SUZRUNK.js +19 -0
  37. package/cdn/chunks/chunk.7T52ILDL.js +599 -0
  38. package/cdn/chunks/chunk.7VUN6GFK.js +29 -0
  39. package/cdn/chunks/chunk.AFC2HLIY.js +19 -0
  40. package/cdn/chunks/chunk.AOBU6O57.js +990 -0
  41. package/cdn/chunks/chunk.AQ3JLCWN.js +165 -0
  42. package/cdn/chunks/chunk.ATCGQBQH.js +19 -0
  43. package/cdn/chunks/chunk.B3EEU2CI.js +29 -0
  44. package/cdn/chunks/chunk.B4TQIGEX.js +19 -0
  45. package/cdn/chunks/chunk.B526UDNH.js +29 -0
  46. package/cdn/chunks/chunk.BFVSGVAT.js +19 -0
  47. package/cdn/chunks/chunk.BJF5R6JW.js +190 -0
  48. package/cdn/chunks/chunk.BMK7DPMC.js +19 -0
  49. package/cdn/chunks/chunk.BNPVRBVC.js +123 -0
  50. package/cdn/chunks/chunk.BPUKB6TK.js +29 -0
  51. package/cdn/chunks/chunk.BRIHWEDS.js +29 -0
  52. package/cdn/chunks/chunk.BUGYJIDA.js +29 -0
  53. package/cdn/chunks/chunk.BY3XMPVV.js +731 -0
  54. package/cdn/chunks/chunk.C4QTAT3W.js +32 -0
  55. package/cdn/chunks/chunk.C7BHHMPD.js +29 -0
  56. package/cdn/chunks/chunk.CCYPCKYP.js +29 -0
  57. package/cdn/chunks/chunk.CE7S2HSD.js +19 -0
  58. package/cdn/chunks/chunk.CHP6L4IZ.js +29 -0
  59. package/cdn/chunks/chunk.CNFKSV5Y.js +41 -0
  60. package/cdn/chunks/chunk.CNQ5DP2Y.js +19 -0
  61. package/cdn/chunks/chunk.CR32YRI3.js +32 -0
  62. package/cdn/chunks/chunk.CV3BFVNC.js +224 -0
  63. package/cdn/chunks/chunk.DBV4CPVA.js +93 -0
  64. package/cdn/chunks/chunk.DKXKWPJK.js +189 -0
  65. package/cdn/chunks/chunk.DLQNZ2FX.js +201 -0
  66. package/cdn/chunks/chunk.DQKC3KIY.js +19 -0
  67. package/cdn/chunks/chunk.DVUHMHS7.js +77 -0
  68. package/cdn/chunks/chunk.DYNAESKX.js +32 -0
  69. package/cdn/chunks/chunk.DZJULA3U.js +33858 -0
  70. package/cdn/chunks/chunk.EEBXXJ5S.js +19 -0
  71. package/cdn/chunks/chunk.EGTBQ75C.js +279 -0
  72. package/cdn/chunks/chunk.ERLTY6RD.js +32 -0
  73. package/cdn/chunks/chunk.ERM35NF4.js +93 -0
  74. package/cdn/chunks/chunk.ESRB43Y5.js +616 -0
  75. package/cdn/chunks/chunk.F4EH5N56.js +33 -0
  76. package/cdn/chunks/chunk.FLBSTQ3K.js +19 -0
  77. package/cdn/chunks/chunk.FPAJGJR7.js +35 -0
  78. package/cdn/chunks/chunk.FQMP346K.js +19 -0
  79. package/cdn/chunks/chunk.FXITFED3.js +37 -0
  80. package/cdn/chunks/chunk.G6Z24R6Y.js +19 -0
  81. package/cdn/chunks/chunk.GCKUWBFX.js +477 -0
  82. package/cdn/chunks/chunk.GEBLYMYM.js +264 -0
  83. package/cdn/chunks/chunk.GN2ZQBKO.js +34 -0
  84. package/cdn/chunks/chunk.HFTGBEXB.js +188 -0
  85. package/cdn/chunks/chunk.HHPVOMGD.js +278 -0
  86. package/cdn/chunks/chunk.HPJ222W5.js +33 -0
  87. package/cdn/chunks/chunk.HV5AHGSZ.js +288 -0
  88. package/cdn/chunks/chunk.HXT3MQZB.js +86 -0
  89. package/cdn/chunks/chunk.HYTFGYES.js +524 -0
  90. package/cdn/chunks/chunk.HZLKJ66W.js +29 -0
  91. package/cdn/chunks/chunk.I6RAXH53.js +19 -0
  92. package/cdn/chunks/chunk.IJQLOBAC.js +132 -0
  93. package/cdn/chunks/chunk.ISYLWUTX.js +19 -0
  94. package/cdn/chunks/chunk.ITCNMUXT.js +56 -0
  95. package/cdn/chunks/chunk.IWVNVNRD.js +134 -0
  96. package/cdn/chunks/chunk.J3Z3NPJ4.js +134 -0
  97. package/cdn/chunks/chunk.J6VLXGTF.js +36 -0
  98. package/cdn/chunks/chunk.J7I3DOXG.js +272 -0
  99. package/cdn/chunks/chunk.JBRXER73.js +19 -0
  100. package/cdn/chunks/chunk.JGEML6NJ.js +30 -0
  101. package/cdn/chunks/chunk.JK27J74D.js +62 -0
  102. package/cdn/chunks/chunk.K7YIOV7T.js +19 -0
  103. package/cdn/chunks/chunk.KCZYTXMI.js +39 -0
  104. package/cdn/chunks/chunk.KD6G7ERX.js +68 -0
  105. package/cdn/chunks/chunk.KGCLCQ7X.js +60 -0
  106. package/cdn/chunks/chunk.KILIHVMF.js +32 -0
  107. package/cdn/chunks/chunk.KMCDDWE5.js +35 -0
  108. package/cdn/chunks/chunk.KU5FXVEU.js +19 -0
  109. package/cdn/chunks/chunk.KWBRNY25.js +19 -0
  110. package/cdn/chunks/chunk.KXBA6WIZ.js +904 -0
  111. package/cdn/chunks/chunk.L2NSE4OV.js +19 -0
  112. package/cdn/chunks/chunk.L4G7AM4D.js +19 -0
  113. package/cdn/chunks/chunk.LCNNIIGG.js +372 -0
  114. package/cdn/chunks/chunk.LE77IFIT.js +29 -0
  115. package/cdn/chunks/chunk.LJV444BY.js +19 -0
  116. package/cdn/chunks/chunk.LPUGYJQ6.js +19 -0
  117. package/cdn/chunks/chunk.MGD4I7TI.js +33 -0
  118. package/cdn/chunks/chunk.MGVK6RY6.js +19 -0
  119. package/cdn/chunks/chunk.MSKQVFVO.js +36 -0
  120. package/cdn/chunks/chunk.MYXC7VZK.js +19 -0
  121. package/cdn/chunks/chunk.N2ZLSKRS.js +19 -0
  122. package/cdn/chunks/chunk.N7Y6PI75.js +19 -0
  123. package/cdn/chunks/chunk.NBYFCLIA.js +230 -0
  124. package/cdn/chunks/chunk.NCSQNVLT.js +34 -0
  125. package/cdn/chunks/chunk.NKVAAAFV.js +19 -0
  126. package/cdn/chunks/chunk.NLM2F46S.js +37 -0
  127. package/cdn/chunks/chunk.NQ6WTKJ5.js +39 -0
  128. package/cdn/chunks/chunk.NRJZH24F.js +19 -0
  129. package/cdn/chunks/chunk.NT5A6ZHT.js +136 -0
  130. package/cdn/chunks/chunk.NYZK4RJY.js +19 -0
  131. package/cdn/chunks/chunk.O22V5PWM.js +35 -0
  132. package/cdn/chunks/chunk.O45AJCZN.js +32 -0
  133. package/cdn/chunks/chunk.O5BUI6HD.js +499 -0
  134. package/cdn/chunks/chunk.OBIYKNGD.js +36 -0
  135. package/cdn/chunks/chunk.OE32JNHX.js +2290 -0
  136. package/cdn/chunks/chunk.OE6QBUL3.js +151 -0
  137. package/cdn/chunks/chunk.OIBHUA2X.js +33 -0
  138. package/cdn/chunks/chunk.ONZYR5V7.js +19 -0
  139. package/cdn/chunks/chunk.OTBLJV2P.js +19 -0
  140. package/cdn/chunks/chunk.OWBCL4YY.js +92 -0
  141. package/cdn/chunks/chunk.OWOOYBL5.js +621 -0
  142. package/cdn/chunks/chunk.OYDCM6EP.js +19 -0
  143. package/cdn/chunks/chunk.P4OWV3H2.js +412 -0
  144. package/cdn/chunks/chunk.PLP3BQV2.js +29 -0
  145. package/cdn/chunks/chunk.PMUKNJQB.js +357 -0
  146. package/cdn/chunks/chunk.PUDKOG7O.js +19 -0
  147. package/cdn/chunks/chunk.PVPOTYBO.js +29 -0
  148. package/cdn/chunks/chunk.Q67OTTO2.js +145 -0
  149. package/cdn/chunks/chunk.QB7PKQGX.js +32 -0
  150. package/cdn/chunks/chunk.QHPWQ6EU.js +234 -0
  151. package/cdn/chunks/chunk.QIALAQUY.js +19 -0
  152. package/cdn/chunks/chunk.QMAOK6H7.js +287 -0
  153. package/cdn/chunks/chunk.QN47HJMJ.js +99 -0
  154. package/cdn/chunks/chunk.QPO4FJDV.js +19 -0
  155. package/cdn/chunks/chunk.QTCDR4K5.js +19 -0
  156. package/cdn/chunks/chunk.QZA56TJF.js +83 -0
  157. package/cdn/chunks/chunk.R2CKSIEB.js +302 -0
  158. package/cdn/chunks/chunk.R3ELIEXH.js +158 -0
  159. package/cdn/chunks/chunk.RESQSJZW.js +19 -0
  160. package/cdn/chunks/chunk.RLB5ZGN3.js +2243 -0
  161. package/cdn/chunks/chunk.RPIMP5VU.js +29 -0
  162. package/cdn/chunks/chunk.RRIBXI6T.js +662 -0
  163. package/cdn/chunks/chunk.RVVT6D2O.js +32 -0
  164. package/cdn/chunks/chunk.RWRHKJV7.js +29 -0
  165. package/cdn/chunks/chunk.S6HRHLBY.js +29 -0
  166. package/cdn/chunks/chunk.SBRPQN46.js +239 -0
  167. package/cdn/chunks/chunk.SBV4CE52.js +293 -0
  168. package/cdn/chunks/chunk.SCVPK7ZI.js +19 -0
  169. package/cdn/chunks/chunk.SGVXOEMD.js +359 -0
  170. package/cdn/chunks/chunk.SOL4KQRB.js +32 -0
  171. package/cdn/chunks/chunk.STIIRCSR.js +32 -0
  172. package/cdn/chunks/chunk.SVWVRXE5.js +19 -0
  173. package/cdn/chunks/chunk.T4EQTEDI.js +79 -0
  174. package/cdn/chunks/chunk.TAVW4BSX.js +231 -0
  175. package/cdn/chunks/chunk.TCVQUZH3.js +19 -0
  176. package/cdn/chunks/chunk.TGA7THVX.js +32 -0
  177. package/cdn/chunks/chunk.TLGXE7WV.js +52 -0
  178. package/cdn/chunks/chunk.TO3IZDTY.js +435 -0
  179. package/cdn/chunks/chunk.TU5LEWLH.js +78 -0
  180. package/cdn/chunks/chunk.UCYLBWS6.js +19 -0
  181. package/cdn/chunks/chunk.UGVKO2F3.js +29 -0
  182. package/cdn/chunks/chunk.UMXEOKQR.js +29 -0
  183. package/cdn/chunks/chunk.UQ3KQHGM.js +29 -0
  184. package/cdn/chunks/chunk.UXW4BGB3.js +35 -0
  185. package/cdn/chunks/chunk.UZO2S5ZV.js +55346 -0
  186. package/cdn/chunks/chunk.UZUUSYPD.js +19 -0
  187. package/cdn/chunks/chunk.V5RXILK4.js +19 -0
  188. package/cdn/chunks/chunk.VKGMZPCA.js +19 -0
  189. package/cdn/chunks/chunk.VMITYTMW.js +29 -0
  190. package/cdn/chunks/chunk.VOHWSUS6.js +19 -0
  191. package/cdn/chunks/chunk.VRFTM5EZ.js +33 -0
  192. package/cdn/chunks/chunk.VW4JRARC.js +19 -0
  193. package/cdn/chunks/chunk.W2L4LFHP.js +538 -0
  194. package/cdn/chunks/chunk.WIHIKDOO.js +19 -0
  195. package/cdn/chunks/chunk.WIVXANPA.js +1056 -0
  196. package/cdn/chunks/chunk.WJ4RUTUN.js +19 -0
  197. package/cdn/chunks/chunk.WUS3RA7A.js +259 -0
  198. package/cdn/chunks/chunk.XHDWZUS3.js +19 -0
  199. package/cdn/chunks/chunk.XXKZMY2K.js +19 -0
  200. package/cdn/chunks/chunk.XZVBKL46.js +104 -0
  201. package/cdn/chunks/chunk.YI5QUNXX.js +19 -0
  202. package/cdn/chunks/chunk.YIJM5IYA.js +32 -0
  203. package/cdn/chunks/chunk.YIYWTQKE.js +32 -0
  204. package/cdn/chunks/chunk.YLEDVKIQ.js +155 -0
  205. package/cdn/chunks/chunk.YQWDPYX2.js +71 -0
  206. package/cdn/chunks/chunk.YTZMHMX3.js +29 -0
  207. package/cdn/chunks/chunk.Z2DAFDC2.js +49 -0
  208. package/cdn/chunks/chunk.Z4LEEFSD.js +19 -0
  209. package/cdn/chunks/chunk.ZGA7FO7P.js +32 -0
  210. package/cdn/chunks/chunk.ZN6PR35U.js +106 -0
  211. package/cdn/components/accordion/accordion.component.js +5 -5
  212. package/cdn/components/accordion/accordion.js +6 -6
  213. package/cdn/components/alert/alert.component.js +3 -3
  214. package/cdn/components/alert/alert.js +4 -4
  215. package/cdn/components/avatar/avatar.component.js +7 -7
  216. package/cdn/components/avatar/avatar.js +8 -8
  217. package/cdn/components/badge/badge.component.js +2 -2
  218. package/cdn/components/badge/badge.js +3 -3
  219. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  220. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  221. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  222. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  223. package/cdn/components/browse-variables/browse-variables.component.js +18 -18
  224. package/cdn/components/browse-variables/browse-variables.controller.js +3 -3
  225. package/cdn/components/browse-variables/browse-variables.js +19 -19
  226. package/cdn/components/button/button.component.js +7 -7
  227. package/cdn/components/button/button.js +8 -8
  228. package/cdn/components/button-group/button-group.component.js +2 -2
  229. package/cdn/components/button-group/button-group.js +3 -3
  230. package/cdn/components/caption/caption.component.js +2 -2
  231. package/cdn/components/caption/caption.js +3 -3
  232. package/cdn/components/card/card.component.js +2 -2
  233. package/cdn/components/card/card.js +3 -3
  234. package/cdn/components/checkbox/checkbox.component.js +8 -8
  235. package/cdn/components/checkbox/checkbox.js +9 -9
  236. package/cdn/components/chip/chip.component.js +2 -2
  237. package/cdn/components/chip/chip.js +3 -3
  238. package/cdn/components/combobox/combobox.component.d.ts +4 -1
  239. package/cdn/components/combobox/combobox.component.js +6 -6
  240. package/cdn/components/combobox/combobox.js +7 -7
  241. package/cdn/components/data-access/data-access.component.d.ts +2 -0
  242. package/cdn/components/data-access/data-access.component.js +29 -27
  243. package/cdn/components/data-access/data-access.controller.js +3 -3
  244. package/cdn/components/data-access/data-access.js +30 -28
  245. package/cdn/components/data-grid/data-grid.component.js +5 -5
  246. package/cdn/components/data-grid/data-grid.js +6 -6
  247. package/cdn/components/data-rods/data-rods.component.js +38 -38
  248. package/cdn/components/data-rods/data-rods.js +39 -39
  249. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +2 -1
  250. package/cdn/components/data-subsetter/data-subsetter.component.js +45 -45
  251. package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +3 -1
  252. package/cdn/components/data-subsetter/data-subsetter.controller.js +3 -3
  253. package/cdn/components/data-subsetter/data-subsetter.js +46 -46
  254. package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
  255. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  256. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +46 -46
  257. package/cdn/components/data-subsetter-history/data-subsetter-history.js +47 -47
  258. package/cdn/components/date-picker/date-picker.component.d.ts +10 -0
  259. package/cdn/components/date-picker/date-picker.component.js +14 -14
  260. package/cdn/components/date-picker/date-picker.js +15 -15
  261. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  262. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  263. package/cdn/components/dialog/dialog.component.js +10 -10
  264. package/cdn/components/dialog/dialog.js +11 -11
  265. package/cdn/components/dialog/dialog.styles.js +1 -1
  266. package/cdn/components/divider/divider.component.js +2 -2
  267. package/cdn/components/divider/divider.js +3 -3
  268. package/cdn/components/dropdown/dropdown.component.js +3 -3
  269. package/cdn/components/dropdown/dropdown.js +4 -4
  270. package/cdn/components/earthdata-login/earthdata-login.component.js +15 -15
  271. package/cdn/components/earthdata-login/earthdata-login.js +16 -16
  272. package/cdn/components/file-upload/file-upload.component.js +2 -2
  273. package/cdn/components/file-upload/file-upload.js +3 -3
  274. package/cdn/components/icon/icon.component.js +3 -3
  275. package/cdn/components/icon/icon.js +4 -4
  276. package/cdn/components/input/input.component.js +8 -8
  277. package/cdn/components/input/input.js +9 -9
  278. package/cdn/components/loader/loader.component.js +2 -2
  279. package/cdn/components/loader/loader.js +3 -3
  280. package/cdn/components/login/login.component.js +12 -12
  281. package/cdn/components/login/login.js +13 -13
  282. package/cdn/components/map/leaflet-utils.d.ts +1 -1
  283. package/cdn/components/map/map.component.js +4 -4
  284. package/cdn/components/map/map.js +5 -5
  285. package/cdn/components/menu/menu.component.js +2 -2
  286. package/cdn/components/menu/menu.js +3 -3
  287. package/cdn/components/menu-item/menu-item.component.js +11 -11
  288. package/cdn/components/menu-item/menu-item.js +12 -12
  289. package/cdn/components/menu-item/submenu-controller.js +3 -3
  290. package/cdn/components/option/option.component.js +6 -6
  291. package/cdn/components/option/option.js +7 -7
  292. package/cdn/components/pagination/pagination.component.js +6 -6
  293. package/cdn/components/pagination/pagination.js +7 -7
  294. package/cdn/components/plot/plot.component.js +2 -2
  295. package/cdn/components/plot/plot.js +3 -3
  296. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  297. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  298. package/cdn/components/plot-toolbar/plot-toolbar.component.js +15 -15
  299. package/cdn/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  300. package/cdn/components/plot-toolbar/plot-toolbar.js +16 -16
  301. package/cdn/components/popup/popup.component.js +2 -2
  302. package/cdn/components/popup/popup.js +3 -3
  303. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  304. package/cdn/components/progress-bar/progress-bar.js +3 -3
  305. package/cdn/components/radio/radio.component.js +4 -4
  306. package/cdn/components/radio/radio.js +5 -5
  307. package/cdn/components/radio-group/radio-group.component.js +2 -2
  308. package/cdn/components/radio-group/radio-group.js +3 -3
  309. package/cdn/components/scroll-hint/scroll-hint.component.js +4 -4
  310. package/cdn/components/scroll-hint/scroll-hint.js +5 -5
  311. package/cdn/components/select/select.component.js +10 -10
  312. package/cdn/components/select/select.js +11 -11
  313. package/cdn/components/site-header/site-header.component.js +5 -5
  314. package/cdn/components/site-header/site-header.js +5 -5
  315. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  316. package/cdn/components/site-navigation/site-navigation.js +2 -2
  317. package/cdn/components/skeleton/skeleton.component.js +2 -2
  318. package/cdn/components/skeleton/skeleton.js +3 -3
  319. package/cdn/components/slider/slider.component.js +2 -2
  320. package/cdn/components/slider/slider.js +3 -3
  321. package/cdn/components/spatial-picker/spatial-picker.component.js +15 -15
  322. package/cdn/components/spatial-picker/spatial-picker.js +16 -16
  323. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  324. package/cdn/components/status-indicator/status-indicator.js +3 -3
  325. package/cdn/components/stepper/stepper.component.js +2 -2
  326. package/cdn/components/stepper/stepper.js +3 -3
  327. package/cdn/components/stepper-step/stepper-step.component.js +6 -6
  328. package/cdn/components/stepper-step/stepper-step.js +7 -7
  329. package/cdn/components/tab/tab.component.js +6 -6
  330. package/cdn/components/tab/tab.js +7 -7
  331. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  332. package/cdn/components/tab-panel/tab-panel.js +3 -3
  333. package/cdn/components/tabs/tabs.component.js +6 -6
  334. package/cdn/components/tabs/tabs.js +7 -7
  335. package/cdn/components/tag/tag.component.js +6 -6
  336. package/cdn/components/tag/tag.js +7 -7
  337. package/cdn/components/textarea/textarea.component.js +4 -4
  338. package/cdn/components/textarea/textarea.js +5 -5
  339. package/cdn/components/time-average-map/time-average-map.component.js +24 -24
  340. package/cdn/components/time-average-map/time-average-map.js +25 -25
  341. package/cdn/components/time-series/time-series.component.js +23 -23
  342. package/cdn/components/time-series/time-series.js +24 -24
  343. package/cdn/components/toast/toast.component.js +4 -4
  344. package/cdn/components/toast/toast.js +5 -5
  345. package/cdn/components/toggle/toggle.component.js +4 -4
  346. package/cdn/components/toggle/toggle.js +5 -5
  347. package/cdn/components/tooltip/tooltip.component.js +3 -3
  348. package/cdn/components/tooltip/tooltip.js +4 -4
  349. package/cdn/components/variable-combobox/lib.js +3 -3
  350. package/cdn/components/variable-combobox/variable-combobox.component.d.ts +4 -1
  351. package/cdn/components/variable-combobox/variable-combobox.component.js +15 -15
  352. package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
  353. package/cdn/components/variable-combobox/variable-combobox.js +16 -16
  354. package/cdn/components/variable-keyword-search/variable-keyword-search.component.d.ts +4 -1
  355. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +14 -14
  356. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  357. package/cdn/components/variable-keyword-search/variable-keyword-search.js +15 -15
  358. package/cdn/custom-elements.json +2648 -2570
  359. package/cdn/internal/animate.d.ts +3 -3
  360. package/cdn/metadata-catalog/cmr-catalog.d.ts +2 -1
  361. package/cdn/metadata-catalog/queries.d.ts +1 -0
  362. package/cdn/metadata-catalog/types.d.ts +13 -0
  363. package/cdn/react/accordion/index.js +6 -6
  364. package/cdn/react/alert/index.js +4 -4
  365. package/cdn/react/avatar/index.js +8 -8
  366. package/cdn/react/badge/index.js +3 -3
  367. package/cdn/react/breadcrumb/index.js +3 -3
  368. package/cdn/react/breadcrumbs/index.js +3 -3
  369. package/cdn/react/browse-variables/index.js +19 -19
  370. package/cdn/react/button/index.js +8 -8
  371. package/cdn/react/button-group/index.js +3 -3
  372. package/cdn/react/caption/index.js +3 -3
  373. package/cdn/react/card/index.js +3 -3
  374. package/cdn/react/checkbox/index.js +9 -9
  375. package/cdn/react/chip/index.js +3 -3
  376. package/cdn/react/combobox/index.js +7 -7
  377. package/cdn/react/data-access/index.js +30 -28
  378. package/cdn/react/data-grid/index.js +6 -6
  379. package/cdn/react/data-rods/index.js +39 -39
  380. package/cdn/react/data-subsetter/index.js +46 -46
  381. package/cdn/react/data-subsetter-history/index.js +47 -47
  382. package/cdn/react/date-picker/index.js +15 -15
  383. package/cdn/react/date-range-slider/index.js +3 -3
  384. package/cdn/react/dialog/index.js +11 -11
  385. package/cdn/react/divider/index.js +3 -3
  386. package/cdn/react/dropdown/index.js +4 -4
  387. package/cdn/react/earthdata-login/index.js +16 -16
  388. package/cdn/react/file-upload/index.js +3 -3
  389. package/cdn/react/icon/index.js +4 -4
  390. package/cdn/react/index.d.ts +12 -12
  391. package/cdn/react/index.js +198 -198
  392. package/cdn/react/input/index.js +9 -9
  393. package/cdn/react/loader/index.js +3 -3
  394. package/cdn/react/login/index.js +13 -13
  395. package/cdn/react/map/index.js +5 -5
  396. package/cdn/react/menu/index.js +3 -3
  397. package/cdn/react/menu-item/index.js +12 -12
  398. package/cdn/react/option/index.js +7 -7
  399. package/cdn/react/pagination/index.js +7 -7
  400. package/cdn/react/plot/index.js +3 -3
  401. package/cdn/react/plot-toolbar/index.js +16 -16
  402. package/cdn/react/popup/index.js +3 -3
  403. package/cdn/react/progress-bar/index.js +3 -3
  404. package/cdn/react/radio/index.js +5 -5
  405. package/cdn/react/radio-group/index.js +3 -3
  406. package/cdn/react/scroll-hint/index.js +5 -5
  407. package/cdn/react/select/index.js +11 -11
  408. package/cdn/react/site-header/index.js +6 -6
  409. package/cdn/react/site-navigation/index.js +3 -3
  410. package/cdn/react/skeleton/index.js +3 -3
  411. package/cdn/react/slider/index.js +3 -3
  412. package/cdn/react/spatial-picker/index.js +16 -16
  413. package/cdn/react/status-indicator/index.js +3 -3
  414. package/cdn/react/stepper/index.js +3 -3
  415. package/cdn/react/stepper-step/index.js +7 -7
  416. package/cdn/react/tab/index.js +7 -7
  417. package/cdn/react/tab-panel/index.js +3 -3
  418. package/cdn/react/tabs/index.js +7 -7
  419. package/cdn/react/tag/index.js +7 -7
  420. package/cdn/react/textarea/index.js +5 -5
  421. package/cdn/react/time-average-map/index.js +25 -25
  422. package/cdn/react/time-series/index.js +24 -24
  423. package/cdn/react/toast/index.js +5 -5
  424. package/cdn/react/toggle/index.js +5 -5
  425. package/cdn/react/tooltip/index.js +4 -4
  426. package/cdn/react/variable-combobox/index.js +16 -16
  427. package/cdn/react/variable-keyword-search/index.js +15 -15
  428. package/cdn/terra-ui-components.js +186 -186
  429. package/cdn/types/vue/index.d.ts +695 -684
  430. package/cdn/utilities/mimetypes.d.ts +1 -1
  431. package/cdn/utilities/mimetypes.js +1 -1
  432. package/cdn/vscode.html-custom-data.json +343 -340
  433. package/cdn/web-types.json +1897 -1878
  434. package/dist/chunks/chunk.2HPCVNQL.js +21 -0
  435. package/dist/chunks/chunk.2OT2UXF4.js +11 -0
  436. package/dist/chunks/chunk.32NG2VNQ.js +11 -0
  437. package/dist/chunks/chunk.36JXOS6Y.js +21 -0
  438. package/dist/chunks/chunk.3CCSEGFN.js +21 -0
  439. package/dist/chunks/chunk.3GSDEVDN.js +52 -0
  440. package/dist/chunks/chunk.3JAVPASP.js +609 -0
  441. package/dist/chunks/chunk.3L4WRUGE.js +74 -0
  442. package/dist/chunks/chunk.3NOU5S4K.js +91 -0
  443. package/dist/chunks/chunk.3RMARKUW.js +24 -0
  444. package/dist/chunks/chunk.3SVUDGSO.js +11 -0
  445. package/dist/chunks/chunk.3WCZNEVP.js +52 -0
  446. package/dist/chunks/chunk.3XVU2CMW.js +25 -0
  447. package/dist/chunks/chunk.42RWQXVF.js +11 -0
  448. package/dist/chunks/chunk.44B2QB57.js +11 -0
  449. package/dist/chunks/chunk.44C2RMYG.js +345 -0
  450. package/dist/chunks/chunk.4KI6GHHX.js +11 -0
  451. package/dist/chunks/chunk.4TO6RQDT.js +11 -0
  452. package/dist/chunks/chunk.4UBHRRUU.js +220 -0
  453. package/dist/chunks/chunk.4YCY2DV3.js +21 -0
  454. package/dist/chunks/chunk.4YYCBOVI.js +11 -0
  455. package/dist/chunks/chunk.524NKNPG.js +39 -0
  456. package/dist/chunks/chunk.5EJAFKZ7.js +21 -0
  457. package/dist/chunks/chunk.5V4FAK7C.js +11 -0
  458. package/dist/chunks/chunk.5YSU3HL7.js +33 -0
  459. package/dist/chunks/chunk.64SWCNHI.js +262 -0
  460. package/dist/chunks/chunk.6AVQFT4P.js +48 -0
  461. package/dist/chunks/chunk.6ITSS4GH.js +11 -0
  462. package/dist/chunks/chunk.6KCKKNYD.js +48 -0
  463. package/dist/chunks/chunk.6QSTETYN.js +11 -0
  464. package/dist/chunks/chunk.6TW6DP7W.js +11 -0
  465. package/dist/chunks/chunk.74HB6B26.js +27 -0
  466. package/dist/chunks/chunk.7FZCDHMN.js +11 -0
  467. package/dist/chunks/chunk.7MXXFSLC.js +24 -0
  468. package/dist/chunks/chunk.7QOQXG7V.js +280 -0
  469. package/dist/chunks/chunk.A54SXMF6.js +11 -0
  470. package/dist/chunks/chunk.A75XMZQF.js +91 -0
  471. package/dist/chunks/chunk.A7AZEOWS.js +21 -0
  472. package/dist/chunks/chunk.ABJSJSVR.js +451 -0
  473. package/dist/chunks/chunk.ACW2XVAY.js +29 -0
  474. package/dist/chunks/chunk.AJY5IKAP.js +596 -0
  475. package/dist/chunks/chunk.ANAQ3U23.js +11 -0
  476. package/dist/chunks/chunk.ANLBJK37.js +25 -0
  477. package/dist/chunks/chunk.AYMNVM3K.js +422 -0
  478. package/dist/chunks/chunk.AYXVVA52.js +24 -0
  479. package/dist/chunks/chunk.B7H4U76E.js +21 -0
  480. package/dist/chunks/chunk.BBCOXXME.js +75 -0
  481. package/dist/chunks/chunk.BENDF532.js +11 -0
  482. package/dist/chunks/chunk.BRDHFOSA.js +11 -0
  483. package/dist/chunks/chunk.C24Z45OK.js +58 -0
  484. package/dist/chunks/chunk.C5ZKA7VW.js +25 -0
  485. package/dist/chunks/chunk.CBMMWN53.js +11 -0
  486. package/dist/chunks/chunk.CIDFDZRW.js +230 -0
  487. package/dist/chunks/chunk.CTUS2BRJ.js +21 -0
  488. package/dist/chunks/chunk.CVM4QQIH.js +11 -0
  489. package/dist/chunks/chunk.CWP2OCTX.js +28 -0
  490. package/dist/chunks/chunk.DBWF2K7N.js +24 -0
  491. package/dist/chunks/chunk.DFOY2RXN.js +121 -0
  492. package/dist/chunks/chunk.DKRMDAXH.js +21 -0
  493. package/dist/chunks/chunk.DLG3ISTI.js +345 -0
  494. package/dist/chunks/chunk.DS2GXZ4J.js +64 -0
  495. package/dist/chunks/chunk.EFW6UAEH.js +11 -0
  496. package/dist/chunks/chunk.ENBFHQ3L.js +291 -0
  497. package/dist/chunks/chunk.EPPQF7KD.js +24 -0
  498. package/dist/chunks/chunk.EQ6VDEGW.js +11 -0
  499. package/dist/chunks/chunk.ET4GP57T.js +213 -0
  500. package/dist/chunks/chunk.ETNOCBXV.js +259 -0
  501. package/dist/chunks/chunk.F5A3CI7J.js +21 -0
  502. package/dist/chunks/chunk.F6YXPWWD.js +11 -0
  503. package/dist/chunks/chunk.FDY3GDIO.js +21 -0
  504. package/dist/chunks/chunk.FGIV23AN.js +29 -0
  505. package/dist/chunks/chunk.FKS74UUE.js +21 -0
  506. package/dist/chunks/chunk.FQFJCEW7.js +402 -0
  507. package/dist/chunks/chunk.FQJUCC6Z.js +180 -0
  508. package/dist/chunks/chunk.FTQDFGAR.js +28 -0
  509. package/dist/chunks/chunk.GRBQETKI.js +21 -0
  510. package/dist/chunks/chunk.GT6B4BF3.js +11 -0
  511. package/dist/chunks/chunk.GTMUZKD3.js +11 -0
  512. package/dist/chunks/chunk.HARVA2IP.js +21 -0
  513. package/dist/chunks/chunk.HK5E3MB4.js +11 -0
  514. package/dist/chunks/chunk.HOMKMLDI.js +986 -0
  515. package/dist/chunks/chunk.HSGP3NJV.js +112 -0
  516. package/dist/chunks/chunk.HUDMN5IZ.js +11 -0
  517. package/dist/chunks/chunk.HWE36KUL.js +214 -0
  518. package/dist/chunks/chunk.IJQWDDTY.js +21 -0
  519. package/dist/chunks/chunk.IKMWLDCT.js +21 -0
  520. package/dist/chunks/chunk.IP6RYMMF.js +11 -0
  521. package/dist/chunks/chunk.IW47OQDJ.js +27 -0
  522. package/dist/chunks/chunk.IYF6RYNW.js +11 -0
  523. package/dist/chunks/chunk.JCQVYTHW.js +21 -0
  524. package/dist/chunks/chunk.JHMPD5S3.js +11 -0
  525. package/dist/chunks/chunk.JK62FCBM.js +277 -0
  526. package/dist/chunks/chunk.JTJTZNBC.js +11 -0
  527. package/dist/chunks/chunk.K66DWQG7.js +474 -0
  528. package/dist/chunks/chunk.K6WBYPK4.js +2228 -0
  529. package/dist/chunks/chunk.K7B5G7VZ.js +484 -0
  530. package/dist/chunks/chunk.K7QSTEOZ.js +11 -0
  531. package/dist/chunks/chunk.KTF6ZVQC.js +247 -0
  532. package/dist/chunks/chunk.KW76EJFU.js +2277 -0
  533. package/dist/chunks/chunk.LENFD4DV.js +844 -0
  534. package/dist/chunks/chunk.LIJJ2CVM.js +21 -0
  535. package/dist/chunks/chunk.LPCY54WK.js +11 -0
  536. package/dist/chunks/chunk.LPYTOTCB.js +124 -0
  537. package/dist/chunks/chunk.MFCOSXFW.js +21 -0
  538. package/dist/chunks/chunk.MGDJ2LD5.js +220 -0
  539. package/dist/chunks/chunk.MICLMHWK.js +11 -0
  540. package/dist/chunks/chunk.MNZZPXWB.js +11 -0
  541. package/dist/chunks/chunk.MQVNIT4S.js +973 -0
  542. package/dist/chunks/chunk.MTAR5BJL.js +153 -0
  543. package/dist/chunks/chunk.MZ4FDVFI.js +139 -0
  544. package/dist/chunks/chunk.N363OJZ2.js +89 -0
  545. package/dist/chunks/chunk.NLK5RRJT.js +11 -0
  546. package/dist/chunks/chunk.NUD2D7OX.js +11 -0
  547. package/dist/chunks/chunk.NXYNTUNF.js +24 -0
  548. package/dist/chunks/chunk.NY5YVZRV.js +11 -0
  549. package/dist/chunks/chunk.NZNBKBV5.js +11 -0
  550. package/dist/chunks/chunk.OHLDTKQU.js +21 -0
  551. package/dist/chunks/chunk.OIS2I2WX.js +11 -0
  552. package/dist/chunks/chunk.OKCQAPIO.js +11 -0
  553. package/dist/chunks/chunk.ON3YVM46.js +138 -0
  554. package/dist/chunks/chunk.ORHU4TOP.js +25 -0
  555. package/dist/chunks/chunk.OVF3LEJ5.js +61 -0
  556. package/dist/chunks/chunk.OVYETBCA.js +11 -0
  557. package/dist/chunks/chunk.OYOOZ5CY.js +20 -0
  558. package/dist/chunks/chunk.PHNX45ET.js +93 -0
  559. package/dist/chunks/chunk.PNW5CV46.js +11 -0
  560. package/dist/chunks/chunk.POB3HHX4.js +11 -0
  561. package/dist/chunks/chunk.PUQIBC6P.js +525 -0
  562. package/dist/chunks/chunk.PX7JSWL7.js +67 -0
  563. package/dist/chunks/chunk.QHDDMY67.js +21 -0
  564. package/dist/chunks/chunk.QP5XM7WT.js +720 -0
  565. package/dist/chunks/chunk.QQMW6GT2.js +1045 -0
  566. package/dist/chunks/chunk.QQWZTESV.js +21 -0
  567. package/dist/chunks/chunk.QVJT4Q7B.js +24 -0
  568. package/dist/chunks/chunk.R4KWN2HX.js +443 -0
  569. package/dist/chunks/chunk.RBEXUNHZ.js +581 -0
  570. package/dist/chunks/chunk.REHHQZMY.js +11 -0
  571. package/dist/chunks/chunk.RJRVYB3F.js +83 -0
  572. package/dist/chunks/chunk.RNNZRROI.js +85 -0
  573. package/dist/chunks/chunk.RQHF447H.js +123 -0
  574. package/dist/chunks/chunk.RWTN6VR5.js +11 -0
  575. package/dist/chunks/chunk.RYP4SV66.js +11 -0
  576. package/dist/chunks/chunk.S5JREWKQ.js +21 -0
  577. package/dist/chunks/chunk.S65PVGZW.js +11 -0
  578. package/dist/chunks/chunk.SJVXFIWD.js +43 -0
  579. package/dist/chunks/chunk.SMIEZHJ2.js +11 -0
  580. package/dist/chunks/chunk.SWGKKZUD.js +27 -0
  581. package/dist/chunks/chunk.SYBFIXLK.js +11 -0
  582. package/dist/chunks/chunk.SZAADZKK.js +252 -0
  583. package/dist/chunks/chunk.T7XC2TPO.js +43 -0
  584. package/dist/chunks/chunk.TFN2HUUW.js +78 -0
  585. package/dist/chunks/chunk.TJ5S7Y7N.js +11 -0
  586. package/dist/chunks/chunk.TKTDW7K4.js +592 -0
  587. package/dist/chunks/chunk.TXGZZ232.js +26 -0
  588. package/dist/chunks/chunk.U22BJ3HS.js +24 -0
  589. package/dist/chunks/chunk.U6JA4K4J.js +24 -0
  590. package/dist/chunks/chunk.UCXSNYW7.js +24 -0
  591. package/dist/chunks/chunk.UHIHGVN4.js +31 -0
  592. package/dist/chunks/chunk.UNJJ4K5X.js +24 -0
  593. package/dist/chunks/chunk.UNO3VVAK.js +11 -0
  594. package/dist/chunks/chunk.UU2S72KN.js +30 -0
  595. package/dist/chunks/chunk.V7PI7GT2.js +21 -0
  596. package/dist/chunks/chunk.VBCVUNIU.js +67 -0
  597. package/dist/chunks/chunk.VBWBPTPK.js +230 -0
  598. package/dist/chunks/chunk.VIBAVNO2.js +11 -0
  599. package/dist/chunks/chunk.VOGQH6VT.js +28 -0
  600. package/dist/chunks/chunk.VWZX32FU.js +145 -0
  601. package/dist/chunks/chunk.VYXIWUES.js +11 -0
  602. package/dist/chunks/chunk.W52CDXRW.js +11 -0
  603. package/dist/chunks/chunk.WBEYZIEP.js +24 -0
  604. package/dist/chunks/chunk.WFDKB6ZX.js +21 -0
  605. package/dist/chunks/chunk.WHFZNJAZ.js +409 -0
  606. package/dist/chunks/chunk.WJT6IE7Z.js +28 -0
  607. package/dist/chunks/chunk.WPBID72S.js +11 -0
  608. package/dist/chunks/chunk.WPUBNP6J.js +355 -0
  609. package/dist/chunks/chunk.WUSLL2E3.js +86 -0
  610. package/dist/chunks/chunk.WWDJTRJH.js +264 -0
  611. package/dist/chunks/chunk.X4HRSJ4F.js +11 -0
  612. package/dist/chunks/chunk.XA65IBXV.js +11 -0
  613. package/dist/chunks/chunk.XB6CG3ZS.js +24 -0
  614. package/dist/chunks/chunk.XBRKSIRT.js +97 -0
  615. package/dist/chunks/chunk.XC6HL6VP.js +101 -0
  616. package/dist/chunks/chunk.XHJJAZ6W.js +11 -0
  617. package/dist/chunks/chunk.XIFDLBOB.js +25 -0
  618. package/dist/chunks/chunk.XIXMPQO2.js +21 -0
  619. package/dist/chunks/chunk.XMGVOXBG.js +11 -0
  620. package/dist/chunks/chunk.XQHIGAKF.js +1122 -0
  621. package/dist/chunks/chunk.XQVFPFWL.js +245 -0
  622. package/dist/chunks/chunk.XYQ5OEQP.js +190 -0
  623. package/dist/chunks/chunk.YDUPN3OG.js +180 -0
  624. package/dist/chunks/chunk.YEL7UCDK.js +477 -0
  625. package/dist/chunks/chunk.YIGP5HKO.js +26 -0
  626. package/dist/chunks/chunk.YLUFHBYX.js +21 -0
  627. package/dist/chunks/chunk.YP3AWZ7P.js +11 -0
  628. package/dist/chunks/chunk.YY5TU7AJ.js +21 -0
  629. package/dist/chunks/chunk.Z7RT3KHG.js +24 -0
  630. package/dist/chunks/chunk.ZDDLFJFZ.js +27 -0
  631. package/dist/chunks/chunk.ZHCDFME3.js +272 -0
  632. package/dist/chunks/chunk.ZJISEOPZ.js +11 -0
  633. package/dist/chunks/chunk.ZKLP6636.js +180 -0
  634. package/dist/chunks/chunk.ZLLSS62V.js +21 -0
  635. package/dist/chunks/chunk.ZLZJXLHD.js +21 -0
  636. package/dist/chunks/chunk.ZVEB7QG2.js +143 -0
  637. package/dist/components/accordion/accordion.component.js +5 -5
  638. package/dist/components/accordion/accordion.js +6 -6
  639. package/dist/components/alert/alert.component.js +3 -3
  640. package/dist/components/alert/alert.js +4 -4
  641. package/dist/components/avatar/avatar.component.js +5 -5
  642. package/dist/components/avatar/avatar.js +6 -6
  643. package/dist/components/badge/badge.component.js +2 -2
  644. package/dist/components/badge/badge.js +3 -3
  645. package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
  646. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  647. package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
  648. package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
  649. package/dist/components/browse-variables/browse-variables.component.js +15 -15
  650. package/dist/components/browse-variables/browse-variables.controller.js +3 -3
  651. package/dist/components/browse-variables/browse-variables.js +16 -16
  652. package/dist/components/button/button.component.js +5 -5
  653. package/dist/components/button/button.js +6 -6
  654. package/dist/components/button-group/button-group.component.js +2 -2
  655. package/dist/components/button-group/button-group.js +3 -3
  656. package/dist/components/caption/caption.component.js +2 -2
  657. package/dist/components/caption/caption.js +3 -3
  658. package/dist/components/card/card.component.js +2 -2
  659. package/dist/components/card/card.js +3 -3
  660. package/dist/components/checkbox/checkbox.component.js +5 -5
  661. package/dist/components/checkbox/checkbox.js +6 -6
  662. package/dist/components/chip/chip.component.js +2 -2
  663. package/dist/components/chip/chip.js +3 -3
  664. package/dist/components/combobox/combobox.component.d.ts +4 -1
  665. package/dist/components/combobox/combobox.component.js +2 -2
  666. package/dist/components/combobox/combobox.js +3 -3
  667. package/dist/components/data-access/data-access.component.d.ts +2 -0
  668. package/dist/components/data-access/data-access.component.js +23 -21
  669. package/dist/components/data-access/data-access.controller.js +3 -3
  670. package/dist/components/data-access/data-access.js +24 -22
  671. package/dist/components/data-grid/data-grid.component.js +3 -3
  672. package/dist/components/data-grid/data-grid.js +4 -4
  673. package/dist/components/data-rods/data-rods.component.js +30 -30
  674. package/dist/components/data-rods/data-rods.js +31 -31
  675. package/dist/components/data-subsetter/data-subsetter.component.d.ts +2 -1
  676. package/dist/components/data-subsetter/data-subsetter.component.js +39 -39
  677. package/dist/components/data-subsetter/data-subsetter.controller.d.ts +3 -1
  678. package/dist/components/data-subsetter/data-subsetter.controller.js +3 -3
  679. package/dist/components/data-subsetter/data-subsetter.js +40 -40
  680. package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
  681. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  682. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +40 -40
  683. package/dist/components/data-subsetter-history/data-subsetter-history.js +41 -41
  684. package/dist/components/date-picker/date-picker.component.d.ts +10 -0
  685. package/dist/components/date-picker/date-picker.component.js +10 -10
  686. package/dist/components/date-picker/date-picker.js +11 -11
  687. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  688. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  689. package/dist/components/dialog/dialog.component.js +8 -8
  690. package/dist/components/dialog/dialog.js +9 -9
  691. package/dist/components/dialog/dialog.styles.js +1 -1
  692. package/dist/components/divider/divider.component.js +2 -2
  693. package/dist/components/divider/divider.js +3 -3
  694. package/dist/components/dropdown/dropdown.component.js +3 -3
  695. package/dist/components/dropdown/dropdown.js +4 -4
  696. package/dist/components/earthdata-login/earthdata-login.component.js +12 -12
  697. package/dist/components/earthdata-login/earthdata-login.js +13 -13
  698. package/dist/components/file-upload/file-upload.component.js +2 -2
  699. package/dist/components/file-upload/file-upload.js +3 -3
  700. package/dist/components/icon/icon.component.js +3 -3
  701. package/dist/components/icon/icon.js +4 -4
  702. package/dist/components/input/input.component.js +5 -5
  703. package/dist/components/input/input.js +6 -6
  704. package/dist/components/loader/loader.component.js +2 -2
  705. package/dist/components/loader/loader.js +3 -3
  706. package/dist/components/login/login.component.js +10 -10
  707. package/dist/components/login/login.js +11 -11
  708. package/dist/components/map/leaflet-utils.d.ts +1 -1
  709. package/dist/components/map/map.component.js +2 -2
  710. package/dist/components/map/map.js +3 -3
  711. package/dist/components/menu/menu.component.js +2 -2
  712. package/dist/components/menu/menu.js +3 -3
  713. package/dist/components/menu-item/menu-item.component.js +7 -7
  714. package/dist/components/menu-item/menu-item.js +8 -8
  715. package/dist/components/option/option.component.js +4 -4
  716. package/dist/components/option/option.js +5 -5
  717. package/dist/components/pagination/pagination.component.js +4 -4
  718. package/dist/components/pagination/pagination.js +5 -5
  719. package/dist/components/plot/plot.component.js +2 -2
  720. package/dist/components/plot/plot.js +3 -3
  721. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  722. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  723. package/dist/components/plot-toolbar/plot-toolbar.component.js +12 -12
  724. package/dist/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  725. package/dist/components/plot-toolbar/plot-toolbar.js +13 -13
  726. package/dist/components/popup/popup.component.js +2 -2
  727. package/dist/components/popup/popup.js +3 -3
  728. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  729. package/dist/components/progress-bar/progress-bar.js +3 -3
  730. package/dist/components/radio/radio.component.js +2 -2
  731. package/dist/components/radio/radio.js +3 -3
  732. package/dist/components/radio-group/radio-group.component.js +2 -2
  733. package/dist/components/radio-group/radio-group.js +3 -3
  734. package/dist/components/scroll-hint/scroll-hint.component.js +4 -4
  735. package/dist/components/scroll-hint/scroll-hint.js +5 -5
  736. package/dist/components/select/select.component.js +8 -8
  737. package/dist/components/select/select.js +9 -9
  738. package/dist/components/site-header/site-header.component.js +5 -5
  739. package/dist/components/site-header/site-header.js +5 -5
  740. package/dist/components/site-navigation/site-navigation.component.js +2 -2
  741. package/dist/components/site-navigation/site-navigation.js +2 -2
  742. package/dist/components/skeleton/skeleton.component.js +2 -2
  743. package/dist/components/skeleton/skeleton.js +3 -3
  744. package/dist/components/slider/slider.component.js +2 -2
  745. package/dist/components/slider/slider.js +3 -3
  746. package/dist/components/spatial-picker/spatial-picker.component.js +10 -10
  747. package/dist/components/spatial-picker/spatial-picker.js +11 -11
  748. package/dist/components/status-indicator/status-indicator.component.js +2 -2
  749. package/dist/components/status-indicator/status-indicator.js +3 -3
  750. package/dist/components/stepper/stepper.component.js +2 -2
  751. package/dist/components/stepper/stepper.js +3 -3
  752. package/dist/components/stepper-step/stepper-step.component.js +4 -4
  753. package/dist/components/stepper-step/stepper-step.js +5 -5
  754. package/dist/components/tab/tab.component.js +4 -4
  755. package/dist/components/tab/tab.js +5 -5
  756. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  757. package/dist/components/tab-panel/tab-panel.js +3 -3
  758. package/dist/components/tabs/tabs.component.js +4 -4
  759. package/dist/components/tabs/tabs.js +5 -5
  760. package/dist/components/tag/tag.component.js +4 -4
  761. package/dist/components/tag/tag.js +5 -5
  762. package/dist/components/textarea/textarea.component.js +2 -2
  763. package/dist/components/textarea/textarea.js +3 -3
  764. package/dist/components/time-average-map/time-average-map.component.js +21 -21
  765. package/dist/components/time-average-map/time-average-map.js +22 -22
  766. package/dist/components/time-series/time-series.component.js +20 -20
  767. package/dist/components/time-series/time-series.js +21 -21
  768. package/dist/components/toast/toast.component.js +4 -4
  769. package/dist/components/toast/toast.js +5 -5
  770. package/dist/components/toggle/toggle.component.js +2 -2
  771. package/dist/components/toggle/toggle.js +3 -3
  772. package/dist/components/tooltip/tooltip.component.js +3 -3
  773. package/dist/components/tooltip/tooltip.js +4 -4
  774. package/dist/components/variable-combobox/variable-combobox.component.d.ts +4 -1
  775. package/dist/components/variable-combobox/variable-combobox.component.js +8 -8
  776. package/dist/components/variable-combobox/variable-combobox.js +9 -9
  777. package/dist/components/variable-keyword-search/variable-keyword-search.component.d.ts +4 -1
  778. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +11 -11
  779. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  780. package/dist/components/variable-keyword-search/variable-keyword-search.js +12 -12
  781. package/dist/custom-elements.json +2648 -2570
  782. package/dist/internal/animate.d.ts +3 -3
  783. package/dist/metadata-catalog/cmr-catalog.d.ts +2 -1
  784. package/dist/metadata-catalog/queries.d.ts +1 -0
  785. package/dist/metadata-catalog/types.d.ts +13 -0
  786. package/dist/react/accordion/index.js +6 -6
  787. package/dist/react/alert/index.js +4 -4
  788. package/dist/react/avatar/index.js +6 -6
  789. package/dist/react/badge/index.js +3 -3
  790. package/dist/react/breadcrumb/index.js +3 -3
  791. package/dist/react/breadcrumbs/index.js +3 -3
  792. package/dist/react/browse-variables/index.js +16 -16
  793. package/dist/react/button/index.js +6 -6
  794. package/dist/react/button-group/index.js +3 -3
  795. package/dist/react/caption/index.js +3 -3
  796. package/dist/react/card/index.js +3 -3
  797. package/dist/react/checkbox/index.js +6 -6
  798. package/dist/react/chip/index.js +3 -3
  799. package/dist/react/combobox/index.js +3 -3
  800. package/dist/react/data-access/index.js +24 -22
  801. package/dist/react/data-grid/index.js +4 -4
  802. package/dist/react/data-rods/index.js +31 -31
  803. package/dist/react/data-subsetter/index.js +40 -40
  804. package/dist/react/data-subsetter-history/index.js +41 -41
  805. package/dist/react/date-picker/index.js +11 -11
  806. package/dist/react/date-range-slider/index.js +3 -3
  807. package/dist/react/dialog/index.js +9 -9
  808. package/dist/react/divider/index.js +3 -3
  809. package/dist/react/dropdown/index.js +4 -4
  810. package/dist/react/earthdata-login/index.js +13 -13
  811. package/dist/react/file-upload/index.js +3 -3
  812. package/dist/react/icon/index.js +4 -4
  813. package/dist/react/index.d.ts +12 -12
  814. package/dist/react/index.js +190 -190
  815. package/dist/react/input/index.js +6 -6
  816. package/dist/react/loader/index.js +3 -3
  817. package/dist/react/login/index.js +11 -11
  818. package/dist/react/map/index.js +3 -3
  819. package/dist/react/menu/index.js +3 -3
  820. package/dist/react/menu-item/index.js +8 -8
  821. package/dist/react/option/index.js +5 -5
  822. package/dist/react/pagination/index.js +5 -5
  823. package/dist/react/plot/index.js +3 -3
  824. package/dist/react/plot-toolbar/index.js +13 -13
  825. package/dist/react/popup/index.js +3 -3
  826. package/dist/react/progress-bar/index.js +3 -3
  827. package/dist/react/radio/index.js +3 -3
  828. package/dist/react/radio-group/index.js +3 -3
  829. package/dist/react/scroll-hint/index.js +5 -5
  830. package/dist/react/select/index.js +9 -9
  831. package/dist/react/site-header/index.js +6 -6
  832. package/dist/react/site-navigation/index.js +3 -3
  833. package/dist/react/skeleton/index.js +3 -3
  834. package/dist/react/slider/index.js +3 -3
  835. package/dist/react/spatial-picker/index.js +11 -11
  836. package/dist/react/status-indicator/index.js +3 -3
  837. package/dist/react/stepper/index.js +3 -3
  838. package/dist/react/stepper-step/index.js +5 -5
  839. package/dist/react/tab/index.js +5 -5
  840. package/dist/react/tab-panel/index.js +3 -3
  841. package/dist/react/tabs/index.js +5 -5
  842. package/dist/react/tag/index.js +5 -5
  843. package/dist/react/textarea/index.js +3 -3
  844. package/dist/react/time-average-map/index.js +22 -22
  845. package/dist/react/time-series/index.js +21 -21
  846. package/dist/react/toast/index.js +5 -5
  847. package/dist/react/toggle/index.js +3 -3
  848. package/dist/react/tooltip/index.js +4 -4
  849. package/dist/react/variable-combobox/index.js +9 -9
  850. package/dist/react/variable-keyword-search/index.js +12 -12
  851. package/dist/terra-ui-components.js +178 -178
  852. package/dist/terra_ui_components-0.0.167-py3-none-any.whl +0 -0
  853. package/dist/terra_ui_components-0.0.167.tar.gz +0 -0
  854. package/dist/types/vue/index.d.ts +695 -684
  855. package/dist/utilities/mimetypes.d.ts +1 -1
  856. package/dist/utilities/mimetypes.js +1 -1
  857. package/dist/vscode.html-custom-data.json +343 -340
  858. package/dist/web-types.json +1897 -1878
  859. package/package.json +1 -1
  860. package/cdn/chunks/chunk.2EWZZROF.js +0 -19
  861. package/cdn/chunks/chunk.2NM4U2LU.js +0 -187
  862. package/cdn/chunks/chunk.2S7FXDXE.js +0 -19
  863. package/cdn/chunks/chunk.2TM2DOUK.js +0 -34
  864. package/cdn/chunks/chunk.2U6GNQHA.js +0 -32
  865. package/cdn/chunks/chunk.2UNOREJQ.js +0 -19
  866. package/cdn/chunks/chunk.2VNRC5N4.js +0 -19
  867. package/cdn/chunks/chunk.2VYORYI2.js +0 -189
  868. package/cdn/chunks/chunk.2Z7U2X7L.js +0 -29
  869. package/cdn/chunks/chunk.3ALJUIVF.js +0 -19
  870. package/cdn/chunks/chunk.3BYVGEYV.js +0 -32
  871. package/cdn/chunks/chunk.3KKPV5OI.js +0 -288
  872. package/cdn/chunks/chunk.3M7YL7BY.js +0 -34
  873. package/cdn/chunks/chunk.3UNTOIV2.js +0 -29
  874. package/cdn/chunks/chunk.3WIWERHG.js +0 -41
  875. package/cdn/chunks/chunk.3WPT4WPA.js +0 -158
  876. package/cdn/chunks/chunk.3XEK6ZJA.js +0 -19
  877. package/cdn/chunks/chunk.45XFWGEL.js +0 -110
  878. package/cdn/chunks/chunk.46WWZTCI.js +0 -39
  879. package/cdn/chunks/chunk.4AWQ3P7Z.js +0 -19
  880. package/cdn/chunks/chunk.4BS3A266.js +0 -19
  881. package/cdn/chunks/chunk.4PDBX7DI.js +0 -37
  882. package/cdn/chunks/chunk.4QFIJBCO.js +0 -60
  883. package/cdn/chunks/chunk.4SH2XSLJ.js +0 -47
  884. package/cdn/chunks/chunk.4YZDZQ4Y.js +0 -32
  885. package/cdn/chunks/chunk.53RRYVCX.js +0 -29
  886. package/cdn/chunks/chunk.57GXVKQI.js +0 -29
  887. package/cdn/chunks/chunk.5SABEIEW.js +0 -359
  888. package/cdn/chunks/chunk.5XSRMYEO.js +0 -132
  889. package/cdn/chunks/chunk.6BPRQKWC.js +0 -19
  890. package/cdn/chunks/chunk.6PDKWTOW.js +0 -279
  891. package/cdn/chunks/chunk.6TFBNK24.js +0 -19
  892. package/cdn/chunks/chunk.6Y6CEFC4.js +0 -19
  893. package/cdn/chunks/chunk.74ZEGEWV.js +0 -19
  894. package/cdn/chunks/chunk.77ZBM3DP.js +0 -662
  895. package/cdn/chunks/chunk.7DBJ6F7W.js +0 -35
  896. package/cdn/chunks/chunk.7IJFDHCX.js +0 -32
  897. package/cdn/chunks/chunk.7JN43LMT.js +0 -19
  898. package/cdn/chunks/chunk.7JXWQSAX.js +0 -36
  899. package/cdn/chunks/chunk.7NLSXSIB.js +0 -29
  900. package/cdn/chunks/chunk.7PFNDNEY.js +0 -234
  901. package/cdn/chunks/chunk.7R3QM2PS.js +0 -30
  902. package/cdn/chunks/chunk.7S3RPGH3.js +0 -29
  903. package/cdn/chunks/chunk.7THLKNXU.js +0 -29
  904. package/cdn/chunks/chunk.7UCPGD44.js +0 -106
  905. package/cdn/chunks/chunk.7XDSA7NO.js +0 -278
  906. package/cdn/chunks/chunk.7XIXO5VA.js +0 -19
  907. package/cdn/chunks/chunk.7YGWLDY2.js +0 -19
  908. package/cdn/chunks/chunk.A3DLYWF7.js +0 -19
  909. package/cdn/chunks/chunk.AH6W6EGS.js +0 -77
  910. package/cdn/chunks/chunk.AM27WUW5.js +0 -29
  911. package/cdn/chunks/chunk.ANGGR464.js +0 -19
  912. package/cdn/chunks/chunk.BCDPCFGL.js +0 -19
  913. package/cdn/chunks/chunk.BJ3N2M74.js +0 -477
  914. package/cdn/chunks/chunk.BLLQQEU4.js +0 -93
  915. package/cdn/chunks/chunk.BPMODTFZ.js +0 -19
  916. package/cdn/chunks/chunk.C3WIXITA.js +0 -19
  917. package/cdn/chunks/chunk.C4NRIXB5.js +0 -32
  918. package/cdn/chunks/chunk.C6ZU7BQU.js +0 -19
  919. package/cdn/chunks/chunk.CED7VU3A.js +0 -19
  920. package/cdn/chunks/chunk.CIQJX7DN.js +0 -19
  921. package/cdn/chunks/chunk.CNUZIWX3.js +0 -49
  922. package/cdn/chunks/chunk.CPMSN4UJ.js +0 -188
  923. package/cdn/chunks/chunk.CWXB2IIO.js +0 -29
  924. package/cdn/chunks/chunk.D7RTNDXT.js +0 -19
  925. package/cdn/chunks/chunk.DJQP2IMA.js +0 -264
  926. package/cdn/chunks/chunk.DNR3FVXW.js +0 -357
  927. package/cdn/chunks/chunk.DRMQM3ZI.js +0 -302
  928. package/cdn/chunks/chunk.DZE46JZE.js +0 -33
  929. package/cdn/chunks/chunk.E23QC5CB.js +0 -19
  930. package/cdn/chunks/chunk.E2XCXOAJ.js +0 -74
  931. package/cdn/chunks/chunk.E5SLLQG3.js +0 -19
  932. package/cdn/chunks/chunk.E74MOGHY.js +0 -19
  933. package/cdn/chunks/chunk.EK3MCWKP.js +0 -19
  934. package/cdn/chunks/chunk.ETNO4HXV.js +0 -276
  935. package/cdn/chunks/chunk.EYD3JBVW.js +0 -19
  936. package/cdn/chunks/chunk.EYQLI54B.js +0 -29
  937. package/cdn/chunks/chunk.F3RTIMRW.js +0 -1039
  938. package/cdn/chunks/chunk.F5QWVMPR.js +0 -99
  939. package/cdn/chunks/chunk.F73O5LKK.js +0 -134
  940. package/cdn/chunks/chunk.F7XFAAJE.js +0 -33
  941. package/cdn/chunks/chunk.FDZIJYAO.js +0 -610
  942. package/cdn/chunks/chunk.FEAWTNIM.js +0 -19
  943. package/cdn/chunks/chunk.FEG7AH52.js +0 -230
  944. package/cdn/chunks/chunk.FJEMKM6L.js +0 -99
  945. package/cdn/chunks/chunk.FLYZMRBH.js +0 -19
  946. package/cdn/chunks/chunk.FMZGNUT6.js +0 -32
  947. package/cdn/chunks/chunk.FPTDR7CZ.js +0 -19
  948. package/cdn/chunks/chunk.FT4EMWLT.js +0 -36
  949. package/cdn/chunks/chunk.G3TTBDUB.js +0 -29
  950. package/cdn/chunks/chunk.GDWGIG42.js +0 -33858
  951. package/cdn/chunks/chunk.GESX3J6K.js +0 -29
  952. package/cdn/chunks/chunk.GLGGOYSS.js +0 -32
  953. package/cdn/chunks/chunk.GP34NE53.js +0 -248
  954. package/cdn/chunks/chunk.GQDFFYST.js +0 -37
  955. package/cdn/chunks/chunk.GUH7MM42.js +0 -224
  956. package/cdn/chunks/chunk.GWUI2AWV.js +0 -32
  957. package/cdn/chunks/chunk.HDHDBLD7.js +0 -78
  958. package/cdn/chunks/chunk.HEU3DA6R.js +0 -19
  959. package/cdn/chunks/chunk.HUPSCPKB.js +0 -35
  960. package/cdn/chunks/chunk.HVEKBFXN.js +0 -19
  961. package/cdn/chunks/chunk.I7DZOR75.js +0 -35
  962. package/cdn/chunks/chunk.I7I7IRUJ.js +0 -165
  963. package/cdn/chunks/chunk.IQO7QZ6F.js +0 -19
  964. package/cdn/chunks/chunk.IZB43GH7.js +0 -616
  965. package/cdn/chunks/chunk.JAMHC4MV.js +0 -83
  966. package/cdn/chunks/chunk.JFHC3LXJ.js +0 -56
  967. package/cdn/chunks/chunk.JIFH4KW6.js +0 -29
  968. package/cdn/chunks/chunk.JZSQM3VW.js +0 -29
  969. package/cdn/chunks/chunk.K6LGN35W.js +0 -136
  970. package/cdn/chunks/chunk.K6SKQZRX.js +0 -157
  971. package/cdn/chunks/chunk.K7EC2QO6.js +0 -145
  972. package/cdn/chunks/chunk.KBLQRHVM.js +0 -33
  973. package/cdn/chunks/chunk.KIYBBETI.js +0 -599
  974. package/cdn/chunks/chunk.KJIZK2GR.js +0 -33
  975. package/cdn/chunks/chunk.KPCBPIM2.js +0 -19
  976. package/cdn/chunks/chunk.L3OIOVRC.js +0 -36
  977. package/cdn/chunks/chunk.LBABTGAS.js +0 -146
  978. package/cdn/chunks/chunk.LBLAQB7E.js +0 -19
  979. package/cdn/chunks/chunk.LK77ZQIZ.js +0 -19
  980. package/cdn/chunks/chunk.LLAXCJPT.js +0 -32
  981. package/cdn/chunks/chunk.LQCV7ZYM.js +0 -83
  982. package/cdn/chunks/chunk.M55UUYE6.js +0 -19
  983. package/cdn/chunks/chunk.M5MAEZD5.js +0 -29
  984. package/cdn/chunks/chunk.M6362XDV.js +0 -19
  985. package/cdn/chunks/chunk.MFFHCZ5L.js +0 -19
  986. package/cdn/chunks/chunk.MIQUNAYB.js +0 -19
  987. package/cdn/chunks/chunk.MOZTMXIO.js +0 -29
  988. package/cdn/chunks/chunk.MWWSE5AO.js +0 -19
  989. package/cdn/chunks/chunk.MY73O246.js +0 -499
  990. package/cdn/chunks/chunk.NKC2HFQO.js +0 -19
  991. package/cdn/chunks/chunk.NKP4OZ6C.js +0 -19
  992. package/cdn/chunks/chunk.NPKRRICT.js +0 -36
  993. package/cdn/chunks/chunk.NU3XX242.js +0 -93
  994. package/cdn/chunks/chunk.OEG2PCOY.js +0 -29
  995. package/cdn/chunks/chunk.OICPTIVQ.js +0 -1002
  996. package/cdn/chunks/chunk.ONRLLQNT.js +0 -86
  997. package/cdn/chunks/chunk.ORNWQAHG.js +0 -29
  998. package/cdn/chunks/chunk.OUTTGBUO.js +0 -29
  999. package/cdn/chunks/chunk.OVVZBWQ5.js +0 -32
  1000. package/cdn/chunks/chunk.OWCDD7DL.js +0 -977
  1001. package/cdn/chunks/chunk.P4RQ4MFI.js +0 -33
  1002. package/cdn/chunks/chunk.PAHZERFK.js +0 -19
  1003. package/cdn/chunks/chunk.Q3LBEGYY.js +0 -19
  1004. package/cdn/chunks/chunk.QFRZNTBB.js +0 -19
  1005. package/cdn/chunks/chunk.QLUPX74R.js +0 -32
  1006. package/cdn/chunks/chunk.QNBW7SSE.js +0 -19
  1007. package/cdn/chunks/chunk.QRYITAX4.js +0 -29
  1008. package/cdn/chunks/chunk.QYV5WCX7.js +0 -372
  1009. package/cdn/chunks/chunk.S2F2564D.js +0 -77
  1010. package/cdn/chunks/chunk.S7E2TP3A.js +0 -29
  1011. package/cdn/chunks/chunk.SA2UUVST.js +0 -19
  1012. package/cdn/chunks/chunk.SA4JCYIC.js +0 -287
  1013. package/cdn/chunks/chunk.SBHQWVNS.js +0 -123
  1014. package/cdn/chunks/chunk.SDNNLHZQ.js +0 -259
  1015. package/cdn/chunks/chunk.SEQFSNN4.js +0 -33
  1016. package/cdn/chunks/chunk.SIGBMSJD.js +0 -19
  1017. package/cdn/chunks/chunk.SJWU5EWL.js +0 -904
  1018. package/cdn/chunks/chunk.SQBGXFEJ.js +0 -375
  1019. package/cdn/chunks/chunk.STCSMNYB.js +0 -113
  1020. package/cdn/chunks/chunk.SUWTMK7P.js +0 -19
  1021. package/cdn/chunks/chunk.SW5PSOVR.js +0 -2175
  1022. package/cdn/chunks/chunk.TFYS773O.js +0 -538
  1023. package/cdn/chunks/chunk.THX5KACF.js +0 -29
  1024. package/cdn/chunks/chunk.TOZJSWZM.js +0 -257
  1025. package/cdn/chunks/chunk.TPINKMZJ.js +0 -32
  1026. package/cdn/chunks/chunk.TSLZA2FP.js +0 -79
  1027. package/cdn/chunks/chunk.TUZUVIYQ.js +0 -493
  1028. package/cdn/chunks/chunk.TWGFMAIL.js +0 -239
  1029. package/cdn/chunks/chunk.TZLNQAFG.js +0 -68
  1030. package/cdn/chunks/chunk.U2G7CWH4.js +0 -19
  1031. package/cdn/chunks/chunk.U4WOOAKH.js +0 -19
  1032. package/cdn/chunks/chunk.U7DU43ZD.js +0 -29
  1033. package/cdn/chunks/chunk.UDIXHKOM.js +0 -29
  1034. package/cdn/chunks/chunk.UGUHGDCA.js +0 -32
  1035. package/cdn/chunks/chunk.ULCUBVWX.js +0 -92
  1036. package/cdn/chunks/chunk.UNRDSWSJ.js +0 -19
  1037. package/cdn/chunks/chunk.UOHYVQ6N.js +0 -190
  1038. package/cdn/chunks/chunk.UPGC5XHC.js +0 -1966
  1039. package/cdn/chunks/chunk.UQWL4L3A.js +0 -19
  1040. package/cdn/chunks/chunk.URRRD4PA.js +0 -32
  1041. package/cdn/chunks/chunk.UVILYQWA.js +0 -134
  1042. package/cdn/chunks/chunk.UXDVYLP3.js +0 -29
  1043. package/cdn/chunks/chunk.VA6OPZBX.js +0 -293
  1044. package/cdn/chunks/chunk.VF7MKBFU.js +0 -731
  1045. package/cdn/chunks/chunk.VKVSAKRF.js +0 -29
  1046. package/cdn/chunks/chunk.VOG4NJCY.js +0 -19
  1047. package/cdn/chunks/chunk.VXY5YRVZ.js +0 -29
  1048. package/cdn/chunks/chunk.W4OUTCDL.js +0 -29
  1049. package/cdn/chunks/chunk.W5D76LYB.js +0 -104
  1050. package/cdn/chunks/chunk.W7KGVFJQ.js +0 -52
  1051. package/cdn/chunks/chunk.WD2GZO6V.js +0 -19
  1052. package/cdn/chunks/chunk.WNX4WGS3.js +0 -524
  1053. package/cdn/chunks/chunk.WWAK3QTQ.js +0 -155
  1054. package/cdn/chunks/chunk.WXIFDT4N.js +0 -231
  1055. package/cdn/chunks/chunk.XCDWBMH6.js +0 -99
  1056. package/cdn/chunks/chunk.XOBAY4RP.js +0 -62
  1057. package/cdn/chunks/chunk.XSKBH44W.js +0 -71
  1058. package/cdn/chunks/chunk.XTBGTVDX.js +0 -29
  1059. package/cdn/chunks/chunk.Y76X56VW.js +0 -60
  1060. package/cdn/chunks/chunk.YATRTMXH.js +0 -35
  1061. package/cdn/chunks/chunk.YCWFBBIW.js +0 -19
  1062. package/cdn/chunks/chunk.YG57KJCC.js +0 -621
  1063. package/cdn/chunks/chunk.YM5CME77.js +0 -151
  1064. package/cdn/chunks/chunk.YP7ODXXO.js +0 -55346
  1065. package/cdn/chunks/chunk.YXXYHJWO.js +0 -435
  1066. package/cdn/chunks/chunk.ZNBYJMJX.js +0 -29
  1067. package/cdn/chunks/chunk.ZTV3CFZX.js +0 -19
  1068. package/cdn/chunks/chunk.ZVDRQMOJ.js +0 -19
  1069. package/cdn/chunks/chunk.ZWNN5ZH2.js +0 -2248
  1070. package/dist/chunks/chunk.23NL6ZID.js +0 -48
  1071. package/dist/chunks/chunk.24Y45GCJ.js +0 -422
  1072. package/dist/chunks/chunk.2BUIWDOP.js +0 -11
  1073. package/dist/chunks/chunk.2FCEMVJR.js +0 -474
  1074. package/dist/chunks/chunk.2I67FVGM.js +0 -245
  1075. package/dist/chunks/chunk.2JGKWM6C.js +0 -74
  1076. package/dist/chunks/chunk.2JLEP7WV.js +0 -135
  1077. package/dist/chunks/chunk.34D76IWL.js +0 -277
  1078. package/dist/chunks/chunk.3E224JEK.js +0 -409
  1079. package/dist/chunks/chunk.3KXUPHQI.js +0 -91
  1080. package/dist/chunks/chunk.3L6HPYYD.js +0 -11
  1081. package/dist/chunks/chunk.3PZSDY3H.js +0 -11
  1082. package/dist/chunks/chunk.46LR3GBN.js +0 -21
  1083. package/dist/chunks/chunk.47TCOBJL.js +0 -93
  1084. package/dist/chunks/chunk.4C6H35CR.js +0 -609
  1085. package/dist/chunks/chunk.4FJ3X63Q.js +0 -21
  1086. package/dist/chunks/chunk.4KAGHT32.js +0 -11
  1087. package/dist/chunks/chunk.4S7VDYUE.js +0 -11
  1088. package/dist/chunks/chunk.4XAFSDPF.js +0 -21
  1089. package/dist/chunks/chunk.4YE3RHPD.js +0 -27
  1090. package/dist/chunks/chunk.5356OGOU.js +0 -596
  1091. package/dist/chunks/chunk.5ONQAV7J.js +0 -11
  1092. package/dist/chunks/chunk.5PJNFHW7.js +0 -11
  1093. package/dist/chunks/chunk.5W5ACDR2.js +0 -11
  1094. package/dist/chunks/chunk.62XR66HC.js +0 -75
  1095. package/dist/chunks/chunk.6BTZPYYD.js +0 -85
  1096. package/dist/chunks/chunk.6G2CQWQW.js +0 -21
  1097. package/dist/chunks/chunk.6JWHPMOL.js +0 -43
  1098. package/dist/chunks/chunk.6LYMZ74C.js +0 -26
  1099. package/dist/chunks/chunk.6OWWYTVJ.js +0 -139
  1100. package/dist/chunks/chunk.7BP2RTH6.js +0 -345
  1101. package/dist/chunks/chunk.7CO4TCAE.js +0 -39
  1102. package/dist/chunks/chunk.7DHYCCKV.js +0 -28
  1103. package/dist/chunks/chunk.7DXRWFLB.js +0 -21
  1104. package/dist/chunks/chunk.7GVOOFGX.js +0 -21
  1105. package/dist/chunks/chunk.A2EGUC6U.js +0 -11
  1106. package/dist/chunks/chunk.A4Y5JGLO.js +0 -291
  1107. package/dist/chunks/chunk.AGVANNFL.js +0 -11
  1108. package/dist/chunks/chunk.AIN7RMJA.js +0 -20
  1109. package/dist/chunks/chunk.AMORIPDA.js +0 -11
  1110. package/dist/chunks/chunk.AOG6UBAK.js +0 -581
  1111. package/dist/chunks/chunk.AOMYOT5P.js +0 -21
  1112. package/dist/chunks/chunk.AWZVKNCO.js +0 -280
  1113. package/dist/chunks/chunk.B25JSTW3.js +0 -24
  1114. package/dist/chunks/chunk.B35TXTHD.js +0 -25
  1115. package/dist/chunks/chunk.B75F4EUF.js +0 -11
  1116. package/dist/chunks/chunk.BFYI5XHA.js +0 -86
  1117. package/dist/chunks/chunk.BMP66UJR.js +0 -451
  1118. package/dist/chunks/chunk.BN7IWGKR.js +0 -24
  1119. package/dist/chunks/chunk.BPYGZWI3.js +0 -180
  1120. package/dist/chunks/chunk.BRSRN5QN.js +0 -24
  1121. package/dist/chunks/chunk.CE47STSQ.js +0 -11
  1122. package/dist/chunks/chunk.CERMDF55.js +0 -176
  1123. package/dist/chunks/chunk.CHYOTCHZ.js +0 -11
  1124. package/dist/chunks/chunk.CIMAQVS2.js +0 -11
  1125. package/dist/chunks/chunk.CIMGUV6Y.js +0 -24
  1126. package/dist/chunks/chunk.CLRSZEB2.js +0 -24
  1127. package/dist/chunks/chunk.CQVTWL6Z.js +0 -21
  1128. package/dist/chunks/chunk.CQYKQRWL.js +0 -11
  1129. package/dist/chunks/chunk.CR7VTG7C.js +0 -89
  1130. package/dist/chunks/chunk.CU5BQKH2.js +0 -477
  1131. package/dist/chunks/chunk.CYCA3NBR.js +0 -1028
  1132. package/dist/chunks/chunk.DACLOTFS.js +0 -28
  1133. package/dist/chunks/chunk.DITKLYBN.js +0 -180
  1134. package/dist/chunks/chunk.DKUE6PE4.js +0 -11
  1135. package/dist/chunks/chunk.DLNPETOO.js +0 -21
  1136. package/dist/chunks/chunk.DTXOJ33G.js +0 -21
  1137. package/dist/chunks/chunk.DZV7WWTJ.js +0 -11
  1138. package/dist/chunks/chunk.EDG6QOJD.js +0 -27
  1139. package/dist/chunks/chunk.ELELOKAM.js +0 -1122
  1140. package/dist/chunks/chunk.EMK63FTO.js +0 -720
  1141. package/dist/chunks/chunk.ESD54SLD.js +0 -24
  1142. package/dist/chunks/chunk.ET27O3TP.js +0 -21
  1143. package/dist/chunks/chunk.EUVVVTAD.js +0 -11
  1144. package/dist/chunks/chunk.F2SPMDPY.js +0 -11
  1145. package/dist/chunks/chunk.F3ZB3JGC.js +0 -11
  1146. package/dist/chunks/chunk.FKHGRLRX.js +0 -28
  1147. package/dist/chunks/chunk.FKT5MJBI.js +0 -11
  1148. package/dist/chunks/chunk.FM5ENKI6.js +0 -11
  1149. package/dist/chunks/chunk.FSGSFQFY.js +0 -43
  1150. package/dist/chunks/chunk.FUTLNYKY.js +0 -262
  1151. package/dist/chunks/chunk.FWCHY6C4.js +0 -484
  1152. package/dist/chunks/chunk.G4FDMA5K.js +0 -21
  1153. package/dist/chunks/chunk.GCFEUSUL.js +0 -21
  1154. package/dist/chunks/chunk.GMHPIB55.js +0 -61
  1155. package/dist/chunks/chunk.GMMKTV4V.js +0 -11
  1156. package/dist/chunks/chunk.GNEHDIYJ.js +0 -28
  1157. package/dist/chunks/chunk.GOUVLQBF.js +0 -21
  1158. package/dist/chunks/chunk.GP55JK77.js +0 -21
  1159. package/dist/chunks/chunk.GTAPYKS6.js +0 -25
  1160. package/dist/chunks/chunk.H56NTNBW.js +0 -11
  1161. package/dist/chunks/chunk.HETGYAIO.js +0 -48
  1162. package/dist/chunks/chunk.HSQFX4AI.js +0 -29
  1163. package/dist/chunks/chunk.HTALZVYR.js +0 -11
  1164. package/dist/chunks/chunk.HUXLAZB4.js +0 -11
  1165. package/dist/chunks/chunk.HZGL7RFR.js +0 -11
  1166. package/dist/chunks/chunk.HZJ3FPWX.js +0 -525
  1167. package/dist/chunks/chunk.IGMGR4ZS.js +0 -101
  1168. package/dist/chunks/chunk.IHWF6YAG.js +0 -11
  1169. package/dist/chunks/chunk.IKVDW6B4.js +0 -24
  1170. package/dist/chunks/chunk.IRBK2ABM.js +0 -214
  1171. package/dist/chunks/chunk.ITXGVZ3Z.js +0 -24
  1172. package/dist/chunks/chunk.J2CM4WQY.js +0 -25
  1173. package/dist/chunks/chunk.JIEKTF4Q.js +0 -67
  1174. package/dist/chunks/chunk.JIXCGGBH.js +0 -11
  1175. package/dist/chunks/chunk.JQYBVE6K.js +0 -11
  1176. package/dist/chunks/chunk.JQZKVVMA.js +0 -2160
  1177. package/dist/chunks/chunk.JRY3VDVA.js +0 -21
  1178. package/dist/chunks/chunk.JY44NYXW.js +0 -240
  1179. package/dist/chunks/chunk.JYPYYB7H.js +0 -355
  1180. package/dist/chunks/chunk.KA344ZWW.js +0 -180
  1181. package/dist/chunks/chunk.KDFIJ2XZ.js +0 -21
  1182. package/dist/chunks/chunk.KREYCF2O.js +0 -21
  1183. package/dist/chunks/chunk.KYVRLVBM.js +0 -124
  1184. package/dist/chunks/chunk.L2F66NTF.js +0 -11
  1185. package/dist/chunks/chunk.L7HBQCK2.js +0 -21
  1186. package/dist/chunks/chunk.LFGKDLWB.js +0 -11
  1187. package/dist/chunks/chunk.LKC67DSF.js +0 -11
  1188. package/dist/chunks/chunk.LLJK5HH7.js +0 -29
  1189. package/dist/chunks/chunk.LMTCPKOW.js +0 -58
  1190. package/dist/chunks/chunk.LNJDOWJT.js +0 -11
  1191. package/dist/chunks/chunk.LSVWT3PR.js +0 -345
  1192. package/dist/chunks/chunk.M7I7E4A3.js +0 -33
  1193. package/dist/chunks/chunk.MBN5DJT2.js +0 -21
  1194. package/dist/chunks/chunk.MHQYU34F.js +0 -21
  1195. package/dist/chunks/chunk.MPGLTYB6.js +0 -11
  1196. package/dist/chunks/chunk.N4TIYPDB.js +0 -21
  1197. package/dist/chunks/chunk.NBQU43OA.js +0 -21
  1198. package/dist/chunks/chunk.NCGR4ABQ.js +0 -97
  1199. package/dist/chunks/chunk.NMIMLWDR.js +0 -11
  1200. package/dist/chunks/chunk.NVNFECEI.js +0 -24
  1201. package/dist/chunks/chunk.NVUIBB4S.js +0 -11
  1202. package/dist/chunks/chunk.NWAYZFWI.js +0 -11
  1203. package/dist/chunks/chunk.NY7KKKRO.js +0 -230
  1204. package/dist/chunks/chunk.NZ3NKZKC.js +0 -24
  1205. package/dist/chunks/chunk.O5MZZQEP.js +0 -21
  1206. package/dist/chunks/chunk.OA5W6DJB.js +0 -11
  1207. package/dist/chunks/chunk.OAB3DDK5.js +0 -11
  1208. package/dist/chunks/chunk.OCEDSOZX.js +0 -11
  1209. package/dist/chunks/chunk.OKBW6URU.js +0 -11
  1210. package/dist/chunks/chunk.OVOPZGEQ.js +0 -11
  1211. package/dist/chunks/chunk.OXLDFPNG.js +0 -21
  1212. package/dist/chunks/chunk.P67X474T.js +0 -27
  1213. package/dist/chunks/chunk.P6JXLYSN.js +0 -272
  1214. package/dist/chunks/chunk.PADXM5M4.js +0 -11
  1215. package/dist/chunks/chunk.PHMEQKNL.js +0 -844
  1216. package/dist/chunks/chunk.PKDYXLVJ.js +0 -24
  1217. package/dist/chunks/chunk.POZSYZAF.js +0 -986
  1218. package/dist/chunks/chunk.PPJMSHGN.js +0 -11
  1219. package/dist/chunks/chunk.PX354GM6.js +0 -24
  1220. package/dist/chunks/chunk.Q5243NGP.js +0 -25
  1221. package/dist/chunks/chunk.Q5BAROG6.js +0 -11
  1222. package/dist/chunks/chunk.QERV4LTZ.js +0 -52
  1223. package/dist/chunks/chunk.QJQRZAWC.js +0 -365
  1224. package/dist/chunks/chunk.QT2W6HFD.js +0 -252
  1225. package/dist/chunks/chunk.QVAO6BXX.js +0 -21
  1226. package/dist/chunks/chunk.R27R2AP4.js +0 -121
  1227. package/dist/chunks/chunk.RB3PF4D4.js +0 -143
  1228. package/dist/chunks/chunk.RB5DJUVF.js +0 -27
  1229. package/dist/chunks/chunk.RD2C6T6M.js +0 -21
  1230. package/dist/chunks/chunk.RO4MUFVF.js +0 -67
  1231. package/dist/chunks/chunk.S26GNPAB.js +0 -123
  1232. package/dist/chunks/chunk.S3WMAEHE.js +0 -145
  1233. package/dist/chunks/chunk.SGCHDWXR.js +0 -11
  1234. package/dist/chunks/chunk.SKC62H4B.js +0 -11
  1235. package/dist/chunks/chunk.SOPQY2QK.js +0 -21
  1236. package/dist/chunks/chunk.T26ST6IU.js +0 -244
  1237. package/dist/chunks/chunk.T4NPZPD3.js +0 -443
  1238. package/dist/chunks/chunk.T5D6H2LT.js +0 -112
  1239. package/dist/chunks/chunk.T6IXCNHI.js +0 -213
  1240. package/dist/chunks/chunk.TIGMAWX4.js +0 -24
  1241. package/dist/chunks/chunk.TMB4QBMB.js +0 -11
  1242. package/dist/chunks/chunk.TPSLZ3TQ.js +0 -11
  1243. package/dist/chunks/chunk.TT3GKM5K.js +0 -247
  1244. package/dist/chunks/chunk.U3YHERE2.js +0 -11
  1245. package/dist/chunks/chunk.U4G2J5CP.js +0 -25
  1246. package/dist/chunks/chunk.U7E4P6HB.js +0 -220
  1247. package/dist/chunks/chunk.UGC5X6N6.js +0 -11
  1248. package/dist/chunks/chunk.UOPABB4M.js +0 -11
  1249. package/dist/chunks/chunk.UYM4IZDG.js +0 -264
  1250. package/dist/chunks/chunk.V7YAD2DD.js +0 -11
  1251. package/dist/chunks/chunk.VZKXMTPH.js +0 -220
  1252. package/dist/chunks/chunk.W4OTNTHJ.js +0 -11
  1253. package/dist/chunks/chunk.WB55OBFF.js +0 -2235
  1254. package/dist/chunks/chunk.WMBZEBFZ.js +0 -83
  1255. package/dist/chunks/chunk.WVISM2XC.js +0 -31
  1256. package/dist/chunks/chunk.WWHBYZSK.js +0 -52
  1257. package/dist/chunks/chunk.WYB3Y5OW.js +0 -26
  1258. package/dist/chunks/chunk.X2LVPENQ.js +0 -78
  1259. package/dist/chunks/chunk.X3AHCDBL.js +0 -11
  1260. package/dist/chunks/chunk.X7ZDUHWH.js +0 -11
  1261. package/dist/chunks/chunk.XCEIA7BY.js +0 -21
  1262. package/dist/chunks/chunk.XFRO2CBR.js +0 -21
  1263. package/dist/chunks/chunk.XR75EBXL.js +0 -24
  1264. package/dist/chunks/chunk.XRH6YDK4.js +0 -153
  1265. package/dist/chunks/chunk.XZTZVISY.js +0 -91
  1266. package/dist/chunks/chunk.Y6FMCUGS.js +0 -11
  1267. package/dist/chunks/chunk.Y6RWRJYS.js +0 -11
  1268. package/dist/chunks/chunk.YBIDA2BA.js +0 -64
  1269. package/dist/chunks/chunk.ZBDDC5PN.js +0 -11
  1270. package/dist/chunks/chunk.ZDDLBZZE.js +0 -24
  1271. package/dist/chunks/chunk.ZFEQ3S27.js +0 -592
  1272. package/dist/chunks/chunk.ZLFMCRKN.js +0 -960
  1273. package/dist/terra_ui_components-0.0.165-py3-none-any.whl +0 -0
  1274. package/dist/terra_ui_components-0.0.165.tar.gz +0 -0
@@ -0,0 +1,2277 @@
1
+ import {
2
+ defaultSubsetFileMimeType,
3
+ getFriendlyNameForMimeType
4
+ } from "./chunk.UU2S72KN.js";
5
+ import {
6
+ getNotebook
7
+ } from "./chunk.3L4WRUGE.js";
8
+ import {
9
+ TerraLogin
10
+ } from "./chunk.A75XMZQF.js";
11
+ import {
12
+ TerraDialog
13
+ } from "./chunk.TKTDW7K4.js";
14
+ import {
15
+ DataSubsetterController
16
+ } from "./chunk.FQFJCEW7.js";
17
+ import {
18
+ convertVariableEntryIdToGiovanniFormat
19
+ } from "./chunk.FDIMGAJI.js";
20
+ import {
21
+ data_subsetter_styles_default
22
+ } from "./chunk.QQMW6GT2.js";
23
+ import {
24
+ extractHarmonyError
25
+ } from "./chunk.ESNQNQUJ.js";
26
+ import {
27
+ AuthController
28
+ } from "./chunk.DHM36JBP.js";
29
+ import {
30
+ TerraDataAccess,
31
+ debounce,
32
+ sendDataToJupyterNotebook
33
+ } from "./chunk.MQVNIT4S.js";
34
+ import {
35
+ TerraMenuItem
36
+ } from "./chunk.ET4GP57T.js";
37
+ import {
38
+ TerraMenu
39
+ } from "./chunk.ZVEB7QG2.js";
40
+ import {
41
+ TerraDatePicker
42
+ } from "./chunk.K6WBYPK4.js";
43
+ import {
44
+ TerraSpatialPicker
45
+ } from "./chunk.QP5XM7WT.js";
46
+ import {
47
+ TerraInput
48
+ } from "./chunk.AJY5IKAP.js";
49
+ import {
50
+ TerraDropdown
51
+ } from "./chunk.PUQIBC6P.js";
52
+ import {
53
+ TerraLoader
54
+ } from "./chunk.LPYTOTCB.js";
55
+ import {
56
+ TerraButton
57
+ } from "./chunk.WHFZNJAZ.js";
58
+ import {
59
+ TerraAlert
60
+ } from "./chunk.SZAADZKK.js";
61
+ import {
62
+ TerraAccordion
63
+ } from "./chunk.TFN2HUUW.js";
64
+ import {
65
+ TerraIcon
66
+ } from "./chunk.HWE36KUL.js";
67
+ import {
68
+ watch
69
+ } from "./chunk.NWXJOH5T.js";
70
+ import {
71
+ TerraElement,
72
+ component_styles_default
73
+ } from "./chunk.ABJSJSVR.js";
74
+ import {
75
+ getBasePath
76
+ } from "./chunk.PBC3S6IG.js";
77
+ import {
78
+ __decorateClass,
79
+ __privateAdd,
80
+ __privateGet,
81
+ __privateMethod,
82
+ __spreadProps,
83
+ __spreadValues
84
+ } from "./chunk.SHKVBVTI.js";
85
+
86
+ // src/components/data-subsetter/data-subsetter.component.ts
87
+ import { html, nothing } from "lit";
88
+ import { property, query, state } from "lit/decorators.js";
89
+ import { TaskStatus } from "@lit/task";
90
+ var _authController, _renderFooterForDialog, renderFooterForDialog_fn, _renderSizeInfo, renderSizeInfo_fn, _renderSubsetOptions, renderSubsetOptions_fn, _renderSearchForCollection, renderSearchForCollection_fn, _renderOutputFormatSelection, renderOutputFormatSelection_fn, _renderDateRangeSelection, renderDateRangeSelection_fn, _handleDateChange, _resetDateRangeSelection, _resetFormatSelection, _getCollectionDateRange, getCollectionDateRange_fn, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn, _renderSpatialSelection, renderSpatialSelection_fn, _handleSpatialChange, _resetSpatialSelection, _renderVariableSelection, renderVariableSelection_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, _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, _isGiovanniFormat, isGiovanniFormat_fn, _getGiovanniValidationError, getGiovanniValidationError_fn;
91
+ var TerraDataSubsetter = class extends TerraElement {
92
+ constructor() {
93
+ super(...arguments);
94
+ __privateAdd(this, _renderFooterForDialog);
95
+ __privateAdd(this, _renderSizeInfo);
96
+ __privateAdd(this, _renderSubsetOptions);
97
+ __privateAdd(this, _renderSearchForCollection);
98
+ __privateAdd(this, _renderOutputFormatSelection);
99
+ __privateAdd(this, _renderDateRangeSelection);
100
+ __privateAdd(this, _getCollectionDateRange);
101
+ __privateAdd(this, _handleRegionAccordionToggle);
102
+ __privateAdd(this, _renderSpatialSelection);
103
+ __privateAdd(this, _renderVariableSelection);
104
+ __privateAdd(this, _filterVariableTree);
105
+ __privateAdd(this, _handleVariableFilterChange);
106
+ __privateAdd(this, _buildVariableTree);
107
+ __privateAdd(this, _renderVariableTree);
108
+ __privateAdd(this, _getAllGroupPaths);
109
+ __privateAdd(this, _toggleGroupExpand);
110
+ __privateAdd(this, _toggleExpandCollapseAll);
111
+ __privateAdd(this, _toggleVariableSelection);
112
+ __privateAdd(this, _markFieldTouched);
113
+ __privateAdd(this, _renderJobStatus);
114
+ __privateAdd(this, _renderSelectedParams);
115
+ __privateAdd(this, _cancelJob);
116
+ __privateAdd(this, _getData);
117
+ __privateAdd(this, _touchAllFields);
118
+ __privateAdd(this, _numberOfFilesFoundEstimate);
119
+ __privateAdd(this, _getDocumentationLinks);
120
+ __privateAdd(this, _getDataLinks);
121
+ __privateAdd(this, _hasAtLeastOneSubsetOption);
122
+ __privateAdd(this, _hasSpatialSubset);
123
+ __privateAdd(this, _renderJobMessage);
124
+ __privateAdd(this, _getJobMessageText);
125
+ __privateAdd(this, _estimateJobSize);
126
+ __privateAdd(this, _refineParameters);
127
+ __privateAdd(this, _backToSubsetOptions);
128
+ __privateAdd(this, _viewRunningJob);
129
+ __privateAdd(this, _handleDownloadSelect);
130
+ __privateAdd(this, _downloadLinksAsTxt);
131
+ __privateAdd(this, _downloadPythonScript);
132
+ __privateAdd(this, _downloadEarthdataDownload);
133
+ __privateAdd(this, _handleJupyterNotebookClick);
134
+ __privateAdd(this, _renderAvailableTemporalRangeSection);
135
+ __privateAdd(this, _renderAvailableSpatialRangeSection);
136
+ __privateAdd(this, _renderDataAccessModeSelection);
137
+ __privateAdd(this, _isGiovanniFormat);
138
+ __privateAdd(this, _getGiovanniValidationError);
139
+ this.showCollectionSearch = true;
140
+ this.showHistoryPanel = true;
141
+ this.isHistoryView = false;
142
+ this.selectedVariables = [];
143
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
144
+ this.variableFilterText = "";
145
+ this.touchedFields = /* @__PURE__ */ new Set();
146
+ this.spatialSelection = null;
147
+ this.selectedDateRange = {
148
+ startDate: null,
149
+ endDate: null
150
+ };
151
+ this.selectedFormat = defaultSubsetFileMimeType;
152
+ this.cancelingGetData = false;
153
+ this.selectedTab = "web-links";
154
+ this.refineParameters = false;
155
+ this.collectionSearchType = "all";
156
+ this.collectionSearchLoading = false;
157
+ this.collectionLoading = false;
158
+ this.collectionAccordionOpen = true;
159
+ this.dataAccessMode = "original";
160
+ this.controller = new DataSubsetterController(this);
161
+ __privateAdd(this, _authController, new AuthController(this));
162
+ __privateAdd(this, _handleDateChange, (e) => {
163
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
164
+ this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
165
+ startDate: e.detail.startDate,
166
+ endDate: e.detail.endDate
167
+ });
168
+ });
169
+ __privateAdd(this, _resetDateRangeSelection, () => {
170
+ this.selectedDateRange = { startDate: null, endDate: null };
171
+ });
172
+ __privateAdd(this, _resetFormatSelection, () => {
173
+ var _a, _b;
174
+ if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) == null ? void 0 : _b.length) {
175
+ const netcdfFormat = this.collectionWithServices.outputFormats.find(
176
+ (format) => format === "application/x-netcdf4" || format === "application/netcdf"
177
+ );
178
+ this.selectedFormat = netcdfFormat || this.collectionWithServices.outputFormats[0];
179
+ } else {
180
+ this.selectedFormat = defaultSubsetFileMimeType;
181
+ }
182
+ });
183
+ __privateAdd(this, _handleSpatialChange, (e) => {
184
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
185
+ const round2 = (n) => parseFloat(Number(n).toFixed(2));
186
+ if (e.detail.type === "bbox" /* BBOX */) {
187
+ this.spatialSelection = {
188
+ e: round2(e.detail.bounds.getNorthEast().lng),
189
+ n: round2(e.detail.bounds.getNorthEast().lat),
190
+ w: round2(e.detail.bounds.getSouthWest().lng),
191
+ s: round2(e.detail.bounds.getSouthWest().lat)
192
+ };
193
+ } else if (e.detail.type === "point" /* POINT */) {
194
+ this.spatialSelection = e.detail.latLng;
195
+ } else {
196
+ this.spatialSelection = null;
197
+ }
198
+ });
199
+ __privateAdd(this, _resetSpatialSelection, () => {
200
+ this.spatialSelection = null;
201
+ });
202
+ __privateAdd(this, _resetVariableSelection, () => {
203
+ this.selectedVariables = [];
204
+ });
205
+ }
206
+ jobIdChanged() {
207
+ if (this.jobId) {
208
+ this.controller.fetchJobByID(this.jobId);
209
+ this.dataAccessMode = "subset";
210
+ }
211
+ }
212
+ shortNameAndVersionChanged() {
213
+ if (this.shortName && this.version) {
214
+ this.collectionEntryId = `${this.shortName}_${this.version}`;
215
+ }
216
+ }
217
+ collectionEntryIdChanged() {
218
+ if (this.collectionEntryId) {
219
+ this.showCollectionSearch = false;
220
+ } else {
221
+ this.showCollectionSearch = true;
222
+ }
223
+ }
224
+ firstUpdated() {
225
+ if (this.collectionEntryId) {
226
+ this.showCollectionSearch = false;
227
+ }
228
+ if (this.jobId) {
229
+ this.controller.fetchJobByID(this.jobId);
230
+ this.dataAccessMode = "subset";
231
+ }
232
+ this.renderHistoryPanel();
233
+ }
234
+ updated(changedProps) {
235
+ var _a, _b, _c, _d;
236
+ super.updated(changedProps);
237
+ const taskStatus = (_b = (_a = this.controller) == null ? void 0 : _a.jobStatusTask) == null ? void 0 : _b.status;
238
+ if (taskStatus === TaskStatus.ERROR) {
239
+ const taskError = (_d = (_c = this.controller) == null ? void 0 : _c.jobStatusTask) == null ? void 0 : _d.error;
240
+ if (taskError) {
241
+ const errorDetails = extractHarmonyError(taskError);
242
+ if (errorDetails.isCancellation) {
243
+ return;
244
+ }
245
+ if (this.controller.currentJob) {
246
+ this.controller.currentJob = __spreadProps(__spreadValues({}, this.controller.currentJob), {
247
+ status: "failed" /* FAILED */,
248
+ message: errorDetails.message || "Failed to create subset job"
249
+ });
250
+ }
251
+ }
252
+ }
253
+ }
254
+ collectionChanged() {
255
+ var _a;
256
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
257
+ this.selectedDateRange = { startDate, endDate };
258
+ const formats = Array.from(
259
+ new Set(((_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) || [])
260
+ );
261
+ const hasNetcdf4 = formats.includes("application/x-netcdf4");
262
+ const hasNetcdfClassic = formats.includes("application/netcdf");
263
+ let displayFormats = formats;
264
+ if (hasNetcdf4 && hasNetcdfClassic) {
265
+ displayFormats = formats.filter((f) => f !== "application/netcdf");
266
+ }
267
+ if (displayFormats.length === 1) {
268
+ this.selectedFormat = displayFormats[0];
269
+ } else {
270
+ this.selectedFormat = displayFormats.find((f) => f === "application/x-netcdf4") || displayFormats[0];
271
+ }
272
+ this.collectionLoading = false;
273
+ this.collectionAccordionOpen = false;
274
+ }
275
+ granuleDatesChanged() {
276
+ const newRange = __spreadValues(__spreadValues({}, this.granuleMinDate && { startDate: this.granuleMinDate }), this.granuleMaxDate && { endDate: this.granuleMaxDate });
277
+ if (Object.keys(newRange).length > 0) {
278
+ this.selectedDateRange = __spreadValues(__spreadValues({}, this.selectedDateRange), newRange);
279
+ }
280
+ }
281
+ selectedFormatChanged() {
282
+ if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.selectedVariables.length > 1) {
283
+ this.selectedVariables = [this.selectedVariables[0]];
284
+ }
285
+ }
286
+ showDialog() {
287
+ var _a;
288
+ (_a = this.dialogElement) == null ? void 0 : _a.show();
289
+ }
290
+ render() {
291
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
292
+ const showJobStatus = this.controller.currentJob && !this.refineParameters;
293
+ const showMinimizeButton = showJobStatus && !!this.dialog;
294
+ const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
295
+ if (!this.collectionWithServices) {
296
+ if (this.controller.fetchCollectionTask.status === TaskStatus.ERROR) {
297
+ return html`
298
+ <terra-alert open variant="danger" appearance="white">
299
+ Failed to find the requested collection.
300
+ </terra-alert>
301
+ `;
302
+ }
303
+ }
304
+ const content = html`
305
+ <div class="container">
306
+ ${!this.dialog ? html`
307
+ <div class="header">
308
+ <h1>
309
+ <svg
310
+ class="download-icon"
311
+ viewBox="0 0 24 24"
312
+ fill="currentColor"
313
+ >
314
+ <path
315
+ d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
316
+ />
317
+ </svg>
318
+ ${title}
319
+ </h1>
320
+
321
+ ${showMinimizeButton ? html`<button
322
+ class="minimize-btn"
323
+ @click=${() => this.minimizeDialog()}
324
+ >
325
+ -
326
+ </button>` : nothing}
327
+ </div>
328
+ ` : nothing}
329
+ ${!this.isHistoryView && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? html`
330
+ <div class="section">
331
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
332
+ </div>
333
+ ` : nothing}
334
+ ${this.dataAccessMode === "original" ? html`
335
+ <div class="section">
336
+ <terra-data-access
337
+ short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
338
+ version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
339
+ ?footer-slot=${!!this.dialog}
340
+ >
341
+ ${this.dialog ? html`
342
+ <div
343
+ slot="footer"
344
+ style="margin-top: 15px;"
345
+ >
346
+ <slot
347
+ name="data-access-footer"
348
+ ></slot>
349
+ </div>
350
+ ` : nothing}
351
+ </terra-data-access>
352
+ </div>
353
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
354
+ </div>
355
+ `;
356
+ if (this.dialog) {
357
+ return html`
358
+ <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
359
+ <span
360
+ slot="label"
361
+ style="display: flex; align-items: center; gap: 8px; color: #0066cc; font-weight: 600;"
362
+ >
363
+ <svg
364
+ class="download-icon"
365
+ viewBox="0 0 24 24"
366
+ fill="currentColor"
367
+ style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
368
+ >
369
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
370
+ </svg>
371
+ ${title}
372
+ </span>
373
+ ${showMinimizeButton ? html`
374
+ <button
375
+ slot="header-actions"
376
+ class="minimize-btn"
377
+ @click=${() => {
378
+ var _a2;
379
+ return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
380
+ }}
381
+ aria-label="Minimize"
382
+ >
383
+ -
384
+ </button>
385
+ ` : nothing}
386
+ ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
387
+ </terra-dialog>
388
+ `;
389
+ }
390
+ return html`
391
+ <div class="container">
392
+ <div class="header">
393
+ <h1>
394
+ <svg
395
+ class="download-icon"
396
+ viewBox="0 0 24 24"
397
+ fill="currentColor"
398
+ >
399
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
400
+ </svg>
401
+ ${title}
402
+ </h1>
403
+
404
+ ${showMinimizeButton ? html`<button
405
+ class="minimize-btn"
406
+ @click=${() => this.minimizeDialog()}
407
+ >
408
+ -
409
+ </button>` : nothing}
410
+ </div>
411
+ ${!this.isHistoryView && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? html`
412
+ <div class="section">
413
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
414
+ </div>
415
+ ` : nothing}
416
+ ${this.dataAccessMode === "original" ? html`
417
+ <div class="section">
418
+ <terra-data-access
419
+ short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
420
+ version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
421
+ ?footer-slot=${!!this.dialog}
422
+ >
423
+ ${this.dialog ? html`
424
+ <div
425
+ slot="footer"
426
+ style="margin-top: 15px;"
427
+ >
428
+ <slot
429
+ name="data-access-footer"
430
+ ></slot>
431
+ </div>
432
+ ` : nothing}
433
+ </terra-data-access>
434
+ </div>
435
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
436
+ </div>
437
+ `;
438
+ }
439
+ minimizeDialog() {
440
+ var _a;
441
+ (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
442
+ }
443
+ handleCollectionSearch(searchTerm) {
444
+ this.collectionSearchQuery = searchTerm;
445
+ }
446
+ isLatLng(value) {
447
+ return value && typeof value.lat === "number" && typeof value.lng === "number";
448
+ }
449
+ isLatLngBounds(value) {
450
+ return value && typeof value.getSouthWest === "function" && typeof value.getNorthEast === "function";
451
+ }
452
+ renderHistoryPanel() {
453
+ const existingHistoryPanel = document.querySelector(
454
+ "terra-data-subsetter-history"
455
+ );
456
+ if (!existingHistoryPanel && this.bearerToken) {
457
+ const historyPanel = document.createElement(
458
+ "terra-data-subsetter-history"
459
+ );
460
+ if (this.bearerToken) {
461
+ historyPanel.setAttribute("bearer-token", this.bearerToken);
462
+ }
463
+ if (this.environment) {
464
+ historyPanel.setAttribute("environment", this.environment);
465
+ }
466
+ document.body.appendChild(historyPanel);
467
+ }
468
+ }
469
+ };
470
+ _authController = new WeakMap();
471
+ _renderFooterForDialog = new WeakSet();
472
+ renderFooterForDialog_fn = function() {
473
+ const showJobStatus = this.controller.currentJob && !this.refineParameters;
474
+ if (showJobStatus && this.controller.currentJob) {
475
+ return html`
476
+ <div slot="footer" class="footer">
477
+ ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? html`
478
+ <div
479
+ style="display: flex; align-items: center; gap: 8px;"
480
+ >
481
+ <terra-dropdown
482
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
483
+ >
484
+ <terra-button slot="trigger" caret>
485
+ Download Options
486
+ </terra-button>
487
+ <terra-menu>
488
+ <terra-menu-item value="file-list">
489
+ <svg
490
+ slot="prefix"
491
+ viewBox="0 0 24 24"
492
+ width="16"
493
+ height="16"
494
+ style="width: 16px; height: 16px;"
495
+ >
496
+ <path
497
+ fill="currentColor"
498
+ 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"
499
+ />
500
+ </svg>
501
+ File List
502
+ </terra-menu-item>
503
+ <terra-menu-item value="python-script">
504
+ <svg
505
+ slot="prefix"
506
+ viewBox="0 0 128 128"
507
+ width="16"
508
+ height="16"
509
+ style="width: 16px; height: 16px;"
510
+ >
511
+ <path
512
+ fill="currentColor"
513
+ 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"
514
+ ></path>
515
+ </svg>
516
+ Python Script
517
+ </terra-menu-item>
518
+ <terra-menu-item value="earthdata-download">
519
+ <svg
520
+ slot="prefix"
521
+ viewBox="0 0 64 64"
522
+ fill="none"
523
+ width="16"
524
+ height="16"
525
+ style="width: 16px; height: 16px;"
526
+ >
527
+ <circle
528
+ cx="32"
529
+ cy="32"
530
+ r="28"
531
+ fill="currentColor"
532
+ />
533
+ <path
534
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
535
+ stroke="#fff"
536
+ stroke-width="4"
537
+ stroke-linecap="round"
538
+ stroke-linejoin="round"
539
+ fill="none"
540
+ />
541
+ </svg>
542
+ Earthdata Download
543
+ </terra-menu-item>
544
+ </terra-menu>
545
+ </terra-dropdown>
546
+
547
+ <!--
548
+ <terra-button
549
+ outline
550
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
551
+ >
552
+ <terra-icon
553
+ name="outline-code-bracket"
554
+ library="heroicons"
555
+ font-size="1.5em"
556
+ style="margin-right: 5px;"
557
+ ></terra-icon>
558
+ Open in Jupyter Notebook
559
+ </terra-button>
560
+ -->
561
+ </div>
562
+ ` : nothing}
563
+ ${this.controller.currentJob.status === "running" ? html`<button
564
+ class="btn btn-success"
565
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
566
+ ?disabled=${this.cancelingGetData}
567
+ >
568
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
569
+ </button>` : nothing}
570
+
571
+ <div class="job-info">
572
+ Job ID:
573
+ <span class="job-id">
574
+ ${this.bearerToken ? html`<a
575
+ href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
576
+ target="_blank"
577
+ >${this.controller.currentJob.jobID}</a
578
+ >` : this.controller.currentJob.jobID}
579
+ </span>
580
+ <span class="info-icon">?</span>
581
+ </div>
582
+ </div>
583
+ `;
584
+ } else if (this.dataAccessMode === "subset") {
585
+ return html`
586
+ <div slot="footer" class="footer">
587
+ <button class="btn btn-secondary">Reset All</button>
588
+ <div>
589
+ <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
590
+ Get Data
591
+ </button>
592
+ ${this.jobId ? html`
593
+ <terra-button
594
+ variant="default"
595
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
596
+ >
597
+ View Running Job
598
+ </terra-button>
599
+ ` : nothing}
600
+ </div>
601
+ </div>
602
+ </div>
603
+ </div>
604
+ `;
605
+ }
606
+ return nothing;
607
+ };
608
+ _renderSizeInfo = new WeakSet();
609
+ renderSizeInfo_fn = function(estimates) {
610
+ if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
611
+ return html`
612
+ <div class="size-info warning">
613
+ <terra-login>
614
+ <h2 slot="logged-out">Limited access as a guest.</h2>
615
+
616
+ <p slot="logged-out">
617
+ Your results will be capped at 10 links. Log in for full
618
+ access to all data.
619
+ </p>
620
+ </terra-login>
621
+ </div>
622
+ `;
623
+ }
624
+ return html`<div
625
+ class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
626
+ >
627
+ <h2>Estimated size of results</h2>
628
+ <div class="size-stats">
629
+ ${estimates.days.toLocaleString()} days,
630
+ ${estimates.links.toLocaleString()} links
631
+ </div>
632
+ ${estimates.links >= 150 ? html`<div class="size-warning">
633
+ You are about to retrieve ${estimates.links.toLocaleString()}
634
+ file links from the archive. You may
635
+ <strong>speed up the request</strong> by limiting the scope of
636
+ your search.
637
+ </div>` : nothing}
638
+ </div>`;
639
+ };
640
+ _renderSubsetOptions = new WeakSet();
641
+ renderSubsetOptions_fn = function() {
642
+ var _a, _b, _c, _d, _e, _f, _g, _h;
643
+ const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
644
+ const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
645
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
646
+ const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
647
+ const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
648
+ const showTemporalSection = temporalExtents && temporalExtents.length;
649
+ const showSpatialSection = spatialExtent && ((_c = (_b = spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles);
650
+ return html`
651
+ ${this.dataAccessMode === "original" ? nothing : hasSubsetOption ? html`
652
+ ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : nothing}
653
+ ${this.showCollectionSearch ? html`
654
+ <div class="section">
655
+ <h2 class="section-title">
656
+ Select Data Collection
657
+ </h2>
658
+
659
+ ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
660
+ </div>
661
+ ` : nothing}
662
+ ${((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.outputFormats) == null ? void 0 : _e.length) && hasSubsetOption ? html`
663
+ <div class="section">
664
+ <h2 class="section-title">Output Format</h2>
665
+
666
+ ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
667
+ </div>
668
+ ` : nothing}
669
+ <div class="section">
670
+ <h2 class="section-title">Subset Options</h2>
671
+ <p style="color: #666; margin-bottom: 16px;">
672
+ Generate file links that support spatial subsetting,
673
+ date/time range selection, and variable selection.
674
+ </p>
675
+
676
+ ${((_f = this.collectionWithServices) == null ? void 0 : _f.temporalSubset) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : nothing}
677
+ ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : nothing}
678
+ ${((_g = this.collectionWithServices) == null ? void 0 : _g.variableSubset) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : nothing}
679
+ </div>
680
+ ` : html`
681
+ ${showTemporalSection && !((_h = this.collectionWithServices) == null ? void 0 : _h.temporalSubset) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : nothing}
682
+ ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : nothing}
683
+ `}
684
+ ${!hasSubsetOption && estimates ? html`
685
+ <div
686
+ class="neutral-info"
687
+ style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
688
+ >
689
+ <strong>Estimated result size:</strong><br />
690
+ Your request will return approximately
691
+ <b>${estimates.links.toLocaleString()}</b> files covering
692
+ <b>${estimates.days.toLocaleString()}</b> days.
693
+ </div>
694
+ ` : nothing}
695
+ ${this.dataAccessMode === "subset" && !this.dialog ? html`
696
+ <div class="footer">
697
+ <button class="btn btn-secondary">Reset All</button>
698
+ <div>
699
+ <button
700
+ class="btn btn-primary"
701
+ @click=${__privateMethod(this, _getData, getData_fn)}
702
+ >
703
+ Get Data
704
+ </button>
705
+ ${this.jobId ? html`
706
+ <terra-button
707
+ variant="default"
708
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
709
+ >
710
+ View Running Job
711
+ </terra-button>
712
+ ` : nothing}
713
+ </div>
714
+ </div>
715
+ </div>
716
+ </div>
717
+ ` : nothing}
718
+ `;
719
+ };
720
+ _renderSearchForCollection = new WeakSet();
721
+ renderSearchForCollection_fn = function() {
722
+ var _a, _b;
723
+ let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
724
+ if (this.collectionSearchType === "collection") {
725
+ placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
726
+ }
727
+ if (this.collectionSearchType === "variable") {
728
+ placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
729
+ }
730
+ return html`
731
+ <terra-accordion .open=${this.collectionAccordionOpen}>
732
+ <div slot="summary">
733
+ <span class="accordion-title">Collection:</span>
734
+ </div>
735
+
736
+ <div
737
+ slot="summary-right"
738
+ style="display: flex; align-items: center; gap: 10px"
739
+ >
740
+ ${this.collectionEntryId ? html` <span
741
+ class="accordion-value"
742
+ id="selected-collection-display"
743
+ >${this.collectionEntryId}</span
744
+ >
745
+
746
+ <button
747
+ class="reset-btn"
748
+ @click=${() => this.collectionEntryId = void 0}
749
+ >
750
+ Reset
751
+ </button>` : nothing}
752
+ </div>
753
+
754
+ <div class="search-tabs-mini">
755
+ <button
756
+ class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
757
+ @click=${() => this.collectionSearchType = "all"}
758
+ >
759
+ All
760
+ </button>
761
+ <button
762
+ class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
763
+ @click=${() => this.collectionSearchType = "collection"}
764
+ >
765
+ Collections
766
+ </button>
767
+ <button
768
+ class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
769
+ @click=${() => this.collectionSearchType = "variable"}
770
+ >
771
+ Variables
772
+ </button>
773
+ </div>
774
+
775
+ <div class="search-container-mini">
776
+ <input
777
+ type="text"
778
+ class="search-input-mini"
779
+ id="search-input"
780
+ placeholder=${placeholder}
781
+ @input="${(e) => this.handleCollectionSearch(
782
+ e.target.value
783
+ )}"
784
+ />
785
+
786
+ <button class="search-button-mini">
787
+ <svg
788
+ class="search-icon-mini"
789
+ viewBox="0 0 24 24"
790
+ fill="currentColor"
791
+ >
792
+ <path
793
+ 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"
794
+ />
795
+ </svg>
796
+ Search
797
+ </button>
798
+ </div>
799
+
800
+ <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
801
+ <div class="quick-links-mini">
802
+ <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
803
+ >GPM Precipitation</a
804
+ >
805
+ <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
806
+ >MODIS Data</a
807
+ >
808
+ <a
809
+ href="#"
810
+ class="quick-link-mini"
811
+ onclick="quickSearch('Landsat')"
812
+ >Landsat Imagery</a
813
+ >
814
+ <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
815
+ >Atmospheric Data</a
816
+ >
817
+ </div>
818
+ -->
819
+
820
+ <div id="search-results-section" class="search-results-section">
821
+ ${this.collectionSearchLoading ? html`
822
+ <div id="loading-mini" class="loading-mini">
823
+ <div class="spinner-mini"></div>
824
+ <div>Searching NASA CMR...</div>
825
+ </div>
826
+ ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? html` <div
827
+ id="results-container-mini"
828
+ class="results-container-mini"
829
+ >
830
+ ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
831
+ (item) => html`
832
+ <div
833
+ class="result-item-mini"
834
+ @click=${() => {
835
+ this.collectionEntryId = item.collectionEntryId;
836
+ this.collectionAccordionOpen = false;
837
+ this.collectionLoading = true;
838
+ if (item.type === "variable") {
839
+ this.selectedVariables = [
840
+ {
841
+ name: item.entryId,
842
+ href: "",
843
+ conceptId: item.conceptId
844
+ }
845
+ ];
846
+ }
847
+ this.requestUpdate();
848
+ }}
849
+ style="cursor: pointer;"
850
+ >
851
+ <div class="result-title-mini">
852
+ ${item.title}
853
+ </div>
854
+ <div class="result-id-mini">
855
+ ${item.entryId}
856
+ </div>
857
+ <div class="result-description-mini">
858
+ ${item.summary || item.title}
859
+ </div>
860
+ <div class="result-meta-mini">
861
+ <span>📅 2000-02-24 - ongoing</span>
862
+ <span>🌍 Global</span>
863
+ <span>🏢 ${item.provider}</span>
864
+ ${item.type === "variable" ? html` <span
865
+ >📊
866
+ ${item.collectionEntryId}</span
867
+ >` : nothing}
868
+ <span class="tag-mini"
869
+ >${item.type.toUpperCase()}</span
870
+ >
871
+ </div>
872
+ </div>
873
+ `
874
+ )}
875
+ </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? html`<div id="no-results-mini" class="no-results-mini">
876
+ <p>
877
+ No results found for
878
+ '${this.collectionSearchQuery}'. Try adjusting
879
+ your search term.
880
+ </p>
881
+ </div>` : nothing}
882
+ </div>
883
+ </terra-accordion>
884
+
885
+ ${this.collectionLoading ? html`
886
+ <div
887
+ class="collection-loading-bar"
888
+ style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
889
+ >
890
+ <span
891
+ class="loading-spinner"
892
+ 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;"
893
+ ></span>
894
+ Retrieving collection, please wait...
895
+ </div>
896
+ <style>
897
+ @keyframes spin {
898
+ 0% {
899
+ transform: rotate(0deg);
900
+ }
901
+ 100% {
902
+ transform: rotate(360deg);
903
+ }
904
+ }
905
+ </style>
906
+ ` : nothing}
907
+ `;
908
+ };
909
+ _renderOutputFormatSelection = new WeakSet();
910
+ renderOutputFormatSelection_fn = function() {
911
+ var _a, _b;
912
+ const hasGiovanniService = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.services) == null ? void 0 : _b.some(
913
+ (s) => s.name.indexOf("giovanni") !== -1
914
+ );
915
+ return html`
916
+ <terra-accordion>
917
+ <div slot="summary">
918
+ <span class="accordion-title">File Format:</span>
919
+ </div>
920
+
921
+ <div
922
+ slot="summary-right"
923
+ style="display: flex; align-items: center; gap: 10px;"
924
+ >
925
+ <span
926
+ >${getFriendlyNameForMimeType(
927
+ this.selectedFormat,
928
+ hasGiovanniService
929
+ )}</span
930
+ >
931
+
932
+ <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
933
+ Reset
934
+ </button>
935
+ </div>
936
+
937
+ <div class="accordion-content" style="margin-top: 12px;">
938
+ ${(() => {
939
+ var _a2;
940
+ const allFormats = ((_a2 = this.collectionWithServices) == null ? void 0 : _a2.outputFormats) || [];
941
+ const uniqueFormats = Array.from(new Set(allFormats));
942
+ const hasNetcdf4 = uniqueFormats.includes(
943
+ "application/x-netcdf4"
944
+ );
945
+ const hasNetcdfClassic = uniqueFormats.includes("application/netcdf");
946
+ let displayFormats = uniqueFormats;
947
+ if (hasNetcdf4 && hasNetcdfClassic) {
948
+ displayFormats = uniqueFormats.filter(
949
+ (f) => f !== "application/netcdf"
950
+ );
951
+ }
952
+ return displayFormats.map(
953
+ (format) => html`
954
+ <label
955
+ style="display: flex; align-items: center; gap: 8px; padding: 5px;"
956
+ >
957
+ <input
958
+ type="radio"
959
+ name="output-format"
960
+ value="${format}"
961
+ .checked=${this.selectedFormat === format}
962
+ @change=${() => this.selectedFormat = format}
963
+ />
964
+ ${getFriendlyNameForMimeType(
965
+ format,
966
+ hasGiovanniService
967
+ )}
968
+ </label>
969
+ `
970
+ );
971
+ })()}
972
+ </div>
973
+ </terra-accordion>
974
+ `;
975
+ };
976
+ _renderDateRangeSelection = new WeakSet();
977
+ renderDateRangeSelection_fn = function() {
978
+ var _a, _b, _c, _d, _e, _f, _g, _h;
979
+ const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
980
+ const startDate = (_b = (_a = this.selectedDateRange.startDate) != null ? _a : this.granuleMinDate) != null ? _b : defaultStartDate;
981
+ const endDate = (_d = (_c = this.selectedDateRange.endDate) != null ? _c : this.granuleMaxDate) != null ? _d : defaultEndDate;
982
+ const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
983
+ return html`
984
+ <terra-accordion>
985
+ <div slot="summary">
986
+ <span class="accordion-title">Refine Date Range:</span>
987
+ </div>
988
+
989
+ <div
990
+ slot="summary-right"
991
+ style="display: flex; align-items: center; gap: 10px;"
992
+ >
993
+ ${showError ? html`<span class="accordion-value error"
994
+ >Please select a date range</span
995
+ >` : this.touchedFields.has("date") && startDate && endDate ? html`<span class="accordion-value"
996
+ >${startDate} to ${endDate}</span
997
+ >` : nothing}
998
+ <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
999
+ Reset
1000
+ </button>
1001
+ </div>
1002
+
1003
+ <div style="width: 300px">
1004
+ <terra-date-picker
1005
+ allow-input
1006
+ inline
1007
+ range
1008
+ split-inputs
1009
+ show-presets
1010
+ ?enable-time=${this.controller.isSubDaily}
1011
+ start-label="Start Date"
1012
+ end-label="End Date"
1013
+ .minDate=${(_e = this.granuleMinDate) != null ? _e : defaultStartDate}
1014
+ .maxDate=${(_f = this.granuleMaxDate) != null ? _f : defaultEndDate}
1015
+ .startDate=${(_g = this.selectedDateRange.startDate) != null ? _g : this.granuleMinDate}
1016
+ .endDate=${(_h = this.selectedDateRange.endDate) != null ? _h : this.granuleMaxDate}
1017
+ .useEndOfDay=${__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) ? false : true}
1018
+ @terra-date-range-change=${__privateGet(this, _handleDateChange)}
1019
+ ></terra-date-picker>
1020
+ </div>
1021
+
1022
+ <div
1023
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1024
+ >
1025
+ <span
1026
+ ><strong>Available Range:</strong> ${defaultStartDate} to
1027
+ ${defaultEndDate}</span
1028
+ >
1029
+ ${this.controller.isSubDaily ? html`<span
1030
+ ><strong>Note:</strong> All dates and times are in
1031
+ UTC.</span
1032
+ >` : nothing}
1033
+ </div>
1034
+ </terra-accordion>
1035
+ `;
1036
+ };
1037
+ _handleDateChange = new WeakMap();
1038
+ _resetDateRangeSelection = new WeakMap();
1039
+ _resetFormatSelection = new WeakMap();
1040
+ _getCollectionDateRange = new WeakSet();
1041
+ getCollectionDateRange_fn = function() {
1042
+ var _a, _b;
1043
+ const samplingMinDate = this.controller.granuleMinDate;
1044
+ const samplingMaxDate = this.controller.granuleMaxDate;
1045
+ if (samplingMinDate && samplingMaxDate) {
1046
+ return {
1047
+ startDate: samplingMinDate.slice(0, 10),
1048
+ endDate: samplingMaxDate.slice(0, 10)
1049
+ };
1050
+ }
1051
+ const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
1052
+ if (!temporalExtents || !temporalExtents.length)
1053
+ return {
1054
+ startDate: null,
1055
+ endDate: null
1056
+ };
1057
+ let minStart = null;
1058
+ let maxEnd = null;
1059
+ const today = /* @__PURE__ */ new Date();
1060
+ for (const temporal of temporalExtents) {
1061
+ for (const range of temporal.RangeDateTimes) {
1062
+ const start = new Date(range.BeginningDateTime);
1063
+ let end;
1064
+ if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
1065
+ end = today;
1066
+ } else {
1067
+ end = new Date(range.EndingDateTime);
1068
+ }
1069
+ if (!minStart || start < minStart)
1070
+ minStart = start;
1071
+ if (!maxEnd || end > maxEnd)
1072
+ maxEnd = end;
1073
+ }
1074
+ }
1075
+ return {
1076
+ startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
1077
+ endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
1078
+ };
1079
+ };
1080
+ _handleRegionAccordionToggle = new WeakSet();
1081
+ handleRegionAccordionToggle_fn = function() {
1082
+ var _a;
1083
+ (_a = this.spatialPicker) == null ? void 0 : _a.invalidateSize();
1084
+ };
1085
+ _renderSpatialSelection = new WeakSet();
1086
+ renderSpatialSelection_fn = function() {
1087
+ var _a, _b, _c, _d, _e;
1088
+ const showError = this.touchedFields.has("spatial") && !this.spatialSelection;
1089
+ let 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;
1090
+ if (boundingRects && !Array.isArray(boundingRects)) {
1091
+ boundingRects = [boundingRects];
1092
+ }
1093
+ let spatialString = "";
1094
+ if (this.isLatLng(this.spatialSelection)) {
1095
+ spatialString = `${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1096
+ } else if (this.isLatLngBounds(this.spatialSelection)) {
1097
+ spatialString = `${this.spatialSelection.getSouthWest().lat}, ${this.spatialSelection.getSouthWest().lng}, ${this.spatialSelection.getNorthEast().lat}, ${this.spatialSelection.getNorthEast().lng}`;
1098
+ } else if (this.spatialSelection && "w" in this.spatialSelection && "s" in this.spatialSelection && "e" in this.spatialSelection && "n" in this.spatialSelection) {
1099
+ spatialString = `${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1100
+ } else if (this.spatialSelection) {
1101
+ spatialString = this.spatialSelection;
1102
+ }
1103
+ return html`
1104
+ <terra-accordion
1105
+ @terra-accordion-toggle=${__privateMethod(this, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn)}
1106
+ >
1107
+ <div slot="summary">
1108
+ <span class="accordion-title">Refine Region:</span>
1109
+ </div>
1110
+
1111
+ <div
1112
+ slot="summary-right"
1113
+ style="display: flex; align-items: center; gap: 10px;"
1114
+ >
1115
+ ${showError ? html`<span class="accordion-value error"
1116
+ >Please select a region</span
1117
+ >` : spatialString ? html`<span class="accordion-value"
1118
+ >${spatialString}</span
1119
+ >` : nothing}
1120
+ <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1121
+ Reset
1122
+ </button>
1123
+ </div>
1124
+ <div class="accordion-content">
1125
+ <terra-spatial-picker
1126
+ part="spatial-picker"
1127
+ inline
1128
+ hide-label
1129
+ hide-point-selection
1130
+ no-world-wrap
1131
+ .spatialConstraints=${this.controller.spatialConstraints || "-180, -90, 180, 90"}
1132
+ .initialValue=${spatialString}
1133
+ @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1134
+ ></terra-spatial-picker>
1135
+ <div
1136
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1137
+ >
1138
+ <span
1139
+ ><strong>Available Range:</strong> ${this.controller.spatialConstraints}</span
1140
+ >
1141
+ </div>
1142
+ </div>
1143
+ </terra-accordion>
1144
+ `;
1145
+ };
1146
+ _handleSpatialChange = new WeakMap();
1147
+ _resetSpatialSelection = new WeakMap();
1148
+ _renderVariableSelection = new WeakSet();
1149
+ renderVariableSelection_fn = function() {
1150
+ var _a;
1151
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1152
+ const giovanniError = this.touchedFields.has("variables") && __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1153
+ const basicError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1154
+ const showError = giovanniError || basicError;
1155
+ const errorMessage = giovanniError || (basicError ? "Please select at least one variable" : "");
1156
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1157
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1158
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1159
+ return html`
1160
+ <terra-accordion>
1161
+ <div slot="summary">
1162
+ <span class="accordion-title">Select Variables:</span>
1163
+ </div>
1164
+ <div
1165
+ slot="summary-right"
1166
+ style="display: flex; align-items: center; gap: 10px;"
1167
+ >
1168
+ ${showError ? html`<span class="accordion-value error"
1169
+ >${errorMessage}</span
1170
+ >` : this.selectedVariables.length ? html`<span class="accordion-value"
1171
+ >${this.selectedVariables.length} selected</span
1172
+ >` : nothing}
1173
+
1174
+ <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1175
+ Reset
1176
+ </button>
1177
+ </div>
1178
+ <div class="accordion-content">
1179
+ <terra-input
1180
+ label="Filter variables"
1181
+ placeholder="Search by variable name..."
1182
+ .value=${this.variableFilterText}
1183
+ @input=${(e) => {
1184
+ const input = e.target;
1185
+ this.variableFilterText = input.value;
1186
+ __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1187
+ }}
1188
+ style="margin-bottom: 10px;"
1189
+ ></terra-input>
1190
+ <button
1191
+ class="reset-btn"
1192
+ style="margin-bottom: 10px;"
1193
+ @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1194
+ >
1195
+ ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1196
+ </button>
1197
+
1198
+ ${__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.giovanniConfiguredVariables ? html`
1199
+ <terra-alert
1200
+ open
1201
+ appearance="white"
1202
+ style="margin: 10px 0"
1203
+ >
1204
+ <terra-icon
1205
+ slot="icon"
1206
+ name="outline-information-circle"
1207
+ library="heroicons"
1208
+ ></terra-icon>
1209
+ Only certain variables are supported for the
1210
+ selected output format. (Giovanni service)
1211
+ </terra-alert>
1212
+ ` : nothing}
1213
+ ${variables.length === 0 ? html`<p style="color: #666; font-style: italic;">
1214
+ No variables available for this collection.
1215
+ </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1216
+ </div>
1217
+ </terra-accordion>
1218
+ `;
1219
+ };
1220
+ _filterVariableTree = new WeakSet();
1221
+ filterVariableTree_fn = function(tree) {
1222
+ if (!this.variableFilterText.trim()) {
1223
+ return tree;
1224
+ }
1225
+ const filterText = this.variableFilterText.toLowerCase().trim();
1226
+ const filterNode = (node) => {
1227
+ const result = {};
1228
+ for (const [key, value] of Object.entries(node)) {
1229
+ if (value.__isLeaf) {
1230
+ const variableName = value.__variable.name.toLowerCase();
1231
+ if (variableName.includes(filterText)) {
1232
+ result[key] = value;
1233
+ }
1234
+ } else {
1235
+ const filteredChildren = filterNode(value.__children);
1236
+ if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1237
+ result[key] = __spreadProps(__spreadValues({}, value), {
1238
+ __children: filteredChildren
1239
+ });
1240
+ }
1241
+ }
1242
+ }
1243
+ return result;
1244
+ };
1245
+ return filterNode(tree);
1246
+ };
1247
+ _handleVariableFilterChange = new WeakSet();
1248
+ handleVariableFilterChange_fn = function() {
1249
+ var _a;
1250
+ if (!this.variableFilterText.trim()) {
1251
+ return;
1252
+ }
1253
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1254
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1255
+ const filterText = this.variableFilterText.toLowerCase().trim();
1256
+ const groupsToExpand = /* @__PURE__ */ new Set();
1257
+ const findMatchingGroups = (node, path = []) => {
1258
+ for (const [key, value] of Object.entries(node)) {
1259
+ if (value.__isLeaf) {
1260
+ const variableName = value.__variable.name.toLowerCase();
1261
+ if (variableName.includes(filterText)) {
1262
+ for (let i = 0; i < path.length; i++) {
1263
+ const groupPath = path.slice(0, i + 1).join("/");
1264
+ groupsToExpand.add(groupPath);
1265
+ }
1266
+ }
1267
+ } else {
1268
+ const groupPath = [...path, key].join("/");
1269
+ findMatchingGroups(value.__children, [...path, key]);
1270
+ if (key.toLowerCase().includes(filterText)) {
1271
+ groupsToExpand.add(groupPath);
1272
+ }
1273
+ }
1274
+ }
1275
+ };
1276
+ findMatchingGroups(tree);
1277
+ if (groupsToExpand.size > 0) {
1278
+ this.expandedVariableGroups = /* @__PURE__ */ new Set([
1279
+ ...this.expandedVariableGroups,
1280
+ ...groupsToExpand
1281
+ ]);
1282
+ }
1283
+ };
1284
+ _buildVariableTree = new WeakSet();
1285
+ buildVariableTree_fn = function(variables) {
1286
+ let filteredVariables = variables;
1287
+ if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.giovanniConfiguredVariables) {
1288
+ const originalCount = variables.length;
1289
+ filteredVariables = variables.filter((v) => {
1290
+ var _a, _b, _c;
1291
+ const shortName = (_a = this.collectionWithServices) == null ? void 0 : _a.shortName;
1292
+ const version = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.collection) == null ? void 0 : _c.Version;
1293
+ if (!shortName || !version) {
1294
+ return false;
1295
+ }
1296
+ const giovanniVariableName = convertVariableEntryIdToGiovanniFormat(
1297
+ shortName,
1298
+ version,
1299
+ v.name
1300
+ );
1301
+ return this.giovanniConfiguredVariables.has(giovanniVariableName);
1302
+ });
1303
+ console.log(
1304
+ `Filtered ${originalCount - filteredVariables.length} variables for Giovanni format. Showing ${filteredVariables.length} of ${originalCount}.`
1305
+ );
1306
+ }
1307
+ const root = {};
1308
+ for (const v of filteredVariables) {
1309
+ const parts = v.name.split("/");
1310
+ let node = root;
1311
+ for (let i = 0; i < parts.length; i++) {
1312
+ const part = parts[i];
1313
+ if (!node[part])
1314
+ node[part] = { __children: {}, __isLeaf: false };
1315
+ if (i === parts.length - 1) {
1316
+ node[part].__isLeaf = true;
1317
+ node[part].__variable = v;
1318
+ }
1319
+ node = node[part].__children;
1320
+ }
1321
+ }
1322
+ return root;
1323
+ };
1324
+ _renderVariableTree = new WeakSet();
1325
+ renderVariableTree_fn = function(node, path) {
1326
+ const isGiovanni = __privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this);
1327
+ return html`
1328
+ <div style="margin-left: ${path.length * 20}px;">
1329
+ ${Object.entries(node).map(([key, value]) => {
1330
+ var _a;
1331
+ const groupPath = [...path, key].join("/");
1332
+ if (value.__isLeaf) {
1333
+ const variableDetail = (_a = this.variableDetails) == null ? void 0 : _a.find(
1334
+ (d) => d.name === value.__variable.name && d.longName !== value.__variable.name
1335
+ );
1336
+ const variableName = (variableDetail == null ? void 0 : variableDetail.longName) ? `${key} = ${variableDetail.longName}${variableDetail.units ? ` (${variableDetail.units})` : ""}` : key;
1337
+ return html`
1338
+ <div class="option-row">
1339
+ <label class="checkbox-option">
1340
+ <input
1341
+ type="${isGiovanni ? "radio" : "checkbox"}"
1342
+ name="${isGiovanni ? "variable-selection" : ""}"
1343
+ .checked=${this.selectedVariables.some(
1344
+ (v) => v.name === value.__variable.name
1345
+ )}
1346
+ @change=${(e) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e, value.__variable)}
1347
+ />
1348
+ <span>${variableName}</span>
1349
+ </label>
1350
+ </div>
1351
+ `;
1352
+ } else {
1353
+ const expanded = this.expandedVariableGroups.has(groupPath);
1354
+ return html`
1355
+ <div class="option-row" style="align-items: flex-start;">
1356
+ <span
1357
+ style="cursor: pointer; display: flex; align-items: center;"
1358
+ @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1359
+ >
1360
+ <terra-icon
1361
+ library="heroicons"
1362
+ name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1363
+ style="margin-right: 4px;"
1364
+ ></terra-icon>
1365
+ <span style="font-weight: 500;">${key}</span>
1366
+ </span>
1367
+ </div>
1368
+ ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1369
+ ...path,
1370
+ key
1371
+ ]) : ""}
1372
+ `;
1373
+ }
1374
+ })}
1375
+ </div>
1376
+ `;
1377
+ };
1378
+ _getAllGroupPaths = new WeakSet();
1379
+ getAllGroupPaths_fn = function(node, path = []) {
1380
+ let groups = [];
1381
+ for (const [key, value] of Object.entries(node)) {
1382
+ if (!value.__isLeaf) {
1383
+ const groupPath = [...path, key].join("/");
1384
+ groups.push(groupPath);
1385
+ groups = groups.concat(
1386
+ __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1387
+ );
1388
+ }
1389
+ }
1390
+ return groups;
1391
+ };
1392
+ _toggleGroupExpand = new WeakSet();
1393
+ toggleGroupExpand_fn = function(groupPath) {
1394
+ const set = new Set(this.expandedVariableGroups);
1395
+ if (set.has(groupPath)) {
1396
+ set.delete(groupPath);
1397
+ } else {
1398
+ set.add(groupPath);
1399
+ }
1400
+ this.expandedVariableGroups = set;
1401
+ };
1402
+ _toggleExpandCollapseAll = new WeakSet();
1403
+ toggleExpandCollapseAll_fn = function(tree) {
1404
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1405
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1406
+ if (allExpanded) {
1407
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
1408
+ } else {
1409
+ this.expandedVariableGroups = new Set(allGroups);
1410
+ }
1411
+ };
1412
+ _toggleVariableSelection = new WeakSet();
1413
+ toggleVariableSelection_fn = function(e, variable) {
1414
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1415
+ const checked = e.target.checked;
1416
+ if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this)) {
1417
+ if (checked) {
1418
+ this.selectedVariables = [variable];
1419
+ }
1420
+ } else {
1421
+ if (checked) {
1422
+ if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1423
+ this.selectedVariables = [...this.selectedVariables, variable];
1424
+ }
1425
+ } else {
1426
+ this.selectedVariables = this.selectedVariables.filter(
1427
+ (v) => v.name !== variable.name
1428
+ );
1429
+ }
1430
+ }
1431
+ };
1432
+ _markFieldTouched = new WeakSet();
1433
+ markFieldTouched_fn = function(field) {
1434
+ this.touchedFields = new Set(this.touchedFields).add(field);
1435
+ };
1436
+ _resetVariableSelection = new WeakMap();
1437
+ _renderJobStatus = new WeakSet();
1438
+ renderJobStatus_fn = function() {
1439
+ var _a, _b;
1440
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.jobID)) {
1441
+ return html`<div class="results-section" id="job-status-section">
1442
+ <div
1443
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1444
+ >
1445
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1446
+ ${!this.isHistoryView ? html`
1447
+ <terra-button
1448
+ variant="default"
1449
+ size="small"
1450
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1451
+ >
1452
+ ← Back to Subset Options
1453
+ </terra-button>
1454
+ ` : nothing}
1455
+ </div>
1456
+
1457
+ <div class="progress-container">
1458
+ <div class="progress-text">
1459
+ <span class="spinner"></span>
1460
+ <span class="status-running">Searching for data...</span>
1461
+ </div>
1462
+
1463
+ <div class="progress-bar">
1464
+ <div class="progress-fill" style="width: 0%"></div>
1465
+ </div>
1466
+ </div>
1467
+
1468
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1469
+ </div>`;
1470
+ }
1471
+ return html`
1472
+ <div class="results-section" id="job-status-section">
1473
+ <div
1474
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1475
+ >
1476
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1477
+ ${!this.isHistoryView ? html`
1478
+ <terra-button
1479
+ variant="default"
1480
+ size="small"
1481
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1482
+ >
1483
+ ← Back to Subset Options
1484
+ </terra-button>
1485
+ ` : nothing}
1486
+ </div>
1487
+
1488
+ ${this.controller.currentJob.status !== "canceled" && this.controller.currentJob.status !== "failed" ? html` <div class="progress-container">
1489
+ <div class="progress-text">
1490
+ ${this.controller.currentJob.progress >= 100 ? html`
1491
+ <span class="status-complete"
1492
+ >✓ Search complete</span
1493
+ >
1494
+ ` : html`
1495
+ <span class="spinner"></span>
1496
+ <span class="status-running"
1497
+ >Searching for data...
1498
+ (${this.controller.currentJob.progress}%)</span
1499
+ >
1500
+ `}
1501
+ </div>
1502
+
1503
+ <div class="progress-bar">
1504
+ <div
1505
+ class="progress-fill"
1506
+ style="width: ${this.controller.currentJob.progress}%"
1507
+ ></div>
1508
+ </div>
1509
+ </div>` : nothing}
1510
+
1511
+ <div class="search-status">
1512
+ <span class="file-count"
1513
+ >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1514
+ >
1515
+ out of estimated
1516
+ <span class="estimated-total"
1517
+ >${this.controller.currentJob.numInputGranules.toLocaleString()}</span
1518
+ >
1519
+ </div>
1520
+
1521
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1522
+ ${((_b = this.controller.currentJob.errors) == null ? void 0 : _b.length) ? html`
1523
+ <terra-accordion>
1524
+ <div slot="summary">
1525
+ <span
1526
+ class="accordion-title"
1527
+ style="color: #dc3545;"
1528
+ >Errors
1529
+ (${this.controller.currentJob.errors.length})</span
1530
+ >
1531
+ </div>
1532
+ <div class="accordion-content">
1533
+ <ul
1534
+ style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1535
+ >
1536
+ ${this.controller.currentJob.errors.map(
1537
+ (err) => html`
1538
+ <li style="margin-bottom: 12px;">
1539
+ <a
1540
+ href="${err.url}"
1541
+ target="_blank"
1542
+ style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1543
+ >
1544
+ ${err.url}
1545
+ </a>
1546
+ <div style="margin-top: 2px;">
1547
+ ${err.message}
1548
+ </div>
1549
+ </li>
1550
+ `
1551
+ )}
1552
+ </ul>
1553
+ </div>
1554
+ </terra-accordion>
1555
+ ` : nothing}
1556
+
1557
+ <div class="tabs">
1558
+ <button
1559
+ class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1560
+ @click=${() => this.selectedTab = "web-links"}
1561
+ >
1562
+ Web Links
1563
+ </button>
1564
+
1565
+ ${!this.isHistoryView ? html`
1566
+ <button
1567
+ class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1568
+ @click=${() => this.selectedTab = "selected-params"}
1569
+ >
1570
+ Selected Parameters
1571
+ </button>
1572
+ ` : nothing}
1573
+ </div>
1574
+ <div
1575
+ id="web-links"
1576
+ class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1577
+ >
1578
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? html`
1579
+ <div class="documentation-links">
1580
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1581
+ (link) => html`
1582
+ <a href="${link.href}" class="doc-link"
1583
+ >${link.title}</a
1584
+ >
1585
+ `
1586
+ )}
1587
+ </div>
1588
+ ` : nothing}
1589
+
1590
+ <ul class="file-list">
1591
+ ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1592
+ (link) => html`
1593
+ <li class="file-item">
1594
+ <a
1595
+ href="${link.href}"
1596
+ class="file-link"
1597
+ target="_blank"
1598
+ >
1599
+ ${link.title}
1600
+ </a>
1601
+ </li>
1602
+ `
1603
+ )}
1604
+ </ul>
1605
+ </div>
1606
+
1607
+ <div
1608
+ id="selected-params"
1609
+ class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1610
+ >
1611
+ ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1612
+ </div>
1613
+ </div>
1614
+
1615
+ ${!this.dialog ? html`
1616
+ <div class="footer">
1617
+ ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? html`
1618
+ <div
1619
+ style="display: flex; align-items: center; gap: 8px;"
1620
+ >
1621
+ <terra-dropdown
1622
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1623
+ >
1624
+ <terra-button slot="trigger" caret>
1625
+ Download Options
1626
+ </terra-button>
1627
+ <terra-menu>
1628
+ <terra-menu-item value="file-list">
1629
+ <svg
1630
+ slot="prefix"
1631
+ viewBox="0 0 24 24"
1632
+ width="16"
1633
+ height="16"
1634
+ style="width: 16px; height: 16px;"
1635
+ >
1636
+ <path
1637
+ fill="currentColor"
1638
+ 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"
1639
+ />
1640
+ </svg>
1641
+ File List
1642
+ </terra-menu-item>
1643
+ <terra-menu-item
1644
+ value="python-script"
1645
+ >
1646
+ <svg
1647
+ slot="prefix"
1648
+ viewBox="0 0 128 128"
1649
+ width="16"
1650
+ height="16"
1651
+ style="width: 16px; height: 16px;"
1652
+ >
1653
+ <path
1654
+ fill="currentColor"
1655
+ 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"
1656
+ ></path>
1657
+ </svg>
1658
+ Python Script
1659
+ </terra-menu-item>
1660
+ <terra-menu-item
1661
+ value="earthdata-download"
1662
+ >
1663
+ <svg
1664
+ slot="prefix"
1665
+ viewBox="0 0 64 64"
1666
+ fill="none"
1667
+ width="16"
1668
+ height="16"
1669
+ style="width: 16px; height: 16px;"
1670
+ >
1671
+ <circle
1672
+ cx="32"
1673
+ cy="32"
1674
+ r="28"
1675
+ fill="currentColor"
1676
+ />
1677
+ <path
1678
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
1679
+ stroke="#fff"
1680
+ stroke-width="4"
1681
+ stroke-linecap="round"
1682
+ stroke-linejoin="round"
1683
+ fill="none"
1684
+ />
1685
+ </svg>
1686
+ Earthdata Download
1687
+ </terra-menu-item>
1688
+ </terra-menu>
1689
+ </terra-dropdown>
1690
+
1691
+ <!--
1692
+ <terra-button
1693
+ outline
1694
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
1695
+ >
1696
+ <terra-icon
1697
+ name="outline-code-bracket"
1698
+ library="heroicons"
1699
+ font-size="1.5em"
1700
+ style="margin-right: 5px;"
1701
+ ></terra-icon>
1702
+ Open in Jupyter Notebook
1703
+ </terra-button>
1704
+ --></div>
1705
+ ` : nothing}
1706
+ ${this.controller.currentJob.status === "running" ? html`<button
1707
+ class="btn btn-success"
1708
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
1709
+ ?disabled=${this.cancelingGetData}
1710
+ >
1711
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
1712
+ </button>` : nothing}
1713
+
1714
+ <div class="job-info">
1715
+ Job ID:
1716
+ <span class="job-id">
1717
+ ${this.bearerToken ? html`<a
1718
+ href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
1719
+ target="_blank"
1720
+ >${this.controller.currentJob.jobID}</a
1721
+ >` : this.controller.currentJob.jobID}
1722
+ </span>
1723
+ <span class="info-icon">?</span>
1724
+ </div>
1725
+ </div>
1726
+ ` : nothing}
1727
+ `;
1728
+ };
1729
+ _renderSelectedParams = new WeakSet();
1730
+ renderSelectedParams_fn = function() {
1731
+ var _a, _b;
1732
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1733
+ const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
1734
+ const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
1735
+ let spatial = "\u2014";
1736
+ if (this.spatialSelection) {
1737
+ if ("w" in this.spatialSelection) {
1738
+ spatial = `Bounding Box: ${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1739
+ } else if ("lat" in this.spatialSelection && "lng" in this.spatialSelection) {
1740
+ spatial = `Point: ${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1741
+ }
1742
+ }
1743
+ return html`
1744
+ <dl class="params-summary">
1745
+ <div>
1746
+ <dt><strong>Dataset</strong></dt>
1747
+ <dd>${(_b = collection == null ? void 0 : collection.EntryTitle) != null ? _b : "\u2014"}</dd>
1748
+ </div>
1749
+ <div>
1750
+ <dt><strong>Variables</strong></dt>
1751
+ <dd>${variables.map((v) => html`<div>${v}</div>`)}</dd>
1752
+ </div>
1753
+ <div>
1754
+ <dt><strong>Date Range</strong></dt>
1755
+ <dd>${dateRange}</dd>
1756
+ </div>
1757
+ <div>
1758
+ <dt><strong>Spatial</strong></dt>
1759
+ <dd>${spatial}</dd>
1760
+ </div>
1761
+ </dl>
1762
+
1763
+ <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
1764
+ >Refine Parameters</terra-button
1765
+ >
1766
+ `;
1767
+ };
1768
+ _cancelJob = new WeakSet();
1769
+ cancelJob_fn = function() {
1770
+ this.cancelingGetData = true;
1771
+ this.controller.cancelCurrentJob();
1772
+ };
1773
+ _getData = new WeakSet();
1774
+ getData_fn = function() {
1775
+ const validationError = __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1776
+ if (validationError) {
1777
+ this.validationError = validationError;
1778
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1779
+ return;
1780
+ }
1781
+ this.validationError = void 0;
1782
+ this.cancelingGetData = false;
1783
+ __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
1784
+ this.controller.cancelCurrentJob();
1785
+ this.controller.currentJob = null;
1786
+ this.jobId = void 0;
1787
+ this.controller.jobStatusTask.run().then(() => {
1788
+ var _a;
1789
+ if ((_a = this.controller.currentJob) == null ? void 0 : _a.jobID) {
1790
+ this.jobId = this.controller.currentJob.jobID;
1791
+ }
1792
+ });
1793
+ setTimeout(() => {
1794
+ const el = this.renderRoot.querySelector("#job-status-section");
1795
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1796
+ }, 100);
1797
+ this.refineParameters = false;
1798
+ this.isHistoryView = false;
1799
+ };
1800
+ _touchAllFields = new WeakSet();
1801
+ touchAllFields_fn = function() {
1802
+ this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
1803
+ };
1804
+ _numberOfFilesFoundEstimate = new WeakSet();
1805
+ numberOfFilesFoundEstimate_fn = function() {
1806
+ return Math.floor(
1807
+ this.controller.currentJob.numInputGranules * this.controller.currentJob.progress / 100
1808
+ );
1809
+ };
1810
+ _getDocumentationLinks = new WeakSet();
1811
+ getDocumentationLinks_fn = function() {
1812
+ return this.controller.currentJob.links.filter(
1813
+ (link) => link.rel === "stac-catalog-json"
1814
+ );
1815
+ };
1816
+ _getDataLinks = new WeakSet();
1817
+ getDataLinks_fn = function() {
1818
+ return this.controller.currentJob.links.filter((link) => link.rel === "data");
1819
+ };
1820
+ _hasAtLeastOneSubsetOption = new WeakSet();
1821
+ hasAtLeastOneSubsetOption_fn = function() {
1822
+ var _a, _b, _c, _d;
1823
+ return ((_a = this.collectionWithServices) == null ? void 0 : _a.bboxSubset) || ((_b = this.collectionWithServices) == null ? void 0 : _b.shapeSubset) || ((_c = this.collectionWithServices) == null ? void 0 : _c.variableSubset) || ((_d = this.collectionWithServices) == null ? void 0 : _d.temporalSubset);
1824
+ };
1825
+ _hasSpatialSubset = new WeakSet();
1826
+ hasSpatialSubset_fn = function() {
1827
+ var _a, _b;
1828
+ return ((_a = this.collectionWithServices) == null ? void 0 : _a.bboxSubset) || ((_b = this.collectionWithServices) == null ? void 0 : _b.shapeSubset);
1829
+ };
1830
+ _renderJobMessage = new WeakSet();
1831
+ renderJobMessage_fn = function() {
1832
+ const warningStatuses = [
1833
+ "canceled" /* CANCELED */,
1834
+ "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
1835
+ "running_with_errors" /* RUNNING_WITH_ERRORS */
1836
+ ];
1837
+ const errorStatuses = ["failed" /* FAILED */];
1838
+ let type = "normal";
1839
+ if (warningStatuses.includes(this.controller.currentJob.status)) {
1840
+ type = "warning";
1841
+ } else if (errorStatuses.includes(this.controller.currentJob.status)) {
1842
+ type = "error";
1843
+ }
1844
+ let color, bg;
1845
+ if (type === "error") {
1846
+ color = "#dc3545";
1847
+ bg = "#f8d7da";
1848
+ } else if (type === "warning") {
1849
+ color = "#856404";
1850
+ bg = "#fff3cd";
1851
+ } else {
1852
+ color = "#555";
1853
+ bg = "#f8f9fa";
1854
+ }
1855
+ return html`
1856
+ <div
1857
+ style="
1858
+ margin: 24px 0 16px 0;
1859
+ padding: 16px 20px;
1860
+ border-radius: 6px;
1861
+ background: ${bg};
1862
+ color: ${color};
1863
+ border: 1px solid ${color}22;
1864
+ "
1865
+ >
1866
+ ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
1867
+ </div>
1868
+ `;
1869
+ };
1870
+ _getJobMessageText = new WeakSet();
1871
+ getJobMessageText_fn = function() {
1872
+ var _a;
1873
+ return (_a = this.controller.currentJob) == null ? void 0 : _a.message.replace(
1874
+ /\b(The job|the job|job|Job)\b/g,
1875
+ (match) => {
1876
+ switch (match) {
1877
+ case "The job":
1878
+ return "Your request";
1879
+ case "the job":
1880
+ return "Your Request";
1881
+ case "job":
1882
+ return "request";
1883
+ case "Job":
1884
+ return "Request";
1885
+ }
1886
+ return match;
1887
+ }
1888
+ );
1889
+ };
1890
+ _estimateJobSize = new WeakSet();
1891
+ estimateJobSize_fn = function() {
1892
+ var _a, _b, _c, _d;
1893
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1894
+ if (!collection)
1895
+ return;
1896
+ const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1897
+ let startDate;
1898
+ let endDate;
1899
+ let links = (_b = collection.granuleCount) != null ? _b : 0;
1900
+ if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
1901
+ startDate = this.selectedDateRange.startDate;
1902
+ endDate = this.selectedDateRange.endDate;
1903
+ } else {
1904
+ startDate = (_c = this.granuleMinDate) != null ? _c : range.startDate;
1905
+ endDate = (_d = this.granuleMaxDate) != null ? _d : range.endDate;
1906
+ }
1907
+ if (!startDate || !endDate)
1908
+ return;
1909
+ const start = new Date(startDate);
1910
+ const end = new Date(endDate);
1911
+ const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
1912
+ if (range.startDate && range.endDate) {
1913
+ const availableDaysInCollection = Math.floor(
1914
+ (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
1915
+ ) + 1;
1916
+ const granulesPerDay = links / availableDaysInCollection;
1917
+ links = Math.ceil(days * granulesPerDay);
1918
+ }
1919
+ return { days, links };
1920
+ };
1921
+ _refineParameters = new WeakSet();
1922
+ refineParameters_fn = function() {
1923
+ this.refineParameters = true;
1924
+ };
1925
+ _backToSubsetOptions = new WeakSet();
1926
+ backToSubsetOptions_fn = function() {
1927
+ this.refineParameters = true;
1928
+ setTimeout(() => {
1929
+ const container = this.renderRoot.querySelector(".container");
1930
+ container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
1931
+ }, 100);
1932
+ };
1933
+ _viewRunningJob = new WeakSet();
1934
+ viewRunningJob_fn = function() {
1935
+ this.refineParameters = false;
1936
+ setTimeout(() => {
1937
+ const el = this.renderRoot.querySelector("#job-status-section");
1938
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1939
+ }, 100);
1940
+ };
1941
+ _handleDownloadSelect = new WeakSet();
1942
+ handleDownloadSelect_fn = function(event) {
1943
+ const item = event.detail.item;
1944
+ const value = item.value || item.getTextLabel();
1945
+ if (value === "file-list") {
1946
+ __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
1947
+ } else if (value === "python-script") {
1948
+ __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
1949
+ } else if (value === "earthdata-download") {
1950
+ __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
1951
+ }
1952
+ };
1953
+ _downloadLinksAsTxt = new WeakSet();
1954
+ downloadLinksAsTxt_fn = function(event) {
1955
+ var _a;
1956
+ event.stopPropagation();
1957
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1958
+ return;
1959
+ }
1960
+ const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
1961
+ if (dataLinks.length === 0) {
1962
+ return;
1963
+ }
1964
+ const content = dataLinks.map((link) => link.href).join("\n");
1965
+ const blob = new Blob([content], { type: "text/plain" });
1966
+ const url = URL.createObjectURL(blob);
1967
+ const a = document.createElement("a");
1968
+ a.href = url;
1969
+ a.download = `subset_links_${this.controller.currentJob.jobID}.txt`;
1970
+ document.body.appendChild(a);
1971
+ a.click();
1972
+ document.body.removeChild(a);
1973
+ URL.revokeObjectURL(url);
1974
+ };
1975
+ _downloadPythonScript = new WeakSet();
1976
+ downloadPythonScript_fn = async function(event) {
1977
+ var _a, _b, _c;
1978
+ event.stopPropagation();
1979
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1980
+ return;
1981
+ }
1982
+ const response = await fetch(
1983
+ getBasePath("assets/data-subsetter/download_subset_files.py.txt")
1984
+ );
1985
+ if (!response.ok) {
1986
+ alert(
1987
+ "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
1988
+ );
1989
+ }
1990
+ const content = (await response.text()).replace(/{{jobId}}/gi, this.controller.currentJob.jobID).replace(
1991
+ /{{HARMONY_ENV}}/gi,
1992
+ `Environment.${(_b = this.environment) == null ? void 0 : _b.toUpperCase()}`
1993
+ ).replace(
1994
+ /{{EARTHACCESS_ENV}}/gi,
1995
+ `earthaccess.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
1996
+ );
1997
+ const blob = new Blob([content], { type: "text/plain" });
1998
+ const url = URL.createObjectURL(blob);
1999
+ const a = document.createElement("a");
2000
+ a.href = url;
2001
+ a.download = `download_subset_files_${this.controller.currentJob.jobID}.py`;
2002
+ document.body.appendChild(a);
2003
+ a.click();
2004
+ document.body.removeChild(a);
2005
+ URL.revokeObjectURL(url);
2006
+ };
2007
+ _downloadEarthdataDownload = new WeakSet();
2008
+ downloadEarthdataDownload_fn = async function(event) {
2009
+ var _a;
2010
+ event.stopPropagation();
2011
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
2012
+ return;
2013
+ }
2014
+ alert("Sorry, Earthdata Download is not currently supported");
2015
+ };
2016
+ _handleJupyterNotebookClick = new WeakSet();
2017
+ handleJupyterNotebookClick_fn = function() {
2018
+ var _a;
2019
+ const notebook = getNotebook(this);
2020
+ console.log("sending data to JupyterLite");
2021
+ sendDataToJupyterNotebook("load-notebook", {
2022
+ filename: `subset_${(_a = this.controller.currentJob) == null ? void 0 : _a.jobID}.ipynb`,
2023
+ notebook,
2024
+ bearerToken: this.bearerToken
2025
+ });
2026
+ };
2027
+ _renderAvailableTemporalRangeSection = new WeakSet();
2028
+ renderAvailableTemporalRangeSection_fn = function() {
2029
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2030
+ if (!startDate || !endDate)
2031
+ return nothing;
2032
+ return html`
2033
+ <div class="section" style="margin-bottom: 16px;">
2034
+ <h2 class="section-title">Available Date Range</h2>
2035
+ <div style="color: #31708f; margin-top: 8px;">
2036
+ <strong>${startDate}</strong> to <strong>${endDate}</strong>
2037
+ </div>
2038
+ <div style="font-size: 0.95em; color: #666;">
2039
+ This collection does not support temporal subsetting.
2040
+ </div>
2041
+ </div>
2042
+ `;
2043
+ };
2044
+ _renderAvailableSpatialRangeSection = new WeakSet();
2045
+ renderAvailableSpatialRangeSection_fn = function() {
2046
+ var _a, _b, _c, _d, _e;
2047
+ 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;
2048
+ if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
2049
+ return nothing;
2050
+ return html`
2051
+ <div class="section" style="margin-bottom: 16px;">
2052
+ <h2 class="section-title">Available Spatial Area</h2>
2053
+ <div style="color: #31708f; margin-top: 8px;">
2054
+ ${boundingRects.map(
2055
+ (rect) => html`<div>
2056
+ <strong>Bounding Box:</strong>
2057
+ ${rect.WestBoundingCoordinate},
2058
+ ${rect.SouthBoundingCoordinate},
2059
+ ${rect.EastBoundingCoordinate},
2060
+ ${rect.NorthBoundingCoordinate}
2061
+ </div>`
2062
+ )}
2063
+ </div>
2064
+ <div style="font-size: 0.95em; color: #666;">
2065
+ This collection does not support spatial subsetting.
2066
+ </div>
2067
+ </div>
2068
+ `;
2069
+ };
2070
+ _renderDataAccessModeSelection = new WeakSet();
2071
+ renderDataAccessModeSelection_fn = function() {
2072
+ if (!this.controller.hasGranules) {
2073
+ return nothing;
2074
+ }
2075
+ return html`
2076
+ <div class="mode-selection">
2077
+ <div class="mode-options">
2078
+ <label
2079
+ class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
2080
+ >
2081
+ <input
2082
+ type="radio"
2083
+ name="data-access-mode"
2084
+ value="original"
2085
+ .checked=${this.dataAccessMode === "original"}
2086
+ @change=${() => this.dataAccessMode = "original"}
2087
+ />
2088
+ <div class="mode-content">
2089
+ <div class="mode-title">Get Original Files</div>
2090
+ <div class="mode-description">
2091
+ Filter file links directly from the archive.
2092
+ </div>
2093
+ </div>
2094
+ </label>
2095
+
2096
+ <label
2097
+ class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
2098
+ >
2099
+ <input
2100
+ type="radio"
2101
+ name="data-access-mode"
2102
+ value="subset"
2103
+ .checked=${this.dataAccessMode === "subset"}
2104
+ @change=${() => this.dataAccessMode = "subset"}
2105
+ />
2106
+ <div class="mode-content">
2107
+ <div class="mode-title">Subset Data</div>
2108
+ <div class="mode-description">
2109
+ Subset the data to your specific needs.
2110
+ </div>
2111
+ </div>
2112
+ </label>
2113
+ </div>
2114
+ </div>
2115
+ `;
2116
+ };
2117
+ _isGiovanniFormat = new WeakSet();
2118
+ isGiovanniFormat_fn = function() {
2119
+ return this.selectedFormat === "text/csv" || this.selectedFormat === "image/tiff";
2120
+ };
2121
+ _getGiovanniValidationError = new WeakSet();
2122
+ getGiovanniValidationError_fn = function() {
2123
+ if (!__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this)) {
2124
+ return null;
2125
+ }
2126
+ if (this.selectedVariables.length === 0) {
2127
+ return "Please select a variable to subset.";
2128
+ }
2129
+ if (this.selectedVariables.length > 1) {
2130
+ return "The selected format only supports subsetting one variable at a time.";
2131
+ }
2132
+ return null;
2133
+ };
2134
+ TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
2135
+ TerraDataSubsetter.dependencies = {
2136
+ "terra-accordion": TerraAccordion,
2137
+ "terra-date-picker": TerraDatePicker,
2138
+ "terra-icon": TerraIcon,
2139
+ "terra-input": TerraInput,
2140
+ "terra-spatial-picker": TerraSpatialPicker,
2141
+ "terra-login": TerraLogin,
2142
+ "terra-loader": TerraLoader,
2143
+ "terra-data-access": TerraDataAccess,
2144
+ "terra-dialog": TerraDialog,
2145
+ "terra-dropdown": TerraDropdown,
2146
+ "terra-menu": TerraMenu,
2147
+ "terra-menu-item": TerraMenuItem,
2148
+ "terra-button": TerraButton,
2149
+ "terra-alert": TerraAlert
2150
+ };
2151
+ __decorateClass([
2152
+ property({ reflect: true, attribute: "collection-entry-id" })
2153
+ ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
2154
+ __decorateClass([
2155
+ property({ reflect: true, attribute: "short-name" })
2156
+ ], TerraDataSubsetter.prototype, "shortName", 2);
2157
+ __decorateClass([
2158
+ property({ reflect: true, attribute: "version" })
2159
+ ], TerraDataSubsetter.prototype, "version", 2);
2160
+ __decorateClass([
2161
+ property({ reflect: true, type: Boolean, attribute: "show-collection-search" })
2162
+ ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
2163
+ __decorateClass([
2164
+ property({ reflect: true, type: Boolean, attribute: "show-history-panel" })
2165
+ ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
2166
+ __decorateClass([
2167
+ property({ reflect: true, attribute: "job-id" })
2168
+ ], TerraDataSubsetter.prototype, "jobId", 2);
2169
+ __decorateClass([
2170
+ property({ attribute: "bearer-token" })
2171
+ ], TerraDataSubsetter.prototype, "bearerToken", 2);
2172
+ __decorateClass([
2173
+ property({ reflect: true })
2174
+ ], TerraDataSubsetter.prototype, "dialog", 2);
2175
+ __decorateClass([
2176
+ property({ reflect: true, type: Boolean, attribute: "is-history-view" })
2177
+ ], TerraDataSubsetter.prototype, "isHistoryView", 2);
2178
+ __decorateClass([
2179
+ state()
2180
+ ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
2181
+ __decorateClass([
2182
+ state()
2183
+ ], TerraDataSubsetter.prototype, "variableDetails", 2);
2184
+ __decorateClass([
2185
+ state()
2186
+ ], TerraDataSubsetter.prototype, "selectedVariables", 2);
2187
+ __decorateClass([
2188
+ state()
2189
+ ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
2190
+ __decorateClass([
2191
+ state()
2192
+ ], TerraDataSubsetter.prototype, "variableFilterText", 2);
2193
+ __decorateClass([
2194
+ state()
2195
+ ], TerraDataSubsetter.prototype, "touchedFields", 2);
2196
+ __decorateClass([
2197
+ state()
2198
+ ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2199
+ __decorateClass([
2200
+ state()
2201
+ ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2202
+ __decorateClass([
2203
+ state()
2204
+ ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2205
+ __decorateClass([
2206
+ state()
2207
+ ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2208
+ __decorateClass([
2209
+ state()
2210
+ ], TerraDataSubsetter.prototype, "selectedTab", 2);
2211
+ __decorateClass([
2212
+ state()
2213
+ ], TerraDataSubsetter.prototype, "refineParameters", 2);
2214
+ __decorateClass([
2215
+ state()
2216
+ ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2217
+ __decorateClass([
2218
+ state()
2219
+ ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2220
+ __decorateClass([
2221
+ state()
2222
+ ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2223
+ __decorateClass([
2224
+ state()
2225
+ ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2226
+ __decorateClass([
2227
+ state()
2228
+ ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2229
+ __decorateClass([
2230
+ state()
2231
+ ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2232
+ __decorateClass([
2233
+ state()
2234
+ ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2235
+ __decorateClass([
2236
+ state()
2237
+ ], TerraDataSubsetter.prototype, "validationError", 2);
2238
+ __decorateClass([
2239
+ state()
2240
+ ], TerraDataSubsetter.prototype, "granuleMinDate", 2);
2241
+ __decorateClass([
2242
+ state()
2243
+ ], TerraDataSubsetter.prototype, "granuleMaxDate", 2);
2244
+ __decorateClass([
2245
+ state()
2246
+ ], TerraDataSubsetter.prototype, "giovanniConfiguredVariables", 2);
2247
+ __decorateClass([
2248
+ query('[part~="spatial-picker"]')
2249
+ ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2250
+ __decorateClass([
2251
+ query("terra-dialog")
2252
+ ], TerraDataSubsetter.prototype, "dialogElement", 2);
2253
+ __decorateClass([
2254
+ watch(["jobId"], { waitUntilFirstUpdate: true })
2255
+ ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2256
+ __decorateClass([
2257
+ watch(["shortName", "version"])
2258
+ ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2259
+ __decorateClass([
2260
+ watch("collectionEntryId", { waitUntilFirstUpdate: true })
2261
+ ], TerraDataSubsetter.prototype, "collectionEntryIdChanged", 1);
2262
+ __decorateClass([
2263
+ watch(["collectionWithServices"])
2264
+ ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2265
+ __decorateClass([
2266
+ watch(["granuleMinDate", "granuleMaxDate"])
2267
+ ], TerraDataSubsetter.prototype, "granuleDatesChanged", 1);
2268
+ __decorateClass([
2269
+ watch("selectedFormat")
2270
+ ], TerraDataSubsetter.prototype, "selectedFormatChanged", 1);
2271
+ __decorateClass([
2272
+ debounce(500)
2273
+ ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2274
+
2275
+ export {
2276
+ TerraDataSubsetter
2277
+ };