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,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{y as J} from"./chunk-7ce930fe69575c87.js";import"./chunk-a0003b7feea6fae6.js";import{ib as cc,jb as z} from"./chunk-7195a8718fcd8215.js";import{kb as _} from"./chunk-3cbc1c9cdc091b43.js";import"./chunk-934ebff128f86ef1.js";var v=J(_(),1);import{parse as o} from"url";var K=J(_(),1);import{Buffer as a} from"buffer";import{request as n} from"http";function f(c){return new Promise((I,x)=>{const T=n({method:"GET",...c,hostname:c.hostname?.replace(/^\[(.+)\]$/,"$1")});T.on("error",(N)=>{x(Object.assign(new K.ProviderError("Unable to connect to instance metadata service"),N)),T.destroy()}),T.on("timeout",()=>{x(new K.ProviderError("TimeoutError from instance metadata service")),T.destroy()}),T.on("response",(N)=>{const{statusCode:O=400}=N;if(O<200||300<=O)x(Object.assign(new K.ProviderError("Error response received from instance metadata service"),{statusCode:O})),T.destroy();const u=[];N.on("data",(y)=>{u.push(y)}),N.on("end",()=>{I(a.concat(u)),T.destroy()})}),T.end()})}var D=(c)=>Boolean(c)&&typeof c==="object"&&typeof c.AccessKeyId==="string"&&typeof c.SecretAccessKey==="string"&&typeof c.Token==="string"&&typeof c.Expiration==="string",G=(c)=>({accessKeyId:c.AccessKeyId,secretAccessKey:c.SecretAccessKey,sessionToken:c.Token,expiration:new Date(c.Expiration),...c.AccountId&&{accountId:c.AccountId}});var uc=1000,Ec=0,Q=({maxRetries:c=0,timeout:I=1000})=>({maxRetries:c,timeout:I});var m=(c,I)=>{let x=c();for(let T=0;T<I;T++)x=x.catch(c);return x};var Z="AWS_CONTAINER_CREDENTIALS_FULL_URI",L="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",B="AWS_CONTAINER_AUTHORIZATION_TOKEN",Kc=(c={})=>{const{timeout:I,maxRetries:x}=Q(c);return()=>m(async()=>{const T=await d({logger:c.logger}),N=JSON.parse(await s(I,T));if(!D(N))throw new v.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:c.logger});return G(N)},x)},s=async(c,I)=>{if(process.env[B])I.headers={...I.headers,Authorization:process.env[B]};return(await f({...I,timeout:c})).toString()},g="169.254.170.2",l={localhost:!0,"127.0.0.1":!0},r={"http:":!0,"https:":!0},d=async({logger:c})=>{if(process.env[L])return{hostname:g,path:process.env[L]};if(process.env[Z]){const I=o(process.env[Z]);if(!I.hostname||!(I.hostname in l))throw new v.CredentialsProviderError(`${I.hostname} is not a valid container metadata service hostname`,{tryNextLink:!1,logger:c});if(!I.protocol||!(I.protocol in r))throw new v.CredentialsProviderError(`${I.protocol} is not a valid container metadata service protocol`,{tryNextLink:!1,logger:c});return{...I,port:I.port?parseInt(I.port,10):void 0}}throw new v.CredentialsProviderError("The container metadata credential provider cannot be used unless"+` the ${L} or ${Z} environment`+" variable is set",{tryNextLink:!1,logger:c})};var q=J(_(),1);var U=J(_(),1);class X extends U.CredentialsProviderError{constructor(c,I=!0){super(c,I);this.tryNextLink=I,this.name="InstanceMetadataV1FallbackError",Object.setPrototypeOf(this,X.prototype)}}var P=J(cc(),1);var j;(function(c){c.IPv4="http://169.254.169.254",c.IPv6="http://[fd00:ec2::254]"})(j||(j={}));var t={environmentVariableSelector:(c)=>c["AWS_EC2_METADATA_SERVICE_ENDPOINT"],configFileSelector:(c)=>c["ec2_metadata_service_endpoint"],default:void 0};var S;(function(c){c.IPv4="IPv4",c.IPv6="IPv6"})(S||(S={}));var e="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE",i="ec2_metadata_service_endpoint_mode",F={environmentVariableSelector:(c)=>c[e],configFileSelector:(c)=>c[i],default:S.IPv4};var W=async()=>P.parseUrl(await Ic()||await Tc()),Ic=async()=>z(t)(),Tc=async()=>{const c=await z(F)();switch(c){case S.IPv4:return j.IPv4;case S.IPv6:return j.IPv6;default:throw new Error(`Unsupported endpoint mode: ${c}.`+` Select from ${Object.values(S)}`)}};var b=(c,I)=>{const x=300+Math.floor(Math.random()*300),T=new Date(Date.now()+x*1000);I.warn("Attempting credential expiration extension due to a credential service availability issue. A refresh of these "+`credentials will be attempted after ${new Date(T)}.\nFor more information, please visit: `+"https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html");const N=c.originalExpiration??c.expiration;return{...c,...N?{originalExpiration:N}:{},expiration:T}};var V=(c,I={})=>{const x=I?.logger||console;let T;return async()=>{let N;try{if(N=await c(),N.expiration&&N.expiration.getTime()<Date.now())N=b(N,x)}catch(O){if(T)x.warn("Credential renew failed: ",O),N=b(T,x);else throw O}return T=N,N}};var k="/latest/meta-data/iam/security-credentials/",Nc="/latest/api/token",H="AWS_EC2_METADATA_V1_DISABLED",R="ec2_metadata_v1_disabled",M="x-aws-ec2-metadata-token",oc=(c={})=>V(xc(c),{logger:c.logger}),xc=(c={})=>{let I=!1;const{logger:x,profile:T}=c,{timeout:N,maxRetries:O}=Q(c),u=async(y,E)=>{if(I||E.headers?.[M]==null){let w=!1,h=!1;const C=await z({environmentVariableSelector:(Y)=>{const $=Y[H];if(h=!!$&&$!=="false",$===void 0)throw new q.CredentialsProviderError(`${H} not set in env, checking config file next.`,{logger:c.logger});return h},configFileSelector:(Y)=>{const $=Y[R];return w=!!$&&$!=="false",w},default:!1},{profile:T})();if(c.ec2MetadataV1Disabled||C){const Y=[];if(c.ec2MetadataV1Disabled)Y.push("credential provider initialization (runtime option ec2MetadataV1Disabled)");if(w)Y.push(`config file profile (${R})`);if(h)Y.push(`process environment variable (${H})`);throw new X(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${Y.join(", ")}].`)}}const p=(await m(async()=>{let w;try{w=await yc(E)}catch(h){if(h.statusCode===401)I=!1;throw h}return w},y)).trim();return m(async()=>{let w;try{w=await wc(p,E,c)}catch(h){if(h.statusCode===401)I=!1;throw h}return w},y)};return async()=>{const y=await W();if(I)return x?.debug("AWS SDK Instance Metadata","using v1 fallback (no token fetch)"),u(O,{...y,timeout:N});else{let E;try{E=(await Oc({...y,timeout:N})).toString()}catch(A){if(A?.statusCode===400)throw Object.assign(A,{message:"EC2 Metadata token request returned error"});else if(A.message==="TimeoutError"||[403,404,405].includes(A.statusCode))I=!0;return x?.debug("AWS SDK Instance Metadata","using v1 fallback (initial)"),u(O,{...y,timeout:N})}return u(O,{...y,headers:{[M]:E},timeout:N})}}},Oc=async(c)=>f({...c,path:Nc,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}}),yc=async(c)=>(await f({...c,path:k})).toString(),wc=async(c,I,x)=>{const T=JSON.parse((await f({...I,path:k+c})).toString());if(!D(T))throw new q.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:x.logger});return G(T)};export{Q as providerConfigFromInit,f as httpRequest,W as getInstanceMetadataEndpoint,oc as fromInstanceMetadata,Kc as fromContainerMetadata,j as Endpoint,L as ENV_CMDS_RELATIVE_URI,Z as ENV_CMDS_FULL_URI,B as ENV_CMDS_AUTH_TOKEN,uc as DEFAULT_TIMEOUT,Ec as DEFAULT_MAX_RETRIES};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import{x as n,y as Z} from"./chunk-a5c18c07abe8fd9c.js";import{B as j,C as nw,D as zR,E as rO,G as dM,H as h0,I as Tf,J as pM,K as sM,L as oO} from"./chunk-3bd48fb5397a155b.js";import{eb as Bf} from"./chunk-a57ecc74c0fb9045.js";import{fb as e1,gb as a} from"./chunk-bcd70a6fc2fd359c.js";import{hb as o0} from"./chunk-1109657ed53fbdc9.js";import{nb as kw} from"./chunk-a3526e321ac9d173.js";var v=Z((i4,X1)=>{var{defineProperty:pf,getOwnPropertyDescriptor:bW,getOwnPropertyNames:jW}=Object,hW=Object.prototype.hasOwnProperty,T1=(f,w)=>pf(f,"name",{value:w,configurable:!0}),uW=(f,w)=>{for(var E in w)pf(f,E,{get:w[E],enumerable:!0})},kW=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of jW(w))if(!hW.call(f,$)&&$!==E)pf(f,$,{get:()=>w[$],enumerable:!(U=bW(w,$))||U.enumerable})}return f},_W=(f)=>kW(pf({},"__esModule",{value:!0}),f),F1={};uW(F1,{getSmithyContext:()=>DW,normalizeProvider:()=>yW});X1.exports=_W(F1);var M1=Bf(),DW=T1((f)=>f[M1.SMITHY_CONTEXT_KEY]||(f[M1.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),yW=T1((f)=>{if(typeof f==="function")return f;const w=Promise.resolve(f);return()=>w},"normalizeProvider")});var Rf=Z((Z1)=>{Object.defineProperty(Z1,"__esModule",{value:!0});Z1.getHomeDir=void 0;var vW=import.meta.require("os"),xW=import.meta.require("path"),v0={},dW=()=>{if(process&&process.geteuid)return`${process.geteuid()}`;return"DEFAULT"},pW=()=>{const{HOME:f,USERPROFILE:w,HOMEPATH:E,HOMEDRIVE:U=`C:${xW.sep}`}=process.env;if(f)return f;if(w)return w;if(E)return`${U}${E}`;const $=dW();if(!v0[$])v0[$]=vW.homedir();return v0[$]};Z1.getHomeDir=pW});var x0=Z((z1)=>{Object.defineProperty(z1,"__esModule",{value:!0});z1.getSSOTokenFilepath=void 0;var sW=import.meta.require("crypto"),gW=import.meta.require("path"),nW=Rf(),rW=(f)=>{const E=sW.createHash("sha1").update(f).digest("hex");return gW.join(nW.getHomeDir(),".aws","sso","cache",`${E}.json`)};z1.getSSOTokenFilepath=rW});var K1=Z((J1)=>{Object.defineProperty(J1,"__esModule",{value:!0});J1.getSSOTokenFromFile=void 0;var oW=import.meta.require("fs"),lW=x0(),{readFile:mW}=oW.promises,iW=async(f)=>{const w=lW.getSSOTokenFilepath(f),E=await mW(w,"utf8");return JSON.parse(E)};J1.getSSOTokenFromFile=iW});var p0=Z((q1)=>{Object.defineProperty(q1,"__esModule",{value:!0});q1.slurpFile=void 0;var tW=import.meta.require("fs"),{readFile:eW}=tW.promises,d0={},aW=(f,w)=>{if(!d0[f]||(w===null||w===void 0?void 0:w.ignoreCache))d0[f]=eW(f,"utf8");return d0[f]};q1.slurpFile=aW});var r0=Z((wF,qf)=>{var{defineProperty:nf,getOwnPropertyDescriptor:fI,getOwnPropertyNames:wI}=Object,EI=Object.prototype.hasOwnProperty,h=(f,w)=>nf(f,"name",{value:w,configurable:!0}),$I=(f,w)=>{for(var E in w)nf(f,E,{get:w[E],enumerable:!0})},s0=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of wI(w))if(!EI.call(f,$)&&$!==E)nf(f,$,{get:()=>w[$],enumerable:!(U=fI(w,$))||U.enumerable})}return f},n0=(f,w,E)=>(s0(f,w,"default"),E&&s0(E,w,"default")),UI=(f)=>s0(nf({},"__esModule",{value:!0}),f),Kf={};$I(Kf,{CONFIG_PREFIX_SEPARATOR:()=>e,DEFAULT_PROFILE:()=>P1,ENV_PROFILE:()=>N1,getProfileName:()=>RI,loadSharedConfigFiles:()=>c1,loadSsoSessionData:()=>zI,parseKnownFiles:()=>JI});qf.exports=UI(Kf);n0(Kf,Rf(),qf.exports);var N1="AWS_PROFILE",P1="default",RI=h((f)=>f.profile||process.env[N1]||P1,"getProfileName");n0(Kf,x0(),qf.exports);n0(Kf,K1(),qf.exports);var sf=Bf(),GI=h((f)=>Object.entries(f).filter(([w])=>{const E=w.indexOf(e);if(E===-1)return!1;return Object.values(sf.IniSectionType).includes(w.substring(0,E))}).reduce((w,[E,U])=>{const $=E.indexOf(e),R=E.substring(0,$)===sf.IniSectionType.PROFILE?E.substring($+1):E;return w[R]=U,w},{...f.default&&{default:f.default}}),"getConfigData"),gf=import.meta.require("path"),WI=Rf(),II="AWS_CONFIG_FILE",S1=h(()=>process.env[II]||gf.join(WI.getHomeDir(),".aws","config"),"getConfigFilepath"),OI=Rf(),LI="AWS_SHARED_CREDENTIALS_FILE",AI=h(()=>process.env[LI]||gf.join(OI.getHomeDir(),".aws","credentials"),"getCredentialsFilepath"),MI=Rf(),TI=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,FI=["__proto__","profile __proto__"],g0=h((f)=>{const w={};let E,U;for(let $ of f.split(/\r?\n/)){const R=$.split(/(^|\s)[;#]/)[0].trim();if(R[0]==="["&&R[R.length-1]==="]"){E=void 0,U=void 0;const W=R.substring(1,R.length-1),I=TI.exec(W);if(I){const[,O,,L]=I;if(Object.values(sf.IniSectionType).includes(O))E=[O,L].join(e)}else E=W;if(FI.includes(W))throw new Error(`Found invalid profile name "${W}"`)}else if(E){const W=R.indexOf("=");if(![0,-1].includes(W)){const[I,O]=[R.substring(0,W).trim(),R.substring(W+1).trim()];if(O==="")U=I;else{if(U&&$.trimStart()===$)U=void 0;w[E]=w[E]||{};const L=U?[U,I].join(e):I;w[E][L]=O}}}}return w},"parseIni"),V1=p0(),C1=h(()=>({}),"swallowError"),e=".",c1=h(async(f={})=>{const{filepath:w=AI(),configFilepath:E=S1()}=f,U=MI.getHomeDir();let R=w;if(w.startsWith("~/"))R=gf.join(U,w.slice(2));let G=E;if(E.startsWith("~/"))G=gf.join(U,E.slice(2));const W=await Promise.all([V1.slurpFile(G,{ignoreCache:f.ignoreCache}).then(g0).then(GI).catch(C1),V1.slurpFile(R,{ignoreCache:f.ignoreCache}).then(g0).catch(C1)]);return{configFile:W[0],credentialsFile:W[1]}},"loadSharedConfigFiles"),XI=h((f)=>Object.entries(f).filter(([w])=>w.startsWith(sf.IniSectionType.SSO_SESSION+e)).reduce((w,[E,U])=>({...w,[E.substring(E.indexOf(e)+1)]:U}),{}),"getSsoSessionData"),ZI=p0(),YI=h(()=>({}),"swallowError"),zI=h(async(f={})=>ZI.slurpFile(f.configFilepath??S1()).then(g0).then(XI).catch(YI),"loadSsoSessionData"),QI=h((...f)=>{const w={};for(let E of f)for(let[U,$]of Object.entries(E))if(w[U]!==void 0)Object.assign(w[U],$);else w[U]=$;return w},"mergeConfigFiles"),JI=h(async(f)=>{const w=await c1(f);return QI(w.configFile,w.credentialsFile)},"parseKnownFiles")});var u1=Z((EF,h1)=>{var l0=function(f){try{const w=new Set(Array.from(f.match(/([A-Z_]){3,}/g)??[]));return w.delete("CONFIG"),w.delete("CONFIG_PREFIX_SEPARATOR"),w.delete("ENV"),[...w].join(", ")}catch(w){return f}},rf=Object.defineProperty,BI=Object.getOwnPropertyDescriptor,KI=Object.getOwnPropertyNames,qI=Object.prototype.hasOwnProperty,Gf=(f,w)=>rf(f,"name",{value:w,configurable:!0}),HI=(f,w)=>{for(var E in w)rf(f,E,{get:w[E],enumerable:!0})},VI=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of KI(w))if(!qI.call(f,$)&&$!==E)rf(f,$,{get:()=>w[$],enumerable:!(U=BI(w,$))||U.enumerable})}return f},CI=(f)=>VI(rf({},"__esModule",{value:!0}),f),j1={};HI(j1,{loadConfig:()=>bI});h1.exports=CI(j1);var Hf=o0();Gf(l0,"getSelectorName");var NI=Gf((f,w)=>async()=>{try{const E=f(process.env);if(E===void 0)throw new Error;return E}catch(E){throw new Hf.CredentialsProviderError(E.message||`Not found in ENV: ${l0(f.toString())}`,{logger:w})}},"fromEnv"),b1=r0(),PI=Gf((f,{preferredFile:w="config",...E}={})=>async()=>{const U=b1.getProfileName(E),{configFile:$,credentialsFile:R}=await b1.loadSharedConfigFiles(E),G=R[U]||{},W=$[U]||{},I=w==="config"?{...G,...W}:{...W,...G};try{const L=f(I,w==="config"?$:R);if(L===void 0)throw new Error;return L}catch(O){throw new Hf.CredentialsProviderError(O.message||`Not found in config files w/ profile [${U}]: ${l0(f.toString())}`,{logger:E.logger})}},"fromSharedConfigFiles"),SI=Gf((f)=>typeof f==="function","isFunction"),cI=Gf((f)=>SI(f)?async()=>await f():Hf.fromStatic(f),"fromStatic"),bI=Gf(({environmentVariableSelector:f,configFileSelector:w,default:E},U={})=>Hf.memoize(Hf.chain(NI(f),PI(w,U),cI(E))),"loadConfig")});var x1=Z((y1)=>{Object.defineProperty(y1,"__esModule",{value:!0});y1.getEndpointUrlConfig=void 0;var k1=r0(),_1="AWS_ENDPOINT_URL",D1="endpoint_url",jI=(f)=>({environmentVariableSelector:(w)=>{const E=f.split(" ").map((R)=>R.toUpperCase()),U=w[[_1,...E].join("_")];if(U)return U;const $=w[_1];if($)return $;return},configFileSelector:(w,E)=>{if(E&&w.services){const $=E[["services",w.services].join(k1.CONFIG_PREFIX_SEPARATOR)];if($){const R=f.split(" ").map((W)=>W.toLowerCase()),G=$[[R.join("_"),D1].join(k1.CONFIG_PREFIX_SEPARATOR)];if(G)return G}}const U=w[D1];if(U)return U;return},default:void 0});y1.getEndpointUrlConfig=jI});var s1=Z((d1)=>{Object.defineProperty(d1,"__esModule",{value:!0});d1.getEndpointFromConfig=void 0;var hI=u1(),uI=x1(),kI=async(f)=>hI.loadConfig(uI.getEndpointUrlConfig(f))();d1.getEndpointFromConfig=kI});var i0=Z((RF,i1)=>{var m1=function(f,w,E){return{applyToStack:(U)=>{U.add(n1(f,E),o1),U.add(r1(f,w),l1)}}},of=Object.defineProperty,_I=Object.getOwnPropertyDescriptor,DI=Object.getOwnPropertyNames,yI=Object.prototype.hasOwnProperty,m0=(f,w)=>of(f,"name",{value:w,configurable:!0}),vI=(f,w)=>{for(var E in w)of(f,E,{get:w[E],enumerable:!0})},xI=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of DI(w))if(!yI.call(f,$)&&$!==E)of(f,$,{get:()=>w[$],enumerable:!(U=_I(w,$))||U.enumerable})}return f},dI=(f)=>xI(of({},"__esModule",{value:!0}),f),g1={};vI(g1,{deserializerMiddleware:()=>n1,deserializerMiddlewareOption:()=>o1,getSerdePlugin:()=>m1,serializerMiddleware:()=>r1,serializerMiddlewareOption:()=>l1});i1.exports=dI(g1);var n1=m0((f,w)=>(E)=>async(U)=>{const{response:$}=await E(U);try{const R=await w($,f);return{response:$,output:R}}catch(R){if(Object.defineProperty(R,"$response",{value:$}),!("$metadata"in R)){if(R.message+="\n Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.",typeof R.$responseBodyText!=="undefined"){if(R.$response)R.$response.body=R.$responseBodyText}}throw R}},"deserializerMiddleware"),r1=m0((f,w)=>(E,U)=>async($)=>{var R;const G=((R=U.endpointV2)==null?void 0:R.url)&&f.urlParser?async()=>f.urlParser(U.endpointV2.url):f.endpoint;if(!G)throw new Error("No valid endpoint provider available.");const W=await w($.input,{...f,endpoint:G});return E({...$,request:W})},"serializerMiddleware"),o1={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},l1={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};m0(m1,"getSerdePlugin")});var RE=Z((GF,UE)=>{var{defineProperty:mf,getOwnPropertyDescriptor:pI,getOwnPropertyNames:sI}=Object,gI=Object.prototype.hasOwnProperty,k=(f,w)=>mf(f,"name",{value:w,configurable:!0}),nI=(f,w)=>{for(var E in w)mf(f,E,{get:w[E],enumerable:!0})},rI=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of sI(w))if(!gI.call(f,$)&&$!==E)mf(f,$,{get:()=>w[$],enumerable:!(U=pI(w,$))||U.enumerable})}return f},oI=(f)=>rI(mf({},"__esModule",{value:!0}),f),a1={};nI(a1,{endpointMiddleware:()=>EE,endpointMiddlewareOptions:()=>$E,getEndpointFromInstructions:()=>fE,getEndpointPlugin:()=>$8,resolveEndpointConfig:()=>U8,resolveParams:()=>wE,toEndpointV1:()=>t0});UE.exports=oI(a1);var lI=k(async(f)=>{const w=(f==null?void 0:f.Bucket)||"";if(typeof f.Bucket==="string")f.Bucket=w.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(aI(w)){if(f.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!eI(w)||w.indexOf(".")!==-1&&!String(f.Endpoint).startsWith("http:")||w.toLowerCase()!==w||w.length<3)f.ForcePathStyle=!0;if(f.DisableMultiRegionAccessPoints)f.disableMultiRegionAccessPoints=!0,f.DisableMRAP=!0;return f},"resolveParamsForS3"),mI=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,iI=/(\d+\.){3}\d+/,tI=/\.\./,eI=k((f)=>mI.test(f)&&!iI.test(f)&&!tI.test(f),"isDnsCompatibleBucketName"),aI=k((f)=>{const[w,E,U,,,$]=f.split(":"),R=w==="arn"&&f.split(":").length>=6,G=Boolean(R&&E&&U&&$);if(R&&!G)throw new Error(`Invalid ARN: ${f} was an invalid ARN.`);return G},"isArnBucketName"),f8=k((f,w,E)=>{const U=k(async()=>{const $=E[f]??E[w];if(typeof $==="function")return $();return $},"configProvider");if(f==="credentialScope"||w==="CredentialScope")return async()=>{const $=typeof E.credentials==="function"?await E.credentials():E.credentials;return($==null?void 0:$.credentialScope)??($==null?void 0:$.CredentialScope)};if(f==="accountId"||w==="AccountId")return async()=>{const $=typeof E.credentials==="function"?await E.credentials():E.credentials;return($==null?void 0:$.accountId)??($==null?void 0:$.AccountId)};if(f==="endpoint"||w==="endpoint")return async()=>{const $=await U();if($&&typeof $==="object"){if("url"in $)return $.url.href;if("hostname"in $){const{protocol:R,hostname:G,port:W,path:I}=$;return`${R}//${G}${W?":"+W:""}${I}`}}return $};return U},"createConfigValueProvider"),w8=s1(),t1=e1(),t0=k((f)=>{if(typeof f==="object"){if("url"in f)return t1.parseUrl(f.url);return f}return t1.parseUrl(f)},"toEndpointV1"),fE=k(async(f,w,E,U)=>{if(!E.endpoint){const G=await w8.getEndpointFromConfig(E.serviceId||"");if(G)E.endpoint=()=>Promise.resolve(t0(G))}const $=await wE(f,w,E);if(typeof E.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return E.endpointProvider($,U)},"getEndpointFromInstructions"),wE=k(async(f,w,E)=>{var U;const $={},R=((U=w==null?void 0:w.getEndpointParameterInstructions)==null?void 0:U.call(w))||{};for(let[G,W]of Object.entries(R))switch(W.type){case"staticContextParams":$[G]=W.value;break;case"contextParams":$[G]=f[W.name];break;case"clientContextParams":case"builtInParams":$[G]=await f8(W.name,G,E)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(W))}if(Object.keys(R).length===0)Object.assign($,E);if(String(E.serviceId).toLowerCase()==="s3")await lI($);return $},"resolveParams"),lf=v(),EE=k(({config:f,instructions:w})=>{return(E,U)=>async($)=>{var R,G,W;const I=await fE($.input,{getEndpointParameterInstructions(){return w}},{...f},U);U.endpointV2=I,U.authSchemes=(R=I.properties)==null?void 0:R.authSchemes;const O=(G=U.authSchemes)==null?void 0:G[0];if(O){U.signing_region=O.signingRegion,U.signing_service=O.signingName;const L=lf.getSmithyContext(U),A=(W=L==null?void 0:L.selectedHttpAuthScheme)==null?void 0:W.httpAuthOption;if(A)A.signingProperties=Object.assign(A.signingProperties||{},{signing_region:O.signingRegion,signingRegion:O.signingRegion,signing_service:O.signingName,signingName:O.signingName,signingRegionSet:O.signingRegionSet},O.properties)}return E({...$})}},"endpointMiddleware"),E8=i0(),$E={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:E8.serializerMiddlewareOption.name},$8=k((f,w)=>({applyToStack:(E)=>{E.addRelativeTo(EE({config:f,instructions:w}),$E)}}),"getEndpointPlugin"),U8=k((f)=>{const w=f.tls??!0,{endpoint:E}=f,U=E!=null?async()=>t0(await lf.normalizeProvider(E)()):void 0;return{...f,endpoint:U,tls:w,isCustomEndpoint:!!E,useDualstackEndpoint:lf.normalizeProvider(f.useDualstackEndpoint??!1),useFipsEndpoint:lf.normalizeProvider(f.useFipsEndpoint??!1)}},"resolveEndpointConfig")});var e0=Z((GE)=>{var G8=function(f){return f&&f.__esModule?f:{default:f}},W8=function(){if(tf>ef.length-16)R8.default.randomFillSync(ef),tf=0;return ef.slice(tf,tf+=16)};Object.defineProperty(GE,"__esModule",{value:!0});GE.default=W8;var R8=G8(import.meta.require("crypto")),ef=new Uint8Array(256),tf=ef.length});var OE=Z((WE)=>{Object.defineProperty(WE,"__esModule",{value:!0});WE.default=void 0;var O8=/^(?:[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;WE.default=O8});var Vf=Z((LE)=>{var A8=function(f){return f&&f.__esModule?f:{default:f}},M8=function(f){return typeof f==="string"&&L8.default.test(f)};Object.defineProperty(LE,"__esModule",{value:!0});LE.default=void 0;var L8=A8(OE()),T8=M8;LE.default=T8});var Cf=Z((TE)=>{var X8=function(f){return f&&f.__esModule?f:{default:f}},ME=function(f,w=0){return C[f[w+0]]+C[f[w+1]]+C[f[w+2]]+C[f[w+3]]+"-"+C[f[w+4]]+C[f[w+5]]+"-"+C[f[w+6]]+C[f[w+7]]+"-"+C[f[w+8]]+C[f[w+9]]+"-"+C[f[w+10]]+C[f[w+11]]+C[f[w+12]]+C[f[w+13]]+C[f[w+14]]+C[f[w+15]]},Z8=function(f,w=0){const E=ME(f,w);if(!F8.default(E))throw TypeError("Stringified UUID is invalid");return E};Object.defineProperty(TE,"__esModule",{value:!0});TE.default=void 0;TE.unsafeStringify=ME;var F8=X8(Vf()),C=[];for(let f=0;f<256;++f)C.push((f+256).toString(16).slice(1));var Y8=Z8;TE.default=Y8});var zE=Z((ZE)=>{var B8=function(f){return f&&f.__esModule?f:{default:f}},K8=function(f,w,E){let U=w&&E||0;const $=w||new Array(16);f=f||{};let R=f.node||XE,G=f.clockseq!==void 0?f.clockseq:a0;if(R==null||G==null){const T=f.random||(f.rng||Q8.default)();if(R==null)R=XE=[T[0]|1,T[1],T[2],T[3],T[4],T[5]];if(G==null)G=a0=(T[6]<<8|T[7])&16383}let W=f.msecs!==void 0?f.msecs:Date.now(),I=f.nsecs!==void 0?f.nsecs:ww+1;const O=W-fw+(I-ww)/1e4;if(O<0&&f.clockseq===void 0)G=G+1&16383;if((O<0||W>fw)&&f.nsecs===void 0)I=0;if(I>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");fw=W,ww=I,a0=G,W+=12219292800000;const L=((W&268435455)*1e4+I)%4294967296;$[U++]=L>>>24&255,$[U++]=L>>>16&255,$[U++]=L>>>8&255,$[U++]=L&255;const A=W/4294967296*1e4&268435455;$[U++]=A>>>8&255,$[U++]=A&255,$[U++]=A>>>24&15|16,$[U++]=A>>>16&255,$[U++]=G>>>8|128,$[U++]=G&255;for(let T=0;T<6;++T)$[U+T]=R[T];return w||J8.unsafeStringify($)};Object.defineProperty(ZE,"__esModule",{value:!0});ZE.default=void 0;var Q8=B8(e0()),J8=Cf(),XE,a0,fw=0,ww=0,q8=K8;ZE.default=q8});var Ew=Z((QE)=>{var V8=function(f){return f&&f.__esModule?f:{default:f}},C8=function(f){if(!H8.default(f))throw TypeError("Invalid UUID");let w;const E=new Uint8Array(16);return E[0]=(w=parseInt(f.slice(0,8),16))>>>24,E[1]=w>>>16&255,E[2]=w>>>8&255,E[3]=w&255,E[4]=(w=parseInt(f.slice(9,13),16))>>>8,E[5]=w&255,E[6]=(w=parseInt(f.slice(14,18),16))>>>8,E[7]=w&255,E[8]=(w=parseInt(f.slice(19,23),16))>>>8,E[9]=w&255,E[10]=(w=parseInt(f.slice(24,36),16))/1099511627776&255,E[11]=w/4294967296&255,E[12]=w>>>24&255,E[13]=w>>>16&255,E[14]=w>>>8&255,E[15]=w&255,E};Object.defineProperty(QE,"__esModule",{value:!0});QE.default=void 0;var H8=V8(Vf()),N8=C8;QE.default=N8});var $w=Z((qE)=>{var c8=function(f){return f&&f.__esModule?f:{default:f}},b8=function(f){f=unescape(encodeURIComponent(f));const w=[];for(let E=0;E<f.length;++E)w.push(f.charCodeAt(E));return w},j8=function(f,w,E){function U($,R,G,W){var I;if(typeof $==="string")$=b8($);if(typeof R==="string")R=S8.default(R);if(((I=R)===null||I===void 0?void 0:I.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let O=new Uint8Array(16+$.length);if(O.set(R),O.set($,R.length),O=E(O),O[6]=O[6]&15|w,O[8]=O[8]&63|128,G){W=W||0;for(let L=0;L<16;++L)G[W+L]=O[L];return G}return P8.unsafeStringify(O)}try{U.name=f}catch($){}return U.DNS=BE,U.URL=KE,U};Object.defineProperty(qE,"__esModule",{value:!0});qE.URL=qE.DNS=void 0;qE.default=j8;var P8=Cf(),S8=c8(Ew()),BE="6ba7b810-9dad-11d1-80b4-00c04fd430c8";qE.DNS=BE;var KE="6ba7b811-9dad-11d1-80b4-00c04fd430c8";qE.URL=KE});var NE=Z((VE)=>{var _8=function(f){return f&&f.__esModule?f:{default:f}},D8=function(f){if(Array.isArray(f))f=Buffer.from(f);else if(typeof f==="string")f=Buffer.from(f,"utf8");return k8.default.createHash("md5").update(f).digest()};Object.defineProperty(VE,"__esModule",{value:!0});VE.default=void 0;var k8=_8(import.meta.require("crypto")),y8=D8;VE.default=y8});var bE=Z((SE)=>{var PE=function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(SE,"__esModule",{value:!0});SE.default=void 0;var v8=PE($w()),x8=PE(NE()),d8=v8.default("v3",48,x8.default),p8=d8;SE.default=p8});var uE=Z((jE)=>{var g8=function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(jE,"__esModule",{value:!0});jE.default=void 0;var s8=g8(import.meta.require("crypto")),n8={randomUUID:s8.default.randomUUID};jE.default=n8});var vE=Z((DE)=>{var _E=function(f){return f&&f.__esModule?f:{default:f}},l8=function(f,w,E){if(kE.default.randomUUID&&!w&&!f)return kE.default.randomUUID();f=f||{};const U=f.random||(f.rng||r8.default)();if(U[6]=U[6]&15|64,U[8]=U[8]&63|128,w){E=E||0;for(let $=0;$<16;++$)w[E+$]=U[$];return w}return o8.unsafeStringify(U)};Object.defineProperty(DE,"__esModule",{value:!0});DE.default=void 0;var kE=_E(uE()),r8=_E(e0()),o8=Cf(),m8=l8;DE.default=m8});var pE=Z((xE)=>{var t8=function(f){return f&&f.__esModule?f:{default:f}},e8=function(f){if(Array.isArray(f))f=Buffer.from(f);else if(typeof f==="string")f=Buffer.from(f,"utf8");return i8.default.createHash("sha1").update(f).digest()};Object.defineProperty(xE,"__esModule",{value:!0});xE.default=void 0;var i8=t8(import.meta.require("crypto")),a8=e8;xE.default=a8});var rE=Z((gE)=>{var sE=function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(gE,"__esModule",{value:!0});gE.default=void 0;var fO=sE($w()),wO=sE(pE()),EO=fO.default("v5",80,wO.default),$O=EO;gE.default=$O});var mE=Z((oE)=>{Object.defineProperty(oE,"__esModule",{value:!0});oE.default=void 0;var UO="00000000-0000-0000-0000-000000000000";oE.default=UO});var eE=Z((iE)=>{var GO=function(f){return f&&f.__esModule?f:{default:f}},WO=function(f){if(!RO.default(f))throw TypeError("Invalid UUID");return parseInt(f.slice(14,15),16)};Object.defineProperty(iE,"__esModule",{value:!0});iE.default=void 0;var RO=GO(Vf()),IO=WO;iE.default=IO});var Uw=Z((_)=>{var s=function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(_,"__esModule",{value:!0});Object.defineProperty(_,"NIL",{enumerable:!0,get:function(){return TO.default}});Object.defineProperty(_,"parse",{enumerable:!0,get:function(){return YO.default}});Object.defineProperty(_,"stringify",{enumerable:!0,get:function(){return ZO.default}});Object.defineProperty(_,"v1",{enumerable:!0,get:function(){return OO.default}});Object.defineProperty(_,"v3",{enumerable:!0,get:function(){return LO.default}});Object.defineProperty(_,"v4",{enumerable:!0,get:function(){return AO.default}});Object.defineProperty(_,"v5",{enumerable:!0,get:function(){return MO.default}});Object.defineProperty(_,"validate",{enumerable:!0,get:function(){return XO.default}});Object.defineProperty(_,"version",{enumerable:!0,get:function(){return FO.default}});var OO=s(zE()),LO=s(bE()),AO=s(vE()),MO=s(rE()),TO=s(mE()),FO=s(eE()),XO=s(Vf()),ZO=s(Cf()),YO=s(Ew())});var Rw=Z((qF,E$)=>{var{defineProperty:af,getOwnPropertyDescriptor:zO,getOwnPropertyNames:QO}=Object,JO=Object.prototype.hasOwnProperty,Wf=(f,w)=>af(f,"name",{value:w,configurable:!0}),BO=(f,w)=>{for(var E in w)af(f,E,{get:w[E],enumerable:!0})},KO=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of QO(w))if(!JO.call(f,$)&&$!==E)af(f,$,{get:()=>w[$],enumerable:!(U=zO(w,$))||U.enumerable})}return f},qO=(f)=>KO(af({},"__esModule",{value:!0}),f),aE={};BO(aE,{isClockSkewCorrectedError:()=>f$,isClockSkewError:()=>cO,isRetryableByTrait:()=>SO,isServerError:()=>jO,isThrottlingError:()=>bO,isTransientError:()=>w$});E$.exports=qO(aE);var HO=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],VO=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],CO=["TimeoutError","RequestTimeout","RequestTimeoutException"],NO=[500,502,503,504],PO=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],SO=Wf((f)=>f.$retryable!==void 0,"isRetryableByTrait"),cO=Wf((f)=>HO.includes(f.name),"isClockSkewError"),f$=Wf((f)=>{var w;return(w=f.$metadata)==null?void 0:w.clockSkewCorrected},"isClockSkewCorrectedError"),bO=Wf((f)=>{var w,E;return((w=f.$metadata)==null?void 0:w.httpStatusCode)===429||VO.includes(f.name)||((E=f.$retryable)==null?void 0:E.throttling)==!0},"isThrottlingError"),w$=Wf((f)=>{var w;return f$(f)||CO.includes(f.name)||PO.includes((f==null?void 0:f.code)||"")||NO.includes(((w=f.$metadata)==null?void 0:w.httpStatusCode)||0)},"isTransientError"),jO=Wf((f)=>{var w;if(((w=f.$metadata)==null?void 0:w.httpStatusCode)!==void 0){const E=f.$metadata.httpStatusCode;if(500<=E&&E<=599&&!w$(f))return!0;return!1}return!1},"isServerError")});var Z$=Z((HF,X$)=>{var{defineProperty:f0,getOwnPropertyDescriptor:hO,getOwnPropertyNames:uO}=Object,kO=Object.prototype.hasOwnProperty,D=(f,w)=>f0(f,"name",{value:w,configurable:!0}),_O=(f,w)=>{for(var E in w)f0(f,E,{get:w[E],enumerable:!0})},DO=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of uO(w))if(!kO.call(f,$)&&$!==E)f0(f,$,{get:()=>w[$],enumerable:!(U=hO(w,$))||U.enumerable})}return f},yO=(f)=>DO(f0({},"__esModule",{value:!0}),f),U$={};_O(U$,{AdaptiveRetryStrategy:()=>gO,ConfiguredRetryStrategy:()=>nO,DEFAULT_MAX_ATTEMPTS:()=>Gw,DEFAULT_RETRY_DELAY_BASE:()=>Nf,DEFAULT_RETRY_MODE:()=>vO,DefaultRateLimiter:()=>W$,INITIAL_RETRY_TOKENS:()=>Ww,INVOCATION_ID_HEADER:()=>dO,MAXIMUM_RETRY_DELAY:()=>Iw,NO_RETRY_INCREMENT:()=>A$,REQUEST_HEADER:()=>pO,RETRY_COST:()=>O$,RETRY_MODES:()=>R$,StandardRetryStrategy:()=>Ow,THROTTLING_RETRY_DELAY_BASE:()=>I$,TIMEOUT_RETRY_COST:()=>L$});X$.exports=yO(U$);var R$=((f)=>{return f.STANDARD="standard",f.ADAPTIVE="adaptive",f})(R$||{}),Gw=3,vO="standard",xO=Rw(),G$=class f{constructor(w){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=(w==null?void 0:w.beta)??0.7,this.minCapacity=(w==null?void 0:w.minCapacity)??1,this.minFillRate=(w==null?void 0:w.minFillRate)??0.5,this.scaleConstant=(w==null?void 0:w.scaleConstant)??0.4,this.smooth=(w==null?void 0:w.smooth)??0.8;const E=this.getCurrentTimeInSeconds();this.lastThrottleTime=E,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1000}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(w){if(!this.enabled)return;if(this.refillTokenBucket(),w>this.currentCapacity){const E=(w-this.currentCapacity)/this.fillRate*1000;await new Promise((U)=>setTimeout(U,E))}this.currentCapacity=this.currentCapacity-w}refillTokenBucket(){const w=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=w;return}const E=(w-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+E),this.lastTimestamp=w}updateClientSendingRate(w){let E;if(this.updateMeasuredRate(),xO.isThrottlingError(w)){const $=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=$,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),E=this.cubicThrottle($),this.enableTokenBucket()}else this.calculateTimeWindow(),E=this.cubicSuccess(this.getCurrentTimeInSeconds());const U=Math.min(E,2*this.measuredTxRate);this.updateTokenBucketRate(U)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(w){return this.getPrecise(w*this.beta)}cubicSuccess(w){return this.getPrecise(this.scaleConstant*Math.pow(w-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(w){this.refillTokenBucket(),this.fillRate=Math.max(w,this.minFillRate),this.maxCapacity=Math.max(w,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const w=this.getCurrentTimeInSeconds(),E=Math.floor(w*2)/2;if(this.requestCount++,E>this.lastTxRateBucket){const U=this.requestCount/(E-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(U*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=E}}getPrecise(w){return parseFloat(w.toFixed(8))}};D(G$,"DefaultRateLimiter");var W$=G$,Nf=100,Iw=20000,I$=500,Ww=500,O$=5,L$=10,A$=1,dO="amz-sdk-invocation-id",pO="amz-sdk-request",sO=D(()=>{let f=Nf;return{computeNextBackoffDelay:D((U)=>{return Math.floor(Math.min(Iw,Math.random()*2**U*f))},"computeNextBackoffDelay"),setDelayBase:D((U)=>{f=U},"setDelayBase")}},"getDefaultRetryBackoffStrategy"),$$=D(({retryDelay:f,retryCount:w,retryCost:E})=>{return{getRetryCount:D(()=>w,"getRetryCount"),getRetryDelay:D(()=>Math.min(Iw,f),"getRetryDelay"),getRetryCost:D(()=>E,"getRetryCost")}},"createDefaultRetryToken"),M$=class f{constructor(w){this.maxAttempts=w,this.mode="standard",this.capacity=Ww,this.retryBackoffStrategy=sO(),this.maxAttemptsProvider=typeof w==="function"?w:async()=>w}async acquireInitialRetryToken(w){return $$({retryDelay:Nf,retryCount:0})}async refreshRetryTokenForRetry(w,E){const U=await this.getMaxAttempts();if(this.shouldRetry(w,E,U)){const $=E.errorType;this.retryBackoffStrategy.setDelayBase($==="THROTTLING"?I$:Nf);const R=this.retryBackoffStrategy.computeNextBackoffDelay(w.getRetryCount()),G=E.retryAfterHint?Math.max(E.retryAfterHint.getTime()-Date.now()||0,R):R,W=this.getCapacityCost($);return this.capacity-=W,$$({retryDelay:G,retryCount:w.getRetryCount()+1,retryCost:W})}throw new Error("No retry token available")}recordSuccess(w){this.capacity=Math.max(Ww,this.capacity+(w.getRetryCost()??A$))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(w){return console.warn(`Max attempts provider could not resolve. Using default of ${Gw}`),Gw}}shouldRetry(w,E,U){return w.getRetryCount()+1<U&&this.capacity>=this.getCapacityCost(E.errorType)&&this.isRetryableError(E.errorType)}getCapacityCost(w){return w==="TRANSIENT"?L$:O$}isRetryableError(w){return w==="THROTTLING"||w==="TRANSIENT"}};D(M$,"StandardRetryStrategy");var Ow=M$,T$=class f{constructor(w,E){this.maxAttemptsProvider=w,this.mode="adaptive";const{rateLimiter:U}=E??{};this.rateLimiter=U??new W$,this.standardRetryStrategy=new Ow(w)}async acquireInitialRetryToken(w){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(w)}async refreshRetryTokenForRetry(w,E){return this.rateLimiter.updateClientSendingRate(E),this.standardRetryStrategy.refreshRetryTokenForRetry(w,E)}recordSuccess(w){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(w)}};D(T$,"AdaptiveRetryStrategy");var gO=T$,F$=class f extends Ow{constructor(w,E=Nf){super(typeof w==="function"?w:async()=>w);if(typeof E==="number")this.computeNextBackoffDelay=()=>E;else this.computeNextBackoffDelay=E}async refreshRetryTokenForRetry(w,E){const U=await super.refreshRetryTokenForRetry(w,E);return U.getRetryDelay=()=>this.computeNextBackoffDelay(U.getRetryCount()),U}};D(F$,"ConfiguredRetryStrategy");var nO=F$});var Af=Z((VF,v$)=>{var c$=function(f){const w=f.getUTCFullYear(),E=f.getUTCMonth(),U=f.getUTCDay(),$=f.getUTCDate(),R=f.getUTCHours(),G=f.getUTCMinutes(),W=f.getUTCSeconds(),I=$<10?`0${$}`:`${$}`,O=R<10?`0${R}`:`${R}`,L=G<10?`0${G}`:`${G}`,A=W<10?`0${W}`:`${W}`;return`${BL[U]}, ${I} ${Jw[E]} ${w} ${O}:${L}:${A} GMT`},$0=function(f){return encodeURIComponent(f).replace(/[!'()*]/g,function(w){return"%"+w.charCodeAt(0).toString(16).toUpperCase()})},Bw=function(f,w,E){let U,$,R;if(typeof w==="undefined"&&typeof E==="undefined")U={},R=f;else if(U=f,typeof w==="function")return $=w,R=E,fA(U,$,R);else R=w;for(let G of Object.keys(R)){if(!Array.isArray(R[G])){U[G]=R[G];continue}D$(U,null,R,G)}return U},y$=function(f,w,E){if(E<=0||!Number.isInteger(E))throw new Error("Invalid number of delimiters ("+E+") for splitEvery.");const U=f.split(w);if(E===1)return U;const $=[];let R="";for(let G=0;G<U.length;G++){if(R==="")R=U[G];else R+=w+U[G];if((G+1)%E===0)$.push(R),R=""}if(R!=="")$.push(R);return $},U0=Object.defineProperty,lO=Object.getOwnPropertyDescriptor,mO=Object.getOwnPropertyNames,iO=Object.prototype.hasOwnProperty,F=(f,w)=>U0(f,"name",{value:w,configurable:!0}),tO=(f,w)=>{for(var E in w)U0(f,E,{get:w[E],enumerable:!0})},eO=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of mO(w))if(!iO.call(f,$)&&$!==E)U0(f,$,{get:()=>w[$],enumerable:!(U=lO(w,$))||U.enumerable})}return f},aO=(f)=>eO(U0({},"__esModule",{value:!0}),f),z$={};tO(z$,{Client:()=>wL,Command:()=>q$,LazyJsonString:()=>tL,NoOpLogger:()=>fL,SENSITIVE_STRING:()=>UL,ServiceException:()=>vL,StringWrapper:()=>jf,_json:()=>Zw,collectBody:()=>EL,convertMap:()=>eL,createAggregatedClient:()=>RL,dateToUtcString:()=>c$,decorateServiceException:()=>j$,emitWarningIfUnsupportedVersion:()=>sL,expectBoolean:()=>WL,expectByte:()=>Xw,expectFloat32:()=>w0,expectInt:()=>OL,expectInt32:()=>Tw,expectLong:()=>cf,expectNonNull:()=>AL,expectNumber:()=>Sf,expectObject:()=>V$,expectShort:()=>Fw,expectString:()=>ML,expectUnion:()=>TL,extendedEncodeURIComponent:()=>$0,getArrayIfSingleItem:()=>iL,getDefaultClientConfiguration:()=>lL,getDefaultExtensionConfiguration:()=>u$,getValueFromTextNode:()=>k$,handleFloat:()=>ZL,limitedParseDouble:()=>Qw,limitedParseFloat:()=>YL,limitedParseFloat32:()=>zL,loadConfigsForDefaultMode:()=>pL,logger:()=>bf,map:()=>Bw,parseBoolean:()=>GL,parseEpochTimestamp:()=>cL,parseRfc3339DateTime:()=>qL,parseRfc3339DateTimeWithOffset:()=>VL,parseRfc7231DateTime:()=>SL,resolveDefaultRuntimeConfig:()=>mL,resolvedPath:()=>$A,serializeDateTime:()=>RA,serializeFloat:()=>UA,splitEvery:()=>y$,strictParseByte:()=>S$,strictParseDouble:()=>zw,strictParseFloat:()=>FL,strictParseFloat32:()=>C$,strictParseInt:()=>QL,strictParseInt32:()=>JL,strictParseLong:()=>P$,strictParseShort:()=>If,take:()=>aL,throwDefaultError:()=>h$,withBaseException:()=>xL});v$.exports=aO(z$);var Q$=class f{trace(){}debug(){}info(){}warn(){}error(){}};F(Q$,"NoOpLogger");var fL=Q$,J$=rO(),B$=class f{constructor(w){this.middlewareStack=J$.constructStack(),this.config=w}send(w,E,U){const $=typeof E!=="function"?E:void 0,R=typeof E==="function"?E:U,G=w.resolveMiddleware(this.middlewareStack,this.config,$);if(R)G(w).then((W)=>R(null,W.output),(W)=>R(W)).catch(()=>{});else return G(w).then((W)=>W.output)}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}};F(B$,"Client");var wL=B$,Lw=oO(),EL=F(async(f=new Uint8Array,w)=>{if(f instanceof Uint8Array)return Lw.Uint8ArrayBlobAdapter.mutate(f);if(!f)return Lw.Uint8ArrayBlobAdapter.mutate(new Uint8Array);const E=w.streamCollector(f);return Lw.Uint8ArrayBlobAdapter.mutate(await E)},"collectBody"),Mw=Bf(),K$=class f{constructor(){this.middlewareStack=J$.constructStack()}static classBuilder(){return new $L}resolveMiddlewareWithContext(w,E,U,{middlewareFn:$,clientName:R,commandName:G,inputFilterSensitiveLog:W,outputFilterSensitiveLog:I,smithyContext:O,additionalContext:L,CommandCtor:A}){for(let Q of $.bind(this)(A,w,E,U))this.middlewareStack.use(Q);const T=w.concat(this.middlewareStack),{logger:M}=E,X={logger:M,clientName:R,commandName:G,inputFilterSensitiveLog:W,outputFilterSensitiveLog:I,[Mw.SMITHY_CONTEXT_KEY]:{commandInstance:this,...O},...L},{requestHandler:Y}=E;return T.resolve((Q)=>Y.handle(Q.request,U||{}),X)}};F(K$,"Command");var q$=K$,H$=class f{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=(w)=>w,this._outputFilterSensitiveLog=(w)=>w,this._serializer=null,this._deserializer=null}init(w){this._init=w}ep(w){return this._ep=w,this}m(w){return this._middlewareFn=w,this}s(w,E,U={}){return this._smithyContext={service:w,operation:E,...U},this}c(w={}){return this._additionalContext=w,this}n(w,E){return this._clientName=w,this._commandName=E,this}f(w=(U)=>U,E=(U)=>U){return this._inputFilterSensitiveLog=w,this._outputFilterSensitiveLog=E,this}ser(w){return this._serializer=w,this}de(w){return this._deserializer=w,this}build(){var w;const E=this;let U;return U=(w=class extends q${constructor(...[$]){super();this.serialize=E._serializer,this.deserialize=E._deserializer,this.input=$??{},E._init(this)}static getEndpointParameterInstructions(){return E._ep}resolveMiddleware($,R,G){return this.resolveMiddlewareWithContext($,R,G,{CommandCtor:U,middlewareFn:E._middlewareFn,clientName:E._clientName,commandName:E._commandName,inputFilterSensitiveLog:E._inputFilterSensitiveLog,outputFilterSensitiveLog:E._outputFilterSensitiveLog,smithyContext:E._smithyContext,additionalContext:E._additionalContext})}},F(w,"CommandRef"),w)}};F(H$,"ClassBuilder");var $L=H$,UL="***SensitiveInformation***",RL=F((f,w)=>{for(let E of Object.keys(f)){const U=f[E],$=F(async function(G,W,I){const O=new U(G);if(typeof W==="function")this.send(O,W);else if(typeof I==="function"){if(typeof W!=="object")throw new Error(`Expected http options but got ${typeof W}`);this.send(O,W||{},I)}else return this.send(O,W)},"methodImpl"),R=(E[0].toLowerCase()+E.slice(1)).replace(/Command$/,"");w.prototype[R]=$}},"createAggregatedClient"),GL=F((f)=>{switch(f){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${f}"`)}},"parseBoolean"),WL=F((f)=>{if(f===null||f===void 0)return;if(typeof f==="number"){if(f===0||f===1)bf.warn(E0(`Expected boolean, got ${typeof f}: ${f}`));if(f===0)return!1;if(f===1)return!0}if(typeof f==="string"){const w=f.toLowerCase();if(w==="false"||w==="true")bf.warn(E0(`Expected boolean, got ${typeof f}: ${f}`));if(w==="false")return!1;if(w==="true")return!0}if(typeof f==="boolean")return f;throw new TypeError(`Expected boolean, got ${typeof f}: ${f}`)},"expectBoolean"),Sf=F((f)=>{if(f===null||f===void 0)return;if(typeof f==="string"){const w=parseFloat(f);if(!Number.isNaN(w)){if(String(w)!==String(f))bf.warn(E0(`Expected number but observed string: ${f}`));return w}}if(typeof f==="number")return f;throw new TypeError(`Expected number, got ${typeof f}: ${f}`)},"expectNumber"),IL=Math.ceil(340282346638528860000000000000000000000),w0=F((f)=>{const w=Sf(f);if(w!==void 0&&!Number.isNaN(w)&&w!==Infinity&&w!==(-Infinity)){if(Math.abs(w)>IL)throw new TypeError(`Expected 32-bit float, got ${f}`)}return w},"expectFloat32"),cf=F((f)=>{if(f===null||f===void 0)return;if(Number.isInteger(f)&&!Number.isNaN(f))return f;throw new TypeError(`Expected integer, got ${typeof f}: ${f}`)},"expectLong"),OL=cf,Tw=F((f)=>Yw(f,32),"expectInt32"),Fw=F((f)=>Yw(f,16),"expectShort"),Xw=F((f)=>Yw(f,8),"expectByte"),Yw=F((f,w)=>{const E=cf(f);if(E!==void 0&&LL(E,w)!==E)throw new TypeError(`Expected ${w}-bit integer, got ${f}`);return E},"expectSizedInt"),LL=F((f,w)=>{switch(w){case 32:return Int32Array.of(f)[0];case 16:return Int16Array.of(f)[0];case 8:return Int8Array.of(f)[0]}},"castInt"),AL=F((f,w)=>{if(f===null||f===void 0){if(w)throw new TypeError(`Expected a non-null value for ${w}`);throw new TypeError("Expected a non-null value")}return f},"expectNonNull"),V$=F((f)=>{if(f===null||f===void 0)return;if(typeof f==="object"&&!Array.isArray(f))return f;const w=Array.isArray(f)?"array":typeof f;throw new TypeError(`Expected object, got ${w}: ${f}`)},"expectObject"),ML=F((f)=>{if(f===null||f===void 0)return;if(typeof f==="string")return f;if(["boolean","number","bigint"].includes(typeof f))return bf.warn(E0(`Expected string, got ${typeof f}: ${f}`)),String(f);throw new TypeError(`Expected string, got ${typeof f}: ${f}`)},"expectString"),TL=F((f)=>{if(f===null||f===void 0)return;const w=V$(f),E=Object.entries(w).filter(([,U])=>U!=null).map(([U])=>U);if(E.length===0)throw new TypeError("Unions must have exactly one non-null member. None were found.");if(E.length>1)throw new TypeError(`Unions must have exactly one non-null member. Keys ${E} were not null.`);return w},"expectUnion"),zw=F((f)=>{if(typeof f=="string")return Sf(Lf(f));return Sf(f)},"strictParseDouble"),FL=zw,C$=F((f)=>{if(typeof f=="string")return w0(Lf(f));return w0(f)},"strictParseFloat32"),XL=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,Lf=F((f)=>{const w=f.match(XL);if(w===null||w[0].length!==f.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(f)},"parseNumber"),Qw=F((f)=>{if(typeof f=="string")return N$(f);return Sf(f)},"limitedParseDouble"),ZL=Qw,YL=Qw,zL=F((f)=>{if(typeof f=="string")return N$(f);return w0(f)},"limitedParseFloat32"),N$=F((f)=>{switch(f){case"NaN":return NaN;case"Infinity":return Infinity;case"-Infinity":return (-Infinity);default:throw new Error(`Unable to parse float value: ${f}`)}},"parseFloatString"),P$=F((f)=>{if(typeof f==="string")return cf(Lf(f));return cf(f)},"strictParseLong"),QL=P$,JL=F((f)=>{if(typeof f==="string")return Tw(Lf(f));return Tw(f)},"strictParseInt32"),If=F((f)=>{if(typeof f==="string")return Fw(Lf(f));return Fw(f)},"strictParseShort"),S$=F((f)=>{if(typeof f==="string")return Xw(Lf(f));return Xw(f)},"strictParseByte"),E0=F((f)=>{return String(new TypeError(f).stack||f).split("\n").slice(0,5).filter((w)=>!w.includes("stackTraceWarning")).join("\n")},"stackTraceWarning"),bf={warn:console.warn},BL=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Jw=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];F(c$,"dateToUtcString");var KL=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),qL=F((f)=>{if(f===null||f===void 0)return;if(typeof f!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const w=KL.exec(f);if(!w)throw new TypeError("Invalid RFC-3339 date-time value");const[E,U,$,R,G,W,I,O]=w,L=If(Of(U)),A=x($,"month",1,12),T=x(R,"day",1,31);return Pf(L,A,T,{hours:G,minutes:W,seconds:I,fractionalMilliseconds:O})},"parseRfc3339DateTime"),HL=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),VL=F((f)=>{if(f===null||f===void 0)return;if(typeof f!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const w=HL.exec(f);if(!w)throw new TypeError("Invalid RFC-3339 date-time value");const[E,U,$,R,G,W,I,O,L]=w,A=If(Of(U)),T=x($,"month",1,12),M=x(R,"day",1,31),X=Pf(A,T,M,{hours:G,minutes:W,seconds:I,fractionalMilliseconds:O});if(L.toUpperCase()!="Z")X.setTime(X.getTime()-yL(L));return X},"parseRfc3339DateTimeWithOffset"),CL=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$/),NL=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$/),PL=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})$/),SL=F((f)=>{if(f===null||f===void 0)return;if(typeof f!=="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let w=CL.exec(f);if(w){const[E,U,$,R,G,W,I,O]=w;return Pf(If(Of(R)),Aw($),x(U,"day",1,31),{hours:G,minutes:W,seconds:I,fractionalMilliseconds:O})}if(w=NL.exec(f),w){const[E,U,$,R,G,W,I,O]=w;return hL(Pf(bL(R),Aw($),x(U,"day",1,31),{hours:G,minutes:W,seconds:I,fractionalMilliseconds:O}))}if(w=PL.exec(f),w){const[E,U,$,R,G,W,I,O]=w;return Pf(If(Of(O)),Aw(U),x($.trimLeft(),"day",1,31),{hours:R,minutes:G,seconds:W,fractionalMilliseconds:I})}throw new TypeError("Invalid RFC-7231 date-time value")},"parseRfc7231DateTime"),cL=F((f)=>{if(f===null||f===void 0)return;let w;if(typeof f==="number")w=f;else if(typeof f==="string")w=zw(f);else throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(w)||w===Infinity||w===(-Infinity))throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(w*1000))},"parseEpochTimestamp"),Pf=F((f,w,E,U)=>{const $=w-1;return kL(f,$,E),new Date(Date.UTC(f,$,E,x(U.hours,"hour",0,23),x(U.minutes,"minute",0,59),x(U.seconds,"seconds",0,60),DL(U.fractionalMilliseconds)))},"buildDate"),bL=F((f)=>{const w=(new Date()).getUTCFullYear(),E=Math.floor(w/100)*100+If(Of(f));if(E<w)return E+100;return E},"parseTwoDigitYear"),jL=1576800000000,hL=F((f)=>{if(f.getTime()-(new Date()).getTime()>jL)return new Date(Date.UTC(f.getUTCFullYear()-100,f.getUTCMonth(),f.getUTCDate(),f.getUTCHours(),f.getUTCMinutes(),f.getUTCSeconds(),f.getUTCMilliseconds()));return f},"adjustRfc850Year"),Aw=F((f)=>{const w=Jw.indexOf(f);if(w<0)throw new TypeError(`Invalid month: ${f}`);return w+1},"parseMonthByShortName"),uL=[31,28,31,30,31,30,31,31,30,31,30,31],kL=F((f,w,E)=>{let U=uL[w];if(w===1&&_L(f))U=29;if(E>U)throw new TypeError(`Invalid day for ${Jw[w]} in ${f}: ${E}`)},"validateDayOfMonth"),_L=F((f)=>{return f%4===0&&(f%100!==0||f%400===0)},"isLeapYear"),x=F((f,w,E,U)=>{const $=S$(Of(f));if($<E||$>U)throw new TypeError(`${w} must be between ${E} and ${U}, inclusive`);return $},"parseDateValue"),DL=F((f)=>{if(f===null||f===void 0)return 0;return C$("0."+f)*1000},"parseMilliseconds"),yL=F((f)=>{const w=f[0];let E=1;if(w=="+")E=1;else if(w=="-")E=-1;else throw new TypeError(`Offset direction, ${w}, must be "+" or "-"`);const U=Number(f.substring(1,3)),$=Number(f.substring(4,6));return E*(U*60+$)*60*1000},"parseOffsetToMilliseconds"),Of=F((f)=>{let w=0;while(w<f.length-1&&f.charAt(w)==="0")w++;if(w===0)return f;return f.slice(w)},"stripLeadingZeroes"),b$=class f extends Error{constructor(w){super(w.message);Object.setPrototypeOf(this,f.prototype),this.name=w.name,this.$fault=w.$fault,this.$metadata=w.$metadata}};F(b$,"ServiceException");var vL=b$,j$=F((f,w={})=>{Object.entries(w).filter(([,U])=>U!==void 0).forEach(([U,$])=>{if(f[U]==null||f[U]==="")f[U]=$});const E=f.message||f.Message||"UnknownError";return f.message=E,delete f.Message,f},"decorateServiceException"),h$=F(({output:f,parsedBody:w,exceptionCtor:E,errorCode:U})=>{const $=dL(f),R=$.httpStatusCode?$.httpStatusCode+"":void 0,G=new E({name:(w==null?void 0:w.code)||(w==null?void 0:w.Code)||U||R||"UnknownError",$fault:"client",$metadata:$});throw j$(G,w)},"throwDefaultError"),xL=F((f)=>{return({output:w,parsedBody:E,errorCode:U})=>{h$({output:w,parsedBody:E,exceptionCtor:f,errorCode:U})}},"withBaseException"),dL=F((f)=>({httpStatusCode:f.statusCode,requestId:f.headers["x-amzn-requestid"]??f.headers["x-amzn-request-id"]??f.headers["x-amz-request-id"],extendedRequestId:f.headers["x-amz-id-2"],cfId:f.headers["x-amz-cf-id"]}),"deserializeMetadata"),pL=F((f)=>{switch(f){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"),Y$=!1,sL=F((f)=>{if(f&&!Y$&&parseInt(f.substring(1,f.indexOf(".")))<16)Y$=!0},"emitWarningIfUnsupportedVersion"),gL=F((f)=>{const w=[];for(let E in Mw.AlgorithmId){const U=Mw.AlgorithmId[E];if(f[U]===void 0)continue;w.push({algorithmId:()=>U,checksumConstructor:()=>f[U]})}return{_checksumAlgorithms:w,addChecksumAlgorithm(E){this._checksumAlgorithms.push(E)},checksumAlgorithms(){return this._checksumAlgorithms}}},"getChecksumConfiguration"),nL=F((f)=>{const w={};return f.checksumAlgorithms().forEach((E)=>{w[E.algorithmId()]=E.checksumConstructor()}),w},"resolveChecksumRuntimeConfig"),rL=F((f)=>{let w=f.retryStrategy;return{setRetryStrategy(E){w=E},retryStrategy(){return w}}},"getRetryConfiguration"),oL=F((f)=>{const w={};return w.retryStrategy=f.retryStrategy(),w},"resolveRetryRuntimeConfig"),u$=F((f)=>{return{...gL(f),...rL(f)}},"getDefaultExtensionConfiguration"),lL=u$,mL=F((f)=>{return{...nL(f),...oL(f)}},"resolveDefaultRuntimeConfig");F($0,"extendedEncodeURIComponent");var iL=F((f)=>Array.isArray(f)?f:[f],"getArrayIfSingleItem"),k$=F((f)=>{for(let E in f)if(f.hasOwnProperty(E)&&f[E]["#text"]!==void 0)f[E]=f[E]["#text"];else if(typeof f[E]==="object"&&f[E]!==null)f[E]=k$(f[E]);return f},"getValueFromTextNode"),jf=F(function(){const f=Object.getPrototypeOf(this).constructor,E=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(E,f.prototype),E},"StringWrapper");jf.prototype=Object.create(String.prototype,{constructor:{value:jf,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(jf,String);var _$=class f extends jf{deserializeJSON(){return JSON.parse(super.toString())}toJSON(){return super.toString()}static fromObject(w){if(w instanceof f)return w;else if(w instanceof String||typeof w==="string")return new f(w);return new f(JSON.stringify(w))}};F(_$,"LazyJsonString");var tL=_$;F(Bw,"map");var eL=F((f)=>{const w={};for(let[E,U]of Object.entries(f||{}))w[E]=[,U];return w},"convertMap"),aL=F((f,w)=>{const E={};for(let U in w)D$(E,f,w,U);return E},"take"),fA=F((f,w,E)=>{return Bw(f,Object.entries(E).reduce((U,[$,R])=>{if(Array.isArray(R))U[$]=R;else if(typeof R==="function")U[$]=[w,R()];else U[$]=[w,R];return U},{}))},"mapWithFilter"),D$=F((f,w,E,U)=>{if(w!==null){let G=E[U];if(typeof G==="function")G=[,G];const[W=wA,I=EA,O=U]=G;if(typeof W==="function"&&W(w[O])||typeof W!=="function"&&!!W)f[U]=I(w[O]);return}let[$,R]=E[U];if(typeof R==="function"){let G;const W=$===void 0&&(G=R())!=null,I=typeof $==="function"&&!!$(void 0)||typeof $!=="function"&&!!$;if(W)f[U]=G;else if(I)f[U]=R()}else{const G=$===void 0&&R!=null,W=typeof $==="function"&&!!$(R)||typeof $!=="function"&&!!$;if(G||W)f[U]=R}},"applyInstruction"),wA=F((f)=>f!=null,"nonNullish"),EA=F((f)=>f,"pass"),$A=F((f,w,E,U,$,R)=>{if(w!=null&&w[E]!==void 0){const G=U();if(G.length<=0)throw new Error("Empty value provided for input HTTP label: "+E+".");f=f.replace($,R?G.split("/").map((W)=>$0(W)).join("/"):$0(G))}else throw new Error("No value provided for input HTTP label: "+E+".");return f},"resolvedPath"),UA=F((f)=>{if(f!==f)return"NaN";switch(f){case Infinity:return"Infinity";case (-Infinity):return"-Infinity";default:return f}},"serializeFloat"),RA=F((f)=>f.toISOString().replace(".000Z","Z"),"serializeDateTime"),Zw=F((f)=>{if(f==null)return{};if(Array.isArray(f))return f.filter((w)=>w!=null).map(Zw);if(typeof f==="object"){const w={};for(let E of Object.keys(f)){if(f[E]==null)continue;w[E]=Zw(f[E])}return w}return f},"_json");F(y$,"splitEvery")});var p$=Z((x$)=>{Object.defineProperty(x$,"__esModule",{value:!0});x$.isStreamingPayload=void 0;var GA=import.meta.require("stream"),WA=(f)=>(f===null||f===void 0?void 0:f.body)instanceof GA.Readable||typeof ReadableStream!=="undefined"&&(f===null||f===void 0?void 0:f.body)instanceof ReadableStream;x$.isStreamingPayload=WA});var GU=Z((PF,RU)=>{var{defineProperty:R0,getOwnPropertyDescriptor:IA,getOwnPropertyNames:OA}=Object,LA=Object.prototype.hasOwnProperty,H=(f,w)=>R0(f,"name",{value:w,configurable:!0}),AA=(f,w)=>{for(var E in w)R0(f,E,{get:w[E],enumerable:!0})},MA=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of OA(w))if(!LA.call(f,$)&&$!==E)R0(f,$,{get:()=>w[$],enumerable:!(U=IA(w,$))||U.enumerable})}return f},TA=(f)=>MA(R0({},"__esModule",{value:!0}),f),g$={};AA(g$,{AdaptiveRetryStrategy:()=>ZA,CONFIG_MAX_ATTEMPTS:()=>qw,CONFIG_RETRY_MODE:()=>a$,ENV_MAX_ATTEMPTS:()=>Kw,ENV_RETRY_MODE:()=>e$,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:()=>YA,NODE_RETRY_MODE_CONFIG_OPTIONS:()=>QA,StandardRetryStrategy:()=>i$,defaultDelayDecider:()=>r$,defaultRetryDecider:()=>o$,getOmitRetryHeadersPlugin:()=>JA,getRetryAfterHint:()=>UU,getRetryPlugin:()=>CA,omitRetryHeadersMiddleware:()=>fU,omitRetryHeadersMiddlewareOptions:()=>wU,resolveRetryConfig:()=>zA,retryMiddleware:()=>EU,retryMiddlewareOptions:()=>$U});RU.exports=TA(g$);var Mf=Tf(),n$=Uw(),K=Z$(),FA=H((f,w)=>{const E=f,U=(w==null?void 0:w.noRetryIncrement)??K.NO_RETRY_INCREMENT,$=(w==null?void 0:w.retryCost)??K.RETRY_COST,R=(w==null?void 0:w.timeoutRetryCost)??K.TIMEOUT_RETRY_COST;let G=f;const W=H((A)=>A.name==="TimeoutError"?R:$,"getCapacityAmount"),I=H((A)=>W(A)<=G,"hasRetryTokens");return Object.freeze({hasRetryTokens:I,retrieveRetryTokens:H((A)=>{if(!I(A))throw new Error("No retry token available");const T=W(A);return G-=T,T},"retrieveRetryTokens"),releaseRetryTokens:H((A)=>{G+=A??U,G=Math.min(G,E)},"releaseRetryTokens")})},"getDefaultRetryQuota"),r$=H((f,w)=>Math.floor(Math.min(K.MAXIMUM_RETRY_DELAY,Math.random()*2**w*f)),"defaultDelayDecider"),r=Rw(),o$=H((f)=>{if(!f)return!1;return r.isRetryableByTrait(f)||r.isClockSkewError(f)||r.isThrottlingError(f)||r.isTransientError(f)},"defaultRetryDecider"),l$=H((f)=>{if(f instanceof Error)return f;if(f instanceof Object)return Object.assign(new Error,f);if(typeof f==="string")return new Error(f);return new Error(`AWS SDK error wrapper for ${f}`)},"asSdkError"),m$=class f{constructor(w,E){this.maxAttemptsProvider=w,this.mode=K.RETRY_MODES.STANDARD,this.retryDecider=(E==null?void 0:E.retryDecider)??o$,this.delayDecider=(E==null?void 0:E.delayDecider)??r$,this.retryQuota=(E==null?void 0:E.retryQuota)??FA(K.INITIAL_RETRY_TOKENS)}shouldRetry(w,E,U){return E<U&&this.retryDecider(w)&&this.retryQuota.hasRetryTokens(w)}async getMaxAttempts(){let w;try{w=await this.maxAttemptsProvider()}catch(E){w=K.DEFAULT_MAX_ATTEMPTS}return w}async retry(w,E,U){let $,R=0,G=0;const W=await this.getMaxAttempts(),{request:I}=E;if(Mf.HttpRequest.isInstance(I))I.headers[K.INVOCATION_ID_HEADER]=n$.v4();while(!0)try{if(Mf.HttpRequest.isInstance(I))I.headers[K.REQUEST_HEADER]=`attempt=${R+1}; max=${W}`;if(U==null?void 0:U.beforeRequest)await U.beforeRequest();const{response:O,output:L}=await w(E);if(U==null?void 0:U.afterRequest)U.afterRequest(O);return this.retryQuota.releaseRetryTokens($),L.$metadata.attempts=R+1,L.$metadata.totalRetryDelay=G,{response:O,output:L}}catch(O){const L=l$(O);if(R++,this.shouldRetry(L,R,W)){$=this.retryQuota.retrieveRetryTokens(L);const A=this.delayDecider(r.isThrottlingError(L)?K.THROTTLING_RETRY_DELAY_BASE:K.DEFAULT_RETRY_DELAY_BASE,R),T=XA(L.$response),M=Math.max(T||0,A);G+=M,await new Promise((X)=>setTimeout(X,M));continue}if(!L.$metadata)L.$metadata={};throw L.$metadata.attempts=R,L.$metadata.totalRetryDelay=G,L}}};H(m$,"StandardRetryStrategy");var i$=m$,XA=H((f)=>{if(!Mf.HttpResponse.isInstance(f))return;const w=Object.keys(f.headers).find((R)=>R.toLowerCase()==="retry-after");if(!w)return;const E=f.headers[w],U=Number(E);if(!Number.isNaN(U))return U*1000;return new Date(E).getTime()-Date.now()},"getDelayFromRetryAfterHeader"),t$=class f extends i${constructor(w,E){const{rateLimiter:U,...$}=E??{};super(w,$);this.rateLimiter=U??new K.DefaultRateLimiter,this.mode=K.RETRY_MODES.ADAPTIVE}async retry(w,E){return super.retry(w,E,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(U)=>{this.rateLimiter.updateClientSendingRate(U)}})}};H(t$,"AdaptiveRetryStrategy");var ZA=t$,s$=v(),Kw="AWS_MAX_ATTEMPTS",qw="max_attempts",YA={environmentVariableSelector:(f)=>{const w=f[Kw];if(!w)return;const E=parseInt(w);if(Number.isNaN(E))throw new Error(`Environment variable ${Kw} mast be a number, got "${w}"`);return E},configFileSelector:(f)=>{const w=f[qw];if(!w)return;const E=parseInt(w);if(Number.isNaN(E))throw new Error(`Shared config file entry ${qw} mast be a number, got "${w}"`);return E},default:K.DEFAULT_MAX_ATTEMPTS},zA=H((f)=>{const{retryStrategy:w}=f,E=s$.normalizeProvider(f.maxAttempts??K.DEFAULT_MAX_ATTEMPTS);return{...f,maxAttempts:E,retryStrategy:async()=>{if(w)return w;if(await s$.normalizeProvider(f.retryMode)()===K.RETRY_MODES.ADAPTIVE)return new K.AdaptiveRetryStrategy(E);return new K.StandardRetryStrategy(E)}}},"resolveRetryConfig"),e$="AWS_RETRY_MODE",a$="retry_mode",QA={environmentVariableSelector:(f)=>f[e$],configFileSelector:(f)=>f[a$],default:K.DEFAULT_RETRY_MODE},fU=H(()=>(f)=>async(w)=>{const{request:E}=w;if(Mf.HttpRequest.isInstance(E))delete E.headers[K.INVOCATION_ID_HEADER],delete E.headers[K.REQUEST_HEADER];return f(w)},"omitRetryHeadersMiddleware"),wU={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},JA=H((f)=>({applyToStack:(w)=>{w.addRelativeTo(fU(),wU)}}),"getOmitRetryHeadersPlugin"),BA=Af(),KA=p$(),EU=H((f)=>(w,E)=>async(U)=>{var $;let R=await f.retryStrategy();const G=await f.maxAttempts();if(qA(R)){R=R;let W=await R.acquireInitialRetryToken(E.partition_id),I=new Error,O=0,L=0;const{request:A}=U,T=Mf.HttpRequest.isInstance(A);if(T)A.headers[K.INVOCATION_ID_HEADER]=n$.v4();while(!0)try{if(T)A.headers[K.REQUEST_HEADER]=`attempt=${O+1}; max=${G}`;const{response:M,output:X}=await w(U);return R.recordSuccess(W),X.$metadata.attempts=O+1,X.$metadata.totalRetryDelay=L,{response:M,output:X}}catch(M){const X=HA(M);if(I=l$(M),T&&KA.isStreamingPayload(A))throw($=E.logger instanceof BA.NoOpLogger?console:E.logger)==null||$.warn("An error was encountered in a non-retryable streaming request."),I;try{W=await R.refreshRetryTokenForRetry(W,X)}catch(Q){if(!I.$metadata)I.$metadata={};throw I.$metadata.attempts=O+1,I.$metadata.totalRetryDelay=L,I}O=W.getRetryCount();const Y=W.getRetryDelay();L+=Y,await new Promise((Q)=>setTimeout(Q,Y))}}else{if(R=R,R==null?void 0:R.mode)E.userAgent=[...E.userAgent||[],["cfg/retry-mode",R.mode]];return R.retry(w,U)}},"retryMiddleware"),qA=H((f)=>typeof f.acquireInitialRetryToken!=="undefined"&&typeof f.refreshRetryTokenForRetry!=="undefined"&&typeof f.recordSuccess!=="undefined","isRetryStrategyV2"),HA=H((f)=>{const w={error:f,errorType:VA(f)},E=UU(f.$response);if(E)w.retryAfterHint=E;return w},"getRetryErrorInfo"),VA=H((f)=>{if(r.isThrottlingError(f))return"THROTTLING";if(r.isTransientError(f))return"TRANSIENT";if(r.isServerError(f))return"SERVER_ERROR";return"CLIENT_ERROR"},"getRetryErrorType"),$U={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},CA=H((f)=>({applyToStack:(w)=>{w.add(EU(f),$U)}}),"getRetryPlugin"),UU=H((f)=>{if(!Mf.HttpResponse.isInstance(f))return;const w=Object.keys(f.headers).find((R)=>R.toLowerCase()==="retry-after");if(!w)return;const E=f.headers[w],U=Number(E);if(!Number.isNaN(U))return new Date(U*1000);return new Date(E)},"getRetryAfterHint")});var Vw=Z((SF,VU)=>{var OU=function(f){const w=new Map;for(let E of f)w.set(E.schemeId,E);return w},BU=function(f,w){return new qU(f,w)},HU=function(f,w,E,U,$){return B(async function*R(G,W,...I){let O=G.startingToken||void 0,L=!0,A;while(L){if(W[E]=O,$)W[$]=W[$]??G.pageSize;if(G.client instanceof f)A=await iA(w,G.client,W,...I);else throw new Error(`Invalid client, expected instance of ${f.name}`);yield A;const T=O;O=tA(A,U),L=!!(O&&(!G.stopOnSameToken||O!==T))}return},"paginateOperation")},W0=Object.defineProperty,NA=Object.getOwnPropertyDescriptor,PA=Object.getOwnPropertyNames,SA=Object.prototype.hasOwnProperty,B=(f,w)=>W0(f,"name",{value:w,configurable:!0}),cA=(f,w)=>{for(var E in w)W0(f,E,{get:w[E],enumerable:!0})},bA=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of PA(w))if(!SA.call(f,$)&&$!==E)W0(f,$,{get:()=>w[$],enumerable:!(U=NA(w,$))||U.enumerable})}return f},jA=(f)=>bA(W0({},"__esModule",{value:!0}),f),WU={};cA(WU,{DefaultIdentityProviderConfig:()=>dA,EXPIRATION_MS:()=>QU,HttpApiKeyAuthSigner:()=>pA,HttpBearerAuthSigner:()=>sA,NoAuthSigner:()=>gA,RequestBuilder:()=>qU,createIsIdentityExpiredFunction:()=>zU,createPaginator:()=>HU,doesIdentityRequireRefresh:()=>JU,getHttpAuthSchemeEndpointRuleSetPlugin:()=>uA,getHttpAuthSchemePlugin:()=>_A,getHttpSigningPlugin:()=>xA,getSmithyContext:()=>oA,httpAuthSchemeEndpointRuleSetMiddlewareOptions:()=>LU,httpAuthSchemeMiddleware:()=>Hw,httpAuthSchemeMiddlewareOptions:()=>AU,httpSigningMiddleware:()=>MU,httpSigningMiddlewareOptions:()=>TU,isIdentityExpired:()=>nA,memoizeIdentityProvider:()=>rA,normalizeProvider:()=>lA,requestBuilder:()=>BU});VU.exports=jA(WU);var IU=v();B(OU,"convertHttpAuthSchemesToMap");var Hw=B((f,w)=>(E,U)=>async($)=>{var R;const G=f.httpAuthSchemeProvider(await w.httpAuthSchemeParametersProvider(f,U,$.input)),W=OU(f.httpAuthSchemes),I=IU.getSmithyContext(U),O=[];for(let L of G){const A=W.get(L.schemeId);if(!A){O.push(`HttpAuthScheme \`${L.schemeId}\` was not enabled for this service.`);continue}const T=A.identityProvider(await w.identityProviderConfigProvider(f));if(!T){O.push(`HttpAuthScheme \`${L.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:M={},signingProperties:X={}}=((R=L.propertiesExtractor)==null?void 0:R.call(L,f,U))||{};L.identityProperties=Object.assign(L.identityProperties||{},M),L.signingProperties=Object.assign(L.signingProperties||{},X),I.selectedHttpAuthScheme={httpAuthOption:L,identity:await T(L.identityProperties),signer:A.signer};break}if(!I.selectedHttpAuthScheme)throw new Error(O.join("\n"));return E($)},"httpAuthSchemeMiddleware"),hA=RE(),LU={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:hA.endpointMiddlewareOptions.name},uA=B((f,{httpAuthSchemeParametersProvider:w,identityProviderConfigProvider:E})=>({applyToStack:(U)=>{U.addRelativeTo(Hw(f,{httpAuthSchemeParametersProvider:w,identityProviderConfigProvider:E}),LU)}}),"getHttpAuthSchemeEndpointRuleSetPlugin"),kA=i0(),AU={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:kA.serializerMiddlewareOption.name},_A=B((f,{httpAuthSchemeParametersProvider:w,identityProviderConfigProvider:E})=>({applyToStack:(U)=>{U.addRelativeTo(Hw(f,{httpAuthSchemeParametersProvider:w,identityProviderConfigProvider:E}),AU)}}),"getHttpAuthSchemePlugin"),I0=Tf(),DA=B((f)=>(w)=>{throw w},"defaultErrorHandler"),yA=B((f,w)=>{},"defaultSuccessHandler"),MU=B((f)=>(w,E)=>async(U)=>{if(!I0.HttpRequest.isInstance(U.request))return w(U);const R=IU.getSmithyContext(E).selectedHttpAuthScheme;if(!R)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:G={}},identity:W,signer:I}=R,O=await w({...U,request:await I.sign(U.request,W,G)}).catch((I.errorHandler||DA)(G));return(I.successHandler||yA)(O.response,G),O},"httpSigningMiddleware"),vA=GU(),TU={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:vA.retryMiddlewareOptions.name},xA=B((f)=>({applyToStack:(w)=>{w.addRelativeTo(MU(f),TU)}}),"getHttpSigningPlugin"),FU=class f{constructor(w){this.authSchemes=new Map;for(let[E,U]of Object.entries(w))if(U!==void 0)this.authSchemes.set(E,U)}getIdentityProvider(w){return this.authSchemes.get(w)}};B(FU,"DefaultIdentityProviderConfig");var dA=FU,G0=Bf(),XU=class f{async sign(w,E,U){if(!U)throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!U.name)throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!U.in)throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!E.apiKey)throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");const $=I0.HttpRequest.clone(w);if(U.in===G0.HttpApiKeyAuthLocation.QUERY)$.query[U.name]=E.apiKey;else if(U.in===G0.HttpApiKeyAuthLocation.HEADER)$.headers[U.name]=U.scheme?`${U.scheme} ${E.apiKey}`:E.apiKey;else throw new Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+U.in+"`");return $}};B(XU,"HttpApiKeyAuthSigner");var pA=XU,ZU=class f{async sign(w,E,U){const $=I0.HttpRequest.clone(w);if(!E.token)throw new Error("request could not be signed with `token` since the `token` is not defined");return $.headers.Authorization=`Bearer ${E.token}`,$}};B(ZU,"HttpBearerAuthSigner");var sA=ZU,YU=class f{async sign(w,E,U){return w}};B(YU,"NoAuthSigner");var gA=YU,zU=B((f)=>(w)=>JU(w)&&w.expiration.getTime()-Date.now()<f,"createIsIdentityExpiredFunction"),QU=300000,nA=zU(QU),JU=B((f)=>f.expiration!==void 0,"doesIdentityRequireRefresh"),rA=B((f,w,E)=>{if(f===void 0)return;const U=typeof f!=="function"?async()=>Promise.resolve(f):f;let $,R,G,W=!1;const I=B(async(O)=>{if(!R)R=U(O);try{$=await R,G=!0,W=!1}finally{R=void 0}return $},"coalesceProvider");if(w===void 0)return async(O)=>{if(!G||(O==null?void 0:O.forceRefresh))$=await I(O);return $};return async(O)=>{if(!G||(O==null?void 0:O.forceRefresh))$=await I(O);if(W)return $;if(!E($))return W=!0,$;if(w($))return await I(O),$;return $}},"memoizeIdentityProvider"),oA=B((f)=>f[G0.SMITHY_CONTEXT_KEY]||(f[G0.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),lA=B((f)=>{if(typeof f==="function")return f;const w=Promise.resolve(f);return()=>w},"normalizeProvider"),mA=Af();B(BU,"requestBuilder");var KU=class f{constructor(w,E){this.input=w,this.context=E,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){const{hostname:w,protocol:E="https",port:U,path:$}=await this.context.endpoint();this.path=$;for(let R of this.resolvePathStack)R(this.path);return new I0.HttpRequest({protocol:E,hostname:this.hostname||w,port:U,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(w){return this.hostname=w,this}bp(w){return this.resolvePathStack.push((E)=>{this.path=`${(E==null?void 0:E.endsWith("/"))?E.slice(0,-1):E||""}`+w}),this}p(w,E,U,$){return this.resolvePathStack.push((R)=>{this.path=mA.resolvedPath(R,this.input,w,E,U,$)}),this}h(w){return this.headers=w,this}q(w){return this.query=w,this}b(w){return this.body=w,this}m(w){return this.method=w,this}};B(KU,"RequestBuilder");var qU=KU,iA=B(async(f,w,E,...U)=>{return await w.send(new f(E),...U)},"makePagedClientRequest");B(HU,"createPaginator");var tA=B((f,w)=>{let E=f;const U=w.split(".");for(let $ of U){if(!E||typeof E!=="object")return;E=E[$]}return E},"get")});var rR=Z((rY,N0)=>{var QR,JR,BR,KR,qR,HR,VR,CR,NR,PR,SR,cR,bR,V0,rw,jR,hR,uR,zf,kR,_R,DR,yR,vR,xR,dR,pR,sR,C0,gR,nR;(function(f){var w=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(U){f(E(w,E(U)))});else if(typeof N0==="object"&&typeof rY==="object")f(E(w,E(rY)));else f(E(w));function E(U,$){if(U!==w)if(typeof Object.create==="function")Object.defineProperty(U,"__esModule",{value:!0});else U.__esModule=!0;return function(R,G){return U[R]=$?$(R,G):G}}})(function(f){var w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function($,R){$.__proto__=R}||function($,R){for(var G in R)if(Object.prototype.hasOwnProperty.call(R,G))$[G]=R[G]};QR=function($,R){if(typeof R!=="function"&&R!==null)throw new TypeError("Class extends value "+String(R)+" is not a constructor or null");w($,R);function G(){this.constructor=$}$.prototype=R===null?Object.create(R):(G.prototype=R.prototype,new G)},JR=Object.assign||function($){for(var R,G=1,W=arguments.length;G<W;G++){R=arguments[G];for(var I in R)if(Object.prototype.hasOwnProperty.call(R,I))$[I]=R[I]}return $},BR=function($,R){var G={};for(var W in $)if(Object.prototype.hasOwnProperty.call($,W)&&R.indexOf(W)<0)G[W]=$[W];if($!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var I=0,W=Object.getOwnPropertySymbols($);I<W.length;I++)if(R.indexOf(W[I])<0&&Object.prototype.propertyIsEnumerable.call($,W[I]))G[W[I]]=$[W[I]]}return G},KR=function($,R,G,W){var I=arguments.length,O=I<3?R:W===null?W=Object.getOwnPropertyDescriptor(R,G):W,L;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")O=Reflect.decorate($,R,G,W);else for(var A=$.length-1;A>=0;A--)if(L=$[A])O=(I<3?L(O):I>3?L(R,G,O):L(R,G))||O;return I>3&&O&&Object.defineProperty(R,G,O),O},qR=function($,R){return function(G,W){R(G,W,$)}},HR=function($,R,G,W,I,O){function L(t){if(t!==void 0&&typeof t!=="function")throw new TypeError("Function expected");return t}var A=W.kind,T=A==="getter"?"get":A==="setter"?"set":"value",M=!R&&$?W.static?$:$.prototype:null,X=R||(M?Object.getOwnPropertyDescriptor(M,W.name):{}),Y,Q=!1;for(var z=G.length-1;z>=0;z--){var N={};for(var S in W)N[S]=S==="access"?{}:W[S];for(var S in W.access)N.access[S]=W.access[S];N.addInitializer=function(t){if(Q)throw new TypeError("Cannot add initializers after decoration has completed");O.push(L(t||null))};var p=G[z](A==="accessor"?{get:X.get,set:X.set}:X[T],N);if(A==="accessor"){if(p===void 0)continue;if(p===null||typeof p!=="object")throw new TypeError("Object expected");if(Y=L(p.get))X.get=Y;if(Y=L(p.set))X.set=Y;if(Y=L(p.init))I.unshift(Y)}else if(Y=L(p))if(A==="field")I.unshift(Y);else X[T]=Y}if(M)Object.defineProperty(M,W.name,X);Q=!0},VR=function($,R,G){var W=arguments.length>2;for(var I=0;I<R.length;I++)G=W?R[I].call($,G):R[I].call($);return W?G:void 0},CR=function($){return typeof $==="symbol"?$:"".concat($)},NR=function($,R,G){if(typeof R==="symbol")R=R.description?"[".concat(R.description,"]"):"";return Object.defineProperty($,"name",{configurable:!0,value:G?"".concat(G," ",R):R})},PR=function($,R){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata($,R)},SR=function($,R,G,W){function I(O){return O instanceof G?O:new G(function(L){L(O)})}return new(G||(G=Promise))(function(O,L){function A(X){try{M(W.next(X))}catch(Y){L(Y)}}function T(X){try{M(W.throw(X))}catch(Y){L(Y)}}function M(X){X.done?O(X.value):I(X.value).then(A,T)}M((W=W.apply($,R||[])).next())})},cR=function($,R){var G={label:0,sent:function(){if(O[0]&1)throw O[1];return O[1]},trys:[],ops:[]},W,I,O,L;return L={next:A(0),throw:A(1),return:A(2)},typeof Symbol==="function"&&(L[Symbol.iterator]=function(){return this}),L;function A(M){return function(X){return T([M,X])}}function T(M){if(W)throw new TypeError("Generator is already executing.");while(L&&(L=0,M[0]&&(G=0)),G)try{if(W=1,I&&(O=M[0]&2?I.return:M[0]?I.throw||((O=I.return)&&O.call(I),0):I.next)&&!(O=O.call(I,M[1])).done)return O;if(I=0,O)M=[M[0]&2,O.value];switch(M[0]){case 0:case 1:O=M;break;case 4:return G.label++,{value:M[1],done:!1};case 5:G.label++,I=M[1],M=[0];continue;case 7:M=G.ops.pop(),G.trys.pop();continue;default:if((O=G.trys,!(O=O.length>0&&O[O.length-1]))&&(M[0]===6||M[0]===2)){G=0;continue}if(M[0]===3&&(!O||M[1]>O[0]&&M[1]<O[3])){G.label=M[1];break}if(M[0]===6&&G.label<O[1]){G.label=O[1],O=M;break}if(O&&G.label<O[2]){G.label=O[2],G.ops.push(M);break}if(O[2])G.ops.pop();G.trys.pop();continue}M=R.call($,G)}catch(X){M=[6,X],I=0}finally{W=O=0}if(M[0]&5)throw M[1];return{value:M[0]?M[1]:void 0,done:!0}}},bR=function($,R){for(var G in $)if(G!=="default"&&!Object.prototype.hasOwnProperty.call(R,G))C0(R,$,G)},C0=Object.create?function($,R,G,W){if(W===void 0)W=G;var I=Object.getOwnPropertyDescriptor(R,G);if(!I||("get"in I?!R.__esModule:I.writable||I.configurable))I={enumerable:!0,get:function(){return R[G]}};Object.defineProperty($,W,I)}:function($,R,G,W){if(W===void 0)W=G;$[W]=R[G]},V0=function($){var R=typeof Symbol==="function"&&Symbol.iterator,G=R&&$[R],W=0;if(G)return G.call($);if($&&typeof $.length==="number")return{next:function(){if($&&W>=$.length)$=void 0;return{value:$&&$[W++],done:!$}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")},rw=function($,R){var G=typeof Symbol==="function"&&$[Symbol.iterator];if(!G)return $;var W=G.call($),I,O=[],L;try{while((R===void 0||R-- >0)&&!(I=W.next()).done)O.push(I.value)}catch(A){L={error:A}}finally{try{if(I&&!I.done&&(G=W.return))G.call(W)}finally{if(L)throw L.error}}return O},jR=function(){for(var $=[],R=0;R<arguments.length;R++)$=$.concat(rw(arguments[R]));return $},hR=function(){for(var $=0,R=0,G=arguments.length;R<G;R++)$+=arguments[R].length;for(var W=Array($),I=0,R=0;R<G;R++)for(var O=arguments[R],L=0,A=O.length;L<A;L++,I++)W[I]=O[L];return W},uR=function($,R,G){if(G||arguments.length===2){for(var W=0,I=R.length,O;W<I;W++)if(O||!(W in R)){if(!O)O=Array.prototype.slice.call(R,0,W);O[W]=R[W]}}return $.concat(O||Array.prototype.slice.call(R))},zf=function($){return this instanceof zf?(this.v=$,this):new zf($)},kR=function($,R,G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var W=G.apply($,R||[]),I,O=[];return I={},A("next"),A("throw"),A("return",L),I[Symbol.asyncIterator]=function(){return this},I;function L(z){return function(N){return Promise.resolve(N).then(z,Y)}}function A(z,N){if(W[z]){if(I[z]=function(S){return new Promise(function(p,t){O.push([z,S,p,t])>1||T(z,S)})},N)I[z]=N(I[z])}}function T(z,N){try{M(W[z](N))}catch(S){Q(O[0][3],S)}}function M(z){z.value instanceof zf?Promise.resolve(z.value.v).then(X,Y):Q(O[0][2],z)}function X(z){T("next",z)}function Y(z){T("throw",z)}function Q(z,N){if(z(N),O.shift(),O.length)T(O[0][0],O[0][1])}},_R=function($){var R,G;return R={},W("next"),W("throw",function(I){throw I}),W("return"),R[Symbol.iterator]=function(){return this},R;function W(I,O){R[I]=$[I]?function(L){return(G=!G)?{value:zf($[I](L)),done:!1}:O?O(L):L}:O}},DR=function($){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var R=$[Symbol.asyncIterator],G;return R?R.call($):($=typeof V0==="function"?V0($):$[Symbol.iterator](),G={},W("next"),W("throw"),W("return"),G[Symbol.asyncIterator]=function(){return this},G);function W(O){G[O]=$[O]&&function(L){return new Promise(function(A,T){L=$[O](L),I(A,T,L.done,L.value)})}}function I(O,L,A,T){Promise.resolve(T).then(function(M){O({value:M,done:A})},L)}},yR=function($,R){if(Object.defineProperty)Object.defineProperty($,"raw",{value:R});else $.raw=R;return $};var E=Object.create?function($,R){Object.defineProperty($,"default",{enumerable:!0,value:R})}:function($,R){$.default=R};vR=function($){if($&&$.__esModule)return $;var R={};if($!=null){for(var G in $)if(G!=="default"&&Object.prototype.hasOwnProperty.call($,G))C0(R,$,G)}return E(R,$),R},xR=function($){return $&&$.__esModule?$:{default:$}},dR=function($,R,G,W){if(G==="a"&&!W)throw new TypeError("Private accessor was defined without a getter");if(typeof R==="function"?$!==R||!W:!R.has($))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?W:G==="a"?W.call($):W?W.value:R.get($)},pR=function($,R,G,W,I){if(W==="m")throw new TypeError("Private method is not writable");if(W==="a"&&!I)throw new TypeError("Private accessor was defined without a setter");if(typeof R==="function"?$!==R||!I:!R.has($))throw new TypeError("Cannot write private member to an object whose class did not declare it");return W==="a"?I.call($,G):I?I.value=G:R.set($,G),G},sR=function($,R){if(R===null||typeof R!=="object"&&typeof R!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof $==="function"?R===$:$.has(R)},gR=function($,R,G){if(R!==null&&R!==void 0){if(typeof R!=="object"&&typeof R!=="function")throw new TypeError("Object expected.");var W,I;if(G){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");W=R[Symbol.asyncDispose]}if(W===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");if(W=R[Symbol.dispose],G)I=W}if(typeof W!=="function")throw new TypeError("Object not disposable.");if(I)W=function(){try{I.call(this)}catch(O){return Promise.reject(O)}};$.stack.push({value:R,dispose:W,async:G})}else if(G)$.stack.push({async:!0});return R};var U=typeof SuppressedError==="function"?SuppressedError:function($,R,G){var W=new Error(G);return W.name="SuppressedError",W.error=$,W.suppressed=R,W};nR=function($){function R(W){$.error=$.hasError?new U(W,$.error,"An error was suppressed during disposal."):W,$.hasError=!0}function G(){while($.stack.length){var W=$.stack.pop();try{var I=W.dispose&&W.dispose.call(W.value);if(W.async)return Promise.resolve(I).then(G,function(O){return R(O),G()})}catch(O){R(O)}}if($.hasError)throw $.error}return G()},f("__extends",QR),f("__assign",JR),f("__rest",BR),f("__decorate",KR),f("__param",qR),f("__esDecorate",HR),f("__runInitializers",VR),f("__propKey",CR),f("__setFunctionName",NR),f("__metadata",PR),f("__awaiter",SR),f("__generator",cR),f("__exportStar",bR),f("__createBinding",C0),f("__values",V0),f("__read",rw),f("__spread",jR),f("__spreadArrays",hR),f("__spreadArray",uR),f("__await",zf),f("__asyncGenerator",kR),f("__asyncDelegator",_R),f("__asyncValues",DR),f("__makeTemplateObject",yR),f("__importStar",vR),f("__importDefault",xR),f("__classPrivateFieldGet",dR),f("__classPrivateFieldSet",pR),f("__classPrivateFieldIn",sR),f("__addDisposableResource",gR),f("__disposeResources",nR)})});var iR=Z((oY,mR)=>{var{defineProperty:P0,getOwnPropertyDescriptor:hM,getOwnPropertyNames:uM}=Object,kM=Object.prototype.hasOwnProperty,_M=(f,w)=>P0(f,"name",{value:w,configurable:!0}),DM=(f,w)=>{for(var E in w)P0(f,E,{get:w[E],enumerable:!0})},yM=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of uM(w))if(!kM.call(f,$)&&$!==E)P0(f,$,{get:()=>w[$],enumerable:!(U=hM(w,$))||U.enumerable})}return f},vM=(f)=>yM(P0({},"__esModule",{value:!0}),f),lR={};DM(lR,{emitWarningIfUnsupportedVersion:()=>xM});mR.exports=vM(lR);var oR=!1,xM=_M((f)=>{if(f&&!oR&&parseInt(f.substring(1,f.indexOf(".")))<18)oR=!0,process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
|
2
|
-
no longer support Node.js 16.x on January 6, 2025.
|
|
3
|
-
|
|
4
|
-
To continue receiving updates to AWS services, bug fixes, and security
|
|
5
|
-
updates please upgrade to a supported Node.js LTS version.
|
|
6
|
-
|
|
7
|
-
More information can be found at: https://a.co/74kJMmI`)},"emitWarningIfUnsupportedVersion")});var ZG=Z((lY,XG)=>{var tw=function(f){for(let w=0;w<8;w++)f[w]^=255;for(let w=7;w>-1;w--)if(f[w]++,f[w]!==0)break},u0=Object.defineProperty,gM=Object.getOwnPropertyDescriptor,nM=Object.getOwnPropertyNames,rM=Object.prototype.hasOwnProperty,V=(f,w)=>u0(f,"name",{value:w,configurable:!0}),oM=(f,w)=>{for(var E in w)u0(f,E,{get:w[E],enumerable:!0})},lM=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of nM(w))if(!rM.call(f,$)&&$!==E)u0(f,$,{get:()=>w[$],enumerable:!(U=gM(w,$))||U.enumerable})}return f},mM=(f)=>lM(u0({},"__esModule",{value:!0}),f),wG={};oM(wG,{SignatureV4:()=>B2,clearCredentialCache:()=>M2,createScope:()=>b0,getCanonicalHeaders:()=>iw,getCanonicalQuery:()=>OG,getPayloadHash:()=>j0,getSigningKey:()=>IG,moveHeadersToQuery:()=>TG,prepareRequest:()=>ew});XG.exports=mM(wG);var tR=v(),ow=h0(),iM="X-Amz-Algorithm",tM="X-Amz-Credential",EG="X-Amz-Date",eM="X-Amz-SignedHeaders",aM="X-Amz-Expires",$G="X-Amz-Signature",UG="X-Amz-Security-Token",RG="authorization",GG=EG.toLowerCase(),f2="date",w2=[RG,GG,f2],E2=$G.toLowerCase(),mw="x-amz-content-sha256",$2=UG.toLowerCase(),U2={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},R2=/^proxy-/,G2=/^sec-/,lw="AWS4-HMAC-SHA256",W2="AWS4-HMAC-SHA256-PAYLOAD",I2="UNSIGNED-PAYLOAD",O2=50,WG="aws4_request",L2=604800,m=sM(),A2=h0(),Qf={},c0=[],b0=V((f,w,E)=>`${f}/${w}/${E}/${WG}`,"createScope"),IG=V(async(f,w,E,U,$)=>{const R=await eR(f,w.secretAccessKey,w.accessKeyId),G=`${E}:${U}:${$}:${m.toHex(R)}:${w.sessionToken}`;if(G in Qf)return Qf[G];c0.push(G);while(c0.length>O2)delete Qf[c0.shift()];let W=`AWS4${w.secretAccessKey}`;for(let I of[E,U,$,WG])W=await eR(f,W,I);return Qf[G]=W},"getSigningKey"),M2=V(()=>{c0.length=0,Object.keys(Qf).forEach((f)=>{delete Qf[f]})},"clearCredentialCache"),eR=V((f,w,E)=>{const U=new f(w);return U.update(A2.toUint8Array(E)),U.digest()},"hmac"),iw=V(({headers:f},w,E)=>{const U={};for(let $ of Object.keys(f).sort()){if(f[$]==null)continue;const R=$.toLowerCase();if(R in U2||(w==null?void 0:w.has(R))||R2.test(R)||G2.test(R)){if(!E||E&&!E.has(R))continue}U[R]=f[$].trim().replace(/\s+/g," ")}return U},"getCanonicalHeaders"),Df=pM(),OG=V(({query:f={}})=>{const w=[],E={};for(let U of Object.keys(f).sort()){if(U.toLowerCase()===E2)continue;w.push(U);const $=f[U];if(typeof $==="string")E[U]=`${Df.escapeUri(U)}=${Df.escapeUri($)}`;else if(Array.isArray($))E[U]=$.slice(0).reduce((R,G)=>R.concat([`${Df.escapeUri(U)}=${Df.escapeUri(G)}`]),[]).sort().join("&")}return w.map((U)=>E[U]).filter((U)=>U).join("&")},"getCanonicalQuery"),T2=dM(),F2=h0(),j0=V(async({headers:f,body:w},E)=>{for(let U of Object.keys(f))if(U.toLowerCase()===mw)return f[U];if(w==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof w==="string"||ArrayBuffer.isView(w)||T2.isArrayBuffer(w)){const U=new E;return U.update(F2.toUint8Array(w)),m.toHex(await U.digest())}return I2},"getPayloadHash"),aR=h0(),LG=class f{format(w){const E=[];for(let R of Object.keys(w)){const G=aR.fromUtf8(R);E.push(Uint8Array.from([G.byteLength]),G,this.formatHeaderValue(w[R]))}const U=new Uint8Array(E.reduce((R,G)=>R+G.byteLength,0));let $=0;for(let R of E)U.set(R,$),$+=R.byteLength;return U}formatHeaderValue(w){switch(w.type){case"boolean":return Uint8Array.from([w.value?0:1]);case"byte":return Uint8Array.from([2,w.value]);case"short":const E=new DataView(new ArrayBuffer(3));return E.setUint8(0,3),E.setInt16(1,w.value,!1),new Uint8Array(E.buffer);case"integer":const U=new DataView(new ArrayBuffer(5));return U.setUint8(0,4),U.setInt32(1,w.value,!1),new Uint8Array(U.buffer);case"long":const $=new Uint8Array(9);return $[0]=5,$.set(w.value.bytes,1),$;case"binary":const R=new DataView(new ArrayBuffer(3+w.value.byteLength));R.setUint8(0,6),R.setUint16(1,w.value.byteLength,!1);const G=new Uint8Array(R.buffer);return G.set(w.value,3),G;case"string":const W=aR.fromUtf8(w.value),I=new DataView(new ArrayBuffer(3+W.byteLength));I.setUint8(0,7),I.setUint16(1,W.byteLength,!1);const O=new Uint8Array(I.buffer);return O.set(W,3),O;case"timestamp":const L=new Uint8Array(9);return L[0]=8,L.set(Y2.fromNumber(w.value.valueOf()).bytes,1),L;case"uuid":if(!Z2.test(w.value))throw new Error(`Invalid UUID received: ${w.value}`);const A=new Uint8Array(17);return A[0]=9,A.set(m.fromHex(w.value.replace(/\-/g,"")),1),A}}};V(LG,"HeaderFormatter");var X2=LG,Z2=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,AG=class f{constructor(w){if(this.bytes=w,w.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(w){if(w>9223372036854776000||w<-9223372036854776000)throw new Error(`${w} is too large (or, if negative, too small) to represent as an Int64`);const E=new Uint8Array(8);for(let U=7,$=Math.abs(Math.round(w));U>-1&&$>0;U--,$/=256)E[U]=$;if(w<0)tw(E);return new f(E)}valueOf(){const w=this.bytes.slice(0),E=w[0]&128;if(E)tw(w);return parseInt(m.toHex(w),16)*(E?-1:1)}toString(){return String(this.valueOf())}};V(AG,"Int64");var Y2=AG;V(tw,"negate");var z2=V((f,w)=>{f=f.toLowerCase();for(let E of Object.keys(w))if(f===E.toLowerCase())return!0;return!1},"hasHeader"),MG=Tf(),TG=V((f,w={})=>{var E;const{headers:U,query:$={}}=MG.HttpRequest.clone(f);for(let R of Object.keys(U)){const G=R.toLowerCase();if(G.slice(0,6)==="x-amz-"&&!((E=w.unhoistableHeaders)==null?void 0:E.has(G)))$[R]=U[R],delete U[R]}return{...f,headers:U,query:$}},"moveHeadersToQuery"),ew=V((f)=>{f=MG.HttpRequest.clone(f);for(let w of Object.keys(f.headers))if(w2.indexOf(w.toLowerCase())>-1)delete f.headers[w];return f},"prepareRequest"),Q2=V((f)=>J2(f).toISOString().replace(/\.\d{3}Z$/,"Z"),"iso8601"),J2=V((f)=>{if(typeof f==="number")return new Date(f*1000);if(typeof f==="string"){if(Number(f))return new Date(Number(f)*1000);return new Date(f)}return f},"toDate"),FG=class f{constructor({applyChecksum:w,credentials:E,region:U,service:$,sha256:R,uriEscapePath:G=!0}){this.headerFormatter=new X2,this.service=$,this.sha256=R,this.uriEscapePath=G,this.applyChecksum=typeof w==="boolean"?w:!0,this.regionProvider=tR.normalizeProvider(U),this.credentialProvider=tR.normalizeProvider(E)}async presign(w,E={}){const{signingDate:U=new Date,expiresIn:$=3600,unsignableHeaders:R,unhoistableHeaders:G,signableHeaders:W,signingRegion:I,signingService:O}=E,L=await this.credentialProvider();this.validateResolvedCredentials(L);const A=I??await this.regionProvider(),{longDate:T,shortDate:M}=S0(U);if($>L2)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const X=b0(M,A,O??this.service),Y=TG(ew(w),{unhoistableHeaders:G});if(L.sessionToken)Y.query[UG]=L.sessionToken;Y.query[iM]=lw,Y.query[tM]=`${L.accessKeyId}/${X}`,Y.query[EG]=T,Y.query[aM]=$.toString(10);const Q=iw(Y,R,W);return Y.query[eM]=fG(Q),Y.query[$G]=await this.getSignature(T,X,this.getSigningKey(L,A,M,O),this.createCanonicalRequest(Y,Q,await j0(w,this.sha256))),Y}async sign(w,E){if(typeof w==="string")return this.signString(w,E);else if(w.headers&&w.payload)return this.signEvent(w,E);else if(w.message)return this.signMessage(w,E);else return this.signRequest(w,E)}async signEvent({headers:w,payload:E},{signingDate:U=new Date,priorSignature:$,signingRegion:R,signingService:G}){const W=R??await this.regionProvider(),{shortDate:I,longDate:O}=S0(U),L=b0(I,W,G??this.service),A=await j0({headers:{},body:E},this.sha256),T=new this.sha256;T.update(w);const M=m.toHex(await T.digest()),X=[W2,O,L,$,M,A].join("\n");return this.signString(X,{signingDate:U,signingRegion:W,signingService:G})}async signMessage(w,{signingDate:E=new Date,signingRegion:U,signingService:$}){return this.signEvent({headers:this.headerFormatter.format(w.message.headers),payload:w.message.body},{signingDate:E,signingRegion:U,signingService:$,priorSignature:w.priorSignature}).then((G)=>{return{message:w.message,signature:G}})}async signString(w,{signingDate:E=new Date,signingRegion:U,signingService:$}={}){const R=await this.credentialProvider();this.validateResolvedCredentials(R);const G=U??await this.regionProvider(),{shortDate:W}=S0(E),I=new this.sha256(await this.getSigningKey(R,G,W,$));return I.update(ow.toUint8Array(w)),m.toHex(await I.digest())}async signRequest(w,{signingDate:E=new Date,signableHeaders:U,unsignableHeaders:$,signingRegion:R,signingService:G}={}){const W=await this.credentialProvider();this.validateResolvedCredentials(W);const I=R??await this.regionProvider(),O=ew(w),{longDate:L,shortDate:A}=S0(E),T=b0(A,I,G??this.service);if(O.headers[GG]=L,W.sessionToken)O.headers[$2]=W.sessionToken;const M=await j0(O,this.sha256);if(!z2(mw,O.headers)&&this.applyChecksum)O.headers[mw]=M;const X=iw(O,$,U),Y=await this.getSignature(L,T,this.getSigningKey(W,I,A,G),this.createCanonicalRequest(O,X,M));return O.headers[RG]=`${lw} Credential=${W.accessKeyId}/${T}, SignedHeaders=${fG(X)}, Signature=${Y}`,O}createCanonicalRequest(w,E,U){const $=Object.keys(E).sort();return`${w.method}
|
|
8
|
-
${this.getCanonicalPath(w)}
|
|
9
|
-
${OG(w)}
|
|
10
|
-
${$.map((R)=>`${R}:${E[R]}`).join("\n")}
|
|
11
|
-
|
|
12
|
-
${$.join(";")}
|
|
13
|
-
${U}`}async createStringToSign(w,E,U){const $=new this.sha256;$.update(ow.toUint8Array(U));const R=await $.digest();return`${lw}
|
|
14
|
-
${w}
|
|
15
|
-
${E}
|
|
16
|
-
${m.toHex(R)}`}getCanonicalPath({path:w}){if(this.uriEscapePath){const E=[];for(let R of w.split("/")){if((R==null?void 0:R.length)===0)continue;if(R===".")continue;if(R==="..")E.pop();else E.push(R)}const U=`${(w==null?void 0:w.startsWith("/"))?"/":""}${E.join("/")}${E.length>0&&(w==null?void 0:w.endsWith("/"))?"/":""}`;return Df.escapeUri(U).replace(/%2F/g,"/")}return w}async getSignature(w,E,U,$){const R=await this.createStringToSign(w,E,$),G=new this.sha256(await U);return G.update(ow.toUint8Array(R)),m.toHex(await G.digest())}getSigningKey(w,E,U,$){return IG(this.sha256,w,U,E,$||this.service)}validateResolvedCredentials(w){if(typeof w!=="object"||typeof w.accessKeyId!=="string"||typeof w.secretAccessKey!=="string")throw new Error("Resolved credential object is not valid")}};V(FG,"SignatureV4");var B2=FG,S0=V((f)=>{const w=Q2(f).replace(/[\-:]/g,"");return{longDate:w,shortDate:w.slice(0,8)}},"formatDate"),fG=V((f)=>Object.keys(f).sort().join(";"),"getCanonicalHeaderList")});var CG=Z((mY,VG)=>{var{defineProperty:k0,getOwnPropertyDescriptor:K2,getOwnPropertyNames:q2}=Object,H2=Object.prototype.hasOwnProperty,c=(f,w)=>k0(f,"name",{value:w,configurable:!0}),V2=(f,w)=>{for(var E in w)k0(f,E,{get:w[E],enumerable:!0})},C2=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of q2(w))if(!H2.call(f,$)&&$!==E)k0(f,$,{get:()=>w[$],enumerable:!(U=K2(w,$))||U.enumerable})}return f},N2=(f)=>C2(k0({},"__esModule",{value:!0}),f),BG={};V2(BG,{AWSSDKSigV4Signer:()=>b2,AwsSdkSigV4ASigner:()=>h2,AwsSdkSigV4Signer:()=>w1,NODE_SIGV4A_CONFIG_OPTIONS:()=>_2,resolveAWSSDKSigV4Config:()=>D2,resolveAwsSdkSigV4AConfig:()=>k2,resolveAwsSdkSigV4Config:()=>HG,validateSigningProperties:()=>f1});VG.exports=N2(BG);var P2=Tf(),S2=Tf(),YG=c((f)=>{var w,E;return S2.HttpResponse.isInstance(f)?((w=f.headers)==null?void 0:w.date)??((E=f.headers)==null?void 0:E.Date):void 0},"getDateHeader"),aw=c((f)=>new Date(Date.now()+f),"getSkewCorrectedDate"),c2=c((f,w)=>Math.abs(aw(w).getTime()-f)>=300000,"isClockSkewed"),zG=c((f,w)=>{const E=Date.parse(f);if(c2(E,w))return E-Date.now();return w},"getUpdatedSystemClockOffset"),yf=c((f,w)=>{if(!w)throw new Error(`Property \`${f}\` is not resolved for AWS SDK SigV4Auth`);return w},"throwSigningPropertyError"),f1=c(async(f)=>{var w,E,U;const $=yf("context",f.context),R=yf("config",f.config),G=(U=(E=(w=$.endpointV2)==null?void 0:w.properties)==null?void 0:E.authSchemes)==null?void 0:U[0],I=await yf("signer",R.signer)(G),O=f==null?void 0:f.signingRegion,L=f==null?void 0:f.signingRegionSet,A=f==null?void 0:f.signingName;return{config:R,signer:I,signingRegion:O,signingRegionSet:L,signingName:A}},"validateSigningProperties"),KG=class f{async sign(w,E,U){var $;if(!P2.HttpRequest.isInstance(w))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const R=await f1(U),{config:G,signer:W}=R;let{signingRegion:I,signingName:O}=R;const L=U.context;if((($=L==null?void 0:L.authSchemes)==null?void 0:$.length)??0>1){const[T,M]=L.authSchemes;if((T==null?void 0:T.name)==="sigv4a"&&(M==null?void 0:M.name)==="sigv4")I=(M==null?void 0:M.signingRegion)??I,O=(M==null?void 0:M.signingName)??O}return await W.sign(w,{signingDate:aw(G.systemClockOffset),signingRegion:I,signingService:O})}errorHandler(w){return(E)=>{const U=E.ServerTime??YG(E.$response);if(U){const $=yf("config",w.config),R=$.systemClockOffset;if($.systemClockOffset=zG(U,$.systemClockOffset),$.systemClockOffset!==R&&E.$metadata)E.$metadata.clockSkewCorrected=!0}throw E}}successHandler(w,E){const U=YG(w);if(U){const $=yf("config",E.config);$.systemClockOffset=zG(U,$.systemClockOffset)}}};c(KG,"AwsSdkSigV4Signer");var w1=KG,b2=w1,j2=Tf(),qG=class f extends w1{async sign(w,E,U){var $;if(!j2.HttpRequest.isInstance(w))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const{config:R,signer:G,signingRegion:W,signingRegionSet:I,signingName:O}=await f1(U),A=(await(($=R.sigv4aSigningRegionSet)==null?void 0:$.call(R))??I??[W]).join(",");return await G.sign(w,{signingDate:aw(R.systemClockOffset),signingRegion:A,signingService:O})}};c(qG,"AwsSdkSigV4ASigner");var h2=qG,u2=Vw(),QG=o0(),k2=c((f)=>{return f.sigv4aSigningRegionSet=u2.normalizeProvider(f.sigv4aSigningRegionSet),f},"resolveAwsSdkSigV4AConfig"),_2={environmentVariableSelector(f){if(f.AWS_SIGV4A_SIGNING_REGION_SET)return f.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((w)=>w.trim());throw new QG.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.",{tryNextLink:!0})},configFileSelector(f){if(f.sigv4a_signing_region_set)return(f.sigv4a_signing_region_set??"").split(",").map((w)=>w.trim());throw new QG.ProviderError("sigv4a_signing_region_set not set in profile.",{tryNextLink:!0})},default:void 0},Ef=Vw(),JG=ZG(),HG=c((f)=>{let w;if(f.credentials)w=Ef.memoizeIdentityProvider(f.credentials,Ef.isIdentityExpired,Ef.doesIdentityRequireRefresh);if(!w)if(f.credentialDefaultProvider)w=Ef.normalizeProvider(f.credentialDefaultProvider(Object.assign({},f,{parentClientConfig:f})));else w=c(async()=>{throw new Error("`credentials` is missing")},"normalizedCreds");const{signingEscapePath:E=!0,systemClockOffset:U=f.systemClockOffset||0,sha256:$}=f;let R;if(f.signer)R=Ef.normalizeProvider(f.signer);else if(f.regionInfoProvider)R=c(()=>Ef.normalizeProvider(f.region)().then(async(G)=>[await f.regionInfoProvider(G,{useFipsEndpoint:await f.useFipsEndpoint(),useDualstackEndpoint:await f.useDualstackEndpoint()})||{},G]).then(([G,W])=>{const{signingRegion:I,signingService:O}=G;f.signingRegion=f.signingRegion||I||W,f.signingName=f.signingName||O||f.serviceId;const L={...f,credentials:w,region:f.signingRegion,service:f.signingName,sha256:$,uriEscapePath:E};return new(f.signerConstructor||JG.SignatureV4)(L)}),"signer");else R=c(async(G)=>{G=Object.assign({},{name:"sigv4",signingName:f.signingName||f.defaultSigningName,signingRegion:await Ef.normalizeProvider(f.region)(),properties:{}},G);const{signingRegion:W,signingName:I}=G;f.signingRegion=f.signingRegion||W,f.signingName=f.signingName||I||f.serviceId;const O={...f,credentials:w,region:f.signingRegion,service:f.signingName,sha256:$,uriEscapePath:E};return new(f.signerConstructor||JG.SignatureV4)(O)},"signer");return{...f,systemClockOffset:U,signingEscapePath:E,credentials:w,signer:R}},"resolveAwsSdkSigV4Config"),D2=HG});var _0=Z((p2)=>{var y2=":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",NG="[: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]["+y2+"]*",v2=new RegExp("^"+NG+"$"),x2=function(f,w){const E=[];let U=w.exec(f);while(U){const $=[];$.startIndex=w.lastIndex-U[0].length;const R=U.length;for(let G=0;G<R;G++)$.push(U[G]);E.push($),U=w.exec(f)}return E},d2=function(f){const w=v2.exec(f);return!(w===null||typeof w==="undefined")};p2.isExist=function(f){return typeof f!=="undefined"};p2.isEmptyObject=function(f){return Object.keys(f).length===0};p2.merge=function(f,w,E){if(w){const U=Object.keys(w),$=U.length;for(let R=0;R<$;R++)if(E==="strict")f[U[R]]=[w[U[R]]];else f[U[R]]=w[U[R]]}};p2.getValue=function(f){if(p2.isExist(f))return f;else return""};p2.isName=d2;p2.getAllMatches=x2;p2.nameRegexp=NG});var $1=Z((UT)=>{var SG=function(f){return f===" "||f==="\t"||f==="\n"||f==="\r"},cG=function(f,w){const E=w;for(;w<f.length;w++)if(f[w]=="?"||f[w]==" "){const U=f.substr(E,w-E);if(w>5&&U==="xml")return q("InvalidXml","XML declaration allowed only at the start of the document.",P(f,w));else if(f[w]=="?"&&f[w+1]==">"){w++;break}else continue}return w},bG=function(f,w){if(f.length>w+5&&f[w+1]==="-"&&f[w+2]==="-"){for(w+=3;w<f.length;w++)if(f[w]==="-"&&f[w+1]==="-"&&f[w+2]===">"){w+=2;break}}else if(f.length>w+8&&f[w+1]==="D"&&f[w+2]==="O"&&f[w+3]==="C"&&f[w+4]==="T"&&f[w+5]==="Y"&&f[w+6]==="P"&&f[w+7]==="E"){let E=1;for(w+=8;w<f.length;w++)if(f[w]==="<")E++;else if(f[w]===">"){if(E--,E===0)break}}else if(f.length>w+9&&f[w+1]==="["&&f[w+2]==="C"&&f[w+3]==="D"&&f[w+4]==="A"&&f[w+5]==="T"&&f[w+6]==="A"&&f[w+7]==="["){for(w+=8;w<f.length;w++)if(f[w]==="]"&&f[w+1]==="]"&&f[w+2]===">"){w+=2;break}}return w},e2=function(f,w){let E="",U="",$=!1;for(;w<f.length;w++){if(f[w]===i2||f[w]===t2)if(U==="")U=f[w];else if(U!==f[w]);else U="";else if(f[w]===">"){if(U===""){$=!0;break}}E+=f[w]}if(U!=="")return!1;return{value:E,index:w,tagClosed:$}},jG=function(f,w){const E=E1.getAllMatches(f,a2),U={};for(let $=0;$<E.length;$++){if(E[$][1].length===0)return q("InvalidAttr","Attribute '"+E[$][2]+"' has no space in starting.",vf(E[$]));else if(E[$][3]!==void 0&&E[$][4]===void 0)return q("InvalidAttr","Attribute '"+E[$][2]+"' is without value.",vf(E[$]));else if(E[$][3]===void 0&&!w.allowBooleanAttributes)return q("InvalidAttr","boolean attribute '"+E[$][2]+"' is not allowed.",vf(E[$]));const R=E[$][2];if(!ET(R))return q("InvalidAttr","Attribute '"+R+"' is an invalid name.",vf(E[$]));if(!U.hasOwnProperty(R))U[R]=1;else return q("InvalidAttr","Attribute '"+R+"' is repeated.",vf(E[$]))}return!0},fT=function(f,w){let E=/\d/;if(f[w]==="x")w++,E=/[\da-fA-F]/;for(;w<f.length;w++){if(f[w]===";")return w;if(!f[w].match(E))break}return-1},wT=function(f,w){if(w++,f[w]===";")return-1;if(f[w]==="#")return w++,fT(f,w);let E=0;for(;w<f.length;w++,E++){if(f[w].match(/\w/)&&E<20)continue;if(f[w]===";")break;return-1}return w},q=function(f,w,E){return{err:{code:f,msg:w,line:E.line||E,col:E.col}}},ET=function(f){return E1.isName(f)},$T=function(f){return E1.isName(f)},P=function(f,w){const E=f.substring(0,w).split(/\r?\n/);return{line:E.length,col:E[E.length-1].length+1}},vf=function(f){return f.startIndex+f[1].length},E1=_0(),m2={allowBooleanAttributes:!1,unpairedTags:[]};UT.validate=function(f,w){w=Object.assign({},m2,w);const E=[];let U=!1,$=!1;if(f[0]==="\uFEFF")f=f.substr(1);for(let R=0;R<f.length;R++)if(f[R]==="<"&&f[R+1]==="?"){if(R+=2,R=cG(f,R),R.err)return R}else if(f[R]==="<"){let G=R;if(R++,f[R]==="!"){R=bG(f,R);continue}else{let W=!1;if(f[R]==="/")W=!0,R++;let I="";for(;R<f.length&&f[R]!==">"&&f[R]!==" "&&f[R]!=="\t"&&f[R]!=="\n"&&f[R]!=="\r";R++)I+=f[R];if(I=I.trim(),I[I.length-1]==="/")I=I.substring(0,I.length-1),R--;if(!$T(I)){let A;if(I.trim().length===0)A="Invalid space after '<'.";else A="Tag '"+I+"' is an invalid name.";return q("InvalidTag",A,P(f,R))}const O=e2(f,R);if(O===!1)return q("InvalidAttr","Attributes for '"+I+"' have open quote.",P(f,R));let L=O.value;if(R=O.index,L[L.length-1]==="/"){const A=R-L.length;L=L.substring(0,L.length-1);const T=jG(L,w);if(T===!0)U=!0;else return q(T.err.code,T.err.msg,P(f,A+T.err.line))}else if(W)if(!O.tagClosed)return q("InvalidTag","Closing tag '"+I+"' doesn't have proper closing.",P(f,R));else if(L.trim().length>0)return q("InvalidTag","Closing tag '"+I+"' can't have attributes or invalid starting.",P(f,G));else if(E.length===0)return q("InvalidTag","Closing tag '"+I+"' has not been opened.",P(f,G));else{const A=E.pop();if(I!==A.tagName){let T=P(f,A.tagStartPos);return q("InvalidTag","Expected closing tag '"+A.tagName+"' (opened in line "+T.line+", col "+T.col+") instead of closing tag '"+I+"'.",P(f,G))}if(E.length==0)$=!0}else{const A=jG(L,w);if(A!==!0)return q(A.err.code,A.err.msg,P(f,R-L.length+A.err.line));if($===!0)return q("InvalidXml","Multiple possible root nodes found.",P(f,R));else if(w.unpairedTags.indexOf(I)!==-1);else E.push({tagName:I,tagStartPos:G});U=!0}for(R++;R<f.length;R++)if(f[R]==="<")if(f[R+1]==="!"){R++,R=bG(f,R);continue}else if(f[R+1]==="?"){if(R=cG(f,++R),R.err)return R}else break;else if(f[R]==="&"){const A=wT(f,R);if(A==-1)return q("InvalidChar","char '&' is not expected.",P(f,R));R=A}else if($===!0&&!SG(f[R]))return q("InvalidXml","Extra text at the end",P(f,R));if(f[R]==="<")R--}}else{if(SG(f[R]))continue;return q("InvalidChar","char '"+f[R]+"' is not expected.",P(f,R))}if(!U)return q("InvalidXml","Start tag expected.",1);else if(E.length==1)return q("InvalidTag","Unclosed tag '"+E[0].tagName+"'.",P(f,E[0].tagStartPos));else if(E.length>0)return q("InvalidXml","Invalid '"+JSON.stringify(E.map((R)=>R.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1});return!0};var i2='"',t2="'",a2=new RegExp('(\\s*)([^\\s=]+)(\\s*=)?(\\s*([\'"])(([\\s\\S])*?)\\5)?',"g")});var uG=Z((WT)=>{var hG={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(f,w){return w},attributeValueProcessor:function(f,w){return w},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(f,w,E){return f}},GT=function(f){return Object.assign({},hG,f)};WT.buildOptions=GT;WT.defaultOptions=hG});var DG=Z((aY,_G)=>{class kG{constructor(f){this.tagname=f,this.child=[],this[":@"]={}}add(f,w){if(f==="__proto__")f="#__proto__";this.child.push({[f]:w})}addChild(f){if(f.tagname==="__proto__")f.tagname="#__proto__";if(f[":@"]&&Object.keys(f[":@"]).length>0)this.child.push({[f.tagname]:f.child,[":@"]:f[":@"]});else this.child.push({[f.tagname]:f.child})}}_G.exports=kG});var vG=Z((f7,yG)=>{var AT=function(f,w){const E={};if(f[w+3]==="O"&&f[w+4]==="C"&&f[w+5]==="T"&&f[w+6]==="Y"&&f[w+7]==="P"&&f[w+8]==="E"){w=w+9;let U=1,$=!1,R=!1,G="";for(;w<f.length;w++)if(f[w]==="<"&&!R){if($&&FT(f,w)){if(w+=7,[entityName,val,w]=MT(f,w+1),val.indexOf("&")===-1)E[zT(entityName)]={regx:RegExp(`&${entityName};`,"g"),val}}else if($&&XT(f,w))w+=8;else if($&&ZT(f,w))w+=8;else if($&&YT(f,w))w+=9;else if(TT)R=!0;else throw new Error("Invalid DOCTYPE");U++,G=""}else if(f[w]===">"){if(R){if(f[w-1]==="-"&&f[w-2]==="-")R=!1,U--}else U--;if(U===0)break}else if(f[w]==="[")$=!0;else G+=f[w];if(U!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:E,i:w}},MT=function(f,w){let E="";for(;w<f.length&&(f[w]!=="'"&&f[w]!=='"');w++)E+=f[w];if(E=E.trim(),E.indexOf(" ")!==-1)throw new Error("External entites are not supported");const U=f[w++];let $="";for(;w<f.length&&f[w]!==U;w++)$+=f[w];return[E,$,w]},TT=function(f,w){if(f[w+1]==="!"&&f[w+2]==="-"&&f[w+3]==="-")return!0;return!1},FT=function(f,w){if(f[w+1]==="!"&&f[w+2]==="E"&&f[w+3]==="N"&&f[w+4]==="T"&&f[w+5]==="I"&&f[w+6]==="T"&&f[w+7]==="Y")return!0;return!1},XT=function(f,w){if(f[w+1]==="!"&&f[w+2]==="E"&&f[w+3]==="L"&&f[w+4]==="E"&&f[w+5]==="M"&&f[w+6]==="E"&&f[w+7]==="N"&&f[w+8]==="T")return!0;return!1},ZT=function(f,w){if(f[w+1]==="!"&&f[w+2]==="A"&&f[w+3]==="T"&&f[w+4]==="T"&&f[w+5]==="L"&&f[w+6]==="I"&&f[w+7]==="S"&&f[w+8]==="T")return!0;return!1},YT=function(f,w){if(f[w+1]==="!"&&f[w+2]==="N"&&f[w+3]==="O"&&f[w+4]==="T"&&f[w+5]==="A"&&f[w+6]==="T"&&f[w+7]==="I"&&f[w+8]==="O"&&f[w+9]==="N")return!0;return!1},zT=function(f){if(LT.isName(f))return f;else throw new Error(`Invalid entity name ${f}`)},LT=_0();yG.exports=AT});var dG=Z((w7,xG)=>{var KT=function(f,w={}){if(w=Object.assign({},BT,w),!f||typeof f!=="string")return f;let E=f.trim();if(w.skipLike!==void 0&&w.skipLike.test(E))return f;else if(w.hex&&QT.test(E))return Number.parseInt(E,16);else{const U=JT.exec(E);if(U){const $=U[1],R=U[2];let G=qT(U[3]);const W=U[4]||U[6];if(!w.leadingZeros&&R.length>0&&$&&E[2]!==".")return f;else if(!w.leadingZeros&&R.length>0&&!$&&E[1]!==".")return f;else{const I=Number(E),O=""+I;if(O.search(/[eE]/)!==-1)if(w.eNotation)return I;else return f;else if(W)if(w.eNotation)return I;else return f;else if(E.indexOf(".")!==-1)if(O==="0"&&G==="")return I;else if(O===G)return I;else if($&&O==="-"+G)return I;else return f;if(R)if(G===O)return I;else if($+G===O)return I;else return f;if(E===O)return I;else if(E===$+O)return I;return f}}else return f}},qT=function(f){if(f&&f.indexOf(".")!==-1){if(f=f.replace(/0+$/,""),f===".")f="0";else if(f[0]===".")f="0"+f;else if(f[f.length-1]===".")f=f.substr(0,f.length-1);return f}return f},QT=/^[-+]?0x[a-fA-F0-9]+$/,JT=/^([\-\+])?(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 BT={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};xG.exports=KT});var nG=Z((E7,gG)=>{var CT=function(f){const w=Object.keys(f);for(let E=0;E<w.length;E++){const U=w[E];this.lastEntities[U]={regex:new RegExp("&"+U+";","g"),val:f[U]}}},NT=function(f,w,E,U,$,R,G){if(f!==void 0){if(this.options.trimValues&&!U)f=f.trim();if(f.length>0){if(!G)f=this.replaceEntitiesValue(f);const W=this.options.tagValueProcessor(w,f,E,$,R);if(W===null||W===void 0)return f;else if(typeof W!==typeof f||W!==f)return W;else if(this.options.trimValues)return R1(f,this.options.parseTagValue,this.options.numberParseOptions);else if(f.trim()===f)return R1(f,this.options.parseTagValue,this.options.numberParseOptions);else return f}}},PT=function(f){if(this.options.removeNSPrefix){const w=f.split(":"),E=f.charAt(0)==="/"?"/":"";if(w[0]==="xmlns")return"";if(w.length===2)f=E+w[1]}return f},cT=function(f,w,E){if(!this.options.ignoreAttributes&&typeof f==="string"){const U=pG.getAllMatches(f,ST),$=U.length,R={};for(let G=0;G<$;G++){const W=this.resolveNameSpace(U[G][1]);let I=U[G][4],O=this.options.attributeNamePrefix+W;if(W.length){if(this.options.transformAttributeName)O=this.options.transformAttributeName(O);if(O==="__proto__")O="#__proto__";if(I!==void 0){if(this.options.trimValues)I=I.trim();I=this.replaceEntitiesValue(I);const L=this.options.attributeValueProcessor(W,I,w);if(L===null||L===void 0)R[O]=I;else if(typeof L!==typeof I||L!==I)R[O]=L;else R[O]=R1(I,this.options.parseAttributeValue,this.options.numberParseOptions)}else if(this.options.allowBooleanAttributes)R[O]=!0}}if(!Object.keys(R).length)return;if(this.options.attributesGroupName){const G={};return G[this.options.attributesGroupName]=R,G}return R}},jT=function(f,w,E){const U=this.options.updateTag(w.tagname,E,w[":@"]);if(U===!1);else if(typeof U==="string")w.tagname=U,f.addChild(w);else f.addChild(w)},uT=function(f,w,E,U){if(f){if(U===void 0)U=Object.keys(w.child).length===0;if(f=this.parseTextData(f,w.tagname,E,!1,w[":@"]?Object.keys(w[":@"]).length!==0:!1,U),f!==void 0&&f!=="")w.add(this.options.textNodeName,f);f=""}return f},kT=function(f,w,E){const U="*."+E;for(let $ in f){const R=f[$];if(U===R||w===R)return!0}return!1},_T=function(f,w,E=">"){let U,$="";for(let R=w;R<f.length;R++){let G=f[R];if(U){if(G===U)U=""}else if(G==='"'||G==="'")U=G;else if(G===E[0])if(E[1]){if(f[R+1]===E[1])return{data:$,index:R}}else return{data:$,index:R};else if(G==="\t")G=" ";$+=G}},$f=function(f,w,E,U){const $=f.indexOf(w,E);if($===-1)throw new Error(U);else return $+w.length-1},U1=function(f,w,E,U=">"){const $=_T(f,w+1,U);if(!$)return;let R=$.data;const G=$.index,W=R.search(/\s/);let I=R,O=!0;if(W!==-1)I=R.substring(0,W),R=R.substring(W+1).trimStart();const L=I;if(E){const A=I.indexOf(":");if(A!==-1)I=I.substr(A+1),O=I!==$.data.substr(A+1)}return{tagName:I,tagExp:R,closeIndex:G,attrExpPresent:O,rawTagName:L}},DT=function(f,w,E){const U=E;let $=1;for(;E<f.length;E++)if(f[E]==="<")if(f[E+1]==="/"){const R=$f(f,">",E,`${w} is not closed`);if(f.substring(E+2,R).trim()===w){if($--,$===0)return{tagContent:f.substring(U,E),i:R}}E=R}else if(f[E+1]==="?")E=$f(f,"?>",E+1,"StopNode is not closed.");else if(f.substr(E+1,3)==="!--")E=$f(f,"-->",E+3,"StopNode is not closed.");else if(f.substr(E+1,2)==="![")E=$f(f,"]]>",E,"StopNode is not closed.")-2;else{const R=U1(f,E,">");if(R){if((R&&R.tagName)===w&&R.tagExp[R.tagExp.length-1]!=="/")$++;E=R.closeIndex}}},R1=function(f,w,E){if(w&&typeof f==="string"){const U=f.trim();if(U==="true")return!0;else if(U==="false")return!1;else return VT(f,E)}else if(pG.isExist(f))return f;else return""},pG=_0(),xf=DG(),HT=vG(),VT=dG();class sG{constructor(f){this.options=f,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:"\""}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(w,E)=>String.fromCharCode(Number.parseInt(E,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(w,E)=>String.fromCharCode(Number.parseInt(E,16))}},this.addExternalEntities=CT,this.parseXml=bT,this.parseTextData=NT,this.resolveNameSpace=PT,this.buildAttributesMap=cT,this.isItStopNode=kT,this.replaceEntitiesValue=hT,this.readStopNodeData=DT,this.saveTextToParentTag=uT,this.addChild=jT}}var ST=new RegExp('([^\\s=]+)\\s*(=\\s*([\'"])([\\s\\S]*?)\\3)?',"gm"),bT=function(f){f=f.replace(/\r\n?/g,"\n");const w=new xf("!xml");let E=w,U="",$="";for(let R=0;R<f.length;R++)if(f[R]==="<")if(f[R+1]==="/"){const W=$f(f,">",R,"Closing Tag is not closed.");let I=f.substring(R+2,W).trim();if(this.options.removeNSPrefix){const A=I.indexOf(":");if(A!==-1)I=I.substr(A+1)}if(this.options.transformTagName)I=this.options.transformTagName(I);if(E)U=this.saveTextToParentTag(U,E,$);const O=$.substring($.lastIndexOf(".")+1);if(I&&this.options.unpairedTags.indexOf(I)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${I}>`);let L=0;if(O&&this.options.unpairedTags.indexOf(O)!==-1)L=$.lastIndexOf(".",$.lastIndexOf(".")-1),this.tagsNodeStack.pop();else L=$.lastIndexOf(".");$=$.substring(0,L),E=this.tagsNodeStack.pop(),U="",R=W}else if(f[R+1]==="?"){let W=U1(f,R,!1,"?>");if(!W)throw new Error("Pi Tag is not closed.");if(U=this.saveTextToParentTag(U,E,$),this.options.ignoreDeclaration&&W.tagName==="?xml"||this.options.ignorePiTags);else{const I=new xf(W.tagName);if(I.add(this.options.textNodeName,""),W.tagName!==W.tagExp&&W.attrExpPresent)I[":@"]=this.buildAttributesMap(W.tagExp,$,W.tagName);this.addChild(E,I,$)}R=W.closeIndex+1}else if(f.substr(R+1,3)==="!--"){const W=$f(f,"-->",R+4,"Comment is not closed.");if(this.options.commentPropName){const I=f.substring(R+4,W-2);U=this.saveTextToParentTag(U,E,$),E.add(this.options.commentPropName,[{[this.options.textNodeName]:I}])}R=W}else if(f.substr(R+1,2)==="!D"){const W=HT(f,R);this.docTypeEntities=W.entities,R=W.i}else if(f.substr(R+1,2)==="!["){const W=$f(f,"]]>",R,"CDATA is not closed.")-2,I=f.substring(R+9,W);U=this.saveTextToParentTag(U,E,$);let O=this.parseTextData(I,E.tagname,$,!0,!1,!0,!0);if(O==null)O="";if(this.options.cdataPropName)E.add(this.options.cdataPropName,[{[this.options.textNodeName]:I}]);else E.add(this.options.textNodeName,O);R=W+2}else{let W=U1(f,R,this.options.removeNSPrefix),I=W.tagName;const O=W.rawTagName;let{tagExp:L,attrExpPresent:A,closeIndex:T}=W;if(this.options.transformTagName)I=this.options.transformTagName(I);if(E&&U){if(E.tagname!=="!xml")U=this.saveTextToParentTag(U,E,$,!1)}const M=E;if(M&&this.options.unpairedTags.indexOf(M.tagname)!==-1)E=this.tagsNodeStack.pop(),$=$.substring(0,$.lastIndexOf("."));if(I!==w.tagname)$+=$?"."+I:I;if(this.isItStopNode(this.options.stopNodes,$,I)){let X="";if(L.length>0&&L.lastIndexOf("/")===L.length-1){if(I[I.length-1]==="/")I=I.substr(0,I.length-1),$=$.substr(0,$.length-1),L=I;else L=L.substr(0,L.length-1);R=W.closeIndex}else if(this.options.unpairedTags.indexOf(I)!==-1)R=W.closeIndex;else{const Q=this.readStopNodeData(f,O,T+1);if(!Q)throw new Error(`Unexpected end of ${O}`);R=Q.i,X=Q.tagContent}const Y=new xf(I);if(I!==L&&A)Y[":@"]=this.buildAttributesMap(L,$,I);if(X)X=this.parseTextData(X,I,$,!0,A,!0,!0);$=$.substr(0,$.lastIndexOf(".")),Y.add(this.options.textNodeName,X),this.addChild(E,Y,$)}else{if(L.length>0&&L.lastIndexOf("/")===L.length-1){if(I[I.length-1]==="/")I=I.substr(0,I.length-1),$=$.substr(0,$.length-1),L=I;else L=L.substr(0,L.length-1);if(this.options.transformTagName)I=this.options.transformTagName(I);const X=new xf(I);if(I!==L&&A)X[":@"]=this.buildAttributesMap(L,$,I);this.addChild(E,X,$),$=$.substr(0,$.lastIndexOf("."))}else{const X=new xf(I);if(this.tagsNodeStack.push(E),I!==L&&A)X[":@"]=this.buildAttributesMap(L,$,I);this.addChild(E,X,$),E=X}U="",R=T}}else U+=f[R];return w.child},hT=function(f){if(this.options.processEntities){for(let w in this.docTypeEntities){const E=this.docTypeEntities[w];f=f.replace(E.regx,E.val)}for(let w in this.lastEntities){const E=this.lastEntities[w];f=f.replace(E.regex,E.val)}if(this.options.htmlEntities)for(let w in this.htmlEntities){const E=this.htmlEntities[w];f=f.replace(E.regex,E.val)}f=f.replace(this.ampEntity.regex,this.ampEntity.val)}return f};gG.exports=sG});var oG=Z((pT)=>{var yT=function(f,w){return rG(f,w)},rG=function(f,w,E){let U;const $={};for(let R=0;R<f.length;R++){const G=f[R],W=vT(G);let I="";if(E===void 0)I=W;else I=E+"."+W;if(W===w.textNodeName)if(U===void 0)U=G[W];else U+=""+G[W];else if(W===void 0)continue;else if(G[W]){let O=rG(G[W],w,I);const L=dT(O,w);if(G[":@"])xT(O,G[":@"],I,w);else if(Object.keys(O).length===1&&O[w.textNodeName]!==void 0&&!w.alwaysCreateTextNode)O=O[w.textNodeName];else if(Object.keys(O).length===0)if(w.alwaysCreateTextNode)O[w.textNodeName]="";else O="";if($[W]!==void 0&&$.hasOwnProperty(W)){if(!Array.isArray($[W]))$[W]=[$[W]];$[W].push(O)}else if(w.isArray(W,I,L))$[W]=[O];else $[W]=O}}if(typeof U==="string"){if(U.length>0)$[w.textNodeName]=U}else if(U!==void 0)$[w.textNodeName]=U;return $},vT=function(f){const w=Object.keys(f);for(let E=0;E<w.length;E++){const U=w[E];if(U!==":@")return U}},xT=function(f,w,E,U){if(w){const $=Object.keys(w),R=$.length;for(let G=0;G<R;G++){const W=$[G];if(U.isArray(W,E+"."+W,!0,!0))f[W]=[w[W]];else f[W]=w[W]}}},dT=function(f,w){const{textNodeName:E}=w,U=Object.keys(f).length;if(U===0)return!0;if(U===1&&(f[E]||typeof f[E]==="boolean"||f[E]===0))return!0;return!1};pT.prettify=yT});var iG=Z((U7,mG)=>{var{buildOptions:gT}=uG(),nT=nG(),{prettify:rT}=oG(),oT=$1();class lG{constructor(f){this.externalEntities={},this.options=gT(f)}parse(f,w){if(typeof f==="string");else if(f.toString)f=f.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(w){if(w===!0)w={};const $=oT.validate(f,w);if($!==!0)throw Error(`${$.err.msg}:${$.err.line}:${$.err.col}`)}const E=new nT(this.options);E.addExternalEntities(this.externalEntities);const U=E.parseXml(f);if(this.options.preserveOrder||U===void 0)return U;else return rT(U,this.options)}addEntity(f,w){if(w.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");else if(f.indexOf("&")!==-1||f.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");else if(w==="&")throw new Error("An entity with value '&' is not permitted");else this.externalEntities[f]=w}}mG.exports=lG});var wW=Z((R7,fW)=>{var lT=function(f,w){let E="";if(w.format&&w.indentBy.length>0)E="\n";return eG(f,w,"",E)},eG=function(f,w,E,U){let $="",R=!1;for(let G=0;G<f.length;G++){const W=f[G],I=mT(W);if(I===void 0)continue;let O="";if(E.length===0)O=I;else O=`${E}.${I}`;if(I===w.textNodeName){let X=W[I];if(!iT(O,w))X=w.tagValueProcessor(I,X),X=aG(X,w);if(R)$+=U;$+=X,R=!1;continue}else if(I===w.cdataPropName){if(R)$+=U;$+=`<![CDATA[${W[I][0][w.textNodeName]}]]>`,R=!1;continue}else if(I===w.commentPropName){$+=U+`<!--${W[I][0][w.textNodeName]}-->`,R=!0;continue}else if(I[0]==="?"){const X=tG(W[":@"],w),Y=I==="?xml"?"":U;let Q=W[I][0][w.textNodeName];Q=Q.length!==0?" "+Q:"",$+=Y+`<${I}${Q}${X}?>`,R=!0;continue}let L=U;if(L!=="")L+=w.indentBy;const A=tG(W[":@"],w),T=U+`<${I}${A}`,M=eG(W[I],w,O,L);if(w.unpairedTags.indexOf(I)!==-1)if(w.suppressUnpairedNode)$+=T+">";else $+=T+"/>";else if((!M||M.length===0)&&w.suppressEmptyNode)$+=T+"/>";else if(M&&M.endsWith(">"))$+=T+`>${M}${U}</${I}>`;else{if($+=T+">",M&&U!==""&&(M.includes("/>")||M.includes("</")))$+=U+w.indentBy+M+U;else $+=M;$+=`</${I}>`}R=!0}return $},mT=function(f){const w=Object.keys(f);for(let E=0;E<w.length;E++){const U=w[E];if(!f.hasOwnProperty(U))continue;if(U!==":@")return U}},tG=function(f,w){let E="";if(f&&!w.ignoreAttributes)for(let U in f){if(!f.hasOwnProperty(U))continue;let $=w.attributeValueProcessor(U,f[U]);if($=aG($,w),$===!0&&w.suppressBooleanAttributes)E+=` ${U.substr(w.attributeNamePrefix.length)}`;else E+=` ${U.substr(w.attributeNamePrefix.length)}="${$}"`}return E},iT=function(f,w){f=f.substr(0,f.length-w.textNodeName.length-1);let E=f.substr(f.lastIndexOf(".")+1);for(let U in w.stopNodes)if(w.stopNodes[U]===f||w.stopNodes[U]==="*."+E)return!0;return!1},aG=function(f,w){if(f&&f.length>0&&w.processEntities)for(let E=0;E<w.entities.length;E++){const U=w.entities[E];f=f.replace(U.regex,U.val)}return f};fW.exports=lT});var $W=Z((G7,EW)=>{var i=function(f){if(this.options=Object.assign({},eT,f),this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=w4;if(this.processTextOrObjNode=aT,this.options.format)this.indentate=f4,this.tagEndChar=">\n",this.newLine="\n";else this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""},aT=function(f,w,E){const U=this.j2x(f,E+1);if(f[this.options.textNodeName]!==void 0&&Object.keys(f).length===1)return this.buildTextValNode(f[this.options.textNodeName],w,U.attrStr,E);else return this.buildObjectNode(U.val,w,U.attrStr,E)},f4=function(f){return this.options.indentBy.repeat(f)},w4=function(f){if(f.startsWith(this.options.attributeNamePrefix)&&f!==this.options.textNodeName)return f.substr(this.attrPrefixLen);else return!1},tT=wW(),eT={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(f,w){return w},attributeValueProcessor:function(f,w){return w},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("\'","g"),val:"'"},{regex:new RegExp("\"","g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};i.prototype.build=function(f){if(this.options.preserveOrder)return tT(f,this.options);else{if(Array.isArray(f)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1)f={[this.options.arrayNodeName]:f};return this.j2x(f,0).val}};i.prototype.j2x=function(f,w){let E="",U="";for(let $ in f){if(!Object.prototype.hasOwnProperty.call(f,$))continue;if(typeof f[$]==="undefined"){if(this.isAttribute($))U+=""}else if(f[$]===null)if(this.isAttribute($))U+="";else if($[0]==="?")U+=this.indentate(w)+"<"+$+"?"+this.tagEndChar;else U+=this.indentate(w)+"<"+$+"/"+this.tagEndChar;else if(f[$]instanceof Date)U+=this.buildTextValNode(f[$],$,"",w);else if(typeof f[$]!=="object"){const R=this.isAttribute($);if(R)E+=this.buildAttrPairStr(R,""+f[$]);else if($===this.options.textNodeName){let G=this.options.tagValueProcessor($,""+f[$]);U+=this.replaceEntitiesValue(G)}else U+=this.buildTextValNode(f[$],$,"",w)}else if(Array.isArray(f[$])){const R=f[$].length;let G="",W="";for(let I=0;I<R;I++){const O=f[$][I];if(typeof O==="undefined");else if(O===null)if($[0]==="?")U+=this.indentate(w)+"<"+$+"?"+this.tagEndChar;else U+=this.indentate(w)+"<"+$+"/"+this.tagEndChar;else if(typeof O==="object")if(this.options.oneListGroup){const L=this.j2x(O,w+1);if(G+=L.val,this.options.attributesGroupName&&O.hasOwnProperty(this.options.attributesGroupName))W+=L.attrStr}else G+=this.processTextOrObjNode(O,$,w);else if(this.options.oneListGroup){let L=this.options.tagValueProcessor($,O);L=this.replaceEntitiesValue(L),G+=L}else G+=this.buildTextValNode(O,$,"",w)}if(this.options.oneListGroup)G=this.buildObjectNode(G,$,W,w);U+=G}else if(this.options.attributesGroupName&&$===this.options.attributesGroupName){const R=Object.keys(f[$]),G=R.length;for(let W=0;W<G;W++)E+=this.buildAttrPairStr(R[W],""+f[$][R[W]])}else U+=this.processTextOrObjNode(f[$],$,w)}return{attrStr:E,val:U}};i.prototype.buildAttrPairStr=function(f,w){if(w=this.options.attributeValueProcessor(f,""+w),w=this.replaceEntitiesValue(w),this.options.suppressBooleanAttributes&&w==="true")return" "+f;else return" "+f+'="'+w+'"'};i.prototype.buildObjectNode=function(f,w,E,U){if(f==="")if(w[0]==="?")return this.indentate(U)+"<"+w+E+"?"+this.tagEndChar;else return this.indentate(U)+"<"+w+E+this.closeTag(w)+this.tagEndChar;else{let $="</"+w+this.tagEndChar,R="";if(w[0]==="?")R="?",$="";if((E||E==="")&&f.indexOf("<")===-1)return this.indentate(U)+"<"+w+E+R+">"+f+$;else if(this.options.commentPropName!==!1&&w===this.options.commentPropName&&R.length===0)return this.indentate(U)+`<!--${f}-->`+this.newLine;else return this.indentate(U)+"<"+w+E+R+this.tagEndChar+f+this.indentate(U)+$}};i.prototype.closeTag=function(f){let w="";if(this.options.unpairedTags.indexOf(f)!==-1){if(!this.options.suppressUnpairedNode)w="/"}else if(this.options.suppressEmptyNode)w="/";else w=`></${f}`;return w};i.prototype.buildTextValNode=function(f,w,E,U){if(this.options.cdataPropName!==!1&&w===this.options.cdataPropName)return this.indentate(U)+`<![CDATA[${f}]]>`+this.newLine;else if(this.options.commentPropName!==!1&&w===this.options.commentPropName)return this.indentate(U)+`<!--${f}-->`+this.newLine;else if(w[0]==="?")return this.indentate(U)+"<"+w+E+"?"+this.tagEndChar;else{let $=this.options.tagValueProcessor(w,f);if($=this.replaceEntitiesValue($),$==="")return this.indentate(U)+"<"+w+E+this.closeTag(w)+this.tagEndChar;else return this.indentate(U)+"<"+w+E+">"+$+"</"+w+this.tagEndChar}};i.prototype.replaceEntitiesValue=function(f){if(f&&f.length>0&&this.options.processEntities)for(let w=0;w<this.options.entities.length;w++){const E=this.options.entities[w];f=f.replace(E.regex,E.val)}return f};EW.exports=i});var RW=Z((W7,UW)=>{var E4=$1(),$4=iG(),U4=$W();UW.exports={XMLParser:$4,XMLValidator:E4,XMLBuilder:U4}});var AW=Z((I7,LW)=>{var{defineProperty:D0,getOwnPropertyDescriptor:R4,getOwnPropertyNames:G4}=Object,W4=Object.prototype.hasOwnProperty,b=(f,w)=>D0(f,"name",{value:w,configurable:!0}),I4=(f,w)=>{for(var E in w)D0(f,E,{get:w[E],enumerable:!0})},O4=(f,w,E,U)=>{if(w&&typeof w==="object"||typeof w==="function"){for(let $ of G4(w))if(!W4.call(f,$)&&$!==E)D0(f,$,{get:()=>w[$],enumerable:!(U=R4(w,$))||U.enumerable})}return f},L4=(f)=>O4(D0({},"__esModule",{value:!0}),f),GW={};I4(GW,{_toBool:()=>M4,_toNum:()=>T4,_toStr:()=>A4,awsExpectUnion:()=>X4,loadRestJsonErrorCode:()=>z4,loadRestXmlErrorCode:()=>K4,parseJsonBody:()=>IW,parseJsonErrorBody:()=>Y4,parseXmlBody:()=>OW,parseXmlErrorBody:()=>B4});LW.exports=L4(GW);var A4=b((f)=>{if(f==null)return f;if(typeof f==="number"||typeof f==="bigint"){const w=new Error(`Received number ${f} where a string was expected.`);return w.name="Warning",console.warn(w),String(f)}if(typeof f==="boolean"){const w=new Error(`Received boolean ${f} where a string was expected.`);return w.name="Warning",console.warn(w),String(f)}return f},"_toStr"),M4=b((f)=>{if(f==null)return f;if(typeof f==="string"){const w=f.toLowerCase();if(f!==""&&w!=="false"&&w!=="true"){const E=new Error(`Received string "${f}" where a boolean was expected.`);E.name="Warning",console.warn(E)}return f!==""&&w!=="false"}return f},"_toBool"),T4=b((f)=>{if(f==null)return f;if(typeof f==="string"){const w=Number(f);if(w.toString()!==f){const E=new Error(`Received string "${f}" where a number was expected.`);return E.name="Warning",console.warn(E),f}return w}return f},"_toNum"),F4=Af(),X4=b((f)=>{if(f==null)return;if(typeof f==="object"&&"__type"in f)delete f.__type;return F4.expectUnion(f)},"awsExpectUnion"),Z4=Af(),WW=b((f,w)=>Z4.collectBody(f,w).then((E)=>w.utf8Encoder(E)),"collectBodyString"),IW=b((f,w)=>WW(f,w).then((E)=>{if(E.length)try{return JSON.parse(E)}catch(U){if((U==null?void 0:U.name)==="SyntaxError")Object.defineProperty(U,"$responseBodyText",{value:E});throw U}return{}}),"parseJsonBody"),Y4=b(async(f,w)=>{const E=await IW(f,w);return E.message=E.message??E.Message,E},"parseJsonErrorBody"),z4=b((f,w)=>{const E=b((R,G)=>Object.keys(R).find((W)=>W.toLowerCase()===G.toLowerCase()),"findKey"),U=b((R)=>{let G=R;if(typeof G==="number")G=G.toString();if(G.indexOf(",")>=0)G=G.split(",")[0];if(G.indexOf(":")>=0)G=G.split(":")[0];if(G.indexOf("#")>=0)G=G.split("#")[1];return G},"sanitizeErrorCode"),$=E(f.headers,"x-amzn-errortype");if($!==void 0)return U(f.headers[$]);if(w.code!==void 0)return U(w.code);if(w.__type!==void 0)return U(w.__type)},"loadRestJsonErrorCode"),Q4=Af(),J4=RW(),OW=b((f,w)=>WW(f,w).then((E)=>{if(E.length){const U=new J4.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(I,O)=>O.trim()===""&&O.includes("\n")?"":void 0});U.addEntity("#xD","\r"),U.addEntity("#10","\n");let $;try{$=U.parse(E,!0)}catch(I){if(I&&typeof I==="object")Object.defineProperty(I,"$responseBodyText",{value:E});throw I}const R="#text",G=Object.keys($)[0],W=$[G];if(W[R])W[G]=W[R],delete W[R];return Q4.getValueFromTextNode(W)}return{}}),"parseXmlBody"),B4=b(async(f,w)=>{const E=await OW(f,w);if(E.Error)E.Error.message=E.Error.message??E.Error.Message;return E},"parseXmlErrorBody"),K4=b((f,w)=>{var E;if(((E=w==null?void 0:w.Error)==null?void 0:E.Code)!==void 0)return w.Error.Code;if((w==null?void 0:w.Code)!==void 0)return w.Code;if(f.statusCode==404)return"NotFound"},"loadRestXmlErrorCode")});var q4=Z((df)=>{Object.defineProperty(df,"__esModule",{value:!0});var G1=rR();G1.__exportStar(iR(),df);G1.__exportStar(CG(),df);G1.__exportStar(AW(),df)});function x4(f){return f}var qW=(f)=>(w)=>async(E)=>{if(!j.isInstance(E.request))return w(E);const{request:U}=E,{handlerProtocol:$=""}=f.requestHandler.metadata||{};if($.indexOf("h2")>=0&&!U.headers[":authority"])delete U.headers.host,U.headers[":authority"]=U.hostname+(U.port?":"+U.port:"");else if(!U.headers.host){let R=U.hostname;if(U.port!=null)R+=`:${U.port}`;U.headers.host=R}return w(E)},HW={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},d4=(f)=>({applyToStack:(w)=>{w.add(qW(f),HW)}});var VW=()=>(f,w)=>async(E)=>{try{const U=await f(E),{clientName:$,commandName:R,logger:G,dynamoDbDocumentClientOptions:W={}}=w,{overrideInputFilterSensitiveLog:I,overrideOutputFilterSensitiveLog:O}=W,L=I??w.inputFilterSensitiveLog,A=O??w.outputFilterSensitiveLog,{$metadata:T,...M}=U.output;return G?.info?.({clientName:$,commandName:R,input:L(E.input),output:A(M),metadata:T}),U}catch(U){const{clientName:$,commandName:R,logger:G,dynamoDbDocumentClientOptions:W={}}=w,{overrideInputFilterSensitiveLog:I}=W,O=I??w.inputFilterSensitiveLog;throw G?.error?.({clientName:$,commandName:R,input:O(E.input),error:U,metadata:U.$metadata}),U}},CW={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},s4=(f)=>({applyToStack:(w)=>{w.add(VW(),CW)}});var A1="X-Amzn-Trace-Id",NW="AWS_LAMBDA_FUNCTION_NAME",PW="_X_AMZN_TRACE_ID",SW=(f)=>(w)=>async(E)=>{const{request:U}=E;if(!j.isInstance(U)||f.runtime!=="node"||U.headers.hasOwnProperty(A1))return w(E);const $=process.env[NW],R=process.env[PW],G=(W)=>typeof W==="string"&&W.length>0;if(G($)&&G(R))U.headers[A1]=R;return w({...E,request:U})},cW={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},l4=(f)=>({applyToStack:(w)=>{w.add(SW(f),cW)}});function cF(f){return{...f,customUserAgent:typeof f.customUserAgent==="string"?[[f.customUserAgent]]:f.customUserAgent}}var eA=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}$"),hf=(f)=>eA.test(f)||f.startsWith("[")&&f.endsWith("]");var aA=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),uf=(f,w=!1)=>{if(!w)return aA.test(f);const E=f.split(".");for(let U of E)if(!uf(U))return!1;return!0};var kf={};var g="endpoints";function u(f){if(typeof f!=="object"||f==null)return f;if("ref"in f)return`\$${u(f.ref)}`;if("fn"in f)return`${f.fn}(${(f.argv||[]).map(u).join(", ")})`;return JSON.stringify(f,null,2)}class J extends Error{constructor(f){super(f);this.name="EndpointError"}}var CU=(f,w)=>f===w;var NU=(f)=>{const w=f.split("."),E=[];for(let U of w){const $=U.indexOf("[");if($!==-1){if(U.indexOf("]")!==U.length-1)throw new J(`Path: '${f}' does not end with ']'`);const R=U.slice($+1,-1);if(Number.isNaN(parseInt(R)))throw new J(`Invalid array index: '${R}' in path: '${f}'`);if($!==0)E.push(U.slice(0,$));E.push(R)}else E.push(U)}return E};var O0=(f,w)=>NU(w).reduce((E,U)=>{if(typeof E!=="object")throw new J(`Index '${U}' in '${w}' not found in '${JSON.stringify(f)}'`);else if(Array.isArray(E))return E[parseInt(U)];return E[U]},f);var PU=(f)=>f!=null;var SU=(f)=>!f;var L0=n(Bf(),1);var Cw={[L0.EndpointURLScheme.HTTP]:80,[L0.EndpointURLScheme.HTTPS]:443},cU=(f)=>{const w=(()=>{try{if(f instanceof URL)return f;if(typeof f==="object"&&"hostname"in f){const{hostname:T,port:M,protocol:X="",path:Y="",query:Q={}}=f,z=new URL(`${X}//${T}${M?`:${M}`:""}${Y}`);return z.search=Object.entries(Q).map(([N,S])=>`${N}=${S}`).join("&"),z}return new URL(f)}catch(T){return null}})();if(!w)return console.error(`Unable to parse ${JSON.stringify(f)} as a whatwg URL.`),null;const E=w.href,{host:U,hostname:$,pathname:R,protocol:G,search:W}=w;if(W)return null;const I=G.slice(0,-1);if(!Object.values(L0.EndpointURLScheme).includes(I))return null;const O=hf($),L=E.includes(`${U}:${Cw[I]}`)||typeof f==="string"&&f.includes(`${U}:${Cw[I]}`),A=`${U}${L?`:${Cw[I]}`:""}`;return{scheme:I,authority:A,path:R,normalizedPath:R.endsWith("/")?R:`${R}/`,isIp:O}};var bU=(f,w)=>f===w;var jU=(f,w,E,U)=>{if(w>=E||f.length<E)return null;if(!U)return f.substring(w,E);return f.substring(f.length-E,f.length-w)};var hU=(f)=>encodeURIComponent(f).replace(/[!*'()]/g,(w)=>`%${w.charCodeAt(0).toString(16).toUpperCase()}`);var uU={booleanEquals:CU,getAttr:O0,isSet:PU,isValidHostLabel:uf,not:SU,parseURL:cU,stringEquals:bU,substring:jU,uriEncode:hU};var A0=(f,w)=>{const E=[],U={...w.endpointParams,...w.referenceRecord};let $=0;while($<f.length){const R=f.indexOf("{",$);if(R===-1){E.push(f.slice($));break}E.push(f.slice($,R));const G=f.indexOf("}",R);if(G===-1){E.push(f.slice(R));break}if(f[R+1]==="{"&&f[G+1]==="}")E.push(f.slice(R+1,G)),$=G+2;const W=f.substring(R+1,G);if(W.includes("#")){const[I,O]=W.split("#");E.push(O0(U[I],O))}else E.push(U[W]);$=G+1}return E.join("")};var kU=({ref:f},w)=>{return{...w.endpointParams,...w.referenceRecord}[f]};var o=(f,w,E)=>{if(typeof f==="string")return A0(f,E);else if(f.fn)return M0(f,E);else if(f.ref)return kU(f,E);throw new J(`'${w}': ${String(f)} is not a string, function or reference.`)};var M0=({fn:f,argv:w},E)=>{const U=w.map((R)=>["boolean","number"].includes(typeof R)?R:o(R,"arg",E)),$=f.split(".");if($[0]in kf&&$[1]!=null)return kf[$[0]][$[1]](...U);return uU[f](...U)};var _U=({assign:f,...w},E)=>{if(f&&f in E.referenceRecord)throw new J(`'${f}' is already defined in Reference Record.`);const U=M0(w,E);return E.logger?.debug?.(`${g} evaluateCondition: ${u(w)} = ${u(U)}`),{result:U===""?!0:!!U,...f!=null&&{toAssign:{name:f,value:U}}}};var Ff=(f=[],w)=>{const E={};for(let U of f){const{result:$,toAssign:R}=_U(U,{...w,referenceRecord:{...w.referenceRecord,...E}});if(!$)return{result:$};if(R)E[R.name]=R.value,w.logger?.debug?.(`${g} assign: ${R.name} := ${u(R.value)}`)}return{result:!0,referenceRecord:E}};var DU=(f,w)=>Object.entries(f).reduce((E,[U,$])=>({...E,[U]:$.map((R)=>{const G=o(R,"Header value entry",w);if(typeof G!=="string")throw new J(`Header '${U}' value '${G}' is not a string`);return G})}),{});var Nw=(f,w)=>{if(Array.isArray(f))return f.map((E)=>Nw(E,w));switch(typeof f){case"string":return A0(f,w);case"object":if(f===null)throw new J(`Unexpected endpoint property: ${f}`);return T0(f,w);case"boolean":return f;default:throw new J(`Unexpected endpoint property type: ${typeof f}`)}};var T0=(f,w)=>Object.entries(f).reduce((E,[U,$])=>({...E,[U]:Nw($,w)}),{});var yU=(f,w)=>{const E=o(f,"Endpoint URL",w);if(typeof E==="string")try{return new URL(E)}catch(U){throw console.error(`Failed to construct URL with ${E}`,U),U}throw new J(`Endpoint URL must be a string, got ${typeof E}`)};var vU=(f,w)=>{const{conditions:E,endpoint:U}=f,{result:$,referenceRecord:R}=Ff(E,w);if(!$)return;const G={...w,referenceRecord:{...w.referenceRecord,...R}},{url:W,properties:I,headers:O}=U;return w.logger?.debug?.(`${g} Resolving endpoint from template: ${u(U)}`),{...O!=null&&{headers:DU(O,G)},...I!=null&&{properties:T0(I,G)},url:yU(W,G)}};var xU=(f,w)=>{const{conditions:E,error:U}=f,{result:$,referenceRecord:R}=Ff(E,w);if(!$)return;throw new J(o(U,"Error",{...w,referenceRecord:{...w.referenceRecord,...R}}))};var dU=(f,w)=>{const{conditions:E,rules:U}=f,{result:$,referenceRecord:R}=Ff(E,w);if(!$)return;return F0(U,{...w,referenceRecord:{...w.referenceRecord,...R}})};var F0=(f,w)=>{for(let E of f)if(E.type==="endpoint"){const U=vU(E,w);if(U)return U}else if(E.type==="error")xU(E,w);else if(E.type==="tree"){const U=dU(E,w);if(U)return U}else throw new J(`Unknown endpoint rule: ${E}`);throw new J("Rules evaluation failed")};var fM=(f,w)=>{const{endpointParams:E,logger:U}=w,{parameters:$,rules:R}=f;w.logger?.debug?.(`${g} Initial EndpointParams: ${u(E)}`);const G=Object.entries($).filter(([,O])=>O.default!=null).map(([O,L])=>[O,L.default]);if(G.length>0)for(let[O,L]of G)E[O]=E[O]??L;const W=Object.entries($).filter(([,O])=>O.required).map(([O])=>O);for(let O of W)if(E[O]==null)throw new J(`Missing required parameter: '${O}'`);const I=F0(R,{endpointParams:E,logger:U,referenceRecord:{}});if(w.endpointParams?.Endpoint)try{const O=new URL(w.endpointParams.Endpoint),{protocol:L,port:A}=O;I.url.protocol=L,I.url.port=A}catch(O){}return w.logger?.debug?.(`${g} Resolved endpoint: ${u(I)}`),I};var Pw=(f,w=!1)=>{if(w){for(let E of f.split("."))if(!Pw(E))return!1;return!0}if(!uf(f))return!1;if(f.length<3||f.length>63)return!1;if(f!==f.toLowerCase())return!1;if(hf(f))return!1;return!0};var pU=(f)=>{const w=f.split(":");if(w.length<6)return null;const[E,U,$,R,G,...W]=w;if(E!=="arn"||U===""||$===""||W[0]==="")return null;return{partition:U,service:$,region:R,accountId:G,resourceId:W[0].includes("/")?W[0].split("/"):W}};var sU={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 EM=sU,$M="",gU=(f)=>{const{partitions:w}=EM;for(let U of w){const{regions:$,outputs:R}=U;for(let[G,W]of Object.entries($))if(G===f)return{...R,...W}}for(let U of w){const{regionRegex:$,outputs:R}=U;if(new RegExp($).test(f))return{...R}}const E=w.find((U)=>U.id==="aws");if(!E)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...E.outputs}};var nU=()=>$M;var UM={isVirtualHostableS3Bucket:Pw,parseArn:pU,partition:gU};kf.aws=UM;var Sw="user-agent",X0="x-amz-user-agent",cw=" ",Z0="/",rU=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,oU=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,bw="-";var RM=(f)=>(w,E)=>async(U)=>{const{request:$}=U;if(!j.isInstance($))return w(U);const{headers:R}=$,G=E?.userAgent?.map(jw)||[],W=(await f.defaultUserAgentProvider()).map(jw),I=f?.customUserAgent?.map(jw)||[],O=nU(),L=(O?[O]:[]).concat([...W,...G,...I]).join(cw),A=[...W.filter((T)=>T.startsWith("aws-sdk-")),...I].join(cw);if(f.runtime!=="browser"){if(A)R[X0]=R[X0]?`${R[Sw]} ${A}`:A;R[Sw]=L}else R[X0]=L;return w({...U,request:$})},jw=(f)=>{const w=f[0].split(Z0).map((G)=>G.replace(rU,bw)).join(Z0),E=f[1]?.replace(oU,bw),U=w.indexOf(Z0),$=w.substring(0,U);let R=w.substring(U+1);if($==="api")R=R.toLowerCase();return[$,R,E].filter((G)=>G&&G.length>0).reduce((G,W,I)=>{switch(I){case 0:return W;case 1:return`${G}/${W}`;default:return`${G}#${W}`}},"")},GM={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},OZ=(f)=>({applyToStack:(w)=>{w.add(RM(f),GM)}});var Y0=(f)=>typeof f==="string"&&(f.startsWith("fips-")||f.endsWith("-fips"));var hw=(f)=>Y0(f)?["fips-aws-global","aws-fips"].includes(f)?"us-east-1":f.replace(/fips-(dkr-|prod-)?|-fips/,""):f;var QZ=(f)=>{const{region:w,useFipsEndpoint:E}=f;if(!w)throw new Error("Region is missing");return{...f,region:async()=>{if(typeof w==="string")return hw(w);const U=await w();return hw(U)},useFipsEndpoint:async()=>{const U=typeof w==="string"?w:await w();if(Y0(U))return!0;return typeof E!=="function"?Promise.resolve(!!E):E()}}};var Xf=(f,w,E)=>{if(!(w in f))return;if(f[w]==="true")return!0;if(f[w]==="false")return!1;throw new Error(`Cannot load ${E} "${w}". Expected "true" or "false", got ${f[w]}.`)};var l;(function(f){f.ENV="env",f.CONFIG="shared config entry"})(l||(l={}));var WM="AWS_USE_DUALSTACK_ENDPOINT",IM="use_dualstack_endpoint";var SZ={environmentVariableSelector:(f)=>Xf(f,WM,l.ENV),configFileSelector:(f)=>Xf(f,IM,l.CONFIG),default:!1};var OM="AWS_USE_FIPS_ENDPOINT",LM="use_fips_endpoint";var jZ={environmentVariableSelector:(f)=>Xf(f,OM,l.ENV),configFileSelector:(f)=>Xf(f,LM,l.CONFIG),default:!1};var AM=n(v(),1);var MM=n(v(),1);var lU={environmentVariableSelector:(f)=>f["AWS_REGION"],configFileSelector:(f)=>f["region"],default:()=>{throw new Error("Region is missing")}},gZ={preferredFile:"credentials"};function TM(f){return(w)=>async(E)=>{const U=E.request;if(j.isInstance(U)){const{body:$,headers:R}=U;if($&&Object.keys(R).map((G)=>G.toLowerCase()).indexOf(mU)===-1)try{const G=f($);U.headers={...U.headers,[mU]:String(G)}}catch(G){}}return w({...E,request:U})}}var mU="content-length",FM={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},Y5=(f)=>({applyToStack:(w)=>{w.add(TM(f.bodyLengthChecker),FM)}});var iU=(f,w)=>(E)=>async(U)=>{const{response:$}=await E(U);try{const R=await w($,f);return{response:$,output:R}}catch(R){if(Object.defineProperty(R,"$response",{value:$}),!("$metadata"in R)){if(R.message+="\n Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.",typeof R.$responseBodyText!=="undefined"){if(R.$response)R.$response.body=R.$responseBodyText}}throw R}};var tU=(f,w)=>(E,U)=>async($)=>{const R=U.endpointV2?.url&&f.urlParser?async()=>f.urlParser(U.endpointV2.url):f.endpoint;if(!R)throw new Error("No valid endpoint provider available.");const G=await w($.input,{...f,endpoint:R});return E({...$,request:G})};function q5(f,w,E){return{applyToStack:(U)=>{U.add(iU(f,E),XM),U.add(tU(f,w),uw)}}}var XM={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},uw={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};var RR=n(v(),1);var eU=async(f)=>{const w=f?.Bucket||"";if(typeof f.Bucket==="string")f.Bucket=w.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(JM(w)){if(f.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!QM(w)||w.indexOf(".")!==-1&&!String(f.Endpoint).startsWith("http:")||w.toLowerCase()!==w||w.length<3)f.ForcePathStyle=!0;if(f.DisableMultiRegionAccessPoints)f.disableMultiRegionAccessPoints=!0,f.DisableMRAP=!0;return f},ZM=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,YM=/(\d+\.){3}\d+/,zM=/\.\./;var QM=(f)=>ZM.test(f)&&!YM.test(f)&&!zM.test(f),JM=(f)=>{const[w,E,U,,,$]=f.split(":"),R=w==="arn"&&f.split(":").length>=6,G=Boolean(R&&E&&U&&$);if(R&&!G)throw new Error(`Invalid ARN: ${f} was an invalid ARN.`);return G};var aU=(f,w,E)=>{const U=async()=>{const $=E[f]??E[w];if(typeof $==="function")return $();return $};if(f==="credentialScope"||w==="CredentialScope")return async()=>{const $=typeof E.credentials==="function"?await E.credentials():E.credentials;return $?.credentialScope??$?.CredentialScope};if(f==="accountId"||w==="AccountId")return async()=>{const $=typeof E.credentials==="function"?await E.credentials():E.credentials;return $?.accountId??$?.AccountId};if(f==="endpoint"||w==="endpoint")return async()=>{const $=await U();if($&&typeof $==="object"){if("url"in $)return $.url.href;if("hostname"in $){const{protocol:R,hostname:G,port:W,path:I}=$;return`${R}//${G}${W?":"+W:""}${I}`}}return $};return U};var fR="AWS_ENDPOINT_URL",wR="endpoint_url",ER=(f)=>({environmentVariableSelector:(w)=>{const E=f.split(" ").map((R)=>R.toUpperCase()),U=w[[fR,...E].join("_")];if(U)return U;const $=w[fR];if($)return $;return},configFileSelector:(w,E)=>{if(E&&w.services){const $=E[["services",w.services].join(kw)];if($){const R=f.split(" ").map((W)=>W.toLowerCase()),G=$[[R.join("_"),wR].join(kw)];if(G)return G}}const U=w[wR];if(U)return U;return},default:void 0});var $R=async(f)=>a(ER(f))();var _w=n(e1(),1),z0=(f)=>{if(typeof f==="object"){if("url"in f)return _w.parseUrl(f.url);return f}return _w.parseUrl(f)};var UR=async(f,w,E,U)=>{if(!E.endpoint){const G=await $R(E.serviceId||"");if(G)E.endpoint=()=>Promise.resolve(z0(G))}const $=await BM(f,w,E);if(typeof E.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return E.endpointProvider($,U)},BM=async(f,w,E)=>{const U={},$=w?.getEndpointParameterInstructions?.()||{};for(let[R,G]of Object.entries($))switch(G.type){case"staticContextParams":U[R]=G.value;break;case"contextParams":U[R]=f[G.name];break;case"clientContextParams":case"builtInParams":U[R]=await aU(G.name,R,E)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(G))}if(Object.keys($).length===0)Object.assign(U,E);if(String(E.serviceId).toLowerCase()==="s3")await eU(U);return U};var GR=({config:f,instructions:w})=>{return(E,U)=>async($)=>{const R=await UR($.input,{getEndpointParameterInstructions(){return w}},{...f},U);U.endpointV2=R,U.authSchemes=R.properties?.authSchemes;const G=U.authSchemes?.[0];if(G){U.signing_region=G.signingRegion,U.signing_service=G.signingName;const I=RR.getSmithyContext(U)?.selectedHttpAuthScheme?.httpAuthOption;if(I)I.signingProperties=Object.assign(I.signingProperties||{},{signing_region:G.signingRegion,signingRegion:G.signingRegion,signing_service:G.signingName,signingName:G.signingName,signingRegionSet:G.signingRegionSet},G.properties)}return E({...$})}};var KM={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:uw.name},l5=(f,w)=>({applyToStack:(E)=>{E.addRelativeTo(GR({config:f,instructions:w}),KM)}});var Q0=n(v(),1);var t5=(f)=>{const w=f.tls??!0,{endpoint:E}=f,U=E!=null?async()=>z0(await Q0.normalizeProvider(E)()):void 0;return{...f,endpoint:U,tls:w,isCustomEndpoint:!!E,useDualstackEndpoint:Q0.normalizeProvider(f.useDualstackEndpoint??!1),useFipsEndpoint:Q0.normalizeProvider(f.useFipsEndpoint??!1)}};var d=n(Uw(),1),I9=d.default.v1,O9=d.default.v3,WR=d.default.v4,L9=d.default.v5,A9=d.default.NIL,M9=d.default.version,T9=d.default.validate,F9=d.default.stringify,X9=d.default.parse;var sw=n(v(),1);var y;(function(f){f.STANDARD="standard",f.ADAPTIVE="adaptive"})(y||(y={}));var ff=3,IR=y.STANDARD;var OR=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],LR=["TimeoutError","RequestTimeout","RequestTimeoutException"],AR=[500,502,503,504],MR=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"];var qM=(f)=>f.$metadata?.clockSkewCorrected,Zf=(f)=>f.$metadata?.httpStatusCode===429||OR.includes(f.name)||f.$retryable?.throttling==!0,J0=(f)=>qM(f)||LR.includes(f.name)||MR.includes(f?.code||"")||AR.includes(f.$metadata?.httpStatusCode||0),TR=(f)=>{if(f.$metadata?.httpStatusCode!==void 0){const w=f.$metadata.httpStatusCode;if(500<=w&&w<=599&&!J0(f))return!0;return!1}return!1};class B0{constructor(f){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=f?.beta??0.7,this.minCapacity=f?.minCapacity??1,this.minFillRate=f?.minFillRate??0.5,this.scaleConstant=f?.scaleConstant??0.4,this.smooth=f?.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(f){if(!this.enabled)return;if(this.refillTokenBucket(),f>this.currentCapacity){const w=(f-this.currentCapacity)/this.fillRate*1000;await new Promise((E)=>setTimeout(E,w))}this.currentCapacity=this.currentCapacity-f}refillTokenBucket(){const f=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=f;return}const w=(f-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+w),this.lastTimestamp=f}updateClientSendingRate(f){let w;if(this.updateMeasuredRate(),Zf(f)){const U=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=U,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),w=this.cubicThrottle(U),this.enableTokenBucket()}else this.calculateTimeWindow(),w=this.cubicSuccess(this.getCurrentTimeInSeconds());const E=Math.min(w,2*this.measuredTxRate);this.updateTokenBucketRate(E)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(f){return this.getPrecise(f*this.beta)}cubicSuccess(f){return this.getPrecise(this.scaleConstant*Math.pow(f-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(f){this.refillTokenBucket(),this.fillRate=Math.max(f,this.minFillRate),this.maxCapacity=Math.max(f,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const f=this.getCurrentTimeInSeconds(),w=Math.floor(f*2)/2;if(this.requestCount++,w>this.lastTxRateBucket){const E=this.requestCount/(w-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=w}}getPrecise(f){return parseFloat(f.toFixed(8))}}var wf=100,_f=20000,Dw=500,K0=500,yw=5,vw=10,xw=1,q0="amz-sdk-invocation-id",H0="amz-sdk-request";var FR=()=>{let f=wf;return{computeNextBackoffDelay:(U)=>{return Math.floor(Math.min(_f,Math.random()*2**U*f))},setDelayBase:(U)=>{f=U}}};var dw=({retryDelay:f,retryCount:w,retryCost:E})=>{return{getRetryCount:()=>w,getRetryDelay:()=>Math.min(_f,f),getRetryCost:()=>E}};class Yf{constructor(f){this.maxAttempts=f,this.mode=y.STANDARD,this.capacity=K0,this.retryBackoffStrategy=FR(),this.maxAttemptsProvider=typeof f==="function"?f:async()=>f}async acquireInitialRetryToken(f){return dw({retryDelay:wf,retryCount:0})}async refreshRetryTokenForRetry(f,w){const E=await this.getMaxAttempts();if(this.shouldRetry(f,w,E)){const U=w.errorType;this.retryBackoffStrategy.setDelayBase(U==="THROTTLING"?Dw:wf);const $=this.retryBackoffStrategy.computeNextBackoffDelay(f.getRetryCount()),R=w.retryAfterHint?Math.max(w.retryAfterHint.getTime()-Date.now()||0,$):$,G=this.getCapacityCost(U);return this.capacity-=G,dw({retryDelay:R,retryCount:f.getRetryCount()+1,retryCost:G})}throw new Error("No retry token available")}recordSuccess(f){this.capacity=Math.max(K0,this.capacity+(f.getRetryCost()??xw))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(f){return console.warn(`Max attempts provider could not resolve. Using default of ${ff}`),ff}}shouldRetry(f,w,E){return f.getRetryCount()+1<E&&this.capacity>=this.getCapacityCost(w.errorType)&&this.isRetryableError(w.errorType)}getCapacityCost(f){return f==="TRANSIENT"?vw:yw}isRetryableError(f){return f==="THROTTLING"||f==="TRANSIENT"}}class pw{constructor(f,w){this.maxAttemptsProvider=f,this.mode=y.ADAPTIVE;const{rateLimiter:E}=w??{};this.rateLimiter=E??new B0,this.standardRetryStrategy=new Yf(f)}async acquireInitialRetryToken(f){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(f)}async refreshRetryTokenForRetry(f,w){return this.rateLimiter.updateClientSendingRate(w),this.standardRetryStrategy.refreshRetryTokenForRetry(f,w)}recordSuccess(f){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(f)}}var XR="AWS_MAX_ATTEMPTS",ZR="max_attempts",i9={environmentVariableSelector:(f)=>{const w=f[XR];if(!w)return;const E=parseInt(w);if(Number.isNaN(E))throw new Error(`Environment variable ${XR} mast be a number, got "${w}"`);return E},configFileSelector:(f)=>{const w=f[ZR];if(!w)return;const E=parseInt(w);if(Number.isNaN(E))throw new Error(`Shared config file entry ${ZR} mast be a number, got "${w}"`);return E},default:ff},t9=(f)=>{const{retryStrategy:w}=f,E=sw.normalizeProvider(f.maxAttempts??ff);return{...f,maxAttempts:E,retryStrategy:async()=>{if(w)return w;if(await sw.normalizeProvider(f.retryMode)()===y.ADAPTIVE)return new pw(E);return new Yf(E)}}},HM="AWS_RETRY_MODE",VM="retry_mode",e9={environmentVariableSelector:(f)=>f[HM],configFileSelector:(f)=>f[VM],default:IR};import{Readable as CM} from"stream";var YR=(f)=>f?.body instanceof CM||typeof ReadableStream!=="undefined"&&f?.body instanceof ReadableStream;var gw=(f)=>{if(f instanceof Error)return f;if(f instanceof Object)return Object.assign(new Error,f);if(typeof f==="string")return new Error(f);return new Error(`AWS SDK error wrapper for ${f}`)};var NM=(f)=>(w,E)=>async(U)=>{let $=await f.retryStrategy();const R=await f.maxAttempts();if(PM($)){$=$;let G=await $.acquireInitialRetryToken(E.partition_id),W=new Error,I=0,O=0;const{request:L}=U,A=j.isInstance(L);if(A)L.headers[q0]=WR();while(!0)try{if(A)L.headers[H0]=`attempt=${I+1}; max=${R}`;const{response:T,output:M}=await w(U);return $.recordSuccess(G),M.$metadata.attempts=I+1,M.$metadata.totalRetryDelay=O,{response:T,output:M}}catch(T){const M=SM(T);if(W=gw(T),A&&YR(L))throw(E.logger instanceof zR?console:E.logger)?.warn("An error was encountered in a non-retryable streaming request."),W;try{G=await $.refreshRetryTokenForRetry(G,M)}catch(Y){if(!W.$metadata)W.$metadata={};throw W.$metadata.attempts=I+1,W.$metadata.totalRetryDelay=O,W}I=G.getRetryCount();const X=G.getRetryDelay();O+=X,await new Promise((Y)=>setTimeout(Y,X))}}else{if($=$,$?.mode)E.userAgent=[...E.userAgent||[],["cfg/retry-mode",$.mode]];return $.retry(w,U)}},PM=(f)=>typeof f.acquireInitialRetryToken!=="undefined"&&typeof f.refreshRetryTokenForRetry!=="undefined"&&typeof f.recordSuccess!=="undefined",SM=(f)=>{const w={error:f,errorType:cM(f)},E=jM(f.$response);if(E)w.retryAfterHint=E;return w},cM=(f)=>{if(Zf(f))return"THROTTLING";if(J0(f))return"TRANSIENT";if(TR(f))return"SERVER_ERROR";return"CLIENT_ERROR"},bM={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},LY=(f)=>({applyToStack:(w)=>{w.add(NM(f),bM)}}),jM=(f)=>{if(!nw.isInstance(f))return;const w=Object.keys(f.headers).find((R)=>R.toLowerCase()==="retry-after");if(!w)return;const E=f.headers[w],U=Number(E);if(!Number.isNaN(U))return new Date(U*1000);return new Date(E)};import{platform as H4,release as V4} from"os";import{env as TW,versions as C4} from"process";var W1={isCrtAvailable:!1};var MW=()=>{if(W1.isCrtAvailable)return["md/crt-avail"];return null};var N4="AWS_SDK_UA_APP_ID",P4="sdk-ua-app-id",Y7=({serviceId:f,clientVersion:w})=>{const E=[["aws-sdk-js",w],["ua","2.0"],[`os/${H4()}`,V4()],["lang/js"],["md/nodejs",`${C4.node}`]],U=MW();if(U)E.push(U);if(f)E.push([`api/${f}`,w]);if(TW.AWS_EXECUTION_ENV)E.push([`exec-env/${TW.AWS_EXECUTION_ENV}`]);const $=a({environmentVariableSelector:(G)=>G[N4],configFileSelector:(G)=>G[P4],default:void 0})();let R=void 0;return async()=>{if(!R){const G=await $;R=G?[...E,[`app/${G}`]]:[...E]}return R}};var FW=(f)=>typeof ArrayBuffer==="function"&&f instanceof ArrayBuffer||Object.prototype.toString.call(f)==="[object ArrayBuffer]";import{Buffer as I1} from"buffer";var Uf=(f,w=0,E=f.byteLength-w)=>{if(!FW(f))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof f} (${f})`);return I1.from(f,w,E)},Jf=(f,w)=>{if(typeof f!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof f} (${f})`);return w?I1.from(f,w):I1.from(f)};var y0=(f)=>{const w=Jf(f,"utf8");return new Uint8Array(w.buffer,w.byteOffset,w.byteLength/Uint8Array.BYTES_PER_ELEMENT)};var XW=(f)=>{if(typeof f==="string")return y0(f);if(ArrayBuffer.isView(f))return new Uint8Array(f.buffer,f.byteOffset,f.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(f)};var S7=(f)=>{if(typeof f==="string")return f;if(typeof f!=="object"||typeof f.byteOffset!=="number"||typeof f.byteLength!=="number")throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return Uf(f.buffer,f.byteOffset,f.byteLength).toString("utf8")};import{Buffer as S4} from"buffer";import{createHash as c4,createHmac as b4} from"crypto";var ZW=function(f,w){if(S4.isBuffer(f))return f;if(typeof f==="string")return Jf(f,w);if(ArrayBuffer.isView(f))return Uf(f.buffer,f.byteOffset,f.byteLength);return Uf(f)};class j4{constructor(f,w){this.algorithmIdentifier=f,this.secret=w,this.reset()}update(f,w){this.hash.update(XW(ZW(f,w)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?b4(this.algorithmIdentifier,ZW(this.secret)):c4(this.algorithmIdentifier)}}import{fstatSync as h4,lstatSync as u4} from"fs";var d7=(f)=>{if(!f)return 0;if(typeof f==="string")return Buffer.byteLength(f);else if(typeof f.byteLength==="number")return f.byteLength;else if(typeof f.size==="number")return f.size;else if(typeof f.start==="number"&&typeof f.end==="number")return f.end+1-f.start;else if(typeof f.path==="string"||Buffer.isBuffer(f.path))return u4(f.path).size;else if(typeof f.fd==="number")return h4(f.fd).size;throw new Error(`Body Length computation failed for ${f}`)};var KW=n(o0(),1);var YW="AWS_EXECUTION_ENV",O1="AWS_REGION",L1="AWS_DEFAULT_REGION",zW="AWS_EC2_METADATA_DISABLED",QW=["in-region","cross-region","mobile","standard","legacy"],JW="/latest/meta-data/placement/region";var BW={environmentVariableSelector:(f)=>{return f["AWS_DEFAULTS_MODE"]},configFileSelector:(f)=>{return f["defaults_mode"]},default:"legacy"};var t7=({region:f=a(lU),defaultsMode:w=a(BW)}={})=>KW.memoize(async()=>{const E=typeof w==="function"?await w():w;switch(E?.toLowerCase()){case"auto":return k4(f);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(E?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${QW.join(", ")}, got ${E}`)}}),k4=async(f)=>{if(f){const w=typeof f==="function"?await f():f,E=await _4();if(!E)return"standard";if(w===E)return"in-region";else return"cross-region"}return"standard"},_4=async()=>{if(process.env[YW]&&(process.env[O1]||process.env[L1]))return process.env[O1]??process.env[L1];if(!process.env[zW])try{const{getInstanceMetadataEndpoint:f,httpRequest:w}=await import("./chunk-77d5bbc7a9117c21.js"),E=await f();return(await w({...E,path:JW})).toString()}catch(f){}};var wz=(f)=>{let w=async()=>{if(f.region===void 0)throw new Error("Region is missing from runtimeConfig");const E=f.region;if(typeof E==="string")return E;return E()};return{setRegion(E){w=E},region(){return w}}},Ez=(f)=>{return{region:f.region()}};var y4=/^[A-Za-z0-9+/]*={0,2}$/,Qz=(f)=>{if(f.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!y4.exec(f))throw new TypeError("Invalid base64 string.");const w=Jf(f,"base64");return new Uint8Array(w.buffer,w.byteOffset,w.byteLength)};var qz=(f)=>{let w;if(typeof f==="string")w=y0(f);else w=f;if(typeof w!=="object"||typeof w.byteOffset!=="number"||typeof w.byteLength!=="number")throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return Uf(w.buffer,w.byteOffset,w.byteLength).toString("base64")};export{x4 as oa,d4 as pa,s4 as qa,l4 as ra,v as sa,ZG as ta,Xf as ua,l as va,Vw as wa,cF as xa,kf as ya,fM as za,UM as Aa,OZ as Ba,SZ as Ca,jZ as Da,lU as Ea,gZ as Fa,QZ as Ga,Y5 as Ha,BM as Ia,q5 as Ja,l5 as Ka,t5 as La,IR as Ma,WR as Na,i9 as Oa,t9 as Pa,e9 as Qa,LY as Ra,rR as Sa,q4 as Ta,Y7 as Ua,FW as Va,y0 as Wa,XW as Xa,S7 as Ya,j4 as Za,d7 as _a,Qz as $a,qz as ab,t7 as bb,wz as cb,Ez as db};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{y as x} from"./chunk-7ce930fe69575c87.js";import{lb as S} from"./chunk-c7e2acfd5087fb30.js";var q="AWS_PROFILE";var B=(o)=>o.profile||process.env["AWS_PROFILE"]||"default";import{join as b} from"path";import{homedir as N} from"os";import{sep as L} from"path";var d={},w=()=>{if(process&&process.geteuid)return`${process.geteuid()}`;return"DEFAULT"},f=()=>{const{HOME:o,USERPROFILE:e,HOMEPATH:t,HOMEDRIVE:r=`C:${L}`}=process.env;if(o)return o;if(e)return e;if(t)return`${r}${t}`;const i=w();if(!d[i])d[i]=N();return d[i]};var v="AWS_CONFIG_FILE",g=()=>process.env[v]||b(f(),".aws","config");var D=x(S(),1);import{join as I} from"path";var h=x(S(),1);var O=(o)=>Object.entries(o).filter(([e])=>{const t=e.indexOf(c);if(t===-1)return!1;return Object.values(h.IniSectionType).includes(e.substring(0,t))}).reduce((e,[t,r])=>{const i=t.indexOf(c),s=t.substring(0,i)===h.IniSectionType.PROFILE?t.substring(i+1):t;return e[s]=r,e},{...o.default&&{default:o.default}});import{join as j} from"path";var y="AWS_SHARED_CREDENTIALS_FILE",_=()=>process.env[y]||j(f(),".aws","credentials");var C=x(S(),1);var $=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,G=["__proto__","profile __proto__"],a=(o)=>{const e={};let t,r;for(let i of o.split(/\r?\n/)){const s=i.split(/(^|\s)[;#]/)[0].trim();if(s[0]==="["&&s[s.length-1]==="]"){t=void 0,r=void 0;const n=s.substring(1,s.length-1),m=$.exec(n);if(m){const[,p,,F]=m;if(Object.values(C.IniSectionType).includes(p))t=[p,F].join(c)}else t=n;if(G.includes(n))throw new Error(`Found invalid profile name "${n}"`)}else if(t){const n=s.indexOf("=");if(![0,-1].includes(n)){const[m,p]=[s.substring(0,n).trim(),s.substring(n+1).trim()];if(p==="")r=m;else{if(r&&i.trimStart()===i)r=void 0;e[t]=e[t]||{};const F=r?[r,m].join(c):m;e[t][F]=p}}}}return e};import{promises as W} from"fs";var{readFile:K}=W,E={},l=(o,e)=>{if(!E[o]||e?.ignoreCache)E[o]=K(o,"utf8");return E[o]};var P=()=>({}),c=".",R=async(o={})=>{const{filepath:e=_(),configFilepath:t=g()}=o,r=f();let s=e;if(e.startsWith("~/"))s=I(r,e.slice(2));let u=t;if(t.startsWith("~/"))u=I(r,t.slice(2));const n=await Promise.all([l(u,{ignoreCache:o.ignoreCache}).then(a).then(O).catch(P),l(s,{ignoreCache:o.ignoreCache}).then(a).catch(P)]);return{configFile:n[0],credentialsFile:n[1]}};var T=(o)=>Object.entries(o).filter(([e])=>e.startsWith(D.IniSectionType.SSO_SESSION+c)).reduce((e,[t,r])=>({...e,[t.substring(t.indexOf(c)+1)]:r}),{});var V=()=>({}),Pe=async(o={})=>l(o.configFilepath??g()).then(a).then(T).catch(V);var A=(...o)=>{const e={};for(let t of o)for(let[r,i]of Object.entries(t))if(e[r]!==void 0)Object.assign(e[r],i);else e[r]=i;return e};var He=async(o)=>{const e=await R(o);return A(e.configFile,e.credentialsFile)};import{createHash as U} from"crypto";import{join as X} from"path";var H=(o)=>{const t=U("sha1").update(o).digest("hex");return X(f(),".aws","sso","cache",`${t}.json`)};import{promises as k} from"fs";var{readFile:M}=k,$e=async(o)=>{const e=H(o),t=await M(e,"utf8");return JSON.parse(t)};export{q as vb,B as wb,H as xb,$e as yb,c as zb,R as Ab,Pe as Bb,He as Cb};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
class n extends Error{constructor(t,e=!0){let o,r=!0;if(typeof e==="boolean")o=void 0,r=e;else if(e!=null&&typeof e==="object")o=e.logger,r=e.tryNextLink??!0;super(t);this.name="ProviderError",this.tryNextLink=r,Object.setPrototypeOf(this,n.prototype),o?.debug?.(`@smithy/property-provider ${r?"->":"(!)"} ${t}`)}static from(t,e=!0){return Object.assign(new this(t.message,e),t)}}class u extends n{constructor(t,e=!0){super(t,e);this.name="CredentialsProviderError",Object.setPrototypeOf(this,u.prototype)}}class l extends n{constructor(t,e=!0){super(t,e);this.name="TokenProviderError",Object.setPrototypeOf(this,l.prototype)}}var v=(...t)=>async()=>{if(t.length===0)throw new n("No providers in chain");let e;for(let o of t)try{return await o()}catch(r){if(e=r,r?.tryNextLink)continue;throw r}throw e};var w=(t)=>()=>Promise.resolve(t);var b=(t,e,o)=>{let r,i,s,f=!1;const a=async()=>{if(!i)i=t();try{r=await i,s=!0,f=!1}finally{i=void 0}return r};if(e===void 0)return async(c)=>{if(!s||c?.forceRefresh)r=await a();return r};return async(c)=>{if(!s||c?.forceRefresh)r=await a();if(f)return r;if(o&&!o(r))return f=!0,r;if(e(r))return await a(),r;return r}};export{n as lb,u as mb,l as nb,v as ob,w as pb,b as qb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{z as D} from"./chunk-7ce930fe69575c87.js";var S=D((y,w)=>{var{defineProperty:G,getOwnPropertyDescriptor:v,getOwnPropertyNames:O}=Object,x=Object.prototype.hasOwnProperty,Q=(b,j)=>G(b,"name",{value:j,configurable:!0}),U=(b,j)=>{for(var z in j)G(b,z,{get:j[z],enumerable:!0})},K=(b,j,z,V)=>{if(j&&typeof j==="object"||typeof j==="function"){for(let B of O(j))if(!x.call(b,B)&&B!==z)G(b,B,{get:()=>j[B],enumerable:!(V=v(j,B))||V.enumerable})}return b},q=(b)=>K(G({},"__esModule",{value:!0}),b),W={};U(W,{AlgorithmId:()=>J,EndpointURLScheme:()=>X,FieldPosition:()=>M,HttpApiKeyAuthLocation:()=>$,HttpAuthLocation:()=>Z,IniSectionType:()=>N,RequestHandlerProtocol:()=>Y,SMITHY_CONTEXT_KEY:()=>R,getDefaultClientConfiguration:()=>T,resolveDefaultRuntimeConfig:()=>k});w.exports=q(W);var Z=((b)=>{return b.HEADER="header",b.QUERY="query",b})(Z||{}),$=((b)=>{return b.HEADER="header",b.QUERY="query",b})($||{}),X=((b)=>{return b.HTTP="http",b.HTTPS="https",b})(X||{}),J=((b)=>{return b.MD5="md5",b.CRC32="crc32",b.CRC32C="crc32c",b.SHA1="sha1",b.SHA256="sha256",b})(J||{}),E=Q((b)=>{const j=[];if(b.sha256!==void 0)j.push({algorithmId:()=>"sha256",checksumConstructor:()=>b.sha256});if(b.md5!=null)j.push({algorithmId:()=>"md5",checksumConstructor:()=>b.md5});return{_checksumAlgorithms:j,addChecksumAlgorithm(z){this._checksumAlgorithms.push(z)},checksumAlgorithms(){return this._checksumAlgorithms}}},"getChecksumConfiguration"),F=Q((b)=>{const j={};return b.checksumAlgorithms().forEach((z)=>{j[z.algorithmId()]=z.checksumConstructor()}),j},"resolveChecksumRuntimeConfig"),T=Q((b)=>{return{...E(b)}},"getDefaultClientConfiguration"),k=Q((b)=>{return{...F(b)}},"resolveDefaultRuntimeConfig"),M=((b)=>{return b[b.HEADER=0]="HEADER",b[b.TRAILER=1]="TRAILER",b})(M||{}),R="__smithy_context",N=((b)=>{return b.PROFILE="profile",b.SSO_SESSION="sso-session",b.SERVICES="services",b})(N||{}),Y=((b)=>{return b.HTTP_0_9="http/0.9",b.HTTP_1_0="http/1.0",b.TDS_8_0="tds/8.0",b})(Y||{})});
|
|
2
|
-
export{S as db};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var l="GEMI_REQUEST_BREAKER_ERROR";class a extends Error{constructor(){super(...arguments)}kind="GEMI_REQUEST_BREAKER_ERROR";payload={api:{},view:{}}}import{AsyncLocalStorage as p} from"async_hooks";class e{t;i;s;constructor(t,i,s={}){this.name=t;this.value=i;this.options=s}toString(){return[`${this.name}=${this.value}`,this.options.maxAge?`Max-Age=${this.options.maxAge}`:"",this.options.httpOnly?"HttpOnly":"",this.options.secure?"Secure":"",this.options.sameSite?`SameSite=${this.options.sameSite}`:"SameSite=Strict",this.options.path?`Path=${this.options.path}`:"Path=/",this.options.domain?`Domain=${this.options.domain}`:"",this.options.expires?`Expires=${this.options.expires.toUTCString()}`:"",this.options.partitioned?"Partitioned":""].filter((t)=>t!=="").join("; ")}}var o=new p;class r{cookies=new Set;user=null;req=null;constructor(){}setCookie(t,i,s={}){this.cookies.add(new e(t,i,s))}setUser(t){this.user=t}setRequest(t){this.req=t}}class R{static getStore(){return o.getStore()}static setRequest(t){o.getStore().req=t}static async run(t){return o.run(new r,t)}}import{AsyncLocalStorage as u} from"async_hooks";var n=new u;class c{static getStore=()=>n.getStore()}
|
|
2
|
-
export{l,a as m,R as n,n as o,c as p};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import"./chunk-84c7f86a97d17f53.js";import{s as z} from"./chunk-c675f193d459818e.js";import{B as w0,C as G0,D as W0,F as Nl,G as F0,K as Wl,L as Tl,N as Al,O as Rl,Q as sl,R as _l,Y as K,Z as Hh,_ as o0,ca as T0,ea as S,ga as u,ja as A0,la as $0,ma as A,na as R0,oa as bl,pa as fl,qa as I0,ra as H0,sa as eh} from"./chunk-63ad0436d3d896b5.js";import{$a as dh,Aa as K0,Ba as Sd,Fa as Qh,Ga as B0,Ha as Pl,Ia as vl,Ja as Ml,Ka as q0,La as Cl,Ma as Ol,Na as gl,Oa as xl,Pa as y0,Qa as Q0,Sa as F,Ta as B,Ua as X0,Va as il,Wa as cl,Xa as Y0,Ya as el,Za as Z0,ab as pl,bb as nl,cb as ol,db as ul,eb as S0,fb as m0,xa as D0,ya as E0,za as k0} from"./chunk-a095821ffc039b99.js";import"./chunk-72821f055108528e.js";import{hb as kd,ib as f} from"./chunk-640e4bdae1671873.js";import"./chunk-5656abf3151c8fa2.js";import{kb as Xh} from"./chunk-dd211856e049a67f.js";import"./chunk-8401f0f53dc26633.js";var C=z(Qh(),1);var wl=z(dh(),1),wh=z(Sd(),1);var md=function(h){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:h.region},propertiesExtractor:(d,l)=>({signingProperties:{config:d,context:l}})}},dl=function(h){return{schemeId:"smithy.api#noAuth"}},Gl=async(h,d,l)=>{return{operation:wh.getSmithyContext(d).operation,region:await wh.normalizeProvider(h.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},Il=(h)=>{const d=[];switch(h.operation){case"AssumeRoleWithSAML":{d.push(dl(h));break}case"AssumeRoleWithWebIdentity":{d.push(dl(h));break}default:d.push(md(h))}return d},Jd=(h)=>({...h,stsClientCtor:R}),Hl=(h)=>{const d=Jd(h);return{...wl.resolveAwsSdkSigV4Config(d)}};var Sl=(h)=>{return{...h,useDualstackEndpoint:h.useDualstackEndpoint??!1,useFipsEndpoint:h.useFipsEndpoint??!1,useGlobalEndpoint:h.useGlobalEndpoint??!1,defaultSigningName:"sts"}},D={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var ml={name:"@aws-sdk/client-sts",description:"AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",version:"3.629.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-sts","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"rimraf ./dist-types tsconfig.types.tsbuildinfo && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sts",test:"yarn test:unit","test:unit":"jest"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sso-oidc":"3.629.0","@aws-sdk/core":"3.629.0","@aws-sdk/credential-provider-node":"3.629.0","@aws-sdk/middleware-host-header":"3.620.0","@aws-sdk/middleware-logger":"3.609.0","@aws-sdk/middleware-recursion-detection":"3.620.0","@aws-sdk/middleware-user-agent":"3.620.0","@aws-sdk/region-config-resolver":"3.614.0","@aws-sdk/types":"3.609.0","@aws-sdk/util-endpoints":"3.614.0","@aws-sdk/util-user-agent-browser":"3.609.0","@aws-sdk/util-user-agent-node":"3.614.0","@smithy/config-resolver":"^3.0.5","@smithy/core":"^2.3.2","@smithy/fetch-http-handler":"^3.2.4","@smithy/hash-node":"^3.0.3","@smithy/invalid-dependency":"^3.0.3","@smithy/middleware-content-length":"^3.0.5","@smithy/middleware-endpoint":"^3.1.0","@smithy/middleware-retry":"^3.0.14","@smithy/middleware-serde":"^3.0.3","@smithy/middleware-stack":"^3.0.3","@smithy/node-config-provider":"^3.1.4","@smithy/node-http-handler":"^3.1.4","@smithy/protocol-http":"^4.1.0","@smithy/smithy-client":"^3.1.12","@smithy/types":"^3.3.0","@smithy/url-parser":"^3.0.3","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.14","@smithy/util-defaults-mode-node":"^3.0.14","@smithy/util-endpoints":"^2.0.5","@smithy/util-middleware":"^3.0.3","@smithy/util-retry":"^3.0.3","@smithy/util-utf8":"^3.0.0",tslib:"^2.6.2"},devDependencies:{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typescript:"~4.9.5"},engines:{node:">=16.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sts"}};var Gh=z(dh(),1);var tl=z(Qh(),1);var Ll=z(dh(),1),jl=z(Qh(),1);var al=z(kd(),1);var Jl={["required"]:!1,["type"]:"String"},yh={["required"]:!0,default:!1,["type"]:"Boolean"},Ql={["ref"]:"Endpoint"},Dl={["fn"]:"isSet",["argv"]:[{["ref"]:"Region"}]},J={["ref"]:"Region"},El={["fn"]:"aws.partition",["argv"]:[J],assign:"PartitionResult"},Xl={["ref"]:"UseFIPS"},Yl={["ref"]:"UseDualStack"},E={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:"sigv4",signingName:"sts",signingRegion:"us-east-1"}]},headers:{}},X={},kl={conditions:[{["fn"]:"stringEquals",["argv"]:[J,"aws-global"]}],["endpoint"]:E,["type"]:"endpoint"},Zl={["fn"]:"booleanEquals",["argv"]:[Xl,!0]},$l={["fn"]:"booleanEquals",["argv"]:[Yl,!0]},Kl={["fn"]:"getAttr",["argv"]:[{["ref"]:"PartitionResult"},"supportsFIPS"]},Ul={["ref"]:"PartitionResult"},Fl={["fn"]:"booleanEquals",["argv"]:[!0,{["fn"]:"getAttr",["argv"]:[Ul,"supportsDualStack"]}]},Bl=[{["fn"]:"isSet",["argv"]:[Ql]}],ql=[Zl],yl=[$l],Ed={version:"1.0",parameters:{Region:Jl,UseDualStack:yh,UseFIPS:yh,Endpoint:Jl,UseGlobalEndpoint:yh},rules:[{conditions:[{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseGlobalEndpoint"},!0]},{["fn"]:"not",["argv"]:Bl},Dl,El,{["fn"]:"booleanEquals",["argv"]:[Xl,!1]},{["fn"]:"booleanEquals",["argv"]:[Yl,!1]}],rules:[{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"ap-northeast-1"]}],endpoint:E,["type"]:"endpoint"},{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"ap-south-1"]}],endpoint:E,["type"]:"endpoint"},{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"ap-southeast-1"]}],endpoint:E,["type"]:"endpoint"},{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"ap-southeast-2"]}],endpoint:E,["type"]:"endpoint"},kl,{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"ca-central-1"]}],endpoint:E,["type"]:"endpoint"},{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"eu-central-1"]}],endpoint:E,["type"]:"endpoint"},{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"eu-north-1"]}],endpoint:E,["type"]:"endpoint"},{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"eu-west-1"]}],endpoint:E,["type"]:"endpoint"},{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"eu-west-2"]}],endpoint:E,["type"]:"endpoint"},{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"eu-west-3"]}],endpoint:E,["type"]:"endpoint"},{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"sa-east-1"]}],endpoint:E,["type"]:"endpoint"},{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"us-east-1"]}],endpoint:E,["type"]:"endpoint"},{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"us-east-2"]}],endpoint:E,["type"]:"endpoint"},{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"us-west-1"]}],endpoint:E,["type"]:"endpoint"},{conditions:[{["fn"]:"stringEquals",["argv"]:[J,"us-west-2"]}],endpoint:E,["type"]:"endpoint"},{endpoint:{url:"https://sts.{Region}.{PartitionResult#dnsSuffix}",properties:{authSchemes:[{name:"sigv4",signingName:"sts",signingRegion:"{Region}"}]},headers:X},["type"]:"endpoint"}],["type"]:"tree"},{conditions:Bl,rules:[{conditions:ql,error:"Invalid Configuration: FIPS and custom endpoint are not supported",["type"]:"error"},{conditions:yl,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",["type"]:"error"},{endpoint:{url:Ql,properties:X,headers:X},["type"]:"endpoint"}],["type"]:"tree"},{conditions:[Dl],rules:[{conditions:[El],rules:[{conditions:[Zl,$l],rules:[{conditions:[{["fn"]:"booleanEquals",["argv"]:[!0,Kl]},Fl],rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:X,headers:X},["type"]:"endpoint"}],["type"]:"tree"},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",["type"]:"error"}],["type"]:"tree"},{conditions:ql,rules:[{conditions:[{["fn"]:"booleanEquals",["argv"]:[Kl,!0]}],rules:[{conditions:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ul,"name"]},"aws-us-gov"]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:X,headers:X},["type"]:"endpoint"},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:X,headers:X},["type"]:"endpoint"}],["type"]:"tree"},{error:"FIPS is enabled but this partition does not support FIPS",["type"]:"error"}],["type"]:"tree"},{conditions:yl,rules:[{conditions:[Fl],rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:X,headers:X},["type"]:"endpoint"}],["type"]:"tree"},{error:"DualStack is enabled but this partition does not support DualStack",["type"]:"error"}],["type"]:"tree"},kl,{endpoint:{url:"https://sts.{Region}.{PartitionResult#dnsSuffix}",properties:X,headers:X},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{error:"Invalid Configuration: Missing Region",["type"]:"error"}]},Vl=Ed;var zl=(h,d={})=>{return vl(Vl,{endpointParams:h,logger:d.logger})};Pl.aws=Ml;var rl=(h)=>{return{apiVersion:"2011-06-15",base64Decoder:h?.base64Decoder??Wl,base64Encoder:h?.base64Encoder??Rl,disableHostPrefix:h?.disableHostPrefix??!1,endpointProvider:h?.endpointProvider??zl,extensions:h?.extensions??[],httpAuthSchemeProvider:h?.httpAuthSchemeProvider??Il,httpAuthSchemes:h?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(d)=>d.getIdentityProvider("aws.auth#sigv4"),signer:new Ll.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(d)=>d.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new jl.NoAuthSigner}],logger:h?.logger??new Nl,serviceId:h?.serviceId??"STS",urlParser:h?.urlParser??al.parseUrl,utf8Decoder:h?.utf8Decoder??Tl,utf8Encoder:h?.utf8Encoder??Al}};var h0=(h)=>{fl(process.version);const d=ul(h),l=()=>d().then(bl),w=rl(h);return Gh.emitWarningIfUnsupportedVersion(process.version),{...w,...h,runtime:"node",defaultsMode:d,bodyLengthChecker:h?.bodyLengthChecker??ol,credentialDefaultProvider:h?.credentialDefaultProvider??Xh,defaultUserAgentProvider:h?.defaultUserAgentProvider??pl({serviceId:w.serviceId,clientVersion:ml.version}),httpAuthSchemes:h?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(G)=>G.getIdentityProvider("aws.auth#sigv4")||(async(H)=>await Xh(H?.__config||{})()),signer:new Gh.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(G)=>G.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new tl.NoAuthSigner}],maxAttempts:h?.maxAttempts??f(cl),region:h?.region??f(gl,xl),requestHandler:sl.create(h?.requestHandler??l),retryMode:h?.retryMode??f({...el,default:async()=>(await l()).retryMode||il}),sha256:h?.sha256??nl.bind(null,"sha256"),streamCollector:h?.streamCollector??_l,useDualstackEndpoint:h?.useDualstackEndpoint??f(Cl),useFipsEndpoint:h?.useFipsEndpoint??f(Ol)}};var l0=(h)=>{const d=h.httpAuthSchemes;let{httpAuthSchemeProvider:l,credentials:w}=h;return{setHttpAuthScheme(G){const H=d.findIndex((I)=>I.schemeId===G.schemeId);if(H===-1)d.push(G);else d.splice(H,1,G)},httpAuthSchemes(){return d},setHttpAuthSchemeProvider(G){l=G},httpAuthSchemeProvider(){return l},setCredentials(G){w=G},credentials(){return w}}},d0=(h)=>{return{httpAuthSchemes:h.httpAuthSchemes(),httpAuthSchemeProvider:h.httpAuthSchemeProvider(),credentials:h.credentials()}};var Ih=(h)=>h,J0=(h,d)=>{const l={...Ih(S0(h)),...Ih(I0(h)),...Ih(w0(h)),...Ih(l0(h))};return d.forEach((w)=>w.configure(l)),{...h,...m0(l),...H0(l),...G0(l),...d0(l)}};class R extends F0{constructor(...[h]){const d=h0(h||{}),l=Sl(d),w=B0(l),G=Y0(w),H=y0(G),I=D0(H),Q=X0(I),v=Hl(Q),M=J0(v,h?.extensions||[]);super(M);this.config=M,this.middlewareStack.use(q0(this.config)),this.middlewareStack.use(Z0(this.config)),this.middlewareStack.use(Q0(this.config)),this.middlewareStack.use(E0(this.config)),this.middlewareStack.use(k0(this.config)),this.middlewareStack.use(K0(this.config)),this.middlewareStack.use(C.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:Gl,identityProviderConfigProvider:async(n)=>new C.DefaultIdentityProviderConfig({"aws.auth#sigv4":n.credentials})})),this.middlewareStack.use(C.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class Y extends $0{constructor(h){super(h);Object.setPrototypeOf(this,Y.prototype)}}class Sh extends Y{constructor(h){super({name:"ExpiredTokenException",$fault:"client",...h});this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,Sh.prototype)}}class mh extends Y{constructor(h){super({name:"MalformedPolicyDocumentException",$fault:"client",...h});this.name="MalformedPolicyDocumentException",this.$fault="client",Object.setPrototypeOf(this,mh.prototype)}}class Jh extends Y{constructor(h){super({name:"PackedPolicyTooLargeException",$fault:"client",...h});this.name="PackedPolicyTooLargeException",this.$fault="client",Object.setPrototypeOf(this,Jh.prototype)}}class Dh extends Y{constructor(h){super({name:"RegionDisabledException",$fault:"client",...h});this.name="RegionDisabledException",this.$fault="client",Object.setPrototypeOf(this,Dh.prototype)}}class Eh extends Y{constructor(h){super({name:"IDPRejectedClaimException",$fault:"client",...h});this.name="IDPRejectedClaimException",this.$fault="client",Object.setPrototypeOf(this,Eh.prototype)}}class kh extends Y{constructor(h){super({name:"InvalidIdentityTokenException",$fault:"client",...h});this.name="InvalidIdentityTokenException",this.$fault="client",Object.setPrototypeOf(this,kh.prototype)}}class Kh extends Y{constructor(h){super({name:"IDPCommunicationErrorException",$fault:"client",...h});this.name="IDPCommunicationErrorException",this.$fault="client",Object.setPrototypeOf(this,Kh.prototype)}}class Fh extends Y{constructor(h){super({name:"InvalidAuthorizationMessageException",$fault:"client",...h});this.name="InvalidAuthorizationMessageException",this.$fault="client",Object.setPrototypeOf(this,Fh.prototype)}}var o=(h)=>({...h,...h.SecretAccessKey&&{SecretAccessKey:Hh}}),U0=(h)=>({...h,...h.Credentials&&{Credentials:o(h.Credentials)}}),V0=(h)=>({...h,...h.SAMLAssertion&&{SAMLAssertion:Hh}}),P0=(h)=>({...h,...h.Credentials&&{Credentials:o(h.Credentials)}}),v0=(h)=>({...h,...h.WebIdentityToken&&{WebIdentityToken:Hh}}),M0=(h)=>({...h,...h.Credentials&&{Credentials:o(h.Credentials)}}),z0=(h)=>({...h,...h.Credentials&&{Credentials:o(h.Credentials)}}),N0=(h)=>({...h,...h.Credentials&&{Credentials:o(h.Credentials)}});var P=z(dh(),1);var L0=async(h,d)=>{const l=a;let w;return w=b({...Zd(h,d),[s]:ud,[_]:r}),j(d,l,"/",void 0,w)},j0=async(h,d)=>{const l=a;let w;return w=b({...$d(h,d),[s]:td,[_]:r}),j(d,l,"/",void 0,w)},a0=async(h,d)=>{const l=a;let w;return w=b({...Ud(h,d),[s]:hw,[_]:r}),j(d,l,"/",void 0,w)},r0=async(h,d)=>{const l=a;let w;return w=b({...Vd(h,d),[s]:lw,[_]:r}),j(d,l,"/",void 0,w)},s0=async(h,d)=>{const l=a;let w;return w=b({...Pd(h,d),[s]:dw,[_]:r}),j(d,l,"/",void 0,w)},_0=async(h,d)=>{const l=a;let w;return w=b({...vd(h,d),[s]:ww,[_]:r}),j(d,l,"/",void 0,w)},b0=async(h,d)=>{const l=a;let w;return w=b({...Md(h,d),[s]:Gw,[_]:r}),j(d,l,"/",void 0,w)},f0=async(h,d)=>{const l=a;let w;return w=b({...zd(h,d),[s]:Iw,[_]:r}),j(d,l,"/",void 0,w)},C0=async(h,d)=>{if(h.statusCode>=300)return L(h,d);const l=await P.parseXmlBody(h.body,d);let w={};return w=Ld(l.AssumeRoleResult,d),{$metadata:k(h),...w}},O0=async(h,d)=>{if(h.statusCode>=300)return L(h,d);const l=await P.parseXmlBody(h.body,d);let w={};return w=jd(l.AssumeRoleWithSAMLResult,d),{$metadata:k(h),...w}},g0=async(h,d)=>{if(h.statusCode>=300)return L(h,d);const l=await P.parseXmlBody(h.body,d);let w={};return w=ad(l.AssumeRoleWithWebIdentityResult,d),{$metadata:k(h),...w}},x0=async(h,d)=>{if(h.statusCode>=300)return L(h,d);const l=await P.parseXmlBody(h.body,d);let w={};return w=rd(l.DecodeAuthorizationMessageResult,d),{$metadata:k(h),...w}},i0=async(h,d)=>{if(h.statusCode>=300)return L(h,d);const l=await P.parseXmlBody(h.body,d);let w={};return w=bd(l.GetAccessKeyInfoResult,d),{$metadata:k(h),...w}},c0=async(h,d)=>{if(h.statusCode>=300)return L(h,d);const l=await P.parseXmlBody(h.body,d);let w={};return w=fd(l.GetCallerIdentityResult,d),{$metadata:k(h),...w}},e0=async(h,d)=>{if(h.statusCode>=300)return L(h,d);const l=await P.parseXmlBody(h.body,d);let w={};return w=Cd(l.GetFederationTokenResult,d),{$metadata:k(h),...w}},p0=async(h,d)=>{if(h.statusCode>=300)return L(h,d);const l=await P.parseXmlBody(h.body,d);let w={};return w=Od(l.GetSessionTokenResult,d),{$metadata:k(h),...w}},L=async(h,d)=>{const l={...h,body:await P.parseXmlErrorBody(h.body,d)},w=Hw(h,l.body);switch(w){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await Kd(l,d);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await Qd(l,d);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Xd(l,d);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await Yd(l,d);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await Bd(l,d);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await yd(l,d);case"IDPCommunicationError":case"com.amazonaws.sts#IDPCommunicationErrorException":throw await Fd(l,d);case"InvalidAuthorizationMessageException":case"com.amazonaws.sts#InvalidAuthorizationMessageException":throw await qd(l,d);default:const G=l.body;return od({output:h,parsedBody:G.Error,errorCode:w})}},Kd=async(h,d)=>{const l=h.body,w=sd(l.Error,d),G=new Sh({$metadata:k(h),...w});return A(G,l)},Fd=async(h,d)=>{const l=h.body,w=gd(l.Error,d),G=new Kh({$metadata:k(h),...w});return A(G,l)},Bd=async(h,d)=>{const l=h.body,w=xd(l.Error,d),G=new Eh({$metadata:k(h),...w});return A(G,l)},qd=async(h,d)=>{const l=h.body,w=id(l.Error,d),G=new Fh({$metadata:k(h),...w});return A(G,l)},yd=async(h,d)=>{const l=h.body,w=cd(l.Error,d),G=new kh({$metadata:k(h),...w});return A(G,l)},Qd=async(h,d)=>{const l=h.body,w=ed(l.Error,d),G=new mh({$metadata:k(h),...w});return A(G,l)},Xd=async(h,d)=>{const l=h.body,w=pd(l.Error,d),G=new Jh({$metadata:k(h),...w});return A(G,l)},Yd=async(h,d)=>{const l=h.body,w=nd(l.Error,d),G=new Dh({$metadata:k(h),...w});return A(G,l)},Zd=(h,d)=>{const l={};if(h[T]!=null)l[T]=h[T];if(h[i]!=null)l[i]=h[i];if(h[$]!=null){const w=Bh(h[$],d);if(h[$]?.length===0)l.PolicyArns=[];Object.entries(w).forEach(([G,H])=>{const I=`PolicyArns.${G}`;l[I]=H})}if(h[Z]!=null)l[Z]=h[Z];if(h[y]!=null)l[y]=h[y];if(h[e]!=null){const w=n0(h[e],d);if(h[e]?.length===0)l.Tags=[];Object.entries(w).forEach(([G,H])=>{const I=`Tags.${G}`;l[I]=H})}if(h[Oh]!=null){const w=Rd(h[Oh],d);if(h[Oh]?.length===0)l.TransitiveTagKeys=[];Object.entries(w).forEach(([G,H])=>{const I=`TransitiveTagKeys.${G}`;l[I]=H})}if(h[Vh]!=null)l[Vh]=h[Vh];if(h[c]!=null)l[c]=h[c];if(h[p]!=null)l[p]=h[p];if(h[V]!=null)l[V]=h[V];if(h[Lh]!=null){const w=Td(h[Lh],d);if(h[Lh]?.length===0)l.ProvidedContexts=[];Object.entries(w).forEach(([G,H])=>{const I=`ProvidedContexts.${G}`;l[I]=H})}return l},$d=(h,d)=>{const l={};if(h[T]!=null)l[T]=h[T];if(h[Ah]!=null)l[Ah]=h[Ah];if(h[_h]!=null)l[_h]=h[_h];if(h[$]!=null){const w=Bh(h[$],d);if(h[$]?.length===0)l.PolicyArns=[];Object.entries(w).forEach(([G,H])=>{const I=`PolicyArns.${G}`;l[I]=H})}if(h[Z]!=null)l[Z]=h[Z];if(h[y]!=null)l[y]=h[y];return l},Ud=(h,d)=>{const l={};if(h[T]!=null)l[T]=h[T];if(h[i]!=null)l[i]=h[i];if(h[ih]!=null)l[ih]=h[ih];if(h[jh]!=null)l[jh]=h[jh];if(h[$]!=null){const w=Bh(h[$],d);if(h[$]?.length===0)l.PolicyArns=[];Object.entries(w).forEach(([G,H])=>{const I=`PolicyArns.${G}`;l[I]=H})}if(h[Z]!=null)l[Z]=h[Z];if(h[y]!=null)l[y]=h[y];return l},Vd=(h,d)=>{const l={};if(h[Ph]!=null)l[Ph]=h[Ph];return l},Pd=(h,d)=>{const l={};if(h[O]!=null)l[O]=h[O];return l},vd=(h,d)=>{return{}},Md=(h,d)=>{const l={};if(h[Wh]!=null)l[Wh]=h[Wh];if(h[Z]!=null)l[Z]=h[Z];if(h[$]!=null){const w=Bh(h[$],d);if(h[$]?.length===0)l.PolicyArns=[];Object.entries(w).forEach(([G,H])=>{const I=`PolicyArns.${G}`;l[I]=H})}if(h[y]!=null)l[y]=h[y];if(h[e]!=null){const w=n0(h[e],d);if(h[e]?.length===0)l.Tags=[];Object.entries(w).forEach(([G,H])=>{const I=`Tags.${G}`;l[I]=H})}return l},zd=(h,d)=>{const l={};if(h[y]!=null)l[y]=h[y];if(h[c]!=null)l[c]=h[c];if(h[p]!=null)l[p]=h[p];return l},Bh=(h,d)=>{const l={};let w=1;for(let G of h){if(G===null)continue;const H=Nd(G,d);Object.entries(H).forEach(([I,Q])=>{l[`member.${w}.${I}`]=Q}),w++}return l},Nd=(h,d)=>{const l={};if(h[ch]!=null)l[ch]=h[ch];return l},Wd=(h,d)=>{const l={};if(h[Rh]!=null)l[Rh]=h[Rh];if(h[Zh]!=null)l[Zh]=h[Zh];return l},Td=(h,d)=>{const l={};let w=1;for(let G of h){if(G===null)continue;const H=Wd(G,d);Object.entries(H).forEach(([I,Q])=>{l[`member.${w}.${I}`]=Q}),w++}return l},Ad=(h,d)=>{const l={};if(h[Nh]!=null)l[Nh]=h[Nh];if(h[xh]!=null)l[xh]=h[xh];return l},Rd=(h,d)=>{const l={};let w=1;for(let G of h){if(G===null)continue;l[`member.${w}`]=G,w++}return l},n0=(h,d)=>{const l={};let w=1;for(let G of h){if(G===null)continue;const H=Ad(G,d);Object.entries(H).forEach(([I,Q])=>{l[`member.${w}.${I}`]=Q}),w++}return l},ph=(h,d)=>{const l={};if(h[Yh]!=null)l[Yh]=S(h[Yh]);if(h[W]!=null)l[W]=S(h[W]);return l},Ld=(h,d)=>{const l={};if(h[q]!=null)l[q]=t(h[q],d);if(h[N]!=null)l[N]=ph(h[N],d);if(h[U]!=null)l[U]=u(h[U]);if(h[V]!=null)l[V]=S(h[V]);return l},jd=(h,d)=>{const l={};if(h[q]!=null)l[q]=t(h[q],d);if(h[N]!=null)l[N]=ph(h[N],d);if(h[U]!=null)l[U]=u(h[U]);if(h[rh]!=null)l[rh]=S(h[rh]);if(h[fh]!=null)l[fh]=S(h[fh]);if(h[zh]!=null)l[zh]=S(h[zh]);if(h[x]!=null)l[x]=S(h[x]);if(h[Th]!=null)l[Th]=S(h[Th]);if(h[V]!=null)l[V]=S(h[V]);return l},ad=(h,d)=>{const l={};if(h[q]!=null)l[q]=t(h[q],d);if(h[bh]!=null)l[bh]=S(h[bh]);if(h[N]!=null)l[N]=ph(h[N],d);if(h[U]!=null)l[U]=u(h[U]);if(h[ah]!=null)l[ah]=S(h[ah]);if(h[x]!=null)l[x]=S(h[x]);if(h[V]!=null)l[V]=S(h[V]);return l},t=(h,d)=>{const l={};if(h[O]!=null)l[O]=S(h[O]);if(h[sh]!=null)l[sh]=S(h[sh]);if(h[Ch]!=null)l[Ch]=S(h[Ch]);if(h[Uh]!=null)l[Uh]=T0(A0(h[Uh]));return l},rd=(h,d)=>{const l={};if(h[$h]!=null)l[$h]=S(h[$h]);return l},sd=(h,d)=>{const l={};if(h[m]!=null)l[m]=S(h[m]);return l},_d=(h,d)=>{const l={};if(h[Mh]!=null)l[Mh]=S(h[Mh]);if(h[W]!=null)l[W]=S(h[W]);return l},bd=(h,d)=>{const l={};if(h[g]!=null)l[g]=S(h[g]);return l},fd=(h,d)=>{const l={};if(h[gh]!=null)l[gh]=S(h[gh]);if(h[g]!=null)l[g]=S(h[g]);if(h[W]!=null)l[W]=S(h[W]);return l},Cd=(h,d)=>{const l={};if(h[q]!=null)l[q]=t(h[q],d);if(h[vh]!=null)l[vh]=_d(h[vh],d);if(h[U]!=null)l[U]=u(h[U]);return l},Od=(h,d)=>{const l={};if(h[q]!=null)l[q]=t(h[q],d);return l},gd=(h,d)=>{const l={};if(h[m]!=null)l[m]=S(h[m]);return l},xd=(h,d)=>{const l={};if(h[m]!=null)l[m]=S(h[m]);return l},id=(h,d)=>{const l={};if(h[m]!=null)l[m]=S(h[m]);return l},cd=(h,d)=>{const l={};if(h[m]!=null)l[m]=S(h[m]);return l},ed=(h,d)=>{const l={};if(h[m]!=null)l[m]=S(h[m]);return l},pd=(h,d)=>{const l={};if(h[m]!=null)l[m]=S(h[m]);return l},nd=(h,d)=>{const l={};if(h[m]!=null)l[m]=S(h[m]);return l},k=(h)=>({httpStatusCode:h.statusCode,requestId:h.headers["x-amzn-requestid"]??h.headers["x-amzn-request-id"]??h.headers["x-amz-request-id"],extendedRequestId:h.headers["x-amz-id-2"],cfId:h.headers["x-amz-cf-id"]});var od=R0(Y),j=async(h,d,l,w,G)=>{const{hostname:H,protocol:I="https",port:Q,path:v}=await h.endpoint(),M={protocol:I,hostname:H,port:Q,method:"POST",path:v.endsWith("/")?v.slice(0,-1)+l:v+l,headers:d};if(w!==void 0)M.hostname=w;if(G!==void 0)M.body=G;return new W0(M)},a={"content-type":"application/x-www-form-urlencoded"},r="2011-06-15",s="Action",O="AccessKeyId",ud="AssumeRole",Yh="AssumedRoleId",N="AssumedRoleUser",td="AssumeRoleWithSAML",hw="AssumeRoleWithWebIdentity",g="Account",W="Arn",x="Audience",q="Credentials",Zh="ContextAssertion",lw="DecodeAuthorizationMessage",$h="DecodedMessage",y="DurationSeconds",Uh="Expiration",Vh="ExternalId",Ph="EncodedMessage",vh="FederatedUser",Mh="FederatedUserId",dw="GetAccessKeyInfo",ww="GetCallerIdentity",Gw="GetFederationToken",Iw="GetSessionToken",zh="Issuer",Nh="Key",Wh="Name",Th="NameQualifier",Z="Policy",$="PolicyArns",Ah="PrincipalArn",Rh="ProviderArn",Lh="ProvidedContexts",jh="ProviderId",U="PackedPolicySize",ah="Provider",T="RoleArn",i="RoleSessionName",rh="Subject",sh="SecretAccessKey",_h="SAMLAssertion",bh="SubjectFromWebIdentityToken",V="SourceIdentity",c="SerialNumber",fh="SubjectType",Ch="SessionToken",e="Tags",p="TokenCode",Oh="TransitiveTagKeys",gh="UserId",_="Version",xh="Value",ih="WebIdentityToken",ch="arn",m="message",b=(h)=>Object.entries(h).map(([d,l])=>eh(d)+"="+eh(l)).join("&"),Hw=(h,d)=>{if(d.Error?.Code!==void 0)return d.Error.Code;if(h.statusCode==404)return"NotFound"};class hh extends K.classBuilder().ep({...D}).m(function(h,d,l,w){return[F(l,this.serialize,this.deserialize),B(l,h.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").f(void 0,U0).ser(L0).de(C0).build(){}class nh extends K.classBuilder().ep({...D}).m(function(h,d,l,w){return[F(l,this.serialize,this.deserialize),B(l,h.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithSAML",{}).n("STSClient","AssumeRoleWithSAMLCommand").f(V0,P0).ser(j0).de(O0).build(){}class lh extends K.classBuilder().ep({...D}).m(function(h,d,l,w){return[F(l,this.serialize,this.deserialize),B(l,h.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").f(v0,M0).ser(a0).de(g0).build(){}class oh extends K.classBuilder().ep({...D}).m(function(h,d,l,w){return[F(l,this.serialize,this.deserialize),B(l,h.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","DecodeAuthorizationMessage",{}).n("STSClient","DecodeAuthorizationMessageCommand").f(void 0,void 0).ser(r0).de(x0).build(){}class uh extends K.classBuilder().ep({...D}).m(function(h,d,l,w){return[F(l,this.serialize,this.deserialize),B(l,h.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","GetAccessKeyInfo",{}).n("STSClient","GetAccessKeyInfoCommand").f(void 0,void 0).ser(s0).de(i0).build(){}class th extends K.classBuilder().ep({...D}).m(function(h,d,l,w){return[F(l,this.serialize,this.deserialize),B(l,h.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","GetCallerIdentity",{}).n("STSClient","GetCallerIdentityCommand").f(void 0,void 0).ser(_0).de(c0).build(){}class hl extends K.classBuilder().ep({...D}).m(function(h,d,l,w){return[F(l,this.serialize,this.deserialize),B(l,h.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","GetFederationToken",{}).n("STSClient","GetFederationTokenCommand").f(void 0,z0).ser(b0).de(e0).build(){}class ll extends K.classBuilder().ep({...D}).m(function(h,d,l,w){return[F(l,this.serialize,this.deserialize),B(l,h.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","GetSessionToken",{}).n("STSClient","GetSessionTokenCommand").f(void 0,N0).ser(f0).de(p0).build(){}var Sw={AssumeRoleCommand:hh,AssumeRoleWithSAMLCommand:nh,AssumeRoleWithWebIdentityCommand:lh,DecodeAuthorizationMessageCommand:oh,GetAccessKeyInfoCommand:uh,GetCallerIdentityCommand:th,GetFederationTokenCommand:hl,GetSessionTokenCommand:ll};class u0 extends R{}o0(Sw,u0);var t0="us-east-1",hd=(h)=>{if(typeof h?.Arn==="string"){const d=h.Arn.split(":");if(d.length>4&&d[4]!=="")return d[4]}return},ld=async(h,d,l)=>{const w=typeof h==="function"?await h():h,G=typeof d==="function"?await d():d;return l?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${w} (provider)`,`${G} (parent client)`,`${t0} (STS default)`),w??G??t0},dd=(h,d)=>{let l,w;return async(G,H)=>{if(w=G,!l){const{logger:M=h?.parentClientConfig?.logger,region:n,requestHandler:qh=h?.parentClientConfig?.requestHandler,credentialProviderLogger:Id}=h,Hd=await ld(n,h?.parentClientConfig?.region,Id);l=new d({credentialDefaultProvider:()=>async()=>w,region:Hd,requestHandler:qh,logger:M})}const{Credentials:I,AssumedRoleUser:Q}=await l.send(new hh(H));if(!I||!I.AccessKeyId||!I.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRole call with role ${H.RoleArn}`);const v=hd(Q);return{accessKeyId:I.AccessKeyId,secretAccessKey:I.SecretAccessKey,sessionToken:I.SessionToken,expiration:I.Expiration,...I.CredentialScope&&{credentialScope:I.CredentialScope},...v&&{accountId:v}}}},wd=(h,d)=>{let l;return async(w)=>{if(!l){const{logger:Q=h?.parentClientConfig?.logger,region:v,requestHandler:M=h?.parentClientConfig?.requestHandler,credentialProviderLogger:n}=h,qh=await ld(v,h?.parentClientConfig?.region,n);l=new d({region:qh,requestHandler:M,logger:Q})}const{Credentials:G,AssumedRoleUser:H}=await l.send(new lh(w));if(!G||!G.AccessKeyId||!G.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${w.RoleArn}`);const I=hd(H);return{accessKeyId:G.AccessKeyId,secretAccessKey:G.SecretAccessKey,sessionToken:G.SessionToken,expiration:G.Expiration,...G.CredentialScope&&{credentialScope:G.CredentialScope},...I&&{accountId:I}}}};var Gd=(h,d)=>{if(!d)return h;else return class l extends h{constructor(w){super(w);for(let G of d)this.middlewareStack.use(G)}}},mw=(h={},d)=>dd(h,Gd(R,d)),Jw=(h={},d)=>wd(h,Gd(R,d)),AG=(h)=>(d)=>h({roleAssumer:mw(d),roleAssumerWithWebIdentity:Jw(d),...d});export{Jw as getDefaultRoleAssumerWithWebIdentity,mw as getDefaultRoleAssumer,AG as decorateDefaultCredentialProvider,F0 as __Client,Y as STSServiceException,R as STSClient,u0 as STS,Dh as RegionDisabledException,Jh as PackedPolicyTooLargeException,mh as MalformedPolicyDocumentException,kh as InvalidIdentityTokenException,Fh as InvalidAuthorizationMessageException,Eh as IDPRejectedClaimException,Kh as IDPCommunicationErrorException,N0 as GetSessionTokenResponseFilterSensitiveLog,ll as GetSessionTokenCommand,z0 as GetFederationTokenResponseFilterSensitiveLog,hl as GetFederationTokenCommand,th as GetCallerIdentityCommand,uh as GetAccessKeyInfoCommand,Sh as ExpiredTokenException,oh as DecodeAuthorizationMessageCommand,o as CredentialsFilterSensitiveLog,M0 as AssumeRoleWithWebIdentityResponseFilterSensitiveLog,v0 as AssumeRoleWithWebIdentityRequestFilterSensitiveLog,lh as AssumeRoleWithWebIdentityCommand,P0 as AssumeRoleWithSAMLResponseFilterSensitiveLog,V0 as AssumeRoleWithSAMLRequestFilterSensitiveLog,nh as AssumeRoleWithSAMLCommand,U0 as AssumeRoleResponseFilterSensitiveLog,hh as AssumeRoleCommand,K as $Command};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import"./chunk-c675f193d459818e.js";import{mb as E} from"./chunk-8401f0f53dc26633.js";var _="AWS_ACCESS_KEY_ID",S="AWS_SECRET_ACCESS_KEY",p="AWS_SESSION_TOKEN",A="AWS_CREDENTIAL_EXPIRATION",C="AWS_CREDENTIAL_SCOPE",N="AWS_ACCOUNT_ID",a=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");const o=process.env[_],r=process.env[S],n=process.env[p],s=process.env[A],t=process.env[C],c=process.env[N];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("Unable to find environment variable credentials.",{logger:e?.logger})};export{a as fromEnv,p as ENV_SESSION,S as ENV_SECRET,_ as ENV_KEY,A as ENV_EXPIRATION,C as ENV_CREDENTIAL_SCOPE,N as ENV_ACCOUNT_ID};export{_ as d,S as e,a as f};
|