Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.116.118.214
{"version":3,"sources":["../node_modules/semantic-ui-react/dist/es/modules/Popup/PopupContent.js","../node_modules/semantic-ui-react/dist/es/modules/Popup/PopupHeader.js","../node_modules/semantic-ui-react/dist/es/modules/Popup/Popup.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","../node_modules/semantic-ui-react/dist/es/collections/Grid/GridColumn.js","../node_modules/semantic-ui-react/dist/es/collections/Grid/GridRow.js","../node_modules/semantic-ui-react/dist/es/collections/Grid/Grid.js","../node_modules/lodash/assign.js","../node_modules/lodash/_createAssigner.js","../node_modules/lodash/mapValues.js"],"names":["PopupContent","props","children","className","content","classes","classnames_default","rest","Object","getUnhandledProps","ElementType","getElementType","react_default","a","createElement","extends_default","lib","isNil","PopupHeader","handledProps","propTypes","create","factories","__webpack_require__","d","__webpack_exports__","Popup_Popup","POSITIONS","_Component","Popup","_getPrototypeOf2","_this","classCallCheck_default","this","_len","arguments","length","args","Array","_key","possibleConstructorReturn_default","getPrototypeOf_default","call","apply","concat","defineProperty_default","assertThisInitialized_default","positions","style","position","context","getContext","isBrowser","_this$props","horizontalOffset","verticalOffset","_window","window","pageYOffset","pageXOffset","_document$documentEle","document","documentElement","clientWidth","clientHeight","coords","getBoundingClientRect","includes_default","right","Math","round","left","xOffset","width","popupCoords","bottom","top","yOffset","height","_xOffset","isNumber_default","_window2","_document$documentEle2","element","computePopupStyle","keepInViewPort","without_default","i","isStyleInViewport","mapValues_default","value","setState","portalProps","_this$props2","on","hoverable","normalizedOn","isArray_default","closeOnPortalMouseLeave","mouseLeaveDelay","openOnTriggerClick","closeOnTriggerClick","closeOnDocumentClick","openOnTriggerFocus","closeOnTriggerBlur","openOnTriggerMouseEnter","closeOnTriggerMouseLeave","mouseEnterDelay","e","closed","eventStack","unsub","hideOnScroll","target","timeoutId","setTimeout","handleClose","invoke_default","sub","setPopupStyle","popupRef","triggerRef","inherits_default","createClass_default","key","prevProps","_this$props3","clearTimeout","_this$props4","basic","flowing","header","inverted","size","trigger","wide","disabled","_this$state","state","assign_default","classNameBuilders","unhandled","portalPropNames","Portal","reduce_default","acc","val","pick_default","popupJSX","ref","handlePopupRef","autoGenerateKey","mergedPortalProps","objectSpread_default","getPortalProps","onClose","onMount","handlePortalMount","onOpen","handleOpen","onUnmount","handlePortalUnmount","handleTriggerRef","react","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","n","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","Divider","clearing","fitted","hidden","horizontal","section","vertical","GridColumn","computer","color","floated","largeScreen","mobile","only","stretched","tablet","textAlign","verticalAlign","widescreen","GridRow","centered","columns","divided","reversed","Grid_GridRow","Grid","celled","container","doubling","padded","relaxed","stackable","Column","Row","assignValue","copyObject","createAssigner","isArrayLike","isPrototype","keys","hasOwnProperty","prototype","assign","object","source","module","exports","baseRest","isIterateeCall","assigner","sources","index","customizer","undefined","guard","baseAssignValue","baseForOwn","baseIteratee","iteratee","result"],"mappings":"mhBASe,SAAAA,EAAAC,GACf,IAAAC,EAAAD,EAAAC,SACAC,EAAAF,EAAAE,UACAC,EAAAH,EAAAG,QACAC,EAAgBC,IAAE,UAAAH,GAClBI,EAAaC,OAAAC,EAAA,EAAAD,CAAiBR,EAAAC,GAC9BS,EAAoBF,OAAAG,EAAA,EAAAH,CAAcR,EAAAC,GAClC,OAASW,EAAAC,EAAKC,cAAAJ,EAA4BK,IAAQ,GAAGR,EAAA,CACrDJ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static/js/40.b13a916b.chunk.js","sourcesContent":["import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * A PopupContent displays the content body of a Popover.\n */\n\nexport default function PopupContent(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('content', className);\n var rest = getUnhandledProps(PopupContent, props);\n var ElementType = getElementType(PopupContent, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\nPopupContent.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nPopupContent.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** The content of the Popup */\n children: PropTypes.node,\n /** Classes to add to the Popup content className. */\n className: PropTypes.string,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nPopupContent.create = createShorthandFactory(PopupContent, function (children) {\n return {\n children: children\n };\n});","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * A PopupHeader displays a header in a Popover.\n */\n\nexport default function PopupHeader(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('header', className);\n var rest = getUnhandledProps(PopupHeader, props);\n var ElementType = getElementType(PopupHeader, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\nPopupHeader.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nPopupHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nPopupHeader.create = createShorthandFactory(PopupHeader, function (children) {\n return {\n children: children\n };\n});","import _objectSpread from \"@babel/runtime/helpers/objectSpread\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _pick from \"lodash/pick\";\nimport _reduce from \"lodash/reduce\";\nimport _assign from \"lodash/assign\";\nimport _invoke from \"lodash/invoke\";\nimport _isArray from \"lodash/isArray\";\nimport _mapValues from \"lodash/mapValues\";\nimport _isNumber from \"lodash/isNumber\";\nimport _includes from \"lodash/includes\";\nimport _without from \"lodash/without\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React, { Component } from 'react';\nimport { eventStack, childrenUtils, customPropTypes, getElementType, getUnhandledProps, isBrowser, SUI, useKeyOnly, useKeyOrValueAndKey } from '../../lib';\nimport Portal from '../../addons/Portal';\nimport PopupContent from './PopupContent';\nimport PopupHeader from './PopupHeader';\nexport var POSITIONS = ['top left', 'top right', 'bottom right', 'bottom left', 'right center', 'left center', 'top center', 'bottom center'];\n/**\n * A Popup displays additional information on top of a page.\n */\n\nvar Popup = /*#__PURE__*/\nfunction (_Component) {\n _inherits(Popup, _Component);\n function Popup() {\n var _getPrototypeOf2;\n var _this;\n _classCallCheck(this, Popup);\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Popup)).call.apply(_getPrototypeOf2, [this].concat(args)));\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"state\", {});\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"computePopupStyle\", function (positions) {\n var style = {\n position: 'absolute'\n };\n var context = _this.getContext(); // Do not access window/document when server side rendering\n\n if (!isBrowser()) return style;\n var _this$props = _this.props,\n horizontalOffset = _this$props.horizontalOffset,\n verticalOffset = _this$props.verticalOffset;\n var _window = window,\n pageYOffset = _window.pageYOffset,\n pageXOffset = _window.pageXOffset;\n var _document$documentEle = document.documentElement,\n clientWidth = _document$documentEle.clientWidth,\n clientHeight = _document$documentEle.clientHeight;\n var coords = _this.coords || context.getBoundingClientRect();\n if (_includes(positions, 'right')) {\n style.right = Math.round(clientWidth - (coords.right + pageXOffset));\n style.left = 'auto';\n } else if (_includes(positions, 'left')) {\n style.left = Math.round(coords.left + pageXOffset);\n style.right = 'auto';\n } else {\n // if not left nor right, we are horizontally centering the element\n var xOffset = (coords.width - _this.popupCoords.width) / 2;\n style.left = Math.round(coords.left + xOffset + pageXOffset);\n style.right = 'auto';\n }\n if (_includes(positions, 'top')) {\n style.bottom = Math.round(clientHeight - (coords.top + pageYOffset));\n style.top = 'auto';\n } else if (_includes(positions, 'bottom')) {\n style.top = Math.round(coords.bottom + pageYOffset);\n style.bottom = 'auto';\n } else {\n // if not top nor bottom, we are vertically centering the element\n var yOffset = (coords.height + _this.popupCoords.height) / 2;\n style.top = Math.round(coords.bottom + pageYOffset - yOffset);\n style.bottom = 'auto';\n var _xOffset = _this.popupCoords.width + 8;\n if (_includes(positions, 'right')) {\n style.right -= _xOffset;\n } else {\n style.left -= _xOffset;\n }\n }\n if (horizontalOffset) {\n if (_isNumber(style.right)) {\n style.right -= horizontalOffset;\n } else {\n style.left -= horizontalOffset;\n }\n }\n if (verticalOffset) {\n if (_isNumber(style.top)) {\n style.top += verticalOffset;\n } else {\n style.bottom += verticalOffset;\n }\n }\n return style;\n });\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"isStyleInViewport\", function (style) {\n var _window2 = window,\n pageYOffset = _window2.pageYOffset,\n pageXOffset = _window2.pageXOffset;\n var _document$documentEle2 = document.documentElement,\n clientWidth = _document$documentEle2.clientWidth,\n clientHeight = _document$documentEle2.clientHeight;\n var element = {\n top: style.top,\n left: style.left,\n width: _this.popupCoords.width,\n height: _this.popupCoords.height\n };\n if (_isNumber(style.right)) {\n element.left = clientWidth - style.right - element.width;\n }\n if (_isNumber(style.bottom)) {\n element.top = clientHeight - style.bottom - element.height;\n } // hidden on top\n\n if (element.top < pageYOffset) return false; // hidden on the bottom\n\n if (element.top + element.height > pageYOffset + clientHeight) return false; // hidden the left\n\n if (element.left < pageXOffset) return false; // hidden on the right\n\n if (element.left + element.width > pageXOffset + clientWidth) return false;\n return true;\n });\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"setPopupStyle\", function () {\n var context = _this.getContext();\n if (!_this.coords && !context || !_this.popupCoords) return;\n var position = _this.props.position;\n var style = _this.computePopupStyle(position);\n var keepInViewPort = _this.props.keepInViewPort;\n if (keepInViewPort) {\n // Lets detect if the popup is out of the viewport and adjust\n // the position accordingly\n var positions = _without(POSITIONS, position).concat([position]);\n for (var i = 0; !_this.isStyleInViewport(style) && i < positions.length; i += 1) {\n style = _this.computePopupStyle(positions[i]);\n position = positions[i];\n }\n } // Append 'px' to every numerical values in the style\n\n style = _mapValues(style, function (value) {\n return _isNumber(value) ? \"\".concat(value, \"px\") : value;\n });\n _this.setState({\n style: style,\n position: position\n });\n });\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"getPortalProps\", function () {\n var portalProps = {};\n var _this$props2 = _this.props,\n on = _this$props2.on,\n hoverable = _this$props2.hoverable;\n var normalizedOn = _isArray(on) ? on : [on];\n if (hoverable) {\n portalProps.closeOnPortalMouseLeave = true;\n portalProps.mouseLeaveDelay = 300;\n }\n if (_includes(normalizedOn, 'click')) {\n portalProps.openOnTriggerClick = true;\n portalProps.closeOnTriggerClick = true;\n portalProps.closeOnDocumentClick = true;\n }\n if (_includes(normalizedOn, 'focus')) {\n portalProps.openOnTriggerFocus = true;\n portalProps.closeOnTriggerBlur = true;\n }\n if (_includes(normalizedOn, 'hover')) {\n portalProps.openOnTriggerMouseEnter = true;\n portalProps.closeOnTriggerMouseLeave = true; // Taken from SUI: https://git.io/vPmCm\n\n portalProps.mouseLeaveDelay = 70;\n portalProps.mouseEnterDelay = 50;\n }\n return portalProps;\n });\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"hideOnScroll\", function (e) {\n _this.setState({\n closed: true\n });\n eventStack.unsub('scroll', _this.hideOnScroll, {\n target: window\n });\n _this.timeoutId = setTimeout(function () {\n _this.setState({\n closed: false\n });\n }, 50);\n _this.handleClose(e);\n });\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handleClose\", function (e) {\n _invoke(_this.props, 'onClose', e, _this.props);\n });\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handleOpen\", function (e) {\n _this.coords = _this.getContext().getBoundingClientRect();\n _invoke(_this.props, 'onOpen', e, _this.props);\n });\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handlePortalMount\", function (e) {\n var hideOnScroll = _this.props.hideOnScroll;\n if (hideOnScroll) eventStack.sub('scroll', _this.hideOnScroll, {\n target: window\n });\n _this.setPopupStyle();\n _invoke(_this.props, 'onMount', e, _this.props);\n });\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handlePortalUnmount\", function (e) {\n var hideOnScroll = _this.props.hideOnScroll;\n if (hideOnScroll) eventStack.unsub('scroll', _this.hideOnScroll, {\n target: window\n });\n _invoke(_this.props, 'onUnmount', e, _this.props);\n });\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handlePopupRef\", function (popupRef) {\n _this.popupCoords = popupRef ? popupRef.getBoundingClientRect() : null;\n _this.setPopupStyle();\n });\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handleTriggerRef\", function (triggerRef) {\n _this.triggerRef = triggerRef;\n _this.setPopupStyle();\n });\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"getContext\", function () {\n return _this.props.context || _this.triggerRef;\n });\n return _this;\n }\n _createClass(Popup, [{\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n // if horizontal/vertical offsets change, re-calculate the CSS style\n var _this$props3 = this.props,\n horizontalOffset = _this$props3.horizontalOffset,\n verticalOffset = _this$props3.verticalOffset;\n if (horizontalOffset !== prevProps.horizontalOffset || verticalOffset !== prevProps.verticalOffset) {\n this.setPopupStyle();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n clearTimeout(this.timeoutId);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props4 = this.props,\n basic = _this$props4.basic,\n children = _this$props4.children,\n className = _this$props4.className,\n content = _this$props4.content,\n flowing = _this$props4.flowing,\n header = _this$props4.header,\n inverted = _this$props4.inverted,\n size = _this$props4.size,\n trigger = _this$props4.trigger,\n wide = _this$props4.wide,\n disabled = _this$props4.disabled;\n var _this$state = this.state,\n position = _this$state.position,\n closed = _this$state.closed;\n var style = _assign({}, this.state.style, this.props.style);\n var classes = cx('ui', position, size, useKeyOrValueAndKey(wide, 'wide'), useKeyOnly(basic, 'basic'), useKeyOnly(flowing, 'flowing'), useKeyOnly(inverted, 'inverted'), 'popup transition visible', className);\n if (closed || disabled) return trigger;\n var unhandled = getUnhandledProps(Popup, this.props);\n var portalPropNames = Portal.handledProps;\n var rest = _reduce(unhandled, function (acc, val, key) {\n if (!_includes(portalPropNames, key)) acc[key] = val;\n return acc;\n }, {});\n var portalProps = _pick(unhandled, portalPropNames);\n var ElementType = getElementType(Popup, this.props);\n var popupJSX = React.createElement(ElementType, _extends({}, rest, {\n className: classes,\n style: style,\n ref: this.handlePopupRef\n }), children, childrenUtils.isNil(children) && PopupHeader.create(header, {\n autoGenerateKey: false\n }), childrenUtils.isNil(children) && PopupContent.create(content, {\n autoGenerateKey: false\n }));\n var mergedPortalProps = _objectSpread({}, this.getPortalProps(), portalProps);\n return React.createElement(Portal, _extends({}, mergedPortalProps, {\n onClose: this.handleClose,\n onMount: this.handlePortalMount,\n onOpen: this.handleOpen,\n onUnmount: this.handlePortalUnmount,\n trigger: trigger,\n triggerRef: this.handleTriggerRef\n }), popupJSX);\n }\n }]);\n return Popup;\n}(Component);\n_defineProperty(Popup, \"defaultProps\", {\n position: 'top left',\n on: 'hover',\n keepInViewPort: true,\n disabled: false\n});\n_defineProperty(Popup, \"Content\", PopupContent);\n_defineProperty(Popup, \"Header\", PopupHeader);\n_defineProperty(Popup, \"handledProps\", [\"as\", \"basic\", \"children\", \"className\", \"content\", \"context\", \"disabled\", \"flowing\", \"header\", \"hideOnScroll\", \"horizontalOffset\", \"hoverable\", \"inverted\", \"keepInViewPort\", \"on\", \"onClose\", \"onMount\", \"onOpen\", \"onUnmount\", \"position\", \"size\", \"style\", \"trigger\", \"verticalOffset\", \"wide\"]);\nexport { Popup as default };\nPopup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Display the popup without the pointing arrow. */\n basic: PropTypes.bool,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Simple text content for the popover. */\n content: customPropTypes.itemShorthand,\n /** Existing element the pop-up should be bound to. */\n context: PropTypes.object,\n /** A disabled popup only renders its trigger. */\n disabled: PropTypes.bool,\n /** A flowing Popup has no maximum width and continues to flow to fit its content. */\n flowing: PropTypes.bool,\n /** Takes up the entire width of its offset container. */\n // TODO: implement the Popup fluid layout\n // fluid: PropTypes.bool,\n\n /** Header displayed above the content in bold. */\n header: customPropTypes.itemShorthand,\n /** Hide the Popup when scrolling the window. */\n hideOnScroll: PropTypes.bool,\n /** Whether the popup should not close on hover. */\n hoverable: PropTypes.bool,\n /** Invert the colors of the Popup. */\n inverted: PropTypes.bool,\n /** Horizontal offset in pixels to be applied to the Popup. */\n horizontalOffset: PropTypes.number,\n /** Vertical offset in pixels to be applied to the Popup. */\n verticalOffset: PropTypes.number,\n /** Events triggering the popup. */\n on: PropTypes.oneOfType([PropTypes.oneOf(['hover', 'click', 'focus']), PropTypes.arrayOf(PropTypes.oneOf(['hover', 'click', 'focus']))]),\n /**\n * Called when a close event happens.\n *\n * @param {SyntheticEvent} event - React's original SyntheticEvent.\n * @param {object} data - All props.\n */\n onClose: PropTypes.func,\n /**\n * Called when the portal is mounted on the DOM.\n *\n * @param {null}\n * @param {object} data - All props.\n */\n onMount: PropTypes.func,\n /**\n * Called when an open event happens.\n *\n * @param {SyntheticEvent} event - React's original SyntheticEvent.\n * @param {object} data - All props.\n */\n onOpen: PropTypes.func,\n /**\n * Called when the portal is unmounted from the DOM.\n *\n * @param {null}\n * @param {object} data - All props.\n */\n onUnmount: PropTypes.func,\n /** Position for the popover. */\n position: PropTypes.oneOf(POSITIONS),\n /** Popup size. */\n size: PropTypes.oneOf(_without(SUI.SIZES, 'medium', 'big', 'massive')),\n /** Custom Popup style. */\n style: PropTypes.object,\n /** Element to be rendered in-place where the popup is defined. */\n trigger: PropTypes.node,\n /** Popup width. */\n wide: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['very'])]),\n /** Element to be rendered within the confines of the viewport whenever possible. */\n keepInViewPort: PropTypes.bool\n} : {};","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A divider visually segments content into groups.\n */\n\nfunction Divider(props) {\n var children = props.children,\n className = props.className,\n clearing = props.clearing,\n content = props.content,\n fitted = props.fitted,\n hidden = props.hidden,\n horizontal = props.horizontal,\n inverted = props.inverted,\n section = props.section,\n vertical = props.vertical;\n var classes = cx('ui', useKeyOnly(clearing, 'clearing'), useKeyOnly(fitted, 'fitted'), useKeyOnly(hidden, 'hidden'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), useKeyOnly(section, 'section'), useKeyOnly(vertical, 'vertical'), 'divider', className);\n var rest = getUnhandledProps(Divider, props);\n var ElementType = getElementType(Divider, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\nDivider.handledProps = [\"as\", \"children\", \"className\", \"clearing\", \"content\", \"fitted\", \"hidden\", \"horizontal\", \"inverted\", \"section\", \"vertical\"];\nDivider.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Divider can clear the content above it. */\n clearing: PropTypes.bool,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n /** Divider can be fitted without any space above or below it. */\n fitted: PropTypes.bool,\n /** Divider can divide content without creating a dividing line. */\n hidden: PropTypes.bool,\n /** Divider can segment content horizontally. */\n horizontal: PropTypes.bool,\n /** Divider can have its colours inverted. */\n inverted: PropTypes.bool,\n /** Divider can provide greater margins to divide sections of content. */\n section: PropTypes.bool,\n /** Divider can segment content vertically. */\n vertical: PropTypes.bool\n} : {};\nexport default Divider;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { customPropTypes, createShorthandFactory, getElementType, getUnhandledProps, SUI, useKeyOnly, useMultipleProp, useTextAlignProp, useValueAndKey, useVerticalAlignProp, useWidthProp } from '../../lib';\n/**\n * A column sub-component for Grid.\n */\n\nfunction GridColumn(props) {\n var children = props.children,\n className = props.className,\n computer = props.computer,\n color = props.color,\n floated = props.floated,\n largeScreen = props.largeScreen,\n mobile = props.mobile,\n only = props.only,\n stretched = props.stretched,\n tablet = props.tablet,\n textAlign = props.textAlign,\n verticalAlign = props.verticalAlign,\n widescreen = props.widescreen,\n width = props.width;\n var classes = cx(color, useKeyOnly(stretched, 'stretched'), useMultipleProp(only, 'only'), useTextAlignProp(textAlign), useValueAndKey(floated, 'floated'), useVerticalAlignProp(verticalAlign), useWidthProp(computer, 'wide computer'), useWidthProp(largeScreen, 'wide large screen'), useWidthProp(mobile, 'wide mobile'), useWidthProp(tablet, 'wide tablet'), useWidthProp(widescreen, 'wide widescreen'), useWidthProp(width, 'wide'), 'column', className);\n var rest = getUnhandledProps(GridColumn, props);\n var ElementType = getElementType(GridColumn, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), children);\n}\nGridColumn.handledProps = [\"as\", \"children\", \"className\", \"color\", \"computer\", \"floated\", \"largeScreen\", \"mobile\", \"only\", \"stretched\", \"tablet\", \"textAlign\", \"verticalAlign\", \"widescreen\", \"width\"];\nGridColumn.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** A grid column can be colored. */\n color: PropTypes.oneOf(SUI.COLORS),\n /** A column can specify a width for a computer. */\n computer: customPropTypes.every([customPropTypes.disallow(['width']), PropTypes.oneOf(SUI.WIDTHS)]),\n /** A column can sit flush against the left or right edge of a row. */\n floated: PropTypes.oneOf(SUI.FLOATS),\n /** A column can specify a width for a large screen device. */\n largeScreen: customPropTypes.every([customPropTypes.disallow(['width']), PropTypes.oneOf(SUI.WIDTHS)]),\n /** A column can specify a width for a mobile device. */\n mobile: customPropTypes.every([customPropTypes.disallow(['width']), PropTypes.oneOf(SUI.WIDTHS)]),\n /** A column can appear only for a specific device, or screen sizes. */\n only: customPropTypes.multipleProp(SUI.VISIBILITY),\n /** A column can stretch its contents to take up the entire grid or row height. */\n stretched: PropTypes.bool,\n /** A column can specify a width for a tablet device. */\n tablet: customPropTypes.every([customPropTypes.disallow(['width']), PropTypes.oneOf(SUI.WIDTHS)]),\n /** A column can specify its text alignment. */\n textAlign: PropTypes.oneOf(SUI.TEXT_ALIGNMENTS),\n /** A column can specify its vertical alignment to have all its columns vertically centered. */\n verticalAlign: PropTypes.oneOf(SUI.VERTICAL_ALIGNMENTS),\n /** A column can specify a width for a wide screen device. */\n widescreen: customPropTypes.every([customPropTypes.disallow(['width']), PropTypes.oneOf(SUI.WIDTHS)]),\n /** Represents width of column. */\n width: customPropTypes.every([customPropTypes.disallow(['computer', 'largeScreen', 'mobile', 'tablet', 'widescreen']), PropTypes.oneOf(SUI.WIDTHS)])\n} : {};\nGridColumn.create = createShorthandFactory(GridColumn, function (children) {\n return {\n children: children\n };\n});\nexport default GridColumn;","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useMultipleProp, useTextAlignProp, useVerticalAlignProp, useWidthProp } from '../../lib';\n/**\n * A row sub-component for Grid.\n */\n\nfunction GridRow(props) {\n var centered = props.centered,\n children = props.children,\n className = props.className,\n color = props.color,\n columns = props.columns,\n divided = props.divided,\n only = props.only,\n reversed = props.reversed,\n stretched = props.stretched,\n textAlign = props.textAlign,\n verticalAlign = props.verticalAlign;\n var classes = cx(color, useKeyOnly(centered, 'centered'), useKeyOnly(divided, 'divided'), useKeyOnly(stretched, 'stretched'), useMultipleProp(only, 'only'), useMultipleProp(reversed, 'reversed'), useTextAlignProp(textAlign), useVerticalAlignProp(verticalAlign), useWidthProp(columns, 'column', true), 'row', className);\n var rest = getUnhandledProps(GridRow, props);\n var ElementType = getElementType(GridRow, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), children);\n}\nGridRow.handledProps = [\"as\", \"centered\", \"children\", \"className\", \"color\", \"columns\", \"divided\", \"only\", \"reversed\", \"stretched\", \"textAlign\", \"verticalAlign\"];\nGridRow.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** A row can have its columns centered. */\n centered: PropTypes.bool,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** A grid row can be colored. */\n color: PropTypes.oneOf(SUI.COLORS),\n /** Represents column count per line in Row. */\n columns: PropTypes.oneOf(_toConsumableArray(SUI.WIDTHS).concat(['equal'])),\n /** A row can have dividers between its columns. */\n divided: PropTypes.bool,\n /** A row can appear only for a specific device, or screen sizes. */\n only: customPropTypes.multipleProp(SUI.VISIBILITY),\n /** A row can specify that its columns should reverse order at different device sizes. */\n reversed: customPropTypes.multipleProp(['computer', 'computer vertically', 'mobile', 'mobile vertically', 'tablet', 'tablet vertically']),\n /** A row can stretch its contents to take up the entire column height. */\n stretched: PropTypes.bool,\n /** A row can specify its text alignment. */\n textAlign: PropTypes.oneOf(SUI.TEXT_ALIGNMENTS),\n /** A row can specify its vertical alignment to have all its columns vertically centered. */\n verticalAlign: PropTypes.oneOf(SUI.VERTICAL_ALIGNMENTS)\n} : {};\nexport default GridRow;","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useKeyOrValueAndKey, useMultipleProp, useTextAlignProp, useVerticalAlignProp, useWidthProp } from '../../lib';\nimport GridColumn from './GridColumn';\nimport GridRow from './GridRow';\n/**\n * A grid is used to harmonize negative space in a layout.\n */\n\nfunction Grid(props) {\n var celled = props.celled,\n centered = props.centered,\n children = props.children,\n className = props.className,\n columns = props.columns,\n container = props.container,\n divided = props.divided,\n doubling = props.doubling,\n inverted = props.inverted,\n padded = props.padded,\n relaxed = props.relaxed,\n reversed = props.reversed,\n stackable = props.stackable,\n stretched = props.stretched,\n textAlign = props.textAlign,\n verticalAlign = props.verticalAlign;\n var classes = cx('ui', useKeyOnly(centered, 'centered'), useKeyOnly(container, 'container'), useKeyOnly(doubling, 'doubling'), useKeyOnly(inverted, 'inverted'), useKeyOnly(stackable, 'stackable'), useKeyOnly(stretched, 'stretched'), useKeyOrValueAndKey(celled, 'celled'), useKeyOrValueAndKey(divided, 'divided'), useKeyOrValueAndKey(padded, 'padded'), useKeyOrValueAndKey(relaxed, 'relaxed'), useMultipleProp(reversed, 'reversed'), useTextAlignProp(textAlign), useVerticalAlignProp(verticalAlign), useWidthProp(columns, 'column', true), 'grid', className);\n var rest = getUnhandledProps(Grid, props);\n var ElementType = getElementType(Grid, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), children);\n}\nGrid.handledProps = [\"as\", \"celled\", \"centered\", \"children\", \"className\", \"columns\", \"container\", \"divided\", \"doubling\", \"inverted\", \"padded\", \"relaxed\", \"reversed\", \"stackable\", \"stretched\", \"textAlign\", \"verticalAlign\"];\nGrid.Column = GridColumn;\nGrid.Row = GridRow;\nGrid.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** A grid can have rows divided into cells. */\n celled: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['internally'])]),\n /** A grid can have its columns centered. */\n centered: PropTypes.bool,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Represents column count per row in Grid. */\n columns: PropTypes.oneOf(_toConsumableArray(SUI.WIDTHS).concat(['equal'])),\n /** A grid can be combined with a container to use the available layout and alignment. */\n container: PropTypes.bool,\n /** A grid can have dividers between its columns. */\n divided: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['vertically'])]),\n /** A grid can double its column width on tablet and mobile sizes. */\n doubling: PropTypes.bool,\n /** A grid's colors can be inverted. */\n inverted: PropTypes.bool,\n /** A grid can preserve its vertical and horizontal gutters on first and last columns. */\n padded: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['horizontally', 'vertically'])]),\n /** A grid can increase its gutters to allow for more negative space. */\n relaxed: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['very'])]),\n /** A grid can specify that its columns should reverse order at different device sizes. */\n reversed: customPropTypes.multipleProp(['computer', 'computer vertically', 'mobile', 'mobile vertically', 'tablet', 'tablet vertically']),\n /** A grid can have its columns stack on-top of each other after reaching mobile breakpoints. */\n stackable: PropTypes.bool,\n /** A grid can stretch its contents to take up the entire grid height. */\n stretched: PropTypes.bool,\n /** A grid can specify its text alignment. */\n textAlign: PropTypes.oneOf(SUI.TEXT_ALIGNMENTS),\n /** A grid can specify its vertical alignment to have all its columns vertically centered. */\n verticalAlign: PropTypes.oneOf(SUI.VERTICAL_ALIGNMENTS)\n} : {};\nexport default Grid;","var assignValue = require('./_assignValue'),\n copyObject = require('./_copyObject'),\n createAssigner = require('./_createAssigner'),\n isArrayLike = require('./isArrayLike'),\n isPrototype = require('./_isPrototype'),\n keys = require('./keys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\nvar assign = createAssigner(function (object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n});\nmodule.exports = assign;","var baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function (object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n customizer = assigner.length > 3 && typeof customizer == 'function' ? (length--, customizer) : undefined;\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\nmodule.exports = createAssigner;","var baseAssignValue = require('./_baseAssignValue'),\n baseForOwn = require('./_baseForOwn'),\n baseIteratee = require('./_baseIteratee');\n\n/**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\nfunction mapValues(object, iteratee) {\n var result = {};\n iteratee = baseIteratee(iteratee, 3);\n baseForOwn(object, function (value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n}\nmodule.exports = mapValues;"],"sourceRoot":""}
|