@nasa-terra/components 0.0.199 → 0.0.201

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 (1224) hide show
  1. package/cdn/chunks/chunk.2AZHW3NI.js +62 -0
  2. package/cdn/chunks/chunk.2GMJRLYQ.js +604 -0
  3. package/cdn/chunks/chunk.2QUVRAPY.js +19 -0
  4. package/cdn/chunks/chunk.2RIKRQ4D.js +19 -0
  5. package/cdn/chunks/chunk.2RWUR2JL.js +2546 -0
  6. package/cdn/chunks/chunk.2TQCFJVQ.js +29 -0
  7. package/cdn/chunks/chunk.3256UFRN.js +19 -0
  8. package/cdn/chunks/chunk.37QVOESQ.js +29 -0
  9. package/cdn/chunks/chunk.3INLH7LI.js +19 -0
  10. package/cdn/chunks/chunk.3PO7VXAW.js +138 -0
  11. package/cdn/chunks/chunk.3TFI26OB.js +49 -0
  12. package/cdn/chunks/chunk.3VHEYP2M.js +92 -0
  13. package/cdn/chunks/chunk.3VP3WQPD.js +364 -0
  14. package/cdn/chunks/chunk.4ANCA534.js +19 -0
  15. package/cdn/chunks/chunk.4IZ5QWCL.js +592 -0
  16. package/cdn/chunks/chunk.4QPOAJXP.js +29 -0
  17. package/cdn/chunks/chunk.4RKSH72J.js +19 -0
  18. package/cdn/chunks/chunk.4WUKLOQ3.js +36 -0
  19. package/cdn/chunks/chunk.4WZ65Q23.js +74 -0
  20. package/cdn/chunks/chunk.53W5YWTO.js +158 -0
  21. package/cdn/chunks/chunk.57DIZPDI.js +29 -0
  22. package/cdn/chunks/chunk.5DHLUBMH.js +19 -0
  23. package/cdn/chunks/chunk.5GXIKSYC.js +657 -0
  24. package/cdn/chunks/chunk.5JPWHGTQ.js +29 -0
  25. package/cdn/chunks/chunk.5TICVM3P.js +19 -0
  26. package/cdn/chunks/chunk.5VJNHYYD.js +171 -0
  27. package/cdn/chunks/chunk.6CELGCID.js +155 -0
  28. package/cdn/chunks/chunk.6DHAZ6DZ.js +29 -0
  29. package/cdn/chunks/chunk.6T4SSHKA.js +32 -0
  30. package/cdn/chunks/chunk.6UXUUG3J.js +29 -0
  31. package/cdn/chunks/chunk.6YTKJIW2.js +443 -0
  32. package/cdn/chunks/chunk.6ZQMKTYA.js +19 -0
  33. package/cdn/chunks/chunk.72ZIJXV2.js +29 -0
  34. package/cdn/chunks/chunk.7HFVI6VA.js +29 -0
  35. package/cdn/chunks/chunk.7NVKHDK7.js +34 -0
  36. package/cdn/chunks/chunk.7P4E5GVO.js +78 -0
  37. package/cdn/chunks/chunk.ABNQAMWH.js +29 -0
  38. package/cdn/chunks/chunk.ALANM6HV.js +29 -0
  39. package/cdn/chunks/chunk.APOEQA6N.js +157 -0
  40. package/cdn/chunks/chunk.APRNEJDQ.js +230 -0
  41. package/cdn/chunks/chunk.AXFNHOSM.js +377 -0
  42. package/cdn/chunks/chunk.B2YIDU6U.js +29 -0
  43. package/cdn/chunks/chunk.BD4TYZWL.js +29 -0
  44. package/cdn/chunks/chunk.BPF4UJ52.js +134 -0
  45. package/cdn/chunks/chunk.BRQN3F2C.js +29 -0
  46. package/cdn/chunks/chunk.BVACLOKI.js +110 -0
  47. package/cdn/chunks/chunk.BYQ7ST2W.js +36 -0
  48. package/cdn/chunks/chunk.BZE5ZJ7T.js +123 -0
  49. package/cdn/chunks/chunk.C3CXYQKB.js +33 -0
  50. package/cdn/chunks/chunk.CCXE3ZLE.js +19 -0
  51. package/cdn/chunks/chunk.CFT6E372.js +19 -0
  52. package/cdn/chunks/chunk.CLNHUTGL.js +29 -0
  53. package/cdn/chunks/chunk.CLOSWCHA.js +279 -0
  54. package/cdn/chunks/chunk.CONT7QQX.js +29 -0
  55. package/cdn/chunks/chunk.DDBQOGIU.js +19 -0
  56. package/cdn/chunks/chunk.DIPU6IVU.js +19 -0
  57. package/cdn/chunks/chunk.DLCPWY67.js +190 -0
  58. package/cdn/chunks/chunk.DVMT42BQ.js +19 -0
  59. package/cdn/chunks/chunk.DZ3OSXLA.js +4735 -0
  60. package/cdn/chunks/chunk.E2ZS4UCS.js +32 -0
  61. package/cdn/chunks/chunk.EBQRJIE5.js +60 -0
  62. package/cdn/chunks/chunk.ECFWW5YT.js +93 -0
  63. package/cdn/chunks/chunk.EQS2M33G.js +19 -0
  64. package/cdn/chunks/chunk.EQWU6TVV.js +32 -0
  65. package/cdn/chunks/chunk.F3CODGFM.js +616 -0
  66. package/cdn/chunks/chunk.F3JEW22I.js +231 -0
  67. package/cdn/chunks/chunk.FDRGXPIF.js +19 -0
  68. package/cdn/chunks/chunk.FJCZ7YZ4.js +33 -0
  69. package/cdn/chunks/chunk.FKBBPBGA.js +19 -0
  70. package/cdn/chunks/chunk.FPUUQBZB.js +19 -0
  71. package/cdn/chunks/chunk.FQM5CI7F.js +113 -0
  72. package/cdn/chunks/chunk.G352BK7Q.js +60 -0
  73. package/cdn/chunks/chunk.G5NIUPHF.js +33 -0
  74. package/cdn/chunks/chunk.GOVZIEZD.js +19 -0
  75. package/cdn/chunks/chunk.GP723IDG.js +36 -0
  76. package/cdn/chunks/chunk.GWUHRDWF.js +29 -0
  77. package/cdn/chunks/chunk.GX64WIPT.js +19 -0
  78. package/cdn/chunks/chunk.HB4UBTFX.js +68 -0
  79. package/cdn/chunks/chunk.HITOJASR.js +19 -0
  80. package/cdn/chunks/chunk.HLNDVCZM.js +37 -0
  81. package/cdn/chunks/chunk.HS75CIWK.js +276 -0
  82. package/cdn/chunks/chunk.HSMS2PHV.js +32 -0
  83. package/cdn/chunks/chunk.I4ACRUKD.js +293 -0
  84. package/cdn/chunks/chunk.I4SNTEYK.js +19 -0
  85. package/cdn/chunks/chunk.I5LNSGSR.js +33 -0
  86. package/cdn/chunks/chunk.IQFL4UVO.js +904 -0
  87. package/cdn/chunks/chunk.ISZYSNVF.js +672 -0
  88. package/cdn/chunks/chunk.ITHFDF55.js +278 -0
  89. package/cdn/chunks/chunk.IUZGXCFV.js +36 -0
  90. package/cdn/chunks/chunk.IYPNNII2.js +29 -0
  91. package/cdn/chunks/chunk.J35CXQX4.js +35 -0
  92. package/cdn/chunks/chunk.JKELJKO6.js +110 -0
  93. package/cdn/chunks/chunk.JLBHVHJZ.js +19 -0
  94. package/cdn/chunks/chunk.KD5JYCKL.js +543 -0
  95. package/cdn/chunks/chunk.KJPGPJFX.js +71 -0
  96. package/cdn/chunks/chunk.KKPE3KJC.js +19 -0
  97. package/cdn/chunks/chunk.KL5PSKJ3.js +19 -0
  98. package/cdn/chunks/chunk.KM6WWUYU.js +77 -0
  99. package/cdn/chunks/chunk.KNVPVYYS.js +29 -0
  100. package/cdn/chunks/chunk.KQHMVEVR.js +19 -0
  101. package/cdn/chunks/chunk.KS4PDYVB.js +19 -0
  102. package/cdn/chunks/chunk.KTNBBFGU.js +37 -0
  103. package/cdn/chunks/chunk.LA3ELYF2.js +19 -0
  104. package/cdn/chunks/chunk.LBDJC6N7.js +162 -0
  105. package/cdn/chunks/chunk.LH3S2EVK.js +82 -0
  106. package/cdn/chunks/chunk.LYBKYZKO.js +29 -0
  107. package/cdn/chunks/chunk.LZVY5UIW.js +33 -0
  108. package/cdn/chunks/chunk.ME4DWNTC.js +32 -0
  109. package/cdn/chunks/chunk.MHWLH2X2.js +32 -0
  110. package/cdn/chunks/chunk.MHZAMQFI.js +19 -0
  111. package/cdn/chunks/chunk.MMXLHYWT.js +19 -0
  112. package/cdn/chunks/chunk.MY2CZEMK.js +19 -0
  113. package/cdn/chunks/chunk.N6FMFL73.js +19 -0
  114. package/cdn/chunks/chunk.NDOUQ2RH.js +266 -0
  115. package/cdn/chunks/chunk.NEYV3XJQ.js +35 -0
  116. package/cdn/chunks/chunk.NK2VQYCD.js +19 -0
  117. package/cdn/chunks/chunk.NLGMTKSB.js +29 -0
  118. package/cdn/chunks/chunk.NQAEXDQX.js +19 -0
  119. package/cdn/chunks/chunk.O4MJ2UGE.js +104 -0
  120. package/cdn/chunks/chunk.OF2T7LUM.js +537 -0
  121. package/cdn/chunks/chunk.OF6PNEJD.js +32 -0
  122. package/cdn/chunks/chunk.OIH73AFM.js +234 -0
  123. package/cdn/chunks/chunk.OLXQEEYH.js +19 -0
  124. package/cdn/chunks/chunk.OO4PLPM5.js +35 -0
  125. package/cdn/chunks/chunk.OSW2S3HY.js +29 -0
  126. package/cdn/chunks/chunk.OZNAXXFV.js +83 -0
  127. package/cdn/chunks/chunk.P2RIMCQC.js +19 -0
  128. package/cdn/chunks/chunk.P5SSS2YU.js +19 -0
  129. package/cdn/chunks/chunk.PC5Q3XD2.js +32 -0
  130. package/cdn/chunks/chunk.PCBCYIUF.js +359 -0
  131. package/cdn/chunks/chunk.PEVHCSWS.js +259 -0
  132. package/cdn/chunks/chunk.PGBGELPU.js +19 -0
  133. package/cdn/chunks/chunk.PZUVUD4C.js +93 -0
  134. package/cdn/chunks/chunk.Q37FMCC3.js +19 -0
  135. package/cdn/chunks/chunk.QBJMGAXS.js +36 -0
  136. package/cdn/chunks/chunk.QDBZMPOJ.js +34 -0
  137. package/cdn/chunks/chunk.QE27S3FT.js +99 -0
  138. package/cdn/chunks/chunk.QIF6JAMD.js +32 -0
  139. package/cdn/chunks/chunk.QK5H576L.js +19 -0
  140. package/cdn/chunks/chunk.QKRKOCEG.js +19 -0
  141. package/cdn/chunks/chunk.QOCVNKUN.js +19 -0
  142. package/cdn/chunks/chunk.QU5D626U.js +2785 -0
  143. package/cdn/chunks/chunk.QUHOX7DO.js +132 -0
  144. package/cdn/chunks/chunk.QZ742FD3.js +136 -0
  145. package/cdn/chunks/chunk.R22WNQCM.js +47 -0
  146. package/cdn/chunks/chunk.RE2CJ7YH.js +19 -0
  147. package/cdn/chunks/chunk.RFMVAVIU.js +19 -0
  148. package/cdn/chunks/chunk.S5GCTGG7.js +1197 -0
  149. package/cdn/chunks/chunk.S7XSFZJS.js +19 -0
  150. package/cdn/chunks/chunk.SDL6C2BY.js +29 -0
  151. package/cdn/chunks/chunk.SG346VAC.js +19 -0
  152. package/cdn/chunks/chunk.SJJJM2KO.js +1975 -0
  153. package/cdn/chunks/chunk.SOZG2CSG.js +35 -0
  154. package/cdn/chunks/chunk.SVX6KHIC.js +19 -0
  155. package/cdn/chunks/chunk.SXAPJEFP.js +19 -0
  156. package/cdn/chunks/chunk.T3ZZETWY.js +29 -0
  157. package/cdn/chunks/chunk.T77IGYGR.js +277 -0
  158. package/cdn/chunks/chunk.T77TS7NG.js +29 -0
  159. package/cdn/chunks/chunk.TKLGDSNB.js +32 -0
  160. package/cdn/chunks/chunk.TOZVAUH5.js +32 -0
  161. package/cdn/chunks/chunk.TTA6HRE7.js +195 -0
  162. package/cdn/chunks/chunk.TUA7GHST.js +41 -0
  163. package/cdn/chunks/chunk.TYYRLI6T.js +224 -0
  164. package/cdn/chunks/chunk.UCEUICXD.js +32 -0
  165. package/cdn/chunks/chunk.UTIEUVYR.js +29 -0
  166. package/cdn/chunks/chunk.UYJBFTUW.js +32 -0
  167. package/cdn/chunks/chunk.V2BU4ULP.js +19 -0
  168. package/cdn/chunks/chunk.VPJPXQTQ.js +86 -0
  169. package/cdn/chunks/chunk.VPKGODYM.js +29 -0
  170. package/cdn/chunks/chunk.VTAXQ44I.js +19 -0
  171. package/cdn/chunks/chunk.VVRBAIQH.js +298 -0
  172. package/cdn/chunks/chunk.W3V3JBEX.js +610 -0
  173. package/cdn/chunks/chunk.WBDZUWI4.js +39 -0
  174. package/cdn/chunks/chunk.WBPEC2QG.js +30 -0
  175. package/cdn/chunks/chunk.WE64K3PB.js +19 -0
  176. package/cdn/chunks/chunk.WGWOVD57.js +19 -0
  177. package/cdn/chunks/chunk.WN3NVSSV.js +19 -0
  178. package/cdn/chunks/chunk.WTQZTCXG.js +29 -0
  179. package/cdn/chunks/chunk.X3EOJIS4.js +19 -0
  180. package/cdn/chunks/chunk.XIZSOVIX.js +538 -0
  181. package/cdn/chunks/chunk.XUSCJW4Z.js +19 -0
  182. package/cdn/chunks/chunk.XXKTPJUJ.js +32 -0
  183. package/cdn/chunks/chunk.Y24AJWBF.js +188 -0
  184. package/cdn/chunks/chunk.Y47VOCWI.js +19 -0
  185. package/cdn/chunks/chunk.Y4AR4VW3.js +19 -0
  186. package/cdn/chunks/chunk.YERKS624.js +478 -0
  187. package/cdn/chunks/chunk.YLAYVE6G.js +19 -0
  188. package/cdn/chunks/chunk.YLO4GLWT.js +29 -0
  189. package/cdn/chunks/chunk.YMLP3KAW.js +56075 -0
  190. package/cdn/chunks/chunk.YNFYX3XA.js +524 -0
  191. package/cdn/chunks/chunk.YVFRSQES.js +357 -0
  192. package/cdn/chunks/chunk.Z4Q5VENB.js +106 -0
  193. package/cdn/chunks/chunk.Z7XRAEG4.js +631 -0
  194. package/cdn/chunks/chunk.ZAECK6UU.js +19 -0
  195. package/cdn/chunks/chunk.ZAL2LRND.js +310 -0
  196. package/cdn/chunks/chunk.ZB55PYP4.js +35 -0
  197. package/cdn/chunks/chunk.ZB55WF62.js +19 -0
  198. package/cdn/chunks/chunk.ZBPPZNDS.js +19 -0
  199. package/cdn/chunks/chunk.ZEF6TAO2.js +925 -0
  200. package/cdn/chunks/chunk.ZG5ZKC6Y.js +81 -0
  201. package/cdn/chunks/chunk.ZK2VIBZG.js +19 -0
  202. package/cdn/chunks/chunk.ZPKUIM2L.js +151 -0
  203. package/cdn/chunks/chunk.ZX757SO6.js +29 -0
  204. package/cdn/chunks/chunk.ZZY7TXJ7.js +19 -0
  205. package/cdn/components/accordion/accordion.component.js +5 -5
  206. package/cdn/components/accordion/accordion.js +6 -6
  207. package/cdn/components/alert/alert.component.js +3 -3
  208. package/cdn/components/alert/alert.js +4 -4
  209. package/cdn/components/avatar/avatar.component.js +7 -7
  210. package/cdn/components/avatar/avatar.js +8 -8
  211. package/cdn/components/badge/badge.component.js +2 -2
  212. package/cdn/components/badge/badge.js +3 -3
  213. package/cdn/components/banner/banner.component.js +3 -3
  214. package/cdn/components/banner/banner.js +4 -4
  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 +19 -19
  220. package/cdn/components/browse-variables/browse-variables.js +20 -20
  221. package/cdn/components/button/button.component.js +8 -8
  222. package/cdn/components/button/button.js +9 -9
  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 +8 -8
  230. package/cdn/components/checkbox/checkbox.js +9 -9
  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 +6 -6
  234. package/cdn/components/combobox/combobox.js +7 -7
  235. package/cdn/components/data-access/data-access.component.js +33 -33
  236. package/cdn/components/data-access/data-access.js +34 -34
  237. package/cdn/components/data-grid/data-grid.component.js +5 -5
  238. package/cdn/components/data-grid/data-grid.js +6 -6
  239. package/cdn/components/data-rods/data-rods.component.js +40 -40
  240. package/cdn/components/data-rods/data-rods.js +41 -41
  241. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +2 -1
  242. package/cdn/components/data-subsetter/data-subsetter.component.js +42 -42
  243. package/cdn/components/data-subsetter/data-subsetter.js +43 -43
  244. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  245. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +43 -43
  246. package/cdn/components/data-subsetter-history/data-subsetter-history.js +44 -44
  247. package/cdn/components/date-picker/date-picker.component.js +17 -17
  248. package/cdn/components/date-picker/date-picker.js +18 -18
  249. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  250. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  251. package/cdn/components/dialog/dialog.component.js +10 -10
  252. package/cdn/components/dialog/dialog.js +11 -11
  253. package/cdn/components/divider/divider.component.js +2 -2
  254. package/cdn/components/divider/divider.js +3 -3
  255. package/cdn/components/dropdown/dropdown.component.js +4 -4
  256. package/cdn/components/dropdown/dropdown.js +5 -5
  257. package/cdn/components/earthdata-login/earthdata-login.component.js +16 -16
  258. package/cdn/components/earthdata-login/earthdata-login.js +17 -17
  259. package/cdn/components/file-upload/file-upload.component.js +2 -2
  260. package/cdn/components/file-upload/file-upload.js +3 -3
  261. package/cdn/components/harmony-history/harmony-history.component.js +10 -10
  262. package/cdn/components/harmony-history/harmony-history.js +11 -11
  263. package/cdn/components/icon/icon.component.js +3 -3
  264. package/cdn/components/icon/icon.js +4 -4
  265. package/cdn/components/input/input.component.js +8 -8
  266. package/cdn/components/input/input.js +9 -9
  267. package/cdn/components/loader/loader.component.js +2 -2
  268. package/cdn/components/loader/loader.js +3 -3
  269. package/cdn/components/login/login.component.js +13 -13
  270. package/cdn/components/login/login.js +14 -14
  271. package/cdn/components/map/map.component.js +6 -6
  272. package/cdn/components/map/map.js +7 -7
  273. package/cdn/components/map/map.service.js +1 -1
  274. package/cdn/components/menu/menu.component.js +2 -2
  275. package/cdn/components/menu/menu.js +3 -3
  276. package/cdn/components/menu-item/menu-item.component.js +11 -11
  277. package/cdn/components/menu-item/menu-item.js +12 -12
  278. package/cdn/components/menu-item/submenu-controller.js +3 -3
  279. package/cdn/components/option/option.component.js +6 -6
  280. package/cdn/components/option/option.js +7 -7
  281. package/cdn/components/pagination/pagination.component.js +6 -6
  282. package/cdn/components/pagination/pagination.js +7 -7
  283. package/cdn/components/plot/plot.component.js +2 -2
  284. package/cdn/components/plot/plot.js +3 -3
  285. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  286. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  287. package/cdn/components/plot-toolbar/plot-toolbar.component.js +20 -20
  288. package/cdn/components/plot-toolbar/plot-toolbar.js +21 -21
  289. package/cdn/components/popup/popup.component.js +2 -2
  290. package/cdn/components/popup/popup.js +3 -3
  291. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  292. package/cdn/components/progress-bar/progress-bar.js +3 -3
  293. package/cdn/components/radio/radio.component.js +4 -4
  294. package/cdn/components/radio/radio.js +5 -5
  295. package/cdn/components/radio-group/radio-group.component.js +2 -2
  296. package/cdn/components/radio-group/radio-group.js +3 -3
  297. package/cdn/components/scroll-hint/scroll-hint.component.js +6 -6
  298. package/cdn/components/scroll-hint/scroll-hint.js +7 -7
  299. package/cdn/components/select/select.component.js +10 -10
  300. package/cdn/components/select/select.js +11 -11
  301. package/cdn/components/site-header/site-header.component.js +5 -5
  302. package/cdn/components/site-header/site-header.js +5 -5
  303. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  304. package/cdn/components/site-navigation/site-navigation.js +2 -2
  305. package/cdn/components/skeleton/skeleton.component.js +2 -2
  306. package/cdn/components/skeleton/skeleton.js +3 -3
  307. package/cdn/components/slider/slider.component.js +2 -2
  308. package/cdn/components/slider/slider.js +3 -3
  309. package/cdn/components/spatial-picker/spatial-picker.component.js +19 -19
  310. package/cdn/components/spatial-picker/spatial-picker.js +20 -20
  311. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  312. package/cdn/components/status-indicator/status-indicator.js +3 -3
  313. package/cdn/components/stepper/stepper.component.js +2 -2
  314. package/cdn/components/stepper/stepper.js +3 -3
  315. package/cdn/components/stepper-step/stepper-step.component.js +6 -6
  316. package/cdn/components/stepper-step/stepper-step.js +7 -7
  317. package/cdn/components/tab/tab.component.js +6 -6
  318. package/cdn/components/tab/tab.js +7 -7
  319. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  320. package/cdn/components/tab-panel/tab-panel.js +3 -3
  321. package/cdn/components/tabs/tabs.component.js +6 -6
  322. package/cdn/components/tabs/tabs.js +7 -7
  323. package/cdn/components/tag/tag.component.js +6 -6
  324. package/cdn/components/tag/tag.js +7 -7
  325. package/cdn/components/textarea/textarea.component.js +4 -4
  326. package/cdn/components/textarea/textarea.js +5 -5
  327. package/cdn/components/time-average-map/time-average-map.component.js +26 -26
  328. package/cdn/components/time-average-map/time-average-map.js +27 -27
  329. package/cdn/components/time-series/time-series.component.js +26 -26
  330. package/cdn/components/time-series/time-series.js +27 -27
  331. package/cdn/components/toast/toast.component.js +4 -4
  332. package/cdn/components/toast/toast.js +5 -5
  333. package/cdn/components/toggle/toggle.component.js +4 -4
  334. package/cdn/components/toggle/toggle.js +5 -5
  335. package/cdn/components/tooltip/tooltip.component.js +3 -3
  336. package/cdn/components/tooltip/tooltip.js +4 -4
  337. package/cdn/components/variable-combobox/lib.js +3 -3
  338. package/cdn/components/variable-combobox/variable-combobox.component.js +18 -18
  339. package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
  340. package/cdn/components/variable-combobox/variable-combobox.js +19 -19
  341. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +13 -13
  342. package/cdn/components/variable-keyword-search/variable-keyword-search.js +14 -14
  343. package/cdn/custom-elements.json +8747 -8730
  344. package/cdn/react/accordion/index.js +6 -6
  345. package/cdn/react/alert/index.js +4 -4
  346. package/cdn/react/avatar/index.js +8 -8
  347. package/cdn/react/badge/index.js +3 -3
  348. package/cdn/react/banner/index.js +4 -4
  349. package/cdn/react/breadcrumb/index.js +3 -3
  350. package/cdn/react/breadcrumbs/index.js +3 -3
  351. package/cdn/react/browse-variables/index.js +20 -20
  352. package/cdn/react/button/index.js +9 -9
  353. package/cdn/react/button-group/index.js +3 -3
  354. package/cdn/react/caption/index.js +3 -3
  355. package/cdn/react/card/index.js +3 -3
  356. package/cdn/react/checkbox/index.js +9 -9
  357. package/cdn/react/chip/index.js +3 -3
  358. package/cdn/react/combobox/index.js +7 -7
  359. package/cdn/react/data-access/index.js +34 -34
  360. package/cdn/react/data-grid/index.js +6 -6
  361. package/cdn/react/data-rods/index.js +41 -41
  362. package/cdn/react/data-subsetter/index.js +43 -43
  363. package/cdn/react/data-subsetter-history/index.js +44 -44
  364. package/cdn/react/date-picker/index.js +18 -18
  365. package/cdn/react/date-range-slider/index.js +3 -3
  366. package/cdn/react/dialog/index.js +11 -11
  367. package/cdn/react/divider/index.js +3 -3
  368. package/cdn/react/dropdown/index.js +5 -5
  369. package/cdn/react/earthdata-login/index.js +17 -17
  370. package/cdn/react/file-upload/index.js +3 -3
  371. package/cdn/react/harmony-history/index.js +11 -11
  372. package/cdn/react/icon/index.js +4 -4
  373. package/cdn/react/index.d.ts +21 -21
  374. package/cdn/react/index.js +218 -218
  375. package/cdn/react/input/index.js +9 -9
  376. package/cdn/react/loader/index.js +3 -3
  377. package/cdn/react/login/index.js +14 -14
  378. package/cdn/react/map/index.js +7 -7
  379. package/cdn/react/menu/index.js +3 -3
  380. package/cdn/react/menu-item/index.js +12 -12
  381. package/cdn/react/option/index.js +7 -7
  382. package/cdn/react/pagination/index.js +7 -7
  383. package/cdn/react/plot/index.js +3 -3
  384. package/cdn/react/plot-toolbar/index.js +21 -21
  385. package/cdn/react/popup/index.js +3 -3
  386. package/cdn/react/progress-bar/index.js +3 -3
  387. package/cdn/react/radio/index.js +5 -5
  388. package/cdn/react/radio-group/index.js +3 -3
  389. package/cdn/react/scroll-hint/index.js +7 -7
  390. package/cdn/react/select/index.js +11 -11
  391. package/cdn/react/site-header/index.js +6 -6
  392. package/cdn/react/site-navigation/index.js +3 -3
  393. package/cdn/react/skeleton/index.js +3 -3
  394. package/cdn/react/slider/index.js +3 -3
  395. package/cdn/react/spatial-picker/index.js +20 -20
  396. package/cdn/react/status-indicator/index.js +3 -3
  397. package/cdn/react/stepper/index.js +3 -3
  398. package/cdn/react/stepper-step/index.js +7 -7
  399. package/cdn/react/tab/index.js +7 -7
  400. package/cdn/react/tab-panel/index.js +3 -3
  401. package/cdn/react/tabs/index.js +7 -7
  402. package/cdn/react/tag/index.js +7 -7
  403. package/cdn/react/textarea/index.js +5 -5
  404. package/cdn/react/time-average-map/index.js +27 -27
  405. package/cdn/react/time-series/index.js +27 -27
  406. package/cdn/react/toast/index.js +5 -5
  407. package/cdn/react/toggle/index.js +5 -5
  408. package/cdn/react/tooltip/index.js +4 -4
  409. package/cdn/react/variable-combobox/index.js +19 -19
  410. package/cdn/react/variable-keyword-search/index.js +14 -14
  411. package/cdn/terra-ui-components.js +213 -213
  412. package/cdn/types/vue/index.d.ts +887 -885
  413. package/cdn/vscode.html-custom-data.json +573 -573
  414. package/cdn/web-types.json +1712 -1711
  415. package/dist/chunks/chunk.23NZQGRT.js +26 -0
  416. package/dist/chunks/chunk.25LMYNO6.js +1 -0
  417. package/dist/chunks/chunk.2AFZ4ARB.js +1 -0
  418. package/dist/chunks/chunk.2GLLXBJI.js +1 -0
  419. package/dist/chunks/chunk.2HEYUFOC.js +1 -0
  420. package/dist/chunks/chunk.2HRPOSAW.js +5 -0
  421. package/dist/chunks/chunk.2HYEGGTW.js +17 -0
  422. package/dist/chunks/chunk.2JC7JHZQ.js +1 -0
  423. package/dist/chunks/chunk.2RX4X5D6.js +26 -0
  424. package/dist/chunks/chunk.34NWE6KP.js +1 -0
  425. package/dist/chunks/chunk.35CT445R.js +1 -0
  426. package/dist/chunks/chunk.36DCFNTD.js +24 -0
  427. package/dist/chunks/chunk.37FNACA5.js +1 -0
  428. package/dist/chunks/chunk.3E7UOH46.js +148 -0
  429. package/dist/chunks/chunk.3EIUZOLJ.js +1 -0
  430. package/dist/chunks/chunk.3KWNJCLE.js +1 -0
  431. package/dist/chunks/chunk.3QTUEAKY.js +1 -0
  432. package/dist/chunks/chunk.4EHWIMWP.js +65 -0
  433. package/dist/chunks/chunk.4GSSSX5K.js +1 -0
  434. package/dist/chunks/chunk.4INVPZ4B.js +1 -0
  435. package/dist/chunks/chunk.4RSDXTE3.js +1 -0
  436. package/dist/chunks/chunk.5AGEL4Y7.js +1 -0
  437. package/dist/chunks/chunk.5AY4IN2U.js +64 -0
  438. package/dist/chunks/chunk.5ELCXOSZ.js +20 -0
  439. package/dist/chunks/chunk.5J4GWMK2.js +5 -0
  440. package/dist/chunks/chunk.5LCXFZBL.js +1 -0
  441. package/dist/chunks/chunk.5PUJ3GGM.js +1 -0
  442. package/dist/chunks/chunk.5WUDBUFM.js +121 -0
  443. package/dist/chunks/chunk.6AE62EEA.js +1 -0
  444. package/dist/chunks/chunk.6KBVEVQN.js +1 -0
  445. package/dist/chunks/chunk.6XPB3NC3.js +1 -0
  446. package/dist/chunks/chunk.723PPKYV.js +100 -0
  447. package/dist/chunks/chunk.72J3EWDY.js +1 -0
  448. package/dist/chunks/chunk.7DH5DXSD.js +1 -0
  449. package/dist/chunks/chunk.7DL3RYTX.js +1 -0
  450. package/dist/chunks/chunk.7NEQBVYI.js +1 -0
  451. package/dist/chunks/chunk.7WW4MTNQ.js +1 -0
  452. package/dist/chunks/chunk.ACP4UQR3.js +1 -0
  453. package/dist/chunks/chunk.AD4FEYOU.js +1 -0
  454. package/dist/chunks/chunk.AE7IKEFE.js +154 -0
  455. package/dist/chunks/chunk.AEWY4FNM.js +572 -0
  456. package/dist/chunks/chunk.ANQY2H66.js +1 -0
  457. package/dist/chunks/chunk.ASPHVAUZ.js +1 -0
  458. package/dist/chunks/chunk.AVGVZ2NM.js +1 -0
  459. package/dist/chunks/chunk.AYLNZ7NR.js +1 -0
  460. package/dist/chunks/chunk.BHKRAHOT.js +1 -0
  461. package/dist/chunks/chunk.BKHW3UZ4.js +300 -0
  462. package/dist/chunks/chunk.BLDN6BDB.js +1 -0
  463. package/dist/chunks/chunk.BZ6AZX3T.js +37 -0
  464. package/dist/chunks/chunk.C7IF2K5M.js +11 -0
  465. package/dist/chunks/chunk.CJSMISIQ.js +1 -0
  466. package/dist/chunks/chunk.D7IDH3Z5.js +1 -0
  467. package/dist/chunks/chunk.DBE5GOUX.js +1 -0
  468. package/dist/chunks/chunk.DDYKQXQN.js +1 -0
  469. package/dist/chunks/chunk.DFMIH7QL.js +1 -0
  470. package/dist/chunks/chunk.DGQ7WR3U.js +113 -0
  471. package/dist/chunks/chunk.DJ2CW4TV.js +1 -0
  472. package/dist/chunks/chunk.DKJTLO5D.js +75 -0
  473. package/dist/chunks/chunk.DNBYCX26.js +25 -0
  474. package/dist/chunks/chunk.DXHQDWDZ.js +1 -0
  475. package/dist/chunks/chunk.DXT5TH6L.js +1 -0
  476. package/dist/chunks/chunk.EIG27QDJ.js +1 -0
  477. package/dist/chunks/chunk.ENJASLZC.js +8 -0
  478. package/dist/chunks/chunk.ENMFKETX.js +1 -0
  479. package/dist/chunks/chunk.F2SOOHUF.js +74 -0
  480. package/dist/chunks/chunk.F4CXK4DV.js +1 -0
  481. package/dist/chunks/chunk.FFPGMQBG.js +1 -0
  482. package/dist/chunks/chunk.FICO2IEF.js +1 -0
  483. package/dist/chunks/chunk.FIQBMJKB.js +1 -0
  484. package/dist/chunks/chunk.FLCVB7ZG.js +1 -0
  485. package/dist/chunks/chunk.FQJUY2WN.js +280 -0
  486. package/dist/chunks/chunk.FQLSPKU6.js +1 -0
  487. package/dist/chunks/chunk.FSWZFV6X.js +1 -0
  488. package/dist/chunks/chunk.FWGKOYZ6.js +1 -0
  489. package/dist/chunks/chunk.FWRWPBEA.js +1 -0
  490. package/dist/chunks/chunk.G5O2UXZR.js +1 -0
  491. package/dist/chunks/chunk.GTIKA77C.js +47 -0
  492. package/dist/chunks/chunk.H2CFP3PQ.js +11 -0
  493. package/dist/chunks/chunk.H6EXXHNP.js +20 -0
  494. package/dist/chunks/chunk.H7OSGJDN.js +1 -0
  495. package/dist/chunks/chunk.HHF3GJJX.js +22 -0
  496. package/dist/chunks/chunk.HJCUJPX6.js +1 -0
  497. package/dist/chunks/chunk.HPNZH3Q4.js +1 -0
  498. package/dist/chunks/chunk.HQJSNJAI.js +1 -0
  499. package/dist/chunks/chunk.HSWO7GTZ.js +1 -0
  500. package/dist/chunks/chunk.HWRLJA2Z.js +1 -0
  501. package/dist/chunks/chunk.IBLMNONH.js +1 -0
  502. package/dist/chunks/chunk.IEU7YQG3.js +1 -0
  503. package/dist/chunks/chunk.IOKUMDKC.js +33 -0
  504. package/dist/chunks/chunk.IUULTT4O.js +1 -0
  505. package/dist/chunks/chunk.J2P5LTLJ.js +1 -0
  506. package/dist/chunks/chunk.JL7WMXDP.js +1 -0
  507. package/dist/chunks/chunk.JO2E3V6R.js +1 -0
  508. package/dist/chunks/chunk.JO2SKBWZ.js +1 -0
  509. package/dist/chunks/chunk.JQMXDI64.js +1 -0
  510. package/dist/chunks/chunk.JRVIE4XW.js +1 -0
  511. package/dist/chunks/chunk.JYAJJ7JB.js +299 -0
  512. package/dist/chunks/chunk.JYD4MT2X.js +1 -0
  513. package/dist/chunks/chunk.JYIZZOBA.js +35 -0
  514. package/dist/chunks/chunk.K5ZNB5TT.js +48 -0
  515. package/dist/chunks/chunk.KA7VO4CD.js +80 -0
  516. package/dist/chunks/chunk.KF74PACJ.js +1 -0
  517. package/dist/chunks/chunk.KHWI5BDR.js +43 -0
  518. package/dist/chunks/chunk.KQBQJYII.js +1 -0
  519. package/dist/chunks/chunk.KQJYCLV5.js +1 -0
  520. package/dist/chunks/chunk.LJ5UQBNV.js +1 -0
  521. package/dist/chunks/chunk.LLARUBYC.js +1 -0
  522. package/dist/chunks/chunk.LN3N6D2E.js +1 -0
  523. package/dist/chunks/chunk.LO72HFZE.js +1 -0
  524. package/dist/chunks/chunk.LURRF4YZ.js +67 -0
  525. package/dist/chunks/chunk.M3B5KKI4.js +1 -0
  526. package/dist/chunks/chunk.M3MZFHHD.js +1 -0
  527. package/dist/chunks/chunk.MBS3RFJM.js +6 -0
  528. package/dist/chunks/chunk.MEXCND7E.js +1 -0
  529. package/dist/chunks/chunk.MHUPHWBX.js +1 -0
  530. package/dist/chunks/chunk.MJGXOZUM.js +1 -0
  531. package/dist/chunks/chunk.MMI6AZ5X.js +1 -0
  532. package/dist/chunks/chunk.MOLG5UGC.js +780 -0
  533. package/dist/chunks/chunk.MRQ3S2IU.js +1 -0
  534. package/dist/chunks/chunk.MSVNGRIO.js +125 -0
  535. package/dist/chunks/chunk.MYLEMOHI.js +1 -0
  536. package/dist/chunks/chunk.N72KUAUG.js +1 -0
  537. package/dist/chunks/chunk.NIUAZKZN.js +1 -0
  538. package/dist/chunks/chunk.NLDEYHPE.js +1 -0
  539. package/dist/chunks/chunk.NQKLAIZQ.js +145 -0
  540. package/dist/chunks/chunk.NRZIMG2K.js +1 -0
  541. package/dist/chunks/chunk.NUODI7BE.js +4 -0
  542. package/dist/chunks/chunk.OCFFVU5H.js +1 -0
  543. package/dist/chunks/chunk.OCSCHASD.js +1 -0
  544. package/dist/chunks/chunk.OGRY2QIP.js +35 -0
  545. package/dist/chunks/chunk.OM5CHL6K.js +9 -0
  546. package/dist/chunks/chunk.OSPWVWNF.js +1 -0
  547. package/dist/chunks/chunk.OWCIKVBX.js +1 -0
  548. package/dist/chunks/chunk.P2B7S4YB.js +1 -0
  549. package/dist/chunks/chunk.P2NDCMFN.js +1 -0
  550. package/dist/chunks/chunk.P34K4PMK.js +1 -0
  551. package/dist/chunks/chunk.PB4GFMCH.js +41 -0
  552. package/dist/chunks/chunk.PLVS2WBF.js +43 -0
  553. package/dist/chunks/chunk.PSIIGWKB.js +1 -0
  554. package/dist/chunks/chunk.Q6BMULA4.js +1 -0
  555. package/dist/chunks/chunk.QM7VCIXI.js +1 -0
  556. package/dist/chunks/chunk.QMJFLZ67.js +30 -0
  557. package/dist/chunks/chunk.QVWZX4VS.js +157 -0
  558. package/dist/chunks/chunk.RH4Y7BEE.js +176 -0
  559. package/dist/chunks/chunk.RL342FCW.js +1 -0
  560. package/dist/chunks/chunk.RPAY7BUI.js +16 -0
  561. package/dist/chunks/chunk.RRIGLMOB.js +1 -0
  562. package/dist/chunks/chunk.RVUFNTS3.js +1 -0
  563. package/dist/chunks/chunk.RXOHRFRL.js +1 -0
  564. package/dist/chunks/chunk.S3GPO3V7.js +61 -0
  565. package/dist/chunks/chunk.S5NYSCGF.js +1 -0
  566. package/dist/chunks/chunk.S775HGVI.js +99 -0
  567. package/dist/chunks/chunk.S77XG6XL.js +1 -0
  568. package/dist/chunks/chunk.SDHMCRSG.js +27 -0
  569. package/dist/chunks/chunk.SEM4QPEU.js +1 -0
  570. package/dist/chunks/chunk.SJAXMDBS.js +1 -0
  571. package/dist/chunks/chunk.SJKQOS3L.js +1 -0
  572. package/dist/chunks/chunk.STLGBPK5.js +1 -0
  573. package/dist/chunks/chunk.SUFVBKJY.js +62 -0
  574. package/dist/chunks/chunk.TCEAZ4JD.js +1 -0
  575. package/dist/chunks/chunk.THEACYHF.js +1198 -0
  576. package/dist/chunks/chunk.TO3S7ZON.js +39 -0
  577. package/dist/chunks/chunk.TO4KVUBA.js +1 -0
  578. package/dist/chunks/chunk.TWIM575W.js +1 -0
  579. package/dist/chunks/chunk.TWLFGEFK.js +55 -0
  580. package/dist/chunks/chunk.UMD3436Z.js +12 -0
  581. package/dist/chunks/chunk.UU4IVFR3.js +1 -0
  582. package/dist/chunks/chunk.UV2UYKDE.js +8 -0
  583. package/dist/chunks/chunk.V73XUHPZ.js +23 -0
  584. package/dist/chunks/chunk.VAQBINGF.js +1 -0
  585. package/dist/chunks/chunk.VCBTYTPZ.js +1 -0
  586. package/dist/chunks/chunk.VFKKJ5TJ.js +9 -0
  587. package/dist/chunks/chunk.VWLW5SEW.js +14 -0
  588. package/dist/chunks/chunk.VZB2WNDD.js +30 -0
  589. package/dist/chunks/chunk.VZFZW3SJ.js +1 -0
  590. package/dist/chunks/chunk.W56HBYGO.js +1 -0
  591. package/dist/chunks/chunk.WNWQ5G7U.js +1 -0
  592. package/dist/chunks/chunk.WPQSWSZ4.js +1 -0
  593. package/dist/chunks/chunk.WUAWBIQL.js +1 -0
  594. package/dist/chunks/chunk.WYT63XP5.js +55 -0
  595. package/dist/chunks/chunk.WZ5IMSXC.js +1 -0
  596. package/dist/chunks/chunk.XB4MSOLC.js +1 -0
  597. package/dist/chunks/chunk.XIKMUJ5L.js +1 -0
  598. package/dist/chunks/chunk.XOXJ7JGG.js +1 -0
  599. package/dist/chunks/chunk.YDZMQWAK.js +1 -0
  600. package/dist/chunks/chunk.YJ5Y66AW.js +1 -0
  601. package/dist/chunks/chunk.YO5HSONL.js +41 -0
  602. package/dist/chunks/chunk.YXMQUC6E.js +1 -0
  603. package/dist/chunks/chunk.YYB5UKM4.js +122 -0
  604. package/dist/chunks/chunk.Z2JKVUIQ.js +1 -0
  605. package/dist/chunks/chunk.Z33BUAHI.js +1 -0
  606. package/dist/chunks/chunk.ZHYG6CFC.js +19 -0
  607. package/dist/chunks/chunk.ZKBWQ2BW.js +1 -0
  608. package/dist/chunks/chunk.ZMFVMONQ.js +1 -0
  609. package/dist/chunks/chunk.ZNXXCV5Y.js +1 -0
  610. package/dist/chunks/chunk.ZSH7I5S5.js +55 -0
  611. package/dist/chunks/chunk.ZVWBJCKO.js +1 -0
  612. package/dist/components/accordion/accordion.component.js +1 -1
  613. package/dist/components/accordion/accordion.js +1 -1
  614. package/dist/components/alert/alert.component.js +1 -1
  615. package/dist/components/alert/alert.js +1 -1
  616. package/dist/components/avatar/avatar.component.js +1 -1
  617. package/dist/components/avatar/avatar.js +1 -1
  618. package/dist/components/badge/badge.component.js +1 -1
  619. package/dist/components/badge/badge.js +1 -1
  620. package/dist/components/banner/banner.component.js +1 -1
  621. package/dist/components/banner/banner.js +1 -1
  622. package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
  623. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  624. package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
  625. package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
  626. package/dist/components/browse-variables/browse-variables.component.js +1 -1
  627. package/dist/components/browse-variables/browse-variables.js +1 -1
  628. package/dist/components/button/button.component.js +1 -1
  629. package/dist/components/button/button.js +1 -1
  630. package/dist/components/button-group/button-group.component.js +1 -1
  631. package/dist/components/button-group/button-group.js +1 -1
  632. package/dist/components/caption/caption.component.js +1 -1
  633. package/dist/components/caption/caption.js +1 -1
  634. package/dist/components/card/card.component.js +1 -1
  635. package/dist/components/card/card.js +1 -1
  636. package/dist/components/checkbox/checkbox.component.js +1 -1
  637. package/dist/components/checkbox/checkbox.js +1 -1
  638. package/dist/components/chip/chip.component.js +1 -1
  639. package/dist/components/chip/chip.js +1 -1
  640. package/dist/components/combobox/combobox.component.js +1 -1
  641. package/dist/components/combobox/combobox.js +1 -1
  642. package/dist/components/data-access/data-access.component.js +1 -1
  643. package/dist/components/data-access/data-access.js +1 -1
  644. package/dist/components/data-grid/data-grid.component.js +1 -1
  645. package/dist/components/data-grid/data-grid.js +1 -1
  646. package/dist/components/data-rods/data-rods.component.js +1 -1
  647. package/dist/components/data-rods/data-rods.js +1 -1
  648. package/dist/components/data-subsetter/data-subsetter.component.d.ts +2 -1
  649. package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
  650. package/dist/components/data-subsetter/data-subsetter.js +1 -1
  651. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  652. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
  653. package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
  654. package/dist/components/date-picker/date-picker.component.js +1 -1
  655. package/dist/components/date-picker/date-picker.js +1 -1
  656. package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
  657. package/dist/components/date-range-slider/date-range-slider.js +1 -1
  658. package/dist/components/dialog/dialog.component.js +1 -1
  659. package/dist/components/dialog/dialog.js +1 -1
  660. package/dist/components/divider/divider.component.js +1 -1
  661. package/dist/components/divider/divider.js +1 -1
  662. package/dist/components/dropdown/dropdown.component.js +1 -1
  663. package/dist/components/dropdown/dropdown.js +1 -1
  664. package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
  665. package/dist/components/earthdata-login/earthdata-login.js +1 -1
  666. package/dist/components/file-upload/file-upload.component.js +1 -1
  667. package/dist/components/file-upload/file-upload.js +1 -1
  668. package/dist/components/harmony-history/harmony-history.component.js +1 -1
  669. package/dist/components/harmony-history/harmony-history.js +1 -1
  670. package/dist/components/icon/icon.component.js +1 -1
  671. package/dist/components/icon/icon.js +1 -1
  672. package/dist/components/input/input.component.js +1 -1
  673. package/dist/components/input/input.js +1 -1
  674. package/dist/components/loader/loader.component.js +1 -1
  675. package/dist/components/loader/loader.js +1 -1
  676. package/dist/components/login/login.component.js +1 -1
  677. package/dist/components/login/login.js +1 -1
  678. package/dist/components/map/map.component.js +1 -1
  679. package/dist/components/map/map.js +1 -1
  680. package/dist/components/map/map.service.js +1 -1
  681. package/dist/components/menu/menu.component.js +1 -1
  682. package/dist/components/menu/menu.js +1 -1
  683. package/dist/components/menu-item/menu-item.component.js +1 -1
  684. package/dist/components/menu-item/menu-item.js +1 -1
  685. package/dist/components/option/option.component.js +1 -1
  686. package/dist/components/option/option.js +1 -1
  687. package/dist/components/pagination/pagination.component.js +1 -1
  688. package/dist/components/pagination/pagination.js +1 -1
  689. package/dist/components/plot/plot.component.js +1 -1
  690. package/dist/components/plot/plot.js +1 -1
  691. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  692. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  693. package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
  694. package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
  695. package/dist/components/popup/popup.component.js +1 -1
  696. package/dist/components/popup/popup.js +1 -1
  697. package/dist/components/progress-bar/progress-bar.component.js +1 -1
  698. package/dist/components/progress-bar/progress-bar.js +1 -1
  699. package/dist/components/radio/radio.component.js +1 -1
  700. package/dist/components/radio/radio.js +1 -1
  701. package/dist/components/radio-group/radio-group.component.js +1 -1
  702. package/dist/components/radio-group/radio-group.js +1 -1
  703. package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
  704. package/dist/components/scroll-hint/scroll-hint.js +1 -1
  705. package/dist/components/select/select.component.js +1 -1
  706. package/dist/components/select/select.js +1 -1
  707. package/dist/components/site-header/site-header.component.js +1 -1
  708. package/dist/components/site-header/site-header.js +1 -1
  709. package/dist/components/site-navigation/site-navigation.component.js +1 -1
  710. package/dist/components/site-navigation/site-navigation.js +1 -1
  711. package/dist/components/skeleton/skeleton.component.js +1 -1
  712. package/dist/components/skeleton/skeleton.js +1 -1
  713. package/dist/components/slider/slider.component.js +1 -1
  714. package/dist/components/slider/slider.js +1 -1
  715. package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
  716. package/dist/components/spatial-picker/spatial-picker.js +1 -1
  717. package/dist/components/status-indicator/status-indicator.component.js +1 -1
  718. package/dist/components/status-indicator/status-indicator.js +1 -1
  719. package/dist/components/stepper/stepper.component.js +1 -1
  720. package/dist/components/stepper/stepper.js +1 -1
  721. package/dist/components/stepper-step/stepper-step.component.js +1 -1
  722. package/dist/components/stepper-step/stepper-step.js +1 -1
  723. package/dist/components/tab/tab.component.js +1 -1
  724. package/dist/components/tab/tab.js +1 -1
  725. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  726. package/dist/components/tab-panel/tab-panel.js +1 -1
  727. package/dist/components/tabs/tabs.component.js +1 -1
  728. package/dist/components/tabs/tabs.js +1 -1
  729. package/dist/components/tag/tag.component.js +1 -1
  730. package/dist/components/tag/tag.js +1 -1
  731. package/dist/components/textarea/textarea.component.js +1 -1
  732. package/dist/components/textarea/textarea.js +1 -1
  733. package/dist/components/time-average-map/time-average-map.component.js +1 -1
  734. package/dist/components/time-average-map/time-average-map.js +1 -1
  735. package/dist/components/time-series/time-series.component.js +1 -1
  736. package/dist/components/time-series/time-series.js +1 -1
  737. package/dist/components/toast/toast.component.js +1 -1
  738. package/dist/components/toast/toast.js +1 -1
  739. package/dist/components/toggle/toggle.component.js +1 -1
  740. package/dist/components/toggle/toggle.js +1 -1
  741. package/dist/components/tooltip/tooltip.component.js +1 -1
  742. package/dist/components/tooltip/tooltip.js +1 -1
  743. package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
  744. package/dist/components/variable-combobox/variable-combobox.js +1 -1
  745. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
  746. package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
  747. package/dist/custom-elements.json +8747 -8730
  748. package/dist/react/accordion/index.js +1 -1
  749. package/dist/react/alert/index.js +1 -1
  750. package/dist/react/avatar/index.js +1 -1
  751. package/dist/react/badge/index.js +1 -1
  752. package/dist/react/banner/index.js +1 -1
  753. package/dist/react/breadcrumb/index.js +1 -1
  754. package/dist/react/breadcrumbs/index.js +1 -1
  755. package/dist/react/browse-variables/index.js +1 -1
  756. package/dist/react/button/index.js +1 -1
  757. package/dist/react/button-group/index.js +1 -1
  758. package/dist/react/caption/index.js +1 -1
  759. package/dist/react/card/index.js +1 -1
  760. package/dist/react/checkbox/index.js +1 -1
  761. package/dist/react/chip/index.js +1 -1
  762. package/dist/react/combobox/index.js +1 -1
  763. package/dist/react/data-access/index.js +1 -1
  764. package/dist/react/data-grid/index.js +1 -1
  765. package/dist/react/data-rods/index.js +1 -1
  766. package/dist/react/data-subsetter/index.js +1 -1
  767. package/dist/react/data-subsetter-history/index.js +1 -1
  768. package/dist/react/date-picker/index.js +1 -1
  769. package/dist/react/date-range-slider/index.js +1 -1
  770. package/dist/react/dialog/index.js +1 -1
  771. package/dist/react/divider/index.js +1 -1
  772. package/dist/react/dropdown/index.js +1 -1
  773. package/dist/react/earthdata-login/index.js +1 -1
  774. package/dist/react/file-upload/index.js +1 -1
  775. package/dist/react/harmony-history/index.js +1 -1
  776. package/dist/react/icon/index.js +1 -1
  777. package/dist/react/index.d.ts +21 -21
  778. package/dist/react/index.js +1 -1
  779. package/dist/react/input/index.js +1 -1
  780. package/dist/react/loader/index.js +1 -1
  781. package/dist/react/login/index.js +1 -1
  782. package/dist/react/map/index.js +1 -1
  783. package/dist/react/menu/index.js +1 -1
  784. package/dist/react/menu-item/index.js +1 -1
  785. package/dist/react/option/index.js +1 -1
  786. package/dist/react/pagination/index.js +1 -1
  787. package/dist/react/plot/index.js +1 -1
  788. package/dist/react/plot-toolbar/index.js +1 -1
  789. package/dist/react/popup/index.js +1 -1
  790. package/dist/react/progress-bar/index.js +1 -1
  791. package/dist/react/radio/index.js +1 -1
  792. package/dist/react/radio-group/index.js +1 -1
  793. package/dist/react/scroll-hint/index.js +1 -1
  794. package/dist/react/select/index.js +1 -1
  795. package/dist/react/site-header/index.js +1 -1
  796. package/dist/react/site-navigation/index.js +1 -1
  797. package/dist/react/skeleton/index.js +1 -1
  798. package/dist/react/slider/index.js +1 -1
  799. package/dist/react/spatial-picker/index.js +1 -1
  800. package/dist/react/status-indicator/index.js +1 -1
  801. package/dist/react/stepper/index.js +1 -1
  802. package/dist/react/stepper-step/index.js +1 -1
  803. package/dist/react/tab/index.js +1 -1
  804. package/dist/react/tab-panel/index.js +1 -1
  805. package/dist/react/tabs/index.js +1 -1
  806. package/dist/react/tag/index.js +1 -1
  807. package/dist/react/textarea/index.js +1 -1
  808. package/dist/react/time-average-map/index.js +1 -1
  809. package/dist/react/time-series/index.js +1 -1
  810. package/dist/react/toast/index.js +1 -1
  811. package/dist/react/toggle/index.js +1 -1
  812. package/dist/react/tooltip/index.js +1 -1
  813. package/dist/react/variable-combobox/index.js +1 -1
  814. package/dist/react/variable-keyword-search/index.js +1 -1
  815. package/dist/terra-ui-components.js +1 -1
  816. package/dist/terra_ui_components-0.0.201-py3-none-any.whl +0 -0
  817. package/dist/terra_ui_components-0.0.201.tar.gz +0 -0
  818. package/dist/types/vue/index.d.ts +887 -885
  819. package/dist/vscode.html-custom-data.json +573 -573
  820. package/dist/web-types.json +1712 -1711
  821. package/package.json +1 -1
  822. package/cdn/chunks/chunk.2EWZDAYT.js +0 -29
  823. package/cdn/chunks/chunk.2JJELSL5.js +0 -47
  824. package/cdn/chunks/chunk.2T337UTK.js +0 -19
  825. package/cdn/chunks/chunk.2XG73ITG.js +0 -357
  826. package/cdn/chunks/chunk.33GFCE5N.js +0 -19
  827. package/cdn/chunks/chunk.3JXVH2NE.js +0 -377
  828. package/cdn/chunks/chunk.3VUC5O5G.js +0 -33
  829. package/cdn/chunks/chunk.3XZ3WU77.js +0 -35
  830. package/cdn/chunks/chunk.3Y7HZ5CS.js +0 -110
  831. package/cdn/chunks/chunk.44VCJ6SW.js +0 -29
  832. package/cdn/chunks/chunk.4HXIWAKE.js +0 -29
  833. package/cdn/chunks/chunk.4KHGJTYG.js +0 -310
  834. package/cdn/chunks/chunk.4LAXKCHJ.js +0 -19
  835. package/cdn/chunks/chunk.4N76TU2N.js +0 -60
  836. package/cdn/chunks/chunk.573DB434.js +0 -39
  837. package/cdn/chunks/chunk.5BH3C4GN.js +0 -19
  838. package/cdn/chunks/chunk.5BVN7II7.js +0 -19
  839. package/cdn/chunks/chunk.5DLA37YX.js +0 -19
  840. package/cdn/chunks/chunk.5MB6A5RU.js +0 -19
  841. package/cdn/chunks/chunk.5ZT2BS3I.js +0 -60
  842. package/cdn/chunks/chunk.66IWKBC6.js +0 -364
  843. package/cdn/chunks/chunk.6D2IDMCW.js +0 -106
  844. package/cdn/chunks/chunk.6JG52BSF.js +0 -35
  845. package/cdn/chunks/chunk.6O7XOHAP.js +0 -32
  846. package/cdn/chunks/chunk.6Z7GRBWL.js +0 -277
  847. package/cdn/chunks/chunk.76A5M5WG.js +0 -33
  848. package/cdn/chunks/chunk.7BSMV3XV.js +0 -36
  849. package/cdn/chunks/chunk.7C3LJSTD.js +0 -19
  850. package/cdn/chunks/chunk.7G65ACMK.js +0 -19
  851. package/cdn/chunks/chunk.7GIH3FHL.js +0 -29
  852. package/cdn/chunks/chunk.7KYOVGMU.js +0 -32
  853. package/cdn/chunks/chunk.7UCNMWYE.js +0 -1975
  854. package/cdn/chunks/chunk.7Y2VDUYC.js +0 -62
  855. package/cdn/chunks/chunk.ABFNT6U4.js +0 -32
  856. package/cdn/chunks/chunk.ADFH5ULU.js +0 -29
  857. package/cdn/chunks/chunk.ADHCB3BO.js +0 -538
  858. package/cdn/chunks/chunk.AH7EQF7K.js +0 -29
  859. package/cdn/chunks/chunk.AO7RPFJO.js +0 -19
  860. package/cdn/chunks/chunk.AQB2ML3I.js +0 -537
  861. package/cdn/chunks/chunk.ASJLND3B.js +0 -77
  862. package/cdn/chunks/chunk.AYFA4HPN.js +0 -4735
  863. package/cdn/chunks/chunk.B3ADFXJY.js +0 -32
  864. package/cdn/chunks/chunk.B3GLOTII.js +0 -92
  865. package/cdn/chunks/chunk.B6YC7R6P.js +0 -29
  866. package/cdn/chunks/chunk.BFDVUZHC.js +0 -35
  867. package/cdn/chunks/chunk.BJRAF4ZX.js +0 -19
  868. package/cdn/chunks/chunk.BNGXQNNQ.js +0 -29
  869. package/cdn/chunks/chunk.BOZ3VKJO.js +0 -19
  870. package/cdn/chunks/chunk.BW44PXWN.js +0 -657
  871. package/cdn/chunks/chunk.COHRXEHA.js +0 -29
  872. package/cdn/chunks/chunk.CRQDFPSH.js +0 -37
  873. package/cdn/chunks/chunk.CX65AHTW.js +0 -104
  874. package/cdn/chunks/chunk.CX6JSAGB.js +0 -19
  875. package/cdn/chunks/chunk.DEHDGGWE.js +0 -19
  876. package/cdn/chunks/chunk.DMULXFKY.js +0 -32
  877. package/cdn/chunks/chunk.DO3V7V6I.js +0 -259
  878. package/cdn/chunks/chunk.DYRKSW2X.js +0 -99
  879. package/cdn/chunks/chunk.E4ONM7EQ.js +0 -224
  880. package/cdn/chunks/chunk.E6L6YVTU.js +0 -19
  881. package/cdn/chunks/chunk.ECR75TPC.js +0 -19
  882. package/cdn/chunks/chunk.EHRAILYE.js +0 -19
  883. package/cdn/chunks/chunk.EHVXLTCB.js +0 -190
  884. package/cdn/chunks/chunk.EKXY4PGP.js +0 -29
  885. package/cdn/chunks/chunk.F7QE3QNK.js +0 -93
  886. package/cdn/chunks/chunk.FIREC5CC.js +0 -478
  887. package/cdn/chunks/chunk.FQBIIKY5.js +0 -19
  888. package/cdn/chunks/chunk.FSGSFI2L.js +0 -162
  889. package/cdn/chunks/chunk.G7AGZVJM.js +0 -32
  890. package/cdn/chunks/chunk.GA4QBBRX.js +0 -19
  891. package/cdn/chunks/chunk.GEVOOPOP.js +0 -32
  892. package/cdn/chunks/chunk.GF56J2LC.js +0 -29
  893. package/cdn/chunks/chunk.GGODQ75Z.js +0 -359
  894. package/cdn/chunks/chunk.GP5CKNVX.js +0 -19
  895. package/cdn/chunks/chunk.GWUGCYFL.js +0 -19
  896. package/cdn/chunks/chunk.HCUUZMUR.js +0 -610
  897. package/cdn/chunks/chunk.HETFTQ32.js +0 -36
  898. package/cdn/chunks/chunk.HFQ4URSA.js +0 -29
  899. package/cdn/chunks/chunk.HHFSBJ5G.js +0 -19
  900. package/cdn/chunks/chunk.HJHZJEFY.js +0 -19
  901. package/cdn/chunks/chunk.HQL5JPO6.js +0 -29
  902. package/cdn/chunks/chunk.HRRDY7XJ.js +0 -19
  903. package/cdn/chunks/chunk.HUVHJ5KI.js +0 -19
  904. package/cdn/chunks/chunk.HVDW2G5B.js +0 -19
  905. package/cdn/chunks/chunk.HVKGLK5J.js +0 -78
  906. package/cdn/chunks/chunk.I4B5GFUI.js +0 -30
  907. package/cdn/chunks/chunk.I4GAKXVS.js +0 -82
  908. package/cdn/chunks/chunk.I74CWXDT.js +0 -29
  909. package/cdn/chunks/chunk.IJRMB4PM.js +0 -19
  910. package/cdn/chunks/chunk.J52GFLCR.js +0 -110
  911. package/cdn/chunks/chunk.JHM6GLII.js +0 -599
  912. package/cdn/chunks/chunk.JJRD2OTY.js +0 -293
  913. package/cdn/chunks/chunk.JTRGBBGG.js +0 -29
  914. package/cdn/chunks/chunk.JXSQUWZZ.js +0 -19
  915. package/cdn/chunks/chunk.JYF5D5R5.js +0 -19
  916. package/cdn/chunks/chunk.K4QMVYIR.js +0 -443
  917. package/cdn/chunks/chunk.K56RZQTE.js +0 -155
  918. package/cdn/chunks/chunk.KB3G2WCI.js +0 -34
  919. package/cdn/chunks/chunk.KF4FXYKE.js +0 -19
  920. package/cdn/chunks/chunk.KHDL2CAQ.js +0 -230
  921. package/cdn/chunks/chunk.KHRT3JCC.js +0 -29
  922. package/cdn/chunks/chunk.KPSIXCYD.js +0 -29
  923. package/cdn/chunks/chunk.KX7SACHH.js +0 -68
  924. package/cdn/chunks/chunk.KZCBK6S4.js +0 -19
  925. package/cdn/chunks/chunk.L3TQOLJO.js +0 -74
  926. package/cdn/chunks/chunk.L67UJNXB.js +0 -41
  927. package/cdn/chunks/chunk.L77N7C7E.js +0 -171
  928. package/cdn/chunks/chunk.LGRZMWVK.js +0 -35
  929. package/cdn/chunks/chunk.LRZIT4M2.js +0 -157
  930. package/cdn/chunks/chunk.LWZNG7WV.js +0 -29
  931. package/cdn/chunks/chunk.LXQGTI2B.js +0 -32
  932. package/cdn/chunks/chunk.M43ZJHCX.js +0 -33
  933. package/cdn/chunks/chunk.MAHUWVEN.js +0 -279
  934. package/cdn/chunks/chunk.MLJM2THR.js +0 -19
  935. package/cdn/chunks/chunk.MNP4CXLJ.js +0 -19
  936. package/cdn/chunks/chunk.MUXCPAHQ.js +0 -543
  937. package/cdn/chunks/chunk.MZKOUZD2.js +0 -123
  938. package/cdn/chunks/chunk.N2L7WOXF.js +0 -29
  939. package/cdn/chunks/chunk.N2SCVTHV.js +0 -29
  940. package/cdn/chunks/chunk.NCROEX7Z.js +0 -29
  941. package/cdn/chunks/chunk.NH4YMQJT.js +0 -298
  942. package/cdn/chunks/chunk.NIKJGSH5.js +0 -19
  943. package/cdn/chunks/chunk.NIQW247C.js +0 -19
  944. package/cdn/chunks/chunk.NKD2XOGT.js +0 -33
  945. package/cdn/chunks/chunk.NNUQZHMT.js +0 -32
  946. package/cdn/chunks/chunk.NQLIIDC4.js +0 -81
  947. package/cdn/chunks/chunk.O3E7K42P.js +0 -278
  948. package/cdn/chunks/chunk.O3JICBSZ.js +0 -904
  949. package/cdn/chunks/chunk.O6V37MUB.js +0 -19
  950. package/cdn/chunks/chunk.OO345KKC.js +0 -19
  951. package/cdn/chunks/chunk.P5NZ7ZES.js +0 -19
  952. package/cdn/chunks/chunk.PB7O3LZB.js +0 -2713
  953. package/cdn/chunks/chunk.PDZ25A5I.js +0 -19
  954. package/cdn/chunks/chunk.PHX2Z4JM.js +0 -113
  955. package/cdn/chunks/chunk.PIEJ3UF6.js +0 -592
  956. package/cdn/chunks/chunk.PJPMBXC4.js +0 -19
  957. package/cdn/chunks/chunk.PKAVFPZ7.js +0 -36
  958. package/cdn/chunks/chunk.PNEWL4NR.js +0 -925
  959. package/cdn/chunks/chunk.PR55CF2E.js +0 -19
  960. package/cdn/chunks/chunk.PVARN7ER.js +0 -86
  961. package/cdn/chunks/chunk.Q4B4QXYW.js +0 -19
  962. package/cdn/chunks/chunk.Q7FVA2QA.js +0 -234
  963. package/cdn/chunks/chunk.QNGVGHSM.js +0 -616
  964. package/cdn/chunks/chunk.QSXNN4K7.js +0 -29
  965. package/cdn/chunks/chunk.QU5NA6A2.js +0 -34
  966. package/cdn/chunks/chunk.QUXBL6PU.js +0 -19
  967. package/cdn/chunks/chunk.QWKEI3FC.js +0 -49
  968. package/cdn/chunks/chunk.RCUE3PFX.js +0 -19
  969. package/cdn/chunks/chunk.RGMOIMLO.js +0 -19
  970. package/cdn/chunks/chunk.RHKWK57F.js +0 -32
  971. package/cdn/chunks/chunk.RK7LHY6Q.js +0 -1197
  972. package/cdn/chunks/chunk.RPETTG3O.js +0 -19
  973. package/cdn/chunks/chunk.RYLQ7J4S.js +0 -134
  974. package/cdn/chunks/chunk.S43EHJMQ.js +0 -276
  975. package/cdn/chunks/chunk.S5FXMDJD.js +0 -136
  976. package/cdn/chunks/chunk.SPVQ3TUO.js +0 -188
  977. package/cdn/chunks/chunk.STAMGMYS.js +0 -19
  978. package/cdn/chunks/chunk.SYUADFIF.js +0 -151
  979. package/cdn/chunks/chunk.SZVIFQRJ.js +0 -71
  980. package/cdn/chunks/chunk.T47BZXNK.js +0 -19
  981. package/cdn/chunks/chunk.TG3YYWRJ.js +0 -672
  982. package/cdn/chunks/chunk.TOSFVKE4.js +0 -36
  983. package/cdn/chunks/chunk.TTCE562V.js +0 -29
  984. package/cdn/chunks/chunk.TTUIBJR7.js +0 -29
  985. package/cdn/chunks/chunk.TXCVCIZI.js +0 -35
  986. package/cdn/chunks/chunk.TZQ63Z3H.js +0 -36
  987. package/cdn/chunks/chunk.UBVO3Z7U.js +0 -32
  988. package/cdn/chunks/chunk.UI5WWHT7.js +0 -19
  989. package/cdn/chunks/chunk.UKCY4NE5.js +0 -33
  990. package/cdn/chunks/chunk.UKKNHVT2.js +0 -2546
  991. package/cdn/chunks/chunk.URQOTCAU.js +0 -29
  992. package/cdn/chunks/chunk.VEIJLCDU.js +0 -29
  993. package/cdn/chunks/chunk.VKNIBCZI.js +0 -19
  994. package/cdn/chunks/chunk.VRMWYJMN.js +0 -37
  995. package/cdn/chunks/chunk.VSLVNJ6A.js +0 -158
  996. package/cdn/chunks/chunk.W36EIIQD.js +0 -19
  997. package/cdn/chunks/chunk.W4NGS5VZ.js +0 -29
  998. package/cdn/chunks/chunk.W5DRTC2Y.js +0 -19
  999. package/cdn/chunks/chunk.W7DYWM5I.js +0 -32
  1000. package/cdn/chunks/chunk.WEGQDDNL.js +0 -83
  1001. package/cdn/chunks/chunk.WHARISEG.js +0 -29
  1002. package/cdn/chunks/chunk.WHHJJOQT.js +0 -19
  1003. package/cdn/chunks/chunk.WNFL2Q36.js +0 -524
  1004. package/cdn/chunks/chunk.WY6BZ6AK.js +0 -138
  1005. package/cdn/chunks/chunk.WY7ZAZXA.js +0 -19
  1006. package/cdn/chunks/chunk.X37TJUYW.js +0 -19
  1007. package/cdn/chunks/chunk.X5GEXAXL.js +0 -19
  1008. package/cdn/chunks/chunk.X76WQYYW.js +0 -19
  1009. package/cdn/chunks/chunk.XVQCMA3M.js +0 -32
  1010. package/cdn/chunks/chunk.XWYVG7GK.js +0 -19
  1011. package/cdn/chunks/chunk.Y66HDAOP.js +0 -32
  1012. package/cdn/chunks/chunk.YF7FICS7.js +0 -19
  1013. package/cdn/chunks/chunk.YHKRAHVP.js +0 -231
  1014. package/cdn/chunks/chunk.YPKEC5IK.js +0 -29
  1015. package/cdn/chunks/chunk.YQ4SKOIN.js +0 -132
  1016. package/cdn/chunks/chunk.Z44HWXXJ.js +0 -195
  1017. package/cdn/chunks/chunk.ZAARA5NN.js +0 -29
  1018. package/cdn/chunks/chunk.ZCVWVO2H.js +0 -266
  1019. package/cdn/chunks/chunk.ZHIZCLYJ.js +0 -93
  1020. package/cdn/chunks/chunk.ZL336EPZ.js +0 -631
  1021. package/cdn/chunks/chunk.ZLI235RR.js +0 -19
  1022. package/cdn/chunks/chunk.ZRV6GVL5.js +0 -19
  1023. package/cdn/chunks/chunk.ZS67HYGB.js +0 -56075
  1024. package/cdn/chunks/chunk.ZSELDXE4.js +0 -19
  1025. package/cdn/chunks/chunk.ZZUDFWQK.js +0 -19
  1026. package/dist/chunks/chunk.2HEXM6MX.js +0 -154
  1027. package/dist/chunks/chunk.2XFQ7HNR.js +0 -1
  1028. package/dist/chunks/chunk.2ZDFC7XD.js +0 -5
  1029. package/dist/chunks/chunk.3AF4SJ26.js +0 -780
  1030. package/dist/chunks/chunk.3CP7SY7X.js +0 -1
  1031. package/dist/chunks/chunk.3NAZF34U.js +0 -1
  1032. package/dist/chunks/chunk.3R2J27ZS.js +0 -25
  1033. package/dist/chunks/chunk.3XRKWNW5.js +0 -1
  1034. package/dist/chunks/chunk.3YJGZAO5.js +0 -1
  1035. package/dist/chunks/chunk.447IKCOD.js +0 -1
  1036. package/dist/chunks/chunk.44AWWV54.js +0 -30
  1037. package/dist/chunks/chunk.46DYUPBX.js +0 -22
  1038. package/dist/chunks/chunk.4E2BUN4F.js +0 -1
  1039. package/dist/chunks/chunk.4NDKE3PZ.js +0 -1
  1040. package/dist/chunks/chunk.4RFJMMAN.js +0 -1
  1041. package/dist/chunks/chunk.4SRXQYLE.js +0 -39
  1042. package/dist/chunks/chunk.4ZQUOM75.js +0 -80
  1043. package/dist/chunks/chunk.5DDZRQCR.js +0 -26
  1044. package/dist/chunks/chunk.5DJQBDNY.js +0 -99
  1045. package/dist/chunks/chunk.5GJQRKUS.js +0 -1
  1046. package/dist/chunks/chunk.5GTOXSEK.js +0 -24
  1047. package/dist/chunks/chunk.5HY3BVXE.js +0 -23
  1048. package/dist/chunks/chunk.5MNSQC5Z.js +0 -43
  1049. package/dist/chunks/chunk.5S57Z6MY.js +0 -1
  1050. package/dist/chunks/chunk.63KFBVDZ.js +0 -125
  1051. package/dist/chunks/chunk.66FVHWWG.js +0 -1
  1052. package/dist/chunks/chunk.6C3T5LR6.js +0 -1
  1053. package/dist/chunks/chunk.6D4YDDOH.js +0 -148
  1054. package/dist/chunks/chunk.6QWTHDDS.js +0 -1
  1055. package/dist/chunks/chunk.6TIISOSM.js +0 -1
  1056. package/dist/chunks/chunk.6UUXXIO5.js +0 -1
  1057. package/dist/chunks/chunk.6YB2WV52.js +0 -9
  1058. package/dist/chunks/chunk.6YNWYAON.js +0 -1
  1059. package/dist/chunks/chunk.74UO2S6X.js +0 -26
  1060. package/dist/chunks/chunk.75Q2DUI4.js +0 -145
  1061. package/dist/chunks/chunk.7DCDWHIP.js +0 -1
  1062. package/dist/chunks/chunk.7KOIBYPW.js +0 -1
  1063. package/dist/chunks/chunk.7LW5MDPV.js +0 -1
  1064. package/dist/chunks/chunk.7RSJSUF5.js +0 -122
  1065. package/dist/chunks/chunk.7VL5XLTF.js +0 -1
  1066. package/dist/chunks/chunk.7ZTODERJ.js +0 -61
  1067. package/dist/chunks/chunk.A4JPZBCU.js +0 -1
  1068. package/dist/chunks/chunk.A6XZHXKG.js +0 -17
  1069. package/dist/chunks/chunk.ABDHAYTU.js +0 -1
  1070. package/dist/chunks/chunk.AF4KKKIK.js +0 -176
  1071. package/dist/chunks/chunk.AOJ7CENL.js +0 -1
  1072. package/dist/chunks/chunk.AUBMY7XI.js +0 -8
  1073. package/dist/chunks/chunk.AWA2ZGEV.js +0 -300
  1074. package/dist/chunks/chunk.AXXCXZWY.js +0 -1
  1075. package/dist/chunks/chunk.B5FLJR3A.js +0 -37
  1076. package/dist/chunks/chunk.BQ2TQQGG.js +0 -1
  1077. package/dist/chunks/chunk.BRSDDKYM.js +0 -33
  1078. package/dist/chunks/chunk.BYWODPGT.js +0 -1
  1079. package/dist/chunks/chunk.C5S23DNK.js +0 -1
  1080. package/dist/chunks/chunk.CBLMIMXD.js +0 -20
  1081. package/dist/chunks/chunk.CC3TFKZ5.js +0 -1
  1082. package/dist/chunks/chunk.CLGMXYFG.js +0 -1
  1083. package/dist/chunks/chunk.CLQSO2B3.js +0 -1
  1084. package/dist/chunks/chunk.CMABIFU7.js +0 -1
  1085. package/dist/chunks/chunk.CS5XSAK7.js +0 -1
  1086. package/dist/chunks/chunk.D5GCNDYG.js +0 -1
  1087. package/dist/chunks/chunk.DANE2DV4.js +0 -1
  1088. package/dist/chunks/chunk.DBLKA334.js +0 -1
  1089. package/dist/chunks/chunk.DHUDN5NR.js +0 -1
  1090. package/dist/chunks/chunk.DK636C4K.js +0 -19
  1091. package/dist/chunks/chunk.DSIIF7K6.js +0 -1
  1092. package/dist/chunks/chunk.DUG6LPDO.js +0 -1
  1093. package/dist/chunks/chunk.DXULPI2C.js +0 -1
  1094. package/dist/chunks/chunk.ECXCY3XX.js +0 -12
  1095. package/dist/chunks/chunk.EFQ4VOA6.js +0 -1
  1096. package/dist/chunks/chunk.EHEFJ4UM.js +0 -35
  1097. package/dist/chunks/chunk.EPMIYG6Y.js +0 -113
  1098. package/dist/chunks/chunk.F5HERH3C.js +0 -1
  1099. package/dist/chunks/chunk.FEBNDE5C.js +0 -1
  1100. package/dist/chunks/chunk.FSHLOPG4.js +0 -1
  1101. package/dist/chunks/chunk.FTC6BJLL.js +0 -47
  1102. package/dist/chunks/chunk.FWNUKBYM.js +0 -1
  1103. package/dist/chunks/chunk.GCKLOHLJ.js +0 -1
  1104. package/dist/chunks/chunk.GQT3QXWD.js +0 -1
  1105. package/dist/chunks/chunk.GSCUNOLU.js +0 -30
  1106. package/dist/chunks/chunk.GUIMVPU3.js +0 -1
  1107. package/dist/chunks/chunk.GXCYLTXI.js +0 -1
  1108. package/dist/chunks/chunk.H2EZ7VOW.js +0 -1
  1109. package/dist/chunks/chunk.H2MRWWA5.js +0 -1
  1110. package/dist/chunks/chunk.H4WCUAI5.js +0 -1
  1111. package/dist/chunks/chunk.H6HYWCWZ.js +0 -55
  1112. package/dist/chunks/chunk.HKXBQIJC.js +0 -1
  1113. package/dist/chunks/chunk.HLRV2WXA.js +0 -1
  1114. package/dist/chunks/chunk.HPSHJNUL.js +0 -1
  1115. package/dist/chunks/chunk.HQE6JQ36.js +0 -1
  1116. package/dist/chunks/chunk.HTRDWX5D.js +0 -1
  1117. package/dist/chunks/chunk.I2H5CL5B.js +0 -1
  1118. package/dist/chunks/chunk.I2VZCTPD.js +0 -1
  1119. package/dist/chunks/chunk.I3ABET54.js +0 -1
  1120. package/dist/chunks/chunk.I4XNSZMV.js +0 -14
  1121. package/dist/chunks/chunk.IDRV4QVY.js +0 -75
  1122. package/dist/chunks/chunk.IHH2EMZT.js +0 -280
  1123. package/dist/chunks/chunk.IX4DTAAR.js +0 -1
  1124. package/dist/chunks/chunk.IYYXOBVJ.js +0 -1
  1125. package/dist/chunks/chunk.J6YMXA4V.js +0 -1
  1126. package/dist/chunks/chunk.JF64QOIK.js +0 -1
  1127. package/dist/chunks/chunk.JMGGBACY.js +0 -1
  1128. package/dist/chunks/chunk.JPRIHHL3.js +0 -1
  1129. package/dist/chunks/chunk.JUV3F76R.js +0 -35
  1130. package/dist/chunks/chunk.K67524WR.js +0 -1
  1131. package/dist/chunks/chunk.K6KJNAUI.js +0 -1
  1132. package/dist/chunks/chunk.KCCCUPQI.js +0 -74
  1133. package/dist/chunks/chunk.KDP7MFSQ.js +0 -1
  1134. package/dist/chunks/chunk.KG3775TI.js +0 -1
  1135. package/dist/chunks/chunk.KG4H7K5W.js +0 -11
  1136. package/dist/chunks/chunk.KIXW3H6F.js +0 -1
  1137. package/dist/chunks/chunk.KSEX673E.js +0 -1
  1138. package/dist/chunks/chunk.KUPSLOUX.js +0 -1
  1139. package/dist/chunks/chunk.L2IUPHO3.js +0 -1
  1140. package/dist/chunks/chunk.LCGVUMKQ.js +0 -43
  1141. package/dist/chunks/chunk.LFHFYBLO.js +0 -1
  1142. package/dist/chunks/chunk.LICY6WJT.js +0 -4
  1143. package/dist/chunks/chunk.LKQ44YSQ.js +0 -1
  1144. package/dist/chunks/chunk.M4G2JEW2.js +0 -1
  1145. package/dist/chunks/chunk.MBOEFHQI.js +0 -55
  1146. package/dist/chunks/chunk.MCR2VZQP.js +0 -1
  1147. package/dist/chunks/chunk.MGN6FPMX.js +0 -1
  1148. package/dist/chunks/chunk.MOWA5ULN.js +0 -1
  1149. package/dist/chunks/chunk.MPDRWVZL.js +0 -1
  1150. package/dist/chunks/chunk.MSBCPIGA.js +0 -1
  1151. package/dist/chunks/chunk.N4IMML6I.js +0 -121
  1152. package/dist/chunks/chunk.NRTWU3TW.js +0 -1
  1153. package/dist/chunks/chunk.NW27EPOF.js +0 -5
  1154. package/dist/chunks/chunk.NXSYWMFP.js +0 -1
  1155. package/dist/chunks/chunk.NZNJPDVW.js +0 -1
  1156. package/dist/chunks/chunk.OAALYDNZ.js +0 -1
  1157. package/dist/chunks/chunk.OANTUX24.js +0 -48
  1158. package/dist/chunks/chunk.OFOCDP2M.js +0 -1
  1159. package/dist/chunks/chunk.OJUQFN4A.js +0 -27
  1160. package/dist/chunks/chunk.OPBZIY2A.js +0 -1
  1161. package/dist/chunks/chunk.OT6SFBQX.js +0 -1
  1162. package/dist/chunks/chunk.OWZEKFKL.js +0 -1
  1163. package/dist/chunks/chunk.OZUKFWGD.js +0 -1
  1164. package/dist/chunks/chunk.P5XWJ5HC.js +0 -1
  1165. package/dist/chunks/chunk.PTN44XCI.js +0 -572
  1166. package/dist/chunks/chunk.PWT5JMOP.js +0 -1
  1167. package/dist/chunks/chunk.QBXUVQTY.js +0 -1
  1168. package/dist/chunks/chunk.QIS56XCC.js +0 -1
  1169. package/dist/chunks/chunk.QP5FZIRF.js +0 -1
  1170. package/dist/chunks/chunk.QQV7OIO7.js +0 -55
  1171. package/dist/chunks/chunk.QS2CNV3Q.js +0 -1
  1172. package/dist/chunks/chunk.R4JAF7DS.js +0 -1
  1173. package/dist/chunks/chunk.RFRYQSE5.js +0 -41
  1174. package/dist/chunks/chunk.RIDJTVHV.js +0 -1
  1175. package/dist/chunks/chunk.RNGOVZGF.js +0 -9
  1176. package/dist/chunks/chunk.RRTP2FHP.js +0 -1
  1177. package/dist/chunks/chunk.RW66TULD.js +0 -1
  1178. package/dist/chunks/chunk.RXSKPOBF.js +0 -1
  1179. package/dist/chunks/chunk.RYL27WYB.js +0 -1
  1180. package/dist/chunks/chunk.SAHUIO3P.js +0 -1
  1181. package/dist/chunks/chunk.SY3HGJA3.js +0 -100
  1182. package/dist/chunks/chunk.SYGSWLVD.js +0 -1
  1183. package/dist/chunks/chunk.TQZFMQPE.js +0 -11
  1184. package/dist/chunks/chunk.TSOQGANL.js +0 -1
  1185. package/dist/chunks/chunk.TTWUGVNW.js +0 -1
  1186. package/dist/chunks/chunk.UCO7ADVP.js +0 -64
  1187. package/dist/chunks/chunk.UFJISWXG.js +0 -1
  1188. package/dist/chunks/chunk.UFYFMNUK.js +0 -1
  1189. package/dist/chunks/chunk.UIQXEV7N.js +0 -67
  1190. package/dist/chunks/chunk.UZHA3QCH.js +0 -1190
  1191. package/dist/chunks/chunk.UZI5DYPK.js +0 -41
  1192. package/dist/chunks/chunk.UZZBJV4T.js +0 -1
  1193. package/dist/chunks/chunk.V34PEB3H.js +0 -1
  1194. package/dist/chunks/chunk.V4X3J7H5.js +0 -1
  1195. package/dist/chunks/chunk.VILSXY2Q.js +0 -1
  1196. package/dist/chunks/chunk.VSPWNHOW.js +0 -1
  1197. package/dist/chunks/chunk.VT3KMZ66.js +0 -1
  1198. package/dist/chunks/chunk.VZESRFZQ.js +0 -62
  1199. package/dist/chunks/chunk.W57YAS2G.js +0 -1
  1200. package/dist/chunks/chunk.WDHC6FGQ.js +0 -157
  1201. package/dist/chunks/chunk.WE4PQXFD.js +0 -65
  1202. package/dist/chunks/chunk.WG457PDK.js +0 -1
  1203. package/dist/chunks/chunk.WJQTKD6X.js +0 -1
  1204. package/dist/chunks/chunk.WKNEHZOD.js +0 -16
  1205. package/dist/chunks/chunk.WQFHYRFG.js +0 -1
  1206. package/dist/chunks/chunk.WTDZWPN3.js +0 -1
  1207. package/dist/chunks/chunk.WZYEI2K3.js +0 -1
  1208. package/dist/chunks/chunk.X266J3HR.js +0 -1
  1209. package/dist/chunks/chunk.X74E6IXG.js +0 -1
  1210. package/dist/chunks/chunk.XA6IYBQ4.js +0 -1
  1211. package/dist/chunks/chunk.XAZE2FE3.js +0 -1
  1212. package/dist/chunks/chunk.XJKVDKZL.js +0 -1
  1213. package/dist/chunks/chunk.XUAILPGW.js +0 -1
  1214. package/dist/chunks/chunk.XV7MX5O2.js +0 -1
  1215. package/dist/chunks/chunk.YA5FFFLQ.js +0 -20
  1216. package/dist/chunks/chunk.YDXNKY2Y.js +0 -1
  1217. package/dist/chunks/chunk.YOFBYVP5.js +0 -6
  1218. package/dist/chunks/chunk.YR5SSBSW.js +0 -299
  1219. package/dist/chunks/chunk.YUDIM7TE.js +0 -1
  1220. package/dist/chunks/chunk.YX5E2IPT.js +0 -1
  1221. package/dist/chunks/chunk.ZRR3M7ZR.js +0 -8
  1222. package/dist/chunks/chunk.ZUZ7QHWU.js +0 -1
  1223. package/dist/terra_ui_components-0.0.199-py3-none-any.whl +0 -0
  1224. package/dist/terra_ui_components-0.0.199.tar.gz +0 -0
@@ -0,0 +1,2785 @@
1
+ import {
2
+ KnownFeatureFlags,
3
+ isFeatureEnabled
4
+ } from "./chunk.S6KQAZNG.js";
5
+ import {
6
+ convertVariableEntryIdToGiovanniFormat
7
+ } from "./chunk.FXO66O5A.js";
8
+ import {
9
+ getNotebook
10
+ } from "./chunk.LH3S2EVK.js";
11
+ import {
12
+ TerraLogin
13
+ } from "./chunk.Z4Q5VENB.js";
14
+ import {
15
+ TerraDialog
16
+ } from "./chunk.F3CODGFM.js";
17
+ import {
18
+ HarmonyRequestController
19
+ } from "./chunk.CROGJ6YF.js";
20
+ import {
21
+ HarmonyRequest
22
+ } from "./chunk.5YAN7WHN.js";
23
+ import {
24
+ AuthController
25
+ } from "./chunk.4JXPGYJW.js";
26
+ import {
27
+ data_subsetter_styles_default
28
+ } from "./chunk.ITK2GQEZ.js";
29
+ import {
30
+ TerraDataAccess,
31
+ debounce
32
+ } from "./chunk.ZEF6TAO2.js";
33
+ import {
34
+ TerraSlider
35
+ } from "./chunk.6YTKJIW2.js";
36
+ import {
37
+ TerraMenuItem
38
+ } from "./chunk.TYYRLI6T.js";
39
+ import {
40
+ TerraMenu
41
+ } from "./chunk.ZPKUIM2L.js";
42
+ import {
43
+ TerraDatePicker
44
+ } from "./chunk.2RWUR2JL.js";
45
+ import {
46
+ CollectionController
47
+ } from "./chunk.JXSV4XD4.js";
48
+ import {
49
+ TerraSpatialPicker
50
+ } from "./chunk.OF2T7LUM.js";
51
+ import {
52
+ LatLng
53
+ } from "./chunk.Y3EV6C6T.js";
54
+ import {
55
+ TerraDropdown
56
+ } from "./chunk.XIZSOVIX.js";
57
+ import {
58
+ TerraInput
59
+ } from "./chunk.W3V3JBEX.js";
60
+ import {
61
+ QueryClientMixin
62
+ } from "./chunk.DOUWGQFH.js";
63
+ import {
64
+ TerraLoader
65
+ } from "./chunk.QZ742FD3.js";
66
+ import {
67
+ formatDate,
68
+ getUTCDate
69
+ } from "./chunk.X2BIJLHO.js";
70
+ import {
71
+ HttpException
72
+ } from "./chunk.SYQOGYTQ.js";
73
+ import {
74
+ TerraButton
75
+ } from "./chunk.YERKS624.js";
76
+ import {
77
+ TerraAlert
78
+ } from "./chunk.NDOUQ2RH.js";
79
+ import {
80
+ TerraAccordion
81
+ } from "./chunk.VPJPXQTQ.js";
82
+ import {
83
+ TerraIcon
84
+ } from "./chunk.APRNEJDQ.js";
85
+ import {
86
+ watch
87
+ } from "./chunk.MPVZOQYA.js";
88
+ import {
89
+ TerraElement,
90
+ component_styles_default,
91
+ e,
92
+ n,
93
+ r,
94
+ undefinedStringConverter
95
+ } from "./chunk.ISZYSNVF.js";
96
+ import {
97
+ getBasePath
98
+ } from "./chunk.ZQVMOVOT.js";
99
+ import {
100
+ A,
101
+ b
102
+ } from "./chunk.RRCYT4LP.js";
103
+ import {
104
+ __decorateClass,
105
+ __privateAdd,
106
+ __privateGet,
107
+ __privateMethod,
108
+ __spreadProps,
109
+ __spreadValues,
110
+ init_buffer,
111
+ init_dirname,
112
+ init_process
113
+ } from "./chunk.ZEOVK2FE.js";
114
+
115
+ // src/components/data-subsetter/data-subsetter.component.ts
116
+ init_dirname();
117
+ init_buffer();
118
+ init_process();
119
+
120
+ // src/lib/jupyter.ts
121
+ init_dirname();
122
+ init_buffer();
123
+ init_process();
124
+ var JUPYTER_LITE_URL = "https://gesdisc.github.io/jupyterlite/lab/index.html";
125
+ function openJupyterLiteWindow(readyCb) {
126
+ const jupyterWindow = window.open(JUPYTER_LITE_URL, "_blank");
127
+ if (!jupyterWindow) {
128
+ console.error("Failed to open JupyterLite!");
129
+ return;
130
+ }
131
+ window.addEventListener("message", (event) => readyCb(event, jupyterWindow), {
132
+ once: true
133
+ });
134
+ return jupyterWindow;
135
+ }
136
+ function sendDataToJupyterNotebook(type, data) {
137
+ openJupyterLiteWindow((event, jupyterWindow) => {
138
+ var _a;
139
+ if (((_a = event.data) == null ? void 0 : _a.type) !== "jupyterlite-ready") {
140
+ return;
141
+ }
142
+ console.log("JupyterLite is ready!");
143
+ jupyterWindow.postMessage(__spreadValues({ type }, data), "*");
144
+ });
145
+ }
146
+
147
+ // src/services/cmr-variable.service.ts
148
+ init_dirname();
149
+ init_buffer();
150
+ init_process();
151
+ var CmrVariableService = class {
152
+ /**
153
+ * given a name and a list of variables, return the variable with the matching name
154
+ */
155
+ getVariableByName(name, variables) {
156
+ var _a;
157
+ if (!variables || !((_a = variables.items) == null ? void 0 : _a.length)) {
158
+ return;
159
+ }
160
+ return variables.items.find((variable) => variable.umm.Name === name);
161
+ }
162
+ /**
163
+ * given a variable, return the variable's display label
164
+ * ex: Shortname = LongName (Units)
165
+ */
166
+ getVariableDisplayLabel(variable) {
167
+ const { Name = "", LongName = "", Units = "" } = variable.umm;
168
+ return `${Name}${Name && LongName && Name !== LongName ? ` = ${LongName}` : ""}${Units ? ` (${Units})` : ""}`;
169
+ }
170
+ };
171
+ var cmrVariableService = new CmrVariableService();
172
+ var cmr_variable_service_default = cmrVariableService;
173
+
174
+ // src/components/data-subsetter/data-subsetter.component.ts
175
+ var defaultOutputFormat = {
176
+ key: "application/x-netcdf4",
177
+ label: "NetCDF",
178
+ description: "Download data in NetCDF format"
179
+ };
180
+ var DEFAULT_DATE_RANGE_MIN_DAYS = 30;
181
+ var DEFAULT_DATE_RANGE_MIN_GRANULES = 3;
182
+ var _collectionController, _authController, _harmonyRequestController, _renderFooterForDialog, renderFooterForDialog_fn, _renderSizeInfo, renderSizeInfo_fn, _renderSubsetOptions, renderSubsetOptions_fn, _resetAllParameters, _renderSearchForCollection, renderSearchForCollection_fn, _renderOutputFormatSelection, renderOutputFormatSelection_fn, _renderDateRangeSelection, renderDateRangeSelection_fn, _handleDateChange, _resetDateRangeSelection, _resetFormatSelection, _getCollectionDateRange, getCollectionDateRange_fn, _getDefaultRecentDateRange, getDefaultRecentDateRange_fn, _renderSpatialSelection, renderSpatialSelection_fn, _handleSpatialChange, _resetSpatialSelection, _renderVariableSelection, renderVariableSelection_fn, _renderDimensionGroup, renderDimensionGroup_fn, _setDimensionValue, setDimensionValue_fn, _renderDimensionSelection, renderDimensionSelection_fn, _filterVariableTree, filterVariableTree_fn, _handleVariableFilterChange, handleVariableFilterChange_fn, _buildVariableTree, buildVariableTree_fn, _renderVariableTree, renderVariableTree_fn, _getAllGroupPaths, getAllGroupPaths_fn, _toggleGroupExpand, toggleGroupExpand_fn, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn, _toggleVariableSelection, toggleVariableSelection_fn, _markFieldTouched, markFieldTouched_fn, _resetVariableSelection, _resetDimensionSelection, resetDimensionSelection_fn, _isDimensionExcluded, isDimensionExcluded_fn, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn, _renderJobStatus, renderJobStatus_fn, _renderSelectedParams, renderSelectedParams_fn, _cancelJob, cancelJob_fn, _getData, getData_fn, _submitDataRequest, submitDataRequest_fn, _touchAllFields, touchAllFields_fn, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn, _getDocumentationLinks, getDocumentationLinks_fn, _getDataLinks, getDataLinks_fn, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn, _hasSpatialSubset, hasSpatialSubset_fn, _renderJobMessage, renderJobMessage_fn, _getJobMessageText, getJobMessageText_fn, _estimateJobSize, estimateJobSize_fn, _refineParameters, refineParameters_fn, _backToSubsetOptions, backToSubsetOptions_fn, _viewRunningJob, viewRunningJob_fn, _handleDownloadSelect, handleDownloadSelect_fn, _downloadLinksAsTxt, downloadLinksAsTxt_fn, _downloadPythonScript, downloadPythonScript_fn, _downloadEarthdataDownload, downloadEarthdataDownload_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn, _getGiovanniValidationError, getGiovanniValidationError_fn, _getHarmonyRequestErrorMessage, getHarmonyRequestErrorMessage_fn, _renderHarmonyRequestError, renderHarmonyRequestError_fn, _handleExpandSearchClick;
183
+ var TerraDataSubsetter = class extends QueryClientMixin(TerraElement) {
184
+ constructor() {
185
+ super(...arguments);
186
+ __privateAdd(this, _renderFooterForDialog);
187
+ __privateAdd(this, _renderSizeInfo);
188
+ __privateAdd(this, _renderSubsetOptions);
189
+ __privateAdd(this, _renderSearchForCollection);
190
+ __privateAdd(this, _renderOutputFormatSelection);
191
+ __privateAdd(this, _renderDateRangeSelection);
192
+ __privateAdd(this, _getCollectionDateRange);
193
+ /**
194
+ * Computes a "recent" default date range instead of the full collection
195
+ * extent, sized to the collection's average granule cadence so
196
+ * low-frequency collections (e.g. monthly) still default to a window
197
+ * covering a handful of granules rather than just one.
198
+ */
199
+ __privateAdd(this, _getDefaultRecentDateRange);
200
+ __privateAdd(this, _renderSpatialSelection);
201
+ __privateAdd(this, _renderVariableSelection);
202
+ __privateAdd(this, _renderDimensionGroup);
203
+ __privateAdd(this, _setDimensionValue);
204
+ __privateAdd(this, _renderDimensionSelection);
205
+ __privateAdd(this, _filterVariableTree);
206
+ __privateAdd(this, _handleVariableFilterChange);
207
+ __privateAdd(this, _buildVariableTree);
208
+ __privateAdd(this, _renderVariableTree);
209
+ __privateAdd(this, _getAllGroupPaths);
210
+ __privateAdd(this, _toggleGroupExpand);
211
+ __privateAdd(this, _toggleExpandCollapseAll);
212
+ __privateAdd(this, _toggleVariableSelection);
213
+ __privateAdd(this, _markFieldTouched);
214
+ __privateAdd(this, _resetDimensionSelection);
215
+ __privateAdd(this, _isDimensionExcluded);
216
+ __privateAdd(this, _getCommonSelectableDimensions);
217
+ __privateAdd(this, _renderJobStatus);
218
+ __privateAdd(this, _renderSelectedParams);
219
+ __privateAdd(this, _cancelJob);
220
+ __privateAdd(this, _getData);
221
+ __privateAdd(this, _submitDataRequest);
222
+ __privateAdd(this, _touchAllFields);
223
+ __privateAdd(this, _numberOfFilesFoundEstimate);
224
+ __privateAdd(this, _getDocumentationLinks);
225
+ __privateAdd(this, _getDataLinks);
226
+ __privateAdd(this, _hasAtLeastOneSubsetOption);
227
+ __privateAdd(this, _hasSpatialSubset);
228
+ __privateAdd(this, _renderJobMessage);
229
+ __privateAdd(this, _getJobMessageText);
230
+ __privateAdd(this, _estimateJobSize);
231
+ __privateAdd(this, _refineParameters);
232
+ __privateAdd(this, _backToSubsetOptions);
233
+ __privateAdd(this, _viewRunningJob);
234
+ __privateAdd(this, _handleDownloadSelect);
235
+ __privateAdd(this, _downloadLinksAsTxt);
236
+ __privateAdd(this, _downloadPythonScript);
237
+ __privateAdd(this, _downloadEarthdataDownload);
238
+ __privateAdd(this, _handleJupyterNotebookClick);
239
+ __privateAdd(this, _renderAvailableTemporalRangeSection);
240
+ __privateAdd(this, _renderAvailableSpatialRangeSection);
241
+ __privateAdd(this, _renderDataAccessModeSelection);
242
+ __privateAdd(this, _getGiovanniValidationError);
243
+ __privateAdd(this, _getHarmonyRequestErrorMessage);
244
+ __privateAdd(this, _renderHarmonyRequestError);
245
+ this.showCollectionSearch = true;
246
+ this.showHistoryPanel = true;
247
+ this.isHistoryView = false;
248
+ this.selectedVariables = [];
249
+ this.selectedDimensionIndexes = {};
250
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
251
+ this.variableFilterText = "";
252
+ this.touchedFields = /* @__PURE__ */ new Set();
253
+ this.selectedDateRange = {
254
+ startDate: null,
255
+ endDate: null
256
+ };
257
+ this.selectedFormat = defaultOutputFormat;
258
+ this.cancelingGetData = false;
259
+ this.isSubmittingRequest = false;
260
+ this.selectedTab = "web-links";
261
+ this.refineParameters = false;
262
+ this.collectionSearchType = "all";
263
+ this.collectionSearchLoading = false;
264
+ this.collectionLoading = false;
265
+ this.collectionAccordionOpen = true;
266
+ this.dataAccessMode = "original";
267
+ __privateAdd(this, _collectionController, new CollectionController(this, {
268
+ getCollectionEntryId: () => this.collectionEntryId,
269
+ getBearerToken: () => this.bearerToken
270
+ }));
271
+ __privateAdd(this, _authController, new AuthController(this));
272
+ __privateAdd(this, _harmonyRequestController, new HarmonyRequestController(this));
273
+ __privateAdd(this, _resetAllParameters, () => {
274
+ this.selectedVariables = [];
275
+ if (__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this)) {
276
+ __privateGet(this, _resetSpatialSelection).call(this);
277
+ }
278
+ this.selectedDateRange = {
279
+ startDate: null,
280
+ endDate: null
281
+ };
282
+ this.touchedFields = /* @__PURE__ */ new Set();
283
+ this.validationError = void 0;
284
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
285
+ this.requestUpdate();
286
+ });
287
+ __privateAdd(this, _handleDateChange, (e2) => {
288
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
289
+ this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
290
+ startDate: e2.detail.startDate,
291
+ endDate: e2.detail.endDate
292
+ });
293
+ });
294
+ __privateAdd(this, _resetDateRangeSelection, () => {
295
+ this.selectedDateRange = { startDate: null, endDate: null };
296
+ });
297
+ __privateAdd(this, _resetFormatSelection, () => {
298
+ var _a, _b;
299
+ if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats) == null ? void 0 : _b.length) {
300
+ const netcdfFormat = this.collectionWithServices.configuredOutputFormats.find(
301
+ (f) => f.key === "application/x-netcdf4" || f.key === "application/netcdf"
302
+ );
303
+ this.selectedFormat = netcdfFormat || this.collectionWithServices.configuredOutputFormats[0];
304
+ } else {
305
+ this.selectedFormat = defaultOutputFormat;
306
+ }
307
+ });
308
+ __privateAdd(this, _handleSpatialChange, (e2) => {
309
+ var _a;
310
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
311
+ if (e2.detail.type === "point" /* POINT */) {
312
+ this.shapeGeoJson = void 0;
313
+ this.spatialLabel = void 0;
314
+ this.spatialSelection = e2.detail.latLng;
315
+ } else if (e2.detail.type === "bbox" /* BBOX */) {
316
+ this.shapeGeoJson = void 0;
317
+ this.spatialLabel = void 0;
318
+ this.spatialSelection = e2.detail.bounds;
319
+ } else if (e2.detail.type === "polygon" /* POLYGON */) {
320
+ this.spatialSelection = void 0;
321
+ if (e2.detail.geoJson) {
322
+ this.shapeGeoJson = e2.detail.geoJson;
323
+ this.spatialLabel = (_a = e2.detail.label) != null ? _a : "Shape selected";
324
+ } else if (e2.detail.latLngs.length > 0) {
325
+ const coords = e2.detail.latLngs.map((ll) => [ll.lng, ll.lat]);
326
+ coords.push(coords[0]);
327
+ this.shapeGeoJson = {
328
+ type: "FeatureCollection",
329
+ features: [
330
+ {
331
+ type: "Feature",
332
+ geometry: {
333
+ type: "Polygon",
334
+ coordinates: [coords]
335
+ },
336
+ properties: null
337
+ }
338
+ ]
339
+ };
340
+ this.spatialLabel = `Polygon (${e2.detail.latLngs.length} vertices)`;
341
+ } else {
342
+ this.shapeGeoJson = void 0;
343
+ this.spatialLabel = void 0;
344
+ }
345
+ } else {
346
+ this.spatialSelection = void 0;
347
+ this.shapeGeoJson = void 0;
348
+ this.spatialLabel = void 0;
349
+ }
350
+ });
351
+ /**
352
+ * resets the spatial selection back to the bounds of the collection
353
+ */
354
+ __privateAdd(this, _resetSpatialSelection, () => {
355
+ this.spatialSelection = void 0;
356
+ this.shapeGeoJson = void 0;
357
+ this.spatialLabel = void 0;
358
+ this.spatialPicker.clear();
359
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
360
+ });
361
+ __privateAdd(this, _resetVariableSelection, () => {
362
+ this.selectedVariables = [];
363
+ __privateMethod(this, _resetDimensionSelection, resetDimensionSelection_fn).call(this);
364
+ });
365
+ __privateAdd(this, _handleExpandSearchClick, (event) => {
366
+ event.preventDefault();
367
+ __privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn).call(this);
368
+ });
369
+ }
370
+ jobIdChanged() {
371
+ if (this.jobId) {
372
+ __privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId, {
373
+ bearerToken: this.bearerToken
374
+ });
375
+ this.dataAccessMode = "subset";
376
+ }
377
+ }
378
+ shortNameAndVersionChanged() {
379
+ if (this.shortName && this.version) {
380
+ this.collectionEntryId = `${this.shortName}_${this.version}`;
381
+ }
382
+ }
383
+ collectionEntryIdChanged() {
384
+ if (this.collectionEntryId) {
385
+ this.showCollectionSearch = false;
386
+ } else {
387
+ this.showCollectionSearch = true;
388
+ }
389
+ }
390
+ firstUpdated() {
391
+ if (this.collectionEntryId) {
392
+ this.showCollectionSearch = false;
393
+ }
394
+ if (this.jobId) {
395
+ __privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId, {
396
+ bearerToken: this.bearerToken
397
+ });
398
+ this.dataAccessMode = "subset";
399
+ }
400
+ this.renderHistoryPanel();
401
+ }
402
+ updated(changedProps) {
403
+ var _a, _b, _c;
404
+ super.updated(changedProps);
405
+ const newCollectionInfo = __privateGet(this, _collectionController).collectionInfo;
406
+ if (newCollectionInfo !== this.collectionWithServices) {
407
+ this.collectionWithServices = newCollectionInfo;
408
+ }
409
+ const sampling = (_a = __privateGet(this, _collectionController).sampling) == null ? void 0 : _a.data;
410
+ if ((sampling == null ? void 0 : sampling.minDate) !== this.granuleMinDate) {
411
+ this.granuleMinDate = sampling == null ? void 0 : sampling.minDate;
412
+ }
413
+ if ((sampling == null ? void 0 : sampling.maxDate) !== this.granuleMaxDate) {
414
+ this.granuleMaxDate = sampling == null ? void 0 : sampling.maxDate;
415
+ }
416
+ const newGiovanni = __privateGet(this, _collectionController).giovanniVariables;
417
+ if (newGiovanni.size !== ((_c = (_b = this.giovanniConfiguredVariables) == null ? void 0 : _b.size) != null ? _c : 0)) {
418
+ this.giovanniConfiguredVariables = newGiovanni;
419
+ }
420
+ }
421
+ /** True if the collection contains sub-daily granules. Used by DataSubsetterController to format dates. */
422
+ get isSubDaily() {
423
+ return __privateGet(this, _collectionController).isSubDaily;
424
+ }
425
+ collectionChanged() {
426
+ const { startDate, endDate } = __privateMethod(this, _getDefaultRecentDateRange, getDefaultRecentDateRange_fn).call(this);
427
+ this.selectedDateRange = { startDate, endDate };
428
+ __privateGet(this, _resetFormatSelection).call(this);
429
+ this.collectionLoading = false;
430
+ this.collectionAccordionOpen = false;
431
+ }
432
+ granuleDatesChanged() {
433
+ if (!this.granuleMinDate && !this.granuleMaxDate)
434
+ return;
435
+ const { startDate, endDate } = __privateMethod(this, _getDefaultRecentDateRange, getDefaultRecentDateRange_fn).call(this);
436
+ this.selectedDateRange = { startDate, endDate };
437
+ }
438
+ selectedFormatChanged() {
439
+ if (this.selectedFormat.isGiovanniFormat && this.selectedVariables.length > 1) {
440
+ this.selectedVariables = [this.selectedVariables[0]];
441
+ }
442
+ }
443
+ showDialog() {
444
+ var _a;
445
+ (_a = this.dialogElement) == null ? void 0 : _a.show();
446
+ }
447
+ render() {
448
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
449
+ const showJobStatus = (__privateGet(this, _harmonyRequestController).jobId || this.harmonyRequestError) && !this.refineParameters;
450
+ const showMinimizeButton = showJobStatus && !!this.dialog;
451
+ const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
452
+ const hasCapabilitiesError = !this.collectionWithServices && __privateGet(this, _collectionController).hasCapabilitiesError;
453
+ const content = b`
454
+ <div class="container">
455
+ ${hasCapabilitiesError ? b`
456
+ <terra-alert open variant="danger" appearance="white">
457
+ Failed to find the requested collection.
458
+ </terra-alert>
459
+ ` : b`
460
+ ${!this.dialog ? b`
461
+ <div class="header">
462
+ <h1>
463
+ <svg
464
+ class="download-icon"
465
+ viewBox="0 0 24 24"
466
+ fill="currentColor"
467
+ >
468
+ <path
469
+ d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
470
+ />
471
+ </svg>
472
+ ${title}
473
+ </h1>
474
+
475
+ ${showMinimizeButton ? b`<button
476
+ class="minimize-btn"
477
+ @click=${() => this.minimizeDialog()}
478
+ >
479
+ -
480
+ </button>` : A}
481
+ </div>
482
+ ` : A}
483
+ ${!this.isHistoryView && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? b`
484
+ <div class="section">
485
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
486
+ </div>
487
+ ` : A}
488
+ ${this.dataAccessMode === "original" ? b`
489
+ <div class="section">
490
+ <terra-data-access
491
+ short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
492
+ version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
493
+ ?footer-slot=${!!this.dialog}
494
+ >
495
+ ${this.dialog ? b`
496
+ <div
497
+ slot="footer"
498
+ style="margin-top: 15px;"
499
+ >
500
+ <slot
501
+ name="data-access-footer"
502
+ ></slot>
503
+ </div>
504
+ ` : A}
505
+ </terra-data-access>
506
+ </div>
507
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
508
+ `}
509
+ </div>
510
+ `;
511
+ if (this.dialog) {
512
+ return b`
513
+ <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
514
+ <span
515
+ slot="label"
516
+ style="display: flex; align-items: center; gap: 8px; color: var(--terra-text-brand-on-secondary, #1c67e3); font-weight: 600;"
517
+ >
518
+ <svg
519
+ class="download-icon"
520
+ viewBox="0 0 24 24"
521
+ fill="currentColor"
522
+ style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
523
+ >
524
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
525
+ </svg>
526
+ ${title}
527
+ </span>
528
+ ${showMinimizeButton ? b`
529
+ <button
530
+ slot="header-actions"
531
+ class="minimize-btn"
532
+ @click=${() => {
533
+ var _a2;
534
+ return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
535
+ }}
536
+ aria-label="Minimize"
537
+ >
538
+ -
539
+ </button>
540
+ ` : A}
541
+ <slot name="dialog-header-content"></slot>
542
+ ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
543
+ </terra-dialog>
544
+ `;
545
+ }
546
+ return b`
547
+ <div class="container">
548
+ <div class="header">
549
+ <h1>
550
+ <svg
551
+ class="download-icon"
552
+ viewBox="0 0 24 24"
553
+ fill="currentColor"
554
+ >
555
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
556
+ </svg>
557
+ ${title}
558
+ </h1>
559
+
560
+ ${showMinimizeButton ? b`<button
561
+ class="minimize-btn"
562
+ @click=${() => this.minimizeDialog()}
563
+ >
564
+ -
565
+ </button>` : A}
566
+ </div>
567
+ ${hasCapabilitiesError ? b`
568
+ <terra-alert open variant="danger" appearance="white">
569
+ Failed to find the requested collection.
570
+ </terra-alert>
571
+ ` : b`
572
+ ${!this.isHistoryView && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? b`
573
+ <div class="section">
574
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
575
+ </div>
576
+ ` : A}
577
+ ${this.dataAccessMode === "original" ? b`
578
+ <div class="section">
579
+ <terra-data-access
580
+ short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
581
+ version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
582
+ ?footer-slot=${!!this.dialog}
583
+ >
584
+ ${this.dialog ? b`
585
+ <div
586
+ slot="footer"
587
+ style="margin-top: 15px;"
588
+ >
589
+ <slot
590
+ name="data-access-footer"
591
+ ></slot>
592
+ </div>
593
+ ` : A}
594
+ </terra-data-access>
595
+ </div>
596
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
597
+ `}
598
+ </div>
599
+ `;
600
+ }
601
+ minimizeDialog() {
602
+ var _a;
603
+ (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
604
+ }
605
+ handleCollectionSearch(searchTerm) {
606
+ this.collectionSearchQuery = searchTerm;
607
+ }
608
+ renderHistoryPanel() {
609
+ const existingHistoryPanel = document.querySelector(
610
+ "terra-data-subsetter-history"
611
+ );
612
+ if (!existingHistoryPanel && this.bearerToken) {
613
+ const historyPanel = document.createElement(
614
+ "terra-data-subsetter-history"
615
+ );
616
+ if (this.bearerToken) {
617
+ historyPanel.setAttribute("bearer-token", this.bearerToken);
618
+ }
619
+ if (this.environment) {
620
+ historyPanel.setAttribute("environment", this.environment);
621
+ }
622
+ document.body.appendChild(historyPanel);
623
+ }
624
+ }
625
+ };
626
+ _collectionController = new WeakMap();
627
+ _authController = new WeakMap();
628
+ _harmonyRequestController = new WeakMap();
629
+ _renderFooterForDialog = new WeakSet();
630
+ renderFooterForDialog_fn = function() {
631
+ const showJobStatus = (__privateGet(this, _harmonyRequestController).jobId || this.harmonyRequestError) && !this.refineParameters;
632
+ if (showJobStatus) {
633
+ if (!__privateGet(this, _harmonyRequestController).jobId) {
634
+ return A;
635
+ }
636
+ return b`
637
+ <div slot="footer" class="footer">
638
+ ${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
639
+ <div
640
+ style="display: flex; align-items: center; gap: 8px;"
641
+ >
642
+ <terra-dropdown
643
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
644
+ >
645
+ <terra-button slot="trigger" caret>
646
+ Download Options
647
+ </terra-button>
648
+ <terra-menu>
649
+ <terra-menu-item value="file-list">
650
+ <svg
651
+ slot="prefix"
652
+ viewBox="0 0 24 24"
653
+ width="16"
654
+ height="16"
655
+ style="width: 16px; height: 16px;"
656
+ >
657
+ <path
658
+ fill="currentColor"
659
+ 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"
660
+ />
661
+ </svg>
662
+ File List
663
+ </terra-menu-item>
664
+ <terra-menu-item value="python-script">
665
+ <svg
666
+ slot="prefix"
667
+ viewBox="0 0 128 128"
668
+ width="16"
669
+ height="16"
670
+ style="width: 16px; height: 16px;"
671
+ >
672
+ <path
673
+ fill="currentColor"
674
+ 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"
675
+ ></path>
676
+ </svg>
677
+ Python Script
678
+ </terra-menu-item>
679
+ <terra-menu-item value="earthdata-download">
680
+ <svg
681
+ slot="prefix"
682
+ viewBox="0 0 64 64"
683
+ fill="none"
684
+ width="16"
685
+ height="16"
686
+ style="width: 16px; height: 16px;"
687
+ >
688
+ <circle
689
+ cx="32"
690
+ cy="32"
691
+ r="28"
692
+ fill="currentColor"
693
+ />
694
+ <path
695
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
696
+ stroke="#fff"
697
+ stroke-width="4"
698
+ stroke-linecap="round"
699
+ stroke-linejoin="round"
700
+ fill="none"
701
+ />
702
+ </svg>
703
+ Earthdata Download
704
+ </terra-menu-item>
705
+ </terra-menu>
706
+ </terra-dropdown>
707
+
708
+ <!--
709
+ <terra-button
710
+ outline
711
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
712
+ >
713
+ <terra-icon
714
+ name="outline-code-bracket"
715
+ library="heroicons"
716
+ font-size="1.5em"
717
+ style="margin-right: 5px;"
718
+ ></terra-icon>
719
+ Open in Jupyter Notebook
720
+ </terra-button>
721
+ -->
722
+ </div>
723
+ ` : A}
724
+ ${__privateGet(this, _harmonyRequestController).status === "running" /* RUNNING */ ? b`<button
725
+ class="btn btn-success"
726
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
727
+ ?disabled=${this.cancelingGetData}
728
+ >
729
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
730
+ </button>` : A}
731
+
732
+ <div class="job-info">
733
+ Job ID:
734
+ <span class="job-id">
735
+ ${this.bearerToken ? b`<a
736
+ href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
737
+ target="_blank"
738
+ >${__privateGet(this, _harmonyRequestController).jobId}</a
739
+ >` : __privateGet(this, _harmonyRequestController).jobId}
740
+ </span>
741
+ <span class="info-icon">?</span>
742
+ </div>
743
+ </div>
744
+ `;
745
+ }
746
+ if (this.dataAccessMode === "subset") {
747
+ return b`
748
+ <div slot="footer" class="footer">
749
+ <button
750
+ class="btn btn-secondary"
751
+ @click=${__privateGet(this, _resetAllParameters)}
752
+ >
753
+ Reset All
754
+ </button>
755
+ <div>
756
+ <button
757
+ class="btn btn-primary"
758
+ ?disabled=${this.isSubmittingRequest}
759
+ @click=${__privateMethod(this, _getData, getData_fn)}
760
+ >
761
+ ${this.isSubmittingRequest ? "Getting Data..." : "Get Data"}
762
+ </button>
763
+ ${this.jobId ? b`
764
+ <terra-button
765
+ variant="default"
766
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
767
+ >
768
+ View Running Job
769
+ </terra-button>
770
+ ` : A}
771
+ </div>
772
+ </div>
773
+ `;
774
+ }
775
+ return A;
776
+ };
777
+ _renderSizeInfo = new WeakSet();
778
+ renderSizeInfo_fn = function(estimates) {
779
+ if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
780
+ return b`
781
+ <div class="size-info warning">
782
+ <terra-login .onLoginClick=${this.onLoginClick}>
783
+ <h2 slot="logged-out">Limited access as a guest.</h2>
784
+
785
+ <p slot="logged-out">
786
+ Your results will be capped at 10 links. Log in for full
787
+ access to all data.
788
+ </p>
789
+ </terra-login>
790
+ </div>
791
+ `;
792
+ }
793
+ return b`<div
794
+ class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
795
+ >
796
+ <h2>Estimated size of results</h2>
797
+ <div class="size-stats">
798
+ ${estimates.days.toLocaleString()} days,
799
+ ${estimates.links.toLocaleString()} links
800
+ </div>
801
+ ${estimates.links >= 150 ? b`<div class="size-warning">
802
+ You are about to retrieve ${estimates.links.toLocaleString()}
803
+ file links from the archive. You may
804
+ <strong>speed up the request</strong> by limiting the scope of
805
+ your search.
806
+ </div>` : A}
807
+ </div>`;
808
+ };
809
+ _renderSubsetOptions = new WeakSet();
810
+ renderSubsetOptions_fn = function() {
811
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
812
+ const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
813
+ const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
814
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
815
+ const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
816
+ const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
817
+ const showTemporalSection = temporalExtents == null ? void 0 : temporalExtents.length;
818
+ const showSpatialSection = (_c = (_b = spatialExtent == null ? void 0 : spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles;
819
+ return b`
820
+ ${this.dataAccessMode === "original" ? A : hasSubsetOption ? b`
821
+ ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : A}
822
+ ${this.showCollectionSearch ? b`
823
+ <div class="section">
824
+ <h2 class="section-title">
825
+ Select Data Collection
826
+ </h2>
827
+
828
+ ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
829
+ </div>
830
+ ` : A}
831
+ ${((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.summary.outputFormats) == null ? void 0 : _e.length) && hasSubsetOption ? b`
832
+ <div class="section">
833
+ <h2 class="section-title">Output Format</h2>
834
+
835
+ ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
836
+ </div>
837
+ ` : A}
838
+ <div class="section">
839
+ <h2 class="section-title">Subset Options</h2>
840
+ <p style="color: #666; margin-bottom: 16px;">
841
+ Generate file links that support spatial subsetting,
842
+ date/time range selection, and variable selection.
843
+ </p>
844
+
845
+ ${((_f = this.collectionWithServices) == null ? void 0 : _f.summary.subsetting.temporal) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : A}
846
+ ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : A}
847
+ ${((_g = this.collectionWithServices) == null ? void 0 : _g.summary.subsetting.variable) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : A}
848
+ ${((_h = this.collectionWithServices) == null ? void 0 : _h.summary.subsetting.variable) && isFeatureEnabled(
849
+ KnownFeatureFlags.DIMENSION_SUBSET,
850
+ this.features
851
+ ) ? __privateMethod(this, _renderDimensionSelection, renderDimensionSelection_fn).call(this) : A}
852
+ </div>
853
+ ` : b`
854
+ ${showTemporalSection && !((_i = this.collectionWithServices) == null ? void 0 : _i.summary.subsetting.temporal) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : A}
855
+ ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : A}
856
+ `}
857
+ ${!hasSubsetOption && estimates ? b`
858
+ <div
859
+ class="neutral-info"
860
+ style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
861
+ >
862
+ <strong>Estimated result size:</strong><br />
863
+ Your request will return approximately
864
+ <b>${estimates.links.toLocaleString()}</b> files covering
865
+ <b>${estimates.days.toLocaleString()}</b> days.
866
+ </div>
867
+ ` : A}
868
+ ${this.dataAccessMode === "subset" && !this.dialog ? b`
869
+ <div class="footer">
870
+ <button
871
+ class="btn btn-secondary"
872
+ @click=${__privateGet(this, _resetAllParameters)}
873
+ >
874
+ Reset All
875
+ </button>
876
+ <div>
877
+ <button
878
+ class="btn btn-primary"
879
+ ?disabled=${this.isSubmittingRequest}
880
+ @click=${__privateMethod(this, _getData, getData_fn)}
881
+ >
882
+ ${this.isSubmittingRequest ? "Getting Data..." : "Get Data"}
883
+ </button>
884
+ ${this.jobId ? b`
885
+ <terra-button
886
+ variant="default"
887
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
888
+ >
889
+ View Running Job
890
+ </terra-button>
891
+ ` : A}
892
+ </div>
893
+ </div>
894
+ ` : A}
895
+ `;
896
+ };
897
+ _resetAllParameters = new WeakMap();
898
+ _renderSearchForCollection = new WeakSet();
899
+ renderSearchForCollection_fn = function() {
900
+ var _a, _b;
901
+ let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
902
+ if (this.collectionSearchType === "collection") {
903
+ placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
904
+ }
905
+ if (this.collectionSearchType === "variable") {
906
+ placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
907
+ }
908
+ return b`
909
+ <terra-accordion .open=${this.collectionAccordionOpen}>
910
+ <div slot="summary">
911
+ <span class="accordion-title">Collection:</span>
912
+ </div>
913
+
914
+ <div
915
+ slot="summary-right"
916
+ style="display: flex; align-items: center; gap: 10px"
917
+ >
918
+ ${this.collectionEntryId ? b` <span
919
+ class="accordion-value"
920
+ id="selected-collection-display"
921
+ >${this.collectionEntryId}</span
922
+ >
923
+
924
+ <button
925
+ class="reset-btn"
926
+ @click=${() => this.collectionEntryId = void 0}
927
+ >
928
+ Reset
929
+ </button>` : A}
930
+ </div>
931
+
932
+ <div class="search-tabs-mini">
933
+ <button
934
+ class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
935
+ @click=${() => this.collectionSearchType = "all"}
936
+ >
937
+ All
938
+ </button>
939
+ <button
940
+ class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
941
+ @click=${() => this.collectionSearchType = "collection"}
942
+ >
943
+ Collections
944
+ </button>
945
+ <button
946
+ class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
947
+ @click=${() => this.collectionSearchType = "variable"}
948
+ >
949
+ Variables
950
+ </button>
951
+ </div>
952
+
953
+ <div class="search-container-mini">
954
+ <input
955
+ type="text"
956
+ class="search-input-mini"
957
+ id="search-input"
958
+ placeholder=${placeholder}
959
+ @input="${(e2) => this.handleCollectionSearch(
960
+ e2.target.value
961
+ )}"
962
+ />
963
+
964
+ <button class="search-button-mini">
965
+ <svg
966
+ class="search-icon-mini"
967
+ viewBox="0 0 24 24"
968
+ fill="currentColor"
969
+ >
970
+ <path
971
+ 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"
972
+ />
973
+ </svg>
974
+ Search
975
+ </button>
976
+ </div>
977
+
978
+ <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
979
+ <div class="quick-links-mini">
980
+ <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
981
+ >GPM Precipitation</a
982
+ >
983
+ <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
984
+ >MODIS Data</a
985
+ >
986
+ <a
987
+ href="#"
988
+ class="quick-link-mini"
989
+ onclick="quickSearch('Landsat')"
990
+ >Landsat Imagery</a
991
+ >
992
+ <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
993
+ >Atmospheric Data</a
994
+ >
995
+ </div>
996
+ -->
997
+
998
+ <div id="search-results-section" class="search-results-section">
999
+ ${this.collectionSearchLoading ? b`
1000
+ <div id="loading-mini" class="loading-mini">
1001
+ <div class="spinner-mini"></div>
1002
+ <div>Searching NASA CMR...</div>
1003
+ </div>
1004
+ ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? b` <div
1005
+ id="results-container-mini"
1006
+ class="results-container-mini"
1007
+ >
1008
+ ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
1009
+ (item) => b`
1010
+ <div
1011
+ class="result-item-mini"
1012
+ @click=${() => {
1013
+ this.collectionEntryId = item.collectionEntryId;
1014
+ this.collectionAccordionOpen = false;
1015
+ this.collectionLoading = true;
1016
+ if (item.type === "variable") {
1017
+ this.selectedVariables = [
1018
+ {
1019
+ name: item.entryId,
1020
+ href: "",
1021
+ conceptId: item.conceptId
1022
+ }
1023
+ ];
1024
+ }
1025
+ this.requestUpdate();
1026
+ }}
1027
+ style="cursor: pointer;"
1028
+ >
1029
+ <div class="result-title-mini">
1030
+ ${item.title}
1031
+ </div>
1032
+ <div class="result-id-mini">
1033
+ ${item.entryId}
1034
+ </div>
1035
+ <div class="result-description-mini">
1036
+ ${item.summary || item.title}
1037
+ </div>
1038
+ <div class="result-meta-mini">
1039
+ <span>📅 2000-02-24 - ongoing</span>
1040
+ <span>🌍 Global</span>
1041
+ <span>🏢 ${item.provider}</span>
1042
+ ${item.type === "variable" ? b` <span
1043
+ >📊
1044
+ ${item.collectionEntryId}</span
1045
+ >` : A}
1046
+ <span class="tag-mini"
1047
+ >${item.type.toUpperCase()}</span
1048
+ >
1049
+ </div>
1050
+ </div>
1051
+ `
1052
+ )}
1053
+ </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? b`<div id="no-results-mini" class="no-results-mini">
1054
+ <p>
1055
+ No results found for
1056
+ '${this.collectionSearchQuery}'. Try adjusting
1057
+ your search term.
1058
+ </p>
1059
+ </div>` : A}
1060
+ </div>
1061
+ </terra-accordion>
1062
+
1063
+ ${this.collectionLoading ? b`
1064
+ <div
1065
+ class="collection-loading-bar"
1066
+ style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
1067
+ >
1068
+ <span
1069
+ class="loading-spinner"
1070
+ 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;"
1071
+ ></span>
1072
+ Retrieving collection, please wait...
1073
+ </div>
1074
+ <style>
1075
+ @keyframes spin {
1076
+ 0% {
1077
+ transform: rotate(0deg);
1078
+ }
1079
+ 100% {
1080
+ transform: rotate(360deg);
1081
+ }
1082
+ }
1083
+ </style>
1084
+ ` : A}
1085
+ `;
1086
+ };
1087
+ _renderOutputFormatSelection = new WeakSet();
1088
+ renderOutputFormatSelection_fn = function() {
1089
+ return b`
1090
+ <terra-accordion>
1091
+ <div slot="summary">
1092
+ <span class="accordion-title">File Format:</span>
1093
+ </div>
1094
+
1095
+ <div
1096
+ slot="summary-right"
1097
+ style="display: flex; align-items: center; gap: 10px;"
1098
+ >
1099
+ <span>${this.selectedFormat.label}</span>
1100
+
1101
+ <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
1102
+ Reset
1103
+ </button>
1104
+ </div>
1105
+
1106
+ <div class="accordion-content" style="margin-top: 12px;">
1107
+ ${(() => {
1108
+ var _a;
1109
+ return (((_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats) || []).map(
1110
+ (format) => b`
1111
+ <label
1112
+ style="display: flex; align-items: center; gap: 8px; padding: 5px;"
1113
+ >
1114
+ <input
1115
+ type="radio"
1116
+ name="output-format"
1117
+ value="${format}"
1118
+ .checked=${this.selectedFormat === format}
1119
+ @change=${() => this.selectedFormat = format}
1120
+ />
1121
+ ${format.label}
1122
+ </label>
1123
+ `
1124
+ );
1125
+ })()}
1126
+ </div>
1127
+ </terra-accordion>
1128
+ `;
1129
+ };
1130
+ _renderDateRangeSelection = new WeakSet();
1131
+ renderDateRangeSelection_fn = function() {
1132
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1133
+ const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1134
+ const startDate = (_b = (_a = this.selectedDateRange.startDate) != null ? _a : this.granuleMinDate) != null ? _b : defaultStartDate;
1135
+ const endDate = (_d = (_c = this.selectedDateRange.endDate) != null ? _c : this.granuleMaxDate) != null ? _d : defaultEndDate;
1136
+ const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
1137
+ return b`
1138
+ <terra-accordion>
1139
+ <div slot="summary">
1140
+ <span class="accordion-title">Refine Date Range:</span>
1141
+ </div>
1142
+
1143
+ <div
1144
+ slot="summary-right"
1145
+ style="display: flex; align-items: center; gap: 10px;"
1146
+ >
1147
+ ${showError ? b`<span class="accordion-value error"
1148
+ >Please select a date range</span
1149
+ >` : this.touchedFields.has("date") && startDate && endDate ? b`<span class="accordion-value"
1150
+ >${startDate} to ${endDate}</span
1151
+ >` : A}
1152
+ <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
1153
+ Reset
1154
+ </button>
1155
+ </div>
1156
+
1157
+ <div style="width: 300px">
1158
+ <terra-date-picker
1159
+ allow-input
1160
+ inline
1161
+ range
1162
+ split-inputs
1163
+ show-presets
1164
+ ?enable-time=${this.isSubDaily}
1165
+ start-label="Start Date"
1166
+ end-label="End Date"
1167
+ .minDate=${(_e = this.granuleMinDate) != null ? _e : defaultStartDate}
1168
+ .maxDate=${(_f = this.granuleMaxDate) != null ? _f : defaultEndDate}
1169
+ .startDate=${(_g = this.selectedDateRange.startDate) != null ? _g : this.granuleMinDate}
1170
+ .endDate=${(_h = this.selectedDateRange.endDate) != null ? _h : this.granuleMaxDate}
1171
+ .useEndOfDay=${!this.selectedFormat.isGiovanniFormat}
1172
+ @terra-date-range-change=${__privateGet(this, _handleDateChange)}
1173
+ ></terra-date-picker>
1174
+ </div>
1175
+
1176
+ <div style="display: flex; gap: 16px; margin-top: 15px;">
1177
+ <span
1178
+ ><strong>Available Range:</strong> ${defaultStartDate} to
1179
+ ${defaultEndDate}</span
1180
+ >
1181
+ ${this.isSubDaily ? b`<span
1182
+ ><strong>Note:</strong> All dates and times are in
1183
+ UTC.</span
1184
+ >` : A}
1185
+ </div>
1186
+ </terra-accordion>
1187
+ `;
1188
+ };
1189
+ _handleDateChange = new WeakMap();
1190
+ _resetDateRangeSelection = new WeakMap();
1191
+ _resetFormatSelection = new WeakMap();
1192
+ _getCollectionDateRange = new WeakSet();
1193
+ getCollectionDateRange_fn = function() {
1194
+ var _a, _b;
1195
+ const samplingMinDate = this.granuleMinDate;
1196
+ const samplingMaxDate = this.granuleMaxDate;
1197
+ if (samplingMinDate && samplingMaxDate) {
1198
+ return {
1199
+ startDate: samplingMinDate.slice(0, 10),
1200
+ endDate: samplingMaxDate.slice(0, 10)
1201
+ };
1202
+ }
1203
+ const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
1204
+ if (!(temporalExtents == null ? void 0 : temporalExtents.length))
1205
+ return {
1206
+ startDate: null,
1207
+ endDate: null
1208
+ };
1209
+ let minStart = null;
1210
+ let maxEnd = null;
1211
+ const today = /* @__PURE__ */ new Date();
1212
+ for (const temporal of temporalExtents) {
1213
+ for (const range of temporal.RangeDateTimes || []) {
1214
+ const start = new Date(range.BeginningDateTime);
1215
+ let end;
1216
+ if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
1217
+ end = today;
1218
+ } else {
1219
+ end = new Date(range.EndingDateTime);
1220
+ }
1221
+ if (!minStart || start < minStart)
1222
+ minStart = start;
1223
+ if (!maxEnd || end > maxEnd)
1224
+ maxEnd = end;
1225
+ }
1226
+ }
1227
+ return {
1228
+ startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
1229
+ endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
1230
+ };
1231
+ };
1232
+ _getDefaultRecentDateRange = new WeakSet();
1233
+ getDefaultRecentDateRange_fn = function() {
1234
+ var _a;
1235
+ const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1236
+ const granuleCount = (_a = this.collectionWithServices) == null ? void 0 : _a.granuleCount;
1237
+ if (!range.startDate || !range.endDate || !granuleCount || granuleCount <= 1) {
1238
+ return range;
1239
+ }
1240
+ const msPerDay = 1e3 * 60 * 60 * 24;
1241
+ const fullStart = new Date(range.startDate);
1242
+ const fullEnd = new Date(range.endDate);
1243
+ const totalDays = Math.floor((fullEnd.getTime() - fullStart.getTime()) / msPerDay) + 1;
1244
+ if (totalDays <= 0) {
1245
+ return range;
1246
+ }
1247
+ const avgCadenceDays = totalDays / granuleCount;
1248
+ const windowDays = Math.min(
1249
+ totalDays,
1250
+ Math.max(
1251
+ DEFAULT_DATE_RANGE_MIN_DAYS,
1252
+ avgCadenceDays * DEFAULT_DATE_RANGE_MIN_GRANULES
1253
+ )
1254
+ );
1255
+ if (windowDays >= totalDays) {
1256
+ return range;
1257
+ }
1258
+ const recentStart = new Date(fullEnd.getTime() - (windowDays - 1) * msPerDay);
1259
+ return {
1260
+ startDate: recentStart > fullStart ? formatDate(recentStart) : range.startDate,
1261
+ endDate: range.endDate
1262
+ };
1263
+ };
1264
+ _renderSpatialSelection = new WeakSet();
1265
+ renderSpatialSelection_fn = function() {
1266
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
1267
+ const showError = this.touchedFields.has("spatial") && !this.spatialSelection && !this.shapeGeoJson;
1268
+ const spatialString = (_c = (_b = this.spatialLabel) != null ? _b : (_a = this.spatialSelection) == null ? void 0 : _a.toString()) != null ? _c : void 0;
1269
+ const spatialInitialValue = (_e = (_d = this.spatialSelection) == null ? void 0 : _d.toString()) != null ? _e : void 0;
1270
+ return b`
1271
+ <terra-accordion>
1272
+ <div slot="summary">
1273
+ <span class="accordion-title">Refine Region:</span>
1274
+ </div>
1275
+
1276
+ <div
1277
+ slot="summary-right"
1278
+ style="display: flex; align-items: center; gap: 10px;"
1279
+ >
1280
+ ${showError ? b`<span class="accordion-value error"
1281
+ >Please select a region</span
1282
+ >` : spatialString ? b`<span class="accordion-value"
1283
+ >${spatialString}</span
1284
+ >` : A}
1285
+ <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1286
+ Reset
1287
+ </button>
1288
+ </div>
1289
+ <div class="accordion-content">
1290
+ <terra-spatial-picker
1291
+ part="spatial-picker"
1292
+ inline
1293
+ hide-label
1294
+ .spatialConstraints=${__privateGet(this, _collectionController).spatialConstraints || "-180, -90, 180, 90"}
1295
+ .initialValue=${spatialInitialValue}
1296
+ ?has-shape-selector=${(_i = (_h = (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.summary) == null ? void 0 : _g.subsetting) == null ? void 0 : _h.shape) != null ? _i : false}
1297
+ ?show-polygon-selection=${(_m = (_l = (_k = (_j = this.collectionWithServices) == null ? void 0 : _j.summary) == null ? void 0 : _k.subsetting) == null ? void 0 : _l.shape) != null ? _m : false}
1298
+ @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1299
+ ></terra-spatial-picker>
1300
+ <div
1301
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1302
+ >
1303
+ <span
1304
+ ><strong>Available Range:</strong> ${__privateGet(this, _collectionController).spatialConstraints}</span
1305
+ >
1306
+ </div>
1307
+ </div>
1308
+ </terra-accordion>
1309
+ `;
1310
+ };
1311
+ _handleSpatialChange = new WeakMap();
1312
+ _resetSpatialSelection = new WeakMap();
1313
+ _renderVariableSelection = new WeakSet();
1314
+ renderVariableSelection_fn = function() {
1315
+ var _a;
1316
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1317
+ const giovanniError = this.touchedFields.has("variables") && __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1318
+ const basicError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1319
+ const showError = giovanniError || basicError;
1320
+ const errorMessage = giovanniError || (basicError ? "Please select at least one variable" : "");
1321
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1322
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1323
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1324
+ return b`
1325
+ <terra-accordion>
1326
+ <div slot="summary">
1327
+ <span class="accordion-title">Select Variables:</span>
1328
+ </div>
1329
+ <div
1330
+ slot="summary-right"
1331
+ style="display: flex; align-items: center; gap: 10px;"
1332
+ >
1333
+ ${showError ? b`<span class="accordion-value error"
1334
+ >${errorMessage}</span
1335
+ >` : this.selectedVariables.length ? b`<span class="accordion-value"
1336
+ >${this.selectedVariables.length} selected</span
1337
+ >` : A}
1338
+
1339
+ <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1340
+ Reset
1341
+ </button>
1342
+ </div>
1343
+ <div class="accordion-content">
1344
+ <terra-input
1345
+ label="Filter variables"
1346
+ placeholder="Search by variable name..."
1347
+ .value=${this.variableFilterText}
1348
+ @input=${(e2) => {
1349
+ const input = e2.target;
1350
+ this.variableFilterText = input.value;
1351
+ __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1352
+ }}
1353
+ style="margin-bottom: 10px;"
1354
+ ></terra-input>
1355
+ <button
1356
+ class="reset-btn"
1357
+ style="margin-bottom: 10px;"
1358
+ @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1359
+ >
1360
+ ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1361
+ </button>
1362
+
1363
+ ${this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables ? b`
1364
+ <terra-alert
1365
+ open
1366
+ appearance="white"
1367
+ style="margin: 10px 0"
1368
+ >
1369
+ <terra-icon
1370
+ slot="icon"
1371
+ name="outline-information-circle"
1372
+ library="heroicons"
1373
+ ></terra-icon>
1374
+ Only certain variables are supported for the
1375
+ selected output format. (Giovanni service)
1376
+ </terra-alert>
1377
+ ` : A}
1378
+ ${variables.length === 0 ? b`<p style="color: #666; font-style: italic;">
1379
+ No variables available for this collection.
1380
+ </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1381
+ </div>
1382
+ </terra-accordion>
1383
+ `;
1384
+ };
1385
+ _renderDimensionGroup = new WeakSet();
1386
+ renderDimensionGroup_fn = function(dim) {
1387
+ var _a, _b, _c, _d, _e, _f;
1388
+ const currentValue = (_a = this.selectedDimensionIndexes[dim.name]) != null ? _a : 1;
1389
+ const dimensions = ((_f = (_e = (_d = (_c = (_b = __privateGet(this, _collectionController).gesDiscCollection) == null ? void 0 : _b.data) == null ? void 0 : _c.services) == null ? void 0 : _d.subset) == null ? void 0 : _e.find(
1390
+ (s) => s.dimensions && s.dimensions.length > 0
1391
+ )) == null ? void 0 : _f.dimensions) || [];
1392
+ return b`
1393
+ <div style="margin-bottom: 16px;">
1394
+ <div
1395
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;"
1396
+ >
1397
+ <span style="font-weight: 600; margin-bottom: 44px"
1398
+ >Dimension: ${dim.name}</span
1399
+ >
1400
+ </div>
1401
+ <terra-slider
1402
+ class="dimension-slider"
1403
+ mode="range"
1404
+ min="1"
1405
+ .max=${dim.size}
1406
+ step="1"
1407
+ .startValue=${currentValue.start}
1408
+ .endValue=${currentValue.end}
1409
+ has-tooltips
1410
+ show-inputs
1411
+ hide-label
1412
+ .formatTooltip=${dimensions.length > 0 ? (value) => {
1413
+ const found = dimensions.find(
1414
+ (d) => String(d.value) === String(value)
1415
+ );
1416
+ return found ? found.label : String(value);
1417
+ } : A}
1418
+ @terra-slider-change=${(event) => {
1419
+ if ("startValue" in event.detail) {
1420
+ const { startValue, endValue } = event.detail;
1421
+ __privateMethod(this, _setDimensionValue, setDimensionValue_fn).call(this, dim.name, startValue, endValue);
1422
+ }
1423
+ }}
1424
+ ></terra-slider>
1425
+ </div>
1426
+ `;
1427
+ };
1428
+ _setDimensionValue = new WeakSet();
1429
+ setDimensionValue_fn = function(dimName, startValue, endValue) {
1430
+ const dimensions = __privateMethod(this, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn).call(this);
1431
+ const found = dimensions.find((d) => d.name === dimName);
1432
+ if (!found) {
1433
+ return;
1434
+ }
1435
+ const normalizedStartValue = Math.min(
1436
+ Math.max(Math.round(startValue), 1),
1437
+ found.size
1438
+ );
1439
+ const normalizedEndValue = Math.min(
1440
+ Math.max(Math.round(endValue != null ? endValue : startValue), 1),
1441
+ found.size
1442
+ );
1443
+ if (normalizedStartValue <= 1 && normalizedEndValue >= found.size) {
1444
+ delete this.selectedDimensionIndexes[dimName];
1445
+ return;
1446
+ }
1447
+ this.selectedDimensionIndexes = __spreadProps(__spreadValues({}, this.selectedDimensionIndexes), {
1448
+ [dimName]: { start: normalizedStartValue, end: normalizedEndValue }
1449
+ });
1450
+ };
1451
+ _renderDimensionSelection = new WeakSet();
1452
+ renderDimensionSelection_fn = function() {
1453
+ const dimensions = __privateMethod(this, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn).call(this);
1454
+ if (!dimensions.length) {
1455
+ return A;
1456
+ }
1457
+ const selectedCount = Object.keys(this.selectedDimensionIndexes).length;
1458
+ return b`
1459
+ <terra-accordion>
1460
+ <div slot="summary">
1461
+ <span class="accordion-title">Select Dimensions:</span>
1462
+ </div>
1463
+ <div
1464
+ slot="summary-right"
1465
+ style="display: flex; align-items: center; gap: 10px;"
1466
+ >
1467
+ ${selectedCount ? b`<span class="accordion-value"
1468
+ >${selectedCount}
1469
+ dimension${selectedCount === 1 ? "" : "s"}
1470
+ selected</span
1471
+ >` : A}
1472
+ <button class="reset-btn" @click=${__privateMethod(this, _resetDimensionSelection, resetDimensionSelection_fn)}>
1473
+ Reset
1474
+ </button>
1475
+ </div>
1476
+ <div class="accordion-content">
1477
+ ${dimensions.map((dim) => __privateMethod(this, _renderDimensionGroup, renderDimensionGroup_fn).call(this, dim))}
1478
+ </div>
1479
+ </terra-accordion>
1480
+ `;
1481
+ };
1482
+ _filterVariableTree = new WeakSet();
1483
+ filterVariableTree_fn = function(tree) {
1484
+ if (!this.variableFilterText.trim()) {
1485
+ return tree;
1486
+ }
1487
+ const filterText = this.variableFilterText.toLowerCase().trim();
1488
+ const filterNode = (node) => {
1489
+ const result = {};
1490
+ for (const [key, value] of Object.entries(node)) {
1491
+ if (value.__isLeaf) {
1492
+ const variableName = value.__variable.name.toLowerCase();
1493
+ if (variableName.includes(filterText)) {
1494
+ result[key] = value;
1495
+ }
1496
+ } else {
1497
+ const filteredChildren = filterNode(value.__children);
1498
+ if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1499
+ result[key] = __spreadProps(__spreadValues({}, value), {
1500
+ __children: filteredChildren
1501
+ });
1502
+ }
1503
+ }
1504
+ }
1505
+ return result;
1506
+ };
1507
+ return filterNode(tree);
1508
+ };
1509
+ _handleVariableFilterChange = new WeakSet();
1510
+ handleVariableFilterChange_fn = function() {
1511
+ var _a;
1512
+ if (!this.variableFilterText.trim()) {
1513
+ return;
1514
+ }
1515
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1516
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1517
+ const filterText = this.variableFilterText.toLowerCase().trim();
1518
+ const groupsToExpand = /* @__PURE__ */ new Set();
1519
+ const findMatchingGroups = (node, path = []) => {
1520
+ for (const [key, value] of Object.entries(node)) {
1521
+ if (value.__isLeaf) {
1522
+ const variableName = value.__variable.name.toLowerCase();
1523
+ if (variableName.includes(filterText)) {
1524
+ for (let i = 0; i < path.length; i++) {
1525
+ const groupPath = path.slice(0, i + 1).join("/");
1526
+ groupsToExpand.add(groupPath);
1527
+ }
1528
+ }
1529
+ } else {
1530
+ const groupPath = [...path, key].join("/");
1531
+ findMatchingGroups(value.__children, [...path, key]);
1532
+ if (key.toLowerCase().includes(filterText)) {
1533
+ groupsToExpand.add(groupPath);
1534
+ }
1535
+ }
1536
+ }
1537
+ };
1538
+ findMatchingGroups(tree);
1539
+ if (groupsToExpand.size > 0) {
1540
+ this.expandedVariableGroups = /* @__PURE__ */ new Set([
1541
+ ...this.expandedVariableGroups,
1542
+ ...groupsToExpand
1543
+ ]);
1544
+ }
1545
+ };
1546
+ _buildVariableTree = new WeakSet();
1547
+ buildVariableTree_fn = function(variables) {
1548
+ let filteredVariables = variables;
1549
+ if (this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables) {
1550
+ filteredVariables = variables.filter((v) => {
1551
+ var _a, _b, _c;
1552
+ const shortName = (_a = this.collectionWithServices) == null ? void 0 : _a.shortName;
1553
+ const version = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.collection) == null ? void 0 : _c.Version;
1554
+ if (!shortName || !version) {
1555
+ return false;
1556
+ }
1557
+ const giovanniVariableName = convertVariableEntryIdToGiovanniFormat(
1558
+ shortName,
1559
+ version,
1560
+ v.name
1561
+ );
1562
+ return this.giovanniConfiguredVariables.has(giovanniVariableName);
1563
+ });
1564
+ }
1565
+ const root = {};
1566
+ for (const v of filteredVariables) {
1567
+ const parts = v.name.split("/");
1568
+ let node = root;
1569
+ for (let i = 0; i < parts.length; i++) {
1570
+ const part = parts[i];
1571
+ if (!node[part])
1572
+ node[part] = { __children: {}, __isLeaf: false };
1573
+ if (i === parts.length - 1) {
1574
+ node[part].__isLeaf = true;
1575
+ node[part].__variable = v;
1576
+ }
1577
+ node = node[part].__children;
1578
+ }
1579
+ }
1580
+ return root;
1581
+ };
1582
+ _renderVariableTree = new WeakSet();
1583
+ renderVariableTree_fn = function(node, path) {
1584
+ const isGiovanni = this.selectedFormat.isGiovanniFormat;
1585
+ return b`
1586
+ <div style="margin-left: ${path.length * 20}px;">
1587
+ ${Object.entries(node).map(([key, value]) => {
1588
+ var _a;
1589
+ const groupPath = [...path, key].join("/");
1590
+ if (value.__isLeaf) {
1591
+ const ummVar = cmr_variable_service_default.getVariableByName(
1592
+ key,
1593
+ (_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data
1594
+ );
1595
+ const variableLabel = ummVar ? cmr_variable_service_default.getVariableDisplayLabel(ummVar) : key;
1596
+ return b`
1597
+ <div class="option-row">
1598
+ <label class="checkbox-option">
1599
+ <input
1600
+ type="${isGiovanni ? "radio" : "checkbox"}"
1601
+ name="${isGiovanni ? "variable-selection" : ""}"
1602
+ .checked=${this.selectedVariables.some(
1603
+ (v) => v.name === value.__variable.name
1604
+ )}
1605
+ @change=${(e2) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e2, value.__variable)}
1606
+ />
1607
+ <span>${variableLabel}</span>
1608
+ </label>
1609
+ </div>
1610
+ `;
1611
+ } else {
1612
+ const expanded = this.expandedVariableGroups.has(groupPath);
1613
+ return b`
1614
+ <div class="option-row" style="align-items: flex-start;">
1615
+ <span
1616
+ style="cursor: pointer; display: flex; align-items: center;"
1617
+ @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1618
+ >
1619
+ <terra-icon
1620
+ library="heroicons"
1621
+ name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1622
+ style="margin-right: 4px;"
1623
+ ></terra-icon>
1624
+ <span style="font-weight: 500;">${key}</span>
1625
+ </span>
1626
+ </div>
1627
+ ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1628
+ ...path,
1629
+ key
1630
+ ]) : ""}
1631
+ `;
1632
+ }
1633
+ })}
1634
+ </div>
1635
+ `;
1636
+ };
1637
+ _getAllGroupPaths = new WeakSet();
1638
+ getAllGroupPaths_fn = function(node, path = []) {
1639
+ let groups = [];
1640
+ for (const [key, value] of Object.entries(node)) {
1641
+ if (!value.__isLeaf) {
1642
+ const groupPath = [...path, key].join("/");
1643
+ groups.push(groupPath);
1644
+ groups = groups.concat(
1645
+ __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1646
+ );
1647
+ }
1648
+ }
1649
+ return groups;
1650
+ };
1651
+ _toggleGroupExpand = new WeakSet();
1652
+ toggleGroupExpand_fn = function(groupPath) {
1653
+ const set = new Set(this.expandedVariableGroups);
1654
+ if (set.has(groupPath)) {
1655
+ set.delete(groupPath);
1656
+ } else {
1657
+ set.add(groupPath);
1658
+ }
1659
+ this.expandedVariableGroups = set;
1660
+ };
1661
+ _toggleExpandCollapseAll = new WeakSet();
1662
+ toggleExpandCollapseAll_fn = function(tree) {
1663
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1664
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1665
+ if (allExpanded) {
1666
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
1667
+ } else {
1668
+ this.expandedVariableGroups = new Set(allGroups);
1669
+ }
1670
+ };
1671
+ _toggleVariableSelection = new WeakSet();
1672
+ toggleVariableSelection_fn = function(e2, variable) {
1673
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1674
+ const checked = e2.target.checked;
1675
+ if (this.selectedFormat.isGiovanniFormat) {
1676
+ if (checked) {
1677
+ this.selectedVariables = [variable];
1678
+ }
1679
+ } else {
1680
+ if (checked) {
1681
+ if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1682
+ this.selectedVariables = [...this.selectedVariables, variable];
1683
+ }
1684
+ } else {
1685
+ this.selectedVariables = this.selectedVariables.filter(
1686
+ (v) => v.name !== variable.name
1687
+ );
1688
+ }
1689
+ }
1690
+ };
1691
+ _markFieldTouched = new WeakSet();
1692
+ markFieldTouched_fn = function(field) {
1693
+ this.touchedFields = new Set(this.touchedFields).add(field);
1694
+ };
1695
+ _resetVariableSelection = new WeakMap();
1696
+ _resetDimensionSelection = new WeakSet();
1697
+ resetDimensionSelection_fn = function() {
1698
+ this.selectedDimensionIndexes = {};
1699
+ };
1700
+ _isDimensionExcluded = new WeakSet();
1701
+ isDimensionExcluded_fn = function(dim) {
1702
+ var _a, _b, _c;
1703
+ const normalizedName = (_b = (_a = dim.Name) == null ? void 0 : _a.toLowerCase()) != null ? _b : "";
1704
+ const normalizedType = ((_c = dim.Type) != null ? _c : "").toLowerCase();
1705
+ return ["time", "latitude", "longitude", "lat", "lon", "x", "y"].some(
1706
+ (value) => normalizedName.includes(value) || normalizedType.includes(value)
1707
+ );
1708
+ };
1709
+ _getCommonSelectableDimensions = new WeakSet();
1710
+ getCommonSelectableDimensions_fn = function() {
1711
+ var _a, _b;
1712
+ const variables = (_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data;
1713
+ if (!variables) {
1714
+ return [];
1715
+ }
1716
+ const allUmmVars = (_b = variables.items) != null ? _b : [];
1717
+ if (!allUmmVars.length) {
1718
+ return [];
1719
+ }
1720
+ const allDimensionSets = allUmmVars.map(
1721
+ (v) => {
1722
+ var _a2;
1723
+ return (_a2 = v.umm.Dimensions) != null ? _a2 : [];
1724
+ }
1725
+ );
1726
+ if (!allDimensionSets.length) {
1727
+ return [];
1728
+ }
1729
+ const allDimensionNames = Array.from(
1730
+ new Set(allDimensionSets.flatMap((dimSet) => dimSet.map((dim) => dim.Name)))
1731
+ );
1732
+ const filteredCommon = allDimensionNames.map((name) => {
1733
+ var _a2, _b2;
1734
+ const dims = allDimensionSets.map((set) => set.find((dim) => dim.Name === name)).filter((d) => Boolean(d));
1735
+ if (!dims.length) {
1736
+ return null;
1737
+ }
1738
+ const validSizes = dims.filter((dim) => dim.Size !== void 0 && dim.Size !== "Varies").map((dim) => Number(dim.Size)).filter((size2) => Number.isFinite(size2) && size2 > 0);
1739
+ if (!validSizes.length) {
1740
+ return null;
1741
+ }
1742
+ const size = Math.min(...validSizes);
1743
+ return {
1744
+ name,
1745
+ type: (_b2 = (_a2 = dims[0]) == null ? void 0 : _a2.Type) != null ? _b2 : "OTHER",
1746
+ size
1747
+ };
1748
+ }).filter(
1749
+ (entry) => Boolean(entry)
1750
+ ).filter(
1751
+ (entry) => !__privateMethod(this, _isDimensionExcluded, isDimensionExcluded_fn).call(this, {
1752
+ Name: entry.name,
1753
+ Type: entry.type
1754
+ })
1755
+ );
1756
+ return filteredCommon;
1757
+ };
1758
+ _renderJobStatus = new WeakSet();
1759
+ renderJobStatus_fn = function() {
1760
+ var _a, _b, _c, _d, _e;
1761
+ if (!__privateGet(this, _harmonyRequestController).jobId) {
1762
+ return b`<div class="results-section" id="job-status-section">
1763
+ <div
1764
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1765
+ >
1766
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1767
+ ${!this.isHistoryView ? b`
1768
+ <terra-button
1769
+ variant="default"
1770
+ size="small"
1771
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1772
+ >
1773
+ ← Back to Subset Options
1774
+ </terra-button>
1775
+ ` : A}
1776
+ </div>
1777
+
1778
+ <div class="progress-container">
1779
+ ${this.harmonyRequestError ? b`
1780
+ <terra-alert open variant="danger" appearance="white">
1781
+ ${__privateMethod(this, _renderHarmonyRequestError, renderHarmonyRequestError_fn).call(this)}
1782
+ </terra-alert>
1783
+ ` : b`
1784
+ <div class="progress-container">
1785
+ <div class="progress-text">
1786
+ <span class="spinner"></span>
1787
+ <span class="status-running"
1788
+ >Searching for data...</span
1789
+ >
1790
+ </div>
1791
+
1792
+ <div class="progress-bar">
1793
+ <div
1794
+ class="progress-fill"
1795
+ style="width: 0%"
1796
+ ></div>
1797
+ </div>
1798
+ </div>
1799
+
1800
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1801
+ `}
1802
+ </div>
1803
+ </div>`;
1804
+ }
1805
+ return b`
1806
+ <div class="results-section" id="job-status-section">
1807
+ <div
1808
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1809
+ >
1810
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1811
+ ${!this.isHistoryView ? b`
1812
+ <terra-button
1813
+ variant="default"
1814
+ size="small"
1815
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1816
+ >
1817
+ ← Back to Subset Options
1818
+ </terra-button>
1819
+ ` : A}
1820
+ </div>
1821
+
1822
+ ${__privateGet(this, _harmonyRequestController).status !== "canceled" && __privateGet(this, _harmonyRequestController).status !== "failed" ? b` <div class="progress-container">
1823
+ <div class="progress-text">
1824
+ ${__privateGet(this, _harmonyRequestController).progress >= 100 ? b`
1825
+ <span class="status-complete"
1826
+ >✓ Search complete</span
1827
+ >
1828
+ ` : b`
1829
+ <span class="spinner"></span>
1830
+ <span class="status-running"
1831
+ >Searching for data...
1832
+ (${__privateGet(this, _harmonyRequestController).progress}%)</span
1833
+ >
1834
+ `}
1835
+ </div>
1836
+
1837
+ <div class="progress-bar">
1838
+ <div
1839
+ class="progress-fill"
1840
+ style="width: ${__privateGet(this, _harmonyRequestController).progress}%"
1841
+ ></div>
1842
+ </div>
1843
+ </div>` : A}
1844
+
1845
+ <div class="search-status">
1846
+ <span class="file-count"
1847
+ >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1848
+ >
1849
+ out of estimated
1850
+ <span class="estimated-total"
1851
+ >${(_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.numInputGranules.toLocaleString()}</span
1852
+ >
1853
+ </div>
1854
+
1855
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1856
+ ${((_c = (_b = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _b.errors) == null ? void 0 : _c.length) ? b`
1857
+ <terra-accordion>
1858
+ <div slot="summary">
1859
+ <span
1860
+ class="accordion-title"
1861
+ style="color: #dc3545;"
1862
+ >Errors
1863
+ (${(_d = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _d.errors.length})</span
1864
+ >
1865
+ </div>
1866
+ <div class="accordion-content">
1867
+ <ul
1868
+ style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1869
+ >
1870
+ ${(_e = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _e.errors.map(
1871
+ (err) => b`
1872
+ <li style="margin-bottom: 12px;">
1873
+ <a
1874
+ href="${err.url}"
1875
+ target="_blank"
1876
+ style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1877
+ >
1878
+ ${err.url}
1879
+ </a>
1880
+ <div style="margin-top: 2px;">
1881
+ ${err.message}
1882
+ </div>
1883
+ </li>
1884
+ `
1885
+ )}
1886
+ </ul>
1887
+ </div>
1888
+ </terra-accordion>
1889
+ ` : A}
1890
+
1891
+ <div class="tabs">
1892
+ <button
1893
+ class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1894
+ @click=${() => this.selectedTab = "web-links"}
1895
+ >
1896
+ Web Links
1897
+ </button>
1898
+
1899
+ ${!this.isHistoryView ? b`
1900
+ <button
1901
+ class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1902
+ @click=${() => this.selectedTab = "selected-params"}
1903
+ >
1904
+ Selected Parameters
1905
+ </button>
1906
+ ` : A}
1907
+ </div>
1908
+ <div
1909
+ id="web-links"
1910
+ class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1911
+ >
1912
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? b`
1913
+ <div class="documentation-links">
1914
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1915
+ (link) => b`
1916
+ <a href="${link.href}" class="doc-link"
1917
+ >${link.title}</a
1918
+ >
1919
+ `
1920
+ )}
1921
+ </div>
1922
+ ` : A}
1923
+
1924
+ <ul class="file-list">
1925
+ ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1926
+ (link) => b`
1927
+ <li class="file-item">
1928
+ <a
1929
+ href="${link.href}"
1930
+ class="file-link"
1931
+ target="_blank"
1932
+ >
1933
+ ${link.title}
1934
+ </a>
1935
+ </li>
1936
+ `
1937
+ )}
1938
+ </ul>
1939
+ </div>
1940
+
1941
+ <div
1942
+ id="selected-params"
1943
+ class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1944
+ >
1945
+ ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1946
+ </div>
1947
+ </div>
1948
+
1949
+ ${!this.dialog ? b`
1950
+ <div class="footer">
1951
+ ${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
1952
+ <div
1953
+ style="display: flex; align-items: center; gap: 8px;"
1954
+ >
1955
+ <terra-dropdown
1956
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1957
+ >
1958
+ <terra-button slot="trigger" caret>
1959
+ Download Options
1960
+ </terra-button>
1961
+ <terra-menu>
1962
+ <terra-menu-item value="file-list">
1963
+ <svg
1964
+ slot="prefix"
1965
+ viewBox="0 0 24 24"
1966
+ width="16"
1967
+ height="16"
1968
+ style="width: 16px; height: 16px;"
1969
+ >
1970
+ <path
1971
+ fill="currentColor"
1972
+ 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"
1973
+ />
1974
+ </svg>
1975
+ File List
1976
+ </terra-menu-item>
1977
+ <terra-menu-item
1978
+ value="python-script"
1979
+ >
1980
+ <svg
1981
+ slot="prefix"
1982
+ viewBox="0 0 128 128"
1983
+ width="16"
1984
+ height="16"
1985
+ style="width: 16px; height: 16px;"
1986
+ >
1987
+ <path
1988
+ fill="currentColor"
1989
+ 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"
1990
+ ></path>
1991
+ </svg>
1992
+ Python Script
1993
+ </terra-menu-item>
1994
+ <terra-menu-item
1995
+ value="earthdata-download"
1996
+ >
1997
+ <svg
1998
+ slot="prefix"
1999
+ viewBox="0 0 64 64"
2000
+ fill="none"
2001
+ width="16"
2002
+ height="16"
2003
+ style="width: 16px; height: 16px;"
2004
+ >
2005
+ <circle
2006
+ cx="32"
2007
+ cy="32"
2008
+ r="28"
2009
+ fill="currentColor"
2010
+ />
2011
+ <path
2012
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
2013
+ stroke="#fff"
2014
+ stroke-width="4"
2015
+ stroke-linecap="round"
2016
+ stroke-linejoin="round"
2017
+ fill="none"
2018
+ />
2019
+ </svg>
2020
+ Earthdata Download
2021
+ </terra-menu-item>
2022
+ </terra-menu>
2023
+ </terra-dropdown>
2024
+
2025
+ <!--
2026
+ <terra-button
2027
+ outline
2028
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
2029
+ >
2030
+ <terra-icon
2031
+ name="outline-code-bracket"
2032
+ library="heroicons"
2033
+ font-size="1.5em"
2034
+ style="margin-right: 5px;"
2035
+ ></terra-icon>
2036
+ Open in Jupyter Notebook
2037
+ </terra-button>
2038
+ --></div>
2039
+ ` : A}
2040
+ ${__privateGet(this, _harmonyRequestController).status === "running" /* RUNNING */ ? b`<button
2041
+ class="btn btn-success"
2042
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
2043
+ ?disabled=${this.cancelingGetData}
2044
+ >
2045
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
2046
+ </button>` : A}
2047
+
2048
+ <div class="job-info">
2049
+ Job ID:
2050
+ <span class="job-id">
2051
+ ${this.bearerToken ? b`<a
2052
+ href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
2053
+ target="_blank"
2054
+ >${__privateGet(this, _harmonyRequestController).jobId}</a
2055
+ >` : __privateGet(this, _harmonyRequestController).jobId}
2056
+ </span>
2057
+ <span class="info-icon">?</span>
2058
+ </div>
2059
+ </div>
2060
+ ` : A}
2061
+ `;
2062
+ };
2063
+ _renderSelectedParams = new WeakSet();
2064
+ renderSelectedParams_fn = function() {
2065
+ var _a, _b, _c, _d;
2066
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
2067
+ const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
2068
+ const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
2069
+ const spatial = (_c = (_b = this.spatialSelection) == null ? void 0 : _b.toString()) != null ? _c : "-";
2070
+ return b`
2071
+ <dl class="params-summary">
2072
+ <div>
2073
+ <dt><strong>Dataset</strong></dt>
2074
+ <dd>${(_d = collection == null ? void 0 : collection.EntryTitle) != null ? _d : "\u2014"}</dd>
2075
+ </div>
2076
+ <div>
2077
+ <dt><strong>Variables</strong></dt>
2078
+ <dd>${variables.map((v) => b`<div>${v}</div>`)}</dd>
2079
+ </div>
2080
+ <div>
2081
+ <dt><strong>Dimensions</strong></dt>
2082
+ <dd>
2083
+ ${Object.entries(this.selectedDimensionIndexes).length ? Object.entries(this.selectedDimensionIndexes).map(
2084
+ ([dimName, value]) => b`<div>
2085
+ <strong>${dimName}:</strong> ${value}
2086
+ </div>`
2087
+ ) : "\u2014"}
2088
+ </dd>
2089
+ </div>
2090
+ <div>
2091
+ <dt><strong>Date Range</strong></dt>
2092
+ <dd>${dateRange}</dd>
2093
+ </div>
2094
+ <div>
2095
+ <dt><strong>Spatial</strong></dt>
2096
+ <dd>${spatial}</dd>
2097
+ </div>
2098
+ </dl>
2099
+
2100
+ <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
2101
+ >Refine Parameters</terra-button
2102
+ >
2103
+ `;
2104
+ };
2105
+ _cancelJob = new WeakSet();
2106
+ cancelJob_fn = async function() {
2107
+ if (!this.jobId) {
2108
+ return;
2109
+ }
2110
+ this.cancelingGetData = true;
2111
+ try {
2112
+ await __privateGet(this, _harmonyRequestController).cancelJob({
2113
+ jobId: this.jobId,
2114
+ options: { bearerToken: this.bearerToken }
2115
+ });
2116
+ } finally {
2117
+ this.cancelingGetData = false;
2118
+ }
2119
+ };
2120
+ _getData = new WeakSet();
2121
+ getData_fn = async function() {
2122
+ if (this.isSubmittingRequest) {
2123
+ return;
2124
+ }
2125
+ this.isSubmittingRequest = true;
2126
+ try {
2127
+ await __privateMethod(this, _submitDataRequest, submitDataRequest_fn).call(this);
2128
+ } finally {
2129
+ this.isSubmittingRequest = false;
2130
+ }
2131
+ };
2132
+ _submitDataRequest = new WeakSet();
2133
+ submitDataRequest_fn = async function() {
2134
+ var _a, _b, _c, _d, _e, _f, _g, _h;
2135
+ this.harmonyRequestError = void 0;
2136
+ const validationError = __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
2137
+ if (validationError) {
2138
+ this.validationError = validationError;
2139
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
2140
+ return;
2141
+ }
2142
+ this.validationError = void 0;
2143
+ this.cancelingGetData = false;
2144
+ __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
2145
+ const variables = this.selectedFormat.isGiovanniFormat ? this.selectedVariables.map(
2146
+ (v) => {
2147
+ var _a2, _b2, _c2;
2148
+ return (
2149
+ // the Giovanni variable catalog uses different variable entry ids, we need to support them
2150
+ // ex. CMR: M2T1NXSLV_5.2.14 in Giovanni uses underscores: M2T1NXSLV_5_2_14
2151
+ convertVariableEntryIdToGiovanniFormat(
2152
+ (_a2 = this.collectionWithServices.shortName) != null ? _a2 : "",
2153
+ (_c2 = (_b2 = this.collectionWithServices.collection) == null ? void 0 : _b2.Version) != null ? _c2 : "",
2154
+ v.name
2155
+ )
2156
+ );
2157
+ }
2158
+ ) : this.selectedVariables.map((v) => v.conceptId);
2159
+ const harmonyRequest = new HarmonyRequest({
2160
+ collectionConceptId: this.collectionWithServices.conceptId,
2161
+ variables,
2162
+ location: this.spatialSelection,
2163
+ anonymous: !__privateGet(this, _authController).state.user
2164
+ });
2165
+ if (this.shapeGeoJson) {
2166
+ harmonyRequest.shape(this.shapeGeoJson);
2167
+ }
2168
+ if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
2169
+ harmonyRequest.startDate(
2170
+ this.isSubDaily ? this.selectedDateRange.startDate : getUTCDate(this.selectedDateRange.startDate).toISOString()
2171
+ );
2172
+ harmonyRequest.endDate(
2173
+ this.isSubDaily ? this.selectedDateRange.endDate : getUTCDate(this.selectedDateRange.endDate).toISOString()
2174
+ );
2175
+ }
2176
+ if (this.selectedFormat) {
2177
+ harmonyRequest.format(
2178
+ this.selectedFormat.isGiovanniFormat ? "text/csv" : this.selectedFormat.key
2179
+ );
2180
+ }
2181
+ const isPointLocation = this.spatialSelection instanceof LatLng;
2182
+ if (this.selectedFormat.key === "text/csv" && !isPointLocation) {
2183
+ harmonyRequest.average("area");
2184
+ }
2185
+ if (this.selectedFormat.key === "image/tiff") {
2186
+ harmonyRequest.average("time");
2187
+ }
2188
+ if (Object.keys(this.selectedDimensionIndexes).length) {
2189
+ Object.entries(this.selectedDimensionIndexes).forEach(
2190
+ ([dimName, { start, end }]) => {
2191
+ harmonyRequest.dimension({
2192
+ name: dimName,
2193
+ min: start,
2194
+ max: end
2195
+ });
2196
+ }
2197
+ );
2198
+ }
2199
+ harmonyRequest.label("terra-data-subsetter");
2200
+ const cwsShortName = (_d = (_a = this.collectionWithServices) == null ? void 0 : _a.shortName) != null ? _d : (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.collection) == null ? void 0 : _c.ShortName;
2201
+ const cwsVersion = (_f = (_e = this.collectionWithServices) == null ? void 0 : _e.collection) == null ? void 0 : _f.Version;
2202
+ const cwsEntryTitle = (_h = (_g = this.collectionWithServices) == null ? void 0 : _g.collection) == null ? void 0 : _h.EntryTitle;
2203
+ if (cwsShortName && cwsVersion) {
2204
+ harmonyRequest.label(
2205
+ `collection-entry-id: ${cwsShortName}_${cwsVersion}`.toLowerCase()
2206
+ );
2207
+ }
2208
+ if (cwsEntryTitle) {
2209
+ harmonyRequest.label(
2210
+ `collection-entry-title: ${cwsEntryTitle.toLowerCase()}`
2211
+ );
2212
+ }
2213
+ console.log("Creating Harmony job with request:", harmonyRequest.params);
2214
+ try {
2215
+ const job = await __privateGet(this, _harmonyRequestController).startJob({
2216
+ harmonyRequest,
2217
+ options: { bearerToken: this.bearerToken }
2218
+ });
2219
+ this.jobId = job.jobID;
2220
+ } catch (error) {
2221
+ this.harmonyRequestError = __privateMethod(this, _getHarmonyRequestErrorMessage, getHarmonyRequestErrorMessage_fn).call(this, error);
2222
+ this.refineParameters = false;
2223
+ return;
2224
+ }
2225
+ setTimeout(() => {
2226
+ const el = this.renderRoot.querySelector("#job-status-section");
2227
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
2228
+ }, 100);
2229
+ this.refineParameters = false;
2230
+ this.isHistoryView = false;
2231
+ };
2232
+ _touchAllFields = new WeakSet();
2233
+ touchAllFields_fn = function() {
2234
+ this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
2235
+ };
2236
+ _numberOfFilesFoundEstimate = new WeakSet();
2237
+ numberOfFilesFoundEstimate_fn = function() {
2238
+ var _a, _b, _c;
2239
+ return Math.floor(
2240
+ ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.numInputGranules) != null ? _b : 0) * ((_c = __privateGet(this, _harmonyRequestController).progress) != null ? _c : 0) / 100
2241
+ );
2242
+ };
2243
+ _getDocumentationLinks = new WeakSet();
2244
+ getDocumentationLinks_fn = function() {
2245
+ var _a, _b;
2246
+ return ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links) != null ? _b : []).filter(
2247
+ (link) => link.rel === "stac-catalog-json"
2248
+ );
2249
+ };
2250
+ _getDataLinks = new WeakSet();
2251
+ getDataLinks_fn = function() {
2252
+ var _a, _b;
2253
+ return ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links) != null ? _b : []).filter(
2254
+ (link) => link.rel === "data"
2255
+ );
2256
+ };
2257
+ _hasAtLeastOneSubsetOption = new WeakSet();
2258
+ hasAtLeastOneSubsetOption_fn = function() {
2259
+ var _a, _b, _c, _d;
2260
+ return ((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.bbox) || ((_b = this.collectionWithServices) == null ? void 0 : _b.summary.subsetting.shape) || ((_c = this.collectionWithServices) == null ? void 0 : _c.summary.subsetting.variable) || ((_d = this.collectionWithServices) == null ? void 0 : _d.summary.subsetting.temporal);
2261
+ };
2262
+ _hasSpatialSubset = new WeakSet();
2263
+ hasSpatialSubset_fn = function() {
2264
+ var _a, _b;
2265
+ return ((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.bbox) || ((_b = this.collectionWithServices) == null ? void 0 : _b.summary.subsetting.shape);
2266
+ };
2267
+ _renderJobMessage = new WeakSet();
2268
+ renderJobMessage_fn = function() {
2269
+ var _a;
2270
+ const warningStatuses = [
2271
+ "canceled" /* CANCELED */,
2272
+ "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
2273
+ "running_with_errors" /* RUNNING_WITH_ERRORS */
2274
+ ];
2275
+ const errorStatuses = ["failed" /* FAILED */];
2276
+ if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.status)) {
2277
+ return A;
2278
+ }
2279
+ let type = "normal";
2280
+ if (warningStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
2281
+ type = "warning";
2282
+ } else if (errorStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
2283
+ type = "error";
2284
+ }
2285
+ let color, bg;
2286
+ if (type === "error") {
2287
+ color = "#dc3545";
2288
+ bg = "#f8d7da";
2289
+ } else if (type === "warning") {
2290
+ color = "#856404";
2291
+ bg = "#fff3cd";
2292
+ } else {
2293
+ color = "#555";
2294
+ bg = "#f8f9fa";
2295
+ }
2296
+ return b`
2297
+ <div
2298
+ style="
2299
+ margin: 24px 0 16px 0;
2300
+ padding: 16px 20px;
2301
+ border-radius: 6px;
2302
+ background: ${bg};
2303
+ color: ${color};
2304
+ border: 1px solid ${color}22;
2305
+ "
2306
+ >
2307
+ ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
2308
+ </div>
2309
+ `;
2310
+ };
2311
+ _getJobMessageText = new WeakSet();
2312
+ getJobMessageText_fn = function() {
2313
+ var _a;
2314
+ return (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.message.replace(
2315
+ /\b(The job|the job|job|Job)\b/g,
2316
+ (match) => {
2317
+ switch (match) {
2318
+ case "The job":
2319
+ return "Your request";
2320
+ case "the job":
2321
+ return "Your Request";
2322
+ case "job":
2323
+ return "request";
2324
+ case "Job":
2325
+ return "Request";
2326
+ }
2327
+ return match;
2328
+ }
2329
+ );
2330
+ };
2331
+ _estimateJobSize = new WeakSet();
2332
+ estimateJobSize_fn = function() {
2333
+ var _a, _b, _c, _d, _e;
2334
+ if (!((_a = this.collectionWithServices) == null ? void 0 : _a.granuleCount))
2335
+ return;
2336
+ const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2337
+ let startDate;
2338
+ let endDate;
2339
+ let links = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.granuleCount) != null ? _c : 0;
2340
+ if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
2341
+ startDate = this.selectedDateRange.startDate;
2342
+ endDate = this.selectedDateRange.endDate;
2343
+ } else {
2344
+ startDate = (_d = this.granuleMinDate) != null ? _d : range.startDate;
2345
+ endDate = (_e = this.granuleMaxDate) != null ? _e : range.endDate;
2346
+ }
2347
+ if (!startDate || !endDate)
2348
+ return;
2349
+ const start = new Date(startDate);
2350
+ const end = new Date(endDate);
2351
+ const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
2352
+ if (range.startDate && range.endDate) {
2353
+ const availableDaysInCollection = Math.floor(
2354
+ (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
2355
+ ) + 1;
2356
+ const granulesPerDay = links / availableDaysInCollection;
2357
+ links = Math.ceil(days * granulesPerDay);
2358
+ }
2359
+ return { days, links };
2360
+ };
2361
+ _refineParameters = new WeakSet();
2362
+ refineParameters_fn = function() {
2363
+ this.refineParameters = true;
2364
+ };
2365
+ _backToSubsetOptions = new WeakSet();
2366
+ backToSubsetOptions_fn = function() {
2367
+ this.refineParameters = true;
2368
+ this.harmonyRequestError = void 0;
2369
+ setTimeout(() => {
2370
+ const container = this.renderRoot.querySelector(".container");
2371
+ container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
2372
+ }, 100);
2373
+ };
2374
+ _viewRunningJob = new WeakSet();
2375
+ viewRunningJob_fn = function() {
2376
+ this.refineParameters = false;
2377
+ setTimeout(() => {
2378
+ const el = this.renderRoot.querySelector("#job-status-section");
2379
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
2380
+ }, 100);
2381
+ };
2382
+ _handleDownloadSelect = new WeakSet();
2383
+ handleDownloadSelect_fn = function(event) {
2384
+ const item = event.detail.item;
2385
+ const value = item.value || item.getTextLabel();
2386
+ if (value === "file-list") {
2387
+ __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
2388
+ } else if (value === "python-script") {
2389
+ __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
2390
+ } else if (value === "earthdata-download") {
2391
+ __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
2392
+ }
2393
+ };
2394
+ _downloadLinksAsTxt = new WeakSet();
2395
+ downloadLinksAsTxt_fn = function(event) {
2396
+ var _a;
2397
+ event.stopPropagation();
2398
+ if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2399
+ return;
2400
+ }
2401
+ const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
2402
+ if (dataLinks.length === 0) {
2403
+ return;
2404
+ }
2405
+ const content = dataLinks.map((link) => link.href).join("\n");
2406
+ const blob = new Blob([content], { type: "text/plain" });
2407
+ const url = URL.createObjectURL(blob);
2408
+ const a = document.createElement("a");
2409
+ a.href = url;
2410
+ a.download = `subset_links_${__privateGet(this, _harmonyRequestController).jobId}.txt`;
2411
+ document.body.appendChild(a);
2412
+ a.click();
2413
+ document.body.removeChild(a);
2414
+ URL.revokeObjectURL(url);
2415
+ };
2416
+ _downloadPythonScript = new WeakSet();
2417
+ downloadPythonScript_fn = async function(event) {
2418
+ var _a, _b, _c, _d;
2419
+ event.stopPropagation();
2420
+ if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2421
+ return;
2422
+ }
2423
+ const response = await fetch(
2424
+ getBasePath("assets/data-subsetter/download_subset_files.py.txt")
2425
+ );
2426
+ if (!response.ok) {
2427
+ alert(
2428
+ "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
2429
+ );
2430
+ }
2431
+ const content = (await response.text()).replace(/{{jobId}}/gi, (_b = __privateGet(this, _harmonyRequestController).jobId) != null ? _b : "").replace(
2432
+ /{{HARMONY_ENV}}/gi,
2433
+ `Environment.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
2434
+ ).replace(
2435
+ /{{EARTHACCESS_ENV}}/gi,
2436
+ `earthaccess.${(_d = this.environment) == null ? void 0 : _d.toUpperCase()}`
2437
+ );
2438
+ const blob = new Blob([content], { type: "text/plain" });
2439
+ const url = URL.createObjectURL(blob);
2440
+ const a = document.createElement("a");
2441
+ a.href = url;
2442
+ a.download = `download_subset_files_${__privateGet(this, _harmonyRequestController).jobId}.py`;
2443
+ document.body.appendChild(a);
2444
+ a.click();
2445
+ document.body.removeChild(a);
2446
+ URL.revokeObjectURL(url);
2447
+ };
2448
+ _downloadEarthdataDownload = new WeakSet();
2449
+ downloadEarthdataDownload_fn = async function(event) {
2450
+ var _a;
2451
+ event.stopPropagation();
2452
+ if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2453
+ return;
2454
+ }
2455
+ alert("Sorry, Earthdata Download is not currently supported");
2456
+ };
2457
+ _handleJupyterNotebookClick = new WeakSet();
2458
+ handleJupyterNotebookClick_fn = function() {
2459
+ const notebook = getNotebook(this);
2460
+ sendDataToJupyterNotebook("load-notebook", {
2461
+ filename: `subset_${__privateGet(this, _harmonyRequestController).jobId}.ipynb`,
2462
+ notebook,
2463
+ bearerToken: this.bearerToken
2464
+ });
2465
+ };
2466
+ _renderAvailableTemporalRangeSection = new WeakSet();
2467
+ renderAvailableTemporalRangeSection_fn = function() {
2468
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2469
+ if (!startDate || !endDate)
2470
+ return A;
2471
+ return b`
2472
+ <div class="section" style="margin-bottom: 16px;">
2473
+ <h2 class="section-title">Available Date Range</h2>
2474
+ <div style="color: #31708f; margin-top: 8px;">
2475
+ <strong>${startDate}</strong> to <strong>${endDate}</strong>
2476
+ </div>
2477
+ <div style="font-size: 0.95em; color: #666;">
2478
+ This collection does not support temporal subsetting.
2479
+ </div>
2480
+ </div>
2481
+ `;
2482
+ };
2483
+ _renderAvailableSpatialRangeSection = new WeakSet();
2484
+ renderAvailableSpatialRangeSection_fn = function() {
2485
+ var _a, _b, _c, _d, _e;
2486
+ 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;
2487
+ if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
2488
+ return A;
2489
+ return b`
2490
+ <div class="section" style="margin-bottom: 16px;">
2491
+ <h2 class="section-title">Available Spatial Area</h2>
2492
+ <div style="color: #31708f; margin-top: 8px;">
2493
+ ${boundingRects.map(
2494
+ (rect) => b`<div>
2495
+ <strong>Bounding Box:</strong>
2496
+ ${rect.WestBoundingCoordinate},
2497
+ ${rect.SouthBoundingCoordinate},
2498
+ ${rect.EastBoundingCoordinate},
2499
+ ${rect.NorthBoundingCoordinate}
2500
+ </div>`
2501
+ )}
2502
+ </div>
2503
+ <div style="font-size: 0.95em; color: #666;">
2504
+ This collection does not support spatial subsetting.
2505
+ </div>
2506
+ </div>
2507
+ `;
2508
+ };
2509
+ _renderDataAccessModeSelection = new WeakSet();
2510
+ renderDataAccessModeSelection_fn = function() {
2511
+ if (!__privateGet(this, _collectionController).hasGranules) {
2512
+ return A;
2513
+ }
2514
+ return b`
2515
+ <div class="mode-selection">
2516
+ <div class="mode-options">
2517
+ <label
2518
+ class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
2519
+ >
2520
+ <input
2521
+ type="radio"
2522
+ name="data-access-mode"
2523
+ value="original"
2524
+ .checked=${this.dataAccessMode === "original"}
2525
+ @change=${() => this.dataAccessMode = "original"}
2526
+ />
2527
+ <div class="mode-content">
2528
+ <div class="mode-title">Get Original Files</div>
2529
+ <div class="mode-description">
2530
+ Filter file links directly from the archive.
2531
+ </div>
2532
+ </div>
2533
+ </label>
2534
+
2535
+ <label
2536
+ class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
2537
+ >
2538
+ <input
2539
+ type="radio"
2540
+ name="data-access-mode"
2541
+ value="subset"
2542
+ .checked=${this.dataAccessMode === "subset"}
2543
+ @change=${() => this.dataAccessMode = "subset"}
2544
+ />
2545
+ <div class="mode-content">
2546
+ <div class="mode-title">Transform Data</div>
2547
+ <div class="mode-description">
2548
+ Transform the data to your specific needs.
2549
+ </div>
2550
+ </div>
2551
+ </label>
2552
+ </div>
2553
+ </div>
2554
+ `;
2555
+ };
2556
+ _getGiovanniValidationError = new WeakSet();
2557
+ getGiovanniValidationError_fn = function() {
2558
+ if (!this.selectedFormat.isGiovanniFormat) {
2559
+ return null;
2560
+ }
2561
+ if (this.selectedVariables.length === 0) {
2562
+ return "Please select a variable to subset.";
2563
+ }
2564
+ if (this.selectedVariables.length > 1) {
2565
+ return "The selected format only supports subsetting one variable at a time.";
2566
+ }
2567
+ return null;
2568
+ };
2569
+ _getHarmonyRequestErrorMessage = new WeakSet();
2570
+ getHarmonyRequestErrorMessage_fn = function(error) {
2571
+ var _a;
2572
+ if (error instanceof HttpException) {
2573
+ const sanitizedMessage = (_a = error.message) == null ? void 0 : _a.replace(/^Error:\s*/i, "").trim();
2574
+ if (sanitizedMessage == null ? void 0 : sanitizedMessage.toLowerCase().includes("no matching granules found")) {
2575
+ return "No matching granules were found for your subset request. Please try expanding your search";
2576
+ }
2577
+ if (sanitizedMessage) {
2578
+ return sanitizedMessage;
2579
+ }
2580
+ }
2581
+ return "Unable to create your subset request. Please try again.";
2582
+ };
2583
+ _renderHarmonyRequestError = new WeakSet();
2584
+ renderHarmonyRequestError_fn = function() {
2585
+ if (!this.harmonyRequestError) {
2586
+ return A;
2587
+ }
2588
+ const noGranulesMessage = "No matching granules were found for your subset request. Please try expanding your search";
2589
+ if (this.harmonyRequestError === noGranulesMessage) {
2590
+ return b`
2591
+ No matching granules were found for your subset request. Please try
2592
+ <a
2593
+ href="#"
2594
+ @click=${__privateGet(this, _handleExpandSearchClick)}
2595
+ style="color: inherit; text-decoration: underline; font-weight: 600;"
2596
+ >
2597
+ expanding your search
2598
+ </a>
2599
+ `;
2600
+ }
2601
+ return this.harmonyRequestError;
2602
+ };
2603
+ _handleExpandSearchClick = new WeakMap();
2604
+ TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
2605
+ TerraDataSubsetter.dependencies = {
2606
+ "terra-accordion": TerraAccordion,
2607
+ "terra-date-picker": TerraDatePicker,
2608
+ "terra-icon": TerraIcon,
2609
+ "terra-input": TerraInput,
2610
+ "terra-spatial-picker": TerraSpatialPicker,
2611
+ "terra-login": TerraLogin,
2612
+ "terra-loader": TerraLoader,
2613
+ "terra-data-access": TerraDataAccess,
2614
+ "terra-dialog": TerraDialog,
2615
+ "terra-dropdown": TerraDropdown,
2616
+ "terra-menu": TerraMenu,
2617
+ "terra-menu-item": TerraMenuItem,
2618
+ "terra-button": TerraButton,
2619
+ "terra-alert": TerraAlert,
2620
+ "terra-slider": TerraSlider
2621
+ };
2622
+ __decorateClass([
2623
+ n({
2624
+ reflect: true,
2625
+ attribute: "collection-entry-id",
2626
+ converter: undefinedStringConverter
2627
+ })
2628
+ ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
2629
+ __decorateClass([
2630
+ n({
2631
+ reflect: true,
2632
+ attribute: "short-name",
2633
+ converter: undefinedStringConverter
2634
+ })
2635
+ ], TerraDataSubsetter.prototype, "shortName", 2);
2636
+ __decorateClass([
2637
+ n({
2638
+ reflect: true,
2639
+ attribute: "version",
2640
+ converter: undefinedStringConverter
2641
+ })
2642
+ ], TerraDataSubsetter.prototype, "version", 2);
2643
+ __decorateClass([
2644
+ n({
2645
+ reflect: true,
2646
+ type: Boolean,
2647
+ attribute: "show-collection-search"
2648
+ })
2649
+ ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
2650
+ __decorateClass([
2651
+ n({ reflect: true, type: Boolean, attribute: "show-history-panel" })
2652
+ ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
2653
+ __decorateClass([
2654
+ n({ reflect: true, attribute: "job-id" })
2655
+ ], TerraDataSubsetter.prototype, "jobId", 2);
2656
+ __decorateClass([
2657
+ n({
2658
+ attribute: "bearer-token",
2659
+ converter: undefinedStringConverter
2660
+ })
2661
+ ], TerraDataSubsetter.prototype, "bearerToken", 2);
2662
+ __decorateClass([
2663
+ n({ attribute: false })
2664
+ ], TerraDataSubsetter.prototype, "onLoginClick", 2);
2665
+ __decorateClass([
2666
+ n()
2667
+ ], TerraDataSubsetter.prototype, "features", 2);
2668
+ __decorateClass([
2669
+ n({ reflect: true })
2670
+ ], TerraDataSubsetter.prototype, "dialog", 2);
2671
+ __decorateClass([
2672
+ n({ reflect: true, type: Boolean, attribute: "is-history-view" })
2673
+ ], TerraDataSubsetter.prototype, "isHistoryView", 2);
2674
+ __decorateClass([
2675
+ r()
2676
+ ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
2677
+ __decorateClass([
2678
+ r()
2679
+ ], TerraDataSubsetter.prototype, "selectedVariables", 2);
2680
+ __decorateClass([
2681
+ r()
2682
+ ], TerraDataSubsetter.prototype, "selectedDimensionIndexes", 2);
2683
+ __decorateClass([
2684
+ r()
2685
+ ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
2686
+ __decorateClass([
2687
+ r()
2688
+ ], TerraDataSubsetter.prototype, "variableFilterText", 2);
2689
+ __decorateClass([
2690
+ r()
2691
+ ], TerraDataSubsetter.prototype, "touchedFields", 2);
2692
+ __decorateClass([
2693
+ r()
2694
+ ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2695
+ __decorateClass([
2696
+ r()
2697
+ ], TerraDataSubsetter.prototype, "shapeGeoJson", 2);
2698
+ __decorateClass([
2699
+ r()
2700
+ ], TerraDataSubsetter.prototype, "spatialLabel", 2);
2701
+ __decorateClass([
2702
+ r()
2703
+ ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2704
+ __decorateClass([
2705
+ r()
2706
+ ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2707
+ __decorateClass([
2708
+ r()
2709
+ ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2710
+ __decorateClass([
2711
+ r()
2712
+ ], TerraDataSubsetter.prototype, "isSubmittingRequest", 2);
2713
+ __decorateClass([
2714
+ r()
2715
+ ], TerraDataSubsetter.prototype, "selectedTab", 2);
2716
+ __decorateClass([
2717
+ r()
2718
+ ], TerraDataSubsetter.prototype, "refineParameters", 2);
2719
+ __decorateClass([
2720
+ r()
2721
+ ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2722
+ __decorateClass([
2723
+ r()
2724
+ ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2725
+ __decorateClass([
2726
+ r()
2727
+ ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2728
+ __decorateClass([
2729
+ r()
2730
+ ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2731
+ __decorateClass([
2732
+ r()
2733
+ ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2734
+ __decorateClass([
2735
+ r()
2736
+ ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2737
+ __decorateClass([
2738
+ r()
2739
+ ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2740
+ __decorateClass([
2741
+ r()
2742
+ ], TerraDataSubsetter.prototype, "validationError", 2);
2743
+ __decorateClass([
2744
+ r()
2745
+ ], TerraDataSubsetter.prototype, "harmonyRequestError", 2);
2746
+ __decorateClass([
2747
+ r()
2748
+ ], TerraDataSubsetter.prototype, "granuleMinDate", 2);
2749
+ __decorateClass([
2750
+ r()
2751
+ ], TerraDataSubsetter.prototype, "granuleMaxDate", 2);
2752
+ __decorateClass([
2753
+ r()
2754
+ ], TerraDataSubsetter.prototype, "giovanniConfiguredVariables", 2);
2755
+ __decorateClass([
2756
+ e('[part~="spatial-picker"]')
2757
+ ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2758
+ __decorateClass([
2759
+ e("terra-dialog")
2760
+ ], TerraDataSubsetter.prototype, "dialogElement", 2);
2761
+ __decorateClass([
2762
+ watch(["jobId"], { waitUntilFirstUpdate: true })
2763
+ ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2764
+ __decorateClass([
2765
+ watch(["shortName", "version"])
2766
+ ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2767
+ __decorateClass([
2768
+ watch("collectionEntryId", { waitUntilFirstUpdate: true })
2769
+ ], TerraDataSubsetter.prototype, "collectionEntryIdChanged", 1);
2770
+ __decorateClass([
2771
+ watch(["collectionWithServices"])
2772
+ ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2773
+ __decorateClass([
2774
+ watch(["granuleMinDate", "granuleMaxDate"])
2775
+ ], TerraDataSubsetter.prototype, "granuleDatesChanged", 1);
2776
+ __decorateClass([
2777
+ watch("selectedFormat")
2778
+ ], TerraDataSubsetter.prototype, "selectedFormatChanged", 1);
2779
+ __decorateClass([
2780
+ debounce(500)
2781
+ ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2782
+
2783
+ export {
2784
+ TerraDataSubsetter
2785
+ };