@nasa-terra/components 0.0.145 → 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 +22 -22
  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 +23 -23
  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 +33 -32
  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 +34 -33
  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 +35 -34
  255. package/cdn/components/data-subsetter-history/data-subsetter-history.js +36 -35
  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 +19 -1
  258. package/cdn/components/date-picker/date-picker.component.js +9 -9
  259. package/cdn/components/date-picker/date-picker.js +10 -10
  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 +4 -4
  268. package/cdn/components/dropdown/dropdown.js +5 -5
  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 +4 -4
  285. package/cdn/components/map/map.js +5 -5
  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 +12 -12
  300. package/cdn/components/plot-toolbar/plot-toolbar.controller.js +2 -2
  301. package/cdn/components/plot-toolbar/plot-toolbar.js +13 -13
  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 +18 -18
  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 +19 -19
  346. package/cdn/components/time-series/time-series.component.d.ts +3 -0
  347. package/cdn/components/time-series/time-series.component.js +18 -18
  348. package/cdn/components/time-series/time-series.controller.js +2 -2
  349. package/cdn/components/time-series/time-series.js +19 -19
  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 +4245 -3716
  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 +23 -23
  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 +34 -33
  384. package/cdn/react/data-subsetter-history/index.js +36 -35
  385. package/cdn/react/date-picker/index.js +10 -10
  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 +5 -5
  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 +9 -9
  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 +5 -5
  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 +13 -13
  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 +19 -19
  425. package/cdn/react/time-series/index.js +19 -19
  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 +171 -171
  432. package/cdn/types/vue/index.d.ts +319 -293
  433. package/cdn/utilities/mimetypes.js +1 -1
  434. package/cdn/vscode.html-custom-data.json +299 -276
  435. package/cdn/web-types.json +652 -579
  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 +22 -22
  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 +23 -23
  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 +33 -32
  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 +34 -33
  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 +35 -34
  690. package/dist/components/data-subsetter-history/data-subsetter-history.js +36 -35
  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 +19 -1
  693. package/dist/components/date-picker/date-picker.component.js +9 -9
  694. package/dist/components/date-picker/date-picker.js +10 -10
  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 +4 -4
  703. package/dist/components/dropdown/dropdown.js +5 -5
  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 +4 -4
  720. package/dist/components/map/map.js +5 -5
  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 +12 -12
  735. package/dist/components/plot-toolbar/plot-toolbar.controller.js +2 -2
  736. package/dist/components/plot-toolbar/plot-toolbar.js +13 -13
  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 +18 -18
  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 +19 -19
  781. package/dist/components/time-series/time-series.component.d.ts +3 -0
  782. package/dist/components/time-series/time-series.component.js +18 -18
  783. package/dist/components/time-series/time-series.controller.js +2 -2
  784. package/dist/components/time-series/time-series.js +19 -19
  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 +4245 -3716
  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 +23 -23
  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 +34 -33
  819. package/dist/react/data-subsetter-history/index.js +36 -35
  820. package/dist/react/date-picker/index.js +10 -10
  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 +5 -5
  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 +9 -9
  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 +5 -5
  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 +13 -13
  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 +19 -19
  860. package/dist/react/time-series/index.js +19 -19
  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 +171 -171
  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 +319 -293
  870. package/dist/utilities/mimetypes.js +1 -1
  871. package/dist/vscode.html-custom-data.json +299 -276
  872. package/dist/web-types.json +652 -579
  873. package/package.json +2 -3
  874. package/cdn/chunks/chunk.2A4Y6FD6.js +0 -35
  875. package/cdn/chunks/chunk.2AJDQHQF.js +0 -19
  876. package/cdn/chunks/chunk.2CRSNBJC.js +0 -33
  877. package/cdn/chunks/chunk.2FIXNDLC.js +0 -251
  878. package/cdn/chunks/chunk.2JK2U3XD.js +0 -32
  879. package/cdn/chunks/chunk.2VOOIKCX.js +0 -19
  880. package/cdn/chunks/chunk.3B7VR4PA.js +0 -19
  881. package/cdn/chunks/chunk.3IE5TNQV.js +0 -71
  882. package/cdn/chunks/chunk.3ISEIPJ7.js +0 -19
  883. package/cdn/chunks/chunk.3PVK2UWN.js +0 -19
  884. package/cdn/chunks/chunk.3UPYYWVN.js +0 -276
  885. package/cdn/chunks/chunk.3W7VZYG2.js +0 -74
  886. package/cdn/chunks/chunk.46PUAZ2E.js +0 -19
  887. package/cdn/chunks/chunk.4B6M57ZD.js +0 -19
  888. package/cdn/chunks/chunk.4GC6G35H.js +0 -19
  889. package/cdn/chunks/chunk.4HTL5UV7.js +0 -19
  890. package/cdn/chunks/chunk.4JCMEAWB.js +0 -33860
  891. package/cdn/chunks/chunk.4LQ7MZ3Y.js +0 -19
  892. package/cdn/chunks/chunk.4NIMRCW4.js +0 -47
  893. package/cdn/chunks/chunk.4O2ARWKI.js +0 -19
  894. package/cdn/chunks/chunk.52UV6UKM.js +0 -32
  895. package/cdn/chunks/chunk.56XNQPYS.js +0 -19
  896. package/cdn/chunks/chunk.5EKMIVOG.js +0 -19
  897. package/cdn/chunks/chunk.5GJCBT2F.js +0 -34
  898. package/cdn/chunks/chunk.5NAAHBXS.js +0 -29
  899. package/cdn/chunks/chunk.5PROZEWD.js +0 -230
  900. package/cdn/chunks/chunk.5QH6JT3P.js +0 -357
  901. package/cdn/chunks/chunk.5RGWBTCH.js +0 -19
  902. package/cdn/chunks/chunk.5S3VUQPN.js +0 -621
  903. package/cdn/chunks/chunk.5ZCF5TW4.js +0 -49
  904. package/cdn/chunks/chunk.5ZIW4VZY.js +0 -19
  905. package/cdn/chunks/chunk.64X35PH5.js +0 -189
  906. package/cdn/chunks/chunk.64ZX4C5B.js +0 -190
  907. package/cdn/chunks/chunk.67OQ6GXQ.js +0 -372
  908. package/cdn/chunks/chunk.6BGP2EMK.js +0 -19
  909. package/cdn/chunks/chunk.6CFJDTFW.js +0 -19
  910. package/cdn/chunks/chunk.6PK6KKKX.js +0 -19
  911. package/cdn/chunks/chunk.6USIKX2F.js +0 -56
  912. package/cdn/chunks/chunk.6WYTWOFY.js +0 -32
  913. package/cdn/chunks/chunk.6ZKLPYZO.js +0 -225
  914. package/cdn/chunks/chunk.75R5UPMF.js +0 -165
  915. package/cdn/chunks/chunk.7JSKLESB.js +0 -524
  916. package/cdn/chunks/chunk.7OU6XLU4.js +0 -19
  917. package/cdn/chunks/chunk.7RCNCS4U.js +0 -198
  918. package/cdn/chunks/chunk.7ZJCG4UF.js +0 -32
  919. package/cdn/chunks/chunk.A2LZA4WO.js +0 -19
  920. package/cdn/chunks/chunk.A2PKJH46.js +0 -29
  921. package/cdn/chunks/chunk.A65V2DCW.js +0 -19
  922. package/cdn/chunks/chunk.A76RNYUN.js +0 -19
  923. package/cdn/chunks/chunk.ADCAV5HR.js +0 -188
  924. package/cdn/chunks/chunk.ADNLRDNK.js +0 -36
  925. package/cdn/chunks/chunk.AEVIVGMP.js +0 -259
  926. package/cdn/chunks/chunk.AFJIXKMI.js +0 -37
  927. package/cdn/chunks/chunk.AGVUMZBQ.js +0 -19
  928. package/cdn/chunks/chunk.AK2PKTSN.js +0 -2073
  929. package/cdn/chunks/chunk.AUBW7NK5.js +0 -29
  930. package/cdn/chunks/chunk.B3FKZAN7.js +0 -19
  931. package/cdn/chunks/chunk.B7ILU3MT.js +0 -32
  932. package/cdn/chunks/chunk.BEFHPRXG.js +0 -29
  933. package/cdn/chunks/chunk.BFFHLV3I.js +0 -254
  934. package/cdn/chunks/chunk.BHIWTMUL.js +0 -67
  935. package/cdn/chunks/chunk.C53NR2MG.js +0 -33
  936. package/cdn/chunks/chunk.CAC4PAWC.js +0 -491
  937. package/cdn/chunks/chunk.CELUCDIH.js +0 -224
  938. package/cdn/chunks/chunk.CI6TU4ID.js +0 -19
  939. package/cdn/chunks/chunk.CISFONDM.js +0 -599
  940. package/cdn/chunks/chunk.CSWKD2J5.js +0 -19
  941. package/cdn/chunks/chunk.CY67SKIW.js +0 -29
  942. package/cdn/chunks/chunk.DDW4EYB6.js +0 -472
  943. package/cdn/chunks/chunk.DMOCMO4L.js +0 -19
  944. package/cdn/chunks/chunk.DO4YHYLM.js +0 -226
  945. package/cdn/chunks/chunk.DOJ2AVDU.js +0 -19
  946. package/cdn/chunks/chunk.DSYXR3BP.js +0 -299
  947. package/cdn/chunks/chunk.DU5TWGS4.js +0 -943
  948. package/cdn/chunks/chunk.E3KBB357.js +0 -83
  949. package/cdn/chunks/chunk.E7QIX45Y.js +0 -29
  950. package/cdn/chunks/chunk.EJQRDHAA.js +0 -19
  951. package/cdn/chunks/chunk.EMJJZIKF.js +0 -19
  952. package/cdn/chunks/chunk.EOI7VNFS.js +0 -29
  953. package/cdn/chunks/chunk.ETCXIUC7.js +0 -19
  954. package/cdn/chunks/chunk.EUSAH63W.js +0 -29
  955. package/cdn/chunks/chunk.EXGFIT3R.js +0 -32
  956. package/cdn/chunks/chunk.F4MQBZ2X.js +0 -302
  957. package/cdn/chunks/chunk.FDJ4Q3E3.js +0 -60
  958. package/cdn/chunks/chunk.FGSQVVYJ.js +0 -99
  959. package/cdn/chunks/chunk.FHRMTRY5.js +0 -19
  960. package/cdn/chunks/chunk.FKKXQCSK.js +0 -29
  961. package/cdn/chunks/chunk.FSBTNHZ4.js +0 -660
  962. package/cdn/chunks/chunk.FT5GOSIZ.js +0 -48
  963. package/cdn/chunks/chunk.FYIEJUDJ.js +0 -29
  964. package/cdn/chunks/chunk.G7C5XLZT.js +0 -19
  965. package/cdn/chunks/chunk.G7QJALS4.js +0 -19
  966. package/cdn/chunks/chunk.GDJPXXU2.js +0 -286
  967. package/cdn/chunks/chunk.GDSP7264.js +0 -19
  968. package/cdn/chunks/chunk.GGXENRVM.js +0 -189
  969. package/cdn/chunks/chunk.GMEJ5XXY.js +0 -19
  970. package/cdn/chunks/chunk.GSH2I2VR.js +0 -19
  971. package/cdn/chunks/chunk.GUVYZTZ6.js +0 -954
  972. package/cdn/chunks/chunk.GVAOZXAL.js +0 -29
  973. package/cdn/chunks/chunk.H34EC4AT.js +0 -29
  974. package/cdn/chunks/chunk.H3IXJSRQ.js +0 -29
  975. package/cdn/chunks/chunk.H4W5EOB2.js +0 -39
  976. package/cdn/chunks/chunk.H6G4DY45.js +0 -29
  977. package/cdn/chunks/chunk.HBV7A5P4.js +0 -29
  978. package/cdn/chunks/chunk.HKMPIGU7.js +0 -19
  979. package/cdn/chunks/chunk.HPBNQYXX.js +0 -34
  980. package/cdn/chunks/chunk.HYQOMPDZ.js +0 -435
  981. package/cdn/chunks/chunk.I6WKAUUG.js +0 -19
  982. package/cdn/chunks/chunk.IAUSE4DR.js +0 -83
  983. package/cdn/chunks/chunk.IIWAHSKW.js +0 -19
  984. package/cdn/chunks/chunk.IKEZOH27.js +0 -62
  985. package/cdn/chunks/chunk.INNZHIR2.js +0 -123
  986. package/cdn/chunks/chunk.IWQJNJBP.js +0 -158
  987. package/cdn/chunks/chunk.J2K53JZV.js +0 -34
  988. package/cdn/chunks/chunk.J5C52M6F.js +0 -33
  989. package/cdn/chunks/chunk.JN57DKW2.js +0 -86
  990. package/cdn/chunks/chunk.JSDOXRUQ.js +0 -99
  991. package/cdn/chunks/chunk.JWFFNSYA.js +0 -32
  992. package/cdn/chunks/chunk.JY3G5C7U.js +0 -29
  993. package/cdn/chunks/chunk.K7OMDNYZ.js +0 -60
  994. package/cdn/chunks/chunk.KAZPC62G.js +0 -19
  995. package/cdn/chunks/chunk.KJERXKXP.js +0 -41
  996. package/cdn/chunks/chunk.KXCV3EYG.js +0 -29
  997. package/cdn/chunks/chunk.L35BBIEQ.js +0 -32
  998. package/cdn/chunks/chunk.LDICH3FL.js +0 -32
  999. package/cdn/chunks/chunk.LEBRE2AX.js +0 -630
  1000. package/cdn/chunks/chunk.LUNWGOMJ.js +0 -29
  1001. package/cdn/chunks/chunk.LVMDQSQX.js +0 -155
  1002. package/cdn/chunks/chunk.LWHA5SQ4.js +0 -19
  1003. package/cdn/chunks/chunk.LWSIBWUG.js +0 -29
  1004. package/cdn/chunks/chunk.M3YNUAQN.js +0 -615
  1005. package/cdn/chunks/chunk.MDKF4HU4.js +0 -29
  1006. package/cdn/chunks/chunk.MQJVQMAX.js +0 -32
  1007. package/cdn/chunks/chunk.ND6JRPCB.js +0 -170
  1008. package/cdn/chunks/chunk.NGXD53QD.js +0 -35
  1009. package/cdn/chunks/chunk.NMXJSN7G.js +0 -359
  1010. package/cdn/chunks/chunk.NUHN7LVE.js +0 -32
  1011. package/cdn/chunks/chunk.NXO5H7RX.js +0 -19
  1012. package/cdn/chunks/chunk.O6A7QCHB.js +0 -33
  1013. package/cdn/chunks/chunk.OAB42KEF.js +0 -19
  1014. package/cdn/chunks/chunk.OBRPKK27.js +0 -106
  1015. package/cdn/chunks/chunk.OEQW3SFP.js +0 -234
  1016. package/cdn/chunks/chunk.OJVRD3EE.js +0 -19
  1017. package/cdn/chunks/chunk.ONJLXIYL.js +0 -538
  1018. package/cdn/chunks/chunk.OP23NWYI.js +0 -29
  1019. package/cdn/chunks/chunk.ORHEUGJ6.js +0 -19
  1020. package/cdn/chunks/chunk.OTVKHAWS.js +0 -30
  1021. package/cdn/chunks/chunk.OYWIRWDL.js +0 -19
  1022. package/cdn/chunks/chunk.PEN27D45.js +0 -240
  1023. package/cdn/chunks/chunk.PENCKJKZ.js +0 -36
  1024. package/cdn/chunks/chunk.PIKBXMSV.js +0 -19
  1025. package/cdn/chunks/chunk.PNI2W47I.js +0 -477
  1026. package/cdn/chunks/chunk.PXLKWU7L.js +0 -132
  1027. package/cdn/chunks/chunk.PZNPWT7H.js +0 -1966
  1028. package/cdn/chunks/chunk.Q3PJ2WQQ.js +0 -19
  1029. package/cdn/chunks/chunk.QJG3KXAL.js +0 -754
  1030. package/cdn/chunks/chunk.QPC4YEID.js +0 -113
  1031. package/cdn/chunks/chunk.QRARTPMW.js +0 -35
  1032. package/cdn/chunks/chunk.QRYVCR4N.js +0 -19
  1033. package/cdn/chunks/chunk.QSGGZXQT.js +0 -284
  1034. package/cdn/chunks/chunk.QUNJ6T6O.js +0 -19
  1035. package/cdn/chunks/chunk.R3U5SZN3.js +0 -610
  1036. package/cdn/chunks/chunk.RBOEMDKM.js +0 -19
  1037. package/cdn/chunks/chunk.RE6UH4BS.js +0 -278
  1038. package/cdn/chunks/chunk.RIZCX4TC.js +0 -19
  1039. package/cdn/chunks/chunk.RJQGOPJM.js +0 -29
  1040. package/cdn/chunks/chunk.RMVH2WPH.js +0 -662
  1041. package/cdn/chunks/chunk.RQZNO4LS.js +0 -32
  1042. package/cdn/chunks/chunk.S4AGLUO5.js +0 -460
  1043. package/cdn/chunks/chunk.S7SDY2XC.js +0 -29
  1044. package/cdn/chunks/chunk.SD2GUTAR.js +0 -32
  1045. package/cdn/chunks/chunk.SGLUP3IE.js +0 -33
  1046. package/cdn/chunks/chunk.SX3BHMFJ.js +0 -78
  1047. package/cdn/chunks/chunk.T4BTLUSY.js +0 -37
  1048. package/cdn/chunks/chunk.T4KHFFU3.js +0 -92
  1049. package/cdn/chunks/chunk.TALL7UPX.js +0 -151
  1050. package/cdn/chunks/chunk.TCAZE4E5.js +0 -904
  1051. package/cdn/chunks/chunk.TI4AY3RR.js +0 -35
  1052. package/cdn/chunks/chunk.U4KJW4UN.js +0 -19
  1053. package/cdn/chunks/chunk.UAVRSKWO.js +0 -19
  1054. package/cdn/chunks/chunk.UB356SWC.js +0 -36
  1055. package/cdn/chunks/chunk.UYSIJOFS.js +0 -32
  1056. package/cdn/chunks/chunk.V6OFBRWM.js +0 -19
  1057. package/cdn/chunks/chunk.VAJUOMFW.js +0 -36
  1058. package/cdn/chunks/chunk.WHNJW7PX.js +0 -264
  1059. package/cdn/chunks/chunk.WHRRXMP2.js +0 -229
  1060. package/cdn/chunks/chunk.WJARS6BR.js +0 -19
  1061. package/cdn/chunks/chunk.WNKVICX5.js +0 -19
  1062. package/cdn/chunks/chunk.WS3AFIGJ.js +0 -1803
  1063. package/cdn/chunks/chunk.WUV3RHG2.js +0 -32
  1064. package/cdn/chunks/chunk.WVZORSBA.js +0 -29
  1065. package/cdn/chunks/chunk.XE7DKBSI.js +0 -29
  1066. package/cdn/chunks/chunk.XEY3ANNT.js +0 -19
  1067. package/cdn/chunks/chunk.XRY26NBY.js +0 -29
  1068. package/cdn/chunks/chunk.XYCI56NE.js +0 -89
  1069. package/cdn/chunks/chunk.Y7SQ2WQK.js +0 -29
  1070. package/cdn/chunks/chunk.YGL3NQSF.js +0 -29
  1071. package/cdn/chunks/chunk.YH553GT6.js +0 -29
  1072. package/cdn/chunks/chunk.YKT5ARJU.js +0 -231
  1073. package/cdn/chunks/chunk.YRGKI3MP.js +0 -104
  1074. package/cdn/chunks/chunk.Z2UZ4PR4.js +0 -93
  1075. package/cdn/chunks/chunk.ZJ6DFXHW.js +0 -19
  1076. package/cdn/chunks/chunk.ZJD4N4OY.js +0 -134
  1077. package/cdn/chunks/chunk.ZLS66EPX.js +0 -136
  1078. package/cdn/chunks/chunk.ZMWELURO.js +0 -55346
  1079. package/cdn/chunks/chunk.ZPNT2Q5N.js +0 -19
  1080. package/dist/chunks/chunk.2DF5SQOY.js +0 -27
  1081. package/dist/chunks/chunk.2FPQFSW4.js +0 -451
  1082. package/dist/chunks/chunk.2IRGZUJI.js +0 -11
  1083. package/dist/chunks/chunk.347WXYD4.js +0 -214
  1084. package/dist/chunks/chunk.35ZOSQEZ.js +0 -25
  1085. package/dist/chunks/chunk.3FVITIEB.js +0 -11
  1086. package/dist/chunks/chunk.3GMBUED4.js +0 -21
  1087. package/dist/chunks/chunk.3HVK4U4B.js +0 -11
  1088. package/dist/chunks/chunk.3M5K2VRJ.js +0 -241
  1089. package/dist/chunks/chunk.3NHRBTST.js +0 -11
  1090. package/dist/chunks/chunk.3NXF4HQT.js +0 -11
  1091. package/dist/chunks/chunk.3QCQZIJ4.js +0 -2062
  1092. package/dist/chunks/chunk.3VE5XY4P.js +0 -24
  1093. package/dist/chunks/chunk.3X4MONGV.js +0 -11
  1094. package/dist/chunks/chunk.3ZKBQRX5.js +0 -28
  1095. package/dist/chunks/chunk.46IXWPNK.js +0 -180
  1096. package/dist/chunks/chunk.4HN3TEPV.js +0 -11
  1097. package/dist/chunks/chunk.4NIBUGFP.js +0 -86
  1098. package/dist/chunks/chunk.4QPRUZEC.js +0 -619
  1099. package/dist/chunks/chunk.4TCK7WFO.js +0 -52
  1100. package/dist/chunks/chunk.4VA2U4QJ.js +0 -29
  1101. package/dist/chunks/chunk.4WVGJIB5.js +0 -27
  1102. package/dist/chunks/chunk.4YNV4VLW.js +0 -581
  1103. package/dist/chunks/chunk.5K55E6UH.js +0 -25
  1104. package/dist/chunks/chunk.5LYNG7GW.js +0 -11
  1105. package/dist/chunks/chunk.5PRGFFJ7.js +0 -85
  1106. package/dist/chunks/chunk.632RS25N.js +0 -178
  1107. package/dist/chunks/chunk.64ZQRFNS.js +0 -11
  1108. package/dist/chunks/chunk.65C6RL5X.js +0 -33
  1109. package/dist/chunks/chunk.65JOPDHT.js +0 -927
  1110. package/dist/chunks/chunk.6BB2CP6W.js +0 -21
  1111. package/dist/chunks/chunk.6JLNSFAZ.js +0 -11
  1112. package/dist/chunks/chunk.6LEVBIQU.js +0 -11
  1113. package/dist/chunks/chunk.6TXKI4YN.js +0 -11
  1114. package/dist/chunks/chunk.6V23YAMJ.js +0 -21
  1115. package/dist/chunks/chunk.6XND4Z5C.js +0 -21
  1116. package/dist/chunks/chunk.6YCG3KZA.js +0 -21
  1117. package/dist/chunks/chunk.75MQ3JZH.js +0 -24
  1118. package/dist/chunks/chunk.7674U7FT.js +0 -215
  1119. package/dist/chunks/chunk.7FKOWZCQ.js +0 -25
  1120. package/dist/chunks/chunk.7GXW3D6T.js +0 -11
  1121. package/dist/chunks/chunk.7KGZLURT.js +0 -24
  1122. package/dist/chunks/chunk.7PVTCXVI.js +0 -11
  1123. package/dist/chunks/chunk.7UN2HIOF.js +0 -525
  1124. package/dist/chunks/chunk.AB2XWAK3.js +0 -39
  1125. package/dist/chunks/chunk.AB5XE3FV.js +0 -11
  1126. package/dist/chunks/chunk.AF3L6K4Q.js +0 -1124
  1127. package/dist/chunks/chunk.AGJFP643.js +0 -11
  1128. package/dist/chunks/chunk.AHGLQZCS.js +0 -26
  1129. package/dist/chunks/chunk.AIAVEKOK.js +0 -24
  1130. package/dist/chunks/chunk.ATHNAKDD.js +0 -11
  1131. package/dist/chunks/chunk.AZLTMEKH.js +0 -11
  1132. package/dist/chunks/chunk.BA42WM5D.js +0 -24
  1133. package/dist/chunks/chunk.BCWAOHSM.js +0 -21
  1134. package/dist/chunks/chunk.BFWDNG4B.js +0 -121
  1135. package/dist/chunks/chunk.BIPHLJPK.js +0 -11
  1136. package/dist/chunks/chunk.BKGS6IHP.js +0 -64
  1137. package/dist/chunks/chunk.C2UAZRWH.js +0 -422
  1138. package/dist/chunks/chunk.C64464MD.js +0 -11
  1139. package/dist/chunks/chunk.C7DAEP3B.js +0 -596
  1140. package/dist/chunks/chunk.CDK46G4E.js +0 -143
  1141. package/dist/chunks/chunk.CDTCBTBV.js +0 -214
  1142. package/dist/chunks/chunk.CEHBADTZ.js +0 -21
  1143. package/dist/chunks/chunk.CLNTL7GB.js +0 -220
  1144. package/dist/chunks/chunk.CS5WXRO3.js +0 -180
  1145. package/dist/chunks/chunk.D3VBETFC.js +0 -11
  1146. package/dist/chunks/chunk.DD5IVTSH.js +0 -153
  1147. package/dist/chunks/chunk.DGYVKB72.js +0 -11
  1148. package/dist/chunks/chunk.DMKRTNGR.js +0 -11
  1149. package/dist/chunks/chunk.DVUOT6X5.js +0 -288
  1150. package/dist/chunks/chunk.E2JC5KST.js +0 -11
  1151. package/dist/chunks/chunk.E475T6CU.js +0 -11
  1152. package/dist/chunks/chunk.EIND5KV5.js +0 -733
  1153. package/dist/chunks/chunk.EKQ5K3B7.js +0 -25
  1154. package/dist/chunks/chunk.ELU62NZB.js +0 -93
  1155. package/dist/chunks/chunk.EOGNQ2BW.js +0 -11
  1156. package/dist/chunks/chunk.EYAQBN4W.js +0 -48
  1157. package/dist/chunks/chunk.F3YZVSJF.js +0 -1788
  1158. package/dist/chunks/chunk.F7L4DDJ4.js +0 -83
  1159. package/dist/chunks/chunk.FC4Y7SXM.js +0 -180
  1160. package/dist/chunks/chunk.FCD4NKZU.js +0 -161
  1161. package/dist/chunks/chunk.G2JLRG2D.js +0 -20
  1162. package/dist/chunks/chunk.GAMFKFD6.js +0 -229
  1163. package/dist/chunks/chunk.GAYWQOBB.js +0 -11
  1164. package/dist/chunks/chunk.GIJAJY3A.js +0 -355
  1165. package/dist/chunks/chunk.GL2QXHU2.js +0 -11
  1166. package/dist/chunks/chunk.H54ANECV.js +0 -91
  1167. package/dist/chunks/chunk.H5U6T3D6.js +0 -11
  1168. package/dist/chunks/chunk.H7L4OO2Q.js +0 -21
  1169. package/dist/chunks/chunk.HMZJNEXS.js +0 -21
  1170. package/dist/chunks/chunk.HQNRGFUU.js +0 -11
  1171. package/dist/chunks/chunk.HTBWZVCU.js +0 -11
  1172. package/dist/chunks/chunk.IAVQBFEW.js +0 -11
  1173. package/dist/chunks/chunk.IDQR3VKS.js +0 -21
  1174. package/dist/chunks/chunk.IJX7WZEQ.js +0 -21
  1175. package/dist/chunks/chunk.IKNJ7ZXH.js +0 -443
  1176. package/dist/chunks/chunk.J3IJAZ7D.js +0 -97
  1177. package/dist/chunks/chunk.J7Z2DZ37.js +0 -21
  1178. package/dist/chunks/chunk.JGCMTSYW.js +0 -245
  1179. package/dist/chunks/chunk.JJCNDSXS.js +0 -11
  1180. package/dist/chunks/chunk.JUB74VSS.js +0 -57
  1181. package/dist/chunks/chunk.JWT2CM5M.js +0 -21
  1182. package/dist/chunks/chunk.JZVU7SNT.js +0 -11
  1183. package/dist/chunks/chunk.K72EDRHF.js +0 -75
  1184. package/dist/chunks/chunk.KADIIXKH.js +0 -11
  1185. package/dist/chunks/chunk.KDXR6RAM.js +0 -37
  1186. package/dist/chunks/chunk.KRX7YNXU.js +0 -11
  1187. package/dist/chunks/chunk.KUJK2V24.js +0 -937
  1188. package/dist/chunks/chunk.L53Y2X27.js +0 -11
  1189. package/dist/chunks/chunk.L5DN5MN5.js +0 -21
  1190. package/dist/chunks/chunk.LD3CEFNS.js +0 -123
  1191. package/dist/chunks/chunk.LEKIPX2Z.js +0 -24
  1192. package/dist/chunks/chunk.LH4NLNXK.js +0 -21
  1193. package/dist/chunks/chunk.LMUHGAAA.js +0 -591
  1194. package/dist/chunks/chunk.LNWUXCLO.js +0 -11
  1195. package/dist/chunks/chunk.LVK43S5O.js +0 -345
  1196. package/dist/chunks/chunk.MACJANL6.js +0 -11
  1197. package/dist/chunks/chunk.MTQPUTO6.js +0 -78
  1198. package/dist/chunks/chunk.MYBSXZHT.js +0 -278
  1199. package/dist/chunks/chunk.MZBY75Y5.js +0 -458
  1200. package/dist/chunks/chunk.N2WRMWF6.js +0 -28
  1201. package/dist/chunks/chunk.N7Q63OTJ.js +0 -11
  1202. package/dist/chunks/chunk.N7YEWKEQ.js +0 -11
  1203. package/dist/chunks/chunk.NF2DJ62C.js +0 -67
  1204. package/dist/chunks/chunk.NJ2B7SVH.js +0 -61
  1205. package/dist/chunks/chunk.NM77YEC3.js +0 -11
  1206. package/dist/chunks/chunk.NSP4GIEJ.js +0 -21
  1207. package/dist/chunks/chunk.NXBMVFU3.js +0 -291
  1208. package/dist/chunks/chunk.NYIULAQC.js +0 -21
  1209. package/dist/chunks/chunk.OAE4ERUL.js +0 -24
  1210. package/dist/chunks/chunk.OHRDJ5WE.js +0 -21
  1211. package/dist/chunks/chunk.OJX62QDA.js +0 -26
  1212. package/dist/chunks/chunk.OO3ASTI5.js +0 -11
  1213. package/dist/chunks/chunk.OOXR3TIN.js +0 -247
  1214. package/dist/chunks/chunk.P2HXQIWD.js +0 -24
  1215. package/dist/chunks/chunk.P3W3OR2P.js +0 -28
  1216. package/dist/chunks/chunk.P4GDVFDL.js +0 -89
  1217. package/dist/chunks/chunk.PC4XGZE6.js +0 -11
  1218. package/dist/chunks/chunk.PDUVDBVW.js +0 -21
  1219. package/dist/chunks/chunk.PLV5ZZCZ.js +0 -27
  1220. package/dist/chunks/chunk.PSYYNBMX.js +0 -24
  1221. package/dist/chunks/chunk.QAEB2AVS.js +0 -11
  1222. package/dist/chunks/chunk.QAJQVDLG.js +0 -29
  1223. package/dist/chunks/chunk.QB3QSSDD.js +0 -11
  1224. package/dist/chunks/chunk.QNAZZBPC.js +0 -262
  1225. package/dist/chunks/chunk.QOLERICG.js +0 -264
  1226. package/dist/chunks/chunk.QSFA5UYH.js +0 -21
  1227. package/dist/chunks/chunk.QTT735IL.js +0 -28
  1228. package/dist/chunks/chunk.QUJ3MFRV.js +0 -11
  1229. package/dist/chunks/chunk.R37BFBS3.js +0 -642
  1230. package/dist/chunks/chunk.R7BPRZWQ.js +0 -25
  1231. package/dist/chunks/chunk.RBC4R2XR.js +0 -11
  1232. package/dist/chunks/chunk.RG4CRFFJ.js +0 -11
  1233. package/dist/chunks/chunk.RK2LJW6K.js +0 -21
  1234. package/dist/chunks/chunk.RLWVJMUU.js +0 -11
  1235. package/dist/chunks/chunk.RM56ELLQ.js +0 -271
  1236. package/dist/chunks/chunk.ROILRMWL.js +0 -21
  1237. package/dist/chunks/chunk.RQ27EUVN.js +0 -190
  1238. package/dist/chunks/chunk.RXHYA2L2.js +0 -24
  1239. package/dist/chunks/chunk.S7ED4ML6.js +0 -21
  1240. package/dist/chunks/chunk.SGX4Z3ML.js +0 -11
  1241. package/dist/chunks/chunk.SMCGWVTR.js +0 -21
  1242. package/dist/chunks/chunk.SOKWZS3M.js +0 -25
  1243. package/dist/chunks/chunk.SVZUXQ3Q.js +0 -21
  1244. package/dist/chunks/chunk.T3AMMTPG.js +0 -24
  1245. package/dist/chunks/chunk.T3GRUOLY.js +0 -11
  1246. package/dist/chunks/chunk.T55DXEFE.js +0 -74
  1247. package/dist/chunks/chunk.TACE3CCD.js +0 -21
  1248. package/dist/chunks/chunk.TMPDELPB.js +0 -27
  1249. package/dist/chunks/chunk.U2CAN35C.js +0 -24
  1250. package/dist/chunks/chunk.U3WD44BP.js +0 -52
  1251. package/dist/chunks/chunk.UWY54W4T.js +0 -11
  1252. package/dist/chunks/chunk.V2TFKPNC.js +0 -449
  1253. package/dist/chunks/chunk.V6JWOUCB.js +0 -43
  1254. package/dist/chunks/chunk.VESITU5S.js +0 -11
  1255. package/dist/chunks/chunk.VK6A6EVJ.js +0 -11
  1256. package/dist/chunks/chunk.VVK6Q4GY.js +0 -11
  1257. package/dist/chunks/chunk.VXQF2E5C.js +0 -609
  1258. package/dist/chunks/chunk.W3VKQOAV.js +0 -477
  1259. package/dist/chunks/chunk.WQL6ZACG.js +0 -409
  1260. package/dist/chunks/chunk.WV55U6A7.js +0 -145
  1261. package/dist/chunks/chunk.X344EHIM.js +0 -11
  1262. package/dist/chunks/chunk.X5WB7S3K.js +0 -24
  1263. package/dist/chunks/chunk.XC6VGXDZ.js +0 -78
  1264. package/dist/chunks/chunk.XCCRVUGA.js +0 -21
  1265. package/dist/chunks/chunk.XE6XHTUI.js +0 -112
  1266. package/dist/chunks/chunk.XJ7H7VDH.js +0 -213
  1267. package/dist/chunks/chunk.XKU5S2PP.js +0 -844
  1268. package/dist/chunks/chunk.XQYPIHG4.js +0 -220
  1269. package/dist/chunks/chunk.XTV3ZQY5.js +0 -124
  1270. package/dist/chunks/chunk.XYVGSRNW.js +0 -11
  1271. package/dist/chunks/chunk.Y2O6IK6C.js +0 -21
  1272. package/dist/chunks/chunk.Y3MN46F3.js +0 -11
  1273. package/dist/chunks/chunk.Y46PW6I6.js +0 -31
  1274. package/dist/chunks/chunk.Y5HQ77U6.js +0 -11
  1275. package/dist/chunks/chunk.YA3BUHE6.js +0 -24
  1276. package/dist/chunks/chunk.YAWTCGVI.js +0 -345
  1277. package/dist/chunks/chunk.YGFLSG5W.js +0 -252
  1278. package/dist/chunks/chunk.YOEQGKZU.js +0 -214
  1279. package/dist/chunks/chunk.YOZLDRWY.js +0 -11
  1280. package/dist/chunks/chunk.Z6G2TOJC.js +0 -241
  1281. package/dist/chunks/chunk.ZJATRK6G.js +0 -472
  1282. package/dist/chunks/chunk.ZJM7LVCC.js +0 -21
  1283. package/dist/chunks/chunk.ZK56GPHX.js +0 -101
  1284. package/dist/chunks/chunk.ZUJCWU6H.js +0 -48
  1285. package/dist/chunks/chunk.ZXLU7N67.js +0 -24
  1286. package/dist/terra_ui_components-0.0.145-py3-none-any.whl +0 -0
  1287. package/dist/terra_ui_components-0.0.145.tar.gz +0 -0
@@ -0,0 +1,2183 @@
1
+ import {
2
+ defaultSubsetFileMimeType,
3
+ getFriendlyNameForMimeType
4
+ } from "./chunk.SEQFSNN4.js";
5
+ import {
6
+ getNotebook
7
+ } from "./chunk.4FLZ3K7F.js";
8
+ import {
9
+ TerraLogin
10
+ } from "./chunk.EBWHLW6O.js";
11
+ import {
12
+ TerraDialog
13
+ } from "./chunk.5JON2HRW.js";
14
+ import {
15
+ DataSubsetterController
16
+ } from "./chunk.JXBBNPEC.js";
17
+ import {
18
+ data_subsetter_styles_default
19
+ } from "./chunk.F3RTIMRW.js";
20
+ import {
21
+ TerraDataAccess,
22
+ debounce,
23
+ sendDataToJupyterNotebook
24
+ } from "./chunk.NRD5ZMHF.js";
25
+ import {
26
+ TerraMenuItem
27
+ } from "./chunk.LGADP3G3.js";
28
+ import {
29
+ TerraMenu
30
+ } from "./chunk.YTT3V6LJ.js";
31
+ import {
32
+ TerraDatePicker
33
+ } from "./chunk.MUMTOSEO.js";
34
+ import {
35
+ extractHarmonyError
36
+ } from "./chunk.JDBB7GR4.js";
37
+ import {
38
+ AuthController
39
+ } from "./chunk.PBKMNUYF.js";
40
+ import {
41
+ TerraSpatialPicker
42
+ } from "./chunk.OYMH572G.js";
43
+ import {
44
+ TerraInput
45
+ } from "./chunk.CXHYVT36.js";
46
+ import {
47
+ TerraDropdown
48
+ } from "./chunk.SVACDCR6.js";
49
+ import {
50
+ TerraLoader
51
+ } from "./chunk.B62UPADM.js";
52
+ import {
53
+ TerraButton
54
+ } from "./chunk.3N5J4ZW7.js";
55
+ import {
56
+ s
57
+ } from "./chunk.WQPCK3PB.js";
58
+ import {
59
+ TerraAccordion
60
+ } from "./chunk.24N3TYTN.js";
61
+ import {
62
+ TerraIcon
63
+ } from "./chunk.QQ7ZXO7Y.js";
64
+ import {
65
+ getBasePath
66
+ } from "./chunk.STI7JX26.js";
67
+ import {
68
+ watch
69
+ } from "./chunk.5WMSKURU.js";
70
+ import {
71
+ TerraElement,
72
+ component_styles_default,
73
+ e,
74
+ n,
75
+ r
76
+ } from "./chunk.VZRFHHI4.js";
77
+ import {
78
+ E,
79
+ x
80
+ } from "./chunk.3ZQGAH53.js";
81
+ import {
82
+ __decorateClass,
83
+ __privateAdd,
84
+ __privateGet,
85
+ __privateMethod,
86
+ __spreadProps,
87
+ __spreadValues,
88
+ init_buffer,
89
+ init_dirname,
90
+ init_process
91
+ } from "./chunk.CZA6CSBG.js";
92
+
93
+ // src/components/data-subsetter/data-subsetter.component.ts
94
+ init_dirname();
95
+ init_buffer();
96
+ init_process();
97
+ 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;
98
+ var TerraDataSubsetter = class extends TerraElement {
99
+ constructor() {
100
+ super(...arguments);
101
+ __privateAdd(this, _renderFooterForDialog);
102
+ __privateAdd(this, _renderSizeInfo);
103
+ __privateAdd(this, _renderSubsetOptions);
104
+ __privateAdd(this, _renderSearchForCollection);
105
+ __privateAdd(this, _renderOutputFormatSelection);
106
+ __privateAdd(this, _renderDateRangeSelection);
107
+ __privateAdd(this, _getCollectionDateRange);
108
+ __privateAdd(this, _handleRegionAccordionToggle);
109
+ __privateAdd(this, _renderSpatialSelection);
110
+ __privateAdd(this, _renderVariableSelection);
111
+ __privateAdd(this, _filterVariableTree);
112
+ __privateAdd(this, _handleVariableFilterChange);
113
+ __privateAdd(this, _buildVariableTree);
114
+ __privateAdd(this, _renderVariableTree);
115
+ __privateAdd(this, _getAllGroupPaths);
116
+ __privateAdd(this, _toggleGroupExpand);
117
+ __privateAdd(this, _toggleExpandCollapseAll);
118
+ __privateAdd(this, _toggleVariableSelection);
119
+ __privateAdd(this, _markFieldTouched);
120
+ __privateAdd(this, _renderJobStatus);
121
+ __privateAdd(this, _renderSelectedParams);
122
+ __privateAdd(this, _cancelJob);
123
+ __privateAdd(this, _getData);
124
+ __privateAdd(this, _touchAllFields);
125
+ __privateAdd(this, _numberOfFilesFoundEstimate);
126
+ __privateAdd(this, _getDocumentationLinks);
127
+ __privateAdd(this, _getDataLinks);
128
+ __privateAdd(this, _hasAtLeastOneSubsetOption);
129
+ __privateAdd(this, _hasSpatialSubset);
130
+ __privateAdd(this, _renderJobMessage);
131
+ __privateAdd(this, _getJobMessageText);
132
+ __privateAdd(this, _estimateJobSize);
133
+ __privateAdd(this, _refineParameters);
134
+ __privateAdd(this, _backToSubsetOptions);
135
+ __privateAdd(this, _viewRunningJob);
136
+ __privateAdd(this, _handleDownloadSelect);
137
+ __privateAdd(this, _downloadLinksAsTxt);
138
+ __privateAdd(this, _downloadPythonScript);
139
+ __privateAdd(this, _downloadEarthdataDownload);
140
+ __privateAdd(this, _handleJupyterNotebookClick);
141
+ __privateAdd(this, _renderAvailableTemporalRangeSection);
142
+ __privateAdd(this, _renderAvailableSpatialRangeSection);
143
+ __privateAdd(this, _renderDataAccessModeSelection);
144
+ __privateAdd(this, _isGiovanniFormat);
145
+ __privateAdd(this, _getGiovanniValidationError);
146
+ this.showCollectionSearch = true;
147
+ this.showHistoryPanel = true;
148
+ this.isHistoryView = false;
149
+ this.selectedVariables = [];
150
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
151
+ this.variableFilterText = "";
152
+ this.touchedFields = /* @__PURE__ */ new Set();
153
+ this.spatialSelection = null;
154
+ this.selectedDateRange = {
155
+ startDate: null,
156
+ endDate: null
157
+ };
158
+ this.selectedFormat = defaultSubsetFileMimeType;
159
+ this.cancelingGetData = false;
160
+ this.selectedTab = "web-links";
161
+ this.refineParameters = false;
162
+ this.collectionSearchType = "all";
163
+ this.collectionSearchLoading = false;
164
+ this.collectionLoading = false;
165
+ this.collectionAccordionOpen = true;
166
+ this.dataAccessMode = "original";
167
+ this.controller = new DataSubsetterController(this);
168
+ __privateAdd(this, _authController, new AuthController(this));
169
+ __privateAdd(this, _handleDateChange, (e2) => {
170
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
171
+ this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
172
+ startDate: e2.detail.startDate,
173
+ endDate: e2.detail.endDate
174
+ });
175
+ });
176
+ __privateAdd(this, _resetDateRangeSelection, () => {
177
+ this.selectedDateRange = { startDate: null, endDate: null };
178
+ });
179
+ __privateAdd(this, _resetFormatSelection, () => {
180
+ var _a, _b;
181
+ if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) == null ? void 0 : _b.length) {
182
+ const netcdfFormat = this.collectionWithServices.outputFormats.find(
183
+ (format) => format === "application/x-netcdf4" || format === "application/netcdf"
184
+ );
185
+ this.selectedFormat = netcdfFormat || this.collectionWithServices.outputFormats[0];
186
+ } else {
187
+ this.selectedFormat = defaultSubsetFileMimeType;
188
+ }
189
+ });
190
+ __privateAdd(this, _handleSpatialChange, (e2) => {
191
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
192
+ const round2 = (n2) => parseFloat(Number(n2).toFixed(2));
193
+ if (e2.detail.type === "bbox" /* BBOX */) {
194
+ this.spatialSelection = {
195
+ e: round2(e2.detail.bounds.getNorthEast().lng),
196
+ n: round2(e2.detail.bounds.getNorthEast().lat),
197
+ w: round2(e2.detail.bounds.getSouthWest().lng),
198
+ s: round2(e2.detail.bounds.getSouthWest().lat)
199
+ };
200
+ } else if (e2.detail.type === "point" /* POINT */) {
201
+ this.spatialSelection = e2.detail.latLng;
202
+ } else {
203
+ this.spatialSelection = null;
204
+ }
205
+ });
206
+ __privateAdd(this, _resetSpatialSelection, () => {
207
+ this.spatialSelection = null;
208
+ });
209
+ __privateAdd(this, _resetVariableSelection, () => {
210
+ this.selectedVariables = [];
211
+ });
212
+ }
213
+ jobIdChanged() {
214
+ if (this.jobId) {
215
+ this.controller.fetchJobByID(this.jobId);
216
+ this.dataAccessMode = "subset";
217
+ }
218
+ }
219
+ shortNameAndVersionChanged() {
220
+ if (this.shortName && this.version) {
221
+ this.collectionEntryId = `${this.shortName}_${this.version}`;
222
+ }
223
+ }
224
+ collectionEntryIdChanged() {
225
+ if (this.collectionEntryId) {
226
+ this.showCollectionSearch = false;
227
+ } else {
228
+ this.showCollectionSearch = true;
229
+ }
230
+ }
231
+ firstUpdated() {
232
+ if (this.collectionEntryId) {
233
+ this.showCollectionSearch = false;
234
+ }
235
+ if (this.jobId) {
236
+ this.controller.fetchJobByID(this.jobId);
237
+ this.dataAccessMode = "subset";
238
+ }
239
+ this.renderHistoryPanel();
240
+ }
241
+ updated(changedProps) {
242
+ var _a, _b, _c, _d;
243
+ super.updated(changedProps);
244
+ const taskStatus = (_b = (_a = this.controller) == null ? void 0 : _a.jobStatusTask) == null ? void 0 : _b.status;
245
+ if (taskStatus === s.ERROR) {
246
+ const taskError = (_d = (_c = this.controller) == null ? void 0 : _c.jobStatusTask) == null ? void 0 : _d.error;
247
+ if (taskError) {
248
+ const errorDetails = extractHarmonyError(taskError);
249
+ if (errorDetails.isCancellation) {
250
+ return;
251
+ }
252
+ if (this.controller.currentJob) {
253
+ this.controller.currentJob = __spreadProps(__spreadValues({}, this.controller.currentJob), {
254
+ status: "failed" /* FAILED */,
255
+ message: errorDetails.message || "Failed to create subset job"
256
+ });
257
+ }
258
+ }
259
+ }
260
+ }
261
+ collectionChanged() {
262
+ var _a, _b;
263
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
264
+ this.selectedDateRange = { startDate, endDate };
265
+ if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) == null ? void 0 : _b.length) {
266
+ const netcdfFormat = this.collectionWithServices.outputFormats.find(
267
+ (format) => format === "application/x-netcdf4" || format === "application/netcdf"
268
+ );
269
+ this.selectedFormat = netcdfFormat || this.collectionWithServices.outputFormats[0];
270
+ } else {
271
+ this.selectedFormat = defaultSubsetFileMimeType;
272
+ }
273
+ this.collectionLoading = false;
274
+ this.collectionAccordionOpen = false;
275
+ }
276
+ selectedFormatChanged() {
277
+ if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.selectedVariables.length > 1) {
278
+ this.selectedVariables = [this.selectedVariables[0]];
279
+ }
280
+ }
281
+ showDialog() {
282
+ var _a;
283
+ (_a = this.dialogElement) == null ? void 0 : _a.show();
284
+ }
285
+ render() {
286
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
287
+ const showJobStatus = this.controller.currentJob && !this.refineParameters;
288
+ const showMinimizeButton = showJobStatus && !!this.dialog;
289
+ const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
290
+ const content = x`
291
+ <div class="container">
292
+ ${!this.dialog ? x`
293
+ <div class="header">
294
+ <h1>
295
+ <svg
296
+ class="download-icon"
297
+ viewBox="0 0 24 24"
298
+ fill="currentColor"
299
+ >
300
+ <path
301
+ d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
302
+ />
303
+ </svg>
304
+ ${title}
305
+ </h1>
306
+
307
+ ${showMinimizeButton ? x`<button
308
+ class="minimize-btn"
309
+ @click=${() => this.minimizeDialog()}
310
+ >
311
+ -
312
+ </button>` : E}
313
+ </div>
314
+ ` : E}
315
+ ${!this.isHistoryView && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? x`
316
+ <div class="section">
317
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
318
+ </div>
319
+ ` : E}
320
+ ${this.dataAccessMode === "original" ? x`
321
+ <div class="section">
322
+ <terra-data-access
323
+ short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
324
+ version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
325
+ ?footer-slot=${!!this.dialog}
326
+ >
327
+ ${this.dialog ? x`
328
+ <div
329
+ slot="footer"
330
+ style="margin-top: 15px;"
331
+ >
332
+ <slot
333
+ name="data-access-footer"
334
+ ></slot>
335
+ </div>
336
+ ` : E}
337
+ </terra-data-access>
338
+ </div>
339
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
340
+ </div>
341
+ `;
342
+ if (this.dialog) {
343
+ return x`
344
+ <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
345
+ <span
346
+ slot="label"
347
+ style="display: flex; align-items: center; gap: 8px; color: #0066cc; font-weight: 600;"
348
+ >
349
+ <svg
350
+ class="download-icon"
351
+ viewBox="0 0 24 24"
352
+ fill="currentColor"
353
+ style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
354
+ >
355
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
356
+ </svg>
357
+ ${title}
358
+ </span>
359
+ ${showMinimizeButton ? x`
360
+ <button
361
+ slot="header-actions"
362
+ class="minimize-btn"
363
+ @click=${() => {
364
+ var _a2;
365
+ return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
366
+ }}
367
+ aria-label="Minimize"
368
+ >
369
+ -
370
+ </button>
371
+ ` : E}
372
+ ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
373
+ </terra-dialog>
374
+ `;
375
+ }
376
+ return x`
377
+ <div class="container">
378
+ <div class="header">
379
+ <h1>
380
+ <svg
381
+ class="download-icon"
382
+ viewBox="0 0 24 24"
383
+ fill="currentColor"
384
+ >
385
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
386
+ </svg>
387
+ ${title}
388
+ </h1>
389
+
390
+ ${showMinimizeButton ? x`<button
391
+ class="minimize-btn"
392
+ @click=${() => this.minimizeDialog()}
393
+ >
394
+ -
395
+ </button>` : E}
396
+ </div>
397
+ ${!this.isHistoryView && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? x`
398
+ <div class="section">
399
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
400
+ </div>
401
+ ` : E}
402
+ ${this.dataAccessMode === "original" ? x`
403
+ <div class="section">
404
+ <terra-data-access
405
+ short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
406
+ version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
407
+ ?footer-slot=${!!this.dialog}
408
+ >
409
+ ${this.dialog ? x`
410
+ <div
411
+ slot="footer"
412
+ style="margin-top: 15px;"
413
+ >
414
+ <slot
415
+ name="data-access-footer"
416
+ ></slot>
417
+ </div>
418
+ ` : E}
419
+ </terra-data-access>
420
+ </div>
421
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
422
+ </div>
423
+ `;
424
+ }
425
+ minimizeDialog() {
426
+ var _a;
427
+ (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
428
+ }
429
+ handleCollectionSearch(searchTerm) {
430
+ this.collectionSearchQuery = searchTerm;
431
+ }
432
+ isLatLng(value) {
433
+ return value && typeof value.lat === "number" && typeof value.lng === "number";
434
+ }
435
+ isLatLngBounds(value) {
436
+ return value && typeof value.getSouthWest === "function" && typeof value.getNorthEast === "function";
437
+ }
438
+ renderHistoryPanel() {
439
+ const existingHistoryPanel = document.querySelector(
440
+ "terra-data-subsetter-history"
441
+ );
442
+ if (!existingHistoryPanel && this.bearerToken) {
443
+ const historyPanel = document.createElement(
444
+ "terra-data-subsetter-history"
445
+ );
446
+ if (this.bearerToken) {
447
+ historyPanel.setAttribute("bearer-token", this.bearerToken);
448
+ }
449
+ if (this.environment) {
450
+ historyPanel.setAttribute("environment", this.environment);
451
+ }
452
+ document.body.appendChild(historyPanel);
453
+ }
454
+ }
455
+ };
456
+ _authController = new WeakMap();
457
+ _renderFooterForDialog = new WeakSet();
458
+ renderFooterForDialog_fn = function() {
459
+ const showJobStatus = this.controller.currentJob && !this.refineParameters;
460
+ if (showJobStatus && this.controller.currentJob) {
461
+ return x`
462
+ <div slot="footer" class="footer">
463
+ ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? x`
464
+ <div
465
+ style="display: flex; align-items: center; gap: 8px;"
466
+ >
467
+ <terra-dropdown
468
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
469
+ >
470
+ <terra-button slot="trigger" caret>
471
+ Download Options
472
+ </terra-button>
473
+ <terra-menu>
474
+ <terra-menu-item value="file-list">
475
+ <svg
476
+ slot="prefix"
477
+ viewBox="0 0 24 24"
478
+ width="16"
479
+ height="16"
480
+ style="width: 16px; height: 16px;"
481
+ >
482
+ <path
483
+ fill="currentColor"
484
+ 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"
485
+ />
486
+ </svg>
487
+ File List
488
+ </terra-menu-item>
489
+ <terra-menu-item value="python-script">
490
+ <svg
491
+ slot="prefix"
492
+ viewBox="0 0 128 128"
493
+ width="16"
494
+ height="16"
495
+ style="width: 16px; height: 16px;"
496
+ >
497
+ <path
498
+ fill="currentColor"
499
+ 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"
500
+ ></path>
501
+ </svg>
502
+ Python Script
503
+ </terra-menu-item>
504
+ <terra-menu-item value="earthdata-download">
505
+ <svg
506
+ slot="prefix"
507
+ viewBox="0 0 64 64"
508
+ fill="none"
509
+ width="16"
510
+ height="16"
511
+ style="width: 16px; height: 16px;"
512
+ >
513
+ <circle
514
+ cx="32"
515
+ cy="32"
516
+ r="28"
517
+ fill="currentColor"
518
+ />
519
+ <path
520
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
521
+ stroke="#fff"
522
+ stroke-width="4"
523
+ stroke-linecap="round"
524
+ stroke-linejoin="round"
525
+ fill="none"
526
+ />
527
+ </svg>
528
+ Earthdata Download
529
+ </terra-menu-item>
530
+ </terra-menu>
531
+ </terra-dropdown>
532
+
533
+ <terra-button
534
+ outline
535
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
536
+ >
537
+ <terra-icon
538
+ name="outline-code-bracket"
539
+ library="heroicons"
540
+ font-size="1.5em"
541
+ style="margin-right: 5px;"
542
+ ></terra-icon>
543
+ Open in Jupyter Notebook
544
+ </terra-button>
545
+ </div>
546
+ ` : E}
547
+ ${this.controller.currentJob.status === "running" ? x`<button
548
+ class="btn btn-success"
549
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
550
+ ?disabled=${this.cancelingGetData}
551
+ >
552
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
553
+ </button>` : E}
554
+
555
+ <div class="job-info">
556
+ Job ID:
557
+ <span class="job-id">
558
+ ${this.bearerToken ? x`<a
559
+ href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
560
+ target="_blank"
561
+ >${this.controller.currentJob.jobID}</a
562
+ >` : this.controller.currentJob.jobID}
563
+ </span>
564
+ <span class="info-icon">?</span>
565
+ </div>
566
+ </div>
567
+ `;
568
+ } else if (this.dataAccessMode === "subset") {
569
+ return x`
570
+ <div slot="footer" class="footer">
571
+ <button class="btn btn-secondary">Reset All</button>
572
+ <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
573
+ Get Data
574
+ </button>
575
+ ${this.jobId ? x`
576
+ <terra-button
577
+ variant="default"
578
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
579
+ >
580
+ View Running Job
581
+ </terra-button>
582
+ ` : E}
583
+ </div>
584
+ </div>
585
+ </div>
586
+ `;
587
+ }
588
+ return E;
589
+ };
590
+ _renderSizeInfo = new WeakSet();
591
+ renderSizeInfo_fn = function(estimates) {
592
+ if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
593
+ return x`
594
+ <div class="size-info warning">
595
+ <terra-login>
596
+ <h2 slot="logged-out">Limited access as a guest.</h2>
597
+
598
+ <p slot="logged-out">
599
+ Your results will be capped at 10 links. Log in for full
600
+ access to all data.
601
+ </p>
602
+ </terra-login>
603
+ </div>
604
+ `;
605
+ }
606
+ return x`<div
607
+ class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
608
+ >
609
+ <h2>Estimated size of results</h2>
610
+ <div class="size-stats">
611
+ ${estimates.days.toLocaleString()} days,
612
+ ${estimates.links.toLocaleString()} links
613
+ </div>
614
+ ${estimates.links >= 150 ? x`<div class="size-warning">
615
+ You are about to retrieve ${estimates.links.toLocaleString()}
616
+ file links from the archive. You may
617
+ <strong>speed up the request</strong> by limiting the scope of
618
+ your search.
619
+ </div>` : E}
620
+ </div>`;
621
+ };
622
+ _renderSubsetOptions = new WeakSet();
623
+ renderSubsetOptions_fn = function() {
624
+ var _a, _b, _c, _d, _e, _f, _g, _h;
625
+ const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
626
+ const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
627
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
628
+ const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
629
+ const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
630
+ const showTemporalSection = temporalExtents && temporalExtents.length;
631
+ const showSpatialSection = spatialExtent && ((_c = (_b = spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles);
632
+ return x`
633
+ ${this.dataAccessMode === "original" ? E : hasSubsetOption ? x`
634
+ ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : E}
635
+ ${this.showCollectionSearch ? x`
636
+ <div class="section">
637
+ <h2 class="section-title">
638
+ Select Data Collection
639
+ <span class="help-icon">?</span>
640
+ </h2>
641
+
642
+ ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
643
+ </div>
644
+ ` : E}
645
+ ${((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.outputFormats) == null ? void 0 : _e.length) && hasSubsetOption ? x`
646
+ <div class="section">
647
+ <h2 class="section-title">
648
+ Output Format
649
+ <span class="help-icon">?</span>
650
+ </h2>
651
+
652
+ ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
653
+ </div>
654
+ ` : E}
655
+ <div class="section">
656
+ <h2 class="section-title">
657
+ Subset Options
658
+ <span class="help-icon">?</span>
659
+ </h2>
660
+ <p style="color: #666; margin-bottom: 16px;">
661
+ Generate file links supporting geo-spatial search and
662
+ crop, selection of variables and dimensions, selection
663
+ of time of day, and data presentation, in netCDF or
664
+ HDF-EOS5 formats.
665
+ </p>
666
+
667
+ ${((_f = this.collectionWithServices) == null ? void 0 : _f.temporalSubset) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : E}
668
+ ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : E}
669
+ ${((_g = this.collectionWithServices) == null ? void 0 : _g.variableSubset) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : E}
670
+ </div>
671
+ ` : x`
672
+ ${showTemporalSection && !((_h = this.collectionWithServices) == null ? void 0 : _h.temporalSubset) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : E}
673
+ ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : E}
674
+ `}
675
+ ${!hasSubsetOption && estimates ? x`
676
+ <div
677
+ class="neutral-info"
678
+ style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
679
+ >
680
+ <strong>Estimated result size:</strong><br />
681
+ Your request will return approximately
682
+ <b>${estimates.links.toLocaleString()}</b> files covering
683
+ <b>${estimates.days.toLocaleString()}</b> days.
684
+ </div>
685
+ ` : E}
686
+ ${this.dataAccessMode === "subset" && !this.dialog ? x`
687
+ <div class="footer">
688
+ <button class="btn btn-secondary">Reset All</button>
689
+ <button
690
+ class="btn btn-primary"
691
+ @click=${__privateMethod(this, _getData, getData_fn)}
692
+ >
693
+ Get Data
694
+ </button>
695
+ ${this.jobId ? x`
696
+ <terra-button
697
+ variant="default"
698
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
699
+ >
700
+ View Running Job
701
+ </terra-button>
702
+ ` : E}
703
+ </div>
704
+ </div>
705
+ </div>
706
+ ` : E}
707
+ `;
708
+ };
709
+ _renderSearchForCollection = new WeakSet();
710
+ renderSearchForCollection_fn = function() {
711
+ var _a, _b;
712
+ let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
713
+ if (this.collectionSearchType === "collection") {
714
+ placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
715
+ }
716
+ if (this.collectionSearchType === "variable") {
717
+ placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
718
+ }
719
+ return x`
720
+ <terra-accordion .open=${this.collectionAccordionOpen}>
721
+ <div slot="summary">
722
+ <span class="accordion-title">Collection:</span>
723
+ </div>
724
+
725
+ <div
726
+ slot="summary-right"
727
+ style="display: flex; align-items: center; gap: 10px"
728
+ >
729
+ ${this.collectionEntryId ? x` <span
730
+ class="accordion-value"
731
+ id="selected-collection-display"
732
+ >${this.collectionEntryId}</span
733
+ >
734
+
735
+ <button
736
+ class="reset-btn"
737
+ @click=${() => this.collectionEntryId = void 0}
738
+ >
739
+ Reset
740
+ </button>` : E}
741
+ </div>
742
+
743
+ <div class="search-tabs-mini">
744
+ <button
745
+ class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
746
+ @click=${() => this.collectionSearchType = "all"}
747
+ >
748
+ All
749
+ </button>
750
+ <button
751
+ class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
752
+ @click=${() => this.collectionSearchType = "collection"}
753
+ >
754
+ Collections
755
+ </button>
756
+ <button
757
+ class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
758
+ @click=${() => this.collectionSearchType = "variable"}
759
+ >
760
+ Variables
761
+ </button>
762
+ </div>
763
+
764
+ <div class="search-container-mini">
765
+ <input
766
+ type="text"
767
+ class="search-input-mini"
768
+ id="search-input"
769
+ placeholder=${placeholder}
770
+ @input="${(e2) => this.handleCollectionSearch(
771
+ e2.target.value
772
+ )}"
773
+ />
774
+
775
+ <button class="search-button-mini">
776
+ <svg
777
+ class="search-icon-mini"
778
+ viewBox="0 0 24 24"
779
+ fill="currentColor"
780
+ >
781
+ <path
782
+ 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"
783
+ />
784
+ </svg>
785
+ Search
786
+ </button>
787
+ </div>
788
+
789
+ <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
790
+ <div class="quick-links-mini">
791
+ <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
792
+ >GPM Precipitation</a
793
+ >
794
+ <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
795
+ >MODIS Data</a
796
+ >
797
+ <a
798
+ href="#"
799
+ class="quick-link-mini"
800
+ onclick="quickSearch('Landsat')"
801
+ >Landsat Imagery</a
802
+ >
803
+ <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
804
+ >Atmospheric Data</a
805
+ >
806
+ </div>
807
+ -->
808
+
809
+ <div id="search-results-section" class="search-results-section">
810
+ ${this.collectionSearchLoading ? x`
811
+ <div id="loading-mini" class="loading-mini">
812
+ <div class="spinner-mini"></div>
813
+ <div>Searching NASA CMR...</div>
814
+ </div>
815
+ ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? x` <div
816
+ id="results-container-mini"
817
+ class="results-container-mini"
818
+ >
819
+ ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
820
+ (item) => x`
821
+ <div
822
+ class="result-item-mini"
823
+ @click=${() => {
824
+ this.collectionEntryId = item.collectionEntryId;
825
+ this.collectionAccordionOpen = false;
826
+ this.collectionLoading = true;
827
+ if (item.type === "variable") {
828
+ this.selectedVariables = [
829
+ {
830
+ name: item.entryId,
831
+ href: "",
832
+ conceptId: item.conceptId
833
+ }
834
+ ];
835
+ }
836
+ this.requestUpdate();
837
+ }}
838
+ style="cursor: pointer;"
839
+ >
840
+ <div class="result-title-mini">
841
+ ${item.title}
842
+ </div>
843
+ <div class="result-id-mini">
844
+ ${item.entryId}
845
+ </div>
846
+ <div class="result-description-mini">
847
+ ${item.summary || item.title}
848
+ </div>
849
+ <div class="result-meta-mini">
850
+ <span>📅 2000-02-24 - ongoing</span>
851
+ <span>🌍 Global</span>
852
+ <span>🏢 ${item.provider}</span>
853
+ ${item.type === "variable" ? x` <span
854
+ >📊
855
+ ${item.collectionEntryId}</span
856
+ >` : E}
857
+ <span class="tag-mini"
858
+ >${item.type.toUpperCase()}</span
859
+ >
860
+ </div>
861
+ </div>
862
+ `
863
+ )}
864
+ </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? x`<div id="no-results-mini" class="no-results-mini">
865
+ <p>
866
+ No results found for
867
+ '${this.collectionSearchQuery}'. Try adjusting
868
+ your search term.
869
+ </p>
870
+ </div>` : E}
871
+ </div>
872
+ </terra-accordion>
873
+
874
+ ${this.collectionLoading ? x`
875
+ <div
876
+ class="collection-loading-bar"
877
+ style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
878
+ >
879
+ <span
880
+ class="loading-spinner"
881
+ 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;"
882
+ ></span>
883
+ Retrieving collection, please wait...
884
+ </div>
885
+ <style>
886
+ @keyframes spin {
887
+ 0% {
888
+ transform: rotate(0deg);
889
+ }
890
+ 100% {
891
+ transform: rotate(360deg);
892
+ }
893
+ }
894
+ </style>
895
+ ` : E}
896
+ `;
897
+ };
898
+ _renderOutputFormatSelection = new WeakSet();
899
+ renderOutputFormatSelection_fn = function() {
900
+ return x`
901
+ <terra-accordion>
902
+ <div slot="summary">
903
+ <span class="accordion-title">File Format:</span>
904
+ </div>
905
+
906
+ <div
907
+ slot="summary-right"
908
+ style="display: flex; align-items: center; gap: 10px;"
909
+ >
910
+ <span>${getFriendlyNameForMimeType(this.selectedFormat)}</span>
911
+
912
+ <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
913
+ Reset
914
+ </button>
915
+ </div>
916
+
917
+ <div class="accordion-content" style="margin-top: 12px;">
918
+ ${(() => {
919
+ var _a;
920
+ const allFormats = ((_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) || [];
921
+ const uniqueFormats = Array.from(new Set(allFormats));
922
+ const hasNetcdf4 = uniqueFormats.includes(
923
+ "application/x-netcdf4"
924
+ );
925
+ const hasNetcdfClassic = uniqueFormats.includes("application/netcdf");
926
+ let displayFormats = uniqueFormats;
927
+ if (hasNetcdf4 && hasNetcdfClassic) {
928
+ displayFormats = uniqueFormats.filter(
929
+ (f) => f !== "application/netcdf"
930
+ );
931
+ }
932
+ return displayFormats.map(
933
+ (format) => x`
934
+ <label
935
+ style="display: flex; align-items: center; gap: 8px; padding: 5px;"
936
+ >
937
+ <input
938
+ type="radio"
939
+ name="output-format"
940
+ value="${format}"
941
+ .checked=${this.selectedFormat === format}
942
+ @change=${() => this.selectedFormat = format}
943
+ />
944
+ ${getFriendlyNameForMimeType(format)}
945
+ </label>
946
+ `
947
+ );
948
+ })()}
949
+ </div>
950
+ </terra-accordion>
951
+ `;
952
+ };
953
+ _renderDateRangeSelection = new WeakSet();
954
+ renderDateRangeSelection_fn = function() {
955
+ var _a, _b;
956
+ const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
957
+ const startDate = (_a = this.selectedDateRange.startDate) != null ? _a : defaultStartDate;
958
+ const endDate = (_b = this.selectedDateRange.endDate) != null ? _b : defaultEndDate;
959
+ const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
960
+ return x`
961
+ <terra-accordion>
962
+ <div slot="summary">
963
+ <span class="accordion-title">Refine Date Range:</span>
964
+ </div>
965
+
966
+ <div
967
+ slot="summary-right"
968
+ style="display: flex; align-items: center; gap: 10px;"
969
+ >
970
+ ${showError ? x`<span class="accordion-value error"
971
+ >Please select a date range</span
972
+ >` : this.touchedFields.has("date") && startDate && endDate ? x`<span class="accordion-value"
973
+ >${startDate} to ${endDate}</span
974
+ >` : E}
975
+ <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
976
+ Reset
977
+ </button>
978
+ </div>
979
+
980
+ <div style="width: 300px">
981
+ <terra-date-picker
982
+ allow-input
983
+ inline
984
+ range
985
+ split-inputs
986
+ show-presets
987
+ ?enable-time=${this.controller.isSubDaily}
988
+ start-label="Start Date"
989
+ end-label="End Date"
990
+ .minDate=${defaultStartDate}
991
+ .maxDate=${defaultEndDate}
992
+ .startDate=${this.selectedDateRange.startDate}
993
+ .endDate=${this.selectedDateRange.endDate}
994
+ @terra-date-range-change=${__privateGet(this, _handleDateChange)}
995
+ ></terra-date-picker>
996
+ </div>
997
+
998
+ <div
999
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1000
+ >
1001
+ <span
1002
+ ><strong>Available Range:</strong> ${defaultStartDate} to
1003
+ ${defaultEndDate}</span
1004
+ >
1005
+ ${this.controller.isSubDaily ? x`<span
1006
+ ><strong>Note:</strong> All dates and times are in
1007
+ UTC.</span
1008
+ >` : E}
1009
+ </div>
1010
+ </terra-accordion>
1011
+ `;
1012
+ };
1013
+ _handleDateChange = new WeakMap();
1014
+ _resetDateRangeSelection = new WeakMap();
1015
+ _resetFormatSelection = new WeakMap();
1016
+ _getCollectionDateRange = new WeakSet();
1017
+ getCollectionDateRange_fn = function() {
1018
+ var _a, _b;
1019
+ const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
1020
+ if (!temporalExtents || !temporalExtents.length)
1021
+ return {
1022
+ startDate: null,
1023
+ endDate: null
1024
+ };
1025
+ let minStart = null;
1026
+ let maxEnd = null;
1027
+ const today = /* @__PURE__ */ new Date();
1028
+ for (const temporal of temporalExtents) {
1029
+ for (const range of temporal.RangeDateTimes) {
1030
+ const start = new Date(range.BeginningDateTime);
1031
+ let end;
1032
+ if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
1033
+ end = today;
1034
+ } else {
1035
+ end = new Date(range.EndingDateTime);
1036
+ }
1037
+ if (!minStart || start < minStart)
1038
+ minStart = start;
1039
+ if (!maxEnd || end > maxEnd)
1040
+ maxEnd = end;
1041
+ }
1042
+ }
1043
+ return {
1044
+ startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
1045
+ endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
1046
+ };
1047
+ };
1048
+ _handleRegionAccordionToggle = new WeakSet();
1049
+ handleRegionAccordionToggle_fn = function() {
1050
+ var _a;
1051
+ (_a = this.spatialPicker) == null ? void 0 : _a.invalidateSize();
1052
+ };
1053
+ _renderSpatialSelection = new WeakSet();
1054
+ renderSpatialSelection_fn = function() {
1055
+ var _a, _b, _c, _d, _e;
1056
+ const showError = this.touchedFields.has("spatial") && !this.spatialSelection;
1057
+ 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;
1058
+ if (boundingRects && !Array.isArray(boundingRects)) {
1059
+ boundingRects = [boundingRects];
1060
+ }
1061
+ let spatialString = "";
1062
+ if (this.isLatLng(this.spatialSelection)) {
1063
+ spatialString = `${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1064
+ } else if (this.isLatLngBounds(this.spatialSelection)) {
1065
+ spatialString = `${this.spatialSelection.getSouthWest().lat}, ${this.spatialSelection.getSouthWest().lng}, ${this.spatialSelection.getNorthEast().lat}, ${this.spatialSelection.getNorthEast().lng}`;
1066
+ } else if (this.spatialSelection && "w" in this.spatialSelection && "s" in this.spatialSelection && "e" in this.spatialSelection && "n" in this.spatialSelection) {
1067
+ spatialString = `${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1068
+ } else if (this.spatialSelection) {
1069
+ spatialString = this.spatialSelection;
1070
+ }
1071
+ return x`
1072
+ <terra-accordion
1073
+ @terra-accordion-toggle=${__privateMethod(this, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn)}
1074
+ >
1075
+ <div slot="summary">
1076
+ <span class="accordion-title">Refine Region:</span>
1077
+ </div>
1078
+
1079
+ <div
1080
+ slot="summary-right"
1081
+ style="display: flex; align-items: center; gap: 10px;"
1082
+ >
1083
+ ${showError ? x`<span class="accordion-value error"
1084
+ >Please select a region</span
1085
+ >` : spatialString ? x`<span class="accordion-value"
1086
+ >${spatialString}</span
1087
+ >` : E}
1088
+ <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1089
+ Reset
1090
+ </button>
1091
+ </div>
1092
+ <div class="accordion-content">
1093
+ <terra-spatial-picker
1094
+ part="spatial-picker"
1095
+ inline
1096
+ hide-label
1097
+ hide-point-selection
1098
+ no-world-wrap
1099
+ .spatialConstraints=${this.controller.spatialConstraints || "-180, -90, 180, 90"}
1100
+ .initialValue=${spatialString}
1101
+ @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1102
+ ></terra-spatial-picker>
1103
+ <div
1104
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1105
+ >
1106
+ <span
1107
+ ><strong>Available Range:</strong> ${this.controller.spatialConstraints}</span
1108
+ >
1109
+ </div>
1110
+ </div>
1111
+ </terra-accordion>
1112
+ `;
1113
+ };
1114
+ _handleSpatialChange = new WeakMap();
1115
+ _resetSpatialSelection = new WeakMap();
1116
+ _renderVariableSelection = new WeakSet();
1117
+ renderVariableSelection_fn = function() {
1118
+ var _a;
1119
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1120
+ const giovanniError = this.touchedFields.has("variables") && __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1121
+ const basicError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1122
+ const showError = giovanniError || basicError;
1123
+ const errorMessage = giovanniError || (basicError ? "Please select at least one variable" : "");
1124
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1125
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1126
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1127
+ return x`
1128
+ <terra-accordion>
1129
+ <div slot="summary">
1130
+ <span class="accordion-title">Select Variables:</span>
1131
+ </div>
1132
+ <div
1133
+ slot="summary-right"
1134
+ style="display: flex; align-items: center; gap: 10px;"
1135
+ >
1136
+ ${showError ? x`<span class="accordion-value error"
1137
+ >${errorMessage}</span
1138
+ >` : this.selectedVariables.length ? x`<span class="accordion-value"
1139
+ >${this.selectedVariables.length} selected</span
1140
+ >` : E}
1141
+
1142
+ <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1143
+ Reset
1144
+ </button>
1145
+ </div>
1146
+ <div class="accordion-content">
1147
+ <terra-input
1148
+ label="Filter variables"
1149
+ placeholder="Search by variable name..."
1150
+ .value=${this.variableFilterText}
1151
+ @input=${(e2) => {
1152
+ const input = e2.target;
1153
+ this.variableFilterText = input.value;
1154
+ __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1155
+ }}
1156
+ style="margin-bottom: 10px;"
1157
+ ></terra-input>
1158
+ <button
1159
+ class="reset-btn"
1160
+ style="margin-bottom: 10px;"
1161
+ @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1162
+ >
1163
+ ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1164
+ </button>
1165
+ ${variables.length === 0 ? x`<p style="color: #666; font-style: italic;">
1166
+ No variables available for this collection.
1167
+ </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1168
+ </div>
1169
+ </terra-accordion>
1170
+ `;
1171
+ };
1172
+ _filterVariableTree = new WeakSet();
1173
+ filterVariableTree_fn = function(tree) {
1174
+ if (!this.variableFilterText.trim()) {
1175
+ return tree;
1176
+ }
1177
+ const filterText = this.variableFilterText.toLowerCase().trim();
1178
+ const filterNode = (node) => {
1179
+ const result = {};
1180
+ for (const [key, value] of Object.entries(node)) {
1181
+ if (value.__isLeaf) {
1182
+ const variableName = value.__variable.name.toLowerCase();
1183
+ if (variableName.includes(filterText)) {
1184
+ result[key] = value;
1185
+ }
1186
+ } else {
1187
+ const filteredChildren = filterNode(value.__children);
1188
+ if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1189
+ result[key] = __spreadProps(__spreadValues({}, value), {
1190
+ __children: filteredChildren
1191
+ });
1192
+ }
1193
+ }
1194
+ }
1195
+ return result;
1196
+ };
1197
+ return filterNode(tree);
1198
+ };
1199
+ _handleVariableFilterChange = new WeakSet();
1200
+ handleVariableFilterChange_fn = function() {
1201
+ var _a;
1202
+ if (!this.variableFilterText.trim()) {
1203
+ return;
1204
+ }
1205
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1206
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1207
+ const filterText = this.variableFilterText.toLowerCase().trim();
1208
+ const groupsToExpand = /* @__PURE__ */ new Set();
1209
+ const findMatchingGroups = (node, path = []) => {
1210
+ for (const [key, value] of Object.entries(node)) {
1211
+ if (value.__isLeaf) {
1212
+ const variableName = value.__variable.name.toLowerCase();
1213
+ if (variableName.includes(filterText)) {
1214
+ for (let i = 0; i < path.length; i++) {
1215
+ const groupPath = path.slice(0, i + 1).join("/");
1216
+ groupsToExpand.add(groupPath);
1217
+ }
1218
+ }
1219
+ } else {
1220
+ const groupPath = [...path, key].join("/");
1221
+ findMatchingGroups(value.__children, [...path, key]);
1222
+ if (key.toLowerCase().includes(filterText)) {
1223
+ groupsToExpand.add(groupPath);
1224
+ }
1225
+ }
1226
+ }
1227
+ };
1228
+ findMatchingGroups(tree);
1229
+ if (groupsToExpand.size > 0) {
1230
+ this.expandedVariableGroups = /* @__PURE__ */ new Set([
1231
+ ...this.expandedVariableGroups,
1232
+ ...groupsToExpand
1233
+ ]);
1234
+ }
1235
+ };
1236
+ _buildVariableTree = new WeakSet();
1237
+ buildVariableTree_fn = function(variables) {
1238
+ const root = {};
1239
+ for (const v of variables) {
1240
+ const parts = v.name.split("/");
1241
+ let node = root;
1242
+ for (let i = 0; i < parts.length; i++) {
1243
+ const part = parts[i];
1244
+ if (!node[part])
1245
+ node[part] = { __children: {}, __isLeaf: false };
1246
+ if (i === parts.length - 1) {
1247
+ node[part].__isLeaf = true;
1248
+ node[part].__variable = v;
1249
+ }
1250
+ node = node[part].__children;
1251
+ }
1252
+ }
1253
+ return root;
1254
+ };
1255
+ _renderVariableTree = new WeakSet();
1256
+ renderVariableTree_fn = function(node, path) {
1257
+ const isGiovanni = __privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this);
1258
+ return x`
1259
+ <div style="margin-left: ${path.length * 20}px;">
1260
+ ${Object.entries(node).map(([key, value]) => {
1261
+ const groupPath = [...path, key].join("/");
1262
+ if (value.__isLeaf) {
1263
+ return x`
1264
+ <div class="option-row">
1265
+ <label class="checkbox-option">
1266
+ <input
1267
+ type="${isGiovanni ? "radio" : "checkbox"}"
1268
+ name="${isGiovanni ? "variable-selection" : ""}"
1269
+ .checked=${this.selectedVariables.some(
1270
+ (v) => v.name === value.__variable.name
1271
+ )}
1272
+ @change=${(e2) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e2, value.__variable)}
1273
+ />
1274
+ <span>${key}</span>
1275
+ </label>
1276
+ </div>
1277
+ `;
1278
+ } else {
1279
+ const expanded = this.expandedVariableGroups.has(groupPath);
1280
+ return x`
1281
+ <div class="option-row" style="align-items: flex-start;">
1282
+ <span
1283
+ style="cursor: pointer; display: flex; align-items: center;"
1284
+ @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1285
+ >
1286
+ <terra-icon
1287
+ library="heroicons"
1288
+ name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1289
+ style="margin-right: 4px;"
1290
+ ></terra-icon>
1291
+ <span style="font-weight: 500;">${key}</span>
1292
+ </span>
1293
+ </div>
1294
+ ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1295
+ ...path,
1296
+ key
1297
+ ]) : ""}
1298
+ `;
1299
+ }
1300
+ })}
1301
+ </div>
1302
+ `;
1303
+ };
1304
+ _getAllGroupPaths = new WeakSet();
1305
+ getAllGroupPaths_fn = function(node, path = []) {
1306
+ let groups = [];
1307
+ for (const [key, value] of Object.entries(node)) {
1308
+ if (!value.__isLeaf) {
1309
+ const groupPath = [...path, key].join("/");
1310
+ groups.push(groupPath);
1311
+ groups = groups.concat(
1312
+ __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1313
+ );
1314
+ }
1315
+ }
1316
+ return groups;
1317
+ };
1318
+ _toggleGroupExpand = new WeakSet();
1319
+ toggleGroupExpand_fn = function(groupPath) {
1320
+ const set = new Set(this.expandedVariableGroups);
1321
+ if (set.has(groupPath)) {
1322
+ set.delete(groupPath);
1323
+ } else {
1324
+ set.add(groupPath);
1325
+ }
1326
+ this.expandedVariableGroups = set;
1327
+ };
1328
+ _toggleExpandCollapseAll = new WeakSet();
1329
+ toggleExpandCollapseAll_fn = function(tree) {
1330
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1331
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1332
+ if (allExpanded) {
1333
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
1334
+ } else {
1335
+ this.expandedVariableGroups = new Set(allGroups);
1336
+ }
1337
+ };
1338
+ _toggleVariableSelection = new WeakSet();
1339
+ toggleVariableSelection_fn = function(e2, variable) {
1340
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1341
+ const checked = e2.target.checked;
1342
+ if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this)) {
1343
+ if (checked) {
1344
+ this.selectedVariables = [variable];
1345
+ }
1346
+ } else {
1347
+ if (checked) {
1348
+ if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1349
+ this.selectedVariables = [...this.selectedVariables, variable];
1350
+ }
1351
+ } else {
1352
+ this.selectedVariables = this.selectedVariables.filter(
1353
+ (v) => v.name !== variable.name
1354
+ );
1355
+ }
1356
+ }
1357
+ };
1358
+ _markFieldTouched = new WeakSet();
1359
+ markFieldTouched_fn = function(field) {
1360
+ this.touchedFields = new Set(this.touchedFields).add(field);
1361
+ };
1362
+ _resetVariableSelection = new WeakMap();
1363
+ _renderJobStatus = new WeakSet();
1364
+ renderJobStatus_fn = function() {
1365
+ var _a, _b;
1366
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.jobID)) {
1367
+ return x`<div class="results-section" id="job-status-section">
1368
+ <div
1369
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1370
+ >
1371
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1372
+ ${!this.isHistoryView ? x`
1373
+ <terra-button
1374
+ variant="default"
1375
+ size="small"
1376
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1377
+ >
1378
+ ← Back to Subset Options
1379
+ </terra-button>
1380
+ ` : E}
1381
+ </div>
1382
+
1383
+ <div class="progress-container">
1384
+ <div class="progress-text">
1385
+ <span class="spinner"></span>
1386
+ <span class="status-running">Searching for data...</span>
1387
+ </div>
1388
+
1389
+ <div class="progress-bar">
1390
+ <div class="progress-fill" style="width: 0%"></div>
1391
+ </div>
1392
+ </div>
1393
+
1394
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1395
+ </div>`;
1396
+ }
1397
+ return x`
1398
+ <div class="results-section" id="job-status-section">
1399
+ <div
1400
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1401
+ >
1402
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1403
+ ${!this.isHistoryView ? x`
1404
+ <terra-button
1405
+ variant="default"
1406
+ size="small"
1407
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1408
+ >
1409
+ ← Back to Subset Options
1410
+ </terra-button>
1411
+ ` : E}
1412
+ </div>
1413
+
1414
+ ${this.controller.currentJob.status !== "canceled" && this.controller.currentJob.status !== "failed" ? x` <div class="progress-container">
1415
+ <div class="progress-text">
1416
+ ${this.controller.currentJob.progress >= 100 ? x`
1417
+ <span class="status-complete"
1418
+ >✓ Search complete</span
1419
+ >
1420
+ ` : x`
1421
+ <span class="spinner"></span>
1422
+ <span class="status-running"
1423
+ >Searching for data...
1424
+ (${this.controller.currentJob.progress}%)</span
1425
+ >
1426
+ `}
1427
+ </div>
1428
+
1429
+ <div class="progress-bar">
1430
+ <div
1431
+ class="progress-fill"
1432
+ style="width: ${this.controller.currentJob.progress}%"
1433
+ ></div>
1434
+ </div>
1435
+ </div>` : E}
1436
+
1437
+ <div class="search-status">
1438
+ <span class="file-count"
1439
+ >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1440
+ >
1441
+ out of estimated
1442
+ <span class="estimated-total"
1443
+ >${this.controller.currentJob.numInputGranules.toLocaleString()}</span
1444
+ >
1445
+ </div>
1446
+
1447
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1448
+ ${((_b = this.controller.currentJob.errors) == null ? void 0 : _b.length) ? x`
1449
+ <terra-accordion>
1450
+ <div slot="summary">
1451
+ <span
1452
+ class="accordion-title"
1453
+ style="color: #dc3545;"
1454
+ >Errors
1455
+ (${this.controller.currentJob.errors.length})</span
1456
+ >
1457
+ </div>
1458
+ <div class="accordion-content">
1459
+ <ul
1460
+ style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1461
+ >
1462
+ ${this.controller.currentJob.errors.map(
1463
+ (err) => x`
1464
+ <li style="margin-bottom: 12px;">
1465
+ <a
1466
+ href="${err.url}"
1467
+ target="_blank"
1468
+ style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1469
+ >
1470
+ ${err.url}
1471
+ </a>
1472
+ <div style="margin-top: 2px;">
1473
+ ${err.message}
1474
+ </div>
1475
+ </li>
1476
+ `
1477
+ )}
1478
+ </ul>
1479
+ </div>
1480
+ </terra-accordion>
1481
+ ` : E}
1482
+
1483
+ <div class="tabs">
1484
+ <button
1485
+ class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1486
+ @click=${() => this.selectedTab = "web-links"}
1487
+ >
1488
+ Web Links
1489
+ </button>
1490
+
1491
+ ${!this.isHistoryView ? x`
1492
+ <button
1493
+ class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1494
+ @click=${() => this.selectedTab = "selected-params"}
1495
+ >
1496
+ Selected Parameters
1497
+ </button>
1498
+ ` : E}
1499
+ </div>
1500
+ <div
1501
+ id="web-links"
1502
+ class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1503
+ >
1504
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? x`
1505
+ <div class="documentation-links">
1506
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1507
+ (link) => x`
1508
+ <a href="${link.href}" class="doc-link"
1509
+ >${link.title}</a
1510
+ >
1511
+ `
1512
+ )}
1513
+ </div>
1514
+ ` : E}
1515
+
1516
+ <ul class="file-list">
1517
+ ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1518
+ (link) => x`
1519
+ <li class="file-item">
1520
+ <a
1521
+ href="${link.href}"
1522
+ class="file-link"
1523
+ target="_blank"
1524
+ >
1525
+ ${link.title}
1526
+ </a>
1527
+ </li>
1528
+ `
1529
+ )}
1530
+ </ul>
1531
+ </div>
1532
+
1533
+ <div
1534
+ id="selected-params"
1535
+ class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1536
+ >
1537
+ ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1538
+ </div>
1539
+ </div>
1540
+
1541
+ ${!this.dialog ? x`
1542
+ <div class="footer">
1543
+ ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? x`
1544
+ <div
1545
+ style="display: flex; align-items: center; gap: 8px;"
1546
+ >
1547
+ <terra-dropdown
1548
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1549
+ >
1550
+ <terra-button slot="trigger" caret>
1551
+ Download Options
1552
+ </terra-button>
1553
+ <terra-menu>
1554
+ <terra-menu-item value="file-list">
1555
+ <svg
1556
+ slot="prefix"
1557
+ viewBox="0 0 24 24"
1558
+ width="16"
1559
+ height="16"
1560
+ style="width: 16px; height: 16px;"
1561
+ >
1562
+ <path
1563
+ fill="currentColor"
1564
+ 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"
1565
+ />
1566
+ </svg>
1567
+ File List
1568
+ </terra-menu-item>
1569
+ <terra-menu-item
1570
+ value="python-script"
1571
+ >
1572
+ <svg
1573
+ slot="prefix"
1574
+ viewBox="0 0 128 128"
1575
+ width="16"
1576
+ height="16"
1577
+ style="width: 16px; height: 16px;"
1578
+ >
1579
+ <path
1580
+ fill="currentColor"
1581
+ 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"
1582
+ ></path>
1583
+ </svg>
1584
+ Python Script
1585
+ </terra-menu-item>
1586
+ <terra-menu-item
1587
+ value="earthdata-download"
1588
+ >
1589
+ <svg
1590
+ slot="prefix"
1591
+ viewBox="0 0 64 64"
1592
+ fill="none"
1593
+ width="16"
1594
+ height="16"
1595
+ style="width: 16px; height: 16px;"
1596
+ >
1597
+ <circle
1598
+ cx="32"
1599
+ cy="32"
1600
+ r="28"
1601
+ fill="currentColor"
1602
+ />
1603
+ <path
1604
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
1605
+ stroke="#fff"
1606
+ stroke-width="4"
1607
+ stroke-linecap="round"
1608
+ stroke-linejoin="round"
1609
+ fill="none"
1610
+ />
1611
+ </svg>
1612
+ Earthdata Download
1613
+ </terra-menu-item>
1614
+ </terra-menu>
1615
+ </terra-dropdown>
1616
+
1617
+ <terra-button
1618
+ outline
1619
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
1620
+ >
1621
+ <terra-icon
1622
+ name="outline-code-bracket"
1623
+ library="heroicons"
1624
+ font-size="1.5em"
1625
+ style="margin-right: 5px;"
1626
+ ></terra-icon>
1627
+ Open in Jupyter Notebook
1628
+ </terra-button>
1629
+ </div>
1630
+ ` : E}
1631
+ ${this.controller.currentJob.status === "running" ? x`<button
1632
+ class="btn btn-success"
1633
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
1634
+ ?disabled=${this.cancelingGetData}
1635
+ >
1636
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
1637
+ </button>` : E}
1638
+
1639
+ <div class="job-info">
1640
+ Job ID:
1641
+ <span class="job-id">
1642
+ ${this.bearerToken ? x`<a
1643
+ href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
1644
+ target="_blank"
1645
+ >${this.controller.currentJob.jobID}</a
1646
+ >` : this.controller.currentJob.jobID}
1647
+ </span>
1648
+ <span class="info-icon">?</span>
1649
+ </div>
1650
+ </div>
1651
+ ` : E}
1652
+ `;
1653
+ };
1654
+ _renderSelectedParams = new WeakSet();
1655
+ renderSelectedParams_fn = function() {
1656
+ var _a, _b;
1657
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1658
+ const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
1659
+ const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
1660
+ let spatial = "\u2014";
1661
+ if (this.spatialSelection) {
1662
+ if ("w" in this.spatialSelection) {
1663
+ spatial = `Bounding Box: ${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1664
+ } else if ("lat" in this.spatialSelection && "lng" in this.spatialSelection) {
1665
+ spatial = `Point: ${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1666
+ }
1667
+ }
1668
+ return x`
1669
+ <dl class="params-summary">
1670
+ <div>
1671
+ <dt><strong>Dataset</strong></dt>
1672
+ <dd>${(_b = collection == null ? void 0 : collection.EntryTitle) != null ? _b : "\u2014"}</dd>
1673
+ </div>
1674
+ <div>
1675
+ <dt><strong>Variables</strong></dt>
1676
+ <dd>${variables.map((v) => x`<div>${v}</div>`)}</dd>
1677
+ </div>
1678
+ <div>
1679
+ <dt><strong>Date Range</strong></dt>
1680
+ <dd>${dateRange}</dd>
1681
+ </div>
1682
+ <div>
1683
+ <dt><strong>Spatial</strong></dt>
1684
+ <dd>${spatial}</dd>
1685
+ </div>
1686
+ </dl>
1687
+
1688
+ <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
1689
+ >Refine Parameters</terra-button
1690
+ >
1691
+ `;
1692
+ };
1693
+ _cancelJob = new WeakSet();
1694
+ cancelJob_fn = function() {
1695
+ this.cancelingGetData = true;
1696
+ this.controller.cancelCurrentJob();
1697
+ };
1698
+ _getData = new WeakSet();
1699
+ getData_fn = function() {
1700
+ const validationError = __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1701
+ if (validationError) {
1702
+ this.validationError = validationError;
1703
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1704
+ return;
1705
+ }
1706
+ this.validationError = void 0;
1707
+ this.cancelingGetData = false;
1708
+ __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
1709
+ this.controller.cancelCurrentJob();
1710
+ this.controller.currentJob = null;
1711
+ this.jobId = void 0;
1712
+ this.controller.jobStatusTask.run().then(() => {
1713
+ var _a;
1714
+ if ((_a = this.controller.currentJob) == null ? void 0 : _a.jobID) {
1715
+ this.jobId = this.controller.currentJob.jobID;
1716
+ }
1717
+ });
1718
+ setTimeout(() => {
1719
+ const el = this.renderRoot.querySelector("#job-status-section");
1720
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1721
+ }, 100);
1722
+ this.refineParameters = false;
1723
+ this.isHistoryView = false;
1724
+ };
1725
+ _touchAllFields = new WeakSet();
1726
+ touchAllFields_fn = function() {
1727
+ this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
1728
+ };
1729
+ _numberOfFilesFoundEstimate = new WeakSet();
1730
+ numberOfFilesFoundEstimate_fn = function() {
1731
+ return Math.floor(
1732
+ this.controller.currentJob.numInputGranules * this.controller.currentJob.progress / 100
1733
+ );
1734
+ };
1735
+ _getDocumentationLinks = new WeakSet();
1736
+ getDocumentationLinks_fn = function() {
1737
+ return this.controller.currentJob.links.filter(
1738
+ (link) => link.rel === "stac-catalog-json"
1739
+ );
1740
+ };
1741
+ _getDataLinks = new WeakSet();
1742
+ getDataLinks_fn = function() {
1743
+ return this.controller.currentJob.links.filter((link) => link.rel === "data");
1744
+ };
1745
+ _hasAtLeastOneSubsetOption = new WeakSet();
1746
+ hasAtLeastOneSubsetOption_fn = function() {
1747
+ var _a, _b, _c, _d;
1748
+ 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);
1749
+ };
1750
+ _hasSpatialSubset = new WeakSet();
1751
+ hasSpatialSubset_fn = function() {
1752
+ var _a, _b;
1753
+ return ((_a = this.collectionWithServices) == null ? void 0 : _a.bboxSubset) || ((_b = this.collectionWithServices) == null ? void 0 : _b.shapeSubset);
1754
+ };
1755
+ _renderJobMessage = new WeakSet();
1756
+ renderJobMessage_fn = function() {
1757
+ const warningStatuses = [
1758
+ "canceled" /* CANCELED */,
1759
+ "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
1760
+ "running_with_errors" /* RUNNING_WITH_ERRORS */
1761
+ ];
1762
+ const errorStatuses = ["failed" /* FAILED */];
1763
+ let type = "normal";
1764
+ if (warningStatuses.includes(this.controller.currentJob.status)) {
1765
+ type = "warning";
1766
+ } else if (errorStatuses.includes(this.controller.currentJob.status)) {
1767
+ type = "error";
1768
+ }
1769
+ let color, bg;
1770
+ if (type === "error") {
1771
+ color = "#dc3545";
1772
+ bg = "#f8d7da";
1773
+ } else if (type === "warning") {
1774
+ color = "#856404";
1775
+ bg = "#fff3cd";
1776
+ } else {
1777
+ color = "#555";
1778
+ bg = "#f8f9fa";
1779
+ }
1780
+ return x`
1781
+ <div
1782
+ style="
1783
+ margin: 24px 0 16px 0;
1784
+ padding: 16px 20px;
1785
+ border-radius: 6px;
1786
+ background: ${bg};
1787
+ color: ${color};
1788
+ border: 1px solid ${color}22;
1789
+ "
1790
+ >
1791
+ ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
1792
+ </div>
1793
+ `;
1794
+ };
1795
+ _getJobMessageText = new WeakSet();
1796
+ getJobMessageText_fn = function() {
1797
+ var _a;
1798
+ return (_a = this.controller.currentJob) == null ? void 0 : _a.message.replace(
1799
+ /\b(The job|the job|job|Job)\b/g,
1800
+ (match) => {
1801
+ switch (match) {
1802
+ case "The job":
1803
+ return "Your request";
1804
+ case "the job":
1805
+ return "Your Request";
1806
+ case "job":
1807
+ return "request";
1808
+ case "Job":
1809
+ return "Request";
1810
+ }
1811
+ return match;
1812
+ }
1813
+ );
1814
+ };
1815
+ _estimateJobSize = new WeakSet();
1816
+ estimateJobSize_fn = function() {
1817
+ var _a, _b;
1818
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1819
+ if (!collection)
1820
+ return;
1821
+ const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1822
+ let startDate;
1823
+ let endDate;
1824
+ let links = (_b = collection.granuleCount) != null ? _b : 0;
1825
+ if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
1826
+ startDate = this.selectedDateRange.startDate;
1827
+ endDate = this.selectedDateRange.endDate;
1828
+ } else {
1829
+ startDate = range.startDate;
1830
+ endDate = range.endDate;
1831
+ }
1832
+ if (!startDate || !endDate)
1833
+ return;
1834
+ const start = new Date(startDate);
1835
+ const end = new Date(endDate);
1836
+ const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
1837
+ if (range.startDate && range.endDate) {
1838
+ const availableDaysInCollection = Math.floor(
1839
+ (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
1840
+ ) + 1;
1841
+ const granulesPerDay = links / availableDaysInCollection;
1842
+ links = Math.ceil(days * granulesPerDay);
1843
+ }
1844
+ return { days, links };
1845
+ };
1846
+ _refineParameters = new WeakSet();
1847
+ refineParameters_fn = function() {
1848
+ this.refineParameters = true;
1849
+ };
1850
+ _backToSubsetOptions = new WeakSet();
1851
+ backToSubsetOptions_fn = function() {
1852
+ this.refineParameters = true;
1853
+ setTimeout(() => {
1854
+ const container = this.renderRoot.querySelector(".container");
1855
+ container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
1856
+ }, 100);
1857
+ };
1858
+ _viewRunningJob = new WeakSet();
1859
+ viewRunningJob_fn = function() {
1860
+ this.refineParameters = false;
1861
+ setTimeout(() => {
1862
+ const el = this.renderRoot.querySelector("#job-status-section");
1863
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1864
+ }, 100);
1865
+ };
1866
+ _handleDownloadSelect = new WeakSet();
1867
+ handleDownloadSelect_fn = function(event) {
1868
+ const item = event.detail.item;
1869
+ const value = item.value || item.getTextLabel();
1870
+ if (value === "file-list") {
1871
+ __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
1872
+ } else if (value === "python-script") {
1873
+ __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
1874
+ } else if (value === "earthdata-download") {
1875
+ __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
1876
+ }
1877
+ };
1878
+ _downloadLinksAsTxt = new WeakSet();
1879
+ downloadLinksAsTxt_fn = function(event) {
1880
+ var _a;
1881
+ event.stopPropagation();
1882
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1883
+ return;
1884
+ }
1885
+ const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
1886
+ if (dataLinks.length === 0) {
1887
+ return;
1888
+ }
1889
+ const content = dataLinks.map((link) => link.href).join("\n");
1890
+ const blob = new Blob([content], { type: "text/plain" });
1891
+ const url = URL.createObjectURL(blob);
1892
+ const a = document.createElement("a");
1893
+ a.href = url;
1894
+ a.download = `subset_links_${this.controller.currentJob.jobID}.txt`;
1895
+ document.body.appendChild(a);
1896
+ a.click();
1897
+ document.body.removeChild(a);
1898
+ URL.revokeObjectURL(url);
1899
+ };
1900
+ _downloadPythonScript = new WeakSet();
1901
+ downloadPythonScript_fn = async function(event) {
1902
+ var _a, _b, _c;
1903
+ event.stopPropagation();
1904
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1905
+ return;
1906
+ }
1907
+ const response = await fetch(
1908
+ getBasePath("assets/data-subsetter/download_subset_files.py.txt")
1909
+ );
1910
+ if (!response.ok) {
1911
+ alert(
1912
+ "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
1913
+ );
1914
+ }
1915
+ const content = (await response.text()).replace(/{{jobId}}/gi, this.controller.currentJob.jobID).replace(
1916
+ /{{HARMONY_ENV}}/gi,
1917
+ `Environment.${(_b = this.environment) == null ? void 0 : _b.toUpperCase()}`
1918
+ ).replace(
1919
+ /{{EARTHACCESS_ENV}}/gi,
1920
+ `earthaccess.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
1921
+ );
1922
+ const blob = new Blob([content], { type: "text/plain" });
1923
+ const url = URL.createObjectURL(blob);
1924
+ const a = document.createElement("a");
1925
+ a.href = url;
1926
+ a.download = `download_subset_files_${this.controller.currentJob.jobID}.py`;
1927
+ document.body.appendChild(a);
1928
+ a.click();
1929
+ document.body.removeChild(a);
1930
+ URL.revokeObjectURL(url);
1931
+ };
1932
+ _downloadEarthdataDownload = new WeakSet();
1933
+ downloadEarthdataDownload_fn = async function(event) {
1934
+ var _a;
1935
+ event.stopPropagation();
1936
+ if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1937
+ return;
1938
+ }
1939
+ alert("Sorry, Earthdata Download is not currently supported");
1940
+ };
1941
+ _handleJupyterNotebookClick = new WeakSet();
1942
+ handleJupyterNotebookClick_fn = function() {
1943
+ var _a;
1944
+ const notebook = getNotebook(this);
1945
+ console.log("sending data to JupyterLite");
1946
+ sendDataToJupyterNotebook("load-notebook", {
1947
+ filename: `subset_${(_a = this.controller.currentJob) == null ? void 0 : _a.jobID}.ipynb`,
1948
+ notebook,
1949
+ bearerToken: this.bearerToken
1950
+ });
1951
+ };
1952
+ _renderAvailableTemporalRangeSection = new WeakSet();
1953
+ renderAvailableTemporalRangeSection_fn = function() {
1954
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1955
+ if (!startDate || !endDate)
1956
+ return E;
1957
+ return x`
1958
+ <div class="section" style="margin-bottom: 16px;">
1959
+ <h2 class="section-title">Available Date Range</h2>
1960
+ <div style="color: #31708f; margin-top: 8px;">
1961
+ <strong>${startDate}</strong> to <strong>${endDate}</strong>
1962
+ </div>
1963
+ <div style="font-size: 0.95em; color: #666;">
1964
+ This collection does not support temporal subsetting.
1965
+ </div>
1966
+ </div>
1967
+ `;
1968
+ };
1969
+ _renderAvailableSpatialRangeSection = new WeakSet();
1970
+ renderAvailableSpatialRangeSection_fn = function() {
1971
+ var _a, _b, _c, _d, _e;
1972
+ 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;
1973
+ if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
1974
+ return E;
1975
+ return x`
1976
+ <div class="section" style="margin-bottom: 16px;">
1977
+ <h2 class="section-title">Available Spatial Area</h2>
1978
+ <div style="color: #31708f; margin-top: 8px;">
1979
+ ${boundingRects.map(
1980
+ (rect) => x`<div>
1981
+ <strong>Bounding Box:</strong>
1982
+ ${rect.WestBoundingCoordinate},
1983
+ ${rect.SouthBoundingCoordinate},
1984
+ ${rect.EastBoundingCoordinate},
1985
+ ${rect.NorthBoundingCoordinate}
1986
+ </div>`
1987
+ )}
1988
+ </div>
1989
+ <div style="font-size: 0.95em; color: #666;">
1990
+ This collection does not support spatial subsetting.
1991
+ </div>
1992
+ </div>
1993
+ `;
1994
+ };
1995
+ _renderDataAccessModeSelection = new WeakSet();
1996
+ renderDataAccessModeSelection_fn = function() {
1997
+ return x`
1998
+ <div class="mode-selection">
1999
+ <div class="mode-options">
2000
+ <label
2001
+ class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
2002
+ >
2003
+ <input
2004
+ type="radio"
2005
+ name="data-access-mode"
2006
+ value="original"
2007
+ .checked=${this.dataAccessMode === "original"}
2008
+ @change=${() => this.dataAccessMode = "original"}
2009
+ />
2010
+ <div class="mode-content">
2011
+ <div class="mode-title">Get Original Files</div>
2012
+ <div class="mode-description">
2013
+ Filter file links directly from the archive.
2014
+ </div>
2015
+ </div>
2016
+ </label>
2017
+
2018
+ <label
2019
+ class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
2020
+ >
2021
+ <input
2022
+ type="radio"
2023
+ name="data-access-mode"
2024
+ value="subset"
2025
+ .checked=${this.dataAccessMode === "subset"}
2026
+ @change=${() => this.dataAccessMode = "subset"}
2027
+ />
2028
+ <div class="mode-content">
2029
+ <div class="mode-title">Subset Data</div>
2030
+ <div class="mode-description">
2031
+ Subset the data to your specific needs.
2032
+ </div>
2033
+ </div>
2034
+ </label>
2035
+ </div>
2036
+ </div>
2037
+ `;
2038
+ };
2039
+ _isGiovanniFormat = new WeakSet();
2040
+ isGiovanniFormat_fn = function() {
2041
+ return this.selectedFormat === "text/csv" || this.selectedFormat === "image/tiff";
2042
+ };
2043
+ _getGiovanniValidationError = new WeakSet();
2044
+ getGiovanniValidationError_fn = function() {
2045
+ if (!__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this)) {
2046
+ return null;
2047
+ }
2048
+ if (this.selectedVariables.length === 0) {
2049
+ return "Please select a variable to subset.";
2050
+ }
2051
+ if (this.selectedVariables.length > 1) {
2052
+ return "The selected format only supports subsetting one variable at a time.";
2053
+ }
2054
+ return null;
2055
+ };
2056
+ TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
2057
+ TerraDataSubsetter.dependencies = {
2058
+ "terra-accordion": TerraAccordion,
2059
+ "terra-date-picker": TerraDatePicker,
2060
+ "terra-icon": TerraIcon,
2061
+ "terra-input": TerraInput,
2062
+ "terra-spatial-picker": TerraSpatialPicker,
2063
+ "terra-login": TerraLogin,
2064
+ "terra-loader": TerraLoader,
2065
+ "terra-data-access": TerraDataAccess,
2066
+ "terra-dialog": TerraDialog,
2067
+ "terra-dropdown": TerraDropdown,
2068
+ "terra-menu": TerraMenu,
2069
+ "terra-menu-item": TerraMenuItem,
2070
+ "terra-button": TerraButton
2071
+ };
2072
+ __decorateClass([
2073
+ n({ reflect: true, attribute: "collection-entry-id" })
2074
+ ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
2075
+ __decorateClass([
2076
+ n({ reflect: true, attribute: "short-name" })
2077
+ ], TerraDataSubsetter.prototype, "shortName", 2);
2078
+ __decorateClass([
2079
+ n({ reflect: true, attribute: "version" })
2080
+ ], TerraDataSubsetter.prototype, "version", 2);
2081
+ __decorateClass([
2082
+ n({ reflect: true, type: Boolean, attribute: "show-collection-search" })
2083
+ ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
2084
+ __decorateClass([
2085
+ n({ reflect: true, type: Boolean, attribute: "show-history-panel" })
2086
+ ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
2087
+ __decorateClass([
2088
+ n({ reflect: true, attribute: "job-id" })
2089
+ ], TerraDataSubsetter.prototype, "jobId", 2);
2090
+ __decorateClass([
2091
+ n({ attribute: "bearer-token" })
2092
+ ], TerraDataSubsetter.prototype, "bearerToken", 2);
2093
+ __decorateClass([
2094
+ n({ reflect: true })
2095
+ ], TerraDataSubsetter.prototype, "dialog", 2);
2096
+ __decorateClass([
2097
+ n({ reflect: true, type: Boolean, attribute: "is-history-view" })
2098
+ ], TerraDataSubsetter.prototype, "isHistoryView", 2);
2099
+ __decorateClass([
2100
+ r()
2101
+ ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
2102
+ __decorateClass([
2103
+ r()
2104
+ ], TerraDataSubsetter.prototype, "selectedVariables", 2);
2105
+ __decorateClass([
2106
+ r()
2107
+ ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
2108
+ __decorateClass([
2109
+ r()
2110
+ ], TerraDataSubsetter.prototype, "variableFilterText", 2);
2111
+ __decorateClass([
2112
+ r()
2113
+ ], TerraDataSubsetter.prototype, "touchedFields", 2);
2114
+ __decorateClass([
2115
+ r()
2116
+ ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2117
+ __decorateClass([
2118
+ r()
2119
+ ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2120
+ __decorateClass([
2121
+ r()
2122
+ ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2123
+ __decorateClass([
2124
+ r()
2125
+ ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2126
+ __decorateClass([
2127
+ r()
2128
+ ], TerraDataSubsetter.prototype, "selectedTab", 2);
2129
+ __decorateClass([
2130
+ r()
2131
+ ], TerraDataSubsetter.prototype, "refineParameters", 2);
2132
+ __decorateClass([
2133
+ r()
2134
+ ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2135
+ __decorateClass([
2136
+ r()
2137
+ ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2138
+ __decorateClass([
2139
+ r()
2140
+ ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2141
+ __decorateClass([
2142
+ r()
2143
+ ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2144
+ __decorateClass([
2145
+ r()
2146
+ ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2147
+ __decorateClass([
2148
+ r()
2149
+ ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2150
+ __decorateClass([
2151
+ r()
2152
+ ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2153
+ __decorateClass([
2154
+ r()
2155
+ ], TerraDataSubsetter.prototype, "validationError", 2);
2156
+ __decorateClass([
2157
+ e('[part~="spatial-picker"]')
2158
+ ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2159
+ __decorateClass([
2160
+ e("terra-dialog")
2161
+ ], TerraDataSubsetter.prototype, "dialogElement", 2);
2162
+ __decorateClass([
2163
+ watch(["jobId"], { waitUntilFirstUpdate: true })
2164
+ ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2165
+ __decorateClass([
2166
+ watch(["shortName", "version"])
2167
+ ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2168
+ __decorateClass([
2169
+ watch("collectionEntryId", { waitUntilFirstUpdate: true })
2170
+ ], TerraDataSubsetter.prototype, "collectionEntryIdChanged", 1);
2171
+ __decorateClass([
2172
+ watch(["collectionWithServices"])
2173
+ ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2174
+ __decorateClass([
2175
+ watch("selectedFormat")
2176
+ ], TerraDataSubsetter.prototype, "selectedFormatChanged", 1);
2177
+ __decorateClass([
2178
+ debounce(500)
2179
+ ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2180
+
2181
+ export {
2182
+ TerraDataSubsetter
2183
+ };