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S,EACX,QAAWT,EACX,SAAYW,M,sBChEhB,IAAI4B,EAAW,EAAQ,MACnBhD,EAAW,EAAQ,OACnBiD,EAAW,EAAQ,OAMnBC,EAAa,qBAGbC,EAAa,aAGbC,EAAY,cAGZC,EAAeC,SA8CnBhE,EAAOC,QArBP,SAAkBqD,GAChB,GAAoB,iBAATA,EACT,OAAOA,EAET,GAAIK,EAASL,GACX,OA1CM,IA4CR,GAAI5C,EAAS4C,GAAQ,CACnB,IAAIW,EAAgC,mBAAjBX,EAAMY,QAAwBZ,EAAMY,UAAYZ,EACnEA,EAAQ5C,EAASuD,GAAUA,EAAQ,GAAMA,EAE3C,GAAoB,iBAATX,EACT,OAAiB,IAAVA,EAAcA,GAASA,EAEhCA,EAAQI,EAASJ,GACjB,IAAIa,EAAWN,EAAWrD,KAAK8C,GAC/B,OAAQa,GAAYL,EAAUtD,KAAK8C,GAC/BS,EAAaT,EAAMnD,MAAM,GAAIgE,EAAW,EAAI,GAC3CP,EAAWpD,KAAK8C,GAvDb,KAuD6BA","sources":["webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-card-carousel/src/components/nav-container/style.css?e637","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-card-carousel/src/components/nav-container/nav-button.tsx","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-card-carousel/src/components/nav-container/arrow-left.tsx","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-card-carousel/src/components/nav-container/arrow-right.tsx","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-card-carousel/src/utils/mover.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-card-carousel/src/layouts/default.tsx","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-card-carousel/src/desktop/index.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-card-carousel/src/config.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-card-carousel/src/styles/desktop.css?e3be","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-card-carousel/src/components/nav-container/index.tsx","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-card-carousel/src/utils/card-widths.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-icon/src/arrow-left.tsx","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-icon/src/arrow-right.tsx","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-layout/src/desktop/index.ts","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-layout/src/desktop/desktop.css?ae96","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-layout/src/desktop/desktop.tsx","webpack://assr-alfaleasing/./node_modules/@alfa-bank/site-text-v2/src/desktop/index.ts","webpack://assr-alfaleasing/./node_modules/lodash/_baseTrim.js","webpack://assr-alfaleasing/./node_modules/lodash/_trimmedEndIndex.js","webpack://assr-alfaleasing/./node_modules/lodash/debounce.js","webpack://assr-alfaleasing/./node_modules/lodash/isSymbol.js","webpack://assr-alfaleasing/./node_modules/lodash/now.js","webpack://assr-alfaleasing/./node_modules/lodash/throttle.js","webpack://assr-alfaleasing/./node_modules/lodash/toNumber.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"background-$(backgroundColorBg)\":\"a2llO\",\"background-$(backgroundColor)\":\"b2llO\",\"navContainer\":\"c2llO\",\"button\":\"d2llO\",\"external\":\"e2llO\",\"navButton\":\"f2llO\",\"visible\":\"g2llO\",\"right\":\"h2llO\",\"left\":\"i2llO\",\"shadow\":\"j2llO\",\"shadowBlock\":\"k2llO\",\"leftShadowBlock\":\"l2llO\",\"rightShadowBlock\":\"m2llO\",\"leftShadow\":\"n2llO\",\"rightShadow\":\"o2llO\"};","import type { FC } from 'react';\nimport React from 'react';\nimport cn from 'classnames';\nimport { Button } from '@alfa-bank/site-button-v2';\n\nimport styles from './style.css';\nimport type { INavButton } from './models';\n\nexport const NavButton: FC = ({\n children,\n className,\n dataTestId,\n onClick,\n visible,\n}) => {\n return (\n \n {children}\n \n );\n};\n","import type { FC } from 'react';\nimport React from 'react';\nimport { IconArrowLeft } from '@alfa-bank/site-icon/arrow-left';\n\nimport { NavButton } from './nav-button';\nimport type { IArrow } from './models';\n\nexport const ArrowLeft: FC = props => {\n return (\n \n \n \n );\n};\n","import type { FC } from 'react';\nimport React from 'react';\nimport { IconArrowRight } from '@alfa-bank/site-icon/arrow-right';\n\nimport { NavButton } from './nav-button';\nimport type { IArrow } from './models';\n\nexport const ArrowRight: FC = props => {\n return (\n \n \n \n );\n};\n","import type { ICarouselState } from '../models';\n\nexport type TCarouselState = ICarouselState & { clientWidth: number };\n\nconst getCurrentScrollPos = (cardWidths: number[], currentScroll: number, cardSpacing: number) => {\n return cardWidths.reduce((acc, cardWidth) => {\n const nextWidth = acc + cardWidth;\n\n if (nextWidth >= currentScroll) {\n return acc;\n }\n\n return nextWidth + cardSpacing;\n }, 0);\n};\n\nexport const moveRight = ({\n cardSpacing,\n cardWidths,\n clientWidth,\n currentScroll,\n scrollWidth,\n}: TCarouselState) => {\n const currentScrollPos = getCurrentScrollPos(cardWidths, currentScroll, cardSpacing);\n\n const nextScrollPos = currentScrollPos + clientWidth + cardSpacing;\n\n return nextScrollPos >= scrollWidth - clientWidth ? scrollWidth - clientWidth : nextScrollPos;\n};\n\nexport const moveLeft = ({\n cardSpacing,\n cardWidths,\n clientWidth,\n currentScroll,\n}: TCarouselState) => {\n const currentScrollPos = getCurrentScrollPos(cardWidths, currentScroll, cardSpacing);\n\n const nextScrollPos = currentScrollPos - clientWidth - cardSpacing;\n\n return nextScrollPos <= 0 ? 0 : nextScrollPos;\n};\n","import type { FC } from 'react';\nimport React, { useCallback, useEffect, useMemo, useReducer, useRef } from 'react';\nimport throttle from 'lodash/throttle';\nimport cn from 'classnames';\n\nimport type { ICarouselState, TCarouselAction, TCarouselDesktop } from '../models';\nimport { moveLeft, moveRight } from '../utils/mover';\nimport { useAnalyticsView } from '../utils/use-analytics-view';\n\n/** Зона, когда мы перестаем отображать скролл вправо */\nconst SAFE_ZONE = 5;\n\n/** время троттлинга */\nconst THROTTLE_TIME = 50;\n\nconst initialState: ICarouselState = {\n cardSpacing: 0,\n currentScroll: 0,\n scrollWidth: 0,\n cardWidths: [],\n clientWidth: 0,\n canGoRight: false,\n canGoLeft: false,\n};\n\nconst reducer = (state: ICarouselState, action: TCarouselAction) => {\n switch (action.type) {\n case 'reset':\n return { ...initialState, ...action.payload };\n case 'setscroll':\n return {\n ...state,\n currentScroll: action.payload,\n canGoLeft: action.payload > 0,\n canGoRight: action.payload + SAFE_ZONE < state.scrollWidth - state.clientWidth,\n };\n default:\n throw new Error();\n }\n};\n\nexport const CardCarousel: FC = props => {\n const {\n FontStyreneText,\n Grid,\n Layout,\n NavContainer,\n Link,\n Text,\n calculateCardWidths,\n children,\n config: {\n card: { containerWidth, spacing },\n },\n dataTestId,\n headerBottomPadding = 32,\n headingText,\n subheadingText,\n headingUrl,\n headingColor = 'light',\n headingVariant = 'main',\n id,\n layoutWidth = containerWidth,\n parseNewLines,\n mapSpacerVerticalToStyler,\n fullWidth,\n renderCards,\n styles,\n theme = 'light',\n analytics,\n sendEvent,\n className,\n } = props;\n const [state, dispatch] = useReducer(reducer, initialState);\n const { canGoLeft, canGoRight } = state;\n\n const ref = useRef(null);\n\n /* Не нужен children в массиве зависимостей.\n Контент статичный + из-за этой зависимости срабатываает dispatch reset,\n что приводит к неправильному рендеру интерфейса\n */\n const cardWidths = useMemo(\n () => calculateCardWidths(children, layoutWidth, spacing),\n [calculateCardWidths, layoutWidth, spacing]\n );\n\n const scrollWidth = useMemo(\n () =>\n cardWidths.reduce((prev, next) => {\n return prev + next + spacing;\n }, 0) - spacing,\n [cardWidths, spacing]\n );\n\n useAnalyticsView(ref, children);\n\n useEffect(() => {\n const onScroll = () => {\n const xOffset = ref.current?.scrollLeft;\n\n dispatch({\n type: 'setscroll',\n payload: xOffset ?? 0,\n });\n };\n\n const throttled = throttle(onScroll, THROTTLE_TIME);\n\n if (ref.current) {\n const node = ref.current;\n\n node.addEventListener('scroll', throttled, true);\n\n const { offsetWidth: clientWidth } = ref.current;\n\n dispatch({\n type: 'reset',\n payload: {\n clientWidth,\n scrollWidth,\n cardWidths,\n cardSpacing: spacing,\n canGoRight: scrollWidth > clientWidth,\n },\n });\n\n return () => {\n node.removeEventListener('scroll', throttled);\n };\n }\n\n return () => {};\n }, [cardWidths, spacing, scrollWidth]);\n\n // ResizeObserver нужен для случаев, когда карусель прячут за display:none, и в какой-то момент переключают на display:block\n // Например, Tab с параметром keepMounted. При первом рендере карусель получает clientWidth=0\n // и при включении таба уже не пересчитывает свои размеры, в итоге возникают разные баги\n useEffect(() => {\n if (ref.current && state.clientWidth === 0 && 'ResizeObserver' in window) {\n const resizeObserver = new ResizeObserver(entries => {\n entries.forEach(entry => {\n dispatch({\n type: 'reset',\n payload: {\n ...state,\n scrollWidth,\n cardSpacing: spacing,\n cardWidths,\n clientWidth: entry.target.clientWidth,\n canGoRight: scrollWidth > entry.target.clientWidth,\n },\n });\n });\n });\n\n resizeObserver.observe(ref.current);\n\n return () => {\n if (ref.current) {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n resizeObserver.unobserve(ref.current);\n }\n };\n }\n }, [cardWidths, scrollWidth, spacing, state]);\n\n const scrollTo = useCallback(\n (left: number) => {\n sendEvent(analytics);\n\n if (ref.current) {\n ref.current.scrollTo({\n top: 0,\n left,\n behavior: 'smooth',\n });\n }\n },\n [analytics, sendEvent]\n );\n\n const onLeft = () => scrollTo(moveLeft(state));\n const onRight = () => scrollTo(moveRight(state));\n\n const carousel = (\n \n
\n \n {renderCards(props, cardWidths)}\n \n
\n \n );\n\n const heading = parseNewLines(headingText);\n\n const headingComponent = (\n \n {headingUrl ? {heading} : heading}\n \n );\n\n return (\n \n \n {headingText && headingVariant === 'main' && headingComponent}\n {headingText && headingVariant === 'fancy' && (\n {headingComponent}\n )}\n {subheadingText && (\n \n {subheadingText}\n \n )}\n {!fullWidth && carousel}\n \n {fullWidth && carousel}\n \n );\n};\n","import { LayoutDesktop as Layout } from '@alfa-bank/site-layout/desktop';\nimport { Grid } from '@alfa-bank/site-grid-universal';\nimport { Button } from '@alfa-bank/site-button-v2';\nimport { TextDesktop as Text } from '@alfa-bank/site-text-v2/desktop';\nimport { MoveableContent } from '@alfa-bank/site-moveable-content';\nimport { createWidget } from '@alfa-bank/site-util-create-widget/create-widget';\nimport { sendEvent } from '@alfa-bank/site-helpers-common/browser/send-event';\nimport { Link } from '@alfa-bank/site-link';\nimport { mapSpacerVerticalToStyler } from '@alfa-bank/site-helpers-transform/strings/map-size-spacer-to-styler';\nimport { parseNewLines } from '@alfa-bank/site-helpers-common/src/react/parse-new-lines';\nimport { FontStyrene as FontStyreneText } from '@alfa-bank/site-font-styrene';\n\nimport { animation, card } from '../config';\nimport { NavContainer } from '../components/nav-container';\nimport { CardCarousel as Component } from '../layouts/default';\nimport styles from '../styles/desktop.css';\nimport type { IDesktopDeps, TCarouselDesktop } from '../models';\nimport { renderCards } from '../utils/render-cards';\nimport { calculateCardWidths } from '../utils/card-widths';\n\nexport const CardCarousel = createWidget, TCarouselDesktop>({\n config: { animation, card },\n styles,\n Layout,\n Link,\n Text,\n Grid,\n Button,\n MoveableContent,\n FontStyreneText,\n NavContainer,\n calculateCardWidths,\n renderCards,\n sendEvent,\n mapSpacerVerticalToStyler,\n parseNewLines,\n})(Component);\n","import type { IAnimationConfig, ICardsConfig } from './models';\n\nexport const animation: IAnimationConfig = {\n cubicBezier: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)',\n duration: 1,\n};\n\nexport const card: ICardsConfig = {\n spacing: 25,\n containerWidth: 1140,\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"background-$(backgroundColorBg)\":\"a298M\",\"background-$(backgroundColor)\":\"b298M\",\"layout\":\"c298M\",\"dark\":\"d298M\",\"light\":\"e298M\",\"transparent\":\"f298M\",\"colFlex\":\"g298M\",\"external\":\"h298M\",\"desktop\":\"i298M\",\"arrowContainer\":\"j298M\",\"gridContainer\":\"k298M\"};","import type { FC } from 'react';\nimport React from 'react';\nimport cn from 'classnames';\n\nimport type { INavContainer } from '../../models';\n\nimport styles from './style.css';\nimport { ArrowLeft } from './arrow-left';\nimport { ArrowRight } from './arrow-right';\n\nexport const NavContainer: FC = ({\n canGoLeft,\n canGoRight,\n children,\n dataTestId = 'Carousel',\n onLeft,\n onRight,\n}) => {\n return (\n
\n \n {canGoLeft && (\n
\n
\n
\n )}\n {children}\n \n {canGoRight && (\n
\n
\n
\n )}\n
\n );\n};\n","import type { ReactNode } from 'react';\nimport { Children, isValidElement } from 'react';\n\nexport const calculateCardWidths = (children: ReactNode, layoutWidth: number, spacing: number) =>\n Children.map(children, child => {\n if (!isValidElement(child)) return 0;\n const { proportion } = child.props;\n\n return (layoutWidth - spacing * (proportion - 1)) / proportion;\n }) || [];\n","import type { FC, SVGAttributes } from 'react';\nimport React from 'react';\n\nexport const IconArrowLeft: FC> = props => (\n \n \n \n);\n","import type { FC, SVGAttributes } from 'react';\nimport React from 'react';\n\nexport const IconArrowRight: FC> = props => (\n \n \n \n);\n","import { createWidget } from '@alfa-bank/site-util-create-widget/create-widget';\n\nimport type { TLayoutDesktop, IDepsDesktop } from '../models';\n\nimport { Layout as Component } from './desktop';\nimport styles from './desktop.css';\n\nexport const LayoutDesktop = createWidget({ styles })(Component);\n","// extracted by mini-css-extract-plugin\nexport default {\"layout\":\"a3buV\",\"layoutContent\":\"b3buV\"};","import React from 'react';\nimport type { FC } from 'react';\nimport cn from 'classnames';\n\nimport { mapWidth } from '../helpers/map-width';\nimport type { TLayoutDesktop } from '../models';\n\nexport const Layout: FC = ({\n children,\n className,\n classNames: { layout, layoutContent } = {},\n contentWidth,\n dataTestId = 'layout',\n hasPadding = true,\n scroll,\n styles,\n ...props\n}) => {\n return (\n \n \n {children}\n
\n
\n );\n};\n","import { createWidget } from '@alfa-bank/site-util-create-widget/create-widget';\n\nimport type { TPropsDesktop, IDepsDesktop } from '../models';\nimport { Text as Component } from '../text';\nimport styles from '../styles/styles.css';\n\nexport const TextDesktop = createWidget({\n styles,\n})(Component);\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\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 * 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 timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\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 clearTimeout(timerId);\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\nmodule.exports = debounce;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\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) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var root = require('./_root');\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\nmodule.exports = now;\n","var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\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\nmodule.exports = throttle;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\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/**\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 = baseTrim(value);\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 = toNumber;\n"],"names":["NavButton","children","className","dataTestId","onClick","visible","innerClassName","cn","styles","view","ArrowLeft","props","height","width","ArrowRight","getCurrentScrollPos","cardWidths","currentScroll","cardSpacing","reduce","acc","cardWidth","nextWidth","initialState","scrollWidth","clientWidth","canGoRight","canGoLeft","reducer","state","action","type","payload","Error","CardCarousel","createWidget","config","animation","cubicBezier","duration","card","spacing","containerWidth","Layout","Link","Text","Grid","Button","MoveableContent","FontStyreneText","NavContainer","onLeft","onRight","calculateCardWidths","layoutWidth","Children","child","isValidElement","proportion","renderCards","sendEvent","mapSpacerVerticalToStyler","parseNewLines","headerBottomPadding","headingText","subheadingText","headingUrl","headingColor","headingVariant","id","fullWidth","theme","analytics","useReducer","dispatch","ref","useRef","useMemo","prev","next","useAnalyticsView","useEffect","throttled","throttle","xOffset","current","scrollLeft","node","addEventListener","offsetWidth","removeEventListener","window","resizeObserver","ResizeObserver","entries","forEach","entry","target","observe","unobserve","scrollTo","useCallback","left","top","behavior","carousel","nextScrollPos","moveLeft","moveRight","gridContainer","classNames","col","external","colFlex","columnsWidth","justify","heading","headingComponent","styler","marginTop","marginBottom","tag","href","layout","hasPadding","IconArrowLeft","viewBox","d","fill","IconArrowRight","LayoutDesktop","layoutContent","contentWidth","scroll","style","maxWidth","mapWidth","undefined","TextDesktop","Component","trimmedEndIndex","reTrimStart","module","exports","string","slice","replace","reWhitespace","index","length","test","charAt","isObject","now","toNumber","nativeMax","Math","max","nativeMin","min","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","apply","leadingEdge","setTimeout","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","timeWaiting","remainingWait","debounced","isInvoking","arguments","this","clearTimeout","cancel","flush","baseGetTag","isObjectLike","value","root","Date","debounce","baseTrim","isSymbol","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","other","valueOf","isBinary"],"sourceRoot":""}