@nasa-terra/components 0.0.146 → 0.0.147

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 (1287) hide show
  1. package/cdn/chunks/chunk.24N3TYTN.js +86 -0
  2. package/cdn/chunks/chunk.257FOPYO.js +29 -0
  3. package/cdn/chunks/chunk.2BMPWNRO.js +19 -0
  4. package/cdn/chunks/chunk.2FRCO3IV.js +36 -0
  5. package/cdn/chunks/chunk.2HMVZFN7.js +1966 -0
  6. package/cdn/chunks/chunk.2RYX2IRR.js +19 -0
  7. package/cdn/chunks/chunk.2SPCJPKF.js +234 -0
  8. package/cdn/chunks/chunk.32Q4TEHU.js +19 -0
  9. package/cdn/chunks/chunk.3EUZVY5V.js +29 -0
  10. package/cdn/chunks/chunk.3IKIT27A.js +1001 -0
  11. package/cdn/chunks/chunk.3MFQHCTU.js +306 -0
  12. package/cdn/chunks/chunk.3N5J4ZW7.js +477 -0
  13. package/cdn/chunks/chunk.3NEG4WP7.js +29 -0
  14. package/cdn/chunks/chunk.3Q3EYNU4.js +19 -0
  15. package/cdn/chunks/chunk.3SO4K6Y3.js +355 -0
  16. package/cdn/chunks/chunk.3UGV7TCZ.js +372 -0
  17. package/cdn/chunks/chunk.42DMRGGV.js +235 -0
  18. package/cdn/chunks/chunk.44ROUJVV.js +32 -0
  19. package/cdn/chunks/chunk.4FLZ3K7F.js +83 -0
  20. package/cdn/chunks/chunk.4GHI63ED.js +19 -0
  21. package/cdn/chunks/chunk.4HYYLXTT.js +19 -0
  22. package/cdn/chunks/chunk.4P6FIJGS.js +32 -0
  23. package/cdn/chunks/chunk.4UL4WO5H.js +146 -0
  24. package/cdn/chunks/chunk.4W7A3ASJ.js +19 -0
  25. package/cdn/chunks/chunk.57FXZ4JA.js +19 -0
  26. package/cdn/chunks/chunk.5JON2HRW.js +615 -0
  27. package/cdn/chunks/chunk.5NEWAXHA.js +19 -0
  28. package/cdn/chunks/chunk.5UGQPN77.js +29 -0
  29. package/cdn/chunks/chunk.6DOVJQEO.js +19 -0
  30. package/cdn/chunks/chunk.6KZV5S26.js +132 -0
  31. package/cdn/chunks/chunk.6NSUSBYK.js +19 -0
  32. package/cdn/chunks/chunk.6P74XQCQ.js +19 -0
  33. package/cdn/chunks/chunk.6TEOQR76.js +754 -0
  34. package/cdn/chunks/chunk.6WDW3MEN.js +231 -0
  35. package/cdn/chunks/chunk.7KMIMXJ5.js +19 -0
  36. package/cdn/chunks/chunk.7TB5GA4E.js +36 -0
  37. package/cdn/chunks/chunk.7ZIV5VFA.js +29 -0
  38. package/cdn/chunks/chunk.A3R3SJXI.js +33 -0
  39. package/cdn/chunks/chunk.A5TQIGWR.js +29 -0
  40. package/cdn/chunks/chunk.AHHMY4R2.js +19 -0
  41. package/cdn/chunks/chunk.AM4LYTF7.js +19 -0
  42. package/cdn/chunks/chunk.APUL5TJO.js +106 -0
  43. package/cdn/chunks/chunk.AXSDDFLX.js +19 -0
  44. package/cdn/chunks/chunk.AZH3LZ6Z.js +19 -0
  45. package/cdn/chunks/chunk.B2PBYEJD.js +189 -0
  46. package/cdn/chunks/chunk.B62UPADM.js +136 -0
  47. package/cdn/chunks/chunk.BG56ZMHL.js +276 -0
  48. package/cdn/chunks/chunk.BITUWHVL.js +54 -0
  49. package/cdn/chunks/chunk.BPJ5VW5X.js +39 -0
  50. package/cdn/chunks/chunk.BRUAFXP2.js +29 -0
  51. package/cdn/chunks/chunk.BWN2CIVC.js +19 -0
  52. package/cdn/chunks/chunk.BWTGS4KO.js +19 -0
  53. package/cdn/chunks/chunk.C7DGAKZF.js +248 -0
  54. package/cdn/chunks/chunk.CWG6CMJ3.js +190 -0
  55. package/cdn/chunks/chunk.CXHYVT36.js +610 -0
  56. package/cdn/chunks/chunk.CZRNVNW3.js +93 -0
  57. package/cdn/chunks/chunk.DHHBUOBW.js +41 -0
  58. package/cdn/chunks/chunk.DMAX2T37.js +19 -0
  59. package/cdn/chunks/chunk.DNRZTBTH.js +19 -0
  60. package/cdn/chunks/chunk.DZQG234D.js +158 -0
  61. package/cdn/chunks/chunk.E3BLRGKG.js +302 -0
  62. package/cdn/chunks/chunk.E3R73H3Y.js +29 -0
  63. package/cdn/chunks/chunk.EBWHLW6O.js +99 -0
  64. package/cdn/chunks/chunk.EED25LZ7.js +19 -0
  65. package/cdn/chunks/chunk.EGPJFFZR.js +60 -0
  66. package/cdn/chunks/chunk.EIC2YZCG.js +264 -0
  67. package/cdn/chunks/chunk.EKZS74LR.js +19 -0
  68. package/cdn/chunks/chunk.ENNAQV3N.js +36 -0
  69. package/cdn/chunks/chunk.FBQW7O3D.js +37 -0
  70. package/cdn/chunks/chunk.FGIJD3XN.js +19 -0
  71. package/cdn/chunks/chunk.FK53O3WY.js +19 -0
  72. package/cdn/chunks/chunk.FLDZG3HL.js +599 -0
  73. package/cdn/chunks/chunk.FPQUYQ3S.js +19 -0
  74. package/cdn/chunks/chunk.FXM6K5HM.js +217 -0
  75. package/cdn/chunks/chunk.GYCJQG4T.js +19 -0
  76. package/cdn/chunks/chunk.GZLLW27W.js +29 -0
  77. package/cdn/chunks/chunk.H6Z2D67J.js +30 -0
  78. package/cdn/chunks/chunk.H7SYYQZN.js +71 -0
  79. package/cdn/chunks/chunk.H7YMNJUS.js +33 -0
  80. package/cdn/chunks/chunk.HBOFYV7M.js +293 -0
  81. package/cdn/chunks/chunk.HO3LOCLZ.js +99 -0
  82. package/cdn/chunks/chunk.HSODTYMV.js +19 -0
  83. package/cdn/chunks/chunk.HY25FOZF.js +32 -0
  84. package/cdn/chunks/chunk.HZWXCFDM.js +78 -0
  85. package/cdn/chunks/chunk.I3FSYZYX.js +359 -0
  86. package/cdn/chunks/chunk.I4KE7OPO.js +35 -0
  87. package/cdn/chunks/chunk.IBM5KX5L.js +19 -0
  88. package/cdn/chunks/chunk.IFF3ITIV.js +55346 -0
  89. package/cdn/chunks/chunk.ILTY5DPT.js +29 -0
  90. package/cdn/chunks/chunk.JAXW53DD.js +47 -0
  91. package/cdn/chunks/chunk.JFHC3LXJ.js +56 -0
  92. package/cdn/chunks/chunk.JL2XQXZ2.js +60 -0
  93. package/cdn/chunks/chunk.JM7PCKNI.js +19 -0
  94. package/cdn/chunks/chunk.JR2VSQXN.js +19 -0
  95. package/cdn/chunks/chunk.JUYO65XT.js +33858 -0
  96. package/cdn/chunks/chunk.JWRMLSWJ.js +19 -0
  97. package/cdn/chunks/chunk.JXBBNPEC.js +315 -0
  98. package/cdn/chunks/chunk.KCWS76CI.js +278 -0
  99. package/cdn/chunks/chunk.KECHA4LU.js +19 -0
  100. package/cdn/chunks/chunk.KWYXX4XV.js +19 -0
  101. package/cdn/chunks/chunk.LGADP3G3.js +224 -0
  102. package/cdn/chunks/chunk.LIFQSXZU.js +83 -0
  103. package/cdn/chunks/chunk.LSOODLNE.js +19 -0
  104. package/cdn/chunks/chunk.LYIW5ZMT.js +435 -0
  105. package/cdn/chunks/chunk.M2PT3IFQ.js +34 -0
  106. package/cdn/chunks/chunk.M3GNARBC.js +62 -0
  107. package/cdn/chunks/chunk.MDSVPS4C.js +33 -0
  108. package/cdn/chunks/chunk.MNV4PR4K.js +19 -0
  109. package/cdn/chunks/chunk.MR5ZWAC5.js +19 -0
  110. package/cdn/chunks/chunk.MUMTOSEO.js +1885 -0
  111. package/cdn/chunks/chunk.MVNHN34I.js +19 -0
  112. package/cdn/chunks/chunk.MYGUOOPW.js +19 -0
  113. package/cdn/chunks/chunk.N64KBUKT.js +29 -0
  114. package/cdn/chunks/chunk.NBNOHDEJ.js +29 -0
  115. package/cdn/chunks/chunk.NEAIIE54.js +29 -0
  116. package/cdn/chunks/chunk.NHACGQYS.js +2183 -0
  117. package/cdn/chunks/chunk.NHTD6OUY.js +259 -0
  118. package/cdn/chunks/chunk.NJ33FA32.js +29 -0
  119. package/cdn/chunks/chunk.NRD5ZMHF.js +977 -0
  120. package/cdn/chunks/chunk.NW5LPRI2.js +29 -0
  121. package/cdn/chunks/chunk.O5K3KHME.js +524 -0
  122. package/cdn/chunks/chunk.OSSU4YBK.js +621 -0
  123. package/cdn/chunks/chunk.OT3EN73T.js +29 -0
  124. package/cdn/chunks/chunk.OUOMFY4M.js +32 -0
  125. package/cdn/chunks/chunk.OWTBLCH4.js +281 -0
  126. package/cdn/chunks/chunk.OYMH572G.js +730 -0
  127. package/cdn/chunks/chunk.OZE5L25N.js +29 -0
  128. package/cdn/chunks/chunk.P44J7DXI.js +357 -0
  129. package/cdn/chunks/chunk.PCELVECV.js +29 -0
  130. package/cdn/chunks/chunk.PH6C7TMY.js +19 -0
  131. package/cdn/chunks/chunk.PIGBSMYA.js +29 -0
  132. package/cdn/chunks/chunk.PINSUPA5.js +19 -0
  133. package/cdn/chunks/chunk.PKW4VL6L.js +19 -0
  134. package/cdn/chunks/chunk.Q3HIYKVN.js +286 -0
  135. package/cdn/chunks/chunk.Q46A4GMG.js +74 -0
  136. package/cdn/chunks/chunk.QCQOKPOG.js +33 -0
  137. package/cdn/chunks/chunk.QLSMP7MF.js +29 -0
  138. package/cdn/chunks/chunk.QQ7ZXO7Y.js +230 -0
  139. package/cdn/chunks/chunk.QRITY6YZ.js +19 -0
  140. package/cdn/chunks/chunk.RE2PBMSK.js +29 -0
  141. package/cdn/chunks/chunk.RKEGVYEQ.js +19 -0
  142. package/cdn/chunks/chunk.RQ4W2PTP.js +188 -0
  143. package/cdn/chunks/chunk.RT36MF6Q.js +32 -0
  144. package/cdn/chunks/chunk.RVV2NGRC.js +104 -0
  145. package/cdn/chunks/chunk.RWCRTPOS.js +32 -0
  146. package/cdn/chunks/chunk.RZZHOKXL.js +230 -0
  147. package/cdn/chunks/chunk.S5E46J5B.js +29 -0
  148. package/cdn/chunks/chunk.S7JZP2NE.js +32 -0
  149. package/cdn/chunks/chunk.SEQFSNN4.js +33 -0
  150. package/cdn/chunks/chunk.SGAPSGC2.js +29 -0
  151. package/cdn/chunks/chunk.SMW4CGTI.js +32 -0
  152. package/cdn/chunks/chunk.SQJDRTUG.js +19 -0
  153. package/cdn/chunks/chunk.SVACDCR6.js +538 -0
  154. package/cdn/chunks/chunk.SYRTRAJD.js +33 -0
  155. package/cdn/chunks/chunk.T6J7SEII.js +29 -0
  156. package/cdn/chunks/chunk.TOZJSWZM.js +257 -0
  157. package/cdn/chunks/chunk.TUOIHDDX.js +19 -0
  158. package/cdn/chunks/chunk.TVRAKKRK.js +19 -0
  159. package/cdn/chunks/chunk.TXICSWQB.js +19 -0
  160. package/cdn/chunks/chunk.U3NJNMS7.js +32 -0
  161. package/cdn/chunks/chunk.U5K3SLUO.js +29 -0
  162. package/cdn/chunks/chunk.UEG77G2O.js +123 -0
  163. package/cdn/chunks/chunk.UEJWOESK.js +35 -0
  164. package/cdn/chunks/chunk.UP2YPWIN.js +35 -0
  165. package/cdn/chunks/chunk.UR34AISQ.js +34 -0
  166. package/cdn/chunks/chunk.UU5WSDSK.js +35 -0
  167. package/cdn/chunks/chunk.V6R6JJOW.js +32 -0
  168. package/cdn/chunks/chunk.VC2DQV2J.js +19 -0
  169. package/cdn/chunks/chunk.VOJGHDMD.js +113 -0
  170. package/cdn/chunks/chunk.VP33A7WK.js +92 -0
  171. package/cdn/chunks/chunk.VQLBLR4C.js +19 -0
  172. package/cdn/chunks/chunk.VWLELQY3.js +32 -0
  173. package/cdn/chunks/chunk.VZRFHHI4.js +662 -0
  174. package/cdn/chunks/chunk.W4NR24MH.js +29 -0
  175. package/cdn/chunks/chunk.W4O432O2.js +19 -0
  176. package/cdn/chunks/chunk.W6BNQSH4.js +19 -0
  177. package/cdn/chunks/chunk.W74GN2VD.js +19 -0
  178. package/cdn/chunks/chunk.W7N4DEBM.js +19 -0
  179. package/cdn/chunks/chunk.WCPL6UF4.js +499 -0
  180. package/cdn/chunks/chunk.WDUEOITG.js +288 -0
  181. package/cdn/chunks/chunk.X7O36UTU.js +165 -0
  182. package/cdn/chunks/chunk.XBTSXAMY.js +634 -0
  183. package/cdn/chunks/chunk.XRVMXDO5.js +37 -0
  184. package/cdn/chunks/chunk.XSFYDTGA.js +19 -0
  185. package/cdn/chunks/chunk.XSUTTJN5.js +29 -0
  186. package/cdn/chunks/chunk.XWJIKDSH.js +19 -0
  187. package/cdn/chunks/chunk.XYLNL3XH.js +19 -0
  188. package/cdn/chunks/chunk.Y7PSAUD6.js +29 -0
  189. package/cdn/chunks/chunk.YCZYX2DJ.js +49 -0
  190. package/cdn/chunks/chunk.YD5HFB5M.js +493 -0
  191. package/cdn/chunks/chunk.YDWRNAWX.js +32 -0
  192. package/cdn/chunks/chunk.YNEMLFZS.js +29 -0
  193. package/cdn/chunks/chunk.YNJQ4IGR.js +67 -0
  194. package/cdn/chunks/chunk.YNLDTESI.js +19 -0
  195. package/cdn/chunks/chunk.YRJHN46W.js +904 -0
  196. package/cdn/chunks/chunk.YT6X3AZ7.js +19 -0
  197. package/cdn/chunks/chunk.YTT3V6LJ.js +151 -0
  198. package/cdn/chunks/chunk.YVDRR4HH.js +29 -0
  199. package/cdn/chunks/chunk.YWXEF2UQ.js +19 -0
  200. package/cdn/chunks/chunk.Z66JOHHP.js +239 -0
  201. package/cdn/chunks/chunk.Z76ETHV3.js +32 -0
  202. package/cdn/chunks/chunk.ZBHEVNXK.js +19 -0
  203. package/cdn/chunks/chunk.ZFJZ54JF.js +32 -0
  204. package/cdn/chunks/chunk.ZMFYCZEA.js +134 -0
  205. package/cdn/chunks/chunk.ZXVJ7FDQ.js +155 -0
  206. package/cdn/chunks/chunk.ZZLL5DQT.js +36 -0
  207. package/cdn/components/accordion/accordion.component.js +3 -3
  208. package/cdn/components/accordion/accordion.js +4 -4
  209. package/cdn/components/alert/alert.component.js +2 -2
  210. package/cdn/components/alert/alert.js +3 -3
  211. package/cdn/components/avatar/avatar.component.js +3 -3
  212. package/cdn/components/avatar/avatar.js +4 -4
  213. package/cdn/components/badge/badge.component.js +2 -2
  214. package/cdn/components/badge/badge.js +3 -3
  215. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  216. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  217. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  218. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  219. package/cdn/components/browse-variables/browse-variables.component.js +10 -10
  220. package/cdn/components/browse-variables/browse-variables.js +11 -11
  221. package/cdn/components/button/button.component.js +3 -3
  222. package/cdn/components/button/button.js +4 -4
  223. package/cdn/components/button-group/button-group.component.js +2 -2
  224. package/cdn/components/button-group/button-group.js +3 -3
  225. package/cdn/components/caption/caption.component.js +2 -2
  226. package/cdn/components/caption/caption.js +3 -3
  227. package/cdn/components/card/card.component.js +2 -2
  228. package/cdn/components/card/card.js +3 -3
  229. package/cdn/components/checkbox/checkbox.component.js +3 -3
  230. package/cdn/components/checkbox/checkbox.js +4 -4
  231. package/cdn/components/chip/chip.component.js +2 -2
  232. package/cdn/components/chip/chip.js +3 -3
  233. package/cdn/components/combobox/combobox.component.js +2 -2
  234. package/cdn/components/combobox/combobox.js +3 -3
  235. package/cdn/components/data-access/data-access.component.d.ts +0 -2
  236. package/cdn/components/data-access/data-access.component.js +24 -24
  237. package/cdn/components/data-access/data-access.controller.d.ts +3 -0
  238. package/cdn/components/data-access/data-access.controller.js +2 -2
  239. package/cdn/components/data-access/data-access.js +25 -25
  240. package/cdn/components/data-access/data-access.styles.js +1 -1
  241. package/cdn/components/data-grid/data-grid.component.js +3 -3
  242. package/cdn/components/data-grid/data-grid.js +4 -4
  243. package/cdn/components/data-rods/data-rods.component.d.ts +11 -8
  244. package/cdn/components/data-rods/data-rods.component.js +30 -30
  245. package/cdn/components/data-rods/data-rods.js +31 -31
  246. package/cdn/components/data-rods/data-rods.styles.js +1 -1
  247. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +6 -0
  248. package/cdn/components/data-subsetter/data-subsetter.component.js +35 -34
  249. package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +4 -0
  250. package/cdn/components/data-subsetter/data-subsetter.controller.js +2 -2
  251. package/cdn/components/data-subsetter/data-subsetter.js +36 -35
  252. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  253. package/cdn/components/data-subsetter-history/data-subsetter-history.component.d.ts +3 -0
  254. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +37 -36
  255. package/cdn/components/data-subsetter-history/data-subsetter-history.js +38 -37
  256. package/cdn/components/data-subsetter-history/data-subsetter-history.styles.js +1 -1
  257. package/cdn/components/date-picker/date-picker.component.d.ts +15 -1
  258. package/cdn/components/date-picker/date-picker.component.js +8 -8
  259. package/cdn/components/date-picker/date-picker.js +9 -9
  260. package/cdn/components/date-picker/date-picker.styles.js +1 -1
  261. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  262. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  263. package/cdn/components/dialog/dialog.component.js +4 -4
  264. package/cdn/components/dialog/dialog.js +5 -5
  265. package/cdn/components/divider/divider.component.js +2 -2
  266. package/cdn/components/divider/divider.js +3 -3
  267. package/cdn/components/dropdown/dropdown.component.js +3 -3
  268. package/cdn/components/dropdown/dropdown.js +4 -4
  269. package/cdn/components/earthdata-login/earthdata-login.component.d.ts +2 -2
  270. package/cdn/components/earthdata-login/earthdata-login.component.js +11 -11
  271. package/cdn/components/earthdata-login/earthdata-login.js +12 -12
  272. package/cdn/components/earthdata-login/earthdata-login.styles.js +1 -1
  273. package/cdn/components/file-upload/file-upload.component.js +2 -2
  274. package/cdn/components/file-upload/file-upload.js +3 -3
  275. package/cdn/components/icon/icon.component.js +2 -2
  276. package/cdn/components/icon/icon.js +3 -3
  277. package/cdn/components/input/input.component.js +3 -3
  278. package/cdn/components/input/input.js +4 -4
  279. package/cdn/components/loader/loader.component.js +2 -2
  280. package/cdn/components/loader/loader.js +3 -3
  281. package/cdn/components/login/login.component.js +8 -8
  282. package/cdn/components/login/login.js +9 -9
  283. package/cdn/components/map/map.component.d.ts +5 -0
  284. package/cdn/components/map/map.component.js +5 -5
  285. package/cdn/components/map/map.js +6 -6
  286. package/cdn/components/menu/menu.component.js +2 -2
  287. package/cdn/components/menu/menu.js +3 -3
  288. package/cdn/components/menu-item/menu-item.component.js +5 -5
  289. package/cdn/components/menu-item/menu-item.js +6 -6
  290. package/cdn/components/option/option.component.js +3 -3
  291. package/cdn/components/option/option.js +4 -4
  292. package/cdn/components/pagination/pagination.component.js +3 -3
  293. package/cdn/components/pagination/pagination.js +4 -4
  294. package/cdn/components/plot/plot.component.js +2 -2
  295. package/cdn/components/plot/plot.js +3 -3
  296. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  297. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  298. package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +4 -0
  299. package/cdn/components/plot-toolbar/plot-toolbar.component.js +13 -13
  300. package/cdn/components/plot-toolbar/plot-toolbar.controller.js +2 -2
  301. package/cdn/components/plot-toolbar/plot-toolbar.js +14 -14
  302. package/cdn/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  303. package/cdn/components/popup/popup.component.js +2 -2
  304. package/cdn/components/popup/popup.js +3 -3
  305. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  306. package/cdn/components/progress-bar/progress-bar.js +3 -3
  307. package/cdn/components/radio/radio.component.js +2 -2
  308. package/cdn/components/radio/radio.js +3 -3
  309. package/cdn/components/radio-group/radio-group.component.js +2 -2
  310. package/cdn/components/radio-group/radio-group.js +3 -3
  311. package/cdn/components/scroll-hint/scroll-hint.component.js +3 -3
  312. package/cdn/components/scroll-hint/scroll-hint.js +4 -4
  313. package/cdn/components/select/select.component.js +5 -5
  314. package/cdn/components/select/select.js +6 -6
  315. package/cdn/components/site-header/site-header.component.js +3 -3
  316. package/cdn/components/site-header/site-header.js +3 -3
  317. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  318. package/cdn/components/site-navigation/site-navigation.js +2 -2
  319. package/cdn/components/skeleton/skeleton.component.js +3 -3
  320. package/cdn/components/skeleton/skeleton.js +4 -4
  321. package/cdn/components/skeleton/skeleton.styles.js +1 -1
  322. package/cdn/components/slider/slider.component.js +2 -2
  323. package/cdn/components/slider/slider.js +3 -3
  324. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +11 -1
  325. package/cdn/components/spatial-picker/spatial-picker.component.js +10 -10
  326. package/cdn/components/spatial-picker/spatial-picker.js +11 -11
  327. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  328. package/cdn/components/status-indicator/status-indicator.js +3 -3
  329. package/cdn/components/stepper/stepper.component.js +2 -2
  330. package/cdn/components/stepper/stepper.js +3 -3
  331. package/cdn/components/stepper-step/stepper-step.component.js +3 -3
  332. package/cdn/components/stepper-step/stepper-step.js +4 -4
  333. package/cdn/components/tab/tab.component.js +3 -3
  334. package/cdn/components/tab/tab.js +4 -4
  335. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  336. package/cdn/components/tab-panel/tab-panel.js +3 -3
  337. package/cdn/components/tabs/tabs.component.js +3 -3
  338. package/cdn/components/tabs/tabs.js +4 -4
  339. package/cdn/components/tag/tag.component.js +3 -3
  340. package/cdn/components/tag/tag.js +4 -4
  341. package/cdn/components/textarea/textarea.component.js +2 -2
  342. package/cdn/components/textarea/textarea.js +3 -3
  343. package/cdn/components/time-average-map/time-average-map.component.js +19 -19
  344. package/cdn/components/time-average-map/time-average-map.controller.js +2 -2
  345. package/cdn/components/time-average-map/time-average-map.js +20 -20
  346. package/cdn/components/time-series/time-series.component.d.ts +3 -0
  347. package/cdn/components/time-series/time-series.component.js +19 -19
  348. package/cdn/components/time-series/time-series.controller.js +2 -2
  349. package/cdn/components/time-series/time-series.js +20 -20
  350. package/cdn/components/toast/toast.component.js +3 -3
  351. package/cdn/components/toast/toast.js +4 -4
  352. package/cdn/components/toggle/toggle.component.js +2 -2
  353. package/cdn/components/toggle/toggle.js +3 -3
  354. package/cdn/components/tooltip/tooltip.component.js +3 -3
  355. package/cdn/components/tooltip/tooltip.js +4 -4
  356. package/cdn/components/variable-combobox/variable-combobox.component.js +7 -7
  357. package/cdn/components/variable-combobox/variable-combobox.js +8 -8
  358. package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
  359. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +6 -6
  360. package/cdn/components/variable-keyword-search/variable-keyword-search.js +7 -7
  361. package/cdn/custom-elements.json +4447 -3958
  362. package/cdn/events/events.d.ts +1 -0
  363. package/cdn/events/terra-date-selection-invalid.d.ts +8 -0
  364. package/cdn/metadata-catalog/types.d.ts +50 -0
  365. package/cdn/react/accordion/index.js +4 -4
  366. package/cdn/react/alert/index.js +3 -3
  367. package/cdn/react/avatar/index.js +4 -4
  368. package/cdn/react/badge/index.js +3 -3
  369. package/cdn/react/breadcrumb/index.js +3 -3
  370. package/cdn/react/breadcrumbs/index.js +3 -3
  371. package/cdn/react/browse-variables/index.js +11 -11
  372. package/cdn/react/button/index.js +4 -4
  373. package/cdn/react/button-group/index.js +3 -3
  374. package/cdn/react/caption/index.js +3 -3
  375. package/cdn/react/card/index.js +3 -3
  376. package/cdn/react/checkbox/index.js +4 -4
  377. package/cdn/react/chip/index.js +3 -3
  378. package/cdn/react/combobox/index.js +3 -3
  379. package/cdn/react/data-access/index.js +25 -25
  380. package/cdn/react/data-grid/index.js +4 -4
  381. package/cdn/react/data-rods/index.d.ts +1 -14
  382. package/cdn/react/data-rods/index.js +31 -31
  383. package/cdn/react/data-subsetter/index.js +36 -35
  384. package/cdn/react/data-subsetter-history/index.js +38 -37
  385. package/cdn/react/date-picker/index.js +9 -9
  386. package/cdn/react/date-range-slider/index.js +3 -3
  387. package/cdn/react/dialog/index.js +5 -5
  388. package/cdn/react/divider/index.js +3 -3
  389. package/cdn/react/dropdown/index.js +4 -4
  390. package/cdn/react/earthdata-login/index.js +12 -12
  391. package/cdn/react/file-upload/index.js +3 -3
  392. package/cdn/react/icon/index.js +3 -3
  393. package/cdn/react/index.d.ts +12 -12
  394. package/cdn/react/index.js +192 -192
  395. package/cdn/react/input/index.js +4 -4
  396. package/cdn/react/loader/index.js +3 -3
  397. package/cdn/react/login/index.js +9 -9
  398. package/cdn/react/map/index.js +6 -6
  399. package/cdn/react/menu/index.js +3 -3
  400. package/cdn/react/menu-item/index.js +6 -6
  401. package/cdn/react/option/index.js +4 -4
  402. package/cdn/react/pagination/index.js +4 -4
  403. package/cdn/react/plot/index.js +3 -3
  404. package/cdn/react/plot-toolbar/index.js +14 -14
  405. package/cdn/react/popup/index.js +3 -3
  406. package/cdn/react/progress-bar/index.js +3 -3
  407. package/cdn/react/radio/index.js +3 -3
  408. package/cdn/react/radio-group/index.js +3 -3
  409. package/cdn/react/scroll-hint/index.js +4 -4
  410. package/cdn/react/select/index.js +6 -6
  411. package/cdn/react/site-header/index.js +4 -4
  412. package/cdn/react/site-navigation/index.js +3 -3
  413. package/cdn/react/skeleton/index.js +4 -4
  414. package/cdn/react/slider/index.js +3 -3
  415. package/cdn/react/spatial-picker/index.js +11 -11
  416. package/cdn/react/status-indicator/index.js +3 -3
  417. package/cdn/react/stepper/index.js +3 -3
  418. package/cdn/react/stepper-step/index.js +4 -4
  419. package/cdn/react/tab/index.js +4 -4
  420. package/cdn/react/tab-panel/index.js +3 -3
  421. package/cdn/react/tabs/index.js +4 -4
  422. package/cdn/react/tag/index.js +4 -4
  423. package/cdn/react/textarea/index.js +3 -3
  424. package/cdn/react/time-average-map/index.js +20 -20
  425. package/cdn/react/time-series/index.js +20 -20
  426. package/cdn/react/toast/index.js +4 -4
  427. package/cdn/react/toggle/index.js +3 -3
  428. package/cdn/react/tooltip/index.js +4 -4
  429. package/cdn/react/variable-combobox/index.js +8 -8
  430. package/cdn/react/variable-keyword-search/index.js +7 -7
  431. package/cdn/terra-ui-components.js +180 -180
  432. package/cdn/types/vue/index.d.ts +316 -294
  433. package/cdn/utilities/mimetypes.js +1 -1
  434. package/cdn/vscode.html-custom-data.json +404 -391
  435. package/cdn/web-types.json +1003 -950
  436. package/dist/chunks/chunk.23BN2DIG.js +27 -0
  437. package/dist/chunks/chunk.23NL6ZID.js +48 -0
  438. package/dist/chunks/chunk.24EN4ACP.js +21 -0
  439. package/dist/chunks/chunk.2BUL3BZZ.js +11 -0
  440. package/dist/chunks/chunk.2LVPUAVO.js +11 -0
  441. package/dist/chunks/chunk.2Q4NSMVM.js +11 -0
  442. package/dist/chunks/chunk.2UZ6TYTS.js +25 -0
  443. package/dist/chunks/chunk.2XQOX4MJ.js +180 -0
  444. package/dist/chunks/chunk.2Y27DYET.js +230 -0
  445. package/dist/chunks/chunk.35XMYRLG.js +266 -0
  446. package/dist/chunks/chunk.35ZC7A2L.js +11 -0
  447. package/dist/chunks/chunk.377OPCGJ.js +11 -0
  448. package/dist/chunks/chunk.3BHNQ3XW.js +29 -0
  449. package/dist/chunks/chunk.3MC2IZTX.js +24 -0
  450. package/dist/chunks/chunk.3OFYJOFN.js +11 -0
  451. package/dist/chunks/chunk.4BZQAWM6.js +21 -0
  452. package/dist/chunks/chunk.4CVLNVCU.js +89 -0
  453. package/dist/chunks/chunk.4HVTBXEZ.js +11 -0
  454. package/dist/chunks/chunk.4OR5AO6H.js +1122 -0
  455. package/dist/chunks/chunk.4XXEDGY5.js +75 -0
  456. package/dist/chunks/chunk.53G7UR4Z.js +11 -0
  457. package/dist/chunks/chunk.5HMYC4PJ.js +11 -0
  458. package/dist/chunks/chunk.5OOWEGN3.js +21 -0
  459. package/dist/chunks/chunk.5SEH2A6J.js +11 -0
  460. package/dist/chunks/chunk.5W7SQTZV.js +278 -0
  461. package/dist/chunks/chunk.5YAAGKAS.js +11 -0
  462. package/dist/chunks/chunk.6HP53UUB.js +28 -0
  463. package/dist/chunks/chunk.6RXRRW5S.js +11 -0
  464. package/dist/chunks/chunk.6SBLFQ7N.js +21 -0
  465. package/dist/chunks/chunk.75LSXQWL.js +409 -0
  466. package/dist/chunks/chunk.776PZQQT.js +11 -0
  467. package/dist/chunks/chunk.7B6X7DHL.js +295 -0
  468. package/dist/chunks/chunk.7C2OMQKF.js +28 -0
  469. package/dist/chunks/chunk.7E3ILX2T.js +21 -0
  470. package/dist/chunks/chunk.7NXPKRFD.js +24 -0
  471. package/dist/chunks/chunk.7R3N33WJ.js +11 -0
  472. package/dist/chunks/chunk.ABEUS3EM.js +474 -0
  473. package/dist/chunks/chunk.AGDYKRKH.js +220 -0
  474. package/dist/chunks/chunk.AIW3EN2X.js +24 -0
  475. package/dist/chunks/chunk.AR3HDNVC.js +422 -0
  476. package/dist/chunks/chunk.B65BYW2M.js +11 -0
  477. package/dist/chunks/chunk.BKMTZ656.js +11 -0
  478. package/dist/chunks/chunk.BPHD6IPT.js +11 -0
  479. package/dist/chunks/chunk.BSE2JQEC.js +67 -0
  480. package/dist/chunks/chunk.BSWNJUFJ.js +21 -0
  481. package/dist/chunks/chunk.BV6ANDLA.js +21 -0
  482. package/dist/chunks/chunk.BWUMML3U.js +26 -0
  483. package/dist/chunks/chunk.CP2IDUB5.js +28 -0
  484. package/dist/chunks/chunk.CTXZUP7P.js +11 -0
  485. package/dist/chunks/chunk.D6TPOQ5I.js +52 -0
  486. package/dist/chunks/chunk.DAV2S33R.js +11 -0
  487. package/dist/chunks/chunk.DC7OZMLW.js +11 -0
  488. package/dist/chunks/chunk.DCGNZRJY.js +143 -0
  489. package/dist/chunks/chunk.DDFGNBAV.js +11 -0
  490. package/dist/chunks/chunk.DFDMC4AD.js +11 -0
  491. package/dist/chunks/chunk.DO6GYJM7.js +344 -0
  492. package/dist/chunks/chunk.DOEYA53D.js +2170 -0
  493. package/dist/chunks/chunk.DOJBLSNS.js +591 -0
  494. package/dist/chunks/chunk.DQ577BBB.js +262 -0
  495. package/dist/chunks/chunk.DWUFVGAX.js +145 -0
  496. package/dist/chunks/chunk.E4S25TEJ.js +11 -0
  497. package/dist/chunks/chunk.EBCKBDHV.js +623 -0
  498. package/dist/chunks/chunk.EHNJYCC2.js +52 -0
  499. package/dist/chunks/chunk.EIJM7HXH.js +345 -0
  500. package/dist/chunks/chunk.ENPLU3S4.js +180 -0
  501. package/dist/chunks/chunk.ENY7CKVQ.js +11 -0
  502. package/dist/chunks/chunk.EOBQERTQ.js +21 -0
  503. package/dist/chunks/chunk.EOGX7BYV.js +11 -0
  504. package/dist/chunks/chunk.ESZXR7EF.js +11 -0
  505. package/dist/chunks/chunk.EZOD6EIT.js +43 -0
  506. package/dist/chunks/chunk.F456LN4D.js +21 -0
  507. package/dist/chunks/chunk.F5NQKUB6.js +11 -0
  508. package/dist/chunks/chunk.FCKZ33B2.js +11 -0
  509. package/dist/chunks/chunk.FHOE3AIX.js +11 -0
  510. package/dist/chunks/chunk.FK2JIZAP.js +21 -0
  511. package/dist/chunks/chunk.FPCM52T7.js +11 -0
  512. package/dist/chunks/chunk.GANIXVIN.js +305 -0
  513. package/dist/chunks/chunk.GGWE6DMI.js +1870 -0
  514. package/dist/chunks/chunk.GI2MROTL.js +24 -0
  515. package/dist/chunks/chunk.GI2T3G3P.js +21 -0
  516. package/dist/chunks/chunk.GNF7CVUA.js +121 -0
  517. package/dist/chunks/chunk.GQHHUZAM.js +11 -0
  518. package/dist/chunks/chunk.GUUFFRDH.js +213 -0
  519. package/dist/chunks/chunk.GYDUQH4X.js +25 -0
  520. package/dist/chunks/chunk.H3TEOIAN.js +64 -0
  521. package/dist/chunks/chunk.HCC3SGE2.js +219 -0
  522. package/dist/chunks/chunk.HGH56KRJ.js +74 -0
  523. package/dist/chunks/chunk.HKQJ5DFM.js +24 -0
  524. package/dist/chunks/chunk.HN2J2S4S.js +345 -0
  525. package/dist/chunks/chunk.HOAKDQPF.js +11 -0
  526. package/dist/chunks/chunk.HWJCXJPX.js +11 -0
  527. package/dist/chunks/chunk.HZRRV5F7.js +26 -0
  528. package/dist/chunks/chunk.I62YNOMN.js +24 -0
  529. package/dist/chunks/chunk.I6NH4NYZ.js +21 -0
  530. package/dist/chunks/chunk.I7CAS3LW.js +960 -0
  531. package/dist/chunks/chunk.IAJRLHLU.js +11 -0
  532. package/dist/chunks/chunk.IFDQUFKB.js +11 -0
  533. package/dist/chunks/chunk.IIHCR2T7.js +477 -0
  534. package/dist/chunks/chunk.IJEPY2ZT.js +280 -0
  535. package/dist/chunks/chunk.IMCB4HWF.js +11 -0
  536. package/dist/chunks/chunk.IQSAYLEG.js +11 -0
  537. package/dist/chunks/chunk.IUBKTX2H.js +252 -0
  538. package/dist/chunks/chunk.IXCDZRNU.js +581 -0
  539. package/dist/chunks/chunk.JAUEKAGT.js +21 -0
  540. package/dist/chunks/chunk.JEF2HK73.js +443 -0
  541. package/dist/chunks/chunk.JMU2E7KB.js +21 -0
  542. package/dist/chunks/chunk.JQD64XXO.js +21 -0
  543. package/dist/chunks/chunk.K5YGH4J2.js +21 -0
  544. package/dist/chunks/chunk.KF2D5UTJ.js +247 -0
  545. package/dist/chunks/chunk.KJCTSUUF.js +48 -0
  546. package/dist/chunks/chunk.KM3PGA2E.js +264 -0
  547. package/dist/chunks/chunk.KOCW45YS.js +21 -0
  548. package/dist/chunks/chunk.KUTRD4G7.js +21 -0
  549. package/dist/chunks/chunk.KVVJ5LVF.js +39 -0
  550. package/dist/chunks/chunk.L4WM4VOX.js +180 -0
  551. package/dist/chunks/chunk.L5BC2DIN.js +11 -0
  552. package/dist/chunks/chunk.LCEWFC3G.js +214 -0
  553. package/dist/chunks/chunk.M2DM6KNP.js +153 -0
  554. package/dist/chunks/chunk.MKFV5M34.js +85 -0
  555. package/dist/chunks/chunk.MRIULAQV.js +245 -0
  556. package/dist/chunks/chunk.N4DXPMYE.js +484 -0
  557. package/dist/chunks/chunk.NAX23FC5.js +11 -0
  558. package/dist/chunks/chunk.NBGZ3QKN.js +11 -0
  559. package/dist/chunks/chunk.NBWU6Q2G.js +11 -0
  560. package/dist/chunks/chunk.NFHBPYKS.js +24 -0
  561. package/dist/chunks/chunk.NH7GLXJD.js +21 -0
  562. package/dist/chunks/chunk.NJ3TMTZE.js +733 -0
  563. package/dist/chunks/chunk.NQE2XFBJ.js +21 -0
  564. package/dist/chunks/chunk.NULITHKJ.js +27 -0
  565. package/dist/chunks/chunk.NXKKL2AH.js +11 -0
  566. package/dist/chunks/chunk.O56TDURN.js +11 -0
  567. package/dist/chunks/chunk.OA4UYIEZ.js +11 -0
  568. package/dist/chunks/chunk.OAWTV6OW.js +135 -0
  569. package/dist/chunks/chunk.ODBRZ3I5.js +355 -0
  570. package/dist/chunks/chunk.OGICER6I.js +11 -0
  571. package/dist/chunks/chunk.OLQFPKLX.js +24 -0
  572. package/dist/chunks/chunk.OMC2CTG4.js +11 -0
  573. package/dist/chunks/chunk.OURLKNGX.js +525 -0
  574. package/dist/chunks/chunk.OZ5VVL4N.js +57 -0
  575. package/dist/chunks/chunk.PAI4CXOZ.js +11 -0
  576. package/dist/chunks/chunk.PEVYA5PA.js +11 -0
  577. package/dist/chunks/chunk.POIWVT2I.js +11 -0
  578. package/dist/chunks/chunk.PUVMXIXH.js +220 -0
  579. package/dist/chunks/chunk.PY72FUWB.js +985 -0
  580. package/dist/chunks/chunk.QLIUC7W4.js +93 -0
  581. package/dist/chunks/chunk.QXGAOOH7.js +206 -0
  582. package/dist/chunks/chunk.QYTOHF55.js +844 -0
  583. package/dist/chunks/chunk.RBB3NAWM.js +20 -0
  584. package/dist/chunks/chunk.RFQ6SI2X.js +596 -0
  585. package/dist/chunks/chunk.RH6WO2E4.js +11 -0
  586. package/dist/chunks/chunk.RW6LI4N5.js +21 -0
  587. package/dist/chunks/chunk.RXPVLOIZ.js +21 -0
  588. package/dist/chunks/chunk.RXYPMSJ7.js +25 -0
  589. package/dist/chunks/chunk.RZ6MP4VU.js +97 -0
  590. package/dist/chunks/chunk.S56BRI76.js +240 -0
  591. package/dist/chunks/chunk.SSJTSLQW.js +31 -0
  592. package/dist/chunks/chunk.T26ST6IU.js +244 -0
  593. package/dist/chunks/chunk.T44ELJZW.js +24 -0
  594. package/dist/chunks/chunk.TK3BOAME.js +25 -0
  595. package/dist/chunks/chunk.TNOH2KUQ.js +86 -0
  596. package/dist/chunks/chunk.TTGNTNC5.js +11 -0
  597. package/dist/chunks/chunk.U2FHQUFH.js +101 -0
  598. package/dist/chunks/chunk.UDM5XISV.js +11 -0
  599. package/dist/chunks/chunk.UIVBMNDZ.js +27 -0
  600. package/dist/chunks/chunk.UJ2FY4VA.js +123 -0
  601. package/dist/chunks/chunk.UKCUIRBI.js +21 -0
  602. package/dist/chunks/chunk.ULWU5EAL.js +24 -0
  603. package/dist/chunks/chunk.UMBI523G.js +451 -0
  604. package/dist/chunks/chunk.UMHI6WHG.js +21 -0
  605. package/dist/chunks/chunk.UQGNLCDD.js +28 -0
  606. package/dist/chunks/chunk.UQUPHR37.js +11 -0
  607. package/dist/chunks/chunk.URTQLOZ7.js +11 -0
  608. package/dist/chunks/chunk.UYPOJYPK.js +21 -0
  609. package/dist/chunks/chunk.V3DZ2BN4.js +78 -0
  610. package/dist/chunks/chunk.VA66HR2F.js +11 -0
  611. package/dist/chunks/chunk.VFDJJ34K.js +24 -0
  612. package/dist/chunks/chunk.VIK6NMS3.js +21 -0
  613. package/dist/chunks/chunk.VQICBE7X.js +29 -0
  614. package/dist/chunks/chunk.VQYHX674.js +21 -0
  615. package/dist/chunks/chunk.VR2DCYMF.js +25 -0
  616. package/dist/chunks/chunk.VSGKND44.js +91 -0
  617. package/dist/chunks/chunk.W5QDGUHR.js +277 -0
  618. package/dist/chunks/chunk.W6QW65CC.js +21 -0
  619. package/dist/chunks/chunk.WENUQUXI.js +33 -0
  620. package/dist/chunks/chunk.WK664UYO.js +27 -0
  621. package/dist/chunks/chunk.WTAIKFRE.js +24 -0
  622. package/dist/chunks/chunk.WTUZLKBY.js +43 -0
  623. package/dist/chunks/chunk.X3JE3J4S.js +21 -0
  624. package/dist/chunks/chunk.XJCJNQVK.js +11 -0
  625. package/dist/chunks/chunk.XJRDI2TX.js +224 -0
  626. package/dist/chunks/chunk.XNZCCKQJ.js +21 -0
  627. package/dist/chunks/chunk.XOB6ZTXK.js +83 -0
  628. package/dist/chunks/chunk.XQIN6CIG.js +11 -0
  629. package/dist/chunks/chunk.XR75EBXL.js +24 -0
  630. package/dist/chunks/chunk.XT66E5C2.js +24 -0
  631. package/dist/chunks/chunk.XWUQXAFS.js +719 -0
  632. package/dist/chunks/chunk.XXLF7U4F.js +609 -0
  633. package/dist/chunks/chunk.Y6HHLQ27.js +291 -0
  634. package/dist/chunks/chunk.YA5Q2JEC.js +11 -0
  635. package/dist/chunks/chunk.YEKW53CE.js +11 -0
  636. package/dist/chunks/chunk.YRZ6MR3L.js +11 -0
  637. package/dist/chunks/chunk.ZCKHF2ZX.js +11 -0
  638. package/dist/chunks/chunk.ZCNKJSQL.js +61 -0
  639. package/dist/chunks/chunk.ZMHHVVFG.js +124 -0
  640. package/dist/chunks/chunk.ZQOF53NG.js +112 -0
  641. package/dist/chunks/chunk.ZVWLHDV5.js +24 -0
  642. package/dist/components/accordion/accordion.component.js +3 -3
  643. package/dist/components/accordion/accordion.js +4 -4
  644. package/dist/components/alert/alert.component.js +2 -2
  645. package/dist/components/alert/alert.js +3 -3
  646. package/dist/components/avatar/avatar.component.js +3 -3
  647. package/dist/components/avatar/avatar.js +4 -4
  648. package/dist/components/badge/badge.component.js +2 -2
  649. package/dist/components/badge/badge.js +3 -3
  650. package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
  651. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  652. package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
  653. package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
  654. package/dist/components/browse-variables/browse-variables.component.js +10 -10
  655. package/dist/components/browse-variables/browse-variables.js +11 -11
  656. package/dist/components/button/button.component.js +3 -3
  657. package/dist/components/button/button.js +4 -4
  658. package/dist/components/button-group/button-group.component.js +2 -2
  659. package/dist/components/button-group/button-group.js +3 -3
  660. package/dist/components/caption/caption.component.js +2 -2
  661. package/dist/components/caption/caption.js +3 -3
  662. package/dist/components/card/card.component.js +2 -2
  663. package/dist/components/card/card.js +3 -3
  664. package/dist/components/checkbox/checkbox.component.js +3 -3
  665. package/dist/components/checkbox/checkbox.js +4 -4
  666. package/dist/components/chip/chip.component.js +2 -2
  667. package/dist/components/chip/chip.js +3 -3
  668. package/dist/components/combobox/combobox.component.js +2 -2
  669. package/dist/components/combobox/combobox.js +3 -3
  670. package/dist/components/data-access/data-access.component.d.ts +0 -2
  671. package/dist/components/data-access/data-access.component.js +24 -24
  672. package/dist/components/data-access/data-access.controller.d.ts +3 -0
  673. package/dist/components/data-access/data-access.controller.js +2 -2
  674. package/dist/components/data-access/data-access.js +25 -25
  675. package/dist/components/data-access/data-access.styles.js +1 -1
  676. package/dist/components/data-grid/data-grid.component.js +3 -3
  677. package/dist/components/data-grid/data-grid.js +4 -4
  678. package/dist/components/data-rods/data-rods.component.d.ts +11 -8
  679. package/dist/components/data-rods/data-rods.component.js +30 -30
  680. package/dist/components/data-rods/data-rods.js +31 -31
  681. package/dist/components/data-rods/data-rods.styles.js +1 -1
  682. package/dist/components/data-subsetter/data-subsetter.component.d.ts +6 -0
  683. package/dist/components/data-subsetter/data-subsetter.component.js +35 -34
  684. package/dist/components/data-subsetter/data-subsetter.controller.d.ts +4 -0
  685. package/dist/components/data-subsetter/data-subsetter.controller.js +2 -2
  686. package/dist/components/data-subsetter/data-subsetter.js +36 -35
  687. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  688. package/dist/components/data-subsetter-history/data-subsetter-history.component.d.ts +3 -0
  689. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +37 -36
  690. package/dist/components/data-subsetter-history/data-subsetter-history.js +38 -37
  691. package/dist/components/data-subsetter-history/data-subsetter-history.styles.js +1 -1
  692. package/dist/components/date-picker/date-picker.component.d.ts +15 -1
  693. package/dist/components/date-picker/date-picker.component.js +8 -8
  694. package/dist/components/date-picker/date-picker.js +9 -9
  695. package/dist/components/date-picker/date-picker.styles.js +1 -1
  696. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  697. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  698. package/dist/components/dialog/dialog.component.js +4 -4
  699. package/dist/components/dialog/dialog.js +5 -5
  700. package/dist/components/divider/divider.component.js +2 -2
  701. package/dist/components/divider/divider.js +3 -3
  702. package/dist/components/dropdown/dropdown.component.js +3 -3
  703. package/dist/components/dropdown/dropdown.js +4 -4
  704. package/dist/components/earthdata-login/earthdata-login.component.d.ts +2 -2
  705. package/dist/components/earthdata-login/earthdata-login.component.js +11 -11
  706. package/dist/components/earthdata-login/earthdata-login.js +12 -12
  707. package/dist/components/earthdata-login/earthdata-login.styles.js +1 -1
  708. package/dist/components/file-upload/file-upload.component.js +2 -2
  709. package/dist/components/file-upload/file-upload.js +3 -3
  710. package/dist/components/icon/icon.component.js +2 -2
  711. package/dist/components/icon/icon.js +3 -3
  712. package/dist/components/input/input.component.js +3 -3
  713. package/dist/components/input/input.js +4 -4
  714. package/dist/components/loader/loader.component.js +2 -2
  715. package/dist/components/loader/loader.js +3 -3
  716. package/dist/components/login/login.component.js +8 -8
  717. package/dist/components/login/login.js +9 -9
  718. package/dist/components/map/map.component.d.ts +5 -0
  719. package/dist/components/map/map.component.js +5 -5
  720. package/dist/components/map/map.js +6 -6
  721. package/dist/components/menu/menu.component.js +2 -2
  722. package/dist/components/menu/menu.js +3 -3
  723. package/dist/components/menu-item/menu-item.component.js +5 -5
  724. package/dist/components/menu-item/menu-item.js +6 -6
  725. package/dist/components/option/option.component.js +3 -3
  726. package/dist/components/option/option.js +4 -4
  727. package/dist/components/pagination/pagination.component.js +3 -3
  728. package/dist/components/pagination/pagination.js +4 -4
  729. package/dist/components/plot/plot.component.js +2 -2
  730. package/dist/components/plot/plot.js +3 -3
  731. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  732. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  733. package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +4 -0
  734. package/dist/components/plot-toolbar/plot-toolbar.component.js +13 -13
  735. package/dist/components/plot-toolbar/plot-toolbar.controller.js +2 -2
  736. package/dist/components/plot-toolbar/plot-toolbar.js +14 -14
  737. package/dist/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  738. package/dist/components/popup/popup.component.js +2 -2
  739. package/dist/components/popup/popup.js +3 -3
  740. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  741. package/dist/components/progress-bar/progress-bar.js +3 -3
  742. package/dist/components/radio/radio.component.js +2 -2
  743. package/dist/components/radio/radio.js +3 -3
  744. package/dist/components/radio-group/radio-group.component.js +2 -2
  745. package/dist/components/radio-group/radio-group.js +3 -3
  746. package/dist/components/scroll-hint/scroll-hint.component.js +3 -3
  747. package/dist/components/scroll-hint/scroll-hint.js +4 -4
  748. package/dist/components/select/select.component.js +5 -5
  749. package/dist/components/select/select.js +6 -6
  750. package/dist/components/site-header/site-header.component.js +3 -3
  751. package/dist/components/site-header/site-header.js +3 -3
  752. package/dist/components/site-navigation/site-navigation.component.js +2 -2
  753. package/dist/components/site-navigation/site-navigation.js +2 -2
  754. package/dist/components/skeleton/skeleton.component.js +3 -3
  755. package/dist/components/skeleton/skeleton.js +4 -4
  756. package/dist/components/skeleton/skeleton.styles.js +1 -1
  757. package/dist/components/slider/slider.component.js +2 -2
  758. package/dist/components/slider/slider.js +3 -3
  759. package/dist/components/spatial-picker/spatial-picker.component.d.ts +11 -1
  760. package/dist/components/spatial-picker/spatial-picker.component.js +10 -10
  761. package/dist/components/spatial-picker/spatial-picker.js +11 -11
  762. package/dist/components/status-indicator/status-indicator.component.js +2 -2
  763. package/dist/components/status-indicator/status-indicator.js +3 -3
  764. package/dist/components/stepper/stepper.component.js +2 -2
  765. package/dist/components/stepper/stepper.js +3 -3
  766. package/dist/components/stepper-step/stepper-step.component.js +3 -3
  767. package/dist/components/stepper-step/stepper-step.js +4 -4
  768. package/dist/components/tab/tab.component.js +3 -3
  769. package/dist/components/tab/tab.js +4 -4
  770. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  771. package/dist/components/tab-panel/tab-panel.js +3 -3
  772. package/dist/components/tabs/tabs.component.js +3 -3
  773. package/dist/components/tabs/tabs.js +4 -4
  774. package/dist/components/tag/tag.component.js +3 -3
  775. package/dist/components/tag/tag.js +4 -4
  776. package/dist/components/textarea/textarea.component.js +2 -2
  777. package/dist/components/textarea/textarea.js +3 -3
  778. package/dist/components/time-average-map/time-average-map.component.js +19 -19
  779. package/dist/components/time-average-map/time-average-map.controller.js +2 -2
  780. package/dist/components/time-average-map/time-average-map.js +20 -20
  781. package/dist/components/time-series/time-series.component.d.ts +3 -0
  782. package/dist/components/time-series/time-series.component.js +19 -19
  783. package/dist/components/time-series/time-series.controller.js +2 -2
  784. package/dist/components/time-series/time-series.js +20 -20
  785. package/dist/components/toast/toast.component.js +3 -3
  786. package/dist/components/toast/toast.js +4 -4
  787. package/dist/components/toggle/toggle.component.js +2 -2
  788. package/dist/components/toggle/toggle.js +3 -3
  789. package/dist/components/tooltip/tooltip.component.js +3 -3
  790. package/dist/components/tooltip/tooltip.js +4 -4
  791. package/dist/components/variable-combobox/variable-combobox.component.js +7 -7
  792. package/dist/components/variable-combobox/variable-combobox.js +8 -8
  793. package/dist/components/variable-combobox/variable-combobox.styles.js +1 -1
  794. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +6 -6
  795. package/dist/components/variable-keyword-search/variable-keyword-search.js +7 -7
  796. package/dist/custom-elements.json +4447 -3958
  797. package/dist/events/events.d.ts +1 -0
  798. package/dist/events/terra-date-selection-invalid.d.ts +8 -0
  799. package/dist/metadata-catalog/types.d.ts +50 -0
  800. package/dist/react/accordion/index.js +4 -4
  801. package/dist/react/alert/index.js +3 -3
  802. package/dist/react/avatar/index.js +4 -4
  803. package/dist/react/badge/index.js +3 -3
  804. package/dist/react/breadcrumb/index.js +3 -3
  805. package/dist/react/breadcrumbs/index.js +3 -3
  806. package/dist/react/browse-variables/index.js +11 -11
  807. package/dist/react/button/index.js +4 -4
  808. package/dist/react/button-group/index.js +3 -3
  809. package/dist/react/caption/index.js +3 -3
  810. package/dist/react/card/index.js +3 -3
  811. package/dist/react/checkbox/index.js +4 -4
  812. package/dist/react/chip/index.js +3 -3
  813. package/dist/react/combobox/index.js +3 -3
  814. package/dist/react/data-access/index.js +25 -25
  815. package/dist/react/data-grid/index.js +4 -4
  816. package/dist/react/data-rods/index.d.ts +1 -14
  817. package/dist/react/data-rods/index.js +31 -31
  818. package/dist/react/data-subsetter/index.js +36 -35
  819. package/dist/react/data-subsetter-history/index.js +38 -37
  820. package/dist/react/date-picker/index.js +9 -9
  821. package/dist/react/date-range-slider/index.js +3 -3
  822. package/dist/react/dialog/index.js +5 -5
  823. package/dist/react/divider/index.js +3 -3
  824. package/dist/react/dropdown/index.js +4 -4
  825. package/dist/react/earthdata-login/index.js +12 -12
  826. package/dist/react/file-upload/index.js +3 -3
  827. package/dist/react/icon/index.js +3 -3
  828. package/dist/react/index.d.ts +12 -12
  829. package/dist/react/index.js +192 -192
  830. package/dist/react/input/index.js +4 -4
  831. package/dist/react/loader/index.js +3 -3
  832. package/dist/react/login/index.js +9 -9
  833. package/dist/react/map/index.js +6 -6
  834. package/dist/react/menu/index.js +3 -3
  835. package/dist/react/menu-item/index.js +6 -6
  836. package/dist/react/option/index.js +4 -4
  837. package/dist/react/pagination/index.js +4 -4
  838. package/dist/react/plot/index.js +3 -3
  839. package/dist/react/plot-toolbar/index.js +14 -14
  840. package/dist/react/popup/index.js +3 -3
  841. package/dist/react/progress-bar/index.js +3 -3
  842. package/dist/react/radio/index.js +3 -3
  843. package/dist/react/radio-group/index.js +3 -3
  844. package/dist/react/scroll-hint/index.js +4 -4
  845. package/dist/react/select/index.js +6 -6
  846. package/dist/react/site-header/index.js +4 -4
  847. package/dist/react/site-navigation/index.js +3 -3
  848. package/dist/react/skeleton/index.js +4 -4
  849. package/dist/react/slider/index.js +3 -3
  850. package/dist/react/spatial-picker/index.js +11 -11
  851. package/dist/react/status-indicator/index.js +3 -3
  852. package/dist/react/stepper/index.js +3 -3
  853. package/dist/react/stepper-step/index.js +4 -4
  854. package/dist/react/tab/index.js +4 -4
  855. package/dist/react/tab-panel/index.js +3 -3
  856. package/dist/react/tabs/index.js +4 -4
  857. package/dist/react/tag/index.js +4 -4
  858. package/dist/react/textarea/index.js +3 -3
  859. package/dist/react/time-average-map/index.js +20 -20
  860. package/dist/react/time-series/index.js +20 -20
  861. package/dist/react/toast/index.js +4 -4
  862. package/dist/react/toggle/index.js +3 -3
  863. package/dist/react/tooltip/index.js +4 -4
  864. package/dist/react/variable-combobox/index.js +8 -8
  865. package/dist/react/variable-keyword-search/index.js +7 -7
  866. package/dist/terra-ui-components.js +180 -180
  867. package/dist/terra_ui_components-0.0.147-py3-none-any.whl +0 -0
  868. package/dist/terra_ui_components-0.0.147.tar.gz +0 -0
  869. package/dist/types/vue/index.d.ts +316 -294
  870. package/dist/utilities/mimetypes.js +1 -1
  871. package/dist/vscode.html-custom-data.json +404 -391
  872. package/dist/web-types.json +1003 -950
  873. package/package.json +1 -2
  874. package/cdn/chunks/chunk.26TEQ6WM.js +0 -158
  875. package/cdn/chunks/chunk.2FIXNDLC.js +0 -251
  876. package/cdn/chunks/chunk.2RPLIZVS.js +0 -67
  877. package/cdn/chunks/chunk.333RLFSA.js +0 -19
  878. package/cdn/chunks/chunk.34UNC3GQ.js +0 -19
  879. package/cdn/chunks/chunk.35A3RZ36.js +0 -19
  880. package/cdn/chunks/chunk.3BB6KOTU.js +0 -29
  881. package/cdn/chunks/chunk.3CBNAYQU.js +0 -74
  882. package/cdn/chunks/chunk.3CDNVAN6.js +0 -19
  883. package/cdn/chunks/chunk.3IZL7JFG.js +0 -19
  884. package/cdn/chunks/chunk.3NJN4KC3.js +0 -19
  885. package/cdn/chunks/chunk.3QAIAFO3.js +0 -2073
  886. package/cdn/chunks/chunk.3QXUJ74V.js +0 -33860
  887. package/cdn/chunks/chunk.46IUPYDY.js +0 -34
  888. package/cdn/chunks/chunk.4AESZBPS.js +0 -19
  889. package/cdn/chunks/chunk.4DSXPYCX.js +0 -240
  890. package/cdn/chunks/chunk.4HVT3AYY.js +0 -224
  891. package/cdn/chunks/chunk.4LQT63JV.js +0 -472
  892. package/cdn/chunks/chunk.4R66EEIQ.js +0 -491
  893. package/cdn/chunks/chunk.4S36TQZA.js +0 -32
  894. package/cdn/chunks/chunk.4VZUFBAT.js +0 -29
  895. package/cdn/chunks/chunk.5QKUGTZK.js +0 -19
  896. package/cdn/chunks/chunk.63OPLSTP.js +0 -132
  897. package/cdn/chunks/chunk.6DCM5OAX.js +0 -165
  898. package/cdn/chunks/chunk.6EUASDEF.js +0 -32
  899. package/cdn/chunks/chunk.6USIKX2F.js +0 -56
  900. package/cdn/chunks/chunk.6ZKLPYZO.js +0 -225
  901. package/cdn/chunks/chunk.74MTSB4V.js +0 -189
  902. package/cdn/chunks/chunk.7KILO3Q2.js +0 -19
  903. package/cdn/chunks/chunk.7KK6F7D6.js +0 -19
  904. package/cdn/chunks/chunk.7M2J6PQV.js +0 -19
  905. package/cdn/chunks/chunk.7RCNCS4U.js +0 -198
  906. package/cdn/chunks/chunk.AOMJDSJK.js +0 -19
  907. package/cdn/chunks/chunk.BELI5KYA.js +0 -37
  908. package/cdn/chunks/chunk.BFFHLV3I.js +0 -254
  909. package/cdn/chunks/chunk.BHGXXCYB.js +0 -357
  910. package/cdn/chunks/chunk.BKLEC3CU.js +0 -29
  911. package/cdn/chunks/chunk.C5KDVAED.js +0 -19
  912. package/cdn/chunks/chunk.C7HGTDOW.js +0 -29
  913. package/cdn/chunks/chunk.CG5GXLMN.js +0 -660
  914. package/cdn/chunks/chunk.COAFHV5O.js +0 -34
  915. package/cdn/chunks/chunk.CRIQ2HH3.js +0 -104
  916. package/cdn/chunks/chunk.CT74TCIR.js +0 -29
  917. package/cdn/chunks/chunk.CUQNHQ4C.js +0 -19
  918. package/cdn/chunks/chunk.CZF4J7JK.js +0 -151
  919. package/cdn/chunks/chunk.D75BRFV5.js +0 -231
  920. package/cdn/chunks/chunk.DANCFYIG.js +0 -29
  921. package/cdn/chunks/chunk.DEQWGUZ4.js +0 -32
  922. package/cdn/chunks/chunk.DNCSD3KI.js +0 -35
  923. package/cdn/chunks/chunk.DO4YHYLM.js +0 -226
  924. package/cdn/chunks/chunk.DRBMRRWZ.js +0 -372
  925. package/cdn/chunks/chunk.DSFRJYYP.js +0 -943
  926. package/cdn/chunks/chunk.DSYXR3BP.js +0 -299
  927. package/cdn/chunks/chunk.DWH7UJHQ.js +0 -33
  928. package/cdn/chunks/chunk.DWJN2RMV.js +0 -93
  929. package/cdn/chunks/chunk.EOPCPKE6.js +0 -19
  930. package/cdn/chunks/chunk.EQVTAI4H.js +0 -234
  931. package/cdn/chunks/chunk.F4RKWV6A.js +0 -33
  932. package/cdn/chunks/chunk.FAUYMYXO.js +0 -32
  933. package/cdn/chunks/chunk.FOACIGWR.js +0 -435
  934. package/cdn/chunks/chunk.FSSA437M.js +0 -19
  935. package/cdn/chunks/chunk.FT5GOSIZ.js +0 -48
  936. package/cdn/chunks/chunk.FTC6M36W.js +0 -32
  937. package/cdn/chunks/chunk.GDJPXXU2.js +0 -286
  938. package/cdn/chunks/chunk.GGXENRVM.js +0 -189
  939. package/cdn/chunks/chunk.GH3N6WLV.js +0 -19
  940. package/cdn/chunks/chunk.GS3E3TDU.js +0 -19
  941. package/cdn/chunks/chunk.GSJP6LKE.js +0 -78
  942. package/cdn/chunks/chunk.GY5STF6S.js +0 -32
  943. package/cdn/chunks/chunk.H33J7DDG.js +0 -30
  944. package/cdn/chunks/chunk.HL6HZSXT.js +0 -29
  945. package/cdn/chunks/chunk.HNPM3U57.js +0 -599
  946. package/cdn/chunks/chunk.HTQMUUU5.js +0 -92
  947. package/cdn/chunks/chunk.I3FHCOWV.js +0 -524
  948. package/cdn/chunks/chunk.I4SYW63O.js +0 -19
  949. package/cdn/chunks/chunk.I5GRYJHJ.js +0 -55346
  950. package/cdn/chunks/chunk.I7TO5DYG.js +0 -259
  951. package/cdn/chunks/chunk.IENWNMGK.js +0 -29
  952. package/cdn/chunks/chunk.II54QLOE.js +0 -134
  953. package/cdn/chunks/chunk.IIRL2FNO.js +0 -19
  954. package/cdn/chunks/chunk.IO62OT3T.js +0 -29
  955. package/cdn/chunks/chunk.IV3AD6YR.js +0 -477
  956. package/cdn/chunks/chunk.J2K53JZV.js +0 -34
  957. package/cdn/chunks/chunk.J32BQ36H.js +0 -19
  958. package/cdn/chunks/chunk.J43MPEAH.js +0 -32
  959. package/cdn/chunks/chunk.JA7WHI2E.js +0 -19
  960. package/cdn/chunks/chunk.JAXOIJPB.js +0 -36
  961. package/cdn/chunks/chunk.JGWY7JB7.js +0 -276
  962. package/cdn/chunks/chunk.JHEBRXRN.js +0 -99
  963. package/cdn/chunks/chunk.JLAMV75H.js +0 -19
  964. package/cdn/chunks/chunk.JNHT5IDD.js +0 -19
  965. package/cdn/chunks/chunk.JRQDMBDQ.js +0 -29
  966. package/cdn/chunks/chunk.JS5NFG3L.js +0 -615
  967. package/cdn/chunks/chunk.JW5SC6TB.js +0 -662
  968. package/cdn/chunks/chunk.JYDAF3OI.js +0 -99
  969. package/cdn/chunks/chunk.K2RPZYGD.js +0 -19
  970. package/cdn/chunks/chunk.K7DWE6A2.js +0 -19
  971. package/cdn/chunks/chunk.KFWE3PI3.js +0 -29
  972. package/cdn/chunks/chunk.KG2ZEBJA.js +0 -19
  973. package/cdn/chunks/chunk.KP5INWSH.js +0 -29
  974. package/cdn/chunks/chunk.KRE6VDHG.js +0 -19
  975. package/cdn/chunks/chunk.KUMBN4KZ.js +0 -621
  976. package/cdn/chunks/chunk.KYET5TXI.js +0 -49
  977. package/cdn/chunks/chunk.LEBRE2AX.js +0 -630
  978. package/cdn/chunks/chunk.LF3HCT3R.js +0 -19
  979. package/cdn/chunks/chunk.LMWA3TR5.js +0 -19
  980. package/cdn/chunks/chunk.LQK4V62C.js +0 -29
  981. package/cdn/chunks/chunk.M56CSDHS.js +0 -1966
  982. package/cdn/chunks/chunk.MG44BWAJ.js +0 -29
  983. package/cdn/chunks/chunk.MMP54S4L.js +0 -264
  984. package/cdn/chunks/chunk.MN2PZAG7.js +0 -19
  985. package/cdn/chunks/chunk.MRU3TO7V.js +0 -278
  986. package/cdn/chunks/chunk.N5OIKLPM.js +0 -1811
  987. package/cdn/chunks/chunk.NL7O5H6G.js +0 -29
  988. package/cdn/chunks/chunk.NQBSBVGX.js +0 -29
  989. package/cdn/chunks/chunk.O76ZUUDB.js +0 -19
  990. package/cdn/chunks/chunk.OWWVZKC6.js +0 -62
  991. package/cdn/chunks/chunk.OXAD7TJE.js +0 -19
  992. package/cdn/chunks/chunk.OXFWDFQH.js +0 -36
  993. package/cdn/chunks/chunk.P23GHIII.js +0 -29
  994. package/cdn/chunks/chunk.P4QOVWCD.js +0 -538
  995. package/cdn/chunks/chunk.P7YIMODT.js +0 -83
  996. package/cdn/chunks/chunk.PD6PXDRN.js +0 -359
  997. package/cdn/chunks/chunk.PMHWZDH2.js +0 -19
  998. package/cdn/chunks/chunk.PNBW3TZS.js +0 -19
  999. package/cdn/chunks/chunk.PSNRE2C3.js +0 -83
  1000. package/cdn/chunks/chunk.PSOU4Y7G.js +0 -284
  1001. package/cdn/chunks/chunk.Q2SEY4AZ.js +0 -33
  1002. package/cdn/chunks/chunk.Q6XHOSCO.js +0 -19
  1003. package/cdn/chunks/chunk.Q6ZGHQRK.js +0 -19
  1004. package/cdn/chunks/chunk.QDHDD2N5.js +0 -123
  1005. package/cdn/chunks/chunk.QJG3KXAL.js +0 -754
  1006. package/cdn/chunks/chunk.QWQNSHBX.js +0 -35
  1007. package/cdn/chunks/chunk.RQAS5OPB.js +0 -39
  1008. package/cdn/chunks/chunk.RTUVIFIB.js +0 -29
  1009. package/cdn/chunks/chunk.S4AGLUO5.js +0 -460
  1010. package/cdn/chunks/chunk.SB7UPBIM.js +0 -32
  1011. package/cdn/chunks/chunk.SHGCC64O.js +0 -60
  1012. package/cdn/chunks/chunk.SHJEJNKL.js +0 -29
  1013. package/cdn/chunks/chunk.SLV2OR4Q.js +0 -19
  1014. package/cdn/chunks/chunk.SP6FG3TT.js +0 -32
  1015. package/cdn/chunks/chunk.SQC7WP2K.js +0 -19
  1016. package/cdn/chunks/chunk.SR66RTLP.js +0 -29
  1017. package/cdn/chunks/chunk.SSLZPL2W.js +0 -19
  1018. package/cdn/chunks/chunk.SXYURTO3.js +0 -19
  1019. package/cdn/chunks/chunk.SZ7QDR65.js +0 -19
  1020. package/cdn/chunks/chunk.TGDEPCW7.js +0 -136
  1021. package/cdn/chunks/chunk.THNF6IDH.js +0 -19
  1022. package/cdn/chunks/chunk.TI2AV2RR.js +0 -19
  1023. package/cdn/chunks/chunk.TR63NOZP.js +0 -230
  1024. package/cdn/chunks/chunk.TTWXM2ZR.js +0 -35
  1025. package/cdn/chunks/chunk.TVMLBXLQ.js +0 -32
  1026. package/cdn/chunks/chunk.UAWQVKAK.js +0 -19
  1027. package/cdn/chunks/chunk.UGU3XYQD.js +0 -302
  1028. package/cdn/chunks/chunk.UMFK5I56.js +0 -19
  1029. package/cdn/chunks/chunk.UO5UHJ26.js +0 -29
  1030. package/cdn/chunks/chunk.UVKZZ2T6.js +0 -113
  1031. package/cdn/chunks/chunk.UZASZOT4.js +0 -19
  1032. package/cdn/chunks/chunk.V6NXXMUV.js +0 -19
  1033. package/cdn/chunks/chunk.VAJM46IT.js +0 -86
  1034. package/cdn/chunks/chunk.VAKXJJMW.js +0 -32
  1035. package/cdn/chunks/chunk.VEXXISSG.js +0 -170
  1036. package/cdn/chunks/chunk.VIH63JZW.js +0 -904
  1037. package/cdn/chunks/chunk.VTOLWHAC.js +0 -155
  1038. package/cdn/chunks/chunk.VXFQ6YXS.js +0 -36
  1039. package/cdn/chunks/chunk.VZLD5ALF.js +0 -33
  1040. package/cdn/chunks/chunk.W3MAHBWR.js +0 -19
  1041. package/cdn/chunks/chunk.W4AT2KM4.js +0 -229
  1042. package/cdn/chunks/chunk.W6TQ7PLD.js +0 -47
  1043. package/cdn/chunks/chunk.WDYBJ6MP.js +0 -19
  1044. package/cdn/chunks/chunk.WDYKT6BB.js +0 -106
  1045. package/cdn/chunks/chunk.WE4Y4OKP.js +0 -19
  1046. package/cdn/chunks/chunk.WJ6D57KB.js +0 -60
  1047. package/cdn/chunks/chunk.WRKHVFU4.js +0 -610
  1048. package/cdn/chunks/chunk.WSHPXHE4.js +0 -33
  1049. package/cdn/chunks/chunk.X5IFMJ7Z.js +0 -35
  1050. package/cdn/chunks/chunk.X756CPUC.js +0 -71
  1051. package/cdn/chunks/chunk.XAYWMZ7I.js +0 -32
  1052. package/cdn/chunks/chunk.XCA3QQDP.js +0 -36
  1053. package/cdn/chunks/chunk.XKUBPV5Q.js +0 -29
  1054. package/cdn/chunks/chunk.XLKYVRUZ.js +0 -29
  1055. package/cdn/chunks/chunk.XPIDY722.js +0 -29
  1056. package/cdn/chunks/chunk.XRDXKLB2.js +0 -19
  1057. package/cdn/chunks/chunk.XUWZKWEZ.js +0 -190
  1058. package/cdn/chunks/chunk.XYCI56NE.js +0 -89
  1059. package/cdn/chunks/chunk.XYPD5HVK.js +0 -32
  1060. package/cdn/chunks/chunk.Y5UU3CTS.js +0 -41
  1061. package/cdn/chunks/chunk.Y73EGWS7.js +0 -32
  1062. package/cdn/chunks/chunk.YEUJ4FIZ.js +0 -19
  1063. package/cdn/chunks/chunk.YJGQGHEJ.js +0 -19
  1064. package/cdn/chunks/chunk.YOLSEJL6.js +0 -29
  1065. package/cdn/chunks/chunk.YOTUTBEH.js +0 -29
  1066. package/cdn/chunks/chunk.YQIUUJXV.js +0 -29
  1067. package/cdn/chunks/chunk.YQTU2DAJ.js +0 -29
  1068. package/cdn/chunks/chunk.YSAISDDW.js +0 -29
  1069. package/cdn/chunks/chunk.YSEKNG3U.js +0 -19
  1070. package/cdn/chunks/chunk.YUGCZ7I7.js +0 -954
  1071. package/cdn/chunks/chunk.YXZOHD7K.js +0 -19
  1072. package/cdn/chunks/chunk.Z3SKKVNE.js +0 -188
  1073. package/cdn/chunks/chunk.ZEZ3WIPO.js +0 -32
  1074. package/cdn/chunks/chunk.ZFSZC5Z2.js +0 -37
  1075. package/cdn/chunks/chunk.ZJXUTHZT.js +0 -19
  1076. package/cdn/chunks/chunk.ZN5XZBHT.js +0 -19
  1077. package/cdn/chunks/chunk.ZPKTMYTG.js +0 -19
  1078. package/cdn/chunks/chunk.ZQVQ6FSW.js +0 -19
  1079. package/cdn/chunks/chunk.ZTXK4OVT.js +0 -19
  1080. package/dist/chunks/chunk.272C2YWD.js +0 -26
  1081. package/dist/chunks/chunk.2CYXSEIN.js +0 -252
  1082. package/dist/chunks/chunk.2DG3Q7IC.js +0 -21
  1083. package/dist/chunks/chunk.2H7Y4QZW.js +0 -591
  1084. package/dist/chunks/chunk.2HUN6GJ3.js +0 -25
  1085. package/dist/chunks/chunk.2LK4JESZ.js +0 -33
  1086. package/dist/chunks/chunk.2PS2PN6Q.js +0 -11
  1087. package/dist/chunks/chunk.2UBLLNCB.js +0 -39
  1088. package/dist/chunks/chunk.2VVD2A2K.js +0 -180
  1089. package/dist/chunks/chunk.2XMI7J7T.js +0 -11
  1090. package/dist/chunks/chunk.2Y2SR6DW.js +0 -214
  1091. package/dist/chunks/chunk.33XWRKO2.js +0 -21
  1092. package/dist/chunks/chunk.34S6BUWK.js +0 -97
  1093. package/dist/chunks/chunk.3M5K2VRJ.js +0 -241
  1094. package/dist/chunks/chunk.43FM3KSR.js +0 -25
  1095. package/dist/chunks/chunk.4BI42KGC.js +0 -21
  1096. package/dist/chunks/chunk.4QPRUZEC.js +0 -619
  1097. package/dist/chunks/chunk.566T2F6Y.js +0 -927
  1098. package/dist/chunks/chunk.5BITUPPF.js +0 -26
  1099. package/dist/chunks/chunk.5K55E6UH.js +0 -25
  1100. package/dist/chunks/chunk.5LGEYTNV.js +0 -86
  1101. package/dist/chunks/chunk.5MFCRVZF.js +0 -43
  1102. package/dist/chunks/chunk.5RA4RDAP.js +0 -29
  1103. package/dist/chunks/chunk.5WD4JMKK.js +0 -11
  1104. package/dist/chunks/chunk.632RS25N.js +0 -178
  1105. package/dist/chunks/chunk.6E2LZKYR.js +0 -21
  1106. package/dist/chunks/chunk.6E2QO3XK.js +0 -11
  1107. package/dist/chunks/chunk.6FZ2OXVK.js +0 -27
  1108. package/dist/chunks/chunk.7674U7FT.js +0 -215
  1109. package/dist/chunks/chunk.7G5DA24B.js +0 -21
  1110. package/dist/chunks/chunk.7JDN2WWK.js +0 -21
  1111. package/dist/chunks/chunk.7JL3JHA7.js +0 -67
  1112. package/dist/chunks/chunk.7MULIJ2V.js +0 -11
  1113. package/dist/chunks/chunk.7SAH6Z4T.js +0 -11
  1114. package/dist/chunks/chunk.A2INHFJK.js +0 -21
  1115. package/dist/chunks/chunk.ACQ4M2O6.js +0 -11
  1116. package/dist/chunks/chunk.ADJ5VE2P.js +0 -11
  1117. package/dist/chunks/chunk.AJVI74TO.js +0 -21
  1118. package/dist/chunks/chunk.ARSHNYXW.js +0 -451
  1119. package/dist/chunks/chunk.ATSVQANB.js +0 -21
  1120. package/dist/chunks/chunk.AZKZPA7C.js +0 -11
  1121. package/dist/chunks/chunk.B5AMVJI2.js +0 -11
  1122. package/dist/chunks/chunk.BC6A67OX.js +0 -57
  1123. package/dist/chunks/chunk.BFSJNBME.js +0 -89
  1124. package/dist/chunks/chunk.BHGMB774.js +0 -11
  1125. package/dist/chunks/chunk.BPL6QBOC.js +0 -11
  1126. package/dist/chunks/chunk.BTMCLVTO.js +0 -25
  1127. package/dist/chunks/chunk.BZ4EGENA.js +0 -11
  1128. package/dist/chunks/chunk.BZIMYDU3.js +0 -11
  1129. package/dist/chunks/chunk.C3XZFEXH.js +0 -21
  1130. package/dist/chunks/chunk.C5VYJNUD.js +0 -11
  1131. package/dist/chunks/chunk.C7NVT5BB.js +0 -11
  1132. package/dist/chunks/chunk.C7RRERDA.js +0 -121
  1133. package/dist/chunks/chunk.CB4BFMQ2.js +0 -213
  1134. package/dist/chunks/chunk.CCKUPM6P.js +0 -21
  1135. package/dist/chunks/chunk.D34OOYKG.js +0 -74
  1136. package/dist/chunks/chunk.D4N327EY.js +0 -11
  1137. package/dist/chunks/chunk.D6T2AM4K.js +0 -11
  1138. package/dist/chunks/chunk.DONCLRFH.js +0 -11
  1139. package/dist/chunks/chunk.DVUOT6X5.js +0 -288
  1140. package/dist/chunks/chunk.E73J7ZLS.js +0 -24
  1141. package/dist/chunks/chunk.EEXUEFRN.js +0 -11
  1142. package/dist/chunks/chunk.EIND5KV5.js +0 -733
  1143. package/dist/chunks/chunk.EYAQBN4W.js +0 -48
  1144. package/dist/chunks/chunk.F5ZRM4UT.js +0 -75
  1145. package/dist/chunks/chunk.FASDFTRM.js +0 -11
  1146. package/dist/chunks/chunk.FCTGPHU3.js +0 -345
  1147. package/dist/chunks/chunk.FE2YRT4I.js +0 -21
  1148. package/dist/chunks/chunk.FMKYICQO.js +0 -11
  1149. package/dist/chunks/chunk.FVXSKUHQ.js +0 -11
  1150. package/dist/chunks/chunk.G2CDB7TC.js +0 -422
  1151. package/dist/chunks/chunk.GHMLBVRL.js +0 -85
  1152. package/dist/chunks/chunk.GL7N4E5F.js +0 -11
  1153. package/dist/chunks/chunk.GNBUCAE6.js +0 -61
  1154. package/dist/chunks/chunk.GPYQWPH7.js +0 -24
  1155. package/dist/chunks/chunk.GUFOEB2X.js +0 -443
  1156. package/dist/chunks/chunk.GXHBB2BK.js +0 -11
  1157. package/dist/chunks/chunk.H2NGVL75.js +0 -262
  1158. package/dist/chunks/chunk.HB2GAHRY.js +0 -21
  1159. package/dist/chunks/chunk.HEHCI264.js +0 -937
  1160. package/dist/chunks/chunk.HHRVCYCP.js +0 -21
  1161. package/dist/chunks/chunk.HMJLRO3D.js +0 -11
  1162. package/dist/chunks/chunk.HNTSD6YN.js +0 -11
  1163. package/dist/chunks/chunk.HTDDMELY.js +0 -472
  1164. package/dist/chunks/chunk.HXWXSALW.js +0 -21
  1165. package/dist/chunks/chunk.HY3XO5AM.js +0 -11
  1166. package/dist/chunks/chunk.I4ZGJAIX.js +0 -11
  1167. package/dist/chunks/chunk.I6KFGCKW.js +0 -25
  1168. package/dist/chunks/chunk.ICNQF3X6.js +0 -153
  1169. package/dist/chunks/chunk.IJ6ATH2G.js +0 -64
  1170. package/dist/chunks/chunk.IM2LRIG2.js +0 -145
  1171. package/dist/chunks/chunk.IU24O5FP.js +0 -11
  1172. package/dist/chunks/chunk.J4Y5WGFW.js +0 -143
  1173. package/dist/chunks/chunk.JF5XMQYM.js +0 -11
  1174. package/dist/chunks/chunk.JX2ZA72Z.js +0 -220
  1175. package/dist/chunks/chunk.JXMVGVD3.js +0 -525
  1176. package/dist/chunks/chunk.JYE3UZ7F.js +0 -11
  1177. package/dist/chunks/chunk.K6BGAPBU.js +0 -28
  1178. package/dist/chunks/chunk.KDXR6RAM.js +0 -37
  1179. package/dist/chunks/chunk.KSCTOVEE.js +0 -24
  1180. package/dist/chunks/chunk.KUWB3YHJ.js +0 -220
  1181. package/dist/chunks/chunk.KVWBDTVE.js +0 -2062
  1182. package/dist/chunks/chunk.LPAGMHYK.js +0 -291
  1183. package/dist/chunks/chunk.LSQAN2LD.js +0 -1124
  1184. package/dist/chunks/chunk.LU6W37BH.js +0 -596
  1185. package/dist/chunks/chunk.LXK6XVBB.js +0 -21
  1186. package/dist/chunks/chunk.LYRQFZC4.js +0 -31
  1187. package/dist/chunks/chunk.M43H3QV7.js +0 -11
  1188. package/dist/chunks/chunk.M5WTUNKV.js +0 -409
  1189. package/dist/chunks/chunk.MFJTWHZU.js +0 -78
  1190. package/dist/chunks/chunk.MGURDS27.js +0 -11
  1191. package/dist/chunks/chunk.MLDZ7FRM.js +0 -11
  1192. package/dist/chunks/chunk.MP32V6JF.js +0 -11
  1193. package/dist/chunks/chunk.MQQMR33R.js +0 -48
  1194. package/dist/chunks/chunk.MRQ6SEQL.js +0 -11
  1195. package/dist/chunks/chunk.MYBSXZHT.js +0 -278
  1196. package/dist/chunks/chunk.N2AO3RT2.js +0 -21
  1197. package/dist/chunks/chunk.N5HDKOE2.js +0 -180
  1198. package/dist/chunks/chunk.NC25XWUR.js +0 -28
  1199. package/dist/chunks/chunk.NF6TS7VE.js +0 -247
  1200. package/dist/chunks/chunk.NLAMUPJI.js +0 -11
  1201. package/dist/chunks/chunk.NQUSYESD.js +0 -24
  1202. package/dist/chunks/chunk.NSKAS64G.js +0 -24
  1203. package/dist/chunks/chunk.NZ6XNFVY.js +0 -24
  1204. package/dist/chunks/chunk.NZI2QIFX.js +0 -11
  1205. package/dist/chunks/chunk.OA66EY7V.js +0 -24
  1206. package/dist/chunks/chunk.OPOM5NYB.js +0 -21
  1207. package/dist/chunks/chunk.OUX5ZAJF.js +0 -642
  1208. package/dist/chunks/chunk.OW63IENW.js +0 -11
  1209. package/dist/chunks/chunk.P4Q45ICU.js +0 -21
  1210. package/dist/chunks/chunk.PDVPPLE5.js +0 -214
  1211. package/dist/chunks/chunk.PEKVWKYT.js +0 -21
  1212. package/dist/chunks/chunk.PFOPI3VS.js +0 -180
  1213. package/dist/chunks/chunk.PG4X2ILS.js +0 -123
  1214. package/dist/chunks/chunk.PGYLMEJG.js +0 -11
  1215. package/dist/chunks/chunk.PHCONS2C.js +0 -609
  1216. package/dist/chunks/chunk.PHQ3RHOR.js +0 -21
  1217. package/dist/chunks/chunk.PMH2735I.js +0 -27
  1218. package/dist/chunks/chunk.PSH7C3UE.js +0 -25
  1219. package/dist/chunks/chunk.PX6C7WJR.js +0 -21
  1220. package/dist/chunks/chunk.Q3OACK3T.js +0 -101
  1221. package/dist/chunks/chunk.Q4F7GQU3.js +0 -11
  1222. package/dist/chunks/chunk.QB3XAEYL.js +0 -844
  1223. package/dist/chunks/chunk.QCFFEUZ5.js +0 -11
  1224. package/dist/chunks/chunk.QOVVZBY3.js +0 -21
  1225. package/dist/chunks/chunk.QT6YMUXC.js +0 -264
  1226. package/dist/chunks/chunk.QTHHBDBZ.js +0 -458
  1227. package/dist/chunks/chunk.QX46P4FI.js +0 -11
  1228. package/dist/chunks/chunk.RKMMXUAP.js +0 -112
  1229. package/dist/chunks/chunk.ROL2DCAI.js +0 -11
  1230. package/dist/chunks/chunk.ROTDM5PO.js +0 -345
  1231. package/dist/chunks/chunk.RQ27EUVN.js +0 -190
  1232. package/dist/chunks/chunk.RQQ26HU2.js +0 -1796
  1233. package/dist/chunks/chunk.RQQ4RAE2.js +0 -52
  1234. package/dist/chunks/chunk.RRXSF7XM.js +0 -11
  1235. package/dist/chunks/chunk.RUCPPCGA.js +0 -11
  1236. package/dist/chunks/chunk.RVD7MSQR.js +0 -27
  1237. package/dist/chunks/chunk.RXX63TG2.js +0 -24
  1238. package/dist/chunks/chunk.SAQ5NDKK.js +0 -11
  1239. package/dist/chunks/chunk.SBHGRKRD.js +0 -21
  1240. package/dist/chunks/chunk.SBP7DZY7.js +0 -20
  1241. package/dist/chunks/chunk.SH2IRK72.js +0 -28
  1242. package/dist/chunks/chunk.SJRFSZMI.js +0 -24
  1243. package/dist/chunks/chunk.SUZXJVRK.js +0 -11
  1244. package/dist/chunks/chunk.T2CPSS72.js +0 -24
  1245. package/dist/chunks/chunk.T6N4WCHK.js +0 -11
  1246. package/dist/chunks/chunk.TBBIOPLP.js +0 -11
  1247. package/dist/chunks/chunk.TJZCEVOT.js +0 -21
  1248. package/dist/chunks/chunk.TKHC4G3V.js +0 -29
  1249. package/dist/chunks/chunk.TNQZIZIY.js +0 -11
  1250. package/dist/chunks/chunk.TWJ4YDDO.js +0 -24
  1251. package/dist/chunks/chunk.TYK2UK63.js +0 -27
  1252. package/dist/chunks/chunk.U7XCMFST.js +0 -11
  1253. package/dist/chunks/chunk.UMIRLEHN.js +0 -11
  1254. package/dist/chunks/chunk.V2TFKPNC.js +0 -449
  1255. package/dist/chunks/chunk.VLTP62H6.js +0 -581
  1256. package/dist/chunks/chunk.VMYE2VST.js +0 -11
  1257. package/dist/chunks/chunk.W2XHRASZ.js +0 -93
  1258. package/dist/chunks/chunk.W76ILJ5S.js +0 -477
  1259. package/dist/chunks/chunk.WGW3TXWJ.js +0 -11
  1260. package/dist/chunks/chunk.WKH3Y2IJ.js +0 -355
  1261. package/dist/chunks/chunk.WMN2KKK6.js +0 -245
  1262. package/dist/chunks/chunk.WYF6KIZP.js +0 -21
  1263. package/dist/chunks/chunk.X44YYIHU.js +0 -24
  1264. package/dist/chunks/chunk.X5X4UZZJ.js +0 -11
  1265. package/dist/chunks/chunk.XC6VGXDZ.js +0 -78
  1266. package/dist/chunks/chunk.XEWYYXQO.js +0 -11
  1267. package/dist/chunks/chunk.XEZX22LQ.js +0 -28
  1268. package/dist/chunks/chunk.XJJJ5N44.js +0 -83
  1269. package/dist/chunks/chunk.XT7WLI7S.js +0 -24
  1270. package/dist/chunks/chunk.XUVQISFH.js +0 -21
  1271. package/dist/chunks/chunk.XWTM6QEP.js +0 -24
  1272. package/dist/chunks/chunk.XWUMRPTO.js +0 -21
  1273. package/dist/chunks/chunk.XXFWP5HJ.js +0 -124
  1274. package/dist/chunks/chunk.Y6KGVJTI.js +0 -271
  1275. package/dist/chunks/chunk.YB2HW4RD.js +0 -11
  1276. package/dist/chunks/chunk.YHNSW265.js +0 -229
  1277. package/dist/chunks/chunk.YHQMEGNP.js +0 -21
  1278. package/dist/chunks/chunk.YOEQGKZU.js +0 -214
  1279. package/dist/chunks/chunk.YZ7YDVM4.js +0 -161
  1280. package/dist/chunks/chunk.Z3NYHC6Y.js +0 -11
  1281. package/dist/chunks/chunk.Z6G2TOJC.js +0 -241
  1282. package/dist/chunks/chunk.ZHZTZFLC.js +0 -11
  1283. package/dist/chunks/chunk.ZLMZ6AJ4.js +0 -24
  1284. package/dist/chunks/chunk.ZMP2JJRB.js +0 -91
  1285. package/dist/chunks/chunk.ZWGUQYJA.js +0 -52
  1286. package/dist/terra_ui_components-0.0.146-py3-none-any.whl +0 -0
  1287. package/dist/terra_ui_components-0.0.146.tar.gz +0 -0
@@ -0,0 +1,2170 @@
1
+ import {
2
+ defaultSubsetFileMimeType,
3
+ getFriendlyNameForMimeType
4
+ } from "./chunk.XR75EBXL.js";
5
+ import {
6
+ getNotebook
7
+ } from "./chunk.HGH56KRJ.js";
8
+ import {
9
+ TerraLogin
10
+ } from "./chunk.VSGKND44.js";
11
+ import {
12
+ TerraDialog
13
+ } from "./chunk.DOJBLSNS.js";
14
+ import {
15
+ DataSubsetterController
16
+ } from "./chunk.GANIXVIN.js";
17
+ import {
18
+ data_subsetter_styles_default
19
+ } from "./chunk.CYCA3NBR.js";
20
+ import {
21
+ TerraDataAccess,
22
+ debounce,
23
+ sendDataToJupyterNotebook
24
+ } from "./chunk.I7CAS3LW.js";
25
+ import {
26
+ TerraMenuItem
27
+ } from "./chunk.GUUFFRDH.js";
28
+ import {
29
+ TerraMenu
30
+ } from "./chunk.DCGNZRJY.js";
31
+ import {
32
+ TerraDatePicker
33
+ } from "./chunk.GGWE6DMI.js";
34
+ import {
35
+ extractHarmonyError
36
+ } from "./chunk.ESNQNQUJ.js";
37
+ import {
38
+ AuthController
39
+ } from "./chunk.DHM36JBP.js";
40
+ import {
41
+ TerraSpatialPicker
42
+ } from "./chunk.XWUQXAFS.js";
43
+ import {
44
+ TerraInput
45
+ } from "./chunk.RFQ6SI2X.js";
46
+ import {
47
+ TerraDropdown
48
+ } from "./chunk.OURLKNGX.js";
49
+ import {
50
+ TerraLoader
51
+ } from "./chunk.ZMHHVVFG.js";
52
+ import {
53
+ TerraButton
54
+ } from "./chunk.75LSXQWL.js";
55
+ import {
56
+ TerraAccordion
57
+ } from "./chunk.V3DZ2BN4.js";
58
+ import {
59
+ TerraIcon
60
+ } from "./chunk.LCEWFC3G.js";
61
+ import {
62
+ getBasePath
63
+ } from "./chunk.PBC3S6IG.js";
64
+ import {
65
+ watch
66
+ } from "./chunk.NWXJOH5T.js";
67
+ import {
68
+ TerraElement,
69
+ component_styles_default
70
+ } from "./chunk.UMBI523G.js";
71
+ import {
72
+ __decorateClass,
73
+ __privateAdd,
74
+ __privateGet,
75
+ __privateMethod,
76
+ __spreadProps,
77
+ __spreadValues
78
+ } from "./chunk.SHKVBVTI.js";
79
+
80
+ // src/components/data-subsetter/data-subsetter.component.ts
81
+ import { html, nothing } from "lit";
82
+ import { property, query, state } from "lit/decorators.js";
83
+ import { TaskStatus } from "@lit/task";
84
+ var _authController, _renderFooterForDialog, renderFooterForDialog_fn, _renderSizeInfo, renderSizeInfo_fn, _renderSubsetOptions, renderSubsetOptions_fn, _renderSearchForCollection, renderSearchForCollection_fn, _renderOutputFormatSelection, renderOutputFormatSelection_fn, _renderDateRangeSelection, renderDateRangeSelection_fn, _handleDateChange, _resetDateRangeSelection, _resetFormatSelection, _getCollectionDateRange, getCollectionDateRange_fn, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn, _renderSpatialSelection, renderSpatialSelection_fn, _handleSpatialChange, _resetSpatialSelection, _renderVariableSelection, renderVariableSelection_fn, _filterVariableTree, filterVariableTree_fn, _handleVariableFilterChange, handleVariableFilterChange_fn, _buildVariableTree, buildVariableTree_fn, _renderVariableTree, renderVariableTree_fn, _getAllGroupPaths, getAllGroupPaths_fn, _toggleGroupExpand, toggleGroupExpand_fn, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn, _toggleVariableSelection, toggleVariableSelection_fn, _markFieldTouched, markFieldTouched_fn, _resetVariableSelection, _renderJobStatus, renderJobStatus_fn, _renderSelectedParams, renderSelectedParams_fn, _cancelJob, cancelJob_fn, _getData, getData_fn, _touchAllFields, touchAllFields_fn, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn, _getDocumentationLinks, getDocumentationLinks_fn, _getDataLinks, getDataLinks_fn, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn, _hasSpatialSubset, hasSpatialSubset_fn, _renderJobMessage, renderJobMessage_fn, _getJobMessageText, getJobMessageText_fn, _estimateJobSize, estimateJobSize_fn, _refineParameters, refineParameters_fn, _backToSubsetOptions, backToSubsetOptions_fn, _viewRunningJob, viewRunningJob_fn, _handleDownloadSelect, handleDownloadSelect_fn, _downloadLinksAsTxt, downloadLinksAsTxt_fn, _downloadPythonScript, downloadPythonScript_fn, _downloadEarthdataDownload, downloadEarthdataDownload_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn, _isGiovanniFormat, isGiovanniFormat_fn, _getGiovanniValidationError, getGiovanniValidationError_fn;
85
+ var TerraDataSubsetter = class extends TerraElement {
86
+ constructor() {
87
+ super(...arguments);
88
+ __privateAdd(this, _renderFooterForDialog);
89
+ __privateAdd(this, _renderSizeInfo);
90
+ __privateAdd(this, _renderSubsetOptions);
91
+ __privateAdd(this, _renderSearchForCollection);
92
+ __privateAdd(this, _renderOutputFormatSelection);
93
+ __privateAdd(this, _renderDateRangeSelection);
94
+ __privateAdd(this, _getCollectionDateRange);
95
+ __privateAdd(this, _handleRegionAccordionToggle);
96
+ __privateAdd(this, _renderSpatialSelection);
97
+ __privateAdd(this, _renderVariableSelection);
98
+ __privateAdd(this, _filterVariableTree);
99
+ __privateAdd(this, _handleVariableFilterChange);
100
+ __privateAdd(this, _buildVariableTree);
101
+ __privateAdd(this, _renderVariableTree);
102
+ __privateAdd(this, _getAllGroupPaths);
103
+ __privateAdd(this, _toggleGroupExpand);
104
+ __privateAdd(this, _toggleExpandCollapseAll);
105
+ __privateAdd(this, _toggleVariableSelection);
106
+ __privateAdd(this, _markFieldTouched);
107
+ __privateAdd(this, _renderJobStatus);
108
+ __privateAdd(this, _renderSelectedParams);
109
+ __privateAdd(this, _cancelJob);
110
+ __privateAdd(this, _getData);
111
+ __privateAdd(this, _touchAllFields);
112
+ __privateAdd(this, _numberOfFilesFoundEstimate);
113
+ __privateAdd(this, _getDocumentationLinks);
114
+ __privateAdd(this, _getDataLinks);
115
+ __privateAdd(this, _hasAtLeastOneSubsetOption);
116
+ __privateAdd(this, _hasSpatialSubset);
117
+ __privateAdd(this, _renderJobMessage);
118
+ __privateAdd(this, _getJobMessageText);
119
+ __privateAdd(this, _estimateJobSize);
120
+ __privateAdd(this, _refineParameters);
121
+ __privateAdd(this, _backToSubsetOptions);
122
+ __privateAdd(this, _viewRunningJob);
123
+ __privateAdd(this, _handleDownloadSelect);
124
+ __privateAdd(this, _downloadLinksAsTxt);
125
+ __privateAdd(this, _downloadPythonScript);
126
+ __privateAdd(this, _downloadEarthdataDownload);
127
+ __privateAdd(this, _handleJupyterNotebookClick);
128
+ __privateAdd(this, _renderAvailableTemporalRangeSection);
129
+ __privateAdd(this, _renderAvailableSpatialRangeSection);
130
+ __privateAdd(this, _renderDataAccessModeSelection);
131
+ __privateAdd(this, _isGiovanniFormat);
132
+ __privateAdd(this, _getGiovanniValidationError);
133
+ this.showCollectionSearch = true;
134
+ this.showHistoryPanel = true;
135
+ this.isHistoryView = false;
136
+ this.selectedVariables = [];
137
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
138
+ this.variableFilterText = "";
139
+ this.touchedFields = /* @__PURE__ */ new Set();
140
+ this.spatialSelection = null;
141
+ this.selectedDateRange = {
142
+ startDate: null,
143
+ endDate: null
144
+ };
145
+ this.selectedFormat = defaultSubsetFileMimeType;
146
+ this.cancelingGetData = false;
147
+ this.selectedTab = "web-links";
148
+ this.refineParameters = false;
149
+ this.collectionSearchType = "all";
150
+ this.collectionSearchLoading = false;
151
+ this.collectionLoading = false;
152
+ this.collectionAccordionOpen = true;
153
+ this.dataAccessMode = "original";
154
+ this.controller = new DataSubsetterController(this);
155
+ __privateAdd(this, _authController, new AuthController(this));
156
+ __privateAdd(this, _handleDateChange, (e) => {
157
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
158
+ this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
159
+ startDate: e.detail.startDate,
160
+ endDate: e.detail.endDate
161
+ });
162
+ });
163
+ __privateAdd(this, _resetDateRangeSelection, () => {
164
+ this.selectedDateRange = { startDate: null, endDate: null };
165
+ });
166
+ __privateAdd(this, _resetFormatSelection, () => {
167
+ var _a, _b;
168
+ if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) == null ? void 0 : _b.length) {
169
+ const netcdfFormat = this.collectionWithServices.outputFormats.find(
170
+ (format) => format === "application/x-netcdf4" || format === "application/netcdf"
171
+ );
172
+ this.selectedFormat = netcdfFormat || this.collectionWithServices.outputFormats[0];
173
+ } else {
174
+ this.selectedFormat = defaultSubsetFileMimeType;
175
+ }
176
+ });
177
+ __privateAdd(this, _handleSpatialChange, (e) => {
178
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
179
+ const round2 = (n) => parseFloat(Number(n).toFixed(2));
180
+ if (e.detail.type === "bbox" /* BBOX */) {
181
+ this.spatialSelection = {
182
+ e: round2(e.detail.bounds.getNorthEast().lng),
183
+ n: round2(e.detail.bounds.getNorthEast().lat),
184
+ w: round2(e.detail.bounds.getSouthWest().lng),
185
+ s: round2(e.detail.bounds.getSouthWest().lat)
186
+ };
187
+ } else if (e.detail.type === "point" /* POINT */) {
188
+ this.spatialSelection = e.detail.latLng;
189
+ } else {
190
+ this.spatialSelection = null;
191
+ }
192
+ });
193
+ __privateAdd(this, _resetSpatialSelection, () => {
194
+ this.spatialSelection = null;
195
+ });
196
+ __privateAdd(this, _resetVariableSelection, () => {
197
+ this.selectedVariables = [];
198
+ });
199
+ }
200
+ jobIdChanged() {
201
+ if (this.jobId) {
202
+ this.controller.fetchJobByID(this.jobId);
203
+ this.dataAccessMode = "subset";
204
+ }
205
+ }
206
+ shortNameAndVersionChanged() {
207
+ if (this.shortName && this.version) {
208
+ this.collectionEntryId = `${this.shortName}_${this.version}`;
209
+ }
210
+ }
211
+ collectionEntryIdChanged() {
212
+ if (this.collectionEntryId) {
213
+ this.showCollectionSearch = false;
214
+ } else {
215
+ this.showCollectionSearch = true;
216
+ }
217
+ }
218
+ firstUpdated() {
219
+ if (this.collectionEntryId) {
220
+ this.showCollectionSearch = false;
221
+ }
222
+ if (this.jobId) {
223
+ this.controller.fetchJobByID(this.jobId);
224
+ this.dataAccessMode = "subset";
225
+ }
226
+ this.renderHistoryPanel();
227
+ }
228
+ updated(changedProps) {
229
+ var _a, _b, _c, _d;
230
+ super.updated(changedProps);
231
+ const taskStatus = (_b = (_a = this.controller) == null ? void 0 : _a.jobStatusTask) == null ? void 0 : _b.status;
232
+ if (taskStatus === TaskStatus.ERROR) {
233
+ const taskError = (_d = (_c = this.controller) == null ? void 0 : _c.jobStatusTask) == null ? void 0 : _d.error;
234
+ if (taskError) {
235
+ const errorDetails = extractHarmonyError(taskError);
236
+ if (errorDetails.isCancellation) {
237
+ return;
238
+ }
239
+ if (this.controller.currentJob) {
240
+ this.controller.currentJob = __spreadProps(__spreadValues({}, this.controller.currentJob), {
241
+ status: "failed" /* FAILED */,
242
+ message: errorDetails.message || "Failed to create subset job"
243
+ });
244
+ }
245
+ }
246
+ }
247
+ }
248
+ collectionChanged() {
249
+ var _a, _b;
250
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
251
+ this.selectedDateRange = { startDate, endDate };
252
+ if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) == null ? void 0 : _b.length) {
253
+ const netcdfFormat = this.collectionWithServices.outputFormats.find(
254
+ (format) => format === "application/x-netcdf4" || format === "application/netcdf"
255
+ );
256
+ this.selectedFormat = netcdfFormat || this.collectionWithServices.outputFormats[0];
257
+ } else {
258
+ this.selectedFormat = defaultSubsetFileMimeType;
259
+ }
260
+ this.collectionLoading = false;
261
+ this.collectionAccordionOpen = false;
262
+ }
263
+ selectedFormatChanged() {
264
+ if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.selectedVariables.length > 1) {
265
+ this.selectedVariables = [this.selectedVariables[0]];
266
+ }
267
+ }
268
+ showDialog() {
269
+ var _a;
270
+ (_a = this.dialogElement) == null ? void 0 : _a.show();
271
+ }
272
+ render() {
273
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
274
+ const showJobStatus = this.controller.currentJob && !this.refineParameters;
275
+ const showMinimizeButton = showJobStatus && !!this.dialog;
276
+ const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
277
+ const content = html`
278
+ <div class="container">
279
+ ${!this.dialog ? html`
280
+ <div class="header">
281
+ <h1>
282
+ <svg
283
+ class="download-icon"
284
+ viewBox="0 0 24 24"
285
+ fill="currentColor"
286
+ >
287
+ <path
288
+ d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
289
+ />
290
+ </svg>
291
+ ${title}
292
+ </h1>
293
+
294
+ ${showMinimizeButton ? html`<button
295
+ class="minimize-btn"
296
+ @click=${() => this.minimizeDialog()}
297
+ >
298
+ -
299
+ </button>` : nothing}
300
+ </div>
301
+ ` : nothing}
302
+ ${!this.isHistoryView && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? html`
303
+ <div class="section">
304
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
305
+ </div>
306
+ ` : nothing}
307
+ ${this.dataAccessMode === "original" ? html`
308
+ <div class="section">
309
+ <terra-data-access
310
+ short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
311
+ version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
312
+ ?footer-slot=${!!this.dialog}
313
+ >
314
+ ${this.dialog ? html`
315
+ <div
316
+ slot="footer"
317
+ style="margin-top: 15px;"
318
+ >
319
+ <slot
320
+ name="data-access-footer"
321
+ ></slot>
322
+ </div>
323
+ ` : nothing}
324
+ </terra-data-access>
325
+ </div>
326
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
327
+ </div>
328
+ `;
329
+ if (this.dialog) {
330
+ return html`
331
+ <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
332
+ <span
333
+ slot="label"
334
+ style="display: flex; align-items: center; gap: 8px; color: #0066cc; font-weight: 600;"
335
+ >
336
+ <svg
337
+ class="download-icon"
338
+ viewBox="0 0 24 24"
339
+ fill="currentColor"
340
+ style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
341
+ >
342
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
343
+ </svg>
344
+ ${title}
345
+ </span>
346
+ ${showMinimizeButton ? html`
347
+ <button
348
+ slot="header-actions"
349
+ class="minimize-btn"
350
+ @click=${() => {
351
+ var _a2;
352
+ return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
353
+ }}
354
+ aria-label="Minimize"
355
+ >
356
+ -
357
+ </button>
358
+ ` : nothing}
359
+ ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
360
+ </terra-dialog>
361
+ `;
362
+ }
363
+ return html`
364
+ <div class="container">
365
+ <div class="header">
366
+ <h1>
367
+ <svg
368
+ class="download-icon"
369
+ viewBox="0 0 24 24"
370
+ fill="currentColor"
371
+ >
372
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
373
+ </svg>
374
+ ${title}
375
+ </h1>
376
+
377
+ ${showMinimizeButton ? html`<button
378
+ class="minimize-btn"
379
+ @click=${() => this.minimizeDialog()}
380
+ >
381
+ -
382
+ </button>` : nothing}
383
+ </div>
384
+ ${!this.isHistoryView && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? html`
385
+ <div class="section">
386
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
387
+ </div>
388
+ ` : nothing}
389
+ ${this.dataAccessMode === "original" ? html`
390
+ <div class="section">
391
+ <terra-data-access
392
+ short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
393
+ version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
394
+ ?footer-slot=${!!this.dialog}
395
+ >
396
+ ${this.dialog ? html`
397
+ <div
398
+ slot="footer"
399
+ style="margin-top: 15px;"
400
+ >
401
+ <slot
402
+ name="data-access-footer"
403
+ ></slot>
404
+ </div>
405
+ ` : nothing}
406
+ </terra-data-access>
407
+ </div>
408
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
409
+ </div>
410
+ `;
411
+ }
412
+ minimizeDialog() {
413
+ var _a;
414
+ (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
415
+ }
416
+ handleCollectionSearch(searchTerm) {
417
+ this.collectionSearchQuery = searchTerm;
418
+ }
419
+ isLatLng(value) {
420
+ return value && typeof value.lat === "number" && typeof value.lng === "number";
421
+ }
422
+ isLatLngBounds(value) {
423
+ return value && typeof value.getSouthWest === "function" && typeof value.getNorthEast === "function";
424
+ }
425
+ renderHistoryPanel() {
426
+ const existingHistoryPanel = document.querySelector(
427
+ "terra-data-subsetter-history"
428
+ );
429
+ if (!existingHistoryPanel && this.bearerToken) {
430
+ const historyPanel = document.createElement(
431
+ "terra-data-subsetter-history"
432
+ );
433
+ if (this.bearerToken) {
434
+ historyPanel.setAttribute("bearer-token", this.bearerToken);
435
+ }
436
+ if (this.environment) {
437
+ historyPanel.setAttribute("environment", this.environment);
438
+ }
439
+ document.body.appendChild(historyPanel);
440
+ }
441
+ }
442
+ };
443
+ _authController = new WeakMap();
444
+ _renderFooterForDialog = new WeakSet();
445
+ renderFooterForDialog_fn = function() {
446
+ const showJobStatus = this.controller.currentJob && !this.refineParameters;
447
+ if (showJobStatus && this.controller.currentJob) {
448
+ return html`
449
+ <div slot="footer" class="footer">
450
+ ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? html`
451
+ <div
452
+ style="display: flex; align-items: center; gap: 8px;"
453
+ >
454
+ <terra-dropdown
455
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
456
+ >
457
+ <terra-button slot="trigger" caret>
458
+ Download Options
459
+ </terra-button>
460
+ <terra-menu>
461
+ <terra-menu-item value="file-list">
462
+ <svg
463
+ slot="prefix"
464
+ viewBox="0 0 24 24"
465
+ width="16"
466
+ height="16"
467
+ style="width: 16px; height: 16px;"
468
+ >
469
+ <path
470
+ fill="currentColor"
471
+ 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"
472
+ />
473
+ </svg>
474
+ File List
475
+ </terra-menu-item>
476
+ <terra-menu-item value="python-script">
477
+ <svg
478
+ slot="prefix"
479
+ viewBox="0 0 128 128"
480
+ width="16"
481
+ height="16"
482
+ style="width: 16px; height: 16px;"
483
+ >
484
+ <path
485
+ fill="currentColor"
486
+ 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"
487
+ ></path>
488
+ </svg>
489
+ Python Script
490
+ </terra-menu-item>
491
+ <terra-menu-item value="earthdata-download">
492
+ <svg
493
+ slot="prefix"
494
+ viewBox="0 0 64 64"
495
+ fill="none"
496
+ width="16"
497
+ height="16"
498
+ style="width: 16px; height: 16px;"
499
+ >
500
+ <circle
501
+ cx="32"
502
+ cy="32"
503
+ r="28"
504
+ fill="currentColor"
505
+ />
506
+ <path
507
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
508
+ stroke="#fff"
509
+ stroke-width="4"
510
+ stroke-linecap="round"
511
+ stroke-linejoin="round"
512
+ fill="none"
513
+ />
514
+ </svg>
515
+ Earthdata Download
516
+ </terra-menu-item>
517
+ </terra-menu>
518
+ </terra-dropdown>
519
+
520
+ <terra-button
521
+ outline
522
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
523
+ >
524
+ <terra-icon
525
+ name="outline-code-bracket"
526
+ library="heroicons"
527
+ font-size="1.5em"
528
+ style="margin-right: 5px;"
529
+ ></terra-icon>
530
+ Open in Jupyter Notebook
531
+ </terra-button>
532
+ </div>
533
+ ` : nothing}
534
+ ${this.controller.currentJob.status === "running" ? html`<button
535
+ class="btn btn-success"
536
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
537
+ ?disabled=${this.cancelingGetData}
538
+ >
539
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
540
+ </button>` : nothing}
541
+
542
+ <div class="job-info">
543
+ Job ID:
544
+ <span class="job-id">
545
+ ${this.bearerToken ? html`<a
546
+ href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
547
+ target="_blank"
548
+ >${this.controller.currentJob.jobID}</a
549
+ >` : this.controller.currentJob.jobID}
550
+ </span>
551
+ <span class="info-icon">?</span>
552
+ </div>
553
+ </div>
554
+ `;
555
+ } else if (this.dataAccessMode === "subset") {
556
+ return html`
557
+ <div slot="footer" class="footer">
558
+ <button class="btn btn-secondary">Reset All</button>
559
+ <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
560
+ Get Data
561
+ </button>
562
+ ${this.jobId ? html`
563
+ <terra-button
564
+ variant="default"
565
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
566
+ >
567
+ View Running Job
568
+ </terra-button>
569
+ ` : nothing}
570
+ </div>
571
+ </div>
572
+ </div>
573
+ `;
574
+ }
575
+ return nothing;
576
+ };
577
+ _renderSizeInfo = new WeakSet();
578
+ renderSizeInfo_fn = function(estimates) {
579
+ if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
580
+ return html`
581
+ <div class="size-info warning">
582
+ <terra-login>
583
+ <h2 slot="logged-out">Limited access as a guest.</h2>
584
+
585
+ <p slot="logged-out">
586
+ Your results will be capped at 10 links. Log in for full
587
+ access to all data.
588
+ </p>
589
+ </terra-login>
590
+ </div>
591
+ `;
592
+ }
593
+ return html`<div
594
+ class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
595
+ >
596
+ <h2>Estimated size of results</h2>
597
+ <div class="size-stats">
598
+ ${estimates.days.toLocaleString()} days,
599
+ ${estimates.links.toLocaleString()} links
600
+ </div>
601
+ ${estimates.links >= 150 ? html`<div class="size-warning">
602
+ You are about to retrieve ${estimates.links.toLocaleString()}
603
+ file links from the archive. You may
604
+ <strong>speed up the request</strong> by limiting the scope of
605
+ your search.
606
+ </div>` : nothing}
607
+ </div>`;
608
+ };
609
+ _renderSubsetOptions = new WeakSet();
610
+ renderSubsetOptions_fn = function() {
611
+ var _a, _b, _c, _d, _e, _f, _g, _h;
612
+ const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
613
+ const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
614
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
615
+ const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
616
+ const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
617
+ const showTemporalSection = temporalExtents && temporalExtents.length;
618
+ const showSpatialSection = spatialExtent && ((_c = (_b = spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles);
619
+ return html`
620
+ ${this.dataAccessMode === "original" ? nothing : hasSubsetOption ? html`
621
+ ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : nothing}
622
+ ${this.showCollectionSearch ? html`
623
+ <div class="section">
624
+ <h2 class="section-title">
625
+ Select Data Collection
626
+ <span class="help-icon">?</span>
627
+ </h2>
628
+
629
+ ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
630
+ </div>
631
+ ` : nothing}
632
+ ${((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.outputFormats) == null ? void 0 : _e.length) && hasSubsetOption ? html`
633
+ <div class="section">
634
+ <h2 class="section-title">
635
+ Output Format
636
+ <span class="help-icon">?</span>
637
+ </h2>
638
+
639
+ ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
640
+ </div>
641
+ ` : nothing}
642
+ <div class="section">
643
+ <h2 class="section-title">
644
+ Subset Options
645
+ <span class="help-icon">?</span>
646
+ </h2>
647
+ <p style="color: #666; margin-bottom: 16px;">
648
+ Generate file links supporting geo-spatial search and
649
+ crop, selection of variables and dimensions, selection
650
+ of time of day, and data presentation, in netCDF or
651
+ HDF-EOS5 formats.
652
+ </p>
653
+
654
+ ${((_f = this.collectionWithServices) == null ? void 0 : _f.temporalSubset) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : nothing}
655
+ ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : nothing}
656
+ ${((_g = this.collectionWithServices) == null ? void 0 : _g.variableSubset) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : nothing}
657
+ </div>
658
+ ` : html`
659
+ ${showTemporalSection && !((_h = this.collectionWithServices) == null ? void 0 : _h.temporalSubset) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : nothing}
660
+ ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : nothing}
661
+ `}
662
+ ${!hasSubsetOption && estimates ? html`
663
+ <div
664
+ class="neutral-info"
665
+ style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
666
+ >
667
+ <strong>Estimated result size:</strong><br />
668
+ Your request will return approximately
669
+ <b>${estimates.links.toLocaleString()}</b> files covering
670
+ <b>${estimates.days.toLocaleString()}</b> days.
671
+ </div>
672
+ ` : nothing}
673
+ ${this.dataAccessMode === "subset" && !this.dialog ? html`
674
+ <div class="footer">
675
+ <button class="btn btn-secondary">Reset All</button>
676
+ <button
677
+ class="btn btn-primary"
678
+ @click=${__privateMethod(this, _getData, getData_fn)}
679
+ >
680
+ Get Data
681
+ </button>
682
+ ${this.jobId ? html`
683
+ <terra-button
684
+ variant="default"
685
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
686
+ >
687
+ View Running Job
688
+ </terra-button>
689
+ ` : nothing}
690
+ </div>
691
+ </div>
692
+ </div>
693
+ ` : nothing}
694
+ `;
695
+ };
696
+ _renderSearchForCollection = new WeakSet();
697
+ renderSearchForCollection_fn = function() {
698
+ var _a, _b;
699
+ let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
700
+ if (this.collectionSearchType === "collection") {
701
+ placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
702
+ }
703
+ if (this.collectionSearchType === "variable") {
704
+ placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
705
+ }
706
+ return html`
707
+ <terra-accordion .open=${this.collectionAccordionOpen}>
708
+ <div slot="summary">
709
+ <span class="accordion-title">Collection:</span>
710
+ </div>
711
+
712
+ <div
713
+ slot="summary-right"
714
+ style="display: flex; align-items: center; gap: 10px"
715
+ >
716
+ ${this.collectionEntryId ? html` <span
717
+ class="accordion-value"
718
+ id="selected-collection-display"
719
+ >${this.collectionEntryId}</span
720
+ >
721
+
722
+ <button
723
+ class="reset-btn"
724
+ @click=${() => this.collectionEntryId = void 0}
725
+ >
726
+ Reset
727
+ </button>` : nothing}
728
+ </div>
729
+
730
+ <div class="search-tabs-mini">
731
+ <button
732
+ class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
733
+ @click=${() => this.collectionSearchType = "all"}
734
+ >
735
+ All
736
+ </button>
737
+ <button
738
+ class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
739
+ @click=${() => this.collectionSearchType = "collection"}
740
+ >
741
+ Collections
742
+ </button>
743
+ <button
744
+ class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
745
+ @click=${() => this.collectionSearchType = "variable"}
746
+ >
747
+ Variables
748
+ </button>
749
+ </div>
750
+
751
+ <div class="search-container-mini">
752
+ <input
753
+ type="text"
754
+ class="search-input-mini"
755
+ id="search-input"
756
+ placeholder=${placeholder}
757
+ @input="${(e) => this.handleCollectionSearch(
758
+ e.target.value
759
+ )}"
760
+ />
761
+
762
+ <button class="search-button-mini">
763
+ <svg
764
+ class="search-icon-mini"
765
+ viewBox="0 0 24 24"
766
+ fill="currentColor"
767
+ >
768
+ <path
769
+ 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"
770
+ />
771
+ </svg>
772
+ Search
773
+ </button>
774
+ </div>
775
+
776
+ <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
777
+ <div class="quick-links-mini">
778
+ <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
779
+ >GPM Precipitation</a
780
+ >
781
+ <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
782
+ >MODIS Data</a
783
+ >
784
+ <a
785
+ href="#"
786
+ class="quick-link-mini"
787
+ onclick="quickSearch('Landsat')"
788
+ >Landsat Imagery</a
789
+ >
790
+ <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
791
+ >Atmospheric Data</a
792
+ >
793
+ </div>
794
+ -->
795
+
796
+ <div id="search-results-section" class="search-results-section">
797
+ ${this.collectionSearchLoading ? html`
798
+ <div id="loading-mini" class="loading-mini">
799
+ <div class="spinner-mini"></div>
800
+ <div>Searching NASA CMR...</div>
801
+ </div>
802
+ ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? html` <div
803
+ id="results-container-mini"
804
+ class="results-container-mini"
805
+ >
806
+ ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
807
+ (item) => html`
808
+ <div
809
+ class="result-item-mini"
810
+ @click=${() => {
811
+ this.collectionEntryId = item.collectionEntryId;
812
+ this.collectionAccordionOpen = false;
813
+ this.collectionLoading = true;
814
+ if (item.type === "variable") {
815
+ this.selectedVariables = [
816
+ {
817
+ name: item.entryId,
818
+ href: "",
819
+ conceptId: item.conceptId
820
+ }
821
+ ];
822
+ }
823
+ this.requestUpdate();
824
+ }}
825
+ style="cursor: pointer;"
826
+ >
827
+ <div class="result-title-mini">
828
+ ${item.title}
829
+ </div>
830
+ <div class="result-id-mini">
831
+ ${item.entryId}
832
+ </div>
833
+ <div class="result-description-mini">
834
+ ${item.summary || item.title}
835
+ </div>
836
+ <div class="result-meta-mini">
837
+ <span>📅 2000-02-24 - ongoing</span>
838
+ <span>🌍 Global</span>
839
+ <span>🏢 ${item.provider}</span>
840
+ ${item.type === "variable" ? html` <span
841
+ >📊
842
+ ${item.collectionEntryId}</span
843
+ >` : nothing}
844
+ <span class="tag-mini"
845
+ >${item.type.toUpperCase()}</span
846
+ >
847
+ </div>
848
+ </div>
849
+ `
850
+ )}
851
+ </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? html`<div id="no-results-mini" class="no-results-mini">
852
+ <p>
853
+ No results found for
854
+ '${this.collectionSearchQuery}'. Try adjusting
855
+ your search term.
856
+ </p>
857
+ </div>` : nothing}
858
+ </div>
859
+ </terra-accordion>
860
+
861
+ ${this.collectionLoading ? html`
862
+ <div
863
+ class="collection-loading-bar"
864
+ style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
865
+ >
866
+ <span
867
+ class="loading-spinner"
868
+ 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;"
869
+ ></span>
870
+ Retrieving collection, please wait...
871
+ </div>
872
+ <style>
873
+ @keyframes spin {
874
+ 0% {
875
+ transform: rotate(0deg);
876
+ }
877
+ 100% {
878
+ transform: rotate(360deg);
879
+ }
880
+ }
881
+ </style>
882
+ ` : nothing}
883
+ `;
884
+ };
885
+ _renderOutputFormatSelection = new WeakSet();
886
+ renderOutputFormatSelection_fn = function() {
887
+ return html`
888
+ <terra-accordion>
889
+ <div slot="summary">
890
+ <span class="accordion-title">File Format:</span>
891
+ </div>
892
+
893
+ <div
894
+ slot="summary-right"
895
+ style="display: flex; align-items: center; gap: 10px;"
896
+ >
897
+ <span>${getFriendlyNameForMimeType(this.selectedFormat)}</span>
898
+
899
+ <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
900
+ Reset
901
+ </button>
902
+ </div>
903
+
904
+ <div class="accordion-content" style="margin-top: 12px;">
905
+ ${(() => {
906
+ var _a;
907
+ const allFormats = ((_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) || [];
908
+ const uniqueFormats = Array.from(new Set(allFormats));
909
+ const hasNetcdf4 = uniqueFormats.includes(
910
+ "application/x-netcdf4"
911
+ );
912
+ const hasNetcdfClassic = uniqueFormats.includes("application/netcdf");
913
+ let displayFormats = uniqueFormats;
914
+ if (hasNetcdf4 && hasNetcdfClassic) {
915
+ displayFormats = uniqueFormats.filter(
916
+ (f) => f !== "application/netcdf"
917
+ );
918
+ }
919
+ return displayFormats.map(
920
+ (format) => html`
921
+ <label
922
+ style="display: flex; align-items: center; gap: 8px; padding: 5px;"
923
+ >
924
+ <input
925
+ type="radio"
926
+ name="output-format"
927
+ value="${format}"
928
+ .checked=${this.selectedFormat === format}
929
+ @change=${() => this.selectedFormat = format}
930
+ />
931
+ ${getFriendlyNameForMimeType(format)}
932
+ </label>
933
+ `
934
+ );
935
+ })()}
936
+ </div>
937
+ </terra-accordion>
938
+ `;
939
+ };
940
+ _renderDateRangeSelection = new WeakSet();
941
+ renderDateRangeSelection_fn = function() {
942
+ var _a, _b;
943
+ const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
944
+ const startDate = (_a = this.selectedDateRange.startDate) != null ? _a : defaultStartDate;
945
+ const endDate = (_b = this.selectedDateRange.endDate) != null ? _b : defaultEndDate;
946
+ const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
947
+ return html`
948
+ <terra-accordion>
949
+ <div slot="summary">
950
+ <span class="accordion-title">Refine Date Range:</span>
951
+ </div>
952
+
953
+ <div
954
+ slot="summary-right"
955
+ style="display: flex; align-items: center; gap: 10px;"
956
+ >
957
+ ${showError ? html`<span class="accordion-value error"
958
+ >Please select a date range</span
959
+ >` : this.touchedFields.has("date") && startDate && endDate ? html`<span class="accordion-value"
960
+ >${startDate} to ${endDate}</span
961
+ >` : nothing}
962
+ <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
963
+ Reset
964
+ </button>
965
+ </div>
966
+
967
+ <div style="width: 300px">
968
+ <terra-date-picker
969
+ allow-input
970
+ inline
971
+ range
972
+ split-inputs
973
+ show-presets
974
+ ?enable-time=${this.controller.isSubDaily}
975
+ start-label="Start Date"
976
+ end-label="End Date"
977
+ .minDate=${defaultStartDate}
978
+ .maxDate=${defaultEndDate}
979
+ .startDate=${this.selectedDateRange.startDate}
980
+ .endDate=${this.selectedDateRange.endDate}
981
+ @terra-date-range-change=${__privateGet(this, _handleDateChange)}
982
+ ></terra-date-picker>
983
+ </div>
984
+
985
+ <div
986
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
987
+ >
988
+ <span
989
+ ><strong>Available Range:</strong> ${defaultStartDate} to
990
+ ${defaultEndDate}</span
991
+ >
992
+ ${this.controller.isSubDaily ? html`<span
993
+ ><strong>Note:</strong> All dates and times are in
994
+ UTC.</span
995
+ >` : nothing}
996
+ </div>
997
+ </terra-accordion>
998
+ `;
999
+ };
1000
+ _handleDateChange = new WeakMap();
1001
+ _resetDateRangeSelection = new WeakMap();
1002
+ _resetFormatSelection = new WeakMap();
1003
+ _getCollectionDateRange = new WeakSet();
1004
+ getCollectionDateRange_fn = function() {
1005
+ var _a, _b;
1006
+ const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
1007
+ if (!temporalExtents || !temporalExtents.length)
1008
+ return {
1009
+ startDate: null,
1010
+ endDate: null
1011
+ };
1012
+ let minStart = null;
1013
+ let maxEnd = null;
1014
+ const today = /* @__PURE__ */ new Date();
1015
+ for (const temporal of temporalExtents) {
1016
+ for (const range of temporal.RangeDateTimes) {
1017
+ const start = new Date(range.BeginningDateTime);
1018
+ let end;
1019
+ if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
1020
+ end = today;
1021
+ } else {
1022
+ end = new Date(range.EndingDateTime);
1023
+ }
1024
+ if (!minStart || start < minStart)
1025
+ minStart = start;
1026
+ if (!maxEnd || end > maxEnd)
1027
+ maxEnd = end;
1028
+ }
1029
+ }
1030
+ return {
1031
+ startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
1032
+ endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
1033
+ };
1034
+ };
1035
+ _handleRegionAccordionToggle = new WeakSet();
1036
+ handleRegionAccordionToggle_fn = function() {
1037
+ var _a;
1038
+ (_a = this.spatialPicker) == null ? void 0 : _a.invalidateSize();
1039
+ };
1040
+ _renderSpatialSelection = new WeakSet();
1041
+ renderSpatialSelection_fn = function() {
1042
+ var _a, _b, _c, _d, _e;
1043
+ const showError = this.touchedFields.has("spatial") && !this.spatialSelection;
1044
+ 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;
1045
+ if (boundingRects && !Array.isArray(boundingRects)) {
1046
+ boundingRects = [boundingRects];
1047
+ }
1048
+ let spatialString = "";
1049
+ if (this.isLatLng(this.spatialSelection)) {
1050
+ spatialString = `${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1051
+ } else if (this.isLatLngBounds(this.spatialSelection)) {
1052
+ spatialString = `${this.spatialSelection.getSouthWest().lat}, ${this.spatialSelection.getSouthWest().lng}, ${this.spatialSelection.getNorthEast().lat}, ${this.spatialSelection.getNorthEast().lng}`;
1053
+ } else if (this.spatialSelection && "w" in this.spatialSelection && "s" in this.spatialSelection && "e" in this.spatialSelection && "n" in this.spatialSelection) {
1054
+ spatialString = `${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1055
+ } else if (this.spatialSelection) {
1056
+ spatialString = this.spatialSelection;
1057
+ }
1058
+ return html`
1059
+ <terra-accordion
1060
+ @terra-accordion-toggle=${__privateMethod(this, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn)}
1061
+ >
1062
+ <div slot="summary">
1063
+ <span class="accordion-title">Refine Region:</span>
1064
+ </div>
1065
+
1066
+ <div
1067
+ slot="summary-right"
1068
+ style="display: flex; align-items: center; gap: 10px;"
1069
+ >
1070
+ ${showError ? html`<span class="accordion-value error"
1071
+ >Please select a region</span
1072
+ >` : spatialString ? html`<span class="accordion-value"
1073
+ >${spatialString}</span
1074
+ >` : nothing}
1075
+ <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1076
+ Reset
1077
+ </button>
1078
+ </div>
1079
+ <div class="accordion-content">
1080
+ <terra-spatial-picker
1081
+ part="spatial-picker"
1082
+ inline
1083
+ hide-label
1084
+ hide-point-selection
1085
+ no-world-wrap
1086
+ .spatialConstraints=${this.controller.spatialConstraints || "-180, -90, 180, 90"}
1087
+ .initialValue=${spatialString}
1088
+ @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1089
+ ></terra-spatial-picker>
1090
+ <div
1091
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1092
+ >
1093
+ <span
1094
+ ><strong>Available Range:</strong> ${this.controller.spatialConstraints}</span
1095
+ >
1096
+ </div>
1097
+ </div>
1098
+ </terra-accordion>
1099
+ `;
1100
+ };
1101
+ _handleSpatialChange = new WeakMap();
1102
+ _resetSpatialSelection = new WeakMap();
1103
+ _renderVariableSelection = new WeakSet();
1104
+ renderVariableSelection_fn = function() {
1105
+ var _a;
1106
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1107
+ const giovanniError = this.touchedFields.has("variables") && __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1108
+ const basicError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1109
+ const showError = giovanniError || basicError;
1110
+ const errorMessage = giovanniError || (basicError ? "Please select at least one variable" : "");
1111
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1112
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1113
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1114
+ return html`
1115
+ <terra-accordion>
1116
+ <div slot="summary">
1117
+ <span class="accordion-title">Select Variables:</span>
1118
+ </div>
1119
+ <div
1120
+ slot="summary-right"
1121
+ style="display: flex; align-items: center; gap: 10px;"
1122
+ >
1123
+ ${showError ? html`<span class="accordion-value error"
1124
+ >${errorMessage}</span
1125
+ >` : this.selectedVariables.length ? html`<span class="accordion-value"
1126
+ >${this.selectedVariables.length} selected</span
1127
+ >` : nothing}
1128
+
1129
+ <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1130
+ Reset
1131
+ </button>
1132
+ </div>
1133
+ <div class="accordion-content">
1134
+ <terra-input
1135
+ label="Filter variables"
1136
+ placeholder="Search by variable name..."
1137
+ .value=${this.variableFilterText}
1138
+ @input=${(e) => {
1139
+ const input = e.target;
1140
+ this.variableFilterText = input.value;
1141
+ __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1142
+ }}
1143
+ style="margin-bottom: 10px;"
1144
+ ></terra-input>
1145
+ <button
1146
+ class="reset-btn"
1147
+ style="margin-bottom: 10px;"
1148
+ @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1149
+ >
1150
+ ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1151
+ </button>
1152
+ ${variables.length === 0 ? html`<p style="color: #666; font-style: italic;">
1153
+ No variables available for this collection.
1154
+ </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1155
+ </div>
1156
+ </terra-accordion>
1157
+ `;
1158
+ };
1159
+ _filterVariableTree = new WeakSet();
1160
+ filterVariableTree_fn = function(tree) {
1161
+ if (!this.variableFilterText.trim()) {
1162
+ return tree;
1163
+ }
1164
+ const filterText = this.variableFilterText.toLowerCase().trim();
1165
+ const filterNode = (node) => {
1166
+ const result = {};
1167
+ for (const [key, value] of Object.entries(node)) {
1168
+ if (value.__isLeaf) {
1169
+ const variableName = value.__variable.name.toLowerCase();
1170
+ if (variableName.includes(filterText)) {
1171
+ result[key] = value;
1172
+ }
1173
+ } else {
1174
+ const filteredChildren = filterNode(value.__children);
1175
+ if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1176
+ result[key] = __spreadProps(__spreadValues({}, value), {
1177
+ __children: filteredChildren
1178
+ });
1179
+ }
1180
+ }
1181
+ }
1182
+ return result;
1183
+ };
1184
+ return filterNode(tree);
1185
+ };
1186
+ _handleVariableFilterChange = new WeakSet();
1187
+ handleVariableFilterChange_fn = function() {
1188
+ var _a;
1189
+ if (!this.variableFilterText.trim()) {
1190
+ return;
1191
+ }
1192
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1193
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1194
+ const filterText = this.variableFilterText.toLowerCase().trim();
1195
+ const groupsToExpand = /* @__PURE__ */ new Set();
1196
+ const findMatchingGroups = (node, path = []) => {
1197
+ for (const [key, value] of Object.entries(node)) {
1198
+ if (value.__isLeaf) {
1199
+ const variableName = value.__variable.name.toLowerCase();
1200
+ if (variableName.includes(filterText)) {
1201
+ for (let i = 0; i < path.length; i++) {
1202
+ const groupPath = path.slice(0, i + 1).join("/");
1203
+ groupsToExpand.add(groupPath);
1204
+ }
1205
+ }
1206
+ } else {
1207
+ const groupPath = [...path, key].join("/");
1208
+ findMatchingGroups(value.__children, [...path, key]);
1209
+ if (key.toLowerCase().includes(filterText)) {
1210
+ groupsToExpand.add(groupPath);
1211
+ }
1212
+ }
1213
+ }
1214
+ };
1215
+ findMatchingGroups(tree);
1216
+ if (groupsToExpand.size > 0) {
1217
+ this.expandedVariableGroups = /* @__PURE__ */ new Set([
1218
+ ...this.expandedVariableGroups,
1219
+ ...groupsToExpand
1220
+ ]);
1221
+ }
1222
+ };
1223
+ _buildVariableTree = new WeakSet();
1224
+ buildVariableTree_fn = function(variables) {
1225
+ const root = {};
1226
+ for (const v of variables) {
1227
+ const parts = v.name.split("/");
1228
+ let node = root;
1229
+ for (let i = 0; i < parts.length; i++) {
1230
+ const part = parts[i];
1231
+ if (!node[part])
1232
+ node[part] = { __children: {}, __isLeaf: false };
1233
+ if (i === parts.length - 1) {
1234
+ node[part].__isLeaf = true;
1235
+ node[part].__variable = v;
1236
+ }
1237
+ node = node[part].__children;
1238
+ }
1239
+ }
1240
+ return root;
1241
+ };
1242
+ _renderVariableTree = new WeakSet();
1243
+ renderVariableTree_fn = function(node, path) {
1244
+ const isGiovanni = __privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this);
1245
+ return html`
1246
+ <div style="margin-left: ${path.length * 20}px;">
1247
+ ${Object.entries(node).map(([key, value]) => {
1248
+ const groupPath = [...path, key].join("/");
1249
+ if (value.__isLeaf) {
1250
+ return html`
1251
+ <div class="option-row">
1252
+ <label class="checkbox-option">
1253
+ <input
1254
+ type="${isGiovanni ? "radio" : "checkbox"}"
1255
+ name="${isGiovanni ? "variable-selection" : ""}"
1256
+ .checked=${this.selectedVariables.some(
1257
+ (v) => v.name === value.__variable.name
1258
+ )}
1259
+ @change=${(e) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e, value.__variable)}
1260
+ />
1261
+ <span>${key}</span>
1262
+ </label>
1263
+ </div>
1264
+ `;
1265
+ } else {
1266
+ const expanded = this.expandedVariableGroups.has(groupPath);
1267
+ return html`
1268
+ <div class="option-row" style="align-items: flex-start;">
1269
+ <span
1270
+ style="cursor: pointer; display: flex; align-items: center;"
1271
+ @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1272
+ >
1273
+ <terra-icon
1274
+ library="heroicons"
1275
+ name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1276
+ style="margin-right: 4px;"
1277
+ ></terra-icon>
1278
+ <span style="font-weight: 500;">${key}</span>
1279
+ </span>
1280
+ </div>
1281
+ ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1282
+ ...path,
1283
+ key
1284
+ ]) : ""}
1285
+ `;
1286
+ }
1287
+ })}
1288
+ </div>
1289
+ `;
1290
+ };
1291
+ _getAllGroupPaths = new WeakSet();
1292
+ getAllGroupPaths_fn = function(node, path = []) {
1293
+ let groups = [];
1294
+ for (const [key, value] of Object.entries(node)) {
1295
+ if (!value.__isLeaf) {
1296
+ const groupPath = [...path, key].join("/");
1297
+ groups.push(groupPath);
1298
+ groups = groups.concat(
1299
+ __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1300
+ );
1301
+ }
1302
+ }
1303
+ return groups;
1304
+ };
1305
+ _toggleGroupExpand = new WeakSet();
1306
+ toggleGroupExpand_fn = function(groupPath) {
1307
+ const set = new Set(this.expandedVariableGroups);
1308
+ if (set.has(groupPath)) {
1309
+ set.delete(groupPath);
1310
+ } else {
1311
+ set.add(groupPath);
1312
+ }
1313
+ this.expandedVariableGroups = set;
1314
+ };
1315
+ _toggleExpandCollapseAll = new WeakSet();
1316
+ toggleExpandCollapseAll_fn = function(tree) {
1317
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1318
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1319
+ if (allExpanded) {
1320
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
1321
+ } else {
1322
+ this.expandedVariableGroups = new Set(allGroups);
1323
+ }
1324
+ };
1325
+ _toggleVariableSelection = new WeakSet();
1326
+ toggleVariableSelection_fn = function(e, variable) {
1327
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1328
+ const checked = e.target.checked;
1329
+ if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this)) {
1330
+ if (checked) {
1331
+ this.selectedVariables = [variable];
1332
+ }
1333
+ } else {
1334
+ if (checked) {
1335
+ if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1336
+ this.selectedVariables = [...this.selectedVariables, variable];
1337
+ }
1338
+ } else {
1339
+ this.selectedVariables = this.selectedVariables.filter(
1340
+ (v) => v.name !== variable.name
1341
+ );
1342
+ }
1343
+ }
1344
+ };
1345
+ _markFieldTouched = new WeakSet();
1346
+ markFieldTouched_fn = function(field) {
1347
+ this.touchedFields = new Set(this.touchedFields).add(field);
1348
+ };
1349
+ _resetVariableSelection = new WeakMap();
1350
+ _renderJobStatus = new WeakSet();
1351
+ renderJobStatus_fn = function() {
1352
+ var _a, _b;
1353
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.jobID)) {
1354
+ return html`<div class="results-section" id="job-status-section">
1355
+ <div
1356
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1357
+ >
1358
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1359
+ ${!this.isHistoryView ? html`
1360
+ <terra-button
1361
+ variant="default"
1362
+ size="small"
1363
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1364
+ >
1365
+ ← Back to Subset Options
1366
+ </terra-button>
1367
+ ` : nothing}
1368
+ </div>
1369
+
1370
+ <div class="progress-container">
1371
+ <div class="progress-text">
1372
+ <span class="spinner"></span>
1373
+ <span class="status-running">Searching for data...</span>
1374
+ </div>
1375
+
1376
+ <div class="progress-bar">
1377
+ <div class="progress-fill" style="width: 0%"></div>
1378
+ </div>
1379
+ </div>
1380
+
1381
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1382
+ </div>`;
1383
+ }
1384
+ return html`
1385
+ <div class="results-section" id="job-status-section">
1386
+ <div
1387
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1388
+ >
1389
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1390
+ ${!this.isHistoryView ? html`
1391
+ <terra-button
1392
+ variant="default"
1393
+ size="small"
1394
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1395
+ >
1396
+ ← Back to Subset Options
1397
+ </terra-button>
1398
+ ` : nothing}
1399
+ </div>
1400
+
1401
+ ${this.controller.currentJob.status !== "canceled" && this.controller.currentJob.status !== "failed" ? html` <div class="progress-container">
1402
+ <div class="progress-text">
1403
+ ${this.controller.currentJob.progress >= 100 ? html`
1404
+ <span class="status-complete"
1405
+ >✓ Search complete</span
1406
+ >
1407
+ ` : html`
1408
+ <span class="spinner"></span>
1409
+ <span class="status-running"
1410
+ >Searching for data...
1411
+ (${this.controller.currentJob.progress}%)</span
1412
+ >
1413
+ `}
1414
+ </div>
1415
+
1416
+ <div class="progress-bar">
1417
+ <div
1418
+ class="progress-fill"
1419
+ style="width: ${this.controller.currentJob.progress}%"
1420
+ ></div>
1421
+ </div>
1422
+ </div>` : nothing}
1423
+
1424
+ <div class="search-status">
1425
+ <span class="file-count"
1426
+ >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1427
+ >
1428
+ out of estimated
1429
+ <span class="estimated-total"
1430
+ >${this.controller.currentJob.numInputGranules.toLocaleString()}</span
1431
+ >
1432
+ </div>
1433
+
1434
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1435
+ ${((_b = this.controller.currentJob.errors) == null ? void 0 : _b.length) ? html`
1436
+ <terra-accordion>
1437
+ <div slot="summary">
1438
+ <span
1439
+ class="accordion-title"
1440
+ style="color: #dc3545;"
1441
+ >Errors
1442
+ (${this.controller.currentJob.errors.length})</span
1443
+ >
1444
+ </div>
1445
+ <div class="accordion-content">
1446
+ <ul
1447
+ style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1448
+ >
1449
+ ${this.controller.currentJob.errors.map(
1450
+ (err) => html`
1451
+ <li style="margin-bottom: 12px;">
1452
+ <a
1453
+ href="${err.url}"
1454
+ target="_blank"
1455
+ style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1456
+ >
1457
+ ${err.url}
1458
+ </a>
1459
+ <div style="margin-top: 2px;">
1460
+ ${err.message}
1461
+ </div>
1462
+ </li>
1463
+ `
1464
+ )}
1465
+ </ul>
1466
+ </div>
1467
+ </terra-accordion>
1468
+ ` : nothing}
1469
+
1470
+ <div class="tabs">
1471
+ <button
1472
+ class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1473
+ @click=${() => this.selectedTab = "web-links"}
1474
+ >
1475
+ Web Links
1476
+ </button>
1477
+
1478
+ ${!this.isHistoryView ? html`
1479
+ <button
1480
+ class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1481
+ @click=${() => this.selectedTab = "selected-params"}
1482
+ >
1483
+ Selected Parameters
1484
+ </button>
1485
+ ` : nothing}
1486
+ </div>
1487
+ <div
1488
+ id="web-links"
1489
+ class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1490
+ >
1491
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? html`
1492
+ <div class="documentation-links">
1493
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1494
+ (link) => html`
1495
+ <a href="${link.href}" class="doc-link"
1496
+ >${link.title}</a
1497
+ >
1498
+ `
1499
+ )}
1500
+ </div>
1501
+ ` : nothing}
1502
+
1503
+ <ul class="file-list">
1504
+ ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1505
+ (link) => html`
1506
+ <li class="file-item">
1507
+ <a
1508
+ href="${link.href}"
1509
+ class="file-link"
1510
+ target="_blank"
1511
+ >
1512
+ ${link.title}
1513
+ </a>
1514
+ </li>
1515
+ `
1516
+ )}
1517
+ </ul>
1518
+ </div>
1519
+
1520
+ <div
1521
+ id="selected-params"
1522
+ class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1523
+ >
1524
+ ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1525
+ </div>
1526
+ </div>
1527
+
1528
+ ${!this.dialog ? html`
1529
+ <div class="footer">
1530
+ ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? html`
1531
+ <div
1532
+ style="display: flex; align-items: center; gap: 8px;"
1533
+ >
1534
+ <terra-dropdown
1535
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1536
+ >
1537
+ <terra-button slot="trigger" caret>
1538
+ Download Options
1539
+ </terra-button>
1540
+ <terra-menu>
1541
+ <terra-menu-item value="file-list">
1542
+ <svg
1543
+ slot="prefix"
1544
+ viewBox="0 0 24 24"
1545
+ width="16"
1546
+ height="16"
1547
+ style="width: 16px; height: 16px;"
1548
+ >
1549
+ <path
1550
+ fill="currentColor"
1551
+ 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"
1552
+ />
1553
+ </svg>
1554
+ File List
1555
+ </terra-menu-item>
1556
+ <terra-menu-item
1557
+ value="python-script"
1558
+ >
1559
+ <svg
1560
+ slot="prefix"
1561
+ viewBox="0 0 128 128"
1562
+ width="16"
1563
+ height="16"
1564
+ style="width: 16px; height: 16px;"
1565
+ >
1566
+ <path
1567
+ fill="currentColor"
1568
+ 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"
1569
+ ></path>
1570
+ </svg>
1571
+ Python Script
1572
+ </terra-menu-item>
1573
+ <terra-menu-item
1574
+ value="earthdata-download"
1575
+ >
1576
+ <svg
1577
+ slot="prefix"
1578
+ viewBox="0 0 64 64"
1579
+ fill="none"
1580
+ width="16"
1581
+ height="16"
1582
+ style="width: 16px; height: 16px;"
1583
+ >
1584
+ <circle
1585
+ cx="32"
1586
+ cy="32"
1587
+ r="28"
1588
+ fill="currentColor"
1589
+ />
1590
+ <path
1591
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
1592
+ stroke="#fff"
1593
+ stroke-width="4"
1594
+ stroke-linecap="round"
1595
+ stroke-linejoin="round"
1596
+ fill="none"
1597
+ />
1598
+ </svg>
1599
+ Earthdata Download
1600
+ </terra-menu-item>
1601
+ </terra-menu>
1602
+ </terra-dropdown>
1603
+
1604
+ <terra-button
1605
+ outline
1606
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
1607
+ >
1608
+ <terra-icon
1609
+ name="outline-code-bracket"
1610
+ library="heroicons"
1611
+ font-size="1.5em"
1612
+ style="margin-right: 5px;"
1613
+ ></terra-icon>
1614
+ Open in Jupyter Notebook
1615
+ </terra-button>
1616
+ </div>
1617
+ ` : nothing}
1618
+ ${this.controller.currentJob.status === "running" ? html`<button
1619
+ class="btn btn-success"
1620
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
1621
+ ?disabled=${this.cancelingGetData}
1622
+ >
1623
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
1624
+ </button>` : nothing}
1625
+
1626
+ <div class="job-info">
1627
+ Job ID:
1628
+ <span class="job-id">
1629
+ ${this.bearerToken ? html`<a
1630
+ href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
1631
+ target="_blank"
1632
+ >${this.controller.currentJob.jobID}</a
1633
+ >` : this.controller.currentJob.jobID}
1634
+ </span>
1635
+ <span class="info-icon">?</span>
1636
+ </div>
1637
+ </div>
1638
+ ` : nothing}
1639
+ `;
1640
+ };
1641
+ _renderSelectedParams = new WeakSet();
1642
+ renderSelectedParams_fn = function() {
1643
+ var _a, _b;
1644
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1645
+ const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
1646
+ const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
1647
+ let spatial = "\u2014";
1648
+ if (this.spatialSelection) {
1649
+ if ("w" in this.spatialSelection) {
1650
+ spatial = `Bounding Box: ${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1651
+ } else if ("lat" in this.spatialSelection && "lng" in this.spatialSelection) {
1652
+ spatial = `Point: ${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1653
+ }
1654
+ }
1655
+ return html`
1656
+ <dl class="params-summary">
1657
+ <div>
1658
+ <dt><strong>Dataset</strong></dt>
1659
+ <dd>${(_b = collection == null ? void 0 : collection.EntryTitle) != null ? _b : "\u2014"}</dd>
1660
+ </div>
1661
+ <div>
1662
+ <dt><strong>Variables</strong></dt>
1663
+ <dd>${variables.map((v) => html`<div>${v}</div>`)}</dd>
1664
+ </div>
1665
+ <div>
1666
+ <dt><strong>Date Range</strong></dt>
1667
+ <dd>${dateRange}</dd>
1668
+ </div>
1669
+ <div>
1670
+ <dt><strong>Spatial</strong></dt>
1671
+ <dd>${spatial}</dd>
1672
+ </div>
1673
+ </dl>
1674
+
1675
+ <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
1676
+ >Refine Parameters</terra-button
1677
+ >
1678
+ `;
1679
+ };
1680
+ _cancelJob = new WeakSet();
1681
+ cancelJob_fn = function() {
1682
+ this.cancelingGetData = true;
1683
+ this.controller.cancelCurrentJob();
1684
+ };
1685
+ _getData = new WeakSet();
1686
+ getData_fn = function() {
1687
+ const validationError = __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1688
+ if (validationError) {
1689
+ this.validationError = validationError;
1690
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1691
+ return;
1692
+ }
1693
+ this.validationError = void 0;
1694
+ this.cancelingGetData = false;
1695
+ __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
1696
+ this.controller.cancelCurrentJob();
1697
+ this.controller.currentJob = null;
1698
+ this.jobId = void 0;
1699
+ this.controller.jobStatusTask.run().then(() => {
1700
+ var _a;
1701
+ if ((_a = this.controller.currentJob) == null ? void 0 : _a.jobID) {
1702
+ this.jobId = this.controller.currentJob.jobID;
1703
+ }
1704
+ });
1705
+ setTimeout(() => {
1706
+ const el = this.renderRoot.querySelector("#job-status-section");
1707
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1708
+ }, 100);
1709
+ this.refineParameters = false;
1710
+ this.isHistoryView = false;
1711
+ };
1712
+ _touchAllFields = new WeakSet();
1713
+ touchAllFields_fn = function() {
1714
+ this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
1715
+ };
1716
+ _numberOfFilesFoundEstimate = new WeakSet();
1717
+ numberOfFilesFoundEstimate_fn = function() {
1718
+ return Math.floor(
1719
+ this.controller.currentJob.numInputGranules * this.controller.currentJob.progress / 100
1720
+ );
1721
+ };
1722
+ _getDocumentationLinks = new WeakSet();
1723
+ getDocumentationLinks_fn = function() {
1724
+ return this.controller.currentJob.links.filter(
1725
+ (link) => link.rel === "stac-catalog-json"
1726
+ );
1727
+ };
1728
+ _getDataLinks = new WeakSet();
1729
+ getDataLinks_fn = function() {
1730
+ return this.controller.currentJob.links.filter((link) => link.rel === "data");
1731
+ };
1732
+ _hasAtLeastOneSubsetOption = new WeakSet();
1733
+ hasAtLeastOneSubsetOption_fn = function() {
1734
+ var _a, _b, _c, _d;
1735
+ 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);
1736
+ };
1737
+ _hasSpatialSubset = new WeakSet();
1738
+ hasSpatialSubset_fn = function() {
1739
+ var _a, _b;
1740
+ return ((_a = this.collectionWithServices) == null ? void 0 : _a.bboxSubset) || ((_b = this.collectionWithServices) == null ? void 0 : _b.shapeSubset);
1741
+ };
1742
+ _renderJobMessage = new WeakSet();
1743
+ renderJobMessage_fn = function() {
1744
+ const warningStatuses = [
1745
+ "canceled" /* CANCELED */,
1746
+ "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
1747
+ "running_with_errors" /* RUNNING_WITH_ERRORS */
1748
+ ];
1749
+ const errorStatuses = ["failed" /* FAILED */];
1750
+ let type = "normal";
1751
+ if (warningStatuses.includes(this.controller.currentJob.status)) {
1752
+ type = "warning";
1753
+ } else if (errorStatuses.includes(this.controller.currentJob.status)) {
1754
+ type = "error";
1755
+ }
1756
+ let color, bg;
1757
+ if (type === "error") {
1758
+ color = "#dc3545";
1759
+ bg = "#f8d7da";
1760
+ } else if (type === "warning") {
1761
+ color = "#856404";
1762
+ bg = "#fff3cd";
1763
+ } else {
1764
+ color = "#555";
1765
+ bg = "#f8f9fa";
1766
+ }
1767
+ return html`
1768
+ <div
1769
+ style="
1770
+ margin: 24px 0 16px 0;
1771
+ padding: 16px 20px;
1772
+ border-radius: 6px;
1773
+ background: ${bg};
1774
+ color: ${color};
1775
+ border: 1px solid ${color}22;
1776
+ "
1777
+ >
1778
+ ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
1779
+ </div>
1780
+ `;
1781
+ };
1782
+ _getJobMessageText = new WeakSet();
1783
+ getJobMessageText_fn = function() {
1784
+ var _a;
1785
+ return (_a = this.controller.currentJob) == null ? void 0 : _a.message.replace(
1786
+ /\b(The job|the job|job|Job)\b/g,
1787
+ (match) => {
1788
+ switch (match) {
1789
+ case "The job":
1790
+ return "Your request";
1791
+ case "the job":
1792
+ return "Your Request";
1793
+ case "job":
1794
+ return "request";
1795
+ case "Job":
1796
+ return "Request";
1797
+ }
1798
+ return match;
1799
+ }
1800
+ );
1801
+ };
1802
+ _estimateJobSize = new WeakSet();
1803
+ estimateJobSize_fn = function() {
1804
+ var _a, _b;
1805
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1806
+ if (!collection)
1807
+ return;
1808
+ const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1809
+ let startDate;
1810
+ let endDate;
1811
+ let links = (_b = collection.granuleCount) != null ? _b : 0;
1812
+ if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
1813
+ startDate = this.selectedDateRange.startDate;
1814
+ endDate = this.selectedDateRange.endDate;
1815
+ } else {
1816
+ startDate = range.startDate;
1817
+ endDate = range.endDate;
1818
+ }
1819
+ if (!startDate || !endDate)
1820
+ return;
1821
+ const start = new Date(startDate);
1822
+ const end = new Date(endDate);
1823
+ const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
1824
+ if (range.startDate && range.endDate) {
1825
+ const availableDaysInCollection = Math.floor(
1826
+ (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
1827
+ ) + 1;
1828
+ const granulesPerDay = links / availableDaysInCollection;
1829
+ links = Math.ceil(days * granulesPerDay);
1830
+ }
1831
+ return { days, links };
1832
+ };
1833
+ _refineParameters = new WeakSet();
1834
+ refineParameters_fn = function() {
1835
+ this.refineParameters = true;
1836
+ };
1837
+ _backToSubsetOptions = new WeakSet();
1838
+ backToSubsetOptions_fn = function() {
1839
+ this.refineParameters = true;
1840
+ setTimeout(() => {
1841
+ const container = this.renderRoot.querySelector(".container");
1842
+ container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
1843
+ }, 100);
1844
+ };
1845
+ _viewRunningJob = new WeakSet();
1846
+ viewRunningJob_fn = function() {
1847
+ this.refineParameters = false;
1848
+ setTimeout(() => {
1849
+ const el = this.renderRoot.querySelector("#job-status-section");
1850
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1851
+ }, 100);
1852
+ };
1853
+ _handleDownloadSelect = new WeakSet();
1854
+ handleDownloadSelect_fn = function(event) {
1855
+ const item = event.detail.item;
1856
+ const value = item.value || item.getTextLabel();
1857
+ if (value === "file-list") {
1858
+ __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
1859
+ } else if (value === "python-script") {
1860
+ __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
1861
+ } else if (value === "earthdata-download") {
1862
+ __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
1863
+ }
1864
+ };
1865
+ _downloadLinksAsTxt = new WeakSet();
1866
+ downloadLinksAsTxt_fn = function(event) {
1867
+ var _a;
1868
+ event.stopPropagation();
1869
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1870
+ return;
1871
+ }
1872
+ const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
1873
+ if (dataLinks.length === 0) {
1874
+ return;
1875
+ }
1876
+ const content = dataLinks.map((link) => link.href).join("\n");
1877
+ const blob = new Blob([content], { type: "text/plain" });
1878
+ const url = URL.createObjectURL(blob);
1879
+ const a = document.createElement("a");
1880
+ a.href = url;
1881
+ a.download = `subset_links_${this.controller.currentJob.jobID}.txt`;
1882
+ document.body.appendChild(a);
1883
+ a.click();
1884
+ document.body.removeChild(a);
1885
+ URL.revokeObjectURL(url);
1886
+ };
1887
+ _downloadPythonScript = new WeakSet();
1888
+ downloadPythonScript_fn = async function(event) {
1889
+ var _a, _b, _c;
1890
+ event.stopPropagation();
1891
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1892
+ return;
1893
+ }
1894
+ const response = await fetch(
1895
+ getBasePath("assets/data-subsetter/download_subset_files.py.txt")
1896
+ );
1897
+ if (!response.ok) {
1898
+ alert(
1899
+ "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
1900
+ );
1901
+ }
1902
+ const content = (await response.text()).replace(/{{jobId}}/gi, this.controller.currentJob.jobID).replace(
1903
+ /{{HARMONY_ENV}}/gi,
1904
+ `Environment.${(_b = this.environment) == null ? void 0 : _b.toUpperCase()}`
1905
+ ).replace(
1906
+ /{{EARTHACCESS_ENV}}/gi,
1907
+ `earthaccess.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
1908
+ );
1909
+ const blob = new Blob([content], { type: "text/plain" });
1910
+ const url = URL.createObjectURL(blob);
1911
+ const a = document.createElement("a");
1912
+ a.href = url;
1913
+ a.download = `download_subset_files_${this.controller.currentJob.jobID}.py`;
1914
+ document.body.appendChild(a);
1915
+ a.click();
1916
+ document.body.removeChild(a);
1917
+ URL.revokeObjectURL(url);
1918
+ };
1919
+ _downloadEarthdataDownload = new WeakSet();
1920
+ downloadEarthdataDownload_fn = async function(event) {
1921
+ var _a;
1922
+ event.stopPropagation();
1923
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1924
+ return;
1925
+ }
1926
+ alert("Sorry, Earthdata Download is not currently supported");
1927
+ };
1928
+ _handleJupyterNotebookClick = new WeakSet();
1929
+ handleJupyterNotebookClick_fn = function() {
1930
+ var _a;
1931
+ const notebook = getNotebook(this);
1932
+ console.log("sending data to JupyterLite");
1933
+ sendDataToJupyterNotebook("load-notebook", {
1934
+ filename: `subset_${(_a = this.controller.currentJob) == null ? void 0 : _a.jobID}.ipynb`,
1935
+ notebook,
1936
+ bearerToken: this.bearerToken
1937
+ });
1938
+ };
1939
+ _renderAvailableTemporalRangeSection = new WeakSet();
1940
+ renderAvailableTemporalRangeSection_fn = function() {
1941
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1942
+ if (!startDate || !endDate)
1943
+ return nothing;
1944
+ return html`
1945
+ <div class="section" style="margin-bottom: 16px;">
1946
+ <h2 class="section-title">Available Date Range</h2>
1947
+ <div style="color: #31708f; margin-top: 8px;">
1948
+ <strong>${startDate}</strong> to <strong>${endDate}</strong>
1949
+ </div>
1950
+ <div style="font-size: 0.95em; color: #666;">
1951
+ This collection does not support temporal subsetting.
1952
+ </div>
1953
+ </div>
1954
+ `;
1955
+ };
1956
+ _renderAvailableSpatialRangeSection = new WeakSet();
1957
+ renderAvailableSpatialRangeSection_fn = function() {
1958
+ var _a, _b, _c, _d, _e;
1959
+ 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;
1960
+ if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
1961
+ return nothing;
1962
+ return html`
1963
+ <div class="section" style="margin-bottom: 16px;">
1964
+ <h2 class="section-title">Available Spatial Area</h2>
1965
+ <div style="color: #31708f; margin-top: 8px;">
1966
+ ${boundingRects.map(
1967
+ (rect) => html`<div>
1968
+ <strong>Bounding Box:</strong>
1969
+ ${rect.WestBoundingCoordinate},
1970
+ ${rect.SouthBoundingCoordinate},
1971
+ ${rect.EastBoundingCoordinate},
1972
+ ${rect.NorthBoundingCoordinate}
1973
+ </div>`
1974
+ )}
1975
+ </div>
1976
+ <div style="font-size: 0.95em; color: #666;">
1977
+ This collection does not support spatial subsetting.
1978
+ </div>
1979
+ </div>
1980
+ `;
1981
+ };
1982
+ _renderDataAccessModeSelection = new WeakSet();
1983
+ renderDataAccessModeSelection_fn = function() {
1984
+ return html`
1985
+ <div class="mode-selection">
1986
+ <div class="mode-options">
1987
+ <label
1988
+ class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
1989
+ >
1990
+ <input
1991
+ type="radio"
1992
+ name="data-access-mode"
1993
+ value="original"
1994
+ .checked=${this.dataAccessMode === "original"}
1995
+ @change=${() => this.dataAccessMode = "original"}
1996
+ />
1997
+ <div class="mode-content">
1998
+ <div class="mode-title">Get Original Files</div>
1999
+ <div class="mode-description">
2000
+ Filter file links directly from the archive.
2001
+ </div>
2002
+ </div>
2003
+ </label>
2004
+
2005
+ <label
2006
+ class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
2007
+ >
2008
+ <input
2009
+ type="radio"
2010
+ name="data-access-mode"
2011
+ value="subset"
2012
+ .checked=${this.dataAccessMode === "subset"}
2013
+ @change=${() => this.dataAccessMode = "subset"}
2014
+ />
2015
+ <div class="mode-content">
2016
+ <div class="mode-title">Subset Data</div>
2017
+ <div class="mode-description">
2018
+ Subset the data to your specific needs.
2019
+ </div>
2020
+ </div>
2021
+ </label>
2022
+ </div>
2023
+ </div>
2024
+ `;
2025
+ };
2026
+ _isGiovanniFormat = new WeakSet();
2027
+ isGiovanniFormat_fn = function() {
2028
+ return this.selectedFormat === "text/csv" || this.selectedFormat === "image/tiff";
2029
+ };
2030
+ _getGiovanniValidationError = new WeakSet();
2031
+ getGiovanniValidationError_fn = function() {
2032
+ if (!__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this)) {
2033
+ return null;
2034
+ }
2035
+ if (this.selectedVariables.length === 0) {
2036
+ return "Please select a variable to subset.";
2037
+ }
2038
+ if (this.selectedVariables.length > 1) {
2039
+ return "The selected format only supports subsetting one variable at a time.";
2040
+ }
2041
+ return null;
2042
+ };
2043
+ TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
2044
+ TerraDataSubsetter.dependencies = {
2045
+ "terra-accordion": TerraAccordion,
2046
+ "terra-date-picker": TerraDatePicker,
2047
+ "terra-icon": TerraIcon,
2048
+ "terra-input": TerraInput,
2049
+ "terra-spatial-picker": TerraSpatialPicker,
2050
+ "terra-login": TerraLogin,
2051
+ "terra-loader": TerraLoader,
2052
+ "terra-data-access": TerraDataAccess,
2053
+ "terra-dialog": TerraDialog,
2054
+ "terra-dropdown": TerraDropdown,
2055
+ "terra-menu": TerraMenu,
2056
+ "terra-menu-item": TerraMenuItem,
2057
+ "terra-button": TerraButton
2058
+ };
2059
+ __decorateClass([
2060
+ property({ reflect: true, attribute: "collection-entry-id" })
2061
+ ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
2062
+ __decorateClass([
2063
+ property({ reflect: true, attribute: "short-name" })
2064
+ ], TerraDataSubsetter.prototype, "shortName", 2);
2065
+ __decorateClass([
2066
+ property({ reflect: true, attribute: "version" })
2067
+ ], TerraDataSubsetter.prototype, "version", 2);
2068
+ __decorateClass([
2069
+ property({ reflect: true, type: Boolean, attribute: "show-collection-search" })
2070
+ ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
2071
+ __decorateClass([
2072
+ property({ reflect: true, type: Boolean, attribute: "show-history-panel" })
2073
+ ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
2074
+ __decorateClass([
2075
+ property({ reflect: true, attribute: "job-id" })
2076
+ ], TerraDataSubsetter.prototype, "jobId", 2);
2077
+ __decorateClass([
2078
+ property({ attribute: "bearer-token" })
2079
+ ], TerraDataSubsetter.prototype, "bearerToken", 2);
2080
+ __decorateClass([
2081
+ property({ reflect: true })
2082
+ ], TerraDataSubsetter.prototype, "dialog", 2);
2083
+ __decorateClass([
2084
+ property({ reflect: true, type: Boolean, attribute: "is-history-view" })
2085
+ ], TerraDataSubsetter.prototype, "isHistoryView", 2);
2086
+ __decorateClass([
2087
+ state()
2088
+ ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
2089
+ __decorateClass([
2090
+ state()
2091
+ ], TerraDataSubsetter.prototype, "selectedVariables", 2);
2092
+ __decorateClass([
2093
+ state()
2094
+ ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
2095
+ __decorateClass([
2096
+ state()
2097
+ ], TerraDataSubsetter.prototype, "variableFilterText", 2);
2098
+ __decorateClass([
2099
+ state()
2100
+ ], TerraDataSubsetter.prototype, "touchedFields", 2);
2101
+ __decorateClass([
2102
+ state()
2103
+ ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2104
+ __decorateClass([
2105
+ state()
2106
+ ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2107
+ __decorateClass([
2108
+ state()
2109
+ ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2110
+ __decorateClass([
2111
+ state()
2112
+ ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2113
+ __decorateClass([
2114
+ state()
2115
+ ], TerraDataSubsetter.prototype, "selectedTab", 2);
2116
+ __decorateClass([
2117
+ state()
2118
+ ], TerraDataSubsetter.prototype, "refineParameters", 2);
2119
+ __decorateClass([
2120
+ state()
2121
+ ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2122
+ __decorateClass([
2123
+ state()
2124
+ ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2125
+ __decorateClass([
2126
+ state()
2127
+ ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2128
+ __decorateClass([
2129
+ state()
2130
+ ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2131
+ __decorateClass([
2132
+ state()
2133
+ ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2134
+ __decorateClass([
2135
+ state()
2136
+ ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2137
+ __decorateClass([
2138
+ state()
2139
+ ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2140
+ __decorateClass([
2141
+ state()
2142
+ ], TerraDataSubsetter.prototype, "validationError", 2);
2143
+ __decorateClass([
2144
+ query('[part~="spatial-picker"]')
2145
+ ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2146
+ __decorateClass([
2147
+ query("terra-dialog")
2148
+ ], TerraDataSubsetter.prototype, "dialogElement", 2);
2149
+ __decorateClass([
2150
+ watch(["jobId"], { waitUntilFirstUpdate: true })
2151
+ ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2152
+ __decorateClass([
2153
+ watch(["shortName", "version"])
2154
+ ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2155
+ __decorateClass([
2156
+ watch("collectionEntryId", { waitUntilFirstUpdate: true })
2157
+ ], TerraDataSubsetter.prototype, "collectionEntryIdChanged", 1);
2158
+ __decorateClass([
2159
+ watch(["collectionWithServices"])
2160
+ ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2161
+ __decorateClass([
2162
+ watch("selectedFormat")
2163
+ ], TerraDataSubsetter.prototype, "selectedFormatChanged", 1);
2164
+ __decorateClass([
2165
+ debounce(500)
2166
+ ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2167
+
2168
+ export {
2169
+ TerraDataSubsetter
2170
+ };