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