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,18 +0,0 @@
1
- import{y as l1,z as K} from"./chunk-7ce930fe69575c87.js";import{C as x,D as xU,E as RL,H as $G,I as fF,L as EF,R as u8} from"./chunk-9113f22a5215c639.js";import{hb as f0} from"./chunk-a0003b7feea6fae6.js";import{ib as z0,jb as PU} from"./chunk-4cb19a9e82653084.js";import{pb as JF} from"./chunk-ff086fe014985526.js";import{vb as jU} from"./chunk-d26ffb7722e6df54.js";var X1=K((qz,EG)=>{var fG=function($,U,G){return{applyToStack:(W)=>{W.add(LG($,G),FG),W.add(XG($,U),ZG)}}},L1=Object.defineProperty,NF=Object.getOwnPropertyDescriptor,qF=Object.getOwnPropertyNames,jF=Object.prototype.hasOwnProperty,J$=($,U)=>L1($,"name",{value:U,configurable:!0}),PF=($,U)=>{for(var G in U)L1($,G,{get:U[G],enumerable:!0})},SF=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of qF(U))if(!jF.call($,w)&&w!==G)L1($,w,{get:()=>U[w],enumerable:!(W=NF(U,w))||W.enumerable})}return $},bF=($)=>SF(L1({},"__esModule",{value:!0}),$),WG={};PF(WG,{deserializerMiddleware:()=>LG,deserializerMiddlewareOption:()=>FG,getSerdePlugin:()=>fG,serializerMiddleware:()=>XG,serializerMiddlewareOption:()=>ZG});EG.exports=bF(WG);var LG=J$(($,U)=>(G)=>async(W)=>{const{response:w}=await G(W);try{const L=await U(w,$);return{response:w,output:L}}catch(L){if(Object.defineProperty(L,"$response",{value:w}),!("$metadata"in L)){if(L.message+="\n Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.",typeof L.$responseBodyText!=="undefined"){if(L.$response)L.$response.body=L.$responseBodyText}}throw L}},"deserializerMiddleware"),XG=J$(($,U)=>(G,W)=>async(w)=>{var L;const X=((L=W.endpointV2)==null?void 0:L.url)&&$.urlParser?async()=>$.urlParser(W.endpointV2.url):$.endpoint;if(!X)throw new Error("No valid endpoint provider available.");const F=await U(w.input,{...$,endpoint:X});return G({...w,request:F})},"serializerMiddleware"),FG={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},ZG={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};J$(fG,"getSerdePlugin")});var k0=K((jz,QG)=>{var{defineProperty:F1,getOwnPropertyDescriptor:hF,getOwnPropertyNames:DF}=Object,kF=Object.prototype.hasOwnProperty,RG=($,U)=>F1($,"name",{value:U,configurable:!0}),cF=($,U)=>{for(var G in U)F1($,G,{get:U[G],enumerable:!0})},vF=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of DF(U))if(!kF.call($,w)&&w!==G)F1($,w,{get:()=>U[w],enumerable:!(W=hF(U,w))||W.enumerable})}return $},xF=($)=>vF(F1({},"__esModule",{value:!0}),$),YG={};cF(YG,{getSmithyContext:()=>uF,normalizeProvider:()=>yF});QG.exports=xF(YG);var IG=f0(),uF=RG(($)=>$[IG.SMITHY_CONTEXT_KEY]||($[IG.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),yF=RG(($)=>{if(typeof $==="function")return $;const U=Promise.resolve($);return()=>U},"normalizeProvider")});var K$=K((Pz,MG)=>{var{defineProperty:Z1,getOwnPropertyDescriptor:_F,getOwnPropertyNames:dF}=Object,gF=Object.prototype.hasOwnProperty,E0=($,U)=>Z1($,"name",{value:U,configurable:!0}),pF=($,U)=>{for(var G in U)Z1($,G,{get:U[G],enumerable:!0})},lF=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of dF(U))if(!gF.call($,w)&&w!==G)Z1($,w,{get:()=>U[w],enumerable:!(W=_F(U,w))||W.enumerable})}return $},nF=($)=>lF(Z1({},"__esModule",{value:!0}),$),zG={};pF(zG,{CredentialsProviderError:()=>sF,ProviderError:()=>f1,TokenProviderError:()=>mF,chain:()=>iF,fromStatic:()=>rF,memoize:()=>oF});MG.exports=nF(zG);var JG=class $ extends Error{constructor(U,G=!0){var W;let w,L=!0;if(typeof G==="boolean")w=void 0,L=G;else if(G!=null&&typeof G==="object")w=G.logger,L=G.tryNextLink??!0;super(U);this.name="ProviderError",this.tryNextLink=L,Object.setPrototypeOf(this,$.prototype),(W=w==null?void 0:w.debug)==null||W.call(w,`@smithy/property-provider ${L?"->":"(!)"} ${U}`)}static from(U,G=!0){return Object.assign(new this(U.message,G),U)}};E0(JG,"ProviderError");var f1=JG,KG=class $ extends f1{constructor(U,G=!0){super(U,G);this.name="CredentialsProviderError",Object.setPrototypeOf(this,$.prototype)}};E0(KG,"CredentialsProviderError");var sF=KG,TG=class $ extends f1{constructor(U,G=!0){super(U,G);this.name="TokenProviderError",Object.setPrototypeOf(this,$.prototype)}};E0(TG,"TokenProviderError");var mF=TG,iF=E0((...$)=>async()=>{if($.length===0)throw new f1("No providers in chain");let U;for(let G of $)try{return await G()}catch(W){if(U=W,W==null?void 0:W.tryNextLink)continue;throw W}throw U},"chain"),rF=E0(($)=>()=>Promise.resolve($),"fromStatic"),oF=E0(($,U,G)=>{let W,w,L,X=!1;const F=E0(async()=>{if(!w)w=$();try{W=await w,L=!0,X=!1}finally{w=void 0}return W},"coalesceProvider");if(U===void 0)return async(Z)=>{if(!L||(Z==null?void 0:Z.forceRefresh))W=await F();return W};return async(Z)=>{if(!L||(Z==null?void 0:Z.forceRefresh))W=await F();if(X)return W;if(G&&!G(W))return X=!0,W;if(U(W))return await F(),W;return W}},"memoize")});var O0=K((OG)=>{Object.defineProperty(OG,"__esModule",{value:!0});OG.getHomeDir=void 0;var tF=import.meta.require("os"),aF=import.meta.require("path"),T$={},eF=()=>{if(process&&process.geteuid)return`${process.geteuid()}`;return"DEFAULT"},$2=()=>{const{HOME:$,USERPROFILE:U,HOMEPATH:G,HOMEDRIVE:W=`C:${aF.sep}`}=process.env;if($)return $;if(U)return U;if(G)return`${W}${G}`;const w=eF();if(!T$[w])T$[w]=tF.homedir();return T$[w]};OG.getHomeDir=$2});var M$=K((AG)=>{Object.defineProperty(AG,"__esModule",{value:!0});AG.getSSOTokenFilepath=void 0;var U2=import.meta.require("crypto"),G2=import.meta.require("path"),w2=O0(),W2=($)=>{const G=U2.createHash("sha1").update($).digest("hex");return G2.join(w2.getHomeDir(),".aws","sso","cache",`${G}.json`)};AG.getSSOTokenFilepath=W2});var NG=K((HG)=>{Object.defineProperty(HG,"__esModule",{value:!0});HG.getSSOTokenFromFile=void 0;var L2=import.meta.require("fs"),X2=M$(),{readFile:F2}=L2.promises,Z2=async($)=>{const U=X2.getSSOTokenFilepath($),G=await F2(U,"utf8");return JSON.parse(G)};HG.getSSOTokenFromFile=Z2});var B$=K((qG)=>{Object.defineProperty(qG,"__esModule",{value:!0});qG.slurpFile=void 0;var f2=import.meta.require("fs"),{readFile:E2}=f2.promises,O$={},I2=($,U)=>{if(!O$[$]||(U===null||U===void 0?void 0:U.ignoreCache))O$[$]=E2($,"utf8");return O$[$]};qG.slurpFile=I2});var C$=K((kz,v0)=>{var{defineProperty:R1,getOwnPropertyDescriptor:R2,getOwnPropertyNames:Y2}=Object,Q2=Object.prototype.hasOwnProperty,u=($,U)=>R1($,"name",{value:U,configurable:!0}),z2=($,U)=>{for(var G in U)R1($,G,{get:U[G],enumerable:!0})},A$=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of Y2(U))if(!Q2.call($,w)&&w!==G)R1($,w,{get:()=>U[w],enumerable:!(W=R2(U,w))||W.enumerable})}return $},H$=($,U,G)=>(A$($,U,"default"),G&&A$(G,U,"default")),J2=($)=>A$(R1({},"__esModule",{value:!0}),$),c0={};z2(c0,{CONFIG_PREFIX_SEPARATOR:()=>I0,DEFAULT_PROFILE:()=>hG,ENV_PROFILE:()=>bG,getProfileName:()=>K2,loadSharedConfigFiles:()=>kG,loadSsoSessionData:()=>S2,parseKnownFiles:()=>h2});v0.exports=J2(c0);H$(c0,O0(),v0.exports);var bG="AWS_PROFILE",hG="default",K2=u(($)=>$.profile||process.env[bG]||hG,"getProfileName");H$(c0,M$(),v0.exports);H$(c0,NG(),v0.exports);var E1=f0(),T2=u(($)=>Object.entries($).filter(([U])=>{const G=U.indexOf(I0);if(G===-1)return!1;return Object.values(E1.IniSectionType).includes(U.substring(0,G))}).reduce((U,[G,W])=>{const w=G.indexOf(I0),L=G.substring(0,w)===E1.IniSectionType.PROFILE?G.substring(w+1):G;return U[L]=W,U},{...$.default&&{default:$.default}}),"getConfigData"),I1=import.meta.require("path"),M2=O0(),O2="AWS_CONFIG_FILE",DG=u(()=>process.env[O2]||I1.join(M2.getHomeDir(),".aws","config"),"getConfigFilepath"),B2=O0(),A2="AWS_SHARED_CREDENTIALS_FILE",V2=u(()=>process.env[A2]||I1.join(B2.getHomeDir(),".aws","credentials"),"getCredentialsFilepath"),H2=O0(),C2=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,N2=["__proto__","profile __proto__"],V$=u(($)=>{const U={};let G,W;for(let w of $.split(/\r?\n/)){const L=w.split(/(^|\s)[;#]/)[0].trim();if(L[0]==="["&&L[L.length-1]==="]"){G=void 0,W=void 0;const F=L.substring(1,L.length-1),Z=C2.exec(F);if(Z){const[,f,,E]=Z;if(Object.values(E1.IniSectionType).includes(f))G=[f,E].join(I0)}else G=F;if(N2.includes(F))throw new Error(`Found invalid profile name "${F}"`)}else if(G){const F=L.indexOf("=");if(![0,-1].includes(F)){const[Z,f]=[L.substring(0,F).trim(),L.substring(F+1).trim()];if(f==="")W=Z;else{if(W&&w.trimStart()===w)W=void 0;U[G]=U[G]||{};const E=W?[W,Z].join(I0):Z;U[G][E]=f}}}}return U},"parseIni"),PG=B$(),SG=u(()=>({}),"swallowError"),I0=".",kG=u(async($={})=>{const{filepath:U=V2(),configFilepath:G=DG()}=$,W=H2.getHomeDir();let L=U;if(U.startsWith("~/"))L=I1.join(W,U.slice(2));let X=G;if(G.startsWith("~/"))X=I1.join(W,G.slice(2));const F=await Promise.all([PG.slurpFile(X,{ignoreCache:$.ignoreCache}).then(V$).then(T2).catch(SG),PG.slurpFile(L,{ignoreCache:$.ignoreCache}).then(V$).catch(SG)]);return{configFile:F[0],credentialsFile:F[1]}},"loadSharedConfigFiles"),q2=u(($)=>Object.entries($).filter(([U])=>U.startsWith(E1.IniSectionType.SSO_SESSION+I0)).reduce((U,[G,W])=>({...U,[G.substring(G.indexOf(I0)+1)]:W}),{}),"getSsoSessionData"),j2=B$(),P2=u(()=>({}),"swallowError"),S2=u(async($={})=>j2.slurpFile($.configFilepath??DG()).then(V$).then(q2).catch(P2),"loadSsoSessionData"),b2=u((...$)=>{const U={};for(let G of $)for(let[W,w]of Object.entries(G))if(U[W]!==void 0)Object.assign(U[W],w);else U[W]=w;return U},"mergeConfigFiles"),h2=u(async($)=>{const U=await kG($);return b2(U.configFile,U.credentialsFile)},"parseKnownFiles")});var uG=K((cz,xG)=>{var N$=function($){try{const U=new Set(Array.from($.match(/([A-Z_]){3,}/g)??[]));return U.delete("CONFIG"),U.delete("CONFIG_PREFIX_SEPARATOR"),U.delete("ENV"),[...U].join(", ")}catch(U){return $}},Y1=Object.defineProperty,D2=Object.getOwnPropertyDescriptor,k2=Object.getOwnPropertyNames,c2=Object.prototype.hasOwnProperty,B0=($,U)=>Y1($,"name",{value:U,configurable:!0}),v2=($,U)=>{for(var G in U)Y1($,G,{get:U[G],enumerable:!0})},x2=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of k2(U))if(!c2.call($,w)&&w!==G)Y1($,w,{get:()=>U[w],enumerable:!(W=D2(U,w))||W.enumerable})}return $},u2=($)=>x2(Y1({},"__esModule",{value:!0}),$),vG={};v2(vG,{loadConfig:()=>p2});xG.exports=u2(vG);var x0=K$();B0(N$,"getSelectorName");var y2=B0(($,U)=>async()=>{try{const G=$(process.env);if(G===void 0)throw new Error;return G}catch(G){throw new x0.CredentialsProviderError(G.message||`Not found in ENV: ${N$($.toString())}`,{logger:U})}},"fromEnv"),cG=C$(),_2=B0(($,{preferredFile:U="config",...G}={})=>async()=>{const W=cG.getProfileName(G),{configFile:w,credentialsFile:L}=await cG.loadSharedConfigFiles(G),X=L[W]||{},F=w[W]||{},Z=U==="config"?{...X,...F}:{...F,...X};try{const E=$(Z,U==="config"?w:L);if(E===void 0)throw new Error;return E}catch(f){throw new x0.CredentialsProviderError(f.message||`Not found in config files w/ profile [${W}]: ${N$($.toString())}`,{logger:G.logger})}},"fromSharedConfigFiles"),d2=B0(($)=>typeof $==="function","isFunction"),g2=B0(($)=>d2($)?async()=>await $():x0.fromStatic($),"fromStatic"),p2=B0(({environmentVariableSelector:$,configFileSelector:U,default:G},W={})=>x0.memoize(x0.chain(y2($),_2(U,W),g2(G))),"loadConfig")});var lG=K((gG)=>{Object.defineProperty(gG,"__esModule",{value:!0});gG.getEndpointUrlConfig=void 0;var yG=C$(),_G="AWS_ENDPOINT_URL",dG="endpoint_url",l2=($)=>({environmentVariableSelector:(U)=>{const G=$.split(" ").map((L)=>L.toUpperCase()),W=U[[_G,...G].join("_")];if(W)return W;const w=U[_G];if(w)return w;return},configFileSelector:(U,G)=>{if(G&&U.services){const w=G[["services",U.services].join(yG.CONFIG_PREFIX_SEPARATOR)];if(w){const L=$.split(" ").map((F)=>F.toLowerCase()),X=w[[L.join("_"),dG].join(yG.CONFIG_PREFIX_SEPARATOR)];if(X)return X}}const W=U[dG];if(W)return W;return},default:void 0});gG.getEndpointUrlConfig=l2});var mG=K((nG)=>{Object.defineProperty(nG,"__esModule",{value:!0});nG.getEndpointFromConfig=void 0;var n2=uG(),s2=lG(),m2=async($)=>n2.loadConfig(s2.getEndpointUrlConfig($))();nG.getEndpointFromConfig=m2});var tG=K((uz,oG)=>{var rG=function($){const U={};if($=$.replace(/^\?/,""),$)for(let G of $.split("&")){let[W,w=null]=G.split("=");if(W=decodeURIComponent(W),w)w=decodeURIComponent(w);if(!(W in U))U[W]=w;else if(Array.isArray(U[W]))U[W].push(w);else U[W]=[U[W],w]}return U},Q1=Object.defineProperty,i2=Object.getOwnPropertyDescriptor,r2=Object.getOwnPropertyNames,o2=Object.prototype.hasOwnProperty,t2=($,U)=>Q1($,"name",{value:U,configurable:!0}),a2=($,U)=>{for(var G in U)Q1($,G,{get:U[G],enumerable:!0})},e2=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of r2(U))if(!o2.call($,w)&&w!==G)Q1($,w,{get:()=>U[w],enumerable:!(W=i2(U,w))||W.enumerable})}return $},$Z=($)=>e2(Q1({},"__esModule",{value:!0}),$),iG={};a2(iG,{parseQueryString:()=>rG});oG.exports=$Z(iG);t2(rG,"parseQueryString")});var Uw=K((yz,$w)=>{var{defineProperty:z1,getOwnPropertyDescriptor:UZ,getOwnPropertyNames:GZ}=Object,wZ=Object.prototype.hasOwnProperty,WZ=($,U)=>z1($,"name",{value:U,configurable:!0}),LZ=($,U)=>{for(var G in U)z1($,G,{get:U[G],enumerable:!0})},XZ=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of GZ(U))if(!wZ.call($,w)&&w!==G)z1($,w,{get:()=>U[w],enumerable:!(W=UZ(U,w))||W.enumerable})}return $},FZ=($)=>XZ(z1({},"__esModule",{value:!0}),$),aG={};LZ(aG,{parseUrl:()=>eG});$w.exports=FZ(aG);var ZZ=tG(),eG=WZ(($)=>{if(typeof $==="string")return eG(new URL($));const{hostname:U,pathname:G,port:W,protocol:w,search:L}=$;let X;if(L)X=ZZ.parseQueryString(L);return{hostname:U,port:W?parseInt(W):void 0,protocol:w,path:G,query:X}},"parseUrl")});var fw=K((_z,Zw)=>{var{defineProperty:K1,getOwnPropertyDescriptor:fZ,getOwnPropertyNames:EZ}=Object,IZ=Object.prototype.hasOwnProperty,g=($,U)=>K1($,"name",{value:U,configurable:!0}),RZ=($,U)=>{for(var G in U)K1($,G,{get:U[G],enumerable:!0})},YZ=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of EZ(U))if(!IZ.call($,w)&&w!==G)K1($,w,{get:()=>U[w],enumerable:!(W=fZ(U,w))||W.enumerable})}return $},QZ=($)=>YZ(K1({},"__esModule",{value:!0}),$),ww={};RZ(ww,{endpointMiddleware:()=>Xw,endpointMiddlewareOptions:()=>Fw,getEndpointFromInstructions:()=>Ww,getEndpointPlugin:()=>HZ,resolveEndpointConfig:()=>CZ,resolveParams:()=>Lw,toEndpointV1:()=>q$});Zw.exports=QZ(ww);var zZ=g(async($)=>{const U=($==null?void 0:$.Bucket)||"";if(typeof $.Bucket==="string")$.Bucket=U.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(OZ(U)){if($.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!MZ(U)||U.indexOf(".")!==-1&&!String($.Endpoint).startsWith("http:")||U.toLowerCase()!==U||U.length<3)$.ForcePathStyle=!0;if($.DisableMultiRegionAccessPoints)$.disableMultiRegionAccessPoints=!0,$.DisableMRAP=!0;return $},"resolveParamsForS3"),JZ=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,KZ=/(\d+\.){3}\d+/,TZ=/\.\./,MZ=g(($)=>JZ.test($)&&!KZ.test($)&&!TZ.test($),"isDnsCompatibleBucketName"),OZ=g(($)=>{const[U,G,W,,,w]=$.split(":"),L=U==="arn"&&$.split(":").length>=6,X=Boolean(L&&G&&W&&w);if(L&&!X)throw new Error(`Invalid ARN: ${$} was an invalid ARN.`);return X},"isArnBucketName"),BZ=g(($,U,G)=>{const W=g(async()=>{const w=G[$]??G[U];if(typeof w==="function")return w();return w},"configProvider");if($==="credentialScope"||U==="CredentialScope")return async()=>{const w=typeof G.credentials==="function"?await G.credentials():G.credentials;return(w==null?void 0:w.credentialScope)??(w==null?void 0:w.CredentialScope)};if($==="accountId"||U==="AccountId")return async()=>{const w=typeof G.credentials==="function"?await G.credentials():G.credentials;return(w==null?void 0:w.accountId)??(w==null?void 0:w.AccountId)};if($==="endpoint"||U==="endpoint")return async()=>{const w=await W();if(w&&typeof w==="object"){if("url"in w)return w.url.href;if("hostname"in w){const{protocol:L,hostname:X,port:F,path:Z}=w;return`${L}//${X}${F?":"+F:""}${Z}`}}return w};return W},"createConfigValueProvider"),AZ=mG(),Gw=Uw(),q$=g(($)=>{if(typeof $==="object"){if("url"in $)return Gw.parseUrl($.url);return $}return Gw.parseUrl($)},"toEndpointV1"),Ww=g(async($,U,G,W)=>{if(!G.endpoint){const X=await AZ.getEndpointFromConfig(G.serviceId||"");if(X)G.endpoint=()=>Promise.resolve(q$(X))}const w=await Lw($,U,G);if(typeof G.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return G.endpointProvider(w,W)},"getEndpointFromInstructions"),Lw=g(async($,U,G)=>{var W;const w={},L=((W=U==null?void 0:U.getEndpointParameterInstructions)==null?void 0:W.call(U))||{};for(let[X,F]of Object.entries(L))switch(F.type){case"staticContextParams":w[X]=F.value;break;case"contextParams":w[X]=$[F.name];break;case"clientContextParams":case"builtInParams":w[X]=await BZ(F.name,X,G)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(F))}if(Object.keys(L).length===0)Object.assign(w,G);if(String(G.serviceId).toLowerCase()==="s3")await zZ(w);return w},"resolveParams"),J1=k0(),Xw=g(({config:$,instructions:U})=>{return(G,W)=>async(w)=>{var L,X,F;const Z=await Ww(w.input,{getEndpointParameterInstructions(){return U}},{...$},W);W.endpointV2=Z,W.authSchemes=(L=Z.properties)==null?void 0:L.authSchemes;const f=(X=W.authSchemes)==null?void 0:X[0];if(f){W.signing_region=f.signingRegion,W.signing_service=f.signingName;const E=J1.getSmithyContext(W),I=(F=E==null?void 0:E.selectedHttpAuthScheme)==null?void 0:F.httpAuthOption;if(I)I.signingProperties=Object.assign(I.signingProperties||{},{signing_region:f.signingRegion,signingRegion:f.signingRegion,signing_service:f.signingName,signingName:f.signingName,signingRegionSet:f.signingRegionSet},f.properties)}return G({...w})}},"endpointMiddleware"),VZ=X1(),Fw={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:VZ.serializerMiddlewareOption.name},HZ=g(($,U)=>({applyToStack:(G)=>{G.addRelativeTo(Xw({config:$,instructions:U}),Fw)}}),"getEndpointPlugin"),CZ=g(($)=>{const U=$.tls??!0,{endpoint:G}=$,W=G!=null?async()=>q$(await J1.normalizeProvider(G)()):void 0;return{...$,endpoint:W,tls:U,isCustomEndpoint:!!G,useDualstackEndpoint:J1.normalizeProvider($.useDualstackEndpoint??!1),useFipsEndpoint:J1.normalizeProvider($.useFipsEndpoint??!1)}},"resolveEndpointConfig")});var i=K((dz,Tw)=>{var zw=function($){return Object.keys($).reduce((U,G)=>{const W=$[G];return{...U,[G]:Array.isArray(W)?[...W]:W}},{})},Kw=function($){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test($)},T1=Object.defineProperty,NZ=Object.getOwnPropertyDescriptor,qZ=Object.getOwnPropertyNames,jZ=Object.prototype.hasOwnProperty,$0=($,U)=>T1($,"name",{value:U,configurable:!0}),PZ=($,U)=>{for(var G in U)T1($,G,{get:U[G],enumerable:!0})},SZ=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of qZ(U))if(!jZ.call($,w)&&w!==G)T1($,w,{get:()=>U[w],enumerable:!(W=NZ(U,w))||W.enumerable})}return $},bZ=($)=>SZ(T1({},"__esModule",{value:!0}),$),Ew={};PZ(Ew,{Field:()=>kZ,Fields:()=>cZ,HttpRequest:()=>vZ,HttpResponse:()=>xZ,IHttpRequest:()=>Iw.HttpRequest,getHttpHandlerExtensionConfiguration:()=>hZ,isValidHostname:()=>Kw,resolveHttpHandlerRuntimeConfig:()=>DZ});Tw.exports=bZ(Ew);var hZ=$0(($)=>{let U=$.httpHandler;return{setHttpHandler(G){U=G},httpHandler(){return U},updateHttpClientConfig(G,W){U.updateHttpClientConfig(G,W)},httpHandlerConfigs(){return U.httpHandlerConfigs()}}},"getHttpHandlerExtensionConfiguration"),DZ=$0(($)=>{return{httpHandler:$.httpHandler()}},"resolveHttpHandlerRuntimeConfig"),Iw=f0(),Rw=class ${constructor({name:U,kind:G=Iw.FieldPosition.HEADER,values:W=[]}){this.name=U,this.kind=G,this.values=W}add(U){this.values.push(U)}set(U){this.values=U}remove(U){this.values=this.values.filter((G)=>G!==U)}toString(){return this.values.map((U)=>U.includes(",")||U.includes(" ")?`"${U}"`:U).join(", ")}get(){return this.values}};$0(Rw,"Field");var kZ=Rw,Yw=class ${constructor({fields:U=[],encoding:G="utf-8"}){this.entries={},U.forEach(this.setField.bind(this)),this.encoding=G}setField(U){this.entries[U.name.toLowerCase()]=U}getField(U){return this.entries[U.toLowerCase()]}removeField(U){delete this.entries[U.toLowerCase()]}getByType(U){return Object.values(this.entries).filter((G)=>G.kind===U)}};$0(Yw,"Fields");var cZ=Yw,Qw=class ${constructor(U){this.method=U.method||"GET",this.hostname=U.hostname||"localhost",this.port=U.port,this.query=U.query||{},this.headers=U.headers||{},this.body=U.body,this.protocol=U.protocol?U.protocol.slice(-1)!==":"?`${U.protocol}:`:U.protocol:"https:",this.path=U.path?U.path.charAt(0)!=="/"?`/${U.path}`:U.path:"/",this.username=U.username,this.password=U.password,this.fragment=U.fragment}static clone(U){const G=new $({...U,headers:{...U.headers}});if(G.query)G.query=zw(G.query);return G}static isInstance(U){if(!U)return!1;const G=U;return"method"in G&&"protocol"in G&&"hostname"in G&&"path"in G&&typeof G.query==="object"&&typeof G.headers==="object"}clone(){return $.clone(this)}};$0(Qw,"HttpRequest");var vZ=Qw;$0(zw,"cloneQuery");var Jw=class ${constructor(U){this.statusCode=U.statusCode,this.reason=U.reason,this.headers=U.headers||{},this.body=U.body}static isInstance(U){if(!U)return!1;const G=U;return typeof G.statusCode==="number"&&typeof G.headers==="object"}};$0(Jw,"HttpResponse");var xZ=Jw;$0(Kw,"isValidHostname")});var j$=K((Mw)=>{var yZ=function($){return $&&$.__esModule?$:{default:$}},_Z=function(){if(M1>O1.length-16)uZ.default.randomFillSync(O1),M1=0;return O1.slice(M1,M1+=16)};Object.defineProperty(Mw,"__esModule",{value:!0});Mw.default=_Z;var uZ=yZ(import.meta.require("crypto")),O1=new Uint8Array(256),M1=O1.length});var Aw=K((Ow)=>{Object.defineProperty(Ow,"__esModule",{value:!0});Ow.default=void 0;var gZ=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;Ow.default=gZ});var u0=K((Vw)=>{var lZ=function($){return $&&$.__esModule?$:{default:$}},nZ=function($){return typeof $==="string"&&pZ.default.test($)};Object.defineProperty(Vw,"__esModule",{value:!0});Vw.default=void 0;var pZ=lZ(Aw()),sZ=nZ;Vw.default=sZ});var y0=K((Nw)=>{var iZ=function($){return $&&$.__esModule?$:{default:$}},Cw=function($,U=0){return h[$[U+0]]+h[$[U+1]]+h[$[U+2]]+h[$[U+3]]+"-"+h[$[U+4]]+h[$[U+5]]+"-"+h[$[U+6]]+h[$[U+7]]+"-"+h[$[U+8]]+h[$[U+9]]+"-"+h[$[U+10]]+h[$[U+11]]+h[$[U+12]]+h[$[U+13]]+h[$[U+14]]+h[$[U+15]]},rZ=function($,U=0){const G=Cw($,U);if(!mZ.default(G))throw TypeError("Stringified UUID is invalid");return G};Object.defineProperty(Nw,"__esModule",{value:!0});Nw.default=void 0;Nw.unsafeStringify=Cw;var mZ=iZ(u0()),h=[];for(let $=0;$<256;++$)h.push(($+256).toString(16).slice(1));var oZ=rZ;Nw.default=oZ});var bw=K((Pw)=>{var $f=function($){return $&&$.__esModule?$:{default:$}},Uf=function($,U,G){let W=U&&G||0;const w=U||new Array(16);$=$||{};let L=$.node||jw,X=$.clockseq!==void 0?$.clockseq:P$;if(L==null||X==null){const Y=$.random||($.rng||aZ.default)();if(L==null)L=jw=[Y[0]|1,Y[1],Y[2],Y[3],Y[4],Y[5]];if(X==null)X=P$=(Y[6]<<8|Y[7])&16383}let F=$.msecs!==void 0?$.msecs:Date.now(),Z=$.nsecs!==void 0?$.nsecs:b$+1;const f=F-S$+(Z-b$)/1e4;if(f<0&&$.clockseq===void 0)X=X+1&16383;if((f<0||F>S$)&&$.nsecs===void 0)Z=0;if(Z>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");S$=F,b$=Z,P$=X,F+=12219292800000;const E=((F&268435455)*1e4+Z)%4294967296;w[W++]=E>>>24&255,w[W++]=E>>>16&255,w[W++]=E>>>8&255,w[W++]=E&255;const I=F/4294967296*1e4&268435455;w[W++]=I>>>8&255,w[W++]=I&255,w[W++]=I>>>24&15|16,w[W++]=I>>>16&255,w[W++]=X>>>8|128,w[W++]=X&255;for(let Y=0;Y<6;++Y)w[W+Y]=L[Y];return U||eZ.unsafeStringify(w)};Object.defineProperty(Pw,"__esModule",{value:!0});Pw.default=void 0;var aZ=$f(j$()),eZ=y0(),jw,P$,S$=0,b$=0,Gf=Uf;Pw.default=Gf});var h$=K((hw)=>{var Wf=function($){return $&&$.__esModule?$:{default:$}},Lf=function($){if(!wf.default($))throw TypeError("Invalid UUID");let U;const G=new Uint8Array(16);return G[0]=(U=parseInt($.slice(0,8),16))>>>24,G[1]=U>>>16&255,G[2]=U>>>8&255,G[3]=U&255,G[4]=(U=parseInt($.slice(9,13),16))>>>8,G[5]=U&255,G[6]=(U=parseInt($.slice(14,18),16))>>>8,G[7]=U&255,G[8]=(U=parseInt($.slice(19,23),16))>>>8,G[9]=U&255,G[10]=(U=parseInt($.slice(24,36),16))/1099511627776&255,G[11]=U/4294967296&255,G[12]=U>>>24&255,G[13]=U>>>16&255,G[14]=U>>>8&255,G[15]=U&255,G};Object.defineProperty(hw,"__esModule",{value:!0});hw.default=void 0;var wf=Wf(u0()),Xf=Lf;hw.default=Xf});var D$=K((vw)=>{var ff=function($){return $&&$.__esModule?$:{default:$}},Ef=function($){$=unescape(encodeURIComponent($));const U=[];for(let G=0;G<$.length;++G)U.push($.charCodeAt(G));return U},If=function($,U,G){function W(w,L,X,F){var Z;if(typeof w==="string")w=Ef(w);if(typeof L==="string")L=Zf.default(L);if(((Z=L)===null||Z===void 0?void 0:Z.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let f=new Uint8Array(16+w.length);if(f.set(L),f.set(w,L.length),f=G(f),f[6]=f[6]&15|U,f[8]=f[8]&63|128,X){F=F||0;for(let E=0;E<16;++E)X[F+E]=f[E];return X}return Ff.unsafeStringify(f)}try{W.name=$}catch(w){}return W.DNS=kw,W.URL=cw,W};Object.defineProperty(vw,"__esModule",{value:!0});vw.URL=vw.DNS=void 0;vw.default=If;var Ff=y0(),Zf=ff(h$()),kw="6ba7b810-9dad-11d1-80b4-00c04fd430c8";vw.DNS=kw;var cw="6ba7b811-9dad-11d1-80b4-00c04fd430c8";vw.URL=cw});var _w=K((uw)=>{var zf=function($){return $&&$.__esModule?$:{default:$}},Jf=function($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return Qf.default.createHash("md5").update($).digest()};Object.defineProperty(uw,"__esModule",{value:!0});uw.default=void 0;var Qf=zf(import.meta.require("crypto")),Kf=Jf;uw.default=Kf});var lw=K((gw)=>{var dw=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(gw,"__esModule",{value:!0});gw.default=void 0;var Tf=dw(D$()),Mf=dw(_w()),Of=Tf.default("v3",48,Mf.default),Bf=Of;gw.default=Bf});var mw=K((nw)=>{var Vf=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(nw,"__esModule",{value:!0});nw.default=void 0;var Af=Vf(import.meta.require("crypto")),Hf={randomUUID:Af.default.randomUUID};nw.default=Hf});var aw=K((ow)=>{var rw=function($){return $&&$.__esModule?$:{default:$}},qf=function($,U,G){if(iw.default.randomUUID&&!U&&!$)return iw.default.randomUUID();$=$||{};const W=$.random||($.rng||Cf.default)();if(W[6]=W[6]&15|64,W[8]=W[8]&63|128,U){G=G||0;for(let w=0;w<16;++w)U[G+w]=W[w];return U}return Nf.unsafeStringify(W)};Object.defineProperty(ow,"__esModule",{value:!0});ow.default=void 0;var iw=rw(mw()),Cf=rw(j$()),Nf=y0(),jf=qf;ow.default=jf});var UW=K((ew)=>{var Sf=function($){return $&&$.__esModule?$:{default:$}},bf=function($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return Pf.default.createHash("sha1").update($).digest()};Object.defineProperty(ew,"__esModule",{value:!0});ew.default=void 0;var Pf=Sf(import.meta.require("crypto")),hf=bf;ew.default=hf});var LW=K((wW)=>{var GW=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(wW,"__esModule",{value:!0});wW.default=void 0;var Df=GW(D$()),kf=GW(UW()),cf=Df.default("v5",80,kf.default),vf=cf;wW.default=vf});var ZW=K((XW)=>{Object.defineProperty(XW,"__esModule",{value:!0});XW.default=void 0;var xf="00000000-0000-0000-0000-000000000000";XW.default=xf});var IW=K((fW)=>{var yf=function($){return $&&$.__esModule?$:{default:$}},_f=function($){if(!uf.default($))throw TypeError("Invalid UUID");return parseInt($.slice(14,15),16)};Object.defineProperty(fW,"__esModule",{value:!0});fW.default=void 0;var uf=yf(u0()),df=_f;fW.default=df});var k$=K((p)=>{var r=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(p,"__esModule",{value:!0});Object.defineProperty(p,"NIL",{enumerable:!0,get:function(){return sf.default}});Object.defineProperty(p,"parse",{enumerable:!0,get:function(){return tf.default}});Object.defineProperty(p,"stringify",{enumerable:!0,get:function(){return of.default}});Object.defineProperty(p,"v1",{enumerable:!0,get:function(){return gf.default}});Object.defineProperty(p,"v3",{enumerable:!0,get:function(){return pf.default}});Object.defineProperty(p,"v4",{enumerable:!0,get:function(){return lf.default}});Object.defineProperty(p,"v5",{enumerable:!0,get:function(){return nf.default}});Object.defineProperty(p,"validate",{enumerable:!0,get:function(){return rf.default}});Object.defineProperty(p,"version",{enumerable:!0,get:function(){return mf.default}});var gf=r(bw()),pf=r(lw()),lf=r(aw()),nf=r(LW()),sf=r(ZW()),mf=r(IW()),rf=r(u0()),of=r(y0()),tf=r(h$())});var c$=K((WJ,zW)=>{var{defineProperty:B1,getOwnPropertyDescriptor:af,getOwnPropertyNames:ef}=Object,$E=Object.prototype.hasOwnProperty,A0=($,U)=>B1($,"name",{value:U,configurable:!0}),UE=($,U)=>{for(var G in U)B1($,G,{get:U[G],enumerable:!0})},GE=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of ef(U))if(!$E.call($,w)&&w!==G)B1($,w,{get:()=>U[w],enumerable:!(W=af(U,w))||W.enumerable})}return $},wE=($)=>GE(B1({},"__esModule",{value:!0}),$),RW={};UE(RW,{isClockSkewCorrectedError:()=>YW,isClockSkewError:()=>EE,isRetryableByTrait:()=>fE,isServerError:()=>RE,isThrottlingError:()=>IE,isTransientError:()=>QW});zW.exports=wE(RW);var WE=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],LE=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],XE=["TimeoutError","RequestTimeout","RequestTimeoutException"],FE=[500,502,503,504],ZE=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],fE=A0(($)=>$.$retryable!==void 0,"isRetryableByTrait"),EE=A0(($)=>WE.includes($.name),"isClockSkewError"),YW=A0(($)=>{var U;return(U=$.$metadata)==null?void 0:U.clockSkewCorrected},"isClockSkewCorrectedError"),IE=A0(($)=>{var U,G;return((U=$.$metadata)==null?void 0:U.httpStatusCode)===429||LE.includes($.name)||((G=$.$retryable)==null?void 0:G.throttling)==!0},"isThrottlingError"),QW=A0(($)=>{var U;return YW($)||XE.includes($.name)||ZE.includes(($==null?void 0:$.code)||"")||FE.includes(((U=$.$metadata)==null?void 0:U.httpStatusCode)||0)},"isTransientError"),RE=A0(($)=>{var U;if(((U=$.$metadata)==null?void 0:U.httpStatusCode)!==void 0){const G=$.$metadata.httpStatusCode;if(500<=G&&G<=599&&!QW($))return!0;return!1}return!1},"isServerError")});var PW=K((LJ,jW)=>{var{defineProperty:A1,getOwnPropertyDescriptor:YE,getOwnPropertyNames:QE}=Object,zE=Object.prototype.hasOwnProperty,l=($,U)=>A1($,"name",{value:U,configurable:!0}),JE=($,U)=>{for(var G in U)A1($,G,{get:U[G],enumerable:!0})},KE=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of QE(U))if(!zE.call($,w)&&w!==G)A1($,w,{get:()=>U[w],enumerable:!(W=YE(U,w))||W.enumerable})}return $},TE=($)=>KE(A1({},"__esModule",{value:!0}),$),KW={};JE(KW,{AdaptiveRetryStrategy:()=>HE,ConfiguredRetryStrategy:()=>CE,DEFAULT_MAX_ATTEMPTS:()=>v$,DEFAULT_RETRY_DELAY_BASE:()=>_0,DEFAULT_RETRY_MODE:()=>ME,DefaultRateLimiter:()=>OW,INITIAL_RETRY_TOKENS:()=>x$,INVOCATION_ID_HEADER:()=>BE,MAXIMUM_RETRY_DELAY:()=>u$,NO_RETRY_INCREMENT:()=>HW,REQUEST_HEADER:()=>AE,RETRY_COST:()=>AW,RETRY_MODES:()=>TW,StandardRetryStrategy:()=>y$,THROTTLING_RETRY_DELAY_BASE:()=>BW,TIMEOUT_RETRY_COST:()=>VW});jW.exports=TE(KW);var TW=(($)=>{return $.STANDARD="standard",$.ADAPTIVE="adaptive",$})(TW||{}),v$=3,ME="standard",OE=c$(),MW=class ${constructor(U){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=(U==null?void 0:U.beta)??0.7,this.minCapacity=(U==null?void 0:U.minCapacity)??1,this.minFillRate=(U==null?void 0:U.minFillRate)??0.5,this.scaleConstant=(U==null?void 0:U.scaleConstant)??0.4,this.smooth=(U==null?void 0:U.smooth)??0.8;const G=this.getCurrentTimeInSeconds();this.lastThrottleTime=G,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1000}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(U){if(!this.enabled)return;if(this.refillTokenBucket(),U>this.currentCapacity){const G=(U-this.currentCapacity)/this.fillRate*1000;await new Promise((W)=>setTimeout(W,G))}this.currentCapacity=this.currentCapacity-U}refillTokenBucket(){const U=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=U;return}const G=(U-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+G),this.lastTimestamp=U}updateClientSendingRate(U){let G;if(this.updateMeasuredRate(),OE.isThrottlingError(U)){const w=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=w,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),G=this.cubicThrottle(w),this.enableTokenBucket()}else this.calculateTimeWindow(),G=this.cubicSuccess(this.getCurrentTimeInSeconds());const W=Math.min(G,2*this.measuredTxRate);this.updateTokenBucketRate(W)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(U){return this.getPrecise(U*this.beta)}cubicSuccess(U){return this.getPrecise(this.scaleConstant*Math.pow(U-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(U){this.refillTokenBucket(),this.fillRate=Math.max(U,this.minFillRate),this.maxCapacity=Math.max(U,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const U=this.getCurrentTimeInSeconds(),G=Math.floor(U*2)/2;if(this.requestCount++,G>this.lastTxRateBucket){const W=this.requestCount/(G-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(W*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=G}}getPrecise(U){return parseFloat(U.toFixed(8))}};l(MW,"DefaultRateLimiter");var OW=MW,_0=100,u$=20000,BW=500,x$=500,AW=5,VW=10,HW=1,BE="amz-sdk-invocation-id",AE="amz-sdk-request",VE=l(()=>{let $=_0;return{computeNextBackoffDelay:l((W)=>{return Math.floor(Math.min(u$,Math.random()*2**W*$))},"computeNextBackoffDelay"),setDelayBase:l((W)=>{$=W},"setDelayBase")}},"getDefaultRetryBackoffStrategy"),JW=l(({retryDelay:$,retryCount:U,retryCost:G})=>{return{getRetryCount:l(()=>U,"getRetryCount"),getRetryDelay:l(()=>Math.min(u$,$),"getRetryDelay"),getRetryCost:l(()=>G,"getRetryCost")}},"createDefaultRetryToken"),CW=class ${constructor(U){this.maxAttempts=U,this.mode="standard",this.capacity=x$,this.retryBackoffStrategy=VE(),this.maxAttemptsProvider=typeof U==="function"?U:async()=>U}async acquireInitialRetryToken(U){return JW({retryDelay:_0,retryCount:0})}async refreshRetryTokenForRetry(U,G){const W=await this.getMaxAttempts();if(this.shouldRetry(U,G,W)){const w=G.errorType;this.retryBackoffStrategy.setDelayBase(w==="THROTTLING"?BW:_0);const L=this.retryBackoffStrategy.computeNextBackoffDelay(U.getRetryCount()),X=G.retryAfterHint?Math.max(G.retryAfterHint.getTime()-Date.now()||0,L):L,F=this.getCapacityCost(w);return this.capacity-=F,JW({retryDelay:X,retryCount:U.getRetryCount()+1,retryCost:F})}throw new Error("No retry token available")}recordSuccess(U){this.capacity=Math.max(x$,this.capacity+(U.getRetryCost()??HW))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(U){return console.warn(`Max attempts provider could not resolve. Using default of ${v$}`),v$}}shouldRetry(U,G,W){return U.getRetryCount()+1<W&&this.capacity>=this.getCapacityCost(G.errorType)&&this.isRetryableError(G.errorType)}getCapacityCost(U){return U==="TRANSIENT"?VW:AW}isRetryableError(U){return U==="THROTTLING"||U==="TRANSIENT"}};l(CW,"StandardRetryStrategy");var y$=CW,NW=class ${constructor(U,G){this.maxAttemptsProvider=U,this.mode="adaptive";const{rateLimiter:W}=G??{};this.rateLimiter=W??new OW,this.standardRetryStrategy=new y$(U)}async acquireInitialRetryToken(U){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(U)}async refreshRetryTokenForRetry(U,G){return this.rateLimiter.updateClientSendingRate(G),this.standardRetryStrategy.refreshRetryTokenForRetry(U,G)}recordSuccess(U){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(U)}};l(NW,"AdaptiveRetryStrategy");var HE=NW,qW=class $ extends y${constructor(U,G=_0){super(typeof U==="function"?U:async()=>U);if(typeof G==="number")this.computeNextBackoffDelay=()=>G;else this.computeNextBackoffDelay=G}async refreshRetryTokenForRetry(U,G){const W=await super.refreshRetryTokenForRetry(U,G);return W.getRetryDelay=()=>this.computeNextBackoffDelay(W.getRetryCount()),W}};l(qW,"ConfiguredRetryStrategy");var CE=qW});var kW=K((XJ,DW)=>{var{defineProperty:V1,getOwnPropertyDescriptor:NE,getOwnPropertyNames:qE}=Object,jE=Object.prototype.hasOwnProperty,y=($,U)=>V1($,"name",{value:U,configurable:!0}),PE=($,U)=>{for(var G in U)V1($,G,{get:U[G],enumerable:!0})},SE=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of qE(U))if(!jE.call($,w)&&w!==G)V1($,w,{get:()=>U[w],enumerable:!(W=NE(U,w))||W.enumerable})}return $},bE=($)=>SE(V1({},"__esModule",{value:!0}),$),hW={};PE(hW,{constructStack:()=>_$});DW.exports=bE(hW);var R0=y(($,U)=>{const G=[];if($)G.push($);if(U)for(let W of U)G.push(W);return G},"getAllAliases"),U0=y(($,U)=>{return`${$||"anonymous"}${U&&U.length>0?` (a.k.a. ${U.join(",")})`:""}`},"getMiddlewareNameWithAliases"),_$=y(()=>{let $=[],U=[],G=!1;const W=new Set,w=y((I)=>I.sort((Y,R)=>SW[R.step]-SW[Y.step]||bW[R.priority||"normal"]-bW[Y.priority||"normal"]),"sort"),L=y((I)=>{let Y=!1;const R=y((Q)=>{const O=R0(Q.name,Q.aliases);if(O.includes(I)){Y=!0;for(let T of O)W.delete(T);return!1}return!0},"filterCb");return $=$.filter(R),U=U.filter(R),Y},"removeByName"),X=y((I)=>{let Y=!1;const R=y((Q)=>{if(Q.middleware===I){Y=!0;for(let O of R0(Q.name,Q.aliases))W.delete(O);return!1}return!0},"filterCb");return $=$.filter(R),U=U.filter(R),Y},"removeByReference"),F=y((I)=>{var Y;return $.forEach((R)=>{I.add(R.middleware,{...R})}),U.forEach((R)=>{I.addRelativeTo(R.middleware,{...R})}),(Y=I.identifyOnResolve)==null||Y.call(I,E.identifyOnResolve()),I},"cloneTo"),Z=y((I)=>{const Y=[];return I.before.forEach((R)=>{if(R.before.length===0&&R.after.length===0)Y.push(R);else Y.push(...Z(R))}),Y.push(I),I.after.reverse().forEach((R)=>{if(R.before.length===0&&R.after.length===0)Y.push(R);else Y.push(...Z(R))}),Y},"expandRelativeMiddlewareList"),f=y((I=!1)=>{const Y=[],R=[],Q={};return $.forEach((T)=>{const z={...T,before:[],after:[]};for(let M of R0(z.name,z.aliases))Q[M]=z;Y.push(z)}),U.forEach((T)=>{const z={...T,before:[],after:[]};for(let M of R0(z.name,z.aliases))Q[M]=z;R.push(z)}),R.forEach((T)=>{if(T.toMiddleware){const z=Q[T.toMiddleware];if(z===void 0){if(I)return;throw new Error(`${T.toMiddleware} is not found when adding ${U0(T.name,T.aliases)} middleware ${T.relation} ${T.toMiddleware}`)}if(T.relation==="after")z.after.push(T);if(T.relation==="before")z.before.push(T)}}),w(Y).map(Z).reduce((T,z)=>{return T.push(...z),T},[])},"getMiddlewareList"),E={add:(I,Y={})=>{const{name:R,override:Q,aliases:O}=Y,T={step:"initialize",priority:"normal",middleware:I,...Y},z=R0(R,O);if(z.length>0){if(z.some((M)=>W.has(M))){if(!Q)throw new Error(`Duplicate middleware name '${U0(R,O)}'`);for(let M of z){const B=$.findIndex((V)=>{var e;return V.name===M||((e=V.aliases)==null?void 0:e.some((Z0)=>Z0===M))});if(B===-1)continue;const A=$[B];if(A.step!==T.step||T.priority!==A.priority)throw new Error(`"${U0(A.name,A.aliases)}" middleware with ${A.priority} priority in ${A.step} step cannot be overridden by "${U0(R,O)}" middleware with ${T.priority} priority in ${T.step} step.`);$.splice(B,1)}}for(let M of z)W.add(M)}$.push(T)},addRelativeTo:(I,Y)=>{const{name:R,override:Q,aliases:O}=Y,T={middleware:I,...Y},z=R0(R,O);if(z.length>0){if(z.some((M)=>W.has(M))){if(!Q)throw new Error(`Duplicate middleware name '${U0(R,O)}'`);for(let M of z){const B=U.findIndex((V)=>{var e;return V.name===M||((e=V.aliases)==null?void 0:e.some((Z0)=>Z0===M))});if(B===-1)continue;const A=U[B];if(A.toMiddleware!==T.toMiddleware||A.relation!==T.relation)throw new Error(`"${U0(A.name,A.aliases)}" middleware ${A.relation} "${A.toMiddleware}" middleware cannot be overridden by "${U0(R,O)}" middleware ${T.relation} "${T.toMiddleware}" middleware.`);U.splice(B,1)}}for(let M of z)W.add(M)}U.push(T)},clone:()=>F(_$()),use:(I)=>{I.applyToStack(E)},remove:(I)=>{if(typeof I==="string")return L(I);else return X(I)},removeByTag:(I)=>{let Y=!1;const R=y((Q)=>{const{tags:O,name:T,aliases:z}=Q;if(O&&O.includes(I)){const M=R0(T,z);for(let B of M)W.delete(B);return Y=!0,!1}return!0},"filterCb");return $=$.filter(R),U=U.filter(R),Y},concat:(I)=>{var Y;const R=F(_$());return R.use(I),R.identifyOnResolve(G||R.identifyOnResolve()||(((Y=I.identifyOnResolve)==null?void 0:Y.call(I))??!1)),R},applyToStack:F,identify:()=>{return f(!0).map((I)=>{const Y=I.step??I.relation+" "+I.toMiddleware;return U0(I.name,I.aliases)+" - "+Y})},identifyOnResolve(I){if(typeof I==="boolean")G=I;return G},resolve:(I,Y)=>{for(let R of f().map((Q)=>Q.middleware).reverse())I=R(I,Y);if(G)console.log(E.identify());return I}};return E},"constructStack"),SW={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},bW={high:3,normal:2,low:1}});var d$=K((FJ,vW)=>{var{defineProperty:H1,getOwnPropertyDescriptor:hE,getOwnPropertyNames:DE}=Object,kE=Object.prototype.hasOwnProperty,cE=($,U)=>H1($,"name",{value:U,configurable:!0}),vE=($,U)=>{for(var G in U)H1($,G,{get:U[G],enumerable:!0})},xE=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of DE(U))if(!kE.call($,w)&&w!==G)H1($,w,{get:()=>U[w],enumerable:!(W=hE(U,w))||W.enumerable})}return $},uE=($)=>xE(H1({},"__esModule",{value:!0}),$),cW={};vE(cW,{isArrayBuffer:()=>yE});vW.exports=uE(cW);var yE=cE(($)=>typeof ArrayBuffer==="function"&&$ instanceof ArrayBuffer||Object.prototype.toString.call($)==="[object ArrayBuffer]","isArrayBuffer")});var d0=K((ZJ,yW)=>{var{defineProperty:C1,getOwnPropertyDescriptor:_E,getOwnPropertyNames:dE}=Object,gE=Object.prototype.hasOwnProperty,xW=($,U)=>C1($,"name",{value:U,configurable:!0}),pE=($,U)=>{for(var G in U)C1($,G,{get:U[G],enumerable:!0})},lE=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of dE(U))if(!gE.call($,w)&&w!==G)C1($,w,{get:()=>U[w],enumerable:!(W=_E(U,w))||W.enumerable})}return $},nE=($)=>lE(C1({},"__esModule",{value:!0}),$),uW={};pE(uW,{fromArrayBuffer:()=>mE,fromString:()=>iE});yW.exports=nE(uW);var sE=d$(),g$=import.meta.require("buffer"),mE=xW(($,U=0,G=$.byteLength-U)=>{if(!sE.isArrayBuffer($))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof $} (${$})`);return g$.Buffer.from($,U,G)},"fromArrayBuffer"),iE=xW(($,U)=>{if(typeof $!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof $} (${$})`);return U?g$.Buffer.from($,U):g$.Buffer.from($)},"fromString")});var gW=K((_W)=>{Object.defineProperty(_W,"__esModule",{value:!0});_W.fromBase64=void 0;var rE=d0(),oE=/^[A-Za-z0-9+/]*={0,2}$/,tE=($)=>{if($.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!oE.exec($))throw new TypeError("Invalid base64 string.");const U=rE.fromString($,"base64");return new Uint8Array(U.buffer,U.byteOffset,U.byteLength)};_W.fromBase64=tE});var G0=K((EJ,sW)=>{var{defineProperty:N1,getOwnPropertyDescriptor:aE,getOwnPropertyNames:eE}=Object,$I=Object.prototype.hasOwnProperty,p$=($,U)=>N1($,"name",{value:U,configurable:!0}),UI=($,U)=>{for(var G in U)N1($,G,{get:U[G],enumerable:!0})},GI=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of eE(U))if(!$I.call($,w)&&w!==G)N1($,w,{get:()=>U[w],enumerable:!(W=aE(U,w))||W.enumerable})}return $},wI=($)=>GI(N1({},"__esModule",{value:!0}),$),pW={};UI(pW,{fromUtf8:()=>nW,toUint8Array:()=>WI,toUtf8:()=>LI});sW.exports=wI(pW);var lW=d0(),nW=p$(($)=>{const U=lW.fromString($,"utf8");return new Uint8Array(U.buffer,U.byteOffset,U.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),WI=p$(($)=>{if(typeof $==="string")return nW($);if(ArrayBuffer.isView($))return new Uint8Array($.buffer,$.byteOffset,$.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array($)},"toUint8Array"),LI=p$(($)=>{if(typeof $==="string")return $;if(typeof $!=="object"||typeof $.byteOffset!=="number"||typeof $.byteLength!=="number")throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return lW.fromArrayBuffer($.buffer,$.byteOffset,$.byteLength).toString("utf8")},"toUtf8")});var rW=K((mW)=>{Object.defineProperty(mW,"__esModule",{value:!0});mW.toBase64=void 0;var XI=d0(),FI=G0(),ZI=($)=>{let U;if(typeof $==="string")U=FI.fromUtf8($);else U=$;if(typeof U!=="object"||typeof U.byteOffset!=="number"||typeof U.byteLength!=="number")throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return XI.fromArrayBuffer(U.buffer,U.byteOffset,U.byteLength).toString("base64")};mW.toBase64=ZI});var j1=K((RJ,q1)=>{var{defineProperty:oW,getOwnPropertyDescriptor:fI,getOwnPropertyNames:EI}=Object,II=Object.prototype.hasOwnProperty,l$=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of EI(U))if(!II.call($,w)&&w!==G)oW($,w,{get:()=>U[w],enumerable:!(W=fI(U,w))||W.enumerable})}return $},tW=($,U,G)=>(l$($,U,"default"),G&&l$(G,U,"default")),RI=($)=>l$(oW({},"__esModule",{value:!0}),$),n$={};q1.exports=RI(n$);tW(n$,gW(),q1.exports);tW(n$,rW(),q1.exports)});var $8=K((aW)=>{Object.defineProperty(aW,"__esModule",{value:!0});aW.getAwsChunkedEncodingStream=void 0;var YI=import.meta.require("stream"),QI=($,U)=>{const{base64Encoder:G,bodyLengthChecker:W,checksumAlgorithmFn:w,checksumLocationName:L,streamHasher:X}=U,F=G!==void 0&&w!==void 0&&L!==void 0&&X!==void 0,Z=F?X(w,$):void 0,f=new YI.Readable({read:()=>{}});return $.on("data",(E)=>{const I=W(E)||0;f.push(`${I.toString(16)}\r\n`),f.push(E),f.push("\r\n")}),$.on("end",async()=>{if(f.push("0\r\n"),F){const E=G(await Z);f.push(`${L}:${E}\r\n`),f.push("\r\n")}f.push(null)}),f};aW.getAwsChunkedEncodingStream=QI});var m$=K((QJ,w8)=>{var{defineProperty:P1,getOwnPropertyDescriptor:zI,getOwnPropertyNames:JI}=Object,KI=Object.prototype.hasOwnProperty,s$=($,U)=>P1($,"name",{value:U,configurable:!0}),TI=($,U)=>{for(var G in U)P1($,G,{get:U[G],enumerable:!0})},MI=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of JI(U))if(!KI.call($,w)&&w!==G)P1($,w,{get:()=>U[w],enumerable:!(W=zI(U,w))||W.enumerable})}return $},OI=($)=>MI(P1({},"__esModule",{value:!0}),$),U8={};TI(U8,{escapeUri:()=>G8,escapeUriPath:()=>AI});w8.exports=OI(U8);var G8=s$(($)=>encodeURIComponent($).replace(/[!'()*]/g,BI),"escapeUri"),BI=s$(($)=>`%${$.charCodeAt(0).toString(16).toUpperCase()}`,"hexEncode"),AI=s$(($)=>$.split("/").map(G8).join("/"),"escapeUriPath")});var r$=K((zJ,X8)=>{var L8=function($){const U=[];for(let G of Object.keys($).sort()){const W=$[G];if(G=i$.escapeUri(G),Array.isArray(W))for(let w=0,L=W.length;w<L;w++)U.push(`${G}=${i$.escapeUri(W[w])}`);else{let w=G;if(W||typeof W==="string")w+=`=${i$.escapeUri(W)}`;U.push(w)}}return U.join("&")},S1=Object.defineProperty,VI=Object.getOwnPropertyDescriptor,HI=Object.getOwnPropertyNames,CI=Object.prototype.hasOwnProperty,NI=($,U)=>S1($,"name",{value:U,configurable:!0}),qI=($,U)=>{for(var G in U)S1($,G,{get:U[G],enumerable:!0})},jI=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of HI(U))if(!CI.call($,w)&&w!==G)S1($,w,{get:()=>U[w],enumerable:!(W=VI(U,w))||W.enumerable})}return $},PI=($)=>jI(S1({},"__esModule",{value:!0}),$),W8={};qI(W8,{buildQueryString:()=>L8});X8.exports=PI(W8);var i$=m$();NI(L8,"buildQueryString")});var V8=K((JJ,A8)=>{async function a$($,U,G=F8){const W=U.headers??{},w=W.Expect||W.expect;let L=-1,X=!1;if(w==="100-continue")await Promise.race([new Promise((F)=>{L=Number(setTimeout(F,Math.max(F8,G)))}),new Promise((F)=>{$.on("continue",()=>{clearTimeout(L),F()}),$.on("error",()=>{X=!0,clearTimeout(L),F()})})]);if(!X)z8($,U.body)}var z8=function($,U){if(U instanceof Q8.Readable){U.pipe($);return}if(U){if(Buffer.isBuffer(U)||typeof U==="string"){$.end(U);return}const G=U;if(typeof G==="object"&&G.buffer&&typeof G.byteOffset==="number"&&typeof G.byteLength==="number"){$.end(Buffer.from(G.buffer,G.byteOffset,G.byteLength));return}$.end(Buffer.from(U));return}$.end()};async function B8($){const U=[],G=$.getReader();let W=!1,w=0;while(!W){const{done:F,value:Z}=await G.read();if(Z)U.push(Z),w+=Z.length;W=F}const L=new Uint8Array(w);let X=0;for(let F of U)L.set(F,X),X+=F.length;return L}var{create:SI,defineProperty:g0,getOwnPropertyDescriptor:bI,getOwnPropertyNames:hI,getPrototypeOf:DI}=Object,kI=Object.prototype.hasOwnProperty,j=($,U)=>g0($,"name",{value:U,configurable:!0}),cI=($,U)=>{for(var G in U)g0($,G,{get:U[G],enumerable:!0})},f8=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of hI(U))if(!kI.call($,w)&&w!==G)g0($,w,{get:()=>U[w],enumerable:!(W=bI(U,w))||W.enumerable})}return $},vI=($,U,G)=>(G=$!=null?SI(DI($)):{},f8(U||!$||!$.__esModule?g0(G,"default",{value:$,enumerable:!0}):G,$)),xI=($)=>f8(g0({},"__esModule",{value:!0}),$),E8={};cI(E8,{DEFAULT_REQUEST_TIMEOUT:()=>gI,NodeHttp2Handler:()=>mI,NodeHttpHandler:()=>pI,streamCollector:()=>rI});A8.exports=xI(E8);var I8=i(),R8=r$(),o$=import.meta.require("http"),t$=import.meta.require("https"),uI=["ECONNRESET","EPIPE","ETIMEDOUT"],Y8=j(($)=>{const U={};for(let G of Object.keys($)){const W=$[G];U[G]=Array.isArray(W)?W.join(","):W}return U},"getTransformedHeaders"),yI=j(($,U,G=0)=>{if(!G)return;const W=setTimeout(()=>{$.destroy(),U(Object.assign(new Error(`Socket timed out without establishing a connection within ${G} ms`),{name:"TimeoutError"}))},G);$.on("socket",(w)=>{if(w.connecting)w.on("connect",()=>{clearTimeout(W)});else clearTimeout(W)})},"setConnectionTimeout"),_I=j(($,{keepAlive:U,keepAliveMsecs:G})=>{if(U!==!0)return;$.on("socket",(W)=>{W.setKeepAlive(U,G||0)})},"setSocketKeepAlive"),dI=j(($,U,G=0)=>{$.setTimeout(G,()=>{$.destroy(),U(Object.assign(new Error(`Connection timed out after ${G} ms`),{name:"TimeoutError"}))})},"setSocketTimeout"),Q8=import.meta.require("stream"),F8=1000;j(a$,"writeRequestBody");j(z8,"writeBody");var gI=0,J8=class ${constructor(U){this.socketWarningTimestamp=0,this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((G,W)=>{if(typeof U==="function")U().then((w)=>{G(this.resolveDefaultConfig(w))}).catch(W);else G(this.resolveDefaultConfig(U))})}static create(U){if(typeof(U==null?void 0:U.handle)==="function")return U;return new $(U)}static checkSocketUsage(U,G,W=console){var w,L,X;const{sockets:F,requests:Z,maxSockets:f}=U;if(typeof f!=="number"||f===Infinity)return G;const E=15000;if(Date.now()-E<G)return G;if(F&&Z)for(let I in F){const Y=((w=F[I])==null?void 0:w.length)??0,R=((L=Z[I])==null?void 0:L.length)??0;if(Y>=f&&R>=2*f)return(X=W==null?void 0:W.warn)==null||X.call(W,`@smithy/node-http-handler:WARN - socket usage at capacity=${Y} and ${R} 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 G}resolveDefaultConfig(U){const{requestTimeout:G,connectionTimeout:W,socketTimeout:w,httpAgent:L,httpsAgent:X}=U||{};return{connectionTimeout:W,requestTimeout:G??w,httpAgent:(()=>{if(L instanceof o$.Agent||typeof(L==null?void 0:L.destroy)==="function")return L;return new o$.Agent({keepAlive:!0,maxSockets:50,...L})})(),httpsAgent:(()=>{if(X instanceof t$.Agent||typeof(X==null?void 0:X.destroy)==="function")return X;return new t$.Agent({keepAlive:!0,maxSockets:50,...X})})(),logger:console}}destroy(){var U,G,W,w;(G=(U=this.config)==null?void 0:U.httpAgent)==null||G.destroy(),(w=(W=this.config)==null?void 0:W.httpsAgent)==null||w.destroy()}async handle(U,{abortSignal:G}={}){if(!this.config)this.config=await this.configProvider;let W;return new Promise((w,L)=>{let X=void 0;const F=j(async(M)=>{await X,clearTimeout(W),w(M)},"resolve"),Z=j(async(M)=>{await X,clearTimeout(W),L(M)},"reject");if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(G==null?void 0:G.aborted){const M=new Error("Request aborted");M.name="AbortError",Z(M);return}const f=U.protocol==="https:",E=f?this.config.httpsAgent:this.config.httpAgent;W=setTimeout(()=>{this.socketWarningTimestamp=$.checkSocketUsage(E,this.socketWarningTimestamp,this.config.logger)},this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2000)+(this.config.connectionTimeout??1000));const I=R8.buildQueryString(U.query||{});let Y=void 0;if(U.username!=null||U.password!=null){const M=U.username??"",B=U.password??"";Y=`${M}:${B}`}let R=U.path;if(I)R+=`?${I}`;if(U.fragment)R+=`#${U.fragment}`;const Q={headers:U.headers,host:U.hostname,method:U.method,path:R,port:U.port,agent:E,auth:Y},T=(f?t$.request:o$.request)(Q,(M)=>{const B=new I8.HttpResponse({statusCode:M.statusCode||-1,reason:M.statusMessage,headers:Y8(M.headers),body:M});F({response:B})});if(T.on("error",(M)=>{if(uI.includes(M.code))Z(Object.assign(M,{name:"TimeoutError"}));else Z(M)}),yI(T,Z,this.config.connectionTimeout),dI(T,Z,this.config.requestTimeout),G){const M=j(()=>{T.destroy();const B=new Error("Request aborted");B.name="AbortError",Z(B)},"onAbort");if(typeof G.addEventListener==="function"){const B=G;B.addEventListener("abort",M,{once:!0}),T.once("close",()=>B.removeEventListener("abort",M))}else G.onabort=M}const z=Q.agent;if(typeof z==="object"&&"keepAlive"in z)_I(T,{keepAlive:z.keepAlive,keepAliveMsecs:z.keepAliveMsecs});X=a$(T,U,this.config.requestTimeout).catch((M)=>{return clearTimeout(W),L(M)})})}updateHttpClientConfig(U,G){this.config=void 0,this.configProvider=this.configProvider.then((W)=>{return{...W,[U]:G}})}httpHandlerConfigs(){return this.config??{}}};j(J8,"NodeHttpHandler");var pI=J8,Z8=import.meta.require("http2"),lI=vI(import.meta.require("http2")),K8=class ${constructor(U){this.sessions=[],this.sessions=U??[]}poll(){if(this.sessions.length>0)return this.sessions.shift()}offerLast(U){this.sessions.push(U)}contains(U){return this.sessions.includes(U)}remove(U){this.sessions=this.sessions.filter((G)=>G!==U)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(U){for(let G of this.sessions)if(G===U){if(!G.destroyed)G.destroy()}}};j(K8,"NodeHttp2ConnectionPool");var nI=K8,T8=class ${constructor(U){if(this.sessionCache=new Map,this.config=U,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrency must be greater than zero.")}lease(U,G){const W=this.getUrlString(U),w=this.sessionCache.get(W);if(w){const Z=w.poll();if(Z&&!this.config.disableConcurrency)return Z}const L=lI.default.connect(W);if(this.config.maxConcurrency)L.settings({maxConcurrentStreams:this.config.maxConcurrency},(Z)=>{if(Z)throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+U.destination.toString())});L.unref();const X=j(()=>{L.destroy(),this.deleteSession(W,L)},"destroySessionCb");if(L.on("goaway",X),L.on("error",X),L.on("frameError",X),L.on("close",()=>this.deleteSession(W,L)),G.requestTimeout)L.setTimeout(G.requestTimeout,X);const F=this.sessionCache.get(W)||new nI;return F.offerLast(L),this.sessionCache.set(W,F),L}deleteSession(U,G){const W=this.sessionCache.get(U);if(!W)return;if(!W.contains(G))return;W.remove(G),this.sessionCache.set(U,W)}release(U,G){var W;const w=this.getUrlString(U);(W=this.sessionCache.get(w))==null||W.offerLast(G)}destroy(){for(let[U,G]of this.sessionCache){for(let W of G){if(!W.destroyed)W.destroy();G.remove(W)}this.sessionCache.delete(U)}}setMaxConcurrentStreams(U){if(this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=U}setDisableConcurrentStreams(U){this.config.disableConcurrency=U}getUrlString(U){return U.destination.toString()}};j(T8,"NodeHttp2ConnectionManager");var sI=T8,M8=class ${constructor(U){this.metadata={handlerProtocol:"h2"},this.connectionManager=new sI({}),this.configProvider=new Promise((G,W)=>{if(typeof U==="function")U().then((w)=>{G(w||{})}).catch(W);else G(U||{})})}static create(U){if(typeof(U==null?void 0:U.handle)==="function")return U;return new $(U)}destroy(){this.connectionManager.destroy()}async handle(U,{abortSignal:G}={}){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:W,disableConcurrentStreams:w}=this.config;return new Promise((L,X)=>{var F;let Z=!1,f=void 0;const E=j(async(q)=>{await f,L(q)},"resolve"),I=j(async(q)=>{await f,X(q)},"reject");if(G==null?void 0:G.aborted){Z=!0;const q=new Error("Request aborted");q.name="AbortError",I(q);return}const{hostname:Y,method:R,port:Q,protocol:O,query:T}=U;let z="";if(U.username!=null||U.password!=null){const q=U.username??"",d=U.password??"";z=`${q}:${d}@`}const M=`${O}//${z}${Y}${Q?`:${Q}`:""}`,B={destination:new URL(M)},A=this.connectionManager.lease(B,{requestTimeout:(F=this.config)==null?void 0:F.sessionTimeout,disableConcurrentStreams:w||!1}),V=j((q)=>{if(w)this.destroySession(A);Z=!0,I(q)},"rejectWithDestroy"),e=R8.buildQueryString(T||{});let Z0=U.path;if(e)Z0+=`?${e}`;if(U.fragment)Z0+=`#${U.fragment}`;const v=A.request({...U.headers,[Z8.constants.HTTP2_HEADER_PATH]:Z0,[Z8.constants.HTTP2_HEADER_METHOD]:R});if(A.ref(),v.on("response",(q)=>{const d=new I8.HttpResponse({statusCode:q[":status"]||-1,headers:Y8(q),body:v});if(Z=!0,E({response:d}),w)A.close(),this.connectionManager.deleteSession(M,A)}),W)v.setTimeout(W,()=>{v.close();const q=new Error(`Stream timed out because of no activity for ${W} ms`);q.name="TimeoutError",V(q)});if(G){const q=j(()=>{v.close();const d=new Error("Request aborted");d.name="AbortError",V(d)},"onAbort");if(typeof G.addEventListener==="function"){const d=G;d.addEventListener("abort",q,{once:!0}),v.once("close",()=>d.removeEventListener("abort",q))}else G.onabort=q}v.on("frameError",(q,d,KF)=>{V(new Error(`Frame type id ${q} in stream id ${KF} has failed with code ${d}.`))}),v.on("error",V),v.on("aborted",()=>{V(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${v.rstCode}.`))}),v.on("close",()=>{if(A.unref(),w)A.destroy();if(!Z)V(new Error("Unexpected error: http2 request did not get a response"))}),f=a$(v,U,W)})}updateHttpClientConfig(U,G){this.config=void 0,this.configProvider=this.configProvider.then((W)=>{return{...W,[U]:G}})}httpHandlerConfigs(){return this.config??{}}destroySession(U){if(!U.destroyed)U.destroy()}};j(M8,"NodeHttp2Handler");var mI=M8,O8=class $ extends Q8.Writable{constructor(){super(...arguments);this.bufferedBytes=[]}_write(U,G,W){this.bufferedBytes.push(U),W()}};j(O8,"Collector");var iI=O8,rI=j(($)=>{if(oI($))return B8($);return new Promise((U,G)=>{const W=new iI;$.pipe(W),$.on("error",(w)=>{W.end(),G(w)}),W.on("error",G),W.on("finish",function(){const w=new Uint8Array(Buffer.concat(this.bufferedBytes));U(w)})})},"streamCollector"),oI=j(($)=>typeof ReadableStream==="function"&&$ instanceof ReadableStream,"isReadableStreamInstance");j(B8,"collectReadableStream")});var h8=K((KJ,b8)=>{var N8=function($=0){return new Promise((U,G)=>{if($)setTimeout(()=>{const W=new Error(`Request did not complete within ${$} ms`);W.name="TimeoutError",G(W)},$)})};async function j8($){const U=await S8($),G=LR.fromBase64(U);return new Uint8Array(G)}async function P8($){const U=[],G=$.getReader();let W=!1,w=0;while(!W){const{done:F,value:Z}=await G.read();if(Z)U.push(Z),w+=Z.length;W=F}const L=new Uint8Array(w);let X=0;for(let F of U)L.set(F,X),X+=F.length;return L}var S8=function($){return new Promise((U,G)=>{const W=new FileReader;W.onloadend=()=>{if(W.readyState!==2)return G(new Error("Reader aborted too early"));const w=W.result??"",L=w.indexOf(","),X=L>-1?L+1:w.length;U(w.substring(X))},W.onabort=()=>G(new Error("Read aborted")),W.onerror=()=>G(W.error),W.readAsDataURL($)})},h1=Object.defineProperty,tI=Object.getOwnPropertyDescriptor,aI=Object.getOwnPropertyNames,eI=Object.prototype.hasOwnProperty,o=($,U)=>h1($,"name",{value:U,configurable:!0}),$R=($,U)=>{for(var G in U)h1($,G,{get:U[G],enumerable:!0})},UR=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of aI(U))if(!eI.call($,w)&&w!==G)h1($,w,{get:()=>U[w],enumerable:!(W=tI(U,w))||W.enumerable})}return $},GR=($)=>UR(h1({},"__esModule",{value:!0}),$),C8={};$R(C8,{FetchHttpHandler:()=>WR,keepAliveSupport:()=>b1,streamCollector:()=>XR});b8.exports=GR(C8);var H8=i(),wR=r$();o(N8,"requestTimeout");var b1={supported:void 0},q8=class ${static create(U){if(typeof(U==null?void 0:U.handle)==="function")return U;return new $(U)}constructor(U){if(typeof U==="function")this.configProvider=U().then((G)=>G||{});else this.config=U??{},this.configProvider=Promise.resolve(this.config);if(b1.supported===void 0)b1.supported=Boolean(typeof Request!=="undefined"&&"keepalive"in new Request("https://[::1]"))}destroy(){}async handle(U,{abortSignal:G}={}){if(!this.config)this.config=await this.configProvider;const W=this.config.requestTimeout,w=this.config.keepAlive===!0,L=this.config.credentials;if(G==null?void 0:G.aborted){const z=new Error("Request aborted");return z.name="AbortError",Promise.reject(z)}let X=U.path;const F=wR.buildQueryString(U.query||{});if(F)X+=`?${F}`;if(U.fragment)X+=`#${U.fragment}`;let Z="";if(U.username!=null||U.password!=null){const z=U.username??"",M=U.password??"";Z=`${z}:${M}@`}const{port:f,method:E}=U,I=`${U.protocol}//${Z}${U.hostname}${f?`:${f}`:""}${X}`,Y=E==="GET"||E==="HEAD"?void 0:U.body,R={body:Y,headers:new Headers(U.headers),method:E,credentials:L};if(Y)R.duplex="half";if(typeof AbortController!=="undefined")R.signal=G;if(b1.supported)R.keepalive=w;let Q=o(()=>{},"removeSignalEventListener");const O=new Request(I,R),T=[fetch(O).then((z)=>{const M=z.headers,B={};for(let V of M.entries())B[V[0]]=V[1];if(z.body==null)return z.blob().then((V)=>({response:new H8.HttpResponse({headers:B,reason:z.statusText,statusCode:z.status,body:V})}));return{response:new H8.HttpResponse({headers:B,reason:z.statusText,statusCode:z.status,body:z.body})}}),N8(W)];if(G)T.push(new Promise((z,M)=>{const B=o(()=>{const A=new Error("Request aborted");A.name="AbortError",M(A)},"onAbort");if(typeof G.addEventListener==="function"){const A=G;A.addEventListener("abort",B,{once:!0}),Q=o(()=>A.removeEventListener("abort",B),"removeSignalEventListener")}else G.onabort=B}));return Promise.race(T).finally(Q)}updateHttpClientConfig(U,G){this.config=void 0,this.configProvider=this.configProvider.then((W)=>{return W[U]=G,W})}httpHandlerConfigs(){return this.config??{}}};o(q8,"FetchHttpHandler");var WR=q8,LR=j1(),XR=o(($)=>{if(typeof Blob==="function"&&$ instanceof Blob)return j8($);return P8($)},"streamCollector");o(j8,"collectBlob");o(P8,"collectStream");o(S8,"readToBase64")});var p0=K((D8)=>{Object.defineProperty(D8,"__esModule",{value:!0});D8.isReadableStream=void 0;var FR=($)=>{var U;return typeof ReadableStream==="function"&&(((U=$===null||$===void 0?void 0:$.constructor)===null||U===void 0?void 0:U.name)===ReadableStream.name||$ instanceof ReadableStream)};D8.isReadableStream=FR});var d8=K((y8)=>{Object.defineProperty(y8,"__esModule",{value:!0});y8.sdkStreamMixin=void 0;var ZR=h8(),fR=j1(),ER=u8(),IR=G0(),c8=p0(),v8="The stream has already been transformed.",RR=($)=>{var U,G;if(!x8($)&&!c8.isReadableStream($)){const X=((G=(U=$===null||$===void 0?void 0:$.__proto__)===null||U===void 0?void 0:U.constructor)===null||G===void 0?void 0:G.name)||$;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${X}`)}let W=!1;const w=async()=>{if(W)throw new Error(v8);return W=!0,await ZR.streamCollector($)},L=(X)=>{if(typeof X.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 X.stream()};return Object.assign($,{transformToByteArray:w,transformToString:async(X)=>{const F=await w();if(X==="base64")return fR.toBase64(F);else if(X==="hex")return ER.toHex(F);else if(X===void 0||X==="utf8"||X==="utf-8")return IR.toUtf8(F);else if(typeof TextDecoder==="function")return new TextDecoder(X).decode(F);else throw new Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(W)throw new Error(v8);if(W=!0,x8($))return L($);else if(c8.isReadableStream($))return $;else throw new Error(`Cannot transform payload to web stream, got ${$}`)}})};y8.sdkStreamMixin=RR;var x8=($)=>typeof Blob==="function"&&$ instanceof Blob});var n8=K((p8)=>{Object.defineProperty(p8,"__esModule",{value:!0});p8.sdkStreamMixin=void 0;var YR=V8(),QR=d0(),e$=import.meta.require("stream"),zR=import.meta.require("util"),JR=d8(),g8="The stream has already been transformed.",KR=($)=>{var U,G;if(!($ instanceof e$.Readable))try{return JR.sdkStreamMixin($)}catch(L){const X=((G=(U=$===null||$===void 0?void 0:$.__proto__)===null||U===void 0?void 0:U.constructor)===null||G===void 0?void 0:G.name)||$;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${X}`)}let W=!1;const w=async()=>{if(W)throw new Error(g8);return W=!0,await YR.streamCollector($)};return Object.assign($,{transformToByteArray:w,transformToString:async(L)=>{const X=await w();if(L===void 0||Buffer.isEncoding(L))return QR.fromArrayBuffer(X.buffer,X.byteOffset,X.byteLength).toString(L);else return new zR.TextDecoder(L).decode(X)},transformToWebStream:()=>{if(W)throw new Error(g8);if($.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof e$.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 W=!0,e$.Readable.toWeb($)}})};p8.sdkStreamMixin=KR});var i8=K((s8)=>{async function TR($){if(typeof $.stream==="function")$=$.stream();return $.tee()}Object.defineProperty(s8,"__esModule",{value:!0});s8.splitStream=void 0;s8.splitStream=TR});var a8=K((o8)=>{async function BR($){if(OR.isReadableStream($))return MR.splitStream($);const U=new r8.PassThrough,G=new r8.PassThrough;return $.pipe(U),$.pipe(G),[U,G]}Object.defineProperty(o8,"__esModule",{value:!0});o8.splitStream=void 0;var r8=import.meta.require("stream"),MR=i8(),OR=p0();o8.splitStream=BR});var U4=K((e8)=>{async function AR($,U){var G;let W=0;const w=[],L=$.getReader();let X=!1;while(!X){const{done:f,value:E}=await L.read();if(E)w.push(E),W+=(G=E===null||E===void 0?void 0:E.byteLength)!==null&&G!==void 0?G:0;if(W>=U)break;X=f}L.releaseLock();const F=new Uint8Array(Math.min(U,W));let Z=0;for(let f of w){if(f.byteLength>F.byteLength-Z){F.set(f.subarray(0,F.byteLength-Z),Z);break}else F.set(f,Z);Z+=f.length}return F}Object.defineProperty(e8,"__esModule",{value:!0});e8.headStream=void 0;e8.headStream=AR});var L4=K((w4)=>{Object.defineProperty(w4,"__esModule",{value:!0});w4.headStream=void 0;var VR=import.meta.require("stream"),HR=U4(),CR=p0(),NR=($,U)=>{if(CR.isReadableStream($))return HR.headStream($,U);return new Promise((G,W)=>{const w=new G4;w.limit=U,$.pipe(w),$.on("error",(L)=>{w.end(),W(L)}),w.on("error",W),w.on("finish",function(){const L=new Uint8Array(Buffer.concat(this.buffers));G(L)})})};w4.headStream=NR;class G4 extends VR.Writable{constructor(){super(...arguments);this.buffers=[],this.limit=Infinity,this.bytesBuffered=0}_write($,U,G){var W;if(this.buffers.push($),this.bytesBuffered+=(W=$.byteLength)!==null&&W!==void 0?W:0,this.bytesBuffered>=this.limit){const w=this.bytesBuffered-this.limit,L=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=L.subarray(0,L.byteLength-w),this.emit("finish")}G()}}});var I4=K((CJ,Q0)=>{var Z4=function($,U="utf-8"){if(U==="base64")return X4.toBase64($);return F4.toUtf8($)},f4=function($,U){if(U==="base64")return UU.mutate(X4.fromBase64($));return UU.mutate(F4.fromUtf8($))},D1=Object.defineProperty,qR=Object.getOwnPropertyDescriptor,jR=Object.getOwnPropertyNames,PR=Object.prototype.hasOwnProperty,GU=($,U)=>D1($,"name",{value:U,configurable:!0}),SR=($,U)=>{for(var G in U)D1($,G,{get:U[G],enumerable:!0})},$U=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of jR(U))if(!PR.call($,w)&&w!==G)D1($,w,{get:()=>U[w],enumerable:!(W=qR(U,w))||W.enumerable})}return $},l0=($,U,G)=>($U($,U,"default"),G&&$U(G,U,"default")),bR=($)=>$U(D1({},"__esModule",{value:!0}),$),Y0={};SR(Y0,{Uint8ArrayBlobAdapter:()=>UU});Q0.exports=bR(Y0);var X4=j1(),F4=G0();GU(Z4,"transformToString");GU(f4,"transformFromString");var E4=class $ extends Uint8Array{static fromString(U,G="utf-8"){switch(typeof U){case"string":return f4(U,G);default:throw new Error(`Unsupported conversion from ${typeof U} to Uint8ArrayBlobAdapter.`)}}static mutate(U){return Object.setPrototypeOf(U,$.prototype),U}transformToString(U="utf-8"){return Z4(this,U)}};GU(E4,"Uint8ArrayBlobAdapter");var UU=E4;l0(Y0,$8(),Q0.exports);l0(Y0,n8(),Q0.exports);l0(Y0,a8(),Q0.exports);l0(Y0,L4(),Q0.exports);l0(Y0,p0(),Q0.exports)});var N0=K((NJ,k4)=>{var C4=function($){const U=$.getUTCFullYear(),G=$.getUTCMonth(),W=$.getUTCDay(),w=$.getUTCDate(),L=$.getUTCHours(),X=$.getUTCMinutes(),F=$.getUTCSeconds(),Z=w<10?`0${w}`:`${w}`,f=L<10?`0${L}`:`${L}`,E=X<10?`0${X}`:`${X}`,I=F<10?`0${F}`:`${F}`;return`${LY[W]}, ${Z} ${YU[G]} ${U} ${f}:${E}:${I} GMT`},v1=function($){return encodeURIComponent($).replace(/[!'()*]/g,function(U){return"%"+U.charCodeAt(0).toString(16).toUpperCase()})},QU=function($,U,G){let W,w,L;if(typeof U==="undefined"&&typeof G==="undefined")W={},L=$;else if(W=$,typeof U==="function")return w=U,L=G,uY(W,w,L);else L=U;for(let X of Object.keys(L)){if(!Array.isArray(L[X])){W[X]=L[X];continue}h4(W,null,L,X)}return W},D4=function($,U,G){if(G<=0||!Number.isInteger(G))throw new Error("Invalid number of delimiters ("+G+") for splitEvery.");const W=$.split(U);if(G===1)return W;const w=[];let L="";for(let X=0;X<W.length;X++){if(L==="")L=W[X];else L+=U+W[X];if((X+1)%G===0)w.push(L),L=""}if(L!=="")w.push(L);return w},x1=Object.defineProperty,hR=Object.getOwnPropertyDescriptor,DR=Object.getOwnPropertyNames,kR=Object.prototype.hasOwnProperty,J=($,U)=>x1($,"name",{value:U,configurable:!0}),cR=($,U)=>{for(var G in U)x1($,G,{get:U[G],enumerable:!0})},vR=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of DR(U))if(!kR.call($,w)&&w!==G)x1($,w,{get:()=>U[w],enumerable:!(W=hR(U,w))||W.enumerable})}return $},xR=($)=>vR(x1({},"__esModule",{value:!0}),$),Y4={};cR(Y4,{Client:()=>yR,Command:()=>T4,LazyJsonString:()=>cY,NoOpLogger:()=>uR,SENSITIVE_STRING:()=>gR,ServiceException:()=>VY,StringWrapper:()=>r0,_json:()=>fU,collectBody:()=>_R,convertMap:()=>vY,createAggregatedClient:()=>pR,dateToUtcString:()=>C4,decorateServiceException:()=>q4,emitWarningIfUnsupportedVersion:()=>qY,expectBoolean:()=>nR,expectByte:()=>ZU,expectFloat32:()=>k1,expectInt:()=>mR,expectInt32:()=>XU,expectLong:()=>m0,expectNonNull:()=>rR,expectNumber:()=>s0,expectObject:()=>O4,expectShort:()=>FU,expectString:()=>oR,expectUnion:()=>tR,extendedEncodeURIComponent:()=>v1,getArrayIfSingleItem:()=>kY,getDefaultClientConfiguration:()=>hY,getDefaultExtensionConfiguration:()=>P4,getValueFromTextNode:()=>S4,handleFloat:()=>$Y,limitedParseDouble:()=>RU,limitedParseFloat:()=>UY,limitedParseFloat32:()=>GY,loadConfigsForDefaultMode:()=>NY,logger:()=>i0,map:()=>QU,parseBoolean:()=>lR,parseEpochTimestamp:()=>QY,parseRfc3339DateTime:()=>FY,parseRfc3339DateTimeWithOffset:()=>fY,parseRfc7231DateTime:()=>YY,resolveDefaultRuntimeConfig:()=>DY,resolvedPath:()=>dY,serializeDateTime:()=>pY,serializeFloat:()=>gY,splitEvery:()=>D4,strictParseByte:()=>H4,strictParseDouble:()=>IU,strictParseFloat:()=>aR,strictParseFloat32:()=>B4,strictParseInt:()=>wY,strictParseInt32:()=>WY,strictParseLong:()=>V4,strictParseShort:()=>V0,take:()=>xY,throwDefaultError:()=>j4,withBaseException:()=>HY});k4.exports=xR(Y4);var Q4=class ${trace(){}debug(){}info(){}warn(){}error(){}};J(Q4,"NoOpLogger");var uR=Q4,z4=kW(),J4=class ${constructor(U){this.middlewareStack=z4.constructStack(),this.config=U}send(U,G,W){const w=typeof G!=="function"?G:void 0,L=typeof G==="function"?G:W,X=U.resolveMiddleware(this.middlewareStack,this.config,w);if(L)X(U).then((F)=>L(null,F.output),(F)=>L(F)).catch(()=>{});else return X(U).then((F)=>F.output)}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}};J(J4,"Client");var yR=J4,wU=I4(),_R=J(async($=new Uint8Array,U)=>{if($ instanceof Uint8Array)return wU.Uint8ArrayBlobAdapter.mutate($);if(!$)return wU.Uint8ArrayBlobAdapter.mutate(new Uint8Array);const G=U.streamCollector($);return wU.Uint8ArrayBlobAdapter.mutate(await G)},"collectBody"),LU=f0(),K4=class ${constructor(){this.middlewareStack=z4.constructStack()}static classBuilder(){return new dR}resolveMiddlewareWithContext(U,G,W,{middlewareFn:w,clientName:L,commandName:X,inputFilterSensitiveLog:F,outputFilterSensitiveLog:Z,smithyContext:f,additionalContext:E,CommandCtor:I}){for(let T of w.bind(this)(I,U,G,W))this.middlewareStack.use(T);const Y=U.concat(this.middlewareStack),{logger:R}=G,Q={logger:R,clientName:L,commandName:X,inputFilterSensitiveLog:F,outputFilterSensitiveLog:Z,[LU.SMITHY_CONTEXT_KEY]:{commandInstance:this,...f},...E},{requestHandler:O}=G;return Y.resolve((T)=>O.handle(T.request,W||{}),Q)}};J(K4,"Command");var T4=K4,M4=class ${constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=(U)=>U,this._outputFilterSensitiveLog=(U)=>U,this._serializer=null,this._deserializer=null}init(U){this._init=U}ep(U){return this._ep=U,this}m(U){return this._middlewareFn=U,this}s(U,G,W={}){return this._smithyContext={service:U,operation:G,...W},this}c(U={}){return this._additionalContext=U,this}n(U,G){return this._clientName=U,this._commandName=G,this}f(U=(W)=>W,G=(W)=>W){return this._inputFilterSensitiveLog=U,this._outputFilterSensitiveLog=G,this}ser(U){return this._serializer=U,this}de(U){return this._deserializer=U,this}build(){var U;const G=this;let W;return W=(U=class extends T4{constructor(...[w]){super();this.serialize=G._serializer,this.deserialize=G._deserializer,this.input=w??{},G._init(this)}static getEndpointParameterInstructions(){return G._ep}resolveMiddleware(w,L,X){return this.resolveMiddlewareWithContext(w,L,X,{CommandCtor:W,middlewareFn:G._middlewareFn,clientName:G._clientName,commandName:G._commandName,inputFilterSensitiveLog:G._inputFilterSensitiveLog,outputFilterSensitiveLog:G._outputFilterSensitiveLog,smithyContext:G._smithyContext,additionalContext:G._additionalContext})}},J(U,"CommandRef"),U)}};J(M4,"ClassBuilder");var dR=M4,gR="***SensitiveInformation***",pR=J(($,U)=>{for(let G of Object.keys($)){const W=$[G],w=J(async function(X,F,Z){const f=new W(X);if(typeof F==="function")this.send(f,F);else if(typeof Z==="function"){if(typeof F!=="object")throw new Error(`Expected http options but got ${typeof F}`);this.send(f,F||{},Z)}else return this.send(f,F)},"methodImpl"),L=(G[0].toLowerCase()+G.slice(1)).replace(/Command$/,"");U.prototype[L]=w}},"createAggregatedClient"),lR=J(($)=>{switch($){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${$}"`)}},"parseBoolean"),nR=J(($)=>{if($===null||$===void 0)return;if(typeof $==="number"){if($===0||$===1)i0.warn(c1(`Expected boolean, got ${typeof $}: ${$}`));if($===0)return!1;if($===1)return!0}if(typeof $==="string"){const U=$.toLowerCase();if(U==="false"||U==="true")i0.warn(c1(`Expected boolean, got ${typeof $}: ${$}`));if(U==="false")return!1;if(U==="true")return!0}if(typeof $==="boolean")return $;throw new TypeError(`Expected boolean, got ${typeof $}: ${$}`)},"expectBoolean"),s0=J(($)=>{if($===null||$===void 0)return;if(typeof $==="string"){const U=parseFloat($);if(!Number.isNaN(U)){if(String(U)!==String($))i0.warn(c1(`Expected number but observed string: ${$}`));return U}}if(typeof $==="number")return $;throw new TypeError(`Expected number, got ${typeof $}: ${$}`)},"expectNumber"),sR=Math.ceil(340282346638528860000000000000000000000),k1=J(($)=>{const U=s0($);if(U!==void 0&&!Number.isNaN(U)&&U!==Infinity&&U!==(-Infinity)){if(Math.abs(U)>sR)throw new TypeError(`Expected 32-bit float, got ${$}`)}return U},"expectFloat32"),m0=J(($)=>{if($===null||$===void 0)return;if(Number.isInteger($)&&!Number.isNaN($))return $;throw new TypeError(`Expected integer, got ${typeof $}: ${$}`)},"expectLong"),mR=m0,XU=J(($)=>EU($,32),"expectInt32"),FU=J(($)=>EU($,16),"expectShort"),ZU=J(($)=>EU($,8),"expectByte"),EU=J(($,U)=>{const G=m0($);if(G!==void 0&&iR(G,U)!==G)throw new TypeError(`Expected ${U}-bit integer, got ${$}`);return G},"expectSizedInt"),iR=J(($,U)=>{switch(U){case 32:return Int32Array.of($)[0];case 16:return Int16Array.of($)[0];case 8:return Int8Array.of($)[0]}},"castInt"),rR=J(($,U)=>{if($===null||$===void 0){if(U)throw new TypeError(`Expected a non-null value for ${U}`);throw new TypeError("Expected a non-null value")}return $},"expectNonNull"),O4=J(($)=>{if($===null||$===void 0)return;if(typeof $==="object"&&!Array.isArray($))return $;const U=Array.isArray($)?"array":typeof $;throw new TypeError(`Expected object, got ${U}: ${$}`)},"expectObject"),oR=J(($)=>{if($===null||$===void 0)return;if(typeof $==="string")return $;if(["boolean","number","bigint"].includes(typeof $))return i0.warn(c1(`Expected string, got ${typeof $}: ${$}`)),String($);throw new TypeError(`Expected string, got ${typeof $}: ${$}`)},"expectString"),tR=J(($)=>{if($===null||$===void 0)return;const U=O4($),G=Object.entries(U).filter(([,W])=>W!=null).map(([W])=>W);if(G.length===0)throw new TypeError("Unions must have exactly one non-null member. None were found.");if(G.length>1)throw new TypeError(`Unions must have exactly one non-null member. Keys ${G} were not null.`);return U},"expectUnion"),IU=J(($)=>{if(typeof $=="string")return s0(C0($));return s0($)},"strictParseDouble"),aR=IU,B4=J(($)=>{if(typeof $=="string")return k1(C0($));return k1($)},"strictParseFloat32"),eR=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,C0=J(($)=>{const U=$.match(eR);if(U===null||U[0].length!==$.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat($)},"parseNumber"),RU=J(($)=>{if(typeof $=="string")return A4($);return s0($)},"limitedParseDouble"),$Y=RU,UY=RU,GY=J(($)=>{if(typeof $=="string")return A4($);return k1($)},"limitedParseFloat32"),A4=J(($)=>{switch($){case"NaN":return NaN;case"Infinity":return Infinity;case"-Infinity":return (-Infinity);default:throw new Error(`Unable to parse float value: ${$}`)}},"parseFloatString"),V4=J(($)=>{if(typeof $==="string")return m0(C0($));return m0($)},"strictParseLong"),wY=V4,WY=J(($)=>{if(typeof $==="string")return XU(C0($));return XU($)},"strictParseInt32"),V0=J(($)=>{if(typeof $==="string")return FU(C0($));return FU($)},"strictParseShort"),H4=J(($)=>{if(typeof $==="string")return ZU(C0($));return ZU($)},"strictParseByte"),c1=J(($)=>{return String(new TypeError($).stack||$).split("\n").slice(0,5).filter((U)=>!U.includes("stackTraceWarning")).join("\n")},"stackTraceWarning"),i0={warn:console.warn},LY=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],YU=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];J(C4,"dateToUtcString");var XY=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),FY=J(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const U=XY.exec($);if(!U)throw new TypeError("Invalid RFC-3339 date-time value");const[G,W,w,L,X,F,Z,f]=U,E=V0(H0(W)),I=s(w,"month",1,12),Y=s(L,"day",1,31);return n0(E,I,Y,{hours:X,minutes:F,seconds:Z,fractionalMilliseconds:f})},"parseRfc3339DateTime"),ZY=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),fY=J(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const U=ZY.exec($);if(!U)throw new TypeError("Invalid RFC-3339 date-time value");const[G,W,w,L,X,F,Z,f,E]=U,I=V0(H0(W)),Y=s(w,"month",1,12),R=s(L,"day",1,31),Q=n0(I,Y,R,{hours:X,minutes:F,seconds:Z,fractionalMilliseconds:f});if(E.toUpperCase()!="Z")Q.setTime(Q.getTime()-AY(E));return Q},"parseRfc3339DateTimeWithOffset"),EY=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$/),IY=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$/),RY=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})$/),YY=J(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let U=EY.exec($);if(U){const[G,W,w,L,X,F,Z,f]=U;return n0(V0(H0(L)),WU(w),s(W,"day",1,31),{hours:X,minutes:F,seconds:Z,fractionalMilliseconds:f})}if(U=IY.exec($),U){const[G,W,w,L,X,F,Z,f]=U;return KY(n0(zY(L),WU(w),s(W,"day",1,31),{hours:X,minutes:F,seconds:Z,fractionalMilliseconds:f}))}if(U=RY.exec($),U){const[G,W,w,L,X,F,Z,f]=U;return n0(V0(H0(f)),WU(W),s(w.trimLeft(),"day",1,31),{hours:L,minutes:X,seconds:F,fractionalMilliseconds:Z})}throw new TypeError("Invalid RFC-7231 date-time value")},"parseRfc7231DateTime"),QY=J(($)=>{if($===null||$===void 0)return;let U;if(typeof $==="number")U=$;else if(typeof $==="string")U=IU($);else throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(U)||U===Infinity||U===(-Infinity))throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(U*1000))},"parseEpochTimestamp"),n0=J(($,U,G,W)=>{const w=U-1;return MY($,w,G),new Date(Date.UTC($,w,G,s(W.hours,"hour",0,23),s(W.minutes,"minute",0,59),s(W.seconds,"seconds",0,60),BY(W.fractionalMilliseconds)))},"buildDate"),zY=J(($)=>{const U=(new Date()).getUTCFullYear(),G=Math.floor(U/100)*100+V0(H0($));if(G<U)return G+100;return G},"parseTwoDigitYear"),JY=1576800000000,KY=J(($)=>{if($.getTime()-(new Date()).getTime()>JY)return new Date(Date.UTC($.getUTCFullYear()-100,$.getUTCMonth(),$.getUTCDate(),$.getUTCHours(),$.getUTCMinutes(),$.getUTCSeconds(),$.getUTCMilliseconds()));return $},"adjustRfc850Year"),WU=J(($)=>{const U=YU.indexOf($);if(U<0)throw new TypeError(`Invalid month: ${$}`);return U+1},"parseMonthByShortName"),TY=[31,28,31,30,31,30,31,31,30,31,30,31],MY=J(($,U,G)=>{let W=TY[U];if(U===1&&OY($))W=29;if(G>W)throw new TypeError(`Invalid day for ${YU[U]} in ${$}: ${G}`)},"validateDayOfMonth"),OY=J(($)=>{return $%4===0&&($%100!==0||$%400===0)},"isLeapYear"),s=J(($,U,G,W)=>{const w=H4(H0($));if(w<G||w>W)throw new TypeError(`${U} must be between ${G} and ${W}, inclusive`);return w},"parseDateValue"),BY=J(($)=>{if($===null||$===void 0)return 0;return B4("0."+$)*1000},"parseMilliseconds"),AY=J(($)=>{const U=$[0];let G=1;if(U=="+")G=1;else if(U=="-")G=-1;else throw new TypeError(`Offset direction, ${U}, must be "+" or "-"`);const W=Number($.substring(1,3)),w=Number($.substring(4,6));return G*(W*60+w)*60*1000},"parseOffsetToMilliseconds"),H0=J(($)=>{let U=0;while(U<$.length-1&&$.charAt(U)==="0")U++;if(U===0)return $;return $.slice(U)},"stripLeadingZeroes"),N4=class $ extends Error{constructor(U){super(U.message);Object.setPrototypeOf(this,$.prototype),this.name=U.name,this.$fault=U.$fault,this.$metadata=U.$metadata}};J(N4,"ServiceException");var VY=N4,q4=J(($,U={})=>{Object.entries(U).filter(([,W])=>W!==void 0).forEach(([W,w])=>{if($[W]==null||$[W]==="")$[W]=w});const G=$.message||$.Message||"UnknownError";return $.message=G,delete $.Message,$},"decorateServiceException"),j4=J(({output:$,parsedBody:U,exceptionCtor:G,errorCode:W})=>{const w=CY($),L=w.httpStatusCode?w.httpStatusCode+"":void 0,X=new G({name:(U==null?void 0:U.code)||(U==null?void 0:U.Code)||W||L||"UnknownError",$fault:"client",$metadata:w});throw q4(X,U)},"throwDefaultError"),HY=J(($)=>{return({output:U,parsedBody:G,errorCode:W})=>{j4({output:U,parsedBody:G,exceptionCtor:$,errorCode:W})}},"withBaseException"),CY=J(($)=>({httpStatusCode:$.statusCode,requestId:$.headers["x-amzn-requestid"]??$.headers["x-amzn-request-id"]??$.headers["x-amz-request-id"],extendedRequestId:$.headers["x-amz-id-2"],cfId:$.headers["x-amz-cf-id"]}),"deserializeMetadata"),NY=J(($)=>{switch($){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{}}},"loadConfigsForDefaultMode"),R4=!1,qY=J(($)=>{if($&&!R4&&parseInt($.substring(1,$.indexOf(".")))<16)R4=!0},"emitWarningIfUnsupportedVersion"),jY=J(($)=>{const U=[];for(let G in LU.AlgorithmId){const W=LU.AlgorithmId[G];if($[W]===void 0)continue;U.push({algorithmId:()=>W,checksumConstructor:()=>$[W]})}return{_checksumAlgorithms:U,addChecksumAlgorithm(G){this._checksumAlgorithms.push(G)},checksumAlgorithms(){return this._checksumAlgorithms}}},"getChecksumConfiguration"),PY=J(($)=>{const U={};return $.checksumAlgorithms().forEach((G)=>{U[G.algorithmId()]=G.checksumConstructor()}),U},"resolveChecksumRuntimeConfig"),SY=J(($)=>{let U=$.retryStrategy;return{setRetryStrategy(G){U=G},retryStrategy(){return U}}},"getRetryConfiguration"),bY=J(($)=>{const U={};return U.retryStrategy=$.retryStrategy(),U},"resolveRetryRuntimeConfig"),P4=J(($)=>{return{...jY($),...SY($)}},"getDefaultExtensionConfiguration"),hY=P4,DY=J(($)=>{return{...PY($),...bY($)}},"resolveDefaultRuntimeConfig");J(v1,"extendedEncodeURIComponent");var kY=J(($)=>Array.isArray($)?$:[$],"getArrayIfSingleItem"),S4=J(($)=>{for(let G in $)if($.hasOwnProperty(G)&&$[G]["#text"]!==void 0)$[G]=$[G]["#text"];else if(typeof $[G]==="object"&&$[G]!==null)$[G]=S4($[G]);return $},"getValueFromTextNode"),r0=J(function(){const $=Object.getPrototypeOf(this).constructor,G=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(G,$.prototype),G},"StringWrapper");r0.prototype=Object.create(String.prototype,{constructor:{value:r0,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(r0,String);var b4=class $ extends r0{deserializeJSON(){return JSON.parse(super.toString())}toJSON(){return super.toString()}static fromObject(U){if(U instanceof $)return U;else if(U instanceof String||typeof U==="string")return new $(U);return new $(JSON.stringify(U))}};J(b4,"LazyJsonString");var cY=b4;J(QU,"map");var vY=J(($)=>{const U={};for(let[G,W]of Object.entries($||{}))U[G]=[,W];return U},"convertMap"),xY=J(($,U)=>{const G={};for(let W in U)h4(G,$,U,W);return G},"take"),uY=J(($,U,G)=>{return QU($,Object.entries(G).reduce((W,[w,L])=>{if(Array.isArray(L))W[w]=L;else if(typeof L==="function")W[w]=[U,L()];else W[w]=[U,L];return W},{}))},"mapWithFilter"),h4=J(($,U,G,W)=>{if(U!==null){let X=G[W];if(typeof X==="function")X=[,X];const[F=yY,Z=_Y,f=W]=X;if(typeof F==="function"&&F(U[f])||typeof F!=="function"&&!!F)$[W]=Z(U[f]);return}let[w,L]=G[W];if(typeof L==="function"){let X;const F=w===void 0&&(X=L())!=null,Z=typeof w==="function"&&!!w(void 0)||typeof w!=="function"&&!!w;if(F)$[W]=X;else if(Z)$[W]=L()}else{const X=w===void 0&&L!=null,F=typeof w==="function"&&!!w(L)||typeof w!=="function"&&!!w;if(X||F)$[W]=L}},"applyInstruction"),yY=J(($)=>$!=null,"nonNullish"),_Y=J(($)=>$,"pass"),dY=J(($,U,G,W,w,L)=>{if(U!=null&&U[G]!==void 0){const X=W();if(X.length<=0)throw new Error("Empty value provided for input HTTP label: "+G+".");$=$.replace(w,L?X.split("/").map((F)=>v1(F)).join("/"):v1(X))}else throw new Error("No value provided for input HTTP label: "+G+".");return $},"resolvedPath"),gY=J(($)=>{if($!==$)return"NaN";switch($){case Infinity:return"Infinity";case (-Infinity):return"-Infinity";default:return $}},"serializeFloat"),pY=J(($)=>$.toISOString().replace(".000Z","Z"),"serializeDateTime"),fU=J(($)=>{if($==null)return{};if(Array.isArray($))return $.filter((U)=>U!=null).map(fU);if(typeof $==="object"){const U={};for(let G of Object.keys($)){if($[G]==null)continue;U[G]=fU($[G])}return U}return $},"_json");J(D4,"splitEvery")});var x4=K((c4)=>{Object.defineProperty(c4,"__esModule",{value:!0});c4.isStreamingPayload=void 0;var lY=import.meta.require("stream"),nY=($)=>($===null||$===void 0?void 0:$.body)instanceof lY.Readable||typeof ReadableStream!=="undefined"&&($===null||$===void 0?void 0:$.body)instanceof ReadableStream;c4.isStreamingPayload=nY});var U6=K((PJ,$6)=>{var{defineProperty:u1,getOwnPropertyDescriptor:sY,getOwnPropertyNames:mY}=Object,iY=Object.prototype.hasOwnProperty,S=($,U)=>u1($,"name",{value:U,configurable:!0}),rY=($,U)=>{for(var G in U)u1($,G,{get:U[G],enumerable:!0})},oY=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of mY(U))if(!iY.call($,w)&&w!==G)u1($,w,{get:()=>U[w],enumerable:!(W=sY(U,w))||W.enumerable})}return $},tY=($)=>oY(u1({},"__esModule",{value:!0}),$),y4={};rY(y4,{AdaptiveRetryStrategy:()=>$5,CONFIG_MAX_ATTEMPTS:()=>JU,CONFIG_RETRY_MODE:()=>i4,ENV_MAX_ATTEMPTS:()=>zU,ENV_RETRY_MODE:()=>m4,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:()=>U5,NODE_RETRY_MODE_CONFIG_OPTIONS:()=>w5,StandardRetryStrategy:()=>n4,defaultDelayDecider:()=>d4,defaultRetryDecider:()=>g4,getOmitRetryHeadersPlugin:()=>W5,getRetryAfterHint:()=>e4,getRetryPlugin:()=>E5,omitRetryHeadersMiddleware:()=>r4,omitRetryHeadersMiddlewareOptions:()=>o4,resolveRetryConfig:()=>G5,retryMiddleware:()=>t4,retryMiddlewareOptions:()=>a4});$6.exports=tY(y4);var q0=i(),_4=k$(),N=PW(),aY=S(($,U)=>{const G=$,W=(U==null?void 0:U.noRetryIncrement)??N.NO_RETRY_INCREMENT,w=(U==null?void 0:U.retryCost)??N.RETRY_COST,L=(U==null?void 0:U.timeoutRetryCost)??N.TIMEOUT_RETRY_COST;let X=$;const F=S((I)=>I.name==="TimeoutError"?L:w,"getCapacityAmount"),Z=S((I)=>F(I)<=X,"hasRetryTokens");return Object.freeze({hasRetryTokens:Z,retrieveRetryTokens:S((I)=>{if(!Z(I))throw new Error("No retry token available");const Y=F(I);return X-=Y,Y},"retrieveRetryTokens"),releaseRetryTokens:S((I)=>{X+=I??W,X=Math.min(X,G)},"releaseRetryTokens")})},"getDefaultRetryQuota"),d4=S(($,U)=>Math.floor(Math.min(N.MAXIMUM_RETRY_DELAY,Math.random()*2**U*$)),"defaultDelayDecider"),w0=c$(),g4=S(($)=>{if(!$)return!1;return w0.isRetryableByTrait($)||w0.isClockSkewError($)||w0.isThrottlingError($)||w0.isTransientError($)},"defaultRetryDecider"),p4=S(($)=>{if($ instanceof Error)return $;if($ instanceof Object)return Object.assign(new Error,$);if(typeof $==="string")return new Error($);return new Error(`AWS SDK error wrapper for ${$}`)},"asSdkError"),l4=class ${constructor(U,G){this.maxAttemptsProvider=U,this.mode=N.RETRY_MODES.STANDARD,this.retryDecider=(G==null?void 0:G.retryDecider)??g4,this.delayDecider=(G==null?void 0:G.delayDecider)??d4,this.retryQuota=(G==null?void 0:G.retryQuota)??aY(N.INITIAL_RETRY_TOKENS)}shouldRetry(U,G,W){return G<W&&this.retryDecider(U)&&this.retryQuota.hasRetryTokens(U)}async getMaxAttempts(){let U;try{U=await this.maxAttemptsProvider()}catch(G){U=N.DEFAULT_MAX_ATTEMPTS}return U}async retry(U,G,W){let w,L=0,X=0;const F=await this.getMaxAttempts(),{request:Z}=G;if(q0.HttpRequest.isInstance(Z))Z.headers[N.INVOCATION_ID_HEADER]=_4.v4();while(!0)try{if(q0.HttpRequest.isInstance(Z))Z.headers[N.REQUEST_HEADER]=`attempt=${L+1}; max=${F}`;if(W==null?void 0:W.beforeRequest)await W.beforeRequest();const{response:f,output:E}=await U(G);if(W==null?void 0:W.afterRequest)W.afterRequest(f);return this.retryQuota.releaseRetryTokens(w),E.$metadata.attempts=L+1,E.$metadata.totalRetryDelay=X,{response:f,output:E}}catch(f){const E=p4(f);if(L++,this.shouldRetry(E,L,F)){w=this.retryQuota.retrieveRetryTokens(E);const I=this.delayDecider(w0.isThrottlingError(E)?N.THROTTLING_RETRY_DELAY_BASE:N.DEFAULT_RETRY_DELAY_BASE,L),Y=eY(E.$response),R=Math.max(Y||0,I);X+=R,await new Promise((Q)=>setTimeout(Q,R));continue}if(!E.$metadata)E.$metadata={};throw E.$metadata.attempts=L,E.$metadata.totalRetryDelay=X,E}}};S(l4,"StandardRetryStrategy");var n4=l4,eY=S(($)=>{if(!q0.HttpResponse.isInstance($))return;const U=Object.keys($.headers).find((L)=>L.toLowerCase()==="retry-after");if(!U)return;const G=$.headers[U],W=Number(G);if(!Number.isNaN(W))return W*1000;return new Date(G).getTime()-Date.now()},"getDelayFromRetryAfterHeader"),s4=class $ extends n4{constructor(U,G){const{rateLimiter:W,...w}=G??{};super(U,w);this.rateLimiter=W??new N.DefaultRateLimiter,this.mode=N.RETRY_MODES.ADAPTIVE}async retry(U,G){return super.retry(U,G,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(W)=>{this.rateLimiter.updateClientSendingRate(W)}})}};S(s4,"AdaptiveRetryStrategy");var $5=s4,u4=k0(),zU="AWS_MAX_ATTEMPTS",JU="max_attempts",U5={environmentVariableSelector:($)=>{const U=$[zU];if(!U)return;const G=parseInt(U);if(Number.isNaN(G))throw new Error(`Environment variable ${zU} mast be a number, got "${U}"`);return G},configFileSelector:($)=>{const U=$[JU];if(!U)return;const G=parseInt(U);if(Number.isNaN(G))throw new Error(`Shared config file entry ${JU} mast be a number, got "${U}"`);return G},default:N.DEFAULT_MAX_ATTEMPTS},G5=S(($)=>{const{retryStrategy:U}=$,G=u4.normalizeProvider($.maxAttempts??N.DEFAULT_MAX_ATTEMPTS);return{...$,maxAttempts:G,retryStrategy:async()=>{if(U)return U;if(await u4.normalizeProvider($.retryMode)()===N.RETRY_MODES.ADAPTIVE)return new N.AdaptiveRetryStrategy(G);return new N.StandardRetryStrategy(G)}}},"resolveRetryConfig"),m4="AWS_RETRY_MODE",i4="retry_mode",w5={environmentVariableSelector:($)=>$[m4],configFileSelector:($)=>$[i4],default:N.DEFAULT_RETRY_MODE},r4=S(()=>($)=>async(U)=>{const{request:G}=U;if(q0.HttpRequest.isInstance(G))delete G.headers[N.INVOCATION_ID_HEADER],delete G.headers[N.REQUEST_HEADER];return $(U)},"omitRetryHeadersMiddleware"),o4={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},W5=S(($)=>({applyToStack:(U)=>{U.addRelativeTo(r4(),o4)}}),"getOmitRetryHeadersPlugin"),L5=N0(),X5=x4(),t4=S(($)=>(U,G)=>async(W)=>{var w;let L=await $.retryStrategy();const X=await $.maxAttempts();if(F5(L)){L=L;let F=await L.acquireInitialRetryToken(G.partition_id),Z=new Error,f=0,E=0;const{request:I}=W,Y=q0.HttpRequest.isInstance(I);if(Y)I.headers[N.INVOCATION_ID_HEADER]=_4.v4();while(!0)try{if(Y)I.headers[N.REQUEST_HEADER]=`attempt=${f+1}; max=${X}`;const{response:R,output:Q}=await U(W);return L.recordSuccess(F),Q.$metadata.attempts=f+1,Q.$metadata.totalRetryDelay=E,{response:R,output:Q}}catch(R){const Q=Z5(R);if(Z=p4(R),Y&&X5.isStreamingPayload(I))throw(w=G.logger instanceof L5.NoOpLogger?console:G.logger)==null||w.warn("An error was encountered in a non-retryable streaming request."),Z;try{F=await L.refreshRetryTokenForRetry(F,Q)}catch(T){if(!Z.$metadata)Z.$metadata={};throw Z.$metadata.attempts=f+1,Z.$metadata.totalRetryDelay=E,Z}f=F.getRetryCount();const O=F.getRetryDelay();E+=O,await new Promise((T)=>setTimeout(T,O))}}else{if(L=L,L==null?void 0:L.mode)G.userAgent=[...G.userAgent||[],["cfg/retry-mode",L.mode]];return L.retry(U,W)}},"retryMiddleware"),F5=S(($)=>typeof $.acquireInitialRetryToken!=="undefined"&&typeof $.refreshRetryTokenForRetry!=="undefined"&&typeof $.recordSuccess!=="undefined","isRetryStrategyV2"),Z5=S(($)=>{const U={error:$,errorType:f5($)},G=e4($.$response);if(G)U.retryAfterHint=G;return U},"getRetryErrorInfo"),f5=S(($)=>{if(w0.isThrottlingError($))return"THROTTLING";if(w0.isTransientError($))return"TRANSIENT";if(w0.isServerError($))return"SERVER_ERROR";return"CLIENT_ERROR"},"getRetryErrorType"),a4={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},E5=S(($)=>({applyToStack:(U)=>{U.add(t4($),a4)}}),"getRetryPlugin"),e4=S(($)=>{if(!q0.HttpResponse.isInstance($))return;const U=Object.keys($.headers).find((L)=>L.toLowerCase()==="retry-after");if(!U)return;const G=$.headers[U],W=Number(G);if(!Number.isNaN(W))return new Date(W*1000);return new Date(G)},"getRetryAfterHint")});var TU=K((SJ,O6)=>{var W6=function($){const U=new Map;for(let G of $)U.set(G.schemeId,G);return U},J6=function($,U){return new T6($,U)},M6=function($,U,G,W,w){return C(async function*L(X,F,...Z){let f=X.startingToken||void 0,E=!0,I;while(E){if(F[G]=f,w)F[w]=F[w]??X.pageSize;if(X.client instanceof $)I=await k5(U,X.client,F,...Z);else throw new Error(`Invalid client, expected instance of ${$.name}`);yield I;const Y=f;f=c5(I,W),E=!!(f&&(!X.stopOnSameToken||f!==Y))}return},"paginateOperation")},_1=Object.defineProperty,I5=Object.getOwnPropertyDescriptor,R5=Object.getOwnPropertyNames,Y5=Object.prototype.hasOwnProperty,C=($,U)=>_1($,"name",{value:U,configurable:!0}),Q5=($,U)=>{for(var G in U)_1($,G,{get:U[G],enumerable:!0})},z5=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of R5(U))if(!Y5.call($,w)&&w!==G)_1($,w,{get:()=>U[w],enumerable:!(W=I5(U,w))||W.enumerable})}return $},J5=($)=>z5(_1({},"__esModule",{value:!0}),$),G6={};Q5(G6,{DefaultIdentityProviderConfig:()=>C5,EXPIRATION_MS:()=>Q6,HttpApiKeyAuthSigner:()=>N5,HttpBearerAuthSigner:()=>q5,NoAuthSigner:()=>j5,RequestBuilder:()=>T6,createIsIdentityExpiredFunction:()=>Y6,createPaginator:()=>M6,doesIdentityRequireRefresh:()=>z6,getHttpAuthSchemeEndpointRuleSetPlugin:()=>T5,getHttpAuthSchemePlugin:()=>O5,getHttpSigningPlugin:()=>H5,getSmithyContext:()=>b5,httpAuthSchemeEndpointRuleSetMiddlewareOptions:()=>L6,httpAuthSchemeMiddleware:()=>KU,httpAuthSchemeMiddlewareOptions:()=>X6,httpSigningMiddleware:()=>F6,httpSigningMiddlewareOptions:()=>Z6,isIdentityExpired:()=>P5,memoizeIdentityProvider:()=>S5,normalizeProvider:()=>h5,requestBuilder:()=>J6});O6.exports=J5(G6);var w6=k0();C(W6,"convertHttpAuthSchemesToMap");var KU=C(($,U)=>(G,W)=>async(w)=>{var L;const X=$.httpAuthSchemeProvider(await U.httpAuthSchemeParametersProvider($,W,w.input)),F=W6($.httpAuthSchemes),Z=w6.getSmithyContext(W),f=[];for(let E of X){const I=F.get(E.schemeId);if(!I){f.push(`HttpAuthScheme \`${E.schemeId}\` was not enabled for this service.`);continue}const Y=I.identityProvider(await U.identityProviderConfigProvider($));if(!Y){f.push(`HttpAuthScheme \`${E.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:R={},signingProperties:Q={}}=((L=E.propertiesExtractor)==null?void 0:L.call(E,$,W))||{};E.identityProperties=Object.assign(E.identityProperties||{},R),E.signingProperties=Object.assign(E.signingProperties||{},Q),Z.selectedHttpAuthScheme={httpAuthOption:E,identity:await Y(E.identityProperties),signer:I.signer};break}if(!Z.selectedHttpAuthScheme)throw new Error(f.join("\n"));return G(w)},"httpAuthSchemeMiddleware"),K5=fw(),L6={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:K5.endpointMiddlewareOptions.name},T5=C(($,{httpAuthSchemeParametersProvider:U,identityProviderConfigProvider:G})=>({applyToStack:(W)=>{W.addRelativeTo(KU($,{httpAuthSchemeParametersProvider:U,identityProviderConfigProvider:G}),L6)}}),"getHttpAuthSchemeEndpointRuleSetPlugin"),M5=X1(),X6={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:M5.serializerMiddlewareOption.name},O5=C(($,{httpAuthSchemeParametersProvider:U,identityProviderConfigProvider:G})=>({applyToStack:(W)=>{W.addRelativeTo(KU($,{httpAuthSchemeParametersProvider:U,identityProviderConfigProvider:G}),X6)}}),"getHttpAuthSchemePlugin"),d1=i(),B5=C(($)=>(U)=>{throw U},"defaultErrorHandler"),A5=C(($,U)=>{},"defaultSuccessHandler"),F6=C(($)=>(U,G)=>async(W)=>{if(!d1.HttpRequest.isInstance(W.request))return U(W);const L=w6.getSmithyContext(G).selectedHttpAuthScheme;if(!L)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:X={}},identity:F,signer:Z}=L,f=await U({...W,request:await Z.sign(W.request,F,X)}).catch((Z.errorHandler||B5)(X));return(Z.successHandler||A5)(f.response,X),f},"httpSigningMiddleware"),V5=U6(),Z6={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:V5.retryMiddlewareOptions.name},H5=C(($)=>({applyToStack:(U)=>{U.addRelativeTo(F6($),Z6)}}),"getHttpSigningPlugin"),f6=class ${constructor(U){this.authSchemes=new Map;for(let[G,W]of Object.entries(U))if(W!==void 0)this.authSchemes.set(G,W)}getIdentityProvider(U){return this.authSchemes.get(U)}};C(f6,"DefaultIdentityProviderConfig");var C5=f6,y1=f0(),E6=class ${async sign(U,G,W){if(!W)throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!W.name)throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!W.in)throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!G.apiKey)throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");const w=d1.HttpRequest.clone(U);if(W.in===y1.HttpApiKeyAuthLocation.QUERY)w.query[W.name]=G.apiKey;else if(W.in===y1.HttpApiKeyAuthLocation.HEADER)w.headers[W.name]=W.scheme?`${W.scheme} ${G.apiKey}`:G.apiKey;else throw new Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+W.in+"`");return w}};C(E6,"HttpApiKeyAuthSigner");var N5=E6,I6=class ${async sign(U,G,W){const w=d1.HttpRequest.clone(U);if(!G.token)throw new Error("request could not be signed with `token` since the `token` is not defined");return w.headers.Authorization=`Bearer ${G.token}`,w}};C(I6,"HttpBearerAuthSigner");var q5=I6,R6=class ${async sign(U,G,W){return U}};C(R6,"NoAuthSigner");var j5=R6,Y6=C(($)=>(U)=>z6(U)&&U.expiration.getTime()-Date.now()<$,"createIsIdentityExpiredFunction"),Q6=300000,P5=Y6(Q6),z6=C(($)=>$.expiration!==void 0,"doesIdentityRequireRefresh"),S5=C(($,U,G)=>{if($===void 0)return;const W=typeof $!=="function"?async()=>Promise.resolve($):$;let w,L,X,F=!1;const Z=C(async(f)=>{if(!L)L=W(f);try{w=await L,X=!0,F=!1}finally{L=void 0}return w},"coalesceProvider");if(U===void 0)return async(f)=>{if(!X||(f==null?void 0:f.forceRefresh))w=await Z(f);return w};return async(f)=>{if(!X||(f==null?void 0:f.forceRefresh))w=await Z(f);if(F)return w;if(!G(w))return F=!0,w;if(U(w))return await Z(f),w;return w}},"memoizeIdentityProvider"),b5=C(($)=>$[y1.SMITHY_CONTEXT_KEY]||($[y1.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),h5=C(($)=>{if(typeof $==="function")return $;const U=Promise.resolve($);return()=>U},"normalizeProvider"),D5=N0();C(J6,"requestBuilder");var K6=class ${constructor(U,G){this.input=U,this.context=G,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){const{hostname:U,protocol:G="https",port:W,path:w}=await this.context.endpoint();this.path=w;for(let L of this.resolvePathStack)L(this.path);return new d1.HttpRequest({protocol:G,hostname:this.hostname||U,port:W,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(U){return this.hostname=U,this}bp(U){return this.resolvePathStack.push((G)=>{this.path=`${(G==null?void 0:G.endsWith("/"))?G.slice(0,-1):G||""}`+U}),this}p(U,G,W,w){return this.resolvePathStack.push((L)=>{this.path=D5.resolvedPath(L,this.input,U,G,W,w)}),this}h(U){return this.headers=U,this}q(U){return this.query=U,this}b(U){return this.body=U,this}m(U){return this.method=U,this}};C(K6,"RequestBuilder");var T6=K6,k5=C(async($,U,G,...W)=>{return await U.send(new $(G),...W)},"makePagedClientRequest");C(M6,"createPaginator");var c5=C(($,U)=>{let G=$;const W=U.split(".");for(let w of W){if(!G||typeof G!=="object")return;G=G[w]}return G},"get")});var _L=K((mB,X$)=>{var YL,QL,zL,JL,KL,TL,ML,OL,BL,AL,VL,HL,CL,W$,uU,NL,qL,jL,h0,PL,SL,bL,hL,DL,kL,cL,vL,xL,L$,uL,yL;(function($){var U=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(W){$(G(U,G(W)))});else if(typeof X$==="object"&&typeof mB==="object")$(G(U,G(mB)));else $(G(U));function G(W,w){if(W!==U)if(typeof Object.create==="function")Object.defineProperty(W,"__esModule",{value:!0});else W.__esModule=!0;return function(L,X){return W[L]=w?w(L,X):X}}})(function($){var U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,L){w.__proto__=L}||function(w,L){for(var X in L)if(Object.prototype.hasOwnProperty.call(L,X))w[X]=L[X]};YL=function(w,L){if(typeof L!=="function"&&L!==null)throw new TypeError("Class extends value "+String(L)+" is not a constructor or null");U(w,L);function X(){this.constructor=w}w.prototype=L===null?Object.create(L):(X.prototype=L.prototype,new X)},QL=Object.assign||function(w){for(var L,X=1,F=arguments.length;X<F;X++){L=arguments[X];for(var Z in L)if(Object.prototype.hasOwnProperty.call(L,Z))w[Z]=L[Z]}return w},zL=function(w,L){var X={};for(var F in w)if(Object.prototype.hasOwnProperty.call(w,F)&&L.indexOf(F)<0)X[F]=w[F];if(w!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var Z=0,F=Object.getOwnPropertySymbols(w);Z<F.length;Z++)if(L.indexOf(F[Z])<0&&Object.prototype.propertyIsEnumerable.call(w,F[Z]))X[F[Z]]=w[F[Z]]}return X},JL=function(w,L,X,F){var Z=arguments.length,f=Z<3?L:F===null?F=Object.getOwnPropertyDescriptor(L,X):F,E;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")f=Reflect.decorate(w,L,X,F);else for(var I=w.length-1;I>=0;I--)if(E=w[I])f=(Z<3?E(f):Z>3?E(L,X,f):E(L,X))||f;return Z>3&&f&&Object.defineProperty(L,X,f),f},KL=function(w,L){return function(X,F){L(X,F,w)}},TL=function(w,L,X,F,Z,f){function E(V){if(V!==void 0&&typeof V!=="function")throw new TypeError("Function expected");return V}var I=F.kind,Y=I==="getter"?"get":I==="setter"?"set":"value",R=!L&&w?F.static?w:w.prototype:null,Q=L||(R?Object.getOwnPropertyDescriptor(R,F.name):{}),O,T=!1;for(var z=X.length-1;z>=0;z--){var M={};for(var B in F)M[B]=B==="access"?{}:F[B];for(var B in F.access)M.access[B]=F.access[B];M.addInitializer=function(V){if(T)throw new TypeError("Cannot add initializers after decoration has completed");f.push(E(V||null))};var A=X[z](I==="accessor"?{get:Q.get,set:Q.set}:Q[Y],M);if(I==="accessor"){if(A===void 0)continue;if(A===null||typeof A!=="object")throw new TypeError("Object expected");if(O=E(A.get))Q.get=O;if(O=E(A.set))Q.set=O;if(O=E(A.init))Z.unshift(O)}else if(O=E(A))if(I==="field")Z.unshift(O);else Q[Y]=O}if(R)Object.defineProperty(R,F.name,Q);T=!0},ML=function(w,L,X){var F=arguments.length>2;for(var Z=0;Z<L.length;Z++)X=F?L[Z].call(w,X):L[Z].call(w);return F?X:void 0},OL=function(w){return typeof w==="symbol"?w:"".concat(w)},BL=function(w,L,X){if(typeof L==="symbol")L=L.description?"[".concat(L.description,"]"):"";return Object.defineProperty(w,"name",{configurable:!0,value:X?"".concat(X," ",L):L})},AL=function(w,L){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(w,L)},VL=function(w,L,X,F){function Z(f){return f instanceof X?f:new X(function(E){E(f)})}return new(X||(X=Promise))(function(f,E){function I(Q){try{R(F.next(Q))}catch(O){E(O)}}function Y(Q){try{R(F.throw(Q))}catch(O){E(O)}}function R(Q){Q.done?f(Q.value):Z(Q.value).then(I,Y)}R((F=F.apply(w,L||[])).next())})},HL=function(w,L){var X={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},F,Z,f,E;return E={next:I(0),throw:I(1),return:I(2)},typeof Symbol==="function"&&(E[Symbol.iterator]=function(){return this}),E;function I(R){return function(Q){return Y([R,Q])}}function Y(R){if(F)throw new TypeError("Generator is already executing.");while(E&&(E=0,R[0]&&(X=0)),X)try{if(F=1,Z&&(f=R[0]&2?Z.return:R[0]?Z.throw||((f=Z.return)&&f.call(Z),0):Z.next)&&!(f=f.call(Z,R[1])).done)return f;if(Z=0,f)R=[R[0]&2,f.value];switch(R[0]){case 0:case 1:f=R;break;case 4:return X.label++,{value:R[1],done:!1};case 5:X.label++,Z=R[1],R=[0];continue;case 7:R=X.ops.pop(),X.trys.pop();continue;default:if((f=X.trys,!(f=f.length>0&&f[f.length-1]))&&(R[0]===6||R[0]===2)){X=0;continue}if(R[0]===3&&(!f||R[1]>f[0]&&R[1]<f[3])){X.label=R[1];break}if(R[0]===6&&X.label<f[1]){X.label=f[1],f=R;break}if(f&&X.label<f[2]){X.label=f[2],X.ops.push(R);break}if(f[2])X.ops.pop();X.trys.pop();continue}R=L.call(w,X)}catch(Q){R=[6,Q],Z=0}finally{F=f=0}if(R[0]&5)throw R[1];return{value:R[0]?R[1]:void 0,done:!0}}},CL=function(w,L){for(var X in w)if(X!=="default"&&!Object.prototype.hasOwnProperty.call(L,X))L$(L,w,X)},L$=Object.create?function(w,L,X,F){if(F===void 0)F=X;var Z=Object.getOwnPropertyDescriptor(L,X);if(!Z||("get"in Z?!L.__esModule:Z.writable||Z.configurable))Z={enumerable:!0,get:function(){return L[X]}};Object.defineProperty(w,F,Z)}:function(w,L,X,F){if(F===void 0)F=X;w[F]=L[X]},W$=function(w){var L=typeof Symbol==="function"&&Symbol.iterator,X=L&&w[L],F=0;if(X)return X.call(w);if(w&&typeof w.length==="number")return{next:function(){if(w&&F>=w.length)w=void 0;return{value:w&&w[F++],done:!w}}};throw new TypeError(L?"Object is not iterable.":"Symbol.iterator is not defined.")},uU=function(w,L){var X=typeof Symbol==="function"&&w[Symbol.iterator];if(!X)return w;var F=X.call(w),Z,f=[],E;try{while((L===void 0||L-- >0)&&!(Z=F.next()).done)f.push(Z.value)}catch(I){E={error:I}}finally{try{if(Z&&!Z.done&&(X=F.return))X.call(F)}finally{if(E)throw E.error}}return f},NL=function(){for(var w=[],L=0;L<arguments.length;L++)w=w.concat(uU(arguments[L]));return w},qL=function(){for(var w=0,L=0,X=arguments.length;L<X;L++)w+=arguments[L].length;for(var F=Array(w),Z=0,L=0;L<X;L++)for(var f=arguments[L],E=0,I=f.length;E<I;E++,Z++)F[Z]=f[E];return F},jL=function(w,L,X){if(X||arguments.length===2){for(var F=0,Z=L.length,f;F<Z;F++)if(f||!(F in L)){if(!f)f=Array.prototype.slice.call(L,0,F);f[F]=L[F]}}return w.concat(f||Array.prototype.slice.call(L))},h0=function(w){return this instanceof h0?(this.v=w,this):new h0(w)},PL=function(w,L,X){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var F=X.apply(w,L||[]),Z,f=[];return Z={},I("next"),I("throw"),I("return",E),Z[Symbol.asyncIterator]=function(){return this},Z;function E(z){return function(M){return Promise.resolve(M).then(z,O)}}function I(z,M){if(F[z]){if(Z[z]=function(B){return new Promise(function(A,V){f.push([z,B,A,V])>1||Y(z,B)})},M)Z[z]=M(Z[z])}}function Y(z,M){try{R(F[z](M))}catch(B){T(f[0][3],B)}}function R(z){z.value instanceof h0?Promise.resolve(z.value.v).then(Q,O):T(f[0][2],z)}function Q(z){Y("next",z)}function O(z){Y("throw",z)}function T(z,M){if(z(M),f.shift(),f.length)Y(f[0][0],f[0][1])}},SL=function(w){var L,X;return L={},F("next"),F("throw",function(Z){throw Z}),F("return"),L[Symbol.iterator]=function(){return this},L;function F(Z,f){L[Z]=w[Z]?function(E){return(X=!X)?{value:h0(w[Z](E)),done:!1}:f?f(E):E}:f}},bL=function(w){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L=w[Symbol.asyncIterator],X;return L?L.call(w):(w=typeof W$==="function"?W$(w):w[Symbol.iterator](),X={},F("next"),F("throw"),F("return"),X[Symbol.asyncIterator]=function(){return this},X);function F(f){X[f]=w[f]&&function(E){return new Promise(function(I,Y){E=w[f](E),Z(I,Y,E.done,E.value)})}}function Z(f,E,I,Y){Promise.resolve(Y).then(function(R){f({value:R,done:I})},E)}},hL=function(w,L){if(Object.defineProperty)Object.defineProperty(w,"raw",{value:L});else w.raw=L;return w};var G=Object.create?function(w,L){Object.defineProperty(w,"default",{enumerable:!0,value:L})}:function(w,L){w.default=L};DL=function(w){if(w&&w.__esModule)return w;var L={};if(w!=null){for(var X in w)if(X!=="default"&&Object.prototype.hasOwnProperty.call(w,X))L$(L,w,X)}return G(L,w),L},kL=function(w){return w&&w.__esModule?w:{default:w}},cL=function(w,L,X,F){if(X==="a"&&!F)throw new TypeError("Private accessor was defined without a getter");if(typeof L==="function"?w!==L||!F:!L.has(w))throw new TypeError("Cannot read private member from an object whose class did not declare it");return X==="m"?F:X==="a"?F.call(w):F?F.value:L.get(w)},vL=function(w,L,X,F,Z){if(F==="m")throw new TypeError("Private method is not writable");if(F==="a"&&!Z)throw new TypeError("Private accessor was defined without a setter");if(typeof L==="function"?w!==L||!Z:!L.has(w))throw new TypeError("Cannot write private member to an object whose class did not declare it");return F==="a"?Z.call(w,X):Z?Z.value=X:L.set(w,X),X},xL=function(w,L){if(L===null||typeof L!=="object"&&typeof L!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof w==="function"?L===w:w.has(L)},uL=function(w,L,X){if(L!==null&&L!==void 0){if(typeof L!=="object"&&typeof L!=="function")throw new TypeError("Object expected.");var F,Z;if(X){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");F=L[Symbol.asyncDispose]}if(F===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");if(F=L[Symbol.dispose],X)Z=F}if(typeof F!=="function")throw new TypeError("Object not disposable.");if(Z)F=function(){try{Z.call(this)}catch(f){return Promise.reject(f)}};w.stack.push({value:L,dispose:F,async:X})}else if(X)w.stack.push({async:!0});return L};var W=typeof SuppressedError==="function"?SuppressedError:function(w,L,X){var F=new Error(X);return F.name="SuppressedError",F.error=w,F.suppressed=L,F};yL=function(w){function L(F){w.error=w.hasError?new W(F,w.error,"An error was suppressed during disposal."):F,w.hasError=!0}function X(){while(w.stack.length){var F=w.stack.pop();try{var Z=F.dispose&&F.dispose.call(F.value);if(F.async)return Promise.resolve(Z).then(X,function(f){return L(f),X()})}catch(f){L(f)}}if(w.hasError)throw w.error}return X()},$("__extends",YL),$("__assign",QL),$("__rest",zL),$("__decorate",JL),$("__param",KL),$("__esDecorate",TL),$("__runInitializers",ML),$("__propKey",OL),$("__setFunctionName",BL),$("__metadata",AL),$("__awaiter",VL),$("__generator",HL),$("__exportStar",CL),$("__createBinding",L$),$("__values",W$),$("__read",uU),$("__spread",NL),$("__spreadArrays",qL),$("__spreadArray",jL),$("__await",h0),$("__asyncGenerator",PL),$("__asyncDelegator",SL),$("__asyncValues",bL),$("__makeTemplateObject",hL),$("__importStar",DL),$("__importDefault",kL),$("__classPrivateFieldGet",cL),$("__classPrivateFieldSet",vL),$("__classPrivateFieldIn",xL),$("__addDisposableResource",uL),$("__disposeResources",yL)})});var lL=K((iB,pL)=>{var{defineProperty:F$,getOwnPropertyDescriptor:Q9,getOwnPropertyNames:z9}=Object,J9=Object.prototype.hasOwnProperty,K9=($,U)=>F$($,"name",{value:U,configurable:!0}),T9=($,U)=>{for(var G in U)F$($,G,{get:U[G],enumerable:!0})},M9=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of z9(U))if(!J9.call($,w)&&w!==G)F$($,w,{get:()=>U[w],enumerable:!(W=Q9(U,w))||W.enumerable})}return $},O9=($)=>M9(F$({},"__esModule",{value:!0}),$),gL={};T9(gL,{emitWarningIfUnsupportedVersion:()=>B9});pL.exports=O9(gL);var dL=!1,B9=K9(($)=>{if($&&!dL&&parseInt($.substring(1,$.indexOf(".")))<18)dL=!0,process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
4
- no longer support Node.js 16.x on January 6, 2025.
5
-
6
- To continue receiving updates to AWS services, bug fixes, and security
7
- updates please upgrade to a supported Node.js LTS version.
8
-
9
- More information can be found at: https://a.co/74kJMmI`)},"emitWarningIfUnsupportedVersion")});var EX=K((rB,fX)=>{var pU=function($){for(let U=0;U<8;U++)$[U]^=255;for(let U=7;U>-1;U--)if($[U]++,$[U]!==0)break},R$=Object.defineProperty,A9=Object.getOwnPropertyDescriptor,V9=Object.getOwnPropertyNames,H9=Object.prototype.hasOwnProperty,b=($,U)=>R$($,"name",{value:U,configurable:!0}),C9=($,U)=>{for(var G in U)R$($,G,{get:U[G],enumerable:!0})},N9=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of V9(U))if(!H9.call($,w)&&w!==G)R$($,w,{get:()=>U[w],enumerable:!(W=A9(U,w))||W.enumerable})}return $},q9=($)=>N9(R$({},"__esModule",{value:!0}),$),rL={};C9(rL,{SignatureV4:()=>e9,clearCredentialCache:()=>l9,createScope:()=>E$,getCanonicalHeaders:()=>gU,getCanonicalQuery:()=>wX,getPayloadHash:()=>I$,getSigningKey:()=>GX,moveHeadersToQuery:()=>FX,prepareRequest:()=>lU});fX.exports=q9(rL);var nL=k0(),yU=G0(),j9="X-Amz-Algorithm",P9="X-Amz-Credential",oL="X-Amz-Date",S9="X-Amz-SignedHeaders",b9="X-Amz-Expires",tL="X-Amz-Signature",aL="X-Amz-Security-Token",eL="authorization",$X=oL.toLowerCase(),h9="date",D9=[eL,$X,h9],k9=tL.toLowerCase(),dU="x-amz-content-sha256",c9=aL.toLowerCase(),v9={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},x9=/^proxy-/,u9=/^sec-/,_U="AWS4-HMAC-SHA256",y9="AWS4-HMAC-SHA256-PAYLOAD",_9="UNSIGNED-PAYLOAD",d9=50,UX="aws4_request",g9=604800,X0=u8(),p9=G0(),D0={},f$=[],E$=b(($,U,G)=>`${$}/${U}/${G}/${UX}`,"createScope"),GX=b(async($,U,G,W,w)=>{const L=await sL($,U.secretAccessKey,U.accessKeyId),X=`${G}:${W}:${w}:${X0.toHex(L)}:${U.sessionToken}`;if(X in D0)return D0[X];f$.push(X);while(f$.length>d9)delete D0[f$.shift()];let F=`AWS4${U.secretAccessKey}`;for(let Z of[G,W,w,UX])F=await sL($,F,Z);return D0[X]=F},"getSigningKey"),l9=b(()=>{f$.length=0,Object.keys(D0).forEach(($)=>{delete D0[$]})},"clearCredentialCache"),sL=b(($,U,G)=>{const W=new $(U);return W.update(p9.toUint8Array(G)),W.digest()},"hmac"),gU=b(({headers:$},U,G)=>{const W={};for(let w of Object.keys($).sort()){if($[w]==null)continue;const L=w.toLowerCase();if(L in v9||(U==null?void 0:U.has(L))||x9.test(L)||u9.test(L)){if(!G||G&&!G.has(L))continue}W[L]=$[w].trim().replace(/\s+/g," ")}return W},"getCanonicalHeaders"),$1=m$(),wX=b(({query:$={}})=>{const U=[],G={};for(let W of Object.keys($).sort()){if(W.toLowerCase()===k9)continue;U.push(W);const w=$[W];if(typeof w==="string")G[W]=`${$1.escapeUri(W)}=${$1.escapeUri(w)}`;else if(Array.isArray(w))G[W]=w.slice(0).reduce((L,X)=>L.concat([`${$1.escapeUri(W)}=${$1.escapeUri(X)}`]),[]).sort().join("&")}return U.map((W)=>G[W]).filter((W)=>W).join("&")},"getCanonicalQuery"),n9=d$(),s9=G0(),I$=b(async({headers:$,body:U},G)=>{for(let W of Object.keys($))if(W.toLowerCase()===dU)return $[W];if(U==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof U==="string"||ArrayBuffer.isView(U)||n9.isArrayBuffer(U)){const W=new G;return W.update(s9.toUint8Array(U)),X0.toHex(await W.digest())}return _9},"getPayloadHash"),mL=G0(),WX=class ${format(U){const G=[];for(let L of Object.keys(U)){const X=mL.fromUtf8(L);G.push(Uint8Array.from([X.byteLength]),X,this.formatHeaderValue(U[L]))}const W=new Uint8Array(G.reduce((L,X)=>L+X.byteLength,0));let w=0;for(let L of G)W.set(L,w),w+=L.byteLength;return W}formatHeaderValue(U){switch(U.type){case"boolean":return Uint8Array.from([U.value?0:1]);case"byte":return Uint8Array.from([2,U.value]);case"short":const G=new DataView(new ArrayBuffer(3));return G.setUint8(0,3),G.setInt16(1,U.value,!1),new Uint8Array(G.buffer);case"integer":const W=new DataView(new ArrayBuffer(5));return W.setUint8(0,4),W.setInt32(1,U.value,!1),new Uint8Array(W.buffer);case"long":const w=new Uint8Array(9);return w[0]=5,w.set(U.value.bytes,1),w;case"binary":const L=new DataView(new ArrayBuffer(3+U.value.byteLength));L.setUint8(0,6),L.setUint16(1,U.value.byteLength,!1);const X=new Uint8Array(L.buffer);return X.set(U.value,3),X;case"string":const F=mL.fromUtf8(U.value),Z=new DataView(new ArrayBuffer(3+F.byteLength));Z.setUint8(0,7),Z.setUint16(1,F.byteLength,!1);const f=new Uint8Array(Z.buffer);return f.set(F,3),f;case"timestamp":const E=new Uint8Array(9);return E[0]=8,E.set(r9.fromNumber(U.value.valueOf()).bytes,1),E;case"uuid":if(!i9.test(U.value))throw new Error(`Invalid UUID received: ${U.value}`);const I=new Uint8Array(17);return I[0]=9,I.set(X0.fromHex(U.value.replace(/\-/g,"")),1),I}}};b(WX,"HeaderFormatter");var m9=WX,i9=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,LX=class ${constructor(U){if(this.bytes=U,U.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(U){if(U>9223372036854776000||U<-9223372036854776000)throw new Error(`${U} is too large (or, if negative, too small) to represent as an Int64`);const G=new Uint8Array(8);for(let W=7,w=Math.abs(Math.round(U));W>-1&&w>0;W--,w/=256)G[W]=w;if(U<0)pU(G);return new $(G)}valueOf(){const U=this.bytes.slice(0),G=U[0]&128;if(G)pU(U);return parseInt(X0.toHex(U),16)*(G?-1:1)}toString(){return String(this.valueOf())}};b(LX,"Int64");var r9=LX;b(pU,"negate");var o9=b(($,U)=>{$=$.toLowerCase();for(let G of Object.keys(U))if($===G.toLowerCase())return!0;return!1},"hasHeader"),XX=i(),FX=b(($,U={})=>{var G;const{headers:W,query:w={}}=XX.HttpRequest.clone($);for(let L of Object.keys(W)){const X=L.toLowerCase();if(X.slice(0,6)==="x-amz-"&&!((G=U.unhoistableHeaders)==null?void 0:G.has(X)))w[L]=W[L],delete W[L]}return{...$,headers:W,query:w}},"moveHeadersToQuery"),lU=b(($)=>{$=XX.HttpRequest.clone($);for(let U of Object.keys($.headers))if(D9.indexOf(U.toLowerCase())>-1)delete $.headers[U];return $},"prepareRequest"),t9=b(($)=>a9($).toISOString().replace(/\.\d{3}Z$/,"Z"),"iso8601"),a9=b(($)=>{if(typeof $==="number")return new Date($*1000);if(typeof $==="string"){if(Number($))return new Date(Number($)*1000);return new Date($)}return $},"toDate"),ZX=class ${constructor({applyChecksum:U,credentials:G,region:W,service:w,sha256:L,uriEscapePath:X=!0}){this.headerFormatter=new m9,this.service=w,this.sha256=L,this.uriEscapePath=X,this.applyChecksum=typeof U==="boolean"?U:!0,this.regionProvider=nL.normalizeProvider(W),this.credentialProvider=nL.normalizeProvider(G)}async presign(U,G={}){const{signingDate:W=new Date,expiresIn:w=3600,unsignableHeaders:L,unhoistableHeaders:X,signableHeaders:F,signingRegion:Z,signingService:f}=G,E=await this.credentialProvider();this.validateResolvedCredentials(E);const I=Z??await this.regionProvider(),{longDate:Y,shortDate:R}=Z$(W);if(w>g9)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const Q=E$(R,I,f??this.service),O=FX(lU(U),{unhoistableHeaders:X});if(E.sessionToken)O.query[aL]=E.sessionToken;O.query[j9]=_U,O.query[P9]=`${E.accessKeyId}/${Q}`,O.query[oL]=Y,O.query[b9]=w.toString(10);const T=gU(O,L,F);return O.query[S9]=iL(T),O.query[tL]=await this.getSignature(Y,Q,this.getSigningKey(E,I,R,f),this.createCanonicalRequest(O,T,await I$(U,this.sha256))),O}async sign(U,G){if(typeof U==="string")return this.signString(U,G);else if(U.headers&&U.payload)return this.signEvent(U,G);else if(U.message)return this.signMessage(U,G);else return this.signRequest(U,G)}async signEvent({headers:U,payload:G},{signingDate:W=new Date,priorSignature:w,signingRegion:L,signingService:X}){const F=L??await this.regionProvider(),{shortDate:Z,longDate:f}=Z$(W),E=E$(Z,F,X??this.service),I=await I$({headers:{},body:G},this.sha256),Y=new this.sha256;Y.update(U);const R=X0.toHex(await Y.digest()),Q=[y9,f,E,w,R,I].join("\n");return this.signString(Q,{signingDate:W,signingRegion:F,signingService:X})}async signMessage(U,{signingDate:G=new Date,signingRegion:W,signingService:w}){return this.signEvent({headers:this.headerFormatter.format(U.message.headers),payload:U.message.body},{signingDate:G,signingRegion:W,signingService:w,priorSignature:U.priorSignature}).then((X)=>{return{message:U.message,signature:X}})}async signString(U,{signingDate:G=new Date,signingRegion:W,signingService:w}={}){const L=await this.credentialProvider();this.validateResolvedCredentials(L);const X=W??await this.regionProvider(),{shortDate:F}=Z$(G),Z=new this.sha256(await this.getSigningKey(L,X,F,w));return Z.update(yU.toUint8Array(U)),X0.toHex(await Z.digest())}async signRequest(U,{signingDate:G=new Date,signableHeaders:W,unsignableHeaders:w,signingRegion:L,signingService:X}={}){const F=await this.credentialProvider();this.validateResolvedCredentials(F);const Z=L??await this.regionProvider(),f=lU(U),{longDate:E,shortDate:I}=Z$(G),Y=E$(I,Z,X??this.service);if(f.headers[$X]=E,F.sessionToken)f.headers[c9]=F.sessionToken;const R=await I$(f,this.sha256);if(!o9(dU,f.headers)&&this.applyChecksum)f.headers[dU]=R;const Q=gU(f,w,W),O=await this.getSignature(E,Y,this.getSigningKey(F,Z,I,X),this.createCanonicalRequest(f,Q,R));return f.headers[eL]=`${_U} Credential=${F.accessKeyId}/${Y}, SignedHeaders=${iL(Q)}, Signature=${O}`,f}createCanonicalRequest(U,G,W){const w=Object.keys(G).sort();return`${U.method}
10
- ${this.getCanonicalPath(U)}
11
- ${wX(U)}
12
- ${w.map((L)=>`${L}:${G[L]}`).join("\n")}
13
-
14
- ${w.join(";")}
15
- ${W}`}async createStringToSign(U,G,W){const w=new this.sha256;w.update(yU.toUint8Array(W));const L=await w.digest();return`${_U}
16
- ${U}
17
- ${G}
18
- ${X0.toHex(L)}`}getCanonicalPath({path:U}){if(this.uriEscapePath){const G=[];for(let L of U.split("/")){if((L==null?void 0:L.length)===0)continue;if(L===".")continue;if(L==="..")G.pop();else G.push(L)}const W=`${(U==null?void 0:U.startsWith("/"))?"/":""}${G.join("/")}${G.length>0&&(U==null?void 0:U.endsWith("/"))?"/":""}`;return $1.escapeUri(W).replace(/%2F/g,"/")}return U}async getSignature(U,G,W,w){const L=await this.createStringToSign(U,G,w),X=new this.sha256(await W);return X.update(yU.toUint8Array(L)),X0.toHex(await X.digest())}getSigningKey(U,G,W,w){return GX(this.sha256,U,W,G,w||this.service)}validateResolvedCredentials(U){if(typeof U!=="object"||typeof U.accessKeyId!=="string"||typeof U.secretAccessKey!=="string")throw new Error("Resolved credential object is not valid")}};b(ZX,"SignatureV4");var e9=ZX,Z$=b(($)=>{const U=t9($).replace(/[\-:]/g,"");return{longDate:U,shortDate:U.slice(0,8)}},"formatDate"),iL=b(($)=>Object.keys($).sort().join(";"),"getCanonicalHeaderList")});var OX=K((oB,MX)=>{var{defineProperty:Y$,getOwnPropertyDescriptor:$Q,getOwnPropertyNames:UQ}=Object,GQ=Object.prototype.hasOwnProperty,k=($,U)=>Y$($,"name",{value:U,configurable:!0}),wQ=($,U)=>{for(var G in U)Y$($,G,{get:U[G],enumerable:!0})},WQ=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of UQ(U))if(!GQ.call($,w)&&w!==G)Y$($,w,{get:()=>U[w],enumerable:!(W=$Q(U,w))||W.enumerable})}return $},LQ=($)=>WQ(Y$({},"__esModule",{value:!0}),$),zX={};wQ(zX,{AWSSDKSigV4Signer:()=>fQ,AwsSdkSigV4ASigner:()=>IQ,AwsSdkSigV4Signer:()=>mU,NODE_SIGV4A_CONFIG_OPTIONS:()=>QQ,resolveAWSSDKSigV4Config:()=>zQ,resolveAwsSdkSigV4AConfig:()=>YQ,resolveAwsSdkSigV4Config:()=>TX,validateSigningProperties:()=>sU});MX.exports=LQ(zX);var XQ=i(),FQ=i(),IX=k(($)=>{var U,G;return FQ.HttpResponse.isInstance($)?((U=$.headers)==null?void 0:U.date)??((G=$.headers)==null?void 0:G.Date):void 0},"getDateHeader"),nU=k(($)=>new Date(Date.now()+$),"getSkewCorrectedDate"),ZQ=k(($,U)=>Math.abs(nU(U).getTime()-$)>=300000,"isClockSkewed"),RX=k(($,U)=>{const G=Date.parse($);if(ZQ(G,U))return G-Date.now();return U},"getUpdatedSystemClockOffset"),U1=k(($,U)=>{if(!U)throw new Error(`Property \`${$}\` is not resolved for AWS SDK SigV4Auth`);return U},"throwSigningPropertyError"),sU=k(async($)=>{var U,G,W;const w=U1("context",$.context),L=U1("config",$.config),X=(W=(G=(U=w.endpointV2)==null?void 0:U.properties)==null?void 0:G.authSchemes)==null?void 0:W[0],Z=await U1("signer",L.signer)(X),f=$==null?void 0:$.signingRegion,E=$==null?void 0:$.signingRegionSet,I=$==null?void 0:$.signingName;return{config:L,signer:Z,signingRegion:f,signingRegionSet:E,signingName:I}},"validateSigningProperties"),JX=class ${async sign(U,G,W){var w;if(!XQ.HttpRequest.isInstance(U))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const L=await sU(W),{config:X,signer:F}=L;let{signingRegion:Z,signingName:f}=L;const E=W.context;if(((w=E==null?void 0:E.authSchemes)==null?void 0:w.length)??0>1){const[Y,R]=E.authSchemes;if((Y==null?void 0:Y.name)==="sigv4a"&&(R==null?void 0:R.name)==="sigv4")Z=(R==null?void 0:R.signingRegion)??Z,f=(R==null?void 0:R.signingName)??f}return await F.sign(U,{signingDate:nU(X.systemClockOffset),signingRegion:Z,signingService:f})}errorHandler(U){return(G)=>{const W=G.ServerTime??IX(G.$response);if(W){const w=U1("config",U.config),L=w.systemClockOffset;if(w.systemClockOffset=RX(W,w.systemClockOffset),w.systemClockOffset!==L&&G.$metadata)G.$metadata.clockSkewCorrected=!0}throw G}}successHandler(U,G){const W=IX(U);if(W){const w=U1("config",G.config);w.systemClockOffset=RX(W,w.systemClockOffset)}}};k(JX,"AwsSdkSigV4Signer");var mU=JX,fQ=mU,EQ=i(),KX=class $ extends mU{async sign(U,G,W){var w;if(!EQ.HttpRequest.isInstance(U))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const{config:L,signer:X,signingRegion:F,signingRegionSet:Z,signingName:f}=await sU(W),I=(await((w=L.sigv4aSigningRegionSet)==null?void 0:w.call(L))??Z??[F]).join(",");return await X.sign(U,{signingDate:nU(L.systemClockOffset),signingRegion:I,signingService:f})}};k(KX,"AwsSdkSigV4ASigner");var IQ=KX,RQ=TU(),YX=K$(),YQ=k(($)=>{return $.sigv4aSigningRegionSet=RQ.normalizeProvider($.sigv4aSigningRegionSet),$},"resolveAwsSdkSigV4AConfig"),QQ={environmentVariableSelector($){if($.AWS_SIGV4A_SIGNING_REGION_SET)return $.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((U)=>U.trim());throw new YX.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.",{tryNextLink:!0})},configFileSelector($){if($.sigv4a_signing_region_set)return($.sigv4a_signing_region_set??"").split(",").map((U)=>U.trim());throw new YX.ProviderError("sigv4a_signing_region_set not set in profile.",{tryNextLink:!0})},default:void 0},T0=TU(),QX=EX(),TX=k(($)=>{let U;if($.credentials)U=T0.memoizeIdentityProvider($.credentials,T0.isIdentityExpired,T0.doesIdentityRequireRefresh);if(!U)if($.credentialDefaultProvider)U=T0.normalizeProvider($.credentialDefaultProvider(Object.assign({},$,{parentClientConfig:$})));else U=k(async()=>{throw new Error("`credentials` is missing")},"normalizedCreds");const{signingEscapePath:G=!0,systemClockOffset:W=$.systemClockOffset||0,sha256:w}=$;let L;if($.signer)L=T0.normalizeProvider($.signer);else if($.regionInfoProvider)L=k(()=>T0.normalizeProvider($.region)().then(async(X)=>[await $.regionInfoProvider(X,{useFipsEndpoint:await $.useFipsEndpoint(),useDualstackEndpoint:await $.useDualstackEndpoint()})||{},X]).then(([X,F])=>{const{signingRegion:Z,signingService:f}=X;$.signingRegion=$.signingRegion||Z||F,$.signingName=$.signingName||f||$.serviceId;const E={...$,credentials:U,region:$.signingRegion,service:$.signingName,sha256:w,uriEscapePath:G};return new($.signerConstructor||QX.SignatureV4)(E)}),"signer");else L=k(async(X)=>{X=Object.assign({},{name:"sigv4",signingName:$.signingName||$.defaultSigningName,signingRegion:await T0.normalizeProvider($.region)(),properties:{}},X);const{signingRegion:F,signingName:Z}=X;$.signingRegion=$.signingRegion||F,$.signingName=$.signingName||Z||$.serviceId;const f={...$,credentials:U,region:$.signingRegion,service:$.signingName,sha256:w,uriEscapePath:G};return new($.signerConstructor||QX.SignatureV4)(f)},"signer");return{...$,systemClockOffset:W,signingEscapePath:G,credentials:U,signer:L}},"resolveAwsSdkSigV4Config"),zQ=TX});var Q$=K((OQ)=>{var JQ=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",BX="[:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]["+JQ+"]*",KQ=new RegExp("^"+BX+"$"),TQ=function($,U){const G=[];let W=U.exec($);while(W){const w=[];w.startIndex=U.lastIndex-W[0].length;const L=W.length;for(let X=0;X<L;X++)w.push(W[X]);G.push(w),W=U.exec($)}return G},MQ=function($){const U=KQ.exec($);return!(U===null||typeof U==="undefined")};OQ.isExist=function($){return typeof $!=="undefined"};OQ.isEmptyObject=function($){return Object.keys($).length===0};OQ.merge=function($,U,G){if(U){const W=Object.keys(U),w=W.length;for(let L=0;L<w;L++)if(G==="strict")$[W[L]]=[U[W[L]]];else $[W[L]]=U[W[L]]}};OQ.getValue=function($){if(OQ.isExist($))return $;else return""};OQ.isName=MQ;OQ.getAllMatches=TQ;OQ.nameRegexp=BX});var rU=K((vQ)=>{var VX=function($){return $===" "||$==="\t"||$==="\n"||$==="\r"},HX=function($,U){const G=U;for(;U<$.length;U++)if($[U]=="?"||$[U]==" "){const W=$.substr(G,U-G);if(U>5&&W==="xml")return P("InvalidXml","XML declaration allowed only at the start of the document.",D($,U));else if($[U]=="?"&&$[U+1]==">"){U++;break}else continue}return U},CX=function($,U){if($.length>U+5&&$[U+1]==="-"&&$[U+2]==="-"){for(U+=3;U<$.length;U++)if($[U]==="-"&&$[U+1]==="-"&&$[U+2]===">"){U+=2;break}}else if($.length>U+8&&$[U+1]==="D"&&$[U+2]==="O"&&$[U+3]==="C"&&$[U+4]==="T"&&$[U+5]==="Y"&&$[U+6]==="P"&&$[U+7]==="E"){let G=1;for(U+=8;U<$.length;U++)if($[U]==="<")G++;else if($[U]===">"){if(G--,G===0)break}}else if($.length>U+9&&$[U+1]==="["&&$[U+2]==="C"&&$[U+3]==="D"&&$[U+4]==="A"&&$[U+5]==="T"&&$[U+6]==="A"&&$[U+7]==="["){for(U+=8;U<$.length;U++)if($[U]==="]"&&$[U+1]==="]"&&$[U+2]===">"){U+=2;break}}return U},SQ=function($,U){let G="",W="",w=!1;for(;U<$.length;U++){if($[U]===jQ||$[U]===PQ)if(W==="")W=$[U];else if(W!==$[U]);else W="";else if($[U]===">"){if(W===""){w=!0;break}}G+=$[U]}if(W!=="")return!1;return{value:G,index:U,tagClosed:w}},NX=function($,U){const G=iU.getAllMatches($,bQ),W={};for(let w=0;w<G.length;w++){if(G[w][1].length===0)return P("InvalidAttr","Attribute '"+G[w][2]+"' has no space in starting.",G1(G[w]));else if(G[w][3]!==void 0&&G[w][4]===void 0)return P("InvalidAttr","Attribute '"+G[w][2]+"' is without value.",G1(G[w]));else if(G[w][3]===void 0&&!U.allowBooleanAttributes)return P("InvalidAttr","boolean attribute '"+G[w][2]+"' is not allowed.",G1(G[w]));const L=G[w][2];if(!kQ(L))return P("InvalidAttr","Attribute '"+L+"' is an invalid name.",G1(G[w]));if(!W.hasOwnProperty(L))W[L]=1;else return P("InvalidAttr","Attribute '"+L+"' is repeated.",G1(G[w]))}return!0},hQ=function($,U){let G=/\d/;if($[U]==="x")U++,G=/[\da-fA-F]/;for(;U<$.length;U++){if($[U]===";")return U;if(!$[U].match(G))break}return-1},DQ=function($,U){if(U++,$[U]===";")return-1;if($[U]==="#")return U++,hQ($,U);let G=0;for(;U<$.length;U++,G++){if($[U].match(/\w/)&&G<20)continue;if($[U]===";")break;return-1}return U},P=function($,U,G){return{err:{code:$,msg:U,line:G.line||G,col:G.col}}},kQ=function($){return iU.isName($)},cQ=function($){return iU.isName($)},D=function($,U){const G=$.substring(0,U).split(/\r?\n/);return{line:G.length,col:G[G.length-1].length+1}},G1=function($){return $.startIndex+$[1].length},iU=Q$(),qQ={allowBooleanAttributes:!1,unpairedTags:[]};vQ.validate=function($,U){U=Object.assign({},qQ,U);const G=[];let W=!1,w=!1;if($[0]==="\uFEFF")$=$.substr(1);for(let L=0;L<$.length;L++)if($[L]==="<"&&$[L+1]==="?"){if(L+=2,L=HX($,L),L.err)return L}else if($[L]==="<"){let X=L;if(L++,$[L]==="!"){L=CX($,L);continue}else{let F=!1;if($[L]==="/")F=!0,L++;let Z="";for(;L<$.length&&$[L]!==">"&&$[L]!==" "&&$[L]!=="\t"&&$[L]!=="\n"&&$[L]!=="\r";L++)Z+=$[L];if(Z=Z.trim(),Z[Z.length-1]==="/")Z=Z.substring(0,Z.length-1),L--;if(!cQ(Z)){let I;if(Z.trim().length===0)I="Invalid space after '<'.";else I="Tag '"+Z+"' is an invalid name.";return P("InvalidTag",I,D($,L))}const f=SQ($,L);if(f===!1)return P("InvalidAttr","Attributes for '"+Z+"' have open quote.",D($,L));let E=f.value;if(L=f.index,E[E.length-1]==="/"){const I=L-E.length;E=E.substring(0,E.length-1);const Y=NX(E,U);if(Y===!0)W=!0;else return P(Y.err.code,Y.err.msg,D($,I+Y.err.line))}else if(F)if(!f.tagClosed)return P("InvalidTag","Closing tag '"+Z+"' doesn't have proper closing.",D($,L));else if(E.trim().length>0)return P("InvalidTag","Closing tag '"+Z+"' can't have attributes or invalid starting.",D($,X));else if(G.length===0)return P("InvalidTag","Closing tag '"+Z+"' has not been opened.",D($,X));else{const I=G.pop();if(Z!==I.tagName){let Y=D($,I.tagStartPos);return P("InvalidTag","Expected closing tag '"+I.tagName+"' (opened in line "+Y.line+", col "+Y.col+") instead of closing tag '"+Z+"'.",D($,X))}if(G.length==0)w=!0}else{const I=NX(E,U);if(I!==!0)return P(I.err.code,I.err.msg,D($,L-E.length+I.err.line));if(w===!0)return P("InvalidXml","Multiple possible root nodes found.",D($,L));else if(U.unpairedTags.indexOf(Z)!==-1);else G.push({tagName:Z,tagStartPos:X});W=!0}for(L++;L<$.length;L++)if($[L]==="<")if($[L+1]==="!"){L++,L=CX($,L);continue}else if($[L+1]==="?"){if(L=HX($,++L),L.err)return L}else break;else if($[L]==="&"){const I=DQ($,L);if(I==-1)return P("InvalidChar","char '&' is not expected.",D($,L));L=I}else if(w===!0&&!VX($[L]))return P("InvalidXml","Extra text at the end",D($,L));if($[L]==="<")L--}}else{if(VX($[L]))continue;return P("InvalidChar","char '"+$[L]+"' is not expected.",D($,L))}if(!W)return P("InvalidXml","Start tag expected.",1);else if(G.length==1)return P("InvalidTag","Unclosed tag '"+G[0].tagName+"'.",D($,G[0].tagStartPos));else if(G.length>0)return P("InvalidXml","Invalid '"+JSON.stringify(G.map((L)=>L.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1});return!0};var jQ='"',PQ="'",bQ=new RegExp('(\\s*)([^\\s=]+)(\\s*=)?(\\s*([\'"])(([\\s\\S])*?)\\5)?',"g")});var jX=K((yQ)=>{var qX={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function($,U){return U},attributeValueProcessor:function($,U){return U},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function($,U,G){return $}},uQ=function($){return Object.assign({},qX,$)};yQ.buildOptions=uQ;yQ.defaultOptions=qX});var bX=K(($A,SX)=>{class PX{constructor($){this.tagname=$,this.child=[],this[":@"]={}}add($,U){if($==="__proto__")$="#__proto__";this.child.push({[$]:U})}addChild($){if($.tagname==="__proto__")$.tagname="#__proto__";if($[":@"]&&Object.keys($[":@"]).length>0)this.child.push({[$.tagname]:$.child,[":@"]:$[":@"]});else this.child.push({[$.tagname]:$.child})}}SX.exports=PX});var DX=K((UA,hX)=>{var pQ=function($,U){const G={};if($[U+3]==="O"&&$[U+4]==="C"&&$[U+5]==="T"&&$[U+6]==="Y"&&$[U+7]==="P"&&$[U+8]==="E"){U=U+9;let W=1,w=!1,L=!1,X="";for(;U<$.length;U++)if($[U]==="<"&&!L){if(w&&sQ($,U)){if(U+=7,[entityName,val,U]=lQ($,U+1),val.indexOf("&")===-1)G[oQ(entityName)]={regx:RegExp(`&${entityName};`,"g"),val}}else if(w&&mQ($,U))U+=8;else if(w&&iQ($,U))U+=8;else if(w&&rQ($,U))U+=9;else if(nQ)L=!0;else throw new Error("Invalid DOCTYPE");W++,X=""}else if($[U]===">"){if(L){if($[U-1]==="-"&&$[U-2]==="-")L=!1,W--}else W--;if(W===0)break}else if($[U]==="[")w=!0;else X+=$[U];if(W!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:G,i:U}},lQ=function($,U){let G="";for(;U<$.length&&($[U]!=="'"&&$[U]!=='"');U++)G+=$[U];if(G=G.trim(),G.indexOf(" ")!==-1)throw new Error("External entites are not supported");const W=$[U++];let w="";for(;U<$.length&&$[U]!==W;U++)w+=$[U];return[G,w,U]},nQ=function($,U){if($[U+1]==="!"&&$[U+2]==="-"&&$[U+3]==="-")return!0;return!1},sQ=function($,U){if($[U+1]==="!"&&$[U+2]==="E"&&$[U+3]==="N"&&$[U+4]==="T"&&$[U+5]==="I"&&$[U+6]==="T"&&$[U+7]==="Y")return!0;return!1},mQ=function($,U){if($[U+1]==="!"&&$[U+2]==="E"&&$[U+3]==="L"&&$[U+4]==="E"&&$[U+5]==="M"&&$[U+6]==="E"&&$[U+7]==="N"&&$[U+8]==="T")return!0;return!1},iQ=function($,U){if($[U+1]==="!"&&$[U+2]==="A"&&$[U+3]==="T"&&$[U+4]==="T"&&$[U+5]==="L"&&$[U+6]==="I"&&$[U+7]==="S"&&$[U+8]==="T")return!0;return!1},rQ=function($,U){if($[U+1]==="!"&&$[U+2]==="N"&&$[U+3]==="O"&&$[U+4]==="T"&&$[U+5]==="A"&&$[U+6]==="T"&&$[U+7]==="I"&&$[U+8]==="O"&&$[U+9]==="N")return!0;return!1},oQ=function($){if(gQ.isName($))return $;else throw new Error(`Invalid entity name ${$}`)},gQ=Q$();hX.exports=pQ});var cX=K((GA,kX)=>{var $7=function($,U={}){if(U=Object.assign({},eQ,U),!$||typeof $!=="string")return $;let G=$.trim();if(U.skipLike!==void 0&&U.skipLike.test(G))return $;else if(U.hex&&tQ.test(G))return Number.parseInt(G,16);else{const W=aQ.exec(G);if(W){const w=W[1],L=W[2];let X=U7(W[3]);const F=W[4]||W[6];if(!U.leadingZeros&&L.length>0&&w&&G[2]!==".")return $;else if(!U.leadingZeros&&L.length>0&&!w&&G[1]!==".")return $;else{const Z=Number(G),f=""+Z;if(f.search(/[eE]/)!==-1)if(U.eNotation)return Z;else return $;else if(F)if(U.eNotation)return Z;else return $;else if(G.indexOf(".")!==-1)if(f==="0"&&X==="")return Z;else if(f===X)return Z;else if(w&&f==="-"+X)return Z;else return $;if(L)if(X===f)return Z;else if(w+X===f)return Z;else return $;if(G===f)return Z;else if(G===w+f)return Z;return $}}else return $}},U7=function($){if($&&$.indexOf(".")!==-1){if($=$.replace(/0+$/,""),$===".")$="0";else if($[0]===".")$="0"+$;else if($[$.length-1]===".")$=$.substr(0,$.length-1);return $}return $},tQ=/^[-+]?0x[a-fA-F0-9]+$/,aQ=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;if(!Number.parseInt&&window.parseInt)Number.parseInt=window.parseInt;if(!Number.parseFloat&&window.parseFloat)Number.parseFloat=window.parseFloat;var eQ={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};kX.exports=$7});var yX=K((wA,uX)=>{var W7=function($){const U=Object.keys($);for(let G=0;G<U.length;G++){const W=U[G];this.lastEntities[W]={regex:new RegExp("&"+W+";","g"),val:$[W]}}},L7=function($,U,G,W,w,L,X){if($!==void 0){if(this.options.trimValues&&!W)$=$.trim();if($.length>0){if(!X)$=this.replaceEntitiesValue($);const F=this.options.tagValueProcessor(U,$,G,w,L);if(F===null||F===void 0)return $;else if(typeof F!==typeof $||F!==$)return F;else if(this.options.trimValues)return tU($,this.options.parseTagValue,this.options.numberParseOptions);else if($.trim()===$)return tU($,this.options.parseTagValue,this.options.numberParseOptions);else return $}}},X7=function($){if(this.options.removeNSPrefix){const U=$.split(":"),G=$.charAt(0)==="/"?"/":"";if(U[0]==="xmlns")return"";if(U.length===2)$=G+U[1]}return $},Z7=function($,U,G){if(!this.options.ignoreAttributes&&typeof $==="string"){const W=vX.getAllMatches($,F7),w=W.length,L={};for(let X=0;X<w;X++){const F=this.resolveNameSpace(W[X][1]);let Z=W[X][4],f=this.options.attributeNamePrefix+F;if(F.length){if(this.options.transformAttributeName)f=this.options.transformAttributeName(f);if(f==="__proto__")f="#__proto__";if(Z!==void 0){if(this.options.trimValues)Z=Z.trim();Z=this.replaceEntitiesValue(Z);const E=this.options.attributeValueProcessor(F,Z,U);if(E===null||E===void 0)L[f]=Z;else if(typeof E!==typeof Z||E!==Z)L[f]=E;else L[f]=tU(Z,this.options.parseAttributeValue,this.options.numberParseOptions)}else if(this.options.allowBooleanAttributes)L[f]=!0}}if(!Object.keys(L).length)return;if(this.options.attributesGroupName){const X={};return X[this.options.attributesGroupName]=L,X}return L}},E7=function($,U,G){const W=this.options.updateTag(U.tagname,G,U[":@"]);if(W===!1);else if(typeof W==="string")U.tagname=W,$.addChild(U);else $.addChild(U)},R7=function($,U,G,W){if($){if(W===void 0)W=Object.keys(U.child).length===0;if($=this.parseTextData($,U.tagname,G,!1,U[":@"]?Object.keys(U[":@"]).length!==0:!1,W),$!==void 0&&$!=="")U.add(this.options.textNodeName,$);$=""}return $},Y7=function($,U,G){const W="*."+G;for(let w in $){const L=$[w];if(W===L||U===L)return!0}return!1},Q7=function($,U,G=">"){let W,w="";for(let L=U;L<$.length;L++){let X=$[L];if(W){if(X===W)W=""}else if(X==='"'||X==="'")W=X;else if(X===G[0])if(G[1]){if($[L+1]===G[1])return{data:w,index:L}}else return{data:w,index:L};else if(X==="\t")X=" ";w+=X}},M0=function($,U,G,W){const w=$.indexOf(U,G);if(w===-1)throw new Error(W);else return w+U.length-1},oU=function($,U,G,W=">"){const w=Q7($,U+1,W);if(!w)return;let L=w.data;const X=w.index,F=L.search(/\s/);let Z=L,f=!0;if(F!==-1)Z=L.substring(0,F),L=L.substring(F+1).trimStart();const E=Z;if(G){const I=Z.indexOf(":");if(I!==-1)Z=Z.substr(I+1),f=Z!==w.data.substr(I+1)}return{tagName:Z,tagExp:L,closeIndex:X,attrExpPresent:f,rawTagName:E}},z7=function($,U,G){const W=G;let w=1;for(;G<$.length;G++)if($[G]==="<")if($[G+1]==="/"){const L=M0($,">",G,`${U} is not closed`);if($.substring(G+2,L).trim()===U){if(w--,w===0)return{tagContent:$.substring(W,G),i:L}}G=L}else if($[G+1]==="?")G=M0($,"?>",G+1,"StopNode is not closed.");else if($.substr(G+1,3)==="!--")G=M0($,"-->",G+3,"StopNode is not closed.");else if($.substr(G+1,2)==="![")G=M0($,"]]>",G,"StopNode is not closed.")-2;else{const L=oU($,G,">");if(L){if((L&&L.tagName)===U&&L.tagExp[L.tagExp.length-1]!=="/")w++;G=L.closeIndex}}},tU=function($,U,G){if(U&&typeof $==="string"){const W=$.trim();if(W==="true")return!0;else if(W==="false")return!1;else return w7($,G)}else if(vX.isExist($))return $;else return""},vX=Q$(),w1=bX(),G7=DX(),w7=cX();class xX{constructor($){this.options=$,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:"\""}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(U,G)=>String.fromCharCode(Number.parseInt(G,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(U,G)=>String.fromCharCode(Number.parseInt(G,16))}},this.addExternalEntities=W7,this.parseXml=f7,this.parseTextData=L7,this.resolveNameSpace=X7,this.buildAttributesMap=Z7,this.isItStopNode=Y7,this.replaceEntitiesValue=I7,this.readStopNodeData=z7,this.saveTextToParentTag=R7,this.addChild=E7}}var F7=new RegExp('([^\\s=]+)\\s*(=\\s*([\'"])([\\s\\S]*?)\\3)?',"gm"),f7=function($){$=$.replace(/\r\n?/g,"\n");const U=new w1("!xml");let G=U,W="",w="";for(let L=0;L<$.length;L++)if($[L]==="<")if($[L+1]==="/"){const F=M0($,">",L,"Closing Tag is not closed.");let Z=$.substring(L+2,F).trim();if(this.options.removeNSPrefix){const I=Z.indexOf(":");if(I!==-1)Z=Z.substr(I+1)}if(this.options.transformTagName)Z=this.options.transformTagName(Z);if(G)W=this.saveTextToParentTag(W,G,w);const f=w.substring(w.lastIndexOf(".")+1);if(Z&&this.options.unpairedTags.indexOf(Z)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${Z}>`);let E=0;if(f&&this.options.unpairedTags.indexOf(f)!==-1)E=w.lastIndexOf(".",w.lastIndexOf(".")-1),this.tagsNodeStack.pop();else E=w.lastIndexOf(".");w=w.substring(0,E),G=this.tagsNodeStack.pop(),W="",L=F}else if($[L+1]==="?"){let F=oU($,L,!1,"?>");if(!F)throw new Error("Pi Tag is not closed.");if(W=this.saveTextToParentTag(W,G,w),this.options.ignoreDeclaration&&F.tagName==="?xml"||this.options.ignorePiTags);else{const Z=new w1(F.tagName);if(Z.add(this.options.textNodeName,""),F.tagName!==F.tagExp&&F.attrExpPresent)Z[":@"]=this.buildAttributesMap(F.tagExp,w,F.tagName);this.addChild(G,Z,w)}L=F.closeIndex+1}else if($.substr(L+1,3)==="!--"){const F=M0($,"-->",L+4,"Comment is not closed.");if(this.options.commentPropName){const Z=$.substring(L+4,F-2);W=this.saveTextToParentTag(W,G,w),G.add(this.options.commentPropName,[{[this.options.textNodeName]:Z}])}L=F}else if($.substr(L+1,2)==="!D"){const F=G7($,L);this.docTypeEntities=F.entities,L=F.i}else if($.substr(L+1,2)==="!["){const F=M0($,"]]>",L,"CDATA is not closed.")-2,Z=$.substring(L+9,F);W=this.saveTextToParentTag(W,G,w);let f=this.parseTextData(Z,G.tagname,w,!0,!1,!0,!0);if(f==null)f="";if(this.options.cdataPropName)G.add(this.options.cdataPropName,[{[this.options.textNodeName]:Z}]);else G.add(this.options.textNodeName,f);L=F+2}else{let F=oU($,L,this.options.removeNSPrefix),Z=F.tagName;const f=F.rawTagName;let{tagExp:E,attrExpPresent:I,closeIndex:Y}=F;if(this.options.transformTagName)Z=this.options.transformTagName(Z);if(G&&W){if(G.tagname!=="!xml")W=this.saveTextToParentTag(W,G,w,!1)}const R=G;if(R&&this.options.unpairedTags.indexOf(R.tagname)!==-1)G=this.tagsNodeStack.pop(),w=w.substring(0,w.lastIndexOf("."));if(Z!==U.tagname)w+=w?"."+Z:Z;if(this.isItStopNode(this.options.stopNodes,w,Z)){let Q="";if(E.length>0&&E.lastIndexOf("/")===E.length-1){if(Z[Z.length-1]==="/")Z=Z.substr(0,Z.length-1),w=w.substr(0,w.length-1),E=Z;else E=E.substr(0,E.length-1);L=F.closeIndex}else if(this.options.unpairedTags.indexOf(Z)!==-1)L=F.closeIndex;else{const T=this.readStopNodeData($,f,Y+1);if(!T)throw new Error(`Unexpected end of ${f}`);L=T.i,Q=T.tagContent}const O=new w1(Z);if(Z!==E&&I)O[":@"]=this.buildAttributesMap(E,w,Z);if(Q)Q=this.parseTextData(Q,Z,w,!0,I,!0,!0);w=w.substr(0,w.lastIndexOf(".")),O.add(this.options.textNodeName,Q),this.addChild(G,O,w)}else{if(E.length>0&&E.lastIndexOf("/")===E.length-1){if(Z[Z.length-1]==="/")Z=Z.substr(0,Z.length-1),w=w.substr(0,w.length-1),E=Z;else E=E.substr(0,E.length-1);if(this.options.transformTagName)Z=this.options.transformTagName(Z);const Q=new w1(Z);if(Z!==E&&I)Q[":@"]=this.buildAttributesMap(E,w,Z);this.addChild(G,Q,w),w=w.substr(0,w.lastIndexOf("."))}else{const Q=new w1(Z);if(this.tagsNodeStack.push(G),Z!==E&&I)Q[":@"]=this.buildAttributesMap(E,w,Z);this.addChild(G,Q,w),G=Q}W="",L=Y}}else W+=$[L];return U.child},I7=function($){if(this.options.processEntities){for(let U in this.docTypeEntities){const G=this.docTypeEntities[U];$=$.replace(G.regx,G.val)}for(let U in this.lastEntities){const G=this.lastEntities[U];$=$.replace(G.regex,G.val)}if(this.options.htmlEntities)for(let U in this.htmlEntities){const G=this.htmlEntities[U];$=$.replace(G.regex,G.val)}$=$.replace(this.ampEntity.regex,this.ampEntity.val)}return $};uX.exports=xX});var dX=K((O7)=>{var J7=function($,U){return _X($,U)},_X=function($,U,G){let W;const w={};for(let L=0;L<$.length;L++){const X=$[L],F=K7(X);let Z="";if(G===void 0)Z=F;else Z=G+"."+F;if(F===U.textNodeName)if(W===void 0)W=X[F];else W+=""+X[F];else if(F===void 0)continue;else if(X[F]){let f=_X(X[F],U,Z);const E=M7(f,U);if(X[":@"])T7(f,X[":@"],Z,U);else if(Object.keys(f).length===1&&f[U.textNodeName]!==void 0&&!U.alwaysCreateTextNode)f=f[U.textNodeName];else if(Object.keys(f).length===0)if(U.alwaysCreateTextNode)f[U.textNodeName]="";else f="";if(w[F]!==void 0&&w.hasOwnProperty(F)){if(!Array.isArray(w[F]))w[F]=[w[F]];w[F].push(f)}else if(U.isArray(F,Z,E))w[F]=[f];else w[F]=f}}if(typeof W==="string"){if(W.length>0)w[U.textNodeName]=W}else if(W!==void 0)w[U.textNodeName]=W;return w},K7=function($){const U=Object.keys($);for(let G=0;G<U.length;G++){const W=U[G];if(W!==":@")return W}},T7=function($,U,G,W){if(U){const w=Object.keys(U),L=w.length;for(let X=0;X<L;X++){const F=w[X];if(W.isArray(F,G+"."+F,!0,!0))$[F]=[U[F]];else $[F]=U[F]}}},M7=function($,U){const{textNodeName:G}=U,W=Object.keys($).length;if(W===0)return!0;if(W===1&&($[G]||typeof $[G]==="boolean"||$[G]===0))return!0;return!1};O7.prettify=J7});var lX=K((LA,pX)=>{var{buildOptions:A7}=jX(),V7=yX(),{prettify:H7}=dX(),C7=rU();class gX{constructor($){this.externalEntities={},this.options=A7($)}parse($,U){if(typeof $==="string");else if($.toString)$=$.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(U){if(U===!0)U={};const w=C7.validate($,U);if(w!==!0)throw Error(`${w.err.msg}:${w.err.line}:${w.err.col}`)}const G=new V7(this.options);G.addExternalEntities(this.externalEntities);const W=G.parseXml($);if(this.options.preserveOrder||W===void 0)return W;else return H7(W,this.options)}addEntity($,U){if(U.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");else if($.indexOf("&")!==-1||$.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");else if(U==="&")throw new Error("An entity with value '&' is not permitted");else this.externalEntities[$]=U}}pX.exports=gX});var rX=K((XA,iX)=>{var N7=function($,U){let G="";if(U.format&&U.indentBy.length>0)G="\n";return sX($,U,"",G)},sX=function($,U,G,W){let w="",L=!1;for(let X=0;X<$.length;X++){const F=$[X],Z=q7(F);if(Z===void 0)continue;let f="";if(G.length===0)f=Z;else f=`${G}.${Z}`;if(Z===U.textNodeName){let Q=F[Z];if(!j7(f,U))Q=U.tagValueProcessor(Z,Q),Q=mX(Q,U);if(L)w+=W;w+=Q,L=!1;continue}else if(Z===U.cdataPropName){if(L)w+=W;w+=`<![CDATA[${F[Z][0][U.textNodeName]}]]>`,L=!1;continue}else if(Z===U.commentPropName){w+=W+`<!--${F[Z][0][U.textNodeName]}-->`,L=!0;continue}else if(Z[0]==="?"){const Q=nX(F[":@"],U),O=Z==="?xml"?"":W;let T=F[Z][0][U.textNodeName];T=T.length!==0?" "+T:"",w+=O+`<${Z}${T}${Q}?>`,L=!0;continue}let E=W;if(E!=="")E+=U.indentBy;const I=nX(F[":@"],U),Y=W+`<${Z}${I}`,R=sX(F[Z],U,f,E);if(U.unpairedTags.indexOf(Z)!==-1)if(U.suppressUnpairedNode)w+=Y+">";else w+=Y+"/>";else if((!R||R.length===0)&&U.suppressEmptyNode)w+=Y+"/>";else if(R&&R.endsWith(">"))w+=Y+`>${R}${W}</${Z}>`;else{if(w+=Y+">",R&&W!==""&&(R.includes("/>")||R.includes("</")))w+=W+U.indentBy+R+W;else w+=R;w+=`</${Z}>`}L=!0}return w},q7=function($){const U=Object.keys($);for(let G=0;G<U.length;G++){const W=U[G];if(!$.hasOwnProperty(W))continue;if(W!==":@")return W}},nX=function($,U){let G="";if($&&!U.ignoreAttributes)for(let W in $){if(!$.hasOwnProperty(W))continue;let w=U.attributeValueProcessor(W,$[W]);if(w=mX(w,U),w===!0&&U.suppressBooleanAttributes)G+=` ${W.substr(U.attributeNamePrefix.length)}`;else G+=` ${W.substr(U.attributeNamePrefix.length)}="${w}"`}return G},j7=function($,U){$=$.substr(0,$.length-U.textNodeName.length-1);let G=$.substr($.lastIndexOf(".")+1);for(let W in U.stopNodes)if(U.stopNodes[W]===$||U.stopNodes[W]==="*."+G)return!0;return!1},mX=function($,U){if($&&$.length>0&&U.processEntities)for(let G=0;G<U.entities.length;G++){const W=U.entities[G];$=$.replace(W.regex,W.val)}return $};iX.exports=N7});var tX=K((FA,oX)=>{var F0=function($){if(this.options=Object.assign({},S7,$),this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=D7;if(this.processTextOrObjNode=b7,this.options.format)this.indentate=h7,this.tagEndChar=">\n",this.newLine="\n";else this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""},b7=function($,U,G){const W=this.j2x($,G+1);if($[this.options.textNodeName]!==void 0&&Object.keys($).length===1)return this.buildTextValNode($[this.options.textNodeName],U,W.attrStr,G);else return this.buildObjectNode(W.val,U,W.attrStr,G)},h7=function($){return this.options.indentBy.repeat($)},D7=function($){if($.startsWith(this.options.attributeNamePrefix)&&$!==this.options.textNodeName)return $.substr(this.attrPrefixLen);else return!1},P7=rX(),S7={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function($,U){return U},attributeValueProcessor:function($,U){return U},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("\'","g"),val:"&apos;"},{regex:new RegExp("\"","g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};F0.prototype.build=function($){if(this.options.preserveOrder)return P7($,this.options);else{if(Array.isArray($)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1)$={[this.options.arrayNodeName]:$};return this.j2x($,0).val}};F0.prototype.j2x=function($,U){let G="",W="";for(let w in $){if(!Object.prototype.hasOwnProperty.call($,w))continue;if(typeof $[w]==="undefined"){if(this.isAttribute(w))W+=""}else if($[w]===null)if(this.isAttribute(w))W+="";else if(w[0]==="?")W+=this.indentate(U)+"<"+w+"?"+this.tagEndChar;else W+=this.indentate(U)+"<"+w+"/"+this.tagEndChar;else if($[w]instanceof Date)W+=this.buildTextValNode($[w],w,"",U);else if(typeof $[w]!=="object"){const L=this.isAttribute(w);if(L)G+=this.buildAttrPairStr(L,""+$[w]);else if(w===this.options.textNodeName){let X=this.options.tagValueProcessor(w,""+$[w]);W+=this.replaceEntitiesValue(X)}else W+=this.buildTextValNode($[w],w,"",U)}else if(Array.isArray($[w])){const L=$[w].length;let X="",F="";for(let Z=0;Z<L;Z++){const f=$[w][Z];if(typeof f==="undefined");else if(f===null)if(w[0]==="?")W+=this.indentate(U)+"<"+w+"?"+this.tagEndChar;else W+=this.indentate(U)+"<"+w+"/"+this.tagEndChar;else if(typeof f==="object")if(this.options.oneListGroup){const E=this.j2x(f,U+1);if(X+=E.val,this.options.attributesGroupName&&f.hasOwnProperty(this.options.attributesGroupName))F+=E.attrStr}else X+=this.processTextOrObjNode(f,w,U);else if(this.options.oneListGroup){let E=this.options.tagValueProcessor(w,f);E=this.replaceEntitiesValue(E),X+=E}else X+=this.buildTextValNode(f,w,"",U)}if(this.options.oneListGroup)X=this.buildObjectNode(X,w,F,U);W+=X}else if(this.options.attributesGroupName&&w===this.options.attributesGroupName){const L=Object.keys($[w]),X=L.length;for(let F=0;F<X;F++)G+=this.buildAttrPairStr(L[F],""+$[w][L[F]])}else W+=this.processTextOrObjNode($[w],w,U)}return{attrStr:G,val:W}};F0.prototype.buildAttrPairStr=function($,U){if(U=this.options.attributeValueProcessor($,""+U),U=this.replaceEntitiesValue(U),this.options.suppressBooleanAttributes&&U==="true")return" "+$;else return" "+$+'="'+U+'"'};F0.prototype.buildObjectNode=function($,U,G,W){if($==="")if(U[0]==="?")return this.indentate(W)+"<"+U+G+"?"+this.tagEndChar;else return this.indentate(W)+"<"+U+G+this.closeTag(U)+this.tagEndChar;else{let w="</"+U+this.tagEndChar,L="";if(U[0]==="?")L="?",w="";if((G||G==="")&&$.indexOf("<")===-1)return this.indentate(W)+"<"+U+G+L+">"+$+w;else if(this.options.commentPropName!==!1&&U===this.options.commentPropName&&L.length===0)return this.indentate(W)+`<!--${$}-->`+this.newLine;else return this.indentate(W)+"<"+U+G+L+this.tagEndChar+$+this.indentate(W)+w}};F0.prototype.closeTag=function($){let U="";if(this.options.unpairedTags.indexOf($)!==-1){if(!this.options.suppressUnpairedNode)U="/"}else if(this.options.suppressEmptyNode)U="/";else U=`></${$}`;return U};F0.prototype.buildTextValNode=function($,U,G,W){if(this.options.cdataPropName!==!1&&U===this.options.cdataPropName)return this.indentate(W)+`<![CDATA[${$}]]>`+this.newLine;else if(this.options.commentPropName!==!1&&U===this.options.commentPropName)return this.indentate(W)+`<!--${$}-->`+this.newLine;else if(U[0]==="?")return this.indentate(W)+"<"+U+G+"?"+this.tagEndChar;else{let w=this.options.tagValueProcessor(U,$);if(w=this.replaceEntitiesValue(w),w==="")return this.indentate(W)+"<"+U+G+this.closeTag(U)+this.tagEndChar;else return this.indentate(W)+"<"+U+G+">"+w+"</"+U+this.tagEndChar}};F0.prototype.replaceEntitiesValue=function($){if($&&$.length>0&&this.options.processEntities)for(let U=0;U<this.options.entities.length;U++){const G=this.options.entities[U];$=$.replace(G.regex,G.val)}return $};oX.exports=F0});var eX=K((ZA,aX)=>{var k7=rU(),c7=lX(),v7=tX();aX.exports={XMLParser:c7,XMLValidator:k7,XMLBuilder:v7}});var LF=K((fA,WF)=>{var{defineProperty:z$,getOwnPropertyDescriptor:x7,getOwnPropertyNames:u7}=Object,y7=Object.prototype.hasOwnProperty,c=($,U)=>z$($,"name",{value:U,configurable:!0}),_7=($,U)=>{for(var G in U)z$($,G,{get:U[G],enumerable:!0})},d7=($,U,G,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of u7(U))if(!y7.call($,w)&&w!==G)z$($,w,{get:()=>U[w],enumerable:!(W=x7(U,w))||W.enumerable})}return $},g7=($)=>d7(z$({},"__esModule",{value:!0}),$),$F={};_7($F,{_toBool:()=>l7,_toNum:()=>n7,_toStr:()=>p7,awsExpectUnion:()=>m7,loadRestJsonErrorCode:()=>o7,loadRestXmlErrorCode:()=>$z,parseJsonBody:()=>GF,parseJsonErrorBody:()=>r7,parseXmlBody:()=>wF,parseXmlErrorBody:()=>e7});WF.exports=g7($F);var p7=c(($)=>{if($==null)return $;if(typeof $==="number"||typeof $==="bigint"){const U=new Error(`Received number ${$} where a string was expected.`);return U.name="Warning",console.warn(U),String($)}if(typeof $==="boolean"){const U=new Error(`Received boolean ${$} where a string was expected.`);return U.name="Warning",console.warn(U),String($)}return $},"_toStr"),l7=c(($)=>{if($==null)return $;if(typeof $==="string"){const U=$.toLowerCase();if($!==""&&U!=="false"&&U!=="true"){const G=new Error(`Received string "${$}" where a boolean was expected.`);G.name="Warning",console.warn(G)}return $!==""&&U!=="false"}return $},"_toBool"),n7=c(($)=>{if($==null)return $;if(typeof $==="string"){const U=Number($);if(U.toString()!==$){const G=new Error(`Received string "${$}" where a number was expected.`);return G.name="Warning",console.warn(G),$}return U}return $},"_toNum"),s7=N0(),m7=c(($)=>{if($==null)return;if(typeof $==="object"&&"__type"in $)delete $.__type;return s7.expectUnion($)},"awsExpectUnion"),i7=N0(),UF=c(($,U)=>i7.collectBody($,U).then((G)=>U.utf8Encoder(G)),"collectBodyString"),GF=c(($,U)=>UF($,U).then((G)=>{if(G.length)try{return JSON.parse(G)}catch(W){if((W==null?void 0:W.name)==="SyntaxError")Object.defineProperty(W,"$responseBodyText",{value:G});throw W}return{}}),"parseJsonBody"),r7=c(async($,U)=>{const G=await GF($,U);return G.message=G.message??G.Message,G},"parseJsonErrorBody"),o7=c(($,U)=>{const G=c((L,X)=>Object.keys(L).find((F)=>F.toLowerCase()===X.toLowerCase()),"findKey"),W=c((L)=>{let X=L;if(typeof X==="number")X=X.toString();if(X.indexOf(",")>=0)X=X.split(",")[0];if(X.indexOf(":")>=0)X=X.split(":")[0];if(X.indexOf("#")>=0)X=X.split("#")[1];return X},"sanitizeErrorCode"),w=G($.headers,"x-amzn-errortype");if(w!==void 0)return W($.headers[w]);if(U.code!==void 0)return W(U.code);if(U.__type!==void 0)return W(U.__type)},"loadRestJsonErrorCode"),t7=N0(),a7=eX(),wF=c(($,U)=>UF($,U).then((G)=>{if(G.length){const W=new a7.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(Z,f)=>f.trim()===""&&f.includes("\n")?"":void 0});W.addEntity("#xD","\r"),W.addEntity("#10","\n");let w;try{w=W.parse(G,!0)}catch(Z){if(Z&&typeof Z==="object")Object.defineProperty(Z,"$responseBodyText",{value:G});throw Z}const L="#text",X=Object.keys(w)[0],F=w[X];if(F[L])F[X]=F[L],delete F[L];return t7.getValueFromTextNode(F)}return{}}),"parseXmlBody"),e7=c(async($,U)=>{const G=await wF($,U);if(G.Error)G.Error.message=G.Error.message??G.Error.Message;return G},"parseXmlErrorBody"),$z=c(($,U)=>{var G;if(((G=U==null?void 0:U.Error)==null?void 0:G.Code)!==void 0)return U.Error.Code;if((U==null?void 0:U.Code)!==void 0)return U.Code;if($.statusCode==404)return"NotFound"},"loadRestXmlErrorCode")});var Uz=K((W1)=>{Object.defineProperty(W1,"__esModule",{value:!0});var aU=_L();aU.__exportStar(lL(),W1);aU.__exportStar(OX(),W1);aU.__exportStar(LF(),W1)});function Kz($){return $}var TF=($)=>(U)=>async(G)=>{if(!x.isInstance(G.request))return U(G);const{request:W}=G,{handlerProtocol:w=""}=$.requestHandler.metadata||{};if(w.indexOf("h2")>=0&&!W.headers[":authority"])delete W.headers.host,W.headers[":authority"]=W.hostname+(W.port?":"+W.port:"");else if(!W.headers.host){let L=W.hostname;if(W.port!=null)L+=`:${W.port}`;W.headers.host=L}return U(G)},MF={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},Tz=($)=>({applyToStack:(U)=>{U.add(TF($),MF)}});var OF=()=>($,U)=>async(G)=>{try{const W=await $(G),{clientName:w,commandName:L,logger:X,dynamoDbDocumentClientOptions:F={}}=U,{overrideInputFilterSensitiveLog:Z,overrideOutputFilterSensitiveLog:f}=F,E=Z??U.inputFilterSensitiveLog,I=f??U.outputFilterSensitiveLog,{$metadata:Y,...R}=W.output;return X?.info?.({clientName:w,commandName:L,input:E(G.input),output:I(R),metadata:Y}),W}catch(W){const{clientName:w,commandName:L,logger:X,dynamoDbDocumentClientOptions:F={}}=U,{overrideInputFilterSensitiveLog:Z}=F,f=Z??U.inputFilterSensitiveLog;throw X?.error?.({clientName:w,commandName:L,input:f(G.input),error:W,metadata:W.$metadata}),W}},BF={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},Oz=($)=>({applyToStack:(U)=>{U.add(OF(),BF)}});var wG="X-Amzn-Trace-Id",AF="AWS_LAMBDA_FUNCTION_NAME",VF="_X_AMZN_TRACE_ID",HF=($)=>(U)=>async(G)=>{const{request:W}=G;if(!x.isInstance(W)||$.runtime!=="node"||W.headers.hasOwnProperty(wG))return U(G);const w=process.env[AF],L=process.env[VF],X=(F)=>typeof F==="string"&&F.length>0;if(X(w)&&X(L))W.headers[wG]=L;return U({...G,request:W})},CF={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},Cz=($)=>({applyToStack:(U)=>{U.add(HF($),CF)}});function bJ($){return{...$,customUserAgent:typeof $.customUserAgent==="string"?[[$.customUserAgent]]:$.customUserAgent}}var v5=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),o0=($)=>v5.test($)||$.startsWith("[")&&$.endsWith("]");var x5=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),t0=($,U=!1)=>{if(!U)return x5.test($);const G=$.split(".");for(let W of G)if(!t0(W))return!1;return!0};var a0={};var t="endpoints";function _($){if(typeof $!=="object"||$==null)return $;if("ref"in $)return`\$${_($.ref)}`;if("fn"in $)return`${$.fn}(${($.argv||[]).map(_).join(", ")})`;return JSON.stringify($,null,2)}class H extends Error{constructor($){super($);this.name="EndpointError"}}var B6=($,U)=>$===U;var A6=($)=>{const U=$.split("."),G=[];for(let W of U){const w=W.indexOf("[");if(w!==-1){if(W.indexOf("]")!==W.length-1)throw new H(`Path: '${$}' does not end with ']'`);const L=W.slice(w+1,-1);if(Number.isNaN(parseInt(L)))throw new H(`Invalid array index: '${L}' in path: '${$}'`);if(w!==0)G.push(W.slice(0,w));G.push(L)}else G.push(W)}return G};var g1=($,U)=>A6(U).reduce((G,W)=>{if(typeof G!=="object")throw new H(`Index '${W}' in '${U}' not found in '${JSON.stringify($)}'`);else if(Array.isArray(G))return G[parseInt(W)];return G[W]},$);var V6=($)=>$!=null;var H6=($)=>!$;var p1=l1(f0(),1);var MU={[p1.EndpointURLScheme.HTTP]:80,[p1.EndpointURLScheme.HTTPS]:443},C6=($)=>{const U=(()=>{try{if($ instanceof URL)return $;if(typeof $==="object"&&"hostname"in $){const{hostname:Y,port:R,protocol:Q="",path:O="",query:T={}}=$,z=new URL(`${Q}//${Y}${R?`:${R}`:""}${O}`);return z.search=Object.entries(T).map(([M,B])=>`${M}=${B}`).join("&"),z}return new URL($)}catch(Y){return null}})();if(!U)return console.error(`Unable to parse ${JSON.stringify($)} as a whatwg URL.`),null;const G=U.href,{host:W,hostname:w,pathname:L,protocol:X,search:F}=U;if(F)return null;const Z=X.slice(0,-1);if(!Object.values(p1.EndpointURLScheme).includes(Z))return null;const f=o0(w),E=G.includes(`${W}:${MU[Z]}`)||typeof $==="string"&&$.includes(`${W}:${MU[Z]}`),I=`${W}${E?`:${MU[Z]}`:""}`;return{scheme:Z,authority:I,path:L,normalizedPath:L.endsWith("/")?L:`${L}/`,isIp:f}};var N6=($,U)=>$===U;var q6=($,U,G,W)=>{if(U>=G||$.length<G)return null;if(!W)return $.substring(U,G);return $.substring($.length-G,$.length-U)};var j6=($)=>encodeURIComponent($).replace(/[!*'()]/g,(U)=>`%${U.charCodeAt(0).toString(16).toUpperCase()}`);var P6={booleanEquals:B6,getAttr:g1,isSet:V6,isValidHostLabel:t0,not:H6,parseURL:C6,stringEquals:N6,substring:q6,uriEncode:j6};var n1=($,U)=>{const G=[],W={...U.endpointParams,...U.referenceRecord};let w=0;while(w<$.length){const L=$.indexOf("{",w);if(L===-1){G.push($.slice(w));break}G.push($.slice(w,L));const X=$.indexOf("}",L);if(X===-1){G.push($.slice(L));break}if($[L+1]==="{"&&$[X+1]==="}")G.push($.slice(L+1,X)),w=X+2;const F=$.substring(L+1,X);if(F.includes("#")){const[Z,f]=F.split("#");G.push(g1(W[Z],f))}else G.push(W[F]);w=X+1}return G.join("")};var S6=({ref:$},U)=>{return{...U.endpointParams,...U.referenceRecord}[$]};var W0=($,U,G)=>{if(typeof $==="string")return n1($,G);else if($.fn)return s1($,G);else if($.ref)return S6($,G);throw new H(`'${U}': ${String($)} is not a string, function or reference.`)};var s1=({fn:$,argv:U},G)=>{const W=U.map((L)=>["boolean","number"].includes(typeof L)?L:W0(L,"arg",G)),w=$.split(".");if(w[0]in a0&&w[1]!=null)return a0[w[0]][w[1]](...W);return P6[$](...W)};var b6=({assign:$,...U},G)=>{if($&&$ in G.referenceRecord)throw new H(`'${$}' is already defined in Reference Record.`);const W=s1(U,G);return G.logger?.debug?.(`${t} evaluateCondition: ${_(U)} = ${_(W)}`),{result:W===""?!0:!!W,...$!=null&&{toAssign:{name:$,value:W}}}};var j0=($=[],U)=>{const G={};for(let W of $){const{result:w,toAssign:L}=b6(W,{...U,referenceRecord:{...U.referenceRecord,...G}});if(!w)return{result:w};if(L)G[L.name]=L.value,U.logger?.debug?.(`${t} assign: ${L.name} := ${_(L.value)}`)}return{result:!0,referenceRecord:G}};var h6=($,U)=>Object.entries($).reduce((G,[W,w])=>({...G,[W]:w.map((L)=>{const X=W0(L,"Header value entry",U);if(typeof X!=="string")throw new H(`Header '${W}' value '${X}' is not a string`);return X})}),{});var OU=($,U)=>{if(Array.isArray($))return $.map((G)=>OU(G,U));switch(typeof $){case"string":return n1($,U);case"object":if($===null)throw new H(`Unexpected endpoint property: ${$}`);return m1($,U);case"boolean":return $;default:throw new H(`Unexpected endpoint property type: ${typeof $}`)}};var m1=($,U)=>Object.entries($).reduce((G,[W,w])=>({...G,[W]:OU(w,U)}),{});var D6=($,U)=>{const G=W0($,"Endpoint URL",U);if(typeof G==="string")try{return new URL(G)}catch(W){throw console.error(`Failed to construct URL with ${G}`,W),W}throw new H(`Endpoint URL must be a string, got ${typeof G}`)};var k6=($,U)=>{const{conditions:G,endpoint:W}=$,{result:w,referenceRecord:L}=j0(G,U);if(!w)return;const X={...U,referenceRecord:{...U.referenceRecord,...L}},{url:F,properties:Z,headers:f}=W;return U.logger?.debug?.(`${t} Resolving endpoint from template: ${_(W)}`),{...f!=null&&{headers:h6(f,X)},...Z!=null&&{properties:m1(Z,X)},url:D6(F,X)}};var c6=($,U)=>{const{conditions:G,error:W}=$,{result:w,referenceRecord:L}=j0(G,U);if(!w)return;throw new H(W0(W,"Error",{...U,referenceRecord:{...U.referenceRecord,...L}}))};var v6=($,U)=>{const{conditions:G,rules:W}=$,{result:w,referenceRecord:L}=j0(G,U);if(!w)return;return i1(W,{...U,referenceRecord:{...U.referenceRecord,...L}})};var i1=($,U)=>{for(let G of $)if(G.type==="endpoint"){const W=k6(G,U);if(W)return W}else if(G.type==="error")c6(G,U);else if(G.type==="tree"){const W=v6(G,U);if(W)return W}else throw new H(`Unknown endpoint rule: ${G}`);throw new H("Rules evaluation failed")};var u5=($,U)=>{const{endpointParams:G,logger:W}=U,{parameters:w,rules:L}=$;U.logger?.debug?.(`${t} Initial EndpointParams: ${_(G)}`);const X=Object.entries(w).filter(([,f])=>f.default!=null).map(([f,E])=>[f,E.default]);if(X.length>0)for(let[f,E]of X)G[f]=G[f]??E;const F=Object.entries(w).filter(([,f])=>f.required).map(([f])=>f);for(let f of F)if(G[f]==null)throw new H(`Missing required parameter: '${f}'`);const Z=i1(L,{endpointParams:G,logger:W,referenceRecord:{}});if(U.endpointParams?.Endpoint)try{const f=new URL(U.endpointParams.Endpoint),{protocol:E,port:I}=f;Z.url.protocol=E,Z.url.port=I}catch(f){}return U.logger?.debug?.(`${t} Resolved endpoint: ${_(Z)}`),Z};var BU=($,U=!1)=>{if(U){for(let G of $.split("."))if(!BU(G))return!1;return!0}if(!t0($))return!1;if($.length<3||$.length>63)return!1;if($!==$.toLowerCase())return!1;if(o0($))return!1;return!0};var x6=($)=>{const U=$.split(":");if(U.length<6)return null;const[G,W,w,L,X,...F]=U;if(G!=="arn"||W===""||w===""||F[0]==="")return null;return{partition:W,service:w,region:L,accountId:X,resourceId:F[0].includes("/")?F[0].split("/"):F}};var u6={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"aws-global":{description:"AWS Standard global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"AWS China global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"AWS GovCloud (US) global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"c2s.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"AWS ISO (US) global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"sc2s.sgov.gov",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"AWS ISOB (US) global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"cloud.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"csp.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{}}],version:"1.1"};var _5=u6,d5="",y6=($)=>{const{partitions:U}=_5;for(let W of U){const{regions:w,outputs:L}=W;for(let[X,F]of Object.entries(w))if(X===$)return{...L,...F}}for(let W of U){const{regionRegex:w,outputs:L}=W;if(new RegExp(w).test($))return{...L}}const G=U.find((W)=>W.id==="aws");if(!G)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...G.outputs}};var _6=()=>d5;var g5={isVirtualHostableS3Bucket:BU,parseArn:x6,partition:y6};a0.aws=g5;var AU="user-agent",r1="x-amz-user-agent",VU=" ",o1="/",d6=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,g6=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,HU="-";var p5=($)=>(U,G)=>async(W)=>{const{request:w}=W;if(!x.isInstance(w))return U(W);const{headers:L}=w,X=G?.userAgent?.map(CU)||[],F=(await $.defaultUserAgentProvider()).map(CU),Z=$?.customUserAgent?.map(CU)||[],f=_6(),E=(f?[f]:[]).concat([...F,...X,...Z]).join(VU),I=[...F.filter((Y)=>Y.startsWith("aws-sdk-")),...Z].join(VU);if($.runtime!=="browser"){if(I)L[r1]=L[r1]?`${L[AU]} ${I}`:I;L[AU]=E}else L[r1]=E;return U({...W,request:w})},CU=($)=>{const U=$[0].split(o1).map((X)=>X.replace(d6,HU)).join(o1),G=$[1]?.replace(g6,HU),W=U.indexOf(o1),w=U.substring(0,W);let L=U.substring(W+1);if(w==="api")L=L.toLowerCase();return[w,L,G].filter((X)=>X&&X.length>0).reduce((X,F,Z)=>{switch(Z){case 0:return F;case 1:return`${X}/${F}`;default:return`${X}#${F}`}},"")},l5={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},E3=($)=>({applyToStack:(U)=>{U.add(p5($),l5)}});var t1=($)=>typeof $==="string"&&($.startsWith("fips-")||$.endsWith("-fips"));var NU=($)=>t1($)?["fips-aws-global","aws-fips"].includes($)?"us-east-1":$.replace(/fips-(dkr-|prod-)?|-fips/,""):$;var O3=($)=>{const{region:U,useFipsEndpoint:G}=$;if(!U)throw new Error("Region is missing");return{...$,region:async()=>{if(typeof U==="string")return NU(U);const W=await U();return NU(W)},useFipsEndpoint:async()=>{const W=typeof U==="string"?U:await U();if(t1(W))return!0;return typeof G!=="function"?Promise.resolve(!!G):G()}}};var P0=($,U,G)=>{if(!(U in $))return;if($[U]==="true")return!0;if($[U]==="false")return!1;throw new Error(`Cannot load ${G} "${U}". Expected "true" or "false", got ${$[U]}.`)};var L0;(function($){$.ENV="env",$.CONFIG="shared config entry"})(L0||(L0={}));var n5="AWS_USE_DUALSTACK_ENDPOINT",s5="use_dualstack_endpoint";var S3={environmentVariableSelector:($)=>P0($,n5,L0.ENV),configFileSelector:($)=>P0($,s5,L0.CONFIG),default:!1};var m5="AWS_USE_FIPS_ENDPOINT",i5="use_fips_endpoint";var D3={environmentVariableSelector:($)=>P0($,m5,L0.ENV),configFileSelector:($)=>P0($,i5,L0.CONFIG),default:!1};var qU=l1(f0(),1),p6=($)=>$[qU.SMITHY_CONTEXT_KEY]||($[qU.SMITHY_CONTEXT_KEY]={});var a=($)=>{if(typeof $==="function")return $;const U=Promise.resolve($);return()=>U};var l6={environmentVariableSelector:($)=>$["AWS_REGION"],configFileSelector:($)=>$["region"],default:()=>{throw new Error("Region is missing")}},a3={preferredFile:"credentials"};function r5($){return(U)=>async(G)=>{const W=G.request;if(x.isInstance(W)){const{body:w,headers:L}=W;if(w&&Object.keys(L).map((X)=>X.toLowerCase()).indexOf(n6)===-1)try{const X=$(w);W.headers={...W.headers,[n6]:String(X)}}catch(X){}}return U({...G,request:W})}}var n6="content-length",o5={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},CM=($)=>({applyToStack:(U)=>{U.add(r5($.bodyLengthChecker),o5)}});var $L=l1(X1(),1);var s6=async($)=>{const U=$?.Bucket||"";if(typeof $.Bucket==="string")$.Bucket=U.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(U9(U)){if($.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!$9(U)||U.indexOf(".")!==-1&&!String($.Endpoint).startsWith("http:")||U.toLowerCase()!==U||U.length<3)$.ForcePathStyle=!0;if($.DisableMultiRegionAccessPoints)$.disableMultiRegionAccessPoints=!0,$.DisableMRAP=!0;return $},t5=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,a5=/(\d+\.){3}\d+/,e5=/\.\./;var $9=($)=>t5.test($)&&!a5.test($)&&!e5.test($),U9=($)=>{const[U,G,W,,,w]=$.split(":"),L=U==="arn"&&$.split(":").length>=6,X=Boolean(L&&G&&W&&w);if(L&&!X)throw new Error(`Invalid ARN: ${$} was an invalid ARN.`);return X};var m6=($,U,G)=>{const W=async()=>{const w=G[$]??G[U];if(typeof w==="function")return w();return w};if($==="credentialScope"||U==="CredentialScope")return async()=>{const w=typeof G.credentials==="function"?await G.credentials():G.credentials;return w?.credentialScope??w?.CredentialScope};if($==="accountId"||U==="AccountId")return async()=>{const w=typeof G.credentials==="function"?await G.credentials():G.credentials;return w?.accountId??w?.AccountId};if($==="endpoint"||U==="endpoint")return async()=>{const w=await W();if(w&&typeof w==="object"){if("url"in w)return w.url.href;if("hostname"in w){const{protocol:L,hostname:X,port:F,path:Z}=w;return`${L}//${X}${F?":"+F:""}${Z}`}}return w};return W};var i6="AWS_ENDPOINT_URL",r6="endpoint_url",o6=($)=>({environmentVariableSelector:(U)=>{const G=$.split(" ").map((L)=>L.toUpperCase()),W=U[[i6,...G].join("_")];if(W)return W;const w=U[i6];if(w)return w;return},configFileSelector:(U,G)=>{if(G&&U.services){const w=G[["services",U.services].join(jU)];if(w){const L=$.split(" ").map((F)=>F.toLowerCase()),X=w[[L.join("_"),r6].join(jU)];if(X)return X}}const W=U[r6];if(W)return W;return},default:void 0});var t6=async($)=>z0(o6($))();var a1=($)=>{if(typeof $==="object"){if("url"in $)return PU($.url);return $}return PU($)};var a6=async($,U,G,W)=>{if(!G.endpoint){const X=await t6(G.serviceId||"");if(X)G.endpoint=()=>Promise.resolve(a1(X))}const w=await G9($,U,G);if(typeof G.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return G.endpointProvider(w,W)},G9=async($,U,G)=>{const W={},w=U?.getEndpointParameterInstructions?.()||{};for(let[L,X]of Object.entries(w))switch(X.type){case"staticContextParams":W[L]=X.value;break;case"contextParams":W[L]=$[X.name];break;case"clientContextParams":case"builtInParams":W[L]=await m6(X.name,L,G)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(X))}if(Object.keys(w).length===0)Object.assign(W,G);if(String(G.serviceId).toLowerCase()==="s3")await s6(W);return W};var e6=({config:$,instructions:U})=>{return(G,W)=>async(w)=>{const L=await a6(w.input,{getEndpointParameterInstructions(){return U}},{...$},W);W.endpointV2=L,W.authSchemes=L.properties?.authSchemes;const X=W.authSchemes?.[0];if(X){W.signing_region=X.signingRegion,W.signing_service=X.signingName;const Z=p6(W)?.selectedHttpAuthScheme?.httpAuthOption;if(Z)Z.signingProperties=Object.assign(Z.signingProperties||{},{signing_region:X.signingRegion,signingRegion:X.signingRegion,signing_service:X.signingName,signingName:X.signingName,signingRegionSet:X.signingRegionSet},X.properties)}return G({...w})}};var w9={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:$L.serializerMiddlewareOption.name},mM=($,U)=>({applyToStack:(G)=>{G.addRelativeTo(e6({config:$,instructions:U}),w9)}});var tM=($)=>{const U=$.tls??!0,{endpoint:G}=$,W=G!=null?async()=>a1(await a(G)()):void 0;return{...$,endpoint:W,tls:U,isCustomEndpoint:!!G,useDualstackEndpoint:a($.useDualstackEndpoint??!1),useFipsEndpoint:a($.useFipsEndpoint??!1)}};var m=l1(k$(),1),ZO=m.default.v1,fO=m.default.v3,UL=m.default.v4,EO=m.default.v5,IO=m.default.NIL,RO=m.default.version,YO=m.default.validate,QO=m.default.stringify,zO=m.default.parse;var n;(function($){$.STANDARD="standard",$.ADAPTIVE="adaptive"})(n||(n={}));var J0=3,GL=n.STANDARD;var wL=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],WL=["TimeoutError","RequestTimeout","RequestTimeoutException"],LL=[500,502,503,504],XL=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"];var W9=($)=>$.$metadata?.clockSkewCorrected,S0=($)=>$.$metadata?.httpStatusCode===429||wL.includes($.name)||$.$retryable?.throttling==!0,e1=($)=>W9($)||WL.includes($.name)||XL.includes($?.code||"")||LL.includes($.$metadata?.httpStatusCode||0),FL=($)=>{if($.$metadata?.httpStatusCode!==void 0){const U=$.$metadata.httpStatusCode;if(500<=U&&U<=599&&!e1($))return!0;return!1}return!1};class $${constructor($){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=$?.beta??0.7,this.minCapacity=$?.minCapacity??1,this.minFillRate=$?.minFillRate??0.5,this.scaleConstant=$?.scaleConstant??0.4,this.smooth=$?.smooth??0.8;const U=this.getCurrentTimeInSeconds();this.lastThrottleTime=U,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1000}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket($){if(!this.enabled)return;if(this.refillTokenBucket(),$>this.currentCapacity){const U=($-this.currentCapacity)/this.fillRate*1000;await new Promise((G)=>setTimeout(G,U))}this.currentCapacity=this.currentCapacity-$}refillTokenBucket(){const $=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=$;return}const U=($-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+U),this.lastTimestamp=$}updateClientSendingRate($){let U;if(this.updateMeasuredRate(),S0($)){const W=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=W,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),U=this.cubicThrottle(W),this.enableTokenBucket()}else this.calculateTimeWindow(),U=this.cubicSuccess(this.getCurrentTimeInSeconds());const G=Math.min(U,2*this.measuredTxRate);this.updateTokenBucketRate(G)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle($){return this.getPrecise($*this.beta)}cubicSuccess($){return this.getPrecise(this.scaleConstant*Math.pow($-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate($){this.refillTokenBucket(),this.fillRate=Math.max($,this.minFillRate),this.maxCapacity=Math.max($,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const $=this.getCurrentTimeInSeconds(),U=Math.floor($*2)/2;if(this.requestCount++,U>this.lastTxRateBucket){const G=this.requestCount/(U-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(G*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=U}}getPrecise($){return parseFloat($.toFixed(8))}}var K0=100,e0=20000,SU=500,U$=500,bU=5,hU=10,DU=1,G$="amz-sdk-invocation-id",w$="amz-sdk-request";var ZL=()=>{let $=K0;return{computeNextBackoffDelay:(W)=>{return Math.floor(Math.min(e0,Math.random()*2**W*$))},setDelayBase:(W)=>{$=W}}};var kU=({retryDelay:$,retryCount:U,retryCost:G})=>{return{getRetryCount:()=>U,getRetryDelay:()=>Math.min(e0,$),getRetryCost:()=>G}};class b0{constructor($){this.maxAttempts=$,this.mode=n.STANDARD,this.capacity=U$,this.retryBackoffStrategy=ZL(),this.maxAttemptsProvider=typeof $==="function"?$:async()=>$}async acquireInitialRetryToken($){return kU({retryDelay:K0,retryCount:0})}async refreshRetryTokenForRetry($,U){const G=await this.getMaxAttempts();if(this.shouldRetry($,U,G)){const W=U.errorType;this.retryBackoffStrategy.setDelayBase(W==="THROTTLING"?SU:K0);const w=this.retryBackoffStrategy.computeNextBackoffDelay($.getRetryCount()),L=U.retryAfterHint?Math.max(U.retryAfterHint.getTime()-Date.now()||0,w):w,X=this.getCapacityCost(W);return this.capacity-=X,kU({retryDelay:L,retryCount:$.getRetryCount()+1,retryCost:X})}throw new Error("No retry token available")}recordSuccess($){this.capacity=Math.max(U$,this.capacity+($.getRetryCost()??DU))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch($){return console.warn(`Max attempts provider could not resolve. Using default of ${J0}`),J0}}shouldRetry($,U,G){return $.getRetryCount()+1<G&&this.capacity>=this.getCapacityCost(U.errorType)&&this.isRetryableError(U.errorType)}getCapacityCost($){return $==="TRANSIENT"?hU:bU}isRetryableError($){return $==="THROTTLING"||$==="TRANSIENT"}}class cU{constructor($,U){this.maxAttemptsProvider=$,this.mode=n.ADAPTIVE;const{rateLimiter:G}=U??{};this.rateLimiter=G??new $$,this.standardRetryStrategy=new b0($)}async acquireInitialRetryToken($){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken($)}async refreshRetryTokenForRetry($,U){return this.rateLimiter.updateClientSendingRate(U),this.standardRetryStrategy.refreshRetryTokenForRetry($,U)}recordSuccess($){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess($)}}var fL="AWS_MAX_ATTEMPTS",EL="max_attempts",tO={environmentVariableSelector:($)=>{const U=$[fL];if(!U)return;const G=parseInt(U);if(Number.isNaN(G))throw new Error(`Environment variable ${fL} mast be a number, got "${U}"`);return G},configFileSelector:($)=>{const U=$[EL];if(!U)return;const G=parseInt(U);if(Number.isNaN(G))throw new Error(`Shared config file entry ${EL} mast be a number, got "${U}"`);return G},default:J0},aO=($)=>{const{retryStrategy:U}=$,G=a($.maxAttempts??J0);return{...$,maxAttempts:G,retryStrategy:async()=>{if(U)return U;if(await a($.retryMode)()===n.ADAPTIVE)return new cU(G);return new b0(G)}}},L9="AWS_RETRY_MODE",X9="retry_mode",eO={environmentVariableSelector:($)=>$[L9],configFileSelector:($)=>$[X9],default:GL};import{Readable as F9} from"stream";var IL=($)=>$?.body instanceof F9||typeof ReadableStream!=="undefined"&&$?.body instanceof ReadableStream;var vU=($)=>{if($ instanceof Error)return $;if($ instanceof Object)return Object.assign(new Error,$);if(typeof $==="string")return new Error($);return new Error(`AWS SDK error wrapper for ${$}`)};var Z9=($)=>(U,G)=>async(W)=>{let w=await $.retryStrategy();const L=await $.maxAttempts();if(f9(w)){w=w;let X=await w.acquireInitialRetryToken(G.partition_id),F=new Error,Z=0,f=0;const{request:E}=W,I=x.isInstance(E);if(I)E.headers[G$]=UL();while(!0)try{if(I)E.headers[w$]=`attempt=${Z+1}; max=${L}`;const{response:Y,output:R}=await U(W);return w.recordSuccess(X),R.$metadata.attempts=Z+1,R.$metadata.totalRetryDelay=f,{response:Y,output:R}}catch(Y){const R=E9(Y);if(F=vU(Y),I&&IL(E))throw(G.logger instanceof RL?console:G.logger)?.warn("An error was encountered in a non-retryable streaming request."),F;try{X=await w.refreshRetryTokenForRetry(X,R)}catch(O){if(!F.$metadata)F.$metadata={};throw F.$metadata.attempts=Z+1,F.$metadata.totalRetryDelay=f,F}Z=X.getRetryCount();const Q=X.getRetryDelay();f+=Q,await new Promise((O)=>setTimeout(O,Q))}}else{if(w=w,w?.mode)G.userAgent=[...G.userAgent||[],["cfg/retry-mode",w.mode]];return w.retry(U,W)}},f9=($)=>typeof $.acquireInitialRetryToken!=="undefined"&&typeof $.refreshRetryTokenForRetry!=="undefined"&&typeof $.recordSuccess!=="undefined",E9=($)=>{const U={error:$,errorType:I9($)},G=Y9($.$response);if(G)U.retryAfterHint=G;return U},I9=($)=>{if(S0($))return"THROTTLING";if(e1($))return"TRANSIENT";if(FL($))return"SERVER_ERROR";return"CLIENT_ERROR"},R9={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},IB=($)=>({applyToStack:(U)=>{U.add(Z9($),R9)}}),Y9=($)=>{if(!xU.isInstance($))return;const U=Object.keys($.headers).find((L)=>L.toLowerCase()==="retry-after");if(!U)return;const G=$.headers[U],W=Number(G);if(!Number.isNaN(W))return new Date(W*1000);return new Date(G)};import{platform as Gz,release as wz} from"os";import{env as FF,versions as Wz} from"process";var eU={isCrtAvailable:!1};var XF=()=>{if(eU.isCrtAvailable)return["md/crt-avail"];return null};var Lz="AWS_SDK_UA_APP_ID",Xz="sdk-ua-app-id",TA=({serviceId:$,clientVersion:U})=>{const G=[["aws-sdk-js",U],["ua","2.0"],[`os/${Gz()}`,wz()],["lang/js"],["md/nodejs",`${Wz.node}`]],W=XF();if(W)G.push(W);if($)G.push([`api/${$}`,U]);if(FF.AWS_EXECUTION_ENV)G.push([`exec-env/${FF.AWS_EXECUTION_ENV}`]);const w=z0({environmentVariableSelector:(X)=>X[Lz],configFileSelector:(X)=>X[Xz],default:void 0})();let L=void 0;return async()=>{if(!L){const X=await w;L=X?[...G,[`app/${X}`]]:[...G]}return L}};import{Buffer as Fz} from"buffer";import{createHash as Zz,createHmac as fz} from"crypto";var ZF=function($,U){if(Fz.isBuffer($))return $;if(typeof $==="string")return fF($,U);if(ArrayBuffer.isView($))return $G($.buffer,$.byteOffset,$.byteLength);return $G($)};class Ez{constructor($,U){this.algorithmIdentifier=$,this.secret=U,this.reset()}update($,U){this.hash.update(EF(ZF($,U)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?fz(this.algorithmIdentifier,ZF(this.secret)):Zz(this.algorithmIdentifier)}}import{fstatSync as Iz,lstatSync as Rz} from"fs";var qA=($)=>{if(!$)return 0;if(typeof $==="string")return Buffer.byteLength($);else if(typeof $.byteLength==="number")return $.byteLength;else if(typeof $.size==="number")return $.size;else if(typeof $.start==="number"&&typeof $.end==="number")return $.end+1-$.start;else if(typeof $.path==="string"||Buffer.isBuffer($.path))return Rz($.path).size;else if(typeof $.fd==="number")return Iz($.fd).size;throw new Error(`Body Length computation failed for ${$}`)};var IF="AWS_EXECUTION_ENV",UG="AWS_REGION",GG="AWS_DEFAULT_REGION",RF="AWS_EC2_METADATA_DISABLED",YF=["in-region","cross-region","mobile","standard","legacy"],QF="/latest/meta-data/placement/region";var zF={environmentVariableSelector:($)=>{return $["AWS_DEFAULTS_MODE"]},configFileSelector:($)=>{return $["defaults_mode"]},default:"legacy"};var uA=({region:$=z0(l6),defaultsMode:U=z0(zF)}={})=>JF(async()=>{const G=typeof U==="function"?await U():U;switch(G?.toLowerCase()){case"auto":return Yz($);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(G?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${YF.join(", ")}, got ${G}`)}}),Yz=async($)=>{if($){const U=typeof $==="function"?await $():$,G=await Qz();if(!G)return"standard";if(U===G)return"in-region";else return"cross-region"}return"standard"},Qz=async()=>{if(process.env[IF]&&(process.env[UG]||process.env[GG]))return process.env[UG]??process.env[GG];if(!process.env[RF])try{const{getInstanceMetadataEndpoint:$,httpRequest:U}=await import("./chunk-01052ff9d1c07ef8.js"),G=await $();return(await U({...G,path:QF})).toString()}catch($){}};var gA=($)=>{let U=async()=>{if($.region===void 0)throw new Error("Region is missing from runtimeConfig");const G=$.region;if(typeof G==="string")return G;return G()};return{setRegion(G){U=G},region(){return U}}},pA=($)=>{return{region:$.region()}};export{Kz as wa,Tz as xa,Oz as ya,Cz as za,EX as Aa,P0 as Ba,L0 as Ca,X1 as Da,TU as Ea,p6 as Fa,a as Ga,bJ as Ha,a0 as Ia,u5 as Ja,g5 as Ka,E3 as La,S3 as Ma,D3 as Na,l6 as Oa,a3 as Pa,O3 as Qa,CM as Ra,G9 as Sa,mM as Ta,tM as Ua,GL as Va,UL as Wa,tO as Xa,aO as Ya,eO as Za,IB as _a,_L as $a,Uz as ab,TA as bb,Ez as cb,qA as db,uA as eb,gA as fb,pA as gb};