import{mode as o}from"../../../../theme-tools/dist/esm/component.js";var e={bg:"blackAlpha.600",zIndex:"modal"};function l(o){var{isCentered:e,scrollBehavior:l}=o;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:e?"center":"flex-start",overflow:"inside"===l?"hidden":"auto"}}function r(e){var{scrollBehavior:l}=e;return{borderRadius:"md",bg:o("white","gray.700")(e),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:"inside"===l?"calc(100% - 7.5rem)":void 0,boxShadow:o("lg","dark-lg")(e)}}var t={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},a={position:"absolute",top:2,insetEnd:3};function i(o){var{scrollBehavior:e}=o;return{px:6,py:2,flex:1,overflow:"inside"===e?"auto":void 0}}var n={px:6,py:4};function d(o){return"full"===o?{dialog:{maxW:"100vw",minH:"100vh"}}:{dialog:{maxW:o}}}var s={parts:["overlay","dialogContainer","dialog","header","closeButton","body","footer"],baseStyle:o=>({overlay:e,dialogContainer:l(o),dialog:r(o),header:t,closeButton:a,body:i(o),footer:n}),sizes:{xs:d("xs"),sm:d("sm"),md:d("md"),lg:d("lg"),xl:d("xl"),"2xl":d("2xl"),"3xl":d("3xl"),"4xl":d("4xl"),"5xl":d("5xl"),"6xl":d("6xl"),full:d("full")},defaultProps:{size:"md"}};export default s;
//# sourceMappingURL=modal.js.map
