@beesolve/analytics-dashboard 0.3.0 → 0.5.0
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/build/client/_app/immutable/assets/11.DD3-EQ86.css +1 -0
- package/dist/build/client/_app/immutable/assets/11.DD3-EQ86.css.br +0 -0
- package/dist/build/client/_app/immutable/assets/11.DD3-EQ86.css.gz +0 -0
- package/dist/build/client/_app/immutable/assets/3.DC70NXH2.css +1 -0
- package/dist/build/client/_app/immutable/assets/3.DC70NXH2.css.br +0 -0
- package/dist/build/client/_app/immutable/assets/3.DC70NXH2.css.gz +0 -0
- package/dist/build/client/_app/immutable/assets/5.BApvERkS.css +1 -0
- package/dist/build/client/_app/immutable/assets/5.BApvERkS.css.br +0 -0
- package/dist/build/client/_app/immutable/assets/5.BApvERkS.css.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/{CSGsgODA.js → BVOgsk_0.js} +1 -1
- package/dist/build/client/_app/immutable/chunks/BVOgsk_0.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/BVOgsk_0.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/{DRdoYxz9.js → Bh4Hq2nf.js} +1 -1
- package/dist/build/client/_app/immutable/chunks/Bh4Hq2nf.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/Bh4Hq2nf.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/CTzogEfP.js +3 -0
- package/dist/build/client/_app/immutable/chunks/CTzogEfP.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/CTzogEfP.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/{D78JuD5E.js → CfBqEf89.js} +1 -1
- package/dist/build/client/_app/immutable/chunks/CfBqEf89.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/{D78JuD5E.js.gz → CfBqEf89.js.gz} +0 -0
- package/dist/build/client/_app/immutable/chunks/{Chmvodxk.js → DZ-LRDzW.js} +1 -1
- package/dist/build/client/_app/immutable/chunks/DZ-LRDzW.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/DZ-LRDzW.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/DiV4tLpJ.js +3 -0
- package/dist/build/client/_app/immutable/chunks/DiV4tLpJ.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/DiV4tLpJ.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/{BglOMzbH.js → DkLCQeak.js} +1 -1
- package/dist/build/client/_app/immutable/chunks/DkLCQeak.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/DkLCQeak.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/Ql914-tg.js +1 -0
- package/dist/build/client/_app/immutable/chunks/Ql914-tg.js.br +2 -0
- package/dist/build/client/_app/immutable/chunks/Ql914-tg.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/ezgVK28A.js +1 -0
- package/dist/build/client/_app/immutable/chunks/ezgVK28A.js.br +1 -0
- package/dist/build/client/_app/immutable/chunks/ezgVK28A.js.gz +0 -0
- package/dist/build/client/_app/immutable/entry/app.D28EOmbX.js +2 -0
- package/dist/build/client/_app/immutable/entry/app.D28EOmbX.js.br +0 -0
- package/dist/build/client/_app/immutable/entry/app.D28EOmbX.js.gz +0 -0
- package/dist/build/client/_app/immutable/entry/{start.V_sfGyaE.js → start.B2UjHoR5.js} +2 -2
- package/dist/build/client/_app/immutable/entry/start.B2UjHoR5.js.br +0 -0
- package/dist/build/client/_app/immutable/entry/start.B2UjHoR5.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/0.CoLrUie4.js +1 -0
- package/dist/build/client/_app/immutable/nodes/0.CoLrUie4.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/0.CoLrUie4.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/1.9HQMtqWC.js +1 -0
- package/dist/build/client/_app/immutable/nodes/1.9HQMtqWC.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/1.9HQMtqWC.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/10.5W1tZtT1.js +1 -0
- package/dist/build/client/_app/immutable/nodes/10.5W1tZtT1.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/10.5W1tZtT1.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/11.C8Eso8Rg.js +1 -0
- package/dist/build/client/_app/immutable/nodes/11.C8Eso8Rg.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/11.C8Eso8Rg.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/2.fLuR_Zx-.js +1 -0
- package/dist/build/client/_app/immutable/nodes/2.fLuR_Zx-.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/2.fLuR_Zx-.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/3.W0y5wF8r.js +2 -0
- package/dist/build/client/_app/immutable/nodes/3.W0y5wF8r.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/3.W0y5wF8r.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/4.63WhDK_b.js +1 -0
- package/dist/build/client/_app/immutable/nodes/4.63WhDK_b.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/4.63WhDK_b.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/5.CQt-7vVW.js +1 -0
- package/dist/build/client/_app/immutable/nodes/5.CQt-7vVW.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/5.CQt-7vVW.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/6.CxXn0Kqx.js +1 -0
- package/dist/build/client/_app/immutable/nodes/6.CxXn0Kqx.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/6.CxXn0Kqx.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/7.CGjfXWdj.js +1 -0
- package/dist/build/client/_app/immutable/nodes/7.CGjfXWdj.js.br +3 -0
- package/dist/build/client/_app/immutable/nodes/7.CGjfXWdj.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/8.B3Gd4jRK.js +1 -0
- package/dist/build/client/_app/immutable/nodes/8.B3Gd4jRK.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/8.B3Gd4jRK.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/9.wFYin0mB.js +1 -0
- package/dist/build/client/_app/immutable/nodes/9.wFYin0mB.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/9.wFYin0mB.js.gz +0 -0
- package/dist/build/client/_app/version.json +1 -1
- package/dist/build/client/_app/version.json.br +0 -0
- package/dist/build/client/_app/version.json.gz +0 -0
- package/dist/build/server/{0-PQXN2GCF.js → 0-FMOA5I7O.js} +2 -2
- package/dist/build/server/{1-SRMMBTGA.js → 1-HRP4ECGA.js} +2 -2
- package/dist/build/server/10-WFZTJX3I.js +3 -0
- package/dist/build/server/{7-N4XOK4FU.js.map → 10-WFZTJX3I.js.map} +2 -2
- package/dist/build/server/11-IWVF3GUO.js +3 -0
- package/dist/build/server/{10-H55HRISL.js.map → 11-IWVF3GUO.js.map} +2 -2
- package/dist/build/server/{2-E7OIJDC2.js → 2-VU2LYUGL.js} +2 -2
- package/dist/build/server/3-XWBGH2MM.js +3 -0
- package/dist/build/server/4-PTN7C56J.js +3 -0
- package/dist/build/server/5-ZDDR3LLX.js +3 -0
- package/dist/build/server/5-ZDDR3LLX.js.map +6 -0
- package/dist/build/server/6-JJDN5APO.js +3 -0
- package/dist/build/server/{9-OUE6SJTV.js.map → 6-JJDN5APO.js.map} +2 -2
- package/dist/build/server/7-EMLLQ5LV.js +3 -0
- package/dist/build/server/{8-MKTPCY5S.js.map → 7-EMLLQ5LV.js.map} +2 -2
- package/dist/build/server/8-K2MCTGE7.js +3 -0
- package/dist/build/server/{5-CQ43IO74.js.map → 8-K2MCTGE7.js.map} +1 -1
- package/dist/build/server/{6-JGND33KR.js → 9-ORFCYE2E.js} +2 -2
- package/dist/build/server/{6-JGND33KR.js.map → 9-ORFCYE2E.js.map} +1 -1
- package/dist/build/server/{_layout.svelte-74KBVZ7D.js → _layout.svelte-26H3AYHX.js} +2 -2
- package/dist/build/server/{_layout.svelte-74KBVZ7D.js.map → _layout.svelte-26H3AYHX.js.map} +1 -1
- package/dist/build/server/{_page.svelte-NSCCNVEO.js → _page.svelte-6QOSNAPZ.js} +2 -2
- package/dist/build/server/_page.svelte-F7FYLZZQ.js +3 -0
- package/dist/build/server/{_page.svelte-5DCYRJWX.js.map → _page.svelte-F7FYLZZQ.js.map} +1 -1
- package/dist/build/server/_page.svelte-HR4JAE4Y.js +3 -0
- package/dist/build/server/_page.svelte-HR4JAE4Y.js.map +6 -0
- package/dist/build/server/_page.svelte-MHWRA6Y2.js +3 -0
- package/dist/build/server/_page.svelte-MHWRA6Y2.js.map +6 -0
- package/dist/build/server/{_page.svelte-24LHC6VQ.js → _page.svelte-O6XITZ52.js} +2 -2
- package/dist/build/server/{_page.svelte-24LHC6VQ.js.map → _page.svelte-O6XITZ52.js.map} +2 -2
- package/dist/build/server/_page.svelte-OSVW7L4G.js +3 -0
- package/dist/build/server/_page.svelte-OSVW7L4G.js.map +6 -0
- package/dist/build/server/{_page.svelte-Z5AQ7KBK.js → _page.svelte-XFGQKSFQ.js} +2 -2
- package/dist/build/server/chunk-6NKFNTT3.js +3 -0
- package/dist/build/server/{chunk-36NBV5AB.js.map → chunk-6NKFNTT3.js.map} +2 -2
- package/dist/build/server/{chunk-V2MZF7NX.js → chunk-7ORZDQKB.js} +2 -2
- package/dist/build/server/chunk-7TDI4YTA.js +3 -0
- package/dist/build/server/chunk-7TDI4YTA.js.map +6 -0
- package/dist/build/server/{chunk-BAUTKWWD.js → chunk-CAZXUYI4.js} +8 -8
- package/dist/build/server/{chunk-BAUTKWWD.js.map → chunk-CAZXUYI4.js.map} +2 -2
- package/dist/build/server/chunk-CE4O3S26.js +9 -0
- package/dist/build/server/{chunk-2T6ZBHEX.js.map → chunk-CE4O3S26.js.map} +1 -1
- package/dist/build/server/chunk-CIVNMUP4.js +3 -0
- package/dist/build/server/chunk-CIVNMUP4.js.map +6 -0
- package/dist/build/server/{chunk-4B4T2UH4.js → chunk-COYUJLBR.js} +2 -2
- package/dist/build/server/chunk-FWQ74KMZ.js +3 -0
- package/dist/build/server/{chunk-SGVNW5YS.js.map → chunk-FWQ74KMZ.js.map} +1 -1
- package/dist/build/server/chunk-GMU24ZMO.js +3 -0
- package/dist/build/server/chunk-GMU24ZMO.js.map +6 -0
- package/dist/build/server/{chunk-KWQJNOZ2.js → chunk-I4S422PQ.js} +2 -2
- package/dist/build/server/{chunk-LMS6E3CC.js → chunk-KA3MJBXM.js} +2 -2
- package/dist/build/server/{chunk-WZZDXJI7.js → chunk-KHGYICM3.js} +2 -2
- package/dist/build/server/chunk-KTGJB7M3.js +3 -0
- package/dist/build/server/{chunk-GNL4KYOY.js.map → chunk-KTGJB7M3.js.map} +1 -1
- package/dist/build/server/chunk-R6JNHPUE.js +3 -0
- package/dist/build/server/{chunk-OOE2VK5R.js.map → chunk-R6JNHPUE.js.map} +1 -1
- package/dist/build/server/{chunk-QL7PSEVY.js → chunk-RJLO3ZOK.js} +2 -2
- package/dist/build/server/chunk-UWZTBH4Y.js +3 -0
- package/dist/build/server/{chunk-HXDVSFOX.js.map → chunk-UWZTBH4Y.js.map} +1 -1
- package/dist/build/server/{chunk-AYJKHSE7.js → chunk-Y7D223T7.js} +2 -2
- package/dist/build/server/chunk-YB2BRPFF.js +3 -0
- package/dist/build/server/chunk-YB2BRPFF.js.map +6 -0
- package/dist/build/server/{chunk-XTAQG2FO.js → chunk-YT7GXW3T.js} +2 -2
- package/dist/build/server/{chunk-TGC5GAFE.js → chunk-ZB4GC6MX.js} +2 -2
- package/dist/build/server/{dist-es-AVADEC7O.js → dist-es-UYSTLTTZ.js} +2 -2
- package/dist/build/server/{dist-es3-4ISV2HRY.js → dist-es3-77ZYOMBT.js} +2 -2
- package/dist/build/server/{dist-es4-PESPZJSW.js → dist-es4-KDFV3JNC.js} +2 -2
- package/dist/build/server/{dist-es6-JK5HPBPV.js → dist-es6-3LIOBPYN.js} +2 -2
- package/dist/build/server/{dist-es7-WSTPOL6F.js → dist-es7-XTZQI2TF.js} +2 -2
- package/dist/build/server/{event-streams-PLPNBN46.js → event-streams-ICBTGIY7.js} +2 -2
- package/dist/build/server/handler.js +1 -1
- package/dist/build/server/{hooks.server-FFG26NKK.js → hooks.server-LWQUJPMV.js} +2 -2
- package/dist/build/server/{instance-PALVCDT7.js → instance-HA73Z6NN.js} +4 -4
- package/dist/build/server/{instance-PALVCDT7.js.map → instance-HA73Z6NN.js.map} +1 -1
- package/dist/build/server/{loadSso-MEO5OCNN.js → loadSso-E275HJXR.js} +2 -2
- package/dist/build/server/{remote-14csdey-GRG24XME.js → remote-14csdey-FOQJXJXA.js} +2 -2
- package/dist/build/server/{remote-1tatjnv-ZUMEFB2R.js → remote-1tatjnv-RV2BQYRX.js} +2 -2
- package/dist/build/server/remote-1uc3g51-WO3FFMWQ.js +3 -0
- package/dist/build/server/remote-1uc3g51-WO3FFMWQ.js.map +6 -0
- package/dist/build/server/remote-aix5gf-OWE36SMJ.js +3 -0
- package/dist/build/server/remote-aix5gf-OWE36SMJ.js.map +6 -0
- package/dist/build/server/{remote-nc6tv3-N6LY5KAK.js → remote-nc6tv3-LEI5HSU6.js} +2 -2
- package/dist/build/server/{remote-qvubti-H7SUSB2N.js → remote-qvubti-BD4OQ24Z.js} +2 -2
- package/dist/build/server/{signin-VCLN5AMS.js → signin-PTWHOMY5.js} +2 -2
- package/dist/build/server/{sso-oidc-HGY5SLYJ.js → sso-oidc-I3MEU76B.js} +2 -2
- package/dist/build/server/stream.js +1 -1
- package/dist/build/server/{sts-NE2YLHBM.js → sts-URI6AMGK.js} +2 -2
- package/package.json +2 -2
- package/dist/build/client/_app/immutable/assets/3.BDtmxVgh.css +0 -1
- package/dist/build/client/_app/immutable/assets/3.BDtmxVgh.css.br +0 -0
- package/dist/build/client/_app/immutable/assets/3.BDtmxVgh.css.gz +0 -0
- package/dist/build/client/_app/immutable/assets/8.kPbJskIW.css +0 -1
- package/dist/build/client/_app/immutable/assets/8.kPbJskIW.css.br +0 -0
- package/dist/build/client/_app/immutable/assets/8.kPbJskIW.css.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/2mFKupBv.js +0 -3
- package/dist/build/client/_app/immutable/chunks/2mFKupBv.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/2mFKupBv.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/B9UgPzUB.js +0 -3
- package/dist/build/client/_app/immutable/chunks/B9UgPzUB.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/B9UgPzUB.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/BglOMzbH.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/BglOMzbH.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/CSGsgODA.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/CSGsgODA.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/Chmvodxk.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/Chmvodxk.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/D78JuD5E.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/DMHwPoiR.js +0 -1
- package/dist/build/client/_app/immutable/chunks/DMHwPoiR.js.br +0 -2
- package/dist/build/client/_app/immutable/chunks/DMHwPoiR.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/DRdoYxz9.js.br +0 -0
- package/dist/build/client/_app/immutable/chunks/DRdoYxz9.js.gz +0 -0
- package/dist/build/client/_app/immutable/chunks/TCXC9jc6.js +0 -1
- package/dist/build/client/_app/immutable/chunks/TCXC9jc6.js.br +0 -1
- package/dist/build/client/_app/immutable/chunks/TCXC9jc6.js.gz +0 -0
- package/dist/build/client/_app/immutable/entry/app.DcoZt0U0.js +0 -2
- package/dist/build/client/_app/immutable/entry/app.DcoZt0U0.js.br +0 -0
- package/dist/build/client/_app/immutable/entry/app.DcoZt0U0.js.gz +0 -0
- package/dist/build/client/_app/immutable/entry/start.V_sfGyaE.js.br +0 -0
- package/dist/build/client/_app/immutable/entry/start.V_sfGyaE.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/0.Dm7On3K1.js +0 -1
- package/dist/build/client/_app/immutable/nodes/0.Dm7On3K1.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/0.Dm7On3K1.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/1.BzVsbcFJ.js +0 -1
- package/dist/build/client/_app/immutable/nodes/1.BzVsbcFJ.js.br +0 -1
- package/dist/build/client/_app/immutable/nodes/1.BzVsbcFJ.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/10.CO9bVJE4.js +0 -1
- package/dist/build/client/_app/immutable/nodes/10.CO9bVJE4.js.br +0 -6
- package/dist/build/client/_app/immutable/nodes/10.CO9bVJE4.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/2.CgvTW94C.js +0 -1
- package/dist/build/client/_app/immutable/nodes/2.CgvTW94C.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/2.CgvTW94C.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/3.DiwGtjat.js +0 -2
- package/dist/build/client/_app/immutable/nodes/3.DiwGtjat.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/3.DiwGtjat.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/4.BeDdlgVY.js +0 -1
- package/dist/build/client/_app/immutable/nodes/4.BeDdlgVY.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/4.BeDdlgVY.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/5.CMySKy0C.js +0 -1
- package/dist/build/client/_app/immutable/nodes/5.CMySKy0C.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/5.CMySKy0C.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/6.BcbmMVFh.js +0 -1
- package/dist/build/client/_app/immutable/nodes/6.BcbmMVFh.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/6.BcbmMVFh.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/7.BGHdFf_e.js +0 -1
- package/dist/build/client/_app/immutable/nodes/7.BGHdFf_e.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/7.BGHdFf_e.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/8.o7otakmA.js +0 -1
- package/dist/build/client/_app/immutable/nodes/8.o7otakmA.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/8.o7otakmA.js.gz +0 -0
- package/dist/build/client/_app/immutable/nodes/9.D5vOFdKI.js +0 -1
- package/dist/build/client/_app/immutable/nodes/9.D5vOFdKI.js.br +0 -0
- package/dist/build/client/_app/immutable/nodes/9.D5vOFdKI.js.gz +0 -0
- package/dist/build/server/10-H55HRISL.js +0 -3
- package/dist/build/server/3-E6ECYK3Q.js +0 -3
- package/dist/build/server/4-LYPNA465.js +0 -3
- package/dist/build/server/5-CQ43IO74.js +0 -3
- package/dist/build/server/7-N4XOK4FU.js +0 -3
- package/dist/build/server/8-MKTPCY5S.js +0 -3
- package/dist/build/server/9-OUE6SJTV.js +0 -3
- package/dist/build/server/_page.svelte-5DCYRJWX.js +0 -3
- package/dist/build/server/_page.svelte-NVXYICSM.js +0 -3
- package/dist/build/server/_page.svelte-NVXYICSM.js.map +0 -6
- package/dist/build/server/_page.svelte-QIL4T3VO.js +0 -3
- package/dist/build/server/_page.svelte-QIL4T3VO.js.map +0 -6
- package/dist/build/server/chunk-2T6ZBHEX.js +0 -9
- package/dist/build/server/chunk-36NBV5AB.js +0 -3
- package/dist/build/server/chunk-EPPCNHKZ.js +0 -3
- package/dist/build/server/chunk-EPPCNHKZ.js.map +0 -6
- package/dist/build/server/chunk-GNL4KYOY.js +0 -3
- package/dist/build/server/chunk-HXDVSFOX.js +0 -3
- package/dist/build/server/chunk-OOE2VK5R.js +0 -3
- package/dist/build/server/chunk-SGVNW5YS.js +0 -3
- package/dist/build/server/chunk-WJ3HJGC3.js +0 -3
- package/dist/build/server/chunk-WJ3HJGC3.js.map +0 -6
- /package/dist/build/client/_app/immutable/assets/{7.CLAH1zbo.css → 10.CLAH1zbo.css} +0 -0
- /package/dist/build/client/_app/immutable/assets/{7.CLAH1zbo.css.br → 10.CLAH1zbo.css.br} +0 -0
- /package/dist/build/client/_app/immutable/assets/{7.CLAH1zbo.css.gz → 10.CLAH1zbo.css.gz} +0 -0
- /package/dist/build/server/{0-PQXN2GCF.js.map → 0-FMOA5I7O.js.map} +0 -0
- /package/dist/build/server/{1-SRMMBTGA.js.map → 1-HRP4ECGA.js.map} +0 -0
- /package/dist/build/server/{2-E7OIJDC2.js.map → 2-VU2LYUGL.js.map} +0 -0
- /package/dist/build/server/{3-E6ECYK3Q.js.map → 3-XWBGH2MM.js.map} +0 -0
- /package/dist/build/server/{4-LYPNA465.js.map → 4-PTN7C56J.js.map} +0 -0
- /package/dist/build/server/{_page.svelte-NSCCNVEO.js.map → _page.svelte-6QOSNAPZ.js.map} +0 -0
- /package/dist/build/server/{_page.svelte-Z5AQ7KBK.js.map → _page.svelte-XFGQKSFQ.js.map} +0 -0
- /package/dist/build/server/{chunk-V2MZF7NX.js.map → chunk-7ORZDQKB.js.map} +0 -0
- /package/dist/build/server/{chunk-4B4T2UH4.js.map → chunk-COYUJLBR.js.map} +0 -0
- /package/dist/build/server/{chunk-KWQJNOZ2.js.map → chunk-I4S422PQ.js.map} +0 -0
- /package/dist/build/server/{chunk-LMS6E3CC.js.map → chunk-KA3MJBXM.js.map} +0 -0
- /package/dist/build/server/{chunk-WZZDXJI7.js.map → chunk-KHGYICM3.js.map} +0 -0
- /package/dist/build/server/{chunk-QL7PSEVY.js.map → chunk-RJLO3ZOK.js.map} +0 -0
- /package/dist/build/server/{chunk-AYJKHSE7.js.map → chunk-Y7D223T7.js.map} +0 -0
- /package/dist/build/server/{chunk-XTAQG2FO.js.map → chunk-YT7GXW3T.js.map} +0 -0
- /package/dist/build/server/{chunk-TGC5GAFE.js.map → chunk-ZB4GC6MX.js.map} +0 -0
- /package/dist/build/server/{dist-es-AVADEC7O.js.map → dist-es-UYSTLTTZ.js.map} +0 -0
- /package/dist/build/server/{dist-es3-4ISV2HRY.js.map → dist-es3-77ZYOMBT.js.map} +0 -0
- /package/dist/build/server/{dist-es4-PESPZJSW.js.map → dist-es4-KDFV3JNC.js.map} +0 -0
- /package/dist/build/server/{dist-es6-JK5HPBPV.js.map → dist-es6-3LIOBPYN.js.map} +0 -0
- /package/dist/build/server/{dist-es7-WSTPOL6F.js.map → dist-es7-XTZQI2TF.js.map} +0 -0
- /package/dist/build/server/{event-streams-PLPNBN46.js.map → event-streams-ICBTGIY7.js.map} +0 -0
- /package/dist/build/server/{hooks.server-FFG26NKK.js.map → hooks.server-LWQUJPMV.js.map} +0 -0
- /package/dist/build/server/{loadSso-MEO5OCNN.js.map → loadSso-E275HJXR.js.map} +0 -0
- /package/dist/build/server/{remote-14csdey-GRG24XME.js.map → remote-14csdey-FOQJXJXA.js.map} +0 -0
- /package/dist/build/server/{remote-1tatjnv-ZUMEFB2R.js.map → remote-1tatjnv-RV2BQYRX.js.map} +0 -0
- /package/dist/build/server/{remote-nc6tv3-N6LY5KAK.js.map → remote-nc6tv3-LEI5HSU6.js.map} +0 -0
- /package/dist/build/server/{remote-qvubti-H7SUSB2N.js.map → remote-qvubti-BD4OQ24Z.js.map} +0 -0
- /package/dist/build/server/{signin-VCLN5AMS.js.map → signin-PTWHOMY5.js.map} +0 -0
- /package/dist/build/server/{sso-oidc-HGY5SLYJ.js.map → sso-oidc-I3MEU76B.js.map} +0 -0
- /package/dist/build/server/{sts-NE2YLHBM.js.map → sts-URI6AMGK.js.map} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* CommonJS polyfills */import { fileURLToPath } from 'node:url';import { createRequire } from 'node:module';const __filename = fileURLToPath(import.meta.url);const __dirname = fileURLToPath(new URL('.', import.meta.url));const require = createRequire(import.meta.url);/* end of CommonJS polyfills */
|
|
2
|
-
import{b as
|
|
3
|
-
`+e)}n(
|
|
2
|
+
import{b as wa}from"./chunk-FWQ74KMZ.js";import{c as Ws,d as Gs,e as Xs,i as Js,q as Ys}from"./chunk-7TDI4YTA.js";import{a as qs,c as Ks,d as Vs,g as Qs}from"./chunk-5LMY6JUI.js";import{a as ze}from"./chunk-COYUJLBR.js";import{d as zs,f as Lr,h as St,j as Oe,l as Hs,m as de,p as re,q as Ur,r as Fr,s as js}from"./chunk-CIVNMUP4.js";import{c as ba}from"./chunk-KA3MJBXM.js";import{a as fa,b as ga,c as ya,d as Ea,e as Sa,f as xa}from"./chunk-YT7GXW3T.js";import{a as ha,b as va}from"./chunk-5CIVNFOJ.js";import{a as ua,b as da,c as la,d as pa,e as ma,f as jr}from"./chunk-7ORZDQKB.js";import{$ as Yt,A as at,B as $t,Ba as fr,C as Ot,D as Dt,E as Lt,F as Ut,G as Ft,H as na,I as Bt,J as zt,K as Ht,L as jt,M as qt,N as Kt,O as ia,T as oa,V as Vt,W as Qt,X as Wt,Y as Gt,Z as Xt,_ as Jt,a as Pe,aa as Zt,b as et,ba as le,c as tt,ca as er,d as It,da as tr,e as He,ea as rr,f as xe,fa as sr,g as Ct,ga as ca,h as sa,ha as ar,i as At,ja as nr,k as Te,ka as ir,l as Rt,la as or,m as _t,ma as cr,n as Pt,na as ur,o as Tt,oa as dr,p as Nt,pa as lr,q as je,qa as pr,r as Mt,s as rt,t as qe,ta as mr,ua as hr,w as aa,wa as vr,x as kt,xa as zr,y as Le,ya as Hr,z as st}from"./chunk-I4S422PQ.js";import{a as wt,c as U}from"./chunk-BG6ZI4RE.js";import{a as ra}from"./chunk-53BPHZUZ.js";import{a as Je,b as Zs,e as ea,f as _e,g as ta,h as Br,m as Ye,o as xt,q as bt}from"./chunk-OS5FKECH.js";import{a as De}from"./chunk-QDCEVKAE.js";import{b as Ze}from"./chunk-AHIUOSMB.js";import{b as Ns,d as Ms,h as ks,i as $s,j as Os}from"./chunk-Q2IEUOHW.js";import{i as Ds,j as Ls,m as Us,n as Fs,q as Bs}from"./chunk-NFXTMZA7.js";import{a as n}from"./chunk-WFJCOJII.js";import{Readable as ft,Writable as r0}from"node:stream";import{createHash as lt,createHmac as s0,randomBytes as Ia}from"node:crypto";import*as ds from"node:zlib";function qr(...t){let e=t.length;return e?({event:r,resolve:s})=>{let{state:a}=Ds();return i(0,r,{});function i(o,c,u){let p=t[o];return Us({name:`sveltekit.handle.sequenced.${p.name?p.name:o}`,attributes:{},fn:n(async d=>{let l=Fs(c,d);return await Ls({event:l,state:a},()=>p({event:l,resolve:n((m,v)=>{let g=n(async({html:N,done:H})=>(v?.transformPageChunk&&(N=await v.transformPageChunk({html:N,done:H})??""),u?.transformPageChunk&&(N=await u.transformPageChunk({html:N,done:H})??""),N),"transformPageChunk"),_=u?.filterSerializedResponseHeaders??v?.filterSerializedResponseHeaders,I=u?.preload??v?.preload;return o<e-1?i(o+1,m,{transformPageChunk:g,filterSerializedResponseHeaders:_,preload:I}):s(m,{transformPageChunk:g,filterSerializedResponseHeaders:_,preload:I})},"resolve")}))},"fn")})}}:({event:r,resolve:s})=>s(r)}n(qr,"sequence");var pe={null:"_n",undefined:"_u",positiveInfinity:"_pi",negativeInfinity:"_ni",nan:"_nan",string:"s",number:"n",boolean:"b",date:"d",bigInt:"B",buffer:"p",formData:"f"},Ca=30;function a0(t){return{encodedValue:ls(t),___encoded:"v1"}}n(a0,"encodeToStringifiable");function ls(t,e=0){if(e>Ca)throw Error(`Cannot encode - max object depth (${Ca}) reached.`);if(typeof t=="function")throw Error("Cannot encode function");if(typeof t=="symbol")throw Error("Cannot encode symbol");if(t===null)return pe.null;if(t===void 0)return pe.undefined;if(typeof t=="boolean")return`${pe.boolean}${t}`;if(typeof t=="string")return`${pe.string}${t}`;if(typeof t=="number"){if(Number.isFinite(t))return`${pe.number}${t}`;if(t>0)return pe.positiveInfinity;if(t<0)return pe.negativeInfinity}if(Number.isNaN(t))return pe.nan;if(typeof t=="bigint")return`${pe.bigInt}${t}`;if(t instanceof Date)return`${pe.date}${t.toISOString()}`;if(globalThis.Buffer!=null&&Buffer.isBuffer(t))return`${pe.buffer}${t.toString("base64url")}`;if(Array.isArray(t))return t.map(r=>ls(r,e+1));if(t instanceof FormData)return`${pe.formData}${JSON.stringify(Object.fromEntries(t.entries()))}`;if(n0(t))return Object.entries(t).reduce((r,[s,a])=>(r[s]=ls(a,e+1),r),{});throw Error(`Cannot encode - unsupported value ${typeof t}: "${t}"`)}n(ls,"encodeValue");function n0(t){return typeof t=="object"&&t!==null&&t.constructor===Object}n(n0,"isPlainObject");function i0(t,e=JSON.stringify(t)){throw Error(`An unreachable state reached!
|
|
3
|
+
`+e)}n(i0,"assertUnreachable");function o0(t){return t()}n(o0,"call");var c0=class extends ft{static{n(this,"ChecksumStream$1")}expectedChecksum;checksumSourceLocation;checksum;source;base64Encoder;constructor({expectedChecksum:t,checksum:e,source:r,checksumSourceLocation:s,base64Encoder:a}){if(super(),typeof r.pipe!="function")throw new Error(`@smithy/util-stream: unsupported source type ${r?.constructor?.name??r} in ChecksumStream.`);this.source=r,this.base64Encoder=a??qe,this.expectedChecksum=t,this.checksum=e,this.checksumSourceLocation=s,this.source.on("data",this.onSourceData),this.source.on("end",this.onSourceEnd),this.source.on("error",this.onSourceError),this.source.on("close",this.onSourceClose),this.source.pause()}onSourceData=n(t=>{if(!this.destroyed){try{this.checksum.update(t)}catch(e){this.destroy(e);return}this.push(t)||this.source.pause()}},"onSourceData");onSourceEnd=n(async()=>{if(!this.destroyed){try{let t=await this.checksum.digest(),e=this.base64Encoder(t);if(this.expectedChecksum!==e){this.destroy(new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${e}" in response header "${this.checksumSourceLocation}".`));return}}catch(t){this.destroy(t);return}this.push(null)}},"onSourceEnd");onSourceError=n(t=>{this.destroy(t)},"onSourceError");onSourceClose=n(()=>{!this.destroyed&&!this.source.readableEnded&&this.destroy(new Error("Connection lost or stream closed before all data was received."))},"onSourceClose");_read(t){this.source.resume()}_destroy(t,e){this.source?.removeListener("data",this.onSourceData),this.source?.removeListener("end",this.onSourceEnd),this.source?.removeListener("error",this.onSourceError),this.source?.removeListener("close",this.onSourceClose),this.source?.destroy(),e(t)}},u0=typeof ReadableStream=="function"?ReadableStream:function(){},d0=class extends u0{static{n(this,"ChecksumStream")}},l0=n(({expectedChecksum:t,checksum:e,source:r,checksumSourceLocation:s,base64Encoder:a})=>{if(!Ye(r))throw new Error(`@smithy/util-stream: unsupported source type ${r?.constructor?.name??r} in ChecksumStream.`);let i=a??ha;if(typeof TransformStream!="function")throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");let o=new TransformStream({start(){},async transform(u,p){e.update(u),p.enqueue(u)},async flush(u){let p=await e.digest(),d=i(p);if(t!==d){let l=new Error(`Checksum mismatch: expected "${t}" but received "${d}" in response header "${s}".`);u.error(l)}else u.terminate()}});r.pipeThrough(o);let c=o.readable;return Object.setPrototypeOf(c,d0.prototype),c},"createChecksumStream$1");function p0(t){return typeof ReadableStream=="function"&&Ye(t.source)?l0(t):new c0(t)}n(p0,"createChecksumStream");var ps=class{static{n(this,"ByteArrayCollector")}allocByteArray;byteLength=0;byteArrays=[];constructor(t){this.allocByteArray=t}push(t){this.byteArrays.push(t),this.byteLength+=t.byteLength}flush(){if(this.byteArrays.length===1){let r=this.byteArrays[0];return this.reset(),r}let t=this.allocByteArray(this.byteLength),e=0;for(let r=0;r<this.byteArrays.length;++r){let s=this.byteArrays[r];t.set(s,e),e+=s.byteLength}return this.reset(),t}reset(){this.byteArrays=[],this.byteLength=0}};function m0(t,e,r){let s=t.getReader(),a=!1,i=0,o=["",new ps(p=>new Uint8Array(p))],c=-1,u=n(async p=>{let{value:d,done:l}=await s.read(),m=d;if(l){if(c!==-1){let v=We(o,c);Me(v)>0&&p.enqueue(v)}p.close()}else{let v=$n(m,!1);if(c!==v&&(c>=0&&p.enqueue(We(o,c)),c=v),c===-1){p.enqueue(m);return}let g=Me(m);i+=g;let _=Me(o[c]);if(g>=e&&_===0)p.enqueue(m);else{let I=kn(o,c,m);!a&&i>e*2&&(a=!0,r?.warn(`@smithy/util-stream - stream chunk size ${g} is below threshold of ${e}, automatically buffering.`)),I>=e?p.enqueue(We(o,c)):await u(p)}}},"pull");return new ReadableStream({pull:u})}n(m0,"createBufferedReadableStream");function kn(t,e,r){switch(e){case 0:return t[0]+=r,Me(t[0]);case 1:case 2:return t[e].push(r),Me(t[e])}}n(kn,"merge");function We(t,e){switch(e){case 0:let r=t[0];return t[0]="",r;case 1:case 2:return t[e].flush()}throw new Error(`@smithy/util-stream - invalid index ${e} given to flush()`)}n(We,"flush");function Me(t){return t?.byteLength??t?.length??0}n(Me,"sizeOf");function $n(t,e=!0){return e&&typeof Buffer<"u"&&t instanceof Buffer?2:t instanceof Uint8Array?1:typeof t=="string"?0:-1}n($n,"modeOf");function h0(t,e,r){if(Ye(t))return m0(t,e,r);let s=new ft({read(){}}),a=!1,i=0,o=["",new ps(u=>new Uint8Array(u)),new ps(u=>Buffer.from(new Uint8Array(u)))],c=-1;return t.on("data",u=>{let p=$n(u,!0);if(c!==p&&(c>=0&&s.push(We(o,c)),c=p),c===-1){s.push(u);return}let d=Me(u);i+=d;let l=Me(o[c]);if(d>=e&&l===0)s.push(u);else{let m=kn(o,c,u);!a&&i>e*2&&(a=!0,r?.warn(`@smithy/util-stream - stream chunk size ${d} is below threshold of ${e}, automatically buffering.`)),m>=e&&s.push(We(o,c))}}),t.on("end",()=>{if(c!==-1){let u=We(o,c);Me(u)>0&&s.push(u)}s.push(null)}),s}n(h0,"createBufferedReadable");var v0=n((t,e)=>{let{base64Encoder:r,bodyLengthChecker:s,checksumAlgorithmFn:a,checksumLocationName:i,streamHasher:o}=e,c=r!==void 0&&s!==void 0&&a!==void 0&&i!==void 0&&o!==void 0,u=c?o(a,t):void 0;Promise.resolve(u).catch(()=>{});let p=t.getReader();return new ReadableStream({async pull(d){let{value:l,done:m}=await p.read();if(m){if(d.enqueue(`0\r
|
|
4
4
|
`),c){let v=r(await u);d.enqueue(`${i}:${v}\r
|
|
5
5
|
`),d.enqueue(`\r
|
|
6
6
|
`)}d.close()}else d.enqueue(`${(s(l)||0).toString(16)}\r
|
|
7
7
|
${l}\r
|
|
8
|
-
`)}})},"getAwsChunkedEncodingStream$1");function
|
|
8
|
+
`)}})},"getAwsChunkedEncodingStream$1");function f0(t,e){let r=t,s=t;if(Ye(s))return v0(s,e);let{base64Encoder:a,bodyLengthChecker:i,checksumAlgorithmFn:o,checksumLocationName:c,streamHasher:u}=e,p=a!==void 0&&o!==void 0&&c!==void 0&&u!==void 0,d=p?u(o,r):void 0;Promise.resolve(d).catch(()=>{});let l=new ft({read(){r.resume()}});return r.on("data",m=>{let v=i(m)||0;v!==0&&(l.push(`${v.toString(16)}\r
|
|
9
9
|
`),l.push(m),l.push(`\r
|
|
10
10
|
`)||r.pause())}),r.on("error",m=>{l.destroy(m)}),r.pause(),r.on("end",async()=>{try{if(l.push(`0\r
|
|
11
11
|
`),p){let m=a(await d);l.push(`${c}:${m}\r
|
|
12
12
|
`),l.push(`\r
|
|
13
|
-
`)}l.push(null)}catch(m){l.destroy(m)}}),l}n(
|
|
13
|
+
`)}l.push(null)}catch(m){l.destroy(m)}}),l}n(f0,"getAwsChunkedEncodingStream");var g0=n(async t=>{let{ENV_CMDS_FULL_URI:e,ENV_CMDS_RELATIVE_URI:r,fromContainerMetadata:s,fromInstanceMetadata:a}=await import("./dist-es8-RD2V4NV2.js");if(process.env[r]||process.env[e]){t.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");let{fromHttp:i}=await import("./dist-es2-22Z5CJRZ.js");return ra(i(t),s(t))}return process.env.AWS_EC2_METADATA_DISABLED&&process.env.AWS_EC2_METADATA_DISABLED!=="false"?async()=>{throw new Ze("EC2 Instance Metadata Service access disabled",{logger:t.logger})}:(t.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),a(t))},"remoteProvider");function y0(t,e){let r=E0(t),s,a,i,o,c=n(async u=>{if(u?.forceRefresh)return o||(o=r(u).then(p=>{i=p}).finally(()=>{o=void 0})),await o,i;if(i?.expiration&&i?.expiration?.getTime()<Date.now()&&(i=void 0),s)await s;else if(!i||e?.(i))if(i)a||(a=r(u).then(p=>{i=p}).catch(()=>{}).finally(()=>{a=void 0}));else return s=r(u).then(p=>{i=p}).finally(()=>{s=void 0}),c(u);return i},"provider");return c}n(y0,"memoizeChain");var E0=n(t=>async e=>{let r;for(let s of t)try{return await s(e)}catch(a){if(r=a,a?.tryNextLink)continue;throw a}throw r},"internalCreateChain"),Aa=!1,ws=n((t={})=>y0([async()=>{if(t.profile??process.env.AWS_PROFILE)throw process.env.AWS_ACCESS_KEY_ID&&process.env.AWS_SECRET_ACCESS_KEY&&(Aa||((t.logger?.warn&&t.logger?.constructor?.name!=="NoOpLogger"?t.logger.warn.bind(t.logger):console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
|
|
14
14
|
Multiple credential sources detected:
|
|
15
15
|
Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
|
|
16
16
|
This SDK will proceed with the AWS_PROFILE value.
|
|
@@ -18,7 +18,7 @@ ${l}\r
|
|
|
18
18
|
However, a future version may change this behavior to prefer the ENV static credentials.
|
|
19
19
|
Please ensure that your environment only sets either the AWS_PROFILE or the
|
|
20
20
|
AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
|
|
21
|
-
`),Ia=!0)),new Ze("AWS_PROFILE is set, skipping fromEnv provider.",{logger:t.logger,tryNextLink:!0});return t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),Sa(t)()},async e=>{t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");let{ssoStartUrl:r,ssoAccountId:s,ssoRegion:a,ssoRoleName:i,ssoSession:o}=t;if(!r&&!s&&!a&&!i&&!o)throw new Ze("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:t.logger});let{fromSSO:c}=await import("./dist-es6-JK5HPBPV.js");return c(t)(e)},async e=>{t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");let{fromIni:r}=await import("./dist-es3-4ISV2HRY.js");return r(t)(e)},async e=>{t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");let{fromProcess:r}=await import("./dist-es5-KVZQJJU3.js");return r(t)(e)},async e=>{t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");let{fromTokenFile:r}=await import("./dist-es7-WSTPOL6F.js");return r(t)(e)},async()=>(t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await f0(t))()),async()=>{throw new Ze("Could not load credentials from any providers",{tryNextLink:!1,logger:t.logger})}],E0),"defaultProvider"),E0=n(t=>t?.expiration!==void 0&&t.expiration.getTime()-Date.now()<3e5,"credentialsTreatedAsExpired"),S0=class extends oa{static{n(this,"AwsJsonRpcProtocol")}serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:t,errorTypeRegistries:e,serviceTarget:r,awsQueryCompatible:s,jsonCodec:a}){super({defaultNamespace:t,errorTypeRegistries:e}),this.serviceTarget=r,this.codec=a??new ya({timestampFormat:{useTrait:!0,default:7},jsonName:!1}),this.serializer=this.codec.createSerializer(),this.deserializer=this.codec.createDeserializer(),this.awsQueryCompatible=!!s,this.mixin=new zr(this.awsQueryCompatible)}async serializeRequest(t,e,r){let s=await super.serializeRequest(t,e,r);return s.path.endsWith("/")||(s.path+="/"),s.headers["content-type"]=`application/x-amz-json-${this.getJsonRpcVersion()}`,s.headers["x-amz-target"]=`${this.serviceTarget}.${t.name}`,this.awsQueryCompatible&&(s.headers["x-amzn-query-mode"]="true"),(ta(t.input)==="unit"||!s.body)&&(s.body="{}"),s}getPayloadCodec(){return this.codec}async handleError(t,e,r,s,a){let{awsQueryCompatible:i}=this;i&&this.mixin.setQueryCompatError(s,r);let o=ga(r,s,i)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace);let{errorSchema:c,errorMetadata:u}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,r,s,a,i?this.mixin.findQueryCompatibleError:void 0),p=Te.of(c),d=s.message??s.Message??"UnknownError",l=new(this.compositeErrorRegistry.getErrorCtor(c)??Error)({}),m={},v=this.codec.createDeserializer();for(let[g,_]of p.structIterator())s[g]!=null&&(m[g]=v.readObject(_,s[g]));throw i&&this.mixin.queryCompatOutput(s,m),this.mixin.decorateServiceException(Object.assign(l,u,{$fault:p.getMergedTraits().error,message:d},m),s)}},x0=class extends S0{static{n(this,"AwsJson1_0Protocol")}constructor({defaultNamespace:t,errorTypeRegistries:e,serviceTarget:r,awsQueryCompatible:s,jsonCodec:a}){super({defaultNamespace:t,errorTypeRegistries:e,serviceTarget:r,awsQueryCompatible:s,jsonCodec:a})}getShapeId(){return"aws.protocols#awsJson1_0"}getJsonRpcVersion(){return"1.0"}getDefaultContentType(){return"application/x-amz-json-1.0"}},b0=/[&<>"]/g,w0={"&":"&","<":"<",">":">",'"':"""};function I0(t){return t.replace(b0,e=>w0[e])}n(I0,"escapeAttribute");var C0=/[&"'<>\r\n\u0085\u2028]/g,A0={"&":"&",'"':""","'":"'","<":"<",">":">","\r":"
","\n":"
","
":"…","\u2028":"
"};function R0(t){return t.replace(C0,e=>A0[e])}n(R0,"escapeElement");var ms=class{static{n(this,"XmlText")}value;constructor(t){this.value=t}toString(){return R0(""+this.value)}},ge=class Cr{static{n(this,"XmlNode")}name;children;attributes={};static of(e,r,s){let a=new Cr(e);return r!==void 0&&a.addChildNode(new ms(r)),s!==void 0&&a.withName(s),a}constructor(e,r=[]){this.name=e,this.children=r}withName(e){return this.name=e,this}addAttribute(e,r){return this.attributes[e]=r,this}addChildNode(e){return this.children.push(e),this}removeAttribute(e){return delete this.attributes[e],this}n(e){return this.name=e,this}c(e){return this.children.push(e),this}a(e,r){return r!=null&&(this.attributes[e]=r),this}cc(e,r,s=r){if(e[r]!=null){let a=Cr.of(r,e[r]).withName(s);this.c(a)}}l(e,r,s,a){e[r]!=null&&a().map(i=>{i.withName(s),this.c(i)})}lc(e,r,s,a){if(e[r]!=null){let i=a(),o=new Cr(s);i.map(c=>{o.c(c)}),this.c(o)}}toString(){let e=!!this.children.length,r=`<${this.name}`,s=this.attributes;for(let a of Object.keys(s)){let i=s[a];i!=null&&(r+=` ${a}="${I0(""+i)}"`)}return r+=e?`>${this.children.map(a=>a.toString()).join("")}</${this.name}>`:"/>"}},_0=n((t,e)=>{if(e?.Error?.Code!==void 0)return e.Error.Code;if(e?.Code!==void 0)return e.Code;if(t.statusCode==404)return"NotFound"},"loadRestXmlErrorCode"),P0=class extends Hr{static{n(this,"XmlShapeSerializer")}settings;stringBuffer;byteBuffer;buffer;constructor(t){super(),this.settings=t}write(t,e){let r=Te.of(t);if(r.isStringSchema()&&typeof e=="string")this.stringBuffer=e;else if(r.isBlobSchema())this.byteBuffer="byteLength"in e?e:(this.serdeContext?.base64Decoder??rt)(e);else{this.buffer=this.writeStruct(r,e,void 0);let s=r.getMergedTraits();s.httpPayload&&!s.xmlName&&this.buffer.withName(r.getName())}}flush(){if(this.byteBuffer!==void 0){let e=this.byteBuffer;return delete this.byteBuffer,e}if(this.stringBuffer!==void 0){let e=this.stringBuffer;return delete this.stringBuffer,e}let t=this.buffer;return this.settings.xmlNamespace&&(t?.attributes?.xmlns||t.addAttribute("xmlns",this.settings.xmlNamespace)),delete this.buffer,t.toString()}writeStruct(t,e,r){let s=t.getMergedTraits(),a=t.isMemberSchema()&&!s.httpPayload?t.getMemberTraits().xmlName??t.getMemberName():s.xmlName??t.getName();if(!a||!t.isStructSchema())throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${t.getName(!0)}.`);let i=ge.of(a),[o,c]=this.getXmlnsAttribute(t,r);for(let[p,d]of t.structIterator()){let l=e[p];if(l!=null||d.isIdempotencyToken()){if(d.getMergedTraits().xmlAttribute){i.addAttribute(d.getMergedTraits().xmlName??p,this.writeSimple(d,l));continue}if(d.isListSchema())this.writeList(d,l,i,c);else if(d.isMapSchema())this.writeMap(d,l,i,c);else if(d.isStructSchema())i.addChildNode(this.writeStruct(d,l,c));else{let m=ge.of(d.getMergedTraits().xmlName??d.getMemberName());this.writeSimpleInto(d,l,m,c),i.addChildNode(m)}}}let{$unknown:u}=e;if(u&&t.isUnionSchema()&&Array.isArray(u)&&Object.keys(e).length===1){let[p,d]=u,l=ge.of(p);if(typeof d!="string")if(e instanceof ge||e instanceof ms)i.addChildNode(e);else throw new Error("@aws-sdk - $unknown union member in XML requires value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.");this.writeSimpleInto(0,d,l,c),i.addChildNode(l)}return c&&i.addAttribute(o,c),i}writeList(t,e,r,s){if(!t.isMemberSchema())throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${t.getName(!0)}`);let a=t.getMergedTraits(),i=t.getValueSchema(),o=i.getMergedTraits(),c=!!o.sparse,u=!!a.xmlFlattened,[p,d]=this.getXmlnsAttribute(t,s),l=n((m,v)=>{if(i.isListSchema())this.writeList(i,Array.isArray(v)?v:[v],m,d);else if(i.isMapSchema())this.writeMap(i,v,m,d);else if(i.isStructSchema()){let g=this.writeStruct(i,v,d);m.addChildNode(g.withName(u?a.xmlName??t.getMemberName():o.xmlName??"member"))}else{let g=ge.of(u?a.xmlName??t.getMemberName():o.xmlName??"member");this.writeSimpleInto(i,v,g,d),m.addChildNode(g)}},"writeItem");if(u)for(let m of e)(c||m!=null)&&l(r,m);else{let m=ge.of(a.xmlName??t.getMemberName());d&&m.addAttribute(p,d);for(let v of e)(c||v!=null)&&l(m,v);r.addChildNode(m)}}writeMap(t,e,r,s,a=!1){if(!t.isMemberSchema())throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${t.getName(!0)}`);let i=t.getMergedTraits(),o=t.getKeySchema(),c=o.getMergedTraits().xmlName??"key",u=t.getValueSchema(),p=u.getMergedTraits(),d=p.xmlName??"value",l=!!p.sparse,m=!!i.xmlFlattened,[v,g]=this.getXmlnsAttribute(t,s),_=n((I,N,H)=>{let X=ge.of(c,N),[Re,ce]=this.getXmlnsAttribute(o,g);ce&&X.addAttribute(Re,ce),I.addChildNode(X);let $e=ge.of(d);u.isListSchema()?this.writeList(u,H,$e,g):u.isMapSchema()?this.writeMap(u,H,$e,g,!0):u.isStructSchema()?$e=this.writeStruct(u,H,g):this.writeSimpleInto(u,H,$e,g),I.addChildNode($e)},"addKeyValue");if(m)for(let I in e){let N=e[I];if(l||N!=null){let H=ge.of(i.xmlName??t.getMemberName());_(H,I,N),r.addChildNode(H)}}else{let I;a||(I=ge.of(i.xmlName??t.getMemberName()),g&&I.addAttribute(v,g),r.addChildNode(I));for(let N in e){let H=e[N];if(l||H!=null){let X=ge.of("entry");_(X,N,H),(a?r:I).addChildNode(X)}}}}writeSimple(t,e){if(e===null)throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.");let r=Te.of(t),s=null;if(e&&typeof e=="object")if(r.isBlobSchema())s=(this.serdeContext?.base64Encoder??je)(e);else if(r.isTimestampSchema()&&e instanceof Date)switch(na(r,this.settings)){case 5:s=e.toISOString().replace(".000Z","Z");break;case 6:s=Br(e);break;case 7:s=String(e.getTime()/1e3);break;default:console.warn("Missing timestamp format, using http date",e),s=Br(e)}else{if(r.isBigDecimalSchema()&&e)return e instanceof ra?e.string:String(e);throw r.isMapSchema()||r.isListSchema()?new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead."):new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${r.getName(!0)}`)}if((r.isBooleanSchema()||r.isNumericSchema()||r.isBigIntegerSchema()||r.isBigDecimalSchema())&&(s=String(e)),r.isStringSchema()&&(e===void 0&&r.isIdempotencyToken()?s=aa():s=String(e)),s===null)throw new Error(`Unhandled schema-value pair ${r.getName(!0)}=${e}`);return s}writeSimpleInto(t,e,r,s){let a=this.writeSimple(t,e),i=Te.of(t),o=new ms(a),[c,u]=this.getXmlnsAttribute(i,s);u&&r.addAttribute(c,u),r.addChildNode(o)}getXmlnsAttribute(t,e){let[r,s]=t.getMergedTraits().xmlNamespace??[];return s&&s!==e?[r?`xmlns:${r}`:"xmlns",s]:[void 0,void 0]}},T0=class extends Hr{static{n(this,"XmlCodec")}settings;constructor(t){super(),this.settings=t}createSerializer(){let t=new P0(this.settings);return t.setSerdeContext(this.serdeContext),t}createDeserializer(){let t=new la(this.settings);return t.setSerdeContext(this.serdeContext),t}},N0=class extends ha{static{n(this,"AwsRestXmlProtocol")}codec;serializer;deserializer;mixin=new zr;constructor(t){super(t);let e={timestampFormat:{useTrait:!0,default:5},httpBindings:!0,xmlNamespace:t.xmlNamespace,serviceNamespace:t.defaultNamespace};this.codec=new T0(e),this.serializer=new fa(this.codec.createSerializer(),e),this.deserializer=new va(this.codec.createDeserializer(),e)}getPayloadCodec(){return this.codec}getShapeId(){return"aws.protocols#restXml"}async serializeRequest(t,e,r){let s=await super.serializeRequest(t,e,r),a=Te.of(t.input);if(!s.headers["content-type"]){let i=this.mixin.resolveRestContentType(this.getDefaultContentType(),a);i&&(s.headers["content-type"]=i)}return typeof s.body=="string"&&s.headers["content-type"]===this.getDefaultContentType()&&!s.body.startsWith("<?xml ")&&!this.hasUnstructuredPayloadBinding(a)&&(s.body='<?xml version="1.0" encoding="UTF-8"?>'+s.body),s}async deserializeResponse(t,e,r){return super.deserializeResponse(t,e,r)}async handleError(t,e,r,s,a){let i=_0(r,s)??"Unknown";if(this.mixin.compose(this.compositeErrorRegistry,i,this.options.defaultNamespace),s.Error&&typeof s.Error=="object")for(let v of Object.keys(s.Error))s[v]=s.Error[v],v.toLowerCase()==="message"&&(s.message=s.Error[v]);s.RequestId&&!a.requestId&&(a.requestId=s.RequestId);let{errorSchema:o,errorMetadata:c}=await this.mixin.getErrorSchemaOrThrowBaseException(i,this.options.defaultNamespace,r,s,a),u=Te.of(o),p=s.Error?.message??s.Error?.Message??s.message??s.Message??"UnknownError",d=new(this.compositeErrorRegistry.getErrorCtor(o)??Error)({});await this.deserializeHttpMessage(o,e,r,s);let l={},m=this.codec.createDeserializer();for(let[v,g]of u.structIterator()){let _=g.getMergedTraits().xmlName??v,I=s.Error?.[_]??s[_];l[v]=m.readSchema(g,I)}throw this.mixin.decorateServiceException(Object.assign(d,c,{$fault:u.getMergedTraits().error,message:p},l),s)}getDefaultContentType(){return"application/xml"}hasUnstructuredPayloadBinding(t){for(let[,e]of t.structIterator())if(e.getMergedTraits().httpPayload)return!(e.isStructSchema()||e.isMapSchema()||e.isListSchema());return!1}},M0=class extends t0{static{n(this,"HashCalculator")}hash;constructor(t,e){super(e),this.hash=t}_write(t,e,r){try{this.hash.update(Le(t))}catch(s){return r(s)}r()}},k0=n((t,e)=>{if(e.readableFlowing!==null)throw new Error("Unable to calculate hash for flowing readable stream");let r=new t,s=new M0(r);return e.pipe(s),new Promise((a,i)=>{e.on("error",o=>{s.end(),i(o)}),s.on("error",i),s.on("finish",()=>{r.digest().then(a).catch(i)})})},"readableStreamHasher"),$0=class{static{n(this,"Md5Js")}digestLength=16;state=Uint32Array.from(Ca);writeBuffer=new DataView(new ArrayBuffer(64));bufferLength=0;bytesHashed=0;update(t){let e=Le(t),r=0,s=e.byteLength;for(this.bytesHashed+=s;s>0;)this.writeBuffer.setUint8(this.bufferLength++,e[r++]),--s,this.bufferLength===64&&(Kr(this.state,this.writeBuffer),this.bufferLength=0)}async digest(){let t=Uint32Array.from(this.state),e=new DataView(this.writeBuffer.buffer.slice(0)),r=this.bufferLength,s=this.bytesHashed*8;if(e.setUint8(r++,128),this.bufferLength%64>=56){for(let o=r;o<64;++o)e.setUint8(o,0);Kr(t,e),r=0}for(let o=r;o<56;++o)e.setUint8(o,0);e.setUint32(56,s>>>0,!0),e.setUint32(60,Math.floor(s/2**32),!0),Kr(t,e);let a=new Uint8Array(16),i=new DataView(a.buffer);for(let o=0;o<4;++o)i.setUint32(o*4,t[o],!0);return a}reset(){this.state.set(Ca),this.writeBuffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0}},Ca=[1732584193,4023233417,2562383102,271733878],Ne=4294967295,O0=Uint8Array.of(7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21),D0=Array.from({length:64},(t,e)=>Math.abs(Math.sin(e+1))*2**32>>>0);function Kr(t,e){let r=t[0],s=t[1],a=t[2],i=t[3];for(let o=0;o<64;++o){let c,u;o<16?(c=s&a|~s&i,u=o):o<32?(c=i&s|a&~i,u=(5*o+1)%16):o<48?(c=s^a^i,u=(3*o+5)%16):(c=a^(s|~i),u=7*o%16);let p=e.getUint32(u*4,!0),d=i;i=a,a=s;let l=O0[(o>>4)*4+(o&3)],m=(r+c&Ne)+(p+D0[o]&Ne)&Ne;s=s+((m<<l|m>>>32-l)>>>0)&Ne,r=d}t[0]=t[0]+r&Ne,t[1]=t[1]+s&Ne,t[2]=t[2]+a&Ne,t[3]=t[3]+i&Ne}n(Kr,"compress");var kn=(()=>{try{return lt("md5"),!0}catch{return!1}})()?L0():$0;function L0(){return class{static{n(this,"Md5Node")}digestLength=16;hash=lt("md5");update(e){this.hash.update(Le(e))}async digest(){let e=this.hash.copy().digest();return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}reset(){this.hash=lt("md5")}}}n(L0,"buildNativeClass$2");var $n=new Uint32Array(256);for(let t=0;t<256;++t){let e=t;for(let r=0;r<8;++r)e=e&1?3988292384^e>>>1:e>>>1;$n[t]=e>>>0}var Vr=4294967295,U0=class{static{n(this,"Crc32Js")}digestLength=4;checksum=Vr;update(t){for(let e=0;e<t.length;++e)this.checksum=this.checksum>>>8^$n[(this.checksum^t[e])&255]}digestSync(){return(this.checksum^Vr)>>>0}async digest(){let t=this.digestSync(),e=new Uint8Array(4);return new DataView(e.buffer).setUint32(0,t,!1),e}reset(){this.checksum=Vr}},Aa=typeof ds.crc32=="function"?ds.crc32:void 0,Is=Aa?F0(Aa):U0;function F0(t){return class{static{n(this,"Crc32Node")}digestLength=4;value=0;update(r){this.value=t(r,this.value)}digestSync(){return this.value>>>0}async digest(){let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,this.digestSync(),!1),r}reset(){this.value=0}}}n(F0,"buildNativeClass$1");var _r=Be.ANALYTICS_TABLE_NAME,On=Be.ANALYTICS_REVERSE_INDEX,Dn=Be.ANALYTICS_USERS_TABLE,B0=Be.ANALYTICS_USERS_REVERSE_INDEX;Be.IPINFO_API_KEY;var Qr=class Ln{static{n(this,"Int64")}bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776e3||e<-9223372036854776e3)throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let r=new Uint8Array(8);for(let s=7,a=Math.abs(Math.round(e));s>-1&&a>0;s--,a/=256)r[s]=a;return e<0&&Ra(r),new Ln(r)}valueOf(){let e=this.bytes.slice(0),r=e[0]&128;return r&&Ra(e),parseInt(_e(e),16)*(r?-1:1)}toString(){return String(this.valueOf())}};function Ra(t){for(let e=0;e<8;e++)t[e]^=255;for(let e=7;e>-1&&(t[e]++,t[e]===0);e--);}n(Ra,"negate");var z0=class{static{n(this,"HeaderMarshaller")}toUtf8;fromUtf8;constructor(t,e){this.toUtf8=t,this.fromUtf8=e}format(t){let e=[];for(let a in t){if(!Je(t,a))continue;let i=this.fromUtf8(a);e.push(Uint8Array.from([i.byteLength]),i,this.formatHeaderValue(t[a]))}let r=new Uint8Array(e.reduce((a,i)=>a+i.byteLength,0)),s=0;for(let a of e)r.set(a,s),s+=a.byteLength;return r}formatHeaderValue(t){switch(t.type){case"boolean":return Uint8Array.from([t.value?0:1]);case"byte":return Uint8Array.from([2,t.value]);case"short":let e=new DataView(new ArrayBuffer(3));return e.setUint8(0,3),e.setInt16(1,t.value,!1),new Uint8Array(e.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,t.value,!1),new Uint8Array(r.buffer);case"long":let s=new Uint8Array(9);return s[0]=5,s.set(t.value.bytes,1),s;case"binary":let a=new DataView(new ArrayBuffer(3+t.value.byteLength));a.setUint8(0,6),a.setUint16(1,t.value.byteLength,!1);let i=new Uint8Array(a.buffer);return i.set(t.value,3),i;case"string":let o=this.fromUtf8(t.value),c=new DataView(new ArrayBuffer(3+o.byteLength));c.setUint8(0,7),c.setUint16(1,o.byteLength,!1);let u=new Uint8Array(c.buffer);return u.set(o,3),u;case"timestamp":let p=new Uint8Array(9);return p[0]=8,p.set(Qr.fromNumber(t.value.valueOf()).bytes,1),p;case"uuid":if(!X0.test(t.value))throw new Error(`Invalid UUID received: ${t.value}`);let d=new Uint8Array(17);return d[0]=9,d.set(Ys(t.value.replace(/-/g,"")),1),d}}parse(t){let e={},r=0;for(;r<t.byteLength;){let s=t.getUint8(r++),a=this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+r,s));switch(r+=s,t.getUint8(r++)){case 0:e[a]={type:Pa,value:!0};break;case 1:e[a]={type:Pa,value:!1};break;case 2:e[a]={type:H0,value:t.getInt8(r++)};break;case 3:e[a]={type:j0,value:t.getInt16(r,!1)},r+=2;break;case 4:e[a]={type:q0,value:t.getInt32(r,!1)},r+=4;break;case 5:e[a]={type:K0,value:new Qr(new Uint8Array(t.buffer,t.byteOffset+r,8))},r+=8;break;case 6:let i=t.getUint16(r,!1);r+=2,e[a]={type:V0,value:new Uint8Array(t.buffer,t.byteOffset+r,i)},r+=i;break;case 7:let o=t.getUint16(r,!1);r+=2,e[a]={type:Q0,value:this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+r,o))},r+=o;break;case 8:e[a]={type:W0,value:new Date(new Qr(new Uint8Array(t.buffer,t.byteOffset+r,8)).valueOf())},r+=8;break;case 9:let c=new Uint8Array(t.buffer,t.byteOffset+r,16);r+=16,e[a]={type:G0,value:`${_e(c.subarray(0,4))}-${_e(c.subarray(4,6))}-${_e(c.subarray(6,8))}-${_e(c.subarray(8,10))}-${_e(c.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return e}},_a;(function(t){t[t.boolTrue=0]="boolTrue",t[t.boolFalse=1]="boolFalse",t[t.byte=2]="byte",t[t.short=3]="short",t[t.integer=4]="integer",t[t.long=5]="long",t[t.byteArray=6]="byteArray",t[t.string=7]="string",t[t.timestamp=8]="timestamp",t[t.uuid=9]="uuid"})(_a||(_a={}));var Pa="boolean",H0="byte",j0="short",q0="integer",K0="long",V0="binary",Q0="string",W0="timestamp",G0="uuid",X0=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,J0=4,nt=8,Wr=4,Y0=16;function Z0({byteLength:t,byteOffset:e,buffer:r}){if(t<Y0)throw new Error("Provided message too short to accommodate event stream message overhead");let s=new DataView(r,e,t),a=s.getUint32(0,!1);if(t!==a)throw new Error("Reported message length does not match received message length");let i=s.getUint32(J0,!1),o=s.getUint32(nt,!1),c=s.getUint32(t-Wr,!1),u=new Is;if(u.update(new Uint8Array(r,e,nt)),o!==u.digestSync())throw new Error(`The prelude checksum specified in the message (${o}) does not match the calculated CRC32 checksum (${u.digestSync()})`);if(u.update(new Uint8Array(r,e+nt,t-12)),c!==u.digestSync())throw new Error(`The message checksum (${u.digestSync()}) did not match the expected value of ${c}`);return{headers:new DataView(r,e+nt+Wr,i),body:new Uint8Array(r,e+nt+Wr+i,a-i-16)}}n(Z0,"splitMessage");var eu=class{static{n(this,"EventStreamCodec")}headerMarshaller;messageBuffer;isEndOfStream;constructor(t,e){this.headerMarshaller=new z0(t,e),this.messageBuffer=[],this.isEndOfStream=!1}feed(t){this.messageBuffer.push(this.decode(t))}endOfStream(){this.isEndOfStream=!0}getMessage(){let t=this.messageBuffer.pop(),e=this.isEndOfStream;return{getMessage(){return t},isEndOfStream(){return e}}}getAvailableMessages(){let t=this.messageBuffer;this.messageBuffer=[];let e=this.isEndOfStream;return{getMessages(){return t},isEndOfStream(){return e}}}encode({headers:t,body:e}){let r=this.headerMarshaller.format(t),s=r.byteLength+e.byteLength+16,a=new Uint8Array(s),i=new DataView(a.buffer,a.byteOffset,a.byteLength),o=new Is;return i.setUint32(0,s,!1),i.setUint32(4,r.byteLength,!1),o.update(a.subarray(0,8)),i.setUint32(8,o.digestSync(),!1),a.set(r,12),a.set(e,r.byteLength+12),o.update(a.subarray(8,s-4)),i.setUint32(s-4,o.digestSync(),!1),a}decode(t){let{headers:e,body:r}=Z0(t);return{headers:this.headerMarshaller.parse(e),body:r}}formatHeaders(t){return this.headerMarshaller.format(t)}},tu=class{static{n(this,"MessageDecoderStream")}options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let t of this.options.inputStream)yield this.options.decoder.decode(t)}},ru=class{static{n(this,"MessageEncoderStream")}options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let t of this.options.messageStream)yield this.options.encoder.encode(t);this.options.includeEndFrame&&(yield new Uint8Array(0))}},su=class{static{n(this,"SmithyMessageDecoderStream")}options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let t of this.options.messageStream){let e=await this.options.deserializer(t);e!==void 0&&(yield e)}}},au=class{static{n(this,"SmithyMessageEncoderStream")}options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let t of this.options.inputStream)yield this.options.serializer(t)}};function nu(t){let e=0,r=0,s=null,a=null,i=n(c=>{if(typeof c!="number")throw new Error("Attempted to allocate an event message where size was not a number: "+c);e=c,r=4,s=new Uint8Array(c),new DataView(s.buffer).setUint32(0,c,!1)},"allocateMessage"),o=n(async function*(){let c=t[Symbol.asyncIterator]();for(;;){let{value:u,done:p}=await c.next();if(p){if(e)if(e===r)yield s;else throw new Error("Truncated event message received.");else return;return}let d=u.length,l=0;for(;l<d;){if(!s){let v=d-l;a||(a=new Uint8Array(4));let g=Math.min(4-r,v);if(a.set(u.slice(l,l+g),r),r+=g,l+=g,r<4)break;i(new DataView(a.buffer).getUint32(0,!1)),a=null}let m=Math.min(e-r,d-l);s.set(u.slice(l,l+m),r),r+=m,l+=m,e&&e===r&&(yield s,s=null,e=0,r=0)}}},"iterator");return{[Symbol.asyncIterator]:o}}n(nu,"getChunkedStream");function iu(t,e){return async function(r){let{value:s}=r.headers[":message-type"];if(s==="error"){let a=new Error(r.headers[":error-message"].value||"UnknownError");throw a.name=r.headers[":error-code"].value,a}else if(s==="exception"){let a=r.headers[":exception-type"].value,i=await t({[a]:r});if(i.$unknown){let o=new Error(e(r.body));throw o.name=a,o}throw i[a]}else if(s==="event"){let a=await t({[r.headers[":event-type"].value]:r});return a.$unknown?void 0:a}else throw Error(`Unrecognizable event type: ${r.headers[":event-type"].value}`)}}n(iu,"getMessageUnmarshaller");var ou=class{static{n(this,"EventStreamMarshaller$1")}eventStreamCodec;utfEncoder;constructor({utf8Encoder:t,utf8Decoder:e}){this.eventStreamCodec=new eu(t,e),this.utfEncoder=t}deserialize(t,e){return new su({messageStream:new tu({inputStream:nu(t),decoder:this.eventStreamCodec}),deserializer:iu(e,this.utfEncoder)})}serialize(t,e){return new ru({messageStream:new au({inputStream:t,serializer:e}),encoder:this.eventStreamCodec,includeEndFrame:!0})}},cu=class{static{n(this,"EventStreamMarshaller")}universalMarshaller;constructor({utf8Encoder:t,utf8Decoder:e}){this.universalMarshaller=new ou({utf8Decoder:e,utf8Encoder:t})}deserialize(t,e){let r=typeof t[Symbol.asyncIterator]=="function"?t:uu(t);return this.universalMarshaller.deserialize(r,e)}serialize(t,e){return ft.from(this.universalMarshaller.serialize(t,e))}},Un=n(t=>new cu(t),"eventStreamSerdeProvider");async function*uu(t){let e=!1,r=!1,s=new Array;for(t.on("error",a=>{if(e||(e=!0),a)throw a}),t.on("data",a=>{s.push(a)}),t.on("end",()=>{e=!0});!r;){let a=await new Promise(i=>setTimeout(()=>i(s.shift()),0));a&&(yield a),r=e&&s.length===0}}n(uu,"readableToIterable");var Fn=n(t=>Object.assign(t,{eventStreamMarshaller:t.eventStreamSerdeProvider(t)}),"resolveEventStreamSerdeConfig"),nx=class{static{n(this,"EventStreamSerde")}marshaller;serializer;deserializer;serdeContext;defaultContentType;compositeErrorRegistry;constructor({marshaller:t,serializer:e,deserializer:r,serdeContext:s,defaultContentType:a,compositeErrorRegistry:i}){this.marshaller=t,this.serializer=e,this.deserializer=r,this.serdeContext=s,this.defaultContentType=a,this.compositeErrorRegistry=i}async serializeEventStream({eventStream:t,requestSchema:e,initialRequest:r,initialMessageType:s}){let a=this.marshaller,i=e.getEventStreamMember(),o=e.getMemberSchema(i),c=this.serializer,u=this.defaultContentType,p=Symbol("initialRequestMarker"),d={async*[Symbol.asyncIterator](){if(r){let l={":event-type":{type:"string",value:s??"initial-request"},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:u}};c.write(e,r);let m=c.flush();yield{[p]:!0,headers:l,body:m}}for await(let l of t)yield l}};return a.serialize(d,l=>{if(l[p])return{headers:l.headers,body:l.body};let m="";for(let N in l)if(Je(l,N)&&N!=="__type"){m=N;break}let{additionalHeaders:v,body:g,eventType:_,explicitPayloadContentType:I}=this.writeEventBody(m,o,l);return{headers:{":event-type":{type:"string",value:_},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:I??u},...v},body:g}})}async deserializeEventStream({response:t,responseSchema:e,initialResponseContainer:r,initialMessageType:s}){let a=this.marshaller,i=e.getEventStreamMember(),o=e.getMemberSchema(i).getMemberSchemas(),c=Symbol("initialResponseMarker"),u=a.deserialize(t.body,async l=>{let m="";for(let g in l)if(Je(l,g)&&g!=="__type"){m=g;break}let v=l[m].body;if(m===(s??"initial-response")){let g=await this.deserializer.read(e,v);return delete g[i],{[c]:!0,...g}}else if(m in o){let g=o[m];if(g.isStructSchema()){let _={},I=!1;for(let[N,H]of g.structIterator()){let{eventHeader:X,eventPayload:Re}=H.getMergedTraits();if(I=I||!!(X||Re),Re)H.isBlobSchema()?_[N]=v:H.isStringSchema()?_[N]=(this.serdeContext?.utf8Encoder??tt)(v):H.isStructSchema()&&(_[N]=await this.deserializer.read(H,v));else if(X){let ce=l[m].headers[N]?.value;ce!=null&&(H.isNumericSchema()?ce&&typeof ce=="object"&&"bytes"in ce?_[N]=BigInt(ce.toString()):_[N]=Number(ce):_[N]=ce)}}return{[m]:await this.readEventMember(g,v,I,_)}}return{[m]:await this.deserializer.read(g,v)}}else return{$unknown:l}}),p=u[Symbol.asyncIterator](),d=await p.next();if(d.done)return u;if(d.value?.[c]){if(!e)throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");for(let l in d.value)Je(d.value,l)&&(r[l]=d.value[l])}return{async*[Symbol.asyncIterator](){for(d?.value?.[c]||(yield d.value);;){let{done:l,value:m}=await p.next();if(l)break;yield m}}}}async readEventMember(t,e,r,s){let a,i=t.getSchema();if(Array.isArray(i)&&i[0]===-3){let c=i[1],u=Pe.for(c);this.compositeErrorRegistry?.copyFrom(u),a=(this.compositeErrorRegistry??u)?.getErrorCtor(i)}let o=r?s:e.byteLength===0?{}:await this.deserializer.read(t,e);if(a){let c=o.message??o.Message??"Unknown",u={},p=t.getMergedTraits().error;return p&&(u.$fault=p),Object.assign(new a({}),u,{message:c},o)}return o}writeEventBody(t,e,r){let s=this.serializer,a=t,i=null,o,c=e.getSchema()[4].includes(t),u={};if(c){let d=e.getMemberSchema(t);if(d.isStructSchema()){for(let[l,m]of d.structIterator()){let{eventHeader:v,eventPayload:g}=m.getMergedTraits();if(g)i=l;else if(v){let _=r[t][l],I="binary";m.isNumericSchema()?(-2)**31<=_&&_<=2**31-1?I="integer":I="long":m.isTimestampSchema()?I="timestamp":m.isStringSchema()?I="string":m.isBooleanSchema()&&(I="boolean"),_!=null&&(u[l]={type:I,value:_},delete r[t][l])}}if(i!==null){let l=d.getMemberSchema(i);l.isBlobSchema()?o="application/octet-stream":l.isStringSchema()&&(o="text/plain"),s.write(l,r[t][i])}else s.write(d,r[t])}else if(d.isUnitSchema())s.write(d,{});else throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.")}else{let[d,l]=r[t];a=d,s.write(15,l)}let p=s.flush()??new Uint8Array;return{body:typeof p=="string"?(this.serdeContext?.utf8Decoder??et)(p):p,eventType:a,explicitPayloadContentType:o,additionalHeaders:u}}},du=n(async(t,e,r)=>({operation:ze(e).operation,region:await xe(t.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"defaultLambdaHttpAuthSchemeParametersProvider");function lu(t){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"lambda",region:t.region},propertiesExtractor:n((e,r)=>({signingProperties:{config:e,context:r}}),"propertiesExtractor")}}n(lu,"createAwsAuthSigv4HttpAuthOption$2");var pu=n(t=>{let e=[];switch(t.operation){default:e.push(lu(t))}return e},"defaultLambdaHttpAuthSchemeProvider"),mu=n(t=>{let e=hr(t);return Object.assign(e,{authSchemePreference:xe(t.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig$2"),hu=n(t=>Object.assign(t,{useDualstackEndpoint:t.useDualstackEndpoint??!1,useFipsEndpoint:t.useFipsEndpoint??!1,defaultSigningName:"lambda"}),"resolveClientEndpointParameters$2"),vu={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},fu={name:"@aws-sdk/client-lambda",version:"3.1150.0",description:"AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lambda",license:"Apache-2.0",author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/sdk-for-javascript/"},repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-lambda"},files:["dist-*/**"],sideEffects:!1,main:"./dist-cjs/index.js",module:"./dist-es/index.js",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},types:"./dist-types/index.d.ts",typesVersions:{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},scripts:{build:"concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline","build:es":"premove dist-es && tsc -p tsconfig.es.json","build:include:deps":'yarn g:turbo run build -F="$npm_package_name"',"build:types":"premove dist-types && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"premove dist-cjs dist-es dist-types","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service",test:"yarn g:vitest run --passWithNoTests","test:watch":"yarn g:vitest watch --passWithNoTests","test:integration":"yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts","test:integration:watch":"yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.mts","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.mts","test:index":"tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"},dependencies:{"@aws-sdk/core":"^3.978.3","@aws-sdk/credential-provider-node":"^3.972.86","@aws-sdk/types":"^3.974.6","@smithy/core":"^3.35.2","@smithy/fetch-http-handler":"^5.8.0","@smithy/node-http-handler":"^4.12.1","@smithy/types":"^4.19.0",tslib:"^2.6.2"},devDependencies:{"@smithy/snapshot-testing":"^2.3.2","@tsconfig/node20":"20.1.8","@types/node":"^20.14.8",concurrently:"7.0.0","downlevel-dts":"0.10.1",premove:"4.0.0",typescript:"~7.0.2",vitest:"^4.0.17"},engines:{node:">=20.0.0"}},pt="ref",Ue=-1,fr=!0,Ta="isSet",Bn="PartitionResult",gr="booleanEquals",Na="getAttr",Ma={[pt]:"Endpoint"},ka={[pt]:Bn},it={},$a=[{[pt]:"Region"}],Oa={conditions:[[Ta,[Ma]],[Ta,$a],["aws.partition",$a,Bn],[gr,[{[pt]:"UseFIPS"},fr]],[gr,[{[pt]:"UseDualStack"},fr]],[gr,[{fn:Na,argv:[ka,"supportsDualStack"]},fr]],[gr,[{fn:Na,argv:[ka,"supportsFIPS"]},fr]]],results:[[Ue],[Ue,"Invalid Configuration: FIPS and custom endpoint are not supported"],[Ue,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Ma,it],["https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",it],[Ue,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}",it],[Ue,"FIPS is enabled but this partition does not support FIPS"],["https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}",it],[Ue,"DualStack is enabled but this partition does not support DualStack"],["https://lambda.{Region}.{PartitionResult#dnsSuffix}",it],[Ue,"Invalid Configuration: Missing Region"]]},gu=2,yu=new Int32Array([-1,1,-1,0,12,3,1,4,100000011,2,5,100000011,3,8,6,4,7,100000010,5,100000008,100000009,4,10,9,6,100000006,100000007,5,11,100000005,6,100000004,100000005,3,100000001,13,4,100000002,100000003]),Eu=Ft.from(yu,gu,Oa.conditions,Oa.results),Su=new Bt({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),xu=n((t,e={})=>Su.get(t,()=>Ht(Eu,{endpointParams:t,logger:e.logger})),"defaultEndpointResolver$2");zt.aws=ur;var y=class zn extends At{static{n(this,"LambdaServiceException")}static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.lambda#LambdaServiceException";constructor(e){super(e),Object.setPrototypeOf(this,zn.prototype)}},bu=class Hn extends y{static{n(this,"InvalidParameterValueException")}static shapeId="com.amazonaws.lambda#InvalidParameterValueException";name="InvalidParameterValueException";$fault="client";Type;constructor(e){super({name:"InvalidParameterValueException",$fault:"client",...e}),Object.setPrototypeOf(this,Hn.prototype),this.Type=e.Type}},wu=class jn extends y{static{n(this,"PolicyLengthExceededException")}static shapeId="com.amazonaws.lambda#PolicyLengthExceededException";name="PolicyLengthExceededException";$fault="client";Type;constructor(e){super({name:"PolicyLengthExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,jn.prototype),this.Type=e.Type}},Iu=class qn extends y{static{n(this,"PreconditionFailedException")}static shapeId="com.amazonaws.lambda#PreconditionFailedException";name="PreconditionFailedException";$fault="client";Type;constructor(e){super({name:"PreconditionFailedException",$fault:"client",...e}),Object.setPrototypeOf(this,qn.prototype),this.Type=e.Type}},Cu=class Kn extends y{static{n(this,"ResourceConflictException")}static shapeId="com.amazonaws.lambda#ResourceConflictException";name="ResourceConflictException";$fault="client";Type;constructor(e){super({name:"ResourceConflictException",$fault:"client",...e}),Object.setPrototypeOf(this,Kn.prototype),this.Type=e.Type}},Au=class Vn extends y{static{n(this,"ResourceNotFoundException$1")}static shapeId="com.amazonaws.lambda#ResourceNotFoundException";name="ResourceNotFoundException";$fault="client";Type;Message;constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,Vn.prototype),this.Type=e.Type,this.Message=e.Message}},Ru=class Qn extends y{static{n(this,"ServiceException")}static shapeId="com.amazonaws.lambda#ServiceException";name="ServiceException";$fault="server";Type;Message;constructor(e){super({name:"ServiceException",$fault:"server",...e}),Object.setPrototypeOf(this,Qn.prototype),this.Type=e.Type,this.Message=e.Message}},_u=class Wn extends y{static{n(this,"TooManyRequestsException")}static shapeId="com.amazonaws.lambda#TooManyRequestsException";name="TooManyRequestsException";$fault="client";retryAfterSeconds;Type;Reason;constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e}),Object.setPrototypeOf(this,Wn.prototype),this.retryAfterSeconds=e.retryAfterSeconds,this.Type=e.Type,this.Reason=e.Reason}},Pu=class Gn extends y{static{n(this,"PublicPolicyException")}static shapeId="com.amazonaws.lambda#PublicPolicyException";name="PublicPolicyException";$fault="client";Type;Message;constructor(e){super({name:"PublicPolicyException",$fault:"client",...e}),Object.setPrototypeOf(this,Gn.prototype),this.Type=e.Type,this.Message=e.Message}},Tu=class Xn extends y{static{n(this,"AliasLimitExceededException")}static shapeId="com.amazonaws.lambda#AliasLimitExceededException";name="AliasLimitExceededException";$fault="client";Type;constructor(e){super({name:"AliasLimitExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,Xn.prototype),this.Type=e.Type}},Nu=class Jn extends y{static{n(this,"CapacityProviderLimitExceededException")}static shapeId="com.amazonaws.lambda#CapacityProviderLimitExceededException";name="CapacityProviderLimitExceededException";$fault="client";Type;constructor(e){super({name:"CapacityProviderLimitExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,Jn.prototype),this.Type=e.Type}},Mu=class Yn extends y{static{n(this,"KMSAccessDeniedException")}static shapeId="com.amazonaws.lambda#KMSAccessDeniedException";name="KMSAccessDeniedException";$fault="server";Type;Message;constructor(e){super({name:"KMSAccessDeniedException",$fault:"server",...e}),Object.setPrototypeOf(this,Yn.prototype),this.Type=e.Type,this.Message=e.Message}},ku=class Zn extends y{static{n(this,"KMSDisabledException")}static shapeId="com.amazonaws.lambda#KMSDisabledException";name="KMSDisabledException";$fault="server";Type;Message;constructor(e){super({name:"KMSDisabledException",$fault:"server",...e}),Object.setPrototypeOf(this,Zn.prototype),this.Type=e.Type,this.Message=e.Message}},$u=class ei extends y{static{n(this,"KMSInvalidStateException")}static shapeId="com.amazonaws.lambda#KMSInvalidStateException";name="KMSInvalidStateException";$fault="server";Type;Message;constructor(e){super({name:"KMSInvalidStateException",$fault:"server",...e}),Object.setPrototypeOf(this,ei.prototype),this.Type=e.Type,this.Message=e.Message}},Ou=class ti extends y{static{n(this,"KMSNotFoundException")}static shapeId="com.amazonaws.lambda#KMSNotFoundException";name="KMSNotFoundException";$fault="server";Type;Message;constructor(e){super({name:"KMSNotFoundException",$fault:"server",...e}),Object.setPrototypeOf(this,ti.prototype),this.Type=e.Type,this.Message=e.Message}},Du=class ri extends y{static{n(this,"ResourceInUseException")}static shapeId="com.amazonaws.lambda#ResourceInUseException";name="ResourceInUseException";$fault="client";Type;Message;constructor(e){super({name:"ResourceInUseException",$fault:"client",...e}),Object.setPrototypeOf(this,ri.prototype),this.Type=e.Type,this.Message=e.Message}},Lu=class si extends y{static{n(this,"CodeSigningConfigNotFoundException")}static shapeId="com.amazonaws.lambda#CodeSigningConfigNotFoundException";name="CodeSigningConfigNotFoundException";$fault="client";Type;Message;constructor(e){super({name:"CodeSigningConfigNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,si.prototype),this.Type=e.Type,this.Message=e.Message}},Uu=class ai extends y{static{n(this,"CodeStorageExceededException")}static shapeId="com.amazonaws.lambda#CodeStorageExceededException";name="CodeStorageExceededException";$fault="client";Type;constructor(e){super({name:"CodeStorageExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,ai.prototype),this.Type=e.Type}},Fu=class ni extends y{static{n(this,"CodeVerificationFailedException")}static shapeId="com.amazonaws.lambda#CodeVerificationFailedException";name="CodeVerificationFailedException";$fault="client";Type;Message;constructor(e){super({name:"CodeVerificationFailedException",$fault:"client",...e}),Object.setPrototypeOf(this,ni.prototype),this.Type=e.Type,this.Message=e.Message}},Bu=class ii extends y{static{n(this,"FunctionVersionsPerCapacityProviderLimitExceededException")}static shapeId="com.amazonaws.lambda#FunctionVersionsPerCapacityProviderLimitExceededException";name="FunctionVersionsPerCapacityProviderLimitExceededException";$fault="client";Type;constructor(e){super({name:"FunctionVersionsPerCapacityProviderLimitExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,ii.prototype),this.Type=e.Type}},zu=class oi extends y{static{n(this,"InvalidCodeSignatureException")}static shapeId="com.amazonaws.lambda#InvalidCodeSignatureException";name="InvalidCodeSignatureException";$fault="client";Type;Message;constructor(e){super({name:"InvalidCodeSignatureException",$fault:"client",...e}),Object.setPrototypeOf(this,oi.prototype),this.Type=e.Type,this.Message=e.Message}},Hu=class ci extends y{static{n(this,"CodeArtifactUserDeletedException")}static shapeId="com.amazonaws.lambda#CodeArtifactUserDeletedException";name="CodeArtifactUserDeletedException";$fault="client";Type;constructor(e){super({name:"CodeArtifactUserDeletedException",$fault:"client",...e}),Object.setPrototypeOf(this,ci.prototype),this.Type=e.Type}},ju=class ui extends y{static{n(this,"CodeArtifactUserFailedException")}static shapeId="com.amazonaws.lambda#CodeArtifactUserFailedException";name="CodeArtifactUserFailedException";$fault="client";Type;constructor(e){super({name:"CodeArtifactUserFailedException",$fault:"client",...e}),Object.setPrototypeOf(this,ui.prototype),this.Type=e.Type}},qu=class di extends y{static{n(this,"CodeArtifactUserPendingException")}static shapeId="com.amazonaws.lambda#CodeArtifactUserPendingException";name="CodeArtifactUserPendingException";$fault="client";Type;constructor(e){super({name:"CodeArtifactUserPendingException",$fault:"client",...e}),Object.setPrototypeOf(this,di.prototype),this.Type=e.Type}},Ku=class li extends y{static{n(this,"DurableExecutionAlreadyStartedException")}static shapeId="com.amazonaws.lambda#DurableExecutionAlreadyStartedException";name="DurableExecutionAlreadyStartedException";$fault="client";Type;Message;constructor(e){super({name:"DurableExecutionAlreadyStartedException",$fault:"client",...e}),Object.setPrototypeOf(this,li.prototype),this.Type=e.Type,this.Message=e.Message}},Vu=class pi extends y{static{n(this,"EC2AccessDeniedException")}static shapeId="com.amazonaws.lambda#EC2AccessDeniedException";name="EC2AccessDeniedException";$fault="server";Type;Message;constructor(e){super({name:"EC2AccessDeniedException",$fault:"server",...e}),Object.setPrototypeOf(this,pi.prototype),this.Type=e.Type,this.Message=e.Message}},Qu=class mi extends y{static{n(this,"EC2ThrottledException")}static shapeId="com.amazonaws.lambda#EC2ThrottledException";name="EC2ThrottledException";$fault="server";Type;Message;constructor(e){super({name:"EC2ThrottledException",$fault:"server",...e}),Object.setPrototypeOf(this,mi.prototype),this.Type=e.Type,this.Message=e.Message}},Wu=class hi extends y{static{n(this,"EC2UnexpectedException")}static shapeId="com.amazonaws.lambda#EC2UnexpectedException";name="EC2UnexpectedException";$fault="server";Type;Message;EC2ErrorCode;constructor(e){super({name:"EC2UnexpectedException",$fault:"server",...e}),Object.setPrototypeOf(this,hi.prototype),this.Type=e.Type,this.Message=e.Message,this.EC2ErrorCode=e.EC2ErrorCode}},Gu=class vi extends y{static{n(this,"EFSIOException")}static shapeId="com.amazonaws.lambda#EFSIOException";name="EFSIOException";$fault="client";Type;Message;constructor(e){super({name:"EFSIOException",$fault:"client",...e}),Object.setPrototypeOf(this,vi.prototype),this.Type=e.Type,this.Message=e.Message}},Xu=class fi extends y{static{n(this,"EFSMountConnectivityException")}static shapeId="com.amazonaws.lambda#EFSMountConnectivityException";name="EFSMountConnectivityException";$fault="client";Type;Message;constructor(e){super({name:"EFSMountConnectivityException",$fault:"client",...e}),Object.setPrototypeOf(this,fi.prototype),this.Type=e.Type,this.Message=e.Message}},Ju=class gi extends y{static{n(this,"EFSMountFailureException")}static shapeId="com.amazonaws.lambda#EFSMountFailureException";name="EFSMountFailureException";$fault="client";Type;Message;constructor(e){super({name:"EFSMountFailureException",$fault:"client",...e}),Object.setPrototypeOf(this,gi.prototype),this.Type=e.Type,this.Message=e.Message}},Yu=class yi extends y{static{n(this,"EFSMountTimeoutException")}static shapeId="com.amazonaws.lambda#EFSMountTimeoutException";name="EFSMountTimeoutException";$fault="client";Type;Message;constructor(e){super({name:"EFSMountTimeoutException",$fault:"client",...e}),Object.setPrototypeOf(this,yi.prototype),this.Type=e.Type,this.Message=e.Message}},Zu=class Ei extends y{static{n(this,"ENILimitReachedException")}static shapeId="com.amazonaws.lambda#ENILimitReachedException";name="ENILimitReachedException";$fault="server";Type;Message;constructor(e){super({name:"ENILimitReachedException",$fault:"server",...e}),Object.setPrototypeOf(this,Ei.prototype),this.Type=e.Type,this.Message=e.Message}},ed=class Si extends y{static{n(this,"ENINotReadyException")}static shapeId="com.amazonaws.lambda#ENINotReadyException";name="ENINotReadyException";$fault="server";Type;Message;constructor(e){super({name:"ENINotReadyException",$fault:"server",...e}),Object.setPrototypeOf(this,Si.prototype),this.Type=e.Type,this.Message=e.Message}},td=class xi extends y{static{n(this,"InvalidRequestContentException")}static shapeId="com.amazonaws.lambda#InvalidRequestContentException";name="InvalidRequestContentException";$fault="client";Type;constructor(e){super({name:"InvalidRequestContentException",$fault:"client",...e}),Object.setPrototypeOf(this,xi.prototype),this.Type=e.Type}},rd=class bi extends y{static{n(this,"InvalidRuntimeException")}static shapeId="com.amazonaws.lambda#InvalidRuntimeException";name="InvalidRuntimeException";$fault="server";Type;Message;constructor(e){super({name:"InvalidRuntimeException",$fault:"server",...e}),Object.setPrototypeOf(this,bi.prototype),this.Type=e.Type,this.Message=e.Message}},sd=class wi extends y{static{n(this,"InvalidSecurityGroupIDException")}static shapeId="com.amazonaws.lambda#InvalidSecurityGroupIDException";name="InvalidSecurityGroupIDException";$fault="server";Type;Message;constructor(e){super({name:"InvalidSecurityGroupIDException",$fault:"server",...e}),Object.setPrototypeOf(this,wi.prototype),this.Type=e.Type,this.Message=e.Message}},ad=class Ii extends y{static{n(this,"InvalidSubnetIDException")}static shapeId="com.amazonaws.lambda#InvalidSubnetIDException";name="InvalidSubnetIDException";$fault="server";Type;Message;constructor(e){super({name:"InvalidSubnetIDException",$fault:"server",...e}),Object.setPrototypeOf(this,Ii.prototype),this.Type=e.Type,this.Message=e.Message}},nd=class Ci extends y{static{n(this,"InvalidZipFileException")}static shapeId="com.amazonaws.lambda#InvalidZipFileException";name="InvalidZipFileException";$fault="server";Type;Message;constructor(e){super({name:"InvalidZipFileException",$fault:"server",...e}),Object.setPrototypeOf(this,Ci.prototype),this.Type=e.Type,this.Message=e.Message}},id=class Ai extends y{static{n(this,"ModeNotSupportedException")}static shapeId="com.amazonaws.lambda#ModeNotSupportedException";name="ModeNotSupportedException";$fault="client";Type;constructor(e){super({name:"ModeNotSupportedException",$fault:"client",...e}),Object.setPrototypeOf(this,Ai.prototype),this.Type=e.Type}},od=class Ri extends y{static{n(this,"NoPublishedVersionException")}static shapeId="com.amazonaws.lambda#NoPublishedVersionException";name="NoPublishedVersionException";$fault="client";Type;Message;constructor(e){super({name:"NoPublishedVersionException",$fault:"client",...e}),Object.setPrototypeOf(this,Ri.prototype),this.Type=e.Type,this.Message=e.Message}},cd=class _i extends y{static{n(this,"RecursiveInvocationException")}static shapeId="com.amazonaws.lambda#RecursiveInvocationException";name="RecursiveInvocationException";$fault="client";Type;Message;constructor(e){super({name:"RecursiveInvocationException",$fault:"client",...e}),Object.setPrototypeOf(this,_i.prototype),this.Type=e.Type,this.Message=e.Message}},ud=class Pi extends y{static{n(this,"RequestTooLargeException")}static shapeId="com.amazonaws.lambda#RequestTooLargeException";name="RequestTooLargeException";$fault="client";Type;constructor(e){super({name:"RequestTooLargeException",$fault:"client",...e}),Object.setPrototypeOf(this,Pi.prototype),this.Type=e.Type}},dd=class Ti extends y{static{n(this,"ResourceNotReadyException")}static shapeId="com.amazonaws.lambda#ResourceNotReadyException";name="ResourceNotReadyException";$fault="server";Type;constructor(e){super({name:"ResourceNotReadyException",$fault:"server",...e}),Object.setPrototypeOf(this,Ti.prototype),this.Type=e.Type}},ld=class Ni extends y{static{n(this,"S3FilesMountConnectivityException")}static shapeId="com.amazonaws.lambda#S3FilesMountConnectivityException";name="S3FilesMountConnectivityException";$fault="client";Type;Message;constructor(e){super({name:"S3FilesMountConnectivityException",$fault:"client",...e}),Object.setPrototypeOf(this,Ni.prototype),this.Type=e.Type,this.Message=e.Message}},pd=class Mi extends y{static{n(this,"S3FilesMountFailureException")}static shapeId="com.amazonaws.lambda#S3FilesMountFailureException";name="S3FilesMountFailureException";$fault="client";Type;Message;constructor(e){super({name:"S3FilesMountFailureException",$fault:"client",...e}),Object.setPrototypeOf(this,Mi.prototype),this.Type=e.Type,this.Message=e.Message}},md=class ki extends y{static{n(this,"S3FilesMountTimeoutException")}static shapeId="com.amazonaws.lambda#S3FilesMountTimeoutException";name="S3FilesMountTimeoutException";$fault="client";Type;Message;constructor(e){super({name:"S3FilesMountTimeoutException",$fault:"client",...e}),Object.setPrototypeOf(this,ki.prototype),this.Type=e.Type,this.Message=e.Message}},hd=class $i extends y{static{n(this,"SerializedRequestEntityTooLargeException")}static shapeId="com.amazonaws.lambda#SerializedRequestEntityTooLargeException";name="SerializedRequestEntityTooLargeException";$fault="client";Type;constructor(e){super({name:"SerializedRequestEntityTooLargeException",$fault:"client",...e}),Object.setPrototypeOf(this,$i.prototype),this.Type=e.Type}},vd=class Oi extends y{static{n(this,"ServiceQuotaExceededException")}static shapeId="com.amazonaws.lambda#ServiceQuotaExceededException";name="ServiceQuotaExceededException";$fault="client";Type;Message;constructor(e){super({name:"ServiceQuotaExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,Oi.prototype),this.Type=e.Type,this.Message=e.Message}},fd=class Di extends y{static{n(this,"SnapStartException")}static shapeId="com.amazonaws.lambda#SnapStartException";name="SnapStartException";$fault="client";Type;Message;constructor(e){super({name:"SnapStartException",$fault:"client",...e}),Object.setPrototypeOf(this,Di.prototype),this.Type=e.Type,this.Message=e.Message}},gd=class Li extends y{static{n(this,"SnapStartNotReadyException")}static shapeId="com.amazonaws.lambda#SnapStartNotReadyException";name="SnapStartNotReadyException";$fault="client";Type;Message;constructor(e){super({name:"SnapStartNotReadyException",$fault:"client",...e}),Object.setPrototypeOf(this,Li.prototype),this.Type=e.Type,this.Message=e.Message}},yd=class Ui extends y{static{n(this,"SnapStartRegenerationFailureException")}static shapeId="com.amazonaws.lambda#SnapStartRegenerationFailureException";name="SnapStartRegenerationFailureException";$fault="client";Type;Message;constructor(e){super({name:"SnapStartRegenerationFailureException",$fault:"client",...e}),Object.setPrototypeOf(this,Ui.prototype),this.Type=e.Type,this.Message=e.Message}},Ed=class Fi extends y{static{n(this,"SnapStartTimeoutException")}static shapeId="com.amazonaws.lambda#SnapStartTimeoutException";name="SnapStartTimeoutException";$fault="client";Type;Message;constructor(e){super({name:"SnapStartTimeoutException",$fault:"client",...e}),Object.setPrototypeOf(this,Fi.prototype),this.Type=e.Type,this.Message=e.Message}},Sd=class Bi extends y{static{n(this,"SubnetIPAddressLimitReachedException")}static shapeId="com.amazonaws.lambda#SubnetIPAddressLimitReachedException";name="SubnetIPAddressLimitReachedException";$fault="server";Type;Message;constructor(e){super({name:"SubnetIPAddressLimitReachedException",$fault:"server",...e}),Object.setPrototypeOf(this,Bi.prototype),this.Type=e.Type,this.Message=e.Message}},xd=class zi extends y{static{n(this,"UnsupportedMediaTypeException")}static shapeId="com.amazonaws.lambda#UnsupportedMediaTypeException";name="UnsupportedMediaTypeException";$fault="client";Type;constructor(e){super({name:"UnsupportedMediaTypeException",$fault:"client",...e}),Object.setPrototypeOf(this,zi.prototype),this.Type=e.Type}},bd=class Hi extends y{static{n(this,"ProvisionedConcurrencyConfigNotFoundException")}static shapeId="com.amazonaws.lambda#ProvisionedConcurrencyConfigNotFoundException";name="ProvisionedConcurrencyConfigNotFoundException";$fault="client";Type;constructor(e){super({name:"ProvisionedConcurrencyConfigNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,Hi.prototype),this.Type=e.Type}},wd=class ji extends y{static{n(this,"CallbackTimeoutException")}static shapeId="com.amazonaws.lambda#CallbackTimeoutException";name="CallbackTimeoutException";$fault="client";Type;Message;constructor(e){super({name:"CallbackTimeoutException",$fault:"client",...e}),Object.setPrototypeOf(this,ji.prototype),this.Type=e.Type,this.Message=e.Message}},Id="AliasLimitExceededException",Cd="Blob",Ad="CodeArtifactUserDeletedException",Rd="CodeArtifactUserFailedException",_d="CodeArtifactUserPendingException",Pd="ClientContext",Td="CapacityProviderLimitExceededException",Nd="CodeSigningConfigNotFoundException",Md="CodeStorageExceededException",kd="CallbackTimeoutException",$d="CodeVerificationFailedException",Od="DurableExecutionArn",Dd="DurableExecutionAlreadyStartedException",Ld="DurableExecutionName",Ud="EC2AccessDeniedException",Fd="EC2ErrorCode",Bd="EC2ThrottledException",zd="EC2UnexpectedException",Hd="EFSIOException",jd="EFSMountConnectivityException",qd="EFSMountFailureException",Kd="EFSMountTimeoutException",Vd="ENILimitReachedException",Qd="ENINotReadyException",Wd="ExecutedVersion",Gd="FunctionError",Xd="FunctionName",Jd="FunctionVersionsPerCapacityProviderLimitExceededException",Yd="InvalidCodeSignatureException",Zd="InvalidParameterValueException",el="InvalidRequestContentException",tl="InvalidRuntimeException",rl="InvocationRequest",sl="InvocationResponse",al="InvalidSecurityGroupIDException",nl="InvalidSubnetIDException",il="InvocationType",ol="InvalidZipFileException",cl="Invoke",ul="KMSAccessDeniedException",dl="KMSDisabledException",ll="KMSInvalidStateException",pl="KMSNotFoundException",ml="LogResult",hl="LogType",R="Message",vl="ModeNotSupportedException",fl="NoPublishedVersionException",gl="ProvisionedConcurrencyConfigNotFoundException",yl="PreconditionFailedException",El="PolicyLengthExceededException",Sl="PublicPolicyException",qi="Payload",Da="Qualifier",xl="Reason",bl="Retry-After",wl="ResourceConflictException",Il="RecursiveInvocationException",Cl="ResourceInUseException",Al="ResourceNotFoundException",Rl="ResourceNotReadyException",_l="RequestTooLargeException",Pl="StatusCode",Tl="ServiceException",Nl="S3FilesMountConnectivityException",Ml="S3FilesMountFailureException",kl="S3FilesMountTimeoutException",$l="SubnetIPAddressLimitReachedException",Ol="ServiceQuotaExceededException",Dl="SerializedRequestEntityTooLargeException",Ll="SnapStartException",Ul="SnapStartNotReadyException",Fl="SnapStartRegenerationFailureException",Bl="SnapStartTimeoutException",S="Type",zl="TenantId",Hl="TooManyRequestsException",jl="UnsupportedMediaTypeException",ql="X-Amz-Client-Context",Kl="X-Amz-Durable-Execution-Arn",Vl="X-Amz-Durable-Execution-Name",Ql="X-Amz-Executed-Version",Wl="X-Amz-Function-Error",Gl="X-Amz-Invocation-Type",Xl="X-Amz-Log-Result",Jl="X-Amz-Log-Type",Yl="X-Amz-Tenant-Id",C="client",x="error",Zl="http",b="httpError",Ee="httpHeader",ep="httpQuery",Z="message",tp="retryAfterSeconds",Ki="smithy.ts.sdk.synthetic.com.amazonaws.lambda",ne="server",f="com.amazonaws.lambda",Vi=new Pe(Ki),rp=[-3,Ki,"LambdaServiceException",0,[],[]];Vi.registerError(rp,y);var E=new Pe(f),sp=[-3,f,Id,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(sp,Tu);var ap=[-3,f,kd,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(ap,wd);var np=[-3,f,Td,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(np,Nu);var ip=[-3,f,Ad,{[x]:C,[b]:409},[S,Z],[0,0]];E.registerError(ip,Hu);var op=[-3,f,Rd,{[x]:C,[b]:409},[S,Z],[0,0]];E.registerError(op,ju);var cp=[-3,f,_d,{[x]:C,[b]:409},[S,Z],[0,0]];E.registerError(cp,qu);var up=[-3,f,Nd,{[x]:C,[b]:404},[S,R],[0,0]];E.registerError(up,Lu);var dp=[-3,f,Md,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(dp,Uu);var lp=[-3,f,$d,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(lp,Fu);var pp=[-3,f,Dd,{[x]:C,[b]:409},[S,R],[0,0]];E.registerError(pp,Ku);var mp=[-3,f,Ud,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(mp,Vu);var hp=[-3,f,Bd,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(hp,Qu);var vp=[-3,f,zd,{[x]:ne,[b]:502},[S,R,Fd],[0,0,0]];E.registerError(vp,Wu);var fp=[-3,f,Hd,{[x]:C,[b]:410},[S,R],[0,0]];E.registerError(fp,Gu);var gp=[-3,f,jd,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(gp,Xu);var yp=[-3,f,qd,{[x]:C,[b]:403},[S,R],[0,0]];E.registerError(yp,Ju);var Ep=[-3,f,Kd,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(Ep,Yu);var Sp=[-3,f,Vd,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Sp,Zu);var xp=[-3,f,Qd,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(xp,ed);var bp=[-3,f,Jd,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(bp,Bu);var wp=[-3,f,Yd,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(wp,zu);var Ip=[-3,f,Zd,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(Ip,bu);var Cp=[-3,f,el,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(Cp,td);var Ap=[-3,f,tl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Ap,rd);var Rp=[-3,f,al,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Rp,sd);var _p=[-3,f,nl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(_p,ad);var Pp=[-3,f,ol,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Pp,nd);var Tp=[-3,f,ul,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Tp,Mu);var Np=[-3,f,dl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Np,ku);var Mp=[-3,f,ll,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Mp,$u);var kp=[-3,f,pl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(kp,Ou);var $p=[-3,f,vl,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError($p,id);var Op=[-3,f,fl,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(Op,od);var Dp=[-3,f,El,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(Dp,wu);var Lp=[-3,f,yl,{[x]:C,[b]:412},[S,Z],[0,0]];E.registerError(Lp,Iu);var Up=[-3,f,gl,{[x]:C,[b]:404},[S,Z],[0,0]];E.registerError(Up,bd);var Fp=[-3,f,Sl,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(Fp,Pu);var Bp=[-3,f,Il,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(Bp,cd);var zp=[-3,f,_l,{[x]:C,[b]:413},[S,Z],[0,0]];E.registerError(zp,ud);var Hp=[-3,f,wl,{[x]:C,[b]:409},[S,Z],[0,0]];E.registerError(Hp,Cu);var jp=[-3,f,Cl,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(jp,Du);var qp=[-3,f,Al,{[x]:C,[b]:404},[S,R],[0,0]];E.registerError(qp,Au);var Kp=[-3,f,Rl,{[x]:ne,[b]:502},[S,Z],[0,0]];E.registerError(Kp,dd);var Vp=[-3,f,Nl,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(Vp,ld);var Qp=[-3,f,Ml,{[x]:C,[b]:403},[S,R],[0,0]];E.registerError(Qp,pd);var Wp=[-3,f,kl,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(Wp,md);var Gp=[-3,f,Dl,{[x]:C,[b]:413},[S,Z],[0,0]];E.registerError(Gp,hd);var Xp=[-3,f,Tl,{[x]:ne,[b]:500},[S,R],[0,0]];E.registerError(Xp,Ru);var Jp=[-3,f,Ol,{[x]:C,[b]:402},[S,R],[0,0]];E.registerError(Jp,vd);var Yp=[-3,f,Ll,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(Yp,fd);var Zp=[-3,f,Ul,{[x]:C,[b]:409},[S,R],[0,0]];E.registerError(Zp,gd);var em=[-3,f,Fl,{[x]:C,[b]:409},[S,R],[0,0]];E.registerError(em,yd);var tm=[-3,f,Bl,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(tm,Ed);var rm=[-3,f,$l,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(rm,Sd);var sm=[-3,f,Hl,{[x]:C,[b]:429},[tp,S,Z,xl],[[0,{[Ee]:bl}],0,0,0]];E.registerError(sm,_u);var am=[-3,f,jl,{[x]:C,[b]:415},[S,Z],[0,0]];E.registerError(am,xd);var nm=[Vi,E],Qi=[0,f,Cd,8,21],im=[3,f,rl,0,[Xd,il,hl,Pd,Ld,qi,Da,zl],[[0,1],[0,{[Ee]:Gl}],[0,{[Ee]:Jl}],[0,{[Ee]:ql}],[0,{[Ee]:Vl}],[()=>Qi,16],[0,{[ep]:Da}],[0,{[Ee]:Yl}]],1],om=[3,f,sl,0,[Pl,Gd,ml,qi,Wd,Od],[[1,32],[0,{[Ee]:Wl}],[0,{[Ee]:Xl}],[()=>Qi,16],[0,{[Ee]:Ql}],[0,{[Ee]:Kl}]]],cm=[9,f,cl,{[Zl]:["POST","/2015-03-31/functions/{FunctionName}/invocations",200]},()=>im,()=>om],um=n(t=>({apiVersion:"2015-03-31",base64Decoder:t?.base64Decoder??rt,base64Encoder:t?.base64Encoder??je,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??xu,extensions:t?.extensions??[],httpAuthSchemeProvider:t?.httpAuthSchemeProvider??pu,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:n(e=>e.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new pr}],logger:t?.logger??new He,protocol:t?.protocol??Ea,protocolSettings:t?.protocolSettings??{defaultNamespace:"com.amazonaws.lambda",errorTypeRegistries:nm,version:"2015-03-31",serviceTarget:"AWSGirApiService"},serviceId:t?.serviceId??"Lambda",sha256:t?.sha256??vr,urlParser:t?.urlParser??bt,utf8Decoder:t?.utf8Decoder??et,utf8Encoder:t?.utf8Encoder??tt}),"getRuntimeConfig$5"),dm=n(t=>{_t(process.version);let e=Ut(t),r=n(()=>e().then(Rt),"defaultConfigProvider"),s=um(t);wt(process.version);let a={profile:t?.profile,logger:s.logger};return{...s,...t,runtime:"node",defaultsMode:e,authSchemePreference:t?.authSchemePreference??U(mr,a),bodyLengthChecker:t?.bodyLengthChecker??Mt,credentialDefaultProvider:t?.credentialDefaultProvider??ws,defaultUserAgentProvider:t?.defaultUserAgentProvider??or({serviceId:s.serviceId,clientVersion:fu.version}),eventStreamSerdeProvider:t?.eventStreamSerdeProvider??Un,maxAttempts:t?.maxAttempts??U(Gt,t),region:t?.region??U(Ot,{...Dt,...a}),requestHandler:xt.create(t?.requestHandler??r),retryMode:t?.retryMode??U({...Jt,default:n(async()=>(await r()).retryMode||Wt,"default")},t),streamCollector:t?.streamCollector??St,useDualstackEndpoint:t?.useDualstackEndpoint??U(kt,a),useFipsEndpoint:t?.useFipsEndpoint??U($t,a),userAgentAppId:t?.userAgentAppId??U(cr,a)}},"getRuntimeConfig$4"),lm=n(t=>{let e=t.httpAuthSchemes,r=t.httpAuthSchemeProvider,s=t.credentials;return{setHttpAuthScheme(a){let i=e.findIndex(o=>o.schemeId===a.schemeId);i===-1?e.push(a):e.splice(i,1,a)},httpAuthSchemes(){return e},setHttpAuthSchemeProvider(a){r=a},httpAuthSchemeProvider(){return r},setCredentials(a){s=a},credentials(){return s}}},"getHttpAuthExtensionConfiguration$2"),pm=n(t=>({httpAuthSchemes:t.httpAuthSchemes(),httpAuthSchemeProvider:t.httpAuthSchemeProvider(),credentials:t.credentials()}),"resolveHttpAuthRuntimeConfig$2"),mm=n((t,e)=>{let r=Object.assign(dr(t),Pt(t),Kt(t),lm(t));return e.forEach(s=>s.configure(r)),Object.assign(t,lr(r),Tt(r),Vt(r),pm(r))},"resolveRuntimeExtensions$2"),hm=class extends It{static{n(this,"LambdaClient")}config;constructor(...[t]){let e=dm(t||{});super(e),this.initConfig=e;let r=hu(e),s=nr(r),a=Xt(s),i=Lt(a),o=i,c=mm(mu(Fn(jt(o))),t?.extensions||[]);this.config=c,this.middlewareStack.use(Ct(this.config)),this.middlewareStack.use(ir(this.config)),this.middlewareStack.use(Yt(this.config)),this.middlewareStack.use(Qt(this.config)),this.middlewareStack.use(Zt(this.config)),this.middlewareStack.use(er(this.config)),this.middlewareStack.use(tr(this.config)),this.middlewareStack.use(rr(this.config,{httpAuthSchemeParametersProvider:du,identityProviderConfigProvider:n(async u=>new ar({"aws.auth#sigv4":u.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(sr(this.config))}destroy(){super.destroy()}},vm=Nt(vu,"AWSGirApiService","LambdaClient",qt),fm={},gm=n((t,e,r,s)=>[],"_mw0$1"),ym=class extends vm(fm,gm,"Invoke",cm){static{n(this,"InvokeCommand")}},Em={DryRun:"DryRun",Event:"Event",RequestResponse:"RequestResponse"},Sm=de({BEESOLVE_AUTH_SDK_HANDLER_ARN:re()}),xm=Fr(Sm,process.env),bm=class{static{n(this,"AuthClient")}props;lambdaArn;lambdaClient;constructor(t={}){this.props=t,this.lambdaArn=t.lambdaArn??xm.BEESOLVE_AUTH_SDK_HANDLER_ARN,this.lambdaClient=t.lambdaClient??new hm}invoke=n(async t=>this.invokeLambda(t),"invoke");invokeLambda=n(async t=>{let{Payload:e,StatusCode:r,FunctionError:s}=await this.lambdaClient.send(new ym({FunctionName:this.lambdaArn,InvocationType:Em.RequestResponse,Payload:JSON.stringify(s0(t))}));if(r!==200)throw new Error(`Cannot invoke synchronous action: ${s}`);let a=JSON.parse(e?.transformToString()??"null");if(a!=null&&typeof a=="object"&&"errorMessage"in a)throw new Error(`SDK handler error: ${a.errorMessage}`);return a},"invokeLambda")},wm=Ur("impersonating",[de({userId:re(),sessionId:re(),expiresAt:re(),impersonating:Oe(!1)}),de({userId:re(),sessionId:re(),expiresAt:re(),impersonating:Oe(!0),impersonatedBy:re()})]),Gr=de({sid:re(),maxAge:zs()}),Im=Ur("type",[de({type:Oe("none")}),de({type:Oe("invalid"),error:re(),setCookiesParams:Et(Gr)}),de({type:Oe("expired"),expiredSession:de({userId:re(),sessionId:re(),expiredAt:re()}),setCookiesParams:Et(Gr)}),de({type:Oe("valid"),validSession:wm,setCookiesParams:Et(Gr)})]),Cm=Hs(re(),Bs(t=>JSON.parse(t)),Im),La=de({session:Cm});async function Am(){if(!Ms())return{type:"none"};let t=Ns();return Ts(t)?(await ks(La)).session:(await $s(La)).session}n(Am,"getSessionContext2");function Rm(t){for(let{sid:e,maxAge:r}of t.cookies)[`__Host-SID=${e}; HttpOnly; Max-Age=${r}; SameSite=Strict; Secure; Path=/`,`aSID=${r>0?1:0}; Max-Age=${r}; SameSite=Strict; Secure; Path=/`].forEach(s=>t.headers.append("Set-Cookie",s));return t.headers}n(Rm,"addSetCookies2");var _m={type:"valid",validSession:{userId:"dev-user",sessionId:"dev-session",expiresAt:new Date(Date.now()+2592e6).toISOString(),impersonating:!1},setCookiesParams:[]};new Date(Date.now()-36e5).toISOString();var Pm=process.env.LAMBDA_TASK_ROOT!=null;function Tm(t){return Pm?async({event:e,resolve:r})=>{let s=await Am();e.locals.session=s;let a=await r(e);return s.type!=="none"&&s.setCookiesParams.length>0&&Rm({headers:a.headers,cookies:s.setCookiesParams}),a}:Nm(t?.fallbackSession??_m)}n(Tm,"createSessionHandle");function Nm(t){return async({event:e,resolve:r})=>(e.locals.session=t,r(e))}n(Nm,"createFallbackHandle");var ke={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},Wi=ke.WHEN_SUPPORTED,dt={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},Gi=ke.WHEN_SUPPORTED,B;(function(t){t.MD5="MD5",t.CRC32="CRC32",t.CRC32C="CRC32C",t.CRC64NVME="CRC64NVME",t.SHA1="SHA1",t.SHA256="SHA256"})(B||(B={}));var Ua;(function(t){t.HEADER="header",t.TRAILER="trailer"})(Ua||(Ua={}));var hs=B.CRC32,We;(function(t){t.ENV="env",t.CONFIG="shared config entry"})(We||(We={}));var Ar=n((t,e,r,s)=>{if(!(e in t))return;let a=t[e].toUpperCase();if(!Object.values(r).includes(a))throw new TypeError(`Cannot load ${s} '${e}'. Expected one of ${Object.values(r)}, got '${t[e]}'.`);return a},"stringUnionSelector"),Mm="AWS_REQUEST_CHECKSUM_CALCULATION",km="request_checksum_calculation",$m={environmentVariableSelector:n(t=>Ar(t,Mm,ke,We.ENV),"environmentVariableSelector"),configFileSelector:n(t=>Ar(t,km,ke,We.CONFIG),"configFileSelector"),default:Wi},Om="AWS_RESPONSE_CHECKSUM_VALIDATION",Dm="response_checksum_validation",Lm={environmentVariableSelector:n(t=>Ar(t,Om,dt,We.ENV),"environmentVariableSelector"),configFileSelector:n(t=>Ar(t,Dm,dt,We.CONFIG),"configFileSelector"),default:Gi},Um=n((t,{requestChecksumRequired:e,requestAlgorithmMember:r,requestChecksumCalculation:s})=>{if(!r)return s===ke.WHEN_SUPPORTED||e?hs:void 0;if(t[r])return t[r]},"getChecksumAlgorithmForRequest"),Rr=n(t=>t===B.MD5?"content-md5":`x-amz-checksum-${t.toLowerCase()}`,"getChecksumLocationName"),Fm=n((t,e)=>{let r=t.toLowerCase();for(let s of Object.keys(e))if(r===s.toLowerCase())return!0;return!1},"hasHeader"),Bm=n((t,e)=>{let r=t.toLowerCase();for(let s of Object.keys(e))if(s.toLowerCase().startsWith(r))return!0;return!1},"hasHeaderWithPrefix"),Xi=n(t=>t!==void 0&&typeof t!="string"&&!ArrayBuffer.isView(t)&&!Js(t),"isStreaming"),Ji=new Uint32Array(256);for(let t=0;t<256;++t){let e=t;for(let r=0;r<8;++r)e=e&1?2197175160^e>>>1:e>>>1;Ji[t]=e>>>0}var zm=class{static{n(this,"Crc32cJs")}digestLength=4;crc=4294967295;update(t){let e=this.crc;for(let r=0;r<t.length;++r)e=e>>>8^Ji[(e^t[r])&255];this.crc=e}async digest(){let t=(this.crc^4294967295)>>>0,e=new Uint8Array(4);return e[0]=t>>>24,e[1]=t>>>16&255,e[2]=t>>>8&255,e[3]=t&255,e}reset(){this.crc=4294967295}},Hm=zm,jm={CrtCrc64Nvme:null},qm=n(()=>{let e=new Array(8);for(let r=0;r<8;r++){let s=new Array(512);for(let a=0;a<256;a++){let i=BigInt(a);for(let o=0;o<8*(r+1);o++)i&1n?i=i>>1n^11127430586519243189n:i=i>>1n;s[a*2]=Number(i>>32n&4294967295n),s[a*2+1]=Number(i&4294967295n)}e[r]=new Uint32Array(s)}return e},"generateCRC64NVMETable"),Xr,ct,vs,fs,gs,ys,Es,Ss,xs,Km=n(()=>{Xr||(Xr=qm(),[ct,vs,fs,gs,ys,Es,Ss,xs]=Xr)},"ensureTablesInitialized"),Vm=class{static{n(this,"Crc64NvmeJs")}c1=0;c2=0;constructor(){Km(),this.reset()}update(t){let e=t.length,r=0,s=this.c1,a=this.c2;for(;r+8<=e;){let i=((a^t[r++])&255)<<1,o=((a>>>8^t[r++])&255)<<1,c=((a>>>16^t[r++])&255)<<1,u=((a>>>24^t[r++])&255)<<1,p=((s^t[r++])&255)<<1,d=((s>>>8^t[r++])&255)<<1,l=((s>>>16^t[r++])&255)<<1,m=((s>>>24^t[r++])&255)<<1;s=xs[i]^Ss[o]^Es[c]^ys[u]^gs[p]^fs[d]^vs[l]^ct[m],a=xs[i+1]^Ss[o+1]^Es[c+1]^ys[u+1]^gs[p+1]^fs[d+1]^vs[l+1]^ct[m+1]}for(;r<e;){let i=((a^t[r])&255)<<1;a=(a>>>8|(s&255)<<24)>>>0,s=s>>>8^ct[i],a^=ct[i+1],++r}this.c1=s,this.c2=a}async digest(){let t=this.c1^4294967295,e=this.c2^4294967295;return new Uint8Array([t>>>24,t>>>16&255,t>>>8&255,t&255,e>>>24,e>>>16&255,e>>>8&255,e&255])}reset(){this.c1=4294967295,this.c2=4294967295}},Qm=class{static{n(this,"Crc64Nvme")}impl;constructor(){let t=jm.CrtCrc64Nvme;this.impl=t?new t:new Vm}update(t){this.impl.update(t)}async digest(){return this.impl.digest()}reset(){this.impl.reset()}},Wm=[B.CRC32,B.CRC32C,B.CRC64NVME,B.SHA1,B.SHA256],Fa=[B.SHA256,B.SHA1,B.CRC32,B.CRC32C,B.CRC64NVME],Yi=n((t,e)=>{let{checksumAlgorithms:r={}}=e;switch(t){case B.MD5:return r?.MD5??e.md5;case B.CRC32:return r?.CRC32??Is;case B.CRC32C:return r?.CRC32C??Hm;case B.CRC64NVME:return r?.CRC64NVME??Qm;case B.SHA1:return r?.SHA1??e.sha1;case B.SHA256:return r?.SHA256??e.sha256;default:if(r?.[t])return r[t];throw new Error(`The checksum algorithm "${t}" is not supported by the client. Select one of ${Wm}, or provide an implementation to the client constructor checksums field.`)}},"selectChecksumAlgorithmFunction"),Zi=n((t,e)=>{let r=new t;return r.update(Le(e||"")),r.digest()},"stringHasher"),Gm={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},Xm=n((t,e)=>(r,s)=>async a=>{if(!De.isInstance(a.request)||Bm("x-amz-checksum-",a.request.headers))return r(a);let{request:i,input:o}=a,{body:c,headers:u}=i,{base64Encoder:p,streamHasher:d}=t,{requestChecksumRequired:l,requestAlgorithmMember:m}=e,v=await t.requestChecksumCalculation(),g=m?.name,_=m?.httpHeader;g&&!o[g]&&(v===ke.WHEN_SUPPORTED||l)&&(o[g]=hs,_&&(u[_]=hs));let I=Um(o,{requestChecksumRequired:l,requestAlgorithmMember:m?.name,requestChecksumCalculation:v}),N=c,H=u;if(I){switch(I){case B.CRC32:le(s,"FLEXIBLE_CHECKSUMS_REQ_CRC32","U");break;case B.CRC32C:le(s,"FLEXIBLE_CHECKSUMS_REQ_CRC32C","V");break;case B.CRC64NVME:le(s,"FLEXIBLE_CHECKSUMS_REQ_CRC64","W");break;case B.SHA1:le(s,"FLEXIBLE_CHECKSUMS_REQ_SHA1","X");break;case B.SHA256:le(s,"FLEXIBLE_CHECKSUMS_REQ_SHA256","Y")}let X=Rr(I),Re=Yi(I,t);if(Xi(c)){let{getAwsChunkedEncodingStream:ce,bodyLengthChecker:$e}=t;N=ce(typeof t.requestStreamBufferSize=="number"&&t.requestStreamBufferSize>=8192?m0(c,t.requestStreamBufferSize,s.logger):c,{base64Encoder:p,bodyLengthChecker:$e,checksumLocationName:X,checksumAlgorithmFn:Re,streamHasher:d}),H={...u,"content-encoding":u["content-encoding"]?`${u["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":u["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":X},delete H["content-length"]}else if(!Fm(X,u)){let ce=await Zi(Re,c);H={...u,[X]:p(ce)}}}try{return await r({...a,request:{...i,headers:H,body:N}})}catch(X){if(X instanceof Error&&X.name==="InvalidChunkSizeError")try{X.message.endsWith(".")||(X.message+="."),X.message+=" Set [requestStreamBufferSize=number e.g. 65_536] in client constructor to instruct AWS SDK to buffer your input stream."}catch{}throw X}},"flexibleChecksumsMiddleware"),Jm={name:"flexibleChecksumsInputMiddleware",toMiddleware:"serializerMiddleware",relation:"before",tags:["BODY_CHECKSUM"],override:!0},Ym=n((t,e)=>(r,s)=>async a=>{let i=a.input,{requestValidationModeMember:o}=e,c=await t.requestChecksumCalculation(),u=await t.responseChecksumValidation();switch(c){case ke.WHEN_REQUIRED:le(s,"FLEXIBLE_CHECKSUMS_REQ_WHEN_REQUIRED","a");break;case ke.WHEN_SUPPORTED:le(s,"FLEXIBLE_CHECKSUMS_REQ_WHEN_SUPPORTED","Z")}switch(u){case dt.WHEN_REQUIRED:le(s,"FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED","c");break;case dt.WHEN_SUPPORTED:le(s,"FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED","b")}return o&&!i[o]&&u===dt.WHEN_SUPPORTED&&(i[o]="ENABLED"),r(a)},"flexibleChecksumsInputMiddleware"),eo=n((t=[])=>{let e=[],r=Fa.length;for(let s of t){let a=Fa.indexOf(s);a!==-1?e[a]=s:e[r++]=s}return e.filter(Boolean)},"getChecksumAlgorithmListForResponse"),Zm=n(t=>{let e=t.lastIndexOf("-");if(e!==-1){let r=t.slice(e+1);if(!r.startsWith("0")){let s=parseInt(r,10);if(!isNaN(s)&&s>=1&&s<=1e4)return!0}}return!1},"isChecksumWithPartNumber"),eh=n(async(t,{checksumAlgorithmFn:e,base64Encoder:r})=>r(await Zi(e,t)),"getChecksum"),th=n(async(t,{config:e,responseAlgorithms:r,logger:s})=>{let a=eo(r),{body:i,headers:o}=t;for(let c of a){let u=Rr(c),p=o[u];if(p){let d;try{d=Yi(c,e)}catch(v){if(c===B.CRC64NVME){s?.warn(`Skipping ${B.CRC64NVME} checksum validation: ${v.message}`);continue}throw v}let{base64Encoder:l}=e;if(Xi(i)){t.body=l0({expectedChecksum:p,checksumSourceLocation:u,checksum:new d,source:i,base64Encoder:l});return}let m=await eh(i,{checksumAlgorithmFn:d,base64Encoder:l});if(m===p)break;throw new Error(`Checksum mismatch: expected "${m}" but received "${p}" in response header "${u}".`)}}},"validateChecksumFromResponse"),rh={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},sh=n((t,e)=>(r,s)=>async a=>{if(!De.isInstance(a.request))return r(a);let i=a.input,o=await r(a),c=o.response,{requestValidationModeMember:u,responseAlgorithms:p}=e;if(u&&i[u]==="ENABLED"){let{clientName:d,commandName:l}=s,m=Object.keys(t.checksumAlgorithms??{}).filter(g=>{let _=Rr(g);return c.headers[_]!==void 0}),v=eo([...p??[],...m]);if(d==="S3Client"&&l==="GetObjectCommand"&&v.every(g=>{let _=Rr(g),I=c.headers[_];return!I||Zm(I)}))return o;await th(c,{config:t,responseAlgorithms:v,logger:s.logger})}return o},"flexibleChecksumsResponseMiddleware"),ah=n((t,e)=>({applyToStack:n(r=>{r.add(Xm(t,e),Gm),r.addRelativeTo(Ym(t,e),Jm),r.addRelativeTo(sh(t,e),rh)},"applyToStack")}),"getFlexibleChecksumsPlugin"),nh=n(t=>{let{requestChecksumCalculation:e,responseChecksumValidation:r,requestStreamBufferSize:s}=t;return Object.assign(t,{requestChecksumCalculation:xe(e??Wi),responseChecksumValidation:xe(r??Gi),requestStreamBufferSize:Number(s??0),checksumAlgorithms:t.checksumAlgorithms??{}})},"resolveFlexibleChecksumsConfig"),ih="content-length",oh="x-amz-decoded-content-length";function ch(){return(t,e)=>async r=>{let{request:s}=r;if(De.isInstance(s)&&!(ih in s.headers)&&!(oh in s.headers)){let a="Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.";typeof e?.logger?.warn=="function"&&!(e.logger instanceof He)?e.logger.warn(a):console.warn(a)}return t({...r})}}n(ch,"checkContentLengthHeader");var uh={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},dh=n(t=>({applyToStack:n(e=>{e.add(ch(),uh)},"applyToStack")}),"getCheckContentLengthHeaderPlugin"),lh=n(t=>(e,r)=>async s=>{let a=await t.region(),i=t.region,o=n(()=>{},"unlock");r.__s3RegionRedirect&&(Object.defineProperty(t,"region",{writable:!1,value:n(async()=>r.__s3RegionRedirect,"value")}),o=n(()=>Object.defineProperty(t,"region",{writable:!0,value:i}),"unlock"));try{let c=await e(s);if(r.__s3RegionRedirect&&(o(),a!==await t.region()))throw new Error("Region was not restored following S3 region redirect.");return c}catch(c){throw o(),c}},"regionRedirectEndpointMiddleware"),ph={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function mh(t){return(e,r)=>async s=>{try{return await e(s)}catch(a){if(t.followRegionRedirects){let i=a?.$metadata?.httpStatusCode,o=r.commandName==="HeadBucketCommand",c=a?.$response?.headers?.["x-amz-bucket-region"];if(c&&(i===301||i===400&&(a?.name==="IllegalLocationConstraintException"||o))){try{let u=c;r.logger?.debug(`Redirecting from ${await t.region()} to ${u}`),r.__s3RegionRedirect=u,le(r,"S3_REGION_REDIRECT","Ah")}catch(u){throw new Error("Region redirect failed: "+u)}return e(s)}}throw a}}}n(mh,"regionRedirectMiddleware");var hh={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},vh=n(t=>({applyToStack:n(e=>{e.add(mh(t),hh),e.addRelativeTo(lh(t),ph)},"applyToStack")}),"getRegionRedirectMiddlewarePlugin"),fh=class to{static{n(this,"S3ExpressIdentityCache")}data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=3e4;constructor(e={}){this.data=e}get(e){let r=this.data[e];if(r)return r}set(e,r){return this.data[e]=r,r}delete(e){delete this.data[e]}async purgeExpired(){let e=Date.now();if(!(this.lastPurgeTime+to.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>e))for(let r in this.data){let s=this.data[r];if(!s.isRefreshing){let a=await s.identity;a.expiration&&a.expiration.getTime()<e&&delete this.data[r]}}}},Jr=class{static{n(this,"S3ExpressIdentityCacheEntry")}_identity;isRefreshing;accessed;constructor(t,e=!1,r=Date.now()){this._identity=t,this.isRefreshing=e,this.accessed=r}get identity(){return this.accessed=Date.now(),this._identity}},gh=class ro{static{n(this,"S3ExpressIdentityProviderImpl")}createSessionFn;cache;static REFRESH_WINDOW_MS=6e4;constructor(e,r=new fh){this.createSessionFn=e,this.cache=r}async getS3ExpressIdentity(e,r){let s=r.Bucket,{cache:a}=this,i=a.get(s);return i?i.identity.then(o=>(o.expiration?.getTime()??0)<Date.now()?a.set(s,new Jr(this.getIdentity(s))).identity:((o.expiration?.getTime()??0)<Date.now()+ro.REFRESH_WINDOW_MS&&!i.isRefreshing&&(i.isRefreshing=!0,this.getIdentity(s).then(c=>{a.set(s,new Jr(Promise.resolve(c)))})),o)):a.set(s,new Jr(this.getIdentity(s))).identity}async getIdentity(e){await this.cache.purgeExpired().catch(s=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache:
|
|
22
|
-
`+s)});let r=await this.createSessionFn(e);if(!r.Credentials?.AccessKeyId||!r.Credentials?.SecretAccessKey)throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:r.Credentials.AccessKeyId,secretAccessKey:r.Credentials.SecretAccessKey,sessionToken:r.Credentials.SessionToken,expiration:r.Credentials.Expiration?new Date(r.Credentials.Expiration):void 0}}},yh=n((t,{session:e})=>{let[r,s]=e,{forcePathStyle:a,useAccelerateEndpoint:i,disableMultiregionAccessPoints:o,followRegionRedirects:c,s3ExpressIdentityProvider:u,bucketEndpoint:p,expectContinueHeader:d}=t;return Object.assign(t,{forcePathStyle:a??!1,useAccelerateEndpoint:i??!1,disableMultiregionAccessPoints:o??!1,followRegionRedirects:c??!1,s3ExpressIdentityProvider:u??new gh(async l=>r().send(new s({Bucket:l}))),bucketEndpoint:p??!1,expectContinueHeader:d??2097152})},"resolveS3Config"),Eh="sigv4-s3express",Sh="X-Amz-S3session-Token".toLowerCase(),xh="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",bh="s3_disable_express_session_auth",wh={environmentVariableSelector:n(t=>st(t,xh,at.ENV),"environmentVariableSelector"),configFileSelector:n(t=>st(t,bh,at.CONFIG),"configFileSelector"),default:!1},Ih=n(t=>(e,r)=>async s=>{if(r.endpointV2){let a=r.endpointV2,i=a.properties?.authSchemes?.[0]?.name===Eh;if((a.properties?.backend==="S3Express"||a.properties?.bucketType==="Directory")&&(le(r,"S3_EXPRESS_BUCKET","J"),r.isS3ExpressBucket=!0),i){let o=s.input.Bucket;if(o){let c=await t.s3ExpressIdentityProvider.getS3ExpressIdentity(await t.credentials(),{Bucket:o});r.s3ExpressIdentity=c,De.isInstance(s.request)&&c.sessionToken&&(s.request.headers[Sh]=c.sessionToken)}}}return e(s)},"s3ExpressMiddleware"),Ch={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},Ah=n(t=>({applyToStack:n(e=>{e.add(Ih(t),Ch)},"applyToStack")}),"getS3ExpressPlugin"),Rh=n(async(t,e,r,s)=>{let a=await s.signWithCredentials(r,t,{});if(a.headers["X-Amz-Security-Token"]||a.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.");return a},"signS3Express"),_h=n(t=>e=>{throw e},"defaultErrorHandler"),Ph=n((t,e)=>{},"defaultSuccessHandler"),Th=n(t=>(e,r)=>async s=>{if(!De.isInstance(s.request))return e(s);let a=ze(r).selectedHttpAuthScheme;if(!a)throw new Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:i={}},identity:o,signer:c}=a,u;r.s3ExpressIdentity?u=await Rh(r.s3ExpressIdentity,i,s.request,await t.signer()):u=await c.sign(s.request,o,i);let p=await e({...s,request:u}).catch((c.errorHandler||_h)(i));return(c.successHandler||Ph)(p.response,i),p},"s3ExpressHttpSigningMiddleware"),Nh=n(t=>({applyToStack:n(e=>{e.addRelativeTo(Th(t),ia)},"applyToStack")}),"getS3ExpressHttpSigningPlugin");function Mh(t){return ft.from(Buffer.from(t))}n(Mh,"toStream");var kh={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},$h=n(t=>(e,r)=>async s=>{let a=await e(s),{response:i}=a;if(!Zs.isInstance(i))return a;let{statusCode:o,body:c}=i;if(o<200||o>=300)return a;let u=await Oh(c,t);if(i.body=Mh(u),u.length===0&&kh[r.commandName]){let d=new Error("S3 aborted request");throw d.$metadata={httpStatusCode:503},d.name="InternalError",d}let p=t.utf8Encoder(u.subarray(u.length-16));return p&&p.endsWith("</Error>")&&(i.statusCode=503),a},"throw200ExceptionsMiddleware"),Oh=n((t=new Uint8Array,e)=>t instanceof Uint8Array?Promise.resolve(t):e.streamCollector(t)||Promise.resolve(new Uint8Array),"collectBody"),Dh={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},so=n(t=>({applyToStack:n(e=>{e.addRelativeTo($h(t),Dh)},"applyToStack")}),"getThrow200ExceptionsPlugin"),Lh=n(t=>typeof t=="string"&&t.indexOf("arn:")===0&&t.split(":").length>=6,"validate");function Uh(t){return(e,r)=>async s=>{if(t.bucketEndpoint){let a=r.endpointV2;if(a){let i=s.input.Bucket;if(typeof i=="string")try{let o=new URL(i);r.endpointV2={...a,url:o}}catch(o){let c=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${i} could not be parsed as URL.`;throw r.logger?.constructor?.name==="NoOpLogger"?console.warn(c):r.logger?.warn?.(c),o}}}return e(s)}}n(Uh,"bucketEndpointMiddleware");var Fh={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function Bh({bucketEndpoint:t}){return e=>async r=>{let{input:{Bucket:s}}=r;if(!t&&typeof s=="string"&&!Lh(s)&&s.indexOf("/")>=0){let a=new Error(`Bucket name shouldn't contain '/', received '${s}'`);throw a.name="InvalidBucketName",a}return e({...r})}}n(Bh,"validateBucketNameMiddleware");var zh={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},Hh=n(t=>({applyToStack:n(e=>{e.add(Bh(t),zh),e.addRelativeTo(Uh(t),Fh)},"applyToStack")}),"getValidateBucketNamePlugin"),jh=class extends N0{static{n(this,"S3RestXmlProtocol")}async serializeRequest(t,e,r){let s=await super.serializeRequest(t,e,r),a=Te.of(t.input),i=a.getSchema(),o=0,c=i[6]??0;if(e&&typeof e=="object")for(let[u,p]of a.structIterator()){if(++o>c)break;if(u==="Bucket"){if(!e.Bucket&&p.getMergedTraits().httpLabel)throw new Error("No value provided for input HTTP label: Bucket.");break}}return s}},qh="AWS_S3_USE_ARN_REGION",Kh="s3_use_arn_region",Vh={environmentVariableSelector:n(t=>st(t,qh,at.ENV),"environmentVariableSelector"),configFileSelector:n(t=>st(t,Kh,at.CONFIG),"configFileSelector"),default:void 0};function Qh(t){return e=>async r=>{let{request:s}=r;if(t.expectContinueHeader!==!1&&De.isInstance(s)&&s.body&&t.runtime==="node"&&t.requestHandler?.constructor?.name!=="FetchHttpHandler"){let a=!0;if(typeof t.expectContinueHeader=="number")try{a=(Number(s.headers?.["content-length"])??t.bodyLengthChecker?.(s.body)??1/0)>=t.expectContinueHeader}catch{}else a=!!t.expectContinueHeader;a&&(s.headers.Expect="100-continue")}return e({...r,request:s})}}n(Qh,"addExpectContinueMiddleware");var Wh={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},Gh=n(t=>({applyToStack:n(e=>{e.add(Qh(t),Wh)},"applyToStack")}),"getAddExpectContinuePlugin");function Xh(t){return e=>async r=>{let s={...r.input};for(let a of[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}]){let i=s[a.target];if(i){let o;typeof i=="string"?Zh(i,t)?o=t.base64Decoder(i):(o=t.utf8Decoder(i),s[a.target]=t.base64Encoder(o)):(o=ArrayBuffer.isView(i)?new Uint8Array(i.buffer,i.byteOffset,i.byteLength):new Uint8Array(i),s[a.target]=t.base64Encoder(o));let c=new t.md5;c.update(o),s[a.hash]=t.base64Encoder(await c.digest())}}return e({...r,input:s})}}n(Xh,"ssecMiddleware");var Jh={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},Yh=n(t=>({applyToStack:n(e=>{e.add(Xh(t),Jh)},"applyToStack")}),"getSsecPlugin");function Zh(t,e){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t))return!1;try{return e.base64Decoder(t).length===32}catch{return!1}}n(Zh,"isValidBase64EncodedSSECustomerKey");var F="ref",P="argv",ao="backend",Se="authSchemes",he="disableDoubleEncoding",ve="signingName",Ce="signingRegion",Cs="signingRegionSet",w=-1,k=!0,me=!1,Yr="isSet",ye="booleanEquals",M="stringEquals",se="coalesce",ie="substring",Y="",Ba="aws.partition",no="partitionResult",za="accessPointSuffix",Ha="regionPrefix",yr=n(t=>"outpostId_ssa_"+t+Y,"n"),io="hardwareType",Zr="ite",be="isValidHostLabel",Ae="sigv4",ja="aws.isVirtualHostableS3Bucket",oo="url",oe="getAttr",co="bucketArn",we="--",uo="arnType",qa="accesspoint",es=n(t=>"accessPointName_ssa_"+t+Y,"A"),As="s3-object-lambda",mt="s3-outposts",Ka="bucketPartition",lo="us-east-1",Va="outpostType",ue="name",ht="s3",ts="{url#scheme}://{Bucket}.{url#authority}{url#path}",Er="{url#scheme}://{url#authority}{url#path}",Qa="{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",Wa="https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",Ga="https://{Bucket}.s3.{partitionResult#dnsSuffix}",Xa=n(t=>"{url#scheme}://{accessPointName_ssa_"+t+"}-{bucketArn#accountId}.{url#authority}{url#path}","N"),Ja=n(t=>"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName_ssa_"+t+"}`","O"),Rs="sigv4a",Ya="{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",Za="https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",en="https://s3.{partitionResult#dnsSuffix}",tn={[F]:"UseFIPS"},rn={[F]:"UseDualStack"},te={[F]:"Bucket"},rs={fn:oe,[P]:[{[F]:no},ue]},sn={[F]:oo},Ke={[F]:"Region"},Ie={[F]:co},an={[F]:uo},ss={[F]:"accessPointName_ssa_1"},Sr={fn:oe,[P]:[Ie,"region"]},nn={[F]:io},as={fn:oe,[P]:[Ie,"service"]},on={fn:oe,[P]:[Ie,"accountId"]},xr={[ao]:"S3Express",[Se]:[{[he]:!0,[ue]:"{_s3e_auth}",[ve]:"s3express",[Ce]:"{Region}"}]},cn={[ao]:"S3Express",[Se]:[{[he]:!0,[ue]:Ae,[ve]:"s3express",[Ce]:"{Region}"}]},br={[Se]:[{[he]:!0,[ue]:Rs,[ve]:mt,[Cs]:["*"]},{[he]:!0,[ue]:Ae,[ve]:mt,[Ce]:"{Region}"}]},ee={[Se]:[{[he]:!0,[ue]:Ae,[ve]:ht,[Ce]:lo}]},Q={[Se]:[{[he]:!0,[ue]:Ae,[ve]:ht,[Ce]:"{Region}"}]},ns={[Se]:[{[he]:!0,[ue]:Ae,[ve]:As,[Ce]:"{bucketArn#region}"}]},ot={[Se]:[{[he]:!0,[ue]:Ae,[ve]:ht,[Ce]:"{bucketArn#region}"}]},un={[Se]:[{[he]:!0,[ue]:Rs,[ve]:mt,[Cs]:["*"]},{[he]:!0,[ue]:Ae,[ve]:mt,[Ce]:"{bucketArn#region}"}]},is={[Se]:[{[he]:!0,[ue]:Ae,[ve]:As,[Ce]:"{Region}"}]},dn=[Ke],ln=[{[F]:"Endpoint"}],os=[te],pn=[te,0,7,!0],mn=[Ie,"resourceId[1]"],ev=["*"],hn={conditions:[[Yr,dn],[ye,[{[F]:"Accelerate"},k]],[ye,[tn,k]],[ye,[rn,k]],[Yr,ln],[Yr,os],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,0,6,k]},Y]},"--x-s3"]],[M,[{fn:se,[P]:[{fn:ie,[P]:pn},Y]},"--xa-s3"]],[Ba,dn,no],[ie,pn,za],[M,[{[F]:za},"--op-s3"]],[ie,[te,8,12,k],Ha],[ie,[te,32,49,k],yr(2)],[ie,[te,49,50,k],io],[ye,[{[F]:"ForcePathStyle"},k]],[M,[rs,"aws-cn"]],[Zr,[rn,".dualstack",Y],"_s3e_ds"],[be,[{[F]:yr(2)},me]],[Zr,[tn,"-fips",Y],"_s3e_fips"],[Zr,[{fn:se,[P]:[{[F]:"DisableS3ExpressSessionAuth"},me]},Ae,"sigv4-s3express"],"_s3e_auth"],[ja,[te,me]],["parseURL",ln,oo],[ye,[{fn:se,[P]:[{[F]:"UseS3ExpressControlEndpoint"},me]},k]],[ja,[te,k]],[M,[{fn:oe,[P]:[sn,"scheme"]},"http"]],[be,[Ke,me]],["aws.parseArn",os,co],[oe,[{fn:"split",[P]:[te,we,0]},"[-2]"],"s3expressAvailabilityZoneId"],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,0,4,me]},Y]},"arn:"]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,16,18,k]},Y]},we]],[ye,[{fn:oe,[P]:[sn,"isIp"]},k]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,21,23,k]},Y]},we]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,27,29,k]},Y]},we]],[M,[{[F]:Ha},"beta"]],["uriEncode",os,"uri_encoded_bucket"],[be,[Ke,k]],[ye,[{fn:se,[P]:[{[F]:"UseObjectLambdaEndpoint"},me]},k]],[oe,[Ie,"resourceId[0]"],uo],[M,[an,Y]],[M,[an,qa]],[oe,mn,es(1)],[M,[ss,Y]],[M,[Sr,Y]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,14,16,k]},Y]},we]],[M,[nn,"e"]],[M,[nn,"o"]],[M,[Ke,"aws-global"]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,19,21,k]},Y]},we]],[M,[as,As]],[ye,[{fn:se,[P]:[{[F]:"DisableAccessPoints"},me]},k]],[M,[as,mt]],[Ba,[Sr],Ka],[be,[ss,k]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,26,28,k]},Y]},we]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,15,17,k]},Y]},we]],[oe,[Ie,"resourceId[4]"]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,20,22,k]},Y]},we]],[ye,[{[F]:"UseGlobalEndpoint"},k]],[M,[Ke,lo]],[oe,mn,yr(1)],[ye,[{fn:se,[P]:[{[F]:"UseArnRegion"},k]},k]],[be,[{[F]:yr(1)},me]],[oe,[Ie,"resourceId[2]"],Va],[M,[Ke,Sr]],[M,[{fn:oe,[P]:[{[F]:Ka},ue]},rs]],[ye,[{[F]:"DisableMultiRegionAccessPoints"},k]],[be,[Sr,k]],[M,[{fn:oe,[P]:[Ie,"partition"]},rs]],[M,[on,Y]],[M,[as,ht]],[be,[on,me]],[oe,[Ie,"resourceId[3]"],es(2)],[be,[ss,me]],[M,[{[F]:Va},qa]],[be,[{[F]:es(2)},me]]],results:[[w],[w,"Accelerate cannot be used with FIPS"],[w,"Cannot set dual-stack in combination with a custom endpoint."],[w,"A custom endpoint cannot be combined with FIPS"],[w,"A custom endpoint cannot be combined with S3 Accelerate"],[w,"Partition does not support FIPS"],[w,"S3Express does not support S3 Accelerate."],["{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",xr],[ts,xr],[w,"S3Express bucket name is not a valid virtual hostable name."],["https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",cn],["https://{Bucket}.s3express{_s3e_fips}-{s3expressAvailabilityZoneId}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}",xr],[w,"Unrecognized S3Express bucket name format."],[Er,xr],["https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}",cn],[w,"Expected a endpoint to be specified but no endpoint was found"],["https://{Bucket}.ec2.{url#authority}",br],["https://{Bucket}.ec2.s3-outposts.{Region}.{partitionResult#dnsSuffix}",br],["https://{Bucket}.op-{outpostId_ssa_2}.{url#authority}",br],["https://{Bucket}.op-{outpostId_ssa_2}.s3-outposts.{Region}.{partitionResult#dnsSuffix}",br],[w,'Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"'],[w,"Invalid Outposts Bucket alias - it must be a valid bucket name."],[w,"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`."],[w,"Custom endpoint `{Endpoint}` was not a valid URI"],[w,"S3 Accelerate cannot be used in this region"],["https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",Q],["https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",ee],["https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",Q],["https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",Q],["https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",Q],[Qa,ee],[ts,ee],[Qa,Q],[ts,Q],[Wa,ee],[Wa,Q],[Ga,ee],[Ga,Q],["https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",Q],[w,"Invalid region: region was not a valid DNS name."],[w,"S3 Object Lambda does not support Dual-stack"],[w,"S3 Object Lambda does not support S3 Accelerate"],[w,"Access points are not supported for this operation"],[w,"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`"],[w,"Invalid ARN: Missing account id"],[Xa(1),ns],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",ns],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",ns],[w,Ja(1)],[w,"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`"],[w,"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)"],[w,"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`"],[w,"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."],[w,"Invalid ARN: bucket ARN is missing a region"],[w,"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided"],[w,"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`"],[w,"Access Points do not support S3 Accelerate"],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",ot],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",ot],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",ot],[Xa(1),ot],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",ot],[w,"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}"],[w,"S3 MRAP does not support dual-stack"],[w,"S3 MRAP does not support FIPS"],[w,"S3 MRAP does not support S3 Accelerate"],[w,"Invalid configuration: Multi-Region Access Point ARNs are disabled."],["https://{accessPointName_ssa_1}.accesspoint.s3-global.{partitionResult#dnsSuffix}",{[Se]:[{[he]:k,name:Rs,[ve]:ht,[Cs]:ev}]}],[w,"Client was configured for partition `{partitionResult#name}` but bucket referred to partition `{bucketArn#partition}`"],[w,"Invalid Access Point Name"],[w,"S3 Outposts does not support Dual-stack"],[w,"S3 Outposts does not support FIPS"],[w,"S3 Outposts does not support S3 Accelerate"],[w,"Invalid Arn: Outpost Access Point ARN contains sub resources"],["https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.{url#authority}",un],["https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",un],[w,Ja(2)],[w,"Expected an outpost type `accesspoint`, found {outpostType}"],[w,"Invalid ARN: expected an access point name"],[w,"Invalid ARN: Expected a 4-component resource"],[w,"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId_ssa_1}`"],[w,"Invalid ARN: The Outpost Id was not set"],[w,"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})"],[w,"Invalid ARN: No ARN type specified"],[w,"Invalid ARN: `{Bucket}` was not a valid ARN"],[w,"Path-style addressing cannot be used with ARN buckets"],["https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ee],["https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Q],["https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ee],["https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Q],["https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ee],["https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Q],[Ya,ee],[Ya,Q],[Za,ee],[Za,Q],["https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Q],[w,"Path-style addressing cannot be used with S3 Accelerate"],[Er,is],["https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",is],["https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",is],["https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",Q],["https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",ee],["https://s3-fips.{Region}.{partitionResult#dnsSuffix}",Q],["https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",Q],[Er,ee],[Er,Q],[en,ee],[en,Q],["https://s3.{Region}.{partitionResult#dnsSuffix}",Q],[w,"A region must be set when sending requests to S3."]]},tv=2,rv=new Int32Array([-1,1,-1,0,3,100000115,1,424,4,2,272,5,3,233,6,4,85,7,5,15,8,8,9,100000115,16,10,13,18,11,13,19,12,13,22,100000014,13,35,14,100000042,36,100000103,435,6,271,16,7,270,17,8,19,18,14,501,106,9,20,24,10,21,24,11,22,24,12,23,24,13,547,24,14,77,25,20,73,26,26,27,78,37,28,100000086,38,100000086,29,39,47,30,48,100000058,31,50,32,100000085,51,33,136,55,100000076,34,59,35,100000084,60,39,36,61,37,100000083,62,38,146,63,41,100000046,61,40,100000083,62,41,150,64,42,100000054,66,43,100000053,70,44,100000052,71,45,100000081,73,46,100000080,74,100000078,100000079,40,48,100000057,41,100000057,49,42,185,50,48,62,51,49,100000045,52,51,53,526,60,56,54,62,100000055,55,63,57,100000046,62,100000055,57,64,58,100000054,66,59,100000053,69,60,100000065,70,61,100000052,72,100000064,100000051,49,100000045,63,51,64,526,60,67,65,62,100000055,66,63,68,100000046,62,100000055,68,64,69,100000054,66,70,100000053,68,100000047,71,70,72,100000052,72,100000050,100000051,25,74,100000042,46,100000039,75,57,76,100000041,58,100000040,100000041,26,100000088,78,28,100000087,79,34,82,80,35,81,545,36,100000103,100000115,46,100000097,83,57,84,100000099,58,100000098,100000099,5,101,86,8,87,100000115,16,88,89,18,91,89,19,90,92,21,97,95,19,93,92,21,98,95,21,97,94,22,100000014,95,35,96,100000042,36,100000103,100000042,22,100000013,98,35,99,100000042,36,100000101,100,46,100000110,100000111,6,214,102,7,208,103,8,119,104,14,118,105,21,106,100000023,26,107,502,37,108,100000086,38,100000086,109,39,112,110,48,100000058,111,50,136,100000085,40,113,100000057,41,100000057,114,42,115,500,48,100000056,116,52,117,100000072,65,100000069,100000072,21,501,100000023,9,120,124,10,121,124,11,122,124,12,123,124,13,202,124,14,195,125,20,190,126,21,127,100000023,23,128,129,24,189,129,26,130,197,37,131,100000086,38,100000086,132,39,159,133,48,100000058,134,50,135,100000085,51,141,136,55,100000076,137,59,138,100000084,60,100000083,139,61,140,100000083,63,100000083,100000046,55,100000076,142,59,143,100000084,60,148,144,61,145,100000083,62,147,146,63,150,100000046,63,153,100000046,61,149,100000083,62,153,150,64,151,100000054,66,152,100000053,70,100000082,100000052,64,154,100000054,66,155,100000053,70,156,100000052,71,157,100000081,73,158,100000080,74,100000077,100000079,40,160,100000057,41,100000057,161,42,185,162,48,174,163,49,100000045,164,51,165,526,60,168,166,62,100000055,167,63,169,100000046,62,100000055,169,64,170,100000054,66,171,100000053,69,172,100000065,70,173,100000052,72,100000063,100000051,49,100000045,175,51,176,526,60,179,177,62,100000055,178,63,180,100000046,62,100000055,180,64,181,100000054,66,182,100000053,68,100000047,183,70,184,100000052,72,100000048,100000051,48,100000056,186,52,187,100000072,65,100000069,188,67,100000070,100000071,25,100000036,100000042,21,191,100000023,25,192,100000042,30,194,193,46,100000034,100000036,46,100000033,100000035,21,196,100000023,26,100000088,197,28,100000087,198,34,201,199,35,200,545,36,100000101,100000115,46,100000095,100000096,17,203,100000022,20,204,100000021,21,205,550,33,206,550,44,100000016,207,45,100000018,100000020,8,209,215,16,210,220,18,211,220,19,212,224,20,213,227,21,231,401,8,218,215,19,216,100000009,20,217,227,21,231,100000009,16,219,220,18,223,220,19,221,224,20,222,227,21,231,100000012,19,226,224,20,225,100000009,21,100000009,100000012,20,230,227,21,228,100000009,30,229,100000009,34,100000007,100000009,21,231,415,30,232,100000008,34,100000007,100000008,4,100000002,234,5,235,480,6,271,236,7,270,237,8,238,491,9,239,243,10,240,243,11,241,243,12,242,243,13,547,243,14,266,244,20,264,245,26,246,267,37,247,100000086,38,100000086,248,39,249,518,40,250,100000057,41,100000057,251,42,538,252,48,100000043,253,49,100000045,254,51,255,526,60,258,256,62,100000055,257,63,259,100000046,62,100000055,259,64,260,100000054,66,261,100000053,69,262,100000065,70,263,100000052,72,100000062,100000051,25,265,100000042,46,100000031,100000032,26,100000088,267,28,100000087,268,34,269,544,46,100000093,100000094,8,397,100000009,8,407,100000009,3,346,273,4,100000003,274,5,284,275,8,276,100000115,15,100000005,277,16,278,281,18,279,281,19,280,281,22,100000014,281,35,282,100000042,36,100000102,283,46,100000106,100000107,6,405,285,7,395,286,8,295,287,14,501,288,26,289,502,37,290,100000086,38,100000086,291,39,292,307,40,293,100000057,41,100000057,294,42,335,500,9,296,300,10,297,300,11,298,300,12,299,300,13,394,300,14,339,301,15,100000005,302,20,337,303,26,304,341,37,305,100000086,38,100000086,306,39,309,307,48,100000058,308,50,100000074,100000085,40,310,100000057,41,100000057,311,42,335,312,48,324,313,49,100000045,314,51,315,526,60,318,316,62,100000055,317,63,319,100000046,62,100000055,319,64,320,100000054,66,321,100000053,69,322,100000065,70,323,100000052,72,100000061,100000051,49,100000045,325,51,326,526,60,329,327,62,100000055,328,63,330,100000046,62,100000055,330,64,331,100000054,66,332,100000053,68,100000047,333,70,334,100000052,72,100000049,100000051,48,100000056,336,52,100000067,100000072,25,338,100000042,46,100000027,100000028,15,100000005,340,26,100000088,341,28,100000087,342,34,345,343,35,344,545,36,100000102,100000115,46,100000091,100000092,4,100000002,347,5,357,348,8,349,100000115,15,100000005,350,16,351,354,18,352,354,19,353,354,22,100000014,354,35,355,100000042,36,100000043,356,46,100000104,100000105,6,405,358,7,395,359,8,360,491,9,361,365,10,362,365,11,363,365,12,364,365,13,394,365,14,389,366,15,100000005,367,20,387,368,26,369,391,37,370,100000086,38,100000086,371,39,372,518,40,373,100000057,41,100000057,374,42,538,375,48,100000043,376,49,100000045,377,51,378,526,60,381,379,62,100000055,380,63,382,100000046,62,100000055,382,64,383,100000054,66,384,100000053,69,385,100000065,70,386,100000052,72,100000060,100000051,25,388,100000042,46,100000025,100000026,15,100000005,390,26,100000088,391,28,100000087,392,34,393,544,46,100000089,100000090,15,100000005,547,8,396,100000009,15,100000005,397,16,398,410,18,399,410,19,400,410,20,401,100000009,27,402,100000012,29,100000011,403,31,100000011,404,32,100000011,422,8,406,100000009,15,100000005,407,16,408,410,18,409,410,19,411,410,20,100000012,100000009,20,414,412,22,413,100000009,34,100000010,100000009,22,416,415,27,419,100000012,27,418,417,34,100000010,100000012,34,100000010,419,43,100000011,420,47,100000011,421,53,100000011,422,54,100000011,423,56,100000011,100000012,2,100000001,425,3,478,426,4,100000004,427,5,438,428,8,429,100000115,16,430,433,18,431,433,19,432,433,22,100000014,433,35,434,100000042,36,100000044,435,46,100000112,436,57,437,100000114,58,100000113,100000114,6,100000006,439,7,100000006,440,8,450,441,14,501,442,26,443,502,37,444,100000086,38,100000086,445,39,446,465,40,447,100000057,41,100000057,448,42,471,449,48,100000044,500,9,451,455,10,452,455,11,453,455,12,454,455,13,547,455,14,473,456,15,460,457,20,458,461,25,459,100000042,46,100000037,100000038,20,540,461,26,462,474,37,463,100000086,38,100000086,464,39,467,465,48,100000058,466,50,100000075,100000085,40,468,100000057,41,100000057,469,42,471,470,48,100000044,524,48,100000044,472,52,100000068,100000072,26,100000088,474,28,100000087,475,34,100000100,476,35,477,545,36,100000044,100000115,4,100000002,479,5,488,480,8,481,100000115,16,482,485,18,483,485,19,484,485,22,100000014,485,35,486,100000042,36,100000043,487,46,100000108,100000109,6,100000006,489,7,100000006,490,8,503,491,14,501,492,26,493,502,37,494,100000086,38,100000086,495,39,496,518,40,497,100000057,41,100000057,498,42,538,499,48,100000043,500,49,100000045,526,26,100000088,502,28,100000087,100000115,9,504,508,10,505,508,11,506,508,12,507,508,13,547,508,14,541,509,15,513,510,20,511,514,25,512,100000042,46,100000029,100000030,20,540,514,26,515,542,37,516,100000086,38,100000086,517,39,520,518,48,100000058,519,50,100000073,100000085,40,521,100000057,41,100000057,522,42,538,523,48,100000043,524,49,100000045,525,51,529,526,60,100000055,527,62,100000055,528,63,100000055,100000046,60,532,530,62,100000055,531,63,533,100000046,62,100000055,533,64,534,100000054,66,535,100000053,69,536,100000065,70,537,100000052,72,100000059,100000051,48,100000043,539,52,100000066,100000072,25,100000024,100000042,26,100000088,542,28,100000087,543,34,100000100,544,35,546,545,36,100000042,100000115,36,100000043,100000115,17,548,100000022,20,549,100000021,33,552,550,44,100000017,551,45,100000019,100000020,44,100000015,553,45,100000015,100000020]),sv=Ft.from(rv,tv,hn.conditions,hn.results),av=new Bt({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),po=n((t,e={})=>av.get(t,()=>Ht(sv,{endpointParams:t,logger:e.logger})),"defaultEndpointResolver$1");zt.aws=ur;var nv=n(t=>async(e,r,s)=>{if(!s)throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let a=await t(e,r,s),i=ze(r)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!i)throw new Error(`getEndpointParameterInstructions() is not defined on '${r.commandName}'`);let o=await sa(s,{getEndpointParameterInstructions:i},e);return Object.assign(a,o)},"createEndpointRuleSetHttpAuthSchemeParametersProvider"),iv=n(async(t,e,r)=>({operation:ze(e).operation,region:await xe(t.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"_defaultS3HttpAuthSchemeParametersProvider"),ov=nv(iv);function mo(t){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:t.region},propertiesExtractor:n((e,r)=>({signingProperties:{config:e,context:r}}),"propertiesExtractor")}}n(mo,"createAwsAuthSigv4HttpAuthOption$1");function ho(t){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:t.region},propertiesExtractor:n((e,r)=>({signingProperties:{config:e,context:r}}),"propertiesExtractor")}}n(ho,"createAwsAuthSigv4aHttpAuthOption");var cv=n((t,e,r)=>n(a=>{let i=t(a).properties?.authSchemes;if(!i)return e(a);let o=[];for(let c of i){let{name:u,properties:p={},...d}=c,l=u.toLowerCase();u!==l&&console.warn(`HttpAuthScheme has been normalized with lowercasing: '${u}' to '${l}'`);let m;if(l==="sigv4a"){m="aws.auth#sigv4a";let _=i.find(I=>{let N=I.name.toLowerCase();return N!=="sigv4a"&&N.startsWith("sigv4")});if(jr.sigv4aDependency()==="none"&&_)continue}else if(l.startsWith("sigv4"))m="aws.auth#sigv4";else throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${l}'`);let v=r[m];if(!v)throw new Error(`Could not find HttpAuthOption create function for '${m}'`);let g=v(a);g.schemeId=m,g.signingProperties={...g.signingProperties||{},...d,...p},o.push(g)}return o},"endpointRuleSetHttpAuthSchemeProvider"),"createEndpointRuleSetHttpAuthSchemeProvider"),uv=n(t=>{let e=[];switch(t.operation){default:e.push(mo(t)),e.push(ho(t))}return e},"_defaultS3HttpAuthSchemeProvider"),dv=cv(po,uv,{"aws.auth#sigv4":mo,"aws.auth#sigv4a":ho}),lv=n(t=>{let e=hr(t),r=ua(e);return Object.assign(r,{authSchemePreference:xe(t.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig$1"),pv=n(t=>Object.assign(t,{useFipsEndpoint:t.useFipsEndpoint??!1,useDualstackEndpoint:t.useDualstackEndpoint??!1,forcePathStyle:t.forcePathStyle??!1,useAccelerateEndpoint:t.useAccelerateEndpoint??!1,useGlobalEndpoint:t.useGlobalEndpoint??!1,disableMultiregionAccessPoints:t.disableMultiregionAccessPoints??!1,defaultSigningName:"s3",clientContextParams:t.clientContextParams??{}}),"resolveClientEndpointParameters$1"),vo=Nt({ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},DisableS3ExpressSessionAuth:{type:"clientContextParams",name:"disableS3ExpressSessionAuth"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},"AmazonS3","S3Client",qt),mv={Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}},hv={DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}},vv=n((t,e,r,s)=>[so(r)],"_mw0"),fv=n((t,e,r,s)=>[ah(r,{requestAlgorithmMember:{httpHeader:"x-amz-sdk-checksum-algorithm",name:"ChecksumAlgorithm"},requestChecksumRequired:!1}),dh(r),so(r),Yh(r)],"_mw11"),K=class fo extends At{static{n(this,"S3ServiceException")}static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.s3#S3ServiceException";constructor(e){super(e),Object.setPrototypeOf(this,fo.prototype)}},gv=class go extends K{static{n(this,"NoSuchUpload")}static shapeId="com.amazonaws.s3#NoSuchUpload";name="NoSuchUpload";$fault="client";constructor(e){super({name:"NoSuchUpload",$fault:"client",...e}),Object.setPrototypeOf(this,go.prototype)}},yv=class yo extends K{static{n(this,"AccessDenied")}static shapeId="com.amazonaws.s3#AccessDenied";name="AccessDenied";$fault="client";constructor(e){super({name:"AccessDenied",$fault:"client",...e}),Object.setPrototypeOf(this,yo.prototype)}},Ev=class Eo extends K{static{n(this,"ObjectNotInActiveTierError")}static shapeId="com.amazonaws.s3#ObjectNotInActiveTierError";name="ObjectNotInActiveTierError";$fault="client";constructor(e){super({name:"ObjectNotInActiveTierError",$fault:"client",...e}),Object.setPrototypeOf(this,Eo.prototype)}},Sv=class So extends K{static{n(this,"BucketAlreadyExists")}static shapeId="com.amazonaws.s3#BucketAlreadyExists";name="BucketAlreadyExists";$fault="client";constructor(e){super({name:"BucketAlreadyExists",$fault:"client",...e}),Object.setPrototypeOf(this,So.prototype)}},xv=class xo extends K{static{n(this,"BucketAlreadyOwnedByYou")}static shapeId="com.amazonaws.s3#BucketAlreadyOwnedByYou";name="BucketAlreadyOwnedByYou";$fault="client";constructor(e){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...e}),Object.setPrototypeOf(this,xo.prototype)}},bv=class bo extends K{static{n(this,"NoSuchBucket")}static shapeId="com.amazonaws.s3#NoSuchBucket";name="NoSuchBucket";$fault="client";constructor(e){super({name:"NoSuchBucket",$fault:"client",...e}),Object.setPrototypeOf(this,bo.prototype)}},wv=class wo extends K{static{n(this,"NoSuchKey")}static shapeId="com.amazonaws.s3#NoSuchKey";name="NoSuchKey";$fault="client";constructor(e){super({name:"NoSuchKey",$fault:"client",...e}),Object.setPrototypeOf(this,wo.prototype)}},Iv=class Io extends K{static{n(this,"InvalidObjectState")}static shapeId="com.amazonaws.s3#InvalidObjectState";name="InvalidObjectState";$fault="client";StorageClass;AccessTier;constructor(e){super({name:"InvalidObjectState",$fault:"client",...e}),Object.setPrototypeOf(this,Io.prototype),this.StorageClass=e.StorageClass,this.AccessTier=e.AccessTier}},Cv=class Co extends K{static{n(this,"NoSuchAnnotation")}static shapeId="com.amazonaws.s3#NoSuchAnnotation";name="NoSuchAnnotation";$fault="client";constructor(e){super({name:"NoSuchAnnotation",$fault:"client",...e}),Object.setPrototypeOf(this,Co.prototype)}},Av=class Ao extends K{static{n(this,"NotFound")}static shapeId="com.amazonaws.s3#NotFound";name="NotFound";$fault="client";constructor(e){super({name:"NotFound",$fault:"client",...e}),Object.setPrototypeOf(this,Ao.prototype)}},Rv=class Ro extends K{static{n(this,"InvalidPrefix")}static shapeId="com.amazonaws.s3#InvalidPrefix";name="InvalidPrefix";$fault="client";constructor(e){super({name:"InvalidPrefix",$fault:"client",...e}),Object.setPrototypeOf(this,Ro.prototype)}},_v=class _o extends K{static{n(this,"EncryptionTypeMismatch")}static shapeId="com.amazonaws.s3#EncryptionTypeMismatch";name="EncryptionTypeMismatch";$fault="client";constructor(e){super({name:"EncryptionTypeMismatch",$fault:"client",...e}),Object.setPrototypeOf(this,_o.prototype)}},Pv=class Po extends K{static{n(this,"InvalidRequest")}static shapeId="com.amazonaws.s3#InvalidRequest";name="InvalidRequest";$fault="client";constructor(e){super({name:"InvalidRequest",$fault:"client",...e}),Object.setPrototypeOf(this,Po.prototype)}},Tv=class To extends K{static{n(this,"InvalidWriteOffset")}static shapeId="com.amazonaws.s3#InvalidWriteOffset";name="InvalidWriteOffset";$fault="client";constructor(e){super({name:"InvalidWriteOffset",$fault:"client",...e}),Object.setPrototypeOf(this,To.prototype)}},Nv=class No extends K{static{n(this,"TooManyParts")}static shapeId="com.amazonaws.s3#TooManyParts";name="TooManyParts";$fault="client";constructor(e){super({name:"TooManyParts",$fault:"client",...e}),Object.setPrototypeOf(this,No.prototype)}},Mv=class Mo extends K{static{n(this,"AnnotationLimitExceeded")}static shapeId="com.amazonaws.s3#AnnotationLimitExceeded";name="AnnotationLimitExceeded";$fault="client";constructor(e){super({name:"AnnotationLimitExceeded",$fault:"client",...e}),Object.setPrototypeOf(this,Mo.prototype)}},kv=class ko extends K{static{n(this,"AnnotationNameTooLong")}static shapeId="com.amazonaws.s3#AnnotationNameTooLong";name="AnnotationNameTooLong";$fault="client";constructor(e){super({name:"AnnotationNameTooLong",$fault:"client",...e}),Object.setPrototypeOf(this,ko.prototype)}},$v=class $o extends K{static{n(this,"InvalidAnnotationName")}static shapeId="com.amazonaws.s3#InvalidAnnotationName";name="InvalidAnnotationName";$fault="client";constructor(e){super({name:"InvalidAnnotationName",$fault:"client",...e}),Object.setPrototypeOf(this,$o.prototype)}},Ov=class Oo extends K{static{n(this,"UnsupportedMediaType")}static shapeId="com.amazonaws.s3#UnsupportedMediaType";name="UnsupportedMediaType";$fault="client";constructor(e){super({name:"UnsupportedMediaType",$fault:"client",...e}),Object.setPrototypeOf(this,Oo.prototype)}},Dv=class Do extends K{static{n(this,"IdempotencyParameterMismatch")}static shapeId="com.amazonaws.s3#IdempotencyParameterMismatch";name="IdempotencyParameterMismatch";$fault="client";constructor(e){super({name:"IdempotencyParameterMismatch",$fault:"client",...e}),Object.setPrototypeOf(this,Do.prototype)}},Lv=class Lo extends K{static{n(this,"ObjectAlreadyInActiveTierError")}static shapeId="com.amazonaws.s3#ObjectAlreadyInActiveTierError";name="ObjectAlreadyInActiveTierError";$fault="client";constructor(e){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...e}),Object.setPrototypeOf(this,Lo.prototype)}},Uv="ACL",Fv="AccessDenied",vn="AccessKeyId",Bv="AnnotationLimitExceeded",zv="AnnotationNameTooLong",Hv="AccessTier",Uo="Bucket",jv="BucketAlreadyExists",qv="BucketAlreadyOwnedByYou",Pr="BucketKeyEnabled",Kv="Body",Vv="ChecksumAlgorithm",Qv="CacheControl",Fo="ChecksumCRC32",Bo="ChecksumCRC32C",zo="ChecksumCRC64NVME",Wv="Cache-Control",Gv="Content-Disposition",Xv="ContentDisposition",Jv="Content-Encoding",Yv="ContentEncoding",Zv="ContentLanguage",ef="Content-Language",tf="Content-Length",rf="ContentLength",sf="Content-MD5",Ho="ChecksumMD5",af="ContentMD5",jo="ChecksumSHA1",qo="ChecksumSHA256",Ko="ChecksumSHA512",nf="CreateSessionOutput",of="CreateSessionResult",cf="CreateSessionRequest",uf="CreateSession",df="ChecksumType",lf="Content-Type",pf="ContentType",Vo="ChecksumXXHASH64",Qo="ChecksumXXHASH3",Wo="ChecksumXXHASH128",fn="Credentials",mf="ExpectedBucketOwner",gn="ETag",hf="EncryptionTypeMismatch",bs="Expiration",yn="Expires",vf="GrantFullControl",ff="GrantRead",gf="GrantReadACP",yf="GrantWriteACP",Ef="InvalidAnnotationName",Sf="IfMatch",xf="If-Match",bf="IfNoneMatch",wf="If-None-Match",If="InvalidObjectState",Cf="InvalidPrefix",Af="IdempotencyParameterMismatch",Rf="InvalidRequest",_f="InvalidWriteOffset",Pf="Key",Tf="Metadata",Nf="NotFound",Mf="NoSuchAnnotation",kf="NoSuchBucket",$f="NoSuchKey",Of="NoSuchUpload",Df="ObjectAlreadyInActiveTierError",Lf="ObjectLockEventHold",Uf="ObjectLockEventHoldDurationDays",Ff="ObjectLockEventHoldDurationYears",Bf="ObjectLockLegalHoldStatus",zf="ObjectLockMode",Hf="ObjectLockRetainUntilDate",jf="ObjectNotInActiveTierError",qf="PutObject",Kf="PutObjectOutput",Vf="PutObjectRequest",Qf="RequestCharged",Wf="RequestPayer",En="SecretAccessKey",Gf="StreamingBlob",Go="StorageClass",Xf="SessionCredentialValue",Jf="SessionCredentials",Yf="SessionMode",Tr="ServerSideEncryption",Xo="SSECustomerAlgorithm",Jo="SSECustomerKey",Yo="SSECustomerKeyMD5",gt="SSEKMSEncryptionContext",yt="SSEKMSKeyId",Sn="SessionToken",Zf="Size",eg="TooManyParts",tg="Tagging",rg="UnsupportedMediaType",sg="VersionId",ag="WriteOffsetBytes",ng="WebsiteRedirectLocation",W="client",G="error",Zo="http",ig="httpChecksum",J="httpError",h="httpHeader",og="httpPrefixHeaders",ec="smithy.ts.sdk.synthetic.com.amazonaws.s3",cg="streaming",Ve="xmlName",ug="x-amz-acl",tc="x-amz-checksum-crc32",rc="x-amz-checksum-crc32c",sc="x-amz-checksum-crc64nvme",ac="x-amz-checksum-md5",nc="x-amz-checksum-sha1",ic="x-amz-checksum-sha256",oc="x-amz-checksum-sha512",dg="x-amz-create-session-mode",lg="x-amz-checksum-type",cc="x-amz-checksum-xxhash64",uc="x-amz-checksum-xxhash3",dc="x-amz-checksum-xxhash128",pg="x-amz-expiration",mg="x-amz-expected-bucket-owner",hg="x-amz-grant-full-control",vg="x-amz-grant-read",fg="x-amz-grant-read-acp",gg="x-amz-grant-write-acp",yg="x-amz-meta-",Eg="x-amz-object-lock-event-hold",Sg="x-amz-object-lock-event-hold-duration-days",xg="x-amz-object-lock-event-hold-duration-years",bg="x-amz-object-lock-legal-hold",wg="x-amz-object-lock-mode",Ig="x-amz-object-lock-retain-until-date",Cg="x-amz-object-size",Ag="x-amz-request-charged",Rg="x-amz-request-payer",_g="x-amz-storage-class",Pg="x-amz-sdk-checksum-algorithm",Nr="x-amz-server-side-encryption",Mr="x-amz-server-side-encryption-aws-kms-key-id",kr="x-amz-server-side-encryption-bucket-key-enabled",$r="x-amz-server-side-encryption-context",lc="x-amz-server-side-encryption-customer-algorithm",Tg="x-amz-server-side-encryption-customer-key",pc="x-amz-server-side-encryption-customer-key-MD5",Ng="x-amz-tagging",Mg="x-amz-version-id",kg="x-amz-write-offset-bytes",$g="x-amz-website-redirect-location",T="com.amazonaws.s3",mc=new Pe(ec),Og=[-3,ec,"S3ServiceException",0,[],[]];mc.registerError(Og,K);var V=new Pe(T),Dg=[-3,T,Fv,{[G]:W,[J]:403},[],[]];V.registerError(Dg,yv);var Lg=[-3,T,Bv,{[G]:W,[J]:400},[],[]];V.registerError(Lg,Mv);var Ug=[-3,T,zv,{[G]:W,[J]:400},[],[]];V.registerError(Ug,kv);var Fg=[-3,T,jv,{[G]:W,[J]:409},[],[]];V.registerError(Fg,Sv);var Bg=[-3,T,qv,{[G]:W,[J]:409},[],[]];V.registerError(Bg,xv);var zg=[-3,T,hf,{[G]:W,[J]:400},[],[]];V.registerError(zg,_v);var Hg=[-3,T,Af,{[G]:W,[J]:400},[],[]];V.registerError(Hg,Dv);var jg=[-3,T,Ef,{[G]:W,[J]:400},[],[]];V.registerError(jg,$v);var qg=[-3,T,If,{[G]:W,[J]:403},[Go,Hv],[0,0]];V.registerError(qg,Iv);var Kg=[-3,T,Cf,{[G]:W,[J]:400},[],[]];V.registerError(Kg,Rv);var Vg=[-3,T,Rf,{[G]:W,[J]:400},[],[]];V.registerError(Vg,Pv);var Qg=[-3,T,_f,{[G]:W,[J]:400},[],[]];V.registerError(Qg,Tv);var Wg=[-3,T,Mf,{[G]:W,[J]:404},[],[]];V.registerError(Wg,Cv);var Gg=[-3,T,kf,{[G]:W,[J]:404},[],[]];V.registerError(Gg,bv);var Xg=[-3,T,$f,{[G]:W,[J]:404},[],[]];V.registerError(Xg,wv);var Jg=[-3,T,Of,{[G]:W,[J]:404},[],[]];V.registerError(Jg,gv);var Yg=[-3,T,Nf,{[G]:W},[],[]];V.registerError(Yg,Av);var Zg=[-3,T,Df,{[G]:W,[J]:403},[],[]];V.registerError(Zg,Lv);var ey=[-3,T,jf,{[G]:W,[J]:403},[],[]];V.registerError(ey,Ev);var ty=[-3,T,eg,{[G]:W,[J]:400},[],[]];V.registerError(ty,Nv);var ry=[-3,T,rg,{[G]:W,[J]:415},[],[]];V.registerError(ry,Ov);var sy=[mc,V],xn=[0,T,Xf,8,0],ay=[0,T,Jo,8,0],Or=[0,T,gt,8,0],Dr=[0,T,yt,8,0],ny=[0,T,Gf,{[cg]:1},42],iy=[3,T,nf,{[Ve]:of},[fn,Tr,yt,gt,Pr],[[()=>dy,{[Ve]:fn}],[0,{[h]:Nr}],[()=>Dr,{[h]:Mr}],[()=>Or,{[h]:$r}],[2,{[h]:kr}]],1],oy=[3,T,cf,0,[Uo,Yf,Tr,yt,gt,Pr],[[0,1],[0,{[h]:dg}],[0,{[h]:Nr}],[()=>Dr,{[h]:Mr}],[()=>Or,{[h]:$r}],[2,{[h]:kr}]],1],cy=[3,T,Kf,0,[bs,gn,Fo,Bo,zo,jo,qo,Ko,Ho,Vo,Qo,Wo,df,Tr,sg,Xo,Yo,yt,gt,Pr,Zf,Qf],[[0,{[h]:pg}],[0,{[h]:gn}],[0,{[h]:tc}],[0,{[h]:rc}],[0,{[h]:sc}],[0,{[h]:nc}],[0,{[h]:ic}],[0,{[h]:oc}],[0,{[h]:ac}],[0,{[h]:cc}],[0,{[h]:uc}],[0,{[h]:dc}],[0,{[h]:lg}],[0,{[h]:Nr}],[0,{[h]:Mg}],[0,{[h]:lc}],[0,{[h]:pc}],[()=>Dr,{[h]:Mr}],[()=>Or,{[h]:$r}],[2,{[h]:kr}],[1,{[h]:Cg}],[0,{[h]:Ag}]]],uy=[3,T,Vf,0,[Uo,Pf,Uv,Kv,Qv,Xv,Yv,Zv,rf,af,pf,Vv,Fo,Bo,zo,jo,qo,Ko,Ho,Vo,Qo,Wo,yn,Sf,bf,vf,ff,gf,yf,ag,Tf,Tr,Go,ng,Xo,Jo,Yo,yt,gt,Pr,Wf,tg,zf,Hf,Bf,Lf,Uf,Ff,mf],[[0,1],[0,1],[0,{[h]:ug}],[()=>ny,16],[0,{[h]:Wv}],[0,{[h]:Gv}],[0,{[h]:Jv}],[0,{[h]:ef}],[1,{[h]:tf}],[0,{[h]:sf}],[0,{[h]:lf}],[0,{[h]:Pg}],[0,{[h]:tc}],[0,{[h]:rc}],[0,{[h]:sc}],[0,{[h]:nc}],[0,{[h]:ic}],[0,{[h]:oc}],[0,{[h]:ac}],[0,{[h]:cc}],[0,{[h]:uc}],[0,{[h]:dc}],[4,{[h]:yn}],[0,{[h]:xf}],[0,{[h]:wf}],[0,{[h]:hg}],[0,{[h]:vg}],[0,{[h]:fg}],[0,{[h]:gg}],[1,{[h]:kg}],[128,{[og]:yg}],[0,{[h]:Nr}],[0,{[h]:_g}],[0,{[h]:$g}],[0,{[h]:lc}],[()=>ay,{[h]:Tg}],[0,{[h]:pc}],[()=>Dr,{[h]:Mr}],[()=>Or,{[h]:$r}],[2,{[h]:kr}],[0,{[h]:Rg}],[0,{[h]:Ng}],[0,{[h]:wg}],[5,{[h]:Ig}],[0,{[h]:bg}],[0,{[h]:Eg}],[1,{[h]:Sg}],[1,{[h]:xg}],[0,{[h]:mg}]],2],dy=[3,T,Jf,0,[vn,En,Sn,bs],[[0,{[Ve]:vn}],[()=>xn,{[Ve]:En}],[()=>xn,{[Ve]:Sn}],[4,{[Ve]:bs}]],4],ly=[9,T,uf,{[Zo]:["GET","/?session",200]},()=>oy,()=>iy],py=[9,T,qf,{[ig]:"-",[Zo]:["PUT","/{Key+}?x-id=PutObject",200]},()=>uy,()=>cy],my=class extends vo(hv,vv,"CreateSession",ly){static{n(this,"CreateSessionCommand")}},hy={name:"@aws-sdk/client-s3",version:"3.1150.0",description:"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",license:"Apache-2.0",author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/sdk-for-javascript/"},repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-s3"},files:["dist-*/**"],sideEffects:!1,main:"./dist-cjs/index.js",module:"./dist-es/index.js",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},types:"./dist-types/index.d.ts",typesVersions:{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},scripts:{build:"concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline","build:es":"premove dist-es && tsc -p tsconfig.es.json","build:include:deps":'yarn g:turbo run build -F="$npm_package_name"',"build:types":"premove dist-types && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"premove dist-cjs dist-es dist-types","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service",test:"yarn g:vitest run --passWithNoTests","test:watch":"yarn g:vitest watch --passWithNoTests","test:integration":"yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts","test:integration:watch":"yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.mts","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.mts","test:browser":"yarn g:vitest run -c vitest.config.browser.mts","test:browser:watch":"yarn g:vitest watch -c vitest.config.browser.mts","test:index":"tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"},dependencies:{"@aws-sdk/checksums":"^3.1001.3","@aws-sdk/core":"^3.978.3","@aws-sdk/credential-provider-node":"^3.972.86","@aws-sdk/middleware-sdk-s3":"^3.972.79","@aws-sdk/signature-v4-multi-region":"^3.996.48","@aws-sdk/types":"^3.974.6","@smithy/core":"^3.35.2","@smithy/fetch-http-handler":"^5.8.0","@smithy/node-http-handler":"^4.12.1","@smithy/types":"^4.19.0",tslib:"^2.6.2"},devDependencies:{"@aws-sdk/signature-v4-crt":"3.1150.0","@smithy/snapshot-testing":"^2.3.2","@tsconfig/node20":"20.1.8","@types/node":"^20.14.8",concurrently:"7.0.0","downlevel-dts":"0.10.1",premove:"4.0.0",typescript:"~7.0.2",vitest:"^4.0.17"},engines:{node:">=20.0.0"}},ae=64,bn=20,wn=new Int32Array([1732584193,4023233417,2562383102,271733878,3285377520]),vy=new Int32Array([1518500249,1859775393,2400959708,3395469782]),fy=class ut{static{n(this,"Sha1Js")}digestLength=bn;state=Int32Array.from(wn);w;buffer=new Uint8Array(ae);bufferLength=0;bytesHashed=0;finished=!1;inner;outer;constructor(e){if(e){let r=ut.normalizeKey(e);this.inner=new ut,this.outer=new ut;let s=new Uint8Array(128);for(let a=0;a<ae;++a)s[a]=54^r[a],s[a+ae]=92^r[a];this.inner.update(s.subarray(0,ae)),this.outer.update(s.subarray(ae))}}update(e){if(this.finished)throw new Error("Attempted to update an already finished HMAC.");if(this.inner){this.inner.update(e);return}let r=0,{length:s}=e;if(this.bytesHashed+=s,this.bufferLength>0){for(;s>0&&this.bufferLength<ae;)this.buffer[this.bufferLength++]=e[r++],--s;this.bufferLength===ae&&(this.hashBuffer(this.buffer,0),this.bufferLength=0)}for(;s>=ae;)this.hashBuffer(e,r),r+=ae,s-=ae;for(;s>0;)this.buffer[this.bufferLength++]=e[r++],--s}async digest(){if(this.inner&&this.outer){if(this.finished)throw new Error("Attempted to digest an already finished HMAC.");this.finished=!0;let e=this.inner.digestSync();return this.outer.update(e),this.outer.digestSync()}return this.digestSync()}reset(){this.state=Int32Array.from(wn),this.buffer=new Uint8Array(ae),this.bufferLength=0,this.bytesHashed=0}digestSync(){let e=this.state.slice(),r=this.buffer.slice(),s=this.bufferLength,a=this.bytesHashed/536870912|0,i=this.bytesHashed<<3;if(r[s++]=128,s>56){for(let u=s;u<ae;++u)r[u]=0;this.hashBufferWith(e,r,0),s=0}for(let u=s;u<56;++u)r[u]=0;let o=new DataView(r.buffer,r.byteOffset,ae);o.setUint32(56,a,!1),o.setUint32(60,i,!1),this.hashBufferWith(e,r,0);let c=new Uint8Array(bn);return c[0]=e[0]>>>24&255,c[1]=e[0]>>>16&255,c[2]=e[0]>>>8&255,c[3]=e[0]&255,c[4]=e[1]>>>24&255,c[5]=e[1]>>>16&255,c[6]=e[1]>>>8&255,c[7]=e[1]&255,c[8]=e[2]>>>24&255,c[9]=e[2]>>>16&255,c[10]=e[2]>>>8&255,c[11]=e[2]&255,c[12]=e[3]>>>24&255,c[13]=e[3]>>>16&255,c[14]=e[3]>>>8&255,c[15]=e[3]&255,c[16]=e[4]>>>24&255,c[17]=e[4]>>>16&255,c[18]=e[4]>>>8&255,c[19]=e[4]&255,c}static normalizeKey(e){let r=Le(e);if(r.byteLength>ae){let a=new ut;a.update(r);let i=a.digestSync(),o=new Uint8Array(ae);return o.set(i),o}let s=new Uint8Array(ae);return s.set(r),s}hashBuffer(e,r){this.hashBufferWith(this.state,e,r)}hashBufferWith(e,r,s){let a=this.w??=new Int32Array(80),i=e[0],o=e[1],c=e[2],u=e[3],p=e[4];for(let d=0;d<16;++d)a[d]=(r[s+d*4]&255)<<24|(r[s+d*4+1]&255)<<16|(r[s+d*4+2]&255)<<8|r[s+d*4+3]&255;for(let d=16;d<80;++d){let l=a[d-3]^a[d-8]^a[d-14]^a[d-16];a[d]=l<<1|l>>>31}for(let d=0;d<80;++d){let l=d<20?0:d<40?1:d<60?2:3,m=((i<<5|i>>>27)+(l===0?o&c^~o&u:l===2?o&c^o&u^c&u:o^c^u)|0)+(p+(vy[l]+a[d]|0)|0)|0;p=u,u=c,c=o<<30|o>>>2,o=i,i=m}e[0]=e[0]+i|0,e[1]=e[1]+o|0,e[2]=e[2]+c|0,e[3]=e[3]+u|0,e[4]=e[4]+p|0}},gy=(()=>{try{return lt("sha1"),!0}catch{return!1}})()?yy():fy;function yy(){return class{static{n(this,"Sha1Node")}digestLength=20;secret;hash;isHmac;finished=!1;constructor(e){this.secret=e,this.isHmac=!!e,this.hash=this.createHash()}update(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");this.hash.update(e)}async digest(){let e;return this.isHmac?(this.finished=!0,e=this.hash.digest()):e=this.hash.copy().digest(),new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}reset(){this.hash=this.createHash(),this.finished=!1}createHash(){return this.secret?r0("sha1",Ey(this.secret)):lt("sha1")}}}n(yy,"buildNativeClass");function Ey(t){return typeof t=="string"?t:ArrayBuffer.isView(t)?Buffer.from(t.buffer,t.byteOffset,t.byteLength):Buffer.from(t)}n(Ey,"toBuffer");var Sy=n(t=>({apiVersion:"2006-03-01",base64Decoder:t?.base64Decoder??rt,base64Encoder:t?.base64Encoder??je,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??po,extensions:t?.extensions??[],getAwsChunkedEncodingStream:t?.getAwsChunkedEncodingStream??v0,httpAuthSchemeProvider:t?.httpAuthSchemeProvider??dv,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:n(e=>e.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new pr},{schemeId:"aws.auth#sigv4a",identityProvider:n(e=>e.getIdentityProvider("aws.auth#sigv4a"),"identityProvider"),signer:new ca}],logger:t?.logger??new He,md5:t?.md5??kn,protocol:t?.protocol??jh,protocolSettings:t?.protocolSettings??{defaultNamespace:"com.amazonaws.s3",errorTypeRegistries:sy,xmlNamespace:"http://s3.amazonaws.com/doc/2006-03-01/",version:"2006-03-01",serviceTarget:"AmazonS3"},sdkStreamMixin:t?.sdkStreamMixin??ma,serviceId:t?.serviceId??"S3",sha1:t?.sha1??gy,sha256:t?.sha256??vr,signerConstructor:t?.signerConstructor??jr,signingEscapePath:t?.signingEscapePath??!1,urlParser:t?.urlParser??bt,useArnRegion:t?.useArnRegion??void 0,utf8Decoder:t?.utf8Decoder??et,utf8Encoder:t?.utf8Encoder??tt}),"getRuntimeConfig$3"),xy=n(t=>{_t(process.version);let e=Ut(t),r=n(()=>e().then(Rt),"defaultConfigProvider"),s=Sy(t);wt(process.version);let a={profile:t?.profile,logger:s.logger};return{...s,...t,runtime:"node",defaultsMode:e,authSchemePreference:t?.authSchemePreference??U(mr,a),bodyLengthChecker:t?.bodyLengthChecker??Mt,credentialDefaultProvider:t?.credentialDefaultProvider??ws,defaultUserAgentProvider:t?.defaultUserAgentProvider??or({serviceId:s.serviceId,clientVersion:hy.version}),disableS3ExpressSessionAuth:t?.disableS3ExpressSessionAuth??U(wh,a),eventStreamSerdeProvider:t?.eventStreamSerdeProvider??Un,maxAttempts:t?.maxAttempts??U(Gt,t),region:t?.region??U(Ot,{...Dt,...a}),requestChecksumCalculation:t?.requestChecksumCalculation??U($m,a),requestHandler:xt.create(t?.requestHandler??r),responseChecksumValidation:t?.responseChecksumValidation??U(Lm,a),retryMode:t?.retryMode??U({...Jt,default:n(async()=>(await r()).retryMode||Wt,"default")},t),sigv4aSigningRegionSet:t?.sigv4aSigningRegionSet??U(da,a),streamCollector:t?.streamCollector??St,streamHasher:t?.streamHasher??k0,useArnRegion:t?.useArnRegion??U(Vh,a),useDualstackEndpoint:t?.useDualstackEndpoint??U(kt,a),useFipsEndpoint:t?.useFipsEndpoint??U($t,a),userAgentAppId:t?.userAgentAppId??U(cr,a)}},"getRuntimeConfig$2"),by=n(t=>{let e=t.httpAuthSchemes,r=t.httpAuthSchemeProvider,s=t.credentials;return{setHttpAuthScheme(a){let i=e.findIndex(o=>o.schemeId===a.schemeId);i===-1?e.push(a):e.splice(i,1,a)},httpAuthSchemes(){return e},setHttpAuthSchemeProvider(a){r=a},httpAuthSchemeProvider(){return r},setCredentials(a){s=a},credentials(){return s}}},"getHttpAuthExtensionConfiguration$1"),wy=n(t=>({httpAuthSchemes:t.httpAuthSchemes(),httpAuthSchemeProvider:t.httpAuthSchemeProvider(),credentials:t.credentials()}),"resolveHttpAuthRuntimeConfig$1"),Iy=n((t,e)=>{let r=Object.assign(dr(t),Pt(t),Kt(t),by(t));return e.forEach(s=>s.configure(r)),Object.assign(t,lr(r),Tt(r),Vt(r),wy(r))},"resolveRuntimeExtensions$1"),Cy=class extends It{static{n(this,"S3Client")}config;constructor(...[t]){let e=xy(t||{});super(e),this.initConfig=e;let r=pv(e),s=nh(nr(r)),a=Xt(s),i=Lt(a),o=i,c=Iy(yh(lv(Fn(jt(o))),{session:[()=>this,my]}),t?.extensions||[]);this.config=c,this.middlewareStack.use(Ct(this.config)),this.middlewareStack.use(ir(this.config)),this.middlewareStack.use(Yt(this.config)),this.middlewareStack.use(Qt(this.config)),this.middlewareStack.use(Zt(this.config)),this.middlewareStack.use(er(this.config)),this.middlewareStack.use(tr(this.config)),this.middlewareStack.use(rr(this.config,{httpAuthSchemeParametersProvider:ov,identityProviderConfigProvider:n(async u=>new ar({"aws.auth#sigv4":u.credentials,"aws.auth#sigv4a":u.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(sr(this.config)),this.middlewareStack.use(Hh(this.config)),this.middlewareStack.use(Gh(this.config)),this.middlewareStack.use(vh(this.config)),this.middlewareStack.use(Ah(this.config)),this.middlewareStack.use(Nh(this.config))}destroy(){super.destroy()}},Ay=class extends vo(mv,fv,"PutObject",py){static{n(this,"PutObjectCommand")}},Ry=n(t=>Object.assign(t,{useQueueUrlAsEndpoint:t.useQueueUrlAsEndpoint??!0}),"resolveQueueUrlConfig");function _y({useQueueUrlAsEndpoint:t,endpoint:e}){return(r,s)=>async a=>{let{input:i}=a,o=s.endpointV2;if(!e&&i.QueueUrl&&o&&t){let c=s.logger instanceof He||!s.logger?.warn?console:s.logger;try{let u=new URL(i.QueueUrl),p=new URL(u.origin);o.url.origin!==p.origin&&(c.warn(`QueueUrl=${i.QueueUrl} differs from SQSClient resolved endpoint=${o.url.toString()}, using QueueUrl host as endpoint.
|
|
23
|
-
Set [endpoint=string] or [useQueueUrlAsEndpoint=false] on the SQSClient.`),s.endpointV2={...o,url:p})}catch(u){c.warn(u)}}return r(a)}}n(_y,"queueUrlMiddleware");var Py={name:"queueUrlMiddleware",relation:"after",toMiddleware:"endpointV2Middleware",override:!0},Ty=n(t=>({applyToStack:n(e=>{e.addRelativeTo(_y(t),Py)},"applyToStack")}),"getQueueUrlPlugin"),Ny=n(t=>e=>async r=>{let s=await e({...r});if(t.md5===!1)return s;let a=s.output,i=new t.md5;if(i.update(Le(r.input.MessageBody||"")),a.MD5OfMessageBody!==_e(await i.digest()))throw new Error("InvalidChecksumError");return s},"sendMessageMiddleware"),My={step:"initialize",tags:["VALIDATE_BODY_MD5"],name:"sendMessageMiddleware",override:!0},ky=n(t=>({applyToStack:n(e=>{e.add(Ny(t),My)},"applyToStack")}),"getSendMessagePlugin"),$y=n(async(t,e,r)=>({operation:ze(e).operation,region:await xe(t.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"defaultSQSHttpAuthSchemeParametersProvider");function Oy(t){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sqs",region:t.region},propertiesExtractor:n((e,r)=>({signingProperties:{config:e,context:r}}),"propertiesExtractor")}}n(Oy,"createAwsAuthSigv4HttpAuthOption");var Dy=n(t=>{let e=[];switch(t.operation){default:e.push(Oy(t))}return e},"defaultSQSHttpAuthSchemeProvider"),Ly=n(t=>{let e=hr(t);return Object.assign(e,{authSchemePreference:xe(t.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig"),Uy=n(t=>Object.assign(t,{useDualstackEndpoint:t.useDualstackEndpoint??!1,useFipsEndpoint:t.useFipsEndpoint??!1,defaultSigningName:"sqs"}),"resolveClientEndpointParameters"),Fy={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},By={name:"@aws-sdk/client-sqs",version:"3.1150.0",description:"AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sqs",license:"Apache-2.0",author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/sdk-for-javascript/"},repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sqs"},files:["dist-*/**"],sideEffects:!1,main:"./dist-cjs/index.js",module:"./dist-es/index.js",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},types:"./dist-types/index.d.ts",typesVersions:{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},scripts:{build:"concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline","build:es":"premove dist-es && tsc -p tsconfig.es.json","build:include:deps":'yarn g:turbo run build -F="$npm_package_name"',"build:types":"premove dist-types && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"premove dist-cjs dist-es dist-types","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service",test:"yarn g:vitest run --passWithNoTests","test:watch":"yarn g:vitest watch --passWithNoTests","test:integration":"yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts","test:integration:watch":"yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.mts","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.mts","test:browser":"yarn g:vitest run -c vitest.config.browser.e2e.mts","test:browser:watch":"yarn g:vitest watch -c vitest.config.browser.e2e.mts","test:index":"tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"},dependencies:{"@aws-sdk/core":"^3.978.3","@aws-sdk/credential-provider-node":"^3.972.86","@aws-sdk/middleware-sdk-sqs":"^3.972.44","@aws-sdk/types":"^3.974.6","@smithy/core":"^3.35.2","@smithy/fetch-http-handler":"^5.8.0","@smithy/node-http-handler":"^4.12.1","@smithy/types":"^4.19.0",tslib:"^2.6.2"},devDependencies:{"@smithy/snapshot-testing":"^2.3.2","@tsconfig/node20":"20.1.8","@types/node":"^20.14.8",concurrently:"7.0.0","downlevel-dts":"0.10.1",premove:"4.0.0",typescript:"~7.0.2",vitest:"^4.0.17"},engines:{node:">=20.0.0"}},vt="ref",Fe=-1,wr=!0,In="isSet",hc="PartitionResult",Ir="booleanEquals",cs="getAttr",Cn={[vt]:"Endpoint"},us={[vt]:hc},qe={},An=[{[vt]:"Region"}],Rn={conditions:[[In,[Cn]],[In,An],["aws.partition",An,hc],[Ir,[{[vt]:"UseFIPS"},wr]],[Ir,[{[vt]:"UseDualStack"},wr]],[Ir,[{fn:cs,argv:[us,"supportsDualStack"]},wr]],[Ir,[{fn:cs,argv:[us,"supportsFIPS"]},wr]],["stringEquals",[{fn:cs,argv:[us,"name"]},"aws-us-gov"]]],results:[[Fe],[Fe,"Invalid Configuration: FIPS and custom endpoint are not supported"],[Fe,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Cn,qe],["https://sqs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",qe],[Fe,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sqs.{Region}.amazonaws.com",qe],["https://sqs-fips.{Region}.{PartitionResult#dnsSuffix}",qe],[Fe,"FIPS is enabled but this partition does not support FIPS"],["https://sqs.{Region}.{PartitionResult#dualStackDnsSuffix}",qe],[Fe,"DualStack is enabled but this partition does not support DualStack"],["https://sqs.{Region}.{PartitionResult#dnsSuffix}",qe],[Fe,"Invalid Configuration: Missing Region"]]},zy=2,Hy=new Int32Array([-1,1,-1,0,13,3,1,4,100000012,2,5,100000012,3,8,6,4,7,100000011,5,100000009,100000010,4,11,9,6,10,100000008,7,100000006,100000007,5,12,100000005,6,100000004,100000005,3,100000001,14,4,100000002,100000003]),jy=Ft.from(Hy,zy,Rn.conditions,Rn.results),qy=new Bt({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Ky=n((t,e={})=>qy.get(t,()=>Ht(jy,{endpointParams:t,logger:e.logger})),"defaultEndpointResolver");zt.aws=ur;var $=class vc extends At{static{n(this,"SQSServiceException")}static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.sqs#SQSServiceException";constructor(e){super(e),Object.setPrototypeOf(this,vc.prototype)}},Vy=class fc extends ${static{n(this,"InvalidAddress")}static shapeId="com.amazonaws.sqs#InvalidAddress";name="InvalidAddress";$fault="client";constructor(e){super({name:"InvalidAddress",$fault:"client",...e}),Object.setPrototypeOf(this,fc.prototype)}},Qy=class gc extends ${static{n(this,"InvalidSecurity")}static shapeId="com.amazonaws.sqs#InvalidSecurity";name="InvalidSecurity";$fault="client";constructor(e){super({name:"InvalidSecurity",$fault:"client",...e}),Object.setPrototypeOf(this,gc.prototype)}},Wy=class yc extends ${static{n(this,"OverLimit")}static shapeId="com.amazonaws.sqs#OverLimit";name="OverLimit";$fault="client";constructor(e){super({name:"OverLimit",$fault:"client",...e}),Object.setPrototypeOf(this,yc.prototype)}},Gy=class Ec extends ${static{n(this,"QueueDoesNotExist")}static shapeId="com.amazonaws.sqs#QueueDoesNotExist";name="QueueDoesNotExist";$fault="client";constructor(e){super({name:"QueueDoesNotExist",$fault:"client",...e}),Object.setPrototypeOf(this,Ec.prototype)}},Xy=class Sc extends ${static{n(this,"RequestThrottled")}static shapeId="com.amazonaws.sqs#RequestThrottled";name="RequestThrottled";$fault="client";constructor(e){super({name:"RequestThrottled",$fault:"client",...e}),Object.setPrototypeOf(this,Sc.prototype)}},Jy=class xc extends ${static{n(this,"UnsupportedOperation")}static shapeId="com.amazonaws.sqs#UnsupportedOperation";name="UnsupportedOperation";$fault="client";constructor(e){super({name:"UnsupportedOperation",$fault:"client",...e}),Object.setPrototypeOf(this,xc.prototype)}},Yy=class bc extends ${static{n(this,"ResourceNotFoundException")}static shapeId="com.amazonaws.sqs#ResourceNotFoundException";name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,bc.prototype)}},Zy=class wc extends ${static{n(this,"MessageNotInflight")}static shapeId="com.amazonaws.sqs#MessageNotInflight";name="MessageNotInflight";$fault="client";constructor(e){super({name:"MessageNotInflight",$fault:"client",...e}),Object.setPrototypeOf(this,wc.prototype)}},eE=class Ic extends ${static{n(this,"ReceiptHandleIsInvalid")}static shapeId="com.amazonaws.sqs#ReceiptHandleIsInvalid";name="ReceiptHandleIsInvalid";$fault="client";constructor(e){super({name:"ReceiptHandleIsInvalid",$fault:"client",...e}),Object.setPrototypeOf(this,Ic.prototype)}},tE=class Cc extends ${static{n(this,"BatchEntryIdsNotDistinct")}static shapeId="com.amazonaws.sqs#BatchEntryIdsNotDistinct";name="BatchEntryIdsNotDistinct";$fault="client";constructor(e){super({name:"BatchEntryIdsNotDistinct",$fault:"client",...e}),Object.setPrototypeOf(this,Cc.prototype)}},rE=class Ac extends ${static{n(this,"EmptyBatchRequest")}static shapeId="com.amazonaws.sqs#EmptyBatchRequest";name="EmptyBatchRequest";$fault="client";constructor(e){super({name:"EmptyBatchRequest",$fault:"client",...e}),Object.setPrototypeOf(this,Ac.prototype)}},sE=class Rc extends ${static{n(this,"InvalidBatchEntryId")}static shapeId="com.amazonaws.sqs#InvalidBatchEntryId";name="InvalidBatchEntryId";$fault="client";constructor(e){super({name:"InvalidBatchEntryId",$fault:"client",...e}),Object.setPrototypeOf(this,Rc.prototype)}},aE=class _c extends ${static{n(this,"TooManyEntriesInBatchRequest")}static shapeId="com.amazonaws.sqs#TooManyEntriesInBatchRequest";name="TooManyEntriesInBatchRequest";$fault="client";constructor(e){super({name:"TooManyEntriesInBatchRequest",$fault:"client",...e}),Object.setPrototypeOf(this,_c.prototype)}},nE=class Pc extends ${static{n(this,"InvalidAttributeName")}static shapeId="com.amazonaws.sqs#InvalidAttributeName";name="InvalidAttributeName";$fault="client";constructor(e){super({name:"InvalidAttributeName",$fault:"client",...e}),Object.setPrototypeOf(this,Pc.prototype)}},iE=class Tc extends ${static{n(this,"InvalidAttributeValue")}static shapeId="com.amazonaws.sqs#InvalidAttributeValue";name="InvalidAttributeValue";$fault="client";constructor(e){super({name:"InvalidAttributeValue",$fault:"client",...e}),Object.setPrototypeOf(this,Tc.prototype)}},oE=class Nc extends ${static{n(this,"QueueDeletedRecently")}static shapeId="com.amazonaws.sqs#QueueDeletedRecently";name="QueueDeletedRecently";$fault="client";constructor(e){super({name:"QueueDeletedRecently",$fault:"client",...e}),Object.setPrototypeOf(this,Nc.prototype)}},cE=class Mc extends ${static{n(this,"QueueNameExists")}static shapeId="com.amazonaws.sqs#QueueNameExists";name="QueueNameExists";$fault="client";constructor(e){super({name:"QueueNameExists",$fault:"client",...e}),Object.setPrototypeOf(this,Mc.prototype)}},uE=class kc extends ${static{n(this,"InvalidIdFormat")}static shapeId="com.amazonaws.sqs#InvalidIdFormat";name="InvalidIdFormat";$fault="client";constructor(e){super({name:"InvalidIdFormat",$fault:"client",...e}),Object.setPrototypeOf(this,kc.prototype)}},dE=class $c extends ${static{n(this,"PurgeQueueInProgress")}static shapeId="com.amazonaws.sqs#PurgeQueueInProgress";name="PurgeQueueInProgress";$fault="client";constructor(e){super({name:"PurgeQueueInProgress",$fault:"client",...e}),Object.setPrototypeOf(this,$c.prototype)}},lE=class Oc extends ${static{n(this,"KmsAccessDenied")}static shapeId="com.amazonaws.sqs#KmsAccessDenied";name="KmsAccessDenied";$fault="client";constructor(e){super({name:"KmsAccessDenied",$fault:"client",...e}),Object.setPrototypeOf(this,Oc.prototype)}},pE=class Dc extends ${static{n(this,"KmsDisabled")}static shapeId="com.amazonaws.sqs#KmsDisabled";name="KmsDisabled";$fault="client";constructor(e){super({name:"KmsDisabled",$fault:"client",...e}),Object.setPrototypeOf(this,Dc.prototype)}},mE=class Lc extends ${static{n(this,"KmsInvalidKeyUsage")}static shapeId="com.amazonaws.sqs#KmsInvalidKeyUsage";name="KmsInvalidKeyUsage";$fault="client";constructor(e){super({name:"KmsInvalidKeyUsage",$fault:"client",...e}),Object.setPrototypeOf(this,Lc.prototype)}},hE=class Uc extends ${static{n(this,"KmsInvalidState")}static shapeId="com.amazonaws.sqs#KmsInvalidState";name="KmsInvalidState";$fault="client";constructor(e){super({name:"KmsInvalidState",$fault:"client",...e}),Object.setPrototypeOf(this,Uc.prototype)}},vE=class Fc extends ${static{n(this,"KmsNotFound")}static shapeId="com.amazonaws.sqs#KmsNotFound";name="KmsNotFound";$fault="client";constructor(e){super({name:"KmsNotFound",$fault:"client",...e}),Object.setPrototypeOf(this,Fc.prototype)}},fE=class Bc extends ${static{n(this,"KmsOptInRequired")}static shapeId="com.amazonaws.sqs#KmsOptInRequired";name="KmsOptInRequired";$fault="client";constructor(e){super({name:"KmsOptInRequired",$fault:"client",...e}),Object.setPrototypeOf(this,Bc.prototype)}},gE=class zc extends ${static{n(this,"KmsThrottled")}static shapeId="com.amazonaws.sqs#KmsThrottled";name="KmsThrottled";$fault="client";constructor(e){super({name:"KmsThrottled",$fault:"client",...e}),Object.setPrototypeOf(this,zc.prototype)}},yE=class Hc extends ${static{n(this,"InvalidMessageContents")}static shapeId="com.amazonaws.sqs#InvalidMessageContents";name="InvalidMessageContents";$fault="client";constructor(e){super({name:"InvalidMessageContents",$fault:"client",...e}),Object.setPrototypeOf(this,Hc.prototype)}},EE=class jc extends ${static{n(this,"BatchRequestTooLong")}static shapeId="com.amazonaws.sqs#BatchRequestTooLong";name="BatchRequestTooLong";$fault="client";constructor(e){super({name:"BatchRequestTooLong",$fault:"client",...e}),Object.setPrototypeOf(this,jc.prototype)}},SE="BatchEntryIdsNotDistinct",xE="BinaryList",qc="BinaryListValues",_s="BinaryListValue",bE="BatchRequestTooLong",Kc="BinaryValue",wE="DelaySeconds",Vc="DataType",IE="EmptyBatchRequest",CE="InvalidAddress",AE="InvalidAttributeName",RE="InvalidAttributeValue",_E="InvalidBatchEntryId",PE="InvalidIdFormat",TE="InvalidMessageContents",NE="InvalidSecurity",ME="KmsAccessDenied",kE="KmsDisabled",$E="KmsInvalidKeyUsage",OE="KmsInvalidState",DE="KmsNotFound",LE="KmsOptInRequired",UE="KmsThrottled",FE="MessageAttributes",BE="MessageAttributeValue",zE="MessageAttribute",HE="MessageBody",jE="MessageBodyAttributeMap",qE="MessageBodySystemAttributeMap",KE="MessageDeduplicationId",VE="MD5OfMessageAttributes",QE="MD5OfMessageBody",WE="MD5OfMessageSystemAttributes",GE="MessageGroupId",XE="MessageId",JE="MessageNotInflight",YE="MessageSystemAttributes",ZE="MessageSystemAttributeValue",eS="MessageSystemAttribute",Qc="Name",tS="OverLimit",rS="PurgeQueueInProgress",sS="QueueDoesNotExist",aS="QueueDeletedRecently",nS="QueueNameExists",iS="QueueUrl",oS="ReceiptHandleIsInvalid",cS="ResourceNotFoundException",uS="RequestThrottled",dS="StringList",Wc="StringListValues",Ps="StringListValue",lS="SendMessage",pS="SendMessageRequest",mS="SendMessageResult",hS="SequenceNumber",Gc="StringValue",vS="TooManyEntriesInBatchRequest",fS="UnsupportedOperation",Xc="Value",j="awsQueryError",D="client",L="error",q="httpError",z="message",Jc="smithy.ts.sdk.synthetic.com.amazonaws.sqs",Ge="xmlFlattened",fe="xmlName",A="com.amazonaws.sqs",Yc=new Pe(Jc),gS=[-3,Jc,"SQSServiceException",0,[],[]];Yc.registerError(gS,$);var O=new Pe(A),yS=[-3,A,SE,{[j]:["AWS.SimpleQueueService.BatchEntryIdsNotDistinct",400],[L]:D,[q]:400},[z],[0]];O.registerError(yS,tE);var ES=[-3,A,bE,{[j]:["AWS.SimpleQueueService.BatchRequestTooLong",400],[L]:D,[q]:400},[z],[0]];O.registerError(ES,EE);var SS=[-3,A,IE,{[j]:["AWS.SimpleQueueService.EmptyBatchRequest",400],[L]:D,[q]:400},[z],[0]];O.registerError(SS,rE);var xS=[-3,A,CE,{[j]:["InvalidAddress",404],[L]:D,[q]:404},[z],[0]];O.registerError(xS,Vy);var bS=[-3,A,AE,{[L]:D},[z],[0]];O.registerError(bS,nE);var wS=[-3,A,RE,{[L]:D},[z],[0]];O.registerError(wS,iE);var IS=[-3,A,_E,{[j]:["AWS.SimpleQueueService.InvalidBatchEntryId",400],[L]:D,[q]:400},[z],[0]];O.registerError(IS,sE);var CS=[-3,A,PE,{[L]:D},[],[]];O.registerError(CS,uE);var AS=[-3,A,TE,{[L]:D},[z],[0]];O.registerError(AS,yE);var RS=[-3,A,NE,{[j]:["InvalidSecurity",403],[L]:D,[q]:403},[z],[0]];O.registerError(RS,Qy);var _S=[-3,A,ME,{[j]:["KMS.AccessDeniedException",400],[L]:D,[q]:400},[z],[0]];O.registerError(_S,lE);var PS=[-3,A,kE,{[j]:["KMS.DisabledException",400],[L]:D,[q]:400},[z],[0]];O.registerError(PS,pE);var TS=[-3,A,$E,{[j]:["KMS.InvalidKeyUsageException",400],[L]:D,[q]:400},[z],[0]];O.registerError(TS,mE);var NS=[-3,A,OE,{[j]:["KMS.InvalidStateException",400],[L]:D,[q]:400},[z],[0]];O.registerError(NS,hE);var MS=[-3,A,DE,{[j]:["KMS.NotFoundException",400],[L]:D,[q]:400},[z],[0]];O.registerError(MS,vE);var kS=[-3,A,LE,{[j]:["KMS.OptInRequired",403],[L]:D,[q]:403},[z],[0]];O.registerError(kS,fE);var $S=[-3,A,UE,{[j]:["KMS.ThrottlingException",400],[L]:D,[q]:400},[z],[0]];O.registerError($S,gE);var OS=[-3,A,JE,{[j]:["AWS.SimpleQueueService.MessageNotInflight",400],[L]:D,[q]:400},[],[]];O.registerError(OS,Zy);var DS=[-3,A,tS,{[j]:["OverLimit",403],[L]:D,[q]:403},[z],[0]];O.registerError(DS,Wy);var LS=[-3,A,rS,{[j]:["AWS.SimpleQueueService.PurgeQueueInProgress",403],[L]:D,[q]:403},[z],[0]];O.registerError(LS,dE);var US=[-3,A,aS,{[j]:["AWS.SimpleQueueService.QueueDeletedRecently",400],[L]:D,[q]:400},[z],[0]];O.registerError(US,oE);var FS=[-3,A,sS,{[j]:["AWS.SimpleQueueService.NonExistentQueue",400],[L]:D,[q]:400},[z],[0]];O.registerError(FS,Gy);var BS=[-3,A,nS,{[j]:["QueueAlreadyExists",400],[L]:D,[q]:400},[z],[0]];O.registerError(BS,cE);var zS=[-3,A,oS,{[j]:["ReceiptHandleIsInvalid",404],[L]:D,[q]:404},[z],[0]];O.registerError(zS,eE);var HS=[-3,A,uS,{[j]:["RequestThrottled",403],[L]:D,[q]:403},[z],[0]];O.registerError(HS,Xy);var jS=[-3,A,cS,{[j]:["ResourceNotFoundException",404],[L]:D,[q]:404},[z],[0]];O.registerError(jS,Yy);var qS=[-3,A,vS,{[j]:["AWS.SimpleQueueService.TooManyEntriesInBatchRequest",400],[L]:D,[q]:400},[z],[0]];O.registerError(qS,aE);var KS=[-3,A,fS,{[j]:["AWS.SimpleQueueService.UnsupportedOperation",400],[L]:D,[q]:400},[z],[0]];O.registerError(KS,Jy);var VS=[Yc,O],QS=[3,A,BE,0,[Vc,Gc,Kc,Wc,qc],[0,0,21,[()=>e0,{[Ge]:1,[fe]:Ps}],[()=>Zc,{[Ge]:1,[fe]:_s}]],1],WS=[3,A,ZE,0,[Vc,Gc,Kc,Wc,qc],[0,0,21,[()=>e0,{[Ge]:1,[fe]:Ps}],[()=>Zc,{[Ge]:1,[fe]:_s}]],1],GS=[3,A,pS,0,[iS,HE,wE,FE,YE,KE,GE],[0,0,1,[()=>JS,{[Ge]:1,[fe]:zE}],[()=>YS,{[Ge]:1,[fe]:eS}],0,0],2],XS=[3,A,mS,0,[QE,VE,WE,XE,hS],[0,0,0,0,0]],Zc=[1,A,xE,0,[21,{[fe]:_s}]],e0=[1,A,dS,0,[0,{[fe]:Ps}]],JS=[2,A,jE,0,[0,{[fe]:Qc}],[()=>QS,{[fe]:Xc}]],YS=[2,A,qE,0,[0,{[fe]:Qc}],[()=>WS,{[fe]:Xc}]],ZS=[9,A,lS,0,()=>GS,()=>XS],e1=n(t=>({apiVersion:"2012-11-05",base64Decoder:t?.base64Decoder??rt,base64Encoder:t?.base64Encoder??je,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??Ky,extensions:t?.extensions??[],httpAuthSchemeProvider:t?.httpAuthSchemeProvider??Dy,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:n(e=>e.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new pr}],logger:t?.logger??new He,md5:t?.md5??kn,protocol:t?.protocol??x0,protocolSettings:t?.protocolSettings??{defaultNamespace:"com.amazonaws.sqs",errorTypeRegistries:VS,version:"2012-11-05",serviceTarget:"AmazonSQS",awsQueryCompatible:!0},serviceId:t?.serviceId??"SQS",sha256:t?.sha256??vr,urlParser:t?.urlParser??bt,utf8Decoder:t?.utf8Decoder??et,utf8Encoder:t?.utf8Encoder??tt}),"getRuntimeConfig$1"),t1=n(t=>{_t(process.version);let e=Ut(t),r=n(()=>e().then(Rt),"defaultConfigProvider"),s=e1(t);wt(process.version);let a={profile:t?.profile,logger:s.logger};return{...s,...t,runtime:"node",defaultsMode:e,authSchemePreference:t?.authSchemePreference??U(mr,a),bodyLengthChecker:t?.bodyLengthChecker??Mt,credentialDefaultProvider:t?.credentialDefaultProvider??ws,defaultUserAgentProvider:t?.defaultUserAgentProvider??or({serviceId:s.serviceId,clientVersion:By.version}),maxAttempts:t?.maxAttempts??U(Gt,t),region:t?.region??U(Ot,{...Dt,...a}),requestHandler:xt.create(t?.requestHandler??r),retryMode:t?.retryMode??U({...Jt,default:n(async()=>(await r()).retryMode||Wt,"default")},t),streamCollector:t?.streamCollector??St,useDualstackEndpoint:t?.useDualstackEndpoint??U(kt,a),useFipsEndpoint:t?.useFipsEndpoint??U($t,a),userAgentAppId:t?.userAgentAppId??U(cr,a)}},"getRuntimeConfig"),r1=n(t=>{let e=t.httpAuthSchemes,r=t.httpAuthSchemeProvider,s=t.credentials;return{setHttpAuthScheme(a){let i=e.findIndex(o=>o.schemeId===a.schemeId);i===-1?e.push(a):e.splice(i,1,a)},httpAuthSchemes(){return e},setHttpAuthSchemeProvider(a){r=a},httpAuthSchemeProvider(){return r},setCredentials(a){s=a},credentials(){return s}}},"getHttpAuthExtensionConfiguration"),s1=n(t=>({httpAuthSchemes:t.httpAuthSchemes(),httpAuthSchemeProvider:t.httpAuthSchemeProvider(),credentials:t.credentials()}),"resolveHttpAuthRuntimeConfig"),a1=n((t,e)=>{let r=Object.assign(dr(t),Pt(t),Kt(t),r1(t));return e.forEach(s=>s.configure(r)),Object.assign(t,lr(r),Tt(r),Vt(r),s1(r))},"resolveRuntimeExtensions"),n1=class extends It{static{n(this,"SQSClient")}config;constructor(...[t]){let e=t1(t||{});super(e),this.initConfig=e;let r=Uy(e),s=nr(r),a=Xt(s),i=Lt(a),o=i,c=a1(Ly(Ry(jt(o))),t?.extensions||[]);this.config=c,this.middlewareStack.use(Ct(this.config)),this.middlewareStack.use(ir(this.config)),this.middlewareStack.use(Yt(this.config)),this.middlewareStack.use(Qt(this.config)),this.middlewareStack.use(Zt(this.config)),this.middlewareStack.use(er(this.config)),this.middlewareStack.use(tr(this.config)),this.middlewareStack.use(Ty(this.config)),this.middlewareStack.use(rr(this.config,{httpAuthSchemeParametersProvider:$y,identityProviderConfigProvider:n(async u=>new ar({"aws.auth#sigv4":u.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(sr(this.config))}destroy(){super.destroy()}},i1=Nt(Fy,"AmazonSQS","SQSClient",qt),o1={},c1=n((t,e,r,s)=>[ky(r)],"_mw3"),u1=class extends i1(o1,c1,"SendMessage",ZS){static{n(this,"SendMessageCommand")}},_n="It seems that Emails service has not been set up correctly. Please make sure you've used official CDK construct and that you've granted access to your labmda function.",d1=de({BEESOLVE_EMAILS_QUEUE_URL:Lr(re(),{message:_n}),BEESOLVE_EMAILS_ATTACHMENTS_BUCKET:Lr(re(),{message:_n})}),Pn=Fr(d1,process.env),l1=new Cy,p1=new n1({}),m1=class{static{n(this,"Email")}props;s3Client;sqsClient;constructor(t={}){this.props=t,this.s3Client=t.s3Client??l1,this.sqsClient=t.sqsClient??p1}sendEmail=n(async t=>{let e=ba(32).toString("base64url"),{attachments:r,...s}=t,a=r?await i0(async()=>Promise.all(r.map(async i=>{if(i.type==="public")return i;if(i.type==="s3"){let o=ba(32).toString("base64url"),{body:c,...u}=i;return await this.s3Client.send(new Ay({Bucket:Pn.BEESOLVE_EMAILS_ATTACHMENTS_BUCKET,Key:o,Body:c})),{...u,fileId:o}}n0(i)}))):void 0;return await this.sqsClient.send(new u1({QueueUrl:Pn.BEESOLVE_EMAILS_QUEUE_URL,MessageBody:JSON.stringify({id:e,...s,attachments:a})})),{requestId:e}},"sendEmail")},h1=class{static{n(this,"Setup")}props;constructor(t){this.props=t}isComplete=n(async()=>{let{Item:t}=await this.props.dynamo.send(new qs({TableName:this.props.tableName,Key:{pk:"system#config",sk:"setup"}}));return t!=null},"isComplete");markComplete=n(async({adminEmail:t})=>{await this.props.dynamo.send(new Ks({TableName:this.props.tableName,Item:{pk:"system#config",sk:"setup",completedAt:new Date().toISOString(),adminEmail:t},ConditionExpression:"attribute_not_exists(pk) AND attribute_not_exists(sk)"}))},"markComplete")},Xe=Vs.from(new js,{marshallOptions:{removeUndefinedValues:!0,convertEmptyValues:!1}}),v1=new Xs({dynamo:Xe,tableName:_r,reverseIndexName:On}),f1=new Ws({dynamo:Xe,tableName:_r,reverseIndexName:On}),g1=new Gs({dynamo:Xe,tableName:_r}),y1=new Qs({dynamo:Xe,tableName:_r}),Tn=new xa({dynamo:Xe,tableName:Dn,reverseIndexName:B0}),E1=new h1({dynamo:Xe,tableName:Dn}),S1=new bm,x1=new m1,b1=new Set(["/sign-in","/sign-in/verify","/setup"]),w1=n(async({event:t,resolve:e})=>{t.locals.services={totals:v1,breakdowns:f1,config:g1,markers:y1,users:Tn,setup:E1,authClient:S1,email:x1};let r=b1.has(t.url.pathname);if(t.locals.session.type!=="valid"&&!r&&Fs(303,"/sign-in"),t.locals.session.type==="valid"&&!r)try{let s=await Tn.getByEmail({email:t.locals.session.validSession.userId});t.locals.user={email:s.email,type:s.type,domains:s.domains}}catch{t.locals.user=null}else t.locals.user=null;return e(t)},"authGuard");process.env.DEV_USER_EMAIL;var ox=qr(Tm({fallbackSession:void 0}),w1);export{Qr as a,z0 as b,eu as c,tu as d,ru as e,su as f,au as g,nu as h,iu as i,ou as j,cu as k,Un as l,Fn as m,nx as n,ox as o};
|
|
24
|
-
//# sourceMappingURL=chunk-
|
|
21
|
+
`),Aa=!0)),new Ze("AWS_PROFILE is set, skipping fromEnv provider.",{logger:t.logger,tryNextLink:!0});return t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),ba(t)()},async e=>{t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");let{ssoStartUrl:r,ssoAccountId:s,ssoRegion:a,ssoRoleName:i,ssoSession:o}=t;if(!r&&!s&&!a&&!i&&!o)throw new Ze("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:t.logger});let{fromSSO:c}=await import("./dist-es6-3LIOBPYN.js");return c(t)(e)},async e=>{t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");let{fromIni:r}=await import("./dist-es3-77ZYOMBT.js");return r(t)(e)},async e=>{t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");let{fromProcess:r}=await import("./dist-es5-KVZQJJU3.js");return r(t)(e)},async e=>{t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");let{fromTokenFile:r}=await import("./dist-es7-XTZQI2TF.js");return r(t)(e)},async()=>(t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await g0(t))()),async()=>{throw new Ze("Could not load credentials from any providers",{tryNextLink:!1,logger:t.logger})}],S0),"defaultProvider"),S0=n(t=>t?.expiration!==void 0&&t.expiration.getTime()-Date.now()<3e5,"credentialsTreatedAsExpired"),x0=class extends ua{static{n(this,"AwsJsonRpcProtocol")}serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:t,errorTypeRegistries:e,serviceTarget:r,awsQueryCompatible:s,jsonCodec:a}){super({defaultNamespace:t,errorTypeRegistries:e}),this.serviceTarget=r,this.codec=a??new Sa({timestampFormat:{useTrait:!0,default:7},jsonName:!1}),this.serializer=this.codec.createSerializer(),this.deserializer=this.codec.createDeserializer(),this.awsQueryCompatible=!!s,this.mixin=new zr(this.awsQueryCompatible)}async serializeRequest(t,e,r){let s=await super.serializeRequest(t,e,r);return s.path.endsWith("/")||(s.path+="/"),s.headers["content-type"]=`application/x-amz-json-${this.getJsonRpcVersion()}`,s.headers["x-amz-target"]=`${this.serviceTarget}.${t.name}`,this.awsQueryCompatible&&(s.headers["x-amzn-query-mode"]="true"),(sa(t.input)==="unit"||!s.body)&&(s.body="{}"),s}getPayloadCodec(){return this.codec}async handleError(t,e,r,s,a){let{awsQueryCompatible:i}=this;i&&this.mixin.setQueryCompatError(s,r);let o=Ea(r,s,i)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace);let{errorSchema:c,errorMetadata:u}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,r,s,a,i?this.mixin.findQueryCompatibleError:void 0),p=Te.of(c),d=s.message??s.Message??"UnknownError",l=new(this.compositeErrorRegistry.getErrorCtor(c)??Error)({}),m={},v=this.codec.createDeserializer();for(let[g,_]of p.structIterator())s[g]!=null&&(m[g]=v.readObject(_,s[g]));throw i&&this.mixin.queryCompatOutput(s,m),this.mixin.decorateServiceException(Object.assign(l,u,{$fault:p.getMergedTraits().error,message:d},m),s)}},b0=class extends x0{static{n(this,"AwsJson1_0Protocol")}constructor({defaultNamespace:t,errorTypeRegistries:e,serviceTarget:r,awsQueryCompatible:s,jsonCodec:a}){super({defaultNamespace:t,errorTypeRegistries:e,serviceTarget:r,awsQueryCompatible:s,jsonCodec:a})}getShapeId(){return"aws.protocols#awsJson1_0"}getJsonRpcVersion(){return"1.0"}getDefaultContentType(){return"application/x-amz-json-1.0"}},w0=/[&<>"]/g,I0={"&":"&","<":"<",">":">",'"':"""};function C0(t){return t.replace(w0,e=>I0[e])}n(C0,"escapeAttribute");var A0=/[&"'<>\r\n\u0085\u2028]/g,R0={"&":"&",'"':""","'":"'","<":"<",">":">","\r":"
","\n":"
","
":"…","\u2028":"
"};function _0(t){return t.replace(A0,e=>R0[e])}n(_0,"escapeElement");var ms=class{static{n(this,"XmlText")}value;constructor(t){this.value=t}toString(){return _0(""+this.value)}},ge=class Ar{static{n(this,"XmlNode")}name;children;attributes={};static of(e,r,s){let a=new Ar(e);return r!==void 0&&a.addChildNode(new ms(r)),s!==void 0&&a.withName(s),a}constructor(e,r=[]){this.name=e,this.children=r}withName(e){return this.name=e,this}addAttribute(e,r){return this.attributes[e]=r,this}addChildNode(e){return this.children.push(e),this}removeAttribute(e){return delete this.attributes[e],this}n(e){return this.name=e,this}c(e){return this.children.push(e),this}a(e,r){return r!=null&&(this.attributes[e]=r),this}cc(e,r,s=r){if(e[r]!=null){let a=Ar.of(r,e[r]).withName(s);this.c(a)}}l(e,r,s,a){e[r]!=null&&a().map(i=>{i.withName(s),this.c(i)})}lc(e,r,s,a){if(e[r]!=null){let i=a(),o=new Ar(s);i.map(c=>{o.c(c)}),this.c(o)}}toString(){let e=!!this.children.length,r=`<${this.name}`,s=this.attributes;for(let a of Object.keys(s)){let i=s[a];i!=null&&(r+=` ${a}="${C0(""+i)}"`)}return r+=e?`>${this.children.map(a=>a.toString()).join("")}</${this.name}>`:"/>"}},P0=n((t,e)=>{if(e?.Error?.Code!==void 0)return e.Error.Code;if(e?.Code!==void 0)return e.Code;if(t.statusCode==404)return"NotFound"},"loadRestXmlErrorCode"),T0=class extends Hr{static{n(this,"XmlShapeSerializer")}settings;stringBuffer;byteBuffer;buffer;constructor(t){super(),this.settings=t}write(t,e){let r=Te.of(t);if(r.isStringSchema()&&typeof e=="string")this.stringBuffer=e;else if(r.isBlobSchema())this.byteBuffer="byteLength"in e?e:(this.serdeContext?.base64Decoder??rt)(e);else{this.buffer=this.writeStruct(r,e,void 0);let s=r.getMergedTraits();s.httpPayload&&!s.xmlName&&this.buffer.withName(r.getName())}}flush(){if(this.byteBuffer!==void 0){let e=this.byteBuffer;return delete this.byteBuffer,e}if(this.stringBuffer!==void 0){let e=this.stringBuffer;return delete this.stringBuffer,e}let t=this.buffer;return this.settings.xmlNamespace&&(t?.attributes?.xmlns||t.addAttribute("xmlns",this.settings.xmlNamespace)),delete this.buffer,t.toString()}writeStruct(t,e,r){let s=t.getMergedTraits(),a=t.isMemberSchema()&&!s.httpPayload?t.getMemberTraits().xmlName??t.getMemberName():s.xmlName??t.getName();if(!a||!t.isStructSchema())throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${t.getName(!0)}.`);let i=ge.of(a),[o,c]=this.getXmlnsAttribute(t,r);for(let[p,d]of t.structIterator()){let l=e[p];if(l!=null||d.isIdempotencyToken()){if(d.getMergedTraits().xmlAttribute){i.addAttribute(d.getMergedTraits().xmlName??p,this.writeSimple(d,l));continue}if(d.isListSchema())this.writeList(d,l,i,c);else if(d.isMapSchema())this.writeMap(d,l,i,c);else if(d.isStructSchema())i.addChildNode(this.writeStruct(d,l,c));else{let m=ge.of(d.getMergedTraits().xmlName??d.getMemberName());this.writeSimpleInto(d,l,m,c),i.addChildNode(m)}}}let{$unknown:u}=e;if(u&&t.isUnionSchema()&&Array.isArray(u)&&Object.keys(e).length===1){let[p,d]=u,l=ge.of(p);if(typeof d!="string")if(e instanceof ge||e instanceof ms)i.addChildNode(e);else throw new Error("@aws-sdk - $unknown union member in XML requires value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.");this.writeSimpleInto(0,d,l,c),i.addChildNode(l)}return c&&i.addAttribute(o,c),i}writeList(t,e,r,s){if(!t.isMemberSchema())throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${t.getName(!0)}`);let a=t.getMergedTraits(),i=t.getValueSchema(),o=i.getMergedTraits(),c=!!o.sparse,u=!!a.xmlFlattened,[p,d]=this.getXmlnsAttribute(t,s),l=n((m,v)=>{if(i.isListSchema())this.writeList(i,Array.isArray(v)?v:[v],m,d);else if(i.isMapSchema())this.writeMap(i,v,m,d);else if(i.isStructSchema()){let g=this.writeStruct(i,v,d);m.addChildNode(g.withName(u?a.xmlName??t.getMemberName():o.xmlName??"member"))}else{let g=ge.of(u?a.xmlName??t.getMemberName():o.xmlName??"member");this.writeSimpleInto(i,v,g,d),m.addChildNode(g)}},"writeItem");if(u)for(let m of e)(c||m!=null)&&l(r,m);else{let m=ge.of(a.xmlName??t.getMemberName());d&&m.addAttribute(p,d);for(let v of e)(c||v!=null)&&l(m,v);r.addChildNode(m)}}writeMap(t,e,r,s,a=!1){if(!t.isMemberSchema())throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${t.getName(!0)}`);let i=t.getMergedTraits(),o=t.getKeySchema(),c=o.getMergedTraits().xmlName??"key",u=t.getValueSchema(),p=u.getMergedTraits(),d=p.xmlName??"value",l=!!p.sparse,m=!!i.xmlFlattened,[v,g]=this.getXmlnsAttribute(t,s),_=n((I,N,H)=>{let X=ge.of(c,N),[Re,ce]=this.getXmlnsAttribute(o,g);ce&&X.addAttribute(Re,ce),I.addChildNode(X);let $e=ge.of(d);u.isListSchema()?this.writeList(u,H,$e,g):u.isMapSchema()?this.writeMap(u,H,$e,g,!0):u.isStructSchema()?$e=this.writeStruct(u,H,g):this.writeSimpleInto(u,H,$e,g),I.addChildNode($e)},"addKeyValue");if(m)for(let I in e){let N=e[I];if(l||N!=null){let H=ge.of(i.xmlName??t.getMemberName());_(H,I,N),r.addChildNode(H)}}else{let I;a||(I=ge.of(i.xmlName??t.getMemberName()),g&&I.addAttribute(v,g),r.addChildNode(I));for(let N in e){let H=e[N];if(l||H!=null){let X=ge.of("entry");_(X,N,H),(a?r:I).addChildNode(X)}}}}writeSimple(t,e){if(e===null)throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.");let r=Te.of(t),s=null;if(e&&typeof e=="object")if(r.isBlobSchema())s=(this.serdeContext?.base64Encoder??qe)(e);else if(r.isTimestampSchema()&&e instanceof Date)switch(oa(r,this.settings)){case 5:s=e.toISOString().replace(".000Z","Z");break;case 6:s=Br(e);break;case 7:s=String(e.getTime()/1e3);break;default:console.warn("Missing timestamp format, using http date",e),s=Br(e)}else{if(r.isBigDecimalSchema()&&e)return e instanceof aa?e.string:String(e);throw r.isMapSchema()||r.isListSchema()?new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead."):new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${r.getName(!0)}`)}if((r.isBooleanSchema()||r.isNumericSchema()||r.isBigIntegerSchema()||r.isBigDecimalSchema())&&(s=String(e)),r.isStringSchema()&&(e===void 0&&r.isIdempotencyToken()?s=ia():s=String(e)),s===null)throw new Error(`Unhandled schema-value pair ${r.getName(!0)}=${e}`);return s}writeSimpleInto(t,e,r,s){let a=this.writeSimple(t,e),i=Te.of(t),o=new ms(a),[c,u]=this.getXmlnsAttribute(i,s);u&&r.addAttribute(c,u),r.addChildNode(o)}getXmlnsAttribute(t,e){let[r,s]=t.getMergedTraits().xmlNamespace??[];return s&&s!==e?[r?`xmlns:${r}`:"xmlns",s]:[void 0,void 0]}},N0=class extends Hr{static{n(this,"XmlCodec")}settings;constructor(t){super(),this.settings=t}createSerializer(){let t=new T0(this.settings);return t.setSerdeContext(this.serdeContext),t}createDeserializer(){let t=new ma(this.settings);return t.setSerdeContext(this.serdeContext),t}},M0=class extends fa{static{n(this,"AwsRestXmlProtocol")}codec;serializer;deserializer;mixin=new zr;constructor(t){super(t);let e={timestampFormat:{useTrait:!0,default:5},httpBindings:!0,xmlNamespace:t.xmlNamespace,serviceNamespace:t.defaultNamespace};this.codec=new N0(e),this.serializer=new ya(this.codec.createSerializer(),e),this.deserializer=new ga(this.codec.createDeserializer(),e)}getPayloadCodec(){return this.codec}getShapeId(){return"aws.protocols#restXml"}async serializeRequest(t,e,r){let s=await super.serializeRequest(t,e,r),a=Te.of(t.input);if(!s.headers["content-type"]){let i=this.mixin.resolveRestContentType(this.getDefaultContentType(),a);i&&(s.headers["content-type"]=i)}return typeof s.body=="string"&&s.headers["content-type"]===this.getDefaultContentType()&&!s.body.startsWith("<?xml ")&&!this.hasUnstructuredPayloadBinding(a)&&(s.body='<?xml version="1.0" encoding="UTF-8"?>'+s.body),s}async deserializeResponse(t,e,r){return super.deserializeResponse(t,e,r)}async handleError(t,e,r,s,a){let i=P0(r,s)??"Unknown";if(this.mixin.compose(this.compositeErrorRegistry,i,this.options.defaultNamespace),s.Error&&typeof s.Error=="object")for(let v of Object.keys(s.Error))s[v]=s.Error[v],v.toLowerCase()==="message"&&(s.message=s.Error[v]);s.RequestId&&!a.requestId&&(a.requestId=s.RequestId);let{errorSchema:o,errorMetadata:c}=await this.mixin.getErrorSchemaOrThrowBaseException(i,this.options.defaultNamespace,r,s,a),u=Te.of(o),p=s.Error?.message??s.Error?.Message??s.message??s.Message??"UnknownError",d=new(this.compositeErrorRegistry.getErrorCtor(o)??Error)({});await this.deserializeHttpMessage(o,e,r,s);let l={},m=this.codec.createDeserializer();for(let[v,g]of u.structIterator()){let _=g.getMergedTraits().xmlName??v,I=s.Error?.[_]??s[_];l[v]=m.readSchema(g,I)}throw this.mixin.decorateServiceException(Object.assign(d,c,{$fault:u.getMergedTraits().error,message:p},l),s)}getDefaultContentType(){return"application/xml"}hasUnstructuredPayloadBinding(t){for(let[,e]of t.structIterator())if(e.getMergedTraits().httpPayload)return!(e.isStructSchema()||e.isMapSchema()||e.isListSchema());return!1}},k0=class extends r0{static{n(this,"HashCalculator")}hash;constructor(t,e){super(e),this.hash=t}_write(t,e,r){try{this.hash.update(Le(t))}catch(s){return r(s)}r()}},$0=n((t,e)=>{if(e.readableFlowing!==null)throw new Error("Unable to calculate hash for flowing readable stream");let r=new t,s=new k0(r);return e.pipe(s),new Promise((a,i)=>{e.on("error",o=>{s.end(),i(o)}),s.on("error",i),s.on("finish",()=>{r.digest().then(a).catch(i)})})},"readableStreamHasher"),O0=class{static{n(this,"Md5Js")}digestLength=16;state=Uint32Array.from(Ra);writeBuffer=new DataView(new ArrayBuffer(64));bufferLength=0;bytesHashed=0;update(t){let e=Le(t),r=0,s=e.byteLength;for(this.bytesHashed+=s;s>0;)this.writeBuffer.setUint8(this.bufferLength++,e[r++]),--s,this.bufferLength===64&&(Kr(this.state,this.writeBuffer),this.bufferLength=0)}async digest(){let t=Uint32Array.from(this.state),e=new DataView(this.writeBuffer.buffer.slice(0)),r=this.bufferLength,s=this.bytesHashed*8;if(e.setUint8(r++,128),this.bufferLength%64>=56){for(let o=r;o<64;++o)e.setUint8(o,0);Kr(t,e),r=0}for(let o=r;o<56;++o)e.setUint8(o,0);e.setUint32(56,s>>>0,!0),e.setUint32(60,Math.floor(s/2**32),!0),Kr(t,e);let a=new Uint8Array(16),i=new DataView(a.buffer);for(let o=0;o<4;++o)i.setUint32(o*4,t[o],!0);return a}reset(){this.state.set(Ra),this.writeBuffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0}},Ra=[1732584193,4023233417,2562383102,271733878],Ne=4294967295,D0=Uint8Array.of(7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21),L0=Array.from({length:64},(t,e)=>Math.abs(Math.sin(e+1))*2**32>>>0);function Kr(t,e){let r=t[0],s=t[1],a=t[2],i=t[3];for(let o=0;o<64;++o){let c,u;o<16?(c=s&a|~s&i,u=o):o<32?(c=i&s|a&~i,u=(5*o+1)%16):o<48?(c=s^a^i,u=(3*o+5)%16):(c=a^(s|~i),u=7*o%16);let p=e.getUint32(u*4,!0),d=i;i=a,a=s;let l=D0[(o>>4)*4+(o&3)],m=(r+c&Ne)+(p+L0[o]&Ne)&Ne;s=s+((m<<l|m>>>32-l)>>>0)&Ne,r=d}t[0]=t[0]+r&Ne,t[1]=t[1]+s&Ne,t[2]=t[2]+a&Ne,t[3]=t[3]+i&Ne}n(Kr,"compress");var On=(()=>{try{return lt("md5"),!0}catch{return!1}})()?U0():O0;function U0(){return class{static{n(this,"Md5Node")}digestLength=16;hash=lt("md5");update(e){this.hash.update(Le(e))}async digest(){let e=this.hash.copy().digest();return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}reset(){this.hash=lt("md5")}}}n(U0,"buildNativeClass$2");var Dn=new Uint32Array(256);for(let t=0;t<256;++t){let e=t;for(let r=0;r<8;++r)e=e&1?3988292384^e>>>1:e>>>1;Dn[t]=e>>>0}var Vr=4294967295,F0=class{static{n(this,"Crc32Js")}digestLength=4;checksum=Vr;update(t){for(let e=0;e<t.length;++e)this.checksum=this.checksum>>>8^Dn[(this.checksum^t[e])&255]}digestSync(){return(this.checksum^Vr)>>>0}async digest(){let t=this.digestSync(),e=new Uint8Array(4);return new DataView(e.buffer).setUint32(0,t,!1),e}reset(){this.checksum=Vr}},_a=typeof ds.crc32=="function"?ds.crc32:void 0,Is=_a?B0(_a):F0;function B0(t){return class{static{n(this,"Crc32Node")}digestLength=4;value=0;update(r){this.value=t(r,this.value)}digestSync(){return this.value>>>0}async digest(){let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,this.digestSync(),!1),r}reset(){this.value=0}}}n(B0,"buildNativeClass$1");var gt=ze.ANALYTICS_TABLE_NAME,Cs=ze.ANALYTICS_REVERSE_INDEX,Ln=ze.ANALYTICS_USERS_TABLE,z0=ze.ANALYTICS_USERS_REVERSE_INDEX;ze.IPINFO_API_KEY;var Qr=class Un{static{n(this,"Int64")}bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776e3||e<-9223372036854776e3)throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let r=new Uint8Array(8);for(let s=7,a=Math.abs(Math.round(e));s>-1&&a>0;s--,a/=256)r[s]=a;return e<0&&Pa(r),new Un(r)}valueOf(){let e=this.bytes.slice(0),r=e[0]&128;return r&&Pa(e),parseInt(_e(e),16)*(r?-1:1)}toString(){return String(this.valueOf())}};function Pa(t){for(let e=0;e<8;e++)t[e]^=255;for(let e=7;e>-1&&(t[e]++,t[e]===0);e--);}n(Pa,"negate");var H0=class{static{n(this,"HeaderMarshaller")}toUtf8;fromUtf8;constructor(t,e){this.toUtf8=t,this.fromUtf8=e}format(t){let e=[];for(let a in t){if(!Je(t,a))continue;let i=this.fromUtf8(a);e.push(Uint8Array.from([i.byteLength]),i,this.formatHeaderValue(t[a]))}let r=new Uint8Array(e.reduce((a,i)=>a+i.byteLength,0)),s=0;for(let a of e)r.set(a,s),s+=a.byteLength;return r}formatHeaderValue(t){switch(t.type){case"boolean":return Uint8Array.from([t.value?0:1]);case"byte":return Uint8Array.from([2,t.value]);case"short":let e=new DataView(new ArrayBuffer(3));return e.setUint8(0,3),e.setInt16(1,t.value,!1),new Uint8Array(e.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,t.value,!1),new Uint8Array(r.buffer);case"long":let s=new Uint8Array(9);return s[0]=5,s.set(t.value.bytes,1),s;case"binary":let a=new DataView(new ArrayBuffer(3+t.value.byteLength));a.setUint8(0,6),a.setUint16(1,t.value.byteLength,!1);let i=new Uint8Array(a.buffer);return i.set(t.value,3),i;case"string":let o=this.fromUtf8(t.value),c=new DataView(new ArrayBuffer(3+o.byteLength));c.setUint8(0,7),c.setUint16(1,o.byteLength,!1);let u=new Uint8Array(c.buffer);return u.set(o,3),u;case"timestamp":let p=new Uint8Array(9);return p[0]=8,p.set(Qr.fromNumber(t.value.valueOf()).bytes,1),p;case"uuid":if(!J0.test(t.value))throw new Error(`Invalid UUID received: ${t.value}`);let d=new Uint8Array(17);return d[0]=9,d.set(ea(t.value.replace(/-/g,"")),1),d}}parse(t){let e={},r=0;for(;r<t.byteLength;){let s=t.getUint8(r++),a=this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+r,s));switch(r+=s,t.getUint8(r++)){case 0:e[a]={type:Na,value:!0};break;case 1:e[a]={type:Na,value:!1};break;case 2:e[a]={type:j0,value:t.getInt8(r++)};break;case 3:e[a]={type:q0,value:t.getInt16(r,!1)},r+=2;break;case 4:e[a]={type:K0,value:t.getInt32(r,!1)},r+=4;break;case 5:e[a]={type:V0,value:new Qr(new Uint8Array(t.buffer,t.byteOffset+r,8))},r+=8;break;case 6:let i=t.getUint16(r,!1);r+=2,e[a]={type:Q0,value:new Uint8Array(t.buffer,t.byteOffset+r,i)},r+=i;break;case 7:let o=t.getUint16(r,!1);r+=2,e[a]={type:W0,value:this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+r,o))},r+=o;break;case 8:e[a]={type:G0,value:new Date(new Qr(new Uint8Array(t.buffer,t.byteOffset+r,8)).valueOf())},r+=8;break;case 9:let c=new Uint8Array(t.buffer,t.byteOffset+r,16);r+=16,e[a]={type:X0,value:`${_e(c.subarray(0,4))}-${_e(c.subarray(4,6))}-${_e(c.subarray(6,8))}-${_e(c.subarray(8,10))}-${_e(c.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return e}},Ta;(function(t){t[t.boolTrue=0]="boolTrue",t[t.boolFalse=1]="boolFalse",t[t.byte=2]="byte",t[t.short=3]="short",t[t.integer=4]="integer",t[t.long=5]="long",t[t.byteArray=6]="byteArray",t[t.string=7]="string",t[t.timestamp=8]="timestamp",t[t.uuid=9]="uuid"})(Ta||(Ta={}));var Na="boolean",j0="byte",q0="short",K0="integer",V0="long",Q0="binary",W0="string",G0="timestamp",X0="uuid",J0=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,Y0=4,nt=8,Wr=4,Z0=16;function eu({byteLength:t,byteOffset:e,buffer:r}){if(t<Z0)throw new Error("Provided message too short to accommodate event stream message overhead");let s=new DataView(r,e,t),a=s.getUint32(0,!1);if(t!==a)throw new Error("Reported message length does not match received message length");let i=s.getUint32(Y0,!1),o=s.getUint32(nt,!1),c=s.getUint32(t-Wr,!1),u=new Is;if(u.update(new Uint8Array(r,e,nt)),o!==u.digestSync())throw new Error(`The prelude checksum specified in the message (${o}) does not match the calculated CRC32 checksum (${u.digestSync()})`);if(u.update(new Uint8Array(r,e+nt,t-12)),c!==u.digestSync())throw new Error(`The message checksum (${u.digestSync()}) did not match the expected value of ${c}`);return{headers:new DataView(r,e+nt+Wr,i),body:new Uint8Array(r,e+nt+Wr+i,a-i-16)}}n(eu,"splitMessage");var tu=class{static{n(this,"EventStreamCodec")}headerMarshaller;messageBuffer;isEndOfStream;constructor(t,e){this.headerMarshaller=new H0(t,e),this.messageBuffer=[],this.isEndOfStream=!1}feed(t){this.messageBuffer.push(this.decode(t))}endOfStream(){this.isEndOfStream=!0}getMessage(){let t=this.messageBuffer.pop(),e=this.isEndOfStream;return{getMessage(){return t},isEndOfStream(){return e}}}getAvailableMessages(){let t=this.messageBuffer;this.messageBuffer=[];let e=this.isEndOfStream;return{getMessages(){return t},isEndOfStream(){return e}}}encode({headers:t,body:e}){let r=this.headerMarshaller.format(t),s=r.byteLength+e.byteLength+16,a=new Uint8Array(s),i=new DataView(a.buffer,a.byteOffset,a.byteLength),o=new Is;return i.setUint32(0,s,!1),i.setUint32(4,r.byteLength,!1),o.update(a.subarray(0,8)),i.setUint32(8,o.digestSync(),!1),a.set(r,12),a.set(e,r.byteLength+12),o.update(a.subarray(8,s-4)),i.setUint32(s-4,o.digestSync(),!1),a}decode(t){let{headers:e,body:r}=eu(t);return{headers:this.headerMarshaller.parse(e),body:r}}formatHeaders(t){return this.headerMarshaller.format(t)}},ru=class{static{n(this,"MessageDecoderStream")}options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let t of this.options.inputStream)yield this.options.decoder.decode(t)}},su=class{static{n(this,"MessageEncoderStream")}options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let t of this.options.messageStream)yield this.options.encoder.encode(t);this.options.includeEndFrame&&(yield new Uint8Array(0))}},au=class{static{n(this,"SmithyMessageDecoderStream")}options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let t of this.options.messageStream){let e=await this.options.deserializer(t);e!==void 0&&(yield e)}}},nu=class{static{n(this,"SmithyMessageEncoderStream")}options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let t of this.options.inputStream)yield this.options.serializer(t)}};function iu(t){let e=0,r=0,s=null,a=null,i=n(c=>{if(typeof c!="number")throw new Error("Attempted to allocate an event message where size was not a number: "+c);e=c,r=4,s=new Uint8Array(c),new DataView(s.buffer).setUint32(0,c,!1)},"allocateMessage"),o=n(async function*(){let c=t[Symbol.asyncIterator]();for(;;){let{value:u,done:p}=await c.next();if(p){if(e)if(e===r)yield s;else throw new Error("Truncated event message received.");else return;return}let d=u.length,l=0;for(;l<d;){if(!s){let v=d-l;a||(a=new Uint8Array(4));let g=Math.min(4-r,v);if(a.set(u.slice(l,l+g),r),r+=g,l+=g,r<4)break;i(new DataView(a.buffer).getUint32(0,!1)),a=null}let m=Math.min(e-r,d-l);s.set(u.slice(l,l+m),r),r+=m,l+=m,e&&e===r&&(yield s,s=null,e=0,r=0)}}},"iterator");return{[Symbol.asyncIterator]:o}}n(iu,"getChunkedStream");function ou(t,e){return async function(r){let{value:s}=r.headers[":message-type"];if(s==="error"){let a=new Error(r.headers[":error-message"].value||"UnknownError");throw a.name=r.headers[":error-code"].value,a}else if(s==="exception"){let a=r.headers[":exception-type"].value,i=await t({[a]:r});if(i.$unknown){let o=new Error(e(r.body));throw o.name=a,o}throw i[a]}else if(s==="event"){let a=await t({[r.headers[":event-type"].value]:r});return a.$unknown?void 0:a}else throw Error(`Unrecognizable event type: ${r.headers[":event-type"].value}`)}}n(ou,"getMessageUnmarshaller");var cu=class{static{n(this,"EventStreamMarshaller$1")}eventStreamCodec;utfEncoder;constructor({utf8Encoder:t,utf8Decoder:e}){this.eventStreamCodec=new tu(t,e),this.utfEncoder=t}deserialize(t,e){return new au({messageStream:new ru({inputStream:iu(t),decoder:this.eventStreamCodec}),deserializer:ou(e,this.utfEncoder)})}serialize(t,e){return new su({messageStream:new nu({inputStream:t,serializer:e}),encoder:this.eventStreamCodec,includeEndFrame:!0})}},uu=class{static{n(this,"EventStreamMarshaller")}universalMarshaller;constructor({utf8Encoder:t,utf8Decoder:e}){this.universalMarshaller=new cu({utf8Decoder:e,utf8Encoder:t})}deserialize(t,e){let r=typeof t[Symbol.asyncIterator]=="function"?t:du(t);return this.universalMarshaller.deserialize(r,e)}serialize(t,e){return ft.from(this.universalMarshaller.serialize(t,e))}},Fn=n(t=>new uu(t),"eventStreamSerdeProvider");async function*du(t){let e=!1,r=!1,s=new Array;for(t.on("error",a=>{if(e||(e=!0),a)throw a}),t.on("data",a=>{s.push(a)}),t.on("end",()=>{e=!0});!r;){let a=await new Promise(i=>setTimeout(()=>i(s.shift()),0));a&&(yield a),r=e&&s.length===0}}n(du,"readableToIterable");var Bn=n(t=>Object.assign(t,{eventStreamMarshaller:t.eventStreamSerdeProvider(t)}),"resolveEventStreamSerdeConfig"),ox=class{static{n(this,"EventStreamSerde")}marshaller;serializer;deserializer;serdeContext;defaultContentType;compositeErrorRegistry;constructor({marshaller:t,serializer:e,deserializer:r,serdeContext:s,defaultContentType:a,compositeErrorRegistry:i}){this.marshaller=t,this.serializer=e,this.deserializer=r,this.serdeContext=s,this.defaultContentType=a,this.compositeErrorRegistry=i}async serializeEventStream({eventStream:t,requestSchema:e,initialRequest:r,initialMessageType:s}){let a=this.marshaller,i=e.getEventStreamMember(),o=e.getMemberSchema(i),c=this.serializer,u=this.defaultContentType,p=Symbol("initialRequestMarker"),d={async*[Symbol.asyncIterator](){if(r){let l={":event-type":{type:"string",value:s??"initial-request"},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:u}};c.write(e,r);let m=c.flush();yield{[p]:!0,headers:l,body:m}}for await(let l of t)yield l}};return a.serialize(d,l=>{if(l[p])return{headers:l.headers,body:l.body};let m="";for(let N in l)if(Je(l,N)&&N!=="__type"){m=N;break}let{additionalHeaders:v,body:g,eventType:_,explicitPayloadContentType:I}=this.writeEventBody(m,o,l);return{headers:{":event-type":{type:"string",value:_},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:I??u},...v},body:g}})}async deserializeEventStream({response:t,responseSchema:e,initialResponseContainer:r,initialMessageType:s}){let a=this.marshaller,i=e.getEventStreamMember(),o=e.getMemberSchema(i).getMemberSchemas(),c=Symbol("initialResponseMarker"),u=a.deserialize(t.body,async l=>{let m="";for(let g in l)if(Je(l,g)&&g!=="__type"){m=g;break}let v=l[m].body;if(m===(s??"initial-response")){let g=await this.deserializer.read(e,v);return delete g[i],{[c]:!0,...g}}else if(m in o){let g=o[m];if(g.isStructSchema()){let _={},I=!1;for(let[N,H]of g.structIterator()){let{eventHeader:X,eventPayload:Re}=H.getMergedTraits();if(I=I||!!(X||Re),Re)H.isBlobSchema()?_[N]=v:H.isStringSchema()?_[N]=(this.serdeContext?.utf8Encoder??tt)(v):H.isStructSchema()&&(_[N]=await this.deserializer.read(H,v));else if(X){let ce=l[m].headers[N]?.value;ce!=null&&(H.isNumericSchema()?ce&&typeof ce=="object"&&"bytes"in ce?_[N]=BigInt(ce.toString()):_[N]=Number(ce):_[N]=ce)}}return{[m]:await this.readEventMember(g,v,I,_)}}return{[m]:await this.deserializer.read(g,v)}}else return{$unknown:l}}),p=u[Symbol.asyncIterator](),d=await p.next();if(d.done)return u;if(d.value?.[c]){if(!e)throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");for(let l in d.value)Je(d.value,l)&&(r[l]=d.value[l])}return{async*[Symbol.asyncIterator](){for(d?.value?.[c]||(yield d.value);;){let{done:l,value:m}=await p.next();if(l)break;yield m}}}}async readEventMember(t,e,r,s){let a,i=t.getSchema();if(Array.isArray(i)&&i[0]===-3){let c=i[1],u=Pe.for(c);this.compositeErrorRegistry?.copyFrom(u),a=(this.compositeErrorRegistry??u)?.getErrorCtor(i)}let o=r?s:e.byteLength===0?{}:await this.deserializer.read(t,e);if(a){let c=o.message??o.Message??"Unknown",u={},p=t.getMergedTraits().error;return p&&(u.$fault=p),Object.assign(new a({}),u,{message:c},o)}return o}writeEventBody(t,e,r){let s=this.serializer,a=t,i=null,o,c=e.getSchema()[4].includes(t),u={};if(c){let d=e.getMemberSchema(t);if(d.isStructSchema()){for(let[l,m]of d.structIterator()){let{eventHeader:v,eventPayload:g}=m.getMergedTraits();if(g)i=l;else if(v){let _=r[t][l],I="binary";m.isNumericSchema()?(-2)**31<=_&&_<=2**31-1?I="integer":I="long":m.isTimestampSchema()?I="timestamp":m.isStringSchema()?I="string":m.isBooleanSchema()&&(I="boolean"),_!=null&&(u[l]={type:I,value:_},delete r[t][l])}}if(i!==null){let l=d.getMemberSchema(i);l.isBlobSchema()?o="application/octet-stream":l.isStringSchema()&&(o="text/plain"),s.write(l,r[t][i])}else s.write(d,r[t])}else if(d.isUnitSchema())s.write(d,{});else throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.")}else{let[d,l]=r[t];a=d,s.write(15,l)}let p=s.flush()??new Uint8Array;return{body:typeof p=="string"?(this.serdeContext?.utf8Decoder??et)(p):p,eventType:a,explicitPayloadContentType:o,additionalHeaders:u}}},lu=n(async(t,e,r)=>({operation:He(e).operation,region:await xe(t.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"defaultLambdaHttpAuthSchemeParametersProvider");function pu(t){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"lambda",region:t.region},propertiesExtractor:n((e,r)=>({signingProperties:{config:e,context:r}}),"propertiesExtractor")}}n(pu,"createAwsAuthSigv4HttpAuthOption$2");var mu=n(t=>{let e=[];switch(t.operation){default:e.push(pu(t))}return e},"defaultLambdaHttpAuthSchemeProvider"),hu=n(t=>{let e=vr(t);return Object.assign(e,{authSchemePreference:xe(t.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig$2"),vu=n(t=>Object.assign(t,{useDualstackEndpoint:t.useDualstackEndpoint??!1,useFipsEndpoint:t.useFipsEndpoint??!1,defaultSigningName:"lambda"}),"resolveClientEndpointParameters$2"),fu={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},gu={name:"@aws-sdk/client-lambda",version:"3.1150.0",description:"AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lambda",license:"Apache-2.0",author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/sdk-for-javascript/"},repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-lambda"},files:["dist-*/**"],sideEffects:!1,main:"./dist-cjs/index.js",module:"./dist-es/index.js",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},types:"./dist-types/index.d.ts",typesVersions:{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},scripts:{build:"concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline","build:es":"premove dist-es && tsc -p tsconfig.es.json","build:include:deps":'yarn g:turbo run build -F="$npm_package_name"',"build:types":"premove dist-types && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"premove dist-cjs dist-es dist-types","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service",test:"yarn g:vitest run --passWithNoTests","test:watch":"yarn g:vitest watch --passWithNoTests","test:integration":"yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts","test:integration:watch":"yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.mts","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.mts","test:index":"tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"},dependencies:{"@aws-sdk/core":"^3.978.3","@aws-sdk/credential-provider-node":"^3.972.86","@aws-sdk/types":"^3.974.6","@smithy/core":"^3.35.2","@smithy/fetch-http-handler":"^5.8.0","@smithy/node-http-handler":"^4.12.1","@smithy/types":"^4.19.0",tslib:"^2.6.2"},devDependencies:{"@smithy/snapshot-testing":"^2.3.2","@tsconfig/node20":"20.1.8","@types/node":"^20.14.8",concurrently:"7.0.0","downlevel-dts":"0.10.1",premove:"4.0.0",typescript:"~7.0.2",vitest:"^4.0.17"},engines:{node:">=20.0.0"}},pt="ref",Ue=-1,gr=!0,Ma="isSet",zn="PartitionResult",yr="booleanEquals",ka="getAttr",$a={[pt]:"Endpoint"},Oa={[pt]:zn},it={},Da=[{[pt]:"Region"}],La={conditions:[[Ma,[$a]],[Ma,Da],["aws.partition",Da,zn],[yr,[{[pt]:"UseFIPS"},gr]],[yr,[{[pt]:"UseDualStack"},gr]],[yr,[{fn:ka,argv:[Oa,"supportsDualStack"]},gr]],[yr,[{fn:ka,argv:[Oa,"supportsFIPS"]},gr]]],results:[[Ue],[Ue,"Invalid Configuration: FIPS and custom endpoint are not supported"],[Ue,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[$a,it],["https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",it],[Ue,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}",it],[Ue,"FIPS is enabled but this partition does not support FIPS"],["https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}",it],[Ue,"DualStack is enabled but this partition does not support DualStack"],["https://lambda.{Region}.{PartitionResult#dnsSuffix}",it],[Ue,"Invalid Configuration: Missing Region"]]},yu=2,Eu=new Int32Array([-1,1,-1,0,12,3,1,4,100000011,2,5,100000011,3,8,6,4,7,100000010,5,100000008,100000009,4,10,9,6,100000006,100000007,5,11,100000005,6,100000004,100000005,3,100000001,13,4,100000002,100000003]),Su=Bt.from(Eu,yu,La.conditions,La.results),xu=new zt({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),bu=n((t,e={})=>xu.get(t,()=>jt(Su,{endpointParams:t,logger:e.logger})),"defaultEndpointResolver$2");Ht.aws=dr;var y=class Hn extends Rt{static{n(this,"LambdaServiceException")}static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.lambda#LambdaServiceException";constructor(e){super(e),Object.setPrototypeOf(this,Hn.prototype)}},wu=class jn extends y{static{n(this,"InvalidParameterValueException")}static shapeId="com.amazonaws.lambda#InvalidParameterValueException";name="InvalidParameterValueException";$fault="client";Type;constructor(e){super({name:"InvalidParameterValueException",$fault:"client",...e}),Object.setPrototypeOf(this,jn.prototype),this.Type=e.Type}},Iu=class qn extends y{static{n(this,"PolicyLengthExceededException")}static shapeId="com.amazonaws.lambda#PolicyLengthExceededException";name="PolicyLengthExceededException";$fault="client";Type;constructor(e){super({name:"PolicyLengthExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,qn.prototype),this.Type=e.Type}},Cu=class Kn extends y{static{n(this,"PreconditionFailedException")}static shapeId="com.amazonaws.lambda#PreconditionFailedException";name="PreconditionFailedException";$fault="client";Type;constructor(e){super({name:"PreconditionFailedException",$fault:"client",...e}),Object.setPrototypeOf(this,Kn.prototype),this.Type=e.Type}},Au=class Vn extends y{static{n(this,"ResourceConflictException")}static shapeId="com.amazonaws.lambda#ResourceConflictException";name="ResourceConflictException";$fault="client";Type;constructor(e){super({name:"ResourceConflictException",$fault:"client",...e}),Object.setPrototypeOf(this,Vn.prototype),this.Type=e.Type}},Ru=class Qn extends y{static{n(this,"ResourceNotFoundException$1")}static shapeId="com.amazonaws.lambda#ResourceNotFoundException";name="ResourceNotFoundException";$fault="client";Type;Message;constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,Qn.prototype),this.Type=e.Type,this.Message=e.Message}},_u=class Wn extends y{static{n(this,"ServiceException")}static shapeId="com.amazonaws.lambda#ServiceException";name="ServiceException";$fault="server";Type;Message;constructor(e){super({name:"ServiceException",$fault:"server",...e}),Object.setPrototypeOf(this,Wn.prototype),this.Type=e.Type,this.Message=e.Message}},Pu=class Gn extends y{static{n(this,"TooManyRequestsException")}static shapeId="com.amazonaws.lambda#TooManyRequestsException";name="TooManyRequestsException";$fault="client";retryAfterSeconds;Type;Reason;constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e}),Object.setPrototypeOf(this,Gn.prototype),this.retryAfterSeconds=e.retryAfterSeconds,this.Type=e.Type,this.Reason=e.Reason}},Tu=class Xn extends y{static{n(this,"PublicPolicyException")}static shapeId="com.amazonaws.lambda#PublicPolicyException";name="PublicPolicyException";$fault="client";Type;Message;constructor(e){super({name:"PublicPolicyException",$fault:"client",...e}),Object.setPrototypeOf(this,Xn.prototype),this.Type=e.Type,this.Message=e.Message}},Nu=class Jn extends y{static{n(this,"AliasLimitExceededException")}static shapeId="com.amazonaws.lambda#AliasLimitExceededException";name="AliasLimitExceededException";$fault="client";Type;constructor(e){super({name:"AliasLimitExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,Jn.prototype),this.Type=e.Type}},Mu=class Yn extends y{static{n(this,"CapacityProviderLimitExceededException")}static shapeId="com.amazonaws.lambda#CapacityProviderLimitExceededException";name="CapacityProviderLimitExceededException";$fault="client";Type;constructor(e){super({name:"CapacityProviderLimitExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,Yn.prototype),this.Type=e.Type}},ku=class Zn extends y{static{n(this,"KMSAccessDeniedException")}static shapeId="com.amazonaws.lambda#KMSAccessDeniedException";name="KMSAccessDeniedException";$fault="server";Type;Message;constructor(e){super({name:"KMSAccessDeniedException",$fault:"server",...e}),Object.setPrototypeOf(this,Zn.prototype),this.Type=e.Type,this.Message=e.Message}},$u=class ei extends y{static{n(this,"KMSDisabledException")}static shapeId="com.amazonaws.lambda#KMSDisabledException";name="KMSDisabledException";$fault="server";Type;Message;constructor(e){super({name:"KMSDisabledException",$fault:"server",...e}),Object.setPrototypeOf(this,ei.prototype),this.Type=e.Type,this.Message=e.Message}},Ou=class ti extends y{static{n(this,"KMSInvalidStateException")}static shapeId="com.amazonaws.lambda#KMSInvalidStateException";name="KMSInvalidStateException";$fault="server";Type;Message;constructor(e){super({name:"KMSInvalidStateException",$fault:"server",...e}),Object.setPrototypeOf(this,ti.prototype),this.Type=e.Type,this.Message=e.Message}},Du=class ri extends y{static{n(this,"KMSNotFoundException")}static shapeId="com.amazonaws.lambda#KMSNotFoundException";name="KMSNotFoundException";$fault="server";Type;Message;constructor(e){super({name:"KMSNotFoundException",$fault:"server",...e}),Object.setPrototypeOf(this,ri.prototype),this.Type=e.Type,this.Message=e.Message}},Lu=class si extends y{static{n(this,"ResourceInUseException")}static shapeId="com.amazonaws.lambda#ResourceInUseException";name="ResourceInUseException";$fault="client";Type;Message;constructor(e){super({name:"ResourceInUseException",$fault:"client",...e}),Object.setPrototypeOf(this,si.prototype),this.Type=e.Type,this.Message=e.Message}},Uu=class ai extends y{static{n(this,"CodeSigningConfigNotFoundException")}static shapeId="com.amazonaws.lambda#CodeSigningConfigNotFoundException";name="CodeSigningConfigNotFoundException";$fault="client";Type;Message;constructor(e){super({name:"CodeSigningConfigNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,ai.prototype),this.Type=e.Type,this.Message=e.Message}},Fu=class ni extends y{static{n(this,"CodeStorageExceededException")}static shapeId="com.amazonaws.lambda#CodeStorageExceededException";name="CodeStorageExceededException";$fault="client";Type;constructor(e){super({name:"CodeStorageExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,ni.prototype),this.Type=e.Type}},Bu=class ii extends y{static{n(this,"CodeVerificationFailedException")}static shapeId="com.amazonaws.lambda#CodeVerificationFailedException";name="CodeVerificationFailedException";$fault="client";Type;Message;constructor(e){super({name:"CodeVerificationFailedException",$fault:"client",...e}),Object.setPrototypeOf(this,ii.prototype),this.Type=e.Type,this.Message=e.Message}},zu=class oi extends y{static{n(this,"FunctionVersionsPerCapacityProviderLimitExceededException")}static shapeId="com.amazonaws.lambda#FunctionVersionsPerCapacityProviderLimitExceededException";name="FunctionVersionsPerCapacityProviderLimitExceededException";$fault="client";Type;constructor(e){super({name:"FunctionVersionsPerCapacityProviderLimitExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,oi.prototype),this.Type=e.Type}},Hu=class ci extends y{static{n(this,"InvalidCodeSignatureException")}static shapeId="com.amazonaws.lambda#InvalidCodeSignatureException";name="InvalidCodeSignatureException";$fault="client";Type;Message;constructor(e){super({name:"InvalidCodeSignatureException",$fault:"client",...e}),Object.setPrototypeOf(this,ci.prototype),this.Type=e.Type,this.Message=e.Message}},ju=class ui extends y{static{n(this,"CodeArtifactUserDeletedException")}static shapeId="com.amazonaws.lambda#CodeArtifactUserDeletedException";name="CodeArtifactUserDeletedException";$fault="client";Type;constructor(e){super({name:"CodeArtifactUserDeletedException",$fault:"client",...e}),Object.setPrototypeOf(this,ui.prototype),this.Type=e.Type}},qu=class di extends y{static{n(this,"CodeArtifactUserFailedException")}static shapeId="com.amazonaws.lambda#CodeArtifactUserFailedException";name="CodeArtifactUserFailedException";$fault="client";Type;constructor(e){super({name:"CodeArtifactUserFailedException",$fault:"client",...e}),Object.setPrototypeOf(this,di.prototype),this.Type=e.Type}},Ku=class li extends y{static{n(this,"CodeArtifactUserPendingException")}static shapeId="com.amazonaws.lambda#CodeArtifactUserPendingException";name="CodeArtifactUserPendingException";$fault="client";Type;constructor(e){super({name:"CodeArtifactUserPendingException",$fault:"client",...e}),Object.setPrototypeOf(this,li.prototype),this.Type=e.Type}},Vu=class pi extends y{static{n(this,"DurableExecutionAlreadyStartedException")}static shapeId="com.amazonaws.lambda#DurableExecutionAlreadyStartedException";name="DurableExecutionAlreadyStartedException";$fault="client";Type;Message;constructor(e){super({name:"DurableExecutionAlreadyStartedException",$fault:"client",...e}),Object.setPrototypeOf(this,pi.prototype),this.Type=e.Type,this.Message=e.Message}},Qu=class mi extends y{static{n(this,"EC2AccessDeniedException")}static shapeId="com.amazonaws.lambda#EC2AccessDeniedException";name="EC2AccessDeniedException";$fault="server";Type;Message;constructor(e){super({name:"EC2AccessDeniedException",$fault:"server",...e}),Object.setPrototypeOf(this,mi.prototype),this.Type=e.Type,this.Message=e.Message}},Wu=class hi extends y{static{n(this,"EC2ThrottledException")}static shapeId="com.amazonaws.lambda#EC2ThrottledException";name="EC2ThrottledException";$fault="server";Type;Message;constructor(e){super({name:"EC2ThrottledException",$fault:"server",...e}),Object.setPrototypeOf(this,hi.prototype),this.Type=e.Type,this.Message=e.Message}},Gu=class vi extends y{static{n(this,"EC2UnexpectedException")}static shapeId="com.amazonaws.lambda#EC2UnexpectedException";name="EC2UnexpectedException";$fault="server";Type;Message;EC2ErrorCode;constructor(e){super({name:"EC2UnexpectedException",$fault:"server",...e}),Object.setPrototypeOf(this,vi.prototype),this.Type=e.Type,this.Message=e.Message,this.EC2ErrorCode=e.EC2ErrorCode}},Xu=class fi extends y{static{n(this,"EFSIOException")}static shapeId="com.amazonaws.lambda#EFSIOException";name="EFSIOException";$fault="client";Type;Message;constructor(e){super({name:"EFSIOException",$fault:"client",...e}),Object.setPrototypeOf(this,fi.prototype),this.Type=e.Type,this.Message=e.Message}},Ju=class gi extends y{static{n(this,"EFSMountConnectivityException")}static shapeId="com.amazonaws.lambda#EFSMountConnectivityException";name="EFSMountConnectivityException";$fault="client";Type;Message;constructor(e){super({name:"EFSMountConnectivityException",$fault:"client",...e}),Object.setPrototypeOf(this,gi.prototype),this.Type=e.Type,this.Message=e.Message}},Yu=class yi extends y{static{n(this,"EFSMountFailureException")}static shapeId="com.amazonaws.lambda#EFSMountFailureException";name="EFSMountFailureException";$fault="client";Type;Message;constructor(e){super({name:"EFSMountFailureException",$fault:"client",...e}),Object.setPrototypeOf(this,yi.prototype),this.Type=e.Type,this.Message=e.Message}},Zu=class Ei extends y{static{n(this,"EFSMountTimeoutException")}static shapeId="com.amazonaws.lambda#EFSMountTimeoutException";name="EFSMountTimeoutException";$fault="client";Type;Message;constructor(e){super({name:"EFSMountTimeoutException",$fault:"client",...e}),Object.setPrototypeOf(this,Ei.prototype),this.Type=e.Type,this.Message=e.Message}},ed=class Si extends y{static{n(this,"ENILimitReachedException")}static shapeId="com.amazonaws.lambda#ENILimitReachedException";name="ENILimitReachedException";$fault="server";Type;Message;constructor(e){super({name:"ENILimitReachedException",$fault:"server",...e}),Object.setPrototypeOf(this,Si.prototype),this.Type=e.Type,this.Message=e.Message}},td=class xi extends y{static{n(this,"ENINotReadyException")}static shapeId="com.amazonaws.lambda#ENINotReadyException";name="ENINotReadyException";$fault="server";Type;Message;constructor(e){super({name:"ENINotReadyException",$fault:"server",...e}),Object.setPrototypeOf(this,xi.prototype),this.Type=e.Type,this.Message=e.Message}},rd=class bi extends y{static{n(this,"InvalidRequestContentException")}static shapeId="com.amazonaws.lambda#InvalidRequestContentException";name="InvalidRequestContentException";$fault="client";Type;constructor(e){super({name:"InvalidRequestContentException",$fault:"client",...e}),Object.setPrototypeOf(this,bi.prototype),this.Type=e.Type}},sd=class wi extends y{static{n(this,"InvalidRuntimeException")}static shapeId="com.amazonaws.lambda#InvalidRuntimeException";name="InvalidRuntimeException";$fault="server";Type;Message;constructor(e){super({name:"InvalidRuntimeException",$fault:"server",...e}),Object.setPrototypeOf(this,wi.prototype),this.Type=e.Type,this.Message=e.Message}},ad=class Ii extends y{static{n(this,"InvalidSecurityGroupIDException")}static shapeId="com.amazonaws.lambda#InvalidSecurityGroupIDException";name="InvalidSecurityGroupIDException";$fault="server";Type;Message;constructor(e){super({name:"InvalidSecurityGroupIDException",$fault:"server",...e}),Object.setPrototypeOf(this,Ii.prototype),this.Type=e.Type,this.Message=e.Message}},nd=class Ci extends y{static{n(this,"InvalidSubnetIDException")}static shapeId="com.amazonaws.lambda#InvalidSubnetIDException";name="InvalidSubnetIDException";$fault="server";Type;Message;constructor(e){super({name:"InvalidSubnetIDException",$fault:"server",...e}),Object.setPrototypeOf(this,Ci.prototype),this.Type=e.Type,this.Message=e.Message}},id=class Ai extends y{static{n(this,"InvalidZipFileException")}static shapeId="com.amazonaws.lambda#InvalidZipFileException";name="InvalidZipFileException";$fault="server";Type;Message;constructor(e){super({name:"InvalidZipFileException",$fault:"server",...e}),Object.setPrototypeOf(this,Ai.prototype),this.Type=e.Type,this.Message=e.Message}},od=class Ri extends y{static{n(this,"ModeNotSupportedException")}static shapeId="com.amazonaws.lambda#ModeNotSupportedException";name="ModeNotSupportedException";$fault="client";Type;constructor(e){super({name:"ModeNotSupportedException",$fault:"client",...e}),Object.setPrototypeOf(this,Ri.prototype),this.Type=e.Type}},cd=class _i extends y{static{n(this,"NoPublishedVersionException")}static shapeId="com.amazonaws.lambda#NoPublishedVersionException";name="NoPublishedVersionException";$fault="client";Type;Message;constructor(e){super({name:"NoPublishedVersionException",$fault:"client",...e}),Object.setPrototypeOf(this,_i.prototype),this.Type=e.Type,this.Message=e.Message}},ud=class Pi extends y{static{n(this,"RecursiveInvocationException")}static shapeId="com.amazonaws.lambda#RecursiveInvocationException";name="RecursiveInvocationException";$fault="client";Type;Message;constructor(e){super({name:"RecursiveInvocationException",$fault:"client",...e}),Object.setPrototypeOf(this,Pi.prototype),this.Type=e.Type,this.Message=e.Message}},dd=class Ti extends y{static{n(this,"RequestTooLargeException")}static shapeId="com.amazonaws.lambda#RequestTooLargeException";name="RequestTooLargeException";$fault="client";Type;constructor(e){super({name:"RequestTooLargeException",$fault:"client",...e}),Object.setPrototypeOf(this,Ti.prototype),this.Type=e.Type}},ld=class Ni extends y{static{n(this,"ResourceNotReadyException")}static shapeId="com.amazonaws.lambda#ResourceNotReadyException";name="ResourceNotReadyException";$fault="server";Type;constructor(e){super({name:"ResourceNotReadyException",$fault:"server",...e}),Object.setPrototypeOf(this,Ni.prototype),this.Type=e.Type}},pd=class Mi extends y{static{n(this,"S3FilesMountConnectivityException")}static shapeId="com.amazonaws.lambda#S3FilesMountConnectivityException";name="S3FilesMountConnectivityException";$fault="client";Type;Message;constructor(e){super({name:"S3FilesMountConnectivityException",$fault:"client",...e}),Object.setPrototypeOf(this,Mi.prototype),this.Type=e.Type,this.Message=e.Message}},md=class ki extends y{static{n(this,"S3FilesMountFailureException")}static shapeId="com.amazonaws.lambda#S3FilesMountFailureException";name="S3FilesMountFailureException";$fault="client";Type;Message;constructor(e){super({name:"S3FilesMountFailureException",$fault:"client",...e}),Object.setPrototypeOf(this,ki.prototype),this.Type=e.Type,this.Message=e.Message}},hd=class $i extends y{static{n(this,"S3FilesMountTimeoutException")}static shapeId="com.amazonaws.lambda#S3FilesMountTimeoutException";name="S3FilesMountTimeoutException";$fault="client";Type;Message;constructor(e){super({name:"S3FilesMountTimeoutException",$fault:"client",...e}),Object.setPrototypeOf(this,$i.prototype),this.Type=e.Type,this.Message=e.Message}},vd=class Oi extends y{static{n(this,"SerializedRequestEntityTooLargeException")}static shapeId="com.amazonaws.lambda#SerializedRequestEntityTooLargeException";name="SerializedRequestEntityTooLargeException";$fault="client";Type;constructor(e){super({name:"SerializedRequestEntityTooLargeException",$fault:"client",...e}),Object.setPrototypeOf(this,Oi.prototype),this.Type=e.Type}},fd=class Di extends y{static{n(this,"ServiceQuotaExceededException")}static shapeId="com.amazonaws.lambda#ServiceQuotaExceededException";name="ServiceQuotaExceededException";$fault="client";Type;Message;constructor(e){super({name:"ServiceQuotaExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,Di.prototype),this.Type=e.Type,this.Message=e.Message}},gd=class Li extends y{static{n(this,"SnapStartException")}static shapeId="com.amazonaws.lambda#SnapStartException";name="SnapStartException";$fault="client";Type;Message;constructor(e){super({name:"SnapStartException",$fault:"client",...e}),Object.setPrototypeOf(this,Li.prototype),this.Type=e.Type,this.Message=e.Message}},yd=class Ui extends y{static{n(this,"SnapStartNotReadyException")}static shapeId="com.amazonaws.lambda#SnapStartNotReadyException";name="SnapStartNotReadyException";$fault="client";Type;Message;constructor(e){super({name:"SnapStartNotReadyException",$fault:"client",...e}),Object.setPrototypeOf(this,Ui.prototype),this.Type=e.Type,this.Message=e.Message}},Ed=class Fi extends y{static{n(this,"SnapStartRegenerationFailureException")}static shapeId="com.amazonaws.lambda#SnapStartRegenerationFailureException";name="SnapStartRegenerationFailureException";$fault="client";Type;Message;constructor(e){super({name:"SnapStartRegenerationFailureException",$fault:"client",...e}),Object.setPrototypeOf(this,Fi.prototype),this.Type=e.Type,this.Message=e.Message}},Sd=class Bi extends y{static{n(this,"SnapStartTimeoutException")}static shapeId="com.amazonaws.lambda#SnapStartTimeoutException";name="SnapStartTimeoutException";$fault="client";Type;Message;constructor(e){super({name:"SnapStartTimeoutException",$fault:"client",...e}),Object.setPrototypeOf(this,Bi.prototype),this.Type=e.Type,this.Message=e.Message}},xd=class zi extends y{static{n(this,"SubnetIPAddressLimitReachedException")}static shapeId="com.amazonaws.lambda#SubnetIPAddressLimitReachedException";name="SubnetIPAddressLimitReachedException";$fault="server";Type;Message;constructor(e){super({name:"SubnetIPAddressLimitReachedException",$fault:"server",...e}),Object.setPrototypeOf(this,zi.prototype),this.Type=e.Type,this.Message=e.Message}},bd=class Hi extends y{static{n(this,"UnsupportedMediaTypeException")}static shapeId="com.amazonaws.lambda#UnsupportedMediaTypeException";name="UnsupportedMediaTypeException";$fault="client";Type;constructor(e){super({name:"UnsupportedMediaTypeException",$fault:"client",...e}),Object.setPrototypeOf(this,Hi.prototype),this.Type=e.Type}},wd=class ji extends y{static{n(this,"ProvisionedConcurrencyConfigNotFoundException")}static shapeId="com.amazonaws.lambda#ProvisionedConcurrencyConfigNotFoundException";name="ProvisionedConcurrencyConfigNotFoundException";$fault="client";Type;constructor(e){super({name:"ProvisionedConcurrencyConfigNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,ji.prototype),this.Type=e.Type}},Id=class qi extends y{static{n(this,"CallbackTimeoutException")}static shapeId="com.amazonaws.lambda#CallbackTimeoutException";name="CallbackTimeoutException";$fault="client";Type;Message;constructor(e){super({name:"CallbackTimeoutException",$fault:"client",...e}),Object.setPrototypeOf(this,qi.prototype),this.Type=e.Type,this.Message=e.Message}},Cd="AliasLimitExceededException",Ad="Blob",Rd="CodeArtifactUserDeletedException",_d="CodeArtifactUserFailedException",Pd="CodeArtifactUserPendingException",Td="ClientContext",Nd="CapacityProviderLimitExceededException",Md="CodeSigningConfigNotFoundException",kd="CodeStorageExceededException",$d="CallbackTimeoutException",Od="CodeVerificationFailedException",Dd="DurableExecutionArn",Ld="DurableExecutionAlreadyStartedException",Ud="DurableExecutionName",Fd="EC2AccessDeniedException",Bd="EC2ErrorCode",zd="EC2ThrottledException",Hd="EC2UnexpectedException",jd="EFSIOException",qd="EFSMountConnectivityException",Kd="EFSMountFailureException",Vd="EFSMountTimeoutException",Qd="ENILimitReachedException",Wd="ENINotReadyException",Gd="ExecutedVersion",Xd="FunctionError",Jd="FunctionName",Yd="FunctionVersionsPerCapacityProviderLimitExceededException",Zd="InvalidCodeSignatureException",el="InvalidParameterValueException",tl="InvalidRequestContentException",rl="InvalidRuntimeException",sl="InvocationRequest",al="InvocationResponse",nl="InvalidSecurityGroupIDException",il="InvalidSubnetIDException",ol="InvocationType",cl="InvalidZipFileException",ul="Invoke",dl="KMSAccessDeniedException",ll="KMSDisabledException",pl="KMSInvalidStateException",ml="KMSNotFoundException",hl="LogResult",vl="LogType",R="Message",fl="ModeNotSupportedException",gl="NoPublishedVersionException",yl="ProvisionedConcurrencyConfigNotFoundException",El="PreconditionFailedException",Sl="PolicyLengthExceededException",xl="PublicPolicyException",Ki="Payload",Ua="Qualifier",bl="Reason",wl="Retry-After",Il="ResourceConflictException",Cl="RecursiveInvocationException",Al="ResourceInUseException",Rl="ResourceNotFoundException",_l="ResourceNotReadyException",Pl="RequestTooLargeException",Tl="StatusCode",Nl="ServiceException",Ml="S3FilesMountConnectivityException",kl="S3FilesMountFailureException",$l="S3FilesMountTimeoutException",Ol="SubnetIPAddressLimitReachedException",Dl="ServiceQuotaExceededException",Ll="SerializedRequestEntityTooLargeException",Ul="SnapStartException",Fl="SnapStartNotReadyException",Bl="SnapStartRegenerationFailureException",zl="SnapStartTimeoutException",S="Type",Hl="TenantId",jl="TooManyRequestsException",ql="UnsupportedMediaTypeException",Kl="X-Amz-Client-Context",Vl="X-Amz-Durable-Execution-Arn",Ql="X-Amz-Durable-Execution-Name",Wl="X-Amz-Executed-Version",Gl="X-Amz-Function-Error",Xl="X-Amz-Invocation-Type",Jl="X-Amz-Log-Result",Yl="X-Amz-Log-Type",Zl="X-Amz-Tenant-Id",C="client",x="error",ep="http",b="httpError",Ee="httpHeader",tp="httpQuery",Z="message",rp="retryAfterSeconds",Vi="smithy.ts.sdk.synthetic.com.amazonaws.lambda",ne="server",f="com.amazonaws.lambda",Qi=new Pe(Vi),sp=[-3,Vi,"LambdaServiceException",0,[],[]];Qi.registerError(sp,y);var E=new Pe(f),ap=[-3,f,Cd,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(ap,Nu);var np=[-3,f,$d,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(np,Id);var ip=[-3,f,Nd,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(ip,Mu);var op=[-3,f,Rd,{[x]:C,[b]:409},[S,Z],[0,0]];E.registerError(op,ju);var cp=[-3,f,_d,{[x]:C,[b]:409},[S,Z],[0,0]];E.registerError(cp,qu);var up=[-3,f,Pd,{[x]:C,[b]:409},[S,Z],[0,0]];E.registerError(up,Ku);var dp=[-3,f,Md,{[x]:C,[b]:404},[S,R],[0,0]];E.registerError(dp,Uu);var lp=[-3,f,kd,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(lp,Fu);var pp=[-3,f,Od,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(pp,Bu);var mp=[-3,f,Ld,{[x]:C,[b]:409},[S,R],[0,0]];E.registerError(mp,Vu);var hp=[-3,f,Fd,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(hp,Qu);var vp=[-3,f,zd,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(vp,Wu);var fp=[-3,f,Hd,{[x]:ne,[b]:502},[S,R,Bd],[0,0,0]];E.registerError(fp,Gu);var gp=[-3,f,jd,{[x]:C,[b]:410},[S,R],[0,0]];E.registerError(gp,Xu);var yp=[-3,f,qd,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(yp,Ju);var Ep=[-3,f,Kd,{[x]:C,[b]:403},[S,R],[0,0]];E.registerError(Ep,Yu);var Sp=[-3,f,Vd,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(Sp,Zu);var xp=[-3,f,Qd,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(xp,ed);var bp=[-3,f,Wd,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(bp,td);var wp=[-3,f,Yd,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(wp,zu);var Ip=[-3,f,Zd,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(Ip,Hu);var Cp=[-3,f,el,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(Cp,wu);var Ap=[-3,f,tl,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(Ap,rd);var Rp=[-3,f,rl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Rp,sd);var _p=[-3,f,nl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(_p,ad);var Pp=[-3,f,il,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Pp,nd);var Tp=[-3,f,cl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Tp,id);var Np=[-3,f,dl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Np,ku);var Mp=[-3,f,ll,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Mp,$u);var kp=[-3,f,pl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(kp,Ou);var $p=[-3,f,ml,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError($p,Du);var Op=[-3,f,fl,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(Op,od);var Dp=[-3,f,gl,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(Dp,cd);var Lp=[-3,f,Sl,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(Lp,Iu);var Up=[-3,f,El,{[x]:C,[b]:412},[S,Z],[0,0]];E.registerError(Up,Cu);var Fp=[-3,f,yl,{[x]:C,[b]:404},[S,Z],[0,0]];E.registerError(Fp,wd);var Bp=[-3,f,xl,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(Bp,Tu);var zp=[-3,f,Cl,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(zp,ud);var Hp=[-3,f,Pl,{[x]:C,[b]:413},[S,Z],[0,0]];E.registerError(Hp,dd);var jp=[-3,f,Il,{[x]:C,[b]:409},[S,Z],[0,0]];E.registerError(jp,Au);var qp=[-3,f,Al,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(qp,Lu);var Kp=[-3,f,Rl,{[x]:C,[b]:404},[S,R],[0,0]];E.registerError(Kp,Ru);var Vp=[-3,f,_l,{[x]:ne,[b]:502},[S,Z],[0,0]];E.registerError(Vp,ld);var Qp=[-3,f,Ml,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(Qp,pd);var Wp=[-3,f,kl,{[x]:C,[b]:403},[S,R],[0,0]];E.registerError(Wp,md);var Gp=[-3,f,$l,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(Gp,hd);var Xp=[-3,f,Ll,{[x]:C,[b]:413},[S,Z],[0,0]];E.registerError(Xp,vd);var Jp=[-3,f,Nl,{[x]:ne,[b]:500},[S,R],[0,0]];E.registerError(Jp,_u);var Yp=[-3,f,Dl,{[x]:C,[b]:402},[S,R],[0,0]];E.registerError(Yp,fd);var Zp=[-3,f,Ul,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(Zp,gd);var em=[-3,f,Fl,{[x]:C,[b]:409},[S,R],[0,0]];E.registerError(em,yd);var tm=[-3,f,Bl,{[x]:C,[b]:409},[S,R],[0,0]];E.registerError(tm,Ed);var rm=[-3,f,zl,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(rm,Sd);var sm=[-3,f,Ol,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(sm,xd);var am=[-3,f,jl,{[x]:C,[b]:429},[rp,S,Z,bl],[[0,{[Ee]:wl}],0,0,0]];E.registerError(am,Pu);var nm=[-3,f,ql,{[x]:C,[b]:415},[S,Z],[0,0]];E.registerError(nm,bd);var im=[Qi,E],Wi=[0,f,Ad,8,21],om=[3,f,sl,0,[Jd,ol,vl,Td,Ud,Ki,Ua,Hl],[[0,1],[0,{[Ee]:Xl}],[0,{[Ee]:Yl}],[0,{[Ee]:Kl}],[0,{[Ee]:Ql}],[()=>Wi,16],[0,{[tp]:Ua}],[0,{[Ee]:Zl}]],1],cm=[3,f,al,0,[Tl,Xd,hl,Ki,Gd,Dd],[[1,32],[0,{[Ee]:Gl}],[0,{[Ee]:Jl}],[()=>Wi,16],[0,{[Ee]:Wl}],[0,{[Ee]:Vl}]]],um=[9,f,ul,{[ep]:["POST","/2015-03-31/functions/{FunctionName}/invocations",200]},()=>om,()=>cm],dm=n(t=>({apiVersion:"2015-03-31",base64Decoder:t?.base64Decoder??rt,base64Encoder:t?.base64Encoder??qe,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??bu,extensions:t?.extensions??[],httpAuthSchemeProvider:t?.httpAuthSchemeProvider??mu,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:n(e=>e.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new mr}],logger:t?.logger??new je,protocol:t?.protocol??xa,protocolSettings:t?.protocolSettings??{defaultNamespace:"com.amazonaws.lambda",errorTypeRegistries:im,version:"2015-03-31",serviceTarget:"AWSGirApiService"},serviceId:t?.serviceId??"Lambda",sha256:t?.sha256??fr,urlParser:t?.urlParser??wt,utf8Decoder:t?.utf8Decoder??et,utf8Encoder:t?.utf8Encoder??tt}),"getRuntimeConfig$5"),lm=n(t=>{Pt(process.version);let e=Ft(t),r=n(()=>e().then(_t),"defaultConfigProvider"),s=dm(t);It(process.version);let a={profile:t?.profile,logger:s.logger};return{...s,...t,runtime:"node",defaultsMode:e,authSchemePreference:t?.authSchemePreference??U(hr,a),bodyLengthChecker:t?.bodyLengthChecker??kt,credentialDefaultProvider:t?.credentialDefaultProvider??ws,defaultUserAgentProvider:t?.defaultUserAgentProvider??cr({serviceId:s.serviceId,clientVersion:gu.version}),eventStreamSerdeProvider:t?.eventStreamSerdeProvider??Fn,maxAttempts:t?.maxAttempts??U(Xt,t),region:t?.region??U(Dt,{...Lt,...a}),requestHandler:bt.create(t?.requestHandler??r),retryMode:t?.retryMode??U({...Yt,default:n(async()=>(await r()).retryMode||Gt,"default")},t),streamCollector:t?.streamCollector??xt,useDualstackEndpoint:t?.useDualstackEndpoint??U($t,a),useFipsEndpoint:t?.useFipsEndpoint??U(Ot,a),userAgentAppId:t?.userAgentAppId??U(ur,a)}},"getRuntimeConfig$4"),pm=n(t=>{let e=t.httpAuthSchemes,r=t.httpAuthSchemeProvider,s=t.credentials;return{setHttpAuthScheme(a){let i=e.findIndex(o=>o.schemeId===a.schemeId);i===-1?e.push(a):e.splice(i,1,a)},httpAuthSchemes(){return e},setHttpAuthSchemeProvider(a){r=a},httpAuthSchemeProvider(){return r},setCredentials(a){s=a},credentials(){return s}}},"getHttpAuthExtensionConfiguration$2"),mm=n(t=>({httpAuthSchemes:t.httpAuthSchemes(),httpAuthSchemeProvider:t.httpAuthSchemeProvider(),credentials:t.credentials()}),"resolveHttpAuthRuntimeConfig$2"),hm=n((t,e)=>{let r=Object.assign(lr(t),Tt(t),Vt(t),pm(t));return e.forEach(s=>s.configure(r)),Object.assign(t,pr(r),Nt(r),Qt(r),mm(r))},"resolveRuntimeExtensions$2"),vm=class extends Ct{static{n(this,"LambdaClient")}config;constructor(...[t]){let e=lm(t||{});super(e),this.initConfig=e;let r=vu(e),s=ir(r),a=Jt(s),i=Ut(a),o=i,c=hm(hu(Bn(qt(o))),t?.extensions||[]);this.config=c,this.middlewareStack.use(At(this.config)),this.middlewareStack.use(or(this.config)),this.middlewareStack.use(Zt(this.config)),this.middlewareStack.use(Wt(this.config)),this.middlewareStack.use(er(this.config)),this.middlewareStack.use(tr(this.config)),this.middlewareStack.use(rr(this.config)),this.middlewareStack.use(sr(this.config,{httpAuthSchemeParametersProvider:lu,identityProviderConfigProvider:n(async u=>new nr({"aws.auth#sigv4":u.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(ar(this.config))}destroy(){super.destroy()}},fm=Mt(fu,"AWSGirApiService","LambdaClient",Kt),gm={},ym=n((t,e,r,s)=>[],"_mw0$1"),Em=class extends fm(gm,ym,"Invoke",um){static{n(this,"InvokeCommand")}},Sm={DryRun:"DryRun",Event:"Event",RequestResponse:"RequestResponse"},xm=de({BEESOLVE_AUTH_SDK_HANDLER_ARN:re()}),bm=Fr(xm,process.env),wm=class{static{n(this,"AuthClient")}props;lambdaArn;lambdaClient;constructor(t={}){this.props=t,this.lambdaArn=t.lambdaArn??bm.BEESOLVE_AUTH_SDK_HANDLER_ARN,this.lambdaClient=t.lambdaClient??new vm}invoke=n(async t=>this.invokeLambda(t),"invoke");invokeLambda=n(async t=>{let{Payload:e,StatusCode:r,FunctionError:s}=await this.lambdaClient.send(new Em({FunctionName:this.lambdaArn,InvocationType:Sm.RequestResponse,Payload:JSON.stringify(a0(t))}));if(r!==200)throw new Error(`Cannot invoke synchronous action: ${s}`);let a=JSON.parse(e?.transformToString()??"null");if(a!=null&&typeof a=="object"&&"errorMessage"in a)throw new Error(`SDK handler error: ${a.errorMessage}`);return a},"invokeLambda")},Im=Ur("impersonating",[de({userId:re(),sessionId:re(),expiresAt:re(),impersonating:Oe(!1)}),de({userId:re(),sessionId:re(),expiresAt:re(),impersonating:Oe(!0),impersonatedBy:re()})]),Gr=de({sid:re(),maxAge:Hs()}),Cm=Ur("type",[de({type:Oe("none")}),de({type:Oe("invalid"),error:re(),setCookiesParams:St(Gr)}),de({type:Oe("expired"),expiredSession:de({userId:re(),sessionId:re(),expiredAt:re()}),setCookiesParams:St(Gr)}),de({type:Oe("valid"),validSession:Im,setCookiesParams:St(Gr)})]),Am=js(re(),zs(t=>JSON.parse(t)),Cm),Fa=de({session:Am});async function Rm(){if(!ks())return{type:"none"};let t=Ms();return Ns(t)?(await $s(Fa)).session:(await Os(Fa)).session}n(Rm,"getSessionContext2");function _m(t){for(let{sid:e,maxAge:r}of t.cookies)[`__Host-SID=${e}; HttpOnly; Max-Age=${r}; SameSite=Strict; Secure; Path=/`,`aSID=${r>0?1:0}; Max-Age=${r}; SameSite=Strict; Secure; Path=/`].forEach(s=>t.headers.append("Set-Cookie",s));return t.headers}n(_m,"addSetCookies2");var Pm={type:"valid",validSession:{userId:"dev-user",sessionId:"dev-session",expiresAt:new Date(Date.now()+2592e6).toISOString(),impersonating:!1},setCookiesParams:[]};new Date(Date.now()-36e5).toISOString();var Tm=process.env.LAMBDA_TASK_ROOT!=null;function Nm(t){return Tm?async({event:e,resolve:r})=>{let s=await Rm();e.locals.session=s;let a=await r(e);return s.type!=="none"&&s.setCookiesParams.length>0&&_m({headers:a.headers,cookies:s.setCookiesParams}),a}:Mm(t?.fallbackSession??Pm)}n(Nm,"createSessionHandle");function Mm(t){return async({event:e,resolve:r})=>(e.locals.session=t,r(e))}n(Mm,"createFallbackHandle");var ke={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},Gi=ke.WHEN_SUPPORTED,dt={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},Xi=ke.WHEN_SUPPORTED,B;(function(t){t.MD5="MD5",t.CRC32="CRC32",t.CRC32C="CRC32C",t.CRC64NVME="CRC64NVME",t.SHA1="SHA1",t.SHA256="SHA256"})(B||(B={}));var Ba;(function(t){t.HEADER="header",t.TRAILER="trailer"})(Ba||(Ba={}));var hs=B.CRC32,Ge;(function(t){t.ENV="env",t.CONFIG="shared config entry"})(Ge||(Ge={}));var Rr=n((t,e,r,s)=>{if(!(e in t))return;let a=t[e].toUpperCase();if(!Object.values(r).includes(a))throw new TypeError(`Cannot load ${s} '${e}'. Expected one of ${Object.values(r)}, got '${t[e]}'.`);return a},"stringUnionSelector"),km="AWS_REQUEST_CHECKSUM_CALCULATION",$m="request_checksum_calculation",Om={environmentVariableSelector:n(t=>Rr(t,km,ke,Ge.ENV),"environmentVariableSelector"),configFileSelector:n(t=>Rr(t,$m,ke,Ge.CONFIG),"configFileSelector"),default:Gi},Dm="AWS_RESPONSE_CHECKSUM_VALIDATION",Lm="response_checksum_validation",Um={environmentVariableSelector:n(t=>Rr(t,Dm,dt,Ge.ENV),"environmentVariableSelector"),configFileSelector:n(t=>Rr(t,Lm,dt,Ge.CONFIG),"configFileSelector"),default:Xi},Fm=n((t,{requestChecksumRequired:e,requestAlgorithmMember:r,requestChecksumCalculation:s})=>{if(!r)return s===ke.WHEN_SUPPORTED||e?hs:void 0;if(t[r])return t[r]},"getChecksumAlgorithmForRequest"),_r=n(t=>t===B.MD5?"content-md5":`x-amz-checksum-${t.toLowerCase()}`,"getChecksumLocationName"),Bm=n((t,e)=>{let r=t.toLowerCase();for(let s of Object.keys(e))if(r===s.toLowerCase())return!0;return!1},"hasHeader"),zm=n((t,e)=>{let r=t.toLowerCase();for(let s of Object.keys(e))if(s.toLowerCase().startsWith(r))return!0;return!1},"hasHeaderWithPrefix"),Ji=n(t=>t!==void 0&&typeof t!="string"&&!ArrayBuffer.isView(t)&&!Zs(t),"isStreaming"),Yi=new Uint32Array(256);for(let t=0;t<256;++t){let e=t;for(let r=0;r<8;++r)e=e&1?2197175160^e>>>1:e>>>1;Yi[t]=e>>>0}var Hm=class{static{n(this,"Crc32cJs")}digestLength=4;crc=4294967295;update(t){let e=this.crc;for(let r=0;r<t.length;++r)e=e>>>8^Yi[(e^t[r])&255];this.crc=e}async digest(){let t=(this.crc^4294967295)>>>0,e=new Uint8Array(4);return e[0]=t>>>24,e[1]=t>>>16&255,e[2]=t>>>8&255,e[3]=t&255,e}reset(){this.crc=4294967295}},jm=Hm,qm={CrtCrc64Nvme:null},Km=n(()=>{let e=new Array(8);for(let r=0;r<8;r++){let s=new Array(512);for(let a=0;a<256;a++){let i=BigInt(a);for(let o=0;o<8*(r+1);o++)i&1n?i=i>>1n^11127430586519243189n:i=i>>1n;s[a*2]=Number(i>>32n&4294967295n),s[a*2+1]=Number(i&4294967295n)}e[r]=new Uint32Array(s)}return e},"generateCRC64NVMETable"),Xr,ct,vs,fs,gs,ys,Es,Ss,xs,Vm=n(()=>{Xr||(Xr=Km(),[ct,vs,fs,gs,ys,Es,Ss,xs]=Xr)},"ensureTablesInitialized"),Qm=class{static{n(this,"Crc64NvmeJs")}c1=0;c2=0;constructor(){Vm(),this.reset()}update(t){let e=t.length,r=0,s=this.c1,a=this.c2;for(;r+8<=e;){let i=((a^t[r++])&255)<<1,o=((a>>>8^t[r++])&255)<<1,c=((a>>>16^t[r++])&255)<<1,u=((a>>>24^t[r++])&255)<<1,p=((s^t[r++])&255)<<1,d=((s>>>8^t[r++])&255)<<1,l=((s>>>16^t[r++])&255)<<1,m=((s>>>24^t[r++])&255)<<1;s=xs[i]^Ss[o]^Es[c]^ys[u]^gs[p]^fs[d]^vs[l]^ct[m],a=xs[i+1]^Ss[o+1]^Es[c+1]^ys[u+1]^gs[p+1]^fs[d+1]^vs[l+1]^ct[m+1]}for(;r<e;){let i=((a^t[r])&255)<<1;a=(a>>>8|(s&255)<<24)>>>0,s=s>>>8^ct[i],a^=ct[i+1],++r}this.c1=s,this.c2=a}async digest(){let t=this.c1^4294967295,e=this.c2^4294967295;return new Uint8Array([t>>>24,t>>>16&255,t>>>8&255,t&255,e>>>24,e>>>16&255,e>>>8&255,e&255])}reset(){this.c1=4294967295,this.c2=4294967295}},Wm=class{static{n(this,"Crc64Nvme")}impl;constructor(){let t=qm.CrtCrc64Nvme;this.impl=t?new t:new Qm}update(t){this.impl.update(t)}async digest(){return this.impl.digest()}reset(){this.impl.reset()}},Gm=[B.CRC32,B.CRC32C,B.CRC64NVME,B.SHA1,B.SHA256],za=[B.SHA256,B.SHA1,B.CRC32,B.CRC32C,B.CRC64NVME],Zi=n((t,e)=>{let{checksumAlgorithms:r={}}=e;switch(t){case B.MD5:return r?.MD5??e.md5;case B.CRC32:return r?.CRC32??Is;case B.CRC32C:return r?.CRC32C??jm;case B.CRC64NVME:return r?.CRC64NVME??Wm;case B.SHA1:return r?.SHA1??e.sha1;case B.SHA256:return r?.SHA256??e.sha256;default:if(r?.[t])return r[t];throw new Error(`The checksum algorithm "${t}" is not supported by the client. Select one of ${Gm}, or provide an implementation to the client constructor checksums field.`)}},"selectChecksumAlgorithmFunction"),eo=n((t,e)=>{let r=new t;return r.update(Le(e||"")),r.digest()},"stringHasher"),Xm={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},Jm=n((t,e)=>(r,s)=>async a=>{if(!De.isInstance(a.request)||zm("x-amz-checksum-",a.request.headers))return r(a);let{request:i,input:o}=a,{body:c,headers:u}=i,{base64Encoder:p,streamHasher:d}=t,{requestChecksumRequired:l,requestAlgorithmMember:m}=e,v=await t.requestChecksumCalculation(),g=m?.name,_=m?.httpHeader;g&&!o[g]&&(v===ke.WHEN_SUPPORTED||l)&&(o[g]=hs,_&&(u[_]=hs));let I=Fm(o,{requestChecksumRequired:l,requestAlgorithmMember:m?.name,requestChecksumCalculation:v}),N=c,H=u;if(I){switch(I){case B.CRC32:le(s,"FLEXIBLE_CHECKSUMS_REQ_CRC32","U");break;case B.CRC32C:le(s,"FLEXIBLE_CHECKSUMS_REQ_CRC32C","V");break;case B.CRC64NVME:le(s,"FLEXIBLE_CHECKSUMS_REQ_CRC64","W");break;case B.SHA1:le(s,"FLEXIBLE_CHECKSUMS_REQ_SHA1","X");break;case B.SHA256:le(s,"FLEXIBLE_CHECKSUMS_REQ_SHA256","Y")}let X=_r(I),Re=Zi(I,t);if(Ji(c)){let{getAwsChunkedEncodingStream:ce,bodyLengthChecker:$e}=t;N=ce(typeof t.requestStreamBufferSize=="number"&&t.requestStreamBufferSize>=8192?h0(c,t.requestStreamBufferSize,s.logger):c,{base64Encoder:p,bodyLengthChecker:$e,checksumLocationName:X,checksumAlgorithmFn:Re,streamHasher:d}),H={...u,"content-encoding":u["content-encoding"]?`${u["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":u["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":X},delete H["content-length"]}else if(!Bm(X,u)){let ce=await eo(Re,c);H={...u,[X]:p(ce)}}}try{return await r({...a,request:{...i,headers:H,body:N}})}catch(X){if(X instanceof Error&&X.name==="InvalidChunkSizeError")try{X.message.endsWith(".")||(X.message+="."),X.message+=" Set [requestStreamBufferSize=number e.g. 65_536] in client constructor to instruct AWS SDK to buffer your input stream."}catch{}throw X}},"flexibleChecksumsMiddleware"),Ym={name:"flexibleChecksumsInputMiddleware",toMiddleware:"serializerMiddleware",relation:"before",tags:["BODY_CHECKSUM"],override:!0},Zm=n((t,e)=>(r,s)=>async a=>{let i=a.input,{requestValidationModeMember:o}=e,c=await t.requestChecksumCalculation(),u=await t.responseChecksumValidation();switch(c){case ke.WHEN_REQUIRED:le(s,"FLEXIBLE_CHECKSUMS_REQ_WHEN_REQUIRED","a");break;case ke.WHEN_SUPPORTED:le(s,"FLEXIBLE_CHECKSUMS_REQ_WHEN_SUPPORTED","Z")}switch(u){case dt.WHEN_REQUIRED:le(s,"FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED","c");break;case dt.WHEN_SUPPORTED:le(s,"FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED","b")}return o&&!i[o]&&u===dt.WHEN_SUPPORTED&&(i[o]="ENABLED"),r(a)},"flexibleChecksumsInputMiddleware"),to=n((t=[])=>{let e=[],r=za.length;for(let s of t){let a=za.indexOf(s);a!==-1?e[a]=s:e[r++]=s}return e.filter(Boolean)},"getChecksumAlgorithmListForResponse"),eh=n(t=>{let e=t.lastIndexOf("-");if(e!==-1){let r=t.slice(e+1);if(!r.startsWith("0")){let s=parseInt(r,10);if(!isNaN(s)&&s>=1&&s<=1e4)return!0}}return!1},"isChecksumWithPartNumber"),th=n(async(t,{checksumAlgorithmFn:e,base64Encoder:r})=>r(await eo(e,t)),"getChecksum"),rh=n(async(t,{config:e,responseAlgorithms:r,logger:s})=>{let a=to(r),{body:i,headers:o}=t;for(let c of a){let u=_r(c),p=o[u];if(p){let d;try{d=Zi(c,e)}catch(v){if(c===B.CRC64NVME){s?.warn(`Skipping ${B.CRC64NVME} checksum validation: ${v.message}`);continue}throw v}let{base64Encoder:l}=e;if(Ji(i)){t.body=p0({expectedChecksum:p,checksumSourceLocation:u,checksum:new d,source:i,base64Encoder:l});return}let m=await th(i,{checksumAlgorithmFn:d,base64Encoder:l});if(m===p)break;throw new Error(`Checksum mismatch: expected "${m}" but received "${p}" in response header "${u}".`)}}},"validateChecksumFromResponse"),sh={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},ah=n((t,e)=>(r,s)=>async a=>{if(!De.isInstance(a.request))return r(a);let i=a.input,o=await r(a),c=o.response,{requestValidationModeMember:u,responseAlgorithms:p}=e;if(u&&i[u]==="ENABLED"){let{clientName:d,commandName:l}=s,m=Object.keys(t.checksumAlgorithms??{}).filter(g=>{let _=_r(g);return c.headers[_]!==void 0}),v=to([...p??[],...m]);if(d==="S3Client"&&l==="GetObjectCommand"&&v.every(g=>{let _=_r(g),I=c.headers[_];return!I||eh(I)}))return o;await rh(c,{config:t,responseAlgorithms:v,logger:s.logger})}return o},"flexibleChecksumsResponseMiddleware"),nh=n((t,e)=>({applyToStack:n(r=>{r.add(Jm(t,e),Xm),r.addRelativeTo(Zm(t,e),Ym),r.addRelativeTo(ah(t,e),sh)},"applyToStack")}),"getFlexibleChecksumsPlugin"),ih=n(t=>{let{requestChecksumCalculation:e,responseChecksumValidation:r,requestStreamBufferSize:s}=t;return Object.assign(t,{requestChecksumCalculation:xe(e??Gi),responseChecksumValidation:xe(r??Xi),requestStreamBufferSize:Number(s??0),checksumAlgorithms:t.checksumAlgorithms??{}})},"resolveFlexibleChecksumsConfig"),oh="content-length",ch="x-amz-decoded-content-length";function uh(){return(t,e)=>async r=>{let{request:s}=r;if(De.isInstance(s)&&!(oh in s.headers)&&!(ch in s.headers)){let a="Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.";typeof e?.logger?.warn=="function"&&!(e.logger instanceof je)?e.logger.warn(a):console.warn(a)}return t({...r})}}n(uh,"checkContentLengthHeader");var dh={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},lh=n(t=>({applyToStack:n(e=>{e.add(uh(),dh)},"applyToStack")}),"getCheckContentLengthHeaderPlugin"),ph=n(t=>(e,r)=>async s=>{let a=await t.region(),i=t.region,o=n(()=>{},"unlock");r.__s3RegionRedirect&&(Object.defineProperty(t,"region",{writable:!1,value:n(async()=>r.__s3RegionRedirect,"value")}),o=n(()=>Object.defineProperty(t,"region",{writable:!0,value:i}),"unlock"));try{let c=await e(s);if(r.__s3RegionRedirect&&(o(),a!==await t.region()))throw new Error("Region was not restored following S3 region redirect.");return c}catch(c){throw o(),c}},"regionRedirectEndpointMiddleware"),mh={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function hh(t){return(e,r)=>async s=>{try{return await e(s)}catch(a){if(t.followRegionRedirects){let i=a?.$metadata?.httpStatusCode,o=r.commandName==="HeadBucketCommand",c=a?.$response?.headers?.["x-amz-bucket-region"];if(c&&(i===301||i===400&&(a?.name==="IllegalLocationConstraintException"||o))){try{let u=c;r.logger?.debug(`Redirecting from ${await t.region()} to ${u}`),r.__s3RegionRedirect=u,le(r,"S3_REGION_REDIRECT","Ah")}catch(u){throw new Error("Region redirect failed: "+u)}return e(s)}}throw a}}}n(hh,"regionRedirectMiddleware");var vh={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},fh=n(t=>({applyToStack:n(e=>{e.add(hh(t),vh),e.addRelativeTo(ph(t),mh)},"applyToStack")}),"getRegionRedirectMiddlewarePlugin"),gh=class ro{static{n(this,"S3ExpressIdentityCache")}data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=3e4;constructor(e={}){this.data=e}get(e){let r=this.data[e];if(r)return r}set(e,r){return this.data[e]=r,r}delete(e){delete this.data[e]}async purgeExpired(){let e=Date.now();if(!(this.lastPurgeTime+ro.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>e))for(let r in this.data){let s=this.data[r];if(!s.isRefreshing){let a=await s.identity;a.expiration&&a.expiration.getTime()<e&&delete this.data[r]}}}},Jr=class{static{n(this,"S3ExpressIdentityCacheEntry")}_identity;isRefreshing;accessed;constructor(t,e=!1,r=Date.now()){this._identity=t,this.isRefreshing=e,this.accessed=r}get identity(){return this.accessed=Date.now(),this._identity}},yh=class so{static{n(this,"S3ExpressIdentityProviderImpl")}createSessionFn;cache;static REFRESH_WINDOW_MS=6e4;constructor(e,r=new gh){this.createSessionFn=e,this.cache=r}async getS3ExpressIdentity(e,r){let s=r.Bucket,{cache:a}=this,i=a.get(s);return i?i.identity.then(o=>(o.expiration?.getTime()??0)<Date.now()?a.set(s,new Jr(this.getIdentity(s))).identity:((o.expiration?.getTime()??0)<Date.now()+so.REFRESH_WINDOW_MS&&!i.isRefreshing&&(i.isRefreshing=!0,this.getIdentity(s).then(c=>{a.set(s,new Jr(Promise.resolve(c)))})),o)):a.set(s,new Jr(this.getIdentity(s))).identity}async getIdentity(e){await this.cache.purgeExpired().catch(s=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache:
|
|
22
|
+
`+s)});let r=await this.createSessionFn(e);if(!r.Credentials?.AccessKeyId||!r.Credentials?.SecretAccessKey)throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:r.Credentials.AccessKeyId,secretAccessKey:r.Credentials.SecretAccessKey,sessionToken:r.Credentials.SessionToken,expiration:r.Credentials.Expiration?new Date(r.Credentials.Expiration):void 0}}},Eh=n((t,{session:e})=>{let[r,s]=e,{forcePathStyle:a,useAccelerateEndpoint:i,disableMultiregionAccessPoints:o,followRegionRedirects:c,s3ExpressIdentityProvider:u,bucketEndpoint:p,expectContinueHeader:d}=t;return Object.assign(t,{forcePathStyle:a??!1,useAccelerateEndpoint:i??!1,disableMultiregionAccessPoints:o??!1,followRegionRedirects:c??!1,s3ExpressIdentityProvider:u??new yh(async l=>r().send(new s({Bucket:l}))),bucketEndpoint:p??!1,expectContinueHeader:d??2097152})},"resolveS3Config"),Sh="sigv4-s3express",xh="X-Amz-S3session-Token".toLowerCase(),bh="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",wh="s3_disable_express_session_auth",Ih={environmentVariableSelector:n(t=>st(t,bh,at.ENV),"environmentVariableSelector"),configFileSelector:n(t=>st(t,wh,at.CONFIG),"configFileSelector"),default:!1},Ch=n(t=>(e,r)=>async s=>{if(r.endpointV2){let a=r.endpointV2,i=a.properties?.authSchemes?.[0]?.name===Sh;if((a.properties?.backend==="S3Express"||a.properties?.bucketType==="Directory")&&(le(r,"S3_EXPRESS_BUCKET","J"),r.isS3ExpressBucket=!0),i){let o=s.input.Bucket;if(o){let c=await t.s3ExpressIdentityProvider.getS3ExpressIdentity(await t.credentials(),{Bucket:o});r.s3ExpressIdentity=c,De.isInstance(s.request)&&c.sessionToken&&(s.request.headers[xh]=c.sessionToken)}}}return e(s)},"s3ExpressMiddleware"),Ah={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},Rh=n(t=>({applyToStack:n(e=>{e.add(Ch(t),Ah)},"applyToStack")}),"getS3ExpressPlugin"),_h=n(async(t,e,r,s)=>{let a=await s.signWithCredentials(r,t,{});if(a.headers["X-Amz-Security-Token"]||a.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.");return a},"signS3Express"),Ph=n(t=>e=>{throw e},"defaultErrorHandler"),Th=n((t,e)=>{},"defaultSuccessHandler"),Nh=n(t=>(e,r)=>async s=>{if(!De.isInstance(s.request))return e(s);let a=He(r).selectedHttpAuthScheme;if(!a)throw new Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:i={}},identity:o,signer:c}=a,u;r.s3ExpressIdentity?u=await _h(r.s3ExpressIdentity,i,s.request,await t.signer()):u=await c.sign(s.request,o,i);let p=await e({...s,request:u}).catch((c.errorHandler||Ph)(i));return(c.successHandler||Th)(p.response,i),p},"s3ExpressHttpSigningMiddleware"),Mh=n(t=>({applyToStack:n(e=>{e.addRelativeTo(Nh(t),ca)},"applyToStack")}),"getS3ExpressHttpSigningPlugin");function kh(t){return ft.from(Buffer.from(t))}n(kh,"toStream");var $h={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},Oh=n(t=>(e,r)=>async s=>{let a=await e(s),{response:i}=a;if(!ta.isInstance(i))return a;let{statusCode:o,body:c}=i;if(o<200||o>=300)return a;let u=await Dh(c,t);if(i.body=kh(u),u.length===0&&$h[r.commandName]){let d=new Error("S3 aborted request");throw d.$metadata={httpStatusCode:503},d.name="InternalError",d}let p=t.utf8Encoder(u.subarray(u.length-16));return p&&p.endsWith("</Error>")&&(i.statusCode=503),a},"throw200ExceptionsMiddleware"),Dh=n((t=new Uint8Array,e)=>t instanceof Uint8Array?Promise.resolve(t):e.streamCollector(t)||Promise.resolve(new Uint8Array),"collectBody"),Lh={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},ao=n(t=>({applyToStack:n(e=>{e.addRelativeTo(Oh(t),Lh)},"applyToStack")}),"getThrow200ExceptionsPlugin"),Uh=n(t=>typeof t=="string"&&t.indexOf("arn:")===0&&t.split(":").length>=6,"validate");function Fh(t){return(e,r)=>async s=>{if(t.bucketEndpoint){let a=r.endpointV2;if(a){let i=s.input.Bucket;if(typeof i=="string")try{let o=new URL(i);r.endpointV2={...a,url:o}}catch(o){let c=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${i} could not be parsed as URL.`;throw r.logger?.constructor?.name==="NoOpLogger"?console.warn(c):r.logger?.warn?.(c),o}}}return e(s)}}n(Fh,"bucketEndpointMiddleware");var Bh={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function zh({bucketEndpoint:t}){return e=>async r=>{let{input:{Bucket:s}}=r;if(!t&&typeof s=="string"&&!Uh(s)&&s.indexOf("/")>=0){let a=new Error(`Bucket name shouldn't contain '/', received '${s}'`);throw a.name="InvalidBucketName",a}return e({...r})}}n(zh,"validateBucketNameMiddleware");var Hh={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},jh=n(t=>({applyToStack:n(e=>{e.add(zh(t),Hh),e.addRelativeTo(Fh(t),Bh)},"applyToStack")}),"getValidateBucketNamePlugin"),qh=class extends M0{static{n(this,"S3RestXmlProtocol")}async serializeRequest(t,e,r){let s=await super.serializeRequest(t,e,r),a=Te.of(t.input),i=a.getSchema(),o=0,c=i[6]??0;if(e&&typeof e=="object")for(let[u,p]of a.structIterator()){if(++o>c)break;if(u==="Bucket"){if(!e.Bucket&&p.getMergedTraits().httpLabel)throw new Error("No value provided for input HTTP label: Bucket.");break}}return s}},Kh="AWS_S3_USE_ARN_REGION",Vh="s3_use_arn_region",Qh={environmentVariableSelector:n(t=>st(t,Kh,at.ENV),"environmentVariableSelector"),configFileSelector:n(t=>st(t,Vh,at.CONFIG),"configFileSelector"),default:void 0};function Wh(t){return e=>async r=>{let{request:s}=r;if(t.expectContinueHeader!==!1&&De.isInstance(s)&&s.body&&t.runtime==="node"&&t.requestHandler?.constructor?.name!=="FetchHttpHandler"){let a=!0;if(typeof t.expectContinueHeader=="number")try{a=(Number(s.headers?.["content-length"])??t.bodyLengthChecker?.(s.body)??1/0)>=t.expectContinueHeader}catch{}else a=!!t.expectContinueHeader;a&&(s.headers.Expect="100-continue")}return e({...r,request:s})}}n(Wh,"addExpectContinueMiddleware");var Gh={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},Xh=n(t=>({applyToStack:n(e=>{e.add(Wh(t),Gh)},"applyToStack")}),"getAddExpectContinuePlugin");function Jh(t){return e=>async r=>{let s={...r.input};for(let a of[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}]){let i=s[a.target];if(i){let o;typeof i=="string"?ev(i,t)?o=t.base64Decoder(i):(o=t.utf8Decoder(i),s[a.target]=t.base64Encoder(o)):(o=ArrayBuffer.isView(i)?new Uint8Array(i.buffer,i.byteOffset,i.byteLength):new Uint8Array(i),s[a.target]=t.base64Encoder(o));let c=new t.md5;c.update(o),s[a.hash]=t.base64Encoder(await c.digest())}}return e({...r,input:s})}}n(Jh,"ssecMiddleware");var Yh={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},Zh=n(t=>({applyToStack:n(e=>{e.add(Jh(t),Yh)},"applyToStack")}),"getSsecPlugin");function ev(t,e){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t))return!1;try{return e.base64Decoder(t).length===32}catch{return!1}}n(ev,"isValidBase64EncodedSSECustomerKey");var F="ref",P="argv",no="backend",Se="authSchemes",he="disableDoubleEncoding",ve="signingName",Ce="signingRegion",As="signingRegionSet",w=-1,k=!0,me=!1,Yr="isSet",ye="booleanEquals",M="stringEquals",se="coalesce",ie="substring",Y="",Ha="aws.partition",io="partitionResult",ja="accessPointSuffix",qa="regionPrefix",Er=n(t=>"outpostId_ssa_"+t+Y,"n"),oo="hardwareType",Zr="ite",be="isValidHostLabel",Ae="sigv4",Ka="aws.isVirtualHostableS3Bucket",co="url",oe="getAttr",uo="bucketArn",we="--",lo="arnType",Va="accesspoint",es=n(t=>"accessPointName_ssa_"+t+Y,"A"),Rs="s3-object-lambda",mt="s3-outposts",Qa="bucketPartition",po="us-east-1",Wa="outpostType",ue="name",ht="s3",ts="{url#scheme}://{Bucket}.{url#authority}{url#path}",Sr="{url#scheme}://{url#authority}{url#path}",Ga="{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",Xa="https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",Ja="https://{Bucket}.s3.{partitionResult#dnsSuffix}",Ya=n(t=>"{url#scheme}://{accessPointName_ssa_"+t+"}-{bucketArn#accountId}.{url#authority}{url#path}","N"),Za=n(t=>"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName_ssa_"+t+"}`","O"),_s="sigv4a",en="{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",tn="https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",rn="https://s3.{partitionResult#dnsSuffix}",sn={[F]:"UseFIPS"},an={[F]:"UseDualStack"},te={[F]:"Bucket"},rs={fn:oe,[P]:[{[F]:io},ue]},nn={[F]:co},Ve={[F]:"Region"},Ie={[F]:uo},on={[F]:lo},ss={[F]:"accessPointName_ssa_1"},xr={fn:oe,[P]:[Ie,"region"]},cn={[F]:oo},as={fn:oe,[P]:[Ie,"service"]},un={fn:oe,[P]:[Ie,"accountId"]},br={[no]:"S3Express",[Se]:[{[he]:!0,[ue]:"{_s3e_auth}",[ve]:"s3express",[Ce]:"{Region}"}]},dn={[no]:"S3Express",[Se]:[{[he]:!0,[ue]:Ae,[ve]:"s3express",[Ce]:"{Region}"}]},wr={[Se]:[{[he]:!0,[ue]:_s,[ve]:mt,[As]:["*"]},{[he]:!0,[ue]:Ae,[ve]:mt,[Ce]:"{Region}"}]},ee={[Se]:[{[he]:!0,[ue]:Ae,[ve]:ht,[Ce]:po}]},Q={[Se]:[{[he]:!0,[ue]:Ae,[ve]:ht,[Ce]:"{Region}"}]},ns={[Se]:[{[he]:!0,[ue]:Ae,[ve]:Rs,[Ce]:"{bucketArn#region}"}]},ot={[Se]:[{[he]:!0,[ue]:Ae,[ve]:ht,[Ce]:"{bucketArn#region}"}]},ln={[Se]:[{[he]:!0,[ue]:_s,[ve]:mt,[As]:["*"]},{[he]:!0,[ue]:Ae,[ve]:mt,[Ce]:"{bucketArn#region}"}]},is={[Se]:[{[he]:!0,[ue]:Ae,[ve]:Rs,[Ce]:"{Region}"}]},pn=[Ve],mn=[{[F]:"Endpoint"}],os=[te],hn=[te,0,7,!0],vn=[Ie,"resourceId[1]"],tv=["*"],fn={conditions:[[Yr,pn],[ye,[{[F]:"Accelerate"},k]],[ye,[sn,k]],[ye,[an,k]],[Yr,mn],[Yr,os],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,0,6,k]},Y]},"--x-s3"]],[M,[{fn:se,[P]:[{fn:ie,[P]:hn},Y]},"--xa-s3"]],[Ha,pn,io],[ie,hn,ja],[M,[{[F]:ja},"--op-s3"]],[ie,[te,8,12,k],qa],[ie,[te,32,49,k],Er(2)],[ie,[te,49,50,k],oo],[ye,[{[F]:"ForcePathStyle"},k]],[M,[rs,"aws-cn"]],[Zr,[an,".dualstack",Y],"_s3e_ds"],[be,[{[F]:Er(2)},me]],[Zr,[sn,"-fips",Y],"_s3e_fips"],[Zr,[{fn:se,[P]:[{[F]:"DisableS3ExpressSessionAuth"},me]},Ae,"sigv4-s3express"],"_s3e_auth"],[Ka,[te,me]],["parseURL",mn,co],[ye,[{fn:se,[P]:[{[F]:"UseS3ExpressControlEndpoint"},me]},k]],[Ka,[te,k]],[M,[{fn:oe,[P]:[nn,"scheme"]},"http"]],[be,[Ve,me]],["aws.parseArn",os,uo],[oe,[{fn:"split",[P]:[te,we,0]},"[-2]"],"s3expressAvailabilityZoneId"],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,0,4,me]},Y]},"arn:"]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,16,18,k]},Y]},we]],[ye,[{fn:oe,[P]:[nn,"isIp"]},k]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,21,23,k]},Y]},we]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,27,29,k]},Y]},we]],[M,[{[F]:qa},"beta"]],["uriEncode",os,"uri_encoded_bucket"],[be,[Ve,k]],[ye,[{fn:se,[P]:[{[F]:"UseObjectLambdaEndpoint"},me]},k]],[oe,[Ie,"resourceId[0]"],lo],[M,[on,Y]],[M,[on,Va]],[oe,vn,es(1)],[M,[ss,Y]],[M,[xr,Y]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,14,16,k]},Y]},we]],[M,[cn,"e"]],[M,[cn,"o"]],[M,[Ve,"aws-global"]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,19,21,k]},Y]},we]],[M,[as,Rs]],[ye,[{fn:se,[P]:[{[F]:"DisableAccessPoints"},me]},k]],[M,[as,mt]],[Ha,[xr],Qa],[be,[ss,k]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,26,28,k]},Y]},we]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,15,17,k]},Y]},we]],[oe,[Ie,"resourceId[4]"]],[M,[{fn:se,[P]:[{fn:ie,[P]:[te,20,22,k]},Y]},we]],[ye,[{[F]:"UseGlobalEndpoint"},k]],[M,[Ve,po]],[oe,vn,Er(1)],[ye,[{fn:se,[P]:[{[F]:"UseArnRegion"},k]},k]],[be,[{[F]:Er(1)},me]],[oe,[Ie,"resourceId[2]"],Wa],[M,[Ve,xr]],[M,[{fn:oe,[P]:[{[F]:Qa},ue]},rs]],[ye,[{[F]:"DisableMultiRegionAccessPoints"},k]],[be,[xr,k]],[M,[{fn:oe,[P]:[Ie,"partition"]},rs]],[M,[un,Y]],[M,[as,ht]],[be,[un,me]],[oe,[Ie,"resourceId[3]"],es(2)],[be,[ss,me]],[M,[{[F]:Wa},Va]],[be,[{[F]:es(2)},me]]],results:[[w],[w,"Accelerate cannot be used with FIPS"],[w,"Cannot set dual-stack in combination with a custom endpoint."],[w,"A custom endpoint cannot be combined with FIPS"],[w,"A custom endpoint cannot be combined with S3 Accelerate"],[w,"Partition does not support FIPS"],[w,"S3Express does not support S3 Accelerate."],["{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",br],[ts,br],[w,"S3Express bucket name is not a valid virtual hostable name."],["https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",dn],["https://{Bucket}.s3express{_s3e_fips}-{s3expressAvailabilityZoneId}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}",br],[w,"Unrecognized S3Express bucket name format."],[Sr,br],["https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}",dn],[w,"Expected a endpoint to be specified but no endpoint was found"],["https://{Bucket}.ec2.{url#authority}",wr],["https://{Bucket}.ec2.s3-outposts.{Region}.{partitionResult#dnsSuffix}",wr],["https://{Bucket}.op-{outpostId_ssa_2}.{url#authority}",wr],["https://{Bucket}.op-{outpostId_ssa_2}.s3-outposts.{Region}.{partitionResult#dnsSuffix}",wr],[w,'Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"'],[w,"Invalid Outposts Bucket alias - it must be a valid bucket name."],[w,"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`."],[w,"Custom endpoint `{Endpoint}` was not a valid URI"],[w,"S3 Accelerate cannot be used in this region"],["https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",Q],["https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",ee],["https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",Q],["https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",Q],["https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",Q],[Ga,ee],[ts,ee],[Ga,Q],[ts,Q],[Xa,ee],[Xa,Q],[Ja,ee],[Ja,Q],["https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",Q],[w,"Invalid region: region was not a valid DNS name."],[w,"S3 Object Lambda does not support Dual-stack"],[w,"S3 Object Lambda does not support S3 Accelerate"],[w,"Access points are not supported for this operation"],[w,"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`"],[w,"Invalid ARN: Missing account id"],[Ya(1),ns],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",ns],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",ns],[w,Za(1)],[w,"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`"],[w,"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)"],[w,"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`"],[w,"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."],[w,"Invalid ARN: bucket ARN is missing a region"],[w,"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided"],[w,"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`"],[w,"Access Points do not support S3 Accelerate"],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",ot],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",ot],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",ot],[Ya(1),ot],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",ot],[w,"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}"],[w,"S3 MRAP does not support dual-stack"],[w,"S3 MRAP does not support FIPS"],[w,"S3 MRAP does not support S3 Accelerate"],[w,"Invalid configuration: Multi-Region Access Point ARNs are disabled."],["https://{accessPointName_ssa_1}.accesspoint.s3-global.{partitionResult#dnsSuffix}",{[Se]:[{[he]:k,name:_s,[ve]:ht,[As]:tv}]}],[w,"Client was configured for partition `{partitionResult#name}` but bucket referred to partition `{bucketArn#partition}`"],[w,"Invalid Access Point Name"],[w,"S3 Outposts does not support Dual-stack"],[w,"S3 Outposts does not support FIPS"],[w,"S3 Outposts does not support S3 Accelerate"],[w,"Invalid Arn: Outpost Access Point ARN contains sub resources"],["https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.{url#authority}",ln],["https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",ln],[w,Za(2)],[w,"Expected an outpost type `accesspoint`, found {outpostType}"],[w,"Invalid ARN: expected an access point name"],[w,"Invalid ARN: Expected a 4-component resource"],[w,"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId_ssa_1}`"],[w,"Invalid ARN: The Outpost Id was not set"],[w,"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})"],[w,"Invalid ARN: No ARN type specified"],[w,"Invalid ARN: `{Bucket}` was not a valid ARN"],[w,"Path-style addressing cannot be used with ARN buckets"],["https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ee],["https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Q],["https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ee],["https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Q],["https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ee],["https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Q],[en,ee],[en,Q],[tn,ee],[tn,Q],["https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Q],[w,"Path-style addressing cannot be used with S3 Accelerate"],[Sr,is],["https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",is],["https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",is],["https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",Q],["https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",ee],["https://s3-fips.{Region}.{partitionResult#dnsSuffix}",Q],["https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",Q],[Sr,ee],[Sr,Q],[rn,ee],[rn,Q],["https://s3.{Region}.{partitionResult#dnsSuffix}",Q],[w,"A region must be set when sending requests to S3."]]},rv=2,sv=new Int32Array([-1,1,-1,0,3,100000115,1,424,4,2,272,5,3,233,6,4,85,7,5,15,8,8,9,100000115,16,10,13,18,11,13,19,12,13,22,100000014,13,35,14,100000042,36,100000103,435,6,271,16,7,270,17,8,19,18,14,501,106,9,20,24,10,21,24,11,22,24,12,23,24,13,547,24,14,77,25,20,73,26,26,27,78,37,28,100000086,38,100000086,29,39,47,30,48,100000058,31,50,32,100000085,51,33,136,55,100000076,34,59,35,100000084,60,39,36,61,37,100000083,62,38,146,63,41,100000046,61,40,100000083,62,41,150,64,42,100000054,66,43,100000053,70,44,100000052,71,45,100000081,73,46,100000080,74,100000078,100000079,40,48,100000057,41,100000057,49,42,185,50,48,62,51,49,100000045,52,51,53,526,60,56,54,62,100000055,55,63,57,100000046,62,100000055,57,64,58,100000054,66,59,100000053,69,60,100000065,70,61,100000052,72,100000064,100000051,49,100000045,63,51,64,526,60,67,65,62,100000055,66,63,68,100000046,62,100000055,68,64,69,100000054,66,70,100000053,68,100000047,71,70,72,100000052,72,100000050,100000051,25,74,100000042,46,100000039,75,57,76,100000041,58,100000040,100000041,26,100000088,78,28,100000087,79,34,82,80,35,81,545,36,100000103,100000115,46,100000097,83,57,84,100000099,58,100000098,100000099,5,101,86,8,87,100000115,16,88,89,18,91,89,19,90,92,21,97,95,19,93,92,21,98,95,21,97,94,22,100000014,95,35,96,100000042,36,100000103,100000042,22,100000013,98,35,99,100000042,36,100000101,100,46,100000110,100000111,6,214,102,7,208,103,8,119,104,14,118,105,21,106,100000023,26,107,502,37,108,100000086,38,100000086,109,39,112,110,48,100000058,111,50,136,100000085,40,113,100000057,41,100000057,114,42,115,500,48,100000056,116,52,117,100000072,65,100000069,100000072,21,501,100000023,9,120,124,10,121,124,11,122,124,12,123,124,13,202,124,14,195,125,20,190,126,21,127,100000023,23,128,129,24,189,129,26,130,197,37,131,100000086,38,100000086,132,39,159,133,48,100000058,134,50,135,100000085,51,141,136,55,100000076,137,59,138,100000084,60,100000083,139,61,140,100000083,63,100000083,100000046,55,100000076,142,59,143,100000084,60,148,144,61,145,100000083,62,147,146,63,150,100000046,63,153,100000046,61,149,100000083,62,153,150,64,151,100000054,66,152,100000053,70,100000082,100000052,64,154,100000054,66,155,100000053,70,156,100000052,71,157,100000081,73,158,100000080,74,100000077,100000079,40,160,100000057,41,100000057,161,42,185,162,48,174,163,49,100000045,164,51,165,526,60,168,166,62,100000055,167,63,169,100000046,62,100000055,169,64,170,100000054,66,171,100000053,69,172,100000065,70,173,100000052,72,100000063,100000051,49,100000045,175,51,176,526,60,179,177,62,100000055,178,63,180,100000046,62,100000055,180,64,181,100000054,66,182,100000053,68,100000047,183,70,184,100000052,72,100000048,100000051,48,100000056,186,52,187,100000072,65,100000069,188,67,100000070,100000071,25,100000036,100000042,21,191,100000023,25,192,100000042,30,194,193,46,100000034,100000036,46,100000033,100000035,21,196,100000023,26,100000088,197,28,100000087,198,34,201,199,35,200,545,36,100000101,100000115,46,100000095,100000096,17,203,100000022,20,204,100000021,21,205,550,33,206,550,44,100000016,207,45,100000018,100000020,8,209,215,16,210,220,18,211,220,19,212,224,20,213,227,21,231,401,8,218,215,19,216,100000009,20,217,227,21,231,100000009,16,219,220,18,223,220,19,221,224,20,222,227,21,231,100000012,19,226,224,20,225,100000009,21,100000009,100000012,20,230,227,21,228,100000009,30,229,100000009,34,100000007,100000009,21,231,415,30,232,100000008,34,100000007,100000008,4,100000002,234,5,235,480,6,271,236,7,270,237,8,238,491,9,239,243,10,240,243,11,241,243,12,242,243,13,547,243,14,266,244,20,264,245,26,246,267,37,247,100000086,38,100000086,248,39,249,518,40,250,100000057,41,100000057,251,42,538,252,48,100000043,253,49,100000045,254,51,255,526,60,258,256,62,100000055,257,63,259,100000046,62,100000055,259,64,260,100000054,66,261,100000053,69,262,100000065,70,263,100000052,72,100000062,100000051,25,265,100000042,46,100000031,100000032,26,100000088,267,28,100000087,268,34,269,544,46,100000093,100000094,8,397,100000009,8,407,100000009,3,346,273,4,100000003,274,5,284,275,8,276,100000115,15,100000005,277,16,278,281,18,279,281,19,280,281,22,100000014,281,35,282,100000042,36,100000102,283,46,100000106,100000107,6,405,285,7,395,286,8,295,287,14,501,288,26,289,502,37,290,100000086,38,100000086,291,39,292,307,40,293,100000057,41,100000057,294,42,335,500,9,296,300,10,297,300,11,298,300,12,299,300,13,394,300,14,339,301,15,100000005,302,20,337,303,26,304,341,37,305,100000086,38,100000086,306,39,309,307,48,100000058,308,50,100000074,100000085,40,310,100000057,41,100000057,311,42,335,312,48,324,313,49,100000045,314,51,315,526,60,318,316,62,100000055,317,63,319,100000046,62,100000055,319,64,320,100000054,66,321,100000053,69,322,100000065,70,323,100000052,72,100000061,100000051,49,100000045,325,51,326,526,60,329,327,62,100000055,328,63,330,100000046,62,100000055,330,64,331,100000054,66,332,100000053,68,100000047,333,70,334,100000052,72,100000049,100000051,48,100000056,336,52,100000067,100000072,25,338,100000042,46,100000027,100000028,15,100000005,340,26,100000088,341,28,100000087,342,34,345,343,35,344,545,36,100000102,100000115,46,100000091,100000092,4,100000002,347,5,357,348,8,349,100000115,15,100000005,350,16,351,354,18,352,354,19,353,354,22,100000014,354,35,355,100000042,36,100000043,356,46,100000104,100000105,6,405,358,7,395,359,8,360,491,9,361,365,10,362,365,11,363,365,12,364,365,13,394,365,14,389,366,15,100000005,367,20,387,368,26,369,391,37,370,100000086,38,100000086,371,39,372,518,40,373,100000057,41,100000057,374,42,538,375,48,100000043,376,49,100000045,377,51,378,526,60,381,379,62,100000055,380,63,382,100000046,62,100000055,382,64,383,100000054,66,384,100000053,69,385,100000065,70,386,100000052,72,100000060,100000051,25,388,100000042,46,100000025,100000026,15,100000005,390,26,100000088,391,28,100000087,392,34,393,544,46,100000089,100000090,15,100000005,547,8,396,100000009,15,100000005,397,16,398,410,18,399,410,19,400,410,20,401,100000009,27,402,100000012,29,100000011,403,31,100000011,404,32,100000011,422,8,406,100000009,15,100000005,407,16,408,410,18,409,410,19,411,410,20,100000012,100000009,20,414,412,22,413,100000009,34,100000010,100000009,22,416,415,27,419,100000012,27,418,417,34,100000010,100000012,34,100000010,419,43,100000011,420,47,100000011,421,53,100000011,422,54,100000011,423,56,100000011,100000012,2,100000001,425,3,478,426,4,100000004,427,5,438,428,8,429,100000115,16,430,433,18,431,433,19,432,433,22,100000014,433,35,434,100000042,36,100000044,435,46,100000112,436,57,437,100000114,58,100000113,100000114,6,100000006,439,7,100000006,440,8,450,441,14,501,442,26,443,502,37,444,100000086,38,100000086,445,39,446,465,40,447,100000057,41,100000057,448,42,471,449,48,100000044,500,9,451,455,10,452,455,11,453,455,12,454,455,13,547,455,14,473,456,15,460,457,20,458,461,25,459,100000042,46,100000037,100000038,20,540,461,26,462,474,37,463,100000086,38,100000086,464,39,467,465,48,100000058,466,50,100000075,100000085,40,468,100000057,41,100000057,469,42,471,470,48,100000044,524,48,100000044,472,52,100000068,100000072,26,100000088,474,28,100000087,475,34,100000100,476,35,477,545,36,100000044,100000115,4,100000002,479,5,488,480,8,481,100000115,16,482,485,18,483,485,19,484,485,22,100000014,485,35,486,100000042,36,100000043,487,46,100000108,100000109,6,100000006,489,7,100000006,490,8,503,491,14,501,492,26,493,502,37,494,100000086,38,100000086,495,39,496,518,40,497,100000057,41,100000057,498,42,538,499,48,100000043,500,49,100000045,526,26,100000088,502,28,100000087,100000115,9,504,508,10,505,508,11,506,508,12,507,508,13,547,508,14,541,509,15,513,510,20,511,514,25,512,100000042,46,100000029,100000030,20,540,514,26,515,542,37,516,100000086,38,100000086,517,39,520,518,48,100000058,519,50,100000073,100000085,40,521,100000057,41,100000057,522,42,538,523,48,100000043,524,49,100000045,525,51,529,526,60,100000055,527,62,100000055,528,63,100000055,100000046,60,532,530,62,100000055,531,63,533,100000046,62,100000055,533,64,534,100000054,66,535,100000053,69,536,100000065,70,537,100000052,72,100000059,100000051,48,100000043,539,52,100000066,100000072,25,100000024,100000042,26,100000088,542,28,100000087,543,34,100000100,544,35,546,545,36,100000042,100000115,36,100000043,100000115,17,548,100000022,20,549,100000021,33,552,550,44,100000017,551,45,100000019,100000020,44,100000015,553,45,100000015,100000020]),av=Bt.from(sv,rv,fn.conditions,fn.results),nv=new zt({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),mo=n((t,e={})=>nv.get(t,()=>jt(av,{endpointParams:t,logger:e.logger})),"defaultEndpointResolver$1");Ht.aws=dr;var iv=n(t=>async(e,r,s)=>{if(!s)throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let a=await t(e,r,s),i=He(r)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!i)throw new Error(`getEndpointParameterInstructions() is not defined on '${r.commandName}'`);let o=await na(s,{getEndpointParameterInstructions:i},e);return Object.assign(a,o)},"createEndpointRuleSetHttpAuthSchemeParametersProvider"),ov=n(async(t,e,r)=>({operation:He(e).operation,region:await xe(t.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"_defaultS3HttpAuthSchemeParametersProvider"),cv=iv(ov);function ho(t){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:t.region},propertiesExtractor:n((e,r)=>({signingProperties:{config:e,context:r}}),"propertiesExtractor")}}n(ho,"createAwsAuthSigv4HttpAuthOption$1");function vo(t){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:t.region},propertiesExtractor:n((e,r)=>({signingProperties:{config:e,context:r}}),"propertiesExtractor")}}n(vo,"createAwsAuthSigv4aHttpAuthOption");var uv=n((t,e,r)=>n(a=>{let i=t(a).properties?.authSchemes;if(!i)return e(a);let o=[];for(let c of i){let{name:u,properties:p={},...d}=c,l=u.toLowerCase();u!==l&&console.warn(`HttpAuthScheme has been normalized with lowercasing: '${u}' to '${l}'`);let m;if(l==="sigv4a"){m="aws.auth#sigv4a";let _=i.find(I=>{let N=I.name.toLowerCase();return N!=="sigv4a"&&N.startsWith("sigv4")});if(jr.sigv4aDependency()==="none"&&_)continue}else if(l.startsWith("sigv4"))m="aws.auth#sigv4";else throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${l}'`);let v=r[m];if(!v)throw new Error(`Could not find HttpAuthOption create function for '${m}'`);let g=v(a);g.schemeId=m,g.signingProperties={...g.signingProperties||{},...d,...p},o.push(g)}return o},"endpointRuleSetHttpAuthSchemeProvider"),"createEndpointRuleSetHttpAuthSchemeProvider"),dv=n(t=>{let e=[];switch(t.operation){default:e.push(ho(t)),e.push(vo(t))}return e},"_defaultS3HttpAuthSchemeProvider"),lv=uv(mo,dv,{"aws.auth#sigv4":ho,"aws.auth#sigv4a":vo}),pv=n(t=>{let e=vr(t),r=la(e);return Object.assign(r,{authSchemePreference:xe(t.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig$1"),mv=n(t=>Object.assign(t,{useFipsEndpoint:t.useFipsEndpoint??!1,useDualstackEndpoint:t.useDualstackEndpoint??!1,forcePathStyle:t.forcePathStyle??!1,useAccelerateEndpoint:t.useAccelerateEndpoint??!1,useGlobalEndpoint:t.useGlobalEndpoint??!1,disableMultiregionAccessPoints:t.disableMultiregionAccessPoints??!1,defaultSigningName:"s3",clientContextParams:t.clientContextParams??{}}),"resolveClientEndpointParameters$1"),fo=Mt({ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},DisableS3ExpressSessionAuth:{type:"clientContextParams",name:"disableS3ExpressSessionAuth"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},"AmazonS3","S3Client",Kt),hv={Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}},vv={DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}},fv=n((t,e,r,s)=>[ao(r)],"_mw0"),gv=n((t,e,r,s)=>[nh(r,{requestAlgorithmMember:{httpHeader:"x-amz-sdk-checksum-algorithm",name:"ChecksumAlgorithm"},requestChecksumRequired:!1}),lh(r),ao(r),Zh(r)],"_mw11"),K=class go extends Rt{static{n(this,"S3ServiceException")}static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.s3#S3ServiceException";constructor(e){super(e),Object.setPrototypeOf(this,go.prototype)}},yv=class yo extends K{static{n(this,"NoSuchUpload")}static shapeId="com.amazonaws.s3#NoSuchUpload";name="NoSuchUpload";$fault="client";constructor(e){super({name:"NoSuchUpload",$fault:"client",...e}),Object.setPrototypeOf(this,yo.prototype)}},Ev=class Eo extends K{static{n(this,"AccessDenied")}static shapeId="com.amazonaws.s3#AccessDenied";name="AccessDenied";$fault="client";constructor(e){super({name:"AccessDenied",$fault:"client",...e}),Object.setPrototypeOf(this,Eo.prototype)}},Sv=class So extends K{static{n(this,"ObjectNotInActiveTierError")}static shapeId="com.amazonaws.s3#ObjectNotInActiveTierError";name="ObjectNotInActiveTierError";$fault="client";constructor(e){super({name:"ObjectNotInActiveTierError",$fault:"client",...e}),Object.setPrototypeOf(this,So.prototype)}},xv=class xo extends K{static{n(this,"BucketAlreadyExists")}static shapeId="com.amazonaws.s3#BucketAlreadyExists";name="BucketAlreadyExists";$fault="client";constructor(e){super({name:"BucketAlreadyExists",$fault:"client",...e}),Object.setPrototypeOf(this,xo.prototype)}},bv=class bo extends K{static{n(this,"BucketAlreadyOwnedByYou")}static shapeId="com.amazonaws.s3#BucketAlreadyOwnedByYou";name="BucketAlreadyOwnedByYou";$fault="client";constructor(e){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...e}),Object.setPrototypeOf(this,bo.prototype)}},wv=class wo extends K{static{n(this,"NoSuchBucket")}static shapeId="com.amazonaws.s3#NoSuchBucket";name="NoSuchBucket";$fault="client";constructor(e){super({name:"NoSuchBucket",$fault:"client",...e}),Object.setPrototypeOf(this,wo.prototype)}},Iv=class Io extends K{static{n(this,"NoSuchKey")}static shapeId="com.amazonaws.s3#NoSuchKey";name="NoSuchKey";$fault="client";constructor(e){super({name:"NoSuchKey",$fault:"client",...e}),Object.setPrototypeOf(this,Io.prototype)}},Cv=class Co extends K{static{n(this,"InvalidObjectState")}static shapeId="com.amazonaws.s3#InvalidObjectState";name="InvalidObjectState";$fault="client";StorageClass;AccessTier;constructor(e){super({name:"InvalidObjectState",$fault:"client",...e}),Object.setPrototypeOf(this,Co.prototype),this.StorageClass=e.StorageClass,this.AccessTier=e.AccessTier}},Av=class Ao extends K{static{n(this,"NoSuchAnnotation")}static shapeId="com.amazonaws.s3#NoSuchAnnotation";name="NoSuchAnnotation";$fault="client";constructor(e){super({name:"NoSuchAnnotation",$fault:"client",...e}),Object.setPrototypeOf(this,Ao.prototype)}},Rv=class Ro extends K{static{n(this,"NotFound")}static shapeId="com.amazonaws.s3#NotFound";name="NotFound";$fault="client";constructor(e){super({name:"NotFound",$fault:"client",...e}),Object.setPrototypeOf(this,Ro.prototype)}},_v=class _o extends K{static{n(this,"InvalidPrefix")}static shapeId="com.amazonaws.s3#InvalidPrefix";name="InvalidPrefix";$fault="client";constructor(e){super({name:"InvalidPrefix",$fault:"client",...e}),Object.setPrototypeOf(this,_o.prototype)}},Pv=class Po extends K{static{n(this,"EncryptionTypeMismatch")}static shapeId="com.amazonaws.s3#EncryptionTypeMismatch";name="EncryptionTypeMismatch";$fault="client";constructor(e){super({name:"EncryptionTypeMismatch",$fault:"client",...e}),Object.setPrototypeOf(this,Po.prototype)}},Tv=class To extends K{static{n(this,"InvalidRequest")}static shapeId="com.amazonaws.s3#InvalidRequest";name="InvalidRequest";$fault="client";constructor(e){super({name:"InvalidRequest",$fault:"client",...e}),Object.setPrototypeOf(this,To.prototype)}},Nv=class No extends K{static{n(this,"InvalidWriteOffset")}static shapeId="com.amazonaws.s3#InvalidWriteOffset";name="InvalidWriteOffset";$fault="client";constructor(e){super({name:"InvalidWriteOffset",$fault:"client",...e}),Object.setPrototypeOf(this,No.prototype)}},Mv=class Mo extends K{static{n(this,"TooManyParts")}static shapeId="com.amazonaws.s3#TooManyParts";name="TooManyParts";$fault="client";constructor(e){super({name:"TooManyParts",$fault:"client",...e}),Object.setPrototypeOf(this,Mo.prototype)}},kv=class ko extends K{static{n(this,"AnnotationLimitExceeded")}static shapeId="com.amazonaws.s3#AnnotationLimitExceeded";name="AnnotationLimitExceeded";$fault="client";constructor(e){super({name:"AnnotationLimitExceeded",$fault:"client",...e}),Object.setPrototypeOf(this,ko.prototype)}},$v=class $o extends K{static{n(this,"AnnotationNameTooLong")}static shapeId="com.amazonaws.s3#AnnotationNameTooLong";name="AnnotationNameTooLong";$fault="client";constructor(e){super({name:"AnnotationNameTooLong",$fault:"client",...e}),Object.setPrototypeOf(this,$o.prototype)}},Ov=class Oo extends K{static{n(this,"InvalidAnnotationName")}static shapeId="com.amazonaws.s3#InvalidAnnotationName";name="InvalidAnnotationName";$fault="client";constructor(e){super({name:"InvalidAnnotationName",$fault:"client",...e}),Object.setPrototypeOf(this,Oo.prototype)}},Dv=class Do extends K{static{n(this,"UnsupportedMediaType")}static shapeId="com.amazonaws.s3#UnsupportedMediaType";name="UnsupportedMediaType";$fault="client";constructor(e){super({name:"UnsupportedMediaType",$fault:"client",...e}),Object.setPrototypeOf(this,Do.prototype)}},Lv=class Lo extends K{static{n(this,"IdempotencyParameterMismatch")}static shapeId="com.amazonaws.s3#IdempotencyParameterMismatch";name="IdempotencyParameterMismatch";$fault="client";constructor(e){super({name:"IdempotencyParameterMismatch",$fault:"client",...e}),Object.setPrototypeOf(this,Lo.prototype)}},Uv=class Uo extends K{static{n(this,"ObjectAlreadyInActiveTierError")}static shapeId="com.amazonaws.s3#ObjectAlreadyInActiveTierError";name="ObjectAlreadyInActiveTierError";$fault="client";constructor(e){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...e}),Object.setPrototypeOf(this,Uo.prototype)}},Fv="ACL",Bv="AccessDenied",gn="AccessKeyId",zv="AnnotationLimitExceeded",Hv="AnnotationNameTooLong",jv="AccessTier",Fo="Bucket",qv="BucketAlreadyExists",Kv="BucketAlreadyOwnedByYou",Pr="BucketKeyEnabled",Vv="Body",Qv="ChecksumAlgorithm",Wv="CacheControl",Bo="ChecksumCRC32",zo="ChecksumCRC32C",Ho="ChecksumCRC64NVME",Gv="Cache-Control",Xv="Content-Disposition",Jv="ContentDisposition",Yv="Content-Encoding",Zv="ContentEncoding",ef="ContentLanguage",tf="Content-Language",rf="Content-Length",sf="ContentLength",af="Content-MD5",jo="ChecksumMD5",nf="ContentMD5",qo="ChecksumSHA1",Ko="ChecksumSHA256",Vo="ChecksumSHA512",of="CreateSessionOutput",cf="CreateSessionResult",uf="CreateSessionRequest",df="CreateSession",lf="ChecksumType",pf="Content-Type",mf="ContentType",Qo="ChecksumXXHASH64",Wo="ChecksumXXHASH3",Go="ChecksumXXHASH128",yn="Credentials",hf="ExpectedBucketOwner",En="ETag",vf="EncryptionTypeMismatch",bs="Expiration",Sn="Expires",ff="GrantFullControl",gf="GrantRead",yf="GrantReadACP",Ef="GrantWriteACP",Sf="InvalidAnnotationName",xf="IfMatch",bf="If-Match",wf="IfNoneMatch",If="If-None-Match",Cf="InvalidObjectState",Af="InvalidPrefix",Rf="IdempotencyParameterMismatch",_f="InvalidRequest",Pf="InvalidWriteOffset",Tf="Key",Nf="Metadata",Mf="NotFound",kf="NoSuchAnnotation",$f="NoSuchBucket",Of="NoSuchKey",Df="NoSuchUpload",Lf="ObjectAlreadyInActiveTierError",Uf="ObjectLockEventHold",Ff="ObjectLockEventHoldDurationDays",Bf="ObjectLockEventHoldDurationYears",zf="ObjectLockLegalHoldStatus",Hf="ObjectLockMode",jf="ObjectLockRetainUntilDate",qf="ObjectNotInActiveTierError",Kf="PutObject",Vf="PutObjectOutput",Qf="PutObjectRequest",Wf="RequestCharged",Gf="RequestPayer",xn="SecretAccessKey",Xf="StreamingBlob",Xo="StorageClass",Jf="SessionCredentialValue",Yf="SessionCredentials",Zf="SessionMode",Tr="ServerSideEncryption",Jo="SSECustomerAlgorithm",Yo="SSECustomerKey",Zo="SSECustomerKeyMD5",yt="SSEKMSEncryptionContext",Et="SSEKMSKeyId",bn="SessionToken",eg="Size",tg="TooManyParts",rg="Tagging",sg="UnsupportedMediaType",ag="VersionId",ng="WriteOffsetBytes",ig="WebsiteRedirectLocation",W="client",G="error",ec="http",og="httpChecksum",J="httpError",h="httpHeader",cg="httpPrefixHeaders",tc="smithy.ts.sdk.synthetic.com.amazonaws.s3",ug="streaming",Qe="xmlName",dg="x-amz-acl",rc="x-amz-checksum-crc32",sc="x-amz-checksum-crc32c",ac="x-amz-checksum-crc64nvme",nc="x-amz-checksum-md5",ic="x-amz-checksum-sha1",oc="x-amz-checksum-sha256",cc="x-amz-checksum-sha512",lg="x-amz-create-session-mode",pg="x-amz-checksum-type",uc="x-amz-checksum-xxhash64",dc="x-amz-checksum-xxhash3",lc="x-amz-checksum-xxhash128",mg="x-amz-expiration",hg="x-amz-expected-bucket-owner",vg="x-amz-grant-full-control",fg="x-amz-grant-read",gg="x-amz-grant-read-acp",yg="x-amz-grant-write-acp",Eg="x-amz-meta-",Sg="x-amz-object-lock-event-hold",xg="x-amz-object-lock-event-hold-duration-days",bg="x-amz-object-lock-event-hold-duration-years",wg="x-amz-object-lock-legal-hold",Ig="x-amz-object-lock-mode",Cg="x-amz-object-lock-retain-until-date",Ag="x-amz-object-size",Rg="x-amz-request-charged",_g="x-amz-request-payer",Pg="x-amz-storage-class",Tg="x-amz-sdk-checksum-algorithm",Nr="x-amz-server-side-encryption",Mr="x-amz-server-side-encryption-aws-kms-key-id",kr="x-amz-server-side-encryption-bucket-key-enabled",$r="x-amz-server-side-encryption-context",pc="x-amz-server-side-encryption-customer-algorithm",Ng="x-amz-server-side-encryption-customer-key",mc="x-amz-server-side-encryption-customer-key-MD5",Mg="x-amz-tagging",kg="x-amz-version-id",$g="x-amz-write-offset-bytes",Og="x-amz-website-redirect-location",T="com.amazonaws.s3",hc=new Pe(tc),Dg=[-3,tc,"S3ServiceException",0,[],[]];hc.registerError(Dg,K);var V=new Pe(T),Lg=[-3,T,Bv,{[G]:W,[J]:403},[],[]];V.registerError(Lg,Ev);var Ug=[-3,T,zv,{[G]:W,[J]:400},[],[]];V.registerError(Ug,kv);var Fg=[-3,T,Hv,{[G]:W,[J]:400},[],[]];V.registerError(Fg,$v);var Bg=[-3,T,qv,{[G]:W,[J]:409},[],[]];V.registerError(Bg,xv);var zg=[-3,T,Kv,{[G]:W,[J]:409},[],[]];V.registerError(zg,bv);var Hg=[-3,T,vf,{[G]:W,[J]:400},[],[]];V.registerError(Hg,Pv);var jg=[-3,T,Rf,{[G]:W,[J]:400},[],[]];V.registerError(jg,Lv);var qg=[-3,T,Sf,{[G]:W,[J]:400},[],[]];V.registerError(qg,Ov);var Kg=[-3,T,Cf,{[G]:W,[J]:403},[Xo,jv],[0,0]];V.registerError(Kg,Cv);var Vg=[-3,T,Af,{[G]:W,[J]:400},[],[]];V.registerError(Vg,_v);var Qg=[-3,T,_f,{[G]:W,[J]:400},[],[]];V.registerError(Qg,Tv);var Wg=[-3,T,Pf,{[G]:W,[J]:400},[],[]];V.registerError(Wg,Nv);var Gg=[-3,T,kf,{[G]:W,[J]:404},[],[]];V.registerError(Gg,Av);var Xg=[-3,T,$f,{[G]:W,[J]:404},[],[]];V.registerError(Xg,wv);var Jg=[-3,T,Of,{[G]:W,[J]:404},[],[]];V.registerError(Jg,Iv);var Yg=[-3,T,Df,{[G]:W,[J]:404},[],[]];V.registerError(Yg,yv);var Zg=[-3,T,Mf,{[G]:W},[],[]];V.registerError(Zg,Rv);var ey=[-3,T,Lf,{[G]:W,[J]:403},[],[]];V.registerError(ey,Uv);var ty=[-3,T,qf,{[G]:W,[J]:403},[],[]];V.registerError(ty,Sv);var ry=[-3,T,tg,{[G]:W,[J]:400},[],[]];V.registerError(ry,Mv);var sy=[-3,T,sg,{[G]:W,[J]:415},[],[]];V.registerError(sy,Dv);var ay=[hc,V],wn=[0,T,Jf,8,0],ny=[0,T,Yo,8,0],Or=[0,T,yt,8,0],Dr=[0,T,Et,8,0],iy=[0,T,Xf,{[ug]:1},42],oy=[3,T,of,{[Qe]:cf},[yn,Tr,Et,yt,Pr],[[()=>ly,{[Qe]:yn}],[0,{[h]:Nr}],[()=>Dr,{[h]:Mr}],[()=>Or,{[h]:$r}],[2,{[h]:kr}]],1],cy=[3,T,uf,0,[Fo,Zf,Tr,Et,yt,Pr],[[0,1],[0,{[h]:lg}],[0,{[h]:Nr}],[()=>Dr,{[h]:Mr}],[()=>Or,{[h]:$r}],[2,{[h]:kr}]],1],uy=[3,T,Vf,0,[bs,En,Bo,zo,Ho,qo,Ko,Vo,jo,Qo,Wo,Go,lf,Tr,ag,Jo,Zo,Et,yt,Pr,eg,Wf],[[0,{[h]:mg}],[0,{[h]:En}],[0,{[h]:rc}],[0,{[h]:sc}],[0,{[h]:ac}],[0,{[h]:ic}],[0,{[h]:oc}],[0,{[h]:cc}],[0,{[h]:nc}],[0,{[h]:uc}],[0,{[h]:dc}],[0,{[h]:lc}],[0,{[h]:pg}],[0,{[h]:Nr}],[0,{[h]:kg}],[0,{[h]:pc}],[0,{[h]:mc}],[()=>Dr,{[h]:Mr}],[()=>Or,{[h]:$r}],[2,{[h]:kr}],[1,{[h]:Ag}],[0,{[h]:Rg}]]],dy=[3,T,Qf,0,[Fo,Tf,Fv,Vv,Wv,Jv,Zv,ef,sf,nf,mf,Qv,Bo,zo,Ho,qo,Ko,Vo,jo,Qo,Wo,Go,Sn,xf,wf,ff,gf,yf,Ef,ng,Nf,Tr,Xo,ig,Jo,Yo,Zo,Et,yt,Pr,Gf,rg,Hf,jf,zf,Uf,Ff,Bf,hf],[[0,1],[0,1],[0,{[h]:dg}],[()=>iy,16],[0,{[h]:Gv}],[0,{[h]:Xv}],[0,{[h]:Yv}],[0,{[h]:tf}],[1,{[h]:rf}],[0,{[h]:af}],[0,{[h]:pf}],[0,{[h]:Tg}],[0,{[h]:rc}],[0,{[h]:sc}],[0,{[h]:ac}],[0,{[h]:ic}],[0,{[h]:oc}],[0,{[h]:cc}],[0,{[h]:nc}],[0,{[h]:uc}],[0,{[h]:dc}],[0,{[h]:lc}],[4,{[h]:Sn}],[0,{[h]:bf}],[0,{[h]:If}],[0,{[h]:vg}],[0,{[h]:fg}],[0,{[h]:gg}],[0,{[h]:yg}],[1,{[h]:$g}],[128,{[cg]:Eg}],[0,{[h]:Nr}],[0,{[h]:Pg}],[0,{[h]:Og}],[0,{[h]:pc}],[()=>ny,{[h]:Ng}],[0,{[h]:mc}],[()=>Dr,{[h]:Mr}],[()=>Or,{[h]:$r}],[2,{[h]:kr}],[0,{[h]:_g}],[0,{[h]:Mg}],[0,{[h]:Ig}],[5,{[h]:Cg}],[0,{[h]:wg}],[0,{[h]:Sg}],[1,{[h]:xg}],[1,{[h]:bg}],[0,{[h]:hg}]],2],ly=[3,T,Yf,0,[gn,xn,bn,bs],[[0,{[Qe]:gn}],[()=>wn,{[Qe]:xn}],[()=>wn,{[Qe]:bn}],[4,{[Qe]:bs}]],4],py=[9,T,df,{[ec]:["GET","/?session",200]},()=>cy,()=>oy],my=[9,T,Kf,{[og]:"-",[ec]:["PUT","/{Key+}?x-id=PutObject",200]},()=>dy,()=>uy],hy=class extends fo(vv,fv,"CreateSession",py){static{n(this,"CreateSessionCommand")}},vy={name:"@aws-sdk/client-s3",version:"3.1150.0",description:"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",license:"Apache-2.0",author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/sdk-for-javascript/"},repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-s3"},files:["dist-*/**"],sideEffects:!1,main:"./dist-cjs/index.js",module:"./dist-es/index.js",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},types:"./dist-types/index.d.ts",typesVersions:{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},scripts:{build:"concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline","build:es":"premove dist-es && tsc -p tsconfig.es.json","build:include:deps":'yarn g:turbo run build -F="$npm_package_name"',"build:types":"premove dist-types && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"premove dist-cjs dist-es dist-types","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service",test:"yarn g:vitest run --passWithNoTests","test:watch":"yarn g:vitest watch --passWithNoTests","test:integration":"yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts","test:integration:watch":"yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.mts","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.mts","test:browser":"yarn g:vitest run -c vitest.config.browser.mts","test:browser:watch":"yarn g:vitest watch -c vitest.config.browser.mts","test:index":"tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"},dependencies:{"@aws-sdk/checksums":"^3.1001.3","@aws-sdk/core":"^3.978.3","@aws-sdk/credential-provider-node":"^3.972.86","@aws-sdk/middleware-sdk-s3":"^3.972.79","@aws-sdk/signature-v4-multi-region":"^3.996.48","@aws-sdk/types":"^3.974.6","@smithy/core":"^3.35.2","@smithy/fetch-http-handler":"^5.8.0","@smithy/node-http-handler":"^4.12.1","@smithy/types":"^4.19.0",tslib:"^2.6.2"},devDependencies:{"@aws-sdk/signature-v4-crt":"3.1150.0","@smithy/snapshot-testing":"^2.3.2","@tsconfig/node20":"20.1.8","@types/node":"^20.14.8",concurrently:"7.0.0","downlevel-dts":"0.10.1",premove:"4.0.0",typescript:"~7.0.2",vitest:"^4.0.17"},engines:{node:">=20.0.0"}},ae=64,In=20,Cn=new Int32Array([1732584193,4023233417,2562383102,271733878,3285377520]),fy=new Int32Array([1518500249,1859775393,2400959708,3395469782]),gy=class ut{static{n(this,"Sha1Js")}digestLength=In;state=Int32Array.from(Cn);w;buffer=new Uint8Array(ae);bufferLength=0;bytesHashed=0;finished=!1;inner;outer;constructor(e){if(e){let r=ut.normalizeKey(e);this.inner=new ut,this.outer=new ut;let s=new Uint8Array(128);for(let a=0;a<ae;++a)s[a]=54^r[a],s[a+ae]=92^r[a];this.inner.update(s.subarray(0,ae)),this.outer.update(s.subarray(ae))}}update(e){if(this.finished)throw new Error("Attempted to update an already finished HMAC.");if(this.inner){this.inner.update(e);return}let r=0,{length:s}=e;if(this.bytesHashed+=s,this.bufferLength>0){for(;s>0&&this.bufferLength<ae;)this.buffer[this.bufferLength++]=e[r++],--s;this.bufferLength===ae&&(this.hashBuffer(this.buffer,0),this.bufferLength=0)}for(;s>=ae;)this.hashBuffer(e,r),r+=ae,s-=ae;for(;s>0;)this.buffer[this.bufferLength++]=e[r++],--s}async digest(){if(this.inner&&this.outer){if(this.finished)throw new Error("Attempted to digest an already finished HMAC.");this.finished=!0;let e=this.inner.digestSync();return this.outer.update(e),this.outer.digestSync()}return this.digestSync()}reset(){this.state=Int32Array.from(Cn),this.buffer=new Uint8Array(ae),this.bufferLength=0,this.bytesHashed=0}digestSync(){let e=this.state.slice(),r=this.buffer.slice(),s=this.bufferLength,a=this.bytesHashed/536870912|0,i=this.bytesHashed<<3;if(r[s++]=128,s>56){for(let u=s;u<ae;++u)r[u]=0;this.hashBufferWith(e,r,0),s=0}for(let u=s;u<56;++u)r[u]=0;let o=new DataView(r.buffer,r.byteOffset,ae);o.setUint32(56,a,!1),o.setUint32(60,i,!1),this.hashBufferWith(e,r,0);let c=new Uint8Array(In);return c[0]=e[0]>>>24&255,c[1]=e[0]>>>16&255,c[2]=e[0]>>>8&255,c[3]=e[0]&255,c[4]=e[1]>>>24&255,c[5]=e[1]>>>16&255,c[6]=e[1]>>>8&255,c[7]=e[1]&255,c[8]=e[2]>>>24&255,c[9]=e[2]>>>16&255,c[10]=e[2]>>>8&255,c[11]=e[2]&255,c[12]=e[3]>>>24&255,c[13]=e[3]>>>16&255,c[14]=e[3]>>>8&255,c[15]=e[3]&255,c[16]=e[4]>>>24&255,c[17]=e[4]>>>16&255,c[18]=e[4]>>>8&255,c[19]=e[4]&255,c}static normalizeKey(e){let r=Le(e);if(r.byteLength>ae){let a=new ut;a.update(r);let i=a.digestSync(),o=new Uint8Array(ae);return o.set(i),o}let s=new Uint8Array(ae);return s.set(r),s}hashBuffer(e,r){this.hashBufferWith(this.state,e,r)}hashBufferWith(e,r,s){let a=this.w??=new Int32Array(80),i=e[0],o=e[1],c=e[2],u=e[3],p=e[4];for(let d=0;d<16;++d)a[d]=(r[s+d*4]&255)<<24|(r[s+d*4+1]&255)<<16|(r[s+d*4+2]&255)<<8|r[s+d*4+3]&255;for(let d=16;d<80;++d){let l=a[d-3]^a[d-8]^a[d-14]^a[d-16];a[d]=l<<1|l>>>31}for(let d=0;d<80;++d){let l=d<20?0:d<40?1:d<60?2:3,m=((i<<5|i>>>27)+(l===0?o&c^~o&u:l===2?o&c^o&u^c&u:o^c^u)|0)+(p+(fy[l]+a[d]|0)|0)|0;p=u,u=c,c=o<<30|o>>>2,o=i,i=m}e[0]=e[0]+i|0,e[1]=e[1]+o|0,e[2]=e[2]+c|0,e[3]=e[3]+u|0,e[4]=e[4]+p|0}},yy=(()=>{try{return lt("sha1"),!0}catch{return!1}})()?Ey():gy;function Ey(){return class{static{n(this,"Sha1Node")}digestLength=20;secret;hash;isHmac;finished=!1;constructor(e){this.secret=e,this.isHmac=!!e,this.hash=this.createHash()}update(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");this.hash.update(e)}async digest(){let e;return this.isHmac?(this.finished=!0,e=this.hash.digest()):e=this.hash.copy().digest(),new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}reset(){this.hash=this.createHash(),this.finished=!1}createHash(){return this.secret?s0("sha1",Sy(this.secret)):lt("sha1")}}}n(Ey,"buildNativeClass");function Sy(t){return typeof t=="string"?t:ArrayBuffer.isView(t)?Buffer.from(t.buffer,t.byteOffset,t.byteLength):Buffer.from(t)}n(Sy,"toBuffer");var xy=n(t=>({apiVersion:"2006-03-01",base64Decoder:t?.base64Decoder??rt,base64Encoder:t?.base64Encoder??qe,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??mo,extensions:t?.extensions??[],getAwsChunkedEncodingStream:t?.getAwsChunkedEncodingStream??f0,httpAuthSchemeProvider:t?.httpAuthSchemeProvider??lv,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:n(e=>e.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new mr},{schemeId:"aws.auth#sigv4a",identityProvider:n(e=>e.getIdentityProvider("aws.auth#sigv4a"),"identityProvider"),signer:new da}],logger:t?.logger??new je,md5:t?.md5??On,protocol:t?.protocol??qh,protocolSettings:t?.protocolSettings??{defaultNamespace:"com.amazonaws.s3",errorTypeRegistries:ay,xmlNamespace:"http://s3.amazonaws.com/doc/2006-03-01/",version:"2006-03-01",serviceTarget:"AmazonS3"},sdkStreamMixin:t?.sdkStreamMixin??va,serviceId:t?.serviceId??"S3",sha1:t?.sha1??yy,sha256:t?.sha256??fr,signerConstructor:t?.signerConstructor??jr,signingEscapePath:t?.signingEscapePath??!1,urlParser:t?.urlParser??wt,useArnRegion:t?.useArnRegion??void 0,utf8Decoder:t?.utf8Decoder??et,utf8Encoder:t?.utf8Encoder??tt}),"getRuntimeConfig$3"),by=n(t=>{Pt(process.version);let e=Ft(t),r=n(()=>e().then(_t),"defaultConfigProvider"),s=xy(t);It(process.version);let a={profile:t?.profile,logger:s.logger};return{...s,...t,runtime:"node",defaultsMode:e,authSchemePreference:t?.authSchemePreference??U(hr,a),bodyLengthChecker:t?.bodyLengthChecker??kt,credentialDefaultProvider:t?.credentialDefaultProvider??ws,defaultUserAgentProvider:t?.defaultUserAgentProvider??cr({serviceId:s.serviceId,clientVersion:vy.version}),disableS3ExpressSessionAuth:t?.disableS3ExpressSessionAuth??U(Ih,a),eventStreamSerdeProvider:t?.eventStreamSerdeProvider??Fn,maxAttempts:t?.maxAttempts??U(Xt,t),region:t?.region??U(Dt,{...Lt,...a}),requestChecksumCalculation:t?.requestChecksumCalculation??U(Om,a),requestHandler:bt.create(t?.requestHandler??r),responseChecksumValidation:t?.responseChecksumValidation??U(Um,a),retryMode:t?.retryMode??U({...Yt,default:n(async()=>(await r()).retryMode||Gt,"default")},t),sigv4aSigningRegionSet:t?.sigv4aSigningRegionSet??U(pa,a),streamCollector:t?.streamCollector??xt,streamHasher:t?.streamHasher??$0,useArnRegion:t?.useArnRegion??U(Qh,a),useDualstackEndpoint:t?.useDualstackEndpoint??U($t,a),useFipsEndpoint:t?.useFipsEndpoint??U(Ot,a),userAgentAppId:t?.userAgentAppId??U(ur,a)}},"getRuntimeConfig$2"),wy=n(t=>{let e=t.httpAuthSchemes,r=t.httpAuthSchemeProvider,s=t.credentials;return{setHttpAuthScheme(a){let i=e.findIndex(o=>o.schemeId===a.schemeId);i===-1?e.push(a):e.splice(i,1,a)},httpAuthSchemes(){return e},setHttpAuthSchemeProvider(a){r=a},httpAuthSchemeProvider(){return r},setCredentials(a){s=a},credentials(){return s}}},"getHttpAuthExtensionConfiguration$1"),Iy=n(t=>({httpAuthSchemes:t.httpAuthSchemes(),httpAuthSchemeProvider:t.httpAuthSchemeProvider(),credentials:t.credentials()}),"resolveHttpAuthRuntimeConfig$1"),Cy=n((t,e)=>{let r=Object.assign(lr(t),Tt(t),Vt(t),wy(t));return e.forEach(s=>s.configure(r)),Object.assign(t,pr(r),Nt(r),Qt(r),Iy(r))},"resolveRuntimeExtensions$1"),Ay=class extends Ct{static{n(this,"S3Client")}config;constructor(...[t]){let e=by(t||{});super(e),this.initConfig=e;let r=mv(e),s=ih(ir(r)),a=Jt(s),i=Ut(a),o=i,c=Cy(Eh(pv(Bn(qt(o))),{session:[()=>this,hy]}),t?.extensions||[]);this.config=c,this.middlewareStack.use(At(this.config)),this.middlewareStack.use(or(this.config)),this.middlewareStack.use(Zt(this.config)),this.middlewareStack.use(Wt(this.config)),this.middlewareStack.use(er(this.config)),this.middlewareStack.use(tr(this.config)),this.middlewareStack.use(rr(this.config)),this.middlewareStack.use(sr(this.config,{httpAuthSchemeParametersProvider:cv,identityProviderConfigProvider:n(async u=>new nr({"aws.auth#sigv4":u.credentials,"aws.auth#sigv4a":u.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(ar(this.config)),this.middlewareStack.use(jh(this.config)),this.middlewareStack.use(Xh(this.config)),this.middlewareStack.use(fh(this.config)),this.middlewareStack.use(Rh(this.config)),this.middlewareStack.use(Mh(this.config))}destroy(){super.destroy()}},Ry=class extends fo(hv,gv,"PutObject",my){static{n(this,"PutObjectCommand")}},_y=n(t=>Object.assign(t,{useQueueUrlAsEndpoint:t.useQueueUrlAsEndpoint??!0}),"resolveQueueUrlConfig");function Py({useQueueUrlAsEndpoint:t,endpoint:e}){return(r,s)=>async a=>{let{input:i}=a,o=s.endpointV2;if(!e&&i.QueueUrl&&o&&t){let c=s.logger instanceof je||!s.logger?.warn?console:s.logger;try{let u=new URL(i.QueueUrl),p=new URL(u.origin);o.url.origin!==p.origin&&(c.warn(`QueueUrl=${i.QueueUrl} differs from SQSClient resolved endpoint=${o.url.toString()}, using QueueUrl host as endpoint.
|
|
23
|
+
Set [endpoint=string] or [useQueueUrlAsEndpoint=false] on the SQSClient.`),s.endpointV2={...o,url:p})}catch(u){c.warn(u)}}return r(a)}}n(Py,"queueUrlMiddleware");var Ty={name:"queueUrlMiddleware",relation:"after",toMiddleware:"endpointV2Middleware",override:!0},Ny=n(t=>({applyToStack:n(e=>{e.addRelativeTo(Py(t),Ty)},"applyToStack")}),"getQueueUrlPlugin"),My=n(t=>e=>async r=>{let s=await e({...r});if(t.md5===!1)return s;let a=s.output,i=new t.md5;if(i.update(Le(r.input.MessageBody||"")),a.MD5OfMessageBody!==_e(await i.digest()))throw new Error("InvalidChecksumError");return s},"sendMessageMiddleware"),ky={step:"initialize",tags:["VALIDATE_BODY_MD5"],name:"sendMessageMiddleware",override:!0},$y=n(t=>({applyToStack:n(e=>{e.add(My(t),ky)},"applyToStack")}),"getSendMessagePlugin"),Oy=n(async(t,e,r)=>({operation:He(e).operation,region:await xe(t.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"defaultSQSHttpAuthSchemeParametersProvider");function Dy(t){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sqs",region:t.region},propertiesExtractor:n((e,r)=>({signingProperties:{config:e,context:r}}),"propertiesExtractor")}}n(Dy,"createAwsAuthSigv4HttpAuthOption");var Ly=n(t=>{let e=[];switch(t.operation){default:e.push(Dy(t))}return e},"defaultSQSHttpAuthSchemeProvider"),Uy=n(t=>{let e=vr(t);return Object.assign(e,{authSchemePreference:xe(t.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig"),Fy=n(t=>Object.assign(t,{useDualstackEndpoint:t.useDualstackEndpoint??!1,useFipsEndpoint:t.useFipsEndpoint??!1,defaultSigningName:"sqs"}),"resolveClientEndpointParameters"),By={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},zy={name:"@aws-sdk/client-sqs",version:"3.1150.0",description:"AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sqs",license:"Apache-2.0",author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/sdk-for-javascript/"},repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sqs"},files:["dist-*/**"],sideEffects:!1,main:"./dist-cjs/index.js",module:"./dist-es/index.js",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},types:"./dist-types/index.d.ts",typesVersions:{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},scripts:{build:"concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline","build:es":"premove dist-es && tsc -p tsconfig.es.json","build:include:deps":'yarn g:turbo run build -F="$npm_package_name"',"build:types":"premove dist-types && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"premove dist-cjs dist-es dist-types","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service",test:"yarn g:vitest run --passWithNoTests","test:watch":"yarn g:vitest watch --passWithNoTests","test:integration":"yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts","test:integration:watch":"yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.mts","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.mts","test:browser":"yarn g:vitest run -c vitest.config.browser.e2e.mts","test:browser:watch":"yarn g:vitest watch -c vitest.config.browser.e2e.mts","test:index":"tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"},dependencies:{"@aws-sdk/core":"^3.978.3","@aws-sdk/credential-provider-node":"^3.972.86","@aws-sdk/middleware-sdk-sqs":"^3.972.44","@aws-sdk/types":"^3.974.6","@smithy/core":"^3.35.2","@smithy/fetch-http-handler":"^5.8.0","@smithy/node-http-handler":"^4.12.1","@smithy/types":"^4.19.0",tslib:"^2.6.2"},devDependencies:{"@smithy/snapshot-testing":"^2.3.2","@tsconfig/node20":"20.1.8","@types/node":"^20.14.8",concurrently:"7.0.0","downlevel-dts":"0.10.1",premove:"4.0.0",typescript:"~7.0.2",vitest:"^4.0.17"},engines:{node:">=20.0.0"}},vt="ref",Fe=-1,Ir=!0,An="isSet",vc="PartitionResult",Cr="booleanEquals",cs="getAttr",Rn={[vt]:"Endpoint"},us={[vt]:vc},Ke={},_n=[{[vt]:"Region"}],Pn={conditions:[[An,[Rn]],[An,_n],["aws.partition",_n,vc],[Cr,[{[vt]:"UseFIPS"},Ir]],[Cr,[{[vt]:"UseDualStack"},Ir]],[Cr,[{fn:cs,argv:[us,"supportsDualStack"]},Ir]],[Cr,[{fn:cs,argv:[us,"supportsFIPS"]},Ir]],["stringEquals",[{fn:cs,argv:[us,"name"]},"aws-us-gov"]]],results:[[Fe],[Fe,"Invalid Configuration: FIPS and custom endpoint are not supported"],[Fe,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Rn,Ke],["https://sqs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",Ke],[Fe,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sqs.{Region}.amazonaws.com",Ke],["https://sqs-fips.{Region}.{PartitionResult#dnsSuffix}",Ke],[Fe,"FIPS is enabled but this partition does not support FIPS"],["https://sqs.{Region}.{PartitionResult#dualStackDnsSuffix}",Ke],[Fe,"DualStack is enabled but this partition does not support DualStack"],["https://sqs.{Region}.{PartitionResult#dnsSuffix}",Ke],[Fe,"Invalid Configuration: Missing Region"]]},Hy=2,jy=new Int32Array([-1,1,-1,0,13,3,1,4,100000012,2,5,100000012,3,8,6,4,7,100000011,5,100000009,100000010,4,11,9,6,10,100000008,7,100000006,100000007,5,12,100000005,6,100000004,100000005,3,100000001,14,4,100000002,100000003]),qy=Bt.from(jy,Hy,Pn.conditions,Pn.results),Ky=new zt({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Vy=n((t,e={})=>Ky.get(t,()=>jt(qy,{endpointParams:t,logger:e.logger})),"defaultEndpointResolver");Ht.aws=dr;var $=class fc extends Rt{static{n(this,"SQSServiceException")}static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.sqs#SQSServiceException";constructor(e){super(e),Object.setPrototypeOf(this,fc.prototype)}},Qy=class gc extends ${static{n(this,"InvalidAddress")}static shapeId="com.amazonaws.sqs#InvalidAddress";name="InvalidAddress";$fault="client";constructor(e){super({name:"InvalidAddress",$fault:"client",...e}),Object.setPrototypeOf(this,gc.prototype)}},Wy=class yc extends ${static{n(this,"InvalidSecurity")}static shapeId="com.amazonaws.sqs#InvalidSecurity";name="InvalidSecurity";$fault="client";constructor(e){super({name:"InvalidSecurity",$fault:"client",...e}),Object.setPrototypeOf(this,yc.prototype)}},Gy=class Ec extends ${static{n(this,"OverLimit")}static shapeId="com.amazonaws.sqs#OverLimit";name="OverLimit";$fault="client";constructor(e){super({name:"OverLimit",$fault:"client",...e}),Object.setPrototypeOf(this,Ec.prototype)}},Xy=class Sc extends ${static{n(this,"QueueDoesNotExist")}static shapeId="com.amazonaws.sqs#QueueDoesNotExist";name="QueueDoesNotExist";$fault="client";constructor(e){super({name:"QueueDoesNotExist",$fault:"client",...e}),Object.setPrototypeOf(this,Sc.prototype)}},Jy=class xc extends ${static{n(this,"RequestThrottled")}static shapeId="com.amazonaws.sqs#RequestThrottled";name="RequestThrottled";$fault="client";constructor(e){super({name:"RequestThrottled",$fault:"client",...e}),Object.setPrototypeOf(this,xc.prototype)}},Yy=class bc extends ${static{n(this,"UnsupportedOperation")}static shapeId="com.amazonaws.sqs#UnsupportedOperation";name="UnsupportedOperation";$fault="client";constructor(e){super({name:"UnsupportedOperation",$fault:"client",...e}),Object.setPrototypeOf(this,bc.prototype)}},Zy=class wc extends ${static{n(this,"ResourceNotFoundException")}static shapeId="com.amazonaws.sqs#ResourceNotFoundException";name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,wc.prototype)}},eE=class Ic extends ${static{n(this,"MessageNotInflight")}static shapeId="com.amazonaws.sqs#MessageNotInflight";name="MessageNotInflight";$fault="client";constructor(e){super({name:"MessageNotInflight",$fault:"client",...e}),Object.setPrototypeOf(this,Ic.prototype)}},tE=class Cc extends ${static{n(this,"ReceiptHandleIsInvalid")}static shapeId="com.amazonaws.sqs#ReceiptHandleIsInvalid";name="ReceiptHandleIsInvalid";$fault="client";constructor(e){super({name:"ReceiptHandleIsInvalid",$fault:"client",...e}),Object.setPrototypeOf(this,Cc.prototype)}},rE=class Ac extends ${static{n(this,"BatchEntryIdsNotDistinct")}static shapeId="com.amazonaws.sqs#BatchEntryIdsNotDistinct";name="BatchEntryIdsNotDistinct";$fault="client";constructor(e){super({name:"BatchEntryIdsNotDistinct",$fault:"client",...e}),Object.setPrototypeOf(this,Ac.prototype)}},sE=class Rc extends ${static{n(this,"EmptyBatchRequest")}static shapeId="com.amazonaws.sqs#EmptyBatchRequest";name="EmptyBatchRequest";$fault="client";constructor(e){super({name:"EmptyBatchRequest",$fault:"client",...e}),Object.setPrototypeOf(this,Rc.prototype)}},aE=class _c extends ${static{n(this,"InvalidBatchEntryId")}static shapeId="com.amazonaws.sqs#InvalidBatchEntryId";name="InvalidBatchEntryId";$fault="client";constructor(e){super({name:"InvalidBatchEntryId",$fault:"client",...e}),Object.setPrototypeOf(this,_c.prototype)}},nE=class Pc extends ${static{n(this,"TooManyEntriesInBatchRequest")}static shapeId="com.amazonaws.sqs#TooManyEntriesInBatchRequest";name="TooManyEntriesInBatchRequest";$fault="client";constructor(e){super({name:"TooManyEntriesInBatchRequest",$fault:"client",...e}),Object.setPrototypeOf(this,Pc.prototype)}},iE=class Tc extends ${static{n(this,"InvalidAttributeName")}static shapeId="com.amazonaws.sqs#InvalidAttributeName";name="InvalidAttributeName";$fault="client";constructor(e){super({name:"InvalidAttributeName",$fault:"client",...e}),Object.setPrototypeOf(this,Tc.prototype)}},oE=class Nc extends ${static{n(this,"InvalidAttributeValue")}static shapeId="com.amazonaws.sqs#InvalidAttributeValue";name="InvalidAttributeValue";$fault="client";constructor(e){super({name:"InvalidAttributeValue",$fault:"client",...e}),Object.setPrototypeOf(this,Nc.prototype)}},cE=class Mc extends ${static{n(this,"QueueDeletedRecently")}static shapeId="com.amazonaws.sqs#QueueDeletedRecently";name="QueueDeletedRecently";$fault="client";constructor(e){super({name:"QueueDeletedRecently",$fault:"client",...e}),Object.setPrototypeOf(this,Mc.prototype)}},uE=class kc extends ${static{n(this,"QueueNameExists")}static shapeId="com.amazonaws.sqs#QueueNameExists";name="QueueNameExists";$fault="client";constructor(e){super({name:"QueueNameExists",$fault:"client",...e}),Object.setPrototypeOf(this,kc.prototype)}},dE=class $c extends ${static{n(this,"InvalidIdFormat")}static shapeId="com.amazonaws.sqs#InvalidIdFormat";name="InvalidIdFormat";$fault="client";constructor(e){super({name:"InvalidIdFormat",$fault:"client",...e}),Object.setPrototypeOf(this,$c.prototype)}},lE=class Oc extends ${static{n(this,"PurgeQueueInProgress")}static shapeId="com.amazonaws.sqs#PurgeQueueInProgress";name="PurgeQueueInProgress";$fault="client";constructor(e){super({name:"PurgeQueueInProgress",$fault:"client",...e}),Object.setPrototypeOf(this,Oc.prototype)}},pE=class Dc extends ${static{n(this,"KmsAccessDenied")}static shapeId="com.amazonaws.sqs#KmsAccessDenied";name="KmsAccessDenied";$fault="client";constructor(e){super({name:"KmsAccessDenied",$fault:"client",...e}),Object.setPrototypeOf(this,Dc.prototype)}},mE=class Lc extends ${static{n(this,"KmsDisabled")}static shapeId="com.amazonaws.sqs#KmsDisabled";name="KmsDisabled";$fault="client";constructor(e){super({name:"KmsDisabled",$fault:"client",...e}),Object.setPrototypeOf(this,Lc.prototype)}},hE=class Uc extends ${static{n(this,"KmsInvalidKeyUsage")}static shapeId="com.amazonaws.sqs#KmsInvalidKeyUsage";name="KmsInvalidKeyUsage";$fault="client";constructor(e){super({name:"KmsInvalidKeyUsage",$fault:"client",...e}),Object.setPrototypeOf(this,Uc.prototype)}},vE=class Fc extends ${static{n(this,"KmsInvalidState")}static shapeId="com.amazonaws.sqs#KmsInvalidState";name="KmsInvalidState";$fault="client";constructor(e){super({name:"KmsInvalidState",$fault:"client",...e}),Object.setPrototypeOf(this,Fc.prototype)}},fE=class Bc extends ${static{n(this,"KmsNotFound")}static shapeId="com.amazonaws.sqs#KmsNotFound";name="KmsNotFound";$fault="client";constructor(e){super({name:"KmsNotFound",$fault:"client",...e}),Object.setPrototypeOf(this,Bc.prototype)}},gE=class zc extends ${static{n(this,"KmsOptInRequired")}static shapeId="com.amazonaws.sqs#KmsOptInRequired";name="KmsOptInRequired";$fault="client";constructor(e){super({name:"KmsOptInRequired",$fault:"client",...e}),Object.setPrototypeOf(this,zc.prototype)}},yE=class Hc extends ${static{n(this,"KmsThrottled")}static shapeId="com.amazonaws.sqs#KmsThrottled";name="KmsThrottled";$fault="client";constructor(e){super({name:"KmsThrottled",$fault:"client",...e}),Object.setPrototypeOf(this,Hc.prototype)}},EE=class jc extends ${static{n(this,"InvalidMessageContents")}static shapeId="com.amazonaws.sqs#InvalidMessageContents";name="InvalidMessageContents";$fault="client";constructor(e){super({name:"InvalidMessageContents",$fault:"client",...e}),Object.setPrototypeOf(this,jc.prototype)}},SE=class qc extends ${static{n(this,"BatchRequestTooLong")}static shapeId="com.amazonaws.sqs#BatchRequestTooLong";name="BatchRequestTooLong";$fault="client";constructor(e){super({name:"BatchRequestTooLong",$fault:"client",...e}),Object.setPrototypeOf(this,qc.prototype)}},xE="BatchEntryIdsNotDistinct",bE="BinaryList",Kc="BinaryListValues",Ps="BinaryListValue",wE="BatchRequestTooLong",Vc="BinaryValue",IE="DelaySeconds",Qc="DataType",CE="EmptyBatchRequest",AE="InvalidAddress",RE="InvalidAttributeName",_E="InvalidAttributeValue",PE="InvalidBatchEntryId",TE="InvalidIdFormat",NE="InvalidMessageContents",ME="InvalidSecurity",kE="KmsAccessDenied",$E="KmsDisabled",OE="KmsInvalidKeyUsage",DE="KmsInvalidState",LE="KmsNotFound",UE="KmsOptInRequired",FE="KmsThrottled",BE="MessageAttributes",zE="MessageAttributeValue",HE="MessageAttribute",jE="MessageBody",qE="MessageBodyAttributeMap",KE="MessageBodySystemAttributeMap",VE="MessageDeduplicationId",QE="MD5OfMessageAttributes",WE="MD5OfMessageBody",GE="MD5OfMessageSystemAttributes",XE="MessageGroupId",JE="MessageId",YE="MessageNotInflight",ZE="MessageSystemAttributes",eS="MessageSystemAttributeValue",tS="MessageSystemAttribute",Wc="Name",rS="OverLimit",sS="PurgeQueueInProgress",aS="QueueDoesNotExist",nS="QueueDeletedRecently",iS="QueueNameExists",oS="QueueUrl",cS="ReceiptHandleIsInvalid",uS="ResourceNotFoundException",dS="RequestThrottled",lS="StringList",Gc="StringListValues",Ts="StringListValue",pS="SendMessage",mS="SendMessageRequest",hS="SendMessageResult",vS="SequenceNumber",Xc="StringValue",fS="TooManyEntriesInBatchRequest",gS="UnsupportedOperation",Jc="Value",j="awsQueryError",D="client",L="error",q="httpError",z="message",Yc="smithy.ts.sdk.synthetic.com.amazonaws.sqs",Xe="xmlFlattened",fe="xmlName",A="com.amazonaws.sqs",Zc=new Pe(Yc),yS=[-3,Yc,"SQSServiceException",0,[],[]];Zc.registerError(yS,$);var O=new Pe(A),ES=[-3,A,xE,{[j]:["AWS.SimpleQueueService.BatchEntryIdsNotDistinct",400],[L]:D,[q]:400},[z],[0]];O.registerError(ES,rE);var SS=[-3,A,wE,{[j]:["AWS.SimpleQueueService.BatchRequestTooLong",400],[L]:D,[q]:400},[z],[0]];O.registerError(SS,SE);var xS=[-3,A,CE,{[j]:["AWS.SimpleQueueService.EmptyBatchRequest",400],[L]:D,[q]:400},[z],[0]];O.registerError(xS,sE);var bS=[-3,A,AE,{[j]:["InvalidAddress",404],[L]:D,[q]:404},[z],[0]];O.registerError(bS,Qy);var wS=[-3,A,RE,{[L]:D},[z],[0]];O.registerError(wS,iE);var IS=[-3,A,_E,{[L]:D},[z],[0]];O.registerError(IS,oE);var CS=[-3,A,PE,{[j]:["AWS.SimpleQueueService.InvalidBatchEntryId",400],[L]:D,[q]:400},[z],[0]];O.registerError(CS,aE);var AS=[-3,A,TE,{[L]:D},[],[]];O.registerError(AS,dE);var RS=[-3,A,NE,{[L]:D},[z],[0]];O.registerError(RS,EE);var _S=[-3,A,ME,{[j]:["InvalidSecurity",403],[L]:D,[q]:403},[z],[0]];O.registerError(_S,Wy);var PS=[-3,A,kE,{[j]:["KMS.AccessDeniedException",400],[L]:D,[q]:400},[z],[0]];O.registerError(PS,pE);var TS=[-3,A,$E,{[j]:["KMS.DisabledException",400],[L]:D,[q]:400},[z],[0]];O.registerError(TS,mE);var NS=[-3,A,OE,{[j]:["KMS.InvalidKeyUsageException",400],[L]:D,[q]:400},[z],[0]];O.registerError(NS,hE);var MS=[-3,A,DE,{[j]:["KMS.InvalidStateException",400],[L]:D,[q]:400},[z],[0]];O.registerError(MS,vE);var kS=[-3,A,LE,{[j]:["KMS.NotFoundException",400],[L]:D,[q]:400},[z],[0]];O.registerError(kS,fE);var $S=[-3,A,UE,{[j]:["KMS.OptInRequired",403],[L]:D,[q]:403},[z],[0]];O.registerError($S,gE);var OS=[-3,A,FE,{[j]:["KMS.ThrottlingException",400],[L]:D,[q]:400},[z],[0]];O.registerError(OS,yE);var DS=[-3,A,YE,{[j]:["AWS.SimpleQueueService.MessageNotInflight",400],[L]:D,[q]:400},[],[]];O.registerError(DS,eE);var LS=[-3,A,rS,{[j]:["OverLimit",403],[L]:D,[q]:403},[z],[0]];O.registerError(LS,Gy);var US=[-3,A,sS,{[j]:["AWS.SimpleQueueService.PurgeQueueInProgress",403],[L]:D,[q]:403},[z],[0]];O.registerError(US,lE);var FS=[-3,A,nS,{[j]:["AWS.SimpleQueueService.QueueDeletedRecently",400],[L]:D,[q]:400},[z],[0]];O.registerError(FS,cE);var BS=[-3,A,aS,{[j]:["AWS.SimpleQueueService.NonExistentQueue",400],[L]:D,[q]:400},[z],[0]];O.registerError(BS,Xy);var zS=[-3,A,iS,{[j]:["QueueAlreadyExists",400],[L]:D,[q]:400},[z],[0]];O.registerError(zS,uE);var HS=[-3,A,cS,{[j]:["ReceiptHandleIsInvalid",404],[L]:D,[q]:404},[z],[0]];O.registerError(HS,tE);var jS=[-3,A,dS,{[j]:["RequestThrottled",403],[L]:D,[q]:403},[z],[0]];O.registerError(jS,Jy);var qS=[-3,A,uS,{[j]:["ResourceNotFoundException",404],[L]:D,[q]:404},[z],[0]];O.registerError(qS,Zy);var KS=[-3,A,fS,{[j]:["AWS.SimpleQueueService.TooManyEntriesInBatchRequest",400],[L]:D,[q]:400},[z],[0]];O.registerError(KS,nE);var VS=[-3,A,gS,{[j]:["AWS.SimpleQueueService.UnsupportedOperation",400],[L]:D,[q]:400},[z],[0]];O.registerError(VS,Yy);var QS=[Zc,O],WS=[3,A,zE,0,[Qc,Xc,Vc,Gc,Kc],[0,0,21,[()=>t0,{[Xe]:1,[fe]:Ts}],[()=>e0,{[Xe]:1,[fe]:Ps}]],1],GS=[3,A,eS,0,[Qc,Xc,Vc,Gc,Kc],[0,0,21,[()=>t0,{[Xe]:1,[fe]:Ts}],[()=>e0,{[Xe]:1,[fe]:Ps}]],1],XS=[3,A,mS,0,[oS,jE,IE,BE,ZE,VE,XE],[0,0,1,[()=>YS,{[Xe]:1,[fe]:HE}],[()=>ZS,{[Xe]:1,[fe]:tS}],0,0],2],JS=[3,A,hS,0,[WE,QE,GE,JE,vS],[0,0,0,0,0]],e0=[1,A,bE,0,[21,{[fe]:Ps}]],t0=[1,A,lS,0,[0,{[fe]:Ts}]],YS=[2,A,qE,0,[0,{[fe]:Wc}],[()=>WS,{[fe]:Jc}]],ZS=[2,A,KE,0,[0,{[fe]:Wc}],[()=>GS,{[fe]:Jc}]],e1=[9,A,pS,0,()=>XS,()=>JS],t1=n(t=>({apiVersion:"2012-11-05",base64Decoder:t?.base64Decoder??rt,base64Encoder:t?.base64Encoder??qe,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??Vy,extensions:t?.extensions??[],httpAuthSchemeProvider:t?.httpAuthSchemeProvider??Ly,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:n(e=>e.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new mr}],logger:t?.logger??new je,md5:t?.md5??On,protocol:t?.protocol??b0,protocolSettings:t?.protocolSettings??{defaultNamespace:"com.amazonaws.sqs",errorTypeRegistries:QS,version:"2012-11-05",serviceTarget:"AmazonSQS",awsQueryCompatible:!0},serviceId:t?.serviceId??"SQS",sha256:t?.sha256??fr,urlParser:t?.urlParser??wt,utf8Decoder:t?.utf8Decoder??et,utf8Encoder:t?.utf8Encoder??tt}),"getRuntimeConfig$1"),r1=n(t=>{Pt(process.version);let e=Ft(t),r=n(()=>e().then(_t),"defaultConfigProvider"),s=t1(t);It(process.version);let a={profile:t?.profile,logger:s.logger};return{...s,...t,runtime:"node",defaultsMode:e,authSchemePreference:t?.authSchemePreference??U(hr,a),bodyLengthChecker:t?.bodyLengthChecker??kt,credentialDefaultProvider:t?.credentialDefaultProvider??ws,defaultUserAgentProvider:t?.defaultUserAgentProvider??cr({serviceId:s.serviceId,clientVersion:zy.version}),maxAttempts:t?.maxAttempts??U(Xt,t),region:t?.region??U(Dt,{...Lt,...a}),requestHandler:bt.create(t?.requestHandler??r),retryMode:t?.retryMode??U({...Yt,default:n(async()=>(await r()).retryMode||Gt,"default")},t),streamCollector:t?.streamCollector??xt,useDualstackEndpoint:t?.useDualstackEndpoint??U($t,a),useFipsEndpoint:t?.useFipsEndpoint??U(Ot,a),userAgentAppId:t?.userAgentAppId??U(ur,a)}},"getRuntimeConfig"),s1=n(t=>{let e=t.httpAuthSchemes,r=t.httpAuthSchemeProvider,s=t.credentials;return{setHttpAuthScheme(a){let i=e.findIndex(o=>o.schemeId===a.schemeId);i===-1?e.push(a):e.splice(i,1,a)},httpAuthSchemes(){return e},setHttpAuthSchemeProvider(a){r=a},httpAuthSchemeProvider(){return r},setCredentials(a){s=a},credentials(){return s}}},"getHttpAuthExtensionConfiguration"),a1=n(t=>({httpAuthSchemes:t.httpAuthSchemes(),httpAuthSchemeProvider:t.httpAuthSchemeProvider(),credentials:t.credentials()}),"resolveHttpAuthRuntimeConfig"),n1=n((t,e)=>{let r=Object.assign(lr(t),Tt(t),Vt(t),s1(t));return e.forEach(s=>s.configure(r)),Object.assign(t,pr(r),Nt(r),Qt(r),a1(r))},"resolveRuntimeExtensions"),i1=class extends Ct{static{n(this,"SQSClient")}config;constructor(...[t]){let e=r1(t||{});super(e),this.initConfig=e;let r=Fy(e),s=ir(r),a=Jt(s),i=Ut(a),o=i,c=n1(Uy(_y(qt(o))),t?.extensions||[]);this.config=c,this.middlewareStack.use(At(this.config)),this.middlewareStack.use(or(this.config)),this.middlewareStack.use(Zt(this.config)),this.middlewareStack.use(Wt(this.config)),this.middlewareStack.use(er(this.config)),this.middlewareStack.use(tr(this.config)),this.middlewareStack.use(rr(this.config)),this.middlewareStack.use(Ny(this.config)),this.middlewareStack.use(sr(this.config,{httpAuthSchemeParametersProvider:Oy,identityProviderConfigProvider:n(async u=>new nr({"aws.auth#sigv4":u.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(ar(this.config))}destroy(){super.destroy()}},o1=Mt(By,"AmazonSQS","SQSClient",Kt),c1={},u1=n((t,e,r,s)=>[$y(r)],"_mw3"),d1=class extends o1(c1,u1,"SendMessage",e1){static{n(this,"SendMessageCommand")}},Tn="It seems that Emails service has not been set up correctly. Please make sure you've used official CDK construct and that you've granted access to your labmda function.",l1=de({BEESOLVE_EMAILS_QUEUE_URL:Lr(re(),{message:Tn}),BEESOLVE_EMAILS_ATTACHMENTS_BUCKET:Lr(re(),{message:Tn})}),Nn=Fr(l1,process.env),p1=new Ay,m1=new i1({}),h1=class{static{n(this,"Email")}props;s3Client;sqsClient;constructor(t={}){this.props=t,this.s3Client=t.s3Client??p1,this.sqsClient=t.sqsClient??m1}sendEmail=n(async t=>{let e=Ia(32).toString("base64url"),{attachments:r,...s}=t,a=r?await o0(async()=>Promise.all(r.map(async i=>{if(i.type==="public")return i;if(i.type==="s3"){let o=Ia(32).toString("base64url"),{body:c,...u}=i;return await this.s3Client.send(new Ry({Bucket:Nn.BEESOLVE_EMAILS_ATTACHMENTS_BUCKET,Key:o,Body:c})),{...u,fileId:o}}i0(i)}))):void 0;return await this.sqsClient.send(new d1({QueueUrl:Nn.BEESOLVE_EMAILS_QUEUE_URL,MessageBody:JSON.stringify({id:e,...s,attachments:a})})),{requestId:e}},"sendEmail")},v1=class{static{n(this,"Setup")}props;constructor(t){this.props=t}isComplete=n(async()=>{let{Item:t}=await this.props.dynamo.send(new Ks({TableName:this.props.tableName,Key:{pk:"system#config",sk:"setup"}}));return t!=null},"isComplete");markComplete=n(async({adminEmail:t})=>{await this.props.dynamo.send(new Vs({TableName:this.props.tableName,Item:{pk:"system#config",sk:"setup",completedAt:new Date().toISOString(),adminEmail:t},ConditionExpression:"attribute_not_exists(pk) AND attribute_not_exists(sk)"}))},"markComplete")},Be=Qs.from(new qs,{marshallOptions:{removeUndefinedValues:!0,convertEmptyValues:!1}}),f1=new Ys({dynamo:Be,tableName:gt,reverseIndexName:Cs}),g1=new Gs({dynamo:Be,tableName:gt,reverseIndexName:Cs}),y1=new Xs({dynamo:Be,tableName:gt}),E1=new Js({dynamo:Be,tableName:gt,reverseIndexName:Cs}),S1=new Ws({dynamo:Be,tableName:gt}),Mn=new wa({dynamo:Be,tableName:Ln,reverseIndexName:z0}),x1=new v1({dynamo:Be,tableName:Ln}),b1=new wm,w1=new h1,I1=new Set(["/sign-in","/sign-in/verify","/setup"]),C1=n(async({event:t,resolve:e})=>{t.locals.services={totals:f1,breakdowns:g1,config:y1,sitemapUrlStats:E1,markers:S1,users:Mn,setup:x1,authClient:b1,email:w1};let r=I1.has(t.url.pathname);if(t.locals.session.type!=="valid"&&!r&&Bs(303,"/sign-in"),t.locals.session.type==="valid"&&!r)try{let s=await Mn.getByEmail({email:t.locals.session.validSession.userId});t.locals.user={email:s.email,type:s.type,domains:s.domains}}catch{t.locals.user=null}else t.locals.user=null;return e(t)},"authGuard");process.env.DEV_USER_EMAIL;var ux=qr(Nm({fallbackSession:void 0}),C1);export{Qr as a,H0 as b,tu as c,ru as d,su as e,au as f,nu as g,iu as h,ou as i,cu as j,uu as k,Fn as l,Bn as m,ox as n,ux as o};
|
|
24
|
+
//# sourceMappingURL=chunk-CAZXUYI4.js.map
|