\n \n { this.tooltipDOM = tooltip; }}\n title={this.props.title}\n className={this.props.className}\n tabIndex={this.props.tabIndex}\n style={{\n display: 'inline',\n ...this.props.style\n }}\n >\n {this.props.children}\n\n \n {this.state.reactDOMValue && (\n \n {this.state.reactDOMValue}\n
\n )}\n \n );\n }\n}\n\n\nTooltip.defaultProps = defaultProps;\n\nexport default Tooltip;\n\n\n\n// WEBPACK FOOTER //\n// ./src/Tooltip/component.js","import { Store, Selectors } from './globals'\n\nimport getCorePlacement from '../utils/getCorePlacement'\nimport find from '../utils/find'\nimport prefix from '../utils/prefix'\nimport closest from '../utils/closest'\n\n/**\n* Mousemove event listener callback method for follow cursor setting\n* @param {MouseEvent} e\n*/\nexport default function followCursorHandler(e) {\n const refData = find(Store, refData => refData.el === this)\n if (!refData) return;\n\n const {\n popper,\n settings: {\n offset\n }\n } = refData\n\n const position = getCorePlacement(popper.getAttribute('x-placement'))\n const halfPopperWidth = Math.round(popper.offsetWidth / 2)\n const halfPopperHeight = Math.round(popper.offsetHeight / 2)\n const viewportPadding = 5\n const pageWidth = document.documentElement.offsetWidth || document.body.offsetWidth\n\n const { pageX, pageY } = e\n\n let x, y\n\n switch (position) {\n case 'top':\n x = pageX - halfPopperWidth + offset\n y = pageY - 2.25 * halfPopperHeight\n break\n case 'left':\n x = pageX - ( 2 * halfPopperWidth ) - 10\n y = pageY - halfPopperHeight + offset\n break\n case 'right':\n x = pageX + halfPopperHeight\n y = pageY - halfPopperHeight + offset\n break\n case 'bottom':\n x = pageX - halfPopperWidth + offset\n y = pageY + halfPopperHeight/1.5\n break\n }\n\n const isRightOverflowing = pageX + viewportPadding + halfPopperWidth + offset > pageWidth\n const isLeftOverflowing = pageX - viewportPadding - halfPopperWidth + offset < 0\n\n // Prevent left/right overflow\n if (position === 'top' || position === 'bottom') {\n if (isRightOverflowing) {\n x = pageWidth - viewportPadding - ( 2 * halfPopperWidth)\n }\n\n if (isLeftOverflowing) {\n x = viewportPadding\n }\n }\n\n popper.style[prefix('transform')] = `translate3d(${x}px, ${y}px, 0)`\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Tooltip/js/core/followCursorHandler.js","import { Defaults } from '../core/globals'\n\n/**\n* Returns the distance taking into account the default distance due to\n* the transform: translate setting in CSS\n* @param {Number} distance\n* @return {String}\n*/\nexport default function getOffsetDistanceInPx(distance) {\n return -(distance - Defaults.distance) + 'px'\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Tooltip/js/utils/getOffsetDistanceInPx.js","/**\n* Removes the title from the tooltipped element, setting `data-original-title`\n* appropriately\n* @param {Element} el\n*/\nexport default function removeTitle(el) {\n const title = el.getAttribute('title')\n\n // Only set `data-original-title` attr if there is a title\n if (title) {\n el.setAttribute('data-original-title', title)\n }\n\n el.removeAttribute('title')\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Tooltip/js/utils/removeTitle.js","module.exports = __WEBPACK_EXTERNAL_MODULE_13__;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external {\"root\":\"React\",\"commonjs2\":\"react\",\"commonjs\":\"react\",\"amd\":\"react\",\"umd\":\"react\"}\n// module id = 13\n// module chunks = 0","import React from 'react';\nimport Tooltip from './component';\n\nconst withTooltip = (Component, options = {}) => ({\n ...props,\n}) => (\n