{"version":3,"file":"Button-bdbff37f.js","sources":["../../../../../../app/node_modules/react-bootstrap/esm/Button.js"],"sourcesContent":["\"use client\";\n\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { useButtonProps } from '@restart/ui/Button';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst Button = /*#__PURE__*/React.forwardRef(({\n as,\n bsPrefix,\n variant = 'primary',\n size,\n active = false,\n disabled = false,\n className,\n ...props\n}, ref) => {\n const prefix = useBootstrapPrefix(bsPrefix, 'btn');\n const [buttonProps, {\n tagName\n }] = useButtonProps({\n tagName: as,\n disabled,\n ...props\n });\n const Component = tagName;\n return /*#__PURE__*/_jsx(Component, {\n ...buttonProps,\n ...props,\n ref: ref,\n disabled: disabled,\n className: classNames(className, prefix, active && 'active', variant && `${prefix}-${variant}`, size && `${prefix}-${size}`, props.href && disabled && 'disabled')\n });\n});\nButton.displayName = 'Button';\nexport default Button;"],"names":["Button","React.forwardRef","as","bsPrefix","variant","size","active","disabled","className","props","ref","prefix","useBootstrapPrefix","buttonProps","tagName","useButtonProps","Component","_jsx","classNames","Button$1"],"mappings":"2LAOA,MAAMA,EAAsBC,EAAgB,WAAC,CAAC,CAC5C,GAAAC,EACA,SAAAC,EACA,QAAAC,EAAU,UACV,KAAAC,EACA,OAAAC,EAAS,GACT,SAAAC,EAAW,GACX,UAAAC,EACA,GAAGC,CACL,EAAGC,IAAQ,CACT,MAAMC,EAASC,EAAmBT,EAAU,KAAK,EAC3C,CAACU,EAAa,CAClB,QAAAC,CACD,CAAA,EAAIC,EAAe,CAClB,QAASb,EACT,SAAAK,EACA,GAAGE,CACP,CAAG,EACKO,EAAYF,EAClB,OAAoBG,EAAAA,IAAKD,EAAW,CAClC,GAAGH,EACH,GAAGJ,EACH,IAAKC,EACL,SAAUH,EACV,UAAWW,EAAWV,EAAWG,EAAQL,GAAU,SAAUF,GAAW,GAAGO,CAAM,IAAIP,CAAO,GAAIC,GAAQ,GAAGM,CAAM,IAAIN,CAAI,GAAII,EAAM,MAAQF,GAAY,UAAU,CACrK,CAAG,CACH,CAAC,EACDP,EAAO,YAAc,SACrB,MAAAmB,EAAenB","x_google_ignoreList":[0]}