@nasa-terra/components 0.0.188 → 0.0.191

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 (1555) hide show
  1. package/cdn/chunks/chunk.2254DWDE.js +1197 -0
  2. package/cdn/chunks/chunk.262RP2XE.js +56075 -0
  3. package/cdn/chunks/chunk.26J2HGHO.js +190 -0
  4. package/cdn/chunks/chunk.26UZKSB4.js +352 -0
  5. package/cdn/chunks/chunk.2FWCEY7A.js +144 -0
  6. package/cdn/chunks/chunk.2PEBPN6E.js +241 -0
  7. package/cdn/chunks/chunk.33BHFHKT.js +110 -0
  8. package/cdn/chunks/chunk.35R3FIWH.js +29 -0
  9. package/cdn/chunks/chunk.36UI73QC.js +29 -0
  10. package/cdn/chunks/chunk.3GC3VEPG.js +19 -0
  11. package/cdn/chunks/chunk.3HGY2OQN.js +493 -0
  12. package/cdn/chunks/chunk.3OYBNUEI.js +2263 -0
  13. package/cdn/chunks/chunk.3S7WMMIE.js +478 -0
  14. package/cdn/chunks/chunk.3SWDEX6X.js +83 -0
  15. package/cdn/chunks/chunk.3TXZPWC4.js +303 -0
  16. package/cdn/chunks/chunk.3U6NF62S.js +276 -0
  17. package/cdn/chunks/chunk.3WW575WA.js +60 -0
  18. package/cdn/chunks/chunk.45CXCBSK.js +19 -0
  19. package/cdn/chunks/chunk.47KJF23J.js +35 -0
  20. package/cdn/chunks/chunk.4ISWIXVN.js +19 -0
  21. package/cdn/chunks/chunk.4LC3HXTW.js +216 -0
  22. package/cdn/chunks/chunk.4NQI77PM.js +19 -0
  23. package/cdn/chunks/chunk.4WWMT7S5.js +746 -0
  24. package/cdn/chunks/chunk.4X6WWIPJ.js +237 -0
  25. package/cdn/chunks/chunk.543QFGYT.js +283 -0
  26. package/cdn/chunks/chunk.564J4JRX.js +19 -0
  27. package/cdn/chunks/chunk.5AQKME2B.js +68 -0
  28. package/cdn/chunks/chunk.5CH4R2XF.js +230 -0
  29. package/cdn/chunks/chunk.5QL2BX3U.js +357 -0
  30. package/cdn/chunks/chunk.5ST44KN5.js +29 -0
  31. package/cdn/chunks/chunk.5WLOWVTH.js +19 -0
  32. package/cdn/chunks/chunk.5XN4CHYS.js +19 -0
  33. package/cdn/chunks/chunk.65NJM3X5.js +234 -0
  34. package/cdn/chunks/chunk.65Q2U4TR.js +69 -0
  35. package/cdn/chunks/chunk.67KZOH4P.js +29 -0
  36. package/cdn/chunks/chunk.6EF3RM53.js +195 -0
  37. package/cdn/chunks/chunk.6F2A5RGO.js +32 -0
  38. package/cdn/chunks/chunk.6SHDOSDX.js +1259 -0
  39. package/cdn/chunks/chunk.6TKJKIGR.js +259 -0
  40. package/cdn/chunks/chunk.6TXAD2M5.js +891 -0
  41. package/cdn/chunks/chunk.6WUVTS5T.js +19 -0
  42. package/cdn/chunks/chunk.6Y2YJ7VI.js +93 -0
  43. package/cdn/chunks/chunk.75ZN7ZHF.js +97 -0
  44. package/cdn/chunks/chunk.7ISACLMG.js +19 -0
  45. package/cdn/chunks/chunk.7T63UPCR.js +113 -0
  46. package/cdn/chunks/chunk.7UCY22RR.js +82 -0
  47. package/cdn/chunks/chunk.A2JK2DEX.js +19 -0
  48. package/cdn/chunks/chunk.A4Z7IIES.js +78 -0
  49. package/cdn/chunks/chunk.A5PVJF4Q.js +132 -0
  50. package/cdn/chunks/chunk.A7RI43SW.js +29 -0
  51. package/cdn/chunks/chunk.AKEAFDB3.js +128 -0
  52. package/cdn/chunks/chunk.AKPUZW7W.js +19 -0
  53. package/cdn/chunks/chunk.AT6JJ7OV.js +19 -0
  54. package/cdn/chunks/chunk.AVBFDPBA.js +19 -0
  55. package/cdn/chunks/chunk.AYVGZCLZ.js +551 -0
  56. package/cdn/chunks/chunk.B3SDJXLA.js +161 -0
  57. package/cdn/chunks/chunk.B4TFLVNP.js +36 -0
  58. package/cdn/chunks/chunk.BA3EXOZR.js +155 -0
  59. package/cdn/chunks/chunk.BDLK2MCA.js +151 -0
  60. package/cdn/chunks/chunk.BP6TJGHY.js +224 -0
  61. package/cdn/chunks/chunk.BPEXBRN7.js +19 -0
  62. package/cdn/chunks/chunk.BPYNWIMH.js +453 -0
  63. package/cdn/chunks/chunk.C2FX7JKT.js +30 -0
  64. package/cdn/chunks/chunk.CCMCLTO5.js +29 -0
  65. package/cdn/chunks/chunk.CDC6ECAD.js +1975 -0
  66. package/cdn/chunks/chunk.CFL5446I.js +314 -0
  67. package/cdn/chunks/chunk.CGFHAHHH.js +34 -0
  68. package/cdn/chunks/chunk.CQ2HGWVM.js +19 -0
  69. package/cdn/chunks/chunk.CV6WLSVP.js +19 -0
  70. package/cdn/chunks/chunk.CYUIF2ZE.js +220 -0
  71. package/cdn/chunks/chunk.D5UTEPJY.js +29 -0
  72. package/cdn/chunks/chunk.D5XPPO66.js +83 -0
  73. package/cdn/chunks/chunk.DA5AJNT3.js +19 -0
  74. package/cdn/chunks/chunk.DEHXTBBK.js +33 -0
  75. package/cdn/chunks/chunk.DFLPZEVR.js +32 -0
  76. package/cdn/chunks/chunk.DOUH7RMC.js +41 -0
  77. package/cdn/chunks/chunk.DUCD56DE.js +29 -0
  78. package/cdn/chunks/chunk.ECTHCJK7.js +539 -0
  79. package/cdn/chunks/chunk.EEAYQF6R.js +36 -0
  80. package/cdn/chunks/chunk.EJKUYYF5.js +29 -0
  81. package/cdn/chunks/chunk.EO4TUJGN.js +220 -0
  82. package/cdn/chunks/chunk.EPT3I5PV.js +36 -0
  83. package/cdn/chunks/chunk.EQNEWWN7.js +32 -0
  84. package/cdn/chunks/chunk.EVETX6CC.js +47 -0
  85. package/cdn/chunks/chunk.F2L2AHAX.js +19 -0
  86. package/cdn/chunks/chunk.F3PBZ4K2.js +32 -0
  87. package/cdn/chunks/chunk.FFIWGCVU.js +99 -0
  88. package/cdn/chunks/chunk.FHGT252S.js +359 -0
  89. package/cdn/chunks/chunk.FOHMHGWP.js +19 -0
  90. package/cdn/chunks/chunk.FRBFCI3M.js +52 -0
  91. package/cdn/chunks/chunk.FRIENHWD.js +19 -0
  92. package/cdn/chunks/chunk.FSJNUBNL.js +29 -0
  93. package/cdn/chunks/chunk.GBI6BYU7.js +19 -0
  94. package/cdn/chunks/chunk.GDEOUVFA.js +19 -0
  95. package/cdn/chunks/chunk.GEGQWMR7.js +19 -0
  96. package/cdn/chunks/chunk.GF3ZBX77.js +330 -0
  97. package/cdn/chunks/chunk.GFZIFOBJ.js +119 -0
  98. package/cdn/chunks/chunk.GGTQYGC5.js +458 -0
  99. package/cdn/chunks/chunk.GLEUAGZQ.js +33 -0
  100. package/cdn/chunks/chunk.GMQKNYVV.js +100 -0
  101. package/cdn/chunks/chunk.GTDPC327.js +108 -0
  102. package/cdn/chunks/chunk.GTJW4TWM.js +19 -0
  103. package/cdn/chunks/chunk.H23GKZYM.js +437 -0
  104. package/cdn/chunks/chunk.H5WUFEGF.js +104 -0
  105. package/cdn/chunks/chunk.HJGSBK77.js +19 -0
  106. package/cdn/chunks/chunk.HSILZMCT.js +19 -0
  107. package/cdn/chunks/chunk.HUU6UOOJ.js +663 -0
  108. package/cdn/chunks/chunk.HYIOQ4VO.js +231 -0
  109. package/cdn/chunks/chunk.IAH6PEFE.js +124 -0
  110. package/cdn/chunks/chunk.IAHPADIP.js +81 -0
  111. package/cdn/chunks/chunk.ICMS2GTW.js +32 -0
  112. package/cdn/chunks/chunk.IMZ2PUUZ.js +29 -0
  113. package/cdn/chunks/chunk.IPP7PQYM.js +33 -0
  114. package/cdn/chunks/chunk.IQGDMNPQ.js +341 -0
  115. package/cdn/chunks/chunk.IQKJGOOA.js +363 -0
  116. package/cdn/chunks/chunk.ISJMOZQH.js +74 -0
  117. package/cdn/chunks/chunk.ITK2GQEZ.js +1002 -0
  118. package/cdn/chunks/chunk.IUVYGTSB.js +33 -0
  119. package/cdn/chunks/chunk.IXC72OPP.js +29 -0
  120. package/cdn/chunks/chunk.IXTOOQL6.js +19 -0
  121. package/cdn/chunks/chunk.J6OYJXBE.js +19 -0
  122. package/cdn/chunks/chunk.JCD27DBZ.js +29 -0
  123. package/cdn/chunks/chunk.JJPMJZVA.js +29 -0
  124. package/cdn/chunks/chunk.JJRA6RDC.js +235 -0
  125. package/cdn/chunks/chunk.JP632EER.js +19 -0
  126. package/cdn/chunks/chunk.JPVE4VMN.js +310 -0
  127. package/cdn/chunks/chunk.JQDLN76T.js +19 -0
  128. package/cdn/chunks/chunk.K7NDNEO3.js +32 -0
  129. package/cdn/chunks/chunk.KALKPFEM.js +29 -0
  130. package/cdn/chunks/chunk.KAZO73JL.js +19 -0
  131. package/cdn/chunks/chunk.KKNKCTHS.js +346 -0
  132. package/cdn/chunks/chunk.KOJBQWLN.js +29 -0
  133. package/cdn/chunks/chunk.KRJ3544T.js +19 -0
  134. package/cdn/chunks/chunk.KRXWPPRW.js +32 -0
  135. package/cdn/chunks/chunk.KYYZNB77.js +538 -0
  136. package/cdn/chunks/chunk.L2HZBTUI.js +19 -0
  137. package/cdn/chunks/chunk.L2LRD76T.js +60 -0
  138. package/cdn/chunks/chunk.L3N5U2RI.js +41 -0
  139. package/cdn/chunks/chunk.L6YIIWMJ.js +39 -0
  140. package/cdn/chunks/chunk.LANTKQ6J.js +19 -0
  141. package/cdn/chunks/chunk.LGASTYNC.js +62 -0
  142. package/cdn/chunks/chunk.LY2MO4WB.js +266 -0
  143. package/cdn/chunks/chunk.LYBULWCK.js +138 -0
  144. package/cdn/chunks/chunk.M2XUBKCS.js +19 -0
  145. package/cdn/chunks/chunk.MEJP55EF.js +109 -0
  146. package/cdn/chunks/chunk.MF3WDXVC.js +29 -0
  147. package/cdn/chunks/chunk.MFWCWKQW.js +19 -0
  148. package/cdn/chunks/chunk.MGZ4OUHF.js +19 -0
  149. package/cdn/chunks/chunk.MIIW42T5.js +19 -0
  150. package/cdn/chunks/chunk.MJMUGCPO.js +29 -0
  151. package/cdn/chunks/chunk.MNHYBM5Z.js +82 -0
  152. package/cdn/chunks/chunk.MQZHN2NY.js +682 -0
  153. package/cdn/chunks/chunk.MTEJSLJ7.js +29 -0
  154. package/cdn/chunks/chunk.MU7KT4WB.js +19 -0
  155. package/cdn/chunks/chunk.MUW5GI3P.js +165 -0
  156. package/cdn/chunks/chunk.MVJSUWYZ.js +19 -0
  157. package/cdn/chunks/chunk.MXF6XQNU.js +19 -0
  158. package/cdn/chunks/chunk.MXPGGV5E.js +524 -0
  159. package/cdn/chunks/chunk.N6RPSEYY.js +293 -0
  160. package/cdn/chunks/chunk.NXTFWRHB.js +86 -0
  161. package/cdn/chunks/chunk.NYJPXEUG.js +277 -0
  162. package/cdn/chunks/chunk.NYKDNCHN.js +19 -0
  163. package/cdn/chunks/chunk.O4R7PTMM.js +915 -0
  164. package/cdn/chunks/chunk.O5PYYEPN.js +35 -0
  165. package/cdn/chunks/chunk.OF3FMFHW.js +35 -0
  166. package/cdn/chunks/chunk.P6233WZY.js +532 -0
  167. package/cdn/chunks/chunk.P6CMO6UZ.js +99 -0
  168. package/cdn/chunks/chunk.PGYLRQFG.js +19 -0
  169. package/cdn/chunks/chunk.PJRU5CGM.js +149 -0
  170. package/cdn/chunks/chunk.PJXBIMAE.js +32 -0
  171. package/cdn/chunks/chunk.PPYU4SFW.js +103 -0
  172. package/cdn/chunks/chunk.PU7SZLSG.js +370 -0
  173. package/cdn/chunks/chunk.PYND2VML.js +599 -0
  174. package/cdn/chunks/chunk.Q2NWOLHL.js +19 -0
  175. package/cdn/chunks/chunk.Q44BATKG.js +158 -0
  176. package/cdn/chunks/chunk.Q73UFZXB.js +29 -0
  177. package/cdn/chunks/chunk.Q7SV5DAR.js +29 -0
  178. package/cdn/chunks/chunk.QAIQVZZJ.js +121 -0
  179. package/cdn/chunks/chunk.QBPS4V2I.js +19 -0
  180. package/cdn/chunks/chunk.QCKKTVS2.js +32 -0
  181. package/cdn/chunks/chunk.QFQLLSEZ.js +29 -0
  182. package/cdn/chunks/chunk.QG6HLMSI.js +29 -0
  183. package/cdn/chunks/chunk.QHZGME7O.js +188 -0
  184. package/cdn/chunks/chunk.QJQWUFQG.js +19 -0
  185. package/cdn/chunks/chunk.QREPQHHM.js +32 -0
  186. package/cdn/chunks/chunk.QU3RKC7F.js +29 -0
  187. package/cdn/chunks/chunk.QWEARTJZ.js +19 -0
  188. package/cdn/chunks/chunk.R2K7YI7D.js +128 -0
  189. package/cdn/chunks/chunk.R2LD2BG6.js +366 -0
  190. package/cdn/chunks/chunk.R6FQRIIQ.js +151 -0
  191. package/cdn/chunks/chunk.REAGMPVS.js +19 -0
  192. package/cdn/chunks/chunk.RFMX3Z3J.js +19 -0
  193. package/cdn/chunks/chunk.RNWMH5KE.js +37 -0
  194. package/cdn/chunks/chunk.RU34LNOQ.js +2555 -0
  195. package/cdn/chunks/chunk.RZTDAMTW.js +278 -0
  196. package/cdn/chunks/chunk.S3KNMW6P.js +32 -0
  197. package/cdn/chunks/chunk.S5YZQD7X.js +49 -0
  198. package/cdn/chunks/chunk.SE5BI2SX.js +904 -0
  199. package/cdn/chunks/chunk.SMQJ5R6S.js +123 -0
  200. package/cdn/chunks/chunk.SQZOUKTN.js +19 -0
  201. package/cdn/chunks/chunk.SRN76VVR.js +19 -0
  202. package/cdn/chunks/chunk.SZVOEV6H.js +29 -0
  203. package/cdn/chunks/chunk.T4ASJ5DA.js +294 -0
  204. package/cdn/chunks/chunk.TAKBJ4KW.js +37 -0
  205. package/cdn/chunks/chunk.TAL5NXNQ.js +19 -0
  206. package/cdn/chunks/chunk.TJMBLJW2.js +29 -0
  207. package/cdn/chunks/chunk.TQLLYTCG.js +19 -0
  208. package/cdn/chunks/chunk.TRSIGSX4.js +40 -0
  209. package/cdn/chunks/chunk.TY4ORAQ7.js +19 -0
  210. package/cdn/chunks/chunk.U4NYKRMO.js +19 -0
  211. package/cdn/chunks/chunk.U6NE6OMF.js +19 -0
  212. package/cdn/chunks/chunk.UBRRAXVT.js +161 -0
  213. package/cdn/chunks/chunk.UOGPQCIT.js +19 -0
  214. package/cdn/chunks/chunk.UPA5655B.js +160 -0
  215. package/cdn/chunks/chunk.URMJZSQP.js +29 -0
  216. package/cdn/chunks/chunk.UUH3P6U6.js +29 -0
  217. package/cdn/chunks/chunk.UXR5JZ2Z.js +34 -0
  218. package/cdn/chunks/chunk.VCCQIMC6.js +305 -0
  219. package/cdn/chunks/chunk.VCPLLAGP.js +294 -0
  220. package/cdn/chunks/chunk.VDHEXGOZ.js +36 -0
  221. package/cdn/chunks/chunk.VHAOR4DO.js +151 -0
  222. package/cdn/chunks/chunk.VJZLDXMR.js +658 -0
  223. package/cdn/chunks/chunk.VMT2OA4F.js +71 -0
  224. package/cdn/chunks/chunk.VOVZK7CH.js +19 -0
  225. package/cdn/chunks/chunk.VXVQVMGN.js +19 -0
  226. package/cdn/chunks/chunk.VZZ5VWGT.js +515 -0
  227. package/cdn/chunks/chunk.W5LR7MI7.js +377 -0
  228. package/cdn/chunks/chunk.W7II6UEO.js +34 -0
  229. package/cdn/chunks/chunk.WA5AZ33L.js +134 -0
  230. package/cdn/chunks/chunk.WV5U6JXW.js +616 -0
  231. package/cdn/chunks/chunk.XB3WNOCD.js +35 -0
  232. package/cdn/chunks/chunk.XDKRVIUT.js +33 -0
  233. package/cdn/chunks/chunk.XH7YZVNI.js +313 -0
  234. package/cdn/chunks/chunk.XMSEFR5A.js +32 -0
  235. package/cdn/chunks/chunk.XX64ET6U.js +35 -0
  236. package/cdn/chunks/chunk.Y6E2F5ZU.js +19 -0
  237. package/cdn/chunks/chunk.YKZEKGNB.js +126 -0
  238. package/cdn/chunks/chunk.YNU663NG.js +29 -0
  239. package/cdn/chunks/chunk.YOZWKBNL.js +19 -0
  240. package/cdn/chunks/chunk.YREZWMUX.js +32 -0
  241. package/cdn/chunks/chunk.YTZGPIYR.js +92 -0
  242. package/cdn/chunks/chunk.YWOGPBYJ.js +29 -0
  243. package/cdn/chunks/chunk.YYVKZLP3.js +172 -0
  244. package/cdn/chunks/chunk.YZJY5KHP.js +443 -0
  245. package/cdn/chunks/chunk.ZEJSSTEK.js +610 -0
  246. package/cdn/chunks/chunk.ZFQJ43PN.js +32 -0
  247. package/cdn/chunks/chunk.ZGP4LK6V.js +19 -0
  248. package/cdn/chunks/chunk.ZI54JMC5.js +136 -0
  249. package/cdn/chunks/chunk.ZMWJFNDI.js +19 -0
  250. package/cdn/chunks/chunk.ZMYIQBKE.js +76 -0
  251. package/cdn/chunks/chunk.ZXPUZVAS.js +34 -0
  252. package/cdn/components/accordion/accordion.component.js +4 -4
  253. package/cdn/components/accordion/accordion.js +5 -5
  254. package/cdn/components/accordion/accordion.styles.js +1 -1
  255. package/cdn/components/alert/alert.component.d.ts +5 -4
  256. package/cdn/components/alert/alert.component.js +3 -3
  257. package/cdn/components/alert/alert.js +4 -4
  258. package/cdn/components/alert/alert.styles.js +1 -1
  259. package/cdn/components/avatar/avatar.component.js +3 -3
  260. package/cdn/components/avatar/avatar.js +4 -4
  261. package/cdn/components/badge/badge.component.d.ts +1 -1
  262. package/cdn/components/badge/badge.component.js +3 -3
  263. package/cdn/components/badge/badge.js +4 -4
  264. package/cdn/components/badge/badge.styles.js +1 -1
  265. package/cdn/components/banner/banner.component.js +2 -2
  266. package/cdn/components/banner/banner.js +3 -3
  267. package/cdn/components/breadcrumb/breadcrumb.component.d.ts +3 -3
  268. package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
  269. package/cdn/components/breadcrumb/breadcrumb.js +4 -4
  270. package/cdn/components/breadcrumb/breadcrumb.styles.js +1 -1
  271. package/cdn/components/breadcrumbs/breadcrumbs.component.js +3 -3
  272. package/cdn/components/breadcrumbs/breadcrumbs.js +4 -4
  273. package/cdn/components/breadcrumbs/breadcrumbs.styles.js +1 -1
  274. package/cdn/components/browse-variables/browse-variables.component.js +14 -14
  275. package/cdn/components/browse-variables/browse-variables.js +15 -15
  276. package/cdn/components/browse-variables/browse-variables.styles.js +1 -1
  277. package/cdn/components/button/button.component.d.ts +1 -1
  278. package/cdn/components/button/button.component.js +4 -4
  279. package/cdn/components/button/button.js +5 -5
  280. package/cdn/components/button/button.styles.js +1 -1
  281. package/cdn/components/button-group/button-group.component.js +2 -2
  282. package/cdn/components/button-group/button-group.js +3 -3
  283. package/cdn/components/caption/caption.component.js +2 -2
  284. package/cdn/components/caption/caption.js +3 -3
  285. package/cdn/components/card/card.component.js +3 -3
  286. package/cdn/components/card/card.js +4 -4
  287. package/cdn/components/card/card.styles.js +1 -1
  288. package/cdn/components/checkbox/checkbox.component.js +4 -4
  289. package/cdn/components/checkbox/checkbox.js +5 -5
  290. package/cdn/components/checkbox/checkbox.styles.js +1 -1
  291. package/cdn/components/chip/chip.component.js +2 -2
  292. package/cdn/components/chip/chip.js +3 -3
  293. package/cdn/components/combobox/combobox.component.js +3 -3
  294. package/cdn/components/combobox/combobox.js +4 -4
  295. package/cdn/components/combobox/combobox.styles.js +1 -1
  296. package/cdn/components/data-access/data-access.component.js +30 -30
  297. package/cdn/components/data-access/data-access.js +31 -31
  298. package/cdn/components/data-access/data-access.styles.js +1 -1
  299. package/cdn/components/data-grid/data-grid.component.js +3 -3
  300. package/cdn/components/data-grid/data-grid.js +4 -4
  301. package/cdn/components/data-rods/data-rods.component.js +36 -36
  302. package/cdn/components/data-rods/data-rods.js +37 -37
  303. package/cdn/components/data-subsetter/data-subsetter.component.js +44 -44
  304. package/cdn/components/data-subsetter/data-subsetter.js +45 -45
  305. package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
  306. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  307. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +46 -46
  308. package/cdn/components/data-subsetter-history/data-subsetter-history.js +47 -47
  309. package/cdn/components/data-subsetter-history/data-subsetter-history.styles.js +1 -1
  310. package/cdn/components/date-picker/date-picker.component.js +12 -12
  311. package/cdn/components/date-picker/date-picker.js +13 -13
  312. package/cdn/components/date-picker/date-picker.styles.js +1 -1
  313. package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
  314. package/cdn/components/date-range-slider/date-range-slider.js +4 -4
  315. package/cdn/components/date-range-slider/date-range-slider.styles.js +1 -1
  316. package/cdn/components/dialog/dialog.component.js +6 -6
  317. package/cdn/components/dialog/dialog.js +7 -7
  318. package/cdn/components/dialog/dialog.styles.js +1 -1
  319. package/cdn/components/divider/divider.component.js +3 -3
  320. package/cdn/components/divider/divider.js +4 -4
  321. package/cdn/components/divider/divider.styles.js +1 -1
  322. package/cdn/components/dropdown/dropdown.component.js +5 -5
  323. package/cdn/components/dropdown/dropdown.js +6 -6
  324. package/cdn/components/dropdown/dropdown.styles.js +1 -1
  325. package/cdn/components/earthdata-login/earthdata-login.component.js +12 -12
  326. package/cdn/components/earthdata-login/earthdata-login.js +13 -13
  327. package/cdn/components/file-upload/file-upload.component.js +3 -3
  328. package/cdn/components/file-upload/file-upload.js +4 -4
  329. package/cdn/components/file-upload/file-upload.styles.js +1 -1
  330. package/cdn/components/harmony-history/harmony-history.component.js +10 -10
  331. package/cdn/components/harmony-history/harmony-history.js +11 -11
  332. package/cdn/components/icon/icon.component.js +2 -2
  333. package/cdn/components/icon/icon.js +3 -3
  334. package/cdn/components/input/input.component.js +4 -4
  335. package/cdn/components/input/input.js +5 -5
  336. package/cdn/components/input/input.styles.js +1 -1
  337. package/cdn/components/loader/loader.component.js +2 -2
  338. package/cdn/components/loader/loader.js +3 -3
  339. package/cdn/components/login/login.component.js +10 -10
  340. package/cdn/components/login/login.js +11 -11
  341. package/cdn/components/login/login.styles.js +1 -1
  342. package/cdn/components/map/map.component.js +3 -3
  343. package/cdn/components/map/map.js +4 -4
  344. package/cdn/components/map/map.styles.js +1 -1
  345. package/cdn/components/menu/menu.component.js +3 -3
  346. package/cdn/components/menu/menu.js +4 -4
  347. package/cdn/components/menu/menu.styles.js +1 -1
  348. package/cdn/components/menu-item/menu-item.component.js +7 -7
  349. package/cdn/components/menu-item/menu-item.js +8 -8
  350. package/cdn/components/menu-item/menu-item.styles.js +1 -1
  351. package/cdn/components/option/option.component.d.ts +5 -0
  352. package/cdn/components/option/option.component.js +4 -4
  353. package/cdn/components/option/option.js +5 -5
  354. package/cdn/components/option/option.styles.js +1 -1
  355. package/cdn/components/pagination/pagination.component.js +4 -4
  356. package/cdn/components/pagination/pagination.js +5 -5
  357. package/cdn/components/pagination/pagination.styles.js +1 -1
  358. package/cdn/components/plot/plot.component.js +2 -2
  359. package/cdn/components/plot/plot.js +3 -3
  360. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  361. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  362. package/cdn/components/plot-toolbar/plot-toolbar.component.js +14 -14
  363. package/cdn/components/plot-toolbar/plot-toolbar.js +15 -15
  364. package/cdn/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  365. package/cdn/components/popup/popup.component.js +3 -3
  366. package/cdn/components/popup/popup.js +4 -4
  367. package/cdn/components/popup/popup.styles.js +1 -1
  368. package/cdn/components/progress-bar/progress-bar.component.js +3 -3
  369. package/cdn/components/progress-bar/progress-bar.js +4 -4
  370. package/cdn/components/progress-bar/progress-bar.styles.js +1 -1
  371. package/cdn/components/radio/radio.component.js +3 -3
  372. package/cdn/components/radio/radio.js +4 -4
  373. package/cdn/components/radio/radio.styles.js +1 -1
  374. package/cdn/components/radio-group/radio-group.component.js +2 -2
  375. package/cdn/components/radio-group/radio-group.js +3 -3
  376. package/cdn/components/scroll-hint/scroll-hint.component.d.ts +5 -2
  377. package/cdn/components/scroll-hint/scroll-hint.component.js +6 -4
  378. package/cdn/components/scroll-hint/scroll-hint.js +7 -5
  379. package/cdn/components/scroll-hint/scroll-hint.styles.js +1 -1
  380. package/cdn/components/select/select.component.js +8 -8
  381. package/cdn/components/select/select.js +9 -9
  382. package/cdn/components/select/select.styles.js +1 -1
  383. package/cdn/components/site-header/site-header.component.js +4 -4
  384. package/cdn/components/site-header/site-header.js +4 -4
  385. package/cdn/components/site-header/site-header.styles.js +1 -1
  386. package/cdn/components/site-navigation/site-navigation.component.js +3 -3
  387. package/cdn/components/site-navigation/site-navigation.js +3 -3
  388. package/cdn/components/site-navigation/site-navigation.styles.js +1 -1
  389. package/cdn/components/skeleton/skeleton.component.js +2 -2
  390. package/cdn/components/skeleton/skeleton.js +3 -3
  391. package/cdn/components/slider/slider.component.d.ts +3 -3
  392. package/cdn/components/slider/slider.component.js +3 -3
  393. package/cdn/components/slider/slider.js +4 -4
  394. package/cdn/components/slider/slider.styles.js +1 -1
  395. package/cdn/components/spatial-picker/spatial-picker.component.js +12 -12
  396. package/cdn/components/spatial-picker/spatial-picker.js +13 -13
  397. package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
  398. package/cdn/components/status-indicator/status-indicator.component.js +3 -3
  399. package/cdn/components/status-indicator/status-indicator.js +4 -4
  400. package/cdn/components/status-indicator/status-indicator.styles.js +1 -1
  401. package/cdn/components/stepper/stepper.component.js +2 -2
  402. package/cdn/components/stepper/stepper.js +3 -3
  403. package/cdn/components/stepper-step/stepper-step.component.js +4 -4
  404. package/cdn/components/stepper-step/stepper-step.js +5 -5
  405. package/cdn/components/stepper-step/stepper-step.styles.js +1 -1
  406. package/cdn/components/tab/tab.component.js +4 -4
  407. package/cdn/components/tab/tab.js +5 -5
  408. package/cdn/components/tab/tab.styles.js +1 -1
  409. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  410. package/cdn/components/tab-panel/tab-panel.js +3 -3
  411. package/cdn/components/tabs/tabs.component.d.ts +2 -2
  412. package/cdn/components/tabs/tabs.component.js +4 -4
  413. package/cdn/components/tabs/tabs.js +5 -5
  414. package/cdn/components/tabs/tabs.styles.js +1 -1
  415. package/cdn/components/tag/tag.component.js +4 -4
  416. package/cdn/components/tag/tag.js +5 -5
  417. package/cdn/components/tag/tag.styles.js +1 -1
  418. package/cdn/components/textarea/textarea.component.js +3 -3
  419. package/cdn/components/textarea/textarea.js +4 -4
  420. package/cdn/components/textarea/textarea.styles.js +1 -1
  421. package/cdn/components/time-average-map/time-average-map.component.js +25 -25
  422. package/cdn/components/time-average-map/time-average-map.controller.js +5 -5
  423. package/cdn/components/time-average-map/time-average-map.js +26 -26
  424. package/cdn/components/time-average-map/time-average-map.styles.js +1 -1
  425. package/cdn/components/time-series/time-series.component.js +25 -25
  426. package/cdn/components/time-series/time-series.controller.js +5 -5
  427. package/cdn/components/time-series/time-series.js +26 -26
  428. package/cdn/components/time-series/time-series.styles.js +1 -1
  429. package/cdn/components/toast/toast.component.d.ts +3 -3
  430. package/cdn/components/toast/toast.component.js +4 -4
  431. package/cdn/components/toast/toast.js +5 -5
  432. package/cdn/components/toggle/toggle.component.js +3 -3
  433. package/cdn/components/toggle/toggle.js +4 -4
  434. package/cdn/components/toggle/toggle.styles.js +1 -1
  435. package/cdn/components/tooltip/tooltip.component.js +5 -5
  436. package/cdn/components/tooltip/tooltip.js +6 -6
  437. package/cdn/components/tooltip/tooltip.styles.js +1 -1
  438. package/cdn/components/variable-combobox/variable-combobox.component.js +8 -8
  439. package/cdn/components/variable-combobox/variable-combobox.js +9 -9
  440. package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
  441. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +8 -8
  442. package/cdn/components/variable-keyword-search/variable-keyword-search.js +9 -9
  443. package/cdn/components/variable-keyword-search/variable-keyword-search.styles.js +1 -1
  444. package/cdn/custom-elements.json +515 -483
  445. package/cdn/react/accordion/index.js +5 -5
  446. package/cdn/react/alert/index.js +4 -4
  447. package/cdn/react/avatar/index.js +4 -4
  448. package/cdn/react/badge/index.js +4 -4
  449. package/cdn/react/banner/index.js +3 -3
  450. package/cdn/react/breadcrumb/index.d.ts +3 -3
  451. package/cdn/react/breadcrumb/index.js +4 -4
  452. package/cdn/react/breadcrumbs/index.js +4 -4
  453. package/cdn/react/browse-variables/index.js +15 -15
  454. package/cdn/react/button/index.js +5 -5
  455. package/cdn/react/button-group/index.js +3 -3
  456. package/cdn/react/caption/index.js +3 -3
  457. package/cdn/react/card/index.js +4 -4
  458. package/cdn/react/checkbox/index.js +5 -5
  459. package/cdn/react/chip/index.js +3 -3
  460. package/cdn/react/combobox/index.js +4 -4
  461. package/cdn/react/data-access/index.js +31 -31
  462. package/cdn/react/data-grid/index.js +4 -4
  463. package/cdn/react/data-rods/index.js +37 -37
  464. package/cdn/react/data-subsetter/index.js +45 -45
  465. package/cdn/react/data-subsetter-history/index.js +47 -47
  466. package/cdn/react/date-picker/index.js +13 -13
  467. package/cdn/react/date-range-slider/index.js +4 -4
  468. package/cdn/react/dialog/index.js +7 -7
  469. package/cdn/react/divider/index.js +4 -4
  470. package/cdn/react/dropdown/index.js +6 -6
  471. package/cdn/react/earthdata-login/index.js +13 -13
  472. package/cdn/react/file-upload/index.js +4 -4
  473. package/cdn/react/harmony-history/index.js +11 -11
  474. package/cdn/react/icon/index.js +3 -3
  475. package/cdn/react/index.d.ts +2 -2
  476. package/cdn/react/index.js +192 -192
  477. package/cdn/react/input/index.js +5 -5
  478. package/cdn/react/loader/index.js +3 -3
  479. package/cdn/react/login/index.js +11 -11
  480. package/cdn/react/map/index.js +4 -4
  481. package/cdn/react/menu/index.js +4 -4
  482. package/cdn/react/menu-item/index.js +8 -8
  483. package/cdn/react/option/index.d.ts +5 -0
  484. package/cdn/react/option/index.js +5 -5
  485. package/cdn/react/pagination/index.js +5 -5
  486. package/cdn/react/plot/index.js +3 -3
  487. package/cdn/react/plot-toolbar/index.js +15 -15
  488. package/cdn/react/popup/index.js +4 -4
  489. package/cdn/react/progress-bar/index.js +4 -4
  490. package/cdn/react/radio/index.js +4 -4
  491. package/cdn/react/radio-group/index.js +3 -3
  492. package/cdn/react/scroll-hint/index.d.ts +3 -0
  493. package/cdn/react/scroll-hint/index.js +7 -5
  494. package/cdn/react/select/index.js +9 -9
  495. package/cdn/react/site-header/index.js +5 -5
  496. package/cdn/react/site-navigation/index.js +4 -4
  497. package/cdn/react/skeleton/index.js +3 -3
  498. package/cdn/react/slider/index.js +4 -4
  499. package/cdn/react/spatial-picker/index.js +13 -13
  500. package/cdn/react/status-indicator/index.js +4 -4
  501. package/cdn/react/stepper/index.js +3 -3
  502. package/cdn/react/stepper-step/index.js +5 -5
  503. package/cdn/react/tab/index.js +5 -5
  504. package/cdn/react/tab-panel/index.js +3 -3
  505. package/cdn/react/tabs/index.d.ts +2 -2
  506. package/cdn/react/tabs/index.js +5 -5
  507. package/cdn/react/tag/index.js +5 -5
  508. package/cdn/react/textarea/index.js +4 -4
  509. package/cdn/react/time-average-map/index.js +26 -26
  510. package/cdn/react/time-series/index.js +26 -26
  511. package/cdn/react/toast/index.js +5 -5
  512. package/cdn/react/toggle/index.js +4 -4
  513. package/cdn/react/tooltip/index.js +6 -6
  514. package/cdn/react/variable-combobox/index.js +9 -9
  515. package/cdn/react/variable-keyword-search/index.js +9 -9
  516. package/cdn/terra-ui-components.js +182 -182
  517. package/cdn/themes/horizon.css +2054 -752
  518. package/cdn/themes/horizon.styles.js +2154 -772
  519. package/cdn/themes/terra-ui-tokens.css +526 -0
  520. package/cdn/themes/terra-ui-tokens.styles.d.ts +2 -0
  521. package/cdn/themes/terra-ui-tokens.styles.js +545 -0
  522. package/cdn/types/vue/index.d.ts +98 -84
  523. package/cdn/vscode.html-custom-data.json +98 -91
  524. package/cdn/web-types.json +174 -171
  525. package/dist/chunks/chunk.24AEZQMY.js +1 -0
  526. package/dist/chunks/chunk.2AUL36FB.js +1 -0
  527. package/dist/chunks/chunk.2EOIJGD7.js +2 -0
  528. package/dist/chunks/chunk.2F6VKICO.js +1 -0
  529. package/dist/chunks/chunk.2K4PQYF7.js +1 -0
  530. package/dist/chunks/chunk.2KBWAAOZ.js +127 -0
  531. package/dist/chunks/chunk.2O6UGT2E.js +1 -0
  532. package/dist/chunks/chunk.2QJ5ILLT.js +5 -0
  533. package/dist/chunks/chunk.2TEFEWMH.js +1 -0
  534. package/dist/chunks/chunk.2U6NRRJX.js +55 -0
  535. package/dist/chunks/chunk.2VBMVTVL.js +1 -0
  536. package/dist/chunks/chunk.2WJQNEGW.js +1 -0
  537. package/dist/chunks/chunk.32IM5557.js +1 -0
  538. package/dist/chunks/chunk.3AURCEYI.js +353 -0
  539. package/dist/chunks/chunk.3C5PLPEL.js +1 -0
  540. package/dist/chunks/chunk.3F7A2YCE.js +80 -0
  541. package/dist/chunks/chunk.3JJJ3A5W.js +1 -0
  542. package/dist/chunks/chunk.3L5IUZSR.js +1 -0
  543. package/dist/chunks/chunk.3PSWPHUS.js +12 -0
  544. package/dist/chunks/chunk.3QO7J7CV.js +1 -0
  545. package/dist/chunks/chunk.3TFLBBWR.js +115 -0
  546. package/dist/chunks/chunk.3TNPGXLM.js +1 -0
  547. package/dist/chunks/chunk.3TVPBDCY.js +8 -0
  548. package/dist/chunks/chunk.3YZ7SPS6.js +1 -0
  549. package/dist/chunks/chunk.3Z6MBEYS.js +1 -0
  550. package/dist/chunks/chunk.46IN2TSC.js +1 -0
  551. package/dist/chunks/chunk.4KJESPZX.js +100 -0
  552. package/dist/chunks/chunk.4XJ7SAR3.js +1 -0
  553. package/dist/chunks/chunk.53ONDEHK.js +1 -0
  554. package/dist/chunks/chunk.5AKALBX3.js +1 -0
  555. package/dist/chunks/chunk.5BDNKYEE.js +1 -0
  556. package/dist/chunks/chunk.5EIBF6PE.js +1 -0
  557. package/dist/chunks/chunk.5F27KZSR.js +1 -0
  558. package/dist/chunks/chunk.5OXOV6YG.js +38 -0
  559. package/dist/chunks/chunk.5PUVB3CB.js +1 -0
  560. package/dist/chunks/chunk.5U7A7SNZ.js +1 -0
  561. package/dist/chunks/chunk.636ADUMN.js +1 -0
  562. package/dist/chunks/chunk.64RITC43.js +1 -0
  563. package/dist/chunks/chunk.6HYILGKL.js +1 -0
  564. package/dist/chunks/chunk.6LOHOD46.js +1 -0
  565. package/dist/chunks/chunk.73MWC6LT.js +1 -0
  566. package/dist/chunks/chunk.7ATPABHJ.js +6 -0
  567. package/dist/chunks/chunk.7CBI6OMZ.js +1 -0
  568. package/dist/chunks/chunk.7DFRAUL5.js +148 -0
  569. package/dist/chunks/chunk.7F4GNB3D.js +1 -0
  570. package/dist/chunks/chunk.7G5XKBQX.js +1 -0
  571. package/dist/chunks/chunk.7SLBI5EP.js +30 -0
  572. package/dist/chunks/chunk.7SQQMJNR.js +1 -0
  573. package/dist/chunks/chunk.7UWDBFRT.js +1 -0
  574. package/dist/chunks/chunk.7W6I25NB.js +1 -0
  575. package/dist/chunks/chunk.A4KCKDEI.js +52 -0
  576. package/dist/chunks/chunk.A6GLN7RV.js +157 -0
  577. package/dist/chunks/chunk.ACMRVRMJ.js +65 -0
  578. package/dist/chunks/chunk.ACTAEVBU.js +62 -0
  579. package/dist/chunks/chunk.ANNK5AL5.js +23 -0
  580. package/dist/chunks/chunk.B34XIVQZ.js +1 -0
  581. package/dist/chunks/chunk.B6POOW4T.js +1 -0
  582. package/dist/chunks/chunk.BBZZL7GF.js +91 -0
  583. package/dist/chunks/chunk.BFNCV2RM.js +127 -0
  584. package/dist/chunks/chunk.BL6I47ZQ.js +1 -0
  585. package/dist/chunks/chunk.BSMNZP56.js +92 -0
  586. package/dist/chunks/chunk.BX3GH3KL.js +51 -0
  587. package/dist/chunks/chunk.BYFR372D.js +64 -0
  588. package/dist/chunks/chunk.C2TBND2R.js +1 -0
  589. package/dist/chunks/chunk.CDF2IKHX.js +1 -0
  590. package/dist/chunks/chunk.CH4OTUSN.js +1 -0
  591. package/dist/chunks/chunk.CS34YHPW.js +75 -0
  592. package/dist/chunks/chunk.CVFM4CTZ.js +1 -0
  593. package/dist/chunks/chunk.CVHVZQHF.js +55 -0
  594. package/dist/chunks/chunk.DMGD52HA.js +17 -0
  595. package/dist/chunks/chunk.DNTGG6CH.js +1 -0
  596. package/dist/chunks/chunk.DQO5T3TC.js +1 -0
  597. package/dist/chunks/chunk.DVGRZOZN.js +1 -0
  598. package/dist/chunks/chunk.E4E5YW6S.js +67 -0
  599. package/dist/chunks/chunk.EC5X7NCS.js +1 -0
  600. package/dist/chunks/chunk.EH52QKIC.js +4 -0
  601. package/dist/chunks/chunk.EMPX6UWB.js +1 -0
  602. package/dist/chunks/chunk.ESTPYZYF.js +66 -0
  603. package/dist/chunks/chunk.EVU2XYYQ.js +199 -0
  604. package/dist/chunks/chunk.EXDUEHTD.js +1 -0
  605. package/dist/chunks/chunk.F6AIFJPN.js +1 -0
  606. package/dist/chunks/chunk.F7R7YK2O.js +1 -0
  607. package/dist/chunks/chunk.FARMGJW3.js +1 -0
  608. package/dist/chunks/chunk.FDRS2X4S.js +134 -0
  609. package/dist/chunks/chunk.FIWFVJ3D.js +1 -0
  610. package/dist/chunks/chunk.FNR2LCIP.js +5 -0
  611. package/dist/chunks/chunk.FQUIUPSV.js +1 -0
  612. package/dist/chunks/chunk.FSL3CFV7.js +8 -0
  613. package/dist/chunks/chunk.FTS3NXLZ.js +16 -0
  614. package/dist/chunks/chunk.G6ZHYUA3.js +1 -0
  615. package/dist/chunks/chunk.GBM6TJGZ.js +1 -0
  616. package/dist/chunks/chunk.GK6AJGW3.js +35 -0
  617. package/dist/chunks/chunk.GMMPKXT2.js +65 -0
  618. package/dist/chunks/chunk.GTDDKRIN.js +1 -0
  619. package/dist/chunks/chunk.GV5S63SB.js +1 -0
  620. package/dist/chunks/chunk.GVXMLVLW.js +121 -0
  621. package/dist/chunks/chunk.GXNNVXXJ.js +203 -0
  622. package/dist/chunks/chunk.GZVB4XR2.js +1 -0
  623. package/dist/chunks/chunk.H5AVWFET.js +23 -0
  624. package/dist/chunks/chunk.HA3PA5QZ.js +145 -0
  625. package/dist/chunks/chunk.HFNA3AAG.js +1 -0
  626. package/dist/chunks/chunk.HGWEW6YY.js +24 -0
  627. package/dist/chunks/chunk.HJWKRT2R.js +55 -0
  628. package/dist/chunks/chunk.HLEMQAKN.js +1 -0
  629. package/dist/chunks/chunk.HRA64EJO.js +86 -0
  630. package/dist/chunks/chunk.HRWEJEUM.js +296 -0
  631. package/dist/chunks/chunk.HV3NQBOM.js +14 -0
  632. package/dist/chunks/chunk.I24KQBGT.js +1 -0
  633. package/dist/chunks/chunk.I4XKMXRT.js +1 -0
  634. package/dist/chunks/chunk.IA2ZHXCK.js +1 -0
  635. package/dist/chunks/chunk.IDBHEMAV.js +288 -0
  636. package/dist/chunks/chunk.ILU2FM4L.js +1 -0
  637. package/dist/chunks/chunk.INVCWNTC.js +41 -0
  638. package/dist/chunks/chunk.J53MLXIQ.js +1 -0
  639. package/dist/chunks/chunk.JA3TOBR2.js +80 -0
  640. package/dist/chunks/chunk.JEE5UHSS.js +1 -0
  641. package/dist/chunks/chunk.JNX2LPPS.js +1 -0
  642. package/dist/chunks/chunk.JSEYNLAE.js +48 -0
  643. package/dist/chunks/chunk.JUOXUMZT.js +17 -0
  644. package/dist/chunks/chunk.JXF5TQDT.js +1 -0
  645. package/dist/chunks/chunk.KCEHKGQU.js +1 -0
  646. package/dist/chunks/chunk.KGLV6NBY.js +1 -0
  647. package/dist/chunks/chunk.KI4IENJB.js +1 -0
  648. package/dist/chunks/chunk.KLHF3ADP.js +1 -0
  649. package/dist/chunks/chunk.KN2ZSH5I.js +1 -0
  650. package/dist/chunks/chunk.KPFANSAS.js +107 -0
  651. package/dist/chunks/chunk.KV7QXEB2.js +142 -0
  652. package/dist/chunks/chunk.L2FOML4Z.js +1 -0
  653. package/dist/chunks/chunk.L4FZBNJZ.js +20 -0
  654. package/dist/chunks/chunk.L5AER4HL.js +111 -0
  655. package/dist/chunks/chunk.L7ADVOTR.js +1 -0
  656. package/dist/chunks/chunk.L7UI364Z.js +985 -0
  657. package/dist/chunks/chunk.LGQNDGC2.js +22 -0
  658. package/dist/chunks/chunk.LGVT3U7Z.js +104 -0
  659. package/dist/chunks/chunk.LJ3C6YXE.js +1 -0
  660. package/dist/chunks/chunk.LT5BSY7X.js +1 -0
  661. package/dist/chunks/chunk.MBRHBIVR.js +1 -0
  662. package/dist/chunks/chunk.MHPXMOJI.js +134 -0
  663. package/dist/chunks/chunk.MJILATWK.js +132 -0
  664. package/dist/chunks/chunk.MQMBH2YC.js +665 -0
  665. package/dist/chunks/chunk.MQO2Z6JR.js +1 -0
  666. package/dist/chunks/chunk.MUMOGZM7.js +572 -0
  667. package/dist/chunks/chunk.MVQVCZMV.js +1 -0
  668. package/dist/chunks/chunk.MY53SBVE.js +43 -0
  669. package/dist/chunks/chunk.N2ZA3AN3.js +35 -0
  670. package/dist/chunks/chunk.NAMM3J43.js +300 -0
  671. package/dist/chunks/chunk.NQZCGWQT.js +1 -0
  672. package/dist/chunks/chunk.NSKI4HXF.js +19 -0
  673. package/dist/chunks/chunk.NTY7GIBX.js +1 -0
  674. package/dist/chunks/chunk.NX7TNGI4.js +1 -0
  675. package/dist/chunks/chunk.OF5IIYCM.js +1 -0
  676. package/dist/chunks/chunk.OOOGWVDH.js +1 -0
  677. package/dist/chunks/chunk.OQU2SEYR.js +1 -0
  678. package/dist/chunks/chunk.OYBEWMHA.js +436 -0
  679. package/dist/chunks/chunk.P35VRJSU.js +1 -0
  680. package/dist/chunks/chunk.P6ZQBWYA.js +498 -0
  681. package/dist/chunks/chunk.PBY3SOJT.js +1 -0
  682. package/dist/chunks/chunk.PEBGUL65.js +1 -0
  683. package/dist/chunks/chunk.PHJXLU2K.js +1 -0
  684. package/dist/chunks/chunk.PHR3ARS7.js +102 -0
  685. package/dist/chunks/chunk.PHTTNFIA.js +1 -0
  686. package/dist/chunks/chunk.PICICWOI.js +300 -0
  687. package/dist/chunks/chunk.PJYZ4R4F.js +1 -0
  688. package/dist/chunks/chunk.PKYBMF7D.js +30 -0
  689. package/dist/chunks/chunk.PNIB7OCC.js +1 -0
  690. package/dist/chunks/chunk.PPDNREE3.js +37 -0
  691. package/dist/chunks/chunk.PPHWYBMI.js +35 -0
  692. package/dist/chunks/chunk.PVRQVGN6.js +99 -0
  693. package/dist/chunks/chunk.PZYBNPV6.js +218 -0
  694. package/dist/chunks/chunk.QNMFOQMN.js +9 -0
  695. package/dist/chunks/chunk.QWRFOCPZ.js +1 -0
  696. package/dist/chunks/chunk.R2KZSJQZ.js +83 -0
  697. package/dist/chunks/chunk.R5KJU6SA.js +47 -0
  698. package/dist/chunks/chunk.R5YBBFHE.js +11 -0
  699. package/dist/chunks/chunk.RALU3ZHR.js +1 -0
  700. package/dist/chunks/chunk.RB2ISNUH.js +11 -0
  701. package/dist/chunks/chunk.REKHGQMI.js +1 -0
  702. package/dist/chunks/chunk.RFGG22O7.js +1 -0
  703. package/dist/chunks/chunk.RFPACV7B.js +760 -0
  704. package/dist/chunks/chunk.RGRNY7OY.js +1 -0
  705. package/dist/chunks/chunk.RH5XP3UV.js +1 -0
  706. package/dist/chunks/chunk.S3A2BX4C.js +144 -0
  707. package/dist/chunks/chunk.S3L7GNQT.js +1 -0
  708. package/dist/chunks/chunk.S4TDVG2W.js +1 -0
  709. package/dist/chunks/chunk.SO45NDQI.js +1 -0
  710. package/dist/chunks/chunk.SRZGR2LP.js +1 -0
  711. package/dist/chunks/chunk.SU55MP2P.js +27 -0
  712. package/dist/chunks/chunk.SUNBQSGV.js +1 -0
  713. package/dist/chunks/chunk.T2FIFNZX.js +143 -0
  714. package/dist/chunks/chunk.T4IJSKKI.js +1 -0
  715. package/dist/chunks/chunk.T7GOQZF2.js +266 -0
  716. package/dist/chunks/chunk.THZJGMXE.js +729 -0
  717. package/dist/chunks/chunk.TISMRXXU.js +1 -0
  718. package/dist/chunks/chunk.TVNCK67F.js +1 -0
  719. package/dist/chunks/chunk.TYO47TNX.js +1 -0
  720. package/dist/chunks/chunk.U2YGT52C.js +74 -0
  721. package/dist/chunks/chunk.U3QRH2D5.js +25 -0
  722. package/dist/chunks/chunk.UBGGJOZN.js +1 -0
  723. package/dist/chunks/chunk.UDLHCCS6.js +1 -0
  724. package/dist/chunks/chunk.UIR73OAY.js +349 -0
  725. package/dist/chunks/chunk.UJSQVL34.js +1 -0
  726. package/dist/chunks/chunk.USM5KDQR.js +1 -0
  727. package/dist/chunks/chunk.UTSAP2NZ.js +1 -0
  728. package/dist/chunks/chunk.V3JACKIW.js +1 -0
  729. package/dist/chunks/chunk.VGCXMKGO.js +297 -0
  730. package/dist/chunks/chunk.VGGWQYPT.js +154 -0
  731. package/dist/chunks/chunk.VN36DNH5.js +329 -0
  732. package/dist/chunks/chunk.VOIIKZBP.js +26 -0
  733. package/dist/chunks/chunk.VR6KDGCO.js +280 -0
  734. package/dist/chunks/chunk.VSQMTGXR.js +203 -0
  735. package/dist/chunks/chunk.VYMDLQKW.js +33 -0
  736. package/dist/chunks/chunk.W43XN23E.js +1 -0
  737. package/dist/chunks/chunk.W5A5SC27.js +26 -0
  738. package/dist/chunks/chunk.W5BWSIPL.js +1 -0
  739. package/dist/chunks/chunk.W6DGR4DK.js +260 -0
  740. package/dist/chunks/chunk.W7APBRIA.js +43 -0
  741. package/dist/chunks/chunk.WBPL3IO2.js +1 -0
  742. package/dist/chunks/chunk.WGF6ZBTK.js +324 -0
  743. package/dist/chunks/chunk.WMNEFMBK.js +346 -0
  744. package/dist/chunks/chunk.WWCNUU6Q.js +1 -0
  745. package/dist/chunks/chunk.WZ74OBKA.js +1 -0
  746. package/dist/chunks/chunk.X2PL4Y4D.js +1 -0
  747. package/dist/chunks/chunk.XJS3MPKP.js +24 -0
  748. package/dist/chunks/chunk.XKL57T4O.js +1 -0
  749. package/dist/chunks/chunk.XMDSQBKG.js +112 -0
  750. package/dist/chunks/chunk.XMHPYUCZ.js +1155 -0
  751. package/dist/chunks/chunk.XNB4V2JD.js +9 -0
  752. package/dist/chunks/chunk.XPKY74HM.js +1 -0
  753. package/dist/chunks/chunk.XUWJW3FD.js +122 -0
  754. package/dist/chunks/chunk.XYVKWI2L.js +1 -0
  755. package/dist/chunks/chunk.Y4QBAUPW.js +109 -0
  756. package/dist/chunks/chunk.Y6JLPDVR.js +1 -0
  757. package/dist/chunks/chunk.Y6VOJNJH.js +441 -0
  758. package/dist/chunks/chunk.YBLDTPN7.js +1 -0
  759. package/dist/chunks/chunk.YENJIAHQ.js +59 -0
  760. package/dist/chunks/chunk.YGK2DL4Z.js +1 -0
  761. package/dist/chunks/chunk.YIGG3C7R.js +1 -0
  762. package/dist/chunks/chunk.YJYTTQML.js +1 -0
  763. package/dist/chunks/chunk.YMDQXJV5.js +1 -0
  764. package/dist/chunks/chunk.YNS5FOJW.js +1 -0
  765. package/dist/chunks/chunk.YU2YXPZA.js +20 -0
  766. package/dist/chunks/chunk.YV46PDX2.js +1 -0
  767. package/dist/chunks/chunk.YWHOA5CV.js +1 -0
  768. package/dist/chunks/chunk.YXSAWSTP.js +1 -0
  769. package/dist/chunks/chunk.Z2P5VVB5.js +220 -0
  770. package/dist/chunks/chunk.ZF2UFMLE.js +1 -0
  771. package/dist/chunks/chunk.ZJMVR6SU.js +1 -0
  772. package/dist/chunks/chunk.ZJWPN6CD.js +39 -0
  773. package/dist/chunks/chunk.ZSBHPO6G.js +1 -0
  774. package/dist/chunks/chunk.ZUXHHOQ7.js +155 -0
  775. package/dist/chunks/chunk.ZVTWO2YF.js +64 -0
  776. package/dist/components/accordion/accordion.component.js +1 -1
  777. package/dist/components/accordion/accordion.js +1 -1
  778. package/dist/components/accordion/accordion.styles.js +1 -1
  779. package/dist/components/alert/alert.component.d.ts +5 -4
  780. package/dist/components/alert/alert.component.js +1 -1
  781. package/dist/components/alert/alert.js +1 -1
  782. package/dist/components/alert/alert.styles.js +1 -1
  783. package/dist/components/avatar/avatar.component.js +1 -1
  784. package/dist/components/avatar/avatar.js +1 -1
  785. package/dist/components/badge/badge.component.d.ts +1 -1
  786. package/dist/components/badge/badge.component.js +1 -1
  787. package/dist/components/badge/badge.js +1 -1
  788. package/dist/components/badge/badge.styles.js +1 -1
  789. package/dist/components/banner/banner.component.js +1 -1
  790. package/dist/components/banner/banner.js +1 -1
  791. package/dist/components/breadcrumb/breadcrumb.component.d.ts +3 -3
  792. package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
  793. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  794. package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
  795. package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
  796. package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
  797. package/dist/components/breadcrumbs/breadcrumbs.styles.js +1 -1
  798. package/dist/components/browse-variables/browse-variables.component.js +1 -1
  799. package/dist/components/browse-variables/browse-variables.js +1 -1
  800. package/dist/components/browse-variables/browse-variables.styles.js +1 -1
  801. package/dist/components/button/button.component.d.ts +1 -1
  802. package/dist/components/button/button.component.js +1 -1
  803. package/dist/components/button/button.js +1 -1
  804. package/dist/components/button/button.styles.js +1 -1
  805. package/dist/components/button-group/button-group.component.js +1 -1
  806. package/dist/components/button-group/button-group.js +1 -1
  807. package/dist/components/caption/caption.component.js +1 -1
  808. package/dist/components/caption/caption.js +1 -1
  809. package/dist/components/card/card.component.js +1 -1
  810. package/dist/components/card/card.js +1 -1
  811. package/dist/components/card/card.styles.js +1 -1
  812. package/dist/components/checkbox/checkbox.component.js +1 -1
  813. package/dist/components/checkbox/checkbox.js +1 -1
  814. package/dist/components/checkbox/checkbox.styles.js +1 -1
  815. package/dist/components/chip/chip.component.js +1 -1
  816. package/dist/components/chip/chip.js +1 -1
  817. package/dist/components/combobox/combobox.component.js +1 -1
  818. package/dist/components/combobox/combobox.js +1 -1
  819. package/dist/components/combobox/combobox.styles.js +1 -1
  820. package/dist/components/data-access/data-access.component.js +1 -1
  821. package/dist/components/data-access/data-access.js +1 -1
  822. package/dist/components/data-access/data-access.styles.js +1 -1
  823. package/dist/components/data-grid/data-grid.component.js +1 -1
  824. package/dist/components/data-grid/data-grid.js +1 -1
  825. package/dist/components/data-rods/data-rods.component.js +1 -1
  826. package/dist/components/data-rods/data-rods.js +1 -1
  827. package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
  828. package/dist/components/data-subsetter/data-subsetter.js +1 -1
  829. package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
  830. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  831. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
  832. package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
  833. package/dist/components/data-subsetter-history/data-subsetter-history.styles.js +1 -1
  834. package/dist/components/date-picker/date-picker.component.js +1 -1
  835. package/dist/components/date-picker/date-picker.js +1 -1
  836. package/dist/components/date-picker/date-picker.styles.js +1 -1
  837. package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
  838. package/dist/components/date-range-slider/date-range-slider.js +1 -1
  839. package/dist/components/date-range-slider/date-range-slider.styles.js +1 -1
  840. package/dist/components/dialog/dialog.component.js +1 -1
  841. package/dist/components/dialog/dialog.js +1 -1
  842. package/dist/components/dialog/dialog.styles.js +1 -1
  843. package/dist/components/divider/divider.component.js +1 -1
  844. package/dist/components/divider/divider.js +1 -1
  845. package/dist/components/divider/divider.styles.js +1 -1
  846. package/dist/components/dropdown/dropdown.component.js +1 -1
  847. package/dist/components/dropdown/dropdown.js +1 -1
  848. package/dist/components/dropdown/dropdown.styles.js +1 -1
  849. package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
  850. package/dist/components/earthdata-login/earthdata-login.js +1 -1
  851. package/dist/components/file-upload/file-upload.component.js +1 -1
  852. package/dist/components/file-upload/file-upload.js +1 -1
  853. package/dist/components/file-upload/file-upload.styles.js +1 -1
  854. package/dist/components/harmony-history/harmony-history.component.js +1 -1
  855. package/dist/components/harmony-history/harmony-history.js +1 -1
  856. package/dist/components/icon/icon.component.js +1 -1
  857. package/dist/components/icon/icon.js +1 -1
  858. package/dist/components/input/input.component.js +1 -1
  859. package/dist/components/input/input.js +1 -1
  860. package/dist/components/input/input.styles.js +1 -1
  861. package/dist/components/loader/loader.component.js +1 -1
  862. package/dist/components/loader/loader.js +1 -1
  863. package/dist/components/login/login.component.js +1 -1
  864. package/dist/components/login/login.js +1 -1
  865. package/dist/components/login/login.styles.js +1 -1
  866. package/dist/components/map/map.component.js +1 -1
  867. package/dist/components/map/map.js +1 -1
  868. package/dist/components/map/map.styles.js +1 -1
  869. package/dist/components/menu/menu.component.js +1 -1
  870. package/dist/components/menu/menu.js +1 -1
  871. package/dist/components/menu/menu.styles.js +1 -1
  872. package/dist/components/menu-item/menu-item.component.js +1 -1
  873. package/dist/components/menu-item/menu-item.js +1 -1
  874. package/dist/components/menu-item/menu-item.styles.js +1 -1
  875. package/dist/components/option/option.component.d.ts +5 -0
  876. package/dist/components/option/option.component.js +1 -1
  877. package/dist/components/option/option.js +1 -1
  878. package/dist/components/option/option.styles.js +1 -1
  879. package/dist/components/pagination/pagination.component.js +1 -1
  880. package/dist/components/pagination/pagination.js +1 -1
  881. package/dist/components/pagination/pagination.styles.js +1 -1
  882. package/dist/components/plot/plot.component.js +1 -1
  883. package/dist/components/plot/plot.js +1 -1
  884. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  885. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  886. package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
  887. package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
  888. package/dist/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  889. package/dist/components/popup/popup.component.js +1 -1
  890. package/dist/components/popup/popup.js +1 -1
  891. package/dist/components/popup/popup.styles.js +1 -1
  892. package/dist/components/progress-bar/progress-bar.component.js +1 -1
  893. package/dist/components/progress-bar/progress-bar.js +1 -1
  894. package/dist/components/progress-bar/progress-bar.styles.js +1 -1
  895. package/dist/components/radio/radio.component.js +1 -1
  896. package/dist/components/radio/radio.js +1 -1
  897. package/dist/components/radio/radio.styles.js +1 -1
  898. package/dist/components/radio-group/radio-group.component.js +1 -1
  899. package/dist/components/radio-group/radio-group.js +1 -1
  900. package/dist/components/scroll-hint/scroll-hint.component.d.ts +5 -2
  901. package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
  902. package/dist/components/scroll-hint/scroll-hint.js +1 -1
  903. package/dist/components/scroll-hint/scroll-hint.styles.js +1 -1
  904. package/dist/components/select/select.component.js +1 -1
  905. package/dist/components/select/select.js +1 -1
  906. package/dist/components/select/select.styles.js +1 -1
  907. package/dist/components/site-header/site-header.component.js +1 -1
  908. package/dist/components/site-header/site-header.js +1 -1
  909. package/dist/components/site-header/site-header.styles.js +1 -1
  910. package/dist/components/site-navigation/site-navigation.component.js +1 -1
  911. package/dist/components/site-navigation/site-navigation.js +1 -1
  912. package/dist/components/site-navigation/site-navigation.styles.js +1 -1
  913. package/dist/components/skeleton/skeleton.component.js +1 -1
  914. package/dist/components/skeleton/skeleton.js +1 -1
  915. package/dist/components/slider/slider.component.d.ts +3 -3
  916. package/dist/components/slider/slider.component.js +1 -1
  917. package/dist/components/slider/slider.js +1 -1
  918. package/dist/components/slider/slider.styles.js +1 -1
  919. package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
  920. package/dist/components/spatial-picker/spatial-picker.js +1 -1
  921. package/dist/components/spatial-picker/spatial-picker.styles.js +1 -1
  922. package/dist/components/status-indicator/status-indicator.component.js +1 -1
  923. package/dist/components/status-indicator/status-indicator.js +1 -1
  924. package/dist/components/status-indicator/status-indicator.styles.js +1 -1
  925. package/dist/components/stepper/stepper.component.js +1 -1
  926. package/dist/components/stepper/stepper.js +1 -1
  927. package/dist/components/stepper-step/stepper-step.component.js +1 -1
  928. package/dist/components/stepper-step/stepper-step.js +1 -1
  929. package/dist/components/stepper-step/stepper-step.styles.js +1 -1
  930. package/dist/components/tab/tab.component.js +1 -1
  931. package/dist/components/tab/tab.js +1 -1
  932. package/dist/components/tab/tab.styles.js +1 -1
  933. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  934. package/dist/components/tab-panel/tab-panel.js +1 -1
  935. package/dist/components/tabs/tabs.component.d.ts +2 -2
  936. package/dist/components/tabs/tabs.component.js +1 -1
  937. package/dist/components/tabs/tabs.js +1 -1
  938. package/dist/components/tabs/tabs.styles.js +1 -1
  939. package/dist/components/tag/tag.component.js +1 -1
  940. package/dist/components/tag/tag.js +1 -1
  941. package/dist/components/tag/tag.styles.js +1 -1
  942. package/dist/components/textarea/textarea.component.js +1 -1
  943. package/dist/components/textarea/textarea.js +1 -1
  944. package/dist/components/textarea/textarea.styles.js +1 -1
  945. package/dist/components/time-average-map/time-average-map.component.js +1 -1
  946. package/dist/components/time-average-map/time-average-map.controller.js +1 -1
  947. package/dist/components/time-average-map/time-average-map.js +1 -1
  948. package/dist/components/time-average-map/time-average-map.styles.js +1 -1
  949. package/dist/components/time-series/time-series.component.js +1 -1
  950. package/dist/components/time-series/time-series.controller.js +1 -1
  951. package/dist/components/time-series/time-series.js +1 -1
  952. package/dist/components/time-series/time-series.styles.js +1 -1
  953. package/dist/components/toast/toast.component.d.ts +3 -3
  954. package/dist/components/toast/toast.component.js +1 -1
  955. package/dist/components/toast/toast.js +1 -1
  956. package/dist/components/toggle/toggle.component.js +1 -1
  957. package/dist/components/toggle/toggle.js +1 -1
  958. package/dist/components/toggle/toggle.styles.js +1 -1
  959. package/dist/components/tooltip/tooltip.component.js +1 -1
  960. package/dist/components/tooltip/tooltip.js +1 -1
  961. package/dist/components/tooltip/tooltip.styles.js +1 -1
  962. package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
  963. package/dist/components/variable-combobox/variable-combobox.js +1 -1
  964. package/dist/components/variable-combobox/variable-combobox.styles.js +1 -1
  965. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
  966. package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
  967. package/dist/components/variable-keyword-search/variable-keyword-search.styles.js +1 -1
  968. package/dist/custom-elements.json +515 -483
  969. package/dist/react/accordion/index.js +1 -1
  970. package/dist/react/alert/index.js +1 -1
  971. package/dist/react/avatar/index.js +1 -1
  972. package/dist/react/badge/index.js +1 -1
  973. package/dist/react/banner/index.js +1 -1
  974. package/dist/react/breadcrumb/index.d.ts +3 -3
  975. package/dist/react/breadcrumb/index.js +1 -1
  976. package/dist/react/breadcrumbs/index.js +1 -1
  977. package/dist/react/browse-variables/index.js +1 -1
  978. package/dist/react/button/index.js +1 -1
  979. package/dist/react/button-group/index.js +1 -1
  980. package/dist/react/caption/index.js +1 -1
  981. package/dist/react/card/index.js +1 -1
  982. package/dist/react/checkbox/index.js +1 -1
  983. package/dist/react/chip/index.js +1 -1
  984. package/dist/react/combobox/index.js +1 -1
  985. package/dist/react/data-access/index.js +1 -1
  986. package/dist/react/data-grid/index.js +1 -1
  987. package/dist/react/data-rods/index.js +1 -1
  988. package/dist/react/data-subsetter/index.js +1 -1
  989. package/dist/react/data-subsetter-history/index.js +1 -1
  990. package/dist/react/date-picker/index.js +1 -1
  991. package/dist/react/date-range-slider/index.js +1 -1
  992. package/dist/react/dialog/index.js +1 -1
  993. package/dist/react/divider/index.js +1 -1
  994. package/dist/react/dropdown/index.js +1 -1
  995. package/dist/react/earthdata-login/index.js +1 -1
  996. package/dist/react/file-upload/index.js +1 -1
  997. package/dist/react/harmony-history/index.js +1 -1
  998. package/dist/react/icon/index.js +1 -1
  999. package/dist/react/index.d.ts +2 -2
  1000. package/dist/react/index.js +1 -1
  1001. package/dist/react/input/index.js +1 -1
  1002. package/dist/react/loader/index.js +1 -1
  1003. package/dist/react/login/index.js +1 -1
  1004. package/dist/react/map/index.js +1 -1
  1005. package/dist/react/menu/index.js +1 -1
  1006. package/dist/react/menu-item/index.js +1 -1
  1007. package/dist/react/option/index.d.ts +5 -0
  1008. package/dist/react/option/index.js +1 -1
  1009. package/dist/react/pagination/index.js +1 -1
  1010. package/dist/react/plot/index.js +1 -1
  1011. package/dist/react/plot-toolbar/index.js +1 -1
  1012. package/dist/react/popup/index.js +1 -1
  1013. package/dist/react/progress-bar/index.js +1 -1
  1014. package/dist/react/radio/index.js +1 -1
  1015. package/dist/react/radio-group/index.js +1 -1
  1016. package/dist/react/scroll-hint/index.d.ts +3 -0
  1017. package/dist/react/scroll-hint/index.js +1 -1
  1018. package/dist/react/select/index.js +1 -1
  1019. package/dist/react/site-header/index.js +1 -1
  1020. package/dist/react/site-navigation/index.js +1 -1
  1021. package/dist/react/skeleton/index.js +1 -1
  1022. package/dist/react/slider/index.js +1 -1
  1023. package/dist/react/spatial-picker/index.js +1 -1
  1024. package/dist/react/status-indicator/index.js +1 -1
  1025. package/dist/react/stepper/index.js +1 -1
  1026. package/dist/react/stepper-step/index.js +1 -1
  1027. package/dist/react/tab/index.js +1 -1
  1028. package/dist/react/tab-panel/index.js +1 -1
  1029. package/dist/react/tabs/index.d.ts +2 -2
  1030. package/dist/react/tabs/index.js +1 -1
  1031. package/dist/react/tag/index.js +1 -1
  1032. package/dist/react/textarea/index.js +1 -1
  1033. package/dist/react/time-average-map/index.js +1 -1
  1034. package/dist/react/time-series/index.js +1 -1
  1035. package/dist/react/toast/index.js +1 -1
  1036. package/dist/react/toggle/index.js +1 -1
  1037. package/dist/react/tooltip/index.js +1 -1
  1038. package/dist/react/variable-combobox/index.js +1 -1
  1039. package/dist/react/variable-keyword-search/index.js +1 -1
  1040. package/dist/terra-ui-components.js +1 -1
  1041. package/dist/terra_ui_components-0.0.190-py3-none-any.whl +0 -0
  1042. package/dist/terra_ui_components-0.0.190.tar.gz +0 -0
  1043. package/dist/themes/horizon.css +2054 -752
  1044. package/dist/themes/horizon.styles.js +2154 -772
  1045. package/dist/themes/terra-ui-tokens.css +526 -0
  1046. package/dist/themes/terra-ui-tokens.styles.d.ts +2 -0
  1047. package/dist/themes/terra-ui-tokens.styles.js +545 -0
  1048. package/dist/types/vue/index.d.ts +98 -84
  1049. package/dist/vscode.html-custom-data.json +98 -91
  1050. package/dist/web-types.json +174 -171
  1051. package/package.json +3 -1
  1052. package/cdn/chunks/chunk.25Z5CXTI.js +0 -39
  1053. package/cdn/chunks/chunk.2A47WWPI.js +0 -2548
  1054. package/cdn/chunks/chunk.2BTQ7Z22.js +0 -19
  1055. package/cdn/chunks/chunk.2DXB2VZZ.js +0 -60
  1056. package/cdn/chunks/chunk.2E4HI2QH.js +0 -74
  1057. package/cdn/chunks/chunk.2GCMI4KK.js +0 -110
  1058. package/cdn/chunks/chunk.2I5MDGR6.js +0 -19
  1059. package/cdn/chunks/chunk.2JWMZULE.js +0 -132
  1060. package/cdn/chunks/chunk.2LDOWI64.js +0 -368
  1061. package/cdn/chunks/chunk.2VEQ6U4M.js +0 -29
  1062. package/cdn/chunks/chunk.2WO5ZVA2.js +0 -1259
  1063. package/cdn/chunks/chunk.2XVRMJAS.js +0 -99
  1064. package/cdn/chunks/chunk.2ZK5MK6J.js +0 -29
  1065. package/cdn/chunks/chunk.33FYIRDN.js +0 -33
  1066. package/cdn/chunks/chunk.36G5VRI3.js +0 -433
  1067. package/cdn/chunks/chunk.3RFHALDJ.js +0 -294
  1068. package/cdn/chunks/chunk.3RQRUNDE.js +0 -454
  1069. package/cdn/chunks/chunk.3ULJ7EU7.js +0 -19
  1070. package/cdn/chunks/chunk.3WMCCZLC.js +0 -48
  1071. package/cdn/chunks/chunk.3YMBYR2B.js +0 -34
  1072. package/cdn/chunks/chunk.42EUDXAT.js +0 -81
  1073. package/cdn/chunks/chunk.4AV2XGTK.js +0 -29
  1074. package/cdn/chunks/chunk.4IPGHRXZ.js +0 -19
  1075. package/cdn/chunks/chunk.4P5F6RTX.js +0 -37
  1076. package/cdn/chunks/chunk.4VSZFNJC.js +0 -19
  1077. package/cdn/chunks/chunk.4XQSQGHY.js +0 -294
  1078. package/cdn/chunks/chunk.4ZE2M4IJ.js +0 -29
  1079. package/cdn/chunks/chunk.57OYAVST.js +0 -19
  1080. package/cdn/chunks/chunk.57Q76ATU.js +0 -19
  1081. package/cdn/chunks/chunk.57ZIC75S.js +0 -100
  1082. package/cdn/chunks/chunk.5ADI5JJ4.js +0 -29
  1083. package/cdn/chunks/chunk.5AIM3KSY.js +0 -83
  1084. package/cdn/chunks/chunk.5AYWAPKL.js +0 -19
  1085. package/cdn/chunks/chunk.5DHTVX2Y.js +0 -32
  1086. package/cdn/chunks/chunk.5HPPP2HU.js +0 -35
  1087. package/cdn/chunks/chunk.5K75CLVA.js +0 -29
  1088. package/cdn/chunks/chunk.5M5AW62U.js +0 -19
  1089. package/cdn/chunks/chunk.5NPUZPZJ.js +0 -19
  1090. package/cdn/chunks/chunk.5OB6EF3O.js +0 -33
  1091. package/cdn/chunks/chunk.5PH4EI7K.js +0 -51
  1092. package/cdn/chunks/chunk.5PPGP4LG.js +0 -653
  1093. package/cdn/chunks/chunk.5QCTESHT.js +0 -99
  1094. package/cdn/chunks/chunk.625EMDPI.js +0 -149
  1095. package/cdn/chunks/chunk.66SRBTOG.js +0 -19
  1096. package/cdn/chunks/chunk.6B5JORD4.js +0 -19
  1097. package/cdn/chunks/chunk.6LCVGAZT.js +0 -19
  1098. package/cdn/chunks/chunk.6S6XLKPK.js +0 -32
  1099. package/cdn/chunks/chunk.6UQ6JZMH.js +0 -19
  1100. package/cdn/chunks/chunk.6UYFY5WE.js +0 -19
  1101. package/cdn/chunks/chunk.6VJOTIIK.js +0 -136
  1102. package/cdn/chunks/chunk.6VKWTIN2.js +0 -658
  1103. package/cdn/chunks/chunk.6XMUNRBX.js +0 -278
  1104. package/cdn/chunks/chunk.72FZJG2J.js +0 -346
  1105. package/cdn/chunks/chunk.7B7OUKCK.js +0 -259
  1106. package/cdn/chunks/chunk.7DRUZWQ6.js +0 -283
  1107. package/cdn/chunks/chunk.7L46HSJY.js +0 -123
  1108. package/cdn/chunks/chunk.7P3CR2XI.js +0 -29
  1109. package/cdn/chunks/chunk.7TJ44KWM.js +0 -477
  1110. package/cdn/chunks/chunk.7UJNPTTL.js +0 -19
  1111. package/cdn/chunks/chunk.7Z5G4UX7.js +0 -34
  1112. package/cdn/chunks/chunk.A37NKAN6.js +0 -29
  1113. package/cdn/chunks/chunk.A3DQK3G6.js +0 -19
  1114. package/cdn/chunks/chunk.AJF3UZN7.js +0 -32
  1115. package/cdn/chunks/chunk.ASS4WD6J.js +0 -36
  1116. package/cdn/chunks/chunk.AVYYBYTU.js +0 -19
  1117. package/cdn/chunks/chunk.AYJRESYU.js +0 -29
  1118. package/cdn/chunks/chunk.B7K3EZPH.js +0 -29
  1119. package/cdn/chunks/chunk.BBI2YID7.js +0 -19
  1120. package/cdn/chunks/chunk.BGRTTHUV.js +0 -19
  1121. package/cdn/chunks/chunk.BHHHXHYU.js +0 -35
  1122. package/cdn/chunks/chunk.BL25V72R.js +0 -19
  1123. package/cdn/chunks/chunk.BM2FFSC3.js +0 -29
  1124. package/cdn/chunks/chunk.BQYT3WHQ.js +0 -1194
  1125. package/cdn/chunks/chunk.BUI3KSUE.js +0 -93
  1126. package/cdn/chunks/chunk.BVOLRNGU.js +0 -303
  1127. package/cdn/chunks/chunk.BYEGTGI4.js +0 -161
  1128. package/cdn/chunks/chunk.CI3UWEAH.js +0 -19
  1129. package/cdn/chunks/chunk.D35L73S3.js +0 -19
  1130. package/cdn/chunks/chunk.DECHX52T.js +0 -37
  1131. package/cdn/chunks/chunk.DEDZKM62.js +0 -56075
  1132. package/cdn/chunks/chunk.DI6TR3F6.js +0 -68
  1133. package/cdn/chunks/chunk.DOOLLPEM.js +0 -150
  1134. package/cdn/chunks/chunk.DWY4HA22.js +0 -29
  1135. package/cdn/chunks/chunk.E2U4FNJW.js +0 -19
  1136. package/cdn/chunks/chunk.E72IQHCD.js +0 -19
  1137. package/cdn/chunks/chunk.ECBWWCR6.js +0 -29
  1138. package/cdn/chunks/chunk.ECXSI7V3.js +0 -138
  1139. package/cdn/chunks/chunk.EJDRYK25.js +0 -35
  1140. package/cdn/chunks/chunk.ELRJXEVW.js +0 -29
  1141. package/cdn/chunks/chunk.EP4KPI5C.js +0 -19
  1142. package/cdn/chunks/chunk.EUOOG55M.js +0 -610
  1143. package/cdn/chunks/chunk.EXEHJSML.js +0 -231
  1144. package/cdn/chunks/chunk.FF3LYD7N.js +0 -230
  1145. package/cdn/chunks/chunk.FFNJZG2H.js +0 -32
  1146. package/cdn/chunks/chunk.FHJXT45M.js +0 -32
  1147. package/cdn/chunks/chunk.FL3JRY7C.js +0 -19
  1148. package/cdn/chunks/chunk.FL6TG6GG.js +0 -78
  1149. package/cdn/chunks/chunk.FO7AKTOQ.js +0 -532
  1150. package/cdn/chunks/chunk.FPUA6LUR.js +0 -264
  1151. package/cdn/chunks/chunk.FQWFHM6H.js +0 -19
  1152. package/cdn/chunks/chunk.FU2YN36J.js +0 -19
  1153. package/cdn/chunks/chunk.FUSJU2CY.js +0 -33
  1154. package/cdn/chunks/chunk.FUSKEYVB.js +0 -19
  1155. package/cdn/chunks/chunk.G25ARGAX.js +0 -524
  1156. package/cdn/chunks/chunk.G5DGHPPX.js +0 -36
  1157. package/cdn/chunks/chunk.GCKMTUVR.js +0 -891
  1158. package/cdn/chunks/chunk.GJ4SR7B4.js +0 -134
  1159. package/cdn/chunks/chunk.GPQPCP6B.js +0 -1060
  1160. package/cdn/chunks/chunk.GRESODRO.js +0 -668
  1161. package/cdn/chunks/chunk.GWVXU5WI.js +0 -108
  1162. package/cdn/chunks/chunk.H7CEASKV.js +0 -353
  1163. package/cdn/chunks/chunk.HCGS5ZUW.js +0 -75
  1164. package/cdn/chunks/chunk.HEYSN6YA.js +0 -36
  1165. package/cdn/chunks/chunk.HTS4ZFVQ.js +0 -113
  1166. package/cdn/chunks/chunk.IDMRI4GH.js +0 -19
  1167. package/cdn/chunks/chunk.IFTFWTIP.js +0 -161
  1168. package/cdn/chunks/chunk.ILKCE63H.js +0 -60
  1169. package/cdn/chunks/chunk.INKINTZY.js +0 -32
  1170. package/cdn/chunks/chunk.IOBHQJ6L.js +0 -19
  1171. package/cdn/chunks/chunk.IPITXO35.js +0 -71
  1172. package/cdn/chunks/chunk.IZ34J5K4.js +0 -357
  1173. package/cdn/chunks/chunk.J2J5UV5V.js +0 -32
  1174. package/cdn/chunks/chunk.JALU7E3I.js +0 -599
  1175. package/cdn/chunks/chunk.JMWJRVAV.js +0 -19
  1176. package/cdn/chunks/chunk.JVOPKZZE.js +0 -19
  1177. package/cdn/chunks/chunk.JWGJIMPR.js +0 -241
  1178. package/cdn/chunks/chunk.K2BRAOGD.js +0 -19
  1179. package/cdn/chunks/chunk.K3RU3SZD.js +0 -904
  1180. package/cdn/chunks/chunk.K5IEDDT5.js +0 -19
  1181. package/cdn/chunks/chunk.KAZYZW47.js +0 -32
  1182. package/cdn/chunks/chunk.KJ5LMXU5.js +0 -32
  1183. package/cdn/chunks/chunk.KJLLZWSK.js +0 -616
  1184. package/cdn/chunks/chunk.KLKR5V36.js +0 -29
  1185. package/cdn/chunks/chunk.KRWHBFRH.js +0 -377
  1186. package/cdn/chunks/chunk.KVKZEA5R.js +0 -19
  1187. package/cdn/chunks/chunk.LBHEG35U.js +0 -121
  1188. package/cdn/chunks/chunk.LGYKACLK.js +0 -154
  1189. package/cdn/chunks/chunk.LMY4CFJM.js +0 -915
  1190. package/cdn/chunks/chunk.LNL7UHPN.js +0 -104
  1191. package/cdn/chunks/chunk.LPKSQA35.js +0 -135
  1192. package/cdn/chunks/chunk.LZMDVGJS.js +0 -190
  1193. package/cdn/chunks/chunk.MJOYRLAB.js +0 -110
  1194. package/cdn/chunks/chunk.MPO2T7WC.js +0 -551
  1195. package/cdn/chunks/chunk.MV5QBYHJ.js +0 -234
  1196. package/cdn/chunks/chunk.MV7KNTAC.js +0 -37
  1197. package/cdn/chunks/chunk.MVLOHLY3.js +0 -29
  1198. package/cdn/chunks/chunk.MZX4PLAT.js +0 -29
  1199. package/cdn/chunks/chunk.N23W6OPH.js +0 -29
  1200. package/cdn/chunks/chunk.N5CLBUIF.js +0 -19
  1201. package/cdn/chunks/chunk.N6WRXNV7.js +0 -29
  1202. package/cdn/chunks/chunk.NAPCISUZ.js +0 -539
  1203. package/cdn/chunks/chunk.NBTBBAOL.js +0 -330
  1204. package/cdn/chunks/chunk.NEQFWCTE.js +0 -1975
  1205. package/cdn/chunks/chunk.NF5RMGKM.js +0 -19
  1206. package/cdn/chunks/chunk.NOMNWTWP.js +0 -19
  1207. package/cdn/chunks/chunk.NPIOS56H.js +0 -33
  1208. package/cdn/chunks/chunk.OD6EOMUO.js +0 -49
  1209. package/cdn/chunks/chunk.OEEK7IGM.js +0 -247
  1210. package/cdn/chunks/chunk.OL4RPTAB.js +0 -29
  1211. package/cdn/chunks/chunk.OOARZG5H.js +0 -19
  1212. package/cdn/chunks/chunk.OQZR2P7I.js +0 -233
  1213. package/cdn/chunks/chunk.OTMCA5ZD.js +0 -19
  1214. package/cdn/chunks/chunk.OUXEEEZS.js +0 -306
  1215. package/cdn/chunks/chunk.OVML5LCW.js +0 -19
  1216. package/cdn/chunks/chunk.PAYLJDHP.js +0 -29
  1217. package/cdn/chunks/chunk.PCJWW3CY.js +0 -99
  1218. package/cdn/chunks/chunk.PF6ZCIOU.js +0 -19
  1219. package/cdn/chunks/chunk.PFVGKVDR.js +0 -29
  1220. package/cdn/chunks/chunk.PILWQKJZ.js +0 -32
  1221. package/cdn/chunks/chunk.PKTFYEXJ.js +0 -19
  1222. package/cdn/chunks/chunk.PMD3UQTU.js +0 -109
  1223. package/cdn/chunks/chunk.Q3FRXA74.js +0 -138
  1224. package/cdn/chunks/chunk.QBZO6SET.js +0 -19
  1225. package/cdn/chunks/chunk.QCZUWUCV.js +0 -205
  1226. package/cdn/chunks/chunk.QKSPDBX3.js +0 -29
  1227. package/cdn/chunks/chunk.QNDUUSMI.js +0 -32
  1228. package/cdn/chunks/chunk.QOHUVWMU.js +0 -33
  1229. package/cdn/chunks/chunk.QRLWVOPI.js +0 -276
  1230. package/cdn/chunks/chunk.QXTHYJRA.js +0 -19
  1231. package/cdn/chunks/chunk.R5DZS4QA.js +0 -33
  1232. package/cdn/chunks/chunk.RGQYJ2BB.js +0 -32
  1233. package/cdn/chunks/chunk.RLV2CGAO.js +0 -34
  1234. package/cdn/chunks/chunk.RR6TA75J.js +0 -19
  1235. package/cdn/chunks/chunk.RRQ6DMWB.js +0 -19
  1236. package/cdn/chunks/chunk.RWGG5FYE.js +0 -83
  1237. package/cdn/chunks/chunk.RZCUU4XA.js +0 -92
  1238. package/cdn/chunks/chunk.S2IZSFXY.js +0 -293
  1239. package/cdn/chunks/chunk.SHSRHCJB.js +0 -86
  1240. package/cdn/chunks/chunk.SKG5CDYE.js +0 -445
  1241. package/cdn/chunks/chunk.SP3MVXEA.js +0 -352
  1242. package/cdn/chunks/chunk.SREX7N6N.js +0 -32
  1243. package/cdn/chunks/chunk.SWTDUVYP.js +0 -19
  1244. package/cdn/chunks/chunk.T57USK7E.js +0 -29
  1245. package/cdn/chunks/chunk.TJZNXC27.js +0 -19
  1246. package/cdn/chunks/chunk.TRMVYTDG.js +0 -68
  1247. package/cdn/chunks/chunk.TSXJLTWJ.js +0 -77
  1248. package/cdn/chunks/chunk.TVA2ZP4B.js +0 -201
  1249. package/cdn/chunks/chunk.TZCHRRCA.js +0 -662
  1250. package/cdn/chunks/chunk.TZY2KDYX.js +0 -29
  1251. package/cdn/chunks/chunk.U5NYPJAO.js +0 -493
  1252. package/cdn/chunks/chunk.UKREJQKJ.js +0 -304
  1253. package/cdn/chunks/chunk.UTWCMYYE.js +0 -151
  1254. package/cdn/chunks/chunk.UXY5K3VK.js +0 -82
  1255. package/cdn/chunks/chunk.V2QBQWJQ.js +0 -128
  1256. package/cdn/chunks/chunk.V3ROD6NC.js +0 -19
  1257. package/cdn/chunks/chunk.V4CFBIFI.js +0 -36
  1258. package/cdn/chunks/chunk.V5FO6KN2.js +0 -41
  1259. package/cdn/chunks/chunk.V5QINUM5.js +0 -29
  1260. package/cdn/chunks/chunk.VBTZCF6B.js +0 -19
  1261. package/cdn/chunks/chunk.VE4K6Z25.js +0 -224
  1262. package/cdn/chunks/chunk.VICFKGQG.js +0 -277
  1263. package/cdn/chunks/chunk.VLJBIUBN.js +0 -35
  1264. package/cdn/chunks/chunk.VNHY5ZFZ.js +0 -19
  1265. package/cdn/chunks/chunk.VRHL4XEA.js +0 -19
  1266. package/cdn/chunks/chunk.VUQKLEDU.js +0 -158
  1267. package/cdn/chunks/chunk.VWZCWLYQ.js +0 -29
  1268. package/cdn/chunks/chunk.VXM3UPYD.js +0 -359
  1269. package/cdn/chunks/chunk.W3EBZA4T.js +0 -443
  1270. package/cdn/chunks/chunk.WDGPOBV3.js +0 -19
  1271. package/cdn/chunks/chunk.WTLXZJDV.js +0 -189
  1272. package/cdn/chunks/chunk.WZHGMWDP.js +0 -151
  1273. package/cdn/chunks/chunk.X5SA7DI6.js +0 -2263
  1274. package/cdn/chunks/chunk.X6VYQOQ2.js +0 -538
  1275. package/cdn/chunks/chunk.XBCKI3GQ.js +0 -35
  1276. package/cdn/chunks/chunk.XD3Q6O3R.js +0 -310
  1277. package/cdn/chunks/chunk.XKWNA7N5.js +0 -29
  1278. package/cdn/chunks/chunk.XPXTO5PU.js +0 -19
  1279. package/cdn/chunks/chunk.XPZE3KH3.js +0 -512
  1280. package/cdn/chunks/chunk.XVM4RFB4.js +0 -29
  1281. package/cdn/chunks/chunk.XWFTM3O5.js +0 -172
  1282. package/cdn/chunks/chunk.XXBW3R7J.js +0 -29
  1283. package/cdn/chunks/chunk.XYC2ED7L.js +0 -19
  1284. package/cdn/chunks/chunk.YEKG4766.js +0 -188
  1285. package/cdn/chunks/chunk.YETZGDPT.js +0 -19
  1286. package/cdn/chunks/chunk.YFMBAZ43.js +0 -123
  1287. package/cdn/chunks/chunk.YGA6VAV4.js +0 -373
  1288. package/cdn/chunks/chunk.YMOIAW4X.js +0 -47
  1289. package/cdn/chunks/chunk.YNIY33OW.js +0 -103
  1290. package/cdn/chunks/chunk.YNVAOTNM.js +0 -128
  1291. package/cdn/chunks/chunk.YRQMTK4N.js +0 -19
  1292. package/cdn/chunks/chunk.YX2HWNCK.js +0 -156
  1293. package/cdn/chunks/chunk.YYFORSWP.js +0 -62
  1294. package/cdn/chunks/chunk.Z2SC4DOK.js +0 -214
  1295. package/cdn/chunks/chunk.ZBOSNNIT.js +0 -155
  1296. package/cdn/chunks/chunk.ZFPFH5WB.js +0 -30
  1297. package/cdn/chunks/chunk.ZM6WMVSY.js +0 -235
  1298. package/cdn/chunks/chunk.ZNHBBBRJ.js +0 -338
  1299. package/cdn/chunks/chunk.ZQ77WJ7Q.js +0 -19
  1300. package/cdn/chunks/chunk.ZTJLTIVE.js +0 -32
  1301. package/cdn/chunks/chunk.ZXCPBT4I.js +0 -19
  1302. package/cdn/chunks/chunk.ZY7XMVRN.js +0 -19
  1303. package/dist/chunks/chunk.2BKQXNED.js +0 -134
  1304. package/dist/chunks/chunk.2DXTPC6K.js +0 -12
  1305. package/dist/chunks/chunk.2QGWC5BV.js +0 -35
  1306. package/dist/chunks/chunk.2QSIBFAK.js +0 -1
  1307. package/dist/chunks/chunk.2SQ55YCX.js +0 -43
  1308. package/dist/chunks/chunk.2TFJTDVW.js +0 -1
  1309. package/dist/chunks/chunk.2WKQSAYN.js +0 -1
  1310. package/dist/chunks/chunk.32TDAXC6.js +0 -118
  1311. package/dist/chunks/chunk.3EDA2HZU.js +0 -266
  1312. package/dist/chunks/chunk.3G6QKB5Z.js +0 -58
  1313. package/dist/chunks/chunk.3HQ2G374.js +0 -1
  1314. package/dist/chunks/chunk.3JICBNSC.js +0 -37
  1315. package/dist/chunks/chunk.3JIMAXOF.js +0 -91
  1316. package/dist/chunks/chunk.3NF4ZH65.js +0 -1
  1317. package/dist/chunks/chunk.3VNSTFJ4.js +0 -1
  1318. package/dist/chunks/chunk.3YUBQVYS.js +0 -137
  1319. package/dist/chunks/chunk.43FPERQ6.js +0 -1
  1320. package/dist/chunks/chunk.47KREHD6.js +0 -1
  1321. package/dist/chunks/chunk.4H7EP4CT.js +0 -428
  1322. package/dist/chunks/chunk.4LLOYTCT.js +0 -1
  1323. package/dist/chunks/chunk.4LSG6FES.js +0 -1
  1324. package/dist/chunks/chunk.5CI55JQP.js +0 -1
  1325. package/dist/chunks/chunk.5DENMT2X.js +0 -1
  1326. package/dist/chunks/chunk.5DVFWG6G.js +0 -356
  1327. package/dist/chunks/chunk.5KXNZ652.js +0 -1
  1328. package/dist/chunks/chunk.5OYJKV7G.js +0 -1
  1329. package/dist/chunks/chunk.5PSROJ22.js +0 -1
  1330. package/dist/chunks/chunk.5XWQQOAG.js +0 -1
  1331. package/dist/chunks/chunk.5XXB4PJK.js +0 -1
  1332. package/dist/chunks/chunk.64OTFJIJ.js +0 -1
  1333. package/dist/chunks/chunk.64PUFTSF.js +0 -1
  1334. package/dist/chunks/chunk.6AJD3EGC.js +0 -65
  1335. package/dist/chunks/chunk.6BSZ76Z2.js +0 -1
  1336. package/dist/chunks/chunk.6K6WF43A.js +0 -23
  1337. package/dist/chunks/chunk.6KGMHF2O.js +0 -1
  1338. package/dist/chunks/chunk.6KK7RZNX.js +0 -1
  1339. package/dist/chunks/chunk.6LIFKKEC.js +0 -1
  1340. package/dist/chunks/chunk.6OQFZXRC.js +0 -1
  1341. package/dist/chunks/chunk.6SUK7Y4R.js +0 -14
  1342. package/dist/chunks/chunk.6VRE7YNG.js +0 -216
  1343. package/dist/chunks/chunk.6YK2ZG6R.js +0 -35
  1344. package/dist/chunks/chunk.743ALC5H.js +0 -1
  1345. package/dist/chunks/chunk.75HMCL2A.js +0 -47
  1346. package/dist/chunks/chunk.7DPD4X4B.js +0 -300
  1347. package/dist/chunks/chunk.7J4DVRXX.js +0 -1
  1348. package/dist/chunks/chunk.7JDC2RFP.js +0 -8
  1349. package/dist/chunks/chunk.7JZVKWGI.js +0 -60
  1350. package/dist/chunks/chunk.7KHWI5SL.js +0 -33
  1351. package/dist/chunks/chunk.7PZNSDQ5.js +0 -1
  1352. package/dist/chunks/chunk.7W27XF6C.js +0 -218
  1353. package/dist/chunks/chunk.7XEN6ICO.js +0 -1
  1354. package/dist/chunks/chunk.7XVQ23TB.js +0 -20
  1355. package/dist/chunks/chunk.ACPZYKOT.js +0 -155
  1356. package/dist/chunks/chunk.AF6G3A5D.js +0 -1
  1357. package/dist/chunks/chunk.AHC6T47K.js +0 -1
  1358. package/dist/chunks/chunk.AJNU4HWN.js +0 -1
  1359. package/dist/chunks/chunk.AKA2QFDM.js +0 -1
  1360. package/dist/chunks/chunk.AKIRNQRC.js +0 -27
  1361. package/dist/chunks/chunk.APANZSWJ.js +0 -74
  1362. package/dist/chunks/chunk.APSYXHD5.js +0 -25
  1363. package/dist/chunks/chunk.AW2A2QTE.js +0 -1
  1364. package/dist/chunks/chunk.AXIAILZZ.js +0 -55
  1365. package/dist/chunks/chunk.B3ZY2E4Q.js +0 -1
  1366. package/dist/chunks/chunk.BDEOKJ3L.js +0 -1
  1367. package/dist/chunks/chunk.BKGRXBHT.js +0 -230
  1368. package/dist/chunks/chunk.BLSKYIQD.js +0 -1
  1369. package/dist/chunks/chunk.BODIPZIM.js +0 -80
  1370. package/dist/chunks/chunk.BOPUSC3U.js +0 -142
  1371. package/dist/chunks/chunk.BRKMSN22.js +0 -1
  1372. package/dist/chunks/chunk.BUQ4K6CF.js +0 -1
  1373. package/dist/chunks/chunk.BVMTE5JH.js +0 -17
  1374. package/dist/chunks/chunk.BWXONYC5.js +0 -8
  1375. package/dist/chunks/chunk.BXJPVJF6.js +0 -1
  1376. package/dist/chunks/chunk.C6TN4LPS.js +0 -19
  1377. package/dist/chunks/chunk.C7ILTTDA.js +0 -495
  1378. package/dist/chunks/chunk.CFWA3EO3.js +0 -75
  1379. package/dist/chunks/chunk.CIJPMZV4.js +0 -1
  1380. package/dist/chunks/chunk.CIWVH54V.js +0 -260
  1381. package/dist/chunks/chunk.CSNEHB3W.js +0 -1
  1382. package/dist/chunks/chunk.CV2D3MDN.js +0 -93
  1383. package/dist/chunks/chunk.D4SXMFUO.js +0 -1
  1384. package/dist/chunks/chunk.D6JGGPDG.js +0 -1
  1385. package/dist/chunks/chunk.DH2ETC5K.js +0 -1
  1386. package/dist/chunks/chunk.DHVGMUXT.js +0 -1
  1387. package/dist/chunks/chunk.DKSW5GNS.js +0 -30
  1388. package/dist/chunks/chunk.DT75XCOF.js +0 -1
  1389. package/dist/chunks/chunk.EBSZILKQ.js +0 -299
  1390. package/dist/chunks/chunk.ECUPQPMI.js +0 -99
  1391. package/dist/chunks/chunk.EDDCCPSB.js +0 -1
  1392. package/dist/chunks/chunk.EEWHJT32.js +0 -636
  1393. package/dist/chunks/chunk.EFM5VLZI.js +0 -1
  1394. package/dist/chunks/chunk.EIHU2UDG.js +0 -1
  1395. package/dist/chunks/chunk.EP7VZEIL.js +0 -197
  1396. package/dist/chunks/chunk.ETRX7GIB.js +0 -30
  1397. package/dist/chunks/chunk.EZTZC64X.js +0 -1
  1398. package/dist/chunks/chunk.FCRKWU32.js +0 -1
  1399. package/dist/chunks/chunk.FL6IFTRN.js +0 -34
  1400. package/dist/chunks/chunk.FO6MWAM4.js +0 -1
  1401. package/dist/chunks/chunk.FS32ZNBH.js +0 -1
  1402. package/dist/chunks/chunk.FSINGXON.js +0 -20
  1403. package/dist/chunks/chunk.FTR5QGHX.js +0 -1
  1404. package/dist/chunks/chunk.FV3MUE37.js +0 -1
  1405. package/dist/chunks/chunk.FWGXDREQ.js +0 -1
  1406. package/dist/chunks/chunk.FY757A7P.js +0 -1
  1407. package/dist/chunks/chunk.GE7UDDDW.js +0 -1
  1408. package/dist/chunks/chunk.GGC4JQT3.js +0 -11
  1409. package/dist/chunks/chunk.GNI2KUZX.js +0 -1
  1410. package/dist/chunks/chunk.GXTFJZWR.js +0 -351
  1411. package/dist/chunks/chunk.H2ISCJTL.js +0 -31
  1412. package/dist/chunks/chunk.H736IF6K.js +0 -43
  1413. package/dist/chunks/chunk.HBUJZ7RU.js +0 -1
  1414. package/dist/chunks/chunk.HC6JNWFT.js +0 -1
  1415. package/dist/chunks/chunk.HRHE4CU5.js +0 -1
  1416. package/dist/chunks/chunk.HVAJUDUH.js +0 -4
  1417. package/dist/chunks/chunk.HVAMKSBX.js +0 -9
  1418. package/dist/chunks/chunk.IDC2Z2LC.js +0 -1
  1419. package/dist/chunks/chunk.IQSU4RH4.js +0 -1
  1420. package/dist/chunks/chunk.J3HRJMJP.js +0 -1
  1421. package/dist/chunks/chunk.JF67CVCP.js +0 -38
  1422. package/dist/chunks/chunk.JKV4JITR.js +0 -115
  1423. package/dist/chunks/chunk.JO73N37Q.js +0 -1
  1424. package/dist/chunks/chunk.JXE6DOO5.js +0 -16
  1425. package/dist/chunks/chunk.JZ76QPPW.js +0 -1
  1426. package/dist/chunks/chunk.KAEEI4RX.js +0 -121
  1427. package/dist/chunks/chunk.KGY6Y4DR.js +0 -1
  1428. package/dist/chunks/chunk.KGZZ7BN3.js +0 -289
  1429. package/dist/chunks/chunk.KJB4OVGG.js +0 -329
  1430. package/dist/chunks/chunk.KUDERI2M.js +0 -1
  1431. package/dist/chunks/chunk.KVCUA7LO.js +0 -64
  1432. package/dist/chunks/chunk.KXA6CEPI.js +0 -1043
  1433. package/dist/chunks/chunk.L4WMFOWF.js +0 -133
  1434. package/dist/chunks/chunk.LAN4FYHK.js +0 -1
  1435. package/dist/chunks/chunk.LC4WH54W.js +0 -1
  1436. package/dist/chunks/chunk.LDV2ZADV.js +0 -127
  1437. package/dist/chunks/chunk.LELHYD6O.js +0 -1
  1438. package/dist/chunks/chunk.LV6LKZXP.js +0 -1
  1439. package/dist/chunks/chunk.M24MU27S.js +0 -82
  1440. package/dist/chunks/chunk.M2Q2IB3F.js +0 -1
  1441. package/dist/chunks/chunk.MBOEIFFU.js +0 -1
  1442. package/dist/chunks/chunk.MGGT4F4V.js +0 -1
  1443. package/dist/chunks/chunk.MIQ462RT.js +0 -1
  1444. package/dist/chunks/chunk.MIYCM3S4.js +0 -1
  1445. package/dist/chunks/chunk.MJELKCGN.js +0 -26
  1446. package/dist/chunks/chunk.MR2JD62K.js +0 -437
  1447. package/dist/chunks/chunk.MU2SJMJW.js +0 -1
  1448. package/dist/chunks/chunk.MX6JDNUP.js +0 -1
  1449. package/dist/chunks/chunk.N7G5YAKM.js +0 -1
  1450. package/dist/chunks/chunk.NMBMRCQQ.js +0 -1
  1451. package/dist/chunks/chunk.NMV24LJW.js +0 -9
  1452. package/dist/chunks/chunk.NN2CA7SE.js +0 -41
  1453. package/dist/chunks/chunk.NP2QG5W4.js +0 -51
  1454. package/dist/chunks/chunk.NS26626Q.js +0 -1
  1455. package/dist/chunks/chunk.NT2F7VWZ.js +0 -157
  1456. package/dist/chunks/chunk.O23PBMM4.js +0 -26
  1457. package/dist/chunks/chunk.O4GTKXOY.js +0 -1
  1458. package/dist/chunks/chunk.OD2ALAIJ.js +0 -67
  1459. package/dist/chunks/chunk.OF4OGUYG.js +0 -1
  1460. package/dist/chunks/chunk.OGB74DMG.js +0 -1157
  1461. package/dist/chunks/chunk.OIUVQPNF.js +0 -287
  1462. package/dist/chunks/chunk.OK4GLFAE.js +0 -64
  1463. package/dist/chunks/chunk.P3TUPYJL.js +0 -569
  1464. package/dist/chunks/chunk.P46NR7KP.js +0 -1
  1465. package/dist/chunks/chunk.PABHK3LQ.js +0 -1
  1466. package/dist/chunks/chunk.PJ2G5T64.js +0 -144
  1467. package/dist/chunks/chunk.PQVLWKKG.js +0 -1
  1468. package/dist/chunks/chunk.PROUADZM.js +0 -1
  1469. package/dist/chunks/chunk.PRV7ZZ6J.js +0 -1
  1470. package/dist/chunks/chunk.Q2PNDWX4.js +0 -1
  1471. package/dist/chunks/chunk.Q54IJJKH.js +0 -112
  1472. package/dist/chunks/chunk.QAPV4EOX.js +0 -145
  1473. package/dist/chunks/chunk.QEAIGKVS.js +0 -122
  1474. package/dist/chunks/chunk.QEC2HTZ5.js +0 -22
  1475. package/dist/chunks/chunk.QENRMOND.js +0 -100
  1476. package/dist/chunks/chunk.QJUTOVXW.js +0 -1
  1477. package/dist/chunks/chunk.QOERGWMD.js +0 -1
  1478. package/dist/chunks/chunk.QRY75K47.js +0 -1
  1479. package/dist/chunks/chunk.QVROOS6R.js +0 -62
  1480. package/dist/chunks/chunk.QX3BPH3M.js +0 -1
  1481. package/dist/chunks/chunk.QYVYWRMS.js +0 -5
  1482. package/dist/chunks/chunk.QYYTBGFQ.js +0 -11
  1483. package/dist/chunks/chunk.QZWCO7EF.js +0 -321
  1484. package/dist/chunks/chunk.R4D7NLOS.js +0 -651
  1485. package/dist/chunks/chunk.R6FOZ2KQ.js +0 -1
  1486. package/dist/chunks/chunk.REK2YOIL.js +0 -92
  1487. package/dist/chunks/chunk.RK65WAF3.js +0 -1
  1488. package/dist/chunks/chunk.RM5CVLJ5.js +0 -336
  1489. package/dist/chunks/chunk.RNXKFNZR.js +0 -2
  1490. package/dist/chunks/chunk.RSCJ6EDH.js +0 -1
  1491. package/dist/chunks/chunk.RU763IGI.js +0 -1
  1492. package/dist/chunks/chunk.RXVPWUKQ.js +0 -1
  1493. package/dist/chunks/chunk.S3CZEFVL.js +0 -1
  1494. package/dist/chunks/chunk.S5DR3NKX.js +0 -1
  1495. package/dist/chunks/chunk.SLNATYOJ.js +0 -1
  1496. package/dist/chunks/chunk.SN5L5S2N.js +0 -1
  1497. package/dist/chunks/chunk.SRDW6MAE.js +0 -111
  1498. package/dist/chunks/chunk.SUBBVKKD.js +0 -104
  1499. package/dist/chunks/chunk.SUSXMFBP.js +0 -1
  1500. package/dist/chunks/chunk.SXKOCRXJ.js +0 -1
  1501. package/dist/chunks/chunk.SXMCHJGG.js +0 -1
  1502. package/dist/chunks/chunk.SZH3FY3I.js +0 -6
  1503. package/dist/chunks/chunk.THMFNJK5.js +0 -280
  1504. package/dist/chunks/chunk.TK3G4RLJ.js +0 -1
  1505. package/dist/chunks/chunk.TNG2TPSR.js +0 -760
  1506. package/dist/chunks/chunk.U2LI6N3N.js +0 -39
  1507. package/dist/chunks/chunk.U2YUXNDU.js +0 -1
  1508. package/dist/chunks/chunk.U5U3HF7N.js +0 -1
  1509. package/dist/chunks/chunk.U6IVOB3T.js +0 -55
  1510. package/dist/chunks/chunk.UFT5PNZY.js +0 -1
  1511. package/dist/chunks/chunk.UHANUXXH.js +0 -1
  1512. package/dist/chunks/chunk.UHM5JVWJ.js +0 -1
  1513. package/dist/chunks/chunk.UQFHCAEE.js +0 -1
  1514. package/dist/chunks/chunk.V47VOL37.js +0 -1
  1515. package/dist/chunks/chunk.V6YV5XCV.js +0 -1
  1516. package/dist/chunks/chunk.VENMBB5D.js +0 -184
  1517. package/dist/chunks/chunk.VHWUB4FU.js +0 -121
  1518. package/dist/chunks/chunk.VIH2D22B.js +0 -1
  1519. package/dist/chunks/chunk.VQ4I6PUR.js +0 -24
  1520. package/dist/chunks/chunk.VYBWO7SD.js +0 -1
  1521. package/dist/chunks/chunk.VZRGITRU.js +0 -1
  1522. package/dist/chunks/chunk.VZX3SFGZ.js +0 -139
  1523. package/dist/chunks/chunk.W2BB76HP.js +0 -83
  1524. package/dist/chunks/chunk.WAUMR5DT.js +0 -1
  1525. package/dist/chunks/chunk.WC7VHS63.js +0 -1
  1526. package/dist/chunks/chunk.WFZ4CJYQ.js +0 -1
  1527. package/dist/chunks/chunk.WH7H4IID.js +0 -1
  1528. package/dist/chunks/chunk.WKN2WHAA.js +0 -16
  1529. package/dist/chunks/chunk.WR22TB5Y.js +0 -106
  1530. package/dist/chunks/chunk.WTMZ3VLT.js +0 -51
  1531. package/dist/chunks/chunk.XB25TL7L.js +0 -1
  1532. package/dist/chunks/chunk.XS4GAQXS.js +0 -1
  1533. package/dist/chunks/chunk.XTZDLU4O.js +0 -1
  1534. package/dist/chunks/chunk.XWET63TO.js +0 -188
  1535. package/dist/chunks/chunk.YFNSLRKX.js +0 -1
  1536. package/dist/chunks/chunk.YJDL5GV7.js +0 -1
  1537. package/dist/chunks/chunk.YKNOPG45.js +0 -1
  1538. package/dist/chunks/chunk.YPAZMXKZ.js +0 -1
  1539. package/dist/chunks/chunk.YRNKJ2HR.js +0 -5
  1540. package/dist/chunks/chunk.YRZ3RESG.js +0 -1
  1541. package/dist/chunks/chunk.YYLBVETD.js +0 -1
  1542. package/dist/chunks/chunk.YZOJBYJJ.js +0 -132
  1543. package/dist/chunks/chunk.Z47EAJ4R.js +0 -66
  1544. package/dist/chunks/chunk.Z655PVER.js +0 -1
  1545. package/dist/chunks/chunk.Z6ZKXGRO.js +0 -154
  1546. package/dist/chunks/chunk.Z7LPYJQ5.js +0 -1
  1547. package/dist/chunks/chunk.ZDZP6JLV.js +0 -1
  1548. package/dist/chunks/chunk.ZGHSH2C2.js +0 -1
  1549. package/dist/chunks/chunk.ZNSBJSLZ.js +0 -55
  1550. package/dist/chunks/chunk.ZORILGBU.js +0 -48
  1551. package/dist/chunks/chunk.ZRFO26MR.js +0 -20
  1552. package/dist/chunks/chunk.ZWO53CYQ.js +0 -1
  1553. package/dist/chunks/chunk.ZXSLGF4Q.js +0 -86
  1554. package/dist/terra_ui_components-0.0.187-py3-none-any.whl +0 -0
  1555. package/dist/terra_ui_components-0.0.187.tar.gz +0 -0
@@ -0,0 +1,2555 @@
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.MNHYBM5Z.js";
11
+ import {
12
+ TerraLogin
13
+ } from "./chunk.FFIWGCVU.js";
14
+ import {
15
+ TerraDialog
16
+ } from "./chunk.WV5U6JXW.js";
17
+ import {
18
+ HarmonyRequestController
19
+ } from "./chunk.R2K7YI7D.js";
20
+ import {
21
+ HarmonyRequest
22
+ } from "./chunk.26UZKSB4.js";
23
+ import {
24
+ AuthController
25
+ } from "./chunk.P34Y4ETY.js";
26
+ import {
27
+ data_subsetter_styles_default
28
+ } from "./chunk.ITK2GQEZ.js";
29
+ import {
30
+ TerraDataAccess,
31
+ debounce
32
+ } from "./chunk.O4R7PTMM.js";
33
+ import {
34
+ TerraSlider
35
+ } from "./chunk.YZJY5KHP.js";
36
+ import {
37
+ TerraMenu
38
+ } from "./chunk.R6FQRIIQ.js";
39
+ import {
40
+ TerraMenuItem
41
+ } from "./chunk.BP6TJGHY.js";
42
+ import {
43
+ TerraDatePicker
44
+ } from "./chunk.3OYBNUEI.js";
45
+ import {
46
+ CollectionController
47
+ } from "./chunk.3TXZPWC4.js";
48
+ import {
49
+ TerraSpatialPicker
50
+ } from "./chunk.P6233WZY.js";
51
+ import {
52
+ TerraDropdown
53
+ } from "./chunk.KYYZNB77.js";
54
+ import {
55
+ TerraInput
56
+ } from "./chunk.ZEJSSTEK.js";
57
+ import {
58
+ QueryClientMixin
59
+ } from "./chunk.DOUWGQFH.js";
60
+ import {
61
+ TerraLoader
62
+ } from "./chunk.ZI54JMC5.js";
63
+ import {
64
+ getUTCDate
65
+ } from "./chunk.TKSEPVAL.js";
66
+ import {
67
+ TerraButton
68
+ } from "./chunk.3S7WMMIE.js";
69
+ import {
70
+ TerraAccordion
71
+ } from "./chunk.NXTFWRHB.js";
72
+ import {
73
+ TerraIcon
74
+ } from "./chunk.5CH4R2XF.js";
75
+ import {
76
+ getBasePath
77
+ } from "./chunk.ZQVMOVOT.js";
78
+ import {
79
+ TerraAlert
80
+ } from "./chunk.LY2MO4WB.js";
81
+ import {
82
+ watch
83
+ } from "./chunk.MPVZOQYA.js";
84
+ import {
85
+ TerraElement,
86
+ component_styles_default,
87
+ e,
88
+ n,
89
+ r
90
+ } from "./chunk.HUU6UOOJ.js";
91
+ import {
92
+ A,
93
+ b
94
+ } from "./chunk.RRCYT4LP.js";
95
+ import {
96
+ __decorateClass,
97
+ __privateAdd,
98
+ __privateGet,
99
+ __privateMethod,
100
+ __spreadProps,
101
+ __spreadValues,
102
+ init_buffer,
103
+ init_dirname,
104
+ init_process
105
+ } from "./chunk.ZEOVK2FE.js";
106
+
107
+ // src/components/data-subsetter/data-subsetter.component.ts
108
+ init_dirname();
109
+ init_buffer();
110
+ init_process();
111
+
112
+ // src/lib/jupyter.ts
113
+ init_dirname();
114
+ init_buffer();
115
+ init_process();
116
+ var JUPYTER_LITE_URL = "https://gesdisc.github.io/jupyterlite/lab/index.html";
117
+ function openJupyterLiteWindow(readyCb) {
118
+ const jupyterWindow = window.open(JUPYTER_LITE_URL, "_blank");
119
+ if (!jupyterWindow) {
120
+ console.error("Failed to open JupyterLite!");
121
+ return;
122
+ }
123
+ window.addEventListener("message", (event) => readyCb(event, jupyterWindow), {
124
+ once: true
125
+ });
126
+ return jupyterWindow;
127
+ }
128
+ function sendDataToJupyterNotebook(type, data) {
129
+ openJupyterLiteWindow((event, jupyterWindow) => {
130
+ var _a;
131
+ if (((_a = event.data) == null ? void 0 : _a.type) !== "jupyterlite-ready") {
132
+ return;
133
+ }
134
+ console.log("JupyterLite is ready!");
135
+ jupyterWindow.postMessage(__spreadValues({ type }, data), "*");
136
+ });
137
+ }
138
+
139
+ // src/services/cmr-variable.service.ts
140
+ init_dirname();
141
+ init_buffer();
142
+ init_process();
143
+ var CmrVariableService = class {
144
+ /**
145
+ * given a name and a list of variables, return the variable with the matching name
146
+ */
147
+ getVariableByName(name, variables) {
148
+ var _a;
149
+ if (!variables || !((_a = variables.items) == null ? void 0 : _a.length)) {
150
+ return;
151
+ }
152
+ return variables.items.find((variable) => variable.umm.Name === name);
153
+ }
154
+ /**
155
+ * given a variable, return the variable's display label
156
+ * ex: Shortname = LongName (Units)
157
+ */
158
+ getVariableDisplayLabel(variable) {
159
+ const { Name = "", LongName = "", Units = "" } = variable.umm;
160
+ return `${Name}${Name && LongName && Name !== LongName ? ` = ${LongName}` : ""}${Units ? ` (${Units})` : ""}`;
161
+ }
162
+ };
163
+ var cmrVariableService = new CmrVariableService();
164
+ var cmr_variable_service_default = cmrVariableService;
165
+
166
+ // src/components/data-subsetter/data-subsetter.component.ts
167
+ var defaultOutputFormat = {
168
+ key: "application/x-netcdf4",
169
+ label: "NetCDF",
170
+ description: "Download data in NetCDF format"
171
+ };
172
+ 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, _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, _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;
173
+ var TerraDataSubsetter = class extends QueryClientMixin(TerraElement) {
174
+ constructor() {
175
+ super(...arguments);
176
+ __privateAdd(this, _renderFooterForDialog);
177
+ __privateAdd(this, _renderSizeInfo);
178
+ __privateAdd(this, _renderSubsetOptions);
179
+ __privateAdd(this, _renderSearchForCollection);
180
+ __privateAdd(this, _renderOutputFormatSelection);
181
+ __privateAdd(this, _renderDateRangeSelection);
182
+ __privateAdd(this, _getCollectionDateRange);
183
+ __privateAdd(this, _renderSpatialSelection);
184
+ __privateAdd(this, _renderVariableSelection);
185
+ __privateAdd(this, _renderDimensionGroup);
186
+ __privateAdd(this, _setDimensionValue);
187
+ __privateAdd(this, _renderDimensionSelection);
188
+ __privateAdd(this, _filterVariableTree);
189
+ __privateAdd(this, _handleVariableFilterChange);
190
+ __privateAdd(this, _buildVariableTree);
191
+ __privateAdd(this, _renderVariableTree);
192
+ __privateAdd(this, _getAllGroupPaths);
193
+ __privateAdd(this, _toggleGroupExpand);
194
+ __privateAdd(this, _toggleExpandCollapseAll);
195
+ __privateAdd(this, _toggleVariableSelection);
196
+ __privateAdd(this, _markFieldTouched);
197
+ __privateAdd(this, _resetDimensionSelection);
198
+ __privateAdd(this, _isDimensionExcluded);
199
+ __privateAdd(this, _getCommonSelectableDimensions);
200
+ __privateAdd(this, _renderJobStatus);
201
+ __privateAdd(this, _renderSelectedParams);
202
+ __privateAdd(this, _cancelJob);
203
+ __privateAdd(this, _getData);
204
+ __privateAdd(this, _touchAllFields);
205
+ __privateAdd(this, _numberOfFilesFoundEstimate);
206
+ __privateAdd(this, _getDocumentationLinks);
207
+ __privateAdd(this, _getDataLinks);
208
+ __privateAdd(this, _hasAtLeastOneSubsetOption);
209
+ __privateAdd(this, _hasSpatialSubset);
210
+ __privateAdd(this, _renderJobMessage);
211
+ __privateAdd(this, _getJobMessageText);
212
+ __privateAdd(this, _estimateJobSize);
213
+ __privateAdd(this, _refineParameters);
214
+ __privateAdd(this, _backToSubsetOptions);
215
+ __privateAdd(this, _viewRunningJob);
216
+ __privateAdd(this, _handleDownloadSelect);
217
+ __privateAdd(this, _downloadLinksAsTxt);
218
+ __privateAdd(this, _downloadPythonScript);
219
+ __privateAdd(this, _downloadEarthdataDownload);
220
+ __privateAdd(this, _handleJupyterNotebookClick);
221
+ __privateAdd(this, _renderAvailableTemporalRangeSection);
222
+ __privateAdd(this, _renderAvailableSpatialRangeSection);
223
+ __privateAdd(this, _renderDataAccessModeSelection);
224
+ __privateAdd(this, _getGiovanniValidationError);
225
+ this.showCollectionSearch = true;
226
+ this.showHistoryPanel = true;
227
+ this.isHistoryView = false;
228
+ this.selectedVariables = [];
229
+ this.selectedDimensionIndexes = {};
230
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
231
+ this.variableFilterText = "";
232
+ this.touchedFields = /* @__PURE__ */ new Set();
233
+ this.selectedDateRange = {
234
+ startDate: null,
235
+ endDate: null
236
+ };
237
+ this.selectedFormat = defaultOutputFormat;
238
+ this.cancelingGetData = false;
239
+ this.selectedTab = "web-links";
240
+ this.refineParameters = false;
241
+ this.collectionSearchType = "all";
242
+ this.collectionSearchLoading = false;
243
+ this.collectionLoading = false;
244
+ this.collectionAccordionOpen = true;
245
+ this.dataAccessMode = "original";
246
+ __privateAdd(this, _collectionController, new CollectionController(this, {
247
+ getCollectionEntryId: () => this.collectionEntryId,
248
+ getBearerToken: () => this.bearerToken
249
+ }));
250
+ __privateAdd(this, _authController, new AuthController(this));
251
+ __privateAdd(this, _harmonyRequestController, new HarmonyRequestController(this));
252
+ __privateAdd(this, _resetAllParameters, () => {
253
+ this.selectedVariables = [];
254
+ if (__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this)) {
255
+ __privateGet(this, _resetSpatialSelection).call(this);
256
+ }
257
+ this.selectedDateRange = {
258
+ startDate: null,
259
+ endDate: null
260
+ };
261
+ this.touchedFields = /* @__PURE__ */ new Set();
262
+ this.validationError = void 0;
263
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
264
+ this.requestUpdate();
265
+ });
266
+ __privateAdd(this, _handleDateChange, (e2) => {
267
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
268
+ this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
269
+ startDate: e2.detail.startDate,
270
+ endDate: e2.detail.endDate
271
+ });
272
+ });
273
+ __privateAdd(this, _resetDateRangeSelection, () => {
274
+ this.selectedDateRange = { startDate: null, endDate: null };
275
+ });
276
+ __privateAdd(this, _resetFormatSelection, () => {
277
+ var _a;
278
+ if ((_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats.length) {
279
+ const netcdfFormat = this.collectionWithServices.configuredOutputFormats.find(
280
+ (f) => f.key === "application/x-netcdf4" || f.key === "application/netcdf"
281
+ );
282
+ this.selectedFormat = netcdfFormat || this.collectionWithServices.configuredOutputFormats[0];
283
+ } else {
284
+ this.selectedFormat = defaultOutputFormat;
285
+ }
286
+ });
287
+ __privateAdd(this, _handleSpatialChange, (e2) => {
288
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
289
+ if (e2.detail.type === "point" /* POINT */) {
290
+ this.spatialSelection = e2.detail.latLng;
291
+ } else if (e2.detail.type === "bbox" /* BBOX */) {
292
+ this.spatialSelection = e2.detail.bounds;
293
+ } else {
294
+ this.spatialSelection = void 0;
295
+ }
296
+ });
297
+ /**
298
+ * resets the spatial selection back to the bounds of the collection
299
+ */
300
+ __privateAdd(this, _resetSpatialSelection, () => {
301
+ this.spatialSelection = void 0;
302
+ this.spatialPicker.clear();
303
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
304
+ });
305
+ __privateAdd(this, _resetVariableSelection, () => {
306
+ this.selectedVariables = [];
307
+ __privateMethod(this, _resetDimensionSelection, resetDimensionSelection_fn).call(this);
308
+ });
309
+ }
310
+ jobIdChanged() {
311
+ if (this.jobId) {
312
+ __privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId, {
313
+ bearerToken: this.bearerToken
314
+ });
315
+ this.dataAccessMode = "subset";
316
+ }
317
+ }
318
+ shortNameAndVersionChanged() {
319
+ if (this.shortName && this.version) {
320
+ this.collectionEntryId = `${this.shortName}_${this.version}`;
321
+ }
322
+ }
323
+ collectionEntryIdChanged() {
324
+ if (this.collectionEntryId) {
325
+ this.showCollectionSearch = false;
326
+ } else {
327
+ this.showCollectionSearch = true;
328
+ }
329
+ }
330
+ firstUpdated() {
331
+ if (this.collectionEntryId) {
332
+ this.showCollectionSearch = false;
333
+ }
334
+ if (this.jobId) {
335
+ __privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId, {
336
+ bearerToken: this.bearerToken
337
+ });
338
+ this.dataAccessMode = "subset";
339
+ }
340
+ this.renderHistoryPanel();
341
+ }
342
+ updated(changedProps) {
343
+ var _a, _b, _c;
344
+ super.updated(changedProps);
345
+ const newCollectionInfo = __privateGet(this, _collectionController).collectionInfo;
346
+ if (newCollectionInfo !== this.collectionWithServices) {
347
+ this.collectionWithServices = newCollectionInfo;
348
+ }
349
+ const sampling = (_a = __privateGet(this, _collectionController).sampling) == null ? void 0 : _a.data;
350
+ if ((sampling == null ? void 0 : sampling.minDate) !== this.granuleMinDate) {
351
+ this.granuleMinDate = sampling == null ? void 0 : sampling.minDate;
352
+ }
353
+ if ((sampling == null ? void 0 : sampling.maxDate) !== this.granuleMaxDate) {
354
+ this.granuleMaxDate = sampling == null ? void 0 : sampling.maxDate;
355
+ }
356
+ const newGiovanni = __privateGet(this, _collectionController).giovanniVariables;
357
+ if (newGiovanni.size !== ((_c = (_b = this.giovanniConfiguredVariables) == null ? void 0 : _b.size) != null ? _c : 0)) {
358
+ this.giovanniConfiguredVariables = newGiovanni;
359
+ }
360
+ }
361
+ /** True if the collection contains sub-daily granules. Used by DataSubsetterController to format dates. */
362
+ get isSubDaily() {
363
+ return __privateGet(this, _collectionController).isSubDaily;
364
+ }
365
+ collectionChanged() {
366
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
367
+ this.selectedDateRange = { startDate, endDate };
368
+ __privateGet(this, _resetFormatSelection).call(this);
369
+ this.collectionLoading = false;
370
+ this.collectionAccordionOpen = false;
371
+ }
372
+ granuleDatesChanged() {
373
+ const newRange = __spreadValues(__spreadValues({}, this.granuleMinDate && { startDate: this.granuleMinDate }), this.granuleMaxDate && { endDate: this.granuleMaxDate });
374
+ if (Object.keys(newRange).length > 0) {
375
+ this.selectedDateRange = __spreadValues(__spreadValues({}, this.selectedDateRange), newRange);
376
+ }
377
+ }
378
+ selectedFormatChanged() {
379
+ if (this.selectedFormat.isGiovanniFormat && this.selectedVariables.length > 1) {
380
+ this.selectedVariables = [this.selectedVariables[0]];
381
+ }
382
+ }
383
+ showDialog() {
384
+ var _a;
385
+ (_a = this.dialogElement) == null ? void 0 : _a.show();
386
+ }
387
+ render() {
388
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
389
+ const showJobStatus = __privateGet(this, _harmonyRequestController).jobId && !this.refineParameters;
390
+ const showMinimizeButton = showJobStatus && !!this.dialog;
391
+ const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
392
+ if (!this.collectionWithServices) {
393
+ if (__privateGet(this, _collectionController).hasCapabilitiesError) {
394
+ return b`
395
+ <terra-alert open variant="danger" appearance="white">
396
+ Failed to find the requested collection.
397
+ </terra-alert>
398
+ `;
399
+ }
400
+ }
401
+ const content = b`
402
+ <div class="container">
403
+ ${!this.dialog ? b`
404
+ <div class="header">
405
+ <h1>
406
+ <svg
407
+ class="download-icon"
408
+ viewBox="0 0 24 24"
409
+ fill="currentColor"
410
+ >
411
+ <path
412
+ d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
413
+ />
414
+ </svg>
415
+ ${title}
416
+ </h1>
417
+
418
+ ${showMinimizeButton ? b`<button
419
+ class="minimize-btn"
420
+ @click=${() => this.minimizeDialog()}
421
+ >
422
+ -
423
+ </button>` : A}
424
+ </div>
425
+ ` : A}
426
+ ${!this.isHistoryView && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? b`
427
+ <div class="section">
428
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
429
+ </div>
430
+ ` : A}
431
+ ${this.dataAccessMode === "original" ? b`
432
+ <div class="section">
433
+ <terra-data-access
434
+ short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
435
+ version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
436
+ ?footer-slot=${!!this.dialog}
437
+ >
438
+ ${this.dialog ? b`
439
+ <div
440
+ slot="footer"
441
+ style="margin-top: 15px;"
442
+ >
443
+ <slot
444
+ name="data-access-footer"
445
+ ></slot>
446
+ </div>
447
+ ` : A}
448
+ </terra-data-access>
449
+ </div>
450
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
451
+ </div>
452
+ `;
453
+ if (this.dialog) {
454
+ return b`
455
+ <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
456
+ <span
457
+ slot="label"
458
+ style="display: flex; align-items: center; gap: 8px; color: var(--terra-text-brand-on-secondary, #1c67e3); font-weight: 600;"
459
+ >
460
+ <svg
461
+ class="download-icon"
462
+ viewBox="0 0 24 24"
463
+ fill="currentColor"
464
+ style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
465
+ >
466
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
467
+ </svg>
468
+ ${title}
469
+ </span>
470
+ ${showMinimizeButton ? b`
471
+ <button
472
+ slot="header-actions"
473
+ class="minimize-btn"
474
+ @click=${() => {
475
+ var _a2;
476
+ return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
477
+ }}
478
+ aria-label="Minimize"
479
+ >
480
+ -
481
+ </button>
482
+ ` : A}
483
+ <slot name="dialog-header-content"></slot>
484
+ ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
485
+ </terra-dialog>
486
+ `;
487
+ }
488
+ return b`
489
+ <div class="container">
490
+ <div class="header">
491
+ <h1>
492
+ <svg
493
+ class="download-icon"
494
+ viewBox="0 0 24 24"
495
+ fill="currentColor"
496
+ >
497
+ <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
498
+ </svg>
499
+ ${title}
500
+ </h1>
501
+
502
+ ${showMinimizeButton ? b`<button
503
+ class="minimize-btn"
504
+ @click=${() => this.minimizeDialog()}
505
+ >
506
+ -
507
+ </button>` : A}
508
+ </div>
509
+ ${!this.isHistoryView && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? b`
510
+ <div class="section">
511
+ ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
512
+ </div>
513
+ ` : A}
514
+ ${this.dataAccessMode === "original" ? b`
515
+ <div class="section">
516
+ <terra-data-access
517
+ short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
518
+ version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
519
+ ?footer-slot=${!!this.dialog}
520
+ >
521
+ ${this.dialog ? b`
522
+ <div
523
+ slot="footer"
524
+ style="margin-top: 15px;"
525
+ >
526
+ <slot
527
+ name="data-access-footer"
528
+ ></slot>
529
+ </div>
530
+ ` : A}
531
+ </terra-data-access>
532
+ </div>
533
+ ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
534
+ </div>
535
+ `;
536
+ }
537
+ minimizeDialog() {
538
+ var _a;
539
+ (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
540
+ }
541
+ handleCollectionSearch(searchTerm) {
542
+ this.collectionSearchQuery = searchTerm;
543
+ }
544
+ renderHistoryPanel() {
545
+ const existingHistoryPanel = document.querySelector(
546
+ "terra-data-subsetter-history"
547
+ );
548
+ if (!existingHistoryPanel && this.bearerToken) {
549
+ const historyPanel = document.createElement(
550
+ "terra-data-subsetter-history"
551
+ );
552
+ if (this.bearerToken) {
553
+ historyPanel.setAttribute("bearer-token", this.bearerToken);
554
+ }
555
+ if (this.environment) {
556
+ historyPanel.setAttribute("environment", this.environment);
557
+ }
558
+ document.body.appendChild(historyPanel);
559
+ }
560
+ }
561
+ };
562
+ _collectionController = new WeakMap();
563
+ _authController = new WeakMap();
564
+ _harmonyRequestController = new WeakMap();
565
+ _renderFooterForDialog = new WeakSet();
566
+ renderFooterForDialog_fn = function() {
567
+ const showJobStatus = __privateGet(this, _harmonyRequestController).jobId && !this.refineParameters;
568
+ if (showJobStatus && __privateGet(this, _harmonyRequestController).jobId) {
569
+ return b`
570
+ <div slot="footer" class="footer">
571
+ ${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
572
+ <div
573
+ style="display: flex; align-items: center; gap: 8px;"
574
+ >
575
+ <terra-dropdown
576
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
577
+ >
578
+ <terra-button slot="trigger" caret>
579
+ Download Options
580
+ </terra-button>
581
+ <terra-menu>
582
+ <terra-menu-item value="file-list">
583
+ <svg
584
+ slot="prefix"
585
+ viewBox="0 0 24 24"
586
+ width="16"
587
+ height="16"
588
+ style="width: 16px; height: 16px;"
589
+ >
590
+ <path
591
+ fill="currentColor"
592
+ 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"
593
+ />
594
+ </svg>
595
+ File List
596
+ </terra-menu-item>
597
+ <terra-menu-item value="python-script">
598
+ <svg
599
+ slot="prefix"
600
+ viewBox="0 0 128 128"
601
+ width="16"
602
+ height="16"
603
+ style="width: 16px; height: 16px;"
604
+ >
605
+ <path
606
+ fill="currentColor"
607
+ 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"
608
+ ></path>
609
+ </svg>
610
+ Python Script
611
+ </terra-menu-item>
612
+ <terra-menu-item value="earthdata-download">
613
+ <svg
614
+ slot="prefix"
615
+ viewBox="0 0 64 64"
616
+ fill="none"
617
+ width="16"
618
+ height="16"
619
+ style="width: 16px; height: 16px;"
620
+ >
621
+ <circle
622
+ cx="32"
623
+ cy="32"
624
+ r="28"
625
+ fill="currentColor"
626
+ />
627
+ <path
628
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
629
+ stroke="#fff"
630
+ stroke-width="4"
631
+ stroke-linecap="round"
632
+ stroke-linejoin="round"
633
+ fill="none"
634
+ />
635
+ </svg>
636
+ Earthdata Download
637
+ </terra-menu-item>
638
+ </terra-menu>
639
+ </terra-dropdown>
640
+
641
+ <!--
642
+ <terra-button
643
+ outline
644
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
645
+ >
646
+ <terra-icon
647
+ name="outline-code-bracket"
648
+ library="heroicons"
649
+ font-size="1.5em"
650
+ style="margin-right: 5px;"
651
+ ></terra-icon>
652
+ Open in Jupyter Notebook
653
+ </terra-button>
654
+ -->
655
+ </div>
656
+ ` : A}
657
+ ${__privateGet(this, _harmonyRequestController).status === "running" /* RUNNING */ ? b`<button
658
+ class="btn btn-success"
659
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
660
+ ?disabled=${this.cancelingGetData}
661
+ >
662
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
663
+ </button>` : A}
664
+
665
+ <div class="job-info">
666
+ Job ID:
667
+ <span class="job-id">
668
+ ${this.bearerToken ? b`<a
669
+ href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
670
+ target="_blank"
671
+ >${__privateGet(this, _harmonyRequestController).jobId}</a
672
+ >` : __privateGet(this, _harmonyRequestController).jobId}
673
+ </span>
674
+ <span class="info-icon">?</span>
675
+ </div>
676
+ </div>
677
+ `;
678
+ } else if (this.dataAccessMode === "subset") {
679
+ return b`
680
+ <div slot="footer" class="footer">
681
+ <button class="btn btn-secondary" @click=${__privateGet(this, _resetAllParameters)}>Reset All</button>
682
+ <div>
683
+ <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
684
+ Get Data
685
+ </button>
686
+ ${this.jobId ? b`
687
+ <terra-button
688
+ variant="default"
689
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
690
+ >
691
+ View Running Job
692
+ </terra-button>
693
+ ` : A}
694
+ </div>
695
+ </div>
696
+ </div>
697
+ </div>
698
+ `;
699
+ }
700
+ return A;
701
+ };
702
+ _renderSizeInfo = new WeakSet();
703
+ renderSizeInfo_fn = function(estimates) {
704
+ if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
705
+ return b`
706
+ <div class="size-info warning">
707
+ <terra-login>
708
+ <h2 slot="logged-out">Limited access as a guest.</h2>
709
+
710
+ <p slot="logged-out">
711
+ Your results will be capped at 10 links. Log in for full
712
+ access to all data.
713
+ </p>
714
+ </terra-login>
715
+ </div>
716
+ `;
717
+ }
718
+ return b`<div
719
+ class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
720
+ >
721
+ <h2>Estimated size of results</h2>
722
+ <div class="size-stats">
723
+ ${estimates.days.toLocaleString()} days,
724
+ ${estimates.links.toLocaleString()} links
725
+ </div>
726
+ ${estimates.links >= 150 ? b`<div class="size-warning">
727
+ You are about to retrieve ${estimates.links.toLocaleString()}
728
+ file links from the archive. You may
729
+ <strong>speed up the request</strong> by limiting the scope of
730
+ your search.
731
+ </div>` : A}
732
+ </div>`;
733
+ };
734
+ _renderSubsetOptions = new WeakSet();
735
+ renderSubsetOptions_fn = function() {
736
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
737
+ const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
738
+ const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
739
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
740
+ const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
741
+ const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
742
+ const showTemporalSection = temporalExtents == null ? void 0 : temporalExtents.length;
743
+ const showSpatialSection = (_c = (_b = spatialExtent == null ? void 0 : spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles;
744
+ return b`
745
+ ${this.dataAccessMode === "original" ? A : hasSubsetOption ? b`
746
+ ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : A}
747
+ ${this.showCollectionSearch ? b`
748
+ <div class="section">
749
+ <h2 class="section-title">
750
+ Select Data Collection
751
+ </h2>
752
+
753
+ ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
754
+ </div>
755
+ ` : A}
756
+ ${((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.summary.outputFormats) == null ? void 0 : _e.length) && hasSubsetOption ? b`
757
+ <div class="section">
758
+ <h2 class="section-title">Output Format</h2>
759
+
760
+ ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
761
+ </div>
762
+ ` : A}
763
+ <div class="section">
764
+ <h2 class="section-title">Subset Options</h2>
765
+ <p style="color: #666; margin-bottom: 16px;">
766
+ Generate file links that support spatial subsetting,
767
+ date/time range selection, and variable selection.
768
+ </p>
769
+
770
+ ${((_f = this.collectionWithServices) == null ? void 0 : _f.summary.subsetting.temporal) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : A}
771
+ ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : A}
772
+ ${((_g = this.collectionWithServices) == null ? void 0 : _g.summary.subsetting.variable) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : A}
773
+ ${((_h = this.collectionWithServices) == null ? void 0 : _h.summary.subsetting.variable) && isFeatureEnabled(
774
+ KnownFeatureFlags.DIMENSION_SUBSET,
775
+ this.features
776
+ ) ? __privateMethod(this, _renderDimensionSelection, renderDimensionSelection_fn).call(this) : A}
777
+ </div>
778
+ ` : b`
779
+ ${showTemporalSection && !((_i = this.collectionWithServices) == null ? void 0 : _i.summary.subsetting.temporal) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : A}
780
+ ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : A}
781
+ `}
782
+ ${!hasSubsetOption && estimates ? b`
783
+ <div
784
+ class="neutral-info"
785
+ style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
786
+ >
787
+ <strong>Estimated result size:</strong><br />
788
+ Your request will return approximately
789
+ <b>${estimates.links.toLocaleString()}</b> files covering
790
+ <b>${estimates.days.toLocaleString()}</b> days.
791
+ </div>
792
+ ` : A}
793
+ ${this.dataAccessMode === "subset" && !this.dialog ? b`
794
+ <div class="footer">
795
+ <button class="btn btn-secondary" @click=${__privateGet(this, _resetAllParameters)}>Reset All</button>
796
+ <div>
797
+ <button
798
+ class="btn btn-primary"
799
+ @click=${__privateMethod(this, _getData, getData_fn)}
800
+ >
801
+ Get Data
802
+ </button>
803
+ ${this.jobId ? b`
804
+ <terra-button
805
+ variant="default"
806
+ @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
807
+ >
808
+ View Running Job
809
+ </terra-button>
810
+ ` : A}
811
+ </div>
812
+ </div>
813
+ </div>
814
+ </div>
815
+ ` : A}
816
+ `;
817
+ };
818
+ _resetAllParameters = new WeakMap();
819
+ _renderSearchForCollection = new WeakSet();
820
+ renderSearchForCollection_fn = function() {
821
+ var _a, _b;
822
+ let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
823
+ if (this.collectionSearchType === "collection") {
824
+ placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
825
+ }
826
+ if (this.collectionSearchType === "variable") {
827
+ placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
828
+ }
829
+ return b`
830
+ <terra-accordion .open=${this.collectionAccordionOpen}>
831
+ <div slot="summary">
832
+ <span class="accordion-title">Collection:</span>
833
+ </div>
834
+
835
+ <div
836
+ slot="summary-right"
837
+ style="display: flex; align-items: center; gap: 10px"
838
+ >
839
+ ${this.collectionEntryId ? b` <span
840
+ class="accordion-value"
841
+ id="selected-collection-display"
842
+ >${this.collectionEntryId}</span
843
+ >
844
+
845
+ <button
846
+ class="reset-btn"
847
+ @click=${() => this.collectionEntryId = void 0}
848
+ >
849
+ Reset
850
+ </button>` : A}
851
+ </div>
852
+
853
+ <div class="search-tabs-mini">
854
+ <button
855
+ class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
856
+ @click=${() => this.collectionSearchType = "all"}
857
+ >
858
+ All
859
+ </button>
860
+ <button
861
+ class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
862
+ @click=${() => this.collectionSearchType = "collection"}
863
+ >
864
+ Collections
865
+ </button>
866
+ <button
867
+ class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
868
+ @click=${() => this.collectionSearchType = "variable"}
869
+ >
870
+ Variables
871
+ </button>
872
+ </div>
873
+
874
+ <div class="search-container-mini">
875
+ <input
876
+ type="text"
877
+ class="search-input-mini"
878
+ id="search-input"
879
+ placeholder=${placeholder}
880
+ @input="${(e2) => this.handleCollectionSearch(
881
+ e2.target.value
882
+ )}"
883
+ />
884
+
885
+ <button class="search-button-mini">
886
+ <svg
887
+ class="search-icon-mini"
888
+ viewBox="0 0 24 24"
889
+ fill="currentColor"
890
+ >
891
+ <path
892
+ 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"
893
+ />
894
+ </svg>
895
+ Search
896
+ </button>
897
+ </div>
898
+
899
+ <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
900
+ <div class="quick-links-mini">
901
+ <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
902
+ >GPM Precipitation</a
903
+ >
904
+ <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
905
+ >MODIS Data</a
906
+ >
907
+ <a
908
+ href="#"
909
+ class="quick-link-mini"
910
+ onclick="quickSearch('Landsat')"
911
+ >Landsat Imagery</a
912
+ >
913
+ <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
914
+ >Atmospheric Data</a
915
+ >
916
+ </div>
917
+ -->
918
+
919
+ <div id="search-results-section" class="search-results-section">
920
+ ${this.collectionSearchLoading ? b`
921
+ <div id="loading-mini" class="loading-mini">
922
+ <div class="spinner-mini"></div>
923
+ <div>Searching NASA CMR...</div>
924
+ </div>
925
+ ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? b` <div
926
+ id="results-container-mini"
927
+ class="results-container-mini"
928
+ >
929
+ ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
930
+ (item) => b`
931
+ <div
932
+ class="result-item-mini"
933
+ @click=${() => {
934
+ this.collectionEntryId = item.collectionEntryId;
935
+ this.collectionAccordionOpen = false;
936
+ this.collectionLoading = true;
937
+ if (item.type === "variable") {
938
+ this.selectedVariables = [
939
+ {
940
+ name: item.entryId,
941
+ href: "",
942
+ conceptId: item.conceptId
943
+ }
944
+ ];
945
+ }
946
+ this.requestUpdate();
947
+ }}
948
+ style="cursor: pointer;"
949
+ >
950
+ <div class="result-title-mini">
951
+ ${item.title}
952
+ </div>
953
+ <div class="result-id-mini">
954
+ ${item.entryId}
955
+ </div>
956
+ <div class="result-description-mini">
957
+ ${item.summary || item.title}
958
+ </div>
959
+ <div class="result-meta-mini">
960
+ <span>📅 2000-02-24 - ongoing</span>
961
+ <span>🌍 Global</span>
962
+ <span>🏢 ${item.provider}</span>
963
+ ${item.type === "variable" ? b` <span
964
+ >📊
965
+ ${item.collectionEntryId}</span
966
+ >` : A}
967
+ <span class="tag-mini"
968
+ >${item.type.toUpperCase()}</span
969
+ >
970
+ </div>
971
+ </div>
972
+ `
973
+ )}
974
+ </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? b`<div id="no-results-mini" class="no-results-mini">
975
+ <p>
976
+ No results found for
977
+ '${this.collectionSearchQuery}'. Try adjusting
978
+ your search term.
979
+ </p>
980
+ </div>` : A}
981
+ </div>
982
+ </terra-accordion>
983
+
984
+ ${this.collectionLoading ? b`
985
+ <div
986
+ class="collection-loading-bar"
987
+ style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
988
+ >
989
+ <span
990
+ class="loading-spinner"
991
+ 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;"
992
+ ></span>
993
+ Retrieving collection, please wait...
994
+ </div>
995
+ <style>
996
+ @keyframes spin {
997
+ 0% {
998
+ transform: rotate(0deg);
999
+ }
1000
+ 100% {
1001
+ transform: rotate(360deg);
1002
+ }
1003
+ }
1004
+ </style>
1005
+ ` : A}
1006
+ `;
1007
+ };
1008
+ _renderOutputFormatSelection = new WeakSet();
1009
+ renderOutputFormatSelection_fn = function() {
1010
+ return b`
1011
+ <terra-accordion>
1012
+ <div slot="summary">
1013
+ <span class="accordion-title">File Format:</span>
1014
+ </div>
1015
+
1016
+ <div
1017
+ slot="summary-right"
1018
+ style="display: flex; align-items: center; gap: 10px;"
1019
+ >
1020
+ <span>${this.selectedFormat.label}</span>
1021
+
1022
+ <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
1023
+ Reset
1024
+ </button>
1025
+ </div>
1026
+
1027
+ <div class="accordion-content" style="margin-top: 12px;">
1028
+ ${(() => {
1029
+ var _a;
1030
+ return (((_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats) || []).map(
1031
+ (format) => b`
1032
+ <label
1033
+ style="display: flex; align-items: center; gap: 8px; padding: 5px;"
1034
+ >
1035
+ <input
1036
+ type="radio"
1037
+ name="output-format"
1038
+ value="${format}"
1039
+ .checked=${this.selectedFormat === format}
1040
+ @change=${() => this.selectedFormat = format}
1041
+ />
1042
+ ${format.label}
1043
+ </label>
1044
+ `
1045
+ );
1046
+ })()}
1047
+ </div>
1048
+ </terra-accordion>
1049
+ `;
1050
+ };
1051
+ _renderDateRangeSelection = new WeakSet();
1052
+ renderDateRangeSelection_fn = function() {
1053
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1054
+ const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1055
+ const startDate = (_b = (_a = this.selectedDateRange.startDate) != null ? _a : this.granuleMinDate) != null ? _b : defaultStartDate;
1056
+ const endDate = (_d = (_c = this.selectedDateRange.endDate) != null ? _c : this.granuleMaxDate) != null ? _d : defaultEndDate;
1057
+ const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
1058
+ return b`
1059
+ <terra-accordion>
1060
+ <div slot="summary">
1061
+ <span class="accordion-title">Refine Date Range:</span>
1062
+ </div>
1063
+
1064
+ <div
1065
+ slot="summary-right"
1066
+ style="display: flex; align-items: center; gap: 10px;"
1067
+ >
1068
+ ${showError ? b`<span class="accordion-value error"
1069
+ >Please select a date range</span
1070
+ >` : this.touchedFields.has("date") && startDate && endDate ? b`<span class="accordion-value"
1071
+ >${startDate} to ${endDate}</span
1072
+ >` : A}
1073
+ <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
1074
+ Reset
1075
+ </button>
1076
+ </div>
1077
+
1078
+ <div style="width: 300px">
1079
+ <terra-date-picker
1080
+ allow-input
1081
+ inline
1082
+ range
1083
+ split-inputs
1084
+ show-presets
1085
+ ?enable-time=${this.isSubDaily}
1086
+ start-label="Start Date"
1087
+ end-label="End Date"
1088
+ .minDate=${(_e = this.granuleMinDate) != null ? _e : defaultStartDate}
1089
+ .maxDate=${(_f = this.granuleMaxDate) != null ? _f : defaultEndDate}
1090
+ .startDate=${(_g = this.selectedDateRange.startDate) != null ? _g : this.granuleMinDate}
1091
+ .endDate=${(_h = this.selectedDateRange.endDate) != null ? _h : this.granuleMaxDate}
1092
+ .useEndOfDay=${!this.selectedFormat.isGiovanniFormat}
1093
+ @terra-date-range-change=${__privateGet(this, _handleDateChange)}
1094
+ ></terra-date-picker>
1095
+ </div>
1096
+
1097
+ <div style="display: flex; gap: 16px; margin-top: 15px;">
1098
+ <span
1099
+ ><strong>Available Range:</strong> ${defaultStartDate} to
1100
+ ${defaultEndDate}</span
1101
+ >
1102
+ ${this.isSubDaily ? b`<span
1103
+ ><strong>Note:</strong> All dates and times are in
1104
+ UTC.</span
1105
+ >` : A}
1106
+ </div>
1107
+ </terra-accordion>
1108
+ `;
1109
+ };
1110
+ _handleDateChange = new WeakMap();
1111
+ _resetDateRangeSelection = new WeakMap();
1112
+ _resetFormatSelection = new WeakMap();
1113
+ _getCollectionDateRange = new WeakSet();
1114
+ getCollectionDateRange_fn = function() {
1115
+ var _a, _b;
1116
+ const samplingMinDate = this.granuleMinDate;
1117
+ const samplingMaxDate = this.granuleMaxDate;
1118
+ if (samplingMinDate && samplingMaxDate) {
1119
+ return {
1120
+ startDate: samplingMinDate.slice(0, 10),
1121
+ endDate: samplingMaxDate.slice(0, 10)
1122
+ };
1123
+ }
1124
+ const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
1125
+ if (!(temporalExtents == null ? void 0 : temporalExtents.length))
1126
+ return {
1127
+ startDate: null,
1128
+ endDate: null
1129
+ };
1130
+ let minStart = null;
1131
+ let maxEnd = null;
1132
+ const today = /* @__PURE__ */ new Date();
1133
+ for (const temporal of temporalExtents) {
1134
+ for (const range of temporal.RangeDateTimes || []) {
1135
+ const start = new Date(range.BeginningDateTime);
1136
+ let end;
1137
+ if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
1138
+ end = today;
1139
+ } else {
1140
+ end = new Date(range.EndingDateTime);
1141
+ }
1142
+ if (!minStart || start < minStart)
1143
+ minStart = start;
1144
+ if (!maxEnd || end > maxEnd)
1145
+ maxEnd = end;
1146
+ }
1147
+ }
1148
+ return {
1149
+ startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
1150
+ endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
1151
+ };
1152
+ };
1153
+ _renderSpatialSelection = new WeakSet();
1154
+ renderSpatialSelection_fn = function() {
1155
+ var _a, _b;
1156
+ const showError = this.touchedFields.has("spatial") && !this.spatialSelection;
1157
+ const spatialString = (_b = (_a = this.spatialSelection) == null ? void 0 : _a.toString()) != null ? _b : this.spatialSelection;
1158
+ return b`
1159
+ <terra-accordion>
1160
+ <div slot="summary">
1161
+ <span class="accordion-title">Refine Region:</span>
1162
+ </div>
1163
+
1164
+ <div
1165
+ slot="summary-right"
1166
+ style="display: flex; align-items: center; gap: 10px;"
1167
+ >
1168
+ ${showError ? b`<span class="accordion-value error"
1169
+ >Please select a region</span
1170
+ >` : spatialString ? b`<span class="accordion-value"
1171
+ >${spatialString}</span
1172
+ >` : A}
1173
+ <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1174
+ Reset
1175
+ </button>
1176
+ </div>
1177
+ <div class="accordion-content">
1178
+ <terra-spatial-picker
1179
+ part="spatial-picker"
1180
+ inline
1181
+ hide-label
1182
+ .spatialConstraints=${__privateGet(this, _collectionController).spatialConstraints || "-180, -90, 180, 90"}
1183
+ .initialValue=${spatialString}
1184
+ @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1185
+ ></terra-spatial-picker>
1186
+ <div
1187
+ style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1188
+ >
1189
+ <span
1190
+ ><strong>Available Range:</strong> ${__privateGet(this, _collectionController).spatialConstraints}</span
1191
+ >
1192
+ </div>
1193
+ </div>
1194
+ </terra-accordion>
1195
+ `;
1196
+ };
1197
+ _handleSpatialChange = new WeakMap();
1198
+ _resetSpatialSelection = new WeakMap();
1199
+ _renderVariableSelection = new WeakSet();
1200
+ renderVariableSelection_fn = function() {
1201
+ var _a;
1202
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1203
+ const giovanniError = this.touchedFields.has("variables") && __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1204
+ const basicError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1205
+ const showError = giovanniError || basicError;
1206
+ const errorMessage = giovanniError || (basicError ? "Please select at least one variable" : "");
1207
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1208
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1209
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1210
+ return b`
1211
+ <terra-accordion>
1212
+ <div slot="summary">
1213
+ <span class="accordion-title">Select Variables:</span>
1214
+ </div>
1215
+ <div
1216
+ slot="summary-right"
1217
+ style="display: flex; align-items: center; gap: 10px;"
1218
+ >
1219
+ ${showError ? b`<span class="accordion-value error"
1220
+ >${errorMessage}</span
1221
+ >` : this.selectedVariables.length ? b`<span class="accordion-value"
1222
+ >${this.selectedVariables.length} selected</span
1223
+ >` : A}
1224
+
1225
+ <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1226
+ Reset
1227
+ </button>
1228
+ </div>
1229
+ <div class="accordion-content">
1230
+ <terra-input
1231
+ label="Filter variables"
1232
+ placeholder="Search by variable name..."
1233
+ .value=${this.variableFilterText}
1234
+ @input=${(e2) => {
1235
+ const input = e2.target;
1236
+ this.variableFilterText = input.value;
1237
+ __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1238
+ }}
1239
+ style="margin-bottom: 10px;"
1240
+ ></terra-input>
1241
+ <button
1242
+ class="reset-btn"
1243
+ style="margin-bottom: 10px;"
1244
+ @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1245
+ >
1246
+ ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1247
+ </button>
1248
+
1249
+ ${this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables ? b`
1250
+ <terra-alert
1251
+ open
1252
+ appearance="white"
1253
+ style="margin: 10px 0"
1254
+ >
1255
+ <terra-icon
1256
+ slot="icon"
1257
+ name="outline-information-circle"
1258
+ library="heroicons"
1259
+ ></terra-icon>
1260
+ Only certain variables are supported for the
1261
+ selected output format. (Giovanni service)
1262
+ </terra-alert>
1263
+ ` : A}
1264
+ ${variables.length === 0 ? b`<p style="color: #666; font-style: italic;">
1265
+ No variables available for this collection.
1266
+ </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1267
+ </div>
1268
+ </terra-accordion>
1269
+ `;
1270
+ };
1271
+ _renderDimensionGroup = new WeakSet();
1272
+ renderDimensionGroup_fn = function(dim) {
1273
+ var _a, _b, _c, _d, _e, _f;
1274
+ const currentValue = (_a = this.selectedDimensionIndexes[dim.name]) != null ? _a : 1;
1275
+ 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(
1276
+ (s) => s.dimensions && s.dimensions.length > 0
1277
+ )) == null ? void 0 : _f.dimensions) || [];
1278
+ return b`
1279
+ <div style="margin-bottom: 16px;">
1280
+ <div
1281
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;"
1282
+ >
1283
+ <span style="font-weight: 600; margin-bottom: 44px"
1284
+ >Dimension: ${dim.name}</span
1285
+ >
1286
+ </div>
1287
+ <terra-slider
1288
+ class="dimension-slider"
1289
+ mode="range"
1290
+ min="1"
1291
+ .max=${dim.size}
1292
+ step="1"
1293
+ .startValue=${currentValue.start}
1294
+ .endValue=${currentValue.end}
1295
+ has-tooltips
1296
+ show-inputs
1297
+ hide-label
1298
+ .formatTooltip=${dimensions.length > 0 ? (value) => {
1299
+ const found = dimensions.find(
1300
+ (d) => String(d.value) === String(value)
1301
+ );
1302
+ return found ? found.label : String(value);
1303
+ } : A}
1304
+ @terra-slider-change=${(event) => {
1305
+ if ("startValue" in event.detail) {
1306
+ const { startValue, endValue } = event.detail;
1307
+ __privateMethod(this, _setDimensionValue, setDimensionValue_fn).call(this, dim.name, startValue, endValue);
1308
+ }
1309
+ }}
1310
+ ></terra-slider>
1311
+ </div>
1312
+ `;
1313
+ };
1314
+ _setDimensionValue = new WeakSet();
1315
+ setDimensionValue_fn = function(dimName, startValue, endValue) {
1316
+ const dimensions = __privateMethod(this, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn).call(this);
1317
+ const found = dimensions.find((d) => d.name === dimName);
1318
+ if (!found) {
1319
+ return;
1320
+ }
1321
+ const normalizedStartValue = Math.min(
1322
+ Math.max(Math.round(startValue), 1),
1323
+ found.size
1324
+ );
1325
+ const normalizedEndValue = Math.min(
1326
+ Math.max(Math.round(endValue != null ? endValue : startValue), 1),
1327
+ found.size
1328
+ );
1329
+ if (normalizedStartValue <= 1 && normalizedEndValue >= found.size) {
1330
+ delete this.selectedDimensionIndexes[dimName];
1331
+ return;
1332
+ }
1333
+ this.selectedDimensionIndexes = __spreadProps(__spreadValues({}, this.selectedDimensionIndexes), {
1334
+ [dimName]: { start: normalizedStartValue, end: normalizedEndValue }
1335
+ });
1336
+ };
1337
+ _renderDimensionSelection = new WeakSet();
1338
+ renderDimensionSelection_fn = function() {
1339
+ const dimensions = __privateMethod(this, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn).call(this);
1340
+ if (!dimensions.length) {
1341
+ return A;
1342
+ }
1343
+ const selectedCount = Object.keys(this.selectedDimensionIndexes).length;
1344
+ return b`
1345
+ <terra-accordion>
1346
+ <div slot="summary">
1347
+ <span class="accordion-title">Select Dimensions:</span>
1348
+ </div>
1349
+ <div
1350
+ slot="summary-right"
1351
+ style="display: flex; align-items: center; gap: 10px;"
1352
+ >
1353
+ ${selectedCount ? b`<span class="accordion-value"
1354
+ >${selectedCount}
1355
+ dimension${selectedCount === 1 ? "" : "s"}
1356
+ selected</span
1357
+ >` : A}
1358
+ <button class="reset-btn" @click=${__privateMethod(this, _resetDimensionSelection, resetDimensionSelection_fn)}>
1359
+ Reset
1360
+ </button>
1361
+ </div>
1362
+ <div class="accordion-content">
1363
+ ${dimensions.map((dim) => __privateMethod(this, _renderDimensionGroup, renderDimensionGroup_fn).call(this, dim))}
1364
+ </div>
1365
+ </terra-accordion>
1366
+ `;
1367
+ };
1368
+ _filterVariableTree = new WeakSet();
1369
+ filterVariableTree_fn = function(tree) {
1370
+ if (!this.variableFilterText.trim()) {
1371
+ return tree;
1372
+ }
1373
+ const filterText = this.variableFilterText.toLowerCase().trim();
1374
+ const filterNode = (node) => {
1375
+ const result = {};
1376
+ for (const [key, value] of Object.entries(node)) {
1377
+ if (value.__isLeaf) {
1378
+ const variableName = value.__variable.name.toLowerCase();
1379
+ if (variableName.includes(filterText)) {
1380
+ result[key] = value;
1381
+ }
1382
+ } else {
1383
+ const filteredChildren = filterNode(value.__children);
1384
+ if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1385
+ result[key] = __spreadProps(__spreadValues({}, value), {
1386
+ __children: filteredChildren
1387
+ });
1388
+ }
1389
+ }
1390
+ }
1391
+ return result;
1392
+ };
1393
+ return filterNode(tree);
1394
+ };
1395
+ _handleVariableFilterChange = new WeakSet();
1396
+ handleVariableFilterChange_fn = function() {
1397
+ var _a;
1398
+ if (!this.variableFilterText.trim()) {
1399
+ return;
1400
+ }
1401
+ const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1402
+ const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1403
+ const filterText = this.variableFilterText.toLowerCase().trim();
1404
+ const groupsToExpand = /* @__PURE__ */ new Set();
1405
+ const findMatchingGroups = (node, path = []) => {
1406
+ for (const [key, value] of Object.entries(node)) {
1407
+ if (value.__isLeaf) {
1408
+ const variableName = value.__variable.name.toLowerCase();
1409
+ if (variableName.includes(filterText)) {
1410
+ for (let i = 0; i < path.length; i++) {
1411
+ const groupPath = path.slice(0, i + 1).join("/");
1412
+ groupsToExpand.add(groupPath);
1413
+ }
1414
+ }
1415
+ } else {
1416
+ const groupPath = [...path, key].join("/");
1417
+ findMatchingGroups(value.__children, [...path, key]);
1418
+ if (key.toLowerCase().includes(filterText)) {
1419
+ groupsToExpand.add(groupPath);
1420
+ }
1421
+ }
1422
+ }
1423
+ };
1424
+ findMatchingGroups(tree);
1425
+ if (groupsToExpand.size > 0) {
1426
+ this.expandedVariableGroups = /* @__PURE__ */ new Set([
1427
+ ...this.expandedVariableGroups,
1428
+ ...groupsToExpand
1429
+ ]);
1430
+ }
1431
+ };
1432
+ _buildVariableTree = new WeakSet();
1433
+ buildVariableTree_fn = function(variables) {
1434
+ let filteredVariables = variables;
1435
+ if (this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables) {
1436
+ filteredVariables = variables.filter((v) => {
1437
+ var _a, _b, _c;
1438
+ const shortName = (_a = this.collectionWithServices) == null ? void 0 : _a.shortName;
1439
+ const version = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.collection) == null ? void 0 : _c.Version;
1440
+ if (!shortName || !version) {
1441
+ return false;
1442
+ }
1443
+ const giovanniVariableName = convertVariableEntryIdToGiovanniFormat(
1444
+ shortName,
1445
+ version,
1446
+ v.name
1447
+ );
1448
+ return this.giovanniConfiguredVariables.has(giovanniVariableName);
1449
+ });
1450
+ }
1451
+ const root = {};
1452
+ for (const v of filteredVariables) {
1453
+ const parts = v.name.split("/");
1454
+ let node = root;
1455
+ for (let i = 0; i < parts.length; i++) {
1456
+ const part = parts[i];
1457
+ if (!node[part])
1458
+ node[part] = { __children: {}, __isLeaf: false };
1459
+ if (i === parts.length - 1) {
1460
+ node[part].__isLeaf = true;
1461
+ node[part].__variable = v;
1462
+ }
1463
+ node = node[part].__children;
1464
+ }
1465
+ }
1466
+ return root;
1467
+ };
1468
+ _renderVariableTree = new WeakSet();
1469
+ renderVariableTree_fn = function(node, path) {
1470
+ const isGiovanni = this.selectedFormat.isGiovanniFormat;
1471
+ return b`
1472
+ <div style="margin-left: ${path.length * 20}px;">
1473
+ ${Object.entries(node).map(([key, value]) => {
1474
+ var _a;
1475
+ const groupPath = [...path, key].join("/");
1476
+ if (value.__isLeaf) {
1477
+ const ummVar = cmr_variable_service_default.getVariableByName(
1478
+ key,
1479
+ (_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data
1480
+ );
1481
+ const variableLabel = ummVar ? cmr_variable_service_default.getVariableDisplayLabel(ummVar) : key;
1482
+ return b`
1483
+ <div class="option-row">
1484
+ <label class="checkbox-option">
1485
+ <input
1486
+ type="${isGiovanni ? "radio" : "checkbox"}"
1487
+ name="${isGiovanni ? "variable-selection" : ""}"
1488
+ .checked=${this.selectedVariables.some(
1489
+ (v) => v.name === value.__variable.name
1490
+ )}
1491
+ @change=${(e2) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e2, value.__variable)}
1492
+ />
1493
+ <span>${variableLabel}</span>
1494
+ </label>
1495
+ </div>
1496
+ `;
1497
+ } else {
1498
+ const expanded = this.expandedVariableGroups.has(groupPath);
1499
+ return b`
1500
+ <div class="option-row" style="align-items: flex-start;">
1501
+ <span
1502
+ style="cursor: pointer; display: flex; align-items: center;"
1503
+ @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1504
+ >
1505
+ <terra-icon
1506
+ library="heroicons"
1507
+ name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1508
+ style="margin-right: 4px;"
1509
+ ></terra-icon>
1510
+ <span style="font-weight: 500;">${key}</span>
1511
+ </span>
1512
+ </div>
1513
+ ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1514
+ ...path,
1515
+ key
1516
+ ]) : ""}
1517
+ `;
1518
+ }
1519
+ })}
1520
+ </div>
1521
+ `;
1522
+ };
1523
+ _getAllGroupPaths = new WeakSet();
1524
+ getAllGroupPaths_fn = function(node, path = []) {
1525
+ let groups = [];
1526
+ for (const [key, value] of Object.entries(node)) {
1527
+ if (!value.__isLeaf) {
1528
+ const groupPath = [...path, key].join("/");
1529
+ groups.push(groupPath);
1530
+ groups = groups.concat(
1531
+ __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1532
+ );
1533
+ }
1534
+ }
1535
+ return groups;
1536
+ };
1537
+ _toggleGroupExpand = new WeakSet();
1538
+ toggleGroupExpand_fn = function(groupPath) {
1539
+ const set = new Set(this.expandedVariableGroups);
1540
+ if (set.has(groupPath)) {
1541
+ set.delete(groupPath);
1542
+ } else {
1543
+ set.add(groupPath);
1544
+ }
1545
+ this.expandedVariableGroups = set;
1546
+ };
1547
+ _toggleExpandCollapseAll = new WeakSet();
1548
+ toggleExpandCollapseAll_fn = function(tree) {
1549
+ const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1550
+ const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1551
+ if (allExpanded) {
1552
+ this.expandedVariableGroups = /* @__PURE__ */ new Set();
1553
+ } else {
1554
+ this.expandedVariableGroups = new Set(allGroups);
1555
+ }
1556
+ };
1557
+ _toggleVariableSelection = new WeakSet();
1558
+ toggleVariableSelection_fn = function(e2, variable) {
1559
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1560
+ const checked = e2.target.checked;
1561
+ if (this.selectedFormat.isGiovanniFormat) {
1562
+ if (checked) {
1563
+ this.selectedVariables = [variable];
1564
+ }
1565
+ } else {
1566
+ if (checked) {
1567
+ if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1568
+ this.selectedVariables = [...this.selectedVariables, variable];
1569
+ }
1570
+ } else {
1571
+ this.selectedVariables = this.selectedVariables.filter(
1572
+ (v) => v.name !== variable.name
1573
+ );
1574
+ }
1575
+ }
1576
+ };
1577
+ _markFieldTouched = new WeakSet();
1578
+ markFieldTouched_fn = function(field) {
1579
+ this.touchedFields = new Set(this.touchedFields).add(field);
1580
+ };
1581
+ _resetVariableSelection = new WeakMap();
1582
+ _resetDimensionSelection = new WeakSet();
1583
+ resetDimensionSelection_fn = function() {
1584
+ this.selectedDimensionIndexes = {};
1585
+ };
1586
+ _isDimensionExcluded = new WeakSet();
1587
+ isDimensionExcluded_fn = function(dim) {
1588
+ var _a, _b, _c;
1589
+ const normalizedName = (_b = (_a = dim.Name) == null ? void 0 : _a.toLowerCase()) != null ? _b : "";
1590
+ const normalizedType = ((_c = dim.Type) != null ? _c : "").toLowerCase();
1591
+ return ["time", "latitude", "longitude", "lat", "lon", "x", "y"].some(
1592
+ (value) => normalizedName.includes(value) || normalizedType.includes(value)
1593
+ );
1594
+ };
1595
+ _getCommonSelectableDimensions = new WeakSet();
1596
+ getCommonSelectableDimensions_fn = function() {
1597
+ var _a, _b;
1598
+ const variables = (_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data;
1599
+ if (!variables) {
1600
+ return [];
1601
+ }
1602
+ const allUmmVars = (_b = variables.items) != null ? _b : [];
1603
+ if (!allUmmVars.length) {
1604
+ return [];
1605
+ }
1606
+ const allDimensionSets = allUmmVars.map(
1607
+ (v) => {
1608
+ var _a2;
1609
+ return (_a2 = v.umm.Dimensions) != null ? _a2 : [];
1610
+ }
1611
+ );
1612
+ if (!allDimensionSets.length) {
1613
+ return [];
1614
+ }
1615
+ const allDimensionNames = Array.from(
1616
+ new Set(allDimensionSets.flatMap((dimSet) => dimSet.map((dim) => dim.Name)))
1617
+ );
1618
+ const filteredCommon = allDimensionNames.map((name) => {
1619
+ var _a2, _b2;
1620
+ const dims = allDimensionSets.map((set) => set.find((dim) => dim.Name === name)).filter((d) => Boolean(d));
1621
+ if (!dims.length) {
1622
+ return null;
1623
+ }
1624
+ const validSizes = dims.filter((dim) => dim.Size !== void 0 && dim.Size !== "Varies").map((dim) => Number(dim.Size)).filter((size2) => Number.isFinite(size2) && size2 > 0);
1625
+ if (!validSizes.length) {
1626
+ return null;
1627
+ }
1628
+ const size = Math.min(...validSizes);
1629
+ return {
1630
+ name,
1631
+ type: (_b2 = (_a2 = dims[0]) == null ? void 0 : _a2.Type) != null ? _b2 : "OTHER",
1632
+ size
1633
+ };
1634
+ }).filter(
1635
+ (entry) => Boolean(entry)
1636
+ ).filter(
1637
+ (entry) => !__privateMethod(this, _isDimensionExcluded, isDimensionExcluded_fn).call(this, {
1638
+ Name: entry.name,
1639
+ Type: entry.type
1640
+ })
1641
+ );
1642
+ return filteredCommon;
1643
+ };
1644
+ _renderJobStatus = new WeakSet();
1645
+ renderJobStatus_fn = function() {
1646
+ var _a, _b, _c, _d, _e;
1647
+ if (!__privateGet(this, _harmonyRequestController).jobId) {
1648
+ return b`<div class="results-section" id="job-status-section">
1649
+ <div
1650
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1651
+ >
1652
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1653
+ ${!this.isHistoryView ? b`
1654
+ <terra-button
1655
+ variant="default"
1656
+ size="small"
1657
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1658
+ >
1659
+ ← Back to Subset Options
1660
+ </terra-button>
1661
+ ` : A}
1662
+ </div>
1663
+
1664
+ <div class="progress-container">
1665
+ <div class="progress-text">
1666
+ <span class="spinner"></span>
1667
+ <span class="status-running">Searching for data...</span>
1668
+ </div>
1669
+
1670
+ <div class="progress-bar">
1671
+ <div class="progress-fill" style="width: 0%"></div>
1672
+ </div>
1673
+ </div>
1674
+
1675
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1676
+ </div>`;
1677
+ }
1678
+ return b`
1679
+ <div class="results-section" id="job-status-section">
1680
+ <div
1681
+ style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1682
+ >
1683
+ <h2 class="results-title" style="margin: 0;">Results:</h2>
1684
+ ${!this.isHistoryView ? b`
1685
+ <terra-button
1686
+ variant="default"
1687
+ size="small"
1688
+ @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1689
+ >
1690
+ ← Back to Subset Options
1691
+ </terra-button>
1692
+ ` : A}
1693
+ </div>
1694
+
1695
+ ${__privateGet(this, _harmonyRequestController).status !== "canceled" && __privateGet(this, _harmonyRequestController).status !== "failed" ? b` <div class="progress-container">
1696
+ <div class="progress-text">
1697
+ ${__privateGet(this, _harmonyRequestController).progress >= 100 ? b`
1698
+ <span class="status-complete"
1699
+ >✓ Search complete</span
1700
+ >
1701
+ ` : b`
1702
+ <span class="spinner"></span>
1703
+ <span class="status-running"
1704
+ >Searching for data...
1705
+ (${__privateGet(this, _harmonyRequestController).progress}%)</span
1706
+ >
1707
+ `}
1708
+ </div>
1709
+
1710
+ <div class="progress-bar">
1711
+ <div
1712
+ class="progress-fill"
1713
+ style="width: ${__privateGet(this, _harmonyRequestController).progress}%"
1714
+ ></div>
1715
+ </div>
1716
+ </div>` : A}
1717
+
1718
+ <div class="search-status">
1719
+ <span class="file-count"
1720
+ >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1721
+ >
1722
+ out of estimated
1723
+ <span class="estimated-total"
1724
+ >${(_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.numInputGranules.toLocaleString()}</span
1725
+ >
1726
+ </div>
1727
+
1728
+ ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1729
+ ${((_c = (_b = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _b.errors) == null ? void 0 : _c.length) ? b`
1730
+ <terra-accordion>
1731
+ <div slot="summary">
1732
+ <span
1733
+ class="accordion-title"
1734
+ style="color: #dc3545;"
1735
+ >Errors
1736
+ (${(_d = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _d.errors.length})</span
1737
+ >
1738
+ </div>
1739
+ <div class="accordion-content">
1740
+ <ul
1741
+ style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1742
+ >
1743
+ ${(_e = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _e.errors.map(
1744
+ (err) => b`
1745
+ <li style="margin-bottom: 12px;">
1746
+ <a
1747
+ href="${err.url}"
1748
+ target="_blank"
1749
+ style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1750
+ >
1751
+ ${err.url}
1752
+ </a>
1753
+ <div style="margin-top: 2px;">
1754
+ ${err.message}
1755
+ </div>
1756
+ </li>
1757
+ `
1758
+ )}
1759
+ </ul>
1760
+ </div>
1761
+ </terra-accordion>
1762
+ ` : A}
1763
+
1764
+ <div class="tabs">
1765
+ <button
1766
+ class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1767
+ @click=${() => this.selectedTab = "web-links"}
1768
+ >
1769
+ Web Links
1770
+ </button>
1771
+
1772
+ ${!this.isHistoryView ? b`
1773
+ <button
1774
+ class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1775
+ @click=${() => this.selectedTab = "selected-params"}
1776
+ >
1777
+ Selected Parameters
1778
+ </button>
1779
+ ` : A}
1780
+ </div>
1781
+ <div
1782
+ id="web-links"
1783
+ class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1784
+ >
1785
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? b`
1786
+ <div class="documentation-links">
1787
+ ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1788
+ (link) => b`
1789
+ <a href="${link.href}" class="doc-link"
1790
+ >${link.title}</a
1791
+ >
1792
+ `
1793
+ )}
1794
+ </div>
1795
+ ` : A}
1796
+
1797
+ <ul class="file-list">
1798
+ ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1799
+ (link) => b`
1800
+ <li class="file-item">
1801
+ <a
1802
+ href="${link.href}"
1803
+ class="file-link"
1804
+ target="_blank"
1805
+ >
1806
+ ${link.title}
1807
+ </a>
1808
+ </li>
1809
+ `
1810
+ )}
1811
+ </ul>
1812
+ </div>
1813
+
1814
+ <div
1815
+ id="selected-params"
1816
+ class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1817
+ >
1818
+ ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1819
+ </div>
1820
+ </div>
1821
+
1822
+ ${!this.dialog ? b`
1823
+ <div class="footer">
1824
+ ${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
1825
+ <div
1826
+ style="display: flex; align-items: center; gap: 8px;"
1827
+ >
1828
+ <terra-dropdown
1829
+ @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1830
+ >
1831
+ <terra-button slot="trigger" caret>
1832
+ Download Options
1833
+ </terra-button>
1834
+ <terra-menu>
1835
+ <terra-menu-item value="file-list">
1836
+ <svg
1837
+ slot="prefix"
1838
+ viewBox="0 0 24 24"
1839
+ width="16"
1840
+ height="16"
1841
+ style="width: 16px; height: 16px;"
1842
+ >
1843
+ <path
1844
+ fill="currentColor"
1845
+ 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"
1846
+ />
1847
+ </svg>
1848
+ File List
1849
+ </terra-menu-item>
1850
+ <terra-menu-item
1851
+ value="python-script"
1852
+ >
1853
+ <svg
1854
+ slot="prefix"
1855
+ viewBox="0 0 128 128"
1856
+ width="16"
1857
+ height="16"
1858
+ style="width: 16px; height: 16px;"
1859
+ >
1860
+ <path
1861
+ fill="currentColor"
1862
+ 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"
1863
+ ></path>
1864
+ </svg>
1865
+ Python Script
1866
+ </terra-menu-item>
1867
+ <terra-menu-item
1868
+ value="earthdata-download"
1869
+ >
1870
+ <svg
1871
+ slot="prefix"
1872
+ viewBox="0 0 64 64"
1873
+ fill="none"
1874
+ width="16"
1875
+ height="16"
1876
+ style="width: 16px; height: 16px;"
1877
+ >
1878
+ <circle
1879
+ cx="32"
1880
+ cy="32"
1881
+ r="28"
1882
+ fill="currentColor"
1883
+ />
1884
+ <path
1885
+ d="M32 14v26M32 40l-9-9M32 40l9-9"
1886
+ stroke="#fff"
1887
+ stroke-width="4"
1888
+ stroke-linecap="round"
1889
+ stroke-linejoin="round"
1890
+ fill="none"
1891
+ />
1892
+ </svg>
1893
+ Earthdata Download
1894
+ </terra-menu-item>
1895
+ </terra-menu>
1896
+ </terra-dropdown>
1897
+
1898
+ <!--
1899
+ <terra-button
1900
+ outline
1901
+ @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
1902
+ >
1903
+ <terra-icon
1904
+ name="outline-code-bracket"
1905
+ library="heroicons"
1906
+ font-size="1.5em"
1907
+ style="margin-right: 5px;"
1908
+ ></terra-icon>
1909
+ Open in Jupyter Notebook
1910
+ </terra-button>
1911
+ --></div>
1912
+ ` : A}
1913
+ ${__privateGet(this, _harmonyRequestController).status === "running" /* RUNNING */ ? b`<button
1914
+ class="btn btn-success"
1915
+ @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
1916
+ ?disabled=${this.cancelingGetData}
1917
+ >
1918
+ ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
1919
+ </button>` : A}
1920
+
1921
+ <div class="job-info">
1922
+ Job ID:
1923
+ <span class="job-id">
1924
+ ${this.bearerToken ? b`<a
1925
+ href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
1926
+ target="_blank"
1927
+ >${__privateGet(this, _harmonyRequestController).jobId}</a
1928
+ >` : __privateGet(this, _harmonyRequestController).jobId}
1929
+ </span>
1930
+ <span class="info-icon">?</span>
1931
+ </div>
1932
+ </div>
1933
+ ` : A}
1934
+ `;
1935
+ };
1936
+ _renderSelectedParams = new WeakSet();
1937
+ renderSelectedParams_fn = function() {
1938
+ var _a, _b, _c, _d;
1939
+ const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1940
+ const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
1941
+ const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
1942
+ const spatial = (_c = (_b = this.spatialSelection) == null ? void 0 : _b.toString()) != null ? _c : "-";
1943
+ return b`
1944
+ <dl class="params-summary">
1945
+ <div>
1946
+ <dt><strong>Dataset</strong></dt>
1947
+ <dd>${(_d = collection == null ? void 0 : collection.EntryTitle) != null ? _d : "\u2014"}</dd>
1948
+ </div>
1949
+ <div>
1950
+ <dt><strong>Variables</strong></dt>
1951
+ <dd>${variables.map((v) => b`<div>${v}</div>`)}</dd>
1952
+ </div>
1953
+ <div>
1954
+ <dt><strong>Dimensions</strong></dt>
1955
+ <dd>
1956
+ ${Object.entries(this.selectedDimensionIndexes).length ? Object.entries(this.selectedDimensionIndexes).map(
1957
+ ([dimName, value]) => b`<div>
1958
+ <strong>${dimName}:</strong> ${value}
1959
+ </div>`
1960
+ ) : "\u2014"}
1961
+ </dd>
1962
+ </div>
1963
+ <div>
1964
+ <dt><strong>Date Range</strong></dt>
1965
+ <dd>${dateRange}</dd>
1966
+ </div>
1967
+ <div>
1968
+ <dt><strong>Spatial</strong></dt>
1969
+ <dd>${spatial}</dd>
1970
+ </div>
1971
+ </dl>
1972
+
1973
+ <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
1974
+ >Refine Parameters</terra-button
1975
+ >
1976
+ `;
1977
+ };
1978
+ _cancelJob = new WeakSet();
1979
+ cancelJob_fn = async function() {
1980
+ if (!this.jobId) {
1981
+ return;
1982
+ }
1983
+ this.cancelingGetData = true;
1984
+ try {
1985
+ await __privateGet(this, _harmonyRequestController).cancelJob({
1986
+ jobId: this.jobId,
1987
+ options: { bearerToken: this.bearerToken }
1988
+ });
1989
+ } finally {
1990
+ this.cancelingGetData = false;
1991
+ }
1992
+ };
1993
+ _getData = new WeakSet();
1994
+ getData_fn = async function() {
1995
+ var _a;
1996
+ const validationError = __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1997
+ if (validationError) {
1998
+ this.validationError = validationError;
1999
+ __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
2000
+ return;
2001
+ }
2002
+ this.validationError = void 0;
2003
+ this.cancelingGetData = false;
2004
+ __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
2005
+ const variables = this.selectedFormat.isGiovanniFormat ? this.selectedVariables.map(
2006
+ (v) => {
2007
+ var _a2, _b, _c;
2008
+ return (
2009
+ // the Giovanni variable catalog uses different variable entry ids, we need to support them
2010
+ // ex. CMR: M2T1NXSLV_5.2.14 in Giovanni uses underscores: M2T1NXSLV_5_2_14
2011
+ convertVariableEntryIdToGiovanniFormat(
2012
+ (_a2 = this.collectionWithServices.shortName) != null ? _a2 : "",
2013
+ (_c = (_b = this.collectionWithServices.collection) == null ? void 0 : _b.Version) != null ? _c : "",
2014
+ v.name
2015
+ )
2016
+ );
2017
+ }
2018
+ ) : this.selectedVariables.map((v) => v.conceptId);
2019
+ const harmonyRequest = new HarmonyRequest({
2020
+ collectionConceptId: this.collectionWithServices.conceptId,
2021
+ variables,
2022
+ location: this.spatialSelection
2023
+ });
2024
+ if (((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.temporal) && this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
2025
+ harmonyRequest.startDate(
2026
+ this.isSubDaily ? this.selectedDateRange.startDate : getUTCDate(this.selectedDateRange.startDate).toISOString()
2027
+ );
2028
+ harmonyRequest.endDate(
2029
+ this.isSubDaily ? this.selectedDateRange.endDate : getUTCDate(this.selectedDateRange.endDate).toISOString()
2030
+ );
2031
+ }
2032
+ if (this.selectedFormat) {
2033
+ harmonyRequest.format(
2034
+ this.selectedFormat.isGiovanniFormat ? "text/csv" : this.selectedFormat.key
2035
+ );
2036
+ }
2037
+ if (this.selectedFormat.key === "text/csv") {
2038
+ harmonyRequest.average("area");
2039
+ }
2040
+ if (this.selectedFormat.key === "image/tiff") {
2041
+ harmonyRequest.average("time");
2042
+ }
2043
+ if (Object.keys(this.selectedDimensionIndexes).length) {
2044
+ Object.entries(this.selectedDimensionIndexes).forEach(
2045
+ ([dimName, { start, end }]) => {
2046
+ harmonyRequest.dimension({
2047
+ name: dimName,
2048
+ min: start,
2049
+ max: end
2050
+ });
2051
+ }
2052
+ );
2053
+ }
2054
+ harmonyRequest.label("terra-data-subsetter");
2055
+ console.log("Creating Harmony job with request:", harmonyRequest);
2056
+ const job = await __privateGet(this, _harmonyRequestController).startJob({
2057
+ harmonyRequest,
2058
+ options: { bearerToken: this.bearerToken }
2059
+ });
2060
+ this.jobId = job.jobID;
2061
+ setTimeout(() => {
2062
+ const el = this.renderRoot.querySelector("#job-status-section");
2063
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
2064
+ }, 100);
2065
+ this.refineParameters = false;
2066
+ this.isHistoryView = false;
2067
+ };
2068
+ _touchAllFields = new WeakSet();
2069
+ touchAllFields_fn = function() {
2070
+ this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
2071
+ };
2072
+ _numberOfFilesFoundEstimate = new WeakSet();
2073
+ numberOfFilesFoundEstimate_fn = function() {
2074
+ var _a, _b, _c;
2075
+ return Math.floor(
2076
+ ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.numInputGranules) != null ? _b : 0) * ((_c = __privateGet(this, _harmonyRequestController).progress) != null ? _c : 0) / 100
2077
+ );
2078
+ };
2079
+ _getDocumentationLinks = new WeakSet();
2080
+ getDocumentationLinks_fn = function() {
2081
+ var _a, _b;
2082
+ return ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links) != null ? _b : []).filter(
2083
+ (link) => link.rel === "stac-catalog-json"
2084
+ );
2085
+ };
2086
+ _getDataLinks = new WeakSet();
2087
+ getDataLinks_fn = function() {
2088
+ var _a, _b;
2089
+ return ((_b = (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links) != null ? _b : []).filter(
2090
+ (link) => link.rel === "data"
2091
+ );
2092
+ };
2093
+ _hasAtLeastOneSubsetOption = new WeakSet();
2094
+ hasAtLeastOneSubsetOption_fn = function() {
2095
+ var _a, _b, _c, _d;
2096
+ 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);
2097
+ };
2098
+ _hasSpatialSubset = new WeakSet();
2099
+ hasSpatialSubset_fn = function() {
2100
+ var _a, _b;
2101
+ return ((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.bbox) || ((_b = this.collectionWithServices) == null ? void 0 : _b.summary.subsetting.shape);
2102
+ };
2103
+ _renderJobMessage = new WeakSet();
2104
+ renderJobMessage_fn = function() {
2105
+ var _a;
2106
+ const warningStatuses = [
2107
+ "canceled" /* CANCELED */,
2108
+ "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
2109
+ "running_with_errors" /* RUNNING_WITH_ERRORS */
2110
+ ];
2111
+ const errorStatuses = ["failed" /* FAILED */];
2112
+ if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.status)) {
2113
+ return A;
2114
+ }
2115
+ let type = "normal";
2116
+ if (warningStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
2117
+ type = "warning";
2118
+ } else if (errorStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
2119
+ type = "error";
2120
+ }
2121
+ let color, bg;
2122
+ if (type === "error") {
2123
+ color = "#dc3545";
2124
+ bg = "#f8d7da";
2125
+ } else if (type === "warning") {
2126
+ color = "#856404";
2127
+ bg = "#fff3cd";
2128
+ } else {
2129
+ color = "#555";
2130
+ bg = "#f8f9fa";
2131
+ }
2132
+ return b`
2133
+ <div
2134
+ style="
2135
+ margin: 24px 0 16px 0;
2136
+ padding: 16px 20px;
2137
+ border-radius: 6px;
2138
+ background: ${bg};
2139
+ color: ${color};
2140
+ border: 1px solid ${color}22;
2141
+ "
2142
+ >
2143
+ ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
2144
+ </div>
2145
+ `;
2146
+ };
2147
+ _getJobMessageText = new WeakSet();
2148
+ getJobMessageText_fn = function() {
2149
+ var _a;
2150
+ return (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.message.replace(
2151
+ /\b(The job|the job|job|Job)\b/g,
2152
+ (match) => {
2153
+ switch (match) {
2154
+ case "The job":
2155
+ return "Your request";
2156
+ case "the job":
2157
+ return "Your Request";
2158
+ case "job":
2159
+ return "request";
2160
+ case "Job":
2161
+ return "Request";
2162
+ }
2163
+ return match;
2164
+ }
2165
+ );
2166
+ };
2167
+ _estimateJobSize = new WeakSet();
2168
+ estimateJobSize_fn = function() {
2169
+ var _a, _b, _c, _d, _e;
2170
+ if (!((_a = this.collectionWithServices) == null ? void 0 : _a.granuleCount))
2171
+ return;
2172
+ const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2173
+ let startDate;
2174
+ let endDate;
2175
+ let links = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.granuleCount) != null ? _c : 0;
2176
+ if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
2177
+ startDate = this.selectedDateRange.startDate;
2178
+ endDate = this.selectedDateRange.endDate;
2179
+ } else {
2180
+ startDate = (_d = this.granuleMinDate) != null ? _d : range.startDate;
2181
+ endDate = (_e = this.granuleMaxDate) != null ? _e : range.endDate;
2182
+ }
2183
+ if (!startDate || !endDate)
2184
+ return;
2185
+ const start = new Date(startDate);
2186
+ const end = new Date(endDate);
2187
+ const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
2188
+ if (range.startDate && range.endDate) {
2189
+ const availableDaysInCollection = Math.floor(
2190
+ (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
2191
+ ) + 1;
2192
+ const granulesPerDay = links / availableDaysInCollection;
2193
+ links = Math.ceil(days * granulesPerDay);
2194
+ }
2195
+ return { days, links };
2196
+ };
2197
+ _refineParameters = new WeakSet();
2198
+ refineParameters_fn = function() {
2199
+ this.refineParameters = true;
2200
+ };
2201
+ _backToSubsetOptions = new WeakSet();
2202
+ backToSubsetOptions_fn = function() {
2203
+ this.refineParameters = true;
2204
+ setTimeout(() => {
2205
+ const container = this.renderRoot.querySelector(".container");
2206
+ container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
2207
+ }, 100);
2208
+ };
2209
+ _viewRunningJob = new WeakSet();
2210
+ viewRunningJob_fn = function() {
2211
+ this.refineParameters = false;
2212
+ setTimeout(() => {
2213
+ const el = this.renderRoot.querySelector("#job-status-section");
2214
+ el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
2215
+ }, 100);
2216
+ };
2217
+ _handleDownloadSelect = new WeakSet();
2218
+ handleDownloadSelect_fn = function(event) {
2219
+ const item = event.detail.item;
2220
+ const value = item.value || item.getTextLabel();
2221
+ if (value === "file-list") {
2222
+ __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
2223
+ } else if (value === "python-script") {
2224
+ __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
2225
+ } else if (value === "earthdata-download") {
2226
+ __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
2227
+ }
2228
+ };
2229
+ _downloadLinksAsTxt = new WeakSet();
2230
+ downloadLinksAsTxt_fn = function(event) {
2231
+ var _a;
2232
+ event.stopPropagation();
2233
+ if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2234
+ return;
2235
+ }
2236
+ const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
2237
+ if (dataLinks.length === 0) {
2238
+ return;
2239
+ }
2240
+ const content = dataLinks.map((link) => link.href).join("\n");
2241
+ const blob = new Blob([content], { type: "text/plain" });
2242
+ const url = URL.createObjectURL(blob);
2243
+ const a = document.createElement("a");
2244
+ a.href = url;
2245
+ a.download = `subset_links_${__privateGet(this, _harmonyRequestController).jobId}.txt`;
2246
+ document.body.appendChild(a);
2247
+ a.click();
2248
+ document.body.removeChild(a);
2249
+ URL.revokeObjectURL(url);
2250
+ };
2251
+ _downloadPythonScript = new WeakSet();
2252
+ downloadPythonScript_fn = async function(event) {
2253
+ var _a, _b, _c, _d;
2254
+ event.stopPropagation();
2255
+ if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2256
+ return;
2257
+ }
2258
+ const response = await fetch(
2259
+ getBasePath("assets/data-subsetter/download_subset_files.py.txt")
2260
+ );
2261
+ if (!response.ok) {
2262
+ alert(
2263
+ "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
2264
+ );
2265
+ }
2266
+ const content = (await response.text()).replace(/{{jobId}}/gi, (_b = __privateGet(this, _harmonyRequestController).jobId) != null ? _b : "").replace(
2267
+ /{{HARMONY_ENV}}/gi,
2268
+ `Environment.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
2269
+ ).replace(
2270
+ /{{EARTHACCESS_ENV}}/gi,
2271
+ `earthaccess.${(_d = this.environment) == null ? void 0 : _d.toUpperCase()}`
2272
+ );
2273
+ const blob = new Blob([content], { type: "text/plain" });
2274
+ const url = URL.createObjectURL(blob);
2275
+ const a = document.createElement("a");
2276
+ a.href = url;
2277
+ a.download = `download_subset_files_${__privateGet(this, _harmonyRequestController).jobId}.py`;
2278
+ document.body.appendChild(a);
2279
+ a.click();
2280
+ document.body.removeChild(a);
2281
+ URL.revokeObjectURL(url);
2282
+ };
2283
+ _downloadEarthdataDownload = new WeakSet();
2284
+ downloadEarthdataDownload_fn = async function(event) {
2285
+ var _a;
2286
+ event.stopPropagation();
2287
+ if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2288
+ return;
2289
+ }
2290
+ alert("Sorry, Earthdata Download is not currently supported");
2291
+ };
2292
+ _handleJupyterNotebookClick = new WeakSet();
2293
+ handleJupyterNotebookClick_fn = function() {
2294
+ const notebook = getNotebook(this);
2295
+ sendDataToJupyterNotebook("load-notebook", {
2296
+ filename: `subset_${__privateGet(this, _harmonyRequestController).jobId}.ipynb`,
2297
+ notebook,
2298
+ bearerToken: this.bearerToken
2299
+ });
2300
+ };
2301
+ _renderAvailableTemporalRangeSection = new WeakSet();
2302
+ renderAvailableTemporalRangeSection_fn = function() {
2303
+ const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2304
+ if (!startDate || !endDate)
2305
+ return A;
2306
+ return b`
2307
+ <div class="section" style="margin-bottom: 16px;">
2308
+ <h2 class="section-title">Available Date Range</h2>
2309
+ <div style="color: #31708f; margin-top: 8px;">
2310
+ <strong>${startDate}</strong> to <strong>${endDate}</strong>
2311
+ </div>
2312
+ <div style="font-size: 0.95em; color: #666;">
2313
+ This collection does not support temporal subsetting.
2314
+ </div>
2315
+ </div>
2316
+ `;
2317
+ };
2318
+ _renderAvailableSpatialRangeSection = new WeakSet();
2319
+ renderAvailableSpatialRangeSection_fn = function() {
2320
+ var _a, _b, _c, _d, _e;
2321
+ 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;
2322
+ if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
2323
+ return A;
2324
+ return b`
2325
+ <div class="section" style="margin-bottom: 16px;">
2326
+ <h2 class="section-title">Available Spatial Area</h2>
2327
+ <div style="color: #31708f; margin-top: 8px;">
2328
+ ${boundingRects.map(
2329
+ (rect) => b`<div>
2330
+ <strong>Bounding Box:</strong>
2331
+ ${rect.WestBoundingCoordinate},
2332
+ ${rect.SouthBoundingCoordinate},
2333
+ ${rect.EastBoundingCoordinate},
2334
+ ${rect.NorthBoundingCoordinate}
2335
+ </div>`
2336
+ )}
2337
+ </div>
2338
+ <div style="font-size: 0.95em; color: #666;">
2339
+ This collection does not support spatial subsetting.
2340
+ </div>
2341
+ </div>
2342
+ `;
2343
+ };
2344
+ _renderDataAccessModeSelection = new WeakSet();
2345
+ renderDataAccessModeSelection_fn = function() {
2346
+ if (!__privateGet(this, _collectionController).hasGranules) {
2347
+ return A;
2348
+ }
2349
+ return b`
2350
+ <div class="mode-selection">
2351
+ <div class="mode-options">
2352
+ <label
2353
+ class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
2354
+ >
2355
+ <input
2356
+ type="radio"
2357
+ name="data-access-mode"
2358
+ value="original"
2359
+ .checked=${this.dataAccessMode === "original"}
2360
+ @change=${() => this.dataAccessMode = "original"}
2361
+ />
2362
+ <div class="mode-content">
2363
+ <div class="mode-title">Get Original Files</div>
2364
+ <div class="mode-description">
2365
+ Filter file links directly from the archive.
2366
+ </div>
2367
+ </div>
2368
+ </label>
2369
+
2370
+ <label
2371
+ class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
2372
+ >
2373
+ <input
2374
+ type="radio"
2375
+ name="data-access-mode"
2376
+ value="subset"
2377
+ .checked=${this.dataAccessMode === "subset"}
2378
+ @change=${() => this.dataAccessMode = "subset"}
2379
+ />
2380
+ <div class="mode-content">
2381
+ <div class="mode-title">Transform Data</div>
2382
+ <div class="mode-description">
2383
+ Transform the data to your specific needs.
2384
+ </div>
2385
+ </div>
2386
+ </label>
2387
+ </div>
2388
+ </div>
2389
+ `;
2390
+ };
2391
+ _getGiovanniValidationError = new WeakSet();
2392
+ getGiovanniValidationError_fn = function() {
2393
+ if (!this.selectedFormat.isGiovanniFormat) {
2394
+ return null;
2395
+ }
2396
+ if (this.selectedVariables.length === 0) {
2397
+ return "Please select a variable to subset.";
2398
+ }
2399
+ if (this.selectedVariables.length > 1) {
2400
+ return "The selected format only supports subsetting one variable at a time.";
2401
+ }
2402
+ return null;
2403
+ };
2404
+ TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
2405
+ TerraDataSubsetter.dependencies = {
2406
+ "terra-accordion": TerraAccordion,
2407
+ "terra-date-picker": TerraDatePicker,
2408
+ "terra-icon": TerraIcon,
2409
+ "terra-input": TerraInput,
2410
+ "terra-spatial-picker": TerraSpatialPicker,
2411
+ "terra-login": TerraLogin,
2412
+ "terra-loader": TerraLoader,
2413
+ "terra-data-access": TerraDataAccess,
2414
+ "terra-dialog": TerraDialog,
2415
+ "terra-dropdown": TerraDropdown,
2416
+ "terra-menu": TerraMenu,
2417
+ "terra-menu-item": TerraMenuItem,
2418
+ "terra-button": TerraButton,
2419
+ "terra-alert": TerraAlert,
2420
+ "terra-slider": TerraSlider
2421
+ };
2422
+ __decorateClass([
2423
+ n({ reflect: true, attribute: "collection-entry-id" })
2424
+ ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
2425
+ __decorateClass([
2426
+ n({ reflect: true, attribute: "short-name" })
2427
+ ], TerraDataSubsetter.prototype, "shortName", 2);
2428
+ __decorateClass([
2429
+ n({ reflect: true, attribute: "version" })
2430
+ ], TerraDataSubsetter.prototype, "version", 2);
2431
+ __decorateClass([
2432
+ n({
2433
+ reflect: true,
2434
+ type: Boolean,
2435
+ attribute: "show-collection-search"
2436
+ })
2437
+ ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
2438
+ __decorateClass([
2439
+ n({ reflect: true, type: Boolean, attribute: "show-history-panel" })
2440
+ ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
2441
+ __decorateClass([
2442
+ n({ reflect: true, attribute: "job-id" })
2443
+ ], TerraDataSubsetter.prototype, "jobId", 2);
2444
+ __decorateClass([
2445
+ n({ attribute: "bearer-token" })
2446
+ ], TerraDataSubsetter.prototype, "bearerToken", 2);
2447
+ __decorateClass([
2448
+ n()
2449
+ ], TerraDataSubsetter.prototype, "features", 2);
2450
+ __decorateClass([
2451
+ n({ reflect: true })
2452
+ ], TerraDataSubsetter.prototype, "dialog", 2);
2453
+ __decorateClass([
2454
+ n({ reflect: true, type: Boolean, attribute: "is-history-view" })
2455
+ ], TerraDataSubsetter.prototype, "isHistoryView", 2);
2456
+ __decorateClass([
2457
+ r()
2458
+ ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
2459
+ __decorateClass([
2460
+ r()
2461
+ ], TerraDataSubsetter.prototype, "selectedVariables", 2);
2462
+ __decorateClass([
2463
+ r()
2464
+ ], TerraDataSubsetter.prototype, "selectedDimensionIndexes", 2);
2465
+ __decorateClass([
2466
+ r()
2467
+ ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
2468
+ __decorateClass([
2469
+ r()
2470
+ ], TerraDataSubsetter.prototype, "variableFilterText", 2);
2471
+ __decorateClass([
2472
+ r()
2473
+ ], TerraDataSubsetter.prototype, "touchedFields", 2);
2474
+ __decorateClass([
2475
+ r()
2476
+ ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2477
+ __decorateClass([
2478
+ r()
2479
+ ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2480
+ __decorateClass([
2481
+ r()
2482
+ ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2483
+ __decorateClass([
2484
+ r()
2485
+ ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2486
+ __decorateClass([
2487
+ r()
2488
+ ], TerraDataSubsetter.prototype, "selectedTab", 2);
2489
+ __decorateClass([
2490
+ r()
2491
+ ], TerraDataSubsetter.prototype, "refineParameters", 2);
2492
+ __decorateClass([
2493
+ r()
2494
+ ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2495
+ __decorateClass([
2496
+ r()
2497
+ ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2498
+ __decorateClass([
2499
+ r()
2500
+ ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2501
+ __decorateClass([
2502
+ r()
2503
+ ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2504
+ __decorateClass([
2505
+ r()
2506
+ ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2507
+ __decorateClass([
2508
+ r()
2509
+ ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2510
+ __decorateClass([
2511
+ r()
2512
+ ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2513
+ __decorateClass([
2514
+ r()
2515
+ ], TerraDataSubsetter.prototype, "validationError", 2);
2516
+ __decorateClass([
2517
+ r()
2518
+ ], TerraDataSubsetter.prototype, "granuleMinDate", 2);
2519
+ __decorateClass([
2520
+ r()
2521
+ ], TerraDataSubsetter.prototype, "granuleMaxDate", 2);
2522
+ __decorateClass([
2523
+ r()
2524
+ ], TerraDataSubsetter.prototype, "giovanniConfiguredVariables", 2);
2525
+ __decorateClass([
2526
+ e('[part~="spatial-picker"]')
2527
+ ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2528
+ __decorateClass([
2529
+ e("terra-dialog")
2530
+ ], TerraDataSubsetter.prototype, "dialogElement", 2);
2531
+ __decorateClass([
2532
+ watch(["jobId"], { waitUntilFirstUpdate: true })
2533
+ ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2534
+ __decorateClass([
2535
+ watch(["shortName", "version"])
2536
+ ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2537
+ __decorateClass([
2538
+ watch("collectionEntryId", { waitUntilFirstUpdate: true })
2539
+ ], TerraDataSubsetter.prototype, "collectionEntryIdChanged", 1);
2540
+ __decorateClass([
2541
+ watch(["collectionWithServices"])
2542
+ ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2543
+ __decorateClass([
2544
+ watch(["granuleMinDate", "granuleMaxDate"])
2545
+ ], TerraDataSubsetter.prototype, "granuleDatesChanged", 1);
2546
+ __decorateClass([
2547
+ watch("selectedFormat")
2548
+ ], TerraDataSubsetter.prototype, "selectedFormatChanged", 1);
2549
+ __decorateClass([
2550
+ debounce(500)
2551
+ ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2552
+
2553
+ export {
2554
+ TerraDataSubsetter
2555
+ };