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