@yuuichi/tools-assets 1.0.0-ym.2 → 1.0.0-ym.3

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.
Files changed (249) hide show
  1. package/dist/carbon/404/index.html +2 -2
  2. package/dist/carbon/_next/static/chunks/{webpack-c7eee30d6a530fba.js → webpack-8ea46b5df30fd15d.js} +1 -1
  3. package/dist/carbon/about/index.html +2 -2
  4. package/dist/carbon/account/index.html +2 -2
  5. package/dist/carbon/embed/index.html +2 -2
  6. package/dist/carbon/index.html +2 -2
  7. package/dist/carbon/snippets/index.html +2 -2
  8. package/dist/md/index.html +115 -115
  9. package/dist/md/static/js/{md-AIAssistantPanel-CF4e4Vu5.js → md-AIAssistantPanel-us_Xy1ve.js} +1 -1
  10. package/dist/md/static/js/{md-AIConfig-DO9zDt5U.js → md-AIConfig-DipZ3Ptv.js} +1 -1
  11. package/dist/md/static/js/{md-AIImageGeneratorPanel-CD1uJVoh.js → md-AIImageGeneratorPanel-HTas7vp1.js} +1 -1
  12. package/dist/md/static/js/{md-AccountDialog-B9bwHblP.js → md-AccountDialog-a2EBQZJc.js} +1 -1
  13. package/dist/md/static/js/{md-CssEditor-CscA_fkp.js → md-CssEditor-ozEJp5Sv.js} +1 -1
  14. package/dist/md/static/js/{md-CustomComponentDialog-B2dcYBPu.js → md-CustomComponentDialog-BOj-tPmA.js} +1 -1
  15. package/dist/md/static/js/{md-EditorStateDialog-DDwS_6Tq.js → md-EditorStateDialog-ZS8SQA6r.js} +1 -1
  16. package/dist/md/static/js/{md-EmojiManagerPanel-D1CqtlJh.js → md-EmojiManagerPanel-R60RFW3h.js} +1 -1
  17. package/dist/md/static/js/{md-FormulaEditorDialog-BMRetjWG.js → md-FormulaEditorDialog-B7o7_lfp.js} +1 -1
  18. package/dist/md/static/js/{md-ImportMarkdownDialog-DxL17zpq.js → md-ImportMarkdownDialog--aRmECdx.js} +1 -1
  19. package/dist/md/static/js/{md-KeyboardShortcutsDialog-uRCXJSjd.js → md-KeyboardShortcutsDialog-DdYNHCQo.js} +1 -1
  20. package/dist/md/static/js/{md-LocalImageUploadDialog-avfB7LHB.js → md-LocalImageUploadDialog-4NQNrFC3.js} +1 -1
  21. package/dist/md/static/js/{md-MarketplaceDialog-Bx7VHRvQ.js → md-MarketplaceDialog-D8PFljmc.js} +1 -1
  22. package/dist/md/static/js/{md-PdfExportDialog-CLmsnkhd.js → md-PdfExportDialog-DUqHUNlp.js} +1 -1
  23. package/dist/md/static/js/{md-PreferencesDialog-DN-JtCU5.js → md-PreferencesDialog-CPid6hAT.js} +1 -1
  24. package/dist/md/static/js/{md-RightSlider-CDcYf_n7.js → md-RightSlider-CPoHhCnv.js} +1 -1
  25. package/dist/md/static/js/{md-ShareDialog-DK8_fzlb.js → md-ShareDialog-gc_bjaew.js} +1 -1
  26. package/dist/md/static/js/{md-SidebarAIToolbar-CBndViyU.js → md-SidebarAIToolbar-DON40byZ.js} +2 -2
  27. package/dist/md/static/js/{md-SlashCommandMenu-CBAaWcc8.js → md-SlashCommandMenu-D8mkAGQg.js} +1 -1
  28. package/dist/md/static/js/{md-SyncDialog-C6UjzXRA.js → md-SyncDialog-BJzCbPhW.js} +1 -1
  29. package/dist/md/static/js/{md-TableEditDialog-DBWg4Ms5.js → md-TableEditDialog-dqSrhSK9.js} +1 -1
  30. package/dist/md/static/js/{md-TemplateDialog-CPjjDwhb.js → md-TemplateDialog-B7LQsEFN.js} +1 -1
  31. package/dist/md/static/js/{md-UploadImgDialog-BapxZ5ip.js → md-UploadImgDialog-DXVzf9bJ.js} +2 -2
  32. package/dist/md/static/js/{md-abnfDiagram-YUKMZFIV-CmpHTRa0.js → md-abnfDiagram-YUKMZFIV-yXC3j5Zj.js} +1 -1
  33. package/dist/md/static/js/{md-aiConfig-CMgvtyLF.js → md-aiConfig-BZ5KFSrp.js} +1 -1
  34. package/dist/md/static/js/{md-architecture-WOLXFQ4H-DQZEV3vU.js → md-architecture-WOLXFQ4H-BSy7SJLa.js} +1 -1
  35. package/dist/md/static/js/{md-architectureDiagram-47P4ROYG-PyGo0e45.js → md-architectureDiagram-47P4ROYG-W0axx-SA.js} +1 -1
  36. package/dist/md/static/js/{md-auth-B320eWZs.js → md-auth-Crd5XmCA.js} +2 -2
  37. package/dist/md/static/js/{md-blockDiagram-E7TT5TSB-uiHRgnyh.js → md-blockDiagram-E7TT5TSB-_95sCEdf.js} +1 -1
  38. package/dist/md/static/js/{md-c4Diagram-CRA5TL53-9HPFN7-t.js → md-c4Diagram-CRA5TL53-DDyVSp6K.js} +1 -1
  39. package/dist/md/static/js/md-channel-Doa9ociN.js +1 -0
  40. package/dist/md/static/js/{md-chunk-2BW5OAIV-D_IuJv-P.js → md-chunk-2BW5OAIV-DoE-Ktp5.js} +1 -1
  41. package/dist/md/static/js/{md-chunk-3YJQHVM4-CiXjgT0L.js → md-chunk-3YJQHVM4-CY2IEILW.js} +1 -1
  42. package/dist/md/static/js/{md-chunk-4EA7E6EY-aSJB1UxS.js → md-chunk-4EA7E6EY-DaeF17V5.js} +1 -1
  43. package/dist/md/static/js/{md-chunk-7TKQ45FW-C72c6C3B.js → md-chunk-7TKQ45FW-1WLoZi3m.js} +1 -1
  44. package/dist/md/static/js/{md-chunk-AW2ZBBNX-6YxV8_ON.js → md-chunk-AW2ZBBNX-CIwxELDI.js} +1 -1
  45. package/dist/md/static/js/{md-chunk-DBDB3WZW-HS7MXf4M.js → md-chunk-DBDB3WZW-CjZkueP3.js} +1 -1
  46. package/dist/md/static/js/{md-chunk-E2ZNV5FY-BWwTF2Pa.js → md-chunk-E2ZNV5FY-u5fqP9bt.js} +1 -1
  47. package/dist/md/static/js/{md-chunk-EU5HNXII-DywVMjVA.js → md-chunk-EU5HNXII-BRlS6DL3.js} +1 -1
  48. package/dist/md/static/js/{md-chunk-FVRAUYC3-YieLSFki.js → md-chunk-FVRAUYC3-yK7bFOSE.js} +1 -1
  49. package/dist/md/static/js/{md-chunk-HJ2JQQFS-DrdiUr0s.js → md-chunk-HJ2JQQFS-BJK-1AvL.js} +1 -1
  50. package/dist/md/static/js/{md-chunk-HTAEGDNF-B5mqTFVi.js → md-chunk-HTAEGDNF-BfoE9JrD.js} +1 -1
  51. package/dist/md/static/js/{md-chunk-KQW6MTUR-CAR3krhO.js → md-chunk-KQW6MTUR-DTVx9KwD.js} +1 -1
  52. package/dist/md/static/js/{md-chunk-NTY3LDVX-DSdR7sc4.js → md-chunk-NTY3LDVX-DvyItaaM.js} +1 -1
  53. package/dist/md/static/js/{md-chunk-VPRB5NB3-CLIIed9Z.js → md-chunk-VPRB5NB3-SvApKM-T.js} +1 -1
  54. package/dist/md/static/js/{md-chunk-XC4XBNZT-BK_ztb60.js → md-chunk-XC4XBNZT-7StNwYSC.js} +1 -1
  55. package/dist/md/static/js/{md-classDiagram-v2-K4WV4PDN-CCHSKnhN.js → md-classDiagram-v2-K4WV4PDN-2ZzeG7OD.js} +1 -1
  56. package/dist/md/static/js/{md-client-CGJU0lXF.js → md-client-Cc-kin1G.js} +1 -1
  57. package/dist/md/static/js/{md-clipboard-BYFl_-FZ.js → md-clipboard-2tuieAqv.js} +1 -1
  58. package/dist/md/static/js/{md-confirm-BihqdS5v.js → md-confirm-C91Js7gx.js} +1 -1
  59. package/dist/md/static/js/{md-cynefin-EF2NZ3EQ-Bkz4pbNE.js → md-cynefin-EF2NZ3EQ-CwlHy8Fe.js} +1 -1
  60. package/dist/md/static/js/{md-cynefinDiagram-3GCD6N5R-Ds9PXIId.js → md-cynefinDiagram-3GCD6N5R-B4P2YDd_.js} +1 -1
  61. package/dist/md/static/js/{md-dagre-W4DXFKR2-DkKVDIFC.js → md-dagre-W4DXFKR2-BljSgqMw.js} +1 -1
  62. package/dist/md/static/js/{md-default-content-Cpz5V9G-.js → md-default-content-BVHH_ma1.js} +1 -1
  63. package/dist/md/static/js/{md-diagram-2UJZ2QOL-qZHiizXP.js → md-diagram-2UJZ2QOL-BVNXWDuL.js} +1 -1
  64. package/dist/md/static/js/{md-diagram-OVF4WLC6-CN8lep7L.js → md-diagram-OVF4WLC6-CZGimtJG.js} +1 -1
  65. package/dist/md/static/js/{md-diagram-PFPMY2P6-BSwpiHtn.js → md-diagram-PFPMY2P6-BZLJdTj-.js} +1 -1
  66. package/dist/md/static/js/{md-diagram-UMYRVEAY-DY0LU3Hd.js → md-diagram-UMYRVEAY-Dv6fQtc7.js} +1 -1
  67. package/dist/md/static/js/{md-diagram-YEKJPTXX-QY8QLwTU.js → md-diagram-YEKJPTXX-BLihqTUb.js} +1 -1
  68. package/dist/md/static/js/{md-diagram-ZIFT7M5P-BRN2Im2O.js → md-diagram-ZIFT7M5P-0_ozbaKp.js} +1 -1
  69. package/dist/md/static/js/{md-dist-es-cVMEFCse.js → md-dist-es-BYqC6C7v.js} +2 -2
  70. package/dist/md/static/js/{md-ebnfDiagram-VR2GEFS7-DtH7XQzh.js → md-ebnfDiagram-VR2GEFS7-CiKyRSmW.js} +1 -1
  71. package/dist/md/static/js/{md-editor-CAilbZEo.js → md-editor-dmKdA3Kt.js} +2 -2
  72. package/dist/md/static/js/{md-elk-IJKZMXRS-DA-GN0L1.js → md-elk-IJKZMXRS-AigigZ8E.js} +1 -1
  73. package/dist/md/static/js/{md-emojiPack-iMjrppKC.js → md-emojiPack-CR0nAcjN.js} +1 -1
  74. package/dist/md/static/js/{md-erDiagram-O2IAPWRE-CPaqE6JI.js → md-erDiagram-O2IAPWRE-Dhq-wGvA.js} +1 -1
  75. package/dist/md/static/js/{md-eventmodeling-K75KTNOO-Bc6tu7KV.js → md-eventmodeling-K75KTNOO-CCDzv-4-.js} +1 -1
  76. package/dist/md/static/js/{md-export-BjrxWZ9r.js → md-export-5_bPVYOW.js} +1 -1
  77. package/dist/md/static/js/{md-extensions-Glu0Pgjx.js → md-extensions-e4cM3aYT.js} +3 -3
  78. package/dist/md/static/js/md-flowDiagram-OXPTDLAJ-C9WxiYA6.js +1 -0
  79. package/dist/md/static/js/{md-folder-source-panel-DFFe32GQ.js → md-folder-source-panel-Cjb2ipM8.js} +1 -1
  80. package/dist/md/static/js/{md-formatDoc-BNWCU6io.js → md-formatDoc-X7L5KPCC.js} +1 -1
  81. package/dist/md/static/js/{md-ganttDiagram-R7TSEDQI-BayINpXC.js → md-ganttDiagram-R7TSEDQI-Dnc8it4_.js} +1 -1
  82. package/dist/md/static/js/{md-gitGraph-VSP46ZUC-BUwLrmK3.js → md-gitGraph-VSP46ZUC-CJA3GO-s.js} +1 -1
  83. package/dist/md/static/js/{md-gitGraphDiagram-XJZIOB7I-B5H3jLer.js → md-gitGraphDiagram-XJZIOB7I-D25VoPkX.js} +1 -1
  84. package/dist/md/static/js/{md-index-C3THyG4M.js → md-index-DG9NYthW.js} +4 -4
  85. package/dist/md/static/js/{md-index.browser-SY9JAlDq.js → md-index.browser-K5L-ku5D.js} +1 -1
  86. package/dist/md/static/js/{md-info-OHQRW6UA-CNO4zTrQ.js → md-info-OHQRW6UA-DmrfouOF.js} +1 -1
  87. package/dist/md/static/js/{md-infoDiagram-5W2HQ5XZ-mYYrIV4u.js → md-infoDiagram-5W2HQ5XZ-DqsT3fxX.js} +1 -1
  88. package/dist/md/static/js/{md-ishikawaDiagram-K3B6WC7H-NabgEAym.js → md-ishikawaDiagram-K3B6WC7H-CGxmPyWC.js} +1 -1
  89. package/dist/md/static/js/{md-journeyDiagram-COXZFDF6-qclo2Jhn.js → md-journeyDiagram-COXZFDF6-CMFkEsZg.js} +1 -1
  90. package/dist/md/static/js/{md-kanban-definition-P3RFRI5V-CfwJaDLN.js → md-kanban-definition-P3RFRI5V-7yL2oXvW.js} +1 -1
  91. package/dist/md/static/js/{md-locale-BZywaihl.js → md-locale-CTEJ5qub.js} +1 -1
  92. package/dist/md/static/js/{md-markdown-CHof_I2H.js → md-markdown-CYQvdsGB.js} +1 -1
  93. package/dist/md/static/js/{md-marketplace-Ds3POzKO.js → md-marketplace-D7PO9b25.js} +1 -1
  94. package/dist/md/static/js/{md-mermaid-parser.core-hfCUgsuY.js → md-mermaid-parser.core-Dno_3OOY.js} +3 -3
  95. package/dist/md/static/js/{md-mermaid.core-qk0l9q9D.js → md-mermaid.core-DpNNEtvY.js} +4 -4
  96. package/dist/md/static/js/{md-mindmap-definition-LZFPQGKD-C1cMWO7B.js → md-mindmap-definition-LZFPQGKD-BHFXo7sy.js} +1 -1
  97. package/dist/md/static/js/{md-oauth-CXETOhnZ.js → md-oauth-BVOWaT0k.js} +1 -1
  98. package/dist/md/static/js/{md-packet-JDAUHWVQ-DrOa3aVS.js → md-packet-JDAUHWVQ-TLKrPuwE.js} +1 -1
  99. package/dist/md/static/js/{md-pegDiagram-BGZESJAR-DU_dIOZl.js → md-pegDiagram-BGZESJAR-BbsXU5tu.js} +1 -1
  100. package/dist/md/static/js/{md-pie-XZMESJXO-f8Y5JjcT.js → md-pie-XZMESJXO-DHTtiSGQ.js} +1 -1
  101. package/dist/md/static/js/{md-pieDiagram-CAPJLFHJ-mF6qIsfp.js → md-pieDiagram-CAPJLFHJ-IXxjP4RK.js} +1 -1
  102. package/dist/md/static/js/{md-post-CHezuK0L.js → md-post-CoWfijHq.js} +1 -1
  103. package/dist/md/static/js/{md-post-slider-Xq8kjXXi.js → md-post-slider-DvstwGhS.js} +2 -2
  104. package/dist/md/static/js/{md-preload-helper-2--UFWE9.js → md-preload-helper-BiJVKFcG.js} +1 -1
  105. package/dist/md/static/js/{md-provider-registry-MsrJ0aEj.js → md-provider-registry-Dgk4tOKV.js} +1 -1
  106. package/dist/md/static/js/{md-providers-D1N92-lC.js → md-providers-dij0qfCR.js} +2 -2
  107. package/dist/md/static/js/{md-quadrantDiagram-GDMTTRAM-DY68Gfb6.js → md-quadrantDiagram-GDMTTRAM-Q8AMIZ-i.js} +1 -1
  108. package/dist/md/static/js/{md-quickCommands-d-ysQNPU.js → md-quickCommands-Cz9hGooM.js} +1 -1
  109. package/dist/md/static/js/{md-radar-ABXABTNO-C9IJ98Xg.js → md-radar-ABXABTNO-Dor30ynt.js} +1 -1
  110. package/dist/md/static/js/{md-railroad-I3PHUGI6-DB6t5P7O.js → md-railroad-I3PHUGI6-faQMdBtg.js} +1 -1
  111. package/dist/md/static/js/{md-railroad-abnf-LNEFI6M7-DQRmhEC7.js → md-railroad-abnf-LNEFI6M7-ChLiahGu.js} +1 -1
  112. package/dist/md/static/js/{md-railroad-ebnf-DWYD2UWJ-Dp3zLEwp.js → md-railroad-ebnf-DWYD2UWJ-hekUkZSp.js} +1 -1
  113. package/dist/md/static/js/{md-railroad-peg-JR7BVNR7-D9gfVlNF.js → md-railroad-peg-JR7BVNR7-DGH-t6S1.js} +1 -1
  114. package/dist/md/static/js/{md-railroadDiagram-SM67HX2B-Cy5Q3yLw.js → md-railroadDiagram-SM67HX2B-B6IIKcWG.js} +1 -1
  115. package/dist/md/static/js/{md-renderer-4AQ1OZU1.js → md-renderer-BDWwj5ym.js} +1 -1
  116. package/dist/md/static/js/{md-requirementDiagram-X7JNWC4A-Ca1L-MSu.js → md-requirementDiagram-X7JNWC4A-DW2Fzihm.js} +1 -1
  117. package/dist/md/static/js/{md-sankeyDiagram-UM26HJRW-C4SRu7DB.js → md-sankeyDiagram-UM26HJRW-DesL71pJ.js} +1 -1
  118. package/dist/md/static/js/{md-sequenceDiagram-ZO4K6R2Y-DQDdiL2I.js → md-sequenceDiagram-ZO4K6R2Y-ZYvjWcSa.js} +1 -1
  119. package/dist/md/static/js/{md-slashCommands-BkcP4b0C.js → md-slashCommands-mCYC1eNJ.js} +1 -1
  120. package/dist/md/static/js/{md-stateDiagram-v2-TBUQTH76-DgWJk1nQ.js → md-stateDiagram-v2-TBUQTH76-DamwEyS8.js} +1 -1
  121. package/dist/md/static/js/{md-storage-TAchKcvc.js → md-storage-B8BAILFb.js} +1 -1
  122. package/dist/md/static/js/{md-swimlanes-N4OXWK64-CTC8HdWE.js → md-swimlanes-N4OXWK64-DAxBZzUz.js} +1 -1
  123. package/dist/md/static/js/md-swimlanesDiagram-K3J5GTZL-BBqgcN0k.js +8 -0
  124. package/dist/md/static/js/{md-sync-DzivBtxQ.js → md-sync-CImiJDX5.js} +1 -1
  125. package/dist/md/static/js/{md-template-TV8U1qS4.js → md-template-CTKtT0YR.js} +1 -1
  126. package/dist/md/static/js/{md-timeline-definition-YOQAKGHF-Bd9f4Y10.js → md-timeline-definition-YOQAKGHF-dpXFTtxZ.js} +1 -1
  127. package/dist/md/static/js/{md-translate-CzY24XmZ.js → md-translate-CRNthmbT.js} +1 -1
  128. package/dist/md/static/js/{md-treeView-D4JQ5SDB-D-XSvTMP.js → md-treeView-D4JQ5SDB-wjjnAXa7.js} +1 -1
  129. package/dist/md/static/js/{md-treemap-SAJKECNS-Bd_rK9Mh.js → md-treemap-SAJKECNS-C931z_qi.js} +1 -1
  130. package/dist/md/static/js/{md-ui-Dq6MTvr4.js → md-ui-BLkQlUQC.js} +3 -3
  131. package/dist/md/static/js/{md-useEditorRefresh-DQn4H1Wu.js → md-useEditorRefresh-OsQDX_Bw.js} +1 -1
  132. package/dist/md/static/js/{md-useImageUploader-CYOKxpNX.js → md-useImageUploader-hYnNnhzw.js} +2 -2
  133. package/dist/md/static/js/{md-useLocalizedAIServices-rhW4n8Ti.js → md-useLocalizedAIServices-DXRSjl-Y.js} +1 -1
  134. package/dist/md/static/js/{md-useLocalizedBuiltinComponents-DADyqpKR.js → md-useLocalizedBuiltinComponents-Cp5XbV-4.js} +1 -1
  135. package/dist/md/static/js/{md-useLocalizedStyleOptions-B5NSKADz.js → md-useLocalizedStyleOptions-CYLcejBo.js} +1 -1
  136. package/dist/md/static/js/{md-useSyncStatusMeta-ssY-63xV.js → md-useSyncStatusMeta-CxmKmXyx.js} +1 -1
  137. package/dist/md/static/js/{md-usecaseDiagram-VIAY4XPW-tkWd_m6m.js → md-usecaseDiagram-VIAY4XPW-DvzUpE5i.js} +1 -1
  138. package/dist/md/static/js/{md-validate-image-3dQVL-8x.js → md-validate-image-CpSP4ZvP.js} +1 -1
  139. package/dist/md/static/js/{md-vennDiagram-BLWOH2XV-B1h1KBPU.js → md-vennDiagram-BLWOH2XV-BWo51AJb.js} +1 -1
  140. package/dist/md/static/js/{md-wardley-7MLQ67FV-BMEyqZgl.js → md-wardley-7MLQ67FV-CBCq0Jcr.js} +1 -1
  141. package/dist/md/static/js/{md-wardleyDiagram-YMQ3BMBF-4KQgaOjT.js → md-wardleyDiagram-YMQ3BMBF-xnwXwEgC.js} +1 -1
  142. package/dist/md/static/js/{md-xychartDiagram-TAQBALBS-Cg-G6JP7.js → md-xychartDiagram-TAQBALBS-BCajYKY2.js} +1 -1
  143. package/dist/transform/404/index.html +1 -1
  144. package/dist/transform/404.html +1 -1
  145. package/dist/transform/_next/static/chunks/5f58523c0e7f8a1496e44fb3aa9708ae212b3a59.7eb188b53aa5e032ca26.js +1 -0
  146. package/dist/transform/_next/static/chunks/pages/css-to-js-5318424ca1c1f2a567b5.js +1 -0
  147. package/dist/transform/_next/static/chunks/pages/graphql-to-components-3ab2af869fbcfa184855.js +1 -0
  148. package/dist/transform/_next/static/chunks/pages/graphql-to-flow-5873d22614a64f662965.js +1 -0
  149. package/dist/transform/_next/static/chunks/pages/graphql-to-fragment-matcher-da076cda5c237a7f299b.js +1 -0
  150. package/dist/transform/_next/static/chunks/pages/graphql-to-introspection-json-3a503ed929ca8973d6f7.js +1 -0
  151. package/dist/transform/_next/static/chunks/pages/graphql-to-java-c23506b8cea6425018e6.js +1 -0
  152. package/dist/transform/_next/static/chunks/pages/graphql-to-resolvers-signature-ec4f7bcb373fc1bfdc64.js +1 -0
  153. package/dist/transform/_next/static/chunks/pages/graphql-to-schema-ast-f125f56fede43a181a8a.js +1 -0
  154. package/dist/transform/_next/static/chunks/pages/graphql-to-typescript-46631f6e2b2d74aee5b6.js +1 -0
  155. package/dist/transform/_next/static/chunks/pages/{graphql-to-typescript-mongodb-e325d75119d2e7677e6b.js → graphql-to-typescript-mongodb-a6762f012c231ad53d4d.js} +1 -1
  156. package/dist/transform/_next/static/chunks/pages/index-f20eddd83614aa6fbc1a.js +1 -0
  157. package/dist/transform/_next/static/chunks/pages/json-to-mobx-state-tree-ba0ed623cbfd12c4150d.js +1 -0
  158. package/dist/transform/_next/static/chunks/pages/json-to-proptypes-74207e5e0180d6373fd9.js +1 -0
  159. package/dist/transform/_next/static/chunks/pages/object-styles-to-template-literal-4632ad4472ee11ec823f.js +1 -0
  160. package/dist/transform/_next/static/chunks/pages/svg-to-react-native-71e7874e599dda8ae7a5.js +1 -0
  161. package/dist/transform/_next/static/{s2f5sIpNXm2PBoE7dI3W4 → doPGXkMTsHAerSZY0DvSi}/_buildManifest.js +1 -1
  162. package/dist/transform/cadence-to-go/index.html +1 -1
  163. package/dist/transform/css-to-js/index.html +1 -1
  164. package/dist/transform/css-to-tailwind/index.html +1 -1
  165. package/dist/transform/flow-to-javascript/index.html +1 -1
  166. package/dist/transform/flow-to-typescript/index.html +1 -1
  167. package/dist/transform/flow-to-typescript-declaration/index.html +1 -1
  168. package/dist/transform/graphql-to-components/index.html +1 -1
  169. package/dist/transform/graphql-to-flow/index.html +1 -1
  170. package/dist/transform/graphql-to-fragment-matcher/index.html +1 -1
  171. package/dist/transform/graphql-to-introspection-json/index.html +1 -1
  172. package/dist/transform/graphql-to-java/index.html +1 -1
  173. package/dist/transform/graphql-to-resolvers-signature/index.html +1 -1
  174. package/dist/transform/graphql-to-schema-ast/index.html +1 -1
  175. package/dist/transform/graphql-to-typescript/index.html +1 -1
  176. package/dist/transform/graphql-to-typescript-mongodb/index.html +1 -1
  177. package/dist/transform/html-to-jsx/index.html +1 -1
  178. package/dist/transform/html-to-pug/index.html +1 -1
  179. package/dist/transform/index.html +1 -1
  180. package/dist/transform/js-object-to-json/index.html +1 -1
  181. package/dist/transform/js-object-to-typescript/index.html +1 -1
  182. package/dist/transform/json-schema-to-openapi-schema/index.html +1 -1
  183. package/dist/transform/json-schema-to-protobuf/index.html +1 -1
  184. package/dist/transform/json-schema-to-typescript/index.html +1 -1
  185. package/dist/transform/json-schema-to-zod/index.html +1 -1
  186. package/dist/transform/json-to-big-query/index.html +1 -1
  187. package/dist/transform/json-to-flow/index.html +1 -1
  188. package/dist/transform/json-to-go/index.html +1 -1
  189. package/dist/transform/json-to-go-bson/index.html +1 -1
  190. package/dist/transform/json-to-graphql/index.html +1 -1
  191. package/dist/transform/json-to-io-ts/index.html +1 -1
  192. package/dist/transform/json-to-java/index.html +1 -1
  193. package/dist/transform/json-to-jsdoc/index.html +1 -1
  194. package/dist/transform/json-to-json-schema/index.html +1 -1
  195. package/dist/transform/json-to-kotlin/index.html +1 -1
  196. package/dist/transform/json-to-mobx-state-tree/index.html +1 -1
  197. package/dist/transform/json-to-mongoose/index.html +1 -1
  198. package/dist/transform/json-to-mysql/index.html +1 -1
  199. package/dist/transform/json-to-proptypes/index.html +1 -1
  200. package/dist/transform/json-to-rust-serde/index.html +1 -1
  201. package/dist/transform/json-to-sarcastic/index.html +1 -1
  202. package/dist/transform/json-to-scala-case-class/index.html +1 -1
  203. package/dist/transform/json-to-toml/index.html +1 -1
  204. package/dist/transform/json-to-typescript/index.html +1 -1
  205. package/dist/transform/json-to-yaml/index.html +1 -1
  206. package/dist/transform/json-to-zod/index.html +1 -1
  207. package/dist/transform/jsonld-to-compacted/index.html +1 -1
  208. package/dist/transform/jsonld-to-expanded/index.html +1 -1
  209. package/dist/transform/jsonld-to-flattened/index.html +1 -1
  210. package/dist/transform/jsonld-to-framed/index.html +1 -1
  211. package/dist/transform/jsonld-to-normalized/index.html +1 -1
  212. package/dist/transform/jsonld-to-nquads/index.html +1 -1
  213. package/dist/transform/markdown-to-html/index.html +1 -1
  214. package/dist/transform/object-styles-to-template-literal/index.html +1 -1
  215. package/dist/transform/svg-to-react-native/index.html +1 -1
  216. package/dist/transform/toml-to-json/index.html +1 -1
  217. package/dist/transform/toml-to-yaml/index.html +1 -1
  218. package/dist/transform/typescript-to-flow/index.html +1 -1
  219. package/dist/transform/typescript-to-javascript/index.html +1 -1
  220. package/dist/transform/typescript-to-json-schema/index.html +1 -1
  221. package/dist/transform/typescript-to-typescript-declaration/index.html +1 -1
  222. package/dist/transform/typescript-to-zod/index.html +1 -1
  223. package/dist/transform/xml-to-json/index.html +1 -1
  224. package/dist/transform/yaml-to-json/index.html +1 -1
  225. package/dist/transform/yaml-to-toml/index.html +1 -1
  226. package/package.json +1 -1
  227. package/dist/md/static/js/md-channel-Dx0LllE1.js +0 -1
  228. package/dist/md/static/js/md-flowDiagram-OXPTDLAJ-BJ9GLr8l.js +0 -1
  229. package/dist/md/static/js/md-swimlanesDiagram-K3J5GTZL-DxvPEfP2.js +0 -8
  230. package/dist/transform/_next/static/chunks/5f58523c0e7f8a1496e44fb3aa9708ae212b3a59.81877283f0ccf4cfa5ad.js +0 -1
  231. package/dist/transform/_next/static/chunks/pages/css-to-js-c151b6d517dfa79fec1c.js +0 -1
  232. package/dist/transform/_next/static/chunks/pages/graphql-to-components-870c7f6e926ea6492875.js +0 -1
  233. package/dist/transform/_next/static/chunks/pages/graphql-to-flow-30f6cd8de7e3479085b7.js +0 -1
  234. package/dist/transform/_next/static/chunks/pages/graphql-to-fragment-matcher-822fa095ae34dfa20d27.js +0 -1
  235. package/dist/transform/_next/static/chunks/pages/graphql-to-introspection-json-8702f04c773441e24332.js +0 -1
  236. package/dist/transform/_next/static/chunks/pages/graphql-to-java-c314a62d644b3b5c4b78.js +0 -1
  237. package/dist/transform/_next/static/chunks/pages/graphql-to-resolvers-signature-4564a0902441752a543f.js +0 -1
  238. package/dist/transform/_next/static/chunks/pages/graphql-to-schema-ast-17d93f460973a0435671.js +0 -1
  239. package/dist/transform/_next/static/chunks/pages/graphql-to-typescript-6599e329a8b3c7f28409.js +0 -1
  240. package/dist/transform/_next/static/chunks/pages/index-77392cac123afdb7d7ff.js +0 -1
  241. package/dist/transform/_next/static/chunks/pages/json-to-mobx-state-tree-faad7bbce0c5a4a90c69.js +0 -1
  242. package/dist/transform/_next/static/chunks/pages/json-to-proptypes-f5d98384dff3089f2f01.js +0 -1
  243. package/dist/transform/_next/static/chunks/pages/object-styles-to-template-literal-aaec7309c1a602288551.js +0 -1
  244. package/dist/transform/_next/static/chunks/pages/svg-to-react-native-034e52cf3747b84d4275.js +0 -1
  245. /package/dist/carbon/_next/static/{j89oBtYEmpICvj7fmBMRz → GxU1dxkdEhmjmJhptPJdL}/_buildManifest.js +0 -0
  246. /package/dist/carbon/_next/static/{j89oBtYEmpICvj7fmBMRz → GxU1dxkdEhmjmJhptPJdL}/_middlewareManifest.js +0 -0
  247. /package/dist/carbon/_next/static/{j89oBtYEmpICvj7fmBMRz → GxU1dxkdEhmjmJhptPJdL}/_ssgManifest.js +0 -0
  248. /package/dist/transform/_next/data/{s2f5sIpNXm2PBoE7dI3W4 → doPGXkMTsHAerSZY0DvSi}/css-to-tailwind.json +0 -0
  249. /package/dist/transform/_next/static/{s2f5sIpNXm2PBoE7dI3W4 → doPGXkMTsHAerSZY0DvSi}/_ssgManifest.js +0 -0
@@ -1,9 +1,9 @@
1
- import"./md-rolldown-runtime-Dd_uD5pT.js";import{t as e}from"./md-preload-helper-2--UFWE9.js";import{a as t,c as n,d as r,f as i,h as a,l as o,m as s,n as c,o as l,p as u,r as d,s as f,t as ee,u as p}from"./md-SignatureV4MultiRegion-DRJb5Cng.js";import{i as m,n as te,r as ne,t as re}from"./md-hex-encoding-Dp0dmlFs.js";var ie={WHEN_SUPPORTED:`WHEN_SUPPORTED`,WHEN_REQUIRED:`WHEN_REQUIRED`},ae=ie.WHEN_SUPPORTED,oe={WHEN_SUPPORTED:`WHEN_SUPPORTED`,WHEN_REQUIRED:`WHEN_REQUIRED`},se=ie.WHEN_SUPPORTED,h;(function(e){e.MD5=`MD5`,e.CRC32=`CRC32`,e.CRC32C=`CRC32C`,e.CRC64NVME=`CRC64NVME`,e.SHA1=`SHA1`,e.SHA256=`SHA256`})(h||={});var ce;(function(e){e.HEADER=`header`,e.TRAILER=`trailer`})(ce||={});var le=h.CRC32;function ue(e,t,n){return e.$source||={},e.$source[t]=n,e}var de=e=>e?.body instanceof ReadableStream,fe=(e,t)=>{let n=[];if(e&&n.push(e),t)for(let e of t)n.push(e);return n},pe=(e,t)=>`${e||`anonymous`}${t&&t.length>0?` (a.k.a. ${t.join(`,`)})`:``}`,me=()=>{let e=[],t=[],n=!1,r=new Set,i=e=>e.sort((e,t)=>he[t.step]-he[e.step]||ge[t.priority||`normal`]-ge[e.priority||`normal`]),a=n=>{let i=!1,a=e=>{let t=fe(e.name,e.aliases);if(t.includes(n)){i=!0;for(let e of t)r.delete(e);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},o=n=>{let i=!1,a=e=>{if(e.middleware===n){i=!0;for(let t of fe(e.name,e.aliases))r.delete(t);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},s=n=>(e.forEach(e=>{n.add(e.middleware,{...e})}),t.forEach(e=>{n.addRelativeTo(e.middleware,{...e})}),n.identifyOnResolve?.(u.identifyOnResolve()),n),c=e=>{let t=[];return e.before.forEach(e=>{e.before.length===0&&e.after.length===0?t.push(e):t.push(...c(e))}),t.push(e),e.after.reverse().forEach(e=>{e.before.length===0&&e.after.length===0?t.push(e):t.push(...c(e))}),t},l=(n=!1)=>{let r=[],a=[],o={};return e.forEach(e=>{let t={...e,before:[],after:[]};for(let e of fe(t.name,t.aliases))o[e]=t;r.push(t)}),t.forEach(e=>{let t={...e,before:[],after:[]};for(let e of fe(t.name,t.aliases))o[e]=t;a.push(t)}),a.forEach(e=>{if(e.toMiddleware){let t=o[e.toMiddleware];if(t===void 0){if(n)return;throw Error(`${e.toMiddleware} is not found when adding ${pe(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}e.relation===`after`&&t.after.push(e),e.relation===`before`&&t.before.push(e)}}),i(r).map(c).reduce((e,t)=>(e.push(...t),e),[])},u={add:(t,n={})=>{let{name:i,override:a,aliases:o}=n,s={step:`initialize`,priority:`normal`,middleware:t,...n},c=fe(i,o);if(c.length>0){if(c.some(e=>r.has(e))){if(!a)throw Error(`Duplicate middleware name '${pe(i,o)}'`);for(let t of c){let n=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(n===-1)continue;let r=e[n];if(r.step!==s.step||s.priority!==r.priority)throw Error(`"${pe(r.name,r.aliases)}" middleware with ${r.priority} priority in ${r.step} step cannot be overridden by "${pe(i,o)}" middleware with ${s.priority} priority in ${s.step} step.`);e.splice(n,1)}}for(let e of c)r.add(e)}e.push(s)},addRelativeTo:(e,n)=>{let{name:i,override:a,aliases:o}=n,s={middleware:e,...n},c=fe(i,o);if(c.length>0){if(c.some(e=>r.has(e))){if(!a)throw Error(`Duplicate middleware name '${pe(i,o)}'`);for(let e of c){let n=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(n===-1)continue;let r=t[n];if(r.toMiddleware!==s.toMiddleware||r.relation!==s.relation)throw Error(`"${pe(r.name,r.aliases)}" middleware ${r.relation} "${r.toMiddleware}" middleware cannot be overridden by "${pe(i,o)}" middleware ${s.relation} "${s.toMiddleware}" middleware.`);t.splice(n,1)}}for(let e of c)r.add(e)}t.push(s)},clone:()=>s(me()),use:e=>{e.applyToStack(u)},remove:e=>typeof e==`string`?a(e):o(e),removeByTag:n=>{let i=!1,a=e=>{let{tags:t,name:a,aliases:o}=e;if(t&&t.includes(n)){let e=fe(a,o);for(let t of e)r.delete(t);return i=!0,!1}return!0};return e=e.filter(a),t=t.filter(a),i},concat:e=>{let t=s(me());return t.use(e),t.identifyOnResolve(n||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:s,identify:()=>l(!0).map(e=>{let t=e.step??e.relation+` `+e.toMiddleware;return pe(e.name,e.aliases)+` - `+t}),identifyOnResolve(e){return typeof e==`boolean`&&(n=e),n},resolve:(e,t)=>{for(let n of l().map(e=>e.middleware).reverse())e=n(e,t);return n&&console.log(u.identify()),e}};return u},he={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},ge={high:3,normal:2,low:1},_e;(function(e){e.HTTP=`http`,e.HTTPS=`https`})(_e||={});var ve;(function(e){e.MD5=`md5`,e.CRC32=`crc32`,e.CRC32C=`crc32c`,e.SHA1=`sha1`,e.SHA256=`sha256`})(ve||={});var ye=class{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;let t=e;return typeof t.statusCode==`number`&&typeof t.headers==`object`}},be=RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`),xe=(e,t=!1)=>{if(!t)return be.test(e);let n=e.split(`.`);for(let e of n)if(!xe(e))return!1;return!0};function Se(e){return/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/.test(e)}var Ce=e=>()=>Promise.reject(e),we=()=>{let e=new WeakSet;return(t,n)=>{if(typeof n==`object`&&n){if(e.has(n))return`[Circular]`;e.add(n)}return n}},Te=e=>new Promise(t=>setTimeout(t,e*1e3)),Ee={minDelay:2,maxDelay:120},De;(function(e){e.ABORTED=`ABORTED`,e.FAILURE=`FAILURE`,e.SUCCESS=`SUCCESS`,e.RETRY=`RETRY`,e.TIMEOUT=`TIMEOUT`})(De||={});var Oe=e=>{if(e.state===De.ABORTED){let t=Error(`${JSON.stringify({...e,reason:`Request was aborted`},we())}`);throw t.name=`AbortError`,t}if(e.state===De.TIMEOUT){let t=Error(`${JSON.stringify({...e,reason:`Waiter has timed out`},we())}`);throw t.name=`TimeoutError`,t}if(e.state!==De.SUCCESS)throw Error(`${JSON.stringify(e,we())}`);return e},ke=async({minDelay:e,maxDelay:t,maxWaitTime:n,abortController:r,client:i,abortSignal:a},o,s)=>{let c={},[l,u]=[e*1e3,t*1e3],d=0,f=Date.now()+n*1e3,ee=Date.now()+6e4,p=!1;for(;;){if(d>0){let e=Me(l,u,d,f);if(r?.signal?.aborted||a?.aborted){let e=`AbortController signal aborted.`;return c[e]|=0,c[e]+=1,{state:De.ABORTED,observedResponses:c}}if(Date.now()+e>f)return{state:De.TIMEOUT,observedResponses:c};await Te(e/1e3)}let{state:e,reason:t}=await s(i,o);if(t){let e=je(t);c[e]|=0,c[e]+=1}if(e!==De.RETRY)return{state:e,reason:t,final:t,observedResponses:c};d+=1,!p&&Date.now()>=ee&&(Ae(c,i),p=!0)}},Ae=(e={},t)=>{let n=Object.keys(e),r=0,i=0;for(let t of n){let n=e[t]|0;r=Math.max(n,r),t.startsWith(`403:`)&&(i+=n)}let a=t?.config?.logger,o=typeof a?.warn==`function`&&!a.constructor?.name?.includes?.(`NoOpLogger`)?a:console;(i>=3||n[n.length-1]?.startsWith(`403:`))&&o.warn(`@smithy/util-waiter WARN - 403 status code encountered during waiter polling.`)},je=e=>{let t=e?.$response?.statusCode??e?.$metadata?.httpStatusCode;return e?.$responseBodyText?`${t?t+`: `:``}Deserialization error for body: ${e.$responseBodyText}`:t?e?.$response||e?.message?`${t??`Unknown`}: ${e?.message}`:`${t}: OK`:String(e?.message??JSON.stringify(e,we())??`Unknown`)},Me=(e,t,n,r)=>{if(n>Math.log(t/e)/Math.log(2)+1)return t;let i=e*2**(n-1),a=Ne(e,Math.min(i,t));if(Date.now()+a>r){let e=r-Date.now();return Math.max(0,e-500)}return a},Ne=(e,t)=>e+Math.random()*(t-e),Pe=e=>{if(e.maxWaitTime<=0)throw Error(`WaiterConfiguration.maxWaitTime must be greater than 0`);if(e.minDelay<=0)throw Error(`WaiterConfiguration.minDelay must be greater than 0`);if(e.maxDelay<=0)throw Error(`WaiterConfiguration.maxDelay must be greater than 0`);if(e.maxWaitTime<=e.minDelay)throw Error(`WaiterConfiguration.maxWaitTime [${e.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${e.minDelay}] for this waiter`);if(e.maxDelay<e.minDelay)throw Error(`WaiterConfiguration.maxDelay [${e.maxDelay}] must be greater than WaiterConfiguration.minDelay [${e.minDelay}] for this waiter`)},Fe=e=>{let t;return{clearListener(){typeof e.removeEventListener==`function`&&e.removeEventListener(`abort`,t)},aborted:new Promise(n=>{t=()=>n({state:De.ABORTED}),typeof e.addEventListener==`function`?e.addEventListener(`abort`,t):e.onabort=t})}},Ie=async(e,t,n)=>{let r={...Ee,...e};Pe(r);let i=[ke(r,t,n)],a=[];if(e.abortSignal){let{aborted:t,clearListener:n}=Fe(e.abortSignal);a.push(n),i.push(t)}if(e.abortController?.signal){let{aborted:t,clearListener:n}=Fe(e.abortController.signal);a.push(n),i.push(t)}return Promise.race(i).then(e=>{for(let e of a)e();return e})},Le=class{config;middlewareStack=me();initConfig;handlers;constructor(e){this.config=e;let{protocol:t,protocolSettings:n}=e;n&&typeof t==`function`&&(e.protocol=new t(n))}send(e,t,n){let r=typeof t==`function`?void 0:t,i=typeof t==`function`?t:n,a=r===void 0&&this.config.cacheMiddleware===!0,o;if(a){this.handlers||=new WeakMap;let t=this.handlers;t.has(e.constructor)?o=t.get(e.constructor):(o=e.resolveMiddleware(this.middlewareStack,this.config,r),t.set(e.constructor,o))}else delete this.handlers,o=e.resolveMiddleware(this.middlewareStack,this.config,r);if(i)o(e).then(e=>i(null,e.output),e=>i(e)).catch(()=>{});else return o(e).then(e=>e.output)}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}},Re=e=>typeof e==`function`?e():e,ze=(e,t,n,r,i)=>({name:t,namespace:e,traits:n,input:r,output:i}),Be=e=>(t,n)=>async r=>{let{response:i}=await t(r),{operationSchema:a}=s(n),[,o,c,l,u,d]=a??[];try{return{response:i,output:await e.protocol.deserializeResponse(ze(o,c,l,u,d),{...e,...n},i)}}catch(e){if(Object.defineProperty(e,"$response",{value:i,enumerable:!1,writable:!1,configurable:!1}),!(`$metadata`in e)){let t=`Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;try{e.message+=`
1
+ import"./md-rolldown-runtime-Dd_uD5pT.js";import{t as e}from"./md-preload-helper-BiJVKFcG.js";import{a as t,c as n,d as r,f as i,h as a,l as o,m as s,n as c,o as l,p as u,r as d,s as f,t as ee,u as p}from"./md-SignatureV4MultiRegion-DRJb5Cng.js";import{i as m,n as te,r as ne,t as re}from"./md-hex-encoding-Dp0dmlFs.js";var ie={WHEN_SUPPORTED:`WHEN_SUPPORTED`,WHEN_REQUIRED:`WHEN_REQUIRED`},ae=ie.WHEN_SUPPORTED,oe={WHEN_SUPPORTED:`WHEN_SUPPORTED`,WHEN_REQUIRED:`WHEN_REQUIRED`},se=ie.WHEN_SUPPORTED,h;(function(e){e.MD5=`MD5`,e.CRC32=`CRC32`,e.CRC32C=`CRC32C`,e.CRC64NVME=`CRC64NVME`,e.SHA1=`SHA1`,e.SHA256=`SHA256`})(h||={});var ce;(function(e){e.HEADER=`header`,e.TRAILER=`trailer`})(ce||={});var le=h.CRC32;function ue(e,t,n){return e.$source||={},e.$source[t]=n,e}var de=e=>e?.body instanceof ReadableStream,fe=(e,t)=>{let n=[];if(e&&n.push(e),t)for(let e of t)n.push(e);return n},pe=(e,t)=>`${e||`anonymous`}${t&&t.length>0?` (a.k.a. ${t.join(`,`)})`:``}`,me=()=>{let e=[],t=[],n=!1,r=new Set,i=e=>e.sort((e,t)=>he[t.step]-he[e.step]||ge[t.priority||`normal`]-ge[e.priority||`normal`]),a=n=>{let i=!1,a=e=>{let t=fe(e.name,e.aliases);if(t.includes(n)){i=!0;for(let e of t)r.delete(e);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},o=n=>{let i=!1,a=e=>{if(e.middleware===n){i=!0;for(let t of fe(e.name,e.aliases))r.delete(t);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},s=n=>(e.forEach(e=>{n.add(e.middleware,{...e})}),t.forEach(e=>{n.addRelativeTo(e.middleware,{...e})}),n.identifyOnResolve?.(u.identifyOnResolve()),n),c=e=>{let t=[];return e.before.forEach(e=>{e.before.length===0&&e.after.length===0?t.push(e):t.push(...c(e))}),t.push(e),e.after.reverse().forEach(e=>{e.before.length===0&&e.after.length===0?t.push(e):t.push(...c(e))}),t},l=(n=!1)=>{let r=[],a=[],o={};return e.forEach(e=>{let t={...e,before:[],after:[]};for(let e of fe(t.name,t.aliases))o[e]=t;r.push(t)}),t.forEach(e=>{let t={...e,before:[],after:[]};for(let e of fe(t.name,t.aliases))o[e]=t;a.push(t)}),a.forEach(e=>{if(e.toMiddleware){let t=o[e.toMiddleware];if(t===void 0){if(n)return;throw Error(`${e.toMiddleware} is not found when adding ${pe(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}e.relation===`after`&&t.after.push(e),e.relation===`before`&&t.before.push(e)}}),i(r).map(c).reduce((e,t)=>(e.push(...t),e),[])},u={add:(t,n={})=>{let{name:i,override:a,aliases:o}=n,s={step:`initialize`,priority:`normal`,middleware:t,...n},c=fe(i,o);if(c.length>0){if(c.some(e=>r.has(e))){if(!a)throw Error(`Duplicate middleware name '${pe(i,o)}'`);for(let t of c){let n=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(n===-1)continue;let r=e[n];if(r.step!==s.step||s.priority!==r.priority)throw Error(`"${pe(r.name,r.aliases)}" middleware with ${r.priority} priority in ${r.step} step cannot be overridden by "${pe(i,o)}" middleware with ${s.priority} priority in ${s.step} step.`);e.splice(n,1)}}for(let e of c)r.add(e)}e.push(s)},addRelativeTo:(e,n)=>{let{name:i,override:a,aliases:o}=n,s={middleware:e,...n},c=fe(i,o);if(c.length>0){if(c.some(e=>r.has(e))){if(!a)throw Error(`Duplicate middleware name '${pe(i,o)}'`);for(let e of c){let n=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(n===-1)continue;let r=t[n];if(r.toMiddleware!==s.toMiddleware||r.relation!==s.relation)throw Error(`"${pe(r.name,r.aliases)}" middleware ${r.relation} "${r.toMiddleware}" middleware cannot be overridden by "${pe(i,o)}" middleware ${s.relation} "${s.toMiddleware}" middleware.`);t.splice(n,1)}}for(let e of c)r.add(e)}t.push(s)},clone:()=>s(me()),use:e=>{e.applyToStack(u)},remove:e=>typeof e==`string`?a(e):o(e),removeByTag:n=>{let i=!1,a=e=>{let{tags:t,name:a,aliases:o}=e;if(t&&t.includes(n)){let e=fe(a,o);for(let t of e)r.delete(t);return i=!0,!1}return!0};return e=e.filter(a),t=t.filter(a),i},concat:e=>{let t=s(me());return t.use(e),t.identifyOnResolve(n||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:s,identify:()=>l(!0).map(e=>{let t=e.step??e.relation+` `+e.toMiddleware;return pe(e.name,e.aliases)+` - `+t}),identifyOnResolve(e){return typeof e==`boolean`&&(n=e),n},resolve:(e,t)=>{for(let n of l().map(e=>e.middleware).reverse())e=n(e,t);return n&&console.log(u.identify()),e}};return u},he={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},ge={high:3,normal:2,low:1},_e;(function(e){e.HTTP=`http`,e.HTTPS=`https`})(_e||={});var ve;(function(e){e.MD5=`md5`,e.CRC32=`crc32`,e.CRC32C=`crc32c`,e.SHA1=`sha1`,e.SHA256=`sha256`})(ve||={});var ye=class{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;let t=e;return typeof t.statusCode==`number`&&typeof t.headers==`object`}},be=RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`),xe=(e,t=!1)=>{if(!t)return be.test(e);let n=e.split(`.`);for(let e of n)if(!xe(e))return!1;return!0};function Se(e){return/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/.test(e)}var Ce=e=>()=>Promise.reject(e),we=()=>{let e=new WeakSet;return(t,n)=>{if(typeof n==`object`&&n){if(e.has(n))return`[Circular]`;e.add(n)}return n}},Te=e=>new Promise(t=>setTimeout(t,e*1e3)),Ee={minDelay:2,maxDelay:120},De;(function(e){e.ABORTED=`ABORTED`,e.FAILURE=`FAILURE`,e.SUCCESS=`SUCCESS`,e.RETRY=`RETRY`,e.TIMEOUT=`TIMEOUT`})(De||={});var Oe=e=>{if(e.state===De.ABORTED){let t=Error(`${JSON.stringify({...e,reason:`Request was aborted`},we())}`);throw t.name=`AbortError`,t}if(e.state===De.TIMEOUT){let t=Error(`${JSON.stringify({...e,reason:`Waiter has timed out`},we())}`);throw t.name=`TimeoutError`,t}if(e.state!==De.SUCCESS)throw Error(`${JSON.stringify(e,we())}`);return e},ke=async({minDelay:e,maxDelay:t,maxWaitTime:n,abortController:r,client:i,abortSignal:a},o,s)=>{let c={},[l,u]=[e*1e3,t*1e3],d=0,f=Date.now()+n*1e3,ee=Date.now()+6e4,p=!1;for(;;){if(d>0){let e=Me(l,u,d,f);if(r?.signal?.aborted||a?.aborted){let e=`AbortController signal aborted.`;return c[e]|=0,c[e]+=1,{state:De.ABORTED,observedResponses:c}}if(Date.now()+e>f)return{state:De.TIMEOUT,observedResponses:c};await Te(e/1e3)}let{state:e,reason:t}=await s(i,o);if(t){let e=je(t);c[e]|=0,c[e]+=1}if(e!==De.RETRY)return{state:e,reason:t,final:t,observedResponses:c};d+=1,!p&&Date.now()>=ee&&(Ae(c,i),p=!0)}},Ae=(e={},t)=>{let n=Object.keys(e),r=0,i=0;for(let t of n){let n=e[t]|0;r=Math.max(n,r),t.startsWith(`403:`)&&(i+=n)}let a=t?.config?.logger,o=typeof a?.warn==`function`&&!a.constructor?.name?.includes?.(`NoOpLogger`)?a:console;(i>=3||n[n.length-1]?.startsWith(`403:`))&&o.warn(`@smithy/util-waiter WARN - 403 status code encountered during waiter polling.`)},je=e=>{let t=e?.$response?.statusCode??e?.$metadata?.httpStatusCode;return e?.$responseBodyText?`${t?t+`: `:``}Deserialization error for body: ${e.$responseBodyText}`:t?e?.$response||e?.message?`${t??`Unknown`}: ${e?.message}`:`${t}: OK`:String(e?.message??JSON.stringify(e,we())??`Unknown`)},Me=(e,t,n,r)=>{if(n>Math.log(t/e)/Math.log(2)+1)return t;let i=e*2**(n-1),a=Ne(e,Math.min(i,t));if(Date.now()+a>r){let e=r-Date.now();return Math.max(0,e-500)}return a},Ne=(e,t)=>e+Math.random()*(t-e),Pe=e=>{if(e.maxWaitTime<=0)throw Error(`WaiterConfiguration.maxWaitTime must be greater than 0`);if(e.minDelay<=0)throw Error(`WaiterConfiguration.minDelay must be greater than 0`);if(e.maxDelay<=0)throw Error(`WaiterConfiguration.maxDelay must be greater than 0`);if(e.maxWaitTime<=e.minDelay)throw Error(`WaiterConfiguration.maxWaitTime [${e.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${e.minDelay}] for this waiter`);if(e.maxDelay<e.minDelay)throw Error(`WaiterConfiguration.maxDelay [${e.maxDelay}] must be greater than WaiterConfiguration.minDelay [${e.minDelay}] for this waiter`)},Fe=e=>{let t;return{clearListener(){typeof e.removeEventListener==`function`&&e.removeEventListener(`abort`,t)},aborted:new Promise(n=>{t=()=>n({state:De.ABORTED}),typeof e.addEventListener==`function`?e.addEventListener(`abort`,t):e.onabort=t})}},Ie=async(e,t,n)=>{let r={...Ee,...e};Pe(r);let i=[ke(r,t,n)],a=[];if(e.abortSignal){let{aborted:t,clearListener:n}=Fe(e.abortSignal);a.push(n),i.push(t)}if(e.abortController?.signal){let{aborted:t,clearListener:n}=Fe(e.abortController.signal);a.push(n),i.push(t)}return Promise.race(i).then(e=>{for(let e of a)e();return e})},Le=class{config;middlewareStack=me();initConfig;handlers;constructor(e){this.config=e;let{protocol:t,protocolSettings:n}=e;n&&typeof t==`function`&&(e.protocol=new t(n))}send(e,t,n){let r=typeof t==`function`?void 0:t,i=typeof t==`function`?t:n,a=r===void 0&&this.config.cacheMiddleware===!0,o;if(a){this.handlers||=new WeakMap;let t=this.handlers;t.has(e.constructor)?o=t.get(e.constructor):(o=e.resolveMiddleware(this.middlewareStack,this.config,r),t.set(e.constructor,o))}else delete this.handlers,o=e.resolveMiddleware(this.middlewareStack,this.config,r);if(i)o(e).then(e=>i(null,e.output),e=>i(e)).catch(()=>{});else return o(e).then(e=>e.output)}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}},Re=e=>typeof e==`function`?e():e,ze=(e,t,n,r,i)=>({name:t,namespace:e,traits:n,input:r,output:i}),Be=e=>(t,n)=>async r=>{let{response:i}=await t(r),{operationSchema:a}=s(n),[,o,c,l,u,d]=a??[];try{return{response:i,output:await e.protocol.deserializeResponse(ze(o,c,l,u,d),{...e,...n},i)}}catch(e){if(Object.defineProperty(e,"$response",{value:i,enumerable:!1,writable:!1,configurable:!1}),!(`$metadata`in e)){let t=`Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;try{e.message+=`
2
2
  `+t}catch{!n.logger||n.logger?.constructor?.name===`NoOpLogger`?console.warn(t):n.logger?.warn?.(t)}e.$responseBodyText!==void 0&&e.$response&&(e.$response.body=e.$responseBodyText);try{if(ye.isInstance(i)){let{headers:t={},statusCode:n}=i,r=Object.entries(t);e.$metadata={httpStatusCode:n,requestId:Ve(/^x-[\w-]+-request-?id$/,r),extendedRequestId:Ve(/^x-[\w-]+-id-2$/,r),cfId:Ve(/^x-[\w-]+-cf-id$/,r)}}}catch{}}throw e}},Ve=(e,t)=>(t.find(([t])=>t.match(e))||[void 0,void 0])[1],He=e=>(t,n)=>async r=>{let{operationSchema:i}=s(n),[,a,o,c,l,u]=i??[],d=n.endpointV2?async()=>p(n.endpointV2):e.endpoint,f=await e.protocol.serializeRequest(ze(a,o,c,l,u),r.input,{...e,...n,endpoint:d});return t({...r,request:f})},Ue={name:`deserializerMiddleware`,step:`deserialize`,tags:[`DESERIALIZER`],override:!0},We={name:`serializerMiddleware`,step:`serialize`,tags:[`SERIALIZER`],override:!0};function Ge(e){return{applyToStack:t=>{t.add(He(e),We),t.add(Be(e),Ue),e.protocol.setSerdeContext(e)}}}var Ke=[];function qe(e){if(typeof e==`object`)return e;if(e|=0,Ke[e])return Ke[e];let t={},n=0;for(let r of[`httpLabel`,`idempotent`,`idempotencyToken`,`sensitive`,`httpPayload`,`httpResponseCode`,`httpQueryParams`])(e>>n++&1)==1&&(t[r]=1);return Ke[e]=t}var Je={it:Symbol.for(`@smithy/nor-struct-it`),ns:Symbol.for(`@smithy/ns`)},Ye=[],Xe={},Ze=class e{ref;memberName;static symbol=Symbol.for(`@smithy/nor`);symbol=e.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(t,n){this.ref=t,this.memberName=n;let r=[],i=t,a=t;for(this._isMemberSchema=!1;$e(i);)r.push(i[1]),i=i[0],a=Re(i),this._isMemberSchema=!0;if(r.length>0){this.memberTraits={};for(let e=r.length-1;e>=0;--e){let t=r[e];Object.assign(this.memberTraits,qe(t))}}else this.memberTraits=0;if(a instanceof e){let e=this.memberTraits;Object.assign(this,a),this.memberTraits=Object.assign({},e,a.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,this.memberName=n??a.memberName}else if(this.schema=Re(a),et(this.schema)?(this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3]):(this.name=this.memberName??String(a),this.traits=0),this._isMemberSchema&&!n)throw Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](e){let t=this.prototype.isPrototypeOf(e);return!t&&typeof e==`object`&&e?e.symbol===this.symbol:t}static of(t){let n=typeof t==`function`||typeof t==`object`&&!!t;if(typeof t==`number`){if(Ye[t])return Ye[t]}else if(typeof t==`string`){if(Xe[t])return Xe[t]}else if(n&&t[Je.ns])return t[Je.ns];let r=Re(t);if(r instanceof e)return r;if($e(r)){let[n,i]=r;if(n instanceof e)return Object.assign(n.getMergedTraits(),qe(i)),n;throw Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(t,null,2)}.`)}let i=new e(r);return n?t[Je.ns]=i:typeof r==`string`?Xe[r]=i:typeof r==`number`?Ye[r]=i:i}getSchema(){let e=this.schema;return Array.isArray(e)&&e[0]===0?e[4]:e}getName(e=!1){let{name:t}=this;return!e&&t&&t.includes(`#`)?t.split(`#`)[1]:t||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){let e=this.getSchema();return typeof e==`number`?e>=64&&e<128:e[0]===1}isMapSchema(){let e=this.getSchema();return typeof e==`number`?e>=128&&e<=255:e[0]===2}isStructSchema(){let e=this.getSchema();if(typeof e!=`object`)return!1;let t=e[0];return t===3||t===-3||t===4}isUnionSchema(){let e=this.getSchema();return typeof e==`object`&&e[0]===4}isBlobSchema(){let e=this.getSchema();return e===21||e===42}isTimestampSchema(){let e=this.getSchema();return typeof e==`number`&&e>=4&&e<=7}isUnitSchema(){return this.getSchema()===`unit`}isDocumentSchema(){return this.getSchema()===15}isStringSchema(){return this.getSchema()===0}isBooleanSchema(){return this.getSchema()===2}isNumericSchema(){return this.getSchema()===1}isBigIntegerSchema(){return this.getSchema()===17}isBigDecimalSchema(){return this.getSchema()===19}isStreaming(){let{streaming:e}=this.getMergedTraits();return!!e||this.getSchema()===42}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??={...this.getOwnTraits(),...this.getMemberTraits()}}getMemberTraits(){return qe(this.memberTraits)}getOwnTraits(){return qe(this.traits)}getKeySchema(){let[e,t]=[this.isDocumentSchema(),this.isMapSchema()];if(!e&&!t)throw Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);let n=this.getSchema();return Qe([e?15:n[4]??0,0],`key`)}getValueSchema(){let e=this.getSchema(),[t,n,r]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],i=typeof e==`number`?63&e:e&&typeof e==`object`&&(n||r)?e[3+e[0]]:t?15:void 0;if(i!=null)return Qe([i,0],n?`value`:`member`);throw Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema(e){let t=this.getSchema();if(this.isStructSchema()&&t[4].includes(e)){let n=t[4].indexOf(e),r=t[5][n];return Qe($e(r)?r:[r,0],e)}if(this.isDocumentSchema())return Qe([15,0],e);throw Error(`@smithy/core/schema - ${this.getName(!0)} has no member=${e}.`)}getMemberSchemas(){let e={};try{for(let[t,n]of this.structIterator())e[t]=n}catch{}return e}getEventStreamMember(){if(this.isStructSchema()){for(let[e,t]of this.structIterator())if(t.isStreaming()&&t.isStructSchema())return e}return``}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw Error(`@smithy/core/schema - cannot iterate non-struct schema.`);let e=this.getSchema(),t=e[4].length,n=e[Je.it];if(n&&t===n.length)yield*n;else{n=Array(t);for(let r=0;r<t;++r){let t=e[4][r],i=Qe([e[5][r],0],t);yield n[r]=[t,i]}e[Je.it]=n}}};function Qe(e,t){return e instanceof Ze?Object.assign(e,{memberName:t,_isMemberSchema:!0}):new Ze(e,t)}var $e=e=>Array.isArray(e)&&e.length===2,et=e=>Array.isArray(e)&&e.length>=5,tt=class e{namespace;schemas;exceptions;static registries=new Map;constructor(t,n=new Map,r=new Map){this.namespace=t,this.schemas=n,this.exceptions=r,e.registries.has(t)||e.registries.set(t,this)}static for(t){return e.registries.get(t)??new e(t)}copyFrom(e){let{schemas:t,exceptions:n}=this;for(let[n,r]of e.schemas)t.has(n)||t.set(n,r);for(let[t,r]of e.exceptions)n.has(t)||n.set(t,r)}register(t,n){let r=this.normalizeShapeId(t);for(let t of[this,e.for(r.split(`#`)[0])])t.schemas.has(r)||t.schemas.set(r,n)}getSchema(e){let t=this.normalizeShapeId(e);if(!this.schemas.has(t)){if(!e.includes(`#`)){let t=`#`+e,n=[];for(let[e,r]of this.schemas.entries())e.endsWith(t)&&n.push(r);if(n.length===1)return n[0]}throw Error(`@smithy/core/schema - schema not found for ${t}`)}return this.schemas.get(t)}registerError(t,n){let r=t,i=r[1],a=i+`#`+r[2];n.hasOwnProperty?.(`shapeId`)||(n.shapeId=a);for(let t of[this,e.for(i)])!t.schemas.has(a)&&!t.exceptions.has(r)&&(t.schemas.set(a,r),t.exceptions.set(r,n))}getErrorCtor(t){let n=t;return this.exceptions.has(n)?this.exceptions.get(n):e.for(n[1]).exceptions.get(n)}getBaseException(){for(let e of this.exceptions.keys())if(Array.isArray(e)){let[,t,n]=e,r=t+`#`+n;if(r.startsWith(`smithy.ts.sdk.synthetic.`)&&r.endsWith(`ServiceException`))return e}}find(e){for(let t of this.schemas.values())if(e(t))return t}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId(e){return e.includes(`#`)?e:this.namespace+`#`+e}},nt=`***SensitiveInformation***`;function rt(e,t){if(t==null)return t;let n=Ze.of(e);if(n.getMergedTraits().sensitive)return nt;if(n.isListSchema()){if(n.getValueSchema().getMergedTraits().sensitive)return nt}else if(n.isMapSchema()){if(n.getKeySchema().getMergedTraits().sensitive||n.getValueSchema().getMergedTraits().sensitive)return nt}else if(n.isStructSchema()&&typeof t==`object`){let e=t,r={};for(let[t,i]of n.structIterator())e[t]!=null&&(r[t]=rt(i,e[t]));return r}return t}var it=class{middlewareStack=me();schema;static classBuilder(){return new at}resolveMiddlewareWithContext(e,t,n,{middlewareFn:r,clientName:i,commandName:o,inputFilterSensitiveLog:s,outputFilterSensitiveLog:c,smithyContext:l,additionalContext:u,CommandCtor:d}){for(let i of r.bind(this)(d,e,t,n))this.middlewareStack.use(i);let f=e.concat(this.middlewareStack),{logger:ee}=t,p=u[a],m={logger:ee,clientName:i,commandName:o,inputFilterSensitiveLog:s,outputFilterSensitiveLog:c,...u,[a]:{...p,commandInstance:this,...l,...n?.metricsRecorder===void 0?{}:{metricsRecorder:n.metricsRecorder}}},{requestHandler:te}=t,ne=n??{};return ne.metricsRecorder&&(ne={...ne},delete ne.metricsRecorder),l.eventStream&&(ne={isEventStream:!0,...ne}),f.resolve(e=>te.handle(e.request,ne),m)}},at=class{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName=``;_clientName=``;_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,n={}){return this._smithyContext={service:e,operation:t,...n},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}sc(e){return this._operationSchema=e,this._smithyContext.operationSchema=e,this}build(){let e=this,t;return t=class extends it{input;static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super(),this.input=t??{},e._init(this),this.schema=e._operationSchema}resolveMiddleware(n,r,i){let a=e._operationSchema,o=a?.[4]??a?.input,s=a?.[5]??a?.output;return this.resolveMiddlewareWithContext(n,r,i,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog??(a?rt.bind(null,o):e=>e),outputFilterSensitiveLog:e._outputFilterSensitiveLog??(a?rt.bind(null,s):e=>e),smithyContext:e._smithyContext,additionalContext:e._additionalContext})}serialize=e._serializer;deserialize=e._deserializer}}},ot=(e,t,n)=>{for(let[n,r]of Object.entries(e)){let e=async function(e,t,n){let i=new r(e);if(typeof t==`function`)this.send(i,t);else if(typeof n==`function`){if(typeof t!=`object`)throw Error(`Expected http options but got ${typeof t}`);this.send(i,t||{},n)}else return this.send(i,t)},i=(n[0].toLowerCase()+n.slice(1)).replace(/Command$/,``);t.prototype[i]=e}let{paginators:r={},waiters:i={}}=n??{};for(let[e,n]of Object.entries(r))t.prototype[e]===void 0&&(t.prototype[e]=function(e={},t,...r){return n({...t,client:this},e,...r)});for(let[e,n]of Object.entries(i))t.prototype[e]===void 0&&(t.prototype[e]=async function(e={},t,...r){let i=t;return typeof t==`number`&&(i={maxWaitTime:t}),n({...i,client:this},e,...r)})},st=class e extends Error{static shapeId=`smithy.ts.sdk.synthetic.nonamespace.client#ServiceException`;$fault;$response;$retryable;$metadata;constructor(e){super(e.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}static isInstance(t){if(!t)return!1;let n=t;return e.prototype.isPrototypeOf(n)||!!n.$fault&&!!n.$metadata&&(n.$fault===`client`||n.$fault===`server`)}static[Symbol.hasInstance](t){if(!t)return!1;let n=t;if(this===e)return e.isInstance(t);if(e.isInstance(t)){if(this.prototype.isPrototypeOf(t))return!0;let r=Object.prototype.hasOwnProperty.call(this,`shapeId`)?this.shapeId:void 0,i=!1;if(r){let t=Object.getPrototypeOf(n);for(;t&&t!==Object.prototype;){let n=t.constructor,a=n!==e&&Object.prototype.hasOwnProperty.call(n,`shapeId`)?n?.shapeId:void 0;if(a&&(i=!0,a===r))return!0;t=Object.getPrototypeOf(t)}}if(r&&i)return!1;let a=this.name;if(a&&a.length>=6){if(n.name===a)return!0;let e=Object.getPrototypeOf(n);for(;e&&e!==Object.prototype;){let t=e.constructor?.name;if(t&&t!==`Error`&&t===a)return!0;e=Object.getPrototypeOf(e)}}}return!1}},ct=(e,t={})=>(Object.entries(t).filter(([,e])=>e!==void 0).forEach(([t,n])=>{(e[t]==null||e[t]===``)&&(e[t]=n)}),e.message=e.message||e.Message||`UnknownError`,delete e.Message,e),lt=e=>{switch(e){case`standard`:return{retryMode:`standard`,connectionTimeout:3100};case`in-region`:return{retryMode:`standard`,connectionTimeout:1100};case`cross-region`:return{retryMode:`standard`,connectionTimeout:3100};case`mobile`:return{retryMode:`standard`,connectionTimeout:3e4};default:return{}}},ut=Object.values(ve),dt=e=>{let t=[];for(let n in ve){if(!m(ve,n))continue;let r=ve[n];e[r]!==void 0&&t.push({algorithmId:()=>r,checksumConstructor:()=>e[r]})}for(let[n,r]of Object.entries(e.checksumAlgorithms??{}))t.push({algorithmId:()=>n,checksumConstructor:()=>r});return{addChecksumAlgorithm(n){e.checksumAlgorithms=e.checksumAlgorithms??{};let r=n.algorithmId(),i=n.checksumConstructor();ut.includes(r)?e.checksumAlgorithms[r.toUpperCase()]=i:e.checksumAlgorithms[r]=i,t.push(n)},checksumAlgorithms(){return t}}},ft=e=>{let t={};return e.checksumAlgorithms().forEach(e=>{let n=e.algorithmId();ut.includes(n)&&(t[n]=e.checksumConstructor())}),t},pt=e=>({setRetryStrategy(t){e.retryStrategy=t},retryStrategy(){return e.retryStrategy}}),mt=e=>{let t={};return t.retryStrategy=e.retryStrategy(),t},ht=e=>Object.assign(dt(e),pt(e)),gt=e=>Object.assign(ft(e),mt(e)),_t=e=>{let t=`#text`;for(let n in e)m(e,n)&&(e[n][t]===void 0?typeof e[n]==`object`&&e[n]!==null&&(e[n]=_t(e[n])):e[n]=e[n][t]);return e},vt=class{trace(){}debug(){}info(){}warn(){}error(){}};function yt(e,t,n,r){return function(i,a,o,s,c={}){let l=Object.assign({},e,i);return it.classBuilder().ep(l).m(function(e,t,n,i){let o=a.call(this,e,t,n,i);return o.unshift(r(n,e.getEndpointParameterInstructions())),o}).s(t,o,c).n(n,o.charAt(0).toUpperCase()+o.slice(1)+`Command`).sc(s).build()}}var bt=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,xt=Object.entries(bt).reduce((e,[t,n])=>(e[n]=Number(t),e),{}),St=bt.split(``),Ct=e=>{let t=e.length/4*3;e.slice(-2)===`==`?t-=2:e.slice(-1)===`=`&&t--;let n=new ArrayBuffer(t),r=new DataView(n);for(let t=0;t<e.length;t+=4){let n=0,i=0;for(let r=t,a=t+3;r<=a;r++)if(e[r]!==`=`){if(!(e[r]in xt))throw TypeError(`Invalid character ${e[r]} in base64 string.`);n|=xt[e[r]]<<(a-r)*6,i+=6}else n>>=6;let a=t/4*3;n>>=i%8;let o=Math.floor(i/8);for(let e=0;e<o;e++){let t=(o-e-1)*8;r.setUint8(a+e,(n&255<<t)>>t)}}return new Uint8Array(n)};function wt(e){let t;t=typeof e==`string`?ne(e):e;let n=typeof t==`object`&&typeof t.length==`number`,r=typeof t==`object`&&typeof t.byteOffset==`number`&&typeof t.byteLength==`number`;if(!n&&!r)throw Error(`@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.`);let i=``;for(let e=0;e<t.length;e+=3){let n=0,r=0;for(let i=e,a=Math.min(e+3,t.length);i<a;i++)n|=t[i]<<(a-i-1)*8,r+=8;let a=Math.ceil(r/6);n<<=a*6-r;for(let e=1;e<=a;e++){let t=(a-e)*6;i+=St[(n&63<<t)>>t]}i+=`==`.slice(0,4-a)}return i}function Tt(e,t,n,r){return class i extends Uint8Array{static fromString(e,n=`utf-8`){if(typeof e==`string`)return n===`base64`?i.mutate(r(e)):i.mutate(t(e));throw Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,i.prototype),e}transformToString(t=`utf-8`){return t===`base64`?n(this):e(this)}}}var Et=e=>{if(typeof e==`string`)return e;if(typeof e!=`object`||typeof e.byteOffset!=`number`||typeof e.byteLength!=`number`)throw Error(`@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.`);return new TextDecoder(`utf-8`).decode(e)},Dt=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,`0`));function Ot(e){return typeof crypto<`u`&&typeof crypto.randomUUID==`function`?()=>crypto.randomUUID():()=>{let t=new Uint8Array(16);return e(t),t[6]=t[6]&15|64,t[8]=t[8]&63|128,Dt[t[0]]+Dt[t[1]]+Dt[t[2]]+Dt[t[3]]+`-`+Dt[t[4]]+Dt[t[5]]+`-`+Dt[t[6]]+Dt[t[7]]+`-`+Dt[t[8]]+Dt[t[9]]+`-`+Dt[t[10]]+Dt[t[11]]+Dt[t[12]]+Dt[t[13]]+Dt[t[14]]+Dt[t[15]]}}var kt=e=>{if(e!=null){if(typeof e==`string`){let t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&Ut.warn(Ht(`Expected number but observed string: ${e}`)),t}if(typeof e==`number`)return e;throw TypeError(`Expected number, got ${typeof e}: ${e}`)}},At=Math.ceil(2**127*(2-2**-23)),jt=e=>{let t=kt(e);if(t!==void 0&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>At)throw TypeError(`Expected 32-bit float, got ${e}`);return t},Mt=e=>{if(e!=null){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw TypeError(`Expected integer, got ${typeof e}: ${e}`)}},Nt=e=>Ft(e,16),Pt=e=>Ft(e,8),Ft=(e,t)=>{let n=Mt(e);if(n!==void 0&&It(n,t)!==n)throw TypeError(`Expected ${t}-bit integer, got ${e}`);return n},It=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},Lt=e=>jt(typeof e==`string`?zt(e):e),Rt=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,zt=e=>{let t=e.match(Rt);if(t===null||t[0].length!==e.length)throw TypeError(`Expected real number, got implicit NaN`);return parseFloat(e)},Bt=e=>Nt(typeof e==`string`?zt(e):e),Vt=e=>Pt(typeof e==`string`?zt(e):e),Ht=e=>String(TypeError(e).stack||e).split(`
3
3
  `).slice(0,5).filter(e=>!e.includes(`stackTraceWarning`)).join(`
4
4
  `),Ut={warn:console.warn},Wt=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],Gt=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function Kt(e){let t=e.getUTCFullYear(),n=e.getUTCMonth(),r=e.getUTCDay(),i=e.getUTCDate(),a=e.getUTCHours(),o=e.getUTCMinutes(),s=e.getUTCSeconds(),c=i<10?`0${i}`:`${i}`,l=a<10?`0${a}`:`${a}`,u=o<10?`0${o}`:`${o}`,d=s<10?`0${s}`:`${s}`;return`${Wt[r]}, ${c} ${Gt[n]} ${t} ${l}:${u}:${d} GMT`}var qt=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Jt=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Yt=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),Xt=e=>{if(e==null)return;if(typeof e!=`string`)throw TypeError(`RFC-7231 date-times must be expressed as strings`);let t=qt.exec(e);if(t){let[e,n,r,i,a,o,s,c]=t;return Zt(Bt(cn(i)),tn(r),on(n,`day`,1,31),{hours:a,minutes:o,seconds:s,fractionalMilliseconds:c})}if(t=Jt.exec(e),t){let[e,n,r,i,a,o,s,c]=t;return en(Zt(Qt(i),tn(r),on(n,`day`,1,31),{hours:a,minutes:o,seconds:s,fractionalMilliseconds:c}))}if(t=Yt.exec(e),t){let[e,n,r,i,a,o,s,c]=t;return Zt(Bt(cn(c)),tn(n),on(r.trimLeft(),`day`,1,31),{hours:i,minutes:a,seconds:o,fractionalMilliseconds:s})}throw TypeError(`Invalid RFC-7231 date-time value`)},Zt=(e,t,n,r)=>{let i=t-1;return rn(e,i,n),new Date(Date.UTC(e,i,n,on(r.hours,`hour`,0,23),on(r.minutes,`minute`,0,59),on(r.seconds,`seconds`,0,60),sn(r.fractionalMilliseconds)))},Qt=e=>{let t=new Date().getUTCFullYear(),n=Math.floor(t/100)*100+Bt(cn(e));return n<t?n+100:n},$t=15768e8,en=e=>e.getTime()-new Date().getTime()>$t?new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())):e,tn=e=>{let t=Gt.indexOf(e);if(t<0)throw TypeError(`Invalid month: ${e}`);return t+1},nn=[31,28,31,30,31,30,31,31,30,31,30,31],rn=(e,t,n)=>{let r=nn[t];if(t===1&&an(e)&&(r=29),n>r)throw TypeError(`Invalid day for ${Gt[t]} in ${e}: ${n}`)},an=e=>e%4==0&&(e%100!=0||e%400==0),on=(e,t,n,r)=>{let i=Vt(cn(e));if(i<n||i>r)throw TypeError(`${t} must be between ${n} and ${r}, inclusive`);return i},sn=e=>e==null?0:Lt(`0.`+e)*1e3,cn=e=>{let t=0;for(;t<e.length-1&&e.charAt(t)===`0`;)t++;return t===0?e:e.slice(t)},ln=function(e){return Object.assign(new String(e),{deserializeJSON(){return JSON.parse(String(e))},toString(){return String(e)},toJSON(){return String(e)}})};ln.from=e=>e&&typeof e==`object`&&(e instanceof ln||`deserializeJSON`in e)?e:typeof e==`string`||Object.getPrototypeOf(e)===String.prototype?ln(String(e)):ln(JSON.stringify(e)),ln.fromObject=ln.from;function un(e){return(e.includes(`,`)||e.includes(`"`))&&(e=`"${e.replace(/"/g,`\\"`)}"`),e}var dn=`(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`,fn=`(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`,pn=`(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`,mn=`(\\d?\\d)`,hn=`(\\d{4})`,gn=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/),_n=RegExp(`^${dn}, ${mn} ${fn} ${hn} ${pn} GMT$`),vn=RegExp(`^${dn}, ${mn}-${fn}-(\\d\\d) ${pn} GMT$`),yn=RegExp(`^${dn} ${fn} ( [1-9]|\\d\\d) ${pn} ${hn}$`),bn=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],xn=e=>{if(e==null)return;let t=NaN;if(typeof e==`number`)t=e;else if(typeof e==`string`){if(!/^-?\d*\.?\d+$/.test(e))throw TypeError(`parseEpochTimestamp - numeric string invalid.`);t=Number.parseFloat(e)}else typeof e==`object`&&e.tag===1&&(t=e.value);if(isNaN(t)||Math.abs(t)===1/0)throw TypeError(`Epoch timestamps must be valid finite numbers.`);return new Date(Math.round(t*1e3))},Sn=e=>{if(e==null)return;if(typeof e!=`string`)throw TypeError(`RFC3339 timestamps must be strings`);let t=gn.exec(e);if(!t)throw TypeError(`Invalid RFC3339 timestamp format ${e}`);let[,n,r,i,a,o,s,,c,l]=t;wn(r,1,12),wn(i,1,31),wn(a,0,23),wn(o,0,59),wn(s,0,60);let u=new Date(Date.UTC(Number(n),Number(r)-1,Number(i),Number(a),Number(o),Number(s),Number(c)?Math.round(parseFloat(`0.${c}`)*1e3):0));if(u.setUTCFullYear(Number(n)),l.toUpperCase()!=`Z`){let[,e,t,n]=/([+-])(\d\d):(\d\d)/.exec(l)||[void 0,`+`,0,0],r=e===`-`?1:-1;u.setTime(u.getTime()+r*(Number(t)*60*60*1e3+Number(n)*60*1e3))}return u},Cn=e=>{if(e==null)return;if(typeof e!=`string`)throw TypeError(`RFC7231 timestamps must be strings.`);let t,n,r,i,a,o,s,c;if((c=_n.exec(e))?[,t,n,r,i,a,o,s]=c:(c=vn.exec(e))?([,t,n,r,i,a,o,s]=c,r=(Number(r)+1900).toString()):(c=yn.exec(e))&&([,n,t,i,a,o,s,r]=c),r&&o){let e=Date.UTC(Number(r),bn.indexOf(n),Number(t),Number(i),Number(a),Number(o),s?Math.round(parseFloat(`0.${s}`)*1e3):0);wn(t,1,31),wn(i,0,23),wn(a,0,59),wn(o,0,60);let c=new Date(e);return c.setUTCFullYear(Number(r)),c}throw TypeError(`Invalid RFC7231 date-time value ${e}.`)};function wn(e,t,n){let r=Number(e);if(r<t||r>n)throw Error(`Value ${r} out of range [${t}, ${n}]`)}function Tn(e,t,n){if(n<=0||!Number.isInteger(n))throw Error(`Invalid number of delimiters (`+n+`) for splitEvery.`);let r=e.split(t);if(n===1)return r;let i=[],a=``;for(let e=0;e<r.length;e++)a===``?a=r[e]:a+=t+r[e],(e+1)%n===0&&(i.push(a),a=``);return a!==``&&i.push(a),i}var En=e=>{let t=e.length,n=[],r=!1,i,a=0;for(let o=0;o<t;++o){let t=e[o];switch(t){case`"`:i!==`\\`&&(r=!r);break;case`,`:r||(n.push(e.slice(a,o)),a=o+1)}i=t}return n.push(e.slice(a)),n.map(e=>{e=e.trim();let t=e.length;return t<2?e:(e[0]===`"`&&e[t-1]===`"`&&(e=e.slice(1,t-1)),e.replace(/\\"/g,`"`))})},Dn=/^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/,On=class e{string;type;constructor(e,t){if(this.string=e,this.type=t,!Dn.test(e))throw Error(`@smithy/core/serde - NumericValue string must conform to the Smithy bigDecimal format. Received: "${e}"`)}toString(){return this.string}static[Symbol.hasInstance](t){if(!t||typeof t!=`object`)return!1;let n=t;return e.prototype.isPrototypeOf(t)||n.type===`bigDecimal`&&Dn.test(n.string)}},kn=typeof TextEncoder==`function`?new TextEncoder:null,An=e=>{if(typeof e==`string`){if(kn)return kn.encode(e).byteLength;let t=e.length;for(let n=t-1;n>=0;n--){let r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2),r>=56320&&r<=57343&&n--}return t}if(typeof e.byteLength==`number`)return e.byteLength;if(typeof e.size==`number`)return e.size;throw Error(`Body Length computation failed for ${e}`)};function jn(e,t){if(t===void 0){t=0;for(let n of e)t+=n.byteLength}let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.byteLength;return n}var Mn=class e{nodes;root;conditions;results;constructor(e,t,n,r){this.nodes=e,this.root=t,this.conditions=n,this.results=r}static from(t,n,r,i){return new e(t,n,r,i)}},Nn=class{capacity;data=new Map;parameters=[];constructor({size:e,params:t}){this.capacity=e??50,t&&(this.parameters=t)}get(e,t){let n=this.hash(e);if(n===!1)return t();if(!this.data.has(n)){if(this.data.size>this.capacity+10){let e=this.data.keys(),t=0;for(;;){let{value:n,done:r}=e.next();if(this.data.delete(n),r||++t>10)break}}this.data.set(n,t())}return this.data.get(n)}size(){return this.data.size}hash(e){let t=``,{parameters:n}=this;if(n.length===0)return!1;for(let r of n){let n=String(e[r]??``);if(n.includes(`|;`))return!1;t+=n+`|;`}return t}},Pn=class extends Error{constructor(e){super(e),this.name=`EndpointError`}},Fn=`endpoints`;function In(e){return typeof e!=`object`||!e?e:`ref`in e?`$${In(e.ref)}`:`fn`in e?`${e.fn}(${(e.argv||[]).map(In).join(`, `)})`:JSON.stringify(e,null,2)}var Ln={},Rn=(e,t)=>e===t;function zn(...e){for(let t of e)if(t!=null)return t}var Bn=e=>{let t=e.split(`.`),n=[];for(let r of t){let t=r.indexOf(`[`);if(t!==-1){if(r.indexOf(`]`)!==r.length-1)throw new Pn(`Path: '${e}' does not end with ']'`);let i=r.slice(t+1,-1);if(Number.isNaN(parseInt(i)))throw new Pn(`Invalid array index: '${i}' in path: '${e}'`);t!==0&&n.push(r.slice(0,t)),n.push(i)}else n.push(r)}return n},Vn=(e,t)=>Bn(t).reduce((n,r)=>{if(typeof n!=`object`)throw new Pn(`Index '${r}' in '${t}' not found in '${JSON.stringify(e)}'`);if(Array.isArray(n)){let e=parseInt(r);return n[e<0?n.length+e:e]}return n[r]},e),Hn=e=>e!=null;function Un(e,t,n){return e?t:n}var Wn=e=>!e,Gn=RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`),Kn=e=>Gn.test(e)||e.startsWith(`[`)&&e.endsWith(`]`),qn={[_e.HTTP]:80,[_e.HTTPS]:443},Jn=e=>{let t=(()=>{try{if(e instanceof URL)return e;if(typeof e==`object`&&`hostname`in e){let{hostname:t,port:n,protocol:r=``,path:i=``,query:a={}}=e,o=new URL(`${r}//${t}${n?`:${n}`:``}${i}`);return o.search=Object.entries(a).map(([e,t])=>`${e}=${t}`).join(`&`),o}return new URL(e)}catch{return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;let n=t.href,{host:r,hostname:i,pathname:a,protocol:o,search:s}=t;if(s)return null;let c=o.slice(0,-1);if(!Object.values(_e).includes(c))return null;let l=Kn(i);return{scheme:c,authority:`${r}${n.includes(`${r}:${qn[c]}`)||typeof e==`string`&&e.includes(`${r}:${qn[c]}`)?`:${qn[c]}`:``}`,path:a,normalizedPath:a.endsWith(`/`)?a:`${a}/`,isIp:l}};function Yn(e,t,n){if(n===1)return[e];if(e===``)return[``];let r=e.split(t);return n===0?r:r.slice(0,n-1).concat(r.slice(1).join(t))}var Xn={booleanEquals:Rn,coalesce:zn,getAttr:Vn,isSet:Hn,isValidHostLabel:xe,ite:Un,not:Wn,parseURL:Jn,split:Yn,stringEquals:(e,t)=>e===t,substring:(e,t,n,r)=>e==null||t>=n||e.length<n||/[^\u0000-\u007f]/.test(e)?null:r?e.substring(e.length-n,e.length-t):e.substring(t,n),uriEncode:e=>encodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},Zn=(e,t)=>{let n=[],{referenceRecord:r,endpointParams:i}=t,a=0;for(;a<e.length;){let t=e.indexOf(`{`,a);if(t===-1){n.push(e.slice(a));break}n.push(e.slice(a,t));let o=e.indexOf(`}`,t);if(o===-1){n.push(e.slice(t));break}e[t+1]===`{`&&e[o+1]===`}`&&(n.push(e.slice(t+1,o)),a=o+2);let s=e.substring(t+1,o);if(s.includes(`#`)){let[e,t]=s.split(`#`);n.push(Vn(r[e]??i[e],t))}else n.push(r[s]??i[s]);a=o+1}return n.join(``)},Qn=({ref:e},t)=>t.referenceRecord[e]??t.endpointParams[e],$n=(e,t,n)=>{if(typeof e==`string`)return Zn(e,n);if(e.fn)return tr.callFunction(e,n);if(e.ref)return Qn(e,n);throw new Pn(`'${t}': ${String(e)} is not a string, function or reference.`)},er=({fn:e,argv:t},n)=>{let r=Array(t.length);for(let e=0;e<r.length;++e){let i=t[e];typeof i==`boolean`||typeof i==`number`?r[e]=i:r[e]=tr.evaluateExpression(i,`arg`,n)}let i=e.indexOf(`.`);if(i!==-1){let t=Ln[e.slice(0,i)]?.[e.slice(i+1)];if(typeof t==`function`)return t(...r)}let a=Xn[e];if(typeof a==`function`)return a(...r);throw Error(`function ${e} not loaded in endpointFunctions.`)},tr={evaluateExpression:$n,callFunction:er},nr=(e,t)=>{let{assign:n}=e;if(n&&n in t.referenceRecord)throw new Pn(`'${n}' is already defined in Reference Record.`);let r=er(e,t);t.logger?.debug?.(`${Fn} evaluateCondition: ${In(e)} = ${In(r)}`);let i=r===``||!!r;return n==null?{result:i}:{result:i,toAssign:{name:n,value:r}}},rr=(e,t)=>Object.entries(e??{}).reduce((e,[n,r])=>(e[n]=r.map(e=>{let r=$n(e,`Header value entry`,t);if(typeof r!=`string`)throw new Pn(`Header '${n}' value '${r}' is not a string`);return r}),e),{}),ir=(e,t)=>Object.entries(e).reduce((e,[n,r])=>(e[n]=or.getEndpointProperty(r,t),e),{}),ar=(e,t)=>{if(Array.isArray(e))return e.map(e=>ar(e,t));switch(typeof e){case`string`:return Zn(e,t);case`object`:if(e===null)throw new Pn(`Unexpected endpoint property: ${e}`);return or.getEndpointProperties(e,t);case`boolean`:return e;default:throw new Pn(`Unexpected endpoint property type: ${typeof e}`)}},or={getEndpointProperty:ar,getEndpointProperties:ir},sr=(e,t)=>{let n=$n(e,`Endpoint URL`,t);if(typeof n==`string`)try{return new URL(n)}catch(e){throw console.error(`Failed to construct URL with ${n}`,e),e}throw new Pn(`Endpoint URL must be a string, got ${typeof n}`)},cr=1e8,lr=(e,t)=>{let{nodes:n,root:r,results:i,conditions:a}=e,o=r,s={},c={referenceRecord:s,endpointParams:t.endpointParams,logger:t.logger};for(;o!==1&&o!==-1&&o<cr;){let e=3*(Math.abs(o)-1),[t,r,i]=[n[e],n[e+1],n[e+2]],[l,u,d]=a[t],f=nr({fn:l,assign:d,argv:u},c);if(f.toAssign){let{name:e,value:t}=f.toAssign;s[e]=t}o=o>=0===f.result?r:i}if(o>=cr){let e=i[o-cr];if(e[0]===-1){let[,t]=e;throw new Pn($n(t,`Error`,c))}let[t,n,r]=e;return{url:sr(t,c),properties:ir(n,c),headers:rr(r??{},c)}}throw new Pn(`No matching endpoint.`)},ur=typeof ReadableStream==`function`?ReadableStream:function(){},dr=class extends ur{},fr=e=>typeof ReadableStream==`function`&&(e?.constructor?.name===ReadableStream.name||e instanceof ReadableStream),pr=e=>typeof Blob==`function`&&(e?.constructor?.name===Blob.name||e instanceof Blob),mr=({expectedChecksum:e,checksum:t,source:n,checksumSourceLocation:r,base64Encoder:i})=>{if(!fr(n))throw Error(`@smithy/util-stream: unsupported source type ${n?.constructor?.name??n} in ChecksumStream.`);let a=i??wt;if(typeof TransformStream!=`function`)throw Error(`@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.`);let o=new TransformStream({start(){},async transform(e,n){t.update(e),n.enqueue(e)},async flush(n){let i=await t.digest(),o=a(i);if(e!==o){let t=Error(`Checksum mismatch: expected "${e}" but received "${o}" in response header "${r}".`);n.error(t)}else n.terminate()}});n.pipeThrough(o);let s=o.readable;return Object.setPrototypeOf(s,dr.prototype),s},hr=class{allocByteArray;byteLength=0;byteArrays=[];constructor(e){this.allocByteArray=e}push(e){this.byteArrays.push(e),this.byteLength+=e.byteLength}flush(){if(this.byteArrays.length===1){let e=this.byteArrays[0];return this.reset(),e}let e=this.allocByteArray(this.byteLength),t=0;for(let n=0;n<this.byteArrays.length;++n){let r=this.byteArrays[n];e.set(r,t),t+=r.byteLength}return this.reset(),e}reset(){this.byteArrays=[],this.byteLength=0}};function gr(e,t,n){let r=e.getReader(),i=!1,a=0,o=[``,new hr(e=>new Uint8Array(e))],s=-1,c=async e=>{let{value:l,done:u}=await r.read(),d=l;if(u){if(s!==-1){let t=yr(o,s);br(t)>0&&e.enqueue(t)}e.close()}else{let r=xr(d,!1);if(s!==r&&(s>=0&&e.enqueue(yr(o,s)),s=r),s===-1){e.enqueue(d);return}let l=br(d);a+=l;let u=br(o[s]);if(l>=t&&u===0)e.enqueue(d);else{let r=vr(o,s,d);!i&&a>t*2&&(i=!0,n?.warn(`@smithy/util-stream - stream chunk size ${l} is below threshold of ${t}, automatically buffering.`)),r>=t?e.enqueue(yr(o,s)):await c(e)}}};return new ReadableStream({pull:c})}var _r=gr;function vr(e,t,n){switch(t){case 0:return e[0]+=n,br(e[0]);case 1:case 2:return e[t].push(n),br(e[t])}}function yr(e,t){switch(t){case 0:let n=e[0];return e[0]=``,n;case 1:case 2:return e[t].flush()}throw Error(`@smithy/util-stream - invalid index ${t} given to flush()`)}function br(e){return e?.byteLength??e?.length??0}function xr(e,t=!0){return t&&typeof Buffer<`u`&&e instanceof Buffer?2:e instanceof Uint8Array?1:typeof e==`string`?0:-1}var Sr=(e,t)=>{let{base64Encoder:n,bodyLengthChecker:r,checksumAlgorithmFn:i,checksumLocationName:a,streamHasher:o}=t,s=n!==void 0&&r!==void 0&&i!==void 0&&a!==void 0&&o!==void 0,c=s?o(i,e):void 0;Promise.resolve(c).catch(()=>{});let l=e.getReader();return new ReadableStream({async pull(e){let{value:t,done:i}=await l.read();if(i){if(e.enqueue(`0\r
5
5
  `),s){let t=n(await c);e.enqueue(`${a}:${t}\r\n`),e.enqueue(`\r
6
6
  `)}e.close()}else e.enqueue(`${(r(t)||0).toString(16)}\r\n${t}\r\n`)}})},Cr=async e=>pr(e)?wr(e):Tr(e);async function wr(e){return e.arrayBuffer().then(e=>new Uint8Array(e))}async function Tr(e){let t=[],n=e.getReader(),r=0;for(;;){let{done:e,value:i}=await n.read();if(i&&(t.push(i),r+=i.length),e)break}return jn(t,r)}var Er=`The stream has already been transformed.`,Dr=e=>{if(!Or(e)&&!fr(e)){let t=e?.__proto__?.constructor?.name||e;throw Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${t}`)}let t=!1,n=async()=>{if(t)throw Error(Er);return t=!0,await Cr(e)},r=e=>{if(typeof e.stream!=`function`)throw Error(`Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.
7
- If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body`);return e.stream()};return Object.assign(e,{transformToByteArray:n,transformToString:async e=>{let t=await n();if(e===`base64`)return wt(t);if(e===`hex`)return te(t);if(e===void 0||e===`utf8`||e===`utf-8`)return Et(t);if(typeof TextDecoder==`function`)return new TextDecoder(e).decode(t);throw Error(`TextDecoder is not available, please make sure polyfill is provided.`)},transformToWebStream:()=>{if(t)throw Error(Er);if(t=!0,Or(e))return r(e);if(fr(e))return e;throw Error(`Cannot transform payload to web stream, got ${e}`)}})},Or=e=>typeof Blob==`function`&&e instanceof Blob,kr=class extends Tt(Et,ne,wt,Ct){},Ar=Ot(e=>crypto.getRandomValues(e)),jr=Ar,Mr=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return kr.mutate(e);if(!e)return kr.mutate(new Uint8Array);let n=t.streamCollector(e);return kr.mutate(await n)};function Nr(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return`%`+e.charCodeAt(0).toString(16).toUpperCase()})}var Pr=class{serdeContext;setSerdeContext(e){this.serdeContext=e}},Fr=class extends Pr{options;compositeErrorRegistry;constructor(e){super(),this.options=e,this.compositeErrorRegistry=new tt(e.defaultNamespace);for(let t of e.errorTypeRegistries??[])this.compositeErrorRegistry.copyFrom(t)}getRequestType(){return u}getResponseType(){return ye}setSerdeContext(e){this.serdeContext=e,this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e),this.getPayloadCodec()&&this.getPayloadCodec().setSerdeContext(e)}updateServiceEndpoint(e,t){if(`url`in t){e.protocol=t.url.protocol,e.hostname=t.url.hostname,e.port=t.url.port?Number(t.url.port):void 0,e.path=t.url.pathname,e.fragment=t.url.hash||void 0,e.username=t.url.username||void 0,e.password=t.url.password||void 0,e.query||={};for(let[n,r]of t.url.searchParams.entries())e.query[n]=r;if(t.headers)for(let n in t.headers)m(t.headers,n)&&(e.headers[n]=t.headers[n].join(`, `));return e}if(e.protocol=t.protocol,e.hostname=t.hostname,e.port=t.port?Number(t.port):void 0,e.path=t.path,e.query={...t.query},t.headers)for(let n in t.headers)m(t.headers,n)&&(e.headers[n]=t.headers[n]);return e}setHostPrefix(e,t,n){if(this.serdeContext?.disableHostPrefix)return;let r=Ze.of(t.input),i=qe(t.traits??{});if(i.endpoint){let t=i.endpoint?.[0];if(typeof t==`string`){for(let[e,i]of r.structIterator()){if(!i.getMergedTraits().hostLabel)continue;let r=n[e];if(typeof r!=`string`)throw Error(`@smithy/core/schema - ${e} in input must be a string as hostLabel.`);t=t.replace(`{${e}}`,r)}if(e.hostname=t+e.hostname,!Se(e.hostname))throw Error(`[${e.hostname}] is not a valid hostname.`)}}}deserializeMetadata(e){return{httpStatusCode:e.statusCode,requestId:e.headers[`x-amzn-requestid`]??e.headers[`x-amzn-request-id`]??e.headers[`x-amz-request-id`],extendedRequestId:e.headers[`x-amz-id-2`],cfId:e.headers[`x-amz-cf-id`]}}resolveError(e,t,n){let r=[-3,``,`Error`,0,[],[],0],i;for(let r of n)for(let n of t)try{i=n===`*`?r.getSchema(e):r.getSchema(n+`#`+e);let t=r.getErrorCtor(i);if(t)return[i,t,`modeled`];{let e=r.getBaseException();if(e){let t=r.getErrorCtor(e);if(t)return[i,t,`synthetic`]}}}catch{}for(let e of n){let t=e.getBaseException();if(t){let n=e.getErrorCtor(t);if(n)return[t,n,`synthetic`]}}return[r,Error,`native`]}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n})}async loadEventStreamCapability(){let{EventStreamSerde:t,eventStreamSerdeProvider:n}=await e(async()=>{let{EventStreamSerde:e,eventStreamSerdeProvider:t}=await import(`./md-index.browser-SY9JAlDq.js`);return{EventStreamSerde:e,eventStreamSerdeProvider:t}},[]);return new t({marshaller:this.resolveEventStreamMarshaller(n),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType(),compositeErrorRegistry:this.compositeErrorRegistry})}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(e,t,n,r,i){return[]}getEventStreamMarshaller(){let e=this.serdeContext;if(!e.eventStreamMarshaller)throw Error(`@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.`);return e.eventStreamMarshaller}resolveEventStreamMarshaller(e){let t=this.serdeContext;return t.eventStreamMarshaller?t.eventStreamMarshaller:e(this.serdeContext)}},Ir=class extends Fr{async serializeRequest(e,t,n){let r=t&&typeof t==`object`?t:{},i=this.serializer,a={},o={},s=await n.endpoint(),c=Ze.of(e?.input),l=[],d=[],f=!1,ee,p=new u({protocol:``,hostname:``,port:void 0,path:``,fragment:void 0,query:a,headers:o,body:void 0});if(s){this.updateServiceEndpoint(p,s),this.setHostPrefix(p,e,r);let t=qe(e.traits);if(t.http){p.method=t.http[0];let[e,n]=t.http[1].split(`?`);p.path==`/`?p.path=e:p.path+=e;let r=new URLSearchParams(n??``);for(let[e,t]of r)a[e]=t}}for(let[e,t]of c.structIterator()){let n=t.getMergedTraits()??{},s=r[e];if(s==null&&!t.isIdempotencyToken()){if(n.httpLabel&&(p.path.includes(`{${e}+}`)||p.path.includes(`{${e}}`)))throw Error(`No value provided for input HTTP label: ${e}.`)}else if(n.httpPayload)t.isStreaming()?t.isStructSchema()?r[e]&&(ee=await this.serializeEventStream({eventStream:r[e],requestSchema:c})):ee=s:(i.write(t,s),ee=i.flush());else if(n.httpLabel){i.write(t,s);let n=i.flush();p.path.includes(`{${e}+}`)?p.path=p.path.replace(`{${e}+}`,n.split(`/`).map(Nr).join(`/`)):p.path.includes(`{${e}}`)&&(p.path=p.path.replace(`{${e}}`,Nr(n)))}else if(n.httpHeader)i.write(t,s),o[n.httpHeader.toLowerCase()]=String(i.flush());else if(typeof n.httpPrefixHeaders==`string`)for(let e in s){if(!m(s,e))continue;let r=s[e],a=n.httpPrefixHeaders+e;i.write([t.getValueSchema(),{httpHeader:a}],r),o[a.toLowerCase()]=i.flush()}else n.httpQuery||n.httpQueryParams?this.serializeQuery(t,s,a):(f=!0,l.push(e),d.push(t))}if(f&&r){let[e,t]=(c.getName(!0)??`#Unknown`).split(`#`),n=c.getSchema()[6],a=[3,e,t,c.getMergedTraits(),l,d,void 0];n?a[6]=n:a.pop(),i.write(a,r),ee=i.flush()}return p.headers=o,p.query=a,p.body=ee,p}serializeQuery(e,t,n){let r=this.serializer,i=e.getMergedTraits();if(i.httpQueryParams){for(let r in t)if(m(t,r)&&!(r in n)){let a=t[r],o=e.getValueSchema();Object.assign(o.getMergedTraits(),{...i,httpQuery:r,httpQueryParams:void 0}),this.serializeQuery(o,a,n)}}else if(e.isListSchema()){let a=!!e.getMergedTraits().sparse,o=[];for(let n of t){r.write([e.getValueSchema(),i],n);let t=r.flush();(a||t!==void 0)&&o.push(t)}n[i.httpQuery]=o}else r.write([e,i],t),n[i.httpQuery]=r.flush()}async deserializeResponse(e,t,n){let r=this.deserializer,i=Ze.of(e.output),a={};if(n.statusCode>=300){let i=await Mr(n.body,t);throw i.byteLength>0&&Object.assign(a,await r.read(15,i)),await this.handleError(e,t,n,a,this.deserializeMetadata(n)),Error(`@smithy/core/protocols - HTTP Protocol error handler failed to throw.`)}for(let e in n.headers){if(!m(n.headers,e))continue;let t=n.headers[e];delete n.headers[e],n.headers[e.toLowerCase()]=t}let o=await this.deserializeHttpMessage(i,t,n,a);if(o.length){let e=await Mr(n.body,t);if(e.byteLength>0){let t=await r.read(i,e);for(let e of o)t[e]!=null&&(a[e]=t[e])}}else o.discardResponseBody&&await Mr(n.body,t);return a.$metadata=this.deserializeMetadata(n),a}async deserializeHttpMessage(e,t,n,r,i){let a;a=r instanceof Set?i:r;let o=!0,s=this.deserializer,c=Ze.of(e),l=[];for(let[e,r]of c.structIterator()){let i=r.getMemberTraits();if(i.httpPayload){if(o=!1,r.isStreaming())r.isStructSchema()?a[e]=await this.deserializeEventStream({response:n,responseSchema:c}):a[e]=Dr(n.body);else if(n.body){let i=await Mr(n.body,t);i.byteLength>0&&(a[e]=await s.read(r,i))}}else if(i.httpHeader){let t=String(i.httpHeader).toLowerCase(),o=n.headers[t];if(o!=null){if(r.isListSchema()){let n=r.getValueSchema();n.getMergedTraits().httpHeader=t;let i;i=n.isTimestampSchema()&&n.getSchema()===4?Tn(o,`,`,2):En(o);let c=[];for(let e of i)c.push(await s.read(n,e.trim()));a[e]=c}else a[e]=await s.read(r,o)}}else if(i.httpPrefixHeaders!==void 0){a[e]={};for(let t in n.headers)if(m(n.headers,t)&&t.startsWith(i.httpPrefixHeaders)){let o=n.headers[t],c=r.getValueSchema();c.getMergedTraits().httpHeader=t,a[e][t.slice(i.httpPrefixHeaders.length)]=await s.read(c,o)}}else i.httpResponseCode?a[e]=n.statusCode:l.push(e)}return l.discardResponseBody=o,l}};function Lr(e,t){if(t.timestampFormat.useTrait&&e.isTimestampSchema()&&(e.getSchema()===5||e.getSchema()===6||e.getSchema()===7))return e.getSchema();let{httpLabel:n,httpPrefixHeaders:r,httpHeader:i,httpQuery:a}=e.getMergedTraits();return(t.httpBindings?typeof r==`string`||i?6:a||n?5:void 0:void 0)??t.timestampFormat.default}var Rr=class extends Pr{settings;constructor(e){super(),this.settings=e}read(e,t){let n=Ze.of(e);if(n.isListSchema())return En(t).map(e=>this.read(n.getValueSchema(),e));if(n.isBlobSchema())return(this.serdeContext?.base64Decoder??Ct)(t);if(n.isTimestampSchema())switch(Lr(n,this.settings)){case 5:return Sn(t);case 6:return Cn(t);case 7:return xn(t);default:return console.warn(`Missing timestamp format, parsing value with Date constructor:`,t),new Date(t)}if(n.isStringSchema()){let e=n.getMergedTraits().mediaType,r=t;if(e)return n.getMergedTraits().httpHeader&&(r=this.base64ToUtf8(r)),(e===`application/json`||e.endsWith(`+json`))&&(r=ln.from(r)),r}return n.isNumericSchema()?Number(t):n.isBigIntegerSchema()?BigInt(t):n.isBigDecimalSchema()?new On(t,`bigDecimal`):n.isBooleanSchema()?String(t).toLowerCase()===`true`:t}base64ToUtf8(e){return(this.serdeContext?.utf8Encoder??Et)((this.serdeContext?.base64Decoder??Ct)(e))}},zr=class extends Pr{codecDeserializer;stringDeserializer;constructor(e,t){super(),this.codecDeserializer=e,this.stringDeserializer=new Rr(t)}setSerdeContext(e){this.stringDeserializer.setSerdeContext(e),this.codecDeserializer.setSerdeContext(e),this.serdeContext=e}read(e,t){let n=Ze.of(e),r=n.getMergedTraits(),i=this.serdeContext?.utf8Encoder??Et;if(r.httpHeader||r.httpResponseCode)return this.stringDeserializer.read(n,i(t));if(r.httpPayload){if(n.isBlobSchema()){let e=this.serdeContext?.utf8Decoder??ne;return typeof t==`string`?e(t):t}if(n.isStringSchema())return`byteLength`in t?i(t):t}return this.codecDeserializer.read(n,t)}},Br=class extends Pr{settings;stringBuffer=``;constructor(e){super(),this.settings=e}write(e,t){let n=Ze.of(e);switch(typeof t){case`object`:if(t===null){this.stringBuffer=`null`;return}if(n.isTimestampSchema()){if(!(t instanceof Date))throw Error(`@smithy/core/protocols - received non-Date value ${t} when schema expected Date in ${n.getName(!0)}`);switch(Lr(n,this.settings)){case 5:this.stringBuffer=t.toISOString().replace(`.000Z`,`Z`);break;case 6:this.stringBuffer=Kt(t);break;case 7:this.stringBuffer=String(t.getTime()/1e3);break;default:console.warn(`Missing timestamp format, using epoch seconds`,t),this.stringBuffer=String(t.getTime()/1e3)}return}if(n.isBlobSchema()&&`byteLength`in t){this.stringBuffer=(this.serdeContext?.base64Encoder??wt)(t);return}if(n.isListSchema()&&Array.isArray(t)){let e=``;for(let r of t){this.write([n.getValueSchema(),n.getMergedTraits()],r);let t=this.flush(),i=n.getValueSchema().isTimestampSchema()?t:un(t);e!==``&&(e+=`, `),e+=i}this.stringBuffer=e;return}this.stringBuffer=JSON.stringify(t,null,2);break;case`string`:let e=n.getMergedTraits().mediaType,r=t;if(e&&((e===`application/json`||e.endsWith(`+json`))&&(r=ln.from(r)),n.getMergedTraits().httpHeader)){this.stringBuffer=(this.serdeContext?.base64Encoder??wt)(r.toString());return}this.stringBuffer=t;break;default:this.stringBuffer=n.isIdempotencyToken()?jr():String(t)}}flush(){let e=this.stringBuffer;return this.stringBuffer=``,e}},Vr=class{codecSerializer;stringSerializer;buffer;constructor(e,t,n=new Br(t)){this.codecSerializer=e,this.stringSerializer=n}setSerdeContext(e){this.codecSerializer.setSerdeContext(e),this.stringSerializer.setSerdeContext(e)}write(e,t){let n=Ze.of(e),r=n.getMergedTraits();if(r.httpHeader||r.httpLabel||r.httpQuery)this.stringSerializer.write(n,t),this.buffer=this.stringSerializer.flush();else return this.codecSerializer.write(n,t)}flush(){if(this.buffer!==void 0){let e=this.buffer;return this.buffer=void 0,e}return this.codecSerializer.flush()}},Hr=e=>(e.logger&&e.logger.constructor?.name!==`NoOpLogger`&&e.requestHandler?.updateHttpClientConfig?.(Symbol.for(`logger`),e.logger),{setHttpHandler(t){e.requestHandler=t},httpHandler(){return e.requestHandler},updateHttpClientConfig(t,n){e.requestHandler?.updateHttpClientConfig(t,n)},httpHandlerConfigs(){return e.requestHandler.httpHandlerConfigs()}}),Ur=e=>({requestHandler:e.httpHandler()}),Wr=`content-length`;function Gr(e){return t=>async n=>{let r=n.request;if(u.isInstance(r)){let{body:t,headers:n}=r;if(t&&Object.keys(n).map(e=>e.toLowerCase()).indexOf(Wr)===-1)try{let n=e(t);n!=null&&(r.headers={...r.headers,[Wr]:String(n)})}catch{}}return t({...n,request:r})}}var Kr={step:`build`,tags:[`SET_CONTENT_LENGTH`,`CONTENT_LENGTH`],name:`contentLengthMiddleware`,override:!0},qr=e=>({applyToStack:t=>{t.add(Gr(e.bodyLengthChecker),Kr)}}),Jr=[`BandwidthLimitExceeded`,`EC2ThrottledException`,`LimitExceededException`,`PriorRequestNotComplete`,`ProvisionedThroughputExceededException`,`RequestLimitExceeded`,`RequestThrottled`,`RequestThrottledException`,`SlowDown`,`ThrottledException`,`Throttling`,`ThrottlingException`,`TooManyRequestsException`,`TransactionInProgressException`],Yr=[`TimeoutError`,`RequestTimeout`,`RequestTimeoutException`],Xr=[500,502,503,504],Zr=[`ECONNRESET`,`ECONNREFUSED`,`EPIPE`,`ETIMEDOUT`],Qr=[`EHOSTUNREACH`,`ENETUNREACH`,`ENOTFOUND`,`EAI_AGAIN`],$r=e=>e?.$retryable!==void 0,ei=e=>e.$metadata?.clockSkewCorrected,ti=e=>{let t=new Set([`Failed to fetch`,`NetworkError when attempting to fetch resource`,`The Internet connection appears to be offline`,`Load failed`,`Network request failed`]);return e&&e instanceof TypeError?t.has(e.message):!1},ni=e=>e.$metadata?.httpStatusCode===429||Jr.includes(e.name)||e.$retryable?.throttling==1,ri=(e,t=0)=>e?.name!==`AbortError`&&($r(e)||ei(e)||e.name===`InvalidSignatureException`&&e.message?.includes(`Signature expired`)||Yr.includes(e.name)||Zr.includes(e?.code||``)||Qr.includes(e?.code||``)||Xr.includes(e.$metadata?.httpStatusCode||0)||ti(e)||ai(e)||e.cause!==void 0&&t<=10&&ri(e.cause,t+1)),ii=e=>{if(e.$metadata?.httpStatusCode!==void 0){let t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!ri(e)}return!1};function ai(e){return e.code===`ERR_HTTP2_STREAM_ERROR`&&e.message.includes(`NGHTTP2_REFUSED_STREAM`)}var oi=2e4,si=`amz-sdk-invocation-id`,ci=`amz-sdk-request`;function li(e,t){if(ye.isInstance(e))for(let n in e.headers){if(!m(e.headers,n))continue;let r=n.toLowerCase();if(r===`retry-after`){let r=e.headers[n],i=NaN;if(r.endsWith(`GMT`))try{i=(Xt(r).getTime()-Date.now())/1e3}catch(e){t?.trace?.(`Failed to parse retry-after header`),t?.trace?.(e)}else r.match(/ GMT, ((\d+)|(\d+\.\d+))$/)?i=Number(r.match(/ GMT, ([\d.]+)$/)?.[1]):r.match(/^((\d+)|(\d+\.\d+))$/)?i=Number(r):Date.parse(r)>=Date.now()&&(i=(Date.parse(r)-Date.now())/1e3);return isNaN(i)?void 0:new Date(Date.now()+i*1e3)}if(r===`x-amz-retry-after`){let r=e.headers[n],i=Number(r);if(isNaN(i)){t?.trace?.(`Failed to parse x-amz-retry-after=${r}`);return}return new Date(Date.now()+i)}}}var ui=e=>e instanceof Error?e:e instanceof Object?Object.assign(Error(),e):Error(typeof e==`string`?e:`AWS SDK error wrapper for ${e}`);function di(e){return t=>(n,r)=>async i=>{let a=await t.retryStrategy(),o=await t.maxAttempts();if(pi(a)){a=a;let s=await a.acquireInitialRetryToken((r.partition_id??``)+(r.__retryLongPoll?`:longpoll`:``)),c=Error(),l=0,d=0,{request:f}=i,ee=u.isInstance(f);for(ee&&(f.headers[si]=Ar());;)try{ee&&(f.headers[ci]=`attempt=${l+1}; max=${o}`);let{response:e,output:t}=await n(i);return a.recordSuccess(s),t.$metadata.attempts=l+1,t.$metadata.totalRetryDelay=d,{response:e,output:t}}catch(n){let i=mi(n,t.logger);if(c=ui(n),ee&&e(f))throw(r.logger instanceof vt?console:r.logger)?.warn(`An error was encountered in a non-retryable streaming request.`),c;try{s=await a.refreshRetryTokenForRetry(s,i)}catch{throw c.$metadata||(c.$metadata={}),c.$metadata.attempts=l+1,c.$metadata.totalRetryDelay=d,c}l=s.getRetryCount();let o=s.getRetryDelay();d+=(s?.$retryLog?.acquisitionDelay??0)+o,o>0&&await fi(o)}}else return a=a,a?.mode&&(r.userAgent=[...r.userAgent||[],[`cfg/retry-mode`,a.mode]]),a.retry(n,i)}}var fi=e=>new Promise(t=>setTimeout(t,e)),pi=e=>e.acquireInitialRetryToken!==void 0&&e.refreshRetryTokenForRetry!==void 0&&e.recordSuccess!==void 0,mi=(e,t)=>{let n={error:e,errorType:hi(e)},r=li(e.$response,t);return r&&(n.retryAfterHint=r),n},hi=e=>ni(e)?`THROTTLING`:ri(e)?`TRANSIENT`:ii(e)?`SERVER_ERROR`:`CLIENT_ERROR`,gi={name:`retryMiddleware`,tags:[`RETRY`],step:`finalizeRequest`,priority:`high`,override:!0};function _i(e){let t=di(e);return e=>({applyToStack:n=>{n.add(t(e),gi)}})}var vi=class e{static setTimeoutFn=(e,t)=>setTimeout(e,t);beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(e){this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(e){let t;this.updateMeasuredRate();let n=e;if(n?.errorType===`THROTTLING`||ni(n?.error??e)){let e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());let r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}getCurrentTimeInSeconds(){return Date.now()/1e3}async acquireTokenBucket(t){if(this.enabled){for(this.refillTokenBucket();t>this.availableTokens;){let n=(t-this.availableTokens)/this.fillRate*1e3;await new Promise(t=>e.setTimeoutFn(t,n)),this.refillTokenBucket()}this.availableTokens-=t}}refillTokenBucket(){let e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}let t=(e-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+t),this.lastTimestamp=e}calculateTimeWindow(){this.timeWindow=this.getPrecise((this.lastMaxRate*(1-this.beta)/this.scaleConstant)**(1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*(e-this.lastThrottleTime-this.timeWindow)**3+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let e=this.getCurrentTimeInSeconds(),t=Math.floor(e*2)/2;if(this.requestCount++,t>this.lastTxRateBucket){let e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}},yi=class e{static v2026=typeof process<`u`&&{}.SMITHY_NEW_RETRIES_2026===`true`;static delay(){return e.v2026?50:100}static throttlingDelay(){return e.v2026?1e3:500}static cost(){return e.v2026?14:5}static throttlingCost(){return e.v2026?5:10}static modifiedCostType(){return e.v2026?`THROTTLING`:`TRANSIENT`}},bi=class{x=yi.delay();computeNextBackoffDelay(e){let t=Math.random()*Math.min(this.x*2**e,oi);return Math.floor(t)}setDelayBase(e){this.x=e}},xi=class{delay;count;cost;longPoll;$retryLog={acquisitionDelay:0};constructor(e,t,n,r){this.delay=e,this.count=t,this.cost=n,this.longPoll=r}getRetryCount(){return this.count}getRetryDelay(){return Math.min(oi,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}},Si;(function(e){e.STANDARD=`standard`,e.ADAPTIVE=`adaptive`})(Si||={});var Ci=Si.STANDARD,wi={incompatible:1,attempts:2,capacity:3},Ti=class{mode=Si.STANDARD;retryBackoffStrategy;capacity=500;maxAttemptsProvider;baseDelay;constructor(e){typeof e==`number`?this.maxAttemptsProvider=async()=>e:typeof e==`function`?this.maxAttemptsProvider=e:e&&typeof e==`object`&&(this.maxAttemptsProvider=async()=>e.maxAttempts,this.baseDelay=e.baseDelay,this.retryBackoffStrategy=e.backoff),this.maxAttemptsProvider??=async()=>3,this.baseDelay??=yi.delay(),this.retryBackoffStrategy??=new bi}async acquireInitialRetryToken(e){return new xi(yi.delay(),0,void 0,yi.v2026&&e.includes(`:longpoll`))}async refreshRetryTokenForRetry(e,t){let n=await this.getMaxAttempts(),r=this.retryCode(e,t,n),i=r===0,a=e.isLongPoll?.();if(i||a){let n=t.errorType;this.retryBackoffStrategy.setDelayBase(n===`THROTTLING`?yi.throttlingDelay():this.baseDelay);let o=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),s=o;if(t.retryAfterHint instanceof Date&&(s=Math.max(o,Math.min(t.retryAfterHint.getTime()-Date.now(),o+5e3))),i){let t=this.getCapacityCost(n);this.capacity-=t;let r=new xi(0,e.getRetryCount()+1,t,e.isLongPoll?.()??!1);return await new Promise(e=>setTimeout(e,s)),r.$retryLog.acquisitionDelay=s,r}{let e=yi.v2026&&r===wi.capacity&&a?s:0;e>0&&await new Promise(t=>setTimeout(t,e))}}throw Error(`No retry token available`)}recordSuccess(e){this.capacity=Math.min(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch{return console.warn(`Max attempts provider could not resolve. Using default of 3`),3}}retryCode(e,t,n){let r=e.getRetryCount()+1,i=this.isRetryableError(t.errorType)?0:wi.incompatible,a=r<n?0:wi.attempts,o=this.capacity>=this.getCapacityCost(t.errorType)?0:wi.capacity;return i||a||o}getCapacityCost(e){return e===yi.modifiedCostType()?yi.throttlingCost():yi.cost()}isRetryableError(e){return e===`THROTTLING`||e===`TRANSIENT`}},Ei=class{mode=Si.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(e,t){let{rateLimiter:n}=t??{};this.rateLimiter=n??new vi,this.standardRetryStrategy=t?new Ti({maxAttempts:typeof e==`number`?e:3,...t}):new Ti(e)}async acquireInitialRetryToken(e){let t=await this.standardRetryStrategy.acquireInitialRetryToken(e);return await this.rateLimiter.getSendToken(),t}async refreshRetryTokenForRetry(e,t){this.rateLimiter.updateClientSendingRate(t);let n=await this.standardRetryStrategy.refreshRetryTokenForRetry(e,t);return await this.rateLimiter.getSendToken(),n}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}},Di=(e,t)=>{let{retryStrategy:n,retryMode:r}=e,{defaultMaxAttempts:a=3,defaultBaseDelay:o=yi.delay()}=t??{},s=i(e.maxAttempts??a),c=n?Promise.resolve(n):void 0,l=async()=>{let e=await s();return await i(r)()===Si.ADAPTIVE?new Ei(s,{maxAttempts:e,baseDelay:o}):new Ti({maxAttempts:e,baseDelay:o})};return Object.assign(e,{maxAttempts:s,retryStrategy:()=>c??=l()})},Oi=_i(de);yi.v2026||=typeof process==`object`&&{}.AWS_NEW_RETRIES_2026===`true`;function ki(e,t,n){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=n}function Ai(e){return e}var ji=e=>t=>async n=>{if(!u.isInstance(n.request))return t(n);let{request:r}=n,{handlerProtocol:i=``}=e.requestHandler.metadata||{};if(i.indexOf(`h2`)>=0&&!r.headers[`:authority`])delete r.headers.host,r.headers[`:authority`]=r.hostname+(r.port?`:`+r.port:``);else if(!r.headers.host){let e=r.hostname;r.port!=null&&(e+=`:${r.port}`),r.headers.host=e}return t(n)},Mi={name:`hostHeaderMiddleware`,step:`build`,priority:`low`,tags:[`HOST`],override:!0},Ni=e=>({applyToStack:t=>{t.add(ji(e),Mi)}}),Pi=()=>(e,t)=>async n=>{try{let r=await e(n),{clientName:i,commandName:a,logger:o,dynamoDbDocumentClientOptions:s={}}=t,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:l}=s,u=c??t.inputFilterSensitiveLog,d=l??t.outputFilterSensitiveLog,{$metadata:f,...ee}=r.output;return o?.info?.({clientName:i,commandName:a,input:u(n.input),output:d(ee),metadata:f}),r}catch(e){let{clientName:r,commandName:i,logger:a,dynamoDbDocumentClientOptions:o={}}=t,{overrideInputFilterSensitiveLog:s}=o,c=s??t.inputFilterSensitiveLog;throw a?.error?.({clientName:r,commandName:i,input:c(n.input),error:e,metadata:e.$metadata}),e}},Fi={name:`loggerMiddleware`,tags:[`LOGGER`],step:`initialize`,override:!0},Ii=e=>({applyToStack:e=>{e.add(Pi(),Fi)}}),Li=e=>({applyToStack:e=>{}}),Ri=(e,t)=>{if(!t||t.length===0)return e;let n=[];for(let r of t)for(let t of e)t.schemeId.split(`#`)[1]===r&&n.push(t);for(let t of e)n.find(({schemeId:e})=>e===t.schemeId)||n.push(t);return n};function zi(e){let t=new Map;for(let n of e)t.set(n.schemeId,n);return t}var Bi=(e,t)=>(n,r)=>async i=>{let a=Ri(e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,r,i.input)),e.authSchemePreference?await e.authSchemePreference():[]),o=zi(e.httpAuthSchemes),c=s(r),l=[];for(let n of a){let i=o.get(n.schemeId);if(!i){l.push(`HttpAuthScheme \`${n.schemeId}\` was not enabled for this service.`);continue}let a=i.identityProvider(await t.identityProviderConfigProvider(e));if(!a){l.push(`HttpAuthScheme \`${n.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:s={},signingProperties:u={}}=n.propertiesExtractor?.(e,r)||{};n.identityProperties=Object.assign(n.identityProperties||{},s),n.signingProperties=Object.assign(n.signingProperties||{},u),c.selectedHttpAuthScheme={httpAuthOption:n,identity:await a(n.identityProperties),signer:i.signer};break}if(!c.selectedHttpAuthScheme)throw Error(l.join(`
7
+ If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body`);return e.stream()};return Object.assign(e,{transformToByteArray:n,transformToString:async e=>{let t=await n();if(e===`base64`)return wt(t);if(e===`hex`)return te(t);if(e===void 0||e===`utf8`||e===`utf-8`)return Et(t);if(typeof TextDecoder==`function`)return new TextDecoder(e).decode(t);throw Error(`TextDecoder is not available, please make sure polyfill is provided.`)},transformToWebStream:()=>{if(t)throw Error(Er);if(t=!0,Or(e))return r(e);if(fr(e))return e;throw Error(`Cannot transform payload to web stream, got ${e}`)}})},Or=e=>typeof Blob==`function`&&e instanceof Blob,kr=class extends Tt(Et,ne,wt,Ct){},Ar=Ot(e=>crypto.getRandomValues(e)),jr=Ar,Mr=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return kr.mutate(e);if(!e)return kr.mutate(new Uint8Array);let n=t.streamCollector(e);return kr.mutate(await n)};function Nr(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return`%`+e.charCodeAt(0).toString(16).toUpperCase()})}var Pr=class{serdeContext;setSerdeContext(e){this.serdeContext=e}},Fr=class extends Pr{options;compositeErrorRegistry;constructor(e){super(),this.options=e,this.compositeErrorRegistry=new tt(e.defaultNamespace);for(let t of e.errorTypeRegistries??[])this.compositeErrorRegistry.copyFrom(t)}getRequestType(){return u}getResponseType(){return ye}setSerdeContext(e){this.serdeContext=e,this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e),this.getPayloadCodec()&&this.getPayloadCodec().setSerdeContext(e)}updateServiceEndpoint(e,t){if(`url`in t){e.protocol=t.url.protocol,e.hostname=t.url.hostname,e.port=t.url.port?Number(t.url.port):void 0,e.path=t.url.pathname,e.fragment=t.url.hash||void 0,e.username=t.url.username||void 0,e.password=t.url.password||void 0,e.query||={};for(let[n,r]of t.url.searchParams.entries())e.query[n]=r;if(t.headers)for(let n in t.headers)m(t.headers,n)&&(e.headers[n]=t.headers[n].join(`, `));return e}if(e.protocol=t.protocol,e.hostname=t.hostname,e.port=t.port?Number(t.port):void 0,e.path=t.path,e.query={...t.query},t.headers)for(let n in t.headers)m(t.headers,n)&&(e.headers[n]=t.headers[n]);return e}setHostPrefix(e,t,n){if(this.serdeContext?.disableHostPrefix)return;let r=Ze.of(t.input),i=qe(t.traits??{});if(i.endpoint){let t=i.endpoint?.[0];if(typeof t==`string`){for(let[e,i]of r.structIterator()){if(!i.getMergedTraits().hostLabel)continue;let r=n[e];if(typeof r!=`string`)throw Error(`@smithy/core/schema - ${e} in input must be a string as hostLabel.`);t=t.replace(`{${e}}`,r)}if(e.hostname=t+e.hostname,!Se(e.hostname))throw Error(`[${e.hostname}] is not a valid hostname.`)}}}deserializeMetadata(e){return{httpStatusCode:e.statusCode,requestId:e.headers[`x-amzn-requestid`]??e.headers[`x-amzn-request-id`]??e.headers[`x-amz-request-id`],extendedRequestId:e.headers[`x-amz-id-2`],cfId:e.headers[`x-amz-cf-id`]}}resolveError(e,t,n){let r=[-3,``,`Error`,0,[],[],0],i;for(let r of n)for(let n of t)try{i=n===`*`?r.getSchema(e):r.getSchema(n+`#`+e);let t=r.getErrorCtor(i);if(t)return[i,t,`modeled`];{let e=r.getBaseException();if(e){let t=r.getErrorCtor(e);if(t)return[i,t,`synthetic`]}}}catch{}for(let e of n){let t=e.getBaseException();if(t){let n=e.getErrorCtor(t);if(n)return[t,n,`synthetic`]}}return[r,Error,`native`]}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n})}async loadEventStreamCapability(){let{EventStreamSerde:t,eventStreamSerdeProvider:n}=await e(async()=>{let{EventStreamSerde:e,eventStreamSerdeProvider:t}=await import(`./md-index.browser-K5L-ku5D.js`);return{EventStreamSerde:e,eventStreamSerdeProvider:t}},[]);return new t({marshaller:this.resolveEventStreamMarshaller(n),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType(),compositeErrorRegistry:this.compositeErrorRegistry})}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(e,t,n,r,i){return[]}getEventStreamMarshaller(){let e=this.serdeContext;if(!e.eventStreamMarshaller)throw Error(`@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.`);return e.eventStreamMarshaller}resolveEventStreamMarshaller(e){let t=this.serdeContext;return t.eventStreamMarshaller?t.eventStreamMarshaller:e(this.serdeContext)}},Ir=class extends Fr{async serializeRequest(e,t,n){let r=t&&typeof t==`object`?t:{},i=this.serializer,a={},o={},s=await n.endpoint(),c=Ze.of(e?.input),l=[],d=[],f=!1,ee,p=new u({protocol:``,hostname:``,port:void 0,path:``,fragment:void 0,query:a,headers:o,body:void 0});if(s){this.updateServiceEndpoint(p,s),this.setHostPrefix(p,e,r);let t=qe(e.traits);if(t.http){p.method=t.http[0];let[e,n]=t.http[1].split(`?`);p.path==`/`?p.path=e:p.path+=e;let r=new URLSearchParams(n??``);for(let[e,t]of r)a[e]=t}}for(let[e,t]of c.structIterator()){let n=t.getMergedTraits()??{},s=r[e];if(s==null&&!t.isIdempotencyToken()){if(n.httpLabel&&(p.path.includes(`{${e}+}`)||p.path.includes(`{${e}}`)))throw Error(`No value provided for input HTTP label: ${e}.`)}else if(n.httpPayload)t.isStreaming()?t.isStructSchema()?r[e]&&(ee=await this.serializeEventStream({eventStream:r[e],requestSchema:c})):ee=s:(i.write(t,s),ee=i.flush());else if(n.httpLabel){i.write(t,s);let n=i.flush();p.path.includes(`{${e}+}`)?p.path=p.path.replace(`{${e}+}`,n.split(`/`).map(Nr).join(`/`)):p.path.includes(`{${e}}`)&&(p.path=p.path.replace(`{${e}}`,Nr(n)))}else if(n.httpHeader)i.write(t,s),o[n.httpHeader.toLowerCase()]=String(i.flush());else if(typeof n.httpPrefixHeaders==`string`)for(let e in s){if(!m(s,e))continue;let r=s[e],a=n.httpPrefixHeaders+e;i.write([t.getValueSchema(),{httpHeader:a}],r),o[a.toLowerCase()]=i.flush()}else n.httpQuery||n.httpQueryParams?this.serializeQuery(t,s,a):(f=!0,l.push(e),d.push(t))}if(f&&r){let[e,t]=(c.getName(!0)??`#Unknown`).split(`#`),n=c.getSchema()[6],a=[3,e,t,c.getMergedTraits(),l,d,void 0];n?a[6]=n:a.pop(),i.write(a,r),ee=i.flush()}return p.headers=o,p.query=a,p.body=ee,p}serializeQuery(e,t,n){let r=this.serializer,i=e.getMergedTraits();if(i.httpQueryParams){for(let r in t)if(m(t,r)&&!(r in n)){let a=t[r],o=e.getValueSchema();Object.assign(o.getMergedTraits(),{...i,httpQuery:r,httpQueryParams:void 0}),this.serializeQuery(o,a,n)}}else if(e.isListSchema()){let a=!!e.getMergedTraits().sparse,o=[];for(let n of t){r.write([e.getValueSchema(),i],n);let t=r.flush();(a||t!==void 0)&&o.push(t)}n[i.httpQuery]=o}else r.write([e,i],t),n[i.httpQuery]=r.flush()}async deserializeResponse(e,t,n){let r=this.deserializer,i=Ze.of(e.output),a={};if(n.statusCode>=300){let i=await Mr(n.body,t);throw i.byteLength>0&&Object.assign(a,await r.read(15,i)),await this.handleError(e,t,n,a,this.deserializeMetadata(n)),Error(`@smithy/core/protocols - HTTP Protocol error handler failed to throw.`)}for(let e in n.headers){if(!m(n.headers,e))continue;let t=n.headers[e];delete n.headers[e],n.headers[e.toLowerCase()]=t}let o=await this.deserializeHttpMessage(i,t,n,a);if(o.length){let e=await Mr(n.body,t);if(e.byteLength>0){let t=await r.read(i,e);for(let e of o)t[e]!=null&&(a[e]=t[e])}}else o.discardResponseBody&&await Mr(n.body,t);return a.$metadata=this.deserializeMetadata(n),a}async deserializeHttpMessage(e,t,n,r,i){let a;a=r instanceof Set?i:r;let o=!0,s=this.deserializer,c=Ze.of(e),l=[];for(let[e,r]of c.structIterator()){let i=r.getMemberTraits();if(i.httpPayload){if(o=!1,r.isStreaming())r.isStructSchema()?a[e]=await this.deserializeEventStream({response:n,responseSchema:c}):a[e]=Dr(n.body);else if(n.body){let i=await Mr(n.body,t);i.byteLength>0&&(a[e]=await s.read(r,i))}}else if(i.httpHeader){let t=String(i.httpHeader).toLowerCase(),o=n.headers[t];if(o!=null){if(r.isListSchema()){let n=r.getValueSchema();n.getMergedTraits().httpHeader=t;let i;i=n.isTimestampSchema()&&n.getSchema()===4?Tn(o,`,`,2):En(o);let c=[];for(let e of i)c.push(await s.read(n,e.trim()));a[e]=c}else a[e]=await s.read(r,o)}}else if(i.httpPrefixHeaders!==void 0){a[e]={};for(let t in n.headers)if(m(n.headers,t)&&t.startsWith(i.httpPrefixHeaders)){let o=n.headers[t],c=r.getValueSchema();c.getMergedTraits().httpHeader=t,a[e][t.slice(i.httpPrefixHeaders.length)]=await s.read(c,o)}}else i.httpResponseCode?a[e]=n.statusCode:l.push(e)}return l.discardResponseBody=o,l}};function Lr(e,t){if(t.timestampFormat.useTrait&&e.isTimestampSchema()&&(e.getSchema()===5||e.getSchema()===6||e.getSchema()===7))return e.getSchema();let{httpLabel:n,httpPrefixHeaders:r,httpHeader:i,httpQuery:a}=e.getMergedTraits();return(t.httpBindings?typeof r==`string`||i?6:a||n?5:void 0:void 0)??t.timestampFormat.default}var Rr=class extends Pr{settings;constructor(e){super(),this.settings=e}read(e,t){let n=Ze.of(e);if(n.isListSchema())return En(t).map(e=>this.read(n.getValueSchema(),e));if(n.isBlobSchema())return(this.serdeContext?.base64Decoder??Ct)(t);if(n.isTimestampSchema())switch(Lr(n,this.settings)){case 5:return Sn(t);case 6:return Cn(t);case 7:return xn(t);default:return console.warn(`Missing timestamp format, parsing value with Date constructor:`,t),new Date(t)}if(n.isStringSchema()){let e=n.getMergedTraits().mediaType,r=t;if(e)return n.getMergedTraits().httpHeader&&(r=this.base64ToUtf8(r)),(e===`application/json`||e.endsWith(`+json`))&&(r=ln.from(r)),r}return n.isNumericSchema()?Number(t):n.isBigIntegerSchema()?BigInt(t):n.isBigDecimalSchema()?new On(t,`bigDecimal`):n.isBooleanSchema()?String(t).toLowerCase()===`true`:t}base64ToUtf8(e){return(this.serdeContext?.utf8Encoder??Et)((this.serdeContext?.base64Decoder??Ct)(e))}},zr=class extends Pr{codecDeserializer;stringDeserializer;constructor(e,t){super(),this.codecDeserializer=e,this.stringDeserializer=new Rr(t)}setSerdeContext(e){this.stringDeserializer.setSerdeContext(e),this.codecDeserializer.setSerdeContext(e),this.serdeContext=e}read(e,t){let n=Ze.of(e),r=n.getMergedTraits(),i=this.serdeContext?.utf8Encoder??Et;if(r.httpHeader||r.httpResponseCode)return this.stringDeserializer.read(n,i(t));if(r.httpPayload){if(n.isBlobSchema()){let e=this.serdeContext?.utf8Decoder??ne;return typeof t==`string`?e(t):t}if(n.isStringSchema())return`byteLength`in t?i(t):t}return this.codecDeserializer.read(n,t)}},Br=class extends Pr{settings;stringBuffer=``;constructor(e){super(),this.settings=e}write(e,t){let n=Ze.of(e);switch(typeof t){case`object`:if(t===null){this.stringBuffer=`null`;return}if(n.isTimestampSchema()){if(!(t instanceof Date))throw Error(`@smithy/core/protocols - received non-Date value ${t} when schema expected Date in ${n.getName(!0)}`);switch(Lr(n,this.settings)){case 5:this.stringBuffer=t.toISOString().replace(`.000Z`,`Z`);break;case 6:this.stringBuffer=Kt(t);break;case 7:this.stringBuffer=String(t.getTime()/1e3);break;default:console.warn(`Missing timestamp format, using epoch seconds`,t),this.stringBuffer=String(t.getTime()/1e3)}return}if(n.isBlobSchema()&&`byteLength`in t){this.stringBuffer=(this.serdeContext?.base64Encoder??wt)(t);return}if(n.isListSchema()&&Array.isArray(t)){let e=``;for(let r of t){this.write([n.getValueSchema(),n.getMergedTraits()],r);let t=this.flush(),i=n.getValueSchema().isTimestampSchema()?t:un(t);e!==``&&(e+=`, `),e+=i}this.stringBuffer=e;return}this.stringBuffer=JSON.stringify(t,null,2);break;case`string`:let e=n.getMergedTraits().mediaType,r=t;if(e&&((e===`application/json`||e.endsWith(`+json`))&&(r=ln.from(r)),n.getMergedTraits().httpHeader)){this.stringBuffer=(this.serdeContext?.base64Encoder??wt)(r.toString());return}this.stringBuffer=t;break;default:this.stringBuffer=n.isIdempotencyToken()?jr():String(t)}}flush(){let e=this.stringBuffer;return this.stringBuffer=``,e}},Vr=class{codecSerializer;stringSerializer;buffer;constructor(e,t,n=new Br(t)){this.codecSerializer=e,this.stringSerializer=n}setSerdeContext(e){this.codecSerializer.setSerdeContext(e),this.stringSerializer.setSerdeContext(e)}write(e,t){let n=Ze.of(e),r=n.getMergedTraits();if(r.httpHeader||r.httpLabel||r.httpQuery)this.stringSerializer.write(n,t),this.buffer=this.stringSerializer.flush();else return this.codecSerializer.write(n,t)}flush(){if(this.buffer!==void 0){let e=this.buffer;return this.buffer=void 0,e}return this.codecSerializer.flush()}},Hr=e=>(e.logger&&e.logger.constructor?.name!==`NoOpLogger`&&e.requestHandler?.updateHttpClientConfig?.(Symbol.for(`logger`),e.logger),{setHttpHandler(t){e.requestHandler=t},httpHandler(){return e.requestHandler},updateHttpClientConfig(t,n){e.requestHandler?.updateHttpClientConfig(t,n)},httpHandlerConfigs(){return e.requestHandler.httpHandlerConfigs()}}),Ur=e=>({requestHandler:e.httpHandler()}),Wr=`content-length`;function Gr(e){return t=>async n=>{let r=n.request;if(u.isInstance(r)){let{body:t,headers:n}=r;if(t&&Object.keys(n).map(e=>e.toLowerCase()).indexOf(Wr)===-1)try{let n=e(t);n!=null&&(r.headers={...r.headers,[Wr]:String(n)})}catch{}}return t({...n,request:r})}}var Kr={step:`build`,tags:[`SET_CONTENT_LENGTH`,`CONTENT_LENGTH`],name:`contentLengthMiddleware`,override:!0},qr=e=>({applyToStack:t=>{t.add(Gr(e.bodyLengthChecker),Kr)}}),Jr=[`BandwidthLimitExceeded`,`EC2ThrottledException`,`LimitExceededException`,`PriorRequestNotComplete`,`ProvisionedThroughputExceededException`,`RequestLimitExceeded`,`RequestThrottled`,`RequestThrottledException`,`SlowDown`,`ThrottledException`,`Throttling`,`ThrottlingException`,`TooManyRequestsException`,`TransactionInProgressException`],Yr=[`TimeoutError`,`RequestTimeout`,`RequestTimeoutException`],Xr=[500,502,503,504],Zr=[`ECONNRESET`,`ECONNREFUSED`,`EPIPE`,`ETIMEDOUT`],Qr=[`EHOSTUNREACH`,`ENETUNREACH`,`ENOTFOUND`,`EAI_AGAIN`],$r=e=>e?.$retryable!==void 0,ei=e=>e.$metadata?.clockSkewCorrected,ti=e=>{let t=new Set([`Failed to fetch`,`NetworkError when attempting to fetch resource`,`The Internet connection appears to be offline`,`Load failed`,`Network request failed`]);return e&&e instanceof TypeError?t.has(e.message):!1},ni=e=>e.$metadata?.httpStatusCode===429||Jr.includes(e.name)||e.$retryable?.throttling==1,ri=(e,t=0)=>e?.name!==`AbortError`&&($r(e)||ei(e)||e.name===`InvalidSignatureException`&&e.message?.includes(`Signature expired`)||Yr.includes(e.name)||Zr.includes(e?.code||``)||Qr.includes(e?.code||``)||Xr.includes(e.$metadata?.httpStatusCode||0)||ti(e)||ai(e)||e.cause!==void 0&&t<=10&&ri(e.cause,t+1)),ii=e=>{if(e.$metadata?.httpStatusCode!==void 0){let t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!ri(e)}return!1};function ai(e){return e.code===`ERR_HTTP2_STREAM_ERROR`&&e.message.includes(`NGHTTP2_REFUSED_STREAM`)}var oi=2e4,si=`amz-sdk-invocation-id`,ci=`amz-sdk-request`;function li(e,t){if(ye.isInstance(e))for(let n in e.headers){if(!m(e.headers,n))continue;let r=n.toLowerCase();if(r===`retry-after`){let r=e.headers[n],i=NaN;if(r.endsWith(`GMT`))try{i=(Xt(r).getTime()-Date.now())/1e3}catch(e){t?.trace?.(`Failed to parse retry-after header`),t?.trace?.(e)}else r.match(/ GMT, ((\d+)|(\d+\.\d+))$/)?i=Number(r.match(/ GMT, ([\d.]+)$/)?.[1]):r.match(/^((\d+)|(\d+\.\d+))$/)?i=Number(r):Date.parse(r)>=Date.now()&&(i=(Date.parse(r)-Date.now())/1e3);return isNaN(i)?void 0:new Date(Date.now()+i*1e3)}if(r===`x-amz-retry-after`){let r=e.headers[n],i=Number(r);if(isNaN(i)){t?.trace?.(`Failed to parse x-amz-retry-after=${r}`);return}return new Date(Date.now()+i)}}}var ui=e=>e instanceof Error?e:e instanceof Object?Object.assign(Error(),e):Error(typeof e==`string`?e:`AWS SDK error wrapper for ${e}`);function di(e){return t=>(n,r)=>async i=>{let a=await t.retryStrategy(),o=await t.maxAttempts();if(pi(a)){a=a;let s=await a.acquireInitialRetryToken((r.partition_id??``)+(r.__retryLongPoll?`:longpoll`:``)),c=Error(),l=0,d=0,{request:f}=i,ee=u.isInstance(f);for(ee&&(f.headers[si]=Ar());;)try{ee&&(f.headers[ci]=`attempt=${l+1}; max=${o}`);let{response:e,output:t}=await n(i);return a.recordSuccess(s),t.$metadata.attempts=l+1,t.$metadata.totalRetryDelay=d,{response:e,output:t}}catch(n){let i=mi(n,t.logger);if(c=ui(n),ee&&e(f))throw(r.logger instanceof vt?console:r.logger)?.warn(`An error was encountered in a non-retryable streaming request.`),c;try{s=await a.refreshRetryTokenForRetry(s,i)}catch{throw c.$metadata||(c.$metadata={}),c.$metadata.attempts=l+1,c.$metadata.totalRetryDelay=d,c}l=s.getRetryCount();let o=s.getRetryDelay();d+=(s?.$retryLog?.acquisitionDelay??0)+o,o>0&&await fi(o)}}else return a=a,a?.mode&&(r.userAgent=[...r.userAgent||[],[`cfg/retry-mode`,a.mode]]),a.retry(n,i)}}var fi=e=>new Promise(t=>setTimeout(t,e)),pi=e=>e.acquireInitialRetryToken!==void 0&&e.refreshRetryTokenForRetry!==void 0&&e.recordSuccess!==void 0,mi=(e,t)=>{let n={error:e,errorType:hi(e)},r=li(e.$response,t);return r&&(n.retryAfterHint=r),n},hi=e=>ni(e)?`THROTTLING`:ri(e)?`TRANSIENT`:ii(e)?`SERVER_ERROR`:`CLIENT_ERROR`,gi={name:`retryMiddleware`,tags:[`RETRY`],step:`finalizeRequest`,priority:`high`,override:!0};function _i(e){let t=di(e);return e=>({applyToStack:n=>{n.add(t(e),gi)}})}var vi=class e{static setTimeoutFn=(e,t)=>setTimeout(e,t);beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(e){this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(e){let t;this.updateMeasuredRate();let n=e;if(n?.errorType===`THROTTLING`||ni(n?.error??e)){let e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());let r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}getCurrentTimeInSeconds(){return Date.now()/1e3}async acquireTokenBucket(t){if(this.enabled){for(this.refillTokenBucket();t>this.availableTokens;){let n=(t-this.availableTokens)/this.fillRate*1e3;await new Promise(t=>e.setTimeoutFn(t,n)),this.refillTokenBucket()}this.availableTokens-=t}}refillTokenBucket(){let e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}let t=(e-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+t),this.lastTimestamp=e}calculateTimeWindow(){this.timeWindow=this.getPrecise((this.lastMaxRate*(1-this.beta)/this.scaleConstant)**(1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*(e-this.lastThrottleTime-this.timeWindow)**3+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let e=this.getCurrentTimeInSeconds(),t=Math.floor(e*2)/2;if(this.requestCount++,t>this.lastTxRateBucket){let e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}},yi=class e{static v2026=typeof process<`u`&&{}.SMITHY_NEW_RETRIES_2026===`true`;static delay(){return e.v2026?50:100}static throttlingDelay(){return e.v2026?1e3:500}static cost(){return e.v2026?14:5}static throttlingCost(){return e.v2026?5:10}static modifiedCostType(){return e.v2026?`THROTTLING`:`TRANSIENT`}},bi=class{x=yi.delay();computeNextBackoffDelay(e){let t=Math.random()*Math.min(this.x*2**e,oi);return Math.floor(t)}setDelayBase(e){this.x=e}},xi=class{delay;count;cost;longPoll;$retryLog={acquisitionDelay:0};constructor(e,t,n,r){this.delay=e,this.count=t,this.cost=n,this.longPoll=r}getRetryCount(){return this.count}getRetryDelay(){return Math.min(oi,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}},Si;(function(e){e.STANDARD=`standard`,e.ADAPTIVE=`adaptive`})(Si||={});var Ci=Si.STANDARD,wi={incompatible:1,attempts:2,capacity:3},Ti=class{mode=Si.STANDARD;retryBackoffStrategy;capacity=500;maxAttemptsProvider;baseDelay;constructor(e){typeof e==`number`?this.maxAttemptsProvider=async()=>e:typeof e==`function`?this.maxAttemptsProvider=e:e&&typeof e==`object`&&(this.maxAttemptsProvider=async()=>e.maxAttempts,this.baseDelay=e.baseDelay,this.retryBackoffStrategy=e.backoff),this.maxAttemptsProvider??=async()=>3,this.baseDelay??=yi.delay(),this.retryBackoffStrategy??=new bi}async acquireInitialRetryToken(e){return new xi(yi.delay(),0,void 0,yi.v2026&&e.includes(`:longpoll`))}async refreshRetryTokenForRetry(e,t){let n=await this.getMaxAttempts(),r=this.retryCode(e,t,n),i=r===0,a=e.isLongPoll?.();if(i||a){let n=t.errorType;this.retryBackoffStrategy.setDelayBase(n===`THROTTLING`?yi.throttlingDelay():this.baseDelay);let o=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),s=o;if(t.retryAfterHint instanceof Date&&(s=Math.max(o,Math.min(t.retryAfterHint.getTime()-Date.now(),o+5e3))),i){let t=this.getCapacityCost(n);this.capacity-=t;let r=new xi(0,e.getRetryCount()+1,t,e.isLongPoll?.()??!1);return await new Promise(e=>setTimeout(e,s)),r.$retryLog.acquisitionDelay=s,r}{let e=yi.v2026&&r===wi.capacity&&a?s:0;e>0&&await new Promise(t=>setTimeout(t,e))}}throw Error(`No retry token available`)}recordSuccess(e){this.capacity=Math.min(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch{return console.warn(`Max attempts provider could not resolve. Using default of 3`),3}}retryCode(e,t,n){let r=e.getRetryCount()+1,i=this.isRetryableError(t.errorType)?0:wi.incompatible,a=r<n?0:wi.attempts,o=this.capacity>=this.getCapacityCost(t.errorType)?0:wi.capacity;return i||a||o}getCapacityCost(e){return e===yi.modifiedCostType()?yi.throttlingCost():yi.cost()}isRetryableError(e){return e===`THROTTLING`||e===`TRANSIENT`}},Ei=class{mode=Si.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(e,t){let{rateLimiter:n}=t??{};this.rateLimiter=n??new vi,this.standardRetryStrategy=t?new Ti({maxAttempts:typeof e==`number`?e:3,...t}):new Ti(e)}async acquireInitialRetryToken(e){let t=await this.standardRetryStrategy.acquireInitialRetryToken(e);return await this.rateLimiter.getSendToken(),t}async refreshRetryTokenForRetry(e,t){this.rateLimiter.updateClientSendingRate(t);let n=await this.standardRetryStrategy.refreshRetryTokenForRetry(e,t);return await this.rateLimiter.getSendToken(),n}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}},Di=(e,t)=>{let{retryStrategy:n,retryMode:r}=e,{defaultMaxAttempts:a=3,defaultBaseDelay:o=yi.delay()}=t??{},s=i(e.maxAttempts??a),c=n?Promise.resolve(n):void 0,l=async()=>{let e=await s();return await i(r)()===Si.ADAPTIVE?new Ei(s,{maxAttempts:e,baseDelay:o}):new Ti({maxAttempts:e,baseDelay:o})};return Object.assign(e,{maxAttempts:s,retryStrategy:()=>c??=l()})},Oi=_i(de);yi.v2026||=typeof process==`object`&&{}.AWS_NEW_RETRIES_2026===`true`;function ki(e,t,n){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=n}function Ai(e){return e}var ji=e=>t=>async n=>{if(!u.isInstance(n.request))return t(n);let{request:r}=n,{handlerProtocol:i=``}=e.requestHandler.metadata||{};if(i.indexOf(`h2`)>=0&&!r.headers[`:authority`])delete r.headers.host,r.headers[`:authority`]=r.hostname+(r.port?`:`+r.port:``);else if(!r.headers.host){let e=r.hostname;r.port!=null&&(e+=`:${r.port}`),r.headers.host=e}return t(n)},Mi={name:`hostHeaderMiddleware`,step:`build`,priority:`low`,tags:[`HOST`],override:!0},Ni=e=>({applyToStack:t=>{t.add(ji(e),Mi)}}),Pi=()=>(e,t)=>async n=>{try{let r=await e(n),{clientName:i,commandName:a,logger:o,dynamoDbDocumentClientOptions:s={}}=t,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:l}=s,u=c??t.inputFilterSensitiveLog,d=l??t.outputFilterSensitiveLog,{$metadata:f,...ee}=r.output;return o?.info?.({clientName:i,commandName:a,input:u(n.input),output:d(ee),metadata:f}),r}catch(e){let{clientName:r,commandName:i,logger:a,dynamoDbDocumentClientOptions:o={}}=t,{overrideInputFilterSensitiveLog:s}=o,c=s??t.inputFilterSensitiveLog;throw a?.error?.({clientName:r,commandName:i,input:c(n.input),error:e,metadata:e.$metadata}),e}},Fi={name:`loggerMiddleware`,tags:[`LOGGER`],step:`initialize`,override:!0},Ii=e=>({applyToStack:e=>{e.add(Pi(),Fi)}}),Li=e=>({applyToStack:e=>{}}),Ri=(e,t)=>{if(!t||t.length===0)return e;let n=[];for(let r of t)for(let t of e)t.schemeId.split(`#`)[1]===r&&n.push(t);for(let t of e)n.find(({schemeId:e})=>e===t.schemeId)||n.push(t);return n};function zi(e){let t=new Map;for(let n of e)t.set(n.schemeId,n);return t}var Bi=(e,t)=>(n,r)=>async i=>{let a=Ri(e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,r,i.input)),e.authSchemePreference?await e.authSchemePreference():[]),o=zi(e.httpAuthSchemes),c=s(r),l=[];for(let n of a){let i=o.get(n.schemeId);if(!i){l.push(`HttpAuthScheme \`${n.schemeId}\` was not enabled for this service.`);continue}let a=i.identityProvider(await t.identityProviderConfigProvider(e));if(!a){l.push(`HttpAuthScheme \`${n.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:s={},signingProperties:u={}}=n.propertiesExtractor?.(e,r)||{};n.identityProperties=Object.assign(n.identityProperties||{},s),n.signingProperties=Object.assign(n.signingProperties||{},u),c.selectedHttpAuthScheme={httpAuthOption:n,identity:await a(n.identityProperties),signer:i.signer};break}if(!c.selectedHttpAuthScheme)throw Error(l.join(`
8
8
  `));return n(i)},Vi={step:`serialize`,tags:[`HTTP_AUTH_SCHEME`],name:`httpAuthSchemeMiddleware`,override:!0,relation:`before`,toMiddleware:`endpointV2Middleware`},Hi=(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n})=>({applyToStack:r=>{r.addRelativeTo(Bi(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:n}),Vi)}}),Ui=e=>e=>{throw e},Wi=(e,t)=>{},Gi=e=>(e,t)=>async n=>{if(!u.isInstance(n.request))return e(n);let r=s(t).selectedHttpAuthScheme;if(!r)throw Error(`No HttpAuthScheme was selected: unable to sign request`);let{httpAuthOption:{signingProperties:i={}},identity:a,signer:o}=r,c=await e({...n,request:await o.sign(n.request,a,i)}).catch((o.errorHandler||Ui)(i));return(o.successHandler||Wi)(c.response,i),c},Ki={step:`finalizeRequest`,tags:[`HTTP_SIGNING`],name:`httpSigningMiddleware`,aliases:[`apiKeyMiddleware`,`tokenMiddleware`,`awsAuthMiddleware`],override:!0,relation:`after`,toMiddleware:`retryMiddleware`},qi=e=>({applyToStack:t=>{t.addRelativeTo(Gi(e),Ki)}}),Ji=e=>{if(typeof e==`function`)return e;let t=Promise.resolve(e);return()=>t},Yi=async(e,t,n,r=e=>e,...i)=>{let a=new e(n);return a=r(a)??a,await t.send(a,...i)};function Xi(e,t,n,r,i){return async function*(a,o,...s){let c=o,l=a.startingToken??c[n],u=!0,d;for(;u;){if(c[n]=l,i&&(c[i]=c[i]??a.pageSize),a.client instanceof e)d=await Yi(t,a.client,o,a.withCommand,...s);else throw Error(`Invalid client, expected instance of ${e.name}`);yield d;let f=l;l=Zi(d,r),u=!(!l||a.stopOnSameToken&&l===f)}return void 0}}var Zi=(e,t)=>{let n=e,r=t.split(`.`);for(let e of r){if(!n||typeof n!=`object`)return;n=n[e]}return n},Qi=class{authSchemes=new Map;constructor(e){for(let t in e){if(!m(e,t))continue;let n=e[t];n!==void 0&&this.authSchemes.set(t,n)}}getIdentityProvider(e){return this.authSchemes.get(e)}},$i=(e=>function(t){return ea(t)&&t.expiration.getTime()-Date.now()<e})(3e5),ea=e=>e.expiration!==void 0,ta=(e,t,n)=>{if(e===void 0)return;let r=typeof e==`function`?e:async()=>Promise.resolve(e),i,a,o,s=!1,c=async e=>{a||=r(e);try{i=await a,o=!0,s=!1}finally{a=void 0}return i};return t===void 0?async e=>((!o||e?.forceRefresh)&&(i=await c(e)),i):async e=>((!o||e?.forceRefresh)&&(i=await c(e)),s?i:n(i)?(t(i)&&await c(e),i):(s=!0,i))};function na(e){return e===void 0||typeof e==`string`&&e.length<=50}function ra(e){let t=Ji(e.userAgentAppId??void 0),{customUserAgent:n}=e;return Object.assign(e,{customUserAgent:typeof n==`string`?[[n]]:n,userAgentAppId:async()=>{let n=await t();if(!na(n)){let t=e.logger?.constructor?.name===`NoOpLogger`||!e.logger?console:e.logger;typeof n==`string`?n.length>50&&t?.warn(`The provided userAgentAppId exceeds the maximum length of 50 characters.`):t?.warn(`userAgentAppId must be a string or undefined.`)}return n}})}var ia={partitions:[{id:`aws`,outputs:{dnsSuffix:`amazonaws.com`,dualStackDnsSuffix:`api.aws`,implicitGlobalRegion:`us-east-1`,name:`aws`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$`,regions:{"af-south-1":{description:`Africa (Cape Town)`},"ap-east-1":{description:`Asia Pacific (Hong Kong)`},"ap-east-2":{description:`Asia Pacific (Taipei)`},"ap-northeast-1":{description:`Asia Pacific (Tokyo)`},"ap-northeast-2":{description:`Asia Pacific (Seoul)`},"ap-northeast-3":{description:`Asia Pacific (Osaka)`},"ap-south-1":{description:`Asia Pacific (Mumbai)`},"ap-south-2":{description:`Asia Pacific (Hyderabad)`},"ap-southeast-1":{description:`Asia Pacific (Singapore)`},"ap-southeast-2":{description:`Asia Pacific (Sydney)`},"ap-southeast-3":{description:`Asia Pacific (Jakarta)`},"ap-southeast-4":{description:`Asia Pacific (Melbourne)`},"ap-southeast-5":{description:`Asia Pacific (Malaysia)`},"ap-southeast-6":{description:`Asia Pacific (New Zealand)`},"ap-southeast-7":{description:`Asia Pacific (Thailand)`},"aws-global":{description:`aws global region`},"ca-central-1":{description:`Canada (Central)`},"ca-west-1":{description:`Canada West (Calgary)`},"eu-central-1":{description:`Europe (Frankfurt)`},"eu-central-2":{description:`Europe (Zurich)`},"eu-north-1":{description:`Europe (Stockholm)`},"eu-south-1":{description:`Europe (Milan)`},"eu-south-2":{description:`Europe (Spain)`},"eu-west-1":{description:`Europe (Ireland)`},"eu-west-2":{description:`Europe (London)`},"eu-west-3":{description:`Europe (Paris)`},"il-central-1":{description:`Israel (Tel Aviv)`},"me-central-1":{description:`Middle East (UAE)`},"me-south-1":{description:`Middle East (Bahrain)`},"mx-central-1":{description:`Mexico (Central)`},"sa-east-1":{description:`South America (Sao Paulo)`},"us-east-1":{description:`US East (N. Virginia)`},"us-east-2":{description:`US East (Ohio)`},"us-west-1":{description:`US West (N. California)`},"us-west-2":{description:`US West (Oregon)`}}},{id:`aws-cn`,outputs:{dnsSuffix:`amazonaws.com.cn`,dualStackDnsSuffix:`api.amazonwebservices.com.cn`,implicitGlobalRegion:`cn-northwest-1`,name:`aws-cn`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^cn\\-\\w+\\-\\d+$`,regions:{"aws-cn-global":{description:`aws-cn global region`},"cn-north-1":{description:`China (Beijing)`},"cn-northwest-1":{description:`China (Ningxia)`}}},{id:`aws-eusc`,outputs:{dnsSuffix:`amazonaws.eu`,dualStackDnsSuffix:`api.amazonwebservices.eu`,implicitGlobalRegion:`eusc-de-east-1`,name:`aws-eusc`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^eusc\\-(de)\\-\\w+\\-\\d+$`,regions:{"eusc-de-east-1":{description:`AWS European Sovereign Cloud (Germany)`}}},{id:`aws-iso`,outputs:{dnsSuffix:`c2s.ic.gov`,dualStackDnsSuffix:`api.aws.ic.gov`,implicitGlobalRegion:`us-iso-east-1`,name:`aws-iso`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-iso\\-\\w+\\-\\d+$`,regions:{"aws-iso-global":{description:`aws-iso global region`},"us-iso-east-1":{description:`US ISO East`},"us-iso-west-1":{description:`US ISO WEST`}}},{id:`aws-iso-b`,outputs:{dnsSuffix:`sc2s.sgov.gov`,dualStackDnsSuffix:`api.aws.scloud`,implicitGlobalRegion:`us-isob-east-1`,name:`aws-iso-b`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-isob\\-\\w+\\-\\d+$`,regions:{"aws-iso-b-global":{description:`aws-iso-b global region`},"us-isob-east-1":{description:`US ISOB East (Ohio)`},"us-isob-west-1":{description:`US ISOB West`}}},{id:`aws-iso-e`,outputs:{dnsSuffix:`cloud.adc-e.uk`,dualStackDnsSuffix:`api.cloud-aws.adc-e.uk`,implicitGlobalRegion:`eu-isoe-west-1`,name:`aws-iso-e`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^eu\\-isoe\\-\\w+\\-\\d+$`,regions:{"aws-iso-e-global":{description:`aws-iso-e global region`},"eu-isoe-west-1":{description:`EU ISOE West`}}},{id:`aws-iso-f`,outputs:{dnsSuffix:`csp.hci.ic.gov`,dualStackDnsSuffix:`api.aws.hci.ic.gov`,implicitGlobalRegion:`us-isof-south-1`,name:`aws-iso-f`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-isof\\-\\w+\\-\\d+$`,regions:{"aws-iso-f-global":{description:`aws-iso-f global region`},"us-isof-east-1":{description:`US ISOF EAST`},"us-isof-south-1":{description:`US ISOF SOUTH`}}},{id:`aws-us-gov`,outputs:{dnsSuffix:`amazonaws.com`,dualStackDnsSuffix:`api.aws`,implicitGlobalRegion:`us-gov-west-1`,name:`aws-us-gov`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-gov\\-\\w+\\-\\d+$`,regions:{"aws-us-gov-global":{description:`aws-us-gov global region`},"us-gov-east-1":{description:`AWS GovCloud (US-East)`},"us-gov-west-1":{description:`AWS GovCloud (US-West)`}}}],version:`1.1`},aa=``,oa=e=>{let{partitions:t}=ia;for(let n of t){let{regions:t,outputs:r}=n;for(let[n,i]of Object.entries(t))if(n===e)return{...r,...i}}for(let n of t){let{regionRegex:t,outputs:r}=n;if(new RegExp(t).test(e))return{...r}}let n=t.find(e=>e.id===`aws`);if(!n)throw Error(`Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.`);return{...n.outputs}},sa=()=>aa,ca=/\d{12}\.ddb/;async function la(e,t,n){if(n.request?.headers?.[`smithy-protocol`]===`rpc-v2-cbor`&&ki(e,`PROTOCOL_RPC_V2_CBOR`,`M`),typeof t.retryStrategy==`function`){let n=await t.retryStrategy();if(typeof n.mode==`string`)switch(n.mode){case Si.ADAPTIVE:ki(e,`RETRY_MODE_ADAPTIVE`,`F`);break;case Si.STANDARD:ki(e,`RETRY_MODE_STANDARD`,`E`)}}if(typeof t.accountIdEndpointMode==`function`){let n=e.endpointV2;switch(String(n?.url?.hostname).match(ca)&&ki(e,`ACCOUNT_ID_ENDPOINT`,`O`),await t.accountIdEndpointMode?.()){case`disabled`:ki(e,`ACCOUNT_ID_MODE_DISABLED`,`Q`);break;case`preferred`:ki(e,`ACCOUNT_ID_MODE_PREFERRED`,`P`);break;case`required`:ki(e,`ACCOUNT_ID_MODE_REQUIRED`,`R`)}}let r=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(r?.$source){let t=r;t.accountId&&ki(e,`RESOLVED_ACCOUNT_ID`,`T`);for(let[n,r]of Object.entries(t.$source??{}))ki(e,n,r)}}var ua=`user-agent`,da=`x-amz-user-agent`,fa=/[^!$%&'*+\-.^_`|~\w]/g,pa=/[^!$%&'*+\-.^_`|~\w#]/g,ma=1024;function ha(e){let t=``;for(let n in e){let r=e[n];if(t.length+r.length+1<=ma)t.length?t+=`,`+r:t+=r;else break}return t}var ga=e=>(t,n)=>async r=>{let{request:i}=r;if(!u.isInstance(i))return t(r);let{headers:a}=i,o=n?.userAgent?.map(_a)||[],s=(await e.defaultUserAgentProvider()).map(_a);await la(n,e,r);let c=n;s.push(`m/${ha(Object.assign({},n.__smithy_context?.features,c.__aws_sdk_context?.features))}`);let l=e?.customUserAgent?.map(_a)||[],d=await e.userAgentAppId();d&&s.push(_a([`app`,`${d}`]));let f=sa(),ee=(f?[f]:[]).concat([...s,...o,...l]).join(` `),p=[...s.filter(e=>e.startsWith(`aws-sdk-`)),...l].join(` `);return e.runtime===`browser`?a[da]=ee:(p&&(a[da]=a[`x-amz-user-agent`]?`${a[ua]} ${p}`:p),a[ua]=ee),t({...r,request:i})},_a=e=>{let t=e[0].split(`/`).map(e=>e.replace(fa,`-`)).join(`/`),n=e[1]?.replace(pa,`-`),r=t.indexOf(`/`),i=t.substring(0,r),a=t.substring(r+1);return i===`api`&&(a=a.toLowerCase()),[i,a,n].filter(e=>e&&e.length>0).reduce((e,t,n)=>{switch(n){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},``)},va={name:`getUserAgentMiddleware`,step:`build`,priority:`low`,tags:[`SET_USER_AGENT`,`USER_AGENT`],override:!0},ya=e=>({applyToStack:t=>{t.add(ga(e),va)}}),ba=({serviceId:e,clientVersion:t})=>async n=>{let r=typeof window<`u`?window.navigator:void 0,i=r?.userAgent??``,a=r?.userAgentData?.platform??xa.os(i)??`other`,o=r?.userAgentData?.brands??[],s=o[o.length-1],c=s?.brand??xa.browser(i)??`unknown`,l=s?.version??`unknown`,u=[[`aws-sdk-js`,t],[`ua`,`2.1`],[`os/${a}`,void 0],[`lang/js`],[`md/browser`,`${c}_${l}`]];e&&u.push([`api/${e}`,t]);let d=await n?.userAgentAppId?.();return d&&u.push([`app/${d}`]),u},xa={os(e){if(/iPhone|iPad|iPod/.test(e))return`iOS`;if(/Macintosh|Mac OS X/.test(e))return`macOS`;if(/Windows NT/.test(e))return`Windows`;if(/Android/.test(e))return`Android`;if(/Linux/.test(e))return`Linux`},browser(e){if(/EdgiOS|EdgA|Edg\//.test(e))return`Microsoft Edge`;if(/Firefox\//.test(e))return`Firefox`;if(/Chrome\//.test(e))return`Chrome`;if(/Safari\//.test(e))return`Safari`}},Sa=(e,t=!1)=>{if(t){for(let t of e.split(`.`))if(!Sa(t))return!1;return!0}return!(!xe(e)||e.length<3||e.length>63||e!==e.toLowerCase()||Kn(e))},Ca=`:`,wa=`/`,Ta={isVirtualHostableS3Bucket:Sa,parseArn:e=>{let t=e.split(Ca);if(t.length<6)return null;let[n,r,i,a,o,...s]=t;return n!==`arn`||r===``||i===``||s.join(Ca)===``?null:{partition:r,service:i,region:a,accountId:o,resourceId:s.map(e=>e.split(wa)).flat()}},partition:oa};Ln.aws=Ta;var Ea=(e,t,n)=>{let r,i,a,o=!1,s=async()=>{i||=e();try{r=await i,a=!0,o=!1}finally{i=void 0}return r};return t===void 0?async e=>((!a||e?.forceRefresh)&&(r=await s()),r):async e=>((!a||e?.forceRefresh)&&(r=await s()),o?r:n&&!n(r)?(o=!0,r):(t(r)&&await s(),r))},Da=new Set,Oa=(e,t=xe)=>{if(!Da.has(e)&&!t(e)){if(e===`*`)console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);else throw Error(`Region not accepted: region="${e}" is not a valid hostname component.`)}else Da.add(e)},ka=e=>typeof e==`string`&&(e.startsWith(`fips-`)||e.endsWith(`-fips`)),Aa=e=>ka(e)?[`fips-aws-global`,`aws-fips`].includes(e)?`us-east-1`:e.replace(/fips-(dkr-|prod-)?|-fips/,``):e,ja=e=>{let{region:t,useFipsEndpoint:n}=e;if(!t)throw Error(`Region is missing`);return Object.assign(e,{region:async()=>{let e=Aa(typeof t==`function`?await t():t);return Oa(e),e},useFipsEndpoint:async()=>ka(typeof t==`string`?t:await t())?!0:typeof n==`function`?n():Promise.resolve(!!n)})},Ma=[`in-region`,`cross-region`,`mobile`,`standard`,`legacy`],Na=({defaultsMode:e}={})=>Ea(async()=>{let t=typeof e==`function`?await e():e;switch(t?.toLowerCase()){case`auto`:return Promise.resolve(Pa()?`mobile`:`standard`);case`mobile`:case`in-region`:case`cross-region`:case`standard`:case`legacy`:return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve(`legacy`);default:throw Error(`Invalid parameter for "defaultsMode", expect ${Ma.join(`, `)}, got ${t}`)}}),Pa=()=>{let e=window?.navigator;if(e?.connection){let{effectiveType:t,rtt:n,downlink:r}=e.connection;if(typeof t==`string`&&t!==`4g`||Number(n)>100||Number(r)<10)return!0}return e?.userAgentData?.mobile||typeof e?.maxTouchPoints==`number`&&e?.maxTouchPoints>1},Fa=e=>({setRegion(t){e.region=t},region(){return e.region}}),Ia=e=>({region:e.region()}),La=(e,{requestChecksumRequired:t,requestAlgorithmMember:n,requestChecksumCalculation:r})=>{if(!n)return r===ie.WHEN_SUPPORTED||t?le:void 0;if(e[n])return e[n]},Ra=e=>e===h.MD5?`content-md5`:`x-amz-checksum-${e.toLowerCase()}`,za=(e,t)=>{let n=e.toLowerCase();for(let e of Object.keys(t))if(n===e.toLowerCase())return!0;return!1},Ba=(e,t)=>{let n=e.toLowerCase();for(let e of Object.keys(t))if(e.toLowerCase().startsWith(n))return!0;return!1},Va=e=>e!==void 0&&typeof e!=`string`&&!ArrayBuffer.isView(e)&&!n(e),Ha=new Uint32Array(256);for(let e=0;e<256;++e){let t=e;for(let e=0;e<8;++e)t=t&1?2197175160^t>>>1:t>>>1;Ha[e]=t>>>0}var Ua=class{digestLength=4;crc=4294967295;update(e){let t=this.crc;for(let n=0;n<e.length;++n)t=t>>>8^Ha[(t^e[n])&255];this.crc=t}async digest(){let e=(this.crc^4294967295)>>>0,t=new Uint8Array(4);return t[0]=e>>>24,t[1]=e>>>16&255,t[2]=e>>>8&255,t[3]=e&255,t}reset(){this.crc=4294967295}},Wa=()=>{let e=Array(8);for(let t=0;t<8;t++){let n=Array(512);for(let e=0;e<256;e++){let r=BigInt(e);for(let e=0;e<8*(t+1);e++)r&1n?r=r>>1n^11127430586519243189n:r>>=1n;n[e*2]=Number(r>>32n&4294967295n),n[e*2+1]=Number(r&4294967295n)}e[t]=new Uint32Array(n)}return e},Ga,Ka,qa,Ja,Ya,Xa,Za,Qa,$a,eo=()=>{Ga||(Ga=Wa(),[Ka,qa,Ja,Ya,Xa,Za,Qa,$a]=Ga)},to=class{c1=0;c2=0;constructor(){eo(),this.reset()}update(e){let t=e.length,n=0,r=this.c1,i=this.c2;for(;n+8<=t;){let t=((i^e[n++])&255)<<1,a=((i>>>8^e[n++])&255)<<1,o=((i>>>16^e[n++])&255)<<1,s=((i>>>24^e[n++])&255)<<1,c=((r^e[n++])&255)<<1,l=((r>>>8^e[n++])&255)<<1,u=((r>>>16^e[n++])&255)<<1,d=((r>>>24^e[n++])&255)<<1;r=$a[t]^Qa[a]^Za[o]^Xa[s]^Ya[c]^Ja[l]^qa[u]^Ka[d],i=$a[t+1]^Qa[a+1]^Za[o+1]^Xa[s+1]^Ya[c+1]^Ja[l+1]^qa[u+1]^Ka[d+1]}for(;n<t;){let t=((i^e[n])&255)<<1;i=(i>>>8|(r&255)<<24)>>>0,r=r>>>8^Ka[t],i^=Ka[t+1],++n}this.c1=r,this.c2=i}async digest(){let e=this.c1^4294967295,t=this.c2^4294967295;return new Uint8Array([e>>>24,e>>>16&255,e>>>8&255,e&255,t>>>24,t>>>16&255,t>>>8&255,t&255])}reset(){this.c1=4294967295,this.c2=4294967295}};async function no(e,t,n=1048576){let r=e.size,i=0;for(;i<r;){let a=e.slice(i,Math.min(r,i+n));t(new Uint8Array(await a.arrayBuffer())),i+=a.size}}var ro=async function(e,t){let n=new e;return await no(t,e=>{n.update(e)}),n.digest()},io=class{digestLength=16;state=Uint32Array.from(ao);writeBuffer=new DataView(new ArrayBuffer(64));bufferLength=0;bytesHashed=0;update(e){let t=o(e),n=0,r=t.byteLength;for(this.bytesHashed+=r;r>0;)this.writeBuffer.setUint8(this.bufferLength++,t[n++]),--r,this.bufferLength===64&&(lo(this.state,this.writeBuffer),this.bufferLength=0)}async digest(){let e=Uint32Array.from(this.state),t=new DataView(this.writeBuffer.buffer.slice(0)),n=this.bufferLength,r=this.bytesHashed*8;if(t.setUint8(n++,128),this.bufferLength%64>=56){for(let e=n;e<64;++e)t.setUint8(e,0);lo(e,t),n=0}for(let e=n;e<56;++e)t.setUint8(e,0);t.setUint32(56,r>>>0,!0),t.setUint32(60,Math.floor(r/2**32),!0),lo(e,t);let i=new Uint8Array(16),a=new DataView(i.buffer);for(let t=0;t<4;++t)a.setUint32(t*4,e[t],!0);return i}reset(){this.state.set(ao),this.writeBuffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0}},ao=[1732584193,4023233417,2562383102,271733878],oo=4294967295,so=Uint8Array.of(7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21),co=Array.from({length:64},(e,t)=>Math.abs(Math.sin(t+1))*2**32>>>0);function lo(e,t){let n=e[0],r=e[1],i=e[2],a=e[3];for(let e=0;e<64;++e){let o,s;e<16?(o=r&i|~r&a,s=e):e<32?(o=a&r|i&~a,s=(5*e+1)%16):e<48?(o=r^i^a,s=(3*e+5)%16):(o=i^(r|~a),s=7*e%16);let c=t.getUint32(s*4,!0),l=a;a=i,i=r;let u=so[(e>>4)*4+(e&3)],d=(n+o&oo)+(c+co[e]&oo)&oo;r=r+((d<<u|d>>>32-u)>>>0)&oo,n=l}e[0]=e[0]+n&oo,e[1]=e[1]+r&oo,e[2]=e[2]+i&oo,e[3]=e[3]+a&oo}var uo=new Uint32Array(256);for(let e=0;e<256;++e){let t=e;for(let e=0;e<8;++e)t=t&1?3988292384^t>>>1:t>>>1;uo[e]=t>>>0}var fo=4294967295,po=class{digestLength=4;checksum=fo;update(e){for(let t=0;t<e.length;++t)this.checksum=this.checksum>>>8^uo[(this.checksum^e[t])&255]}digestSync(){return(this.checksum^fo)>>>0}async digest(){let e=this.digestSync(),t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!1),t}reset(){this.checksum=fo}},mo=64,ho=32,go=2**53-1,_o=class e{digestLength=ho;state=Int32Array.from(vo);w;buffer=new Uint8Array(64);bufferLength=0;bytesHashed=0;finished=!1;inner;outer;constructor(t){if(t){let n=e.normalizeKey(t);this.inner=new e,this.outer=new e;let{inner:r,outer:i}=this,a=new Uint8Array(128);for(let e=0;e<mo;++e)a[e]=54^n[e],a[e+mo]=92^n[e];r.update(a.subarray(0,mo)),i.update(a.subarray(mo))}}update(e){if(this.finished)throw Error(`Attempted to update an already finished HMAC.`);if(this.inner){this.inner.update(e);return}let t=o(e),n=0,{byteLength:r}=t;if(this.bytesHashed+=r,this.bytesHashed*8>go)throw Error(`Cannot hash more than 2^53 - 1 bits`);for(;r>0;)this.buffer[this.bufferLength++]=t[n++],r--,this.bufferLength===mo&&(this.hashBuffer(),this.bufferLength=0)}async digest(){let{inner:e,outer:t}=this;if(e&&t){if(this.finished)throw Error(`Attempted to digest an already finished HMAC.`);this.finished=!0;let n=e.digestSync();return t.update(n),t.digestSync()}return this.digestSync()}reset(){this.state=Int32Array.from(vo),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0}digestSync(){let e=this.state.slice(),t=this.buffer.slice(),n=this.bufferLength,r=this.bytesHashed*8,i=new DataView(t.buffer,t.byteOffset,t.byteLength);if(i.setUint8(n++,128),(n-1)%mo>=56){for(let e=n;e<mo;++e)i.setUint8(e,0);this.hashBufferWith(e,t),n=0}for(let e=n;e<56;++e)i.setUint8(e,0);i.setUint32(56,Math.floor(r/4294967296),!1),i.setUint32(60,r,!1),this.hashBufferWith(e,t);let a=new Uint8Array(ho);for(let t=0;t<8;++t)a[t*4]=e[t]>>>24&255,a[t*4+1]=e[t]>>>16&255,a[t*4+2]=e[t]>>>8&255,a[t*4+3]=e[t]>>>0&255;return a}static normalizeKey(t){let n=o(t);if(n.byteLength>mo){let t=new e;t.update(n);let r=t.digestSync(),i=new Uint8Array(mo);return i.set(r),i}if(n.byteLength<mo){let e=new Uint8Array(mo);return e.set(n),e}return n}hashBuffer(){this.hashBufferWith(this.state,this.buffer)}hashBufferWith(e,t){let n=this.w??=new Int32Array(64),r=e[0],i=e[1],a=e[2],o=e[3],s=e[4],c=e[5],l=e[6],u=e[7];for(let e=0;e<mo;++e){if(e<16)n[e]=(t[e*4]&255)<<24|(t[e*4+1]&255)<<16|(t[e*4+2]&255)<<8|t[e*4+3]&255;else{let t=n[e-2],r=(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10;t=n[e-15];let i=(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3;n[e]=(r+n[e-7]|0)+(i+n[e-16]|0)}let d=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&c^~s&l)|0)+(u+(yo[e]+n[e]|0)|0)|0,f=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&i^r&a^i&a)|0;u=l,l=c,c=s,s=o+d|0,o=a,a=i,i=r,r=d+f|0}e[0]+=r,e[1]+=i,e[2]+=a,e[3]+=o,e[4]+=s,e[5]+=c,e[6]+=l,e[7]+=u}},vo=new Int32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),yo=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),{digest:bo,sign:xo,importKey:So}=globalThis?.crypto?.subtle??{},Co=typeof bo==`function`&&typeof xo==`function`&&typeof So==`function`?globalThis.crypto.subtle:void 0,wo=8388608,To=class{digestLength=32;secret;pending=[];pendingBytes=0;fallback;finished=!1;constructor(e){e&&(this.secret=o(e))}update(e){if(this.finished)throw Error(`Attempted to update an already finished HMAC.`);this.fallback?this.fallback.update(e):(this.pending.push(e.slice()),this.pendingBytes+=e.byteLength,this.pendingBytes>=wo&&this.switchToFallback())}async digest(){if(this.fallback)return this.fallback.digest();if(this.secret&&this.finished)throw Error(`Attempted to digest an already finished HMAC.`);let e=jn(this.pending);if(Co){if(this.secret){this.finished=!0;let t=await Co.importKey(`raw`,this.secret,{name:`HMAC`,hash:`SHA-256`},!1,[`sign`]),n=await Co.sign(`HMAC`,t,e);return new Uint8Array(n)}let t=await Co.digest(`SHA-256`,e);return new Uint8Array(t)}let t=new _o(this.secret);return t.update(e),t.digest()}reset(){this.pending=[],this.pendingBytes=0,this.fallback=void 0,this.finished=!1}switchToFallback(){let e=new _o(this.secret);for(let t of this.pending)e.update(t);this.fallback=e,this.pending=[],this.pendingBytes=0}},Eo=[h.CRC32,h.CRC32C,h.CRC64NVME,h.SHA1,h.SHA256],Do=[h.SHA256,h.SHA1,h.CRC32,h.CRC32C,h.CRC64NVME],Oo=(e,t)=>{let{checksumAlgorithms:n={}}=t;switch(e){case h.MD5:return n?.MD5??t.md5;case h.CRC32:return n?.CRC32??po;case h.CRC32C:return n?.CRC32C??Ua;case h.CRC64NVME:return n?.CRC64NVME??to;case h.SHA1:return n?.SHA1??t.sha1;case h.SHA256:return n?.SHA256??t.sha256;default:if(n?.[e])return n[e];throw Error(`The checksum algorithm "${e}" is not supported by the client. Select one of ${Eo}, or provide an implementation to the client constructor checksums field.`)}},ko=(e,t)=>{let n=new e;return n.update(o(t||``)),n.digest()},Ao={name:`flexibleChecksumsMiddleware`,step:`build`,tags:[`BODY_CHECKSUM`],override:!0},jo=(e,t)=>(n,r)=>async i=>{if(!u.isInstance(i.request)||Ba(`x-amz-checksum-`,i.request.headers))return n(i);let{request:a,input:o}=i,{body:s,headers:c}=a,{base64Encoder:l,streamHasher:d}=e,{requestChecksumRequired:f,requestAlgorithmMember:ee}=t,p=await e.requestChecksumCalculation(),m=ee?.name,te=ee?.httpHeader;m&&!o[m]&&(p===ie.WHEN_SUPPORTED||f)&&(o[m]=le,te&&(c[te]=le));let ne=La(o,{requestChecksumRequired:f,requestAlgorithmMember:ee?.name,requestChecksumCalculation:p}),re=s,ae=c;if(ne){switch(ne){case h.CRC32:ki(r,`FLEXIBLE_CHECKSUMS_REQ_CRC32`,`U`);break;case h.CRC32C:ki(r,`FLEXIBLE_CHECKSUMS_REQ_CRC32C`,`V`);break;case h.CRC64NVME:ki(r,`FLEXIBLE_CHECKSUMS_REQ_CRC64`,`W`);break;case h.SHA1:ki(r,`FLEXIBLE_CHECKSUMS_REQ_SHA1`,`X`);break;case h.SHA256:ki(r,`FLEXIBLE_CHECKSUMS_REQ_SHA256`,`Y`)}let t=Ra(ne),n=Oo(ne,e);if(Va(s)){let{getAwsChunkedEncodingStream:i,bodyLengthChecker:a}=e;re=i(typeof e.requestStreamBufferSize==`number`&&e.requestStreamBufferSize>=8192?_r(s,e.requestStreamBufferSize,r.logger):s,{base64Encoder:l,bodyLengthChecker:a,checksumLocationName:t,checksumAlgorithmFn:n,streamHasher:d}),ae={...c,"content-encoding":c[`content-encoding`]?`${c[`content-encoding`]},aws-chunked`:`aws-chunked`,"transfer-encoding":`chunked`,"x-amz-decoded-content-length":c[`content-length`],"x-amz-content-sha256":`STREAMING-UNSIGNED-PAYLOAD-TRAILER`,"x-amz-trailer":t},delete ae[`content-length`]}else if(!za(t,c)){let e=await ko(n,s);ae={...c,[t]:l(e)}}}try{return await n({...i,request:{...a,headers:ae,body:re}})}catch(e){if(e instanceof Error&&e.name===`InvalidChunkSizeError`)try{e.message.endsWith(`.`)||(e.message+=`.`),e.message+=` Set [requestStreamBufferSize=number e.g. 65_536] in client constructor to instruct AWS SDK to buffer your input stream.`}catch{}throw e}},Mo={name:`flexibleChecksumsInputMiddleware`,toMiddleware:`serializerMiddleware`,relation:`before`,tags:[`BODY_CHECKSUM`],override:!0},No=(e,t)=>(n,r)=>async i=>{let a=i.input,{requestValidationModeMember:o}=t,s=await e.requestChecksumCalculation(),c=await e.responseChecksumValidation();switch(s){case ie.WHEN_REQUIRED:ki(r,`FLEXIBLE_CHECKSUMS_REQ_WHEN_REQUIRED`,`a`);break;case ie.WHEN_SUPPORTED:ki(r,`FLEXIBLE_CHECKSUMS_REQ_WHEN_SUPPORTED`,`Z`)}switch(c){case oe.WHEN_REQUIRED:ki(r,`FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED`,`c`);break;case oe.WHEN_SUPPORTED:ki(r,`FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED`,`b`)}return o&&!a[o]&&c===oe.WHEN_SUPPORTED&&(a[o]=`ENABLED`),n(i)},Po=(e=[])=>{let t=[],n=Do.length;for(let r of e){let e=Do.indexOf(r);e===-1?t[n++]=r:t[e]=r}return t.filter(Boolean)},Fo=e=>{let t=e.lastIndexOf(`-`);if(t!==-1){let n=e.slice(t+1);if(!n.startsWith(`0`)){let e=parseInt(n,10);if(!isNaN(e)&&e>=1&&e<=1e4)return!0}}return!1},Io=async(e,{checksumAlgorithmFn:t,base64Encoder:n})=>n(await ko(t,e)),Lo=async(e,{config:t,responseAlgorithms:n,logger:r})=>{let i=Po(n),{body:a,headers:o}=e;for(let n of i){let i=Ra(n),s=o[i];if(s){let o;try{o=Oo(n,t)}catch(e){if(n===h.CRC64NVME){r?.warn(`Skipping ${h.CRC64NVME} checksum validation: ${e.message}`);continue}throw e}let{base64Encoder:c}=t;if(Va(a)){e.body=mr({expectedChecksum:s,checksumSourceLocation:i,checksum:new o,source:a,base64Encoder:c});return}let l=await Io(a,{checksumAlgorithmFn:o,base64Encoder:c});if(l===s)break;throw Error(`Checksum mismatch: expected "${l}" but received "${s}" in response header "${i}".`)}}},Ro={name:`flexibleChecksumsResponseMiddleware`,toMiddleware:`deserializerMiddleware`,relation:`after`,tags:[`BODY_CHECKSUM`],override:!0},zo=(e,t)=>(n,r)=>async i=>{if(!u.isInstance(i.request))return n(i);let a=i.input,o=await n(i),s=o.response,{requestValidationModeMember:c,responseAlgorithms:l}=t;if(c&&a[c]===`ENABLED`){let{clientName:t,commandName:n}=r,i=Object.keys(e.checksumAlgorithms??{}).filter(e=>{let t=Ra(e);return s.headers[t]!==void 0}),a=Po([...l??[],...i]);if(t===`S3Client`&&n===`GetObjectCommand`&&a.every(e=>{let t=Ra(e),n=s.headers[t];return!n||Fo(n)}))return o;await Lo(s,{config:e,responseAlgorithms:a,logger:r.logger})}return o},Bo=(e,t)=>({applyToStack:n=>{n.add(jo(e,t),Ao),n.addRelativeTo(No(e,t),Mo),n.addRelativeTo(zo(e,t),Ro)}}),Vo=e=>{let{requestChecksumCalculation:t,responseChecksumValidation:n,requestStreamBufferSize:r}=e;return Object.assign(e,{requestChecksumCalculation:i(t??ae),responseChecksumValidation:i(n??se),requestStreamBufferSize:Number(r??0),checksumAlgorithms:e.checksumAlgorithms??{}})},Ho=`content-length`,Uo=`x-amz-decoded-content-length`;function Wo(){return(e,t)=>async n=>{let{request:r}=n;if(u.isInstance(r)&&!(Ho in r.headers)&&!(Uo in r.headers)){let e=`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 t?.logger?.warn==`function`&&!(t.logger instanceof vt)?t.logger.warn(e):console.warn(e)}return e({...n})}}var Go={step:`finalizeRequest`,tags:[`CHECK_CONTENT_LENGTH_HEADER`],name:`getCheckContentLengthHeaderPlugin`,override:!0},Ko=e=>({applyToStack:e=>{e.add(Wo(),Go)}}),qo=e=>(t,n)=>async r=>{let i=await e.region(),a=e.region,o=()=>{};n.__s3RegionRedirect&&(Object.defineProperty(e,"region",{writable:!1,value:async()=>n.__s3RegionRedirect}),o=()=>Object.defineProperty(e,"region",{writable:!0,value:a}));try{let a=await t(r);if(n.__s3RegionRedirect&&(o(),i!==await e.region()))throw Error(`Region was not restored following S3 region redirect.`);return a}catch(e){throw o(),e}},Jo={tags:[`REGION_REDIRECT`,`S3`],name:`regionRedirectEndpointMiddleware`,override:!0,relation:`before`,toMiddleware:`endpointV2Middleware`};function Yo(e){return(t,n)=>async r=>{try{return await t(r)}catch(i){if(e.followRegionRedirects){let a=i?.$metadata?.httpStatusCode,o=n.commandName===`HeadBucketCommand`,s=i?.$response?.headers?.[`x-amz-bucket-region`];if(s&&(a===301||a===400&&(i?.name===`IllegalLocationConstraintException`||o))){try{let t=s;n.logger?.debug(`Redirecting from ${await e.region()} to ${t}`),n.__s3RegionRedirect=t,ki(n,`S3_REGION_REDIRECT`,`Ah`)}catch(e){throw Error(`Region redirect failed: `+e)}return t(r)}}throw i}}}var Xo={step:`initialize`,tags:[`REGION_REDIRECT`,`S3`],name:`regionRedirectMiddleware`,override:!0},Zo=e=>({applyToStack:t=>{t.add(Yo(e),Xo),t.addRelativeTo(qo(e),Jo)}}),Qo=class e{data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=3e4;constructor(e={}){this.data=e}get(e){let t=this.data[e];if(t)return t}set(e,t){return this.data[e]=t,t}delete(e){delete this.data[e]}async purgeExpired(){let t=Date.now();if(!(this.lastPurgeTime+e.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>t))for(let e in this.data){let n=this.data[e];if(!n.isRefreshing){let r=await n.identity;r.expiration&&r.expiration.getTime()<t&&delete this.data[e]}}}},$o=class{_identity;isRefreshing;accessed;constructor(e,t=!1,n=Date.now()){this._identity=e,this.isRefreshing=t,this.accessed=n}get identity(){return this.accessed=Date.now(),this._identity}},es=class e{createSessionFn;cache;static REFRESH_WINDOW_MS=6e4;constructor(e,t=new Qo){this.createSessionFn=e,this.cache=t}async getS3ExpressIdentity(t,n){let r=n.Bucket,{cache:i}=this,a=i.get(r);return a?a.identity.then(t=>(t.expiration?.getTime()??0)<Date.now()?i.set(r,new $o(this.getIdentity(r))).identity:((t.expiration?.getTime()??0)<Date.now()+e.REFRESH_WINDOW_MS&&!a.isRefreshing&&(a.isRefreshing=!0,this.getIdentity(r).then(e=>{i.set(r,new $o(Promise.resolve(e)))})),t)):i.set(r,new $o(this.getIdentity(r))).identity}async getIdentity(e){await this.cache.purgeExpired().catch(e=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache:
9
9
  `+e)});let t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw Error(`s3#createSession response credential missing AccessKeyId or SecretAccessKey.`);return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}},ts=(e,{session:t})=>{let[n,r]=t,{forcePathStyle:i,useAccelerateEndpoint:a,disableMultiregionAccessPoints:o,followRegionRedirects:s,s3ExpressIdentityProvider:c,bucketEndpoint:l,expectContinueHeader:u}=e;return Object.assign(e,{forcePathStyle:i??!1,useAccelerateEndpoint:a??!1,disableMultiregionAccessPoints:o??!1,followRegionRedirects:s??!1,s3ExpressIdentityProvider:c??new es(async e=>n().send(new r({Bucket:e}))),bucketEndpoint:l??!1,expectContinueHeader:u??2097152})},ns=e=>(e,t)=>async n=>{let r=await e(n),{response:i}=r;if(ye.isInstance(i)&&i.headers.expires){i.headers.expiresstring=i.headers.expires;try{Xt(i.headers.expires)}catch(e){t.logger?.warn(`AWS SDK Warning for ${t.clientName}::${t.commandName} response parsing (${i.headers.expires}): ${e}`),delete i.headers.expires}}return r},rs={tags:[`S3`],name:`s3ExpiresMiddleware`,override:!0,relation:`after`,toMiddleware:`deserializerMiddleware`},is=e=>({applyToStack:t=>{t.addRelativeTo(ns(e),rs)}}),as=`sigv4-s3express`,os=`x-amz-s3session-token`,ss=e=>(t,n)=>async r=>{if(n.endpointV2){let t=n.endpointV2,i=t.properties?.authSchemes?.[0]?.name===as;if((t.properties?.backend===`S3Express`||t.properties?.bucketType===`Directory`)&&(ki(n,`S3_EXPRESS_BUCKET`,`J`),n.isS3ExpressBucket=!0),i){let t=r.input.Bucket;if(t){let i=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:t});n.s3ExpressIdentity=i,u.isInstance(r.request)&&i.sessionToken&&(r.request.headers[os]=i.sessionToken)}}}return t(r)},cs={name:`s3ExpressMiddleware`,step:`build`,tags:[`S3`,`S3_EXPRESS`],override:!0},ls=e=>({applyToStack:t=>{t.add(ss(e),cs)}}),us=async(e,t,n,r)=>{let i=await r.signWithCredentials(n,e,{});if(i.headers[`X-Amz-Security-Token`]||i.headers[`x-amz-security-token`])throw Error(`X-Amz-Security-Token must not be set for s3-express requests.`);return i},ds=e=>e=>{throw e},fs=(e,t)=>{},ps=e=>(t,n)=>async r=>{if(!u.isInstance(r.request))return t(r);let i=s(n).selectedHttpAuthScheme;if(!i)throw Error(`No HttpAuthScheme was selected: unable to sign request`);let{httpAuthOption:{signingProperties:a={}},identity:o,signer:c}=i,l;l=n.s3ExpressIdentity?await us(n.s3ExpressIdentity,a,r.request,await e.signer()):await c.sign(r.request,o,a);let d=await t({...r,request:l}).catch((c.errorHandler||ds)(a));return(c.successHandler||fs)(d.response,a),d},ms=e=>({applyToStack:t=>{t.addRelativeTo(ps(e),Ki)}});function hs(e){return new ReadableStream({start(t){t.enqueue(e),t.close()}})}var gs={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},_s=e=>(t,n)=>async r=>{let i=await t(r),{response:a}=i;if(!ye.isInstance(a))return i;let{statusCode:o,body:s}=a;if(o<200||o>=300)return i;let c=await vs(s,e);if(a.body=hs(c),c.length===0&&gs[n.commandName]){let e=Error(`S3 aborted request`);throw e.$metadata={httpStatusCode:503},e.name=`InternalError`,e}let l=e.utf8Encoder(c.subarray(c.length-16));return l&&l.endsWith(`</Error>`)&&(a.statusCode=503),i},vs=(e=new Uint8Array,t)=>e instanceof Uint8Array?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array),ys={relation:`after`,toMiddleware:`deserializerMiddleware`,tags:[`THROW_200_EXCEPTIONS`,`S3`],name:`throw200ExceptionsMiddleware`,override:!0},bs=e=>({applyToStack:t=>{t.addRelativeTo(_s(e),ys)}}),xs=e=>typeof e==`string`&&e.indexOf(`arn:`)===0&&e.split(`:`).length>=6;function Ss(e){return(t,n)=>async r=>{if(e.bucketEndpoint){let e=n.endpointV2;if(e){let t=r.input.Bucket;if(typeof t==`string`)try{let r=new URL(t);n.endpointV2={...e,url:r}}catch(e){let r=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${t} could not be parsed as URL.`;throw n.logger?.constructor?.name===`NoOpLogger`?console.warn(r):n.logger?.warn?.(r),e}}}return t(r)}}var Cs={name:`bucketEndpointMiddleware`,override:!0,relation:`after`,toMiddleware:`endpointV2Middleware`};function ws({bucketEndpoint:e}){return t=>async n=>{let{input:{Bucket:r}}=n;if(!e&&typeof r==`string`&&!xs(r)&&r.indexOf(`/`)>=0){let e=Error(`Bucket name shouldn't contain '/', received '${r}'`);throw e.name=`InvalidBucketName`,e}return t({...n})}}var Ts={step:`initialize`,tags:[`VALIDATE_BUCKET_NAME`],name:`validateBucketNameMiddleware`,override:!0},Es=e=>({applyToStack:t=>{t.add(ws(e),Ts),t.addRelativeTo(Ss(e),Cs)}}),Ds=class{queryCompat;errorRegistry;constructor(e=!1){this.queryCompat=e}resolveRestContentType(e,t){let n=t.getMemberSchemas(),r=Object.values(n).find(e=>!!e.getMergedTraits().httpPayload);if(r)return r.getMergedTraits().mediaType||(r.isStringSchema()?`text/plain`:r.isBlobSchema()?`application/octet-stream`:e);if(!t.isUnitSchema()&&Object.values(n).find(e=>{let{httpQuery:t,httpQueryParams:n,httpHeader:r,httpLabel:i,httpPrefixHeaders:a}=e.getMergedTraits();return!t&&!n&&!r&&!i&&a===void 0}))return e}async getErrorSchemaOrThrowBaseException(e,t,n,r,i,a){let o=e;e.includes(`#`)&&([,o]=e.split(`#`));let s={$metadata:i,$fault:n.statusCode<500?`client`:`server`};if(!this.errorRegistry)throw Error(`@aws-sdk/core/protocols - error handler not initialized.`);try{return{errorSchema:a?.(this.errorRegistry,o)??this.errorRegistry.getSchema(e),errorMetadata:s}}catch{r.message=r.message??r.Message??`UnknownError`;let e=this.errorRegistry,t=e.getBaseException();if(t){let n=e.getErrorCtor(t)??Error;throw this.decorateServiceException(Object.assign(new n({name:o}),s),r)}let n=r,i=n?.message??n?.Message??n?.Error?.Message??n?.Error?.message;throw this.decorateServiceException(Object.assign(Error(i),{name:o},s),r)}}compose(e,t,n){let r=n;t.includes(`#`)&&([r]=t.split(`#`));let i=tt.for(r),a=tt.for(`smithy.ts.sdk.synthetic.`+n);e.copyFrom(i),e.copyFrom(a),this.errorRegistry=e}decorateServiceException(e,t={}){if(this.queryCompat){let n=e.Message??t.Message,r=ct(e,t);n&&(r.message=n);let i=r.Error??{};i.Type=r.Error?.Type,i.Code=r.Error?.Code,i.Message=r.Error?.message??r.Error?.Message??n,r.Error=i;let a=r.$metadata.requestId;return a&&(r.RequestId=a),r}return ct(e,t)}setQueryCompatError(e,t){let n=t.headers?.[`x-amzn-query-error`];if(e!==void 0&&n!=null){let[t,r]=n.split(`;`),i=Object.keys(e),a={Code:t,Type:r};e.Code=t,e.Type=r;for(let t=0;t<i.length;t++){let n=i[t];a[n===`message`?`Message`:n]=e[n]}delete a.__type,e.Error=a}}queryCompatOutput(e,t){e.Error&&(t.Error=e.Error),e.Type&&(t.Type=e.Type),e.Code&&(t.Code=e.Code)}findQueryCompatibleError(e,t){try{return e.getSchema(t)}catch{return e.find(e=>Ze.of(e).getMergedTraits().awsQueryError?.[0]===t)}}},Os=class{serdeContext;setSerdeContext(e){this.serdeContext=e}},ks=class{from;to;keys;constructor(e,t){this.from=e,this.to=t;let n=Object.keys(this.from),r=new Set(n);r.delete(`__type`),this.keys=r}mark(e){this.keys.delete(e)}hasUnknown(){return this.keys.size===1&&Object.keys(this.to).length===0}writeUnknown(){if(this.hasUnknown()){let e=this.keys.values().next().value,t=this.from[e];this.to.$unknown=[e,t]}}};function As(e){Object.defineProperty(e,"__proto__",{value:void 0,writable:!0,enumerable:!0,configurable:!0})}var js=/[&<>"]/g,Ms={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`};function Ns(e){return e.replace(js,e=>Ms[e])}var Ps=/[&"'<>\r\n\u0085\u2028]/g,Fs={"&":`&amp;`,'"':`&quot;`,"'":`&apos;`,"<":`&lt;`,">":`&gt;`,"\r":`&#x0D;`,"\n":`&#x0A;`,"…":`&#x85;`,"\u2028":`&#x2028;`};function Is(e){return e.replace(Ps,e=>Fs[e])}var Ls=class{value;constructor(e){this.value=e}toString(){return Is(``+this.value)}},Rs=class e{name;children;attributes={};static of(t,n,r){let i=new e(t);return n!==void 0&&i.addChildNode(new Ls(n)),r!==void 0&&i.withName(r),i}constructor(e,t=[]){this.name=e,this.children=t}withName(e){return this.name=e,this}addAttribute(e,t){return this.attributes[e]=t,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,t){return t!=null&&(this.attributes[e]=t),this}cc(t,n,r=n){if(t[n]!=null){let i=e.of(n,t[n]).withName(r);this.c(i)}}l(e,t,n,r){e[t]!=null&&r().map(e=>{e.withName(n),this.c(e)})}lc(t,n,r,i){if(t[n]!=null){let t=i(),n=new e(r);t.map(e=>{n.c(e)}),this.c(n)}}toString(){let e=!!this.children.length,t=`<${this.name}`,n=this.attributes;for(let e of Object.keys(n)){let r=n[e];r!=null&&(t+=` ${e}="${Ns(``+r)}"`)}return t+=e?`>${this.children.map(e=>e.toString()).join(``)}</${this.name}>`:`/>`}},zs;function Bs(e){zs||=new DOMParser;let t=zs.parseFromString(e,`application/xml`);if(t.getElementsByTagName(`parsererror`).length>0)throw Error(`DOMParser XML parsing error.`);let n=e=>{if(e.nodeType===Node.TEXT_NODE&&e.textContent?.trim())return e.textContent;if(e.nodeType===Node.ELEMENT_NODE){let t=e;if(t.attributes.length===0&&t.childNodes.length===0)return``;let r={},i=Array.from(t.attributes);for(let e of i)r[`${e.name}`]=e.value;let a=Array.from(t.childNodes);for(let e of a){let o=n(e);if(o!=null){let t=e.nodeName;if(a.length===1&&i.length===0&&t===`#text`)return o;t in r?Array.isArray(r[t])?r[t].push(o):r[t]=[r[t],o]:r[t]=o}else if(a.length===1&&i.length===0)return t.textContent}return r}return null};return{[t.documentElement.nodeName]:n(t.documentElement)}}var Vs=class extends Os{settings;stringDeserializer;constructor(e){super(),this.settings=e,this.stringDeserializer=new Rr(e)}setSerdeContext(e){this.serdeContext=e,this.stringDeserializer.setSerdeContext(e)}read(e,t,n){let r=Ze.of(e),i=r.getMemberSchemas();if(r.isStructSchema()&&r.isMemberSchema()&&Object.values(i).find(e=>!!e.getMemberTraits().eventPayload)){let e={},n=Object.keys(i)[0];return e[n]=i[n].isBlobSchema()?t:this.read(i[n],t),e}let a=(this.serdeContext?.utf8Encoder??Et)(t),o=this.parseXml(a);return this.readSchema(e,n?o[n]:o)}readSchema(e,t){let n=Ze.of(e);if(n.isUnitSchema())return;let r=n.getMergedTraits();if(n.isListSchema()&&!Array.isArray(t))return this.readSchema(n,[t]);if(t==null)return t;if(typeof t==`object`){let e=!!r.xmlFlattened;if(n.isListSchema()){let r=n.getValueSchema(),i=[],a=r.getMergedTraits().xmlName??`member`,o=e?t:(t[0]??t)[a];if(o==null)return i;let s=Array.isArray(o)?o:[o];for(let e of s)i.push(this.readSchema(r,e));return i}let i={};if(n.isMapSchema()){let r=n.getKeySchema(),a=n.getValueSchema(),o;o=e?Array.isArray(t)?t:[t]:Array.isArray(t.entry)?t.entry:[t.entry];let s=r.getMergedTraits().xmlName??`key`,c=a.getMergedTraits().xmlName??`value`;for(let e of o){let t=e[s],n=e[c];t===`__proto__`&&As(i),i[t]=this.readSchema(a,n)}return i}if(n.isStructSchema()){let e=n.isUnionSchema(),r;e&&(r=new ks(t,i));for(let[a,o]of n.structIterator()){let n=o.getMergedTraits(),s=n.httpPayload?n.xmlName??o.getName():o.getMemberTraits().xmlName??a;e&&r.mark(s),t[s]!=null&&(i[a]=this.readSchema(o,t[s]))}return e&&r.writeUnknown(),i}if(n.isDocumentSchema())return t;throw Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${n.getName(!0)}`)}return n.isListSchema()?[]:n.isMapSchema()||n.isStructSchema()?{}:this.stringDeserializer.read(n,t)}parseXml(e){if(e.length){let t;try{t=Bs(e)}catch(t){throw t&&typeof t==`object`&&Object.defineProperty(t,"$responseBodyText",{value:e}),t}let n=`#text`,r=Object.keys(t)[0],i=t[r];return i[n]&&(i[r]=i[n],delete i[n]),_t(i)}return{}}},Hs=(e,t)=>{if(t?.Error?.Code!==void 0)return t.Error.Code;if(t?.Code!==void 0)return t.Code;if(e.statusCode==404)return`NotFound`},Us=class extends Os{settings;stringBuffer;byteBuffer;buffer;constructor(e){super(),this.settings=e}write(e,t){let n=Ze.of(e);if(n.isStringSchema()&&typeof t==`string`)this.stringBuffer=t;else if(n.isBlobSchema())this.byteBuffer=`byteLength`in t?t:(this.serdeContext?.base64Decoder??Ct)(t);else{this.buffer=this.writeStruct(n,t,void 0);let e=n.getMergedTraits();e.httpPayload&&!e.xmlName&&this.buffer.withName(n.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 e=this.buffer;return this.settings.xmlNamespace&&(e?.attributes?.xmlns||e.addAttribute(`xmlns`,this.settings.xmlNamespace)),delete this.buffer,e.toString()}writeStruct(e,t,n){let r=e.getMergedTraits(),i=e.isMemberSchema()&&!r.httpPayload?e.getMemberTraits().xmlName??e.getMemberName():r.xmlName??e.getName();if(!i||!e.isStructSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${e.getName(!0)}.`);let a=Rs.of(i),[o,s]=this.getXmlnsAttribute(e,n);for(let[n,r]of e.structIterator()){let e=t[n];if(e!=null||r.isIdempotencyToken()){if(r.getMergedTraits().xmlAttribute){a.addAttribute(r.getMergedTraits().xmlName??n,this.writeSimple(r,e));continue}if(r.isListSchema())this.writeList(r,e,a,s);else if(r.isMapSchema())this.writeMap(r,e,a,s);else if(r.isStructSchema())a.addChildNode(this.writeStruct(r,e,s));else{let t=Rs.of(r.getMergedTraits().xmlName??r.getMemberName());this.writeSimpleInto(r,e,t,s),a.addChildNode(t)}}}let{$unknown:c}=t;if(c&&e.isUnionSchema()&&Array.isArray(c)&&Object.keys(t).length===1){let[e,n]=c,r=Rs.of(e);if(typeof n!=`string`){if(t instanceof Rs||t instanceof Ls)a.addChildNode(t);else throw Error(`@aws-sdk - $unknown union member in XML requires value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`)}this.writeSimpleInto(0,n,r,s),a.addChildNode(r)}return s&&a.addAttribute(o,s),a}writeList(e,t,n,r){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${e.getName(!0)}`);let i=e.getMergedTraits(),a=e.getValueSchema(),o=a.getMergedTraits(),s=!!o.sparse,c=!!i.xmlFlattened,[l,u]=this.getXmlnsAttribute(e,r),d=(t,n)=>{if(a.isListSchema())this.writeList(a,Array.isArray(n)?n:[n],t,u);else if(a.isMapSchema())this.writeMap(a,n,t,u);else if(a.isStructSchema()){let r=this.writeStruct(a,n,u);t.addChildNode(r.withName(c?i.xmlName??e.getMemberName():o.xmlName??`member`))}else{let r=Rs.of(c?i.xmlName??e.getMemberName():o.xmlName??`member`);this.writeSimpleInto(a,n,r,u),t.addChildNode(r)}};if(c)for(let e of t)(s||e!=null)&&d(n,e);else{let r=Rs.of(i.xmlName??e.getMemberName());u&&r.addAttribute(l,u);for(let e of t)(s||e!=null)&&d(r,e);n.addChildNode(r)}}writeMap(e,t,n,r,i=!1){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${e.getName(!0)}`);let a=e.getMergedTraits(),o=e.getKeySchema(),s=o.getMergedTraits().xmlName??`key`,c=e.getValueSchema(),l=c.getMergedTraits(),u=l.xmlName??`value`,d=!!l.sparse,f=!!a.xmlFlattened,[ee,p]=this.getXmlnsAttribute(e,r),m=(e,t,n)=>{let r=Rs.of(s,t),[i,a]=this.getXmlnsAttribute(o,p);a&&r.addAttribute(i,a),e.addChildNode(r);let l=Rs.of(u);c.isListSchema()?this.writeList(c,n,l,p):c.isMapSchema()?this.writeMap(c,n,l,p,!0):c.isStructSchema()?l=this.writeStruct(c,n,p):this.writeSimpleInto(c,n,l,p),e.addChildNode(l)};if(f)for(let r in t){let i=t[r];if(d||i!=null){let t=Rs.of(a.xmlName??e.getMemberName());m(t,r,i),n.addChildNode(t)}}else{let r;i||(r=Rs.of(a.xmlName??e.getMemberName()),p&&r.addAttribute(ee,p),n.addChildNode(r));for(let e in t){let a=t[e];if(d||a!=null){let t=Rs.of(`entry`);m(t,e,a),(i?n:r).addChildNode(t)}}}}writeSimple(e,t){if(t===null)throw Error(`@aws-sdk/core/protocols - (XML serializer) cannot write null value.`);let n=Ze.of(e),r=null;if(t&&typeof t==`object`){if(n.isBlobSchema())r=(this.serdeContext?.base64Encoder??wt)(t);else if(n.isTimestampSchema()&&t instanceof Date)switch(Lr(n,this.settings)){case 5:r=t.toISOString().replace(`.000Z`,`Z`);break;case 6:r=Kt(t);break;case 7:r=String(t.getTime()/1e3);break;default:console.warn(`Missing timestamp format, using http date`,t),r=Kt(t)}else if(n.isBigDecimalSchema()&&t)return t instanceof On?t.string:String(t);else if(n.isMapSchema()||n.isListSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.`);else throw Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${n.getName(!0)}`)}if((n.isBooleanSchema()||n.isNumericSchema()||n.isBigIntegerSchema()||n.isBigDecimalSchema())&&(r=String(t)),n.isStringSchema()&&(r=t===void 0&&n.isIdempotencyToken()?jr():String(t)),r===null)throw Error(`Unhandled schema-value pair ${n.getName(!0)}=${t}`);return r}writeSimpleInto(e,t,n,r){let i=this.writeSimple(e,t),a=Ze.of(e),o=new Ls(i),[s,c]=this.getXmlnsAttribute(a,r);c&&n.addAttribute(s,c),n.addChildNode(o)}getXmlnsAttribute(e,t){let[n,r]=e.getMergedTraits().xmlNamespace??[];return r&&r!==t?[n?`xmlns:${n}`:`xmlns`,r]:[void 0,void 0]}},Ws=class extends Os{settings;constructor(e){super(),this.settings=e}createSerializer(){let e=new Us(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new Vs(this.settings);return e.setSerdeContext(this.serdeContext),e}},Gs=class extends Ir{codec;serializer;deserializer;mixin=new Ds;constructor(e){super(e);let t={timestampFormat:{useTrait:!0,default:5},httpBindings:!0,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace};this.codec=new Ws(t),this.serializer=new Vr(this.codec.createSerializer(),t),this.deserializer=new zr(this.codec.createDeserializer(),t)}getPayloadCodec(){return this.codec}getShapeId(){return`aws.protocols#restXml`}async serializeRequest(e,t,n){let r=await super.serializeRequest(e,t,n),i=Ze.of(e.input);if(!r.headers[`content-type`]){let e=this.mixin.resolveRestContentType(this.getDefaultContentType(),i);e&&(r.headers[`content-type`]=e)}return typeof r.body==`string`&&r.headers[`content-type`]===this.getDefaultContentType()&&!r.body.startsWith(`<?xml `)&&!this.hasUnstructuredPayloadBinding(i)&&(r.body=`<?xml version="1.0" encoding="UTF-8"?>`+r.body),r}async deserializeResponse(e,t,n){return super.deserializeResponse(e,t,n)}async handleError(e,t,n,r,i){let a=Hs(n,r)??`Unknown`;if(this.mixin.compose(this.compositeErrorRegistry,a,this.options.defaultNamespace),r.Error&&typeof r.Error==`object`)for(let e of Object.keys(r.Error))r[e]=r.Error[e],e.toLowerCase()===`message`&&(r.message=r.Error[e]);r.RequestId&&!i.requestId&&(i.requestId=r.RequestId);let{errorSchema:o,errorMetadata:s}=await this.mixin.getErrorSchemaOrThrowBaseException(a,this.options.defaultNamespace,n,r,i),c=Ze.of(o),l=r.Error?.message??r.Error?.Message??r.message??r.Message??`UnknownError`,u=new((this.compositeErrorRegistry.getErrorCtor(o))??Error)({});await this.deserializeHttpMessage(o,t,n,r);let d={},f=this.codec.createDeserializer();for(let[e,t]of c.structIterator()){let n=t.getMergedTraits().xmlName??e,i=r.Error?.[n]??r[n];d[e]=f.readSchema(t,i)}throw this.mixin.decorateServiceException(Object.assign(u,s,{$fault:c.getMergedTraits().error,message:l},d),r)}getDefaultContentType(){return`application/xml`}hasUnstructuredPayloadBinding(e){for(let[,t]of e.structIterator())if(t.getMergedTraits().httpPayload)return!(t.isStructSchema()||t.isMapSchema()||t.isListSchema());return!1}},Ks=class extends Gs{async serializeRequest(e,t,n){let r=await super.serializeRequest(e,t,n),i=Ze.of(e.input),a=i.getSchema(),o=0,s=a[6]??0;if(t&&typeof t==`object`)for(let[e,n]of i.structIterator()){if(++o>s)break;if(e===`Bucket`){if(!t.Bucket&&n.getMergedTraits().httpLabel)throw Error(`No value provided for input HTTP label: Bucket.`);break}}return r}};function qs(e){return t=>async n=>{let{request:r}=n;if(e.expectContinueHeader!==!1&&u.isInstance(r)&&r.body&&e.runtime===`node`&&e.requestHandler?.constructor?.name!==`FetchHttpHandler`){let t=!0;if(typeof e.expectContinueHeader==`number`)try{t=(Number(r.headers?.[`content-length`])??e.bodyLengthChecker?.(r.body)??1/0)>=e.expectContinueHeader}catch{}else t=!!e.expectContinueHeader;t&&(r.headers.Expect=`100-continue`)}return t({...n,request:r})}}var Js={step:`build`,tags:[`SET_EXPECT_HEADER`,`EXPECT_HEADER`],name:`addExpectContinueMiddleware`,override:!0},Ys=e=>({applyToStack:t=>{t.add(qs(e),Js)}});function Xs(e){return t=>async n=>{let{CreateBucketConfiguration:r}=n.input,i=await e.region();return!r?.LocationConstraint&&!r?.Location&&i!==`us-east-1`&&(n.input.CreateBucketConfiguration=n.input.CreateBucketConfiguration??{},n.input.CreateBucketConfiguration.LocationConstraint=i),t(n)}}var Zs={step:`initialize`,tags:[`LOCATION_CONSTRAINT`,`CREATE_BUCKET_CONFIGURATION`],name:`locationConstraintMiddleware`,override:!0},Qs=e=>({applyToStack:t=>{t.add(Xs(e),Zs)}});function $s(e){return t=>async n=>{let r={...n.input};for(let t of[{target:`SSECustomerKey`,hash:`SSECustomerKeyMD5`},{target:`CopySourceSSECustomerKey`,hash:`CopySourceSSECustomerKeyMD5`}]){let n=r[t.target];if(n){let i;typeof n==`string`?nc(n,e)?i=e.base64Decoder(n):(i=e.utf8Decoder(n),r[t.target]=e.base64Encoder(i)):(i=ArrayBuffer.isView(n)?new Uint8Array(n.buffer,n.byteOffset,n.byteLength):new Uint8Array(n),r[t.target]=e.base64Encoder(i));let a=new e.md5;a.update(i),r[t.hash]=e.base64Encoder(await a.digest())}}return t({...n,input:r})}}var ec={name:`ssecMiddleware`,step:`initialize`,tags:[`SSE`],override:!0},tc=e=>({applyToStack:t=>{t.add($s(e),ec)}});function nc(e,t){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e))return!1;try{return t.base64Decoder(e).length===32}catch{return!1}}var rc=class e{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error(`Int64 buffers must be exactly 8 bytes`)}static fromNumber(t){if(t>0x8000000000000000||t<-0x8000000000000000)throw Error(`${t} is too large (or, if negative, too small) to represent as an Int64`);let n=new Uint8Array(8);for(let e=7,r=Math.abs(Math.round(t));e>-1&&r>0;e--,r/=256)n[e]=r;return t<0&&ic(n),new e(n)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;return t&&ic(e),parseInt(te(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}};function ic(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,e[t]===0);t--);}var ac=class{toUtf8;fromUtf8;constructor(e,t){this.toUtf8=e,this.fromUtf8=t}format(e){let t=[];for(let n in e){if(!m(e,n))continue;let r=this.fromUtf8(n);t.push(Uint8Array.from([r.byteLength]),r,this.formatHeaderValue(e[n]))}let n=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0)),r=0;for(let e of t)n.set(e,r),r+=e.byteLength;return n}formatHeaderValue(e){switch(e.type){case`boolean`:return Uint8Array.from([+!e.value]);case`byte`:return Uint8Array.from([2,e.value]);case`short`:let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case`integer`:let n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,e.value,!1),new Uint8Array(n.buffer);case`long`:let r=new Uint8Array(9);return r[0]=5,r.set(e.value.bytes,1),r;case`binary`:let i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);let a=new Uint8Array(i.buffer);return a.set(e.value,3),a;case`string`:let o=this.fromUtf8(e.value),s=new DataView(new ArrayBuffer(3+o.byteLength));s.setUint8(0,7),s.setUint16(1,o.byteLength,!1);let c=new Uint8Array(s.buffer);return c.set(o,3),c;case`timestamp`:let l=new Uint8Array(9);return l[0]=8,l.set(rc.fromNumber(e.value.valueOf()).bytes,1),l;case`uuid`:if(!gc.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let u=new Uint8Array(17);return u[0]=9,u.set(re(e.value.replace(/-/g,``)),1),u}}parse(e){let t={},n=0;for(;n<e.byteLength;){let r=e.getUint8(n++),i=this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+n,r));switch(n+=r,e.getUint8(n++)){case 0:t[i]={type:sc,value:!0};break;case 1:t[i]={type:sc,value:!1};break;case 2:t[i]={type:cc,value:e.getInt8(n++)};break;case 3:t[i]={type:lc,value:e.getInt16(n,!1)},n+=2;break;case 4:t[i]={type:uc,value:e.getInt32(n,!1)},n+=4;break;case 5:t[i]={type:dc,value:new rc(new Uint8Array(e.buffer,e.byteOffset+n,8))},n+=8;break;case 6:let r=e.getUint16(n,!1);n+=2,t[i]={type:fc,value:new Uint8Array(e.buffer,e.byteOffset+n,r)},n+=r;break;case 7:let a=e.getUint16(n,!1);n+=2,t[i]={type:pc,value:this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+n,a))},n+=a;break;case 8:t[i]={type:mc,value:new Date(new rc(new Uint8Array(e.buffer,e.byteOffset+n,8)).valueOf())},n+=8;break;case 9:let o=new Uint8Array(e.buffer,e.byteOffset+n,16);n+=16,t[i]={type:hc,value:`${te(o.subarray(0,4))}-${te(o.subarray(4,6))}-${te(o.subarray(6,8))}-${te(o.subarray(8,10))}-${te(o.subarray(10))}`};break;default:throw Error(`Unrecognized header type tag`)}}return t}},oc;(function(e){e[e.boolTrue=0]=`boolTrue`,e[e.boolFalse=1]=`boolFalse`,e[e.byte=2]=`byte`,e[e.short=3]=`short`,e[e.integer=4]=`integer`,e[e.long=5]=`long`,e[e.byteArray=6]=`byteArray`,e[e.string=7]=`string`,e[e.timestamp=8]=`timestamp`,e[e.uuid=9]=`uuid`})(oc||={});var sc=`boolean`,cc=`byte`,lc=`short`,uc=`integer`,dc=`long`,fc=`binary`,pc=`string`,mc=`timestamp`,hc=`uuid`,gc=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,_c=4,vc=8,yc=4,bc=16;function xc({byteLength:e,byteOffset:t,buffer:n}){if(e<bc)throw Error(`Provided message too short to accommodate event stream message overhead`);let r=new DataView(n,t,e),i=r.getUint32(0,!1);if(e!==i)throw Error(`Reported message length does not match received message length`);let a=r.getUint32(_c,!1),o=r.getUint32(vc,!1),s=r.getUint32(e-yc,!1),c=new po;if(c.update(new Uint8Array(n,t,vc)),o!==c.digestSync())throw Error(`The prelude checksum specified in the message (${o}) does not match the calculated CRC32 checksum (${c.digestSync()})`);if(c.update(new Uint8Array(n,t+vc,e-12)),s!==c.digestSync())throw Error(`The message checksum (${c.digestSync()}) did not match the expected value of ${s}`);return{headers:new DataView(n,t+vc+yc,a),body:new Uint8Array(n,t+vc+yc+a,i-a-16)}}var Sc=class{headerMarshaller;messageBuffer;isEndOfStream;constructor(e,t){this.headerMarshaller=new ac(e,t),this.messageBuffer=[],this.isEndOfStream=!1}feed(e){this.messageBuffer.push(this.decode(e))}endOfStream(){this.isEndOfStream=!0}getMessage(){let e=this.messageBuffer.pop(),t=this.isEndOfStream;return{getMessage(){return e},isEndOfStream(){return t}}}getAvailableMessages(){let e=this.messageBuffer;this.messageBuffer=[];let t=this.isEndOfStream;return{getMessages(){return e},isEndOfStream(){return t}}}encode({headers:e,body:t}){let n=this.headerMarshaller.format(e),r=n.byteLength+t.byteLength+16,i=new Uint8Array(r),a=new DataView(i.buffer,i.byteOffset,i.byteLength),o=new po;return a.setUint32(0,r,!1),a.setUint32(4,n.byteLength,!1),o.update(i.subarray(0,8)),a.setUint32(8,o.digestSync(),!1),i.set(n,12),i.set(t,n.byteLength+12),o.update(i.subarray(8,r-4)),a.setUint32(r-4,o.digestSync(),!1),i}decode(e){let{headers:t,body:n}=xc(e);return{headers:this.headerMarshaller.parse(t),body:n}}formatHeaders(e){return this.headerMarshaller.format(e)}},Cc=class{options;constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let e of this.options.inputStream)yield this.options.decoder.decode(e)}},wc=class{options;constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let e of this.options.messageStream)yield this.options.encoder.encode(e);this.options.includeEndFrame&&(yield new Uint8Array)}},Tc=class{options;constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let e of this.options.messageStream){let t=await this.options.deserializer(e);t!==void 0&&(yield t)}}},Ec=class{options;constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let e of this.options.inputStream)yield this.options.serializer(e)}};function Dc(e){let t=0,n=0,r=null,i=null,a=e=>{if(typeof e!=`number`)throw Error(`Attempted to allocate an event message where size was not a number: `+e);t=e,n=4,r=new Uint8Array(e),new DataView(r.buffer).setUint32(0,e,!1)},o=async function*(){let o=e[Symbol.asyncIterator]();for(;;){let{value:e,done:s}=await o.next();if(s){if(!t)return;if(t===n)yield r;else throw Error(`Truncated event message received.`);return}let c=e.length,l=0;for(;l<c;){if(!r){let t=c-l;i||=new Uint8Array(4);let r=Math.min(4-n,t);if(i.set(e.slice(l,l+r),n),n+=r,l+=r,n<4)break;a(new DataView(i.buffer).getUint32(0,!1)),i=null}let o=Math.min(t-n,c-l);r.set(e.slice(l,l+o),n),n+=o,l+=o,t&&t===n&&(yield r,r=null,t=0,n=0)}}};return{[Symbol.asyncIterator]:o}}function Oc(e,t){return async function(n){let{value:r}=n.headers[`:message-type`];if(r===`error`){let e=Error(n.headers[`:error-message`].value||`UnknownError`);throw e.name=n.headers[`:error-code`].value,e}if(r===`exception`){let r=n.headers[`:exception-type`].value,i=await e({[r]:n});if(i.$unknown){let e=Error(t(n.body));throw e.name=r,e}throw i[r]}if(r===`event`){let t=await e({[n.headers[`:event-type`].value]:n});return t.$unknown?void 0:t}throw Error(`Unrecognizable event type: ${n.headers[`:event-type`].value}`)}}var kc=class{eventStreamCodec;utfEncoder;constructor({utf8Encoder:e,utf8Decoder:t}){this.eventStreamCodec=new Sc(e,t),this.utfEncoder=e}deserialize(e,t){return new Tc({messageStream:new Cc({inputStream:Dc(e),decoder:this.eventStreamCodec}),deserializer:Oc(t,this.utfEncoder)})}serialize(e,t){return new wc({messageStream:new Ec({inputStream:e,serializer:t}),encoder:this.eventStreamCodec,includeEndFrame:!0})}},Ac=e=>({[Symbol.asyncIterator]:async function*(){let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)return;yield n}}finally{t.releaseLock()}}}),jc=e=>{let t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){let{done:n,value:r}=await t.next();if(n)return e.close();e.enqueue(r)}})},Mc=class{universalMarshaller;constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new kc({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){let n=Nc(e)?Ac(e):e;return this.universalMarshaller.deserialize(n,t)}serialize(e,t){let n=this.universalMarshaller.serialize(e,t);return typeof ReadableStream==`function`?jc(n):n}},Nc=e=>typeof ReadableStream==`function`&&e instanceof ReadableStream,Pc=e=>new Mc(e),Fc=e=>Object.assign(e,{eventStreamMarshaller:e.eventStreamSerdeProvider(e)}),Ic=class{marshaller;serializer;deserializer;serdeContext;defaultContentType;compositeErrorRegistry;constructor({marshaller:e,serializer:t,deserializer:n,serdeContext:r,defaultContentType:i,compositeErrorRegistry:a}){this.marshaller=e,this.serializer=t,this.deserializer=n,this.serdeContext=r,this.defaultContentType=i,this.compositeErrorRegistry=a}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n,initialMessageType:r}){let i=this.marshaller,a=t.getEventStreamMember(),o=t.getMemberSchema(a),s=this.serializer,c=this.defaultContentType,l=Symbol(`initialRequestMarker`),u={async*[Symbol.asyncIterator](){if(n){let e={":event-type":{type:`string`,value:r??`initial-request`},":message-type":{type:`string`,value:`event`},":content-type":{type:`string`,value:c}};s.write(t,n);let i=s.flush();yield{[l]:!0,headers:e,body:i}}for await(let t of e)yield t}};return i.serialize(u,e=>{if(e[l])return{headers:e.headers,body:e.body};let t=``;for(let n in e)if(m(e,n)&&n!==`__type`){t=n;break}let{additionalHeaders:n,body:r,eventType:i,explicitPayloadContentType:a}=this.writeEventBody(t,o,e);return{headers:{":event-type":{type:`string`,value:i},":message-type":{type:`string`,value:`event`},":content-type":{type:`string`,value:a??c},...n},body:r}})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n,initialMessageType:r}){let i=this.marshaller,a=t.getEventStreamMember(),o=t.getMemberSchema(a).getMemberSchemas(),s=Symbol(`initialResponseMarker`),c=i.deserialize(e.body,async e=>{let n=``;for(let t in e)if(m(e,t)&&t!==`__type`){n=t;break}let i=e[n].body;if(n===(r??`initial-response`)){let e=await this.deserializer.read(t,i);return delete e[a],{[s]:!0,...e}}if(n in o){let t=o[n];if(t.isStructSchema()){let r={},a=!1;for(let[o,s]of t.structIterator()){let{eventHeader:t,eventPayload:c}=s.getMergedTraits();if(a||=!!(t||c),c)s.isBlobSchema()?r[o]=i:s.isStringSchema()?r[o]=(this.serdeContext?.utf8Encoder??Et)(i):s.isStructSchema()&&(r[o]=await this.deserializer.read(s,i));else if(t){let t=e[n].headers[o]?.value;t!=null&&(r[o]=s.isNumericSchema()?t&&typeof t==`object`&&`bytes`in t?BigInt(t.toString()):Number(t):t)}}return{[n]:await this.readEventMember(t,i,a,r)}}return{[n]:await this.deserializer.read(t,i)}}return{$unknown:e}}),l=c[Symbol.asyncIterator](),u=await l.next();if(u.done)return c;if(u.value?.[s]){if(!t)throw Error(`@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.`);for(let e in u.value)m(u.value,e)&&(n[e]=u.value[e])}return{async*[Symbol.asyncIterator](){for(u?.value?.[s]||(yield u.value);;){let{done:e,value:t}=await l.next();if(e)break;yield t}}}}async readEventMember(e,t,n,r){let i,a=e.getSchema();if(Array.isArray(a)&&a[0]===-3){let e=a[1],t=tt.for(e);this.compositeErrorRegistry?.copyFrom(t),i=(this.compositeErrorRegistry??t)?.getErrorCtor(a)}let o=n?r:t.byteLength===0?{}:await this.deserializer.read(e,t);if(i){let t=o.message??o.Message??`Unknown`,n={},r=e.getMergedTraits().error;return r&&(n.$fault=r),Object.assign(new i({}),n,{message:t},o)}return o}writeEventBody(e,t,n){let r=this.serializer,i=e,a=null,o,s=t.getSchema()[4].includes(e),c={};if(s){let i=t.getMemberSchema(e);if(i.isStructSchema()){for(let[t,r]of i.structIterator()){let{eventHeader:i,eventPayload:o}=r.getMergedTraits();if(o)a=t;else if(i){let i=n[e][t],a=`binary`;r.isNumericSchema()?a=(-2)**31<=i&&i<=2**31-1?`integer`:`long`:r.isTimestampSchema()?a=`timestamp`:r.isStringSchema()?a=`string`:r.isBooleanSchema()&&(a=`boolean`),i!=null&&(c[t]={type:a,value:i},delete n[e][t])}}if(a!==null){let t=i.getMemberSchema(a);t.isBlobSchema()?o=`application/octet-stream`:t.isStringSchema()&&(o=`text/plain`),r.write(t,n[e][a])}else r.write(i,n[e])}else if(i.isUnitSchema())r.write(i,{});else throw Error(`@smithy/core/event-streams - non-struct member not supported in event stream union.`)}else{let[t,a]=n[e];i=t,r.write(15,a)}let l=r.flush()??new Uint8Array;return{body:typeof l==`string`?(this.serdeContext?.utf8Decoder??ne)(l):l,eventType:i,explicitPayloadContentType:o,additionalHeaders:c}}},Lc=e=>ye.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,Rc=e=>ye.isInstance(e)?e.headers?.age??e.headers?.Age:void 0,zc=e=>new Date(Date.now()+e),Bc=(e,t,n,r)=>{if(r!==void 0)return t;let i=Date.parse(e),a=Date.now();return n!==void 0&&a-n>9e5?t:n===void 0?i-a:i-(n+a)/2},Vc=(e,t)=>{if(!t)throw Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t},Hc=async e=>{let t=Vc(`context`,e.context),n=Vc(`config`,e.config),r=t.endpointV2?.properties?.authSchemes?.[0];return{config:n,signer:await Vc(`signer`,n.signer)(r),signingRegion:e?.signingRegion,signingRegionSet:e?.signingRegionSet,signingName:e?.signingName}},Uc=class{async sign(e,t,n){if(!u.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let r=await Hc(n),{config:i,signer:a}=r,{signingRegion:o,signingName:s}=r,c=n.context;if(c?.authSchemes?.length??!1){let[e,t]=c.authSchemes;e?.name===`sigv4a`&&t?.name===`sigv4`&&(o=t?.signingRegion??o,s=t?.signingName??s)}let l=await i.disableClockSkewCorrection?.()===!0;return n._disableClockSkewCorrection=l,l||(n._preRequestSystemClockOffset=i.systemClockOffset,n._requestSentAt=Date.now()),await a.sign(e,{signingDate:l?new Date:zc(i.systemClockOffset),signingRegion:o,signingService:s})}errorHandler(e){return t=>{let n=t;if(!e._disableClockSkewCorrection){let t=n.ServerTime??Lc(n.$response);if(t){let r=Vc(`config`,e.config),i=e._preRequestSystemClockOffset,a=e._requestSentAt,o=Rc(n.$response),s=Bc(t,r.systemClockOffset,a,o);r.systemClockOffset=s,Math.abs(s)>=24e4&&(s!==i||i!==void 0&&i!==s)&&n.$metadata&&(n.$metadata.clockSkewCorrected=!0)}}throw t}}successHandler(e,t){if(t._disableClockSkewCorrection)return;let n=Lc(e);if(n){let r=Vc(`config`,t.config),i=t._requestSentAt,a=Rc(e);r.systemClockOffset=Bc(n,r.systemClockOffset,i,a)}}},Wc=class extends Uc{async sign(e,t,n){if(!u.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let{config:r,signer:i,signingRegion:a,signingRegionSet:o,signingName:s}=await Hc(n),c=(await r.sigv4aSigningRegionSet?.()??o??[a]).join(`,`),l=await r.disableClockSkewCorrection?.()===!0;return n._disableClockSkewCorrection=l,l||(n._preRequestSystemClockOffset=r.systemClockOffset,n._requestSentAt=Date.now()),await i.sign(e,{signingDate:l?new Date:zc(r.systemClockOffset),signingRegion:c,signingService:s})}},Gc=e=>(e.sigv4aSigningRegionSet=Ji(e.sigv4aSigningRegionSet),e),Kc=e=>t=>{let n=t.credentials,r=!!t.credentials,i;Object.defineProperty(t,"credentials",{set(e){e&&e!==n&&e!==i&&(r=!0),n=e;let a=Jc(t,qc(t,{credentials:n,credentialDefaultProvider:t.credentialDefaultProvider}));if(r&&!a.attributed){let e=typeof n==`object`&&!!n;i=async t=>{let n=await a(t);return e&&(!n.$source||Object.keys(n.$source).length===0)?ue(n,`CREDENTIALS_CODE`,`e`):n},i.memoized=a.memoized,i.configBound=a.configBound,i.attributed=!0}else i=a},get(){return i},enumerable:!0,configurable:!0}),t.credentials=n;let{signingEscapePath:a=!0,systemClockOffset:o=t.systemClockOffset||0,sha256:s}=t,l;return l=t.signer?Ji(t.signer):t.regionInfoProvider?()=>Ji(t.region)().then(async e=>[await t.regionInfoProvider(e,{useFipsEndpoint:await t.useFipsEndpoint(),useDualstackEndpoint:await t.useDualstackEndpoint()})||{},e]).then(([e,n])=>{let{signingRegion:r,signingService:i}=e;t.signingRegion=t.signingRegion||r||n,t.signingName=t.signingName||i||t.serviceId;let o={...t,credentials:t.credentials,region:t.signingRegion,service:t.signingName,sha256:s,uriEscapePath:a};return new(t.signerConstructor||c)(o)}):async e=>{e=Object.assign({},{name:`sigv4`,signingName:t.signingName||t.defaultSigningName,signingRegion:await Ji(t.region)(),properties:{}},e);let n=e.signingRegion,r=e.signingName;t.signingRegion=t.signingRegion||n,t.signingName=t.signingName||r||t.serviceId;let i={...t,credentials:t.credentials,region:t.signingRegion,service:t.signingName,sha256:s,uriEscapePath:a};return new(t.signerConstructor||c)(i)},Object.assign(t,{systemClockOffset:o,signingEscapePath:a,signer:l,disableClockSkewCorrection:Ji(t.disableClockSkewCorrection??e)})};function qc(e,{credentials:t,credentialDefaultProvider:n}){let r;return r=t?t?.memoized?t:ta(t,$i,ea):n?Ji(n(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")},r.memoized=!0,r}function Jc(e,t){if(t.configBound)return t;let n=async n=>t({...n,callerClientConfig:e});return n.memoized=t.memoized,n.configBound=!0,n}var Yc=Kc(!1),g=`ref`,_=`argv`,Xc=`backend`,Zc=`authSchemes`,Qc=`disableDoubleEncoding`,$c=`signingName`,el=`signingRegion`,tl=`signingRegionSet`,v=-1,y=!0,nl=!1,rl=`isSet`,il=`booleanEquals`,b=`stringEquals`,al=`coalesce`,ol=`substring`,sl=``,cl=`aws.partition`,ll=`partitionResult`,ul=`accessPointSuffix`,dl=`regionPrefix`,fl=e=>`outpostId_ssa_`+e+sl,pl=`hardwareType`,ml=`ite`,hl=`isValidHostLabel`,gl=`sigv4`,_l=`aws.isVirtualHostableS3Bucket`,vl=`url`,yl=`getAttr`,bl=`bucketArn`,xl=`--`,Sl=`arnType`,Cl=`accesspoint`,wl=e=>`accessPointName_ssa_`+e+sl,Tl=`s3-object-lambda`,El=`s3-outposts`,Dl=`bucketPartition`,Ol=`us-east-1`,kl=`outpostType`,Al=`name`,jl=`s3`,Ml=`{url#scheme}://{Bucket}.{url#authority}{url#path}`,Nl=`{url#scheme}://{url#authority}{url#path}`,Pl=`{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}`,Fl=`https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}`,Il=`https://{Bucket}.s3.{partitionResult#dnsSuffix}`,Ll=e=>`{url#scheme}://{accessPointName_ssa_`+e+`}-{bucketArn#accountId}.{url#authority}{url#path}`,Rl=e=>"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName_ssa_"+e+"}`",zl=`sigv4a`,Bl=`{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}`,Vl=`https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,Hl=`https://s3.{partitionResult#dnsSuffix}`,Ul={[g]:`UseFIPS`},Wl={[g]:`UseDualStack`},Gl={[g]:`Bucket`},Kl={fn:yl,[_]:[{[g]:ll},Al]},ql={[g]:vl},Jl={[g]:`Region`},Yl={[g]:bl},Xl={[g]:Sl},Zl={[g]:`accessPointName_ssa_1`},Ql={fn:yl,[_]:[Yl,`region`]},$l={[g]:pl},eu={fn:yl,[_]:[Yl,`service`]},tu={fn:yl,[_]:[Yl,`accountId`]},nu={[Xc]:`S3Express`,[Zc]:[{[Qc]:!0,[Al]:`{_s3e_auth}`,[$c]:`s3express`,[el]:`{Region}`}]},ru={[Xc]:`S3Express`,[Zc]:[{[Qc]:!0,[Al]:gl,[$c]:`s3express`,[el]:`{Region}`}]},iu={[Zc]:[{[Qc]:!0,[Al]:zl,[$c]:El,[tl]:[`*`]},{[Qc]:!0,[Al]:gl,[$c]:El,[el]:`{Region}`}]},au={[Zc]:[{[Qc]:!0,[Al]:gl,[$c]:jl,[el]:Ol}]},x={[Zc]:[{[Qc]:!0,[Al]:gl,[$c]:jl,[el]:`{Region}`}]},ou={[Zc]:[{[Qc]:!0,[Al]:gl,[$c]:Tl,[el]:`{bucketArn#region}`}]},su={[Zc]:[{[Qc]:!0,[Al]:gl,[$c]:jl,[el]:`{bucketArn#region}`}]},cu={[Zc]:[{[Qc]:!0,[Al]:zl,[$c]:El,[tl]:[`*`]},{[Qc]:!0,[Al]:gl,[$c]:El,[el]:`{bucketArn#region}`}]},lu={[Zc]:[{[Qc]:!0,[Al]:gl,[$c]:Tl,[el]:`{Region}`}]},uu=[Jl],du=[{[g]:`Endpoint`}],fu=[Gl],pu=[Gl,0,7,!0],mu=[Yl,`resourceId[1]`],hu=[`*`],gu={conditions:[[rl,uu],[il,[{[g]:`Accelerate`},y]],[il,[Ul,y]],[il,[Wl,y]],[rl,du],[rl,fu],[b,[{fn:al,[_]:[{fn:ol,[_]:[Gl,0,6,y]},sl]},`--x-s3`]],[b,[{fn:al,[_]:[{fn:ol,[_]:pu},sl]},`--xa-s3`]],[cl,uu,ll],[ol,pu,ul],[b,[{[g]:ul},`--op-s3`]],[ol,[Gl,8,12,y],dl],[ol,[Gl,32,49,y],fl(2)],[ol,[Gl,49,50,y],pl],[il,[{[g]:`ForcePathStyle`},y]],[b,[Kl,`aws-cn`]],[ml,[Wl,`.dualstack`,sl],`_s3e_ds`],[hl,[{[g]:fl(2)},nl]],[ml,[Ul,`-fips`,sl],`_s3e_fips`],[ml,[{fn:al,[_]:[{[g]:`DisableS3ExpressSessionAuth`},nl]},gl,`sigv4-s3express`],`_s3e_auth`],[_l,[Gl,nl]],[`parseURL`,du,vl],[il,[{fn:al,[_]:[{[g]:`UseS3ExpressControlEndpoint`},nl]},y]],[_l,[Gl,y]],[b,[{fn:yl,[_]:[ql,`scheme`]},`http`]],[hl,[Jl,nl]],[`aws.parseArn`,fu,bl],[yl,[{fn:`split`,[_]:[Gl,xl,0]},`[-2]`],`s3expressAvailabilityZoneId`],[b,[{fn:al,[_]:[{fn:ol,[_]:[Gl,0,4,nl]},sl]},`arn:`]],[b,[{fn:al,[_]:[{fn:ol,[_]:[Gl,16,18,y]},sl]},xl]],[il,[{fn:yl,[_]:[ql,`isIp`]},y]],[b,[{fn:al,[_]:[{fn:ol,[_]:[Gl,21,23,y]},sl]},xl]],[b,[{fn:al,[_]:[{fn:ol,[_]:[Gl,27,29,y]},sl]},xl]],[b,[{[g]:dl},`beta`]],[`uriEncode`,fu,`uri_encoded_bucket`],[hl,[Jl,y]],[il,[{fn:al,[_]:[{[g]:`UseObjectLambdaEndpoint`},nl]},y]],[yl,[Yl,`resourceId[0]`],Sl],[b,[Xl,sl]],[b,[Xl,Cl]],[yl,mu,wl(1)],[b,[Zl,sl]],[b,[Ql,sl]],[b,[{fn:al,[_]:[{fn:ol,[_]:[Gl,14,16,y]},sl]},xl]],[b,[$l,`e`]],[b,[$l,`o`]],[b,[Jl,`aws-global`]],[b,[{fn:al,[_]:[{fn:ol,[_]:[Gl,19,21,y]},sl]},xl]],[b,[eu,Tl]],[il,[{fn:al,[_]:[{[g]:`DisableAccessPoints`},nl]},y]],[b,[eu,El]],[cl,[Ql],Dl],[hl,[Zl,y]],[b,[{fn:al,[_]:[{fn:ol,[_]:[Gl,26,28,y]},sl]},xl]],[b,[{fn:al,[_]:[{fn:ol,[_]:[Gl,15,17,y]},sl]},xl]],[yl,[Yl,`resourceId[4]`]],[b,[{fn:al,[_]:[{fn:ol,[_]:[Gl,20,22,y]},sl]},xl]],[il,[{[g]:`UseGlobalEndpoint`},y]],[b,[Jl,Ol]],[yl,mu,fl(1)],[il,[{fn:al,[_]:[{[g]:`UseArnRegion`},y]},y]],[hl,[{[g]:fl(1)},nl]],[yl,[Yl,`resourceId[2]`],kl],[b,[Jl,Ql]],[b,[{fn:yl,[_]:[{[g]:Dl},Al]},Kl]],[il,[{[g]:`DisableMultiRegionAccessPoints`},y]],[hl,[Ql,y]],[b,[{fn:yl,[_]:[Yl,`partition`]},Kl]],[b,[tu,sl]],[b,[eu,jl]],[hl,[tu,nl]],[yl,[Yl,`resourceId[3]`],wl(2)],[hl,[Zl,nl]],[b,[{[g]:kl},Cl]],[hl,[{[g]:wl(2)},nl]]],results:[[v],[v,`Accelerate cannot be used with FIPS`],[v,`Cannot set dual-stack in combination with a custom endpoint.`],[v,`A custom endpoint cannot be combined with FIPS`],[v,`A custom endpoint cannot be combined with S3 Accelerate`],[v,`Partition does not support FIPS`],[v,`S3Express does not support S3 Accelerate.`],[`{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}`,nu],[Ml,nu],[v,`S3Express bucket name is not a valid virtual hostable name.`],[`https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,ru],[`https://{Bucket}.s3express{_s3e_fips}-{s3expressAvailabilityZoneId}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}`,nu],[v,`Unrecognized S3Express bucket name format.`],[Nl,nu],[`https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}`,ru],[v,`Expected a endpoint to be specified but no endpoint was found`],[`https://{Bucket}.ec2.{url#authority}`,iu],[`https://{Bucket}.ec2.s3-outposts.{Region}.{partitionResult#dnsSuffix}`,iu],[`https://{Bucket}.op-{outpostId_ssa_2}.{url#authority}`,iu],[`https://{Bucket}.op-{outpostId_ssa_2}.s3-outposts.{Region}.{partitionResult#dnsSuffix}`,iu],[v,`Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"`],[v,`Invalid Outposts Bucket alias - it must be a valid bucket name.`],[v,"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`."],[v,"Custom endpoint `{Endpoint}` was not a valid URI"],[v,`S3 Accelerate cannot be used in this region`],[`https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}`,au],[`https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}`,x],[`https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}`,au],[`https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}`,x],[`https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}`,au],[`https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}`,x],[`https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}`,au],[`https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}`,x],[Pl,au],[Ml,au],[Pl,x],[Ml,x],[Fl,au],[Fl,x],[Il,au],[Il,x],[`https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}`,x],[v,`Invalid region: region was not a valid DNS name.`],[v,`S3 Object Lambda does not support Dual-stack`],[v,`S3 Object Lambda does not support S3 Accelerate`],[v,`Access points are not supported for this operation`],[v,"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`"],[v,`Invalid ARN: Missing account id`],[Ll(1),ou],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}`,ou],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}`,ou],[v,Rl(1)],[v,"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`"],[v,"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)"],[v,"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`"],[v,"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."],[v,`Invalid ARN: bucket ARN is missing a region`],[v,"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided"],[v,"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`"],[v,`Access Points do not support S3 Accelerate`],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}`,su],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}`,su],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}`,su],[Ll(1),su],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}`,su],[v,`Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}`],[v,`S3 MRAP does not support dual-stack`],[v,`S3 MRAP does not support FIPS`],[v,`S3 MRAP does not support S3 Accelerate`],[v,`Invalid configuration: Multi-Region Access Point ARNs are disabled.`],[`https://{accessPointName_ssa_1}.accesspoint.s3-global.{partitionResult#dnsSuffix}`,{[Zc]:[{[Qc]:y,name:zl,[$c]:jl,[tl]:hu}]}],[v,"Client was configured for partition `{partitionResult#name}` but bucket referred to partition `{bucketArn#partition}`"],[v,`Invalid Access Point Name`],[v,`S3 Outposts does not support Dual-stack`],[v,`S3 Outposts does not support FIPS`],[v,`S3 Outposts does not support S3 Accelerate`],[v,`Invalid Arn: Outpost Access Point ARN contains sub resources`],[`https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.{url#authority}`,cu],[`https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}`,cu],[v,Rl(2)],[v,"Expected an outpost type `accesspoint`, found {outpostType}"],[v,`Invalid ARN: expected an access point name`],[v,`Invalid ARN: Expected a 4-component resource`],[v,"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId_ssa_1}`"],[v,`Invalid ARN: The Outpost Id was not set`],[v,`Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})`],[v,`Invalid ARN: No ARN type specified`],[v,"Invalid ARN: `{Bucket}` was not a valid ARN"],[v,`Path-style addressing cannot be used with ARN buckets`],[`https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,au],[`https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,x],[`https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,au],[`https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,x],[`https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,au],[`https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,x],[Bl,au],[Bl,x],[Vl,au],[Vl,x],[`https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,x],[v,`Path-style addressing cannot be used with S3 Accelerate`],[Nl,lu],[`https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}`,lu],[`https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}`,lu],[`https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}`,au],[`https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}`,x],[`https://s3-fips.us-east-1.{partitionResult#dnsSuffix}`,au],[`https://s3-fips.{Region}.{partitionResult#dnsSuffix}`,x],[`https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}`,au],[`https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}`,x],[Nl,au],[Nl,x],[Hl,au],[Hl,x],[`https://s3.{Region}.{partitionResult#dnsSuffix}`,x],[v,`A region must be set when sending requests to S3.`]]},_u=2,vu=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]),yu=Mn.from(vu,_u,gu.conditions,gu.results),bu=new Nn({size:50,params:[`Accelerate`,`Bucket`,`DisableAccessPoints`,`DisableMultiRegionAccessPoints`,`DisableS3ExpressSessionAuth`,`Endpoint`,`ForcePathStyle`,`Region`,`UseArnRegion`,`UseDualStack`,`UseFIPS`,`UseGlobalEndpoint`,`UseObjectLambdaEndpoint`,`UseS3ExpressControlEndpoint`]}),xu=(e,t={})=>bu.get(e,()=>lr(yu,{endpointParams:e,logger:t.logger}));Ln.aws=Ta;var Su=(e=>async(t,n,r)=>{if(!r)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let i=await e(t,n,r),a=s(n)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!a)throw Error(`getEndpointParameterInstructions() is not defined on '${n.commandName}'`);let o=await f(r,{getEndpointParameterInstructions:a},t);return Object.assign(i,o)})(async(e,t,n)=>({operation:s(t).operation,region:await i(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}));function Cu(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`s3`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function wu(e){return{schemeId:`aws.auth#sigv4a`,signingProperties:{name:`s3`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var Tu=((e,t,n)=>r=>{let i=e(r).properties?.authSchemes;if(!i)return t(r);let a=[];for(let e of i){let{name:t,properties:o={},...s}=e,c=t.toLowerCase();t!==c&&console.warn(`HttpAuthScheme has been normalized with lowercasing: '${t}' to '${c}'`);let l;if(c===`sigv4a`){l=`aws.auth#sigv4a`;let e=i.find(e=>{let t=e.name.toLowerCase();return t!==`sigv4a`&&t.startsWith(`sigv4`)});if(ee.sigv4aDependency()===`none`&&e)continue}else if(c.startsWith(`sigv4`))l=`aws.auth#sigv4`;else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${c}'`);let u=n[l];if(!u)throw Error(`Could not find HttpAuthOption create function for '${l}'`);let d=u(r);d.schemeId=l,d.signingProperties={...d.signingProperties||{},...s,...o},a.push(d)}return a})(xu,e=>{let t=[];return e.operation,t.push(Cu(e)),t.push(wu(e)),t},{"aws.auth#sigv4":Cu,"aws.auth#sigv4a":wu}),Eu=e=>{let t=Gc(Yc(e));return Object.assign(t,{authSchemePreference:i(e.authSchemePreference??[])})},Du=e=>Object.assign(e,{useFipsEndpoint:e.useFipsEndpoint??!1,useDualstackEndpoint:e.useDualstackEndpoint??!1,forcePathStyle:e.forcePathStyle??!1,useAccelerateEndpoint:e.useAccelerateEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,disableMultiregionAccessPoints:e.disableMultiregionAccessPoints??!1,defaultSigningName:`s3`,clientContextParams:e.clientContextParams??{}}),S=yt({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`,t),Ou={Bucket:{type:`contextParams`,name:`Bucket`},Key:{type:`contextParams`,name:`Key`}},ku={DisableS3ExpressSessionAuth:{type:`staticContextParams`,value:!0},Bucket:{type:`contextParams`,name:`Bucket`},Key:{type:`contextParams`,name:`Key`},CopySource:{type:`contextParams`,name:`CopySource`}},Au={UseS3ExpressControlEndpoint:{type:`staticContextParams`,value:!0},DisableAccessPoints:{type:`staticContextParams`,value:!0},Bucket:{type:`contextParams`,name:`Bucket`}},C={UseS3ExpressControlEndpoint:{type:`staticContextParams`,value:!0},Bucket:{type:`contextParams`,name:`Bucket`}},ju={DisableS3ExpressSessionAuth:{type:`staticContextParams`,value:!0},Bucket:{type:`contextParams`,name:`Bucket`}},Mu={Bucket:{type:`contextParams`,name:`Bucket`}},Nu={},Pu={UseS3ExpressControlEndpoint:{type:`staticContextParams`,value:!0}},Fu={Bucket:{type:`contextParams`,name:`Bucket`},Prefix:{type:`contextParams`,name:`Prefix`}},Iu={UseObjectLambdaEndpoint:{type:`staticContextParams`,value:!0}},w=(e,t,n,r)=>[bs(n)],Lu=(e,t,n,r)=>[bs(n),tc(n)],Ru=(e,t,n,r)=>[bs(n),Qs(n)],zu=(e,t,n,r)=>[Bo(n,{requestAlgorithmMember:{httpHeader:`x-amz-sdk-checksum-algorithm`,name:`ChecksumAlgorithm`},requestChecksumRequired:!0})],T=(e,t,n,r)=>[],Bu=(e,t,n,r)=>[Bo(n,{requestAlgorithmMember:{httpHeader:`x-amz-sdk-checksum-algorithm`,name:`ChecksumAlgorithm`},requestChecksumRequired:!0}),bs(n)],Vu=(e,t,n,r)=>[Bo(n,{requestChecksumRequired:!1,requestValidationModeMember:`ChecksumMode`,responseAlgorithms:[`CRC64NVME`,`CRC32`,`CRC32C`,`SHA256`,`SHA1`,`SHA512`,`MD5`,`XXHASH64`,`XXHASH3`,`XXHASH128`]})],Hu=(e,t,n,r)=>[Bo(n,{requestChecksumRequired:!1,requestValidationModeMember:`ChecksumMode`,responseAlgorithms:[`CRC64NVME`,`CRC32`,`CRC32C`,`SHA256`,`SHA1`,`SHA512`,`MD5`,`XXHASH64`,`XXHASH3`,`XXHASH128`]}),tc(n),is(n)],Uu=(e,t,n,r)=>[bs(n),tc(n),is(n)],Wu=(e,t,n,r)=>[Bo(n,{requestAlgorithmMember:{httpHeader:`x-amz-sdk-checksum-algorithm`,name:`ChecksumAlgorithm`},requestChecksumRequired:!1})],Gu=(e,t,n,r)=>[Bo(n,{requestAlgorithmMember:{httpHeader:`x-amz-sdk-checksum-algorithm`,name:`ChecksumAlgorithm`},requestChecksumRequired:!1}),bs(n)],Ku=(e,t,n,r)=>[Bo(n,{requestAlgorithmMember:{httpHeader:`x-amz-sdk-checksum-algorithm`,name:`ChecksumAlgorithm`},requestChecksumRequired:!1}),Ko(n),bs(n),tc(n)],qu=(e,t,n,r)=>[tc(n)],Ju=(e,t,n,r)=>[Bo(n,{requestAlgorithmMember:{httpHeader:`x-amz-sdk-checksum-algorithm`,name:`ChecksumAlgorithm`},requestChecksumRequired:!1}),bs(n),tc(n)],E=class e extends st{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},Yu=class e extends E{name=`NoSuchUpload`;$fault=`client`;constructor(t){super({name:`NoSuchUpload`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},Xu=class e extends E{name=`AccessDenied`;$fault=`client`;constructor(t){super({name:`AccessDenied`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},Zu=class e extends E{name=`ObjectNotInActiveTierError`;$fault=`client`;constructor(t){super({name:`ObjectNotInActiveTierError`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},Qu=class e extends E{name=`BucketAlreadyExists`;$fault=`client`;constructor(t){super({name:`BucketAlreadyExists`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},$u=class e extends E{name=`BucketAlreadyOwnedByYou`;$fault=`client`;constructor(t){super({name:`BucketAlreadyOwnedByYou`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},ed=class e extends E{name=`NoSuchBucket`;$fault=`client`;constructor(t){super({name:`NoSuchBucket`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},td=class e extends E{name=`NoSuchKey`;$fault=`client`;constructor(t){super({name:`NoSuchKey`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},nd=class e extends E{name=`InvalidObjectState`;$fault=`client`;StorageClass;AccessTier;constructor(t){super({name:`InvalidObjectState`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.StorageClass=t.StorageClass,this.AccessTier=t.AccessTier}},rd=class e extends E{name=`NoSuchAnnotation`;$fault=`client`;constructor(t){super({name:`NoSuchAnnotation`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},id=class e extends E{name=`NotFound`;$fault=`client`;constructor(t){super({name:`NotFound`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},ad=class e extends E{name=`InvalidPrefix`;$fault=`client`;constructor(t){super({name:`InvalidPrefix`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},od=class e extends E{name=`EncryptionTypeMismatch`;$fault=`client`;constructor(t){super({name:`EncryptionTypeMismatch`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},sd=class e extends E{name=`InvalidRequest`;$fault=`client`;constructor(t){super({name:`InvalidRequest`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},cd=class e extends E{name=`InvalidWriteOffset`;$fault=`client`;constructor(t){super({name:`InvalidWriteOffset`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},ld=class e extends E{name=`TooManyParts`;$fault=`client`;constructor(t){super({name:`TooManyParts`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},ud=class e extends E{name=`AnnotationLimitExceeded`;$fault=`client`;constructor(t){super({name:`AnnotationLimitExceeded`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},dd=class e extends E{name=`AnnotationNameTooLong`;$fault=`client`;constructor(t){super({name:`AnnotationNameTooLong`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},fd=class e extends E{name=`InvalidAnnotationName`;$fault=`client`;constructor(t){super({name:`InvalidAnnotationName`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},pd=class e extends E{name=`UnsupportedMediaType`;$fault=`client`;constructor(t){super({name:`UnsupportedMediaType`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},md=class e extends E{name=`IdempotencyParameterMismatch`;$fault=`client`;constructor(t){super({name:`IdempotencyParameterMismatch`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},hd=class e extends E{name=`ObjectAlreadyInActiveTierError`;$fault=`client`;constructor(t){super({name:`ObjectAlreadyInActiveTierError`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},gd=`Account`,_d=`AnalyticsAndOperator`,vd=`AccelerateConfiguration`,yd=`AccessControlList`,bd=`ACL`,xd=`AnalyticsConfigurationList`,Sd=`AccessControlPolicy`,Cd=`AccessControlTranslation`,wd=`AnalyticsConfiguration`,Td=`AnnotationCount`,Ed=`AccessDenied`,Dd=`AbortDate`,Od=`AnnotationDirective`,kd=`AnnotationEntry`,Ad=`AnalyticsExportDestination`,jd=`AnalyticsFilter`,Md=`AllowedHeaders`,Nd=`AllowedHeader`,Pd=`AccountId`,Fd=`AbortIncompleteMultipartUpload`,Id=`AccessKeyId`,Ld=`AnnotationList`,Rd=`AnnotationLimitExceeded`,zd=`AllowedMethods`,Bd=`AbortMultipartUpload`,Vd=`AbortMultipartUploadOutput`,Hd=`AbortMultipartUploadRequest`,Ud=`AllowedMethod`,Wd=`AnnotationName`,Gd=`AnnotationNameTooLong`,Kd=`AllowedOrigins`,qd=`AllowedOrigin`,Jd=`AnnotationPayload`,Yd=`AccessPointAlias`,Xd=`AccessPointArn`,Zd=`AnnotationPrefix`,Qd=`AllowQuotedRecordDelimiter`,$d=`AcceptRanges`,ef=`AbortRuleId`,tf=`AbacStatus`,nf=`AnalyticsS3BucketDestination`,rf=`ApplyServerSideEncryptionByDefault`,af=`ArchiveStatus`,of=`AccessTier`,sf=`AnnotationTableConfiguration`,cf=`AnnotationTableConfigurationResult`,lf=`AnnotationTableConfigurationUpdates`,uf=`And`,df=`Annotations`,D=`Bucket`,ff=`BucketArn`,pf=`BucketAlreadyExists`,mf=`BucketAccountId`,hf=`BucketAlreadyOwnedByYou`,gf=`BlockedEncryptionTypes`,_f=`BypassGovernanceRetention`,vf=`BucketInfo`,yf=`BucketKeyEnabled`,bf=`BucketLifecycleConfiguration`,xf=`BucketLocationName`,Sf=`BucketLoggingStatus`,Cf=`BucketLocationType`,wf=`BucketNamespace`,Tf=`BucketName`,Ef=`BytesProcessed`,Df=`BlockPublicAcls`,Of=`BlockPublicPolicy`,kf=`BucketRegion`,Af=`BytesReturned`,jf=`BytesScanned`,Mf=`Body`,Nf=`Buckets`,Pf=`Checksum`,O=`ChecksumAlgorithm`,Ff=`CannedACL`,If=`CreateBucket`,Lf=`CreateBucketConfiguration`,Rf=`CreateBucketMetadataConfiguration`,zf=`CreateBucketMetadataConfigurationRequest`,Bf=`CreateBucketMetadataTableConfiguration`,Vf=`CreateBucketMetadataTableConfigurationRequest`,Hf=`CreateBucketOutput`,Uf=`CreateBucketRequest`,Wf=`CacheControl`,Gf=`ChecksumCRC32`,Kf=`ChecksumCRC32C`,qf=`ChecksumCRC64NVME`,Jf=`Cache-Control`,Yf=`CreationDate`,Xf=`Content-Disposition`,Zf=`ContentDisposition`,Qf=`ContinuationEvent`,$f=`Content-Encoding`,ep=`ContentEncoding`,tp=`CloudFunction`,np=`CloudFunctionConfiguration`,rp=`ContentLanguage`,ip=`Content-Language`,ap=`Content-Length`,op=`ContentLength`,k=`Content-MD5`,sp=`ChecksumMD5`,A=`ContentMD5`,cp=`CompletedMultipartUpload`,lp=`CompleteMultipartUploadOutput`,up=`CreateMultipartUploadOutput`,dp=`CompleteMultipartUploadResult`,fp=`CompleteMultipartUploadRequest`,pp=`CreateMultipartUploadRequest`,mp=`CompleteMultipartUpload`,hp=`CreateMultipartUpload`,gp=`ChecksumMode`,_p=`CopyObject`,vp=`CopyObjectOutput`,yp=`CopyObjectResult`,bp=`CORSConfiguration`,xp=`CORSRules`,Sp=`CORSRule`,Cp=`CopyObjectRequest`,wp=`CommonPrefix`,Tp=`CommonPrefixList`,Ep=`CompletedPartList`,Dp=`CopyPartResult`,Op=`CompletedPart`,kp=`CommonPrefixes`,Ap=`ContentRange`,jp=`ConfirmRemoveSelfBucketAccess`,Mp=`Content-Range`,Np=`ConfigurationState`,Pp=`ChecksumSHA1`,Fp=`ChecksumSHA256`,Ip=`ChecksumSHA512`,Lp=`CopySourceIfMatch`,Rp=`CopySourceIfModifiedSince`,zp=`CopySourceIfNoneMatch`,Bp=`CopySourceIfUnmodifiedSince`,Vp=`CreateSessionOutput`,Hp=`CreateSessionResult`,Up=`CopySourceRange`,Wp=`CreateSessionRequest`,Gp=`CopySourceSSECustomerAlgorithm`,Kp=`CopySourceSSECustomerKey`,qp=`CopySourceSSECustomerKeyMD5`,Jp=`CSV`,Yp=`CopySourceVersionId`,Xp=`CSVInput`,Zp=`CSVOutput`,Qp=`CopySource`,$p=`CreateSession`,em=`ChecksumType`,tm=`Content-Type`,nm=`ClientToken`,rm=`ContentType`,im=`CompressionType`,am=`ContinuationToken`,om=`ChecksumXXHASH64`,sm=`ChecksumXXHASH3`,cm=`ChecksumXXHASH128`,lm=`Condition`,um=`Code`,dm=`Comments`,fm=`Contents`,pm=`Cont`,mm=`Credentials`,hm=`Days`,gm=`DaysAfterInitiation`,_m=`DeleteBucket`,vm=`DeleteBucketAnalyticsConfiguration`,ym=`DeleteBucketAnalyticsConfigurationRequest`,bm=`DeleteBucketCors`,xm=`DeleteBucketCorsRequest`,Sm=`DeleteBucketEncryption`,Cm=`DeleteBucketEncryptionRequest`,wm=`DeleteBucketInventoryConfiguration`,Tm=`DeleteBucketInventoryConfigurationRequest`,Em=`DeleteBucketIntelligentTieringConfiguration`,Dm=`DeleteBucketIntelligentTieringConfigurationRequest`,Om=`DeleteBucketLifecycle`,km=`DeleteBucketLifecycleRequest`,Am=`DeleteBucketMetadataConfiguration`,jm=`DeleteBucketMetadataConfigurationRequest`,Mm=`DeleteBucketMetricsConfigurationRequest`,Nm=`DeleteBucketMetricsConfiguration`,Pm=`DeleteBucketMetadataTableConfiguration`,Fm=`DeleteBucketMetadataTableConfigurationRequest`,Im=`DeleteBucketOwnershipControls`,Lm=`DeleteBucketOwnershipControlsRequest`,Rm=`DeleteBucketPolicy`,zm=`DeleteBucketPolicyRequest`,Bm=`DeleteBucketRequest`,Vm=`DeleteBucketReplicationRequest`,Hm=`DeleteBucketReplication`,Um=`DeleteBucketTagging`,Wm=`DeleteBucketTaggingRequest`,Gm=`DeleteBucketWebsite`,Km=`DeleteBucketWebsiteRequest`,qm=`DataExport`,Jm=`DefaultEventHold`,Ym=`DestinationIfMatch`,Xm=`DestinationIfModifiedSince`,Zm=`DestinationIfNoneMatch`,Qm=`DestinationIfUnmodifiedSince`,$m=`DeleteMarker`,eh=`DeleteMarkerEntry`,th=`DeleteMarkerReplication`,nh=`DeleteMarkerVersionId`,rh=`DeleteMarkers`,ih=`DisplayName`,ah=`DeletedObject`,oh=`DeleteObjectAnnotation`,sh=`DeleteObjectAnnotationOutput`,ch=`DeleteObjectAnnotationRequest`,lh=`DeleteObjectOutput`,uh=`DeleteObjectsOutput`,dh=`DeleteObjectRequest`,fh=`DeleteObjectsRequest`,ph=`DeleteObjectTagging`,mh=`DeleteObjectTaggingOutput`,hh=`DeleteObjectTaggingRequest`,gh=`DeletedObjects`,_h=`DeleteObject`,vh=`DeleteObjects`,yh=`DeletePublicAccessBlock`,bh=`DeletePublicAccessBlockRequest`,xh=`DataRedundancy`,Sh=`DefaultRetention`,Ch=`DeleteResult`,wh=`DestinationResult`,Th=`Date`,Eh=`Delete`,Dh=`Deleted`,Oh=`Delimiter`,kh=`Destination`,Ah=`Description`,jh=`Details`,Mh=`Error`,Nh=`EmailAddress`,Ph=`EventBridgeConfiguration`,j=`ExpectedBucketOwner`,Fh=`EncryptionConfiguration`,Ih=`ErrorCode`,Lh=`ErrorDetails`,Rh=`ErrorDocument`,zh=`EndEvent`,Bh=`ExposeHeaders`,Vh=`EventHoldDuration`,Hh=`EventHold`,Uh=`ExposeHeader`,Wh=`ErrorMessage`,Gh=`ExpiredObjectDeleteMarker`,Kh=`ExistingObjectReplication`,qh=`ExpiresString`,Jh=`ExpectedSourceBucketOwner`,M=`ETag`,Yh=`EncryptionTypeList`,Xh=`EncryptionTypeMismatch`,Zh=`EncryptionType`,Qh=`EncodingType`,$h=`EventThreshold`,eg=`ExpressionType`,tg=`Encryption`,ng=`Enabled`,rg=`End`,ig=`Errors`,ag=`Events`,og=`Event`,sg=`Expiration`,cg=`Expires`,lg=`Expression`,ug=`Filter`,dg=`FieldDelimiter`,fg=`FileHeaderInfo`,pg=`FetchOwner`,mg=`FilterRule`,hg=`FilterRuleList`,gg=`FilterRules`,_g=`Field`,vg=`Format`,yg=`Frequency`,bg=`Grants`,xg=`GetBucketAbac`,Sg=`GetBucketAccelerateConfiguration`,Cg=`GetBucketAccelerateConfigurationOutput`,wg=`GetBucketAnalyticsConfigurationOutput`,Tg=`GetBucketAccelerateConfigurationRequest`,Eg=`GetBucketAnalyticsConfigurationRequest`,Dg=`GetBucketAnalyticsConfiguration`,Og=`GetBucketAbacOutput`,kg=`GetBucketAclOutput`,Ag=`GetBucketAbacRequest`,jg=`GetBucketAclRequest`,Mg=`GetBucketAcl`,Ng=`GetBucketCors`,Pg=`GetBucketCorsOutput`,Fg=`GetBucketCorsRequest`,Ig=`GetBucketEncryption`,Lg=`GetBucketEncryptionOutput`,Rg=`GetBucketEncryptionRequest`,zg=`GetBucketInventoryConfiguration`,Bg=`GetBucketInventoryConfigurationOutput`,Vg=`GetBucketInventoryConfigurationRequest`,Hg=`GetBucketIntelligentTieringConfiguration`,Ug=`GetBucketIntelligentTieringConfigurationOutput`,Wg=`GetBucketIntelligentTieringConfigurationRequest`,Gg=`GetBucketLocation`,Kg=`GetBucketLifecycleConfiguration`,qg=`GetBucketLifecycleConfigurationOutput`,Jg=`GetBucketLifecycleConfigurationRequest`,Yg=`GetBucketLocationOutput`,Xg=`GetBucketLoggingOutput`,Zg=`GetBucketLocationRequest`,Qg=`GetBucketLoggingRequest`,$g=`GetBucketLogging`,e_=`GetBucketMetadataConfiguration`,t_=`GetBucketMetadataConfigurationOutput`,n_=`GetBucketMetricsConfigurationOutput`,r_=`GetBucketMetadataConfigurationResult`,i_=`GetBucketMetadataConfigurationRequest`,a_=`GetBucketMetricsConfigurationRequest`,o_=`GetBucketMetricsConfiguration`,s_=`GetBucketMetadataTableConfiguration`,c_=`GetBucketMetadataTableConfigurationOutput`,l_=`GetBucketMetadataTableConfigurationResult`,u_=`GetBucketMetadataTableConfigurationRequest`,d_=`GetBucketNotificationConfiguration`,f_=`GetBucketNotificationConfigurationRequest`,p_=`GetBucketOwnershipControls`,m_=`GetBucketOwnershipControlsOutput`,h_=`GetBucketOwnershipControlsRequest`,g_=`GetBucketPolicy`,__=`GetBucketPolicyOutput`,v_=`GetBucketPolicyRequest`,y_=`GetBucketPolicyStatus`,b_=`GetBucketPolicyStatusOutput`,x_=`GetBucketPolicyStatusRequest`,S_=`GetBucketReplication`,C_=`GetBucketReplicationOutput`,w_=`GetBucketRequestPayment`,T_=`GetBucketRequestPaymentOutput`,E_=`GetBucketRequestPaymentRequest`,D_=`GetBucketReplicationRequest`,O_=`GetBucketTagging`,k_=`GetBucketTaggingOutput`,A_=`GetBucketTaggingRequest`,j_=`GetBucketVersioning`,M_=`GetBucketVersioningOutput`,N_=`GetBucketVersioningRequest`,P_=`GetBucketWebsite`,F_=`GetBucketWebsiteOutput`,I_=`GetBucketWebsiteRequest`,L_=`GrantFullControl`,R_=`GlacierJobParameters`,z_=`GetObject`,B_=`GetObjectAcl`,V_=`GetObjectAclOutput`,H_=`GetObjectAnnotationOutput`,U_=`GetObjectAttributesOutput`,W_=`GetObjectAttributesParts`,G_=`GetObjectAclRequest`,K_=`GetObjectAnnotationRequest`,q_=`GetObjectAttributesResponse`,J_=`GetObjectAttributesRequest`,Y_=`GetObjectAnnotation`,X_=`GetObjectAttributes`,Z_=`GetObjectLockConfiguration`,Q_=`GetObjectLockConfigurationOutput`,$_=`GetObjectLockConfigurationRequest`,ev=`GetObjectLegalHold`,tv=`GetObjectLegalHoldOutput`,nv=`GetObjectLegalHoldRequest`,rv=`GetObjectOutput`,iv=`GetObjectRequest`,av=`GetObjectRetentionOutput`,ov=`GetObjectRetentionRequest`,sv=`GetObjectRetention`,cv=`GetObjectTagging`,lv=`GetObjectTaggingOutput`,uv=`GetObjectTorrentOutput`,dv=`GetObjectTaggingRequest`,fv=`GetObjectTorrentRequest`,pv=`GetObjectTorrent`,mv=`GetPublicAccessBlock`,hv=`GetPublicAccessBlockOutput`,gv=`GetPublicAccessBlockRequest`,_v=`GrantRead`,vv=`GrantReadACP`,yv=`GrantWrite`,bv=`GrantWriteACP`,xv=`Grant`,Sv=`Grantee`,Cv=`HeadBucket`,wv=`HeadBucketOutput`,Tv=`HeadBucketRequest`,Ev=`HttpErrorCodeReturnedEquals`,Dv=`HostName`,Ov=`HeadObject`,kv=`HeadObjectOutput`,Av=`HeadObjectRequest`,jv=`HttpRedirectCode`,Mv=`Id`,Nv=`InvalidAnnotationName`,Pv=`InventoryConfiguration`,Fv=`InventoryConfigurationList`,Iv=`ID`,Lv=`IndexDocument`,Rv=`InventoryDestination`,zv=`IsEnabled`,Bv=`InventoryEncryption`,Vv=`InventoryFilter`,Hv=`IsLatest`,Uv=`IfMatch`,Wv=`IfMatchInitiatedTime`,Gv=`IfMatchLastModifiedTime`,Kv=`IfMatchSize`,qv=`If-Modified-Since`,Jv=`IfModifiedSince`,Yv=`InitiateMultipartUploadResult`,Xv=`If-Match`,Zv=`IfNoneMatch`,Qv=`If-None-Match`,$v=`InventoryOptionalFields`,ey=`InvalidObjectState`,ty=`IncludedObjectVersions`,ny=`InvalidPrefix`,ry=`IgnorePublicAcls`,iy=`IdempotencyParameterMismatch`,ay=`IsPublic`,oy=`InvalidRequest`,sy=`IsRestoreInProgress`,cy=`InputSerialization`,ly=`InventoryS3BucketDestination`,uy=`InventorySchedule`,dy=`IsTruncated`,fy=`IntelligentTieringAndOperator`,py=`IntelligentTieringConfiguration`,my=`IntelligentTieringConfigurationList`,hy=`InventoryTableConfigurationResult`,gy=`InventoryTableConfigurationUpdates`,_y=`InventoryTableConfiguration`,vy=`IntelligentTieringFilter`,yy=`IfUnmodifiedSince`,by=`If-Unmodified-Since`,xy=`InvalidWriteOffset`,Sy=`Initiator`,Cy=`Initiated`,wy=`JSON`,Ty=`JSONInput`,Ey=`JSONOutput`,Dy=`JournalTableConfiguration`,Oy=`JournalTableConfigurationResult`,ky=`JournalTableConfigurationUpdates`,N=`Key`,Ay=`KeyCount`,jy=`KeyId`,My=`KmsKeyArn`,Ny=`KeyMarker`,Py=`KMSContext`,Fy=`KMSKeyArn`,Iy=`KMSKeyId`,Ly=`KMSMasterKeyID`,Ry=`KeyPrefixEquals`,zy=`Location`,By=`ListAllMyBucketsResult`,Vy=`ListAllMyDirectoryBucketsResult`,Hy=`ListBuckets`,Uy=`ListBucketAnalyticsConfigurations`,Wy=`ListBucketAnalyticsConfigurationsOutput`,Gy=`ListBucketAnalyticsConfigurationResult`,Ky=`ListBucketAnalyticsConfigurationsRequest`,qy=`ListBucketInventoryConfigurations`,Jy=`ListBucketInventoryConfigurationsOutput`,Yy=`ListBucketInventoryConfigurationsRequest`,Xy=`ListBucketIntelligentTieringConfigurations`,Zy=`ListBucketIntelligentTieringConfigurationsOutput`,Qy=`ListBucketIntelligentTieringConfigurationsRequest`,$y=`ListBucketMetricsConfigurations`,eb=`ListBucketMetricsConfigurationsOutput`,tb=`ListBucketMetricsConfigurationsRequest`,nb=`ListBucketsOutput`,rb=`ListBucketsRequest`,ib=`ListBucketResult`,ab=`LocationConstraint`,ob=`LifecycleConfiguration`,sb=`ListDirectoryBuckets`,cb=`ListDirectoryBucketsOutput`,lb=`ListDirectoryBucketsRequest`,ub=`LoggingEnabled`,db=`LifecycleExpiration`,fb=`LambdaFunctionArn`,pb=`LambdaFunctionConfiguration`,mb=`LambdaFunctionConfigurationList`,hb=`LambdaFunctionConfigurations`,gb=`LegalHold`,_b=`LocationInfo`,vb=`ListInventoryConfigurationsResult`,yb=`LastModified`,bb=`ListMetricsConfigurationsResult`,xb=`LastModifiedTime`,Sb=`ListMultipartUploads`,Cb=`ListMultipartUploadsOutput`,wb=`ListMultipartUploadsResult`,Tb=`ListMultipartUploadsRequest`,Eb=`Last-Modified`,Db=`ListObjects`,Ob=`ListObjectAnnotations`,kb=`ListObjectAnnotationsOutput`,Ab=`ListObjectAnnotationsRequest`,jb=`ListObjectsOutput`,Mb=`ListObjectsRequest`,Nb=`ListObjectsV2`,Pb=`ListObjectsV2Output`,Fb=`ListObjectVersionsOutput`,Ib=`ListObjectsV2Request`,Lb=`ListObjectVersionsRequest`,Rb=`ListObjectVersions`,zb=`ListParts`,Bb=`ListPartsOutput`,Vb=`ListPartsResult`,Hb=`ListPartsRequest`,Ub=`LifecycleRule`,Wb=`LifecycleRuleAndOperator`,Gb=`LifecycleRuleFilter`,Kb=`LifecycleRules`,qb=`ListVersionsResult`,Jb=`Metadata`,Yb=`MetricsAndOperator`,Xb=`MaxAnnotationResults`,Zb=`MaxAgeSeconds`,Qb=`MaxBuckets`,$b=`MetadataConfiguration`,ex=`MetricsConfigurationList`,tx=`MetadataConfigurationResult`,nx=`MetricsConfiguration`,rx=`MetadataDirective`,ix=`MaxDirectoryBuckets`,ax=`MfaDelete`,ox=`MetadataEntry`,sx=`MetricsFilter`,cx=`MFA`,lx=`MFADelete`,ux=`MaxKeys`,dx=`MissingMeta`,fx=`MpuObjectSize`,px=`MaxParts`,mx=`MetadataTableConfiguration`,hx=`MetadataTableConfigurationResult`,gx=`MetadataTableEncryptionConfiguration`,_x=`MultipartUpload`,vx=`MultipartUploadList`,yx=`MaxUploads`,bx=`Marker`,xx=`Metrics`,Sx=`Message`,Cx=`Minutes`,wx=`Mode`,Tx=`Name`,Ex=`NotificationConfiguration`,Dx=`NotificationConfigurationFilter`,Ox=`NextContinuationToken`,kx=`NoncurrentDays`,Ax=`NonEmptyKmsKeyArnString`,jx=`NotFound`,Mx=`NextKeyMarker`,Nx=`NextMarker`,Px=`NewerNoncurrentVersions`,Fx=`NextPartNumberMarker`,Ix=`NoSuchAnnotation`,Lx=`NoSuchBucket`,Rx=`NoSuchKey`,zx=`NoSuchUpload`,Bx=`NextUploadIdMarker`,Vx=`NoncurrentVersionExpiration`,Hx=`NextVersionIdMarker`,Ux=`NoncurrentVersionTransitions`,Wx=`NoncurrentVersionTransitionList`,Gx=`NoncurrentVersionTransition`,Kx=`Owner`,qx=`ObjectAttributes`,Jx=`ObjectAlreadyInActiveTierError`,Yx=`OwnershipControls`,Xx=`OwnershipControlsRule`,Zx=`OwnershipControlsRules`,Qx=`ObjectEncryption`,$x=`OptionalFields`,eS=`ObjectIdentifier`,tS=`ObjectIdentifierList`,nS=`ObjectIfMatch`,rS=`OutputLocation`,iS=`ObjectLockConfiguration`,aS=`ObjectLockEnabled`,oS=`ObjectLockEnabledForBucket`,sS=`ObjectLockEventHold`,cS=`ObjectLockEventHoldDurationDays`,lS=`ObjectLockEventHoldDurationYears`,uS=`ObjectLockLegalHold`,dS=`ObjectLockLegalHoldStatus`,fS=`ObjectLockMode`,pS=`ObjectLockRetention`,mS=`ObjectLockRetainUntilDate`,hS=`ObjectLockRule`,gS=`ObjectList`,_S=`ObjectNotInActiveTierError`,vS=`ObjectOwnership`,yS=`OptionalObjectAttributes`,bS=`ObjectParts`,xS=`ObjectPart`,SS=`ObjectSize`,CS=`ObjectSizeGreaterThan`,wS=`ObjectSizeLessThan`,TS=`OutputSchemaVersion`,ES=`OutputSerialization`,DS=`ObjectVersion`,OS=`ObjectVersionId`,kS=`ObjectVersionList`,AS=`Objects`,jS=`Object`,P=`Prefix`,MS=`PublicAccessBlockConfiguration`,NS=`PutBucketAbac`,PS=`PutBucketAccelerateConfiguration`,FS=`PutBucketAccelerateConfigurationRequest`,IS=`PutBucketAnalyticsConfigurationRequest`,LS=`PutBucketAnalyticsConfiguration`,RS=`PutBucketAbacRequest`,zS=`PutBucketAclRequest`,BS=`PutBucketAcl`,VS=`PutBucketCors`,HS=`PutBucketCorsRequest`,US=`PutBucketEncryption`,WS=`PutBucketEncryptionRequest`,GS=`PutBucketInventoryConfiguration`,KS=`PutBucketInventoryConfigurationRequest`,qS=`PutBucketIntelligentTieringConfiguration`,JS=`PutBucketIntelligentTieringConfigurationRequest`,YS=`PutBucketLogging`,XS=`PutBucketLifecycleConfiguration`,ZS=`PutBucketLifecycleConfigurationOutput`,QS=`PutBucketLifecycleConfigurationRequest`,$S=`PutBucketLoggingRequest`,eC=`PutBucketMetricsConfiguration`,tC=`PutBucketMetricsConfigurationRequest`,nC=`PutBucketNotificationConfiguration`,rC=`PutBucketNotificationConfigurationRequest`,iC=`PutBucketOwnershipControls`,aC=`PutBucketOwnershipControlsRequest`,oC=`PutBucketPolicy`,sC=`PutBucketPolicyRequest`,cC=`PutBucketReplication`,lC=`PutBucketRequestPayment`,uC=`PutBucketRequestPaymentRequest`,dC=`PutBucketReplicationRequest`,fC=`PutBucketTagging`,pC=`PutBucketTaggingRequest`,mC=`PutBucketVersioning`,hC=`PutBucketVersioningRequest`,gC=`PutBucketWebsite`,_C=`PutBucketWebsiteRequest`,vC=`PartsCount`,yC=`PartitionDateSource`,bC=`ProgressEvent`,xC=`ParquetInput`,SC=`PartsList`,CC=`PartNumber`,wC=`PartNumberMarker`,TC=`PutObject`,EC=`PutObjectAcl`,DC=`PutObjectAclOutput`,OC=`PutObjectAnnotationOutput`,kC=`PutObjectAclRequest`,AC=`PutObjectAnnotationRequest`,jC=`PutObjectAnnotation`,MC=`PutObjectLockConfiguration`,NC=`PutObjectLockConfigurationOutput`,PC=`PutObjectLockConfigurationRequest`,FC=`PutObjectLegalHold`,IC=`PutObjectLegalHoldOutput`,LC=`PutObjectLegalHoldRequest`,RC=`PutObjectOutput`,zC=`PutObjectRequest`,BC=`PutObjectRetentionOutput`,VC=`PutObjectRetentionRequest`,HC=`PutObjectRetention`,UC=`PutObjectTagging`,WC=`PutObjectTaggingOutput`,GC=`PutObjectTaggingRequest`,KC=`PartitionedPrefix`,qC=`PutPublicAccessBlock`,JC=`PutPublicAccessBlockRequest`,YC=`PolicyStatus`,XC=`Parts`,ZC=`Part`,QC=`Parquet`,$C=`Payer`,ew=`Payload`,tw=`Permission`,nw=`Policy`,rw=`Progress`,iw=`Priority`,aw=`Protocol`,ow=`Quiet`,sw=`QueueArn`,cw=`QuoteCharacter`,lw=`QueueConfigurationList`,uw=`QueueConfigurations`,dw=`QueueConfiguration`,fw=`QuoteEscapeCharacter`,pw=`QuoteFields`,mw=`Queue`,hw=`Role`,gw=`RedirectAllRequestsTo`,F=`RequestCharged`,_w=`ResponseCacheControl`,vw=`ResponseContentDisposition`,yw=`ResponseContentEncoding`,bw=`ResponseContentLanguage`,xw=`ResponseContentType`,Sw=`ReplicationConfiguration`,Cw=`RecordDelimiter`,ww=`ResponseExpires`,Tw=`RestoreExpiryDate`,Ew=`RecordExpiration`,Dw=`RecordsEvent`,Ow=`ReplicaKmsKeyID`,kw=`ReplaceKeyPrefixWith`,Aw=`ReplaceKeyWith`,jw=`ReplicaModifications`,Mw=`RenameObject`,Nw=`RenameObjectOutput`,Pw=`RestoreObjectOutput`,Fw=`RestoreOutputPath`,Iw=`RenameObjectRequest`,Lw=`RestoreObjectRequest`,Rw=`RestoreObject`,I=`RequestPayer`,zw=`RestrictPublicBuckets`,Bw=`RequestPaymentConfiguration`,Vw=`RequestProgress`,Hw=`RoutingRules`,Uw=`ReplicationRuleAndOperator`,Ww=`ReplicationRuleFilter`,Gw=`ReplicationRule`,Kw=`ReplicationRules`,qw=`RequestRoute`,Jw=`RestoreRequest`,Yw=`RoutingRule`,Xw=`ReplicationStatus`,Zw=`RestoreStatus`,Qw=`RenameSource`,$w=`ReplicationTime`,eT=`ReplicationTimeValue`,tT=`RequestToken`,nT=`RetainUntilDate`,rT=`Range`,iT=`Restore`,aT=`Records`,oT=`Redirect`,sT=`Retention`,cT=`Rules`,lT=`Rule`,uT=`Status`,dT=`StartAfter`,fT=`SecretAccessKey`,pT=`SseAlgorithm`,mT=`StreamingBlob`,hT=`S3BucketDestination`,gT=`StorageClass`,_T=`StorageClassAnalysis`,vT=`StorageClassAnalysisDataExport`,yT=`SessionCredentialValue`,bT=`SessionCredentials`,xT=`StatusCode`,ST=`SkipDestinationValidation`,CT=`StatsEvent`,wT=`SourceIfMatch`,TT=`SourceIfModifiedSince`,ET=`SourceIfNoneMatch`,DT=`SourceIfUnmodifiedSince`,OT=`SSE-KMS`,kT=`SseKmsEncryptedObjects`,AT=`S3KeyFilter`,jT=`S3Key`,MT=`S3Location`,NT=`SessionMode`,PT=`SelectObjectContent`,FT=`SelectObjectContentEventStream`,IT=`SelectObjectContentOutput`,LT=`SelectObjectContentRequest`,RT=`SelectParameters`,zT=`SimplePrefix`,BT=`ScanRange`,VT=`SSE-S3`,HT=`SourceSelectionCriteria`,UT=`ServerSideEncryption`,WT=`SSEAlgorithm`,GT=`ServerSideEncryptionByDefault`,KT=`ServerSideEncryptionConfiguration`,qT=`SSECustomerAlgorithm`,JT=`SSECustomerKey`,YT=`SSECustomerKeyMD5`,XT=`SSEKMS`,ZT=`SSEKMSEncryption`,QT=`SSEKMSEncryptionContext`,$T=`SSEKMSKeyId`,eE=`ServerSideEncryptionRule`,tE=`ServerSideEncryptionRules`,nE=`SSES3`,rE=`SessionToken`,iE=`S3TablesDestination`,aE=`S3TablesDestinationResult`,oE=`S3`,sE=`Schedule`,cE=`Size`,lE=`Start`,uE=`Stats`,dE=`Suffix`,fE=`Tags`,pE=`TableArn`,mE=`TopicArn`,hE=`TargetBucket`,gE=`TableBucketArn`,_E=`TableBucketType`,vE=`TagCount`,yE=`TopicConfigurationList`,bE=`TopicConfigurations`,xE=`TopicConfiguration`,SE=`TaggingDirective`,CE=`TransitionDefaultMinimumObjectSize`,wE=`TargetGrants`,TE=`TargetGrant`,EE=`TieringList`,DE=`TransitionList`,OE=`TooManyParts`,kE=`TableName`,AE=`TableNamespace`,jE=`TargetObjectKeyFormat`,ME=`TargetPrefix`,NE=`TotalPartsCount`,PE=`TableStatus`,FE=`TagSet`,IE=`Tag`,LE=`Tagging`,RE=`Tier`,zE=`Tierings`,BE=`Tiering`,VE=`Time`,HE=`Token`,UE=`Topic`,WE=`Transitions`,GE=`Transition`,KE=`Type`,qE=`Uploads`,JE=`UpdateBucketMetadataAnnotationTableConfiguration`,YE=`UpdateBucketMetadataAnnotationTableConfigurationRequest`,XE=`UpdateBucketMetadataInventoryTableConfiguration`,ZE=`UpdateBucketMetadataInventoryTableConfigurationRequest`,QE=`UpdateBucketMetadataJournalTableConfiguration`,$E=`UpdateBucketMetadataJournalTableConfigurationRequest`,eD=`UploadId`,tD=`UploadIdMarker`,nD=`UserMetadata`,rD=`UnsupportedMediaType`,iD=`UpdateObjectEncryption`,aD=`UpdateObjectEncryptionRequest`,oD=`UpdateObjectEncryptionResponse`,sD=`UploadPart`,cD=`UploadPartCopy`,lD=`UploadPartCopyOutput`,uD=`UploadPartCopyRequest`,dD=`UploadPartOutput`,fD=`UploadPartRequest`,pD=`URI`,mD=`Upload`,hD=`Value`,gD=`VersioningConfiguration`,L=`VersionId`,_D=`VersionIdMarker`,vD=`Versions`,yD=`Version`,bD=`WebsiteConfiguration`,xD=`WriteGetObjectResponse`,SD=`WriteGetObjectResponseRequest`,CD=`WriteOffsetBytes`,wD=`WebsiteRedirectLocation`,TD=`Years`,ED=`annotationName`,DD=`annotation-prefix`,OD=`accept-ranges`,kD=`bucket-region`,R=`client`,AD=`continuation-token`,jD=`delimiter`,z=`error`,MD=`eventPayload`,ND=`endpoint`,PD=`encoding-type`,FD=`fetch-owner`,B=`http`,V=`httpChecksum`,ID=`httpError`,H=`httpHeader`,LD=`hostLabel`,U=`httpPayload`,RD=`httpPrefixHeaders`,W=`httpQuery`,zD=`http://www.w3.org/2001/XMLSchema-instance`,BD=`id`,VD=`idempotencyToken`,HD=`key-marker`,UD=`marker`,WD=`max-annotation-results`,GD=`max-buckets`,KD=`max-directory-buckets`,qD=`max-keys`,JD=`max-parts`,YD=`max-uploads`,XD=`prefix`,ZD=`partNumber`,QD=`part-number-marker`,$D=`response-cache-control`,eO=`response-content-disposition`,tO=`response-content-encoding`,nO=`response-content-language`,rO=`response-content-type`,iO=`response-expires`,aO=`smithy.ts.sdk.synthetic.com.amazonaws.s3`,oO=`start-after`,sO=`streaming`,cO=`uploadId`,lO=`upload-id-marker`,uO=`versionId`,dO=`version-id-marker`,fO=`xsi`,pO=`xmlAttribute`,G=`xmlFlattened`,K=`xmlName`,mO=`xmlNamespace`,hO=`x-amz-acl`,gO=`x-amz-abort-date`,_O=`x-amz-access-point-alias`,vO=`x-amz-abort-rule-id`,yO=`x-amz-archive-status`,bO=`x-amz-bucket-arn`,xO=`x-amz-bypass-governance-retention`,SO=`x-amz-bucket-location-name`,CO=`x-amz-bucket-location-type`,wO=`x-amz-bucket-namespace`,TO=`x-amz-bucket-object-lock-enabled`,EO=`x-amz-bucket-object-lock-token`,DO=`x-amz-bucket-region`,OO=`x-amz-checksum-algorithm`,kO=`x-amz-checksum-crc32`,AO=`x-amz-checksum-crc32c`,jO=`x-amz-checksum-crc64nvme`,MO=`x-amz-checksum-md5`,NO=`x-amz-checksum-mode`,PO=`x-amz-confirm-remove-self-bucket-access`,FO=`x-amz-checksum-sha1`,IO=`x-amz-checksum-sha256`,LO=`x-amz-checksum-sha512`,RO=`x-amz-copy-source`,zO=`x-amz-copy-source-if-match`,BO=`x-amz-copy-source-if-modified-since`,VO=`x-amz-copy-source-if-none-match`,HO=`x-amz-copy-source-if-unmodified-since`,UO=`x-amz-create-session-mode`,WO=`x-amz-copy-source-range`,GO=`x-amz-copy-source-server-side-encryption-customer-algorithm`,KO=`x-amz-copy-source-server-side-encryption-customer-key`,qO=`x-amz-copy-source-server-side-encryption-customer-key-MD5`,JO=`x-amz-copy-source-version-id`,YO=`x-amz-checksum-type`,XO=`x-amz-client-token`,ZO=`x-amz-checksum-xxhash64`,QO=`x-amz-checksum-xxhash3`,$O=`x-amz-checksum-xxhash128`,ek=`x-amz-delete-marker`,tk=`x-amz-expiration`,q=`x-amz-expected-bucket-owner`,nk=`x-amz-fwd-error-code`,rk=`x-amz-fwd-error-message`,ik=`x-amz-fwd-header-Cache-Control`,ak=`x-amz-fwd-header-Content-Disposition`,ok=`x-amz-fwd-header-Content-Encoding`,sk=`x-amz-fwd-header-Content-Language`,ck=`x-amz-fwd-header-Content-Range`,lk=`x-amz-fwd-header-Content-Type`,uk=`x-amz-fwd-header-ETag`,dk=`x-amz-fwd-header-Expires`,fk=`x-amz-fwd-header-Last-Modified`,pk=`x-amz-fwd-header-accept-ranges`,mk=`x-amz-fwd-header-x-amz-checksum-crc32`,hk=`x-amz-fwd-header-x-amz-checksum-crc32c`,gk=`x-amz-fwd-header-x-amz-checksum-crc64nvme`,_k=`x-amz-fwd-header-x-amz-checksum-md5`,vk=`x-amz-fwd-header-x-amz-checksum-sha1`,yk=`x-amz-fwd-header-x-amz-checksum-sha256`,bk=`x-amz-fwd-header-x-amz-checksum-sha512`,xk=`x-amz-fwd-header-x-amz-checksum-xxhash64`,Sk=`x-amz-fwd-header-x-amz-checksum-xxhash3`,Ck=`x-amz-fwd-header-x-amz-checksum-xxhash128`,wk=`x-amz-fwd-header-x-amz-delete-marker`,Tk=`x-amz-fwd-header-x-amz-expiration`,Ek=`x-amz-fwd-header-x-amz-missing-meta`,Dk=`x-amz-fwd-header-x-amz-mp-parts-count`,Ok=`x-amz-fwd-header-x-amz-object-lock-legal-hold`,kk=`x-amz-fwd-header-x-amz-object-lock-mode`,Ak=`x-amz-fwd-header-x-amz-object-lock-retain-until-date`,jk=`x-amz-fwd-header-x-amz-restore`,Mk=`x-amz-fwd-header-x-amz-request-charged`,Nk=`x-amz-fwd-header-x-amz-replication-status`,Pk=`x-amz-fwd-header-x-amz-storage-class`,Fk=`x-amz-fwd-header-x-amz-server-side-encryption`,Ik=`x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id`,Lk=`x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled`,Rk=`x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm`,zk=`x-amz-fwd-header-x-amz-server-side-encryption-customer-key-MD5`,Bk=`x-amz-fwd-header-x-amz-tagging-count`,Vk=`x-amz-fwd-header-x-amz-version-id`,Hk=`x-amz-fwd-status`,Uk=`x-amz-grant-full-control`,Wk=`x-amz-grant-read`,Gk=`x-amz-grant-read-acp`,Kk=`x-amz-grant-write`,qk=`x-amz-grant-write-acp`,Jk=`x-amz-if-match-initiated-time`,Yk=`x-amz-if-match-last-modified-time`,Xk=`x-amz-if-match-size`,Zk=`x-amz-meta-`,Qk=`x-amz-mfa`,$k=`x-amz-metadata-directive`,eA=`x-amz-missing-meta`,tA=`x-amz-mp-object-size`,nA=`x-amz-max-parts`,rA=`x-amz-mp-parts-count`,iA=`x-amz-object-attributes`,aA=`x-amz-object-annotation-directive`,oA=`x-amz-object-if-match`,sA=`x-amz-object-lock-event-hold`,cA=`x-amz-object-lock-event-hold-duration-days`,lA=`x-amz-object-lock-event-hold-duration-years`,uA=`x-amz-object-lock-legal-hold`,dA=`x-amz-object-lock-mode`,fA=`x-amz-object-lock-retain-until-date`,pA=`x-amz-object-ownership`,mA=`x-amz-optional-object-attributes`,hA=`x-amz-object-size`,gA=`x-amz-object-version-id`,_A=`x-amz-part-number-marker`,vA=`x-amz-restore`,J=`x-amz-request-charged`,yA=`x-amz-restore-output-path`,Y=`x-amz-request-payer`,bA=`x-amz-request-route`,xA=`x-amz-replication-status`,SA=`x-amz-rename-source`,CA=`x-amz-rename-source-if-match`,wA=`x-amz-rename-source-if-modified-since`,TA=`x-amz-rename-source-if-none-match`,EA=`x-amz-rename-source-if-unmodified-since`,DA=`x-amz-request-token`,OA=`x-amz-storage-class`,X=`x-amz-sdk-checksum-algorithm`,kA=`x-amz-skip-destination-validation`,AA=`x-amz-source-expected-bucket-owner`,jA=`x-amz-server-side-encryption`,MA=`x-amz-server-side-encryption-aws-kms-key-id`,NA=`x-amz-server-side-encryption-bucket-key-enabled`,PA=`x-amz-server-side-encryption-context`,FA=`x-amz-server-side-encryption-customer-algorithm`,IA=`x-amz-server-side-encryption-customer-key`,LA=`x-amz-server-side-encryption-customer-key-MD5`,RA=`x-amz-tagging`,zA=`x-amz-tagging-count`,BA=`x-amz-tagging-directive`,VA=`x-amz-transition-default-minimum-object-size`,HA=`x-amz-version-id`,UA=`x-amz-write-offset-bytes`,WA=`x-amz-website-redirect-location`,GA=`xsi:type`,Z=`com.amazonaws.s3`,KA=new tt(aO),qA=[-3,aO,`S3ServiceException`,0,[],[]];KA.registerError(qA,E);var Q=new tt(Z),JA=[-3,Z,Ed,{[z]:R,[ID]:403},[],[]];Q.registerError(JA,Xu);var YA=[-3,Z,Rd,{[z]:R,[ID]:400},[],[]];Q.registerError(YA,ud);var XA=[-3,Z,Gd,{[z]:R,[ID]:400},[],[]];Q.registerError(XA,dd);var ZA=[-3,Z,pf,{[z]:R,[ID]:409},[],[]];Q.registerError(ZA,Qu);var QA=[-3,Z,hf,{[z]:R,[ID]:409},[],[]];Q.registerError(QA,$u);var $A=[-3,Z,Xh,{[z]:R,[ID]:400},[],[]];Q.registerError($A,od);var ej=[-3,Z,iy,{[z]:R,[ID]:400},[],[]];Q.registerError(ej,md);var tj=[-3,Z,Nv,{[z]:R,[ID]:400},[],[]];Q.registerError(tj,fd);var nj=[-3,Z,ey,{[z]:R,[ID]:403},[gT,of],[0,0]];Q.registerError(nj,nd);var rj=[-3,Z,ny,{[z]:R,[ID]:400},[],[]];Q.registerError(rj,ad);var ij=[-3,Z,oy,{[z]:R,[ID]:400},[],[]];Q.registerError(ij,sd);var aj=[-3,Z,xy,{[z]:R,[ID]:400},[],[]];Q.registerError(aj,cd);var oj=[-3,Z,Ix,{[z]:R,[ID]:404},[],[]];Q.registerError(oj,rd);var sj=[-3,Z,Lx,{[z]:R,[ID]:404},[],[]];Q.registerError(sj,ed);var cj=[-3,Z,Rx,{[z]:R,[ID]:404},[],[]];Q.registerError(cj,td);var lj=[-3,Z,zx,{[z]:R,[ID]:404},[],[]];Q.registerError(lj,Yu);var uj=[-3,Z,jx,{[z]:R},[],[]];Q.registerError(uj,id);var dj=[-3,Z,Jx,{[z]:R,[ID]:403},[],[]];Q.registerError(dj,hd);var fj=[-3,Z,_S,{[z]:R,[ID]:403},[],[]];Q.registerError(fj,Zu);var pj=[-3,Z,OE,{[z]:R,[ID]:400},[],[]];Q.registerError(pj,ld);var mj=[-3,Z,rD,{[z]:R,[ID]:415},[],[]];Q.registerError(mj,pd);var hj=[KA,Q],gj=[0,Z,Kp,8,0],_j=[0,Z,Ax,8,0],vj=[0,Z,yT,8,0],yj=[0,Z,JT,8,0],bj=[0,Z,QT,8,0],xj=[0,Z,$T,8,0],Sj=[0,Z,mT,{[sO]:1},42],Cj=[3,Z,tf,0,[uT],[0]],wj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T`,`/`,200]},()=>sM,()=>oM],MR=[9,Z,Rf,{[V]:`-`,[B]:[`POST`,`/?metadataConfiguration`,200]},()=>iM,()=>$],NR=[9,Z,Bf,{[V]:`-`,[B]:[`POST`,`/?metadataTable`,200]},()=>aM,()=>$],PR=[9,Z,hp,{[B]:[`POST`,`/{Key+}?uploads`,200]},()=>lM,()=>cM],FR=[9,Z,$p,{[B]:[`GET`,`/?session`,200]},()=>dM,()=>uM],IR=[9,Z,_m,{[B]:[`DELETE`,`/`,204]},()=>OM,()=>$],LR=[9,Z,vm,{[B]:[`DELETE`,`/?analytics`,204]},()=>gM,()=>$],RR=[9,Z,bm,{[B]:[`DELETE`,`/?cors`,204]},()=>_M,()=>$],zR=[9,Z,Sm,{[B]:[`DELETE`,`/?encryption`,204]},()=>vM,()=>$],BR=[9,Z,Em,{[B]:[`DELETE`,`/?intelligent-tiering`,204]},()=>yM,()=>$],VR=[9,Z,wm,{[B]:[`DELETE`,`/?inventory`,204]},()=>bM,()=>$],HR=[9,Z,Om,{[B]:[`DELETE`,`/?lifecycle`,204]},()=>xM,()=>$],UR=[9,Z,Am,{[B]:[`DELETE`,`/?metadataConfiguration`,204]},()=>SM,()=>$],WR=[9,Z,Pm,{[B]:[`DELETE`,`/?metadataTable`,204]},()=>CM,()=>$],GR=[9,Z,Nm,{[B]:[`DELETE`,`/?metrics`,204]},()=>wM,()=>$],KR=[9,Z,Im,{[B]:[`DELETE`,`/?ownershipControls`,204]},()=>TM,()=>$],qR=[9,Z,Rm,{[B]:[`DELETE`,`/?policy`,204]},()=>EM,()=>$],JR=[9,Z,Hm,{[B]:[`DELETE`,`/?replication`,204]},()=>DM,()=>$],YR=[9,Z,Um,{[B]:[`DELETE`,`/?tagging`,204]},()=>kM,()=>$],XR=[9,Z,Gm,{[B]:[`DELETE`,`/?website`,204]},()=>AM,()=>$],ZR=[9,Z,_h,{[B]:[`DELETE`,`/{Key+}?x-id=DeleteObject`,204]},()=>LM,()=>IM],QR=[9,Z,oh,{[B]:[`DELETE`,`/{Key+}?annotation`,204]},()=>FM,()=>PM],$R=[9,Z,vh,{[V]:`-`,[B]:[`POST`,`/?delete`,200]},()=>zM,()=>RM],ez=[9,Z,ph,{[B]:[`DELETE`,`/{Key+}?tagging`,204]},()=>VM,()=>BM],tz=[9,Z,yh,{[B]:[`DELETE`,`/?publicAccessBlock`,204]},()=>HM,()=>$],nz=[9,Z,xg,{[B]:[`GET`,`/?abac`,200]},()=>nN,()=>tN],rz=[9,Z,Sg,{[B]:[`GET`,`/?accelerate`,200]},()=>iN,()=>rN],iz=[9,Z,Mg,{[B]:[`GET`,`/?acl`,200]},()=>oN,()=>aN],az=[9,Z,Dg,{[B]:[`GET`,`/?analytics&x-id=GetBucketAnalyticsConfiguration`,200]},()=>cN,()=>sN],oz=[9,Z,Ng,{[B]:[`GET`,`/?cors`,200]},()=>uN,()=>lN],sz=[9,Z,Ig,{[B]:[`GET`,`/?encryption`,200]},()=>fN,()=>dN],cz=[9,Z,Hg,{[B]:[`GET`,`/?intelligent-tiering&x-id=GetBucketIntelligentTieringConfiguration`,200]},()=>mN,()=>pN],lz=[9,Z,zg,{[B]:[`GET`,`/?inventory&x-id=GetBucketInventoryConfiguration`,200]},()=>gN,()=>hN],uz=[9,Z,Kg,{[B]:[`GET`,`/?lifecycle`,200]},()=>vN,()=>_N],dz=[9,Z,Gg,{[B]:[`GET`,`/?location`,200]},()=>bN,()=>yN],fz=[9,Z,$g,{[B]:[`GET`,`/?logging`,200]},()=>SN,()=>xN],pz=[9,Z,e_,{[B]:[`GET`,`/?metadataConfiguration`,200]},()=>wN,()=>CN],mz=[9,Z,s_,{[B]:[`GET`,`/?metadataTable`,200]},()=>DN,()=>EN],hz=[9,Z,o_,{[B]:[`GET`,`/?metrics&x-id=GetBucketMetricsConfiguration`,200]},()=>AN,()=>kN],gz=[9,Z,d_,{[B]:[`GET`,`/?notification`,200]},()=>jN,()=>jF],_z=[9,Z,p_,{[B]:[`GET`,`/?ownershipControls`,200]},()=>NN,()=>MN],vz=[9,Z,g_,{[B]:[`GET`,`/?policy`,200]},()=>FN,()=>PN],yz=[9,Z,y_,{[B]:[`GET`,`/?policyStatus`,200]},()=>LN,()=>IN],bz=[9,Z,S_,{[B]:[`GET`,`/?replication`,200]},()=>zN,()=>RN],xz=[9,Z,w_,{[B]:[`GET`,`/?requestPayment`,200]},()=>VN,()=>BN],Sz=[9,Z,O_,{[B]:[`GET`,`/?tagging`,200]},()=>UN,()=>HN],Cz=[9,Z,j_,{[B]:[`GET`,`/?versioning`,200]},()=>GN,()=>WN],wz=[9,Z,P_,{[B]:[`GET`,`/?website`,200]},()=>qN,()=>KN],Tz=[9,Z,z_,{[V]:`-`,[B]:[`GET`,`/{Key+}?x-id=GetObject`,200]},()=>oP,()=>aP],Ez=[9,Z,B_,{[B]:[`GET`,`/{Key+}?acl`,200]},()=>YN,()=>JN],Dz=[9,Z,Y_,{[V]:`-`,[B]:[`GET`,`/{Key+}?annotation&x-id=GetObjectAnnotation`,200]},()=>ZN,()=>XN],Oz=[9,Z,X_,{[B]:[`GET`,`/{Key+}?attributes`,200]},()=>eP,()=>QN],kz=[9,Z,ev,{[B]:[`GET`,`/{Key+}?legal-hold`,200]},()=>nP,()=>tP],Az=[9,Z,Z_,{[B]:[`GET`,`/?object-lock`,200]},()=>iP,()=>rP],jz=[9,Z,sv,{[B]:[`GET`,`/{Key+}?retention`,200]},()=>cP,()=>sP],Mz=[9,Z,cv,{[B]:[`GET`,`/{Key+}?tagging`,200]},()=>uP,()=>lP],Nz=[9,Z,pv,{[B]:[`GET`,`/{Key+}?torrent`,200]},()=>fP,()=>dP],Pz=[9,Z,mv,{[B]:[`GET`,`/?publicAccessBlock`,200]},()=>mP,()=>pP],Fz=[9,Z,Cv,{[B]:[`HEAD`,`/`,200]},()=>yP,()=>vP],Iz=[9,Z,Ov,{[B]:[`HEAD`,`/{Key+}`,200]},()=>xP,()=>bP],Lz=[9,Z,Uy,{[B]:[`GET`,`/?analytics&x-id=ListBucketAnalyticsConfigurations`,200]},()=>JP,()=>qP],Rz=[9,Z,Xy,{[B]:[`GET`,`/?intelligent-tiering&x-id=ListBucketIntelligentTieringConfigurations`,200]},()=>XP,()=>YP],zz=[9,Z,qy,{[B]:[`GET`,`/?inventory&x-id=ListBucketInventoryConfigurations`,200]},()=>QP,()=>ZP],Bz=[9,Z,$y,{[B]:[`GET`,`/?metrics&x-id=ListBucketMetricsConfigurations`,200]},()=>eF,()=>$P],Vz=[9,Z,Hy,{[B]:[`GET`,`/?x-id=ListBuckets`,200]},()=>nF,()=>tF],Hz=[9,Z,sb,{[B]:[`GET`,`/?x-id=ListDirectoryBuckets`,200]},()=>iF,()=>rF],Uz=[9,Z,Sb,{[B]:[`GET`,`/?uploads`,200]},()=>oF,()=>aF],Wz=[9,Z,Ob,{[B]:[`GET`,`/{Key+}?annotation&x-id=ListObjectAnnotations`,200]},()=>cF,()=>sF],Gz=[9,Z,Db,{[B]:[`GET`,`/`,200]},()=>uF,()=>lF],Kz=[9,Z,Nb,{[B]:[`GET`,`/?list-type=2`,200]},()=>fF,()=>dF],qz=[9,Z,Rb,{[B]:[`GET`,`/?versions`,200]},()=>mF,()=>pF],Jz=[9,Z,zb,{[B]:[`GET`,`/{Key+}?x-id=ListParts`,200]},()=>gF,()=>hF],Yz=[9,Z,NS,{[V]:`-`,[B]:[`PUT`,`/?abac`,200]},()=>$F,()=>$],Xz=[9,Z,PS,{[V]:`-`,[B]:[`PUT`,`/?accelerate`,200]},()=>eI,()=>$],Zz=[9,Z,BS,{[V]:`-`,[B]:[`PUT`,`/?acl`,200]},()=>tI,()=>$],Qz=[9,Z,LS,{[B]:[`PUT`,`/?analytics`,200]},()=>nI,()=>$],$z=[9,Z,VS,{[V]:`-`,[B]:[`PUT`,`/?cors`,200]},()=>rI,()=>$],eB=[9,Z,US,{[V]:`-`,[B]:[`PUT`,`/?encryption`,200]},()=>iI,()=>$],tB=[9,Z,qS,{[B]:[`PUT`,`/?intelligent-tiering`,200]},()=>aI,()=>$],nB=[9,Z,GS,{[B]:[`PUT`,`/?inventory`,200]},()=>oI,()=>$],rB=[9,Z,XS,{[V]:`-`,[B]:[`PUT`,`/?lifecycle`,200]},()=>cI,()=>sI],iB=[9,Z,YS,{[V]:`-`,[B]:[`PUT`,`/?logging`,200]},()=>lI,()=>$],aB=[9,Z,eC,{[B]:[`PUT`,`/?metrics`,200]},()=>uI,()=>$],oB=[9,Z,nC,{[B]:[`PUT`,`/?notification`,200]},()=>dI,()=>$],sB=[9,Z,iC,{[V]:`-`,[B]:[`PUT`,`/?ownershipControls`,200]},()=>fI,()=>$],cB=[9,Z,oC,{[V]:`-`,[B]:[`PUT`,`/?policy`,200]},()=>pI,()=>$],lB=[9,Z,cC,{[V]:`-`,[B]:[`PUT`,`/?replication`,200]},()=>mI,()=>$],uB=[9,Z,lC,{[V]:`-`,[B]:[`PUT`,`/?requestPayment`,200]},()=>hI,()=>$],dB=[9,Z,fC,{[V]:`-`,[B]:[`PUT`,`/?tagging`,200]},()=>gI,()=>$],fB=[9,Z,mC,{[V]:`-`,[B]:[`PUT`,`/?versioning`,200]},()=>_I,()=>$],pB=[9,Z,gC,{[V]:`-`,[B]:[`PUT`,`/?website`,200]},()=>vI,()=>$],mB=[9,Z,TC,{[V]:`-`,[B]:[`PUT`,`/{Key+}?x-id=PutObject`,200]},()=>OI,()=>DI],hB=[9,Z,EC,{[V]:`-`,[B]:[`PUT`,`/{Key+}?acl`,200]},()=>bI,()=>yI],gB=[9,Z,jC,{[V]:`-`,[B]:[`PUT`,`/{Key+}?annotation`,200]},()=>SI,()=>xI],_B=[9,Z,FC,{[V]:`-`,[B]:[`PUT`,`/{Key+}?legal-hold`,200]},()=>wI,()=>CI],vB=[9,Z,MC,{[V]:`-`,[B]:[`PUT`,`/?object-lock`,200]},()=>EI,()=>TI],yB=[9,Z,HC,{[V]:`-`,[B]:[`PUT`,`/{Key+}?retention`,200]},()=>AI,()=>kI],bB=[9,Z,UC,{[V]:`-`,[B]:[`PUT`,`/{Key+}?tagging`,200]},()=>MI,()=>jI],xB=[9,Z,qC,{[V]:`-`,[B]:[`PUT`,`/?publicAccessBlock`,200]},()=>NI,()=>$],SB=[9,Z,Mw,{[B]:[`PUT`,`/{Key+}?renameObject`,200]},()=>BI,()=>zI],CB=[9,Z,Rw,{[V]:`-`,[B]:[`POST`,`/{Key+}?restore`,200]},()=>ZI,()=>XI],wB=[9,Z,PT,{[B]:[`POST`,`/{Key+}?select&select-type=2`,200]},()=>sL,()=>oL],TB=[9,Z,JE,{[V]:`-`,[B]:[`PUT`,`/?metadataAnnotationTable`,200]},()=>AL,()=>$],EB=[9,Z,XE,{[V]:`-`,[B]:[`PUT`,`/?metadataInventoryTable`,200]},()=>jL,()=>$],DB=[9,Z,QE,{[V]:`-`,[B]:[`PUT`,`/?metadataJournalTable`,200]},()=>ML,()=>$],OB=[9,Z,iD,{[V]:`-`,[B]:[`PUT`,`/{Key+}?encryption`,200]},()=>NL,()=>PL],kB=[9,Z,sD,{[V]:`-`,[B]:[`PUT`,`/{Key+}?x-id=UploadPart`,200]},()=>RL,()=>LL],AB=[9,Z,cD,{[B]:[`PUT`,`/{Key+}?x-id=UploadPartCopy`,200]},()=>IL,()=>FL],jB=[9,Z,xD,{[ND]:[`{RequestRoute}.`],[B]:[`POST`,`/WriteGetObjectResponse`,200]},()=>VL,()=>$],MB=class extends S(ju,w,`CreateSession`,FR){},NB={name:`@aws-sdk/client-s3`,version:`3.1147.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.1`,"@aws-sdk/core":`^3.978.1`,"@aws-sdk/credential-provider-node":`^3.972.84`,"@aws-sdk/middleware-sdk-s3":`^3.972.77`,"@aws-sdk/signature-v4-multi-region":`^3.996.47`,"@aws-sdk/types":`^3.974.6`,"@smithy/core":`^3.35.0`,"@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.1147.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`}};function PB(e,t){return new Request(e,t)}function FB(e=0){return new Promise((t,n)=>{e&&setTimeout(()=>{let t=Error(`Request did not complete within ${e} ms`);t.name=`TimeoutError`,n(t)},e)})}var IB={supported:void 0},LB=class e{config;configProvider;static create(t){return typeof t?.handle==`function`?t:new e(t)}constructor(e){typeof e==`function`?this.configProvider=e().then(e=>e||{}):(this.config=e??{},this.configProvider=Promise.resolve(this.config)),IB.supported===void 0&&(IB.supported=typeof Request<`u`&&`keepalive`in PB(`https://[::1]`))}destroy(){}async handle(e,{abortSignal:t,requestTimeout:n}={}){this.config||=await this.configProvider;let r=n??this.config.requestTimeout,i=this.config.keepAlive===!0,a=this.config.credentials,o=this.config.customFetch??fetch;if(t?.aborted){let e=RB(t);return Promise.reject(e)}let s=e.path,c=d(e.query||{});c&&(s+=`?${c}`),e.fragment&&(s+=`#${e.fragment}`);let l=``;(e.username!=null||e.password!=null)&&(l=`${e.username??``}:${e.password??``}@`);let{port:u,method:f}=e,ee=`${e.protocol}//${l}${e.hostname}${u?`:${u}`:``}${s}`,p=f===`GET`||f===`HEAD`?void 0:e.body,m={body:p,headers:new Headers(e.headers),method:f,credentials:a};this.config?.cache&&(m.cache=this.config.cache),p&&(m.duplex=`half`),typeof AbortController<`u`&&(m.signal=t),IB.supported&&(m.keepalive=i),typeof this.config.requestInit==`function`&&Object.assign(m,this.config.requestInit(e));let te=()=>{},ne=[o(PB(ee,m)).then(e=>{let t=e.headers,n={};for(let e of t.entries())n[e[0]]=e[1];return e.body==null?e.blob().then(t=>({response:new ye({headers:n,reason:e.statusText,statusCode:e.status,body:t})})):{response:new ye({headers:n,reason:e.statusText,statusCode:e.status,body:e.body})}}),FB(r)];return t&&ne.push(new Promise((e,n)=>{let r=()=>{n(RB(t))};if(typeof t.addEventListener==`function`){let e=t;e.addEventListener(`abort`,r,{once:!0}),te=()=>e.removeEventListener(`abort`,r)}else t.onabort=r})),Promise.race(ne).finally(te)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(n=>(n[e]=t,n))}httpHandlerConfigs(){return this.config??{}}};function RB(e){let t=e&&typeof e==`object`&&`reason`in e?e.reason:void 0;if(t){if(t instanceof Error){let e=Error(`Request aborted`);return e.name=`AbortError`,e.cause=t,e}let e=Error(String(t));return e.name=`AbortError`,e}let n=Error(`Request aborted`);return n.name=`AbortError`,n}var zB=64,BB=20,VB=new Int32Array([1732584193,4023233417,2562383102,271733878,3285377520]),HB=new Int32Array([1518500249,1859775393,2400959708,3395469782]),UB=class e{digestLength=BB;state=Int32Array.from(VB);w;buffer=new Uint8Array(zB);bufferLength=0;bytesHashed=0;finished=!1;inner;outer;constructor(t){if(t){let n=e.normalizeKey(t);this.inner=new e,this.outer=new e;let r=new Uint8Array(128);for(let e=0;e<zB;++e)r[e]=54^n[e],r[e+zB]=92^n[e];this.inner.update(r.subarray(0,zB)),this.outer.update(r.subarray(zB))}}update(e){if(this.finished)throw Error(`Attempted to update an already finished HMAC.`);if(this.inner){this.inner.update(e);return}let t=0,{length:n}=e;if(this.bytesHashed+=n,this.bufferLength>0){for(;n>0&&this.bufferLength<zB;)this.buffer[this.bufferLength++]=e[t++],--n;this.bufferLength===zB&&(this.hashBuffer(this.buffer,0),this.bufferLength=0)}for(;n>=zB;)this.hashBuffer(e,t),t+=zB,n-=zB;for(;n>0;)this.buffer[this.bufferLength++]=e[t++],--n}async digest(){if(this.inner&&this.outer){if(this.finished)throw 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(VB),this.buffer=new Uint8Array(zB),this.bufferLength=0,this.bytesHashed=0}digestSync(){let e=this.state.slice(),t=this.buffer.slice(),n=this.bufferLength,r=this.bytesHashed/536870912|0,i=this.bytesHashed<<3;if(t[n++]=128,n>56){for(let e=n;e<zB;++e)t[e]=0;this.hashBufferWith(e,t,0),n=0}for(let e=n;e<56;++e)t[e]=0;let a=new DataView(t.buffer,t.byteOffset,zB);a.setUint32(56,r,!1),a.setUint32(60,i,!1),this.hashBufferWith(e,t,0);let o=new Uint8Array(BB);return o[0]=e[0]>>>24&255,o[1]=e[0]>>>16&255,o[2]=e[0]>>>8&255,o[3]=e[0]&255,o[4]=e[1]>>>24&255,o[5]=e[1]>>>16&255,o[6]=e[1]>>>8&255,o[7]=e[1]&255,o[8]=e[2]>>>24&255,o[9]=e[2]>>>16&255,o[10]=e[2]>>>8&255,o[11]=e[2]&255,o[12]=e[3]>>>24&255,o[13]=e[3]>>>16&255,o[14]=e[3]>>>8&255,o[15]=e[3]&255,o[16]=e[4]>>>24&255,o[17]=e[4]>>>16&255,o[18]=e[4]>>>8&255,o[19]=e[4]&255,o}static normalizeKey(t){let n=o(t);if(n.byteLength>zB){let t=new e;t.update(n);let r=t.digestSync(),i=new Uint8Array(zB);return i.set(r),i}let r=new Uint8Array(zB);return r.set(n),r}hashBuffer(e,t){this.hashBufferWith(this.state,e,t)}hashBufferWith(e,t,n){let r=this.w??=new Int32Array(80),i=e[0],a=e[1],o=e[2],s=e[3],c=e[4];for(let e=0;e<16;++e)r[e]=(t[n+e*4]&255)<<24|(t[n+e*4+1]&255)<<16|(t[n+e*4+2]&255)<<8|t[n+e*4+3]&255;for(let e=16;e<80;++e){let t=r[e-3]^r[e-8]^r[e-14]^r[e-16];r[e]=t<<1|t>>>31}for(let e=0;e<80;++e){let t=e<20?0:e<40?1:e<60?2:3,n=((i<<5|i>>>27)+(t===0?a&o^~a&s:t===2?a&o^a&s^o&s:a^o^s)|0)+(c+(HB[t]+r[e]|0)|0)|0;c=s,s=o,o=a<<30|a>>>2,a=i,i=n}e[0]=e[0]+i|0,e[1]=e[1]+a|0,e[2]=e[2]+o|0,e[3]=e[3]+s|0,e[4]=e[4]+c|0}},WB=e=>({apiVersion:`2006-03-01`,base64Decoder:e?.base64Decoder??Ct,base64Encoder:e?.base64Encoder??wt,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??xu,extensions:e?.extensions??[],getAwsChunkedEncodingStream:e?.getAwsChunkedEncodingStream??Sr,httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Tu,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new Uc},{schemeId:`aws.auth#sigv4a`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4a`),signer:new Wc}],logger:e?.logger??new vt,md5:e?.md5??io,protocol:e?.protocol??Ks,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.s3`,errorTypeRegistries:hj,xmlNamespace:`http://s3.amazonaws.com/doc/2006-03-01/`,version:`2006-03-01`,serviceTarget:`AmazonS3`},sdkStreamMixin:e?.sdkStreamMixin??Dr,serviceId:e?.serviceId??`S3`,sha1:e?.sha1??UB,sha256:e?.sha256??To,signerConstructor:e?.signerConstructor??ee,signingEscapePath:e?.signingEscapePath??!1,urlParser:e?.urlParser??r,useArnRegion:e?.useArnRegion??void 0,utf8Decoder:e?.utf8Decoder??ne,utf8Encoder:e?.utf8Encoder??Et}),GB=e=>{let t=Na(e),n=()=>t().then(lt),r=WB(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??An,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??ba({serviceId:r.serviceId,clientVersion:NB.version}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??Pc,maxAttempts:e?.maxAttempts??3,region:e?.region??Ce(`Region is missing`),requestHandler:LB.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||Ci),streamCollector:e?.streamCollector??Cr,streamHasher:e?.streamHasher??ro,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},KB=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},qB=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),JB=(e,t)=>{let n=Object.assign(Fa(e),ht(e),Hr(e),KB(e));return t.forEach(e=>e.configure(n)),Object.assign(e,Ia(n),gt(n),Ur(n),qB(n))},YB=class extends Le{config;constructor(...[e]){let t=GB(e||{});super(t),this.initConfig=t;let n=Ai(ja(Di(Vo(ra(Du(t)))))),r=JB(ts(Eu(Fc(l(n))),{session:[()=>this,MB]}),e?.extensions||[]);this.config=r,this.middlewareStack.use(Ge(this.config)),this.middlewareStack.use(ya(this.config)),this.middlewareStack.use(Oi(this.config)),this.middlewareStack.use(qr(this.config)),this.middlewareStack.use(Ni(this.config)),this.middlewareStack.use(Ii(this.config)),this.middlewareStack.use(Li(this.config)),this.middlewareStack.use(Hi(this.config,{httpAuthSchemeParametersProvider:Su,identityProviderConfigProvider:async e=>new Qi({"aws.auth#sigv4":e.credentials,"aws.auth#sigv4a":e.credentials})})),this.middlewareStack.use(qi(this.config)),this.middlewareStack.use(Es(this.config)),this.middlewareStack.use(Ys(this.config)),this.middlewareStack.use(Zo(this.config)),this.middlewareStack.use(ls(this.config)),this.middlewareStack.use(ms(this.config))}destroy(){super.destroy()}},XB=class extends S(Ou,w,`AbortMultipartUpload`,OR){},ZB=class extends S(Ou,Lu,`CompleteMultipartUpload`,kR){},QB=class extends S(ku,Lu,`CopyObject`,AR){},$B=class extends S(Au,Ru,`CreateBucket`,jR){},eV=class extends S(C,zu,`CreateBucketMetadataConfiguration`,MR){},tV=class extends S(C,zu,`CreateBucketMetadataTableConfiguration`,NR){},nV=class extends S(Ou,Lu,`CreateMultipartUpload`,PR){},rV=class extends S(C,T,`DeleteBucketAnalyticsConfiguration`,LR){},iV=class extends S(C,T,`DeleteBucket`,IR){},aV=class extends S(C,T,`DeleteBucketCors`,RR){},oV=class extends S(C,T,`DeleteBucketEncryption`,zR){},sV=class extends S(C,T,`DeleteBucketIntelligentTieringConfiguration`,BR){},cV=class extends S(C,T,`DeleteBucketInventoryConfiguration`,VR){},lV=class extends S(C,T,`DeleteBucketLifecycle`,HR){},uV=class extends S(C,T,`DeleteBucketMetadataConfiguration`,UR){},dV=class extends S(C,T,`DeleteBucketMetadataTableConfiguration`,WR){},fV=class extends S(C,T,`DeleteBucketMetricsConfiguration`,GR){},pV=class extends S(C,T,`DeleteBucketOwnershipControls`,KR){},mV=class extends S(C,T,`DeleteBucketPolicy`,qR){},hV=class extends S(C,T,`DeleteBucketReplication`,JR){},gV=class extends S(C,T,`DeleteBucketTagging`,YR){},_V=class extends S(C,T,`DeleteBucketWebsite`,XR){},vV=class extends S(Mu,w,`DeleteObjectAnnotation`,QR){},yV=class extends S(Ou,w,`DeleteObject`,ZR){},bV=class extends S(Mu,Bu,`DeleteObjects`,$R){},xV=class extends S(Mu,w,`DeleteObjectTagging`,ez){},SV=class extends S(C,T,`DeletePublicAccessBlock`,tz){},CV=class extends S(Mu,w,`GetBucketAbac`,nz){},wV=class extends S(C,w,`GetBucketAccelerateConfiguration`,rz){},TV=class extends S(C,w,`GetBucketAcl`,iz){},EV=class extends S(C,w,`GetBucketAnalyticsConfiguration`,az){},DV=class extends S(C,w,`GetBucketCors`,oz){},OV=class extends S(C,w,`GetBucketEncryption`,sz){},kV=class extends S(C,w,`GetBucketIntelligentTieringConfiguration`,cz){},AV=class extends S(C,w,`GetBucketInventoryConfiguration`,lz){},jV=class extends S(C,w,`GetBucketLifecycleConfiguration`,uz){},MV=class extends S(C,w,`GetBucketLocation`,dz){},NV=class extends S(C,w,`GetBucketLogging`,fz){},PV=class extends S(C,w,`GetBucketMetadataConfiguration`,pz){},FV=class extends S(C,w,`GetBucketMetadataTableConfiguration`,mz){},IV=class extends S(C,w,`GetBucketMetricsConfiguration`,hz){},LV=class extends S(C,w,`GetBucketNotificationConfiguration`,gz){},RV=class extends S(C,w,`GetBucketOwnershipControls`,_z){},zV=class extends S(C,T,`GetBucketPolicy`,vz){},BV=class extends S(C,w,`GetBucketPolicyStatus`,yz){},VV=class extends S(C,w,`GetBucketReplication`,bz){},HV=class extends S(C,w,`GetBucketRequestPayment`,xz){},UV=class extends S(C,w,`GetBucketTagging`,Sz){},WV=class extends S(C,w,`GetBucketVersioning`,Cz){},GV=class extends S(C,w,`GetBucketWebsite`,wz){},KV=class extends S(Ou,w,`GetObjectAcl`,Ez){},qV=class extends S(Ou,Vu,`GetObjectAnnotation`,Dz){},JV=class extends S(Mu,Lu,`GetObjectAttributes`,Oz){},YV=class extends S(Ou,Hu,`GetObject`,Tz){},XV=class extends S(Mu,w,`GetObjectLegalHold`,kz){},ZV=class extends S(Mu,w,`GetObjectLockConfiguration`,Az){},QV=class extends S(Mu,w,`GetObjectRetention`,jz){},$V=class extends S(Mu,w,`GetObjectTagging`,Mz){},eH=class extends S(Mu,T,`GetObjectTorrent`,Nz){},tH=class extends S(C,w,`GetPublicAccessBlock`,Pz){},nH=class extends S(Mu,w,`HeadBucket`,Fz){},rH=class extends S(Ou,Uu,`HeadObject`,Iz){},iH=class extends S(C,w,`ListBucketAnalyticsConfigurations`,Lz){},aH=class extends S(C,w,`ListBucketIntelligentTieringConfigurations`,Rz){},oH=class extends S(C,w,`ListBucketInventoryConfigurations`,zz){},sH=class extends S(C,w,`ListBucketMetricsConfigurations`,Bz){},cH=class extends S(Nu,w,`ListBuckets`,Vz){},lH=class extends S(Pu,w,`ListDirectoryBuckets`,Hz){},uH=class extends S(Fu,w,`ListMultipartUploads`,Uz){},dH=class extends S(Mu,w,`ListObjectAnnotations`,Wz){},fH=class extends S(Fu,w,`ListObjects`,Gz){},pH=class extends S(Fu,w,`ListObjectsV2`,Kz){},mH=class extends S(Fu,w,`ListObjectVersions`,qz){},hH=class extends S(Ou,Lu,`ListParts`,Jz){},gH=class extends S(Mu,Wu,`PutBucketAbac`,Yz){},_H=class extends S(C,Wu,`PutBucketAccelerateConfiguration`,Xz){},vH=class extends S(C,zu,`PutBucketAcl`,Zz){},yH=class extends S(C,T,`PutBucketAnalyticsConfiguration`,Qz){},bH=class extends S(C,zu,`PutBucketCors`,$z){},xH=class extends S(C,zu,`PutBucketEncryption`,eB){},SH=class extends S(C,T,`PutBucketIntelligentTieringConfiguration`,tB){},CH=class extends S(C,T,`PutBucketInventoryConfiguration`,nB){},wH=class extends S(C,Bu,`PutBucketLifecycleConfiguration`,rB){},TH=class extends S(C,zu,`PutBucketLogging`,iB){},EH=class extends S(C,T,`PutBucketMetricsConfiguration`,aB){},DH=class extends S(C,T,`PutBucketNotificationConfiguration`,oB){},OH=class extends S(C,zu,`PutBucketOwnershipControls`,sB){},kH=class extends S(C,zu,`PutBucketPolicy`,cB){},AH=class extends S(C,zu,`PutBucketReplication`,lB){},jH=class extends S(C,zu,`PutBucketRequestPayment`,uB){},MH=class extends S(C,zu,`PutBucketTagging`,dB){},NH=class extends S(C,zu,`PutBucketVersioning`,fB){},PH=class extends S(C,zu,`PutBucketWebsite`,pB){},FH=class extends S(Ou,Bu,`PutObjectAcl`,hB){},IH=class extends S(Ou,Gu,`PutObjectAnnotation`,gB){},LH=class extends S(Ou,Ku,`PutObject`,mB){},RH=class extends S(Mu,Bu,`PutObjectLegalHold`,_B){},zH=class extends S(Mu,Bu,`PutObjectLockConfiguration`,vB){},BH=class extends S(Mu,Bu,`PutObjectRetention`,yB){},VH=class extends S(Mu,Bu,`PutObjectTagging`,bB){},HH=class extends S(C,zu,`PutPublicAccessBlock`,xB){},UH=class extends S(Ou,w,`RenameObject`,SB){},WH=class extends S(Mu,Gu,`RestoreObject`,CB){},GH=class extends S(Mu,qu,`SelectObjectContent`,wB){},KH=class extends S(C,zu,`UpdateBucketMetadataAnnotationTableConfiguration`,TB){},qH=class extends S(C,zu,`UpdateBucketMetadataInventoryTableConfiguration`,EB){},JH=class extends S(C,zu,`UpdateBucketMetadataJournalTableConfiguration`,DB){},YH=class extends S(Mu,Bu,`UpdateObjectEncryption`,OB){},XH=class extends S(Ou,Ju,`UploadPart`,kB){},ZH=class extends S(ju,Lu,`UploadPartCopy`,AB){},QH=class extends S(Iu,T,`WriteGetObjectResponse`,jB){},$H=Xi(YB,cH,`ContinuationToken`,`ContinuationToken`,`MaxBuckets`),eU=Xi(YB,lH,`ContinuationToken`,`ContinuationToken`,`MaxDirectoryBuckets`),tU=Xi(YB,dH,`ContinuationToken`,`NextContinuationToken`,`MaxAnnotationResults`),nU=Xi(YB,pH,`ContinuationToken`,`NextContinuationToken`,`MaxKeys`),rU=Xi(YB,hH,`PartNumberMarker`,`NextPartNumberMarker`,`MaxParts`),iU=async(e,t)=>{let n;try{return n=await e.send(new nH(t)),{state:De.SUCCESS,reason:n}}catch(e){if(n=e,e.name===`NotFound`)return{state:De.RETRY,reason:n}}return{state:De.RETRY,reason:n}},aU=async(e,t)=>Ie({minDelay:5,maxDelay:120,...e},t,iU),oU=async(e,t)=>Oe(await Ie({minDelay:5,maxDelay:120,...e},t,iU)),sU=async(e,t)=>{let n;try{n=await e.send(new nH(t))}catch(e){if(n=e,e.name===`NotFound`)return{state:De.SUCCESS,reason:n}}return{state:De.RETRY,reason:n}},cU=async(e,t)=>Ie({minDelay:5,maxDelay:120,...e},t,sU),lU=async(e,t)=>Oe(await Ie({minDelay:5,maxDelay:120,...e},t,sU)),uU=async(e,t)=>{let n;try{return n=await e.send(new rH(t)),{state:De.SUCCESS,reason:n}}catch(e){if(n=e,e.name===`NotFound`)return{state:De.RETRY,reason:n}}return{state:De.RETRY,reason:n}},dU=async(e,t)=>Ie({minDelay:5,maxDelay:120,...e},t,uU),fU=async(e,t)=>Oe(await Ie({minDelay:5,maxDelay:120,...e},t,uU)),pU=async(e,t)=>{let n;try{n=await e.send(new rH(t))}catch(e){if(n=e,e.name===`NotFound`)return{state:De.SUCCESS,reason:n}}return{state:De.RETRY,reason:n}},mU=async(e,t)=>Ie({minDelay:5,maxDelay:120,...e},t,pU),hU=async(e,t)=>Oe(await Ie({minDelay:5,maxDelay:120,...e},t,pU)),gU={AbortMultipartUploadCommand:XB,CompleteMultipartUploadCommand:ZB,CopyObjectCommand:QB,CreateBucketCommand:$B,CreateBucketMetadataConfigurationCommand:eV,CreateBucketMetadataTableConfigurationCommand:tV,CreateMultipartUploadCommand:nV,CreateSessionCommand:MB,DeleteBucketCommand:iV,DeleteBucketAnalyticsConfigurationCommand:rV,DeleteBucketCorsCommand:aV,DeleteBucketEncryptionCommand:oV,DeleteBucketIntelligentTieringConfigurationCommand:sV,DeleteBucketInventoryConfigurationCommand:cV,DeleteBucketLifecycleCommand:lV,DeleteBucketMetadataConfigurationCommand:uV,DeleteBucketMetadataTableConfigurationCommand:dV,DeleteBucketMetricsConfigurationCommand:fV,DeleteBucketOwnershipControlsCommand:pV,DeleteBucketPolicyCommand:mV,DeleteBucketReplicationCommand:hV,DeleteBucketTaggingCommand:gV,DeleteBucketWebsiteCommand:_V,DeleteObjectCommand:yV,DeleteObjectAnnotationCommand:vV,DeleteObjectsCommand:bV,DeleteObjectTaggingCommand:xV,DeletePublicAccessBlockCommand:SV,GetBucketAbacCommand:CV,GetBucketAccelerateConfigurationCommand:wV,GetBucketAclCommand:TV,GetBucketAnalyticsConfigurationCommand:EV,GetBucketCorsCommand:DV,GetBucketEncryptionCommand:OV,GetBucketIntelligentTieringConfigurationCommand:kV,GetBucketInventoryConfigurationCommand:AV,GetBucketLifecycleConfigurationCommand:jV,GetBucketLocationCommand:MV,GetBucketLoggingCommand:NV,GetBucketMetadataConfigurationCommand:PV,GetBucketMetadataTableConfigurationCommand:FV,GetBucketMetricsConfigurationCommand:IV,GetBucketNotificationConfigurationCommand:LV,GetBucketOwnershipControlsCommand:RV,GetBucketPolicyCommand:zV,GetBucketPolicyStatusCommand:BV,GetBucketReplicationCommand:VV,GetBucketRequestPaymentCommand:HV,GetBucketTaggingCommand:UV,GetBucketVersioningCommand:WV,GetBucketWebsiteCommand:GV,GetObjectCommand:YV,GetObjectAclCommand:KV,GetObjectAnnotationCommand:qV,GetObjectAttributesCommand:JV,GetObjectLegalHoldCommand:XV,GetObjectLockConfigurationCommand:ZV,GetObjectRetentionCommand:QV,GetObjectTaggingCommand:$V,GetObjectTorrentCommand:eH,GetPublicAccessBlockCommand:tH,HeadBucketCommand:nH,HeadObjectCommand:rH,ListBucketAnalyticsConfigurationsCommand:iH,ListBucketIntelligentTieringConfigurationsCommand:aH,ListBucketInventoryConfigurationsCommand:oH,ListBucketMetricsConfigurationsCommand:sH,ListBucketsCommand:cH,ListDirectoryBucketsCommand:lH,ListMultipartUploadsCommand:uH,ListObjectAnnotationsCommand:dH,ListObjectsCommand:fH,ListObjectsV2Command:pH,ListObjectVersionsCommand:mH,ListPartsCommand:hH,PutBucketAbacCommand:gH,PutBucketAccelerateConfigurationCommand:_H,PutBucketAclCommand:vH,PutBucketAnalyticsConfigurationCommand:yH,PutBucketCorsCommand:bH,PutBucketEncryptionCommand:xH,PutBucketIntelligentTieringConfigurationCommand:SH,PutBucketInventoryConfigurationCommand:CH,PutBucketLifecycleConfigurationCommand:wH,PutBucketLoggingCommand:TH,PutBucketMetricsConfigurationCommand:EH,PutBucketNotificationConfigurationCommand:DH,PutBucketOwnershipControlsCommand:OH,PutBucketPolicyCommand:kH,PutBucketReplicationCommand:AH,PutBucketRequestPaymentCommand:jH,PutBucketTaggingCommand:MH,PutBucketVersioningCommand:NH,PutBucketWebsiteCommand:PH,PutObjectCommand:LH,PutObjectAclCommand:FH,PutObjectAnnotationCommand:IH,PutObjectLegalHoldCommand:RH,PutObjectLockConfigurationCommand:zH,PutObjectRetentionCommand:BH,PutObjectTaggingCommand:VH,PutPublicAccessBlockCommand:HH,RenameObjectCommand:UH,RestoreObjectCommand:WH,SelectObjectContentCommand:GH,UpdateBucketMetadataAnnotationTableConfigurationCommand:KH,UpdateBucketMetadataInventoryTableConfigurationCommand:qH,UpdateBucketMetadataJournalTableConfigurationCommand:JH,UpdateObjectEncryptionCommand:YH,UploadPartCommand:XH,UploadPartCopyCommand:ZH,WriteGetObjectResponseCommand:QH},_U={paginateListBuckets:$H,paginateListDirectoryBuckets:eU,paginateListObjectAnnotations:tU,paginateListObjectsV2:nU,paginateListParts:rU},vU={waitUntilBucketExists:oU,waitUntilBucketNotExists:lU,waitUntilObjectExists:fU,waitUntilObjectNotExists:hU},yU=class extends YB{};ot(gU,yU,{paginators:_U,waiters:vU});var bU={Disabled:`Disabled`,Enabled:`Enabled`},xU={requester:`requester`},SU={requester:`requester`},CU={Enabled:`Enabled`,Suspended:`Suspended`},wU={AmazonCustomerByEmail:`AmazonCustomerByEmail`,CanonicalUser:`CanonicalUser`,Group:`Group`},TU={FULL_CONTROL:`FULL_CONTROL`,READ:`READ`,READ_ACP:`READ_ACP`,WRITE:`WRITE`,WRITE_ACP:`WRITE_ACP`},EU={Destination:`Destination`},DU={COMPOSITE:`COMPOSITE`,FULL_OBJECT:`FULL_OBJECT`},OU={AES256:`AES256`,aws_backup:`aws:backup`,aws_fsx:`aws:fsx`,aws_kms:`aws:kms`,aws_kms_dsse:`aws:kms:dsse`},kU={authenticated_read:`authenticated-read`,aws_exec_read:`aws-exec-read`,bucket_owner_full_control:`bucket-owner-full-control`,bucket_owner_read:`bucket-owner-read`,private:`private`,public_read:`public-read`,public_read_write:`public-read-write`},AU={COPY:`COPY`,EXCLUDE:`EXCLUDE`},jU={CRC32:`CRC32`,CRC32C:`CRC32C`,CRC64NVME:`CRC64NVME`,MD5:`MD5`,SHA1:`SHA1`,SHA256:`SHA256`,SHA512:`SHA512`,XXHASH128:`XXHASH128`,XXHASH3:`XXHASH3`,XXHASH64:`XXHASH64`},MU={COPY:`COPY`,REPLACE:`REPLACE`},NU={OFF:`OFF`,ON:`ON`},PU={OFF:`OFF`,ON:`ON`},FU={COMPLIANCE:`COMPLIANCE`,GOVERNANCE:`GOVERNANCE`},IU={AWS_BACKUP_LOW_COST_WARM:`AWS_BACKUP_LOW_COST_WARM`,AWS_BACKUP_WARM:`AWS_BACKUP_WARM`,DEEP_ARCHIVE:`DEEP_ARCHIVE`,EXPRESS_ONEZONE:`EXPRESS_ONEZONE`,FSX_ONTAP:`FSX_ONTAP`,FSX_OPENZFS:`FSX_OPENZFS`,GLACIER:`GLACIER`,GLACIER_IR:`GLACIER_IR`,INTELLIGENT_TIERING:`INTELLIGENT_TIERING`,ONEZONE_IA:`ONEZONE_IA`,OUTPOSTS:`OUTPOSTS`,REDUCED_REDUNDANCY:`REDUCED_REDUNDANCY`,SNOW:`SNOW`,STANDARD:`STANDARD`,STANDARD_IA:`STANDARD_IA`},LU={COPY:`COPY`,REPLACE:`REPLACE`},RU={authenticated_read:`authenticated-read`,private:`private`,public_read:`public-read`,public_read_write:`public-read-write`},zU={ACCOUNT_REGIONAL:`account-regional`,GLOBAL:`global`},BU={SingleAvailabilityZone:`SingleAvailabilityZone`,SingleLocalZone:`SingleLocalZone`},VU={Directory:`Directory`},HU={AvailabilityZone:`AvailabilityZone`,LocalZone:`LocalZone`},UU={EU:`EU`,af_south_1:`af-south-1`,ap_east_1:`ap-east-1`,ap_east_2:`ap-east-2`,ap_northeast_1:`ap-northeast-1`,ap_northeast_2:`ap-northeast-2`,ap_northeast_3:`ap-northeast-3`,ap_south_1:`ap-south-1`,ap_south_2:`ap-south-2`,ap_southeast_1:`ap-southeast-1`,ap_southeast_2:`ap-southeast-2`,ap_southeast_3:`ap-southeast-3`,ap_southeast_4:`ap-southeast-4`,ap_southeast_5:`ap-southeast-5`,ap_southeast_6:`ap-southeast-6`,ap_southeast_7:`ap-southeast-7`,ca_central_1:`ca-central-1`,ca_west_1:`ca-west-1`,cn_north_1:`cn-north-1`,cn_northwest_1:`cn-northwest-1`,eu_central_1:`eu-central-1`,eu_central_2:`eu-central-2`,eu_north_1:`eu-north-1`,eu_south_1:`eu-south-1`,eu_south_2:`eu-south-2`,eu_west_1:`eu-west-1`,eu_west_2:`eu-west-2`,eu_west_3:`eu-west-3`,il_central_1:`il-central-1`,me_central_1:`me-central-1`,me_south_1:`me-south-1`,mx_central_1:`mx-central-1`,sa_east_1:`sa-east-1`,us_east_2:`us-east-2`,us_gov_east_1:`us-gov-east-1`,us_gov_west_1:`us-gov-west-1`,us_west_1:`us-west-1`,us_west_2:`us-west-2`},WU={BucketOwnerEnforced:`BucketOwnerEnforced`,BucketOwnerPreferred:`BucketOwnerPreferred`,ObjectWriter:`ObjectWriter`},GU={DISABLED:`DISABLED`,ENABLED:`ENABLED`},KU={AES256:`AES256`,aws_kms:`aws:kms`},qU={DISABLED:`DISABLED`,ENABLED:`ENABLED`},JU={DISABLED:`DISABLED`,ENABLED:`ENABLED`},YU={ReadOnly:`ReadOnly`,ReadWrite:`ReadWrite`},XU={CSV:`CSV`},ZU={V_1:`V_1`},QU={NONE:`NONE`,SSE_C:`SSE-C`},$U={Disabled:`Disabled`,Enabled:`Enabled`},eW={ARCHIVE_ACCESS:`ARCHIVE_ACCESS`,DEEP_ARCHIVE_ACCESS:`DEEP_ARCHIVE_ACCESS`},tW={CSV:`CSV`,ORC:`ORC`,Parquet:`Parquet`},nW={All:`All`,Current:`Current`},rW={BucketKeyStatus:`BucketKeyStatus`,ChecksumAlgorithm:`ChecksumAlgorithm`,ETag:`ETag`,EncryptionStatus:`EncryptionStatus`,IntelligentTieringAccessTier:`IntelligentTieringAccessTier`,IntelligentTieringReferenceDate:`IntelligentTieringReferenceDate`,IsMultipartUploaded:`IsMultipartUploaded`,LastModifiedDate:`LastModifiedDate`,LifecycleExpirationDate:`LifecycleExpirationDate`,ObjectAccessControlList:`ObjectAccessControlList`,ObjectLockEventHoldDuration:`ObjectLockEventHoldDuration`,ObjectLockEventHoldStatus:`ObjectLockEventHoldStatus`,ObjectLockLegalHoldStatus:`ObjectLockLegalHoldStatus`,ObjectLockMode:`ObjectLockMode`,ObjectLockRetainUntilDate:`ObjectLockRetainUntilDate`,ObjectOwner:`ObjectOwner`,ReplicationStatus:`ReplicationStatus`,Size:`Size`,StorageClass:`StorageClass`},iW={Daily:`Daily`,Weekly:`Weekly`},aW={DEEP_ARCHIVE:`DEEP_ARCHIVE`,GLACIER:`GLACIER`,GLACIER_IR:`GLACIER_IR`,INTELLIGENT_TIERING:`INTELLIGENT_TIERING`,ONEZONE_IA:`ONEZONE_IA`,STANDARD_IA:`STANDARD_IA`},oW={Disabled:`Disabled`,Enabled:`Enabled`},sW={all_storage_classes_128K:`all_storage_classes_128K`,varies_by_storage_class:`varies_by_storage_class`},cW={FULL_CONTROL:`FULL_CONTROL`,READ:`READ`,WRITE:`WRITE`},lW={DeliveryTime:`DeliveryTime`,EventTime:`EventTime`},uW={aws:`aws`,customer:`customer`},dW={s3_IntelligentTiering:`s3:IntelligentTiering`,s3_LifecycleExpiration_:`s3:LifecycleExpiration:*`,s3_LifecycleExpiration_Delete:`s3:LifecycleExpiration:Delete`,s3_LifecycleExpiration_DeleteMarkerCreated:`s3:LifecycleExpiration:DeleteMarkerCreated`,s3_LifecycleTransition:`s3:LifecycleTransition`,s3_ObjectAcl_Put:`s3:ObjectAcl:Put`,s3_ObjectAnnotation_:`s3:ObjectAnnotation:*`,s3_ObjectAnnotation_Delete:`s3:ObjectAnnotation:Delete`,s3_ObjectAnnotation_Put:`s3:ObjectAnnotation:Put`,s3_ObjectCreated_:`s3:ObjectCreated:*`,s3_ObjectCreated_CompleteMultipartUpload:`s3:ObjectCreated:CompleteMultipartUpload`,s3_ObjectCreated_Copy:`s3:ObjectCreated:Copy`,s3_ObjectCreated_Post:`s3:ObjectCreated:Post`,s3_ObjectCreated_Put:`s3:ObjectCreated:Put`,s3_ObjectRemoved_:`s3:ObjectRemoved:*`,s3_ObjectRemoved_Delete:`s3:ObjectRemoved:Delete`,s3_ObjectRemoved_DeleteMarkerCreated:`s3:ObjectRemoved:DeleteMarkerCreated`,s3_ObjectRestore_:`s3:ObjectRestore:*`,s3_ObjectRestore_Completed:`s3:ObjectRestore:Completed`,s3_ObjectRestore_Delete:`s3:ObjectRestore:Delete`,s3_ObjectRestore_Post:`s3:ObjectRestore:Post`,s3_ObjectRetention_Put:`s3:ObjectRetention:Put`,s3_ObjectTagging_:`s3:ObjectTagging:*`,s3_ObjectTagging_Delete:`s3:ObjectTagging:Delete`,s3_ObjectTagging_Put:`s3:ObjectTagging:Put`,s3_ReducedRedundancyLostObject:`s3:ReducedRedundancyLostObject`,s3_Replication_:`s3:Replication:*`,s3_Replication_OperationFailedReplication:`s3:Replication:OperationFailedReplication`,s3_Replication_OperationMissedThreshold:`s3:Replication:OperationMissedThreshold`,s3_Replication_OperationNotTracked:`s3:Replication:OperationNotTracked`,s3_Replication_OperationReplicatedAfterThreshold:`s3:Replication:OperationReplicatedAfterThreshold`},fW={prefix:`prefix`,suffix:`suffix`},pW={Disabled:`Disabled`,Enabled:`Enabled`},mW={Disabled:`Disabled`,Enabled:`Enabled`},hW={Disabled:`Disabled`,Enabled:`Enabled`},gW={Disabled:`Disabled`,Enabled:`Enabled`},_W={Disabled:`Disabled`,Enabled:`Enabled`},vW={Disabled:`Disabled`,Enabled:`Enabled`},yW={Disabled:`Disabled`,Enabled:`Enabled`},bW={BucketOwner:`BucketOwner`,Requester:`Requester`},xW={Disabled:`Disabled`,Enabled:`Enabled`},SW={Enabled:`Enabled`,Suspended:`Suspended`},CW={http:`http`,https:`https`},wW={COMPLETE:`COMPLETE`,COMPLETED:`COMPLETED`,FAILED:`FAILED`,PENDING:`PENDING`,REPLICA:`REPLICA`},TW={ENABLED:`ENABLED`},EW={CHECKSUM:`Checksum`,ETAG:`ETag`,OBJECT_PARTS:`ObjectParts`,OBJECT_SIZE:`ObjectSize`,STORAGE_CLASS:`StorageClass`},DW={Enabled:`Enabled`},OW={COMPLIANCE:`COMPLIANCE`,GOVERNANCE:`GOVERNANCE`},kW={ARCHIVE_ACCESS:`ARCHIVE_ACCESS`,DEEP_ARCHIVE_ACCESS:`DEEP_ARCHIVE_ACCESS`},AW={url:`url`},jW={AWS_BACKUP_LOW_COST_WARM:`AWS_BACKUP_LOW_COST_WARM`,AWS_BACKUP_WARM:`AWS_BACKUP_WARM`,DEEP_ARCHIVE:`DEEP_ARCHIVE`,EXPRESS_ONEZONE:`EXPRESS_ONEZONE`,FSX_ONTAP:`FSX_ONTAP`,FSX_OPENZFS:`FSX_OPENZFS`,GLACIER:`GLACIER`,GLACIER_IR:`GLACIER_IR`,INTELLIGENT_TIERING:`INTELLIGENT_TIERING`,ONEZONE_IA:`ONEZONE_IA`,OUTPOSTS:`OUTPOSTS`,REDUCED_REDUNDANCY:`REDUCED_REDUNDANCY`,SNOW:`SNOW`,STANDARD:`STANDARD`,STANDARD_IA:`STANDARD_IA`},MW={RESTORE_STATUS:`RestoreStatus`},NW={STANDARD:`STANDARD`},PW={Disabled:`Disabled`,Enabled:`Enabled`},FW={Bulk:`Bulk`,Expedited:`Expedited`,Standard:`Standard`},IW={SQL:`SQL`},LW={BZIP2:`BZIP2`,GZIP:`GZIP`,NONE:`NONE`},RW={IGNORE:`IGNORE`,NONE:`NONE`,USE:`USE`},zW={DOCUMENT:`DOCUMENT`,LINES:`LINES`},BW={ALWAYS:`ALWAYS`,ASNEEDED:`ASNEEDED`},VW={SELECT:`SELECT`};export{it as $Command,Cj as AbacStatus$,wj as AbortIncompleteMultipartUpload$,OR as AbortMultipartUpload$,XB as AbortMultipartUploadCommand,Tj as AbortMultipartUploadOutput$,Ej as AbortMultipartUploadRequest$,Dj as AccelerateConfiguration$,Oj as AccessControlPolicy$,kj as AccessControlTranslation$,Xu as AccessDenied,JA as AccessDenied$,Aj as AnalyticsAndOperator$,jj as AnalyticsConfiguration$,Mj as AnalyticsExportDestination$,wR as AnalyticsFilter$,Nj as AnalyticsS3BucketDestination$,XU as AnalyticsS3ExportFileFormat,GU as AnnotationConfigurationState,AU as AnnotationDirective,Pj as AnnotationEntry$,ud as AnnotationLimitExceeded,YA as AnnotationLimitExceeded$,dd as AnnotationNameTooLong,XA as AnnotationNameTooLong$,Fj as AnnotationTableConfiguration$,Ij as AnnotationTableConfigurationResult$,Lj as AnnotationTableConfigurationUpdates$,kW as ArchiveStatus,Rj as BlockedEncryptionTypes$,zj as Bucket$,bU as BucketAbacStatus,CU as BucketAccelerateStatus,Qu as BucketAlreadyExists,ZA as BucketAlreadyExists$,$u as BucketAlreadyOwnedByYou,QA as BucketAlreadyOwnedByYou$,RU as BucketCannedACL,Bj as BucketInfo$,Vj as BucketLifecycleConfiguration$,UU as BucketLocationConstraint,Hj as BucketLoggingStatus$,cW as BucketLogsPermission,zU as BucketNamespace,VU as BucketType,SW as BucketVersioningStatus,tM as CORSConfiguration$,nM as CORSRule$,fM as CSVInput$,pM as CSVOutput$,Uj as Checksum$,jU as ChecksumAlgorithm,TW as ChecksumMode,DU as ChecksumType,Wj as CommonPrefix$,kR as CompleteMultipartUpload$,ZB as CompleteMultipartUploadCommand,qj as CompleteMultipartUploadOutput$,Jj as CompleteMultipartUploadRequest$,Gj as CompletedMultipartUpload$,Kj as CompletedPart$,LW as CompressionType,Yj as Condition$,Xj as ContinuationEvent$,AR as CopyObject$,QB as CopyObjectCommand,Zj as CopyObjectOutput$,Qj as CopyObjectRequest$,$j as CopyObjectResult$,eM as CopyPartResult$,jR as CreateBucket$,$B as CreateBucketCommand,rM as CreateBucketConfiguration$,MR as CreateBucketMetadataConfiguration$,eV as CreateBucketMetadataConfigurationCommand,iM as CreateBucketMetadataConfigurationRequest$,NR as CreateBucketMetadataTableConfiguration$,tV as CreateBucketMetadataTableConfigurationCommand,aM as CreateBucketMetadataTableConfigurationRequest$,oM as CreateBucketOutput$,sM as CreateBucketRequest$,PR as CreateMultipartUpload$,nV as CreateMultipartUploadCommand,cM as CreateMultipartUploadOutput$,lM as CreateMultipartUploadRequest$,FR as CreateSession$,MB as CreateSessionCommand,uM as CreateSessionOutput$,dM as CreateSessionRequest$,BU as DataRedundancy,mM as DefaultRetention$,hM as Delete$,IR as DeleteBucket$,LR as DeleteBucketAnalyticsConfiguration$,rV as DeleteBucketAnalyticsConfigurationCommand,gM as DeleteBucketAnalyticsConfigurationRequest$,iV as DeleteBucketCommand,RR as DeleteBucketCors$,aV as DeleteBucketCorsCommand,_M as DeleteBucketCorsRequest$,zR as DeleteBucketEncryption$,oV as DeleteBucketEncryptionCommand,vM as DeleteBucketEncryptionRequest$,BR as DeleteBucketIntelligentTieringConfiguration$,sV as DeleteBucketIntelligentTieringConfigurationCommand,yM as DeleteBucketIntelligentTieringConfigurationRequest$,VR as DeleteBucketInventoryConfiguration$,cV as DeleteBucketInventoryConfigurationCommand,bM as DeleteBucketInventoryConfigurationRequest$,HR as DeleteBucketLifecycle$,lV as DeleteBucketLifecycleCommand,xM as DeleteBucketLifecycleRequest$,UR as DeleteBucketMetadataConfiguration$,uV as DeleteBucketMetadataConfigurationCommand,SM as DeleteBucketMetadataConfigurationRequest$,WR as DeleteBucketMetadataTableConfiguration$,dV as DeleteBucketMetadataTableConfigurationCommand,CM as DeleteBucketMetadataTableConfigurationRequest$,GR as DeleteBucketMetricsConfiguration$,fV as DeleteBucketMetricsConfigurationCommand,wM as DeleteBucketMetricsConfigurationRequest$,KR as DeleteBucketOwnershipControls$,pV as DeleteBucketOwnershipControlsCommand,TM as DeleteBucketOwnershipControlsRequest$,qR as DeleteBucketPolicy$,mV as DeleteBucketPolicyCommand,EM as DeleteBucketPolicyRequest$,JR as DeleteBucketReplication$,hV as DeleteBucketReplicationCommand,DM as DeleteBucketReplicationRequest$,OM as DeleteBucketRequest$,YR as DeleteBucketTagging$,gV as DeleteBucketTaggingCommand,kM as DeleteBucketTaggingRequest$,XR as DeleteBucketWebsite$,_V as DeleteBucketWebsiteCommand,AM as DeleteBucketWebsiteRequest$,MM as DeleteMarkerEntry$,NM as DeleteMarkerReplication$,pW as DeleteMarkerReplicationStatus,ZR as DeleteObject$,QR as DeleteObjectAnnotation$,vV as DeleteObjectAnnotationCommand,PM as DeleteObjectAnnotationOutput$,FM as DeleteObjectAnnotationRequest$,yV as DeleteObjectCommand,IM as DeleteObjectOutput$,LM as DeleteObjectRequest$,ez as DeleteObjectTagging$,xV as DeleteObjectTaggingCommand,BM as DeleteObjectTaggingOutput$,VM as DeleteObjectTaggingRequest$,$R as DeleteObjects$,bV as DeleteObjectsCommand,RM as DeleteObjectsOutput$,zM as DeleteObjectsRequest$,tz as DeletePublicAccessBlock$,SV as DeletePublicAccessBlockCommand,HM as DeletePublicAccessBlockRequest$,jM as DeletedObject$,UM as Destination$,WM as DestinationResult$,AW as EncodingType,GM as Encryption$,KM as EncryptionConfiguration$,QU as EncryptionType,od as EncryptionTypeMismatch,$A as EncryptionTypeMismatch$,qM as EndEvent$,YM as ErrorDetails$,XM as ErrorDocument$,dW as Event,ZM as EventBridgeConfiguration$,QM as EventHoldDuration$,$M as ExistingObjectReplication$,gW as ExistingObjectReplicationStatus,JU as ExpirationState,oW as ExpirationStatus,IW as ExpressionType,RW as FileHeaderInfo,eN as FilterRule$,fW as FilterRuleName,nz as GetBucketAbac$,CV as GetBucketAbacCommand,tN as GetBucketAbacOutput$,nN as GetBucketAbacRequest$,rz as GetBucketAccelerateConfiguration$,wV as GetBucketAccelerateConfigurationCommand,rN as GetBucketAccelerateConfigurationOutput$,iN as GetBucketAccelerateConfigurationRequest$,iz as GetBucketAcl$,TV as GetBucketAclCommand,aN as GetBucketAclOutput$,oN as GetBucketAclRequest$,az as GetBucketAnalyticsConfiguration$,EV as GetBucketAnalyticsConfigurationCommand,sN as GetBucketAnalyticsConfigurationOutput$,cN as GetBucketAnalyticsConfigurationRequest$,oz as GetBucketCors$,DV as GetBucketCorsCommand,lN as GetBucketCorsOutput$,uN as GetBucketCorsRequest$,sz as GetBucketEncryption$,OV as GetBucketEncryptionCommand,dN as GetBucketEncryptionOutput$,fN as GetBucketEncryptionRequest$,cz as GetBucketIntelligentTieringConfiguration$,kV as GetBucketIntelligentTieringConfigurationCommand,pN as GetBucketIntelligentTieringConfigurationOutput$,mN as GetBucketIntelligentTieringConfigurationRequest$,lz as GetBucketInventoryConfiguration$,AV as GetBucketInventoryConfigurationCommand,hN as GetBucketInventoryConfigurationOutput$,gN as GetBucketInventoryConfigurationRequest$,uz as GetBucketLifecycleConfiguration$,jV as GetBucketLifecycleConfigurationCommand,_N as GetBucketLifecycleConfigurationOutput$,vN as GetBucketLifecycleConfigurationRequest$,dz as GetBucketLocation$,MV as GetBucketLocationCommand,yN as GetBucketLocationOutput$,bN as GetBucketLocationRequest$,fz as GetBucketLogging$,NV as GetBucketLoggingCommand,xN as GetBucketLoggingOutput$,SN as GetBucketLoggingRequest$,pz as GetBucketMetadataConfiguration$,PV as GetBucketMetadataConfigurationCommand,CN as GetBucketMetadataConfigurationOutput$,wN as GetBucketMetadataConfigurationRequest$,TN as GetBucketMetadataConfigurationResult$,mz as GetBucketMetadataTableConfiguration$,FV as GetBucketMetadataTableConfigurationCommand,EN as GetBucketMetadataTableConfigurationOutput$,DN as GetBucketMetadataTableConfigurationRequest$,ON as GetBucketMetadataTableConfigurationResult$,hz as GetBucketMetricsConfiguration$,IV as GetBucketMetricsConfigurationCommand,kN as GetBucketMetricsConfigurationOutput$,AN as GetBucketMetricsConfigurationRequest$,gz as GetBucketNotificationConfiguration$,LV as GetBucketNotificationConfigurationCommand,jN as GetBucketNotificationConfigurationRequest$,_z as GetBucketOwnershipControls$,RV as GetBucketOwnershipControlsCommand,MN as GetBucketOwnershipControlsOutput$,NN as GetBucketOwnershipControlsRequest$,vz as GetBucketPolicy$,zV as GetBucketPolicyCommand,PN as GetBucketPolicyOutput$,FN as GetBucketPolicyRequest$,yz as GetBucketPolicyStatus$,BV as GetBucketPolicyStatusCommand,IN as GetBucketPolicyStatusOutput$,LN as GetBucketPolicyStatusRequest$,bz as GetBucketReplication$,VV as GetBucketReplicationCommand,RN as GetBucketReplicationOutput$,zN as GetBucketReplicationRequest$,xz as GetBucketRequestPayment$,HV as GetBucketRequestPaymentCommand,BN as GetBucketRequestPaymentOutput$,VN as GetBucketRequestPaymentRequest$,Sz as GetBucketTagging$,UV as GetBucketTaggingCommand,HN as GetBucketTaggingOutput$,UN as GetBucketTaggingRequest$,Cz as GetBucketVersioning$,WV as GetBucketVersioningCommand,WN as GetBucketVersioningOutput$,GN as GetBucketVersioningRequest$,wz as GetBucketWebsite$,GV as GetBucketWebsiteCommand,KN as GetBucketWebsiteOutput$,qN as GetBucketWebsiteRequest$,Tz as GetObject$,Ez as GetObjectAcl$,KV as GetObjectAclCommand,JN as GetObjectAclOutput$,YN as GetObjectAclRequest$,Dz as GetObjectAnnotation$,qV as GetObjectAnnotationCommand,XN as GetObjectAnnotationOutput$,ZN as GetObjectAnnotationRequest$,Oz as GetObjectAttributes$,JV as GetObjectAttributesCommand,QN as GetObjectAttributesOutput$,$N as GetObjectAttributesParts$,eP as GetObjectAttributesRequest$,YV as GetObjectCommand,kz as GetObjectLegalHold$,XV as GetObjectLegalHoldCommand,tP as GetObjectLegalHoldOutput$,nP as GetObjectLegalHoldRequest$,Az as GetObjectLockConfiguration$,ZV as GetObjectLockConfigurationCommand,rP as GetObjectLockConfigurationOutput$,iP as GetObjectLockConfigurationRequest$,aP as GetObjectOutput$,oP as GetObjectRequest$,jz as GetObjectRetention$,QV as GetObjectRetentionCommand,sP as GetObjectRetentionOutput$,cP as GetObjectRetentionRequest$,Mz as GetObjectTagging$,$V as GetObjectTaggingCommand,lP as GetObjectTaggingOutput$,uP as GetObjectTaggingRequest$,Nz as GetObjectTorrent$,eH as GetObjectTorrentCommand,dP as GetObjectTorrentOutput$,fP as GetObjectTorrentRequest$,Pz as GetPublicAccessBlock$,tH as GetPublicAccessBlockCommand,pP as GetPublicAccessBlockOutput$,mP as GetPublicAccessBlockRequest$,hP as GlacierJobParameters$,gP as Grant$,_P as Grantee$,Fz as HeadBucket$,nH as HeadBucketCommand,vP as HeadBucketOutput$,yP as HeadBucketRequest$,Iz as HeadObject$,rH as HeadObjectCommand,bP as HeadObjectOutput$,xP as HeadObjectRequest$,md as IdempotencyParameterMismatch,ej as IdempotencyParameterMismatch$,SP as IndexDocument$,CP as Initiator$,wP as InputSerialization$,eW as IntelligentTieringAccessTier,TP as IntelligentTieringAndOperator$,EP as IntelligentTieringConfiguration$,DP as IntelligentTieringFilter$,$U as IntelligentTieringStatus,fd as InvalidAnnotationName,tj as InvalidAnnotationName$,nd as InvalidObjectState,nj as InvalidObjectState$,ad as InvalidPrefix,rj as InvalidPrefix$,sd as InvalidRequest,ij as InvalidRequest$,cd as InvalidWriteOffset,aj as InvalidWriteOffset$,OP as InventoryConfiguration$,qU as InventoryConfigurationState,kP as InventoryDestination$,AP as InventoryEncryption$,jP as InventoryFilter$,tW as InventoryFormat,iW as InventoryFrequency,nW as InventoryIncludedObjectVersions,rW as InventoryOptionalField,MP as InventoryS3BucketDestination$,NP as InventorySchedule$,PP as InventoryTableConfiguration$,FP as InventoryTableConfigurationResult$,IP as InventoryTableConfigurationUpdates$,BP as JSONInput$,VP as JSONOutput$,zW as JSONType,LP as JournalTableConfiguration$,RP as JournalTableConfigurationResult$,zP as JournalTableConfigurationUpdates$,HP as LambdaFunctionConfiguration$,UP as LifecycleExpiration$,WP as LifecycleRule$,GP as LifecycleRuleAndOperator$,KP as LifecycleRuleFilter$,Lz as ListBucketAnalyticsConfigurations$,iH as ListBucketAnalyticsConfigurationsCommand,qP as ListBucketAnalyticsConfigurationsOutput$,JP as ListBucketAnalyticsConfigurationsRequest$,Rz as ListBucketIntelligentTieringConfigurations$,aH as ListBucketIntelligentTieringConfigurationsCommand,YP as ListBucketIntelligentTieringConfigurationsOutput$,XP as ListBucketIntelligentTieringConfigurationsRequest$,zz as ListBucketInventoryConfigurations$,oH as ListBucketInventoryConfigurationsCommand,ZP as ListBucketInventoryConfigurationsOutput$,QP as ListBucketInventoryConfigurationsRequest$,Bz as ListBucketMetricsConfigurations$,sH as ListBucketMetricsConfigurationsCommand,$P as ListBucketMetricsConfigurationsOutput$,eF as ListBucketMetricsConfigurationsRequest$,Vz as ListBuckets$,cH as ListBucketsCommand,tF as ListBucketsOutput$,nF as ListBucketsRequest$,Hz as ListDirectoryBuckets$,lH as ListDirectoryBucketsCommand,rF as ListDirectoryBucketsOutput$,iF as ListDirectoryBucketsRequest$,Uz as ListMultipartUploads$,uH as ListMultipartUploadsCommand,aF as ListMultipartUploadsOutput$,oF as ListMultipartUploadsRequest$,Wz as ListObjectAnnotations$,dH as ListObjectAnnotationsCommand,sF as ListObjectAnnotationsOutput$,cF as ListObjectAnnotationsRequest$,qz as ListObjectVersions$,mH as ListObjectVersionsCommand,pF as ListObjectVersionsOutput$,mF as ListObjectVersionsRequest$,Gz as ListObjects$,fH as ListObjectsCommand,lF as ListObjectsOutput$,uF as ListObjectsRequest$,Kz as ListObjectsV2$,pH as ListObjectsV2Command,dF as ListObjectsV2Output$,fF as ListObjectsV2Request$,Jz as ListParts$,hH as ListPartsCommand,hF as ListPartsOutput$,gF as ListPartsRequest$,_F as LocationInfo$,HU as LocationType,vF as LoggingEnabled$,PW as MFADelete,xW as MFADeleteStatus,yF as MetadataConfiguration$,bF as MetadataConfigurationResult$,MU as MetadataDirective,xF as MetadataEntry$,SF as MetadataTableConfiguration$,CF as MetadataTableConfigurationResult$,wF as MetadataTableEncryptionConfiguration$,TF as Metrics$,EF as MetricsAndOperator$,DF as MetricsConfiguration$,TR as MetricsFilter$,mW as MetricsStatus,OF as MultipartUpload$,rd as NoSuchAnnotation,oj as NoSuchAnnotation$,ed as NoSuchBucket,sj as NoSuchBucket$,td as NoSuchKey,cj as NoSuchKey$,Yu as NoSuchUpload,lj as NoSuchUpload$,kF as NoncurrentVersionExpiration$,AF as NoncurrentVersionTransition$,id as NotFound,uj as NotFound$,jF as NotificationConfiguration$,MF as NotificationConfigurationFilter$,hd as ObjectAlreadyInActiveTierError,dj as ObjectAlreadyInActiveTierError$,EW as ObjectAttributes,kU as ObjectCannedACL,ER as ObjectEncryption$,PF as ObjectIdentifier$,FF as ObjectLockConfiguration$,DW as ObjectLockEnabled,NU as ObjectLockEventHold,IF as ObjectLockLegalHold$,PU as ObjectLockLegalHoldStatus,FU as ObjectLockMode,LF as ObjectLockRetention$,OW as ObjectLockRetentionMode,RF as ObjectLockRule$,Zu as ObjectNotInActiveTierError,fj as ObjectNotInActiveTierError$,WU as ObjectOwnership,zF as ObjectPart$,jW as ObjectStorageClass,BF as ObjectVersion$,NW as ObjectVersionStorageClass,MW as OptionalObjectAttributes,VF as OutputLocation$,HF as OutputSerialization$,UF as Owner$,EU as OwnerOverride,WF as OwnershipControls$,GF as OwnershipControlsRule$,KF as ParquetInput$,qF as Part$,lW as PartitionDateSource,JF as PartitionedPrefix$,bW as Payer,TU as Permission,YF as PolicyStatus$,XF as Progress$,ZF as ProgressEvent$,CW as Protocol,QF as PublicAccessBlockConfiguration$,Yz as PutBucketAbac$,gH as PutBucketAbacCommand,$F as PutBucketAbacRequest$,Xz as PutBucketAccelerateConfiguration$,_H as PutBucketAccelerateConfigurationCommand,eI as PutBucketAccelerateConfigurationRequest$,Zz as PutBucketAcl$,vH as PutBucketAclCommand,tI as PutBucketAclRequest$,Qz as PutBucketAnalyticsConfiguration$,yH as PutBucketAnalyticsConfigurationCommand,nI as PutBucketAnalyticsConfigurationRequest$,$z as PutBucketCors$,bH as PutBucketCorsCommand,rI as PutBucketCorsRequest$,eB as PutBucketEncryption$,xH as PutBucketEncryptionCommand,iI as PutBucketEncryptionRequest$,tB as PutBucketIntelligentTieringConfiguration$,SH as PutBucketIntelligentTieringConfigurationCommand,aI as PutBucketIntelligentTieringConfigurationRequest$,nB as PutBucketInventoryConfiguration$,CH as PutBucketInventoryConfigurationCommand,oI as PutBucketInventoryConfigurationRequest$,rB as PutBucketLifecycleConfiguration$,wH as PutBucketLifecycleConfigurationCommand,sI as PutBucketLifecycleConfigurationOutput$,cI as PutBucketLifecycleConfigurationRequest$,iB as PutBucketLogging$,TH as PutBucketLoggingCommand,lI as PutBucketLoggingRequest$,aB as PutBucketMetricsConfiguration$,EH as PutBucketMetricsConfigurationCommand,uI as PutBucketMetricsConfigurationRequest$,oB as PutBucketNotificationConfiguration$,DH as PutBucketNotificationConfigurationCommand,dI as PutBucketNotificationConfigurationRequest$,sB as PutBucketOwnershipControls$,OH as PutBucketOwnershipControlsCommand,fI as PutBucketOwnershipControlsRequest$,cB as PutBucketPolicy$,kH as PutBucketPolicyCommand,pI as PutBucketPolicyRequest$,lB as PutBucketReplication$,AH as PutBucketReplicationCommand,mI as PutBucketReplicationRequest$,uB as PutBucketRequestPayment$,jH as PutBucketRequestPaymentCommand,hI as PutBucketRequestPaymentRequest$,dB as PutBucketTagging$,MH as PutBucketTaggingCommand,gI as PutBucketTaggingRequest$,fB as PutBucketVersioning$,NH as PutBucketVersioningCommand,_I as PutBucketVersioningRequest$,pB as PutBucketWebsite$,PH as PutBucketWebsiteCommand,vI as PutBucketWebsiteRequest$,mB as PutObject$,hB as PutObjectAcl$,FH as PutObjectAclCommand,yI as PutObjectAclOutput$,bI as PutObjectAclRequest$,gB as PutObjectAnnotation$,IH as PutObjectAnnotationCommand,xI as PutObjectAnnotationOutput$,SI as PutObjectAnnotationRequest$,LH as PutObjectCommand,_B as PutObjectLegalHold$,RH as PutObjectLegalHoldCommand,CI as PutObjectLegalHoldOutput$,wI as PutObjectLegalHoldRequest$,vB as PutObjectLockConfiguration$,zH as PutObjectLockConfigurationCommand,TI as PutObjectLockConfigurationOutput$,EI as PutObjectLockConfigurationRequest$,DI as PutObjectOutput$,OI as PutObjectRequest$,yB as PutObjectRetention$,BH as PutObjectRetentionCommand,kI as PutObjectRetentionOutput$,AI as PutObjectRetentionRequest$,bB as PutObjectTagging$,VH as PutObjectTaggingCommand,jI as PutObjectTaggingOutput$,MI as PutObjectTaggingRequest$,xB as PutPublicAccessBlock$,HH as PutPublicAccessBlockCommand,NI as PutPublicAccessBlockRequest$,PI as QueueConfiguration$,BW as QuoteFields,FI as RecordExpiration$,II as RecordsEvent$,LI as Redirect$,RI as RedirectAllRequestsTo$,SB as RenameObject$,UH as RenameObjectCommand,zI as RenameObjectOutput$,BI as RenameObjectRequest$,VI as ReplicaModifications$,_W as ReplicaModificationsStatus,HI as ReplicationConfiguration$,UI as ReplicationRule$,WI as ReplicationRuleAndOperator$,GI as ReplicationRuleFilter$,yW as ReplicationRuleStatus,wW as ReplicationStatus,KI as ReplicationTime$,hW as ReplicationTimeStatus,qI as ReplicationTimeValue$,xU as RequestCharged,SU as RequestPayer,JI as RequestPaymentConfiguration$,YI as RequestProgress$,CB as RestoreObject$,WH as RestoreObjectCommand,XI as RestoreObjectOutput$,ZI as RestoreObjectRequest$,QI as RestoreRequest$,VW as RestoreRequestType,$I as RestoreStatus$,eL as RoutingRule$,yU as S3,YB as S3Client,tL as S3KeyFilter$,nL as S3Location$,E as S3ServiceException,qA as S3ServiceException$,uW as S3TablesBucketType,rL as S3TablesDestination$,iL as S3TablesDestinationResult$,hL as SSEKMS$,_L as SSEKMSEncryption$,vL as SSES3$,aL as ScanRange$,wB as SelectObjectContent$,GH as SelectObjectContentCommand,DR as SelectObjectContentEventStream$,oL as SelectObjectContentOutput$,sL as SelectObjectContentRequest$,cL as SelectParameters$,OU as ServerSideEncryption,lL as ServerSideEncryptionByDefault$,uL as ServerSideEncryptionConfiguration$,dL as ServerSideEncryptionRule$,fL as SessionCredentials$,YU as SessionMode,pL as SimplePrefix$,mL as SourceSelectionCriteria$,gL as SseKmsEncryptedObjects$,vW as SseKmsEncryptedObjectsStatus,yL as Stats$,bL as StatsEvent$,IU as StorageClass,xL as StorageClassAnalysis$,SL as StorageClassAnalysisDataExport$,ZU as StorageClassAnalysisSchemaVersion,KU as TableSseAlgorithm,CL as Tag$,wL as Tagging$,LU as TaggingDirective,TL as TargetGrant$,EL as TargetObjectKeyFormat$,FW as Tier,DL as Tiering$,ld as TooManyParts,pj as TooManyParts$,OL as TopicConfiguration$,kL as Transition$,sW as TransitionDefaultMinimumObjectSize,aW as TransitionStorageClass,wU as Type,pd as UnsupportedMediaType,mj as UnsupportedMediaType$,TB as UpdateBucketMetadataAnnotationTableConfiguration$,KH as UpdateBucketMetadataAnnotationTableConfigurationCommand,AL as UpdateBucketMetadataAnnotationTableConfigurationRequest$,EB as UpdateBucketMetadataInventoryTableConfiguration$,qH as UpdateBucketMetadataInventoryTableConfigurationCommand,jL as UpdateBucketMetadataInventoryTableConfigurationRequest$,DB as UpdateBucketMetadataJournalTableConfiguration$,JH as UpdateBucketMetadataJournalTableConfigurationCommand,ML as UpdateBucketMetadataJournalTableConfigurationRequest$,OB as UpdateObjectEncryption$,YH as UpdateObjectEncryptionCommand,NL as UpdateObjectEncryptionRequest$,PL as UpdateObjectEncryptionResponse$,kB as UploadPart$,XH as UploadPartCommand,AB as UploadPartCopy$,ZH as UploadPartCopyCommand,FL as UploadPartCopyOutput$,IL as UploadPartCopyRequest$,LL as UploadPartOutput$,RL as UploadPartRequest$,zL as VersioningConfiguration$,BL as WebsiteConfiguration$,jB as WriteGetObjectResponse$,QH as WriteGetObjectResponseCommand,VL as WriteGetObjectResponseRequest$,JM as _Error$,NF as _Object$,Le as __Client,jc as a,Oc as c,Tc as d,hj as errorTypeRegistries,wc as f,rc as g,ac as h,Pc as i,Dc as l,Sc as m,Fc as n,Ac as o,Cc as p,$H as paginateListBuckets,eU as paginateListDirectoryBuckets,tU as paginateListObjectAnnotations,nU as paginateListObjectsV2,rU as paginateListParts,Mc as r,kc as s,Ic as t,Ec as u,aU as waitForBucketExists,cU as waitForBucketNotExists,dU as waitForObjectExists,mU as waitForObjectNotExists,oU as waitUntilBucketExists,lU as waitUntilBucketNotExists,fU as waitUntilObjectExists,hU as waitUntilObjectNotExists};