{"version":3,"file":"PostListItem-IwK1rnyp.js","sources":["../../../frontend/src/Components/DesignSystem/PostListItem/partials/CardMedia.tsx","../../../frontend/src/Components/DesignSystem/PostListItem/partials/ParentLink.tsx","../../../frontend/src/Components/DesignSystem/PostListItem/partials/ResponsiveDivider.tsx","../../../node_modules/lodash.throttle/index.js","../../../node_modules/react-scroll/modules/mixins/passive-event-listeners.js","../../../node_modules/react-scroll/modules/mixins/scroll-spy.js","../../../node_modules/react-scroll/modules/mixins/utils.js","../../../node_modules/react-scroll/modules/mixins/smooth.js","../../../node_modules/react-scroll/modules/mixins/cancel-events.js","../../../node_modules/react-scroll/modules/mixins/scroll-events.js","../../../node_modules/react-scroll/modules/mixins/animate-scroll.js","../../../node_modules/react-scroll/modules/mixins/scroller.js","../../../node_modules/react-scroll/modules/mixins/scroll-hash.js","../../../node_modules/react-scroll/modules/mixins/scroll-link.js","../../../node_modules/react-scroll/modules/components/Link.js","../../../node_modules/react-scroll/modules/components/Button.js","../../../node_modules/react-scroll/modules/mixins/scroll-element.js","../../../node_modules/react-scroll/modules/components/Element.js","../../../node_modules/react-scroll/modules/mixins/Helpers.js","../../../node_modules/react-scroll/modules/index.js","../../../frontend/src/Components/DesignSystem/CounterButton/CounterButton.tsx","../../../frontend/src/Utils/Post/votes.ts","../../../frontend/src/Hooks/usePostVote.ts","../../../frontend/src/Components/Posts/Shared/VoteButton/VoteButton.tsx","../../../frontend/src/Components/Comments/Creation/Form/Form.tsx","../../../frontend/src/Components/Posts/Shared/ReplyButton/index.tsx","../../../frontend/src/Components/Posts/Shared/UpdateMyIdeaButton/UpdateMyIdeaButton.tsx","../../../frontend/src/Utils/scrollToOptions.ts","../../../frontend/src/Components/Posts/PostSidePrimaryActions/ScrollToAnswerButton.tsx","../../../frontend/src/Components/Posts/SecuredTitleIcon.tsx","../../../frontend/src/Components/Posts/Shared/InteractionsBox/ContributionLabel.tsx","../../../frontend/src/Components/Posts/Shared/InteractionsBox/ContributionButton.tsx","../../../frontend/src/Components/Posts/Shared/InteractionsBox/InteractionsBox.tsx","../../../frontend/src/Components/DesignSystem/PostListItem/partials/IdeaCostMeta.tsx","../../../frontend/src/Components/DesignSystem/PostListItem/PostListItem.tsx"],"sourcesContent":["import React from 'react';\nimport { CardMedia as MuiCardMedia } from '@mui/material';\nimport { styled } from '@mui/material/styles';\n\nexport const POST_CARD_HEIGHT = 200;\nconst POST_CARD_MEDIA_WIDTH = 300;\nconst POST_CARD_MEDIA_MOBILE_HEIGHT = 200;\n\nconst StyledCardMedia = styled(MuiCardMedia)(({ theme }: any) => ({\n margin: theme.spacing(2),\n width: `calc(${POST_CARD_MEDIA_WIDTH}px - ${theme.spacing(3)})`,\n minHeight: `calc(${POST_CARD_HEIGHT}px - ${theme.spacing(3)})`,\n flexShrink: 0,\n borderRadius: theme.shape.borderRadius * 2,\n [theme.breakpoints.up('xs')]: {\n marginRight: theme.spacing(1),\n },\n [theme.breakpoints.down('sm')]: {\n marginTop: theme.spacing(3),\n height: POST_CARD_MEDIA_MOBILE_HEIGHT,\n width: `calc(100% - ${theme.spacing(4)})`,\n },\n '& .MuiSkeleton-root': {\n minHeight: `calc(${POST_CARD_HEIGHT}px - ${theme.spacing(3)})`,\n [theme.breakpoints.down('sm')]: {\n width: `calc(100% - ${theme.spacing(3)})`,\n },\n },\n}));\n\nfunction CardMedia({ children, ...props }: any) {\n return {children};\n}\n\nexport default CardMedia;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { Box, Link as MuiLink, Typography } from '@mui/material';\nimport { Reply as ReplyIcon } from '@mui/icons-material';\n\nimport { postPath } from '../../../../Utils/routes';\n\nfunction ParentLink({ space, slug, title }: any) {\n return (\n \n \n \n \n\n \n {title}\n \n \n );\n}\n\nexport default ParentLink;\n","import React from 'react';\nimport { Box, Divider } from '@mui/material';\n\nimport Hidden from '../../Hidden';\n\nexport default function ResponsiveDivider() {\n return (\n \n \n \n \n \n );\n}\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = throttle;\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/*\r\n * Tell the browser that the event listener won't prevent a scroll.\r\n * Allowing the browser to continue scrolling without having to\r\n * to wait for the listener to return.\r\n */\nvar addPassiveEventListener = exports.addPassiveEventListener = function addPassiveEventListener(target, eventName, listener) {\n var listenerName = listener.name;\n if (!listenerName) {\n listenerName = eventName;\n console.warn('Listener must be a named function.');\n }\n\n if (!attachedListeners.has(eventName)) attachedListeners.set(eventName, new Set());\n var listeners = attachedListeners.get(eventName);\n if (listeners.has(listenerName)) return;\n\n var supportsPassiveOption = function () {\n var supportsPassiveOption = false;\n try {\n var opts = Object.defineProperty({}, 'passive', {\n get: function get() {\n supportsPassiveOption = true;\n }\n });\n window.addEventListener('test', null, opts);\n } catch (e) {}\n return supportsPassiveOption;\n }();\n target.addEventListener(eventName, listener, supportsPassiveOption ? { passive: true } : false);\n listeners.add(listenerName);\n};\n\nvar removePassiveEventListener = exports.removePassiveEventListener = function removePassiveEventListener(target, eventName, listener) {\n target.removeEventListener(eventName, listener);\n attachedListeners.get(eventName).delete(listener.name || eventName);\n};\n\nvar attachedListeners = new Map();","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _lodash = require('lodash.throttle');\n\nvar _lodash2 = _interopRequireDefault(_lodash);\n\nvar _passiveEventListeners = require('./passive-event-listeners');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// The eventHandler will execute at a rate of 15fps by default\nvar eventThrottler = function eventThrottler(eventHandler) {\n var throttleAmount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 66;\n return (0, _lodash2.default)(eventHandler, throttleAmount);\n};\n\nvar scrollSpy = {\n\n spyCallbacks: [],\n spySetState: [],\n scrollSpyContainers: [],\n\n mount: function mount(scrollSpyContainer, throttle) {\n if (scrollSpyContainer) {\n var eventHandler = eventThrottler(function (event) {\n scrollSpy.scrollHandler(scrollSpyContainer);\n }, throttle);\n scrollSpy.scrollSpyContainers.push(scrollSpyContainer);\n (0, _passiveEventListeners.addPassiveEventListener)(scrollSpyContainer, 'scroll', eventHandler);\n return function () {\n (0, _passiveEventListeners.removePassiveEventListener)(scrollSpyContainer, 'scroll', eventHandler);\n scrollSpy.scrollSpyContainers.splice(scrollSpy.scrollSpyContainers.indexOf(scrollSpyContainer), 1);\n };\n }\n return function () {};\n },\n isMounted: function isMounted(scrollSpyContainer) {\n return scrollSpy.scrollSpyContainers.indexOf(scrollSpyContainer) !== -1;\n },\n currentPositionX: function currentPositionX(scrollSpyContainer) {\n if (scrollSpyContainer === document) {\n var supportPageOffset = window.scrollY !== undefined;\n var isCSS1Compat = (document.compatMode || \"\") === \"CSS1Compat\";\n return supportPageOffset ? window.scrollX : isCSS1Compat ? document.documentElement.scrollLeft : document.body.scrollLeft;\n } else {\n return scrollSpyContainer.scrollLeft;\n }\n },\n currentPositionY: function currentPositionY(scrollSpyContainer) {\n if (scrollSpyContainer === document) {\n var supportPageOffset = window.scrollX !== undefined;\n var isCSS1Compat = (document.compatMode || \"\") === \"CSS1Compat\";\n return supportPageOffset ? window.scrollY : isCSS1Compat ? document.documentElement.scrollTop : document.body.scrollTop;\n } else {\n return scrollSpyContainer.scrollTop;\n }\n },\n scrollHandler: function scrollHandler(scrollSpyContainer) {\n var callbacks = scrollSpy.scrollSpyContainers[scrollSpy.scrollSpyContainers.indexOf(scrollSpyContainer)].spyCallbacks || [];\n callbacks.forEach(function (c) {\n return c(scrollSpy.currentPositionX(scrollSpyContainer), scrollSpy.currentPositionY(scrollSpyContainer));\n });\n },\n addStateHandler: function addStateHandler(handler) {\n scrollSpy.spySetState.push(handler);\n },\n addSpyHandler: function addSpyHandler(handler, scrollSpyContainer) {\n var container = scrollSpy.scrollSpyContainers[scrollSpy.scrollSpyContainers.indexOf(scrollSpyContainer)];\n\n if (!container.spyCallbacks) {\n container.spyCallbacks = [];\n }\n\n container.spyCallbacks.push(handler);\n },\n updateStates: function updateStates() {\n scrollSpy.spySetState.forEach(function (s) {\n return s();\n });\n },\n unmount: function unmount(stateHandler, spyHandler) {\n scrollSpy.scrollSpyContainers.forEach(function (c) {\n return c.spyCallbacks && c.spyCallbacks.length && c.spyCallbacks.indexOf(spyHandler) > -1 && c.spyCallbacks.splice(c.spyCallbacks.indexOf(spyHandler), 1);\n });\n\n if (scrollSpy.spySetState && scrollSpy.spySetState.length && scrollSpy.spySetState.indexOf(stateHandler) > -1) {\n scrollSpy.spySetState.splice(scrollSpy.spySetState.indexOf(stateHandler), 1);\n }\n\n document.removeEventListener('scroll', scrollSpy.scrollHandler);\n },\n\n\n update: function update() {\n return scrollSpy.scrollSpyContainers.forEach(function (c) {\n return scrollSpy.scrollHandler(c);\n });\n }\n};\n\nexports.default = scrollSpy;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar updateHash = function updateHash(hash, historyUpdate) {\n var hashVal = hash.indexOf(\"#\") === 0 ? hash.substring(1) : hash;\n var hashToUpdate = hashVal ? \"#\" + hashVal : \"\";\n var curLoc = window && window.location;\n var urlToPush = hashToUpdate ? curLoc.pathname + curLoc.search + hashToUpdate : curLoc.pathname + curLoc.search;\n historyUpdate ? history.pushState(history.state, \"\", urlToPush) : history.replaceState(history.state, \"\", urlToPush);\n};\n\nvar getHash = function getHash() {\n return window.location.hash.replace(/^#/, \"\");\n};\n\nvar filterElementInContainer = function filterElementInContainer(container) {\n return function (element) {\n return container.contains ? container != element && container.contains(element) : !!(container.compareDocumentPosition(element) & 16);\n };\n};\n\nvar isPositioned = function isPositioned(element) {\n return getComputedStyle(element).position !== \"static\";\n};\n\nvar getElementOffsetInfoUntil = function getElementOffsetInfoUntil(element, predicate) {\n var offsetTop = element.offsetTop;\n var currentOffsetParent = element.offsetParent;\n\n while (currentOffsetParent && !predicate(currentOffsetParent)) {\n offsetTop += currentOffsetParent.offsetTop;\n currentOffsetParent = currentOffsetParent.offsetParent;\n }\n\n return { offsetTop: offsetTop, offsetParent: currentOffsetParent };\n};\n\nvar scrollOffset = function scrollOffset(c, t, horizontal) {\n if (horizontal) {\n return c === document ? t.getBoundingClientRect().left + (window.scrollX || window.pageXOffset) : getComputedStyle(c).position !== \"static\" ? t.offsetLeft : t.offsetLeft - c.offsetLeft;\n } else {\n if (c === document) {\n return t.getBoundingClientRect().top + (window.scrollY || window.pageYOffset);\n }\n\n // The offsetParent of an element, according to MDN, is its nearest positioned\n // (an element whose position is anything other than static) ancestor. The offsetTop\n // of an element is taken with respect to its offsetParent which may not neccessarily\n // be its parentElement except the parent itself is positioned.\n\n // So if containerElement is positioned, then it must be an offsetParent somewhere\n // If it happens that targetElement is a descendant of the containerElement, and there\n // is not intermediate positioned element between the two of them, i.e.\n // targetElement\"s offsetParent is the same as the containerElement, then the\n // distance between the two will be the offsetTop of the targetElement.\n // If, on the other hand, there are intermediate positioned elements between the\n // two entities, the distance between the targetElement and the containerElement\n // will be the accumulation of the offsetTop of the element and that of its\n // subsequent offsetParent until the containerElement is reached, since it\n // will also be an offsetParent at some point due to the fact that it is positioned.\n\n // If the containerElement is not positioned, then it can\"t be an offsetParent,\n // which means that the offsetTop of the targetElement would not be with respect to it.\n // However, if the two of them happen to have the same offsetParent, then\n // the distance between them will be the difference between their offsetTop\n // since they are both taken with respect to the same entity.\n // The last resort would be to accumulate their offsetTop until a common\n // offsetParent is reached (usually the document) and taking the difference\n // between the accumulated offsetTops\n\n if (isPositioned(c)) {\n if (t.offsetParent !== c) {\n var isContainerElementOrDocument = function isContainerElementOrDocument(e) {\n return e === c || e === document;\n };\n\n var _getElementOffsetInfo = getElementOffsetInfoUntil(t, isContainerElementOrDocument),\n offsetTop = _getElementOffsetInfo.offsetTop,\n offsetParent = _getElementOffsetInfo.offsetParent;\n\n if (offsetParent !== c) {\n throw new Error(\"Seems containerElement is not an ancestor of the Element\");\n }\n\n return offsetTop;\n }\n\n return t.offsetTop;\n }\n\n if (t.offsetParent === c.offsetParent) {\n return t.offsetTop - c.offsetTop;\n }\n\n var isDocument = function isDocument(e) {\n return e === document;\n };\n return getElementOffsetInfoUntil(t, isDocument).offsetTop - getElementOffsetInfoUntil(c, isDocument).offsetTop;\n }\n};\n\nexports.default = {\n updateHash: updateHash,\n getHash: getHash,\n filterElementInContainer: filterElementInContainer,\n scrollOffset: scrollOffset\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = {\n /*\r\n * https://github.com/oblador/angular-scroll (duScrollDefaultEasing)\r\n */\n defaultEasing: function defaultEasing(x) {\n if (x < 0.5) {\n return Math.pow(x * 2, 2) / 2;\n }\n return 1 - Math.pow((1 - x) * 2, 2) / 2;\n },\n /*\r\n * https://gist.github.com/gre/1650294\r\n */\n // no easing, no acceleration\n linear: function linear(x) {\n return x;\n },\n // accelerating from zero velocity\n easeInQuad: function easeInQuad(x) {\n return x * x;\n },\n // decelerating to zero velocity\n easeOutQuad: function easeOutQuad(x) {\n return x * (2 - x);\n },\n // acceleration until halfway, then deceleration\n easeInOutQuad: function easeInOutQuad(x) {\n return x < .5 ? 2 * x * x : -1 + (4 - 2 * x) * x;\n },\n // accelerating from zero velocity \n easeInCubic: function easeInCubic(x) {\n return x * x * x;\n },\n // decelerating to zero velocity π\n easeOutCubic: function easeOutCubic(x) {\n return --x * x * x + 1;\n },\n // acceleration until halfway, then deceleration \n easeInOutCubic: function easeInOutCubic(x) {\n return x < .5 ? 4 * x * x * x : (x - 1) * (2 * x - 2) * (2 * x - 2) + 1;\n },\n // accelerating from zero velocity \n easeInQuart: function easeInQuart(x) {\n return x * x * x * x;\n },\n // decelerating to zero velocity \n easeOutQuart: function easeOutQuart(x) {\n return 1 - --x * x * x * x;\n },\n // acceleration until halfway, then deceleration\n easeInOutQuart: function easeInOutQuart(x) {\n return x < .5 ? 8 * x * x * x * x : 1 - 8 * --x * x * x * x;\n },\n // accelerating from zero velocity\n easeInQuint: function easeInQuint(x) {\n return x * x * x * x * x;\n },\n // decelerating to zero velocity\n easeOutQuint: function easeOutQuint(x) {\n return 1 + --x * x * x * x * x;\n },\n // acceleration until halfway, then deceleration \n easeInOutQuint: function easeInOutQuint(x) {\n return x < .5 ? 16 * x * x * x * x * x : 1 + 16 * --x * x * x * x * x;\n }\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _passiveEventListeners = require('./passive-event-listeners');\n\nvar events = ['mousedown', 'wheel', 'touchmove', 'keydown'];\n\nexports.default = {\n subscribe: function subscribe(cancelEvent) {\n return typeof document !== 'undefined' && events.forEach(function (event) {\n return (0, _passiveEventListeners.addPassiveEventListener)(document, event, cancelEvent);\n });\n }\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar Events = {\n\tregistered: {},\n\tscrollEvent: {\n\t\tregister: function register(evtName, callback) {\n\t\t\tEvents.registered[evtName] = callback;\n\t\t},\n\t\tremove: function remove(evtName) {\n\t\t\tEvents.registered[evtName] = null;\n\t\t}\n\t}\n};\n\nexports.default = Events;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nvar _smooth = require('./smooth');\n\nvar _smooth2 = _interopRequireDefault(_smooth);\n\nvar _cancelEvents = require('./cancel-events');\n\nvar _cancelEvents2 = _interopRequireDefault(_cancelEvents);\n\nvar _scrollEvents = require('./scroll-events');\n\nvar _scrollEvents2 = _interopRequireDefault(_scrollEvents);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/*\r\n * Gets the easing type from the smooth prop within options.\r\n */\nvar getAnimationType = function getAnimationType(options) {\n return _smooth2.default[options.smooth] || _smooth2.default.defaultEasing;\n};\n/*\r\n * Function helper\r\n */\nvar functionWrapper = function functionWrapper(value) {\n return typeof value === 'function' ? value : function () {\n return value;\n };\n};\n/*\r\n * Wraps window properties to allow server side rendering\r\n */\nvar currentWindowProperties = function currentWindowProperties() {\n if (typeof window !== 'undefined') {\n return window.requestAnimationFrame || window.webkitRequestAnimationFrame;\n }\n};\n\n/*\r\n * Helper function to never extend 60fps on the webpage.\r\n */\nvar requestAnimationFrameHelper = function () {\n return currentWindowProperties() || function (callback, element, delay) {\n window.setTimeout(callback, delay || 1000 / 60, new Date().getTime());\n };\n}();\n\nvar makeData = function makeData() {\n return {\n currentPosition: 0,\n startPosition: 0,\n targetPosition: 0,\n progress: 0,\n duration: 0,\n cancel: false,\n\n target: null,\n containerElement: null,\n to: null,\n start: null,\n delta: null,\n percent: null,\n delayTimeout: null\n };\n};\n\nvar currentPositionX = function currentPositionX(options) {\n var containerElement = options.data.containerElement;\n if (containerElement && containerElement !== document && containerElement !== document.body) {\n return containerElement.scrollLeft;\n } else {\n var supportPageOffset = window.pageXOffset !== undefined;\n var isCSS1Compat = (document.compatMode || \"\") === \"CSS1Compat\";\n return supportPageOffset ? window.pageXOffset : isCSS1Compat ? document.documentElement.scrollLeft : document.body.scrollLeft;\n }\n};\n\nvar currentPositionY = function currentPositionY(options) {\n var containerElement = options.data.containerElement;\n if (containerElement && containerElement !== document && containerElement !== document.body) {\n return containerElement.scrollTop;\n } else {\n var supportPageOffset = window.pageXOffset !== undefined;\n var isCSS1Compat = (document.compatMode || \"\") === \"CSS1Compat\";\n return supportPageOffset ? window.pageYOffset : isCSS1Compat ? document.documentElement.scrollTop : document.body.scrollTop;\n }\n};\n\nvar scrollContainerWidth = function scrollContainerWidth(options) {\n var containerElement = options.data.containerElement;\n if (containerElement && containerElement !== document && containerElement !== document.body) {\n return containerElement.scrollWidth - containerElement.offsetWidth;\n } else {\n var body = document.body;\n var html = document.documentElement;\n\n return Math.max(body.scrollWidth, body.offsetWidth, html.clientWidth, html.scrollWidth, html.offsetWidth);\n }\n};\n\nvar scrollContainerHeight = function scrollContainerHeight(options) {\n var containerElement = options.data.containerElement;\n if (containerElement && containerElement !== document && containerElement !== document.body) {\n return containerElement.scrollHeight - containerElement.offsetHeight;\n } else {\n var body = document.body;\n var html = document.documentElement;\n\n return Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);\n }\n};\n\nvar animateScroll = function animateScroll(easing, options, timestamp) {\n var data = options.data;\n\n // Cancel on specific events\n if (!options.ignoreCancelEvents && data.cancel) {\n if (_scrollEvents2.default.registered['end']) {\n _scrollEvents2.default.registered['end'](data.to, data.target, data.currentPositionY);\n }\n return;\n };\n\n data.delta = Math.round(data.targetPosition - data.startPosition);\n\n if (data.start === null) {\n data.start = timestamp;\n }\n\n data.progress = timestamp - data.start;\n\n data.percent = data.progress >= data.duration ? 1 : easing(data.progress / data.duration);\n\n data.currentPosition = data.startPosition + Math.ceil(data.delta * data.percent);\n\n if (data.containerElement && data.containerElement !== document && data.containerElement !== document.body) {\n if (options.horizontal) {\n data.containerElement.scrollLeft = data.currentPosition;\n } else {\n data.containerElement.scrollTop = data.currentPosition;\n }\n } else {\n if (options.horizontal) {\n window.scrollTo(data.currentPosition, 0);\n } else {\n window.scrollTo(0, data.currentPosition);\n }\n }\n\n if (data.percent < 1) {\n var easedAnimate = animateScroll.bind(null, easing, options);\n requestAnimationFrameHelper.call(window, easedAnimate);\n return;\n }\n\n if (_scrollEvents2.default.registered['end']) {\n _scrollEvents2.default.registered['end'](data.to, data.target, data.currentPosition);\n }\n};\n\nvar setContainer = function setContainer(options) {\n options.data.containerElement = !options ? null : options.containerId ? document.getElementById(options.containerId) : options.container && options.container.nodeType ? options.container : document;\n};\n\nvar animateTopScroll = function animateTopScroll(scrollOffset, options, to, target) {\n options.data = options.data || makeData();\n\n window.clearTimeout(options.data.delayTimeout);\n\n var setCancel = function setCancel() {\n options.data.cancel = true;\n };\n _cancelEvents2.default.subscribe(setCancel);\n\n setContainer(options);\n\n options.data.start = null;\n options.data.cancel = false;\n options.data.startPosition = options.horizontal ? currentPositionX(options) : currentPositionY(options);\n options.data.targetPosition = options.absolute ? scrollOffset : scrollOffset + options.data.startPosition;\n\n if (options.data.startPosition === options.data.targetPosition) {\n if (_scrollEvents2.default.registered['end']) {\n _scrollEvents2.default.registered['end'](options.data.to, options.data.target, options.data.currentPosition);\n }\n return;\n }\n\n options.data.delta = Math.round(options.data.targetPosition - options.data.startPosition);\n\n options.data.duration = functionWrapper(options.duration)(options.data.delta);\n options.data.duration = isNaN(parseFloat(options.data.duration)) ? 1000 : parseFloat(options.data.duration);\n options.data.to = to;\n options.data.target = target;\n\n var easing = getAnimationType(options);\n var easedAnimate = animateScroll.bind(null, easing, options);\n\n if (options && options.delay > 0) {\n options.data.delayTimeout = window.setTimeout(function () {\n if (_scrollEvents2.default.registered['begin']) {\n _scrollEvents2.default.registered['begin'](options.data.to, options.data.target);\n }\n requestAnimationFrameHelper.call(window, easedAnimate);\n }, options.delay);\n return;\n }\n\n if (_scrollEvents2.default.registered['begin']) {\n _scrollEvents2.default.registered['begin'](options.data.to, options.data.target);\n }\n requestAnimationFrameHelper.call(window, easedAnimate);\n};\n\nvar proceedOptions = function proceedOptions(options) {\n options = _extends({}, options);\n options.data = options.data || makeData();\n options.absolute = true;\n return options;\n};\n\nvar scrollToTop = function scrollToTop(options) {\n animateTopScroll(0, proceedOptions(options));\n};\n\nvar scrollTo = function scrollTo(toPosition, options) {\n animateTopScroll(toPosition, proceedOptions(options));\n};\n\nvar scrollToBottom = function scrollToBottom(options) {\n options = proceedOptions(options);\n setContainer(options);\n animateTopScroll(options.horizontal ? scrollContainerWidth(options) : scrollContainerHeight(options), options);\n};\n\nvar scrollMore = function scrollMore(toPosition, options) {\n options = proceedOptions(options);\n setContainer(options);\n var currentPosition = options.horizontal ? currentPositionX(options) : currentPositionY(options);\n animateTopScroll(toPosition + currentPosition, options);\n};\n\nexports.default = {\n animateTopScroll: animateTopScroll,\n getAnimationType: getAnimationType,\n scrollToTop: scrollToTop,\n scrollToBottom: scrollToBottom,\n scrollTo: scrollTo,\n scrollMore: scrollMore\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nvar _animateScroll = require('./animate-scroll');\n\nvar _animateScroll2 = _interopRequireDefault(_animateScroll);\n\nvar _scrollEvents = require('./scroll-events');\n\nvar _scrollEvents2 = _interopRequireDefault(_scrollEvents);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar __mapped = {};\nvar __activeLink = void 0;\n\nexports.default = {\n\n unmount: function unmount() {\n __mapped = {};\n },\n\n register: function register(name, element) {\n __mapped[name] = element;\n },\n\n unregister: function unregister(name) {\n delete __mapped[name];\n },\n\n get: function get(name) {\n return __mapped[name] || document.getElementById(name) || document.getElementsByName(name)[0] || document.getElementsByClassName(name)[0];\n },\n\n setActiveLink: function setActiveLink(link) {\n return __activeLink = link;\n },\n\n getActiveLink: function getActiveLink() {\n return __activeLink;\n },\n\n scrollTo: function scrollTo(to, props) {\n\n var target = this.get(to);\n\n if (!target) {\n console.warn(\"target Element not found\");\n return;\n }\n\n props = _extends({}, props, { absolute: false });\n\n var containerId = props.containerId;\n var container = props.container;\n\n var containerElement = void 0;\n if (containerId) {\n containerElement = document.getElementById(containerId);\n } else if (container && container.nodeType) {\n containerElement = container;\n } else {\n containerElement = document;\n }\n\n props.absolute = true;\n\n var horizontal = props.horizontal;\n var scrollOffset = _utils2.default.scrollOffset(containerElement, target, horizontal) + (props.offset || 0);\n\n /*\r\n * if animate is not provided just scroll into the view\r\n */\n if (!props.smooth) {\n if (_scrollEvents2.default.registered['begin']) {\n _scrollEvents2.default.registered['begin'](to, target);\n }\n\n if (containerElement === document) {\n if (props.horizontal) {\n window.scrollTo(scrollOffset, 0);\n } else {\n window.scrollTo(0, scrollOffset);\n }\n } else {\n containerElement.scrollTop = scrollOffset;\n }\n\n if (_scrollEvents2.default.registered['end']) {\n _scrollEvents2.default.registered['end'](to, target);\n }\n\n return;\n }\n\n /*\r\n * Animate scrolling\r\n */\n\n _animateScroll2.default.animateTopScroll(scrollOffset, props, to, target);\n }\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _passiveEventListeners = require('./passive-event-listeners');\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar scrollHash = {\n mountFlag: false,\n initialized: false,\n scroller: null,\n containers: {},\n\n mount: function mount(scroller) {\n this.scroller = scroller;\n\n this.handleHashChange = this.handleHashChange.bind(this);\n window.addEventListener('hashchange', this.handleHashChange);\n\n this.initStateFromHash();\n this.mountFlag = true;\n },\n mapContainer: function mapContainer(to, container) {\n this.containers[to] = container;\n },\n isMounted: function isMounted() {\n return this.mountFlag;\n },\n isInitialized: function isInitialized() {\n return this.initialized;\n },\n initStateFromHash: function initStateFromHash() {\n var _this = this;\n\n var hash = this.getHash();\n if (hash) {\n window.setTimeout(function () {\n _this.scrollTo(hash, true);\n _this.initialized = true;\n }, 10);\n } else {\n this.initialized = true;\n }\n },\n scrollTo: function scrollTo(to, isInit) {\n var scroller = this.scroller;\n var element = scroller.get(to);\n if (element && (isInit || to !== scroller.getActiveLink())) {\n var container = this.containers[to] || document;\n scroller.scrollTo(to, { container: container });\n }\n },\n getHash: function getHash() {\n return _utils2.default.getHash();\n },\n changeHash: function changeHash(to, saveHashHistory) {\n if (this.isInitialized() && _utils2.default.getHash() !== to) {\n _utils2.default.updateHash(to, saveHashHistory);\n }\n },\n handleHashChange: function handleHashChange() {\n this.scrollTo(this.getHash());\n },\n unmount: function unmount() {\n this.scroller = null;\n this.containers = null;\n window.removeEventListener('hashchange', this.handleHashChange);\n }\n};\n\nexports.default = scrollHash;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require(\"react\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _scrollSpy = require(\"./scroll-spy\");\n\nvar _scrollSpy2 = _interopRequireDefault(_scrollSpy);\n\nvar _scroller = require(\"./scroller\");\n\nvar _scroller2 = _interopRequireDefault(_scroller);\n\nvar _propTypes = require(\"prop-types\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _scrollHash = require(\"./scroll-hash\");\n\nvar _scrollHash2 = _interopRequireDefault(_scrollHash);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar protoTypes = {\n to: _propTypes2.default.string.isRequired,\n containerId: _propTypes2.default.string,\n container: _propTypes2.default.object,\n activeClass: _propTypes2.default.string,\n activeStyle: _propTypes2.default.object,\n spy: _propTypes2.default.bool,\n horizontal: _propTypes2.default.bool,\n smooth: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.string]),\n offset: _propTypes2.default.number,\n delay: _propTypes2.default.number,\n isDynamic: _propTypes2.default.bool,\n onClick: _propTypes2.default.func,\n duration: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.func]),\n absolute: _propTypes2.default.bool,\n onSetActive: _propTypes2.default.func,\n onSetInactive: _propTypes2.default.func,\n ignoreCancelEvents: _propTypes2.default.bool,\n hashSpy: _propTypes2.default.bool,\n saveHashHistory: _propTypes2.default.bool,\n spyThrottle: _propTypes2.default.number\n};\n\nexports.default = function (Component, customScroller) {\n var scroller = customScroller || _scroller2.default;\n\n var Link = function (_React$PureComponent) {\n _inherits(Link, _React$PureComponent);\n\n function Link(props) {\n _classCallCheck(this, Link);\n\n var _this = _possibleConstructorReturn(this, (Link.__proto__ || Object.getPrototypeOf(Link)).call(this, props));\n\n _initialiseProps.call(_this);\n\n _this.state = {\n active: false\n };\n _this.beforeUnmountCallbacks = [];\n return _this;\n }\n\n _createClass(Link, [{\n key: \"getScrollSpyContainer\",\n value: function getScrollSpyContainer() {\n var containerId = this.props.containerId;\n var container = this.props.container;\n\n if (containerId && !container) {\n return document.getElementById(containerId);\n }\n\n if (container && container.nodeType) {\n return container;\n }\n\n return document;\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n if (this.props.spy || this.props.hashSpy) {\n var scrollSpyContainer = this.getScrollSpyContainer();\n\n if (!_scrollSpy2.default.isMounted(scrollSpyContainer)) {\n var fn = _scrollSpy2.default.mount(scrollSpyContainer, this.props.spyThrottle);\n this.beforeUnmountCallbacks.push(fn);\n }\n\n if (this.props.hashSpy) {\n if (!_scrollHash2.default.isMounted()) {\n _scrollHash2.default.mount(scroller);\n }\n _scrollHash2.default.mapContainer(this.props.to, scrollSpyContainer);\n }\n\n _scrollSpy2.default.addSpyHandler(this.spyHandler, scrollSpyContainer);\n\n this.setState({\n container: scrollSpyContainer\n });\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n _scrollSpy2.default.unmount(this.stateHandler, this.spyHandler);\n this.beforeUnmountCallbacks.forEach(function (fn) {\n return fn();\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n var className = \"\";\n\n if (this.state && this.state.active) {\n className = ((this.props.className || \"\") + \" \" + (this.props.activeClass || \"active\")).trim();\n } else {\n className = this.props.className;\n }\n\n var style = {};\n\n if (this.state && this.state.active) {\n style = _extends({}, this.props.style, this.props.activeStyle);\n } else {\n style = _extends({}, this.props.style);\n }\n\n var props = _extends({}, this.props);\n\n for (var prop in protoTypes) {\n if (props.hasOwnProperty(prop)) {\n delete props[prop];\n }\n }\n\n props.className = className;\n props.style = style;\n props.onClick = this.handleClick;\n\n return _react2.default.createElement(Component, props);\n }\n }]);\n\n return Link;\n }(_react2.default.PureComponent);\n\n var _initialiseProps = function _initialiseProps() {\n var _this2 = this;\n\n this.scrollTo = function (to, props) {\n scroller.scrollTo(to, _extends({}, _this2.state, props));\n };\n\n this.handleClick = function (event) {\n /*\r\n * give the posibility to override onClick\r\n */\n\n if (_this2.props.onClick) {\n _this2.props.onClick(event);\n }\n\n /*\r\n * dont bubble the navigation\r\n */\n\n if (event.stopPropagation) event.stopPropagation();\n if (event.preventDefault) event.preventDefault();\n\n /*\r\n * do the magic!\r\n */\n _this2.scrollTo(_this2.props.to, _this2.props);\n };\n\n this.spyHandler = function (x, y) {\n var scrollSpyContainer = _this2.getScrollSpyContainer();\n\n if (_scrollHash2.default.isMounted() && !_scrollHash2.default.isInitialized()) {\n return;\n }\n\n var horizontal = _this2.props.horizontal;\n\n var to = _this2.props.to;\n var element = null;\n var isInside = void 0;\n var isOutside = void 0;\n\n if (horizontal) {\n var elemLeftBound = 0;\n var elemRightBound = 0;\n var containerLeft = 0;\n\n if (scrollSpyContainer.getBoundingClientRect) {\n var containerCords = scrollSpyContainer.getBoundingClientRect();\n containerLeft = containerCords.left;\n }\n\n if (!element || _this2.props.isDynamic) {\n element = scroller.get(to);\n if (!element) {\n return;\n }\n\n var cords = element.getBoundingClientRect();\n elemLeftBound = cords.left - containerLeft + x;\n elemRightBound = elemLeftBound + cords.width;\n }\n\n var offsetX = x - _this2.props.offset;\n isInside = offsetX >= Math.floor(elemLeftBound) && offsetX < Math.floor(elemRightBound);\n isOutside = offsetX < Math.floor(elemLeftBound) || offsetX >= Math.floor(elemRightBound);\n } else {\n var elemTopBound = 0;\n var elemBottomBound = 0;\n var containerTop = 0;\n\n if (scrollSpyContainer.getBoundingClientRect) {\n var _containerCords = scrollSpyContainer.getBoundingClientRect();\n containerTop = _containerCords.top;\n }\n\n if (!element || _this2.props.isDynamic) {\n element = scroller.get(to);\n if (!element) {\n return;\n }\n\n var _cords = element.getBoundingClientRect();\n\n elemTopBound = _cords.top - containerTop + y;\n elemBottomBound = elemTopBound + _cords.height;\n }\n\n var offsetY = y - _this2.props.offset;\n\n isInside = offsetY >= Math.floor(elemTopBound) && offsetY < Math.floor(elemBottomBound);\n isOutside = offsetY < Math.floor(elemTopBound) || offsetY >= Math.floor(elemBottomBound);\n }\n\n var activeLink = scroller.getActiveLink();\n\n if (isOutside) {\n if (to === activeLink) {\n scroller.setActiveLink(void 0);\n }\n\n if (_this2.props.hashSpy && _scrollHash2.default.getHash() === to) {\n var _props$saveHashHistor = _this2.props.saveHashHistory,\n saveHashHistory = _props$saveHashHistor === undefined ? false : _props$saveHashHistor;\n\n _scrollHash2.default.changeHash(\"\", saveHashHistory);\n }\n\n if (_this2.props.spy && _this2.state.active) {\n _this2.setState({ active: false });\n _this2.props.onSetInactive && _this2.props.onSetInactive(to, element);\n }\n }\n\n if (isInside && (activeLink !== to || _this2.state.active === false)) {\n scroller.setActiveLink(to);\n\n var _props$saveHashHistor2 = _this2.props.saveHashHistory,\n _saveHashHistory = _props$saveHashHistor2 === undefined ? false : _props$saveHashHistor2;\n\n _this2.props.hashSpy && _scrollHash2.default.changeHash(to, _saveHashHistory);\n\n if (_this2.props.spy) {\n _this2.setState({ active: true });\n _this2.props.onSetActive && _this2.props.onSetActive(to, element);\n }\n }\n };\n };\n\n Link.propTypes = protoTypes;\n\n Link.defaultProps = { offset: 0 };\n\n return Link;\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _scrollLink = require('../mixins/scroll-link');\n\nvar _scrollLink2 = _interopRequireDefault(_scrollLink);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar LinkElement = function (_React$Component) {\n _inherits(LinkElement, _React$Component);\n\n function LinkElement() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, LinkElement);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = LinkElement.__proto__ || Object.getPrototypeOf(LinkElement)).call.apply(_ref, [this].concat(args))), _this), _this.render = function () {\n return _react2.default.createElement(\n 'a',\n _this.props,\n _this.props.children\n );\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n return LinkElement;\n}(_react2.default.Component);\n\n;\n\nexports.default = (0, _scrollLink2.default)(LinkElement);","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _scrollLink = require('../mixins/scroll-link');\n\nvar _scrollLink2 = _interopRequireDefault(_scrollLink);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar ButtonElement = function (_React$Component) {\n _inherits(ButtonElement, _React$Component);\n\n function ButtonElement() {\n _classCallCheck(this, ButtonElement);\n\n return _possibleConstructorReturn(this, (ButtonElement.__proto__ || Object.getPrototypeOf(ButtonElement)).apply(this, arguments));\n }\n\n _createClass(ButtonElement, [{\n key: 'render',\n value: function render() {\n return _react2.default.createElement(\n 'button',\n this.props,\n this.props.children\n );\n }\n }]);\n\n return ButtonElement;\n}(_react2.default.Component);\n\n;\n\nexports.default = (0, _scrollLink2.default)(ButtonElement);","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nvar _scroller = require('./scroller');\n\nvar _scroller2 = _interopRequireDefault(_scroller);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nexports.default = function (Component) {\n var Element = function (_React$Component) {\n _inherits(Element, _React$Component);\n\n function Element(props) {\n _classCallCheck(this, Element);\n\n var _this = _possibleConstructorReturn(this, (Element.__proto__ || Object.getPrototypeOf(Element)).call(this, props));\n\n _this.childBindings = {\n domNode: null\n };\n return _this;\n }\n\n _createClass(Element, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (typeof window === 'undefined') {\n return false;\n }\n this.registerElems(this.props.name);\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n if (this.props.name !== prevProps.name) {\n this.registerElems(this.props.name);\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (typeof window === 'undefined') {\n return false;\n }\n _scroller2.default.unregister(this.props.name);\n }\n }, {\n key: 'registerElems',\n value: function registerElems(name) {\n _scroller2.default.register(name, this.childBindings.domNode);\n }\n }, {\n key: 'render',\n value: function render() {\n return _react2.default.createElement(Component, _extends({}, this.props, { parentBindings: this.childBindings }));\n }\n }]);\n\n return Element;\n }(_react2.default.Component);\n\n ;\n\n Element.propTypes = {\n name: _propTypes2.default.string,\n id: _propTypes2.default.string\n };\n\n return Element;\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _scrollElement = require('../mixins/scroll-element');\n\nvar _scrollElement2 = _interopRequireDefault(_scrollElement);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar ElementWrapper = function (_React$Component) {\n _inherits(ElementWrapper, _React$Component);\n\n function ElementWrapper() {\n _classCallCheck(this, ElementWrapper);\n\n return _possibleConstructorReturn(this, (ElementWrapper.__proto__ || Object.getPrototypeOf(ElementWrapper)).apply(this, arguments));\n }\n\n _createClass(ElementWrapper, [{\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n // Remove `parentBindings` and `name` from props\n var newProps = _extends({}, this.props);\n delete newProps.name;\n if (newProps.parentBindings) {\n delete newProps.parentBindings;\n }\n\n return _react2.default.createElement(\n 'div',\n _extends({}, newProps, { ref: function ref(el) {\n _this2.props.parentBindings.domNode = el;\n } }),\n this.props.children\n );\n }\n }]);\n\n return ElementWrapper;\n}(_react2.default.Component);\n\n;\n\nElementWrapper.propTypes = {\n name: _propTypes2.default.string,\n id: _propTypes2.default.string\n};\n\nexports.default = (0, _scrollElement2.default)(ElementWrapper);","\"use strict\";\n\n/* DEPRECATED */\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar React = require('react');\nvar ReactDOM = require('react-dom');\n\nvar utils = require('./utils');\nvar scrollSpy = require('./scroll-spy');\nvar defaultScroller = require('./scroller');\nvar PropTypes = require('prop-types');\nvar scrollHash = require('./scroll-hash');\n\nvar protoTypes = {\n to: PropTypes.string.isRequired,\n containerId: PropTypes.string,\n container: PropTypes.object,\n activeClass: PropTypes.string,\n spy: PropTypes.bool,\n smooth: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\n offset: PropTypes.number,\n delay: PropTypes.number,\n isDynamic: PropTypes.bool,\n onClick: PropTypes.func,\n duration: PropTypes.oneOfType([PropTypes.number, PropTypes.func]),\n absolute: PropTypes.bool,\n onSetActive: PropTypes.func,\n onSetInactive: PropTypes.func,\n ignoreCancelEvents: PropTypes.bool,\n hashSpy: PropTypes.bool,\n spyThrottle: PropTypes.number\n};\n\nvar Helpers = {\n Scroll: function Scroll(Component, customScroller) {\n\n console.warn(\"Helpers.Scroll is deprecated since v1.7.0\");\n\n var scroller = customScroller || defaultScroller;\n\n var Scroll = function (_React$Component) {\n _inherits(Scroll, _React$Component);\n\n function Scroll(props) {\n _classCallCheck(this, Scroll);\n\n var _this = _possibleConstructorReturn(this, (Scroll.__proto__ || Object.getPrototypeOf(Scroll)).call(this, props));\n\n _initialiseProps.call(_this);\n\n _this.state = {\n active: false\n };\n return _this;\n }\n\n _createClass(Scroll, [{\n key: 'getScrollSpyContainer',\n value: function getScrollSpyContainer() {\n var containerId = this.props.containerId;\n var container = this.props.container;\n\n if (containerId) {\n return document.getElementById(containerId);\n }\n\n if (container && container.nodeType) {\n return container;\n }\n\n return document;\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (this.props.spy || this.props.hashSpy) {\n var scrollSpyContainer = this.getScrollSpyContainer();\n\n if (!scrollSpy.isMounted(scrollSpyContainer)) {\n scrollSpy.mount(scrollSpyContainer, this.props.spyThrottle);\n }\n\n if (this.props.hashSpy) {\n if (!scrollHash.isMounted()) {\n scrollHash.mount(scroller);\n }\n scrollHash.mapContainer(this.props.to, scrollSpyContainer);\n }\n\n if (this.props.spy) {\n scrollSpy.addStateHandler(this.stateHandler);\n }\n\n scrollSpy.addSpyHandler(this.spyHandler, scrollSpyContainer);\n\n this.setState({\n container: scrollSpyContainer\n });\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n scrollSpy.unmount(this.stateHandler, this.spyHandler);\n }\n }, {\n key: 'render',\n value: function render() {\n var className = \"\";\n\n if (this.state && this.state.active) {\n className = ((this.props.className || \"\") + \" \" + (this.props.activeClass || \"active\")).trim();\n } else {\n className = this.props.className;\n }\n\n var props = _extends({}, this.props);\n\n for (var prop in protoTypes) {\n if (props.hasOwnProperty(prop)) {\n delete props[prop];\n }\n }\n\n props.className = className;\n props.onClick = this.handleClick;\n\n return React.createElement(Component, props);\n }\n }]);\n\n return Scroll;\n }(React.Component);\n\n var _initialiseProps = function _initialiseProps() {\n var _this2 = this;\n\n this.scrollTo = function (to, props) {\n scroller.scrollTo(to, _extends({}, _this2.state, props));\n };\n\n this.handleClick = function (event) {\n\n /*\r\n * give the posibility to override onClick\r\n */\n\n if (_this2.props.onClick) {\n _this2.props.onClick(event);\n }\n\n /*\r\n * dont bubble the navigation\r\n */\n\n if (event.stopPropagation) event.stopPropagation();\n if (event.preventDefault) event.preventDefault();\n\n /*\r\n * do the magic!\r\n */\n _this2.scrollTo(_this2.props.to, _this2.props);\n };\n\n this.stateHandler = function () {\n if (scroller.getActiveLink() !== _this2.props.to) {\n if (_this2.state !== null && _this2.state.active && _this2.props.onSetInactive) {\n _this2.props.onSetInactive();\n }\n _this2.setState({ active: false });\n }\n };\n\n this.spyHandler = function (y) {\n\n var scrollSpyContainer = _this2.getScrollSpyContainer();\n\n if (scrollHash.isMounted() && !scrollHash.isInitialized()) {\n return;\n }\n\n var to = _this2.props.to;\n var element = null;\n var elemTopBound = 0;\n var elemBottomBound = 0;\n var containerTop = 0;\n\n if (scrollSpyContainer.getBoundingClientRect) {\n var containerCords = scrollSpyContainer.getBoundingClientRect();\n containerTop = containerCords.top;\n }\n\n if (!element || _this2.props.isDynamic) {\n element = scroller.get(to);\n if (!element) {\n return;\n }\n\n var cords = element.getBoundingClientRect();\n elemTopBound = cords.top - containerTop + y;\n elemBottomBound = elemTopBound + cords.height;\n }\n\n var offsetY = y - _this2.props.offset;\n var isInside = offsetY >= Math.floor(elemTopBound) && offsetY < Math.floor(elemBottomBound);\n var isOutside = offsetY < Math.floor(elemTopBound) || offsetY >= Math.floor(elemBottomBound);\n var activeLink = scroller.getActiveLink();\n\n if (isOutside) {\n if (to === activeLink) {\n scroller.setActiveLink(void 0);\n }\n\n if (_this2.props.hashSpy && scrollHash.getHash() === to) {\n scrollHash.changeHash();\n }\n\n if (_this2.props.spy && _this2.state.active) {\n _this2.setState({ active: false });\n _this2.props.onSetInactive && _this2.props.onSetInactive();\n }\n\n return scrollSpy.updateStates();\n }\n\n if (isInside && activeLink !== to) {\n scroller.setActiveLink(to);\n\n _this2.props.hashSpy && scrollHash.changeHash(to);\n\n if (_this2.props.spy) {\n _this2.setState({ active: true });\n _this2.props.onSetActive && _this2.props.onSetActive(to);\n }\n return scrollSpy.updateStates();\n }\n };\n };\n\n ;\n\n Scroll.propTypes = protoTypes;\n\n Scroll.defaultProps = { offset: 0 };\n\n return Scroll;\n },\n Element: function Element(Component) {\n\n console.warn(\"Helpers.Element is deprecated since v1.7.0\");\n\n var Element = function (_React$Component2) {\n _inherits(Element, _React$Component2);\n\n function Element(props) {\n _classCallCheck(this, Element);\n\n var _this3 = _possibleConstructorReturn(this, (Element.__proto__ || Object.getPrototypeOf(Element)).call(this, props));\n\n _this3.childBindings = {\n domNode: null\n };\n return _this3;\n }\n\n _createClass(Element, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (typeof window === 'undefined') {\n return false;\n }\n this.registerElems(this.props.name);\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n if (this.props.name !== prevProps.name) {\n this.registerElems(this.props.name);\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (typeof window === 'undefined') {\n return false;\n }\n defaultScroller.unregister(this.props.name);\n }\n }, {\n key: 'registerElems',\n value: function registerElems(name) {\n defaultScroller.register(name, this.childBindings.domNode);\n }\n }, {\n key: 'render',\n value: function render() {\n return React.createElement(Component, _extends({}, this.props, { parentBindings: this.childBindings }));\n }\n }]);\n\n return Element;\n }(React.Component);\n\n ;\n\n Element.propTypes = {\n name: PropTypes.string,\n id: PropTypes.string\n };\n\n return Element;\n }\n};\n\nmodule.exports = Helpers;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Helpers = exports.ScrollElement = exports.ScrollLink = exports.animateScroll = exports.scrollSpy = exports.Events = exports.scroller = exports.Element = exports.Button = exports.Link = undefined;\n\nvar _Link = require('./components/Link.js');\n\nvar _Link2 = _interopRequireDefault(_Link);\n\nvar _Button = require('./components/Button.js');\n\nvar _Button2 = _interopRequireDefault(_Button);\n\nvar _Element = require('./components/Element.js');\n\nvar _Element2 = _interopRequireDefault(_Element);\n\nvar _scroller = require('./mixins/scroller.js');\n\nvar _scroller2 = _interopRequireDefault(_scroller);\n\nvar _scrollEvents = require('./mixins/scroll-events.js');\n\nvar _scrollEvents2 = _interopRequireDefault(_scrollEvents);\n\nvar _scrollSpy = require('./mixins/scroll-spy.js');\n\nvar _scrollSpy2 = _interopRequireDefault(_scrollSpy);\n\nvar _animateScroll = require('./mixins/animate-scroll.js');\n\nvar _animateScroll2 = _interopRequireDefault(_animateScroll);\n\nvar _scrollLink = require('./mixins/scroll-link.js');\n\nvar _scrollLink2 = _interopRequireDefault(_scrollLink);\n\nvar _scrollElement = require('./mixins/scroll-element.js');\n\nvar _scrollElement2 = _interopRequireDefault(_scrollElement);\n\nvar _Helpers = require('./mixins/Helpers.js');\n\nvar _Helpers2 = _interopRequireDefault(_Helpers);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.Link = _Link2.default;\nexports.Button = _Button2.default;\nexports.Element = _Element2.default;\nexports.scroller = _scroller2.default;\nexports.Events = _scrollEvents2.default;\nexports.scrollSpy = _scrollSpy2.default;\nexports.animateScroll = _animateScroll2.default;\nexports.ScrollLink = _scrollLink2.default;\nexports.ScrollElement = _scrollElement2.default;\nexports.Helpers = _Helpers2.default;\nexports.default = { Link: _Link2.default, Button: _Button2.default, Element: _Element2.default, scroller: _scroller2.default, Events: _scrollEvents2.default, scrollSpy: _scrollSpy2.default, animateScroll: _animateScroll2.default, ScrollLink: _scrollLink2.default, ScrollElement: _scrollElement2.default, Helpers: _Helpers2.default };","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport Button from '../../ButtonWithLoader';\nimport VotesTypes from '../../../Utils/Types/VoteTypes';\nimport EmojiIcon from './EmojiIcon';\n\nfunction CounterButton({ active = false, showLabel = true, reaction, children, ...props }: any) {\n if (!showLabel) {\n return (\n \n );\n }\n return (\n }\n loadingPosition=\"start\"\n {...props}\n >\n {children}\n \n );\n}\n\nCounterButton.propTypes = {\n active: PropTypes.bool,\n reaction: PropTypes.oneOf(Object.values(VotesTypes)).isRequired,\n};\n\nexport default CounterButton;\n","import { PostTypes } from '../Types';\nimport VotesTypes from '../Types/VoteTypes';\n\nexport const canOnlyUpvote = (parent: any) => {\n const { type: parentType } = parent || {};\n\n return [PostTypes.PARTICIPATORY_BUDGET, PostTypes.COLLABORATIVE_DECISION].includes(parentType);\n};\n\nexport const getReactionVotes = (parent: any) => {\n const reactionVotesList = [VotesTypes.SUPPORT];\n\n if (!canOnlyUpvote(parent)) {\n reactionVotesList.push(VotesTypes.NOT_SUPPORT);\n }\n\n return reactionVotesList;\n};\n\nexport const voteTypeValue = (voteType: any) => {\n switch (voteType) {\n case VotesTypes.SUPPORT:\n return 1;\n case VotesTypes.NOT_SUPPORT:\n return -1;\n default:\n return 0;\n }\n};\n\nexport const getVoteNameByPostType = (parentPostType: any) => {\n if (parentPostType === PostTypes.PARTICIPATORY_BUDGET) {\n return {\n [VotesTypes.SUPPORT]: 'VOTE_FOR',\n [VotesTypes.NOT_SUPPORT]: 'VOTE_AGAINST',\n };\n }\n\n return {\n [VotesTypes.SUPPORT]: 'SUPPORT',\n [VotesTypes.NOT_SUPPORT]: 'NOT_SUPPORT',\n };\n};\n","import { useState } from 'react';\nimport { useQueryClient } from 'react-query';\nimport { get } from 'lodash';\nimport { useIntl } from 'react-intl';\n\nimport { votePost } from '../Services/Api';\nimport queriesConfig from '../Services/queriesConfig';\nimport VotesTypes from '../Utils/Types/VoteTypes';\nimport Analytics from '../Services/AnalyticsService';\nimport { canOnlyUpvote, getReactionVotes, voteTypeValue } from '../Utils/Post/votes';\nimport { validateCanVote } from '../Utils/Post/securedStrategies';\nimport { useNotifications } from '@toolpad/core/useNotifications';\nimport { notify } from '../Utils/NotificationUtils';\n\nconst getVoteType = (vote: any) => {\n if (vote === 1) {\n return VotesTypes.SUPPORT;\n }\n if (vote === -1) {\n return VotesTypes.NOT_SUPPORT;\n }\n return null;\n};\n\nexport default (post: any, trackingProps: any) => {\n const intl = useIntl();\n const [error, setError] = useState(null);\n const [loading, setLoading] = useState(false);\n const notifications = useNotifications();\n const queryClient = useQueryClient();\n const parentPost = post.included.source;\n const reactionVotes = getReactionVotes(parentPost);\n const selectedVote = getVoteType(post?.meta?.user_vote_value);\n const vote = async (voteType: any) => {\n const isCancelingVote = selectedVote && selectedVote === voteType;\n\n await validateCanVote(post?.included?.source, async () => {\n try {\n setLoading(true);\n\n const response = await votePost(post.id, voteTypeValue(voteType), isCancelingVote);\n\n const updatedParentPost = (get(response, 'data.data.included.source') || {}) as any;\n\n // In case voting directly on a post liste, we need to refresh the whole list\n // to get the new can_create_vote which is depending on budgets, numbers of votes, …\n queryClient.invalidateQueries(['post-children']);\n\n queryClient.setQueryData(\n queriesConfig.getPost(updatedParentPost?.id).queryKey,\n (oldData: any) => {\n return oldData\n ? {\n ...oldData,\n data: {\n ...oldData?.data,\n data: {\n ...oldData?.data?.data,\n ...updatedParentPost,\n },\n },\n }\n : oldData;\n },\n );\n\n queryClient.setQueryData(queriesConfig.getPost(post.id).queryKey, response);\n\n setLoading(false);\n\n if (!isCancelingVote) {\n Analytics.track('Post', 'Vote Post', `Vote ${voteType}`, {\n 'Post ID': post.id,\n ...trackingProps,\n });\n notify(notifications, intl.formatMessage({ id: 'BUTTONS.VOTE.TOAST.SUCCESS' }));\n } else {\n notify(notifications, intl.formatMessage({ id: 'BUTTONS.VOTE.TOAST.CANCEL' }));\n }\n } catch (postError) {\n setError(postError);\n setLoading(false);\n }\n });\n };\n\n return {\n vote,\n selectedVote,\n reactionVotes,\n canOnlyUpvote,\n loading,\n error,\n };\n};\n","import React from 'react';\nimport { Box, Tooltip } from '@mui/material';\nimport PropTypes from 'prop-types';\nimport { FormattedMessage } from 'react-intl';\nimport { useModal } from 'mui-modal-provider';\nimport { useNavigate } from 'react-router-dom';\n\nimport CounterButton from '../../../DesignSystem/CounterButton';\nimport usePostVote from '../../../../Hooks/usePostVote';\nimport useSpace from '../../../../Hooks/useSpace';\nimport useCurrentUser from '../../../../Hooks/useCurrentUser';\nimport { VoteTypes, PostStatuses, PostTypes } from '../../../../Utils/Types';\nimport { getVoteNameByPostType } from '../../../../Utils/Post/votes';\nimport { loginPath } from '../../../../Utils/routes';\nimport EntitySubscriptionModal from '../../../EntitySubscriptionModal';\n\nconst votableStatuses = [\n PostStatuses.SELECTED,\n PostStatuses.VALIDATED,\n PostStatuses.IN_PROGRESS,\n PostStatuses.DONE,\n];\n\nfunction VoteButton({\n reaction,\n post,\n isResponsive = false,\n showLabel = true,\n onClickVote = () => {},\n trackingProps,\n ...props\n}: any) {\n const { vote, selectedVote, loading: voting } = usePostVote(post, trackingProps);\n const parent = post.included.source;\n const { space } = useSpace();\n const navigate = useNavigate();\n const { showModal } = useModal();\n\n const { isLoggedIn } = useCurrentUser();\n const { type } = parent;\n const canCreateVote = post.permissions.can_create_vote;\n const hasReachMaxVotes =\n !!parent.voting_options.max_votes &&\n parent.voting_options.max_votes <= parent.meta?.user_votes_info?.total_votes;\n const noBudgetLeft =\n parent?.voting_options?.budget_rule &&\n !parent.meta?.user_votes_info?.budget_left <= post.budget;\n const hasVotableStatus =\n votableStatuses.includes(post.status) || PostTypes.IDEAS_REQUEST === type;\n // we allow non logged in users to click on the vote button\n // then we take them to the login page\n const voteDisabled = isLoggedIn && (!canCreateVote || !hasVotableStatus);\n\n const onClick = async (event: any) => {\n event.preventDefault();\n\n if (!isLoggedIn) {\n navigate(loginPath());\n } else {\n if (!space.entity_subscription) {\n showModal(EntitySubscriptionModal);\n } else {\n // Checks for secured strategies are done in the usePostVote hook\n // and handles redirect to the secured strategies page\n await vote(reaction);\n onClickVote();\n }\n }\n\n return false;\n };\n\n let tooltipLabel;\n\n if (hasReachMaxVotes) {\n tooltipLabel = ;\n } else if (noBudgetLeft) {\n tooltipLabel = ;\n }\n\n return (\n \n \n event.stopPropagation()}\n isFetching={voting}\n data-testid=\"vote-button\"\n disabled={voteDisabled}\n showLabel={showLabel}\n {...props}\n >\n \n \n \n \n );\n}\n\nVoteButton.propTypes = {\n reaction: PropTypes.oneOf(Object.values(VoteTypes)).isRequired,\n isResponsive: PropTypes.bool,\n post: PropTypes.object,\n onClickVote: PropTypes.func,\n trackingProps: PropTypes.object,\n showLabel: PropTypes.bool,\n size: PropTypes.oneOf(['small', 'medium', 'large']),\n};\n\nexport default VoteButton;\n","import React, { useState } from 'react';\nimport { Button } from '@mui/material';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { useModal } from 'mui-modal-provider';\nimport { useNavigate } from 'react-router-dom';\n\nimport CommentAndStatusUpdate from '../../../Posts/Shared/CommentAndStatusUpdate';\nimport AnalyticsService from '../../../../Services/AnalyticsService';\nimport { replyBtnTextId } from '../../../Posts/PostSidePrimaryActions/utils';\nimport EmojiIcon from '../../../DesignSystem/CounterButton/EmojiIcon';\nimport { validateCanComment } from '../../../../Utils/Post/securedStrategies';\nimport { isIdea } from '../../../../Utils/Post';\nimport useSpace from '../../../../Hooks/useSpace';\nimport useCurrentUser from '../../../../Hooks/useCurrentUser';\nimport EntitySubscriptionModal from '../../../EntitySubscriptionModal';\nimport { loginPath } from '../../../../Utils/routes';\nimport { Post } from '../../../../Utils/Types/Posts';\n\ninterface CommentsCreationFormProps {\n post: Post;\n ctaVariant?: string;\n buttonFullWidth?: boolean;\n openModalForStorybook?: boolean;\n}\n\nfunction CommentsCreationForm({\n post,\n ctaVariant = 'contained',\n buttonFullWidth = false,\n openModalForStorybook = false,\n}: CommentsCreationFormProps) {\n const intl = useIntl();\n const { space } = useSpace();\n const navigate = useNavigate();\n const [open, setOpen] = useState(openModalForStorybook);\n const { isLoggedIn } = useCurrentUser();\n\n const { showModal } = useModal();\n const parent = post.included.source;\n\n const handleModalOpen = (trigger: any) => {\n if (!isLoggedIn) {\n navigate(loginPath());\n return;\n }\n\n if (!space.entity_subscription) {\n showModal(EntitySubscriptionModal);\n return;\n }\n\n if (isIdea(parent.type)) {\n openCommentModal(trigger);\n } else {\n validateCanComment(parent, async () => {\n openCommentModal(trigger);\n });\n }\n };\n\n const openCommentModal = (trigger: any) => {\n AnalyticsService.track('Comment', 'Modal - open', `Comment Modal opened with ${trigger}`, {\n 'Post ID': post.id,\n 'Post Type': post.type,\n });\n setOpen(true);\n };\n\n const handleModalClose = () => {\n setOpen(false);\n };\n\n return (\n <>\n }\n onClick={() => handleModalOpen('Comment Button')}\n fullWidth={buttonFullWidth}\n aria-label={intl.formatMessage({ id: replyBtnTextId(post) })}\n >\n \n \n \n \n );\n}\n\nexport default CommentsCreationForm;\n","import React from 'react';\n\nimport useWidth from '../../../../Hooks/useWidth';\nimport CommentsCreationForm from '../../../Comments/Creation';\n\nfunction ReplyButton({ post, ctaVariant }: any) {\n const isMobile = useWidth('down', 'sm');\n\n return ;\n}\n\nexport default ReplyButton;\n","import React from 'react';\nimport { Button } from '@mui/material';\nimport { FormattedMessage } from 'react-intl';\nimport { Link } from 'react-router-dom';\n\nimport useWidth from '../../../../Hooks/useWidth';\nimport { editPostPath } from '../../../../Utils/routes';\n\nfunction UpdateMyIdeaButton({ post, space }: any) {\n const isMobile = useWidth('down', 'sm');\n const path = editPostPath(space.slug, post.slug, post.type);\n const canEditPost = post.permissions.can_edit_post;\n\n return (\n \n \n \n );\n}\n\nexport default UpdateMyIdeaButton;\n","export default {\n duration: 800,\n smooth: true,\n offset: -150,\n};\n","import React from 'react';\nimport { scroller } from 'react-scroll';\nimport { Button } from '@mui/material';\nimport { FormattedMessage } from 'react-intl';\nimport scrollToOptions from '../../../Utils/scrollToOptions';\nimport useWidth from '../../../Hooks/useWidth';\n\nfunction ScrollToAnswerButton() {\n const isMobile = useWidth('down', 'sm');\n\n const scrollToAdminResponse = () => {\n scroller.scrollTo('admin_response', { ...scrollToOptions, offset: -200 });\n };\n\n return (\n \n \n \n );\n}\n\nexport default ScrollToAnswerButton;\n","import { Box } from '@mui/material';\nimport React from 'react';\nimport { FormattedMessage } from 'react-intl';\n\nfunction SecuredTitleIcon({ post }: any) {\n if (post.has_secured_strategy_contribute) {\n return (\n \n \n 🔒 \n \n \n );\n }\n\n return null;\n}\n\nexport default SecuredTitleIcon;\n","import { useIntl } from 'react-intl';\n\nimport { ContributionKind } from '../../../../Utils/Types/Posts';\n\ninterface ContributionLabelProps {\n contributionKindLabel: string | null | undefined;\n contributionKind: ContributionKind | null | undefined;\n}\n\nexport default function ContributionLabel({\n contributionKind,\n contributionKindLabel,\n}: ContributionLabelProps) {\n const intl = useIntl();\n\n const DEFAULT_CONTRIB_TYPE = `POST_FORM.CONTRIBUTION_KIND.OPTIONS.${contributionKind?.toUpperCase() || 'OTHER'}`;\n\n return contributionKind === 'other'\n ? contributionKindLabel\n : intl.formatMessage({ id: DEFAULT_CONTRIB_TYPE });\n}\n","import React from 'react';\nimport { Button } from '@mui/material';\nimport { Add } from '@mui/icons-material';\nimport { Link as ButtonLink, useNavigate } from 'react-router-dom';\nimport { useModal } from 'mui-modal-provider';\n\nimport SecuredTitleIcon from '../../SecuredTitleIcon';\nimport { loginPath, newPostPath } from '../../../../Utils/routes';\nimport { PostTypes } from '../../../../Utils/Types';\nimport { Space } from '../../../../Utils/Types/Space';\nimport { Post } from '../../../../Utils/Types/Posts';\nimport ContributionLabel from './ContributionLabel';\nimport EntitySubscriptionModal from '../../../EntitySubscriptionModal';\nimport useCurrentUser from '../../../../Hooks/useCurrentUser';\n\ninterface ContributionButtonProps {\n post: Post;\n space: Space;\n postComing: boolean;\n isResponsive?: boolean;\n}\n\nexport default function ContributionButton({\n post,\n space,\n postComing,\n isResponsive,\n}: ContributionButtonProps) {\n const { isLoggedIn } = useCurrentUser();\n const navigate = useNavigate();\n const { showModal } = useModal();\n\n const postFormPath = newPostPath(space.slug, PostTypes.IDEA, { parent_id: post.id });\n\n const handleCreateIdeaClick = (e: any) => {\n e.preventDefault();\n if (!isLoggedIn) {\n navigate(loginPath());\n } else {\n if (!space.entity_subscription) {\n showModal(EntitySubscriptionModal);\n } else {\n navigate(postFormPath);\n }\n }\n return false;\n };\n\n return (\n <>\n \n\n }\n data-testid=\"add-or-see-idea-button\"\n to={postFormPath}\n component={ButtonLink}\n onClick={handleCreateIdeaClick}\n fullWidth={isResponsive}\n >\n \n \n \n );\n}\n","import React from 'react';\nimport { Box, Button, Grid2 as Grid, Paper, Typography } from '@mui/material';\nimport { lighten, styled } from '@mui/material/styles';\nimport { FormattedMessage } from 'react-intl';\nimport PropTypes from 'prop-types';\nimport { scroller } from 'react-scroll';\nimport { Link as ButtonLink } from 'react-router-dom';\n\nimport VoteButton from '../VoteButton';\nimport ReplyButton from '../ReplyButton';\nimport UpdateMyIdeaButton from '../UpdateMyIdeaButton';\nimport { interactionsBoxTitle } from '../../PostSidePrimaryActions/utils';\nimport ScrollToAnswerButton from '../../PostSidePrimaryActions/ScrollToAnswerButton';\nimport { allStepsComing } from '../../../../Utils/Steps';\nimport scrollToOptions from '../../../../Utils/scrollToOptions';\nimport Analytics from '../../../../Services/AnalyticsService';\nimport SecuredTitleIcon from '../../SecuredTitleIcon';\nimport ContributionButton from './ContributionButton';\nimport { VoteTypes, PostCategories } from '../../../../Utils/Types';\n\nfunction scrollTo(scrollToID: any, post: any) {\n Analytics.track('Post', 'Scroll to', scrollToID, {\n 'Post Type': post.type,\n 'Post ID': post.id,\n });\n scroller.scrollTo(scrollToID, scrollToOptions);\n}\n\nconst StyledPaper = styled(Paper, {\n shouldForwardProp: (prop: any) => prop !== 'hasBackground',\n})(({ theme, variant, hasBackground }: any) => {\n if (!hasBackground) {\n return {};\n }\n\n return {\n backgroundColor: variant === 'outlined' ? '' : lighten(theme.palette.primary.main, 0.93),\n padding: theme.spacing(3),\n borderRadius: theme.shape.borderRadius * 2,\n border: variant === 'outlined' ? `solid 1px ${theme.palette.grey[200]}` : '',\n };\n});\n\nfunction InteractionsBox({\n post,\n space,\n ctaVariant,\n direction,\n isResponsive,\n hasBackground,\n onClickVote,\n onlyPrimaryActions = false,\n showLabel,\n trackingProps,\n size = 'large',\n}: any) {\n const actionsToShow = onlyPrimaryActions\n ? post.actions?.filter((action: any) => action.is_primary === true)\n : post.actions?.filter((action: any) => action.is_primary_only !== true);\n const postComing = allStepsComing(post);\n\n const buttonSize = isResponsive ? 12 / actionsToShow.length : 'auto';\n\n const actionBtns: Record = {\n see_the_answer: () => ,\n comment: () => (\n \n ),\n vote_support: () => (\n \n ),\n vote_not_support: () => (\n \n ),\n update: () => ,\n submit_a_proposal: () => (\n \n ),\n see_proposals: () => (\n <>\n \n\n scrollTo('children-ideas-list', post)}\n fullWidth={isResponsive}\n >\n \n \n \n ),\n study_participate: () => (\n <>\n \n\n scrollTo('study-content-tab', post)}\n fullWidth={isResponsive}\n >\n \n \n \n ),\n see_study_results: () => (\n scrollTo('study-content-tab', post)}\n >\n \n \n ),\n };\n\n return (\n <>\n {/* @ts-expect-error TS(2769): No overload matches this call. */}\n \n {hasBackground && (\n \n \n \n \n \n )}\n \n {actionsToShow?.map(({ name }: any) => (\n \n {actionBtns[name]()}\n \n ))}\n \n \n \n );\n}\n\nInteractionsBox.propTypes = {\n ctaVariant: PropTypes.string,\n direction: PropTypes.string,\n post: PropTypes.shape({\n status: PropTypes.string,\n type: PropTypes.string,\n canComment: PropTypes.bool,\n }),\n space: PropTypes.shape({\n current_user_role: PropTypes.string,\n }),\n onlyPrimaryActions: PropTypes.bool,\n showLabel: PropTypes.bool,\n isResponsive: PropTypes.bool,\n hasBackground: PropTypes.bool,\n size: PropTypes.string,\n};\n\nexport default InteractionsBox;\n","import React from 'react';\nimport { Box, Typography } from '@mui/material';\nimport { useIntl } from 'react-intl';\n\nimport { Icons } from '../../../../Themes';\nimport { formatLabel } from '../../../../Utils/Post/budget';\nimport CustomIcon from '../../CustomIcon';\n\nfunction IdeaCostMeta({ post, space }: any) {\n const intl = useIntl();\n const icon = ;\n\n return (\n \n \n {icon}\n \n \n {formatLabel(intl, post.budget, space.currency.key)}\n \n \n );\n}\n\nexport default IdeaCostMeta;\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport { Box, Card, Grid2 as Grid, Typography } from '@mui/material';\nimport { Link } from 'react-router-dom';\n\nimport { get } from 'lodash';\nimport StatusBadge from '../StatusBadge';\nimport CardHeader from '../CardHeader';\nimport CardActionArea from '../PostCard/partials/CardActionArea';\nimport CardContent from '../PostCard/partials/CardContent';\nimport CardMedia from './partials/CardMedia';\nimport { PostStatuses } from '../../../Utils/Types';\nimport PostIndicators from '../../Posts/Shared/PostIndicators';\nimport ParentLink from './partials/ParentLink';\nimport ResponsiveDivider from './partials/ResponsiveDivider';\nimport InteractionsBox from '../../Posts/Shared/InteractionsBox';\nimport IdeaCostMeta from './partials/IdeaCostMeta';\nimport AnalyticsService from '../../../Services/AnalyticsService';\nimport { Images } from '../../../Themes';\nimport { postPath } from '../../../Utils/routes';\nimport { cloudinaryImageUrl, CloudinaryConfig } from '../../../Services/Cloudinary';\nimport { isVoteStepOngoing } from '../../../Utils/Steps';\nimport { PostType } from '../../../Utils/Types/Posts';\nimport { SteppablePostType } from '../../../Utils/Types/Steps';\n\nfunction PostListItem({\n hideButtons = false,\n newTab = false,\n parent,\n parentLink,\n post,\n space,\n stepTab,\n trackingProps,\n}: any) {\n const {\n current_status: { keyword },\n included: { author },\n } = post;\n const isVoteStep =\n parent &&\n isVoteStepOngoing(\n parent?.included?.steps || [parent?.current_step],\n parent?.type as SteppablePostType,\n );\n const voteTab =\n parent && stepTab && isVoteStepOngoing([stepTab], parent?.type as SteppablePostType);\n const statusUnlessTodo = keyword !== PostStatuses.TODO;\n const showButtons = isVoteStep && voteTab && !hideButtons;\n const showPicture = get(parent, 'display_options.children_list_pictures');\n const postImage =\n cloudinaryImageUrl(\n post.picture?.s3_key,\n 'w_500,h_200,q_auto:low,c_fill,g_auto',\n post.picture?.title,\n ) || Images.posts.banner[post.type as PostType];\n\n const onClick = () => {\n if (trackingProps?.category && trackingProps?.name) {\n AnalyticsService.track(trackingProps.category, trackingProps.name, '', {\n 'Post ID': post.id,\n 'Post Type': post.type,\n 'Post Pinned': post.is_pinned,\n });\n }\n };\n\n return (\n \n {parentLink && parent && }\n\n \n {showPicture && }\n\n \n \n \n \n\n \n \n \n {post.title}\n \n\n \n {post.current_status && statusUnlessTodo && (\n \n \n \n )}\n\n {statusUnlessTodo && }\n\n \n \n\n {post.budget && (\n \n \n \n )}\n \n \n \n\n {showButtons && (\n \n \n \n \n \n )}\n \n \n \n \n );\n}\n\nPostListItem.propTypes = {\n trackingProps: PropTypes.shape({\n category: PropTypes.string,\n name: PropTypes.string,\n }),\n currentStep: PropTypes.shape({\n step_type: PropTypes.string,\n }),\n space: PropTypes.shape({\n id: PropTypes.number,\n }),\n parent: PropTypes.shape({\n id: PropTypes.number,\n }),\n parentLink: PropTypes.bool,\n post: PropTypes.shape({\n id: PropTypes.number,\n }),\n stepTab: PropTypes.shape({\n step_type: PropTypes.string,\n }),\n hideButtons: PropTypes.bool,\n newTab: PropTypes.bool,\n};\n\nexport default PostListItem;\n"],"names":["POST_CARD_HEIGHT","POST_CARD_MEDIA_WIDTH","POST_CARD_MEDIA_MOBILE_HEIGHT","StyledCardMedia","styled","MuiCardMedia","_ref","theme","_defineProperty","margin","spacing","width","concat","minHeight","flexShrink","borderRadius","shape","breakpoints","up","marginRight","down","marginTop","height","CardMedia","_ref3","children","props","_objectWithoutProperties","_excluded","createElement","ParentLink","space","slug","title","React","MuiLink","to","postPath","component","Link","color","underline","sx","paddingY","paddingX","display","gap","Box","ReplyIcon","transform","Typography","variant","ResponsiveDivider","Hidden","breakpoint","direction","mr","mb","Divider","orientation","FUNC_ERROR_TEXT","NAN","symbolTag","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","freeGlobal","global","freeSelf","root","objectProto","objectToString","nativeMax","nativeMin","now","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","toNumber","isObject","invokeFunc","time","args","thisArg","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","throttle","value","type","isObjectLike","isSymbol","other","isBinary","lodash_throttle","passiveEventListeners","target","eventName","listener","listenerName","attachedListeners","listeners","supportsPassiveOption","opts","scrollSpy_1","_lodash","require$$0","_lodash2","_interopRequireDefault","_passiveEventListeners","require$$1","obj","eventThrottler","eventHandler","throttleAmount","scrollSpy","scrollSpyContainer","event","supportPageOffset","isCSS1Compat","callbacks","c","handler","container","stateHandler","spyHandler","utils","updateHash","hash","historyUpdate","hashVal","hashToUpdate","curLoc","urlToPush","getHash","filterElementInContainer","element","isPositioned","getElementOffsetInfoUntil","predicate","offsetTop","currentOffsetParent","scrollOffset","t","horizontal","isContainerElementOrDocument","e","_getElementOffsetInfo","offsetParent","isDocument","smooth","x","cancelEvents","events","cancelEvent","scrollEvents","Events","evtName","callback","animateScroll_1","_extends","i","source","key","_utils","_smooth","_smooth2","_cancelEvents","require$$2","_cancelEvents2","_scrollEvents","require$$3","_scrollEvents2","getAnimationType","functionWrapper","currentWindowProperties","requestAnimationFrameHelper","delay","makeData","currentPositionX","containerElement","currentPositionY","scrollContainerWidth","body","html","scrollContainerHeight","animateScroll","easing","timestamp","data","easedAnimate","setContainer","animateTopScroll","setCancel","proceedOptions","scrollToTop","scrollTo","toPosition","scrollToBottom","scrollMore","currentPosition","scroller","_utils2","_animateScroll","_animateScroll2","__mapped","__activeLink","name","link","containerId","scrollHash_1","scrollHash","_this","isInit","saveHashHistory","scrollLink","_createClass","defineProperties","descriptor","Constructor","protoProps","staticProps","_react","_react2","_scrollSpy","_scrollSpy2","_scroller","_scroller2","_propTypes","_propTypes2","_scrollHash","require$$4","_scrollHash2","_classCallCheck","instance","_possibleConstructorReturn","self","call","_inherits","subClass","superClass","protoTypes","Component","customScroller","_React$PureComponent","_initialiseProps","fn","className","style","prop","_this2","y","isInside","isOutside","elemLeftBound","elemRightBound","containerLeft","containerCords","cords","offsetX","elemTopBound","elemBottomBound","containerTop","_containerCords","_cords","offsetY","activeLink","_props$saveHashHistor","_props$saveHashHistor2","_saveHashHistory","_scrollLink","_scrollLink2","LinkElement","_React$Component","_temp","_ret","_len","_key","Button","ButtonElement","scrollElement","_reactDom","Element","prevProps","_scrollElement","_scrollElement2","ElementWrapper","newProps","el","defaultScroller","PropTypes","require$$5","require$$6","Helpers","Scroll","_React$Component2","_this3","Helpers_1","modules","_Link","_Link2","_Button","_Button2","_Element","_Element2","require$$7","require$$8","_Helpers","require$$9","_Helpers2","CounterButton","_ref$active","active","_ref$showLabel","showLabel","reaction","startIcon","EmojiIcon","loadingPosition","propTypes","bool","oneOf","Object","values","VotesTypes","isRequired","canOnlyUpvote","parent","parentType","PostTypes","PARTICIPATORY_BUDGET","COLLABORATIVE_DECISION","includes","getReactionVotes","reactionVotesList","SUPPORT","push","NOT_SUPPORT","voteTypeValue","voteType","getVoteNameByPostType","parentPostType","_regeneratorRuntime","r","prototype","n","hasOwnProperty","o","defineProperty","Symbol","a","iterator","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","arg","h","l","f","s","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","_typeof","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","delegateYield","ownKeys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","apply","_objectSpread","arguments","getOwnPropertyDescriptors","_toPropertyKey","_toPrimitive","toPrimitive","String","Number","asyncGeneratorStep","_asyncToGenerator","_next","_throw","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","_arrayLikeToArray","toString","Array","from","test","isArray","getVoteType","vote","usePostVote","post","trackingProps","_post$meta","intl","useIntl","_useState","useState","_useState2","error","setError","_useState3","_useState4","loading","setLoading","notifications","useNotifications","queryClient","useQueryClient","parentPost","included","reactionVotes","selectedVote","meta","user_vote_value","_callee2","_post$included","isCancelingVote","_context2","validateCanVote","_callee","response","updatedParentPost","_context","votePost","id","get","invalidateQueries","setQueryData","queriesConfig","getPost","queryKey","oldData","_oldData$data","formatMessage","Analytics","track","t0","_x","_objectWithoutPropertiesLoose","indexOf","propertyIsEnumerable","votableStatuses","PostStatuses","SELECTED","VALIDATED","IN_PROGRESS","DONE","VoteButton","_parent$meta","_parent$voting_option","_parent$meta2","_ref$isResponsive","isResponsive","_ref$onClickVote","onClickVote","_usePostVote","voting","_useSpace","useSpace","navigate","useNavigate","_useModal","useModal","showModal","_useCurrentUser","useCurrentUser","isLoggedIn","canCreateVote","permissions","can_create_vote","hasReachMaxVotes","voting_options","max_votes","user_votes_info","total_votes","noBudgetLeft","budget_rule","budget_left","budget","hasVotableStatus","status","IDEAS_REQUEST","voteDisabled","onClick","_ref2","preventDefault","loginPath","entity_subscription","EntitySubscriptionModal","tooltipLabel","FormattedMessage","Tooltip","arrow","disableHoverListener","fullWidth","onMouseDown","stopPropagation","isFetching","disabled","VoteTypes","object","size","CommentsCreationForm","_ref$ctaVariant","ctaVariant","_ref$buttonFullWidth","buttonFullWidth","_ref$openModalForStor","openModalForStorybook","open","setOpen","handleModalOpen","trigger","isIdea","openCommentModal","validateCanComment","AnalyticsService","handleModalClose","Fragment","replyBtnTextId","CommentAndStatusUpdate","posts","onClose","onSubmit","ReplyButton","isMobile","useWidth","UpdateMyIdeaButton","path","editPostPath","canEditPost","can_edit_post","scrollToOptions","duration","offset","ScrollToAnswerButton","scrollToAdminResponse","SecuredTitleIcon","has_secured_strategy_contribute","role","ContributionLabel","contributionKind","contributionKindLabel","DEFAULT_CONTRIB_TYPE","toUpperCase","ContributionButton","_post$config","_post$config2","postComing","postFormPath","newPostPath","IDEA","parent_id","handleCreateIdeaClick","Add","ButtonLink","config","contribution_kind","contribution_kind_label","scrollToID","StyledPaper","Paper","shouldForwardProp","hasBackground","backgroundColor","lighten","palette","primary","main","padding","border","grey","InteractionsBox","_post$actions","_post$actions2","_ref2$onlyPrimaryActi","onlyPrimaryActions","_ref2$size","actionsToShow","actions","action","is_primary","is_primary_only","allStepsComing","buttonSize","actionBtns","see_the_answer","comment","current_user_role","vote_support","vote_not_support","update","submit_a_proposal","see_proposals","study_participate","see_study_results","elevation","PostCategories","MESSAGING","align","interactionsBoxTitle","author","full_name","Grid","justifyContent","map","string","canComment","IdeaCostMeta","icon","CustomIcon","src","Icons","misc","cash","flexWrap","fontWeight","whiteSpace","formatLabel","currency","PostListItem","_parent$included","_post$picture","_post$picture2","_author$picture","_author$picture2","_parent$voting_option2","_ref$hideButtons","hideButtons","_ref$newTab","newTab","parentLink","stepTab","keyword","current_status","isVoteStep","isVoteStepOngoing","steps","current_step","voteTab","statusUnlessTodo","TODO","showButtons","showPicture","postImage","cloudinaryImageUrl","picture","s3_key","Images","banner","category","is_pinned","Card","textAlign","CardActionArea","image","CardContent","pb","CardHeader","profilePictureUrl","CloudinaryConfig","AVATAR_30","initials","fullName","alt","date","published_at","avatarSize","placeholderType","xs","md","mt","StatusBadge","PostIndicators","postContributionsStats","post_contributions_stats","ml","currentStep","step_type","number"],"mappings":"klEAIO,IAAMA,GAAmB,IAC1BC,GAAwB,IACxBC,GAAgC,IAEhCC,GAAkBC,GAAOC,EAAY,EAAE,SAAAC,EAAe,CAAA,IAAZC,EAAKD,EAALC,MAAKC,OAAAA,GAAAA,GAAAA,GAAA,CACnDC,OAAQF,EAAMG,QAAQ,CAAC,EACvBC,MAAKC,QAAAA,OAAUX,GAAqBW,OAAAA,EAAAA,OAAQL,EAAMG,QAAQ,CAAC,EAAI,GAAA,EAC/DG,UAASD,QAAAA,OAAUZ,GAAgBY,OAAAA,EAAAA,OAAQL,EAAMG,QAAQ,CAAC,EAAI,GAAA,EAC9DI,WAAY,EACZC,aAAcR,EAAMS,MAAMD,aAAe,CACxCR,EAAAA,EAAMU,YAAYC,GAAG,IAAI,EAAI,CAC5BC,YAAaZ,EAAMG,QAAQ,CAAC,CAC7B,CAAA,EACAH,EAAMU,YAAYG,KAAK,IAAI,EAAI,CAC9BC,UAAWd,EAAMG,QAAQ,CAAC,EAC1BY,OAAQpB,GACRS,MAAK,eAAAC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