Files
ETB/ETB-FrontEnd/node_modules/.cache/babel-loader/032f4ce3aebc70ae262ae37705568c0b600a9f30aabd706877b148a44c9f9045.json
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

1 line
10 KiB
JSON

{"ast":null,"code":"'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport Typography from '@mui/material/Typography';\nimport TimelineContext from '../Timeline/TimelineContext';\nimport { getTimelineOppositeContentUtilityClass } from './timelineOppositeContentClasses';\nimport convertTimelinePositionToClass from '../internal/convertTimelinePositionToClass';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n position,\n classes\n } = ownerState;\n const slots = {\n root: ['root', convertTimelinePositionToClass(position)]\n };\n return composeClasses(slots, getTimelineOppositeContentUtilityClass, classes);\n};\nconst TimelineOppositeContentRoot = styled(Typography, {\n name: 'MuiTimelineOppositeContent',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[convertTimelinePositionToClass(ownerState.position)]];\n }\n})(({\n ownerState\n}) => _extends({\n padding: '6px 16px',\n marginRight: 'auto',\n textAlign: 'right',\n flex: 1\n}, ownerState.position === 'left' && {\n textAlign: 'left'\n}));\nconst TimelineOppositeContent = /*#__PURE__*/React.forwardRef(function TimelineOppositeContent(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTimelineOppositeContent'\n });\n const {\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n position: positionContext\n } = React.useContext(TimelineContext);\n const ownerState = _extends({}, props, {\n position: positionContext || 'left'\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(TimelineOppositeContentRoot, _extends({\n component: \"div\",\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TimelineOppositeContent.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 * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\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;\nTimelineOppositeContent.muiName = 'TimelineOppositeContent';\nexport default TimelineOppositeContent;","map":{"version":3,"names":["_objectWithoutPropertiesLoose","_extends","_excluded","React","PropTypes","clsx","styled","useThemeProps","unstable_composeClasses","composeClasses","Typography","TimelineContext","getTimelineOppositeContentUtilityClass","convertTimelinePositionToClass","jsx","_jsx","useUtilityClasses","ownerState","position","classes","slots","root","TimelineOppositeContentRoot","name","slot","overridesResolver","props","styles","padding","marginRight","textAlign","flex","TimelineOppositeContent","forwardRef","inProps","ref","className","other","positionContext","useContext","component","process","env","NODE_ENV","propTypes","children","node","object","string","sx","oneOfType","arrayOf","func","bool","muiName"],"sources":["/home/gnx/Desktop/ETB/ETB-FrontEnd/node_modules/@mui/lab/TimelineOppositeContent/TimelineOppositeContent.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { styled, useThemeProps } from '@mui/material/styles';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport Typography from '@mui/material/Typography';\nimport TimelineContext from '../Timeline/TimelineContext';\nimport { getTimelineOppositeContentUtilityClass } from './timelineOppositeContentClasses';\nimport convertTimelinePositionToClass from '../internal/convertTimelinePositionToClass';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n position,\n classes\n } = ownerState;\n const slots = {\n root: ['root', convertTimelinePositionToClass(position)]\n };\n return composeClasses(slots, getTimelineOppositeContentUtilityClass, classes);\n};\nconst TimelineOppositeContentRoot = styled(Typography, {\n name: 'MuiTimelineOppositeContent',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[convertTimelinePositionToClass(ownerState.position)]];\n }\n})(({\n ownerState\n}) => _extends({\n padding: '6px 16px',\n marginRight: 'auto',\n textAlign: 'right',\n flex: 1\n}, ownerState.position === 'left' && {\n textAlign: 'left'\n}));\nconst TimelineOppositeContent = /*#__PURE__*/React.forwardRef(function TimelineOppositeContent(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiTimelineOppositeContent'\n });\n const {\n className\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n position: positionContext\n } = React.useContext(TimelineContext);\n const ownerState = _extends({}, props, {\n position: positionContext || 'left'\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(TimelineOppositeContentRoot, _extends({\n component: \"div\",\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TimelineOppositeContent.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 * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\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;\nTimelineOppositeContent.muiName = 'TimelineOppositeContent';\nexport default TimelineOppositeContent;"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,6BAA6B,MAAM,yDAAyD;AACnG,OAAOC,QAAQ,MAAM,oCAAoC;AACzD,MAAMC,SAAS,GAAG,CAAC,WAAW,CAAC;AAC/B,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,IAAI,MAAM,MAAM;AACvB,SAASC,MAAM,EAAEC,aAAa,QAAQ,sBAAsB;AAC5D,SAASC,uBAAuB,IAAIC,cAAc,QAAQ,WAAW;AACrE,OAAOC,UAAU,MAAM,0BAA0B;AACjD,OAAOC,eAAe,MAAM,6BAA6B;AACzD,SAASC,sCAAsC,QAAQ,kCAAkC;AACzF,OAAOC,8BAA8B,MAAM,4CAA4C;AACvF,SAASC,GAAG,IAAIC,IAAI,QAAQ,mBAAmB;AAC/C,MAAMC,iBAAiB,GAAGC,UAAU,IAAI;EACtC,MAAM;IACJC,QAAQ;IACRC;EACF,CAAC,GAAGF,UAAU;EACd,MAAMG,KAAK,GAAG;IACZC,IAAI,EAAE,CAAC,MAAM,EAAER,8BAA8B,CAACK,QAAQ,CAAC;EACzD,CAAC;EACD,OAAOT,cAAc,CAACW,KAAK,EAAER,sCAAsC,EAAEO,OAAO,CAAC;AAC/E,CAAC;AACD,MAAMG,2BAA2B,GAAGhB,MAAM,CAACI,UAAU,EAAE;EACrDa,IAAI,EAAE,4BAA4B;EAClCC,IAAI,EAAE,MAAM;EACZC,iBAAiB,EAAEA,CAACC,KAA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