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