"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("../../../../_virtual/jsx-runtime.js"),l=require("./styles.js"),m=require("../../../Button/index.js"),d=require("../../../../utils/index.js");function b({stackedActionButtons:e,pinnedFooter:x,primaryAction:t,dismissAction:r,id:u,...s}){const a=d.getId(`${s["data-testid"]}-bottom-sheet-footer`),i=d.getId(`${s["data-trackid"]}-bottom-sheet-footer`),n=d.getId(u);return o.jsxRuntimeExports.jsxs(l.BottomSheetFooterWrapper,{pinnedFooter:x,stackedActionButtons:e,id:u,children:[t&&r&&o.jsxRuntimeExports.jsx(m.Button,{role:"button",...r,variant:"ghost",size:"medium","data-testid":a("dismiss-button"),"data-trackid":i("dismiss-button"),id:n("dismiss-button"),fullWidth:e,children:r.text}),t&&o.jsxRuntimeExports.jsx(m.Button,{role:"button",...t,size:"medium","data-testid":a("primary-button"),"data-trackid":i("primary-button"),id:n("primary-button"),fullWidth:e,children:t.text})]})}exports.BottomSheetFooter=b;
