{"version":3,"file":"Box-DIdrGqpH.js","sources":["../../../node_modules/@mui/system/esm/createBox.js","../../../node_modules/@mui/material/Box/boxClasses.js","../../../node_modules/@mui/material/Box/Box.js"],"sourcesContent":["'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"className\", \"component\"];\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport styled from '@mui/styled-engine';\nimport styleFunctionSx, { extendSxProp } from './styleFunctionSx';\nimport useTheme from './useTheme';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function createBox(options = {}) {\n const {\n themeId,\n defaultTheme,\n defaultClassName = 'MuiBox-root',\n generateClassName\n } = options;\n const BoxRoot = styled('div', {\n shouldForwardProp: prop => prop !== 'theme' && prop !== 'sx' && prop !== 'as'\n })(styleFunctionSx);\n const Box = /*#__PURE__*/React.forwardRef(function Box(inProps, ref) {\n const theme = useTheme(defaultTheme);\n const _extendSxProp = extendSxProp(inProps),\n {\n className,\n component = 'div'\n } = _extendSxProp,\n other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded);\n return /*#__PURE__*/_jsx(BoxRoot, _extends({\n as: component,\n ref: ref,\n className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),\n theme: themeId ? theme[themeId] || theme : theme\n }, other));\n });\n return Box;\n}","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nconst boxClasses = generateUtilityClasses('MuiBox', ['root']);\nexport default boxClasses;","'use client';\n\nimport { createBox } from '@mui/system';\nimport PropTypes from 'prop-types';\nimport { unstable_ClassNameGenerator as ClassNameGenerator } from '../className';\nimport { createTheme } from '../styles';\nimport THEME_ID from '../styles/identifier';\nimport boxClasses from './boxClasses';\nconst defaultTheme = createTheme();\nconst Box = createBox({\n themeId: THEME_ID,\n defaultTheme,\n defaultClassName: boxClasses.root,\n generateClassName: ClassNameGenerator.generate\n});\nprocess.env.NODE_ENV !== \"production\" ? Box.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default Box;"],"names":["_excluded","createBox","options","themeId","defaultTheme","defaultClassName","generateClassName","BoxRoot","styled","prop","styleFunctionSx","React.forwardRef","inProps","ref","theme","useTheme","_extendSxProp","extendSxProp","className","component","other","_objectWithoutPropertiesLoose","_jsx","_extends","clsx","boxClasses","generateUtilityClasses","createTheme","Box","THEME_ID","ClassNameGenerator"],"mappings":"8PAIA,MAAMA,EAAY,CAAC,YAAa,WAAW,EAO5B,SAASC,EAAUC,EAAU,GAAI,CAC9C,KAAM,CACJ,QAAAC,EACA,aAAAC,EACA,iBAAAC,EAAmB,cACnB,kBAAAC,CACD,EAAGJ,EACEK,EAAUC,EAAO,MAAO,CAC5B,kBAAmBC,GAAQA,IAAS,SAAWA,IAAS,MAAQA,IAAS,IAC7E,CAAG,EAAEC,CAAe,EAgBlB,OAfyBC,EAAgB,WAAC,SAAaC,EAASC,EAAK,CACnE,MAAMC,EAAQC,EAASX,CAAY,EAC7BY,EAAgBC,EAAaL,CAAO,EACxC,CACE,UAAAM,EACA,UAAAC,EAAY,KACpB,EAAUH,EACJI,EAAQC,EAA8BL,EAAehB,CAAS,EAChE,OAAoBsB,EAAI,IAACf,EAASgB,EAAS,CACzC,GAAIJ,EACJ,IAAKN,EACL,UAAWW,EAAKN,EAAWZ,EAAoBA,EAAkBD,CAAgB,EAAIA,CAAgB,EACrG,MAAOF,GAAUW,EAAMX,CAAO,GAAKW,CACzC,EAAOM,CAAK,CAAC,CACb,CAAG,CAEH,CCpCA,MAAMK,EAAaC,EAAuB,SAAU,CAAC,MAAM,CAAC,ECOtDtB,EAAeuB,EAAY,EAC3BC,EAAM3B,EAAU,CACpB,QAAS4B,EACT,aAAAzB,EACA,iBAAkBqB,EAAW,KAC7B,kBAAmBK,EAAmB,QACxC,CAAC","x_google_ignoreList":[0,1,2]}