@nasa-terra/components 0.0.198 → 0.0.200

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 (1301) hide show
  1. package/cdn/chunks/GeoTIFF.VXDS234A.js +20754 -0
  2. package/cdn/chunks/chunk.22K3ASXQ.js +62 -0
  3. package/cdn/chunks/chunk.22YYG5T3.js +364 -0
  4. package/cdn/chunks/chunk.237CAJ4E.js +234 -0
  5. package/cdn/chunks/chunk.2AGOVOKY.js +19 -0
  6. package/cdn/chunks/chunk.2AQ4DWRT.js +138 -0
  7. package/cdn/chunks/chunk.2EKZ6PMU.js +19 -0
  8. package/cdn/chunks/chunk.2IMFMBAO.js +19 -0
  9. package/cdn/chunks/chunk.2SRKUJIF.js +158 -0
  10. package/cdn/chunks/chunk.2TM7BKAY.js +543 -0
  11. package/cdn/chunks/chunk.33YJP7MI.js +113 -0
  12. package/cdn/chunks/chunk.35B4WZA2.js +19 -0
  13. package/cdn/chunks/chunk.35FW6JQN.js +610 -0
  14. package/cdn/chunks/chunk.37ZSWJEY.js +925 -0
  15. package/cdn/chunks/chunk.3UIHCWKZ.js +29 -0
  16. package/cdn/chunks/chunk.4GFUIW55.js +29 -0
  17. package/cdn/chunks/chunk.4HTEUTHY.js +19 -0
  18. package/cdn/chunks/chunk.4L7AK4GX.js +74 -0
  19. package/cdn/chunks/chunk.4QAPEPKV.js +19 -0
  20. package/cdn/chunks/chunk.53B2ADK3.js +56075 -0
  21. package/cdn/chunks/chunk.55WRSCJY.js +978 -0
  22. package/cdn/chunks/chunk.5HZOFXIW.js +32 -0
  23. package/cdn/chunks/chunk.5I7EJKUF.js +29 -0
  24. package/cdn/chunks/chunk.5WY6U6ZD.js +19 -0
  25. package/cdn/chunks/chunk.5YMEJ2HW.js +29 -0
  26. package/cdn/chunks/chunk.5YMVKN3L.js +19 -0
  27. package/cdn/chunks/chunk.645RP6PO.js +19 -0
  28. package/cdn/chunks/chunk.67I6N5T3.js +32 -0
  29. package/cdn/chunks/chunk.6EZRRDKD.js +29 -0
  30. package/cdn/chunks/chunk.6LTZG5BR.js +19 -0
  31. package/cdn/chunks/chunk.6UWDJWHZ.js +29 -0
  32. package/cdn/chunks/chunk.6X6QHOXA.js +41 -0
  33. package/cdn/chunks/chunk.72YPZG3A.js +1975 -0
  34. package/cdn/chunks/chunk.76WTRGHU.js +19 -0
  35. package/cdn/chunks/chunk.7EJFTCTS.js +592 -0
  36. package/cdn/chunks/chunk.7FWVTECG.js +155 -0
  37. package/cdn/chunks/chunk.7NPZ3NNG.js +33 -0
  38. package/cdn/chunks/chunk.7P7YF5AG.js +19 -0
  39. package/cdn/chunks/chunk.7X22RVNF.js +672 -0
  40. package/cdn/chunks/chunk.A35DYTQA.js +29 -0
  41. package/cdn/chunks/chunk.A4SDQO2B.js +32 -0
  42. package/cdn/chunks/chunk.A57F3Z5Z.js +106 -0
  43. package/cdn/chunks/chunk.AFEHLJOD.js +230 -0
  44. package/cdn/chunks/chunk.AFJNRCDT.js +71 -0
  45. package/cdn/chunks/chunk.AHX4FQI7.js +51 -0
  46. package/cdn/chunks/chunk.ALCZPQMP.js +33 -0
  47. package/cdn/chunks/chunk.AOQ45IKG.js +19 -0
  48. package/cdn/chunks/chunk.AQFFDCEY.js +19 -0
  49. package/cdn/chunks/chunk.AQSGAQTF.js +29 -0
  50. package/cdn/chunks/chunk.AV6EWZUQ.js +19 -0
  51. package/cdn/chunks/chunk.B35FANVS.js +29 -0
  52. package/cdn/chunks/chunk.B4MS6VWQ.js +195 -0
  53. package/cdn/chunks/chunk.BHUAEKJD.js +276 -0
  54. package/cdn/chunks/chunk.BOL5PXSR.js +19 -0
  55. package/cdn/chunks/chunk.BT7RVB7W.js +657 -0
  56. package/cdn/chunks/chunk.BTW6CCUL.js +259 -0
  57. package/cdn/chunks/chunk.BY4TY5YO.js +278 -0
  58. package/cdn/chunks/chunk.BZFJ6XDH.js +38 -0
  59. package/cdn/chunks/chunk.C47DI5S4.js +443 -0
  60. package/cdn/chunks/chunk.CF5UIDMB.js +60 -0
  61. package/cdn/chunks/chunk.CNWAUC6R.js +19 -0
  62. package/cdn/chunks/chunk.CR6J5O3B.js +19 -0
  63. package/cdn/chunks/chunk.CUOL7ZLU.js +29 -0
  64. package/cdn/chunks/chunk.CXU7UUG5.js +29 -0
  65. package/cdn/chunks/chunk.D45EUIAY.js +298 -0
  66. package/cdn/chunks/chunk.D7LXSRPA.js +47 -0
  67. package/cdn/chunks/chunk.DJBUFBVH.js +35 -0
  68. package/cdn/chunks/chunk.DQSN2HRA.js +19 -0
  69. package/cdn/chunks/chunk.DUQOT6LG.js +19 -0
  70. package/cdn/chunks/chunk.E3EZQDS2.js +19 -0
  71. package/cdn/chunks/chunk.E5G62PCF.js +293 -0
  72. package/cdn/chunks/chunk.EBLLWPKJ.js +29 -0
  73. package/cdn/chunks/chunk.ELNFMESU.js +224 -0
  74. package/cdn/chunks/chunk.ELP4G37Y.js +19 -0
  75. package/cdn/chunks/chunk.ESAVXMOK.js +29 -0
  76. package/cdn/chunks/chunk.EVXCDWEK.js +19 -0
  77. package/cdn/chunks/chunk.EZGCGYHR.js +32 -0
  78. package/cdn/chunks/chunk.FF6RYBZH.js +83 -0
  79. package/cdn/chunks/chunk.FI4YBHHD.js +1339 -0
  80. package/cdn/chunks/chunk.FKMWKHU4.js +19 -0
  81. package/cdn/chunks/chunk.FOMOMN2R.js +93 -0
  82. package/cdn/chunks/chunk.FPRDZO74.js +377 -0
  83. package/cdn/chunks/chunk.FQ7GYAM6.js +450 -0
  84. package/cdn/chunks/chunk.FWOG7W7G.js +19 -0
  85. package/cdn/chunks/chunk.GBIRPGIZ.js +19 -0
  86. package/cdn/chunks/chunk.GCCNVPUP.js +33 -0
  87. package/cdn/chunks/chunk.GEXMYKN6.js +19 -0
  88. package/cdn/chunks/chunk.GLV7IM44.js +29 -0
  89. package/cdn/chunks/chunk.GTSD3RXV.js +32 -0
  90. package/cdn/chunks/chunk.GTZLRBU6.js +15 -0
  91. package/cdn/chunks/chunk.GUK7VMT5.js +190 -0
  92. package/cdn/chunks/chunk.GWKH3CLP.js +19 -0
  93. package/cdn/chunks/chunk.GYZOSZRQ.js +36 -0
  94. package/cdn/chunks/chunk.H4HEB4ER.js +110 -0
  95. package/cdn/chunks/chunk.H55WHCAH.js +29 -0
  96. package/cdn/chunks/chunk.H6KRH5P2.js +17685 -0
  97. package/cdn/chunks/chunk.H7PFNRZC.js +19 -0
  98. package/cdn/chunks/chunk.HBG4C57A.js +34 -0
  99. package/cdn/chunks/chunk.HT4VXYXY.js +37 -0
  100. package/cdn/chunks/chunk.HTY4OINL.js +19 -0
  101. package/cdn/chunks/chunk.HYPSB6EN.js +524 -0
  102. package/cdn/chunks/chunk.HYZPA7O5.js +36 -0
  103. package/cdn/chunks/chunk.HZDP5DDD.js +19 -0
  104. package/cdn/chunks/chunk.IH6V43NT.js +19 -0
  105. package/cdn/chunks/chunk.IK2SGPIW.js +5463 -0
  106. package/cdn/chunks/chunk.ISUXVNMN.js +19 -0
  107. package/cdn/chunks/chunk.IU46TB7O.js +132 -0
  108. package/cdn/chunks/chunk.IYBWOV2C.js +1660 -0
  109. package/cdn/chunks/chunk.JDOWPVSJ.js +32 -0
  110. package/cdn/chunks/chunk.JQIQYHYS.js +34 -0
  111. package/cdn/chunks/chunk.JX3LVSGD.js +19 -0
  112. package/cdn/chunks/chunk.JYQEDEGJ.js +19 -0
  113. package/cdn/chunks/chunk.K3IZCOE2.js +19 -0
  114. package/cdn/chunks/chunk.K4LUO6QF.js +36 -0
  115. package/cdn/chunks/chunk.KBT6IPHV.js +19 -0
  116. package/cdn/chunks/chunk.KC4U5UVG.js +68 -0
  117. package/cdn/chunks/chunk.KG5LAQGX.js +37 -0
  118. package/cdn/chunks/chunk.KMER3IDE.js +29 -0
  119. package/cdn/chunks/chunk.KYRAV2AH.js +277 -0
  120. package/cdn/chunks/chunk.L4JZ24PE.js +19 -0
  121. package/cdn/chunks/chunk.LNV4U7DG.js +29 -0
  122. package/cdn/chunks/chunk.LPJQVIZJ.js +29 -0
  123. package/cdn/chunks/chunk.LY2GSFDD.js +32 -0
  124. package/cdn/chunks/chunk.LZXHPGRW.js +19 -0
  125. package/cdn/chunks/chunk.M3TPDRI3.js +616 -0
  126. package/cdn/chunks/chunk.M6QQY2ST.js +17603 -0
  127. package/cdn/chunks/chunk.MN6ZUUP5.js +19 -0
  128. package/cdn/chunks/chunk.MPYGI52D.js +19 -0
  129. package/cdn/chunks/chunk.MT33TVQC.js +60 -0
  130. package/cdn/chunks/chunk.MTZHUNOJ.js +29 -0
  131. package/cdn/chunks/chunk.MVVUX7LF.js +359 -0
  132. package/cdn/chunks/chunk.MWW325LP.js +2546 -0
  133. package/cdn/chunks/chunk.MXPYZ4NU.js +19 -0
  134. package/cdn/chunks/chunk.MYWP2D5C.js +19 -0
  135. package/cdn/chunks/chunk.MZKFJYOZ.js +49 -0
  136. package/cdn/chunks/chunk.N37FLG5H.js +29 -0
  137. package/cdn/chunks/chunk.N43SVPNI.js +151 -0
  138. package/cdn/chunks/chunk.N6AJA3G4.js +19 -0
  139. package/cdn/chunks/chunk.NDALC32H.js +604 -0
  140. package/cdn/chunks/chunk.NQ7ZT5GF.js +35 -0
  141. package/cdn/chunks/chunk.NRP27IFE.js +357 -0
  142. package/cdn/chunks/chunk.NV5HIRCL.js +4735 -0
  143. package/cdn/chunks/chunk.NVVFTXBE.js +82 -0
  144. package/cdn/chunks/chunk.NWRNR2NO.js +19 -0
  145. package/cdn/chunks/chunk.NYAS4VCX.js +538 -0
  146. package/cdn/chunks/chunk.OCOILS4L.js +531 -0
  147. package/cdn/chunks/chunk.OMJXPU5O.js +33 -0
  148. package/cdn/chunks/chunk.OOCN2MEO.js +104 -0
  149. package/cdn/chunks/chunk.OPR25IBK.js +29 -0
  150. package/cdn/chunks/chunk.PF6HHPHM.js +1691 -0
  151. package/cdn/chunks/chunk.PGGR7VBX.js +134 -0
  152. package/cdn/chunks/chunk.PN4ABUFE.js +35 -0
  153. package/cdn/chunks/chunk.PPFZCYHA.js +19 -0
  154. package/cdn/chunks/chunk.PRTHW3YW.js +32 -0
  155. package/cdn/chunks/chunk.PTZIASYI.js +29 -0
  156. package/cdn/chunks/chunk.PY3TJXZ7.js +30 -0
  157. package/cdn/chunks/chunk.QAQMCUVV.js +19 -0
  158. package/cdn/chunks/chunk.QJORI76J.js +29 -0
  159. package/cdn/chunks/chunk.QYUFONQI.js +78 -0
  160. package/cdn/chunks/chunk.RSRIVUCO.js +36 -0
  161. package/cdn/chunks/chunk.RXWFFS6L.js +29 -0
  162. package/cdn/chunks/chunk.S3YL7XMD.js +19 -0
  163. package/cdn/chunks/chunk.S7YJPZDB.js +35 -0
  164. package/cdn/chunks/chunk.SC5DKRCX.js +29 -0
  165. package/cdn/chunks/chunk.SE55TMVG.js +143 -0
  166. package/cdn/chunks/chunk.SGEP3FXE.js +136 -0
  167. package/cdn/chunks/chunk.SLDQHSC6.js +19 -0
  168. package/cdn/chunks/chunk.SMASZ43V.js +29 -0
  169. package/cdn/chunks/chunk.SRZ5LTBO.js +37 -0
  170. package/cdn/chunks/chunk.SSDQIIOR.js +19 -0
  171. package/cdn/chunks/chunk.SSOM7RQK.js +32 -0
  172. package/cdn/chunks/chunk.SSWHJUU4.js +32 -0
  173. package/cdn/chunks/chunk.SU5BQLHH.js +36 -0
  174. package/cdn/chunks/chunk.SVAVLXQ2.js +19 -0
  175. package/cdn/chunks/chunk.TAGA7EGX.js +348 -0
  176. package/cdn/chunks/chunk.TJAMJ3MW.js +19 -0
  177. package/cdn/chunks/chunk.U2SQXRXV.js +29 -0
  178. package/cdn/chunks/chunk.U2TL6OCG.js +19 -0
  179. package/cdn/chunks/chunk.UA5BJAJD.js +32 -0
  180. package/cdn/chunks/chunk.UB2WIHOB.js +33 -0
  181. package/cdn/chunks/chunk.UIVZN63B.js +19 -0
  182. package/cdn/chunks/chunk.UJ6CLNLP.js +29 -0
  183. package/cdn/chunks/chunk.UTV4V2OE.js +478 -0
  184. package/cdn/chunks/chunk.UUUD46S3.js +1862 -0
  185. package/cdn/chunks/chunk.UW7PP2PX.js +19 -0
  186. package/cdn/chunks/chunk.V7DC2HOO.js +188 -0
  187. package/cdn/chunks/chunk.VE66D7IC.js +19 -0
  188. package/cdn/chunks/chunk.VF5XGLA6.js +19 -0
  189. package/cdn/chunks/chunk.VGWHMGE2.js +162 -0
  190. package/cdn/chunks/chunk.VLTCS4SJ.js +29 -0
  191. package/cdn/chunks/chunk.VSIX6Q6J.js +231 -0
  192. package/cdn/chunks/chunk.W2IPAMIN.js +416 -0
  193. package/cdn/chunks/chunk.WL2A23LE.js +19 -0
  194. package/cdn/chunks/chunk.WLU62KO7.js +537 -0
  195. package/cdn/chunks/chunk.WQOSNK27.js +99 -0
  196. package/cdn/chunks/chunk.WTXOXZ7B.js +29 -0
  197. package/cdn/chunks/chunk.XOQLFJ47.js +631 -0
  198. package/cdn/chunks/chunk.XP4TBHBK.js +19 -0
  199. package/cdn/chunks/chunk.XRQAIKYE.js +310 -0
  200. package/cdn/chunks/chunk.XZ7PWZVI.js +266 -0
  201. package/cdn/chunks/chunk.XZPHDJEG.js +86 -0
  202. package/cdn/chunks/chunk.Y4UTWYK7.js +19 -0
  203. package/cdn/chunks/chunk.Y6XPBZIT.js +1197 -0
  204. package/cdn/chunks/chunk.Y7XP7KYY.js +19 -0
  205. package/cdn/chunks/chunk.YCPFQYZ4.js +2781 -0
  206. package/cdn/chunks/chunk.YXBSUHVR.js +39 -0
  207. package/cdn/chunks/chunk.Z3RVDKOC.js +15 -0
  208. package/cdn/chunks/chunk.Z4GIIMIT.js +32 -0
  209. package/cdn/chunks/chunk.ZCBSCQDJ.js +904 -0
  210. package/cdn/chunks/chunk.ZCYCGN4E.js +32 -0
  211. package/cdn/chunks/chunk.ZERLGTGY.js +19 -0
  212. package/cdn/chunks/chunk.ZGOGAQSH.js +32 -0
  213. package/cdn/chunks/chunk.ZLEY6EQQ.js +123 -0
  214. package/cdn/chunks/chunk.ZV34U2K5.js +19 -0
  215. package/cdn/chunks/chunk.ZWGXUP6E.js +35 -0
  216. package/cdn/chunks/chunk.ZY5VE52C.js +92 -0
  217. package/cdn/chunks/lerc.WZVXX72L.js +2097 -0
  218. package/cdn/components/accordion/accordion.component.js +6 -6
  219. package/cdn/components/accordion/accordion.js +7 -7
  220. package/cdn/components/alert/alert.component.js +2 -2
  221. package/cdn/components/alert/alert.js +3 -3
  222. package/cdn/components/avatar/avatar.component.js +6 -6
  223. package/cdn/components/avatar/avatar.js +7 -7
  224. package/cdn/components/badge/badge.component.js +2 -2
  225. package/cdn/components/badge/badge.js +3 -3
  226. package/cdn/components/banner/banner.component.js +2 -2
  227. package/cdn/components/banner/banner.js +3 -3
  228. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  229. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  230. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  231. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  232. package/cdn/components/browse-variables/browse-variables.component.js +12 -12
  233. package/cdn/components/browse-variables/browse-variables.js +13 -13
  234. package/cdn/components/button/button.component.js +5 -5
  235. package/cdn/components/button/button.js +6 -6
  236. package/cdn/components/button-group/button-group.component.js +2 -2
  237. package/cdn/components/button-group/button-group.js +3 -3
  238. package/cdn/components/caption/caption.component.js +2 -2
  239. package/cdn/components/caption/caption.js +3 -3
  240. package/cdn/components/card/card.component.js +2 -2
  241. package/cdn/components/card/card.js +3 -3
  242. package/cdn/components/checkbox/checkbox.component.js +6 -6
  243. package/cdn/components/checkbox/checkbox.js +7 -7
  244. package/cdn/components/chip/chip.component.js +2 -2
  245. package/cdn/components/chip/chip.js +3 -3
  246. package/cdn/components/combobox/combobox.component.js +2 -2
  247. package/cdn/components/combobox/combobox.js +3 -3
  248. package/cdn/components/data-access/data-access.component.js +36 -26
  249. package/cdn/components/data-access/data-access.js +37 -27
  250. package/cdn/components/data-grid/data-grid.component.js +3 -3
  251. package/cdn/components/data-grid/data-grid.js +4 -4
  252. package/cdn/components/data-rods/data-rods.component.js +46 -36
  253. package/cdn/components/data-rods/data-rods.js +47 -37
  254. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +1 -0
  255. package/cdn/components/data-subsetter/data-subsetter.component.js +45 -35
  256. package/cdn/components/data-subsetter/data-subsetter.js +46 -36
  257. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  258. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +47 -37
  259. package/cdn/components/data-subsetter-history/data-subsetter-history.js +48 -38
  260. package/cdn/components/date-picker/date-picker.component.js +11 -11
  261. package/cdn/components/date-picker/date-picker.js +12 -12
  262. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  263. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  264. package/cdn/components/dialog/dialog.component.js +6 -6
  265. package/cdn/components/dialog/dialog.js +7 -7
  266. package/cdn/components/divider/divider.component.js +2 -2
  267. package/cdn/components/divider/divider.js +3 -3
  268. package/cdn/components/dropdown/dropdown.component.js +4 -4
  269. package/cdn/components/dropdown/dropdown.js +5 -5
  270. package/cdn/components/earthdata-login/earthdata-login.component.js +12 -12
  271. package/cdn/components/earthdata-login/earthdata-login.js +13 -13
  272. package/cdn/components/file-upload/file-upload.component.js +2 -2
  273. package/cdn/components/file-upload/file-upload.js +3 -3
  274. package/cdn/components/harmony-history/harmony-history.component.js +8 -8
  275. package/cdn/components/harmony-history/harmony-history.js +9 -9
  276. package/cdn/components/icon/icon.component.js +4 -4
  277. package/cdn/components/icon/icon.js +5 -5
  278. package/cdn/components/icon/library.js +2 -2
  279. package/cdn/components/input/input.component.js +5 -5
  280. package/cdn/components/input/input.js +6 -6
  281. package/cdn/components/loader/loader.component.js +2 -2
  282. package/cdn/components/loader/loader.js +3 -3
  283. package/cdn/components/login/login.component.js +10 -10
  284. package/cdn/components/login/login.js +11 -11
  285. package/cdn/components/map/controls/draw-toolbar.control.js +3 -1
  286. package/cdn/components/map/layers/base.layer.d.ts +7 -0
  287. package/cdn/components/map/layers/base.layer.js +12 -0
  288. package/cdn/components/map/layers/borders.layer.d.ts +6 -0
  289. package/cdn/components/map/layers/borders.layer.js +14 -0
  290. package/cdn/components/map/layers/bordersStyleConfig.d.ts +29 -0
  291. package/cdn/components/map/layers/bordersStyleConfig.js +7 -0
  292. package/cdn/components/map/layers/labels.layer.d.ts +6 -0
  293. package/cdn/components/map/layers/labels.layer.js +14 -0
  294. package/cdn/components/map/layers/labelsStyleConfig.d.ts +2337 -0
  295. package/cdn/components/map/layers/labelsStyleConfig.js +7 -0
  296. package/cdn/components/map/map.component.d.ts +42 -0
  297. package/cdn/components/map/map.component.js +16 -6
  298. package/cdn/components/map/map.js +17 -7
  299. package/cdn/components/map/map.service.d.ts +50 -1
  300. package/cdn/components/map/map.service.js +13 -3
  301. package/cdn/components/map/map.styles.js +1 -1
  302. package/cdn/components/menu/menu.component.js +2 -2
  303. package/cdn/components/menu/menu.js +3 -3
  304. package/cdn/components/menu-item/menu-item.component.js +7 -7
  305. package/cdn/components/menu-item/menu-item.js +8 -8
  306. package/cdn/components/option/option.component.js +5 -5
  307. package/cdn/components/option/option.js +6 -6
  308. package/cdn/components/pagination/pagination.component.js +5 -5
  309. package/cdn/components/pagination/pagination.js +6 -6
  310. package/cdn/components/plot/plot.component.js +3 -3
  311. package/cdn/components/plot/plot.js +4 -4
  312. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  313. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  314. package/cdn/components/plot-toolbar/plot-toolbar.component.js +27 -17
  315. package/cdn/components/plot-toolbar/plot-toolbar.js +28 -18
  316. package/cdn/components/popup/popup.component.js +2 -2
  317. package/cdn/components/popup/popup.js +3 -3
  318. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  319. package/cdn/components/progress-bar/progress-bar.js +3 -3
  320. package/cdn/components/radio/radio.component.js +2 -2
  321. package/cdn/components/radio/radio.js +3 -3
  322. package/cdn/components/radio-group/radio-group.component.js +2 -2
  323. package/cdn/components/radio-group/radio-group.js +3 -3
  324. package/cdn/components/scroll-hint/scroll-hint.component.js +5 -5
  325. package/cdn/components/scroll-hint/scroll-hint.js +6 -6
  326. package/cdn/components/select/select.component.js +7 -7
  327. package/cdn/components/select/select.js +8 -8
  328. package/cdn/components/site-header/site-header.component.js +5 -5
  329. package/cdn/components/site-header/site-header.js +5 -5
  330. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  331. package/cdn/components/site-navigation/site-navigation.js +2 -2
  332. package/cdn/components/skeleton/skeleton.component.js +2 -2
  333. package/cdn/components/skeleton/skeleton.js +3 -3
  334. package/cdn/components/slider/slider.component.js +2 -2
  335. package/cdn/components/slider/slider.js +3 -3
  336. package/cdn/components/spatial-picker/spatial-picker.component.js +25 -15
  337. package/cdn/components/spatial-picker/spatial-picker.js +26 -16
  338. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  339. package/cdn/components/status-indicator/status-indicator.js +3 -3
  340. package/cdn/components/stepper/stepper.component.js +2 -2
  341. package/cdn/components/stepper/stepper.js +3 -3
  342. package/cdn/components/stepper-step/stepper-step.component.js +5 -5
  343. package/cdn/components/stepper-step/stepper-step.js +6 -6
  344. package/cdn/components/tab/tab.component.js +5 -5
  345. package/cdn/components/tab/tab.js +6 -6
  346. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  347. package/cdn/components/tab-panel/tab-panel.js +3 -3
  348. package/cdn/components/tabs/tabs.component.js +5 -5
  349. package/cdn/components/tabs/tabs.js +6 -6
  350. package/cdn/components/tag/tag.component.js +5 -5
  351. package/cdn/components/tag/tag.js +6 -6
  352. package/cdn/components/textarea/textarea.component.js +2 -2
  353. package/cdn/components/textarea/textarea.js +3 -3
  354. package/cdn/components/time-average-map/time-average-map.component.d.ts +12 -8
  355. package/cdn/components/time-average-map/time-average-map.component.js +34 -24
  356. package/cdn/components/time-average-map/time-average-map.controller.d.ts +5 -0
  357. package/cdn/components/time-average-map/time-average-map.controller.js +1 -1
  358. package/cdn/components/time-average-map/time-average-map.js +35 -25
  359. package/cdn/components/time-average-map/time-average-map.styles.js +1 -1
  360. package/cdn/components/time-series/time-series.component.js +34 -24
  361. package/cdn/components/time-series/time-series.controller.d.ts +5 -0
  362. package/cdn/components/time-series/time-series.controller.js +1 -1
  363. package/cdn/components/time-series/time-series.js +35 -25
  364. package/cdn/components/toast/toast.component.js +3 -3
  365. package/cdn/components/toast/toast.js +4 -4
  366. package/cdn/components/toggle/toggle.component.js +2 -2
  367. package/cdn/components/toggle/toggle.js +3 -3
  368. package/cdn/components/tooltip/tooltip.component.js +3 -3
  369. package/cdn/components/tooltip/tooltip.js +4 -4
  370. package/cdn/components/variable-combobox/variable-combobox.component.js +11 -11
  371. package/cdn/components/variable-combobox/variable-combobox.js +12 -12
  372. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +8 -8
  373. package/cdn/components/variable-keyword-search/variable-keyword-search.js +9 -9
  374. package/cdn/custom-elements.json +5947 -5851
  375. package/cdn/events/events.d.ts +1 -1
  376. package/cdn/events/terra-map-change.d.ts +6 -0
  377. package/cdn/react/accordion/index.js +7 -7
  378. package/cdn/react/alert/index.js +3 -3
  379. package/cdn/react/avatar/index.js +7 -7
  380. package/cdn/react/badge/index.js +3 -3
  381. package/cdn/react/banner/index.js +3 -3
  382. package/cdn/react/breadcrumb/index.js +3 -3
  383. package/cdn/react/breadcrumbs/index.js +3 -3
  384. package/cdn/react/browse-variables/index.js +13 -13
  385. package/cdn/react/button/index.js +6 -6
  386. package/cdn/react/button-group/index.js +3 -3
  387. package/cdn/react/caption/index.js +3 -3
  388. package/cdn/react/card/index.js +3 -3
  389. package/cdn/react/checkbox/index.js +7 -7
  390. package/cdn/react/chip/index.js +3 -3
  391. package/cdn/react/combobox/index.js +3 -3
  392. package/cdn/react/data-access/index.js +37 -27
  393. package/cdn/react/data-grid/index.js +4 -4
  394. package/cdn/react/data-rods/index.js +47 -37
  395. package/cdn/react/data-subsetter/index.js +46 -36
  396. package/cdn/react/data-subsetter-history/index.js +48 -38
  397. package/cdn/react/date-picker/index.js +12 -12
  398. package/cdn/react/date-range-slider/index.js +3 -3
  399. package/cdn/react/dialog/index.js +7 -7
  400. package/cdn/react/divider/index.js +3 -3
  401. package/cdn/react/dropdown/index.js +5 -5
  402. package/cdn/react/earthdata-login/index.js +13 -13
  403. package/cdn/react/file-upload/index.js +3 -3
  404. package/cdn/react/harmony-history/index.js +9 -9
  405. package/cdn/react/icon/index.js +5 -5
  406. package/cdn/react/index.d.ts +10 -10
  407. package/cdn/react/index.js +226 -216
  408. package/cdn/react/input/index.js +6 -6
  409. package/cdn/react/loader/index.js +3 -3
  410. package/cdn/react/login/index.js +11 -11
  411. package/cdn/react/map/index.js +17 -7
  412. package/cdn/react/menu/index.js +3 -3
  413. package/cdn/react/menu-item/index.js +8 -8
  414. package/cdn/react/option/index.js +6 -6
  415. package/cdn/react/pagination/index.js +6 -6
  416. package/cdn/react/plot/index.js +4 -4
  417. package/cdn/react/plot-toolbar/index.js +28 -18
  418. package/cdn/react/popup/index.js +3 -3
  419. package/cdn/react/progress-bar/index.js +3 -3
  420. package/cdn/react/radio/index.js +3 -3
  421. package/cdn/react/radio-group/index.js +3 -3
  422. package/cdn/react/scroll-hint/index.js +6 -6
  423. package/cdn/react/select/index.js +8 -8
  424. package/cdn/react/site-header/index.js +6 -6
  425. package/cdn/react/site-navigation/index.js +3 -3
  426. package/cdn/react/skeleton/index.js +3 -3
  427. package/cdn/react/slider/index.js +3 -3
  428. package/cdn/react/spatial-picker/index.js +26 -16
  429. package/cdn/react/status-indicator/index.js +3 -3
  430. package/cdn/react/stepper/index.js +3 -3
  431. package/cdn/react/stepper-step/index.js +6 -6
  432. package/cdn/react/tab/index.js +6 -6
  433. package/cdn/react/tab-panel/index.js +3 -3
  434. package/cdn/react/tabs/index.js +6 -6
  435. package/cdn/react/tag/index.js +6 -6
  436. package/cdn/react/textarea/index.js +3 -3
  437. package/cdn/react/time-average-map/index.js +35 -25
  438. package/cdn/react/time-series/index.js +35 -25
  439. package/cdn/react/toast/index.js +4 -4
  440. package/cdn/react/toggle/index.js +3 -3
  441. package/cdn/react/tooltip/index.js +4 -4
  442. package/cdn/react/variable-combobox/index.js +12 -12
  443. package/cdn/react/variable-keyword-search/index.js +9 -9
  444. package/cdn/terra-ui-components.js +225 -215
  445. package/cdn/types/vue/index.d.ts +586 -564
  446. package/cdn/utilities/icon-library.js +2 -2
  447. package/cdn/vscode.html-custom-data.json +356 -350
  448. package/cdn/web-types.json +1096 -1082
  449. package/dist/chunks/chunk.2CRFHCUV.js +22 -0
  450. package/dist/chunks/chunk.2DKGDYTF.js +1 -0
  451. package/dist/chunks/chunk.2ESMQYVF.js +1 -0
  452. package/dist/chunks/chunk.2GTYM73W.js +41 -0
  453. package/dist/chunks/chunk.2MCIVOCH.js +1 -0
  454. package/dist/chunks/chunk.2TEQHV6L.js +280 -0
  455. package/dist/chunks/chunk.3XXPZXA4.js +1 -0
  456. package/dist/chunks/chunk.42DJXYDW.js +1 -0
  457. package/dist/chunks/chunk.4ELXGK2Z.js +1 -0
  458. package/dist/chunks/chunk.4FPDNZFX.js +23 -0
  459. package/dist/chunks/chunk.4HUDFTIJ.js +1 -0
  460. package/dist/chunks/chunk.4I4QZ5VT.js +1 -0
  461. package/dist/chunks/chunk.4J4YPWYR.js +1 -0
  462. package/dist/chunks/chunk.4MHLU2UG.js +1 -0
  463. package/dist/chunks/chunk.4MLVZOVY.js +5 -0
  464. package/dist/chunks/chunk.4RFUYJZR.js +6 -0
  465. package/dist/chunks/chunk.4YZRJ6SW.js +8 -0
  466. package/dist/chunks/chunk.5BIASLJU.js +1 -0
  467. package/dist/chunks/chunk.5EHI56PN.js +1 -0
  468. package/dist/chunks/chunk.5KSUTJT4.js +1 -0
  469. package/dist/chunks/chunk.5TIIL5N2.js +1 -0
  470. package/dist/chunks/chunk.5V5KTY3D.js +1 -0
  471. package/dist/chunks/chunk.5YJXFKWN.js +176 -0
  472. package/dist/chunks/chunk.65Z4JL5X.js +35 -0
  473. package/dist/chunks/chunk.67W7E3EQ.js +1 -0
  474. package/dist/chunks/chunk.6CB64B2U.js +1 -0
  475. package/dist/chunks/chunk.6CYXCDFU.js +1 -0
  476. package/dist/chunks/chunk.6ECFMEPZ.js +1 -0
  477. package/dist/chunks/chunk.6H7GBCHK.js +1 -0
  478. package/dist/chunks/chunk.6KCJFKJJ.js +24 -0
  479. package/dist/chunks/chunk.6NMFAJUY.js +1 -0
  480. package/dist/chunks/chunk.6OVOBLEB.js +1 -0
  481. package/dist/chunks/chunk.6UFB3UHW.js +1 -0
  482. package/dist/chunks/chunk.6YCD322Y.js +1 -0
  483. package/dist/chunks/chunk.6ZKAGXYF.js +1 -0
  484. package/dist/chunks/chunk.72I3GVSW.js +99 -0
  485. package/dist/chunks/chunk.74T7SQEP.js +113 -0
  486. package/dist/chunks/chunk.7CNB7PBM.js +1 -0
  487. package/dist/chunks/chunk.7GTYKWFY.js +1 -0
  488. package/dist/chunks/chunk.7REAYBDC.js +1 -0
  489. package/dist/chunks/chunk.7YVK2KAH.js +16 -0
  490. package/dist/chunks/chunk.7ZWLPBZ2.js +1 -0
  491. package/dist/chunks/chunk.ABNG2MMS.js +1 -0
  492. package/dist/chunks/chunk.ABOMZZ5W.js +1 -0
  493. package/dist/chunks/chunk.AJORM3JY.js +299 -0
  494. package/dist/chunks/chunk.ATX7REBU.js +1 -0
  495. package/dist/chunks/chunk.AUCKD6VQ.js +26 -0
  496. package/dist/chunks/chunk.AV5MTWD4.js +1 -0
  497. package/dist/chunks/chunk.AWRW7MMY.js +1 -0
  498. package/dist/chunks/chunk.AYEBTFZT.js +433 -0
  499. package/dist/chunks/chunk.AZZW4HXP.js +1 -0
  500. package/dist/chunks/chunk.B37PAYRF.js +26 -0
  501. package/dist/chunks/chunk.B5WI74JH.js +1 -0
  502. package/dist/chunks/chunk.BCI323BR.js +1 -0
  503. package/dist/chunks/chunk.BEJQIPA3.js +1 -0
  504. package/dist/chunks/chunk.BPWU4HLE.js +1 -0
  505. package/dist/chunks/chunk.C24G2IKI.js +9 -0
  506. package/dist/chunks/chunk.C72MEN4K.js +1 -0
  507. package/dist/chunks/chunk.CAMF5ULQ.js +1 -0
  508. package/dist/chunks/chunk.CHJBPRAW.js +1 -0
  509. package/dist/chunks/chunk.CR6A4NHN.js +39 -0
  510. package/dist/chunks/chunk.CXJA6HBX.js +35 -0
  511. package/dist/chunks/chunk.D7OJXCTX.js +11 -0
  512. package/dist/chunks/chunk.DAUE6BIF.js +37 -0
  513. package/dist/chunks/chunk.DIL2BMCN.js +1 -0
  514. package/dist/chunks/chunk.DQK2UXR4.js +47 -0
  515. package/dist/chunks/chunk.DTPW7HGE.js +1 -0
  516. package/dist/chunks/chunk.DZFGS2F6.js +1 -0
  517. package/dist/chunks/chunk.E3YBU7VY.js +1 -0
  518. package/dist/chunks/chunk.E4TZK6WJ.js +1 -0
  519. package/dist/chunks/chunk.EAPRKWW2.js +20 -0
  520. package/dist/chunks/chunk.EG7SPBRG.js +1 -0
  521. package/dist/chunks/chunk.EIJJC5B2.js +1 -0
  522. package/dist/chunks/chunk.EKNHAXS5.js +1 -0
  523. package/dist/chunks/chunk.EM3LS6OR.js +1 -0
  524. package/dist/chunks/chunk.EMXIBRS4.js +1 -0
  525. package/dist/chunks/chunk.ERBLNOPF.js +780 -0
  526. package/dist/chunks/chunk.EWB3NYCM.js +1 -0
  527. package/dist/chunks/chunk.EXABIDHR.js +1 -0
  528. package/dist/chunks/chunk.F7RVHCEK.js +62 -0
  529. package/dist/chunks/chunk.FAHKHSCZ.js +1 -0
  530. package/dist/chunks/chunk.FNZNA3S7.js +74 -0
  531. package/dist/chunks/chunk.FVA5GL7Q.js +43 -0
  532. package/dist/chunks/chunk.GCNLLJCR.js +1 -0
  533. package/dist/chunks/chunk.GQHSSWB5.js +1 -0
  534. package/dist/chunks/chunk.GVWSI2VA.js +55 -0
  535. package/dist/chunks/chunk.H5IHSMIW.js +1 -0
  536. package/dist/chunks/chunk.H742VBGY.js +1 -0
  537. package/dist/chunks/chunk.HKUBTRPD.js +1 -0
  538. package/dist/chunks/chunk.HKWG237B.js +1 -0
  539. package/dist/chunks/chunk.HL5D2TYJ.js +1 -0
  540. package/dist/chunks/chunk.HNQ3NJOC.js +1 -0
  541. package/dist/chunks/chunk.HSSHJEF7.js +1 -0
  542. package/dist/chunks/chunk.HVKQOUEK.js +1 -0
  543. package/dist/chunks/chunk.IBZ74ROK.js +1 -0
  544. package/dist/chunks/chunk.IEENQ4UI.js +1 -0
  545. package/dist/chunks/chunk.IJVMESW7.js +1 -0
  546. package/dist/chunks/chunk.IKHT7VYP.js +1 -0
  547. package/dist/chunks/chunk.IRKRVHUS.js +75 -0
  548. package/dist/chunks/chunk.ISMI3XBI.js +1 -0
  549. package/dist/chunks/chunk.J4SQCN5S.js +1 -0
  550. package/dist/chunks/chunk.JBA4XHXB.js +1 -0
  551. package/dist/chunks/chunk.JDK4TOCT.js +1 -0
  552. package/dist/chunks/chunk.JR4SV4AJ.js +80 -0
  553. package/dist/chunks/chunk.JUYXCY7U.js +1 -0
  554. package/dist/chunks/chunk.JVK5XH2Z.js +1 -0
  555. package/dist/chunks/chunk.KHENOYII.js +1 -0
  556. package/dist/chunks/chunk.KPEX4DLT.js +33 -0
  557. package/dist/chunks/chunk.KQETTTFA.js +1 -0
  558. package/dist/chunks/chunk.KRQB5VTT.js +1 -0
  559. package/dist/chunks/chunk.KVM555JK.js +1 -0
  560. package/dist/chunks/chunk.KVWVUH5W.js +19 -0
  561. package/dist/chunks/chunk.KYYIY3VW.js +1 -0
  562. package/dist/chunks/chunk.L265LOLF.js +1 -0
  563. package/dist/chunks/chunk.LELQ3MLG.js +122 -0
  564. package/dist/chunks/chunk.LMSK5NZM.js +43 -0
  565. package/dist/chunks/chunk.LNZCRC25.js +1 -0
  566. package/dist/chunks/chunk.LRZ3UVGV.js +1 -0
  567. package/dist/chunks/chunk.LW4GPYOC.js +1 -0
  568. package/dist/chunks/chunk.LXUBL7WM.js +1 -0
  569. package/dist/chunks/chunk.MEAK3R6S.js +1 -0
  570. package/dist/chunks/chunk.MI6ETUDG.js +8 -0
  571. package/dist/chunks/chunk.MKP24AIE.js +1 -0
  572. package/dist/chunks/chunk.MLW7OO6S.js +1 -0
  573. package/dist/chunks/chunk.MPGGFMBM.js +154 -0
  574. package/dist/chunks/chunk.MQXM5OIU.js +1 -0
  575. package/dist/chunks/chunk.MRG32HPF.js +572 -0
  576. package/dist/chunks/chunk.MSW6PNGT.js +1 -0
  577. package/dist/chunks/chunk.MVIOASOW.js +1 -0
  578. package/dist/chunks/chunk.MYBTQYE2.js +1 -0
  579. package/dist/chunks/chunk.NCSTNLHF.js +1 -0
  580. package/dist/chunks/chunk.NHLOAWLZ.js +1 -0
  581. package/dist/chunks/chunk.NM25YKOZ.js +1 -0
  582. package/dist/chunks/chunk.NNMEQPYF.js +1 -0
  583. package/dist/chunks/chunk.NRLOR4RH.js +14 -0
  584. package/dist/chunks/chunk.NVJPTRSH.js +55 -0
  585. package/dist/chunks/chunk.NVZD36RJ.js +1 -0
  586. package/dist/chunks/chunk.NYPAUATV.js +1 -0
  587. package/dist/chunks/chunk.O5J725ZK.js +1 -0
  588. package/dist/chunks/chunk.OPNWS6JR.js +1 -0
  589. package/dist/chunks/chunk.ORCMYTT7.js +25 -0
  590. package/dist/chunks/chunk.OWZWK64C.js +1 -0
  591. package/dist/chunks/chunk.OXIQHXEA.js +1 -0
  592. package/dist/chunks/chunk.P4FS7V3Q.js +48 -0
  593. package/dist/chunks/chunk.P66PH4HE.js +12 -0
  594. package/dist/chunks/chunk.PG3MVCO7.js +64 -0
  595. package/dist/chunks/chunk.PPNJDKQY.js +1 -0
  596. package/dist/chunks/chunk.PR7E6KYS.js +1 -0
  597. package/dist/chunks/chunk.PRRB6QHI.js +67 -0
  598. package/dist/chunks/chunk.PTZQ2Q4Y.js +1 -0
  599. package/dist/chunks/chunk.PVOR5CHG.js +1 -0
  600. package/dist/chunks/chunk.Q3BZF2QB.js +145 -0
  601. package/dist/chunks/chunk.QFTS2Y7T.js +1 -0
  602. package/dist/chunks/chunk.QJFDXLKO.js +55 -0
  603. package/dist/chunks/chunk.QJJS46NW.js +1 -0
  604. package/dist/chunks/chunk.QJZ7DNM2.js +1 -0
  605. package/dist/chunks/chunk.QMX7Q3SG.js +1 -0
  606. package/dist/chunks/chunk.QUULVCZU.js +1 -0
  607. package/dist/chunks/chunk.R3MHM2PW.js +1 -0
  608. package/dist/chunks/chunk.R6V7TXMZ.js +30 -0
  609. package/dist/chunks/chunk.RADCYW3L.js +1 -0
  610. package/dist/chunks/chunk.RINSXPBE.js +1 -0
  611. package/dist/chunks/chunk.RNECMNQO.js +1 -0
  612. package/dist/chunks/chunk.S4CD7KZC.js +1 -0
  613. package/dist/chunks/chunk.SPNO75Q4.js +514 -0
  614. package/dist/chunks/chunk.SUIFXJ7I.js +4 -0
  615. package/dist/chunks/chunk.TAQ6A3B7.js +2 -0
  616. package/dist/chunks/chunk.TCBHHMAF.js +30 -0
  617. package/dist/chunks/chunk.TEINAKZU.js +125 -0
  618. package/dist/chunks/chunk.TKX2MEYT.js +1 -0
  619. package/dist/chunks/chunk.TLCAPP5P.js +1 -0
  620. package/dist/chunks/chunk.TUFCG7OE.js +1 -0
  621. package/dist/chunks/chunk.TULLW62S.js +1 -0
  622. package/dist/chunks/chunk.UHN4YWEW.js +148 -0
  623. package/dist/chunks/chunk.URWWKHIG.js +1 -0
  624. package/dist/chunks/chunk.USS474XK.js +1 -0
  625. package/dist/chunks/chunk.UVOP5UMS.js +5 -0
  626. package/dist/chunks/chunk.UZ2Q2O6L.js +1 -0
  627. package/dist/chunks/chunk.VAIPQDUH.js +1 -0
  628. package/dist/chunks/chunk.VHRRMUNG.js +17 -0
  629. package/dist/chunks/chunk.VQRNQT7I.js +157 -0
  630. package/dist/chunks/chunk.VRF47KVU.js +1 -0
  631. package/dist/chunks/chunk.VXN7TL2I.js +1 -0
  632. package/dist/chunks/chunk.VXQXB23S.js +1 -0
  633. package/dist/chunks/chunk.VZDGZU7R.js +20 -0
  634. package/dist/chunks/chunk.WBGNKXCG.js +1 -0
  635. package/dist/chunks/chunk.WDWQLUEK.js +61 -0
  636. package/dist/chunks/chunk.WJDOBCXK.js +300 -0
  637. package/dist/chunks/chunk.WSBEZGR7.js +1 -0
  638. package/dist/chunks/chunk.WUCBUYBR.js +1 -0
  639. package/dist/chunks/chunk.WUGT5ECK.js +1 -0
  640. package/dist/chunks/chunk.X2TBH63H.js +9 -0
  641. package/dist/chunks/chunk.X6ESAQVU.js +27 -0
  642. package/dist/chunks/chunk.XLAJCD5W.js +1 -0
  643. package/dist/chunks/chunk.XTEJMVEU.js +41 -0
  644. package/dist/chunks/chunk.Y3DXVGV3.js +1 -0
  645. package/dist/chunks/chunk.YAVNESAE.js +1 -0
  646. package/dist/chunks/chunk.YPX3GEDB.js +1 -0
  647. package/dist/chunks/chunk.YWBN56UR.js +1 -0
  648. package/dist/chunks/chunk.YZVMLY7K.js +1 -0
  649. package/dist/chunks/chunk.ZGUIKRKT.js +65 -0
  650. package/dist/chunks/chunk.ZHCPQCAT.js +100 -0
  651. package/dist/chunks/chunk.ZIZYD6CK.js +1 -0
  652. package/dist/chunks/chunk.ZLHKXQMP.js +1198 -0
  653. package/dist/chunks/chunk.ZOWAJRXH.js +11 -0
  654. package/dist/chunks/chunk.ZQZFLK2U.js +1 -0
  655. package/dist/chunks/chunk.ZTPG767K.js +1 -0
  656. package/dist/chunks/chunk.ZYYOFHS4.js +121 -0
  657. package/dist/components/accordion/accordion.component.js +1 -1
  658. package/dist/components/accordion/accordion.js +1 -1
  659. package/dist/components/alert/alert.component.js +1 -1
  660. package/dist/components/alert/alert.js +1 -1
  661. package/dist/components/avatar/avatar.component.js +1 -1
  662. package/dist/components/avatar/avatar.js +1 -1
  663. package/dist/components/badge/badge.component.js +1 -1
  664. package/dist/components/badge/badge.js +1 -1
  665. package/dist/components/banner/banner.component.js +1 -1
  666. package/dist/components/banner/banner.js +1 -1
  667. package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
  668. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  669. package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
  670. package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
  671. package/dist/components/browse-variables/browse-variables.component.js +1 -1
  672. package/dist/components/browse-variables/browse-variables.js +1 -1
  673. package/dist/components/button/button.component.js +1 -1
  674. package/dist/components/button/button.js +1 -1
  675. package/dist/components/button-group/button-group.component.js +1 -1
  676. package/dist/components/button-group/button-group.js +1 -1
  677. package/dist/components/caption/caption.component.js +1 -1
  678. package/dist/components/caption/caption.js +1 -1
  679. package/dist/components/card/card.component.js +1 -1
  680. package/dist/components/card/card.js +1 -1
  681. package/dist/components/checkbox/checkbox.component.js +1 -1
  682. package/dist/components/checkbox/checkbox.js +1 -1
  683. package/dist/components/chip/chip.component.js +1 -1
  684. package/dist/components/chip/chip.js +1 -1
  685. package/dist/components/combobox/combobox.component.js +1 -1
  686. package/dist/components/combobox/combobox.js +1 -1
  687. package/dist/components/data-access/data-access.component.js +1 -1
  688. package/dist/components/data-access/data-access.js +1 -1
  689. package/dist/components/data-grid/data-grid.component.js +1 -1
  690. package/dist/components/data-grid/data-grid.js +1 -1
  691. package/dist/components/data-rods/data-rods.component.js +1 -1
  692. package/dist/components/data-rods/data-rods.js +1 -1
  693. package/dist/components/data-subsetter/data-subsetter.component.d.ts +1 -0
  694. package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
  695. package/dist/components/data-subsetter/data-subsetter.js +1 -1
  696. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  697. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
  698. package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
  699. package/dist/components/date-picker/date-picker.component.js +1 -1
  700. package/dist/components/date-picker/date-picker.js +1 -1
  701. package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
  702. package/dist/components/date-range-slider/date-range-slider.js +1 -1
  703. package/dist/components/dialog/dialog.component.js +1 -1
  704. package/dist/components/dialog/dialog.js +1 -1
  705. package/dist/components/divider/divider.component.js +1 -1
  706. package/dist/components/divider/divider.js +1 -1
  707. package/dist/components/dropdown/dropdown.component.js +1 -1
  708. package/dist/components/dropdown/dropdown.js +1 -1
  709. package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
  710. package/dist/components/earthdata-login/earthdata-login.js +1 -1
  711. package/dist/components/file-upload/file-upload.component.js +1 -1
  712. package/dist/components/file-upload/file-upload.js +1 -1
  713. package/dist/components/harmony-history/harmony-history.component.js +1 -1
  714. package/dist/components/harmony-history/harmony-history.js +1 -1
  715. package/dist/components/icon/icon.component.js +1 -1
  716. package/dist/components/icon/icon.js +1 -1
  717. package/dist/components/icon/library.js +1 -1
  718. package/dist/components/input/input.component.js +1 -1
  719. package/dist/components/input/input.js +1 -1
  720. package/dist/components/loader/loader.component.js +1 -1
  721. package/dist/components/loader/loader.js +1 -1
  722. package/dist/components/login/login.component.js +1 -1
  723. package/dist/components/login/login.js +1 -1
  724. package/dist/components/map/layers/base.layer.d.ts +7 -0
  725. package/dist/components/map/layers/base.layer.js +1 -0
  726. package/dist/components/map/layers/borders.layer.d.ts +6 -0
  727. package/dist/components/map/layers/borders.layer.js +1 -0
  728. package/dist/components/map/layers/bordersStyleConfig.d.ts +29 -0
  729. package/dist/components/map/layers/bordersStyleConfig.js +1 -0
  730. package/dist/components/map/layers/labels.layer.d.ts +6 -0
  731. package/dist/components/map/layers/labels.layer.js +1 -0
  732. package/dist/components/map/layers/labelsStyleConfig.d.ts +2337 -0
  733. package/dist/components/map/layers/labelsStyleConfig.js +1 -0
  734. package/dist/components/map/map.component.d.ts +42 -0
  735. package/dist/components/map/map.component.js +1 -1
  736. package/dist/components/map/map.js +1 -1
  737. package/dist/components/map/map.service.d.ts +50 -1
  738. package/dist/components/map/map.service.js +1 -1
  739. package/dist/components/map/map.styles.js +1 -1
  740. package/dist/components/menu/menu.component.js +1 -1
  741. package/dist/components/menu/menu.js +1 -1
  742. package/dist/components/menu-item/menu-item.component.js +1 -1
  743. package/dist/components/menu-item/menu-item.js +1 -1
  744. package/dist/components/option/option.component.js +1 -1
  745. package/dist/components/option/option.js +1 -1
  746. package/dist/components/pagination/pagination.component.js +1 -1
  747. package/dist/components/pagination/pagination.js +1 -1
  748. package/dist/components/plot/plot.component.js +1 -1
  749. package/dist/components/plot/plot.js +1 -1
  750. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  751. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  752. package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
  753. package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
  754. package/dist/components/popup/popup.component.js +1 -1
  755. package/dist/components/popup/popup.js +1 -1
  756. package/dist/components/progress-bar/progress-bar.component.js +1 -1
  757. package/dist/components/progress-bar/progress-bar.js +1 -1
  758. package/dist/components/radio/radio.component.js +1 -1
  759. package/dist/components/radio/radio.js +1 -1
  760. package/dist/components/radio-group/radio-group.component.js +1 -1
  761. package/dist/components/radio-group/radio-group.js +1 -1
  762. package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
  763. package/dist/components/scroll-hint/scroll-hint.js +1 -1
  764. package/dist/components/select/select.component.js +1 -1
  765. package/dist/components/select/select.js +1 -1
  766. package/dist/components/site-header/site-header.component.js +1 -1
  767. package/dist/components/site-header/site-header.js +1 -1
  768. package/dist/components/site-navigation/site-navigation.component.js +1 -1
  769. package/dist/components/site-navigation/site-navigation.js +1 -1
  770. package/dist/components/skeleton/skeleton.component.js +1 -1
  771. package/dist/components/skeleton/skeleton.js +1 -1
  772. package/dist/components/slider/slider.component.js +1 -1
  773. package/dist/components/slider/slider.js +1 -1
  774. package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
  775. package/dist/components/spatial-picker/spatial-picker.js +1 -1
  776. package/dist/components/status-indicator/status-indicator.component.js +1 -1
  777. package/dist/components/status-indicator/status-indicator.js +1 -1
  778. package/dist/components/stepper/stepper.component.js +1 -1
  779. package/dist/components/stepper/stepper.js +1 -1
  780. package/dist/components/stepper-step/stepper-step.component.js +1 -1
  781. package/dist/components/stepper-step/stepper-step.js +1 -1
  782. package/dist/components/tab/tab.component.js +1 -1
  783. package/dist/components/tab/tab.js +1 -1
  784. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  785. package/dist/components/tab-panel/tab-panel.js +1 -1
  786. package/dist/components/tabs/tabs.component.js +1 -1
  787. package/dist/components/tabs/tabs.js +1 -1
  788. package/dist/components/tag/tag.component.js +1 -1
  789. package/dist/components/tag/tag.js +1 -1
  790. package/dist/components/textarea/textarea.component.js +1 -1
  791. package/dist/components/textarea/textarea.js +1 -1
  792. package/dist/components/time-average-map/time-average-map.component.d.ts +12 -8
  793. package/dist/components/time-average-map/time-average-map.component.js +1 -1
  794. package/dist/components/time-average-map/time-average-map.controller.d.ts +5 -0
  795. package/dist/components/time-average-map/time-average-map.controller.js +1 -1
  796. package/dist/components/time-average-map/time-average-map.js +1 -1
  797. package/dist/components/time-average-map/time-average-map.styles.js +1 -1
  798. package/dist/components/time-series/time-series.component.js +1 -1
  799. package/dist/components/time-series/time-series.controller.d.ts +5 -0
  800. package/dist/components/time-series/time-series.controller.js +1 -1
  801. package/dist/components/time-series/time-series.js +1 -1
  802. package/dist/components/toast/toast.component.js +1 -1
  803. package/dist/components/toast/toast.js +1 -1
  804. package/dist/components/toggle/toggle.component.js +1 -1
  805. package/dist/components/toggle/toggle.js +1 -1
  806. package/dist/components/tooltip/tooltip.component.js +1 -1
  807. package/dist/components/tooltip/tooltip.js +1 -1
  808. package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
  809. package/dist/components/variable-combobox/variable-combobox.js +1 -1
  810. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
  811. package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
  812. package/dist/custom-elements.json +5947 -5851
  813. package/dist/events/events.d.ts +1 -1
  814. package/dist/events/terra-map-change.d.ts +6 -0
  815. package/dist/react/accordion/index.js +1 -1
  816. package/dist/react/alert/index.js +1 -1
  817. package/dist/react/avatar/index.js +1 -1
  818. package/dist/react/badge/index.js +1 -1
  819. package/dist/react/banner/index.js +1 -1
  820. package/dist/react/breadcrumb/index.js +1 -1
  821. package/dist/react/breadcrumbs/index.js +1 -1
  822. package/dist/react/browse-variables/index.js +1 -1
  823. package/dist/react/button/index.js +1 -1
  824. package/dist/react/button-group/index.js +1 -1
  825. package/dist/react/caption/index.js +1 -1
  826. package/dist/react/card/index.js +1 -1
  827. package/dist/react/checkbox/index.js +1 -1
  828. package/dist/react/chip/index.js +1 -1
  829. package/dist/react/combobox/index.js +1 -1
  830. package/dist/react/data-access/index.js +1 -1
  831. package/dist/react/data-grid/index.js +1 -1
  832. package/dist/react/data-rods/index.js +1 -1
  833. package/dist/react/data-subsetter/index.js +1 -1
  834. package/dist/react/data-subsetter-history/index.js +1 -1
  835. package/dist/react/date-picker/index.js +1 -1
  836. package/dist/react/date-range-slider/index.js +1 -1
  837. package/dist/react/dialog/index.js +1 -1
  838. package/dist/react/divider/index.js +1 -1
  839. package/dist/react/dropdown/index.js +1 -1
  840. package/dist/react/earthdata-login/index.js +1 -1
  841. package/dist/react/file-upload/index.js +1 -1
  842. package/dist/react/harmony-history/index.js +1 -1
  843. package/dist/react/icon/index.js +1 -1
  844. package/dist/react/index.d.ts +10 -10
  845. package/dist/react/index.js +1 -1
  846. package/dist/react/input/index.js +1 -1
  847. package/dist/react/loader/index.js +1 -1
  848. package/dist/react/login/index.js +1 -1
  849. package/dist/react/map/index.js +1 -1
  850. package/dist/react/menu/index.js +1 -1
  851. package/dist/react/menu-item/index.js +1 -1
  852. package/dist/react/option/index.js +1 -1
  853. package/dist/react/pagination/index.js +1 -1
  854. package/dist/react/plot/index.js +1 -1
  855. package/dist/react/plot-toolbar/index.js +1 -1
  856. package/dist/react/popup/index.js +1 -1
  857. package/dist/react/progress-bar/index.js +1 -1
  858. package/dist/react/radio/index.js +1 -1
  859. package/dist/react/radio-group/index.js +1 -1
  860. package/dist/react/scroll-hint/index.js +1 -1
  861. package/dist/react/select/index.js +1 -1
  862. package/dist/react/site-header/index.js +1 -1
  863. package/dist/react/site-navigation/index.js +1 -1
  864. package/dist/react/skeleton/index.js +1 -1
  865. package/dist/react/slider/index.js +1 -1
  866. package/dist/react/spatial-picker/index.js +1 -1
  867. package/dist/react/status-indicator/index.js +1 -1
  868. package/dist/react/stepper/index.js +1 -1
  869. package/dist/react/stepper-step/index.js +1 -1
  870. package/dist/react/tab/index.js +1 -1
  871. package/dist/react/tab-panel/index.js +1 -1
  872. package/dist/react/tabs/index.js +1 -1
  873. package/dist/react/tag/index.js +1 -1
  874. package/dist/react/textarea/index.js +1 -1
  875. package/dist/react/time-average-map/index.js +1 -1
  876. package/dist/react/time-series/index.js +1 -1
  877. package/dist/react/toast/index.js +1 -1
  878. package/dist/react/toggle/index.js +1 -1
  879. package/dist/react/tooltip/index.js +1 -1
  880. package/dist/react/variable-combobox/index.js +1 -1
  881. package/dist/react/variable-keyword-search/index.js +1 -1
  882. package/dist/terra-ui-components.js +1 -1
  883. package/dist/terra_ui_components-0.0.200-py3-none-any.whl +0 -0
  884. package/dist/terra_ui_components-0.0.200.tar.gz +0 -0
  885. package/dist/types/vue/index.d.ts +586 -564
  886. package/dist/utilities/icon-library.js +1 -1
  887. package/dist/vscode.html-custom-data.json +356 -350
  888. package/dist/web-types.json +1096 -1082
  889. package/package.json +2 -1
  890. package/cdn/chunks/GeoTIFF.NRJSPXBW.js +0 -21958
  891. package/cdn/chunks/chunk.25SASHHO.js +0 -60
  892. package/cdn/chunks/chunk.27NEXEZY.js +0 -19
  893. package/cdn/chunks/chunk.2FFK57ZH.js +0 -1264
  894. package/cdn/chunks/chunk.2FGK3J7F.js +0 -29
  895. package/cdn/chunks/chunk.2FSQRD2X.js +0 -32
  896. package/cdn/chunks/chunk.2P5VNQ3Q.js +0 -36
  897. package/cdn/chunks/chunk.34EBDDZ2.js +0 -19
  898. package/cdn/chunks/chunk.3AK225D4.js +0 -35
  899. package/cdn/chunks/chunk.3DB6PNAX.js +0 -36
  900. package/cdn/chunks/chunk.3IYEHDGU.js +0 -19
  901. package/cdn/chunks/chunk.3KHEMQPI.js +0 -19
  902. package/cdn/chunks/chunk.3Q2LDNOY.js +0 -276
  903. package/cdn/chunks/chunk.3RCH7UZU.js +0 -19
  904. package/cdn/chunks/chunk.3UIUIYCO.js +0 -32
  905. package/cdn/chunks/chunk.3VQHJIOH.js +0 -277
  906. package/cdn/chunks/chunk.4FFCJHOF.js +0 -29
  907. package/cdn/chunks/chunk.4GDEK6CA.js +0 -1975
  908. package/cdn/chunks/chunk.4KGQA5PY.js +0 -657
  909. package/cdn/chunks/chunk.4OGJ2ZSG.js +0 -195
  910. package/cdn/chunks/chunk.4VSXBUU6.js +0 -377
  911. package/cdn/chunks/chunk.4Z7MSJL7.js +0 -19
  912. package/cdn/chunks/chunk.53FLKCIC.js +0 -19
  913. package/cdn/chunks/chunk.5ASO3OUZ.js +0 -138
  914. package/cdn/chunks/chunk.5D655ZE7.js +0 -19
  915. package/cdn/chunks/chunk.5ETTKUDG.js +0 -188
  916. package/cdn/chunks/chunk.5IQUQXEQ.js +0 -19
  917. package/cdn/chunks/chunk.5LXVG2NR.js +0 -2713
  918. package/cdn/chunks/chunk.5SWFG3T6.js +0 -151
  919. package/cdn/chunks/chunk.673RMALO.js +0 -104
  920. package/cdn/chunks/chunk.6EVMKXR5.js +0 -32
  921. package/cdn/chunks/chunk.6HUTR57W.js +0 -19
  922. package/cdn/chunks/chunk.6JSHABDB.js +0 -32
  923. package/cdn/chunks/chunk.763TTBY7.js +0 -93
  924. package/cdn/chunks/chunk.763WHPEC.js +0 -132
  925. package/cdn/chunks/chunk.7BKQAOA6.js +0 -904
  926. package/cdn/chunks/chunk.7EKX7V3C.js +0 -32
  927. package/cdn/chunks/chunk.7T7SZ2MG.js +0 -224
  928. package/cdn/chunks/chunk.7UOLOECG.js +0 -19
  929. package/cdn/chunks/chunk.7XXKTRE2.js +0 -62
  930. package/cdn/chunks/chunk.AAQP4ZRG.js +0 -36
  931. package/cdn/chunks/chunk.ACM6IUFA.js +0 -29
  932. package/cdn/chunks/chunk.ACQRX6KA.js +0 -2546
  933. package/cdn/chunks/chunk.AE7GQ2OH.js +0 -162
  934. package/cdn/chunks/chunk.AOAMCCLA.js +0 -230
  935. package/cdn/chunks/chunk.AOCKA5FE.js +0 -19
  936. package/cdn/chunks/chunk.AQ5UEM6S.js +0 -136
  937. package/cdn/chunks/chunk.ATCMXTT6.js +0 -155
  938. package/cdn/chunks/chunk.AXUUEQIQ.js +0 -19
  939. package/cdn/chunks/chunk.BDDP57YT.js +0 -616
  940. package/cdn/chunks/chunk.BIO3CT7R.js +0 -19
  941. package/cdn/chunks/chunk.BX4XMEDL.js +0 -32
  942. package/cdn/chunks/chunk.C4Q3HQT3.js +0 -19
  943. package/cdn/chunks/chunk.CCVZBOJU.js +0 -19
  944. package/cdn/chunks/chunk.CFWEN4DK.js +0 -19
  945. package/cdn/chunks/chunk.CKRCCLC4.js +0 -1197
  946. package/cdn/chunks/chunk.COOTH73Y.js +0 -158
  947. package/cdn/chunks/chunk.CQQ7A6TB.js +0 -19
  948. package/cdn/chunks/chunk.CSSDZBIW.js +0 -29
  949. package/cdn/chunks/chunk.CVCOATX4.js +0 -29
  950. package/cdn/chunks/chunk.CYHEIQK4.js +0 -19
  951. package/cdn/chunks/chunk.D5MA5XD2.js +0 -19
  952. package/cdn/chunks/chunk.D65VLQ5F.js +0 -925
  953. package/cdn/chunks/chunk.DDAV4MHH.js +0 -33
  954. package/cdn/chunks/chunk.DTCGB6MX.js +0 -29
  955. package/cdn/chunks/chunk.DVOT5I62.js +0 -266
  956. package/cdn/chunks/chunk.E23DSFKG.js +0 -19
  957. package/cdn/chunks/chunk.E3AMPHJV.js +0 -29
  958. package/cdn/chunks/chunk.ED45RVQ7.js +0 -134
  959. package/cdn/chunks/chunk.EN2T3RPZ.js +0 -19
  960. package/cdn/chunks/chunk.EQ6SQSU4.js +0 -113
  961. package/cdn/chunks/chunk.F3KZAEMI.js +0 -86
  962. package/cdn/chunks/chunk.FAHOVJJQ.js +0 -19
  963. package/cdn/chunks/chunk.FETH5QYA.js +0 -92
  964. package/cdn/chunks/chunk.FGO5SZJJ.js +0 -29
  965. package/cdn/chunks/chunk.FOWCYICQ.js +0 -19
  966. package/cdn/chunks/chunk.FP46ENK2.js +0 -106
  967. package/cdn/chunks/chunk.FQDDBEJS.js +0 -478
  968. package/cdn/chunks/chunk.FRXGVFPM.js +0 -32
  969. package/cdn/chunks/chunk.G2JFFI24.js +0 -19
  970. package/cdn/chunks/chunk.G6U6RXJS.js +0 -82
  971. package/cdn/chunks/chunk.GB6CFGNH.js +0 -29
  972. package/cdn/chunks/chunk.GGTQYGC5.js +0 -458
  973. package/cdn/chunks/chunk.GJEUR34A.js +0 -32
  974. package/cdn/chunks/chunk.GL4VHOZ6.js +0 -631
  975. package/cdn/chunks/chunk.GMM3EOD6.js +0 -9743
  976. package/cdn/chunks/chunk.GN3JMZRR.js +0 -29
  977. package/cdn/chunks/chunk.GQBAO7NT.js +0 -29
  978. package/cdn/chunks/chunk.GXV3SI3E.js +0 -310
  979. package/cdn/chunks/chunk.H4E67GBN.js +0 -32
  980. package/cdn/chunks/chunk.HP5JGXDX.js +0 -19
  981. package/cdn/chunks/chunk.HPESON7W.js +0 -443
  982. package/cdn/chunks/chunk.HPFSUZ5Z.js +0 -294
  983. package/cdn/chunks/chunk.HTRP2HMU.js +0 -19
  984. package/cdn/chunks/chunk.IOPMJDF5.js +0 -19
  985. package/cdn/chunks/chunk.IPOUZRQQ.js +0 -33
  986. package/cdn/chunks/chunk.J2MEB73Q.js +0 -19
  987. package/cdn/chunks/chunk.J2YY5O2V.js +0 -543
  988. package/cdn/chunks/chunk.J534EJQR.js +0 -19
  989. package/cdn/chunks/chunk.J5YZLQZG.js +0 -19
  990. package/cdn/chunks/chunk.JALTEGNG.js +0 -19
  991. package/cdn/chunks/chunk.JERVD5PR.js +0 -30
  992. package/cdn/chunks/chunk.JINQBHNW.js +0 -60
  993. package/cdn/chunks/chunk.JJOHTWOC.js +0 -36
  994. package/cdn/chunks/chunk.JZPB2P2H.js +0 -34
  995. package/cdn/chunks/chunk.JZXYV4F3.js +0 -19
  996. package/cdn/chunks/chunk.KDMCTX4V.js +0 -19
  997. package/cdn/chunks/chunk.KJ2GVCPZ.js +0 -29
  998. package/cdn/chunks/chunk.KJUPXC55.js +0 -41
  999. package/cdn/chunks/chunk.KLHRICOA.js +0 -19
  1000. package/cdn/chunks/chunk.LBDLTKYA.js +0 -34
  1001. package/cdn/chunks/chunk.LBTS6K2C.js +0 -19
  1002. package/cdn/chunks/chunk.LJNSIKDU.js +0 -74
  1003. package/cdn/chunks/chunk.LMEJH2BQ.js +0 -234
  1004. package/cdn/chunks/chunk.LOTR636L.js +0 -19
  1005. package/cdn/chunks/chunk.LP56SNNW.js +0 -19
  1006. package/cdn/chunks/chunk.LQUILBH4.js +0 -19
  1007. package/cdn/chunks/chunk.LRWHUN6Q.js +0 -19
  1008. package/cdn/chunks/chunk.LSLLV44U.js +0 -35
  1009. package/cdn/chunks/chunk.LWN6Z2MT.js +0 -610
  1010. package/cdn/chunks/chunk.M67NQHER.js +0 -259
  1011. package/cdn/chunks/chunk.MVC3GRDP.js +0 -524
  1012. package/cdn/chunks/chunk.MZPYNFAK.js +0 -19
  1013. package/cdn/chunks/chunk.NAYEMU6V.js +0 -594
  1014. package/cdn/chunks/chunk.NBV7BO7K.js +0 -35
  1015. package/cdn/chunks/chunk.NBVGG52Y.js +0 -19
  1016. package/cdn/chunks/chunk.NCBYWOID.js +0 -33
  1017. package/cdn/chunks/chunk.NEXXYMR2.js +0 -29
  1018. package/cdn/chunks/chunk.NGS4A7JM.js +0 -960
  1019. package/cdn/chunks/chunk.NPWYBDA7.js +0 -19
  1020. package/cdn/chunks/chunk.O4C2GKGK.js +0 -357
  1021. package/cdn/chunks/chunk.O7LDEO3Y.js +0 -36
  1022. package/cdn/chunks/chunk.OKZX2FLN.js +0 -190
  1023. package/cdn/chunks/chunk.OMDMKCSO.js +0 -68
  1024. package/cdn/chunks/chunk.OMV3UFK5.js +0 -19
  1025. package/cdn/chunks/chunk.OUPRETB6.js +0 -537
  1026. package/cdn/chunks/chunk.OWEAZGNG.js +0 -29
  1027. package/cdn/chunks/chunk.P3IZXZD7.js +0 -19
  1028. package/cdn/chunks/chunk.P4PYSONI.js +0 -1985
  1029. package/cdn/chunks/chunk.P5L2C7D6.js +0 -33
  1030. package/cdn/chunks/chunk.PAFDTAPQ.js +0 -71
  1031. package/cdn/chunks/chunk.PFTM3PHG.js +0 -110
  1032. package/cdn/chunks/chunk.PZT47FKK.js +0 -19
  1033. package/cdn/chunks/chunk.Q7SENWN7.js +0 -32
  1034. package/cdn/chunks/chunk.QAEFL5ZA.js +0 -29
  1035. package/cdn/chunks/chunk.QJUVPP3K.js +0 -19
  1036. package/cdn/chunks/chunk.QLB2HRLZ.js +0 -19
  1037. package/cdn/chunks/chunk.QWF3B66L.js +0 -29
  1038. package/cdn/chunks/chunk.QXZWFB45.js +0 -19
  1039. package/cdn/chunks/chunk.QZU24DVR.js +0 -47
  1040. package/cdn/chunks/chunk.R3DMTQZ7.js +0 -99
  1041. package/cdn/chunks/chunk.R77CTO6K.js +0 -32
  1042. package/cdn/chunks/chunk.R7LMVJAZ.js +0 -83
  1043. package/cdn/chunks/chunk.RCOD7FFJ.js +0 -278
  1044. package/cdn/chunks/chunk.RKS4PEGG.js +0 -330
  1045. package/cdn/chunks/chunk.RRPDBZZG.js +0 -19
  1046. package/cdn/chunks/chunk.RT45YBDH.js +0 -19
  1047. package/cdn/chunks/chunk.S6FUVU5G.js +0 -19
  1048. package/cdn/chunks/chunk.SKBS4BJN.js +0 -24561
  1049. package/cdn/chunks/chunk.SPWQ65KD.js +0 -29
  1050. package/cdn/chunks/chunk.SR3N2FYU.js +0 -78
  1051. package/cdn/chunks/chunk.STHBAAN2.js +0 -538
  1052. package/cdn/chunks/chunk.SX3JRN4T.js +0 -599
  1053. package/cdn/chunks/chunk.TDMPHDKJ.js +0 -19
  1054. package/cdn/chunks/chunk.TFXTRVKP.js +0 -29
  1055. package/cdn/chunks/chunk.TKY6BLP4.js +0 -19
  1056. package/cdn/chunks/chunk.TUOTP4CD.js +0 -19
  1057. package/cdn/chunks/chunk.UDHCKILF.js +0 -29
  1058. package/cdn/chunks/chunk.UI656UYI.js +0 -56075
  1059. package/cdn/chunks/chunk.UQSFYHDF.js +0 -29
  1060. package/cdn/chunks/chunk.UXFIJ2ZX.js +0 -293
  1061. package/cdn/chunks/chunk.UYNLPW2B.js +0 -298
  1062. package/cdn/chunks/chunk.VH3CFXFW.js +0 -39
  1063. package/cdn/chunks/chunk.VIBJ6GTB.js +0 -231
  1064. package/cdn/chunks/chunk.VU5YCBI7.js +0 -29
  1065. package/cdn/chunks/chunk.VZZ5VWGT.js +0 -515
  1066. package/cdn/chunks/chunk.WFSXAREE.js +0 -51
  1067. package/cdn/chunks/chunk.WIYWTJBS.js +0 -29
  1068. package/cdn/chunks/chunk.WJ6P74RX.js +0 -672
  1069. package/cdn/chunks/chunk.WOGYXGQJ.js +0 -29
  1070. package/cdn/chunks/chunk.WRH6KGLB.js +0 -32
  1071. package/cdn/chunks/chunk.WVFK7SEA.js +0 -19
  1072. package/cdn/chunks/chunk.WY7Z4HZC.js +0 -19
  1073. package/cdn/chunks/chunk.WZWTQD7Z.js +0 -29
  1074. package/cdn/chunks/chunk.X2VWBUE3.js +0 -19
  1075. package/cdn/chunks/chunk.X4BGAKNR.js +0 -123
  1076. package/cdn/chunks/chunk.X4HGAHKQ.js +0 -35
  1077. package/cdn/chunks/chunk.X7YHUN2A.js +0 -19
  1078. package/cdn/chunks/chunk.XA72A6DU.js +0 -19
  1079. package/cdn/chunks/chunk.XC7Z44CM.js +0 -19
  1080. package/cdn/chunks/chunk.XFCD7OFY.js +0 -33
  1081. package/cdn/chunks/chunk.XLQG5E2P.js +0 -37
  1082. package/cdn/chunks/chunk.XTGUW4UW.js +0 -35
  1083. package/cdn/chunks/chunk.XUTJ666V.js +0 -19
  1084. package/cdn/chunks/chunk.XWRI2TBI.js +0 -19
  1085. package/cdn/chunks/chunk.YGLWUTM5.js +0 -29
  1086. package/cdn/chunks/chunk.YNXKSK2K.js +0 -29
  1087. package/cdn/chunks/chunk.YSK7YOI2.js +0 -359
  1088. package/cdn/chunks/chunk.Z2ZM5DA2.js +0 -37
  1089. package/cdn/chunks/chunk.Z7HEB67J.js +0 -29
  1090. package/cdn/chunks/chunk.ZEFZMBN5.js +0 -29
  1091. package/cdn/chunks/chunk.ZKIDCWMN.js +0 -32
  1092. package/cdn/chunks/chunk.ZLKXOXOU.js +0 -49
  1093. package/cdn/chunks/chunk.ZMRWSDKT.js +0 -29
  1094. package/cdn/chunks/chunk.ZQFRHM65.js +0 -32
  1095. package/cdn/chunks/chunk.ZYWUJLL7.js +0 -29
  1096. package/cdn/chunks/lerc.4U2WA6NV.js +0 -2097
  1097. package/dist/chunks/chunk.24SX4FMU.js +0 -1
  1098. package/dist/chunks/chunk.2GXQG2C6.js +0 -1
  1099. package/dist/chunks/chunk.2XKK72BX.js +0 -1
  1100. package/dist/chunks/chunk.2XPGS7YP.js +0 -48
  1101. package/dist/chunks/chunk.2ZYNR23M.js +0 -1
  1102. package/dist/chunks/chunk.36HLLZYQ.js +0 -1
  1103. package/dist/chunks/chunk.3CU7KNNE.js +0 -1
  1104. package/dist/chunks/chunk.3ITVVL3P.js +0 -1
  1105. package/dist/chunks/chunk.3W34LXSN.js +0 -1
  1106. package/dist/chunks/chunk.3Y6WWRX4.js +0 -1
  1107. package/dist/chunks/chunk.4GQ4J4RQ.js +0 -47
  1108. package/dist/chunks/chunk.4QD3ZYJY.js +0 -24
  1109. package/dist/chunks/chunk.4R2LB5BK.js +0 -1
  1110. package/dist/chunks/chunk.4UFR7QMC.js +0 -1
  1111. package/dist/chunks/chunk.52ODFIC3.js +0 -1
  1112. package/dist/chunks/chunk.55EGVUKA.js +0 -8
  1113. package/dist/chunks/chunk.5FJJ7CKA.js +0 -1
  1114. package/dist/chunks/chunk.5GXF4QPJ.js +0 -1
  1115. package/dist/chunks/chunk.5HMYUJA4.js +0 -11
  1116. package/dist/chunks/chunk.5TC6SHQD.js +0 -1
  1117. package/dist/chunks/chunk.5Y2ANPPB.js +0 -121
  1118. package/dist/chunks/chunk.64BYIJHY.js +0 -1
  1119. package/dist/chunks/chunk.6ETTLWXK.js +0 -1
  1120. package/dist/chunks/chunk.6FH4FIIS.js +0 -157
  1121. package/dist/chunks/chunk.6NISHRMO.js +0 -1
  1122. package/dist/chunks/chunk.6OIEAUAO.js +0 -9
  1123. package/dist/chunks/chunk.6SIPIJUK.js +0 -19
  1124. package/dist/chunks/chunk.6XQYLPLE.js +0 -1
  1125. package/dist/chunks/chunk.6ZY5ELEO.js +0 -1
  1126. package/dist/chunks/chunk.73NL7DL3.js +0 -1
  1127. package/dist/chunks/chunk.75UA5KEJ.js +0 -1
  1128. package/dist/chunks/chunk.7L35TYU5.js +0 -1
  1129. package/dist/chunks/chunk.7NFE6ZZV.js +0 -1
  1130. package/dist/chunks/chunk.7SDRQM32.js +0 -1
  1131. package/dist/chunks/chunk.7YCJNGUN.js +0 -148
  1132. package/dist/chunks/chunk.A4MX5WMW.js +0 -43
  1133. package/dist/chunks/chunk.A673HJFE.js +0 -1
  1134. package/dist/chunks/chunk.AFIUQX3S.js +0 -20
  1135. package/dist/chunks/chunk.AGRACYBL.js +0 -1
  1136. package/dist/chunks/chunk.AOIZBSP4.js +0 -14
  1137. package/dist/chunks/chunk.AXF5M76D.js +0 -35
  1138. package/dist/chunks/chunk.BOTQGLFI.js +0 -1190
  1139. package/dist/chunks/chunk.BQC5WG2F.js +0 -1
  1140. package/dist/chunks/chunk.BS64IZTS.js +0 -1
  1141. package/dist/chunks/chunk.BXVCOWUZ.js +0 -122
  1142. package/dist/chunks/chunk.BYA3HDVE.js +0 -154
  1143. package/dist/chunks/chunk.C3X67ZLF.js +0 -1
  1144. package/dist/chunks/chunk.CBBP6HID.js +0 -1
  1145. package/dist/chunks/chunk.CFCILO2Y.js +0 -1
  1146. package/dist/chunks/chunk.CLLARK3K.js +0 -27
  1147. package/dist/chunks/chunk.CNWVGJYN.js +0 -127
  1148. package/dist/chunks/chunk.CO4V5XB7.js +0 -1
  1149. package/dist/chunks/chunk.CXDMJZ4A.js +0 -1
  1150. package/dist/chunks/chunk.D2RDQWCD.js +0 -1
  1151. package/dist/chunks/chunk.DA3J4VXR.js +0 -145
  1152. package/dist/chunks/chunk.DBNR7FR7.js +0 -1
  1153. package/dist/chunks/chunk.DCBVJQPK.js +0 -1
  1154. package/dist/chunks/chunk.DCM3VMX3.js +0 -1
  1155. package/dist/chunks/chunk.DD4HJH47.js +0 -6
  1156. package/dist/chunks/chunk.DDWDUBXM.js +0 -30
  1157. package/dist/chunks/chunk.DMWYZA3Y.js +0 -1
  1158. package/dist/chunks/chunk.DPTTMTMJ.js +0 -1
  1159. package/dist/chunks/chunk.DXEDGBWD.js +0 -11
  1160. package/dist/chunks/chunk.EJZK2KGV.js +0 -1
  1161. package/dist/chunks/chunk.ELNLFTBC.js +0 -8
  1162. package/dist/chunks/chunk.F3CMUMHO.js +0 -1
  1163. package/dist/chunks/chunk.F6QDIBZ2.js +0 -1
  1164. package/dist/chunks/chunk.FB7XCQPI.js +0 -1
  1165. package/dist/chunks/chunk.FC7OUKJM.js +0 -1
  1166. package/dist/chunks/chunk.FCBH4XA6.js +0 -20
  1167. package/dist/chunks/chunk.FDOGNNGJ.js +0 -1
  1168. package/dist/chunks/chunk.FJYHLRCI.js +0 -1
  1169. package/dist/chunks/chunk.FKPKXR4K.js +0 -1
  1170. package/dist/chunks/chunk.FQUY53QY.js +0 -1
  1171. package/dist/chunks/chunk.FR7BDEKN.js +0 -1
  1172. package/dist/chunks/chunk.FVAIGJMJ.js +0 -1
  1173. package/dist/chunks/chunk.G3QY2X2J.js +0 -1
  1174. package/dist/chunks/chunk.GCRALU2G.js +0 -30
  1175. package/dist/chunks/chunk.GJA52HAR.js +0 -1
  1176. package/dist/chunks/chunk.GJBPFJ2K.js +0 -1
  1177. package/dist/chunks/chunk.GVJLQQRL.js +0 -55
  1178. package/dist/chunks/chunk.H5C34R7T.js +0 -1
  1179. package/dist/chunks/chunk.H633XPHC.js +0 -1
  1180. package/dist/chunks/chunk.HIK6ESFZ.js +0 -1
  1181. package/dist/chunks/chunk.HVOJ5I2Q.js +0 -1
  1182. package/dist/chunks/chunk.I3MPRNEW.js +0 -1
  1183. package/dist/chunks/chunk.IIFFGPR4.js +0 -1
  1184. package/dist/chunks/chunk.IQHS4SSB.js +0 -22
  1185. package/dist/chunks/chunk.IRXHB5LN.js +0 -1
  1186. package/dist/chunks/chunk.IUTF6RLJ.js +0 -1
  1187. package/dist/chunks/chunk.J4OEX4V7.js +0 -1
  1188. package/dist/chunks/chunk.J54CLY55.js +0 -176
  1189. package/dist/chunks/chunk.JJ2RKYZX.js +0 -1
  1190. package/dist/chunks/chunk.JKHYEFZ7.js +0 -67
  1191. package/dist/chunks/chunk.JLLYBW5K.js +0 -1
  1192. package/dist/chunks/chunk.JNEOJDFH.js +0 -1
  1193. package/dist/chunks/chunk.JNGVL46L.js +0 -1
  1194. package/dist/chunks/chunk.JPRQO25T.js +0 -1
  1195. package/dist/chunks/chunk.JYCCPLLK.js +0 -1
  1196. package/dist/chunks/chunk.KTR74BUH.js +0 -9
  1197. package/dist/chunks/chunk.KX3QK6AG.js +0 -1
  1198. package/dist/chunks/chunk.LAV7B5HQ.js +0 -75
  1199. package/dist/chunks/chunk.LCVY7UI3.js +0 -1
  1200. package/dist/chunks/chunk.LFSREVFB.js +0 -1
  1201. package/dist/chunks/chunk.LIL2OD6B.js +0 -1
  1202. package/dist/chunks/chunk.LK4BRRBC.js +0 -1
  1203. package/dist/chunks/chunk.LMSZJF64.js +0 -1
  1204. package/dist/chunks/chunk.LNU5A3P4.js +0 -1
  1205. package/dist/chunks/chunk.LX4TKJE4.js +0 -1
  1206. package/dist/chunks/chunk.MCGELDAA.js +0 -300
  1207. package/dist/chunks/chunk.MITQ2OXL.js +0 -1
  1208. package/dist/chunks/chunk.MJR76YOH.js +0 -1
  1209. package/dist/chunks/chunk.MLKC2NGO.js +0 -23
  1210. package/dist/chunks/chunk.MPNC775E.js +0 -1
  1211. package/dist/chunks/chunk.MWFVVSXA.js +0 -41
  1212. package/dist/chunks/chunk.NLRMSHFU.js +0 -26
  1213. package/dist/chunks/chunk.NOEBPPRY.js +0 -1
  1214. package/dist/chunks/chunk.NOZEVQR4.js +0 -1
  1215. package/dist/chunks/chunk.NX7IFT72.js +0 -1
  1216. package/dist/chunks/chunk.OGDWQJZD.js +0 -280
  1217. package/dist/chunks/chunk.OIJKFVKH.js +0 -80
  1218. package/dist/chunks/chunk.OPCENTDH.js +0 -1
  1219. package/dist/chunks/chunk.OVJTQS3R.js +0 -1
  1220. package/dist/chunks/chunk.OY3LFRUC.js +0 -1
  1221. package/dist/chunks/chunk.P34GHQPV.js +0 -299
  1222. package/dist/chunks/chunk.P4DO532S.js +0 -1
  1223. package/dist/chunks/chunk.P4MGQ55S.js +0 -1
  1224. package/dist/chunks/chunk.P6F4F5QD.js +0 -1
  1225. package/dist/chunks/chunk.P6ZQBWYA.js +0 -498
  1226. package/dist/chunks/chunk.PJ6I3F64.js +0 -1
  1227. package/dist/chunks/chunk.PKDR4N72.js +0 -1
  1228. package/dist/chunks/chunk.PNDOGBBH.js +0 -35
  1229. package/dist/chunks/chunk.PPMANAS7.js +0 -25
  1230. package/dist/chunks/chunk.PSO4FXBN.js +0 -1
  1231. package/dist/chunks/chunk.PURJ6A7V.js +0 -12
  1232. package/dist/chunks/chunk.PXBLOJC2.js +0 -26
  1233. package/dist/chunks/chunk.Q2WAGLNI.js +0 -1
  1234. package/dist/chunks/chunk.Q4KUQYWO.js +0 -1
  1235. package/dist/chunks/chunk.QDDRKEFK.js +0 -1
  1236. package/dist/chunks/chunk.QGIQ5722.js +0 -1
  1237. package/dist/chunks/chunk.QIRR5SHU.js +0 -1
  1238. package/dist/chunks/chunk.QX7ATWZI.js +0 -1
  1239. package/dist/chunks/chunk.QYVIUHVB.js +0 -38
  1240. package/dist/chunks/chunk.R5W2QDX7.js +0 -1
  1241. package/dist/chunks/chunk.RAHGHMXI.js +0 -1
  1242. package/dist/chunks/chunk.RDYM773Z.js +0 -1
  1243. package/dist/chunks/chunk.RK2WIN35.js +0 -1
  1244. package/dist/chunks/chunk.ROUAWWLV.js +0 -1
  1245. package/dist/chunks/chunk.RVOEFT5U.js +0 -1
  1246. package/dist/chunks/chunk.RZU3COUL.js +0 -1
  1247. package/dist/chunks/chunk.S3AX4H3V.js +0 -64
  1248. package/dist/chunks/chunk.S5DZSTMC.js +0 -1
  1249. package/dist/chunks/chunk.S5QAVZ6U.js +0 -17
  1250. package/dist/chunks/chunk.S6VRSSO6.js +0 -1
  1251. package/dist/chunks/chunk.SD6CXJRC.js +0 -2
  1252. package/dist/chunks/chunk.SHFZMIFP.js +0 -39
  1253. package/dist/chunks/chunk.SJ53VOP3.js +0 -1
  1254. package/dist/chunks/chunk.SMIYI4II.js +0 -5
  1255. package/dist/chunks/chunk.SMKE3JC5.js +0 -74
  1256. package/dist/chunks/chunk.SPXXTRWH.js +0 -1
  1257. package/dist/chunks/chunk.SXS6TOEP.js +0 -1
  1258. package/dist/chunks/chunk.T2YVRM7D.js +0 -1
  1259. package/dist/chunks/chunk.TAOFCQZQ.js +0 -1
  1260. package/dist/chunks/chunk.TFVXGDQM.js +0 -37
  1261. package/dist/chunks/chunk.TKVQOZQV.js +0 -1
  1262. package/dist/chunks/chunk.TLSNSBFZ.js +0 -1
  1263. package/dist/chunks/chunk.TQPOCOGE.js +0 -62
  1264. package/dist/chunks/chunk.UL54RDR4.js +0 -1
  1265. package/dist/chunks/chunk.UNHHJHFU.js +0 -1
  1266. package/dist/chunks/chunk.UQN3GWLF.js +0 -1
  1267. package/dist/chunks/chunk.UWTZQQSB.js +0 -1
  1268. package/dist/chunks/chunk.V36IF7ZI.js +0 -1
  1269. package/dist/chunks/chunk.V6SKIMFL.js +0 -43
  1270. package/dist/chunks/chunk.VB25KRVB.js +0 -1
  1271. package/dist/chunks/chunk.VMJ66H2K.js +0 -55
  1272. package/dist/chunks/chunk.VVGU3MRZ.js +0 -61
  1273. package/dist/chunks/chunk.WGDASVED.js +0 -1
  1274. package/dist/chunks/chunk.WSQAOKNW.js +0 -572
  1275. package/dist/chunks/chunk.WTWPPELF.js +0 -1
  1276. package/dist/chunks/chunk.WUVKUAFQ.js +0 -1
  1277. package/dist/chunks/chunk.WXPNSREU.js +0 -55
  1278. package/dist/chunks/chunk.WZMBYYJZ.js +0 -1
  1279. package/dist/chunks/chunk.X35TMCUS.js +0 -4
  1280. package/dist/chunks/chunk.X4FGTGNS.js +0 -33
  1281. package/dist/chunks/chunk.XB2SWVUB.js +0 -1
  1282. package/dist/chunks/chunk.XM6WREG5.js +0 -1
  1283. package/dist/chunks/chunk.XUX7B3MY.js +0 -113
  1284. package/dist/chunks/chunk.XV2F2D73.js +0 -780
  1285. package/dist/chunks/chunk.XXD4ILGD.js +0 -1
  1286. package/dist/chunks/chunk.XYAXUANC.js +0 -1
  1287. package/dist/chunks/chunk.Y6VOJNJH.js +0 -441
  1288. package/dist/chunks/chunk.YASIML6Z.js +0 -5
  1289. package/dist/chunks/chunk.YKXFFCAA.js +0 -65
  1290. package/dist/chunks/chunk.YYECXERO.js +0 -1
  1291. package/dist/chunks/chunk.ZBOS3NT4.js +0 -1
  1292. package/dist/chunks/chunk.ZE3GRFIA.js +0 -16
  1293. package/dist/chunks/chunk.ZH2NCLUA.js +0 -100
  1294. package/dist/chunks/chunk.ZH45GJVZ.js +0 -1
  1295. package/dist/chunks/chunk.ZNF2N7SP.js +0 -1
  1296. package/dist/chunks/chunk.ZNJUJR6V.js +0 -99
  1297. package/dist/chunks/chunk.ZR77WP3G.js +0 -1
  1298. package/dist/chunks/chunk.ZVIT7ATK.js +0 -1
  1299. package/dist/chunks/chunk.ZZTRPSS7.js +0 -1
  1300. package/dist/terra_ui_components-0.0.198-py3-none-any.whl +0 -0
  1301. package/dist/terra_ui_components-0.0.198.tar.gz +0 -0
@@ -0,0 +1,2781 @@
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.NVVFTXBE.js";
11
+ import {
12
+ TerraLogin
13
+ } from "./chunk.A57F3Z5Z.js";
14
+ import {
15
+ TerraDialog
16
+ } from "./chunk.M3TPDRI3.js";
17
+ import {
18
+ data_subsetter_styles_default
19
+ } from "./chunk.ITK2GQEZ.js";
20
+ import {
21
+ TerraDataAccess,
22
+ debounce
23
+ } from "./chunk.37ZSWJEY.js";
24
+ import {
25
+ TerraSlider
26
+ } from "./chunk.C47DI5S4.js";
27
+ import {
28
+ TerraMenuItem
29
+ } from "./chunk.ELNFMESU.js";
30
+ import {
31
+ TerraMenu
32
+ } from "./chunk.N43SVPNI.js";
33
+ import {
34
+ TerraDatePicker
35
+ } from "./chunk.MWW325LP.js";
36
+ import {
37
+ HarmonyRequestController
38
+ } from "./chunk.CROGJ6YF.js";
39
+ import {
40
+ HarmonyRequest
41
+ } from "./chunk.5YAN7WHN.js";
42
+ import {
43
+ AuthController
44
+ } from "./chunk.4JXPGYJW.js";
45
+ import {
46
+ CollectionController
47
+ } from "./chunk.JXSV4XD4.js";
48
+ import {
49
+ TerraSpatialPicker
50
+ } from "./chunk.WLU62KO7.js";
51
+ import {
52
+ TerraDropdown
53
+ } from "./chunk.NYAS4VCX.js";
54
+ import {
55
+ TerraInput
56
+ } from "./chunk.35FW6JQN.js";
57
+ import {
58
+ QueryClientMixin
59
+ } from "./chunk.DOUWGQFH.js";
60
+ import {
61
+ TerraLoader
62
+ } from "./chunk.SGEP3FXE.js";
63
+ import {
64
+ formatDate,
65
+ getUTCDate
66
+ } from "./chunk.X2BIJLHO.js";
67
+ import {
68
+ HttpException
69
+ } from "./chunk.SYQOGYTQ.js";
70
+ import {
71
+ TerraButton
72
+ } from "./chunk.UTV4V2OE.js";
73
+ import {
74
+ TerraAccordion
75
+ } from "./chunk.XZPHDJEG.js";
76
+ import {
77
+ TerraIcon
78
+ } from "./chunk.AFEHLJOD.js";
79
+ import {
80
+ getBasePath
81
+ } from "./chunk.ZQVMOVOT.js";
82
+ import {
83
+ TerraAlert
84
+ } from "./chunk.XZ7PWZVI.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.7X22RVNF.js";
96
+ import {
97
+ A,
98
+ b
99
+ } from "./chunk.RRCYT4LP.js";
100
+ import {
101
+ __decorateClass,
102
+ __privateAdd,
103
+ __privateGet,
104
+ __privateMethod,
105
+ __spreadProps,
106
+ __spreadValues,
107
+ init_buffer,
108
+ init_dirname,
109
+ init_process
110
+ } from "./chunk.ZEOVK2FE.js";
111
+
112
+ // src/components/data-subsetter/data-subsetter.component.ts
113
+ init_dirname();
114
+ init_buffer();
115
+ init_process();
116
+
117
+ // src/lib/jupyter.ts
118
+ init_dirname();
119
+ init_buffer();
120
+ init_process();
121
+ var JUPYTER_LITE_URL = "https://gesdisc.github.io/jupyterlite/lab/index.html";
122
+ function openJupyterLiteWindow(readyCb) {
123
+ const jupyterWindow = window.open(JUPYTER_LITE_URL, "_blank");
124
+ if (!jupyterWindow) {
125
+ console.error("Failed to open JupyterLite!");
126
+ return;
127
+ }
128
+ window.addEventListener("message", (event) => readyCb(event, jupyterWindow), {
129
+ once: true
130
+ });
131
+ return jupyterWindow;
132
+ }
133
+ function sendDataToJupyterNotebook(type, data) {
134
+ openJupyterLiteWindow((event, jupyterWindow) => {
135
+ var _a;
136
+ if (((_a = event.data) == null ? void 0 : _a.type) !== "jupyterlite-ready") {
137
+ return;
138
+ }
139
+ console.log("JupyterLite is ready!");
140
+ jupyterWindow.postMessage(__spreadValues({ type }, data), "*");
141
+ });
142
+ }
143
+
144
+ // src/services/cmr-variable.service.ts
145
+ init_dirname();
146
+ init_buffer();
147
+ init_process();
148
+ var CmrVariableService = class {
149
+ /**
150
+ * given a name and a list of variables, return the variable with the matching name
151
+ */
152
+ getVariableByName(name, variables) {
153
+ var _a;
154
+ if (!variables || !((_a = variables.items) == null ? void 0 : _a.length)) {
155
+ return;
156
+ }
157
+ return variables.items.find((variable) => variable.umm.Name === name);
158
+ }
159
+ /**
160
+ * given a variable, return the variable's display label
161
+ * ex: Shortname = LongName (Units)
162
+ */
163
+ getVariableDisplayLabel(variable) {
164
+ const { Name = "", LongName = "", Units = "" } = variable.umm;
165
+ return `${Name}${Name && LongName && Name !== LongName ? ` = ${LongName}` : ""}${Units ? ` (${Units})` : ""}`;
166
+ }
167
+ };
168
+ var cmrVariableService = new CmrVariableService();
169
+ var cmr_variable_service_default = cmrVariableService;
170
+
171
+ // src/components/data-subsetter/data-subsetter.component.ts
172
+ var defaultOutputFormat = {
173
+ key: "application/x-netcdf4",
174
+ label: "NetCDF",
175
+ description: "Download data in NetCDF format"
176
+ };
177
+ var DEFAULT_DATE_RANGE_MIN_DAYS = 30;
178
+ var DEFAULT_DATE_RANGE_MIN_GRANULES = 3;
179
+ 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;
180
+ var TerraDataSubsetter = class extends QueryClientMixin(TerraElement) {
181
+ constructor() {
182
+ super(...arguments);
183
+ __privateAdd(this, _renderFooterForDialog);
184
+ __privateAdd(this, _renderSizeInfo);
185
+ __privateAdd(this, _renderSubsetOptions);
186
+ __privateAdd(this, _renderSearchForCollection);
187
+ __privateAdd(this, _renderOutputFormatSelection);
188
+ __privateAdd(this, _renderDateRangeSelection);
189
+ __privateAdd(this, _getCollectionDateRange);
190
+ /**
191
+ * Computes a "recent" default date range instead of the full collection
192
+ * extent, sized to the collection's average granule cadence so
193
+ * low-frequency collections (e.g. monthly) still default to a window
194
+ * covering a handful of granules rather than just one.
195
+ */
196
+ __privateAdd(this, _getDefaultRecentDateRange);
197
+ __privateAdd(this, _renderSpatialSelection);
198
+ __privateAdd(this, _renderVariableSelection);
199
+ __privateAdd(this, _renderDimensionGroup);
200
+ __privateAdd(this, _setDimensionValue);
201
+ __privateAdd(this, _renderDimensionSelection);
202
+ __privateAdd(this, _filterVariableTree);
203
+ __privateAdd(this, _handleVariableFilterChange);
204
+ __privateAdd(this, _buildVariableTree);
205
+ __privateAdd(this, _renderVariableTree);
206
+ __privateAdd(this, _getAllGroupPaths);
207
+ __privateAdd(this, _toggleGroupExpand);
208
+ __privateAdd(this, _toggleExpandCollapseAll);
209
+ __privateAdd(this, _toggleVariableSelection);
210
+ __privateAdd(this, _markFieldTouched);
211
+ __privateAdd(this, _resetDimensionSelection);
212
+ __privateAdd(this, _isDimensionExcluded);
213
+ __privateAdd(this, _getCommonSelectableDimensions);
214
+ __privateAdd(this, _renderJobStatus);
215
+ __privateAdd(this, _renderSelectedParams);
216
+ __privateAdd(this, _cancelJob);
217
+ __privateAdd(this, _getData);
218
+ __privateAdd(this, _submitDataRequest);
219
+ __privateAdd(this, _touchAllFields);
220
+ __privateAdd(this, _numberOfFilesFoundEstimate);
221
+ __privateAdd(this, _getDocumentationLinks);
222
+ __privateAdd(this, _getDataLinks);
223
+ __privateAdd(this, _hasAtLeastOneSubsetOption);
224
+ __privateAdd(this, _hasSpatialSubset);
225
+ __privateAdd(this, _renderJobMessage);
226
+ __privateAdd(this, _getJobMessageText);
227
+ __privateAdd(this, _estimateJobSize);
228
+ __privateAdd(this, _refineParameters);
229
+ __privateAdd(this, _backToSubsetOptions);
230
+ __privateAdd(this, _viewRunningJob);
231
+ __privateAdd(this, _handleDownloadSelect);
232
+ __privateAdd(this, _downloadLinksAsTxt);
233
+ __privateAdd(this, _downloadPythonScript);
234
+ __privateAdd(this, _downloadEarthdataDownload);
235
+ __privateAdd(this, _handleJupyterNotebookClick);
236
+ __privateAdd(this, _renderAvailableTemporalRangeSection);
237
+ __privateAdd(this, _renderAvailableSpatialRangeSection);
238
+ __privateAdd(this, _renderDataAccessModeSelection);
239
+ __privateAdd(this, _getGiovanniValidationError);
240
+ __privateAdd(this, _getHarmonyRequestErrorMessage);
241
+ __privateAdd(this, _renderHarmonyRequestError);
242
+ this.showCollectionSearch = true;
243
+ this.showHistoryPanel = true;
244
+ this.isHistoryView = false;
245
+ this.selectedVariables = [];
246
+ this.selectedDimensionIndexes = {};
247
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
248
+ this.variableFilterText = "";
249
+ this.touchedFields = /* @__PURE__ */ new Set();
250
+ this.selectedDateRange = {
251
+ startDate: null,
252
+ endDate: null
253
+ };
254
+ this.selectedFormat = defaultOutputFormat;
255
+ this.cancelingGetData = false;
256
+ this.isSubmittingRequest = false;
257
+ this.selectedTab = "web-links";
258
+ this.refineParameters = false;
259
+ this.collectionSearchType = "all";
260
+ this.collectionSearchLoading = false;
261
+ this.collectionLoading = false;
262
+ this.collectionAccordionOpen = true;
263
+ this.dataAccessMode = "original";
264
+ __privateAdd(this, _collectionController, new CollectionController(this, {
265
+ getCollectionEntryId: () => this.collectionEntryId,
266
+ getBearerToken: () => this.bearerToken
267
+ }));
268
+ __privateAdd(this, _authController, new AuthController(this));
269
+ __privateAdd(this, _harmonyRequestController, new HarmonyRequestController(this));
270
+ __privateAdd(this, _resetAllParameters, () => {
271
+ this.selectedVariables = [];
272
+ if (__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this)) {
273
+ __privateGet(this, _resetSpatialSelection).call(this);
274
+ }
275
+ this.selectedDateRange = {
276
+ startDate: null,
277
+ endDate: null
278
+ };
279
+ this.touchedFields = /* @__PURE__ */ new Set();
280
+ this.validationError = void 0;
281
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
282
+ this.requestUpdate();
283
+ });
284
+ __privateAdd(this, _handleDateChange, (e2) => {
285
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
286
+ this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
287
+ startDate: e2.detail.startDate,
288
+ endDate: e2.detail.endDate
289
+ });
290
+ });
291
+ __privateAdd(this, _resetDateRangeSelection, () => {
292
+ this.selectedDateRange = { startDate: null, endDate: null };
293
+ });
294
+ __privateAdd(this, _resetFormatSelection, () => {
295
+ var _a, _b;
296
+ if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats) == null ? void 0 : _b.length) {
297
+ const netcdfFormat = this.collectionWithServices.configuredOutputFormats.find(
298
+ (f) => f.key === "application/x-netcdf4" || f.key === "application/netcdf"
299
+ );
300
+ this.selectedFormat = netcdfFormat || this.collectionWithServices.configuredOutputFormats[0];
301
+ } else {
302
+ this.selectedFormat = defaultOutputFormat;
303
+ }
304
+ });
305
+ __privateAdd(this, _handleSpatialChange, (e2) => {
306
+ var _a;
307
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
308
+ if (e2.detail.type === "point" /* POINT */) {
309
+ this.shapeGeoJson = void 0;
310
+ this.spatialLabel = void 0;
311
+ this.spatialSelection = e2.detail.latLng;
312
+ } else if (e2.detail.type === "bbox" /* BBOX */) {
313
+ this.shapeGeoJson = void 0;
314
+ this.spatialLabel = void 0;
315
+ this.spatialSelection = e2.detail.bounds;
316
+ } else if (e2.detail.type === "polygon" /* POLYGON */) {
317
+ this.spatialSelection = void 0;
318
+ if (e2.detail.geoJson) {
319
+ this.shapeGeoJson = e2.detail.geoJson;
320
+ this.spatialLabel = (_a = e2.detail.label) != null ? _a : "Shape selected";
321
+ } else if (e2.detail.latLngs.length > 0) {
322
+ const coords = e2.detail.latLngs.map((ll) => [ll.lng, ll.lat]);
323
+ coords.push(coords[0]);
324
+ this.shapeGeoJson = {
325
+ type: "FeatureCollection",
326
+ features: [
327
+ {
328
+ type: "Feature",
329
+ geometry: {
330
+ type: "Polygon",
331
+ coordinates: [coords]
332
+ },
333
+ properties: null
334
+ }
335
+ ]
336
+ };
337
+ this.spatialLabel = `Polygon (${e2.detail.latLngs.length} vertices)`;
338
+ } else {
339
+ this.shapeGeoJson = void 0;
340
+ this.spatialLabel = void 0;
341
+ }
342
+ } else {
343
+ this.spatialSelection = void 0;
344
+ this.shapeGeoJson = void 0;
345
+ this.spatialLabel = void 0;
346
+ }
347
+ });
348
+ /**
349
+ * resets the spatial selection back to the bounds of the collection
350
+ */
351
+ __privateAdd(this, _resetSpatialSelection, () => {
352
+ this.spatialSelection = void 0;
353
+ this.shapeGeoJson = void 0;
354
+ this.spatialLabel = void 0;
355
+ this.spatialPicker.clear();
356
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
357
+ });
358
+ __privateAdd(this, _resetVariableSelection, () => {
359
+ this.selectedVariables = [];
360
+ __privateMethod(this, _resetDimensionSelection, resetDimensionSelection_fn).call(this);
361
+ });
362
+ __privateAdd(this, _handleExpandSearchClick, (event) => {
363
+ event.preventDefault();
364
+ __privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn).call(this);
365
+ });
366
+ }
367
+ jobIdChanged() {
368
+ if (this.jobId) {
369
+ __privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId, {
370
+ bearerToken: this.bearerToken
371
+ });
372
+ this.dataAccessMode = "subset";
373
+ }
374
+ }
375
+ shortNameAndVersionChanged() {
376
+ if (this.shortName && this.version) {
377
+ this.collectionEntryId = `${this.shortName}_${this.version}`;
378
+ }
379
+ }
380
+ collectionEntryIdChanged() {
381
+ if (this.collectionEntryId) {
382
+ this.showCollectionSearch = false;
383
+ } else {
384
+ this.showCollectionSearch = true;
385
+ }
386
+ }
387
+ firstUpdated() {
388
+ if (this.collectionEntryId) {
389
+ this.showCollectionSearch = false;
390
+ }
391
+ if (this.jobId) {
392
+ __privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId, {
393
+ bearerToken: this.bearerToken
394
+ });
395
+ this.dataAccessMode = "subset";
396
+ }
397
+ this.renderHistoryPanel();
398
+ }
399
+ updated(changedProps) {
400
+ var _a, _b, _c;
401
+ super.updated(changedProps);
402
+ const newCollectionInfo = __privateGet(this, _collectionController).collectionInfo;
403
+ if (newCollectionInfo !== this.collectionWithServices) {
404
+ this.collectionWithServices = newCollectionInfo;
405
+ }
406
+ const sampling = (_a = __privateGet(this, _collectionController).sampling) == null ? void 0 : _a.data;
407
+ if ((sampling == null ? void 0 : sampling.minDate) !== this.granuleMinDate) {
408
+ this.granuleMinDate = sampling == null ? void 0 : sampling.minDate;
409
+ }
410
+ if ((sampling == null ? void 0 : sampling.maxDate) !== this.granuleMaxDate) {
411
+ this.granuleMaxDate = sampling == null ? void 0 : sampling.maxDate;
412
+ }
413
+ const newGiovanni = __privateGet(this, _collectionController).giovanniVariables;
414
+ if (newGiovanni.size !== ((_c = (_b = this.giovanniConfiguredVariables) == null ? void 0 : _b.size) != null ? _c : 0)) {
415
+ this.giovanniConfiguredVariables = newGiovanni;
416
+ }
417
+ }
418
+ /** True if the collection contains sub-daily granules. Used by DataSubsetterController to format dates. */
419
+ get isSubDaily() {
420
+ return __privateGet(this, _collectionController).isSubDaily;
421
+ }
422
+ collectionChanged() {
423
+ const { startDate, endDate } = __privateMethod(this, _getDefaultRecentDateRange, getDefaultRecentDateRange_fn).call(this);
424
+ this.selectedDateRange = { startDate, endDate };
425
+ __privateGet(this, _resetFormatSelection).call(this);
426
+ this.collectionLoading = false;
427
+ this.collectionAccordionOpen = false;
428
+ }
429
+ granuleDatesChanged() {
430
+ if (!this.granuleMinDate && !this.granuleMaxDate)
431
+ return;
432
+ const { startDate, endDate } = __privateMethod(this, _getDefaultRecentDateRange, getDefaultRecentDateRange_fn).call(this);
433
+ this.selectedDateRange = { startDate, endDate };
434
+ }
435
+ selectedFormatChanged() {
436
+ if (this.selectedFormat.isGiovanniFormat && this.selectedVariables.length > 1) {
437
+ this.selectedVariables = [this.selectedVariables[0]];
438
+ }
439
+ }
440
+ showDialog() {
441
+ var _a;
442
+ (_a = this.dialogElement) == null ? void 0 : _a.show();
443
+ }
444
+ render() {
445
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
446
+ const showJobStatus = (__privateGet(this, _harmonyRequestController).jobId || this.harmonyRequestError) && !this.refineParameters;
447
+ const showMinimizeButton = showJobStatus && !!this.dialog;
448
+ const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
449
+ const hasCapabilitiesError = !this.collectionWithServices && __privateGet(this, _collectionController).hasCapabilitiesError;
450
+ const content = b`
451
+ <div class="container">
452
+ ${hasCapabilitiesError ? b`
453
+ <terra-alert open variant="danger" appearance="white">
454
+ Failed to find the requested collection.
455
+ </terra-alert>
456
+ ` : b`
457
+ ${!this.dialog ? b`
458
+ <div class="header">
459
+ <h1>
460
+ <svg
461
+ class="download-icon"
462
+ viewBox="0 0 24 24"
463
+ fill="currentColor"
464
+ >
465
+ <path
466
+ d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
467
+ />
468
+ </svg>
469
+ ${title}
470
+ </h1>
471
+
472
+ ${showMinimizeButton ? b`<button
473
+ class="minimize-btn"
474
+ @click=${() => this.minimizeDialog()}
475
+ >
476
+ -
477
+ </button>` : A}
478
+ </div>
479
+ ` : A}
480
+ ${!this.isHistoryView && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? b`
481
+ <div class="section">
482
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
483
+ </div>
484
+ ` : A}
485
+ ${this.dataAccessMode === "original" ? b`
486
+ <div class="section">
487
+ <terra-data-access
488
+ short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
489
+ version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
490
+ ?footer-slot=${!!this.dialog}
491
+ >
492
+ ${this.dialog ? b`
493
+ <div
494
+ slot="footer"
495
+ style="margin-top: 15px;"
496
+ >
497
+ <slot
498
+ name="data-access-footer"
499
+ ></slot>
500
+ </div>
501
+ ` : A}
502
+ </terra-data-access>
503
+ </div>
504
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
505
+ `}
506
+ </div>
507
+ `;
508
+ if (this.dialog) {
509
+ return b`
510
+ <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
511
+ <span
512
+ slot="label"
513
+ style="display: flex; align-items: center; gap: 8px; color: var(--terra-text-brand-on-secondary, #1c67e3); font-weight: 600;"
514
+ >
515
+ <svg
516
+ class="download-icon"
517
+ viewBox="0 0 24 24"
518
+ fill="currentColor"
519
+ style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
520
+ >
521
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
522
+ </svg>
523
+ ${title}
524
+ </span>
525
+ ${showMinimizeButton ? b`
526
+ <button
527
+ slot="header-actions"
528
+ class="minimize-btn"
529
+ @click=${() => {
530
+ var _a2;
531
+ return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
532
+ }}
533
+ aria-label="Minimize"
534
+ >
535
+ -
536
+ </button>
537
+ ` : A}
538
+ <slot name="dialog-header-content"></slot>
539
+ ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
540
+ </terra-dialog>
541
+ `;
542
+ }
543
+ return b`
544
+ <div class="container">
545
+ <div class="header">
546
+ <h1>
547
+ <svg
548
+ class="download-icon"
549
+ viewBox="0 0 24 24"
550
+ fill="currentColor"
551
+ >
552
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
553
+ </svg>
554
+ ${title}
555
+ </h1>
556
+
557
+ ${showMinimizeButton ? b`<button
558
+ class="minimize-btn"
559
+ @click=${() => this.minimizeDialog()}
560
+ >
561
+ -
562
+ </button>` : A}
563
+ </div>
564
+ ${hasCapabilitiesError ? b`
565
+ <terra-alert open variant="danger" appearance="white">
566
+ Failed to find the requested collection.
567
+ </terra-alert>
568
+ ` : b`
569
+ ${!this.isHistoryView && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? b`
570
+ <div class="section">
571
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
572
+ </div>
573
+ ` : A}
574
+ ${this.dataAccessMode === "original" ? b`
575
+ <div class="section">
576
+ <terra-data-access
577
+ short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
578
+ version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
579
+ ?footer-slot=${!!this.dialog}
580
+ >
581
+ ${this.dialog ? b`
582
+ <div
583
+ slot="footer"
584
+ style="margin-top: 15px;"
585
+ >
586
+ <slot
587
+ name="data-access-footer"
588
+ ></slot>
589
+ </div>
590
+ ` : A}
591
+ </terra-data-access>
592
+ </div>
593
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
594
+ `}
595
+ </div>
596
+ `;
597
+ }
598
+ minimizeDialog() {
599
+ var _a;
600
+ (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
601
+ }
602
+ handleCollectionSearch(searchTerm) {
603
+ this.collectionSearchQuery = searchTerm;
604
+ }
605
+ renderHistoryPanel() {
606
+ const existingHistoryPanel = document.querySelector(
607
+ "terra-data-subsetter-history"
608
+ );
609
+ if (!existingHistoryPanel && this.bearerToken) {
610
+ const historyPanel = document.createElement(
611
+ "terra-data-subsetter-history"
612
+ );
613
+ if (this.bearerToken) {
614
+ historyPanel.setAttribute("bearer-token", this.bearerToken);
615
+ }
616
+ if (this.environment) {
617
+ historyPanel.setAttribute("environment", this.environment);
618
+ }
619
+ document.body.appendChild(historyPanel);
620
+ }
621
+ }
622
+ };
623
+ _collectionController = new WeakMap();
624
+ _authController = new WeakMap();
625
+ _harmonyRequestController = new WeakMap();
626
+ _renderFooterForDialog = new WeakSet();
627
+ renderFooterForDialog_fn = function() {
628
+ const showJobStatus = (__privateGet(this, _harmonyRequestController).jobId || this.harmonyRequestError) && !this.refineParameters;
629
+ if (showJobStatus) {
630
+ if (!__privateGet(this, _harmonyRequestController).jobId) {
631
+ return A;
632
+ }
633
+ return b`
634
+ <div slot="footer" class="footer">
635
+ ${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
636
+ <div
637
+ style="display: flex; align-items: center; gap: 8px;"
638
+ >
639
+ <terra-dropdown
640
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
641
+ >
642
+ <terra-button slot="trigger" caret>
643
+ Download Options
644
+ </terra-button>
645
+ <terra-menu>
646
+ <terra-menu-item value="file-list">
647
+ <svg
648
+ slot="prefix"
649
+ viewBox="0 0 24 24"
650
+ width="16"
651
+ height="16"
652
+ style="width: 16px; height: 16px;"
653
+ >
654
+ <path
655
+ fill="currentColor"
656
+ 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"
657
+ />
658
+ </svg>
659
+ File List
660
+ </terra-menu-item>
661
+ <terra-menu-item value="python-script">
662
+ <svg
663
+ slot="prefix"
664
+ viewBox="0 0 128 128"
665
+ width="16"
666
+ height="16"
667
+ style="width: 16px; height: 16px;"
668
+ >
669
+ <path
670
+ fill="currentColor"
671
+ 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"
672
+ ></path>
673
+ </svg>
674
+ Python Script
675
+ </terra-menu-item>
676
+ <terra-menu-item value="earthdata-download">
677
+ <svg
678
+ slot="prefix"
679
+ viewBox="0 0 64 64"
680
+ fill="none"
681
+ width="16"
682
+ height="16"
683
+ style="width: 16px; height: 16px;"
684
+ >
685
+ <circle
686
+ cx="32"
687
+ cy="32"
688
+ r="28"
689
+ fill="currentColor"
690
+ />
691
+ <path
692
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
693
+ stroke="#fff"
694
+ stroke-width="4"
695
+ stroke-linecap="round"
696
+ stroke-linejoin="round"
697
+ fill="none"
698
+ />
699
+ </svg>
700
+ Earthdata Download
701
+ </terra-menu-item>
702
+ </terra-menu>
703
+ </terra-dropdown>
704
+
705
+ <!--
706
+ <terra-button
707
+ outline
708
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
709
+ >
710
+ <terra-icon
711
+ name="outline-code-bracket"
712
+ library="heroicons"
713
+ font-size="1.5em"
714
+ style="margin-right: 5px;"
715
+ ></terra-icon>
716
+ Open in Jupyter Notebook
717
+ </terra-button>
718
+ -->
719
+ </div>
720
+ ` : A}
721
+ ${__privateGet(this, _harmonyRequestController).status === "running" /* RUNNING */ ? b`<button
722
+ class="btn btn-success"
723
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
724
+ ?disabled=${this.cancelingGetData}
725
+ >
726
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
727
+ </button>` : A}
728
+
729
+ <div class="job-info">
730
+ Job ID:
731
+ <span class="job-id">
732
+ ${this.bearerToken ? b`<a
733
+ href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
734
+ target="_blank"
735
+ >${__privateGet(this, _harmonyRequestController).jobId}</a
736
+ >` : __privateGet(this, _harmonyRequestController).jobId}
737
+ </span>
738
+ <span class="info-icon">?</span>
739
+ </div>
740
+ </div>
741
+ `;
742
+ }
743
+ if (this.dataAccessMode === "subset") {
744
+ return b`
745
+ <div slot="footer" class="footer">
746
+ <button
747
+ class="btn btn-secondary"
748
+ @click=${__privateGet(this, _resetAllParameters)}
749
+ >
750
+ Reset All
751
+ </button>
752
+ <div>
753
+ <button
754
+ class="btn btn-primary"
755
+ ?disabled=${this.isSubmittingRequest}
756
+ @click=${__privateMethod(this, _getData, getData_fn)}
757
+ >
758
+ ${this.isSubmittingRequest ? "Getting Data..." : "Get Data"}
759
+ </button>
760
+ ${this.jobId ? b`
761
+ <terra-button
762
+ variant="default"
763
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
764
+ >
765
+ View Running Job
766
+ </terra-button>
767
+ ` : A}
768
+ </div>
769
+ </div>
770
+ `;
771
+ }
772
+ return A;
773
+ };
774
+ _renderSizeInfo = new WeakSet();
775
+ renderSizeInfo_fn = function(estimates) {
776
+ if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
777
+ return b`
778
+ <div class="size-info warning">
779
+ <terra-login .onLoginClick=${this.onLoginClick}>
780
+ <h2 slot="logged-out">Limited access as a guest.</h2>
781
+
782
+ <p slot="logged-out">
783
+ Your results will be capped at 10 links. Log in for full
784
+ access to all data.
785
+ </p>
786
+ </terra-login>
787
+ </div>
788
+ `;
789
+ }
790
+ return b`<div
791
+ class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
792
+ >
793
+ <h2>Estimated size of results</h2>
794
+ <div class="size-stats">
795
+ ${estimates.days.toLocaleString()} days,
796
+ ${estimates.links.toLocaleString()} links
797
+ </div>
798
+ ${estimates.links >= 150 ? b`<div class="size-warning">
799
+ You are about to retrieve ${estimates.links.toLocaleString()}
800
+ file links from the archive. You may
801
+ <strong>speed up the request</strong> by limiting the scope of
802
+ your search.
803
+ </div>` : A}
804
+ </div>`;
805
+ };
806
+ _renderSubsetOptions = new WeakSet();
807
+ renderSubsetOptions_fn = function() {
808
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
809
+ const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
810
+ const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
811
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
812
+ const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
813
+ const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
814
+ const showTemporalSection = temporalExtents == null ? void 0 : temporalExtents.length;
815
+ const showSpatialSection = (_c = (_b = spatialExtent == null ? void 0 : spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles;
816
+ return b`
817
+ ${this.dataAccessMode === "original" ? A : hasSubsetOption ? b`
818
+ ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : A}
819
+ ${this.showCollectionSearch ? b`
820
+ <div class="section">
821
+ <h2 class="section-title">
822
+ Select Data Collection
823
+ </h2>
824
+
825
+ ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
826
+ </div>
827
+ ` : A}
828
+ ${((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.summary.outputFormats) == null ? void 0 : _e.length) && hasSubsetOption ? b`
829
+ <div class="section">
830
+ <h2 class="section-title">Output Format</h2>
831
+
832
+ ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
833
+ </div>
834
+ ` : A}
835
+ <div class="section">
836
+ <h2 class="section-title">Subset Options</h2>
837
+ <p style="color: #666; margin-bottom: 16px;">
838
+ Generate file links that support spatial subsetting,
839
+ date/time range selection, and variable selection.
840
+ </p>
841
+
842
+ ${((_f = this.collectionWithServices) == null ? void 0 : _f.summary.subsetting.temporal) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : A}
843
+ ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : A}
844
+ ${((_g = this.collectionWithServices) == null ? void 0 : _g.summary.subsetting.variable) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : A}
845
+ ${((_h = this.collectionWithServices) == null ? void 0 : _h.summary.subsetting.variable) && isFeatureEnabled(
846
+ KnownFeatureFlags.DIMENSION_SUBSET,
847
+ this.features
848
+ ) ? __privateMethod(this, _renderDimensionSelection, renderDimensionSelection_fn).call(this) : A}
849
+ </div>
850
+ ` : b`
851
+ ${showTemporalSection && !((_i = this.collectionWithServices) == null ? void 0 : _i.summary.subsetting.temporal) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : A}
852
+ ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : A}
853
+ `}
854
+ ${!hasSubsetOption && estimates ? b`
855
+ <div
856
+ class="neutral-info"
857
+ style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
858
+ >
859
+ <strong>Estimated result size:</strong><br />
860
+ Your request will return approximately
861
+ <b>${estimates.links.toLocaleString()}</b> files covering
862
+ <b>${estimates.days.toLocaleString()}</b> days.
863
+ </div>
864
+ ` : A}
865
+ ${this.dataAccessMode === "subset" && !this.dialog ? b`
866
+ <div class="footer">
867
+ <button
868
+ class="btn btn-secondary"
869
+ @click=${__privateGet(this, _resetAllParameters)}
870
+ >
871
+ Reset All
872
+ </button>
873
+ <div>
874
+ <button
875
+ class="btn btn-primary"
876
+ ?disabled=${this.isSubmittingRequest}
877
+ @click=${__privateMethod(this, _getData, getData_fn)}
878
+ >
879
+ ${this.isSubmittingRequest ? "Getting Data..." : "Get Data"}
880
+ </button>
881
+ ${this.jobId ? b`
882
+ <terra-button
883
+ variant="default"
884
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
885
+ >
886
+ View Running Job
887
+ </terra-button>
888
+ ` : A}
889
+ </div>
890
+ </div>
891
+ ` : A}
892
+ `;
893
+ };
894
+ _resetAllParameters = new WeakMap();
895
+ _renderSearchForCollection = new WeakSet();
896
+ renderSearchForCollection_fn = function() {
897
+ var _a, _b;
898
+ let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
899
+ if (this.collectionSearchType === "collection") {
900
+ placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
901
+ }
902
+ if (this.collectionSearchType === "variable") {
903
+ placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
904
+ }
905
+ return b`
906
+ <terra-accordion .open=${this.collectionAccordionOpen}>
907
+ <div slot="summary">
908
+ <span class="accordion-title">Collection:</span>
909
+ </div>
910
+
911
+ <div
912
+ slot="summary-right"
913
+ style="display: flex; align-items: center; gap: 10px"
914
+ >
915
+ ${this.collectionEntryId ? b` <span
916
+ class="accordion-value"
917
+ id="selected-collection-display"
918
+ >${this.collectionEntryId}</span
919
+ >
920
+
921
+ <button
922
+ class="reset-btn"
923
+ @click=${() => this.collectionEntryId = void 0}
924
+ >
925
+ Reset
926
+ </button>` : A}
927
+ </div>
928
+
929
+ <div class="search-tabs-mini">
930
+ <button
931
+ class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
932
+ @click=${() => this.collectionSearchType = "all"}
933
+ >
934
+ All
935
+ </button>
936
+ <button
937
+ class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
938
+ @click=${() => this.collectionSearchType = "collection"}
939
+ >
940
+ Collections
941
+ </button>
942
+ <button
943
+ class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
944
+ @click=${() => this.collectionSearchType = "variable"}
945
+ >
946
+ Variables
947
+ </button>
948
+ </div>
949
+
950
+ <div class="search-container-mini">
951
+ <input
952
+ type="text"
953
+ class="search-input-mini"
954
+ id="search-input"
955
+ placeholder=${placeholder}
956
+ @input="${(e2) => this.handleCollectionSearch(
957
+ e2.target.value
958
+ )}"
959
+ />
960
+
961
+ <button class="search-button-mini">
962
+ <svg
963
+ class="search-icon-mini"
964
+ viewBox="0 0 24 24"
965
+ fill="currentColor"
966
+ >
967
+ <path
968
+ 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"
969
+ />
970
+ </svg>
971
+ Search
972
+ </button>
973
+ </div>
974
+
975
+ <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
976
+ <div class="quick-links-mini">
977
+ <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
978
+ >GPM Precipitation</a
979
+ >
980
+ <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
981
+ >MODIS Data</a
982
+ >
983
+ <a
984
+ href="#"
985
+ class="quick-link-mini"
986
+ onclick="quickSearch('Landsat')"
987
+ >Landsat Imagery</a
988
+ >
989
+ <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
990
+ >Atmospheric Data</a
991
+ >
992
+ </div>
993
+ -->
994
+
995
+ <div id="search-results-section" class="search-results-section">
996
+ ${this.collectionSearchLoading ? b`
997
+ <div id="loading-mini" class="loading-mini">
998
+ <div class="spinner-mini"></div>
999
+ <div>Searching NASA CMR...</div>
1000
+ </div>
1001
+ ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? b` <div
1002
+ id="results-container-mini"
1003
+ class="results-container-mini"
1004
+ >
1005
+ ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
1006
+ (item) => b`
1007
+ <div
1008
+ class="result-item-mini"
1009
+ @click=${() => {
1010
+ this.collectionEntryId = item.collectionEntryId;
1011
+ this.collectionAccordionOpen = false;
1012
+ this.collectionLoading = true;
1013
+ if (item.type === "variable") {
1014
+ this.selectedVariables = [
1015
+ {
1016
+ name: item.entryId,
1017
+ href: "",
1018
+ conceptId: item.conceptId
1019
+ }
1020
+ ];
1021
+ }
1022
+ this.requestUpdate();
1023
+ }}
1024
+ style="cursor: pointer;"
1025
+ >
1026
+ <div class="result-title-mini">
1027
+ ${item.title}
1028
+ </div>
1029
+ <div class="result-id-mini">
1030
+ ${item.entryId}
1031
+ </div>
1032
+ <div class="result-description-mini">
1033
+ ${item.summary || item.title}
1034
+ </div>
1035
+ <div class="result-meta-mini">
1036
+ <span>📅 2000-02-24 - ongoing</span>
1037
+ <span>🌍 Global</span>
1038
+ <span>🏢 ${item.provider}</span>
1039
+ ${item.type === "variable" ? b` <span
1040
+ >📊
1041
+ ${item.collectionEntryId}</span
1042
+ >` : A}
1043
+ <span class="tag-mini"
1044
+ >${item.type.toUpperCase()}</span
1045
+ >
1046
+ </div>
1047
+ </div>
1048
+ `
1049
+ )}
1050
+ </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? b`<div id="no-results-mini" class="no-results-mini">
1051
+ <p>
1052
+ No results found for
1053
+ '${this.collectionSearchQuery}'. Try adjusting
1054
+ your search term.
1055
+ </p>
1056
+ </div>` : A}
1057
+ </div>
1058
+ </terra-accordion>
1059
+
1060
+ ${this.collectionLoading ? b`
1061
+ <div
1062
+ class="collection-loading-bar"
1063
+ style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
1064
+ >
1065
+ <span
1066
+ class="loading-spinner"
1067
+ 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;"
1068
+ ></span>
1069
+ Retrieving collection, please wait...
1070
+ </div>
1071
+ <style>
1072
+ @keyframes spin {
1073
+ 0% {
1074
+ transform: rotate(0deg);
1075
+ }
1076
+ 100% {
1077
+ transform: rotate(360deg);
1078
+ }
1079
+ }
1080
+ </style>
1081
+ ` : A}
1082
+ `;
1083
+ };
1084
+ _renderOutputFormatSelection = new WeakSet();
1085
+ renderOutputFormatSelection_fn = function() {
1086
+ return b`
1087
+ <terra-accordion>
1088
+ <div slot="summary">
1089
+ <span class="accordion-title">File Format:</span>
1090
+ </div>
1091
+
1092
+ <div
1093
+ slot="summary-right"
1094
+ style="display: flex; align-items: center; gap: 10px;"
1095
+ >
1096
+ <span>${this.selectedFormat.label}</span>
1097
+
1098
+ <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
1099
+ Reset
1100
+ </button>
1101
+ </div>
1102
+
1103
+ <div class="accordion-content" style="margin-top: 12px;">
1104
+ ${(() => {
1105
+ var _a;
1106
+ return (((_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats) || []).map(
1107
+ (format) => b`
1108
+ <label
1109
+ style="display: flex; align-items: center; gap: 8px; padding: 5px;"
1110
+ >
1111
+ <input
1112
+ type="radio"
1113
+ name="output-format"
1114
+ value="${format}"
1115
+ .checked=${this.selectedFormat === format}
1116
+ @change=${() => this.selectedFormat = format}
1117
+ />
1118
+ ${format.label}
1119
+ </label>
1120
+ `
1121
+ );
1122
+ })()}
1123
+ </div>
1124
+ </terra-accordion>
1125
+ `;
1126
+ };
1127
+ _renderDateRangeSelection = new WeakSet();
1128
+ renderDateRangeSelection_fn = function() {
1129
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1130
+ const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1131
+ const startDate = (_b = (_a = this.selectedDateRange.startDate) != null ? _a : this.granuleMinDate) != null ? _b : defaultStartDate;
1132
+ const endDate = (_d = (_c = this.selectedDateRange.endDate) != null ? _c : this.granuleMaxDate) != null ? _d : defaultEndDate;
1133
+ const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
1134
+ return b`
1135
+ <terra-accordion>
1136
+ <div slot="summary">
1137
+ <span class="accordion-title">Refine Date Range:</span>
1138
+ </div>
1139
+
1140
+ <div
1141
+ slot="summary-right"
1142
+ style="display: flex; align-items: center; gap: 10px;"
1143
+ >
1144
+ ${showError ? b`<span class="accordion-value error"
1145
+ >Please select a date range</span
1146
+ >` : this.touchedFields.has("date") && startDate && endDate ? b`<span class="accordion-value"
1147
+ >${startDate} to ${endDate}</span
1148
+ >` : A}
1149
+ <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
1150
+ Reset
1151
+ </button>
1152
+ </div>
1153
+
1154
+ <div style="width: 300px">
1155
+ <terra-date-picker
1156
+ allow-input
1157
+ inline
1158
+ range
1159
+ split-inputs
1160
+ show-presets
1161
+ ?enable-time=${this.isSubDaily}
1162
+ start-label="Start Date"
1163
+ end-label="End Date"
1164
+ .minDate=${(_e = this.granuleMinDate) != null ? _e : defaultStartDate}
1165
+ .maxDate=${(_f = this.granuleMaxDate) != null ? _f : defaultEndDate}
1166
+ .startDate=${(_g = this.selectedDateRange.startDate) != null ? _g : this.granuleMinDate}
1167
+ .endDate=${(_h = this.selectedDateRange.endDate) != null ? _h : this.granuleMaxDate}
1168
+ .useEndOfDay=${!this.selectedFormat.isGiovanniFormat}
1169
+ @terra-date-range-change=${__privateGet(this, _handleDateChange)}
1170
+ ></terra-date-picker>
1171
+ </div>
1172
+
1173
+ <div style="display: flex; gap: 16px; margin-top: 15px;">
1174
+ <span
1175
+ ><strong>Available Range:</strong> ${defaultStartDate} to
1176
+ ${defaultEndDate}</span
1177
+ >
1178
+ ${this.isSubDaily ? b`<span
1179
+ ><strong>Note:</strong> All dates and times are in
1180
+ UTC.</span
1181
+ >` : A}
1182
+ </div>
1183
+ </terra-accordion>
1184
+ `;
1185
+ };
1186
+ _handleDateChange = new WeakMap();
1187
+ _resetDateRangeSelection = new WeakMap();
1188
+ _resetFormatSelection = new WeakMap();
1189
+ _getCollectionDateRange = new WeakSet();
1190
+ getCollectionDateRange_fn = function() {
1191
+ var _a, _b;
1192
+ const samplingMinDate = this.granuleMinDate;
1193
+ const samplingMaxDate = this.granuleMaxDate;
1194
+ if (samplingMinDate && samplingMaxDate) {
1195
+ return {
1196
+ startDate: samplingMinDate.slice(0, 10),
1197
+ endDate: samplingMaxDate.slice(0, 10)
1198
+ };
1199
+ }
1200
+ const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
1201
+ if (!(temporalExtents == null ? void 0 : temporalExtents.length))
1202
+ return {
1203
+ startDate: null,
1204
+ endDate: null
1205
+ };
1206
+ let minStart = null;
1207
+ let maxEnd = null;
1208
+ const today = /* @__PURE__ */ new Date();
1209
+ for (const temporal of temporalExtents) {
1210
+ for (const range of temporal.RangeDateTimes || []) {
1211
+ const start = new Date(range.BeginningDateTime);
1212
+ let end;
1213
+ if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
1214
+ end = today;
1215
+ } else {
1216
+ end = new Date(range.EndingDateTime);
1217
+ }
1218
+ if (!minStart || start < minStart)
1219
+ minStart = start;
1220
+ if (!maxEnd || end > maxEnd)
1221
+ maxEnd = end;
1222
+ }
1223
+ }
1224
+ return {
1225
+ startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
1226
+ endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
1227
+ };
1228
+ };
1229
+ _getDefaultRecentDateRange = new WeakSet();
1230
+ getDefaultRecentDateRange_fn = function() {
1231
+ var _a;
1232
+ const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1233
+ const granuleCount = (_a = this.collectionWithServices) == null ? void 0 : _a.granuleCount;
1234
+ if (!range.startDate || !range.endDate || !granuleCount || granuleCount <= 1) {
1235
+ return range;
1236
+ }
1237
+ const msPerDay = 1e3 * 60 * 60 * 24;
1238
+ const fullStart = new Date(range.startDate);
1239
+ const fullEnd = new Date(range.endDate);
1240
+ const totalDays = Math.floor((fullEnd.getTime() - fullStart.getTime()) / msPerDay) + 1;
1241
+ if (totalDays <= 0) {
1242
+ return range;
1243
+ }
1244
+ const avgCadenceDays = totalDays / granuleCount;
1245
+ const windowDays = Math.min(
1246
+ totalDays,
1247
+ Math.max(
1248
+ DEFAULT_DATE_RANGE_MIN_DAYS,
1249
+ avgCadenceDays * DEFAULT_DATE_RANGE_MIN_GRANULES
1250
+ )
1251
+ );
1252
+ if (windowDays >= totalDays) {
1253
+ return range;
1254
+ }
1255
+ const recentStart = new Date(fullEnd.getTime() - (windowDays - 1) * msPerDay);
1256
+ return {
1257
+ startDate: recentStart > fullStart ? formatDate(recentStart) : range.startDate,
1258
+ endDate: range.endDate
1259
+ };
1260
+ };
1261
+ _renderSpatialSelection = new WeakSet();
1262
+ renderSpatialSelection_fn = function() {
1263
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
1264
+ const showError = this.touchedFields.has("spatial") && !this.spatialSelection && !this.shapeGeoJson;
1265
+ const spatialString = (_c = (_b = this.spatialLabel) != null ? _b : (_a = this.spatialSelection) == null ? void 0 : _a.toString()) != null ? _c : void 0;
1266
+ const spatialInitialValue = (_e = (_d = this.spatialSelection) == null ? void 0 : _d.toString()) != null ? _e : void 0;
1267
+ return b`
1268
+ <terra-accordion>
1269
+ <div slot="summary">
1270
+ <span class="accordion-title">Refine Region:</span>
1271
+ </div>
1272
+
1273
+ <div
1274
+ slot="summary-right"
1275
+ style="display: flex; align-items: center; gap: 10px;"
1276
+ >
1277
+ ${showError ? b`<span class="accordion-value error"
1278
+ >Please select a region</span
1279
+ >` : spatialString ? b`<span class="accordion-value"
1280
+ >${spatialString}</span
1281
+ >` : A}
1282
+ <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1283
+ Reset
1284
+ </button>
1285
+ </div>
1286
+ <div class="accordion-content">
1287
+ <terra-spatial-picker
1288
+ part="spatial-picker"
1289
+ inline
1290
+ hide-label
1291
+ .spatialConstraints=${__privateGet(this, _collectionController).spatialConstraints || "-180, -90, 180, 90"}
1292
+ .initialValue=${spatialInitialValue}
1293
+ ?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}
1294
+ ?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}
1295
+ @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1296
+ ></terra-spatial-picker>
1297
+ <div
1298
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1299
+ >
1300
+ <span
1301
+ ><strong>Available Range:</strong> ${__privateGet(this, _collectionController).spatialConstraints}</span
1302
+ >
1303
+ </div>
1304
+ </div>
1305
+ </terra-accordion>
1306
+ `;
1307
+ };
1308
+ _handleSpatialChange = new WeakMap();
1309
+ _resetSpatialSelection = new WeakMap();
1310
+ _renderVariableSelection = new WeakSet();
1311
+ renderVariableSelection_fn = function() {
1312
+ var _a;
1313
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1314
+ const giovanniError = this.touchedFields.has("variables") && __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1315
+ const basicError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1316
+ const showError = giovanniError || basicError;
1317
+ const errorMessage = giovanniError || (basicError ? "Please select at least one variable" : "");
1318
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1319
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1320
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1321
+ return b`
1322
+ <terra-accordion>
1323
+ <div slot="summary">
1324
+ <span class="accordion-title">Select Variables:</span>
1325
+ </div>
1326
+ <div
1327
+ slot="summary-right"
1328
+ style="display: flex; align-items: center; gap: 10px;"
1329
+ >
1330
+ ${showError ? b`<span class="accordion-value error"
1331
+ >${errorMessage}</span
1332
+ >` : this.selectedVariables.length ? b`<span class="accordion-value"
1333
+ >${this.selectedVariables.length} selected</span
1334
+ >` : A}
1335
+
1336
+ <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1337
+ Reset
1338
+ </button>
1339
+ </div>
1340
+ <div class="accordion-content">
1341
+ <terra-input
1342
+ label="Filter variables"
1343
+ placeholder="Search by variable name..."
1344
+ .value=${this.variableFilterText}
1345
+ @input=${(e2) => {
1346
+ const input = e2.target;
1347
+ this.variableFilterText = input.value;
1348
+ __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1349
+ }}
1350
+ style="margin-bottom: 10px;"
1351
+ ></terra-input>
1352
+ <button
1353
+ class="reset-btn"
1354
+ style="margin-bottom: 10px;"
1355
+ @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1356
+ >
1357
+ ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1358
+ </button>
1359
+
1360
+ ${this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables ? b`
1361
+ <terra-alert
1362
+ open
1363
+ appearance="white"
1364
+ style="margin: 10px 0"
1365
+ >
1366
+ <terra-icon
1367
+ slot="icon"
1368
+ name="outline-information-circle"
1369
+ library="heroicons"
1370
+ ></terra-icon>
1371
+ Only certain variables are supported for the
1372
+ selected output format. (Giovanni service)
1373
+ </terra-alert>
1374
+ ` : A}
1375
+ ${variables.length === 0 ? b`<p style="color: #666; font-style: italic;">
1376
+ No variables available for this collection.
1377
+ </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1378
+ </div>
1379
+ </terra-accordion>
1380
+ `;
1381
+ };
1382
+ _renderDimensionGroup = new WeakSet();
1383
+ renderDimensionGroup_fn = function(dim) {
1384
+ var _a, _b, _c, _d, _e, _f;
1385
+ const currentValue = (_a = this.selectedDimensionIndexes[dim.name]) != null ? _a : 1;
1386
+ 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(
1387
+ (s) => s.dimensions && s.dimensions.length > 0
1388
+ )) == null ? void 0 : _f.dimensions) || [];
1389
+ return b`
1390
+ <div style="margin-bottom: 16px;">
1391
+ <div
1392
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;"
1393
+ >
1394
+ <span style="font-weight: 600; margin-bottom: 44px"
1395
+ >Dimension: ${dim.name}</span
1396
+ >
1397
+ </div>
1398
+ <terra-slider
1399
+ class="dimension-slider"
1400
+ mode="range"
1401
+ min="1"
1402
+ .max=${dim.size}
1403
+ step="1"
1404
+ .startValue=${currentValue.start}
1405
+ .endValue=${currentValue.end}
1406
+ has-tooltips
1407
+ show-inputs
1408
+ hide-label
1409
+ .formatTooltip=${dimensions.length > 0 ? (value) => {
1410
+ const found = dimensions.find(
1411
+ (d) => String(d.value) === String(value)
1412
+ );
1413
+ return found ? found.label : String(value);
1414
+ } : A}
1415
+ @terra-slider-change=${(event) => {
1416
+ if ("startValue" in event.detail) {
1417
+ const { startValue, endValue } = event.detail;
1418
+ __privateMethod(this, _setDimensionValue, setDimensionValue_fn).call(this, dim.name, startValue, endValue);
1419
+ }
1420
+ }}
1421
+ ></terra-slider>
1422
+ </div>
1423
+ `;
1424
+ };
1425
+ _setDimensionValue = new WeakSet();
1426
+ setDimensionValue_fn = function(dimName, startValue, endValue) {
1427
+ const dimensions = __privateMethod(this, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn).call(this);
1428
+ const found = dimensions.find((d) => d.name === dimName);
1429
+ if (!found) {
1430
+ return;
1431
+ }
1432
+ const normalizedStartValue = Math.min(
1433
+ Math.max(Math.round(startValue), 1),
1434
+ found.size
1435
+ );
1436
+ const normalizedEndValue = Math.min(
1437
+ Math.max(Math.round(endValue != null ? endValue : startValue), 1),
1438
+ found.size
1439
+ );
1440
+ if (normalizedStartValue <= 1 && normalizedEndValue >= found.size) {
1441
+ delete this.selectedDimensionIndexes[dimName];
1442
+ return;
1443
+ }
1444
+ this.selectedDimensionIndexes = __spreadProps(__spreadValues({}, this.selectedDimensionIndexes), {
1445
+ [dimName]: { start: normalizedStartValue, end: normalizedEndValue }
1446
+ });
1447
+ };
1448
+ _renderDimensionSelection = new WeakSet();
1449
+ renderDimensionSelection_fn = function() {
1450
+ const dimensions = __privateMethod(this, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn).call(this);
1451
+ if (!dimensions.length) {
1452
+ return A;
1453
+ }
1454
+ const selectedCount = Object.keys(this.selectedDimensionIndexes).length;
1455
+ return b`
1456
+ <terra-accordion>
1457
+ <div slot="summary">
1458
+ <span class="accordion-title">Select Dimensions:</span>
1459
+ </div>
1460
+ <div
1461
+ slot="summary-right"
1462
+ style="display: flex; align-items: center; gap: 10px;"
1463
+ >
1464
+ ${selectedCount ? b`<span class="accordion-value"
1465
+ >${selectedCount}
1466
+ dimension${selectedCount === 1 ? "" : "s"}
1467
+ selected</span
1468
+ >` : A}
1469
+ <button class="reset-btn" @click=${__privateMethod(this, _resetDimensionSelection, resetDimensionSelection_fn)}>
1470
+ Reset
1471
+ </button>
1472
+ </div>
1473
+ <div class="accordion-content">
1474
+ ${dimensions.map((dim) => __privateMethod(this, _renderDimensionGroup, renderDimensionGroup_fn).call(this, dim))}
1475
+ </div>
1476
+ </terra-accordion>
1477
+ `;
1478
+ };
1479
+ _filterVariableTree = new WeakSet();
1480
+ filterVariableTree_fn = function(tree) {
1481
+ if (!this.variableFilterText.trim()) {
1482
+ return tree;
1483
+ }
1484
+ const filterText = this.variableFilterText.toLowerCase().trim();
1485
+ const filterNode = (node) => {
1486
+ const result = {};
1487
+ for (const [key, value] of Object.entries(node)) {
1488
+ if (value.__isLeaf) {
1489
+ const variableName = value.__variable.name.toLowerCase();
1490
+ if (variableName.includes(filterText)) {
1491
+ result[key] = value;
1492
+ }
1493
+ } else {
1494
+ const filteredChildren = filterNode(value.__children);
1495
+ if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1496
+ result[key] = __spreadProps(__spreadValues({}, value), {
1497
+ __children: filteredChildren
1498
+ });
1499
+ }
1500
+ }
1501
+ }
1502
+ return result;
1503
+ };
1504
+ return filterNode(tree);
1505
+ };
1506
+ _handleVariableFilterChange = new WeakSet();
1507
+ handleVariableFilterChange_fn = function() {
1508
+ var _a;
1509
+ if (!this.variableFilterText.trim()) {
1510
+ return;
1511
+ }
1512
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1513
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1514
+ const filterText = this.variableFilterText.toLowerCase().trim();
1515
+ const groupsToExpand = /* @__PURE__ */ new Set();
1516
+ const findMatchingGroups = (node, path = []) => {
1517
+ for (const [key, value] of Object.entries(node)) {
1518
+ if (value.__isLeaf) {
1519
+ const variableName = value.__variable.name.toLowerCase();
1520
+ if (variableName.includes(filterText)) {
1521
+ for (let i = 0; i < path.length; i++) {
1522
+ const groupPath = path.slice(0, i + 1).join("/");
1523
+ groupsToExpand.add(groupPath);
1524
+ }
1525
+ }
1526
+ } else {
1527
+ const groupPath = [...path, key].join("/");
1528
+ findMatchingGroups(value.__children, [...path, key]);
1529
+ if (key.toLowerCase().includes(filterText)) {
1530
+ groupsToExpand.add(groupPath);
1531
+ }
1532
+ }
1533
+ }
1534
+ };
1535
+ findMatchingGroups(tree);
1536
+ if (groupsToExpand.size > 0) {
1537
+ this.expandedVariableGroups = /* @__PURE__ */ new Set([
1538
+ ...this.expandedVariableGroups,
1539
+ ...groupsToExpand
1540
+ ]);
1541
+ }
1542
+ };
1543
+ _buildVariableTree = new WeakSet();
1544
+ buildVariableTree_fn = function(variables) {
1545
+ let filteredVariables = variables;
1546
+ if (this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables) {
1547
+ filteredVariables = variables.filter((v) => {
1548
+ var _a, _b, _c;
1549
+ const shortName = (_a = this.collectionWithServices) == null ? void 0 : _a.shortName;
1550
+ const version = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.collection) == null ? void 0 : _c.Version;
1551
+ if (!shortName || !version) {
1552
+ return false;
1553
+ }
1554
+ const giovanniVariableName = convertVariableEntryIdToGiovanniFormat(
1555
+ shortName,
1556
+ version,
1557
+ v.name
1558
+ );
1559
+ return this.giovanniConfiguredVariables.has(giovanniVariableName);
1560
+ });
1561
+ }
1562
+ const root = {};
1563
+ for (const v of filteredVariables) {
1564
+ const parts = v.name.split("/");
1565
+ let node = root;
1566
+ for (let i = 0; i < parts.length; i++) {
1567
+ const part = parts[i];
1568
+ if (!node[part])
1569
+ node[part] = { __children: {}, __isLeaf: false };
1570
+ if (i === parts.length - 1) {
1571
+ node[part].__isLeaf = true;
1572
+ node[part].__variable = v;
1573
+ }
1574
+ node = node[part].__children;
1575
+ }
1576
+ }
1577
+ return root;
1578
+ };
1579
+ _renderVariableTree = new WeakSet();
1580
+ renderVariableTree_fn = function(node, path) {
1581
+ const isGiovanni = this.selectedFormat.isGiovanniFormat;
1582
+ return b`
1583
+ <div style="margin-left: ${path.length * 20}px;">
1584
+ ${Object.entries(node).map(([key, value]) => {
1585
+ var _a;
1586
+ const groupPath = [...path, key].join("/");
1587
+ if (value.__isLeaf) {
1588
+ const ummVar = cmr_variable_service_default.getVariableByName(
1589
+ key,
1590
+ (_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data
1591
+ );
1592
+ const variableLabel = ummVar ? cmr_variable_service_default.getVariableDisplayLabel(ummVar) : key;
1593
+ return b`
1594
+ <div class="option-row">
1595
+ <label class="checkbox-option">
1596
+ <input
1597
+ type="${isGiovanni ? "radio" : "checkbox"}"
1598
+ name="${isGiovanni ? "variable-selection" : ""}"
1599
+ .checked=${this.selectedVariables.some(
1600
+ (v) => v.name === value.__variable.name
1601
+ )}
1602
+ @change=${(e2) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e2, value.__variable)}
1603
+ />
1604
+ <span>${variableLabel}</span>
1605
+ </label>
1606
+ </div>
1607
+ `;
1608
+ } else {
1609
+ const expanded = this.expandedVariableGroups.has(groupPath);
1610
+ return b`
1611
+ <div class="option-row" style="align-items: flex-start;">
1612
+ <span
1613
+ style="cursor: pointer; display: flex; align-items: center;"
1614
+ @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1615
+ >
1616
+ <terra-icon
1617
+ library="heroicons"
1618
+ name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1619
+ style="margin-right: 4px;"
1620
+ ></terra-icon>
1621
+ <span style="font-weight: 500;">${key}</span>
1622
+ </span>
1623
+ </div>
1624
+ ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1625
+ ...path,
1626
+ key
1627
+ ]) : ""}
1628
+ `;
1629
+ }
1630
+ })}
1631
+ </div>
1632
+ `;
1633
+ };
1634
+ _getAllGroupPaths = new WeakSet();
1635
+ getAllGroupPaths_fn = function(node, path = []) {
1636
+ let groups = [];
1637
+ for (const [key, value] of Object.entries(node)) {
1638
+ if (!value.__isLeaf) {
1639
+ const groupPath = [...path, key].join("/");
1640
+ groups.push(groupPath);
1641
+ groups = groups.concat(
1642
+ __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1643
+ );
1644
+ }
1645
+ }
1646
+ return groups;
1647
+ };
1648
+ _toggleGroupExpand = new WeakSet();
1649
+ toggleGroupExpand_fn = function(groupPath) {
1650
+ const set = new Set(this.expandedVariableGroups);
1651
+ if (set.has(groupPath)) {
1652
+ set.delete(groupPath);
1653
+ } else {
1654
+ set.add(groupPath);
1655
+ }
1656
+ this.expandedVariableGroups = set;
1657
+ };
1658
+ _toggleExpandCollapseAll = new WeakSet();
1659
+ toggleExpandCollapseAll_fn = function(tree) {
1660
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1661
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1662
+ if (allExpanded) {
1663
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
1664
+ } else {
1665
+ this.expandedVariableGroups = new Set(allGroups);
1666
+ }
1667
+ };
1668
+ _toggleVariableSelection = new WeakSet();
1669
+ toggleVariableSelection_fn = function(e2, variable) {
1670
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1671
+ const checked = e2.target.checked;
1672
+ if (this.selectedFormat.isGiovanniFormat) {
1673
+ if (checked) {
1674
+ this.selectedVariables = [variable];
1675
+ }
1676
+ } else {
1677
+ if (checked) {
1678
+ if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1679
+ this.selectedVariables = [...this.selectedVariables, variable];
1680
+ }
1681
+ } else {
1682
+ this.selectedVariables = this.selectedVariables.filter(
1683
+ (v) => v.name !== variable.name
1684
+ );
1685
+ }
1686
+ }
1687
+ };
1688
+ _markFieldTouched = new WeakSet();
1689
+ markFieldTouched_fn = function(field) {
1690
+ this.touchedFields = new Set(this.touchedFields).add(field);
1691
+ };
1692
+ _resetVariableSelection = new WeakMap();
1693
+ _resetDimensionSelection = new WeakSet();
1694
+ resetDimensionSelection_fn = function() {
1695
+ this.selectedDimensionIndexes = {};
1696
+ };
1697
+ _isDimensionExcluded = new WeakSet();
1698
+ isDimensionExcluded_fn = function(dim) {
1699
+ var _a, _b, _c;
1700
+ const normalizedName = (_b = (_a = dim.Name) == null ? void 0 : _a.toLowerCase()) != null ? _b : "";
1701
+ const normalizedType = ((_c = dim.Type) != null ? _c : "").toLowerCase();
1702
+ return ["time", "latitude", "longitude", "lat", "lon", "x", "y"].some(
1703
+ (value) => normalizedName.includes(value) || normalizedType.includes(value)
1704
+ );
1705
+ };
1706
+ _getCommonSelectableDimensions = new WeakSet();
1707
+ getCommonSelectableDimensions_fn = function() {
1708
+ var _a, _b;
1709
+ const variables = (_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data;
1710
+ if (!variables) {
1711
+ return [];
1712
+ }
1713
+ const allUmmVars = (_b = variables.items) != null ? _b : [];
1714
+ if (!allUmmVars.length) {
1715
+ return [];
1716
+ }
1717
+ const allDimensionSets = allUmmVars.map(
1718
+ (v) => {
1719
+ var _a2;
1720
+ return (_a2 = v.umm.Dimensions) != null ? _a2 : [];
1721
+ }
1722
+ );
1723
+ if (!allDimensionSets.length) {
1724
+ return [];
1725
+ }
1726
+ const allDimensionNames = Array.from(
1727
+ new Set(allDimensionSets.flatMap((dimSet) => dimSet.map((dim) => dim.Name)))
1728
+ );
1729
+ const filteredCommon = allDimensionNames.map((name) => {
1730
+ var _a2, _b2;
1731
+ const dims = allDimensionSets.map((set) => set.find((dim) => dim.Name === name)).filter((d) => Boolean(d));
1732
+ if (!dims.length) {
1733
+ return null;
1734
+ }
1735
+ const validSizes = dims.filter((dim) => dim.Size !== void 0 && dim.Size !== "Varies").map((dim) => Number(dim.Size)).filter((size2) => Number.isFinite(size2) && size2 > 0);
1736
+ if (!validSizes.length) {
1737
+ return null;
1738
+ }
1739
+ const size = Math.min(...validSizes);
1740
+ return {
1741
+ name,
1742
+ type: (_b2 = (_a2 = dims[0]) == null ? void 0 : _a2.Type) != null ? _b2 : "OTHER",
1743
+ size
1744
+ };
1745
+ }).filter(
1746
+ (entry) => Boolean(entry)
1747
+ ).filter(
1748
+ (entry) => !__privateMethod(this, _isDimensionExcluded, isDimensionExcluded_fn).call(this, {
1749
+ Name: entry.name,
1750
+ Type: entry.type
1751
+ })
1752
+ );
1753
+ return filteredCommon;
1754
+ };
1755
+ _renderJobStatus = new WeakSet();
1756
+ renderJobStatus_fn = function() {
1757
+ var _a, _b, _c, _d, _e;
1758
+ if (!__privateGet(this, _harmonyRequestController).jobId) {
1759
+ return b`<div class="results-section" id="job-status-section">
1760
+ <div
1761
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1762
+ >
1763
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1764
+ ${!this.isHistoryView ? b`
1765
+ <terra-button
1766
+ variant="default"
1767
+ size="small"
1768
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1769
+ >
1770
+ ← Back to Subset Options
1771
+ </terra-button>
1772
+ ` : A}
1773
+ </div>
1774
+
1775
+ <div class="progress-container">
1776
+ ${this.harmonyRequestError ? b`
1777
+ <terra-alert open variant="danger" appearance="white">
1778
+ ${__privateMethod(this, _renderHarmonyRequestError, renderHarmonyRequestError_fn).call(this)}
1779
+ </terra-alert>
1780
+ ` : b`
1781
+ <div class="progress-container">
1782
+ <div class="progress-text">
1783
+ <span class="spinner"></span>
1784
+ <span class="status-running"
1785
+ >Searching for data...</span
1786
+ >
1787
+ </div>
1788
+
1789
+ <div class="progress-bar">
1790
+ <div
1791
+ class="progress-fill"
1792
+ style="width: 0%"
1793
+ ></div>
1794
+ </div>
1795
+ </div>
1796
+
1797
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1798
+ `}
1799
+ </div>
1800
+ </div>`;
1801
+ }
1802
+ return b`
1803
+ <div class="results-section" id="job-status-section">
1804
+ <div
1805
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1806
+ >
1807
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1808
+ ${!this.isHistoryView ? b`
1809
+ <terra-button
1810
+ variant="default"
1811
+ size="small"
1812
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1813
+ >
1814
+ ← Back to Subset Options
1815
+ </terra-button>
1816
+ ` : A}
1817
+ </div>
1818
+
1819
+ ${__privateGet(this, _harmonyRequestController).status !== "canceled" && __privateGet(this, _harmonyRequestController).status !== "failed" ? b` <div class="progress-container">
1820
+ <div class="progress-text">
1821
+ ${__privateGet(this, _harmonyRequestController).progress >= 100 ? b`
1822
+ <span class="status-complete"
1823
+ >✓ Search complete</span
1824
+ >
1825
+ ` : b`
1826
+ <span class="spinner"></span>
1827
+ <span class="status-running"
1828
+ >Searching for data...
1829
+ (${__privateGet(this, _harmonyRequestController).progress}%)</span
1830
+ >
1831
+ `}
1832
+ </div>
1833
+
1834
+ <div class="progress-bar">
1835
+ <div
1836
+ class="progress-fill"
1837
+ style="width: ${__privateGet(this, _harmonyRequestController).progress}%"
1838
+ ></div>
1839
+ </div>
1840
+ </div>` : A}
1841
+
1842
+ <div class="search-status">
1843
+ <span class="file-count"
1844
+ >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1845
+ >
1846
+ out of estimated
1847
+ <span class="estimated-total"
1848
+ >${(_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.numInputGranules.toLocaleString()}</span
1849
+ >
1850
+ </div>
1851
+
1852
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1853
+ ${((_c = (_b = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _b.errors) == null ? void 0 : _c.length) ? b`
1854
+ <terra-accordion>
1855
+ <div slot="summary">
1856
+ <span
1857
+ class="accordion-title"
1858
+ style="color: #dc3545;"
1859
+ >Errors
1860
+ (${(_d = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _d.errors.length})</span
1861
+ >
1862
+ </div>
1863
+ <div class="accordion-content">
1864
+ <ul
1865
+ style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1866
+ >
1867
+ ${(_e = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _e.errors.map(
1868
+ (err) => b`
1869
+ <li style="margin-bottom: 12px;">
1870
+ <a
1871
+ href="${err.url}"
1872
+ target="_blank"
1873
+ style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1874
+ >
1875
+ ${err.url}
1876
+ </a>
1877
+ <div style="margin-top: 2px;">
1878
+ ${err.message}
1879
+ </div>
1880
+ </li>
1881
+ `
1882
+ )}
1883
+ </ul>
1884
+ </div>
1885
+ </terra-accordion>
1886
+ ` : A}
1887
+
1888
+ <div class="tabs">
1889
+ <button
1890
+ class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1891
+ @click=${() => this.selectedTab = "web-links"}
1892
+ >
1893
+ Web Links
1894
+ </button>
1895
+
1896
+ ${!this.isHistoryView ? b`
1897
+ <button
1898
+ class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1899
+ @click=${() => this.selectedTab = "selected-params"}
1900
+ >
1901
+ Selected Parameters
1902
+ </button>
1903
+ ` : A}
1904
+ </div>
1905
+ <div
1906
+ id="web-links"
1907
+ class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1908
+ >
1909
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? b`
1910
+ <div class="documentation-links">
1911
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1912
+ (link) => b`
1913
+ <a href="${link.href}" class="doc-link"
1914
+ >${link.title}</a
1915
+ >
1916
+ `
1917
+ )}
1918
+ </div>
1919
+ ` : A}
1920
+
1921
+ <ul class="file-list">
1922
+ ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1923
+ (link) => b`
1924
+ <li class="file-item">
1925
+ <a
1926
+ href="${link.href}"
1927
+ class="file-link"
1928
+ target="_blank"
1929
+ >
1930
+ ${link.title}
1931
+ </a>
1932
+ </li>
1933
+ `
1934
+ )}
1935
+ </ul>
1936
+ </div>
1937
+
1938
+ <div
1939
+ id="selected-params"
1940
+ class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1941
+ >
1942
+ ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1943
+ </div>
1944
+ </div>
1945
+
1946
+ ${!this.dialog ? b`
1947
+ <div class="footer">
1948
+ ${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
1949
+ <div
1950
+ style="display: flex; align-items: center; gap: 8px;"
1951
+ >
1952
+ <terra-dropdown
1953
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1954
+ >
1955
+ <terra-button slot="trigger" caret>
1956
+ Download Options
1957
+ </terra-button>
1958
+ <terra-menu>
1959
+ <terra-menu-item value="file-list">
1960
+ <svg
1961
+ slot="prefix"
1962
+ viewBox="0 0 24 24"
1963
+ width="16"
1964
+ height="16"
1965
+ style="width: 16px; height: 16px;"
1966
+ >
1967
+ <path
1968
+ fill="currentColor"
1969
+ 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"
1970
+ />
1971
+ </svg>
1972
+ File List
1973
+ </terra-menu-item>
1974
+ <terra-menu-item
1975
+ value="python-script"
1976
+ >
1977
+ <svg
1978
+ slot="prefix"
1979
+ viewBox="0 0 128 128"
1980
+ width="16"
1981
+ height="16"
1982
+ style="width: 16px; height: 16px;"
1983
+ >
1984
+ <path
1985
+ fill="currentColor"
1986
+ 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"
1987
+ ></path>
1988
+ </svg>
1989
+ Python Script
1990
+ </terra-menu-item>
1991
+ <terra-menu-item
1992
+ value="earthdata-download"
1993
+ >
1994
+ <svg
1995
+ slot="prefix"
1996
+ viewBox="0 0 64 64"
1997
+ fill="none"
1998
+ width="16"
1999
+ height="16"
2000
+ style="width: 16px; height: 16px;"
2001
+ >
2002
+ <circle
2003
+ cx="32"
2004
+ cy="32"
2005
+ r="28"
2006
+ fill="currentColor"
2007
+ />
2008
+ <path
2009
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
2010
+ stroke="#fff"
2011
+ stroke-width="4"
2012
+ stroke-linecap="round"
2013
+ stroke-linejoin="round"
2014
+ fill="none"
2015
+ />
2016
+ </svg>
2017
+ Earthdata Download
2018
+ </terra-menu-item>
2019
+ </terra-menu>
2020
+ </terra-dropdown>
2021
+
2022
+ <!--
2023
+ <terra-button
2024
+ outline
2025
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
2026
+ >
2027
+ <terra-icon
2028
+ name="outline-code-bracket"
2029
+ library="heroicons"
2030
+ font-size="1.5em"
2031
+ style="margin-right: 5px;"
2032
+ ></terra-icon>
2033
+ Open in Jupyter Notebook
2034
+ </terra-button>
2035
+ --></div>
2036
+ ` : A}
2037
+ ${__privateGet(this, _harmonyRequestController).status === "running" /* RUNNING */ ? b`<button
2038
+ class="btn btn-success"
2039
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
2040
+ ?disabled=${this.cancelingGetData}
2041
+ >
2042
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
2043
+ </button>` : A}
2044
+
2045
+ <div class="job-info">
2046
+ Job ID:
2047
+ <span class="job-id">
2048
+ ${this.bearerToken ? b`<a
2049
+ href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
2050
+ target="_blank"
2051
+ >${__privateGet(this, _harmonyRequestController).jobId}</a
2052
+ >` : __privateGet(this, _harmonyRequestController).jobId}
2053
+ </span>
2054
+ <span class="info-icon">?</span>
2055
+ </div>
2056
+ </div>
2057
+ ` : A}
2058
+ `;
2059
+ };
2060
+ _renderSelectedParams = new WeakSet();
2061
+ renderSelectedParams_fn = function() {
2062
+ var _a, _b, _c, _d;
2063
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
2064
+ const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
2065
+ const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
2066
+ const spatial = (_c = (_b = this.spatialSelection) == null ? void 0 : _b.toString()) != null ? _c : "-";
2067
+ return b`
2068
+ <dl class="params-summary">
2069
+ <div>
2070
+ <dt><strong>Dataset</strong></dt>
2071
+ <dd>${(_d = collection == null ? void 0 : collection.EntryTitle) != null ? _d : "\u2014"}</dd>
2072
+ </div>
2073
+ <div>
2074
+ <dt><strong>Variables</strong></dt>
2075
+ <dd>${variables.map((v) => b`<div>${v}</div>`)}</dd>
2076
+ </div>
2077
+ <div>
2078
+ <dt><strong>Dimensions</strong></dt>
2079
+ <dd>
2080
+ ${Object.entries(this.selectedDimensionIndexes).length ? Object.entries(this.selectedDimensionIndexes).map(
2081
+ ([dimName, value]) => b`<div>
2082
+ <strong>${dimName}:</strong> ${value}
2083
+ </div>`
2084
+ ) : "\u2014"}
2085
+ </dd>
2086
+ </div>
2087
+ <div>
2088
+ <dt><strong>Date Range</strong></dt>
2089
+ <dd>${dateRange}</dd>
2090
+ </div>
2091
+ <div>
2092
+ <dt><strong>Spatial</strong></dt>
2093
+ <dd>${spatial}</dd>
2094
+ </div>
2095
+ </dl>
2096
+
2097
+ <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
2098
+ >Refine Parameters</terra-button
2099
+ >
2100
+ `;
2101
+ };
2102
+ _cancelJob = new WeakSet();
2103
+ cancelJob_fn = async function() {
2104
+ if (!this.jobId) {
2105
+ return;
2106
+ }
2107
+ this.cancelingGetData = true;
2108
+ try {
2109
+ await __privateGet(this, _harmonyRequestController).cancelJob({
2110
+ jobId: this.jobId,
2111
+ options: { bearerToken: this.bearerToken }
2112
+ });
2113
+ } finally {
2114
+ this.cancelingGetData = false;
2115
+ }
2116
+ };
2117
+ _getData = new WeakSet();
2118
+ getData_fn = async function() {
2119
+ if (this.isSubmittingRequest) {
2120
+ return;
2121
+ }
2122
+ this.isSubmittingRequest = true;
2123
+ try {
2124
+ await __privateMethod(this, _submitDataRequest, submitDataRequest_fn).call(this);
2125
+ } finally {
2126
+ this.isSubmittingRequest = false;
2127
+ }
2128
+ };
2129
+ _submitDataRequest = new WeakSet();
2130
+ submitDataRequest_fn = async function() {
2131
+ var _a, _b, _c, _d, _e, _f, _g, _h;
2132
+ this.harmonyRequestError = void 0;
2133
+ const validationError = __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
2134
+ if (validationError) {
2135
+ this.validationError = validationError;
2136
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
2137
+ return;
2138
+ }
2139
+ this.validationError = void 0;
2140
+ this.cancelingGetData = false;
2141
+ __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
2142
+ const variables = this.selectedFormat.isGiovanniFormat ? this.selectedVariables.map(
2143
+ (v) => {
2144
+ var _a2, _b2, _c2;
2145
+ return (
2146
+ // the Giovanni variable catalog uses different variable entry ids, we need to support them
2147
+ // ex. CMR: M2T1NXSLV_5.2.14 in Giovanni uses underscores: M2T1NXSLV_5_2_14
2148
+ convertVariableEntryIdToGiovanniFormat(
2149
+ (_a2 = this.collectionWithServices.shortName) != null ? _a2 : "",
2150
+ (_c2 = (_b2 = this.collectionWithServices.collection) == null ? void 0 : _b2.Version) != null ? _c2 : "",
2151
+ v.name
2152
+ )
2153
+ );
2154
+ }
2155
+ ) : this.selectedVariables.map((v) => v.conceptId);
2156
+ const harmonyRequest = new HarmonyRequest({
2157
+ collectionConceptId: this.collectionWithServices.conceptId,
2158
+ variables,
2159
+ location: this.spatialSelection,
2160
+ anonymous: !__privateGet(this, _authController).state.user
2161
+ });
2162
+ if (this.shapeGeoJson) {
2163
+ harmonyRequest.shape(this.shapeGeoJson);
2164
+ }
2165
+ if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
2166
+ harmonyRequest.startDate(
2167
+ this.isSubDaily ? this.selectedDateRange.startDate : getUTCDate(this.selectedDateRange.startDate).toISOString()
2168
+ );
2169
+ harmonyRequest.endDate(
2170
+ this.isSubDaily ? this.selectedDateRange.endDate : getUTCDate(this.selectedDateRange.endDate).toISOString()
2171
+ );
2172
+ }
2173
+ if (this.selectedFormat) {
2174
+ harmonyRequest.format(
2175
+ this.selectedFormat.isGiovanniFormat ? "text/csv" : this.selectedFormat.key
2176
+ );
2177
+ }
2178
+ if (this.selectedFormat.key === "text/csv") {
2179
+ harmonyRequest.average("area");
2180
+ }
2181
+ if (this.selectedFormat.key === "image/tiff") {
2182
+ harmonyRequest.average("time");
2183
+ }
2184
+ if (Object.keys(this.selectedDimensionIndexes).length) {
2185
+ Object.entries(this.selectedDimensionIndexes).forEach(
2186
+ ([dimName, { start, end }]) => {
2187
+ harmonyRequest.dimension({
2188
+ name: dimName,
2189
+ min: start,
2190
+ max: end
2191
+ });
2192
+ }
2193
+ );
2194
+ }
2195
+ harmonyRequest.label("terra-data-subsetter");
2196
+ 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;
2197
+ const cwsVersion = (_f = (_e = this.collectionWithServices) == null ? void 0 : _e.collection) == null ? void 0 : _f.Version;
2198
+ const cwsEntryTitle = (_h = (_g = this.collectionWithServices) == null ? void 0 : _g.collection) == null ? void 0 : _h.EntryTitle;
2199
+ if (cwsShortName && cwsVersion) {
2200
+ harmonyRequest.label(
2201
+ `collection-entry-id: ${cwsShortName}_${cwsVersion}`.toLowerCase()
2202
+ );
2203
+ }
2204
+ if (cwsEntryTitle) {
2205
+ harmonyRequest.label(
2206
+ `collection-entry-title: ${cwsEntryTitle.toLowerCase()}`
2207
+ );
2208
+ }
2209
+ console.log("Creating Harmony job with request:", harmonyRequest.params);
2210
+ try {
2211
+ const job = await __privateGet(this, _harmonyRequestController).startJob({
2212
+ harmonyRequest,
2213
+ options: { bearerToken: this.bearerToken }
2214
+ });
2215
+ this.jobId = job.jobID;
2216
+ } catch (error) {
2217
+ this.harmonyRequestError = __privateMethod(this, _getHarmonyRequestErrorMessage, getHarmonyRequestErrorMessage_fn).call(this, error);
2218
+ this.refineParameters = false;
2219
+ return;
2220
+ }
2221
+ setTimeout(() => {
2222
+ const el = this.renderRoot.querySelector("#job-status-section");
2223
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
2224
+ }, 100);
2225
+ this.refineParameters = false;
2226
+ this.isHistoryView = false;
2227
+ };
2228
+ _touchAllFields = new WeakSet();
2229
+ touchAllFields_fn = function() {
2230
+ this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
2231
+ };
2232
+ _numberOfFilesFoundEstimate = new WeakSet();
2233
+ numberOfFilesFoundEstimate_fn = function() {
2234
+ var _a, _b, _c;
2235
+ return Math.floor(
2236
+ ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.numInputGranules) != null ? _b : 0) * ((_c = __privateGet(this, _harmonyRequestController).progress) != null ? _c : 0) / 100
2237
+ );
2238
+ };
2239
+ _getDocumentationLinks = new WeakSet();
2240
+ getDocumentationLinks_fn = function() {
2241
+ var _a, _b;
2242
+ return ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links) != null ? _b : []).filter(
2243
+ (link) => link.rel === "stac-catalog-json"
2244
+ );
2245
+ };
2246
+ _getDataLinks = new WeakSet();
2247
+ getDataLinks_fn = function() {
2248
+ var _a, _b;
2249
+ return ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links) != null ? _b : []).filter(
2250
+ (link) => link.rel === "data"
2251
+ );
2252
+ };
2253
+ _hasAtLeastOneSubsetOption = new WeakSet();
2254
+ hasAtLeastOneSubsetOption_fn = function() {
2255
+ var _a, _b, _c, _d;
2256
+ 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);
2257
+ };
2258
+ _hasSpatialSubset = new WeakSet();
2259
+ hasSpatialSubset_fn = function() {
2260
+ var _a, _b;
2261
+ return ((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.bbox) || ((_b = this.collectionWithServices) == null ? void 0 : _b.summary.subsetting.shape);
2262
+ };
2263
+ _renderJobMessage = new WeakSet();
2264
+ renderJobMessage_fn = function() {
2265
+ var _a;
2266
+ const warningStatuses = [
2267
+ "canceled" /* CANCELED */,
2268
+ "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
2269
+ "running_with_errors" /* RUNNING_WITH_ERRORS */
2270
+ ];
2271
+ const errorStatuses = ["failed" /* FAILED */];
2272
+ if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.status)) {
2273
+ return A;
2274
+ }
2275
+ let type = "normal";
2276
+ if (warningStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
2277
+ type = "warning";
2278
+ } else if (errorStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
2279
+ type = "error";
2280
+ }
2281
+ let color, bg;
2282
+ if (type === "error") {
2283
+ color = "#dc3545";
2284
+ bg = "#f8d7da";
2285
+ } else if (type === "warning") {
2286
+ color = "#856404";
2287
+ bg = "#fff3cd";
2288
+ } else {
2289
+ color = "#555";
2290
+ bg = "#f8f9fa";
2291
+ }
2292
+ return b`
2293
+ <div
2294
+ style="
2295
+ margin: 24px 0 16px 0;
2296
+ padding: 16px 20px;
2297
+ border-radius: 6px;
2298
+ background: ${bg};
2299
+ color: ${color};
2300
+ border: 1px solid ${color}22;
2301
+ "
2302
+ >
2303
+ ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
2304
+ </div>
2305
+ `;
2306
+ };
2307
+ _getJobMessageText = new WeakSet();
2308
+ getJobMessageText_fn = function() {
2309
+ var _a;
2310
+ return (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.message.replace(
2311
+ /\b(The job|the job|job|Job)\b/g,
2312
+ (match) => {
2313
+ switch (match) {
2314
+ case "The job":
2315
+ return "Your request";
2316
+ case "the job":
2317
+ return "Your Request";
2318
+ case "job":
2319
+ return "request";
2320
+ case "Job":
2321
+ return "Request";
2322
+ }
2323
+ return match;
2324
+ }
2325
+ );
2326
+ };
2327
+ _estimateJobSize = new WeakSet();
2328
+ estimateJobSize_fn = function() {
2329
+ var _a, _b, _c, _d, _e;
2330
+ if (!((_a = this.collectionWithServices) == null ? void 0 : _a.granuleCount))
2331
+ return;
2332
+ const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2333
+ let startDate;
2334
+ let endDate;
2335
+ let links = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.granuleCount) != null ? _c : 0;
2336
+ if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
2337
+ startDate = this.selectedDateRange.startDate;
2338
+ endDate = this.selectedDateRange.endDate;
2339
+ } else {
2340
+ startDate = (_d = this.granuleMinDate) != null ? _d : range.startDate;
2341
+ endDate = (_e = this.granuleMaxDate) != null ? _e : range.endDate;
2342
+ }
2343
+ if (!startDate || !endDate)
2344
+ return;
2345
+ const start = new Date(startDate);
2346
+ const end = new Date(endDate);
2347
+ const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
2348
+ if (range.startDate && range.endDate) {
2349
+ const availableDaysInCollection = Math.floor(
2350
+ (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
2351
+ ) + 1;
2352
+ const granulesPerDay = links / availableDaysInCollection;
2353
+ links = Math.ceil(days * granulesPerDay);
2354
+ }
2355
+ return { days, links };
2356
+ };
2357
+ _refineParameters = new WeakSet();
2358
+ refineParameters_fn = function() {
2359
+ this.refineParameters = true;
2360
+ };
2361
+ _backToSubsetOptions = new WeakSet();
2362
+ backToSubsetOptions_fn = function() {
2363
+ this.refineParameters = true;
2364
+ this.harmonyRequestError = void 0;
2365
+ setTimeout(() => {
2366
+ const container = this.renderRoot.querySelector(".container");
2367
+ container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
2368
+ }, 100);
2369
+ };
2370
+ _viewRunningJob = new WeakSet();
2371
+ viewRunningJob_fn = function() {
2372
+ this.refineParameters = false;
2373
+ setTimeout(() => {
2374
+ const el = this.renderRoot.querySelector("#job-status-section");
2375
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
2376
+ }, 100);
2377
+ };
2378
+ _handleDownloadSelect = new WeakSet();
2379
+ handleDownloadSelect_fn = function(event) {
2380
+ const item = event.detail.item;
2381
+ const value = item.value || item.getTextLabel();
2382
+ if (value === "file-list") {
2383
+ __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
2384
+ } else if (value === "python-script") {
2385
+ __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
2386
+ } else if (value === "earthdata-download") {
2387
+ __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
2388
+ }
2389
+ };
2390
+ _downloadLinksAsTxt = new WeakSet();
2391
+ downloadLinksAsTxt_fn = function(event) {
2392
+ var _a;
2393
+ event.stopPropagation();
2394
+ if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2395
+ return;
2396
+ }
2397
+ const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
2398
+ if (dataLinks.length === 0) {
2399
+ return;
2400
+ }
2401
+ const content = dataLinks.map((link) => link.href).join("\n");
2402
+ const blob = new Blob([content], { type: "text/plain" });
2403
+ const url = URL.createObjectURL(blob);
2404
+ const a = document.createElement("a");
2405
+ a.href = url;
2406
+ a.download = `subset_links_${__privateGet(this, _harmonyRequestController).jobId}.txt`;
2407
+ document.body.appendChild(a);
2408
+ a.click();
2409
+ document.body.removeChild(a);
2410
+ URL.revokeObjectURL(url);
2411
+ };
2412
+ _downloadPythonScript = new WeakSet();
2413
+ downloadPythonScript_fn = async function(event) {
2414
+ var _a, _b, _c, _d;
2415
+ event.stopPropagation();
2416
+ if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2417
+ return;
2418
+ }
2419
+ const response = await fetch(
2420
+ getBasePath("assets/data-subsetter/download_subset_files.py.txt")
2421
+ );
2422
+ if (!response.ok) {
2423
+ alert(
2424
+ "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
2425
+ );
2426
+ }
2427
+ const content = (await response.text()).replace(/{{jobId}}/gi, (_b = __privateGet(this, _harmonyRequestController).jobId) != null ? _b : "").replace(
2428
+ /{{HARMONY_ENV}}/gi,
2429
+ `Environment.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
2430
+ ).replace(
2431
+ /{{EARTHACCESS_ENV}}/gi,
2432
+ `earthaccess.${(_d = this.environment) == null ? void 0 : _d.toUpperCase()}`
2433
+ );
2434
+ const blob = new Blob([content], { type: "text/plain" });
2435
+ const url = URL.createObjectURL(blob);
2436
+ const a = document.createElement("a");
2437
+ a.href = url;
2438
+ a.download = `download_subset_files_${__privateGet(this, _harmonyRequestController).jobId}.py`;
2439
+ document.body.appendChild(a);
2440
+ a.click();
2441
+ document.body.removeChild(a);
2442
+ URL.revokeObjectURL(url);
2443
+ };
2444
+ _downloadEarthdataDownload = new WeakSet();
2445
+ downloadEarthdataDownload_fn = async function(event) {
2446
+ var _a;
2447
+ event.stopPropagation();
2448
+ if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2449
+ return;
2450
+ }
2451
+ alert("Sorry, Earthdata Download is not currently supported");
2452
+ };
2453
+ _handleJupyterNotebookClick = new WeakSet();
2454
+ handleJupyterNotebookClick_fn = function() {
2455
+ const notebook = getNotebook(this);
2456
+ sendDataToJupyterNotebook("load-notebook", {
2457
+ filename: `subset_${__privateGet(this, _harmonyRequestController).jobId}.ipynb`,
2458
+ notebook,
2459
+ bearerToken: this.bearerToken
2460
+ });
2461
+ };
2462
+ _renderAvailableTemporalRangeSection = new WeakSet();
2463
+ renderAvailableTemporalRangeSection_fn = function() {
2464
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2465
+ if (!startDate || !endDate)
2466
+ return A;
2467
+ return b`
2468
+ <div class="section" style="margin-bottom: 16px;">
2469
+ <h2 class="section-title">Available Date Range</h2>
2470
+ <div style="color: #31708f; margin-top: 8px;">
2471
+ <strong>${startDate}</strong> to <strong>${endDate}</strong>
2472
+ </div>
2473
+ <div style="font-size: 0.95em; color: #666;">
2474
+ This collection does not support temporal subsetting.
2475
+ </div>
2476
+ </div>
2477
+ `;
2478
+ };
2479
+ _renderAvailableSpatialRangeSection = new WeakSet();
2480
+ renderAvailableSpatialRangeSection_fn = function() {
2481
+ var _a, _b, _c, _d, _e;
2482
+ 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;
2483
+ if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
2484
+ return A;
2485
+ return b`
2486
+ <div class="section" style="margin-bottom: 16px;">
2487
+ <h2 class="section-title">Available Spatial Area</h2>
2488
+ <div style="color: #31708f; margin-top: 8px;">
2489
+ ${boundingRects.map(
2490
+ (rect) => b`<div>
2491
+ <strong>Bounding Box:</strong>
2492
+ ${rect.WestBoundingCoordinate},
2493
+ ${rect.SouthBoundingCoordinate},
2494
+ ${rect.EastBoundingCoordinate},
2495
+ ${rect.NorthBoundingCoordinate}
2496
+ </div>`
2497
+ )}
2498
+ </div>
2499
+ <div style="font-size: 0.95em; color: #666;">
2500
+ This collection does not support spatial subsetting.
2501
+ </div>
2502
+ </div>
2503
+ `;
2504
+ };
2505
+ _renderDataAccessModeSelection = new WeakSet();
2506
+ renderDataAccessModeSelection_fn = function() {
2507
+ if (!__privateGet(this, _collectionController).hasGranules) {
2508
+ return A;
2509
+ }
2510
+ return b`
2511
+ <div class="mode-selection">
2512
+ <div class="mode-options">
2513
+ <label
2514
+ class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
2515
+ >
2516
+ <input
2517
+ type="radio"
2518
+ name="data-access-mode"
2519
+ value="original"
2520
+ .checked=${this.dataAccessMode === "original"}
2521
+ @change=${() => this.dataAccessMode = "original"}
2522
+ />
2523
+ <div class="mode-content">
2524
+ <div class="mode-title">Get Original Files</div>
2525
+ <div class="mode-description">
2526
+ Filter file links directly from the archive.
2527
+ </div>
2528
+ </div>
2529
+ </label>
2530
+
2531
+ <label
2532
+ class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
2533
+ >
2534
+ <input
2535
+ type="radio"
2536
+ name="data-access-mode"
2537
+ value="subset"
2538
+ .checked=${this.dataAccessMode === "subset"}
2539
+ @change=${() => this.dataAccessMode = "subset"}
2540
+ />
2541
+ <div class="mode-content">
2542
+ <div class="mode-title">Transform Data</div>
2543
+ <div class="mode-description">
2544
+ Transform the data to your specific needs.
2545
+ </div>
2546
+ </div>
2547
+ </label>
2548
+ </div>
2549
+ </div>
2550
+ `;
2551
+ };
2552
+ _getGiovanniValidationError = new WeakSet();
2553
+ getGiovanniValidationError_fn = function() {
2554
+ if (!this.selectedFormat.isGiovanniFormat) {
2555
+ return null;
2556
+ }
2557
+ if (this.selectedVariables.length === 0) {
2558
+ return "Please select a variable to subset.";
2559
+ }
2560
+ if (this.selectedVariables.length > 1) {
2561
+ return "The selected format only supports subsetting one variable at a time.";
2562
+ }
2563
+ return null;
2564
+ };
2565
+ _getHarmonyRequestErrorMessage = new WeakSet();
2566
+ getHarmonyRequestErrorMessage_fn = function(error) {
2567
+ var _a;
2568
+ if (error instanceof HttpException) {
2569
+ const sanitizedMessage = (_a = error.message) == null ? void 0 : _a.replace(/^Error:\s*/i, "").trim();
2570
+ if (sanitizedMessage == null ? void 0 : sanitizedMessage.toLowerCase().includes("no matching granules found")) {
2571
+ return "No matching granules were found for your subset request. Please try expanding your search";
2572
+ }
2573
+ if (sanitizedMessage) {
2574
+ return sanitizedMessage;
2575
+ }
2576
+ }
2577
+ return "Unable to create your subset request. Please try again.";
2578
+ };
2579
+ _renderHarmonyRequestError = new WeakSet();
2580
+ renderHarmonyRequestError_fn = function() {
2581
+ if (!this.harmonyRequestError) {
2582
+ return A;
2583
+ }
2584
+ const noGranulesMessage = "No matching granules were found for your subset request. Please try expanding your search";
2585
+ if (this.harmonyRequestError === noGranulesMessage) {
2586
+ return b`
2587
+ No matching granules were found for your subset request. Please try
2588
+ <a
2589
+ href="#"
2590
+ @click=${__privateGet(this, _handleExpandSearchClick)}
2591
+ style="color: inherit; text-decoration: underline; font-weight: 600;"
2592
+ >
2593
+ expanding your search
2594
+ </a>
2595
+ `;
2596
+ }
2597
+ return this.harmonyRequestError;
2598
+ };
2599
+ _handleExpandSearchClick = new WeakMap();
2600
+ TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
2601
+ TerraDataSubsetter.dependencies = {
2602
+ "terra-accordion": TerraAccordion,
2603
+ "terra-date-picker": TerraDatePicker,
2604
+ "terra-icon": TerraIcon,
2605
+ "terra-input": TerraInput,
2606
+ "terra-spatial-picker": TerraSpatialPicker,
2607
+ "terra-login": TerraLogin,
2608
+ "terra-loader": TerraLoader,
2609
+ "terra-data-access": TerraDataAccess,
2610
+ "terra-dialog": TerraDialog,
2611
+ "terra-dropdown": TerraDropdown,
2612
+ "terra-menu": TerraMenu,
2613
+ "terra-menu-item": TerraMenuItem,
2614
+ "terra-button": TerraButton,
2615
+ "terra-alert": TerraAlert,
2616
+ "terra-slider": TerraSlider
2617
+ };
2618
+ __decorateClass([
2619
+ n({
2620
+ reflect: true,
2621
+ attribute: "collection-entry-id",
2622
+ converter: undefinedStringConverter
2623
+ })
2624
+ ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
2625
+ __decorateClass([
2626
+ n({
2627
+ reflect: true,
2628
+ attribute: "short-name",
2629
+ converter: undefinedStringConverter
2630
+ })
2631
+ ], TerraDataSubsetter.prototype, "shortName", 2);
2632
+ __decorateClass([
2633
+ n({
2634
+ reflect: true,
2635
+ attribute: "version",
2636
+ converter: undefinedStringConverter
2637
+ })
2638
+ ], TerraDataSubsetter.prototype, "version", 2);
2639
+ __decorateClass([
2640
+ n({
2641
+ reflect: true,
2642
+ type: Boolean,
2643
+ attribute: "show-collection-search"
2644
+ })
2645
+ ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
2646
+ __decorateClass([
2647
+ n({ reflect: true, type: Boolean, attribute: "show-history-panel" })
2648
+ ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
2649
+ __decorateClass([
2650
+ n({ reflect: true, attribute: "job-id" })
2651
+ ], TerraDataSubsetter.prototype, "jobId", 2);
2652
+ __decorateClass([
2653
+ n({
2654
+ attribute: "bearer-token",
2655
+ converter: undefinedStringConverter
2656
+ })
2657
+ ], TerraDataSubsetter.prototype, "bearerToken", 2);
2658
+ __decorateClass([
2659
+ n({ attribute: false })
2660
+ ], TerraDataSubsetter.prototype, "onLoginClick", 2);
2661
+ __decorateClass([
2662
+ n()
2663
+ ], TerraDataSubsetter.prototype, "features", 2);
2664
+ __decorateClass([
2665
+ n({ reflect: true })
2666
+ ], TerraDataSubsetter.prototype, "dialog", 2);
2667
+ __decorateClass([
2668
+ n({ reflect: true, type: Boolean, attribute: "is-history-view" })
2669
+ ], TerraDataSubsetter.prototype, "isHistoryView", 2);
2670
+ __decorateClass([
2671
+ r()
2672
+ ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
2673
+ __decorateClass([
2674
+ r()
2675
+ ], TerraDataSubsetter.prototype, "selectedVariables", 2);
2676
+ __decorateClass([
2677
+ r()
2678
+ ], TerraDataSubsetter.prototype, "selectedDimensionIndexes", 2);
2679
+ __decorateClass([
2680
+ r()
2681
+ ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
2682
+ __decorateClass([
2683
+ r()
2684
+ ], TerraDataSubsetter.prototype, "variableFilterText", 2);
2685
+ __decorateClass([
2686
+ r()
2687
+ ], TerraDataSubsetter.prototype, "touchedFields", 2);
2688
+ __decorateClass([
2689
+ r()
2690
+ ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2691
+ __decorateClass([
2692
+ r()
2693
+ ], TerraDataSubsetter.prototype, "shapeGeoJson", 2);
2694
+ __decorateClass([
2695
+ r()
2696
+ ], TerraDataSubsetter.prototype, "spatialLabel", 2);
2697
+ __decorateClass([
2698
+ r()
2699
+ ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2700
+ __decorateClass([
2701
+ r()
2702
+ ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2703
+ __decorateClass([
2704
+ r()
2705
+ ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2706
+ __decorateClass([
2707
+ r()
2708
+ ], TerraDataSubsetter.prototype, "isSubmittingRequest", 2);
2709
+ __decorateClass([
2710
+ r()
2711
+ ], TerraDataSubsetter.prototype, "selectedTab", 2);
2712
+ __decorateClass([
2713
+ r()
2714
+ ], TerraDataSubsetter.prototype, "refineParameters", 2);
2715
+ __decorateClass([
2716
+ r()
2717
+ ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2718
+ __decorateClass([
2719
+ r()
2720
+ ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2721
+ __decorateClass([
2722
+ r()
2723
+ ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2724
+ __decorateClass([
2725
+ r()
2726
+ ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2727
+ __decorateClass([
2728
+ r()
2729
+ ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2730
+ __decorateClass([
2731
+ r()
2732
+ ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2733
+ __decorateClass([
2734
+ r()
2735
+ ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2736
+ __decorateClass([
2737
+ r()
2738
+ ], TerraDataSubsetter.prototype, "validationError", 2);
2739
+ __decorateClass([
2740
+ r()
2741
+ ], TerraDataSubsetter.prototype, "harmonyRequestError", 2);
2742
+ __decorateClass([
2743
+ r()
2744
+ ], TerraDataSubsetter.prototype, "granuleMinDate", 2);
2745
+ __decorateClass([
2746
+ r()
2747
+ ], TerraDataSubsetter.prototype, "granuleMaxDate", 2);
2748
+ __decorateClass([
2749
+ r()
2750
+ ], TerraDataSubsetter.prototype, "giovanniConfiguredVariables", 2);
2751
+ __decorateClass([
2752
+ e('[part~="spatial-picker"]')
2753
+ ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2754
+ __decorateClass([
2755
+ e("terra-dialog")
2756
+ ], TerraDataSubsetter.prototype, "dialogElement", 2);
2757
+ __decorateClass([
2758
+ watch(["jobId"], { waitUntilFirstUpdate: true })
2759
+ ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2760
+ __decorateClass([
2761
+ watch(["shortName", "version"])
2762
+ ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2763
+ __decorateClass([
2764
+ watch("collectionEntryId", { waitUntilFirstUpdate: true })
2765
+ ], TerraDataSubsetter.prototype, "collectionEntryIdChanged", 1);
2766
+ __decorateClass([
2767
+ watch(["collectionWithServices"])
2768
+ ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2769
+ __decorateClass([
2770
+ watch(["granuleMinDate", "granuleMaxDate"])
2771
+ ], TerraDataSubsetter.prototype, "granuleDatesChanged", 1);
2772
+ __decorateClass([
2773
+ watch("selectedFormat")
2774
+ ], TerraDataSubsetter.prototype, "selectedFormatChanged", 1);
2775
+ __decorateClass([
2776
+ debounce(500)
2777
+ ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2778
+
2779
+ export {
2780
+ TerraDataSubsetter
2781
+ };