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 a,z as M} from"./chunk-7ce930fe69575c87.js";import{C as x,D as hw,E as U8,F as EI,I as rw,J as e4,M as $6} from"./chunk-f2428c56f532e719.js";import{ib as z0} from"./chunk-09dd89e1046786a5.js";import{jb as nU,kb as Z0} from"./chunk-6d04c1ccb3ca8c74.js";import{qb as Vw} from"./chunk-92f6095a3be7f459.js";import{zb as E6} from"./chunk-73eed146ee78f681.js";var w1=M((fz,EU)=>{var WU=function($,w,U){return{applyToStack:(f)=>{f.add(wU($,U),GU),f.add(UU($,w),fU)}}},$1=Object.defineProperty,M6=Object.getOwnPropertyDescriptor,J6=Object.getOwnPropertyNames,K6=Object.prototype.hasOwnProperty,Z$=($,w)=>$1($,"name",{value:w,configurable:!0}),T6=($,w)=>{for(var U in w)$1($,U,{get:w[U],enumerable:!0})},A6=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of J6(w))if(!K6.call($,G)&&G!==U)$1($,G,{get:()=>w[G],enumerable:!(f=M6(w,G))||f.enumerable})}return $},O6=($)=>A6($1({},"__esModule",{value:!0}),$),$U={};T6($U,{deserializerMiddleware:()=>wU,deserializerMiddlewareOption:()=>GU,getSerdePlugin:()=>WU,serializerMiddleware:()=>UU,serializerMiddlewareOption:()=>fU});EU.exports=O6($U);var wU=Z$(($,w)=>(U)=>async(f)=>{const{response:G}=await U(f);try{const W=await w(G,$);return{response:G,output:W}}catch(W){if(Object.defineProperty(W,"$response",{value:G}),!("$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"),UU=Z$(($,w)=>(U,f)=>async(G)=>{var W;const E=((W=f.endpointV2)==null?void 0:W.url)&&$.urlParser?async()=>$.urlParser(f.endpointV2.url):$.endpoint;if(!E)throw new Error("No valid endpoint provider available.");const L=await w(G.input,{...$,endpoint:E});return U({...G,request:L})},"serializerMiddleware"),GU={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},fU={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};Z$(WU,"getSerdePlugin")});var n=M((Wz,ZU)=>{var{defineProperty:U1,getOwnPropertyDescriptor:V6,getOwnPropertyNames:B6}=Object,H6=Object.prototype.hasOwnProperty,RU=($,w)=>U1($,"name",{value:w,configurable:!0}),C6=($,w)=>{for(var U in w)U1($,U,{get:w[U],enumerable:!0})},N6=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of B6(w))if(!H6.call($,G)&&G!==U)U1($,G,{get:()=>w[G],enumerable:!(f=V6(w,G))||f.enumerable})}return $},q6=($)=>N6(U1({},"__esModule",{value:!0}),$),FU={};C6(FU,{getSmithyContext:()=>j6,normalizeProvider:()=>P6});ZU.exports=q6(FU);var LU=z0(),j6=RU(($)=>$[LU.SMITHY_CONTEXT_KEY]||($[LU.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),P6=RU(($)=>{if(typeof $==="function")return $;const w=Promise.resolve($);return()=>w},"normalizeProvider")});var X$=M((Ez,zU)=>{var{defineProperty:G1,getOwnPropertyDescriptor:S6,getOwnPropertyNames:b6}=Object,h6=Object.prototype.hasOwnProperty,E0=($,w)=>G1($,"name",{value:w,configurable:!0}),D6=($,w)=>{for(var U in w)G1($,U,{get:w[U],enumerable:!0})},k6=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of b6(w))if(!h6.call($,G)&&G!==U)G1($,G,{get:()=>w[G],enumerable:!(f=S6(w,G))||f.enumerable})}return $},c6=($)=>k6(G1({},"__esModule",{value:!0}),$),XU={};D6(XU,{CredentialsProviderError:()=>v6,ProviderError:()=>f1,TokenProviderError:()=>x6,chain:()=>y6,fromStatic:()=>u6,memoize:()=>_6});zU.exports=c6(XU);var IU=class $ extends Error{constructor(w,U=!0){var f;let G,W=!0;if(typeof U==="boolean")G=void 0,W=U;else if(U!=null&&typeof U==="object")G=U.logger,W=U.tryNextLink??!0;super(w);this.name="ProviderError",this.tryNextLink=W,Object.setPrototypeOf(this,$.prototype),(f=G==null?void 0:G.debug)==null||f.call(G,`@smithy/property-provider ${W?"->":"(!)"} ${w}`)}static from(w,U=!0){return Object.assign(new this(w.message,U),w)}};E0(IU,"ProviderError");var f1=IU,YU=class $ extends f1{constructor(w,U=!0){super(w,U);this.name="CredentialsProviderError",Object.setPrototypeOf(this,$.prototype)}};E0(YU,"CredentialsProviderError");var v6=YU,QU=class $ extends f1{constructor(w,U=!0){super(w,U);this.name="TokenProviderError",Object.setPrototypeOf(this,$.prototype)}};E0(QU,"TokenProviderError");var x6=QU,y6=E0((...$)=>async()=>{if($.length===0)throw new f1("No providers in chain");let w;for(let U of $)try{return await U()}catch(f){if(w=f,f==null?void 0:f.tryNextLink)continue;throw f}throw w},"chain"),u6=E0(($)=>()=>Promise.resolve($),"fromStatic"),_6=E0(($,w,U)=>{let f,G,W,E=!1;const L=E0(async()=>{if(!G)G=$();try{f=await G,W=!0,E=!1}finally{G=void 0}return f},"coalesceProvider");if(w===void 0)return async(R)=>{if(!W||(R==null?void 0:R.forceRefresh))f=await L();return f};return async(R)=>{if(!W||(R==null?void 0:R.forceRefresh))f=await L();if(E)return f;if(U&&!U(f))return E=!0,f;if(w(f))return await L(),f;return f}},"memoize")});var M0=M((MU)=>{Object.defineProperty(MU,"__esModule",{value:!0});MU.getHomeDir=void 0;var d6=import.meta.require("os"),p6=import.meta.require("path"),I$={},g6=()=>{if(process&&process.geteuid)return`${process.geteuid()}`;return"DEFAULT"},l6=()=>{const{HOME:$,USERPROFILE:w,HOMEPATH:U,HOMEDRIVE:f=`C:${p6.sep}`}=process.env;if($)return $;if(w)return w;if(U)return`${f}${U}`;const G=g6();if(!I$[G])I$[G]=d6.homedir();return I$[G]};MU.getHomeDir=l6});var Y$=M((KU)=>{Object.defineProperty(KU,"__esModule",{value:!0});KU.getSSOTokenFilepath=void 0;var n6=import.meta.require("crypto"),s6=import.meta.require("path"),m6=M0(),i6=($)=>{const U=n6.createHash("sha1").update($).digest("hex");return s6.join(m6.getHomeDir(),".aws","sso","cache",`${U}.json`)};KU.getSSOTokenFilepath=i6});var VU=M((AU)=>{Object.defineProperty(AU,"__esModule",{value:!0});AU.getSSOTokenFromFile=void 0;var r6=import.meta.require("fs"),o6=Y$(),{readFile:t6}=r6.promises,a6=async($)=>{const w=o6.getSSOTokenFilepath($),U=await t6(w,"utf8");return JSON.parse(U)};AU.getSSOTokenFromFile=a6});var z$=M((BU)=>{Object.defineProperty(BU,"__esModule",{value:!0});BU.slurpFile=void 0;var e6=import.meta.require("fs"),{readFile:$R}=e6.promises,Q$={},wR=($,w)=>{if(!Q$[$]||(w===null||w===void 0?void 0:w.ignoreCache))Q$[$]=$R($,"utf8");return Q$[$]};BU.slurpFile=wR});var T$=M((Xz,b0)=>{var{defineProperty:L1,getOwnPropertyDescriptor:UR,getOwnPropertyNames:GR}=Object,fR=Object.prototype.hasOwnProperty,y=($,w)=>L1($,"name",{value:w,configurable:!0}),WR=($,w)=>{for(var U in w)L1($,U,{get:w[U],enumerable:!0})},M$=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of GR(w))if(!fR.call($,G)&&G!==U)L1($,G,{get:()=>w[G],enumerable:!(f=UR(w,G))||f.enumerable})}return $},K$=($,w,U)=>(M$($,w,"default"),U&&M$(U,w,"default")),ER=($)=>M$(L1({},"__esModule",{value:!0}),$),S0={};WR(S0,{CONFIG_PREFIX_SEPARATOR:()=>L0,DEFAULT_PROFILE:()=>jU,ENV_PROFILE:()=>qU,getProfileName:()=>LR,loadSharedConfigFiles:()=>SU,loadSsoSessionData:()=>AR,parseKnownFiles:()=>VR});b0.exports=ER(S0);K$(S0,M0(),b0.exports);var qU="AWS_PROFILE",jU="default",LR=y(($)=>$.profile||process.env[qU]||jU,"getProfileName");K$(S0,Y$(),b0.exports);K$(S0,VU(),b0.exports);var W1=z0(),RR=y(($)=>Object.entries($).filter(([w])=>{const U=w.indexOf(L0);if(U===-1)return!1;return Object.values(W1.IniSectionType).includes(w.substring(0,U))}).reduce((w,[U,f])=>{const G=U.indexOf(L0),W=U.substring(0,G)===W1.IniSectionType.PROFILE?U.substring(G+1):U;return w[W]=f,w},{...$.default&&{default:$.default}}),"getConfigData"),E1=import.meta.require("path"),FR=M0(),ZR="AWS_CONFIG_FILE",PU=y(()=>process.env[ZR]||E1.join(FR.getHomeDir(),".aws","config"),"getConfigFilepath"),XR=M0(),IR="AWS_SHARED_CREDENTIALS_FILE",YR=y(()=>process.env[IR]||E1.join(XR.getHomeDir(),".aws","credentials"),"getCredentialsFilepath"),QR=M0(),zR=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,MR=["__proto__","profile __proto__"],J$=y(($)=>{const w={};let U,f;for(let G of $.split(/\r?\n/)){const W=G.split(/(^|\s)[;#]/)[0].trim();if(W[0]==="["&&W[W.length-1]==="]"){U=void 0,f=void 0;const L=W.substring(1,W.length-1),R=zR.exec(L);if(R){const[,F,,Z]=R;if(Object.values(W1.IniSectionType).includes(F))U=[F,Z].join(L0)}else U=L;if(MR.includes(L))throw new Error(`Found invalid profile name "${L}"`)}else if(U){const L=W.indexOf("=");if(![0,-1].includes(L)){const[R,F]=[W.substring(0,L).trim(),W.substring(L+1).trim()];if(F==="")f=R;else{if(f&&G.trimStart()===G)f=void 0;w[U]=w[U]||{};const Z=f?[f,R].join(L0):R;w[U][Z]=F}}}}return w},"parseIni"),CU=z$(),NU=y(()=>({}),"swallowError"),L0=".",SU=y(async($={})=>{const{filepath:w=YR(),configFilepath:U=PU()}=$,f=QR.getHomeDir();let W=w;if(w.startsWith("~/"))W=E1.join(f,w.slice(2));let E=U;if(U.startsWith("~/"))E=E1.join(f,U.slice(2));const L=await Promise.all([CU.slurpFile(E,{ignoreCache:$.ignoreCache}).then(J$).then(RR).catch(NU),CU.slurpFile(W,{ignoreCache:$.ignoreCache}).then(J$).catch(NU)]);return{configFile:L[0],credentialsFile:L[1]}},"loadSharedConfigFiles"),JR=y(($)=>Object.entries($).filter(([w])=>w.startsWith(W1.IniSectionType.SSO_SESSION+L0)).reduce((w,[U,f])=>({...w,[U.substring(U.indexOf(L0)+1)]:f}),{}),"getSsoSessionData"),KR=z$(),TR=y(()=>({}),"swallowError"),AR=y(async($={})=>KR.slurpFile($.configFilepath??PU()).then(J$).then(JR).catch(TR),"loadSsoSessionData"),OR=y((...$)=>{const w={};for(let U of $)for(let[f,G]of Object.entries(U))if(w[f]!==void 0)Object.assign(w[f],G);else w[f]=G;return w},"mergeConfigFiles"),VR=y(async($)=>{const w=await SU($);return OR(w.configFile,w.credentialsFile)},"parseKnownFiles")});var kU=M((Iz,DU)=>{var A$=function($){try{const w=new Set(Array.from($.match(/([A-Z_]){3,}/g)??[]));return w.delete("CONFIG"),w.delete("CONFIG_PREFIX_SEPARATOR"),w.delete("ENV"),[...w].join(", ")}catch(w){return $}},R1=Object.defineProperty,BR=Object.getOwnPropertyDescriptor,HR=Object.getOwnPropertyNames,CR=Object.prototype.hasOwnProperty,J0=($,w)=>R1($,"name",{value:w,configurable:!0}),NR=($,w)=>{for(var U in w)R1($,U,{get:w[U],enumerable:!0})},qR=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of HR(w))if(!CR.call($,G)&&G!==U)R1($,G,{get:()=>w[G],enumerable:!(f=BR(w,G))||f.enumerable})}return $},jR=($)=>qR(R1({},"__esModule",{value:!0}),$),hU={};NR(hU,{loadConfig:()=>DR});DU.exports=jR(hU);var h0=X$();J0(A$,"getSelectorName");var PR=J0(($,w)=>async()=>{try{const U=$(process.env);if(U===void 0)throw new Error;return U}catch(U){throw new h0.CredentialsProviderError(U.message||`Not found in ENV: ${A$($.toString())}`,{logger:w})}},"fromEnv"),bU=T$(),SR=J0(($,{preferredFile:w="config",...U}={})=>async()=>{const f=bU.getProfileName(U),{configFile:G,credentialsFile:W}=await bU.loadSharedConfigFiles(U),E=W[f]||{},L=G[f]||{},R=w==="config"?{...E,...L}:{...L,...E};try{const Z=$(R,w==="config"?G:W);if(Z===void 0)throw new Error;return Z}catch(F){throw new h0.CredentialsProviderError(F.message||`Not found in config files w/ profile [${f}]: ${A$($.toString())}`,{logger:U.logger})}},"fromSharedConfigFiles"),bR=J0(($)=>typeof $==="function","isFunction"),hR=J0(($)=>bR($)?async()=>await $():h0.fromStatic($),"fromStatic"),DR=J0(({environmentVariableSelector:$,configFileSelector:w,default:U},f={})=>h0.memoize(h0.chain(PR($),SR(w,f),hR(U))),"loadConfig")});var _U=M((yU)=>{Object.defineProperty(yU,"__esModule",{value:!0});yU.getEndpointUrlConfig=void 0;var cU=T$(),vU="AWS_ENDPOINT_URL",xU="endpoint_url",kR=($)=>({environmentVariableSelector:(w)=>{const U=$.split(" ").map((W)=>W.toUpperCase()),f=w[[vU,...U].join("_")];if(f)return f;const G=w[vU];if(G)return G;return},configFileSelector:(w,U)=>{if(U&&w.services){const G=U[["services",w.services].join(cU.CONFIG_PREFIX_SEPARATOR)];if(G){const W=$.split(" ").map((L)=>L.toLowerCase()),E=G[[W.join("_"),xU].join(cU.CONFIG_PREFIX_SEPARATOR)];if(E)return E}}const f=w[xU];if(f)return f;return},default:void 0});yU.getEndpointUrlConfig=kR});var gU=M((dU)=>{Object.defineProperty(dU,"__esModule",{value:!0});dU.getEndpointFromConfig=void 0;var cR=kU(),vR=_U(),xR=async($)=>cR.loadConfig(vR.getEndpointUrlConfig($))();dU.getEndpointFromConfig=xR});var aU=M((zz,tU)=>{var{defineProperty:Z1,getOwnPropertyDescriptor:yR,getOwnPropertyNames:uR}=Object,_R=Object.prototype.hasOwnProperty,d=($,w)=>Z1($,"name",{value:w,configurable:!0}),dR=($,w)=>{for(var U in w)Z1($,U,{get:w[U],enumerable:!0})},pR=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of uR(w))if(!_R.call($,G)&&G!==U)Z1($,G,{get:()=>w[G],enumerable:!(f=yR(w,G))||f.enumerable})}return $},gR=($)=>pR(Z1({},"__esModule",{value:!0}),$),sU={};dR(sU,{endpointMiddleware:()=>rU,endpointMiddlewareOptions:()=>oU,getEndpointFromInstructions:()=>mU,getEndpointPlugin:()=>eR,resolveEndpointConfig:()=>$F,resolveParams:()=>iU,toEndpointV1:()=>O$});tU.exports=gR(sU);var lR=d(async($)=>{const w=($==null?void 0:$.Bucket)||"";if(typeof $.Bucket==="string")$.Bucket=w.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(rR(w)){if($.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!iR(w)||w.indexOf(".")!==-1&&!String($.Endpoint).startsWith("http:")||w.toLowerCase()!==w||w.length<3)$.ForcePathStyle=!0;if($.DisableMultiRegionAccessPoints)$.disableMultiRegionAccessPoints=!0,$.DisableMRAP=!0;return $},"resolveParamsForS3"),nR=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,sR=/(\d+\.){3}\d+/,mR=/\.\./,iR=d(($)=>nR.test($)&&!sR.test($)&&!mR.test($),"isDnsCompatibleBucketName"),rR=d(($)=>{const[w,U,f,,,G]=$.split(":"),W=w==="arn"&&$.split(":").length>=6,E=Boolean(W&&U&&f&&G);if(W&&!E)throw new Error(`Invalid ARN: ${$} was an invalid ARN.`);return E},"isArnBucketName"),oR=d(($,w,U)=>{const f=d(async()=>{const G=U[$]??U[w];if(typeof G==="function")return G();return G},"configProvider");if($==="credentialScope"||w==="CredentialScope")return async()=>{const G=typeof U.credentials==="function"?await U.credentials():U.credentials;return(G==null?void 0:G.credentialScope)??(G==null?void 0:G.CredentialScope)};if($==="accountId"||w==="AccountId")return async()=>{const G=typeof U.credentials==="function"?await U.credentials():U.credentials;return(G==null?void 0:G.accountId)??(G==null?void 0:G.AccountId)};if($==="endpoint"||w==="endpoint")return async()=>{const G=await f();if(G&&typeof G==="object"){if("url"in G)return G.url.href;if("hostname"in G){const{protocol:W,hostname:E,port:L,path:R}=G;return`${W}//${E}${L?":"+L:""}${R}`}}return G};return f},"createConfigValueProvider"),tR=gU(),lU=nU(),O$=d(($)=>{if(typeof $==="object"){if("url"in $)return lU.parseUrl($.url);return $}return lU.parseUrl($)},"toEndpointV1"),mU=d(async($,w,U,f)=>{if(!U.endpoint){const E=await tR.getEndpointFromConfig(U.serviceId||"");if(E)U.endpoint=()=>Promise.resolve(O$(E))}const G=await iU($,w,U);if(typeof U.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return U.endpointProvider(G,f)},"getEndpointFromInstructions"),iU=d(async($,w,U)=>{var f;const G={},W=((f=w==null?void 0:w.getEndpointParameterInstructions)==null?void 0:f.call(w))||{};for(let[E,L]of Object.entries(W))switch(L.type){case"staticContextParams":G[E]=L.value;break;case"contextParams":G[E]=$[L.name];break;case"clientContextParams":case"builtInParams":G[E]=await oR(L.name,E,U)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(L))}if(Object.keys(W).length===0)Object.assign(G,U);if(String(U.serviceId).toLowerCase()==="s3")await lR(G);return G},"resolveParams"),F1=n(),rU=d(({config:$,instructions:w})=>{return(U,f)=>async(G)=>{var W,E,L;const R=await mU(G.input,{getEndpointParameterInstructions(){return w}},{...$},f);f.endpointV2=R,f.authSchemes=(W=R.properties)==null?void 0:W.authSchemes;const F=(E=f.authSchemes)==null?void 0:E[0];if(F){f.signing_region=F.signingRegion,f.signing_service=F.signingName;const Z=F1.getSmithyContext(f),X=(L=Z==null?void 0:Z.selectedHttpAuthScheme)==null?void 0:L.httpAuthOption;if(X)X.signingProperties=Object.assign(X.signingProperties||{},{signing_region:F.signingRegion,signingRegion:F.signingRegion,signing_service:F.signingName,signingName:F.signingName,signingRegionSet:F.signingRegionSet},F.properties)}return U({...G})}},"endpointMiddleware"),aR=w1(),oU={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:aR.serializerMiddlewareOption.name},eR=d(($,w)=>({applyToStack:(U)=>{U.addRelativeTo(rU({config:$,instructions:w}),oU)}}),"getEndpointPlugin"),$F=d(($)=>{const w=$.tls??!0,{endpoint:U}=$,f=U!=null?async()=>O$(await F1.normalizeProvider(U)()):void 0;return{...$,endpoint:f,tls:w,isCustomEndpoint:!!U,useDualstackEndpoint:F1.normalizeProvider($.useDualstackEndpoint??!1),useFipsEndpoint:F1.normalizeProvider($.useFipsEndpoint??!1)}},"resolveEndpointConfig")});var i=M((Mz,LG)=>{var fG=function($){return Object.keys($).reduce((w,U)=>{const f=$[U];return{...w,[U]:Array.isArray(f)?[...f]:f}},{})},EG=function($){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test($)},X1=Object.defineProperty,wF=Object.getOwnPropertyDescriptor,UF=Object.getOwnPropertyNames,GF=Object.prototype.hasOwnProperty,e=($,w)=>X1($,"name",{value:w,configurable:!0}),fF=($,w)=>{for(var U in w)X1($,U,{get:w[U],enumerable:!0})},WF=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of UF(w))if(!GF.call($,G)&&G!==U)X1($,G,{get:()=>w[G],enumerable:!(f=wF(w,G))||f.enumerable})}return $},EF=($)=>WF(X1({},"__esModule",{value:!0}),$),eU={};fF(eU,{Field:()=>FF,Fields:()=>ZF,HttpRequest:()=>XF,HttpResponse:()=>IF,IHttpRequest:()=>$G.HttpRequest,getHttpHandlerExtensionConfiguration:()=>LF,isValidHostname:()=>EG,resolveHttpHandlerRuntimeConfig:()=>RF});LG.exports=EF(eU);var LF=e(($)=>{let w=$.httpHandler;return{setHttpHandler(U){w=U},httpHandler(){return w},updateHttpClientConfig(U,f){w.updateHttpClientConfig(U,f)},httpHandlerConfigs(){return w.httpHandlerConfigs()}}},"getHttpHandlerExtensionConfiguration"),RF=e(($)=>{return{httpHandler:$.httpHandler()}},"resolveHttpHandlerRuntimeConfig"),$G=z0(),wG=class ${constructor({name:w,kind:U=$G.FieldPosition.HEADER,values:f=[]}){this.name=w,this.kind=U,this.values=f}add(w){this.values.push(w)}set(w){this.values=w}remove(w){this.values=this.values.filter((U)=>U!==w)}toString(){return this.values.map((w)=>w.includes(",")||w.includes(" ")?`"${w}"`:w).join(", ")}get(){return this.values}};e(wG,"Field");var FF=wG,UG=class ${constructor({fields:w=[],encoding:U="utf-8"}){this.entries={},w.forEach(this.setField.bind(this)),this.encoding=U}setField(w){this.entries[w.name.toLowerCase()]=w}getField(w){return this.entries[w.toLowerCase()]}removeField(w){delete this.entries[w.toLowerCase()]}getByType(w){return Object.values(this.entries).filter((U)=>U.kind===w)}};e(UG,"Fields");var ZF=UG,GG=class ${constructor(w){this.method=w.method||"GET",this.hostname=w.hostname||"localhost",this.port=w.port,this.query=w.query||{},this.headers=w.headers||{},this.body=w.body,this.protocol=w.protocol?w.protocol.slice(-1)!==":"?`${w.protocol}:`:w.protocol:"https:",this.path=w.path?w.path.charAt(0)!=="/"?`/${w.path}`:w.path:"/",this.username=w.username,this.password=w.password,this.fragment=w.fragment}static clone(w){const U=new $({...w,headers:{...w.headers}});if(U.query)U.query=fG(U.query);return U}static isInstance(w){if(!w)return!1;const U=w;return"method"in U&&"protocol"in U&&"hostname"in U&&"path"in U&&typeof U.query==="object"&&typeof U.headers==="object"}clone(){return $.clone(this)}};e(GG,"HttpRequest");var XF=GG;e(fG,"cloneQuery");var WG=class ${constructor(w){this.statusCode=w.statusCode,this.reason=w.reason,this.headers=w.headers||{},this.body=w.body}static isInstance(w){if(!w)return!1;const U=w;return typeof U.statusCode==="number"&&typeof U.headers==="object"}};e(WG,"HttpResponse");var IF=WG;e(EG,"isValidHostname")});var V$=M((RG)=>{var QF=function($){return $&&$.__esModule?$:{default:$}},zF=function(){if(I1>Y1.length-16)YF.default.randomFillSync(Y1),I1=0;return Y1.slice(I1,I1+=16)};Object.defineProperty(RG,"__esModule",{value:!0});RG.default=zF;var YF=QF(import.meta.require("crypto")),Y1=new Uint8Array(256),I1=Y1.length});var XG=M((FG)=>{Object.defineProperty(FG,"__esModule",{value:!0});FG.default=void 0;var JF=/^(?:[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;FG.default=JF});var D0=M((IG)=>{var TF=function($){return $&&$.__esModule?$:{default:$}},AF=function($){return typeof $==="string"&&KF.default.test($)};Object.defineProperty(IG,"__esModule",{value:!0});IG.default=void 0;var KF=TF(XG()),OF=AF;IG.default=OF});var k0=M((zG)=>{var BF=function($){return $&&$.__esModule?$:{default:$}},QG=function($,w=0){return h[$[w+0]]+h[$[w+1]]+h[$[w+2]]+h[$[w+3]]+"-"+h[$[w+4]]+h[$[w+5]]+"-"+h[$[w+6]]+h[$[w+7]]+"-"+h[$[w+8]]+h[$[w+9]]+"-"+h[$[w+10]]+h[$[w+11]]+h[$[w+12]]+h[$[w+13]]+h[$[w+14]]+h[$[w+15]]},HF=function($,w=0){const U=QG($,w);if(!VF.default(U))throw TypeError("Stringified UUID is invalid");return U};Object.defineProperty(zG,"__esModule",{value:!0});zG.default=void 0;zG.unsafeStringify=QG;var VF=BF(D0()),h=[];for(let $=0;$<256;++$)h.push(($+256).toString(16).slice(1));var CF=HF;zG.default=CF});var AG=M((KG)=>{var PF=function($){return $&&$.__esModule?$:{default:$}},SF=function($,w,U){let f=w&&U||0;const G=w||new Array(16);$=$||{};let W=$.node||JG,E=$.clockseq!==void 0?$.clockseq:B$;if(W==null||E==null){const Y=$.random||($.rng||qF.default)();if(W==null)W=JG=[Y[0]|1,Y[1],Y[2],Y[3],Y[4],Y[5]];if(E==null)E=B$=(Y[6]<<8|Y[7])&16383}let L=$.msecs!==void 0?$.msecs:Date.now(),R=$.nsecs!==void 0?$.nsecs:C$+1;const F=L-H$+(R-C$)/1e4;if(F<0&&$.clockseq===void 0)E=E+1&16383;if((F<0||L>H$)&&$.nsecs===void 0)R=0;if(R>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");H$=L,C$=R,B$=E,L+=12219292800000;const Z=((L&268435455)*1e4+R)%4294967296;G[f++]=Z>>>24&255,G[f++]=Z>>>16&255,G[f++]=Z>>>8&255,G[f++]=Z&255;const X=L/4294967296*1e4&268435455;G[f++]=X>>>8&255,G[f++]=X&255,G[f++]=X>>>24&15|16,G[f++]=X>>>16&255,G[f++]=E>>>8|128,G[f++]=E&255;for(let Y=0;Y<6;++Y)G[f+Y]=W[Y];return w||jF.unsafeStringify(G)};Object.defineProperty(KG,"__esModule",{value:!0});KG.default=void 0;var qF=PF(V$()),jF=k0(),JG,B$,H$=0,C$=0,bF=SF;KG.default=bF});var N$=M((OG)=>{var DF=function($){return $&&$.__esModule?$:{default:$}},kF=function($){if(!hF.default($))throw TypeError("Invalid UUID");let w;const U=new Uint8Array(16);return U[0]=(w=parseInt($.slice(0,8),16))>>>24,U[1]=w>>>16&255,U[2]=w>>>8&255,U[3]=w&255,U[4]=(w=parseInt($.slice(9,13),16))>>>8,U[5]=w&255,U[6]=(w=parseInt($.slice(14,18),16))>>>8,U[7]=w&255,U[8]=(w=parseInt($.slice(19,23),16))>>>8,U[9]=w&255,U[10]=(w=parseInt($.slice(24,36),16))/1099511627776&255,U[11]=w/4294967296&255,U[12]=w>>>24&255,U[13]=w>>>16&255,U[14]=w>>>8&255,U[15]=w&255,U};Object.defineProperty(OG,"__esModule",{value:!0});OG.default=void 0;var hF=DF(D0()),cF=kF;OG.default=cF});var q$=M((CG)=>{var yF=function($){return $&&$.__esModule?$:{default:$}},uF=function($){$=unescape(encodeURIComponent($));const w=[];for(let U=0;U<$.length;++U)w.push($.charCodeAt(U));return w},_F=function($,w,U){function f(G,W,E,L){var R;if(typeof G==="string")G=uF(G);if(typeof W==="string")W=xF.default(W);if(((R=W)===null||R===void 0?void 0:R.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let F=new Uint8Array(16+G.length);if(F.set(W),F.set(G,W.length),F=U(F),F[6]=F[6]&15|w,F[8]=F[8]&63|128,E){L=L||0;for(let Z=0;Z<16;++Z)E[L+Z]=F[Z];return E}return vF.unsafeStringify(F)}try{f.name=$}catch(G){}return f.DNS=BG,f.URL=HG,f};Object.defineProperty(CG,"__esModule",{value:!0});CG.URL=CG.DNS=void 0;CG.default=_F;var vF=k0(),xF=yF(N$()),BG="6ba7b810-9dad-11d1-80b4-00c04fd430c8";CG.DNS=BG;var HG="6ba7b811-9dad-11d1-80b4-00c04fd430c8";CG.URL=HG});var PG=M((qG)=>{var lF=function($){return $&&$.__esModule?$:{default:$}},nF=function($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return gF.default.createHash("md5").update($).digest()};Object.defineProperty(qG,"__esModule",{value:!0});qG.default=void 0;var gF=lF(import.meta.require("crypto")),sF=nF;qG.default=sF});var DG=M((bG)=>{var SG=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(bG,"__esModule",{value:!0});bG.default=void 0;var mF=SG(q$()),iF=SG(PG()),rF=mF.default("v3",48,iF.default),oF=rF;bG.default=oF});var vG=M((kG)=>{var aF=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(kG,"__esModule",{value:!0});kG.default=void 0;var tF=aF(import.meta.require("crypto")),eF={randomUUID:tF.default.randomUUID};kG.default=eF});var dG=M((uG)=>{var yG=function($){return $&&$.__esModule?$:{default:$}},U2=function($,w,U){if(xG.default.randomUUID&&!w&&!$)return xG.default.randomUUID();$=$||{};const f=$.random||($.rng||$2.default)();if(f[6]=f[6]&15|64,f[8]=f[8]&63|128,w){U=U||0;for(let G=0;G<16;++G)w[U+G]=f[G];return w}return w2.unsafeStringify(f)};Object.defineProperty(uG,"__esModule",{value:!0});uG.default=void 0;var xG=yG(vG()),$2=yG(V$()),w2=k0(),G2=U2;uG.default=G2});var lG=M((pG)=>{var W2=function($){return $&&$.__esModule?$:{default:$}},E2=function($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return f2.default.createHash("sha1").update($).digest()};Object.defineProperty(pG,"__esModule",{value:!0});pG.default=void 0;var f2=W2(import.meta.require("crypto")),L2=E2;pG.default=L2});var iG=M((sG)=>{var nG=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(sG,"__esModule",{value:!0});sG.default=void 0;var R2=nG(q$()),F2=nG(lG()),Z2=R2.default("v5",80,F2.default),X2=Z2;sG.default=X2});var tG=M((rG)=>{Object.defineProperty(rG,"__esModule",{value:!0});rG.default=void 0;var I2="00000000-0000-0000-0000-000000000000";rG.default=I2});var $f=M((aG)=>{var Q2=function($){return $&&$.__esModule?$:{default:$}},z2=function($){if(!Y2.default($))throw TypeError("Invalid UUID");return parseInt($.slice(14,15),16)};Object.defineProperty(aG,"__esModule",{value:!0});aG.default=void 0;var Y2=Q2(D0()),M2=z2;aG.default=M2});var j$=M((p)=>{var r=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(p,"__esModule",{value:!0});Object.defineProperty(p,"NIL",{enumerable:!0,get:function(){return O2.default}});Object.defineProperty(p,"parse",{enumerable:!0,get:function(){return C2.default}});Object.defineProperty(p,"stringify",{enumerable:!0,get:function(){return H2.default}});Object.defineProperty(p,"v1",{enumerable:!0,get:function(){return J2.default}});Object.defineProperty(p,"v3",{enumerable:!0,get:function(){return K2.default}});Object.defineProperty(p,"v4",{enumerable:!0,get:function(){return T2.default}});Object.defineProperty(p,"v5",{enumerable:!0,get:function(){return A2.default}});Object.defineProperty(p,"validate",{enumerable:!0,get:function(){return B2.default}});Object.defineProperty(p,"version",{enumerable:!0,get:function(){return V2.default}});var J2=r(AG()),K2=r(DG()),T2=r(dG()),A2=r(iG()),O2=r(tG()),V2=r($f()),B2=r(D0()),H2=r(k0()),C2=r(N$())});var P$=M((Dz,ff)=>{var{defineProperty:Q1,getOwnPropertyDescriptor:N2,getOwnPropertyNames:q2}=Object,j2=Object.prototype.hasOwnProperty,K0=($,w)=>Q1($,"name",{value:w,configurable:!0}),P2=($,w)=>{for(var U in w)Q1($,U,{get:w[U],enumerable:!0})},S2=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of q2(w))if(!j2.call($,G)&&G!==U)Q1($,G,{get:()=>w[G],enumerable:!(f=N2(w,G))||f.enumerable})}return $},b2=($)=>S2(Q1({},"__esModule",{value:!0}),$),wf={};P2(wf,{isClockSkewCorrectedError:()=>Uf,isClockSkewError:()=>y2,isRetryableByTrait:()=>x2,isServerError:()=>_2,isThrottlingError:()=>u2,isTransientError:()=>Gf});ff.exports=b2(wf);var h2=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],D2=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],k2=["TimeoutError","RequestTimeout","RequestTimeoutException"],c2=[500,502,503,504],v2=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],x2=K0(($)=>$.$retryable!==void 0,"isRetryableByTrait"),y2=K0(($)=>h2.includes($.name),"isClockSkewError"),Uf=K0(($)=>{var w;return(w=$.$metadata)==null?void 0:w.clockSkewCorrected},"isClockSkewCorrectedError"),u2=K0(($)=>{var w,U;return((w=$.$metadata)==null?void 0:w.httpStatusCode)===429||D2.includes($.name)||((U=$.$retryable)==null?void 0:U.throttling)==!0},"isThrottlingError"),Gf=K0(($)=>{var w;return Uf($)||k2.includes($.name)||v2.includes(($==null?void 0:$.code)||"")||c2.includes(((w=$.$metadata)==null?void 0:w.httpStatusCode)||0)},"isTransientError"),_2=K0(($)=>{var w;if(((w=$.$metadata)==null?void 0:w.httpStatusCode)!==void 0){const U=$.$metadata.httpStatusCode;if(500<=U&&U<=599&&!Gf($))return!0;return!1}return!1},"isServerError")});var Kf=M((kz,Jf)=>{var{defineProperty:z1,getOwnPropertyDescriptor:d2,getOwnPropertyNames:p2}=Object,g2=Object.prototype.hasOwnProperty,g=($,w)=>z1($,"name",{value:w,configurable:!0}),l2=($,w)=>{for(var U in w)z1($,U,{get:w[U],enumerable:!0})},n2=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of p2(w))if(!g2.call($,G)&&G!==U)z1($,G,{get:()=>w[G],enumerable:!(f=d2(w,G))||f.enumerable})}return $},s2=($)=>n2(z1({},"__esModule",{value:!0}),$),Ef={};l2(Ef,{AdaptiveRetryStrategy:()=>a2,ConfiguredRetryStrategy:()=>e2,DEFAULT_MAX_ATTEMPTS:()=>S$,DEFAULT_RETRY_DELAY_BASE:()=>c0,DEFAULT_RETRY_MODE:()=>m2,DefaultRateLimiter:()=>Ff,INITIAL_RETRY_TOKENS:()=>b$,INVOCATION_ID_HEADER:()=>r2,MAXIMUM_RETRY_DELAY:()=>h$,NO_RETRY_INCREMENT:()=>Yf,REQUEST_HEADER:()=>o2,RETRY_COST:()=>Xf,RETRY_MODES:()=>Lf,StandardRetryStrategy:()=>D$,THROTTLING_RETRY_DELAY_BASE:()=>Zf,TIMEOUT_RETRY_COST:()=>If});Jf.exports=s2(Ef);var Lf=(($)=>{return $.STANDARD="standard",$.ADAPTIVE="adaptive",$})(Lf||{}),S$=3,m2="standard",i2=P$(),Rf=class ${constructor(w){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=(w==null?void 0:w.beta)??0.7,this.minCapacity=(w==null?void 0:w.minCapacity)??1,this.minFillRate=(w==null?void 0:w.minFillRate)??0.5,this.scaleConstant=(w==null?void 0:w.scaleConstant)??0.4,this.smooth=(w==null?void 0:w.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(w){if(!this.enabled)return;if(this.refillTokenBucket(),w>this.currentCapacity){const U=(w-this.currentCapacity)/this.fillRate*1000;await new Promise((f)=>setTimeout(f,U))}this.currentCapacity=this.currentCapacity-w}refillTokenBucket(){const w=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=w;return}const U=(w-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+U),this.lastTimestamp=w}updateClientSendingRate(w){let U;if(this.updateMeasuredRate(),i2.isThrottlingError(w)){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(w){return this.getPrecise(w*this.beta)}cubicSuccess(w){return this.getPrecise(this.scaleConstant*Math.pow(w-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(w){this.refillTokenBucket(),this.fillRate=Math.max(w,this.minFillRate),this.maxCapacity=Math.max(w,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const w=this.getCurrentTimeInSeconds(),U=Math.floor(w*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(w){return parseFloat(w.toFixed(8))}};g(Rf,"DefaultRateLimiter");var Ff=Rf,c0=100,h$=20000,Zf=500,b$=500,Xf=5,If=10,Yf=1,r2="amz-sdk-invocation-id",o2="amz-sdk-request",t2=g(()=>{let $=c0;return{computeNextBackoffDelay:g((f)=>{return Math.floor(Math.min(h$,Math.random()*2**f*$))},"computeNextBackoffDelay"),setDelayBase:g((f)=>{$=f},"setDelayBase")}},"getDefaultRetryBackoffStrategy"),Wf=g(({retryDelay:$,retryCount:w,retryCost:U})=>{return{getRetryCount:g(()=>w,"getRetryCount"),getRetryDelay:g(()=>Math.min(h$,$),"getRetryDelay"),getRetryCost:g(()=>U,"getRetryCost")}},"createDefaultRetryToken"),Qf=class ${constructor(w){this.maxAttempts=w,this.mode="standard",this.capacity=b$,this.retryBackoffStrategy=t2(),this.maxAttemptsProvider=typeof w==="function"?w:async()=>w}async acquireInitialRetryToken(w){return Wf({retryDelay:c0,retryCount:0})}async refreshRetryTokenForRetry(w,U){const f=await this.getMaxAttempts();if(this.shouldRetry(w,U,f)){const G=U.errorType;this.retryBackoffStrategy.setDelayBase(G==="THROTTLING"?Zf:c0);const W=this.retryBackoffStrategy.computeNextBackoffDelay(w.getRetryCount()),E=U.retryAfterHint?Math.max(U.retryAfterHint.getTime()-Date.now()||0,W):W,L=this.getCapacityCost(G);return this.capacity-=L,Wf({retryDelay:E,retryCount:w.getRetryCount()+1,retryCost:L})}throw new Error("No retry token available")}recordSuccess(w){this.capacity=Math.max(b$,this.capacity+(w.getRetryCost()??Yf))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(w){return console.warn(`Max attempts provider could not resolve. Using default of ${S$}`),S$}}shouldRetry(w,U,f){return w.getRetryCount()+1<f&&this.capacity>=this.getCapacityCost(U.errorType)&&this.isRetryableError(U.errorType)}getCapacityCost(w){return w==="TRANSIENT"?If:Xf}isRetryableError(w){return w==="THROTTLING"||w==="TRANSIENT"}};g(Qf,"StandardRetryStrategy");var D$=Qf,zf=class ${constructor(w,U){this.maxAttemptsProvider=w,this.mode="adaptive";const{rateLimiter:f}=U??{};this.rateLimiter=f??new Ff,this.standardRetryStrategy=new D$(w)}async acquireInitialRetryToken(w){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(w)}async refreshRetryTokenForRetry(w,U){return this.rateLimiter.updateClientSendingRate(U),this.standardRetryStrategy.refreshRetryTokenForRetry(w,U)}recordSuccess(w){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(w)}};g(zf,"AdaptiveRetryStrategy");var a2=zf,Mf=class $ extends D${constructor(w,U=c0){super(typeof w==="function"?w:async()=>w);if(typeof U==="number")this.computeNextBackoffDelay=()=>U;else this.computeNextBackoffDelay=U}async refreshRetryTokenForRetry(w,U){const f=await super.refreshRetryTokenForRetry(w,U);return f.getRetryDelay=()=>this.computeNextBackoffDelay(f.getRetryCount()),f}};g(Mf,"ConfiguredRetryStrategy");var e2=Mf});var k$=M((cz,Af)=>{var{defineProperty:M1,getOwnPropertyDescriptor:$Z,getOwnPropertyNames:wZ}=Object,UZ=Object.prototype.hasOwnProperty,GZ=($,w)=>M1($,"name",{value:w,configurable:!0}),fZ=($,w)=>{for(var U in w)M1($,U,{get:w[U],enumerable:!0})},WZ=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of wZ(w))if(!UZ.call($,G)&&G!==U)M1($,G,{get:()=>w[G],enumerable:!(f=$Z(w,G))||f.enumerable})}return $},EZ=($)=>WZ(M1({},"__esModule",{value:!0}),$),Tf={};fZ(Tf,{isArrayBuffer:()=>LZ});Af.exports=EZ(Tf);var LZ=GZ(($)=>typeof ArrayBuffer==="function"&&$ instanceof ArrayBuffer||Object.prototype.toString.call($)==="[object ArrayBuffer]","isArrayBuffer")});var v0=M((vz,Bf)=>{var{defineProperty:J1,getOwnPropertyDescriptor:RZ,getOwnPropertyNames:FZ}=Object,ZZ=Object.prototype.hasOwnProperty,Of=($,w)=>J1($,"name",{value:w,configurable:!0}),XZ=($,w)=>{for(var U in w)J1($,U,{get:w[U],enumerable:!0})},IZ=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of FZ(w))if(!ZZ.call($,G)&&G!==U)J1($,G,{get:()=>w[G],enumerable:!(f=RZ(w,G))||f.enumerable})}return $},YZ=($)=>IZ(J1({},"__esModule",{value:!0}),$),Vf={};XZ(Vf,{fromArrayBuffer:()=>zZ,fromString:()=>MZ});Bf.exports=YZ(Vf);var QZ=k$(),c$=import.meta.require("buffer"),zZ=Of(($,w=0,U=$.byteLength-w)=>{if(!QZ.isArrayBuffer($))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof $} (${$})`);return c$.Buffer.from($,w,U)},"fromArrayBuffer"),MZ=Of(($,w)=>{if(typeof $!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof $} (${$})`);return w?c$.Buffer.from($,w):c$.Buffer.from($)},"fromString")});var Nf=M((Hf)=>{Object.defineProperty(Hf,"__esModule",{value:!0});Hf.fromBase64=void 0;var JZ=v0(),KZ=/^[A-Za-z0-9+/]*={0,2}$/,TZ=($)=>{if($.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!KZ.exec($))throw new TypeError("Invalid base64 string.");const w=JZ.fromString($,"base64");return new Uint8Array(w.buffer,w.byteOffset,w.byteLength)};Hf.fromBase64=TZ});var $0=M((yz,Sf)=>{var{defineProperty:K1,getOwnPropertyDescriptor:AZ,getOwnPropertyNames:OZ}=Object,VZ=Object.prototype.hasOwnProperty,v$=($,w)=>K1($,"name",{value:w,configurable:!0}),BZ=($,w)=>{for(var U in w)K1($,U,{get:w[U],enumerable:!0})},HZ=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of OZ(w))if(!VZ.call($,G)&&G!==U)K1($,G,{get:()=>w[G],enumerable:!(f=AZ(w,G))||f.enumerable})}return $},CZ=($)=>HZ(K1({},"__esModule",{value:!0}),$),qf={};BZ(qf,{fromUtf8:()=>Pf,toUint8Array:()=>NZ,toUtf8:()=>qZ});Sf.exports=CZ(qf);var jf=v0(),Pf=v$(($)=>{const w=jf.fromString($,"utf8");return new Uint8Array(w.buffer,w.byteOffset,w.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),NZ=v$(($)=>{if(typeof $==="string")return Pf($);if(ArrayBuffer.isView($))return new Uint8Array($.buffer,$.byteOffset,$.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array($)},"toUint8Array"),qZ=v$(($)=>{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 jf.fromArrayBuffer($.buffer,$.byteOffset,$.byteLength).toString("utf8")},"toUtf8")});var Df=M((bf)=>{Object.defineProperty(bf,"__esModule",{value:!0});bf.toBase64=void 0;var jZ=v0(),PZ=$0(),SZ=($)=>{let w;if(typeof $==="string")w=PZ.fromUtf8($);else w=$;if(typeof w!=="object"||typeof w.byteOffset!=="number"||typeof w.byteLength!=="number")throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return jZ.fromArrayBuffer(w.buffer,w.byteOffset,w.byteLength).toString("base64")};bf.toBase64=SZ});var A1=M((_z,T1)=>{var{defineProperty:kf,getOwnPropertyDescriptor:bZ,getOwnPropertyNames:hZ}=Object,DZ=Object.prototype.hasOwnProperty,x$=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of hZ(w))if(!DZ.call($,G)&&G!==U)kf($,G,{get:()=>w[G],enumerable:!(f=bZ(w,G))||f.enumerable})}return $},cf=($,w,U)=>(x$($,w,"default"),U&&x$(U,w,"default")),kZ=($)=>x$(kf({},"__esModule",{value:!0}),$),y$={};T1.exports=kZ(y$);cf(y$,Nf(),T1.exports);cf(y$,Df(),T1.exports)});var yf=M((vf)=>{Object.defineProperty(vf,"__esModule",{value:!0});vf.getAwsChunkedEncodingStream=void 0;var cZ=import.meta.require("stream"),vZ=($,w)=>{const{base64Encoder:U,bodyLengthChecker:f,checksumAlgorithmFn:G,checksumLocationName:W,streamHasher:E}=w,L=U!==void 0&&G!==void 0&&W!==void 0&&E!==void 0,R=L?E(G,$):void 0,F=new cZ.Readable({read:()=>{}});return $.on("data",(Z)=>{const X=f(Z)||0;F.push(`${X.toString(16)}\r\n`),F.push(Z),F.push("\r\n")}),$.on("end",async()=>{if(F.push("0\r\n"),L){const Z=U(await R);F.push(`${W}:${Z}\r\n`),F.push("\r\n")}F.push(null)}),F};vf.getAwsChunkedEncodingStream=vZ});var _$=M((pz,df)=>{var{defineProperty:O1,getOwnPropertyDescriptor:xZ,getOwnPropertyNames:yZ}=Object,uZ=Object.prototype.hasOwnProperty,u$=($,w)=>O1($,"name",{value:w,configurable:!0}),_Z=($,w)=>{for(var U in w)O1($,U,{get:w[U],enumerable:!0})},dZ=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of yZ(w))if(!uZ.call($,G)&&G!==U)O1($,G,{get:()=>w[G],enumerable:!(f=xZ(w,G))||f.enumerable})}return $},pZ=($)=>dZ(O1({},"__esModule",{value:!0}),$),uf={};_Z(uf,{escapeUri:()=>_f,escapeUriPath:()=>lZ});df.exports=pZ(uf);var _f=u$(($)=>encodeURIComponent($).replace(/[!'()*]/g,gZ),"escapeUri"),gZ=u$(($)=>`%${$.charCodeAt(0).toString(16).toUpperCase()}`,"hexEncode"),lZ=u$(($)=>$.split("/").map(_f).join("/"),"escapeUriPath")});var p$=M((gz,lf)=>{var gf=function($){const w=[];for(let U of Object.keys($).sort()){const f=$[U];if(U=d$.escapeUri(U),Array.isArray(f))for(let G=0,W=f.length;G<W;G++)w.push(`${U}=${d$.escapeUri(f[G])}`);else{let G=U;if(f||typeof f==="string")G+=`=${d$.escapeUri(f)}`;w.push(G)}}return w.join("&")},V1=Object.defineProperty,nZ=Object.getOwnPropertyDescriptor,sZ=Object.getOwnPropertyNames,mZ=Object.prototype.hasOwnProperty,iZ=($,w)=>V1($,"name",{value:w,configurable:!0}),rZ=($,w)=>{for(var U in w)V1($,U,{get:w[U],enumerable:!0})},oZ=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of sZ(w))if(!mZ.call($,G)&&G!==U)V1($,G,{get:()=>w[G],enumerable:!(f=nZ(w,G))||f.enumerable})}return $},tZ=($)=>oZ(V1({},"__esModule",{value:!0}),$),pf={};rZ(pf,{buildQueryString:()=>gf});lf.exports=tZ(pf);var d$=_$();iZ(gf,"buildQueryString")});var RW=M((lz,LW)=>{async function n$($,w,U=nf){const f=w.headers??{},G=f.Expect||f.expect;let W=-1,E=!1;if(G==="100-continue")await Promise.race([new Promise((L)=>{W=Number(setTimeout(L,Math.max(nf,U)))}),new Promise((L)=>{$.on("continue",()=>{clearTimeout(W),L()}),$.on("error",()=>{E=!0,clearTimeout(W),L()})})]);if(!E)$W($,w.body)}var $W=function($,w){if(w instanceof ef.Readable){w.pipe($);return}if(w){if(Buffer.isBuffer(w)||typeof w==="string"){$.end(w);return}const U=w;if(typeof U==="object"&&U.buffer&&typeof U.byteOffset==="number"&&typeof U.byteLength==="number"){$.end(Buffer.from(U.buffer,U.byteOffset,U.byteLength));return}$.end(Buffer.from(w));return}$.end()};async function EW($){const w=[],U=$.getReader();let f=!1,G=0;while(!f){const{done:L,value:R}=await U.read();if(R)w.push(R),G+=R.length;f=L}const W=new Uint8Array(G);let E=0;for(let L of w)W.set(L,E),E+=L.length;return W}var{create:aZ,defineProperty:x0,getOwnPropertyDescriptor:eZ,getOwnPropertyNames:$X,getPrototypeOf:wX}=Object,UX=Object.prototype.hasOwnProperty,q=($,w)=>x0($,"name",{value:w,configurable:!0}),GX=($,w)=>{for(var U in w)x0($,U,{get:w[U],enumerable:!0})},mf=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of $X(w))if(!UX.call($,G)&&G!==U)x0($,G,{get:()=>w[G],enumerable:!(f=eZ(w,G))||f.enumerable})}return $},fX=($,w,U)=>(U=$!=null?aZ(wX($)):{},mf(w||!$||!$.__esModule?x0(U,"default",{value:$,enumerable:!0}):U,$)),WX=($)=>mf(x0({},"__esModule",{value:!0}),$),rf={};GX(rf,{DEFAULT_REQUEST_TIMEOUT:()=>ZX,NodeHttp2Handler:()=>zX,NodeHttpHandler:()=>XX,streamCollector:()=>JX});LW.exports=WX(rf);var of=i(),tf=p$(),g$=import.meta.require("http"),l$=import.meta.require("https"),EX=["ECONNRESET","EPIPE","ETIMEDOUT"],af=q(($)=>{const w={};for(let U of Object.keys($)){const f=$[U];w[U]=Array.isArray(f)?f.join(","):f}return w},"getTransformedHeaders"),LX=q(($,w,U=0)=>{if(!U)return;const f=setTimeout(()=>{$.destroy(),w(Object.assign(new Error(`Socket timed out without establishing a connection within ${U} ms`),{name:"TimeoutError"}))},U);$.on("socket",(G)=>{if(G.connecting)G.on("connect",()=>{clearTimeout(f)});else clearTimeout(f)})},"setConnectionTimeout"),RX=q(($,{keepAlive:w,keepAliveMsecs:U})=>{if(w!==!0)return;$.on("socket",(f)=>{f.setKeepAlive(w,U||0)})},"setSocketKeepAlive"),FX=q(($,w,U=0)=>{$.setTimeout(U,()=>{$.destroy(),w(Object.assign(new Error(`Connection timed out after ${U} ms`),{name:"TimeoutError"}))})},"setSocketTimeout"),ef=import.meta.require("stream"),nf=1000;q(n$,"writeRequestBody");q($W,"writeBody");var ZX=0,wW=class ${constructor(w){this.socketWarningTimestamp=0,this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((U,f)=>{if(typeof w==="function")w().then((G)=>{U(this.resolveDefaultConfig(G))}).catch(f);else U(this.resolveDefaultConfig(w))})}static create(w){if(typeof(w==null?void 0:w.handle)==="function")return w;return new $(w)}static checkSocketUsage(w,U,f=console){var G,W,E;const{sockets:L,requests:R,maxSockets:F}=w;if(typeof F!=="number"||F===Infinity)return U;const Z=15000;if(Date.now()-Z<U)return U;if(L&&R)for(let X in L){const Y=((G=L[X])==null?void 0:G.length)??0,I=((W=R[X])==null?void 0:W.length)??0;if(Y>=F&&I>=2*F)return(E=f==null?void 0:f.warn)==null||E.call(f,`@smithy/node-http-handler:WARN - socket usage at capacity=${Y} and ${I} 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 U}resolveDefaultConfig(w){const{requestTimeout:U,connectionTimeout:f,socketTimeout:G,httpAgent:W,httpsAgent:E}=w||{};return{connectionTimeout:f,requestTimeout:U??G,httpAgent:(()=>{if(W instanceof g$.Agent||typeof(W==null?void 0:W.destroy)==="function")return W;return new g$.Agent({keepAlive:!0,maxSockets:50,...W})})(),httpsAgent:(()=>{if(E instanceof l$.Agent||typeof(E==null?void 0:E.destroy)==="function")return E;return new l$.Agent({keepAlive:!0,maxSockets:50,...E})})(),logger:console}}destroy(){var w,U,f,G;(U=(w=this.config)==null?void 0:w.httpAgent)==null||U.destroy(),(G=(f=this.config)==null?void 0:f.httpsAgent)==null||G.destroy()}async handle(w,{abortSignal:U}={}){if(!this.config)this.config=await this.configProvider;let f;return new Promise((G,W)=>{let E=void 0;const L=q(async(T)=>{await E,clearTimeout(f),G(T)},"resolve"),R=q(async(T)=>{await E,clearTimeout(f),W(T)},"reject");if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(U==null?void 0:U.aborted){const T=new Error("Request aborted");T.name="AbortError",R(T);return}const F=w.protocol==="https:",Z=F?this.config.httpsAgent:this.config.httpAgent;f=setTimeout(()=>{this.socketWarningTimestamp=$.checkSocketUsage(Z,this.socketWarningTimestamp,this.config.logger)},this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2000)+(this.config.connectionTimeout??1000));const X=tf.buildQueryString(w.query||{});let Y=void 0;if(w.username!=null||w.password!=null){const T=w.username??"",O=w.password??"";Y=`${T}:${O}`}let I=w.path;if(X)I+=`?${X}`;if(w.fragment)I+=`#${w.fragment}`;const Q={headers:w.headers,host:w.hostname,method:w.method,path:I,port:w.port,agent:Z,auth:Y},A=(F?l$.request:g$.request)(Q,(T)=>{const O=new of.HttpResponse({statusCode:T.statusCode||-1,reason:T.statusMessage,headers:af(T.headers),body:T});L({response:O})});if(A.on("error",(T)=>{if(EX.includes(T.code))R(Object.assign(T,{name:"TimeoutError"}));else R(T)}),LX(A,R,this.config.connectionTimeout),FX(A,R,this.config.requestTimeout),U){const T=q(()=>{A.destroy();const O=new Error("Request aborted");O.name="AbortError",R(O)},"onAbort");if(typeof U.addEventListener==="function"){const O=U;O.addEventListener("abort",T,{once:!0}),A.once("close",()=>O.removeEventListener("abort",T))}else U.onabort=T}const K=Q.agent;if(typeof K==="object"&&"keepAlive"in K)RX(A,{keepAlive:K.keepAlive,keepAliveMsecs:K.keepAliveMsecs});E=n$(A,w,this.config.requestTimeout).catch((T)=>{return clearTimeout(f),W(T)})})}updateHttpClientConfig(w,U){this.config=void 0,this.configProvider=this.configProvider.then((f)=>{return{...f,[w]:U}})}httpHandlerConfigs(){return this.config??{}}};q(wW,"NodeHttpHandler");var XX=wW,sf=import.meta.require("http2"),IX=fX(import.meta.require("http2")),UW=class ${constructor(w){this.sessions=[],this.sessions=w??[]}poll(){if(this.sessions.length>0)return this.sessions.shift()}offerLast(w){this.sessions.push(w)}contains(w){return this.sessions.includes(w)}remove(w){this.sessions=this.sessions.filter((U)=>U!==w)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(w){for(let U of this.sessions)if(U===w){if(!U.destroyed)U.destroy()}}};q(UW,"NodeHttp2ConnectionPool");var YX=UW,GW=class ${constructor(w){if(this.sessionCache=new Map,this.config=w,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrency must be greater than zero.")}lease(w,U){const f=this.getUrlString(w),G=this.sessionCache.get(f);if(G){const R=G.poll();if(R&&!this.config.disableConcurrency)return R}const W=IX.default.connect(f);if(this.config.maxConcurrency)W.settings({maxConcurrentStreams:this.config.maxConcurrency},(R)=>{if(R)throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+w.destination.toString())});W.unref();const E=q(()=>{W.destroy(),this.deleteSession(f,W)},"destroySessionCb");if(W.on("goaway",E),W.on("error",E),W.on("frameError",E),W.on("close",()=>this.deleteSession(f,W)),U.requestTimeout)W.setTimeout(U.requestTimeout,E);const L=this.sessionCache.get(f)||new YX;return L.offerLast(W),this.sessionCache.set(f,L),W}deleteSession(w,U){const f=this.sessionCache.get(w);if(!f)return;if(!f.contains(U))return;f.remove(U),this.sessionCache.set(w,f)}release(w,U){var f;const G=this.getUrlString(w);(f=this.sessionCache.get(G))==null||f.offerLast(U)}destroy(){for(let[w,U]of this.sessionCache){for(let f of U){if(!f.destroyed)f.destroy();U.remove(f)}this.sessionCache.delete(w)}}setMaxConcurrentStreams(w){if(this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=w}setDisableConcurrentStreams(w){this.config.disableConcurrency=w}getUrlString(w){return w.destination.toString()}};q(GW,"NodeHttp2ConnectionManager");var QX=GW,fW=class ${constructor(w){this.metadata={handlerProtocol:"h2"},this.connectionManager=new QX({}),this.configProvider=new Promise((U,f)=>{if(typeof w==="function")w().then((G)=>{U(G||{})}).catch(f);else U(w||{})})}static create(w){if(typeof(w==null?void 0:w.handle)==="function")return w;return new $(w)}destroy(){this.connectionManager.destroy()}async handle(w,{abortSignal:U}={}){if(!this.config){if(this.config=await this.configProvider,this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams||!1),this.config.maxConcurrentStreams)this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams)}const{requestTimeout:f,disableConcurrentStreams:G}=this.config;return new Promise((W,E)=>{var L;let R=!1,F=void 0;const Z=q(async(N)=>{await F,W(N)},"resolve"),X=q(async(N)=>{await F,E(N)},"reject");if(U==null?void 0:U.aborted){R=!0;const N=new Error("Request aborted");N.name="AbortError",X(N);return}const{hostname:Y,method:I,port:Q,protocol:J,query:A}=w;let K="";if(w.username!=null||w.password!=null){const N=w.username??"",_=w.password??"";K=`${N}:${_}@`}const T=`${J}//${K}${Y}${Q?`:${Q}`:""}`,O={destination:new URL(T)},B=this.connectionManager.lease(O,{requestTimeout:(L=this.config)==null?void 0:L.sessionTimeout,disableConcurrentStreams:G||!1}),S=q((N)=>{if(G)this.destroySession(B);R=!0,X(N)},"rejectWithDestroy"),aw=tf.buildQueryString(A||{});let F$=w.path;if(aw)F$+=`?${aw}`;if(w.fragment)F$+=`#${w.fragment}`;const v=B.request({...w.headers,[sf.constants.HTTP2_HEADER_PATH]:F$,[sf.constants.HTTP2_HEADER_METHOD]:I});if(B.ref(),v.on("response",(N)=>{const _=new of.HttpResponse({statusCode:N[":status"]||-1,headers:af(N),body:v});if(R=!0,Z({response:_}),G)B.close(),this.connectionManager.deleteSession(T,B)}),f)v.setTimeout(f,()=>{v.close();const N=new Error(`Stream timed out because of no activity for ${f} ms`);N.name="TimeoutError",S(N)});if(U){const N=q(()=>{v.close();const _=new Error("Request aborted");_.name="AbortError",S(_)},"onAbort");if(typeof U.addEventListener==="function"){const _=U;_.addEventListener("abort",N,{once:!0}),v.once("close",()=>_.removeEventListener("abort",N))}else U.onabort=N}v.on("frameError",(N,_,L6)=>{S(new Error(`Frame type id ${N} in stream id ${L6} has failed with code ${_}.`))}),v.on("error",S),v.on("aborted",()=>{S(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${v.rstCode}.`))}),v.on("close",()=>{if(B.unref(),G)B.destroy();if(!R)S(new Error("Unexpected error: http2 request did not get a response"))}),F=n$(v,w,f)})}updateHttpClientConfig(w,U){this.config=void 0,this.configProvider=this.configProvider.then((f)=>{return{...f,[w]:U}})}httpHandlerConfigs(){return this.config??{}}destroySession(w){if(!w.destroyed)w.destroy()}};q(fW,"NodeHttp2Handler");var zX=fW,WW=class $ extends ef.Writable{constructor(){super(...arguments);this.bufferedBytes=[]}_write(w,U,f){this.bufferedBytes.push(w),f()}};q(WW,"Collector");var MX=WW,JX=q(($)=>{if(KX($))return EW($);return new Promise((w,U)=>{const f=new MX;$.pipe(f),$.on("error",(G)=>{f.end(),U(G)}),f.on("error",U),f.on("finish",function(){const G=new Uint8Array(Buffer.concat(this.bufferedBytes));w(G)})})},"streamCollector"),KX=q(($)=>typeof ReadableStream==="function"&&$ instanceof ReadableStream,"isReadableStreamInstance");q(EW,"collectReadableStream")});var JW=M((nz,MW)=>{var XW=function($=0){return new Promise((w,U)=>{if($)setTimeout(()=>{const f=new Error(`Request did not complete within ${$} ms`);f.name="TimeoutError",U(f)},$)})};async function YW($){const w=await zW($),U=qX.fromBase64(w);return new Uint8Array(U)}async function QW($){const w=[],U=$.getReader();let f=!1,G=0;while(!f){const{done:L,value:R}=await U.read();if(R)w.push(R),G+=R.length;f=L}const W=new Uint8Array(G);let E=0;for(let L of w)W.set(L,E),E+=L.length;return W}var zW=function($){return new Promise((w,U)=>{const f=new FileReader;f.onloadend=()=>{if(f.readyState!==2)return U(new Error("Reader aborted too early"));const G=f.result??"",W=G.indexOf(","),E=W>-1?W+1:G.length;w(G.substring(E))},f.onabort=()=>U(new Error("Read aborted")),f.onerror=()=>U(f.error),f.readAsDataURL($)})},H1=Object.defineProperty,TX=Object.getOwnPropertyDescriptor,AX=Object.getOwnPropertyNames,OX=Object.prototype.hasOwnProperty,o=($,w)=>H1($,"name",{value:w,configurable:!0}),VX=($,w)=>{for(var U in w)H1($,U,{get:w[U],enumerable:!0})},BX=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of AX(w))if(!OX.call($,G)&&G!==U)H1($,G,{get:()=>w[G],enumerable:!(f=TX(w,G))||f.enumerable})}return $},HX=($)=>BX(H1({},"__esModule",{value:!0}),$),ZW={};VX(ZW,{FetchHttpHandler:()=>NX,keepAliveSupport:()=>B1,streamCollector:()=>jX});MW.exports=HX(ZW);var FW=i(),CX=p$();o(XW,"requestTimeout");var B1={supported:void 0},IW=class ${static create(w){if(typeof(w==null?void 0:w.handle)==="function")return w;return new $(w)}constructor(w){if(typeof w==="function")this.configProvider=w().then((U)=>U||{});else this.config=w??{},this.configProvider=Promise.resolve(this.config);if(B1.supported===void 0)B1.supported=Boolean(typeof Request!=="undefined"&&"keepalive"in new Request("https://[::1]"))}destroy(){}async handle(w,{abortSignal:U}={}){if(!this.config)this.config=await this.configProvider;const f=this.config.requestTimeout,G=this.config.keepAlive===!0,W=this.config.credentials;if(U==null?void 0:U.aborted){const K=new Error("Request aborted");return K.name="AbortError",Promise.reject(K)}let E=w.path;const L=CX.buildQueryString(w.query||{});if(L)E+=`?${L}`;if(w.fragment)E+=`#${w.fragment}`;let R="";if(w.username!=null||w.password!=null){const K=w.username??"",T=w.password??"";R=`${K}:${T}@`}const{port:F,method:Z}=w,X=`${w.protocol}//${R}${w.hostname}${F?`:${F}`:""}${E}`,Y=Z==="GET"||Z==="HEAD"?void 0:w.body,I={body:Y,headers:new Headers(w.headers),method:Z,credentials:W};if(Y)I.duplex="half";if(typeof AbortController!=="undefined")I.signal=U;if(B1.supported)I.keepalive=G;let Q=o(()=>{},"removeSignalEventListener");const J=new Request(X,I),A=[fetch(J).then((K)=>{const T=K.headers,O={};for(let S of T.entries())O[S[0]]=S[1];if(K.body==null)return K.blob().then((S)=>({response:new FW.HttpResponse({headers:O,reason:K.statusText,statusCode:K.status,body:S})}));return{response:new FW.HttpResponse({headers:O,reason:K.statusText,statusCode:K.status,body:K.body})}}),XW(f)];if(U)A.push(new Promise((K,T)=>{const O=o(()=>{const B=new Error("Request aborted");B.name="AbortError",T(B)},"onAbort");if(typeof U.addEventListener==="function"){const B=U;B.addEventListener("abort",O,{once:!0}),Q=o(()=>B.removeEventListener("abort",O),"removeSignalEventListener")}else U.onabort=O}));return Promise.race(A).finally(Q)}updateHttpClientConfig(w,U){this.config=void 0,this.configProvider=this.configProvider.then((f)=>{return f[w]=U,f})}httpHandlerConfigs(){return this.config??{}}};o(IW,"FetchHttpHandler");var NX=IW,qX=A1(),jX=o(($)=>{if(typeof Blob==="function"&&$ instanceof Blob)return YW($);return QW($)},"streamCollector");o(YW,"collectBlob");o(QW,"collectStream");o(zW,"readToBase64")});var m$=M((sz,BW)=>{var OW=function($){if($.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const w=new Uint8Array($.length/2);for(let U=0;U<$.length;U+=2){const f=$.slice(U,U+2).toLowerCase();if(f in s$)w[U/2]=s$[f];else throw new Error(`Cannot decode unrecognized sequence ${f} as hexadecimal`)}return w},VW=function($){let w="";for(let U=0;U<$.byteLength;U++)w+=AW[$[U]];return w},C1=Object.defineProperty,PX=Object.getOwnPropertyDescriptor,SX=Object.getOwnPropertyNames,bX=Object.prototype.hasOwnProperty,KW=($,w)=>C1($,"name",{value:w,configurable:!0}),hX=($,w)=>{for(var U in w)C1($,U,{get:w[U],enumerable:!0})},DX=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of SX(w))if(!bX.call($,G)&&G!==U)C1($,G,{get:()=>w[G],enumerable:!(f=PX(w,G))||f.enumerable})}return $},kX=($)=>DX(C1({},"__esModule",{value:!0}),$),TW={};hX(TW,{fromHex:()=>OW,toHex:()=>VW});BW.exports=kX(TW);var AW={},s$={};for(let $=0;$<256;$++){let w=$.toString(16).toLowerCase();if(w.length===1)w=`0${w}`;AW[$]=w,s$[w]=$}KW(OW,"fromHex");KW(VW,"toHex")});var y0=M((HW)=>{Object.defineProperty(HW,"__esModule",{value:!0});HW.isReadableStream=void 0;var cX=($)=>{var w;return typeof ReadableStream==="function"&&(((w=$===null||$===void 0?void 0:$.constructor)===null||w===void 0?void 0:w.name)===ReadableStream.name||$ instanceof ReadableStream)};HW.isReadableStream=cX});var bW=M((PW)=>{Object.defineProperty(PW,"__esModule",{value:!0});PW.sdkStreamMixin=void 0;var vX=JW(),xX=A1(),yX=m$(),uX=$0(),NW=y0(),qW="The stream has already been transformed.",_X=($)=>{var w,U;if(!jW($)&&!NW.isReadableStream($)){const E=((U=(w=$===null||$===void 0?void 0:$.__proto__)===null||w===void 0?void 0:w.constructor)===null||U===void 0?void 0:U.name)||$;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${E}`)}let f=!1;const G=async()=>{if(f)throw new Error(qW);return f=!0,await vX.streamCollector($)},W=(E)=>{if(typeof E.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 E.stream()};return Object.assign($,{transformToByteArray:G,transformToString:async(E)=>{const L=await G();if(E==="base64")return xX.toBase64(L);else if(E==="hex")return yX.toHex(L);else if(E===void 0||E==="utf8"||E==="utf-8")return uX.toUtf8(L);else if(typeof TextDecoder==="function")return new TextDecoder(E).decode(L);else throw new Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(f)throw new Error(qW);if(f=!0,jW($))return W($);else if(NW.isReadableStream($))return $;else throw new Error(`Cannot transform payload to web stream, got ${$}`)}})};PW.sdkStreamMixin=_X;var jW=($)=>typeof Blob==="function"&&$ instanceof Blob});var cW=M((DW)=>{Object.defineProperty(DW,"__esModule",{value:!0});DW.sdkStreamMixin=void 0;var dX=RW(),pX=v0(),i$=import.meta.require("stream"),gX=import.meta.require("util"),lX=bW(),hW="The stream has already been transformed.",nX=($)=>{var w,U;if(!($ instanceof i$.Readable))try{return lX.sdkStreamMixin($)}catch(W){const E=((U=(w=$===null||$===void 0?void 0:$.__proto__)===null||w===void 0?void 0:w.constructor)===null||U===void 0?void 0:U.name)||$;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${E}`)}let f=!1;const G=async()=>{if(f)throw new Error(hW);return f=!0,await dX.streamCollector($)};return Object.assign($,{transformToByteArray:G,transformToString:async(W)=>{const E=await G();if(W===void 0||Buffer.isEncoding(W))return pX.fromArrayBuffer(E.buffer,E.byteOffset,E.byteLength).toString(W);else return new gX.TextDecoder(W).decode(E)},transformToWebStream:()=>{if(f)throw new Error(hW);if($.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof i$.Readable.toWeb!=="function")throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available.");return f=!0,i$.Readable.toWeb($)}})};DW.sdkStreamMixin=nX});var yW=M((vW)=>{async function sX($){if(typeof $.stream==="function")$=$.stream();return $.tee()}Object.defineProperty(vW,"__esModule",{value:!0});vW.splitStream=void 0;vW.splitStream=sX});var pW=M((_W)=>{async function rX($){if(iX.isReadableStream($))return mX.splitStream($);const w=new uW.PassThrough,U=new uW.PassThrough;return $.pipe(w),$.pipe(U),[w,U]}Object.defineProperty(_W,"__esModule",{value:!0});_W.splitStream=void 0;var uW=import.meta.require("stream"),mX=yW(),iX=y0();_W.splitStream=rX});var nW=M((gW)=>{async function oX($,w){var U;let f=0;const G=[],W=$.getReader();let E=!1;while(!E){const{done:F,value:Z}=await W.read();if(Z)G.push(Z),f+=(U=Z===null||Z===void 0?void 0:Z.byteLength)!==null&&U!==void 0?U:0;if(f>=w)break;E=F}W.releaseLock();const L=new Uint8Array(Math.min(w,f));let R=0;for(let F of G){if(F.byteLength>L.byteLength-R){L.set(F.subarray(0,L.byteLength-R),R);break}else L.set(F,R);R+=F.length}return L}Object.defineProperty(gW,"__esModule",{value:!0});gW.headStream=void 0;gW.headStream=oX});var rW=M((mW)=>{Object.defineProperty(mW,"__esModule",{value:!0});mW.headStream=void 0;var tX=import.meta.require("stream"),aX=nW(),eX=y0(),$I=($,w)=>{if(eX.isReadableStream($))return aX.headStream($,w);return new Promise((U,f)=>{const G=new sW;G.limit=w,$.pipe(G),$.on("error",(W)=>{G.end(),f(W)}),G.on("error",f),G.on("finish",function(){const W=new Uint8Array(Buffer.concat(this.buffers));U(W)})})};mW.headStream=$I;class sW extends tX.Writable{constructor(){super(...arguments);this.buffers=[],this.limit=Infinity,this.bytesBuffered=0}_write($,w,U){var f;if(this.buffers.push($),this.bytesBuffered+=(f=$.byteLength)!==null&&f!==void 0?f:0,this.bytesBuffered>=this.limit){const G=this.bytesBuffered-this.limit,W=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=W.subarray(0,W.byteLength-G),this.emit("finish")}U()}}});var wE=M(($M,F0)=>{var aW=function($,w="utf-8"){if(w==="base64")return oW.toBase64($);return tW.toUtf8($)},eW=function($,w){if(w==="base64")return o$.mutate(oW.fromBase64($));return o$.mutate(tW.fromUtf8($))},N1=Object.defineProperty,wI=Object.getOwnPropertyDescriptor,UI=Object.getOwnPropertyNames,GI=Object.prototype.hasOwnProperty,t$=($,w)=>N1($,"name",{value:w,configurable:!0}),fI=($,w)=>{for(var U in w)N1($,U,{get:w[U],enumerable:!0})},r$=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of UI(w))if(!GI.call($,G)&&G!==U)N1($,G,{get:()=>w[G],enumerable:!(f=wI(w,G))||f.enumerable})}return $},u0=($,w,U)=>(r$($,w,"default"),U&&r$(U,w,"default")),WI=($)=>r$(N1({},"__esModule",{value:!0}),$),R0={};fI(R0,{Uint8ArrayBlobAdapter:()=>o$});F0.exports=WI(R0);var oW=A1(),tW=$0();t$(aW,"transformToString");t$(eW,"transformFromString");var $E=class $ extends Uint8Array{static fromString(w,U="utf-8"){switch(typeof w){case"string":return eW(w,U);default:throw new Error(`Unsupported conversion from ${typeof w} to Uint8ArrayBlobAdapter.`)}}static mutate(w){return Object.setPrototypeOf(w,$.prototype),w}transformToString(w="utf-8"){return aW(this,w)}};t$($E,"Uint8ArrayBlobAdapter");var o$=$E;u0(R0,yf(),F0.exports);u0(R0,cW(),F0.exports);u0(R0,pW(),F0.exports);u0(R0,rW(),F0.exports);u0(R0,y0(),F0.exports)});var V0=M((wM,HE)=>{var zE=function($){const w=$.getUTCFullYear(),U=$.getUTCMonth(),f=$.getUTCDay(),G=$.getUTCDate(),W=$.getUTCHours(),E=$.getUTCMinutes(),L=$.getUTCSeconds(),R=G<10?`0${G}`:`${G}`,F=W<10?`0${W}`:`${W}`,Z=E<10?`0${E}`:`${E}`,X=L<10?`0${L}`:`${L}`;return`${kI[f]}, ${R} ${Rw[U]} ${w} ${F}:${Z}:${X} GMT`},P1=function($){return encodeURIComponent($).replace(/[!'()*]/g,function(w){return"%"+w.charCodeAt(0).toString(16).toUpperCase()})},Fw=function($,w,U){let f,G,W;if(typeof w==="undefined"&&typeof U==="undefined")f={},W=$;else if(f=$,typeof w==="function")return G=w,W=U,YY(f,G,W);else W=w;for(let E of Object.keys(W)){if(!Array.isArray(W[E])){f[E]=W[E];continue}VE(f,null,W,E)}return f},BE=function($,w,U){if(U<=0||!Number.isInteger(U))throw new Error("Invalid number of delimiters ("+U+") for splitEvery.");const f=$.split(w);if(U===1)return f;const G=[];let W="";for(let E=0;E<f.length;E++){if(W==="")W=f[E];else W+=w+f[E];if((E+1)%U===0)G.push(W),W=""}if(W!=="")G.push(W);return G},S1=Object.defineProperty,LI=Object.getOwnPropertyDescriptor,RI=Object.getOwnPropertyNames,FI=Object.prototype.hasOwnProperty,z=($,w)=>S1($,"name",{value:w,configurable:!0}),ZI=($,w)=>{for(var U in w)S1($,U,{get:w[U],enumerable:!0})},XI=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of RI(w))if(!FI.call($,G)&&G!==U)S1($,G,{get:()=>w[G],enumerable:!(f=LI(w,G))||f.enumerable})}return $},II=($)=>XI(S1({},"__esModule",{value:!0}),$),GE={};ZI(GE,{Client:()=>QI,Command:()=>RE,LazyJsonString:()=>ZY,NoOpLogger:()=>YI,SENSITIVE_STRING:()=>JI,ServiceException:()=>aI,StringWrapper:()=>l0,_json:()=>fw,collectBody:()=>zI,convertMap:()=>XY,createAggregatedClient:()=>KI,dateToUtcString:()=>zE,decorateServiceException:()=>JE,emitWarningIfUnsupportedVersion:()=>UY,expectBoolean:()=>AI,expectByte:()=>Gw,expectFloat32:()=>q1,expectInt:()=>VI,expectInt32:()=>ww,expectLong:()=>p0,expectNonNull:()=>HI,expectNumber:()=>d0,expectObject:()=>ZE,expectShort:()=>Uw,expectString:()=>CI,expectUnion:()=>NI,extendedEncodeURIComponent:()=>P1,getArrayIfSingleItem:()=>FY,getDefaultClientConfiguration:()=>LY,getDefaultExtensionConfiguration:()=>TE,getValueFromTextNode:()=>AE,handleFloat:()=>PI,limitedParseDouble:()=>Lw,limitedParseFloat:()=>SI,limitedParseFloat32:()=>bI,loadConfigsForDefaultMode:()=>wY,logger:()=>g0,map:()=>Fw,parseBoolean:()=>TI,parseEpochTimestamp:()=>gI,parseRfc3339DateTime:()=>vI,parseRfc3339DateTimeWithOffset:()=>yI,parseRfc7231DateTime:()=>pI,resolveDefaultRuntimeConfig:()=>RY,resolvedPath:()=>MY,serializeDateTime:()=>KY,serializeFloat:()=>JY,splitEvery:()=>BE,strictParseByte:()=>QE,strictParseDouble:()=>Ew,strictParseFloat:()=>qI,strictParseFloat32:()=>XE,strictParseInt:()=>hI,strictParseInt32:()=>DI,strictParseLong:()=>YE,strictParseShort:()=>T0,take:()=>IY,throwDefaultError:()=>KE,withBaseException:()=>eI});HE.exports=II(GE);var fE=class ${trace(){}debug(){}info(){}warn(){}error(){}};z(fE,"NoOpLogger");var YI=fE,WE=EI(),EE=class ${constructor(w){this.middlewareStack=WE.constructStack(),this.config=w}send(w,U,f){const G=typeof U!=="function"?U:void 0,W=typeof U==="function"?U:f,E=w.resolveMiddleware(this.middlewareStack,this.config,G);if(W)E(w).then((L)=>W(null,L.output),(L)=>W(L)).catch(()=>{});else return E(w).then((L)=>L.output)}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}};z(EE,"Client");var QI=EE,a$=wE(),zI=z(async($=new Uint8Array,w)=>{if($ instanceof Uint8Array)return a$.Uint8ArrayBlobAdapter.mutate($);if(!$)return a$.Uint8ArrayBlobAdapter.mutate(new Uint8Array);const U=w.streamCollector($);return a$.Uint8ArrayBlobAdapter.mutate(await U)},"collectBody"),$w=z0(),LE=class ${constructor(){this.middlewareStack=WE.constructStack()}static classBuilder(){return new MI}resolveMiddlewareWithContext(w,U,f,{middlewareFn:G,clientName:W,commandName:E,inputFilterSensitiveLog:L,outputFilterSensitiveLog:R,smithyContext:F,additionalContext:Z,CommandCtor:X}){for(let A of G.bind(this)(X,w,U,f))this.middlewareStack.use(A);const Y=w.concat(this.middlewareStack),{logger:I}=U,Q={logger:I,clientName:W,commandName:E,inputFilterSensitiveLog:L,outputFilterSensitiveLog:R,[$w.SMITHY_CONTEXT_KEY]:{commandInstance:this,...F},...Z},{requestHandler:J}=U;return Y.resolve((A)=>J.handle(A.request,f||{}),Q)}};z(LE,"Command");var RE=LE,FE=class ${constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=(w)=>w,this._outputFilterSensitiveLog=(w)=>w,this._serializer=null,this._deserializer=null}init(w){this._init=w}ep(w){return this._ep=w,this}m(w){return this._middlewareFn=w,this}s(w,U,f={}){return this._smithyContext={service:w,operation:U,...f},this}c(w={}){return this._additionalContext=w,this}n(w,U){return this._clientName=w,this._commandName=U,this}f(w=(f)=>f,U=(f)=>f){return this._inputFilterSensitiveLog=w,this._outputFilterSensitiveLog=U,this}ser(w){return this._serializer=w,this}de(w){return this._deserializer=w,this}build(){var w;const U=this;let f;return f=(w=class extends RE{constructor(...[G]){super();this.serialize=U._serializer,this.deserialize=U._deserializer,this.input=G??{},U._init(this)}static getEndpointParameterInstructions(){return U._ep}resolveMiddleware(G,W,E){return this.resolveMiddlewareWithContext(G,W,E,{CommandCtor:f,middlewareFn:U._middlewareFn,clientName:U._clientName,commandName:U._commandName,inputFilterSensitiveLog:U._inputFilterSensitiveLog,outputFilterSensitiveLog:U._outputFilterSensitiveLog,smithyContext:U._smithyContext,additionalContext:U._additionalContext})}},z(w,"CommandRef"),w)}};z(FE,"ClassBuilder");var MI=FE,JI="***SensitiveInformation***",KI=z(($,w)=>{for(let U of Object.keys($)){const f=$[U],G=z(async function(E,L,R){const F=new f(E);if(typeof L==="function")this.send(F,L);else if(typeof R==="function"){if(typeof L!=="object")throw new Error(`Expected http options but got ${typeof L}`);this.send(F,L||{},R)}else return this.send(F,L)},"methodImpl"),W=(U[0].toLowerCase()+U.slice(1)).replace(/Command$/,"");w.prototype[W]=G}},"createAggregatedClient"),TI=z(($)=>{switch($){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${$}"`)}},"parseBoolean"),AI=z(($)=>{if($===null||$===void 0)return;if(typeof $==="number"){if($===0||$===1)g0.warn(j1(`Expected boolean, got ${typeof $}: ${$}`));if($===0)return!1;if($===1)return!0}if(typeof $==="string"){const w=$.toLowerCase();if(w==="false"||w==="true")g0.warn(j1(`Expected boolean, got ${typeof $}: ${$}`));if(w==="false")return!1;if(w==="true")return!0}if(typeof $==="boolean")return $;throw new TypeError(`Expected boolean, got ${typeof $}: ${$}`)},"expectBoolean"),d0=z(($)=>{if($===null||$===void 0)return;if(typeof $==="string"){const w=parseFloat($);if(!Number.isNaN(w)){if(String(w)!==String($))g0.warn(j1(`Expected number but observed string: ${$}`));return w}}if(typeof $==="number")return $;throw new TypeError(`Expected number, got ${typeof $}: ${$}`)},"expectNumber"),OI=Math.ceil(340282346638528860000000000000000000000),q1=z(($)=>{const w=d0($);if(w!==void 0&&!Number.isNaN(w)&&w!==Infinity&&w!==(-Infinity)){if(Math.abs(w)>OI)throw new TypeError(`Expected 32-bit float, got ${$}`)}return w},"expectFloat32"),p0=z(($)=>{if($===null||$===void 0)return;if(Number.isInteger($)&&!Number.isNaN($))return $;throw new TypeError(`Expected integer, got ${typeof $}: ${$}`)},"expectLong"),VI=p0,ww=z(($)=>Ww($,32),"expectInt32"),Uw=z(($)=>Ww($,16),"expectShort"),Gw=z(($)=>Ww($,8),"expectByte"),Ww=z(($,w)=>{const U=p0($);if(U!==void 0&&BI(U,w)!==U)throw new TypeError(`Expected ${w}-bit integer, got ${$}`);return U},"expectSizedInt"),BI=z(($,w)=>{switch(w){case 32:return Int32Array.of($)[0];case 16:return Int16Array.of($)[0];case 8:return Int8Array.of($)[0]}},"castInt"),HI=z(($,w)=>{if($===null||$===void 0){if(w)throw new TypeError(`Expected a non-null value for ${w}`);throw new TypeError("Expected a non-null value")}return $},"expectNonNull"),ZE=z(($)=>{if($===null||$===void 0)return;if(typeof $==="object"&&!Array.isArray($))return $;const w=Array.isArray($)?"array":typeof $;throw new TypeError(`Expected object, got ${w}: ${$}`)},"expectObject"),CI=z(($)=>{if($===null||$===void 0)return;if(typeof $==="string")return $;if(["boolean","number","bigint"].includes(typeof $))return g0.warn(j1(`Expected string, got ${typeof $}: ${$}`)),String($);throw new TypeError(`Expected string, got ${typeof $}: ${$}`)},"expectString"),NI=z(($)=>{if($===null||$===void 0)return;const w=ZE($),U=Object.entries(w).filter(([,f])=>f!=null).map(([f])=>f);if(U.length===0)throw new TypeError("Unions must have exactly one non-null member. None were found.");if(U.length>1)throw new TypeError(`Unions must have exactly one non-null member. Keys ${U} were not null.`);return w},"expectUnion"),Ew=z(($)=>{if(typeof $=="string")return d0(O0($));return d0($)},"strictParseDouble"),qI=Ew,XE=z(($)=>{if(typeof $=="string")return q1(O0($));return q1($)},"strictParseFloat32"),jI=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,O0=z(($)=>{const w=$.match(jI);if(w===null||w[0].length!==$.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat($)},"parseNumber"),Lw=z(($)=>{if(typeof $=="string")return IE($);return d0($)},"limitedParseDouble"),PI=Lw,SI=Lw,bI=z(($)=>{if(typeof $=="string")return IE($);return q1($)},"limitedParseFloat32"),IE=z(($)=>{switch($){case"NaN":return NaN;case"Infinity":return Infinity;case"-Infinity":return (-Infinity);default:throw new Error(`Unable to parse float value: ${$}`)}},"parseFloatString"),YE=z(($)=>{if(typeof $==="string")return p0(O0($));return p0($)},"strictParseLong"),hI=YE,DI=z(($)=>{if(typeof $==="string")return ww(O0($));return ww($)},"strictParseInt32"),T0=z(($)=>{if(typeof $==="string")return Uw(O0($));return Uw($)},"strictParseShort"),QE=z(($)=>{if(typeof $==="string")return Gw(O0($));return Gw($)},"strictParseByte"),j1=z(($)=>{return String(new TypeError($).stack||$).split("\n").slice(0,5).filter((w)=>!w.includes("stackTraceWarning")).join("\n")},"stackTraceWarning"),g0={warn:console.warn},kI=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Rw=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];z(zE,"dateToUtcString");var cI=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),vI=z(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const w=cI.exec($);if(!w)throw new TypeError("Invalid RFC-3339 date-time value");const[U,f,G,W,E,L,R,F]=w,Z=T0(A0(f)),X=s(G,"month",1,12),Y=s(W,"day",1,31);return _0(Z,X,Y,{hours:E,minutes:L,seconds:R,fractionalMilliseconds:F})},"parseRfc3339DateTime"),xI=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),yI=z(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const w=xI.exec($);if(!w)throw new TypeError("Invalid RFC-3339 date-time value");const[U,f,G,W,E,L,R,F,Z]=w,X=T0(A0(f)),Y=s(G,"month",1,12),I=s(W,"day",1,31),Q=_0(X,Y,I,{hours:E,minutes:L,seconds:R,fractionalMilliseconds:F});if(Z.toUpperCase()!="Z")Q.setTime(Q.getTime()-tI(Z));return Q},"parseRfc3339DateTimeWithOffset"),uI=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$/),_I=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$/),dI=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})$/),pI=z(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let w=uI.exec($);if(w){const[U,f,G,W,E,L,R,F]=w;return _0(T0(A0(W)),e$(G),s(f,"day",1,31),{hours:E,minutes:L,seconds:R,fractionalMilliseconds:F})}if(w=_I.exec($),w){const[U,f,G,W,E,L,R,F]=w;return sI(_0(lI(W),e$(G),s(f,"day",1,31),{hours:E,minutes:L,seconds:R,fractionalMilliseconds:F}))}if(w=dI.exec($),w){const[U,f,G,W,E,L,R,F]=w;return _0(T0(A0(F)),e$(f),s(G.trimLeft(),"day",1,31),{hours:W,minutes:E,seconds:L,fractionalMilliseconds:R})}throw new TypeError("Invalid RFC-7231 date-time value")},"parseRfc7231DateTime"),gI=z(($)=>{if($===null||$===void 0)return;let w;if(typeof $==="number")w=$;else if(typeof $==="string")w=Ew($);else throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(w)||w===Infinity||w===(-Infinity))throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(w*1000))},"parseEpochTimestamp"),_0=z(($,w,U,f)=>{const G=w-1;return iI($,G,U),new Date(Date.UTC($,G,U,s(f.hours,"hour",0,23),s(f.minutes,"minute",0,59),s(f.seconds,"seconds",0,60),oI(f.fractionalMilliseconds)))},"buildDate"),lI=z(($)=>{const w=(new Date()).getUTCFullYear(),U=Math.floor(w/100)*100+T0(A0($));if(U<w)return U+100;return U},"parseTwoDigitYear"),nI=1576800000000,sI=z(($)=>{if($.getTime()-(new Date()).getTime()>nI)return new Date(Date.UTC($.getUTCFullYear()-100,$.getUTCMonth(),$.getUTCDate(),$.getUTCHours(),$.getUTCMinutes(),$.getUTCSeconds(),$.getUTCMilliseconds()));return $},"adjustRfc850Year"),e$=z(($)=>{const w=Rw.indexOf($);if(w<0)throw new TypeError(`Invalid month: ${$}`);return w+1},"parseMonthByShortName"),mI=[31,28,31,30,31,30,31,31,30,31,30,31],iI=z(($,w,U)=>{let f=mI[w];if(w===1&&rI($))f=29;if(U>f)throw new TypeError(`Invalid day for ${Rw[w]} in ${$}: ${U}`)},"validateDayOfMonth"),rI=z(($)=>{return $%4===0&&($%100!==0||$%400===0)},"isLeapYear"),s=z(($,w,U,f)=>{const G=QE(A0($));if(G<U||G>f)throw new TypeError(`${w} must be between ${U} and ${f}, inclusive`);return G},"parseDateValue"),oI=z(($)=>{if($===null||$===void 0)return 0;return XE("0."+$)*1000},"parseMilliseconds"),tI=z(($)=>{const w=$[0];let U=1;if(w=="+")U=1;else if(w=="-")U=-1;else throw new TypeError(`Offset direction, ${w}, must be "+" or "-"`);const f=Number($.substring(1,3)),G=Number($.substring(4,6));return U*(f*60+G)*60*1000},"parseOffsetToMilliseconds"),A0=z(($)=>{let w=0;while(w<$.length-1&&$.charAt(w)==="0")w++;if(w===0)return $;return $.slice(w)},"stripLeadingZeroes"),ME=class $ extends Error{constructor(w){super(w.message);Object.setPrototypeOf(this,$.prototype),this.name=w.name,this.$fault=w.$fault,this.$metadata=w.$metadata}};z(ME,"ServiceException");var aI=ME,JE=z(($,w={})=>{Object.entries(w).filter(([,f])=>f!==void 0).forEach(([f,G])=>{if($[f]==null||$[f]==="")$[f]=G});const U=$.message||$.Message||"UnknownError";return $.message=U,delete $.Message,$},"decorateServiceException"),KE=z(({output:$,parsedBody:w,exceptionCtor:U,errorCode:f})=>{const G=$Y($),W=G.httpStatusCode?G.httpStatusCode+"":void 0,E=new U({name:(w==null?void 0:w.code)||(w==null?void 0:w.Code)||f||W||"UnknownError",$fault:"client",$metadata:G});throw JE(E,w)},"throwDefaultError"),eI=z(($)=>{return({output:w,parsedBody:U,errorCode:f})=>{KE({output:w,parsedBody:U,exceptionCtor:$,errorCode:f})}},"withBaseException"),$Y=z(($)=>({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"),wY=z(($)=>{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"),UE=!1,UY=z(($)=>{if($&&!UE&&parseInt($.substring(1,$.indexOf(".")))<16)UE=!0},"emitWarningIfUnsupportedVersion"),GY=z(($)=>{const w=[];for(let U in $w.AlgorithmId){const f=$w.AlgorithmId[U];if($[f]===void 0)continue;w.push({algorithmId:()=>f,checksumConstructor:()=>$[f]})}return{_checksumAlgorithms:w,addChecksumAlgorithm(U){this._checksumAlgorithms.push(U)},checksumAlgorithms(){return this._checksumAlgorithms}}},"getChecksumConfiguration"),fY=z(($)=>{const w={};return $.checksumAlgorithms().forEach((U)=>{w[U.algorithmId()]=U.checksumConstructor()}),w},"resolveChecksumRuntimeConfig"),WY=z(($)=>{let w=$.retryStrategy;return{setRetryStrategy(U){w=U},retryStrategy(){return w}}},"getRetryConfiguration"),EY=z(($)=>{const w={};return w.retryStrategy=$.retryStrategy(),w},"resolveRetryRuntimeConfig"),TE=z(($)=>{return{...GY($),...WY($)}},"getDefaultExtensionConfiguration"),LY=TE,RY=z(($)=>{return{...fY($),...EY($)}},"resolveDefaultRuntimeConfig");z(P1,"extendedEncodeURIComponent");var FY=z(($)=>Array.isArray($)?$:[$],"getArrayIfSingleItem"),AE=z(($)=>{for(let U in $)if($.hasOwnProperty(U)&&$[U]["#text"]!==void 0)$[U]=$[U]["#text"];else if(typeof $[U]==="object"&&$[U]!==null)$[U]=AE($[U]);return $},"getValueFromTextNode"),l0=z(function(){const $=Object.getPrototypeOf(this).constructor,U=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(U,$.prototype),U},"StringWrapper");l0.prototype=Object.create(String.prototype,{constructor:{value:l0,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(l0,String);var OE=class $ extends l0{deserializeJSON(){return JSON.parse(super.toString())}toJSON(){return super.toString()}static fromObject(w){if(w instanceof $)return w;else if(w instanceof String||typeof w==="string")return new $(w);return new $(JSON.stringify(w))}};z(OE,"LazyJsonString");var ZY=OE;z(Fw,"map");var XY=z(($)=>{const w={};for(let[U,f]of Object.entries($||{}))w[U]=[,f];return w},"convertMap"),IY=z(($,w)=>{const U={};for(let f in w)VE(U,$,w,f);return U},"take"),YY=z(($,w,U)=>{return Fw($,Object.entries(U).reduce((f,[G,W])=>{if(Array.isArray(W))f[G]=W;else if(typeof W==="function")f[G]=[w,W()];else f[G]=[w,W];return f},{}))},"mapWithFilter"),VE=z(($,w,U,f)=>{if(w!==null){let E=U[f];if(typeof E==="function")E=[,E];const[L=QY,R=zY,F=f]=E;if(typeof L==="function"&&L(w[F])||typeof L!=="function"&&!!L)$[f]=R(w[F]);return}let[G,W]=U[f];if(typeof W==="function"){let E;const L=G===void 0&&(E=W())!=null,R=typeof G==="function"&&!!G(void 0)||typeof G!=="function"&&!!G;if(L)$[f]=E;else if(R)$[f]=W()}else{const E=G===void 0&&W!=null,L=typeof G==="function"&&!!G(W)||typeof G!=="function"&&!!G;if(E||L)$[f]=W}},"applyInstruction"),QY=z(($)=>$!=null,"nonNullish"),zY=z(($)=>$,"pass"),MY=z(($,w,U,f,G,W)=>{if(w!=null&&w[U]!==void 0){const E=f();if(E.length<=0)throw new Error("Empty value provided for input HTTP label: "+U+".");$=$.replace(G,W?E.split("/").map((L)=>P1(L)).join("/"):P1(E))}else throw new Error("No value provided for input HTTP label: "+U+".");return $},"resolvedPath"),JY=z(($)=>{if($!==$)return"NaN";switch($){case Infinity:return"Infinity";case (-Infinity):return"-Infinity";default:return $}},"serializeFloat"),KY=z(($)=>$.toISOString().replace(".000Z","Z"),"serializeDateTime"),fw=z(($)=>{if($==null)return{};if(Array.isArray($))return $.filter((w)=>w!=null).map(fw);if(typeof $==="object"){const w={};for(let U of Object.keys($)){if($[U]==null)continue;w[U]=fw($[U])}return w}return $},"_json");z(BE,"splitEvery")});var qE=M((CE)=>{Object.defineProperty(CE,"__esModule",{value:!0});CE.isStreamingPayload=void 0;var TY=import.meta.require("stream"),AY=($)=>($===null||$===void 0?void 0:$.body)instanceof TY.Readable||typeof ReadableStream!=="undefined"&&($===null||$===void 0?void 0:$.body)instanceof ReadableStream;CE.isStreamingPayload=AY});var nE=M((fM,lE)=>{var{defineProperty:b1,getOwnPropertyDescriptor:OY,getOwnPropertyNames:VY}=Object,BY=Object.prototype.hasOwnProperty,P=($,w)=>b1($,"name",{value:w,configurable:!0}),HY=($,w)=>{for(var U in w)b1($,U,{get:w[U],enumerable:!0})},CY=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of VY(w))if(!BY.call($,G)&&G!==U)b1($,G,{get:()=>w[G],enumerable:!(f=OY(w,G))||f.enumerable})}return $},NY=($)=>CY(b1({},"__esModule",{value:!0}),$),PE={};HY(PE,{AdaptiveRetryStrategy:()=>PY,CONFIG_MAX_ATTEMPTS:()=>Xw,CONFIG_RETRY_MODE:()=>yE,ENV_MAX_ATTEMPTS:()=>Zw,ENV_RETRY_MODE:()=>xE,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:()=>SY,NODE_RETRY_MODE_CONFIG_OPTIONS:()=>hY,StandardRetryStrategy:()=>cE,defaultDelayDecider:()=>bE,defaultRetryDecider:()=>hE,getOmitRetryHeadersPlugin:()=>DY,getRetryAfterHint:()=>gE,getRetryPlugin:()=>uY,omitRetryHeadersMiddleware:()=>uE,omitRetryHeadersMiddlewareOptions:()=>_E,resolveRetryConfig:()=>bY,retryMiddleware:()=>dE,retryMiddlewareOptions:()=>pE});lE.exports=NY(PE);var B0=i(),SE=j$(),C=Kf(),qY=P(($,w)=>{const U=$,f=(w==null?void 0:w.noRetryIncrement)??C.NO_RETRY_INCREMENT,G=(w==null?void 0:w.retryCost)??C.RETRY_COST,W=(w==null?void 0:w.timeoutRetryCost)??C.TIMEOUT_RETRY_COST;let E=$;const L=P((X)=>X.name==="TimeoutError"?W:G,"getCapacityAmount"),R=P((X)=>L(X)<=E,"hasRetryTokens");return Object.freeze({hasRetryTokens:R,retrieveRetryTokens:P((X)=>{if(!R(X))throw new Error("No retry token available");const Y=L(X);return E-=Y,Y},"retrieveRetryTokens"),releaseRetryTokens:P((X)=>{E+=X??f,E=Math.min(E,U)},"releaseRetryTokens")})},"getDefaultRetryQuota"),bE=P(($,w)=>Math.floor(Math.min(C.MAXIMUM_RETRY_DELAY,Math.random()*2**w*$)),"defaultDelayDecider"),w0=P$(),hE=P(($)=>{if(!$)return!1;return w0.isRetryableByTrait($)||w0.isClockSkewError($)||w0.isThrottlingError($)||w0.isTransientError($)},"defaultRetryDecider"),DE=P(($)=>{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"),kE=class ${constructor(w,U){this.maxAttemptsProvider=w,this.mode=C.RETRY_MODES.STANDARD,this.retryDecider=(U==null?void 0:U.retryDecider)??hE,this.delayDecider=(U==null?void 0:U.delayDecider)??bE,this.retryQuota=(U==null?void 0:U.retryQuota)??qY(C.INITIAL_RETRY_TOKENS)}shouldRetry(w,U,f){return U<f&&this.retryDecider(w)&&this.retryQuota.hasRetryTokens(w)}async getMaxAttempts(){let w;try{w=await this.maxAttemptsProvider()}catch(U){w=C.DEFAULT_MAX_ATTEMPTS}return w}async retry(w,U,f){let G,W=0,E=0;const L=await this.getMaxAttempts(),{request:R}=U;if(B0.HttpRequest.isInstance(R))R.headers[C.INVOCATION_ID_HEADER]=SE.v4();while(!0)try{if(B0.HttpRequest.isInstance(R))R.headers[C.REQUEST_HEADER]=`attempt=${W+1}; max=${L}`;if(f==null?void 0:f.beforeRequest)await f.beforeRequest();const{response:F,output:Z}=await w(U);if(f==null?void 0:f.afterRequest)f.afterRequest(F);return this.retryQuota.releaseRetryTokens(G),Z.$metadata.attempts=W+1,Z.$metadata.totalRetryDelay=E,{response:F,output:Z}}catch(F){const Z=DE(F);if(W++,this.shouldRetry(Z,W,L)){G=this.retryQuota.retrieveRetryTokens(Z);const X=this.delayDecider(w0.isThrottlingError(Z)?C.THROTTLING_RETRY_DELAY_BASE:C.DEFAULT_RETRY_DELAY_BASE,W),Y=jY(Z.$response),I=Math.max(Y||0,X);E+=I,await new Promise((Q)=>setTimeout(Q,I));continue}if(!Z.$metadata)Z.$metadata={};throw Z.$metadata.attempts=W,Z.$metadata.totalRetryDelay=E,Z}}};P(kE,"StandardRetryStrategy");var cE=kE,jY=P(($)=>{if(!B0.HttpResponse.isInstance($))return;const w=Object.keys($.headers).find((W)=>W.toLowerCase()==="retry-after");if(!w)return;const U=$.headers[w],f=Number(U);if(!Number.isNaN(f))return f*1000;return new Date(U).getTime()-Date.now()},"getDelayFromRetryAfterHeader"),vE=class $ extends cE{constructor(w,U){const{rateLimiter:f,...G}=U??{};super(w,G);this.rateLimiter=f??new C.DefaultRateLimiter,this.mode=C.RETRY_MODES.ADAPTIVE}async retry(w,U){return super.retry(w,U,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(f)=>{this.rateLimiter.updateClientSendingRate(f)}})}};P(vE,"AdaptiveRetryStrategy");var PY=vE,jE=n(),Zw="AWS_MAX_ATTEMPTS",Xw="max_attempts",SY={environmentVariableSelector:($)=>{const w=$[Zw];if(!w)return;const U=parseInt(w);if(Number.isNaN(U))throw new Error(`Environment variable ${Zw} mast be a number, got "${w}"`);return U},configFileSelector:($)=>{const w=$[Xw];if(!w)return;const U=parseInt(w);if(Number.isNaN(U))throw new Error(`Shared config file entry ${Xw} mast be a number, got "${w}"`);return U},default:C.DEFAULT_MAX_ATTEMPTS},bY=P(($)=>{const{retryStrategy:w}=$,U=jE.normalizeProvider($.maxAttempts??C.DEFAULT_MAX_ATTEMPTS);return{...$,maxAttempts:U,retryStrategy:async()=>{if(w)return w;if(await jE.normalizeProvider($.retryMode)()===C.RETRY_MODES.ADAPTIVE)return new C.AdaptiveRetryStrategy(U);return new C.StandardRetryStrategy(U)}}},"resolveRetryConfig"),xE="AWS_RETRY_MODE",yE="retry_mode",hY={environmentVariableSelector:($)=>$[xE],configFileSelector:($)=>$[yE],default:C.DEFAULT_RETRY_MODE},uE=P(()=>($)=>async(w)=>{const{request:U}=w;if(B0.HttpRequest.isInstance(U))delete U.headers[C.INVOCATION_ID_HEADER],delete U.headers[C.REQUEST_HEADER];return $(w)},"omitRetryHeadersMiddleware"),_E={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},DY=P(($)=>({applyToStack:(w)=>{w.addRelativeTo(uE(),_E)}}),"getOmitRetryHeadersPlugin"),kY=V0(),cY=qE(),dE=P(($)=>(w,U)=>async(f)=>{var G;let W=await $.retryStrategy();const E=await $.maxAttempts();if(vY(W)){W=W;let L=await W.acquireInitialRetryToken(U.partition_id),R=new Error,F=0,Z=0;const{request:X}=f,Y=B0.HttpRequest.isInstance(X);if(Y)X.headers[C.INVOCATION_ID_HEADER]=SE.v4();while(!0)try{if(Y)X.headers[C.REQUEST_HEADER]=`attempt=${F+1}; max=${E}`;const{response:I,output:Q}=await w(f);return W.recordSuccess(L),Q.$metadata.attempts=F+1,Q.$metadata.totalRetryDelay=Z,{response:I,output:Q}}catch(I){const Q=xY(I);if(R=DE(I),Y&&cY.isStreamingPayload(X))throw(G=U.logger instanceof kY.NoOpLogger?console:U.logger)==null||G.warn("An error was encountered in a non-retryable streaming request."),R;try{L=await W.refreshRetryTokenForRetry(L,Q)}catch(A){if(!R.$metadata)R.$metadata={};throw R.$metadata.attempts=F+1,R.$metadata.totalRetryDelay=Z,R}F=L.getRetryCount();const J=L.getRetryDelay();Z+=J,await new Promise((A)=>setTimeout(A,J))}}else{if(W=W,W==null?void 0:W.mode)U.userAgent=[...U.userAgent||[],["cfg/retry-mode",W.mode]];return W.retry(w,f)}},"retryMiddleware"),vY=P(($)=>typeof $.acquireInitialRetryToken!=="undefined"&&typeof $.refreshRetryTokenForRetry!=="undefined"&&typeof $.recordSuccess!=="undefined","isRetryStrategyV2"),xY=P(($)=>{const w={error:$,errorType:yY($)},U=gE($.$response);if(U)w.retryAfterHint=U;return w},"getRetryErrorInfo"),yY=P(($)=>{if(w0.isThrottlingError($))return"THROTTLING";if(w0.isTransientError($))return"TRANSIENT";if(w0.isServerError($))return"SERVER_ERROR";return"CLIENT_ERROR"},"getRetryErrorType"),pE={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},uY=P(($)=>({applyToStack:(w)=>{w.add(dE($),pE)}}),"getRetryPlugin"),gE=P(($)=>{if(!B0.HttpResponse.isInstance($))return;const w=Object.keys($.headers).find((W)=>W.toLowerCase()==="retry-after");if(!w)return;const U=$.headers[w],f=Number(U);if(!Number.isNaN(f))return new Date(f*1000);return new Date(U)},"getRetryAfterHint")});var Yw=M((WM,ZL)=>{var iE=function($){const w=new Map;for(let U of $)w.set(U.schemeId,U);return w},EL=function($,w){return new RL($,w)},FL=function($,w,U,f,G){return H(async function*W(E,L,...R){let F=E.startingToken||void 0,Z=!0,X;while(Z){if(L[U]=F,G)L[G]=L[G]??E.pageSize;if(E.client instanceof $)X=await F5(w,E.client,L,...R);else throw new Error(`Invalid client, expected instance of ${$.name}`);yield X;const Y=F;F=Z5(X,f),Z=!!(F&&(!E.stopOnSameToken||F!==Y))}return},"paginateOperation")},D1=Object.defineProperty,_Y=Object.getOwnPropertyDescriptor,dY=Object.getOwnPropertyNames,pY=Object.prototype.hasOwnProperty,H=($,w)=>D1($,"name",{value:w,configurable:!0}),gY=($,w)=>{for(var U in w)D1($,U,{get:w[U],enumerable:!0})},lY=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of dY(w))if(!pY.call($,G)&&G!==U)D1($,G,{get:()=>w[G],enumerable:!(f=_Y(w,G))||f.enumerable})}return $},nY=($)=>lY(D1({},"__esModule",{value:!0}),$),sE={};gY(sE,{DefaultIdentityProviderConfig:()=>$5,EXPIRATION_MS:()=>fL,HttpApiKeyAuthSigner:()=>w5,HttpBearerAuthSigner:()=>U5,NoAuthSigner:()=>G5,RequestBuilder:()=>RL,createIsIdentityExpiredFunction:()=>GL,createPaginator:()=>FL,doesIdentityRequireRefresh:()=>WL,getHttpAuthSchemeEndpointRuleSetPlugin:()=>mY,getHttpAuthSchemePlugin:()=>rY,getHttpSigningPlugin:()=>eY,getSmithyContext:()=>E5,httpAuthSchemeEndpointRuleSetMiddlewareOptions:()=>rE,httpAuthSchemeMiddleware:()=>Iw,httpAuthSchemeMiddlewareOptions:()=>oE,httpSigningMiddleware:()=>tE,httpSigningMiddlewareOptions:()=>aE,isIdentityExpired:()=>f5,memoizeIdentityProvider:()=>W5,normalizeProvider:()=>L5,requestBuilder:()=>EL});ZL.exports=nY(sE);var mE=n();H(iE,"convertHttpAuthSchemesToMap");var Iw=H(($,w)=>(U,f)=>async(G)=>{var W;const E=$.httpAuthSchemeProvider(await w.httpAuthSchemeParametersProvider($,f,G.input)),L=iE($.httpAuthSchemes),R=mE.getSmithyContext(f),F=[];for(let Z of E){const X=L.get(Z.schemeId);if(!X){F.push(`HttpAuthScheme \`${Z.schemeId}\` was not enabled for this service.`);continue}const Y=X.identityProvider(await w.identityProviderConfigProvider($));if(!Y){F.push(`HttpAuthScheme \`${Z.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:I={},signingProperties:Q={}}=((W=Z.propertiesExtractor)==null?void 0:W.call(Z,$,f))||{};Z.identityProperties=Object.assign(Z.identityProperties||{},I),Z.signingProperties=Object.assign(Z.signingProperties||{},Q),R.selectedHttpAuthScheme={httpAuthOption:Z,identity:await Y(Z.identityProperties),signer:X.signer};break}if(!R.selectedHttpAuthScheme)throw new Error(F.join("\n"));return U(G)},"httpAuthSchemeMiddleware"),sY=aU(),rE={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:sY.endpointMiddlewareOptions.name},mY=H(($,{httpAuthSchemeParametersProvider:w,identityProviderConfigProvider:U})=>({applyToStack:(f)=>{f.addRelativeTo(Iw($,{httpAuthSchemeParametersProvider:w,identityProviderConfigProvider:U}),rE)}}),"getHttpAuthSchemeEndpointRuleSetPlugin"),iY=w1(),oE={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:iY.serializerMiddlewareOption.name},rY=H(($,{httpAuthSchemeParametersProvider:w,identityProviderConfigProvider:U})=>({applyToStack:(f)=>{f.addRelativeTo(Iw($,{httpAuthSchemeParametersProvider:w,identityProviderConfigProvider:U}),oE)}}),"getHttpAuthSchemePlugin"),k1=i(),oY=H(($)=>(w)=>{throw w},"defaultErrorHandler"),tY=H(($,w)=>{},"defaultSuccessHandler"),tE=H(($)=>(w,U)=>async(f)=>{if(!k1.HttpRequest.isInstance(f.request))return w(f);const W=mE.getSmithyContext(U).selectedHttpAuthScheme;if(!W)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:E={}},identity:L,signer:R}=W,F=await w({...f,request:await R.sign(f.request,L,E)}).catch((R.errorHandler||oY)(E));return(R.successHandler||tY)(F.response,E),F},"httpSigningMiddleware"),aY=nE(),aE={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:aY.retryMiddlewareOptions.name},eY=H(($)=>({applyToStack:(w)=>{w.addRelativeTo(tE($),aE)}}),"getHttpSigningPlugin"),eE=class ${constructor(w){this.authSchemes=new Map;for(let[U,f]of Object.entries(w))if(f!==void 0)this.authSchemes.set(U,f)}getIdentityProvider(w){return this.authSchemes.get(w)}};H(eE,"DefaultIdentityProviderConfig");var $5=eE,h1=z0(),$L=class ${async sign(w,U,f){if(!f)throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!f.name)throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!f.in)throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!U.apiKey)throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");const G=k1.HttpRequest.clone(w);if(f.in===h1.HttpApiKeyAuthLocation.QUERY)G.query[f.name]=U.apiKey;else if(f.in===h1.HttpApiKeyAuthLocation.HEADER)G.headers[f.name]=f.scheme?`${f.scheme} ${U.apiKey}`:U.apiKey;else throw new Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+f.in+"`");return G}};H($L,"HttpApiKeyAuthSigner");var w5=$L,wL=class ${async sign(w,U,f){const G=k1.HttpRequest.clone(w);if(!U.token)throw new Error("request could not be signed with `token` since the `token` is not defined");return G.headers.Authorization=`Bearer ${U.token}`,G}};H(wL,"HttpBearerAuthSigner");var U5=wL,UL=class ${async sign(w,U,f){return w}};H(UL,"NoAuthSigner");var G5=UL,GL=H(($)=>(w)=>WL(w)&&w.expiration.getTime()-Date.now()<$,"createIsIdentityExpiredFunction"),fL=300000,f5=GL(fL),WL=H(($)=>$.expiration!==void 0,"doesIdentityRequireRefresh"),W5=H(($,w,U)=>{if($===void 0)return;const f=typeof $!=="function"?async()=>Promise.resolve($):$;let G,W,E,L=!1;const R=H(async(F)=>{if(!W)W=f(F);try{G=await W,E=!0,L=!1}finally{W=void 0}return G},"coalesceProvider");if(w===void 0)return async(F)=>{if(!E||(F==null?void 0:F.forceRefresh))G=await R(F);return G};return async(F)=>{if(!E||(F==null?void 0:F.forceRefresh))G=await R(F);if(L)return G;if(!U(G))return L=!0,G;if(w(G))return await R(F),G;return G}},"memoizeIdentityProvider"),E5=H(($)=>$[h1.SMITHY_CONTEXT_KEY]||($[h1.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),L5=H(($)=>{if(typeof $==="function")return $;const w=Promise.resolve($);return()=>w},"normalizeProvider"),R5=V0();H(EL,"requestBuilder");var LL=class ${constructor(w,U){this.input=w,this.context=U,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){const{hostname:w,protocol:U="https",port:f,path:G}=await this.context.endpoint();this.path=G;for(let W of this.resolvePathStack)W(this.path);return new k1.HttpRequest({protocol:U,hostname:this.hostname||w,port:f,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(w){return this.hostname=w,this}bp(w){return this.resolvePathStack.push((U)=>{this.path=`${(U==null?void 0:U.endsWith("/"))?U.slice(0,-1):U||""}`+w}),this}p(w,U,f,G){return this.resolvePathStack.push((W)=>{this.path=R5.resolvedPath(W,this.input,w,U,f,G)}),this}h(w){return this.headers=w,this}q(w){return this.query=w,this}b(w){return this.body=w,this}m(w){return this.method=w,this}};H(LL,"RequestBuilder");var RL=LL,F5=H(async($,w,U,...f)=>{return await w.send(new $(U),...f)},"makePagedClientRequest");H(FL,"createPaginator");var Z5=H(($,w)=>{let U=$;const f=w.split(".");for(let G of f){if(!U||typeof U!=="object")return;U=U[G]}return U},"get")});var S8=M((XO,e1)=>{var G8,f8,W8,E8,L8,R8,F8,Z8,X8,I8,Y8,Q8,z8,t1,Dw,M8,J8,K8,j0,T8,A8,O8,V8,B8,H8,C8,N8,q8,a1,j8,P8;(function($){var w=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(f){$(U(w,U(f)))});else if(typeof e1==="object"&&typeof XO==="object")$(U(w,U(XO)));else $(U(w));function U(f,G){if(f!==w)if(typeof Object.create==="function")Object.defineProperty(f,"__esModule",{value:!0});else f.__esModule=!0;return function(W,E){return f[W]=G?G(W,E):E}}})(function($){var w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,W){G.__proto__=W}||function(G,W){for(var E in W)if(Object.prototype.hasOwnProperty.call(W,E))G[E]=W[E]};G8=function(G,W){if(typeof W!=="function"&&W!==null)throw new TypeError("Class extends value "+String(W)+" is not a constructor or null");w(G,W);function E(){this.constructor=G}G.prototype=W===null?Object.create(W):(E.prototype=W.prototype,new E)},f8=Object.assign||function(G){for(var W,E=1,L=arguments.length;E<L;E++){W=arguments[E];for(var R in W)if(Object.prototype.hasOwnProperty.call(W,R))G[R]=W[R]}return G},W8=function(G,W){var E={};for(var L in G)if(Object.prototype.hasOwnProperty.call(G,L)&&W.indexOf(L)<0)E[L]=G[L];if(G!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var R=0,L=Object.getOwnPropertySymbols(G);R<L.length;R++)if(W.indexOf(L[R])<0&&Object.prototype.propertyIsEnumerable.call(G,L[R]))E[L[R]]=G[L[R]]}return E},E8=function(G,W,E,L){var R=arguments.length,F=R<3?W:L===null?L=Object.getOwnPropertyDescriptor(W,E):L,Z;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")F=Reflect.decorate(G,W,E,L);else for(var X=G.length-1;X>=0;X--)if(Z=G[X])F=(R<3?Z(F):R>3?Z(W,E,F):Z(W,E))||F;return R>3&&F&&Object.defineProperty(W,E,F),F},L8=function(G,W){return function(E,L){W(E,L,G)}},R8=function(G,W,E,L,R,F){function Z(S){if(S!==void 0&&typeof S!=="function")throw new TypeError("Function expected");return S}var X=L.kind,Y=X==="getter"?"get":X==="setter"?"set":"value",I=!W&&G?L.static?G:G.prototype:null,Q=W||(I?Object.getOwnPropertyDescriptor(I,L.name):{}),J,A=!1;for(var K=E.length-1;K>=0;K--){var T={};for(var O in L)T[O]=O==="access"?{}:L[O];for(var O in L.access)T.access[O]=L.access[O];T.addInitializer=function(S){if(A)throw new TypeError("Cannot add initializers after decoration has completed");F.push(Z(S||null))};var B=E[K](X==="accessor"?{get:Q.get,set:Q.set}:Q[Y],T);if(X==="accessor"){if(B===void 0)continue;if(B===null||typeof B!=="object")throw new TypeError("Object expected");if(J=Z(B.get))Q.get=J;if(J=Z(B.set))Q.set=J;if(J=Z(B.init))R.unshift(J)}else if(J=Z(B))if(X==="field")R.unshift(J);else Q[Y]=J}if(I)Object.defineProperty(I,L.name,Q);A=!0},F8=function(G,W,E){var L=arguments.length>2;for(var R=0;R<W.length;R++)E=L?W[R].call(G,E):W[R].call(G);return L?E:void 0},Z8=function(G){return typeof G==="symbol"?G:"".concat(G)},X8=function(G,W,E){if(typeof W==="symbol")W=W.description?"[".concat(W.description,"]"):"";return Object.defineProperty(G,"name",{configurable:!0,value:E?"".concat(E," ",W):W})},I8=function(G,W){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(G,W)},Y8=function(G,W,E,L){function R(F){return F instanceof E?F:new E(function(Z){Z(F)})}return new(E||(E=Promise))(function(F,Z){function X(Q){try{I(L.next(Q))}catch(J){Z(J)}}function Y(Q){try{I(L.throw(Q))}catch(J){Z(J)}}function I(Q){Q.done?F(Q.value):R(Q.value).then(X,Y)}I((L=L.apply(G,W||[])).next())})},Q8=function(G,W){var E={label:0,sent:function(){if(F[0]&1)throw F[1];return F[1]},trys:[],ops:[]},L,R,F,Z;return Z={next:X(0),throw:X(1),return:X(2)},typeof Symbol==="function"&&(Z[Symbol.iterator]=function(){return this}),Z;function X(I){return function(Q){return Y([I,Q])}}function Y(I){if(L)throw new TypeError("Generator is already executing.");while(Z&&(Z=0,I[0]&&(E=0)),E)try{if(L=1,R&&(F=I[0]&2?R.return:I[0]?R.throw||((F=R.return)&&F.call(R),0):R.next)&&!(F=F.call(R,I[1])).done)return F;if(R=0,F)I=[I[0]&2,F.value];switch(I[0]){case 0:case 1:F=I;break;case 4:return E.label++,{value:I[1],done:!1};case 5:E.label++,R=I[1],I=[0];continue;case 7:I=E.ops.pop(),E.trys.pop();continue;default:if((F=E.trys,!(F=F.length>0&&F[F.length-1]))&&(I[0]===6||I[0]===2)){E=0;continue}if(I[0]===3&&(!F||I[1]>F[0]&&I[1]<F[3])){E.label=I[1];break}if(I[0]===6&&E.label<F[1]){E.label=F[1],F=I;break}if(F&&E.label<F[2]){E.label=F[2],E.ops.push(I);break}if(F[2])E.ops.pop();E.trys.pop();continue}I=W.call(G,E)}catch(Q){I=[6,Q],R=0}finally{L=F=0}if(I[0]&5)throw I[1];return{value:I[0]?I[1]:void 0,done:!0}}},z8=function(G,W){for(var E in G)if(E!=="default"&&!Object.prototype.hasOwnProperty.call(W,E))a1(W,G,E)},a1=Object.create?function(G,W,E,L){if(L===void 0)L=E;var R=Object.getOwnPropertyDescriptor(W,E);if(!R||("get"in R?!W.__esModule:R.writable||R.configurable))R={enumerable:!0,get:function(){return W[E]}};Object.defineProperty(G,L,R)}:function(G,W,E,L){if(L===void 0)L=E;G[L]=W[E]},t1=function(G){var W=typeof Symbol==="function"&&Symbol.iterator,E=W&&G[W],L=0;if(E)return E.call(G);if(G&&typeof G.length==="number")return{next:function(){if(G&&L>=G.length)G=void 0;return{value:G&&G[L++],done:!G}}};throw new TypeError(W?"Object is not iterable.":"Symbol.iterator is not defined.")},Dw=function(G,W){var E=typeof Symbol==="function"&&G[Symbol.iterator];if(!E)return G;var L=E.call(G),R,F=[],Z;try{while((W===void 0||W-- >0)&&!(R=L.next()).done)F.push(R.value)}catch(X){Z={error:X}}finally{try{if(R&&!R.done&&(E=L.return))E.call(L)}finally{if(Z)throw Z.error}}return F},M8=function(){for(var G=[],W=0;W<arguments.length;W++)G=G.concat(Dw(arguments[W]));return G},J8=function(){for(var G=0,W=0,E=arguments.length;W<E;W++)G+=arguments[W].length;for(var L=Array(G),R=0,W=0;W<E;W++)for(var F=arguments[W],Z=0,X=F.length;Z<X;Z++,R++)L[R]=F[Z];return L},K8=function(G,W,E){if(E||arguments.length===2){for(var L=0,R=W.length,F;L<R;L++)if(F||!(L in W)){if(!F)F=Array.prototype.slice.call(W,0,L);F[L]=W[L]}}return G.concat(F||Array.prototype.slice.call(W))},j0=function(G){return this instanceof j0?(this.v=G,this):new j0(G)},T8=function(G,W,E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L=E.apply(G,W||[]),R,F=[];return R={},X("next"),X("throw"),X("return",Z),R[Symbol.asyncIterator]=function(){return this},R;function Z(K){return function(T){return Promise.resolve(T).then(K,J)}}function X(K,T){if(L[K]){if(R[K]=function(O){return new Promise(function(B,S){F.push([K,O,B,S])>1||Y(K,O)})},T)R[K]=T(R[K])}}function Y(K,T){try{I(L[K](T))}catch(O){A(F[0][3],O)}}function I(K){K.value instanceof j0?Promise.resolve(K.value.v).then(Q,J):A(F[0][2],K)}function Q(K){Y("next",K)}function J(K){Y("throw",K)}function A(K,T){if(K(T),F.shift(),F.length)Y(F[0][0],F[0][1])}},A8=function(G){var W,E;return W={},L("next"),L("throw",function(R){throw R}),L("return"),W[Symbol.iterator]=function(){return this},W;function L(R,F){W[R]=G[R]?function(Z){return(E=!E)?{value:j0(G[R](Z)),done:!1}:F?F(Z):Z}:F}},O8=function(G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var W=G[Symbol.asyncIterator],E;return W?W.call(G):(G=typeof t1==="function"?t1(G):G[Symbol.iterator](),E={},L("next"),L("throw"),L("return"),E[Symbol.asyncIterator]=function(){return this},E);function L(F){E[F]=G[F]&&function(Z){return new Promise(function(X,Y){Z=G[F](Z),R(X,Y,Z.done,Z.value)})}}function R(F,Z,X,Y){Promise.resolve(Y).then(function(I){F({value:I,done:X})},Z)}},V8=function(G,W){if(Object.defineProperty)Object.defineProperty(G,"raw",{value:W});else G.raw=W;return G};var U=Object.create?function(G,W){Object.defineProperty(G,"default",{enumerable:!0,value:W})}:function(G,W){G.default=W};B8=function(G){if(G&&G.__esModule)return G;var W={};if(G!=null){for(var E in G)if(E!=="default"&&Object.prototype.hasOwnProperty.call(G,E))a1(W,G,E)}return U(W,G),W},H8=function(G){return G&&G.__esModule?G:{default:G}},C8=function(G,W,E,L){if(E==="a"&&!L)throw new TypeError("Private accessor was defined without a getter");if(typeof W==="function"?G!==W||!L:!W.has(G))throw new TypeError("Cannot read private member from an object whose class did not declare it");return E==="m"?L:E==="a"?L.call(G):L?L.value:W.get(G)},N8=function(G,W,E,L,R){if(L==="m")throw new TypeError("Private method is not writable");if(L==="a"&&!R)throw new TypeError("Private accessor was defined without a setter");if(typeof W==="function"?G!==W||!R:!W.has(G))throw new TypeError("Cannot write private member to an object whose class did not declare it");return L==="a"?R.call(G,E):R?R.value=E:W.set(G,E),E},q8=function(G,W){if(W===null||typeof W!=="object"&&typeof W!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof G==="function"?W===G:G.has(W)},j8=function(G,W,E){if(W!==null&&W!==void 0){if(typeof W!=="object"&&typeof W!=="function")throw new TypeError("Object expected.");var L,R;if(E){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");L=W[Symbol.asyncDispose]}if(L===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");if(L=W[Symbol.dispose],E)R=L}if(typeof L!=="function")throw new TypeError("Object not disposable.");if(R)L=function(){try{R.call(this)}catch(F){return Promise.reject(F)}};G.stack.push({value:W,dispose:L,async:E})}else if(E)G.stack.push({async:!0});return W};var f=typeof SuppressedError==="function"?SuppressedError:function(G,W,E){var L=new Error(E);return L.name="SuppressedError",L.error=G,L.suppressed=W,L};P8=function(G){function W(L){G.error=G.hasError?new f(L,G.error,"An error was suppressed during disposal."):L,G.hasError=!0}function E(){while(G.stack.length){var L=G.stack.pop();try{var R=L.dispose&&L.dispose.call(L.value);if(L.async)return Promise.resolve(R).then(E,function(F){return W(F),E()})}catch(F){W(F)}}if(G.hasError)throw G.error}return E()},$("__extends",G8),$("__assign",f8),$("__rest",W8),$("__decorate",E8),$("__param",L8),$("__esDecorate",R8),$("__runInitializers",F8),$("__propKey",Z8),$("__setFunctionName",X8),$("__metadata",I8),$("__awaiter",Y8),$("__generator",Q8),$("__exportStar",z8),$("__createBinding",a1),$("__values",t1),$("__read",Dw),$("__spread",M8),$("__spreadArrays",J8),$("__spreadArray",K8),$("__await",j0),$("__asyncGenerator",T8),$("__asyncDelegator",A8),$("__asyncValues",O8),$("__makeTemplateObject",V8),$("__importStar",B8),$("__importDefault",H8),$("__classPrivateFieldGet",C8),$("__classPrivateFieldSet",N8),$("__classPrivateFieldIn",q8),$("__addDisposableResource",j8),$("__disposeResources",P8)})});var k8=M((IO,D8)=>{var{defineProperty:$$,getOwnPropertyDescriptor:n5,getOwnPropertyNames:s5}=Object,m5=Object.prototype.hasOwnProperty,i5=($,w)=>$$($,"name",{value:w,configurable:!0}),r5=($,w)=>{for(var U in w)$$($,U,{get:w[U],enumerable:!0})},o5=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of s5(w))if(!m5.call($,G)&&G!==U)$$($,G,{get:()=>w[G],enumerable:!(f=n5(w,G))||f.enumerable})}return $},t5=($)=>o5($$({},"__esModule",{value:!0}),$),h8={};r5(h8,{emitWarningIfUnsupportedVersion:()=>a5});D8.exports=t5(h8);var b8=!1,a5=i5(($)=>{if($&&!b8&&parseInt($.substring(1,$.indexOf(".")))<18)b8=!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 $4=M((YO,e8)=>{var yw=function($){for(let w=0;w<8;w++)$[w]^=255;for(let w=7;w>-1;w--)if($[w]++,$[w]!==0)break},W$=Object.defineProperty,e5=Object.getOwnPropertyDescriptor,$9=Object.getOwnPropertyNames,w9=Object.prototype.hasOwnProperty,b=($,w)=>W$($,"name",{value:w,configurable:!0}),U9=($,w)=>{for(var U in w)W$($,U,{get:w[U],enumerable:!0})},G9=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of $9(w))if(!w9.call($,G)&&G!==U)W$($,G,{get:()=>w[G],enumerable:!(f=e5(w,G))||f.enumerable})}return $},f9=($)=>G9(W$({},"__esModule",{value:!0}),$),u8={};U9(u8,{SignatureV4:()=>S9,clearCredentialCache:()=>O9,createScope:()=>G$,getCanonicalHeaders:()=>xw,getCanonicalQuery:()=>m8,getPayloadHash:()=>f$,getSigningKey:()=>s8,moveHeadersToQuery:()=>t8,prepareRequest:()=>uw});e8.exports=f9(u8);var c8=n(),kw=$0(),W9="X-Amz-Algorithm",E9="X-Amz-Credential",_8="X-Amz-Date",L9="X-Amz-SignedHeaders",R9="X-Amz-Expires",d8="X-Amz-Signature",p8="X-Amz-Security-Token",g8="authorization",l8=_8.toLowerCase(),F9="date",Z9=[g8,l8,F9],X9=d8.toLowerCase(),vw="x-amz-content-sha256",I9=p8.toLowerCase(),Y9={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},Q9=/^proxy-/,z9=/^sec-/,cw="AWS4-HMAC-SHA256",M9="AWS4-HMAC-SHA256-PAYLOAD",J9="UNSIGNED-PAYLOAD",K9=50,n8="aws4_request",T9=604800,f0=m$(),A9=$0(),P0={},U$=[],G$=b(($,w,U)=>`${$}/${w}/${U}/${n8}`,"createScope"),s8=b(async($,w,U,f,G)=>{const W=await v8($,w.secretAccessKey,w.accessKeyId),E=`${U}:${f}:${G}:${f0.toHex(W)}:${w.sessionToken}`;if(E in P0)return P0[E];U$.push(E);while(U$.length>K9)delete P0[U$.shift()];let L=`AWS4${w.secretAccessKey}`;for(let R of[U,f,G,n8])L=await v8($,L,R);return P0[E]=L},"getSigningKey"),O9=b(()=>{U$.length=0,Object.keys(P0).forEach(($)=>{delete P0[$]})},"clearCredentialCache"),v8=b(($,w,U)=>{const f=new $(w);return f.update(A9.toUint8Array(U)),f.digest()},"hmac"),xw=b(({headers:$},w,U)=>{const f={};for(let G of Object.keys($).sort()){if($[G]==null)continue;const W=G.toLowerCase();if(W in Y9||(w==null?void 0:w.has(W))||Q9.test(W)||z9.test(W)){if(!U||U&&!U.has(W))continue}f[W]=$[G].trim().replace(/\s+/g," ")}return f},"getCanonicalHeaders"),r0=_$(),m8=b(({query:$={}})=>{const w=[],U={};for(let f of Object.keys($).sort()){if(f.toLowerCase()===X9)continue;w.push(f);const G=$[f];if(typeof G==="string")U[f]=`${r0.escapeUri(f)}=${r0.escapeUri(G)}`;else if(Array.isArray(G))U[f]=G.slice(0).reduce((W,E)=>W.concat([`${r0.escapeUri(f)}=${r0.escapeUri(E)}`]),[]).sort().join("&")}return w.map((f)=>U[f]).filter((f)=>f).join("&")},"getCanonicalQuery"),V9=k$(),B9=$0(),f$=b(async({headers:$,body:w},U)=>{for(let f of Object.keys($))if(f.toLowerCase()===vw)return $[f];if(w==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof w==="string"||ArrayBuffer.isView(w)||V9.isArrayBuffer(w)){const f=new U;return f.update(B9.toUint8Array(w)),f0.toHex(await f.digest())}return J9},"getPayloadHash"),x8=$0(),i8=class ${format(w){const U=[];for(let W of Object.keys(w)){const E=x8.fromUtf8(W);U.push(Uint8Array.from([E.byteLength]),E,this.formatHeaderValue(w[W]))}const f=new Uint8Array(U.reduce((W,E)=>W+E.byteLength,0));let G=0;for(let W of U)f.set(W,G),G+=W.byteLength;return f}formatHeaderValue(w){switch(w.type){case"boolean":return Uint8Array.from([w.value?0:1]);case"byte":return Uint8Array.from([2,w.value]);case"short":const U=new DataView(new ArrayBuffer(3));return U.setUint8(0,3),U.setInt16(1,w.value,!1),new Uint8Array(U.buffer);case"integer":const f=new DataView(new ArrayBuffer(5));return f.setUint8(0,4),f.setInt32(1,w.value,!1),new Uint8Array(f.buffer);case"long":const G=new Uint8Array(9);return G[0]=5,G.set(w.value.bytes,1),G;case"binary":const W=new DataView(new ArrayBuffer(3+w.value.byteLength));W.setUint8(0,6),W.setUint16(1,w.value.byteLength,!1);const E=new Uint8Array(W.buffer);return E.set(w.value,3),E;case"string":const L=x8.fromUtf8(w.value),R=new DataView(new ArrayBuffer(3+L.byteLength));R.setUint8(0,7),R.setUint16(1,L.byteLength,!1);const F=new Uint8Array(R.buffer);return F.set(L,3),F;case"timestamp":const Z=new Uint8Array(9);return Z[0]=8,Z.set(N9.fromNumber(w.value.valueOf()).bytes,1),Z;case"uuid":if(!C9.test(w.value))throw new Error(`Invalid UUID received: ${w.value}`);const X=new Uint8Array(17);return X[0]=9,X.set(f0.fromHex(w.value.replace(/\-/g,"")),1),X}}};b(i8,"HeaderFormatter");var H9=i8,C9=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,r8=class ${constructor(w){if(this.bytes=w,w.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(w){if(w>9223372036854776000||w<-9223372036854776000)throw new Error(`${w} is too large (or, if negative, too small) to represent as an Int64`);const U=new Uint8Array(8);for(let f=7,G=Math.abs(Math.round(w));f>-1&&G>0;f--,G/=256)U[f]=G;if(w<0)yw(U);return new $(U)}valueOf(){const w=this.bytes.slice(0),U=w[0]&128;if(U)yw(w);return parseInt(f0.toHex(w),16)*(U?-1:1)}toString(){return String(this.valueOf())}};b(r8,"Int64");var N9=r8;b(yw,"negate");var q9=b(($,w)=>{$=$.toLowerCase();for(let U of Object.keys(w))if($===U.toLowerCase())return!0;return!1},"hasHeader"),o8=i(),t8=b(($,w={})=>{var U;const{headers:f,query:G={}}=o8.HttpRequest.clone($);for(let W of Object.keys(f)){const E=W.toLowerCase();if(E.slice(0,6)==="x-amz-"&&!((U=w.unhoistableHeaders)==null?void 0:U.has(E)))G[W]=f[W],delete f[W]}return{...$,headers:f,query:G}},"moveHeadersToQuery"),uw=b(($)=>{$=o8.HttpRequest.clone($);for(let w of Object.keys($.headers))if(Z9.indexOf(w.toLowerCase())>-1)delete $.headers[w];return $},"prepareRequest"),j9=b(($)=>P9($).toISOString().replace(/\.\d{3}Z$/,"Z"),"iso8601"),P9=b(($)=>{if(typeof $==="number")return new Date($*1000);if(typeof $==="string"){if(Number($))return new Date(Number($)*1000);return new Date($)}return $},"toDate"),a8=class ${constructor({applyChecksum:w,credentials:U,region:f,service:G,sha256:W,uriEscapePath:E=!0}){this.headerFormatter=new H9,this.service=G,this.sha256=W,this.uriEscapePath=E,this.applyChecksum=typeof w==="boolean"?w:!0,this.regionProvider=c8.normalizeProvider(f),this.credentialProvider=c8.normalizeProvider(U)}async presign(w,U={}){const{signingDate:f=new Date,expiresIn:G=3600,unsignableHeaders:W,unhoistableHeaders:E,signableHeaders:L,signingRegion:R,signingService:F}=U,Z=await this.credentialProvider();this.validateResolvedCredentials(Z);const X=R??await this.regionProvider(),{longDate:Y,shortDate:I}=w$(f);if(G>T9)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const Q=G$(I,X,F??this.service),J=t8(uw(w),{unhoistableHeaders:E});if(Z.sessionToken)J.query[p8]=Z.sessionToken;J.query[W9]=cw,J.query[E9]=`${Z.accessKeyId}/${Q}`,J.query[_8]=Y,J.query[R9]=G.toString(10);const A=xw(J,W,L);return J.query[L9]=y8(A),J.query[d8]=await this.getSignature(Y,Q,this.getSigningKey(Z,X,I,F),this.createCanonicalRequest(J,A,await f$(w,this.sha256))),J}async sign(w,U){if(typeof w==="string")return this.signString(w,U);else if(w.headers&&w.payload)return this.signEvent(w,U);else if(w.message)return this.signMessage(w,U);else return this.signRequest(w,U)}async signEvent({headers:w,payload:U},{signingDate:f=new Date,priorSignature:G,signingRegion:W,signingService:E}){const L=W??await this.regionProvider(),{shortDate:R,longDate:F}=w$(f),Z=G$(R,L,E??this.service),X=await f$({headers:{},body:U},this.sha256),Y=new this.sha256;Y.update(w);const I=f0.toHex(await Y.digest()),Q=[M9,F,Z,G,I,X].join("\n");return this.signString(Q,{signingDate:f,signingRegion:L,signingService:E})}async signMessage(w,{signingDate:U=new Date,signingRegion:f,signingService:G}){return this.signEvent({headers:this.headerFormatter.format(w.message.headers),payload:w.message.body},{signingDate:U,signingRegion:f,signingService:G,priorSignature:w.priorSignature}).then((E)=>{return{message:w.message,signature:E}})}async signString(w,{signingDate:U=new Date,signingRegion:f,signingService:G}={}){const W=await this.credentialProvider();this.validateResolvedCredentials(W);const E=f??await this.regionProvider(),{shortDate:L}=w$(U),R=new this.sha256(await this.getSigningKey(W,E,L,G));return R.update(kw.toUint8Array(w)),f0.toHex(await R.digest())}async signRequest(w,{signingDate:U=new Date,signableHeaders:f,unsignableHeaders:G,signingRegion:W,signingService:E}={}){const L=await this.credentialProvider();this.validateResolvedCredentials(L);const R=W??await this.regionProvider(),F=uw(w),{longDate:Z,shortDate:X}=w$(U),Y=G$(X,R,E??this.service);if(F.headers[l8]=Z,L.sessionToken)F.headers[I9]=L.sessionToken;const I=await f$(F,this.sha256);if(!q9(vw,F.headers)&&this.applyChecksum)F.headers[vw]=I;const Q=xw(F,G,f),J=await this.getSignature(Z,Y,this.getSigningKey(L,R,X,E),this.createCanonicalRequest(F,Q,I));return F.headers[g8]=`${cw} Credential=${L.accessKeyId}/${Y}, SignedHeaders=${y8(Q)}, Signature=${J}`,F}createCanonicalRequest(w,U,f){const G=Object.keys(U).sort();return`${w.method}
|
|
10
|
-
${this.getCanonicalPath(w)}
|
|
11
|
-
${m8(w)}
|
|
12
|
-
${G.map((W)=>`${W}:${U[W]}`).join("\n")}
|
|
13
|
-
|
|
14
|
-
${G.join(";")}
|
|
15
|
-
${f}`}async createStringToSign(w,U,f){const G=new this.sha256;G.update(kw.toUint8Array(f));const W=await G.digest();return`${cw}
|
|
16
|
-
${w}
|
|
17
|
-
${U}
|
|
18
|
-
${f0.toHex(W)}`}getCanonicalPath({path:w}){if(this.uriEscapePath){const U=[];for(let W of w.split("/")){if((W==null?void 0:W.length)===0)continue;if(W===".")continue;if(W==="..")U.pop();else U.push(W)}const f=`${(w==null?void 0:w.startsWith("/"))?"/":""}${U.join("/")}${U.length>0&&(w==null?void 0:w.endsWith("/"))?"/":""}`;return r0.escapeUri(f).replace(/%2F/g,"/")}return w}async getSignature(w,U,f,G){const W=await this.createStringToSign(w,U,G),E=new this.sha256(await f);return E.update(kw.toUint8Array(W)),f0.toHex(await E.digest())}getSigningKey(w,U,f,G){return s8(this.sha256,w,f,U,G||this.service)}validateResolvedCredentials(w){if(typeof w!=="object"||typeof w.accessKeyId!=="string"||typeof w.secretAccessKey!=="string")throw new Error("Resolved credential object is not valid")}};b(a8,"SignatureV4");var S9=a8,w$=b(($)=>{const w=j9($).replace(/[\-:]/g,"");return{longDate:w,shortDate:w.slice(0,8)}},"formatDate"),y8=b(($)=>Object.keys($).sort().join(";"),"getCanonicalHeaderList")});var Z4=M((QO,F4)=>{var{defineProperty:E$,getOwnPropertyDescriptor:b9,getOwnPropertyNames:h9}=Object,D9=Object.prototype.hasOwnProperty,k=($,w)=>E$($,"name",{value:w,configurable:!0}),k9=($,w)=>{for(var U in w)E$($,U,{get:w[U],enumerable:!0})},c9=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of h9(w))if(!D9.call($,G)&&G!==U)E$($,G,{get:()=>w[G],enumerable:!(f=b9(w,G))||f.enumerable})}return $},v9=($)=>c9(E$({},"__esModule",{value:!0}),$),W4={};k9(W4,{AWSSDKSigV4Signer:()=>_9,AwsSdkSigV4ASigner:()=>p9,AwsSdkSigV4Signer:()=>pw,NODE_SIGV4A_CONFIG_OPTIONS:()=>n9,resolveAWSSDKSigV4Config:()=>s9,resolveAwsSdkSigV4AConfig:()=>l9,resolveAwsSdkSigV4Config:()=>R4,validateSigningProperties:()=>dw});F4.exports=v9(W4);var x9=i(),y9=i(),w4=k(($)=>{var w,U;return y9.HttpResponse.isInstance($)?((w=$.headers)==null?void 0:w.date)??((U=$.headers)==null?void 0:U.Date):void 0},"getDateHeader"),_w=k(($)=>new Date(Date.now()+$),"getSkewCorrectedDate"),u9=k(($,w)=>Math.abs(_w(w).getTime()-$)>=300000,"isClockSkewed"),U4=k(($,w)=>{const U=Date.parse($);if(u9(U,w))return U-Date.now();return w},"getUpdatedSystemClockOffset"),o0=k(($,w)=>{if(!w)throw new Error(`Property \`${$}\` is not resolved for AWS SDK SigV4Auth`);return w},"throwSigningPropertyError"),dw=k(async($)=>{var w,U,f;const G=o0("context",$.context),W=o0("config",$.config),E=(f=(U=(w=G.endpointV2)==null?void 0:w.properties)==null?void 0:U.authSchemes)==null?void 0:f[0],R=await o0("signer",W.signer)(E),F=$==null?void 0:$.signingRegion,Z=$==null?void 0:$.signingRegionSet,X=$==null?void 0:$.signingName;return{config:W,signer:R,signingRegion:F,signingRegionSet:Z,signingName:X}},"validateSigningProperties"),E4=class ${async sign(w,U,f){var G;if(!x9.HttpRequest.isInstance(w))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const W=await dw(f),{config:E,signer:L}=W;let{signingRegion:R,signingName:F}=W;const Z=f.context;if(((G=Z==null?void 0:Z.authSchemes)==null?void 0:G.length)??0>1){const[Y,I]=Z.authSchemes;if((Y==null?void 0:Y.name)==="sigv4a"&&(I==null?void 0:I.name)==="sigv4")R=(I==null?void 0:I.signingRegion)??R,F=(I==null?void 0:I.signingName)??F}return await L.sign(w,{signingDate:_w(E.systemClockOffset),signingRegion:R,signingService:F})}errorHandler(w){return(U)=>{const f=U.ServerTime??w4(U.$response);if(f){const G=o0("config",w.config),W=G.systemClockOffset;if(G.systemClockOffset=U4(f,G.systemClockOffset),G.systemClockOffset!==W&&U.$metadata)U.$metadata.clockSkewCorrected=!0}throw U}}successHandler(w,U){const f=w4(w);if(f){const G=o0("config",U.config);G.systemClockOffset=U4(f,G.systemClockOffset)}}};k(E4,"AwsSdkSigV4Signer");var pw=E4,_9=pw,d9=i(),L4=class $ extends pw{async sign(w,U,f){var G;if(!d9.HttpRequest.isInstance(w))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const{config:W,signer:E,signingRegion:L,signingRegionSet:R,signingName:F}=await dw(f),X=(await((G=W.sigv4aSigningRegionSet)==null?void 0:G.call(W))??R??[L]).join(",");return await E.sign(w,{signingDate:_w(W.systemClockOffset),signingRegion:X,signingService:F})}};k(L4,"AwsSdkSigV4ASigner");var p9=L4,g9=Yw(),G4=X$(),l9=k(($)=>{return $.sigv4aSigningRegionSet=g9.normalizeProvider($.sigv4aSigningRegionSet),$},"resolveAwsSdkSigV4AConfig"),n9={environmentVariableSelector($){if($.AWS_SIGV4A_SIGNING_REGION_SET)return $.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((w)=>w.trim());throw new G4.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((w)=>w.trim());throw new G4.ProviderError("sigv4a_signing_region_set not set in profile.",{tryNextLink:!0})},default:void 0},Y0=Yw(),f4=$4(),R4=k(($)=>{let w;if($.credentials)w=Y0.memoizeIdentityProvider($.credentials,Y0.isIdentityExpired,Y0.doesIdentityRequireRefresh);if(!w)if($.credentialDefaultProvider)w=Y0.normalizeProvider($.credentialDefaultProvider(Object.assign({},$,{parentClientConfig:$})));else w=k(async()=>{throw new Error("`credentials` is missing")},"normalizedCreds");const{signingEscapePath:U=!0,systemClockOffset:f=$.systemClockOffset||0,sha256:G}=$;let W;if($.signer)W=Y0.normalizeProvider($.signer);else if($.regionInfoProvider)W=k(()=>Y0.normalizeProvider($.region)().then(async(E)=>[await $.regionInfoProvider(E,{useFipsEndpoint:await $.useFipsEndpoint(),useDualstackEndpoint:await $.useDualstackEndpoint()})||{},E]).then(([E,L])=>{const{signingRegion:R,signingService:F}=E;$.signingRegion=$.signingRegion||R||L,$.signingName=$.signingName||F||$.serviceId;const Z={...$,credentials:w,region:$.signingRegion,service:$.signingName,sha256:G,uriEscapePath:U};return new($.signerConstructor||f4.SignatureV4)(Z)}),"signer");else W=k(async(E)=>{E=Object.assign({},{name:"sigv4",signingName:$.signingName||$.defaultSigningName,signingRegion:await Y0.normalizeProvider($.region)(),properties:{}},E);const{signingRegion:L,signingName:R}=E;$.signingRegion=$.signingRegion||L,$.signingName=$.signingName||R||$.serviceId;const F={...$,credentials:w,region:$.signingRegion,service:$.signingName,sha256:G,uriEscapePath:U};return new($.signerConstructor||f4.SignatureV4)(F)},"signer");return{...$,systemClockOffset:f,signingEscapePath:U,credentials:w,signer:W}},"resolveAwsSdkSigV4Config"),s9=R4});var L$=M((t9)=>{var m9=":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",X4="[: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]["+m9+"]*",i9=new RegExp("^"+X4+"$"),r9=function($,w){const U=[];let f=w.exec($);while(f){const G=[];G.startIndex=w.lastIndex-f[0].length;const W=f.length;for(let E=0;E<W;E++)G.push(f[E]);U.push(G),f=w.exec($)}return U},o9=function($){const w=i9.exec($);return!(w===null||typeof w==="undefined")};t9.isExist=function($){return typeof $!=="undefined"};t9.isEmptyObject=function($){return Object.keys($).length===0};t9.merge=function($,w,U){if(w){const f=Object.keys(w),G=f.length;for(let W=0;W<G;W++)if(U==="strict")$[f[W]]=[w[f[W]]];else $[f[W]]=w[f[W]]}};t9.getValue=function($){if(t9.isExist($))return $;else return""};t9.isName=o9;t9.getAllMatches=r9;t9.nameRegexp=X4});var lw=M((YQ)=>{var Y4=function($){return $===" "||$==="\t"||$==="\n"||$==="\r"},Q4=function($,w){const U=w;for(;w<$.length;w++)if($[w]=="?"||$[w]==" "){const f=$.substr(U,w-U);if(w>5&&f==="xml")return j("InvalidXml","XML declaration allowed only at the start of the document.",D($,w));else if($[w]=="?"&&$[w+1]==">"){w++;break}else continue}return w},z4=function($,w){if($.length>w+5&&$[w+1]==="-"&&$[w+2]==="-"){for(w+=3;w<$.length;w++)if($[w]==="-"&&$[w+1]==="-"&&$[w+2]===">"){w+=2;break}}else if($.length>w+8&&$[w+1]==="D"&&$[w+2]==="O"&&$[w+3]==="C"&&$[w+4]==="T"&&$[w+5]==="Y"&&$[w+6]==="P"&&$[w+7]==="E"){let U=1;for(w+=8;w<$.length;w++)if($[w]==="<")U++;else if($[w]===">"){if(U--,U===0)break}}else if($.length>w+9&&$[w+1]==="["&&$[w+2]==="C"&&$[w+3]==="D"&&$[w+4]==="A"&&$[w+5]==="T"&&$[w+6]==="A"&&$[w+7]==="["){for(w+=8;w<$.length;w++)if($[w]==="]"&&$[w+1]==="]"&&$[w+2]===">"){w+=2;break}}return w},LQ=function($,w){let U="",f="",G=!1;for(;w<$.length;w++){if($[w]===WQ||$[w]===EQ)if(f==="")f=$[w];else if(f!==$[w]);else f="";else if($[w]===">"){if(f===""){G=!0;break}}U+=$[w]}if(f!=="")return!1;return{value:U,index:w,tagClosed:G}},M4=function($,w){const U=gw.getAllMatches($,RQ),f={};for(let G=0;G<U.length;G++){if(U[G][1].length===0)return j("InvalidAttr","Attribute '"+U[G][2]+"' has no space in starting.",t0(U[G]));else if(U[G][3]!==void 0&&U[G][4]===void 0)return j("InvalidAttr","Attribute '"+U[G][2]+"' is without value.",t0(U[G]));else if(U[G][3]===void 0&&!w.allowBooleanAttributes)return j("InvalidAttr","boolean attribute '"+U[G][2]+"' is not allowed.",t0(U[G]));const W=U[G][2];if(!XQ(W))return j("InvalidAttr","Attribute '"+W+"' is an invalid name.",t0(U[G]));if(!f.hasOwnProperty(W))f[W]=1;else return j("InvalidAttr","Attribute '"+W+"' is repeated.",t0(U[G]))}return!0},FQ=function($,w){let U=/\d/;if($[w]==="x")w++,U=/[\da-fA-F]/;for(;w<$.length;w++){if($[w]===";")return w;if(!$[w].match(U))break}return-1},ZQ=function($,w){if(w++,$[w]===";")return-1;if($[w]==="#")return w++,FQ($,w);let U=0;for(;w<$.length;w++,U++){if($[w].match(/\w/)&&U<20)continue;if($[w]===";")break;return-1}return w},j=function($,w,U){return{err:{code:$,msg:w,line:U.line||U,col:U.col}}},XQ=function($){return gw.isName($)},IQ=function($){return gw.isName($)},D=function($,w){const U=$.substring(0,w).split(/\r?\n/);return{line:U.length,col:U[U.length-1].length+1}},t0=function($){return $.startIndex+$[1].length},gw=L$(),fQ={allowBooleanAttributes:!1,unpairedTags:[]};YQ.validate=function($,w){w=Object.assign({},fQ,w);const U=[];let f=!1,G=!1;if($[0]==="\uFEFF")$=$.substr(1);for(let W=0;W<$.length;W++)if($[W]==="<"&&$[W+1]==="?"){if(W+=2,W=Q4($,W),W.err)return W}else if($[W]==="<"){let E=W;if(W++,$[W]==="!"){W=z4($,W);continue}else{let L=!1;if($[W]==="/")L=!0,W++;let R="";for(;W<$.length&&$[W]!==">"&&$[W]!==" "&&$[W]!=="\t"&&$[W]!=="\n"&&$[W]!=="\r";W++)R+=$[W];if(R=R.trim(),R[R.length-1]==="/")R=R.substring(0,R.length-1),W--;if(!IQ(R)){let X;if(R.trim().length===0)X="Invalid space after '<'.";else X="Tag '"+R+"' is an invalid name.";return j("InvalidTag",X,D($,W))}const F=LQ($,W);if(F===!1)return j("InvalidAttr","Attributes for '"+R+"' have open quote.",D($,W));let Z=F.value;if(W=F.index,Z[Z.length-1]==="/"){const X=W-Z.length;Z=Z.substring(0,Z.length-1);const Y=M4(Z,w);if(Y===!0)f=!0;else return j(Y.err.code,Y.err.msg,D($,X+Y.err.line))}else if(L)if(!F.tagClosed)return j("InvalidTag","Closing tag '"+R+"' doesn't have proper closing.",D($,W));else if(Z.trim().length>0)return j("InvalidTag","Closing tag '"+R+"' can't have attributes or invalid starting.",D($,E));else if(U.length===0)return j("InvalidTag","Closing tag '"+R+"' has not been opened.",D($,E));else{const X=U.pop();if(R!==X.tagName){let Y=D($,X.tagStartPos);return j("InvalidTag","Expected closing tag '"+X.tagName+"' (opened in line "+Y.line+", col "+Y.col+") instead of closing tag '"+R+"'.",D($,E))}if(U.length==0)G=!0}else{const X=M4(Z,w);if(X!==!0)return j(X.err.code,X.err.msg,D($,W-Z.length+X.err.line));if(G===!0)return j("InvalidXml","Multiple possible root nodes found.",D($,W));else if(w.unpairedTags.indexOf(R)!==-1);else U.push({tagName:R,tagStartPos:E});f=!0}for(W++;W<$.length;W++)if($[W]==="<")if($[W+1]==="!"){W++,W=z4($,W);continue}else if($[W+1]==="?"){if(W=Q4($,++W),W.err)return W}else break;else if($[W]==="&"){const X=ZQ($,W);if(X==-1)return j("InvalidChar","char '&' is not expected.",D($,W));W=X}else if(G===!0&&!Y4($[W]))return j("InvalidXml","Extra text at the end",D($,W));if($[W]==="<")W--}}else{if(Y4($[W]))continue;return j("InvalidChar","char '"+$[W]+"' is not expected.",D($,W))}if(!f)return j("InvalidXml","Start tag expected.",1);else if(U.length==1)return j("InvalidTag","Unclosed tag '"+U[0].tagName+"'.",D($,U[0].tagStartPos));else if(U.length>0)return j("InvalidXml","Invalid '"+JSON.stringify(U.map((W)=>W.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1});return!0};var WQ='"',EQ="'",RQ=new RegExp('(\\s*)([^\\s=]+)(\\s*=)?(\\s*([\'"])(([\\s\\S])*?)\\5)?',"g")});var K4=M((MQ)=>{var J4={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($,w){return w},attributeValueProcessor:function($,w){return w},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function($,w,U){return $}},zQ=function($){return Object.assign({},J4,$)};MQ.buildOptions=zQ;MQ.defaultOptions=J4});var O4=M((KO,A4)=>{class T4{constructor($){this.tagname=$,this.child=[],this[":@"]={}}add($,w){if($==="__proto__")$="#__proto__";this.child.push({[$]:w})}addChild($){if($.tagname==="__proto__")$.tagname="#__proto__";if($[":@"]&&Object.keys($[":@"]).length>0)this.child.push({[$.tagname]:$.child,[":@"]:$[":@"]});else this.child.push({[$.tagname]:$.child})}}A4.exports=T4});var B4=M((TO,V4)=>{var AQ=function($,w){const U={};if($[w+3]==="O"&&$[w+4]==="C"&&$[w+5]==="T"&&$[w+6]==="Y"&&$[w+7]==="P"&&$[w+8]==="E"){w=w+9;let f=1,G=!1,W=!1,E="";for(;w<$.length;w++)if($[w]==="<"&&!W){if(G&&BQ($,w)){if(w+=7,[entityName,val,w]=OQ($,w+1),val.indexOf("&")===-1)U[qQ(entityName)]={regx:RegExp(`&${entityName};`,"g"),val}}else if(G&&HQ($,w))w+=8;else if(G&&CQ($,w))w+=8;else if(G&&NQ($,w))w+=9;else if(VQ)W=!0;else throw new Error("Invalid DOCTYPE");f++,E=""}else if($[w]===">"){if(W){if($[w-1]==="-"&&$[w-2]==="-")W=!1,f--}else f--;if(f===0)break}else if($[w]==="[")G=!0;else E+=$[w];if(f!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:U,i:w}},OQ=function($,w){let U="";for(;w<$.length&&($[w]!=="'"&&$[w]!=='"');w++)U+=$[w];if(U=U.trim(),U.indexOf(" ")!==-1)throw new Error("External entites are not supported");const f=$[w++];let G="";for(;w<$.length&&$[w]!==f;w++)G+=$[w];return[U,G,w]},VQ=function($,w){if($[w+1]==="!"&&$[w+2]==="-"&&$[w+3]==="-")return!0;return!1},BQ=function($,w){if($[w+1]==="!"&&$[w+2]==="E"&&$[w+3]==="N"&&$[w+4]==="T"&&$[w+5]==="I"&&$[w+6]==="T"&&$[w+7]==="Y")return!0;return!1},HQ=function($,w){if($[w+1]==="!"&&$[w+2]==="E"&&$[w+3]==="L"&&$[w+4]==="E"&&$[w+5]==="M"&&$[w+6]==="E"&&$[w+7]==="N"&&$[w+8]==="T")return!0;return!1},CQ=function($,w){if($[w+1]==="!"&&$[w+2]==="A"&&$[w+3]==="T"&&$[w+4]==="T"&&$[w+5]==="L"&&$[w+6]==="I"&&$[w+7]==="S"&&$[w+8]==="T")return!0;return!1},NQ=function($,w){if($[w+1]==="!"&&$[w+2]==="N"&&$[w+3]==="O"&&$[w+4]==="T"&&$[w+5]==="A"&&$[w+6]==="T"&&$[w+7]==="I"&&$[w+8]==="O"&&$[w+9]==="N")return!0;return!1},qQ=function($){if(TQ.isName($))return $;else throw new Error(`Invalid entity name ${$}`)},TQ=L$();V4.exports=AQ});var C4=M((AO,H4)=>{var bQ=function($,w={}){if(w=Object.assign({},SQ,w),!$||typeof $!=="string")return $;let U=$.trim();if(w.skipLike!==void 0&&w.skipLike.test(U))return $;else if(w.hex&&jQ.test(U))return Number.parseInt(U,16);else{const f=PQ.exec(U);if(f){const G=f[1],W=f[2];let E=hQ(f[3]);const L=f[4]||f[6];if(!w.leadingZeros&&W.length>0&&G&&U[2]!==".")return $;else if(!w.leadingZeros&&W.length>0&&!G&&U[1]!==".")return $;else{const R=Number(U),F=""+R;if(F.search(/[eE]/)!==-1)if(w.eNotation)return R;else return $;else if(L)if(w.eNotation)return R;else return $;else if(U.indexOf(".")!==-1)if(F==="0"&&E==="")return R;else if(F===E)return R;else if(G&&F==="-"+E)return R;else return $;if(W)if(E===F)return R;else if(G+E===F)return R;else return $;if(U===F)return R;else if(U===G+F)return R;return $}}else return $}},hQ=function($){if($&&$.indexOf(".")!==-1){if($=$.replace(/0+$/,""),$===".")$="0";else if($[0]===".")$="0"+$;else if($[$.length-1]===".")$=$.substr(0,$.length-1);return $}return $},jQ=/^[-+]?0x[a-fA-F0-9]+$/,PQ=/^([\-\+])?(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 SQ={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};H4.exports=bQ});var P4=M((OO,j4)=>{var cQ=function($){const w=Object.keys($);for(let U=0;U<w.length;U++){const f=w[U];this.lastEntities[f]={regex:new RegExp("&"+f+";","g"),val:$[f]}}},vQ=function($,w,U,f,G,W,E){if($!==void 0){if(this.options.trimValues&&!f)$=$.trim();if($.length>0){if(!E)$=this.replaceEntitiesValue($);const L=this.options.tagValueProcessor(w,$,U,G,W);if(L===null||L===void 0)return $;else if(typeof L!==typeof $||L!==$)return L;else if(this.options.trimValues)return sw($,this.options.parseTagValue,this.options.numberParseOptions);else if($.trim()===$)return sw($,this.options.parseTagValue,this.options.numberParseOptions);else return $}}},xQ=function($){if(this.options.removeNSPrefix){const w=$.split(":"),U=$.charAt(0)==="/"?"/":"";if(w[0]==="xmlns")return"";if(w.length===2)$=U+w[1]}return $},uQ=function($,w,U){if(!this.options.ignoreAttributes&&typeof $==="string"){const f=N4.getAllMatches($,yQ),G=f.length,W={};for(let E=0;E<G;E++){const L=this.resolveNameSpace(f[E][1]);let R=f[E][4],F=this.options.attributeNamePrefix+L;if(L.length){if(this.options.transformAttributeName)F=this.options.transformAttributeName(F);if(F==="__proto__")F="#__proto__";if(R!==void 0){if(this.options.trimValues)R=R.trim();R=this.replaceEntitiesValue(R);const Z=this.options.attributeValueProcessor(L,R,w);if(Z===null||Z===void 0)W[F]=R;else if(typeof Z!==typeof R||Z!==R)W[F]=Z;else W[F]=sw(R,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 E={};return E[this.options.attributesGroupName]=W,E}return W}},dQ=function($,w,U){const f=this.options.updateTag(w.tagname,U,w[":@"]);if(f===!1);else if(typeof f==="string")w.tagname=f,$.addChild(w);else $.addChild(w)},gQ=function($,w,U,f){if($){if(f===void 0)f=Object.keys(w.child).length===0;if($=this.parseTextData($,w.tagname,U,!1,w[":@"]?Object.keys(w[":@"]).length!==0:!1,f),$!==void 0&&$!=="")w.add(this.options.textNodeName,$);$=""}return $},lQ=function($,w,U){const f="*."+U;for(let G in $){const W=$[G];if(f===W||w===W)return!0}return!1},nQ=function($,w,U=">"){let f,G="";for(let W=w;W<$.length;W++){let E=$[W];if(f){if(E===f)f=""}else if(E==='"'||E==="'")f=E;else if(E===U[0])if(U[1]){if($[W+1]===U[1])return{data:G,index:W}}else return{data:G,index:W};else if(E==="\t")E=" ";G+=E}},Q0=function($,w,U,f){const G=$.indexOf(w,U);if(G===-1)throw new Error(f);else return G+w.length-1},nw=function($,w,U,f=">"){const G=nQ($,w+1,f);if(!G)return;let W=G.data;const E=G.index,L=W.search(/\s/);let R=W,F=!0;if(L!==-1)R=W.substring(0,L),W=W.substring(L+1).trimStart();const Z=R;if(U){const X=R.indexOf(":");if(X!==-1)R=R.substr(X+1),F=R!==G.data.substr(X+1)}return{tagName:R,tagExp:W,closeIndex:E,attrExpPresent:F,rawTagName:Z}},sQ=function($,w,U){const f=U;let G=1;for(;U<$.length;U++)if($[U]==="<")if($[U+1]==="/"){const W=Q0($,">",U,`${w} is not closed`);if($.substring(U+2,W).trim()===w){if(G--,G===0)return{tagContent:$.substring(f,U),i:W}}U=W}else if($[U+1]==="?")U=Q0($,"?>",U+1,"StopNode is not closed.");else if($.substr(U+1,3)==="!--")U=Q0($,"-->",U+3,"StopNode is not closed.");else if($.substr(U+1,2)==="![")U=Q0($,"]]>",U,"StopNode is not closed.")-2;else{const W=nw($,U,">");if(W){if((W&&W.tagName)===w&&W.tagExp[W.tagExp.length-1]!=="/")G++;U=W.closeIndex}}},sw=function($,w,U){if(w&&typeof $==="string"){const f=$.trim();if(f==="true")return!0;else if(f==="false")return!1;else return kQ($,U)}else if(N4.isExist($))return $;else return""},N4=L$(),a0=O4(),DQ=B4(),kQ=C4();class q4{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:(w,U)=>String.fromCharCode(Number.parseInt(U,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(w,U)=>String.fromCharCode(Number.parseInt(U,16))}},this.addExternalEntities=cQ,this.parseXml=_Q,this.parseTextData=vQ,this.resolveNameSpace=xQ,this.buildAttributesMap=uQ,this.isItStopNode=lQ,this.replaceEntitiesValue=pQ,this.readStopNodeData=sQ,this.saveTextToParentTag=gQ,this.addChild=dQ}}var yQ=new RegExp('([^\\s=]+)\\s*(=\\s*([\'"])([\\s\\S]*?)\\3)?',"gm"),_Q=function($){$=$.replace(/\r\n?/g,"\n");const w=new a0("!xml");let U=w,f="",G="";for(let W=0;W<$.length;W++)if($[W]==="<")if($[W+1]==="/"){const L=Q0($,">",W,"Closing Tag is not closed.");let R=$.substring(W+2,L).trim();if(this.options.removeNSPrefix){const X=R.indexOf(":");if(X!==-1)R=R.substr(X+1)}if(this.options.transformTagName)R=this.options.transformTagName(R);if(U)f=this.saveTextToParentTag(f,U,G);const F=G.substring(G.lastIndexOf(".")+1);if(R&&this.options.unpairedTags.indexOf(R)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${R}>`);let Z=0;if(F&&this.options.unpairedTags.indexOf(F)!==-1)Z=G.lastIndexOf(".",G.lastIndexOf(".")-1),this.tagsNodeStack.pop();else Z=G.lastIndexOf(".");G=G.substring(0,Z),U=this.tagsNodeStack.pop(),f="",W=L}else if($[W+1]==="?"){let L=nw($,W,!1,"?>");if(!L)throw new Error("Pi Tag is not closed.");if(f=this.saveTextToParentTag(f,U,G),this.options.ignoreDeclaration&&L.tagName==="?xml"||this.options.ignorePiTags);else{const R=new a0(L.tagName);if(R.add(this.options.textNodeName,""),L.tagName!==L.tagExp&&L.attrExpPresent)R[":@"]=this.buildAttributesMap(L.tagExp,G,L.tagName);this.addChild(U,R,G)}W=L.closeIndex+1}else if($.substr(W+1,3)==="!--"){const L=Q0($,"-->",W+4,"Comment is not closed.");if(this.options.commentPropName){const R=$.substring(W+4,L-2);f=this.saveTextToParentTag(f,U,G),U.add(this.options.commentPropName,[{[this.options.textNodeName]:R}])}W=L}else if($.substr(W+1,2)==="!D"){const L=DQ($,W);this.docTypeEntities=L.entities,W=L.i}else if($.substr(W+1,2)==="!["){const L=Q0($,"]]>",W,"CDATA is not closed.")-2,R=$.substring(W+9,L);f=this.saveTextToParentTag(f,U,G);let F=this.parseTextData(R,U.tagname,G,!0,!1,!0,!0);if(F==null)F="";if(this.options.cdataPropName)U.add(this.options.cdataPropName,[{[this.options.textNodeName]:R}]);else U.add(this.options.textNodeName,F);W=L+2}else{let L=nw($,W,this.options.removeNSPrefix),R=L.tagName;const F=L.rawTagName;let{tagExp:Z,attrExpPresent:X,closeIndex:Y}=L;if(this.options.transformTagName)R=this.options.transformTagName(R);if(U&&f){if(U.tagname!=="!xml")f=this.saveTextToParentTag(f,U,G,!1)}const I=U;if(I&&this.options.unpairedTags.indexOf(I.tagname)!==-1)U=this.tagsNodeStack.pop(),G=G.substring(0,G.lastIndexOf("."));if(R!==w.tagname)G+=G?"."+R:R;if(this.isItStopNode(this.options.stopNodes,G,R)){let Q="";if(Z.length>0&&Z.lastIndexOf("/")===Z.length-1){if(R[R.length-1]==="/")R=R.substr(0,R.length-1),G=G.substr(0,G.length-1),Z=R;else Z=Z.substr(0,Z.length-1);W=L.closeIndex}else if(this.options.unpairedTags.indexOf(R)!==-1)W=L.closeIndex;else{const A=this.readStopNodeData($,F,Y+1);if(!A)throw new Error(`Unexpected end of ${F}`);W=A.i,Q=A.tagContent}const J=new a0(R);if(R!==Z&&X)J[":@"]=this.buildAttributesMap(Z,G,R);if(Q)Q=this.parseTextData(Q,R,G,!0,X,!0,!0);G=G.substr(0,G.lastIndexOf(".")),J.add(this.options.textNodeName,Q),this.addChild(U,J,G)}else{if(Z.length>0&&Z.lastIndexOf("/")===Z.length-1){if(R[R.length-1]==="/")R=R.substr(0,R.length-1),G=G.substr(0,G.length-1),Z=R;else Z=Z.substr(0,Z.length-1);if(this.options.transformTagName)R=this.options.transformTagName(R);const Q=new a0(R);if(R!==Z&&X)Q[":@"]=this.buildAttributesMap(Z,G,R);this.addChild(U,Q,G),G=G.substr(0,G.lastIndexOf("."))}else{const Q=new a0(R);if(this.tagsNodeStack.push(U),R!==Z&&X)Q[":@"]=this.buildAttributesMap(Z,G,R);this.addChild(U,Q,G),U=Q}f="",W=Y}}else f+=$[W];return w.child},pQ=function($){if(this.options.processEntities){for(let w in this.docTypeEntities){const U=this.docTypeEntities[w];$=$.replace(U.regx,U.val)}for(let w in this.lastEntities){const U=this.lastEntities[w];$=$.replace(U.regex,U.val)}if(this.options.htmlEntities)for(let w in this.htmlEntities){const U=this.htmlEntities[w];$=$.replace(U.regex,U.val)}$=$.replace(this.ampEntity.regex,this.ampEntity.val)}return $};j4.exports=q4});var b4=M((tQ)=>{var mQ=function($,w){return S4($,w)},S4=function($,w,U){let f;const G={};for(let W=0;W<$.length;W++){const E=$[W],L=iQ(E);let R="";if(U===void 0)R=L;else R=U+"."+L;if(L===w.textNodeName)if(f===void 0)f=E[L];else f+=""+E[L];else if(L===void 0)continue;else if(E[L]){let F=S4(E[L],w,R);const Z=oQ(F,w);if(E[":@"])rQ(F,E[":@"],R,w);else if(Object.keys(F).length===1&&F[w.textNodeName]!==void 0&&!w.alwaysCreateTextNode)F=F[w.textNodeName];else if(Object.keys(F).length===0)if(w.alwaysCreateTextNode)F[w.textNodeName]="";else F="";if(G[L]!==void 0&&G.hasOwnProperty(L)){if(!Array.isArray(G[L]))G[L]=[G[L]];G[L].push(F)}else if(w.isArray(L,R,Z))G[L]=[F];else G[L]=F}}if(typeof f==="string"){if(f.length>0)G[w.textNodeName]=f}else if(f!==void 0)G[w.textNodeName]=f;return G},iQ=function($){const w=Object.keys($);for(let U=0;U<w.length;U++){const f=w[U];if(f!==":@")return f}},rQ=function($,w,U,f){if(w){const G=Object.keys(w),W=G.length;for(let E=0;E<W;E++){const L=G[E];if(f.isArray(L,U+"."+L,!0,!0))$[L]=[w[L]];else $[L]=w[L]}}},oQ=function($,w){const{textNodeName:U}=w,f=Object.keys($).length;if(f===0)return!0;if(f===1&&($[U]||typeof $[U]==="boolean"||$[U]===0))return!0;return!1};tQ.prettify=mQ});var k4=M((BO,D4)=>{var{buildOptions:eQ}=K4(),$7=P4(),{prettify:w7}=b4(),U7=lw();class h4{constructor($){this.externalEntities={},this.options=eQ($)}parse($,w){if(typeof $==="string");else if($.toString)$=$.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(w){if(w===!0)w={};const G=U7.validate($,w);if(G!==!0)throw Error(`${G.err.msg}:${G.err.line}:${G.err.col}`)}const U=new $7(this.options);U.addExternalEntities(this.externalEntities);const f=U.parseXml($);if(this.options.preserveOrder||f===void 0)return f;else return w7(f,this.options)}addEntity($,w){if(w.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(w==="&")throw new Error("An entity with value '&' is not permitted");else this.externalEntities[$]=w}}D4.exports=h4});var u4=M((HO,y4)=>{var G7=function($,w){let U="";if(w.format&&w.indentBy.length>0)U="\n";return v4($,w,"",U)},v4=function($,w,U,f){let G="",W=!1;for(let E=0;E<$.length;E++){const L=$[E],R=f7(L);if(R===void 0)continue;let F="";if(U.length===0)F=R;else F=`${U}.${R}`;if(R===w.textNodeName){let Q=L[R];if(!W7(F,w))Q=w.tagValueProcessor(R,Q),Q=x4(Q,w);if(W)G+=f;G+=Q,W=!1;continue}else if(R===w.cdataPropName){if(W)G+=f;G+=`<![CDATA[${L[R][0][w.textNodeName]}]]>`,W=!1;continue}else if(R===w.commentPropName){G+=f+`<!--${L[R][0][w.textNodeName]}-->`,W=!0;continue}else if(R[0]==="?"){const Q=c4(L[":@"],w),J=R==="?xml"?"":f;let A=L[R][0][w.textNodeName];A=A.length!==0?" "+A:"",G+=J+`<${R}${A}${Q}?>`,W=!0;continue}let Z=f;if(Z!=="")Z+=w.indentBy;const X=c4(L[":@"],w),Y=f+`<${R}${X}`,I=v4(L[R],w,F,Z);if(w.unpairedTags.indexOf(R)!==-1)if(w.suppressUnpairedNode)G+=Y+">";else G+=Y+"/>";else if((!I||I.length===0)&&w.suppressEmptyNode)G+=Y+"/>";else if(I&&I.endsWith(">"))G+=Y+`>${I}${f}</${R}>`;else{if(G+=Y+">",I&&f!==""&&(I.includes("/>")||I.includes("</")))G+=f+w.indentBy+I+f;else G+=I;G+=`</${R}>`}W=!0}return G},f7=function($){const w=Object.keys($);for(let U=0;U<w.length;U++){const f=w[U];if(!$.hasOwnProperty(f))continue;if(f!==":@")return f}},c4=function($,w){let U="";if($&&!w.ignoreAttributes)for(let f in $){if(!$.hasOwnProperty(f))continue;let G=w.attributeValueProcessor(f,$[f]);if(G=x4(G,w),G===!0&&w.suppressBooleanAttributes)U+=` ${f.substr(w.attributeNamePrefix.length)}`;else U+=` ${f.substr(w.attributeNamePrefix.length)}="${G}"`}return U},W7=function($,w){$=$.substr(0,$.length-w.textNodeName.length-1);let U=$.substr($.lastIndexOf(".")+1);for(let f in w.stopNodes)if(w.stopNodes[f]===$||w.stopNodes[f]==="*."+U)return!0;return!1},x4=function($,w){if($&&$.length>0&&w.processEntities)for(let U=0;U<w.entities.length;U++){const f=w.entities[U];$=$.replace(f.regex,f.val)}return $};y4.exports=G7});var d4=M((CO,_4)=>{var W0=function($){if(this.options=Object.assign({},L7,$),this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Z7;if(this.processTextOrObjNode=R7,this.options.format)this.indentate=F7,this.tagEndChar=">\n",this.newLine="\n";else this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""},R7=function($,w,U){const f=this.j2x($,U+1);if($[this.options.textNodeName]!==void 0&&Object.keys($).length===1)return this.buildTextValNode($[this.options.textNodeName],w,f.attrStr,U);else return this.buildObjectNode(f.val,w,f.attrStr,U)},F7=function($){return this.options.indentBy.repeat($)},Z7=function($){if($.startsWith(this.options.attributeNamePrefix)&&$!==this.options.textNodeName)return $.substr(this.attrPrefixLen);else return!1},E7=u4(),L7={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function($,w){return w},attributeValueProcessor:function($,w){return w},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};W0.prototype.build=function($){if(this.options.preserveOrder)return E7($,this.options);else{if(Array.isArray($)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1)$={[this.options.arrayNodeName]:$};return this.j2x($,0).val}};W0.prototype.j2x=function($,w){let U="",f="";for(let G in $){if(!Object.prototype.hasOwnProperty.call($,G))continue;if(typeof $[G]==="undefined"){if(this.isAttribute(G))f+=""}else if($[G]===null)if(this.isAttribute(G))f+="";else if(G[0]==="?")f+=this.indentate(w)+"<"+G+"?"+this.tagEndChar;else f+=this.indentate(w)+"<"+G+"/"+this.tagEndChar;else if($[G]instanceof Date)f+=this.buildTextValNode($[G],G,"",w);else if(typeof $[G]!=="object"){const W=this.isAttribute(G);if(W)U+=this.buildAttrPairStr(W,""+$[G]);else if(G===this.options.textNodeName){let E=this.options.tagValueProcessor(G,""+$[G]);f+=this.replaceEntitiesValue(E)}else f+=this.buildTextValNode($[G],G,"",w)}else if(Array.isArray($[G])){const W=$[G].length;let E="",L="";for(let R=0;R<W;R++){const F=$[G][R];if(typeof F==="undefined");else if(F===null)if(G[0]==="?")f+=this.indentate(w)+"<"+G+"?"+this.tagEndChar;else f+=this.indentate(w)+"<"+G+"/"+this.tagEndChar;else if(typeof F==="object")if(this.options.oneListGroup){const Z=this.j2x(F,w+1);if(E+=Z.val,this.options.attributesGroupName&&F.hasOwnProperty(this.options.attributesGroupName))L+=Z.attrStr}else E+=this.processTextOrObjNode(F,G,w);else if(this.options.oneListGroup){let Z=this.options.tagValueProcessor(G,F);Z=this.replaceEntitiesValue(Z),E+=Z}else E+=this.buildTextValNode(F,G,"",w)}if(this.options.oneListGroup)E=this.buildObjectNode(E,G,L,w);f+=E}else if(this.options.attributesGroupName&&G===this.options.attributesGroupName){const W=Object.keys($[G]),E=W.length;for(let L=0;L<E;L++)U+=this.buildAttrPairStr(W[L],""+$[G][W[L]])}else f+=this.processTextOrObjNode($[G],G,w)}return{attrStr:U,val:f}};W0.prototype.buildAttrPairStr=function($,w){if(w=this.options.attributeValueProcessor($,""+w),w=this.replaceEntitiesValue(w),this.options.suppressBooleanAttributes&&w==="true")return" "+$;else return" "+$+'="'+w+'"'};W0.prototype.buildObjectNode=function($,w,U,f){if($==="")if(w[0]==="?")return this.indentate(f)+"<"+w+U+"?"+this.tagEndChar;else return this.indentate(f)+"<"+w+U+this.closeTag(w)+this.tagEndChar;else{let G="</"+w+this.tagEndChar,W="";if(w[0]==="?")W="?",G="";if((U||U==="")&&$.indexOf("<")===-1)return this.indentate(f)+"<"+w+U+W+">"+$+G;else if(this.options.commentPropName!==!1&&w===this.options.commentPropName&&W.length===0)return this.indentate(f)+`<!--${$}-->`+this.newLine;else return this.indentate(f)+"<"+w+U+W+this.tagEndChar+$+this.indentate(f)+G}};W0.prototype.closeTag=function($){let w="";if(this.options.unpairedTags.indexOf($)!==-1){if(!this.options.suppressUnpairedNode)w="/"}else if(this.options.suppressEmptyNode)w="/";else w=`></${$}`;return w};W0.prototype.buildTextValNode=function($,w,U,f){if(this.options.cdataPropName!==!1&&w===this.options.cdataPropName)return this.indentate(f)+`<![CDATA[${$}]]>`+this.newLine;else if(this.options.commentPropName!==!1&&w===this.options.commentPropName)return this.indentate(f)+`<!--${$}-->`+this.newLine;else if(w[0]==="?")return this.indentate(f)+"<"+w+U+"?"+this.tagEndChar;else{let G=this.options.tagValueProcessor(w,$);if(G=this.replaceEntitiesValue(G),G==="")return this.indentate(f)+"<"+w+U+this.closeTag(w)+this.tagEndChar;else return this.indentate(f)+"<"+w+U+">"+G+"</"+w+this.tagEndChar}};W0.prototype.replaceEntitiesValue=function($){if($&&$.length>0&&this.options.processEntities)for(let w=0;w<this.options.entities.length;w++){const U=this.options.entities[w];$=$.replace(U.regex,U.val)}return $};_4.exports=W0});var g4=M((NO,p4)=>{var X7=lw(),I7=k4(),Y7=d4();p4.exports={XMLParser:I7,XMLValidator:X7,XMLBuilder:Y7}});var r4=M((qO,i4)=>{var{defineProperty:R$,getOwnPropertyDescriptor:Q7,getOwnPropertyNames:z7}=Object,M7=Object.prototype.hasOwnProperty,c=($,w)=>R$($,"name",{value:w,configurable:!0}),J7=($,w)=>{for(var U in w)R$($,U,{get:w[U],enumerable:!0})},K7=($,w,U,f)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let G of z7(w))if(!M7.call($,G)&&G!==U)R$($,G,{get:()=>w[G],enumerable:!(f=Q7(w,G))||f.enumerable})}return $},T7=($)=>K7(R$({},"__esModule",{value:!0}),$),l4={};J7(l4,{_toBool:()=>O7,_toNum:()=>V7,_toStr:()=>A7,awsExpectUnion:()=>H7,loadRestJsonErrorCode:()=>q7,loadRestXmlErrorCode:()=>b7,parseJsonBody:()=>s4,parseJsonErrorBody:()=>N7,parseXmlBody:()=>m4,parseXmlErrorBody:()=>S7});i4.exports=T7(l4);var A7=c(($)=>{if($==null)return $;if(typeof $==="number"||typeof $==="bigint"){const w=new Error(`Received number ${$} where a string was expected.`);return w.name="Warning",console.warn(w),String($)}if(typeof $==="boolean"){const w=new Error(`Received boolean ${$} where a string was expected.`);return w.name="Warning",console.warn(w),String($)}return $},"_toStr"),O7=c(($)=>{if($==null)return $;if(typeof $==="string"){const w=$.toLowerCase();if($!==""&&w!=="false"&&w!=="true"){const U=new Error(`Received string "${$}" where a boolean was expected.`);U.name="Warning",console.warn(U)}return $!==""&&w!=="false"}return $},"_toBool"),V7=c(($)=>{if($==null)return $;if(typeof $==="string"){const w=Number($);if(w.toString()!==$){const U=new Error(`Received string "${$}" where a number was expected.`);return U.name="Warning",console.warn(U),$}return w}return $},"_toNum"),B7=V0(),H7=c(($)=>{if($==null)return;if(typeof $==="object"&&"__type"in $)delete $.__type;return B7.expectUnion($)},"awsExpectUnion"),C7=V0(),n4=c(($,w)=>C7.collectBody($,w).then((U)=>w.utf8Encoder(U)),"collectBodyString"),s4=c(($,w)=>n4($,w).then((U)=>{if(U.length)try{return JSON.parse(U)}catch(f){if((f==null?void 0:f.name)==="SyntaxError")Object.defineProperty(f,"$responseBodyText",{value:U});throw f}return{}}),"parseJsonBody"),N7=c(async($,w)=>{const U=await s4($,w);return U.message=U.message??U.Message,U},"parseJsonErrorBody"),q7=c(($,w)=>{const U=c((W,E)=>Object.keys(W).find((L)=>L.toLowerCase()===E.toLowerCase()),"findKey"),f=c((W)=>{let E=W;if(typeof E==="number")E=E.toString();if(E.indexOf(",")>=0)E=E.split(",")[0];if(E.indexOf(":")>=0)E=E.split(":")[0];if(E.indexOf("#")>=0)E=E.split("#")[1];return E},"sanitizeErrorCode"),G=U($.headers,"x-amzn-errortype");if(G!==void 0)return f($.headers[G]);if(w.code!==void 0)return f(w.code);if(w.__type!==void 0)return f(w.__type)},"loadRestJsonErrorCode"),j7=V0(),P7=g4(),m4=c(($,w)=>n4($,w).then((U)=>{if(U.length){const f=new P7.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(R,F)=>F.trim()===""&&F.includes("\n")?"":void 0});f.addEntity("#xD","\r"),f.addEntity("#10","\n");let G;try{G=f.parse(U,!0)}catch(R){if(R&&typeof R==="object")Object.defineProperty(R,"$responseBodyText",{value:U});throw R}const W="#text",E=Object.keys(G)[0],L=G[E];if(L[W])L[E]=L[W],delete L[W];return j7.getValueFromTextNode(L)}return{}}),"parseXmlBody"),S7=c(async($,w)=>{const U=await m4($,w);if(U.Error)U.Error.message=U.Error.message??U.Error.Message;return U},"parseXmlErrorBody"),b7=c(($,w)=>{var U;if(((U=w==null?void 0:w.Error)==null?void 0:U.Code)!==void 0)return w.Error.Code;if((w==null?void 0:w.Code)!==void 0)return w.Code;if($.statusCode==404)return"NotFound"},"loadRestXmlErrorCode")});var h7=M((e0)=>{Object.defineProperty(e0,"__esModule",{value:!0});var mw=S8();mw.__exportStar(k8(),e0);mw.__exportStar(Z4(),e0);mw.__exportStar(r4(),e0)});function i7($){return $}var R6=($)=>(w)=>async(U)=>{if(!x.isInstance(U.request))return w(U);const{request:f}=U,{handlerProtocol:G=""}=$.requestHandler.metadata||{};if(G.indexOf("h2")>=0&&!f.headers[":authority"])delete f.headers.host,f.headers[":authority"]=f.hostname+(f.port?":"+f.port:"");else if(!f.headers.host){let W=f.hostname;if(f.port!=null)W+=`:${f.port}`;f.headers.host=W}return w(U)},F6={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},r7=($)=>({applyToStack:(w)=>{w.add(R6($),F6)}});var Z6=()=>($,w)=>async(U)=>{try{const f=await $(U),{clientName:G,commandName:W,logger:E,dynamoDbDocumentClientOptions:L={}}=w,{overrideInputFilterSensitiveLog:R,overrideOutputFilterSensitiveLog:F}=L,Z=R??w.inputFilterSensitiveLog,X=F??w.outputFilterSensitiveLog,{$metadata:Y,...I}=f.output;return E?.info?.({clientName:G,commandName:W,input:Z(U.input),output:X(I),metadata:Y}),f}catch(f){const{clientName:G,commandName:W,logger:E,dynamoDbDocumentClientOptions:L={}}=w,{overrideInputFilterSensitiveLog:R}=L,F=R??w.inputFilterSensitiveLog;throw E?.error?.({clientName:G,commandName:W,input:F(U.input),error:f,metadata:f.$metadata}),f}},X6={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},t7=($)=>({applyToStack:(w)=>{w.add(Z6(),X6)}});var ew="X-Amzn-Trace-Id",I6="AWS_LAMBDA_FUNCTION_NAME",Y6="_X_AMZN_TRACE_ID",Q6=($)=>(w)=>async(U)=>{const{request:f}=U;if(!x.isInstance(f)||$.runtime!=="node"||f.headers.hasOwnProperty(ew))return w(U);const G=process.env[I6],W=process.env[Y6],E=(L)=>typeof L==="string"&&L.length>0;if(E(G)&&E(W))f.headers[ew]=W;return w({...U,request:f})},z6={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},Uz=($)=>({applyToStack:(w)=>{w.add(Q6($),z6)}});function EM($){return{...$,customUserAgent:typeof $.customUserAgent==="string"?[[$.customUserAgent]]:$.customUserAgent}}var X5=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}$"),n0=($)=>X5.test($)||$.startsWith("[")&&$.endsWith("]");var I5=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),s0=($,w=!1)=>{if(!w)return I5.test($);const U=$.split(".");for(let f of U)if(!s0(f))return!1;return!0};var m0={};var t="endpoints";function u($){if(typeof $!=="object"||$==null)return $;if("ref"in $)return`\$${u($.ref)}`;if("fn"in $)return`${$.fn}(${($.argv||[]).map(u).join(", ")})`;return JSON.stringify($,null,2)}class V extends Error{constructor($){super($);this.name="EndpointError"}}var XL=($,w)=>$===w;var IL=($)=>{const w=$.split("."),U=[];for(let f of w){const G=f.indexOf("[");if(G!==-1){if(f.indexOf("]")!==f.length-1)throw new V(`Path: '${$}' does not end with ']'`);const W=f.slice(G+1,-1);if(Number.isNaN(parseInt(W)))throw new V(`Invalid array index: '${W}' in path: '${$}'`);if(G!==0)U.push(f.slice(0,G));U.push(W)}else U.push(f)}return U};var c1=($,w)=>IL(w).reduce((U,f)=>{if(typeof U!=="object")throw new V(`Index '${f}' in '${w}' not found in '${JSON.stringify($)}'`);else if(Array.isArray(U))return U[parseInt(f)];return U[f]},$);var YL=($)=>$!=null;var QL=($)=>!$;var v1=a(z0(),1);var Qw={[v1.EndpointURLScheme.HTTP]:80,[v1.EndpointURLScheme.HTTPS]:443},zL=($)=>{const w=(()=>{try{if($ instanceof URL)return $;if(typeof $==="object"&&"hostname"in $){const{hostname:Y,port:I,protocol:Q="",path:J="",query:A={}}=$,K=new URL(`${Q}//${Y}${I?`:${I}`:""}${J}`);return K.search=Object.entries(A).map(([T,O])=>`${T}=${O}`).join("&"),K}return new URL($)}catch(Y){return null}})();if(!w)return console.error(`Unable to parse ${JSON.stringify($)} as a whatwg URL.`),null;const U=w.href,{host:f,hostname:G,pathname:W,protocol:E,search:L}=w;if(L)return null;const R=E.slice(0,-1);if(!Object.values(v1.EndpointURLScheme).includes(R))return null;const F=n0(G),Z=U.includes(`${f}:${Qw[R]}`)||typeof $==="string"&&$.includes(`${f}:${Qw[R]}`),X=`${f}${Z?`:${Qw[R]}`:""}`;return{scheme:R,authority:X,path:W,normalizedPath:W.endsWith("/")?W:`${W}/`,isIp:F}};var ML=($,w)=>$===w;var JL=($,w,U,f)=>{if(w>=U||$.length<U)return null;if(!f)return $.substring(w,U);return $.substring($.length-U,$.length-w)};var KL=($)=>encodeURIComponent($).replace(/[!*'()]/g,(w)=>`%${w.charCodeAt(0).toString(16).toUpperCase()}`);var TL={booleanEquals:XL,getAttr:c1,isSet:YL,isValidHostLabel:s0,not:QL,parseURL:zL,stringEquals:ML,substring:JL,uriEncode:KL};var x1=($,w)=>{const U=[],f={...w.endpointParams,...w.referenceRecord};let G=0;while(G<$.length){const W=$.indexOf("{",G);if(W===-1){U.push($.slice(G));break}U.push($.slice(G,W));const E=$.indexOf("}",W);if(E===-1){U.push($.slice(W));break}if($[W+1]==="{"&&$[E+1]==="}")U.push($.slice(W+1,E)),G=E+2;const L=$.substring(W+1,E);if(L.includes("#")){const[R,F]=L.split("#");U.push(c1(f[R],F))}else U.push(f[L]);G=E+1}return U.join("")};var AL=({ref:$},w)=>{return{...w.endpointParams,...w.referenceRecord}[$]};var U0=($,w,U)=>{if(typeof $==="string")return x1($,U);else if($.fn)return y1($,U);else if($.ref)return AL($,U);throw new V(`'${w}': ${String($)} is not a string, function or reference.`)};var y1=({fn:$,argv:w},U)=>{const f=w.map((W)=>["boolean","number"].includes(typeof W)?W:U0(W,"arg",U)),G=$.split(".");if(G[0]in m0&&G[1]!=null)return m0[G[0]][G[1]](...f);return TL[$](...f)};var OL=({assign:$,...w},U)=>{if($&&$ in U.referenceRecord)throw new V(`'${$}' is already defined in Reference Record.`);const f=y1(w,U);return U.logger?.debug?.(`${t} evaluateCondition: ${u(w)} = ${u(f)}`),{result:f===""?!0:!!f,...$!=null&&{toAssign:{name:$,value:f}}}};var H0=($=[],w)=>{const U={};for(let f of $){const{result:G,toAssign:W}=OL(f,{...w,referenceRecord:{...w.referenceRecord,...U}});if(!G)return{result:G};if(W)U[W.name]=W.value,w.logger?.debug?.(`${t} assign: ${W.name} := ${u(W.value)}`)}return{result:!0,referenceRecord:U}};var VL=($,w)=>Object.entries($).reduce((U,[f,G])=>({...U,[f]:G.map((W)=>{const E=U0(W,"Header value entry",w);if(typeof E!=="string")throw new V(`Header '${f}' value '${E}' is not a string`);return E})}),{});var zw=($,w)=>{if(Array.isArray($))return $.map((U)=>zw(U,w));switch(typeof $){case"string":return x1($,w);case"object":if($===null)throw new V(`Unexpected endpoint property: ${$}`);return u1($,w);case"boolean":return $;default:throw new V(`Unexpected endpoint property type: ${typeof $}`)}};var u1=($,w)=>Object.entries($).reduce((U,[f,G])=>({...U,[f]:zw(G,w)}),{});var BL=($,w)=>{const U=U0($,"Endpoint URL",w);if(typeof U==="string")try{return new URL(U)}catch(f){throw console.error(`Failed to construct URL with ${U}`,f),f}throw new V(`Endpoint URL must be a string, got ${typeof U}`)};var HL=($,w)=>{const{conditions:U,endpoint:f}=$,{result:G,referenceRecord:W}=H0(U,w);if(!G)return;const E={...w,referenceRecord:{...w.referenceRecord,...W}},{url:L,properties:R,headers:F}=f;return w.logger?.debug?.(`${t} Resolving endpoint from template: ${u(f)}`),{...F!=null&&{headers:VL(F,E)},...R!=null&&{properties:u1(R,E)},url:BL(L,E)}};var CL=($,w)=>{const{conditions:U,error:f}=$,{result:G,referenceRecord:W}=H0(U,w);if(!G)return;throw new V(U0(f,"Error",{...w,referenceRecord:{...w.referenceRecord,...W}}))};var NL=($,w)=>{const{conditions:U,rules:f}=$,{result:G,referenceRecord:W}=H0(U,w);if(!G)return;return _1(f,{...w,referenceRecord:{...w.referenceRecord,...W}})};var _1=($,w)=>{for(let U of $)if(U.type==="endpoint"){const f=HL(U,w);if(f)return f}else if(U.type==="error")CL(U,w);else if(U.type==="tree"){const f=NL(U,w);if(f)return f}else throw new V(`Unknown endpoint rule: ${U}`);throw new V("Rules evaluation failed")};var Y5=($,w)=>{const{endpointParams:U,logger:f}=w,{parameters:G,rules:W}=$;w.logger?.debug?.(`${t} Initial EndpointParams: ${u(U)}`);const E=Object.entries(G).filter(([,F])=>F.default!=null).map(([F,Z])=>[F,Z.default]);if(E.length>0)for(let[F,Z]of E)U[F]=U[F]??Z;const L=Object.entries(G).filter(([,F])=>F.required).map(([F])=>F);for(let F of L)if(U[F]==null)throw new V(`Missing required parameter: '${F}'`);const R=_1(W,{endpointParams:U,logger:f,referenceRecord:{}});if(w.endpointParams?.Endpoint)try{const F=new URL(w.endpointParams.Endpoint),{protocol:Z,port:X}=F;R.url.protocol=Z,R.url.port=X}catch(F){}return w.logger?.debug?.(`${t} Resolved endpoint: ${u(R)}`),R};var Mw=($,w=!1)=>{if(w){for(let U of $.split("."))if(!Mw(U))return!1;return!0}if(!s0($))return!1;if($.length<3||$.length>63)return!1;if($!==$.toLowerCase())return!1;if(n0($))return!1;return!0};var qL=($)=>{const w=$.split(":");if(w.length<6)return null;const[U,f,G,W,E,...L]=w;if(U!=="arn"||f===""||G===""||L[0]==="")return null;return{partition:f,service:G,region:W,accountId:E,resourceId:L[0].includes("/")?L[0].split("/"):L}};var jL={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 z5=jL,M5="",PL=($)=>{const{partitions:w}=z5;for(let f of w){const{regions:G,outputs:W}=f;for(let[E,L]of Object.entries(G))if(E===$)return{...W,...L}}for(let f of w){const{regionRegex:G,outputs:W}=f;if(new RegExp(G).test($))return{...W}}const U=w.find((f)=>f.id==="aws");if(!U)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...U.outputs}};var SL=()=>M5;var J5={isVirtualHostableS3Bucket:Mw,parseArn:qL,partition:PL};m0.aws=J5;var Jw="user-agent",d1="x-amz-user-agent",Kw=" ",p1="/",bL=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,hL=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,Tw="-";var K5=($)=>(w,U)=>async(f)=>{const{request:G}=f;if(!x.isInstance(G))return w(f);const{headers:W}=G,E=U?.userAgent?.map(Aw)||[],L=(await $.defaultUserAgentProvider()).map(Aw),R=$?.customUserAgent?.map(Aw)||[],F=SL(),Z=(F?[F]:[]).concat([...L,...E,...R]).join(Kw),X=[...L.filter((Y)=>Y.startsWith("aws-sdk-")),...R].join(Kw);if($.runtime!=="browser"){if(X)W[d1]=W[d1]?`${W[Jw]} ${X}`:X;W[Jw]=Z}else W[d1]=Z;return w({...f,request:G})},Aw=($)=>{const w=$[0].split(p1).map((E)=>E.replace(bL,Tw)).join(p1),U=$[1]?.replace(hL,Tw),f=w.indexOf(p1),G=w.substring(0,f);let W=w.substring(f+1);if(G==="api")W=W.toLowerCase();return[G,W,U].filter((E)=>E&&E.length>0).reduce((E,L,R)=>{switch(R){case 0:return L;case 1:return`${E}/${L}`;default:return`${E}#${L}`}},"")},T5={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},u3=($)=>({applyToStack:(w)=>{w.add(K5($),T5)}});var g1=($)=>typeof $==="string"&&($.startsWith("fips-")||$.endsWith("-fips"));var Ow=($)=>g1($)?["fips-aws-global","aws-fips"].includes($)?"us-east-1":$.replace(/fips-(dkr-|prod-)?|-fips/,""):$;var r3=($)=>{const{region:w,useFipsEndpoint:U}=$;if(!w)throw new Error("Region is missing");return{...$,region:async()=>{if(typeof w==="string")return Ow(w);const f=await w();return Ow(f)},useFipsEndpoint:async()=>{const f=typeof w==="string"?w:await w();if(g1(f))return!0;return typeof U!=="function"?Promise.resolve(!!U):U()}}};var C0=($,w,U)=>{if(!(w in $))return;if($[w]==="true")return!0;if($[w]==="false")return!1;throw new Error(`Cannot load ${U} "${w}". Expected "true" or "false", got ${$[w]}.`)};var G0;(function($){$.ENV="env",$.CONFIG="shared config entry"})(G0||(G0={}));var A5="AWS_USE_DUALSTACK_ENDPOINT",O5="use_dualstack_endpoint";var WK={environmentVariableSelector:($)=>C0($,A5,G0.ENV),configFileSelector:($)=>C0($,O5,G0.CONFIG),default:!1};var V5="AWS_USE_FIPS_ENDPOINT",B5="use_fips_endpoint";var RK={environmentVariableSelector:($)=>C0($,V5,G0.ENV),configFileSelector:($)=>C0($,B5,G0.CONFIG),default:!1};var H5=a(n(),1);var C5=a(n(),1);var DL={environmentVariableSelector:($)=>$["AWS_REGION"],configFileSelector:($)=>$["region"],default:()=>{throw new Error("Region is missing")}},AK={preferredFile:"credentials"};function N5($){return(w)=>async(U)=>{const f=U.request;if(x.isInstance(f)){const{body:G,headers:W}=f;if(G&&Object.keys(W).map((E)=>E.toLowerCase()).indexOf(kL)===-1)try{const E=$(G);f.headers={...f.headers,[kL]:String(E)}}catch(E){}}return w({...U,request:f})}}var kL="content-length",q5={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},mK=($)=>({applyToStack:(w)=>{w.add(N5($.bodyLengthChecker),q5)}});var lL=a(w1(),1);var pL=a(n(),1);var cL=async($)=>{const w=$?.Bucket||"";if(typeof $.Bucket==="string")$.Bucket=w.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(h5(w)){if($.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!b5(w)||w.indexOf(".")!==-1&&!String($.Endpoint).startsWith("http:")||w.toLowerCase()!==w||w.length<3)$.ForcePathStyle=!0;if($.DisableMultiRegionAccessPoints)$.disableMultiRegionAccessPoints=!0,$.DisableMRAP=!0;return $},j5=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,P5=/(\d+\.){3}\d+/,S5=/\.\./;var b5=($)=>j5.test($)&&!P5.test($)&&!S5.test($),h5=($)=>{const[w,U,f,,,G]=$.split(":"),W=w==="arn"&&$.split(":").length>=6,E=Boolean(W&&U&&f&&G);if(W&&!E)throw new Error(`Invalid ARN: ${$} was an invalid ARN.`);return E};var vL=($,w,U)=>{const f=async()=>{const G=U[$]??U[w];if(typeof G==="function")return G();return G};if($==="credentialScope"||w==="CredentialScope")return async()=>{const G=typeof U.credentials==="function"?await U.credentials():U.credentials;return G?.credentialScope??G?.CredentialScope};if($==="accountId"||w==="AccountId")return async()=>{const G=typeof U.credentials==="function"?await U.credentials():U.credentials;return G?.accountId??G?.AccountId};if($==="endpoint"||w==="endpoint")return async()=>{const G=await f();if(G&&typeof G==="object"){if("url"in G)return G.url.href;if("hostname"in G){const{protocol:W,hostname:E,port:L,path:R}=G;return`${W}//${E}${L?":"+L:""}${R}`}}return G};return f};var xL="AWS_ENDPOINT_URL",yL="endpoint_url",uL=($)=>({environmentVariableSelector:(w)=>{const U=$.split(" ").map((W)=>W.toUpperCase()),f=w[[xL,...U].join("_")];if(f)return f;const G=w[xL];if(G)return G;return},configFileSelector:(w,U)=>{if(U&&w.services){const G=U[["services",w.services].join(Vw)];if(G){const W=$.split(" ").map((L)=>L.toLowerCase()),E=G[[W.join("_"),yL].join(Vw)];if(E)return E}}const f=w[yL];if(f)return f;return},default:void 0});var _L=async($)=>Z0(uL($))();var Bw=a(nU(),1),l1=($)=>{if(typeof $==="object"){if("url"in $)return Bw.parseUrl($.url);return $}return Bw.parseUrl($)};var dL=async($,w,U,f)=>{if(!U.endpoint){const E=await _L(U.serviceId||"");if(E)U.endpoint=()=>Promise.resolve(l1(E))}const G=await D5($,w,U);if(typeof U.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return U.endpointProvider(G,f)},D5=async($,w,U)=>{const f={},G=w?.getEndpointParameterInstructions?.()||{};for(let[W,E]of Object.entries(G))switch(E.type){case"staticContextParams":f[W]=E.value;break;case"contextParams":f[W]=$[E.name];break;case"clientContextParams":case"builtInParams":f[W]=await vL(E.name,W,U)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(E))}if(Object.keys(G).length===0)Object.assign(f,U);if(String(U.serviceId).toLowerCase()==="s3")await cL(f);return f};var gL=({config:$,instructions:w})=>{return(U,f)=>async(G)=>{const W=await dL(G.input,{getEndpointParameterInstructions(){return w}},{...$},f);f.endpointV2=W,f.authSchemes=W.properties?.authSchemes;const E=f.authSchemes?.[0];if(E){f.signing_region=E.signingRegion,f.signing_service=E.signingName;const R=pL.getSmithyContext(f)?.selectedHttpAuthScheme?.httpAuthOption;if(R)R.signingProperties=Object.assign(R.signingProperties||{},{signing_region:E.signingRegion,signingRegion:E.signingRegion,signing_service:E.signingName,signingName:E.signingName,signingRegionSet:E.signingRegionSet},E.properties)}return U({...G})}};var k5={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:lL.serializerMiddlewareOption.name},YT=($,w)=>({applyToStack:(U)=>{U.addRelativeTo(gL({config:$,instructions:w}),k5)}});var n1=a(n(),1);var MT=($)=>{const w=$.tls??!0,{endpoint:U}=$,f=U!=null?async()=>l1(await n1.normalizeProvider(U)()):void 0;return{...$,endpoint:f,tls:w,isCustomEndpoint:!!U,useDualstackEndpoint:n1.normalizeProvider($.useDualstackEndpoint??!1),useFipsEndpoint:n1.normalizeProvider($.useFipsEndpoint??!1)}};var m=a(j$(),1),qT=m.default.v1,jT=m.default.v3,nL=m.default.v4,PT=m.default.v5,ST=m.default.NIL,bT=m.default.version,hT=m.default.validate,DT=m.default.stringify,kT=m.default.parse;var Sw=a(n(),1);var l;(function($){$.STANDARD="standard",$.ADAPTIVE="adaptive"})(l||(l={}));var X0=3,sL=l.STANDARD;var mL=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],iL=["TimeoutError","RequestTimeout","RequestTimeoutException"],rL=[500,502,503,504],oL=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"];var c5=($)=>$.$metadata?.clockSkewCorrected,N0=($)=>$.$metadata?.httpStatusCode===429||mL.includes($.name)||$.$retryable?.throttling==!0,s1=($)=>c5($)||iL.includes($.name)||oL.includes($?.code||"")||rL.includes($.$metadata?.httpStatusCode||0),tL=($)=>{if($.$metadata?.httpStatusCode!==void 0){const w=$.$metadata.httpStatusCode;if(500<=w&&w<=599&&!s1($))return!0;return!1}return!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 w=this.getCurrentTimeInSeconds();this.lastThrottleTime=w,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1000}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket($){if(!this.enabled)return;if(this.refillTokenBucket(),$>this.currentCapacity){const w=($-this.currentCapacity)/this.fillRate*1000;await new Promise((U)=>setTimeout(U,w))}this.currentCapacity=this.currentCapacity-$}refillTokenBucket(){const $=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=$;return}const w=($-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+w),this.lastTimestamp=$}updateClientSendingRate($){let w;if(this.updateMeasuredRate(),N0($)){const f=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=f,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),w=this.cubicThrottle(f),this.enableTokenBucket()}else this.calculateTimeWindow(),w=this.cubicSuccess(this.getCurrentTimeInSeconds());const U=Math.min(w,2*this.measuredTxRate);this.updateTokenBucketRate(U)}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(),w=Math.floor($*2)/2;if(this.requestCount++,w>this.lastTxRateBucket){const U=this.requestCount/(w-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(U*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=w}}getPrecise($){return parseFloat($.toFixed(8))}}var I0=100,i0=20000,Hw=500,i1=500,Cw=5,Nw=10,qw=1,r1="amz-sdk-invocation-id",o1="amz-sdk-request";var aL=()=>{let $=I0;return{computeNextBackoffDelay:(f)=>{return Math.floor(Math.min(i0,Math.random()*2**f*$))},setDelayBase:(f)=>{$=f}}};var jw=({retryDelay:$,retryCount:w,retryCost:U})=>{return{getRetryCount:()=>w,getRetryDelay:()=>Math.min(i0,$),getRetryCost:()=>U}};class q0{constructor($){this.maxAttempts=$,this.mode=l.STANDARD,this.capacity=i1,this.retryBackoffStrategy=aL(),this.maxAttemptsProvider=typeof $==="function"?$:async()=>$}async acquireInitialRetryToken($){return jw({retryDelay:I0,retryCount:0})}async refreshRetryTokenForRetry($,w){const U=await this.getMaxAttempts();if(this.shouldRetry($,w,U)){const f=w.errorType;this.retryBackoffStrategy.setDelayBase(f==="THROTTLING"?Hw:I0);const G=this.retryBackoffStrategy.computeNextBackoffDelay($.getRetryCount()),W=w.retryAfterHint?Math.max(w.retryAfterHint.getTime()-Date.now()||0,G):G,E=this.getCapacityCost(f);return this.capacity-=E,jw({retryDelay:W,retryCount:$.getRetryCount()+1,retryCost:E})}throw new Error("No retry token available")}recordSuccess($){this.capacity=Math.max(i1,this.capacity+($.getRetryCost()??qw))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch($){return console.warn(`Max attempts provider could not resolve. Using default of ${X0}`),X0}}shouldRetry($,w,U){return $.getRetryCount()+1<U&&this.capacity>=this.getCapacityCost(w.errorType)&&this.isRetryableError(w.errorType)}getCapacityCost($){return $==="TRANSIENT"?Nw:Cw}isRetryableError($){return $==="THROTTLING"||$==="TRANSIENT"}}class Pw{constructor($,w){this.maxAttemptsProvider=$,this.mode=l.ADAPTIVE;const{rateLimiter:U}=w??{};this.rateLimiter=U??new m1,this.standardRetryStrategy=new q0($)}async acquireInitialRetryToken($){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken($)}async refreshRetryTokenForRetry($,w){return this.rateLimiter.updateClientSendingRate(w),this.standardRetryStrategy.refreshRetryTokenForRetry($,w)}recordSuccess($){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess($)}}var eL="AWS_MAX_ATTEMPTS",$8="max_attempts",zA={environmentVariableSelector:($)=>{const w=$[eL];if(!w)return;const U=parseInt(w);if(Number.isNaN(U))throw new Error(`Environment variable ${eL} mast be a number, got "${w}"`);return U},configFileSelector:($)=>{const w=$[$8];if(!w)return;const U=parseInt(w);if(Number.isNaN(U))throw new Error(`Shared config file entry ${$8} mast be a number, got "${w}"`);return U},default:X0},MA=($)=>{const{retryStrategy:w}=$,U=Sw.normalizeProvider($.maxAttempts??X0);return{...$,maxAttempts:U,retryStrategy:async()=>{if(w)return w;if(await Sw.normalizeProvider($.retryMode)()===l.ADAPTIVE)return new Pw(U);return new q0(U)}}},v5="AWS_RETRY_MODE",x5="retry_mode",JA={environmentVariableSelector:($)=>$[v5],configFileSelector:($)=>$[x5],default:sL};import{Readable as y5} from"stream";var w8=($)=>$?.body instanceof y5||typeof ReadableStream!=="undefined"&&$?.body instanceof ReadableStream;var bw=($)=>{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 u5=($)=>(w,U)=>async(f)=>{let G=await $.retryStrategy();const W=await $.maxAttempts();if(_5(G)){G=G;let E=await G.acquireInitialRetryToken(U.partition_id),L=new Error,R=0,F=0;const{request:Z}=f,X=x.isInstance(Z);if(X)Z.headers[r1]=nL();while(!0)try{if(X)Z.headers[o1]=`attempt=${R+1}; max=${W}`;const{response:Y,output:I}=await w(f);return G.recordSuccess(E),I.$metadata.attempts=R+1,I.$metadata.totalRetryDelay=F,{response:Y,output:I}}catch(Y){const I=d5(Y);if(L=bw(Y),X&&w8(Z))throw(U.logger instanceof U8?console:U.logger)?.warn("An error was encountered in a non-retryable streaming request."),L;try{E=await G.refreshRetryTokenForRetry(E,I)}catch(J){if(!L.$metadata)L.$metadata={};throw L.$metadata.attempts=R+1,L.$metadata.totalRetryDelay=F,L}R=E.getRetryCount();const Q=E.getRetryDelay();F+=Q,await new Promise((J)=>setTimeout(J,Q))}}else{if(G=G,G?.mode)U.userAgent=[...U.userAgent||[],["cfg/retry-mode",G.mode]];return G.retry(w,f)}},_5=($)=>typeof $.acquireInitialRetryToken!=="undefined"&&typeof $.refreshRetryTokenForRetry!=="undefined"&&typeof $.recordSuccess!=="undefined",d5=($)=>{const w={error:$,errorType:p5($)},U=l5($.$response);if(U)w.retryAfterHint=U;return w},p5=($)=>{if(N0($))return"THROTTLING";if(s1($))return"TRANSIENT";if(tL($))return"SERVER_ERROR";return"CLIENT_ERROR"},g5={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},PA=($)=>({applyToStack:(w)=>{w.add(u5($),g5)}}),l5=($)=>{if(!hw.isInstance($))return;const w=Object.keys($.headers).find((W)=>W.toLowerCase()==="retry-after");if(!w)return;const U=$.headers[w],f=Number(U);if(!Number.isNaN(f))return new Date(f*1000);return new Date(U)};import{platform as D7,release as k7} from"os";import{env as t4,versions as c7} from"process";var iw={isCrtAvailable:!1};var o4=()=>{if(iw.isCrtAvailable)return["md/crt-avail"];return null};var v7="AWS_SDK_UA_APP_ID",x7="sdk-ua-app-id",vO=({serviceId:$,clientVersion:w})=>{const U=[["aws-sdk-js",w],["ua","2.0"],[`os/${D7()}`,k7()],["lang/js"],["md/nodejs",`${c7.node}`]],f=o4();if(f)U.push(f);if($)U.push([`api/${$}`,w]);if(t4.AWS_EXECUTION_ENV)U.push([`exec-env/${t4.AWS_EXECUTION_ENV}`]);const G=Z0({environmentVariableSelector:(E)=>E[v7],configFileSelector:(E)=>E[x7],default:void 0})();let W=void 0;return async()=>{if(!W){const E=await G;W=E?[...U,[`app/${E}`]]:[...U]}return W}};import{Buffer as y7} from"buffer";import{createHash as u7,createHmac as _7} from"crypto";var a4=function($,w){if(y7.isBuffer($))return $;if(typeof $==="string")return e4($,w);if(ArrayBuffer.isView($))return rw($.buffer,$.byteOffset,$.byteLength);return rw($)};class d7{constructor($,w){this.algorithmIdentifier=$,this.secret=w,this.reset()}update($,w){this.hash.update($6(a4($,w)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?_7(this.algorithmIdentifier,a4(this.secret)):u7(this.algorithmIdentifier)}}import{fstatSync as p7,lstatSync as g7} from"fs";var nO=($)=>{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 g7($.path).size;else if(typeof $.fd==="number")return p7($.fd).size;throw new Error(`Body Length computation failed for ${$}`)};var w6="AWS_EXECUTION_ENV",ow="AWS_REGION",tw="AWS_DEFAULT_REGION",U6="AWS_EC2_METADATA_DISABLED",G6=["in-region","cross-region","mobile","standard","legacy"],f6="/latest/meta-data/placement/region";var W6={environmentVariableSelector:($)=>{return $["AWS_DEFAULTS_MODE"]},configFileSelector:($)=>{return $["defaults_mode"]},default:"legacy"};var UV=({region:$=Z0(DL),defaultsMode:w=Z0(W6)}={})=>E6(async()=>{const U=typeof w==="function"?await w():w;switch(U?.toLowerCase()){case"auto":return l7($);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(U?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${G6.join(", ")}, got ${U}`)}}),l7=async($)=>{if($){const w=typeof $==="function"?await $():$,U=await n7();if(!U)return"standard";if(w===U)return"in-region";else return"cross-region"}return"standard"},n7=async()=>{if(process.env[w6]&&(process.env[ow]||process.env[tw]))return process.env[ow]??process.env[tw];if(!process.env[U6])try{const{getInstanceMetadataEndpoint:$,httpRequest:w}=await import("./chunk-c2fe378a1764eb92.js"),U=await $();return(await w({...U,path:f6})).toString()}catch($){}};var EV=($)=>{let w=async()=>{if($.region===void 0)throw new Error("Region is missing from runtimeConfig");const U=$.region;if(typeof U==="string")return U;return U()};return{setRegion(U){w=U},region(){return w}}},LV=($)=>{return{region:$.region()}};export{i7 as za,r7 as Aa,t7 as Ba,Uz as Ca,n as Da,C0 as Ea,G0 as Fa,w1 as Ga,Yw as Ha,EM as Ia,m0 as Ja,Y5 as Ka,J5 as La,u3 as Ma,WK as Na,RK as Oa,DL as Pa,AK as Qa,r3 as Ra,mK as Sa,D5 as Ta,YT as Ua,MT as Va,sL as Wa,nL as Xa,zA as Ya,MA as Za,JA as _a,PA as $a,S8 as ab,h7 as bb,vO as cb,d7 as db,nO as eb,UV as fb,EV as gb,LV as hb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import"./chunk-feaaa37d30cd1e9b.js";import{y as w} from"./chunk-7ce930fe69575c87.js";import{A as ue,B as er,E as be,F as cr,J as je,K as Fe,M as De,N as qe,Q as Je,R as Ve,Y as E,Z as t,_ as Kr,aa as _,ba as T,ca as b,da as j,ea as h,la as Sr,ma as a,na as jr,oa as We,pa as fe,qa as rr,ra as sr,ta as d,ua as o,wa as $} from"./chunk-08e9ab1091d7383e.js";import{$a as Xe,Aa as dr,Ba as yr,Fa as Y,Ga as H,Ha as ee,Ia as re,Ja as tr,Ka as Ie,La as Re,Ma as Pe,Na as ar,Oa as Ae,Pa as Ke,Qa as Me,Ra as Be,Sa as mr,Ta as wr,Va as S,Wa as kr,Xa as Le,Za as Qe,_a as vr,ab as Er,cb as D,db as Ye,eb as Ze,fb as He,gb as Ne,hb as ir,ib as lr,ya as nr,za as or} from"./chunk-590bd43a75f48606.js";import"./chunk-2665dffd37ead1d9.js";import{kb as I,lb as Ue} from"./chunk-4d80485e7efb826f.js";import"./chunk-65626c3d72d4e071.js";import{nb as Ce} from"./chunk-55f76d4f6116f296.js";import"./chunk-73fb3bb4d001bb2e.js";var R=w(H(),1);var se=w(D(),1);var Xr=function(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:(s,r)=>({signingProperties:{config:s,context:r}})}},Z=function(e){return{schemeId:"smithy.api#noAuth"}},ie=async(e,s,r)=>{return{operation:ee(s).operation,region:await re(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},le=(e)=>{const s=[];switch(e.operation){case"CreateToken":{s.push(Z(e));break}case"RegisterClient":{s.push(Z(e));break}case"StartDeviceAuthorization":{s.push(Z(e));break}default:s.push(Xr(e))}return s},he=(e)=>{return{...se.resolveAwsSdkSigV4Config(e)}};var ne=(e)=>{return{...e,useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"}},v={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var oe={name:"@aws-sdk/client-sso-oidc",description:"AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",version:"3.629.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-sso-oidc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso-oidc"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.629.0","@aws-sdk/credential-provider-node":"3.629.0","@aws-sdk/middleware-host-header":"3.620.0","@aws-sdk/middleware-logger":"3.609.0","@aws-sdk/middleware-recursion-detection":"3.620.0","@aws-sdk/middleware-user-agent":"3.620.0","@aws-sdk/region-config-resolver":"3.614.0","@aws-sdk/types":"3.609.0","@aws-sdk/util-endpoints":"3.614.0","@aws-sdk/util-user-agent-browser":"3.609.0","@aws-sdk/util-user-agent-node":"3.614.0","@smithy/config-resolver":"^3.0.5","@smithy/core":"^2.3.2","@smithy/fetch-http-handler":"^3.2.4","@smithy/hash-node":"^3.0.3","@smithy/invalid-dependency":"^3.0.3","@smithy/middleware-content-length":"^3.0.5","@smithy/middleware-endpoint":"^3.1.0","@smithy/middleware-retry":"^3.0.14","@smithy/middleware-serde":"^3.0.3","@smithy/middleware-stack":"^3.0.3","@smithy/node-config-provider":"^3.1.4","@smithy/node-http-handler":"^3.1.4","@smithy/protocol-http":"^4.1.0","@smithy/smithy-client":"^3.1.12","@smithy/types":"^3.3.0","@smithy/url-parser":"^3.0.3","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.14","@smithy/util-defaults-mode-node":"^3.0.14","@smithy/util-endpoints":"^2.0.5","@smithy/util-middleware":"^3.0.3","@smithy/util-retry":"^3.0.3","@smithy/util-utf8":"^3.0.0",tslib:"^2.6.2"},devDependencies:{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typescript:"~4.9.5"},engines:{node:">=16.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",peerDependencies:{"@aws-sdk/client-sts":"^3.629.0"},browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso-oidc",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sso-oidc"}};var _e=w(D(),1);var xe=w(D(),1),ze=w(H(),1);var de={["required"]:!1,type:"String"},ye={["required"]:!0,default:!1,type:"Boolean"},ce={["ref"]:"Endpoint"},ve={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!0]},Ee={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!0]},m={},te={["fn"]:"getAttr",["argv"]:[{["ref"]:"PartitionResult"},"supportsFIPS"]},Se={["ref"]:"PartitionResult"},ae={["fn"]:"booleanEquals",["argv"]:[!0,{["fn"]:"getAttr",["argv"]:[Se,"supportsDualStack"]}]},me=[ve],we=[Ee],ke=[{["ref"]:"Region"}],Zr={version:"1.0",parameters:{Region:de,UseDualStack:ye,UseFIPS:ye,Endpoint:de},rules:[{conditions:[{["fn"]:"isSet",["argv"]:[ce]}],rules:[{conditions:me,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:"error"},{conditions:we,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:"error"},{endpoint:{url:ce,properties:m,headers:m},type:"endpoint"}],type:"tree"},{conditions:[{["fn"]:"isSet",["argv"]:ke}],rules:[{conditions:[{["fn"]:"aws.partition",["argv"]:ke,assign:"PartitionResult"}],rules:[{conditions:[ve,Ee],rules:[{conditions:[{["fn"]:"booleanEquals",["argv"]:[!0,te]},ae],rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:"endpoint"}],type:"tree"},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:"error"}],type:"tree"},{conditions:me,rules:[{conditions:[{["fn"]:"booleanEquals",["argv"]:[te,!0]}],rules:[{conditions:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[Se,"name"]},"aws-us-gov"]}],endpoint:{url:"https://oidc.{Region}.amazonaws.com",properties:m,headers:m},type:"endpoint"},{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:"endpoint"}],type:"tree"},{error:"FIPS is enabled but this partition does not support FIPS",type:"error"}],type:"tree"},{conditions:we,rules:[{conditions:[ae],rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:"endpoint"}],type:"tree"},{error:"DualStack is enabled but this partition does not support DualStack",type:"error"}],type:"tree"},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:"endpoint"}],type:"tree"}],type:"tree"},{error:"Invalid Configuration: Missing Region",type:"error"}]},$e=Zr;var Te=(e,s={})=>{return Re($e,{endpointParams:e,logger:s.logger})};Ie.aws=Pe;var Ge=(e)=>{return{apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??je,base64Encoder:e?.base64Encoder??qe,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Te,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??le,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(s)=>s.getIdentityProvider("aws.auth#sigv4"),signer:new xe.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(s)=>s.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new ze.NoAuthSigner}],logger:e?.logger??new be,serviceId:e?.serviceId??"SSO OIDC",urlParser:e?.urlParser??Ue,utf8Decoder:e?.utf8Decoder??Fe,utf8Encoder:e?.utf8Encoder??De}};var pe=(e)=>{fe(process.version);const s=Ne(e),r=()=>s().then(We),i=Ge(e);return _e.emitWarningIfUnsupportedVersion(process.version),{...i,...e,runtime:"node",defaultsMode:s,bodyLengthChecker:e?.bodyLengthChecker??He,credentialDefaultProvider:e?.credentialDefaultProvider??Ce,defaultUserAgentProvider:e?.defaultUserAgentProvider??Ye({serviceId:i.serviceId,clientVersion:oe.version}),maxAttempts:e?.maxAttempts??I(Qe),region:e?.region??I(Me,Be),requestHandler:Je.create(e?.requestHandler??r),retryMode:e?.retryMode??I({...Xe,default:async()=>(await r()).retryMode||Le}),sha256:e?.sha256??Ze.bind(null,"sha256"),streamCollector:e?.streamCollector??Ve,useDualstackEndpoint:e?.useDualstackEndpoint??I(Ae),useFipsEndpoint:e?.useFipsEndpoint??I(Ke)}};var ge=(e)=>{const s=e.httpAuthSchemes;let{httpAuthSchemeProvider:r,credentials:i}=e;return{setHttpAuthScheme(l){const n=s.findIndex((P)=>P.schemeId===l.schemeId);if(n===-1)s.push(l);else s.splice(n,1,l)},httpAuthSchemes(){return s},setHttpAuthSchemeProvider(l){r=l},httpAuthSchemeProvider(){return r},setCredentials(l){i=l},credentials(){return i}}},Oe=(e)=>{return{httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}};var q=(e)=>e,hr=(e,s)=>{const r={...q(ir(e)),...q(rr(e)),...q(ue(e)),...q(ge(e))};return s.forEach((i)=>i.configure(r)),{...e,...lr(r),...sr(r),...er(r),...Oe(r)}};class N extends cr{constructor(...[e]){const s=pe(e||{}),r=ne(s),i=tr(r),l=vr(i),n=mr(l),P=nr(n),Br=kr(P),Lr=he(Br),u=hr(Lr,e?.extensions||[]);super(u);this.config=u,this.middlewareStack.use(ar(this.config)),this.middlewareStack.use(Er(this.config)),this.middlewareStack.use(wr(this.config)),this.middlewareStack.use(or(this.config)),this.middlewareStack.use(dr(this.config)),this.middlewareStack.use(yr(this.config)),this.middlewareStack.use(R.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:ie,identityProviderConfigProvider:async(Qr)=>new R.DefaultIdentityProviderConfig({"aws.auth#sigv4":Qr.credentials})})),this.middlewareStack.use(R.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}var Vr=w(Y(),1);class y extends Sr{constructor(e){super(e);Object.setPrototypeOf(this,y.prototype)}}class U extends y{constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});this.name="AccessDeniedException",this.$fault="client",Object.setPrototypeOf(this,U.prototype),this.error=e.error,this.error_description=e.error_description}}class x extends y{constructor(e){super({name:"AuthorizationPendingException",$fault:"client",...e});this.name="AuthorizationPendingException",this.$fault="client",Object.setPrototypeOf(this,x.prototype),this.error=e.error,this.error_description=e.error_description}}class z extends y{constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,z.prototype),this.error=e.error,this.error_description=e.error_description}}class G extends y{constructor(e){super({name:"InternalServerException",$fault:"server",...e});this.name="InternalServerException",this.$fault="server",Object.setPrototypeOf(this,G.prototype),this.error=e.error,this.error_description=e.error_description}}class J extends y{constructor(e){super({name:"InvalidClientException",$fault:"client",...e});this.name="InvalidClientException",this.$fault="client",Object.setPrototypeOf(this,J.prototype),this.error=e.error,this.error_description=e.error_description}}class V extends y{constructor(e){super({name:"InvalidGrantException",$fault:"client",...e});this.name="InvalidGrantException",this.$fault="client",Object.setPrototypeOf(this,V.prototype),this.error=e.error,this.error_description=e.error_description}}class W extends y{constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});this.name="InvalidRequestException",this.$fault="client",Object.setPrototypeOf(this,W.prototype),this.error=e.error,this.error_description=e.error_description}}class f extends y{constructor(e){super({name:"InvalidScopeException",$fault:"client",...e});this.name="InvalidScopeException",this.$fault="client",Object.setPrototypeOf(this,f.prototype),this.error=e.error,this.error_description=e.error_description}}class A extends y{constructor(e){super({name:"SlowDownException",$fault:"client",...e});this.name="SlowDownException",this.$fault="client",Object.setPrototypeOf(this,A.prototype),this.error=e.error,this.error_description=e.error_description}}class K extends y{constructor(e){super({name:"UnauthorizedClientException",$fault:"client",...e});this.name="UnauthorizedClientException",this.$fault="client",Object.setPrototypeOf(this,K.prototype),this.error=e.error,this.error_description=e.error_description}}class M extends y{constructor(e){super({name:"UnsupportedGrantTypeException",$fault:"client",...e});this.name="UnsupportedGrantTypeException",this.$fault="client",Object.setPrototypeOf(this,M.prototype),this.error=e.error,this.error_description=e.error_description}}class B extends y{constructor(e){super({name:"InvalidRequestRegionException",$fault:"client",...e});this.name="InvalidRequestRegionException",this.$fault="client",Object.setPrototypeOf(this,B.prototype),this.error=e.error,this.error_description=e.error_description,this.endpoint=e.endpoint,this.region=e.region}}class L extends y{constructor(e){super({name:"InvalidClientMetadataException",$fault:"client",...e});this.name="InvalidClientMetadataException",this.$fault="client",Object.setPrototypeOf(this,L.prototype),this.error=e.error,this.error_description=e.error_description}}class Q extends y{constructor(e){super({name:"InvalidRedirectUriException",$fault:"client",...e});this.name="InvalidRedirectUriException",this.$fault="client",Object.setPrototypeOf(this,Q.prototype),this.error=e.error,this.error_description=e.error_description}}var $r=(e)=>({...e,...e.clientSecret&&{clientSecret:t},...e.refreshToken&&{refreshToken:t},...e.codeVerifier&&{codeVerifier:t}}),Ir=(e)=>({...e,...e.accessToken&&{accessToken:t},...e.refreshToken&&{refreshToken:t},...e.idToken&&{idToken:t}}),Rr=(e)=>({...e,...e.refreshToken&&{refreshToken:t},...e.assertion&&{assertion:t},...e.subjectToken&&{subjectToken:t},...e.codeVerifier&&{codeVerifier:t}}),Pr=(e)=>({...e,...e.accessToken&&{accessToken:t},...e.refreshToken&&{refreshToken:t},...e.idToken&&{idToken:t}}),Tr=(e)=>({...e,...e.clientSecret&&{clientSecret:t}}),br=(e)=>({...e,...e.clientSecret&&{clientSecret:t}});var k=w(D(),1),F=w(H(),1);var Fr=async(e,s)=>{const r=F.requestBuilder(e,s),i={"content-type":"application/json"};r.bp("/token");let l;return l=JSON.stringify(o(e,{clientId:[],clientSecret:[],code:[],codeVerifier:[],deviceCode:[],grantType:[],redirectUri:[],refreshToken:[],scope:(n)=>$(n)})),r.m("POST").h(i).b(l),r.build()},Dr=async(e,s)=>{const r=F.requestBuilder(e,s),i={"content-type":"application/json"};r.bp("/token");const l=d({[os]:[,"t"]});let n;return n=JSON.stringify(o(e,{assertion:[],clientId:[],code:[],codeVerifier:[],grantType:[],redirectUri:[],refreshToken:[],requestedTokenType:[],scope:(P)=>$(P),subjectToken:[],subjectTokenType:[]})),r.m("POST").h(i).q(l).b(n),r.build()},qr=async(e,s)=>{const r=F.requestBuilder(e,s),i={"content-type":"application/json"};r.bp("/client/register");let l;return l=JSON.stringify(o(e,{clientName:[],clientType:[],entitledApplicationArn:[],grantTypes:(n)=>$(n),issuerUrl:[],redirectUris:(n)=>$(n),scopes:(n)=>$(n)})),r.m("POST").h(i).b(l),r.build()},Ur=async(e,s)=>{const r=F.requestBuilder(e,s),i={"content-type":"application/json"};r.bp("/device_authorization");let l;return l=JSON.stringify(o(e,{clientId:[],clientSecret:[],startUrl:[]})),r.m("POST").h(i).b(l),r.build()},xr=async(e,s)=>{if(e.statusCode!==200&&e.statusCode>=300)return X(e,s);const r=d({$metadata:c(e)}),i=b(j(await k.parseJsonBody(e.body,s)),"body"),l=o(i,{accessToken:h,expiresIn:T,idToken:h,refreshToken:h,tokenType:h});return Object.assign(r,l),r},zr=async(e,s)=>{if(e.statusCode!==200&&e.statusCode>=300)return X(e,s);const r=d({$metadata:c(e)}),i=b(j(await k.parseJsonBody(e.body,s)),"body"),l=o(i,{accessToken:h,expiresIn:T,idToken:h,issuedTokenType:h,refreshToken:h,scope:$,tokenType:h});return Object.assign(r,l),r},Gr=async(e,s)=>{if(e.statusCode!==200&&e.statusCode>=300)return X(e,s);const r=d({$metadata:c(e)}),i=b(j(await k.parseJsonBody(e.body,s)),"body"),l=o(i,{authorizationEndpoint:h,clientId:h,clientIdIssuedAt:_,clientSecret:h,clientSecretExpiresAt:_,tokenEndpoint:h});return Object.assign(r,l),r},Jr=async(e,s)=>{if(e.statusCode!==200&&e.statusCode>=300)return X(e,s);const r=d({$metadata:c(e)}),i=b(j(await k.parseJsonBody(e.body,s)),"body"),l=o(i,{deviceCode:h,expiresIn:T,interval:T,userCode:h,verificationUri:h,verificationUriComplete:h});return Object.assign(r,l),r},X=async(e,s)=>{const r={...e,body:await k.parseJsonErrorBody(e.body,s)},i=k.loadRestJsonErrorCode(e,r.body);switch(i){case"AccessDeniedException":case"com.amazonaws.ssooidc#AccessDeniedException":throw await Nr(r,s);case"AuthorizationPendingException":case"com.amazonaws.ssooidc#AuthorizationPendingException":throw await _r(r,s);case"ExpiredTokenException":case"com.amazonaws.ssooidc#ExpiredTokenException":throw await pr(r,s);case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await Cr(r,s);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await gr(r,s);case"InvalidGrantException":case"com.amazonaws.ssooidc#InvalidGrantException":throw await ur(r,s);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await rs(r,s);case"InvalidScopeException":case"com.amazonaws.ssooidc#InvalidScopeException":throw await is(r,s);case"SlowDownException":case"com.amazonaws.ssooidc#SlowDownException":throw await ls(r,s);case"UnauthorizedClientException":case"com.amazonaws.ssooidc#UnauthorizedClientException":throw await hs(r,s);case"UnsupportedGrantTypeException":case"com.amazonaws.ssooidc#UnsupportedGrantTypeException":throw await ns(r,s);case"InvalidRequestRegionException":case"com.amazonaws.ssooidc#InvalidRequestRegionException":throw await ss(r,s);case"InvalidClientMetadataException":case"com.amazonaws.ssooidc#InvalidClientMetadataException":throw await Or(r,s);case"InvalidRedirectUriException":case"com.amazonaws.ssooidc#InvalidRedirectUriException":throw await es(r,s);default:const l=r.body;return Hr({output:e,parsedBody:l,errorCode:i})}},Hr=jr(y),Nr=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new U({$metadata:c(e),...r});return a(n,e.body)},_r=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new x({$metadata:c(e),...r});return a(n,e.body)},pr=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new z({$metadata:c(e),...r});return a(n,e.body)},Cr=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new G({$metadata:c(e),...r});return a(n,e.body)},gr=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new J({$metadata:c(e),...r});return a(n,e.body)},Or=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new L({$metadata:c(e),...r});return a(n,e.body)},ur=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new V({$metadata:c(e),...r});return a(n,e.body)},es=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new Q({$metadata:c(e),...r});return a(n,e.body)},rs=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new W({$metadata:c(e),...r});return a(n,e.body)},ss=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{endpoint:h,error:h,error_description:h,region:h});Object.assign(r,l);const n=new B({$metadata:c(e),...r});return a(n,e.body)},is=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new f({$metadata:c(e),...r});return a(n,e.body)},ls=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new A({$metadata:c(e),...r});return a(n,e.body)},hs=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new K({$metadata:c(e),...r});return a(n,e.body)},ns=async(e,s)=>{const r=d({}),i=e.body,l=o(i,{error:h,error_description:h});Object.assign(r,l);const n=new M({$metadata:c(e),...r});return a(n,e.body)},c=(e)=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]});var os="aws_iam";class p extends E.classBuilder().ep({...v}).m(function(e,s,r,i){return[Vr.getSerdePlugin(r,this.serialize,this.deserialize),S(r,e.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").f($r,Ir).ser(Fr).de(xr).build(){}var Wr=w(Y(),1);class C extends E.classBuilder().ep({...v}).m(function(e,s,r,i){return[Wr.getSerdePlugin(r,this.serialize,this.deserialize),S(r,e.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateTokenWithIAM",{}).n("SSOOIDCClient","CreateTokenWithIAMCommand").f(Rr,Pr).ser(Dr).de(zr).build(){}var fr=w(Y(),1);class g extends E.classBuilder().ep({...v}).m(function(e,s,r,i){return[fr.getSerdePlugin(r,this.serialize,this.deserialize),S(r,e.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","RegisterClient",{}).n("SSOOIDCClient","RegisterClientCommand").f(void 0,Tr).ser(qr).de(Gr).build(){}var Ar=w(Y(),1);class O extends E.classBuilder().ep({...v}).m(function(e,s,r,i){return[Ar.getSerdePlugin(r,this.serialize,this.deserialize),S(r,e.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","StartDeviceAuthorization",{}).n("SSOOIDCClient","StartDeviceAuthorizationCommand").f(br,void 0).ser(Ur).de(Jr).build(){}var ds={CreateTokenCommand:p,CreateTokenWithIAMCommand:C,RegisterClientCommand:g,StartDeviceAuthorizationCommand:O};class Mr extends N{}Kr(ds,Mr);export{cr as __Client,M as UnsupportedGrantTypeException,K as UnauthorizedClientException,br as StartDeviceAuthorizationRequestFilterSensitiveLog,O as StartDeviceAuthorizationCommand,A as SlowDownException,y as SSOOIDCServiceException,N as SSOOIDCClient,Mr as SSOOIDC,Tr as RegisterClientResponseFilterSensitiveLog,g as RegisterClientCommand,f as InvalidScopeException,B as InvalidRequestRegionException,W as InvalidRequestException,Q as InvalidRedirectUriException,V as InvalidGrantException,L as InvalidClientMetadataException,J as InvalidClientException,G as InternalServerException,z as ExpiredTokenException,Pr as CreateTokenWithIAMResponseFilterSensitiveLog,Rr as CreateTokenWithIAMRequestFilterSensitiveLog,C as CreateTokenWithIAMCommand,Ir as CreateTokenResponseFilterSensitiveLog,$r as CreateTokenRequestFilterSensitiveLog,p as CreateTokenCommand,x as AuthorizationPendingException,U as AccessDeniedException,E as $Command};
|