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.
- package/dist/{chunk-f5a531a49e7591bd.js → chunk-2895a97b65e7107b.js} +1 -1
- package/dist/{chunk-8884e59809021f5f.js → chunk-2dd61d279d9f0b13.js} +1 -1
- package/dist/{chunk-100b76ab0ca3e14d.js → chunk-448c9eceacddef90.js} +1 -1
- package/dist/{chunk-a4b231bf6d911e01.js → chunk-466213c5585251ad.js} +1 -1
- package/dist/{chunk-edfc3362e0d21dab.js → chunk-4b8da0fabb3539db.js} +5 -5
- package/dist/{chunk-1bd88dc9c4475e1d.js → chunk-4bc3b71775040cb9.js} +1 -1
- package/dist/{chunk-00935722c776a294.js → chunk-af7d1951242b1c6e.js} +1 -1
- package/dist/{chunk-1d2c062034e3ed2d.js → chunk-b6a64bf9af2e91be.js} +2 -2
- package/dist/{chunk-a35eb04f0c7c9944.js → chunk-b8176bf532f59485.js} +1 -1
- package/dist/{chunk-545989119755857f.js → chunk-cca33e85bf87b3b3.js} +1 -1
- package/dist/{chunk-a1efc60864e65ef2.js → chunk-de75d134f236f4bb.js} +1 -1
- package/dist/{chunk-107dbe753ed86605.js → chunk-e344c95f8ae7a124.js} +2 -2
- package/dist/{chunk-f5200f44395bf49d.js → chunk-e565da7343a33b65.js} +2 -2
- package/dist/{chunk-3330ff12936f5a2e.js → chunk-e912bf7c7a0e988a.js} +1 -1
- package/dist/{chunk-210fc3731e7d2299.js → chunk-f22ac1ec6c3f782b.js} +1 -1
- package/dist/{chunk-1b3b7c2c9ae041ca.js → chunk-fe65548818651cb5.js} +1 -1
- package/dist/client/ClientRouterContext.d.ts.map +1 -1
- package/dist/client/HttpReload.d.ts.map +1 -1
- package/dist/client/index.js +19 -5
- package/dist/server/index.js +1 -1
- package/dist/storage/index.js +1 -1
- package/dist/vite/{index-D9QWnghl.mjs → index-BbySvAwL.mjs} +3 -3
- package/dist/vite/index.mjs +1 -1
- package/dist/vite/{typescript-DADBvwYC.mjs → typescript-CeZcXBr-.mjs} +1 -1
- package/package.json +1 -1
- package/dist/app/App.test.d.ts +0 -20
- package/dist/app/App.test.d.ts.map +0 -1
- package/dist/app/createComponentTree.test.d.ts +0 -2
- package/dist/app/createComponentTree.test.d.ts.map +0 -1
- package/dist/app/createFlatApiRoutes.test.d.ts +0 -2
- package/dist/app/createFlatApiRoutes.test.d.ts.map +0 -1
- package/dist/app/createFlatViewRoutes.test.d.ts +0 -2
- package/dist/app/createFlatViewRoutes.test.d.ts.map +0 -1
- package/dist/app/createRouteManifest.test.d.ts +0 -2
- package/dist/app/createRouteManifest.test.d.ts.map +0 -1
- package/dist/chunk-00234eac874c2722.js +0 -2
- package/dist/chunk-00cb9f80352454dd.js +0 -1
- package/dist/chunk-00e9dad0734d9761.js +0 -2
- package/dist/chunk-00ecc27f03e2e84a.js +0 -2
- package/dist/chunk-00f16704831dd8b0.js +0 -2
- package/dist/chunk-01052ff9d1c07ef8.js +0 -2
- package/dist/chunk-0113570164c56f57.js +0 -2
- package/dist/chunk-0130e95410edb036.js +0 -18
- package/dist/chunk-01e07763e3e32710.js +0 -2
- package/dist/chunk-01e1579811beb424.js +0 -2
- package/dist/chunk-01ffccc19e8ef862.js +0 -3
- package/dist/chunk-02118fc60206588d.js +0 -2
- package/dist/chunk-0306d8fccec5104e.js +0 -2
- package/dist/chunk-030b4fb955329860.js +0 -16
- package/dist/chunk-03227f4a68e038f4.js +0 -2
- package/dist/chunk-03a72299591d45a7.js +0 -18
- package/dist/chunk-03c8e645c994d40a.js +0 -2
- package/dist/chunk-04aa62521338e3ab.js +0 -18
- package/dist/chunk-04d6b88ed6d3f076.js +0 -6
- package/dist/chunk-0557700bf68e85d4.js +0 -18
- package/dist/chunk-05fa767ab29abb0f.js +0 -2
- package/dist/chunk-061d95b15c00e38b.js +0 -9
- package/dist/chunk-069fcad61c8841dc.js +0 -1
- package/dist/chunk-06b83143607ebdc8.js +0 -6
- package/dist/chunk-06eebef7eb056baa.js +0 -2
- package/dist/chunk-073f5b81e98d91fe.js +0 -3
- package/dist/chunk-08539d08fa7362f7.js +0 -2
- package/dist/chunk-088b47e135832170.js +0 -1
- package/dist/chunk-088ed28ebed2b009.js +0 -5
- package/dist/chunk-08e9ab1091d7383e.js +0 -3
- package/dist/chunk-0909c7f6b64b8806.js +0 -2
- package/dist/chunk-095848ccb81718bf.js +0 -2
- package/dist/chunk-09dd89e1046786a5.js +0 -2
- package/dist/chunk-0a6614fbd65524af.js +0 -2
- package/dist/chunk-0a9ae42aae6f406e.js +0 -2
- package/dist/chunk-0b1b4e4e251ffe01.js +0 -2
- package/dist/chunk-0b46ec66d2c3d5f3.js +0 -2
- package/dist/chunk-0b5fb4e0c7de8316.js +0 -2
- package/dist/chunk-0b7a7410fce0b12e.js +0 -9
- package/dist/chunk-0b8dc3d1ff94a0fa.js +0 -6
- package/dist/chunk-0b99ba34351bde91.js +0 -3
- package/dist/chunk-0d0f764773c0f6b8.js +0 -2
- package/dist/chunk-0d8ab901365b9696.js +0 -2
- package/dist/chunk-0db33ac43bd1d504.js +0 -2
- package/dist/chunk-0de36a7e51fbd11b.js +0 -9
- package/dist/chunk-0e125593337a68aa.js +0 -18
- package/dist/chunk-0e3473f7e43f4876.js +0 -2
- package/dist/chunk-0e99fe5c976c8ea2.js +0 -6
- package/dist/chunk-0f8e80862546cbc5.js +0 -18
- package/dist/chunk-0ffc38ed09847e35.js +0 -2
- package/dist/chunk-1062b3156a49fabc.js +0 -2
- package/dist/chunk-1084614a350762fb.js +0 -2
- package/dist/chunk-10a623a23a65bb20.js +0 -18
- package/dist/chunk-1109657ed53fbdc9.js +0 -2
- package/dist/chunk-11323d7a5d9219ce.js +0 -2
- package/dist/chunk-1171d9afbbfe827b.js +0 -2
- package/dist/chunk-119ffcaf1c463b8d.js +0 -6
- package/dist/chunk-11a75566ff74db17.js +0 -6
- package/dist/chunk-11d1336f6de61f45.js +0 -16
- package/dist/chunk-11fb7f7f30378785.js +0 -2
- package/dist/chunk-12b4f44a2beae19b.js +0 -2
- package/dist/chunk-12ca7224eb6ccf72.js +0 -9
- package/dist/chunk-132c71db605759c9.js +0 -2
- package/dist/chunk-1334ee957ff9058c.js +0 -2
- package/dist/chunk-136896e8038083a1.js +0 -2
- package/dist/chunk-13801a8f811f0461.js +0 -2
- package/dist/chunk-13e45ce3460f6375.js +0 -2
- package/dist/chunk-14d5491e97673c7d.js +0 -2
- package/dist/chunk-14e60554a2e78f4a.js +0 -2
- package/dist/chunk-159f5b922269aef1.js +0 -2
- package/dist/chunk-15e9771e524c5726.js +0 -2
- package/dist/chunk-16a63b2fee0ce9e2.js +0 -2
- package/dist/chunk-16dbe3a15379140b.js +0 -2
- package/dist/chunk-176e5ded5ed33d4d.js +0 -2
- package/dist/chunk-1838696dc4e7a115.js +0 -2
- package/dist/chunk-1874b66d572fb0db.js +0 -6
- package/dist/chunk-1875b98b6a064557.js +0 -2
- package/dist/chunk-187a09f46e2b36e5.js +0 -2
- package/dist/chunk-18c32b54097c580e.js +0 -2
- package/dist/chunk-18d87123ae525263.js +0 -2
- package/dist/chunk-1900e90c372bb1d6.js +0 -2
- package/dist/chunk-1976eef63d2e56d5.js +0 -18
- package/dist/chunk-197fca66ec324ed9.js +0 -2
- package/dist/chunk-1ad1795e55abfdb5.js +0 -2
- package/dist/chunk-1b0afbf1baeeaa37.js +0 -2
- package/dist/chunk-1b71d04a15bfa432.js +0 -2
- package/dist/chunk-1b8acf308a3dc9ec.js +0 -1
- package/dist/chunk-1c439804a4c5f8e7.js +0 -18
- package/dist/chunk-1cc0d1072ee4a92b.js +0 -2
- package/dist/chunk-1d6e287ca9c14fef.js +0 -9
- package/dist/chunk-1efe790f8b4ad86d.js +0 -2
- package/dist/chunk-1fab30ab853c48cc.js +0 -2
- package/dist/chunk-2081b862587086df.js +0 -2
- package/dist/chunk-216cc6dcf17534ba.js +0 -2
- package/dist/chunk-21b1f7ac5f75cd26.js +0 -2
- package/dist/chunk-21e105fb2b3d36d7.js +0 -799
- package/dist/chunk-21fe96d1a3bb5a27.js +0 -2
- package/dist/chunk-223b0aac9e62386a.js +0 -2
- package/dist/chunk-226243dd851d2050.js +0 -2
- package/dist/chunk-22773aec8cc230c6.js +0 -6
- package/dist/chunk-2279c382943fca51.js +0 -2
- package/dist/chunk-22ec1973752a5488.js +0 -2
- package/dist/chunk-2335866508ec8b1b.js +0 -2
- package/dist/chunk-23c287376e277e1d.js +0 -6
- package/dist/chunk-241584e48397dda8.js +0 -2
- package/dist/chunk-24e01cba9fc81ed1.js +0 -2
- package/dist/chunk-25dd80c6d9144f89.js +0 -2
- package/dist/chunk-2665dffd37ead1d9.js +0 -2
- package/dist/chunk-2672477bf396bad8.js +0 -2
- package/dist/chunk-269dd2cd89aa1c32.js +0 -2
- package/dist/chunk-26a5c9db5d17f5e7.js +0 -3
- package/dist/chunk-26d58ddc3a89234f.js +0 -2
- package/dist/chunk-27484e5ca3244aea.js +0 -6
- package/dist/chunk-281226b6c79ebf8b.js +0 -2
- package/dist/chunk-285299d784985340.js +0 -3
- package/dist/chunk-28bb1e70f39736ee.js +0 -2
- package/dist/chunk-28e02c9b9c46a167.js +0 -2
- package/dist/chunk-293d8be91a9ad4f9.js +0 -2
- package/dist/chunk-29a0dbe3c8eb87d4.js +0 -6
- package/dist/chunk-29bc27c5e126c304.js +0 -18
- package/dist/chunk-29c46abebbc0f09b.js +0 -2
- package/dist/chunk-2a0d1475ac05027d.js +0 -2
- package/dist/chunk-2a0e8565f874d787.js +0 -18
- package/dist/chunk-2a101fb25d52469b.js +0 -2
- package/dist/chunk-2a328e3beda74e4f.js +0 -2
- package/dist/chunk-2a48e0098ccd4249.js +0 -2
- package/dist/chunk-2a5b4dfab2e26e21.js +0 -1
- package/dist/chunk-2b2764983015552e.js +0 -2
- package/dist/chunk-2b3eabd01b2ae3f8.js +0 -2
- package/dist/chunk-2bfbc777c6995d9a.js +0 -18
- package/dist/chunk-2cf271e24c26b0ee.js +0 -2
- package/dist/chunk-2db6c9bb69bb27aa.js +0 -1
- package/dist/chunk-2e34b856e195c353.js +0 -2
- package/dist/chunk-2e447b50094b2862.js +0 -2
- package/dist/chunk-2ec287222364c6b6.js +0 -2
- package/dist/chunk-2ecc077efab285b4.js +0 -2
- package/dist/chunk-2f6867d08b95f2d2.js +0 -2
- package/dist/chunk-2f7091b9e4f728c7.js +0 -2
- package/dist/chunk-2f7aac67f16768a5.js +0 -1
- package/dist/chunk-3042abeb18cf180e.js +0 -2
- package/dist/chunk-30622b4547786346.js +0 -2
- package/dist/chunk-30f854fb2ba73268.js +0 -2
- package/dist/chunk-322e991c2b56a79d.js +0 -2
- package/dist/chunk-3258ba57992f25bb.js +0 -6
- package/dist/chunk-328c98321c6ba3d6.js +0 -2
- package/dist/chunk-32af3a3a1c95157f.js +0 -2
- package/dist/chunk-32f06f9ad00aaabd.js +0 -2
- package/dist/chunk-32f3d5e11b4bc87d.js +0 -2
- package/dist/chunk-339dd63e93f196b7.js +0 -16
- package/dist/chunk-345f66382cf35683.js +0 -2
- package/dist/chunk-34786cd9bc9be20b.js +0 -18
- package/dist/chunk-3567e8e424a60c99.js +0 -18
- package/dist/chunk-35ab4be8ca6c67ee.js +0 -2
- package/dist/chunk-361f806684fe532e.js +0 -6
- package/dist/chunk-36ab979dae2a2094.js +0 -2
- package/dist/chunk-36b8e37ca93fcc67.js +0 -2
- package/dist/chunk-370389a68668658a.js +0 -2
- package/dist/chunk-3728fa21e6931333.js +0 -2
- package/dist/chunk-378a050132886d17.js +0 -2
- package/dist/chunk-38237d1b01b0db25.js +0 -3
- package/dist/chunk-382a513747a9aa52.js +0 -6
- package/dist/chunk-38fc9d258dbe62fd.js +0 -18
- package/dist/chunk-3a3092db69408490.js +0 -2
- package/dist/chunk-3a9fcddbd219223b.js +0 -3
- package/dist/chunk-3ab807ceccde81f3.js +0 -3
- package/dist/chunk-3abb49bba3da7231.js +0 -1
- package/dist/chunk-3aecba8553e036bf.js +0 -6
- package/dist/chunk-3afa6cad1106f55a.js +0 -2
- package/dist/chunk-3b235fc8816ff5e6.js +0 -2
- package/dist/chunk-3b6df70b3d01d442.js +0 -3
- package/dist/chunk-3bd48fb5397a155b.js +0 -5
- package/dist/chunk-3bedef94ef8dba4a.js +0 -2
- package/dist/chunk-3bf6f8c8e8589e3d.js +0 -2
- package/dist/chunk-3c83d6762f7e56b3.js +0 -2
- package/dist/chunk-3cbc1c9cdc091b43.js +0 -2
- package/dist/chunk-3d7556bb2f665f61.js +0 -2
- package/dist/chunk-3dbf073642b377eb.js +0 -1
- package/dist/chunk-3e3078cae755e834.js +0 -2
- package/dist/chunk-3f1eaa4b49aa9a15.js +0 -3
- package/dist/chunk-40111275eef9f7b3.js +0 -6
- package/dist/chunk-408fb31b8b0f97ee.js +0 -2
- package/dist/chunk-40942fb138dcd780.js +0 -9
- package/dist/chunk-40c21fe243675250.js +0 -2
- package/dist/chunk-40f4bfe67d75f2ec.js +0 -6
- package/dist/chunk-412ad792487747bc.js +0 -2
- package/dist/chunk-415d564ff61a8fe6.js +0 -2
- package/dist/chunk-42097f79deccd5b7.js +0 -2
- package/dist/chunk-4272071146eb5eb2.js +0 -1
- package/dist/chunk-42aa6e3d42149620.js +0 -2
- package/dist/chunk-432bbd1d38ff3b52.js +0 -2
- package/dist/chunk-437335670ad9059d.js +0 -2
- package/dist/chunk-442a5b1ec74c72f8.js +0 -2
- package/dist/chunk-4432f8d8567e682b.js +0 -9
- package/dist/chunk-4548da0edd8c39ed.js +0 -2
- package/dist/chunk-45badde289996d82.js +0 -9
- package/dist/chunk-464cce477d8a56e0.js +0 -2
- package/dist/chunk-46528bdbb2218772.js +0 -2
- package/dist/chunk-477a4d3115b9703e.js +0 -2
- package/dist/chunk-47c4cec992af0689.js +0 -2
- package/dist/chunk-487b7c0cb388d533.js +0 -6
- package/dist/chunk-488b4db0c522d44a.js +0 -1
- package/dist/chunk-489125d86cd75e69.js +0 -9
- package/dist/chunk-4960e27e19bbe42a.js +0 -2
- package/dist/chunk-4b201cccdf6d290f.js +0 -2
- package/dist/chunk-4b4ea80149bba4e6.js +0 -2
- package/dist/chunk-4bbeb47cc6137c49.js +0 -2
- package/dist/chunk-4cb19a9e82653084.js +0 -2
- package/dist/chunk-4cb5f3feff1a81c5.js +0 -2
- package/dist/chunk-4cc2463d985f6882.js +0 -9
- package/dist/chunk-4d19e16340534ed0.js +0 -2
- package/dist/chunk-4d46e390f99b97e0.js +0 -2
- package/dist/chunk-4d80485e7efb826f.js +0 -2
- package/dist/chunk-4e023976eb557258.js +0 -2
- package/dist/chunk-4e5485d3cfe9dc4e.js +0 -2
- package/dist/chunk-4e9167391dd0d15f.js +0 -2
- package/dist/chunk-4e9d5acfa5541d1b.js +0 -2
- package/dist/chunk-4eeee2f82b1fa8bb.js +0 -2
- package/dist/chunk-4f01c5a98726e704.js +0 -2
- package/dist/chunk-4f1b43f5232b3e65.js +0 -6
- package/dist/chunk-4f5b07a6a6fd5cc6.js +0 -2
- package/dist/chunk-4ffecff075e73d43.js +0 -2
- package/dist/chunk-50b440397d41ab5a.js +0 -2
- package/dist/chunk-50ea27a13eb62b5e.js +0 -2
- package/dist/chunk-5128de1a65ba6ce1.js +0 -2
- package/dist/chunk-514f8554fb446139.js +0 -9
- package/dist/chunk-515c26d532207095.js +0 -2
- package/dist/chunk-516c6b67d6e3d041.js +0 -18
- package/dist/chunk-5190b38f06507ee1.js +0 -18
- package/dist/chunk-51bad63147c3be4e.js +0 -6
- package/dist/chunk-51c21d2a3c45fbe1.js +0 -2
- package/dist/chunk-51e930ef29de215b.js +0 -1
- package/dist/chunk-51ee928673a12486.js +0 -2
- package/dist/chunk-521750cca5e03c65.js +0 -2
- package/dist/chunk-5290ecaf429d5a61.js +0 -2
- package/dist/chunk-52e76204b898931e.js +0 -18
- package/dist/chunk-53b7d6267c9172bc.js +0 -2
- package/dist/chunk-53c39aca36ece018.js +0 -2
- package/dist/chunk-543013123141745c.js +0 -2
- package/dist/chunk-54c03438ff1f41e5.js +0 -2
- package/dist/chunk-552bdaee8c03e091.js +0 -9
- package/dist/chunk-55f76d4f6116f296.js +0 -9
- package/dist/chunk-5656abf3151c8fa2.js +0 -2
- package/dist/chunk-56f6f8c2162dcf1c.js +0 -2
- package/dist/chunk-57a61e580c4adf80.js +0 -2
- package/dist/chunk-581e0d46235dbf7c.js +0 -2
- package/dist/chunk-584e33c96b1a78e4.js +0 -2
- package/dist/chunk-5852c4da08af607f.js +0 -2
- package/dist/chunk-589f4b330dd6d32e.js +0 -2
- package/dist/chunk-590bd43a75f48606.js +0 -18
- package/dist/chunk-590cd512f9e72880.js +0 -18
- package/dist/chunk-596024c880387c2f.js +0 -2
- package/dist/chunk-597d5c6772b14a85.js +0 -9
- package/dist/chunk-59980167a4c574b3.js +0 -2
- package/dist/chunk-59da8b8ab8add738.js +0 -16
- package/dist/chunk-59e951812cb019e6.js +0 -2
- package/dist/chunk-59fe590e19085858.js +0 -18
- package/dist/chunk-5a2d89fce13094a9.js +0 -2
- package/dist/chunk-5a66922d5981afc8.js +0 -18
- package/dist/chunk-5a75eae6c32c2ba3.js +0 -2
- package/dist/chunk-5a9fa677066f72ac.js +0 -2
- package/dist/chunk-5b54843712abde58.js +0 -2
- package/dist/chunk-5b836c769c5dad2a.js +0 -2
- package/dist/chunk-5c2a5156f6bef0f5.js +0 -2
- package/dist/chunk-5c3681fb029d7588.js +0 -1
- package/dist/chunk-5cd0a98345a5d57a.js +0 -2
- package/dist/chunk-5d3431e9686096af.js +0 -18
- package/dist/chunk-5d51afe60efaf99e.js +0 -2
- package/dist/chunk-5d86d49d66db1c22.js +0 -2
- package/dist/chunk-5defd55c3c97bdb2.js +0 -2
- package/dist/chunk-5e13846c554dc272.js +0 -2
- package/dist/chunk-5fb9d31b7b4629e9.js +0 -1
- package/dist/chunk-5fbde192153a2a50.js +0 -2
- package/dist/chunk-5fd67245740e3908.js +0 -9
- package/dist/chunk-6003411eae26f246.js +0 -3
- package/dist/chunk-60d70dcbf4e79276.js +0 -2
- package/dist/chunk-60f3b8242209ac3e.js +0 -18
- package/dist/chunk-61973614facb50a8.js +0 -2
- package/dist/chunk-61abf77c3eee8698.js +0 -2
- package/dist/chunk-61fc22887a7be6f9.js +0 -3
- package/dist/chunk-62144f9c5008bd47.js +0 -1
- package/dist/chunk-625025af819f55f5.js +0 -2
- package/dist/chunk-6259cd13f53334df.js +0 -2
- package/dist/chunk-62b2777c629d5157.js +0 -2
- package/dist/chunk-62c0f9a87ad8a46b.js +0 -2
- package/dist/chunk-634c80cac76d9080.js +0 -18
- package/dist/chunk-63ad0436d3d896b5.js +0 -3
- package/dist/chunk-63c5605bcce508ea.js +0 -1
- package/dist/chunk-640e4bdae1671873.js +0 -1
- package/dist/chunk-648dff766091372e.js +0 -2
- package/dist/chunk-64a5b833cef67725.js +0 -2
- package/dist/chunk-64c89cee4d4bd9a9.js +0 -2
- package/dist/chunk-65626c3d72d4e071.js +0 -2
- package/dist/chunk-65c413665a7cf876.js +0 -2
- package/dist/chunk-6605e290c4de1f0e.js +0 -6
- package/dist/chunk-66ab377654806d08.js +0 -2
- package/dist/chunk-670d2c924e80cb33.js +0 -3
- package/dist/chunk-67351e678a7ccc10.js +0 -2
- package/dist/chunk-6766e66417809e1a.js +0 -2
- package/dist/chunk-6821bb0ff6ed2452.js +0 -18
- package/dist/chunk-682b01231754a121.js +0 -2
- package/dist/chunk-68af0a6f6be163ce.js +0 -2
- package/dist/chunk-6921ba2fa2e1adea.js +0 -2
- package/dist/chunk-6943b50bd0a3ac84.js +0 -1
- package/dist/chunk-699957e6eb705a81.js +0 -2
- package/dist/chunk-69ff5047661fe699.js +0 -2
- package/dist/chunk-6a28d299b5726bba.js +0 -2
- package/dist/chunk-6ac91c66919b5ddd.js +0 -2
- package/dist/chunk-6afe097e13ebdf55.js +0 -2
- package/dist/chunk-6c345dba15e1c3f2.js +0 -2
- package/dist/chunk-6c461d293fa213f1.js +0 -2
- package/dist/chunk-6caabea5fcbc9cf7.js +0 -2
- package/dist/chunk-6d04c1ccb3ca8c74.js +0 -1
- package/dist/chunk-6e06660ab4e9d4da.js +0 -6
- package/dist/chunk-6e415d0e12fc9539.js +0 -1
- package/dist/chunk-6f78f2a54491595d.js +0 -2
- package/dist/chunk-700835a3a709b370.js +0 -2
- package/dist/chunk-70bb003c03f21dad.js +0 -2
- package/dist/chunk-711f86b9d50d45fe.js +0 -18
- package/dist/chunk-71820a3186a38543.js +0 -6
- package/dist/chunk-7195a8718fcd8215.js +0 -1
- package/dist/chunk-722f2aeae58daaa3.js +0 -18
- package/dist/chunk-72821f055108528e.js +0 -2
- package/dist/chunk-72add10919c9d7ae.js +0 -2
- package/dist/chunk-731f30522682483a.js +0 -2
- package/dist/chunk-733513f9c9e8b50f.js +0 -2
- package/dist/chunk-733688c7851fffd1.js +0 -2
- package/dist/chunk-7336bd3f3b799e3e.js +0 -1
- package/dist/chunk-7399f06d840a1449.js +0 -2
- package/dist/chunk-73c97da8ac4f1d30.js +0 -1
- package/dist/chunk-73c9d39f58a30fe2.js +0 -6
- package/dist/chunk-73eed146ee78f681.js +0 -1
- package/dist/chunk-73fb3bb4d001bb2e.js +0 -1
- package/dist/chunk-7431d60af8814bc8.js +0 -2
- package/dist/chunk-74802f454b9972eb.js +0 -2
- package/dist/chunk-74ab9c225bfe0eaa.js +0 -2
- package/dist/chunk-74db07ba7b97d1c1.js +0 -2
- package/dist/chunk-76a525af0575486d.js +0 -5
- package/dist/chunk-76db0552d2492ee7.js +0 -3
- package/dist/chunk-774337ca540a856d.js +0 -2
- package/dist/chunk-77c89e3c8a03f91e.js +0 -2
- package/dist/chunk-77d1b26236f5feec.js +0 -2
- package/dist/chunk-77d5bbc7a9117c21.js +0 -2
- package/dist/chunk-782dde0748025b5a.js +0 -2
- package/dist/chunk-78534576cf359780.js +0 -2
- package/dist/chunk-7898dd7609f163e8.js +0 -2
- package/dist/chunk-78ab7bcbe6104c5f.js +0 -2
- package/dist/chunk-78d6df0054754d5d.js +0 -2
- package/dist/chunk-795a1bd1d89efce1.js +0 -2
- package/dist/chunk-797430f55303e6b5.js +0 -2
- package/dist/chunk-7975e27df461cbfb.js +0 -6
- package/dist/chunk-798f550643937b6d.js +0 -2
- package/dist/chunk-79b438007611560a.js +0 -2
- package/dist/chunk-79f7d7d90c4fb51a.js +0 -2
- package/dist/chunk-7a318e738fec6c2b.js +0 -3
- package/dist/chunk-7aa7f7e219919c4d.js +0 -2
- package/dist/chunk-7abc696047809312.js +0 -6
- package/dist/chunk-7afdc0ba5afe109a.js +0 -21
- package/dist/chunk-7b3bbc8a88aee78c.js +0 -1
- package/dist/chunk-7b8e777f7353b492.js +0 -2
- package/dist/chunk-7c0fd956d14fc327.js +0 -2
- package/dist/chunk-7c62e9d6edc4b418.js +0 -2
- package/dist/chunk-7c670baec90faacb.js +0 -2
- package/dist/chunk-7d7b2c1f2a8dd018.js +0 -6
- package/dist/chunk-7de7f34d46c76019.js +0 -18
- package/dist/chunk-7dfb17814922ade0.js +0 -2
- package/dist/chunk-7e9d5eea3aa359ad.js +0 -2
- package/dist/chunk-7ea1baca4032004f.js +0 -2
- package/dist/chunk-7eb54149dff25532.js +0 -2
- package/dist/chunk-7ec30fbbbdf89272.js +0 -2
- package/dist/chunk-7fadaab2fa180ca9.js +0 -6
- package/dist/chunk-7fef11f59982b1f6.js +0 -2
- package/dist/chunk-7ffe2ce59a054e35.js +0 -2
- package/dist/chunk-80b17f9853d76e98.js +0 -2
- package/dist/chunk-8133ed564834cff3.js +0 -2
- package/dist/chunk-8163d4f4c2c91caf.js +0 -2
- package/dist/chunk-817aad76d1e8eecc.js +0 -6
- package/dist/chunk-81938d68b172446d.js +0 -2
- package/dist/chunk-81a00ae1b3ea4824.js +0 -2
- package/dist/chunk-81ce9b491b290639.js +0 -1
- package/dist/chunk-81f5123a24c19089.js +0 -2
- package/dist/chunk-827d2c67c03d1a52.js +0 -2
- package/dist/chunk-8295e42bcfc910ff.js +0 -16
- package/dist/chunk-82f72dfc6e27be04.js +0 -1
- package/dist/chunk-8401f0f53dc26633.js +0 -1
- package/dist/chunk-8450a38607a86896.js +0 -2
- package/dist/chunk-847629c9a7550cc3.js +0 -2
- package/dist/chunk-84b129a5185ac24d.js +0 -2
- package/dist/chunk-84c7f86a97d17f53.js +0 -2
- package/dist/chunk-84f1b068dc7fc8b7.js +0 -2
- package/dist/chunk-8581aa9e876d46fb.js +0 -2
- package/dist/chunk-85a1f8fb96fd9473.js +0 -2
- package/dist/chunk-85d5e5d7ff832255.js +0 -2
- package/dist/chunk-860f5fcef7074193.js +0 -9
- package/dist/chunk-869d80d2e475b938.js +0 -3
- package/dist/chunk-880273a32da461fd.js +0 -9
- package/dist/chunk-88103b9d011960db.js +0 -5
- package/dist/chunk-89187bbdf6945131.js +0 -2
- package/dist/chunk-89291b5eb2bbd0b4.js +0 -2
- package/dist/chunk-895d9b1ef7a65211.js +0 -2
- package/dist/chunk-897773d66a89947a.js +0 -2
- package/dist/chunk-89c6080d4a693ddf.js +0 -2
- package/dist/chunk-8a993922ea970923.js +0 -2
- package/dist/chunk-8aa3e0e20e411d11.js +0 -2
- package/dist/chunk-8af626a703659719.js +0 -18
- package/dist/chunk-8b3d411f441a43ce.js +0 -2
- package/dist/chunk-8b40d6a498f8bf81.js +0 -2
- package/dist/chunk-8b944ecefa1b832c.js +0 -18
- package/dist/chunk-8bb91c504b9ca45e.js +0 -2
- package/dist/chunk-8bf925705fdcef0c.js +0 -2
- package/dist/chunk-8c2b349a7198788f.js +0 -6
- package/dist/chunk-8c3e0f5d4a0d6e53.js +0 -2
- package/dist/chunk-8c8c8fd3646b76a1.js +0 -2
- package/dist/chunk-8caa0abe673f5d41.js +0 -2
- package/dist/chunk-8d8666b73758171e.js +0 -2
- package/dist/chunk-8e72aa06d4e47eca.js +0 -2
- package/dist/chunk-8ef8222b34d8f63f.js +0 -2
- package/dist/chunk-8f24cd33e07d02f3.js +0 -2
- package/dist/chunk-8f547b919361fdf4.js +0 -2
- package/dist/chunk-8f986f307ff91bd3.js +0 -2
- package/dist/chunk-901e700a2c2d43f3.js +0 -18
- package/dist/chunk-90c5196ff1f827a8.js +0 -2
- package/dist/chunk-9113f22a5215c639.js +0 -3
- package/dist/chunk-915c050c94553981.js +0 -2
- package/dist/chunk-9238196d4889d660.js +0 -1
- package/dist/chunk-92a55add20b5d7ac.js +0 -9
- package/dist/chunk-92f6095a3be7f459.js +0 -1
- package/dist/chunk-9326224d1e4c1a64.js +0 -2
- package/dist/chunk-933845e73519b4c5.js +0 -2
- package/dist/chunk-934ebff128f86ef1.js +0 -1
- package/dist/chunk-9350baa090b5a424.js +0 -2
- package/dist/chunk-938fed005335132e.js +0 -9
- package/dist/chunk-93b6f53456c1251b.js +0 -2
- package/dist/chunk-94578320d28e33ad.js +0 -2
- package/dist/chunk-9501e589e3e86a96.js +0 -2
- package/dist/chunk-955e2bfcdb7a7e71.js +0 -2
- package/dist/chunk-96b635a3bdba7415.js +0 -2
- package/dist/chunk-970e033f764e29fc.js +0 -19
- package/dist/chunk-98126e4b5bd19831.js +0 -2
- package/dist/chunk-9938e9a4fe25dda5.js +0 -2
- package/dist/chunk-99ba9dfd7c11383b.js +0 -18
- package/dist/chunk-9a622a10e7764b23.js +0 -2
- package/dist/chunk-9b5649697d59dfb4.js +0 -2
- package/dist/chunk-9bd00e182ac2f8a6.js +0 -6
- package/dist/chunk-9bd90ecd4ddde546.js +0 -18
- package/dist/chunk-9c3b4dd1591053c5.js +0 -18
- package/dist/chunk-9c4a4b4bd266869d.js +0 -2
- package/dist/chunk-9d069ba29a122630.js +0 -1
- package/dist/chunk-9d1337fc9976354d.js +0 -2
- package/dist/chunk-9d2777df26b445e4.js +0 -2
- package/dist/chunk-9d2af1a704b857ee.js +0 -2
- package/dist/chunk-9d6cc631cdabbe35.js +0 -9
- package/dist/chunk-9d714f87e4e3e250.js +0 -18
- package/dist/chunk-9ee2118bd4eb34ae.js +0 -9
- package/dist/chunk-9f6199bc705fc395.js +0 -18
- package/dist/chunk-a0003b7feea6fae6.js +0 -2
- package/dist/chunk-a004fce37a0f5a65.js +0 -2
- package/dist/chunk-a02b2d564bdb603d.js +0 -6
- package/dist/chunk-a095821ffc039b99.js +0 -18
- package/dist/chunk-a10ae1a06a28aaab.js +0 -2
- package/dist/chunk-a13ab30c392c3563.js +0 -9
- package/dist/chunk-a14516ac5e6f78aa.js +0 -1
- package/dist/chunk-a14b8af8b2a8d0b0.js +0 -2
- package/dist/chunk-a210ec2b987fa5f7.js +0 -2
- package/dist/chunk-a2fcc46e344ae7ae.js +0 -2
- package/dist/chunk-a3526e321ac9d173.js +0 -1
- package/dist/chunk-a3f85d0d3261ae44.js +0 -9
- package/dist/chunk-a4862acc0c3fed7d.js +0 -6
- package/dist/chunk-a50b9cd348c3e882.js +0 -9
- package/dist/chunk-a57ecc74c0fb9045.js +0 -2
- package/dist/chunk-a5c18c07abe8fd9c.js +0 -2
- package/dist/chunk-a63e13c410e92923.js +0 -2
- package/dist/chunk-a693f8ec2e8af8ca.js +0 -2
- package/dist/chunk-a719a1f305964521.js +0 -2
- package/dist/chunk-a7a144f5e4772c35.js +0 -2
- package/dist/chunk-a7f3e9d5b7cf7c42.js +0 -2
- package/dist/chunk-a816613f5321b9db.js +0 -1
- package/dist/chunk-a8310ad9bad32329.js +0 -2
- package/dist/chunk-a885dc5561caa8e0.js +0 -3
- package/dist/chunk-a88c3919c74b7877.js +0 -18
- package/dist/chunk-a9625dd807cb668e.js +0 -2
- package/dist/chunk-a991fdce275f1256.js +0 -2
- package/dist/chunk-aa1b1fb08828cb24.js +0 -2
- package/dist/chunk-aad7af5112f0f4f2.js +0 -2
- package/dist/chunk-aaf5855c5199efe9.js +0 -2
- package/dist/chunk-aaf70ff16705d558.js +0 -2
- package/dist/chunk-aafdd9bfb5bde8bf.js +0 -2
- package/dist/chunk-ab0c3f72f95cb4f4.js +0 -3
- package/dist/chunk-ab79a2f0d89fbeae.js +0 -1
- package/dist/chunk-ab7b6ceb26aca9b1.js +0 -3
- package/dist/chunk-abb2f588bd34adff.js +0 -2
- package/dist/chunk-abd0b68c299eebfc.js +0 -2
- package/dist/chunk-ac32b3d9dda47756.js +0 -9
- package/dist/chunk-acd4530b2ff92aff.js +0 -18
- package/dist/chunk-ad656a60ce7912bb.js +0 -2
- package/dist/chunk-ad8e7de66d8bf8c5.js +0 -2
- package/dist/chunk-adb4e1e222eb1d20.js +0 -2
- package/dist/chunk-ae373c8ae2d526ae.js +0 -18
- package/dist/chunk-ae50ef54d7de9179.js +0 -2
- package/dist/chunk-ae7b1bdf00266d88.js +0 -2
- package/dist/chunk-aef3f1c1429e6058.js +0 -2
- package/dist/chunk-af6b79a6ce7388ee.js +0 -18
- package/dist/chunk-afbf69daa7589a52.js +0 -2
- package/dist/chunk-b009482e01114059.js +0 -3
- package/dist/chunk-b031077f0a783b82.js +0 -2
- package/dist/chunk-b05cb7ef4546980d.js +0 -2
- package/dist/chunk-b05e4833f4bb2f8f.js +0 -9
- package/dist/chunk-b06168e5d3080486.js +0 -1
- package/dist/chunk-b07249c949a284d2.js +0 -16
- package/dist/chunk-b0cc82fa84d5362d.js +0 -2
- package/dist/chunk-b0f453845cad4e6e.js +0 -2
- package/dist/chunk-b13cfa16a8a18324.js +0 -3
- package/dist/chunk-b1918e88103a8501.js +0 -2
- package/dist/chunk-b2bc43f60314d1a9.js +0 -2
- package/dist/chunk-b2d07c19a78dc397.js +0 -2
- package/dist/chunk-b3bfe533d66f6a17.js +0 -2
- package/dist/chunk-b3e27ec4b56a20ac.js +0 -2
- package/dist/chunk-b558c43783464f1b.js +0 -2
- package/dist/chunk-b5d6eb761760b2a7.js +0 -6
- package/dist/chunk-b66a9e50afbac035.js +0 -9
- package/dist/chunk-b7b365f7e6038104.js +0 -2
- package/dist/chunk-b7c4dc1136fcaeb7.js +0 -2
- package/dist/chunk-b7da6c96acf0478f.js +0 -18
- package/dist/chunk-b7f9e29074a9f36a.js +0 -2
- package/dist/chunk-b80a86610158cbfd.js +0 -1
- package/dist/chunk-b855e71b162ce5a2.js +0 -2
- package/dist/chunk-b8d3d76e1dd9affe.js +0 -2
- package/dist/chunk-b97189ea9588db36.js +0 -9
- package/dist/chunk-b9cba2a8bd5bcd3e.js +0 -2
- package/dist/chunk-b9e4546aaa58319c.js +0 -2
- package/dist/chunk-b9f4c1fce7152fc8.js +0 -9
- package/dist/chunk-ba051a98cd651063.js +0 -1
- package/dist/chunk-bb72c8820407f3a6.js +0 -2
- package/dist/chunk-bbd36ce62b950ee5.js +0 -2
- package/dist/chunk-bbdd098f2a2cd820.js +0 -18
- package/dist/chunk-bcd70a6fc2fd359c.js +0 -1
- package/dist/chunk-bd2888a454e50cfd.js +0 -1
- package/dist/chunk-bd52b3f25b928eb1.js +0 -2
- package/dist/chunk-bdc34785363e3f34.js +0 -2
- package/dist/chunk-bdf4f2b1862899bb.js +0 -2
- package/dist/chunk-be095501304df604.js +0 -9
- package/dist/chunk-beca91bf7cc216cd.js +0 -2
- package/dist/chunk-bee6075c5738d87a.js +0 -2
- package/dist/chunk-bf14cc3e71fcd2d8.js +0 -2
- package/dist/chunk-bf4fa1d9864332a8.js +0 -2
- package/dist/chunk-bf92f3127474b56a.js +0 -3
- package/dist/chunk-bfccfb070c1630e9.js +0 -2
- package/dist/chunk-bffb8d677e1424a9.js +0 -6
- package/dist/chunk-c041f058dc3d571b.js +0 -1
- package/dist/chunk-c0bd8e19395d722b.js +0 -2
- package/dist/chunk-c124bf801cec12d9.js +0 -2
- package/dist/chunk-c153b192112b0d44.js +0 -2
- package/dist/chunk-c1813278ccdc04b8.js +0 -2
- package/dist/chunk-c210f6ae6276ebe8.js +0 -1
- package/dist/chunk-c29701ffef4ca07a.js +0 -2
- package/dist/chunk-c2d1f66cf8468e71.js +0 -1
- package/dist/chunk-c2fe378a1764eb92.js +0 -2
- package/dist/chunk-c3e4a396dc7a5fe7.js +0 -2
- package/dist/chunk-c3eaa877d3aab9db.js +0 -18
- package/dist/chunk-c45e1427f48008f0.js +0 -2
- package/dist/chunk-c4f342e09d9b2f23.js +0 -2
- package/dist/chunk-c50ff3cf3c78af79.js +0 -2
- package/dist/chunk-c609d06153ed09ce.js +0 -2
- package/dist/chunk-c62b5c4cec67029c.js +0 -1
- package/dist/chunk-c675395110f371b1.js +0 -6
- package/dist/chunk-c675f193d459818e.js +0 -2
- package/dist/chunk-c6846df9c8456b20.js +0 -3
- package/dist/chunk-c6d988f5928a4df1.js +0 -2
- package/dist/chunk-c72bfaa252a03f6f.js +0 -2
- package/dist/chunk-c7b024c7bd4cffc9.js +0 -3
- package/dist/chunk-c7e2acfd5087fb30.js +0 -2
- package/dist/chunk-c83b39b7178003da.js +0 -2
- package/dist/chunk-c85fc7168a708cb6.js +0 -3
- package/dist/chunk-c8631aa6bbb62e13.js +0 -2
- package/dist/chunk-c864ab57913d658f.js +0 -1
- package/dist/chunk-c882d0c175c22c17.js +0 -2
- package/dist/chunk-c8b00b645df96ed5.js +0 -2
- package/dist/chunk-c8f1115d77efc1c0.js +0 -2
- package/dist/chunk-c9707ae8f1d346ff.js +0 -3
- package/dist/chunk-c99b8c3d6bda27b0.js +0 -2
- package/dist/chunk-cb65fe402653c65e.js +0 -2
- package/dist/chunk-cb69e9621a60d310.js +0 -1
- package/dist/chunk-cca1f3ae7ec0dee1.js +0 -2
- package/dist/chunk-ccb551ce4fd177fe.js +0 -2
- package/dist/chunk-cce7de7e81895807.js +0 -2
- package/dist/chunk-ccfd101ce72e80bf.js +0 -1
- package/dist/chunk-cd1636884486d7b3.js +0 -1
- package/dist/chunk-cdfa2adeddc1a8e1.js +0 -2
- package/dist/chunk-ceb94e70091088e5.js +0 -2
- package/dist/chunk-cf3d1744ea801f48.js +0 -6
- package/dist/chunk-cf7dde2ab1be3a3c.js +0 -1
- package/dist/chunk-cf8b1c7a4e9fc32d.js +0 -18
- package/dist/chunk-cfa9a65fae5ddaf4.js +0 -2
- package/dist/chunk-d0757747d9cc2e47.js +0 -2
- package/dist/chunk-d0806df6defd9dce.js +0 -2
- package/dist/chunk-d12b578765686adb.js +0 -6
- package/dist/chunk-d16ef78d852a6856.js +0 -1
- package/dist/chunk-d22136d39cf8465f.js +0 -2
- package/dist/chunk-d26ffb7722e6df54.js +0 -1
- package/dist/chunk-d27588325ae2c0f3.js +0 -2
- package/dist/chunk-d2e057b6f3f9d500.js +0 -2
- package/dist/chunk-d3033805e98482dc.js +0 -6
- package/dist/chunk-d33a0e61ccf1bab5.js +0 -2
- package/dist/chunk-d3765f96a689a0c1.js +0 -2
- package/dist/chunk-d37757ffee07b05f.js +0 -6
- package/dist/chunk-d3b4a3c778c23705.js +0 -2
- package/dist/chunk-d3e039d010842a3f.js +0 -2
- package/dist/chunk-d43b3f444e738dd1.js +0 -1
- package/dist/chunk-d445af84de70bf7e.js +0 -2
- package/dist/chunk-d535b1e3078465f8.js +0 -2
- package/dist/chunk-d54843c1d8516c75.js +0 -2
- package/dist/chunk-d5709251a0493152.js +0 -6
- package/dist/chunk-d5ddfacbfc84a47d.js +0 -6
- package/dist/chunk-d665d3ee2a62d48b.js +0 -2
- package/dist/chunk-d7457cb6aae3b29b.js +0 -2
- package/dist/chunk-d850d83873a89e2b.js +0 -18
- package/dist/chunk-d93a6531661d56b5.js +0 -9
- package/dist/chunk-d93cbffc712a052f.js +0 -2
- package/dist/chunk-d950bbcb684a11ef.js +0 -2
- package/dist/chunk-d9577d79d4b718a6.js +0 -2
- package/dist/chunk-d9762bab5df03532.js +0 -2
- package/dist/chunk-d9968563c6c84405.js +0 -3
- package/dist/chunk-d9a84b9122601b72.js +0 -2
- package/dist/chunk-da1c673d9685624e.js +0 -2
- package/dist/chunk-dab2dde8cc9da99b.js +0 -9
- package/dist/chunk-dac0e2ef13060d02.js +0 -1
- package/dist/chunk-dac9276e506d125d.js +0 -2
- package/dist/chunk-dad55fcc32d05b69.js +0 -2
- package/dist/chunk-db2270bbca7854fe.js +0 -2
- package/dist/chunk-db65c75cda396f98.js +0 -2
- package/dist/chunk-dba84b47adec2108.js +0 -2
- package/dist/chunk-dc23bfb4fd92e2f0.js +0 -2
- package/dist/chunk-dc7b0cf226ba3afa.js +0 -2
- package/dist/chunk-dcc432bd72fb7e46.js +0 -3
- package/dist/chunk-dd211856e049a67f.js +0 -9
- package/dist/chunk-dd21f367f8029793.js +0 -2
- package/dist/chunk-dd8b042837b4d5f1.js +0 -2
- package/dist/chunk-ddef8961cbf08a05.js +0 -6
- package/dist/chunk-de0784c3310db458.js +0 -5
- package/dist/chunk-de39fc86bbd37240.js +0 -1
- package/dist/chunk-de3ec02f9d17c2c9.js +0 -2
- package/dist/chunk-def30dbcb4c6aceb.js +0 -2
- package/dist/chunk-df55f07f8adf212f.js +0 -2
- package/dist/chunk-df926b342440f55f.js +0 -5
- package/dist/chunk-dfadfa4e09b4db22.js +0 -2
- package/dist/chunk-dfc390f0bbdf5a81.js +0 -1
- package/dist/chunk-e05db2eae976681b.js +0 -3
- package/dist/chunk-e06fbc8e70a88f07.js +0 -2
- package/dist/chunk-e0a028ef931a3eb1.js +0 -18
- package/dist/chunk-e0e0f2ee626a6fb3.js +0 -18
- package/dist/chunk-e0ffb920c65ebf44.js +0 -2
- package/dist/chunk-e11c7f3abcf2269f.js +0 -2
- package/dist/chunk-e16b252158474b8c.js +0 -1
- package/dist/chunk-e19064e9f1d5faed.js +0 -2
- package/dist/chunk-e1a08bb52ee7ea09.js +0 -2
- package/dist/chunk-e1e84c38542d78ec.js +0 -2
- package/dist/chunk-e33c33445a92adf1.js +0 -1
- package/dist/chunk-e3acd3561fe1342c.js +0 -18
- package/dist/chunk-e3e996b3821027e1.js +0 -2
- package/dist/chunk-e3ef81776c8f2d28.js +0 -2
- package/dist/chunk-e4869466459233fa.js +0 -16
- package/dist/chunk-e4f28182cf5f6e1d.js +0 -2
- package/dist/chunk-e53fdd0a1888c5e8.js +0 -2
- package/dist/chunk-e5a95230e0858544.js +0 -3
- package/dist/chunk-e64d5a7b7e0fa2c5.js +0 -6
- package/dist/chunk-e755f2c1c7ad3912.js +0 -2
- package/dist/chunk-e8159722d49ad044.js +0 -2
- package/dist/chunk-e86269d01f94404c.js +0 -2
- package/dist/chunk-e9275fb341d2cdd9.js +0 -2
- package/dist/chunk-e9c96f9b825f8de7.js +0 -2
- package/dist/chunk-ea9b86cf2edd807b.js +0 -18
- package/dist/chunk-ec24a0767aa58f1f.js +0 -18
- package/dist/chunk-ed21fb7d8c4b675e.js +0 -3
- package/dist/chunk-ed589d4e4c575de7.js +0 -2
- package/dist/chunk-edba144b170cd87e.js +0 -6
- package/dist/chunk-edeefd833c30a5ed.js +0 -2
- package/dist/chunk-ee35048642cfe9d8.js +0 -2
- package/dist/chunk-ee4ff285d7f4ccdf.js +0 -2
- package/dist/chunk-ee604d0215ea07e6.js +0 -1
- package/dist/chunk-ee92e80230ce02ec.js +0 -2
- package/dist/chunk-eea1d6f60a6875d5.js +0 -2
- package/dist/chunk-eeb3b193701aec43.js +0 -1
- package/dist/chunk-ef1ebd10affe5726.js +0 -2
- package/dist/chunk-ef30aafcfd40dc07.js +0 -2
- package/dist/chunk-f077321ef55ea627.js +0 -1
- package/dist/chunk-f08ca4bd263b132b.js +0 -2
- package/dist/chunk-f0d3ed16a520ecf1.js +0 -18
- package/dist/chunk-f117757df00aa18d.js +0 -2
- package/dist/chunk-f13fd46441a58606.js +0 -2
- package/dist/chunk-f1ac22ad55dbab7a.js +0 -9
- package/dist/chunk-f1dfc76a05462dde.js +0 -2
- package/dist/chunk-f1e28c4c1a227c27.js +0 -2
- package/dist/chunk-f2428c56f532e719.js +0 -3
- package/dist/chunk-f256432c3e5819d0.js +0 -2
- package/dist/chunk-f2dca6305fcba70b.js +0 -2
- package/dist/chunk-f316793e4ec0f386.js +0 -2
- package/dist/chunk-f32726d374c6bee5.js +0 -1
- package/dist/chunk-f34a78d9e3a62c43.js +0 -3
- package/dist/chunk-f404a785b581d029.js +0 -2
- package/dist/chunk-f5910f2c8a3f6974.js +0 -2
- package/dist/chunk-f5a4295176f9b1c1.js +0 -2
- package/dist/chunk-f5b888aa9ac4e20f.js +0 -2
- package/dist/chunk-f5e313cc7d724fbe.js +0 -2
- package/dist/chunk-f67aa3e46d73674e.js +0 -2
- package/dist/chunk-f69bcbd7998553cb.js +0 -2
- package/dist/chunk-f74928c3f9ae5359.js +0 -2
- package/dist/chunk-f7796c3724a35057.js +0 -2
- package/dist/chunk-f84049d82d29bd9e.js +0 -2
- package/dist/chunk-f868cdf653dbe87e.js +0 -2
- package/dist/chunk-f8823a1ede83155e.js +0 -2
- package/dist/chunk-f8ad65b3a07ce3c4.js +0 -6
- package/dist/chunk-f900b5868b14827e.js +0 -2
- package/dist/chunk-f9084650419a23c4.js +0 -2
- package/dist/chunk-f95f5e3439539ca5.js +0 -2
- package/dist/chunk-f99bdfc336b2ac57.js +0 -9
- package/dist/chunk-f9a17b871b527bff.js +0 -2
- package/dist/chunk-f9e6a0a946ebb032.js +0 -2
- package/dist/chunk-fa40971555060604.js +0 -81
- package/dist/chunk-fa6bdfb32d2f97fb.js +0 -2
- package/dist/chunk-faa8c62bfa11f9d5.js +0 -2
- package/dist/chunk-fb25896f1638ca8e.js +0 -3
- package/dist/chunk-fc165cee61f6efe8.js +0 -6
- package/dist/chunk-fd5ffee329d6f29b.js +0 -2
- package/dist/chunk-feaaa37d30cd1e9b.js +0 -2
- package/dist/chunk-fec9f0b0b0319f3b.js +0 -2
- package/dist/chunk-ff086fe014985526.js +0 -1
- package/dist/chunk-ff1bbce70d726bc6.js +0 -9
- package/dist/chunk-ff9a2d6d503e6db6.js +0 -18
- package/dist/chunk-ffe161a589b4c44b.js +0 -1
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import{y as t,z as K} from"./chunk-7ce930fe69575c87.js";import{C as x,D as SU,E as g4,H as mU,I as _L,L as dL,P as xG,S as K8} from"./chunk-f5200f44395bf49d.js";import{hb as Y0} from"./chunk-a0003b7feea6fae6.js";import{ib as xf,jb as R0} from"./chunk-7195a8718fcd8215.js";import{kb as K$} from"./chunk-3cbc1c9cdc091b43.js";import{qb as BU} from"./chunk-934ebff128f86ef1.js";var c0=K((HE,$f)=>{var{defineProperty:L1,getOwnPropertyDescriptor:wX,getOwnPropertyNames:GX}=Object,WX=Object.prototype.hasOwnProperty,tU=($,U)=>L1($,"name",{value:U,configurable:!0}),LX=($,U)=>{for(var f in U)L1($,f,{get:U[f],enumerable:!0})},XX=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of GX(U))if(!WX.call($,w)&&w!==f)L1($,w,{get:()=>U[w],enumerable:!(G=wX(U,w))||G.enumerable})}return $},ZX=($)=>XX(L1({},"__esModule",{value:!0}),$),eU={};LX(eU,{getSmithyContext:()=>FX,normalizeProvider:()=>YX});$f.exports=ZX(eU);var aU=Y0(),FX=tU(($)=>$[aU.SMITHY_CONTEXT_KEY]||($[aU.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),YX=tU(($)=>{if(typeof $==="function")return $;const U=Promise.resolve($);return()=>U},"normalizeProvider")});var B0=K((Uf)=>{Object.defineProperty(Uf,"__esModule",{value:!0});Uf.getHomeDir=void 0;var IX=import.meta.require("os"),QX=import.meta.require("path"),Y$={},zX=()=>{if(process&&process.geteuid)return`${process.geteuid()}`;return"DEFAULT"},EX=()=>{const{HOME:$,USERPROFILE:U,HOMEPATH:f,HOMEDRIVE:G=`C:${QX.sep}`}=process.env;if($)return $;if(U)return U;if(f)return`${G}${f}`;const w=zX();if(!Y$[w])Y$[w]=IX.homedir();return Y$[w]};Uf.getHomeDir=EX});var I$=K((wf)=>{Object.defineProperty(wf,"__esModule",{value:!0});wf.getSSOTokenFilepath=void 0;var JX=import.meta.require("crypto"),RX=import.meta.require("path"),MX=B0(),KX=($)=>{const f=JX.createHash("sha1").update($).digest("hex");return RX.join(MX.getHomeDir(),".aws","sso","cache",`${f}.json`)};wf.getSSOTokenFilepath=KX});var Xf=K((Wf)=>{Object.defineProperty(Wf,"__esModule",{value:!0});Wf.getSSOTokenFromFile=void 0;var TX=import.meta.require("fs"),VX=I$(),{readFile:BX}=TX.promises,AX=async($)=>{const U=VX.getSSOTokenFilepath($),f=await BX(U,"utf8");return JSON.parse(f)};Wf.getSSOTokenFromFile=AX});var z$=K((Zf)=>{Object.defineProperty(Zf,"__esModule",{value:!0});Zf.slurpFile=void 0;var OX=import.meta.require("fs"),{readFile:HX}=OX.promises,Q$={},CX=($,U)=>{if(!Q$[$]||(U===null||U===void 0?void 0:U.ignoreCache))Q$[$]=HX($,"utf8");return Q$[$]};Zf.slurpFile=CX});var M$=K((jE,x0)=>{var{defineProperty:F1,getOwnPropertyDescriptor:qX,getOwnPropertyNames:NX}=Object,PX=Object.prototype.hasOwnProperty,u=($,U)=>F1($,"name",{value:U,configurable:!0}),jX=($,U)=>{for(var f in U)F1($,f,{get:U[f],enumerable:!0})},E$=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of NX(U))if(!PX.call($,w)&&w!==f)F1($,w,{get:()=>U[w],enumerable:!(G=qX(U,w))||G.enumerable})}return $},R$=($,U,f)=>(E$($,U,"default"),f&&E$(f,U,"default")),SX=($)=>E$(F1({},"__esModule",{value:!0}),$),v0={};jX(v0,{CONFIG_PREFIX_SEPARATOR:()=>I0,DEFAULT_PROFILE:()=>zf,ENV_PROFILE:()=>Qf,getProfileName:()=>bX,loadSharedConfigFiles:()=>Jf,loadSsoSessionData:()=>lX,parseKnownFiles:()=>nX});x0.exports=SX(v0);R$(v0,B0(),x0.exports);var Qf="AWS_PROFILE",zf="default",bX=u(($)=>$.profile||process.env[Qf]||zf,"getProfileName");R$(v0,I$(),x0.exports);R$(v0,Xf(),x0.exports);var X1=Y0(),hX=u(($)=>Object.entries($).filter(([U])=>{const f=U.indexOf(I0);if(f===-1)return!1;return Object.values(X1.IniSectionType).includes(U.substring(0,f))}).reduce((U,[f,G])=>{const w=f.indexOf(I0),W=f.substring(0,w)===X1.IniSectionType.PROFILE?f.substring(w+1):f;return U[W]=G,U},{...$.default&&{default:$.default}}),"getConfigData"),Z1=import.meta.require("path"),DX=B0(),kX="AWS_CONFIG_FILE",Ef=u(()=>process.env[kX]||Z1.join(DX.getHomeDir(),".aws","config"),"getConfigFilepath"),cX=B0(),vX="AWS_SHARED_CREDENTIALS_FILE",xX=u(()=>process.env[vX]||Z1.join(cX.getHomeDir(),".aws","credentials"),"getCredentialsFilepath"),uX=B0(),yX=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,_X=["__proto__","profile __proto__"],J$=u(($)=>{const U={};let f,G;for(let w of $.split(/\r?\n/)){const W=w.split(/(^|\s)[;#]/)[0].trim();if(W[0]==="["&&W[W.length-1]==="]"){f=void 0,G=void 0;const X=W.substring(1,W.length-1),Z=yX.exec(X);if(Z){const[,F,,Y]=Z;if(Object.values(X1.IniSectionType).includes(F))f=[F,Y].join(I0)}else f=X;if(_X.includes(X))throw new Error(`Found invalid profile name "${X}"`)}else if(f){const X=W.indexOf("=");if(![0,-1].includes(X)){const[Z,F]=[W.substring(0,X).trim(),W.substring(X+1).trim()];if(F==="")G=Z;else{if(G&&w.trimStart()===w)G=void 0;U[f]=U[f]||{};const Y=G?[G,Z].join(I0):Z;U[f][Y]=F}}}}return U},"parseIni"),Yf=z$(),If=u(()=>({}),"swallowError"),I0=".",Jf=u(async($={})=>{const{filepath:U=xX(),configFilepath:f=Ef()}=$,G=uX.getHomeDir();let W=U;if(U.startsWith("~/"))W=Z1.join(G,U.slice(2));let L=f;if(f.startsWith("~/"))L=Z1.join(G,f.slice(2));const X=await Promise.all([Yf.slurpFile(L,{ignoreCache:$.ignoreCache}).then(J$).then(hX).catch(If),Yf.slurpFile(W,{ignoreCache:$.ignoreCache}).then(J$).catch(If)]);return{configFile:X[0],credentialsFile:X[1]}},"loadSharedConfigFiles"),dX=u(($)=>Object.entries($).filter(([U])=>U.startsWith(X1.IniSectionType.SSO_SESSION+I0)).reduce((U,[f,G])=>({...U,[f.substring(f.indexOf(I0)+1)]:G}),{}),"getSsoSessionData"),pX=z$(),gX=u(()=>({}),"swallowError"),lX=u(async($={})=>pX.slurpFile($.configFilepath??Ef()).then(J$).then(dX).catch(gX),"loadSsoSessionData"),sX=u((...$)=>{const U={};for(let f of $)for(let[G,w]of Object.entries(f))if(U[G]!==void 0)Object.assign(U[G],w);else U[G]=w;return U},"mergeConfigFiles"),nX=u(async($)=>{const U=await Jf($);return sX(U.configFile,U.credentialsFile)},"parseKnownFiles")});var Tf=K((SE,Kf)=>{var T$=function($){try{const U=new Set(Array.from($.match(/([A-Z_]){3,}/g)??[]));return U.delete("CONFIG"),U.delete("CONFIG_PREFIX_SEPARATOR"),U.delete("ENV"),[...U].join(", ")}catch(U){return $}},Y1=Object.defineProperty,mX=Object.getOwnPropertyDescriptor,iX=Object.getOwnPropertyNames,rX=Object.prototype.hasOwnProperty,A0=($,U)=>Y1($,"name",{value:U,configurable:!0}),oX=($,U)=>{for(var f in U)Y1($,f,{get:U[f],enumerable:!0})},aX=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of iX(U))if(!rX.call($,w)&&w!==f)Y1($,w,{get:()=>U[w],enumerable:!(G=mX(U,w))||G.enumerable})}return $},tX=($)=>aX(Y1({},"__esModule",{value:!0}),$),Mf={};oX(Mf,{loadConfig:()=>wZ});Kf.exports=tX(Mf);var u0=K$();A0(T$,"getSelectorName");var eX=A0(($,U)=>async()=>{try{const f=$(process.env);if(f===void 0)throw new Error;return f}catch(f){throw new u0.CredentialsProviderError(f.message||`Not found in ENV: ${T$($.toString())}`,{logger:U})}},"fromEnv"),Rf=M$(),$Z=A0(($,{preferredFile:U="config",...f}={})=>async()=>{const G=Rf.getProfileName(f),{configFile:w,credentialsFile:W}=await Rf.loadSharedConfigFiles(f),L=W[G]||{},X=w[G]||{},Z=U==="config"?{...L,...X}:{...X,...L};try{const Y=$(Z,U==="config"?w:W);if(Y===void 0)throw new Error;return Y}catch(F){throw new u0.CredentialsProviderError(F.message||`Not found in config files w/ profile [${G}]: ${T$($.toString())}`,{logger:f.logger})}},"fromSharedConfigFiles"),UZ=A0(($)=>typeof $==="function","isFunction"),fZ=A0(($)=>UZ($)?async()=>await $():u0.fromStatic($),"fromStatic"),wZ=A0(({environmentVariableSelector:$,configFileSelector:U,default:f},G={})=>u0.memoize(u0.chain(eX($),$Z(U,G),fZ(f))),"loadConfig")});var Cf=K((Of)=>{Object.defineProperty(Of,"__esModule",{value:!0});Of.getEndpointUrlConfig=void 0;var Vf=M$(),Bf="AWS_ENDPOINT_URL",Af="endpoint_url",GZ=($)=>({environmentVariableSelector:(U)=>{const f=$.split(" ").map((W)=>W.toUpperCase()),G=U[[Bf,...f].join("_")];if(G)return G;const w=U[Bf];if(w)return w;return},configFileSelector:(U,f)=>{if(f&&U.services){const w=f[["services",U.services].join(Vf.CONFIG_PREFIX_SEPARATOR)];if(w){const W=$.split(" ").map((X)=>X.toLowerCase()),L=w[[W.join("_"),Af].join(Vf.CONFIG_PREFIX_SEPARATOR)];if(L)return L}}const G=U[Af];if(G)return G;return},default:void 0});Of.getEndpointUrlConfig=GZ});var Pf=K((qf)=>{Object.defineProperty(qf,"__esModule",{value:!0});qf.getEndpointFromConfig=void 0;var WZ=Tf(),LZ=Cf(),XZ=async($)=>WZ.loadConfig(LZ.getEndpointUrlConfig($))();qf.getEndpointFromConfig=XZ});var B$=K((DE,cf)=>{var kf=function($,U,f){return{applyToStack:(G)=>{G.add(Sf($,f),hf),G.add(bf($,U),Df)}}},I1=Object.defineProperty,ZZ=Object.getOwnPropertyDescriptor,FZ=Object.getOwnPropertyNames,YZ=Object.prototype.hasOwnProperty,V$=($,U)=>I1($,"name",{value:U,configurable:!0}),IZ=($,U)=>{for(var f in U)I1($,f,{get:U[f],enumerable:!0})},QZ=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of FZ(U))if(!YZ.call($,w)&&w!==f)I1($,w,{get:()=>U[w],enumerable:!(G=ZZ(U,w))||G.enumerable})}return $},zZ=($)=>QZ(I1({},"__esModule",{value:!0}),$),jf={};IZ(jf,{deserializerMiddleware:()=>Sf,deserializerMiddlewareOption:()=>hf,getSerdePlugin:()=>kf,serializerMiddleware:()=>bf,serializerMiddlewareOption:()=>Df});cf.exports=zZ(jf);var Sf=V$(($,U)=>(f)=>async(G)=>{const{response:w}=await f(G);try{const W=await U(w,$);return{response:w,output:W}}catch(W){if(Object.defineProperty(W,"$response",{value:w}),!("$metadata"in W)){if(W.message+="\n Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.",typeof W.$responseBodyText!=="undefined"){if(W.$response)W.$response.body=W.$responseBodyText}}throw W}},"deserializerMiddleware"),bf=V$(($,U)=>(f,G)=>async(w)=>{var W;const L=((W=G.endpointV2)==null?void 0:W.url)&&$.urlParser?async()=>$.urlParser(G.endpointV2.url):$.endpoint;if(!L)throw new Error("No valid endpoint provider available.");const X=await U(w.input,{...$,endpoint:L});return f({...w,request:X})},"serializerMiddleware"),hf={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},Df={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};V$(kf,"getSerdePlugin")});var lf=K((kE,gf)=>{var{defineProperty:z1,getOwnPropertyDescriptor:EZ,getOwnPropertyNames:JZ}=Object,RZ=Object.prototype.hasOwnProperty,p=($,U)=>z1($,"name",{value:U,configurable:!0}),MZ=($,U)=>{for(var f in U)z1($,f,{get:U[f],enumerable:!0})},KZ=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of JZ(U))if(!RZ.call($,w)&&w!==f)z1($,w,{get:()=>U[w],enumerable:!(G=EZ(U,w))||G.enumerable})}return $},TZ=($)=>KZ(z1({},"__esModule",{value:!0}),$),uf={};MZ(uf,{endpointMiddleware:()=>df,endpointMiddlewareOptions:()=>pf,getEndpointFromInstructions:()=>yf,getEndpointPlugin:()=>jZ,resolveEndpointConfig:()=>SZ,resolveParams:()=>_f,toEndpointV1:()=>A$});gf.exports=TZ(uf);var VZ=p(async($)=>{const U=($==null?void 0:$.Bucket)||"";if(typeof $.Bucket==="string")$.Bucket=U.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(CZ(U)){if($.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!HZ(U)||U.indexOf(".")!==-1&&!String($.Endpoint).startsWith("http:")||U.toLowerCase()!==U||U.length<3)$.ForcePathStyle=!0;if($.DisableMultiRegionAccessPoints)$.disableMultiRegionAccessPoints=!0,$.DisableMRAP=!0;return $},"resolveParamsForS3"),BZ=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,AZ=/(\d+\.){3}\d+/,OZ=/\.\./,HZ=p(($)=>BZ.test($)&&!AZ.test($)&&!OZ.test($),"isDnsCompatibleBucketName"),CZ=p(($)=>{const[U,f,G,,,w]=$.split(":"),W=U==="arn"&&$.split(":").length>=6,L=Boolean(W&&f&&G&&w);if(W&&!L)throw new Error(`Invalid ARN: ${$} was an invalid ARN.`);return L},"isArnBucketName"),qZ=p(($,U,f)=>{const G=p(async()=>{const w=f[$]??f[U];if(typeof w==="function")return w();return w},"configProvider");if($==="credentialScope"||U==="CredentialScope")return async()=>{const w=typeof f.credentials==="function"?await f.credentials():f.credentials;return(w==null?void 0:w.credentialScope)??(w==null?void 0:w.CredentialScope)};if($==="accountId"||U==="AccountId")return async()=>{const w=typeof f.credentials==="function"?await f.credentials():f.credentials;return(w==null?void 0:w.accountId)??(w==null?void 0:w.AccountId)};if($==="endpoint"||U==="endpoint")return async()=>{const w=await G();if(w&&typeof w==="object"){if("url"in w)return w.url.href;if("hostname"in w){const{protocol:W,hostname:L,port:X,path:Z}=w;return`${W}//${L}${X?":"+X:""}${Z}`}}return w};return G},"createConfigValueProvider"),NZ=Pf(),vf=xf(),A$=p(($)=>{if(typeof $==="object"){if("url"in $)return vf.parseUrl($.url);return $}return vf.parseUrl($)},"toEndpointV1"),yf=p(async($,U,f,G)=>{if(!f.endpoint){const L=await NZ.getEndpointFromConfig(f.serviceId||"");if(L)f.endpoint=()=>Promise.resolve(A$(L))}const w=await _f($,U,f);if(typeof f.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return f.endpointProvider(w,G)},"getEndpointFromInstructions"),_f=p(async($,U,f)=>{var G;const w={},W=((G=U==null?void 0:U.getEndpointParameterInstructions)==null?void 0:G.call(U))||{};for(let[L,X]of Object.entries(W))switch(X.type){case"staticContextParams":w[L]=X.value;break;case"contextParams":w[L]=$[X.name];break;case"clientContextParams":case"builtInParams":w[L]=await qZ(X.name,L,f)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(X))}if(Object.keys(W).length===0)Object.assign(w,f);if(String(f.serviceId).toLowerCase()==="s3")await VZ(w);return w},"resolveParams"),Q1=c0(),df=p(({config:$,instructions:U})=>{return(f,G)=>async(w)=>{var W,L,X;const Z=await yf(w.input,{getEndpointParameterInstructions(){return U}},{...$},G);G.endpointV2=Z,G.authSchemes=(W=Z.properties)==null?void 0:W.authSchemes;const F=(L=G.authSchemes)==null?void 0:L[0];if(F){G.signing_region=F.signingRegion,G.signing_service=F.signingName;const Y=Q1.getSmithyContext(G),I=(X=Y==null?void 0:Y.selectedHttpAuthScheme)==null?void 0:X.httpAuthOption;if(I)I.signingProperties=Object.assign(I.signingProperties||{},{signing_region:F.signingRegion,signingRegion:F.signingRegion,signing_service:F.signingName,signingName:F.signingName,signingRegionSet:F.signingRegionSet},F.properties)}return f({...w})}},"endpointMiddleware"),PZ=B$(),pf={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:PZ.serializerMiddlewareOption.name},jZ=p(($,U)=>({applyToStack:(f)=>{f.addRelativeTo(df({config:$,instructions:U}),pf)}}),"getEndpointPlugin"),SZ=p(($)=>{const U=$.tls??!0,{endpoint:f}=$,G=f!=null?async()=>A$(await Q1.normalizeProvider(f)()):void 0;return{...$,endpoint:G,tls:U,isCustomEndpoint:!!f,useDualstackEndpoint:Q1.normalizeProvider($.useDualstackEndpoint??!1),useFipsEndpoint:Q1.normalizeProvider($.useFipsEndpoint??!1)}},"resolveEndpointConfig")});var i=K((cE,$w)=>{var af=function($){return Object.keys($).reduce((U,f)=>{const G=$[f];return{...U,[f]:Array.isArray(G)?[...G]:G}},{})},ef=function($){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test($)},E1=Object.defineProperty,bZ=Object.getOwnPropertyDescriptor,hZ=Object.getOwnPropertyNames,DZ=Object.prototype.hasOwnProperty,U0=($,U)=>E1($,"name",{value:U,configurable:!0}),kZ=($,U)=>{for(var f in U)E1($,f,{get:U[f],enumerable:!0})},cZ=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of hZ(U))if(!DZ.call($,w)&&w!==f)E1($,w,{get:()=>U[w],enumerable:!(G=bZ(U,w))||G.enumerable})}return $},vZ=($)=>cZ(E1({},"__esModule",{value:!0}),$),sf={};kZ(sf,{Field:()=>yZ,Fields:()=>_Z,HttpRequest:()=>dZ,HttpResponse:()=>pZ,IHttpRequest:()=>nf.HttpRequest,getHttpHandlerExtensionConfiguration:()=>xZ,isValidHostname:()=>ef,resolveHttpHandlerRuntimeConfig:()=>uZ});$w.exports=vZ(sf);var xZ=U0(($)=>{let U=$.httpHandler;return{setHttpHandler(f){U=f},httpHandler(){return U},updateHttpClientConfig(f,G){U.updateHttpClientConfig(f,G)},httpHandlerConfigs(){return U.httpHandlerConfigs()}}},"getHttpHandlerExtensionConfiguration"),uZ=U0(($)=>{return{httpHandler:$.httpHandler()}},"resolveHttpHandlerRuntimeConfig"),nf=Y0(),mf=class ${constructor({name:U,kind:f=nf.FieldPosition.HEADER,values:G=[]}){this.name=U,this.kind=f,this.values=G}add(U){this.values.push(U)}set(U){this.values=U}remove(U){this.values=this.values.filter((f)=>f!==U)}toString(){return this.values.map((U)=>U.includes(",")||U.includes(" ")?`"${U}"`:U).join(", ")}get(){return this.values}};U0(mf,"Field");var yZ=mf,rf=class ${constructor({fields:U=[],encoding:f="utf-8"}){this.entries={},U.forEach(this.setField.bind(this)),this.encoding=f}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((f)=>f.kind===U)}};U0(rf,"Fields");var _Z=rf,of=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 f=new $({...U,headers:{...U.headers}});if(f.query)f.query=af(f.query);return f}static isInstance(U){if(!U)return!1;const f=U;return"method"in f&&"protocol"in f&&"hostname"in f&&"path"in f&&typeof f.query==="object"&&typeof f.headers==="object"}clone(){return $.clone(this)}};U0(of,"HttpRequest");var dZ=of;U0(af,"cloneQuery");var tf=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 f=U;return typeof f.statusCode==="number"&&typeof f.headers==="object"}};U0(tf,"HttpResponse");var pZ=tf;U0(ef,"isValidHostname")});var O$=K((Uw)=>{var lZ=function($){return $&&$.__esModule?$:{default:$}},sZ=function(){if(J1>R1.length-16)gZ.default.randomFillSync(R1),J1=0;return R1.slice(J1,J1+=16)};Object.defineProperty(Uw,"__esModule",{value:!0});Uw.default=sZ;var gZ=lZ(import.meta.require("crypto")),R1=new Uint8Array(256),J1=R1.length});var Gw=K((fw)=>{Object.defineProperty(fw,"__esModule",{value:!0});fw.default=void 0;var mZ=/^(?:[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;fw.default=mZ});var y0=K((Ww)=>{var rZ=function($){return $&&$.__esModule?$:{default:$}},oZ=function($){return typeof $==="string"&&iZ.default.test($)};Object.defineProperty(Ww,"__esModule",{value:!0});Ww.default=void 0;var iZ=rZ(Gw()),aZ=oZ;Ww.default=aZ});var _0=K((Zw)=>{var eZ=function($){return $&&$.__esModule?$:{default:$}},Xw=function($,U=0){return h[$[U+0]]+h[$[U+1]]+h[$[U+2]]+h[$[U+3]]+"-"+h[$[U+4]]+h[$[U+5]]+"-"+h[$[U+6]]+h[$[U+7]]+"-"+h[$[U+8]]+h[$[U+9]]+"-"+h[$[U+10]]+h[$[U+11]]+h[$[U+12]]+h[$[U+13]]+h[$[U+14]]+h[$[U+15]]},$2=function($,U=0){const f=Xw($,U);if(!tZ.default(f))throw TypeError("Stringified UUID is invalid");return f};Object.defineProperty(Zw,"__esModule",{value:!0});Zw.default=void 0;Zw.unsafeStringify=Xw;var tZ=eZ(y0()),h=[];for(let $=0;$<256;++$)h.push(($+256).toString(16).slice(1));var U2=$2;Zw.default=U2});var zw=K((Iw)=>{var W2=function($){return $&&$.__esModule?$:{default:$}},L2=function($,U,f){let G=U&&f||0;const w=U||new Array(16);$=$||{};let W=$.node||Yw,L=$.clockseq!==void 0?$.clockseq:H$;if(W==null||L==null){const z=$.random||($.rng||w2.default)();if(W==null)W=Yw=[z[0]|1,z[1],z[2],z[3],z[4],z[5]];if(L==null)L=H$=(z[6]<<8|z[7])&16383}let X=$.msecs!==void 0?$.msecs:Date.now(),Z=$.nsecs!==void 0?$.nsecs:q$+1;const F=X-C$+(Z-q$)/1e4;if(F<0&&$.clockseq===void 0)L=L+1&16383;if((F<0||X>C$)&&$.nsecs===void 0)Z=0;if(Z>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");C$=X,q$=Z,H$=L,X+=12219292800000;const Y=((X&268435455)*1e4+Z)%4294967296;w[G++]=Y>>>24&255,w[G++]=Y>>>16&255,w[G++]=Y>>>8&255,w[G++]=Y&255;const I=X/4294967296*1e4&268435455;w[G++]=I>>>8&255,w[G++]=I&255,w[G++]=I>>>24&15|16,w[G++]=I>>>16&255,w[G++]=L>>>8|128,w[G++]=L&255;for(let z=0;z<6;++z)w[G+z]=W[z];return U||G2.unsafeStringify(w)};Object.defineProperty(Iw,"__esModule",{value:!0});Iw.default=void 0;var w2=W2(O$()),G2=_0(),Yw,H$,C$=0,q$=0,X2=L2;Iw.default=X2});var N$=K((Ew)=>{var F2=function($){return $&&$.__esModule?$:{default:$}},Y2=function($){if(!Z2.default($))throw TypeError("Invalid UUID");let U;const f=new Uint8Array(16);return f[0]=(U=parseInt($.slice(0,8),16))>>>24,f[1]=U>>>16&255,f[2]=U>>>8&255,f[3]=U&255,f[4]=(U=parseInt($.slice(9,13),16))>>>8,f[5]=U&255,f[6]=(U=parseInt($.slice(14,18),16))>>>8,f[7]=U&255,f[8]=(U=parseInt($.slice(19,23),16))>>>8,f[9]=U&255,f[10]=(U=parseInt($.slice(24,36),16))/1099511627776&255,f[11]=U/4294967296&255,f[12]=U>>>24&255,f[13]=U>>>16&255,f[14]=U>>>8&255,f[15]=U&255,f};Object.defineProperty(Ew,"__esModule",{value:!0});Ew.default=void 0;var Z2=F2(y0()),I2=Y2;Ew.default=I2});var P$=K((Kw)=>{var E2=function($){return $&&$.__esModule?$:{default:$}},J2=function($){$=unescape(encodeURIComponent($));const U=[];for(let f=0;f<$.length;++f)U.push($.charCodeAt(f));return U},R2=function($,U,f){function G(w,W,L,X){var Z;if(typeof w==="string")w=J2(w);if(typeof W==="string")W=z2.default(W);if(((Z=W)===null||Z===void 0?void 0:Z.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let F=new Uint8Array(16+w.length);if(F.set(W),F.set(w,W.length),F=f(F),F[6]=F[6]&15|U,F[8]=F[8]&63|128,L){X=X||0;for(let Y=0;Y<16;++Y)L[X+Y]=F[Y];return L}return Q2.unsafeStringify(F)}try{G.name=$}catch(w){}return G.DNS=Rw,G.URL=Mw,G};Object.defineProperty(Kw,"__esModule",{value:!0});Kw.URL=Kw.DNS=void 0;Kw.default=R2;var Q2=_0(),z2=E2(N$()),Rw="6ba7b810-9dad-11d1-80b4-00c04fd430c8";Kw.DNS=Rw;var Mw="6ba7b811-9dad-11d1-80b4-00c04fd430c8";Kw.URL=Mw});var Aw=K((Vw)=>{var V2=function($){return $&&$.__esModule?$:{default:$}},B2=function($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return T2.default.createHash("md5").update($).digest()};Object.defineProperty(Vw,"__esModule",{value:!0});Vw.default=void 0;var T2=V2(import.meta.require("crypto")),A2=B2;Vw.default=A2});var qw=K((Hw)=>{var Ow=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(Hw,"__esModule",{value:!0});Hw.default=void 0;var O2=Ow(P$()),H2=Ow(Aw()),C2=O2.default("v3",48,H2.default),q2=C2;Hw.default=q2});var jw=K((Nw)=>{var P2=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(Nw,"__esModule",{value:!0});Nw.default=void 0;var N2=P2(import.meta.require("crypto")),j2={randomUUID:N2.default.randomUUID};Nw.default=j2});var kw=K((hw)=>{var bw=function($){return $&&$.__esModule?$:{default:$}},h2=function($,U,f){if(Sw.default.randomUUID&&!U&&!$)return Sw.default.randomUUID();$=$||{};const G=$.random||($.rng||S2.default)();if(G[6]=G[6]&15|64,G[8]=G[8]&63|128,U){f=f||0;for(let w=0;w<16;++w)U[f+w]=G[w];return U}return b2.unsafeStringify(G)};Object.defineProperty(hw,"__esModule",{value:!0});hw.default=void 0;var Sw=bw(jw()),S2=bw(O$()),b2=_0(),D2=h2;hw.default=D2});var xw=K((cw)=>{var c2=function($){return $&&$.__esModule?$:{default:$}},v2=function($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return k2.default.createHash("sha1").update($).digest()};Object.defineProperty(cw,"__esModule",{value:!0});cw.default=void 0;var k2=c2(import.meta.require("crypto")),x2=v2;cw.default=x2});var dw=K((yw)=>{var uw=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(yw,"__esModule",{value:!0});yw.default=void 0;var u2=uw(P$()),y2=uw(xw()),_2=u2.default("v5",80,y2.default),d2=_2;yw.default=d2});var lw=K((pw)=>{Object.defineProperty(pw,"__esModule",{value:!0});pw.default=void 0;var p2="00000000-0000-0000-0000-000000000000";pw.default=p2});var mw=K((sw)=>{var l2=function($){return $&&$.__esModule?$:{default:$}},s2=function($){if(!g2.default($))throw TypeError("Invalid UUID");return parseInt($.slice(14,15),16)};Object.defineProperty(sw,"__esModule",{value:!0});sw.default=void 0;var g2=l2(y0()),n2=s2;sw.default=n2});var j$=K((g)=>{var r=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(g,"__esModule",{value:!0});Object.defineProperty(g,"NIL",{enumerable:!0,get:function(){return a2.default}});Object.defineProperty(g,"parse",{enumerable:!0,get:function(){return UF.default}});Object.defineProperty(g,"stringify",{enumerable:!0,get:function(){return $F.default}});Object.defineProperty(g,"v1",{enumerable:!0,get:function(){return m2.default}});Object.defineProperty(g,"v3",{enumerable:!0,get:function(){return i2.default}});Object.defineProperty(g,"v4",{enumerable:!0,get:function(){return r2.default}});Object.defineProperty(g,"v5",{enumerable:!0,get:function(){return o2.default}});Object.defineProperty(g,"validate",{enumerable:!0,get:function(){return e2.default}});Object.defineProperty(g,"version",{enumerable:!0,get:function(){return t2.default}});var m2=r(zw()),i2=r(qw()),r2=r(kw()),o2=r(dw()),a2=r(lw()),t2=r(mw()),e2=r(y0()),$F=r(_0()),UF=r(N$())});var Q0=K((tE,aw)=>{var{defineProperty:M1,getOwnPropertyDescriptor:fF,getOwnPropertyNames:wF}=Object,GF=Object.prototype.hasOwnProperty,O0=($,U)=>M1($,"name",{value:U,configurable:!0}),WF=($,U)=>{for(var f in U)M1($,f,{get:U[f],enumerable:!0})},LF=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of wF(U))if(!GF.call($,w)&&w!==f)M1($,w,{get:()=>U[w],enumerable:!(G=fF(U,w))||G.enumerable})}return $},XF=($)=>LF(M1({},"__esModule",{value:!0}),$),iw={};WF(iw,{isClockSkewCorrectedError:()=>rw,isClockSkewError:()=>EF,isRetryableByTrait:()=>zF,isServerError:()=>RF,isThrottlingError:()=>JF,isTransientError:()=>ow});aw.exports=XF(iw);var ZF=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],FF=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],YF=["TimeoutError","RequestTimeout","RequestTimeoutException"],IF=[500,502,503,504],QF=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],zF=O0(($)=>$.$retryable!==void 0,"isRetryableByTrait"),EF=O0(($)=>ZF.includes($.name),"isClockSkewError"),rw=O0(($)=>{var U;return(U=$.$metadata)==null?void 0:U.clockSkewCorrected},"isClockSkewCorrectedError"),JF=O0(($)=>{var U,f;return((U=$.$metadata)==null?void 0:U.httpStatusCode)===429||FF.includes($.name)||((f=$.$retryable)==null?void 0:f.throttling)==!0},"isThrottlingError"),ow=O0(($)=>{var U;return rw($)||YF.includes($.name)||QF.includes(($==null?void 0:$.code)||"")||IF.includes(((U=$.$metadata)==null?void 0:U.httpStatusCode)||0)},"isTransientError"),RF=O0(($)=>{var U;if(((U=$.$metadata)==null?void 0:U.httpStatusCode)!==void 0){const f=$.$metadata.httpStatusCode;if(500<=f&&f<=599&&!ow($))return!0;return!1}return!1},"isServerError")});var IG=K((eE,YG)=>{var{defineProperty:K1,getOwnPropertyDescriptor:MF,getOwnPropertyNames:KF}=Object,TF=Object.prototype.hasOwnProperty,l=($,U)=>K1($,"name",{value:U,configurable:!0}),VF=($,U)=>{for(var f in U)K1($,f,{get:U[f],enumerable:!0})},BF=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of KF(U))if(!TF.call($,w)&&w!==f)K1($,w,{get:()=>U[w],enumerable:!(G=MF(U,w))||G.enumerable})}return $},AF=($)=>BF(K1({},"__esModule",{value:!0}),$),ew={};VF(ew,{AdaptiveRetryStrategy:()=>PF,ConfiguredRetryStrategy:()=>jF,DEFAULT_MAX_ATTEMPTS:()=>S$,DEFAULT_RETRY_DELAY_BASE:()=>d0,DEFAULT_RETRY_MODE:()=>OF,DefaultRateLimiter:()=>fG,INITIAL_RETRY_TOKENS:()=>b$,INVOCATION_ID_HEADER:()=>CF,MAXIMUM_RETRY_DELAY:()=>h$,NO_RETRY_INCREMENT:()=>LG,REQUEST_HEADER:()=>qF,RETRY_COST:()=>GG,RETRY_MODES:()=>$G,StandardRetryStrategy:()=>D$,THROTTLING_RETRY_DELAY_BASE:()=>wG,TIMEOUT_RETRY_COST:()=>WG});YG.exports=AF(ew);var $G=(($)=>{return $.STANDARD="standard",$.ADAPTIVE="adaptive",$})($G||{}),S$=3,OF="standard",HF=Q0(),UG=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 f=this.getCurrentTimeInSeconds();this.lastThrottleTime=f,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 f=(U-this.currentCapacity)/this.fillRate*1000;await new Promise((G)=>setTimeout(G,f))}this.currentCapacity=this.currentCapacity-U}refillTokenBucket(){const U=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=U;return}const f=(U-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+f),this.lastTimestamp=U}updateClientSendingRate(U){let f;if(this.updateMeasuredRate(),HF.isThrottlingError(U)){const w=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=w,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),f=this.cubicThrottle(w),this.enableTokenBucket()}else this.calculateTimeWindow(),f=this.cubicSuccess(this.getCurrentTimeInSeconds());const G=Math.min(f,2*this.measuredTxRate);this.updateTokenBucketRate(G)}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(),f=Math.floor(U*2)/2;if(this.requestCount++,f>this.lastTxRateBucket){const G=this.requestCount/(f-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(G*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=f}}getPrecise(U){return parseFloat(U.toFixed(8))}};l(UG,"DefaultRateLimiter");var fG=UG,d0=100,h$=20000,wG=500,b$=500,GG=5,WG=10,LG=1,CF="amz-sdk-invocation-id",qF="amz-sdk-request",NF=l(()=>{let $=d0;return{computeNextBackoffDelay:l((G)=>{return Math.floor(Math.min(h$,Math.random()*2**G*$))},"computeNextBackoffDelay"),setDelayBase:l((G)=>{$=G},"setDelayBase")}},"getDefaultRetryBackoffStrategy"),tw=l(({retryDelay:$,retryCount:U,retryCost:f})=>{return{getRetryCount:l(()=>U,"getRetryCount"),getRetryDelay:l(()=>Math.min(h$,$),"getRetryDelay"),getRetryCost:l(()=>f,"getRetryCost")}},"createDefaultRetryToken"),XG=class ${constructor(U){this.maxAttempts=U,this.mode="standard",this.capacity=b$,this.retryBackoffStrategy=NF(),this.maxAttemptsProvider=typeof U==="function"?U:async()=>U}async acquireInitialRetryToken(U){return tw({retryDelay:d0,retryCount:0})}async refreshRetryTokenForRetry(U,f){const G=await this.getMaxAttempts();if(this.shouldRetry(U,f,G)){const w=f.errorType;this.retryBackoffStrategy.setDelayBase(w==="THROTTLING"?wG:d0);const W=this.retryBackoffStrategy.computeNextBackoffDelay(U.getRetryCount()),L=f.retryAfterHint?Math.max(f.retryAfterHint.getTime()-Date.now()||0,W):W,X=this.getCapacityCost(w);return this.capacity-=X,tw({retryDelay:L,retryCount:U.getRetryCount()+1,retryCost:X})}throw new Error("No retry token available")}recordSuccess(U){this.capacity=Math.max(b$,this.capacity+(U.getRetryCost()??LG))}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 ${S$}`),S$}}shouldRetry(U,f,G){return U.getRetryCount()+1<G&&this.capacity>=this.getCapacityCost(f.errorType)&&this.isRetryableError(f.errorType)}getCapacityCost(U){return U==="TRANSIENT"?WG:GG}isRetryableError(U){return U==="THROTTLING"||U==="TRANSIENT"}};l(XG,"StandardRetryStrategy");var D$=XG,ZG=class ${constructor(U,f){this.maxAttemptsProvider=U,this.mode="adaptive";const{rateLimiter:G}=f??{};this.rateLimiter=G??new fG,this.standardRetryStrategy=new D$(U)}async acquireInitialRetryToken(U){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(U)}async refreshRetryTokenForRetry(U,f){return this.rateLimiter.updateClientSendingRate(f),this.standardRetryStrategy.refreshRetryTokenForRetry(U,f)}recordSuccess(U){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(U)}};l(ZG,"AdaptiveRetryStrategy");var PF=ZG,FG=class $ extends D${constructor(U,f=d0){super(typeof U==="function"?U:async()=>U);if(typeof f==="number")this.computeNextBackoffDelay=()=>f;else this.computeNextBackoffDelay=f}async refreshRetryTokenForRetry(U,f){const G=await super.refreshRetryTokenForRetry(U,f);return G.getRetryDelay=()=>this.computeNextBackoffDelay(G.getRetryCount()),G}};l(FG,"ConfiguredRetryStrategy");var jF=FG});var RG=K(($J,JG)=>{var{defineProperty:T1,getOwnPropertyDescriptor:SF,getOwnPropertyNames:bF}=Object,hF=Object.prototype.hasOwnProperty,y=($,U)=>T1($,"name",{value:U,configurable:!0}),DF=($,U)=>{for(var f in U)T1($,f,{get:U[f],enumerable:!0})},kF=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of bF(U))if(!hF.call($,w)&&w!==f)T1($,w,{get:()=>U[w],enumerable:!(G=SF(U,w))||G.enumerable})}return $},cF=($)=>kF(T1({},"__esModule",{value:!0}),$),EG={};DF(EG,{constructStack:()=>k$});JG.exports=cF(EG);var z0=y(($,U)=>{const f=[];if($)f.push($);if(U)for(let G of U)f.push(G);return f},"getAllAliases"),f0=y(($,U)=>{return`${$||"anonymous"}${U&&U.length>0?` (a.k.a. ${U.join(",")})`:""}`},"getMiddlewareNameWithAliases"),k$=y(()=>{let $=[],U=[],f=!1;const G=new Set,w=y((I)=>I.sort((z,Q)=>QG[Q.step]-QG[z.step]||zG[Q.priority||"normal"]-zG[z.priority||"normal"]),"sort"),W=y((I)=>{let z=!1;const Q=y((E)=>{const V=z0(E.name,E.aliases);if(V.includes(I)){z=!0;for(let M of V)G.delete(M);return!1}return!0},"filterCb");return $=$.filter(Q),U=U.filter(Q),z},"removeByName"),L=y((I)=>{let z=!1;const Q=y((E)=>{if(E.middleware===I){z=!0;for(let V of z0(E.name,E.aliases))G.delete(V);return!1}return!0},"filterCb");return $=$.filter(Q),U=U.filter(Q),z},"removeByReference"),X=y((I)=>{var z;return $.forEach((Q)=>{I.add(Q.middleware,{...Q})}),U.forEach((Q)=>{I.addRelativeTo(Q.middleware,{...Q})}),(z=I.identifyOnResolve)==null||z.call(I,Y.identifyOnResolve()),I},"cloneTo"),Z=y((I)=>{const z=[];return I.before.forEach((Q)=>{if(Q.before.length===0&&Q.after.length===0)z.push(Q);else z.push(...Z(Q))}),z.push(I),I.after.reverse().forEach((Q)=>{if(Q.before.length===0&&Q.after.length===0)z.push(Q);else z.push(...Z(Q))}),z},"expandRelativeMiddlewareList"),F=y((I=!1)=>{const z=[],Q=[],E={};return $.forEach((M)=>{const J={...M,before:[],after:[]};for(let T of z0(J.name,J.aliases))E[T]=J;z.push(J)}),U.forEach((M)=>{const J={...M,before:[],after:[]};for(let T of z0(J.name,J.aliases))E[T]=J;Q.push(J)}),Q.forEach((M)=>{if(M.toMiddleware){const J=E[M.toMiddleware];if(J===void 0){if(I)return;throw new Error(`${M.toMiddleware} is not found when adding ${f0(M.name,M.aliases)} middleware ${M.relation} ${M.toMiddleware}`)}if(M.relation==="after")J.after.push(M);if(M.relation==="before")J.before.push(M)}}),w(z).map(Z).reduce((M,J)=>{return M.push(...J),M},[])},"getMiddlewareList"),Y={add:(I,z={})=>{const{name:Q,override:E,aliases:V}=z,M={step:"initialize",priority:"normal",middleware:I,...z},J=z0(Q,V);if(J.length>0){if(J.some((T)=>G.has(T))){if(!E)throw new Error(`Duplicate middleware name '${f0(Q,V)}'`);for(let T of J){const B=$.findIndex((O)=>{var $0;return O.name===T||(($0=O.aliases)==null?void 0:$0.some((F0)=>F0===T))});if(B===-1)continue;const A=$[B];if(A.step!==M.step||M.priority!==A.priority)throw new Error(`"${f0(A.name,A.aliases)}" middleware with ${A.priority} priority in ${A.step} step cannot be overridden by "${f0(Q,V)}" middleware with ${M.priority} priority in ${M.step} step.`);$.splice(B,1)}}for(let T of J)G.add(T)}$.push(M)},addRelativeTo:(I,z)=>{const{name:Q,override:E,aliases:V}=z,M={middleware:I,...z},J=z0(Q,V);if(J.length>0){if(J.some((T)=>G.has(T))){if(!E)throw new Error(`Duplicate middleware name '${f0(Q,V)}'`);for(let T of J){const B=U.findIndex((O)=>{var $0;return O.name===T||(($0=O.aliases)==null?void 0:$0.some((F0)=>F0===T))});if(B===-1)continue;const A=U[B];if(A.toMiddleware!==M.toMiddleware||A.relation!==M.relation)throw new Error(`"${f0(A.name,A.aliases)}" middleware ${A.relation} "${A.toMiddleware}" middleware cannot be overridden by "${f0(Q,V)}" middleware ${M.relation} "${M.toMiddleware}" middleware.`);U.splice(B,1)}}for(let T of J)G.add(T)}U.push(M)},clone:()=>X(k$()),use:(I)=>{I.applyToStack(Y)},remove:(I)=>{if(typeof I==="string")return W(I);else return L(I)},removeByTag:(I)=>{let z=!1;const Q=y((E)=>{const{tags:V,name:M,aliases:J}=E;if(V&&V.includes(I)){const T=z0(M,J);for(let B of T)G.delete(B);return z=!0,!1}return!0},"filterCb");return $=$.filter(Q),U=U.filter(Q),z},concat:(I)=>{var z;const Q=X(k$());return Q.use(I),Q.identifyOnResolve(f||Q.identifyOnResolve()||(((z=I.identifyOnResolve)==null?void 0:z.call(I))??!1)),Q},applyToStack:X,identify:()=>{return F(!0).map((I)=>{const z=I.step??I.relation+" "+I.toMiddleware;return f0(I.name,I.aliases)+" - "+z})},identifyOnResolve(I){if(typeof I==="boolean")f=I;return f},resolve:(I,z)=>{for(let Q of F().map((E)=>E.middleware).reverse())I=Q(I,z);if(f)console.log(Y.identify());return I}};return Y},"constructStack"),QG={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},zG={high:3,normal:2,low:1}});var c$=K((UJ,KG)=>{var{defineProperty:V1,getOwnPropertyDescriptor:vF,getOwnPropertyNames:xF}=Object,uF=Object.prototype.hasOwnProperty,yF=($,U)=>V1($,"name",{value:U,configurable:!0}),_F=($,U)=>{for(var f in U)V1($,f,{get:U[f],enumerable:!0})},dF=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of xF(U))if(!uF.call($,w)&&w!==f)V1($,w,{get:()=>U[w],enumerable:!(G=vF(U,w))||G.enumerable})}return $},pF=($)=>dF(V1({},"__esModule",{value:!0}),$),MG={};_F(MG,{isArrayBuffer:()=>gF});KG.exports=pF(MG);var gF=yF(($)=>typeof ArrayBuffer==="function"&&$ instanceof ArrayBuffer||Object.prototype.toString.call($)==="[object ArrayBuffer]","isArrayBuffer")});var p0=K((fJ,BG)=>{var{defineProperty:B1,getOwnPropertyDescriptor:lF,getOwnPropertyNames:sF}=Object,nF=Object.prototype.hasOwnProperty,TG=($,U)=>B1($,"name",{value:U,configurable:!0}),mF=($,U)=>{for(var f in U)B1($,f,{get:U[f],enumerable:!0})},iF=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of sF(U))if(!nF.call($,w)&&w!==f)B1($,w,{get:()=>U[w],enumerable:!(G=lF(U,w))||G.enumerable})}return $},rF=($)=>iF(B1({},"__esModule",{value:!0}),$),VG={};mF(VG,{fromArrayBuffer:()=>aF,fromString:()=>tF});BG.exports=rF(VG);var oF=c$(),v$=import.meta.require("buffer"),aF=TG(($,U=0,f=$.byteLength-U)=>{if(!oF.isArrayBuffer($))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof $} (${$})`);return v$.Buffer.from($,U,f)},"fromArrayBuffer"),tF=TG(($,U)=>{if(typeof $!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof $} (${$})`);return U?v$.Buffer.from($,U):v$.Buffer.from($)},"fromString")});var HG=K((AG)=>{Object.defineProperty(AG,"__esModule",{value:!0});AG.fromBase64=void 0;var eF=p0(),$Y=/^[A-Za-z0-9+/]*={0,2}$/,UY=($)=>{if($.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!$Y.exec($))throw new TypeError("Invalid base64 string.");const U=eF.fromString($,"base64");return new Uint8Array(U.buffer,U.byteOffset,U.byteLength)};AG.fromBase64=UY});var w0=K((GJ,PG)=>{var{defineProperty:A1,getOwnPropertyDescriptor:fY,getOwnPropertyNames:wY}=Object,GY=Object.prototype.hasOwnProperty,x$=($,U)=>A1($,"name",{value:U,configurable:!0}),WY=($,U)=>{for(var f in U)A1($,f,{get:U[f],enumerable:!0})},LY=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of wY(U))if(!GY.call($,w)&&w!==f)A1($,w,{get:()=>U[w],enumerable:!(G=fY(U,w))||G.enumerable})}return $},XY=($)=>LY(A1({},"__esModule",{value:!0}),$),CG={};WY(CG,{fromUtf8:()=>NG,toUint8Array:()=>ZY,toUtf8:()=>FY});PG.exports=XY(CG);var qG=p0(),NG=x$(($)=>{const U=qG.fromString($,"utf8");return new Uint8Array(U.buffer,U.byteOffset,U.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),ZY=x$(($)=>{if(typeof $==="string")return NG($);if(ArrayBuffer.isView($))return new Uint8Array($.buffer,$.byteOffset,$.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array($)},"toUint8Array"),FY=x$(($)=>{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 qG.fromArrayBuffer($.buffer,$.byteOffset,$.byteLength).toString("utf8")},"toUtf8")});var bG=K((jG)=>{Object.defineProperty(jG,"__esModule",{value:!0});jG.toBase64=void 0;var YY=p0(),IY=w0(),QY=($)=>{let U;if(typeof $==="string")U=IY.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 YY.fromArrayBuffer(U.buffer,U.byteOffset,U.byteLength).toString("base64")};jG.toBase64=QY});var H1=K((LJ,O1)=>{var{defineProperty:hG,getOwnPropertyDescriptor:zY,getOwnPropertyNames:EY}=Object,JY=Object.prototype.hasOwnProperty,u$=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of EY(U))if(!JY.call($,w)&&w!==f)hG($,w,{get:()=>U[w],enumerable:!(G=zY(U,w))||G.enumerable})}return $},DG=($,U,f)=>(u$($,U,"default"),f&&u$(f,U,"default")),RY=($)=>u$(hG({},"__esModule",{value:!0}),$),y$={};O1.exports=RY(y$);DG(y$,HG(),O1.exports);DG(y$,bG(),O1.exports)});var vG=K((kG)=>{Object.defineProperty(kG,"__esModule",{value:!0});kG.getAwsChunkedEncodingStream=void 0;var MY=import.meta.require("stream"),KY=($,U)=>{const{base64Encoder:f,bodyLengthChecker:G,checksumAlgorithmFn:w,checksumLocationName:W,streamHasher:L}=U,X=f!==void 0&&w!==void 0&&W!==void 0&&L!==void 0,Z=X?L(w,$):void 0,F=new MY.Readable({read:()=>{}});return $.on("data",(Y)=>{const I=G(Y)||0;F.push(`${I.toString(16)}\r\n`),F.push(Y),F.push("\r\n")}),$.on("end",async()=>{if(F.push("0\r\n"),X){const Y=f(await Z);F.push(`${W}:${Y}\r\n`),F.push("\r\n")}F.push(null)}),F};kG.getAwsChunkedEncodingStream=KY});var d$=K((ZJ,_G)=>{var yG=function($){const U=[];for(let f of Object.keys($).sort()){const G=$[f];if(f=_$.escapeUri(f),Array.isArray(G))for(let w=0,W=G.length;w<W;w++)U.push(`${f}=${_$.escapeUri(G[w])}`);else{let w=f;if(G||typeof G==="string")w+=`=${_$.escapeUri(G)}`;U.push(w)}}return U.join("&")},C1=Object.defineProperty,TY=Object.getOwnPropertyDescriptor,VY=Object.getOwnPropertyNames,BY=Object.prototype.hasOwnProperty,AY=($,U)=>C1($,"name",{value:U,configurable:!0}),OY=($,U)=>{for(var f in U)C1($,f,{get:U[f],enumerable:!0})},HY=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of VY(U))if(!BY.call($,w)&&w!==f)C1($,w,{get:()=>U[w],enumerable:!(G=TY(U,w))||G.enumerable})}return $},CY=($)=>HY(C1({},"__esModule",{value:!0}),$),uG={};OY(uG,{buildQueryString:()=>yG});_G.exports=CY(uG);var _$=xG();AY(yG,"buildQueryString")});var w8=K((FJ,f8)=>{async function l$($,U,f=dG){const G=U.headers??{},w=G.Expect||G.expect;let W=-1,L=!1;if(w==="100-continue")await Promise.race([new Promise((X)=>{W=Number(setTimeout(X,Math.max(dG,f)))}),new Promise((X)=>{$.on("continue",()=>{clearTimeout(W),X()}),$.on("error",()=>{L=!0,clearTimeout(W),X()})})]);if(!L)rG($,U.body)}var rG=function($,U){if(U instanceof iG.Readable){U.pipe($);return}if(U){if(Buffer.isBuffer(U)||typeof U==="string"){$.end(U);return}const f=U;if(typeof f==="object"&&f.buffer&&typeof f.byteOffset==="number"&&typeof f.byteLength==="number"){$.end(Buffer.from(f.buffer,f.byteOffset,f.byteLength));return}$.end(Buffer.from(U));return}$.end()};async function U8($){const U=[],f=$.getReader();let G=!1,w=0;while(!G){const{done:X,value:Z}=await f.read();if(Z)U.push(Z),w+=Z.length;G=X}const W=new Uint8Array(w);let L=0;for(let X of U)W.set(X,L),L+=X.length;return W}var{create:qY,defineProperty:g0,getOwnPropertyDescriptor:NY,getOwnPropertyNames:PY,getPrototypeOf:jY}=Object,SY=Object.prototype.hasOwnProperty,P=($,U)=>g0($,"name",{value:U,configurable:!0}),bY=($,U)=>{for(var f in U)g0($,f,{get:U[f],enumerable:!0})},gG=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of PY(U))if(!SY.call($,w)&&w!==f)g0($,w,{get:()=>U[w],enumerable:!(G=NY(U,w))||G.enumerable})}return $},hY=($,U,f)=>(f=$!=null?qY(jY($)):{},gG(U||!$||!$.__esModule?g0(f,"default",{value:$,enumerable:!0}):f,$)),DY=($)=>gG(g0({},"__esModule",{value:!0}),$),lG={};bY(lG,{DEFAULT_REQUEST_TIMEOUT:()=>uY,NodeHttp2Handler:()=>gY,NodeHttpHandler:()=>yY,streamCollector:()=>sY});f8.exports=DY(lG);var sG=i(),nG=d$(),p$=import.meta.require("http"),g$=import.meta.require("https"),kY=["ECONNRESET","EPIPE","ETIMEDOUT"],mG=P(($)=>{const U={};for(let f of Object.keys($)){const G=$[f];U[f]=Array.isArray(G)?G.join(","):G}return U},"getTransformedHeaders"),cY=P(($,U,f=0)=>{if(!f)return;const G=setTimeout(()=>{$.destroy(),U(Object.assign(new Error(`Socket timed out without establishing a connection within ${f} ms`),{name:"TimeoutError"}))},f);$.on("socket",(w)=>{if(w.connecting)w.on("connect",()=>{clearTimeout(G)});else clearTimeout(G)})},"setConnectionTimeout"),vY=P(($,{keepAlive:U,keepAliveMsecs:f})=>{if(U!==!0)return;$.on("socket",(G)=>{G.setKeepAlive(U,f||0)})},"setSocketKeepAlive"),xY=P(($,U,f=0)=>{$.setTimeout(f,()=>{$.destroy(),U(Object.assign(new Error(`Connection timed out after ${f} ms`),{name:"TimeoutError"}))})},"setSocketTimeout"),iG=import.meta.require("stream"),dG=1000;P(l$,"writeRequestBody");P(rG,"writeBody");var uY=0,oG=class ${constructor(U){this.socketWarningTimestamp=0,this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((f,G)=>{if(typeof U==="function")U().then((w)=>{f(this.resolveDefaultConfig(w))}).catch(G);else f(this.resolveDefaultConfig(U))})}static create(U){if(typeof(U==null?void 0:U.handle)==="function")return U;return new $(U)}static checkSocketUsage(U,f,G=console){var w,W,L;const{sockets:X,requests:Z,maxSockets:F}=U;if(typeof F!=="number"||F===Infinity)return f;const Y=15000;if(Date.now()-Y<f)return f;if(X&&Z)for(let I in X){const z=((w=X[I])==null?void 0:w.length)??0,Q=((W=Z[I])==null?void 0:W.length)??0;if(z>=F&&Q>=2*F)return(L=G==null?void 0:G.warn)==null||L.call(G,`@smithy/node-http-handler:WARN - socket usage at capacity=${z} and ${Q} 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 f}resolveDefaultConfig(U){const{requestTimeout:f,connectionTimeout:G,socketTimeout:w,httpAgent:W,httpsAgent:L}=U||{};return{connectionTimeout:G,requestTimeout:f??w,httpAgent:(()=>{if(W instanceof p$.Agent||typeof(W==null?void 0:W.destroy)==="function")return W;return new p$.Agent({keepAlive:!0,maxSockets:50,...W})})(),httpsAgent:(()=>{if(L instanceof g$.Agent||typeof(L==null?void 0:L.destroy)==="function")return L;return new g$.Agent({keepAlive:!0,maxSockets:50,...L})})(),logger:console}}destroy(){var U,f,G,w;(f=(U=this.config)==null?void 0:U.httpAgent)==null||f.destroy(),(w=(G=this.config)==null?void 0:G.httpsAgent)==null||w.destroy()}async handle(U,{abortSignal:f}={}){if(!this.config)this.config=await this.configProvider;let G;return new Promise((w,W)=>{let L=void 0;const X=P(async(T)=>{await L,clearTimeout(G),w(T)},"resolve"),Z=P(async(T)=>{await L,clearTimeout(G),W(T)},"reject");if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(f==null?void 0:f.aborted){const T=new Error("Request aborted");T.name="AbortError",Z(T);return}const F=U.protocol==="https:",Y=F?this.config.httpsAgent:this.config.httpAgent;G=setTimeout(()=>{this.socketWarningTimestamp=$.checkSocketUsage(Y,this.socketWarningTimestamp,this.config.logger)},this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2000)+(this.config.connectionTimeout??1000));const I=nG.buildQueryString(U.query||{});let z=void 0;if(U.username!=null||U.password!=null){const T=U.username??"",B=U.password??"";z=`${T}:${B}`}let Q=U.path;if(I)Q+=`?${I}`;if(U.fragment)Q+=`#${U.fragment}`;const E={headers:U.headers,host:U.hostname,method:U.method,path:Q,port:U.port,agent:Y,auth:z},M=(F?g$.request:p$.request)(E,(T)=>{const B=new sG.HttpResponse({statusCode:T.statusCode||-1,reason:T.statusMessage,headers:mG(T.headers),body:T});X({response:B})});if(M.on("error",(T)=>{if(kY.includes(T.code))Z(Object.assign(T,{name:"TimeoutError"}));else Z(T)}),cY(M,Z,this.config.connectionTimeout),xY(M,Z,this.config.requestTimeout),f){const T=P(()=>{M.destroy();const B=new Error("Request aborted");B.name="AbortError",Z(B)},"onAbort");if(typeof f.addEventListener==="function"){const B=f;B.addEventListener("abort",T,{once:!0}),M.once("close",()=>B.removeEventListener("abort",T))}else f.onabort=T}const J=E.agent;if(typeof J==="object"&&"keepAlive"in J)vY(M,{keepAlive:J.keepAlive,keepAliveMsecs:J.keepAliveMsecs});L=l$(M,U,this.config.requestTimeout).catch((T)=>{return clearTimeout(G),W(T)})})}updateHttpClientConfig(U,f){this.config=void 0,this.configProvider=this.configProvider.then((G)=>{return{...G,[U]:f}})}httpHandlerConfigs(){return this.config??{}}};P(oG,"NodeHttpHandler");var yY=oG,pG=import.meta.require("http2"),_Y=hY(import.meta.require("http2")),aG=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((f)=>f!==U)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(U){for(let f of this.sessions)if(f===U){if(!f.destroyed)f.destroy()}}};P(aG,"NodeHttp2ConnectionPool");var dY=aG,tG=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,f){const G=this.getUrlString(U),w=this.sessionCache.get(G);if(w){const Z=w.poll();if(Z&&!this.config.disableConcurrency)return Z}const W=_Y.default.connect(G);if(this.config.maxConcurrency)W.settings({maxConcurrentStreams:this.config.maxConcurrency},(Z)=>{if(Z)throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+U.destination.toString())});W.unref();const L=P(()=>{W.destroy(),this.deleteSession(G,W)},"destroySessionCb");if(W.on("goaway",L),W.on("error",L),W.on("frameError",L),W.on("close",()=>this.deleteSession(G,W)),f.requestTimeout)W.setTimeout(f.requestTimeout,L);const X=this.sessionCache.get(G)||new dY;return X.offerLast(W),this.sessionCache.set(G,X),W}deleteSession(U,f){const G=this.sessionCache.get(U);if(!G)return;if(!G.contains(f))return;G.remove(f),this.sessionCache.set(U,G)}release(U,f){var G;const w=this.getUrlString(U);(G=this.sessionCache.get(w))==null||G.offerLast(f)}destroy(){for(let[U,f]of this.sessionCache){for(let G of f){if(!G.destroyed)G.destroy();f.remove(G)}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()}};P(tG,"NodeHttp2ConnectionManager");var pY=tG,eG=class ${constructor(U){this.metadata={handlerProtocol:"h2"},this.connectionManager=new pY({}),this.configProvider=new Promise((f,G)=>{if(typeof U==="function")U().then((w)=>{f(w||{})}).catch(G);else f(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:f}={}){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:G,disableConcurrentStreams:w}=this.config;return new Promise((W,L)=>{var X;let Z=!1,F=void 0;const Y=P(async(N)=>{await F,W(N)},"resolve"),I=P(async(N)=>{await F,L(N)},"reject");if(f==null?void 0:f.aborted){Z=!0;const N=new Error("Request aborted");N.name="AbortError",I(N);return}const{hostname:z,method:Q,port:E,protocol:V,query:M}=U;let J="";if(U.username!=null||U.password!=null){const N=U.username??"",d=U.password??"";J=`${N}:${d}@`}const T=`${V}//${J}${z}${E?`:${E}`:""}`,B={destination:new URL(T)},A=this.connectionManager.lease(B,{requestTimeout:(X=this.config)==null?void 0:X.sessionTimeout,disableConcurrentStreams:w||!1}),O=P((N)=>{if(w)this.destroySession(A);Z=!0,I(N)},"rejectWithDestroy"),$0=nG.buildQueryString(M||{});let F0=U.path;if($0)F0+=`?${$0}`;if(U.fragment)F0+=`#${U.fragment}`;const v=A.request({...U.headers,[pG.constants.HTTP2_HEADER_PATH]:F0,[pG.constants.HTTP2_HEADER_METHOD]:Q});if(A.ref(),v.on("response",(N)=>{const d=new sG.HttpResponse({statusCode:N[":status"]||-1,headers:mG(N),body:v});if(Z=!0,Y({response:d}),w)A.close(),this.connectionManager.deleteSession(T,A)}),G)v.setTimeout(G,()=>{v.close();const N=new Error(`Stream timed out because of no activity for ${G} ms`);N.name="TimeoutError",O(N)});if(f){const N=P(()=>{v.close();const d=new Error("Request aborted");d.name="AbortError",O(d)},"onAbort");if(typeof f.addEventListener==="function"){const d=f;d.addEventListener("abort",N,{once:!0}),v.once("close",()=>d.removeEventListener("abort",N))}else f.onabort=N}v.on("frameError",(N,d,iL)=>{O(new Error(`Frame type id ${N} in stream id ${iL} has failed with code ${d}.`))}),v.on("error",O),v.on("aborted",()=>{O(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${v.rstCode}.`))}),v.on("close",()=>{if(A.unref(),w)A.destroy();if(!Z)O(new Error("Unexpected error: http2 request did not get a response"))}),F=l$(v,U,G)})}updateHttpClientConfig(U,f){this.config=void 0,this.configProvider=this.configProvider.then((G)=>{return{...G,[U]:f}})}httpHandlerConfigs(){return this.config??{}}destroySession(U){if(!U.destroyed)U.destroy()}};P(eG,"NodeHttp2Handler");var gY=eG,$8=class $ extends iG.Writable{constructor(){super(...arguments);this.bufferedBytes=[]}_write(U,f,G){this.bufferedBytes.push(U),G()}};P($8,"Collector");var lY=$8,sY=P(($)=>{if(nY($))return U8($);return new Promise((U,f)=>{const G=new lY;$.pipe(G),$.on("error",(w)=>{G.end(),f(w)}),G.on("error",f),G.on("finish",function(){const w=new Uint8Array(Buffer.concat(this.bufferedBytes));U(w)})})},"streamCollector"),nY=P(($)=>typeof ReadableStream==="function"&&$ instanceof ReadableStream,"isReadableStreamInstance");P(U8,"collectReadableStream")});var Q8=K((YJ,I8)=>{var L8=function($=0){return new Promise((U,f)=>{if($)setTimeout(()=>{const G=new Error(`Request did not complete within ${$} ms`);G.name="TimeoutError",f(G)},$)})};async function Z8($){const U=await Y8($),f=UI.fromBase64(U);return new Uint8Array(f)}async function F8($){const U=[],f=$.getReader();let G=!1,w=0;while(!G){const{done:X,value:Z}=await f.read();if(Z)U.push(Z),w+=Z.length;G=X}const W=new Uint8Array(w);let L=0;for(let X of U)W.set(X,L),L+=X.length;return W}var Y8=function($){return new Promise((U,f)=>{const G=new FileReader;G.onloadend=()=>{if(G.readyState!==2)return f(new Error("Reader aborted too early"));const w=G.result??"",W=w.indexOf(","),L=W>-1?W+1:w.length;U(w.substring(L))},G.onabort=()=>f(new Error("Read aborted")),G.onerror=()=>f(G.error),G.readAsDataURL($)})},N1=Object.defineProperty,mY=Object.getOwnPropertyDescriptor,iY=Object.getOwnPropertyNames,rY=Object.prototype.hasOwnProperty,o=($,U)=>N1($,"name",{value:U,configurable:!0}),oY=($,U)=>{for(var f in U)N1($,f,{get:U[f],enumerable:!0})},aY=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of iY(U))if(!rY.call($,w)&&w!==f)N1($,w,{get:()=>U[w],enumerable:!(G=mY(U,w))||G.enumerable})}return $},tY=($)=>aY(N1({},"__esModule",{value:!0}),$),W8={};oY(W8,{FetchHttpHandler:()=>$I,keepAliveSupport:()=>q1,streamCollector:()=>fI});I8.exports=tY(W8);var G8=i(),eY=d$();o(L8,"requestTimeout");var q1={supported:void 0},X8=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((f)=>f||{});else this.config=U??{},this.configProvider=Promise.resolve(this.config);if(q1.supported===void 0)q1.supported=Boolean(typeof Request!=="undefined"&&"keepalive"in new Request("https://[::1]"))}destroy(){}async handle(U,{abortSignal:f}={}){if(!this.config)this.config=await this.configProvider;const G=this.config.requestTimeout,w=this.config.keepAlive===!0,W=this.config.credentials;if(f==null?void 0:f.aborted){const J=new Error("Request aborted");return J.name="AbortError",Promise.reject(J)}let L=U.path;const X=eY.buildQueryString(U.query||{});if(X)L+=`?${X}`;if(U.fragment)L+=`#${U.fragment}`;let Z="";if(U.username!=null||U.password!=null){const J=U.username??"",T=U.password??"";Z=`${J}:${T}@`}const{port:F,method:Y}=U,I=`${U.protocol}//${Z}${U.hostname}${F?`:${F}`:""}${L}`,z=Y==="GET"||Y==="HEAD"?void 0:U.body,Q={body:z,headers:new Headers(U.headers),method:Y,credentials:W};if(z)Q.duplex="half";if(typeof AbortController!=="undefined")Q.signal=f;if(q1.supported)Q.keepalive=w;let E=o(()=>{},"removeSignalEventListener");const V=new Request(I,Q),M=[fetch(V).then((J)=>{const T=J.headers,B={};for(let O of T.entries())B[O[0]]=O[1];if(J.body==null)return J.blob().then((O)=>({response:new G8.HttpResponse({headers:B,reason:J.statusText,statusCode:J.status,body:O})}));return{response:new G8.HttpResponse({headers:B,reason:J.statusText,statusCode:J.status,body:J.body})}}),L8(G)];if(f)M.push(new Promise((J,T)=>{const B=o(()=>{const A=new Error("Request aborted");A.name="AbortError",T(A)},"onAbort");if(typeof f.addEventListener==="function"){const A=f;A.addEventListener("abort",B,{once:!0}),E=o(()=>A.removeEventListener("abort",B),"removeSignalEventListener")}else f.onabort=B}));return Promise.race(M).finally(E)}updateHttpClientConfig(U,f){this.config=void 0,this.configProvider=this.configProvider.then((G)=>{return G[U]=f,G})}httpHandlerConfigs(){return this.config??{}}};o(X8,"FetchHttpHandler");var $I=X8,UI=H1(),fI=o(($)=>{if(typeof Blob==="function"&&$ instanceof Blob)return Z8($);return F8($)},"streamCollector");o(Z8,"collectBlob");o(F8,"collectStream");o(Y8,"readToBase64")});var l0=K((z8)=>{Object.defineProperty(z8,"__esModule",{value:!0});z8.isReadableStream=void 0;var wI=($)=>{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)};z8.isReadableStream=wI});var B8=K((T8)=>{Object.defineProperty(T8,"__esModule",{value:!0});T8.sdkStreamMixin=void 0;var GI=Q8(),WI=H1(),LI=K8(),XI=w0(),J8=l0(),R8="The stream has already been transformed.",ZI=($)=>{var U,f;if(!M8($)&&!J8.isReadableStream($)){const L=((f=(U=$===null||$===void 0?void 0:$.__proto__)===null||U===void 0?void 0:U.constructor)===null||f===void 0?void 0:f.name)||$;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${L}`)}let G=!1;const w=async()=>{if(G)throw new Error(R8);return G=!0,await GI.streamCollector($)},W=(L)=>{if(typeof L.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 L.stream()};return Object.assign($,{transformToByteArray:w,transformToString:async(L)=>{const X=await w();if(L==="base64")return WI.toBase64(X);else if(L==="hex")return LI.toHex(X);else if(L===void 0||L==="utf8"||L==="utf-8")return XI.toUtf8(X);else if(typeof TextDecoder==="function")return new TextDecoder(L).decode(X);else throw new Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(G)throw new Error(R8);if(G=!0,M8($))return W($);else if(J8.isReadableStream($))return $;else throw new Error(`Cannot transform payload to web stream, got ${$}`)}})};T8.sdkStreamMixin=ZI;var M8=($)=>typeof Blob==="function"&&$ instanceof Blob});var C8=K((O8)=>{Object.defineProperty(O8,"__esModule",{value:!0});O8.sdkStreamMixin=void 0;var FI=w8(),YI=p0(),s$=import.meta.require("stream"),II=import.meta.require("util"),QI=B8(),A8="The stream has already been transformed.",zI=($)=>{var U,f;if(!($ instanceof s$.Readable))try{return QI.sdkStreamMixin($)}catch(W){const L=((f=(U=$===null||$===void 0?void 0:$.__proto__)===null||U===void 0?void 0:U.constructor)===null||f===void 0?void 0:f.name)||$;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${L}`)}let G=!1;const w=async()=>{if(G)throw new Error(A8);return G=!0,await FI.streamCollector($)};return Object.assign($,{transformToByteArray:w,transformToString:async(W)=>{const L=await w();if(W===void 0||Buffer.isEncoding(W))return YI.fromArrayBuffer(L.buffer,L.byteOffset,L.byteLength).toString(W);else return new II.TextDecoder(W).decode(L)},transformToWebStream:()=>{if(G)throw new Error(A8);if($.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof s$.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 G=!0,s$.Readable.toWeb($)}})};O8.sdkStreamMixin=zI});var P8=K((q8)=>{async function EI($){if(typeof $.stream==="function")$=$.stream();return $.tee()}Object.defineProperty(q8,"__esModule",{value:!0});q8.splitStream=void 0;q8.splitStream=EI});var h8=K((S8)=>{async function MI($){if(RI.isReadableStream($))return JI.splitStream($);const U=new j8.PassThrough,f=new j8.PassThrough;return $.pipe(U),$.pipe(f),[U,f]}Object.defineProperty(S8,"__esModule",{value:!0});S8.splitStream=void 0;var j8=import.meta.require("stream"),JI=P8(),RI=l0();S8.splitStream=MI});var c8=K((D8)=>{async function KI($,U){var f;let G=0;const w=[],W=$.getReader();let L=!1;while(!L){const{done:F,value:Y}=await W.read();if(Y)w.push(Y),G+=(f=Y===null||Y===void 0?void 0:Y.byteLength)!==null&&f!==void 0?f:0;if(G>=U)break;L=F}W.releaseLock();const X=new Uint8Array(Math.min(U,G));let Z=0;for(let F of w){if(F.byteLength>X.byteLength-Z){X.set(F.subarray(0,X.byteLength-Z),Z);break}else X.set(F,Z);Z+=F.length}return X}Object.defineProperty(D8,"__esModule",{value:!0});D8.headStream=void 0;D8.headStream=KI});var y8=K((x8)=>{Object.defineProperty(x8,"__esModule",{value:!0});x8.headStream=void 0;var TI=import.meta.require("stream"),VI=c8(),BI=l0(),AI=($,U)=>{if(BI.isReadableStream($))return VI.headStream($,U);return new Promise((f,G)=>{const w=new v8;w.limit=U,$.pipe(w),$.on("error",(W)=>{w.end(),G(W)}),w.on("error",G),w.on("finish",function(){const W=new Uint8Array(Buffer.concat(this.buffers));f(W)})})};x8.headStream=AI;class v8 extends TI.Writable{constructor(){super(...arguments);this.buffers=[],this.limit=Infinity,this.bytesBuffered=0}_write($,U,f){var G;if(this.buffers.push($),this.bytesBuffered+=(G=$.byteLength)!==null&&G!==void 0?G:0,this.bytesBuffered>=this.limit){const w=this.bytesBuffered-this.limit,W=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=W.subarray(0,W.byteLength-w),this.emit("finish")}f()}}});var s8=K((KJ,J0)=>{var p8=function($,U="utf-8"){if(U==="base64")return _8.toBase64($);return d8.toUtf8($)},g8=function($,U){if(U==="base64")return m$.mutate(_8.fromBase64($));return m$.mutate(d8.fromUtf8($))},P1=Object.defineProperty,OI=Object.getOwnPropertyDescriptor,HI=Object.getOwnPropertyNames,CI=Object.prototype.hasOwnProperty,i$=($,U)=>P1($,"name",{value:U,configurable:!0}),qI=($,U)=>{for(var f in U)P1($,f,{get:U[f],enumerable:!0})},n$=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of HI(U))if(!CI.call($,w)&&w!==f)P1($,w,{get:()=>U[w],enumerable:!(G=OI(U,w))||G.enumerable})}return $},s0=($,U,f)=>(n$($,U,"default"),f&&n$(f,U,"default")),NI=($)=>n$(P1({},"__esModule",{value:!0}),$),E0={};qI(E0,{Uint8ArrayBlobAdapter:()=>m$});J0.exports=NI(E0);var _8=H1(),d8=w0();i$(p8,"transformToString");i$(g8,"transformFromString");var l8=class $ extends Uint8Array{static fromString(U,f="utf-8"){switch(typeof U){case"string":return g8(U,f);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 p8(this,U)}};i$(l8,"Uint8ArrayBlobAdapter");var m$=l8;s0(E0,vG(),J0.exports);s0(E0,C8(),J0.exports);s0(E0,h8(),J0.exports);s0(E0,y8(),J0.exports);s0(E0,l0(),J0.exports)});var N0=K((TJ,EW)=>{var WW=function($){const U=$.getUTCFullYear(),f=$.getUTCMonth(),G=$.getUTCDay(),w=$.getUTCDate(),W=$.getUTCHours(),L=$.getUTCMinutes(),X=$.getUTCSeconds(),Z=w<10?`0${w}`:`${w}`,F=W<10?`0${W}`:`${W}`,Y=L<10?`0${L}`:`${L}`,I=X<10?`0${X}`:`${X}`;return`${U5[G]}, ${Z} ${WU[f]} ${U} ${F}:${Y}:${I} GMT`},b1=function($){return encodeURIComponent($).replace(/[!'()*]/g,function(U){return"%"+U.charCodeAt(0).toString(16).toUpperCase()})},LU=function($,U,f){let G,w,W;if(typeof U==="undefined"&&typeof f==="undefined")G={},W=$;else if(G=$,typeof U==="function")return w=U,W=f,k5(G,w,W);else W=U;for(let L of Object.keys(W)){if(!Array.isArray(W[L])){G[L]=W[L];continue}QW(G,null,W,L)}return G},zW=function($,U,f){if(f<=0||!Number.isInteger(f))throw new Error("Invalid number of delimiters ("+f+") for splitEvery.");const G=$.split(U);if(f===1)return G;const w=[];let W="";for(let L=0;L<G.length;L++){if(W==="")W=G[L];else W+=U+G[L];if((L+1)%f===0)w.push(W),W=""}if(W!=="")w.push(W);return w},h1=Object.defineProperty,PI=Object.getOwnPropertyDescriptor,jI=Object.getOwnPropertyNames,SI=Object.prototype.hasOwnProperty,R=($,U)=>h1($,"name",{value:U,configurable:!0}),bI=($,U)=>{for(var f in U)h1($,f,{get:U[f],enumerable:!0})},hI=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of jI(U))if(!SI.call($,w)&&w!==f)h1($,w,{get:()=>U[w],enumerable:!(G=PI(U,w))||G.enumerable})}return $},DI=($)=>hI(h1({},"__esModule",{value:!0}),$),m8={};bI(m8,{Client:()=>cI,Command:()=>t8,LazyJsonString:()=>b5,NoOpLogger:()=>kI,SENSITIVE_STRING:()=>uI,ServiceException:()=>T5,StringWrapper:()=>o0,_json:()=>UU,collectBody:()=>vI,convertMap:()=>h5,createAggregatedClient:()=>yI,dateToUtcString:()=>WW,decorateServiceException:()=>XW,emitWarningIfUnsupportedVersion:()=>O5,expectBoolean:()=>dI,expectByte:()=>$U,expectFloat32:()=>j1,expectInt:()=>gI,expectInt32:()=>t$,expectLong:()=>i0,expectNonNull:()=>sI,expectNumber:()=>m0,expectObject:()=>$W,expectShort:()=>e$,expectString:()=>nI,expectUnion:()=>mI,extendedEncodeURIComponent:()=>b1,getArrayIfSingleItem:()=>S5,getDefaultClientConfiguration:()=>P5,getDefaultExtensionConfiguration:()=>FW,getValueFromTextNode:()=>YW,handleFloat:()=>oI,limitedParseDouble:()=>GU,limitedParseFloat:()=>aI,limitedParseFloat32:()=>tI,loadConfigsForDefaultMode:()=>A5,logger:()=>r0,map:()=>LU,parseBoolean:()=>_I,parseEpochTimestamp:()=>Y5,parseRfc3339DateTime:()=>w5,parseRfc3339DateTimeWithOffset:()=>W5,parseRfc7231DateTime:()=>F5,resolveDefaultRuntimeConfig:()=>j5,resolvedPath:()=>x5,serializeDateTime:()=>y5,serializeFloat:()=>u5,splitEvery:()=>zW,strictParseByte:()=>GW,strictParseDouble:()=>wU,strictParseFloat:()=>iI,strictParseFloat32:()=>UW,strictParseInt:()=>eI,strictParseInt32:()=>$5,strictParseLong:()=>wW,strictParseShort:()=>H0,take:()=>D5,throwDefaultError:()=>ZW,withBaseException:()=>V5});EW.exports=DI(m8);var i8=class ${trace(){}debug(){}info(){}warn(){}error(){}};R(i8,"NoOpLogger");var kI=i8,r8=RG(),o8=class ${constructor(U){this.middlewareStack=r8.constructStack(),this.config=U}send(U,f,G){const w=typeof f!=="function"?f:void 0,W=typeof f==="function"?f:G,L=U.resolveMiddleware(this.middlewareStack,this.config,w);if(W)L(U).then((X)=>W(null,X.output),(X)=>W(X)).catch(()=>{});else return L(U).then((X)=>X.output)}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}};R(o8,"Client");var cI=o8,r$=s8(),vI=R(async($=new Uint8Array,U)=>{if($ instanceof Uint8Array)return r$.Uint8ArrayBlobAdapter.mutate($);if(!$)return r$.Uint8ArrayBlobAdapter.mutate(new Uint8Array);const f=U.streamCollector($);return r$.Uint8ArrayBlobAdapter.mutate(await f)},"collectBody"),a$=Y0(),a8=class ${constructor(){this.middlewareStack=r8.constructStack()}static classBuilder(){return new xI}resolveMiddlewareWithContext(U,f,G,{middlewareFn:w,clientName:W,commandName:L,inputFilterSensitiveLog:X,outputFilterSensitiveLog:Z,smithyContext:F,additionalContext:Y,CommandCtor:I}){for(let M of w.bind(this)(I,U,f,G))this.middlewareStack.use(M);const z=U.concat(this.middlewareStack),{logger:Q}=f,E={logger:Q,clientName:W,commandName:L,inputFilterSensitiveLog:X,outputFilterSensitiveLog:Z,[a$.SMITHY_CONTEXT_KEY]:{commandInstance:this,...F},...Y},{requestHandler:V}=f;return z.resolve((M)=>V.handle(M.request,G||{}),E)}};R(a8,"Command");var t8=a8,e8=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,f,G={}){return this._smithyContext={service:U,operation:f,...G},this}c(U={}){return this._additionalContext=U,this}n(U,f){return this._clientName=U,this._commandName=f,this}f(U=(G)=>G,f=(G)=>G){return this._inputFilterSensitiveLog=U,this._outputFilterSensitiveLog=f,this}ser(U){return this._serializer=U,this}de(U){return this._deserializer=U,this}build(){var U;const f=this;let G;return G=(U=class extends t8{constructor(...[w]){super();this.serialize=f._serializer,this.deserialize=f._deserializer,this.input=w??{},f._init(this)}static getEndpointParameterInstructions(){return f._ep}resolveMiddleware(w,W,L){return this.resolveMiddlewareWithContext(w,W,L,{CommandCtor:G,middlewareFn:f._middlewareFn,clientName:f._clientName,commandName:f._commandName,inputFilterSensitiveLog:f._inputFilterSensitiveLog,outputFilterSensitiveLog:f._outputFilterSensitiveLog,smithyContext:f._smithyContext,additionalContext:f._additionalContext})}},R(U,"CommandRef"),U)}};R(e8,"ClassBuilder");var xI=e8,uI="***SensitiveInformation***",yI=R(($,U)=>{for(let f of Object.keys($)){const G=$[f],w=R(async function(L,X,Z){const F=new G(L);if(typeof X==="function")this.send(F,X);else if(typeof Z==="function"){if(typeof X!=="object")throw new Error(`Expected http options but got ${typeof X}`);this.send(F,X||{},Z)}else return this.send(F,X)},"methodImpl"),W=(f[0].toLowerCase()+f.slice(1)).replace(/Command$/,"");U.prototype[W]=w}},"createAggregatedClient"),_I=R(($)=>{switch($){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${$}"`)}},"parseBoolean"),dI=R(($)=>{if($===null||$===void 0)return;if(typeof $==="number"){if($===0||$===1)r0.warn(S1(`Expected boolean, got ${typeof $}: ${$}`));if($===0)return!1;if($===1)return!0}if(typeof $==="string"){const U=$.toLowerCase();if(U==="false"||U==="true")r0.warn(S1(`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"),m0=R(($)=>{if($===null||$===void 0)return;if(typeof $==="string"){const U=parseFloat($);if(!Number.isNaN(U)){if(String(U)!==String($))r0.warn(S1(`Expected number but observed string: ${$}`));return U}}if(typeof $==="number")return $;throw new TypeError(`Expected number, got ${typeof $}: ${$}`)},"expectNumber"),pI=Math.ceil(340282346638528860000000000000000000000),j1=R(($)=>{const U=m0($);if(U!==void 0&&!Number.isNaN(U)&&U!==Infinity&&U!==(-Infinity)){if(Math.abs(U)>pI)throw new TypeError(`Expected 32-bit float, got ${$}`)}return U},"expectFloat32"),i0=R(($)=>{if($===null||$===void 0)return;if(Number.isInteger($)&&!Number.isNaN($))return $;throw new TypeError(`Expected integer, got ${typeof $}: ${$}`)},"expectLong"),gI=i0,t$=R(($)=>fU($,32),"expectInt32"),e$=R(($)=>fU($,16),"expectShort"),$U=R(($)=>fU($,8),"expectByte"),fU=R(($,U)=>{const f=i0($);if(f!==void 0&&lI(f,U)!==f)throw new TypeError(`Expected ${U}-bit integer, got ${$}`);return f},"expectSizedInt"),lI=R(($,U)=>{switch(U){case 32:return Int32Array.of($)[0];case 16:return Int16Array.of($)[0];case 8:return Int8Array.of($)[0]}},"castInt"),sI=R(($,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"),$W=R(($)=>{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"),nI=R(($)=>{if($===null||$===void 0)return;if(typeof $==="string")return $;if(["boolean","number","bigint"].includes(typeof $))return r0.warn(S1(`Expected string, got ${typeof $}: ${$}`)),String($);throw new TypeError(`Expected string, got ${typeof $}: ${$}`)},"expectString"),mI=R(($)=>{if($===null||$===void 0)return;const U=$W($),f=Object.entries(U).filter(([,G])=>G!=null).map(([G])=>G);if(f.length===0)throw new TypeError("Unions must have exactly one non-null member. None were found.");if(f.length>1)throw new TypeError(`Unions must have exactly one non-null member. Keys ${f} were not null.`);return U},"expectUnion"),wU=R(($)=>{if(typeof $=="string")return m0(q0($));return m0($)},"strictParseDouble"),iI=wU,UW=R(($)=>{if(typeof $=="string")return j1(q0($));return j1($)},"strictParseFloat32"),rI=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,q0=R(($)=>{const U=$.match(rI);if(U===null||U[0].length!==$.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat($)},"parseNumber"),GU=R(($)=>{if(typeof $=="string")return fW($);return m0($)},"limitedParseDouble"),oI=GU,aI=GU,tI=R(($)=>{if(typeof $=="string")return fW($);return j1($)},"limitedParseFloat32"),fW=R(($)=>{switch($){case"NaN":return NaN;case"Infinity":return Infinity;case"-Infinity":return (-Infinity);default:throw new Error(`Unable to parse float value: ${$}`)}},"parseFloatString"),wW=R(($)=>{if(typeof $==="string")return i0(q0($));return i0($)},"strictParseLong"),eI=wW,$5=R(($)=>{if(typeof $==="string")return t$(q0($));return t$($)},"strictParseInt32"),H0=R(($)=>{if(typeof $==="string")return e$(q0($));return e$($)},"strictParseShort"),GW=R(($)=>{if(typeof $==="string")return $U(q0($));return $U($)},"strictParseByte"),S1=R(($)=>{return String(new TypeError($).stack||$).split("\n").slice(0,5).filter((U)=>!U.includes("stackTraceWarning")).join("\n")},"stackTraceWarning"),r0={warn:console.warn},U5=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],WU=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];R(WW,"dateToUtcString");var f5=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),w5=R(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const U=f5.exec($);if(!U)throw new TypeError("Invalid RFC-3339 date-time value");const[f,G,w,W,L,X,Z,F]=U,Y=H0(C0(G)),I=n(w,"month",1,12),z=n(W,"day",1,31);return n0(Y,I,z,{hours:L,minutes:X,seconds:Z,fractionalMilliseconds:F})},"parseRfc3339DateTime"),G5=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),W5=R(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const U=G5.exec($);if(!U)throw new TypeError("Invalid RFC-3339 date-time value");const[f,G,w,W,L,X,Z,F,Y]=U,I=H0(C0(G)),z=n(w,"month",1,12),Q=n(W,"day",1,31),E=n0(I,z,Q,{hours:L,minutes:X,seconds:Z,fractionalMilliseconds:F});if(Y.toUpperCase()!="Z")E.setTime(E.getTime()-K5(Y));return E},"parseRfc3339DateTimeWithOffset"),L5=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$/),X5=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$/),Z5=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})$/),F5=R(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let U=L5.exec($);if(U){const[f,G,w,W,L,X,Z,F]=U;return n0(H0(C0(W)),o$(w),n(G,"day",1,31),{hours:L,minutes:X,seconds:Z,fractionalMilliseconds:F})}if(U=X5.exec($),U){const[f,G,w,W,L,X,Z,F]=U;return z5(n0(I5(W),o$(w),n(G,"day",1,31),{hours:L,minutes:X,seconds:Z,fractionalMilliseconds:F}))}if(U=Z5.exec($),U){const[f,G,w,W,L,X,Z,F]=U;return n0(H0(C0(F)),o$(G),n(w.trimLeft(),"day",1,31),{hours:W,minutes:L,seconds:X,fractionalMilliseconds:Z})}throw new TypeError("Invalid RFC-7231 date-time value")},"parseRfc7231DateTime"),Y5=R(($)=>{if($===null||$===void 0)return;let U;if(typeof $==="number")U=$;else if(typeof $==="string")U=wU($);else throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(U)||U===Infinity||U===(-Infinity))throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(U*1000))},"parseEpochTimestamp"),n0=R(($,U,f,G)=>{const w=U-1;return J5($,w,f),new Date(Date.UTC($,w,f,n(G.hours,"hour",0,23),n(G.minutes,"minute",0,59),n(G.seconds,"seconds",0,60),M5(G.fractionalMilliseconds)))},"buildDate"),I5=R(($)=>{const U=(new Date()).getUTCFullYear(),f=Math.floor(U/100)*100+H0(C0($));if(f<U)return f+100;return f},"parseTwoDigitYear"),Q5=1576800000000,z5=R(($)=>{if($.getTime()-(new Date()).getTime()>Q5)return new Date(Date.UTC($.getUTCFullYear()-100,$.getUTCMonth(),$.getUTCDate(),$.getUTCHours(),$.getUTCMinutes(),$.getUTCSeconds(),$.getUTCMilliseconds()));return $},"adjustRfc850Year"),o$=R(($)=>{const U=WU.indexOf($);if(U<0)throw new TypeError(`Invalid month: ${$}`);return U+1},"parseMonthByShortName"),E5=[31,28,31,30,31,30,31,31,30,31,30,31],J5=R(($,U,f)=>{let G=E5[U];if(U===1&&R5($))G=29;if(f>G)throw new TypeError(`Invalid day for ${WU[U]} in ${$}: ${f}`)},"validateDayOfMonth"),R5=R(($)=>{return $%4===0&&($%100!==0||$%400===0)},"isLeapYear"),n=R(($,U,f,G)=>{const w=GW(C0($));if(w<f||w>G)throw new TypeError(`${U} must be between ${f} and ${G}, inclusive`);return w},"parseDateValue"),M5=R(($)=>{if($===null||$===void 0)return 0;return UW("0."+$)*1000},"parseMilliseconds"),K5=R(($)=>{const U=$[0];let f=1;if(U=="+")f=1;else if(U=="-")f=-1;else throw new TypeError(`Offset direction, ${U}, must be "+" or "-"`);const G=Number($.substring(1,3)),w=Number($.substring(4,6));return f*(G*60+w)*60*1000},"parseOffsetToMilliseconds"),C0=R(($)=>{let U=0;while(U<$.length-1&&$.charAt(U)==="0")U++;if(U===0)return $;return $.slice(U)},"stripLeadingZeroes"),LW=class $ extends Error{constructor(U){super(U.message);Object.setPrototypeOf(this,$.prototype),this.name=U.name,this.$fault=U.$fault,this.$metadata=U.$metadata}};R(LW,"ServiceException");var T5=LW,XW=R(($,U={})=>{Object.entries(U).filter(([,G])=>G!==void 0).forEach(([G,w])=>{if($[G]==null||$[G]==="")$[G]=w});const f=$.message||$.Message||"UnknownError";return $.message=f,delete $.Message,$},"decorateServiceException"),ZW=R(({output:$,parsedBody:U,exceptionCtor:f,errorCode:G})=>{const w=B5($),W=w.httpStatusCode?w.httpStatusCode+"":void 0,L=new f({name:(U==null?void 0:U.code)||(U==null?void 0:U.Code)||G||W||"UnknownError",$fault:"client",$metadata:w});throw XW(L,U)},"throwDefaultError"),V5=R(($)=>{return({output:U,parsedBody:f,errorCode:G})=>{ZW({output:U,parsedBody:f,exceptionCtor:$,errorCode:G})}},"withBaseException"),B5=R(($)=>({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"),A5=R(($)=>{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"),n8=!1,O5=R(($)=>{if($&&!n8&&parseInt($.substring(1,$.indexOf(".")))<16)n8=!0},"emitWarningIfUnsupportedVersion"),H5=R(($)=>{const U=[];for(let f in a$.AlgorithmId){const G=a$.AlgorithmId[f];if($[G]===void 0)continue;U.push({algorithmId:()=>G,checksumConstructor:()=>$[G]})}return{_checksumAlgorithms:U,addChecksumAlgorithm(f){this._checksumAlgorithms.push(f)},checksumAlgorithms(){return this._checksumAlgorithms}}},"getChecksumConfiguration"),C5=R(($)=>{const U={};return $.checksumAlgorithms().forEach((f)=>{U[f.algorithmId()]=f.checksumConstructor()}),U},"resolveChecksumRuntimeConfig"),q5=R(($)=>{let U=$.retryStrategy;return{setRetryStrategy(f){U=f},retryStrategy(){return U}}},"getRetryConfiguration"),N5=R(($)=>{const U={};return U.retryStrategy=$.retryStrategy(),U},"resolveRetryRuntimeConfig"),FW=R(($)=>{return{...H5($),...q5($)}},"getDefaultExtensionConfiguration"),P5=FW,j5=R(($)=>{return{...C5($),...N5($)}},"resolveDefaultRuntimeConfig");R(b1,"extendedEncodeURIComponent");var S5=R(($)=>Array.isArray($)?$:[$],"getArrayIfSingleItem"),YW=R(($)=>{for(let f in $)if($.hasOwnProperty(f)&&$[f]["#text"]!==void 0)$[f]=$[f]["#text"];else if(typeof $[f]==="object"&&$[f]!==null)$[f]=YW($[f]);return $},"getValueFromTextNode"),o0=R(function(){const $=Object.getPrototypeOf(this).constructor,f=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(f,$.prototype),f},"StringWrapper");o0.prototype=Object.create(String.prototype,{constructor:{value:o0,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(o0,String);var IW=class $ extends o0{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))}};R(IW,"LazyJsonString");var b5=IW;R(LU,"map");var h5=R(($)=>{const U={};for(let[f,G]of Object.entries($||{}))U[f]=[,G];return U},"convertMap"),D5=R(($,U)=>{const f={};for(let G in U)QW(f,$,U,G);return f},"take"),k5=R(($,U,f)=>{return LU($,Object.entries(f).reduce((G,[w,W])=>{if(Array.isArray(W))G[w]=W;else if(typeof W==="function")G[w]=[U,W()];else G[w]=[U,W];return G},{}))},"mapWithFilter"),QW=R(($,U,f,G)=>{if(U!==null){let L=f[G];if(typeof L==="function")L=[,L];const[X=c5,Z=v5,F=G]=L;if(typeof X==="function"&&X(U[F])||typeof X!=="function"&&!!X)$[G]=Z(U[F]);return}let[w,W]=f[G];if(typeof W==="function"){let L;const X=w===void 0&&(L=W())!=null,Z=typeof w==="function"&&!!w(void 0)||typeof w!=="function"&&!!w;if(X)$[G]=L;else if(Z)$[G]=W()}else{const L=w===void 0&&W!=null,X=typeof w==="function"&&!!w(W)||typeof w!=="function"&&!!w;if(L||X)$[G]=W}},"applyInstruction"),c5=R(($)=>$!=null,"nonNullish"),v5=R(($)=>$,"pass"),x5=R(($,U,f,G,w,W)=>{if(U!=null&&U[f]!==void 0){const L=G();if(L.length<=0)throw new Error("Empty value provided for input HTTP label: "+f+".");$=$.replace(w,W?L.split("/").map((X)=>b1(X)).join("/"):b1(L))}else throw new Error("No value provided for input HTTP label: "+f+".");return $},"resolvedPath"),u5=R(($)=>{if($!==$)return"NaN";switch($){case Infinity:return"Infinity";case (-Infinity):return"-Infinity";default:return $}},"serializeFloat"),y5=R(($)=>$.toISOString().replace(".000Z","Z"),"serializeDateTime"),UU=R(($)=>{if($==null)return{};if(Array.isArray($))return $.filter((U)=>U!=null).map(UU);if(typeof $==="object"){const U={};for(let f of Object.keys($)){if($[f]==null)continue;U[f]=UU($[f])}return U}return $},"_json");R(zW,"splitEvery")});var MW=K((JW)=>{Object.defineProperty(JW,"__esModule",{value:!0});JW.isStreamingPayload=void 0;var _5=import.meta.require("stream"),d5=($)=>($===null||$===void 0?void 0:$.body)instanceof _5.Readable||typeof ReadableStream!=="undefined"&&($===null||$===void 0?void 0:$.body)instanceof ReadableStream;JW.isStreamingPayload=d5});var cW=K((AJ,kW)=>{var{defineProperty:D1,getOwnPropertyDescriptor:p5,getOwnPropertyNames:g5}=Object,l5=Object.prototype.hasOwnProperty,S=($,U)=>D1($,"name",{value:U,configurable:!0}),s5=($,U)=>{for(var f in U)D1($,f,{get:U[f],enumerable:!0})},n5=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of g5(U))if(!l5.call($,w)&&w!==f)D1($,w,{get:()=>U[w],enumerable:!(G=p5(U,w))||G.enumerable})}return $},m5=($)=>n5(D1({},"__esModule",{value:!0}),$),TW={};s5(TW,{AdaptiveRetryStrategy:()=>o5,CONFIG_MAX_ATTEMPTS:()=>ZU,CONFIG_RETRY_MODE:()=>PW,ENV_MAX_ATTEMPTS:()=>XU,ENV_RETRY_MODE:()=>NW,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:()=>a5,NODE_RETRY_MODE_CONFIG_OPTIONS:()=>e5,StandardRetryStrategy:()=>CW,defaultDelayDecider:()=>BW,defaultRetryDecider:()=>AW,getOmitRetryHeadersPlugin:()=>$Q,getRetryAfterHint:()=>DW,getRetryPlugin:()=>LQ,omitRetryHeadersMiddleware:()=>jW,omitRetryHeadersMiddlewareOptions:()=>SW,resolveRetryConfig:()=>t5,retryMiddleware:()=>bW,retryMiddlewareOptions:()=>hW});kW.exports=m5(TW);var P0=i(),VW=j$(),q=IG(),i5=S(($,U)=>{const f=$,G=(U==null?void 0:U.noRetryIncrement)??q.NO_RETRY_INCREMENT,w=(U==null?void 0:U.retryCost)??q.RETRY_COST,W=(U==null?void 0:U.timeoutRetryCost)??q.TIMEOUT_RETRY_COST;let L=$;const X=S((I)=>I.name==="TimeoutError"?W:w,"getCapacityAmount"),Z=S((I)=>X(I)<=L,"hasRetryTokens");return Object.freeze({hasRetryTokens:Z,retrieveRetryTokens:S((I)=>{if(!Z(I))throw new Error("No retry token available");const z=X(I);return L-=z,z},"retrieveRetryTokens"),releaseRetryTokens:S((I)=>{L+=I??G,L=Math.min(L,f)},"releaseRetryTokens")})},"getDefaultRetryQuota"),BW=S(($,U)=>Math.floor(Math.min(q.MAXIMUM_RETRY_DELAY,Math.random()*2**U*$)),"defaultDelayDecider"),G0=Q0(),AW=S(($)=>{if(!$)return!1;return G0.isRetryableByTrait($)||G0.isClockSkewError($)||G0.isThrottlingError($)||G0.isTransientError($)},"defaultRetryDecider"),OW=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"),HW=class ${constructor(U,f){this.maxAttemptsProvider=U,this.mode=q.RETRY_MODES.STANDARD,this.retryDecider=(f==null?void 0:f.retryDecider)??AW,this.delayDecider=(f==null?void 0:f.delayDecider)??BW,this.retryQuota=(f==null?void 0:f.retryQuota)??i5(q.INITIAL_RETRY_TOKENS)}shouldRetry(U,f,G){return f<G&&this.retryDecider(U)&&this.retryQuota.hasRetryTokens(U)}async getMaxAttempts(){let U;try{U=await this.maxAttemptsProvider()}catch(f){U=q.DEFAULT_MAX_ATTEMPTS}return U}async retry(U,f,G){let w,W=0,L=0;const X=await this.getMaxAttempts(),{request:Z}=f;if(P0.HttpRequest.isInstance(Z))Z.headers[q.INVOCATION_ID_HEADER]=VW.v4();while(!0)try{if(P0.HttpRequest.isInstance(Z))Z.headers[q.REQUEST_HEADER]=`attempt=${W+1}; max=${X}`;if(G==null?void 0:G.beforeRequest)await G.beforeRequest();const{response:F,output:Y}=await U(f);if(G==null?void 0:G.afterRequest)G.afterRequest(F);return this.retryQuota.releaseRetryTokens(w),Y.$metadata.attempts=W+1,Y.$metadata.totalRetryDelay=L,{response:F,output:Y}}catch(F){const Y=OW(F);if(W++,this.shouldRetry(Y,W,X)){w=this.retryQuota.retrieveRetryTokens(Y);const I=this.delayDecider(G0.isThrottlingError(Y)?q.THROTTLING_RETRY_DELAY_BASE:q.DEFAULT_RETRY_DELAY_BASE,W),z=r5(Y.$response),Q=Math.max(z||0,I);L+=Q,await new Promise((E)=>setTimeout(E,Q));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=W,Y.$metadata.totalRetryDelay=L,Y}}};S(HW,"StandardRetryStrategy");var CW=HW,r5=S(($)=>{if(!P0.HttpResponse.isInstance($))return;const U=Object.keys($.headers).find((W)=>W.toLowerCase()==="retry-after");if(!U)return;const f=$.headers[U],G=Number(f);if(!Number.isNaN(G))return G*1000;return new Date(f).getTime()-Date.now()},"getDelayFromRetryAfterHeader"),qW=class $ extends CW{constructor(U,f){const{rateLimiter:G,...w}=f??{};super(U,w);this.rateLimiter=G??new q.DefaultRateLimiter,this.mode=q.RETRY_MODES.ADAPTIVE}async retry(U,f){return super.retry(U,f,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(G)=>{this.rateLimiter.updateClientSendingRate(G)}})}};S(qW,"AdaptiveRetryStrategy");var o5=qW,KW=c0(),XU="AWS_MAX_ATTEMPTS",ZU="max_attempts",a5={environmentVariableSelector:($)=>{const U=$[XU];if(!U)return;const f=parseInt(U);if(Number.isNaN(f))throw new Error(`Environment variable ${XU} mast be a number, got "${U}"`);return f},configFileSelector:($)=>{const U=$[ZU];if(!U)return;const f=parseInt(U);if(Number.isNaN(f))throw new Error(`Shared config file entry ${ZU} mast be a number, got "${U}"`);return f},default:q.DEFAULT_MAX_ATTEMPTS},t5=S(($)=>{const{retryStrategy:U}=$,f=KW.normalizeProvider($.maxAttempts??q.DEFAULT_MAX_ATTEMPTS);return{...$,maxAttempts:f,retryStrategy:async()=>{if(U)return U;if(await KW.normalizeProvider($.retryMode)()===q.RETRY_MODES.ADAPTIVE)return new q.AdaptiveRetryStrategy(f);return new q.StandardRetryStrategy(f)}}},"resolveRetryConfig"),NW="AWS_RETRY_MODE",PW="retry_mode",e5={environmentVariableSelector:($)=>$[NW],configFileSelector:($)=>$[PW],default:q.DEFAULT_RETRY_MODE},jW=S(()=>($)=>async(U)=>{const{request:f}=U;if(P0.HttpRequest.isInstance(f))delete f.headers[q.INVOCATION_ID_HEADER],delete f.headers[q.REQUEST_HEADER];return $(U)},"omitRetryHeadersMiddleware"),SW={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},$Q=S(($)=>({applyToStack:(U)=>{U.addRelativeTo(jW(),SW)}}),"getOmitRetryHeadersPlugin"),UQ=N0(),fQ=MW(),bW=S(($)=>(U,f)=>async(G)=>{var w;let W=await $.retryStrategy();const L=await $.maxAttempts();if(wQ(W)){W=W;let X=await W.acquireInitialRetryToken(f.partition_id),Z=new Error,F=0,Y=0;const{request:I}=G,z=P0.HttpRequest.isInstance(I);if(z)I.headers[q.INVOCATION_ID_HEADER]=VW.v4();while(!0)try{if(z)I.headers[q.REQUEST_HEADER]=`attempt=${F+1}; max=${L}`;const{response:Q,output:E}=await U(G);return W.recordSuccess(X),E.$metadata.attempts=F+1,E.$metadata.totalRetryDelay=Y,{response:Q,output:E}}catch(Q){const E=GQ(Q);if(Z=OW(Q),z&&fQ.isStreamingPayload(I))throw(w=f.logger instanceof UQ.NoOpLogger?console:f.logger)==null||w.warn("An error was encountered in a non-retryable streaming request."),Z;try{X=await W.refreshRetryTokenForRetry(X,E)}catch(M){if(!Z.$metadata)Z.$metadata={};throw Z.$metadata.attempts=F+1,Z.$metadata.totalRetryDelay=Y,Z}F=X.getRetryCount();const V=X.getRetryDelay();Y+=V,await new Promise((M)=>setTimeout(M,V))}}else{if(W=W,W==null?void 0:W.mode)f.userAgent=[...f.userAgent||[],["cfg/retry-mode",W.mode]];return W.retry(U,G)}},"retryMiddleware"),wQ=S(($)=>typeof $.acquireInitialRetryToken!=="undefined"&&typeof $.refreshRetryTokenForRetry!=="undefined"&&typeof $.recordSuccess!=="undefined","isRetryStrategyV2"),GQ=S(($)=>{const U={error:$,errorType:WQ($)},f=DW($.$response);if(f)U.retryAfterHint=f;return U},"getRetryErrorInfo"),WQ=S(($)=>{if(G0.isThrottlingError($))return"THROTTLING";if(G0.isTransientError($))return"TRANSIENT";if(G0.isServerError($))return"SERVER_ERROR";return"CLIENT_ERROR"},"getRetryErrorType"),hW={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},LQ=S(($)=>({applyToStack:(U)=>{U.add(bW($),hW)}}),"getRetryPlugin"),DW=S(($)=>{if(!P0.HttpResponse.isInstance($))return;const U=Object.keys($.headers).find((W)=>W.toLowerCase()==="retry-after");if(!U)return;const f=$.headers[U],G=Number(f);if(!Number.isNaN(G))return new Date(G*1000);return new Date(f)},"getRetryAfterHint")});var YU=K((OJ,$4)=>{var uW=function($){const U=new Map;for(let f of $)U.set(f.schemeId,f);return U},oW=function($,U){return new tW($,U)},eW=function($,U,f,G,w){return C(async function*W(L,X,...Z){let F=L.startingToken||void 0,Y=!0,I;while(Y){if(X[f]=F,w)X[w]=X[w]??L.pageSize;if(L.client instanceof $)I=await SQ(U,L.client,X,...Z);else throw new Error(`Invalid client, expected instance of ${$.name}`);yield I;const z=F;F=bQ(I,G),Y=!!(F&&(!L.stopOnSameToken||F!==z))}return},"paginateOperation")},c1=Object.defineProperty,XQ=Object.getOwnPropertyDescriptor,ZQ=Object.getOwnPropertyNames,FQ=Object.prototype.hasOwnProperty,C=($,U)=>c1($,"name",{value:U,configurable:!0}),YQ=($,U)=>{for(var f in U)c1($,f,{get:U[f],enumerable:!0})},IQ=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of ZQ(U))if(!FQ.call($,w)&&w!==f)c1($,w,{get:()=>U[w],enumerable:!(G=XQ(U,w))||G.enumerable})}return $},QQ=($)=>IQ(c1({},"__esModule",{value:!0}),$),vW={};YQ(vW,{DefaultIdentityProviderConfig:()=>BQ,EXPIRATION_MS:()=>iW,HttpApiKeyAuthSigner:()=>AQ,HttpBearerAuthSigner:()=>OQ,NoAuthSigner:()=>HQ,RequestBuilder:()=>tW,createIsIdentityExpiredFunction:()=>mW,createPaginator:()=>eW,doesIdentityRequireRefresh:()=>rW,getHttpAuthSchemeEndpointRuleSetPlugin:()=>EQ,getHttpAuthSchemePlugin:()=>RQ,getHttpSigningPlugin:()=>VQ,getSmithyContext:()=>NQ,httpAuthSchemeEndpointRuleSetMiddlewareOptions:()=>yW,httpAuthSchemeMiddleware:()=>FU,httpAuthSchemeMiddlewareOptions:()=>_W,httpSigningMiddleware:()=>dW,httpSigningMiddlewareOptions:()=>pW,isIdentityExpired:()=>CQ,memoizeIdentityProvider:()=>qQ,normalizeProvider:()=>PQ,requestBuilder:()=>oW});$4.exports=QQ(vW);var xW=c0();C(uW,"convertHttpAuthSchemesToMap");var FU=C(($,U)=>(f,G)=>async(w)=>{var W;const L=$.httpAuthSchemeProvider(await U.httpAuthSchemeParametersProvider($,G,w.input)),X=uW($.httpAuthSchemes),Z=xW.getSmithyContext(G),F=[];for(let Y of L){const I=X.get(Y.schemeId);if(!I){F.push(`HttpAuthScheme \`${Y.schemeId}\` was not enabled for this service.`);continue}const z=I.identityProvider(await U.identityProviderConfigProvider($));if(!z){F.push(`HttpAuthScheme \`${Y.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:Q={},signingProperties:E={}}=((W=Y.propertiesExtractor)==null?void 0:W.call(Y,$,G))||{};Y.identityProperties=Object.assign(Y.identityProperties||{},Q),Y.signingProperties=Object.assign(Y.signingProperties||{},E),Z.selectedHttpAuthScheme={httpAuthOption:Y,identity:await z(Y.identityProperties),signer:I.signer};break}if(!Z.selectedHttpAuthScheme)throw new Error(F.join("\n"));return f(w)},"httpAuthSchemeMiddleware"),zQ=lf(),yW={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:zQ.endpointMiddlewareOptions.name},EQ=C(($,{httpAuthSchemeParametersProvider:U,identityProviderConfigProvider:f})=>({applyToStack:(G)=>{G.addRelativeTo(FU($,{httpAuthSchemeParametersProvider:U,identityProviderConfigProvider:f}),yW)}}),"getHttpAuthSchemeEndpointRuleSetPlugin"),JQ=B$(),_W={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:JQ.serializerMiddlewareOption.name},RQ=C(($,{httpAuthSchemeParametersProvider:U,identityProviderConfigProvider:f})=>({applyToStack:(G)=>{G.addRelativeTo(FU($,{httpAuthSchemeParametersProvider:U,identityProviderConfigProvider:f}),_W)}}),"getHttpAuthSchemePlugin"),v1=i(),MQ=C(($)=>(U)=>{throw U},"defaultErrorHandler"),KQ=C(($,U)=>{},"defaultSuccessHandler"),dW=C(($)=>(U,f)=>async(G)=>{if(!v1.HttpRequest.isInstance(G.request))return U(G);const W=xW.getSmithyContext(f).selectedHttpAuthScheme;if(!W)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:L={}},identity:X,signer:Z}=W,F=await U({...G,request:await Z.sign(G.request,X,L)}).catch((Z.errorHandler||MQ)(L));return(Z.successHandler||KQ)(F.response,L),F},"httpSigningMiddleware"),TQ=cW(),pW={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:TQ.retryMiddlewareOptions.name},VQ=C(($)=>({applyToStack:(U)=>{U.addRelativeTo(dW($),pW)}}),"getHttpSigningPlugin"),gW=class ${constructor(U){this.authSchemes=new Map;for(let[f,G]of Object.entries(U))if(G!==void 0)this.authSchemes.set(f,G)}getIdentityProvider(U){return this.authSchemes.get(U)}};C(gW,"DefaultIdentityProviderConfig");var BQ=gW,k1=Y0(),lW=class ${async sign(U,f,G){if(!G)throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!f.apiKey)throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");const w=v1.HttpRequest.clone(U);if(G.in===k1.HttpApiKeyAuthLocation.QUERY)w.query[G.name]=f.apiKey;else if(G.in===k1.HttpApiKeyAuthLocation.HEADER)w.headers[G.name]=G.scheme?`${G.scheme} ${f.apiKey}`:f.apiKey;else throw new Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return w}};C(lW,"HttpApiKeyAuthSigner");var AQ=lW,sW=class ${async sign(U,f,G){const w=v1.HttpRequest.clone(U);if(!f.token)throw new Error("request could not be signed with `token` since the `token` is not defined");return w.headers.Authorization=`Bearer ${f.token}`,w}};C(sW,"HttpBearerAuthSigner");var OQ=sW,nW=class ${async sign(U,f,G){return U}};C(nW,"NoAuthSigner");var HQ=nW,mW=C(($)=>(U)=>rW(U)&&U.expiration.getTime()-Date.now()<$,"createIsIdentityExpiredFunction"),iW=300000,CQ=mW(iW),rW=C(($)=>$.expiration!==void 0,"doesIdentityRequireRefresh"),qQ=C(($,U,f)=>{if($===void 0)return;const G=typeof $!=="function"?async()=>Promise.resolve($):$;let w,W,L,X=!1;const Z=C(async(F)=>{if(!W)W=G(F);try{w=await W,L=!0,X=!1}finally{W=void 0}return w},"coalesceProvider");if(U===void 0)return async(F)=>{if(!L||(F==null?void 0:F.forceRefresh))w=await Z(F);return w};return async(F)=>{if(!L||(F==null?void 0:F.forceRefresh))w=await Z(F);if(X)return w;if(!f(w))return X=!0,w;if(U(w))return await Z(F),w;return w}},"memoizeIdentityProvider"),NQ=C(($)=>$[k1.SMITHY_CONTEXT_KEY]||($[k1.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),PQ=C(($)=>{if(typeof $==="function")return $;const U=Promise.resolve($);return()=>U},"normalizeProvider"),jQ=N0();C(oW,"requestBuilder");var aW=class ${constructor(U,f){this.input=U,this.context=f,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){const{hostname:U,protocol:f="https",port:G,path:w}=await this.context.endpoint();this.path=w;for(let W of this.resolvePathStack)W(this.path);return new v1.HttpRequest({protocol:f,hostname:this.hostname||U,port:G,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((f)=>{this.path=`${(f==null?void 0:f.endsWith("/"))?f.slice(0,-1):f||""}`+U}),this}p(U,f,G,w){return this.resolvePathStack.push((W)=>{this.path=jQ.resolvedPath(W,this.input,U,f,G,w)}),this}h(U){return this.headers=U,this}q(U){return this.query=U,this}b(U){return this.body=U,this}m(U){return this.method=U,this}};C(aW,"RequestBuilder");var tW=aW,SQ=C(async($,U,f,...G)=>{return await U.send(new $(f),...G)},"makePagedClientRequest");C(eW,"createPaginator");var bQ=C(($,U)=>{let f=$;const G=U.split(".");for(let w of G){if(!f||typeof f!=="object")return;f=f[w]}return f},"get")});var M6=K((_V,$$)=>{var l4,s4,n4,m4,i4,r4,o4,a4,t4,e4,$6,U6,f6,t1,bU,w6,G6,W6,D0,L6,X6,Z6,F6,Y6,I6,Q6,z6,E6,e1,J6,R6;(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(G){$(f(U,f(G)))});else if(typeof $$==="object"&&typeof _V==="object")$(f(U,f(_V)));else $(f(U));function f(G,w){if(G!==U)if(typeof Object.create==="function")Object.defineProperty(G,"__esModule",{value:!0});else G.__esModule=!0;return function(W,L){return G[W]=w?w(W,L):L}}})(function($){var U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,W){w.__proto__=W}||function(w,W){for(var L in W)if(Object.prototype.hasOwnProperty.call(W,L))w[L]=W[L]};l4=function(w,W){if(typeof W!=="function"&&W!==null)throw new TypeError("Class extends value "+String(W)+" is not a constructor or null");U(w,W);function L(){this.constructor=w}w.prototype=W===null?Object.create(W):(L.prototype=W.prototype,new L)},s4=Object.assign||function(w){for(var W,L=1,X=arguments.length;L<X;L++){W=arguments[L];for(var Z in W)if(Object.prototype.hasOwnProperty.call(W,Z))w[Z]=W[Z]}return w},n4=function(w,W){var L={};for(var X in w)if(Object.prototype.hasOwnProperty.call(w,X)&&W.indexOf(X)<0)L[X]=w[X];if(w!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var Z=0,X=Object.getOwnPropertySymbols(w);Z<X.length;Z++)if(W.indexOf(X[Z])<0&&Object.prototype.propertyIsEnumerable.call(w,X[Z]))L[X[Z]]=w[X[Z]]}return L},m4=function(w,W,L,X){var Z=arguments.length,F=Z<3?W:X===null?X=Object.getOwnPropertyDescriptor(W,L):X,Y;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")F=Reflect.decorate(w,W,L,X);else for(var I=w.length-1;I>=0;I--)if(Y=w[I])F=(Z<3?Y(F):Z>3?Y(W,L,F):Y(W,L))||F;return Z>3&&F&&Object.defineProperty(W,L,F),F},i4=function(w,W){return function(L,X){W(L,X,w)}},r4=function(w,W,L,X,Z,F){function Y(O){if(O!==void 0&&typeof O!=="function")throw new TypeError("Function expected");return O}var I=X.kind,z=I==="getter"?"get":I==="setter"?"set":"value",Q=!W&&w?X.static?w:w.prototype:null,E=W||(Q?Object.getOwnPropertyDescriptor(Q,X.name):{}),V,M=!1;for(var J=L.length-1;J>=0;J--){var T={};for(var B in X)T[B]=B==="access"?{}:X[B];for(var B in X.access)T.access[B]=X.access[B];T.addInitializer=function(O){if(M)throw new TypeError("Cannot add initializers after decoration has completed");F.push(Y(O||null))};var A=L[J](I==="accessor"?{get:E.get,set:E.set}:E[z],T);if(I==="accessor"){if(A===void 0)continue;if(A===null||typeof A!=="object")throw new TypeError("Object expected");if(V=Y(A.get))E.get=V;if(V=Y(A.set))E.set=V;if(V=Y(A.init))Z.unshift(V)}else if(V=Y(A))if(I==="field")Z.unshift(V);else E[z]=V}if(Q)Object.defineProperty(Q,X.name,E);M=!0},o4=function(w,W,L){var X=arguments.length>2;for(var Z=0;Z<W.length;Z++)L=X?W[Z].call(w,L):W[Z].call(w);return X?L:void 0},a4=function(w){return typeof w==="symbol"?w:"".concat(w)},t4=function(w,W,L){if(typeof W==="symbol")W=W.description?"[".concat(W.description,"]"):"";return Object.defineProperty(w,"name",{configurable:!0,value:L?"".concat(L," ",W):W})},e4=function(w,W){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(w,W)},$6=function(w,W,L,X){function Z(F){return F instanceof L?F:new L(function(Y){Y(F)})}return new(L||(L=Promise))(function(F,Y){function I(E){try{Q(X.next(E))}catch(V){Y(V)}}function z(E){try{Q(X.throw(E))}catch(V){Y(V)}}function Q(E){E.done?F(E.value):Z(E.value).then(I,z)}Q((X=X.apply(w,W||[])).next())})},U6=function(w,W){var L={label:0,sent:function(){if(F[0]&1)throw F[1];return F[1]},trys:[],ops:[]},X,Z,F,Y;return Y={next:I(0),throw:I(1),return:I(2)},typeof Symbol==="function"&&(Y[Symbol.iterator]=function(){return this}),Y;function I(Q){return function(E){return z([Q,E])}}function z(Q){if(X)throw new TypeError("Generator is already executing.");while(Y&&(Y=0,Q[0]&&(L=0)),L)try{if(X=1,Z&&(F=Q[0]&2?Z.return:Q[0]?Z.throw||((F=Z.return)&&F.call(Z),0):Z.next)&&!(F=F.call(Z,Q[1])).done)return F;if(Z=0,F)Q=[Q[0]&2,F.value];switch(Q[0]){case 0:case 1:F=Q;break;case 4:return L.label++,{value:Q[1],done:!1};case 5:L.label++,Z=Q[1],Q=[0];continue;case 7:Q=L.ops.pop(),L.trys.pop();continue;default:if((F=L.trys,!(F=F.length>0&&F[F.length-1]))&&(Q[0]===6||Q[0]===2)){L=0;continue}if(Q[0]===3&&(!F||Q[1]>F[0]&&Q[1]<F[3])){L.label=Q[1];break}if(Q[0]===6&&L.label<F[1]){L.label=F[1],F=Q;break}if(F&&L.label<F[2]){L.label=F[2],L.ops.push(Q);break}if(F[2])L.ops.pop();L.trys.pop();continue}Q=W.call(w,L)}catch(E){Q=[6,E],Z=0}finally{X=F=0}if(Q[0]&5)throw Q[1];return{value:Q[0]?Q[1]:void 0,done:!0}}},f6=function(w,W){for(var L in w)if(L!=="default"&&!Object.prototype.hasOwnProperty.call(W,L))e1(W,w,L)},e1=Object.create?function(w,W,L,X){if(X===void 0)X=L;var Z=Object.getOwnPropertyDescriptor(W,L);if(!Z||("get"in Z?!W.__esModule:Z.writable||Z.configurable))Z={enumerable:!0,get:function(){return W[L]}};Object.defineProperty(w,X,Z)}:function(w,W,L,X){if(X===void 0)X=L;w[X]=W[L]},t1=function(w){var W=typeof Symbol==="function"&&Symbol.iterator,L=W&&w[W],X=0;if(L)return L.call(w);if(w&&typeof w.length==="number")return{next:function(){if(w&&X>=w.length)w=void 0;return{value:w&&w[X++],done:!w}}};throw new TypeError(W?"Object is not iterable.":"Symbol.iterator is not defined.")},bU=function(w,W){var L=typeof Symbol==="function"&&w[Symbol.iterator];if(!L)return w;var X=L.call(w),Z,F=[],Y;try{while((W===void 0||W-- >0)&&!(Z=X.next()).done)F.push(Z.value)}catch(I){Y={error:I}}finally{try{if(Z&&!Z.done&&(L=X.return))L.call(X)}finally{if(Y)throw Y.error}}return F},w6=function(){for(var w=[],W=0;W<arguments.length;W++)w=w.concat(bU(arguments[W]));return w},G6=function(){for(var w=0,W=0,L=arguments.length;W<L;W++)w+=arguments[W].length;for(var X=Array(w),Z=0,W=0;W<L;W++)for(var F=arguments[W],Y=0,I=F.length;Y<I;Y++,Z++)X[Z]=F[Y];return X},W6=function(w,W,L){if(L||arguments.length===2){for(var X=0,Z=W.length,F;X<Z;X++)if(F||!(X in W)){if(!F)F=Array.prototype.slice.call(W,0,X);F[X]=W[X]}}return w.concat(F||Array.prototype.slice.call(W))},D0=function(w){return this instanceof D0?(this.v=w,this):new D0(w)},L6=function(w,W,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var X=L.apply(w,W||[]),Z,F=[];return Z={},I("next"),I("throw"),I("return",Y),Z[Symbol.asyncIterator]=function(){return this},Z;function Y(J){return function(T){return Promise.resolve(T).then(J,V)}}function I(J,T){if(X[J]){if(Z[J]=function(B){return new Promise(function(A,O){F.push([J,B,A,O])>1||z(J,B)})},T)Z[J]=T(Z[J])}}function z(J,T){try{Q(X[J](T))}catch(B){M(F[0][3],B)}}function Q(J){J.value instanceof D0?Promise.resolve(J.value.v).then(E,V):M(F[0][2],J)}function E(J){z("next",J)}function V(J){z("throw",J)}function M(J,T){if(J(T),F.shift(),F.length)z(F[0][0],F[0][1])}},X6=function(w){var W,L;return W={},X("next"),X("throw",function(Z){throw Z}),X("return"),W[Symbol.iterator]=function(){return this},W;function X(Z,F){W[Z]=w[Z]?function(Y){return(L=!L)?{value:D0(w[Z](Y)),done:!1}:F?F(Y):Y}:F}},Z6=function(w){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var W=w[Symbol.asyncIterator],L;return W?W.call(w):(w=typeof t1==="function"?t1(w):w[Symbol.iterator](),L={},X("next"),X("throw"),X("return"),L[Symbol.asyncIterator]=function(){return this},L);function X(F){L[F]=w[F]&&function(Y){return new Promise(function(I,z){Y=w[F](Y),Z(I,z,Y.done,Y.value)})}}function Z(F,Y,I,z){Promise.resolve(z).then(function(Q){F({value:Q,done:I})},Y)}},F6=function(w,W){if(Object.defineProperty)Object.defineProperty(w,"raw",{value:W});else w.raw=W;return w};var f=Object.create?function(w,W){Object.defineProperty(w,"default",{enumerable:!0,value:W})}:function(w,W){w.default=W};Y6=function(w){if(w&&w.__esModule)return w;var W={};if(w!=null){for(var L in w)if(L!=="default"&&Object.prototype.hasOwnProperty.call(w,L))e1(W,w,L)}return f(W,w),W},I6=function(w){return w&&w.__esModule?w:{default:w}},Q6=function(w,W,L,X){if(L==="a"&&!X)throw new TypeError("Private accessor was defined without a getter");if(typeof W==="function"?w!==W||!X:!W.has(w))throw new TypeError("Cannot read private member from an object whose class did not declare it");return L==="m"?X:L==="a"?X.call(w):X?X.value:W.get(w)},z6=function(w,W,L,X,Z){if(X==="m")throw new TypeError("Private method is not writable");if(X==="a"&&!Z)throw new TypeError("Private accessor was defined without a setter");if(typeof W==="function"?w!==W||!Z:!W.has(w))throw new TypeError("Cannot write private member to an object whose class did not declare it");return X==="a"?Z.call(w,L):Z?Z.value=L:W.set(w,L),L},E6=function(w,W){if(W===null||typeof W!=="object"&&typeof W!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof w==="function"?W===w:w.has(W)},J6=function(w,W,L){if(W!==null&&W!==void 0){if(typeof W!=="object"&&typeof W!=="function")throw new TypeError("Object expected.");var X,Z;if(L){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");X=W[Symbol.asyncDispose]}if(X===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");if(X=W[Symbol.dispose],L)Z=X}if(typeof X!=="function")throw new TypeError("Object not disposable.");if(Z)X=function(){try{Z.call(this)}catch(F){return Promise.reject(F)}};w.stack.push({value:W,dispose:X,async:L})}else if(L)w.stack.push({async:!0});return W};var G=typeof SuppressedError==="function"?SuppressedError:function(w,W,L){var X=new Error(L);return X.name="SuppressedError",X.error=w,X.suppressed=W,X};R6=function(w){function W(X){w.error=w.hasError?new G(X,w.error,"An error was suppressed during disposal."):X,w.hasError=!0}function L(){while(w.stack.length){var X=w.stack.pop();try{var Z=X.dispose&&X.dispose.call(X.value);if(X.async)return Promise.resolve(Z).then(L,function(F){return W(F),L()})}catch(F){W(F)}}if(w.hasError)throw w.error}return L()},$("__extends",l4),$("__assign",s4),$("__rest",n4),$("__decorate",m4),$("__param",i4),$("__esDecorate",r4),$("__runInitializers",o4),$("__propKey",a4),$("__setFunctionName",t4),$("__metadata",e4),$("__awaiter",$6),$("__generator",U6),$("__exportStar",f6),$("__createBinding",e1),$("__values",t1),$("__read",bU),$("__spread",w6),$("__spreadArrays",G6),$("__spreadArray",W6),$("__await",D0),$("__asyncGenerator",L6),$("__asyncDelegator",X6),$("__asyncValues",Z6),$("__makeTemplateObject",F6),$("__importStar",Y6),$("__importDefault",I6),$("__classPrivateFieldGet",Q6),$("__classPrivateFieldSet",z6),$("__classPrivateFieldIn",E6),$("__addDisposableResource",J6),$("__disposeResources",R6)})});var B6=K((dV,V6)=>{var{defineProperty:U$,getOwnPropertyDescriptor:I9,getOwnPropertyNames:Q9}=Object,z9=Object.prototype.hasOwnProperty,E9=($,U)=>U$($,"name",{value:U,configurable:!0}),J9=($,U)=>{for(var f in U)U$($,f,{get:U[f],enumerable:!0})},R9=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of Q9(U))if(!z9.call($,w)&&w!==f)U$($,w,{get:()=>U[w],enumerable:!(G=I9(U,w))||G.enumerable})}return $},M9=($)=>R9(U$({},"__esModule",{value:!0}),$),T6={};J9(T6,{emitWarningIfUnsupportedVersion:()=>K9});V6.exports=M9(T6);var K6=!1,K9=E9(($)=>{if($&&!K6&&parseInt($.substring(1,$.indexOf(".")))<18)K6=!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 d6=K((pV,_6)=>{var vU=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,T9=Object.getOwnPropertyDescriptor,V9=Object.getOwnPropertyNames,B9=Object.prototype.hasOwnProperty,b=($,U)=>L$($,"name",{value:U,configurable:!0}),A9=($,U)=>{for(var f in U)L$($,f,{get:U[f],enumerable:!0})},O9=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of V9(U))if(!B9.call($,w)&&w!==f)L$($,w,{get:()=>U[w],enumerable:!(G=T9(U,w))||G.enumerable})}return $},H9=($)=>O9(L$({},"__esModule",{value:!0}),$),q6={};A9(q6,{SignatureV4:()=>o9,clearCredentialCache:()=>d9,createScope:()=>G$,getCanonicalHeaders:()=>cU,getCanonicalQuery:()=>k6,getPayloadHash:()=>W$,getSigningKey:()=>D6,moveHeadersToQuery:()=>u6,prepareRequest:()=>xU});_6.exports=H9(q6);var A6=c0(),hU=w0(),C9="X-Amz-Algorithm",q9="X-Amz-Credential",N6="X-Amz-Date",N9="X-Amz-SignedHeaders",P9="X-Amz-Expires",P6="X-Amz-Signature",j6="X-Amz-Security-Token",S6="authorization",b6=N6.toLowerCase(),j9="date",S9=[S6,b6,j9],b9=P6.toLowerCase(),kU="x-amz-content-sha256",h9=j6.toLowerCase(),D9={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},k9=/^proxy-/,c9=/^sec-/,DU="AWS4-HMAC-SHA256",v9="AWS4-HMAC-SHA256-PAYLOAD",x9="UNSIGNED-PAYLOAD",u9=50,h6="aws4_request",y9=604800,X0=K8(),_9=w0(),k0={},w$=[],G$=b(($,U,f)=>`${$}/${U}/${f}/${h6}`,"createScope"),D6=b(async($,U,f,G,w)=>{const W=await O6($,U.secretAccessKey,U.accessKeyId),L=`${f}:${G}:${w}:${X0.toHex(W)}:${U.sessionToken}`;if(L in k0)return k0[L];w$.push(L);while(w$.length>u9)delete k0[w$.shift()];let X=`AWS4${U.secretAccessKey}`;for(let Z of[f,G,w,h6])X=await O6($,X,Z);return k0[L]=X},"getSigningKey"),d9=b(()=>{w$.length=0,Object.keys(k0).forEach(($)=>{delete k0[$]})},"clearCredentialCache"),O6=b(($,U,f)=>{const G=new $(U);return G.update(_9.toUint8Array(f)),G.digest()},"hmac"),cU=b(({headers:$},U,f)=>{const G={};for(let w of Object.keys($).sort()){if($[w]==null)continue;const W=w.toLowerCase();if(W in D9||(U==null?void 0:U.has(W))||k9.test(W)||c9.test(W)){if(!f||f&&!f.has(W))continue}G[W]=$[w].trim().replace(/\s+/g," ")}return G},"getCanonicalHeaders"),U1=xG(),k6=b(({query:$={}})=>{const U=[],f={};for(let G of Object.keys($).sort()){if(G.toLowerCase()===b9)continue;U.push(G);const w=$[G];if(typeof w==="string")f[G]=`${U1.escapeUri(G)}=${U1.escapeUri(w)}`;else if(Array.isArray(w))f[G]=w.slice(0).reduce((W,L)=>W.concat([`${U1.escapeUri(G)}=${U1.escapeUri(L)}`]),[]).sort().join("&")}return U.map((G)=>f[G]).filter((G)=>G).join("&")},"getCanonicalQuery"),p9=c$(),g9=w0(),W$=b(async({headers:$,body:U},f)=>{for(let G of Object.keys($))if(G.toLowerCase()===kU)return $[G];if(U==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof U==="string"||ArrayBuffer.isView(U)||p9.isArrayBuffer(U)){const G=new f;return G.update(g9.toUint8Array(U)),X0.toHex(await G.digest())}return x9},"getPayloadHash"),H6=w0(),c6=class ${format(U){const f=[];for(let W of Object.keys(U)){const L=H6.fromUtf8(W);f.push(Uint8Array.from([L.byteLength]),L,this.formatHeaderValue(U[W]))}const G=new Uint8Array(f.reduce((W,L)=>W+L.byteLength,0));let w=0;for(let W of f)G.set(W,w),w+=W.byteLength;return G}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 f=new DataView(new ArrayBuffer(3));return f.setUint8(0,3),f.setInt16(1,U.value,!1),new Uint8Array(f.buffer);case"integer":const G=new DataView(new ArrayBuffer(5));return G.setUint8(0,4),G.setInt32(1,U.value,!1),new Uint8Array(G.buffer);case"long":const w=new Uint8Array(9);return w[0]=5,w.set(U.value.bytes,1),w;case"binary":const W=new DataView(new ArrayBuffer(3+U.value.byteLength));W.setUint8(0,6),W.setUint16(1,U.value.byteLength,!1);const L=new Uint8Array(W.buffer);return L.set(U.value,3),L;case"string":const X=H6.fromUtf8(U.value),Z=new DataView(new ArrayBuffer(3+X.byteLength));Z.setUint8(0,7),Z.setUint16(1,X.byteLength,!1);const F=new Uint8Array(Z.buffer);return F.set(X,3),F;case"timestamp":const Y=new Uint8Array(9);return Y[0]=8,Y.set(n9.fromNumber(U.value.valueOf()).bytes,1),Y;case"uuid":if(!s9.test(U.value))throw new Error(`Invalid UUID received: ${U.value}`);const I=new Uint8Array(17);return I[0]=9,I.set(X0.fromHex(U.value.replace(/\-/g,"")),1),I}}};b(c6,"HeaderFormatter");var l9=c6,s9=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,v6=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 f=new Uint8Array(8);for(let G=7,w=Math.abs(Math.round(U));G>-1&&w>0;G--,w/=256)f[G]=w;if(U<0)vU(f);return new $(f)}valueOf(){const U=this.bytes.slice(0),f=U[0]&128;if(f)vU(U);return parseInt(X0.toHex(U),16)*(f?-1:1)}toString(){return String(this.valueOf())}};b(v6,"Int64");var n9=v6;b(vU,"negate");var m9=b(($,U)=>{$=$.toLowerCase();for(let f of Object.keys(U))if($===f.toLowerCase())return!0;return!1},"hasHeader"),x6=i(),u6=b(($,U={})=>{var f;const{headers:G,query:w={}}=x6.HttpRequest.clone($);for(let W of Object.keys(G)){const L=W.toLowerCase();if(L.slice(0,6)==="x-amz-"&&!((f=U.unhoistableHeaders)==null?void 0:f.has(L)))w[W]=G[W],delete G[W]}return{...$,headers:G,query:w}},"moveHeadersToQuery"),xU=b(($)=>{$=x6.HttpRequest.clone($);for(let U of Object.keys($.headers))if(S9.indexOf(U.toLowerCase())>-1)delete $.headers[U];return $},"prepareRequest"),i9=b(($)=>r9($).toISOString().replace(/\.\d{3}Z$/,"Z"),"iso8601"),r9=b(($)=>{if(typeof $==="number")return new Date($*1000);if(typeof $==="string"){if(Number($))return new Date(Number($)*1000);return new Date($)}return $},"toDate"),y6=class ${constructor({applyChecksum:U,credentials:f,region:G,service:w,sha256:W,uriEscapePath:L=!0}){this.headerFormatter=new l9,this.service=w,this.sha256=W,this.uriEscapePath=L,this.applyChecksum=typeof U==="boolean"?U:!0,this.regionProvider=A6.normalizeProvider(G),this.credentialProvider=A6.normalizeProvider(f)}async presign(U,f={}){const{signingDate:G=new Date,expiresIn:w=3600,unsignableHeaders:W,unhoistableHeaders:L,signableHeaders:X,signingRegion:Z,signingService:F}=f,Y=await this.credentialProvider();this.validateResolvedCredentials(Y);const I=Z??await this.regionProvider(),{longDate:z,shortDate:Q}=f$(G);if(w>y9)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const E=G$(Q,I,F??this.service),V=u6(xU(U),{unhoistableHeaders:L});if(Y.sessionToken)V.query[j6]=Y.sessionToken;V.query[C9]=DU,V.query[q9]=`${Y.accessKeyId}/${E}`,V.query[N6]=z,V.query[P9]=w.toString(10);const M=cU(V,W,X);return V.query[N9]=C6(M),V.query[P6]=await this.getSignature(z,E,this.getSigningKey(Y,I,Q,F),this.createCanonicalRequest(V,M,await W$(U,this.sha256))),V}async sign(U,f){if(typeof U==="string")return this.signString(U,f);else if(U.headers&&U.payload)return this.signEvent(U,f);else if(U.message)return this.signMessage(U,f);else return this.signRequest(U,f)}async signEvent({headers:U,payload:f},{signingDate:G=new Date,priorSignature:w,signingRegion:W,signingService:L}){const X=W??await this.regionProvider(),{shortDate:Z,longDate:F}=f$(G),Y=G$(Z,X,L??this.service),I=await W$({headers:{},body:f},this.sha256),z=new this.sha256;z.update(U);const Q=X0.toHex(await z.digest()),E=[v9,F,Y,w,Q,I].join("\n");return this.signString(E,{signingDate:G,signingRegion:X,signingService:L})}async signMessage(U,{signingDate:f=new Date,signingRegion:G,signingService:w}){return this.signEvent({headers:this.headerFormatter.format(U.message.headers),payload:U.message.body},{signingDate:f,signingRegion:G,signingService:w,priorSignature:U.priorSignature}).then((L)=>{return{message:U.message,signature:L}})}async signString(U,{signingDate:f=new Date,signingRegion:G,signingService:w}={}){const W=await this.credentialProvider();this.validateResolvedCredentials(W);const L=G??await this.regionProvider(),{shortDate:X}=f$(f),Z=new this.sha256(await this.getSigningKey(W,L,X,w));return Z.update(hU.toUint8Array(U)),X0.toHex(await Z.digest())}async signRequest(U,{signingDate:f=new Date,signableHeaders:G,unsignableHeaders:w,signingRegion:W,signingService:L}={}){const X=await this.credentialProvider();this.validateResolvedCredentials(X);const Z=W??await this.regionProvider(),F=xU(U),{longDate:Y,shortDate:I}=f$(f),z=G$(I,Z,L??this.service);if(F.headers[b6]=Y,X.sessionToken)F.headers[h9]=X.sessionToken;const Q=await W$(F,this.sha256);if(!m9(kU,F.headers)&&this.applyChecksum)F.headers[kU]=Q;const E=cU(F,w,G),V=await this.getSignature(Y,z,this.getSigningKey(X,Z,I,L),this.createCanonicalRequest(F,E,Q));return F.headers[S6]=`${DU} Credential=${X.accessKeyId}/${z}, SignedHeaders=${C6(E)}, Signature=${V}`,F}createCanonicalRequest(U,f,G){const w=Object.keys(f).sort();return`${U.method}
|
|
10
|
-
${this.getCanonicalPath(U)}
|
|
11
|
-
${k6(U)}
|
|
12
|
-
${w.map((W)=>`${W}:${f[W]}`).join("\n")}
|
|
13
|
-
|
|
14
|
-
${w.join(";")}
|
|
15
|
-
${G}`}async createStringToSign(U,f,G){const w=new this.sha256;w.update(hU.toUint8Array(G));const W=await w.digest();return`${DU}
|
|
16
|
-
${U}
|
|
17
|
-
${f}
|
|
18
|
-
${X0.toHex(W)}`}getCanonicalPath({path:U}){if(this.uriEscapePath){const f=[];for(let W of U.split("/")){if((W==null?void 0:W.length)===0)continue;if(W===".")continue;if(W==="..")f.pop();else f.push(W)}const G=`${(U==null?void 0:U.startsWith("/"))?"/":""}${f.join("/")}${f.length>0&&(U==null?void 0:U.endsWith("/"))?"/":""}`;return U1.escapeUri(G).replace(/%2F/g,"/")}return U}async getSignature(U,f,G,w){const W=await this.createStringToSign(U,f,w),L=new this.sha256(await G);return L.update(hU.toUint8Array(W)),X0.toHex(await L.digest())}getSigningKey(U,f,G,w){return D6(this.sha256,U,G,f,w||this.service)}validateResolvedCredentials(U){if(typeof U!=="object"||typeof U.accessKeyId!=="string"||typeof U.secretAccessKey!=="string")throw new Error("Resolved credential object is not valid")}};b(y6,"SignatureV4");var o9=y6,f$=b(($)=>{const U=i9($).replace(/[\-:]/g,"");return{longDate:U,shortDate:U.slice(0,8)}},"formatDate"),C6=b(($)=>Object.keys($).sort().join(";"),"getCanonicalHeaderList")});var a6=K((gV,o6)=>{var{defineProperty:X$,getOwnPropertyDescriptor:a9,getOwnPropertyNames:t9}=Object,e9=Object.prototype.hasOwnProperty,k=($,U)=>X$($,"name",{value:U,configurable:!0}),$7=($,U)=>{for(var f in U)X$($,f,{get:U[f],enumerable:!0})},U7=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of t9(U))if(!e9.call($,w)&&w!==f)X$($,w,{get:()=>U[w],enumerable:!(G=a9(U,w))||G.enumerable})}return $},f7=($)=>U7(X$({},"__esModule",{value:!0}),$),n6={};$7(n6,{AWSSDKSigV4Signer:()=>L7,AwsSdkSigV4ASigner:()=>Z7,AwsSdkSigV4Signer:()=>_U,NODE_SIGV4A_CONFIG_OPTIONS:()=>I7,resolveAWSSDKSigV4Config:()=>Q7,resolveAwsSdkSigV4AConfig:()=>Y7,resolveAwsSdkSigV4Config:()=>r6,validateSigningProperties:()=>yU});o6.exports=f7(n6);var w7=i(),G7=i(),p6=k(($)=>{var U,f;return G7.HttpResponse.isInstance($)?((U=$.headers)==null?void 0:U.date)??((f=$.headers)==null?void 0:f.Date):void 0},"getDateHeader"),uU=k(($)=>new Date(Date.now()+$),"getSkewCorrectedDate"),W7=k(($,U)=>Math.abs(uU(U).getTime()-$)>=300000,"isClockSkewed"),g6=k(($,U)=>{const f=Date.parse($);if(W7(f,U))return f-Date.now();return U},"getUpdatedSystemClockOffset"),f1=k(($,U)=>{if(!U)throw new Error(`Property \`${$}\` is not resolved for AWS SDK SigV4Auth`);return U},"throwSigningPropertyError"),yU=k(async($)=>{var U,f,G;const w=f1("context",$.context),W=f1("config",$.config),L=(G=(f=(U=w.endpointV2)==null?void 0:U.properties)==null?void 0:f.authSchemes)==null?void 0:G[0],Z=await f1("signer",W.signer)(L),F=$==null?void 0:$.signingRegion,Y=$==null?void 0:$.signingRegionSet,I=$==null?void 0:$.signingName;return{config:W,signer:Z,signingRegion:F,signingRegionSet:Y,signingName:I}},"validateSigningProperties"),m6=class ${async sign(U,f,G){var w;if(!w7.HttpRequest.isInstance(U))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const W=await yU(G),{config:L,signer:X}=W;let{signingRegion:Z,signingName:F}=W;const Y=G.context;if(((w=Y==null?void 0:Y.authSchemes)==null?void 0:w.length)??0>1){const[z,Q]=Y.authSchemes;if((z==null?void 0:z.name)==="sigv4a"&&(Q==null?void 0:Q.name)==="sigv4")Z=(Q==null?void 0:Q.signingRegion)??Z,F=(Q==null?void 0:Q.signingName)??F}return await X.sign(U,{signingDate:uU(L.systemClockOffset),signingRegion:Z,signingService:F})}errorHandler(U){return(f)=>{const G=f.ServerTime??p6(f.$response);if(G){const w=f1("config",U.config),W=w.systemClockOffset;if(w.systemClockOffset=g6(G,w.systemClockOffset),w.systemClockOffset!==W&&f.$metadata)f.$metadata.clockSkewCorrected=!0}throw f}}successHandler(U,f){const G=p6(U);if(G){const w=f1("config",f.config);w.systemClockOffset=g6(G,w.systemClockOffset)}}};k(m6,"AwsSdkSigV4Signer");var _U=m6,L7=_U,X7=i(),i6=class $ extends _U{async sign(U,f,G){var w;if(!X7.HttpRequest.isInstance(U))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const{config:W,signer:L,signingRegion:X,signingRegionSet:Z,signingName:F}=await yU(G),I=(await((w=W.sigv4aSigningRegionSet)==null?void 0:w.call(W))??Z??[X]).join(",");return await L.sign(U,{signingDate:uU(W.systemClockOffset),signingRegion:I,signingService:F})}};k(i6,"AwsSdkSigV4ASigner");var Z7=i6,F7=YU(),l6=K$(),Y7=k(($)=>{return $.sigv4aSigningRegionSet=F7.normalizeProvider($.sigv4aSigningRegionSet),$},"resolveAwsSdkSigV4AConfig"),I7={environmentVariableSelector($){if($.AWS_SIGV4A_SIGNING_REGION_SET)return $.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((U)=>U.trim());throw new l6.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 l6.ProviderError("sigv4a_signing_region_set not set in profile.",{tryNextLink:!0})},default:void 0},T0=YU(),s6=d6(),r6=k(($)=>{let U;if($.credentials)U=T0.memoizeIdentityProvider($.credentials,T0.isIdentityExpired,T0.doesIdentityRequireRefresh);if(!U)if($.credentialDefaultProvider)U=T0.normalizeProvider($.credentialDefaultProvider(Object.assign({},$,{parentClientConfig:$})));else U=k(async()=>{throw new Error("`credentials` is missing")},"normalizedCreds");const{signingEscapePath:f=!0,systemClockOffset:G=$.systemClockOffset||0,sha256:w}=$;let W;if($.signer)W=T0.normalizeProvider($.signer);else if($.regionInfoProvider)W=k(()=>T0.normalizeProvider($.region)().then(async(L)=>[await $.regionInfoProvider(L,{useFipsEndpoint:await $.useFipsEndpoint(),useDualstackEndpoint:await $.useDualstackEndpoint()})||{},L]).then(([L,X])=>{const{signingRegion:Z,signingService:F}=L;$.signingRegion=$.signingRegion||Z||X,$.signingName=$.signingName||F||$.serviceId;const Y={...$,credentials:U,region:$.signingRegion,service:$.signingName,sha256:w,uriEscapePath:f};return new($.signerConstructor||s6.SignatureV4)(Y)}),"signer");else W=k(async(L)=>{L=Object.assign({},{name:"sigv4",signingName:$.signingName||$.defaultSigningName,signingRegion:await T0.normalizeProvider($.region)(),properties:{}},L);const{signingRegion:X,signingName:Z}=L;$.signingRegion=$.signingRegion||X,$.signingName=$.signingName||Z||$.serviceId;const F={...$,credentials:U,region:$.signingRegion,service:$.signingName,sha256:w,uriEscapePath:f};return new($.signerConstructor||s6.SignatureV4)(F)},"signer");return{...$,systemClockOffset:G,signingEscapePath:f,credentials:U,signer:W}},"resolveAwsSdkSigV4Config"),Q7=r6});var Z$=K((M7)=>{var z7=":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",t6="[: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]["+z7+"]*",E7=new RegExp("^"+t6+"$"),J7=function($,U){const f=[];let G=U.exec($);while(G){const w=[];w.startIndex=U.lastIndex-G[0].length;const W=G.length;for(let L=0;L<W;L++)w.push(G[L]);f.push(w),G=U.exec($)}return f},R7=function($){const U=E7.exec($);return!(U===null||typeof U==="undefined")};M7.isExist=function($){return typeof $!=="undefined"};M7.isEmptyObject=function($){return Object.keys($).length===0};M7.merge=function($,U,f){if(U){const G=Object.keys(U),w=G.length;for(let W=0;W<w;W++)if(f==="strict")$[G[W]]=[U[G[W]]];else $[G[W]]=U[G[W]]}};M7.getValue=function($){if(M7.isExist($))return $;else return""};M7.isName=R7;M7.getAllMatches=J7;M7.nameRegexp=t6});var pU=K((D7)=>{var $L=function($){return $===" "||$==="\t"||$==="\n"||$==="\r"},UL=function($,U){const f=U;for(;U<$.length;U++)if($[U]=="?"||$[U]==" "){const G=$.substr(f,U-f);if(U>5&&G==="xml")return j("InvalidXml","XML declaration allowed only at the start of the document.",D($,U));else if($[U]=="?"&&$[U+1]==">"){U++;break}else continue}return U},fL=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 f=1;for(U+=8;U<$.length;U++)if($[U]==="<")f++;else if($[U]===">"){if(f--,f===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},N7=function($,U){let f="",G="",w=!1;for(;U<$.length;U++){if($[U]===C7||$[U]===q7)if(G==="")G=$[U];else if(G!==$[U]);else G="";else if($[U]===">"){if(G===""){w=!0;break}}f+=$[U]}if(G!=="")return!1;return{value:f,index:U,tagClosed:w}},wL=function($,U){const f=dU.getAllMatches($,P7),G={};for(let w=0;w<f.length;w++){if(f[w][1].length===0)return j("InvalidAttr","Attribute '"+f[w][2]+"' has no space in starting.",w1(f[w]));else if(f[w][3]!==void 0&&f[w][4]===void 0)return j("InvalidAttr","Attribute '"+f[w][2]+"' is without value.",w1(f[w]));else if(f[w][3]===void 0&&!U.allowBooleanAttributes)return j("InvalidAttr","boolean attribute '"+f[w][2]+"' is not allowed.",w1(f[w]));const W=f[w][2];if(!b7(W))return j("InvalidAttr","Attribute '"+W+"' is an invalid name.",w1(f[w]));if(!G.hasOwnProperty(W))G[W]=1;else return j("InvalidAttr","Attribute '"+W+"' is repeated.",w1(f[w]))}return!0},j7=function($,U){let f=/\d/;if($[U]==="x")U++,f=/[\da-fA-F]/;for(;U<$.length;U++){if($[U]===";")return U;if(!$[U].match(f))break}return-1},S7=function($,U){if(U++,$[U]===";")return-1;if($[U]==="#")return U++,j7($,U);let f=0;for(;U<$.length;U++,f++){if($[U].match(/\w/)&&f<20)continue;if($[U]===";")break;return-1}return U},j=function($,U,f){return{err:{code:$,msg:U,line:f.line||f,col:f.col}}},b7=function($){return dU.isName($)},h7=function($){return dU.isName($)},D=function($,U){const f=$.substring(0,U).split(/\r?\n/);return{line:f.length,col:f[f.length-1].length+1}},w1=function($){return $.startIndex+$[1].length},dU=Z$(),H7={allowBooleanAttributes:!1,unpairedTags:[]};D7.validate=function($,U){U=Object.assign({},H7,U);const f=[];let G=!1,w=!1;if($[0]==="\uFEFF")$=$.substr(1);for(let W=0;W<$.length;W++)if($[W]==="<"&&$[W+1]==="?"){if(W+=2,W=UL($,W),W.err)return W}else if($[W]==="<"){let L=W;if(W++,$[W]==="!"){W=fL($,W);continue}else{let X=!1;if($[W]==="/")X=!0,W++;let Z="";for(;W<$.length&&$[W]!==">"&&$[W]!==" "&&$[W]!=="\t"&&$[W]!=="\n"&&$[W]!=="\r";W++)Z+=$[W];if(Z=Z.trim(),Z[Z.length-1]==="/")Z=Z.substring(0,Z.length-1),W--;if(!h7(Z)){let I;if(Z.trim().length===0)I="Invalid space after '<'.";else I="Tag '"+Z+"' is an invalid name.";return j("InvalidTag",I,D($,W))}const F=N7($,W);if(F===!1)return j("InvalidAttr","Attributes for '"+Z+"' have open quote.",D($,W));let Y=F.value;if(W=F.index,Y[Y.length-1]==="/"){const I=W-Y.length;Y=Y.substring(0,Y.length-1);const z=wL(Y,U);if(z===!0)G=!0;else return j(z.err.code,z.err.msg,D($,I+z.err.line))}else if(X)if(!F.tagClosed)return j("InvalidTag","Closing tag '"+Z+"' doesn't have proper closing.",D($,W));else if(Y.trim().length>0)return j("InvalidTag","Closing tag '"+Z+"' can't have attributes or invalid starting.",D($,L));else if(f.length===0)return j("InvalidTag","Closing tag '"+Z+"' has not been opened.",D($,L));else{const I=f.pop();if(Z!==I.tagName){let z=D($,I.tagStartPos);return j("InvalidTag","Expected closing tag '"+I.tagName+"' (opened in line "+z.line+", col "+z.col+") instead of closing tag '"+Z+"'.",D($,L))}if(f.length==0)w=!0}else{const I=wL(Y,U);if(I!==!0)return j(I.err.code,I.err.msg,D($,W-Y.length+I.err.line));if(w===!0)return j("InvalidXml","Multiple possible root nodes found.",D($,W));else if(U.unpairedTags.indexOf(Z)!==-1);else f.push({tagName:Z,tagStartPos:L});G=!0}for(W++;W<$.length;W++)if($[W]==="<")if($[W+1]==="!"){W++,W=fL($,W);continue}else if($[W+1]==="?"){if(W=UL($,++W),W.err)return W}else break;else if($[W]==="&"){const I=S7($,W);if(I==-1)return j("InvalidChar","char '&' is not expected.",D($,W));W=I}else if(w===!0&&!$L($[W]))return j("InvalidXml","Extra text at the end",D($,W));if($[W]==="<")W--}}else{if($L($[W]))continue;return j("InvalidChar","char '"+$[W]+"' is not expected.",D($,W))}if(!G)return j("InvalidXml","Start tag expected.",1);else if(f.length==1)return j("InvalidTag","Unclosed tag '"+f[0].tagName+"'.",D($,f[0].tagStartPos));else if(f.length>0)return j("InvalidXml","Invalid '"+JSON.stringify(f.map((W)=>W.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1});return!0};var C7='"',q7="'",P7=new RegExp('(\\s*)([^\\s=]+)(\\s*=)?(\\s*([\'"])(([\\s\\S])*?)\\5)?',"g")});var WL=K((v7)=>{var GL={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,f){return $}},c7=function($){return Object.assign({},GL,$)};v7.buildOptions=c7;v7.defaultOptions=GL});var ZL=K((mV,XL)=>{class LL{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})}}XL.exports=LL});var YL=K((iV,FL)=>{var _7=function($,U){const f={};if($[U+3]==="O"&&$[U+4]==="C"&&$[U+5]==="T"&&$[U+6]==="Y"&&$[U+7]==="P"&&$[U+8]==="E"){U=U+9;let G=1,w=!1,W=!1,L="";for(;U<$.length;U++)if($[U]==="<"&&!W){if(w&&g7($,U)){if(U+=7,[entityName,val,U]=d7($,U+1),val.indexOf("&")===-1)f[m7(entityName)]={regx:RegExp(`&${entityName};`,"g"),val}}else if(w&&l7($,U))U+=8;else if(w&&s7($,U))U+=8;else if(w&&n7($,U))U+=9;else if(p7)W=!0;else throw new Error("Invalid DOCTYPE");G++,L=""}else if($[U]===">"){if(W){if($[U-1]==="-"&&$[U-2]==="-")W=!1,G--}else G--;if(G===0)break}else if($[U]==="[")w=!0;else L+=$[U];if(G!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:f,i:U}},d7=function($,U){let f="";for(;U<$.length&&($[U]!=="'"&&$[U]!=='"');U++)f+=$[U];if(f=f.trim(),f.indexOf(" ")!==-1)throw new Error("External entites are not supported");const G=$[U++];let w="";for(;U<$.length&&$[U]!==G;U++)w+=$[U];return[f,w,U]},p7=function($,U){if($[U+1]==="!"&&$[U+2]==="-"&&$[U+3]==="-")return!0;return!1},g7=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},l7=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},s7=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},n7=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},m7=function($){if(y7.isName($))return $;else throw new Error(`Invalid entity name ${$}`)},y7=Z$();FL.exports=_7});var QL=K((rV,IL)=>{var a7=function($,U={}){if(U=Object.assign({},o7,U),!$||typeof $!=="string")return $;let f=$.trim();if(U.skipLike!==void 0&&U.skipLike.test(f))return $;else if(U.hex&&i7.test(f))return Number.parseInt(f,16);else{const G=r7.exec(f);if(G){const w=G[1],W=G[2];let L=t7(G[3]);const X=G[4]||G[6];if(!U.leadingZeros&&W.length>0&&w&&f[2]!==".")return $;else if(!U.leadingZeros&&W.length>0&&!w&&f[1]!==".")return $;else{const Z=Number(f),F=""+Z;if(F.search(/[eE]/)!==-1)if(U.eNotation)return Z;else return $;else if(X)if(U.eNotation)return Z;else return $;else if(f.indexOf(".")!==-1)if(F==="0"&&L==="")return Z;else if(F===L)return Z;else if(w&&F==="-"+L)return Z;else return $;if(W)if(L===F)return Z;else if(w+L===F)return Z;else return $;if(f===F)return Z;else if(f===w+F)return Z;return $}}else return $}},t7=function($){if($&&$.indexOf(".")!==-1){if($=$.replace(/0+$/,""),$===".")$="0";else if($[0]===".")$="0"+$;else if($[$.length-1]===".")$=$.substr(0,$.length-1);return $}return $},i7=/^[-+]?0x[a-fA-F0-9]+$/,r7=/^([\-\+])?(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 o7={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};IL.exports=a7});var RL=K((oV,JL)=>{var Uz=function($){const U=Object.keys($);for(let f=0;f<U.length;f++){const G=U[f];this.lastEntities[G]={regex:new RegExp("&"+G+";","g"),val:$[G]}}},fz=function($,U,f,G,w,W,L){if($!==void 0){if(this.options.trimValues&&!G)$=$.trim();if($.length>0){if(!L)$=this.replaceEntitiesValue($);const X=this.options.tagValueProcessor(U,$,f,w,W);if(X===null||X===void 0)return $;else if(typeof X!==typeof $||X!==$)return X;else if(this.options.trimValues)return lU($,this.options.parseTagValue,this.options.numberParseOptions);else if($.trim()===$)return lU($,this.options.parseTagValue,this.options.numberParseOptions);else return $}}},wz=function($){if(this.options.removeNSPrefix){const U=$.split(":"),f=$.charAt(0)==="/"?"/":"";if(U[0]==="xmlns")return"";if(U.length===2)$=f+U[1]}return $},Wz=function($,U,f){if(!this.options.ignoreAttributes&&typeof $==="string"){const G=zL.getAllMatches($,Gz),w=G.length,W={};for(let L=0;L<w;L++){const X=this.resolveNameSpace(G[L][1]);let Z=G[L][4],F=this.options.attributeNamePrefix+X;if(X.length){if(this.options.transformAttributeName)F=this.options.transformAttributeName(F);if(F==="__proto__")F="#__proto__";if(Z!==void 0){if(this.options.trimValues)Z=Z.trim();Z=this.replaceEntitiesValue(Z);const Y=this.options.attributeValueProcessor(X,Z,U);if(Y===null||Y===void 0)W[F]=Z;else if(typeof Y!==typeof Z||Y!==Z)W[F]=Y;else W[F]=lU(Z,this.options.parseAttributeValue,this.options.numberParseOptions)}else if(this.options.allowBooleanAttributes)W[F]=!0}}if(!Object.keys(W).length)return;if(this.options.attributesGroupName){const L={};return L[this.options.attributesGroupName]=W,L}return W}},Xz=function($,U,f){const G=this.options.updateTag(U.tagname,f,U[":@"]);if(G===!1);else if(typeof G==="string")U.tagname=G,$.addChild(U);else $.addChild(U)},Fz=function($,U,f,G){if($){if(G===void 0)G=Object.keys(U.child).length===0;if($=this.parseTextData($,U.tagname,f,!1,U[":@"]?Object.keys(U[":@"]).length!==0:!1,G),$!==void 0&&$!=="")U.add(this.options.textNodeName,$);$=""}return $},Yz=function($,U,f){const G="*."+f;for(let w in $){const W=$[w];if(G===W||U===W)return!0}return!1},Iz=function($,U,f=">"){let G,w="";for(let W=U;W<$.length;W++){let L=$[W];if(G){if(L===G)G=""}else if(L==='"'||L==="'")G=L;else if(L===f[0])if(f[1]){if($[W+1]===f[1])return{data:w,index:W}}else return{data:w,index:W};else if(L==="\t")L=" ";w+=L}},V0=function($,U,f,G){const w=$.indexOf(U,f);if(w===-1)throw new Error(G);else return w+U.length-1},gU=function($,U,f,G=">"){const w=Iz($,U+1,G);if(!w)return;let W=w.data;const L=w.index,X=W.search(/\s/);let Z=W,F=!0;if(X!==-1)Z=W.substring(0,X),W=W.substring(X+1).trimStart();const Y=Z;if(f){const I=Z.indexOf(":");if(I!==-1)Z=Z.substr(I+1),F=Z!==w.data.substr(I+1)}return{tagName:Z,tagExp:W,closeIndex:L,attrExpPresent:F,rawTagName:Y}},Qz=function($,U,f){const G=f;let w=1;for(;f<$.length;f++)if($[f]==="<")if($[f+1]==="/"){const W=V0($,">",f,`${U} is not closed`);if($.substring(f+2,W).trim()===U){if(w--,w===0)return{tagContent:$.substring(G,f),i:W}}f=W}else if($[f+1]==="?")f=V0($,"?>",f+1,"StopNode is not closed.");else if($.substr(f+1,3)==="!--")f=V0($,"-->",f+3,"StopNode is not closed.");else if($.substr(f+1,2)==="![")f=V0($,"]]>",f,"StopNode is not closed.")-2;else{const W=gU($,f,">");if(W){if((W&&W.tagName)===U&&W.tagExp[W.tagExp.length-1]!=="/")w++;f=W.closeIndex}}},lU=function($,U,f){if(U&&typeof $==="string"){const G=$.trim();if(G==="true")return!0;else if(G==="false")return!1;else return $z($,f)}else if(zL.isExist($))return $;else return""},zL=Z$(),G1=ZL(),e7=YL(),$z=QL();class EL{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,f)=>String.fromCharCode(Number.parseInt(f,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(U,f)=>String.fromCharCode(Number.parseInt(f,16))}},this.addExternalEntities=Uz,this.parseXml=Lz,this.parseTextData=fz,this.resolveNameSpace=wz,this.buildAttributesMap=Wz,this.isItStopNode=Yz,this.replaceEntitiesValue=Zz,this.readStopNodeData=Qz,this.saveTextToParentTag=Fz,this.addChild=Xz}}var Gz=new RegExp('([^\\s=]+)\\s*(=\\s*([\'"])([\\s\\S]*?)\\3)?',"gm"),Lz=function($){$=$.replace(/\r\n?/g,"\n");const U=new G1("!xml");let f=U,G="",w="";for(let W=0;W<$.length;W++)if($[W]==="<")if($[W+1]==="/"){const X=V0($,">",W,"Closing Tag is not closed.");let Z=$.substring(W+2,X).trim();if(this.options.removeNSPrefix){const I=Z.indexOf(":");if(I!==-1)Z=Z.substr(I+1)}if(this.options.transformTagName)Z=this.options.transformTagName(Z);if(f)G=this.saveTextToParentTag(G,f,w);const F=w.substring(w.lastIndexOf(".")+1);if(Z&&this.options.unpairedTags.indexOf(Z)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${Z}>`);let Y=0;if(F&&this.options.unpairedTags.indexOf(F)!==-1)Y=w.lastIndexOf(".",w.lastIndexOf(".")-1),this.tagsNodeStack.pop();else Y=w.lastIndexOf(".");w=w.substring(0,Y),f=this.tagsNodeStack.pop(),G="",W=X}else if($[W+1]==="?"){let X=gU($,W,!1,"?>");if(!X)throw new Error("Pi Tag is not closed.");if(G=this.saveTextToParentTag(G,f,w),this.options.ignoreDeclaration&&X.tagName==="?xml"||this.options.ignorePiTags);else{const Z=new G1(X.tagName);if(Z.add(this.options.textNodeName,""),X.tagName!==X.tagExp&&X.attrExpPresent)Z[":@"]=this.buildAttributesMap(X.tagExp,w,X.tagName);this.addChild(f,Z,w)}W=X.closeIndex+1}else if($.substr(W+1,3)==="!--"){const X=V0($,"-->",W+4,"Comment is not closed.");if(this.options.commentPropName){const Z=$.substring(W+4,X-2);G=this.saveTextToParentTag(G,f,w),f.add(this.options.commentPropName,[{[this.options.textNodeName]:Z}])}W=X}else if($.substr(W+1,2)==="!D"){const X=e7($,W);this.docTypeEntities=X.entities,W=X.i}else if($.substr(W+1,2)==="!["){const X=V0($,"]]>",W,"CDATA is not closed.")-2,Z=$.substring(W+9,X);G=this.saveTextToParentTag(G,f,w);let F=this.parseTextData(Z,f.tagname,w,!0,!1,!0,!0);if(F==null)F="";if(this.options.cdataPropName)f.add(this.options.cdataPropName,[{[this.options.textNodeName]:Z}]);else f.add(this.options.textNodeName,F);W=X+2}else{let X=gU($,W,this.options.removeNSPrefix),Z=X.tagName;const F=X.rawTagName;let{tagExp:Y,attrExpPresent:I,closeIndex:z}=X;if(this.options.transformTagName)Z=this.options.transformTagName(Z);if(f&&G){if(f.tagname!=="!xml")G=this.saveTextToParentTag(G,f,w,!1)}const Q=f;if(Q&&this.options.unpairedTags.indexOf(Q.tagname)!==-1)f=this.tagsNodeStack.pop(),w=w.substring(0,w.lastIndexOf("."));if(Z!==U.tagname)w+=w?"."+Z:Z;if(this.isItStopNode(this.options.stopNodes,w,Z)){let E="";if(Y.length>0&&Y.lastIndexOf("/")===Y.length-1){if(Z[Z.length-1]==="/")Z=Z.substr(0,Z.length-1),w=w.substr(0,w.length-1),Y=Z;else Y=Y.substr(0,Y.length-1);W=X.closeIndex}else if(this.options.unpairedTags.indexOf(Z)!==-1)W=X.closeIndex;else{const M=this.readStopNodeData($,F,z+1);if(!M)throw new Error(`Unexpected end of ${F}`);W=M.i,E=M.tagContent}const V=new G1(Z);if(Z!==Y&&I)V[":@"]=this.buildAttributesMap(Y,w,Z);if(E)E=this.parseTextData(E,Z,w,!0,I,!0,!0);w=w.substr(0,w.lastIndexOf(".")),V.add(this.options.textNodeName,E),this.addChild(f,V,w)}else{if(Y.length>0&&Y.lastIndexOf("/")===Y.length-1){if(Z[Z.length-1]==="/")Z=Z.substr(0,Z.length-1),w=w.substr(0,w.length-1),Y=Z;else Y=Y.substr(0,Y.length-1);if(this.options.transformTagName)Z=this.options.transformTagName(Z);const E=new G1(Z);if(Z!==Y&&I)E[":@"]=this.buildAttributesMap(Y,w,Z);this.addChild(f,E,w),w=w.substr(0,w.lastIndexOf("."))}else{const E=new G1(Z);if(this.tagsNodeStack.push(f),Z!==Y&&I)E[":@"]=this.buildAttributesMap(Y,w,Z);this.addChild(f,E,w),f=E}G="",W=z}}else G+=$[W];return U.child},Zz=function($){if(this.options.processEntities){for(let U in this.docTypeEntities){const f=this.docTypeEntities[U];$=$.replace(f.regx,f.val)}for(let U in this.lastEntities){const f=this.lastEntities[U];$=$.replace(f.regex,f.val)}if(this.options.htmlEntities)for(let U in this.htmlEntities){const f=this.htmlEntities[U];$=$.replace(f.regex,f.val)}$=$.replace(this.ampEntity.regex,this.ampEntity.val)}return $};JL.exports=EL});var KL=K((Mz)=>{var zz=function($,U){return ML($,U)},ML=function($,U,f){let G;const w={};for(let W=0;W<$.length;W++){const L=$[W],X=Ez(L);let Z="";if(f===void 0)Z=X;else Z=f+"."+X;if(X===U.textNodeName)if(G===void 0)G=L[X];else G+=""+L[X];else if(X===void 0)continue;else if(L[X]){let F=ML(L[X],U,Z);const Y=Rz(F,U);if(L[":@"])Jz(F,L[":@"],Z,U);else if(Object.keys(F).length===1&&F[U.textNodeName]!==void 0&&!U.alwaysCreateTextNode)F=F[U.textNodeName];else if(Object.keys(F).length===0)if(U.alwaysCreateTextNode)F[U.textNodeName]="";else F="";if(w[X]!==void 0&&w.hasOwnProperty(X)){if(!Array.isArray(w[X]))w[X]=[w[X]];w[X].push(F)}else if(U.isArray(X,Z,Y))w[X]=[F];else w[X]=F}}if(typeof G==="string"){if(G.length>0)w[U.textNodeName]=G}else if(G!==void 0)w[U.textNodeName]=G;return w},Ez=function($){const U=Object.keys($);for(let f=0;f<U.length;f++){const G=U[f];if(G!==":@")return G}},Jz=function($,U,f,G){if(U){const w=Object.keys(U),W=w.length;for(let L=0;L<W;L++){const X=w[L];if(G.isArray(X,f+"."+X,!0,!0))$[X]=[U[X]];else $[X]=U[X]}}},Rz=function($,U){const{textNodeName:f}=U,G=Object.keys($).length;if(G===0)return!0;if(G===1&&($[f]||typeof $[f]==="boolean"||$[f]===0))return!0;return!1};Mz.prettify=zz});var BL=K((tV,VL)=>{var{buildOptions:Tz}=WL(),Vz=RL(),{prettify:Bz}=KL(),Az=pU();class TL{constructor($){this.externalEntities={},this.options=Tz($)}parse($,U){if(typeof $==="string");else if($.toString)$=$.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(U){if(U===!0)U={};const w=Az.validate($,U);if(w!==!0)throw Error(`${w.err.msg}:${w.err.line}:${w.err.col}`)}const f=new Vz(this.options);f.addExternalEntities(this.externalEntities);const G=f.parseXml($);if(this.options.preserveOrder||G===void 0)return G;else return Bz(G,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 '
'");else if(U==="&")throw new Error("An entity with value '&' is not permitted");else this.externalEntities[$]=U}}VL.exports=TL});var qL=K((eV,CL)=>{var Oz=function($,U){let f="";if(U.format&&U.indentBy.length>0)f="\n";return OL($,U,"",f)},OL=function($,U,f,G){let w="",W=!1;for(let L=0;L<$.length;L++){const X=$[L],Z=Hz(X);if(Z===void 0)continue;let F="";if(f.length===0)F=Z;else F=`${f}.${Z}`;if(Z===U.textNodeName){let E=X[Z];if(!Cz(F,U))E=U.tagValueProcessor(Z,E),E=HL(E,U);if(W)w+=G;w+=E,W=!1;continue}else if(Z===U.cdataPropName){if(W)w+=G;w+=`<![CDATA[${X[Z][0][U.textNodeName]}]]>`,W=!1;continue}else if(Z===U.commentPropName){w+=G+`<!--${X[Z][0][U.textNodeName]}-->`,W=!0;continue}else if(Z[0]==="?"){const E=AL(X[":@"],U),V=Z==="?xml"?"":G;let M=X[Z][0][U.textNodeName];M=M.length!==0?" "+M:"",w+=V+`<${Z}${M}${E}?>`,W=!0;continue}let Y=G;if(Y!=="")Y+=U.indentBy;const I=AL(X[":@"],U),z=G+`<${Z}${I}`,Q=OL(X[Z],U,F,Y);if(U.unpairedTags.indexOf(Z)!==-1)if(U.suppressUnpairedNode)w+=z+">";else w+=z+"/>";else if((!Q||Q.length===0)&&U.suppressEmptyNode)w+=z+"/>";else if(Q&&Q.endsWith(">"))w+=z+`>${Q}${G}</${Z}>`;else{if(w+=z+">",Q&&G!==""&&(Q.includes("/>")||Q.includes("</")))w+=G+U.indentBy+Q+G;else w+=Q;w+=`</${Z}>`}W=!0}return w},Hz=function($){const U=Object.keys($);for(let f=0;f<U.length;f++){const G=U[f];if(!$.hasOwnProperty(G))continue;if(G!==":@")return G}},AL=function($,U){let f="";if($&&!U.ignoreAttributes)for(let G in $){if(!$.hasOwnProperty(G))continue;let w=U.attributeValueProcessor(G,$[G]);if(w=HL(w,U),w===!0&&U.suppressBooleanAttributes)f+=` ${G.substr(U.attributeNamePrefix.length)}`;else f+=` ${G.substr(U.attributeNamePrefix.length)}="${w}"`}return f},Cz=function($,U){$=$.substr(0,$.length-U.textNodeName.length-1);let f=$.substr($.lastIndexOf(".")+1);for(let G in U.stopNodes)if(U.stopNodes[G]===$||U.stopNodes[G]==="*."+f)return!0;return!1},HL=function($,U){if($&&$.length>0&&U.processEntities)for(let f=0;f<U.entities.length;f++){const G=U.entities[f];$=$.replace(G.regex,G.val)}return $};CL.exports=Oz});var PL=K(($B,NL)=>{var Z0=function($){if(this.options=Object.assign({},Nz,$),this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Sz;if(this.processTextOrObjNode=Pz,this.options.format)this.indentate=jz,this.tagEndChar=">\n",this.newLine="\n";else this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""},Pz=function($,U,f){const G=this.j2x($,f+1);if($[this.options.textNodeName]!==void 0&&Object.keys($).length===1)return this.buildTextValNode($[this.options.textNodeName],U,G.attrStr,f);else return this.buildObjectNode(G.val,U,G.attrStr,f)},jz=function($){return this.options.indentBy.repeat($)},Sz=function($){if($.startsWith(this.options.attributeNamePrefix)&&$!==this.options.textNodeName)return $.substr(this.attrPrefixLen);else return!1},qz=qL(),Nz={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:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("\'","g"),val:"'"},{regex:new RegExp("\"","g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};Z0.prototype.build=function($){if(this.options.preserveOrder)return qz($,this.options);else{if(Array.isArray($)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1)$={[this.options.arrayNodeName]:$};return this.j2x($,0).val}};Z0.prototype.j2x=function($,U){let f="",G="";for(let w in $){if(!Object.prototype.hasOwnProperty.call($,w))continue;if(typeof $[w]==="undefined"){if(this.isAttribute(w))G+=""}else if($[w]===null)if(this.isAttribute(w))G+="";else if(w[0]==="?")G+=this.indentate(U)+"<"+w+"?"+this.tagEndChar;else G+=this.indentate(U)+"<"+w+"/"+this.tagEndChar;else if($[w]instanceof Date)G+=this.buildTextValNode($[w],w,"",U);else if(typeof $[w]!=="object"){const W=this.isAttribute(w);if(W)f+=this.buildAttrPairStr(W,""+$[w]);else if(w===this.options.textNodeName){let L=this.options.tagValueProcessor(w,""+$[w]);G+=this.replaceEntitiesValue(L)}else G+=this.buildTextValNode($[w],w,"",U)}else if(Array.isArray($[w])){const W=$[w].length;let L="",X="";for(let Z=0;Z<W;Z++){const F=$[w][Z];if(typeof F==="undefined");else if(F===null)if(w[0]==="?")G+=this.indentate(U)+"<"+w+"?"+this.tagEndChar;else G+=this.indentate(U)+"<"+w+"/"+this.tagEndChar;else if(typeof F==="object")if(this.options.oneListGroup){const Y=this.j2x(F,U+1);if(L+=Y.val,this.options.attributesGroupName&&F.hasOwnProperty(this.options.attributesGroupName))X+=Y.attrStr}else L+=this.processTextOrObjNode(F,w,U);else if(this.options.oneListGroup){let Y=this.options.tagValueProcessor(w,F);Y=this.replaceEntitiesValue(Y),L+=Y}else L+=this.buildTextValNode(F,w,"",U)}if(this.options.oneListGroup)L=this.buildObjectNode(L,w,X,U);G+=L}else if(this.options.attributesGroupName&&w===this.options.attributesGroupName){const W=Object.keys($[w]),L=W.length;for(let X=0;X<L;X++)f+=this.buildAttrPairStr(W[X],""+$[w][W[X]])}else G+=this.processTextOrObjNode($[w],w,U)}return{attrStr:f,val:G}};Z0.prototype.buildAttrPairStr=function($,U){if(U=this.options.attributeValueProcessor($,""+U),U=this.replaceEntitiesValue(U),this.options.suppressBooleanAttributes&&U==="true")return" "+$;else return" "+$+'="'+U+'"'};Z0.prototype.buildObjectNode=function($,U,f,G){if($==="")if(U[0]==="?")return this.indentate(G)+"<"+U+f+"?"+this.tagEndChar;else return this.indentate(G)+"<"+U+f+this.closeTag(U)+this.tagEndChar;else{let w="</"+U+this.tagEndChar,W="";if(U[0]==="?")W="?",w="";if((f||f==="")&&$.indexOf("<")===-1)return this.indentate(G)+"<"+U+f+W+">"+$+w;else if(this.options.commentPropName!==!1&&U===this.options.commentPropName&&W.length===0)return this.indentate(G)+`<!--${$}-->`+this.newLine;else return this.indentate(G)+"<"+U+f+W+this.tagEndChar+$+this.indentate(G)+w}};Z0.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};Z0.prototype.buildTextValNode=function($,U,f,G){if(this.options.cdataPropName!==!1&&U===this.options.cdataPropName)return this.indentate(G)+`<![CDATA[${$}]]>`+this.newLine;else if(this.options.commentPropName!==!1&&U===this.options.commentPropName)return this.indentate(G)+`<!--${$}-->`+this.newLine;else if(U[0]==="?")return this.indentate(G)+"<"+U+f+"?"+this.tagEndChar;else{let w=this.options.tagValueProcessor(U,$);if(w=this.replaceEntitiesValue(w),w==="")return this.indentate(G)+"<"+U+f+this.closeTag(U)+this.tagEndChar;else return this.indentate(G)+"<"+U+f+">"+w+"</"+U+this.tagEndChar}};Z0.prototype.replaceEntitiesValue=function($){if($&&$.length>0&&this.options.processEntities)for(let U=0;U<this.options.entities.length;U++){const f=this.options.entities[U];$=$.replace(f.regex,f.val)}return $};NL.exports=Z0});var SL=K((UB,jL)=>{var bz=pU(),hz=BL(),Dz=PL();jL.exports={XMLParser:hz,XMLValidator:bz,XMLBuilder:Dz}});var vL=K((fB,cL)=>{var{defineProperty:F$,getOwnPropertyDescriptor:kz,getOwnPropertyNames:cz}=Object,vz=Object.prototype.hasOwnProperty,c=($,U)=>F$($,"name",{value:U,configurable:!0}),xz=($,U)=>{for(var f in U)F$($,f,{get:U[f],enumerable:!0})},uz=($,U,f,G)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let w of cz(U))if(!vz.call($,w)&&w!==f)F$($,w,{get:()=>U[w],enumerable:!(G=kz(U,w))||G.enumerable})}return $},yz=($)=>uz(F$({},"__esModule",{value:!0}),$),bL={};xz(bL,{_toBool:()=>dz,_toNum:()=>pz,_toStr:()=>_z,awsExpectUnion:()=>lz,loadRestJsonErrorCode:()=>mz,loadRestXmlErrorCode:()=>az,parseJsonBody:()=>DL,parseJsonErrorBody:()=>nz,parseXmlBody:()=>kL,parseXmlErrorBody:()=>oz});cL.exports=yz(bL);var _z=c(($)=>{if($==null)return $;if(typeof $==="number"||typeof $==="bigint"){const U=new Error(`Received number ${$} where a string was expected.`);return U.name="Warning",console.warn(U),String($)}if(typeof $==="boolean"){const U=new Error(`Received boolean ${$} where a string was expected.`);return U.name="Warning",console.warn(U),String($)}return $},"_toStr"),dz=c(($)=>{if($==null)return $;if(typeof $==="string"){const U=$.toLowerCase();if($!==""&&U!=="false"&&U!=="true"){const f=new Error(`Received string "${$}" where a boolean was expected.`);f.name="Warning",console.warn(f)}return $!==""&&U!=="false"}return $},"_toBool"),pz=c(($)=>{if($==null)return $;if(typeof $==="string"){const U=Number($);if(U.toString()!==$){const f=new Error(`Received string "${$}" where a number was expected.`);return f.name="Warning",console.warn(f),$}return U}return $},"_toNum"),gz=N0(),lz=c(($)=>{if($==null)return;if(typeof $==="object"&&"__type"in $)delete $.__type;return gz.expectUnion($)},"awsExpectUnion"),sz=N0(),hL=c(($,U)=>sz.collectBody($,U).then((f)=>U.utf8Encoder(f)),"collectBodyString"),DL=c(($,U)=>hL($,U).then((f)=>{if(f.length)try{return JSON.parse(f)}catch(G){if((G==null?void 0:G.name)==="SyntaxError")Object.defineProperty(G,"$responseBodyText",{value:f});throw G}return{}}),"parseJsonBody"),nz=c(async($,U)=>{const f=await DL($,U);return f.message=f.message??f.Message,f},"parseJsonErrorBody"),mz=c(($,U)=>{const f=c((W,L)=>Object.keys(W).find((X)=>X.toLowerCase()===L.toLowerCase()),"findKey"),G=c((W)=>{let L=W;if(typeof L==="number")L=L.toString();if(L.indexOf(",")>=0)L=L.split(",")[0];if(L.indexOf(":")>=0)L=L.split(":")[0];if(L.indexOf("#")>=0)L=L.split("#")[1];return L},"sanitizeErrorCode"),w=f($.headers,"x-amzn-errortype");if(w!==void 0)return G($.headers[w]);if(U.code!==void 0)return G(U.code);if(U.__type!==void 0)return G(U.__type)},"loadRestJsonErrorCode"),iz=N0(),rz=SL(),kL=c(($,U)=>hL($,U).then((f)=>{if(f.length){const G=new rz.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(Z,F)=>F.trim()===""&&F.includes("\n")?"":void 0});G.addEntity("#xD","\r"),G.addEntity("#10","\n");let w;try{w=G.parse(f,!0)}catch(Z){if(Z&&typeof Z==="object")Object.defineProperty(Z,"$responseBodyText",{value:f});throw Z}const W="#text",L=Object.keys(w)[0],X=w[L];if(X[W])X[L]=X[W],delete X[W];return iz.getValueFromTextNode(X)}return{}}),"parseXmlBody"),oz=c(async($,U)=>{const f=await kL($,U);if(f.Error)f.Error.message=f.Error.message??f.Error.Message;return f},"parseXmlErrorBody"),az=c(($,U)=>{var f;if(((f=U==null?void 0:U.Error)==null?void 0:f.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 tz=K((W1)=>{Object.defineProperty(W1,"__esModule",{value:!0});var sU=M6();sU.__exportStar(B6(),W1);sU.__exportStar(a6(),W1);sU.__exportStar(vL(),W1)});function EE($){return $}var rL=($)=>(U)=>async(f)=>{if(!x.isInstance(f.request))return U(f);const{request:G}=f,{handlerProtocol:w=""}=$.requestHandler.metadata||{};if(w.indexOf("h2")>=0&&!G.headers[":authority"])delete G.headers.host,G.headers[":authority"]=G.hostname+(G.port?":"+G.port:"");else if(!G.headers.host){let W=G.hostname;if(G.port!=null)W+=`:${G.port}`;G.headers.host=W}return U(f)},oL={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},JE=($)=>({applyToStack:(U)=>{U.add(rL($),oL)}});var aL=()=>($,U)=>async(f)=>{try{const G=await $(f),{clientName:w,commandName:W,logger:L,dynamoDbDocumentClientOptions:X={}}=U,{overrideInputFilterSensitiveLog:Z,overrideOutputFilterSensitiveLog:F}=X,Y=Z??U.inputFilterSensitiveLog,I=F??U.outputFilterSensitiveLog,{$metadata:z,...Q}=G.output;return L?.info?.({clientName:w,commandName:W,input:Y(f.input),output:I(Q),metadata:z}),G}catch(G){const{clientName:w,commandName:W,logger:L,dynamoDbDocumentClientOptions:X={}}=U,{overrideInputFilterSensitiveLog:Z}=X,F=Z??U.inputFilterSensitiveLog;throw L?.error?.({clientName:w,commandName:W,input:F(f.input),error:G,metadata:G.$metadata}),G}},tL={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},ME=($)=>({applyToStack:(U)=>{U.add(aL(),tL)}});var oU="X-Amzn-Trace-Id",eL="AWS_LAMBDA_FUNCTION_NAME",$X="_X_AMZN_TRACE_ID",UX=($)=>(U)=>async(f)=>{const{request:G}=f;if(!x.isInstance(G)||$.runtime!=="node"||G.headers.hasOwnProperty(oU))return U(f);const w=process.env[eL],W=process.env[$X],L=(X)=>typeof X==="string"&&X.length>0;if(L(w)&&L(W))G.headers[oU]=W;return U({...f,request:G})},fX={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},AE=($)=>({applyToStack:(U)=>{U.add(UX($),fX)}});function HJ($){return{...$,customUserAgent:typeof $.customUserAgent==="string"?[[$.customUserAgent]]:$.customUserAgent}}var hQ=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}$"),a0=($)=>hQ.test($)||$.startsWith("[")&&$.endsWith("]");var DQ=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),t0=($,U=!1)=>{if(!U)return DQ.test($);const f=$.split(".");for(let G of f)if(!t0(G))return!1;return!0};var e0={};var a="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 U4=($,U)=>$===U;var f4=($)=>{const U=$.split("."),f=[];for(let G of U){const w=G.indexOf("[");if(w!==-1){if(G.indexOf("]")!==G.length-1)throw new H(`Path: '${$}' does not end with ']'`);const W=G.slice(w+1,-1);if(Number.isNaN(parseInt(W)))throw new H(`Invalid array index: '${W}' in path: '${$}'`);if(w!==0)f.push(G.slice(0,w));f.push(W)}else f.push(G)}return f};var x1=($,U)=>f4(U).reduce((f,G)=>{if(typeof f!=="object")throw new H(`Index '${G}' in '${U}' not found in '${JSON.stringify($)}'`);else if(Array.isArray(f))return f[parseInt(G)];return f[G]},$);var w4=($)=>$!=null;var G4=($)=>!$;var u1=t(Y0(),1);var IU={[u1.EndpointURLScheme.HTTP]:80,[u1.EndpointURLScheme.HTTPS]:443},W4=($)=>{const U=(()=>{try{if($ instanceof URL)return $;if(typeof $==="object"&&"hostname"in $){const{hostname:z,port:Q,protocol:E="",path:V="",query:M={}}=$,J=new URL(`${E}//${z}${Q?`:${Q}`:""}${V}`);return J.search=Object.entries(M).map(([T,B])=>`${T}=${B}`).join("&"),J}return new URL($)}catch(z){return null}})();if(!U)return console.error(`Unable to parse ${JSON.stringify($)} as a whatwg URL.`),null;const f=U.href,{host:G,hostname:w,pathname:W,protocol:L,search:X}=U;if(X)return null;const Z=L.slice(0,-1);if(!Object.values(u1.EndpointURLScheme).includes(Z))return null;const F=a0(w),Y=f.includes(`${G}:${IU[Z]}`)||typeof $==="string"&&$.includes(`${G}:${IU[Z]}`),I=`${G}${Y?`:${IU[Z]}`:""}`;return{scheme:Z,authority:I,path:W,normalizedPath:W.endsWith("/")?W:`${W}/`,isIp:F}};var L4=($,U)=>$===U;var X4=($,U,f,G)=>{if(U>=f||$.length<f)return null;if(!G)return $.substring(U,f);return $.substring($.length-f,$.length-U)};var Z4=($)=>encodeURIComponent($).replace(/[!*'()]/g,(U)=>`%${U.charCodeAt(0).toString(16).toUpperCase()}`);var F4={booleanEquals:U4,getAttr:x1,isSet:w4,isValidHostLabel:t0,not:G4,parseURL:W4,stringEquals:L4,substring:X4,uriEncode:Z4};var y1=($,U)=>{const f=[],G={...U.endpointParams,...U.referenceRecord};let w=0;while(w<$.length){const W=$.indexOf("{",w);if(W===-1){f.push($.slice(w));break}f.push($.slice(w,W));const L=$.indexOf("}",W);if(L===-1){f.push($.slice(W));break}if($[W+1]==="{"&&$[L+1]==="}")f.push($.slice(W+1,L)),w=L+2;const X=$.substring(W+1,L);if(X.includes("#")){const[Z,F]=X.split("#");f.push(x1(G[Z],F))}else f.push(G[X]);w=L+1}return f.join("")};var Y4=({ref:$},U)=>{return{...U.endpointParams,...U.referenceRecord}[$]};var W0=($,U,f)=>{if(typeof $==="string")return y1($,f);else if($.fn)return _1($,f);else if($.ref)return Y4($,f);throw new H(`'${U}': ${String($)} is not a string, function or reference.`)};var _1=({fn:$,argv:U},f)=>{const G=U.map((W)=>["boolean","number"].includes(typeof W)?W:W0(W,"arg",f)),w=$.split(".");if(w[0]in e0&&w[1]!=null)return e0[w[0]][w[1]](...G);return F4[$](...G)};var I4=({assign:$,...U},f)=>{if($&&$ in f.referenceRecord)throw new H(`'${$}' is already defined in Reference Record.`);const G=_1(U,f);return f.logger?.debug?.(`${a} evaluateCondition: ${_(U)} = ${_(G)}`),{result:G===""?!0:!!G,...$!=null&&{toAssign:{name:$,value:G}}}};var j0=($=[],U)=>{const f={};for(let G of $){const{result:w,toAssign:W}=I4(G,{...U,referenceRecord:{...U.referenceRecord,...f}});if(!w)return{result:w};if(W)f[W.name]=W.value,U.logger?.debug?.(`${a} assign: ${W.name} := ${_(W.value)}`)}return{result:!0,referenceRecord:f}};var Q4=($,U)=>Object.entries($).reduce((f,[G,w])=>({...f,[G]:w.map((W)=>{const L=W0(W,"Header value entry",U);if(typeof L!=="string")throw new H(`Header '${G}' value '${L}' is not a string`);return L})}),{});var QU=($,U)=>{if(Array.isArray($))return $.map((f)=>QU(f,U));switch(typeof $){case"string":return y1($,U);case"object":if($===null)throw new H(`Unexpected endpoint property: ${$}`);return d1($,U);case"boolean":return $;default:throw new H(`Unexpected endpoint property type: ${typeof $}`)}};var d1=($,U)=>Object.entries($).reduce((f,[G,w])=>({...f,[G]:QU(w,U)}),{});var z4=($,U)=>{const f=W0($,"Endpoint URL",U);if(typeof f==="string")try{return new URL(f)}catch(G){throw console.error(`Failed to construct URL with ${f}`,G),G}throw new H(`Endpoint URL must be a string, got ${typeof f}`)};var E4=($,U)=>{const{conditions:f,endpoint:G}=$,{result:w,referenceRecord:W}=j0(f,U);if(!w)return;const L={...U,referenceRecord:{...U.referenceRecord,...W}},{url:X,properties:Z,headers:F}=G;return U.logger?.debug?.(`${a} Resolving endpoint from template: ${_(G)}`),{...F!=null&&{headers:Q4(F,L)},...Z!=null&&{properties:d1(Z,L)},url:z4(X,L)}};var J4=($,U)=>{const{conditions:f,error:G}=$,{result:w,referenceRecord:W}=j0(f,U);if(!w)return;throw new H(W0(G,"Error",{...U,referenceRecord:{...U.referenceRecord,...W}}))};var R4=($,U)=>{const{conditions:f,rules:G}=$,{result:w,referenceRecord:W}=j0(f,U);if(!w)return;return p1(G,{...U,referenceRecord:{...U.referenceRecord,...W}})};var p1=($,U)=>{for(let f of $)if(f.type==="endpoint"){const G=E4(f,U);if(G)return G}else if(f.type==="error")J4(f,U);else if(f.type==="tree"){const G=R4(f,U);if(G)return G}else throw new H(`Unknown endpoint rule: ${f}`);throw new H("Rules evaluation failed")};var kQ=($,U)=>{const{endpointParams:f,logger:G}=U,{parameters:w,rules:W}=$;U.logger?.debug?.(`${a} Initial EndpointParams: ${_(f)}`);const L=Object.entries(w).filter(([,F])=>F.default!=null).map(([F,Y])=>[F,Y.default]);if(L.length>0)for(let[F,Y]of L)f[F]=f[F]??Y;const X=Object.entries(w).filter(([,F])=>F.required).map(([F])=>F);for(let F of X)if(f[F]==null)throw new H(`Missing required parameter: '${F}'`);const Z=p1(W,{endpointParams:f,logger:G,referenceRecord:{}});if(U.endpointParams?.Endpoint)try{const F=new URL(U.endpointParams.Endpoint),{protocol:Y,port:I}=F;Z.url.protocol=Y,Z.url.port=I}catch(F){}return U.logger?.debug?.(`${a} Resolved endpoint: ${_(Z)}`),Z};var zU=($,U=!1)=>{if(U){for(let f of $.split("."))if(!zU(f))return!1;return!0}if(!t0($))return!1;if($.length<3||$.length>63)return!1;if($!==$.toLowerCase())return!1;if(a0($))return!1;return!0};var M4=($)=>{const U=$.split(":");if(U.length<6)return null;const[f,G,w,W,L,...X]=U;if(f!=="arn"||G===""||w===""||X[0]==="")return null;return{partition:G,service:w,region:W,accountId:L,resourceId:X[0].includes("/")?X[0].split("/"):X}};var K4={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 vQ=K4,xQ="",T4=($)=>{const{partitions:U}=vQ;for(let G of U){const{regions:w,outputs:W}=G;for(let[L,X]of Object.entries(w))if(L===$)return{...W,...X}}for(let G of U){const{regionRegex:w,outputs:W}=G;if(new RegExp(w).test($))return{...W}}const f=U.find((G)=>G.id==="aws");if(!f)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...f.outputs}};var V4=()=>xQ;var uQ={isVirtualHostableS3Bucket:zU,parseArn:M4,partition:T4};e0.aws=uQ;var EU="user-agent",g1="x-amz-user-agent",JU=" ",l1="/",B4=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,A4=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,RU="-";var yQ=($)=>(U,f)=>async(G)=>{const{request:w}=G;if(!x.isInstance(w))return U(G);const{headers:W}=w,L=f?.userAgent?.map(MU)||[],X=(await $.defaultUserAgentProvider()).map(MU),Z=$?.customUserAgent?.map(MU)||[],F=V4(),Y=(F?[F]:[]).concat([...X,...L,...Z]).join(JU),I=[...X.filter((z)=>z.startsWith("aws-sdk-")),...Z].join(JU);if($.runtime!=="browser"){if(I)W[g1]=W[g1]?`${W[EU]} ${I}`:I;W[EU]=Y}else W[g1]=Y;return U({...G,request:w})},MU=($)=>{const U=$[0].split(l1).map((L)=>L.replace(B4,RU)).join(l1),f=$[1]?.replace(A4,RU),G=U.indexOf(l1),w=U.substring(0,G);let W=U.substring(G+1);if(w==="api")W=W.toLowerCase();return[w,W,f].filter((L)=>L&&L.length>0).reduce((L,X,Z)=>{switch(Z){case 0:return X;case 1:return`${L}/${X}`;default:return`${L}#${X}`}},"")},_Q={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},wK=($)=>({applyToStack:(U)=>{U.add(yQ($),_Q)}});var s1=($)=>typeof $==="string"&&($.startsWith("fips-")||$.endsWith("-fips"));var KU=($)=>s1($)?["fips-aws-global","aws-fips"].includes($)?"us-east-1":$.replace(/fips-(dkr-|prod-)?|-fips/,""):$;var zK=($)=>{const{region:U,useFipsEndpoint:f}=$;if(!U)throw new Error("Region is missing");return{...$,region:async()=>{if(typeof U==="string")return KU(U);const G=await U();return KU(G)},useFipsEndpoint:async()=>{const G=typeof U==="string"?U:await U();if(s1(G))return!0;return typeof f!=="function"?Promise.resolve(!!f):f()}}};var S0=($,U,f)=>{if(!(U in $))return;if($[U]==="true")return!0;if($[U]==="false")return!1;throw new Error(`Cannot load ${f} "${U}". Expected "true" or "false", got ${$[U]}.`)};var L0;(function($){$.ENV="env",$.CONFIG="shared config entry"})(L0||(L0={}));var dQ="AWS_USE_DUALSTACK_ENDPOINT",pQ="use_dualstack_endpoint";var OK={environmentVariableSelector:($)=>S0($,dQ,L0.ENV),configFileSelector:($)=>S0($,pQ,L0.CONFIG),default:!1};var gQ="AWS_USE_FIPS_ENDPOINT",lQ="use_fips_endpoint";var qK={environmentVariableSelector:($)=>S0($,gQ,L0.ENV),configFileSelector:($)=>S0($,lQ,L0.CONFIG),default:!1};var TU=t(Y0(),1),O4=($)=>$[TU.SMITHY_CONTEXT_KEY]||($[TU.SMITHY_CONTEXT_KEY]={});var e=($)=>{if(typeof $==="function")return $;const U=Promise.resolve($);return()=>U};var H4={environmentVariableSelector:($)=>$["AWS_REGION"],configFileSelector:($)=>$["region"],default:()=>{throw new Error("Region is missing")}},sK={preferredFile:"credentials"};function sQ($){return(U)=>async(f)=>{const G=f.request;if(x.isInstance(G)){const{body:w,headers:W}=G;if(w&&Object.keys(W).map((L)=>L.toLowerCase()).indexOf(C4)===-1)try{const L=$(w);G.headers={...G.headers,[C4]:String(L)}}catch(L){}}return U({...f,request:G})}}var C4="content-length",nQ={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},K3=($)=>({applyToStack:(U)=>{U.add(sQ($.bodyLengthChecker),nQ)}});var q4=($,U)=>(f)=>async(G)=>{const{response:w}=await f(G);try{const W=await U(w,$);return{response:w,output:W}}catch(W){if(Object.defineProperty(W,"$response",{value:w}),!("$metadata"in W)){if(W.message+="\n Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.",typeof W.$responseBodyText!=="undefined"){if(W.$response)W.$response.body=W.$responseBodyText}}throw W}};var N4=($,U)=>(f,G)=>async(w)=>{const W=G.endpointV2?.url&&$.urlParser?async()=>$.urlParser(G.endpointV2.url):$.endpoint;if(!W)throw new Error("No valid endpoint provider available.");const L=await U(w.input,{...$,endpoint:W});return f({...w,request:L})};function H3($,U,f){return{applyToStack:(G)=>{G.add(q4($,f),mQ),G.add(N4($,U),VU)}}}var mQ={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},VU={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};var P4=async($)=>{const U=$?.Bucket||"";if(typeof $.Bucket==="string")$.Bucket=U.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(tQ(U)){if($.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!aQ(U)||U.indexOf(".")!==-1&&!String($.Endpoint).startsWith("http:")||U.toLowerCase()!==U||U.length<3)$.ForcePathStyle=!0;if($.DisableMultiRegionAccessPoints)$.disableMultiRegionAccessPoints=!0,$.DisableMRAP=!0;return $},iQ=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,rQ=/(\d+\.){3}\d+/,oQ=/\.\./;var aQ=($)=>iQ.test($)&&!rQ.test($)&&!oQ.test($),tQ=($)=>{const[U,f,G,,,w]=$.split(":"),W=U==="arn"&&$.split(":").length>=6,L=Boolean(W&&f&&G&&w);if(W&&!L)throw new Error(`Invalid ARN: ${$} was an invalid ARN.`);return L};var j4=($,U,f)=>{const G=async()=>{const w=f[$]??f[U];if(typeof w==="function")return w();return w};if($==="credentialScope"||U==="CredentialScope")return async()=>{const w=typeof f.credentials==="function"?await f.credentials():f.credentials;return w?.credentialScope??w?.CredentialScope};if($==="accountId"||U==="AccountId")return async()=>{const w=typeof f.credentials==="function"?await f.credentials():f.credentials;return w?.accountId??w?.AccountId};if($==="endpoint"||U==="endpoint")return async()=>{const w=await G();if(w&&typeof w==="object"){if("url"in w)return w.url.href;if("hostname"in w){const{protocol:W,hostname:L,port:X,path:Z}=w;return`${W}//${L}${X?":"+X:""}${Z}`}}return w};return G};var S4="AWS_ENDPOINT_URL",b4="endpoint_url",h4=($)=>({environmentVariableSelector:(U)=>{const f=$.split(" ").map((W)=>W.toUpperCase()),G=U[[S4,...f].join("_")];if(G)return G;const w=U[S4];if(w)return w;return},configFileSelector:(U,f)=>{if(f&&U.services){const w=f[["services",U.services].join(BU)];if(w){const W=$.split(" ").map((X)=>X.toLowerCase()),L=w[[W.join("_"),b4].join(BU)];if(L)return L}}const G=U[b4];if(G)return G;return},default:void 0});var D4=async($)=>R0(h4($))();var AU=t(xf(),1),n1=($)=>{if(typeof $==="object"){if("url"in $)return AU.parseUrl($.url);return $}return AU.parseUrl($)};var k4=async($,U,f,G)=>{if(!f.endpoint){const L=await D4(f.serviceId||"");if(L)f.endpoint=()=>Promise.resolve(n1(L))}const w=await eQ($,U,f);if(typeof f.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return f.endpointProvider(w,G)},eQ=async($,U,f)=>{const G={},w=U?.getEndpointParameterInstructions?.()||{};for(let[W,L]of Object.entries(w))switch(L.type){case"staticContextParams":G[W]=L.value;break;case"contextParams":G[W]=$[L.name];break;case"clientContextParams":case"builtInParams":G[W]=await j4(L.name,W,f)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(L))}if(Object.keys(w).length===0)Object.assign(G,f);if(String(f.serviceId).toLowerCase()==="s3")await P4(G);return G};var c4=({config:$,instructions:U})=>{return(f,G)=>async(w)=>{const W=await k4(w.input,{getEndpointParameterInstructions(){return U}},{...$},G);G.endpointV2=W,G.authSchemes=W.properties?.authSchemes;const L=G.authSchemes?.[0];if(L){G.signing_region=L.signingRegion,G.signing_service=L.signingName;const Z=O4(G)?.selectedHttpAuthScheme?.httpAuthOption;if(Z)Z.signingProperties=Object.assign(Z.signingProperties||{},{signing_region:L.signingRegion,signingRegion:L.signingRegion,signing_service:L.signingName,signingName:L.signingName,signingRegionSet:L.signingRegionSet},L.properties)}return f({...w})}};var $9={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:VU.name},o3=($,U)=>({applyToStack:(f)=>{f.addRelativeTo(c4({config:$,instructions:U}),$9)}});var $T=($)=>{const U=$.tls??!0,{endpoint:f}=$,G=f!=null?async()=>n1(await e(f)()):void 0;return{...$,endpoint:G,tls:U,isCustomEndpoint:!!f,useDualstackEndpoint:e($.useDualstackEndpoint??!1),useFipsEndpoint:e($.useFipsEndpoint??!1)}};var m=t(j$(),1),IT=m.default.v1,QT=m.default.v3,v4=m.default.v4,zT=m.default.v5,ET=m.default.NIL,JT=m.default.version,RT=m.default.validate,MT=m.default.stringify,KT=m.default.parse;var s;(function($){$.STANDARD="standard",$.ADAPTIVE="adaptive"})(s||(s={}));var M0=3,x4=s.STANDARD;var u4=t(Q0(),1);class m1{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((f)=>setTimeout(f,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(),u4.isThrottlingError($)){const G=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=G,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),U=this.cubicThrottle(G),this.enableTokenBucket()}else this.calculateTimeWindow(),U=this.cubicSuccess(this.getCurrentTimeInSeconds());const f=Math.min(U,2*this.measuredTxRate);this.updateTokenBucketRate(f)}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 f=this.requestCount/(U-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(f*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=U}}getPrecise($){return parseFloat($.toFixed(8))}}var K0=100,$1=20000,OU=500,i1=500,HU=5,CU=10,qU=1,r1="amz-sdk-invocation-id",o1="amz-sdk-request";var y4=()=>{let $=K0;return{computeNextBackoffDelay:(G)=>{return Math.floor(Math.min($1,Math.random()*2**G*$))},setDelayBase:(G)=>{$=G}}};var NU=({retryDelay:$,retryCount:U,retryCost:f})=>{return{getRetryCount:()=>U,getRetryDelay:()=>Math.min($1,$),getRetryCost:()=>f}};class b0{constructor($){this.maxAttempts=$,this.mode=s.STANDARD,this.capacity=i1,this.retryBackoffStrategy=y4(),this.maxAttemptsProvider=typeof $==="function"?$:async()=>$}async acquireInitialRetryToken($){return NU({retryDelay:K0,retryCount:0})}async refreshRetryTokenForRetry($,U){const f=await this.getMaxAttempts();if(this.shouldRetry($,U,f)){const G=U.errorType;this.retryBackoffStrategy.setDelayBase(G==="THROTTLING"?OU:K0);const w=this.retryBackoffStrategy.computeNextBackoffDelay($.getRetryCount()),W=U.retryAfterHint?Math.max(U.retryAfterHint.getTime()-Date.now()||0,w):w,L=this.getCapacityCost(G);return this.capacity-=L,NU({retryDelay:W,retryCount:$.getRetryCount()+1,retryCost:L})}throw new Error("No retry token available")}recordSuccess($){this.capacity=Math.max(i1,this.capacity+($.getRetryCost()??qU))}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,f){return $.getRetryCount()+1<f&&this.capacity>=this.getCapacityCost(U.errorType)&&this.isRetryableError(U.errorType)}getCapacityCost($){return $==="TRANSIENT"?CU:HU}isRetryableError($){return $==="THROTTLING"||$==="TRANSIENT"}}class PU{constructor($,U){this.maxAttemptsProvider=$,this.mode=s.ADAPTIVE;const{rateLimiter:f}=U??{};this.rateLimiter=f??new m1,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 _4="AWS_MAX_ATTEMPTS",d4="max_attempts",rT={environmentVariableSelector:($)=>{const U=$[_4];if(!U)return;const f=parseInt(U);if(Number.isNaN(f))throw new Error(`Environment variable ${_4} mast be a number, got "${U}"`);return f},configFileSelector:($)=>{const U=$[d4];if(!U)return;const f=parseInt(U);if(Number.isNaN(f))throw new Error(`Shared config file entry ${d4} mast be a number, got "${U}"`);return f},default:M0},oT=($)=>{const{retryStrategy:U}=$,f=e($.maxAttempts??M0);return{...$,maxAttempts:f,retryStrategy:async()=>{if(U)return U;if(await e($.retryMode)()===s.ADAPTIVE)return new PU(f);return new b0(f)}}},U9="AWS_RETRY_MODE",f9="retry_mode",aT={environmentVariableSelector:($)=>$[U9],configFileSelector:($)=>$[f9],default:x4};var h0=t(Q0(),1);import{Readable as w9} from"stream";var p4=($)=>$?.body instanceof w9||typeof ReadableStream!=="undefined"&&$?.body instanceof ReadableStream;var jU=($)=>{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 G9=($)=>(U,f)=>async(G)=>{let w=await $.retryStrategy();const W=await $.maxAttempts();if(W9(w)){w=w;let L=await w.acquireInitialRetryToken(f.partition_id),X=new Error,Z=0,F=0;const{request:Y}=G,I=x.isInstance(Y);if(I)Y.headers[r1]=v4();while(!0)try{if(I)Y.headers[o1]=`attempt=${Z+1}; max=${W}`;const{response:z,output:Q}=await U(G);return w.recordSuccess(L),Q.$metadata.attempts=Z+1,Q.$metadata.totalRetryDelay=F,{response:z,output:Q}}catch(z){const Q=L9(z);if(X=jU(z),I&&p4(Y))throw(f.logger instanceof g4?console:f.logger)?.warn("An error was encountered in a non-retryable streaming request."),X;try{L=await w.refreshRetryTokenForRetry(L,Q)}catch(V){if(!X.$metadata)X.$metadata={};throw X.$metadata.attempts=Z+1,X.$metadata.totalRetryDelay=F,X}Z=L.getRetryCount();const E=L.getRetryDelay();F+=E,await new Promise((V)=>setTimeout(V,E))}}else{if(w=w,w?.mode)f.userAgent=[...f.userAgent||[],["cfg/retry-mode",w.mode]];return w.retry(U,G)}},W9=($)=>typeof $.acquireInitialRetryToken!=="undefined"&&typeof $.refreshRetryTokenForRetry!=="undefined"&&typeof $.recordSuccess!=="undefined",L9=($)=>{const U={error:$,errorType:X9($)},f=F9($.$response);if(f)U.retryAfterHint=f;return U},X9=($)=>{if(h0.isThrottlingError($))return"THROTTLING";if(h0.isTransientError($))return"TRANSIENT";if(h0.isServerError($))return"SERVER_ERROR";return"CLIENT_ERROR"},Z9={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},ZV=($)=>({applyToStack:(U)=>{U.add(G9($),Z9)}}),F9=($)=>{if(!SU.isInstance($))return;const U=Object.keys($.headers).find((W)=>W.toLowerCase()==="retry-after");if(!U)return;const f=$.headers[U],G=Number(f);if(!Number.isNaN(G))return new Date(G*1000);return new Date(f)};var Y9=t(Q0(),1);var a1=t(Q0(),1);import{platform as ez,release as $E} from"os";import{env as uL,versions as UE} from"process";var nU={isCrtAvailable:!1};var xL=()=>{if(nU.isCrtAvailable)return["md/crt-avail"];return null};var fE="AWS_SDK_UA_APP_ID",wE="sdk-ua-app-id",IB=({serviceId:$,clientVersion:U})=>{const f=[["aws-sdk-js",U],["ua","2.0"],[`os/${ez()}`,$E()],["lang/js"],["md/nodejs",`${UE.node}`]],G=xL();if(G)f.push(G);if($)f.push([`api/${$}`,U]);if(uL.AWS_EXECUTION_ENV)f.push([`exec-env/${uL.AWS_EXECUTION_ENV}`]);const w=R0({environmentVariableSelector:(L)=>L[fE],configFileSelector:(L)=>L[wE],default:void 0})();let W=void 0;return async()=>{if(!W){const L=await w;W=L?[...f,[`app/${L}`]]:[...f]}return W}};import{Buffer as GE} from"buffer";import{createHash as WE,createHmac as LE} from"crypto";var yL=function($,U){if(GE.isBuffer($))return $;if(typeof $==="string")return _L($,U);if(ArrayBuffer.isView($))return mU($.buffer,$.byteOffset,$.byteLength);return mU($)};class XE{constructor($,U){this.algorithmIdentifier=$,this.secret=U,this.reset()}update($,U){this.hash.update(dL(yL($,U)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?LE(this.algorithmIdentifier,yL(this.secret)):WE(this.algorithmIdentifier)}}import{fstatSync as ZE,lstatSync as FE} from"fs";var VB=($)=>{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 FE($.path).size;else if(typeof $.fd==="number")return ZE($.fd).size;throw new Error(`Body Length computation failed for ${$}`)};var mL=t(K$(),1);var pL="AWS_EXECUTION_ENV",iU="AWS_REGION",rU="AWS_DEFAULT_REGION",gL="AWS_EC2_METADATA_DISABLED",lL=["in-region","cross-region","mobile","standard","legacy"],sL="/latest/meta-data/placement/region";var nL={environmentVariableSelector:($)=>{return $["AWS_DEFAULTS_MODE"]},configFileSelector:($)=>{return $["defaults_mode"]},default:"legacy"};var SB=({region:$=R0(H4),defaultsMode:U=R0(nL)}={})=>mL.memoize(async()=>{const f=typeof U==="function"?await U():U;switch(f?.toLowerCase()){case"auto":return YE($);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(f?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${lL.join(", ")}, got ${f}`)}}),YE=async($)=>{if($){const U=typeof $==="function"?await $():$,f=await IE();if(!f)return"standard";if(U===f)return"in-region";else return"cross-region"}return"standard"},IE=async()=>{if(process.env[pL]&&(process.env[iU]||process.env[rU]))return process.env[iU]??process.env[rU];if(!process.env[gL])try{const{getInstanceMetadataEndpoint:$,httpRequest:U}=await import("./chunk-827d2c67c03d1a52.js"),f=await $();return(await U({...f,path:sL})).toString()}catch($){}};var kB=($)=>{let U=async()=>{if($.region===void 0)throw new Error("Region is missing from runtimeConfig");const f=$.region;if(typeof f==="string")return f;return f()};return{setRegion(f){U=f},region(){return U}}},cB=($)=>{return{region:$.region()}};export{EE as xa,JE as ya,ME as za,AE as Aa,O4 as Ba,e as Ca,S0 as Da,L0 as Ea,YU as Fa,HJ as Ga,e0 as Ha,kQ as Ia,uQ as Ja,wK as Ka,OK as La,qK as Ma,H4 as Na,sK as Oa,zK as Pa,K3 as Qa,eQ as Ra,H3 as Sa,o3 as Ta,$T as Ua,x4 as Va,v4 as Wa,rT as Xa,oT as Ya,aT as Za,ZV as _a,M6 as $a,tz as ab,IB as bb,XE as cb,VB as db,SB as eb,kB as fb,cB as gb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{tb as s,vb as y,wb as u,xb as C} from"./chunk-dfc390f0bbdf5a81.js";import{Ab as d,Eb as g} from"./chunk-e33c33445a92adf1.js";function c(o){try{const r=new Set(Array.from(o.match(/([A-Z_]){3,}/g)??[]));return r.delete("CONFIG"),r.delete("CONFIG_PREFIX_SEPARATOR"),r.delete("ENV"),[...r].join(", ")}catch(r){return o}}var l=(o,r)=>async()=>{try{const t=o(process.env);if(t===void 0)throw new Error;return t}catch(t){throw new s(t.message||`Not found in ENV: ${c(o.toString())}`,{logger:r})}};var h=(o,{preferredFile:r="config",...t}={})=>async()=>{const e=d(t),{configFile:n,credentialsFile:i}=await g(t),f=i[e]||{},m=n[e]||{},S=r==="config"?{...f,...m}:{...m,...f};try{const p=o(S,r==="config"?n:i);if(p===void 0)throw new Error;return p}catch(a){throw new s(a.message||`Not found in config files w/ profile [${e}]: ${c(o.toString())}`,{logger:t.logger})}};var E=(o)=>typeof o==="function",w=(o)=>E(o)?async()=>await o():u(o);var k=({environmentVariableSelector:o,configFileSelector:r,default:t},e={})=>C(y(l(o),h(r,e),w(t)));function F(o){const r={};if(o=o.replace(/^\?/,""),o)for(let t of o.split("&")){let[e,n=null]=t.split("=");if(e=decodeURIComponent(e),n)n=decodeURIComponent(n);if(!(e in r))r[e]=n;else if(Array.isArray(r[e]))r[e].push(n);else r[e]=[r[e],n]}return r}var N=(o)=>{if(typeof o==="string")return N(new URL(o));const{hostname:r,pathname:t,port:e,protocol:n,search:i}=o;let f;if(i)f=F(i);return{hostname:r,port:e?parseInt(e):void 0,protocol:n,path:t,query:f}};
|
|
2
|
-
export{k as qb,N as rb};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
class n extends Error{constructor(t,e=!0){let o,r=!0;if(typeof e==="boolean")o=void 0,r=e;else if(e!=null&&typeof e==="object")o=e.logger,r=e.tryNextLink??!0;super(t);this.name="ProviderError",this.tryNextLink=r,Object.setPrototypeOf(this,n.prototype),o?.debug?.(`@smithy/property-provider ${r?"->":"(!)"} ${t}`)}static from(t,e=!0){return Object.assign(new this(t.message,e),t)}}class u extends n{constructor(t,e=!0){super(t,e);this.name="CredentialsProviderError",Object.setPrototypeOf(this,u.prototype)}}class l extends n{constructor(t,e=!0){super(t,e);this.name="TokenProviderError",Object.setPrototypeOf(this,l.prototype)}}var v=(...t)=>async()=>{if(t.length===0)throw new n("No providers in chain");let e;for(let o of t)try{return await o()}catch(r){if(e=r,r?.tryNextLink)continue;throw r}throw e};var w=(t)=>()=>Promise.resolve(t);var b=(t,e,o)=>{let r,i,s,f=!1;const a=async()=>{if(!i)i=t();try{r=await i,s=!0,f=!1}finally{i=void 0}return r};if(e===void 0)return async(c)=>{if(!s||c?.forceRefresh)r=await a();return r};return async(c)=>{if(!s||c?.forceRefresh)r=await a();if(f)return r;if(o&&!o(r))return f=!0,r;if(e(r))return await a(),r;return r}};export{n as ib,u as jb,l as kb,v as lb,w as mb,b as nb};
|