{"version":3,"sources":["../node_modules/@dtcm/ui-components/dist/components/atoms/Icons/IconDocument.js","../node_modules/@dtcm/ui-components/dist/components/atoms/Icons/IconDownload.js","../node_modules/@dtcm/ui-components/dist/components/12_Download/Download.js"],"names":["styles","_ref","_ref$width","width","_ref$height","height","className","createElement","xmlns","viewBox","concat","fillRule","d","StyledWrapper","_ref2","children","rtl","style","commonStyles","rtlStyles","ltrStyles","fields","params","sitecoreContext","useContext","Boolean","pageEditing","_React$useState","useState","_React$useState2","expanded","setExpanded","_React$useState3","_React$useState4","isVdsite","setIsVdsite","useEffect","document","body","classList","contains","primaryPageThemeColor","primaryActivePageThemeColor","downloadListRef","useRef","handleButtonClick","useCallback","current","focus","childrenSource","downloadsSource","actualSSR","STORYBOOK_MODE","route","fromSSR","isMobile","window","matchMedia","matches","data","item","length","console","info","title","numberOfCollapsedItems","Number","hasItems","items","showMoreText","showLessText","hasButton","buttonText","downloadButtonText","BackgroundColorHex","ColorHex","ActiveColorHex","variables","primary","primary_active","eventsAnalytics","ref","tabIndex","slice","Infinity","map","index","array","jss","value","newWindowLabel","linkTitle","tag","field","description","downloadLink","href","onClick","linksTarget","downloadSize"],"mappings":"oHAAA,4BAmBIA,EAAS,UACE,IAlBI,SAAsBC,GACvC,IAAIC,EAAaD,EAAKE,MACpBA,OAAuB,IAAfD,EAAwB,GAAKA,EACrCE,EAAcH,EAAKI,OACnBA,OAAyB,IAAhBD,EAAyB,GAAKA,EACvCE,EAAYL,EAAKK,UACnB,OAAoB,IAAMC,cAAc,MAAO,CAC7CC,MAAO,6BACPL,MAAOA,EACPE,OAAQA,EACRI,QAAS,YACTH,UAAW,GAAGI,OAAOJ,EAAW,KAAKI,OAAOV,IAC9B,IAAMO,cAAc,OAAQ,CAC1CI,SAAU,UACVC,EAAG,u/B,yDChBP,4BAmBIZ,EAAS,UACE,IAlBI,SAAsBC,GACvC,IAAIC,EAAaD,EAAKE,MACpBA,OAAuB,IAAfD,EAAwB,GAAKA,EACrCE,EAAc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AK,KACLtF,UAAW,sBACX,UAAW,sBACXuF,MAAOjC,EAAKI,MAAMwB,MAChB5B,EAAKkC,YAAYN,KAAoB,IAAMjF,cAAc,OAAM,CACjEqF,IAAK,IACLtF,UAAW,4BACX,UAAW,4BACXuF,MAAOjC,EAAKkC,YAAYN,QACP,IAAMjF,cAAc,MAAO,CAC5CD,UAAW,8BACVmE,GAAsBb,EAAKmC,aAAaP,IAAIC,OAAS7B,EAAKmC,aAAaP,IAAIC,MAAMO,MAAqB,IAAMzF,cAAc,IAAY,CACvID,UAAW,oCACX0F,KAAMpC,EAAKmC,aAAaP,IAAIC,MAAMO,KAClC,UAAW,oBACXC,QAAS,WACP,OAAO,YAAiB,YAAsBjB,EAAyC,wBAAG1D,GAAS,YAAiBsC,EAAKmC,aAAaP,IAAIC,MAAMO,QAElJhC,MAAO2B,EACP,aAAcA,EACd,kBAAmBA,EACnBO,YAAa,UACC,IAAM3F,cAAc,MAAO,CACzCD,UAAW,6BACVmE,EAAiC,IAAMlE,cAAc,IAAc,CACpED,UAAW,8BACM,IAAMC,cAAc,OAAQ,CAC7CD,UAAW,qBACX,UAAW,sBACVsD,EAAKuC,aAAaX,IAAIC,aAyBQlB,GAA0B,IAAMhE,cAAc,MAAO,CAC1FD,UAAW,kCACG,IAAMC,cAAc,SAAU,CAC5CD,UAAW,iCACX2F,QAASpD,EACT,UAAW,oBACXqC,SAAU,GACTV","file":"static/js/Download.55cb2a72.chunk.js","sourcesContent":["import './IconDocument.css';\nimport React from 'react';\nvar IconDocument = function IconDocument(_ref) {\n var _ref$width = _ref.width,\n width = _ref$width === void 0 ? 20 : _ref$width,\n _ref$height = _ref.height,\n height = _ref$height === void 0 ? 21 : _ref$height,\n className = _ref.className;\n return /*#__PURE__*/React.createElement(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: width,\n height: height,\n viewBox: \"0 0 20 20\",\n className: \"\".concat(className, \" \").concat(styles)\n }, /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M6.04163 13.9583H13.9583V12.7083H6.04163V13.9583ZM6.04163 10.625H13.9583V9.37496H6.04163V10.625ZM6.04163 7.29163H13.9583V6.04163H6.04163V7.29163ZM4.42308 17.0833C4.00211 17.0833 3.64579 16.9375 3.35413 16.6458C3.06246 16.3541 2.91663 15.9978 2.91663 15.5768V4.42308C2.91663 4.00211 3.06246 3.64579 3.35413 3.35413C3.64579 3.06246 4.00211 2.91663 4.42308 2.91663H15.5768C15.9978 2.91663 16.3541 3.06246 16.6458 3.35413C16.9375 3.64579 17.0833 4.00211 17.0833 4.42308V15.5768C17.0833 15.9978 16.9375 16.3541 16.6458 16.6458C16.3541 16.9375 15.9978 17.0833 15.5768 17.0833H4.42308ZM4.42308 15.8333H15.5768C15.641 15.8333 15.6998 15.8066 15.7531 15.7531C15.8066 15.6998 15.8333 15.641 15.8333 15.5768V4.42308C15.8333 4.35892 15.8066 4.30017 15.7531 4.24683C15.6998 4.19336 15.641 4.16663 15.5768 4.16663H4.42308C4.35892 4.16663 4.30017 4.19336 4.24683 4.24683C4.19336 4.30017 4.16663 4.35892 4.16663 4.42308V15.5768C4.16663 15.641 4.19336 15.6998 4.24683 15.7531C4.30017 15.8066 4.35892 15.8333 4.42308 15.8333Z\"\n }));\n};\nvar styles = \"sqlfsru\";\nexport default IconDocument;","import './IconDownload.css';\nimport React from 'react';\nvar IconDownload = function IconDownload(_ref) {\n var _ref$width = _ref.width,\n width = _ref$width === void 0 ? 20 : _ref$width,\n _ref$height = _ref.height,\n height = _ref$height === void 0 ? 20 : _ref$height,\n className = _ref.className;\n return /*#__PURE__*/React.createElement(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: width,\n height: height,\n viewBox: \"0 0 20 20\",\n className: \"\".concat(className, \" \").concat(styles)\n }, /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"nonzero\",\n d: \"M9.714 2.5C9.55457 2.50236 9.40247 2.56735 9.29057 2.68093C9.17866 2.79452 9.11594 2.94757 9.11596 3.10702V3.11599V10.7909L5.29843 6.97538C5.24299 6.91516 5.17594 6.86677 5.10132 6.83313C5.0267 6.79949 4.94604 6.78129 4.8642 6.77962C4.78236 6.77795 4.70103 6.79285 4.6251 6.82343C4.54917 6.854 4.48021 6.89962 4.42236 6.95753C4.36452 7.01545 4.31898 7.08446 4.28849 7.16043C4.25801 7.23639 4.2432 7.31774 4.24496 7.39958C4.24672 7.48141 4.26502 7.56205 4.29875 7.63663C4.33248 7.71122 4.38094 7.77821 4.44123 7.83358L9.29737 12.6867L9.30434 12.6927L9.32328 12.7106L9.3482 12.7326L9.36415 12.7445L9.39305 12.7645L9.41498 12.7774L9.4399 12.7914L9.46183 12.8013L9.48675 12.8123L9.51366 12.8223L9.53459 12.8293L9.5615 12.8362L9.58642 12.8412H9.61234H9.64124H9.70404H9.75786L9.79972 12.8342L9.83262 12.8273L9.85953 12.8203L9.9004 12.8083L9.92631 12.7984L9.96219 12.7834L10.012 12.7585L10.0489 12.7356L10.0748 12.7176L10.1147 12.6857L10.1426 12.6608L14.9948 7.80866C15.0723 7.72385 15.1242 7.61879 15.1443 7.50567C15.1645 7.39255 15.1522 7.27603 15.1087 7.16965C15.0653 7.06327 14.9926 6.9714 14.899 6.90472C14.8054 6.83804 14.6948 6.79929 14.5801 6.79298H14.5622C14.4049 6.79738 14.2555 6.86279 14.1455 6.97538L10.328 10.7929V3.10901C10.3284 3.02926 10.313 2.95021 10.2828 2.87641C10.2526 2.8026 10.2081 2.73549 10.1519 2.67891C10.0957 2.62233 10.0289 2.5774 9.95528 2.5467C9.88167 2.516 9.80273 2.50013 9.72298 2.5H9.714ZM1.83674 16.287H1.82876C1.67216 16.2933 1.52408 16.36 1.41552 16.473C1.30696 16.5861 1.24634 16.7367 1.24634 16.8935C1.24634 17.0502 1.30696 17.2009 1.41552 17.3139C1.52408 17.427 1.67216 17.4937 1.82876 17.5H17.6172C17.7738 17.4937 17.9219 17.427 18.0304 17.3139C18.139 17.2009 18.1996 17.0502 18.1996 16.8935C18.1996 16.7367 18.139 16.5861 18.0304 16.473C17.9219 16.36 17.7738 16.2933 17.6172 16.287H1.83674Z\"\n }));\n};\nvar styles = \"srl2v0n\";\nexport default IconDownload;","import _slicedToArray from \"E:\\\\Agents\\\\Agent-02\\\\_work\\\\1\\\\s\\\\src\\\\apps\\\\vdsite\\\\node_modules\\\\babel-preset-react-app\\\\node_modules\\\\@babel\\\\runtime/helpers/esm/slicedToArray\";\nimport './Download.css';\nimport React, { useMemo } from 'react';\nimport { canUseDOM, get, getColorByTheme, getColorClassByTheme, getPageThemeColors } from '../../utils';\nimport { SitecoreContextReactContext } from '../../utils/SitecoreContextReactContext';\nimport IconDocument from '../atoms/Icons/IconDocument';\nimport IconDownload from '../atoms/Icons/IconDownload';\nimport { getGlobalDictionaryTerm } from '../../utils';\nimport { Text } from '@sitecore-jss/sitecore-jss-react';\nimport { tealiumClickFunc, tealiumMergeClickData, getLastPartInURL } from '../../utils/tealium';\nimport { convertToAnalyticObject } from '../../utils/analytics';\nimport RouterLink from '../atoms/RouterLink';\nvar Download = function Download(_ref) {\n var fields = _ref.fields,\n params = _ref.params;\n var sitecoreContext = React.useContext(SitecoreContextReactContext);\n var rtl = Boolean(sitecoreContext && sitecoreContext.rtl);\n var pageEditing = Boolean(sitecoreContext && sitecoreContext.pageEditing);\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n expanded = _React$useState2[0],\n setExpanded = _React$useState2[1];\n var theme = get(sitecoreContext, 'themesOfPage');\n var _React$useState3 = React.useState(true),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n isVdsite = _React$useState4[0],\n setIsVdsite = _React$useState4[1];\n React.useEffect(function () {\n if (canUseDOM && !document.body.classList.contains('vdsite')) {\n setIsVdsite(false);\n }\n }, []);\n var primaryPageThemeColor = get(sitecoreContext, 'themesOfPage.primary');\n var primaryActivePageThemeColor = get(sitecoreContext, 'themesOfPage.primary_active');\n var downloadListRef = React.useRef(null);\n var handleButtonClick = React.useCallback(function () {\n if (downloadListRef && downloadListRef.current) downloadListRef.current.focus();\n setExpanded(!expanded);\n }, [expanded]);\n var childrenSource = get(fields, 'data.item.children', []);\n var downloadsSource = get(fields, 'data.item.downloads.targetItems', []);\n var actualSSR = process.env.STORYBOOK_MODE ? false : sitecoreContext.route && sitecoreContext.route.fromSSR;\n var isMobile = useMemo(function () {\n return !actualSSR && canUseDOM && window.matchMedia(\"(max-width: 991px)\").matches;\n }, [actualSSR]);\n if (!fields || !fields.data || !fields.data.item || !childrenSource.length && !downloadsSource.length) {\n console.info('Download component render skipped. No fields provided');\n if (pageEditing) {\n return /*#__PURE__*/React.createElement(\"div\", null, \"[Downloads component is empty: please provide data source]\");\n }\n return null;\n }\n var title = get(fields, 'data.item.title.jss');\n var data = fields.data;\n var numberOfCollapsedItems = Number(get(data, 'item.downloadsSettings.targetItem.numberOfCollapsedItems.value')) || 4;\n var hasItems = Boolean(get(downloadsSource, 'length')) || Boolean(get(childrenSource, 'length'));\n var items = hasItems ? downloadsSource.length ? downloadsSource : childrenSource : [];\n var showMoreText = get(data, 'item.downloadsSettings.targetItem.showMoreText.value', '');\n var showLessText = get(data, 'item.downloadsSettings.targetItem.showLessText.value', '');\n var hasButton = Boolean(showMoreText && showLessText && hasItems && items.length > numberOfCollapsedItems);\n var buttonText = expanded && showLessText || showMoreText;\n var downloadButtonText = get(data, 'item.downloadsSettings.targetItem.downloadButtonText.value');\n var BackgroundColorHex = get(params, 'BackgroundColorHex');\n var ColorHex = get(params, 'ColorHex');\n var ActiveColorHex = get(params, 'ActiveColorHex');\n var variables = BackgroundColorHex ? {\n '--m12-multiply-background-color': BackgroundColorHex,\n '--m12-multiply-active-color': ActiveColorHex,\n '--m12-multiply-color': ColorHex\n } : {\n '--m12-multiply-background-color': primaryPageThemeColor ? primaryPageThemeColor : getPageThemeColors(isVdsite).primary,\n '--m12-multiply-active-color': primaryActivePageThemeColor ? primaryActivePageThemeColor : getPageThemeColors(isVdsite).primary_active,\n '--m12-multiply-color': getColorByTheme(primaryPageThemeColor ? primaryPageThemeColor : getPageThemeColors(isVdsite).primary)\n };\n var eventsAnalytics = get(fields, 'data.eventsAnalytics') || [];\n if (eventsAnalytics.length) {\n eventsAnalytics = convertToAnalyticObject(eventsAnalytics);\n }\n var renderItems = function renderItems() {\n return items.slice(0, expanded || !hasButton ? Infinity : numberOfCollapsedItems).map(function (item, index, array) {\n if (item.title.jss && item.title.jss.value) {\n var newWindowLabel = getGlobalDictionaryTerm(sitecoreContext, 'newWindowLabel') || 'Opens in a new window';\n var linkTitle = \"\".concat(item.title.jss.value, \" | \").concat(downloadButtonText, \" | \").concat(newWindowLabel);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"download-item \".concat(hasButton ? '' : 'download-item-more', \" \").concat(index === 0 && title ? 'custom-padding-top' : '')\n }, index === 0 && title && /*#__PURE__*/React.createElement(Text, {\n tag: \"h3\",\n className: \"h3 title--desk\",\n \"data-cy\": \"download-title\",\n field: title\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"download-item-content\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"content__img\"\n }, /*#__PURE__*/React.createElement(IconDocument, {\n width: isMobile ? 48 : 32,\n height: isMobile ? 48 : 32,\n className: \"content__img__icon\"\n })), /*#__PURE__*/React.createElement(\"div\", {\n className: \"content__text\"\n }, item.title.jss && /*#__PURE__*/React.createElement(Text, {\n tag: \"h4\",\n className: \"download-item-title\",\n \"data-cy\": \"download-item-title\",\n field: item.title.jss\n }), item.description.jss && /*#__PURE__*/React.createElement(Text, {\n tag: \"p\",\n className: \"download-item-description\",\n \"data-cy\": \"download-item-description\",\n field: item.description.jss\n }))), /*#__PURE__*/React.createElement(\"div\", {\n className: \"download-item-btn--wrapper\"\n }, downloadButtonText && item.downloadLink.jss.value && item.downloadLink.jss.value.href && /*#__PURE__*/React.createElement(RouterLink, {\n className: \"btn btn-primary download-item-btn\",\n href: item.downloadLink.jss.value.href,\n \"data-cy\": \"download-item-btn\",\n onClick: function onClick() {\n return tealiumClickFunc(tealiumMergeClickData(eventsAnalytics['downloadButtonAnalytics'], params), getLastPartInURL(item.downloadLink.jss.value.href));\n },\n title: linkTitle,\n \"aria-label\": linkTitle,\n \"aria-labelledby\": linkTitle,\n linksTarget: \"_blank\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"download-item-btn-content\"\n }, downloadButtonText, /*#__PURE__*/React.createElement(IconDownload, {\n className: \"download-item-btn__icon\"\n }))), /*#__PURE__*/React.createElement(\"span\", {\n className: \"download-item-size\",\n \"data-cy\": \"download-item-size\"\n }, item.downloadSize.jss.value)));\n }\n });\n };\n return /*#__PURE__*/React.createElement(StyledWrapper, {\n style: variables,\n className: \"download-module container \".concat(getColorClassByTheme(primaryPageThemeColor)),\n rtl: rtl\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"module-group\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"module\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"row\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"col\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"row download-section\",\n \"data-cy\": \"download\",\n ref: downloadListRef,\n tabIndex: -1\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"col-md-1\"\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"download-items col-md-10\"\n }, hasItems && items && renderItems(), hasButton && /*#__PURE__*/React.createElement(\"div\", {\n className: \"col-md-12 btn-showmore-wrapper\"\n }, /*#__PURE__*/React.createElement(\"button\", {\n className: \"btn btn-secondary btn-showmore\",\n onClick: handleButtonClick,\n \"data-cy\": \"download-showmore\",\n tabIndex: 0\n }, buttonText)))))))));\n};\nvar StyledWrapper = function StyledWrapper(_ref2) {\n var children = _ref2.children,\n rtl = _ref2.rtl,\n className = _ref2.className,\n style = _ref2.style;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(commonStyles, \" \").concat(rtl ? rtlStyles : ltrStyles, \" \").concat(className),\n style: style\n }, children);\n};\nexport var commonStyles = \"c1q3drr8\";\nexport var ltrStyles = \"l1rr9nxq\";\nexport var rtlStyles = \"r1k7n2v4\";\nexport default Download;"],"sourceRoot":""}