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