gemi 0.4.69 → 0.4.71

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 (763) 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/HttpReload.d.ts.map +1 -1
  19. package/dist/client/index.js +19 -5
  20. package/dist/server/index.js +1 -1
  21. package/dist/storage/index.js +1 -1
  22. package/dist/vite/{index-D9QWnghl.mjs → index-BbySvAwL.mjs} +3 -3
  23. package/dist/vite/index.mjs +1 -1
  24. package/dist/vite/{typescript-DADBvwYC.mjs → typescript-CeZcXBr-.mjs} +1 -1
  25. package/package.json +1 -1
  26. package/dist/app/App.test.d.ts +0 -20
  27. package/dist/app/App.test.d.ts.map +0 -1
  28. package/dist/app/createComponentTree.test.d.ts +0 -2
  29. package/dist/app/createComponentTree.test.d.ts.map +0 -1
  30. package/dist/app/createFlatApiRoutes.test.d.ts +0 -2
  31. package/dist/app/createFlatApiRoutes.test.d.ts.map +0 -1
  32. package/dist/app/createFlatViewRoutes.test.d.ts +0 -2
  33. package/dist/app/createFlatViewRoutes.test.d.ts.map +0 -1
  34. package/dist/app/createRouteManifest.test.d.ts +0 -2
  35. package/dist/app/createRouteManifest.test.d.ts.map +0 -1
  36. package/dist/chunk-00234eac874c2722.js +0 -2
  37. package/dist/chunk-00cb9f80352454dd.js +0 -1
  38. package/dist/chunk-00e9dad0734d9761.js +0 -2
  39. package/dist/chunk-00ecc27f03e2e84a.js +0 -2
  40. package/dist/chunk-00f16704831dd8b0.js +0 -2
  41. package/dist/chunk-01052ff9d1c07ef8.js +0 -2
  42. package/dist/chunk-0113570164c56f57.js +0 -2
  43. package/dist/chunk-0130e95410edb036.js +0 -18
  44. package/dist/chunk-01e07763e3e32710.js +0 -2
  45. package/dist/chunk-01e1579811beb424.js +0 -2
  46. package/dist/chunk-01ffccc19e8ef862.js +0 -3
  47. package/dist/chunk-02118fc60206588d.js +0 -2
  48. package/dist/chunk-0306d8fccec5104e.js +0 -2
  49. package/dist/chunk-030b4fb955329860.js +0 -16
  50. package/dist/chunk-03227f4a68e038f4.js +0 -2
  51. package/dist/chunk-03a72299591d45a7.js +0 -18
  52. package/dist/chunk-03c8e645c994d40a.js +0 -2
  53. package/dist/chunk-04aa62521338e3ab.js +0 -18
  54. package/dist/chunk-04d6b88ed6d3f076.js +0 -6
  55. package/dist/chunk-0557700bf68e85d4.js +0 -18
  56. package/dist/chunk-05fa767ab29abb0f.js +0 -2
  57. package/dist/chunk-061d95b15c00e38b.js +0 -9
  58. package/dist/chunk-069fcad61c8841dc.js +0 -1
  59. package/dist/chunk-06b83143607ebdc8.js +0 -6
  60. package/dist/chunk-06eebef7eb056baa.js +0 -2
  61. package/dist/chunk-073f5b81e98d91fe.js +0 -3
  62. package/dist/chunk-08539d08fa7362f7.js +0 -2
  63. package/dist/chunk-088b47e135832170.js +0 -1
  64. package/dist/chunk-088ed28ebed2b009.js +0 -5
  65. package/dist/chunk-08e9ab1091d7383e.js +0 -3
  66. package/dist/chunk-0909c7f6b64b8806.js +0 -2
  67. package/dist/chunk-095848ccb81718bf.js +0 -2
  68. package/dist/chunk-09dd89e1046786a5.js +0 -2
  69. package/dist/chunk-0a6614fbd65524af.js +0 -2
  70. package/dist/chunk-0a9ae42aae6f406e.js +0 -2
  71. package/dist/chunk-0b1b4e4e251ffe01.js +0 -2
  72. package/dist/chunk-0b46ec66d2c3d5f3.js +0 -2
  73. package/dist/chunk-0b5fb4e0c7de8316.js +0 -2
  74. package/dist/chunk-0b7a7410fce0b12e.js +0 -9
  75. package/dist/chunk-0b8dc3d1ff94a0fa.js +0 -6
  76. package/dist/chunk-0b99ba34351bde91.js +0 -3
  77. package/dist/chunk-0d0f764773c0f6b8.js +0 -2
  78. package/dist/chunk-0d8ab901365b9696.js +0 -2
  79. package/dist/chunk-0db33ac43bd1d504.js +0 -2
  80. package/dist/chunk-0de36a7e51fbd11b.js +0 -9
  81. package/dist/chunk-0e125593337a68aa.js +0 -18
  82. package/dist/chunk-0e3473f7e43f4876.js +0 -2
  83. package/dist/chunk-0e99fe5c976c8ea2.js +0 -6
  84. package/dist/chunk-0f8e80862546cbc5.js +0 -18
  85. package/dist/chunk-0ffc38ed09847e35.js +0 -2
  86. package/dist/chunk-1062b3156a49fabc.js +0 -2
  87. package/dist/chunk-1084614a350762fb.js +0 -2
  88. package/dist/chunk-10a623a23a65bb20.js +0 -18
  89. package/dist/chunk-1109657ed53fbdc9.js +0 -2
  90. package/dist/chunk-11323d7a5d9219ce.js +0 -2
  91. package/dist/chunk-1171d9afbbfe827b.js +0 -2
  92. package/dist/chunk-119ffcaf1c463b8d.js +0 -6
  93. package/dist/chunk-11a75566ff74db17.js +0 -6
  94. package/dist/chunk-11d1336f6de61f45.js +0 -16
  95. package/dist/chunk-11fb7f7f30378785.js +0 -2
  96. package/dist/chunk-12b4f44a2beae19b.js +0 -2
  97. package/dist/chunk-12ca7224eb6ccf72.js +0 -9
  98. package/dist/chunk-132c71db605759c9.js +0 -2
  99. package/dist/chunk-1334ee957ff9058c.js +0 -2
  100. package/dist/chunk-136896e8038083a1.js +0 -2
  101. package/dist/chunk-13801a8f811f0461.js +0 -2
  102. package/dist/chunk-13e45ce3460f6375.js +0 -2
  103. package/dist/chunk-14d5491e97673c7d.js +0 -2
  104. package/dist/chunk-14e60554a2e78f4a.js +0 -2
  105. package/dist/chunk-159f5b922269aef1.js +0 -2
  106. package/dist/chunk-15e9771e524c5726.js +0 -2
  107. package/dist/chunk-16a63b2fee0ce9e2.js +0 -2
  108. package/dist/chunk-16dbe3a15379140b.js +0 -2
  109. package/dist/chunk-176e5ded5ed33d4d.js +0 -2
  110. package/dist/chunk-1838696dc4e7a115.js +0 -2
  111. package/dist/chunk-1874b66d572fb0db.js +0 -6
  112. package/dist/chunk-1875b98b6a064557.js +0 -2
  113. package/dist/chunk-187a09f46e2b36e5.js +0 -2
  114. package/dist/chunk-18c32b54097c580e.js +0 -2
  115. package/dist/chunk-18d87123ae525263.js +0 -2
  116. package/dist/chunk-1900e90c372bb1d6.js +0 -2
  117. package/dist/chunk-1976eef63d2e56d5.js +0 -18
  118. package/dist/chunk-197fca66ec324ed9.js +0 -2
  119. package/dist/chunk-1ad1795e55abfdb5.js +0 -2
  120. package/dist/chunk-1b0afbf1baeeaa37.js +0 -2
  121. package/dist/chunk-1b71d04a15bfa432.js +0 -2
  122. package/dist/chunk-1b8acf308a3dc9ec.js +0 -1
  123. package/dist/chunk-1c439804a4c5f8e7.js +0 -18
  124. package/dist/chunk-1cc0d1072ee4a92b.js +0 -2
  125. package/dist/chunk-1d6e287ca9c14fef.js +0 -9
  126. package/dist/chunk-1efe790f8b4ad86d.js +0 -2
  127. package/dist/chunk-1fab30ab853c48cc.js +0 -2
  128. package/dist/chunk-2081b862587086df.js +0 -2
  129. package/dist/chunk-216cc6dcf17534ba.js +0 -2
  130. package/dist/chunk-21b1f7ac5f75cd26.js +0 -2
  131. package/dist/chunk-21e105fb2b3d36d7.js +0 -799
  132. package/dist/chunk-21fe96d1a3bb5a27.js +0 -2
  133. package/dist/chunk-223b0aac9e62386a.js +0 -2
  134. package/dist/chunk-226243dd851d2050.js +0 -2
  135. package/dist/chunk-22773aec8cc230c6.js +0 -6
  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-4b4ea80149bba4e6.js +0 -2
  241. package/dist/chunk-4bbeb47cc6137c49.js +0 -2
  242. package/dist/chunk-4cb19a9e82653084.js +0 -2
  243. package/dist/chunk-4cb5f3feff1a81c5.js +0 -2
  244. package/dist/chunk-4cc2463d985f6882.js +0 -9
  245. package/dist/chunk-4d19e16340534ed0.js +0 -2
  246. package/dist/chunk-4d46e390f99b97e0.js +0 -2
  247. package/dist/chunk-4d80485e7efb826f.js +0 -2
  248. package/dist/chunk-4e023976eb557258.js +0 -2
  249. package/dist/chunk-4e5485d3cfe9dc4e.js +0 -2
  250. package/dist/chunk-4e9167391dd0d15f.js +0 -2
  251. package/dist/chunk-4e9d5acfa5541d1b.js +0 -2
  252. package/dist/chunk-4eeee2f82b1fa8bb.js +0 -2
  253. package/dist/chunk-4f01c5a98726e704.js +0 -2
  254. package/dist/chunk-4f1b43f5232b3e65.js +0 -6
  255. package/dist/chunk-4f5b07a6a6fd5cc6.js +0 -2
  256. package/dist/chunk-4ffecff075e73d43.js +0 -2
  257. package/dist/chunk-50b440397d41ab5a.js +0 -2
  258. package/dist/chunk-50ea27a13eb62b5e.js +0 -2
  259. package/dist/chunk-5128de1a65ba6ce1.js +0 -2
  260. package/dist/chunk-514f8554fb446139.js +0 -9
  261. package/dist/chunk-515c26d532207095.js +0 -2
  262. package/dist/chunk-516c6b67d6e3d041.js +0 -18
  263. package/dist/chunk-5190b38f06507ee1.js +0 -18
  264. package/dist/chunk-51bad63147c3be4e.js +0 -6
  265. package/dist/chunk-51c21d2a3c45fbe1.js +0 -2
  266. package/dist/chunk-51e930ef29de215b.js +0 -1
  267. package/dist/chunk-51ee928673a12486.js +0 -2
  268. package/dist/chunk-521750cca5e03c65.js +0 -2
  269. package/dist/chunk-5290ecaf429d5a61.js +0 -2
  270. package/dist/chunk-52e76204b898931e.js +0 -18
  271. package/dist/chunk-53b7d6267c9172bc.js +0 -2
  272. package/dist/chunk-53c39aca36ece018.js +0 -2
  273. package/dist/chunk-543013123141745c.js +0 -2
  274. package/dist/chunk-54c03438ff1f41e5.js +0 -2
  275. package/dist/chunk-552bdaee8c03e091.js +0 -9
  276. package/dist/chunk-55f76d4f6116f296.js +0 -9
  277. package/dist/chunk-5656abf3151c8fa2.js +0 -2
  278. package/dist/chunk-56f6f8c2162dcf1c.js +0 -2
  279. package/dist/chunk-57a61e580c4adf80.js +0 -2
  280. package/dist/chunk-581e0d46235dbf7c.js +0 -2
  281. package/dist/chunk-584e33c96b1a78e4.js +0 -2
  282. package/dist/chunk-5852c4da08af607f.js +0 -2
  283. package/dist/chunk-589f4b330dd6d32e.js +0 -2
  284. package/dist/chunk-590bd43a75f48606.js +0 -18
  285. package/dist/chunk-590cd512f9e72880.js +0 -18
  286. package/dist/chunk-596024c880387c2f.js +0 -2
  287. package/dist/chunk-597d5c6772b14a85.js +0 -9
  288. package/dist/chunk-59980167a4c574b3.js +0 -2
  289. package/dist/chunk-59da8b8ab8add738.js +0 -16
  290. package/dist/chunk-59e951812cb019e6.js +0 -2
  291. package/dist/chunk-59fe590e19085858.js +0 -18
  292. package/dist/chunk-5a2d89fce13094a9.js +0 -2
  293. package/dist/chunk-5a66922d5981afc8.js +0 -18
  294. package/dist/chunk-5a75eae6c32c2ba3.js +0 -2
  295. package/dist/chunk-5a9fa677066f72ac.js +0 -2
  296. package/dist/chunk-5b54843712abde58.js +0 -2
  297. package/dist/chunk-5b836c769c5dad2a.js +0 -2
  298. package/dist/chunk-5c2a5156f6bef0f5.js +0 -2
  299. package/dist/chunk-5c3681fb029d7588.js +0 -1
  300. package/dist/chunk-5cd0a98345a5d57a.js +0 -2
  301. package/dist/chunk-5d3431e9686096af.js +0 -18
  302. package/dist/chunk-5d51afe60efaf99e.js +0 -2
  303. package/dist/chunk-5d86d49d66db1c22.js +0 -2
  304. package/dist/chunk-5defd55c3c97bdb2.js +0 -2
  305. package/dist/chunk-5e13846c554dc272.js +0 -2
  306. package/dist/chunk-5fb9d31b7b4629e9.js +0 -1
  307. package/dist/chunk-5fbde192153a2a50.js +0 -2
  308. package/dist/chunk-5fd67245740e3908.js +0 -9
  309. package/dist/chunk-6003411eae26f246.js +0 -3
  310. package/dist/chunk-60d70dcbf4e79276.js +0 -2
  311. package/dist/chunk-60f3b8242209ac3e.js +0 -18
  312. package/dist/chunk-61973614facb50a8.js +0 -2
  313. package/dist/chunk-61abf77c3eee8698.js +0 -2
  314. package/dist/chunk-61fc22887a7be6f9.js +0 -3
  315. package/dist/chunk-62144f9c5008bd47.js +0 -1
  316. package/dist/chunk-625025af819f55f5.js +0 -2
  317. package/dist/chunk-6259cd13f53334df.js +0 -2
  318. package/dist/chunk-62b2777c629d5157.js +0 -2
  319. package/dist/chunk-62c0f9a87ad8a46b.js +0 -2
  320. package/dist/chunk-634c80cac76d9080.js +0 -18
  321. package/dist/chunk-63ad0436d3d896b5.js +0 -3
  322. package/dist/chunk-63c5605bcce508ea.js +0 -1
  323. package/dist/chunk-640e4bdae1671873.js +0 -1
  324. package/dist/chunk-648dff766091372e.js +0 -2
  325. package/dist/chunk-64a5b833cef67725.js +0 -2
  326. package/dist/chunk-64c89cee4d4bd9a9.js +0 -2
  327. package/dist/chunk-65626c3d72d4e071.js +0 -2
  328. package/dist/chunk-65c413665a7cf876.js +0 -2
  329. package/dist/chunk-6605e290c4de1f0e.js +0 -6
  330. package/dist/chunk-66ab377654806d08.js +0 -2
  331. package/dist/chunk-670d2c924e80cb33.js +0 -3
  332. package/dist/chunk-67351e678a7ccc10.js +0 -2
  333. package/dist/chunk-6766e66417809e1a.js +0 -2
  334. package/dist/chunk-6821bb0ff6ed2452.js +0 -18
  335. package/dist/chunk-682b01231754a121.js +0 -2
  336. package/dist/chunk-68af0a6f6be163ce.js +0 -2
  337. package/dist/chunk-6921ba2fa2e1adea.js +0 -2
  338. package/dist/chunk-6943b50bd0a3ac84.js +0 -1
  339. package/dist/chunk-699957e6eb705a81.js +0 -2
  340. package/dist/chunk-69ff5047661fe699.js +0 -2
  341. package/dist/chunk-6a28d299b5726bba.js +0 -2
  342. package/dist/chunk-6ac91c66919b5ddd.js +0 -2
  343. package/dist/chunk-6afe097e13ebdf55.js +0 -2
  344. package/dist/chunk-6c345dba15e1c3f2.js +0 -2
  345. package/dist/chunk-6c461d293fa213f1.js +0 -2
  346. package/dist/chunk-6caabea5fcbc9cf7.js +0 -2
  347. package/dist/chunk-6d04c1ccb3ca8c74.js +0 -1
  348. package/dist/chunk-6e06660ab4e9d4da.js +0 -6
  349. package/dist/chunk-6e415d0e12fc9539.js +0 -1
  350. package/dist/chunk-6f78f2a54491595d.js +0 -2
  351. package/dist/chunk-700835a3a709b370.js +0 -2
  352. package/dist/chunk-70bb003c03f21dad.js +0 -2
  353. package/dist/chunk-711f86b9d50d45fe.js +0 -18
  354. package/dist/chunk-71820a3186a38543.js +0 -6
  355. package/dist/chunk-7195a8718fcd8215.js +0 -1
  356. package/dist/chunk-722f2aeae58daaa3.js +0 -18
  357. package/dist/chunk-72821f055108528e.js +0 -2
  358. package/dist/chunk-72add10919c9d7ae.js +0 -2
  359. package/dist/chunk-731f30522682483a.js +0 -2
  360. package/dist/chunk-733513f9c9e8b50f.js +0 -2
  361. package/dist/chunk-733688c7851fffd1.js +0 -2
  362. package/dist/chunk-7336bd3f3b799e3e.js +0 -1
  363. package/dist/chunk-7399f06d840a1449.js +0 -2
  364. package/dist/chunk-73c97da8ac4f1d30.js +0 -1
  365. package/dist/chunk-73c9d39f58a30fe2.js +0 -6
  366. package/dist/chunk-73eed146ee78f681.js +0 -1
  367. package/dist/chunk-73fb3bb4d001bb2e.js +0 -1
  368. package/dist/chunk-7431d60af8814bc8.js +0 -2
  369. package/dist/chunk-74802f454b9972eb.js +0 -2
  370. package/dist/chunk-74ab9c225bfe0eaa.js +0 -2
  371. package/dist/chunk-74db07ba7b97d1c1.js +0 -2
  372. package/dist/chunk-76a525af0575486d.js +0 -5
  373. package/dist/chunk-76db0552d2492ee7.js +0 -3
  374. package/dist/chunk-774337ca540a856d.js +0 -2
  375. package/dist/chunk-77c89e3c8a03f91e.js +0 -2
  376. package/dist/chunk-77d1b26236f5feec.js +0 -2
  377. package/dist/chunk-77d5bbc7a9117c21.js +0 -2
  378. package/dist/chunk-782dde0748025b5a.js +0 -2
  379. package/dist/chunk-78534576cf359780.js +0 -2
  380. package/dist/chunk-7898dd7609f163e8.js +0 -2
  381. package/dist/chunk-78ab7bcbe6104c5f.js +0 -2
  382. package/dist/chunk-78d6df0054754d5d.js +0 -2
  383. package/dist/chunk-795a1bd1d89efce1.js +0 -2
  384. package/dist/chunk-797430f55303e6b5.js +0 -2
  385. package/dist/chunk-7975e27df461cbfb.js +0 -6
  386. package/dist/chunk-798f550643937b6d.js +0 -2
  387. package/dist/chunk-79b438007611560a.js +0 -2
  388. package/dist/chunk-79f7d7d90c4fb51a.js +0 -2
  389. package/dist/chunk-7a318e738fec6c2b.js +0 -3
  390. package/dist/chunk-7aa7f7e219919c4d.js +0 -2
  391. package/dist/chunk-7abc696047809312.js +0 -6
  392. package/dist/chunk-7afdc0ba5afe109a.js +0 -21
  393. package/dist/chunk-7b3bbc8a88aee78c.js +0 -1
  394. package/dist/chunk-7b8e777f7353b492.js +0 -2
  395. package/dist/chunk-7c0fd956d14fc327.js +0 -2
  396. package/dist/chunk-7c62e9d6edc4b418.js +0 -2
  397. package/dist/chunk-7c670baec90faacb.js +0 -2
  398. package/dist/chunk-7d7b2c1f2a8dd018.js +0 -6
  399. package/dist/chunk-7de7f34d46c76019.js +0 -18
  400. package/dist/chunk-7dfb17814922ade0.js +0 -2
  401. package/dist/chunk-7e9d5eea3aa359ad.js +0 -2
  402. package/dist/chunk-7ea1baca4032004f.js +0 -2
  403. package/dist/chunk-7eb54149dff25532.js +0 -2
  404. package/dist/chunk-7ec30fbbbdf89272.js +0 -2
  405. package/dist/chunk-7fadaab2fa180ca9.js +0 -6
  406. package/dist/chunk-7fef11f59982b1f6.js +0 -2
  407. package/dist/chunk-7ffe2ce59a054e35.js +0 -2
  408. package/dist/chunk-80b17f9853d76e98.js +0 -2
  409. package/dist/chunk-8133ed564834cff3.js +0 -2
  410. package/dist/chunk-8163d4f4c2c91caf.js +0 -2
  411. package/dist/chunk-817aad76d1e8eecc.js +0 -6
  412. package/dist/chunk-81938d68b172446d.js +0 -2
  413. package/dist/chunk-81a00ae1b3ea4824.js +0 -2
  414. package/dist/chunk-81ce9b491b290639.js +0 -1
  415. package/dist/chunk-81f5123a24c19089.js +0 -2
  416. package/dist/chunk-827d2c67c03d1a52.js +0 -2
  417. package/dist/chunk-8295e42bcfc910ff.js +0 -16
  418. package/dist/chunk-82f72dfc6e27be04.js +0 -1
  419. package/dist/chunk-8401f0f53dc26633.js +0 -1
  420. package/dist/chunk-8450a38607a86896.js +0 -2
  421. package/dist/chunk-847629c9a7550cc3.js +0 -2
  422. package/dist/chunk-84b129a5185ac24d.js +0 -2
  423. package/dist/chunk-84c7f86a97d17f53.js +0 -2
  424. package/dist/chunk-84f1b068dc7fc8b7.js +0 -2
  425. package/dist/chunk-8581aa9e876d46fb.js +0 -2
  426. package/dist/chunk-85a1f8fb96fd9473.js +0 -2
  427. package/dist/chunk-85d5e5d7ff832255.js +0 -2
  428. package/dist/chunk-860f5fcef7074193.js +0 -9
  429. package/dist/chunk-869d80d2e475b938.js +0 -3
  430. package/dist/chunk-880273a32da461fd.js +0 -9
  431. package/dist/chunk-88103b9d011960db.js +0 -5
  432. package/dist/chunk-89187bbdf6945131.js +0 -2
  433. package/dist/chunk-89291b5eb2bbd0b4.js +0 -2
  434. package/dist/chunk-895d9b1ef7a65211.js +0 -2
  435. package/dist/chunk-897773d66a89947a.js +0 -2
  436. package/dist/chunk-89c6080d4a693ddf.js +0 -2
  437. package/dist/chunk-8a993922ea970923.js +0 -2
  438. package/dist/chunk-8aa3e0e20e411d11.js +0 -2
  439. package/dist/chunk-8af626a703659719.js +0 -18
  440. package/dist/chunk-8b3d411f441a43ce.js +0 -2
  441. package/dist/chunk-8b40d6a498f8bf81.js +0 -2
  442. package/dist/chunk-8b944ecefa1b832c.js +0 -18
  443. package/dist/chunk-8bb91c504b9ca45e.js +0 -2
  444. package/dist/chunk-8bf925705fdcef0c.js +0 -2
  445. package/dist/chunk-8c2b349a7198788f.js +0 -6
  446. package/dist/chunk-8c3e0f5d4a0d6e53.js +0 -2
  447. package/dist/chunk-8c8c8fd3646b76a1.js +0 -2
  448. package/dist/chunk-8caa0abe673f5d41.js +0 -2
  449. package/dist/chunk-8d8666b73758171e.js +0 -2
  450. package/dist/chunk-8e72aa06d4e47eca.js +0 -2
  451. package/dist/chunk-8ef8222b34d8f63f.js +0 -2
  452. package/dist/chunk-8f24cd33e07d02f3.js +0 -2
  453. package/dist/chunk-8f547b919361fdf4.js +0 -2
  454. package/dist/chunk-8f986f307ff91bd3.js +0 -2
  455. package/dist/chunk-901e700a2c2d43f3.js +0 -18
  456. package/dist/chunk-90c5196ff1f827a8.js +0 -2
  457. package/dist/chunk-9113f22a5215c639.js +0 -3
  458. package/dist/chunk-915c050c94553981.js +0 -2
  459. package/dist/chunk-9238196d4889d660.js +0 -1
  460. package/dist/chunk-92a55add20b5d7ac.js +0 -9
  461. package/dist/chunk-92f6095a3be7f459.js +0 -1
  462. package/dist/chunk-9326224d1e4c1a64.js +0 -2
  463. package/dist/chunk-933845e73519b4c5.js +0 -2
  464. package/dist/chunk-934ebff128f86ef1.js +0 -1
  465. package/dist/chunk-9350baa090b5a424.js +0 -2
  466. package/dist/chunk-938fed005335132e.js +0 -9
  467. package/dist/chunk-93b6f53456c1251b.js +0 -2
  468. package/dist/chunk-94578320d28e33ad.js +0 -2
  469. package/dist/chunk-9501e589e3e86a96.js +0 -2
  470. package/dist/chunk-955e2bfcdb7a7e71.js +0 -2
  471. package/dist/chunk-96b635a3bdba7415.js +0 -2
  472. package/dist/chunk-970e033f764e29fc.js +0 -19
  473. package/dist/chunk-98126e4b5bd19831.js +0 -2
  474. package/dist/chunk-9938e9a4fe25dda5.js +0 -2
  475. package/dist/chunk-99ba9dfd7c11383b.js +0 -18
  476. package/dist/chunk-9a622a10e7764b23.js +0 -2
  477. package/dist/chunk-9b5649697d59dfb4.js +0 -2
  478. package/dist/chunk-9bd00e182ac2f8a6.js +0 -6
  479. package/dist/chunk-9bd90ecd4ddde546.js +0 -18
  480. package/dist/chunk-9c3b4dd1591053c5.js +0 -18
  481. package/dist/chunk-9c4a4b4bd266869d.js +0 -2
  482. package/dist/chunk-9d069ba29a122630.js +0 -1
  483. package/dist/chunk-9d1337fc9976354d.js +0 -2
  484. package/dist/chunk-9d2777df26b445e4.js +0 -2
  485. package/dist/chunk-9d2af1a704b857ee.js +0 -2
  486. package/dist/chunk-9d6cc631cdabbe35.js +0 -9
  487. package/dist/chunk-9d714f87e4e3e250.js +0 -18
  488. package/dist/chunk-9ee2118bd4eb34ae.js +0 -9
  489. package/dist/chunk-9f6199bc705fc395.js +0 -18
  490. package/dist/chunk-a0003b7feea6fae6.js +0 -2
  491. package/dist/chunk-a004fce37a0f5a65.js +0 -2
  492. package/dist/chunk-a02b2d564bdb603d.js +0 -6
  493. package/dist/chunk-a095821ffc039b99.js +0 -18
  494. package/dist/chunk-a10ae1a06a28aaab.js +0 -2
  495. package/dist/chunk-a13ab30c392c3563.js +0 -9
  496. package/dist/chunk-a14516ac5e6f78aa.js +0 -1
  497. package/dist/chunk-a14b8af8b2a8d0b0.js +0 -2
  498. package/dist/chunk-a210ec2b987fa5f7.js +0 -2
  499. package/dist/chunk-a2fcc46e344ae7ae.js +0 -2
  500. package/dist/chunk-a3526e321ac9d173.js +0 -1
  501. package/dist/chunk-a3f85d0d3261ae44.js +0 -9
  502. package/dist/chunk-a4862acc0c3fed7d.js +0 -6
  503. package/dist/chunk-a50b9cd348c3e882.js +0 -9
  504. package/dist/chunk-a57ecc74c0fb9045.js +0 -2
  505. package/dist/chunk-a5c18c07abe8fd9c.js +0 -2
  506. package/dist/chunk-a63e13c410e92923.js +0 -2
  507. package/dist/chunk-a693f8ec2e8af8ca.js +0 -2
  508. package/dist/chunk-a719a1f305964521.js +0 -2
  509. package/dist/chunk-a7a144f5e4772c35.js +0 -2
  510. package/dist/chunk-a7f3e9d5b7cf7c42.js +0 -2
  511. package/dist/chunk-a816613f5321b9db.js +0 -1
  512. package/dist/chunk-a8310ad9bad32329.js +0 -2
  513. package/dist/chunk-a885dc5561caa8e0.js +0 -3
  514. package/dist/chunk-a88c3919c74b7877.js +0 -18
  515. package/dist/chunk-a9625dd807cb668e.js +0 -2
  516. package/dist/chunk-a991fdce275f1256.js +0 -2
  517. package/dist/chunk-aa1b1fb08828cb24.js +0 -2
  518. package/dist/chunk-aad7af5112f0f4f2.js +0 -2
  519. package/dist/chunk-aaf5855c5199efe9.js +0 -2
  520. package/dist/chunk-aaf70ff16705d558.js +0 -2
  521. package/dist/chunk-aafdd9bfb5bde8bf.js +0 -2
  522. package/dist/chunk-ab0c3f72f95cb4f4.js +0 -3
  523. package/dist/chunk-ab79a2f0d89fbeae.js +0 -1
  524. package/dist/chunk-ab7b6ceb26aca9b1.js +0 -3
  525. package/dist/chunk-abb2f588bd34adff.js +0 -2
  526. package/dist/chunk-abd0b68c299eebfc.js +0 -2
  527. package/dist/chunk-ac32b3d9dda47756.js +0 -9
  528. package/dist/chunk-acd4530b2ff92aff.js +0 -18
  529. package/dist/chunk-ad656a60ce7912bb.js +0 -2
  530. package/dist/chunk-ad8e7de66d8bf8c5.js +0 -2
  531. package/dist/chunk-adb4e1e222eb1d20.js +0 -2
  532. package/dist/chunk-ae373c8ae2d526ae.js +0 -18
  533. package/dist/chunk-ae50ef54d7de9179.js +0 -2
  534. package/dist/chunk-ae7b1bdf00266d88.js +0 -2
  535. package/dist/chunk-aef3f1c1429e6058.js +0 -2
  536. package/dist/chunk-af6b79a6ce7388ee.js +0 -18
  537. package/dist/chunk-afbf69daa7589a52.js +0 -2
  538. package/dist/chunk-b009482e01114059.js +0 -3
  539. package/dist/chunk-b031077f0a783b82.js +0 -2
  540. package/dist/chunk-b05cb7ef4546980d.js +0 -2
  541. package/dist/chunk-b05e4833f4bb2f8f.js +0 -9
  542. package/dist/chunk-b06168e5d3080486.js +0 -1
  543. package/dist/chunk-b07249c949a284d2.js +0 -16
  544. package/dist/chunk-b0cc82fa84d5362d.js +0 -2
  545. package/dist/chunk-b0f453845cad4e6e.js +0 -2
  546. package/dist/chunk-b13cfa16a8a18324.js +0 -3
  547. package/dist/chunk-b1918e88103a8501.js +0 -2
  548. package/dist/chunk-b2bc43f60314d1a9.js +0 -2
  549. package/dist/chunk-b2d07c19a78dc397.js +0 -2
  550. package/dist/chunk-b3bfe533d66f6a17.js +0 -2
  551. package/dist/chunk-b3e27ec4b56a20ac.js +0 -2
  552. package/dist/chunk-b558c43783464f1b.js +0 -2
  553. package/dist/chunk-b5d6eb761760b2a7.js +0 -6
  554. package/dist/chunk-b66a9e50afbac035.js +0 -9
  555. package/dist/chunk-b7b365f7e6038104.js +0 -2
  556. package/dist/chunk-b7c4dc1136fcaeb7.js +0 -2
  557. package/dist/chunk-b7da6c96acf0478f.js +0 -18
  558. package/dist/chunk-b7f9e29074a9f36a.js +0 -2
  559. package/dist/chunk-b80a86610158cbfd.js +0 -1
  560. package/dist/chunk-b855e71b162ce5a2.js +0 -2
  561. package/dist/chunk-b8d3d76e1dd9affe.js +0 -2
  562. package/dist/chunk-b97189ea9588db36.js +0 -9
  563. package/dist/chunk-b9cba2a8bd5bcd3e.js +0 -2
  564. package/dist/chunk-b9e4546aaa58319c.js +0 -2
  565. package/dist/chunk-b9f4c1fce7152fc8.js +0 -9
  566. package/dist/chunk-ba051a98cd651063.js +0 -1
  567. package/dist/chunk-bb72c8820407f3a6.js +0 -2
  568. package/dist/chunk-bbd36ce62b950ee5.js +0 -2
  569. package/dist/chunk-bbdd098f2a2cd820.js +0 -18
  570. package/dist/chunk-bcd70a6fc2fd359c.js +0 -1
  571. package/dist/chunk-bd2888a454e50cfd.js +0 -1
  572. package/dist/chunk-bd52b3f25b928eb1.js +0 -2
  573. package/dist/chunk-bdc34785363e3f34.js +0 -2
  574. package/dist/chunk-bdf4f2b1862899bb.js +0 -2
  575. package/dist/chunk-be095501304df604.js +0 -9
  576. package/dist/chunk-beca91bf7cc216cd.js +0 -2
  577. package/dist/chunk-bee6075c5738d87a.js +0 -2
  578. package/dist/chunk-bf14cc3e71fcd2d8.js +0 -2
  579. package/dist/chunk-bf4fa1d9864332a8.js +0 -2
  580. package/dist/chunk-bf92f3127474b56a.js +0 -3
  581. package/dist/chunk-bfccfb070c1630e9.js +0 -2
  582. package/dist/chunk-bffb8d677e1424a9.js +0 -6
  583. package/dist/chunk-c041f058dc3d571b.js +0 -1
  584. package/dist/chunk-c0bd8e19395d722b.js +0 -2
  585. package/dist/chunk-c124bf801cec12d9.js +0 -2
  586. package/dist/chunk-c153b192112b0d44.js +0 -2
  587. package/dist/chunk-c1813278ccdc04b8.js +0 -2
  588. package/dist/chunk-c210f6ae6276ebe8.js +0 -1
  589. package/dist/chunk-c29701ffef4ca07a.js +0 -2
  590. package/dist/chunk-c2d1f66cf8468e71.js +0 -1
  591. package/dist/chunk-c2fe378a1764eb92.js +0 -2
  592. package/dist/chunk-c3e4a396dc7a5fe7.js +0 -2
  593. package/dist/chunk-c3eaa877d3aab9db.js +0 -18
  594. package/dist/chunk-c45e1427f48008f0.js +0 -2
  595. package/dist/chunk-c4f342e09d9b2f23.js +0 -2
  596. package/dist/chunk-c50ff3cf3c78af79.js +0 -2
  597. package/dist/chunk-c609d06153ed09ce.js +0 -2
  598. package/dist/chunk-c62b5c4cec67029c.js +0 -1
  599. package/dist/chunk-c675395110f371b1.js +0 -6
  600. package/dist/chunk-c675f193d459818e.js +0 -2
  601. package/dist/chunk-c6846df9c8456b20.js +0 -3
  602. package/dist/chunk-c6d988f5928a4df1.js +0 -2
  603. package/dist/chunk-c72bfaa252a03f6f.js +0 -2
  604. package/dist/chunk-c7b024c7bd4cffc9.js +0 -3
  605. package/dist/chunk-c7e2acfd5087fb30.js +0 -2
  606. package/dist/chunk-c83b39b7178003da.js +0 -2
  607. package/dist/chunk-c85fc7168a708cb6.js +0 -3
  608. package/dist/chunk-c8631aa6bbb62e13.js +0 -2
  609. package/dist/chunk-c864ab57913d658f.js +0 -1
  610. package/dist/chunk-c882d0c175c22c17.js +0 -2
  611. package/dist/chunk-c8b00b645df96ed5.js +0 -2
  612. package/dist/chunk-c8f1115d77efc1c0.js +0 -2
  613. package/dist/chunk-c9707ae8f1d346ff.js +0 -3
  614. package/dist/chunk-c99b8c3d6bda27b0.js +0 -2
  615. package/dist/chunk-cb65fe402653c65e.js +0 -2
  616. package/dist/chunk-cb69e9621a60d310.js +0 -1
  617. package/dist/chunk-cca1f3ae7ec0dee1.js +0 -2
  618. package/dist/chunk-ccb551ce4fd177fe.js +0 -2
  619. package/dist/chunk-cce7de7e81895807.js +0 -2
  620. package/dist/chunk-ccfd101ce72e80bf.js +0 -1
  621. package/dist/chunk-cd1636884486d7b3.js +0 -1
  622. package/dist/chunk-cdfa2adeddc1a8e1.js +0 -2
  623. package/dist/chunk-ceb94e70091088e5.js +0 -2
  624. package/dist/chunk-cf3d1744ea801f48.js +0 -6
  625. package/dist/chunk-cf7dde2ab1be3a3c.js +0 -1
  626. package/dist/chunk-cf8b1c7a4e9fc32d.js +0 -18
  627. package/dist/chunk-cfa9a65fae5ddaf4.js +0 -2
  628. package/dist/chunk-d0757747d9cc2e47.js +0 -2
  629. package/dist/chunk-d0806df6defd9dce.js +0 -2
  630. package/dist/chunk-d12b578765686adb.js +0 -6
  631. package/dist/chunk-d16ef78d852a6856.js +0 -1
  632. package/dist/chunk-d22136d39cf8465f.js +0 -2
  633. package/dist/chunk-d26ffb7722e6df54.js +0 -1
  634. package/dist/chunk-d27588325ae2c0f3.js +0 -2
  635. package/dist/chunk-d2e057b6f3f9d500.js +0 -2
  636. package/dist/chunk-d3033805e98482dc.js +0 -6
  637. package/dist/chunk-d33a0e61ccf1bab5.js +0 -2
  638. package/dist/chunk-d3765f96a689a0c1.js +0 -2
  639. package/dist/chunk-d37757ffee07b05f.js +0 -6
  640. package/dist/chunk-d3b4a3c778c23705.js +0 -2
  641. package/dist/chunk-d3e039d010842a3f.js +0 -2
  642. package/dist/chunk-d43b3f444e738dd1.js +0 -1
  643. package/dist/chunk-d445af84de70bf7e.js +0 -2
  644. package/dist/chunk-d535b1e3078465f8.js +0 -2
  645. package/dist/chunk-d54843c1d8516c75.js +0 -2
  646. package/dist/chunk-d5709251a0493152.js +0 -6
  647. package/dist/chunk-d5ddfacbfc84a47d.js +0 -6
  648. package/dist/chunk-d665d3ee2a62d48b.js +0 -2
  649. package/dist/chunk-d7457cb6aae3b29b.js +0 -2
  650. package/dist/chunk-d850d83873a89e2b.js +0 -18
  651. package/dist/chunk-d93a6531661d56b5.js +0 -9
  652. package/dist/chunk-d93cbffc712a052f.js +0 -2
  653. package/dist/chunk-d950bbcb684a11ef.js +0 -2
  654. package/dist/chunk-d9577d79d4b718a6.js +0 -2
  655. package/dist/chunk-d9762bab5df03532.js +0 -2
  656. package/dist/chunk-d9968563c6c84405.js +0 -3
  657. package/dist/chunk-d9a84b9122601b72.js +0 -2
  658. package/dist/chunk-da1c673d9685624e.js +0 -2
  659. package/dist/chunk-dab2dde8cc9da99b.js +0 -9
  660. package/dist/chunk-dac0e2ef13060d02.js +0 -1
  661. package/dist/chunk-dac9276e506d125d.js +0 -2
  662. package/dist/chunk-dad55fcc32d05b69.js +0 -2
  663. package/dist/chunk-db2270bbca7854fe.js +0 -2
  664. package/dist/chunk-db65c75cda396f98.js +0 -2
  665. package/dist/chunk-dba84b47adec2108.js +0 -2
  666. package/dist/chunk-dc23bfb4fd92e2f0.js +0 -2
  667. package/dist/chunk-dc7b0cf226ba3afa.js +0 -2
  668. package/dist/chunk-dcc432bd72fb7e46.js +0 -3
  669. package/dist/chunk-dd211856e049a67f.js +0 -9
  670. package/dist/chunk-dd21f367f8029793.js +0 -2
  671. package/dist/chunk-dd8b042837b4d5f1.js +0 -2
  672. package/dist/chunk-ddef8961cbf08a05.js +0 -6
  673. package/dist/chunk-de0784c3310db458.js +0 -5
  674. package/dist/chunk-de39fc86bbd37240.js +0 -1
  675. package/dist/chunk-de3ec02f9d17c2c9.js +0 -2
  676. package/dist/chunk-def30dbcb4c6aceb.js +0 -2
  677. package/dist/chunk-df55f07f8adf212f.js +0 -2
  678. package/dist/chunk-df926b342440f55f.js +0 -5
  679. package/dist/chunk-dfadfa4e09b4db22.js +0 -2
  680. package/dist/chunk-dfc390f0bbdf5a81.js +0 -1
  681. package/dist/chunk-e05db2eae976681b.js +0 -3
  682. package/dist/chunk-e06fbc8e70a88f07.js +0 -2
  683. package/dist/chunk-e0a028ef931a3eb1.js +0 -18
  684. package/dist/chunk-e0e0f2ee626a6fb3.js +0 -18
  685. package/dist/chunk-e0ffb920c65ebf44.js +0 -2
  686. package/dist/chunk-e11c7f3abcf2269f.js +0 -2
  687. package/dist/chunk-e16b252158474b8c.js +0 -1
  688. package/dist/chunk-e19064e9f1d5faed.js +0 -2
  689. package/dist/chunk-e1a08bb52ee7ea09.js +0 -2
  690. package/dist/chunk-e1e84c38542d78ec.js +0 -2
  691. package/dist/chunk-e33c33445a92adf1.js +0 -1
  692. package/dist/chunk-e3acd3561fe1342c.js +0 -18
  693. package/dist/chunk-e3e996b3821027e1.js +0 -2
  694. package/dist/chunk-e3ef81776c8f2d28.js +0 -2
  695. package/dist/chunk-e4869466459233fa.js +0 -16
  696. package/dist/chunk-e4f28182cf5f6e1d.js +0 -2
  697. package/dist/chunk-e53fdd0a1888c5e8.js +0 -2
  698. package/dist/chunk-e5a95230e0858544.js +0 -3
  699. package/dist/chunk-e64d5a7b7e0fa2c5.js +0 -6
  700. package/dist/chunk-e755f2c1c7ad3912.js +0 -2
  701. package/dist/chunk-e8159722d49ad044.js +0 -2
  702. package/dist/chunk-e86269d01f94404c.js +0 -2
  703. package/dist/chunk-e9275fb341d2cdd9.js +0 -2
  704. package/dist/chunk-e9c96f9b825f8de7.js +0 -2
  705. package/dist/chunk-ea9b86cf2edd807b.js +0 -18
  706. package/dist/chunk-ec24a0767aa58f1f.js +0 -18
  707. package/dist/chunk-ed21fb7d8c4b675e.js +0 -3
  708. package/dist/chunk-ed589d4e4c575de7.js +0 -2
  709. package/dist/chunk-edba144b170cd87e.js +0 -6
  710. package/dist/chunk-edeefd833c30a5ed.js +0 -2
  711. package/dist/chunk-ee35048642cfe9d8.js +0 -2
  712. package/dist/chunk-ee4ff285d7f4ccdf.js +0 -2
  713. package/dist/chunk-ee604d0215ea07e6.js +0 -1
  714. package/dist/chunk-ee92e80230ce02ec.js +0 -2
  715. package/dist/chunk-eea1d6f60a6875d5.js +0 -2
  716. package/dist/chunk-eeb3b193701aec43.js +0 -1
  717. package/dist/chunk-ef1ebd10affe5726.js +0 -2
  718. package/dist/chunk-ef30aafcfd40dc07.js +0 -2
  719. package/dist/chunk-f077321ef55ea627.js +0 -1
  720. package/dist/chunk-f08ca4bd263b132b.js +0 -2
  721. package/dist/chunk-f0d3ed16a520ecf1.js +0 -18
  722. package/dist/chunk-f117757df00aa18d.js +0 -2
  723. package/dist/chunk-f13fd46441a58606.js +0 -2
  724. package/dist/chunk-f1ac22ad55dbab7a.js +0 -9
  725. package/dist/chunk-f1dfc76a05462dde.js +0 -2
  726. package/dist/chunk-f1e28c4c1a227c27.js +0 -2
  727. package/dist/chunk-f2428c56f532e719.js +0 -3
  728. package/dist/chunk-f256432c3e5819d0.js +0 -2
  729. package/dist/chunk-f2dca6305fcba70b.js +0 -2
  730. package/dist/chunk-f316793e4ec0f386.js +0 -2
  731. package/dist/chunk-f32726d374c6bee5.js +0 -1
  732. package/dist/chunk-f34a78d9e3a62c43.js +0 -3
  733. package/dist/chunk-f404a785b581d029.js +0 -2
  734. package/dist/chunk-f5910f2c8a3f6974.js +0 -2
  735. package/dist/chunk-f5a4295176f9b1c1.js +0 -2
  736. package/dist/chunk-f5b888aa9ac4e20f.js +0 -2
  737. package/dist/chunk-f5e313cc7d724fbe.js +0 -2
  738. package/dist/chunk-f67aa3e46d73674e.js +0 -2
  739. package/dist/chunk-f69bcbd7998553cb.js +0 -2
  740. package/dist/chunk-f74928c3f9ae5359.js +0 -2
  741. package/dist/chunk-f7796c3724a35057.js +0 -2
  742. package/dist/chunk-f84049d82d29bd9e.js +0 -2
  743. package/dist/chunk-f868cdf653dbe87e.js +0 -2
  744. package/dist/chunk-f8823a1ede83155e.js +0 -2
  745. package/dist/chunk-f8ad65b3a07ce3c4.js +0 -6
  746. package/dist/chunk-f900b5868b14827e.js +0 -2
  747. package/dist/chunk-f9084650419a23c4.js +0 -2
  748. package/dist/chunk-f95f5e3439539ca5.js +0 -2
  749. package/dist/chunk-f99bdfc336b2ac57.js +0 -9
  750. package/dist/chunk-f9a17b871b527bff.js +0 -2
  751. package/dist/chunk-f9e6a0a946ebb032.js +0 -2
  752. package/dist/chunk-fa40971555060604.js +0 -81
  753. package/dist/chunk-fa6bdfb32d2f97fb.js +0 -2
  754. package/dist/chunk-faa8c62bfa11f9d5.js +0 -2
  755. package/dist/chunk-fb25896f1638ca8e.js +0 -3
  756. package/dist/chunk-fc165cee61f6efe8.js +0 -6
  757. package/dist/chunk-fd5ffee329d6f29b.js +0 -2
  758. package/dist/chunk-feaaa37d30cd1e9b.js +0 -2
  759. package/dist/chunk-fec9f0b0b0319f3b.js +0 -2
  760. package/dist/chunk-ff086fe014985526.js +0 -1
  761. package/dist/chunk-ff1bbce70d726bc6.js +0 -9
  762. package/dist/chunk-ff9a2d6d503e6db6.js +0 -18
  763. package/dist/chunk-ffe161a589b4c44b.js +0 -1
@@ -1,5 +0,0 @@
1
- import{x as Q,y as D} from"./chunk-a5c18c07abe8fd9c.js";import{ab as p} from"./chunk-d93cbffc712a052f.js";var xn=D((Dr,Rn)=>{var{defineProperty:l,getOwnPropertyDescriptor:Cf,getOwnPropertyNames:Ef}=Object,If=Object.prototype.hasOwnProperty,S=(n,t)=>l(n,"name",{value:t,configurable:!0}),Uf=(n,t)=>{for(var c in t)l(n,c,{get:t[c],enumerable:!0})},of=(n,t,c,f)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of Ef(t))if(!If.call(n,i)&&i!==c)l(n,i,{get:()=>t[i],enumerable:!(f=Cf(t,i))||f.enumerable})}return n},yf=(n)=>of(l({},"__esModule",{value:!0}),n),jn={};Uf(jn,{constructStack:()=>Tn});Rn.exports=yf(jn);var A=S((n,t)=>{const c=[];if(n)c.push(n);if(t)for(let f of t)c.push(f);return c},"getAllAliases"),M=S((n,t)=>{return`${n||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`},"getMiddlewareNameWithAliases"),Tn=S(()=>{let n=[],t=[],c=!1;const f=new Set,i=S(($)=>$.sort((F,T)=>Bn[T.step]-Bn[F.step]||bn[T.priority||"normal"]-bn[F.priority||"normal"]),"sort"),h=S(($)=>{let F=!1;const T=S((I)=>{const U=A(I.name,I.aliases);if(U.includes($)){F=!0;for(let C of U)f.delete(C);return!1}return!0},"filterCb");return n=n.filter(T),t=t.filter(T),F},"removeByName"),r=S(($)=>{let F=!1;const T=S((I)=>{if(I.middleware===$){F=!0;for(let U of A(I.name,I.aliases))f.delete(U);return!1}return!0},"filterCb");return n=n.filter(T),t=t.filter(T),F},"removeByReference"),s=S(($)=>{var F;return n.forEach((T)=>{$.add(T.middleware,{...T})}),t.forEach((T)=>{$.addRelativeTo(T.middleware,{...T})}),(F=$.identifyOnResolve)==null||F.call($,E.identifyOnResolve()),$},"cloneTo"),u=S(($)=>{const F=[];return $.before.forEach((T)=>{if(T.before.length===0&&T.after.length===0)F.push(T);else F.push(...u(T))}),F.push($),$.after.reverse().forEach((T)=>{if(T.before.length===0&&T.after.length===0)F.push(T);else F.push(...u(T))}),F},"expandRelativeMiddlewareList"),d=S(($=!1)=>{const F=[],T=[],I={};return n.forEach((C)=>{const w={...C,before:[],after:[]};for(let x of A(w.name,w.aliases))I[x]=w;F.push(w)}),t.forEach((C)=>{const w={...C,before:[],after:[]};for(let x of A(w.name,w.aliases))I[x]=w;T.push(w)}),T.forEach((C)=>{if(C.toMiddleware){const w=I[C.toMiddleware];if(w===void 0){if($)return;throw new Error(`${C.toMiddleware} is not found when adding ${M(C.name,C.aliases)} middleware ${C.relation} ${C.toMiddleware}`)}if(C.relation==="after")w.after.push(C);if(C.relation==="before")w.before.push(C)}}),i(F).map(u).reduce((C,w)=>{return C.push(...w),C},[])},"getMiddlewareList"),E={add:($,F={})=>{const{name:T,override:I,aliases:U}=F,C={step:"initialize",priority:"normal",middleware:$,...F},w=A(T,U);if(w.length>0){if(w.some((x)=>f.has(x))){if(!I)throw new Error(`Duplicate middleware name '${M(T,U)}'`);for(let x of w){const o=n.findIndex((g)=>{var G;return g.name===x||((G=g.aliases)==null?void 0:G.some((X)=>X===x))});if(o===-1)continue;const y=n[o];if(y.step!==C.step||C.priority!==y.priority)throw new Error(`"${M(y.name,y.aliases)}" middleware with ${y.priority} priority in ${y.step} step cannot be overridden by "${M(T,U)}" middleware with ${C.priority} priority in ${C.step} step.`);n.splice(o,1)}}for(let x of w)f.add(x)}n.push(C)},addRelativeTo:($,F)=>{const{name:T,override:I,aliases:U}=F,C={middleware:$,...F},w=A(T,U);if(w.length>0){if(w.some((x)=>f.has(x))){if(!I)throw new Error(`Duplicate middleware name '${M(T,U)}'`);for(let x of w){const o=t.findIndex((g)=>{var G;return g.name===x||((G=g.aliases)==null?void 0:G.some((X)=>X===x))});if(o===-1)continue;const y=t[o];if(y.toMiddleware!==C.toMiddleware||y.relation!==C.relation)throw new Error(`"${M(y.name,y.aliases)}" middleware ${y.relation} "${y.toMiddleware}" middleware cannot be overridden by "${M(T,U)}" middleware ${C.relation} "${C.toMiddleware}" middleware.`);t.splice(o,1)}}for(let x of w)f.add(x)}t.push(C)},clone:()=>s(Tn()),use:($)=>{$.applyToStack(E)},remove:($)=>{if(typeof $==="string")return h($);else return r($)},removeByTag:($)=>{let F=!1;const T=S((I)=>{const{tags:U,name:C,aliases:w}=I;if(U&&U.includes($)){const x=A(C,w);for(let o of x)f.delete(o);return F=!0,!1}return!0},"filterCb");return n=n.filter(T),t=t.filter(T),F},concat:($)=>{var F;const T=s(Tn());return T.use($),T.identifyOnResolve(c||T.identifyOnResolve()||(((F=$.identifyOnResolve)==null?void 0:F.call($))??!1)),T},applyToStack:s,identify:()=>{return d(!0).map(($)=>{const F=$.step??$.relation+" "+$.toMiddleware;return M($.name,$.aliases)+" - "+F})},identifyOnResolve($){if(typeof $==="boolean")c=$;return c},resolve:($,F)=>{for(let T of d().map((I)=>I.middleware).reverse())$=T($,F);if(c)console.log(E.identify());return $}};return E},"constructStack"),Bn={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},bn={high:3,normal:2,low:1}});var mn=D((Qr,an)=>{var{defineProperty:v,getOwnPropertyDescriptor:Nf,getOwnPropertyNames:gf}=Object,Yf=Object.prototype.hasOwnProperty,Sf=(n,t)=>v(n,"name",{value:t,configurable:!0}),zf=(n,t)=>{for(var c in t)v(n,c,{get:t[c],enumerable:!0})},Zf=(n,t,c,f)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of gf(t))if(!Yf.call(n,i)&&i!==c)v(n,i,{get:()=>t[i],enumerable:!(f=Nf(t,i))||f.enumerable})}return n},Vf=(n)=>Zf(v({},"__esModule",{value:!0}),n),qn={};zf(qn,{isArrayBuffer:()=>Gf});an.exports=Vf(qn);var Gf=Sf((n)=>typeof ArrayBuffer==="function"&&n instanceof ArrayBuffer||Object.prototype.toString.call(n)==="[object ArrayBuffer]","isArrayBuffer")});var b=D((Kr,tt)=>{var{defineProperty:q,getOwnPropertyDescriptor:Mf,getOwnPropertyNames:Qf}=Object,Kf=Object.prototype.hasOwnProperty,_n=(n,t)=>q(n,"name",{value:t,configurable:!0}),Xf=(n,t)=>{for(var c in t)q(n,c,{get:t[c],enumerable:!0})},Af=(n,t,c,f)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of Qf(t))if(!Kf.call(n,i)&&i!==c)q(n,i,{get:()=>t[i],enumerable:!(f=Mf(t,i))||f.enumerable})}return n},Jf=(n)=>Af(q({},"__esModule",{value:!0}),n),nt={};Xf(nt,{fromArrayBuffer:()=>Wf,fromString:()=>Bf});tt.exports=Jf(nt);var ef=mn(),dn=import.meta.require("buffer"),Wf=_n((n,t=0,c=n.byteLength-t)=>{if(!ef.isArrayBuffer(n))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof n} (${n})`);return dn.Buffer.from(n,t,c)},"fromArrayBuffer"),Bf=_n((n,t)=>{if(typeof n!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof n} (${n})`);return t?dn.Buffer.from(n,t):dn.Buffer.from(n)},"fromString")});var it=D((ct)=>{Object.defineProperty(ct,"__esModule",{value:!0});ct.fromBase64=void 0;var bf=b(),jf=/^[A-Za-z0-9+/]*={0,2}$/,Rf=(n)=>{if(n.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!jf.exec(n))throw new TypeError("Invalid base64 string.");const t=bf.fromString(n,"base64");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)};ct.fromBase64=Rf});var m=D((Ar,ut)=>{var{defineProperty:a,getOwnPropertyDescriptor:Hf,getOwnPropertyNames:Pf}=Object,kf=Object.prototype.hasOwnProperty,Fn=(n,t)=>a(n,"name",{value:t,configurable:!0}),Of=(n,t)=>{for(var c in t)a(n,c,{get:t[c],enumerable:!0})},lf=(n,t,c,f)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of Pf(t))if(!kf.call(n,i)&&i!==c)a(n,i,{get:()=>t[i],enumerable:!(f=Hf(t,i))||f.enumerable})}return n},pf=(n)=>lf(a({},"__esModule",{value:!0}),n),ht={};Of(ht,{fromUtf8:()=>st,toUint8Array:()=>vf,toUtf8:()=>qf});ut.exports=pf(ht);var rt=b(),st=Fn((n)=>{const t=rt.fromString(n,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),vf=Fn((n)=>{if(typeof n==="string")return st(n);if(ArrayBuffer.isView(n))return new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(n)},"toUint8Array"),qf=Fn((n)=>{if(typeof n==="string")return n;if(typeof n!=="object"||typeof n.byteOffset!=="number"||typeof n.byteLength!=="number")throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return rt.fromArrayBuffer(n.buffer,n.byteOffset,n.byteLength).toString("utf8")},"toUtf8")});var Tt=D((wt)=>{Object.defineProperty(wt,"__esModule",{value:!0});wt.toBase64=void 0;var af=b(),mf=m(),_f=(n)=>{let t;if(typeof n==="string")t=mf.fromUtf8(n);else t=n;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 af.fromArrayBuffer(t.buffer,t.byteOffset,t.byteLength).toString("base64")};wt.toBase64=_f});var nn=D((er,_)=>{var{defineProperty:xt,getOwnPropertyDescriptor:ni,getOwnPropertyNames:ti}=Object,ci=Object.prototype.hasOwnProperty,Cn=(n,t,c,f)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of ti(t))if(!ci.call(n,i)&&i!==c)xt(n,i,{get:()=>t[i],enumerable:!(f=ni(t,i))||f.enumerable})}return n},dt=(n,t,c)=>(Cn(n,t,"default"),c&&Cn(c,t,"default")),fi=(n)=>Cn(xt({},"__esModule",{value:!0}),n),En={};_.exports=fi(En);dt(En,it(),_.exports);dt(En,Tt(),_.exports)});var Et=D((Ft)=>{Object.defineProperty(Ft,"__esModule",{value:!0});Ft.getAwsChunkedEncodingStream=void 0;var ii=import.meta.require("stream"),hi=(n,t)=>{const{base64Encoder:c,bodyLengthChecker:f,checksumAlgorithmFn:i,checksumLocationName:h,streamHasher:r}=t,s=c!==void 0&&i!==void 0&&h!==void 0&&r!==void 0,u=s?r(i,n):void 0,d=new ii.Readable({read:()=>{}});return n.on("data",(E)=>{const $=f(E)||0;d.push(`${$.toString(16)}\r\n`),d.push(E),d.push("\r\n")}),n.on("end",async()=>{if(d.push("0\r\n"),s){const E=c(await u);d.push(`${h}:${E}\r\n`),d.push("\r\n")}d.push(null)}),d};Ft.getAwsChunkedEncodingStream=hi});var In=D((Br,Yt)=>{var Dt=function(n){return Object.keys(n).reduce((t,c)=>{const f=n[c];return{...t,[c]:Array.isArray(f)?[...f]:f}},{})},gt=function(n){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(n)},tn=Object.defineProperty,ri=Object.getOwnPropertyDescriptor,si=Object.getOwnPropertyNames,ui=Object.prototype.hasOwnProperty,K=(n,t)=>tn(n,"name",{value:t,configurable:!0}),wi=(n,t)=>{for(var c in t)tn(n,c,{get:t[c],enumerable:!0})},$i=(n,t,c,f)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of si(t))if(!ui.call(n,i)&&i!==c)tn(n,i,{get:()=>t[i],enumerable:!(f=ri(t,i))||f.enumerable})}return n},Ti=(n)=>$i(tn({},"__esModule",{value:!0}),n),It={};wi(It,{Field:()=>Fi,Fields:()=>Ci,HttpRequest:()=>Ei,HttpResponse:()=>Ii,IHttpRequest:()=>Ut.HttpRequest,getHttpHandlerExtensionConfiguration:()=>xi,isValidHostname:()=>gt,resolveHttpHandlerRuntimeConfig:()=>di});Yt.exports=Ti(It);var xi=K((n)=>{let t=n.httpHandler;return{setHttpHandler(c){t=c},httpHandler(){return t},updateHttpClientConfig(c,f){t.updateHttpClientConfig(c,f)},httpHandlerConfigs(){return t.httpHandlerConfigs()}}},"getHttpHandlerExtensionConfiguration"),di=K((n)=>{return{httpHandler:n.httpHandler()}},"resolveHttpHandlerRuntimeConfig"),Ut=p(),ot=class n{constructor({name:t,kind:c=Ut.FieldPosition.HEADER,values:f=[]}){this.name=t,this.kind=c,this.values=f}add(t){this.values.push(t)}set(t){this.values=t}remove(t){this.values=this.values.filter((c)=>c!==t)}toString(){return this.values.map((t)=>t.includes(",")||t.includes(" ")?`"${t}"`:t).join(", ")}get(){return this.values}};K(ot,"Field");var Fi=ot,yt=class n{constructor({fields:t=[],encoding:c="utf-8"}){this.entries={},t.forEach(this.setField.bind(this)),this.encoding=c}setField(t){this.entries[t.name.toLowerCase()]=t}getField(t){return this.entries[t.toLowerCase()]}removeField(t){delete this.entries[t.toLowerCase()]}getByType(t){return Object.values(this.entries).filter((c)=>c.kind===t)}};K(yt,"Fields");var Ci=yt,Lt=class n{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 c=new n({...t,headers:{...t.headers}});if(c.query)c.query=Dt(c.query);return c}static isInstance(t){if(!t)return!1;const c=t;return"method"in c&&"protocol"in c&&"hostname"in c&&"path"in c&&typeof c.query==="object"&&typeof c.headers==="object"}clone(){return n.clone(this)}};K(Lt,"HttpRequest");var Ei=Lt;K(Dt,"cloneQuery");var Nt=class n{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 c=t;return typeof c.statusCode==="number"&&typeof c.headers==="object"}};K(Nt,"HttpResponse");var Ii=Nt;K(gt,"isValidHostname")});var Vt=D((br,Zt)=>{var{defineProperty:cn,getOwnPropertyDescriptor:Ui,getOwnPropertyNames:oi}=Object,yi=Object.prototype.hasOwnProperty,Un=(n,t)=>cn(n,"name",{value:t,configurable:!0}),Li=(n,t)=>{for(var c in t)cn(n,c,{get:t[c],enumerable:!0})},Di=(n,t,c,f)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of oi(t))if(!yi.call(n,i)&&i!==c)cn(n,i,{get:()=>t[i],enumerable:!(f=Ui(t,i))||f.enumerable})}return n},Ni=(n)=>Di(cn({},"__esModule",{value:!0}),n),St={};Li(St,{escapeUri:()=>zt,escapeUriPath:()=>Yi});Zt.exports=Ni(St);var zt=Un((n)=>encodeURIComponent(n).replace(/[!'()*]/g,gi),"escapeUri"),gi=Un((n)=>`%${n.charCodeAt(0).toString(16).toUpperCase()}`,"hexEncode"),Yi=Un((n)=>n.split("/").map(zt).join("/"),"escapeUriPath")});var j=D((jr,Qt)=>{var Mt=function(n){const t=[];for(let c of Object.keys(n).sort()){const f=n[c];if(c=on.escapeUri(c),Array.isArray(f))for(let i=0,h=f.length;i<h;i++)t.push(`${c}=${on.escapeUri(f[i])}`);else{let i=c;if(f||typeof f==="string")i+=`=${on.escapeUri(f)}`;t.push(i)}}return t.join("&")},fn=Object.defineProperty,Si=Object.getOwnPropertyDescriptor,zi=Object.getOwnPropertyNames,Zi=Object.prototype.hasOwnProperty,Vi=(n,t)=>fn(n,"name",{value:t,configurable:!0}),Gi=(n,t)=>{for(var c in t)fn(n,c,{get:t[c],enumerable:!0})},Mi=(n,t,c,f)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of zi(t))if(!Zi.call(n,i)&&i!==c)fn(n,i,{get:()=>t[i],enumerable:!(f=Si(t,i))||f.enumerable})}return n},Qi=(n)=>Mi(fn({},"__esModule",{value:!0}),n),Gt={};Gi(Gt,{buildQueryString:()=>Mt});Qt.exports=Qi(Gt);var on=Vt();Vi(Mt,"buildQueryString")});var vt=D((Rr,pt)=>{async function Dn(n,t,c=Kt){const f=t.headers??{},i=f.Expect||f.expect;let h=-1,r=!1;if(i==="100-continue")await Promise.race([new Promise((s)=>{h=Number(setTimeout(s,Math.max(Kt,c)))}),new Promise((s)=>{n.on("continue",()=>{clearTimeout(h),s()}),n.on("error",()=>{r=!0,clearTimeout(h),s()})})]);if(!r)jt(n,t.body)}var jt=function(n,t){if(t instanceof bt.Readable){t.pipe(n);return}if(t){if(Buffer.isBuffer(t)||typeof t==="string"){n.end(t);return}const c=t;if(typeof c==="object"&&c.buffer&&typeof c.byteOffset==="number"&&typeof c.byteLength==="number"){n.end(Buffer.from(c.buffer,c.byteOffset,c.byteLength));return}n.end(Buffer.from(t));return}n.end()};async function lt(n){const t=[],c=n.getReader();let f=!1,i=0;while(!f){const{done:s,value:u}=await c.read();if(u)t.push(u),i+=u.length;f=s}const h=new Uint8Array(i);let r=0;for(let s of t)h.set(s,r),r+=s.length;return h}var{create:Ki,defineProperty:R,getOwnPropertyDescriptor:Xi,getOwnPropertyNames:Ai,getPrototypeOf:Ji}=Object,ei=Object.prototype.hasOwnProperty,N=(n,t)=>R(n,"name",{value:t,configurable:!0}),Wi=(n,t)=>{for(var c in t)R(n,c,{get:t[c],enumerable:!0})},At=(n,t,c,f)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of Ai(t))if(!ei.call(n,i)&&i!==c)R(n,i,{get:()=>t[i],enumerable:!(f=Xi(t,i))||f.enumerable})}return n},Bi=(n,t,c)=>(c=n!=null?Ki(Ji(n)):{},At(t||!n||!n.__esModule?R(c,"default",{value:n,enumerable:!0}):c,n)),bi=(n)=>At(R({},"__esModule",{value:!0}),n),Jt={};Wi(Jt,{DEFAULT_REQUEST_TIMEOUT:()=>ki,NodeHttp2Handler:()=>qi,NodeHttpHandler:()=>Oi,streamCollector:()=>mi});pt.exports=bi(Jt);var et=In(),Wt=j(),yn=import.meta.require("http"),Ln=import.meta.require("https"),ji=["ECONNRESET","EPIPE","ETIMEDOUT"],Bt=N((n)=>{const t={};for(let c of Object.keys(n)){const f=n[c];t[c]=Array.isArray(f)?f.join(","):f}return t},"getTransformedHeaders"),Ri=N((n,t,c=0)=>{if(!c)return;const f=setTimeout(()=>{n.destroy(),t(Object.assign(new Error(`Socket timed out without establishing a connection within ${c} ms`),{name:"TimeoutError"}))},c);n.on("socket",(i)=>{if(i.connecting)i.on("connect",()=>{clearTimeout(f)});else clearTimeout(f)})},"setConnectionTimeout"),Hi=N((n,{keepAlive:t,keepAliveMsecs:c})=>{if(t!==!0)return;n.on("socket",(f)=>{f.setKeepAlive(t,c||0)})},"setSocketKeepAlive"),Pi=N((n,t,c=0)=>{n.setTimeout(c,()=>{n.destroy(),t(Object.assign(new Error(`Connection timed out after ${c} ms`),{name:"TimeoutError"}))})},"setSocketTimeout"),bt=import.meta.require("stream"),Kt=1000;N(Dn,"writeRequestBody");N(jt,"writeBody");var ki=0,Rt=class n{constructor(t){this.socketWarningTimestamp=0,this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((c,f)=>{if(typeof t==="function")t().then((i)=>{c(this.resolveDefaultConfig(i))}).catch(f);else c(this.resolveDefaultConfig(t))})}static create(t){if(typeof(t==null?void 0:t.handle)==="function")return t;return new n(t)}static checkSocketUsage(t,c,f=console){var i,h,r;const{sockets:s,requests:u,maxSockets:d}=t;if(typeof d!=="number"||d===Infinity)return c;const E=15000;if(Date.now()-E<c)return c;if(s&&u)for(let $ in s){const F=((i=s[$])==null?void 0:i.length)??0,T=((h=u[$])==null?void 0:h.length)??0;if(F>=d&&T>=2*d)return(r=f==null?void 0:f.warn)==null||r.call(f,`@smithy/node-http-handler:WARN - socket usage at capacity=${F} and ${T} 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 c}resolveDefaultConfig(t){const{requestTimeout:c,connectionTimeout:f,socketTimeout:i,httpAgent:h,httpsAgent:r}=t||{};return{connectionTimeout:f,requestTimeout:c??i,httpAgent:(()=>{if(h instanceof yn.Agent||typeof(h==null?void 0:h.destroy)==="function")return h;return new yn.Agent({keepAlive:!0,maxSockets:50,...h})})(),httpsAgent:(()=>{if(r instanceof Ln.Agent||typeof(r==null?void 0:r.destroy)==="function")return r;return new Ln.Agent({keepAlive:!0,maxSockets:50,...r})})(),logger:console}}destroy(){var t,c,f,i;(c=(t=this.config)==null?void 0:t.httpAgent)==null||c.destroy(),(i=(f=this.config)==null?void 0:f.httpsAgent)==null||i.destroy()}async handle(t,{abortSignal:c}={}){if(!this.config)this.config=await this.configProvider;let f;return new Promise((i,h)=>{let r=void 0;const s=N(async(x)=>{await r,clearTimeout(f),i(x)},"resolve"),u=N(async(x)=>{await r,clearTimeout(f),h(x)},"reject");if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(c==null?void 0:c.aborted){const x=new Error("Request aborted");x.name="AbortError",u(x);return}const d=t.protocol==="https:",E=d?this.config.httpsAgent:this.config.httpAgent;f=setTimeout(()=>{this.socketWarningTimestamp=n.checkSocketUsage(E,this.socketWarningTimestamp,this.config.logger)},this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2000)+(this.config.connectionTimeout??1000));const $=Wt.buildQueryString(t.query||{});let F=void 0;if(t.username!=null||t.password!=null){const x=t.username??"",o=t.password??"";F=`${x}:${o}`}let T=t.path;if($)T+=`?${$}`;if(t.fragment)T+=`#${t.fragment}`;const I={headers:t.headers,host:t.hostname,method:t.method,path:T,port:t.port,agent:E,auth:F},C=(d?Ln.request:yn.request)(I,(x)=>{const o=new et.HttpResponse({statusCode:x.statusCode||-1,reason:x.statusMessage,headers:Bt(x.headers),body:x});s({response:o})});if(C.on("error",(x)=>{if(ji.includes(x.code))u(Object.assign(x,{name:"TimeoutError"}));else u(x)}),Ri(C,u,this.config.connectionTimeout),Pi(C,u,this.config.requestTimeout),c){const x=N(()=>{C.destroy();const o=new Error("Request aborted");o.name="AbortError",u(o)},"onAbort");if(typeof c.addEventListener==="function"){const o=c;o.addEventListener("abort",x,{once:!0}),C.once("close",()=>o.removeEventListener("abort",x))}else c.onabort=x}const w=I.agent;if(typeof w==="object"&&"keepAlive"in w)Hi(C,{keepAlive:w.keepAlive,keepAliveMsecs:w.keepAliveMsecs});r=Dn(C,t,this.config.requestTimeout).catch((x)=>{return clearTimeout(f),h(x)})})}updateHttpClientConfig(t,c){this.config=void 0,this.configProvider=this.configProvider.then((f)=>{return{...f,[t]:c}})}httpHandlerConfigs(){return this.config??{}}};N(Rt,"NodeHttpHandler");var Oi=Rt,Xt=import.meta.require("http2"),li=Bi(import.meta.require("http2")),Ht=class n{constructor(t){this.sessions=[],this.sessions=t??[]}poll(){if(this.sessions.length>0)return this.sessions.shift()}offerLast(t){this.sessions.push(t)}contains(t){return this.sessions.includes(t)}remove(t){this.sessions=this.sessions.filter((c)=>c!==t)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(t){for(let c of this.sessions)if(c===t){if(!c.destroyed)c.destroy()}}};N(Ht,"NodeHttp2ConnectionPool");var pi=Ht,Pt=class n{constructor(t){if(this.sessionCache=new Map,this.config=t,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrency must be greater than zero.")}lease(t,c){const f=this.getUrlString(t),i=this.sessionCache.get(f);if(i){const u=i.poll();if(u&&!this.config.disableConcurrency)return u}const h=li.default.connect(f);if(this.config.maxConcurrency)h.settings({maxConcurrentStreams:this.config.maxConcurrency},(u)=>{if(u)throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+t.destination.toString())});h.unref();const r=N(()=>{h.destroy(),this.deleteSession(f,h)},"destroySessionCb");if(h.on("goaway",r),h.on("error",r),h.on("frameError",r),h.on("close",()=>this.deleteSession(f,h)),c.requestTimeout)h.setTimeout(c.requestTimeout,r);const s=this.sessionCache.get(f)||new pi;return s.offerLast(h),this.sessionCache.set(f,s),h}deleteSession(t,c){const f=this.sessionCache.get(t);if(!f)return;if(!f.contains(c))return;f.remove(c),this.sessionCache.set(t,f)}release(t,c){var f;const i=this.getUrlString(t);(f=this.sessionCache.get(i))==null||f.offerLast(c)}destroy(){for(let[t,c]of this.sessionCache){for(let f of c){if(!f.destroyed)f.destroy();c.remove(f)}this.sessionCache.delete(t)}}setMaxConcurrentStreams(t){if(this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=t}setDisableConcurrentStreams(t){this.config.disableConcurrency=t}getUrlString(t){return t.destination.toString()}};N(Pt,"NodeHttp2ConnectionManager");var vi=Pt,kt=class n{constructor(t){this.metadata={handlerProtocol:"h2"},this.connectionManager=new vi({}),this.configProvider=new Promise((c,f)=>{if(typeof t==="function")t().then((i)=>{c(i||{})}).catch(f);else c(t||{})})}static create(t){if(typeof(t==null?void 0:t.handle)==="function")return t;return new n(t)}destroy(){this.connectionManager.destroy()}async handle(t,{abortSignal:c}={}){if(!this.config){if(this.config=await this.configProvider,this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams||!1),this.config.maxConcurrentStreams)this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams)}const{requestTimeout:f,disableConcurrentStreams:i}=this.config;return new Promise((h,r)=>{var s;let u=!1,d=void 0;const E=N(async(L)=>{await d,h(L)},"resolve"),$=N(async(L)=>{await d,r(L)},"reject");if(c==null?void 0:c.aborted){u=!0;const L=new Error("Request aborted");L.name="AbortError",$(L);return}const{hostname:F,method:T,port:I,protocol:U,query:C}=t;let w="";if(t.username!=null||t.password!=null){const L=t.username??"",z=t.password??"";w=`${L}:${z}@`}const x=`${U}//${w}${F}${I?`:${I}`:""}`,o={destination:new URL(x)},y=this.connectionManager.lease(o,{requestTimeout:(s=this.config)==null?void 0:s.sessionTimeout,disableConcurrentStreams:i||!1}),g=N((L)=>{if(i)this.destroySession(y);u=!0,$(L)},"rejectWithDestroy"),G=Wt.buildQueryString(C||{});let X=t.path;if(G)X+=`?${G}`;if(t.fragment)X+=`#${t.fragment}`;const Y=y.request({...t.headers,[Xt.constants.HTTP2_HEADER_PATH]:X,[Xt.constants.HTTP2_HEADER_METHOD]:T});if(y.ref(),Y.on("response",(L)=>{const z=new et.HttpResponse({statusCode:L[":status"]||-1,headers:Bt(L),body:Y});if(u=!0,E({response:z}),i)y.close(),this.connectionManager.deleteSession(x,y)}),f)Y.setTimeout(f,()=>{Y.close();const L=new Error(`Stream timed out because of no activity for ${f} ms`);L.name="TimeoutError",g(L)});if(c){const L=N(()=>{Y.close();const z=new Error("Request aborted");z.name="AbortError",g(z)},"onAbort");if(typeof c.addEventListener==="function"){const z=c;z.addEventListener("abort",L,{once:!0}),Y.once("close",()=>z.removeEventListener("abort",L))}else c.onabort=L}Y.on("frameError",(L,z,Ff)=>{g(new Error(`Frame type id ${L} in stream id ${Ff} has failed with code ${z}.`))}),Y.on("error",g),Y.on("aborted",()=>{g(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${Y.rstCode}.`))}),Y.on("close",()=>{if(y.unref(),i)y.destroy();if(!u)g(new Error("Unexpected error: http2 request did not get a response"))}),d=Dn(Y,t,f)})}updateHttpClientConfig(t,c){this.config=void 0,this.configProvider=this.configProvider.then((f)=>{return{...f,[t]:c}})}httpHandlerConfigs(){return this.config??{}}destroySession(t){if(!t.destroyed)t.destroy()}};N(kt,"NodeHttp2Handler");var qi=kt,Ot=class n extends bt.Writable{constructor(){super(...arguments);this.bufferedBytes=[]}_write(t,c,f){this.bufferedBytes.push(t),f()}};N(Ot,"Collector");var ai=Ot,mi=N((n)=>{if(_i(n))return lt(n);return new Promise((t,c)=>{const f=new ai;n.pipe(f),n.on("error",(i)=>{f.end(),c(i)}),f.on("error",c),f.on("finish",function(){const i=new Uint8Array(Buffer.concat(this.bufferedBytes));t(i)})})},"streamCollector"),_i=N((n)=>typeof ReadableStream==="function"&&n instanceof ReadableStream,"isReadableStreamInstance");N(lt,"collectReadableStream")});var ic=D((Hr,fc)=>{var mt=function(n=0){return new Promise((t,c)=>{if(n)setTimeout(()=>{const f=new Error(`Request did not complete within ${n} ms`);f.name="TimeoutError",c(f)},n)})};async function nc(n){const t=await cc(n),c=uh.fromBase64(t);return new Uint8Array(c)}async function tc(n){const t=[],c=n.getReader();let f=!1,i=0;while(!f){const{done:s,value:u}=await c.read();if(u)t.push(u),i+=u.length;f=s}const h=new Uint8Array(i);let r=0;for(let s of t)h.set(s,r),r+=s.length;return h}var cc=function(n){return new Promise((t,c)=>{const f=new FileReader;f.onloadend=()=>{if(f.readyState!==2)return c(new Error("Reader aborted too early"));const i=f.result??"",h=i.indexOf(","),r=h>-1?h+1:i.length;t(i.substring(r))},f.onabort=()=>c(new Error("Read aborted")),f.onerror=()=>c(f.error),f.readAsDataURL(n)})},rn=Object.defineProperty,nh=Object.getOwnPropertyDescriptor,th=Object.getOwnPropertyNames,ch=Object.prototype.hasOwnProperty,V=(n,t)=>rn(n,"name",{value:t,configurable:!0}),fh=(n,t)=>{for(var c in t)rn(n,c,{get:t[c],enumerable:!0})},ih=(n,t,c,f)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of th(t))if(!ch.call(n,i)&&i!==c)rn(n,i,{get:()=>t[i],enumerable:!(f=nh(t,i))||f.enumerable})}return n},hh=(n)=>ih(rn({},"__esModule",{value:!0}),n),at={};fh(at,{FetchHttpHandler:()=>sh,keepAliveSupport:()=>hn,streamCollector:()=>wh});fc.exports=hh(at);var qt=In(),rh=j();V(mt,"requestTimeout");var hn={supported:void 0},_t=class n{static create(t){if(typeof(t==null?void 0:t.handle)==="function")return t;return new n(t)}constructor(t){if(typeof t==="function")this.configProvider=t().then((c)=>c||{});else this.config=t??{},this.configProvider=Promise.resolve(this.config);if(hn.supported===void 0)hn.supported=Boolean(typeof Request!=="undefined"&&"keepalive"in new Request("https://[::1]"))}destroy(){}async handle(t,{abortSignal:c}={}){if(!this.config)this.config=await this.configProvider;const f=this.config.requestTimeout,i=this.config.keepAlive===!0,h=this.config.credentials;if(c==null?void 0:c.aborted){const w=new Error("Request aborted");return w.name="AbortError",Promise.reject(w)}let r=t.path;const s=rh.buildQueryString(t.query||{});if(s)r+=`?${s}`;if(t.fragment)r+=`#${t.fragment}`;let u="";if(t.username!=null||t.password!=null){const w=t.username??"",x=t.password??"";u=`${w}:${x}@`}const{port:d,method:E}=t,$=`${t.protocol}//${u}${t.hostname}${d?`:${d}`:""}${r}`,F=E==="GET"||E==="HEAD"?void 0:t.body,T={body:F,headers:new Headers(t.headers),method:E,credentials:h};if(F)T.duplex="half";if(typeof AbortController!=="undefined")T.signal=c;if(hn.supported)T.keepalive=i;let I=V(()=>{},"removeSignalEventListener");const U=new Request($,T),C=[fetch(U).then((w)=>{const x=w.headers,o={};for(let g of x.entries())o[g[0]]=g[1];if(w.body==null)return w.blob().then((g)=>({response:new qt.HttpResponse({headers:o,reason:w.statusText,statusCode:w.status,body:g})}));return{response:new qt.HttpResponse({headers:o,reason:w.statusText,statusCode:w.status,body:w.body})}}),mt(f)];if(c)C.push(new Promise((w,x)=>{const o=V(()=>{const y=new Error("Request aborted");y.name="AbortError",x(y)},"onAbort");if(typeof c.addEventListener==="function"){const y=c;y.addEventListener("abort",o,{once:!0}),I=V(()=>y.removeEventListener("abort",o),"removeSignalEventListener")}else c.onabort=o}));return Promise.race(C).finally(I)}updateHttpClientConfig(t,c){this.config=void 0,this.configProvider=this.configProvider.then((f)=>{return f[t]=c,f})}httpHandlerConfigs(){return this.config??{}}};V(_t,"FetchHttpHandler");var sh=_t,uh=nn(),wh=V((n)=>{if(typeof Blob==="function"&&n instanceof Blob)return nc(n);return tc(n)},"streamCollector");V(nc,"collectBlob");V(tc,"collectStream");V(cc,"readToBase64")});var Tc=D((Pr,$c)=>{var uc=function(n){if(n.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(n.length/2);for(let c=0;c<n.length;c+=2){const f=n.slice(c,c+2).toLowerCase();if(f in Nn)t[c/2]=Nn[f];else throw new Error(`Cannot decode unrecognized sequence ${f} as hexadecimal`)}return t},wc=function(n){let t="";for(let c=0;c<n.byteLength;c++)t+=sc[n[c]];return t},sn=Object.defineProperty,$h=Object.getOwnPropertyDescriptor,Th=Object.getOwnPropertyNames,xh=Object.prototype.hasOwnProperty,hc=(n,t)=>sn(n,"name",{value:t,configurable:!0}),dh=(n,t)=>{for(var c in t)sn(n,c,{get:t[c],enumerable:!0})},Fh=(n,t,c,f)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of Th(t))if(!xh.call(n,i)&&i!==c)sn(n,i,{get:()=>t[i],enumerable:!(f=$h(t,i))||f.enumerable})}return n},Ch=(n)=>Fh(sn({},"__esModule",{value:!0}),n),rc={};dh(rc,{fromHex:()=>uc,toHex:()=>wc});$c.exports=Ch(rc);var sc={},Nn={};for(let n=0;n<256;n++){let t=n.toString(16).toLowerCase();if(t.length===1)t=`0${t}`;sc[n]=t,Nn[t]=n}hc(uc,"fromHex");hc(wc,"toHex")});var H=D((xc)=>{Object.defineProperty(xc,"__esModule",{value:!0});xc.isReadableStream=void 0;var Eh=(n)=>{var t;return typeof ReadableStream==="function"&&(((t=n===null||n===void 0?void 0:n.constructor)===null||t===void 0?void 0:t.name)===ReadableStream.name||n instanceof ReadableStream)};xc.isReadableStream=Eh});var oc=D((Ic)=>{Object.defineProperty(Ic,"__esModule",{value:!0});Ic.sdkStreamMixin=void 0;var Ih=ic(),Uh=nn(),oh=Tc(),yh=m(),Fc=H(),Cc="The stream has already been transformed.",Lh=(n)=>{var t,c;if(!Ec(n)&&!Fc.isReadableStream(n)){const r=((c=(t=n===null||n===void 0?void 0:n.__proto__)===null||t===void 0?void 0:t.constructor)===null||c===void 0?void 0:c.name)||n;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${r}`)}let f=!1;const i=async()=>{if(f)throw new Error(Cc);return f=!0,await Ih.streamCollector(n)},h=(r)=>{if(typeof r.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 r.stream()};return Object.assign(n,{transformToByteArray:i,transformToString:async(r)=>{const s=await i();if(r==="base64")return Uh.toBase64(s);else if(r==="hex")return oh.toHex(s);else if(r===void 0||r==="utf8"||r==="utf-8")return yh.toUtf8(s);else if(typeof TextDecoder==="function")return new TextDecoder(r).decode(s);else throw new Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(f)throw new Error(Cc);if(f=!0,Ec(n))return h(n);else if(Fc.isReadableStream(n))return n;else throw new Error(`Cannot transform payload to web stream, got ${n}`)}})};Ic.sdkStreamMixin=Lh;var Ec=(n)=>typeof Blob==="function"&&n instanceof Blob});var Nc=D((Lc)=>{Object.defineProperty(Lc,"__esModule",{value:!0});Lc.sdkStreamMixin=void 0;var Dh=vt(),Nh=b(),gn=import.meta.require("stream"),gh=import.meta.require("util"),Yh=oc(),yc="The stream has already been transformed.",Sh=(n)=>{var t,c;if(!(n instanceof gn.Readable))try{return Yh.sdkStreamMixin(n)}catch(h){const r=((c=(t=n===null||n===void 0?void 0:n.__proto__)===null||t===void 0?void 0:t.constructor)===null||c===void 0?void 0:c.name)||n;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${r}`)}let f=!1;const i=async()=>{if(f)throw new Error(yc);return f=!0,await Dh.streamCollector(n)};return Object.assign(n,{transformToByteArray:i,transformToString:async(h)=>{const r=await i();if(h===void 0||Buffer.isEncoding(h))return Nh.fromArrayBuffer(r.buffer,r.byteOffset,r.byteLength).toString(h);else return new gh.TextDecoder(h).decode(r)},transformToWebStream:()=>{if(f)throw new Error(yc);if(n.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof gn.Readable.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 f=!0,gn.Readable.toWeb(n)}})};Lc.sdkStreamMixin=Sh});var Sc=D((gc)=>{async function zh(n){if(typeof n.stream==="function")n=n.stream();return n.tee()}Object.defineProperty(gc,"__esModule",{value:!0});gc.splitStream=void 0;gc.splitStream=zh});var Gc=D((Zc)=>{async function Gh(n){if(Vh.isReadableStream(n))return Zh.splitStream(n);const t=new zc.PassThrough,c=new zc.PassThrough;return n.pipe(t),n.pipe(c),[t,c]}Object.defineProperty(Zc,"__esModule",{value:!0});Zc.splitStream=void 0;var zc=import.meta.require("stream"),Zh=Sc(),Vh=H();Zc.splitStream=Gh});var Kc=D((Mc)=>{async function Mh(n,t){var c;let f=0;const i=[],h=n.getReader();let r=!1;while(!r){const{done:d,value:E}=await h.read();if(E)i.push(E),f+=(c=E===null||E===void 0?void 0:E.byteLength)!==null&&c!==void 0?c:0;if(f>=t)break;r=d}h.releaseLock();const s=new Uint8Array(Math.min(t,f));let u=0;for(let d of i){if(d.byteLength>s.byteLength-u){s.set(d.subarray(0,s.byteLength-u),u);break}else s.set(d,u);u+=d.length}return s}Object.defineProperty(Mc,"__esModule",{value:!0});Mc.headStream=void 0;Mc.headStream=Mh});var ec=D((Ac)=>{Object.defineProperty(Ac,"__esModule",{value:!0});Ac.headStream=void 0;var Qh=import.meta.require("stream"),Kh=Kc(),Xh=H(),Ah=(n,t)=>{if(Xh.isReadableStream(n))return Kh.headStream(n,t);return new Promise((c,f)=>{const i=new Xc;i.limit=t,n.pipe(i),n.on("error",(h)=>{i.end(),f(h)}),i.on("error",f),i.on("finish",function(){const h=new Uint8Array(Buffer.concat(this.buffers));c(h)})})};Ac.headStream=Ah;class Xc extends Qh.Writable{constructor(){super(...arguments);this.buffers=[],this.limit=Infinity,this.bytesBuffered=0}_write(n,t,c){var f;if(this.buffers.push(n),this.bytesBuffered+=(f=n.byteLength)!==null&&f!==void 0?f:0,this.bytesBuffered>=this.limit){const i=this.bytesBuffered-this.limit,h=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=h.subarray(0,h.byteLength-i),this.emit("finish")}c()}}});var Hc=D((mr,e)=>{var bc=function(n,t="utf-8"){if(t==="base64")return Wc.toBase64(n);return Bc.toUtf8(n)},jc=function(n,t){if(t==="base64")return Sn.mutate(Wc.fromBase64(n));return Sn.mutate(Bc.fromUtf8(n))},un=Object.defineProperty,Jh=Object.getOwnPropertyDescriptor,eh=Object.getOwnPropertyNames,Wh=Object.prototype.hasOwnProperty,zn=(n,t)=>un(n,"name",{value:t,configurable:!0}),Bh=(n,t)=>{for(var c in t)un(n,c,{get:t[c],enumerable:!0})},Yn=(n,t,c,f)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of eh(t))if(!Wh.call(n,i)&&i!==c)un(n,i,{get:()=>t[i],enumerable:!(f=Jh(t,i))||f.enumerable})}return n},P=(n,t,c)=>(Yn(n,t,"default"),c&&Yn(c,t,"default")),bh=(n)=>Yn(un({},"__esModule",{value:!0}),n),J={};Bh(J,{Uint8ArrayBlobAdapter:()=>Sn});e.exports=bh(J);var Wc=nn(),Bc=m();zn(bc,"transformToString");zn(jc,"transformFromString");var Rc=class n extends Uint8Array{static fromString(t,c="utf-8"){switch(typeof t){case"string":return jc(t,c);default:throw new Error(`Unsupported conversion from ${typeof t} to Uint8ArrayBlobAdapter.`)}}static mutate(t){return Object.setPrototypeOf(t,n.prototype),t}transformToString(t="utf-8"){return bc(this,t)}};zn(Rc,"Uint8ArrayBlobAdapter");var Sn=Rc;P(J,Et(),e.exports);P(J,Nc(),e.exports);P(J,Gc(),e.exports);P(J,ec(),e.exports);P(J,H(),e.exports)});var Hn=Q(xn(),1);class Lf{constructor(n){this.middlewareStack=Hn.constructStack(),this.config=n}send(n,t,c){const f=typeof t!=="function"?t:void 0,i=typeof t==="function"?t:c,h=n.resolveMiddleware(this.middlewareStack,this.config,f);if(i)h(n).then((r)=>i(null,r.output),(r)=>i(r)).catch(()=>{});else return h(n).then((r)=>r.output)}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}}var Pn=Q(xn(),1),kn=Q(p(),1);class On{constructor(){this.middlewareStack=Pn.constructStack()}static classBuilder(){return new ln}resolveMiddlewareWithContext(n,t,c,{middlewareFn:f,clientName:i,commandName:h,inputFilterSensitiveLog:r,outputFilterSensitiveLog:s,smithyContext:u,additionalContext:d,CommandCtor:E}){for(let U of f.bind(this)(E,n,t,c))this.middlewareStack.use(U);const $=n.concat(this.middlewareStack),{logger:F}=t,T={logger:F,clientName:i,commandName:h,inputFilterSensitiveLog:r,outputFilterSensitiveLog:s,[kn.SMITHY_CONTEXT_KEY]:{commandInstance:this,...u},...d},{requestHandler:I}=t;return $.resolve((U)=>I.handle(U.request,c||{}),T)}}class ln{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=(n)=>n,this._outputFilterSensitiveLog=(n)=>n,this._serializer=null,this._deserializer=null}init(n){this._init=n}ep(n){return this._ep=n,this}m(n){return this._middlewareFn=n,this}s(n,t,c={}){return this._smithyContext={service:n,operation:t,...c},this}c(n={}){return this._additionalContext=n,this}n(n,t){return this._clientName=n,this._commandName=t,this}f(n=(c)=>c,t=(c)=>c){return this._inputFilterSensitiveLog=n,this._outputFilterSensitiveLog=t,this}ser(n){return this._serializer=n,this}de(n){return this._deserializer=n,this}build(){const n=this;let t;return t=class extends On{static getEndpointParameterInstructions(){return n._ep}constructor(...[c]){super();this.serialize=n._serializer,this.deserialize=n._deserializer,this.input=c??{},n._init(this)}resolveMiddleware(c,f,i){return this.resolveMiddlewareWithContext(c,f,i,{CommandCtor:t,middlewareFn:n._middlewareFn,clientName:n._clientName,commandName:n._commandName,inputFilterSensitiveLog:n._inputFilterSensitiveLog,outputFilterSensitiveLog:n._outputFilterSensitiveLog,smithyContext:n._smithyContext,additionalContext:n._additionalContext})}}}}var Sr="***SensitiveInformation***";var Zr=(n,t)=>{for(let c of Object.keys(n)){const f=n[c],i=async function(r,s,u){const d=new f(r);if(typeof s==="function")this.send(d,s);else if(typeof u==="function"){if(typeof s!=="object")throw new Error(`Expected http options but got ${typeof s}`);this.send(d,s||{},u)}else return this.send(d,s)},h=(c[0].toLowerCase()+c.slice(1)).replace(/Command$/,"");t.prototype[h]=i}};class pn extends Error{constructor(n){super(n.message);Object.setPrototypeOf(this,pn.prototype),this.name=n.name,this.$fault=n.$fault,this.$metadata=n.$metadata}}var vn=(n,t={})=>{Object.entries(t).filter(([,f])=>f!==void 0).forEach(([f,i])=>{if(n[f]==null||n[f]==="")n[f]=i});const c=n.message||n.Message||"UnknownError";return n.message=c,delete n.Message,n};class Df{trace(){}debug(){}info(){}warn(){}error(){}}var wn=Q(Hc(),1),_r=async(n=new Uint8Array,t)=>{if(n instanceof Uint8Array)return wn.Uint8ArrayBlobAdapter.mutate(n);if(!n)return wn.Uint8ArrayBlobAdapter.mutate(new Uint8Array);const c=t.streamCollector(n);return wn.Uint8ArrayBlobAdapter.mutate(await c)};var ts=(n)=>{switch(n){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${n}"`)}};var jh=(n)=>{if(n===null||n===void 0)return;if(typeof n==="string"){const t=parseFloat(n);if(!Number.isNaN(t)){if(String(t)!==String(n))ac.warn(qc(`Expected number but observed string: ${n}`));return t}}if(typeof n==="number")return n;throw new TypeError(`Expected number, got ${typeof n}: ${n}`)},Rh=Math.ceil(340282346638528860000000000000000000000),Pc=(n)=>{const t=jh(n);if(t!==void 0&&!Number.isNaN(t)&&t!==Infinity&&t!==(-Infinity)){if(Math.abs(t)>Rh)throw new TypeError(`Expected 32-bit float, got ${n}`)}return t},Zn=(n)=>{if(n===null||n===void 0)return;if(Number.isInteger(n)&&!Number.isNaN(n))return n;throw new TypeError(`Expected integer, got ${typeof n}: ${n}`)};var kc=(n)=>Vn(n,32),Oc=(n)=>Vn(n,16),lc=(n)=>Vn(n,8),Vn=(n,t)=>{const c=Zn(n);if(c!==void 0&&Hh(c,t)!==c)throw new TypeError(`Expected ${t}-bit integer, got ${n}`);return c},Hh=(n,t)=>{switch(t){case 32:return Int32Array.of(n)[0];case 16:return Int16Array.of(n)[0];case 8:return Int8Array.of(n)[0]}},cs=(n,t)=>{if(n===null||n===void 0){if(t)throw new TypeError(`Expected a non-null value for ${t}`);throw new TypeError("Expected a non-null value")}return n},fs=(n)=>{if(n===null||n===void 0)return;if(typeof n==="object"&&!Array.isArray(n))return n;const t=Array.isArray(n)?"array":typeof n;throw new TypeError(`Expected object, got ${t}: ${n}`)},is=(n)=>{if(n===null||n===void 0)return;if(typeof n==="string")return n;if(["boolean","number","bigint"].includes(typeof n))return ac.warn(qc(`Expected string, got ${typeof n}: ${n}`)),String(n);throw new TypeError(`Expected string, got ${typeof n}: ${n}`)};var pc=(n)=>{if(typeof n=="string")return Pc(k(n));return Pc(n)},Ph=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,k=(n)=>{const t=n.match(Ph);if(t===null||t[0].length!==n.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(n)};var hs=(n)=>{if(typeof n==="string")return Zn(k(n));return Zn(n)};var rs=(n)=>{if(typeof n==="string")return kc(k(n));return kc(n)},W=(n)=>{if(typeof n==="string")return Oc(k(n));return Oc(n)},vc=(n)=>{if(typeof n==="string")return lc(k(n));return lc(n)},qc=(n)=>{return String(new TypeError(n).stack||n).split("\n").slice(0,5).filter((t)=>!t.includes("stackTraceWarning")).join("\n")},ac={warn:console.warn};function $s(n){const t=n.getUTCFullYear(),c=n.getUTCMonth(),f=n.getUTCDay(),i=n.getUTCDate(),h=n.getUTCHours(),r=n.getUTCMinutes(),s=n.getUTCSeconds(),u=i<10?`0${i}`:`${i}`,d=h<10?`0${h}`:`${h}`,E=r<10?`0${r}`:`${r}`,$=s<10?`0${s}`:`${s}`;return`${kh[f]}, ${u} ${Mn[c]} ${t} ${d}:${E}:${$} GMT`}var kh=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Mn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Oh=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),Ts=(n)=>{if(n===null||n===void 0)return;if(typeof n!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const t=Oh.exec(n);if(!t)throw new TypeError("Invalid RFC-3339 date-time value");const[c,f,i,h,r,s,u,d]=t,E=W(B(f)),$=Z(i,"month",1,12),F=Z(h,"day",1,31);return O(E,$,F,{hours:r,minutes:s,seconds:u,fractionalMilliseconds:d})},lh=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),xs=(n)=>{if(n===null||n===void 0)return;if(typeof n!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const t=lh.exec(n);if(!t)throw new TypeError("Invalid RFC-3339 date-time value");const[c,f,i,h,r,s,u,d,E]=t,$=W(B(f)),F=Z(i,"month",1,12),T=Z(h,"day",1,31),I=O($,F,T,{hours:r,minutes:s,seconds:u,fractionalMilliseconds:d});if(E.toUpperCase()!="Z")I.setTime(I.getTime()-ir(E));return I},ph=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$/),vh=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$/),qh=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})$/),ds=(n)=>{if(n===null||n===void 0)return;if(typeof n!=="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let t=ph.exec(n);if(t){const[c,f,i,h,r,s,u,d]=t;return O(W(B(h)),Gn(i),Z(f,"day",1,31),{hours:r,minutes:s,seconds:u,fractionalMilliseconds:d})}if(t=vh.exec(n),t){const[c,f,i,h,r,s,u,d]=t;return _h(O(ah(h),Gn(i),Z(f,"day",1,31),{hours:r,minutes:s,seconds:u,fractionalMilliseconds:d}))}if(t=qh.exec(n),t){const[c,f,i,h,r,s,u,d]=t;return O(W(B(d)),Gn(f),Z(i.trimLeft(),"day",1,31),{hours:h,minutes:r,seconds:s,fractionalMilliseconds:u})}throw new TypeError("Invalid RFC-7231 date-time value")};var O=(n,t,c,f)=>{const i=t-1;return tr(n,i,c),new Date(Date.UTC(n,i,c,Z(f.hours,"hour",0,23),Z(f.minutes,"minute",0,59),Z(f.seconds,"seconds",0,60),fr(f.fractionalMilliseconds)))},ah=(n)=>{const t=(new Date()).getUTCFullYear(),c=Math.floor(t/100)*100+W(B(n));if(c<t)return c+100;return c},mh=1576800000000,_h=(n)=>{if(n.getTime()-(new Date()).getTime()>mh)return new Date(Date.UTC(n.getUTCFullYear()-100,n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds()));return n},Gn=(n)=>{const t=Mn.indexOf(n);if(t<0)throw new TypeError(`Invalid month: ${n}`);return t+1},nr=[31,28,31,30,31,30,31,31,30,31,30,31],tr=(n,t,c)=>{let f=nr[t];if(t===1&&cr(n))f=29;if(c>f)throw new TypeError(`Invalid day for ${Mn[t]} in ${n}: ${c}`)},cr=(n)=>{return n%4===0&&(n%100!==0||n%400===0)},Z=(n,t,c,f)=>{const i=vc(B(n));if(i<c||i>f)throw new TypeError(`${t} must be between ${c} and ${f}, inclusive`);return i},fr=(n)=>{if(n===null||n===void 0)return 0;return pc("0."+n)*1000},ir=(n)=>{const t=n[0];let c=1;if(t=="+")c=1;else if(t=="-")c=-1;else throw new TypeError(`Offset direction, ${t}, must be "+" or "-"`);const f=Number(n.substring(1,3)),i=Number(n.substring(4,6));return c*(f*60+i)*60*1000},B=(n)=>{let t=0;while(t<n.length-1&&n.charAt(t)==="0")t++;if(t===0)return n;return n.slice(t)};var hr=({output:n,parsedBody:t,exceptionCtor:c,errorCode:f})=>{const i=rr(n),h=i.httpStatusCode?i.httpStatusCode+"":void 0,r=new c({name:t?.code||t?.Code||f||h||"UnknownError",$fault:"client",$metadata:i});throw vn(r,t)},Es=(n)=>{return({output:t,parsedBody:c,errorCode:f})=>{hr({output:t,parsedBody:c,exceptionCtor:n,errorCode:f})}},rr=(n)=>({httpStatusCode:n.statusCode,requestId:n.headers["x-amzn-requestid"]??n.headers["x-amzn-request-id"]??n.headers["x-amz-request-id"],extendedRequestId:n.headers["x-amz-id-2"],cfId:n.headers["x-amz-cf-id"]});var Us=(n)=>{switch(n){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 mc=!1,ys=(n)=>{if(n&&!mc&&parseInt(n.substring(1,n.indexOf(".")))<16)mc=!0};var Qn=Q(p(),1);var _c=(n)=>{const t=[];for(let c in Qn.AlgorithmId){const f=Qn.AlgorithmId[c];if(n[f]===void 0)continue;t.push({algorithmId:()=>f,checksumConstructor:()=>n[f]})}return{_checksumAlgorithms:t,addChecksumAlgorithm(c){this._checksumAlgorithms.push(c)},checksumAlgorithms(){return this._checksumAlgorithms}}},nf=(n)=>{const t={};return n.checksumAlgorithms().forEach((c)=>{t[c.algorithmId()]=c.checksumConstructor()}),t};var tf=(n)=>{let t=n.retryStrategy;return{setRetryStrategy(c){t=c},retryStrategy(){return t}}},cf=(n)=>{const t={};return t.retryStrategy=n.retryStrategy(),t};var Ss=(n)=>{return{..._c(n),...tf(n)}};var zs=(n)=>{return{...nf(n),...cf(n)}};function sr(n){return encodeURIComponent(n).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}var Kn=function(){const n=Object.getPrototypeOf(this).constructor,c=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(c,n.prototype),c};Kn.prototype=Object.create(String.prototype,{constructor:{value:Kn,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(Kn,String);function ur(n,t,c){let f,i,h;if(typeof t==="undefined"&&typeof c==="undefined")f={},h=n;else if(f=n,typeof t==="function")return i=t,h=c,wr(f,i,h);else h=t;for(let r of Object.keys(h)){if(!Array.isArray(h[r])){f[r]=h[r];continue}ff(f,null,h,r)}return f}var As=(n,t)=>{const c={};for(let f in t)ff(c,n,t,f);return c},wr=(n,t,c)=>{return ur(n,Object.entries(c).reduce((f,[i,h])=>{if(Array.isArray(h))f[i]=h;else if(typeof h==="function")f[i]=[t,h()];else f[i]=[t,h];return f},{}))},ff=(n,t,c,f)=>{if(t!==null){let r=c[f];if(typeof r==="function")r=[,r];const[s=$r,u=Tr,d=f]=r;if(typeof s==="function"&&s(t[d])||typeof s!=="function"&&!!s)n[f]=u(t[d]);return}let[i,h]=c[f];if(typeof h==="function"){let r;const s=i===void 0&&(r=h())!=null,u=typeof i==="function"&&!!i(void 0)||typeof i!=="function"&&!!i;if(s)n[f]=r;else if(u)n[f]=h()}else{const r=i===void 0&&h!=null,s=typeof i==="function"&&!!i(h)||typeof i!=="function"&&!!i;if(r||s)n[f]=h}},$r=(n)=>n!=null,Tr=(n)=>n;var Bs=(n)=>n.toISOString().replace(".000Z","Z");var hf=(n)=>{if(n==null)return{};if(Array.isArray(n))return n.filter((t)=>t!=null).map(hf);if(typeof n==="object"){const t={};for(let c of Object.keys(n)){if(n[c]==null)continue;t[c]=hf(n[c])}return t}return n};var xu=(n)=>{let t=n.httpHandler;return{setHttpHandler(c){t=c},httpHandler(){return t},updateHttpClientConfig(c,f){t.updateHttpClientConfig(c,f)},httpHandlerConfigs(){return t.httpHandlerConfigs()}}},du=(n)=>{return{httpHandler:n.httpHandler()}};var xr=Q(p(),1);var dr=function(n){return Object.keys(n).reduce((t,c)=>{const f=n[c];return{...t,[c]:Array.isArray(f)?[...f]:f}},{})};class Xn{constructor(n){this.method=n.method||"GET",this.hostname=n.hostname||"localhost",this.port=n.port,this.query=n.query||{},this.headers=n.headers||{},this.body=n.body,this.protocol=n.protocol?n.protocol.slice(-1)!==":"?`${n.protocol}:`:n.protocol:"https:",this.path=n.path?n.path.charAt(0)!=="/"?`/${n.path}`:n.path:"/",this.username=n.username,this.password=n.password,this.fragment=n.fragment}static clone(n){const t=new Xn({...n,headers:{...n.headers}});if(t.query)t.query=dr(t.query);return t}static isInstance(n){if(!n)return!1;const t=n;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&typeof t.query==="object"&&typeof t.headers==="object"}clone(){return Xn.clone(this)}}class $n{constructor(n){this.statusCode=n.statusCode,this.reason=n.reason,this.headers=n.headers||{},this.body=n.body}static isInstance(n){if(!n)return!1;const t=n;return typeof t.statusCode==="number"&&typeof t.headers==="object"}}var df=Q(j(),1);import{Agent as Tf,request as Er} from"http";import{Agent as xf,request as Ir} from"https";var rf=["ECONNRESET","EPIPE","ETIMEDOUT"];var An=(n)=>{const t={};for(let c of Object.keys(n)){const f=n[c];t[c]=Array.isArray(f)?f.join(","):f}return t};var sf=(n,t,c=0)=>{if(!c)return;const f=setTimeout(()=>{n.destroy(),t(Object.assign(new Error(`Socket timed out without establishing a connection within ${c} ms`),{name:"TimeoutError"}))},c);n.on("socket",(i)=>{if(i.connecting)i.on("connect",()=>{clearTimeout(f)});else clearTimeout(f)})};var uf=(n,{keepAlive:t,keepAliveMsecs:c})=>{if(t!==!0)return;n.on("socket",(f)=>{f.setKeepAlive(t,c||0)})};var wf=(n,t,c=0)=>{n.setTimeout(c,()=>{n.destroy(),t(Object.assign(new Error(`Connection timed out after ${c} ms`),{name:"TimeoutError"}))})};import{Readable as Fr} from"stream";async function Jn(n,t,c=$f){const f=t.headers??{},i=f.Expect||f.expect;let h=-1,r=!1;if(i==="100-continue")await Promise.race([new Promise((s)=>{h=Number(setTimeout(s,Math.max($f,c)))}),new Promise((s)=>{n.on("continue",()=>{clearTimeout(h),s()}),n.on("error",()=>{r=!0,clearTimeout(h),s()})})]);if(!r)Cr(n,t.body)}var Cr=function(n,t){if(t instanceof Fr){t.pipe(n);return}if(t){if(Buffer.isBuffer(t)||typeof t==="string"){n.end(t);return}const c=t;if(typeof c==="object"&&c.buffer&&typeof c.byteOffset==="number"&&typeof c.byteLength==="number"){n.end(Buffer.from(c.buffer,c.byteOffset,c.byteLength));return}n.end(Buffer.from(t));return}n.end()},$f=1000;class en{static create(n){if(typeof n?.handle==="function")return n;return new en(n)}static checkSocketUsage(n,t,c=console){const{sockets:f,requests:i,maxSockets:h}=n;if(typeof h!=="number"||h===Infinity)return t;const r=15000;if(Date.now()-r<t)return t;if(f&&i)for(let s in f){const u=f[s]?.length??0,d=i[s]?.length??0;if(u>=h&&d>=2*h)return c?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${u} and ${d} additional requests are enqueued.
4
- See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
5
- or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(n){this.socketWarningTimestamp=0,this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((t,c)=>{if(typeof n==="function")n().then((f)=>{t(this.resolveDefaultConfig(f))}).catch(c);else t(this.resolveDefaultConfig(n))})}resolveDefaultConfig(n){const{requestTimeout:t,connectionTimeout:c,socketTimeout:f,httpAgent:i,httpsAgent:h}=n||{};return{connectionTimeout:c,requestTimeout:t??f,httpAgent:(()=>{if(i instanceof Tf||typeof i?.destroy==="function")return i;return new Tf({keepAlive:!0,maxSockets:50,...i})})(),httpsAgent:(()=>{if(h instanceof xf||typeof h?.destroy==="function")return h;return new xf({keepAlive:!0,maxSockets:50,...h})})(),logger:console}}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(n,{abortSignal:t}={}){if(!this.config)this.config=await this.configProvider;let c;return new Promise((f,i)=>{let h=void 0;const r=async(w)=>{await h,clearTimeout(c),f(w)},s=async(w)=>{await h,clearTimeout(c),i(w)};if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(t?.aborted){const w=new Error("Request aborted");w.name="AbortError",s(w);return}const u=n.protocol==="https:",d=u?this.config.httpsAgent:this.config.httpAgent;c=setTimeout(()=>{this.socketWarningTimestamp=en.checkSocketUsage(d,this.socketWarningTimestamp,this.config.logger)},this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2000)+(this.config.connectionTimeout??1000));const E=df.buildQueryString(n.query||{});let $=void 0;if(n.username!=null||n.password!=null){const w=n.username??"",x=n.password??"";$=`${w}:${x}`}let F=n.path;if(E)F+=`?${E}`;if(n.fragment)F+=`#${n.fragment}`;const T={headers:n.headers,host:n.hostname,method:n.method,path:F,port:n.port,agent:d,auth:$},U=(u?Ir:Er)(T,(w)=>{const x=new $n({statusCode:w.statusCode||-1,reason:w.statusMessage,headers:An(w.headers),body:w});r({response:x})});if(U.on("error",(w)=>{if(rf.includes(w.code))s(Object.assign(w,{name:"TimeoutError"}));else s(w)}),sf(U,s,this.config.connectionTimeout),wf(U,s,this.config.requestTimeout),t){const w=()=>{U.destroy();const x=new Error("Request aborted");x.name="AbortError",s(x)};if(typeof t.addEventListener==="function"){const x=t;x.addEventListener("abort",w,{once:!0}),U.once("close",()=>x.removeEventListener("abort",w))}else t.onabort=w}const C=T.agent;if(typeof C==="object"&&"keepAlive"in C)uf(U,{keepAlive:C.keepAlive,keepAliveMsecs:C.keepAliveMsecs});h=Jn(U,n,this.config.requestTimeout).catch((w)=>{return clearTimeout(c),i(w)})})}updateHttpClientConfig(n,t){this.config=void 0,this.configProvider=this.configProvider.then((c)=>{return{...c,[n]:t}})}httpHandlerConfigs(){return this.config??{}}}var Ur=Q(j(),1);import{Writable as or} from"stream";class Wn extends or{constructor(){super(...arguments);this.bufferedBytes=[]}_write(n,t,c){this.bufferedBytes.push(n),c()}}async function Lr(n){const t=[],c=n.getReader();let f=!1,i=0;while(!f){const{done:s,value:u}=await c.read();if(u)t.push(u),i+=u.length;f=s}const h=new Uint8Array(i);let r=0;for(let s of t)h.set(s,r),r+=s.length;return h}var s0=(n)=>{if(yr(n))return Lr(n);return new Promise((t,c)=>{const f=new Wn;n.pipe(f),n.on("error",(i)=>{f.end(),c(i)}),f.on("error",c),f.on("finish",function(){const i=new Uint8Array(Buffer.concat(this.bufferedBytes));t(i)})})},yr=(n)=>typeof ReadableStream==="function"&&n instanceof ReadableStream;export{xu as z,du as A,Xn as B,$n as C,Df as D,xn as E,Lf as F,mn as G,b as H,m as I,nn as J,In as K,Vt as L,Tc as M,Hc as N,_r as O,On as P,Sr as Q,Zr as R,ts as S,Zn as T,kc as U,cs as V,fs as W,is as X,hs as Y,rs as Z,$s as _,Ts as $,xs as aa,ds as ba,pn as ca,vn as da,Es as ea,Us as fa,ys as ga,Ss as ha,zs as ia,sr as ja,ur as ka,As as la,Bs as ma,hf as na,en as oa,s0 as pa};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{y as K} from"./chunk-7ce930fe69575c87.js";import"./chunk-a0003b7feea6fae6.js";import{ib as v,jb as P} from"./chunk-a7a144f5e4772c35.js";import{kb as _} from"./chunk-3cbc1c9cdc091b43.js";import"./chunk-934ebff128f86ef1.js";var m=K(_(),1);import{parse as o} from"url";var z=K(_(),1);import{Buffer as a} from"buffer";import{request as n} from"http";function f(c){return new Promise((I,x)=>{const T=n({method:"GET",...c,hostname:c.hostname?.replace(/^\[(.+)\]$/,"$1")});T.on("error",(N)=>{x(Object.assign(new z.ProviderError("Unable to connect to instance metadata service"),N)),T.destroy()}),T.on("timeout",()=>{x(new z.ProviderError("TimeoutError from instance metadata service")),T.destroy()}),T.on("response",(N)=>{const{statusCode:O=400}=N;if(O<200||300<=O)x(Object.assign(new z.ProviderError("Error response received from instance metadata service"),{statusCode:O})),T.destroy();const u=[];N.on("data",(y)=>{u.push(y)}),N.on("end",()=>{I(a.concat(u)),T.destroy()})}),T.end()})}var D=(c)=>Boolean(c)&&typeof c==="object"&&typeof c.AccessKeyId==="string"&&typeof c.SecretAccessKey==="string"&&typeof c.Token==="string"&&typeof c.Expiration==="string",G=(c)=>({accessKeyId:c.AccessKeyId,secretAccessKey:c.SecretAccessKey,sessionToken:c.Token,expiration:new Date(c.Expiration),...c.AccountId&&{accountId:c.AccountId}});var fc=1000,uc=0,Q=({maxRetries:c=0,timeout:I=1000})=>({maxRetries:c,timeout:I});var J=(c,I)=>{let x=c();for(let T=0;T<I;T++)x=x.catch(c);return x};var Z="AWS_CONTAINER_CREDENTIALS_FULL_URI",L="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",B="AWS_CONTAINER_AUTHORIZATION_TOKEN",zc=(c={})=>{const{timeout:I,maxRetries:x}=Q(c);return()=>J(async()=>{const T=await d({logger:c.logger}),N=JSON.parse(await s(I,T));if(!D(N))throw new m.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:c.logger});return G(N)},x)},s=async(c,I)=>{if(process.env[B])I.headers={...I.headers,Authorization:process.env[B]};return(await f({...I,timeout:c})).toString()},g="169.254.170.2",l={localhost:!0,"127.0.0.1":!0},r={"http:":!0,"https:":!0},d=async({logger:c})=>{if(process.env[L])return{hostname:g,path:process.env[L]};if(process.env[Z]){const I=o(process.env[Z]);if(!I.hostname||!(I.hostname in l))throw new m.CredentialsProviderError(`${I.hostname} is not a valid container metadata service hostname`,{tryNextLink:!1,logger:c});if(!I.protocol||!(I.protocol in r))throw new m.CredentialsProviderError(`${I.protocol} is not a valid container metadata service protocol`,{tryNextLink:!1,logger:c});return{...I,port:I.port?parseInt(I.port,10):void 0}}throw new m.CredentialsProviderError("The container metadata credential provider cannot be used unless"+` the ${L} or ${Z} environment`+" variable is set",{tryNextLink:!1,logger:c})};var q=K(_(),1);var U=K(_(),1);class X extends U.CredentialsProviderError{constructor(c,I=!0){super(c,I);this.tryNextLink=I,this.name="InstanceMetadataV1FallbackError",Object.setPrototypeOf(this,X.prototype)}}var j;(function(c){c.IPv4="http://169.254.169.254",c.IPv6="http://[fd00:ec2::254]"})(j||(j={}));var t={environmentVariableSelector:(c)=>c["AWS_EC2_METADATA_SERVICE_ENDPOINT"],configFileSelector:(c)=>c["ec2_metadata_service_endpoint"],default:void 0};var S;(function(c){c.IPv4="IPv4",c.IPv6="IPv6"})(S||(S={}));var e="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE",i="ec2_metadata_service_endpoint_mode",F={environmentVariableSelector:(c)=>c[e],configFileSelector:(c)=>c[i],default:S.IPv4};var W=async()=>P(await cc()||await Ic()),cc=async()=>v(t)(),Ic=async()=>{const c=await v(F)();switch(c){case S.IPv4:return j.IPv4;case S.IPv6:return j.IPv6;default:throw new Error(`Unsupported endpoint mode: ${c}.`+` Select from ${Object.values(S)}`)}};var b=(c,I)=>{const x=300+Math.floor(Math.random()*300),T=new Date(Date.now()+x*1000);I.warn("Attempting credential expiration extension due to a credential service availability issue. A refresh of these "+`credentials will be attempted after ${new Date(T)}.\nFor more information, please visit: `+"https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html");const N=c.originalExpiration??c.expiration;return{...c,...N?{originalExpiration:N}:{},expiration:T}};var V=(c,I={})=>{const x=I?.logger||console;let T;return async()=>{let N;try{if(N=await c(),N.expiration&&N.expiration.getTime()<Date.now())N=b(N,x)}catch(O){if(T)x.warn("Credential renew failed: ",O),N=b(T,x);else throw O}return T=N,N}};var k="/latest/meta-data/iam/security-credentials/",Tc="/latest/api/token",H="AWS_EC2_METADATA_V1_DISABLED",R="ec2_metadata_v1_disabled",M="x-aws-ec2-metadata-token",oc=(c={})=>V(Nc(c),{logger:c.logger}),Nc=(c={})=>{let I=!1;const{logger:x,profile:T}=c,{timeout:N,maxRetries:O}=Q(c),u=async(y,E)=>{if(I||E.headers?.[M]==null){let w=!1,h=!1;const C=await v({environmentVariableSelector:(Y)=>{const $=Y[H];if(h=!!$&&$!=="false",$===void 0)throw new q.CredentialsProviderError(`${H} not set in env, checking config file next.`,{logger:c.logger});return h},configFileSelector:(Y)=>{const $=Y[R];return w=!!$&&$!=="false",w},default:!1},{profile:T})();if(c.ec2MetadataV1Disabled||C){const Y=[];if(c.ec2MetadataV1Disabled)Y.push("credential provider initialization (runtime option ec2MetadataV1Disabled)");if(w)Y.push(`config file profile (${R})`);if(h)Y.push(`process environment variable (${H})`);throw new X(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${Y.join(", ")}].`)}}const p=(await J(async()=>{let w;try{w=await Oc(E)}catch(h){if(h.statusCode===401)I=!1;throw h}return w},y)).trim();return J(async()=>{let w;try{w=await yc(p,E,c)}catch(h){if(h.statusCode===401)I=!1;throw h}return w},y)};return async()=>{const y=await W();if(I)return x?.debug("AWS SDK Instance Metadata","using v1 fallback (no token fetch)"),u(O,{...y,timeout:N});else{let E;try{E=(await xc({...y,timeout:N})).toString()}catch(A){if(A?.statusCode===400)throw Object.assign(A,{message:"EC2 Metadata token request returned error"});else if(A.message==="TimeoutError"||[403,404,405].includes(A.statusCode))I=!0;return x?.debug("AWS SDK Instance Metadata","using v1 fallback (initial)"),u(O,{...y,timeout:N})}return u(O,{...y,headers:{[M]:E},timeout:N})}}},xc=async(c)=>f({...c,path:Tc,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}}),Oc=async(c)=>(await f({...c,path:k})).toString(),yc=async(c,I,x)=>{const T=JSON.parse((await f({...I,path:k+c})).toString());if(!D(T))throw new q.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:x.logger});return G(T)};export{Q as providerConfigFromInit,f as httpRequest,W as getInstanceMetadataEndpoint,oc as fromInstanceMetadata,zc as fromContainerMetadata,j as Endpoint,L as ENV_CMDS_RELATIVE_URI,Z as ENV_CMDS_FULL_URI,B as ENV_CMDS_AUTH_TOKEN,fc as DEFAULT_TIMEOUT,uc as DEFAULT_MAX_RETRIES};
@@ -1 +0,0 @@
1
- class n extends Error{constructor(t,e=!0){let o,r=!0;if(typeof e==="boolean")o=void 0,r=e;else if(e!=null&&typeof e==="object")o=e.logger,r=e.tryNextLink??!0;super(t);this.name="ProviderError",this.tryNextLink=r,Object.setPrototypeOf(this,n.prototype),o?.debug?.(`@smithy/property-provider ${r?"->":"(!)"} ${t}`)}static from(t,e=!0){return Object.assign(new this(t.message,e),t)}}class u extends n{constructor(t,e=!0){super(t,e);this.name="CredentialsProviderError",Object.setPrototypeOf(this,u.prototype)}}class l extends n{constructor(t,e=!0){super(t,e);this.name="TokenProviderError",Object.setPrototypeOf(this,l.prototype)}}var v=(...t)=>async()=>{if(t.length===0)throw new n("No providers in chain");let e;for(let o of t)try{return await o()}catch(r){if(e=r,r?.tryNextLink)continue;throw r}throw e};var w=(t)=>()=>Promise.resolve(t);var b=(t,e,o)=>{let r,i,s,f=!1;const a=async()=>{if(!i)i=t();try{r=await i,s=!0,f=!1}finally{i=void 0}return r};if(e===void 0)return async(c)=>{if(!s||c?.forceRefresh)r=await a();return r};return async(c)=>{if(!s||c?.forceRefresh)r=await a();if(f)return r;if(o&&!o(r))return f=!0,r;if(e(r))return await a(),r;return r}};export{n as sb,u as tb,l as ub,v as vb,w as wb,b as xb};
@@ -1,3 +0,0 @@
1
- import{y as N,z as E} from"./chunk-7ce930fe69575c87.js";import{pb as k} from"./chunk-9501e589e3e86a96.js";var st=E((vs,Nt)=>{var{defineProperty:O,getOwnPropertyDescriptor:pr,getOwnPropertyNames:gr}=Object,mr=Object.prototype.hasOwnProperty,nt=(t,e)=>O(t,"name",{value:e,configurable:!0}),xr=(t,e)=>{for(var r in e)O(t,r,{get:e[r],enumerable:!0})},br=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of gr(e))if(!mr.call(t,s)&&s!==r)O(t,s,{get:()=>e[s],enumerable:!(n=pr(e,s))||n.enumerable})}return t},Er=(t)=>br(O({},"__esModule",{value:!0}),t),Mt={};xr(Mt,{escapeUri:()=>Ft,escapeUriPath:()=>$r});Nt.exports=Er(Mt);var Ft=nt((t)=>encodeURIComponent(t).replace(/[!'()*]/g,Tr),"escapeUri"),Tr=nt((t)=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`,"hexEncode"),$r=nt((t)=>t.split("/").map(Ft).join("/"),"escapeUriPath")});var ee=E((Eo,te)=>{var vt=function(t){return Object.keys(t).reduce((e,r)=>{const n=t[r];return{...e,[r]:Array.isArray(n)?[...n]:n}},{})},_t=function(t){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(t)},H=Object.defineProperty,Dr=Object.getOwnPropertyDescriptor,zr=Object.getOwnPropertyNames,Br=Object.prototype.hasOwnProperty,I=(t,e)=>H(t,"name",{value:e,configurable:!0}),Wr=(t,e)=>{for(var r in e)H(t,r,{get:e[r],enumerable:!0})},kr=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of zr(e))if(!Br.call(t,s)&&s!==r)H(t,s,{get:()=>e[s],enumerable:!(n=Dr(e,s))||n.enumerable})}return t},jr=(t)=>kr(H({},"__esModule",{value:!0}),t),Qt={};Wr(Qt,{Field:()=>Vr,Fields:()=>Zr,HttpRequest:()=>Gr,HttpResponse:()=>Hr,IHttpRequest:()=>Kt.HttpRequest,getHttpHandlerExtensionConfiguration:()=>Or,isValidHostname:()=>_t,resolveHttpHandlerRuntimeConfig:()=>Yr});te.exports=jr(Qt);var Or=I((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"),Yr=I((t)=>{return{httpHandler:t.httpHandler()}},"resolveHttpHandlerRuntimeConfig"),Kt=k(),Pt=class t{constructor({name:e,kind:r=Kt.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}};I(Pt,"Field");var Vr=Pt,Xt=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)}};I(Xt,"Fields");var Zr=Xt,Jt=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=vt(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)}};I(Jt,"HttpRequest");var Gr=Jt;I(vt,"cloneQuery");var qt=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"}};I(qt,"HttpResponse");var Hr=qt;I(_t,"isValidHostname")});var ie=E((To,se)=>{var ne=function(t){const e=[];for(let r of Object.keys(t).sort()){const n=t[r];if(r=ht.escapeUri(r),Array.isArray(n))for(let s=0,i=n.length;s<i;s++)e.push(`${r}=${ht.escapeUri(n[s])}`);else{let s=r;if(n||typeof n==="string")s+=`=${ht.escapeUri(n)}`;e.push(s)}}return e.join("&")},Q=Object.defineProperty,Qr=Object.getOwnPropertyDescriptor,Kr=Object.getOwnPropertyNames,Pr=Object.prototype.hasOwnProperty,Xr=(t,e)=>Q(t,"name",{value:e,configurable:!0}),Jr=(t,e)=>{for(var r in e)Q(t,r,{get:e[r],enumerable:!0})},vr=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of Kr(e))if(!Pr.call(t,s)&&s!==r)Q(t,s,{get:()=>e[s],enumerable:!(n=Qr(e,s))||n.enumerable})}return t},qr=(t)=>vr(Q({},"__esModule",{value:!0}),t),re={};Jr(re,{buildQueryString:()=>ne});se.exports=qr(re);var ht=st();Xr(ne,"buildQueryString")});var fe=E(($o,ce)=>{var{defineProperty:K,getOwnPropertyDescriptor:_r,getOwnPropertyNames:tn}=Object,en=Object.prototype.hasOwnProperty,rn=(t,e)=>K(t,"name",{value:e,configurable:!0}),nn=(t,e)=>{for(var r in e)K(t,r,{get:e[r],enumerable:!0})},sn=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of tn(e))if(!en.call(t,s)&&s!==r)K(t,s,{get:()=>e[s],enumerable:!(n=_r(e,s))||n.enumerable})}return t},on=(t)=>sn(K({},"__esModule",{value:!0}),t),oe={};nn(oe,{isArrayBuffer:()=>cn});ce.exports=on(oe);var cn=rn((t)=>typeof ArrayBuffer==="function"&&t instanceof ArrayBuffer||Object.prototype.toString.call(t)==="[object ArrayBuffer]","isArrayBuffer")});var X=E((Co,he)=>{var{defineProperty:P,getOwnPropertyDescriptor:fn,getOwnPropertyNames:an}=Object,un=Object.prototype.hasOwnProperty,ae=(t,e)=>P(t,"name",{value:e,configurable:!0}),hn=(t,e)=>{for(var r in e)P(t,r,{get:e[r],enumerable:!0})},dn=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of an(e))if(!un.call(t,s)&&s!==r)P(t,s,{get:()=>e[s],enumerable:!(n=fn(e,s))||n.enumerable})}return t},ln=(t)=>dn(P({},"__esModule",{value:!0}),t),ue={};hn(ue,{fromArrayBuffer:()=>wn,fromString:()=>pn});he.exports=ln(ue);var yn=fe(),dt=import.meta.require("buffer"),wn=ae((t,e=0,r=t.byteLength-e)=>{if(!yn.isArrayBuffer(t))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof t} (${t})`);return dt.Buffer.from(t,e,r)},"fromArrayBuffer"),pn=ae((t,e)=>{if(typeof t!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof t} (${t})`);return e?dt.Buffer.from(t,e):dt.Buffer.from(t)},"fromString")});var ye=E((de)=>{Object.defineProperty(de,"__esModule",{value:!0});de.fromBase64=void 0;var gn=X(),mn=/^[A-Za-z0-9+/]*={0,2}$/,xn=(t)=>{if(t.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!mn.exec(t))throw new TypeError("Invalid base64 string.");const e=gn.fromString(t,"base64");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)};de.fromBase64=xn});var xe=E((Ao,me)=>{var{defineProperty:J,getOwnPropertyDescriptor:bn,getOwnPropertyNames:En}=Object,Tn=Object.prototype.hasOwnProperty,lt=(t,e)=>J(t,"name",{value:e,configurable:!0}),$n=(t,e)=>{for(var r in e)J(t,r,{get:e[r],enumerable:!0})},Cn=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of En(e))if(!Tn.call(t,s)&&s!==r)J(t,s,{get:()=>e[s],enumerable:!(n=bn(e,s))||n.enumerable})}return t},Sn=(t)=>Cn(J({},"__esModule",{value:!0}),t),we={};$n(we,{fromUtf8:()=>ge,toUint8Array:()=>An,toUtf8:()=>In});me.exports=Sn(we);var pe=X(),ge=lt((t)=>{const e=pe.fromString(t,"utf8");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),An=lt((t)=>{if(typeof t==="string")return ge(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(t)},"toUint8Array"),In=lt((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 pe.fromArrayBuffer(t.buffer,t.byteOffset,t.byteLength).toString("utf8")},"toUtf8")});var Te=E((be)=>{Object.defineProperty(be,"__esModule",{value:!0});be.toBase64=void 0;var Un=X(),Mn=xe(),Fn=(t)=>{let e;if(typeof t==="string")e=Mn.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 Un.fromArrayBuffer(e.buffer,e.byteOffset,e.byteLength).toString("base64")};be.toBase64=Fn});var Se=E((Uo,v)=>{var{defineProperty:$e,getOwnPropertyDescriptor:Nn,getOwnPropertyNames:Ln}=Object,Rn=Object.prototype.hasOwnProperty,yt=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of Ln(e))if(!Rn.call(t,s)&&s!==r)$e(t,s,{get:()=>e[s],enumerable:!(n=Nn(e,s))||n.enumerable})}return t},Ce=(t,e,r)=>(yt(t,e,"default"),r&&yt(r,e,"default")),Dn=(t)=>yt($e({},"__esModule",{value:!0}),t),wt={};v.exports=Dn(wt);Ce(wt,ye(),v.exports);Ce(wt,Te(),v.exports)});var De=E((Mo,Re)=>{var Ue=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 Fe(t){const e=await Le(t),r=Zn.fromBase64(e);return new Uint8Array(r)}async function Ne(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 Le=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,zn=Object.getOwnPropertyDescriptor,Bn=Object.getOwnPropertyNames,Wn=Object.prototype.hasOwnProperty,S=(t,e)=>_(t,"name",{value:e,configurable:!0}),kn=(t,e)=>{for(var r in e)_(t,r,{get:e[r],enumerable:!0})},jn=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of Bn(e))if(!Wn.call(t,s)&&s!==r)_(t,s,{get:()=>e[s],enumerable:!(n=zn(e,s))||n.enumerable})}return t},On=(t)=>jn(_({},"__esModule",{value:!0}),t),Ie={};kn(Ie,{FetchHttpHandler:()=>Vn,keepAliveSupport:()=>q,streamCollector:()=>Gn});Re.exports=On(Ie);var Ae=ee(),Yn=ie();S(Ue,"requestTimeout");var q={supported:void 0},Me=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=Yn.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:m}=e,a=`${e.protocol}//${h}${e.hostname}${l?`:${l}`:""}${c}`,u=m==="GET"||m==="HEAD"?void 0:e.body,d={body:u,headers:new Headers(e.headers),method:m,credentials:i};if(u)d.duplex="half";if(typeof AbortController!=="undefined")d.signal=r;if(q.supported)d.keepalive=s;let g=S(()=>{},"removeSignalEventListener");const p=new Request(a,d),y=[fetch(p).then((f)=>{const w=f.headers,b={};for(let T of w.entries())b[T[0]]=T[1];if(f.body==null)return f.blob().then((T)=>({response:new Ae.HttpResponse({headers:b,reason:f.statusText,statusCode:f.status,body:T})}));return{response:new Ae.HttpResponse({headers:b,reason:f.statusText,statusCode:f.status,body:f.body})}}),Ue(n)];if(r)y.push(new Promise((f,w)=>{const b=S(()=>{const x=new Error("Request aborted");x.name="AbortError",w(x)},"onAbort");if(typeof r.addEventListener==="function"){const x=r;x.addEventListener("abort",b,{once:!0}),g=S(()=>x.removeEventListener("abort",b),"removeSignalEventListener")}else r.onabort=b}));return Promise.race(y).finally(g)}updateHttpClientConfig(e,r){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return n[e]=r,n})}httpHandlerConfigs(){return this.config??{}}};S(Me,"FetchHttpHandler");var Vn=Me,Zn=Se(),Gn=S((t)=>{if(typeof Blob==="function"&&t instanceof Blob)return Fe(t);return Ne(t)},"streamCollector");S(Fe,"collectBlob");S(Ne,"collectStream");S(Le,"readToBase64")});var Ye=E((Fo,Oe)=>{var ke=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},je=function(t){let e="";for(let r=0;r<t.byteLength;r++)e+=We[t[r]];return e},tt=Object.defineProperty,Hn=Object.getOwnPropertyDescriptor,Qn=Object.getOwnPropertyNames,Kn=Object.prototype.hasOwnProperty,ze=(t,e)=>tt(t,"name",{value:e,configurable:!0}),Pn=(t,e)=>{for(var r in e)tt(t,r,{get:e[r],enumerable:!0})},Xn=(t,e,r,n)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let s of Qn(e))if(!Kn.call(t,s)&&s!==r)tt(t,s,{get:()=>e[s],enumerable:!(n=Hn(e,s))||n.enumerable})}return t},Jn=(t)=>Xn(tt({},"__esModule",{value:!0}),t),Be={};Pn(Be,{fromHex:()=>ke,toHex:()=>je});Oe.exports=Jn(Be);var We={},pt={};for(let t=0;t<256;t++){let e=t.toString(16).toLowerCase();if(e.length===1)e=`0${e}`;We[t]=e,pt[e]=t}ze(ke,"fromHex");ze(je,"toHex")});var U=(t,e)=>{const r=[];if(t)r.push(t);if(e)for(let n of e)r.push(n);return r},A=(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)=>Ct[d.step]-Ct[u.step]||St[d.priority||"normal"]-St[u.priority||"normal"]),i=(a)=>{let u=!1;const d=(g)=>{const p=U(g.name,g.aliases);if(p.includes(a)){u=!0;for(let y of p)n.delete(y);return!1}return!0};return t=t.filter(d),e=e.filter(d),u},c=(a)=>{let u=!1;const d=(g)=>{if(g.middleware===a){u=!0;for(let p of U(g.name,g.aliases))n.delete(p);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?.(m.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=[],g={};return t.forEach((y)=>{const f={...y,before:[],after:[]};for(let w of U(f.name,f.aliases))g[w]=f;u.push(f)}),e.forEach((y)=>{const f={...y,before:[],after:[]};for(let w of U(f.name,f.aliases))g[w]=f;d.push(f)}),d.forEach((y)=>{if(y.toMiddleware){const f=g[y.toMiddleware];if(f===void 0){if(a)return;throw new Error(`${y.toMiddleware} is not found when adding `+`${A(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},[])},m={add:(a,u={})=>{const{name:d,override:g,aliases:p}=u,y={step:"initialize",priority:"normal",middleware:a,...u},f=U(d,p);if(f.length>0){if(f.some((w)=>n.has(w))){if(!g)throw new Error(`Duplicate middleware name '${A(d,p)}'`);for(let w of f){const b=t.findIndex((T)=>T.name===w||T.aliases?.some((et)=>et===w));if(b===-1)continue;const x=t[b];if(x.step!==y.step||y.priority!==x.priority)throw new Error(`"${A(x.name,x.aliases)}" middleware with `+`${x.priority} priority in ${x.step} step cannot `+`be overridden by "${A(d,p)}" middleware with `+`${y.priority} priority in ${y.step} step.`);t.splice(b,1)}}for(let w of f)n.add(w)}t.push(y)},addRelativeTo:(a,u)=>{const{name:d,override:g,aliases:p}=u,y={middleware:a,...u},f=U(d,p);if(f.length>0){if(f.some((w)=>n.has(w))){if(!g)throw new Error(`Duplicate middleware name '${A(d,p)}'`);for(let w of f){const b=e.findIndex((T)=>T.name===w||T.aliases?.some((et)=>et===w));if(b===-1)continue;const x=e[b];if(x.toMiddleware!==y.toMiddleware||x.relation!==y.relation)throw new Error(`"${A(x.name,x.aliases)}" middleware `+`${x.relation} "${x.toMiddleware}" middleware cannot be overridden `+`by "${A(d,p)}" middleware ${y.relation} `+`"${y.toMiddleware}" middleware.`);e.splice(b,1)}}for(let w of f)n.add(w)}e.push(y)},clone:()=>o(F()),use:(a)=>{a.applyToStack(m)},remove:(a)=>{if(typeof a==="string")return i(a);else return c(a)},removeByTag:(a)=>{let u=!1;const d=(g)=>{const{tags:p,name:y,aliases:f}=g;if(p&&p.includes(a)){const w=U(y,f);for(let b of w)n.delete(b);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 A(a.name,a.aliases)+" - "+u})},identifyOnResolve(a){if(typeof a==="boolean")r=a;return r},resolve:(a,u)=>{for(let d of l().map((g)=>g.middleware).reverse())a=d(a,u);if(r)console.log(m.identify());return a}};return m},Ct={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},St={high:3,normal:2,low:1};class lr{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()}}var At=N(k(),1);class It{constructor(){this.middlewareStack=F()}static classBuilder(){return new Ut}resolveMiddlewareWithContext(t,e,r,{middlewareFn:n,clientName:s,commandName:i,inputFilterSensitiveLog:c,outputFilterSensitiveLog:o,smithyContext:h,additionalContext:l,CommandCtor:m}){for(let p of n.bind(this)(m,t,e,r))this.middlewareStack.use(p);const a=t.concat(this.middlewareStack),{logger:u}=e,d={logger:u,clientName:s,commandName:i,inputFilterSensitiveLog:c,outputFilterSensitiveLog:o,[At.SMITHY_CONTEXT_KEY]:{commandInstance:this,...h},...l},{requestHandler:g}=e;return a.resolve((p)=>g.handle(p.request,r||{}),d)}}class Ut{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 It{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 Ls=(t)=>{let e=t.httpHandler;return{setHttpHandler(r){e=r},httpHandler(){return e},updateHttpClientConfig(r,n){e.updateHttpClientConfig(r,n)},httpHandlerConfigs(){return e.httpHandlerConfigs()}}},Rs=(t)=>{return{httpHandler:t.httpHandler()}};var yr=N(k(),1);var wr=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=wr(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 j{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=N(st(),1);function it(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 Wt,request as Ar} from"http";import{Agent as kt,request as Ir} from"https";var Lt=["ECONNRESET","EPIPE","ETIMEDOUT"];var ot=(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 Rt=(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 Dt=(t,{keepAlive:e,keepAliveMsecs:r})=>{if(e!==!0)return;t.on("socket",(n)=>{n.setKeepAlive(e,r||0)})};var zt=(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 Cr} from"stream";async function ct(t,e,r=Bt){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(Bt,r)))}),new Promise((o)=>{t.on("continue",()=>{clearTimeout(i),o()}),t.on("error",()=>{c=!0,clearTimeout(i),o()})})]);if(!c)Sr(t,e.body)}var Sr=function(t,e){if(e instanceof Cr){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()},Bt=1000;class ft{static create(t){if(typeof t?.handle==="function")return t;return new ft(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 Wt||typeof s?.destroy==="function")return s;return new Wt({keepAlive:!0,maxSockets:50,...s})})(),httpsAgent:(()=>{if(i instanceof kt||typeof i?.destroy==="function")return i;return new kt({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=ft.checkSocketUsage(l,this.socketWarningTimestamp,this.config.logger)},this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2000)+(this.config.connectionTimeout??1000));const m=it(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(m)u+=`?${m}`;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},p=(h?Ir:Ar)(d,(f)=>{const w=new j({statusCode:f.statusCode||-1,reason:f.statusMessage,headers:ot(f.headers),body:f});c({response:w})});if(p.on("error",(f)=>{if(Lt.includes(f.code))o(Object.assign(f,{name:"TimeoutError"}));else o(f)}),Rt(p,o,this.config.connectionTimeout),zt(p,o,this.config.requestTimeout),e){const f=()=>{p.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}),p.once("close",()=>w.removeEventListener("abort",f))}else e.onabort=f}const y=d.agent;if(typeof y==="object"&&"keepAlive"in y)Dt(p,{keepAlive:y.keepAlive,keepAliveMsecs:y.keepAliveMsecs});i=ct(p,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 Ur} from"stream";class at extends Ur{constructor(){super(...arguments);this.bufferedBytes=[]}_write(t,e,r){this.bufferedBytes.push(t),r()}}async function Fr(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 jt=(t)=>{if(Mr(t))return Fr(t);return new Promise((e,r)=>{const n=new at;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)})})},Mr=(t)=>typeof ReadableStream==="function"&&t instanceof ReadableStream;var Bi="***SensitiveInformation***";var ki=(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 Ot extends Error{constructor(t){super(t.message);Object.setPrototypeOf(this,Ot.prototype),this.name=t.name,this.$fault=t.$fault,this.$metadata=t.$metadata}}var Yt=(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 Nr{trace(){}debug(){}info(){}warn(){}error(){}}var Vt=(t)=>typeof ArrayBuffer==="function"&&t instanceof ArrayBuffer||Object.prototype.toString.call(t)==="[object ArrayBuffer]";import{Buffer as ut} from"buffer";var L=(t,e=0,r=t.byteLength-e)=>{if(!Vt(t))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof t} (${t})`);return ut.from(t,e,r)},V=(t,e)=>{if(typeof t!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof t} (${t})`);return e?ut.from(t,e):ut.from(t)};var Lr=/^[A-Za-z0-9+/]*={0,2}$/,Zt=(t)=>{if(t.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!Lr.exec(t))throw new TypeError("Invalid base64 string.");const e=V(t,"base64");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)};var R=(t)=>{const e=V(t,"utf8");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT)};var vi=(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 Z=(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 L(t.buffer,t.byteOffset,t.byteLength).toString("utf8")};var G=(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 L(e.buffer,e.byteOffset,e.byteLength).toString("base64")};function Gt(t,e="utf-8"){if(e==="base64")return G(t);return Z(t)}function Ht(t,e){if(e==="base64")return C.mutate(Zt(t));return C.mutate(R(t))}class C extends Uint8Array{static fromString(t,e="utf-8"){switch(typeof t){case"string":return Ht(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 Gt(this,t)}}import{Readable as Rr} from"stream";var xo=(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 Rr({read:()=>{}});return t.on("data",(m)=>{const a=n(m)||0;l.push(`${a.toString(16)}\r\n`),l.push(m),l.push("\r\n")}),t.on("end",async()=>{if(l.push("0\r\n"),o){const m=r(await h);l.push(`${i}:${m}\r\n`),l.push("\r\n")}l.push(null)}),l};import{Readable as gt} from"stream";import{TextDecoder as vn} from"util";var Ge=N(De(),1);var He=N(Ye(),1);var M=(t)=>typeof ReadableStream==="function"&&(t?.constructor?.name===ReadableStream.name||t instanceof ReadableStream);var Ve="The stream has already been transformed.",Qe=(t)=>{if(!Ze(t)&&!M(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(Ve);return e=!0,await Ge.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 G(i);else if(s==="hex")return He.toHex(i);else if(s===void 0||s==="utf8"||s==="utf-8")return Z(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(Ve);if(e=!0,Ze(t))return n(t);else if(M(t))return t;else throw new Error(`Cannot transform payload to web stream, got ${t}`)}})},Ze=(t)=>typeof Blob==="function"&&t instanceof Blob;var Ke="The stream has already been transformed.",Yo=(t)=>{if(!(t instanceof gt))try{return Qe(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(Ke);return e=!0,await jt(t)};return Object.assign(t,{transformToByteArray:r,transformToString:async(n)=>{const s=await r();if(n===void 0||Buffer.isEncoding(n))return L(s.buffer,s.byteOffset,s.byteLength).toString(n);else return new vn(n).decode(s)},transformToWebStream:()=>{if(e)throw new Error(Ke);if(t.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof gt.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,gt.toWeb(t)}})};import{PassThrough as Xe} from"stream";async function Pe(t){if(typeof t.stream==="function")t=t.stream();return t.tee()}async function Ko(t){if(M(t))return Pe(t);const e=new Xe,r=new Xe;return t.pipe(e),t.pipe(r),[e,r]}import{Writable as qn} from"stream";async function Je(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 _o=(t,e)=>{if(M(t))return Je(t,e);return new Promise((r,n)=>{const s=new ve;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 ve extends qn{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 ac=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 hc=(t)=>{switch(t){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${t}"`)}};var _n=(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))ir.warn(sr(`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),qe=(t)=>{const e=_n(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},mt=(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 _e=(t)=>xt(t,32),tr=(t)=>xt(t,16),er=(t)=>xt(t,8),xt=(t,e)=>{const r=mt(t);if(r!==void 0&&es(r,e)!==r)throw new TypeError(`Expected ${e}-bit integer, got ${t}`);return r},es=(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]}},dc=(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},lc=(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 ir.warn(sr(`Expected string, got ${typeof t}: ${t}`)),String(t);throw new TypeError(`Expected string, got ${typeof t}: ${t}`)};var rr=(t)=>{if(typeof t=="string")return qe(B(t));return qe(t)},rs=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,B=(t)=>{const e=t.match(rs);if(e===null||e[0].length!==t.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(t)};var wc=(t)=>{if(typeof t==="string")return mt(B(t));return mt(t)};var pc=(t)=>{if(typeof t==="string")return _e(B(t));return _e(t)},D=(t)=>{if(typeof t==="string")return tr(B(t));return tr(t)},nr=(t)=>{if(typeof t==="string")return er(B(t));return er(t)},sr=(t)=>{return String(new TypeError(t).stack||t).split("\n").slice(0,5).filter((e)=>!e.includes("stackTraceWarning")).join("\n")},ir={warn:console.warn};function bc(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}`,m=c<10?`0${c}`:`${c}`,a=o<10?`0${o}`:`${o}`;return`${ns[n]}, ${h} ${Et[r]} ${e} ${l}:${m}:${a} GMT`}var ns=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Et=["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]$/),Ec=(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,m=D(z(n)),a=$(s,"month",1,12),u=$(i,"day",1,31);return W(m,a,u,{hours:c,minutes:o,seconds:h,fractionalMilliseconds:l})},is=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),Tc=(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=is.exec(t);if(!e)throw new TypeError("Invalid RFC-3339 date-time value");const[r,n,s,i,c,o,h,l,m]=e,a=D(z(n)),u=$(s,"month",1,12),d=$(i,"day",1,31),g=W(a,u,d,{hours:c,minutes:o,seconds:h,fractionalMilliseconds:l});if(m.toUpperCase()!="Z")g.setTime(g.getTime()-ps(m));return g},os=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$/),cs=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$/),fs=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})$/),$c=(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=os.exec(t);if(e){const[r,n,s,i,c,o,h,l]=e;return W(D(z(i)),bt(s),$(n,"day",1,31),{hours:c,minutes:o,seconds:h,fractionalMilliseconds:l})}if(e=cs.exec(t),e){const[r,n,s,i,c,o,h,l]=e;return hs(W(as(i),bt(s),$(n,"day",1,31),{hours:c,minutes:o,seconds:h,fractionalMilliseconds:l}))}if(e=fs.exec(t),e){const[r,n,s,i,c,o,h,l]=e;return W(D(z(l)),bt(n),$(s.trimLeft(),"day",1,31),{hours:i,minutes:c,seconds:o,fractionalMilliseconds:h})}throw new TypeError("Invalid RFC-7231 date-time value")};var W=(t,e,r,n)=>{const s=e-1;return ls(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),ws(n.fractionalMilliseconds)))},as=(t)=>{const e=(new Date()).getUTCFullYear(),r=Math.floor(e/100)*100+D(z(t));if(r<e)return r+100;return r},us=1576800000000,hs=(t)=>{if(t.getTime()-(new Date()).getTime()>us)return new Date(Date.UTC(t.getUTCFullYear()-100,t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()));return t},bt=(t)=>{const e=Et.indexOf(t);if(e<0)throw new TypeError(`Invalid month: ${t}`);return e+1},ds=[31,28,31,30,31,30,31,31,30,31,30,31],ls=(t,e,r)=>{let n=ds[e];if(e===1&&ys(t))n=29;if(r>n)throw new TypeError(`Invalid day for ${Et[e]} in ${t}: ${r}`)},ys=(t)=>{return t%4===0&&(t%100!==0||t%400===0)},$=(t,e,r,n)=>{const s=nr(z(t));if(s<r||s>n)throw new TypeError(`${e} must be between ${r} and ${n}, inclusive`);return s},ws=(t)=>{if(t===null||t===void 0)return 0;return rr("0."+t)*1000},ps=(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},z=(t)=>{let e=0;while(e<t.length-1&&t.charAt(e)==="0")e++;if(e===0)return t;return t.slice(e)};var gs=({output:t,parsedBody:e,exceptionCtor:r,errorCode:n})=>{const s=ms(t),i=s.httpStatusCode?s.httpStatusCode+"":void 0,c=new r({name:e?.code||e?.Code||n||i||"UnknownError",$fault:"client",$metadata:s});throw Yt(c,e)},Ac=(t)=>{return({output:e,parsedBody:r,errorCode:n})=>{gs({output:e,parsedBody:r,exceptionCtor:t,errorCode:n})}},ms=(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 Uc=(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 or=!1,Fc=(t)=>{if(t&&!or&&parseInt(t.substring(1,t.indexOf(".")))<16)or=!0};var Tt=N(k(),1);var cr=(t)=>{const e=[];for(let r in Tt.AlgorithmId){const n=Tt.AlgorithmId[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}}},fr=(t)=>{const e={};return t.checksumAlgorithms().forEach((r)=>{e[r.algorithmId()]=r.checksumConstructor()}),e};var ar=(t)=>{let e=t.retryStrategy;return{setRetryStrategy(r){e=r},retryStrategy(){return e}}},ur=(t)=>{const e={};return e.retryStrategy=t.retryStrategy(),e};var Bc=(t)=>{return{...cr(t),...ar(t)}};var Wc=(t)=>{return{...fr(t),...ur(t)}};function xs(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}var $t=function(){const t=Object.getPrototypeOf(this).constructor,r=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(r,t.prototype),r};$t.prototype=Object.create(String.prototype,{constructor:{value:$t,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf($t,String);function bs(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,Es(n,s,i);else i=e;for(let c of Object.keys(i)){if(!Array.isArray(i[c])){n[c]=i[c];continue}hr(n,null,i,c)}return n}var Hc=(t,e)=>{const r={};for(let n in e)hr(r,t,e,n);return r},Es=(t,e,r)=>{return bs(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},{}))},hr=(t,e,r,n)=>{if(e!==null){let c=r[n];if(typeof c==="function")c=[,c];const[o=Ts,h=$s,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}},Ts=(t)=>t!=null,$s=(t)=>t;var Xc=(t)=>t.toISOString().replace(".000Z","Z");var dr=(t)=>{if(t==null)return{};if(Array.isArray(t))return t.filter((e)=>e!=null).map(dr);if(typeof t==="object"){const e={};for(let r of Object.keys(t)){if(t[r]==null)continue;e[r]=dr(t[r])}return e}return t};export{Ls as A,Rs as B,rt as C,j as D,Nr as E,lr as F,Vt as G,L as H,V as I,Zt as J,R as K,vi as L,Z as M,G as N,xo as O,st as P,ft as Q,jt as R,ee as S,ie as T,fe as U,X as V,xe as W,Se as X,De as Y,Ye as Z,Yo as _,Ko as $,_o as aa,ac as ba,It as ca,Bi as da,ki as ea,hc as fa,mt as ga,_e as ha,dc as ia,lc as ja,yc as ka,wc as la,pc as ma,bc as na,Ec as oa,Tc as pa,$c as qa,Ot as ra,Yt as sa,Ac as ta,Uc as ua,Fc as va,Bc as wa,Wc as xa,xs as ya,bs as za,Hc as Aa,Xc as Ba,dr as Ca};
@@ -1,2 +0,0 @@
1
- // @bun
2
- import"./chunk-7ce930fe69575c87.js";import{rb as E} from"./chunk-2a5b4dfab2e26e21.js";import{readFileSync as l} 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-b7c4dc1136fcaeb7.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 m="AWS_WEB_IDENTITY_TOKEN_FILE",S="AWS_ROLE_ARN",p="AWS_ROLE_SESSION_NAME",A=(e={})=>async()=>{e.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");const o=e?.webIdentityTokenFile??process.env[m],r=e?.roleArn??process.env[S],n=e?.roleSessionName??process.env[p];if(!o||!r)throw new E("Web identity configuration not specified",{logger:e.logger});return t({...e,webIdentityToken:l(o,{encoding:"ascii"}),roleArn:r,roleSessionName:n})()};export{t as fromWebToken,A as fromTokenFile};