@nasa-terra/components 0.0.137 → 0.0.139

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 (1236) hide show
  1. package/cdn/chunks/chunk.2B6TL25H.js +19 -0
  2. package/cdn/chunks/chunk.2FIXNDLC.js +251 -0
  3. package/cdn/chunks/chunk.2JCOSZFR.js +904 -0
  4. package/cdn/chunks/chunk.2MHHVQSB.js +29 -0
  5. package/cdn/chunks/chunk.33ULU7GO.js +491 -0
  6. package/cdn/chunks/chunk.345AQZWM.js +19 -0
  7. package/cdn/chunks/chunk.34RZT4O6.js +29 -0
  8. package/cdn/chunks/chunk.3FBMVJTN.js +29 -0
  9. package/cdn/chunks/chunk.3JDGYF5R.js +36 -0
  10. package/cdn/chunks/chunk.3JUFEPIK.js +29 -0
  11. package/cdn/chunks/chunk.3KHAS7JP.js +19 -0
  12. package/cdn/chunks/chunk.3L5XNF4T.js +234 -0
  13. package/cdn/chunks/chunk.4B6VMFFW.js +19 -0
  14. package/cdn/chunks/chunk.4CH5UZQH.js +19 -0
  15. package/cdn/chunks/chunk.4CPFXOHY.js +19 -0
  16. package/cdn/chunks/chunk.4LE5R3PR.js +29 -0
  17. package/cdn/chunks/chunk.4N2A5YBK.js +472 -0
  18. package/cdn/chunks/chunk.4UFYI2TK.js +10718 -0
  19. package/cdn/chunks/chunk.5A3HYRPD.js +224 -0
  20. package/cdn/chunks/chunk.5BGHAY2N.js +35 -0
  21. package/cdn/chunks/chunk.5EJ2BIR7.js +32 -0
  22. package/cdn/chunks/chunk.5K7UOJJ2.js +32 -0
  23. package/cdn/chunks/chunk.5NWMRQKE.js +32 -0
  24. package/cdn/chunks/chunk.5SZU56B7.js +19 -0
  25. package/cdn/chunks/chunk.5ULQ5ZPE.js +19 -0
  26. package/cdn/chunks/chunk.5XFTJ654.js +132 -0
  27. package/cdn/chunks/chunk.6KNI6BO4.js +29 -0
  28. package/cdn/chunks/chunk.6LSZVT44.js +32 -0
  29. package/cdn/chunks/chunk.6P475YE7.js +32 -0
  30. package/cdn/chunks/chunk.6TK5NIXR.js +538 -0
  31. package/cdn/chunks/chunk.6VCBC23Q.js +19 -0
  32. package/cdn/chunks/chunk.6YF3W7LT.js +19 -0
  33. package/cdn/chunks/chunk.6YOCEYSK.js +32 -0
  34. package/cdn/chunks/chunk.77TXG6FM.js +188 -0
  35. package/cdn/chunks/chunk.7NFYZMNG.js +19 -0
  36. package/cdn/chunks/chunk.7PZGJRJ4.js +264 -0
  37. package/cdn/chunks/chunk.7RCNCS4U.js +198 -0
  38. package/cdn/chunks/chunk.A3HR5UMX.js +19 -0
  39. package/cdn/chunks/chunk.A44ASB2E.js +19 -0
  40. package/cdn/chunks/chunk.AHOS6VUF.js +155 -0
  41. package/cdn/chunks/chunk.AJW5O45L.js +29 -0
  42. package/cdn/chunks/chunk.APDRZBCN.js +34 -0
  43. package/cdn/chunks/chunk.AT7GXBD2.js +19 -0
  44. package/cdn/chunks/chunk.B7436PBE.js +99 -0
  45. package/cdn/chunks/chunk.BAXXFOKW.js +29 -0
  46. package/cdn/chunks/chunk.BEQD5VET.js +477 -0
  47. package/cdn/chunks/chunk.BGEG3ILU.js +19 -0
  48. package/cdn/chunks/chunk.BIL4QU4I.js +158 -0
  49. package/cdn/chunks/chunk.BKJBB7P6.js +19 -0
  50. package/cdn/chunks/chunk.BRFX2VMD.js +86 -0
  51. package/cdn/chunks/chunk.C2NSEJUB.js +29 -0
  52. package/cdn/chunks/chunk.C2OZB7DE.js +19 -0
  53. package/cdn/chunks/chunk.C5HGW4V2.js +276 -0
  54. package/cdn/chunks/chunk.C5XMJ6GC.js +309 -0
  55. package/cdn/chunks/chunk.C6LHPBOI.js +1966 -0
  56. package/cdn/chunks/chunk.CA7RFX6N.js +359 -0
  57. package/cdn/chunks/chunk.CGX2AIUE.js +29 -0
  58. package/cdn/chunks/chunk.CI2GQALQ.js +78 -0
  59. package/cdn/chunks/chunk.CQ424ME5.js +2073 -0
  60. package/cdn/chunks/chunk.CV5XFSGK.js +19 -0
  61. package/cdn/chunks/chunk.D5R3LEZU.js +49 -0
  62. package/cdn/chunks/chunk.D6CMNUDX.js +954 -0
  63. package/cdn/chunks/chunk.D6L5MXGZ.js +37 -0
  64. package/cdn/chunks/chunk.DAQXODMO.js +19 -0
  65. package/cdn/chunks/chunk.DCLC7OGT.js +29 -0
  66. package/cdn/chunks/chunk.DHNU3YDL.js +19 -0
  67. package/cdn/chunks/chunk.DJYUXTUP.js +1803 -0
  68. package/cdn/chunks/chunk.DLPRJG7W.js +32 -0
  69. package/cdn/chunks/chunk.DNWNXGQY.js +19 -0
  70. package/cdn/chunks/chunk.DYMNEARK.js +29 -0
  71. package/cdn/chunks/chunk.E3W5BATW.js +60 -0
  72. package/cdn/chunks/chunk.E6OTJQA2.js +615 -0
  73. package/cdn/chunks/chunk.EEL5QODT.js +41 -0
  74. package/cdn/chunks/chunk.EHOIWBWJ.js +302 -0
  75. package/cdn/chunks/chunk.EI2XTC4O.js +278 -0
  76. package/cdn/chunks/chunk.EQZREVVY.js +29 -0
  77. package/cdn/chunks/chunk.EVBUT74B.js +19 -0
  78. package/cdn/chunks/chunk.FBI2TYXB.js +19 -0
  79. package/cdn/chunks/chunk.FG2ISGVU.js +660 -0
  80. package/cdn/chunks/chunk.FLUN2UKH.js +372 -0
  81. package/cdn/chunks/chunk.FTQ5KMTQ.js +151 -0
  82. package/cdn/chunks/chunk.FU6DSPVY.js +657 -0
  83. package/cdn/chunks/chunk.G5YHIN6F.js +104 -0
  84. package/cdn/chunks/chunk.GDJPXXU2.js +286 -0
  85. package/cdn/chunks/chunk.GIFNSZH6.js +39 -0
  86. package/cdn/chunks/chunk.GJLQFN2E.js +29 -0
  87. package/cdn/chunks/chunk.GKLZDT4V.js +229 -0
  88. package/cdn/chunks/chunk.GR3J7ERT.js +19 -0
  89. package/cdn/chunks/chunk.GZI4VIBC.js +19 -0
  90. package/cdn/chunks/chunk.GZTLYMW7.js +29 -0
  91. package/cdn/chunks/chunk.H3I32IFN.js +19 -0
  92. package/cdn/chunks/chunk.HBVF6X6O.js +29 -0
  93. package/cdn/chunks/chunk.HPVMDHB6.js +19 -0
  94. package/cdn/chunks/chunk.HZR3QQV5.js +19 -0
  95. package/cdn/chunks/chunk.I33GZT57.js +19 -0
  96. package/cdn/chunks/chunk.I3MKG2KR.js +92 -0
  97. package/cdn/chunks/chunk.IDIC52JU.js +19 -0
  98. package/cdn/chunks/chunk.IMOHWICB.js +36 -0
  99. package/cdn/chunks/chunk.IN3SYHXS.js +19 -0
  100. package/cdn/chunks/chunk.ISFWCXRF.js +599 -0
  101. package/cdn/chunks/chunk.IZ3GPCEW.js +33860 -0
  102. package/cdn/chunks/chunk.IZV5Q7KV.js +74 -0
  103. package/cdn/chunks/chunk.J2K53JZV.js +34 -0
  104. package/cdn/chunks/chunk.J75QLCBQ.js +19 -0
  105. package/cdn/chunks/chunk.JAG3QJFT.js +134 -0
  106. package/cdn/chunks/chunk.JD3LSW7U.js +29 -0
  107. package/cdn/chunks/chunk.JGC7PGMS.js +19 -0
  108. package/cdn/chunks/chunk.JHZDDMUY.js +29 -0
  109. package/cdn/chunks/chunk.JLLXBG72.js +19 -0
  110. package/cdn/chunks/chunk.JNZU345Q.js +55346 -0
  111. package/cdn/chunks/chunk.JOH7WPM6.js +19 -0
  112. package/cdn/chunks/chunk.JOP5IKGK.js +29 -0
  113. package/cdn/chunks/chunk.JSLMWT5S.js +19 -0
  114. package/cdn/chunks/chunk.JX5TX7XM.js +524 -0
  115. package/cdn/chunks/chunk.KG6VRPUL.js +610 -0
  116. package/cdn/chunks/chunk.KH7BIODL.js +29 -0
  117. package/cdn/chunks/chunk.KLZ3WTOX.js +19 -0
  118. package/cdn/chunks/chunk.KQC463Q4.js +170 -0
  119. package/cdn/chunks/chunk.LDVBSHNI.js +29 -0
  120. package/cdn/chunks/chunk.LPESW6XC.js +19 -0
  121. package/cdn/chunks/chunk.LS7YQA7Q.js +19 -0
  122. package/cdn/chunks/chunk.LTJFOFDO.js +19 -0
  123. package/cdn/chunks/chunk.LTTBS7JX.js +259 -0
  124. package/cdn/chunks/chunk.LYIM3DGX.js +35 -0
  125. package/cdn/chunks/chunk.M3AZOEG5.js +33 -0
  126. package/cdn/chunks/chunk.MEMDT5D6.js +33 -0
  127. package/cdn/chunks/chunk.N2FBKLVM.js +36 -0
  128. package/cdn/chunks/chunk.NFP4XN3M.js +19 -0
  129. package/cdn/chunks/chunk.NJ37BF2N.js +29 -0
  130. package/cdn/chunks/chunk.NNJTL2WE.js +32 -0
  131. package/cdn/chunks/chunk.NOEET5Z4.js +32 -0
  132. package/cdn/chunks/chunk.NPTP4N36.js +165 -0
  133. package/cdn/chunks/chunk.O2MNTOTN.js +19 -0
  134. package/cdn/chunks/chunk.OD5OVBHN.js +19 -0
  135. package/cdn/chunks/chunk.OFE5O3W5.js +35 -0
  136. package/cdn/chunks/chunk.OLXTWZ2Y.js +19 -0
  137. package/cdn/chunks/chunk.OTPQCBBK.js +36 -0
  138. package/cdn/chunks/chunk.OVEGRLIS.js +19 -0
  139. package/cdn/chunks/chunk.OVTNQSJY.js +29 -0
  140. package/cdn/chunks/chunk.OW4UIENR.js +34 -0
  141. package/cdn/chunks/chunk.OWFXU56I.js +47 -0
  142. package/cdn/chunks/chunk.OZRSX7RA.js +230 -0
  143. package/cdn/chunks/chunk.PKYJISOI.js +67 -0
  144. package/cdn/chunks/chunk.PKYJN5TL.js +132 -0
  145. package/cdn/chunks/chunk.PMXXCLGN.js +99 -0
  146. package/cdn/chunks/chunk.QJG3KXAL.js +754 -0
  147. package/cdn/chunks/chunk.QQQCEJ3P.js +19 -0
  148. package/cdn/chunks/chunk.QTCUUPJT.js +32 -0
  149. package/cdn/chunks/chunk.QTWGHAMX.js +231 -0
  150. package/cdn/chunks/chunk.R62X6UTY.js +71 -0
  151. package/cdn/chunks/chunk.RBI4SUTP.js +29 -0
  152. package/cdn/chunks/chunk.RF5JQS6G.js +19 -0
  153. package/cdn/chunks/chunk.RI2OOOHA.js +35 -0
  154. package/cdn/chunks/chunk.RJDT2HQD.js +943 -0
  155. package/cdn/chunks/chunk.RPTJEEJR.js +19 -0
  156. package/cdn/chunks/chunk.RRWPHI7Y.js +19 -0
  157. package/cdn/chunks/chunk.S4AGLUO5.js +460 -0
  158. package/cdn/chunks/chunk.SACSIPDE.js +93 -0
  159. package/cdn/chunks/chunk.SBOWWLCP.js +29 -0
  160. package/cdn/chunks/chunk.SDD4Y6YW.js +29 -0
  161. package/cdn/chunks/chunk.SF5YSOET.js +621 -0
  162. package/cdn/chunks/chunk.SOGAAP43.js +29 -0
  163. package/cdn/chunks/chunk.T4J7SCOW.js +19 -0
  164. package/cdn/chunks/chunk.T6VYAQOK.js +284 -0
  165. package/cdn/chunks/chunk.T7Y2NRB3.js +19 -0
  166. package/cdn/chunks/chunk.TGEAFYSD.js +32 -0
  167. package/cdn/chunks/chunk.TLGEOSTJ.js +33 -0
  168. package/cdn/chunks/chunk.TRPJ2WOJ.js +60 -0
  169. package/cdn/chunks/chunk.TRRLACND.js +83 -0
  170. package/cdn/chunks/chunk.TTL2D2K3.js +33 -0
  171. package/cdn/chunks/chunk.TTZRS2Z2.js +32 -0
  172. package/cdn/chunks/chunk.TW2COE3D.js +113 -0
  173. package/cdn/chunks/chunk.U4BF3ZWF.js +190 -0
  174. package/cdn/chunks/chunk.UNEVE6A4.js +435 -0
  175. package/cdn/chunks/chunk.UPAWY7GC.js +62 -0
  176. package/cdn/chunks/chunk.UT54KXFP.js +19 -0
  177. package/cdn/chunks/chunk.UTEDJXOP.js +82 -0
  178. package/cdn/chunks/chunk.UUUUK3QA.js +123 -0
  179. package/cdn/chunks/chunk.UXIMEXHC.js +37 -0
  180. package/cdn/chunks/chunk.VIW62643.js +29 -0
  181. package/cdn/chunks/chunk.VM2TQ3LY.js +19 -0
  182. package/cdn/chunks/chunk.VOCQHX7F.js +32 -0
  183. package/cdn/chunks/chunk.VS2VJKT2.js +19 -0
  184. package/cdn/chunks/chunk.WLXVWP7V.js +19 -0
  185. package/cdn/chunks/chunk.WOEBW5PN.js +19 -0
  186. package/cdn/chunks/chunk.WSJODP2O.js +30 -0
  187. package/cdn/chunks/chunk.XQJPYZPB.js +32 -0
  188. package/cdn/chunks/chunk.XTDFLS7Z.js +33 -0
  189. package/cdn/chunks/chunk.XZQ44RGE.js +189 -0
  190. package/cdn/chunks/chunk.YH2RHLYO.js +19 -0
  191. package/cdn/chunks/chunk.YHFXH4XR.js +19 -0
  192. package/cdn/chunks/chunk.YID2PD4H.js +83 -0
  193. package/cdn/chunks/chunk.YJL3JAIE.js +19 -0
  194. package/cdn/chunks/chunk.YMBKFE6C.js +19 -0
  195. package/cdn/chunks/chunk.YQ73WBVE.js +29 -0
  196. package/cdn/chunks/chunk.YQF3O4M6.js +240 -0
  197. package/cdn/chunks/chunk.ZDTOKUHN.js +19 -0
  198. package/cdn/chunks/chunk.ZGAJXSLY.js +32 -0
  199. package/cdn/chunks/chunk.ZM3NLLMD.js +357 -0
  200. package/cdn/chunks/chunk.ZVC2TYWY.js +106 -0
  201. package/cdn/components/accordion/accordion.component.js +5 -5
  202. package/cdn/components/accordion/accordion.js +6 -6
  203. package/cdn/components/alert/alert.component.js +4 -4
  204. package/cdn/components/alert/alert.js +5 -5
  205. package/cdn/components/avatar/avatar.component.js +5 -5
  206. package/cdn/components/avatar/avatar.js +6 -6
  207. package/cdn/components/badge/badge.component.js +3 -3
  208. package/cdn/components/badge/badge.js +4 -4
  209. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  210. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  211. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  212. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  213. package/cdn/components/browse-variables/browse-variables.component.js +13 -13
  214. package/cdn/components/browse-variables/browse-variables.js +14 -14
  215. package/cdn/components/button/button.component.d.ts +6 -0
  216. package/cdn/components/button/button.component.js +6 -6
  217. package/cdn/components/button/button.js +7 -7
  218. package/cdn/components/button-group/button-group.component.js +2 -2
  219. package/cdn/components/button-group/button-group.js +3 -3
  220. package/cdn/components/caption/caption.component.js +2 -2
  221. package/cdn/components/caption/caption.js +3 -3
  222. package/cdn/components/card/card.component.js +2 -2
  223. package/cdn/components/card/card.js +3 -3
  224. package/cdn/components/checkbox/checkbox.component.js +6 -6
  225. package/cdn/components/checkbox/checkbox.js +7 -7
  226. package/cdn/components/chip/chip.component.d.ts +2 -0
  227. package/cdn/components/chip/chip.component.js +2 -2
  228. package/cdn/components/chip/chip.js +3 -3
  229. package/cdn/components/combobox/combobox.component.js +3 -3
  230. package/cdn/components/combobox/combobox.js +4 -4
  231. package/cdn/components/data-access/data-access.component.d.ts +3 -1
  232. package/cdn/components/data-access/data-access.component.js +27 -26
  233. package/cdn/components/data-access/data-access.controller.d.ts +8 -0
  234. package/cdn/components/data-access/data-access.controller.js +1 -1
  235. package/cdn/components/data-access/data-access.js +28 -27
  236. package/cdn/components/data-access/data-access.styles.js +1 -1
  237. package/cdn/components/data-access/notebooks/data-access-notebook.js +3 -77
  238. package/cdn/components/data-grid/data-grid.component.js +3 -3
  239. package/cdn/components/data-grid/data-grid.js +4 -4
  240. package/cdn/components/data-rods/data-rods.component.js +35 -35
  241. package/cdn/components/data-rods/data-rods.js +36 -36
  242. package/cdn/components/data-subsetter/data-subsetter.component.js +39 -38
  243. package/cdn/components/data-subsetter/data-subsetter.controller.js +1 -1
  244. package/cdn/components/data-subsetter/data-subsetter.js +40 -39
  245. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  246. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +40 -39
  247. package/cdn/components/data-subsetter-history/data-subsetter-history.js +41 -40
  248. package/cdn/components/date-picker/date-picker.component.js +11 -11
  249. package/cdn/components/date-picker/date-picker.js +12 -12
  250. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  251. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  252. package/cdn/components/dialog/dialog.component.js +8 -8
  253. package/cdn/components/dialog/dialog.js +9 -9
  254. package/cdn/components/divider/divider.component.js +2 -2
  255. package/cdn/components/divider/divider.js +3 -3
  256. package/cdn/components/dropdown/dropdown.component.js +4 -4
  257. package/cdn/components/dropdown/dropdown.js +5 -5
  258. package/cdn/components/earthdata-login/earthdata-login.component.js +13 -13
  259. package/cdn/components/earthdata-login/earthdata-login.js +14 -14
  260. package/cdn/components/file-upload/file-upload.component.js +2 -2
  261. package/cdn/components/file-upload/file-upload.js +3 -3
  262. package/cdn/components/icon/icon.component.js +4 -4
  263. package/cdn/components/icon/icon.js +5 -5
  264. package/cdn/components/input/input.component.js +6 -6
  265. package/cdn/components/input/input.js +7 -7
  266. package/cdn/components/loader/loader.component.js +2 -2
  267. package/cdn/components/loader/loader.js +3 -3
  268. package/cdn/components/login/login.component.js +11 -11
  269. package/cdn/components/login/login.js +12 -12
  270. package/cdn/components/map/leaflet-utils.d.ts +1 -0
  271. package/cdn/components/map/leaflet-utils.js +1 -1
  272. package/cdn/components/map/map.component.d.ts +4 -0
  273. package/cdn/components/map/map.component.js +5 -5
  274. package/cdn/components/map/map.js +6 -6
  275. package/cdn/components/menu/menu.component.js +2 -2
  276. package/cdn/components/menu/menu.js +3 -3
  277. package/cdn/components/menu-item/menu-item.component.js +8 -8
  278. package/cdn/components/menu-item/menu-item.js +9 -9
  279. package/cdn/components/menu-item/submenu-controller.js +1 -1
  280. package/cdn/components/option/option.component.js +5 -5
  281. package/cdn/components/option/option.js +6 -6
  282. package/cdn/components/pagination/pagination.component.js +5 -5
  283. package/cdn/components/pagination/pagination.js +6 -6
  284. package/cdn/components/plot/plot.component.js +3 -3
  285. package/cdn/components/plot/plot.js +4 -4
  286. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  287. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  288. package/cdn/components/plot-toolbar/plot-toolbar.component.js +13 -13
  289. package/cdn/components/plot-toolbar/plot-toolbar.js +14 -14
  290. package/cdn/components/popup/popup.component.js +2 -2
  291. package/cdn/components/popup/popup.js +3 -3
  292. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  293. package/cdn/components/progress-bar/progress-bar.js +3 -3
  294. package/cdn/components/radio/radio.component.js +3 -3
  295. package/cdn/components/radio/radio.js +4 -4
  296. package/cdn/components/radio-group/radio-group.component.js +3 -3
  297. package/cdn/components/radio-group/radio-group.js +4 -4
  298. package/cdn/components/scroll-hint/scroll-hint.component.js +5 -5
  299. package/cdn/components/scroll-hint/scroll-hint.js +6 -6
  300. package/cdn/components/select/select.component.js +9 -9
  301. package/cdn/components/select/select.js +10 -10
  302. package/cdn/components/site-header/site-header.component.js +6 -6
  303. package/cdn/components/site-header/site-header.js +6 -6
  304. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  305. package/cdn/components/site-navigation/site-navigation.js +2 -2
  306. package/cdn/components/skeleton/skeleton.component.js +2 -2
  307. package/cdn/components/skeleton/skeleton.js +3 -3
  308. package/cdn/components/slider/slider.component.js +2 -2
  309. package/cdn/components/slider/slider.js +3 -3
  310. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +4 -0
  311. package/cdn/components/spatial-picker/spatial-picker.component.js +13 -13
  312. package/cdn/components/spatial-picker/spatial-picker.js +14 -14
  313. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  314. package/cdn/components/status-indicator/status-indicator.js +3 -3
  315. package/cdn/components/stepper/stepper.component.js +2 -2
  316. package/cdn/components/stepper/stepper.js +3 -3
  317. package/cdn/components/stepper-step/stepper-step.component.js +5 -5
  318. package/cdn/components/stepper-step/stepper-step.js +6 -6
  319. package/cdn/components/tab/tab.component.js +5 -5
  320. package/cdn/components/tab/tab.js +6 -6
  321. package/cdn/components/tab-panel/tab-panel.component.js +3 -3
  322. package/cdn/components/tab-panel/tab-panel.js +4 -4
  323. package/cdn/components/tabs/tabs.component.js +5 -5
  324. package/cdn/components/tabs/tabs.js +6 -6
  325. package/cdn/components/tag/tag.component.js +5 -5
  326. package/cdn/components/tag/tag.js +6 -6
  327. package/cdn/components/textarea/textarea.component.js +4 -4
  328. package/cdn/components/textarea/textarea.js +5 -5
  329. package/cdn/components/time-average-map/time-average-map.component.js +21 -21
  330. package/cdn/components/time-average-map/time-average-map.controller.js +2 -2
  331. package/cdn/components/time-average-map/time-average-map.js +22 -22
  332. package/cdn/components/time-series/time-series.component.js +22 -22
  333. package/cdn/components/time-series/time-series.controller.js +2 -2
  334. package/cdn/components/time-series/time-series.js +23 -23
  335. package/cdn/components/toast/toast.component.js +5 -5
  336. package/cdn/components/toast/toast.js +6 -6
  337. package/cdn/components/toggle/toggle.component.js +4 -4
  338. package/cdn/components/toggle/toggle.js +5 -5
  339. package/cdn/components/tooltip/tooltip.component.js +4 -4
  340. package/cdn/components/tooltip/tooltip.js +5 -5
  341. package/cdn/components/variable-combobox/variable-combobox.component.js +10 -10
  342. package/cdn/components/variable-combobox/variable-combobox.js +11 -11
  343. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
  344. package/cdn/components/variable-keyword-search/variable-keyword-search.js +11 -11
  345. package/cdn/custom-elements.json +4170 -4065
  346. package/cdn/react/accordion/index.js +6 -6
  347. package/cdn/react/alert/index.js +5 -5
  348. package/cdn/react/avatar/index.js +6 -6
  349. package/cdn/react/badge/index.js +4 -4
  350. package/cdn/react/breadcrumb/index.js +3 -3
  351. package/cdn/react/breadcrumbs/index.js +3 -3
  352. package/cdn/react/browse-variables/index.js +14 -14
  353. package/cdn/react/button/index.d.ts +12 -1
  354. package/cdn/react/button/index.js +7 -7
  355. package/cdn/react/button-group/index.js +3 -3
  356. package/cdn/react/caption/index.js +3 -3
  357. package/cdn/react/card/index.js +3 -3
  358. package/cdn/react/checkbox/index.js +7 -7
  359. package/cdn/react/chip/index.d.ts +8 -1
  360. package/cdn/react/chip/index.js +3 -3
  361. package/cdn/react/combobox/index.js +4 -4
  362. package/cdn/react/data-access/index.js +28 -27
  363. package/cdn/react/data-grid/index.js +4 -4
  364. package/cdn/react/data-rods/index.js +36 -36
  365. package/cdn/react/data-subsetter/index.js +40 -39
  366. package/cdn/react/data-subsetter-history/index.js +41 -40
  367. package/cdn/react/date-picker/index.js +12 -12
  368. package/cdn/react/date-range-slider/index.js +3 -3
  369. package/cdn/react/dialog/index.js +9 -9
  370. package/cdn/react/divider/index.js +3 -3
  371. package/cdn/react/dropdown/index.js +5 -5
  372. package/cdn/react/earthdata-login/index.js +14 -14
  373. package/cdn/react/file-upload/index.js +3 -3
  374. package/cdn/react/icon/index.js +5 -5
  375. package/cdn/react/index.d.ts +11 -11
  376. package/cdn/react/index.js +200 -199
  377. package/cdn/react/input/index.js +7 -7
  378. package/cdn/react/loader/index.js +3 -3
  379. package/cdn/react/login/index.js +12 -12
  380. package/cdn/react/map/index.js +6 -6
  381. package/cdn/react/menu/index.js +3 -3
  382. package/cdn/react/menu-item/index.js +9 -9
  383. package/cdn/react/option/index.js +6 -6
  384. package/cdn/react/pagination/index.js +6 -6
  385. package/cdn/react/plot/index.js +4 -4
  386. package/cdn/react/plot-toolbar/index.js +14 -14
  387. package/cdn/react/popup/index.js +3 -3
  388. package/cdn/react/progress-bar/index.js +3 -3
  389. package/cdn/react/radio/index.js +4 -4
  390. package/cdn/react/radio-group/index.js +4 -4
  391. package/cdn/react/scroll-hint/index.js +6 -6
  392. package/cdn/react/select/index.js +10 -10
  393. package/cdn/react/site-header/index.js +7 -7
  394. package/cdn/react/site-navigation/index.js +3 -3
  395. package/cdn/react/skeleton/index.js +3 -3
  396. package/cdn/react/slider/index.js +3 -3
  397. package/cdn/react/spatial-picker/index.js +14 -14
  398. package/cdn/react/status-indicator/index.js +3 -3
  399. package/cdn/react/stepper/index.js +3 -3
  400. package/cdn/react/stepper-step/index.js +6 -6
  401. package/cdn/react/tab/index.js +6 -6
  402. package/cdn/react/tab-panel/index.js +4 -4
  403. package/cdn/react/tabs/index.js +6 -6
  404. package/cdn/react/tag/index.js +6 -6
  405. package/cdn/react/textarea/index.js +5 -5
  406. package/cdn/react/time-average-map/index.js +22 -22
  407. package/cdn/react/time-series/index.js +23 -23
  408. package/cdn/react/toast/index.js +6 -6
  409. package/cdn/react/toggle/index.js +5 -5
  410. package/cdn/react/tooltip/index.js +5 -5
  411. package/cdn/react/variable-combobox/index.js +11 -11
  412. package/cdn/react/variable-keyword-search/index.js +11 -11
  413. package/cdn/terra-ui-components.js +192 -191
  414. package/cdn/types/vue/index.d.ts +541 -521
  415. package/cdn/utilities/mimetypes.js +1 -1
  416. package/cdn/vscode.html-custom-data.json +419 -404
  417. package/cdn/web-types.json +1120 -1062
  418. package/dist/chunks/chunk.23NLQYJ7.js +11 -0
  419. package/dist/chunks/chunk.2HXEBKDJ.js +11 -0
  420. package/dist/chunks/chunk.2TL5SGLD.js +11 -0
  421. package/dist/chunks/chunk.2VDXL62K.js +11 -0
  422. package/dist/chunks/chunk.2VHPJYJX.js +11 -0
  423. package/dist/chunks/chunk.3247IXNN.js +11 -0
  424. package/dist/chunks/chunk.3CINJNOA.js +24 -0
  425. package/dist/chunks/chunk.3GYL6ORG.js +21 -0
  426. package/dist/chunks/chunk.3ONUIWXV.js +29 -0
  427. package/dist/chunks/chunk.3QWCR7W7.js +24 -0
  428. package/dist/chunks/chunk.3SE6ZIME.js +11 -0
  429. package/dist/chunks/chunk.3UO4BPIZ.js +11 -0
  430. package/dist/chunks/chunk.3XFQA2XA.js +11 -0
  431. package/dist/chunks/chunk.45MY2TZ5.js +93 -0
  432. package/dist/chunks/chunk.47EHCMIS.js +11 -0
  433. package/dist/chunks/chunk.4IT7UTHS.js +21 -0
  434. package/dist/chunks/chunk.4JDUHDVS.js +525 -0
  435. package/dist/chunks/chunk.4WIFFN7U.js +89 -0
  436. package/dist/chunks/chunk.5CQ3UBKW.js +21 -0
  437. package/dist/chunks/chunk.5K55E6UH.js +25 -0
  438. package/dist/chunks/chunk.5KYQIBJW.js +11 -0
  439. package/dist/chunks/chunk.5OE6LILN.js +844 -0
  440. package/dist/chunks/chunk.5RCWRDS6.js +642 -0
  441. package/dist/chunks/chunk.65RMIPXH.js +21 -0
  442. package/dist/chunks/chunk.6E2CQRCE.js +291 -0
  443. package/dist/chunks/chunk.6FWNBIFP.js +21 -0
  444. package/dist/chunks/chunk.6JNRKHB4.js +25 -0
  445. package/dist/chunks/chunk.6L37ZKYY.js +28 -0
  446. package/dist/chunks/chunk.6TFGD3QA.js +180 -0
  447. package/dist/chunks/chunk.74BMSBNF.js +11 -0
  448. package/dist/chunks/chunk.7BLY6TM7.js +11 -0
  449. package/dist/chunks/chunk.7BOCHV2R.js +21 -0
  450. package/dist/chunks/chunk.7QALYCE5.js +11 -0
  451. package/dist/chunks/chunk.7VBFJCK4.js +21 -0
  452. package/dist/chunks/chunk.7WF6TPF6.js +11 -0
  453. package/dist/chunks/chunk.A56NOSXD.js +443 -0
  454. package/dist/chunks/chunk.ATQZRLHV.js +21 -0
  455. package/dist/chunks/chunk.AYGU6XYF.js +11 -0
  456. package/dist/chunks/chunk.B3DZ7FFL.js +271 -0
  457. package/dist/chunks/chunk.B5CILBXM.js +11 -0
  458. package/dist/chunks/chunk.B75DWB3E.js +21 -0
  459. package/dist/chunks/chunk.BH2KP7PZ.js +24 -0
  460. package/dist/chunks/chunk.BRJ7H3TE.js +25 -0
  461. package/dist/chunks/chunk.BRSGX5AM.js +11 -0
  462. package/dist/chunks/chunk.BSUXEC3M.js +143 -0
  463. package/dist/chunks/chunk.D2NEYV7K.js +262 -0
  464. package/dist/chunks/chunk.D2WXN4BG.js +11 -0
  465. package/dist/chunks/chunk.D5M6M4QG.js +11 -0
  466. package/dist/chunks/chunk.D67GQK4P.js +11 -0
  467. package/dist/chunks/chunk.D7UB7ALS.js +31 -0
  468. package/dist/chunks/chunk.DEO7CUOC.js +86 -0
  469. package/dist/chunks/chunk.DGI2HS6F.js +24 -0
  470. package/dist/chunks/chunk.DLLWR2VD.js +11 -0
  471. package/dist/chunks/chunk.DM52LQTY.js +11 -0
  472. package/dist/chunks/chunk.DQZBUH37.js +345 -0
  473. package/dist/chunks/chunk.DRBSI7XC.js +24 -0
  474. package/dist/chunks/chunk.DRS2JY44.js +67 -0
  475. package/dist/chunks/chunk.DZHKU3N5.js +245 -0
  476. package/dist/chunks/chunk.EIND5KV5.js +733 -0
  477. package/dist/chunks/chunk.EOUABBGI.js +123 -0
  478. package/dist/chunks/chunk.ESLNXPTJ.js +21 -0
  479. package/dist/chunks/chunk.EVTNY6AO.js +153 -0
  480. package/dist/chunks/chunk.FCVMQBC6.js +927 -0
  481. package/dist/chunks/chunk.FEL4RVQO.js +11 -0
  482. package/dist/chunks/chunk.FEORSNUI.js +220 -0
  483. package/dist/chunks/chunk.FGTNTIOR.js +21 -0
  484. package/dist/chunks/chunk.FIT2RVBA.js +180 -0
  485. package/dist/chunks/chunk.FLBPWUOX.js +11 -0
  486. package/dist/chunks/chunk.FLJ2EW3R.js +11 -0
  487. package/dist/chunks/chunk.FM6RMNPW.js +29 -0
  488. package/dist/chunks/chunk.FP2ZZ5E2.js +28 -0
  489. package/dist/chunks/chunk.FRFLTGR4.js +24 -0
  490. package/dist/chunks/chunk.FSKG5KRG.js +20 -0
  491. package/dist/chunks/chunk.GA27DR2B.js +220 -0
  492. package/dist/chunks/chunk.GHURD4CJ.js +11 -0
  493. package/dist/chunks/chunk.GSU5W4TG.js +1788 -0
  494. package/dist/chunks/chunk.HAQWUOM4.js +75 -0
  495. package/dist/chunks/chunk.HFFC7CSH.js +61 -0
  496. package/dist/chunks/chunk.HQVGLVRZ.js +52 -0
  497. package/dist/chunks/chunk.HRIOFO3J.js +25 -0
  498. package/dist/chunks/chunk.HT2SR5A4.js +21 -0
  499. package/dist/chunks/chunk.HV6RS7ZE.js +11 -0
  500. package/dist/chunks/chunk.HW7S6WES.js +11 -0
  501. package/dist/chunks/chunk.HXDEAUF3.js +11 -0
  502. package/dist/chunks/chunk.IACKHKNK.js +39 -0
  503. package/dist/chunks/chunk.ICKWGKAA.js +24 -0
  504. package/dist/chunks/chunk.IDSPFGMF.js +24 -0
  505. package/dist/chunks/chunk.IEWMER6A.js +27 -0
  506. package/dist/chunks/chunk.IG5E3PNG.js +145 -0
  507. package/dist/chunks/chunk.ILC2ULOI.js +91 -0
  508. package/dist/chunks/chunk.J22KHIHT.js +11 -0
  509. package/dist/chunks/chunk.J543UX5E.js +11 -0
  510. package/dist/chunks/chunk.JBAD2K7T.js +21 -0
  511. package/dist/chunks/chunk.JLZUVFCE.js +287 -0
  512. package/dist/chunks/chunk.JTBVF4U6.js +422 -0
  513. package/dist/chunks/chunk.K2SZX5IG.js +21 -0
  514. package/dist/chunks/chunk.K3AWJBDJ.js +21 -0
  515. package/dist/chunks/chunk.KE3MZQ6G.js +21 -0
  516. package/dist/chunks/chunk.KFBVHRHZ.js +11 -0
  517. package/dist/chunks/chunk.KMFDKQOL.js +83 -0
  518. package/dist/chunks/chunk.LFAE5YNF.js +11 -0
  519. package/dist/chunks/chunk.LFAOPKE4.js +21 -0
  520. package/dist/chunks/chunk.LLHM6XAL.js +11 -0
  521. package/dist/chunks/chunk.LOG6ATWX.js +609 -0
  522. package/dist/chunks/chunk.LOSJS73C.js +48 -0
  523. package/dist/chunks/chunk.LTYKZQRC.js +121 -0
  524. package/dist/chunks/chunk.LUHKHMDR.js +11 -0
  525. package/dist/chunks/chunk.LVEVEN6X.js +11 -0
  526. package/dist/chunks/chunk.M5JKEDTX.js +24 -0
  527. package/dist/chunks/chunk.MILX66GG.js +25 -0
  528. package/dist/chunks/chunk.MJAA2EKQ.js +214 -0
  529. package/dist/chunks/chunk.MJQNLZIJ.js +57 -0
  530. package/dist/chunks/chunk.MOVS4YNJ.js +24 -0
  531. package/dist/chunks/chunk.MU56K6DK.js +24 -0
  532. package/dist/chunks/chunk.MYBSXZHT.js +278 -0
  533. package/dist/chunks/chunk.N44PPT5L.js +74 -0
  534. package/dist/chunks/chunk.N7PWSHBL.js +24 -0
  535. package/dist/chunks/chunk.NAZZYKXP.js +11 -0
  536. package/dist/chunks/chunk.NDFKP43K.js +52 -0
  537. package/dist/chunks/chunk.NFRQWBWE.js +78 -0
  538. package/dist/chunks/chunk.NO5K5I44.js +27 -0
  539. package/dist/chunks/chunk.NP4VI55C.js +21 -0
  540. package/dist/chunks/chunk.NSUXBNRY.js +1124 -0
  541. package/dist/chunks/chunk.NYSYEO6S.js +477 -0
  542. package/dist/chunks/chunk.OKITA6RN.js +43 -0
  543. package/dist/chunks/chunk.ONVJYGXW.js +112 -0
  544. package/dist/chunks/chunk.OOZ35KRV.js +458 -0
  545. package/dist/chunks/chunk.OQMU445F.js +229 -0
  546. package/dist/chunks/chunk.PNYCPGP6.js +21 -0
  547. package/dist/chunks/chunk.PWY2KP3Q.js +581 -0
  548. package/dist/chunks/chunk.QFGNVANU.js +345 -0
  549. package/dist/chunks/chunk.QKEGFJMV.js +11 -0
  550. package/dist/chunks/chunk.QKFXTGWF.js +11 -0
  551. package/dist/chunks/chunk.QQEZTSC7.js +24 -0
  552. package/dist/chunks/chunk.QROD7XSA.js +21 -0
  553. package/dist/chunks/chunk.QWM7TR7V.js +11 -0
  554. package/dist/chunks/chunk.QWW2BYOP.js +21 -0
  555. package/dist/chunks/chunk.R45WTHZT.js +11 -0
  556. package/dist/chunks/chunk.R4VDG6AK.js +446 -0
  557. package/dist/chunks/chunk.R7XNQ3UF.js +11 -0
  558. package/dist/chunks/chunk.RE75I24N.js +11 -0
  559. package/dist/chunks/chunk.RI2R4X2H.js +11 -0
  560. package/dist/chunks/chunk.RKNRGTZP.js +27 -0
  561. package/dist/chunks/chunk.RKYRE5YW.js +64 -0
  562. package/dist/chunks/chunk.RMC5XGJR.js +937 -0
  563. package/dist/chunks/chunk.RNCN4M47.js +26 -0
  564. package/dist/chunks/chunk.RQ27EUVN.js +190 -0
  565. package/dist/chunks/chunk.RQLZOB4O.js +214 -0
  566. package/dist/chunks/chunk.S4FQNSDY.js +11 -0
  567. package/dist/chunks/chunk.S4RYPA4R.js +24 -0
  568. package/dist/chunks/chunk.S5DYKI6G.js +11 -0
  569. package/dist/chunks/chunk.S7FJE6DS.js +97 -0
  570. package/dist/chunks/chunk.SA6GMLYJ.js +11 -0
  571. package/dist/chunks/chunk.SD3BVNB4.js +11 -0
  572. package/dist/chunks/chunk.SVXJ6IWX.js +21 -0
  573. package/dist/chunks/chunk.T255GJVN.js +213 -0
  574. package/dist/chunks/chunk.T2UA4I4O.js +472 -0
  575. package/dist/chunks/chunk.TCOLWI6Z.js +21 -0
  576. package/dist/chunks/chunk.TD4HMCFI.js +21 -0
  577. package/dist/chunks/chunk.TPZRD4LL.js +11 -0
  578. package/dist/chunks/chunk.TQRJHVPX.js +27 -0
  579. package/dist/chunks/chunk.TRCVXOB3.js +25 -0
  580. package/dist/chunks/chunk.TRZ24D6C.js +28 -0
  581. package/dist/chunks/chunk.TU3Z4DM7.js +21 -0
  582. package/dist/chunks/chunk.U3XIKOX7.js +73 -0
  583. package/dist/chunks/chunk.UAQROBYW.js +21 -0
  584. package/dist/chunks/chunk.UGI4WX6F.js +11 -0
  585. package/dist/chunks/chunk.ULZ5HNOZ.js +11 -0
  586. package/dist/chunks/chunk.V2TFKPNC.js +449 -0
  587. package/dist/chunks/chunk.VPDGNTFF.js +11 -0
  588. package/dist/chunks/chunk.VPYT2IYR.js +11 -0
  589. package/dist/chunks/chunk.VQDCH34V.js +85 -0
  590. package/dist/chunks/chunk.VVCGM4BW.js +21 -0
  591. package/dist/chunks/chunk.VVQDHS65.js +2062 -0
  592. package/dist/chunks/chunk.W6TNURMD.js +24 -0
  593. package/dist/chunks/chunk.WIYDJCKH.js +11 -0
  594. package/dist/chunks/chunk.WP3THC5K.js +591 -0
  595. package/dist/chunks/chunk.WPKMKO7L.js +596 -0
  596. package/dist/chunks/chunk.WRZTYDD7.js +101 -0
  597. package/dist/chunks/chunk.X4LEFOTK.js +26 -0
  598. package/dist/chunks/chunk.X4T5FEVN.js +409 -0
  599. package/dist/chunks/chunk.X627CJ3G.js +161 -0
  600. package/dist/chunks/chunk.XBO7X2M2.js +11 -0
  601. package/dist/chunks/chunk.XE4T3WTA.js +120 -0
  602. package/dist/chunks/chunk.XJTJGJAK.js +21 -0
  603. package/dist/chunks/chunk.XSFRIUM5.js +355 -0
  604. package/dist/chunks/chunk.XWO3K7ZZ.js +11 -0
  605. package/dist/chunks/chunk.YS3LXZOQ.js +11 -0
  606. package/dist/chunks/chunk.YX54YA5F.js +247 -0
  607. package/dist/chunks/chunk.Z2UUIIRV.js +11 -0
  608. package/dist/chunks/chunk.Z35NQ7A7.js +33 -0
  609. package/dist/chunks/chunk.Z4UDKTEF.js +11 -0
  610. package/dist/chunks/chunk.Z6G2TOJC.js +241 -0
  611. package/dist/chunks/chunk.ZD56437X.js +180 -0
  612. package/dist/chunks/chunk.ZDZUNTE2.js +28 -0
  613. package/dist/chunks/chunk.ZIVBHHJU.js +21 -0
  614. package/dist/chunks/chunk.ZLAXCM2J.js +61 -0
  615. package/dist/chunks/chunk.ZP2DB3XG.js +264 -0
  616. package/dist/chunks/chunk.ZPH3RFHS.js +252 -0
  617. package/dist/chunks/chunk.ZXLL6LDL.js +11 -0
  618. package/dist/components/accordion/accordion.component.js +5 -5
  619. package/dist/components/accordion/accordion.js +6 -6
  620. package/dist/components/alert/alert.component.js +3 -3
  621. package/dist/components/alert/alert.js +4 -4
  622. package/dist/components/avatar/avatar.component.js +5 -5
  623. package/dist/components/avatar/avatar.js +6 -6
  624. package/dist/components/badge/badge.component.js +3 -3
  625. package/dist/components/badge/badge.js +4 -4
  626. package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
  627. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  628. package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
  629. package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
  630. package/dist/components/browse-variables/browse-variables.component.js +13 -13
  631. package/dist/components/browse-variables/browse-variables.js +14 -14
  632. package/dist/components/button/button.component.d.ts +6 -0
  633. package/dist/components/button/button.component.js +6 -6
  634. package/dist/components/button/button.js +7 -7
  635. package/dist/components/button-group/button-group.component.js +2 -2
  636. package/dist/components/button-group/button-group.js +3 -3
  637. package/dist/components/caption/caption.component.js +2 -2
  638. package/dist/components/caption/caption.js +3 -3
  639. package/dist/components/card/card.component.js +2 -2
  640. package/dist/components/card/card.js +3 -3
  641. package/dist/components/checkbox/checkbox.component.js +6 -6
  642. package/dist/components/checkbox/checkbox.js +7 -7
  643. package/dist/components/chip/chip.component.d.ts +2 -0
  644. package/dist/components/chip/chip.component.js +2 -2
  645. package/dist/components/chip/chip.js +3 -3
  646. package/dist/components/combobox/combobox.component.js +2 -2
  647. package/dist/components/combobox/combobox.js +3 -3
  648. package/dist/components/data-access/data-access.component.d.ts +3 -1
  649. package/dist/components/data-access/data-access.component.js +26 -25
  650. package/dist/components/data-access/data-access.controller.d.ts +8 -0
  651. package/dist/components/data-access/data-access.controller.js +1 -1
  652. package/dist/components/data-access/data-access.js +27 -26
  653. package/dist/components/data-access/data-access.styles.js +1 -1
  654. package/dist/components/data-access/notebooks/data-access-notebook.js +3 -70
  655. package/dist/components/data-grid/data-grid.component.js +3 -3
  656. package/dist/components/data-grid/data-grid.js +4 -4
  657. package/dist/components/data-rods/data-rods.component.js +34 -34
  658. package/dist/components/data-rods/data-rods.js +35 -35
  659. package/dist/components/data-subsetter/data-subsetter.component.js +38 -37
  660. package/dist/components/data-subsetter/data-subsetter.controller.js +1 -1
  661. package/dist/components/data-subsetter/data-subsetter.js +39 -38
  662. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  663. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +39 -38
  664. package/dist/components/data-subsetter-history/data-subsetter-history.js +40 -39
  665. package/dist/components/date-picker/date-picker.component.js +11 -11
  666. package/dist/components/date-picker/date-picker.js +12 -12
  667. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  668. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  669. package/dist/components/dialog/dialog.component.js +8 -8
  670. package/dist/components/dialog/dialog.js +9 -9
  671. package/dist/components/divider/divider.component.js +2 -2
  672. package/dist/components/divider/divider.js +3 -3
  673. package/dist/components/dropdown/dropdown.component.js +3 -3
  674. package/dist/components/dropdown/dropdown.js +4 -4
  675. package/dist/components/earthdata-login/earthdata-login.component.js +13 -13
  676. package/dist/components/earthdata-login/earthdata-login.js +14 -14
  677. package/dist/components/file-upload/file-upload.component.js +2 -2
  678. package/dist/components/file-upload/file-upload.js +3 -3
  679. package/dist/components/icon/icon.component.js +4 -4
  680. package/dist/components/icon/icon.js +5 -5
  681. package/dist/components/input/input.component.js +6 -6
  682. package/dist/components/input/input.js +7 -7
  683. package/dist/components/loader/loader.component.js +2 -2
  684. package/dist/components/loader/loader.js +3 -3
  685. package/dist/components/login/login.component.js +11 -11
  686. package/dist/components/login/login.js +12 -12
  687. package/dist/components/map/leaflet-utils.d.ts +1 -0
  688. package/dist/components/map/leaflet-utils.js +1 -1
  689. package/dist/components/map/map.component.d.ts +4 -0
  690. package/dist/components/map/map.component.js +4 -4
  691. package/dist/components/map/map.js +5 -5
  692. package/dist/components/menu/menu.component.js +2 -2
  693. package/dist/components/menu/menu.js +3 -3
  694. package/dist/components/menu-item/menu-item.component.js +8 -8
  695. package/dist/components/menu-item/menu-item.js +9 -9
  696. package/dist/components/option/option.component.js +5 -5
  697. package/dist/components/option/option.js +6 -6
  698. package/dist/components/pagination/pagination.component.js +5 -5
  699. package/dist/components/pagination/pagination.js +6 -6
  700. package/dist/components/plot/plot.component.js +2 -2
  701. package/dist/components/plot/plot.js +3 -3
  702. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  703. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  704. package/dist/components/plot-toolbar/plot-toolbar.component.js +13 -13
  705. package/dist/components/plot-toolbar/plot-toolbar.js +14 -14
  706. package/dist/components/popup/popup.component.js +2 -2
  707. package/dist/components/popup/popup.js +3 -3
  708. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  709. package/dist/components/progress-bar/progress-bar.js +3 -3
  710. package/dist/components/radio/radio.component.js +2 -2
  711. package/dist/components/radio/radio.js +3 -3
  712. package/dist/components/radio-group/radio-group.component.js +2 -2
  713. package/dist/components/radio-group/radio-group.js +3 -3
  714. package/dist/components/scroll-hint/scroll-hint.component.js +5 -5
  715. package/dist/components/scroll-hint/scroll-hint.js +6 -6
  716. package/dist/components/select/select.component.js +9 -9
  717. package/dist/components/select/select.js +10 -10
  718. package/dist/components/site-header/site-header.component.js +6 -6
  719. package/dist/components/site-header/site-header.js +6 -6
  720. package/dist/components/site-navigation/site-navigation.component.js +2 -2
  721. package/dist/components/site-navigation/site-navigation.js +2 -2
  722. package/dist/components/skeleton/skeleton.component.js +2 -2
  723. package/dist/components/skeleton/skeleton.js +3 -3
  724. package/dist/components/slider/slider.component.js +2 -2
  725. package/dist/components/slider/slider.js +3 -3
  726. package/dist/components/spatial-picker/spatial-picker.component.d.ts +4 -0
  727. package/dist/components/spatial-picker/spatial-picker.component.js +13 -13
  728. package/dist/components/spatial-picker/spatial-picker.js +14 -14
  729. package/dist/components/status-indicator/status-indicator.component.js +2 -2
  730. package/dist/components/status-indicator/status-indicator.js +3 -3
  731. package/dist/components/stepper/stepper.component.js +2 -2
  732. package/dist/components/stepper/stepper.js +3 -3
  733. package/dist/components/stepper-step/stepper-step.component.js +5 -5
  734. package/dist/components/stepper-step/stepper-step.js +6 -6
  735. package/dist/components/tab/tab.component.js +5 -5
  736. package/dist/components/tab/tab.js +6 -6
  737. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  738. package/dist/components/tab-panel/tab-panel.js +3 -3
  739. package/dist/components/tabs/tabs.component.js +5 -5
  740. package/dist/components/tabs/tabs.js +6 -6
  741. package/dist/components/tag/tag.component.js +5 -5
  742. package/dist/components/tag/tag.js +6 -6
  743. package/dist/components/textarea/textarea.component.js +2 -2
  744. package/dist/components/textarea/textarea.js +3 -3
  745. package/dist/components/time-average-map/time-average-map.component.js +21 -21
  746. package/dist/components/time-average-map/time-average-map.controller.js +2 -2
  747. package/dist/components/time-average-map/time-average-map.js +22 -22
  748. package/dist/components/time-series/time-series.component.js +22 -22
  749. package/dist/components/time-series/time-series.controller.js +2 -2
  750. package/dist/components/time-series/time-series.js +23 -23
  751. package/dist/components/toast/toast.component.js +4 -4
  752. package/dist/components/toast/toast.js +5 -5
  753. package/dist/components/toggle/toggle.component.js +2 -2
  754. package/dist/components/toggle/toggle.js +3 -3
  755. package/dist/components/tooltip/tooltip.component.js +3 -3
  756. package/dist/components/tooltip/tooltip.js +4 -4
  757. package/dist/components/variable-combobox/variable-combobox.component.js +10 -10
  758. package/dist/components/variable-combobox/variable-combobox.js +11 -11
  759. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
  760. package/dist/components/variable-keyword-search/variable-keyword-search.js +11 -11
  761. package/dist/custom-elements.json +4170 -4065
  762. package/dist/react/accordion/index.js +6 -6
  763. package/dist/react/alert/index.js +4 -4
  764. package/dist/react/avatar/index.js +6 -6
  765. package/dist/react/badge/index.js +4 -4
  766. package/dist/react/breadcrumb/index.js +3 -3
  767. package/dist/react/breadcrumbs/index.js +3 -3
  768. package/dist/react/browse-variables/index.js +14 -14
  769. package/dist/react/button/index.d.ts +12 -1
  770. package/dist/react/button/index.js +7 -7
  771. package/dist/react/button-group/index.js +3 -3
  772. package/dist/react/caption/index.js +3 -3
  773. package/dist/react/card/index.js +3 -3
  774. package/dist/react/checkbox/index.js +7 -7
  775. package/dist/react/chip/index.d.ts +8 -1
  776. package/dist/react/chip/index.js +3 -3
  777. package/dist/react/combobox/index.js +3 -3
  778. package/dist/react/data-access/index.js +27 -26
  779. package/dist/react/data-grid/index.js +4 -4
  780. package/dist/react/data-rods/index.js +35 -35
  781. package/dist/react/data-subsetter/index.js +39 -38
  782. package/dist/react/data-subsetter-history/index.js +40 -39
  783. package/dist/react/date-picker/index.js +12 -12
  784. package/dist/react/date-range-slider/index.js +3 -3
  785. package/dist/react/dialog/index.js +9 -9
  786. package/dist/react/divider/index.js +3 -3
  787. package/dist/react/dropdown/index.js +4 -4
  788. package/dist/react/earthdata-login/index.js +14 -14
  789. package/dist/react/file-upload/index.js +3 -3
  790. package/dist/react/icon/index.js +5 -5
  791. package/dist/react/index.d.ts +11 -11
  792. package/dist/react/index.js +199 -198
  793. package/dist/react/input/index.js +7 -7
  794. package/dist/react/loader/index.js +3 -3
  795. package/dist/react/login/index.js +12 -12
  796. package/dist/react/map/index.js +5 -5
  797. package/dist/react/menu/index.js +3 -3
  798. package/dist/react/menu-item/index.js +9 -9
  799. package/dist/react/option/index.js +6 -6
  800. package/dist/react/pagination/index.js +6 -6
  801. package/dist/react/plot/index.js +3 -3
  802. package/dist/react/plot-toolbar/index.js +14 -14
  803. package/dist/react/popup/index.js +3 -3
  804. package/dist/react/progress-bar/index.js +3 -3
  805. package/dist/react/radio/index.js +3 -3
  806. package/dist/react/radio-group/index.js +3 -3
  807. package/dist/react/scroll-hint/index.js +6 -6
  808. package/dist/react/select/index.js +10 -10
  809. package/dist/react/site-header/index.js +7 -7
  810. package/dist/react/site-navigation/index.js +3 -3
  811. package/dist/react/skeleton/index.js +3 -3
  812. package/dist/react/slider/index.js +3 -3
  813. package/dist/react/spatial-picker/index.js +14 -14
  814. package/dist/react/status-indicator/index.js +3 -3
  815. package/dist/react/stepper/index.js +3 -3
  816. package/dist/react/stepper-step/index.js +6 -6
  817. package/dist/react/tab/index.js +6 -6
  818. package/dist/react/tab-panel/index.js +3 -3
  819. package/dist/react/tabs/index.js +6 -6
  820. package/dist/react/tag/index.js +6 -6
  821. package/dist/react/textarea/index.js +3 -3
  822. package/dist/react/time-average-map/index.js +22 -22
  823. package/dist/react/time-series/index.js +23 -23
  824. package/dist/react/toast/index.js +5 -5
  825. package/dist/react/toggle/index.js +3 -3
  826. package/dist/react/tooltip/index.js +4 -4
  827. package/dist/react/variable-combobox/index.js +11 -11
  828. package/dist/react/variable-keyword-search/index.js +11 -11
  829. package/dist/terra-ui-components.js +190 -189
  830. package/dist/terra_ui_components-0.0.139-py3-none-any.whl +0 -0
  831. package/dist/terra_ui_components-0.0.139.tar.gz +0 -0
  832. package/dist/types/vue/index.d.ts +541 -521
  833. package/dist/utilities/mimetypes.js +1 -1
  834. package/dist/vscode.html-custom-data.json +419 -404
  835. package/dist/web-types.json +1120 -1062
  836. package/package.json +1 -1
  837. package/cdn/chunks/chunk.2BJAFBWO.js +0 -19
  838. package/cdn/chunks/chunk.2GAC47WU.js +0 -60
  839. package/cdn/chunks/chunk.2TIKI4CV.js +0 -19
  840. package/cdn/chunks/chunk.2ZOU3STC.js +0 -123
  841. package/cdn/chunks/chunk.3F6CWYXR.js +0 -19
  842. package/cdn/chunks/chunk.3HAVIA4W.js +0 -259
  843. package/cdn/chunks/chunk.3O4PB2H3.js +0 -35
  844. package/cdn/chunks/chunk.3ZEO3IMN.js +0 -19
  845. package/cdn/chunks/chunk.43THXYJW.js +0 -19
  846. package/cdn/chunks/chunk.46WRFWUK.js +0 -33860
  847. package/cdn/chunks/chunk.4HLNRBQ6.js +0 -19
  848. package/cdn/chunks/chunk.4M4GBWDC.js +0 -19
  849. package/cdn/chunks/chunk.4OX4HVMY.js +0 -264
  850. package/cdn/chunks/chunk.4TDBTQV5.js +0 -538
  851. package/cdn/chunks/chunk.5CVRWER5.js +0 -19
  852. package/cdn/chunks/chunk.5DCGCB6K.js +0 -113
  853. package/cdn/chunks/chunk.5DM4QTN6.js +0 -29
  854. package/cdn/chunks/chunk.5HPTDONM.js +0 -32
  855. package/cdn/chunks/chunk.5HPYINI7.js +0 -19
  856. package/cdn/chunks/chunk.5LT2TYTG.js +0 -19
  857. package/cdn/chunks/chunk.5TXVJNQV.js +0 -29
  858. package/cdn/chunks/chunk.5VW5EZXV.js +0 -29
  859. package/cdn/chunks/chunk.5XJNAHQJ.js +0 -134
  860. package/cdn/chunks/chunk.626R2KUA.js +0 -19
  861. package/cdn/chunks/chunk.673QBVIN.js +0 -33
  862. package/cdn/chunks/chunk.6A6JHLJE.js +0 -19
  863. package/cdn/chunks/chunk.6NDSKK4J.js +0 -19
  864. package/cdn/chunks/chunk.6OR5C5Q7.js +0 -19
  865. package/cdn/chunks/chunk.6P3Q5HQJ.js +0 -29
  866. package/cdn/chunks/chunk.6W6F4ROR.js +0 -19
  867. package/cdn/chunks/chunk.6YSPK4EH.js +0 -83
  868. package/cdn/chunks/chunk.7GN3VMLV.js +0 -19
  869. package/cdn/chunks/chunk.7SRQP2BN.js +0 -286
  870. package/cdn/chunks/chunk.A3BRXNHI.js +0 -610
  871. package/cdn/chunks/chunk.A5SALK4D.js +0 -158
  872. package/cdn/chunks/chunk.ADLLUIOF.js +0 -19
  873. package/cdn/chunks/chunk.AGZ2BKOZ.js +0 -460
  874. package/cdn/chunks/chunk.AHSH74RW.js +0 -36
  875. package/cdn/chunks/chunk.AK2A7B6Q.js +0 -104
  876. package/cdn/chunks/chunk.ANGKDJP4.js +0 -231
  877. package/cdn/chunks/chunk.ANSRCOVR.js +0 -19
  878. package/cdn/chunks/chunk.ATLDQ3WR.js +0 -33
  879. package/cdn/chunks/chunk.BC2GUXZ7.js +0 -32
  880. package/cdn/chunks/chunk.BC64ST5G.js +0 -29
  881. package/cdn/chunks/chunk.BFO6SZXZ.js +0 -29
  882. package/cdn/chunks/chunk.BPU7M7DV.js +0 -19
  883. package/cdn/chunks/chunk.BRQCSVCH.js +0 -2022
  884. package/cdn/chunks/chunk.BRYKXRCC.js +0 -55346
  885. package/cdn/chunks/chunk.BTL6NVN3.js +0 -41
  886. package/cdn/chunks/chunk.BVCX2RJT.js +0 -19
  887. package/cdn/chunks/chunk.BZ23ZYNY.js +0 -198
  888. package/cdn/chunks/chunk.CDC2B5IP.js +0 -29
  889. package/cdn/chunks/chunk.CI4UXPOP.js +0 -19
  890. package/cdn/chunks/chunk.COMG3MGR.js +0 -29
  891. package/cdn/chunks/chunk.CPDYZ3LO.js +0 -278
  892. package/cdn/chunks/chunk.CYMFPTYH.js +0 -32
  893. package/cdn/chunks/chunk.D4H2PCSX.js +0 -19
  894. package/cdn/chunks/chunk.DE2ZETA7.js +0 -93
  895. package/cdn/chunks/chunk.DEFAJGI7.js +0 -37
  896. package/cdn/chunks/chunk.DMS73IZ3.js +0 -188
  897. package/cdn/chunks/chunk.E2RHO7DN.js +0 -19
  898. package/cdn/chunks/chunk.ECGINNOY.js +0 -29
  899. package/cdn/chunks/chunk.EGQO2GDX.js +0 -62
  900. package/cdn/chunks/chunk.EIPX4NVH.js +0 -151
  901. package/cdn/chunks/chunk.EITFR5BT.js +0 -19
  902. package/cdn/chunks/chunk.EIYHG4QH.js +0 -99
  903. package/cdn/chunks/chunk.EVC6N4XS.js +0 -19
  904. package/cdn/chunks/chunk.EWPC57VY.js +0 -19
  905. package/cdn/chunks/chunk.EXKJLZ7J.js +0 -1803
  906. package/cdn/chunks/chunk.F4UOBQNN.js +0 -29
  907. package/cdn/chunks/chunk.F7YRE2LG.js +0 -165
  908. package/cdn/chunks/chunk.FBAXT3BK.js +0 -29
  909. package/cdn/chunks/chunk.FG3K3Q6V.js +0 -19
  910. package/cdn/chunks/chunk.FGZRXTZ6.js +0 -19
  911. package/cdn/chunks/chunk.FPNYUWK6.js +0 -67
  912. package/cdn/chunks/chunk.FQEKGVRO.js +0 -32
  913. package/cdn/chunks/chunk.FVZU57MN.js +0 -19
  914. package/cdn/chunks/chunk.FWVPXLAJ.js +0 -19
  915. package/cdn/chunks/chunk.G3FY5QP3.js +0 -32
  916. package/cdn/chunks/chunk.G4GEUX35.js +0 -29
  917. package/cdn/chunks/chunk.GH5IWK3V.js +0 -10710
  918. package/cdn/chunks/chunk.GLRK2CD2.js +0 -472
  919. package/cdn/chunks/chunk.GSFGAHJ7.js +0 -19
  920. package/cdn/chunks/chunk.GWWIQVTA.js +0 -234
  921. package/cdn/chunks/chunk.H226G54W.js +0 -621
  922. package/cdn/chunks/chunk.H4FNKBO5.js +0 -35
  923. package/cdn/chunks/chunk.HA6T6UQB.js +0 -19
  924. package/cdn/chunks/chunk.HFQ73YHH.js +0 -47
  925. package/cdn/chunks/chunk.HO2HLYL2.js +0 -29
  926. package/cdn/chunks/chunk.HSVOTNWM.js +0 -29
  927. package/cdn/chunks/chunk.HXZVFJ6H.js +0 -524
  928. package/cdn/chunks/chunk.IGEYXP3A.js +0 -99
  929. package/cdn/chunks/chunk.IT7T44HW.js +0 -83
  930. package/cdn/chunks/chunk.IWBJA6I7.js +0 -359
  931. package/cdn/chunks/chunk.IWCGYFDH.js +0 -32
  932. package/cdn/chunks/chunk.IYY3KFGU.js +0 -34
  933. package/cdn/chunks/chunk.J23RZN4H.js +0 -19
  934. package/cdn/chunks/chunk.J27ZRG2P.js +0 -19
  935. package/cdn/chunks/chunk.JBKZ2O54.js +0 -19
  936. package/cdn/chunks/chunk.JFBUXZDD.js +0 -35
  937. package/cdn/chunks/chunk.JNHX2WPA.js +0 -29
  938. package/cdn/chunks/chunk.JQB5OS27.js +0 -132
  939. package/cdn/chunks/chunk.JROEZ6BJ.js +0 -240
  940. package/cdn/chunks/chunk.JXS7CCSD.js +0 -39
  941. package/cdn/chunks/chunk.K4ZQ3QTB.js +0 -599
  942. package/cdn/chunks/chunk.K7U6WTEC.js +0 -754
  943. package/cdn/chunks/chunk.KAC36PWW.js +0 -19
  944. package/cdn/chunks/chunk.KAMBSWDB.js +0 -19
  945. package/cdn/chunks/chunk.KC4TKSAA.js +0 -36
  946. package/cdn/chunks/chunk.KEJNACA2.js +0 -19
  947. package/cdn/chunks/chunk.KHLSTEU5.js +0 -29
  948. package/cdn/chunks/chunk.KLVFSGNQ.js +0 -19
  949. package/cdn/chunks/chunk.L3AQPABK.js +0 -302
  950. package/cdn/chunks/chunk.L7S57B4M.js +0 -19
  951. package/cdn/chunks/chunk.LBTNI2V2.js +0 -71
  952. package/cdn/chunks/chunk.LFD6D7PW.js +0 -19
  953. package/cdn/chunks/chunk.LPQPN27D.js +0 -230
  954. package/cdn/chunks/chunk.LZ76ZLTY.js +0 -224
  955. package/cdn/chunks/chunk.M4RK2ABO.js +0 -106
  956. package/cdn/chunks/chunk.MSESXAV2.js +0 -276
  957. package/cdn/chunks/chunk.N5RUBOM2.js +0 -78
  958. package/cdn/chunks/chunk.N6XCHKIS.js +0 -32
  959. package/cdn/chunks/chunk.NABM5PIJ.js +0 -615
  960. package/cdn/chunks/chunk.NDGGHVRH.js +0 -30
  961. package/cdn/chunks/chunk.NDTHFW5R.js +0 -19
  962. package/cdn/chunks/chunk.NFXL4TXT.js +0 -19
  963. package/cdn/chunks/chunk.NRIGNA3S.js +0 -303
  964. package/cdn/chunks/chunk.NRZVOPL7.js +0 -74
  965. package/cdn/chunks/chunk.NXILKRTN.js +0 -19
  966. package/cdn/chunks/chunk.NZ6Z36KS.js +0 -655
  967. package/cdn/chunks/chunk.OJWEQA2L.js +0 -60
  968. package/cdn/chunks/chunk.OKTINZHU.js +0 -34
  969. package/cdn/chunks/chunk.OMDVVVMC.js +0 -19
  970. package/cdn/chunks/chunk.OQZZPFI4.js +0 -35
  971. package/cdn/chunks/chunk.OXNJKUQM.js +0 -32
  972. package/cdn/chunks/chunk.P7Q76NKD.js +0 -29
  973. package/cdn/chunks/chunk.PA6TODQZ.js +0 -189
  974. package/cdn/chunks/chunk.PDGPGRPX.js +0 -29
  975. package/cdn/chunks/chunk.PFEYSMVR.js +0 -467
  976. package/cdn/chunks/chunk.PG6A3YS2.js +0 -19
  977. package/cdn/chunks/chunk.PU2EA3F3.js +0 -33
  978. package/cdn/chunks/chunk.PU3V52T7.js +0 -19
  979. package/cdn/chunks/chunk.PYWQ4CJT.js +0 -132
  980. package/cdn/chunks/chunk.PZTPTQGC.js +0 -19
  981. package/cdn/chunks/chunk.QCBCEGHS.js +0 -36
  982. package/cdn/chunks/chunk.QCQ4X6JV.js +0 -29
  983. package/cdn/chunks/chunk.QGPOGCGC.js +0 -32
  984. package/cdn/chunks/chunk.QID257LE.js +0 -491
  985. package/cdn/chunks/chunk.QPKDJX5G.js +0 -239
  986. package/cdn/chunks/chunk.QWV6DSWO.js +0 -19
  987. package/cdn/chunks/chunk.R3J2I7S6.js +0 -29
  988. package/cdn/chunks/chunk.R3YYADTU.js +0 -19
  989. package/cdn/chunks/chunk.RAFPJ7SC.js +0 -357
  990. package/cdn/chunks/chunk.RHTNA6LR.js +0 -284
  991. package/cdn/chunks/chunk.RKNJJP3S.js +0 -32
  992. package/cdn/chunks/chunk.RTNYHC5I.js +0 -29
  993. package/cdn/chunks/chunk.RX5BQG6X.js +0 -29
  994. package/cdn/chunks/chunk.S5QKV4ZF.js +0 -19
  995. package/cdn/chunks/chunk.SI6XTPNR.js +0 -890
  996. package/cdn/chunks/chunk.SIOZ4BTY.js +0 -904
  997. package/cdn/chunks/chunk.SL2XAFXP.js +0 -86
  998. package/cdn/chunks/chunk.SMLEQ2LR.js +0 -29
  999. package/cdn/chunks/chunk.SO6HP2US.js +0 -92
  1000. package/cdn/chunks/chunk.SOAQHIJL.js +0 -29
  1001. package/cdn/chunks/chunk.SU6YFVSR.js +0 -32
  1002. package/cdn/chunks/chunk.TERI3VR7.js +0 -943
  1003. package/cdn/chunks/chunk.TKLCIMWL.js +0 -155
  1004. package/cdn/chunks/chunk.TPKKIYZX.js +0 -29
  1005. package/cdn/chunks/chunk.TRPIGGKJ.js +0 -29
  1006. package/cdn/chunks/chunk.TSDVLQNQ.js +0 -29
  1007. package/cdn/chunks/chunk.TSSH7OBI.js +0 -19
  1008. package/cdn/chunks/chunk.TVKZ73IC.js +0 -224
  1009. package/cdn/chunks/chunk.UGX6ENXK.js +0 -19
  1010. package/cdn/chunks/chunk.USXBU4V7.js +0 -32
  1011. package/cdn/chunks/chunk.UYMOTJH6.js +0 -657
  1012. package/cdn/chunks/chunk.V52XWSHA.js +0 -1966
  1013. package/cdn/chunks/chunk.VAVERUQY.js +0 -19
  1014. package/cdn/chunks/chunk.VD4J6NSJ.js +0 -435
  1015. package/cdn/chunks/chunk.VLZIIUK4.js +0 -49
  1016. package/cdn/chunks/chunk.VMZC6SWS.js +0 -19
  1017. package/cdn/chunks/chunk.VOQC3ZCU.js +0 -29
  1018. package/cdn/chunks/chunk.VSHI7QPJ.js +0 -19
  1019. package/cdn/chunks/chunk.W2UBFVIJ.js +0 -19
  1020. package/cdn/chunks/chunk.WO5IANXZ.js +0 -19
  1021. package/cdn/chunks/chunk.WZ4BJS34.js +0 -29
  1022. package/cdn/chunks/chunk.X3L6R75X.js +0 -29
  1023. package/cdn/chunks/chunk.XDHTVQJX.js +0 -32
  1024. package/cdn/chunks/chunk.XNSJOSHU.js +0 -29
  1025. package/cdn/chunks/chunk.XSRPSAPH.js +0 -170
  1026. package/cdn/chunks/chunk.XWVMUFJ7.js +0 -32
  1027. package/cdn/chunks/chunk.Y773DAY4.js +0 -19
  1028. package/cdn/chunks/chunk.YEN743LR.js +0 -37
  1029. package/cdn/chunks/chunk.YRXSN33E.js +0 -190
  1030. package/cdn/chunks/chunk.Z63QUAXL.js +0 -36
  1031. package/cdn/chunks/chunk.ZABMXOTM.js +0 -19
  1032. package/cdn/chunks/chunk.ZKEHTBR2.js +0 -29
  1033. package/cdn/chunks/chunk.ZOLJNM6R.js +0 -33
  1034. package/cdn/chunks/chunk.ZY2YLMTQ.js +0 -372
  1035. package/cdn/chunks/chunk.ZZF57TEN.js +0 -19
  1036. package/dist/chunks/chunk.2426R65J.js +0 -11
  1037. package/dist/chunks/chunk.24OZTGQ4.js +0 -24
  1038. package/dist/chunks/chunk.2IATTFYF.js +0 -21
  1039. package/dist/chunks/chunk.2KEWLVVS.js +0 -11
  1040. package/dist/chunks/chunk.2LMA4HXX.js +0 -75
  1041. package/dist/chunks/chunk.2MUR5ODC.js +0 -25
  1042. package/dist/chunks/chunk.2RD2YCMC.js +0 -21
  1043. package/dist/chunks/chunk.2RQ7TE6K.js +0 -11
  1044. package/dist/chunks/chunk.2T6RXP74.js +0 -21
  1045. package/dist/chunks/chunk.32WEZIMB.js +0 -11
  1046. package/dist/chunks/chunk.3DIKX4D7.js +0 -20
  1047. package/dist/chunks/chunk.3EDSDPZR.js +0 -11
  1048. package/dist/chunks/chunk.3HOMDURY.js +0 -11
  1049. package/dist/chunks/chunk.3KXECFSF.js +0 -11
  1050. package/dist/chunks/chunk.3L5Y4UAK.js +0 -422
  1051. package/dist/chunks/chunk.3SVH6OTG.js +0 -21
  1052. package/dist/chunks/chunk.3WACV45C.js +0 -93
  1053. package/dist/chunks/chunk.3WVTPAFC.js +0 -67
  1054. package/dist/chunks/chunk.3WZK4BGU.js +0 -21
  1055. package/dist/chunks/chunk.4MGGBJBD.js +0 -20
  1056. package/dist/chunks/chunk.4ND4FAJH.js +0 -11
  1057. package/dist/chunks/chunk.4OEGTTX7.js +0 -733
  1058. package/dist/chunks/chunk.4PYJR6WL.js +0 -21
  1059. package/dist/chunks/chunk.4RVH6XIJ.js +0 -581
  1060. package/dist/chunks/chunk.4SXKWAH4.js +0 -399
  1061. package/dist/chunks/chunk.4TNXG42V.js +0 -24
  1062. package/dist/chunks/chunk.53OX6PUP.js +0 -21
  1063. package/dist/chunks/chunk.54N7XEVF.js +0 -43
  1064. package/dist/chunks/chunk.552IT23D.js +0 -21
  1065. package/dist/chunks/chunk.5FWXTZMW.js +0 -11
  1066. package/dist/chunks/chunk.5IS5U42I.js +0 -78
  1067. package/dist/chunks/chunk.5IVEFQ73.js +0 -55
  1068. package/dist/chunks/chunk.6PEX3FEM.js +0 -278
  1069. package/dist/chunks/chunk.6RFDAONW.js +0 -21
  1070. package/dist/chunks/chunk.6US6YKKT.js +0 -21
  1071. package/dist/chunks/chunk.6WKLL2WM.js +0 -27
  1072. package/dist/chunks/chunk.6YXJFS7E.js +0 -39
  1073. package/dist/chunks/chunk.75FUVZDD.js +0 -11
  1074. package/dist/chunks/chunk.76HWX2PB.js +0 -25
  1075. package/dist/chunks/chunk.7DHRNNYP.js +0 -21
  1076. package/dist/chunks/chunk.7DL43QDS.js +0 -21
  1077. package/dist/chunks/chunk.7FQDY3NG.js +0 -21
  1078. package/dist/chunks/chunk.7J4CYUNW.js +0 -21
  1079. package/dist/chunks/chunk.7OSDR4DT.js +0 -27
  1080. package/dist/chunks/chunk.7S4Y7E54.js +0 -153
  1081. package/dist/chunks/chunk.7ULUL7UB.js +0 -214
  1082. package/dist/chunks/chunk.7WWNQP3F.js +0 -52
  1083. package/dist/chunks/chunk.7YFUO5H7.js +0 -11
  1084. package/dist/chunks/chunk.AAKINAHX.js +0 -91
  1085. package/dist/chunks/chunk.AGQSCMY3.js +0 -86
  1086. package/dist/chunks/chunk.ATRP3VPC.js +0 -61
  1087. package/dist/chunks/chunk.AZNKCI5A.js +0 -2008
  1088. package/dist/chunks/chunk.B7MLQJME.js +0 -11
  1089. package/dist/chunks/chunk.BAO2ISQ2.js +0 -180
  1090. package/dist/chunks/chunk.BEGIYBUS.js +0 -190
  1091. package/dist/chunks/chunk.BEWGTRTM.js +0 -21
  1092. package/dist/chunks/chunk.BFKPZ5KB.js +0 -11
  1093. package/dist/chunks/chunk.BVDQB3ON.js +0 -25
  1094. package/dist/chunks/chunk.BXCR6MKM.js +0 -24
  1095. package/dist/chunks/chunk.C2XCYTEU.js +0 -11
  1096. package/dist/chunks/chunk.CHQGRSSN.js +0 -11
  1097. package/dist/chunks/chunk.CMQFO2Y2.js +0 -11
  1098. package/dist/chunks/chunk.CXRPWR2F.js +0 -11
  1099. package/dist/chunks/chunk.CYD7QBKX.js +0 -11
  1100. package/dist/chunks/chunk.DCPS4G3B.js +0 -21
  1101. package/dist/chunks/chunk.DLTYQJNF.js +0 -247
  1102. package/dist/chunks/chunk.DMPS64FX.js +0 -24
  1103. package/dist/chunks/chunk.DWLH2GWC.js +0 -264
  1104. package/dist/chunks/chunk.DXHYGQDF.js +0 -11
  1105. package/dist/chunks/chunk.DZR4D6IU.js +0 -11
  1106. package/dist/chunks/chunk.E4GY4PFT.js +0 -11
  1107. package/dist/chunks/chunk.EEKCQQP5.js +0 -24
  1108. package/dist/chunks/chunk.EKGLR7QZ.js +0 -85
  1109. package/dist/chunks/chunk.EQMZWXBN.js +0 -11
  1110. package/dist/chunks/chunk.FAP5VEES.js +0 -11
  1111. package/dist/chunks/chunk.FFG3ZSYS.js +0 -21
  1112. package/dist/chunks/chunk.FIPOTDXT.js +0 -11
  1113. package/dist/chunks/chunk.FU2INUZZ.js +0 -97
  1114. package/dist/chunks/chunk.FXHQTN4J.js +0 -21
  1115. package/dist/chunks/chunk.G7YHGF6B.js +0 -52
  1116. package/dist/chunks/chunk.GHX6JKTO.js +0 -24
  1117. package/dist/chunks/chunk.GMJA54M4.js +0 -449
  1118. package/dist/chunks/chunk.GRHPMK76.js +0 -11
  1119. package/dist/chunks/chunk.GWTQ5TIL.js +0 -11
  1120. package/dist/chunks/chunk.H4CFFNY7.js +0 -11
  1121. package/dist/chunks/chunk.H55ETYZG.js +0 -24
  1122. package/dist/chunks/chunk.HIDHBTUK.js +0 -26
  1123. package/dist/chunks/chunk.HKEOMDWQ.js +0 -57
  1124. package/dist/chunks/chunk.HTOB5YHI.js +0 -11
  1125. package/dist/chunks/chunk.I73QP2WG.js +0 -89
  1126. package/dist/chunks/chunk.IGFE5OMC.js +0 -21
  1127. package/dist/chunks/chunk.IIP7XENC.js +0 -220
  1128. package/dist/chunks/chunk.IVICUROI.js +0 -245
  1129. package/dist/chunks/chunk.J3V3J6FF.js +0 -591
  1130. package/dist/chunks/chunk.J4RRQTQE.js +0 -291
  1131. package/dist/chunks/chunk.J6AHI4XH.js +0 -209
  1132. package/dist/chunks/chunk.JFAWDJ6T.js +0 -24
  1133. package/dist/chunks/chunk.JHOIM3AH.js +0 -11
  1134. package/dist/chunks/chunk.JLJEN3MG.js +0 -11
  1135. package/dist/chunks/chunk.JNKU5Q5C.js +0 -21
  1136. package/dist/chunks/chunk.JQLIWLBF.js +0 -11
  1137. package/dist/chunks/chunk.JTIG7LIG.js +0 -145
  1138. package/dist/chunks/chunk.JTZSYDBZ.js +0 -143
  1139. package/dist/chunks/chunk.JWU2CJKN.js +0 -21
  1140. package/dist/chunks/chunk.K2QMUUIL.js +0 -11
  1141. package/dist/chunks/chunk.K4EZCK76.js +0 -11
  1142. package/dist/chunks/chunk.KQZF6ECA.js +0 -11
  1143. package/dist/chunks/chunk.KXED5RDO.js +0 -24
  1144. package/dist/chunks/chunk.L5ZDLN66.js +0 -83
  1145. package/dist/chunks/chunk.LDZAANCW.js +0 -213
  1146. package/dist/chunks/chunk.LSRW6XH5.js +0 -27
  1147. package/dist/chunks/chunk.M25BNXYX.js +0 -446
  1148. package/dist/chunks/chunk.M7XZ2USH.js +0 -24
  1149. package/dist/chunks/chunk.MKBGUN2U.js +0 -28
  1150. package/dist/chunks/chunk.MPCO3AK6.js +0 -180
  1151. package/dist/chunks/chunk.N2DBICDG.js +0 -31
  1152. package/dist/chunks/chunk.N3KI7TGY.js +0 -11
  1153. package/dist/chunks/chunk.NEYNT6PS.js +0 -21
  1154. package/dist/chunks/chunk.NFYNX52D.js +0 -24
  1155. package/dist/chunks/chunk.NKYBMMY2.js +0 -11
  1156. package/dist/chunks/chunk.NPGHYBDT.js +0 -24
  1157. package/dist/chunks/chunk.NVCB6Y7O.js +0 -11
  1158. package/dist/chunks/chunk.NZ4IMOIQ.js +0 -24
  1159. package/dist/chunks/chunk.O7C53DXL.js +0 -11
  1160. package/dist/chunks/chunk.O7MF3O7H.js +0 -21
  1161. package/dist/chunks/chunk.OA7ZISO3.js +0 -29
  1162. package/dist/chunks/chunk.OGQB2AZY.js +0 -28
  1163. package/dist/chunks/chunk.OI6TWGD3.js +0 -11
  1164. package/dist/chunks/chunk.OQDJNDF7.js +0 -21
  1165. package/dist/chunks/chunk.OQSLB6CP.js +0 -477
  1166. package/dist/chunks/chunk.OTIBVSOZ.js +0 -48
  1167. package/dist/chunks/chunk.OVHY4CEQ.js +0 -28
  1168. package/dist/chunks/chunk.OYNKCPJD.js +0 -271
  1169. package/dist/chunks/chunk.P6AWD2KL.js +0 -11
  1170. package/dist/chunks/chunk.PFLNNFWL.js +0 -11
  1171. package/dist/chunks/chunk.PJZ3AGV2.js +0 -1124
  1172. package/dist/chunks/chunk.PMDGFZP5.js +0 -525
  1173. package/dist/chunks/chunk.PR6NXMKM.js +0 -596
  1174. package/dist/chunks/chunk.QBQEKK4N.js +0 -11
  1175. package/dist/chunks/chunk.QIBXPT7H.js +0 -609
  1176. package/dist/chunks/chunk.QR6MBPNF.js +0 -21
  1177. package/dist/chunks/chunk.R64NO63N.js +0 -120
  1178. package/dist/chunks/chunk.R6O6JG2L.js +0 -11
  1179. package/dist/chunks/chunk.R7A4A4XT.js +0 -472
  1180. package/dist/chunks/chunk.RAFZXIF4.js +0 -262
  1181. package/dist/chunks/chunk.RAUR5DNX.js +0 -844
  1182. package/dist/chunks/chunk.RI3VSFPZ.js +0 -220
  1183. package/dist/chunks/chunk.RWPWL7DO.js +0 -64
  1184. package/dist/chunks/chunk.S2QZFTNQ.js +0 -11
  1185. package/dist/chunks/chunk.S6KXROR3.js +0 -252
  1186. package/dist/chunks/chunk.SB7SK65W.js +0 -21
  1187. package/dist/chunks/chunk.SBQXHA4N.js +0 -279
  1188. package/dist/chunks/chunk.SEQTHRF4.js +0 -11
  1189. package/dist/chunks/chunk.SGMS4MGY.js +0 -74
  1190. package/dist/chunks/chunk.SO7HBYRG.js +0 -180
  1191. package/dist/chunks/chunk.SUEHXKVI.js +0 -458
  1192. package/dist/chunks/chunk.T7U33NR2.js +0 -21
  1193. package/dist/chunks/chunk.TI4PHSHN.js +0 -21
  1194. package/dist/chunks/chunk.TU44IQ3W.js +0 -443
  1195. package/dist/chunks/chunk.TUVZOKFF.js +0 -25
  1196. package/dist/chunks/chunk.TYG6OQTG.js +0 -229
  1197. package/dist/chunks/chunk.UA5CCCNW.js +0 -112
  1198. package/dist/chunks/chunk.UDHOUQYU.js +0 -11
  1199. package/dist/chunks/chunk.UP3EUANM.js +0 -26
  1200. package/dist/chunks/chunk.UZBNN6OH.js +0 -345
  1201. package/dist/chunks/chunk.V3OWPNEW.js +0 -121
  1202. package/dist/chunks/chunk.V4Q4SMBP.js +0 -11
  1203. package/dist/chunks/chunk.VBSKFOGI.js +0 -21
  1204. package/dist/chunks/chunk.VEEBK3BR.js +0 -11
  1205. package/dist/chunks/chunk.VHCPOUHN.js +0 -11
  1206. package/dist/chunks/chunk.VMMKDZZ5.js +0 -637
  1207. package/dist/chunks/chunk.VNIY4LMA.js +0 -11
  1208. package/dist/chunks/chunk.VSWHQLHN.js +0 -11
  1209. package/dist/chunks/chunk.VTE57C55.js +0 -24
  1210. package/dist/chunks/chunk.W3LC2QG2.js +0 -927
  1211. package/dist/chunks/chunk.W4GXZSQS.js +0 -874
  1212. package/dist/chunks/chunk.WBMGN2BP.js +0 -11
  1213. package/dist/chunks/chunk.WEZGLQOU.js +0 -11
  1214. package/dist/chunks/chunk.WFNM2234.js +0 -21
  1215. package/dist/chunks/chunk.WI2KVU46.js +0 -229
  1216. package/dist/chunks/chunk.WQK4NSPB.js +0 -161
  1217. package/dist/chunks/chunk.WZ3QCYDR.js +0 -11
  1218. package/dist/chunks/chunk.WZDSW6OR.js +0 -11
  1219. package/dist/chunks/chunk.X4FOEYTC.js +0 -28
  1220. package/dist/chunks/chunk.XBAEFASN.js +0 -33
  1221. package/dist/chunks/chunk.XBKQL5O2.js +0 -101
  1222. package/dist/chunks/chunk.XHEHPNOY.js +0 -11
  1223. package/dist/chunks/chunk.XQMGTEU2.js +0 -1788
  1224. package/dist/chunks/chunk.XUFLNF35.js +0 -27
  1225. package/dist/chunks/chunk.XVKPPLF7.js +0 -11
  1226. package/dist/chunks/chunk.Y2WHWGSZ.js +0 -21
  1227. package/dist/chunks/chunk.YMENYKFQ.js +0 -11
  1228. package/dist/chunks/chunk.YY5Q5XEE.js +0 -11
  1229. package/dist/chunks/chunk.Z7KKP434.js +0 -11
  1230. package/dist/chunks/chunk.ZARHT2OD.js +0 -29
  1231. package/dist/chunks/chunk.ZKLRB2JO.js +0 -123
  1232. package/dist/chunks/chunk.ZSZ4KJID.js +0 -345
  1233. package/dist/chunks/chunk.ZT7GABVO.js +0 -355
  1234. package/dist/chunks/chunk.ZXN6LIWR.js +0 -11
  1235. package/dist/terra_ui_components-0.0.137-py3-none-any.whl +0 -0
  1236. package/dist/terra_ui_components-0.0.137.tar.gz +0 -0
@@ -0,0 +1,2073 @@
1
+ import {
2
+ defaultSubsetFileMimeType,
3
+ getFriendlyNameForMimeType
4
+ } from "./chunk.J2K53JZV.js";
5
+ import {
6
+ getNotebook
7
+ } from "./chunk.YID2PD4H.js";
8
+ import {
9
+ TerraLogin
10
+ } from "./chunk.B7436PBE.js";
11
+ import {
12
+ TerraDialog
13
+ } from "./chunk.E6OTJQA2.js";
14
+ import {
15
+ DataSubsetterController
16
+ } from "./chunk.2FIXNDLC.js";
17
+ import {
18
+ data_subsetter_styles_default
19
+ } from "./chunk.F3RTIMRW.js";
20
+ import {
21
+ TerraDataAccess,
22
+ debounce,
23
+ sendDataToJupyterNotebook
24
+ } from "./chunk.D6CMNUDX.js";
25
+ import {
26
+ TerraMenuItem
27
+ } from "./chunk.5A3HYRPD.js";
28
+ import {
29
+ TerraMenu
30
+ } from "./chunk.FTQ5KMTQ.js";
31
+ import {
32
+ TerraDatePicker
33
+ } from "./chunk.DJYUXTUP.js";
34
+ import {
35
+ AuthController
36
+ } from "./chunk.PBKMNUYF.js";
37
+ import {
38
+ TerraSpatialPicker
39
+ } from "./chunk.FG2ISGVU.js";
40
+ import {
41
+ TerraInput
42
+ } from "./chunk.KG6VRPUL.js";
43
+ import {
44
+ TerraDropdown
45
+ } from "./chunk.6TK5NIXR.js";
46
+ import {
47
+ TerraLoader
48
+ } from "./chunk.PKYJN5TL.js";
49
+ import {
50
+ TerraButton
51
+ } from "./chunk.BEQD5VET.js";
52
+ import {
53
+ TerraAccordion
54
+ } from "./chunk.BRFX2VMD.js";
55
+ import {
56
+ TerraIcon
57
+ } from "./chunk.OZRSX7RA.js";
58
+ import {
59
+ getBasePath
60
+ } from "./chunk.STI7JX26.js";
61
+ import {
62
+ watch
63
+ } from "./chunk.5WMSKURU.js";
64
+ import {
65
+ TerraElement,
66
+ component_styles_default,
67
+ e,
68
+ n,
69
+ r
70
+ } from "./chunk.FU6DSPVY.js";
71
+ import {
72
+ E,
73
+ x
74
+ } from "./chunk.3ZQGAH53.js";
75
+ import {
76
+ __decorateClass,
77
+ __privateAdd,
78
+ __privateGet,
79
+ __privateMethod,
80
+ __spreadProps,
81
+ __spreadValues,
82
+ init_buffer,
83
+ init_dirname,
84
+ init_process
85
+ } from "./chunk.CZA6CSBG.js";
86
+
87
+ // src/components/data-subsetter/data-subsetter.component.ts
88
+ init_dirname();
89
+ init_buffer();
90
+ init_process();
91
+ 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;
92
+ var TerraDataSubsetter = class extends TerraElement {
93
+ constructor() {
94
+ super(...arguments);
95
+ __privateAdd(this, _renderFooterForDialog);
96
+ __privateAdd(this, _renderSizeInfo);
97
+ __privateAdd(this, _renderSubsetOptions);
98
+ __privateAdd(this, _renderSearchForCollection);
99
+ __privateAdd(this, _renderOutputFormatSelection);
100
+ __privateAdd(this, _renderDateRangeSelection);
101
+ __privateAdd(this, _getCollectionDateRange);
102
+ __privateAdd(this, _handleRegionAccordionToggle);
103
+ __privateAdd(this, _renderSpatialSelection);
104
+ __privateAdd(this, _renderVariableSelection);
105
+ __privateAdd(this, _filterVariableTree);
106
+ __privateAdd(this, _handleVariableFilterChange);
107
+ __privateAdd(this, _buildVariableTree);
108
+ __privateAdd(this, _renderVariableTree);
109
+ __privateAdd(this, _getAllGroupPaths);
110
+ __privateAdd(this, _toggleGroupExpand);
111
+ __privateAdd(this, _toggleExpandCollapseAll);
112
+ __privateAdd(this, _toggleVariableSelection);
113
+ __privateAdd(this, _markFieldTouched);
114
+ __privateAdd(this, _renderJobStatus);
115
+ __privateAdd(this, _renderSelectedParams);
116
+ __privateAdd(this, _cancelJob);
117
+ __privateAdd(this, _getData);
118
+ __privateAdd(this, _touchAllFields);
119
+ __privateAdd(this, _numberOfFilesFoundEstimate);
120
+ __privateAdd(this, _getDocumentationLinks);
121
+ __privateAdd(this, _getDataLinks);
122
+ __privateAdd(this, _hasAtLeastOneSubsetOption);
123
+ __privateAdd(this, _hasSpatialSubset);
124
+ __privateAdd(this, _renderJobMessage);
125
+ __privateAdd(this, _getJobMessageText);
126
+ __privateAdd(this, _estimateJobSize);
127
+ __privateAdd(this, _refineParameters);
128
+ __privateAdd(this, _backToSubsetOptions);
129
+ __privateAdd(this, _viewRunningJob);
130
+ __privateAdd(this, _handleDownloadSelect);
131
+ __privateAdd(this, _downloadLinksAsTxt);
132
+ __privateAdd(this, _downloadPythonScript);
133
+ __privateAdd(this, _downloadEarthdataDownload);
134
+ __privateAdd(this, _handleJupyterNotebookClick);
135
+ __privateAdd(this, _renderAvailableTemporalRangeSection);
136
+ __privateAdd(this, _renderAvailableSpatialRangeSection);
137
+ __privateAdd(this, _renderDataAccessModeSelection);
138
+ this.showCollectionSearch = true;
139
+ this.showHistoryPanel = true;
140
+ this.selectedVariables = [];
141
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
142
+ this.variableFilterText = "";
143
+ this.touchedFields = /* @__PURE__ */ new Set();
144
+ this.spatialSelection = null;
145
+ this.selectedDateRange = {
146
+ startDate: null,
147
+ endDate: null
148
+ };
149
+ this.selectedFormat = defaultSubsetFileMimeType;
150
+ this.cancelingGetData = false;
151
+ this.selectedTab = "web-links";
152
+ this.refineParameters = false;
153
+ this.collectionSearchType = "all";
154
+ this.collectionSearchLoading = false;
155
+ this.collectionLoading = false;
156
+ this.collectionAccordionOpen = true;
157
+ this.dataAccessMode = "original";
158
+ this.controller = new DataSubsetterController(this);
159
+ __privateAdd(this, _authController, new AuthController(this));
160
+ __privateAdd(this, _handleDateChange, (e2) => {
161
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
162
+ this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
163
+ startDate: e2.detail.startDate,
164
+ endDate: e2.detail.endDate
165
+ });
166
+ });
167
+ __privateAdd(this, _resetDateRangeSelection, () => {
168
+ this.selectedDateRange = { startDate: null, endDate: null };
169
+ });
170
+ __privateAdd(this, _resetFormatSelection, () => {
171
+ var _a, _b;
172
+ if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) == null ? void 0 : _b.length) {
173
+ this.selectedFormat = this.collectionWithServices.outputFormats[0];
174
+ } else {
175
+ this.selectedFormat = defaultSubsetFileMimeType;
176
+ }
177
+ });
178
+ __privateAdd(this, _handleSpatialChange, (e2) => {
179
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
180
+ const round2 = (n2) => parseFloat(Number(n2).toFixed(2));
181
+ if (e2.detail.type === "bbox" /* BBOX */) {
182
+ this.spatialSelection = {
183
+ e: round2(e2.detail.bounds.getNorthEast().lng),
184
+ n: round2(e2.detail.bounds.getNorthEast().lat),
185
+ w: round2(e2.detail.bounds.getSouthWest().lng),
186
+ s: round2(e2.detail.bounds.getSouthWest().lat)
187
+ };
188
+ } else if (e2.detail.type === "point" /* POINT */) {
189
+ this.spatialSelection = e2.detail.latLng;
190
+ } else {
191
+ this.spatialSelection = null;
192
+ }
193
+ });
194
+ __privateAdd(this, _resetSpatialSelection, () => {
195
+ this.spatialSelection = null;
196
+ });
197
+ __privateAdd(this, _resetVariableSelection, () => {
198
+ this.selectedVariables = [];
199
+ });
200
+ }
201
+ jobIdChanged() {
202
+ if (this.jobId) {
203
+ this.controller.fetchJobByID(this.jobId);
204
+ this.dataAccessMode = "subset";
205
+ }
206
+ }
207
+ shortNameAndVersionChanged() {
208
+ if (this.shortName && this.version) {
209
+ this.collectionEntryId = `${this.shortName}_${this.version}`;
210
+ }
211
+ }
212
+ firstUpdated() {
213
+ if (this.collectionEntryId) {
214
+ this.showCollectionSearch = false;
215
+ }
216
+ if (this.jobId) {
217
+ this.controller.fetchJobByID(this.jobId);
218
+ this.dataAccessMode = "subset";
219
+ }
220
+ if (this.showHistoryPanel) {
221
+ this.renderHistoryPanel();
222
+ }
223
+ }
224
+ collectionChanged() {
225
+ var _a, _b;
226
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
227
+ this.selectedDateRange = { startDate, endDate };
228
+ if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) == null ? void 0 : _b.length) {
229
+ this.selectedFormat = this.collectionWithServices.outputFormats[0];
230
+ } else {
231
+ this.selectedFormat = defaultSubsetFileMimeType;
232
+ }
233
+ this.collectionLoading = false;
234
+ this.collectionAccordionOpen = false;
235
+ }
236
+ render() {
237
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
238
+ const showJobStatus = this.controller.currentJob && !this.refineParameters;
239
+ const showMinimizeButton = showJobStatus && !!this.dialog;
240
+ const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
241
+ const content = x`
242
+ <div class="container">
243
+ ${!this.dialog ? x`
244
+ <div class="header">
245
+ <h1>
246
+ <svg
247
+ class="download-icon"
248
+ viewBox="0 0 24 24"
249
+ fill="currentColor"
250
+ >
251
+ <path
252
+ d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
253
+ />
254
+ </svg>
255
+ ${title}
256
+ </h1>
257
+
258
+ ${showMinimizeButton ? x`<button
259
+ class="minimize-btn"
260
+ @click=${() => this.minimizeDialog()}
261
+ >
262
+ -
263
+ </button>` : E}
264
+ </div>
265
+ ` : E}
266
+ ${!this.jobId && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? x`
267
+ <div class="section">
268
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
269
+ </div>
270
+ ` : E}
271
+ ${this.dataAccessMode === "original" ? x`
272
+ <div class="section">
273
+ <terra-data-access
274
+ short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
275
+ version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
276
+ ?footer-slot=${!!this.dialog}
277
+ >
278
+ ${this.dialog ? x`
279
+ <div
280
+ slot="footer"
281
+ style="margin-top: 15px;"
282
+ >
283
+ <slot
284
+ name="data-access-footer"
285
+ ></slot>
286
+ </div>
287
+ ` : E}
288
+ </terra-data-access>
289
+ </div>
290
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
291
+ </div>
292
+ `;
293
+ if (this.dialog) {
294
+ return x`
295
+ <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
296
+ <span
297
+ slot="label"
298
+ style="display: flex; align-items: center; gap: 8px; color: #0066cc; font-weight: 600;"
299
+ >
300
+ <svg
301
+ class="download-icon"
302
+ viewBox="0 0 24 24"
303
+ fill="currentColor"
304
+ style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
305
+ >
306
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
307
+ </svg>
308
+ ${title}
309
+ </span>
310
+ ${showMinimizeButton ? x`
311
+ <button
312
+ slot="header-actions"
313
+ class="minimize-btn"
314
+ @click=${() => {
315
+ var _a2;
316
+ return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
317
+ }}
318
+ aria-label="Minimize"
319
+ >
320
+ -
321
+ </button>
322
+ ` : E}
323
+ ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
324
+ </terra-dialog>
325
+ `;
326
+ }
327
+ return x`
328
+ <div class="container">
329
+ <div class="header">
330
+ <h1>
331
+ <svg
332
+ class="download-icon"
333
+ viewBox="0 0 24 24"
334
+ fill="currentColor"
335
+ >
336
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
337
+ </svg>
338
+ ${title}
339
+ </h1>
340
+
341
+ ${showMinimizeButton ? x`<button
342
+ class="minimize-btn"
343
+ @click=${() => this.minimizeDialog()}
344
+ >
345
+ -
346
+ </button>` : E}
347
+ </div>
348
+ ${!this.jobId && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? x`
349
+ <div class="section">
350
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
351
+ </div>
352
+ ` : E}
353
+ ${this.dataAccessMode === "original" ? x`
354
+ <div class="section">
355
+ <terra-data-access
356
+ short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
357
+ version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
358
+ ?footer-slot=${!!this.dialog}
359
+ >
360
+ ${this.dialog ? x`
361
+ <div
362
+ slot="footer"
363
+ style="margin-top: 15px;"
364
+ >
365
+ <slot
366
+ name="data-access-footer"
367
+ ></slot>
368
+ </div>
369
+ ` : E}
370
+ </terra-data-access>
371
+ </div>
372
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
373
+ </div>
374
+ `;
375
+ }
376
+ minimizeDialog() {
377
+ var _a;
378
+ (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
379
+ }
380
+ handleCollectionSearch(searchTerm) {
381
+ this.collectionSearchQuery = searchTerm;
382
+ }
383
+ isLatLng(value) {
384
+ return value && typeof value.lat === "number" && typeof value.lng === "number";
385
+ }
386
+ isLatLngBounds(value) {
387
+ return value && typeof value.getSouthWest === "function" && typeof value.getNorthEast === "function";
388
+ }
389
+ renderHistoryPanel() {
390
+ const existingHistoryPanel = document.querySelector(
391
+ "terra-data-subsetter-history"
392
+ );
393
+ if (!existingHistoryPanel) {
394
+ const historyPanel = document.createElement(
395
+ "terra-data-subsetter-history"
396
+ );
397
+ if (this.bearerToken) {
398
+ historyPanel.setAttribute("bearer-token", this.bearerToken);
399
+ }
400
+ if (this.environment) {
401
+ historyPanel.setAttribute("environment", this.environment);
402
+ }
403
+ document.body.appendChild(historyPanel);
404
+ }
405
+ }
406
+ };
407
+ _authController = new WeakMap();
408
+ _renderFooterForDialog = new WeakSet();
409
+ renderFooterForDialog_fn = function() {
410
+ const showJobStatus = this.controller.currentJob && !this.refineParameters;
411
+ if (showJobStatus && this.controller.currentJob) {
412
+ return x`
413
+ <div slot="footer" class="footer">
414
+ ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? x`
415
+ <div
416
+ style="display: flex; align-items: center; gap: 8px;"
417
+ >
418
+ <terra-dropdown
419
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
420
+ >
421
+ <terra-button slot="trigger" caret>
422
+ Download Options
423
+ </terra-button>
424
+ <terra-menu>
425
+ <terra-menu-item value="file-list">
426
+ <svg
427
+ slot="prefix"
428
+ viewBox="0 0 24 24"
429
+ width="16"
430
+ height="16"
431
+ style="width: 16px; height: 16px;"
432
+ >
433
+ <path
434
+ fill="currentColor"
435
+ 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"
436
+ />
437
+ </svg>
438
+ File List
439
+ </terra-menu-item>
440
+ <terra-menu-item value="python-script">
441
+ <svg
442
+ slot="prefix"
443
+ viewBox="0 0 128 128"
444
+ width="16"
445
+ height="16"
446
+ style="width: 16px; height: 16px;"
447
+ >
448
+ <path
449
+ fill="currentColor"
450
+ 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"
451
+ ></path>
452
+ </svg>
453
+ Python Script
454
+ </terra-menu-item>
455
+ <terra-menu-item value="earthdata-download">
456
+ <svg
457
+ slot="prefix"
458
+ viewBox="0 0 64 64"
459
+ fill="none"
460
+ width="16"
461
+ height="16"
462
+ style="width: 16px; height: 16px;"
463
+ >
464
+ <circle
465
+ cx="32"
466
+ cy="32"
467
+ r="28"
468
+ fill="currentColor"
469
+ />
470
+ <path
471
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
472
+ stroke="#fff"
473
+ stroke-width="4"
474
+ stroke-linecap="round"
475
+ stroke-linejoin="round"
476
+ fill="none"
477
+ />
478
+ </svg>
479
+ Earthdata Download
480
+ </terra-menu-item>
481
+ </terra-menu>
482
+ </terra-dropdown>
483
+
484
+ <terra-button
485
+ outline
486
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
487
+ >
488
+ <terra-icon
489
+ name="outline-code-bracket"
490
+ library="heroicons"
491
+ font-size="1.5em"
492
+ style="margin-right: 5px;"
493
+ ></terra-icon>
494
+ Open in Jupyter Notebook
495
+ </terra-button>
496
+ </div>
497
+ ` : E}
498
+ ${this.controller.currentJob.status === "running" ? x`<button
499
+ class="btn btn-success"
500
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
501
+ ?disabled=${this.cancelingGetData}
502
+ >
503
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
504
+ </button>` : E}
505
+
506
+ <div class="job-info">
507
+ Job ID:
508
+ <span class="job-id">
509
+ ${this.bearerToken ? x`<a
510
+ href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
511
+ target="_blank"
512
+ >${this.controller.currentJob.jobID}</a
513
+ >` : this.controller.currentJob.jobID}
514
+ </span>
515
+ <span class="info-icon">?</span>
516
+ </div>
517
+ </div>
518
+ `;
519
+ } else if (this.dataAccessMode === "subset") {
520
+ return x`
521
+ <div slot="footer" class="footer">
522
+ <button class="btn btn-secondary">Reset All</button>
523
+ <div>
524
+ <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
525
+ Get Data
526
+ </button>
527
+ ${this.jobId ? x`
528
+ <terra-button
529
+ variant="default"
530
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
531
+ >
532
+ View Running Job
533
+ </terra-button>
534
+ ` : E}
535
+ </div>
536
+ </div>
537
+ `;
538
+ }
539
+ return E;
540
+ };
541
+ _renderSizeInfo = new WeakSet();
542
+ renderSizeInfo_fn = function(estimates) {
543
+ if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
544
+ return x`
545
+ <div class="size-info warning">
546
+ <terra-login>
547
+ <h2 slot="logged-out">Limited access as a guest.</h2>
548
+
549
+ <p slot="logged-out">
550
+ Your results will be capped at 10 links. Log in for full
551
+ access to all data.
552
+ </p>
553
+ </terra-login>
554
+ </div>
555
+ `;
556
+ }
557
+ return x`<div
558
+ class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
559
+ >
560
+ <h2>Estimated size of results</h2>
561
+ <div class="size-stats">
562
+ ${estimates.days.toLocaleString()} days,
563
+ ${estimates.links.toLocaleString()} links
564
+ </div>
565
+ ${estimates.links >= 150 ? x`<div class="size-warning">
566
+ You are about to retrieve ${estimates.links.toLocaleString()}
567
+ file links from the archive. You may
568
+ <strong>speed up the request</strong> by limiting the scope of
569
+ your search.
570
+ </div>` : E}
571
+ </div>`;
572
+ };
573
+ _renderSubsetOptions = new WeakSet();
574
+ renderSubsetOptions_fn = function() {
575
+ var _a, _b, _c, _d, _e, _f, _g, _h;
576
+ const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
577
+ const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
578
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
579
+ const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
580
+ const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
581
+ const showTemporalSection = temporalExtents && temporalExtents.length;
582
+ const showSpatialSection = spatialExtent && ((_c = (_b = spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles);
583
+ return x`
584
+ ${this.dataAccessMode === "original" ? E : hasSubsetOption ? x`
585
+ ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : E}
586
+ ${this.showCollectionSearch ? x`
587
+ <div class="section">
588
+ <h2 class="section-title">
589
+ Select Data Collection
590
+ <span class="help-icon">?</span>
591
+ </h2>
592
+
593
+ ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
594
+ </div>
595
+ ` : E}
596
+ <div class="section">
597
+ <h2 class="section-title">
598
+ Subset Options
599
+ <span class="help-icon">?</span>
600
+ </h2>
601
+ <p style="color: #666; margin-bottom: 16px;">
602
+ Generate file links supporting geo-spatial search and
603
+ crop, selection of variables and dimensions, selection
604
+ of time of day, and data presentation, in netCDF or
605
+ HDF-EOS5 formats.
606
+ </p>
607
+
608
+ ${((_d = this.collectionWithServices) == null ? void 0 : _d.temporalSubset) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : E}
609
+ ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : E}
610
+ ${((_e = this.collectionWithServices) == null ? void 0 : _e.variableSubset) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : E}
611
+ </div>
612
+ ` : x`
613
+ ${showTemporalSection && !((_f = this.collectionWithServices) == null ? void 0 : _f.temporalSubset) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : E}
614
+ ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : E}
615
+ `}
616
+ ${((_h = (_g = this.collectionWithServices) == null ? void 0 : _g.outputFormats) == null ? void 0 : _h.length) && hasSubsetOption ? x`
617
+ <div class="section">
618
+ <h2 class="section-title">
619
+ Output Format
620
+ <span class="help-icon">?</span>
621
+ </h2>
622
+
623
+ ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
624
+ </div>
625
+ ` : E}
626
+ ${!hasSubsetOption && estimates ? x`
627
+ <div
628
+ class="neutral-info"
629
+ style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
630
+ >
631
+ <strong>Estimated result size:</strong><br />
632
+ Your request will return approximately
633
+ <b>${estimates.links.toLocaleString()}</b> files covering
634
+ <b>${estimates.days.toLocaleString()}</b> days.
635
+ </div>
636
+ ` : E}
637
+ ${this.dataAccessMode === "subset" && !this.dialog ? x`
638
+ <div class="footer">
639
+ <button class="btn btn-secondary">Reset All</button>
640
+
641
+ <div>
642
+ <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
643
+ Get Data
644
+ </button>
645
+ ${this.jobId ? x`
646
+ <terra-button
647
+ variant="default"
648
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
649
+ >
650
+ View Running Job
651
+ </terra-button>
652
+ ` : E}
653
+ </div>
654
+ </div>
655
+ ` : E}
656
+ `;
657
+ };
658
+ _renderSearchForCollection = new WeakSet();
659
+ renderSearchForCollection_fn = function() {
660
+ var _a, _b;
661
+ let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
662
+ if (this.collectionSearchType === "collection") {
663
+ placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
664
+ }
665
+ if (this.collectionSearchType === "variable") {
666
+ placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
667
+ }
668
+ return x`
669
+ <terra-accordion .open=${this.collectionAccordionOpen}>
670
+ <div slot="summary">
671
+ <span class="accordion-title">Collection:</span>
672
+ </div>
673
+
674
+ <div
675
+ slot="summary-right"
676
+ style="display: flex; align-items: center; gap: 10px"
677
+ >
678
+ ${this.collectionEntryId ? x` <span
679
+ class="accordion-value"
680
+ id="selected-collection-display"
681
+ >${this.collectionEntryId}</span
682
+ >
683
+
684
+ <button
685
+ class="reset-btn"
686
+ @click=${() => this.collectionEntryId = void 0}
687
+ >
688
+ Reset
689
+ </button>` : E}
690
+ </div>
691
+
692
+ <div class="search-tabs-mini">
693
+ <button
694
+ class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
695
+ @click=${() => this.collectionSearchType = "all"}
696
+ >
697
+ All
698
+ </button>
699
+ <button
700
+ class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
701
+ @click=${() => this.collectionSearchType = "collection"}
702
+ >
703
+ Collections
704
+ </button>
705
+ <button
706
+ class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
707
+ @click=${() => this.collectionSearchType = "variable"}
708
+ >
709
+ Variables
710
+ </button>
711
+ </div>
712
+
713
+ <div class="search-container-mini">
714
+ <input
715
+ type="text"
716
+ class="search-input-mini"
717
+ id="search-input"
718
+ placeholder=${placeholder}
719
+ @input="${(e2) => this.handleCollectionSearch(
720
+ e2.target.value
721
+ )}"
722
+ />
723
+
724
+ <button class="search-button-mini">
725
+ <svg
726
+ class="search-icon-mini"
727
+ viewBox="0 0 24 24"
728
+ fill="currentColor"
729
+ >
730
+ <path
731
+ 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"
732
+ />
733
+ </svg>
734
+ Search
735
+ </button>
736
+ </div>
737
+
738
+ <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
739
+ <div class="quick-links-mini">
740
+ <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
741
+ >GPM Precipitation</a
742
+ >
743
+ <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
744
+ >MODIS Data</a
745
+ >
746
+ <a
747
+ href="#"
748
+ class="quick-link-mini"
749
+ onclick="quickSearch('Landsat')"
750
+ >Landsat Imagery</a
751
+ >
752
+ <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
753
+ >Atmospheric Data</a
754
+ >
755
+ </div>
756
+ -->
757
+
758
+ <div id="search-results-section" class="search-results-section">
759
+ ${this.collectionSearchLoading ? x`
760
+ <div id="loading-mini" class="loading-mini">
761
+ <div class="spinner-mini"></div>
762
+ <div>Searching NASA CMR...</div>
763
+ </div>
764
+ ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? x` <div
765
+ id="results-container-mini"
766
+ class="results-container-mini"
767
+ >
768
+ ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
769
+ (item) => x`
770
+ <div
771
+ class="result-item-mini"
772
+ @click=${() => {
773
+ this.collectionEntryId = item.collectionEntryId;
774
+ this.collectionAccordionOpen = false;
775
+ this.collectionLoading = true;
776
+ if (item.type === "variable") {
777
+ this.selectedVariables = [
778
+ {
779
+ name: item.entryId,
780
+ href: "",
781
+ conceptId: item.conceptId
782
+ }
783
+ ];
784
+ }
785
+ this.requestUpdate();
786
+ }}
787
+ style="cursor: pointer;"
788
+ >
789
+ <div class="result-title-mini">
790
+ ${item.title}
791
+ </div>
792
+ <div class="result-id-mini">
793
+ ${item.entryId}
794
+ </div>
795
+ <div class="result-description-mini">
796
+ ${item.summary || item.title}
797
+ </div>
798
+ <div class="result-meta-mini">
799
+ <span>📅 2000-02-24 - ongoing</span>
800
+ <span>🌍 Global</span>
801
+ <span>🏢 ${item.provider}</span>
802
+ ${item.type === "variable" ? x` <span
803
+ >📊
804
+ ${item.collectionEntryId}</span
805
+ >` : E}
806
+ <span class="tag-mini"
807
+ >${item.type.toUpperCase()}</span
808
+ >
809
+ </div>
810
+ </div>
811
+ `
812
+ )}
813
+ </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? x`<div id="no-results-mini" class="no-results-mini">
814
+ <p>
815
+ No results found for
816
+ '${this.collectionSearchQuery}'. Try adjusting
817
+ your search term.
818
+ </p>
819
+ </div>` : E}
820
+ </div>
821
+ </terra-accordion>
822
+
823
+ ${this.collectionLoading ? x`
824
+ <div
825
+ class="collection-loading-bar"
826
+ style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
827
+ >
828
+ <span
829
+ class="loading-spinner"
830
+ 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;"
831
+ ></span>
832
+ Retrieving collection, please wait...
833
+ </div>
834
+ <style>
835
+ @keyframes spin {
836
+ 0% {
837
+ transform: rotate(0deg);
838
+ }
839
+ 100% {
840
+ transform: rotate(360deg);
841
+ }
842
+ }
843
+ </style>
844
+ ` : E}
845
+ `;
846
+ };
847
+ _renderOutputFormatSelection = new WeakSet();
848
+ renderOutputFormatSelection_fn = function() {
849
+ return x`
850
+ <terra-accordion>
851
+ <div slot="summary">
852
+ <span class="accordion-title">File Format:</span>
853
+ </div>
854
+
855
+ <div
856
+ slot="summary-right"
857
+ style="display: flex; align-items: center; gap: 10px;"
858
+ >
859
+ <span>${getFriendlyNameForMimeType(this.selectedFormat)}</span>
860
+
861
+ <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
862
+ Reset
863
+ </button>
864
+ </div>
865
+
866
+ <div class="accordion-content" style="margin-top: 12px;">
867
+ ${(() => {
868
+ var _a;
869
+ const uniqueFormats = Array.from(
870
+ new Set(((_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) || [])
871
+ );
872
+ return uniqueFormats.map(
873
+ (format) => x`
874
+ <label
875
+ style="display: flex; align-items: center; gap: 8px; padding: 5px;"
876
+ >
877
+ <input
878
+ type="radio"
879
+ name="output-format"
880
+ value="${format}"
881
+ .checked=${this.selectedFormat === format}
882
+ @change=${() => this.selectedFormat = format}
883
+ />
884
+ ${getFriendlyNameForMimeType(format)}
885
+ </label>
886
+ `
887
+ );
888
+ })()}
889
+ </div>
890
+ </terra-accordion>
891
+ `;
892
+ };
893
+ _renderDateRangeSelection = new WeakSet();
894
+ renderDateRangeSelection_fn = function() {
895
+ var _a, _b;
896
+ const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
897
+ const startDate = (_a = this.selectedDateRange.startDate) != null ? _a : defaultStartDate;
898
+ const endDate = (_b = this.selectedDateRange.endDate) != null ? _b : defaultEndDate;
899
+ const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
900
+ return x`
901
+ <terra-accordion>
902
+ <div slot="summary">
903
+ <span class="accordion-title">Refine Date Range:</span>
904
+ </div>
905
+
906
+ <div
907
+ slot="summary-right"
908
+ style="display: flex; align-items: center; gap: 10px;"
909
+ >
910
+ ${showError ? x`<span class="accordion-value error"
911
+ >Please select a date range</span
912
+ >` : this.touchedFields.has("date") && startDate && endDate ? x`<span class="accordion-value"
913
+ >${startDate} to ${endDate}</span
914
+ >` : E}
915
+ <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
916
+ Reset
917
+ </button>
918
+ </div>
919
+
920
+ <div style="width: 300px">
921
+ <terra-date-picker
922
+ allow-input
923
+ inline
924
+ range
925
+ split-inputs
926
+ show-presets
927
+ start-label="Start Date"
928
+ end-label="End Date"
929
+ .minDate=${defaultStartDate}
930
+ .maxDate=${defaultEndDate}
931
+ .startDate=${this.selectedDateRange.startDate}
932
+ .endDate=${this.selectedDateRange.endDate}
933
+ @terra-date-range-change=${__privateGet(this, _handleDateChange)}
934
+ ></terra-date-picker>
935
+ </div>
936
+
937
+ <div
938
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
939
+ >
940
+ <span
941
+ ><strong>Available Range:</strong> ${defaultStartDate} to
942
+ ${defaultEndDate}</span
943
+ >
944
+ <span
945
+ ><strong>Note:</strong> All dates and times are in UTC.</span
946
+ >
947
+ </div>
948
+ </terra-accordion>
949
+ `;
950
+ };
951
+ _handleDateChange = new WeakMap();
952
+ _resetDateRangeSelection = new WeakMap();
953
+ _resetFormatSelection = new WeakMap();
954
+ _getCollectionDateRange = new WeakSet();
955
+ getCollectionDateRange_fn = function() {
956
+ var _a, _b;
957
+ const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
958
+ if (!temporalExtents || !temporalExtents.length)
959
+ return {
960
+ startDate: null,
961
+ endDate: null
962
+ };
963
+ let minStart = null;
964
+ let maxEnd = null;
965
+ const today = /* @__PURE__ */ new Date();
966
+ for (const temporal of temporalExtents) {
967
+ for (const range of temporal.RangeDateTimes) {
968
+ const start = new Date(range.BeginningDateTime);
969
+ let end;
970
+ if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
971
+ end = today;
972
+ } else {
973
+ end = new Date(range.EndingDateTime);
974
+ }
975
+ if (!minStart || start < minStart)
976
+ minStart = start;
977
+ if (!maxEnd || end > maxEnd)
978
+ maxEnd = end;
979
+ }
980
+ }
981
+ return {
982
+ startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
983
+ endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
984
+ };
985
+ };
986
+ _handleRegionAccordionToggle = new WeakSet();
987
+ handleRegionAccordionToggle_fn = function() {
988
+ var _a;
989
+ (_a = this.spatialPicker) == null ? void 0 : _a.invalidateSize();
990
+ };
991
+ _renderSpatialSelection = new WeakSet();
992
+ renderSpatialSelection_fn = function() {
993
+ var _a, _b, _c, _d, _e;
994
+ const showError = this.touchedFields.has("spatial") && !this.spatialSelection;
995
+ 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;
996
+ if (boundingRects && !Array.isArray(boundingRects)) {
997
+ boundingRects = [boundingRects];
998
+ }
999
+ let spatialString = "";
1000
+ if (this.isLatLng(this.spatialSelection)) {
1001
+ spatialString = `${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1002
+ } else if (this.isLatLngBounds(this.spatialSelection)) {
1003
+ spatialString = `${this.spatialSelection.getSouthWest().lat}, ${this.spatialSelection.getSouthWest().lng}, ${this.spatialSelection.getNorthEast().lat}, ${this.spatialSelection.getNorthEast().lng}`;
1004
+ } else if (this.spatialSelection && "w" in this.spatialSelection && "s" in this.spatialSelection && "e" in this.spatialSelection && "n" in this.spatialSelection) {
1005
+ spatialString = `${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1006
+ } else if (this.spatialSelection) {
1007
+ spatialString = this.spatialSelection;
1008
+ }
1009
+ return x`
1010
+ <terra-accordion
1011
+ @terra-accordion-toggle=${__privateMethod(this, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn)}
1012
+ >
1013
+ <div slot="summary">
1014
+ <span class="accordion-title">Refine Region:</span>
1015
+ </div>
1016
+
1017
+ <div
1018
+ slot="summary-right"
1019
+ style="display: flex; align-items: center; gap: 10px;"
1020
+ >
1021
+ ${showError ? x`<span class="accordion-value error"
1022
+ >Please select a region</span
1023
+ >` : spatialString ? x`<span class="accordion-value"
1024
+ >${spatialString}</span
1025
+ >` : E}
1026
+ <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1027
+ Reset
1028
+ </button>
1029
+ </div>
1030
+ <div class="accordion-content">
1031
+ <terra-spatial-picker
1032
+ part="spatial-picker"
1033
+ inline
1034
+ hide-label
1035
+ has-shape-selector
1036
+ hide-point-selection
1037
+ no-world-wrap
1038
+ .initialValue=${spatialString}
1039
+ @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1040
+ ></terra-spatial-picker>
1041
+ ${boundingRects && Array.isArray(boundingRects) && boundingRects.length ? x`<div
1042
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1043
+ >
1044
+ ${boundingRects.map(
1045
+ (rect) => x`<div>
1046
+ <strong>Available Range:</strong>
1047
+ ${rect.WestBoundingCoordinate},
1048
+ ${rect.SouthBoundingCoordinate},
1049
+ ${rect.EastBoundingCoordinate},
1050
+ ${rect.NorthBoundingCoordinate}
1051
+ </div>`
1052
+ )}
1053
+ </div>` : E}
1054
+ </div>
1055
+ </terra-accordion>
1056
+ `;
1057
+ };
1058
+ _handleSpatialChange = new WeakMap();
1059
+ _resetSpatialSelection = new WeakMap();
1060
+ _renderVariableSelection = new WeakSet();
1061
+ renderVariableSelection_fn = function() {
1062
+ var _a;
1063
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1064
+ const showError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1065
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1066
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1067
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1068
+ return x`
1069
+ <terra-accordion>
1070
+ <div slot="summary">
1071
+ <span class="accordion-title">Select Variables:</span>
1072
+ </div>
1073
+ <div
1074
+ slot="summary-right"
1075
+ style="display: flex; align-items: center; gap: 10px;"
1076
+ >
1077
+ ${showError ? x`<span class="accordion-value error"
1078
+ >Please select at least one variable</span
1079
+ >` : this.selectedVariables.length ? x`<span class="accordion-value"
1080
+ >${this.selectedVariables.length} selected</span
1081
+ >` : E}
1082
+
1083
+ <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1084
+ Reset
1085
+ </button>
1086
+ </div>
1087
+ <div class="accordion-content">
1088
+ <terra-input
1089
+ label="Filter variables"
1090
+ placeholder="Search by variable name..."
1091
+ .value=${this.variableFilterText}
1092
+ @input=${(e2) => {
1093
+ const input = e2.target;
1094
+ this.variableFilterText = input.value;
1095
+ __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1096
+ }}
1097
+ style="margin-bottom: 10px;"
1098
+ ></terra-input>
1099
+ <button
1100
+ class="reset-btn"
1101
+ style="margin-bottom: 10px;"
1102
+ @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1103
+ >
1104
+ ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1105
+ </button>
1106
+ ${variables.length === 0 ? x`<p style="color: #666; font-style: italic;">
1107
+ No variables available for this collection.
1108
+ </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1109
+ </div>
1110
+ </terra-accordion>
1111
+ `;
1112
+ };
1113
+ _filterVariableTree = new WeakSet();
1114
+ filterVariableTree_fn = function(tree) {
1115
+ if (!this.variableFilterText.trim()) {
1116
+ return tree;
1117
+ }
1118
+ const filterText = this.variableFilterText.toLowerCase().trim();
1119
+ const filterNode = (node) => {
1120
+ const result = {};
1121
+ for (const [key, value] of Object.entries(node)) {
1122
+ if (value.__isLeaf) {
1123
+ const variableName = value.__variable.name.toLowerCase();
1124
+ if (variableName.includes(filterText)) {
1125
+ result[key] = value;
1126
+ }
1127
+ } else {
1128
+ const filteredChildren = filterNode(value.__children);
1129
+ if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1130
+ result[key] = __spreadProps(__spreadValues({}, value), {
1131
+ __children: filteredChildren
1132
+ });
1133
+ }
1134
+ }
1135
+ }
1136
+ return result;
1137
+ };
1138
+ return filterNode(tree);
1139
+ };
1140
+ _handleVariableFilterChange = new WeakSet();
1141
+ handleVariableFilterChange_fn = function() {
1142
+ var _a;
1143
+ if (!this.variableFilterText.trim()) {
1144
+ return;
1145
+ }
1146
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1147
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1148
+ const filterText = this.variableFilterText.toLowerCase().trim();
1149
+ const groupsToExpand = /* @__PURE__ */ new Set();
1150
+ const findMatchingGroups = (node, path = []) => {
1151
+ for (const [key, value] of Object.entries(node)) {
1152
+ if (value.__isLeaf) {
1153
+ const variableName = value.__variable.name.toLowerCase();
1154
+ if (variableName.includes(filterText)) {
1155
+ for (let i = 0; i < path.length; i++) {
1156
+ const groupPath = path.slice(0, i + 1).join("/");
1157
+ groupsToExpand.add(groupPath);
1158
+ }
1159
+ }
1160
+ } else {
1161
+ const groupPath = [...path, key].join("/");
1162
+ findMatchingGroups(value.__children, [...path, key]);
1163
+ if (key.toLowerCase().includes(filterText)) {
1164
+ groupsToExpand.add(groupPath);
1165
+ }
1166
+ }
1167
+ }
1168
+ };
1169
+ findMatchingGroups(tree);
1170
+ if (groupsToExpand.size > 0) {
1171
+ this.expandedVariableGroups = /* @__PURE__ */ new Set([
1172
+ ...this.expandedVariableGroups,
1173
+ ...groupsToExpand
1174
+ ]);
1175
+ }
1176
+ };
1177
+ _buildVariableTree = new WeakSet();
1178
+ buildVariableTree_fn = function(variables) {
1179
+ const root = {};
1180
+ for (const v of variables) {
1181
+ const parts = v.name.split("/");
1182
+ let node = root;
1183
+ for (let i = 0; i < parts.length; i++) {
1184
+ const part = parts[i];
1185
+ if (!node[part])
1186
+ node[part] = { __children: {}, __isLeaf: false };
1187
+ if (i === parts.length - 1) {
1188
+ node[part].__isLeaf = true;
1189
+ node[part].__variable = v;
1190
+ }
1191
+ node = node[part].__children;
1192
+ }
1193
+ }
1194
+ return root;
1195
+ };
1196
+ _renderVariableTree = new WeakSet();
1197
+ renderVariableTree_fn = function(node, path) {
1198
+ return x`
1199
+ <div style="margin-left: ${path.length * 20}px;">
1200
+ ${Object.entries(node).map(([key, value]) => {
1201
+ const groupPath = [...path, key].join("/");
1202
+ if (value.__isLeaf) {
1203
+ return x`
1204
+ <div class="option-row">
1205
+ <label class="checkbox-option">
1206
+ <input
1207
+ type="checkbox"
1208
+ .checked=${this.selectedVariables.some(
1209
+ (v) => v.name === value.__variable.name
1210
+ )}
1211
+ @change=${(e2) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e2, value.__variable)}
1212
+ />
1213
+ <span>${key}</span>
1214
+ </label>
1215
+ </div>
1216
+ `;
1217
+ } else {
1218
+ const expanded = this.expandedVariableGroups.has(groupPath);
1219
+ return x`
1220
+ <div class="option-row" style="align-items: flex-start;">
1221
+ <span
1222
+ style="cursor: pointer; display: flex; align-items: center;"
1223
+ @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1224
+ >
1225
+ <terra-icon
1226
+ library="heroicons"
1227
+ name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1228
+ style="margin-right: 4px;"
1229
+ ></terra-icon>
1230
+ <span style="font-weight: 500;">${key}</span>
1231
+ </span>
1232
+ </div>
1233
+ ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1234
+ ...path,
1235
+ key
1236
+ ]) : ""}
1237
+ `;
1238
+ }
1239
+ })}
1240
+ </div>
1241
+ `;
1242
+ };
1243
+ _getAllGroupPaths = new WeakSet();
1244
+ getAllGroupPaths_fn = function(node, path = []) {
1245
+ let groups = [];
1246
+ for (const [key, value] of Object.entries(node)) {
1247
+ if (!value.__isLeaf) {
1248
+ const groupPath = [...path, key].join("/");
1249
+ groups.push(groupPath);
1250
+ groups = groups.concat(
1251
+ __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1252
+ );
1253
+ }
1254
+ }
1255
+ return groups;
1256
+ };
1257
+ _toggleGroupExpand = new WeakSet();
1258
+ toggleGroupExpand_fn = function(groupPath) {
1259
+ const set = new Set(this.expandedVariableGroups);
1260
+ if (set.has(groupPath)) {
1261
+ set.delete(groupPath);
1262
+ } else {
1263
+ set.add(groupPath);
1264
+ }
1265
+ this.expandedVariableGroups = set;
1266
+ };
1267
+ _toggleExpandCollapseAll = new WeakSet();
1268
+ toggleExpandCollapseAll_fn = function(tree) {
1269
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1270
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1271
+ if (allExpanded) {
1272
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
1273
+ } else {
1274
+ this.expandedVariableGroups = new Set(allGroups);
1275
+ }
1276
+ };
1277
+ _toggleVariableSelection = new WeakSet();
1278
+ toggleVariableSelection_fn = function(e2, variable) {
1279
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1280
+ const checked = e2.target.checked;
1281
+ if (checked) {
1282
+ if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1283
+ this.selectedVariables = [...this.selectedVariables, variable];
1284
+ }
1285
+ } else {
1286
+ this.selectedVariables = this.selectedVariables.filter(
1287
+ (v) => v.name !== variable.name
1288
+ );
1289
+ }
1290
+ };
1291
+ _markFieldTouched = new WeakSet();
1292
+ markFieldTouched_fn = function(field) {
1293
+ this.touchedFields = new Set(this.touchedFields).add(field);
1294
+ };
1295
+ _resetVariableSelection = new WeakMap();
1296
+ _renderJobStatus = new WeakSet();
1297
+ renderJobStatus_fn = function() {
1298
+ var _a, _b;
1299
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.jobID)) {
1300
+ return x`<div class="results-section" id="job-status-section">
1301
+ <div
1302
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1303
+ >
1304
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1305
+ <terra-button
1306
+ variant="default"
1307
+ size="small"
1308
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1309
+ >
1310
+ ← Back to Subset Options
1311
+ </terra-button>
1312
+ </div>
1313
+
1314
+ <div class="progress-container">
1315
+ <div class="progress-text">
1316
+ <span class="spinner"></span>
1317
+ <span class="status-running">Searching for data...</span>
1318
+ </div>
1319
+
1320
+ <div class="progress-bar">
1321
+ <div class="progress-fill" style="width: 0%"></div>
1322
+ </div>
1323
+ </div>
1324
+
1325
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1326
+ </div>`;
1327
+ }
1328
+ return x`
1329
+ <div class="results-section" id="job-status-section">
1330
+ <div
1331
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1332
+ >
1333
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1334
+ <terra-button
1335
+ variant="default"
1336
+ size="small"
1337
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1338
+ >
1339
+ ← Back to Subset Options
1340
+ </terra-button>
1341
+ </div>
1342
+
1343
+ ${this.controller.currentJob.status !== "canceled" && this.controller.currentJob.status !== "failed" ? x` <div class="progress-container">
1344
+ <div class="progress-text">
1345
+ ${this.controller.currentJob.progress >= 100 ? x`
1346
+ <span class="status-complete"
1347
+ >✓ Search complete</span
1348
+ >
1349
+ ` : x`
1350
+ <span class="spinner"></span>
1351
+ <span class="status-running"
1352
+ >Searching for data...
1353
+ (${this.controller.currentJob.progress}%)</span
1354
+ >
1355
+ `}
1356
+ </div>
1357
+
1358
+ <div class="progress-bar">
1359
+ <div
1360
+ class="progress-fill"
1361
+ style="width: ${this.controller.currentJob.progress}%"
1362
+ ></div>
1363
+ </div>
1364
+ </div>` : E}
1365
+
1366
+ <div class="search-status">
1367
+ <span class="file-count"
1368
+ >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1369
+ >
1370
+ out of estimated
1371
+ <span class="estimated-total"
1372
+ >${this.controller.currentJob.numInputGranules.toLocaleString()}</span
1373
+ >
1374
+ </div>
1375
+
1376
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1377
+ ${((_b = this.controller.currentJob.errors) == null ? void 0 : _b.length) ? x`
1378
+ <terra-accordion>
1379
+ <div slot="summary">
1380
+ <span
1381
+ class="accordion-title"
1382
+ style="color: #dc3545;"
1383
+ >Errors
1384
+ (${this.controller.currentJob.errors.length})</span
1385
+ >
1386
+ </div>
1387
+ <div class="accordion-content">
1388
+ <ul
1389
+ style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1390
+ >
1391
+ ${this.controller.currentJob.errors.map(
1392
+ (err) => x`
1393
+ <li style="margin-bottom: 12px;">
1394
+ <a
1395
+ href="${err.url}"
1396
+ target="_blank"
1397
+ style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1398
+ >
1399
+ ${err.url}
1400
+ </a>
1401
+ <div style="margin-top: 2px;">
1402
+ ${err.message}
1403
+ </div>
1404
+ </li>
1405
+ `
1406
+ )}
1407
+ </ul>
1408
+ </div>
1409
+ </terra-accordion>
1410
+ ` : E}
1411
+
1412
+ <div class="tabs">
1413
+ <button
1414
+ class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1415
+ @click=${() => this.selectedTab = "web-links"}
1416
+ >
1417
+ Web Links
1418
+ </button>
1419
+
1420
+ <button
1421
+ class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1422
+ @click=${() => this.selectedTab = "selected-params"}
1423
+ >
1424
+ Selected Parameters
1425
+ </button>
1426
+ </div>
1427
+ <div
1428
+ id="web-links"
1429
+ class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1430
+ >
1431
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? x`
1432
+ <div class="documentation-links">
1433
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1434
+ (link) => x`
1435
+ <a href="${link.href}" class="doc-link"
1436
+ >${link.title}</a
1437
+ >
1438
+ `
1439
+ )}
1440
+ </div>
1441
+ ` : E}
1442
+
1443
+ <ul class="file-list">
1444
+ ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1445
+ (link) => x`
1446
+ <li class="file-item">
1447
+ <a
1448
+ href="${link.href}"
1449
+ class="file-link"
1450
+ target="_blank"
1451
+ >
1452
+ ${link.title}
1453
+ </a>
1454
+ </li>
1455
+ `
1456
+ )}
1457
+ </ul>
1458
+ </div>
1459
+
1460
+ <div
1461
+ id="selected-params"
1462
+ class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1463
+ >
1464
+ ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1465
+ </div>
1466
+ </div>
1467
+
1468
+ ${!this.dialog ? x`
1469
+ <div class="footer">
1470
+ ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? x`
1471
+ <div
1472
+ style="display: flex; align-items: center; gap: 8px;"
1473
+ >
1474
+ <terra-dropdown
1475
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1476
+ >
1477
+ <terra-button slot="trigger" caret>
1478
+ Download Options
1479
+ </terra-button>
1480
+ <terra-menu>
1481
+ <terra-menu-item value="file-list">
1482
+ <svg
1483
+ slot="prefix"
1484
+ viewBox="0 0 24 24"
1485
+ width="16"
1486
+ height="16"
1487
+ style="width: 16px; height: 16px;"
1488
+ >
1489
+ <path
1490
+ fill="currentColor"
1491
+ 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"
1492
+ />
1493
+ </svg>
1494
+ File List
1495
+ </terra-menu-item>
1496
+ <terra-menu-item
1497
+ value="python-script"
1498
+ >
1499
+ <svg
1500
+ slot="prefix"
1501
+ viewBox="0 0 128 128"
1502
+ width="16"
1503
+ height="16"
1504
+ style="width: 16px; height: 16px;"
1505
+ >
1506
+ <path
1507
+ fill="currentColor"
1508
+ 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"
1509
+ ></path>
1510
+ </svg>
1511
+ Python Script
1512
+ </terra-menu-item>
1513
+ <terra-menu-item
1514
+ value="earthdata-download"
1515
+ >
1516
+ <svg
1517
+ slot="prefix"
1518
+ viewBox="0 0 64 64"
1519
+ fill="none"
1520
+ width="16"
1521
+ height="16"
1522
+ style="width: 16px; height: 16px;"
1523
+ >
1524
+ <circle
1525
+ cx="32"
1526
+ cy="32"
1527
+ r="28"
1528
+ fill="currentColor"
1529
+ />
1530
+ <path
1531
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
1532
+ stroke="#fff"
1533
+ stroke-width="4"
1534
+ stroke-linecap="round"
1535
+ stroke-linejoin="round"
1536
+ fill="none"
1537
+ />
1538
+ </svg>
1539
+ Earthdata Download
1540
+ </terra-menu-item>
1541
+ </terra-menu>
1542
+ </terra-dropdown>
1543
+
1544
+ <terra-button
1545
+ outline
1546
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
1547
+ >
1548
+ <terra-icon
1549
+ name="outline-code-bracket"
1550
+ library="heroicons"
1551
+ font-size="1.5em"
1552
+ style="margin-right: 5px;"
1553
+ ></terra-icon>
1554
+ Open in Jupyter Notebook
1555
+ </terra-button>
1556
+ </div>
1557
+ ` : E}
1558
+ ${this.controller.currentJob.status === "running" ? x`<button
1559
+ class="btn btn-success"
1560
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
1561
+ ?disabled=${this.cancelingGetData}
1562
+ >
1563
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
1564
+ </button>` : E}
1565
+
1566
+ <div class="job-info">
1567
+ Job ID:
1568
+ <span class="job-id">
1569
+ ${this.bearerToken ? x`<a
1570
+ href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
1571
+ target="_blank"
1572
+ >${this.controller.currentJob.jobID}</a
1573
+ >` : this.controller.currentJob.jobID}
1574
+ </span>
1575
+ <span class="info-icon">?</span>
1576
+ </div>
1577
+ </div>
1578
+ ` : E}
1579
+ `;
1580
+ };
1581
+ _renderSelectedParams = new WeakSet();
1582
+ renderSelectedParams_fn = function() {
1583
+ var _a, _b;
1584
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1585
+ const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
1586
+ const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
1587
+ let spatial = "\u2014";
1588
+ if (this.spatialSelection) {
1589
+ if ("w" in this.spatialSelection) {
1590
+ spatial = `Bounding Box: ${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1591
+ } else if ("lat" in this.spatialSelection && "lng" in this.spatialSelection) {
1592
+ spatial = `Point: ${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1593
+ }
1594
+ }
1595
+ return x`
1596
+ <dl class="params-summary">
1597
+ <div>
1598
+ <dt><strong>Dataset</strong></dt>
1599
+ <dd>${(_b = collection == null ? void 0 : collection.EntryTitle) != null ? _b : "\u2014"}</dd>
1600
+ </div>
1601
+ <div>
1602
+ <dt><strong>Variables</strong></dt>
1603
+ <dd>${variables.map((v) => x`<div>${v}</div>`)}</dd>
1604
+ </div>
1605
+ <div>
1606
+ <dt><strong>Date Range</strong></dt>
1607
+ <dd>${dateRange}</dd>
1608
+ </div>
1609
+ <div>
1610
+ <dt><strong>Spatial</strong></dt>
1611
+ <dd>${spatial}</dd>
1612
+ </div>
1613
+ </dl>
1614
+
1615
+ <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
1616
+ >Refine Parameters</terra-button
1617
+ >
1618
+ `;
1619
+ };
1620
+ _cancelJob = new WeakSet();
1621
+ cancelJob_fn = function() {
1622
+ this.cancelingGetData = true;
1623
+ this.controller.cancelCurrentJob();
1624
+ };
1625
+ _getData = new WeakSet();
1626
+ getData_fn = function() {
1627
+ this.cancelingGetData = false;
1628
+ __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
1629
+ this.controller.cancelCurrentJob();
1630
+ this.controller.currentJob = null;
1631
+ this.jobId = void 0;
1632
+ this.controller.jobStatusTask.run().then(() => {
1633
+ var _a;
1634
+ if ((_a = this.controller.currentJob) == null ? void 0 : _a.jobID) {
1635
+ this.jobId = this.controller.currentJob.jobID;
1636
+ }
1637
+ });
1638
+ setTimeout(() => {
1639
+ const el = this.renderRoot.querySelector("#job-status-section");
1640
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1641
+ }, 100);
1642
+ this.refineParameters = false;
1643
+ };
1644
+ _touchAllFields = new WeakSet();
1645
+ touchAllFields_fn = function() {
1646
+ this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
1647
+ };
1648
+ _numberOfFilesFoundEstimate = new WeakSet();
1649
+ numberOfFilesFoundEstimate_fn = function() {
1650
+ return Math.floor(
1651
+ this.controller.currentJob.numInputGranules * this.controller.currentJob.progress / 100
1652
+ );
1653
+ };
1654
+ _getDocumentationLinks = new WeakSet();
1655
+ getDocumentationLinks_fn = function() {
1656
+ return this.controller.currentJob.links.filter(
1657
+ (link) => link.rel === "stac-catalog-json"
1658
+ );
1659
+ };
1660
+ _getDataLinks = new WeakSet();
1661
+ getDataLinks_fn = function() {
1662
+ return this.controller.currentJob.links.filter((link) => link.rel === "data");
1663
+ };
1664
+ _hasAtLeastOneSubsetOption = new WeakSet();
1665
+ hasAtLeastOneSubsetOption_fn = function() {
1666
+ var _a, _b, _c, _d;
1667
+ 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);
1668
+ };
1669
+ _hasSpatialSubset = new WeakSet();
1670
+ hasSpatialSubset_fn = function() {
1671
+ var _a, _b;
1672
+ return ((_a = this.collectionWithServices) == null ? void 0 : _a.bboxSubset) || ((_b = this.collectionWithServices) == null ? void 0 : _b.shapeSubset);
1673
+ };
1674
+ _renderJobMessage = new WeakSet();
1675
+ renderJobMessage_fn = function() {
1676
+ const warningStatuses = [
1677
+ "canceled" /* CANCELED */,
1678
+ "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
1679
+ "running_with_errors" /* RUNNING_WITH_ERRORS */
1680
+ ];
1681
+ const errorStatuses = ["failed" /* FAILED */];
1682
+ let type = "normal";
1683
+ if (warningStatuses.includes(this.controller.currentJob.status)) {
1684
+ type = "warning";
1685
+ } else if (errorStatuses.includes(this.controller.currentJob.status)) {
1686
+ type = "error";
1687
+ }
1688
+ let color, bg;
1689
+ if (type === "error") {
1690
+ color = "#dc3545";
1691
+ bg = "#f8d7da";
1692
+ } else if (type === "warning") {
1693
+ color = "#856404";
1694
+ bg = "#fff3cd";
1695
+ } else {
1696
+ color = "#555";
1697
+ bg = "#f8f9fa";
1698
+ }
1699
+ return x`
1700
+ <div
1701
+ style="
1702
+ margin: 24px 0 16px 0;
1703
+ padding: 16px 20px;
1704
+ border-radius: 6px;
1705
+ background: ${bg};
1706
+ color: ${color};
1707
+ border: 1px solid ${color}22;
1708
+ "
1709
+ >
1710
+ ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
1711
+ </div>
1712
+ `;
1713
+ };
1714
+ _getJobMessageText = new WeakSet();
1715
+ getJobMessageText_fn = function() {
1716
+ var _a;
1717
+ return (_a = this.controller.currentJob) == null ? void 0 : _a.message.replace(
1718
+ /\b(The job|the job|job|Job)\b/g,
1719
+ (match) => {
1720
+ switch (match) {
1721
+ case "The job":
1722
+ return "Your request";
1723
+ case "the job":
1724
+ return "Your Request";
1725
+ case "job":
1726
+ return "request";
1727
+ case "Job":
1728
+ return "Request";
1729
+ }
1730
+ return match;
1731
+ }
1732
+ );
1733
+ };
1734
+ _estimateJobSize = new WeakSet();
1735
+ estimateJobSize_fn = function() {
1736
+ var _a, _b;
1737
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1738
+ if (!collection)
1739
+ return;
1740
+ const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1741
+ let startDate;
1742
+ let endDate;
1743
+ let links = (_b = collection.granuleCount) != null ? _b : 0;
1744
+ if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
1745
+ startDate = this.selectedDateRange.startDate;
1746
+ endDate = this.selectedDateRange.endDate;
1747
+ } else {
1748
+ startDate = range.startDate;
1749
+ endDate = range.endDate;
1750
+ }
1751
+ if (!startDate || !endDate)
1752
+ return;
1753
+ const start = new Date(startDate);
1754
+ const end = new Date(endDate);
1755
+ const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
1756
+ if (range.startDate && range.endDate) {
1757
+ const availableDaysInCollection = Math.floor(
1758
+ (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
1759
+ ) + 1;
1760
+ const granulesPerDay = links / availableDaysInCollection;
1761
+ links = Math.ceil(days * granulesPerDay);
1762
+ }
1763
+ return { days, links };
1764
+ };
1765
+ _refineParameters = new WeakSet();
1766
+ refineParameters_fn = function() {
1767
+ this.refineParameters = true;
1768
+ };
1769
+ _backToSubsetOptions = new WeakSet();
1770
+ backToSubsetOptions_fn = function() {
1771
+ this.refineParameters = true;
1772
+ setTimeout(() => {
1773
+ const container = this.renderRoot.querySelector(".container");
1774
+ container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
1775
+ }, 100);
1776
+ };
1777
+ _viewRunningJob = new WeakSet();
1778
+ viewRunningJob_fn = function() {
1779
+ this.refineParameters = false;
1780
+ setTimeout(() => {
1781
+ const el = this.renderRoot.querySelector("#job-status-section");
1782
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1783
+ }, 100);
1784
+ };
1785
+ _handleDownloadSelect = new WeakSet();
1786
+ handleDownloadSelect_fn = function(event) {
1787
+ const item = event.detail.item;
1788
+ const value = item.value || item.getTextLabel();
1789
+ if (value === "file-list") {
1790
+ __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
1791
+ } else if (value === "python-script") {
1792
+ __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
1793
+ } else if (value === "earthdata-download") {
1794
+ __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
1795
+ }
1796
+ };
1797
+ _downloadLinksAsTxt = new WeakSet();
1798
+ downloadLinksAsTxt_fn = function(event) {
1799
+ var _a;
1800
+ event.stopPropagation();
1801
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1802
+ return;
1803
+ }
1804
+ const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
1805
+ if (dataLinks.length === 0) {
1806
+ return;
1807
+ }
1808
+ const content = dataLinks.map((link) => link.href).join("\n");
1809
+ const blob = new Blob([content], { type: "text/plain" });
1810
+ const url = URL.createObjectURL(blob);
1811
+ const a = document.createElement("a");
1812
+ a.href = url;
1813
+ a.download = `subset_links_${this.controller.currentJob.jobID}.txt`;
1814
+ document.body.appendChild(a);
1815
+ a.click();
1816
+ document.body.removeChild(a);
1817
+ URL.revokeObjectURL(url);
1818
+ };
1819
+ _downloadPythonScript = new WeakSet();
1820
+ downloadPythonScript_fn = async function(event) {
1821
+ var _a, _b, _c;
1822
+ event.stopPropagation();
1823
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1824
+ return;
1825
+ }
1826
+ const response = await fetch(
1827
+ getBasePath("assets/data-subsetter/download_subset_files.py.txt")
1828
+ );
1829
+ if (!response.ok) {
1830
+ alert(
1831
+ "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
1832
+ );
1833
+ }
1834
+ const content = (await response.text()).replace(/{{jobId}}/gi, this.controller.currentJob.jobID).replace(
1835
+ /{{HARMONY_ENV}}/gi,
1836
+ `Environment.${(_b = this.environment) == null ? void 0 : _b.toUpperCase()}`
1837
+ ).replace(
1838
+ /{{EARTHACCESS_ENV}}/gi,
1839
+ `earthaccess.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
1840
+ );
1841
+ const blob = new Blob([content], { type: "text/plain" });
1842
+ const url = URL.createObjectURL(blob);
1843
+ const a = document.createElement("a");
1844
+ a.href = url;
1845
+ a.download = `download_subset_files_${this.controller.currentJob.jobID}.py`;
1846
+ document.body.appendChild(a);
1847
+ a.click();
1848
+ document.body.removeChild(a);
1849
+ URL.revokeObjectURL(url);
1850
+ };
1851
+ _downloadEarthdataDownload = new WeakSet();
1852
+ downloadEarthdataDownload_fn = async function(event) {
1853
+ var _a;
1854
+ event.stopPropagation();
1855
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1856
+ return;
1857
+ }
1858
+ alert("Sorry, Earthdata Download is not currently supported");
1859
+ };
1860
+ _handleJupyterNotebookClick = new WeakSet();
1861
+ handleJupyterNotebookClick_fn = function() {
1862
+ var _a;
1863
+ const notebook = getNotebook(this);
1864
+ console.log("sending data to JupyterLite");
1865
+ sendDataToJupyterNotebook("load-notebook", {
1866
+ filename: `subset_${(_a = this.controller.currentJob) == null ? void 0 : _a.jobID}.ipynb`,
1867
+ notebook,
1868
+ bearerToken: this.bearerToken
1869
+ });
1870
+ };
1871
+ _renderAvailableTemporalRangeSection = new WeakSet();
1872
+ renderAvailableTemporalRangeSection_fn = function() {
1873
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1874
+ if (!startDate || !endDate)
1875
+ return E;
1876
+ return x`
1877
+ <div class="section" style="margin-bottom: 16px;">
1878
+ <h2 class="section-title">Available Date Range</h2>
1879
+ <div style="color: #31708f; margin-top: 8px;">
1880
+ <strong>${startDate}</strong> to <strong>${endDate}</strong>
1881
+ </div>
1882
+ <div style="font-size: 0.95em; color: #666;">
1883
+ This collection does not support temporal subsetting.
1884
+ </div>
1885
+ </div>
1886
+ `;
1887
+ };
1888
+ _renderAvailableSpatialRangeSection = new WeakSet();
1889
+ renderAvailableSpatialRangeSection_fn = function() {
1890
+ var _a, _b, _c, _d, _e;
1891
+ 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;
1892
+ if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
1893
+ return E;
1894
+ return x`
1895
+ <div class="section" style="margin-bottom: 16px;">
1896
+ <h2 class="section-title">Available Spatial Area</h2>
1897
+ <div style="color: #31708f; margin-top: 8px;">
1898
+ ${boundingRects.map(
1899
+ (rect) => x`<div>
1900
+ <strong>Bounding Box:</strong>
1901
+ ${rect.WestBoundingCoordinate},
1902
+ ${rect.SouthBoundingCoordinate},
1903
+ ${rect.EastBoundingCoordinate},
1904
+ ${rect.NorthBoundingCoordinate}
1905
+ </div>`
1906
+ )}
1907
+ </div>
1908
+ <div style="font-size: 0.95em; color: #666;">
1909
+ This collection does not support spatial subsetting.
1910
+ </div>
1911
+ </div>
1912
+ `;
1913
+ };
1914
+ _renderDataAccessModeSelection = new WeakSet();
1915
+ renderDataAccessModeSelection_fn = function() {
1916
+ return x`
1917
+ <div class="mode-selection">
1918
+ <div class="mode-options">
1919
+ <label
1920
+ class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
1921
+ >
1922
+ <input
1923
+ type="radio"
1924
+ name="data-access-mode"
1925
+ value="original"
1926
+ .checked=${this.dataAccessMode === "original"}
1927
+ @change=${() => this.dataAccessMode = "original"}
1928
+ />
1929
+ <div class="mode-content">
1930
+ <div class="mode-title">Get Original Files</div>
1931
+ <div class="mode-description">
1932
+ Filter file links directly from the archive.
1933
+ </div>
1934
+ </div>
1935
+ </label>
1936
+
1937
+ <label
1938
+ class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
1939
+ >
1940
+ <input
1941
+ type="radio"
1942
+ name="data-access-mode"
1943
+ value="subset"
1944
+ .checked=${this.dataAccessMode === "subset"}
1945
+ @change=${() => this.dataAccessMode = "subset"}
1946
+ />
1947
+ <div class="mode-content">
1948
+ <div class="mode-title">Subset Data</div>
1949
+ <div class="mode-description">
1950
+ Subset the data to your specific needs.
1951
+ </div>
1952
+ </div>
1953
+ </label>
1954
+ </div>
1955
+ </div>
1956
+ `;
1957
+ };
1958
+ TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
1959
+ TerraDataSubsetter.dependencies = {
1960
+ "terra-accordion": TerraAccordion,
1961
+ "terra-date-picker": TerraDatePicker,
1962
+ "terra-icon": TerraIcon,
1963
+ "terra-input": TerraInput,
1964
+ "terra-spatial-picker": TerraSpatialPicker,
1965
+ "terra-login": TerraLogin,
1966
+ "terra-loader": TerraLoader,
1967
+ "terra-data-access": TerraDataAccess,
1968
+ "terra-dialog": TerraDialog,
1969
+ "terra-dropdown": TerraDropdown,
1970
+ "terra-menu": TerraMenu,
1971
+ "terra-menu-item": TerraMenuItem,
1972
+ "terra-button": TerraButton
1973
+ };
1974
+ __decorateClass([
1975
+ n({ reflect: true, attribute: "collection-entry-id" })
1976
+ ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
1977
+ __decorateClass([
1978
+ n({ reflect: true, attribute: "short-name" })
1979
+ ], TerraDataSubsetter.prototype, "shortName", 2);
1980
+ __decorateClass([
1981
+ n({ reflect: true, attribute: "version" })
1982
+ ], TerraDataSubsetter.prototype, "version", 2);
1983
+ __decorateClass([
1984
+ n({ reflect: true, type: Boolean, attribute: "show-collection-search" })
1985
+ ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
1986
+ __decorateClass([
1987
+ n({ reflect: true, type: Boolean, attribute: "show-history-panel" })
1988
+ ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
1989
+ __decorateClass([
1990
+ n({ reflect: true, attribute: "job-id" })
1991
+ ], TerraDataSubsetter.prototype, "jobId", 2);
1992
+ __decorateClass([
1993
+ n({ attribute: "bearer-token" })
1994
+ ], TerraDataSubsetter.prototype, "bearerToken", 2);
1995
+ __decorateClass([
1996
+ n({ reflect: true })
1997
+ ], TerraDataSubsetter.prototype, "dialog", 2);
1998
+ __decorateClass([
1999
+ r()
2000
+ ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
2001
+ __decorateClass([
2002
+ r()
2003
+ ], TerraDataSubsetter.prototype, "selectedVariables", 2);
2004
+ __decorateClass([
2005
+ r()
2006
+ ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
2007
+ __decorateClass([
2008
+ r()
2009
+ ], TerraDataSubsetter.prototype, "variableFilterText", 2);
2010
+ __decorateClass([
2011
+ r()
2012
+ ], TerraDataSubsetter.prototype, "touchedFields", 2);
2013
+ __decorateClass([
2014
+ r()
2015
+ ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2016
+ __decorateClass([
2017
+ r()
2018
+ ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2019
+ __decorateClass([
2020
+ r()
2021
+ ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2022
+ __decorateClass([
2023
+ r()
2024
+ ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2025
+ __decorateClass([
2026
+ r()
2027
+ ], TerraDataSubsetter.prototype, "selectedTab", 2);
2028
+ __decorateClass([
2029
+ r()
2030
+ ], TerraDataSubsetter.prototype, "refineParameters", 2);
2031
+ __decorateClass([
2032
+ r()
2033
+ ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2034
+ __decorateClass([
2035
+ r()
2036
+ ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2037
+ __decorateClass([
2038
+ r()
2039
+ ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2040
+ __decorateClass([
2041
+ r()
2042
+ ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2043
+ __decorateClass([
2044
+ r()
2045
+ ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2046
+ __decorateClass([
2047
+ r()
2048
+ ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2049
+ __decorateClass([
2050
+ r()
2051
+ ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2052
+ __decorateClass([
2053
+ e('[part~="spatial-picker"]')
2054
+ ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2055
+ __decorateClass([
2056
+ e("terra-dialog")
2057
+ ], TerraDataSubsetter.prototype, "dialogElement", 2);
2058
+ __decorateClass([
2059
+ watch(["jobId"], { waitUntilFirstUpdate: true })
2060
+ ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2061
+ __decorateClass([
2062
+ watch(["shortName", "version"])
2063
+ ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2064
+ __decorateClass([
2065
+ watch(["collectionWithServices"])
2066
+ ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2067
+ __decorateClass([
2068
+ debounce(500)
2069
+ ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2070
+
2071
+ export {
2072
+ TerraDataSubsetter
2073
+ };