gemi 0.4.68 → 0.4.70

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 (757) hide show
  1. package/dist/{chunk-f5a531a49e7591bd.js → chunk-2895a97b65e7107b.js} +1 -1
  2. package/dist/{chunk-8884e59809021f5f.js → chunk-2dd61d279d9f0b13.js} +1 -1
  3. package/dist/{chunk-100b76ab0ca3e14d.js → chunk-448c9eceacddef90.js} +1 -1
  4. package/dist/{chunk-a4b231bf6d911e01.js → chunk-466213c5585251ad.js} +1 -1
  5. package/dist/{chunk-edfc3362e0d21dab.js → chunk-4b8da0fabb3539db.js} +5 -5
  6. package/dist/{chunk-1bd88dc9c4475e1d.js → chunk-4bc3b71775040cb9.js} +1 -1
  7. package/dist/{chunk-00935722c776a294.js → chunk-af7d1951242b1c6e.js} +1 -1
  8. package/dist/{chunk-1d2c062034e3ed2d.js → chunk-b6a64bf9af2e91be.js} +2 -2
  9. package/dist/{chunk-a35eb04f0c7c9944.js → chunk-b8176bf532f59485.js} +1 -1
  10. package/dist/{chunk-545989119755857f.js → chunk-cca33e85bf87b3b3.js} +1 -1
  11. package/dist/{chunk-a1efc60864e65ef2.js → chunk-de75d134f236f4bb.js} +1 -1
  12. package/dist/{chunk-107dbe753ed86605.js → chunk-e344c95f8ae7a124.js} +2 -2
  13. package/dist/{chunk-f5200f44395bf49d.js → chunk-e565da7343a33b65.js} +2 -2
  14. package/dist/{chunk-3330ff12936f5a2e.js → chunk-e912bf7c7a0e988a.js} +1 -1
  15. package/dist/{chunk-210fc3731e7d2299.js → chunk-f22ac1ec6c3f782b.js} +1 -1
  16. package/dist/{chunk-1b3b7c2c9ae041ca.js → chunk-fe65548818651cb5.js} +1 -1
  17. package/dist/client/ClientRouterContext.d.ts.map +1 -1
  18. package/dist/client/index.js +21 -6
  19. package/dist/facades/Redirect.d.ts.map +1 -1
  20. package/dist/facades/index.js +1 -1
  21. package/dist/server/index.js +1 -1
  22. package/dist/storage/index.js +1 -1
  23. package/dist/vite/{index-CMpQi8Ml.mjs → index-D9QWnghl.mjs} +1 -2
  24. package/dist/vite/index.mjs +1 -1
  25. package/dist/vite/{typescript-DximJlM5.mjs → typescript-DADBvwYC.mjs} +1 -1
  26. package/package.json +1 -1
  27. package/dist/app/App.test.d.ts +0 -20
  28. package/dist/app/App.test.d.ts.map +0 -1
  29. package/dist/app/createComponentTree.test.d.ts +0 -2
  30. package/dist/app/createComponentTree.test.d.ts.map +0 -1
  31. package/dist/app/createFlatApiRoutes.test.d.ts +0 -2
  32. package/dist/app/createFlatApiRoutes.test.d.ts.map +0 -1
  33. package/dist/app/createFlatViewRoutes.test.d.ts +0 -2
  34. package/dist/app/createFlatViewRoutes.test.d.ts.map +0 -1
  35. package/dist/app/createRouteManifest.test.d.ts +0 -2
  36. package/dist/app/createRouteManifest.test.d.ts.map +0 -1
  37. package/dist/chunk-00234eac874c2722.js +0 -2
  38. package/dist/chunk-00cb9f80352454dd.js +0 -1
  39. package/dist/chunk-00e9dad0734d9761.js +0 -2
  40. package/dist/chunk-00ecc27f03e2e84a.js +0 -2
  41. package/dist/chunk-00f16704831dd8b0.js +0 -2
  42. package/dist/chunk-01052ff9d1c07ef8.js +0 -2
  43. package/dist/chunk-0113570164c56f57.js +0 -2
  44. package/dist/chunk-0130e95410edb036.js +0 -18
  45. package/dist/chunk-01e07763e3e32710.js +0 -2
  46. package/dist/chunk-01e1579811beb424.js +0 -2
  47. package/dist/chunk-01ffccc19e8ef862.js +0 -3
  48. package/dist/chunk-02118fc60206588d.js +0 -2
  49. package/dist/chunk-0306d8fccec5104e.js +0 -2
  50. package/dist/chunk-030b4fb955329860.js +0 -16
  51. package/dist/chunk-03227f4a68e038f4.js +0 -2
  52. package/dist/chunk-03a72299591d45a7.js +0 -18
  53. package/dist/chunk-03c8e645c994d40a.js +0 -2
  54. package/dist/chunk-04aa62521338e3ab.js +0 -18
  55. package/dist/chunk-04d6b88ed6d3f076.js +0 -6
  56. package/dist/chunk-0557700bf68e85d4.js +0 -18
  57. package/dist/chunk-05fa767ab29abb0f.js +0 -2
  58. package/dist/chunk-061d95b15c00e38b.js +0 -9
  59. package/dist/chunk-069fcad61c8841dc.js +0 -1
  60. package/dist/chunk-06b83143607ebdc8.js +0 -6
  61. package/dist/chunk-06eebef7eb056baa.js +0 -2
  62. package/dist/chunk-073f5b81e98d91fe.js +0 -3
  63. package/dist/chunk-08539d08fa7362f7.js +0 -2
  64. package/dist/chunk-088b47e135832170.js +0 -1
  65. package/dist/chunk-088ed28ebed2b009.js +0 -5
  66. package/dist/chunk-08e9ab1091d7383e.js +0 -3
  67. package/dist/chunk-0909c7f6b64b8806.js +0 -2
  68. package/dist/chunk-095848ccb81718bf.js +0 -2
  69. package/dist/chunk-09dd89e1046786a5.js +0 -2
  70. package/dist/chunk-0a6614fbd65524af.js +0 -2
  71. package/dist/chunk-0a9ae42aae6f406e.js +0 -2
  72. package/dist/chunk-0b1b4e4e251ffe01.js +0 -2
  73. package/dist/chunk-0b46ec66d2c3d5f3.js +0 -2
  74. package/dist/chunk-0b5fb4e0c7de8316.js +0 -2
  75. package/dist/chunk-0b7a7410fce0b12e.js +0 -9
  76. package/dist/chunk-0b8dc3d1ff94a0fa.js +0 -6
  77. package/dist/chunk-0b99ba34351bde91.js +0 -3
  78. package/dist/chunk-0d0f764773c0f6b8.js +0 -2
  79. package/dist/chunk-0d8ab901365b9696.js +0 -2
  80. package/dist/chunk-0db33ac43bd1d504.js +0 -2
  81. package/dist/chunk-0de36a7e51fbd11b.js +0 -9
  82. package/dist/chunk-0e125593337a68aa.js +0 -18
  83. package/dist/chunk-0e3473f7e43f4876.js +0 -2
  84. package/dist/chunk-0e99fe5c976c8ea2.js +0 -6
  85. package/dist/chunk-0f8e80862546cbc5.js +0 -18
  86. package/dist/chunk-0ffc38ed09847e35.js +0 -2
  87. package/dist/chunk-1062b3156a49fabc.js +0 -2
  88. package/dist/chunk-1084614a350762fb.js +0 -2
  89. package/dist/chunk-10a623a23a65bb20.js +0 -18
  90. package/dist/chunk-1109657ed53fbdc9.js +0 -2
  91. package/dist/chunk-11323d7a5d9219ce.js +0 -2
  92. package/dist/chunk-1171d9afbbfe827b.js +0 -2
  93. package/dist/chunk-119ffcaf1c463b8d.js +0 -6
  94. package/dist/chunk-11a75566ff74db17.js +0 -6
  95. package/dist/chunk-11d1336f6de61f45.js +0 -16
  96. package/dist/chunk-11fb7f7f30378785.js +0 -2
  97. package/dist/chunk-12b4f44a2beae19b.js +0 -2
  98. package/dist/chunk-12ca7224eb6ccf72.js +0 -9
  99. package/dist/chunk-132c71db605759c9.js +0 -2
  100. package/dist/chunk-1334ee957ff9058c.js +0 -2
  101. package/dist/chunk-136896e8038083a1.js +0 -2
  102. package/dist/chunk-13801a8f811f0461.js +0 -2
  103. package/dist/chunk-13e45ce3460f6375.js +0 -2
  104. package/dist/chunk-14d5491e97673c7d.js +0 -2
  105. package/dist/chunk-14e60554a2e78f4a.js +0 -2
  106. package/dist/chunk-159f5b922269aef1.js +0 -2
  107. package/dist/chunk-15e9771e524c5726.js +0 -2
  108. package/dist/chunk-16a63b2fee0ce9e2.js +0 -2
  109. package/dist/chunk-16dbe3a15379140b.js +0 -2
  110. package/dist/chunk-176e5ded5ed33d4d.js +0 -2
  111. package/dist/chunk-1838696dc4e7a115.js +0 -2
  112. package/dist/chunk-1874b66d572fb0db.js +0 -6
  113. package/dist/chunk-1875b98b6a064557.js +0 -2
  114. package/dist/chunk-187a09f46e2b36e5.js +0 -2
  115. package/dist/chunk-18c32b54097c580e.js +0 -2
  116. package/dist/chunk-18d87123ae525263.js +0 -2
  117. package/dist/chunk-1900e90c372bb1d6.js +0 -2
  118. package/dist/chunk-1976eef63d2e56d5.js +0 -18
  119. package/dist/chunk-197fca66ec324ed9.js +0 -2
  120. package/dist/chunk-1ad1795e55abfdb5.js +0 -2
  121. package/dist/chunk-1b0afbf1baeeaa37.js +0 -2
  122. package/dist/chunk-1b71d04a15bfa432.js +0 -2
  123. package/dist/chunk-1b8acf308a3dc9ec.js +0 -1
  124. package/dist/chunk-1c439804a4c5f8e7.js +0 -18
  125. package/dist/chunk-1cc0d1072ee4a92b.js +0 -2
  126. package/dist/chunk-1d6e287ca9c14fef.js +0 -9
  127. package/dist/chunk-1efe790f8b4ad86d.js +0 -2
  128. package/dist/chunk-1fab30ab853c48cc.js +0 -2
  129. package/dist/chunk-2081b862587086df.js +0 -2
  130. package/dist/chunk-216cc6dcf17534ba.js +0 -2
  131. package/dist/chunk-21b1f7ac5f75cd26.js +0 -2
  132. package/dist/chunk-21e105fb2b3d36d7.js +0 -799
  133. package/dist/chunk-21fe96d1a3bb5a27.js +0 -2
  134. package/dist/chunk-223b0aac9e62386a.js +0 -2
  135. package/dist/chunk-226243dd851d2050.js +0 -2
  136. package/dist/chunk-2279c382943fca51.js +0 -2
  137. package/dist/chunk-22ec1973752a5488.js +0 -2
  138. package/dist/chunk-2335866508ec8b1b.js +0 -2
  139. package/dist/chunk-23c287376e277e1d.js +0 -6
  140. package/dist/chunk-241584e48397dda8.js +0 -2
  141. package/dist/chunk-24e01cba9fc81ed1.js +0 -2
  142. package/dist/chunk-25dd80c6d9144f89.js +0 -2
  143. package/dist/chunk-2665dffd37ead1d9.js +0 -2
  144. package/dist/chunk-2672477bf396bad8.js +0 -2
  145. package/dist/chunk-269dd2cd89aa1c32.js +0 -2
  146. package/dist/chunk-26a5c9db5d17f5e7.js +0 -3
  147. package/dist/chunk-26d58ddc3a89234f.js +0 -2
  148. package/dist/chunk-27484e5ca3244aea.js +0 -6
  149. package/dist/chunk-281226b6c79ebf8b.js +0 -2
  150. package/dist/chunk-285299d784985340.js +0 -3
  151. package/dist/chunk-28bb1e70f39736ee.js +0 -2
  152. package/dist/chunk-28e02c9b9c46a167.js +0 -2
  153. package/dist/chunk-293d8be91a9ad4f9.js +0 -2
  154. package/dist/chunk-29a0dbe3c8eb87d4.js +0 -6
  155. package/dist/chunk-29bc27c5e126c304.js +0 -18
  156. package/dist/chunk-29c46abebbc0f09b.js +0 -2
  157. package/dist/chunk-2a0d1475ac05027d.js +0 -2
  158. package/dist/chunk-2a0e8565f874d787.js +0 -18
  159. package/dist/chunk-2a101fb25d52469b.js +0 -2
  160. package/dist/chunk-2a328e3beda74e4f.js +0 -2
  161. package/dist/chunk-2a48e0098ccd4249.js +0 -2
  162. package/dist/chunk-2a5b4dfab2e26e21.js +0 -1
  163. package/dist/chunk-2b2764983015552e.js +0 -2
  164. package/dist/chunk-2b3eabd01b2ae3f8.js +0 -2
  165. package/dist/chunk-2bfbc777c6995d9a.js +0 -18
  166. package/dist/chunk-2cf271e24c26b0ee.js +0 -2
  167. package/dist/chunk-2db6c9bb69bb27aa.js +0 -1
  168. package/dist/chunk-2e34b856e195c353.js +0 -2
  169. package/dist/chunk-2e447b50094b2862.js +0 -2
  170. package/dist/chunk-2ec287222364c6b6.js +0 -2
  171. package/dist/chunk-2ecc077efab285b4.js +0 -2
  172. package/dist/chunk-2f6867d08b95f2d2.js +0 -2
  173. package/dist/chunk-2f7091b9e4f728c7.js +0 -2
  174. package/dist/chunk-2f7aac67f16768a5.js +0 -1
  175. package/dist/chunk-3042abeb18cf180e.js +0 -2
  176. package/dist/chunk-30622b4547786346.js +0 -2
  177. package/dist/chunk-30f854fb2ba73268.js +0 -2
  178. package/dist/chunk-322e991c2b56a79d.js +0 -2
  179. package/dist/chunk-3258ba57992f25bb.js +0 -6
  180. package/dist/chunk-328c98321c6ba3d6.js +0 -2
  181. package/dist/chunk-32af3a3a1c95157f.js +0 -2
  182. package/dist/chunk-32f06f9ad00aaabd.js +0 -2
  183. package/dist/chunk-32f3d5e11b4bc87d.js +0 -2
  184. package/dist/chunk-339dd63e93f196b7.js +0 -16
  185. package/dist/chunk-345f66382cf35683.js +0 -2
  186. package/dist/chunk-34786cd9bc9be20b.js +0 -18
  187. package/dist/chunk-3567e8e424a60c99.js +0 -18
  188. package/dist/chunk-35ab4be8ca6c67ee.js +0 -2
  189. package/dist/chunk-361f806684fe532e.js +0 -6
  190. package/dist/chunk-36ab979dae2a2094.js +0 -2
  191. package/dist/chunk-36b8e37ca93fcc67.js +0 -2
  192. package/dist/chunk-370389a68668658a.js +0 -2
  193. package/dist/chunk-3728fa21e6931333.js +0 -2
  194. package/dist/chunk-378a050132886d17.js +0 -2
  195. package/dist/chunk-38237d1b01b0db25.js +0 -3
  196. package/dist/chunk-382a513747a9aa52.js +0 -6
  197. package/dist/chunk-38fc9d258dbe62fd.js +0 -18
  198. package/dist/chunk-3a3092db69408490.js +0 -2
  199. package/dist/chunk-3a9fcddbd219223b.js +0 -3
  200. package/dist/chunk-3ab807ceccde81f3.js +0 -3
  201. package/dist/chunk-3abb49bba3da7231.js +0 -1
  202. package/dist/chunk-3aecba8553e036bf.js +0 -6
  203. package/dist/chunk-3afa6cad1106f55a.js +0 -2
  204. package/dist/chunk-3b235fc8816ff5e6.js +0 -2
  205. package/dist/chunk-3b6df70b3d01d442.js +0 -3
  206. package/dist/chunk-3bd48fb5397a155b.js +0 -5
  207. package/dist/chunk-3bedef94ef8dba4a.js +0 -2
  208. package/dist/chunk-3bf6f8c8e8589e3d.js +0 -2
  209. package/dist/chunk-3c83d6762f7e56b3.js +0 -2
  210. package/dist/chunk-3cbc1c9cdc091b43.js +0 -2
  211. package/dist/chunk-3d7556bb2f665f61.js +0 -2
  212. package/dist/chunk-3dbf073642b377eb.js +0 -1
  213. package/dist/chunk-3e3078cae755e834.js +0 -2
  214. package/dist/chunk-3f1eaa4b49aa9a15.js +0 -3
  215. package/dist/chunk-40111275eef9f7b3.js +0 -6
  216. package/dist/chunk-408fb31b8b0f97ee.js +0 -2
  217. package/dist/chunk-40942fb138dcd780.js +0 -9
  218. package/dist/chunk-40c21fe243675250.js +0 -2
  219. package/dist/chunk-40f4bfe67d75f2ec.js +0 -6
  220. package/dist/chunk-412ad792487747bc.js +0 -2
  221. package/dist/chunk-415d564ff61a8fe6.js +0 -2
  222. package/dist/chunk-42097f79deccd5b7.js +0 -2
  223. package/dist/chunk-4272071146eb5eb2.js +0 -1
  224. package/dist/chunk-42aa6e3d42149620.js +0 -2
  225. package/dist/chunk-432bbd1d38ff3b52.js +0 -2
  226. package/dist/chunk-437335670ad9059d.js +0 -2
  227. package/dist/chunk-442a5b1ec74c72f8.js +0 -2
  228. package/dist/chunk-4432f8d8567e682b.js +0 -9
  229. package/dist/chunk-4548da0edd8c39ed.js +0 -2
  230. package/dist/chunk-45badde289996d82.js +0 -9
  231. package/dist/chunk-464cce477d8a56e0.js +0 -2
  232. package/dist/chunk-46528bdbb2218772.js +0 -2
  233. package/dist/chunk-477a4d3115b9703e.js +0 -2
  234. package/dist/chunk-47c4cec992af0689.js +0 -2
  235. package/dist/chunk-487b7c0cb388d533.js +0 -6
  236. package/dist/chunk-488b4db0c522d44a.js +0 -1
  237. package/dist/chunk-489125d86cd75e69.js +0 -9
  238. package/dist/chunk-4960e27e19bbe42a.js +0 -2
  239. package/dist/chunk-4b201cccdf6d290f.js +0 -2
  240. package/dist/chunk-4bbeb47cc6137c49.js +0 -2
  241. package/dist/chunk-4cb19a9e82653084.js +0 -2
  242. package/dist/chunk-4cb5f3feff1a81c5.js +0 -2
  243. package/dist/chunk-4cc2463d985f6882.js +0 -9
  244. package/dist/chunk-4d19e16340534ed0.js +0 -2
  245. package/dist/chunk-4d46e390f99b97e0.js +0 -2
  246. package/dist/chunk-4d80485e7efb826f.js +0 -2
  247. package/dist/chunk-4e023976eb557258.js +0 -2
  248. package/dist/chunk-4e5485d3cfe9dc4e.js +0 -2
  249. package/dist/chunk-4e9167391dd0d15f.js +0 -2
  250. package/dist/chunk-4e9d5acfa5541d1b.js +0 -2
  251. package/dist/chunk-4eeee2f82b1fa8bb.js +0 -2
  252. package/dist/chunk-4f01c5a98726e704.js +0 -2
  253. package/dist/chunk-4f1b43f5232b3e65.js +0 -6
  254. package/dist/chunk-4f5b07a6a6fd5cc6.js +0 -2
  255. package/dist/chunk-4ffecff075e73d43.js +0 -2
  256. package/dist/chunk-50b440397d41ab5a.js +0 -2
  257. package/dist/chunk-50ea27a13eb62b5e.js +0 -2
  258. package/dist/chunk-5128de1a65ba6ce1.js +0 -2
  259. package/dist/chunk-514f8554fb446139.js +0 -9
  260. package/dist/chunk-515c26d532207095.js +0 -2
  261. package/dist/chunk-516c6b67d6e3d041.js +0 -18
  262. package/dist/chunk-5190b38f06507ee1.js +0 -18
  263. package/dist/chunk-51bad63147c3be4e.js +0 -6
  264. package/dist/chunk-51c21d2a3c45fbe1.js +0 -2
  265. package/dist/chunk-51e930ef29de215b.js +0 -1
  266. package/dist/chunk-51ee928673a12486.js +0 -2
  267. package/dist/chunk-521750cca5e03c65.js +0 -2
  268. package/dist/chunk-5290ecaf429d5a61.js +0 -2
  269. package/dist/chunk-52e76204b898931e.js +0 -18
  270. package/dist/chunk-53b7d6267c9172bc.js +0 -2
  271. package/dist/chunk-53c39aca36ece018.js +0 -2
  272. package/dist/chunk-543013123141745c.js +0 -2
  273. package/dist/chunk-54c03438ff1f41e5.js +0 -2
  274. package/dist/chunk-552bdaee8c03e091.js +0 -9
  275. package/dist/chunk-55f76d4f6116f296.js +0 -9
  276. package/dist/chunk-5656abf3151c8fa2.js +0 -2
  277. package/dist/chunk-56f6f8c2162dcf1c.js +0 -2
  278. package/dist/chunk-57a61e580c4adf80.js +0 -2
  279. package/dist/chunk-581e0d46235dbf7c.js +0 -2
  280. package/dist/chunk-584e33c96b1a78e4.js +0 -2
  281. package/dist/chunk-5852c4da08af607f.js +0 -2
  282. package/dist/chunk-589f4b330dd6d32e.js +0 -2
  283. package/dist/chunk-590bd43a75f48606.js +0 -18
  284. package/dist/chunk-590cd512f9e72880.js +0 -18
  285. package/dist/chunk-596024c880387c2f.js +0 -2
  286. package/dist/chunk-597d5c6772b14a85.js +0 -9
  287. package/dist/chunk-59980167a4c574b3.js +0 -2
  288. package/dist/chunk-59da8b8ab8add738.js +0 -16
  289. package/dist/chunk-59e951812cb019e6.js +0 -2
  290. package/dist/chunk-59fe590e19085858.js +0 -18
  291. package/dist/chunk-5a2d89fce13094a9.js +0 -2
  292. package/dist/chunk-5a66922d5981afc8.js +0 -18
  293. package/dist/chunk-5a75eae6c32c2ba3.js +0 -2
  294. package/dist/chunk-5a9fa677066f72ac.js +0 -2
  295. package/dist/chunk-5b54843712abde58.js +0 -2
  296. package/dist/chunk-5b836c769c5dad2a.js +0 -2
  297. package/dist/chunk-5c2a5156f6bef0f5.js +0 -2
  298. package/dist/chunk-5c3681fb029d7588.js +0 -1
  299. package/dist/chunk-5cd0a98345a5d57a.js +0 -2
  300. package/dist/chunk-5d3431e9686096af.js +0 -18
  301. package/dist/chunk-5d51afe60efaf99e.js +0 -2
  302. package/dist/chunk-5d86d49d66db1c22.js +0 -2
  303. package/dist/chunk-5defd55c3c97bdb2.js +0 -2
  304. package/dist/chunk-5e13846c554dc272.js +0 -2
  305. package/dist/chunk-5fb9d31b7b4629e9.js +0 -1
  306. package/dist/chunk-5fbde192153a2a50.js +0 -2
  307. package/dist/chunk-5fd67245740e3908.js +0 -9
  308. package/dist/chunk-6003411eae26f246.js +0 -3
  309. package/dist/chunk-60d70dcbf4e79276.js +0 -2
  310. package/dist/chunk-60f3b8242209ac3e.js +0 -18
  311. package/dist/chunk-61973614facb50a8.js +0 -2
  312. package/dist/chunk-61abf77c3eee8698.js +0 -2
  313. package/dist/chunk-61fc22887a7be6f9.js +0 -3
  314. package/dist/chunk-62144f9c5008bd47.js +0 -1
  315. package/dist/chunk-625025af819f55f5.js +0 -2
  316. package/dist/chunk-6259cd13f53334df.js +0 -2
  317. package/dist/chunk-62b2777c629d5157.js +0 -2
  318. package/dist/chunk-62c0f9a87ad8a46b.js +0 -2
  319. package/dist/chunk-634c80cac76d9080.js +0 -18
  320. package/dist/chunk-63ad0436d3d896b5.js +0 -3
  321. package/dist/chunk-63c5605bcce508ea.js +0 -1
  322. package/dist/chunk-640e4bdae1671873.js +0 -1
  323. package/dist/chunk-648dff766091372e.js +0 -2
  324. package/dist/chunk-64a5b833cef67725.js +0 -2
  325. package/dist/chunk-64c89cee4d4bd9a9.js +0 -2
  326. package/dist/chunk-65626c3d72d4e071.js +0 -2
  327. package/dist/chunk-65c413665a7cf876.js +0 -2
  328. package/dist/chunk-6605e290c4de1f0e.js +0 -6
  329. package/dist/chunk-66ab377654806d08.js +0 -2
  330. package/dist/chunk-670d2c924e80cb33.js +0 -3
  331. package/dist/chunk-67351e678a7ccc10.js +0 -2
  332. package/dist/chunk-6766e66417809e1a.js +0 -2
  333. package/dist/chunk-6821bb0ff6ed2452.js +0 -18
  334. package/dist/chunk-682b01231754a121.js +0 -2
  335. package/dist/chunk-68af0a6f6be163ce.js +0 -2
  336. package/dist/chunk-6921ba2fa2e1adea.js +0 -2
  337. package/dist/chunk-6943b50bd0a3ac84.js +0 -1
  338. package/dist/chunk-699957e6eb705a81.js +0 -2
  339. package/dist/chunk-69ff5047661fe699.js +0 -2
  340. package/dist/chunk-6a28d299b5726bba.js +0 -2
  341. package/dist/chunk-6ac91c66919b5ddd.js +0 -2
  342. package/dist/chunk-6afe097e13ebdf55.js +0 -2
  343. package/dist/chunk-6c345dba15e1c3f2.js +0 -2
  344. package/dist/chunk-6c461d293fa213f1.js +0 -2
  345. package/dist/chunk-6caabea5fcbc9cf7.js +0 -2
  346. package/dist/chunk-6d04c1ccb3ca8c74.js +0 -1
  347. package/dist/chunk-6e06660ab4e9d4da.js +0 -6
  348. package/dist/chunk-6e415d0e12fc9539.js +0 -1
  349. package/dist/chunk-6f78f2a54491595d.js +0 -2
  350. package/dist/chunk-700835a3a709b370.js +0 -2
  351. package/dist/chunk-70bb003c03f21dad.js +0 -2
  352. package/dist/chunk-711f86b9d50d45fe.js +0 -18
  353. package/dist/chunk-71820a3186a38543.js +0 -6
  354. package/dist/chunk-7195a8718fcd8215.js +0 -1
  355. package/dist/chunk-722f2aeae58daaa3.js +0 -18
  356. package/dist/chunk-72821f055108528e.js +0 -2
  357. package/dist/chunk-72add10919c9d7ae.js +0 -2
  358. package/dist/chunk-731f30522682483a.js +0 -2
  359. package/dist/chunk-733513f9c9e8b50f.js +0 -2
  360. package/dist/chunk-733688c7851fffd1.js +0 -2
  361. package/dist/chunk-7336bd3f3b799e3e.js +0 -1
  362. package/dist/chunk-7399f06d840a1449.js +0 -2
  363. package/dist/chunk-73c97da8ac4f1d30.js +0 -1
  364. package/dist/chunk-73c9d39f58a30fe2.js +0 -6
  365. package/dist/chunk-73eed146ee78f681.js +0 -1
  366. package/dist/chunk-73fb3bb4d001bb2e.js +0 -1
  367. package/dist/chunk-7431d60af8814bc8.js +0 -2
  368. package/dist/chunk-74802f454b9972eb.js +0 -2
  369. package/dist/chunk-74ab9c225bfe0eaa.js +0 -2
  370. package/dist/chunk-74db07ba7b97d1c1.js +0 -2
  371. package/dist/chunk-76a525af0575486d.js +0 -5
  372. package/dist/chunk-76db0552d2492ee7.js +0 -3
  373. package/dist/chunk-774337ca540a856d.js +0 -2
  374. package/dist/chunk-77c89e3c8a03f91e.js +0 -2
  375. package/dist/chunk-77d1b26236f5feec.js +0 -2
  376. package/dist/chunk-77d5bbc7a9117c21.js +0 -2
  377. package/dist/chunk-782dde0748025b5a.js +0 -2
  378. package/dist/chunk-78534576cf359780.js +0 -2
  379. package/dist/chunk-7898dd7609f163e8.js +0 -2
  380. package/dist/chunk-78ab7bcbe6104c5f.js +0 -2
  381. package/dist/chunk-78d6df0054754d5d.js +0 -2
  382. package/dist/chunk-795a1bd1d89efce1.js +0 -2
  383. package/dist/chunk-797430f55303e6b5.js +0 -2
  384. package/dist/chunk-7975e27df461cbfb.js +0 -6
  385. package/dist/chunk-798f550643937b6d.js +0 -2
  386. package/dist/chunk-79b438007611560a.js +0 -2
  387. package/dist/chunk-79f7d7d90c4fb51a.js +0 -2
  388. package/dist/chunk-7a318e738fec6c2b.js +0 -3
  389. package/dist/chunk-7aa7f7e219919c4d.js +0 -2
  390. package/dist/chunk-7abc696047809312.js +0 -6
  391. package/dist/chunk-7afdc0ba5afe109a.js +0 -21
  392. package/dist/chunk-7b3bbc8a88aee78c.js +0 -1
  393. package/dist/chunk-7b8e777f7353b492.js +0 -2
  394. package/dist/chunk-7c0fd956d14fc327.js +0 -2
  395. package/dist/chunk-7c62e9d6edc4b418.js +0 -2
  396. package/dist/chunk-7c670baec90faacb.js +0 -2
  397. package/dist/chunk-7d7b2c1f2a8dd018.js +0 -6
  398. package/dist/chunk-7de7f34d46c76019.js +0 -18
  399. package/dist/chunk-7dfb17814922ade0.js +0 -2
  400. package/dist/chunk-7e9d5eea3aa359ad.js +0 -2
  401. package/dist/chunk-7ea1baca4032004f.js +0 -2
  402. package/dist/chunk-7eb54149dff25532.js +0 -2
  403. package/dist/chunk-7ec30fbbbdf89272.js +0 -2
  404. package/dist/chunk-7fadaab2fa180ca9.js +0 -6
  405. package/dist/chunk-7fef11f59982b1f6.js +0 -2
  406. package/dist/chunk-7ffe2ce59a054e35.js +0 -2
  407. package/dist/chunk-80b17f9853d76e98.js +0 -2
  408. package/dist/chunk-8133ed564834cff3.js +0 -2
  409. package/dist/chunk-8163d4f4c2c91caf.js +0 -2
  410. package/dist/chunk-817aad76d1e8eecc.js +0 -6
  411. package/dist/chunk-81938d68b172446d.js +0 -2
  412. package/dist/chunk-81a00ae1b3ea4824.js +0 -2
  413. package/dist/chunk-81ce9b491b290639.js +0 -1
  414. package/dist/chunk-81f5123a24c19089.js +0 -2
  415. package/dist/chunk-827d2c67c03d1a52.js +0 -2
  416. package/dist/chunk-8295e42bcfc910ff.js +0 -16
  417. package/dist/chunk-82f72dfc6e27be04.js +0 -1
  418. package/dist/chunk-8401f0f53dc26633.js +0 -1
  419. package/dist/chunk-8450a38607a86896.js +0 -2
  420. package/dist/chunk-847629c9a7550cc3.js +0 -2
  421. package/dist/chunk-84b129a5185ac24d.js +0 -2
  422. package/dist/chunk-84c7f86a97d17f53.js +0 -2
  423. package/dist/chunk-84f1b068dc7fc8b7.js +0 -2
  424. package/dist/chunk-8581aa9e876d46fb.js +0 -2
  425. package/dist/chunk-85a1f8fb96fd9473.js +0 -2
  426. package/dist/chunk-85d5e5d7ff832255.js +0 -2
  427. package/dist/chunk-860f5fcef7074193.js +0 -9
  428. package/dist/chunk-869d80d2e475b938.js +0 -3
  429. package/dist/chunk-880273a32da461fd.js +0 -9
  430. package/dist/chunk-88103b9d011960db.js +0 -5
  431. package/dist/chunk-89187bbdf6945131.js +0 -2
  432. package/dist/chunk-89291b5eb2bbd0b4.js +0 -2
  433. package/dist/chunk-895d9b1ef7a65211.js +0 -2
  434. package/dist/chunk-897773d66a89947a.js +0 -2
  435. package/dist/chunk-89c6080d4a693ddf.js +0 -2
  436. package/dist/chunk-8a993922ea970923.js +0 -2
  437. package/dist/chunk-8aa3e0e20e411d11.js +0 -2
  438. package/dist/chunk-8af626a703659719.js +0 -18
  439. package/dist/chunk-8b3d411f441a43ce.js +0 -2
  440. package/dist/chunk-8b40d6a498f8bf81.js +0 -2
  441. package/dist/chunk-8b944ecefa1b832c.js +0 -18
  442. package/dist/chunk-8bb91c504b9ca45e.js +0 -2
  443. package/dist/chunk-8bf925705fdcef0c.js +0 -2
  444. package/dist/chunk-8c2b349a7198788f.js +0 -6
  445. package/dist/chunk-8c3e0f5d4a0d6e53.js +0 -2
  446. package/dist/chunk-8c8c8fd3646b76a1.js +0 -2
  447. package/dist/chunk-8caa0abe673f5d41.js +0 -2
  448. package/dist/chunk-8d8666b73758171e.js +0 -2
  449. package/dist/chunk-8e72aa06d4e47eca.js +0 -2
  450. package/dist/chunk-8ef8222b34d8f63f.js +0 -2
  451. package/dist/chunk-8f24cd33e07d02f3.js +0 -2
  452. package/dist/chunk-8f547b919361fdf4.js +0 -2
  453. package/dist/chunk-8f986f307ff91bd3.js +0 -2
  454. package/dist/chunk-901e700a2c2d43f3.js +0 -18
  455. package/dist/chunk-90c5196ff1f827a8.js +0 -2
  456. package/dist/chunk-9113f22a5215c639.js +0 -3
  457. package/dist/chunk-915c050c94553981.js +0 -2
  458. package/dist/chunk-9238196d4889d660.js +0 -1
  459. package/dist/chunk-92a55add20b5d7ac.js +0 -9
  460. package/dist/chunk-92f6095a3be7f459.js +0 -1
  461. package/dist/chunk-9326224d1e4c1a64.js +0 -2
  462. package/dist/chunk-933845e73519b4c5.js +0 -2
  463. package/dist/chunk-934ebff128f86ef1.js +0 -1
  464. package/dist/chunk-9350baa090b5a424.js +0 -2
  465. package/dist/chunk-938fed005335132e.js +0 -9
  466. package/dist/chunk-93b6f53456c1251b.js +0 -2
  467. package/dist/chunk-94578320d28e33ad.js +0 -2
  468. package/dist/chunk-9501e589e3e86a96.js +0 -2
  469. package/dist/chunk-955e2bfcdb7a7e71.js +0 -2
  470. package/dist/chunk-96b635a3bdba7415.js +0 -2
  471. package/dist/chunk-970e033f764e29fc.js +0 -19
  472. package/dist/chunk-98126e4b5bd19831.js +0 -2
  473. package/dist/chunk-9938e9a4fe25dda5.js +0 -2
  474. package/dist/chunk-99ba9dfd7c11383b.js +0 -18
  475. package/dist/chunk-9a622a10e7764b23.js +0 -2
  476. package/dist/chunk-9b5649697d59dfb4.js +0 -2
  477. package/dist/chunk-9bd00e182ac2f8a6.js +0 -6
  478. package/dist/chunk-9bd90ecd4ddde546.js +0 -18
  479. package/dist/chunk-9c3b4dd1591053c5.js +0 -18
  480. package/dist/chunk-9c4a4b4bd266869d.js +0 -2
  481. package/dist/chunk-9d069ba29a122630.js +0 -1
  482. package/dist/chunk-9d1337fc9976354d.js +0 -2
  483. package/dist/chunk-9d2777df26b445e4.js +0 -2
  484. package/dist/chunk-9d2af1a704b857ee.js +0 -2
  485. package/dist/chunk-9d6cc631cdabbe35.js +0 -9
  486. package/dist/chunk-9d714f87e4e3e250.js +0 -18
  487. package/dist/chunk-9ee2118bd4eb34ae.js +0 -9
  488. package/dist/chunk-9f6199bc705fc395.js +0 -18
  489. package/dist/chunk-a0003b7feea6fae6.js +0 -2
  490. package/dist/chunk-a004fce37a0f5a65.js +0 -2
  491. package/dist/chunk-a02b2d564bdb603d.js +0 -6
  492. package/dist/chunk-a095821ffc039b99.js +0 -18
  493. package/dist/chunk-a10ae1a06a28aaab.js +0 -2
  494. package/dist/chunk-a13ab30c392c3563.js +0 -9
  495. package/dist/chunk-a14516ac5e6f78aa.js +0 -1
  496. package/dist/chunk-a14b8af8b2a8d0b0.js +0 -2
  497. package/dist/chunk-a210ec2b987fa5f7.js +0 -2
  498. package/dist/chunk-a2fcc46e344ae7ae.js +0 -2
  499. package/dist/chunk-a3526e321ac9d173.js +0 -1
  500. package/dist/chunk-a3f85d0d3261ae44.js +0 -9
  501. package/dist/chunk-a4862acc0c3fed7d.js +0 -6
  502. package/dist/chunk-a50b9cd348c3e882.js +0 -9
  503. package/dist/chunk-a57ecc74c0fb9045.js +0 -2
  504. package/dist/chunk-a5c18c07abe8fd9c.js +0 -2
  505. package/dist/chunk-a63e13c410e92923.js +0 -2
  506. package/dist/chunk-a693f8ec2e8af8ca.js +0 -2
  507. package/dist/chunk-a719a1f305964521.js +0 -2
  508. package/dist/chunk-a7a144f5e4772c35.js +0 -2
  509. package/dist/chunk-a7f3e9d5b7cf7c42.js +0 -2
  510. package/dist/chunk-a816613f5321b9db.js +0 -1
  511. package/dist/chunk-a8310ad9bad32329.js +0 -2
  512. package/dist/chunk-a885dc5561caa8e0.js +0 -3
  513. package/dist/chunk-a88c3919c74b7877.js +0 -18
  514. package/dist/chunk-a9625dd807cb668e.js +0 -2
  515. package/dist/chunk-a991fdce275f1256.js +0 -2
  516. package/dist/chunk-aa1b1fb08828cb24.js +0 -2
  517. package/dist/chunk-aad7af5112f0f4f2.js +0 -2
  518. package/dist/chunk-aaf5855c5199efe9.js +0 -2
  519. package/dist/chunk-aafdd9bfb5bde8bf.js +0 -2
  520. package/dist/chunk-ab0c3f72f95cb4f4.js +0 -3
  521. package/dist/chunk-ab79a2f0d89fbeae.js +0 -1
  522. package/dist/chunk-ab7b6ceb26aca9b1.js +0 -3
  523. package/dist/chunk-abb2f588bd34adff.js +0 -2
  524. package/dist/chunk-abd0b68c299eebfc.js +0 -2
  525. package/dist/chunk-ac32b3d9dda47756.js +0 -9
  526. package/dist/chunk-acd4530b2ff92aff.js +0 -18
  527. package/dist/chunk-ad656a60ce7912bb.js +0 -2
  528. package/dist/chunk-ad8e7de66d8bf8c5.js +0 -2
  529. package/dist/chunk-adb4e1e222eb1d20.js +0 -2
  530. package/dist/chunk-ae373c8ae2d526ae.js +0 -18
  531. package/dist/chunk-ae50ef54d7de9179.js +0 -2
  532. package/dist/chunk-ae7b1bdf00266d88.js +0 -2
  533. package/dist/chunk-aef3f1c1429e6058.js +0 -2
  534. package/dist/chunk-af6b79a6ce7388ee.js +0 -18
  535. package/dist/chunk-afbf69daa7589a52.js +0 -2
  536. package/dist/chunk-b009482e01114059.js +0 -3
  537. package/dist/chunk-b031077f0a783b82.js +0 -2
  538. package/dist/chunk-b05cb7ef4546980d.js +0 -2
  539. package/dist/chunk-b05e4833f4bb2f8f.js +0 -9
  540. package/dist/chunk-b06168e5d3080486.js +0 -1
  541. package/dist/chunk-b07249c949a284d2.js +0 -16
  542. package/dist/chunk-b0cc82fa84d5362d.js +0 -2
  543. package/dist/chunk-b0f453845cad4e6e.js +0 -2
  544. package/dist/chunk-b13cfa16a8a18324.js +0 -3
  545. package/dist/chunk-b1918e88103a8501.js +0 -2
  546. package/dist/chunk-b2bc43f60314d1a9.js +0 -2
  547. package/dist/chunk-b2d07c19a78dc397.js +0 -2
  548. package/dist/chunk-b3bfe533d66f6a17.js +0 -2
  549. package/dist/chunk-b3e27ec4b56a20ac.js +0 -2
  550. package/dist/chunk-b558c43783464f1b.js +0 -2
  551. package/dist/chunk-b5d6eb761760b2a7.js +0 -6
  552. package/dist/chunk-b66a9e50afbac035.js +0 -9
  553. package/dist/chunk-b7b365f7e6038104.js +0 -2
  554. package/dist/chunk-b7c4dc1136fcaeb7.js +0 -2
  555. package/dist/chunk-b7da6c96acf0478f.js +0 -18
  556. package/dist/chunk-b7f9e29074a9f36a.js +0 -2
  557. package/dist/chunk-b80a86610158cbfd.js +0 -1
  558. package/dist/chunk-b855e71b162ce5a2.js +0 -2
  559. package/dist/chunk-b8d3d76e1dd9affe.js +0 -2
  560. package/dist/chunk-b97189ea9588db36.js +0 -9
  561. package/dist/chunk-b9cba2a8bd5bcd3e.js +0 -2
  562. package/dist/chunk-b9e4546aaa58319c.js +0 -2
  563. package/dist/chunk-b9f4c1fce7152fc8.js +0 -9
  564. package/dist/chunk-ba051a98cd651063.js +0 -1
  565. package/dist/chunk-bbd36ce62b950ee5.js +0 -2
  566. package/dist/chunk-bbdd098f2a2cd820.js +0 -18
  567. package/dist/chunk-bcd70a6fc2fd359c.js +0 -1
  568. package/dist/chunk-bd2888a454e50cfd.js +0 -1
  569. package/dist/chunk-bd52b3f25b928eb1.js +0 -2
  570. package/dist/chunk-bdc34785363e3f34.js +0 -2
  571. package/dist/chunk-bdf4f2b1862899bb.js +0 -2
  572. package/dist/chunk-be095501304df604.js +0 -9
  573. package/dist/chunk-beca91bf7cc216cd.js +0 -2
  574. package/dist/chunk-bee6075c5738d87a.js +0 -2
  575. package/dist/chunk-bf14cc3e71fcd2d8.js +0 -2
  576. package/dist/chunk-bf4fa1d9864332a8.js +0 -2
  577. package/dist/chunk-bf92f3127474b56a.js +0 -3
  578. package/dist/chunk-bfccfb070c1630e9.js +0 -2
  579. package/dist/chunk-bffb8d677e1424a9.js +0 -6
  580. package/dist/chunk-c041f058dc3d571b.js +0 -1
  581. package/dist/chunk-c0bd8e19395d722b.js +0 -2
  582. package/dist/chunk-c124bf801cec12d9.js +0 -2
  583. package/dist/chunk-c153b192112b0d44.js +0 -2
  584. package/dist/chunk-c1813278ccdc04b8.js +0 -2
  585. package/dist/chunk-c210f6ae6276ebe8.js +0 -1
  586. package/dist/chunk-c29701ffef4ca07a.js +0 -2
  587. package/dist/chunk-c2d1f66cf8468e71.js +0 -1
  588. package/dist/chunk-c2fe378a1764eb92.js +0 -2
  589. package/dist/chunk-c3e4a396dc7a5fe7.js +0 -2
  590. package/dist/chunk-c3eaa877d3aab9db.js +0 -18
  591. package/dist/chunk-c45e1427f48008f0.js +0 -2
  592. package/dist/chunk-c4f342e09d9b2f23.js +0 -2
  593. package/dist/chunk-c50ff3cf3c78af79.js +0 -2
  594. package/dist/chunk-c609d06153ed09ce.js +0 -2
  595. package/dist/chunk-c62b5c4cec67029c.js +0 -1
  596. package/dist/chunk-c675395110f371b1.js +0 -6
  597. package/dist/chunk-c675f193d459818e.js +0 -2
  598. package/dist/chunk-c6846df9c8456b20.js +0 -3
  599. package/dist/chunk-c6d988f5928a4df1.js +0 -2
  600. package/dist/chunk-c72bfaa252a03f6f.js +0 -2
  601. package/dist/chunk-c7e2acfd5087fb30.js +0 -2
  602. package/dist/chunk-c83b39b7178003da.js +0 -2
  603. package/dist/chunk-c85fc7168a708cb6.js +0 -3
  604. package/dist/chunk-c8631aa6bbb62e13.js +0 -2
  605. package/dist/chunk-c864ab57913d658f.js +0 -1
  606. package/dist/chunk-c882d0c175c22c17.js +0 -2
  607. package/dist/chunk-c8b00b645df96ed5.js +0 -2
  608. package/dist/chunk-c8f1115d77efc1c0.js +0 -2
  609. package/dist/chunk-c9707ae8f1d346ff.js +0 -3
  610. package/dist/chunk-c99b8c3d6bda27b0.js +0 -2
  611. package/dist/chunk-cb65fe402653c65e.js +0 -2
  612. package/dist/chunk-cb69e9621a60d310.js +0 -1
  613. package/dist/chunk-cca1f3ae7ec0dee1.js +0 -2
  614. package/dist/chunk-ccb551ce4fd177fe.js +0 -2
  615. package/dist/chunk-cce7de7e81895807.js +0 -2
  616. package/dist/chunk-ccfd101ce72e80bf.js +0 -1
  617. package/dist/chunk-cd1636884486d7b3.js +0 -1
  618. package/dist/chunk-cdfa2adeddc1a8e1.js +0 -2
  619. package/dist/chunk-ceb94e70091088e5.js +0 -2
  620. package/dist/chunk-cf3d1744ea801f48.js +0 -6
  621. package/dist/chunk-cf7dde2ab1be3a3c.js +0 -1
  622. package/dist/chunk-cf8b1c7a4e9fc32d.js +0 -18
  623. package/dist/chunk-cfa9a65fae5ddaf4.js +0 -2
  624. package/dist/chunk-d0757747d9cc2e47.js +0 -2
  625. package/dist/chunk-d0806df6defd9dce.js +0 -2
  626. package/dist/chunk-d12b578765686adb.js +0 -6
  627. package/dist/chunk-d16ef78d852a6856.js +0 -1
  628. package/dist/chunk-d22136d39cf8465f.js +0 -2
  629. package/dist/chunk-d26ffb7722e6df54.js +0 -1
  630. package/dist/chunk-d27588325ae2c0f3.js +0 -2
  631. package/dist/chunk-d2e057b6f3f9d500.js +0 -2
  632. package/dist/chunk-d3033805e98482dc.js +0 -6
  633. package/dist/chunk-d33a0e61ccf1bab5.js +0 -2
  634. package/dist/chunk-d3765f96a689a0c1.js +0 -2
  635. package/dist/chunk-d37757ffee07b05f.js +0 -6
  636. package/dist/chunk-d3b4a3c778c23705.js +0 -2
  637. package/dist/chunk-d3e039d010842a3f.js +0 -2
  638. package/dist/chunk-d43b3f444e738dd1.js +0 -1
  639. package/dist/chunk-d445af84de70bf7e.js +0 -2
  640. package/dist/chunk-d535b1e3078465f8.js +0 -2
  641. package/dist/chunk-d54843c1d8516c75.js +0 -2
  642. package/dist/chunk-d5709251a0493152.js +0 -6
  643. package/dist/chunk-d5ddfacbfc84a47d.js +0 -6
  644. package/dist/chunk-d665d3ee2a62d48b.js +0 -2
  645. package/dist/chunk-d7457cb6aae3b29b.js +0 -2
  646. package/dist/chunk-d850d83873a89e2b.js +0 -18
  647. package/dist/chunk-d93a6531661d56b5.js +0 -9
  648. package/dist/chunk-d93cbffc712a052f.js +0 -2
  649. package/dist/chunk-d950bbcb684a11ef.js +0 -2
  650. package/dist/chunk-d9577d79d4b718a6.js +0 -2
  651. package/dist/chunk-d9762bab5df03532.js +0 -2
  652. package/dist/chunk-d9968563c6c84405.js +0 -3
  653. package/dist/chunk-d9a84b9122601b72.js +0 -2
  654. package/dist/chunk-da1c673d9685624e.js +0 -2
  655. package/dist/chunk-dab2dde8cc9da99b.js +0 -9
  656. package/dist/chunk-dac0e2ef13060d02.js +0 -1
  657. package/dist/chunk-dac9276e506d125d.js +0 -2
  658. package/dist/chunk-dad55fcc32d05b69.js +0 -2
  659. package/dist/chunk-db2270bbca7854fe.js +0 -2
  660. package/dist/chunk-db65c75cda396f98.js +0 -2
  661. package/dist/chunk-dba84b47adec2108.js +0 -2
  662. package/dist/chunk-dc23bfb4fd92e2f0.js +0 -2
  663. package/dist/chunk-dc7b0cf226ba3afa.js +0 -2
  664. package/dist/chunk-dcc432bd72fb7e46.js +0 -3
  665. package/dist/chunk-dd211856e049a67f.js +0 -9
  666. package/dist/chunk-dd21f367f8029793.js +0 -2
  667. package/dist/chunk-dd8b042837b4d5f1.js +0 -2
  668. package/dist/chunk-ddef8961cbf08a05.js +0 -6
  669. package/dist/chunk-de0784c3310db458.js +0 -5
  670. package/dist/chunk-de39fc86bbd37240.js +0 -1
  671. package/dist/chunk-de3ec02f9d17c2c9.js +0 -2
  672. package/dist/chunk-def30dbcb4c6aceb.js +0 -2
  673. package/dist/chunk-df55f07f8adf212f.js +0 -2
  674. package/dist/chunk-df926b342440f55f.js +0 -5
  675. package/dist/chunk-dfadfa4e09b4db22.js +0 -2
  676. package/dist/chunk-dfc390f0bbdf5a81.js +0 -1
  677. package/dist/chunk-e05db2eae976681b.js +0 -3
  678. package/dist/chunk-e06fbc8e70a88f07.js +0 -2
  679. package/dist/chunk-e0e0f2ee626a6fb3.js +0 -18
  680. package/dist/chunk-e0ffb920c65ebf44.js +0 -2
  681. package/dist/chunk-e11c7f3abcf2269f.js +0 -2
  682. package/dist/chunk-e16b252158474b8c.js +0 -1
  683. package/dist/chunk-e19064e9f1d5faed.js +0 -2
  684. package/dist/chunk-e1a08bb52ee7ea09.js +0 -2
  685. package/dist/chunk-e1e84c38542d78ec.js +0 -2
  686. package/dist/chunk-e33c33445a92adf1.js +0 -1
  687. package/dist/chunk-e3acd3561fe1342c.js +0 -18
  688. package/dist/chunk-e3e996b3821027e1.js +0 -2
  689. package/dist/chunk-e3ef81776c8f2d28.js +0 -2
  690. package/dist/chunk-e4869466459233fa.js +0 -16
  691. package/dist/chunk-e4f28182cf5f6e1d.js +0 -2
  692. package/dist/chunk-e53fdd0a1888c5e8.js +0 -2
  693. package/dist/chunk-e5a95230e0858544.js +0 -3
  694. package/dist/chunk-e64d5a7b7e0fa2c5.js +0 -6
  695. package/dist/chunk-e755f2c1c7ad3912.js +0 -2
  696. package/dist/chunk-e8159722d49ad044.js +0 -2
  697. package/dist/chunk-e86269d01f94404c.js +0 -2
  698. package/dist/chunk-e9275fb341d2cdd9.js +0 -2
  699. package/dist/chunk-e9c96f9b825f8de7.js +0 -2
  700. package/dist/chunk-ea9b86cf2edd807b.js +0 -18
  701. package/dist/chunk-ec24a0767aa58f1f.js +0 -18
  702. package/dist/chunk-ed21fb7d8c4b675e.js +0 -3
  703. package/dist/chunk-ed589d4e4c575de7.js +0 -2
  704. package/dist/chunk-edba144b170cd87e.js +0 -6
  705. package/dist/chunk-edeefd833c30a5ed.js +0 -2
  706. package/dist/chunk-ee35048642cfe9d8.js +0 -2
  707. package/dist/chunk-ee4ff285d7f4ccdf.js +0 -2
  708. package/dist/chunk-ee604d0215ea07e6.js +0 -1
  709. package/dist/chunk-ee92e80230ce02ec.js +0 -2
  710. package/dist/chunk-eea1d6f60a6875d5.js +0 -2
  711. package/dist/chunk-eeb3b193701aec43.js +0 -1
  712. package/dist/chunk-ef1ebd10affe5726.js +0 -2
  713. package/dist/chunk-ef30aafcfd40dc07.js +0 -2
  714. package/dist/chunk-f077321ef55ea627.js +0 -1
  715. package/dist/chunk-f08ca4bd263b132b.js +0 -2
  716. package/dist/chunk-f0d3ed16a520ecf1.js +0 -18
  717. package/dist/chunk-f117757df00aa18d.js +0 -2
  718. package/dist/chunk-f13fd46441a58606.js +0 -2
  719. package/dist/chunk-f1ac22ad55dbab7a.js +0 -9
  720. package/dist/chunk-f1dfc76a05462dde.js +0 -2
  721. package/dist/chunk-f1e28c4c1a227c27.js +0 -2
  722. package/dist/chunk-f2428c56f532e719.js +0 -3
  723. package/dist/chunk-f2dca6305fcba70b.js +0 -2
  724. package/dist/chunk-f316793e4ec0f386.js +0 -2
  725. package/dist/chunk-f32726d374c6bee5.js +0 -1
  726. package/dist/chunk-f34a78d9e3a62c43.js +0 -3
  727. package/dist/chunk-f404a785b581d029.js +0 -2
  728. package/dist/chunk-f5910f2c8a3f6974.js +0 -2
  729. package/dist/chunk-f5a4295176f9b1c1.js +0 -2
  730. package/dist/chunk-f5b888aa9ac4e20f.js +0 -2
  731. package/dist/chunk-f5e313cc7d724fbe.js +0 -2
  732. package/dist/chunk-f67aa3e46d73674e.js +0 -2
  733. package/dist/chunk-f69bcbd7998553cb.js +0 -2
  734. package/dist/chunk-f74928c3f9ae5359.js +0 -2
  735. package/dist/chunk-f7796c3724a35057.js +0 -2
  736. package/dist/chunk-f84049d82d29bd9e.js +0 -2
  737. package/dist/chunk-f868cdf653dbe87e.js +0 -2
  738. package/dist/chunk-f8823a1ede83155e.js +0 -2
  739. package/dist/chunk-f8ad65b3a07ce3c4.js +0 -6
  740. package/dist/chunk-f900b5868b14827e.js +0 -2
  741. package/dist/chunk-f9084650419a23c4.js +0 -2
  742. package/dist/chunk-f95f5e3439539ca5.js +0 -2
  743. package/dist/chunk-f99bdfc336b2ac57.js +0 -9
  744. package/dist/chunk-f9a17b871b527bff.js +0 -2
  745. package/dist/chunk-f9e6a0a946ebb032.js +0 -2
  746. package/dist/chunk-fa40971555060604.js +0 -81
  747. package/dist/chunk-fa6bdfb32d2f97fb.js +0 -2
  748. package/dist/chunk-faa8c62bfa11f9d5.js +0 -2
  749. package/dist/chunk-fb25896f1638ca8e.js +0 -3
  750. package/dist/chunk-fc165cee61f6efe8.js +0 -6
  751. package/dist/chunk-fd5ffee329d6f29b.js +0 -2
  752. package/dist/chunk-feaaa37d30cd1e9b.js +0 -2
  753. package/dist/chunk-fec9f0b0b0319f3b.js +0 -2
  754. package/dist/chunk-ff086fe014985526.js +0 -1
  755. package/dist/chunk-ff1bbce70d726bc6.js +0 -9
  756. package/dist/chunk-ff9a2d6d503e6db6.js +0 -18
  757. package/dist/chunk-ffe161a589b4c44b.js +0 -1
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-d2e057b6f3f9d500.js";import{y as w} from"./chunk-7ce930fe69575c87.js";import{A as Oe,B as ue,E as Te,G as yr,O as E,P as t,Q as Jr,S as p,T as b,U as j,V as F,W as h,ba as Er,ca as a,da as br,ea as Ge,fa as Je,ga as er,ha as rr,ja as d,ka as o,ma as I,oa as Le,pa as Qe} from"./chunk-76a525af0575486d.js";import{$a as Ye,Ca as N,Da as cr,Ea as $e,Fa as Ie,Ga as Re,Ha as tr,Ia as Ve,Ja as We,Ka as fe,La as Ae,Ma as ar,Na as mr,Pa as S,Qa as $,Ra as wr,Sa as Ke,Ua as Me,Va as kr,Wa as Be,Xa as vr,Za as q,_a as Xe,ab as Ze,bb as Fe,cb as De,db as He,eb as sr,fb as ir,ra as hr,sa as nr,ta as or,ua as dr,va as Kr,xa as be,za as je} from"./chunk-e4869466459233fa.js";import"./chunk-40c21fe243675250.js";import{hb as Qr,ib as R} from"./chunk-81ce9b491b290639.js";import{jb as pe} from"./chunk-be095501304df604.js";import"./chunk-6e415d0e12fc9539.js";import"./chunk-dfc390f0bbdf5a81.js";var P=w(N(),1);var re=w(q(),1),U=w(Kr(),1),Mr=function(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:(s,r)=>({signingProperties:{config:s,context:r}})}},H=function(e){return{schemeId:"smithy.api#noAuth"}},se=async(e,s,r)=>{return{operation:U.getSmithyContext(s).operation,region:await U.normalizeProvider(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},ie=(e)=>{const s=[];switch(e.operation){case"CreateToken":{s.push(H(e));break}case"RegisterClient":{s.push(H(e));break}case"StartDeviceAuthorization":{s.push(H(e));break}default:s.push(Mr(e))}return s},le=(e)=>{return{...re.resolveAwsSdkSigV4Config(e)}};var he=(e)=>{return{...e,useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"}},v={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var ne={name:"@aws-sdk/client-sso-oidc",description:"AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",version:"3.629.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-sso-oidc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso-oidc"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.629.0","@aws-sdk/credential-provider-node":"3.629.0","@aws-sdk/middleware-host-header":"3.620.0","@aws-sdk/middleware-logger":"3.609.0","@aws-sdk/middleware-recursion-detection":"3.620.0","@aws-sdk/middleware-user-agent":"3.620.0","@aws-sdk/region-config-resolver":"3.614.0","@aws-sdk/types":"3.609.0","@aws-sdk/util-endpoints":"3.614.0","@aws-sdk/util-user-agent-browser":"3.609.0","@aws-sdk/util-user-agent-node":"3.614.0","@smithy/config-resolver":"^3.0.5","@smithy/core":"^2.3.2","@smithy/fetch-http-handler":"^3.2.4","@smithy/hash-node":"^3.0.3","@smithy/invalid-dependency":"^3.0.3","@smithy/middleware-content-length":"^3.0.5","@smithy/middleware-endpoint":"^3.1.0","@smithy/middleware-retry":"^3.0.14","@smithy/middleware-serde":"^3.0.3","@smithy/middleware-stack":"^3.0.3","@smithy/node-config-provider":"^3.1.4","@smithy/node-http-handler":"^3.1.4","@smithy/protocol-http":"^4.1.0","@smithy/smithy-client":"^3.1.12","@smithy/types":"^3.3.0","@smithy/url-parser":"^3.0.3","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.14","@smithy/util-defaults-mode-node":"^3.0.14","@smithy/util-endpoints":"^2.0.5","@smithy/util-middleware":"^3.0.3","@smithy/util-retry":"^3.0.3","@smithy/util-utf8":"^3.0.0",tslib:"^2.6.2"},devDependencies:{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typescript:"~4.9.5"},engines:{node:">=16.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",peerDependencies:{"@aws-sdk/client-sts":"^3.629.0"},browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso-oidc",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sso-oidc"}};var Ne=w(q(),1);var qe=w(q(),1),Ue=w(N(),1);var xe=w(Qr(),1);var oe={["required"]:!1,type:"String"},de={["required"]:!0,default:!1,type:"Boolean"},ye={["ref"]:"Endpoint"},ke={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!0]},ve={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!0]},m={},ce={["fn"]:"getAttr",["argv"]:[{["ref"]:"PartitionResult"},"supportsFIPS"]},Ee={["ref"]:"PartitionResult"},te={["fn"]:"booleanEquals",["argv"]:[!0,{["fn"]:"getAttr",["argv"]:[Ee,"supportsDualStack"]}]},ae=[ke],me=[ve],we=[{["ref"]:"Region"}],Lr={version:"1.0",parameters:{Region:oe,UseDualStack:de,UseFIPS:de,Endpoint:oe},rules:[{conditions:[{["fn"]:"isSet",["argv"]:[ye]}],rules:[{conditions:ae,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:"error"},{conditions:me,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:"error"},{endpoint:{url:ye,properties:m,headers:m},type:"endpoint"}],type:"tree"},{conditions:[{["fn"]:"isSet",["argv"]:we}],rules:[{conditions:[{["fn"]:"aws.partition",["argv"]:we,assign:"PartitionResult"}],rules:[{conditions:[ke,ve],rules:[{conditions:[{["fn"]:"booleanEquals",["argv"]:[!0,ce]},te],rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:"endpoint"}],type:"tree"},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:"error"}],type:"tree"},{conditions:ae,rules:[{conditions:[{["fn"]:"booleanEquals",["argv"]:[ce,!0]}],rules:[{conditions:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ee,"name"]},"aws-us-gov"]}],endpoint:{url:"https://oidc.{Region}.amazonaws.com",properties:m,headers:m},type:"endpoint"},{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:"endpoint"}],type:"tree"},{error:"FIPS is enabled but this partition does not support FIPS",type:"error"}],type:"tree"},{conditions:me,rules:[{conditions:[te],rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:"endpoint"}],type:"tree"},{error:"DualStack is enabled but this partition does not support DualStack",type:"error"}],type:"tree"},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:"endpoint"}],type:"tree"}],type:"tree"},{error:"Invalid Configuration: Missing Region",type:"error"}]},Se=Lr;var Pe=(e,s={})=>{return Ie(Se,{endpointParams:e,logger:s.logger})};$e.aws=Re;var ze=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??Fe,base64Encoder:e?.base64Encoder??De,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Pe,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??ie,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(s)=>s.getIdentityProvider("aws.auth#sigv4"),signer:new qe.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(s)=>s.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Ue.NoAuthSigner}],logger:e?.logger??new Te,serviceId:e?.serviceId??"SSO OIDC",urlParser:e?.urlParser??xe.parseUrl,utf8Decoder:e?.utf8Decoder??be,utf8Encoder:e?.utf8Encoder??je}};var _e=(e)=>{Je(process.version);const s=He(e),r=()=>s().then(Ge),i=ze(e);return Ne.emitWarningIfUnsupportedVersion(process.version),{...i,...e,runtime:"node",defaultsMode:s,bodyLengthChecker:e?.bodyLengthChecker??Ze,credentialDefaultProvider:e?.credentialDefaultProvider??pe,defaultUserAgentProvider:e?.defaultUserAgentProvider??Xe({serviceId:i.serviceId,clientVersion:ne.version}),maxAttempts:e?.maxAttempts??R(Me),region:e?.region??R(fe,Ae),requestHandler:Le.create(e?.requestHandler??r),retryMode:e?.retryMode??R({...Be,default:async()=>(await r()).retryMode||Ke}),sha256:e?.sha256??Ye.bind(null,"sha256"),streamCollector:e?.streamCollector??Qe,useDualstackEndpoint:e?.useDualstackEndpoint??R(Ve),useFipsEndpoint:e?.useFipsEndpoint??R(We)}};var Ce=(e)=>{const s=e.httpAuthSchemes;let{httpAuthSchemeProvider:r,credentials:i}=e;return{setHttpAuthScheme(l){const n=s.findIndex((T)=>T.schemeId===l.schemeId);if(n===-1)s.push(l);else s.splice(n,1,l)},httpAuthSchemes(){return s},setHttpAuthSchemeProvider(l){r=l},httpAuthSchemeProvider(){return r},setCredentials(l){i=l},credentials(){return i}}},ge=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}};var x=(e)=>e,lr=(e,s)=>{const r={...x(sr(e)),...x(er(e)),...x(Oe(e)),...x(Ce(e))};return s.forEach((i)=>i.configure(r)),{...e,...ir(r),...rr(r),...ue(r),...ge(r)}};class _ extends yr{constructor(...[e]){const s=_e(e||{}),r=he(s),i=cr(r),l=kr(i),n=ar(l),T=hr(n),Wr=wr(T),fr=le(Wr),ee=lr(fr,e?.extensions||[]);super(ee);this.config=ee,this.middlewareStack.use(tr(this.config)),this.middlewareStack.use(vr(this.config)),this.middlewareStack.use(mr(this.config)),this.middlewareStack.use(nr(this.config)),this.middlewareStack.use(or(this.config)),this.middlewareStack.use(dr(this.config)),this.middlewareStack.use(P.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:se,identityProviderConfigProvider:async(Ar)=>new P.DefaultIdentityProviderConfig({"aws.auth#sigv4":Ar.credentials})})),this.middlewareStack.use(P.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class y extends Er{constructor(e){super(e);Object.setPrototypeOf(this,y.prototype)}}class z extends y{constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});this.name="AccessDeniedException",this.$fault="client",Object.setPrototypeOf(this,z.prototype),this.error=e.error,this.error_description=e.error_description}}class G extends y{constructor(e){super({name:"AuthorizationPendingException",$fault:"client",...e});this.name="AuthorizationPendingException",this.$fault="client",Object.setPrototypeOf(this,G.prototype),this.error=e.error,this.error_description=e.error_description}}class J extends y{constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,J.prototype),this.error=e.error,this.error_description=e.error_description}}class V extends y{constructor(e){super({name:"InternalServerException",$fault:"server",...e});this.name="InternalServerException",this.$fault="server",Object.setPrototypeOf(this,V.prototype),this.error=e.error,this.error_description=e.error_description}}class W extends y{constructor(e){super({name:"InvalidClientException",$fault:"client",...e});this.name="InvalidClientException",this.$fault="client",Object.setPrototypeOf(this,W.prototype),this.error=e.error,this.error_description=e.error_description}}class f extends y{constructor(e){super({name:"InvalidGrantException",$fault:"client",...e});this.name="InvalidGrantException",this.$fault="client",Object.setPrototypeOf(this,f.prototype),this.error=e.error,this.error_description=e.error_description}}class A extends y{constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});this.name="InvalidRequestException",this.$fault="client",Object.setPrototypeOf(this,A.prototype),this.error=e.error,this.error_description=e.error_description}}class K extends y{constructor(e){super({name:"InvalidScopeException",$fault:"client",...e});this.name="InvalidScopeException",this.$fault="client",Object.setPrototypeOf(this,K.prototype),this.error=e.error,this.error_description=e.error_description}}class M extends y{constructor(e){super({name:"SlowDownException",$fault:"client",...e});this.name="SlowDownException",this.$fault="client",Object.setPrototypeOf(this,M.prototype),this.error=e.error,this.error_description=e.error_description}}class B extends y{constructor(e){super({name:"UnauthorizedClientException",$fault:"client",...e});this.name="UnauthorizedClientException",this.$fault="client",Object.setPrototypeOf(this,B.prototype),this.error=e.error,this.error_description=e.error_description}}class L extends y{constructor(e){super({name:"UnsupportedGrantTypeException",$fault:"client",...e});this.name="UnsupportedGrantTypeException",this.$fault="client",Object.setPrototypeOf(this,L.prototype),this.error=e.error,this.error_description=e.error_description}}class Q extends y{constructor(e){super({name:"InvalidRequestRegionException",$fault:"client",...e});this.name="InvalidRequestRegionException",this.$fault="client",Object.setPrototypeOf(this,Q.prototype),this.error=e.error,this.error_description=e.error_description,this.endpoint=e.endpoint,this.region=e.region}}class X extends y{constructor(e){super({name:"InvalidClientMetadataException",$fault:"client",...e});this.name="InvalidClientMetadataException",this.$fault="client",Object.setPrototypeOf(this,X.prototype),this.error=e.error,this.error_description=e.error_description}}class Y extends y{constructor(e){super({name:"InvalidRedirectUriException",$fault:"client",...e});this.name="InvalidRedirectUriException",this.$fault="client",Object.setPrototypeOf(this,Y.prototype),this.error=e.error,this.error_description=e.error_description}}var Sr=(e)=>({...e,...e.clientSecret&&{clientSecret:t},...e.refreshToken&&{refreshToken:t},...e.codeVerifier&&{codeVerifier:t}}),$r=(e)=>({...e,...e.accessToken&&{accessToken:t},...e.refreshToken&&{refreshToken:t},...e.idToken&&{idToken:t}}),Ir=(e)=>({...e,...e.refreshToken&&{refreshToken:t},...e.assertion&&{assertion:t},...e.subjectToken&&{subjectToken:t},...e.codeVerifier&&{codeVerifier:t}}),Rr=(e)=>({...e,...e.accessToken&&{accessToken:t},...e.refreshToken&&{refreshToken:t},...e.idToken&&{idToken:t}}),Pr=(e)=>({...e,...e.clientSecret&&{clientSecret:t}}),Tr=(e)=>({...e,...e.clientSecret&&{clientSecret:t}});var k=w(q(),1),D=w(N(),1);var jr=async(e,s)=>{const r=D.requestBuilder(e,s),i={"content-type":"application/json"};r.bp("/token");let l;return l=JSON.stringify(o(e,{clientId:[],clientSecret:[],code:[],codeVerifier:[],deviceCode:[],grantType:[],redirectUri:[],refreshToken:[],scope:(n)=>I(n)})),r.m("POST").h(i).b(l),r.build()},Fr=async(e,s)=>{const r=D.requestBuilder(e,s),i={"content-type":"application/json"};r.bp("/token");const l=d({[ls]:[,"t"]});let n;return n=JSON.stringify(o(e,{assertion:[],clientId:[],code:[],codeVerifier:[],grantType:[],redirectUri:[],refreshToken:[],requestedTokenType:[],scope:(T)=>I(T),subjectToken:[],subjectTokenType:[]})),r.m("POST").h(i).q(l).b(n),r.build()},Dr=async(e,s)=>{const r=D.requestBuilder(e,s),i={"content-type":"application/json"};r.bp("/client/register");let l;return l=JSON.stringify(o(e,{clientName:[],clientType:[],entitledApplicationArn:[],grantTypes:(n)=>I(n),issuerUrl:[],redirectUris:(n)=>I(n),scopes:(n)=>I(n)})),r.m("POST").h(i).b(l),r.build()},qr=async(e,s)=>{const r=D.requestBuilder(e,s),i={"content-type":"application/json"};r.bp("/device_authorization");let l;return l=JSON.stringify(o(e,{clientId:[],clientSecret:[],startUrl:[]})),r.m("POST").h(i).b(l),r.build()},Ur=async(e,s)=>{if(e.statusCode!==200&&e.statusCode>=300)return Z(e,s);const r=d({$metadata:c(e)}),i=j(F(await k.parseJsonBody(e.body,s)),"body"),l=o(i,{accessToken:h,expiresIn:b,idToken:h,refreshToken:h,tokenType:h});return Object.assign(r,l),r},xr=async(e,s)=>{if(e.statusCode!==200&&e.statusCode>=300)return Z(e,s);const r=d({$metadata:c(e)}),i=j(F(await k.parseJsonBody(e.body,s)),"body"),l=o(i,{accessToken:h,expiresIn:b,idToken:h,issuedTokenType:h,refreshToken:h,scope:I,tokenType:h});return Object.assign(r,l),r},zr=async(e,s)=>{if(e.statusCode!==200&&e.statusCode>=300)return Z(e,s);const r=d({$metadata:c(e)}),i=j(F(await k.parseJsonBody(e.body,s)),"body"),l=o(i,{authorizationEndpoint:h,clientId:h,clientIdIssuedAt:p,clientSecret:h,clientSecretExpiresAt:p,tokenEndpoint:h});return Object.assign(r,l),r},Gr=async(e,s)=>{if(e.statusCode!==200&&e.statusCode>=300)return Z(e,s);const r=d({$metadata:c(e)}),i=j(F(await k.parseJsonBody(e.body,s)),"body"),l=o(i,{deviceCode:h,expiresIn:b,interval:b,userCode:h,verificationUri:h,verificationUriComplete:h});return Object.assign(r,l),r},Z=async(e,s)=>{const r={...e,body:await k.parseJsonErrorBody(e.body,s)},i=k.loadRestJsonErrorCode(e,r.body);switch(i){case"AccessDeniedException":case"com.amazonaws.ssooidc#AccessDeniedException":throw await Yr(r,s);case"AuthorizationPendingException":case"com.amazonaws.ssooidc#AuthorizationPendingException":throw await Zr(r,s);case"ExpiredTokenException":case"com.amazonaws.ssooidc#ExpiredTokenException":throw await Hr(r,s);case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await Nr(r,s);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await _r(r,s);case"InvalidGrantException":case"com.amazonaws.ssooidc#InvalidGrantException":throw await Cr(r,s);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await Or(r,s);case"InvalidScopeException":case"com.amazonaws.ssooidc#InvalidScopeException":throw await es(r,s);case"SlowDownException":case"com.amazonaws.ssooidc#SlowDownException":throw await rs(r,s);case"UnauthorizedClientException":case"com.amazonaws.ssooidc#UnauthorizedClientException":throw await ss(r,s);case"UnsupportedGrantTypeException":case"com.amazonaws.ssooidc#UnsupportedGrantTypeException":throw await is(r,s);case"InvalidRequestRegionException":case"com.amazonaws.ssooidc#InvalidRequestRegionException":throw await ur(r,s);case"InvalidClientMetadataException":case"com.amazonaws.ssooidc#InvalidClientMetadataException":throw await pr(r,s);case"InvalidRedirectUriException":case"com.amazonaws.ssooidc#InvalidRedirectUriException":throw await gr(r,s);default:const l=r.body;return Xr({output:e,parsedBody:l,errorCode:i})}},Xr=br(y),Yr=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new z({$metadata:c(e),...r});return a(n,e.body)},Zr=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new G({$metadata:c(e),...r});return a(n,e.body)},Hr=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new J({$metadata:c(e),...r});return a(n,e.body)},Nr=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new V({$metadata:c(e),...r});return a(n,e.body)},_r=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new W({$metadata:c(e),...r});return a(n,e.body)},pr=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new X({$metadata:c(e),...r});return a(n,e.body)},Cr=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new f({$metadata:c(e),...r});return a(n,e.body)},gr=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new Y({$metadata:c(e),...r});return a(n,e.body)},Or=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new A({$metadata:c(e),...r});return a(n,e.body)},ur=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{endpoint:h,error:h,error_description:h,region:h});Object.assign(r,l);const n=new Q({$metadata:c(e),...r});return a(n,e.body)},es=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new K({$metadata:c(e),...r});return a(n,e.body)},rs=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new M({$metadata:c(e),...r});return a(n,e.body)},ss=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new B({$metadata:c(e),...r});return a(n,e.body)},is=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new L({$metadata:c(e),...r});return a(n,e.body)},c=(e)=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]});var ls="aws_iam";class C extends E.classBuilder().ep({...v}).m(function(e,s,r,i){return[S(r,this.serialize,this.deserialize),$(r,e.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").f(Sr,$r).ser(jr).de(Ur).build(){}class g extends E.classBuilder().ep({...v}).m(function(e,s,r,i){return[S(r,this.serialize,this.deserialize),$(r,e.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateTokenWithIAM",{}).n("SSOOIDCClient","CreateTokenWithIAMCommand").f(Ir,Rr).ser(Fr).de(xr).build(){}class O extends E.classBuilder().ep({...v}).m(function(e,s,r,i){return[S(r,this.serialize,this.deserialize),$(r,e.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","RegisterClient",{}).n("SSOOIDCClient","RegisterClientCommand").f(void 0,Pr).ser(Dr).de(zr).build(){}class u extends E.classBuilder().ep({...v}).m(function(e,s,r,i){return[S(r,this.serialize,this.deserialize),$(r,e.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","StartDeviceAuthorization",{}).n("SSOOIDCClient","StartDeviceAuthorizationCommand").f(Tr,void 0).ser(qr).de(Gr).build(){}var hs={CreateTokenCommand:C,CreateTokenWithIAMCommand:g,RegisterClientCommand:O,StartDeviceAuthorizationCommand:u};class Vr extends _{}Jr(hs,Vr);export{yr as __Client,L as UnsupportedGrantTypeException,B as UnauthorizedClientException,Tr as StartDeviceAuthorizationRequestFilterSensitiveLog,u as StartDeviceAuthorizationCommand,M as SlowDownException,y as SSOOIDCServiceException,_ as SSOOIDCClient,Vr as SSOOIDC,Pr as RegisterClientResponseFilterSensitiveLog,O as RegisterClientCommand,K as InvalidScopeException,Q as InvalidRequestRegionException,A as InvalidRequestException,Y as InvalidRedirectUriException,f as InvalidGrantException,X as InvalidClientMetadataException,W as InvalidClientException,V as InternalServerException,J as ExpiredTokenException,Rr as CreateTokenWithIAMResponseFilterSensitiveLog,Ir as CreateTokenWithIAMRequestFilterSensitiveLog,g as CreateTokenWithIAMCommand,$r as CreateTokenResponseFilterSensitiveLog,Sr as CreateTokenRequestFilterSensitiveLog,C as CreateTokenCommand,G as AuthorizationPendingException,z as AccessDeniedException,E as $Command};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{x as l} from"./chunk-a5c18c07abe8fd9c.js";import{fb as m} from"./chunk-15e9771e524c5726.js";var E=l(m(),1);import{readFileSync as S} from"fs";var t=(e)=>async()=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");const{roleArn:o,roleSessionName:r,webIdentityToken:n,providerId:c,policyArns:i,policy:_,durationSeconds:N}=e;let{roleAssumerWithWebIdentity:s}=e;if(!s){const{getDefaultRoleAssumerWithWebIdentity:d}=await import("./chunk-c99b8c3d6bda27b0.js");s=d({...e.clientConfig,credentialProviderLogger:e.logger,parentClientConfig:e.parentClientConfig},e.clientPlugins)}return s({RoleArn:o,RoleSessionName:r??`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:n,ProviderId:c,PolicyArns:i,Policy:_,DurationSeconds:N})};var p="AWS_WEB_IDENTITY_TOKEN_FILE",f="AWS_ROLE_ARN",T="AWS_ROLE_SESSION_NAME",I=(e={})=>async()=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");const o=e?.webIdentityTokenFile??process.env[p],r=e?.roleArn??process.env[f],n=e?.roleSessionName??process.env[T];if(!o||!r)throw new E.CredentialsProviderError("Web identity configuration not specified",{logger:e.logger});return t({...e,webIdentityToken:S(o,{encoding:"ascii"}),roleArn:r,roleSessionName:n})()};export{t as fromWebToken,I as fromTokenFile};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{x as i} from"./chunk-a5c18c07abe8fd9c.js";import{A as _e,D as ee,E as Ae,I as se,J as te,L as re,M as ae,P as ie,Q as le,W as ts,X as k,aa as z,ba as Ve,ca as h,ja as He,ka as u,la as Ne,ma as pe,na as ye,oa as $e,pa as Pe,ra as c,sa as y,ua as fe,z as Fe} from"./chunk-7a318e738fec6c2b.js";import{$a as ke,Aa as $,Da as B,Ea as Ke,Fa as V,Ga as N,Ha as f,Ia as Qe,Ja as me,Ka as he,La as ue,Ma as we,Na as Xe,Oa as Ye,Qa as rs,Ra as as,Sa as Ze,Ta as be,Va as xe,Wa as je,Xa as ve,Ya as Te,_a as x,ab as Re,bb as qe,cb as Ee,db as Je,eb as Ue,va as Le,wa as Ce,xa as Me,ya as We,za as _} from"./chunk-ec24a0767aa58f1f.js";import"./chunk-bbd36ce62b950ee5.js";import{gb as l,hb as ne} from"./chunk-1efe790f8b4ad86d.js";import"./chunk-0ffc38ed09847e35.js";import"./chunk-a816613f5321b9db.js";var p=i(B(),1);var P=i(x(),1);var cs=function(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:e.region},propertiesExtractor:(s,t)=>({signingProperties:{config:s,context:t}})}},b=function(e){return{schemeId:"smithy.api#noAuth"}},J=async(e,s,t)=>{return{operation:_(s).operation,region:await $(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},U=(e)=>{const s=[];switch(e.operation){case"GetRoleCredentials":{s.push(b(e));break}case"ListAccountRoles":{s.push(b(e));break}case"ListAccounts":{s.push(b(e));break}case"Logout":{s.push(b(e));break}default:s.push(cs(e))}return s},I=(e)=>{return{...P.resolveAwsSdkSigV4Config(e)}};var L=(e)=>{return{...e,useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"}},C={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var M={name:"@aws-sdk/client-sso",description:"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",version:"3.629.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-sso","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.629.0","@aws-sdk/middleware-host-header":"3.620.0","@aws-sdk/middleware-logger":"3.609.0","@aws-sdk/middleware-recursion-detection":"3.620.0","@aws-sdk/middleware-user-agent":"3.620.0","@aws-sdk/region-config-resolver":"3.614.0","@aws-sdk/types":"3.609.0","@aws-sdk/util-endpoints":"3.614.0","@aws-sdk/util-user-agent-browser":"3.609.0","@aws-sdk/util-user-agent-node":"3.614.0","@smithy/config-resolver":"^3.0.5","@smithy/core":"^2.3.2","@smithy/fetch-http-handler":"^3.2.4","@smithy/hash-node":"^3.0.3","@smithy/invalid-dependency":"^3.0.3","@smithy/middleware-content-length":"^3.0.5","@smithy/middleware-endpoint":"^3.1.0","@smithy/middleware-retry":"^3.0.14","@smithy/middleware-serde":"^3.0.3","@smithy/middleware-stack":"^3.0.3","@smithy/node-config-provider":"^3.1.4","@smithy/node-http-handler":"^3.1.4","@smithy/protocol-http":"^4.1.0","@smithy/smithy-client":"^3.1.12","@smithy/types":"^3.3.0","@smithy/url-parser":"^3.0.3","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.14","@smithy/util-defaults-mode-node":"^3.0.14","@smithy/util-endpoints":"^2.0.5","@smithy/util-middleware":"^3.0.3","@smithy/util-retry":"^3.0.3","@smithy/util-utf8":"^3.0.0",tslib:"^2.6.2"},devDependencies:{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typescript:"~4.9.5"},engines:{node:">=16.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sso"}};var Se=i(x(),1);var de=i(x(),1),oe=i(B(),1);var W={["required"]:!1,type:"String"},A={["required"]:!0,default:!1,type:"Boolean"},K={["ref"]:"Endpoint"},T={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!0]},H={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!0]},d={},Q={["fn"]:"getAttr",["argv"]:[{["ref"]:"PartitionResult"},"supportsFIPS"]},O={["ref"]:"PartitionResult"},X={["fn"]:"booleanEquals",["argv"]:[!0,{["fn"]:"getAttr",["argv"]:[O,"supportsDualStack"]}]},Y=[T],Z=[H],j=[{["ref"]:"Region"}],ls={version:"1.0",parameters:{Region:W,UseDualStack:A,UseFIPS:A,Endpoint:W},rules:[{conditions:[{["fn"]:"isSet",["argv"]:[K]}],rules:[{conditions:Y,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:"error"},{conditions:Z,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:"error"},{endpoint:{url:K,properties:d,headers:d},type:"endpoint"}],type:"tree"},{conditions:[{["fn"]:"isSet",["argv"]:j}],rules:[{conditions:[{["fn"]:"aws.partition",["argv"]:j,assign:"PartitionResult"}],rules:[{conditions:[T,H],rules:[{conditions:[{["fn"]:"booleanEquals",["argv"]:[!0,Q]},X],rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:d,headers:d},type:"endpoint"}],type:"tree"},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:"error"}],type:"tree"},{conditions:Y,rules:[{conditions:[{["fn"]:"booleanEquals",["argv"]:[Q,!0]}],rules:[{conditions:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[O,"name"]},"aws-us-gov"]}],endpoint:{url:"https://portal.sso.{Region}.amazonaws.com",properties:d,headers:d},type:"endpoint"},{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:d,headers:d},type:"endpoint"}],type:"tree"},{error:"FIPS is enabled but this partition does not support FIPS",type:"error"}],type:"tree"},{conditions:Z,rules:[{conditions:[X],rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:d,headers:d},type:"endpoint"}],type:"tree"},{error:"DualStack is enabled but this partition does not support DualStack",type:"error"}],type:"tree"},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:d,headers:d},type:"endpoint"}],type:"tree"}],type:"tree"},{error:"Invalid Configuration: Missing Region",type:"error"}]},G=ls;var g=(e,s={})=>{return N(G,{endpointParams:e,logger:s.logger})};V.aws=f;var ce=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??se,base64Encoder:e?.base64Encoder??ae,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??g,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??U,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(s)=>s.getIdentityProvider("aws.auth#sigv4"),signer:new de.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(s)=>s.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new oe.NoAuthSigner}],logger:e?.logger??new ee,serviceId:e?.serviceId??"SSO",urlParser:e?.urlParser??ne,utf8Decoder:e?.utf8Decoder??te,utf8Encoder:e?.utf8Encoder??re}};var ze=(e)=>{ye(process.version);const s=Ee(e),t=()=>s().then(pe),r=ce(e);return Se.emitWarningIfUnsupportedVersion(process.version),{...r,...e,runtime:"node",defaultsMode:s,bodyLengthChecker:e?.bodyLengthChecker??qe,defaultUserAgentProvider:e?.defaultUserAgentProvider??ke({serviceId:r.serviceId,clientVersion:M.version}),maxAttempts:e?.maxAttempts??l(xe),region:e?.region??l(ue,we),requestHandler:ie.create(e?.requestHandler??t),retryMode:e?.retryMode??l({...ve,default:async()=>(await t()).retryMode||be}),sha256:e?.sha256??Re.bind(null,"sha256"),streamCollector:e?.streamCollector??le,useDualstackEndpoint:e?.useDualstackEndpoint??l(me),useFipsEndpoint:e?.useFipsEndpoint??l(he)}};var De=(e)=>{const s=e.httpAuthSchemes;let{httpAuthSchemeProvider:t,credentials:r}=e;return{setHttpAuthScheme(a){const n=s.findIndex((D)=>D.schemeId===a.schemeId);if(n===-1)s.push(a);else s.splice(n,1,a)},httpAuthSchemes(){return s},setHttpAuthSchemeProvider(a){t=a},httpAuthSchemeProvider(){return t},setCredentials(a){r=a},credentials(){return r}}},Be=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}};var v=(e)=>e,Ie=(e,s)=>{const t={...v(Je(e)),...v($e(e)),...v(Fe(e)),...v(De(e))};return s.forEach((r)=>r.configure(t)),{...e,...Ue(t),...Pe(t),..._e(t),...Be(t)}};class ps extends Ae{constructor(...[e]){const s=ze(e||{}),t=L(s),r=Ke(t),a=je(r),n=Xe(a),D=Le(n),ns=Ze(D),ds=I(ns),F=Ie(ds,e?.extensions||[]);super(F);this.config=F,this.middlewareStack.use(Qe(this.config)),this.middlewareStack.use(Te(this.config)),this.middlewareStack.use(Ye(this.config)),this.middlewareStack.use(Ce(this.config)),this.middlewareStack.use(Me(this.config)),this.middlewareStack.use(We(this.config)),this.middlewareStack.use(p.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:async(os)=>new p.DefaultIdentityProviderConfig({"aws.auth#sigv4":os.credentials})})),this.middlewareStack.use(p.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class o extends He{constructor(e){super(e);Object.setPrototypeOf(this,o.prototype)}}class R extends o{constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});this.name="InvalidRequestException",this.$fault="client",Object.setPrototypeOf(this,R.prototype)}}class q extends o{constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,q.prototype)}}class E extends o{constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e});this.name="TooManyRequestsException",this.$fault="client",Object.setPrototypeOf(this,E.prototype)}}class S extends o{constructor(e){super({name:"UnauthorizedException",$fault:"client",...e});this.name="UnauthorizedException",this.$fault="client",Object.setPrototypeOf(this,S.prototype)}}var Oe=(e)=>({...e,...e.accessToken&&{accessToken:k}}),ys=(e)=>({...e,...e.secretAccessKey&&{secretAccessKey:k},...e.sessionToken&&{sessionToken:k}}),Ge=(e)=>({...e,...e.roleCredentials&&{roleCredentials:ys(e.roleCredentials)}});var m=i(x(),1),ge=i(B(),1);var es=async(e,s)=>{const t=ge.requestBuilder(e,s),r=c({},vs,{[zs]:e[Rs]});t.bp("/federation/credentials");const a=c({[Ss]:[,z(e[Es],"roleName")],[qs]:[,z(e[ks],"accountId")]});let n;return t.m("GET").h(r).q(a).b(n),t.build()};var ss=async(e,s)=>{if(e.statusCode!==200&&e.statusCode>=300)return ms(e,s);const t=c({$metadata:w(e)}),r=z(Ve(await m.parseJsonBody(e.body,s)),"body"),a=y(r,{roleCredentials:fe});return Object.assign(t,a),t};var ms=async(e,s)=>{const t={...e,body:await m.parseJsonErrorBody(e.body,s)},r=m.loadRestJsonErrorCode(e,t.body);switch(r){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await us(t,s);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await ws(t,s);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await bs(t,s);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await xs(t,s);default:const a=t.body;return hs({output:e,parsedBody:a,errorCode:r})}},hs=Ne(o),us=async(e,s)=>{const t=c({}),r=e.body,a=y(r,{message:h});Object.assign(t,a);const n=new R({$metadata:w(e),...t});return u(n,e.body)},ws=async(e,s)=>{const t=c({}),r=e.body,a=y(r,{message:h});Object.assign(t,a);const n=new q({$metadata:w(e),...t});return u(n,e.body)},bs=async(e,s)=>{const t=c({}),r=e.body,a=y(r,{message:h});Object.assign(t,a);const n=new E({$metadata:w(e),...t});return u(n,e.body)},xs=async(e,s)=>{const t=c({}),r=e.body,a=y(r,{message:h});Object.assign(t,a);const n=new S({$metadata:w(e),...t});return u(n,e.body)},w=(e)=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]});var vs=(e)=>e!==void 0&&e!==null&&e!==""&&(!Object.getOwnPropertyNames(e).includes("length")||e.length!=0)&&(!Object.getOwnPropertyNames(e).includes("size")||e.size!=0),ks="accountId",Rs="accessToken",qs="account_id";var Es="roleName",Ss="role_name",zs="x-amz-sso_bearer_token";class Ds extends ts.classBuilder().ep({...C}).m(function(e,s,t,r){return[rs(t,this.serialize,this.deserialize),as(t,e.getEndpointParameterInstructions())]}).s("SWBPortalService","GetRoleCredentials",{}).n("SSOClient","GetRoleCredentialsCommand").f(Oe,Ge).ser(es).de(ss).build(){}export{ps as SSOClient,Ds as GetRoleCredentialsCommand};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-a5c18c07abe8fd9c.js";import{kb as E} from"./chunk-2f7aac67f16768a5.js";var _="AWS_ACCESS_KEY_ID",S="AWS_SECRET_ACCESS_KEY",p="AWS_SESSION_TOKEN",A="AWS_CREDENTIAL_EXPIRATION",C="AWS_CREDENTIAL_SCOPE",N="AWS_ACCOUNT_ID",a=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");const o=process.env[_],r=process.env[S],n=process.env[p],s=process.env[A],t=process.env[C],c=process.env[N];if(o&&r)return{accessKeyId:o,secretAccessKey:r,...n&&{sessionToken:n},...s&&{expiration:new Date(s)},...t&&{credentialScope:t},...c&&{accountId:c}};throw new E("Unable to find environment variable credentials.",{logger:e?.logger})};export{a as fromEnv,p as ENV_SESSION,S as ENV_SECRET,_ as ENV_KEY,A as ENV_EXPIRATION,C as ENV_CREDENTIAL_SCOPE,N as ENV_ACCOUNT_ID};export{_ as s,S as t,a as u};
@@ -1,3 +0,0 @@
1
- import{x as it,y as T} from"./chunk-a5c18c07abe8fd9c.js";import{pb as $t,qb as Nt} from"./chunk-62144f9c5008bd47.js";var st=T((Ti,Rt)=>{var{defineProperty:j,getOwnPropertyDescriptor:Mr,getOwnPropertyNames:Nr}=Object,Ur=Object.prototype.hasOwnProperty,nt=(t,e)=>j(t,"name",{value:e,configurable:!0}),Ir=(t,e)=>{for(var r in e)j(t,r,{get:e[r],enumerable:!0})},Fr=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of Nr(e))if(!Ur.call(t,s)&&s!==r)j(t,s,{get:()=>e[s],enumerable:!(n=Mr(e,s))||n.enumerable})}return t},Ar=(t)=>Fr(j({},"__esModule",{value:!0}),t),Ft={};Ir(Ft,{escapeUri:()=>At,escapeUriPath:()=>zr});Rt.exports=Ar(Ft);var At=nt((t)=>encodeURIComponent(t).replace(/[!'()*]/g,Rr),"escapeUri"),Rr=nt((t)=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`,"hexEncode"),zr=nt((t)=>t.split("/").map(At).join("/"),"escapeUriPath")});var re=T((Qo,ee)=>{var{defineProperty:k,getOwnPropertyDescriptor:Gr,getOwnPropertyNames:Qr}=Object,Xr=Object.prototype.hasOwnProperty,G=(t,e)=>k(t,"name",{value:e,configurable:!0}),Jr=(t,e)=>{for(var r in e)k(t,r,{get:e[r],enumerable:!0})},Kr=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of Qr(e))if(!Xr.call(t,s)&&s!==r)k(t,s,{get:()=>e[s],enumerable:!(n=Gr(e,s))||n.enumerable})}return t},Hr=(t)=>Kr(k({},"__esModule",{value:!0}),t),Jt={};Jr(Jt,{AlgorithmId:()=>vt,EndpointURLScheme:()=>Pt,FieldPosition:()=>qt,HttpApiKeyAuthLocation:()=>Ht,HttpAuthLocation:()=>Kt,IniSectionType:()=>_t,RequestHandlerProtocol:()=>te,SMITHY_CONTEXT_KEY:()=>tn,getDefaultClientConfiguration:()=>qr,resolveDefaultRuntimeConfig:()=>_r});ee.exports=Hr(Jt);var Kt=((t)=>{return t.HEADER="header",t.QUERY="query",t})(Kt||{}),Ht=((t)=>{return t.HEADER="header",t.QUERY="query",t})(Ht||{}),Pt=((t)=>{return t.HTTP="http",t.HTTPS="https",t})(Pt||{}),vt=((t)=>{return t.MD5="md5",t.CRC32="crc32",t.CRC32C="crc32c",t.SHA1="sha1",t.SHA256="sha256",t})(vt||{}),Pr=G((t)=>{const e=[];if(t.sha256!==void 0)e.push({algorithmId:()=>"sha256",checksumConstructor:()=>t.sha256});if(t.md5!=null)e.push({algorithmId:()=>"md5",checksumConstructor:()=>t.md5});return{_checksumAlgorithms:e,addChecksumAlgorithm(r){this._checksumAlgorithms.push(r)},checksumAlgorithms(){return this._checksumAlgorithms}}},"getChecksumConfiguration"),vr=G((t)=>{const e={};return t.checksumAlgorithms().forEach((r)=>{e[r.algorithmId()]=r.checksumConstructor()}),e},"resolveChecksumRuntimeConfig"),qr=G((t)=>{return{...Pr(t)}},"getDefaultClientConfiguration"),_r=G((t)=>{return{...vr(t)}},"resolveDefaultRuntimeConfig"),qt=((t)=>{return t[t.HEADER=0]="HEADER",t[t.TRAILER=1]="TRAILER",t})(qt||{}),tn="__smithy_context",_t=((t)=>{return t.PROFILE="profile",t.SSO_SESSION="sso-session",t.SERVICES="services",t})(_t||{}),te=((t)=>{return t.HTTP_0_9="http/0.9",t.HTTP_1_0="http/1.0",t.TDS_8_0="tds/8.0",t})(te||{})});var de=T((Xo,he)=>{var fe=function(t){return Object.keys(t).reduce((e,r)=>{const n=t[r];return{...e,[r]:Array.isArray(n)?[...n]:n}},{})},ue=function(t){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(t)},Q=Object.defineProperty,en=Object.getOwnPropertyDescriptor,rn=Object.getOwnPropertyNames,nn=Object.prototype.hasOwnProperty,N=(t,e)=>Q(t,"name",{value:e,configurable:!0}),sn=(t,e)=>{for(var r in e)Q(t,r,{get:e[r],enumerable:!0})},on=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of rn(e))if(!nn.call(t,s)&&s!==r)Q(t,s,{get:()=>e[s],enumerable:!(n=en(e,s))||n.enumerable})}return t},cn=(t)=>on(Q({},"__esModule",{value:!0}),t),ne={};sn(ne,{Field:()=>un,Fields:()=>hn,HttpRequest:()=>dn,HttpResponse:()=>ln,IHttpRequest:()=>se.HttpRequest,getHttpHandlerExtensionConfiguration:()=>fn,isValidHostname:()=>ue,resolveHttpHandlerRuntimeConfig:()=>an});he.exports=cn(ne);var fn=N((t)=>{let e=t.httpHandler;return{setHttpHandler(r){e=r},httpHandler(){return e},updateHttpClientConfig(r,n){e.updateHttpClientConfig(r,n)},httpHandlerConfigs(){return e.httpHandlerConfigs()}}},"getHttpHandlerExtensionConfiguration"),an=N((t)=>{return{httpHandler:t.httpHandler()}},"resolveHttpHandlerRuntimeConfig"),se=re(),ie=class t{constructor({name:e,kind:r=se.FieldPosition.HEADER,values:n=[]}){this.name=e,this.kind=r,this.values=n}add(e){this.values.push(e)}set(e){this.values=e}remove(e){this.values=this.values.filter((r)=>r!==e)}toString(){return this.values.map((e)=>e.includes(",")||e.includes(" ")?`"${e}"`:e).join(", ")}get(){return this.values}};N(ie,"Field");var un=ie,oe=class t{constructor({fields:e=[],encoding:r="utf-8"}){this.entries={},e.forEach(this.setField.bind(this)),this.encoding=r}setField(e){this.entries[e.name.toLowerCase()]=e}getField(e){return this.entries[e.toLowerCase()]}removeField(e){delete this.entries[e.toLowerCase()]}getByType(e){return Object.values(this.entries).filter((r)=>r.kind===e)}};N(oe,"Fields");var hn=oe,ce=class t{constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?e.protocol.slice(-1)!==":"?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?e.path.charAt(0)!=="/"?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const r=new t({...e,headers:{...e.headers}});if(r.query)r.query=fe(r.query);return r}static isInstance(e){if(!e)return!1;const r=e;return"method"in r&&"protocol"in r&&"hostname"in r&&"path"in r&&typeof r.query==="object"&&typeof r.headers==="object"}clone(){return t.clone(this)}};N(ce,"HttpRequest");var dn=ce;N(fe,"cloneQuery");var ae=class t{constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;const r=e;return typeof r.statusCode==="number"&&typeof r.headers==="object"}};N(ae,"HttpResponse");var ln=ae;N(ue,"isValidHostname")});var ge=T((Jo,we)=>{var ye=function(t){const e=[];for(let r of Object.keys(t).sort()){const n=t[r];if(r=dt.escapeUri(r),Array.isArray(n))for(let s=0,i=n.length;s<i;s++)e.push(`${r}=${dt.escapeUri(n[s])}`);else{let s=r;if(n||typeof n==="string")s+=`=${dt.escapeUri(n)}`;e.push(s)}}return e.join("&")},X=Object.defineProperty,yn=Object.getOwnPropertyDescriptor,wn=Object.getOwnPropertyNames,gn=Object.prototype.hasOwnProperty,pn=(t,e)=>X(t,"name",{value:e,configurable:!0}),xn=(t,e)=>{for(var r in e)X(t,r,{get:e[r],enumerable:!0})},bn=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of wn(e))if(!gn.call(t,s)&&s!==r)X(t,s,{get:()=>e[s],enumerable:!(n=yn(e,s))||n.enumerable})}return t},En=(t)=>bn(X({},"__esModule",{value:!0}),t),le={};xn(le,{buildQueryString:()=>ye});we.exports=En(le);var dt=st();pn(ye,"buildQueryString")});var be=T((Ko,xe)=>{var{defineProperty:J,getOwnPropertyDescriptor:Tn,getOwnPropertyNames:mn}=Object,$n=Object.prototype.hasOwnProperty,Cn=(t,e)=>J(t,"name",{value:e,configurable:!0}),Sn=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Mn=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of mn(e))if(!$n.call(t,s)&&s!==r)J(t,s,{get:()=>e[s],enumerable:!(n=Tn(e,s))||n.enumerable})}return t},Nn=(t)=>Mn(J({},"__esModule",{value:!0}),t),pe={};Sn(pe,{isArrayBuffer:()=>Un});xe.exports=Nn(pe);var Un=Cn((t)=>typeof ArrayBuffer==="function"&&t instanceof ArrayBuffer||Object.prototype.toString.call(t)==="[object ArrayBuffer]","isArrayBuffer")});var H=T((Ho,me)=>{var{defineProperty:K,getOwnPropertyDescriptor:In,getOwnPropertyNames:Fn}=Object,An=Object.prototype.hasOwnProperty,Ee=(t,e)=>K(t,"name",{value:e,configurable:!0}),Rn=(t,e)=>{for(var r in e)K(t,r,{get:e[r],enumerable:!0})},zn=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of Fn(e))if(!An.call(t,s)&&s!==r)K(t,s,{get:()=>e[s],enumerable:!(n=In(e,s))||n.enumerable})}return t},Dn=(t)=>zn(K({},"__esModule",{value:!0}),t),Te={};Rn(Te,{fromArrayBuffer:()=>Bn,fromString:()=>Wn});me.exports=Dn(Te);var Ln=be(),lt=import.meta.require("buffer"),Bn=Ee((t,e=0,r=t.byteLength-e)=>{if(!Ln.isArrayBuffer(t))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof t} (${t})`);return lt.Buffer.from(t,e,r)},"fromArrayBuffer"),Wn=Ee((t,e)=>{if(typeof t!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof t} (${t})`);return e?lt.Buffer.from(t,e):lt.Buffer.from(t)},"fromString")});var Se=T(($e)=>{Object.defineProperty($e,"__esModule",{value:!0});$e.fromBase64=void 0;var jn=H(),Yn=/^[A-Za-z0-9+/]*={0,2}$/,On=(t)=>{if(t.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!Yn.exec(t))throw new TypeError("Invalid base64 string.");const e=jn.fromString(t,"base64");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)};$e.fromBase64=On});var Fe=T((vo,Ie)=>{var{defineProperty:P,getOwnPropertyDescriptor:Vn,getOwnPropertyNames:Zn}=Object,kn=Object.prototype.hasOwnProperty,yt=(t,e)=>P(t,"name",{value:e,configurable:!0}),Gn=(t,e)=>{for(var r in e)P(t,r,{get:e[r],enumerable:!0})},Qn=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of Zn(e))if(!kn.call(t,s)&&s!==r)P(t,s,{get:()=>e[s],enumerable:!(n=Vn(e,s))||n.enumerable})}return t},Xn=(t)=>Qn(P({},"__esModule",{value:!0}),t),Me={};Gn(Me,{fromUtf8:()=>Ue,toUint8Array:()=>Jn,toUtf8:()=>Kn});Ie.exports=Xn(Me);var Ne=H(),Ue=yt((t)=>{const e=Ne.fromString(t,"utf8");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),Jn=yt((t)=>{if(typeof t==="string")return Ue(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(t)},"toUint8Array"),Kn=yt((t)=>{if(typeof t==="string")return t;if(typeof t!=="object"||typeof t.byteOffset!=="number"||typeof t.byteLength!=="number")throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return Ne.fromArrayBuffer(t.buffer,t.byteOffset,t.byteLength).toString("utf8")},"toUtf8")});var ze=T((Ae)=>{Object.defineProperty(Ae,"__esModule",{value:!0});Ae.toBase64=void 0;var Hn=H(),Pn=Fe(),vn=(t)=>{let e;if(typeof t==="string")e=Pn.fromUtf8(t);else e=t;if(typeof e!=="object"||typeof e.byteOffset!=="number"||typeof e.byteLength!=="number")throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return Hn.fromArrayBuffer(e.buffer,e.byteOffset,e.byteLength).toString("base64")};Ae.toBase64=vn});var Be=T((_o,v)=>{var{defineProperty:De,getOwnPropertyDescriptor:qn,getOwnPropertyNames:_n}=Object,ts=Object.prototype.hasOwnProperty,wt=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of _n(e))if(!ts.call(t,s)&&s!==r)De(t,s,{get:()=>e[s],enumerable:!(n=qn(e,s))||n.enumerable})}return t},Le=(t,e,r)=>(wt(t,e,"default"),r&&wt(r,e,"default")),es=(t)=>wt(De({},"__esModule",{value:!0}),t),gt={};v.exports=es(gt);Le(gt,Se(),v.exports);Le(gt,ze(),v.exports)});var Qe=T((tc,Ge)=>{var Ye=function(t=0){return new Promise((e,r)=>{if(t)setTimeout(()=>{const n=new Error(`Request did not complete within ${t} ms`);n.name="TimeoutError",r(n)},t)})};async function Ve(t){const e=await ke(t),r=us.fromBase64(e);return new Uint8Array(r)}async function Ze(t){const e=[],r=t.getReader();let n=!1,s=0;while(!n){const{done:o,value:h}=await r.read();if(h)e.push(h),s+=h.length;n=o}const i=new Uint8Array(s);let c=0;for(let o of e)i.set(o,c),c+=o.length;return i}var ke=function(t){return new Promise((e,r)=>{const n=new FileReader;n.onloadend=()=>{if(n.readyState!==2)return r(new Error("Reader aborted too early"));const s=n.result??"",i=s.indexOf(","),c=i>-1?i+1:s.length;e(s.substring(c))},n.onabort=()=>r(new Error("Read aborted")),n.onerror=()=>r(n.error),n.readAsDataURL(t)})},_=Object.defineProperty,rs=Object.getOwnPropertyDescriptor,ns=Object.getOwnPropertyNames,ss=Object.prototype.hasOwnProperty,S=(t,e)=>_(t,"name",{value:e,configurable:!0}),is=(t,e)=>{for(var r in e)_(t,r,{get:e[r],enumerable:!0})},os=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of ns(e))if(!ss.call(t,s)&&s!==r)_(t,s,{get:()=>e[s],enumerable:!(n=rs(e,s))||n.enumerable})}return t},cs=(t)=>os(_({},"__esModule",{value:!0}),t),je={};is(je,{FetchHttpHandler:()=>as,keepAliveSupport:()=>q,streamCollector:()=>hs});Ge.exports=cs(je);var We=de(),fs=ge();S(Ye,"requestTimeout");var q={supported:void 0},Oe=class t{static create(e){if(typeof(e==null?void 0:e.handle)==="function")return e;return new t(e)}constructor(e){if(typeof e==="function")this.configProvider=e().then((r)=>r||{});else this.config=e??{},this.configProvider=Promise.resolve(this.config);if(q.supported===void 0)q.supported=Boolean(typeof Request!=="undefined"&&"keepalive"in new Request("https://[::1]"))}destroy(){}async handle(e,{abortSignal:r}={}){if(!this.config)this.config=await this.configProvider;const n=this.config.requestTimeout,s=this.config.keepAlive===!0,i=this.config.credentials;if(r==null?void 0:r.aborted){const f=new Error("Request aborted");return f.name="AbortError",Promise.reject(f)}let c=e.path;const o=fs.buildQueryString(e.query||{});if(o)c+=`?${o}`;if(e.fragment)c+=`#${e.fragment}`;let h="";if(e.username!=null||e.password!=null){const f=e.username??"",w=e.password??"";h=`${f}:${w}@`}const{port:l,method:x}=e,a=`${e.protocol}//${h}${e.hostname}${l?`:${l}`:""}${c}`,u=x==="GET"||x==="HEAD"?void 0:e.body,d={body:u,headers:new Headers(e.headers),method:x,credentials:i};if(u)d.duplex="half";if(typeof AbortController!=="undefined")d.signal=r;if(q.supported)d.keepalive=s;let p=S(()=>{},"removeSignalEventListener");const g=new Request(a,d),y=[fetch(g).then((f)=>{const w=f.headers,E={};for(let m of w.entries())E[m[0]]=m[1];if(f.body==null)return f.blob().then((m)=>({response:new We.HttpResponse({headers:E,reason:f.statusText,statusCode:f.status,body:m})}));return{response:new We.HttpResponse({headers:E,reason:f.statusText,statusCode:f.status,body:f.body})}}),Ye(n)];if(r)y.push(new Promise((f,w)=>{const E=S(()=>{const b=new Error("Request aborted");b.name="AbortError",w(b)},"onAbort");if(typeof r.addEventListener==="function"){const b=r;b.addEventListener("abort",E,{once:!0}),p=S(()=>b.removeEventListener("abort",E),"removeSignalEventListener")}else r.onabort=E}));return Promise.race(y).finally(p)}updateHttpClientConfig(e,r){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return n[e]=r,n})}httpHandlerConfigs(){return this.config??{}}};S(Oe,"FetchHttpHandler");var as=Oe,us=Be(),hs=S((t)=>{if(typeof Blob==="function"&&t instanceof Blob)return Ve(t);return Ze(t)},"streamCollector");S(Ve,"collectBlob");S(Ze,"collectStream");S(ke,"readToBase64")});var qe=T((ec,ve)=>{var He=function(t){if(t.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const e=new Uint8Array(t.length/2);for(let r=0;r<t.length;r+=2){const n=t.slice(r,r+2).toLowerCase();if(n in pt)e[r/2]=pt[n];else throw new Error(`Cannot decode unrecognized sequence ${n} as hexadecimal`)}return e},Pe=function(t){let e="";for(let r=0;r<t.byteLength;r++)e+=Ke[t[r]];return e},tt=Object.defineProperty,ds=Object.getOwnPropertyDescriptor,ls=Object.getOwnPropertyNames,ys=Object.prototype.hasOwnProperty,Xe=(t,e)=>tt(t,"name",{value:e,configurable:!0}),ws=(t,e)=>{for(var r in e)tt(t,r,{get:e[r],enumerable:!0})},gs=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of ls(e))if(!ys.call(t,s)&&s!==r)tt(t,s,{get:()=>e[s],enumerable:!(n=ds(e,s))||n.enumerable})}return t},ps=(t)=>gs(tt({},"__esModule",{value:!0}),t),Je={};ws(Je,{fromHex:()=>He,toHex:()=>Pe});ve.exports=ps(Je);var Ke={},pt={};for(let t=0;t<256;t++){let e=t.toString(16).toLowerCase();if(e.length===1)e=`0${e}`;Ke[t]=e,pt[e]=t}Xe(He,"fromHex");Xe(Pe,"toHex")});var U=(t,e)=>{const r=[];if(t)r.push(t);if(e)for(let n of e)r.push(n);return r},M=(t,e)=>{return`${t||"anonymous"}${e&&e.length>0?` (a.k.a. ${e.join(",")})`:""}`},F=()=>{let t=[],e=[],r=!1;const n=new Set,s=(a)=>a.sort((u,d)=>St[d.step]-St[u.step]||Mt[d.priority||"normal"]-Mt[u.priority||"normal"]),i=(a)=>{let u=!1;const d=(p)=>{const g=U(p.name,p.aliases);if(g.includes(a)){u=!0;for(let y of g)n.delete(y);return!1}return!0};return t=t.filter(d),e=e.filter(d),u},c=(a)=>{let u=!1;const d=(p)=>{if(p.middleware===a){u=!0;for(let g of U(p.name,p.aliases))n.delete(g);return!1}return!0};return t=t.filter(d),e=e.filter(d),u},o=(a)=>{return t.forEach((u)=>{a.add(u.middleware,{...u})}),e.forEach((u)=>{a.addRelativeTo(u.middleware,{...u})}),a.identifyOnResolve?.(x.identifyOnResolve()),a},h=(a)=>{const u=[];return a.before.forEach((d)=>{if(d.before.length===0&&d.after.length===0)u.push(d);else u.push(...h(d))}),u.push(a),a.after.reverse().forEach((d)=>{if(d.before.length===0&&d.after.length===0)u.push(d);else u.push(...h(d))}),u},l=(a=!1)=>{const u=[],d=[],p={};return t.forEach((y)=>{const f={...y,before:[],after:[]};for(let w of U(f.name,f.aliases))p[w]=f;u.push(f)}),e.forEach((y)=>{const f={...y,before:[],after:[]};for(let w of U(f.name,f.aliases))p[w]=f;d.push(f)}),d.forEach((y)=>{if(y.toMiddleware){const f=p[y.toMiddleware];if(f===void 0){if(a)return;throw new Error(`${y.toMiddleware} is not found when adding `+`${M(y.name,y.aliases)} `+`middleware ${y.relation} ${y.toMiddleware}`)}if(y.relation==="after")f.after.push(y);if(y.relation==="before")f.before.push(y)}}),s(u).map(h).reduce((y,f)=>{return y.push(...f),y},[])},x={add:(a,u={})=>{const{name:d,override:p,aliases:g}=u,y={step:"initialize",priority:"normal",middleware:a,...u},f=U(d,g);if(f.length>0){if(f.some((w)=>n.has(w))){if(!p)throw new Error(`Duplicate middleware name '${M(d,g)}'`);for(let w of f){const E=t.findIndex((m)=>m.name===w||m.aliases?.some((et)=>et===w));if(E===-1)continue;const b=t[E];if(b.step!==y.step||y.priority!==b.priority)throw new Error(`"${M(b.name,b.aliases)}" middleware with `+`${b.priority} priority in ${b.step} step cannot `+`be overridden by "${M(d,g)}" middleware with `+`${y.priority} priority in ${y.step} step.`);t.splice(E,1)}}for(let w of f)n.add(w)}t.push(y)},addRelativeTo:(a,u)=>{const{name:d,override:p,aliases:g}=u,y={middleware:a,...u},f=U(d,g);if(f.length>0){if(f.some((w)=>n.has(w))){if(!p)throw new Error(`Duplicate middleware name '${M(d,g)}'`);for(let w of f){const E=e.findIndex((m)=>m.name===w||m.aliases?.some((et)=>et===w));if(E===-1)continue;const b=e[E];if(b.toMiddleware!==y.toMiddleware||b.relation!==y.relation)throw new Error(`"${M(b.name,b.aliases)}" middleware `+`${b.relation} "${b.toMiddleware}" middleware cannot be overridden `+`by "${M(d,g)}" middleware ${y.relation} `+`"${y.toMiddleware}" middleware.`);e.splice(E,1)}}for(let w of f)n.add(w)}e.push(y)},clone:()=>o(F()),use:(a)=>{a.applyToStack(x)},remove:(a)=>{if(typeof a==="string")return i(a);else return c(a)},removeByTag:(a)=>{let u=!1;const d=(p)=>{const{tags:g,name:y,aliases:f}=p;if(g&&g.includes(a)){const w=U(y,f);for(let E of w)n.delete(E);return u=!0,!1}return!0};return t=t.filter(d),e=e.filter(d),u},concat:(a)=>{const u=o(F());return u.use(a),u.identifyOnResolve(r||u.identifyOnResolve()||(a.identifyOnResolve?.()??!1)),u},applyToStack:o,identify:()=>{return l(!0).map((a)=>{const u=a.step??a.relation+" "+a.toMiddleware;return M(a.name,a.aliases)+" - "+u})},identifyOnResolve(a){if(typeof a==="boolean")r=a;return r},resolve:(a,u)=>{for(let d of l().map((p)=>p.middleware).reverse())a=d(a,u);if(r)console.log(x.identify());return a}};return x},St={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Mt={high:3,normal:2,low:1};class Cr{constructor(t){this.middlewareStack=F(),this.config=t}send(t,e,r){const n=typeof e!=="function"?e:void 0,s=typeof e==="function"?e:r,i=t.resolveMiddleware(this.middlewareStack,this.config,n);if(s)i(t).then((c)=>s(null,c.output),(c)=>s(c)).catch(()=>{});else return i(t).then((c)=>c.output)}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}}class Ut{constructor(){this.middlewareStack=F()}static classBuilder(){return new It}resolveMiddlewareWithContext(t,e,r,{middlewareFn:n,clientName:s,commandName:i,inputFilterSensitiveLog:c,outputFilterSensitiveLog:o,smithyContext:h,additionalContext:l,CommandCtor:x}){for(let g of n.bind(this)(x,t,e,r))this.middlewareStack.use(g);const a=t.concat(this.middlewareStack),{logger:u}=e,d={logger:u,clientName:s,commandName:i,inputFilterSensitiveLog:c,outputFilterSensitiveLog:o,[Nt]:{commandInstance:this,...h},...l},{requestHandler:p}=e;return a.resolve((g)=>p.handle(g.request,r||{}),d)}}class It{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=(t)=>t,this._outputFilterSensitiveLog=(t)=>t,this._serializer=null,this._deserializer=null}init(t){this._init=t}ep(t){return this._ep=t,this}m(t){return this._middlewareFn=t,this}s(t,e,r={}){return this._smithyContext={service:t,operation:e,...r},this}c(t={}){return this._additionalContext=t,this}n(t,e){return this._clientName=t,this._commandName=e,this}f(t=(r)=>r,e=(r)=>r){return this._inputFilterSensitiveLog=t,this._outputFilterSensitiveLog=e,this}ser(t){return this._serializer=t,this}de(t){return this._deserializer=t,this}build(){const t=this;let e;return e=class extends Ut{static getEndpointParameterInstructions(){return t._ep}constructor(...[r]){super();this.serialize=t._serializer,this.deserialize=t._deserializer,this.input=r??{},t._init(this)}resolveMiddleware(r,n,s){return this.resolveMiddlewareWithContext(r,n,s,{CommandCtor:e,middlewareFn:t._middlewareFn,clientName:t._clientName,commandName:t._commandName,inputFilterSensitiveLog:t._inputFilterSensitiveLog,outputFilterSensitiveLog:t._outputFilterSensitiveLog,smithyContext:t._smithyContext,additionalContext:t._additionalContext})}}}}var ti=(t)=>{let e=t.httpHandler;return{setHttpHandler(r){e=r},httpHandler(){return e},updateHttpClientConfig(r,n){e.updateHttpClientConfig(r,n)},httpHandlerConfigs(){return e.httpHandlerConfigs()}}},ei=(t)=>{return{httpHandler:t.httpHandler()}};var Sr=function(t){return Object.keys(t).reduce((e,r)=>{const n=t[r];return{...e,[r]:Array.isArray(n)?[...n]:n}},{})};class rt{constructor(t){this.method=t.method||"GET",this.hostname=t.hostname||"localhost",this.port=t.port,this.query=t.query||{},this.headers=t.headers||{},this.body=t.body,this.protocol=t.protocol?t.protocol.slice(-1)!==":"?`${t.protocol}:`:t.protocol:"https:",this.path=t.path?t.path.charAt(0)!=="/"?`/${t.path}`:t.path:"/",this.username=t.username,this.password=t.password,this.fragment=t.fragment}static clone(t){const e=new rt({...t,headers:{...t.headers}});if(e.query)e.query=Sr(e.query);return e}static isInstance(t){if(!t)return!1;const e=t;return"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&typeof e.query==="object"&&typeof e.headers==="object"}clone(){return rt.clone(this)}}class W{constructor(t){this.statusCode=t.statusCode,this.reason=t.reason,this.headers=t.headers||{},this.body=t.body}static isInstance(t){if(!t)return!1;const e=t;return typeof e.statusCode==="number"&&typeof e.headers==="object"}}var Y=it(st(),1);function ot(t){const e=[];for(let r of Object.keys(t).sort()){const n=t[r];if(r=Y.escapeUri(r),Array.isArray(n))for(let s=0,i=n.length;s<i;s++)e.push(`${r}=${Y.escapeUri(n[s])}`);else{let s=r;if(n||typeof n==="string")s+=`=${Y.escapeUri(n)}`;e.push(s)}}return e.join("&")}import{Agent as jt,request as Br} from"http";import{Agent as Yt,request as Wr} from"https";var zt=["ECONNRESET","EPIPE","ETIMEDOUT"];var ct=(t)=>{const e={};for(let r of Object.keys(t)){const n=t[r];e[r]=Array.isArray(n)?n.join(","):n}return e};var Dt=(t,e,r=0)=>{if(!r)return;const n=setTimeout(()=>{t.destroy(),e(Object.assign(new Error(`Socket timed out without establishing a connection within ${r} ms`),{name:"TimeoutError"}))},r);t.on("socket",(s)=>{if(s.connecting)s.on("connect",()=>{clearTimeout(n)});else clearTimeout(n)})};var Lt=(t,{keepAlive:e,keepAliveMsecs:r})=>{if(e!==!0)return;t.on("socket",(n)=>{n.setKeepAlive(e,r||0)})};var Bt=(t,e,r=0)=>{t.setTimeout(r,()=>{t.destroy(),e(Object.assign(new Error(`Connection timed out after ${r} ms`),{name:"TimeoutError"}))})};import{Readable as Dr} from"stream";async function ft(t,e,r=Wt){const n=e.headers??{},s=n.Expect||n.expect;let i=-1,c=!1;if(s==="100-continue")await Promise.race([new Promise((o)=>{i=Number(setTimeout(o,Math.max(Wt,r)))}),new Promise((o)=>{t.on("continue",()=>{clearTimeout(i),o()}),t.on("error",()=>{c=!0,clearTimeout(i),o()})})]);if(!c)Lr(t,e.body)}var Lr=function(t,e){if(e instanceof Dr){e.pipe(t);return}if(e){if(Buffer.isBuffer(e)||typeof e==="string"){t.end(e);return}const r=e;if(typeof r==="object"&&r.buffer&&typeof r.byteOffset==="number"&&typeof r.byteLength==="number"){t.end(Buffer.from(r.buffer,r.byteOffset,r.byteLength));return}t.end(Buffer.from(e));return}t.end()},Wt=1000;class at{static create(t){if(typeof t?.handle==="function")return t;return new at(t)}static checkSocketUsage(t,e,r=console){const{sockets:n,requests:s,maxSockets:i}=t;if(typeof i!=="number"||i===Infinity)return e;const c=15000;if(Date.now()-c<e)return e;if(n&&s)for(let o in n){const h=n[o]?.length??0,l=s[o]?.length??0;if(h>=i&&l>=2*i)return r?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${h} and ${l} additional requests are enqueued.
2
- See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
3
- or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return e}constructor(t){this.socketWarningTimestamp=0,this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((e,r)=>{if(typeof t==="function")t().then((n)=>{e(this.resolveDefaultConfig(n))}).catch(r);else e(this.resolveDefaultConfig(t))})}resolveDefaultConfig(t){const{requestTimeout:e,connectionTimeout:r,socketTimeout:n,httpAgent:s,httpsAgent:i}=t||{};return{connectionTimeout:r,requestTimeout:e??n,httpAgent:(()=>{if(s instanceof jt||typeof s?.destroy==="function")return s;return new jt({keepAlive:!0,maxSockets:50,...s})})(),httpsAgent:(()=>{if(i instanceof Yt||typeof i?.destroy==="function")return i;return new Yt({keepAlive:!0,maxSockets:50,...i})})(),logger:console}}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(t,{abortSignal:e}={}){if(!this.config)this.config=await this.configProvider;let r;return new Promise((n,s)=>{let i=void 0;const c=async(f)=>{await i,clearTimeout(r),n(f)},o=async(f)=>{await i,clearTimeout(r),s(f)};if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(e?.aborted){const f=new Error("Request aborted");f.name="AbortError",o(f);return}const h=t.protocol==="https:",l=h?this.config.httpsAgent:this.config.httpAgent;r=setTimeout(()=>{this.socketWarningTimestamp=at.checkSocketUsage(l,this.socketWarningTimestamp,this.config.logger)},this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2000)+(this.config.connectionTimeout??1000));const x=ot(t.query||{});let a=void 0;if(t.username!=null||t.password!=null){const f=t.username??"",w=t.password??"";a=`${f}:${w}`}let u=t.path;if(x)u+=`?${x}`;if(t.fragment)u+=`#${t.fragment}`;const d={headers:t.headers,host:t.hostname,method:t.method,path:u,port:t.port,agent:l,auth:a},g=(h?Wr:Br)(d,(f)=>{const w=new W({statusCode:f.statusCode||-1,reason:f.statusMessage,headers:ct(f.headers),body:f});c({response:w})});if(g.on("error",(f)=>{if(zt.includes(f.code))o(Object.assign(f,{name:"TimeoutError"}));else o(f)}),Dt(g,o,this.config.connectionTimeout),Bt(g,o,this.config.requestTimeout),e){const f=()=>{g.destroy();const w=new Error("Request aborted");w.name="AbortError",o(w)};if(typeof e.addEventListener==="function"){const w=e;w.addEventListener("abort",f,{once:!0}),g.once("close",()=>w.removeEventListener("abort",f))}else e.onabort=f}const y=d.agent;if(typeof y==="object"&&"keepAlive"in y)Lt(g,{keepAlive:y.keepAlive,keepAliveMsecs:y.keepAliveMsecs});i=ft(g,t,this.config.requestTimeout).catch((f)=>{return clearTimeout(r),s(f)})})}updateHttpClientConfig(t,e){this.config=void 0,this.configProvider=this.configProvider.then((r)=>{return{...r,[t]:e}})}httpHandlerConfigs(){return this.config??{}}}import{Writable as jr} from"stream";class ut extends jr{constructor(){super(...arguments);this.bufferedBytes=[]}_write(t,e,r){this.bufferedBytes.push(t),r()}}async function Or(t){const e=[],r=t.getReader();let n=!1,s=0;while(!n){const{done:o,value:h}=await r.read();if(h)e.push(h),s+=h.length;n=o}const i=new Uint8Array(s);let c=0;for(let o of e)i.set(o,c),c+=o.length;return i}var Ot=(t)=>{if(Yr(t))return Or(t);return new Promise((e,r)=>{const n=new ut;t.pipe(n),t.on("error",(s)=>{n.end(),r(s)}),n.on("error",r),n.on("finish",function(){const s=new Uint8Array(Buffer.concat(this.bufferedBytes));e(s)})})},Yr=(t)=>typeof ReadableStream==="function"&&t instanceof ReadableStream;var oo="***SensitiveInformation***";var fo=(t,e)=>{for(let r of Object.keys(t)){const n=t[r],s=async function(c,o,h){const l=new n(c);if(typeof o==="function")this.send(l,o);else if(typeof h==="function"){if(typeof o!=="object")throw new Error(`Expected http options but got ${typeof o}`);this.send(l,o||{},h)}else return this.send(l,o)},i=(r[0].toLowerCase()+r.slice(1)).replace(/Command$/,"");e.prototype[i]=s}};class Vt extends Error{constructor(t){super(t.message);Object.setPrototypeOf(this,Vt.prototype),this.name=t.name,this.$fault=t.$fault,this.$metadata=t.$metadata}}var Zt=(t,e={})=>{Object.entries(e).filter(([,n])=>n!==void 0).forEach(([n,s])=>{if(t[n]==null||t[n]==="")t[n]=s});const r=t.message||t.Message||"UnknownError";return t.message=r,delete t.Message,t};class Vr{trace(){}debug(){}info(){}warn(){}error(){}}var kt=(t)=>typeof ArrayBuffer==="function"&&t instanceof ArrayBuffer||Object.prototype.toString.call(t)==="[object ArrayBuffer]";import{Buffer as ht} from"buffer";var A=(t,e=0,r=t.byteLength-e)=>{if(!kt(t))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof t} (${t})`);return ht.from(t,e,r)},O=(t,e)=>{if(typeof t!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof t} (${t})`);return e?ht.from(t,e):ht.from(t)};var Zr=/^[A-Za-z0-9+/]*={0,2}$/,Gt=(t)=>{if(t.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!Zr.exec(t))throw new TypeError("Invalid base64 string.");const e=O(t,"base64");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)};var R=(t)=>{const e=O(t,"utf8");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT)};var mo=(t)=>{if(typeof t==="string")return R(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(t)};var V=(t)=>{if(typeof t==="string")return t;if(typeof t!=="object"||typeof t.byteOffset!=="number"||typeof t.byteLength!=="number")throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return A(t.buffer,t.byteOffset,t.byteLength).toString("utf8")};var Z=(t)=>{let e;if(typeof t==="string")e=R(t);else e=t;if(typeof e!=="object"||typeof e.byteOffset!=="number"||typeof e.byteLength!=="number")throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return A(e.buffer,e.byteOffset,e.byteLength).toString("base64")};function Qt(t,e="utf-8"){if(e==="base64")return Z(t);return V(t)}function Xt(t,e){if(e==="base64")return C.mutate(Gt(t));return C.mutate(R(t))}class C extends Uint8Array{static fromString(t,e="utf-8"){switch(typeof t){case"string":return Xt(t,e);default:throw new Error(`Unsupported conversion from ${typeof t} to Uint8ArrayBlobAdapter.`)}}static mutate(t){return Object.setPrototypeOf(t,C.prototype),t}transformToString(t="utf-8"){return Qt(this,t)}}import{Readable as kr} from"stream";var ko=(t,e)=>{const{base64Encoder:r,bodyLengthChecker:n,checksumAlgorithmFn:s,checksumLocationName:i,streamHasher:c}=e,o=r!==void 0&&s!==void 0&&i!==void 0&&c!==void 0,h=o?c(s,t):void 0,l=new kr({read:()=>{}});return t.on("data",(x)=>{const a=n(x)||0;l.push(`${a.toString(16)}\r\n`),l.push(x),l.push("\r\n")}),t.on("end",async()=>{if(l.push("0\r\n"),o){const x=r(await h);l.push(`${i}:${x}\r\n`),l.push("\r\n")}l.push(null)}),l};import{Readable as xt} from"stream";import{TextDecoder as xs} from"util";var er=it(Qe(),1);var rr=it(qe(),1);var I=(t)=>typeof ReadableStream==="function"&&(t?.constructor?.name===ReadableStream.name||t instanceof ReadableStream);var _e="The stream has already been transformed.",nr=(t)=>{if(!tr(t)&&!I(t)){const s=t?.__proto__?.constructor?.name||t;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${s}`)}let e=!1;const r=async()=>{if(e)throw new Error(_e);return e=!0,await er.streamCollector(t)},n=(s)=>{if(typeof s.stream!=="function")throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\nIf you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body");return s.stream()};return Object.assign(t,{transformToByteArray:r,transformToString:async(s)=>{const i=await r();if(s==="base64")return Z(i);else if(s==="hex")return rr.toHex(i);else if(s===void 0||s==="utf8"||s==="utf-8")return V(i);else if(typeof TextDecoder==="function")return new TextDecoder(s).decode(i);else throw new Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(e)throw new Error(_e);if(e=!0,tr(t))return n(t);else if(I(t))return t;else throw new Error(`Cannot transform payload to web stream, got ${t}`)}})},tr=(t)=>typeof Blob==="function"&&t instanceof Blob;var sr="The stream has already been transformed.",dc=(t)=>{if(!(t instanceof xt))try{return nr(t)}catch(n){const s=t?.__proto__?.constructor?.name||t;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${s}`)}let e=!1;const r=async()=>{if(e)throw new Error(sr);return e=!0,await Ot(t)};return Object.assign(t,{transformToByteArray:r,transformToString:async(n)=>{const s=await r();if(n===void 0||Buffer.isEncoding(n))return A(s.buffer,s.byteOffset,s.byteLength).toString(n);else return new xs(n).decode(s)},transformToWebStream:()=>{if(e)throw new Error(sr);if(t.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof xt.toWeb!=="function")throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available.");return e=!0,xt.toWeb(t)}})};import{PassThrough as or} from"stream";async function ir(t){if(typeof t.stream==="function")t=t.stream();return t.tee()}async function xc(t){if(I(t))return ir(t);const e=new or,r=new or;return t.pipe(e),t.pipe(r),[e,r]}import{Writable as bs} from"stream";async function cr(t,e){let r=0;const n=[],s=t.getReader();let i=!1;while(!i){const{done:h,value:l}=await s.read();if(l)n.push(l),r+=l?.byteLength??0;if(r>=e)break;i=h}s.releaseLock();const c=new Uint8Array(Math.min(e,r));let o=0;for(let h of n){if(h.byteLength>c.byteLength-o){c.set(h.subarray(0,c.byteLength-o),o);break}else c.set(h,o);o+=h.length}return c}var Cc=(t,e)=>{if(I(t))return cr(t,e);return new Promise((r,n)=>{const s=new fr;s.limit=e,t.pipe(s),t.on("error",(i)=>{s.end(),n(i)}),s.on("error",n),s.on("finish",function(){const i=new Uint8Array(Buffer.concat(this.buffers));r(i)})})};class fr extends bs{constructor(){super(...arguments);this.buffers=[],this.limit=Infinity,this.bytesBuffered=0}_write(t,e,r){if(this.buffers.push(t),this.bytesBuffered+=t.byteLength??0,this.bytesBuffered>=this.limit){const n=this.bytesBuffered-this.limit,s=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=s.subarray(0,s.byteLength-n),this.emit("finish")}r()}}var Dc=async(t=new Uint8Array,e)=>{if(t instanceof Uint8Array)return C.mutate(t);if(!t)return C.mutate(new Uint8Array);const r=e.streamCollector(t);return C.mutate(await r)};var Bc=(t)=>{switch(t){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${t}"`)}};var Es=(t)=>{if(t===null||t===void 0)return;if(typeof t==="string"){const e=parseFloat(t);if(!Number.isNaN(e)){if(String(e)!==String(t))gr.warn(wr(`Expected number but observed string: ${t}`));return e}}if(typeof t==="number")return t;throw new TypeError(`Expected number, got ${typeof t}: ${t}`)},Ts=Math.ceil(340282346638528860000000000000000000000),ar=(t)=>{const e=Es(t);if(e!==void 0&&!Number.isNaN(e)&&e!==Infinity&&e!==(-Infinity)){if(Math.abs(e)>Ts)throw new TypeError(`Expected 32-bit float, got ${t}`)}return e},bt=(t)=>{if(t===null||t===void 0)return;if(Number.isInteger(t)&&!Number.isNaN(t))return t;throw new TypeError(`Expected integer, got ${typeof t}: ${t}`)};var ur=(t)=>Et(t,32),hr=(t)=>Et(t,16),dr=(t)=>Et(t,8),Et=(t,e)=>{const r=bt(t);if(r!==void 0&&ms(r,e)!==r)throw new TypeError(`Expected ${e}-bit integer, got ${t}`);return r},ms=(t,e)=>{switch(e){case 32:return Int32Array.of(t)[0];case 16:return Int16Array.of(t)[0];case 8:return Int8Array.of(t)[0]}},Wc=(t,e)=>{if(t===null||t===void 0){if(e)throw new TypeError(`Expected a non-null value for ${e}`);throw new TypeError("Expected a non-null value")}return t},jc=(t)=>{if(t===null||t===void 0)return;if(typeof t==="object"&&!Array.isArray(t))return t;const e=Array.isArray(t)?"array":typeof t;throw new TypeError(`Expected object, got ${e}: ${t}`)},Yc=(t)=>{if(t===null||t===void 0)return;if(typeof t==="string")return t;if(["boolean","number","bigint"].includes(typeof t))return gr.warn(wr(`Expected string, got ${typeof t}: ${t}`)),String(t);throw new TypeError(`Expected string, got ${typeof t}: ${t}`)};var lr=(t)=>{if(typeof t=="string")return ar(L(t));return ar(t)},$s=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,L=(t)=>{const e=t.match($s);if(e===null||e[0].length!==t.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(t)};var Oc=(t)=>{if(typeof t==="string")return bt(L(t));return bt(t)};var Vc=(t)=>{if(typeof t==="string")return ur(L(t));return ur(t)},z=(t)=>{if(typeof t==="string")return hr(L(t));return hr(t)},yr=(t)=>{if(typeof t==="string")return dr(L(t));return dr(t)},wr=(t)=>{return String(new TypeError(t).stack||t).split("\n").slice(0,5).filter((e)=>!e.includes("stackTraceWarning")).join("\n")},gr={warn:console.warn};function Qc(t){const e=t.getUTCFullYear(),r=t.getUTCMonth(),n=t.getUTCDay(),s=t.getUTCDate(),i=t.getUTCHours(),c=t.getUTCMinutes(),o=t.getUTCSeconds(),h=s<10?`0${s}`:`${s}`,l=i<10?`0${i}`:`${i}`,x=c<10?`0${c}`:`${c}`,a=o<10?`0${o}`:`${o}`;return`${Cs[n]}, ${h} ${mt[r]} ${e} ${l}:${x}:${a} GMT`}var Cs=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],mt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ss=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),Xc=(t)=>{if(t===null||t===void 0)return;if(typeof t!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const e=Ss.exec(t);if(!e)throw new TypeError("Invalid RFC-3339 date-time value");const[r,n,s,i,c,o,h,l]=e,x=z(D(n)),a=$(s,"month",1,12),u=$(i,"day",1,31);return B(x,a,u,{hours:c,minutes:o,seconds:h,fractionalMilliseconds:l})},Ms=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),Jc=(t)=>{if(t===null||t===void 0)return;if(typeof t!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const e=Ms.exec(t);if(!e)throw new TypeError("Invalid RFC-3339 date-time value");const[r,n,s,i,c,o,h,l,x]=e,a=z(D(n)),u=$(s,"month",1,12),d=$(i,"day",1,31),p=B(a,u,d,{hours:c,minutes:o,seconds:h,fractionalMilliseconds:l});if(x.toUpperCase()!="Z")p.setTime(p.getTime()-Ws(x));return p},Ns=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Us=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Is=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),Kc=(t)=>{if(t===null||t===void 0)return;if(typeof t!=="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let e=Ns.exec(t);if(e){const[r,n,s,i,c,o,h,l]=e;return B(z(D(i)),Tt(s),$(n,"day",1,31),{hours:c,minutes:o,seconds:h,fractionalMilliseconds:l})}if(e=Us.exec(t),e){const[r,n,s,i,c,o,h,l]=e;return Rs(B(Fs(i),Tt(s),$(n,"day",1,31),{hours:c,minutes:o,seconds:h,fractionalMilliseconds:l}))}if(e=Is.exec(t),e){const[r,n,s,i,c,o,h,l]=e;return B(z(D(l)),Tt(n),$(s.trimLeft(),"day",1,31),{hours:i,minutes:c,seconds:o,fractionalMilliseconds:h})}throw new TypeError("Invalid RFC-7231 date-time value")};var B=(t,e,r,n)=>{const s=e-1;return Ds(t,s,r),new Date(Date.UTC(t,s,r,$(n.hours,"hour",0,23),$(n.minutes,"minute",0,59),$(n.seconds,"seconds",0,60),Bs(n.fractionalMilliseconds)))},Fs=(t)=>{const e=(new Date()).getUTCFullYear(),r=Math.floor(e/100)*100+z(D(t));if(r<e)return r+100;return r},As=1576800000000,Rs=(t)=>{if(t.getTime()-(new Date()).getTime()>As)return new Date(Date.UTC(t.getUTCFullYear()-100,t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()));return t},Tt=(t)=>{const e=mt.indexOf(t);if(e<0)throw new TypeError(`Invalid month: ${t}`);return e+1},zs=[31,28,31,30,31,30,31,31,30,31,30,31],Ds=(t,e,r)=>{let n=zs[e];if(e===1&&Ls(t))n=29;if(r>n)throw new TypeError(`Invalid day for ${mt[e]} in ${t}: ${r}`)},Ls=(t)=>{return t%4===0&&(t%100!==0||t%400===0)},$=(t,e,r,n)=>{const s=yr(D(t));if(s<r||s>n)throw new TypeError(`${e} must be between ${r} and ${n}, inclusive`);return s},Bs=(t)=>{if(t===null||t===void 0)return 0;return lr("0."+t)*1000},Ws=(t)=>{const e=t[0];let r=1;if(e=="+")r=1;else if(e=="-")r=-1;else throw new TypeError(`Offset direction, ${e}, must be "+" or "-"`);const n=Number(t.substring(1,3)),s=Number(t.substring(4,6));return r*(n*60+s)*60*1000},D=(t)=>{let e=0;while(e<t.length-1&&t.charAt(e)==="0")e++;if(e===0)return t;return t.slice(e)};var js=({output:t,parsedBody:e,exceptionCtor:r,errorCode:n})=>{const s=Ys(t),i=s.httpStatusCode?s.httpStatusCode+"":void 0,c=new r({name:e?.code||e?.Code||n||i||"UnknownError",$fault:"client",$metadata:s});throw Zt(c,e)},vc=(t)=>{return({output:e,parsedBody:r,errorCode:n})=>{js({output:e,parsedBody:r,exceptionCtor:t,errorCode:n})}},Ys=(t)=>({httpStatusCode:t.statusCode,requestId:t.headers["x-amzn-requestid"]??t.headers["x-amzn-request-id"]??t.headers["x-amz-request-id"],extendedRequestId:t.headers["x-amz-id-2"],cfId:t.headers["x-amz-cf-id"]});var _c=(t)=>{switch(t){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:30000};default:return{}}};var pr=!1,ef=(t)=>{if(t&&!pr&&parseInt(t.substring(1,t.indexOf(".")))<16)pr=!0};var xr=(t)=>{const e=[];for(let r in $t){const n=$t[r];if(t[n]===void 0)continue;e.push({algorithmId:()=>n,checksumConstructor:()=>t[n]})}return{_checksumAlgorithms:e,addChecksumAlgorithm(r){this._checksumAlgorithms.push(r)},checksumAlgorithms(){return this._checksumAlgorithms}}},br=(t)=>{const e={};return t.checksumAlgorithms().forEach((r)=>{e[r.algorithmId()]=r.checksumConstructor()}),e};var Er=(t)=>{let e=t.retryStrategy;return{setRetryStrategy(r){e=r},retryStrategy(){return e}}},Tr=(t)=>{const e={};return e.retryStrategy=t.retryStrategy(),e};var af=(t)=>{return{...xr(t),...Er(t)}};var uf=(t)=>{return{...br(t),...Tr(t)}};function Os(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}var Ct=function(){const t=Object.getPrototypeOf(this).constructor,r=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(r,t.prototype),r};Ct.prototype=Object.create(String.prototype,{constructor:{value:Ct,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(Ct,String);function Vs(t,e,r){let n,s,i;if(typeof e==="undefined"&&typeof r==="undefined")n={},i=t;else if(n=t,typeof e==="function")return s=e,i=r,Zs(n,s,i);else i=e;for(let c of Object.keys(i)){if(!Array.isArray(i[c])){n[c]=i[c];continue}mr(n,null,i,c)}return n}var xf=(t,e)=>{const r={};for(let n in e)mr(r,t,e,n);return r},Zs=(t,e,r)=>{return Vs(t,Object.entries(r).reduce((n,[s,i])=>{if(Array.isArray(i))n[s]=i;else if(typeof i==="function")n[s]=[e,i()];else n[s]=[e,i];return n},{}))},mr=(t,e,r,n)=>{if(e!==null){let c=r[n];if(typeof c==="function")c=[,c];const[o=ks,h=Gs,l=n]=c;if(typeof o==="function"&&o(e[l])||typeof o!=="function"&&!!o)t[n]=h(e[l]);return}let[s,i]=r[n];if(typeof i==="function"){let c;const o=s===void 0&&(c=i())!=null,h=typeof s==="function"&&!!s(void 0)||typeof s!=="function"&&!!s;if(o)t[n]=c;else if(h)t[n]=i()}else{const c=s===void 0&&i!=null,o=typeof s==="function"&&!!s(i)||typeof s!=="function"&&!!s;if(c||o)t[n]=i}},ks=(t)=>t!=null,Gs=(t)=>t;var mf=(t)=>t.toISOString().replace(".000Z","Z");var $r=(t)=>{if(t==null)return{};if(Array.isArray(t))return t.filter((e)=>e!=null).map($r);if(typeof t==="object"){const e={};for(let r of Object.keys(t)){if(t[r]==null)continue;e[r]=$r(t[r])}return e}return t};export{ti as z,ei as A,rt as B,W as C,Vr as D,Cr as E,kt as F,A as G,O as H,Gt as I,R as J,mo as K,V as L,Z as M,ko as N,st as O,at as P,Ot as Q,re as R,de as S,ge as T,be as U,H as V,Fe as W,Be as X,Qe as Y,qe as Z,dc as _,xc as $,Cc as aa,Dc as ba,Ut as ca,oo as da,fo as ea,Bc as fa,bt as ga,ur as ha,Wc as ia,jc as ja,Yc as ka,Oc as la,Vc as ma,Qc as na,Xc as oa,Jc as pa,Kc as qa,Vt as ra,Zt as sa,vc as ta,_c as ua,ef as va,af as wa,uf as xa,Os as ya,Vs as za,xf as Aa,mf as Ba,$r as Ca};
@@ -1 +0,0 @@
1
- import{x as h,y as G} from"./chunk-a5c18c07abe8fd9c.js";import{lb as I} from"./chunk-2672477bf396bad8.js";import{ob as H,sb as K} from"./chunk-73c97da8ac4f1d30.js";var t=G((r,j)=>{var T=function(c){const i={};if(c=c.replace(/^\?/,""),c)for(let n of c.split("&")){let[F,f=null]=n.split("=");if(F=decodeURIComponent(F),f)f=decodeURIComponent(f);if(!(F in i))i[F]=f;else if(Array.isArray(i[F]))i[F].push(f);else i[F]=[i[F],f]}return i},o=Object.defineProperty,M=Object.getOwnPropertyDescriptor,Q=Object.getOwnPropertyNames,U=Object.prototype.hasOwnProperty,O=(c,i)=>o(c,"name",{value:i,configurable:!0}),d=(c,i)=>{for(var n in i)o(c,n,{get:i[n],enumerable:!0})},v=(c,i,n,F)=>{if(i&&typeof i==="object"||typeof i==="function"){for(let f of Q(i))if(!U.call(c,f)&&f!==n)o(c,f,{get:()=>i[f],enumerable:!(F=M(i,f))||F.enumerable})}return c},J=(c)=>v(o({},"__esModule",{value:!0}),c),S={};d(S,{parseQueryString:()=>T});j.exports=J(S);O(T,"parseQueryString")});var a=G((y,Z)=>{var{defineProperty:w,getOwnPropertyDescriptor:x,getOwnPropertyNames:P}=Object,s=Object.prototype.hasOwnProperty,l=(c,i)=>w(c,"name",{value:i,configurable:!0}),m=(c,i)=>{for(var n in i)w(c,n,{get:i[n],enumerable:!0})},k=(c,i,n,F)=>{if(i&&typeof i==="object"||typeof i==="function"){for(let f of P(i))if(!s.call(c,f)&&f!==n)w(c,f,{get:()=>i[f],enumerable:!(F=x(i,f))||F.enumerable})}return c},q=(c)=>k(w({},"__esModule",{value:!0}),c),z={};m(z,{parseUrl:()=>X});Z.exports=q(z);var p=t(),X=l((c)=>{if(typeof c==="string")return X(new URL(c));const{hostname:i,pathname:n,port:F,protocol:f,search:E}=c;let N;if(E)N=p.parseQueryString(E);return{hostname:i,port:F?parseInt(F):void 0,protocol:f,path:n,query:N}},"parseUrl")});var R=h(I(),1);var b=h(I(),1);function C(c){try{const i=new Set(Array.from(c.match(/([A-Z_]){3,}/g)??[]));return i.delete("CONFIG"),i.delete("CONFIG_PREFIX_SEPARATOR"),i.delete("ENV"),[...i].join(", ")}catch(i){return c}}var B=(c,i)=>async()=>{try{const n=c(process.env);if(n===void 0)throw new Error;return n}catch(n){throw new b.CredentialsProviderError(n.message||`Not found in ENV: ${C(c.toString())}`,{logger:i})}};var L=h(I(),1);var V=(c,{preferredFile:i="config",...n}={})=>async()=>{const F=H(n),{configFile:f,credentialsFile:E}=await K(n),N=E[F]||{},$=f[F]||{},D=i==="config"?{...N,...$}:{...$,...N};try{const A=c(D,i==="config"?f:E);if(A===void 0)throw new Error;return A}catch(g){throw new L.CredentialsProviderError(g.message||`Not found in config files w/ profile [${F}]: ${C(c.toString())}`,{logger:n.logger})}};var W=h(I(),1),u=(c)=>typeof c==="function",Y=(c)=>u(c)?async()=>await c():W.fromStatic(c);var wi=({environmentVariableSelector:c,configFileSelector:i,default:n},F={})=>R.memoize(R.chain(B(c),V(i,F),Y(n)));export{a as jb,wi as kb};
@@ -1,3 +0,0 @@
1
- import{y as me,z as ue} from"./chunk-7ce930fe69575c87.js";import{ib as ne,jb as ce} from"./chunk-c2d1f66cf8468e71.js";var pe=ue((Br,he)=>{var{defineProperty:P,getOwnPropertyDescriptor:ft,getOwnPropertyNames:ut}=Object,dt=Object.prototype.hasOwnProperty,Y=(e,t)=>P(e,"name",{value:t,configurable:!0}),lt=(e,t)=>{for(var r in t)P(e,r,{get:t[r],enumerable:!0})},ht=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let o of ut(t))if(!dt.call(e,o)&&o!==r)P(e,o,{get:()=>t[o],enumerable:!(n=ft(t,o))||n.enumerable})}return e},pt=(e)=>ht(P({},"__esModule",{value:!0}),e),de={};lt(de,{escapeUri:()=>le,escapeUriPath:()=>yt});he.exports=pt(de);var le=Y((e)=>encodeURIComponent(e).replace(/[!'()*]/g,mt),"escapeUri"),mt=Y((e)=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`,"hexEncode"),yt=Y((e)=>e.split("/").map(le).join("/"),"escapeUriPath")});var Oe=ue((Eo,Pe)=>{var Fe=function(e){if(e.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2){const n=e.slice(r,r+2).toLowerCase();if(n in K)t[r/2]=K[n];else throw new Error(`Cannot decode unrecognized sequence ${n} as hexadecimal`)}return t},Le=function(e){let t="";for(let r=0;r<e.byteLength;r++)t+=Re[e[r]];return t},H=Object.defineProperty,Nt=Object.getOwnPropertyDescriptor,Ut=Object.getOwnPropertyNames,Rt=Object.prototype.hasOwnProperty,Ne=(e,t)=>H(e,"name",{value:t,configurable:!0}),Ft=(e,t)=>{for(var r in t)H(e,r,{get:t[r],enumerable:!0})},Lt=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let o of Ut(t))if(!Rt.call(e,o)&&o!==r)H(e,o,{get:()=>t[o],enumerable:!(n=Nt(t,o))||n.enumerable})}return e},Pt=(e)=>Lt(H({},"__esModule",{value:!0}),e),Ue={};Ft(Ue,{fromHex:()=>Fe,toHex:()=>Le});Pe.exports=Pt(Ue);var Re={},K={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();if(t.length===1)t=`0${t}`;Re[e]=t,K[t]=e}Ne(Fe,"fromHex");Ne(Le,"toHex")});var C=(e,t)=>{const r=[];if(e)r.push(e);if(t)for(let n of t)r.push(n);return r},S=(e,t)=>{return`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`},A=()=>{let e=[],t=[],r=!1;const n=new Set,o=(a)=>a.sort((f,h)=>se[h.step]-se[f.step]||ie[h.priority||"normal"]-ie[f.priority||"normal"]),s=(a)=>{let f=!1;const h=(g)=>{const y=C(g.name,g.aliases);if(y.includes(a)){f=!0;for(let p of y)n.delete(p);return!1}return!0};return e=e.filter(h),t=t.filter(h),f},c=(a)=>{let f=!1;const h=(g)=>{if(g.middleware===a){f=!0;for(let y of C(g.name,g.aliases))n.delete(y);return!1}return!0};return e=e.filter(h),t=t.filter(h),f},i=(a)=>{return e.forEach((f)=>{a.add(f.middleware,{...f})}),t.forEach((f)=>{a.addRelativeTo(f.middleware,{...f})}),a.identifyOnResolve?.(w.identifyOnResolve()),a},d=(a)=>{const f=[];return a.before.forEach((h)=>{if(h.before.length===0&&h.after.length===0)f.push(h);else f.push(...d(h))}),f.push(a),a.after.reverse().forEach((h)=>{if(h.before.length===0&&h.after.length===0)f.push(h);else f.push(...d(h))}),f},l=(a=!1)=>{const f=[],h=[],g={};return e.forEach((p)=>{const u={...p,before:[],after:[]};for(let m of C(u.name,u.aliases))g[m]=u;f.push(u)}),t.forEach((p)=>{const u={...p,before:[],after:[]};for(let m of C(u.name,u.aliases))g[m]=u;h.push(u)}),h.forEach((p)=>{if(p.toMiddleware){const u=g[p.toMiddleware];if(u===void 0){if(a)return;throw new Error(`${p.toMiddleware} is not found when adding `+`${S(p.name,p.aliases)} `+`middleware ${p.relation} ${p.toMiddleware}`)}if(p.relation==="after")u.after.push(p);if(p.relation==="before")u.before.push(p)}}),o(f).map(d).reduce((p,u)=>{return p.push(...u),p},[])},w={add:(a,f={})=>{const{name:h,override:g,aliases:y}=f,p={step:"initialize",priority:"normal",middleware:a,...f},u=C(h,y);if(u.length>0){if(u.some((m)=>n.has(m))){if(!g)throw new Error(`Duplicate middleware name '${S(h,y)}'`);for(let m of u){const E=e.findIndex((U)=>U.name===m||U.aliases?.some((W)=>W===m));if(E===-1)continue;const x=e[E];if(x.step!==p.step||p.priority!==x.priority)throw new Error(`"${S(x.name,x.aliases)}" middleware with `+`${x.priority} priority in ${x.step} step cannot `+`be overridden by "${S(h,y)}" middleware with `+`${p.priority} priority in ${p.step} step.`);e.splice(E,1)}}for(let m of u)n.add(m)}e.push(p)},addRelativeTo:(a,f)=>{const{name:h,override:g,aliases:y}=f,p={middleware:a,...f},u=C(h,y);if(u.length>0){if(u.some((m)=>n.has(m))){if(!g)throw new Error(`Duplicate middleware name '${S(h,y)}'`);for(let m of u){const E=t.findIndex((U)=>U.name===m||U.aliases?.some((W)=>W===m));if(E===-1)continue;const x=t[E];if(x.toMiddleware!==p.toMiddleware||x.relation!==p.relation)throw new Error(`"${S(x.name,x.aliases)}" middleware `+`${x.relation} "${x.toMiddleware}" middleware cannot be overridden `+`by "${S(h,y)}" middleware ${p.relation} `+`"${p.toMiddleware}" middleware.`);t.splice(E,1)}}for(let m of u)n.add(m)}t.push(p)},clone:()=>i(A()),use:(a)=>{a.applyToStack(w)},remove:(a)=>{if(typeof a==="string")return s(a);else return c(a)},removeByTag:(a)=>{let f=!1;const h=(g)=>{const{tags:y,name:p,aliases:u}=g;if(y&&y.includes(a)){const m=C(p,u);for(let E of m)n.delete(E);return f=!0,!1}return!0};return e=e.filter(h),t=t.filter(h),f},concat:(a)=>{const f=i(A());return f.use(a),f.identifyOnResolve(r||f.identifyOnResolve()||(a.identifyOnResolve?.()??!1)),f},applyToStack:i,identify:()=>{return l(!0).map((a)=>{const f=a.step??a.relation+" "+a.toMiddleware;return S(a.name,a.aliases)+" - "+f})},identifyOnResolve(a){if(typeof a==="boolean")r=a;return r},resolve:(a,f)=>{for(let h of l().map((g)=>g.middleware).reverse())a=h(a,f);if(r)console.log(w.identify());return a}};return w},se={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},ie={high:3,normal:2,low:1};class ct{constructor(e){this.middlewareStack=A(),this.config=e}send(e,t,r){const n=typeof t!=="function"?t:void 0,o=typeof t==="function"?t:r,s=e.resolveMiddleware(this.middlewareStack,this.config,n);if(o)s(e).then((c)=>o(null,c.output),(c)=>o(c)).catch(()=>{});else return s(e).then((c)=>c.output)}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}}class ae{constructor(){this.middlewareStack=A()}static classBuilder(){return new fe}resolveMiddlewareWithContext(e,t,r,{middlewareFn:n,clientName:o,commandName:s,inputFilterSensitiveLog:c,outputFilterSensitiveLog:i,smithyContext:d,additionalContext:l,CommandCtor:w}){for(let y of n.bind(this)(w,e,t,r))this.middlewareStack.use(y);const a=e.concat(this.middlewareStack),{logger:f}=t,h={logger:f,clientName:o,commandName:s,inputFilterSensitiveLog:c,outputFilterSensitiveLog:i,[ce]:{commandInstance:this,...d},...l},{requestHandler:g}=t;return a.resolve((y)=>g.handle(y.request,r||{}),h)}}class fe{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=(e)=>e,this._outputFilterSensitiveLog=(e)=>e,this._serializer=null,this._deserializer=null}init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,r={}){return this._smithyContext={service:e,operation:t,...r},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=(r)=>r,t=(r)=>r){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}build(){const e=this;let t;return t=class extends ae{static getEndpointParameterInstructions(){return e._ep}constructor(...[r]){super();this.serialize=e._serializer,this.deserialize=e._deserializer,this.input=r??{},e._init(this)}resolveMiddleware(r,n,o){return this.resolveMiddlewareWithContext(r,n,o,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog,outputFilterSensitiveLog:e._outputFilterSensitiveLog,smithyContext:e._smithyContext,additionalContext:e._additionalContext})}}}}var wr=(e)=>{let t=e.httpHandler;return{setHttpHandler(r){t=r},httpHandler(){return t},updateHttpClientConfig(r,n){t.updateHttpClientConfig(r,n)},httpHandlerConfigs(){return t.httpHandlerConfigs()}}},xr=(e)=>{return{httpHandler:e.httpHandler()}};var at=function(e){return Object.keys(e).reduce((t,r)=>{const n=e[r];return{...t,[r]:Array.isArray(n)?[...n]:n}},{})};class j{constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?e.protocol.slice(-1)!==":"?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?e.path.charAt(0)!=="/"?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const t=new j({...e,headers:{...e.headers}});if(t.query)t.query=at(t.query);return t}static isInstance(e){if(!e)return!1;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&typeof t.query==="object"&&typeof t.headers==="object"}clone(){return j.clone(this)}}class R{constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;const t=e;return typeof t.statusCode==="number"&&typeof t.headers==="object"}}var O=me(pe(),1);function D(e){const t=[];for(let r of Object.keys(e).sort()){const n=e[r];if(r=O.escapeUri(r),Array.isArray(n))for(let o=0,s=n.length;o<s;o++)t.push(`${r}=${O.escapeUri(n[o])}`);else{let o=r;if(n||typeof n==="string")o+=`=${O.escapeUri(n)}`;t.push(o)}}return t.join("&")}import{Agent as Ee,request as xt} from"http";import{Agent as Te,request as bt} from"https";var ye=["ECONNRESET","EPIPE","ETIMEDOUT"];var J=(e)=>{const t={};for(let r of Object.keys(e)){const n=e[r];t[r]=Array.isArray(n)?n.join(","):n}return t};var ge=(e,t,r=0)=>{if(!r)return;const n=setTimeout(()=>{e.destroy(),t(Object.assign(new Error(`Socket timed out without establishing a connection within ${r} ms`),{name:"TimeoutError"}))},r);e.on("socket",(o)=>{if(o.connecting)o.on("connect",()=>{clearTimeout(n)});else clearTimeout(n)})};var we=(e,{keepAlive:t,keepAliveMsecs:r})=>{if(t!==!0)return;e.on("socket",(n)=>{n.setKeepAlive(t,r||0)})};var xe=(e,t,r=0)=>{e.setTimeout(r,()=>{e.destroy(),t(Object.assign(new Error(`Connection timed out after ${r} ms`),{name:"TimeoutError"}))})};import{Readable as gt} from"stream";async function V(e,t,r=be){const n=t.headers??{},o=n.Expect||n.expect;let s=-1,c=!1;if(o==="100-continue")await Promise.race([new Promise((i)=>{s=Number(setTimeout(i,Math.max(be,r)))}),new Promise((i)=>{e.on("continue",()=>{clearTimeout(s),i()}),e.on("error",()=>{c=!0,clearTimeout(s),i()})})]);if(!c)wt(e,t.body)}var wt=function(e,t){if(t instanceof gt){t.pipe(e);return}if(t){if(Buffer.isBuffer(t)||typeof t==="string"){e.end(t);return}const r=t;if(typeof r==="object"&&r.buffer&&typeof r.byteOffset==="number"&&typeof r.byteLength==="number"){e.end(Buffer.from(r.buffer,r.byteOffset,r.byteLength));return}e.end(Buffer.from(t));return}e.end()},be=1000;class Z{static create(e){if(typeof e?.handle==="function")return e;return new Z(e)}static checkSocketUsage(e,t,r=console){const{sockets:n,requests:o,maxSockets:s}=e;if(typeof s!=="number"||s===Infinity)return t;const c=15000;if(Date.now()-c<t)return t;if(n&&o)for(let i in n){const d=n[i]?.length??0,l=o[i]?.length??0;if(d>=s&&l>=2*s)return r?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${d} and ${l} additional requests are enqueued.
2
- See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
3
- or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.socketWarningTimestamp=0,this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((t,r)=>{if(typeof e==="function")e().then((n)=>{t(this.resolveDefaultConfig(n))}).catch(r);else t(this.resolveDefaultConfig(e))})}resolveDefaultConfig(e){const{requestTimeout:t,connectionTimeout:r,socketTimeout:n,httpAgent:o,httpsAgent:s}=e||{};return{connectionTimeout:r,requestTimeout:t??n,httpAgent:(()=>{if(o instanceof Ee||typeof o?.destroy==="function")return o;return new Ee({keepAlive:!0,maxSockets:50,...o})})(),httpsAgent:(()=>{if(s instanceof Te||typeof s?.destroy==="function")return s;return new Te({keepAlive:!0,maxSockets:50,...s})})(),logger:console}}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t}={}){if(!this.config)this.config=await this.configProvider;let r;return new Promise((n,o)=>{let s=void 0;const c=async(u)=>{await s,clearTimeout(r),n(u)},i=async(u)=>{await s,clearTimeout(r),o(u)};if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(t?.aborted){const u=new Error("Request aborted");u.name="AbortError",i(u);return}const d=e.protocol==="https:",l=d?this.config.httpsAgent:this.config.httpAgent;r=setTimeout(()=>{this.socketWarningTimestamp=Z.checkSocketUsage(l,this.socketWarningTimestamp,this.config.logger)},this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2000)+(this.config.connectionTimeout??1000));const w=D(e.query||{});let a=void 0;if(e.username!=null||e.password!=null){const u=e.username??"",m=e.password??"";a=`${u}:${m}`}let f=e.path;if(w)f+=`?${w}`;if(e.fragment)f+=`#${e.fragment}`;const h={headers:e.headers,host:e.hostname,method:e.method,path:f,port:e.port,agent:l,auth:a},y=(d?bt:xt)(h,(u)=>{const m=new R({statusCode:u.statusCode||-1,reason:u.statusMessage,headers:J(u.headers),body:u});c({response:m})});if(y.on("error",(u)=>{if(ye.includes(u.code))i(Object.assign(u,{name:"TimeoutError"}));else i(u)}),ge(y,i,this.config.connectionTimeout),xe(y,i,this.config.requestTimeout),t){const u=()=>{y.destroy();const m=new Error("Request aborted");m.name="AbortError",i(m)};if(typeof t.addEventListener==="function"){const m=t;m.addEventListener("abort",u,{once:!0}),y.once("close",()=>m.removeEventListener("abort",u))}else t.onabort=u}const p=h.agent;if(typeof p==="object"&&"keepAlive"in p)we(y,{keepAlive:p.keepAlive,keepAliveMsecs:p.keepAliveMsecs});s=V(y,e,this.config.requestTimeout).catch((u)=>{return clearTimeout(r),o(u)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((r)=>{return{...r,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}import{Writable as Et} from"stream";class Q extends Et{constructor(){super(...arguments);this.bufferedBytes=[]}_write(e,t,r){this.bufferedBytes.push(e),r()}}async function St(e){const t=[],r=e.getReader();let n=!1,o=0;while(!n){const{done:i,value:d}=await r.read();if(d)t.push(d),o+=d.length;n=i}const s=new Uint8Array(o);let c=0;for(let i of t)s.set(i,c),c+=i.length;return s}var Se=(e)=>{if(Tt(e))return St(e);return new Promise((t,r)=>{const n=new Q;e.pipe(n),e.on("error",(o)=>{n.end(),r(o)}),n.on("error",r),n.on("finish",function(){const o=new Uint8Array(Buffer.concat(this.bufferedBytes));t(o)})})},Tt=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;var $n="***SensitiveInformation***";var In=(e,t)=>{for(let r of Object.keys(e)){const n=e[r],o=async function(c,i,d){const l=new n(c);if(typeof i==="function")this.send(l,i);else if(typeof d==="function"){if(typeof i!=="object")throw new Error(`Expected http options but got ${typeof i}`);this.send(l,i||{},d)}else return this.send(l,i)},s=(r[0].toLowerCase()+r.slice(1)).replace(/Command$/,"");t.prototype[s]=o}};class Ce extends Error{constructor(e){super(e.message);Object.setPrototypeOf(this,Ce.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}}var $e=(e,t={})=>{Object.entries(t).filter(([,n])=>n!==void 0).forEach(([n,o])=>{if(e[n]==null||e[n]==="")e[n]=o});const r=e.message||e.Message||"UnknownError";return e.message=r,delete e.Message,e};class Ct{trace(){}debug(){}info(){}warn(){}error(){}}var Ae=(e)=>typeof ArrayBuffer==="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]";import{Buffer as G} from"buffer";var I=(e,t=0,r=e.byteLength-t)=>{if(!Ae(e))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof e} (${e})`);return G.from(e,t,r)},v=(e,t)=>{if(typeof e!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof e} (${e})`);return t?G.from(e,t):G.from(e)};var $t=/^[A-Za-z0-9+/]*={0,2}$/,B=(e)=>{if(e.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!$t.exec(e))throw new TypeError("Invalid base64 string.");const t=v(e,"base64");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)};var M=(e)=>{const t=v(e,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)};var zn=(e)=>{if(typeof e==="string")return M(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(e)};var z=(e)=>{if(typeof e==="string")return e;if(typeof e!=="object"||typeof e.byteOffset!=="number"||typeof e.byteLength!=="number")throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return I(e.buffer,e.byteOffset,e.byteLength).toString("utf8")};var q=(e)=>{let t;if(typeof e==="string")t=M(e);else t=e;if(typeof t!=="object"||typeof t.byteOffset!=="number"||typeof t.byteLength!=="number")throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return I(t.buffer,t.byteOffset,t.byteLength).toString("base64")};function Ie(e,t="utf-8"){if(t==="base64")return q(e);return z(e)}function Me(e,t){if(t==="base64")return T.mutate(B(e));return T.mutate(M(e))}class T extends Uint8Array{static fromString(e,t="utf-8"){switch(typeof e){case"string":return Me(e,t);default:throw new Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}}static mutate(e){return Object.setPrototypeOf(e,T.prototype),e}transformToString(e="utf-8"){return Ie(this,e)}}import{Readable as At} from"stream";var co=(e,t)=>{const{base64Encoder:r,bodyLengthChecker:n,checksumAlgorithmFn:o,checksumLocationName:s,streamHasher:c}=t,i=r!==void 0&&o!==void 0&&s!==void 0&&c!==void 0,d=i?c(o,e):void 0,l=new At({read:()=>{}});return e.on("data",(w)=>{const a=n(w)||0;l.push(`${a.toString(16)}\r\n`),l.push(w),l.push("\r\n")}),e.on("end",async()=>{if(l.push("0\r\n"),i){const w=r(await d);l.push(`${s}:${w}\r\n`),l.push("\r\n")}l.push(null)}),l};import{Readable as X} from"stream";import{TextDecoder as Ot} from"util";async function It(e){const t=await kt(e),r=B(t);return new Uint8Array(r)}async function Mt(e){const t=[],r=e.getReader();let n=!1,o=0;while(!n){const{done:i,value:d}=await r.read();if(d)t.push(d),o+=d.length;n=i}const s=new Uint8Array(o);let c=0;for(let i of t)s.set(i,c),c+=i.length;return s}var kt=function(e){return new Promise((t,r)=>{const n=new FileReader;n.onloadend=()=>{if(n.readyState!==2)return r(new Error("Reader aborted too early"));const o=n.result??"",s=o.indexOf(","),c=s>-1?s+1:o.length;t(o.substring(c))},n.onabort=()=>r(new Error("Read aborted")),n.onerror=()=>r(n.error),n.readAsDataURL(e)})},ke=(e)=>{if(typeof Blob==="function"&&e instanceof Blob)return It(e);return Mt(e)};var Be=me(Oe(),1);var $=(e)=>typeof ReadableStream==="function"&&(e?.constructor?.name===ReadableStream.name||e instanceof ReadableStream);var De="The stream has already been transformed.",ze=(e)=>{if(!ve(e)&&!$(e)){const o=e?.__proto__?.constructor?.name||e;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${o}`)}let t=!1;const r=async()=>{if(t)throw new Error(De);return t=!0,await ke(e)},n=(o)=>{if(typeof o.stream!=="function")throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\nIf you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body");return o.stream()};return Object.assign(e,{transformToByteArray:r,transformToString:async(o)=>{const s=await r();if(o==="base64")return q(s);else if(o==="hex")return Be.toHex(s);else if(o===void 0||o==="utf8"||o==="utf-8")return z(s);else if(typeof TextDecoder==="function")return new TextDecoder(o).decode(s);else throw new Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(t)throw new Error(De);if(t=!0,ve(e))return n(e);else if($(e))return e;else throw new Error(`Cannot transform payload to web stream, got ${e}`)}})},ve=(e)=>typeof Blob==="function"&&e instanceof Blob;var qe="The stream has already been transformed.",Fo=(e)=>{if(!(e instanceof X))try{return ze(e)}catch(n){const o=e?.__proto__?.constructor?.name||e;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${o}`)}let t=!1;const r=async()=>{if(t)throw new Error(qe);return t=!0,await Se(e)};return Object.assign(e,{transformToByteArray:r,transformToString:async(n)=>{const o=await r();if(n===void 0||Buffer.isEncoding(n))return I(o.buffer,o.byteOffset,o.byteLength).toString(n);else return new Ot(n).decode(o)},transformToWebStream:()=>{if(t)throw new Error(qe);if(e.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof X.toWeb!=="function")throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available.");return t=!0,X.toWeb(e)}})};import{PassThrough as We} from"stream";async function He(e){if(typeof e.stream==="function")e=e.stream();return e.tee()}async function Bo(e){if($(e))return He(e);const t=new We,r=new We;return e.pipe(t),e.pipe(r),[t,r]}import{Writable as Dt} from"stream";async function je(e,t){let r=0;const n=[],o=e.getReader();let s=!1;while(!s){const{done:d,value:l}=await o.read();if(l)n.push(l),r+=l?.byteLength??0;if(r>=t)break;s=d}o.releaseLock();const c=new Uint8Array(Math.min(t,r));let i=0;for(let d of n){if(d.byteLength>c.byteLength-i){c.set(d.subarray(0,c.byteLength-i),i);break}else c.set(d,i);i+=d.length}return c}var Yo=(e,t)=>{if($(e))return je(e,t);return new Promise((r,n)=>{const o=new Ye;o.limit=t,e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){const s=new Uint8Array(Buffer.concat(this.buffers));r(s)})})};class Ye extends Dt{constructor(){super(...arguments);this.buffers=[],this.limit=Infinity,this.bytesBuffered=0}_write(e,t,r){if(this.buffers.push(e),this.bytesBuffered+=e.byteLength??0,this.bytesBuffered>=this.limit){const n=this.bytesBuffered-this.limit,o=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=o.subarray(0,o.byteLength-n),this.emit("finish")}r()}}var ts=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return T.mutate(e);if(!e)return T.mutate(new Uint8Array);const r=t.streamCollector(e);return T.mutate(await r)};var ns=(e)=>{switch(e){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${e}"`)}};var vt=(e)=>{if(e===null||e===void 0)return;if(typeof e==="string"){const t=parseFloat(e);if(!Number.isNaN(t)){if(String(t)!==String(e))_e.warn(Xe(`Expected number but observed string: ${e}`));return t}}if(typeof e==="number")return e;throw new TypeError(`Expected number, got ${typeof e}: ${e}`)},Bt=Math.ceil(340282346638528860000000000000000000000),Je=(e)=>{const t=vt(e);if(t!==void 0&&!Number.isNaN(t)&&t!==Infinity&&t!==(-Infinity)){if(Math.abs(t)>Bt)throw new TypeError(`Expected 32-bit float, got ${e}`)}return t},_=(e)=>{if(e===null||e===void 0)return;if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)};var Ve=(e)=>ee(e,32),Ze=(e)=>ee(e,16),Qe=(e)=>ee(e,8),ee=(e,t)=>{const r=_(e);if(r!==void 0&&zt(r,t)!==r)throw new TypeError(`Expected ${t}-bit integer, got ${e}`);return r},zt=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},os=(e,t)=>{if(e===null||e===void 0){if(t)throw new TypeError(`Expected a non-null value for ${t}`);throw new TypeError("Expected a non-null value")}return e},ss=(e)=>{if(e===null||e===void 0)return;if(typeof e==="object"&&!Array.isArray(e))return e;const t=Array.isArray(e)?"array":typeof e;throw new TypeError(`Expected object, got ${t}: ${e}`)},is=(e)=>{if(e===null||e===void 0)return;if(typeof e==="string")return e;if(["boolean","number","bigint"].includes(typeof e))return _e.warn(Xe(`Expected string, got ${typeof e}: ${e}`)),String(e);throw new TypeError(`Expected string, got ${typeof e}: ${e}`)};var Ge=(e)=>{if(typeof e=="string")return Je(F(e));return Je(e)},qt=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,F=(e)=>{const t=e.match(qt);if(t===null||t[0].length!==e.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(e)};var cs=(e)=>{if(typeof e==="string")return _(F(e));return _(e)};var as=(e)=>{if(typeof e==="string")return Ve(F(e));return Ve(e)},k=(e)=>{if(typeof e==="string")return Ze(F(e));return Ze(e)},Ke=(e)=>{if(typeof e==="string")return Qe(F(e));return Qe(e)},Xe=(e)=>{return String(new TypeError(e).stack||e).split("\n").slice(0,5).filter((t)=>!t.includes("stackTraceWarning")).join("\n")},_e={warn:console.warn};function ls(e){const t=e.getUTCFullYear(),r=e.getUTCMonth(),n=e.getUTCDay(),o=e.getUTCDate(),s=e.getUTCHours(),c=e.getUTCMinutes(),i=e.getUTCSeconds(),d=o<10?`0${o}`:`${o}`,l=s<10?`0${s}`:`${s}`,w=c<10?`0${c}`:`${c}`,a=i<10?`0${i}`:`${i}`;return`${Ht[n]}, ${d} ${re[r]} ${t} ${l}:${w}:${a} GMT`}var Ht=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],re=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Wt=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),hs=(e)=>{if(e===null||e===void 0)return;if(typeof e!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const t=Wt.exec(e);if(!t)throw new TypeError("Invalid RFC-3339 date-time value");const[r,n,o,s,c,i,d,l]=t,w=k(N(n)),a=b(o,"month",1,12),f=b(s,"day",1,31);return L(w,a,f,{hours:c,minutes:i,seconds:d,fractionalMilliseconds:l})},jt=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),ps=(e)=>{if(e===null||e===void 0)return;if(typeof e!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const t=jt.exec(e);if(!t)throw new TypeError("Invalid RFC-3339 date-time value");const[r,n,o,s,c,i,d,l,w]=t,a=k(N(n)),f=b(o,"month",1,12),h=b(s,"day",1,31),g=L(a,f,h,{hours:c,minutes:i,seconds:d,fractionalMilliseconds:l});if(w.toUpperCase()!="Z")g.setTime(g.getTime()-tr(w));return g},Yt=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Jt=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Vt=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),ms=(e)=>{if(e===null||e===void 0)return;if(typeof e!=="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let t=Yt.exec(e);if(t){const[r,n,o,s,c,i,d,l]=t;return L(k(N(s)),te(o),b(n,"day",1,31),{hours:c,minutes:i,seconds:d,fractionalMilliseconds:l})}if(t=Jt.exec(e),t){const[r,n,o,s,c,i,d,l]=t;return Gt(L(Zt(s),te(o),b(n,"day",1,31),{hours:c,minutes:i,seconds:d,fractionalMilliseconds:l}))}if(t=Vt.exec(e),t){const[r,n,o,s,c,i,d,l]=t;return L(k(N(l)),te(n),b(o.trimLeft(),"day",1,31),{hours:s,minutes:c,seconds:i,fractionalMilliseconds:d})}throw new TypeError("Invalid RFC-7231 date-time value")};var L=(e,t,r,n)=>{const o=t-1;return Xt(e,o,r),new Date(Date.UTC(e,o,r,b(n.hours,"hour",0,23),b(n.minutes,"minute",0,59),b(n.seconds,"seconds",0,60),er(n.fractionalMilliseconds)))},Zt=(e)=>{const t=(new Date()).getUTCFullYear(),r=Math.floor(t/100)*100+k(N(e));if(r<t)return r+100;return r},Qt=1576800000000,Gt=(e)=>{if(e.getTime()-(new Date()).getTime()>Qt)return new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()));return e},te=(e)=>{const t=re.indexOf(e);if(t<0)throw new TypeError(`Invalid month: ${e}`);return t+1},Kt=[31,28,31,30,31,30,31,31,30,31,30,31],Xt=(e,t,r)=>{let n=Kt[t];if(t===1&&_t(e))n=29;if(r>n)throw new TypeError(`Invalid day for ${re[t]} in ${e}: ${r}`)},_t=(e)=>{return e%4===0&&(e%100!==0||e%400===0)},b=(e,t,r,n)=>{const o=Ke(N(e));if(o<r||o>n)throw new TypeError(`${t} must be between ${r} and ${n}, inclusive`);return o},er=(e)=>{if(e===null||e===void 0)return 0;return Ge("0."+e)*1000},tr=(e)=>{const t=e[0];let r=1;if(t=="+")r=1;else if(t=="-")r=-1;else throw new TypeError(`Offset direction, ${t}, must be "+" or "-"`);const n=Number(e.substring(1,3)),o=Number(e.substring(4,6));return r*(n*60+o)*60*1000},N=(e)=>{let t=0;while(t<e.length-1&&e.charAt(t)==="0")t++;if(t===0)return e;return e.slice(t)};var rr=({output:e,parsedBody:t,exceptionCtor:r,errorCode:n})=>{const o=nr(e),s=o.httpStatusCode?o.httpStatusCode+"":void 0,c=new r({name:t?.code||t?.Code||n||s||"UnknownError",$fault:"client",$metadata:o});throw $e(c,t)},ws=(e)=>{return({output:t,parsedBody:r,errorCode:n})=>{rr({output:t,parsedBody:r,exceptionCtor:e,errorCode:n})}},nr=(e)=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]});var bs=(e)=>{switch(e){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:30000};default:return{}}};var et=!1,Ts=(e)=>{if(e&&!et&&parseInt(e.substring(1,e.indexOf(".")))<16)et=!0};var tt=(e)=>{const t=[];for(let r in ne){const n=ne[r];if(e[n]===void 0)continue;t.push({algorithmId:()=>n,checksumConstructor:()=>e[n]})}return{_checksumAlgorithms:t,addChecksumAlgorithm(r){this._checksumAlgorithms.push(r)},checksumAlgorithms(){return this._checksumAlgorithms}}},rt=(e)=>{const t={};return e.checksumAlgorithms().forEach((r)=>{t[r.algorithmId()]=r.checksumConstructor()}),t};var nt=(e)=>{let t=e.retryStrategy;return{setRetryStrategy(r){t=r},retryStrategy(){return t}}},ot=(e)=>{const t={};return t.retryStrategy=e.retryStrategy(),t};var ks=(e)=>{return{...tt(e),...nt(e)}};var Ns=(e)=>{return{...rt(e),...ot(e)}};function or(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}var oe=function(){const e=Object.getPrototypeOf(this).constructor,r=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(r,e.prototype),r};oe.prototype=Object.create(String.prototype,{constructor:{value:oe,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(oe,String);function sr(e,t,r){let n,o,s;if(typeof t==="undefined"&&typeof r==="undefined")n={},s=e;else if(n=e,typeof t==="function")return o=t,s=r,ir(n,o,s);else s=t;for(let c of Object.keys(s)){if(!Array.isArray(s[c])){n[c]=s[c];continue}st(n,null,s,c)}return n}var vs=(e,t)=>{const r={};for(let n in t)st(r,e,t,n);return r},ir=(e,t,r)=>{return sr(e,Object.entries(r).reduce((n,[o,s])=>{if(Array.isArray(s))n[o]=s;else if(typeof s==="function")n[o]=[t,s()];else n[o]=[t,s];return n},{}))},st=(e,t,r,n)=>{if(t!==null){let c=r[n];if(typeof c==="function")c=[,c];const[i=cr,d=ar,l=n]=c;if(typeof i==="function"&&i(t[l])||typeof i!=="function"&&!!i)e[n]=d(t[l]);return}let[o,s]=r[n];if(typeof s==="function"){let c;const i=o===void 0&&(c=s())!=null,d=typeof o==="function"&&!!o(void 0)||typeof o!=="function"&&!!o;if(i)e[n]=c;else if(d)e[n]=s()}else{const c=o===void 0&&s!=null,i=typeof o==="function"&&!!o(s)||typeof o!=="function"&&!!o;if(c||i)e[n]=s}},cr=(e)=>e!=null,ar=(e)=>e;var Hs=(e)=>e.toISOString().replace(".000Z","Z");var it=(e)=>{if(e==null)return{};if(Array.isArray(e))return e.filter((t)=>t!=null).map(it);if(typeof e==="object"){const t={};for(let r of Object.keys(e)){if(e[r]==null)continue;t[r]=it(e[r])}return t}return e};export{wr as A,xr as B,j as C,R as D,Ct as E,ct as F,Ae as G,I as H,v as I,B as J,M as K,zn as L,z as M,q as N,co as O,pe as P,Z as Q,Se as R,Oe as S,Fo as T,Bo as U,Yo as V,ts as W,ae as X,$n as Y,In as Z,ns as _,_ as $,Ve as aa,os as ba,ss as ca,is as da,cs as ea,as as fa,ls as ga,hs as ha,ps as ia,ms as ja,Ce as ka,$e as la,ws as ma,bs as na,Ts as oa,ks as pa,Ns as qa,or as ra,sr as sa,vs as ta,Hs as ua,it as va};