@nasa-terra/components 0.0.178 → 0.0.181

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 (2145) hide show
  1. package/README.md +5 -5
  2. package/cdn/apis/__tests__/fixtures/all-services.d.ts +80 -0
  3. package/cdn/apis/__tests__/fixtures/giovanni-and-netcdf-services.d.ts +80 -0
  4. package/cdn/apis/__tests__/fixtures/only-giovanni-services.d.ts +61 -0
  5. package/cdn/apis/__tests__/fixtures/only-netcdf-service.d.ts +45 -0
  6. package/cdn/apis/cmr.api.d.ts +61 -0
  7. package/cdn/apis/gesdisc.api.d.ts +17 -0
  8. package/cdn/apis/giovanni.api.d.ts +11 -0
  9. package/cdn/apis/harmony.api.d.ts +172 -0
  10. package/cdn/apis/types/cmr/umm-c.d.ts +795 -0
  11. package/cdn/apis/types/cmr/umm-g.d.ts +466 -0
  12. package/cdn/apis/types/cmr/umm-var.d.ts +547 -0
  13. package/cdn/chunks/GeoTIFF.WDM5HZIC.js +21958 -0
  14. package/cdn/chunks/chunk.2DWOHXBK.js +19 -0
  15. package/cdn/chunks/chunk.2KIRSUMB.js +81 -0
  16. package/cdn/chunks/chunk.2LDOWI64.js +368 -0
  17. package/cdn/chunks/chunk.2ND5H65H.js +357 -0
  18. package/cdn/chunks/chunk.2NYU2KVG.js +41 -0
  19. package/cdn/chunks/chunk.2S2I3XCJ.js +635 -0
  20. package/cdn/chunks/chunk.2XVRMJAS.js +99 -0
  21. package/cdn/chunks/chunk.2Y5YYW4R.js +2244 -0
  22. package/cdn/chunks/chunk.35CHAEJK.js +19 -0
  23. package/cdn/chunks/chunk.35MV26JZ.js +131 -0
  24. package/cdn/chunks/chunk.3C6QCU6U.js +56 -0
  25. package/cdn/chunks/chunk.3HPCVLRD.js +19 -0
  26. package/cdn/chunks/chunk.3OFBDOEM.js +32 -0
  27. package/cdn/chunks/chunk.3PPDPECP.js +52 -0
  28. package/cdn/chunks/chunk.3QBJETHV.js +161 -0
  29. package/cdn/chunks/chunk.3QZNL3QN.js +477 -0
  30. package/cdn/chunks/chunk.3RQ3EY2O.js +32 -0
  31. package/cdn/chunks/chunk.3RQRUNDE.js +454 -0
  32. package/cdn/chunks/chunk.3TKV2VNC.js +161 -0
  33. package/cdn/chunks/chunk.3WMCCZLC.js +48 -0
  34. package/cdn/chunks/chunk.3Y7HZ5CS.js +110 -0
  35. package/cdn/chunks/chunk.42EUDXAT.js +81 -0
  36. package/cdn/chunks/chunk.432XUQVD.js +117 -0
  37. package/cdn/chunks/chunk.45VJVUYK.js +34 -0
  38. package/cdn/chunks/chunk.47Q7XTJE.js +514 -0
  39. package/cdn/chunks/chunk.4B5TLXQ3.js +24561 -0
  40. package/cdn/chunks/chunk.4DZW7OYM.js +189 -0
  41. package/cdn/chunks/chunk.4H3RQQZX.js +21 -0
  42. package/cdn/chunks/chunk.4HIIVOOA.js +19 -0
  43. package/cdn/chunks/chunk.4IWGQ3QM.js +34 -0
  44. package/cdn/chunks/chunk.4MF2CVEK.js +19 -0
  45. package/cdn/chunks/chunk.4MLYEWPE.js +19 -0
  46. package/cdn/chunks/chunk.4NU6XC7B.js +616 -0
  47. package/cdn/chunks/chunk.4QUFZHF6.js +19 -0
  48. package/cdn/chunks/chunk.4SNGWC6U.js +19 -0
  49. package/cdn/chunks/chunk.54FZLPJP.js +146 -0
  50. package/cdn/chunks/chunk.55F4UQSA.js +62 -0
  51. package/cdn/chunks/chunk.57ZIC75S.js +100 -0
  52. package/cdn/chunks/chunk.5BFFURMO.js +151 -0
  53. package/cdn/chunks/chunk.5C3JGD4D.js +19 -0
  54. package/cdn/chunks/chunk.5D66GYVU.js +29 -0
  55. package/cdn/chunks/chunk.5IGCBQF2.js +29 -0
  56. package/cdn/chunks/chunk.5PH4EI7K.js +51 -0
  57. package/cdn/chunks/chunk.5Q3ESWK2.js +29 -0
  58. package/cdn/chunks/chunk.5RRKLQ53.js +26 -0
  59. package/cdn/chunks/chunk.625EMDPI.js +149 -0
  60. package/cdn/chunks/chunk.63GR7COJ.js +310 -0
  61. package/cdn/chunks/chunk.63I5CLB5.js +423 -0
  62. package/cdn/chunks/chunk.63OVZYG7.js +134 -0
  63. package/cdn/chunks/chunk.64MJYU4S.js +94 -0
  64. package/cdn/chunks/chunk.6BGTXGAW.js +166 -0
  65. package/cdn/chunks/chunk.6DLL4PEH.js +29 -0
  66. package/cdn/chunks/chunk.6FVRJALX.js +472 -0
  67. package/cdn/chunks/chunk.6P5ZFZXZ.js +25 -0
  68. package/cdn/chunks/chunk.6X5DB5KR.js +56075 -0
  69. package/cdn/chunks/chunk.6ZCOQKCQ.js +19 -0
  70. package/cdn/chunks/chunk.72FZJG2J.js +346 -0
  71. package/cdn/chunks/chunk.73E43E5H.js +19 -0
  72. package/cdn/chunks/chunk.73ZJ52GL.js +237 -0
  73. package/cdn/chunks/chunk.746HHL7J.js +39 -0
  74. package/cdn/chunks/chunk.765GMYVH.js +19 -0
  75. package/cdn/chunks/chunk.7DRUZWQ6.js +283 -0
  76. package/cdn/chunks/chunk.7DYV7ZXX.js +84 -0
  77. package/cdn/chunks/chunk.7MKFJACQ.js +19 -0
  78. package/cdn/chunks/chunk.7NJYVBGM.js +47 -0
  79. package/cdn/chunks/chunk.7OPH6HSB.js +54 -0
  80. package/cdn/chunks/chunk.7TSAQ7F7.js +19 -0
  81. package/cdn/chunks/chunk.7W7LCLU5.js +443 -0
  82. package/cdn/chunks/chunk.AGUPZDXW.js +19 -0
  83. package/cdn/chunks/chunk.ANTYCNBS.js +234 -0
  84. package/cdn/chunks/chunk.ANY6ZBQZ.js +1207 -0
  85. package/cdn/chunks/chunk.AODMPEAA.js +32 -0
  86. package/cdn/chunks/chunk.ASJLND3B.js +77 -0
  87. package/cdn/chunks/chunk.AXHGJXN6.js +113 -0
  88. package/cdn/chunks/chunk.AYENYRMH.js +19 -0
  89. package/cdn/chunks/chunk.B42N7DPY.js +30 -0
  90. package/cdn/chunks/chunk.B6HDWTYU.js +121 -0
  91. package/cdn/chunks/chunk.B6THN23F.js +19 -0
  92. package/cdn/chunks/chunk.BCNBUAWM.js +36 -0
  93. package/cdn/chunks/chunk.BJIN2WV3.js +326 -0
  94. package/cdn/chunks/chunk.BOPH3VGD.js +19 -0
  95. package/cdn/chunks/chunk.BP2GLWKL.js +54 -0
  96. package/cdn/chunks/chunk.BQDEKCXK.js +129 -0
  97. package/cdn/chunks/chunk.BQUO6YX3.js +117 -0
  98. package/cdn/chunks/chunk.BUHSAHXI.js +538 -0
  99. package/cdn/chunks/chunk.BWWU3UOU.js +293 -0
  100. package/cdn/chunks/chunk.BYEGTGI4.js +161 -0
  101. package/cdn/chunks/chunk.BYWARBVO.js +35 -0
  102. package/cdn/chunks/chunk.C2ZPLW2A.js +19 -0
  103. package/cdn/chunks/chunk.CD75NGST.js +35 -0
  104. package/cdn/chunks/chunk.CIVGGIRX.js +473 -0
  105. package/cdn/chunks/chunk.CUK563TP.js +32 -0
  106. package/cdn/chunks/chunk.CWBT2ALZ.js +29 -0
  107. package/cdn/chunks/chunk.CY34MSDE.js +123 -0
  108. package/cdn/chunks/chunk.D3RTCDY7.js +102 -0
  109. package/cdn/chunks/chunk.D7FSLFUL.js +904 -0
  110. package/cdn/chunks/chunk.DEDLPLON.js +47 -0
  111. package/cdn/chunks/chunk.DHRENFRE.js +285 -0
  112. package/cdn/chunks/chunk.DNHL2E5Q.js +19 -0
  113. package/cdn/chunks/chunk.DSYH36LJ.js +19 -0
  114. package/cdn/chunks/chunk.DXWMVI4V.js +29 -0
  115. package/cdn/chunks/chunk.DYDZ3LJN.js +165 -0
  116. package/cdn/chunks/chunk.DYMGURNK.js +359 -0
  117. package/cdn/chunks/chunk.E25SYMSA.js +190 -0
  118. package/cdn/chunks/chunk.E3T7QPCE.js +130 -0
  119. package/cdn/chunks/chunk.EABQJ4NF.js +53 -0
  120. package/cdn/chunks/chunk.EDYR7OMS.js +19 -0
  121. package/cdn/chunks/chunk.EEN2PM7M.js +29 -0
  122. package/cdn/chunks/chunk.EHU3RZOC.js +320 -0
  123. package/cdn/chunks/chunk.ELT22S3K.js +139 -0
  124. package/cdn/chunks/chunk.ERWXE4KH.js +493 -0
  125. package/cdn/chunks/chunk.ETE5JGX3.js +32 -0
  126. package/cdn/chunks/chunk.EUV33A5J.js +132 -0
  127. package/cdn/chunks/chunk.EYYVMPBZ.js +196 -0
  128. package/cdn/chunks/chunk.F6ZY7PEP.js +29 -0
  129. package/cdn/chunks/chunk.F7QE3QNK.js +93 -0
  130. package/cdn/chunks/chunk.FEXGBRTJ.js +29 -0
  131. package/cdn/chunks/chunk.FFGQUMMS.js +99 -0
  132. package/cdn/chunks/chunk.FFRZZJF3.js +19 -0
  133. package/cdn/chunks/chunk.FH7JIHQ5.js +32 -0
  134. package/cdn/chunks/chunk.FLDINIKU.js +45 -0
  135. package/cdn/chunks/chunk.FRJSNW36.js +4179 -0
  136. package/cdn/chunks/chunk.FSRWOJNJ.js +29 -0
  137. package/cdn/chunks/chunk.FXO66O5A.js +19 -0
  138. package/cdn/chunks/chunk.FYEAHT4C.js +19 -0
  139. package/cdn/chunks/chunk.G6PPVFZP.js +19 -0
  140. package/cdn/chunks/chunk.G7ARINSA.js +19 -0
  141. package/cdn/chunks/chunk.GBYKMMSD.js +49 -0
  142. package/cdn/chunks/chunk.GCDBZ3W7.js +599 -0
  143. package/cdn/chunks/chunk.GIG3YQL2.js +30 -0
  144. package/cdn/chunks/chunk.GMDJOE3D.js +610 -0
  145. package/cdn/chunks/chunk.GOKKW2WL.js +35 -0
  146. package/cdn/chunks/chunk.GPLYMDPJ.js +33 -0
  147. package/cdn/chunks/chunk.GPQPCP6B.js +1060 -0
  148. package/cdn/chunks/chunk.GQ57E6W4.js +19 -0
  149. package/cdn/chunks/chunk.GREJIXMV.js +43 -0
  150. package/cdn/chunks/chunk.GRESODRO.js +668 -0
  151. package/cdn/chunks/chunk.GRKM53EG.js +36 -0
  152. package/cdn/chunks/chunk.GWVXU5WI.js +108 -0
  153. package/cdn/chunks/chunk.H7CEASKV.js +353 -0
  154. package/cdn/chunks/chunk.HAEGIPB7.js +32 -0
  155. package/cdn/chunks/chunk.HBHLBI3N.js +1881 -0
  156. package/cdn/chunks/chunk.HCGS5ZUW.js +75 -0
  157. package/cdn/chunks/chunk.HFRKSSXY.js +187 -0
  158. package/cdn/chunks/chunk.HJDMWAVV.js +33 -0
  159. package/cdn/chunks/chunk.HK3NF22B.js +19 -0
  160. package/cdn/chunks/chunk.HMDDYPZM.js +29 -0
  161. package/cdn/chunks/chunk.I3XWIX6E.js +32 -0
  162. package/cdn/chunks/chunk.I5G3F6D4.js +19 -0
  163. package/cdn/chunks/chunk.IJ7RWFE2.js +19 -0
  164. package/cdn/chunks/chunk.IL42CKDQ.js +35 -0
  165. package/cdn/chunks/chunk.JIUL3OL6.js +29 -0
  166. package/cdn/chunks/chunk.JIY4UZ2J.js +99 -0
  167. package/cdn/chunks/chunk.JKURDNA4.js +161 -0
  168. package/cdn/chunks/chunk.JS5OOQLY.js +125 -0
  169. package/cdn/chunks/chunk.JS5TDQ5C.js +348 -0
  170. package/cdn/chunks/chunk.K2P3VBHL.js +19 -0
  171. package/cdn/chunks/chunk.K2UWIYQ2.js +82 -0
  172. package/cdn/chunks/chunk.KAPIG3C4.js +32 -0
  173. package/cdn/chunks/chunk.KGXAA5I2.js +63 -0
  174. package/cdn/chunks/chunk.KKZLSSED.js +29 -0
  175. package/cdn/chunks/chunk.KOA6BIWM.js +29 -0
  176. package/cdn/chunks/chunk.KSVL4NCO.js +68 -0
  177. package/cdn/chunks/chunk.KSXGXCJD.js +278 -0
  178. package/cdn/chunks/chunk.KVMARFYP.js +34 -0
  179. package/cdn/chunks/chunk.KVXRPLPX.js +29 -0
  180. package/cdn/chunks/chunk.LA5VODPG.js +106 -0
  181. package/cdn/chunks/chunk.LBHEG35U.js +121 -0
  182. package/cdn/chunks/chunk.LEUFWZLL.js +29 -0
  183. package/cdn/chunks/chunk.LFHHJTEK.js +19 -0
  184. package/cdn/chunks/chunk.LG3OAUSC.js +19 -0
  185. package/cdn/chunks/chunk.LG5C4AHH.js +224 -0
  186. package/cdn/chunks/chunk.LGYKACLK.js +154 -0
  187. package/cdn/chunks/chunk.LJGNFTUU.js +19 -0
  188. package/cdn/chunks/chunk.LNM5ZU6K.js +74 -0
  189. package/cdn/chunks/chunk.LPIUMZT6.js +29 -0
  190. package/cdn/chunks/chunk.LPKSQA35.js +135 -0
  191. package/cdn/chunks/chunk.LRZIT4M2.js +157 -0
  192. package/cdn/chunks/chunk.LWXRUSS3.js +1330 -0
  193. package/cdn/chunks/chunk.M7VLA6HV.js +113 -0
  194. package/cdn/chunks/chunk.MAHUWVEN.js +279 -0
  195. package/cdn/chunks/chunk.MB2OLLCZ.js +19 -0
  196. package/cdn/chunks/chunk.MBNHU6HG.js +31 -0
  197. package/cdn/chunks/chunk.MJOYRLAB.js +110 -0
  198. package/cdn/chunks/chunk.MJUD6H2O.js +60 -0
  199. package/cdn/chunks/chunk.MK76WXRC.js +32 -0
  200. package/cdn/chunks/chunk.MPVZOQYA.js +43 -0
  201. package/cdn/chunks/chunk.MV7KNTAC.js +37 -0
  202. package/cdn/chunks/chunk.MVC5FVKI.js +9744 -0
  203. package/cdn/chunks/chunk.MX22XUB3.js +29 -0
  204. package/cdn/chunks/chunk.N466UPRW.js +86 -0
  205. package/cdn/chunks/chunk.N4WZUEQD.js +205 -0
  206. package/cdn/chunks/chunk.N55ZUY7F.js +19 -0
  207. package/cdn/chunks/chunk.NCFSJVEZ.js +19 -0
  208. package/cdn/chunks/chunk.NFI5NVW6.js +33 -0
  209. package/cdn/chunks/chunk.NJ3TPG7D.js +26 -0
  210. package/cdn/chunks/chunk.NPCTDW7V.js +108071 -0
  211. package/cdn/chunks/chunk.NQ7HNAO3.js +19 -0
  212. package/cdn/chunks/chunk.NWENTFAC.js +22 -0
  213. package/cdn/chunks/chunk.O43CCSUG.js +29 -0
  214. package/cdn/chunks/chunk.O5VR4XW3.js +19 -0
  215. package/cdn/chunks/chunk.OAR4VKWQ.js +19 -0
  216. package/cdn/chunks/chunk.OEEK7IGM.js +247 -0
  217. package/cdn/chunks/chunk.OFMIOABD.js +19 -0
  218. package/cdn/chunks/chunk.OJT6BD3G.js +915 -0
  219. package/cdn/chunks/chunk.OKJYOJFO.js +37 -0
  220. package/cdn/chunks/chunk.OL7XRVJD.js +19 -0
  221. package/cdn/chunks/chunk.OQZR2P7I.js +233 -0
  222. package/cdn/chunks/chunk.OSBHMGAB.js +136 -0
  223. package/cdn/chunks/chunk.OUXEEEZS.js +306 -0
  224. package/cdn/chunks/chunk.OWLHZ24R.js +34 -0
  225. package/cdn/chunks/chunk.P4PYSONI.js +1985 -0
  226. package/cdn/chunks/chunk.PACUQ7ID.js +72 -0
  227. package/cdn/chunks/chunk.PFIB3T6I.js +19 -0
  228. package/cdn/chunks/chunk.PHEAH3PP.js +19 -0
  229. package/cdn/chunks/chunk.PK2YWTXR.js +104 -0
  230. package/cdn/chunks/chunk.PLWNLNYY.js +19 -0
  231. package/cdn/chunks/chunk.PMD3UQTU.js +109 -0
  232. package/cdn/chunks/chunk.PNBVXM3Y.js +2547 -0
  233. package/cdn/chunks/chunk.PQPZKAOJ.js +231 -0
  234. package/cdn/chunks/chunk.PSGY75G2.js +32 -0
  235. package/cdn/chunks/chunk.PTAFBWJ6.js +49 -0
  236. package/cdn/chunks/chunk.Q3FRXA74.js +138 -0
  237. package/cdn/chunks/chunk.QCHUEPMQ.js +29 -0
  238. package/cdn/chunks/chunk.QCZUWUCV.js +205 -0
  239. package/cdn/chunks/chunk.QDINN7DO.js +32 -0
  240. package/cdn/chunks/chunk.QETEOHFG.js +10 -0
  241. package/cdn/chunks/chunk.QKKAIJRP.js +3451 -0
  242. package/cdn/chunks/chunk.QLPYQ5QM.js +19 -0
  243. package/cdn/chunks/chunk.QOHUVWMU.js +33 -0
  244. package/cdn/chunks/chunk.QOSLAEB3.js +16977 -0
  245. package/cdn/chunks/chunk.QPZ3OXHJ.js +188 -0
  246. package/cdn/chunks/chunk.QRJLBELU.js +230 -0
  247. package/cdn/chunks/chunk.R2VK36KK.js +29 -0
  248. package/cdn/chunks/chunk.RCPXD7AS.js +3155 -0
  249. package/cdn/chunks/chunk.RCSM7Z5E.js +19 -0
  250. package/cdn/chunks/chunk.RHAJW5JW.js +17 -0
  251. package/cdn/chunks/chunk.RISDH34C.js +350 -0
  252. package/cdn/chunks/chunk.RIX7X2OX.js +166 -0
  253. package/cdn/chunks/chunk.RLW2L6QO.js +75 -0
  254. package/cdn/chunks/chunk.RRCYT4LP.js +374 -0
  255. package/cdn/chunks/chunk.RSUJRQLT.js +1975 -0
  256. package/cdn/chunks/chunk.RV6U2G5D.js +99 -0
  257. package/cdn/chunks/chunk.RWGG5FYE.js +83 -0
  258. package/cdn/chunks/chunk.RXOKOV25.js +27 -0
  259. package/cdn/chunks/chunk.S2BYBA42.js +32 -0
  260. package/cdn/chunks/chunk.S3NVOH7F.js +29 -0
  261. package/cdn/chunks/chunk.S3S7RGFN.js +29 -0
  262. package/cdn/chunks/chunk.S3XNEX7Q.js +29 -0
  263. package/cdn/chunks/chunk.S6KQAZNG.js +25 -0
  264. package/cdn/chunks/chunk.SCBSBLIF.js +19 -0
  265. package/cdn/chunks/chunk.SCI3IBDJ.js +51 -0
  266. package/cdn/chunks/chunk.SGQIYGS7.js +83 -0
  267. package/cdn/chunks/chunk.SJFGHGKH.js +264 -0
  268. package/cdn/chunks/chunk.SKG5CDYE.js +445 -0
  269. package/cdn/chunks/chunk.SN3T4SQP.js +24 -0
  270. package/cdn/chunks/chunk.SR4CU2NR.js +27 -0
  271. package/cdn/chunks/chunk.SR53QDBY.js +19 -0
  272. package/cdn/chunks/chunk.SRLCDKSU.js +19 -0
  273. package/cdn/chunks/chunk.SV2PUNIH.js +19 -0
  274. package/cdn/chunks/chunk.SYQOGYTQ.js +38 -0
  275. package/cdn/chunks/chunk.T5BE45M3.js +19 -0
  276. package/cdn/chunks/chunk.T6YZOAIS.js +29 -0
  277. package/cdn/chunks/chunk.TBLE2KGA.js +29 -0
  278. package/cdn/chunks/chunk.TDO35TAG.js +10 -0
  279. package/cdn/chunks/chunk.TKSEPVAL.js +1697 -0
  280. package/cdn/chunks/chunk.TKWMC5YI.js +854 -0
  281. package/cdn/chunks/chunk.TOI4RMEC.js +304 -0
  282. package/cdn/chunks/chunk.TOYEA3BN.js +92 -0
  283. package/cdn/chunks/chunk.TRMVYTDG.js +68 -0
  284. package/cdn/chunks/chunk.TSXJLTWJ.js +77 -0
  285. package/cdn/chunks/chunk.TU4BBVTN.js +19 -0
  286. package/cdn/chunks/chunk.TUJY2RG5.js +19 -0
  287. package/cdn/chunks/chunk.TVA2ZP4B.js +201 -0
  288. package/cdn/chunks/chunk.TY4WIMYJ.js +658 -0
  289. package/cdn/chunks/chunk.UHX3667N.js +19 -0
  290. package/cdn/chunks/chunk.UKREJQKJ.js +304 -0
  291. package/cdn/chunks/chunk.USXZCB3X.js +524 -0
  292. package/cdn/chunks/chunk.UTWCMYYE.js +151 -0
  293. package/cdn/chunks/chunk.UZKLGTZL.js +29 -0
  294. package/cdn/chunks/chunk.V3V7RRLU.js +49 -0
  295. package/cdn/chunks/chunk.VA5AUQXO.js +19 -0
  296. package/cdn/chunks/chunk.VFSDKRWK.js +259 -0
  297. package/cdn/chunks/chunk.VH7AMLEP.js +32 -0
  298. package/cdn/chunks/chunk.VICFKGQG.js +277 -0
  299. package/cdn/chunks/chunk.VJZNIJEP.js +60 -0
  300. package/cdn/chunks/chunk.VO4X552X.js +36 -0
  301. package/cdn/chunks/chunk.VRUAG7OU.js +19 -0
  302. package/cdn/chunks/chunk.VTCUUKPV.js +19 -0
  303. package/cdn/chunks/chunk.VTTODZFG.js +33 -0
  304. package/cdn/chunks/chunk.VVKYAGA2.js +134 -0
  305. package/cdn/chunks/chunk.VXY726KB.js +29 -0
  306. package/cdn/chunks/chunk.VZEACDBX.js +19 -0
  307. package/cdn/chunks/chunk.W2GF7BXP.js +71 -0
  308. package/cdn/chunks/chunk.W5J7BIAV.js +19 -0
  309. package/cdn/chunks/chunk.WCOFECTA.js +37 -0
  310. package/cdn/chunks/chunk.WF7MTEF2.js +393 -0
  311. package/cdn/chunks/chunk.WFSXAREE.js +51 -0
  312. package/cdn/chunks/chunk.WG4VDVEI.js +81 -0
  313. package/cdn/chunks/chunk.WNOGT4FJ.js +300 -0
  314. package/cdn/chunks/chunk.WT7GDDLE.js +19 -0
  315. package/cdn/chunks/chunk.WTXVDBRE.js +538 -0
  316. package/cdn/chunks/chunk.WVLE62B2.js +230 -0
  317. package/cdn/chunks/chunk.WWLOI3XF.js +74 -0
  318. package/cdn/chunks/chunk.XPZE3KH3.js +512 -0
  319. package/cdn/chunks/chunk.XQO3ZO7J.js +662 -0
  320. package/cdn/chunks/chunk.XUBCJIWF.js +32 -0
  321. package/cdn/chunks/chunk.XVECFU6I.js +276 -0
  322. package/cdn/chunks/chunk.XWFTM3O5.js +172 -0
  323. package/cdn/chunks/chunk.XZ6LSQ2S.js +29 -0
  324. package/cdn/chunks/chunk.Y4DVU7OI.js +316 -0
  325. package/cdn/chunks/chunk.YDWBYNL7.js +19 -0
  326. package/cdn/chunks/chunk.YFGSWD7H.js +17 -0
  327. package/cdn/chunks/chunk.YFMBAZ43.js +123 -0
  328. package/cdn/chunks/chunk.YGA6VAV4.js +373 -0
  329. package/cdn/chunks/chunk.YGZ7GOSX.js +35 -0
  330. package/cdn/chunks/chunk.YIGURDHN.js +30 -0
  331. package/cdn/chunks/chunk.YJA73KAA.js +78 -0
  332. package/cdn/chunks/chunk.YJWB5W4S.js +29 -0
  333. package/cdn/chunks/chunk.YKJ3JAVX.js +201 -0
  334. package/cdn/chunks/chunk.YMMKGSAJ.js +150 -0
  335. package/cdn/chunks/chunk.YNIY33OW.js +103 -0
  336. package/cdn/chunks/chunk.YNVAOTNM.js +128 -0
  337. package/cdn/chunks/chunk.YPYN4V4T.js +93 -0
  338. package/cdn/chunks/chunk.YSHSEQ7M.js +46 -0
  339. package/cdn/chunks/chunk.YX2HWNCK.js +156 -0
  340. package/cdn/chunks/chunk.YYDMU76Q.js +372 -0
  341. package/cdn/chunks/chunk.YYVIS6D4.js +36 -0
  342. package/cdn/chunks/chunk.Z2SC4DOK.js +214 -0
  343. package/cdn/chunks/chunk.Z45L4FIP.js +1184 -0
  344. package/cdn/chunks/chunk.ZC2YQQZ3.js +33 -0
  345. package/cdn/chunks/chunk.ZEOVK2FE.js +2425 -0
  346. package/cdn/chunks/chunk.ZFOTRE5C.js +19 -0
  347. package/cdn/chunks/chunk.ZHCOO7YL.js +92 -0
  348. package/cdn/chunks/chunk.ZKC2RGQN.js +33 -0
  349. package/cdn/chunks/chunk.ZM6WMVSY.js +235 -0
  350. package/cdn/chunks/chunk.ZNHBBBRJ.js +338 -0
  351. package/cdn/chunks/chunk.ZQVMOVOT.js +42 -0
  352. package/cdn/chunks/chunk.ZTRMYR7K.js +29 -0
  353. package/cdn/chunks/chunk.ZVIECZDH.js +155 -0
  354. package/cdn/chunks/chunk.ZZFZ22B2.js +288 -0
  355. package/cdn/chunks/colormap.BMZ7G2OU.js +181 -0
  356. package/cdn/chunks/deflate.4YGXVHTG.js +25 -0
  357. package/cdn/chunks/jpeg.QLYJCCTQ.js +951 -0
  358. package/cdn/chunks/lerc.4U2WA6NV.js +2097 -0
  359. package/cdn/chunks/lzw.W45NHZM7.js +143 -0
  360. package/cdn/chunks/packbits.GCVUEGBB.js +40 -0
  361. package/cdn/chunks/raw.IV57MJNM.js +22 -0
  362. package/cdn/chunks/webimage.3RSBGL4X.js +62 -0
  363. package/cdn/chunks/zstd.FFSBUI4F.js +136 -0
  364. package/cdn/components/accordion/accordion.component.js +15 -15
  365. package/cdn/components/accordion/accordion.js +16 -16
  366. package/cdn/components/accordion/accordion.styles.js +4 -4
  367. package/cdn/components/alert/alert.component.js +12 -12
  368. package/cdn/components/alert/alert.js +13 -13
  369. package/cdn/components/alert/alert.styles.js +4 -4
  370. package/cdn/components/avatar/avatar.component.js +17 -17
  371. package/cdn/components/avatar/avatar.js +18 -18
  372. package/cdn/components/avatar/avatar.styles.js +4 -4
  373. package/cdn/components/badge/badge.component.js +9 -9
  374. package/cdn/components/badge/badge.js +10 -10
  375. package/cdn/components/badge/badge.styles.js +4 -4
  376. package/cdn/components/breadcrumb/breadcrumb.component.js +9 -9
  377. package/cdn/components/breadcrumb/breadcrumb.js +10 -10
  378. package/cdn/components/breadcrumb/breadcrumb.styles.js +4 -4
  379. package/cdn/components/breadcrumbs/breadcrumbs.component.js +7 -7
  380. package/cdn/components/breadcrumbs/breadcrumbs.js +8 -8
  381. package/cdn/components/breadcrumbs/breadcrumbs.styles.js +4 -4
  382. package/cdn/components/browse-variables/browse-variables.component.d.ts +2 -0
  383. package/cdn/components/browse-variables/browse-variables.component.js +47 -44
  384. package/cdn/components/browse-variables/browse-variables.controller.js +9 -9
  385. package/cdn/components/browse-variables/browse-variables.js +48 -45
  386. package/cdn/components/browse-variables/browse-variables.styles.js +4 -4
  387. package/cdn/components/browse-variables/browse-variables.types.js +1 -1
  388. package/cdn/components/button/button.component.js +20 -20
  389. package/cdn/components/button/button.js +21 -21
  390. package/cdn/components/button/button.styles.js +4 -4
  391. package/cdn/components/button-group/button-group.component.js +8 -8
  392. package/cdn/components/button-group/button-group.js +9 -9
  393. package/cdn/components/button-group/button-group.styles.js +4 -4
  394. package/cdn/components/caption/caption.component.js +7 -7
  395. package/cdn/components/caption/caption.js +8 -8
  396. package/cdn/components/caption/caption.styles.js +4 -4
  397. package/cdn/components/card/card.component.js +10 -10
  398. package/cdn/components/card/card.js +11 -11
  399. package/cdn/components/card/card.styles.js +4 -4
  400. package/cdn/components/checkbox/checkbox.component.js +22 -22
  401. package/cdn/components/checkbox/checkbox.js +23 -23
  402. package/cdn/components/checkbox/checkbox.styles.js +4 -4
  403. package/cdn/components/chip/chip.component.js +9 -9
  404. package/cdn/components/chip/chip.js +10 -10
  405. package/cdn/components/chip/chip.styles.js +4 -4
  406. package/cdn/components/combobox/combobox.component.d.ts +4 -1
  407. package/cdn/components/combobox/combobox.component.js +17 -17
  408. package/cdn/components/combobox/combobox.js +18 -18
  409. package/cdn/components/combobox/combobox.styles.js +4 -4
  410. package/cdn/components/combobox/lib.js +2 -2
  411. package/cdn/components/combobox/type.js +2 -2
  412. package/cdn/components/data-access/data-access.component.d.ts +24 -19
  413. package/cdn/components/data-access/data-access.component.js +78 -72
  414. package/cdn/components/data-access/data-access.js +79 -73
  415. package/cdn/components/data-access/data-access.service.d.ts +12 -0
  416. package/cdn/components/data-access/data-access.service.js +7 -0
  417. package/cdn/components/data-access/data-access.styles.js +4 -4
  418. package/cdn/components/data-access/notebooks/data-access-notebook.js +77 -3
  419. package/cdn/components/data-grid/data-grid.component.js +13 -13
  420. package/cdn/components/data-grid/data-grid.js +14 -14
  421. package/cdn/components/data-grid/data-grid.styles.js +4 -4
  422. package/cdn/components/data-rods/data-rods.component.d.ts +1 -1
  423. package/cdn/components/data-rods/data-rods.component.js +98 -87
  424. package/cdn/components/data-rods/data-rods.js +99 -88
  425. package/cdn/components/data-rods/data-rods.styles.js +4 -4
  426. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +29 -13
  427. package/cdn/components/data-subsetter/data-subsetter.component.js +99 -93
  428. package/cdn/components/data-subsetter/data-subsetter.js +100 -94
  429. package/cdn/components/data-subsetter/data-subsetter.styles.js +4 -4
  430. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +2 -2
  431. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +102 -96
  432. package/cdn/components/data-subsetter-history/data-subsetter-history.controller.js +6 -6
  433. package/cdn/components/data-subsetter-history/data-subsetter-history.js +103 -97
  434. package/cdn/components/data-subsetter-history/data-subsetter-history.styles.js +4 -4
  435. package/cdn/components/date-picker/date-picker.component.d.ts +0 -1
  436. package/cdn/components/date-picker/date-picker.component.js +36 -36
  437. package/cdn/components/date-picker/date-picker.js +37 -37
  438. package/cdn/components/date-picker/date-picker.styles.js +4 -4
  439. package/cdn/components/date-range-slider/date-range-slider.component.js +12 -12
  440. package/cdn/components/date-range-slider/date-range-slider.js +13 -13
  441. package/cdn/components/date-range-slider/date-range-slider.styles.js +4 -4
  442. package/cdn/components/date-range-slider/noui-slider-utilities.js +2 -2
  443. package/cdn/components/dialog/dialog.component.js +27 -27
  444. package/cdn/components/dialog/dialog.js +28 -28
  445. package/cdn/components/dialog/dialog.styles.js +4 -4
  446. package/cdn/components/divider/divider.component.js +8 -8
  447. package/cdn/components/divider/divider.js +9 -9
  448. package/cdn/components/divider/divider.styles.js +4 -4
  449. package/cdn/components/dropdown/dropdown.component.js +17 -17
  450. package/cdn/components/dropdown/dropdown.js +18 -18
  451. package/cdn/components/dropdown/dropdown.styles.js +4 -4
  452. package/cdn/components/earthdata-login/earthdata-login.component.js +35 -34
  453. package/cdn/components/earthdata-login/earthdata-login.js +36 -35
  454. package/cdn/components/earthdata-login/earthdata-login.styles.js +4 -4
  455. package/cdn/components/file-upload/file-upload.component.js +10 -10
  456. package/cdn/components/file-upload/file-upload.js +11 -11
  457. package/cdn/components/file-upload/file-upload.styles.js +4 -4
  458. package/cdn/components/harmony-history/harmony-history.component.d.ts +91 -0
  459. package/cdn/components/harmony-history/harmony-history.component.js +43 -0
  460. package/cdn/components/harmony-history/harmony-history.d.ts +8 -0
  461. package/cdn/components/harmony-history/harmony-history.js +44 -0
  462. package/cdn/components/harmony-history/harmony-history.styles.js +9 -0
  463. package/cdn/components/icon/icon.component.js +13 -13
  464. package/cdn/components/icon/icon.js +14 -14
  465. package/cdn/components/icon/icon.styles.js +4 -4
  466. package/cdn/components/icon/library.default.js +2 -2
  467. package/cdn/components/icon/library.heroicons.js +3 -3
  468. package/cdn/components/icon/library.js +5 -5
  469. package/cdn/components/input/input.component.js +22 -22
  470. package/cdn/components/input/input.js +23 -23
  471. package/cdn/components/input/input.styles.js +4 -4
  472. package/cdn/components/loader/loader.component.js +9 -9
  473. package/cdn/components/loader/loader.js +10 -10
  474. package/cdn/components/loader/loader.styles.js +4 -4
  475. package/cdn/components/login/login.component.js +30 -29
  476. package/cdn/components/login/login.js +31 -30
  477. package/cdn/components/login/login.styles.js +4 -4
  478. package/cdn/components/map/controls/draw-toolbar.control.d.ts +29 -0
  479. package/cdn/components/map/controls/draw-toolbar.control.js +10 -0
  480. package/cdn/components/map/map.component.d.ts +32 -11
  481. package/cdn/components/map/map.component.js +24 -19
  482. package/cdn/components/map/map.controller.js +4 -4
  483. package/cdn/components/map/map.js +25 -20
  484. package/cdn/components/map/map.service.d.ts +41 -0
  485. package/cdn/components/map/map.service.js +17 -0
  486. package/cdn/components/map/map.styles.js +4 -4
  487. package/cdn/components/map/models/LatLng.d.ts +7 -0
  488. package/cdn/components/map/models/LatLng.js +7 -0
  489. package/cdn/components/map/models/LatLngBounds.d.ts +15 -0
  490. package/cdn/components/map/models/LatLngBounds.js +8 -0
  491. package/cdn/components/map/type.d.ts +12 -3
  492. package/cdn/components/map/type.js +2 -2
  493. package/cdn/components/menu/menu.component.js +7 -7
  494. package/cdn/components/menu/menu.js +8 -8
  495. package/cdn/components/menu/menu.styles.js +4 -4
  496. package/cdn/components/menu-item/menu-item.component.js +24 -24
  497. package/cdn/components/menu-item/menu-item.js +25 -25
  498. package/cdn/components/menu-item/menu-item.styles.js +4 -4
  499. package/cdn/components/menu-item/submenu-controller.js +8 -8
  500. package/cdn/components/option/option.component.js +17 -17
  501. package/cdn/components/option/option.js +18 -18
  502. package/cdn/components/option/option.styles.js +4 -4
  503. package/cdn/components/pagination/pagination.component.js +17 -17
  504. package/cdn/components/pagination/pagination.js +18 -18
  505. package/cdn/components/pagination/pagination.styles.js +4 -4
  506. package/cdn/components/plot/plot.component.js +9 -9
  507. package/cdn/components/plot/plot.js +10 -10
  508. package/cdn/components/plot/plot.styles.js +4 -4
  509. package/cdn/components/plot/plot.types.js +1 -1
  510. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +2 -2
  511. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +2 -2
  512. package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +0 -2
  513. package/cdn/components/plot-toolbar/plot-toolbar.component.js +49 -44
  514. package/cdn/components/plot-toolbar/plot-toolbar.controller.js +6 -7
  515. package/cdn/components/plot-toolbar/plot-toolbar.js +50 -45
  516. package/cdn/components/plot-toolbar/plot-toolbar.styles.js +4 -4
  517. package/cdn/components/plot-toolbar/plot-toolbar.types.js +1 -1
  518. package/cdn/components/popup/popup.component.js +9 -9
  519. package/cdn/components/popup/popup.js +10 -10
  520. package/cdn/components/popup/popup.styles.js +4 -4
  521. package/cdn/components/progress-bar/progress-bar.component.js +10 -10
  522. package/cdn/components/progress-bar/progress-bar.js +11 -11
  523. package/cdn/components/progress-bar/progress-bar.styles.js +4 -4
  524. package/cdn/components/radio/radio.component.js +15 -15
  525. package/cdn/components/radio/radio.js +16 -16
  526. package/cdn/components/radio/radio.styles.js +4 -4
  527. package/cdn/components/radio-group/radio-group.component.js +13 -13
  528. package/cdn/components/radio-group/radio-group.js +14 -14
  529. package/cdn/components/radio-group/radio-group.styles.js +4 -4
  530. package/cdn/components/scroll-hint/scroll-hint.component.js +15 -15
  531. package/cdn/components/scroll-hint/scroll-hint.js +16 -16
  532. package/cdn/components/scroll-hint/scroll-hint.styles.js +4 -4
  533. package/cdn/components/select/select.component.js +28 -28
  534. package/cdn/components/select/select.js +29 -29
  535. package/cdn/components/select/select.styles.js +4 -4
  536. package/cdn/components/site-header/site-header.component.js +16 -16
  537. package/cdn/components/site-header/site-header.js +16 -16
  538. package/cdn/components/site-header/site-header.styles.js +4 -4
  539. package/cdn/components/site-navigation/site-navigation.component.js +7 -7
  540. package/cdn/components/site-navigation/site-navigation.js +7 -7
  541. package/cdn/components/site-navigation/site-navigation.styles.js +4 -4
  542. package/cdn/components/skeleton/skeleton.component.js +8 -8
  543. package/cdn/components/skeleton/skeleton.js +9 -9
  544. package/cdn/components/skeleton/skeleton.styles.js +4 -4
  545. package/cdn/components/slider/slider.component.d.ts +1 -0
  546. package/cdn/components/slider/slider.component.js +10 -10
  547. package/cdn/components/slider/slider.js +11 -11
  548. package/cdn/components/slider/slider.styles.js +4 -4
  549. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +51 -71
  550. package/cdn/components/spatial-picker/spatial-picker.component.js +50 -44
  551. package/cdn/components/spatial-picker/spatial-picker.js +51 -45
  552. package/cdn/components/spatial-picker/spatial-picker.service.d.ts +48 -0
  553. package/cdn/components/spatial-picker/spatial-picker.service.js +9 -0
  554. package/cdn/components/spatial-picker/spatial-picker.styles.js +4 -4
  555. package/cdn/components/status-indicator/status-indicator.component.js +9 -9
  556. package/cdn/components/status-indicator/status-indicator.js +10 -10
  557. package/cdn/components/status-indicator/status-indicator.styles.js +4 -4
  558. package/cdn/components/stepper/stepper.component.js +9 -9
  559. package/cdn/components/stepper/stepper.js +10 -10
  560. package/cdn/components/stepper/stepper.styles.js +4 -4
  561. package/cdn/components/stepper-step/stepper-step.component.js +17 -17
  562. package/cdn/components/stepper-step/stepper-step.js +18 -18
  563. package/cdn/components/stepper-step/stepper-step.styles.js +4 -4
  564. package/cdn/components/tab/tab.component.js +17 -17
  565. package/cdn/components/tab/tab.js +18 -18
  566. package/cdn/components/tab/tab.styles.js +4 -4
  567. package/cdn/components/tab-panel/tab-panel.component.js +10 -10
  568. package/cdn/components/tab-panel/tab-panel.js +11 -11
  569. package/cdn/components/tab-panel/tab-panel.styles.js +4 -4
  570. package/cdn/components/tabs/tabs.component.js +18 -18
  571. package/cdn/components/tabs/tabs.js +19 -19
  572. package/cdn/components/tabs/tabs.styles.js +4 -4
  573. package/cdn/components/tag/tag.component.js +17 -17
  574. package/cdn/components/tag/tag.js +18 -18
  575. package/cdn/components/tag/tag.styles.js +4 -4
  576. package/cdn/components/textarea/textarea.component.js +16 -16
  577. package/cdn/components/textarea/textarea.js +17 -17
  578. package/cdn/components/textarea/textarea.styles.js +4 -4
  579. package/cdn/components/time-average-map/time-average-map-cache.service.d.ts +15 -0
  580. package/cdn/components/time-average-map/time-average-map-cache.service.js +12 -0
  581. package/cdn/components/time-average-map/time-average-map.component.d.ts +14 -3
  582. package/cdn/components/time-average-map/time-average-map.component.js +69 -60
  583. package/cdn/components/time-average-map/time-average-map.controller.d.ts +6 -7
  584. package/cdn/components/time-average-map/time-average-map.controller.js +20 -11
  585. package/cdn/components/time-average-map/time-average-map.js +70 -61
  586. package/cdn/components/time-average-map/time-average-map.styles.js +4 -4
  587. package/cdn/components/time-series/time-series-cache.service.d.ts +21 -0
  588. package/cdn/components/time-series/time-series-cache.service.js +12 -0
  589. package/cdn/components/time-series/time-series.component.d.ts +9 -3
  590. package/cdn/components/time-series/time-series.component.js +69 -59
  591. package/cdn/components/time-series/time-series.controller.d.ts +4 -7
  592. package/cdn/components/time-series/time-series.controller.js +21 -11
  593. package/cdn/components/time-series/time-series.js +70 -60
  594. package/cdn/components/time-series/time-series.styles.js +4 -4
  595. package/cdn/components/time-series/time-series.types.d.ts +0 -1
  596. package/cdn/components/time-series/time-series.types.js +1 -1
  597. package/cdn/components/toast/toast.component.js +14 -14
  598. package/cdn/components/toast/toast.js +15 -15
  599. package/cdn/components/toast/toast.styles.js +4 -4
  600. package/cdn/components/toggle/toggle.component.js +16 -16
  601. package/cdn/components/toggle/toggle.js +17 -17
  602. package/cdn/components/toggle/toggle.styles.js +4 -4
  603. package/cdn/components/tooltip/tooltip.component.d.ts +5 -0
  604. package/cdn/components/tooltip/tooltip.component.js +15 -15
  605. package/cdn/components/tooltip/tooltip.js +16 -16
  606. package/cdn/components/tooltip/tooltip.styles.js +4 -4
  607. package/cdn/components/variable-combobox/lib.js +7 -7
  608. package/cdn/components/variable-combobox/variable-combobox.component.d.ts +4 -1
  609. package/cdn/components/variable-combobox/variable-combobox.component.js +32 -32
  610. package/cdn/components/variable-combobox/variable-combobox.controller.d.ts +2 -2
  611. package/cdn/components/variable-combobox/variable-combobox.controller.js +9 -9
  612. package/cdn/components/variable-combobox/variable-combobox.js +33 -33
  613. package/cdn/components/variable-combobox/variable-combobox.styles.js +4 -4
  614. package/cdn/components/variable-combobox/variable-combobox.types.d.ts +0 -1
  615. package/cdn/components/variable-combobox/variable-combobox.types.js +1 -1
  616. package/cdn/components/variable-keyword-search/lib.js +4 -4
  617. package/cdn/components/variable-keyword-search/variable-keyword-search.component.d.ts +4 -1
  618. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +35 -35
  619. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +9 -9
  620. package/cdn/components/variable-keyword-search/variable-keyword-search.js +36 -36
  621. package/cdn/components/variable-keyword-search/variable-keyword-search.styles.js +4 -4
  622. package/cdn/components/variable-keyword-search/variable-keyword-search.types.js +1 -1
  623. package/cdn/controllers/collection.controller.d.ts +76 -0
  624. package/cdn/controllers/harmony-request.controller.d.ts +20 -0
  625. package/cdn/controllers/mutation.controller.d.ts +40 -0
  626. package/cdn/controllers/query.controller.d.ts +19 -0
  627. package/cdn/custom-elements.json +1623 -1362
  628. package/cdn/data-services/harmony-data-service.d.ts +2 -4
  629. package/cdn/data-services/queries.d.ts +0 -1
  630. package/cdn/data-services/types.d.ts +3 -7
  631. package/cdn/events/events.d.ts +3 -0
  632. package/cdn/events/terra-harmony-job-delete.d.ts +8 -0
  633. package/cdn/events/terra-harmony-job-select.d.ts +9 -0
  634. package/cdn/events/terra-harmony-job-status-update.d.ts +9 -0
  635. package/cdn/exceptions/http.exception.d.ts +22 -0
  636. package/cdn/internal/animate.d.ts +3 -3
  637. package/cdn/internal/indexeddb.d.ts +2 -1
  638. package/cdn/lib/api.client.d.ts +15 -0
  639. package/cdn/lib/harmony/harmony.request.d.ts +72 -0
  640. package/cdn/lib/indexeddb-persister.d.ts +14 -0
  641. package/cdn/lib/thumbnails/thumbnail.service.d.ts +14 -0
  642. package/cdn/metadata-catalog/tasks.d.ts +1 -1
  643. package/cdn/metadata-catalog/types.d.ts +1 -1
  644. package/cdn/mixins/query-client.mixin.d.ts +8 -0
  645. package/cdn/queries/cmr.queries.d.ts +7 -0
  646. package/cdn/queries/gesdisc.queries.d.ts +7 -0
  647. package/cdn/queries/giovanni.queries.d.ts +3 -0
  648. package/cdn/queries/harmony.queries.d.ts +64 -0
  649. package/cdn/react/accordion/index.js +16 -16
  650. package/cdn/react/alert/index.js +13 -13
  651. package/cdn/react/avatar/index.js +18 -18
  652. package/cdn/react/badge/index.js +10 -10
  653. package/cdn/react/breadcrumb/index.js +10 -10
  654. package/cdn/react/breadcrumbs/index.js +8 -8
  655. package/cdn/react/browse-variables/index.js +48 -45
  656. package/cdn/react/button/index.js +21 -21
  657. package/cdn/react/button-group/index.js +9 -9
  658. package/cdn/react/caption/index.js +8 -8
  659. package/cdn/react/card/index.js +11 -11
  660. package/cdn/react/checkbox/index.js +23 -23
  661. package/cdn/react/chip/index.js +10 -10
  662. package/cdn/react/combobox/index.js +18 -18
  663. package/cdn/react/data-access/index.js +79 -73
  664. package/cdn/react/data-grid/index.js +14 -14
  665. package/cdn/react/data-rods/index.js +99 -88
  666. package/cdn/react/data-subsetter/index.js +100 -94
  667. package/cdn/react/data-subsetter-history/index.js +103 -97
  668. package/cdn/react/date-picker/index.js +37 -37
  669. package/cdn/react/date-range-slider/index.js +13 -13
  670. package/cdn/react/dialog/index.js +28 -28
  671. package/cdn/react/divider/index.js +9 -9
  672. package/cdn/react/dropdown/index.js +18 -18
  673. package/cdn/react/earthdata-login/index.js +36 -35
  674. package/cdn/react/file-upload/index.js +11 -11
  675. package/cdn/react/harmony-history/index.d.ts +30 -0
  676. package/cdn/react/harmony-history/index.js +44 -0
  677. package/cdn/react/icon/index.js +14 -14
  678. package/cdn/react/index.d.ts +2 -2
  679. package/cdn/react/index.js +321 -312
  680. package/cdn/react/input/index.js +23 -23
  681. package/cdn/react/loader/index.js +10 -10
  682. package/cdn/react/login/index.js +31 -30
  683. package/cdn/react/map/index.js +25 -20
  684. package/cdn/react/menu/index.js +8 -8
  685. package/cdn/react/menu-item/index.js +25 -25
  686. package/cdn/react/option/index.js +18 -18
  687. package/cdn/react/pagination/index.js +18 -18
  688. package/cdn/react/plot/index.js +10 -10
  689. package/cdn/react/plot-toolbar/index.js +50 -45
  690. package/cdn/react/popup/index.js +10 -10
  691. package/cdn/react/progress-bar/index.js +11 -11
  692. package/cdn/react/radio/index.js +16 -16
  693. package/cdn/react/radio-group/index.js +14 -14
  694. package/cdn/react/scroll-hint/index.js +16 -16
  695. package/cdn/react/select/index.js +29 -29
  696. package/cdn/react/site-header/index.js +17 -17
  697. package/cdn/react/site-navigation/index.js +8 -8
  698. package/cdn/react/skeleton/index.js +9 -9
  699. package/cdn/react/slider/index.js +11 -11
  700. package/cdn/react/spatial-picker/index.d.ts +0 -1
  701. package/cdn/react/spatial-picker/index.js +51 -45
  702. package/cdn/react/status-indicator/index.js +10 -10
  703. package/cdn/react/stepper/index.js +10 -10
  704. package/cdn/react/stepper-step/index.js +18 -18
  705. package/cdn/react/tab/index.js +18 -18
  706. package/cdn/react/tab-panel/index.js +11 -11
  707. package/cdn/react/tabs/index.js +19 -19
  708. package/cdn/react/tag/index.js +18 -18
  709. package/cdn/react/textarea/index.js +17 -17
  710. package/cdn/react/time-average-map/index.js +70 -61
  711. package/cdn/react/time-series/index.d.ts +4 -0
  712. package/cdn/react/time-series/index.js +70 -60
  713. package/cdn/react/toast/index.js +15 -15
  714. package/cdn/react/toggle/index.js +17 -17
  715. package/cdn/react/tooltip/index.js +16 -16
  716. package/cdn/react/variable-combobox/index.js +33 -33
  717. package/cdn/react/variable-keyword-search/index.js +36 -36
  718. package/cdn/services/cmr-variable.service.d.ts +15 -0
  719. package/cdn/services/harmony.service.d.ts +1 -0
  720. package/cdn/terra-ui-components-autoloader.js +2 -2
  721. package/cdn/terra-ui-components.d.ts +1 -1
  722. package/cdn/terra-ui-components.js +293 -284
  723. package/cdn/themes/horizon.css +0 -2
  724. package/cdn/themes/horizon.styles.js +0 -2
  725. package/cdn/types/vue/index.d.ts +246 -221
  726. package/cdn/utilities/animation-registry.js +2 -2
  727. package/cdn/utilities/base-path.js +2 -2
  728. package/cdn/utilities/date.js +3 -3
  729. package/cdn/utilities/debounce.js +1 -1
  730. package/cdn/utilities/environment.js +2 -2
  731. package/cdn/utilities/feature-flags.d.ts +22 -0
  732. package/cdn/utilities/feature-flags.js +9 -0
  733. package/cdn/utilities/feature.d.ts +1 -0
  734. package/cdn/utilities/feature.js +7 -0
  735. package/cdn/utilities/form.js +3 -3
  736. package/cdn/utilities/giovanni.js +2 -2
  737. package/cdn/utilities/harmony.js +4 -4
  738. package/cdn/utilities/icon-library.js +6 -6
  739. package/cdn/utilities/number.js +2 -2
  740. package/cdn/utilities/sort.js +2 -2
  741. package/cdn/vscode.html-custom-data.json +110 -126
  742. package/cdn/web-types.json +290 -301
  743. package/dist/apis/__tests__/fixtures/all-services.d.ts +80 -0
  744. package/dist/apis/__tests__/fixtures/giovanni-and-netcdf-services.d.ts +80 -0
  745. package/dist/apis/__tests__/fixtures/only-giovanni-services.d.ts +61 -0
  746. package/dist/apis/__tests__/fixtures/only-netcdf-service.d.ts +45 -0
  747. package/dist/apis/cmr.api.d.ts +61 -0
  748. package/dist/apis/gesdisc.api.d.ts +17 -0
  749. package/dist/apis/giovanni.api.d.ts +11 -0
  750. package/dist/apis/harmony.api.d.ts +172 -0
  751. package/dist/apis/types/cmr/umm-c.d.ts +795 -0
  752. package/dist/apis/types/cmr/umm-g.d.ts +466 -0
  753. package/dist/apis/types/cmr/umm-var.d.ts +547 -0
  754. package/dist/chunks/chunk.22TWFDJS.js +1 -0
  755. package/dist/chunks/chunk.244CTE3T.js +1 -0
  756. package/dist/chunks/chunk.27Y756GG.js +1 -0
  757. package/dist/chunks/chunk.2BHAYNPS.js +33 -0
  758. package/dist/chunks/chunk.2BKQXNED.js +134 -0
  759. package/dist/chunks/chunk.2C5SN5KH.js +74 -0
  760. package/dist/chunks/chunk.2ENSAFQB.js +1 -0
  761. package/dist/chunks/chunk.2FKZOYDM.js +170 -0
  762. package/dist/chunks/chunk.2IEYXOYV.js +1 -0
  763. package/dist/chunks/chunk.2MLS3BXA.js +1 -0
  764. package/dist/chunks/chunk.2NNF6S2I.js +144 -0
  765. package/dist/chunks/chunk.2OO26QIR.js +126 -0
  766. package/dist/chunks/chunk.2P4DDFRQ.js +1 -0
  767. package/dist/chunks/chunk.2UQEJRIQ.js +1 -0
  768. package/dist/chunks/chunk.2UZ2VECA.js +1 -0
  769. package/dist/chunks/chunk.32TDAXC6.js +118 -0
  770. package/dist/chunks/chunk.36AZ2XCI.js +1 -0
  771. package/dist/chunks/chunk.37QTJ25S.js +1 -0
  772. package/dist/chunks/chunk.3B4QPUAN.js +1 -0
  773. package/dist/chunks/chunk.3DFIUNAQ.js +1 -0
  774. package/dist/chunks/chunk.3EDA2HZU.js +266 -0
  775. package/dist/chunks/chunk.3FHTK4MP.js +1 -0
  776. package/dist/chunks/chunk.3G6QKB5Z.js +58 -0
  777. package/dist/chunks/chunk.3IDBLCMG.js +1 -0
  778. package/dist/chunks/chunk.3JIMAXOF.js +91 -0
  779. package/dist/chunks/chunk.3MBQYZVW.js +1 -0
  780. package/dist/chunks/chunk.3MIQ6XNR.js +1 -0
  781. package/dist/chunks/chunk.3NTWRDBD.js +6 -0
  782. package/dist/chunks/chunk.3VXALYKM.js +1 -0
  783. package/dist/chunks/chunk.3Y6WWRX4.js +1 -0
  784. package/dist/chunks/chunk.3YUBQVYS.js +137 -0
  785. package/dist/chunks/chunk.423GIWLL.js +1 -0
  786. package/dist/chunks/chunk.4CN24QEJ.js +20 -0
  787. package/dist/chunks/chunk.4E4ZURVB.js +1 -0
  788. package/dist/chunks/chunk.4EMIESAS.js +1 -0
  789. package/dist/chunks/chunk.4H7EP4CT.js +428 -0
  790. package/dist/chunks/chunk.4LKD5QW2.js +1 -0
  791. package/dist/chunks/chunk.4SHUUZJ2.js +1 -0
  792. package/dist/chunks/chunk.4SOONPCJ.js +1 -0
  793. package/dist/chunks/chunk.53R5NBAZ.js +1 -0
  794. package/dist/chunks/chunk.55RZU5QQ.js +5 -0
  795. package/dist/chunks/chunk.5BVXDE6L.js +1 -0
  796. package/dist/chunks/chunk.5CBU7CVX.js +35 -0
  797. package/dist/chunks/chunk.5DPPXATR.js +1 -0
  798. package/dist/chunks/chunk.5DVFWG6G.js +356 -0
  799. package/dist/chunks/chunk.5FHR3PRK.js +1 -0
  800. package/dist/chunks/chunk.5JBQBY62.js +39 -0
  801. package/dist/chunks/chunk.5MBY6WKW.js +1 -0
  802. package/dist/chunks/chunk.5QVSLO3V.js +280 -0
  803. package/dist/chunks/chunk.5SB77RHW.js +1 -0
  804. package/dist/chunks/chunk.5SIVM4DR.js +12 -0
  805. package/dist/chunks/chunk.5T6SIPN2.js +1 -0
  806. package/dist/chunks/chunk.5YXQRHD5.js +1 -0
  807. package/dist/chunks/chunk.64Q7BMHI.js +1 -0
  808. package/dist/chunks/chunk.64Z5WQSA.js +1 -0
  809. package/dist/chunks/chunk.6GKKK7NJ.js +1 -0
  810. package/dist/chunks/chunk.6MJMMDNP.js +1 -0
  811. package/dist/chunks/chunk.6MKLT7FM.js +1 -0
  812. package/dist/chunks/chunk.6PEAAW4E.js +1 -0
  813. package/dist/chunks/chunk.6UKNMXZJ.js +1 -0
  814. package/dist/chunks/chunk.6VRE7YNG.js +216 -0
  815. package/dist/chunks/chunk.6WTTSLOK.js +3 -0
  816. package/dist/chunks/chunk.6XF647QW.js +1 -0
  817. package/dist/chunks/chunk.76DTOJU7.js +16 -0
  818. package/dist/chunks/chunk.76G4XANJ.js +1 -0
  819. package/dist/chunks/chunk.77X2UDZ7.js +1 -0
  820. package/dist/chunks/chunk.7I5677S3.js +154 -0
  821. package/dist/chunks/chunk.7J2F6HQM.js +1 -0
  822. package/dist/chunks/chunk.7JZVKWGI.js +60 -0
  823. package/dist/chunks/chunk.7MBGEUE4.js +1 -0
  824. package/dist/chunks/chunk.7RCZODIH.js +1 -0
  825. package/dist/chunks/chunk.7W27XF6C.js +218 -0
  826. package/dist/chunks/chunk.7XVQ23TB.js +20 -0
  827. package/dist/chunks/chunk.A26JWAE2.js +1 -0
  828. package/dist/chunks/chunk.A6SIGE3C.js +19 -0
  829. package/dist/chunks/chunk.A77DDYFZ.js +14 -0
  830. package/dist/chunks/chunk.AAY4R5IR.js +11 -0
  831. package/dist/chunks/chunk.ACHFH4Q5.js +1 -0
  832. package/dist/chunks/chunk.ACIJ7WID.js +122 -0
  833. package/dist/chunks/chunk.ACPZYKOT.js +155 -0
  834. package/dist/chunks/chunk.AP6WOLOM.js +1 -0
  835. package/dist/chunks/chunk.AQ25ZIGD.js +1 -0
  836. package/dist/chunks/chunk.ARVXHRR4.js +1 -0
  837. package/dist/chunks/chunk.ATR343ZS.js +129 -0
  838. package/dist/chunks/chunk.B5J6EQBL.js +1 -0
  839. package/dist/chunks/chunk.BARYZDDP.js +1 -0
  840. package/dist/chunks/chunk.BCYULSBS.js +19 -0
  841. package/dist/chunks/chunk.BF6REXY3.js +1 -0
  842. package/dist/chunks/chunk.BKGRXBHT.js +230 -0
  843. package/dist/chunks/chunk.BNV4KROE.js +1 -0
  844. package/dist/chunks/chunk.BPWHAHIU.js +1 -0
  845. package/dist/chunks/chunk.BQ7I5O2H.js +62 -0
  846. package/dist/chunks/chunk.BQUJORYD.js +1 -0
  847. package/dist/chunks/chunk.BWAKPSV4.js +38 -0
  848. package/dist/chunks/chunk.BWCJXCND.js +1 -0
  849. package/dist/chunks/chunk.C2Z2P4HZ.js +1 -0
  850. package/dist/chunks/chunk.C7ILTTDA.js +495 -0
  851. package/dist/chunks/chunk.C7QR4SPF.js +1 -0
  852. package/dist/chunks/chunk.CD5ZQXGV.js +17 -0
  853. package/dist/chunks/chunk.CIWVH54V.js +260 -0
  854. package/dist/chunks/chunk.CL3UPHCV.js +145 -0
  855. package/dist/chunks/chunk.CQXIUSH7.js +1 -0
  856. package/dist/chunks/chunk.CUJNKBC6.js +1 -0
  857. package/dist/chunks/chunk.CV2D3MDN.js +93 -0
  858. package/dist/chunks/chunk.CZZ63EKR.js +1 -0
  859. package/dist/chunks/chunk.DDNVEBZH.js +1 -0
  860. package/dist/chunks/chunk.DMPAY35P.js +115 -0
  861. package/dist/chunks/chunk.DSG7TPJW.js +10 -0
  862. package/dist/chunks/chunk.E3NUSTFU.js +1 -0
  863. package/dist/chunks/chunk.E47M7NVI.js +55 -0
  864. package/dist/chunks/chunk.E6LODOVJ.js +65 -0
  865. package/dist/chunks/chunk.EDADTX5Q.js +1 -0
  866. package/dist/chunks/chunk.EDBJ4VFC.js +1 -0
  867. package/dist/chunks/chunk.EJOLVPRS.js +1 -0
  868. package/dist/chunks/chunk.EKDZB5S2.js +1 -0
  869. package/dist/chunks/chunk.ELUBODMC.js +12 -0
  870. package/dist/chunks/chunk.EP7VZEIL.js +197 -0
  871. package/dist/chunks/chunk.ETE4SEGE.js +1 -0
  872. package/dist/chunks/chunk.ETT4EB7D.js +287 -0
  873. package/dist/chunks/chunk.EZI7VJCI.js +1 -0
  874. package/dist/chunks/chunk.FB2U5ODR.js +1 -0
  875. package/dist/chunks/chunk.FEZWYWLM.js +1 -0
  876. package/dist/chunks/chunk.FL6IFTRN.js +34 -0
  877. package/dist/chunks/chunk.FM53AQRR.js +5 -0
  878. package/dist/chunks/chunk.FNBTJL76.js +55 -0
  879. package/dist/chunks/chunk.FSSL6ZLQ.js +35 -0
  880. package/dist/chunks/chunk.G5YTXJ3A.js +32 -0
  881. package/dist/chunks/chunk.G6R7GCGB.js +1 -0
  882. package/dist/chunks/chunk.GP4XGCT7.js +1 -0
  883. package/dist/chunks/chunk.GPI7PCGX.js +1 -0
  884. package/dist/chunks/chunk.GQIIFJUH.js +1 -0
  885. package/dist/chunks/chunk.GVQ3ULCA.js +1 -0
  886. package/dist/chunks/chunk.GXTFJZWR.js +351 -0
  887. package/dist/chunks/chunk.H2ISCJTL.js +31 -0
  888. package/dist/chunks/chunk.HBIKGPFF.js +1 -0
  889. package/dist/chunks/chunk.HOADB2CO.js +67 -0
  890. package/dist/chunks/chunk.HRTAILZX.js +71 -0
  891. package/dist/chunks/chunk.HUZMK2VQ.js +1 -0
  892. package/dist/chunks/chunk.HZRKVYQY.js +1 -0
  893. package/dist/chunks/chunk.I5P6RFB4.js +1 -0
  894. package/dist/chunks/chunk.INFVQQSJ.js +1 -0
  895. package/dist/chunks/chunk.IVAJTYHP.js +618 -0
  896. package/dist/chunks/chunk.IWYCR2FE.js +1 -0
  897. package/dist/chunks/chunk.IWZF7C67.js +1 -0
  898. package/dist/chunks/chunk.IYLOXJSX.js +1 -0
  899. package/dist/chunks/chunk.IZZFNAC5.js +1 -0
  900. package/dist/chunks/chunk.J5Q4TWEG.js +1 -0
  901. package/dist/chunks/chunk.J5THC22T.js +1 -0
  902. package/dist/chunks/chunk.JB4B7N5B.js +1 -0
  903. package/dist/chunks/chunk.JBPRUIZD.js +170 -0
  904. package/dist/chunks/chunk.JEP5ZAVN.js +1 -0
  905. package/dist/chunks/chunk.JIPQ7AV4.js +1 -0
  906. package/dist/chunks/chunk.JLC7KOHX.js +1 -0
  907. package/dist/chunks/chunk.JLS55DD4.js +121 -0
  908. package/dist/chunks/chunk.JOGU5BJB.js +1 -0
  909. package/dist/chunks/chunk.JR4CVT6A.js +15 -0
  910. package/dist/chunks/chunk.JRVMPEDZ.js +1 -0
  911. package/dist/chunks/chunk.JXE6DOO5.js +16 -0
  912. package/dist/chunks/chunk.JZSTMBRE.js +55 -0
  913. package/dist/chunks/chunk.K3PIEJHK.js +23 -0
  914. package/dist/chunks/chunk.K7UMCNCF.js +114 -0
  915. package/dist/chunks/chunk.KAEEI4RX.js +121 -0
  916. package/dist/chunks/chunk.KAF7DE46.js +1 -0
  917. package/dist/chunks/chunk.KBH7XUJ2.js +1 -0
  918. package/dist/chunks/chunk.KGHIGMCA.js +1 -0
  919. package/dist/chunks/chunk.KGZZ7BN3.js +289 -0
  920. package/dist/chunks/chunk.KJB4OVGG.js +329 -0
  921. package/dist/chunks/chunk.KKXYNJ2C.js +61 -0
  922. package/dist/chunks/chunk.KVCUA7LO.js +64 -0
  923. package/dist/chunks/chunk.KWCBIL2K.js +11 -0
  924. package/dist/chunks/chunk.KXA6CEPI.js +1043 -0
  925. package/dist/chunks/chunk.L5XSUU23.js +9 -0
  926. package/dist/chunks/chunk.LBG47EHU.js +80 -0
  927. package/dist/chunks/chunk.LC4ZSYI5.js +9 -0
  928. package/dist/chunks/chunk.LHGSX2EB.js +1 -0
  929. package/dist/chunks/chunk.LHSPDFX4.js +1 -0
  930. package/dist/chunks/chunk.LPDAW6QT.js +1 -0
  931. package/dist/chunks/chunk.LVPW3I5Y.js +1 -0
  932. package/dist/chunks/chunk.LXRYB5BK.js +1 -0
  933. package/dist/chunks/chunk.M24MU27S.js +82 -0
  934. package/dist/chunks/chunk.M7AHS3AH.js +1 -0
  935. package/dist/chunks/chunk.MJFEBDJV.js +16 -0
  936. package/dist/chunks/chunk.MJVP52R5.js +43 -0
  937. package/dist/chunks/chunk.MKVYWZTL.js +99 -0
  938. package/dist/chunks/chunk.MR2JD62K.js +437 -0
  939. package/dist/chunks/chunk.MU3VKJWB.js +1 -0
  940. package/dist/chunks/chunk.MXOPVRH6.js +1 -0
  941. package/dist/chunks/chunk.N3AEF5KW.js +1 -0
  942. package/dist/chunks/chunk.NDAM2NI4.js +1 -0
  943. package/dist/chunks/chunk.NFM5IDJR.js +24 -0
  944. package/dist/chunks/chunk.NI5IMMU6.js +1 -0
  945. package/dist/chunks/chunk.NJTQ2K6F.js +48 -0
  946. package/dist/chunks/chunk.NORSDIMU.js +8 -0
  947. package/dist/chunks/chunk.NP2QG5W4.js +51 -0
  948. package/dist/chunks/chunk.NSHMVB5U.js +1 -0
  949. package/dist/chunks/chunk.NZ2EQTLJ.js +1 -0
  950. package/dist/chunks/chunk.NZRBH2FO.js +1 -0
  951. package/dist/chunks/chunk.NZW4RZY3.js +1 -0
  952. package/dist/chunks/chunk.O2GMJYSL.js +0 -0
  953. package/dist/chunks/chunk.O2HBLJZB.js +1 -0
  954. package/dist/chunks/chunk.O3JBMOQJ.js +749 -0
  955. package/dist/chunks/chunk.O7IVXZBJ.js +1 -0
  956. package/dist/chunks/chunk.OAYJFXJ7.js +37 -0
  957. package/dist/chunks/chunk.OBKNMV5D.js +1 -0
  958. package/dist/chunks/chunk.ODZ5RFHN.js +25 -0
  959. package/dist/chunks/chunk.OGQJH54I.js +1 -0
  960. package/dist/chunks/chunk.OILCN37O.js +299 -0
  961. package/dist/chunks/chunk.OIUVQPNF.js +287 -0
  962. package/dist/chunks/chunk.OWXXS6QM.js +100 -0
  963. package/dist/chunks/chunk.P5Z2X5RJ.js +64 -0
  964. package/dist/chunks/chunk.PABCKGCM.js +140 -0
  965. package/dist/chunks/chunk.PAEUAUNV.js +8 -0
  966. package/dist/chunks/chunk.PBRI7B7A.js +20 -0
  967. package/dist/chunks/chunk.PDXLX5LB.js +22 -0
  968. package/dist/chunks/chunk.PJ2G5T64.js +144 -0
  969. package/dist/chunks/chunk.PKC6WTWN.js +1 -0
  970. package/dist/chunks/chunk.PM4ZLX54.js +1 -0
  971. package/dist/chunks/chunk.PNFIHG3Z.js +1 -0
  972. package/dist/chunks/chunk.Q3FSQR6A.js +1 -0
  973. package/dist/chunks/chunk.Q3RQ2KGF.js +34 -0
  974. package/dist/chunks/chunk.Q6Y44MV7.js +1 -0
  975. package/dist/chunks/chunk.QBZ3RHNB.js +49 -0
  976. package/dist/chunks/chunk.QC2EZC4J.js +101 -0
  977. package/dist/chunks/chunk.QDFHF7LY.js +1 -0
  978. package/dist/chunks/chunk.QMLZIOGK.js +1 -0
  979. package/dist/chunks/chunk.QQO5GUXS.js +1 -0
  980. package/dist/chunks/chunk.QUPFWO2W.js +1 -0
  981. package/dist/chunks/chunk.QXFOLPTE.js +157 -0
  982. package/dist/chunks/chunk.QZB7YAW4.js +1 -0
  983. package/dist/chunks/chunk.QZWCO7EF.js +321 -0
  984. package/dist/chunks/chunk.R4D7NLOS.js +651 -0
  985. package/dist/chunks/chunk.RBE5AOEF.js +2 -0
  986. package/dist/chunks/chunk.REK2YOIL.js +92 -0
  987. package/dist/chunks/chunk.RIHKWEWK.js +1 -0
  988. package/dist/chunks/chunk.RJSNPXT4.js +1 -0
  989. package/dist/chunks/chunk.RKVLJUJG.js +213 -0
  990. package/dist/chunks/chunk.RM5CVLJ5.js +336 -0
  991. package/dist/chunks/chunk.RM5PZL2E.js +1 -0
  992. package/dist/chunks/chunk.RRKWNEL7.js +13 -0
  993. package/dist/chunks/chunk.RTZZX2UG.js +30 -0
  994. package/dist/chunks/chunk.RYXFAYSI.js +1 -0
  995. package/dist/chunks/chunk.S3WSRAXA.js +1 -0
  996. package/dist/chunks/chunk.SAYRRMRN.js +1 -0
  997. package/dist/chunks/chunk.SDEKZ7EH.js +1 -0
  998. package/dist/chunks/chunk.SJ7SUN6N.js +1 -0
  999. package/dist/chunks/chunk.SJW4CYVO.js +1 -0
  1000. package/dist/chunks/chunk.SLEOS424.js +1 -0
  1001. package/dist/chunks/chunk.SRDW6MAE.js +111 -0
  1002. package/dist/chunks/chunk.STTAKOQG.js +1 -0
  1003. package/dist/chunks/chunk.SUBBVKKD.js +104 -0
  1004. package/dist/chunks/chunk.T6M2XKVT.js +1 -0
  1005. package/dist/chunks/chunk.TOHRQWOJ.js +43 -0
  1006. package/dist/chunks/chunk.TQUTGUIU.js +1 -0
  1007. package/dist/chunks/chunk.TTVYXNEX.js +1 -0
  1008. package/dist/chunks/chunk.TZPFDI45.js +1 -0
  1009. package/dist/chunks/chunk.U2FNXZ4T.js +1157 -0
  1010. package/dist/chunks/chunk.U2GOK43S.js +14 -0
  1011. package/dist/chunks/chunk.U2S27E26.js +1 -0
  1012. package/dist/chunks/chunk.U6R2SR47.js +1 -0
  1013. package/dist/chunks/chunk.UC5K3JSD.js +1 -0
  1014. package/dist/chunks/chunk.UD2MKM4G.js +1 -0
  1015. package/dist/chunks/chunk.UEJTWT4H.js +1 -0
  1016. package/dist/chunks/chunk.UHWXDO2X.js +1 -0
  1017. package/dist/chunks/chunk.UIJRLYJ5.js +300 -0
  1018. package/dist/chunks/chunk.UIKMEY7L.js +1 -0
  1019. package/dist/chunks/chunk.UM535KIO.js +162 -0
  1020. package/dist/chunks/chunk.UOPZ7IQO.js +1 -0
  1021. package/dist/chunks/chunk.UQXFJXT2.js +566 -0
  1022. package/dist/chunks/chunk.URTV3MIW.js +1 -0
  1023. package/dist/chunks/chunk.USZXOQ5W.js +1 -0
  1024. package/dist/chunks/chunk.UTJA3S5Z.js +1 -0
  1025. package/dist/chunks/chunk.UXPPNGDD.js +1 -0
  1026. package/dist/chunks/chunk.UYGW5SAC.js +37 -0
  1027. package/dist/chunks/chunk.UZ4RSTT6.js +64 -0
  1028. package/dist/chunks/chunk.V6OBKZEU.js +1 -0
  1029. package/dist/chunks/chunk.V6ZDTBMM.js +1 -0
  1030. package/dist/chunks/chunk.VBIWDPIC.js +6 -0
  1031. package/dist/chunks/chunk.VENMBB5D.js +184 -0
  1032. package/dist/chunks/chunk.VKCVK6OP.js +49 -0
  1033. package/dist/chunks/chunk.VOQBVUDI.js +1 -0
  1034. package/dist/chunks/chunk.VT3U2SB7.js +1 -0
  1035. package/dist/chunks/chunk.VZTQF4OE.js +1 -0
  1036. package/dist/chunks/chunk.VZX3SFGZ.js +139 -0
  1037. package/dist/chunks/chunk.W2BB76HP.js +83 -0
  1038. package/dist/chunks/chunk.W753QEWS.js +122 -0
  1039. package/dist/chunks/chunk.W7O33DH5.js +1 -0
  1040. package/dist/chunks/chunk.W7RCZIAS.js +30 -0
  1041. package/dist/chunks/chunk.WGADCB3O.js +4 -0
  1042. package/dist/chunks/chunk.WGYVWH4N.js +1 -0
  1043. package/dist/chunks/chunk.WKLFO4CV.js +1 -0
  1044. package/dist/chunks/chunk.WPYM7UE2.js +75 -0
  1045. package/dist/chunks/chunk.WR22TB5Y.js +106 -0
  1046. package/dist/chunks/chunk.WT6GZVYY.js +1 -0
  1047. package/dist/chunks/chunk.WXZVHMVF.js +1 -0
  1048. package/dist/chunks/chunk.X5OPH5X7.js +57 -0
  1049. package/dist/chunks/chunk.X6YUDBBQ.js +1 -0
  1050. package/dist/chunks/chunk.XIJIRCHU.js +1 -0
  1051. package/dist/chunks/chunk.XOXHOZNI.js +9 -0
  1052. package/dist/chunks/chunk.XWET63TO.js +188 -0
  1053. package/dist/chunks/chunk.Y5KEEPVM.js +1 -0
  1054. package/dist/chunks/chunk.YE2XHS7U.js +1 -0
  1055. package/dist/chunks/chunk.YID2VH6X.js +17 -0
  1056. package/dist/chunks/chunk.YQG4O6JG.js +1 -0
  1057. package/dist/chunks/chunk.YS7ZNM77.js +1 -0
  1058. package/dist/chunks/chunk.YSJ2VJE5.js +1 -0
  1059. package/dist/chunks/chunk.YVP42OKY.js +26 -0
  1060. package/dist/chunks/chunk.YZOJBYJJ.js +132 -0
  1061. package/dist/chunks/chunk.Z25SA46F.js +1 -0
  1062. package/dist/chunks/chunk.Z47EAJ4R.js +66 -0
  1063. package/dist/chunks/chunk.Z4MRB553.js +1 -0
  1064. package/dist/chunks/chunk.ZDHEJXMO.js +1 -0
  1065. package/dist/chunks/chunk.ZDSYFD3X.js +133 -0
  1066. package/dist/chunks/chunk.ZEIMRQG5.js +1 -0
  1067. package/dist/chunks/chunk.ZF3CXW3V.js +1 -0
  1068. package/dist/chunks/chunk.ZFIDO76G.js +1 -0
  1069. package/dist/chunks/chunk.ZHOOI52R.js +1 -0
  1070. package/dist/chunks/chunk.ZIOKLPTQ.js +47 -0
  1071. package/dist/chunks/chunk.ZS3U4XEF.js +26 -0
  1072. package/dist/chunks/chunk.ZTYZ7EWT.js +1 -0
  1073. package/dist/chunks/chunk.ZXSLGF4Q.js +86 -0
  1074. package/dist/components/accordion/accordion.component.js +1 -17
  1075. package/dist/components/accordion/accordion.js +1 -18
  1076. package/dist/components/accordion/accordion.styles.js +1 -7
  1077. package/dist/components/alert/alert.component.js +1 -13
  1078. package/dist/components/alert/alert.js +1 -14
  1079. package/dist/components/alert/alert.styles.js +1 -7
  1080. package/dist/components/avatar/avatar.component.js +1 -17
  1081. package/dist/components/avatar/avatar.js +1 -18
  1082. package/dist/components/avatar/avatar.styles.js +1 -7
  1083. package/dist/components/badge/badge.component.js +1 -10
  1084. package/dist/components/badge/badge.js +1 -11
  1085. package/dist/components/badge/badge.styles.js +1 -7
  1086. package/dist/components/breadcrumb/breadcrumb.component.js +1 -10
  1087. package/dist/components/breadcrumb/breadcrumb.js +1 -11
  1088. package/dist/components/breadcrumb/breadcrumb.styles.js +1 -7
  1089. package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -10
  1090. package/dist/components/breadcrumbs/breadcrumbs.js +1 -11
  1091. package/dist/components/breadcrumbs/breadcrumbs.styles.js +1 -7
  1092. package/dist/components/browse-variables/browse-variables.component.d.ts +2 -0
  1093. package/dist/components/browse-variables/browse-variables.component.js +1 -38
  1094. package/dist/components/browse-variables/browse-variables.controller.js +1 -11
  1095. package/dist/components/browse-variables/browse-variables.js +1 -39
  1096. package/dist/components/browse-variables/browse-variables.styles.js +1 -7
  1097. package/dist/components/button/button.component.js +1 -19
  1098. package/dist/components/button/button.js +1 -20
  1099. package/dist/components/button/button.styles.js +1 -7
  1100. package/dist/components/button-group/button-group.component.js +1 -10
  1101. package/dist/components/button-group/button-group.js +1 -11
  1102. package/dist/components/button-group/button-group.styles.js +1 -7
  1103. package/dist/components/caption/caption.component.js +1 -10
  1104. package/dist/components/caption/caption.js +1 -11
  1105. package/dist/components/caption/caption.styles.js +1 -7
  1106. package/dist/components/card/card.component.js +1 -11
  1107. package/dist/components/card/card.js +1 -12
  1108. package/dist/components/card/card.styles.js +1 -7
  1109. package/dist/components/checkbox/checkbox.component.js +1 -21
  1110. package/dist/components/checkbox/checkbox.js +1 -22
  1111. package/dist/components/checkbox/checkbox.styles.js +1 -7
  1112. package/dist/components/chip/chip.component.js +1 -10
  1113. package/dist/components/chip/chip.js +1 -11
  1114. package/dist/components/chip/chip.styles.js +1 -7
  1115. package/dist/components/combobox/combobox.component.d.ts +4 -1
  1116. package/dist/components/combobox/combobox.component.js +1 -13
  1117. package/dist/components/combobox/combobox.js +1 -14
  1118. package/dist/components/combobox/combobox.styles.js +1 -7
  1119. package/dist/components/combobox/lib.js +1 -9
  1120. package/dist/components/combobox/type.js +1 -7
  1121. package/dist/components/data-access/data-access.component.d.ts +24 -19
  1122. package/dist/components/data-access/data-access.component.js +1 -65
  1123. package/dist/components/data-access/data-access.js +1 -66
  1124. package/dist/components/data-access/data-access.service.d.ts +12 -0
  1125. package/dist/components/data-access/data-access.service.js +1 -0
  1126. package/dist/components/data-access/data-access.styles.js +1 -7
  1127. package/dist/components/data-access/notebooks/data-access-notebook.js +12 -7
  1128. package/dist/components/data-grid/data-grid.component.js +1 -12
  1129. package/dist/components/data-grid/data-grid.js +1 -13
  1130. package/dist/components/data-grid/data-grid.styles.js +1 -7
  1131. package/dist/components/data-rods/data-rods.component.d.ts +1 -1
  1132. package/dist/components/data-rods/data-rods.component.js +1 -77
  1133. package/dist/components/data-rods/data-rods.js +1 -78
  1134. package/dist/components/data-rods/data-rods.styles.js +1 -7
  1135. package/dist/components/data-subsetter/data-subsetter.component.d.ts +29 -13
  1136. package/dist/components/data-subsetter/data-subsetter.component.js +1 -85
  1137. package/dist/components/data-subsetter/data-subsetter.js +1 -86
  1138. package/dist/components/data-subsetter/data-subsetter.styles.js +1 -7
  1139. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -7
  1140. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -88
  1141. package/dist/components/data-subsetter-history/data-subsetter-history.controller.js +1 -9
  1142. package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -89
  1143. package/dist/components/data-subsetter-history/data-subsetter-history.styles.js +1 -7
  1144. package/dist/components/date-picker/date-picker.component.d.ts +0 -1
  1145. package/dist/components/date-picker/date-picker.component.js +1 -33
  1146. package/dist/components/date-picker/date-picker.js +1 -34
  1147. package/dist/components/date-picker/date-picker.styles.js +1 -7
  1148. package/dist/components/date-range-slider/date-range-slider.component.js +1 -13
  1149. package/dist/components/date-range-slider/date-range-slider.js +1 -14
  1150. package/dist/components/date-range-slider/date-range-slider.styles.js +1 -7
  1151. package/dist/components/date-range-slider/noui-slider-utilities.js +1 -7
  1152. package/dist/components/dialog/dialog.component.js +1 -26
  1153. package/dist/components/dialog/dialog.js +1 -27
  1154. package/dist/components/dialog/dialog.styles.js +1 -7
  1155. package/dist/components/divider/divider.component.js +1 -11
  1156. package/dist/components/divider/divider.js +1 -12
  1157. package/dist/components/divider/divider.styles.js +1 -7
  1158. package/dist/components/dropdown/dropdown.component.js +1 -17
  1159. package/dist/components/dropdown/dropdown.js +1 -18
  1160. package/dist/components/dropdown/dropdown.styles.js +1 -7
  1161. package/dist/components/earthdata-login/earthdata-login.component.js +1 -32
  1162. package/dist/components/earthdata-login/earthdata-login.js +1 -33
  1163. package/dist/components/earthdata-login/earthdata-login.styles.js +1 -7
  1164. package/dist/components/file-upload/file-upload.component.js +1 -10
  1165. package/dist/components/file-upload/file-upload.js +1 -11
  1166. package/dist/components/file-upload/file-upload.styles.js +1 -7
  1167. package/dist/components/harmony-history/harmony-history.component.d.ts +91 -0
  1168. package/dist/components/harmony-history/harmony-history.component.js +1 -0
  1169. package/dist/components/harmony-history/harmony-history.d.ts +8 -0
  1170. package/dist/components/harmony-history/harmony-history.js +1 -0
  1171. package/dist/components/harmony-history/harmony-history.styles.js +1 -0
  1172. package/dist/components/icon/icon.component.js +1 -15
  1173. package/dist/components/icon/icon.js +1 -16
  1174. package/dist/components/icon/icon.styles.js +1 -7
  1175. package/dist/components/icon/library.default.js +1 -7
  1176. package/dist/components/icon/library.heroicons.js +1 -8
  1177. package/dist/components/icon/library.js +1 -18
  1178. package/dist/components/input/input.component.js +1 -21
  1179. package/dist/components/input/input.js +1 -22
  1180. package/dist/components/input/input.styles.js +1 -7
  1181. package/dist/components/loader/loader.component.js +1 -10
  1182. package/dist/components/loader/loader.js +1 -11
  1183. package/dist/components/loader/loader.styles.js +1 -7
  1184. package/dist/components/login/login.component.js +1 -27
  1185. package/dist/components/login/login.js +1 -28
  1186. package/dist/components/login/login.styles.js +1 -7
  1187. package/dist/components/map/controls/draw-toolbar.control.d.ts +29 -0
  1188. package/dist/components/map/controls/draw-toolbar.control.js +1 -0
  1189. package/dist/components/map/map.component.d.ts +32 -11
  1190. package/dist/components/map/map.component.js +1 -18
  1191. package/dist/components/map/map.controller.js +1 -9
  1192. package/dist/components/map/map.js +1 -19
  1193. package/dist/components/map/map.service.d.ts +41 -0
  1194. package/dist/components/map/map.service.js +1 -0
  1195. package/dist/components/map/map.styles.js +1 -7
  1196. package/dist/components/map/models/LatLng.d.ts +7 -0
  1197. package/dist/components/map/models/LatLng.js +1 -0
  1198. package/dist/components/map/models/LatLngBounds.d.ts +15 -0
  1199. package/dist/components/map/models/LatLngBounds.js +1 -0
  1200. package/dist/components/map/type.d.ts +12 -3
  1201. package/dist/components/map/type.js +1 -7
  1202. package/dist/components/menu/menu.component.js +1 -10
  1203. package/dist/components/menu/menu.js +1 -11
  1204. package/dist/components/menu/menu.styles.js +1 -7
  1205. package/dist/components/menu-item/menu-item.component.js +1 -23
  1206. package/dist/components/menu-item/menu-item.js +1 -24
  1207. package/dist/components/menu-item/menu-item.styles.js +1 -7
  1208. package/dist/components/menu-item/submenu-controller.js +1 -8
  1209. package/dist/components/option/option.component.js +1 -17
  1210. package/dist/components/option/option.js +1 -18
  1211. package/dist/components/option/option.styles.js +1 -7
  1212. package/dist/components/pagination/pagination.component.js +1 -17
  1213. package/dist/components/pagination/pagination.js +1 -18
  1214. package/dist/components/pagination/pagination.styles.js +1 -7
  1215. package/dist/components/plot/plot.component.js +1 -11
  1216. package/dist/components/plot/plot.js +1 -12
  1217. package/dist/components/plot/plot.styles.js +1 -7
  1218. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -7
  1219. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -7
  1220. package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +0 -2
  1221. package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -38
  1222. package/dist/components/plot-toolbar/plot-toolbar.controller.js +1 -10
  1223. package/dist/components/plot-toolbar/plot-toolbar.js +1 -39
  1224. package/dist/components/plot-toolbar/plot-toolbar.styles.js +1 -7
  1225. package/dist/components/popup/popup.component.js +1 -10
  1226. package/dist/components/popup/popup.js +1 -11
  1227. package/dist/components/popup/popup.styles.js +1 -7
  1228. package/dist/components/progress-bar/progress-bar.component.js +1 -10
  1229. package/dist/components/progress-bar/progress-bar.js +1 -11
  1230. package/dist/components/progress-bar/progress-bar.styles.js +1 -7
  1231. package/dist/components/radio/radio.component.js +1 -14
  1232. package/dist/components/radio/radio.js +1 -15
  1233. package/dist/components/radio/radio.styles.js +1 -7
  1234. package/dist/components/radio-group/radio-group.component.js +1 -14
  1235. package/dist/components/radio-group/radio-group.js +1 -15
  1236. package/dist/components/radio-group/radio-group.styles.js +1 -7
  1237. package/dist/components/scroll-hint/scroll-hint.component.js +1 -17
  1238. package/dist/components/scroll-hint/scroll-hint.js +1 -18
  1239. package/dist/components/scroll-hint/scroll-hint.styles.js +1 -7
  1240. package/dist/components/select/select.component.js +1 -28
  1241. package/dist/components/select/select.js +1 -29
  1242. package/dist/components/select/select.styles.js +1 -7
  1243. package/dist/components/site-header/site-header.component.js +1 -18
  1244. package/dist/components/site-header/site-header.js +1 -22
  1245. package/dist/components/site-header/site-header.styles.js +1 -7
  1246. package/dist/components/site-navigation/site-navigation.component.js +1 -10
  1247. package/dist/components/site-navigation/site-navigation.js +1 -14
  1248. package/dist/components/site-navigation/site-navigation.styles.js +1 -7
  1249. package/dist/components/skeleton/skeleton.component.js +1 -11
  1250. package/dist/components/skeleton/skeleton.js +1 -12
  1251. package/dist/components/skeleton/skeleton.styles.js +1 -7
  1252. package/dist/components/slider/slider.component.d.ts +1 -0
  1253. package/dist/components/slider/slider.component.js +1 -12
  1254. package/dist/components/slider/slider.js +1 -13
  1255. package/dist/components/slider/slider.styles.js +1 -7
  1256. package/dist/components/spatial-picker/spatial-picker.component.d.ts +51 -71
  1257. package/dist/components/spatial-picker/spatial-picker.component.js +1 -40
  1258. package/dist/components/spatial-picker/spatial-picker.js +1 -41
  1259. package/dist/components/spatial-picker/spatial-picker.service.d.ts +48 -0
  1260. package/dist/components/spatial-picker/spatial-picker.service.js +1 -0
  1261. package/dist/components/spatial-picker/spatial-picker.styles.js +1 -7
  1262. package/dist/components/status-indicator/status-indicator.component.js +1 -10
  1263. package/dist/components/status-indicator/status-indicator.js +1 -11
  1264. package/dist/components/status-indicator/status-indicator.styles.js +1 -7
  1265. package/dist/components/stepper/stepper.component.js +1 -10
  1266. package/dist/components/stepper/stepper.js +1 -11
  1267. package/dist/components/stepper/stepper.styles.js +1 -7
  1268. package/dist/components/stepper-step/stepper-step.component.js +1 -17
  1269. package/dist/components/stepper-step/stepper-step.js +1 -18
  1270. package/dist/components/stepper-step/stepper-step.styles.js +1 -7
  1271. package/dist/components/tab/tab.component.js +1 -17
  1272. package/dist/components/tab/tab.js +1 -18
  1273. package/dist/components/tab/tab.styles.js +1 -7
  1274. package/dist/components/tab-panel/tab-panel.component.js +1 -11
  1275. package/dist/components/tab-panel/tab-panel.js +1 -12
  1276. package/dist/components/tab-panel/tab-panel.styles.js +1 -7
  1277. package/dist/components/tabs/tabs.component.js +1 -18
  1278. package/dist/components/tabs/tabs.js +1 -19
  1279. package/dist/components/tabs/tabs.styles.js +1 -7
  1280. package/dist/components/tag/tag.component.js +1 -17
  1281. package/dist/components/tag/tag.js +1 -18
  1282. package/dist/components/tag/tag.styles.js +1 -7
  1283. package/dist/components/textarea/textarea.component.js +1 -15
  1284. package/dist/components/textarea/textarea.js +1 -16
  1285. package/dist/components/textarea/textarea.styles.js +1 -7
  1286. package/dist/components/time-average-map/time-average-map-cache.service.d.ts +15 -0
  1287. package/dist/components/time-average-map/time-average-map-cache.service.js +1 -0
  1288. package/dist/components/time-average-map/time-average-map.component.d.ts +14 -3
  1289. package/dist/components/time-average-map/time-average-map.component.js +1 -53
  1290. package/dist/components/time-average-map/time-average-map.controller.d.ts +6 -7
  1291. package/dist/components/time-average-map/time-average-map.controller.js +1 -12
  1292. package/dist/components/time-average-map/time-average-map.js +1 -54
  1293. package/dist/components/time-average-map/time-average-map.styles.js +1 -7
  1294. package/dist/components/time-series/time-series-cache.service.d.ts +21 -0
  1295. package/dist/components/time-series/time-series-cache.service.js +1 -0
  1296. package/dist/components/time-series/time-series.component.d.ts +9 -3
  1297. package/dist/components/time-series/time-series.component.js +1 -53
  1298. package/dist/components/time-series/time-series.controller.d.ts +4 -7
  1299. package/dist/components/time-series/time-series.controller.js +1 -14
  1300. package/dist/components/time-series/time-series.js +1 -54
  1301. package/dist/components/time-series/time-series.styles.js +1 -7
  1302. package/dist/components/time-series/time-series.types.d.ts +0 -1
  1303. package/dist/components/toast/toast.component.js +1 -15
  1304. package/dist/components/toast/toast.js +1 -16
  1305. package/dist/components/toast/toast.styles.js +1 -7
  1306. package/dist/components/toggle/toggle.component.js +1 -15
  1307. package/dist/components/toggle/toggle.js +1 -16
  1308. package/dist/components/toggle/toggle.styles.js +1 -7
  1309. package/dist/components/tooltip/tooltip.component.d.ts +5 -0
  1310. package/dist/components/tooltip/tooltip.component.js +1 -16
  1311. package/dist/components/tooltip/tooltip.js +1 -17
  1312. package/dist/components/tooltip/tooltip.styles.js +1 -7
  1313. package/dist/components/variable-combobox/lib.js +1 -19
  1314. package/dist/components/variable-combobox/variable-combobox.component.d.ts +4 -1
  1315. package/dist/components/variable-combobox/variable-combobox.component.js +1 -25
  1316. package/dist/components/variable-combobox/variable-combobox.controller.d.ts +2 -2
  1317. package/dist/components/variable-combobox/variable-combobox.controller.js +1 -8
  1318. package/dist/components/variable-combobox/variable-combobox.js +1 -26
  1319. package/dist/components/variable-combobox/variable-combobox.styles.js +1 -7
  1320. package/dist/components/variable-combobox/variable-combobox.types.d.ts +0 -1
  1321. package/dist/components/variable-keyword-search/lib.js +1 -13
  1322. package/dist/components/variable-keyword-search/variable-keyword-search.component.d.ts +4 -1
  1323. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -29
  1324. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +1 -11
  1325. package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -30
  1326. package/dist/components/variable-keyword-search/variable-keyword-search.styles.js +1 -7
  1327. package/dist/controllers/collection.controller.d.ts +76 -0
  1328. package/dist/controllers/harmony-request.controller.d.ts +20 -0
  1329. package/dist/controllers/mutation.controller.d.ts +40 -0
  1330. package/dist/controllers/query.controller.d.ts +19 -0
  1331. package/dist/custom-elements.json +1623 -1362
  1332. package/dist/data-services/harmony-data-service.d.ts +2 -4
  1333. package/dist/data-services/queries.d.ts +0 -1
  1334. package/dist/data-services/types.d.ts +3 -7
  1335. package/dist/events/events.d.ts +3 -0
  1336. package/dist/events/terra-harmony-job-delete.d.ts +8 -0
  1337. package/dist/events/terra-harmony-job-select.d.ts +9 -0
  1338. package/dist/events/terra-harmony-job-status-update.d.ts +9 -0
  1339. package/dist/exceptions/http.exception.d.ts +22 -0
  1340. package/dist/internal/animate.d.ts +3 -3
  1341. package/dist/internal/indexeddb.d.ts +2 -1
  1342. package/dist/lib/api.client.d.ts +15 -0
  1343. package/dist/lib/harmony/harmony.request.d.ts +72 -0
  1344. package/dist/lib/indexeddb-persister.d.ts +14 -0
  1345. package/dist/lib/thumbnails/thumbnail.service.d.ts +14 -0
  1346. package/dist/metadata-catalog/tasks.d.ts +1 -1
  1347. package/dist/metadata-catalog/types.d.ts +1 -1
  1348. package/dist/mixins/query-client.mixin.d.ts +8 -0
  1349. package/dist/queries/cmr.queries.d.ts +7 -0
  1350. package/dist/queries/gesdisc.queries.d.ts +7 -0
  1351. package/dist/queries/giovanni.queries.d.ts +3 -0
  1352. package/dist/queries/harmony.queries.d.ts +64 -0
  1353. package/dist/react/accordion/index.js +1 -18
  1354. package/dist/react/alert/index.js +1 -14
  1355. package/dist/react/avatar/index.js +1 -18
  1356. package/dist/react/badge/index.js +1 -11
  1357. package/dist/react/breadcrumb/index.js +1 -11
  1358. package/dist/react/breadcrumbs/index.js +1 -11
  1359. package/dist/react/browse-variables/index.js +1 -39
  1360. package/dist/react/button/index.js +1 -20
  1361. package/dist/react/button-group/index.js +1 -11
  1362. package/dist/react/caption/index.js +1 -11
  1363. package/dist/react/card/index.js +1 -12
  1364. package/dist/react/checkbox/index.js +1 -22
  1365. package/dist/react/chip/index.js +1 -11
  1366. package/dist/react/combobox/index.js +1 -14
  1367. package/dist/react/data-access/index.js +1 -66
  1368. package/dist/react/data-grid/index.js +1 -13
  1369. package/dist/react/data-rods/index.js +1 -78
  1370. package/dist/react/data-subsetter/index.js +1 -86
  1371. package/dist/react/data-subsetter-history/index.js +1 -89
  1372. package/dist/react/date-picker/index.js +1 -34
  1373. package/dist/react/date-range-slider/index.js +1 -14
  1374. package/dist/react/dialog/index.js +1 -27
  1375. package/dist/react/divider/index.js +1 -12
  1376. package/dist/react/dropdown/index.js +1 -18
  1377. package/dist/react/earthdata-login/index.js +1 -33
  1378. package/dist/react/file-upload/index.js +1 -11
  1379. package/dist/react/harmony-history/index.d.ts +30 -0
  1380. package/dist/react/harmony-history/index.js +1 -0
  1381. package/dist/react/icon/index.js +1 -16
  1382. package/dist/react/index.d.ts +2 -2
  1383. package/dist/react/index.js +1 -447
  1384. package/dist/react/input/index.js +1 -22
  1385. package/dist/react/loader/index.js +1 -11
  1386. package/dist/react/login/index.js +1 -28
  1387. package/dist/react/map/index.js +1 -19
  1388. package/dist/react/menu/index.js +1 -11
  1389. package/dist/react/menu-item/index.js +1 -24
  1390. package/dist/react/option/index.js +1 -18
  1391. package/dist/react/pagination/index.js +1 -18
  1392. package/dist/react/plot/index.js +1 -12
  1393. package/dist/react/plot-toolbar/index.js +1 -39
  1394. package/dist/react/popup/index.js +1 -11
  1395. package/dist/react/progress-bar/index.js +1 -11
  1396. package/dist/react/radio/index.js +1 -15
  1397. package/dist/react/radio-group/index.js +1 -15
  1398. package/dist/react/scroll-hint/index.js +1 -18
  1399. package/dist/react/select/index.js +1 -29
  1400. package/dist/react/site-header/index.js +1 -19
  1401. package/dist/react/site-navigation/index.js +1 -11
  1402. package/dist/react/skeleton/index.js +1 -12
  1403. package/dist/react/slider/index.js +1 -13
  1404. package/dist/react/spatial-picker/index.d.ts +0 -1
  1405. package/dist/react/spatial-picker/index.js +1 -41
  1406. package/dist/react/status-indicator/index.js +1 -11
  1407. package/dist/react/stepper/index.js +1 -11
  1408. package/dist/react/stepper-step/index.js +1 -18
  1409. package/dist/react/tab/index.js +1 -18
  1410. package/dist/react/tab-panel/index.js +1 -12
  1411. package/dist/react/tabs/index.js +1 -19
  1412. package/dist/react/tag/index.js +1 -18
  1413. package/dist/react/textarea/index.js +1 -16
  1414. package/dist/react/time-average-map/index.js +1 -54
  1415. package/dist/react/time-series/index.d.ts +4 -0
  1416. package/dist/react/time-series/index.js +1 -54
  1417. package/dist/react/toast/index.js +1 -16
  1418. package/dist/react/toggle/index.js +1 -16
  1419. package/dist/react/tooltip/index.js +1 -17
  1420. package/dist/react/variable-combobox/index.js +1 -26
  1421. package/dist/react/variable-keyword-search/index.js +1 -30
  1422. package/dist/services/cmr-variable.service.d.ts +15 -0
  1423. package/dist/services/harmony.service.d.ts +1 -0
  1424. package/dist/terra-ui-components-autoloader.js +1 -42
  1425. package/dist/terra-ui-components.d.ts +1 -1
  1426. package/dist/terra-ui-components.js +1 -448
  1427. package/dist/terra_ui_components-0.0.180-py3-none-any.whl +0 -0
  1428. package/dist/terra_ui_components-0.0.180.tar.gz +0 -0
  1429. package/dist/themes/horizon.css +0 -2
  1430. package/dist/themes/horizon.styles.js +0 -2
  1431. package/dist/types/vue/index.d.ts +246 -221
  1432. package/dist/utilities/animation-registry.js +1 -11
  1433. package/dist/utilities/base-path.js +1 -9
  1434. package/dist/utilities/date.js +1 -13
  1435. package/dist/utilities/debounce.js +1 -17
  1436. package/dist/utilities/environment.js +1 -9
  1437. package/dist/utilities/feature-flags.d.ts +22 -0
  1438. package/dist/utilities/feature-flags.js +1 -0
  1439. package/dist/utilities/feature.d.ts +1 -0
  1440. package/dist/utilities/feature.js +1 -0
  1441. package/dist/utilities/form.js +1 -10
  1442. package/dist/utilities/giovanni.js +1 -7
  1443. package/dist/utilities/harmony.js +1 -11
  1444. package/dist/utilities/icon-library.js +1 -13
  1445. package/dist/utilities/number.js +1 -7
  1446. package/dist/utilities/sort.js +1 -9
  1447. package/dist/vscode.html-custom-data.json +110 -126
  1448. package/dist/web-types.json +290 -301
  1449. package/package.json +8 -8
  1450. package/cdn/chunks/GeoTIFF.JELT3HNY.js +0 -21252
  1451. package/cdn/chunks/chunk.22JAM2GR.js +0 -149
  1452. package/cdn/chunks/chunk.27AZYXPZ.js +0 -117
  1453. package/cdn/chunks/chunk.27TKCFF2.js +0 -610
  1454. package/cdn/chunks/chunk.2AVV335P.js +0 -29
  1455. package/cdn/chunks/chunk.2BVVH35U.js +0 -19
  1456. package/cdn/chunks/chunk.2FMZQ3MM.js +0 -359
  1457. package/cdn/chunks/chunk.2FSXSUSO.js +0 -39
  1458. package/cdn/chunks/chunk.2GHI5NEA.js +0 -287
  1459. package/cdn/chunks/chunk.2HT23ATY.js +0 -662
  1460. package/cdn/chunks/chunk.2JS3DDEI.js +0 -19
  1461. package/cdn/chunks/chunk.2XOZ4RKI.js +0 -19
  1462. package/cdn/chunks/chunk.2Z67IQBD.js +0 -19
  1463. package/cdn/chunks/chunk.32D3TWJQ.js +0 -104
  1464. package/cdn/chunks/chunk.36PBCUIK.js +0 -19
  1465. package/cdn/chunks/chunk.3BT76KBA.js +0 -33
  1466. package/cdn/chunks/chunk.3DI7O3WX.js +0 -123
  1467. package/cdn/chunks/chunk.3DMP7BK5.js +0 -10
  1468. package/cdn/chunks/chunk.3LFKLVCQ.js +0 -16671
  1469. package/cdn/chunks/chunk.3LZWARYL.js +0 -128
  1470. package/cdn/chunks/chunk.3MFQHCTU.js +0 -306
  1471. package/cdn/chunks/chunk.3OEDETZ7.js +0 -29
  1472. package/cdn/chunks/chunk.3PZB6AVW.js +0 -283
  1473. package/cdn/chunks/chunk.3QUK4QBT.js +0 -60
  1474. package/cdn/chunks/chunk.3SIWYPHZ.js +0 -304
  1475. package/cdn/chunks/chunk.3TY6KXKL.js +0 -74
  1476. package/cdn/chunks/chunk.3X2FJVEK.js +0 -99
  1477. package/cdn/chunks/chunk.3YEXAAFK.js +0 -35
  1478. package/cdn/chunks/chunk.3ZQGAH53.js +0 -373
  1479. package/cdn/chunks/chunk.42DMRGGV.js +0 -235
  1480. package/cdn/chunks/chunk.42QHUFLT.js +0 -35
  1481. package/cdn/chunks/chunk.43LTOGUS.js +0 -35
  1482. package/cdn/chunks/chunk.45XFWGEL.js +0 -110
  1483. package/cdn/chunks/chunk.4CONQBMV.js +0 -247
  1484. package/cdn/chunks/chunk.4CYB2GMV.js +0 -27
  1485. package/cdn/chunks/chunk.4EKARCDF.js +0 -1317
  1486. package/cdn/chunks/chunk.4HIHTL3R.js +0 -113
  1487. package/cdn/chunks/chunk.4HZ2S3M3.js +0 -74
  1488. package/cdn/chunks/chunk.4K2NAKDG.js +0 -172
  1489. package/cdn/chunks/chunk.4LU3KPCC.js +0 -99
  1490. package/cdn/chunks/chunk.4MTIWNAT.js +0 -205
  1491. package/cdn/chunks/chunk.4QXCJIOI.js +0 -49
  1492. package/cdn/chunks/chunk.4UL4WO5H.js +0 -146
  1493. package/cdn/chunks/chunk.52HUMX2R.js +0 -19
  1494. package/cdn/chunks/chunk.557CP4PN.js +0 -45
  1495. package/cdn/chunks/chunk.57WCCSRP.js +0 -621
  1496. package/cdn/chunks/chunk.5B6C4AKF.js +0 -454
  1497. package/cdn/chunks/chunk.5F5WT5T7.js +0 -161
  1498. package/cdn/chunks/chunk.5HL6H5BD.js +0 -49
  1499. package/cdn/chunks/chunk.5LEWFPJT.js +0 -19
  1500. package/cdn/chunks/chunk.5NHAWGVC.js +0 -201
  1501. package/cdn/chunks/chunk.5NHXMCXD.js +0 -348
  1502. package/cdn/chunks/chunk.5PG3ZRA7.js +0 -83
  1503. package/cdn/chunks/chunk.5T5GKZIL.js +0 -19
  1504. package/cdn/chunks/chunk.5UHQKJDB.js +0 -86
  1505. package/cdn/chunks/chunk.5WMSKURU.js +0 -43
  1506. package/cdn/chunks/chunk.5ZYF77IP.js +0 -19
  1507. package/cdn/chunks/chunk.66HZOZJX.js +0 -668
  1508. package/cdn/chunks/chunk.67BXRY2G.js +0 -19
  1509. package/cdn/chunks/chunk.6F6BC7HB.js +0 -83
  1510. package/cdn/chunks/chunk.6FRDJUTC.js +0 -1025
  1511. package/cdn/chunks/chunk.6PDKWTOW.js +0 -279
  1512. package/cdn/chunks/chunk.6VLMX7GJ.js +0 -368
  1513. package/cdn/chunks/chunk.74QD2Y2N.js +0 -493
  1514. package/cdn/chunks/chunk.7B6SOOLO.js +0 -313
  1515. package/cdn/chunks/chunk.7EVJ2RAF.js +0 -1225
  1516. package/cdn/chunks/chunk.7EYXDHB7.js +0 -158
  1517. package/cdn/chunks/chunk.7KQFIUV4.js +0 -231
  1518. package/cdn/chunks/chunk.7LYB4PLQ.js +0 -29
  1519. package/cdn/chunks/chunk.7P5RC3RV.js +0 -94
  1520. package/cdn/chunks/chunk.7YO6CQJA.js +0 -19
  1521. package/cdn/chunks/chunk.A3CGO5AH.js +0 -19
  1522. package/cdn/chunks/chunk.A6DRN2V3.js +0 -29
  1523. package/cdn/chunks/chunk.AGEVURBT.js +0 -29
  1524. package/cdn/chunks/chunk.AH6W6EGS.js +0 -77
  1525. package/cdn/chunks/chunk.AHVOJHAZ.js +0 -132
  1526. package/cdn/chunks/chunk.AKJBHBED.js +0 -4179
  1527. package/cdn/chunks/chunk.AMHZJEIF.js +0 -106
  1528. package/cdn/chunks/chunk.B3HLZTDJ.js +0 -101
  1529. package/cdn/chunks/chunk.B5ETCKLX.js +0 -188
  1530. package/cdn/chunks/chunk.BD7S26QN.js +0 -19
  1531. package/cdn/chunks/chunk.BISXE6ZN.js +0 -538
  1532. package/cdn/chunks/chunk.BITC6KE3.js +0 -19
  1533. package/cdn/chunks/chunk.BITUWHVL.js +0 -54
  1534. package/cdn/chunks/chunk.BJ3E7ERE.js +0 -288
  1535. package/cdn/chunks/chunk.BNIAPFYJ.js +0 -278
  1536. package/cdn/chunks/chunk.BQGE3JSB.js +0 -29
  1537. package/cdn/chunks/chunk.BQSYX5RT.js +0 -19
  1538. package/cdn/chunks/chunk.BVNU2X7N.js +0 -99
  1539. package/cdn/chunks/chunk.BZNRBGO6.js +0 -34
  1540. package/cdn/chunks/chunk.CBCT272T.js +0 -29
  1541. package/cdn/chunks/chunk.CEQIBUWO.js +0 -29
  1542. package/cdn/chunks/chunk.CEY53EQU.js +0 -259
  1543. package/cdn/chunks/chunk.CL7GJUFT.js +0 -19
  1544. package/cdn/chunks/chunk.CLAAYWZA.js +0 -51
  1545. package/cdn/chunks/chunk.CMEFD5PL.js +0 -60
  1546. package/cdn/chunks/chunk.CQMD53WQ.js +0 -19
  1547. package/cdn/chunks/chunk.CRAEGWNP.js +0 -99
  1548. package/cdn/chunks/chunk.CVEPLMA2.js +0 -19
  1549. package/cdn/chunks/chunk.CWE7S2N2.js +0 -103
  1550. package/cdn/chunks/chunk.CZA6CSBG.js +0 -2416
  1551. package/cdn/chunks/chunk.CZW6FRUZ.js +0 -19
  1552. package/cdn/chunks/chunk.D2NLVIWA.js +0 -47
  1553. package/cdn/chunks/chunk.DEXHHPVY.js +0 -29
  1554. package/cdn/chunks/chunk.DFBLDLFE.js +0 -25
  1555. package/cdn/chunks/chunk.DKCGE7UN.js +0 -749
  1556. package/cdn/chunks/chunk.DLH646O5.js +0 -156
  1557. package/cdn/chunks/chunk.DLQNZ2FX.js +0 -201
  1558. package/cdn/chunks/chunk.DNSNZJ7C.js +0 -239
  1559. package/cdn/chunks/chunk.DS3U5WCV.js +0 -117
  1560. package/cdn/chunks/chunk.E2NDXN6R.js +0 -302
  1561. package/cdn/chunks/chunk.E3OTUJQM.js +0 -29
  1562. package/cdn/chunks/chunk.E623X4NU.js +0 -19
  1563. package/cdn/chunks/chunk.E75H6GHG.js +0 -29
  1564. package/cdn/chunks/chunk.EFYZYWRI.js +0 -19
  1565. package/cdn/chunks/chunk.EN5KPTOG.js +0 -68
  1566. package/cdn/chunks/chunk.EVAZHYFT.js +0 -293
  1567. package/cdn/chunks/chunk.EZVBUHLK.js +0 -19
  1568. package/cdn/chunks/chunk.F5PSG3XO.js +0 -19
  1569. package/cdn/chunks/chunk.F73O5LKK.js +0 -134
  1570. package/cdn/chunks/chunk.FCQ7WBH3.js +0 -230
  1571. package/cdn/chunks/chunk.FDPACZVB.js +0 -1966
  1572. package/cdn/chunks/chunk.FFMGGA5O.js +0 -19
  1573. package/cdn/chunks/chunk.FFPQG36A.js +0 -346
  1574. package/cdn/chunks/chunk.FLNH3DEZ.js +0 -539
  1575. package/cdn/chunks/chunk.FOS4VEOT.js +0 -29
  1576. package/cdn/chunks/chunk.FQVBY6CM.js +0 -214
  1577. package/cdn/chunks/chunk.FYVCEOIF.js +0 -34
  1578. package/cdn/chunks/chunk.G6IKI6DD.js +0 -36
  1579. package/cdn/chunks/chunk.GALT5XHF.js +0 -139
  1580. package/cdn/chunks/chunk.GB2X43ZS.js +0 -19
  1581. package/cdn/chunks/chunk.GC6ROUDW.js +0 -109
  1582. package/cdn/chunks/chunk.GI23DNYB.js +0 -32
  1583. package/cdn/chunks/chunk.GIFC7EIO.js +0 -29
  1584. package/cdn/chunks/chunk.GIPVJRIS.js +0 -19
  1585. package/cdn/chunks/chunk.GNFKFHVB.js +0 -67
  1586. package/cdn/chunks/chunk.GQ2BIBBY.js +0 -117
  1587. package/cdn/chunks/chunk.H57JUKFF.js +0 -33
  1588. package/cdn/chunks/chunk.H6IIPI2C.js +0 -108
  1589. package/cdn/chunks/chunk.H7INCL32.js +0 -32
  1590. package/cdn/chunks/chunk.HBXT6FV6.js +0 -19
  1591. package/cdn/chunks/chunk.HCVVVZ5J.js +0 -4968
  1592. package/cdn/chunks/chunk.HGDCOEDY.js +0 -373
  1593. package/cdn/chunks/chunk.HGNDNCT6.js +0 -165
  1594. package/cdn/chunks/chunk.HINOHSWI.js +0 -19
  1595. package/cdn/chunks/chunk.HL43BUGA.js +0 -477
  1596. package/cdn/chunks/chunk.HLOPKNNF.js +0 -46
  1597. package/cdn/chunks/chunk.HOITYWZW.js +0 -81
  1598. package/cdn/chunks/chunk.HQRDHH65.js +0 -35
  1599. package/cdn/chunks/chunk.I373DBBC.js +0 -88164
  1600. package/cdn/chunks/chunk.I6CIJ3AX.js +0 -32
  1601. package/cdn/chunks/chunk.IKORGFE7.js +0 -19
  1602. package/cdn/chunks/chunk.IMIYTEBX.js +0 -29
  1603. package/cdn/chunks/chunk.IMPZQNKC.js +0 -19
  1604. package/cdn/chunks/chunk.IPDHWZVM.js +0 -357
  1605. package/cdn/chunks/chunk.ITCNMUXT.js +0 -56
  1606. package/cdn/chunks/chunk.IZ57YTCD.js +0 -445
  1607. package/cdn/chunks/chunk.J4Y55YWM.js +0 -32
  1608. package/cdn/chunks/chunk.J7I3DOXG.js +0 -272
  1609. package/cdn/chunks/chunk.JCWMB3DZ.js +0 -19
  1610. package/cdn/chunks/chunk.JDBB7GR4.js +0 -161
  1611. package/cdn/chunks/chunk.JK6H3P3F.js +0 -29
  1612. package/cdn/chunks/chunk.JLIAPPXF.js +0 -43
  1613. package/cdn/chunks/chunk.JNW7NR6G.js +0 -19
  1614. package/cdn/chunks/chunk.JVQAVHRB.js +0 -83
  1615. package/cdn/chunks/chunk.K22S5U4I.js +0 -100
  1616. package/cdn/chunks/chunk.K3YMC4GK.js +0 -19
  1617. package/cdn/chunks/chunk.K62KPFWP.js +0 -19
  1618. package/cdn/chunks/chunk.K6SKQZRX.js +0 -157
  1619. package/cdn/chunks/chunk.KCZYTXMI.js +0 -39
  1620. package/cdn/chunks/chunk.KECYNSJO.js +0 -32
  1621. package/cdn/chunks/chunk.KELDIHN7.js +0 -75
  1622. package/cdn/chunks/chunk.KGQXF5BH.js +0 -29
  1623. package/cdn/chunks/chunk.KNV6LK2U.js +0 -19
  1624. package/cdn/chunks/chunk.KRXVXNX6.js +0 -19
  1625. package/cdn/chunks/chunk.KS33TJQ3.js +0 -29
  1626. package/cdn/chunks/chunk.KVRPAPVE.js +0 -36
  1627. package/cdn/chunks/chunk.L5Y4JVOE.js +0 -31
  1628. package/cdn/chunks/chunk.LC2QEKC7.js +0 -19
  1629. package/cdn/chunks/chunk.LIKPLLCC.js +0 -107
  1630. package/cdn/chunks/chunk.LJAO2OBI.js +0 -29
  1631. package/cdn/chunks/chunk.LNAXIKVI.js +0 -136
  1632. package/cdn/chunks/chunk.LQISJ4XG.js +0 -155
  1633. package/cdn/chunks/chunk.LYKRCKL2.js +0 -19
  1634. package/cdn/chunks/chunk.M3TUVN5Y.js +0 -238
  1635. package/cdn/chunks/chunk.M5B656LH.js +0 -32
  1636. package/cdn/chunks/chunk.MHFJ4UCV.js +0 -33
  1637. package/cdn/chunks/chunk.MLHB7NJZ.js +0 -34
  1638. package/cdn/chunks/chunk.MMRB62WK.js +0 -33
  1639. package/cdn/chunks/chunk.MXULQKRE.js +0 -19
  1640. package/cdn/chunks/chunk.MZBEU2IT.js +0 -54
  1641. package/cdn/chunks/chunk.N73P56F2.js +0 -30
  1642. package/cdn/chunks/chunk.NDXQQSOT.js +0 -33
  1643. package/cdn/chunks/chunk.NEKQDM7X.js +0 -372
  1644. package/cdn/chunks/chunk.NFOKAXEJ.js +0 -37
  1645. package/cdn/chunks/chunk.NG5SRO5R.js +0 -19
  1646. package/cdn/chunks/chunk.NN4NBQQB.js +0 -121
  1647. package/cdn/chunks/chunk.NQ5LXTKN.js +0 -29
  1648. package/cdn/chunks/chunk.NTP6MMEK.js +0 -19
  1649. package/cdn/chunks/chunk.NU3XX242.js +0 -93
  1650. package/cdn/chunks/chunk.NWFIMN2X.js +0 -19
  1651. package/cdn/chunks/chunk.O5HYKIYC.js +0 -19
  1652. package/cdn/chunks/chunk.O5KMVJI7.js +0 -616
  1653. package/cdn/chunks/chunk.OI3ZA2XB.js +0 -29
  1654. package/cdn/chunks/chunk.OMTCS2GC.js +0 -315
  1655. package/cdn/chunks/chunk.OODBPQ4B.js +0 -32
  1656. package/cdn/chunks/chunk.OYZZMKEU.js +0 -435
  1657. package/cdn/chunks/chunk.OZSRONYH.js +0 -37
  1658. package/cdn/chunks/chunk.OZZJMMZT.js +0 -19
  1659. package/cdn/chunks/chunk.P2C4J2CO.js +0 -189
  1660. package/cdn/chunks/chunk.P37E4RLB.js +0 -26
  1661. package/cdn/chunks/chunk.P3JNZDXP.js +0 -150
  1662. package/cdn/chunks/chunk.P3OLQVQM.js +0 -63
  1663. package/cdn/chunks/chunk.P4OWV3H2.js +0 -412
  1664. package/cdn/chunks/chunk.PBKMNUYF.js +0 -270
  1665. package/cdn/chunks/chunk.PD3MHQ2K.js +0 -19
  1666. package/cdn/chunks/chunk.PJUZIIXX.js +0 -99
  1667. package/cdn/chunks/chunk.PL2AO7PI.js +0 -286
  1668. package/cdn/chunks/chunk.PZ2ODGEF.js +0 -36
  1669. package/cdn/chunks/chunk.Q67OTTO2.js +0 -145
  1670. package/cdn/chunks/chunk.Q6M5ZXUN.js +0 -151
  1671. package/cdn/chunks/chunk.QCB2B3CT.js +0 -29
  1672. package/cdn/chunks/chunk.QHR2O7AV.js +0 -29
  1673. package/cdn/chunks/chunk.QKMZVEVH.js +0 -277
  1674. package/cdn/chunks/chunk.QLVO7A53.js +0 -29
  1675. package/cdn/chunks/chunk.QPEDBBDQ.js +0 -51
  1676. package/cdn/chunks/chunk.QPHDIORI.js +0 -161
  1677. package/cdn/chunks/chunk.QPIWU7ZX.js +0 -276
  1678. package/cdn/chunks/chunk.QQFBLEJD.js +0 -32
  1679. package/cdn/chunks/chunk.QSDOLP4K.js +0 -47
  1680. package/cdn/chunks/chunk.QUBV2SRA.js +0 -338
  1681. package/cdn/chunks/chunk.QVP4KBG3.js +0 -127
  1682. package/cdn/chunks/chunk.R3O7RMJA.js +0 -19
  1683. package/cdn/chunks/chunk.R6Z5TIFB.js +0 -78
  1684. package/cdn/chunks/chunk.RDKNH7AB.js +0 -41
  1685. package/cdn/chunks/chunk.RLFRG4VE.js +0 -233
  1686. package/cdn/chunks/chunk.RMGUKJMN.js +0 -138
  1687. package/cdn/chunks/chunk.RRMWEZNW.js +0 -33
  1688. package/cdn/chunks/chunk.RRPJMP3C.js +0 -35
  1689. package/cdn/chunks/chunk.RRY4ZOQ3.js +0 -36
  1690. package/cdn/chunks/chunk.RVY5D2X3.js +0 -35
  1691. package/cdn/chunks/chunk.RYEHJXOO.js +0 -349
  1692. package/cdn/chunks/chunk.RYGC63YH.js +0 -19
  1693. package/cdn/chunks/chunk.RZZHOKXL.js +0 -230
  1694. package/cdn/chunks/chunk.SCR3ZWIR.js +0 -390
  1695. package/cdn/chunks/chunk.SDERXP3T.js +0 -22
  1696. package/cdn/chunks/chunk.SGQ3SAWT.js +0 -62
  1697. package/cdn/chunks/chunk.SGZ73PFJ.js +0 -32
  1698. package/cdn/chunks/chunk.SJO2RKAL.js +0 -30
  1699. package/cdn/chunks/chunk.SKS4DYOE.js +0 -19
  1700. package/cdn/chunks/chunk.SLPZU6ID.js +0 -121
  1701. package/cdn/chunks/chunk.SQ4FFTEO.js +0 -81
  1702. package/cdn/chunks/chunk.STI7JX26.js +0 -42
  1703. package/cdn/chunks/chunk.STMBSAF5.js +0 -26
  1704. package/cdn/chunks/chunk.STZHCX2L.js +0 -19
  1705. package/cdn/chunks/chunk.T2WQSSCT.js +0 -151
  1706. package/cdn/chunks/chunk.T7SV2UAX.js +0 -1830
  1707. package/cdn/chunks/chunk.T7WLLNRR.js +0 -27
  1708. package/cdn/chunks/chunk.TF5WXJIH.js +0 -791
  1709. package/cdn/chunks/chunk.THNEGED3.js +0 -19
  1710. package/cdn/chunks/chunk.THQBLNQL.js +0 -224
  1711. package/cdn/chunks/chunk.TJEFTJAX.js +0 -19
  1712. package/cdn/chunks/chunk.TJQK5YAU.js +0 -19
  1713. package/cdn/chunks/chunk.TLGXE7WV.js +0 -52
  1714. package/cdn/chunks/chunk.TPCMTIU4.js +0 -29
  1715. package/cdn/chunks/chunk.TRUBFWMF.js +0 -92
  1716. package/cdn/chunks/chunk.TSLZA2FP.js +0 -79
  1717. package/cdn/chunks/chunk.TVDMMEGB.js +0 -32
  1718. package/cdn/chunks/chunk.TZZ5NI6I.js +0 -19
  1719. package/cdn/chunks/chunk.U6QYVRXP.js +0 -29
  1720. package/cdn/chunks/chunk.UEYJIQSM.js +0 -264
  1721. package/cdn/chunks/chunk.UIC2Q62Z.js +0 -134
  1722. package/cdn/chunks/chunk.UJVF7AJF.js +0 -32
  1723. package/cdn/chunks/chunk.UPT6DHPH.js +0 -77
  1724. package/cdn/chunks/chunk.UPVJ52AW.js +0 -19
  1725. package/cdn/chunks/chunk.UTEDJXOP.js +0 -82
  1726. package/cdn/chunks/chunk.UTR2L5L3.js +0 -190
  1727. package/cdn/chunks/chunk.UWJWL6GC.js +0 -32
  1728. package/cdn/chunks/chunk.UZC6GLZV.js +0 -19
  1729. package/cdn/chunks/chunk.V6GKBS2N.js +0 -138
  1730. package/cdn/chunks/chunk.VA7AQEP7.js +0 -54
  1731. package/cdn/chunks/chunk.VBKKALHR.js +0 -37
  1732. package/cdn/chunks/chunk.VCESNCXS.js +0 -599
  1733. package/cdn/chunks/chunk.VHQQMEMZ.js +0 -19
  1734. package/cdn/chunks/chunk.VKXXCCRB.js +0 -154
  1735. package/cdn/chunks/chunk.VUVF3KED.js +0 -19
  1736. package/cdn/chunks/chunk.VVOORPYD.js +0 -82
  1737. package/cdn/chunks/chunk.VXZOUP3Y.js +0 -29
  1738. package/cdn/chunks/chunk.VYXINK3L.js +0 -524
  1739. package/cdn/chunks/chunk.WCQGA3HK.js +0 -19
  1740. package/cdn/chunks/chunk.WE52YORO.js +0 -1699
  1741. package/cdn/chunks/chunk.WHJICWSG.js +0 -2332
  1742. package/cdn/chunks/chunk.WIVXANPA.js +0 -1056
  1743. package/cdn/chunks/chunk.WMA5MWN7.js +0 -19
  1744. package/cdn/chunks/chunk.WQPCK3PB.js +0 -126
  1745. package/cdn/chunks/chunk.WVVQ6RKA.js +0 -17
  1746. package/cdn/chunks/chunk.WXP5OUQO.js +0 -696
  1747. package/cdn/chunks/chunk.WY4WKU7H.js +0 -19
  1748. package/cdn/chunks/chunk.WZSGQVJ3.js +0 -110
  1749. package/cdn/chunks/chunk.X2U4SIZ4.js +0 -19
  1750. package/cdn/chunks/chunk.X4WA5YB7.js +0 -71
  1751. package/cdn/chunks/chunk.X57DG2OV.js +0 -55346
  1752. package/cdn/chunks/chunk.X77H5U32.js +0 -304
  1753. package/cdn/chunks/chunk.XCB7WJR3.js +0 -282
  1754. package/cdn/chunks/chunk.XHVXO6NI.js +0 -51
  1755. package/cdn/chunks/chunk.XI7P34NI.js +0 -326
  1756. package/cdn/chunks/chunk.XICNAH3B.js +0 -234
  1757. package/cdn/chunks/chunk.XOUBBWXK.js +0 -29
  1758. package/cdn/chunks/chunk.XPHN3U7W.js +0 -19
  1759. package/cdn/chunks/chunk.XS4SYR6U.js +0 -653
  1760. package/cdn/chunks/chunk.XTQVIF4W.js +0 -93
  1761. package/cdn/chunks/chunk.XUTNRU3T.js +0 -29
  1762. package/cdn/chunks/chunk.XZVFFQYE.js +0 -68
  1763. package/cdn/chunks/chunk.Y24FPHA6.js +0 -48
  1764. package/cdn/chunks/chunk.YEINMQD6.js +0 -74
  1765. package/cdn/chunks/chunk.YI4UNXI7.js +0 -19
  1766. package/cdn/chunks/chunk.YKIPJHTA.js +0 -29
  1767. package/cdn/chunks/chunk.YQ22R3TL.js +0 -32
  1768. package/cdn/chunks/chunk.YRHVJ4VI.js +0 -33
  1769. package/cdn/chunks/chunk.YSWPBMTM.js +0 -19
  1770. package/cdn/chunks/chunk.YTA66SS5.js +0 -30
  1771. package/cdn/chunks/chunk.YTY4DQKX.js +0 -72
  1772. package/cdn/chunks/chunk.ZALYW5YQ.js +0 -33863
  1773. package/cdn/chunks/chunk.ZAR54NPI.js +0 -135
  1774. package/cdn/chunks/chunk.ZDCYL2TJ.js +0 -2262
  1775. package/cdn/chunks/chunk.ZEH7NHP6.js +0 -29
  1776. package/cdn/chunks/chunk.ZFEQ76LI.js +0 -904
  1777. package/cdn/chunks/chunk.ZGYVCQH3.js +0 -32
  1778. package/cdn/chunks/chunk.ZOHWWM5H.js +0 -32
  1779. package/cdn/chunks/chunk.ZOPDDQPM.js +0 -19
  1780. package/cdn/chunks/chunk.ZU4IFY53.js +0 -29
  1781. package/cdn/chunks/chunk.ZVQIG4FI.js +0 -10729
  1782. package/cdn/chunks/chunk.ZZFZH7YX.js +0 -74
  1783. package/cdn/chunks/colormap.PSXLZVCC.js +0 -181
  1784. package/cdn/chunks/decoder.OWCCL5B2.js +0 -26
  1785. package/cdn/chunks/deflate.42Z3TDWB.js +0 -24
  1786. package/cdn/chunks/jpeg.JA7FYY66.js +0 -851
  1787. package/cdn/chunks/lerc.Z34XHY2I.js +0 -2092
  1788. package/cdn/chunks/lzw.MELZRR6C.js +0 -137
  1789. package/cdn/chunks/packbits.R5GFFSWX.js +0 -39
  1790. package/cdn/chunks/raw.MV3ZALRS.js +0 -21
  1791. package/cdn/chunks/webimage.AUQDYSFO.js +0 -41
  1792. package/cdn/components/banner/banner.component.d.ts +0 -45
  1793. package/cdn/components/banner/banner.component.js +0 -17
  1794. package/cdn/components/banner/banner.d.ts +0 -8
  1795. package/cdn/components/banner/banner.js +0 -18
  1796. package/cdn/components/banner/banner.styles.js +0 -9
  1797. package/cdn/components/data-access/data-access.controller.d.ts +0 -52
  1798. package/cdn/components/data-access/data-access.controller.js +0 -13
  1799. package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +0 -25
  1800. package/cdn/components/data-subsetter/data-subsetter.controller.js +0 -17
  1801. package/cdn/components/map/leaflet-draw.styles.js +0 -9
  1802. package/cdn/components/map/leaflet-utils.d.ts +0 -45
  1803. package/cdn/components/map/leaflet-utils.js +0 -13
  1804. package/cdn/components/map/leaflet.styles.d.ts +0 -2
  1805. package/cdn/components/map/leaflet.styles.js +0 -9
  1806. package/cdn/react/banner/index.d.ts +0 -37
  1807. package/cdn/react/banner/index.js +0 -18
  1808. package/cdn/utilities/mimetypes.d.ts +0 -2
  1809. package/cdn/utilities/mimetypes.js +0 -9
  1810. package/dist/chunks/chunk.23LMPXPJ.js +0 -214
  1811. package/dist/chunks/chunk.26ECQZFX.js +0 -21
  1812. package/dist/chunks/chunk.2EYRPHGL.js +0 -10
  1813. package/dist/chunks/chunk.2L3532KH.js +0 -24
  1814. package/dist/chunks/chunk.2OEP2XVV.js +0 -11
  1815. package/dist/chunks/chunk.2OZDKPBL.js +0 -21
  1816. package/dist/chunks/chunk.2PCYAFDR.js +0 -1008
  1817. package/dist/chunks/chunk.2SQ6KLPN.js +0 -1209
  1818. package/dist/chunks/chunk.2UG4WDJO.js +0 -27
  1819. package/dist/chunks/chunk.37I6WAMP.js +0 -770
  1820. package/dist/chunks/chunk.3E6XLFHJ.js +0 -31
  1821. package/dist/chunks/chunk.3FT46B5J.js +0 -92
  1822. package/dist/chunks/chunk.3K7B4VM7.js +0 -245
  1823. package/dist/chunks/chunk.3NOU5S4K.js +0 -91
  1824. package/dist/chunks/chunk.3SAYRVCE.js +0 -21
  1825. package/dist/chunks/chunk.3WCANEX4.js +0 -11
  1826. package/dist/chunks/chunk.436WESMY.js +0 -592
  1827. package/dist/chunks/chunk.445A7YVG.js +0 -271
  1828. package/dist/chunks/chunk.47J3FSMM.js +0 -280
  1829. package/dist/chunks/chunk.4BFY5C7Z.js +0 -11
  1830. package/dist/chunks/chunk.4BRHJBL7.js +0 -362
  1831. package/dist/chunks/chunk.4EAOYZ4Y.js +0 -90
  1832. package/dist/chunks/chunk.4EPS3DTP.js +0 -11
  1833. package/dist/chunks/chunk.4JCMVK2I.js +0 -26
  1834. package/dist/chunks/chunk.4L24AT4E.js +0 -21
  1835. package/dist/chunks/chunk.4MDKLIS6.js +0 -190
  1836. package/dist/chunks/chunk.546LT6MS.js +0 -264
  1837. package/dist/chunks/chunk.5CAKOM7D.js +0 -153
  1838. package/dist/chunks/chunk.5CEVBUAV.js +0 -2319
  1839. package/dist/chunks/chunk.5HKA7CP4.js +0 -11
  1840. package/dist/chunks/chunk.5UXU74DM.js +0 -11
  1841. package/dist/chunks/chunk.6356MHU2.js +0 -11
  1842. package/dist/chunks/chunk.66E73JL3.js +0 -11
  1843. package/dist/chunks/chunk.6AVQFT4P.js +0 -48
  1844. package/dist/chunks/chunk.6BLDYUYE.js +0 -11
  1845. package/dist/chunks/chunk.6CAQCKUP.js +0 -24
  1846. package/dist/chunks/chunk.6CIABMY5.js +0 -11
  1847. package/dist/chunks/chunk.6D2G5ALH.js +0 -247
  1848. package/dist/chunks/chunk.6GVJNAWC.js +0 -74
  1849. package/dist/chunks/chunk.6IEJIHV7.js +0 -33
  1850. package/dist/chunks/chunk.6NI3YPRS.js +0 -150
  1851. package/dist/chunks/chunk.6OZMYR4M.js +0 -355
  1852. package/dist/chunks/chunk.6PTW3KAY.js +0 -22
  1853. package/dist/chunks/chunk.6RW5OQCP.js +0 -108
  1854. package/dist/chunks/chunk.73KRYIWH.js +0 -11
  1855. package/dist/chunks/chunk.75ZYV4D5.js +0 -21
  1856. package/dist/chunks/chunk.7AEQ2LX4.js +0 -335
  1857. package/dist/chunks/chunk.7B6X7DHL.js +0 -295
  1858. package/dist/chunks/chunk.7C67ZMHT.js +0 -24
  1859. package/dist/chunks/chunk.7CMA526Q.js +0 -14
  1860. package/dist/chunks/chunk.7D4GRC5S.js +0 -43
  1861. package/dist/chunks/chunk.7EUHCWQK.js +0 -21
  1862. package/dist/chunks/chunk.7HJLROM4.js +0 -11
  1863. package/dist/chunks/chunk.7PHX65NG.js +0 -609
  1864. package/dist/chunks/chunk.7SDWLS73.js +0 -11
  1865. package/dist/chunks/chunk.7YQPXOC7.js +0 -48
  1866. package/dist/chunks/chunk.7YRJKZ6R.js +0 -63
  1867. package/dist/chunks/chunk.7YSNIUE2.js +0 -11
  1868. package/dist/chunks/chunk.A3DB425J.js +0 -67
  1869. package/dist/chunks/chunk.AA3RARYK.js +0 -11
  1870. package/dist/chunks/chunk.AAZ2T5I4.js +0 -11
  1871. package/dist/chunks/chunk.ADTHXB2Z.js +0 -85
  1872. package/dist/chunks/chunk.AGQWOIRU.js +0 -11
  1873. package/dist/chunks/chunk.AGVSZX3L.js +0 -11
  1874. package/dist/chunks/chunk.ARIV4CPX.js +0 -24
  1875. package/dist/chunks/chunk.AU4PC3WS.js +0 -21
  1876. package/dist/chunks/chunk.AUKJJNAV.js +0 -70
  1877. package/dist/chunks/chunk.AVJOOXXQ.js +0 -25
  1878. package/dist/chunks/chunk.AZ6MIDIS.js +0 -272
  1879. package/dist/chunks/chunk.AZHRXJ6O.js +0 -101
  1880. package/dist/chunks/chunk.B4FARRKK.js +0 -11
  1881. package/dist/chunks/chunk.BKD5GVCC.js +0 -28
  1882. package/dist/chunks/chunk.BNQNGJ63.js +0 -277
  1883. package/dist/chunks/chunk.BNWT5XOA.js +0 -11
  1884. package/dist/chunks/chunk.BROIAC6I.js +0 -327
  1885. package/dist/chunks/chunk.BTCCRLW3.js +0 -72
  1886. package/dist/chunks/chunk.BTZTI4XJ.js +0 -58
  1887. package/dist/chunks/chunk.C3ZW37SO.js +0 -80
  1888. package/dist/chunks/chunk.C56TUFG2.js +0 -11
  1889. package/dist/chunks/chunk.C7WBCFZF.js +0 -11
  1890. package/dist/chunks/chunk.CJAPGH2L.js +0 -140
  1891. package/dist/chunks/chunk.CLALHUIJ.js +0 -28
  1892. package/dist/chunks/chunk.COKWU5CH.js +0 -220
  1893. package/dist/chunks/chunk.CPN76CAR.js +0 -11
  1894. package/dist/chunks/chunk.CT3D4NYC.js +0 -11
  1895. package/dist/chunks/chunk.CZCYUSJE.js +0 -21
  1896. package/dist/chunks/chunk.D3DPGMVW.js +0 -222
  1897. package/dist/chunks/chunk.D74V2Y4N.js +0 -203
  1898. package/dist/chunks/chunk.DAVAGDVN.js +0 -11
  1899. package/dist/chunks/chunk.DHM36JBP.js +0 -259
  1900. package/dist/chunks/chunk.DVKVBXHC.js +0 -106
  1901. package/dist/chunks/chunk.EA655PLI.js +0 -48
  1902. package/dist/chunks/chunk.EDBRDLAQ.js +0 -21
  1903. package/dist/chunks/chunk.EIZ2WUAZ.js +0 -11
  1904. package/dist/chunks/chunk.EKU6JNBY.js +0 -11
  1905. package/dist/chunks/chunk.EOHFT652.js +0 -21
  1906. package/dist/chunks/chunk.EREJTHM4.js +0 -66
  1907. package/dist/chunks/chunk.ESNQNQUJ.js +0 -150
  1908. package/dist/chunks/chunk.ETGKMYPQ.js +0 -64
  1909. package/dist/chunks/chunk.ETNOCBXV.js +0 -259
  1910. package/dist/chunks/chunk.F3KBUEPT.js +0 -10
  1911. package/dist/chunks/chunk.F4BY2ABV.js +0 -99
  1912. package/dist/chunks/chunk.FDIMGAJI.js +0 -10
  1913. package/dist/chunks/chunk.FKON3QJJ.js +0 -117
  1914. package/dist/chunks/chunk.FO5QTEF6.js +0 -83
  1915. package/dist/chunks/chunk.FQ2OQVX6.js +0 -26
  1916. package/dist/chunks/chunk.FQFJCEW7.js +0 -402
  1917. package/dist/chunks/chunk.FTSD7MDF.js +0 -75
  1918. package/dist/chunks/chunk.FUU57PWY.js +0 -36
  1919. package/dist/chunks/chunk.FWIUL463.js +0 -143
  1920. package/dist/chunks/chunk.FXTZ7FHL.js +0 -21
  1921. package/dist/chunks/chunk.G2SLMYNZ.js +0 -1127
  1922. package/dist/chunks/chunk.G4AEZRDP.js +0 -41
  1923. package/dist/chunks/chunk.GF5IAPOY.js +0 -265
  1924. package/dist/chunks/chunk.GKQAPUQ2.js +0 -21
  1925. package/dist/chunks/chunk.GLYX6PG2.js +0 -22
  1926. package/dist/chunks/chunk.GMHCSLEL.js +0 -24
  1927. package/dist/chunks/chunk.GV47GIPP.js +0 -61
  1928. package/dist/chunks/chunk.GWPR4BJA.js +0 -124
  1929. package/dist/chunks/chunk.GYKLIVKP.js +0 -21
  1930. package/dist/chunks/chunk.GZ4HOM2F.js +0 -43
  1931. package/dist/chunks/chunk.H2JZ7STG.js +0 -21
  1932. package/dist/chunks/chunk.H2OAHZM7.js +0 -27
  1933. package/dist/chunks/chunk.H4PHZP66.js +0 -91
  1934. package/dist/chunks/chunk.H5CDOEIC.js +0 -11
  1935. package/dist/chunks/chunk.HCC3SGE2.js +0 -219
  1936. package/dist/chunks/chunk.HG54HSQX.js +0 -581
  1937. package/dist/chunks/chunk.HGLI6LJN.js +0 -20
  1938. package/dist/chunks/chunk.HHPZ7XOA.js +0 -21
  1939. package/dist/chunks/chunk.HIAQCSIH.js +0 -25
  1940. package/dist/chunks/chunk.HIJ7YLQN.js +0 -11
  1941. package/dist/chunks/chunk.HLFWOJ7D.js +0 -443
  1942. package/dist/chunks/chunk.HLZSPJVC.js +0 -67
  1943. package/dist/chunks/chunk.HNQMK3PU.js +0 -685
  1944. package/dist/chunks/chunk.HOSAIEGB.js +0 -357
  1945. package/dist/chunks/chunk.HTG6S7JP.js +0 -345
  1946. package/dist/chunks/chunk.HTMQKXQS.js +0 -230
  1947. package/dist/chunks/chunk.I2OGX6YJ.js +0 -434
  1948. package/dist/chunks/chunk.ICJLWHNZ.js +0 -11
  1949. package/dist/chunks/chunk.IGEIUBF3.js +0 -11
  1950. package/dist/chunks/chunk.IKRCBUCO.js +0 -29
  1951. package/dist/chunks/chunk.INXE5RBS.js +0 -70
  1952. package/dist/chunks/chunk.IQYKE5EC.js +0 -70
  1953. package/dist/chunks/chunk.J2DFA4AS.js +0 -180
  1954. package/dist/chunks/chunk.J5LLBYXG.js +0 -112
  1955. package/dist/chunks/chunk.JB5255IQ.js +0 -298
  1956. package/dist/chunks/chunk.JBQVW4OZ.js +0 -21
  1957. package/dist/chunks/chunk.JS3NLOAP.js +0 -21
  1958. package/dist/chunks/chunk.JYANJSE7.js +0 -97
  1959. package/dist/chunks/chunk.JYAY276T.js +0 -252
  1960. package/dist/chunks/chunk.JYKXSRHP.js +0 -266
  1961. package/dist/chunks/chunk.K2FV6DFO.js +0 -21
  1962. package/dist/chunks/chunk.K5TY6PYA.js +0 -180
  1963. package/dist/chunks/chunk.KE3HD5BU.js +0 -24
  1964. package/dist/chunks/chunk.KKORT3I6.js +0 -11
  1965. package/dist/chunks/chunk.KPP2DAGE.js +0 -11
  1966. package/dist/chunks/chunk.KQAAZMLR.js +0 -27
  1967. package/dist/chunks/chunk.KT52MHEF.js +0 -320
  1968. package/dist/chunks/chunk.KUSRVQBO.js +0 -20
  1969. package/dist/chunks/chunk.L2VAWNDS.js +0 -844
  1970. package/dist/chunks/chunk.L4QGQTCF.js +0 -11
  1971. package/dist/chunks/chunk.L63WM7I3.js +0 -65
  1972. package/dist/chunks/chunk.LBWTXVIW.js +0 -21
  1973. package/dist/chunks/chunk.LCV6WZ5X.js +0 -17
  1974. package/dist/chunks/chunk.LH3ZIESF.js +0 -11
  1975. package/dist/chunks/chunk.LKULEWJA.js +0 -97
  1976. package/dist/chunks/chunk.LO722BLM.js +0 -90
  1977. package/dist/chunks/chunk.LSDBESKP.js +0 -21
  1978. package/dist/chunks/chunk.LVMQSKIX.js +0 -11
  1979. package/dist/chunks/chunk.LYRWYQEB.js +0 -11
  1980. package/dist/chunks/chunk.M22NM4I2.js +0 -596
  1981. package/dist/chunks/chunk.M2WUDCFE.js +0 -11
  1982. package/dist/chunks/chunk.M5TWOOXK.js +0 -110
  1983. package/dist/chunks/chunk.MH2V655T.js +0 -213
  1984. package/dist/chunks/chunk.MLJKAT2G.js +0 -40
  1985. package/dist/chunks/chunk.MNZJRSIS.js +0 -127
  1986. package/dist/chunks/chunk.MP5LGGXC.js +0 -139
  1987. package/dist/chunks/chunk.MPVERP43.js +0 -89
  1988. package/dist/chunks/chunk.MTYCAM7Q.js +0 -24
  1989. package/dist/chunks/chunk.MXDP6DTM.js +0 -27
  1990. package/dist/chunks/chunk.MYZZL47Y.js +0 -11
  1991. package/dist/chunks/chunk.MZ4FDVFI.js +0 -139
  1992. package/dist/chunks/chunk.N4U2YGPQ.js +0 -11
  1993. package/dist/chunks/chunk.N5ZOPEYQ.js +0 -16
  1994. package/dist/chunks/chunk.NCZVWYJH.js +0 -11
  1995. package/dist/chunks/chunk.NEI6ESI4.js +0 -443
  1996. package/dist/chunks/chunk.NMCBYHGI.js +0 -474
  1997. package/dist/chunks/chunk.NP7CH4PH.js +0 -150
  1998. package/dist/chunks/chunk.NUC7DD7Y.js +0 -11
  1999. package/dist/chunks/chunk.NV6VEZ3C.js +0 -124
  2000. package/dist/chunks/chunk.NWXJOH5T.js +0 -37
  2001. package/dist/chunks/chunk.NYOKJMDF.js +0 -262
  2002. package/dist/chunks/chunk.O2ZWYER4.js +0 -123
  2003. package/dist/chunks/chunk.O7X2BVWL.js +0 -451
  2004. package/dist/chunks/chunk.OAWTV6OW.js +0 -135
  2005. package/dist/chunks/chunk.OB7L6J2P.js +0 -21
  2006. package/dist/chunks/chunk.OBB2ASLO.js +0 -21
  2007. package/dist/chunks/chunk.OKE6DVWX.js +0 -24
  2008. package/dist/chunks/chunk.OKSVCCML.js +0 -121
  2009. package/dist/chunks/chunk.ON3YVM46.js +0 -138
  2010. package/dist/chunks/chunk.OQEIOAPT.js +0 -11
  2011. package/dist/chunks/chunk.OVH5G3RJ.js +0 -110
  2012. package/dist/chunks/chunk.P2DV3WHV.js +0 -11
  2013. package/dist/chunks/chunk.P2EFRIK5.js +0 -220
  2014. package/dist/chunks/chunk.P4YX4DEQ.js +0 -21
  2015. package/dist/chunks/chunk.P6HJLUPH.js +0 -11
  2016. package/dist/chunks/chunk.PAR3SU7T.js +0 -230
  2017. package/dist/chunks/chunk.PBC3S6IG.js +0 -33
  2018. package/dist/chunks/chunk.PISQ7QC4.js +0 -24
  2019. package/dist/chunks/chunk.PJP62E5Q.js +0 -56
  2020. package/dist/chunks/chunk.PTE2DINN.js +0 -21
  2021. package/dist/chunks/chunk.PUXKWMMZ.js +0 -78
  2022. package/dist/chunks/chunk.PZUZL3LG.js +0 -24
  2023. package/dist/chunks/chunk.Q5ADS6UN.js +0 -143
  2024. package/dist/chunks/chunk.Q5XUVDMW.js +0 -642
  2025. package/dist/chunks/chunk.QBD5IAAG.js +0 -11
  2026. package/dist/chunks/chunk.QFLXNLU3.js +0 -16
  2027. package/dist/chunks/chunk.QLF2XLPF.js +0 -21
  2028. package/dist/chunks/chunk.QQMW6GT2.js +0 -1045
  2029. package/dist/chunks/chunk.QSTR4FLH.js +0 -52
  2030. package/dist/chunks/chunk.QY3MIOMU.js +0 -25
  2031. package/dist/chunks/chunk.R5SCRQSJ.js +0 -24
  2032. package/dist/chunks/chunk.RANEKL2E.js +0 -127
  2033. package/dist/chunks/chunk.RBEQPKUF.js +0 -11
  2034. package/dist/chunks/chunk.RC4PW2AL.js +0 -64
  2035. package/dist/chunks/chunk.RGVKW43A.js +0 -104
  2036. package/dist/chunks/chunk.RICWPNO4.js +0 -27
  2037. package/dist/chunks/chunk.RQEPF7OZ.js +0 -88
  2038. package/dist/chunks/chunk.RVQ7T44G.js +0 -28
  2039. package/dist/chunks/chunk.SBGZPKIA.js +0 -124
  2040. package/dist/chunks/chunk.SEABQZE3.js +0 -52
  2041. package/dist/chunks/chunk.SGFD3ORP.js +0 -293
  2042. package/dist/chunks/chunk.SHKVBVTI.js +0 -117
  2043. package/dist/chunks/chunk.SJVXFIWD.js +0 -43
  2044. package/dist/chunks/chunk.SM2GF5DG.js +0 -161
  2045. package/dist/chunks/chunk.SMVBJMBE.js +0 -11
  2046. package/dist/chunks/chunk.SOWK5CSF.js +0 -236
  2047. package/dist/chunks/chunk.SRIJX4P5.js +0 -21
  2048. package/dist/chunks/chunk.T2KMTQBP.js +0 -145
  2049. package/dist/chunks/chunk.T63PHAZS.js +0 -477
  2050. package/dist/chunks/chunk.TCEJ3MS6.js +0 -97
  2051. package/dist/chunks/chunk.TEYALPS4.js +0 -657
  2052. package/dist/chunks/chunk.TGGVEO3I.js +0 -128
  2053. package/dist/chunks/chunk.TIPP7LOP.js +0 -25
  2054. package/dist/chunks/chunk.TR2IR2XU.js +0 -21
  2055. package/dist/chunks/chunk.TVOUNZKB.js +0 -21
  2056. package/dist/chunks/chunk.U2CI26QW.js +0 -29
  2057. package/dist/chunks/chunk.U3XIKOX7.js +0 -73
  2058. package/dist/chunks/chunk.U4O45ZC6.js +0 -39
  2059. package/dist/chunks/chunk.UEGNNPAH.js +0 -738
  2060. package/dist/chunks/chunk.UH5KWAU3.js +0 -21
  2061. package/dist/chunks/chunk.ULRKSOBB.js +0 -11
  2062. package/dist/chunks/chunk.UU2S72KN.js +0 -30
  2063. package/dist/chunks/chunk.UWQHLB6N.js +0 -37
  2064. package/dist/chunks/chunk.UY4TA55L.js +0 -11
  2065. package/dist/chunks/chunk.UZAIWUWC.js +0 -8
  2066. package/dist/chunks/chunk.V2Z7ZBTD.js +0 -293
  2067. package/dist/chunks/chunk.V3NHH2XO.js +0 -338
  2068. package/dist/chunks/chunk.V4SH3FLC.js +0 -272
  2069. package/dist/chunks/chunk.V7HC7572.js +0 -11
  2070. package/dist/chunks/chunk.VBM2B3KX.js +0 -2246
  2071. package/dist/chunks/chunk.VD3ZG27N.js +0 -291
  2072. package/dist/chunks/chunk.VHK56IML.js +0 -26
  2073. package/dist/chunks/chunk.VIW4LXVO.js +0 -25
  2074. package/dist/chunks/chunk.VO6PUK24.js +0 -23
  2075. package/dist/chunks/chunk.VOYW6ZBM.js +0 -345
  2076. package/dist/chunks/chunk.VQS7YXPC.js +0 -11
  2077. package/dist/chunks/chunk.VXCSGT3L.js +0 -48
  2078. package/dist/chunks/chunk.WE7FF2QS.js +0 -11
  2079. package/dist/chunks/chunk.WMZXCTBJ.js +0 -21
  2080. package/dist/chunks/chunk.WO5OWSDX.js +0 -180
  2081. package/dist/chunks/chunk.WP27ZMIV.js +0 -11
  2082. package/dist/chunks/chunk.WQANURYB.js +0 -11
  2083. package/dist/chunks/chunk.WTUZLKBY.js +0 -43
  2084. package/dist/chunks/chunk.WVJDTT7W.js +0 -74
  2085. package/dist/chunks/chunk.WW5X6HRC.js +0 -145
  2086. package/dist/chunks/chunk.WYS6GUW7.js +0 -11
  2087. package/dist/chunks/chunk.X2SOML6L.js +0 -21
  2088. package/dist/chunks/chunk.X3XBLLUJ.js +0 -278
  2089. package/dist/chunks/chunk.X53YRWID.js +0 -89
  2090. package/dist/chunks/chunk.XH5QDMDC.js +0 -524
  2091. package/dist/chunks/chunk.XJICV2UH.js +0 -11
  2092. package/dist/chunks/chunk.XJRDI2TX.js +0 -224
  2093. package/dist/chunks/chunk.XL6GOIUB.js +0 -422
  2094. package/dist/chunks/chunk.XLVVVXCQ.js +0 -40
  2095. package/dist/chunks/chunk.XMQDBISU.js +0 -24
  2096. package/dist/chunks/chunk.XOQA7V7H.js +0 -525
  2097. package/dist/chunks/chunk.XPWCLXJI.js +0 -11
  2098. package/dist/chunks/chunk.XQU5BZC4.js +0 -194
  2099. package/dist/chunks/chunk.XYQ5OEQP.js +0 -190
  2100. package/dist/chunks/chunk.XZ7N2YTI.js +0 -409
  2101. package/dist/chunks/chunk.Y43MNKM2.js +0 -93
  2102. package/dist/chunks/chunk.Y4QEHGFE.js +0 -76
  2103. package/dist/chunks/chunk.Y4ZWTPEA.js +0 -19
  2104. package/dist/chunks/chunk.Y6E3L66U.js +0 -63
  2105. package/dist/chunks/chunk.YGAPARSY.js +0 -24
  2106. package/dist/chunks/chunk.YGNBR4ML.js +0 -11
  2107. package/dist/chunks/chunk.YJOOWARF.js +0 -21
  2108. package/dist/chunks/chunk.YLLE7U4B.js +0 -374
  2109. package/dist/chunks/chunk.YN3VX3XW.js +0 -24
  2110. package/dist/chunks/chunk.YNGZK5NG.js +0 -98
  2111. package/dist/chunks/chunk.YPJBWQ6S.js +0 -104
  2112. package/dist/chunks/chunk.YQSWJQXT.js +0 -24
  2113. package/dist/chunks/chunk.YUAI7DJT.js +0 -21
  2114. package/dist/chunks/chunk.YXBUPVH7.js +0 -15
  2115. package/dist/chunks/chunk.YY65ZHR5.js +0 -35
  2116. package/dist/chunks/chunk.YZNY2IG7.js +0 -28
  2117. package/dist/chunks/chunk.Z2H7IRYZ.js +0 -57
  2118. package/dist/chunks/chunk.Z5KQCEVF.js +0 -11
  2119. package/dist/chunks/chunk.ZEKMHKZD.js +0 -86
  2120. package/dist/chunks/chunk.ZGIEEOTS.js +0 -11
  2121. package/dist/chunks/chunk.ZZS73M3T.js +0 -11
  2122. package/dist/components/banner/banner.component.d.ts +0 -45
  2123. package/dist/components/banner/banner.component.js +0 -13
  2124. package/dist/components/banner/banner.d.ts +0 -8
  2125. package/dist/components/banner/banner.js +0 -14
  2126. package/dist/components/banner/banner.styles.d.ts +0 -2
  2127. package/dist/components/banner/banner.styles.js +0 -7
  2128. package/dist/components/data-access/data-access.controller.d.ts +0 -52
  2129. package/dist/components/data-access/data-access.controller.js +0 -11
  2130. package/dist/components/data-subsetter/data-subsetter.controller.d.ts +0 -25
  2131. package/dist/components/data-subsetter/data-subsetter.controller.js +0 -13
  2132. package/dist/components/map/leaflet-draw.styles.d.ts +0 -2
  2133. package/dist/components/map/leaflet-draw.styles.js +0 -7
  2134. package/dist/components/map/leaflet-utils.d.ts +0 -45
  2135. package/dist/components/map/leaflet-utils.js +0 -13
  2136. package/dist/components/map/leaflet.styles.d.ts +0 -2
  2137. package/dist/components/map/leaflet.styles.js +0 -7
  2138. package/dist/react/banner/index.d.ts +0 -37
  2139. package/dist/react/banner/index.js +0 -14
  2140. package/dist/terra_ui_components-0.0.177-py3-none-any.whl +0 -0
  2141. package/dist/terra_ui_components-0.0.177.tar.gz +0 -0
  2142. package/dist/utilities/mimetypes.d.ts +0 -2
  2143. package/dist/utilities/mimetypes.js +0 -9
  2144. /package/cdn/components/{banner/banner.styles.d.ts → harmony-history/harmony-history.styles.d.ts} +0 -0
  2145. /package/{cdn/components/map/leaflet-draw.styles.d.ts → dist/components/harmony-history/harmony-history.styles.d.ts} +0 -0
@@ -0,0 +1,3451 @@
1
+ import {
2
+ withDb
3
+ } from "./chunk.EHU3RZOC.js";
4
+ import {
5
+ BadRequestException,
6
+ HttpException
7
+ } from "./chunk.SYQOGYTQ.js";
8
+ import {
9
+ authService
10
+ } from "./chunk.EYYVMPBZ.js";
11
+ import {
12
+ __objRest,
13
+ __privateAdd,
14
+ __privateGet,
15
+ __privateMethod,
16
+ __privateSet,
17
+ __privateWrapper,
18
+ __spreadProps,
19
+ __spreadValues,
20
+ init_buffer,
21
+ init_dirname,
22
+ init_process
23
+ } from "./chunk.ZEOVK2FE.js";
24
+
25
+ // src/apis/harmony.api.ts
26
+ init_dirname();
27
+ init_buffer();
28
+ init_process();
29
+
30
+ // src/lib/api.client.ts
31
+ init_dirname();
32
+ init_buffer();
33
+ init_process();
34
+ async function request(url, { method = "GET", body, headers = {}, signal } = {}) {
35
+ var _a11, _b2, _c, _d, _e, _f;
36
+ try {
37
+ const res = await fetch(url, {
38
+ method,
39
+ headers,
40
+ body: body ? JSON.stringify(body) : void 0,
41
+ signal
42
+ });
43
+ if (!res.ok) {
44
+ if (res.status === 401) {
45
+ authService.logout();
46
+ }
47
+ if (!((_a11 = res.headers.get("Content-Type")) == null ? void 0 : _a11.includes("json"))) {
48
+ const text = await res.text();
49
+ throw new HttpException({
50
+ status: res.status,
51
+ message: text || `HTTP ${res.status}`
52
+ });
53
+ }
54
+ const json = await res.json();
55
+ throw new HttpException({
56
+ status: res.status,
57
+ message: (_e = (_d = (_b2 = json.message) != null ? _b2 : (
58
+ // most REST clients will pass a error message
59
+ json.description
60
+ )) != null ? _d : (
61
+ // NASA Harmony uses the description field
62
+ (_c = json.errors) == null ? void 0 : _c[0]
63
+ )) != null ? _e : (
64
+ // NASA CMR uses an array of errors
65
+ `HTTP ${res.status}`
66
+ )
67
+ });
68
+ }
69
+ if (res.status === 204) {
70
+ return void 0;
71
+ }
72
+ if (!((_f = res.headers.get("Content-Type")) == null ? void 0 : _f.includes("json"))) {
73
+ throw new HttpException({
74
+ status: 500,
75
+ message: `Expected JSON response but got ${res.headers.get("Content-Type")}`
76
+ });
77
+ }
78
+ return res.json();
79
+ } catch (err) {
80
+ if (err instanceof DOMException && err.name === "AbortError") {
81
+ return void 0;
82
+ }
83
+ if (err instanceof HttpException && err.status !== 500) {
84
+ throw err;
85
+ }
86
+ console.error(err);
87
+ console.error(`Failed to fetch ${url}`);
88
+ throw new HttpException({
89
+ status: 500,
90
+ message: `An unknown error occurred when attempting to fetch, please try again later.`,
91
+ cause: err
92
+ });
93
+ }
94
+ }
95
+ var apiClient = {
96
+ get: (url, options) => request(url, __spreadValues({}, options)),
97
+ post: (url, body, options) => request(url, __spreadValues({ method: "POST", body }, options)),
98
+ put: (url, body) => request(url, { method: "PUT", body }),
99
+ patch: (url, body) => request(url, { method: "PATCH", body }),
100
+ delete: (url, options) => request(url, __spreadValues({ method: "DELETE" }, options))
101
+ };
102
+
103
+ // src/apis/harmony.api.ts
104
+ var API_VERSION = "3";
105
+ var Environments = {
106
+ PROD: "PROD",
107
+ UAT: "UAT"
108
+ };
109
+ var HARMONY_URLS = {
110
+ [Environments.PROD]: "https://harmony.earthdata.nasa.gov",
111
+ [Environments.UAT]: "https://harmony.uat.earthdata.nasa.gov",
112
+ // for anonymous access, we have to go through our proxy since Harmony doesn't support anonymous requests directly
113
+ // the proxy will add the necessary authentication to the request on the backend, so we can still use the same HarmonyRequest class to build the request URL with the appropriate parameters
114
+ // the proxy also adds restrictions on how much data can be requested
115
+ ANONYMOUS_ACCESS: "https://sjldutoe6c.execute-api.us-east-1.amazonaws.com/default/harmony-proxy"
116
+ };
117
+ var CLOUD_GIOVANNI_URLS = {
118
+ [Environments.PROD]: "https://api.giovanni.earthdata.nasa.gov",
119
+ [Environments.UAT]: "https://api.giovanni.uat.earthdata.nasa.gov"
120
+ };
121
+ var FINAL_STATUSES = /* @__PURE__ */ new Set([
122
+ "successful" /* SUCCESSFUL */,
123
+ "failed" /* FAILED */,
124
+ "canceled" /* CANCELED */,
125
+ "complete_with_errors" /* COMPLETE_WITH_ERRORS */
126
+ ]);
127
+ var _request, request_fn, _hasGiovanniServices, hasGiovanniServices_fn, _hasNonGiovanniServices, hasNonGiovanniServices_fn, _getNonGiovanniFormats, getNonGiovanniFormats_fn, _getGiovanniFormats, getGiovanniFormats_fn;
128
+ var HarmonyApi = class {
129
+ constructor() {
130
+ __privateAdd(this, _request);
131
+ __privateAdd(this, _hasGiovanniServices);
132
+ __privateAdd(this, _hasNonGiovanniServices);
133
+ __privateAdd(this, _getNonGiovanniFormats);
134
+ __privateAdd(this, _getGiovanniFormats);
135
+ }
136
+ /**
137
+ * Returns collection capabilities including available services, output formats, subsetting options, etc.
138
+ * from the Harmony /capabilities endpoint
139
+ */
140
+ async getCollectionCapabilities(conceptId, options) {
141
+ if (!conceptId) {
142
+ throw new BadRequestException({
143
+ message: "`collectionConceptId` is required"
144
+ });
145
+ }
146
+ const capabilities = await __privateMethod(this, _request, request_fn).call(this, `capabilities?collectionId=${conceptId}&version=${API_VERSION}`, options);
147
+ capabilities.variables = this.addConceptIdToVariables(capabilities.variables);
148
+ capabilities.configuredOutputFormats = this.getOutputFormatOptions(capabilities);
149
+ return capabilities;
150
+ }
151
+ /**
152
+ * Gets a user's Harmony jobs
153
+ */
154
+ async getJobs(params, options) {
155
+ const queryParams = new URLSearchParams();
156
+ if (params == null ? void 0 : params.page)
157
+ queryParams.append("page", params.page.toString());
158
+ if (params == null ? void 0 : params.limit)
159
+ queryParams.append("limit", params.limit.toString());
160
+ if (params == null ? void 0 : params.label)
161
+ queryParams.append("label", params.label);
162
+ return __privateMethod(this, _request, request_fn).call(this, `jobs?${queryParams.toString()}`, options);
163
+ }
164
+ /**
165
+ * Create a subset job by sending a GET request to the Harmony OGC API endpoint.
166
+ * The harmonyRequest.requestUrl contains the full URL with all subset parameters.
167
+ */
168
+ async createJob(harmonyRequest, options) {
169
+ return __privateMethod(this, _request, request_fn).call(this, harmonyRequest.requestUrl, options);
170
+ }
171
+ /**
172
+ * Get the current status of an existing subset job.
173
+ * Intended for polling until the job reaches a final state.
174
+ */
175
+ async getJobStatus(jobId, options) {
176
+ return __privateMethod(this, _request, request_fn).call(this, `jobs/${jobId}`, options);
177
+ }
178
+ /**
179
+ * Removes one or more labels from one or more Harmony jobs.
180
+ * After removal, the jobs will no longer match label-based filters.
181
+ *
182
+ * @example
183
+ * await harmonyApi.removeJobLabels({ jobIDs: ['abc', 'def'], labels: ['my-label'] }, { bearerToken })
184
+ */
185
+ async removeJobLabels(params, options) {
186
+ const url = `${HARMONY_URLS[Environments.PROD]}/labels`;
187
+ return apiClient.delete(url, {
188
+ body: { jobID: params.jobIDs, label: params.labels },
189
+ headers: __spreadValues({
190
+ "Content-Type": "application/json"
191
+ }, (options == null ? void 0 : options.bearerToken) && {
192
+ Authorization: `Bearer ${options.bearerToken}`
193
+ }),
194
+ signal: options == null ? void 0 : options.signal
195
+ });
196
+ }
197
+ /**
198
+ * Given a jobId for a running job, send a cancellation request to the Harmony API.
199
+ * Returns the updated job status after cancellation.
200
+ */
201
+ async cancelJob(jobId, options) {
202
+ return __privateMethod(this, _request, request_fn).call(this, `jobs/${jobId}/cancel`, options);
203
+ }
204
+ /**
205
+ * When a Harmony job finishes, it provides URLs for downloading the results. This method can be used to fetch the results from those URLs, which may require authentication if the data is not public.
206
+ */
207
+ async fetchUrl(url, options) {
208
+ const relativeUrl = url.replace(CLOUD_GIOVANNI_URLS.PROD, "").replace(CLOUD_GIOVANNI_URLS.UAT, "");
209
+ return __privateMethod(this, _request, request_fn).call(this, relativeUrl, options);
210
+ }
211
+ /**
212
+ * Extracts the variable concept ID from the variable's href and adds it as a property on the variable object.
213
+ */
214
+ addConceptIdToVariables(variables) {
215
+ return variables.map((v) => {
216
+ const match = v.href.match(/\/concepts\/(V\d+-\w+)$/);
217
+ if (match) {
218
+ v.conceptId = match[1];
219
+ }
220
+ return v;
221
+ });
222
+ }
223
+ /**
224
+ * Processes the Harmony capabilities response to generate a list of output format options with user-friendly labels and descriptions.
225
+ * If Giovanni is the only service available, only return Giovanni-specific formats.
226
+ * If Giovanni is present with other services, include both Giovanni and non-Giovanni formats, avoiding duplicates.
227
+ * If Giovanni is not present, return only non-Giovanni formats.
228
+ */
229
+ getOutputFormatOptions(capabilities) {
230
+ const hasNonGiovanniServices = __privateMethod(this, _hasNonGiovanniServices, hasNonGiovanniServices_fn).call(this, capabilities);
231
+ const hasGiovanniServices = __privateMethod(this, _hasGiovanniServices, hasGiovanniServices_fn).call(this, capabilities);
232
+ const giovanniFormats = hasGiovanniServices ? __privateMethod(this, _getGiovanniFormats, getGiovanniFormats_fn).call(this, capabilities) : [];
233
+ if (hasGiovanniServices && !hasNonGiovanniServices) {
234
+ return giovanniFormats;
235
+ }
236
+ const outputFormats = [];
237
+ const nonGiovanniFormats = __privateMethod(this, _getNonGiovanniFormats, getNonGiovanniFormats_fn).call(this, capabilities);
238
+ nonGiovanniFormats.forEach((format) => {
239
+ let label = format;
240
+ let description = `Download data in ${format} format`;
241
+ switch (format) {
242
+ case "application/x-hdf":
243
+ case "application/octet-stream":
244
+ label = "HDF-EOS5";
245
+ description = "Download data in HDF-EOS5 format";
246
+ break;
247
+ case "application/x-netcdf4":
248
+ case "application/netcdf":
249
+ label = "NetCDF";
250
+ description = "Download data in NetCDF format";
251
+ break;
252
+ case "application/x-netcdf4;profile=opendap_url":
253
+ label = "OPeNDAP URL (x-netcdf4)";
254
+ description = "Download data in OPeNDAP URL (x-netcdf4) format";
255
+ break;
256
+ case "text/csv":
257
+ label = "CSV";
258
+ description = "Download data in CSV format";
259
+ break;
260
+ case "image/tiff":
261
+ case "image/tif":
262
+ label = "TIFF";
263
+ description = "Download data in TIFF format";
264
+ break;
265
+ case "image/png":
266
+ label = "PNG";
267
+ description = "Download data in PNG format";
268
+ break;
269
+ case "image/jpg":
270
+ case "image/jpeg":
271
+ label = "JPEG";
272
+ description = "Download data in JPEG format";
273
+ break;
274
+ case "application/shapefile+zip":
275
+ label = "Shapefile+zip";
276
+ description = "Download data in Shapefile+zip format";
277
+ break;
278
+ case "application/x-zarr":
279
+ label = "ZARR";
280
+ description = "Download data in ZARR format";
281
+ break;
282
+ default:
283
+ label = format;
284
+ description = `Download data in ${format} format`;
285
+ }
286
+ outputFormats.push({
287
+ key: format,
288
+ label,
289
+ description
290
+ });
291
+ });
292
+ if (hasGiovanniServices && hasNonGiovanniServices) {
293
+ outputFormats.push(...giovanniFormats);
294
+ }
295
+ return outputFormats;
296
+ }
297
+ };
298
+ _request = new WeakSet();
299
+ request_fn = function(url, options) {
300
+ let environmentUrl = HARMONY_URLS[Environments.PROD];
301
+ if (!(options == null ? void 0 : options.bearerToken)) {
302
+ environmentUrl = HARMONY_URLS.ANONYMOUS_ACCESS;
303
+ }
304
+ if (!url.startsWith("http")) {
305
+ url = `${environmentUrl}/${url}`;
306
+ }
307
+ return apiClient.get(url, {
308
+ signal: options == null ? void 0 : options.signal,
309
+ headers: __spreadValues({}, (options == null ? void 0 : options.bearerToken) && {
310
+ Authorization: `Bearer ${options.bearerToken}`
311
+ })
312
+ });
313
+ };
314
+ _hasGiovanniServices = new WeakSet();
315
+ hasGiovanniServices_fn = function(capabilities) {
316
+ var _a11, _b2;
317
+ return (_b2 = (_a11 = capabilities == null ? void 0 : capabilities.services) == null ? void 0 : _a11.some(
318
+ (service) => service.name.toLowerCase().includes("giovanni")
319
+ )) != null ? _b2 : false;
320
+ };
321
+ _hasNonGiovanniServices = new WeakSet();
322
+ hasNonGiovanniServices_fn = function(capabilities) {
323
+ var _a11, _b2;
324
+ return (_b2 = (_a11 = capabilities == null ? void 0 : capabilities.services) == null ? void 0 : _a11.some(
325
+ (service) => !service.name.toLowerCase().includes("giovanni")
326
+ )) != null ? _b2 : false;
327
+ };
328
+ _getNonGiovanniFormats = new WeakSet();
329
+ getNonGiovanniFormats_fn = function(capabilities) {
330
+ if (!(capabilities == null ? void 0 : capabilities.services)) {
331
+ return [];
332
+ }
333
+ const nonGiovanniServices = capabilities.services.filter(
334
+ (service) => !service.name.toLowerCase().includes("giovanni")
335
+ );
336
+ const formats = /* @__PURE__ */ new Set();
337
+ nonGiovanniServices.forEach((service) => {
338
+ var _a11;
339
+ (_a11 = service.capabilities.outputFormats) == null ? void 0 : _a11.forEach((format) => {
340
+ formats.add(format);
341
+ });
342
+ });
343
+ const formatArray = Array.from(formats);
344
+ if (formatArray.includes("application/netcdf") && formatArray.includes("application/x-netcdf4")) {
345
+ return formatArray.filter((format) => format !== "application/netcdf");
346
+ }
347
+ return formatArray;
348
+ };
349
+ _getGiovanniFormats = new WeakSet();
350
+ getGiovanniFormats_fn = function(capabilities) {
351
+ const giovanniFormats = [];
352
+ capabilities.services.forEach((service) => {
353
+ const serviceName = service.name.toLowerCase();
354
+ if (serviceName.includes("giovanni-time-series")) {
355
+ giovanniFormats.push({
356
+ key: "text/csv",
357
+ label: "CSV (point-based time series; one file)",
358
+ description: "Single variable plotted over time",
359
+ isGiovanniFormat: true
360
+ });
361
+ }
362
+ if (serviceName.includes("giovanni-averaging")) {
363
+ giovanniFormats.push(
364
+ {
365
+ key: "image/tiff",
366
+ label: "GeoTIFF (time-averaged map; one file)",
367
+ description: "Time averaged representation as map",
368
+ isGiovanniFormat: true
369
+ },
370
+ {
371
+ key: "text/csv",
372
+ label: "CSV (area-averaged time series; one file)",
373
+ description: "Area averaged data over time",
374
+ isGiovanniFormat: true
375
+ }
376
+ );
377
+ }
378
+ });
379
+ return giovanniFormats.filter(
380
+ (format, index, formats) => formats.findIndex((existing) => existing.label === format.label) === index
381
+ );
382
+ };
383
+ var harmonyApi = new HarmonyApi();
384
+
385
+ // src/lib/thumbnails/thumbnail.service.ts
386
+ init_dirname();
387
+ init_buffer();
388
+ init_process();
389
+ var ThumbnailService = class {
390
+ async store(harmonyJobId, blob) {
391
+ await withDb(async (db) => {
392
+ const record = {
393
+ harmonyJobId,
394
+ blob,
395
+ createdAt: Date.now()
396
+ };
397
+ await db.put("thumbnails" /* THUMBNAILS */, record);
398
+ });
399
+ }
400
+ async get(harmonyJobId) {
401
+ return withDb(async (db) => {
402
+ const record = await db.get(
403
+ "thumbnails" /* THUMBNAILS */,
404
+ harmonyJobId
405
+ );
406
+ return record == null ? void 0 : record.blob;
407
+ });
408
+ }
409
+ async delete(harmonyJobId) {
410
+ await withDb(async (db) => {
411
+ await db.delete("thumbnails" /* THUMBNAILS */, harmonyJobId);
412
+ });
413
+ }
414
+ };
415
+
416
+ // src/queries/harmony.queries.ts
417
+ init_dirname();
418
+ init_buffer();
419
+ init_process();
420
+ var POLL_INTERVAL_MS = 3e3;
421
+ var PAGE_1_POLL_INTERVAL_MS = 5e3;
422
+ var thumbnailService = new ThumbnailService();
423
+ function isFetchableHarmonyJobId(jobID) {
424
+ return Boolean(jobID && jobID !== "new");
425
+ }
426
+ function queryHarmonyCapabilities(collectionConceptId, options) {
427
+ return {
428
+ queryKey: ["harmony", "capabilities", collectionConceptId],
429
+ queryFn: async ({ signal }) => {
430
+ return harmonyApi.getCollectionCapabilities(collectionConceptId, __spreadProps(__spreadValues({}, options), {
431
+ signal
432
+ }));
433
+ },
434
+ enabled: !!collectionConceptId
435
+ };
436
+ }
437
+ function queryHarmonyJobs(params, options) {
438
+ return {
439
+ queryKey: ["harmony", "jobs", params],
440
+ queryFn: async ({ signal }) => {
441
+ const result = await harmonyApi.getJobs(params, __spreadProps(__spreadValues({}, options), {
442
+ signal
443
+ }));
444
+ const enrichedJobs = await Promise.all(
445
+ result.jobs.map(async (job) => {
446
+ const blob = await thumbnailService.get(job.jobID);
447
+ return blob ? __spreadProps(__spreadValues({}, job), { thumbnailBlob: blob }) : job;
448
+ })
449
+ );
450
+ return __spreadProps(__spreadValues({}, result), { jobs: enrichedJobs });
451
+ },
452
+ // require a bearer token to run
453
+ enabled: !!(options == null ? void 0 : options.bearerToken),
454
+ refetchInterval: () => {
455
+ if ((params == null ? void 0 : params.page) && params.page !== 1) {
456
+ return false;
457
+ }
458
+ return PAGE_1_POLL_INTERVAL_MS;
459
+ }
460
+ };
461
+ }
462
+ function queryHarmonyJobStatus(jobID, options) {
463
+ return {
464
+ queryKey: ["harmony", "jobs", jobID],
465
+ queryFn: async ({ signal }) => {
466
+ if (!isFetchableHarmonyJobId(jobID))
467
+ return null;
468
+ return harmonyApi.getJobStatus(jobID, __spreadProps(__spreadValues({}, options), { signal }));
469
+ },
470
+ enabled: isFetchableHarmonyJobId(jobID),
471
+ // Poll until the job reaches a final state
472
+ refetchInterval: (query) => {
473
+ var _a11;
474
+ const status = (_a11 = query.state.data) == null ? void 0 : _a11.status;
475
+ if (status && FINAL_STATUSES.has(status)) {
476
+ return false;
477
+ }
478
+ return POLL_INTERVAL_MS;
479
+ },
480
+ // Job status changes frequently while running; don't use stale data
481
+ staleTime: 0,
482
+ gcTime: 0
483
+ };
484
+ }
485
+ function queryCreateHarmonySubsetJob() {
486
+ return {
487
+ mutationFn: ({ harmonyRequest, options }) => harmonyApi.createJob(harmonyRequest, options)
488
+ };
489
+ }
490
+ function queryCancelHarmonySubsetJob() {
491
+ return {
492
+ mutationFn: ({ jobId, options }) => harmonyApi.cancelJob(jobId, options)
493
+ };
494
+ }
495
+ function mutationRemoveHarmonyJobLabels() {
496
+ return {
497
+ mutationFn: ({ jobIDs, labels, options }) => harmonyApi.removeJobLabels({ jobIDs, labels }, options)
498
+ };
499
+ }
500
+
501
+ // src/controllers/query.controller.ts
502
+ init_dirname();
503
+ init_buffer();
504
+ init_process();
505
+
506
+ // node_modules/@tanstack/query-core/build/modern/index.js
507
+ init_dirname();
508
+ init_buffer();
509
+ init_process();
510
+
511
+ // node_modules/@tanstack/query-core/build/modern/focusManager.js
512
+ init_dirname();
513
+ init_buffer();
514
+ init_process();
515
+
516
+ // node_modules/@tanstack/query-core/build/modern/subscribable.js
517
+ init_dirname();
518
+ init_buffer();
519
+ init_process();
520
+ var Subscribable = class {
521
+ constructor() {
522
+ this.listeners = /* @__PURE__ */ new Set();
523
+ this.subscribe = this.subscribe.bind(this);
524
+ }
525
+ subscribe(listener) {
526
+ this.listeners.add(listener);
527
+ this.onSubscribe();
528
+ return () => {
529
+ this.listeners.delete(listener);
530
+ this.onUnsubscribe();
531
+ };
532
+ }
533
+ hasListeners() {
534
+ return this.listeners.size > 0;
535
+ }
536
+ onSubscribe() {
537
+ }
538
+ onUnsubscribe() {
539
+ }
540
+ };
541
+
542
+ // node_modules/@tanstack/query-core/build/modern/focusManager.js
543
+ var _focused, _cleanup, _setup, _a;
544
+ var FocusManager = (_a = class extends Subscribable {
545
+ constructor() {
546
+ super();
547
+ __privateAdd(this, _focused, void 0);
548
+ __privateAdd(this, _cleanup, void 0);
549
+ __privateAdd(this, _setup, void 0);
550
+ __privateSet(this, _setup, (onFocus) => {
551
+ if (typeof window !== "undefined" && window.addEventListener) {
552
+ const listener = () => onFocus();
553
+ window.addEventListener("visibilitychange", listener, false);
554
+ return () => {
555
+ window.removeEventListener("visibilitychange", listener);
556
+ };
557
+ }
558
+ return;
559
+ });
560
+ }
561
+ onSubscribe() {
562
+ if (!__privateGet(this, _cleanup)) {
563
+ this.setEventListener(__privateGet(this, _setup));
564
+ }
565
+ }
566
+ onUnsubscribe() {
567
+ var _a11;
568
+ if (!this.hasListeners()) {
569
+ (_a11 = __privateGet(this, _cleanup)) == null ? void 0 : _a11.call(this);
570
+ __privateSet(this, _cleanup, void 0);
571
+ }
572
+ }
573
+ setEventListener(setup) {
574
+ var _a11;
575
+ __privateSet(this, _setup, setup);
576
+ (_a11 = __privateGet(this, _cleanup)) == null ? void 0 : _a11.call(this);
577
+ __privateSet(this, _cleanup, setup((focused) => {
578
+ if (typeof focused === "boolean") {
579
+ this.setFocused(focused);
580
+ } else {
581
+ this.onFocus();
582
+ }
583
+ }));
584
+ }
585
+ setFocused(focused) {
586
+ const changed = __privateGet(this, _focused) !== focused;
587
+ if (changed) {
588
+ __privateSet(this, _focused, focused);
589
+ this.onFocus();
590
+ }
591
+ }
592
+ onFocus() {
593
+ const isFocused = this.isFocused();
594
+ this.listeners.forEach((listener) => {
595
+ listener(isFocused);
596
+ });
597
+ }
598
+ isFocused() {
599
+ var _a11;
600
+ if (typeof __privateGet(this, _focused) === "boolean") {
601
+ return __privateGet(this, _focused);
602
+ }
603
+ return ((_a11 = globalThis.document) == null ? void 0 : _a11.visibilityState) !== "hidden";
604
+ }
605
+ }, _focused = new WeakMap(), _cleanup = new WeakMap(), _setup = new WeakMap(), _a);
606
+ var focusManager = new FocusManager();
607
+
608
+ // node_modules/@tanstack/query-core/build/modern/environmentManager.js
609
+ init_dirname();
610
+ init_buffer();
611
+ init_process();
612
+
613
+ // node_modules/@tanstack/query-core/build/modern/utils.js
614
+ init_dirname();
615
+ init_buffer();
616
+ init_process();
617
+
618
+ // node_modules/@tanstack/query-core/build/modern/timeoutManager.js
619
+ init_dirname();
620
+ init_buffer();
621
+ init_process();
622
+ var defaultTimeoutProvider = {
623
+ // We need the wrapper function syntax below instead of direct references to
624
+ // global setTimeout etc.
625
+ //
626
+ // BAD: `setTimeout: setTimeout`
627
+ // GOOD: `setTimeout: (cb, delay) => setTimeout(cb, delay)`
628
+ //
629
+ // If we use direct references here, then anything that wants to spy on or
630
+ // replace the global setTimeout (like tests) won't work since we'll already
631
+ // have a hard reference to the original implementation at the time when this
632
+ // file was imported.
633
+ setTimeout: (callback, delay) => setTimeout(callback, delay),
634
+ clearTimeout: (timeoutId) => clearTimeout(timeoutId),
635
+ setInterval: (callback, delay) => setInterval(callback, delay),
636
+ clearInterval: (intervalId) => clearInterval(intervalId)
637
+ };
638
+ var _provider, _providerCalled, _a2;
639
+ var TimeoutManager = (_a2 = class {
640
+ constructor() {
641
+ // We cannot have TimeoutManager<T> as we must instantiate it with a concrete
642
+ // type at app boot; and if we leave that type, then any new timer provider
643
+ // would need to support the default provider's concrete timer ID, which is
644
+ // infeasible across environments.
645
+ //
646
+ // We settle for type safety for the TimeoutProvider type, and accept that
647
+ // this class is unsafe internally to allow for extension.
648
+ __privateAdd(this, _provider, defaultTimeoutProvider);
649
+ __privateAdd(this, _providerCalled, false);
650
+ }
651
+ setTimeoutProvider(provider) {
652
+ if (false) {
653
+ if (__privateGet(this, _providerCalled) && provider !== __privateGet(this, _provider)) {
654
+ console.error(
655
+ `[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.`,
656
+ { previous: __privateGet(this, _provider), provider }
657
+ );
658
+ }
659
+ }
660
+ __privateSet(this, _provider, provider);
661
+ if (false) {
662
+ __privateSet(this, _providerCalled, false);
663
+ }
664
+ }
665
+ setTimeout(callback, delay) {
666
+ if (false) {
667
+ __privateSet(this, _providerCalled, true);
668
+ }
669
+ return __privateGet(this, _provider).setTimeout(callback, delay);
670
+ }
671
+ clearTimeout(timeoutId) {
672
+ __privateGet(this, _provider).clearTimeout(timeoutId);
673
+ }
674
+ setInterval(callback, delay) {
675
+ if (false) {
676
+ __privateSet(this, _providerCalled, true);
677
+ }
678
+ return __privateGet(this, _provider).setInterval(callback, delay);
679
+ }
680
+ clearInterval(intervalId) {
681
+ __privateGet(this, _provider).clearInterval(intervalId);
682
+ }
683
+ }, _provider = new WeakMap(), _providerCalled = new WeakMap(), _a2);
684
+ var timeoutManager = new TimeoutManager();
685
+ function systemSetTimeoutZero(callback) {
686
+ setTimeout(callback, 0);
687
+ }
688
+
689
+ // node_modules/@tanstack/query-core/build/modern/utils.js
690
+ var isServer = typeof window === "undefined" || "Deno" in globalThis;
691
+ function noop() {
692
+ }
693
+ function functionalUpdate(updater, input) {
694
+ return typeof updater === "function" ? updater(input) : updater;
695
+ }
696
+ function isValidTimeout(value) {
697
+ return typeof value === "number" && value >= 0 && value !== Infinity;
698
+ }
699
+ function timeUntilStale(updatedAt, staleTime) {
700
+ return Math.max(updatedAt + (staleTime || 0) - Date.now(), 0);
701
+ }
702
+ function resolveStaleTime(staleTime, query) {
703
+ return typeof staleTime === "function" ? staleTime(query) : staleTime;
704
+ }
705
+ function resolveEnabled(enabled, query) {
706
+ return typeof enabled === "function" ? enabled(query) : enabled;
707
+ }
708
+ function matchQuery(filters, query) {
709
+ const {
710
+ type = "all",
711
+ exact,
712
+ fetchStatus,
713
+ predicate,
714
+ queryKey,
715
+ stale
716
+ } = filters;
717
+ if (queryKey) {
718
+ if (exact) {
719
+ if (query.queryHash !== hashQueryKeyByOptions(queryKey, query.options)) {
720
+ return false;
721
+ }
722
+ } else if (!partialMatchKey(query.queryKey, queryKey)) {
723
+ return false;
724
+ }
725
+ }
726
+ if (type !== "all") {
727
+ const isActive = query.isActive();
728
+ if (type === "active" && !isActive) {
729
+ return false;
730
+ }
731
+ if (type === "inactive" && isActive) {
732
+ return false;
733
+ }
734
+ }
735
+ if (typeof stale === "boolean" && query.isStale() !== stale) {
736
+ return false;
737
+ }
738
+ if (fetchStatus && fetchStatus !== query.state.fetchStatus) {
739
+ return false;
740
+ }
741
+ if (predicate && !predicate(query)) {
742
+ return false;
743
+ }
744
+ return true;
745
+ }
746
+ function matchMutation(filters, mutation) {
747
+ const { exact, status, predicate, mutationKey } = filters;
748
+ if (mutationKey) {
749
+ if (!mutation.options.mutationKey) {
750
+ return false;
751
+ }
752
+ if (exact) {
753
+ if (hashKey(mutation.options.mutationKey) !== hashKey(mutationKey)) {
754
+ return false;
755
+ }
756
+ } else if (!partialMatchKey(mutation.options.mutationKey, mutationKey)) {
757
+ return false;
758
+ }
759
+ }
760
+ if (status && mutation.state.status !== status) {
761
+ return false;
762
+ }
763
+ if (predicate && !predicate(mutation)) {
764
+ return false;
765
+ }
766
+ return true;
767
+ }
768
+ function hashQueryKeyByOptions(queryKey, options) {
769
+ const hashFn = (options == null ? void 0 : options.queryKeyHashFn) || hashKey;
770
+ return hashFn(queryKey);
771
+ }
772
+ function hashKey(queryKey) {
773
+ return JSON.stringify(
774
+ queryKey,
775
+ (_, val) => isPlainObject(val) ? Object.keys(val).sort().reduce((result, key) => {
776
+ result[key] = val[key];
777
+ return result;
778
+ }, {}) : val
779
+ );
780
+ }
781
+ function partialMatchKey(a, b) {
782
+ if (a === b) {
783
+ return true;
784
+ }
785
+ if (typeof a !== typeof b) {
786
+ return false;
787
+ }
788
+ if (a && b && typeof a === "object" && typeof b === "object") {
789
+ return Object.keys(b).every((key) => partialMatchKey(a[key], b[key]));
790
+ }
791
+ return false;
792
+ }
793
+ var hasOwn = Object.prototype.hasOwnProperty;
794
+ function replaceEqualDeep(a, b, depth = 0) {
795
+ if (a === b) {
796
+ return a;
797
+ }
798
+ if (depth > 500)
799
+ return b;
800
+ const array = isPlainArray(a) && isPlainArray(b);
801
+ if (!array && !(isPlainObject(a) && isPlainObject(b)))
802
+ return b;
803
+ const aItems = array ? a : Object.keys(a);
804
+ const aSize = aItems.length;
805
+ const bItems = array ? b : Object.keys(b);
806
+ const bSize = bItems.length;
807
+ const copy = array ? new Array(bSize) : {};
808
+ let equalItems = 0;
809
+ for (let i = 0; i < bSize; i++) {
810
+ const key = array ? i : bItems[i];
811
+ const aItem = a[key];
812
+ const bItem = b[key];
813
+ if (aItem === bItem) {
814
+ copy[key] = aItem;
815
+ if (array ? i < aSize : hasOwn.call(a, key))
816
+ equalItems++;
817
+ continue;
818
+ }
819
+ if (aItem === null || bItem === null || typeof aItem !== "object" || typeof bItem !== "object") {
820
+ copy[key] = bItem;
821
+ continue;
822
+ }
823
+ const v = replaceEqualDeep(aItem, bItem, depth + 1);
824
+ copy[key] = v;
825
+ if (v === aItem)
826
+ equalItems++;
827
+ }
828
+ return aSize === bSize && equalItems === aSize ? a : copy;
829
+ }
830
+ function shallowEqualObjects(a, b) {
831
+ if (!b || Object.keys(a).length !== Object.keys(b).length) {
832
+ return false;
833
+ }
834
+ for (const key in a) {
835
+ if (a[key] !== b[key]) {
836
+ return false;
837
+ }
838
+ }
839
+ return true;
840
+ }
841
+ function isPlainArray(value) {
842
+ return Array.isArray(value) && value.length === Object.keys(value).length;
843
+ }
844
+ function isPlainObject(o) {
845
+ if (!hasObjectPrototype(o)) {
846
+ return false;
847
+ }
848
+ const ctor = o.constructor;
849
+ if (ctor === void 0) {
850
+ return true;
851
+ }
852
+ const prot = ctor.prototype;
853
+ if (!hasObjectPrototype(prot)) {
854
+ return false;
855
+ }
856
+ if (!prot.hasOwnProperty("isPrototypeOf")) {
857
+ return false;
858
+ }
859
+ if (Object.getPrototypeOf(o) !== Object.prototype) {
860
+ return false;
861
+ }
862
+ return true;
863
+ }
864
+ function hasObjectPrototype(o) {
865
+ return Object.prototype.toString.call(o) === "[object Object]";
866
+ }
867
+ function sleep(timeout) {
868
+ return new Promise((resolve) => {
869
+ timeoutManager.setTimeout(resolve, timeout);
870
+ });
871
+ }
872
+ function replaceData(prevData, data, options) {
873
+ if (typeof options.structuralSharing === "function") {
874
+ return options.structuralSharing(prevData, data);
875
+ } else if (options.structuralSharing !== false) {
876
+ if (false) {
877
+ try {
878
+ return replaceEqualDeep(prevData, data);
879
+ } catch (error) {
880
+ console.error(
881
+ `Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${options.queryHash}]: ${error}`
882
+ );
883
+ throw error;
884
+ }
885
+ }
886
+ return replaceEqualDeep(prevData, data);
887
+ }
888
+ return data;
889
+ }
890
+ function addToEnd(items, item, max = 0) {
891
+ const newItems = [...items, item];
892
+ return max && newItems.length > max ? newItems.slice(1) : newItems;
893
+ }
894
+ function addToStart(items, item, max = 0) {
895
+ const newItems = [item, ...items];
896
+ return max && newItems.length > max ? newItems.slice(0, -1) : newItems;
897
+ }
898
+ var skipToken = /* @__PURE__ */ Symbol();
899
+ function ensureQueryFn(options, fetchOptions) {
900
+ if (false) {
901
+ if (options.queryFn === skipToken) {
902
+ console.error(
903
+ `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${options.queryHash}'`
904
+ );
905
+ }
906
+ }
907
+ if (!options.queryFn && (fetchOptions == null ? void 0 : fetchOptions.initialPromise)) {
908
+ return () => fetchOptions.initialPromise;
909
+ }
910
+ if (!options.queryFn || options.queryFn === skipToken) {
911
+ return () => Promise.reject(new Error(`Missing queryFn: '${options.queryHash}'`));
912
+ }
913
+ return options.queryFn;
914
+ }
915
+ function addConsumeAwareSignal(object, getSignal, onCancelled) {
916
+ let consumed = false;
917
+ let signal;
918
+ Object.defineProperty(object, "signal", {
919
+ enumerable: true,
920
+ get: () => {
921
+ signal != null ? signal : signal = getSignal();
922
+ if (consumed) {
923
+ return signal;
924
+ }
925
+ consumed = true;
926
+ if (signal.aborted) {
927
+ onCancelled();
928
+ } else {
929
+ signal.addEventListener("abort", onCancelled, { once: true });
930
+ }
931
+ return signal;
932
+ }
933
+ });
934
+ return object;
935
+ }
936
+
937
+ // node_modules/@tanstack/query-core/build/modern/environmentManager.js
938
+ var environmentManager = /* @__PURE__ */ (() => {
939
+ let isServerFn = () => isServer;
940
+ return {
941
+ /**
942
+ * Returns whether the current runtime should be treated as a server environment.
943
+ */
944
+ isServer() {
945
+ return isServerFn();
946
+ },
947
+ /**
948
+ * Overrides the server check globally.
949
+ */
950
+ setIsServer(isServerValue) {
951
+ isServerFn = isServerValue;
952
+ }
953
+ };
954
+ })();
955
+
956
+ // node_modules/@tanstack/query-core/build/modern/hydration.js
957
+ init_dirname();
958
+ init_buffer();
959
+ init_process();
960
+
961
+ // node_modules/@tanstack/query-core/build/modern/thenable.js
962
+ init_dirname();
963
+ init_buffer();
964
+ init_process();
965
+ function pendingThenable() {
966
+ let resolve;
967
+ let reject;
968
+ const thenable = new Promise((_resolve, _reject) => {
969
+ resolve = _resolve;
970
+ reject = _reject;
971
+ });
972
+ thenable.status = "pending";
973
+ thenable.catch(() => {
974
+ });
975
+ function finalize(data) {
976
+ Object.assign(thenable, data);
977
+ delete thenable.resolve;
978
+ delete thenable.reject;
979
+ }
980
+ thenable.resolve = (value) => {
981
+ finalize({
982
+ status: "fulfilled",
983
+ value
984
+ });
985
+ resolve(value);
986
+ };
987
+ thenable.reject = (reason) => {
988
+ finalize({
989
+ status: "rejected",
990
+ reason
991
+ });
992
+ reject(reason);
993
+ };
994
+ return thenable;
995
+ }
996
+ function tryResolveSync(promise) {
997
+ var _a11;
998
+ let data;
999
+ (_a11 = promise.then((result) => {
1000
+ data = result;
1001
+ return result;
1002
+ }, noop)) == null ? void 0 : _a11.catch(noop);
1003
+ if (data !== void 0) {
1004
+ return { data };
1005
+ }
1006
+ return void 0;
1007
+ }
1008
+
1009
+ // node_modules/@tanstack/query-core/build/modern/hydration.js
1010
+ function defaultTransformerFn(data) {
1011
+ return data;
1012
+ }
1013
+ function dehydrateMutation(mutation) {
1014
+ return __spreadValues(__spreadValues({
1015
+ mutationKey: mutation.options.mutationKey,
1016
+ state: mutation.state
1017
+ }, mutation.options.scope && { scope: mutation.options.scope }), mutation.meta && { meta: mutation.meta });
1018
+ }
1019
+ function dehydrateQuery(query, serializeData, shouldRedactErrors) {
1020
+ const dehydratePromise = () => {
1021
+ var _a11;
1022
+ const promise = (_a11 = query.promise) == null ? void 0 : _a11.then(serializeData).catch((error) => {
1023
+ if (!shouldRedactErrors(error)) {
1024
+ return Promise.reject(error);
1025
+ }
1026
+ if (false) {
1027
+ console.error(
1028
+ `A query that was dehydrated as pending ended up rejecting. [${query.queryHash}]: ${error}; The error will be redacted in production builds`
1029
+ );
1030
+ }
1031
+ return Promise.reject(new Error("redacted"));
1032
+ });
1033
+ promise == null ? void 0 : promise.catch(noop);
1034
+ return promise;
1035
+ };
1036
+ return __spreadValues(__spreadValues({
1037
+ dehydratedAt: Date.now(),
1038
+ state: __spreadValues(__spreadValues({}, query.state), query.state.data !== void 0 && {
1039
+ data: serializeData(query.state.data)
1040
+ }),
1041
+ queryKey: query.queryKey,
1042
+ queryHash: query.queryHash
1043
+ }, query.state.status === "pending" && {
1044
+ promise: dehydratePromise()
1045
+ }), query.meta && { meta: query.meta });
1046
+ }
1047
+ function defaultShouldDehydrateMutation(mutation) {
1048
+ return mutation.state.isPaused;
1049
+ }
1050
+ function defaultShouldDehydrateQuery(query) {
1051
+ return query.state.status === "success";
1052
+ }
1053
+ function defaultShouldRedactErrors(_) {
1054
+ return true;
1055
+ }
1056
+ function dehydrate(client, options = {}) {
1057
+ var _a11, _b2, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
1058
+ const filterMutation = (_c = (_b2 = options.shouldDehydrateMutation) != null ? _b2 : (_a11 = client.getDefaultOptions().dehydrate) == null ? void 0 : _a11.shouldDehydrateMutation) != null ? _c : defaultShouldDehydrateMutation;
1059
+ const mutations = client.getMutationCache().getAll().flatMap(
1060
+ (mutation) => filterMutation(mutation) ? [dehydrateMutation(mutation)] : []
1061
+ );
1062
+ const filterQuery = (_f = (_e = options.shouldDehydrateQuery) != null ? _e : (_d = client.getDefaultOptions().dehydrate) == null ? void 0 : _d.shouldDehydrateQuery) != null ? _f : defaultShouldDehydrateQuery;
1063
+ const shouldRedactErrors = (_i = (_h = options.shouldRedactErrors) != null ? _h : (_g = client.getDefaultOptions().dehydrate) == null ? void 0 : _g.shouldRedactErrors) != null ? _i : defaultShouldRedactErrors;
1064
+ const serializeData = (_l = (_k = options.serializeData) != null ? _k : (_j = client.getDefaultOptions().dehydrate) == null ? void 0 : _j.serializeData) != null ? _l : defaultTransformerFn;
1065
+ const queries = client.getQueryCache().getAll().flatMap(
1066
+ (query) => filterQuery(query) ? [dehydrateQuery(query, serializeData, shouldRedactErrors)] : []
1067
+ );
1068
+ return { mutations, queries };
1069
+ }
1070
+ function hydrate(client, dehydratedState, options) {
1071
+ var _a11, _b2, _c, _d;
1072
+ if (typeof dehydratedState !== "object" || dehydratedState === null) {
1073
+ return;
1074
+ }
1075
+ const mutationCache = client.getMutationCache();
1076
+ const queryCache = client.getQueryCache();
1077
+ const deserializeData = (_d = (_c = (_a11 = options == null ? void 0 : options.defaultOptions) == null ? void 0 : _a11.deserializeData) != null ? _c : (_b2 = client.getDefaultOptions().hydrate) == null ? void 0 : _b2.deserializeData) != null ? _d : defaultTransformerFn;
1078
+ const mutations = dehydratedState.mutations || [];
1079
+ const queries = dehydratedState.queries || [];
1080
+ mutations.forEach((_e) => {
1081
+ var _f = _e, { state } = _f, mutationOptions = __objRest(_f, ["state"]);
1082
+ var _a12, _b3;
1083
+ mutationCache.build(
1084
+ client,
1085
+ __spreadValues(__spreadValues(__spreadValues({}, (_a12 = client.getDefaultOptions().hydrate) == null ? void 0 : _a12.mutations), (_b3 = options == null ? void 0 : options.defaultOptions) == null ? void 0 : _b3.mutations), mutationOptions),
1086
+ state
1087
+ );
1088
+ });
1089
+ queries.forEach(
1090
+ ({ queryKey, state, queryHash, meta, promise, dehydratedAt }) => {
1091
+ var _b3, _c2;
1092
+ const syncData = promise ? tryResolveSync(promise) : void 0;
1093
+ const rawData = state.data === void 0 ? syncData == null ? void 0 : syncData.data : state.data;
1094
+ const data = rawData === void 0 ? rawData : deserializeData(rawData);
1095
+ let query = queryCache.get(queryHash);
1096
+ const existingQueryIsPending = (query == null ? void 0 : query.state.status) === "pending";
1097
+ const existingQueryIsFetching = (query == null ? void 0 : query.state.fetchStatus) === "fetching";
1098
+ if (query) {
1099
+ const hasNewerSyncData = syncData && // We only need this undefined check to handle older dehydration
1100
+ // payloads that might not have dehydratedAt
1101
+ dehydratedAt !== void 0 && dehydratedAt > query.state.dataUpdatedAt;
1102
+ if (state.dataUpdatedAt > query.state.dataUpdatedAt || hasNewerSyncData) {
1103
+ const _a12 = state, { fetchStatus: _ignored } = _a12, serializedState = __objRest(_a12, ["fetchStatus"]);
1104
+ query.setState(__spreadProps(__spreadValues({}, serializedState), {
1105
+ data
1106
+ }));
1107
+ }
1108
+ } else {
1109
+ query = queryCache.build(
1110
+ client,
1111
+ __spreadProps(__spreadValues(__spreadValues({}, (_b3 = client.getDefaultOptions().hydrate) == null ? void 0 : _b3.queries), (_c2 = options == null ? void 0 : options.defaultOptions) == null ? void 0 : _c2.queries), {
1112
+ queryKey,
1113
+ queryHash,
1114
+ meta
1115
+ }),
1116
+ // Reset fetch status to idle to avoid
1117
+ // query being stuck in fetching state upon hydration
1118
+ __spreadProps(__spreadValues({}, state), {
1119
+ data,
1120
+ fetchStatus: "idle",
1121
+ status: data !== void 0 ? "success" : state.status
1122
+ })
1123
+ );
1124
+ }
1125
+ if (promise && !existingQueryIsPending && !existingQueryIsFetching && // Only hydrate if dehydration is newer than any existing data,
1126
+ // this is always true for new queries
1127
+ (dehydratedAt === void 0 || dehydratedAt > query.state.dataUpdatedAt)) {
1128
+ query.fetch(void 0, {
1129
+ // RSC transformed promises are not thenable
1130
+ initialPromise: Promise.resolve(promise).then(deserializeData)
1131
+ }).catch(noop);
1132
+ }
1133
+ }
1134
+ );
1135
+ }
1136
+
1137
+ // node_modules/@tanstack/query-core/build/modern/queryObserver.js
1138
+ init_dirname();
1139
+ init_buffer();
1140
+ init_process();
1141
+
1142
+ // node_modules/@tanstack/query-core/build/modern/notifyManager.js
1143
+ init_dirname();
1144
+ init_buffer();
1145
+ init_process();
1146
+ var defaultScheduler = systemSetTimeoutZero;
1147
+ function createNotifyManager() {
1148
+ let queue = [];
1149
+ let transactions = 0;
1150
+ let notifyFn = (callback) => {
1151
+ callback();
1152
+ };
1153
+ let batchNotifyFn = (callback) => {
1154
+ callback();
1155
+ };
1156
+ let scheduleFn = defaultScheduler;
1157
+ const schedule = (callback) => {
1158
+ if (transactions) {
1159
+ queue.push(callback);
1160
+ } else {
1161
+ scheduleFn(() => {
1162
+ notifyFn(callback);
1163
+ });
1164
+ }
1165
+ };
1166
+ const flush = () => {
1167
+ const originalQueue = queue;
1168
+ queue = [];
1169
+ if (originalQueue.length) {
1170
+ scheduleFn(() => {
1171
+ batchNotifyFn(() => {
1172
+ originalQueue.forEach((callback) => {
1173
+ notifyFn(callback);
1174
+ });
1175
+ });
1176
+ });
1177
+ }
1178
+ };
1179
+ return {
1180
+ batch: (callback) => {
1181
+ let result;
1182
+ transactions++;
1183
+ try {
1184
+ result = callback();
1185
+ } finally {
1186
+ transactions--;
1187
+ if (!transactions) {
1188
+ flush();
1189
+ }
1190
+ }
1191
+ return result;
1192
+ },
1193
+ /**
1194
+ * All calls to the wrapped function will be batched.
1195
+ */
1196
+ batchCalls: (callback) => {
1197
+ return (...args) => {
1198
+ schedule(() => {
1199
+ callback(...args);
1200
+ });
1201
+ };
1202
+ },
1203
+ schedule,
1204
+ /**
1205
+ * Use this method to set a custom notify function.
1206
+ * This can be used to for example wrap notifications with `React.act` while running tests.
1207
+ */
1208
+ setNotifyFunction: (fn) => {
1209
+ notifyFn = fn;
1210
+ },
1211
+ /**
1212
+ * Use this method to set a custom function to batch notifications together into a single tick.
1213
+ * By default React Query will use the batch function provided by ReactDOM or React Native.
1214
+ */
1215
+ setBatchNotifyFunction: (fn) => {
1216
+ batchNotifyFn = fn;
1217
+ },
1218
+ setScheduler: (fn) => {
1219
+ scheduleFn = fn;
1220
+ }
1221
+ };
1222
+ }
1223
+ var notifyManager = createNotifyManager();
1224
+
1225
+ // node_modules/@tanstack/query-core/build/modern/query.js
1226
+ init_dirname();
1227
+ init_buffer();
1228
+ init_process();
1229
+
1230
+ // node_modules/@tanstack/query-core/build/modern/retryer.js
1231
+ init_dirname();
1232
+ init_buffer();
1233
+ init_process();
1234
+
1235
+ // node_modules/@tanstack/query-core/build/modern/onlineManager.js
1236
+ init_dirname();
1237
+ init_buffer();
1238
+ init_process();
1239
+ var _online, _cleanup2, _setup2, _a3;
1240
+ var OnlineManager = (_a3 = class extends Subscribable {
1241
+ constructor() {
1242
+ super();
1243
+ __privateAdd(this, _online, true);
1244
+ __privateAdd(this, _cleanup2, void 0);
1245
+ __privateAdd(this, _setup2, void 0);
1246
+ __privateSet(this, _setup2, (onOnline) => {
1247
+ if (typeof window !== "undefined" && window.addEventListener) {
1248
+ const onlineListener = () => onOnline(true);
1249
+ const offlineListener = () => onOnline(false);
1250
+ window.addEventListener("online", onlineListener, false);
1251
+ window.addEventListener("offline", offlineListener, false);
1252
+ return () => {
1253
+ window.removeEventListener("online", onlineListener);
1254
+ window.removeEventListener("offline", offlineListener);
1255
+ };
1256
+ }
1257
+ return;
1258
+ });
1259
+ }
1260
+ onSubscribe() {
1261
+ if (!__privateGet(this, _cleanup2)) {
1262
+ this.setEventListener(__privateGet(this, _setup2));
1263
+ }
1264
+ }
1265
+ onUnsubscribe() {
1266
+ var _a11;
1267
+ if (!this.hasListeners()) {
1268
+ (_a11 = __privateGet(this, _cleanup2)) == null ? void 0 : _a11.call(this);
1269
+ __privateSet(this, _cleanup2, void 0);
1270
+ }
1271
+ }
1272
+ setEventListener(setup) {
1273
+ var _a11;
1274
+ __privateSet(this, _setup2, setup);
1275
+ (_a11 = __privateGet(this, _cleanup2)) == null ? void 0 : _a11.call(this);
1276
+ __privateSet(this, _cleanup2, setup(this.setOnline.bind(this)));
1277
+ }
1278
+ setOnline(online) {
1279
+ const changed = __privateGet(this, _online) !== online;
1280
+ if (changed) {
1281
+ __privateSet(this, _online, online);
1282
+ this.listeners.forEach((listener) => {
1283
+ listener(online);
1284
+ });
1285
+ }
1286
+ }
1287
+ isOnline() {
1288
+ return __privateGet(this, _online);
1289
+ }
1290
+ }, _online = new WeakMap(), _cleanup2 = new WeakMap(), _setup2 = new WeakMap(), _a3);
1291
+ var onlineManager = new OnlineManager();
1292
+
1293
+ // node_modules/@tanstack/query-core/build/modern/retryer.js
1294
+ function defaultRetryDelay(failureCount) {
1295
+ return Math.min(1e3 * 2 ** failureCount, 3e4);
1296
+ }
1297
+ function canFetch(networkMode) {
1298
+ return (networkMode != null ? networkMode : "online") === "online" ? onlineManager.isOnline() : true;
1299
+ }
1300
+ var CancelledError = class extends Error {
1301
+ constructor(options) {
1302
+ super("CancelledError");
1303
+ this.revert = options == null ? void 0 : options.revert;
1304
+ this.silent = options == null ? void 0 : options.silent;
1305
+ }
1306
+ };
1307
+ function createRetryer(config) {
1308
+ let isRetryCancelled = false;
1309
+ let failureCount = 0;
1310
+ let continueFn;
1311
+ const thenable = pendingThenable();
1312
+ const isResolved = () => thenable.status !== "pending";
1313
+ const cancel = (cancelOptions) => {
1314
+ var _a11;
1315
+ if (!isResolved()) {
1316
+ const error = new CancelledError(cancelOptions);
1317
+ reject(error);
1318
+ (_a11 = config.onCancel) == null ? void 0 : _a11.call(config, error);
1319
+ }
1320
+ };
1321
+ const cancelRetry = () => {
1322
+ isRetryCancelled = true;
1323
+ };
1324
+ const continueRetry = () => {
1325
+ isRetryCancelled = false;
1326
+ };
1327
+ const canContinue = () => focusManager.isFocused() && (config.networkMode === "always" || onlineManager.isOnline()) && config.canRun();
1328
+ const canStart = () => canFetch(config.networkMode) && config.canRun();
1329
+ const resolve = (value) => {
1330
+ if (!isResolved()) {
1331
+ continueFn == null ? void 0 : continueFn();
1332
+ thenable.resolve(value);
1333
+ }
1334
+ };
1335
+ const reject = (value) => {
1336
+ if (!isResolved()) {
1337
+ continueFn == null ? void 0 : continueFn();
1338
+ thenable.reject(value);
1339
+ }
1340
+ };
1341
+ const pause = () => {
1342
+ return new Promise((continueResolve) => {
1343
+ var _a11;
1344
+ continueFn = (value) => {
1345
+ if (isResolved() || canContinue()) {
1346
+ continueResolve(value);
1347
+ }
1348
+ };
1349
+ (_a11 = config.onPause) == null ? void 0 : _a11.call(config);
1350
+ }).then(() => {
1351
+ var _a11;
1352
+ continueFn = void 0;
1353
+ if (!isResolved()) {
1354
+ (_a11 = config.onContinue) == null ? void 0 : _a11.call(config);
1355
+ }
1356
+ });
1357
+ };
1358
+ const run = () => {
1359
+ if (isResolved()) {
1360
+ return;
1361
+ }
1362
+ let promiseOrValue;
1363
+ const initialPromise = failureCount === 0 ? config.initialPromise : void 0;
1364
+ try {
1365
+ promiseOrValue = initialPromise != null ? initialPromise : config.fn();
1366
+ } catch (error) {
1367
+ promiseOrValue = Promise.reject(error);
1368
+ }
1369
+ Promise.resolve(promiseOrValue).then(resolve).catch((error) => {
1370
+ var _a11, _b2, _c;
1371
+ if (isResolved()) {
1372
+ return;
1373
+ }
1374
+ const retry = (_a11 = config.retry) != null ? _a11 : environmentManager.isServer() ? 0 : 3;
1375
+ const retryDelay = (_b2 = config.retryDelay) != null ? _b2 : defaultRetryDelay;
1376
+ const delay = typeof retryDelay === "function" ? retryDelay(failureCount, error) : retryDelay;
1377
+ const shouldRetry = retry === true || typeof retry === "number" && failureCount < retry || typeof retry === "function" && retry(failureCount, error);
1378
+ if (isRetryCancelled || !shouldRetry) {
1379
+ reject(error);
1380
+ return;
1381
+ }
1382
+ failureCount++;
1383
+ (_c = config.onFail) == null ? void 0 : _c.call(config, failureCount, error);
1384
+ sleep(delay).then(() => {
1385
+ return canContinue() ? void 0 : pause();
1386
+ }).then(() => {
1387
+ if (isRetryCancelled) {
1388
+ reject(error);
1389
+ } else {
1390
+ run();
1391
+ }
1392
+ });
1393
+ });
1394
+ };
1395
+ return {
1396
+ promise: thenable,
1397
+ status: () => thenable.status,
1398
+ cancel,
1399
+ continue: () => {
1400
+ continueFn == null ? void 0 : continueFn();
1401
+ return thenable;
1402
+ },
1403
+ cancelRetry,
1404
+ continueRetry,
1405
+ canStart,
1406
+ start: () => {
1407
+ if (canStart()) {
1408
+ run();
1409
+ } else {
1410
+ pause().then(run);
1411
+ }
1412
+ return thenable;
1413
+ }
1414
+ };
1415
+ }
1416
+
1417
+ // node_modules/@tanstack/query-core/build/modern/removable.js
1418
+ init_dirname();
1419
+ init_buffer();
1420
+ init_process();
1421
+ var _gcTimeout, _a4;
1422
+ var Removable = (_a4 = class {
1423
+ constructor() {
1424
+ __privateAdd(this, _gcTimeout, void 0);
1425
+ }
1426
+ destroy() {
1427
+ this.clearGcTimeout();
1428
+ }
1429
+ scheduleGc() {
1430
+ this.clearGcTimeout();
1431
+ if (isValidTimeout(this.gcTime)) {
1432
+ __privateSet(this, _gcTimeout, timeoutManager.setTimeout(() => {
1433
+ this.optionalRemove();
1434
+ }, this.gcTime));
1435
+ }
1436
+ }
1437
+ updateGcTime(newGcTime) {
1438
+ this.gcTime = Math.max(
1439
+ this.gcTime || 0,
1440
+ newGcTime != null ? newGcTime : environmentManager.isServer() ? Infinity : 5 * 60 * 1e3
1441
+ );
1442
+ }
1443
+ clearGcTimeout() {
1444
+ if (__privateGet(this, _gcTimeout)) {
1445
+ timeoutManager.clearTimeout(__privateGet(this, _gcTimeout));
1446
+ __privateSet(this, _gcTimeout, void 0);
1447
+ }
1448
+ }
1449
+ }, _gcTimeout = new WeakMap(), _a4);
1450
+
1451
+ // node_modules/@tanstack/query-core/build/modern/query.js
1452
+ var _initialState, _revertState, _cache, _client, _retryer, _defaultOptions, _abortSignalConsumed, _isInitialPausedFetch, isInitialPausedFetch_fn, _dispatch, dispatch_fn, _a5;
1453
+ var Query = (_a5 = class extends Removable {
1454
+ constructor(config) {
1455
+ var _a11;
1456
+ super();
1457
+ __privateAdd(this, _isInitialPausedFetch);
1458
+ __privateAdd(this, _dispatch);
1459
+ __privateAdd(this, _initialState, void 0);
1460
+ __privateAdd(this, _revertState, void 0);
1461
+ __privateAdd(this, _cache, void 0);
1462
+ __privateAdd(this, _client, void 0);
1463
+ __privateAdd(this, _retryer, void 0);
1464
+ __privateAdd(this, _defaultOptions, void 0);
1465
+ __privateAdd(this, _abortSignalConsumed, void 0);
1466
+ __privateSet(this, _abortSignalConsumed, false);
1467
+ __privateSet(this, _defaultOptions, config.defaultOptions);
1468
+ this.setOptions(config.options);
1469
+ this.observers = [];
1470
+ __privateSet(this, _client, config.client);
1471
+ __privateSet(this, _cache, __privateGet(this, _client).getQueryCache());
1472
+ this.queryKey = config.queryKey;
1473
+ this.queryHash = config.queryHash;
1474
+ __privateSet(this, _initialState, getDefaultState(this.options));
1475
+ this.state = (_a11 = config.state) != null ? _a11 : __privateGet(this, _initialState);
1476
+ this.scheduleGc();
1477
+ }
1478
+ get meta() {
1479
+ return this.options.meta;
1480
+ }
1481
+ get promise() {
1482
+ var _a11;
1483
+ return (_a11 = __privateGet(this, _retryer)) == null ? void 0 : _a11.promise;
1484
+ }
1485
+ setOptions(options) {
1486
+ this.options = __spreadValues(__spreadValues({}, __privateGet(this, _defaultOptions)), options);
1487
+ this.updateGcTime(this.options.gcTime);
1488
+ if (this.state && this.state.data === void 0) {
1489
+ const defaultState = getDefaultState(this.options);
1490
+ if (defaultState.data !== void 0) {
1491
+ this.setState(
1492
+ successState(defaultState.data, defaultState.dataUpdatedAt)
1493
+ );
1494
+ __privateSet(this, _initialState, defaultState);
1495
+ }
1496
+ }
1497
+ }
1498
+ optionalRemove() {
1499
+ if (!this.observers.length && this.state.fetchStatus === "idle") {
1500
+ __privateGet(this, _cache).remove(this);
1501
+ }
1502
+ }
1503
+ setData(newData, options) {
1504
+ const data = replaceData(this.state.data, newData, this.options);
1505
+ __privateMethod(this, _dispatch, dispatch_fn).call(this, {
1506
+ data,
1507
+ type: "success",
1508
+ dataUpdatedAt: options == null ? void 0 : options.updatedAt,
1509
+ manual: options == null ? void 0 : options.manual
1510
+ });
1511
+ return data;
1512
+ }
1513
+ setState(state, setStateOptions) {
1514
+ __privateMethod(this, _dispatch, dispatch_fn).call(this, { type: "setState", state, setStateOptions });
1515
+ }
1516
+ cancel(options) {
1517
+ var _a11, _b2;
1518
+ const promise = (_a11 = __privateGet(this, _retryer)) == null ? void 0 : _a11.promise;
1519
+ (_b2 = __privateGet(this, _retryer)) == null ? void 0 : _b2.cancel(options);
1520
+ return promise ? promise.then(noop).catch(noop) : Promise.resolve();
1521
+ }
1522
+ destroy() {
1523
+ super.destroy();
1524
+ this.cancel({ silent: true });
1525
+ }
1526
+ get resetState() {
1527
+ return __privateGet(this, _initialState);
1528
+ }
1529
+ reset() {
1530
+ this.destroy();
1531
+ this.setState(this.resetState);
1532
+ }
1533
+ isActive() {
1534
+ return this.observers.some(
1535
+ (observer) => resolveEnabled(observer.options.enabled, this) !== false
1536
+ );
1537
+ }
1538
+ isDisabled() {
1539
+ if (this.getObserversCount() > 0) {
1540
+ return !this.isActive();
1541
+ }
1542
+ return this.options.queryFn === skipToken || !this.isFetched();
1543
+ }
1544
+ isFetched() {
1545
+ return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
1546
+ }
1547
+ isStatic() {
1548
+ if (this.getObserversCount() > 0) {
1549
+ return this.observers.some(
1550
+ (observer) => resolveStaleTime(observer.options.staleTime, this) === "static"
1551
+ );
1552
+ }
1553
+ return false;
1554
+ }
1555
+ isStale() {
1556
+ if (this.getObserversCount() > 0) {
1557
+ return this.observers.some(
1558
+ (observer) => observer.getCurrentResult().isStale
1559
+ );
1560
+ }
1561
+ return this.state.data === void 0 || this.state.isInvalidated;
1562
+ }
1563
+ isStaleByTime(staleTime = 0) {
1564
+ if (this.state.data === void 0) {
1565
+ return true;
1566
+ }
1567
+ if (staleTime === "static") {
1568
+ return false;
1569
+ }
1570
+ if (this.state.isInvalidated) {
1571
+ return true;
1572
+ }
1573
+ return !timeUntilStale(this.state.dataUpdatedAt, staleTime);
1574
+ }
1575
+ onFocus() {
1576
+ var _a11;
1577
+ const observer = this.observers.find((x) => x.shouldFetchOnWindowFocus());
1578
+ observer == null ? void 0 : observer.refetch({ cancelRefetch: false });
1579
+ (_a11 = __privateGet(this, _retryer)) == null ? void 0 : _a11.continue();
1580
+ }
1581
+ onOnline() {
1582
+ var _a11;
1583
+ const observer = this.observers.find((x) => x.shouldFetchOnReconnect());
1584
+ observer == null ? void 0 : observer.refetch({ cancelRefetch: false });
1585
+ (_a11 = __privateGet(this, _retryer)) == null ? void 0 : _a11.continue();
1586
+ }
1587
+ addObserver(observer) {
1588
+ if (!this.observers.includes(observer)) {
1589
+ this.observers.push(observer);
1590
+ this.clearGcTimeout();
1591
+ __privateGet(this, _cache).notify({ type: "observerAdded", query: this, observer });
1592
+ }
1593
+ }
1594
+ removeObserver(observer) {
1595
+ if (this.observers.includes(observer)) {
1596
+ this.observers = this.observers.filter((x) => x !== observer);
1597
+ if (!this.observers.length) {
1598
+ if (__privateGet(this, _retryer)) {
1599
+ if (__privateGet(this, _abortSignalConsumed) || __privateMethod(this, _isInitialPausedFetch, isInitialPausedFetch_fn).call(this)) {
1600
+ __privateGet(this, _retryer).cancel({ revert: true });
1601
+ } else {
1602
+ __privateGet(this, _retryer).cancelRetry();
1603
+ }
1604
+ }
1605
+ this.scheduleGc();
1606
+ }
1607
+ __privateGet(this, _cache).notify({ type: "observerRemoved", query: this, observer });
1608
+ }
1609
+ }
1610
+ getObserversCount() {
1611
+ return this.observers.length;
1612
+ }
1613
+ invalidate() {
1614
+ if (!this.state.isInvalidated) {
1615
+ __privateMethod(this, _dispatch, dispatch_fn).call(this, { type: "invalidate" });
1616
+ }
1617
+ }
1618
+ async fetch(options, fetchOptions) {
1619
+ var _a11, _b2, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
1620
+ if (this.state.fetchStatus !== "idle" && // If the promise in the retryer is already rejected, we have to definitely
1621
+ // re-start the fetch; there is a chance that the query is still in a
1622
+ // pending state when that happens
1623
+ ((_a11 = __privateGet(this, _retryer)) == null ? void 0 : _a11.status()) !== "rejected") {
1624
+ if (this.state.data !== void 0 && (fetchOptions == null ? void 0 : fetchOptions.cancelRefetch)) {
1625
+ this.cancel({ silent: true });
1626
+ } else if (__privateGet(this, _retryer)) {
1627
+ __privateGet(this, _retryer).continueRetry();
1628
+ return __privateGet(this, _retryer).promise;
1629
+ }
1630
+ }
1631
+ if (options) {
1632
+ this.setOptions(options);
1633
+ }
1634
+ if (!this.options.queryFn) {
1635
+ const observer = this.observers.find((x) => x.options.queryFn);
1636
+ if (observer) {
1637
+ this.setOptions(observer.options);
1638
+ }
1639
+ }
1640
+ if (false) {
1641
+ if (!Array.isArray(this.options.queryKey)) {
1642
+ console.error(
1643
+ `As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']`
1644
+ );
1645
+ }
1646
+ }
1647
+ const abortController = new AbortController();
1648
+ const addSignalProperty = (object) => {
1649
+ Object.defineProperty(object, "signal", {
1650
+ enumerable: true,
1651
+ get: () => {
1652
+ __privateSet(this, _abortSignalConsumed, true);
1653
+ return abortController.signal;
1654
+ }
1655
+ });
1656
+ };
1657
+ const fetchFn = () => {
1658
+ const queryFn = ensureQueryFn(this.options, fetchOptions);
1659
+ const createQueryFnContext = () => {
1660
+ const queryFnContext2 = {
1661
+ client: __privateGet(this, _client),
1662
+ queryKey: this.queryKey,
1663
+ meta: this.meta
1664
+ };
1665
+ addSignalProperty(queryFnContext2);
1666
+ return queryFnContext2;
1667
+ };
1668
+ const queryFnContext = createQueryFnContext();
1669
+ __privateSet(this, _abortSignalConsumed, false);
1670
+ if (this.options.persister) {
1671
+ return this.options.persister(
1672
+ queryFn,
1673
+ queryFnContext,
1674
+ this
1675
+ );
1676
+ }
1677
+ return queryFn(queryFnContext);
1678
+ };
1679
+ const createFetchContext = () => {
1680
+ const context2 = {
1681
+ fetchOptions,
1682
+ options: this.options,
1683
+ queryKey: this.queryKey,
1684
+ client: __privateGet(this, _client),
1685
+ state: this.state,
1686
+ fetchFn
1687
+ };
1688
+ addSignalProperty(context2);
1689
+ return context2;
1690
+ };
1691
+ const context = createFetchContext();
1692
+ (_b2 = this.options.behavior) == null ? void 0 : _b2.onFetch(context, this);
1693
+ __privateSet(this, _revertState, this.state);
1694
+ if (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((_c = context.fetchOptions) == null ? void 0 : _c.meta)) {
1695
+ __privateMethod(this, _dispatch, dispatch_fn).call(this, { type: "fetch", meta: (_d = context.fetchOptions) == null ? void 0 : _d.meta });
1696
+ }
1697
+ __privateSet(this, _retryer, createRetryer({
1698
+ initialPromise: fetchOptions == null ? void 0 : fetchOptions.initialPromise,
1699
+ fn: context.fetchFn,
1700
+ onCancel: (error) => {
1701
+ if (error instanceof CancelledError && error.revert) {
1702
+ this.setState(__spreadProps(__spreadValues({}, __privateGet(this, _revertState)), {
1703
+ fetchStatus: "idle"
1704
+ }));
1705
+ }
1706
+ abortController.abort();
1707
+ },
1708
+ onFail: (failureCount, error) => {
1709
+ __privateMethod(this, _dispatch, dispatch_fn).call(this, { type: "failed", failureCount, error });
1710
+ },
1711
+ onPause: () => {
1712
+ __privateMethod(this, _dispatch, dispatch_fn).call(this, { type: "pause" });
1713
+ },
1714
+ onContinue: () => {
1715
+ __privateMethod(this, _dispatch, dispatch_fn).call(this, { type: "continue" });
1716
+ },
1717
+ retry: context.options.retry,
1718
+ retryDelay: context.options.retryDelay,
1719
+ networkMode: context.options.networkMode,
1720
+ canRun: () => true
1721
+ }));
1722
+ try {
1723
+ const data = await __privateGet(this, _retryer).start();
1724
+ if (data === void 0) {
1725
+ if (false) {
1726
+ console.error(
1727
+ `Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`
1728
+ );
1729
+ }
1730
+ throw new Error(`${this.queryHash} data is undefined`);
1731
+ }
1732
+ this.setData(data);
1733
+ (_f = (_e = __privateGet(this, _cache).config).onSuccess) == null ? void 0 : _f.call(_e, data, this);
1734
+ (_h = (_g = __privateGet(this, _cache).config).onSettled) == null ? void 0 : _h.call(
1735
+ _g,
1736
+ data,
1737
+ this.state.error,
1738
+ this
1739
+ );
1740
+ return data;
1741
+ } catch (error) {
1742
+ if (error instanceof CancelledError) {
1743
+ if (error.silent) {
1744
+ return __privateGet(this, _retryer).promise;
1745
+ } else if (error.revert) {
1746
+ if (this.state.data === void 0) {
1747
+ throw error;
1748
+ }
1749
+ return this.state.data;
1750
+ }
1751
+ }
1752
+ __privateMethod(this, _dispatch, dispatch_fn).call(this, {
1753
+ type: "error",
1754
+ error
1755
+ });
1756
+ (_j = (_i = __privateGet(this, _cache).config).onError) == null ? void 0 : _j.call(
1757
+ _i,
1758
+ error,
1759
+ this
1760
+ );
1761
+ (_l = (_k = __privateGet(this, _cache).config).onSettled) == null ? void 0 : _l.call(
1762
+ _k,
1763
+ this.state.data,
1764
+ error,
1765
+ this
1766
+ );
1767
+ throw error;
1768
+ } finally {
1769
+ this.scheduleGc();
1770
+ }
1771
+ }
1772
+ }, _initialState = new WeakMap(), _revertState = new WeakMap(), _cache = new WeakMap(), _client = new WeakMap(), _retryer = new WeakMap(), _defaultOptions = new WeakMap(), _abortSignalConsumed = new WeakMap(), _isInitialPausedFetch = new WeakSet(), isInitialPausedFetch_fn = function() {
1773
+ return this.state.fetchStatus === "paused" && this.state.status === "pending";
1774
+ }, _dispatch = new WeakSet(), dispatch_fn = function(action) {
1775
+ const reducer = (state) => {
1776
+ var _a11;
1777
+ switch (action.type) {
1778
+ case "failed":
1779
+ return __spreadProps(__spreadValues({}, state), {
1780
+ fetchFailureCount: action.failureCount,
1781
+ fetchFailureReason: action.error
1782
+ });
1783
+ case "pause":
1784
+ return __spreadProps(__spreadValues({}, state), {
1785
+ fetchStatus: "paused"
1786
+ });
1787
+ case "continue":
1788
+ return __spreadProps(__spreadValues({}, state), {
1789
+ fetchStatus: "fetching"
1790
+ });
1791
+ case "fetch":
1792
+ return __spreadProps(__spreadValues(__spreadValues({}, state), fetchState(state.data, this.options)), {
1793
+ fetchMeta: (_a11 = action.meta) != null ? _a11 : null
1794
+ });
1795
+ case "success":
1796
+ const newState = __spreadValues(__spreadProps(__spreadValues(__spreadValues({}, state), successState(action.data, action.dataUpdatedAt)), {
1797
+ dataUpdateCount: state.dataUpdateCount + 1
1798
+ }), !action.manual && {
1799
+ fetchStatus: "idle",
1800
+ fetchFailureCount: 0,
1801
+ fetchFailureReason: null
1802
+ });
1803
+ __privateSet(this, _revertState, action.manual ? newState : void 0);
1804
+ return newState;
1805
+ case "error":
1806
+ const error = action.error;
1807
+ return __spreadProps(__spreadValues({}, state), {
1808
+ error,
1809
+ errorUpdateCount: state.errorUpdateCount + 1,
1810
+ errorUpdatedAt: Date.now(),
1811
+ fetchFailureCount: state.fetchFailureCount + 1,
1812
+ fetchFailureReason: error,
1813
+ fetchStatus: "idle",
1814
+ status: "error",
1815
+ // flag existing data as invalidated if we get a background error
1816
+ // note that "no data" always means stale so we can set unconditionally here
1817
+ isInvalidated: true
1818
+ });
1819
+ case "invalidate":
1820
+ return __spreadProps(__spreadValues({}, state), {
1821
+ isInvalidated: true
1822
+ });
1823
+ case "setState":
1824
+ return __spreadValues(__spreadValues({}, state), action.state);
1825
+ }
1826
+ };
1827
+ this.state = reducer(this.state);
1828
+ notifyManager.batch(() => {
1829
+ this.observers.forEach((observer) => {
1830
+ observer.onQueryUpdate();
1831
+ });
1832
+ __privateGet(this, _cache).notify({ query: this, type: "updated", action });
1833
+ });
1834
+ }, _a5);
1835
+ function fetchState(data, options) {
1836
+ return __spreadValues({
1837
+ fetchFailureCount: 0,
1838
+ fetchFailureReason: null,
1839
+ fetchStatus: canFetch(options.networkMode) ? "fetching" : "paused"
1840
+ }, data === void 0 && {
1841
+ error: null,
1842
+ status: "pending"
1843
+ });
1844
+ }
1845
+ function successState(data, dataUpdatedAt) {
1846
+ return {
1847
+ data,
1848
+ dataUpdatedAt: dataUpdatedAt != null ? dataUpdatedAt : Date.now(),
1849
+ error: null,
1850
+ isInvalidated: false,
1851
+ status: "success"
1852
+ };
1853
+ }
1854
+ function getDefaultState(options) {
1855
+ const data = typeof options.initialData === "function" ? options.initialData() : options.initialData;
1856
+ const hasData = data !== void 0;
1857
+ const initialDataUpdatedAt = hasData ? typeof options.initialDataUpdatedAt === "function" ? options.initialDataUpdatedAt() : options.initialDataUpdatedAt : 0;
1858
+ return {
1859
+ data,
1860
+ dataUpdateCount: 0,
1861
+ dataUpdatedAt: hasData ? initialDataUpdatedAt != null ? initialDataUpdatedAt : Date.now() : 0,
1862
+ error: null,
1863
+ errorUpdateCount: 0,
1864
+ errorUpdatedAt: 0,
1865
+ fetchFailureCount: 0,
1866
+ fetchFailureReason: null,
1867
+ fetchMeta: null,
1868
+ isInvalidated: false,
1869
+ status: hasData ? "success" : "pending",
1870
+ fetchStatus: "idle"
1871
+ };
1872
+ }
1873
+
1874
+ // node_modules/@tanstack/query-core/build/modern/queryObserver.js
1875
+ var _client2, _currentQuery, _currentQueryInitialState, _currentResult, _currentResultState, _currentResultOptions, _currentThenable, _selectError, _selectFn, _selectResult, _lastQueryWithDefinedData, _staleTimeoutId, _refetchIntervalId, _currentRefetchInterval, _trackedProps, _executeFetch, executeFetch_fn, _updateStaleTimeout, updateStaleTimeout_fn, _computeRefetchInterval, computeRefetchInterval_fn, _updateRefetchInterval, updateRefetchInterval_fn, _updateTimers, updateTimers_fn, _clearStaleTimeout, clearStaleTimeout_fn, _clearRefetchInterval, clearRefetchInterval_fn, _updateQuery, updateQuery_fn, _notify, notify_fn, _b;
1876
+ var QueryObserver = (_b = class extends Subscribable {
1877
+ constructor(client, options) {
1878
+ super();
1879
+ __privateAdd(this, _executeFetch);
1880
+ __privateAdd(this, _updateStaleTimeout);
1881
+ __privateAdd(this, _computeRefetchInterval);
1882
+ __privateAdd(this, _updateRefetchInterval);
1883
+ __privateAdd(this, _updateTimers);
1884
+ __privateAdd(this, _clearStaleTimeout);
1885
+ __privateAdd(this, _clearRefetchInterval);
1886
+ __privateAdd(this, _updateQuery);
1887
+ __privateAdd(this, _notify);
1888
+ __privateAdd(this, _client2, void 0);
1889
+ __privateAdd(this, _currentQuery, void 0);
1890
+ __privateAdd(this, _currentQueryInitialState, void 0);
1891
+ __privateAdd(this, _currentResult, void 0);
1892
+ __privateAdd(this, _currentResultState, void 0);
1893
+ __privateAdd(this, _currentResultOptions, void 0);
1894
+ __privateAdd(this, _currentThenable, void 0);
1895
+ __privateAdd(this, _selectError, void 0);
1896
+ __privateAdd(this, _selectFn, void 0);
1897
+ __privateAdd(this, _selectResult, void 0);
1898
+ // This property keeps track of the last query with defined data.
1899
+ // It will be used to pass the previous data and query to the placeholder function between renders.
1900
+ __privateAdd(this, _lastQueryWithDefinedData, void 0);
1901
+ __privateAdd(this, _staleTimeoutId, void 0);
1902
+ __privateAdd(this, _refetchIntervalId, void 0);
1903
+ __privateAdd(this, _currentRefetchInterval, void 0);
1904
+ __privateAdd(this, _trackedProps, /* @__PURE__ */ new Set());
1905
+ this.options = options;
1906
+ __privateSet(this, _client2, client);
1907
+ __privateSet(this, _selectError, null);
1908
+ __privateSet(this, _currentThenable, pendingThenable());
1909
+ this.bindMethods();
1910
+ this.setOptions(options);
1911
+ }
1912
+ bindMethods() {
1913
+ this.refetch = this.refetch.bind(this);
1914
+ }
1915
+ onSubscribe() {
1916
+ if (this.listeners.size === 1) {
1917
+ __privateGet(this, _currentQuery).addObserver(this);
1918
+ if (shouldFetchOnMount(__privateGet(this, _currentQuery), this.options)) {
1919
+ __privateMethod(this, _executeFetch, executeFetch_fn).call(this);
1920
+ } else {
1921
+ this.updateResult();
1922
+ }
1923
+ __privateMethod(this, _updateTimers, updateTimers_fn).call(this);
1924
+ }
1925
+ }
1926
+ onUnsubscribe() {
1927
+ if (!this.hasListeners()) {
1928
+ this.destroy();
1929
+ }
1930
+ }
1931
+ shouldFetchOnReconnect() {
1932
+ return shouldFetchOn(
1933
+ __privateGet(this, _currentQuery),
1934
+ this.options,
1935
+ this.options.refetchOnReconnect
1936
+ );
1937
+ }
1938
+ shouldFetchOnWindowFocus() {
1939
+ return shouldFetchOn(
1940
+ __privateGet(this, _currentQuery),
1941
+ this.options,
1942
+ this.options.refetchOnWindowFocus
1943
+ );
1944
+ }
1945
+ destroy() {
1946
+ this.listeners = /* @__PURE__ */ new Set();
1947
+ __privateMethod(this, _clearStaleTimeout, clearStaleTimeout_fn).call(this);
1948
+ __privateMethod(this, _clearRefetchInterval, clearRefetchInterval_fn).call(this);
1949
+ __privateGet(this, _currentQuery).removeObserver(this);
1950
+ }
1951
+ setOptions(options) {
1952
+ const prevOptions = this.options;
1953
+ const prevQuery = __privateGet(this, _currentQuery);
1954
+ this.options = __privateGet(this, _client2).defaultQueryOptions(options);
1955
+ if (this.options.enabled !== void 0 && typeof this.options.enabled !== "boolean" && typeof this.options.enabled !== "function" && typeof resolveEnabled(this.options.enabled, __privateGet(this, _currentQuery)) !== "boolean") {
1956
+ throw new Error(
1957
+ "Expected enabled to be a boolean or a callback that returns a boolean"
1958
+ );
1959
+ }
1960
+ __privateMethod(this, _updateQuery, updateQuery_fn).call(this);
1961
+ __privateGet(this, _currentQuery).setOptions(this.options);
1962
+ if (prevOptions._defaulted && !shallowEqualObjects(this.options, prevOptions)) {
1963
+ __privateGet(this, _client2).getQueryCache().notify({
1964
+ type: "observerOptionsUpdated",
1965
+ query: __privateGet(this, _currentQuery),
1966
+ observer: this
1967
+ });
1968
+ }
1969
+ const mounted = this.hasListeners();
1970
+ if (mounted && shouldFetchOptionally(
1971
+ __privateGet(this, _currentQuery),
1972
+ prevQuery,
1973
+ this.options,
1974
+ prevOptions
1975
+ )) {
1976
+ __privateMethod(this, _executeFetch, executeFetch_fn).call(this);
1977
+ }
1978
+ this.updateResult();
1979
+ if (mounted && (__privateGet(this, _currentQuery) !== prevQuery || resolveEnabled(this.options.enabled, __privateGet(this, _currentQuery)) !== resolveEnabled(prevOptions.enabled, __privateGet(this, _currentQuery)) || resolveStaleTime(this.options.staleTime, __privateGet(this, _currentQuery)) !== resolveStaleTime(prevOptions.staleTime, __privateGet(this, _currentQuery)))) {
1980
+ __privateMethod(this, _updateStaleTimeout, updateStaleTimeout_fn).call(this);
1981
+ }
1982
+ const nextRefetchInterval = __privateMethod(this, _computeRefetchInterval, computeRefetchInterval_fn).call(this);
1983
+ if (mounted && (__privateGet(this, _currentQuery) !== prevQuery || resolveEnabled(this.options.enabled, __privateGet(this, _currentQuery)) !== resolveEnabled(prevOptions.enabled, __privateGet(this, _currentQuery)) || nextRefetchInterval !== __privateGet(this, _currentRefetchInterval))) {
1984
+ __privateMethod(this, _updateRefetchInterval, updateRefetchInterval_fn).call(this, nextRefetchInterval);
1985
+ }
1986
+ }
1987
+ getOptimisticResult(options) {
1988
+ const query = __privateGet(this, _client2).getQueryCache().build(__privateGet(this, _client2), options);
1989
+ const result = this.createResult(query, options);
1990
+ if (shouldAssignObserverCurrentProperties(this, result)) {
1991
+ __privateSet(this, _currentResult, result);
1992
+ __privateSet(this, _currentResultOptions, this.options);
1993
+ __privateSet(this, _currentResultState, __privateGet(this, _currentQuery).state);
1994
+ }
1995
+ return result;
1996
+ }
1997
+ getCurrentResult() {
1998
+ return __privateGet(this, _currentResult);
1999
+ }
2000
+ trackResult(result, onPropTracked) {
2001
+ return new Proxy(result, {
2002
+ get: (target, key) => {
2003
+ this.trackProp(key);
2004
+ onPropTracked == null ? void 0 : onPropTracked(key);
2005
+ if (key === "promise") {
2006
+ this.trackProp("data");
2007
+ if (!this.options.experimental_prefetchInRender && __privateGet(this, _currentThenable).status === "pending") {
2008
+ __privateGet(this, _currentThenable).reject(
2009
+ new Error(
2010
+ "experimental_prefetchInRender feature flag is not enabled"
2011
+ )
2012
+ );
2013
+ }
2014
+ }
2015
+ return Reflect.get(target, key);
2016
+ }
2017
+ });
2018
+ }
2019
+ trackProp(key) {
2020
+ __privateGet(this, _trackedProps).add(key);
2021
+ }
2022
+ getCurrentQuery() {
2023
+ return __privateGet(this, _currentQuery);
2024
+ }
2025
+ refetch(_a11 = {}) {
2026
+ var options = __objRest(_a11, []);
2027
+ return this.fetch(__spreadValues({}, options));
2028
+ }
2029
+ fetchOptimistic(options) {
2030
+ const defaultedOptions = __privateGet(this, _client2).defaultQueryOptions(options);
2031
+ const query = __privateGet(this, _client2).getQueryCache().build(__privateGet(this, _client2), defaultedOptions);
2032
+ return query.fetch().then(() => this.createResult(query, defaultedOptions));
2033
+ }
2034
+ fetch(fetchOptions) {
2035
+ var _a11;
2036
+ return __privateMethod(this, _executeFetch, executeFetch_fn).call(this, __spreadProps(__spreadValues({}, fetchOptions), {
2037
+ cancelRefetch: (_a11 = fetchOptions.cancelRefetch) != null ? _a11 : true
2038
+ })).then(() => {
2039
+ this.updateResult();
2040
+ return __privateGet(this, _currentResult);
2041
+ });
2042
+ }
2043
+ createResult(query, options) {
2044
+ var _a11;
2045
+ const prevQuery = __privateGet(this, _currentQuery);
2046
+ const prevOptions = this.options;
2047
+ const prevResult = __privateGet(this, _currentResult);
2048
+ const prevResultState = __privateGet(this, _currentResultState);
2049
+ const prevResultOptions = __privateGet(this, _currentResultOptions);
2050
+ const queryChange = query !== prevQuery;
2051
+ const queryInitialState = queryChange ? query.state : __privateGet(this, _currentQueryInitialState);
2052
+ const { state } = query;
2053
+ let newState = __spreadValues({}, state);
2054
+ let isPlaceholderData = false;
2055
+ let data;
2056
+ if (options._optimisticResults) {
2057
+ const mounted = this.hasListeners();
2058
+ const fetchOnMount = !mounted && shouldFetchOnMount(query, options);
2059
+ const fetchOptionally = mounted && shouldFetchOptionally(query, prevQuery, options, prevOptions);
2060
+ if (fetchOnMount || fetchOptionally) {
2061
+ newState = __spreadValues(__spreadValues({}, newState), fetchState(state.data, query.options));
2062
+ }
2063
+ if (options._optimisticResults === "isRestoring") {
2064
+ newState.fetchStatus = "idle";
2065
+ }
2066
+ }
2067
+ let { error, errorUpdatedAt, status } = newState;
2068
+ data = newState.data;
2069
+ let skipSelect = false;
2070
+ if (options.placeholderData !== void 0 && data === void 0 && status === "pending") {
2071
+ let placeholderData;
2072
+ if ((prevResult == null ? void 0 : prevResult.isPlaceholderData) && options.placeholderData === (prevResultOptions == null ? void 0 : prevResultOptions.placeholderData)) {
2073
+ placeholderData = prevResult.data;
2074
+ skipSelect = true;
2075
+ } else {
2076
+ placeholderData = typeof options.placeholderData === "function" ? options.placeholderData(
2077
+ (_a11 = __privateGet(this, _lastQueryWithDefinedData)) == null ? void 0 : _a11.state.data,
2078
+ __privateGet(this, _lastQueryWithDefinedData)
2079
+ ) : options.placeholderData;
2080
+ }
2081
+ if (placeholderData !== void 0) {
2082
+ status = "success";
2083
+ data = replaceData(
2084
+ prevResult == null ? void 0 : prevResult.data,
2085
+ placeholderData,
2086
+ options
2087
+ );
2088
+ isPlaceholderData = true;
2089
+ }
2090
+ }
2091
+ if (options.select && data !== void 0 && !skipSelect) {
2092
+ if (prevResult && data === (prevResultState == null ? void 0 : prevResultState.data) && options.select === __privateGet(this, _selectFn)) {
2093
+ data = __privateGet(this, _selectResult);
2094
+ } else {
2095
+ try {
2096
+ __privateSet(this, _selectFn, options.select);
2097
+ data = options.select(data);
2098
+ data = replaceData(prevResult == null ? void 0 : prevResult.data, data, options);
2099
+ __privateSet(this, _selectResult, data);
2100
+ __privateSet(this, _selectError, null);
2101
+ } catch (selectError) {
2102
+ __privateSet(this, _selectError, selectError);
2103
+ }
2104
+ }
2105
+ }
2106
+ if (__privateGet(this, _selectError)) {
2107
+ error = __privateGet(this, _selectError);
2108
+ data = __privateGet(this, _selectResult);
2109
+ errorUpdatedAt = Date.now();
2110
+ status = "error";
2111
+ }
2112
+ const isFetching = newState.fetchStatus === "fetching";
2113
+ const isPending = status === "pending";
2114
+ const isError = status === "error";
2115
+ const isLoading = isPending && isFetching;
2116
+ const hasData = data !== void 0;
2117
+ const result = {
2118
+ status,
2119
+ fetchStatus: newState.fetchStatus,
2120
+ isPending,
2121
+ isSuccess: status === "success",
2122
+ isError,
2123
+ isInitialLoading: isLoading,
2124
+ isLoading,
2125
+ data,
2126
+ dataUpdatedAt: newState.dataUpdatedAt,
2127
+ error,
2128
+ errorUpdatedAt,
2129
+ failureCount: newState.fetchFailureCount,
2130
+ failureReason: newState.fetchFailureReason,
2131
+ errorUpdateCount: newState.errorUpdateCount,
2132
+ isFetched: query.isFetched(),
2133
+ isFetchedAfterMount: newState.dataUpdateCount > queryInitialState.dataUpdateCount || newState.errorUpdateCount > queryInitialState.errorUpdateCount,
2134
+ isFetching,
2135
+ isRefetching: isFetching && !isPending,
2136
+ isLoadingError: isError && !hasData,
2137
+ isPaused: newState.fetchStatus === "paused",
2138
+ isPlaceholderData,
2139
+ isRefetchError: isError && hasData,
2140
+ isStale: isStale(query, options),
2141
+ refetch: this.refetch,
2142
+ promise: __privateGet(this, _currentThenable),
2143
+ isEnabled: resolveEnabled(options.enabled, query) !== false
2144
+ };
2145
+ const nextResult = result;
2146
+ if (this.options.experimental_prefetchInRender) {
2147
+ const hasResultData = nextResult.data !== void 0;
2148
+ const isErrorWithoutData = nextResult.status === "error" && !hasResultData;
2149
+ const finalizeThenableIfPossible = (thenable) => {
2150
+ if (isErrorWithoutData) {
2151
+ thenable.reject(nextResult.error);
2152
+ } else if (hasResultData) {
2153
+ thenable.resolve(nextResult.data);
2154
+ }
2155
+ };
2156
+ const recreateThenable = () => {
2157
+ const pending = __privateSet(this, _currentThenable, nextResult.promise = pendingThenable());
2158
+ finalizeThenableIfPossible(pending);
2159
+ };
2160
+ const prevThenable = __privateGet(this, _currentThenable);
2161
+ switch (prevThenable.status) {
2162
+ case "pending":
2163
+ if (query.queryHash === prevQuery.queryHash) {
2164
+ finalizeThenableIfPossible(prevThenable);
2165
+ }
2166
+ break;
2167
+ case "fulfilled":
2168
+ if (isErrorWithoutData || nextResult.data !== prevThenable.value) {
2169
+ recreateThenable();
2170
+ }
2171
+ break;
2172
+ case "rejected":
2173
+ if (!isErrorWithoutData || nextResult.error !== prevThenable.reason) {
2174
+ recreateThenable();
2175
+ }
2176
+ break;
2177
+ }
2178
+ }
2179
+ return nextResult;
2180
+ }
2181
+ updateResult() {
2182
+ const prevResult = __privateGet(this, _currentResult);
2183
+ const nextResult = this.createResult(__privateGet(this, _currentQuery), this.options);
2184
+ __privateSet(this, _currentResultState, __privateGet(this, _currentQuery).state);
2185
+ __privateSet(this, _currentResultOptions, this.options);
2186
+ if (__privateGet(this, _currentResultState).data !== void 0) {
2187
+ __privateSet(this, _lastQueryWithDefinedData, __privateGet(this, _currentQuery));
2188
+ }
2189
+ if (shallowEqualObjects(nextResult, prevResult)) {
2190
+ return;
2191
+ }
2192
+ __privateSet(this, _currentResult, nextResult);
2193
+ const shouldNotifyListeners = () => {
2194
+ if (!prevResult) {
2195
+ return true;
2196
+ }
2197
+ const { notifyOnChangeProps } = this.options;
2198
+ const notifyOnChangePropsValue = typeof notifyOnChangeProps === "function" ? notifyOnChangeProps() : notifyOnChangeProps;
2199
+ if (notifyOnChangePropsValue === "all" || !notifyOnChangePropsValue && !__privateGet(this, _trackedProps).size) {
2200
+ return true;
2201
+ }
2202
+ const includedProps = new Set(
2203
+ notifyOnChangePropsValue != null ? notifyOnChangePropsValue : __privateGet(this, _trackedProps)
2204
+ );
2205
+ if (this.options.throwOnError) {
2206
+ includedProps.add("error");
2207
+ }
2208
+ return Object.keys(__privateGet(this, _currentResult)).some((key) => {
2209
+ const typedKey = key;
2210
+ const changed = __privateGet(this, _currentResult)[typedKey] !== prevResult[typedKey];
2211
+ return changed && includedProps.has(typedKey);
2212
+ });
2213
+ };
2214
+ __privateMethod(this, _notify, notify_fn).call(this, { listeners: shouldNotifyListeners() });
2215
+ }
2216
+ onQueryUpdate() {
2217
+ this.updateResult();
2218
+ if (this.hasListeners()) {
2219
+ __privateMethod(this, _updateTimers, updateTimers_fn).call(this);
2220
+ }
2221
+ }
2222
+ }, _client2 = new WeakMap(), _currentQuery = new WeakMap(), _currentQueryInitialState = new WeakMap(), _currentResult = new WeakMap(), _currentResultState = new WeakMap(), _currentResultOptions = new WeakMap(), _currentThenable = new WeakMap(), _selectError = new WeakMap(), _selectFn = new WeakMap(), _selectResult = new WeakMap(), _lastQueryWithDefinedData = new WeakMap(), _staleTimeoutId = new WeakMap(), _refetchIntervalId = new WeakMap(), _currentRefetchInterval = new WeakMap(), _trackedProps = new WeakMap(), _executeFetch = new WeakSet(), executeFetch_fn = function(fetchOptions) {
2223
+ __privateMethod(this, _updateQuery, updateQuery_fn).call(this);
2224
+ let promise = __privateGet(this, _currentQuery).fetch(
2225
+ this.options,
2226
+ fetchOptions
2227
+ );
2228
+ if (!(fetchOptions == null ? void 0 : fetchOptions.throwOnError)) {
2229
+ promise = promise.catch(noop);
2230
+ }
2231
+ return promise;
2232
+ }, _updateStaleTimeout = new WeakSet(), updateStaleTimeout_fn = function() {
2233
+ __privateMethod(this, _clearStaleTimeout, clearStaleTimeout_fn).call(this);
2234
+ const staleTime = resolveStaleTime(
2235
+ this.options.staleTime,
2236
+ __privateGet(this, _currentQuery)
2237
+ );
2238
+ if (environmentManager.isServer() || __privateGet(this, _currentResult).isStale || !isValidTimeout(staleTime)) {
2239
+ return;
2240
+ }
2241
+ const time = timeUntilStale(__privateGet(this, _currentResult).dataUpdatedAt, staleTime);
2242
+ const timeout = time + 1;
2243
+ __privateSet(this, _staleTimeoutId, timeoutManager.setTimeout(() => {
2244
+ if (!__privateGet(this, _currentResult).isStale) {
2245
+ this.updateResult();
2246
+ }
2247
+ }, timeout));
2248
+ }, _computeRefetchInterval = new WeakSet(), computeRefetchInterval_fn = function() {
2249
+ var _a11;
2250
+ return (_a11 = typeof this.options.refetchInterval === "function" ? this.options.refetchInterval(__privateGet(this, _currentQuery)) : this.options.refetchInterval) != null ? _a11 : false;
2251
+ }, _updateRefetchInterval = new WeakSet(), updateRefetchInterval_fn = function(nextInterval) {
2252
+ __privateMethod(this, _clearRefetchInterval, clearRefetchInterval_fn).call(this);
2253
+ __privateSet(this, _currentRefetchInterval, nextInterval);
2254
+ if (environmentManager.isServer() || resolveEnabled(this.options.enabled, __privateGet(this, _currentQuery)) === false || !isValidTimeout(__privateGet(this, _currentRefetchInterval)) || __privateGet(this, _currentRefetchInterval) === 0) {
2255
+ return;
2256
+ }
2257
+ __privateSet(this, _refetchIntervalId, timeoutManager.setInterval(() => {
2258
+ if (this.options.refetchIntervalInBackground || focusManager.isFocused()) {
2259
+ __privateMethod(this, _executeFetch, executeFetch_fn).call(this);
2260
+ }
2261
+ }, __privateGet(this, _currentRefetchInterval)));
2262
+ }, _updateTimers = new WeakSet(), updateTimers_fn = function() {
2263
+ __privateMethod(this, _updateStaleTimeout, updateStaleTimeout_fn).call(this);
2264
+ __privateMethod(this, _updateRefetchInterval, updateRefetchInterval_fn).call(this, __privateMethod(this, _computeRefetchInterval, computeRefetchInterval_fn).call(this));
2265
+ }, _clearStaleTimeout = new WeakSet(), clearStaleTimeout_fn = function() {
2266
+ if (__privateGet(this, _staleTimeoutId)) {
2267
+ timeoutManager.clearTimeout(__privateGet(this, _staleTimeoutId));
2268
+ __privateSet(this, _staleTimeoutId, void 0);
2269
+ }
2270
+ }, _clearRefetchInterval = new WeakSet(), clearRefetchInterval_fn = function() {
2271
+ if (__privateGet(this, _refetchIntervalId)) {
2272
+ timeoutManager.clearInterval(__privateGet(this, _refetchIntervalId));
2273
+ __privateSet(this, _refetchIntervalId, void 0);
2274
+ }
2275
+ }, _updateQuery = new WeakSet(), updateQuery_fn = function() {
2276
+ const query = __privateGet(this, _client2).getQueryCache().build(__privateGet(this, _client2), this.options);
2277
+ if (query === __privateGet(this, _currentQuery)) {
2278
+ return;
2279
+ }
2280
+ const prevQuery = __privateGet(this, _currentQuery);
2281
+ __privateSet(this, _currentQuery, query);
2282
+ __privateSet(this, _currentQueryInitialState, query.state);
2283
+ if (this.hasListeners()) {
2284
+ prevQuery == null ? void 0 : prevQuery.removeObserver(this);
2285
+ query.addObserver(this);
2286
+ }
2287
+ }, _notify = new WeakSet(), notify_fn = function(notifyOptions) {
2288
+ notifyManager.batch(() => {
2289
+ if (notifyOptions.listeners) {
2290
+ this.listeners.forEach((listener) => {
2291
+ listener(__privateGet(this, _currentResult));
2292
+ });
2293
+ }
2294
+ __privateGet(this, _client2).getQueryCache().notify({
2295
+ query: __privateGet(this, _currentQuery),
2296
+ type: "observerResultsUpdated"
2297
+ });
2298
+ });
2299
+ }, _b);
2300
+ function shouldLoadOnMount(query, options) {
2301
+ return resolveEnabled(options.enabled, query) !== false && query.state.data === void 0 && !(query.state.status === "error" && options.retryOnMount === false);
2302
+ }
2303
+ function shouldFetchOnMount(query, options) {
2304
+ return shouldLoadOnMount(query, options) || query.state.data !== void 0 && shouldFetchOn(query, options, options.refetchOnMount);
2305
+ }
2306
+ function shouldFetchOn(query, options, field) {
2307
+ if (resolveEnabled(options.enabled, query) !== false && resolveStaleTime(options.staleTime, query) !== "static") {
2308
+ const value = typeof field === "function" ? field(query) : field;
2309
+ return value === "always" || value !== false && isStale(query, options);
2310
+ }
2311
+ return false;
2312
+ }
2313
+ function shouldFetchOptionally(query, prevQuery, options, prevOptions) {
2314
+ return (query !== prevQuery || resolveEnabled(prevOptions.enabled, query) === false) && (!options.suspense || query.state.status !== "error") && isStale(query, options);
2315
+ }
2316
+ function isStale(query, options) {
2317
+ return resolveEnabled(options.enabled, query) !== false && query.isStaleByTime(resolveStaleTime(options.staleTime, query));
2318
+ }
2319
+ function shouldAssignObserverCurrentProperties(observer, optimisticResult) {
2320
+ if (!shallowEqualObjects(observer.getCurrentResult(), optimisticResult)) {
2321
+ return true;
2322
+ }
2323
+ return false;
2324
+ }
2325
+
2326
+ // node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
2327
+ init_dirname();
2328
+ init_buffer();
2329
+ init_process();
2330
+ function infiniteQueryBehavior(pages) {
2331
+ return {
2332
+ onFetch: (context, query) => {
2333
+ var _a11, _b2, _c, _d, _e;
2334
+ const options = context.options;
2335
+ const direction = (_c = (_b2 = (_a11 = context.fetchOptions) == null ? void 0 : _a11.meta) == null ? void 0 : _b2.fetchMore) == null ? void 0 : _c.direction;
2336
+ const oldPages = ((_d = context.state.data) == null ? void 0 : _d.pages) || [];
2337
+ const oldPageParams = ((_e = context.state.data) == null ? void 0 : _e.pageParams) || [];
2338
+ let result = { pages: [], pageParams: [] };
2339
+ let currentPage = 0;
2340
+ const fetchFn = async () => {
2341
+ var _a12;
2342
+ let cancelled = false;
2343
+ const addSignalProperty = (object) => {
2344
+ addConsumeAwareSignal(
2345
+ object,
2346
+ () => context.signal,
2347
+ () => cancelled = true
2348
+ );
2349
+ };
2350
+ const queryFn = ensureQueryFn(context.options, context.fetchOptions);
2351
+ const fetchPage = async (data, param, previous) => {
2352
+ if (cancelled) {
2353
+ return Promise.reject();
2354
+ }
2355
+ if (param == null && data.pages.length) {
2356
+ return Promise.resolve(data);
2357
+ }
2358
+ const createQueryFnContext = () => {
2359
+ const queryFnContext2 = {
2360
+ client: context.client,
2361
+ queryKey: context.queryKey,
2362
+ pageParam: param,
2363
+ direction: previous ? "backward" : "forward",
2364
+ meta: context.options.meta
2365
+ };
2366
+ addSignalProperty(queryFnContext2);
2367
+ return queryFnContext2;
2368
+ };
2369
+ const queryFnContext = createQueryFnContext();
2370
+ const page = await queryFn(queryFnContext);
2371
+ const { maxPages } = context.options;
2372
+ const addTo = previous ? addToStart : addToEnd;
2373
+ return {
2374
+ pages: addTo(data.pages, page, maxPages),
2375
+ pageParams: addTo(data.pageParams, param, maxPages)
2376
+ };
2377
+ };
2378
+ if (direction && oldPages.length) {
2379
+ const previous = direction === "backward";
2380
+ const pageParamFn = previous ? getPreviousPageParam : getNextPageParam;
2381
+ const oldData = {
2382
+ pages: oldPages,
2383
+ pageParams: oldPageParams
2384
+ };
2385
+ const param = pageParamFn(options, oldData);
2386
+ result = await fetchPage(oldData, param, previous);
2387
+ } else {
2388
+ const remainingPages = pages != null ? pages : oldPages.length;
2389
+ do {
2390
+ const param = currentPage === 0 ? (_a12 = oldPageParams[0]) != null ? _a12 : options.initialPageParam : getNextPageParam(options, result);
2391
+ if (currentPage > 0 && param == null) {
2392
+ break;
2393
+ }
2394
+ result = await fetchPage(result, param);
2395
+ currentPage++;
2396
+ } while (currentPage < remainingPages);
2397
+ }
2398
+ return result;
2399
+ };
2400
+ if (context.options.persister) {
2401
+ context.fetchFn = () => {
2402
+ var _a12, _b3;
2403
+ return (_b3 = (_a12 = context.options).persister) == null ? void 0 : _b3.call(
2404
+ _a12,
2405
+ fetchFn,
2406
+ {
2407
+ client: context.client,
2408
+ queryKey: context.queryKey,
2409
+ meta: context.options.meta,
2410
+ signal: context.signal
2411
+ },
2412
+ query
2413
+ );
2414
+ };
2415
+ } else {
2416
+ context.fetchFn = fetchFn;
2417
+ }
2418
+ }
2419
+ };
2420
+ }
2421
+ function getNextPageParam(options, { pages, pageParams }) {
2422
+ const lastIndex = pages.length - 1;
2423
+ return pages.length > 0 ? options.getNextPageParam(
2424
+ pages[lastIndex],
2425
+ pages,
2426
+ pageParams[lastIndex],
2427
+ pageParams
2428
+ ) : void 0;
2429
+ }
2430
+ function getPreviousPageParam(options, { pages, pageParams }) {
2431
+ var _a11;
2432
+ return pages.length > 0 ? (_a11 = options.getPreviousPageParam) == null ? void 0 : _a11.call(options, pages[0], pages, pageParams[0], pageParams) : void 0;
2433
+ }
2434
+
2435
+ // node_modules/@tanstack/query-core/build/modern/mutationCache.js
2436
+ init_dirname();
2437
+ init_buffer();
2438
+ init_process();
2439
+
2440
+ // node_modules/@tanstack/query-core/build/modern/mutation.js
2441
+ init_dirname();
2442
+ init_buffer();
2443
+ init_process();
2444
+ var _client3, _observers, _mutationCache, _retryer2, _dispatch2, dispatch_fn2, _a6;
2445
+ var Mutation = (_a6 = class extends Removable {
2446
+ constructor(config) {
2447
+ super();
2448
+ __privateAdd(this, _dispatch2);
2449
+ __privateAdd(this, _client3, void 0);
2450
+ __privateAdd(this, _observers, void 0);
2451
+ __privateAdd(this, _mutationCache, void 0);
2452
+ __privateAdd(this, _retryer2, void 0);
2453
+ __privateSet(this, _client3, config.client);
2454
+ this.mutationId = config.mutationId;
2455
+ __privateSet(this, _mutationCache, config.mutationCache);
2456
+ __privateSet(this, _observers, []);
2457
+ this.state = config.state || getDefaultState2();
2458
+ this.setOptions(config.options);
2459
+ this.scheduleGc();
2460
+ }
2461
+ setOptions(options) {
2462
+ this.options = options;
2463
+ this.updateGcTime(this.options.gcTime);
2464
+ }
2465
+ get meta() {
2466
+ return this.options.meta;
2467
+ }
2468
+ addObserver(observer) {
2469
+ if (!__privateGet(this, _observers).includes(observer)) {
2470
+ __privateGet(this, _observers).push(observer);
2471
+ this.clearGcTimeout();
2472
+ __privateGet(this, _mutationCache).notify({
2473
+ type: "observerAdded",
2474
+ mutation: this,
2475
+ observer
2476
+ });
2477
+ }
2478
+ }
2479
+ removeObserver(observer) {
2480
+ __privateSet(this, _observers, __privateGet(this, _observers).filter((x) => x !== observer));
2481
+ this.scheduleGc();
2482
+ __privateGet(this, _mutationCache).notify({
2483
+ type: "observerRemoved",
2484
+ mutation: this,
2485
+ observer
2486
+ });
2487
+ }
2488
+ optionalRemove() {
2489
+ if (!__privateGet(this, _observers).length) {
2490
+ if (this.state.status === "pending") {
2491
+ this.scheduleGc();
2492
+ } else {
2493
+ __privateGet(this, _mutationCache).remove(this);
2494
+ }
2495
+ }
2496
+ }
2497
+ continue() {
2498
+ var _a11, _b2;
2499
+ return (_b2 = (_a11 = __privateGet(this, _retryer2)) == null ? void 0 : _a11.continue()) != null ? _b2 : (
2500
+ // continuing a mutation assumes that variables are set, mutation must have been dehydrated before
2501
+ this.execute(this.state.variables)
2502
+ );
2503
+ }
2504
+ async execute(variables) {
2505
+ var _a11, _b2, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
2506
+ const onContinue = () => {
2507
+ __privateMethod(this, _dispatch2, dispatch_fn2).call(this, { type: "continue" });
2508
+ };
2509
+ const mutationFnContext = {
2510
+ client: __privateGet(this, _client3),
2511
+ meta: this.options.meta,
2512
+ mutationKey: this.options.mutationKey
2513
+ };
2514
+ __privateSet(this, _retryer2, createRetryer({
2515
+ fn: () => {
2516
+ if (!this.options.mutationFn) {
2517
+ return Promise.reject(new Error("No mutationFn found"));
2518
+ }
2519
+ return this.options.mutationFn(variables, mutationFnContext);
2520
+ },
2521
+ onFail: (failureCount, error) => {
2522
+ __privateMethod(this, _dispatch2, dispatch_fn2).call(this, { type: "failed", failureCount, error });
2523
+ },
2524
+ onPause: () => {
2525
+ __privateMethod(this, _dispatch2, dispatch_fn2).call(this, { type: "pause" });
2526
+ },
2527
+ onContinue,
2528
+ retry: (_a11 = this.options.retry) != null ? _a11 : 0,
2529
+ retryDelay: this.options.retryDelay,
2530
+ networkMode: this.options.networkMode,
2531
+ canRun: () => __privateGet(this, _mutationCache).canRun(this)
2532
+ }));
2533
+ const restored = this.state.status === "pending";
2534
+ const isPaused = !__privateGet(this, _retryer2).canStart();
2535
+ try {
2536
+ if (restored) {
2537
+ onContinue();
2538
+ } else {
2539
+ __privateMethod(this, _dispatch2, dispatch_fn2).call(this, { type: "pending", variables, isPaused });
2540
+ if (__privateGet(this, _mutationCache).config.onMutate) {
2541
+ await __privateGet(this, _mutationCache).config.onMutate(
2542
+ variables,
2543
+ this,
2544
+ mutationFnContext
2545
+ );
2546
+ }
2547
+ const context = await ((_c = (_b2 = this.options).onMutate) == null ? void 0 : _c.call(
2548
+ _b2,
2549
+ variables,
2550
+ mutationFnContext
2551
+ ));
2552
+ if (context !== this.state.context) {
2553
+ __privateMethod(this, _dispatch2, dispatch_fn2).call(this, {
2554
+ type: "pending",
2555
+ context,
2556
+ variables,
2557
+ isPaused
2558
+ });
2559
+ }
2560
+ }
2561
+ const data = await __privateGet(this, _retryer2).start();
2562
+ await ((_e = (_d = __privateGet(this, _mutationCache).config).onSuccess) == null ? void 0 : _e.call(
2563
+ _d,
2564
+ data,
2565
+ variables,
2566
+ this.state.context,
2567
+ this,
2568
+ mutationFnContext
2569
+ ));
2570
+ await ((_g = (_f = this.options).onSuccess) == null ? void 0 : _g.call(
2571
+ _f,
2572
+ data,
2573
+ variables,
2574
+ this.state.context,
2575
+ mutationFnContext
2576
+ ));
2577
+ await ((_i = (_h = __privateGet(this, _mutationCache).config).onSettled) == null ? void 0 : _i.call(
2578
+ _h,
2579
+ data,
2580
+ null,
2581
+ this.state.variables,
2582
+ this.state.context,
2583
+ this,
2584
+ mutationFnContext
2585
+ ));
2586
+ await ((_k = (_j = this.options).onSettled) == null ? void 0 : _k.call(
2587
+ _j,
2588
+ data,
2589
+ null,
2590
+ variables,
2591
+ this.state.context,
2592
+ mutationFnContext
2593
+ ));
2594
+ __privateMethod(this, _dispatch2, dispatch_fn2).call(this, { type: "success", data });
2595
+ return data;
2596
+ } catch (error) {
2597
+ try {
2598
+ await ((_m = (_l = __privateGet(this, _mutationCache).config).onError) == null ? void 0 : _m.call(
2599
+ _l,
2600
+ error,
2601
+ variables,
2602
+ this.state.context,
2603
+ this,
2604
+ mutationFnContext
2605
+ ));
2606
+ } catch (e) {
2607
+ void Promise.reject(e);
2608
+ }
2609
+ try {
2610
+ await ((_o = (_n = this.options).onError) == null ? void 0 : _o.call(
2611
+ _n,
2612
+ error,
2613
+ variables,
2614
+ this.state.context,
2615
+ mutationFnContext
2616
+ ));
2617
+ } catch (e) {
2618
+ void Promise.reject(e);
2619
+ }
2620
+ try {
2621
+ await ((_q = (_p = __privateGet(this, _mutationCache).config).onSettled) == null ? void 0 : _q.call(
2622
+ _p,
2623
+ void 0,
2624
+ error,
2625
+ this.state.variables,
2626
+ this.state.context,
2627
+ this,
2628
+ mutationFnContext
2629
+ ));
2630
+ } catch (e) {
2631
+ void Promise.reject(e);
2632
+ }
2633
+ try {
2634
+ await ((_s = (_r = this.options).onSettled) == null ? void 0 : _s.call(
2635
+ _r,
2636
+ void 0,
2637
+ error,
2638
+ variables,
2639
+ this.state.context,
2640
+ mutationFnContext
2641
+ ));
2642
+ } catch (e) {
2643
+ void Promise.reject(e);
2644
+ }
2645
+ __privateMethod(this, _dispatch2, dispatch_fn2).call(this, { type: "error", error });
2646
+ throw error;
2647
+ } finally {
2648
+ __privateGet(this, _mutationCache).runNext(this);
2649
+ }
2650
+ }
2651
+ }, _client3 = new WeakMap(), _observers = new WeakMap(), _mutationCache = new WeakMap(), _retryer2 = new WeakMap(), _dispatch2 = new WeakSet(), dispatch_fn2 = function(action) {
2652
+ const reducer = (state) => {
2653
+ switch (action.type) {
2654
+ case "failed":
2655
+ return __spreadProps(__spreadValues({}, state), {
2656
+ failureCount: action.failureCount,
2657
+ failureReason: action.error
2658
+ });
2659
+ case "pause":
2660
+ return __spreadProps(__spreadValues({}, state), {
2661
+ isPaused: true
2662
+ });
2663
+ case "continue":
2664
+ return __spreadProps(__spreadValues({}, state), {
2665
+ isPaused: false
2666
+ });
2667
+ case "pending":
2668
+ return __spreadProps(__spreadValues({}, state), {
2669
+ context: action.context,
2670
+ data: void 0,
2671
+ failureCount: 0,
2672
+ failureReason: null,
2673
+ error: null,
2674
+ isPaused: action.isPaused,
2675
+ status: "pending",
2676
+ variables: action.variables,
2677
+ submittedAt: Date.now()
2678
+ });
2679
+ case "success":
2680
+ return __spreadProps(__spreadValues({}, state), {
2681
+ data: action.data,
2682
+ failureCount: 0,
2683
+ failureReason: null,
2684
+ error: null,
2685
+ status: "success",
2686
+ isPaused: false
2687
+ });
2688
+ case "error":
2689
+ return __spreadProps(__spreadValues({}, state), {
2690
+ data: void 0,
2691
+ error: action.error,
2692
+ failureCount: state.failureCount + 1,
2693
+ failureReason: action.error,
2694
+ isPaused: false,
2695
+ status: "error"
2696
+ });
2697
+ }
2698
+ };
2699
+ this.state = reducer(this.state);
2700
+ notifyManager.batch(() => {
2701
+ __privateGet(this, _observers).forEach((observer) => {
2702
+ observer.onMutationUpdate(action);
2703
+ });
2704
+ __privateGet(this, _mutationCache).notify({
2705
+ mutation: this,
2706
+ type: "updated",
2707
+ action
2708
+ });
2709
+ });
2710
+ }, _a6);
2711
+ function getDefaultState2() {
2712
+ return {
2713
+ context: void 0,
2714
+ data: void 0,
2715
+ error: null,
2716
+ failureCount: 0,
2717
+ failureReason: null,
2718
+ isPaused: false,
2719
+ status: "idle",
2720
+ variables: void 0,
2721
+ submittedAt: 0
2722
+ };
2723
+ }
2724
+
2725
+ // node_modules/@tanstack/query-core/build/modern/mutationCache.js
2726
+ var _mutations, _scopes, _mutationId, _a7;
2727
+ var MutationCache = (_a7 = class extends Subscribable {
2728
+ constructor(config = {}) {
2729
+ super();
2730
+ __privateAdd(this, _mutations, void 0);
2731
+ __privateAdd(this, _scopes, void 0);
2732
+ __privateAdd(this, _mutationId, void 0);
2733
+ this.config = config;
2734
+ __privateSet(this, _mutations, /* @__PURE__ */ new Set());
2735
+ __privateSet(this, _scopes, /* @__PURE__ */ new Map());
2736
+ __privateSet(this, _mutationId, 0);
2737
+ }
2738
+ build(client, options, state) {
2739
+ const mutation = new Mutation({
2740
+ client,
2741
+ mutationCache: this,
2742
+ mutationId: ++__privateWrapper(this, _mutationId)._,
2743
+ options: client.defaultMutationOptions(options),
2744
+ state
2745
+ });
2746
+ this.add(mutation);
2747
+ return mutation;
2748
+ }
2749
+ add(mutation) {
2750
+ __privateGet(this, _mutations).add(mutation);
2751
+ const scope = scopeFor(mutation);
2752
+ if (typeof scope === "string") {
2753
+ const scopedMutations = __privateGet(this, _scopes).get(scope);
2754
+ if (scopedMutations) {
2755
+ scopedMutations.push(mutation);
2756
+ } else {
2757
+ __privateGet(this, _scopes).set(scope, [mutation]);
2758
+ }
2759
+ }
2760
+ this.notify({ type: "added", mutation });
2761
+ }
2762
+ remove(mutation) {
2763
+ if (__privateGet(this, _mutations).delete(mutation)) {
2764
+ const scope = scopeFor(mutation);
2765
+ if (typeof scope === "string") {
2766
+ const scopedMutations = __privateGet(this, _scopes).get(scope);
2767
+ if (scopedMutations) {
2768
+ if (scopedMutations.length > 1) {
2769
+ const index = scopedMutations.indexOf(mutation);
2770
+ if (index !== -1) {
2771
+ scopedMutations.splice(index, 1);
2772
+ }
2773
+ } else if (scopedMutations[0] === mutation) {
2774
+ __privateGet(this, _scopes).delete(scope);
2775
+ }
2776
+ }
2777
+ }
2778
+ }
2779
+ this.notify({ type: "removed", mutation });
2780
+ }
2781
+ canRun(mutation) {
2782
+ const scope = scopeFor(mutation);
2783
+ if (typeof scope === "string") {
2784
+ const mutationsWithSameScope = __privateGet(this, _scopes).get(scope);
2785
+ const firstPendingMutation = mutationsWithSameScope == null ? void 0 : mutationsWithSameScope.find(
2786
+ (m) => m.state.status === "pending"
2787
+ );
2788
+ return !firstPendingMutation || firstPendingMutation === mutation;
2789
+ } else {
2790
+ return true;
2791
+ }
2792
+ }
2793
+ runNext(mutation) {
2794
+ var _a11, _b2;
2795
+ const scope = scopeFor(mutation);
2796
+ if (typeof scope === "string") {
2797
+ const foundMutation = (_a11 = __privateGet(this, _scopes).get(scope)) == null ? void 0 : _a11.find((m) => m !== mutation && m.state.isPaused);
2798
+ return (_b2 = foundMutation == null ? void 0 : foundMutation.continue()) != null ? _b2 : Promise.resolve();
2799
+ } else {
2800
+ return Promise.resolve();
2801
+ }
2802
+ }
2803
+ clear() {
2804
+ notifyManager.batch(() => {
2805
+ __privateGet(this, _mutations).forEach((mutation) => {
2806
+ this.notify({ type: "removed", mutation });
2807
+ });
2808
+ __privateGet(this, _mutations).clear();
2809
+ __privateGet(this, _scopes).clear();
2810
+ });
2811
+ }
2812
+ getAll() {
2813
+ return Array.from(__privateGet(this, _mutations));
2814
+ }
2815
+ find(filters) {
2816
+ const defaultedFilters = __spreadValues({ exact: true }, filters);
2817
+ return this.getAll().find(
2818
+ (mutation) => matchMutation(defaultedFilters, mutation)
2819
+ );
2820
+ }
2821
+ findAll(filters = {}) {
2822
+ return this.getAll().filter((mutation) => matchMutation(filters, mutation));
2823
+ }
2824
+ notify(event) {
2825
+ notifyManager.batch(() => {
2826
+ this.listeners.forEach((listener) => {
2827
+ listener(event);
2828
+ });
2829
+ });
2830
+ }
2831
+ resumePausedMutations() {
2832
+ const pausedMutations = this.getAll().filter((x) => x.state.isPaused);
2833
+ return notifyManager.batch(
2834
+ () => Promise.all(
2835
+ pausedMutations.map((mutation) => mutation.continue().catch(noop))
2836
+ )
2837
+ );
2838
+ }
2839
+ }, _mutations = new WeakMap(), _scopes = new WeakMap(), _mutationId = new WeakMap(), _a7);
2840
+ function scopeFor(mutation) {
2841
+ var _a11;
2842
+ return (_a11 = mutation.options.scope) == null ? void 0 : _a11.id;
2843
+ }
2844
+
2845
+ // node_modules/@tanstack/query-core/build/modern/mutationObserver.js
2846
+ init_dirname();
2847
+ init_buffer();
2848
+ init_process();
2849
+ var _client4, _currentResult2, _currentMutation, _mutateOptions, _updateResult, updateResult_fn, _notify2, notify_fn2, _a8;
2850
+ var MutationObserver = (_a8 = class extends Subscribable {
2851
+ constructor(client, options) {
2852
+ super();
2853
+ __privateAdd(this, _updateResult);
2854
+ __privateAdd(this, _notify2);
2855
+ __privateAdd(this, _client4, void 0);
2856
+ __privateAdd(this, _currentResult2, void 0);
2857
+ __privateAdd(this, _currentMutation, void 0);
2858
+ __privateAdd(this, _mutateOptions, void 0);
2859
+ __privateSet(this, _client4, client);
2860
+ this.setOptions(options);
2861
+ this.bindMethods();
2862
+ __privateMethod(this, _updateResult, updateResult_fn).call(this);
2863
+ }
2864
+ bindMethods() {
2865
+ this.mutate = this.mutate.bind(this);
2866
+ this.reset = this.reset.bind(this);
2867
+ }
2868
+ setOptions(options) {
2869
+ var _a11;
2870
+ const prevOptions = this.options;
2871
+ this.options = __privateGet(this, _client4).defaultMutationOptions(options);
2872
+ if (!shallowEqualObjects(this.options, prevOptions)) {
2873
+ __privateGet(this, _client4).getMutationCache().notify({
2874
+ type: "observerOptionsUpdated",
2875
+ mutation: __privateGet(this, _currentMutation),
2876
+ observer: this
2877
+ });
2878
+ }
2879
+ if ((prevOptions == null ? void 0 : prevOptions.mutationKey) && this.options.mutationKey && hashKey(prevOptions.mutationKey) !== hashKey(this.options.mutationKey)) {
2880
+ this.reset();
2881
+ } else if (((_a11 = __privateGet(this, _currentMutation)) == null ? void 0 : _a11.state.status) === "pending") {
2882
+ __privateGet(this, _currentMutation).setOptions(this.options);
2883
+ }
2884
+ }
2885
+ onUnsubscribe() {
2886
+ var _a11;
2887
+ if (!this.hasListeners()) {
2888
+ (_a11 = __privateGet(this, _currentMutation)) == null ? void 0 : _a11.removeObserver(this);
2889
+ }
2890
+ }
2891
+ onMutationUpdate(action) {
2892
+ __privateMethod(this, _updateResult, updateResult_fn).call(this);
2893
+ __privateMethod(this, _notify2, notify_fn2).call(this, action);
2894
+ }
2895
+ getCurrentResult() {
2896
+ return __privateGet(this, _currentResult2);
2897
+ }
2898
+ reset() {
2899
+ var _a11;
2900
+ (_a11 = __privateGet(this, _currentMutation)) == null ? void 0 : _a11.removeObserver(this);
2901
+ __privateSet(this, _currentMutation, void 0);
2902
+ __privateMethod(this, _updateResult, updateResult_fn).call(this);
2903
+ __privateMethod(this, _notify2, notify_fn2).call(this);
2904
+ }
2905
+ mutate(variables, options) {
2906
+ var _a11;
2907
+ __privateSet(this, _mutateOptions, options);
2908
+ (_a11 = __privateGet(this, _currentMutation)) == null ? void 0 : _a11.removeObserver(this);
2909
+ __privateSet(this, _currentMutation, __privateGet(this, _client4).getMutationCache().build(__privateGet(this, _client4), this.options));
2910
+ __privateGet(this, _currentMutation).addObserver(this);
2911
+ return __privateGet(this, _currentMutation).execute(variables);
2912
+ }
2913
+ }, _client4 = new WeakMap(), _currentResult2 = new WeakMap(), _currentMutation = new WeakMap(), _mutateOptions = new WeakMap(), _updateResult = new WeakSet(), updateResult_fn = function() {
2914
+ var _a11, _b2;
2915
+ const state = (_b2 = (_a11 = __privateGet(this, _currentMutation)) == null ? void 0 : _a11.state) != null ? _b2 : getDefaultState2();
2916
+ __privateSet(this, _currentResult2, __spreadProps(__spreadValues({}, state), {
2917
+ isPending: state.status === "pending",
2918
+ isSuccess: state.status === "success",
2919
+ isError: state.status === "error",
2920
+ isIdle: state.status === "idle",
2921
+ mutate: this.mutate,
2922
+ reset: this.reset
2923
+ }));
2924
+ }, _notify2 = new WeakSet(), notify_fn2 = function(action) {
2925
+ notifyManager.batch(() => {
2926
+ var _a11, _b2, _c, _d, _e, _f, _g, _h;
2927
+ if (__privateGet(this, _mutateOptions) && this.hasListeners()) {
2928
+ const variables = __privateGet(this, _currentResult2).variables;
2929
+ const onMutateResult = __privateGet(this, _currentResult2).context;
2930
+ const context = {
2931
+ client: __privateGet(this, _client4),
2932
+ meta: this.options.meta,
2933
+ mutationKey: this.options.mutationKey
2934
+ };
2935
+ if ((action == null ? void 0 : action.type) === "success") {
2936
+ try {
2937
+ (_b2 = (_a11 = __privateGet(this, _mutateOptions)).onSuccess) == null ? void 0 : _b2.call(
2938
+ _a11,
2939
+ action.data,
2940
+ variables,
2941
+ onMutateResult,
2942
+ context
2943
+ );
2944
+ } catch (e) {
2945
+ void Promise.reject(e);
2946
+ }
2947
+ try {
2948
+ (_d = (_c = __privateGet(this, _mutateOptions)).onSettled) == null ? void 0 : _d.call(
2949
+ _c,
2950
+ action.data,
2951
+ null,
2952
+ variables,
2953
+ onMutateResult,
2954
+ context
2955
+ );
2956
+ } catch (e) {
2957
+ void Promise.reject(e);
2958
+ }
2959
+ } else if ((action == null ? void 0 : action.type) === "error") {
2960
+ try {
2961
+ (_f = (_e = __privateGet(this, _mutateOptions)).onError) == null ? void 0 : _f.call(
2962
+ _e,
2963
+ action.error,
2964
+ variables,
2965
+ onMutateResult,
2966
+ context
2967
+ );
2968
+ } catch (e) {
2969
+ void Promise.reject(e);
2970
+ }
2971
+ try {
2972
+ (_h = (_g = __privateGet(this, _mutateOptions)).onSettled) == null ? void 0 : _h.call(
2973
+ _g,
2974
+ void 0,
2975
+ action.error,
2976
+ variables,
2977
+ onMutateResult,
2978
+ context
2979
+ );
2980
+ } catch (e) {
2981
+ void Promise.reject(e);
2982
+ }
2983
+ }
2984
+ }
2985
+ this.listeners.forEach((listener) => {
2986
+ listener(__privateGet(this, _currentResult2));
2987
+ });
2988
+ });
2989
+ }, _a8);
2990
+
2991
+ // node_modules/@tanstack/query-core/build/modern/queryCache.js
2992
+ init_dirname();
2993
+ init_buffer();
2994
+ init_process();
2995
+ var _queries, _a9;
2996
+ var QueryCache = (_a9 = class extends Subscribable {
2997
+ constructor(config = {}) {
2998
+ super();
2999
+ __privateAdd(this, _queries, void 0);
3000
+ this.config = config;
3001
+ __privateSet(this, _queries, /* @__PURE__ */ new Map());
3002
+ }
3003
+ build(client, options, state) {
3004
+ var _a11;
3005
+ const queryKey = options.queryKey;
3006
+ const queryHash = (_a11 = options.queryHash) != null ? _a11 : hashQueryKeyByOptions(queryKey, options);
3007
+ let query = this.get(queryHash);
3008
+ if (!query) {
3009
+ query = new Query({
3010
+ client,
3011
+ queryKey,
3012
+ queryHash,
3013
+ options: client.defaultQueryOptions(options),
3014
+ state,
3015
+ defaultOptions: client.getQueryDefaults(queryKey)
3016
+ });
3017
+ this.add(query);
3018
+ }
3019
+ return query;
3020
+ }
3021
+ add(query) {
3022
+ if (!__privateGet(this, _queries).has(query.queryHash)) {
3023
+ __privateGet(this, _queries).set(query.queryHash, query);
3024
+ this.notify({
3025
+ type: "added",
3026
+ query
3027
+ });
3028
+ }
3029
+ }
3030
+ remove(query) {
3031
+ const queryInMap = __privateGet(this, _queries).get(query.queryHash);
3032
+ if (queryInMap) {
3033
+ query.destroy();
3034
+ if (queryInMap === query) {
3035
+ __privateGet(this, _queries).delete(query.queryHash);
3036
+ }
3037
+ this.notify({ type: "removed", query });
3038
+ }
3039
+ }
3040
+ clear() {
3041
+ notifyManager.batch(() => {
3042
+ this.getAll().forEach((query) => {
3043
+ this.remove(query);
3044
+ });
3045
+ });
3046
+ }
3047
+ get(queryHash) {
3048
+ return __privateGet(this, _queries).get(queryHash);
3049
+ }
3050
+ getAll() {
3051
+ return [...__privateGet(this, _queries).values()];
3052
+ }
3053
+ find(filters) {
3054
+ const defaultedFilters = __spreadValues({ exact: true }, filters);
3055
+ return this.getAll().find(
3056
+ (query) => matchQuery(defaultedFilters, query)
3057
+ );
3058
+ }
3059
+ findAll(filters = {}) {
3060
+ const queries = this.getAll();
3061
+ return Object.keys(filters).length > 0 ? queries.filter((query) => matchQuery(filters, query)) : queries;
3062
+ }
3063
+ notify(event) {
3064
+ notifyManager.batch(() => {
3065
+ this.listeners.forEach((listener) => {
3066
+ listener(event);
3067
+ });
3068
+ });
3069
+ }
3070
+ onFocus() {
3071
+ notifyManager.batch(() => {
3072
+ this.getAll().forEach((query) => {
3073
+ query.onFocus();
3074
+ });
3075
+ });
3076
+ }
3077
+ onOnline() {
3078
+ notifyManager.batch(() => {
3079
+ this.getAll().forEach((query) => {
3080
+ query.onOnline();
3081
+ });
3082
+ });
3083
+ }
3084
+ }, _queries = new WeakMap(), _a9);
3085
+
3086
+ // node_modules/@tanstack/query-core/build/modern/queryClient.js
3087
+ init_dirname();
3088
+ init_buffer();
3089
+ init_process();
3090
+ var _queryCache, _mutationCache2, _defaultOptions2, _queryDefaults, _mutationDefaults, _mountCount, _unsubscribeFocus, _unsubscribeOnline, _a10;
3091
+ var QueryClient = (_a10 = class {
3092
+ constructor(config = {}) {
3093
+ __privateAdd(this, _queryCache, void 0);
3094
+ __privateAdd(this, _mutationCache2, void 0);
3095
+ __privateAdd(this, _defaultOptions2, void 0);
3096
+ __privateAdd(this, _queryDefaults, void 0);
3097
+ __privateAdd(this, _mutationDefaults, void 0);
3098
+ __privateAdd(this, _mountCount, void 0);
3099
+ __privateAdd(this, _unsubscribeFocus, void 0);
3100
+ __privateAdd(this, _unsubscribeOnline, void 0);
3101
+ __privateSet(this, _queryCache, config.queryCache || new QueryCache());
3102
+ __privateSet(this, _mutationCache2, config.mutationCache || new MutationCache());
3103
+ __privateSet(this, _defaultOptions2, config.defaultOptions || {});
3104
+ __privateSet(this, _queryDefaults, /* @__PURE__ */ new Map());
3105
+ __privateSet(this, _mutationDefaults, /* @__PURE__ */ new Map());
3106
+ __privateSet(this, _mountCount, 0);
3107
+ }
3108
+ mount() {
3109
+ __privateWrapper(this, _mountCount)._++;
3110
+ if (__privateGet(this, _mountCount) !== 1)
3111
+ return;
3112
+ __privateSet(this, _unsubscribeFocus, focusManager.subscribe(async (focused) => {
3113
+ if (focused) {
3114
+ await this.resumePausedMutations();
3115
+ __privateGet(this, _queryCache).onFocus();
3116
+ }
3117
+ }));
3118
+ __privateSet(this, _unsubscribeOnline, onlineManager.subscribe(async (online) => {
3119
+ if (online) {
3120
+ await this.resumePausedMutations();
3121
+ __privateGet(this, _queryCache).onOnline();
3122
+ }
3123
+ }));
3124
+ }
3125
+ unmount() {
3126
+ var _a11, _b2;
3127
+ __privateWrapper(this, _mountCount)._--;
3128
+ if (__privateGet(this, _mountCount) !== 0)
3129
+ return;
3130
+ (_a11 = __privateGet(this, _unsubscribeFocus)) == null ? void 0 : _a11.call(this);
3131
+ __privateSet(this, _unsubscribeFocus, void 0);
3132
+ (_b2 = __privateGet(this, _unsubscribeOnline)) == null ? void 0 : _b2.call(this);
3133
+ __privateSet(this, _unsubscribeOnline, void 0);
3134
+ }
3135
+ isFetching(filters) {
3136
+ return __privateGet(this, _queryCache).findAll(__spreadProps(__spreadValues({}, filters), { fetchStatus: "fetching" })).length;
3137
+ }
3138
+ isMutating(filters) {
3139
+ return __privateGet(this, _mutationCache2).findAll(__spreadProps(__spreadValues({}, filters), { status: "pending" })).length;
3140
+ }
3141
+ /**
3142
+ * Imperative (non-reactive) way to retrieve data for a QueryKey.
3143
+ * Should only be used in callbacks or functions where reading the latest data is necessary, e.g. for optimistic updates.
3144
+ *
3145
+ * Hint: Do not use this function inside a component, because it won't receive updates.
3146
+ * Use `useQuery` to create a `QueryObserver` that subscribes to changes.
3147
+ */
3148
+ getQueryData(queryKey) {
3149
+ var _a11;
3150
+ const options = this.defaultQueryOptions({ queryKey });
3151
+ return (_a11 = __privateGet(this, _queryCache).get(options.queryHash)) == null ? void 0 : _a11.state.data;
3152
+ }
3153
+ ensureQueryData(options) {
3154
+ const defaultedOptions = this.defaultQueryOptions(options);
3155
+ const query = __privateGet(this, _queryCache).build(this, defaultedOptions);
3156
+ const cachedData = query.state.data;
3157
+ if (cachedData === void 0) {
3158
+ return this.fetchQuery(options);
3159
+ }
3160
+ if (options.revalidateIfStale && query.isStaleByTime(resolveStaleTime(defaultedOptions.staleTime, query))) {
3161
+ void this.prefetchQuery(defaultedOptions);
3162
+ }
3163
+ return Promise.resolve(cachedData);
3164
+ }
3165
+ getQueriesData(filters) {
3166
+ return __privateGet(this, _queryCache).findAll(filters).map(({ queryKey, state }) => {
3167
+ const data = state.data;
3168
+ return [queryKey, data];
3169
+ });
3170
+ }
3171
+ setQueryData(queryKey, updater, options) {
3172
+ const defaultedOptions = this.defaultQueryOptions({ queryKey });
3173
+ const query = __privateGet(this, _queryCache).get(
3174
+ defaultedOptions.queryHash
3175
+ );
3176
+ const prevData = query == null ? void 0 : query.state.data;
3177
+ const data = functionalUpdate(updater, prevData);
3178
+ if (data === void 0) {
3179
+ return void 0;
3180
+ }
3181
+ return __privateGet(this, _queryCache).build(this, defaultedOptions).setData(data, __spreadProps(__spreadValues({}, options), { manual: true }));
3182
+ }
3183
+ setQueriesData(filters, updater, options) {
3184
+ return notifyManager.batch(
3185
+ () => __privateGet(this, _queryCache).findAll(filters).map(({ queryKey }) => [
3186
+ queryKey,
3187
+ this.setQueryData(queryKey, updater, options)
3188
+ ])
3189
+ );
3190
+ }
3191
+ getQueryState(queryKey) {
3192
+ var _a11;
3193
+ const options = this.defaultQueryOptions({ queryKey });
3194
+ return (_a11 = __privateGet(this, _queryCache).get(
3195
+ options.queryHash
3196
+ )) == null ? void 0 : _a11.state;
3197
+ }
3198
+ removeQueries(filters) {
3199
+ const queryCache = __privateGet(this, _queryCache);
3200
+ notifyManager.batch(() => {
3201
+ queryCache.findAll(filters).forEach((query) => {
3202
+ queryCache.remove(query);
3203
+ });
3204
+ });
3205
+ }
3206
+ resetQueries(filters, options) {
3207
+ const queryCache = __privateGet(this, _queryCache);
3208
+ return notifyManager.batch(() => {
3209
+ queryCache.findAll(filters).forEach((query) => {
3210
+ query.reset();
3211
+ });
3212
+ return this.refetchQueries(
3213
+ __spreadValues({
3214
+ type: "active"
3215
+ }, filters),
3216
+ options
3217
+ );
3218
+ });
3219
+ }
3220
+ cancelQueries(filters, cancelOptions = {}) {
3221
+ const defaultedCancelOptions = __spreadValues({ revert: true }, cancelOptions);
3222
+ const promises = notifyManager.batch(
3223
+ () => __privateGet(this, _queryCache).findAll(filters).map((query) => query.cancel(defaultedCancelOptions))
3224
+ );
3225
+ return Promise.all(promises).then(noop).catch(noop);
3226
+ }
3227
+ invalidateQueries(filters, options = {}) {
3228
+ return notifyManager.batch(() => {
3229
+ var _a11, _b2;
3230
+ __privateGet(this, _queryCache).findAll(filters).forEach((query) => {
3231
+ query.invalidate();
3232
+ });
3233
+ if ((filters == null ? void 0 : filters.refetchType) === "none") {
3234
+ return Promise.resolve();
3235
+ }
3236
+ return this.refetchQueries(
3237
+ __spreadProps(__spreadValues({}, filters), {
3238
+ type: (_b2 = (_a11 = filters == null ? void 0 : filters.refetchType) != null ? _a11 : filters == null ? void 0 : filters.type) != null ? _b2 : "active"
3239
+ }),
3240
+ options
3241
+ );
3242
+ });
3243
+ }
3244
+ refetchQueries(filters, options = {}) {
3245
+ var _a11;
3246
+ const fetchOptions = __spreadProps(__spreadValues({}, options), {
3247
+ cancelRefetch: (_a11 = options.cancelRefetch) != null ? _a11 : true
3248
+ });
3249
+ const promises = notifyManager.batch(
3250
+ () => __privateGet(this, _queryCache).findAll(filters).filter((query) => !query.isDisabled() && !query.isStatic()).map((query) => {
3251
+ let promise = query.fetch(void 0, fetchOptions);
3252
+ if (!fetchOptions.throwOnError) {
3253
+ promise = promise.catch(noop);
3254
+ }
3255
+ return query.state.fetchStatus === "paused" ? Promise.resolve() : promise;
3256
+ })
3257
+ );
3258
+ return Promise.all(promises).then(noop);
3259
+ }
3260
+ fetchQuery(options) {
3261
+ const defaultedOptions = this.defaultQueryOptions(options);
3262
+ if (defaultedOptions.retry === void 0) {
3263
+ defaultedOptions.retry = false;
3264
+ }
3265
+ const query = __privateGet(this, _queryCache).build(this, defaultedOptions);
3266
+ return query.isStaleByTime(
3267
+ resolveStaleTime(defaultedOptions.staleTime, query)
3268
+ ) ? query.fetch(defaultedOptions) : Promise.resolve(query.state.data);
3269
+ }
3270
+ prefetchQuery(options) {
3271
+ return this.fetchQuery(options).then(noop).catch(noop);
3272
+ }
3273
+ fetchInfiniteQuery(options) {
3274
+ options.behavior = infiniteQueryBehavior(options.pages);
3275
+ return this.fetchQuery(options);
3276
+ }
3277
+ prefetchInfiniteQuery(options) {
3278
+ return this.fetchInfiniteQuery(options).then(noop).catch(noop);
3279
+ }
3280
+ ensureInfiniteQueryData(options) {
3281
+ options.behavior = infiniteQueryBehavior(options.pages);
3282
+ return this.ensureQueryData(options);
3283
+ }
3284
+ resumePausedMutations() {
3285
+ if (onlineManager.isOnline()) {
3286
+ return __privateGet(this, _mutationCache2).resumePausedMutations();
3287
+ }
3288
+ return Promise.resolve();
3289
+ }
3290
+ getQueryCache() {
3291
+ return __privateGet(this, _queryCache);
3292
+ }
3293
+ getMutationCache() {
3294
+ return __privateGet(this, _mutationCache2);
3295
+ }
3296
+ getDefaultOptions() {
3297
+ return __privateGet(this, _defaultOptions2);
3298
+ }
3299
+ setDefaultOptions(options) {
3300
+ __privateSet(this, _defaultOptions2, options);
3301
+ }
3302
+ setQueryDefaults(queryKey, options) {
3303
+ __privateGet(this, _queryDefaults).set(hashKey(queryKey), {
3304
+ queryKey,
3305
+ defaultOptions: options
3306
+ });
3307
+ }
3308
+ getQueryDefaults(queryKey) {
3309
+ const defaults = [...__privateGet(this, _queryDefaults).values()];
3310
+ const result = {};
3311
+ defaults.forEach((queryDefault) => {
3312
+ if (partialMatchKey(queryKey, queryDefault.queryKey)) {
3313
+ Object.assign(result, queryDefault.defaultOptions);
3314
+ }
3315
+ });
3316
+ return result;
3317
+ }
3318
+ setMutationDefaults(mutationKey, options) {
3319
+ __privateGet(this, _mutationDefaults).set(hashKey(mutationKey), {
3320
+ mutationKey,
3321
+ defaultOptions: options
3322
+ });
3323
+ }
3324
+ getMutationDefaults(mutationKey) {
3325
+ const defaults = [...__privateGet(this, _mutationDefaults).values()];
3326
+ const result = {};
3327
+ defaults.forEach((queryDefault) => {
3328
+ if (partialMatchKey(mutationKey, queryDefault.mutationKey)) {
3329
+ Object.assign(result, queryDefault.defaultOptions);
3330
+ }
3331
+ });
3332
+ return result;
3333
+ }
3334
+ defaultQueryOptions(options) {
3335
+ if (options._defaulted) {
3336
+ return options;
3337
+ }
3338
+ const defaultedOptions = __spreadProps(__spreadValues(__spreadValues(__spreadValues({}, __privateGet(this, _defaultOptions2).queries), this.getQueryDefaults(options.queryKey)), options), {
3339
+ _defaulted: true
3340
+ });
3341
+ if (!defaultedOptions.queryHash) {
3342
+ defaultedOptions.queryHash = hashQueryKeyByOptions(
3343
+ defaultedOptions.queryKey,
3344
+ defaultedOptions
3345
+ );
3346
+ }
3347
+ if (defaultedOptions.refetchOnReconnect === void 0) {
3348
+ defaultedOptions.refetchOnReconnect = defaultedOptions.networkMode !== "always";
3349
+ }
3350
+ if (defaultedOptions.throwOnError === void 0) {
3351
+ defaultedOptions.throwOnError = !!defaultedOptions.suspense;
3352
+ }
3353
+ if (!defaultedOptions.networkMode && defaultedOptions.persister) {
3354
+ defaultedOptions.networkMode = "offlineFirst";
3355
+ }
3356
+ if (defaultedOptions.queryFn === skipToken) {
3357
+ defaultedOptions.enabled = false;
3358
+ }
3359
+ return defaultedOptions;
3360
+ }
3361
+ defaultMutationOptions(options) {
3362
+ if (options == null ? void 0 : options._defaulted) {
3363
+ return options;
3364
+ }
3365
+ return __spreadProps(__spreadValues(__spreadValues(__spreadValues({}, __privateGet(this, _defaultOptions2).mutations), (options == null ? void 0 : options.mutationKey) && this.getMutationDefaults(options.mutationKey)), options), {
3366
+ _defaulted: true
3367
+ });
3368
+ }
3369
+ clear() {
3370
+ __privateGet(this, _queryCache).clear();
3371
+ __privateGet(this, _mutationCache2).clear();
3372
+ }
3373
+ }, _queryCache = new WeakMap(), _mutationCache2 = new WeakMap(), _defaultOptions2 = new WeakMap(), _queryDefaults = new WeakMap(), _mutationDefaults = new WeakMap(), _mountCount = new WeakMap(), _unsubscribeFocus = new WeakMap(), _unsubscribeOnline = new WeakMap(), _a10);
3374
+
3375
+ // src/controllers/query.controller.ts
3376
+ var QueryController = class {
3377
+ constructor(host, optionsFn, hostPropertyName) {
3378
+ this.host = host;
3379
+ this.optionsFn = optionsFn;
3380
+ this.host.addController(this);
3381
+ this.hostPropertyName = hostPropertyName;
3382
+ if (this.optionsFn) {
3383
+ this.observeQuery(this.optionsFn);
3384
+ }
3385
+ }
3386
+ observeQuery(options, optimistic = true) {
3387
+ const queryClient = this.host.queryClient;
3388
+ const resolvedOptions = typeof options === "function" ? options() : options;
3389
+ const defaultedOptions = queryClient.defaultQueryOptions(resolvedOptions);
3390
+ this.queryObserver = new QueryObserver(queryClient, defaultedOptions);
3391
+ this.result = optimistic ? this.queryObserver.getOptimisticResult(defaultedOptions) : void 0;
3392
+ this.host.requestUpdate();
3393
+ }
3394
+ hostUpdate() {
3395
+ if (!this.optionsFn || !this.queryObserver)
3396
+ return;
3397
+ const defaultedOptions = this.host.queryClient.defaultQueryOptions(
3398
+ this.optionsFn()
3399
+ );
3400
+ this.queryObserver.setOptions(defaultedOptions);
3401
+ }
3402
+ hostConnected() {
3403
+ this.subscribe();
3404
+ }
3405
+ async subscribe() {
3406
+ var _a11;
3407
+ if (!this.queryObserver) {
3408
+ if (this.optionsFn)
3409
+ this.observeQuery(this.optionsFn);
3410
+ if (!this.queryObserver)
3411
+ return;
3412
+ }
3413
+ (_a11 = this.unsubscribe) == null ? void 0 : _a11.call(this);
3414
+ this.unsubscribe = this.queryObserver.subscribe(
3415
+ (result) => {
3416
+ this.result = result;
3417
+ if (this.hostPropertyName) {
3418
+ ;
3419
+ this.host[this.hostPropertyName] = result;
3420
+ }
3421
+ this.host.requestUpdate();
3422
+ }
3423
+ );
3424
+ this.queryObserver.updateResult();
3425
+ this.host.requestUpdate();
3426
+ }
3427
+ hostDisconnected() {
3428
+ var _a11;
3429
+ (_a11 = this.unsubscribe) == null ? void 0 : _a11.call(this);
3430
+ this.unsubscribe = void 0;
3431
+ }
3432
+ };
3433
+
3434
+ export {
3435
+ apiClient,
3436
+ Environments,
3437
+ HARMONY_URLS,
3438
+ FINAL_STATUSES,
3439
+ ThumbnailService,
3440
+ queryHarmonyCapabilities,
3441
+ queryHarmonyJobs,
3442
+ queryHarmonyJobStatus,
3443
+ queryCreateHarmonySubsetJob,
3444
+ queryCancelHarmonySubsetJob,
3445
+ mutationRemoveHarmonyJobLabels,
3446
+ dehydrate,
3447
+ hydrate,
3448
+ MutationObserver,
3449
+ QueryClient,
3450
+ QueryController
3451
+ };