{"version":3,"sources":["components/Corporate/Profiles/StyledProfiles.ts","components/Corporate/Profiles/Profile.tsx","components/Corporate/Profiles/index.tsx"],"names":["detailColor","color","Card","styled","article","theme","plainCard","props","hasHeading","css","spacing","mt","Group","div","plainCardGroup","text_s","ProfileHeading","h2","heading_s","Role","p","text_xscap","Description","DescriptionListWrapper","dl","collapsed","DescriptionTerm","dt","svg","DescriptionDetails","dd","pl","Ellipsis","span","LinkStyles","safeFocusRemoval","focusOutline","Link","a","RouteLink","NavLink","EditorDiv","ChevronWrapper","Trigger","button","linkStyle","colors","link","primary","hideOnPrint","Heading","Text","heading_xl","heading_l","heading_m","heading_xs","py","RichText","ContentRichText","Profiles","id","address","description","email","name","phoneNumber","role","website","hostName","showExpandOption","useState","setCollapsed","descriptionList","websiteObject","getLink","useTranslation","t","push","Fragment","key","title","href","replace","tabIndex","toBeCopied","displayText","success","failed","isValidLinkObject","NavItem","StyledLink","text","linktype","length","aria-hidden","type","onClick","aria-label","aria-expanded","aria-controls","EditorText","compose","withEditModeNotice","HeadingWithDescription","headingField","descriptionField","headingLevel","value","tag","field","rendering","editMode","sitecoreContext","profiles","heading","fields","Boolean","map","addressLine1","addressLine2","postcode","suburb","data","addressLine3","join","filter","rest","Object","keys","k","noticeEnabled","noticeMessage","noticeLevel","profile","arr","Profile","siteInfo","siteBaseUrl","withSitecoreContext","withEditMode"],"mappings":"m3FAuBA,IAAMA,EAAcC,YAAM,sBAEbC,EAAOC,UAAOC,QAAV,KACb,gBAAGC,EAAH,EAAGA,MAAH,OAAeC,YAAU,CAAED,aAK3B,SAAAE,GAAK,OAAIA,EAAMC,YAAcC,cAApB,KACP,gBAAGJ,EAAH,EAAGA,MAAH,OAAeK,YAAQ,CAAEL,QAAOM,GAAI,UAI7BC,EAAQT,UAAOU,IAAV,KACd,gBAAGR,EAAH,EAAGA,MAAH,OAAeS,YAAe,CAAET,YAChCU,KAISC,EAAiBb,UAAOc,GAAV,IACvBC,KAISC,EAAOhB,UAAOiB,EA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,OAAwB,IAApBA,EAASpB,OACPkB,EAEA,kBAACX,GAAD,CACE8B,eAAa,EACbC,cAAa,qJAKZ,KAIP,oCACG3H,GACC,kBAAC,GAAD,CACEgG,aAAcU,EACdT,iBAAkB3C,EAClB4C,aAAcA,IAGlB,kBAACxG,EAAD,CAAMM,WAAYA,GAChB,kBAAC4F,GAAD,CACE8B,cAAenB,GAAYE,EAASpB,OAAS,EAC7CuC,YAAY,OACZD,cAAc,mIAEblB,EAASI,KAAI,SAACgB,EAAStD,EAAKuD,GAAf,OACZ,kBAACC,GAAD,eACExD,IAAKsD,EAAQzE,IACTyE,EAFN,CAGEhE,kBAAkB0C,GAAmBuB,EAAIzC,OAAS,EAClDzB,SAAU4C,EAAgBwB,SAASC,sBASlCpC,sBAAQqC,gCAAuBC,IAA/BtC,CAA6C1C","file":"static/js/Profiles.884feb42.chunk.js","sourcesContent":["import styled, { css } from 'styled-components';\r\nimport { NavLink } from 'react-router-dom';\r\nimport { Text } from '@sitecore-jss/sitecore-jss-react';\r\nimport {\r\n svg,\r\n plainCard,\r\n plainCardGroup,\r\n color,\r\n text_s,\r\n text_xscap,\r\n linkStyle,\r\n safeFocusRemoval,\r\n focusOutline,\r\n hideOnPrint,\r\n heading_xl,\r\n heading_l,\r\n heading_m,\r\n heading_s,\r\n heading_xs\r\n} from '_utils/styles';\r\nimport { spacing } from '_utils/props';\r\nimport ContentRichText from '../ContentRichText';\r\n\r\nconst detailColor = color('element.quaternary');\r\n\r\nexport const Card = styled.article`\r\n ${({ theme }) => plainCard({ theme })}\r\n overflow: hidden;\r\n @media print {\r\n page-break-inside: avoid;\r\n }\r\n ${props => props.hasHeading && css`\r\n ${({ theme }) => spacing({ theme, mt: 1 })}\r\n `}\r\n`;\r\n\r\nexport const Group = styled.div`\r\n ${({ theme }) => plainCardGroup({ theme })}\r\n ${text_s}\r\n margin: 0;\r\n`;\r\n\r\nexport const ProfileHeading = styled.h2`\r\n ${heading_s}\r\n margin: 0;\r\n`;\r\n\r\nexport const Role = styled.p`\r\n ${text_xscap}\r\n color: ${detailColor};\r\n margin: 0;\r\n ${({ theme }) => spacing({ theme, mt: 1 })}\r\n`;\r\n\r\nexport const Description = styled.p`\r\n ${text_s}\r\n color: ${detailColor};\r\n margin: 0;\r\n ${({ theme }) => spacing({ theme, mt: 1 })}\r\n`;\r\n\r\nexport const DescriptionListWrapper = styled.dl`\r\n margin: 0;\r\n display: flex;\r\n flex-wrap: wrap;\r\n align-items: flex-start;\r\n padding-bottom: 4px;\r\n\r\n max-height: ${({ collapsed }) => (collapsed ? '0px' : '500px')};\r\n opacity: ${({ collapsed }) => (collapsed ? '0' : '1')};\r\n overflow: hidden;\r\n transition: max-height 500ms, opacity 400ms;\r\n @media print {\r\n opacity: 1;\r\n max-height: 500px;\r\n }\r\n`;\r\n\r\nexport const DescriptionTerm = styled.dt`\r\n ${svg(16, 16)}\r\n width: 16px;\r\n position: relative;\r\n top: 4px;\r\n ${({ theme }) => spacing({ theme, mt: 2 })}\r\n\r\n path {\r\n fill: ${detailColor};\r\n }\r\n`;\r\n\r\nexport const DescriptionDetails = styled.dd`\r\n ${text_s}\r\n font-style: normal;\r\n margin: 0;\r\n ${({ theme }) => spacing({ theme, pl: 1, mt: 2 })}\r\n width: calc(100% - 16px);\r\n`;\r\n\r\nexport const Ellipsis = styled.span`\r\n display: block;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n`;\r\n\r\nconst LinkStyles = css`\r\n color: ${color('element.primary')};\r\n width: calc(100% - 4px);\r\n display: block;\r\n\r\n &:focus {\r\n ${safeFocusRemoval}\r\n ${focusOutline}\r\n }\r\n`;\r\n\r\nexport const Link = styled.a`\r\n ${LinkStyles};\r\n`;\r\n\r\nexport const RouteLink = styled(NavLink)`\r\n ${LinkStyles};\r\n`;\r\n\r\nexport const EditorDiv = styled.div``;\r\n\r\nexport const ChevronWrapper = styled.span`\r\n ${svg(11, 6)}\r\n width: 11px;\r\n position: relative;\r\n top: -2px;\r\n\r\n path {\r\n transition: fill 0.2s linear;\r\n\r\n fill: ${color('element.primary')};\r\n }\r\n`;\r\n\r\nexport const Trigger = styled.button`\r\n border: 0;\r\n padding: 0;\r\n background: none;\r\n cursor: pointer;\r\n ${({ theme }) => spacing({ theme, mt: 2 })};\r\n ${({ theme }) => linkStyle(theme.colors.link.primary)};\r\n\r\n &:hover {\r\n ${ChevronWrapper} {\r\n path {\r\n fill: ${color('link.primary.colorHover')};\r\n }\r\n }\r\n }\r\n\r\n &:focus {\r\n ${safeFocusRemoval}\r\n ${focusOutline}\r\n }\r\n ${hideOnPrint}\r\n`;\r\n\r\nexport const Heading = styled(Text)`\r\n h2& {\r\n ${heading_xl}\r\n }\r\n\r\n h3& {\r\n ${heading_l}\r\n }\r\n\r\n h4& {\r\n ${heading_m}\r\n }\r\n\r\n h5& {\r\n ${heading_s}\r\n }\r\n\r\n h6& {\r\n ${heading_xs}\r\n }\r\n\r\n h2&,\r\n h3&,\r\n h4& {\r\n ${({ theme }) => spacing({ theme, py: 3 })}\r\n }\r\n\r\n h5&,\r\n h6& {\r\n ${({ theme }) => spacing({ theme, py: 2 })}\r\n }\r\n`;\r\n\r\nexport const RichText = styled(ContentRichText)`\r\n`;\r\n","import React, { useState } from 'react';\r\n\r\nimport NavItem from '../NavItem';\r\nimport { Pin, Phone, Mail, External, ChevronDown } from '_utils/icons';\r\nimport { CopyText } from '_utils/components/Corporate';\r\nimport { getLink, isValidLinkObject } from '_utils/helpers/link';\r\n\r\nimport { useTranslation } from 'react-i18next';\r\nimport { ProfileProps } from './definitions';\r\nimport {\r\n Group,\r\n ProfileHeading,\r\n Role,\r\n Description,\r\n DescriptionListWrapper,\r\n DescriptionTerm,\r\n DescriptionDetails,\r\n Link,\r\n RouteLink,\r\n Ellipsis,\r\n Trigger,\r\n ChevronWrapper\r\n} from './StyledProfiles';\r\n\r\nconst Profiles: React.FC = ({\r\n id,\r\n address,\r\n description,\r\n email,\r\n name,\r\n phoneNumber,\r\n role,\r\n website,\r\n hostName,\r\n showExpandOption\r\n}) => {\r\n const [collapsed, setCollapsed] = useState(showExpandOption);\r\n const descriptionList = [];\r\n const websiteObject = getLink(website);\r\n const [t] = useTranslation();\r\n\r\n if (address) {\r\n descriptionList.push(\r\n \r\n \r\n \r\n \r\n {address}\r\n \r\n );\r\n }\r\n\r\n if (phoneNumber) {\r\n descriptionList.push(\r\n \r\n \r\n \r\n \r\n \r\n \r\n {phoneNumber}\r\n \r\n \r\n \r\n );\r\n }\r\n\r\n if (email) {\r\n descriptionList.push(\r\n \r\n \r\n \r\n \r\n \r\n \r\n {email}\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n\r\n if (isValidLinkObject(websiteObject)) {\r\n descriptionList.push(\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {website.text || `${website.linktype === 'internal' ? hostName : ''}${website.href}`}\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n\r\n return (\r\n \r\n {name}\r\n {role && {role}}\r\n {description && {description}}\r\n\r\n {descriptionList.length > 0 && (\r\n \r\n \r\n {descriptionList}\r\n \r\n {showExpandOption && collapsed === true && (\r\n setCollapsed(false)}\r\n aria-label={`${t('profile-accessible-show-details-label-prefix')} ${name}`}\r\n aria-expanded={!collapsed}\r\n aria-controls={id}\r\n >\r\n {t('profile-show-details-label')}{' '}\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default Profiles;\r\n","import React from 'react';\r\nimport { withSitecoreContext } from '@sitecore-jss/sitecore-jss-react';\r\nimport { compose } from 'ramda';\r\n\r\nimport { withEditMode, withEditModeNotice } from '_containers/BaseComponent';\r\n\r\nimport { ProfilesProps } from './definitions';\r\nimport { Card, EditorDiv, Heading, RichText } from './StyledProfiles';\r\nimport Profile from './Profile';\r\n\r\nconst EditorText = compose(withEditModeNotice)(EditorDiv);\r\n\r\nconst HeadingWithDescription = (props) => {\r\n let { headingField, descriptionField, headingLevel } = props;\r\n\r\n headingLevel = headingLevel?.value || 'h2';\r\n\r\n return (\r\n
\r\n {headingField && (\r\n \r\n )}\r\n {descriptionField && }\r\n
\r\n );\r\n};\r\n\r\nexport const Profiles: React.FC = ({ rendering, editMode, sitecoreContext }) => {\r\n let profiles = [];\r\n const heading = rendering?.fields?.heading;\r\n const headingLevel = rendering?.fields?.headingLevel;\r\n const description = rendering?.fields?.description;\r\n const hasHeading = Boolean(heading || description)\r\n\r\n try {\r\n profiles =\r\n rendering?.fields?.profiles\r\n .map(\r\n ({\r\n id,\r\n fields: {\r\n addressLine1: { value: addressLine1 },\r\n addressLine2: { value: addressLine2 },\r\n description: { value: description },\r\n email: { value: email },\r\n name: { value: name },\r\n phoneNumber: { value: phoneNumber },\r\n postcode: { value: postcode },\r\n role: { value: role },\r\n suburb: { value: suburb },\r\n website: { value: website }\r\n }\r\n }) => {\r\n const data = {\r\n id,\r\n description,\r\n email,\r\n name,\r\n phoneNumber,\r\n role,\r\n website,\r\n address: null\r\n };\r\n\r\n const addressLine3 = suburb || postcode ? [suburb, postcode].join(' ') : '';\r\n\r\n // render if we have something\r\n if (addressLine1 || addressLine2 || addressLine3) {\r\n data.address = (\r\n \r\n {addressLine1 &&
{addressLine1}
}\r\n {addressLine2 &&
{addressLine2}
}\r\n {addressLine3 &&
{addressLine3}
}\r\n
\r\n );\r\n }\r\n\r\n return data;\r\n }\r\n )\r\n .filter(({ name, website, ...rest }) => {\r\n // We have a name, and at least 1 of the other fields\r\n return (\r\n name !== '' &&\r\n (website.href !== '' ||\r\n Object.keys(rest)\r\n .map((k) => rest[k])\r\n .filter(Boolean).length > 0)\r\n );\r\n }) || [];\r\n } catch {\r\n profiles = [];\r\n }\r\n\r\n if (profiles.length === 0) {\r\n if (editMode) {\r\n return (\r\n \r\n );\r\n }\r\n\r\n return null;\r\n }\r\n\r\n return (\r\n <>\r\n {hasHeading && (\r\n \r\n )}\r\n \r\n 1}\r\n noticeLevel=\"info\"\r\n noticeMessage=\"As there are multiple profiles selected, profile details will display hidden for end users, and give them the option to expand.\"\r\n >\r\n {profiles.map((profile, key, arr) => (\r\n 1}\r\n hostName={sitecoreContext.siteInfo.siteBaseUrl}\r\n />\r\n ))}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default compose(withSitecoreContext(), withEditMode)(Profiles);\r\n"],"sourceRoot":""}