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yBAAyB,QAAU,yBAAyB,MAAQ,uBAAuB,MAAQ,uBAAuB,WAAa,4BAA4B,KAAO,sBAAsB,KAAO,sBAAsB,QAAU,yBAAyB,OAAS,wBAAwB,OAAS,0B,kBCA/fD,EAAOC,QAAU,CAAC,GAAK,QAAQ,EAAI,QAAQ,MAAM,SAAS,EAAI,SAAS,EAAI,SAAS,GAAK,SAAS,QAAU,0BAA0B,QAAU,0BAA0B,QAAU,0BAA0B,QAAU,0BAA0B,QAAU,0BAA0B,MAAQ,wBAAwB,MAAQ,wBAAwB,WAAa,6BAA6B,KAAO,uBAAuB,KAAO,uBAAuB,UAAY,4BAA4B,gBAAkB,kCAAkC,KAAO,uBAAuB,OAAS,yBAAyB,UAAY","sources":["webpack://_N_E/./src/components/base/MoreQuestions/MoreQuestions.styles.tsx","webpack://_N_E/./src/components/base/MoreQuestions/MoreQuestions.tsx","webpack://_N_E/./src/components/contentful/CommonQuestions/CommonQuestions.tsx","webpack://_N_E/./src/components/contentful/FAQCard/FAQCard.tsx","webpack://_N_E/./src/v2-components/molecules/RichText/RichText.tsx","webpack://_N_E/./src/components/contentful/CommonQuestions/CommonQuestions.module.scss","webpack://_N_E/./src/components/contentful/FAQCard/FAQCard.module.scss","webpack://_N_E/./src/v2-components/molecules/RichText/RichText.module.scss"],"sourcesContent":["import { css } from \"#themes\";\n\nexport const container = css({\n width: \"100%\",\n justifyContent: \"space-between\",\n backgroundColor: \"#222222\",\n padding: \"20px\",\n borderRadius: \"3px\",\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n \"@minTabletLarge\": {\n padding: \"30px 100px 30px 30px\",\n flexDirection: \"row\",\n alignItems: \"center\",\n },\n});\n\nexport const secondaryText = css({\n marginY: \"12px\",\n});\n","import Button from \"#components/base/Button/Button\";\nimport { ArrowRight } from \"#components/base/Icon/Icon\";\nimport Text from \"#components/base/Text/Text\";\nimport { flex } from \"#styles\";\n\nimport * as css from \"./MoreQuestions.styles\";\n\nconst MoreQuestions = () => {\n return (\n
\n
\n \n Got more questions?\n \n \n Can't find what you're looking for here? Check out the full\n FAQ.\n \n
\n {\n window?.location?.assign(\"https://support.tenet.com/\");\n }}\n size=\"medium\"\n aria-label=\"visit-faq\"\n >\n Visit our FAQ\n \n \n
\n );\n};\n\nexport default MoreQuestions;\n","import classNames from \"classnames\";\n\nimport MoreQuestions from \"#components/base/MoreQuestions/MoreQuestions\";\nimport FAQCard from \"#components/contentful/FAQCard/FAQCard\";\nimport SectionWrapper from \"#v2-components/templates/section-wrapper/SectionWrapper\";\n\nimport s from \"./CommonQuestions.module.scss\";\nimport { CommonQuestionsFields } from \"./CommonQuestions.types\";\n\nconst CommonQuestions = ({\n fields,\n belowFold,\n}: {\n fields: CommonQuestionsFields;\n belowFold?: boolean;\n}) => {\n return (\n \n
\n
\n {!fields.hideHeader && (\n
\n

Common Questions

\n
\n )}\n
\n {fields.faqCardComponent.map((card) => (\n \n ))}\n
\n {!fields.hideBanner && }\n
\n
\n \n );\n};\n\nexport default CommonQuestions;\n","import classNames from \"classnames\";\nimport React, { useState } from \"react\";\n\nimport Modal from \"#components/base/Modal/Modal\";\nimport Button from \"#v2-components/molecules/Button/Button\";\nimport {\n ButtonSize,\n ButtonVariant,\n} from \"#v2-components/molecules/Button/Button.types\";\nimport RichText from \"#v2-components/molecules/RichText/RichText\";\n\nimport { FAQCardProps } from \"../FAQSection/FAQSection.types\";\nimport s from \"./FAQCard.module.scss\";\n\nconst FAQCardV6 = ({ card }: { card: FAQCardProps }) => {\n const [isOpen, setIsOpen] = useState(false);\n // Destructuring card to get the faqcard fields\n const { fields } = card;\n const { title, description, modalText, urlV5 } = fields;\n return (\n
\n

{title}

\n

{description}

\n {urlV5 && (\n {\n document.location = urlV5 as unknown as Location;\n }}\n data-cy=\"read-more\"\n >\n Read More\n \n )}\n {modalText && !urlV5 && (\n setIsOpen(true)}\n data-cy=\"learn-more\"\n >\n setIsOpen(false)} header={title}>\n
\n \n
\n
\n Learn More\n \n )}\n
\n );\n};\n\nconst FAQCardV5 = ({ card }: { card: FAQCardProps }) => {\n const [isOpen, setIsOpen] = useState(false);\n // Destructuring card to get the faqcard fields\n const { fields } = card;\n const { title, description, modalText, urlV5 } = fields;\n return (\n
\n

{title}

\n

{description}

\n {urlV5 && (\n {\n document.location = urlV5 as unknown as Location;\n }}\n data-cy=\"read-more\"\n >\n Read More\n \n )}\n {modalText && !urlV5 && (\n setIsOpen(true)}\n data-cy=\"learn-more\"\n >\n setIsOpen(false)} header={title}>\n
\n \n
\n
\n Learn More\n \n )}\n
\n );\n};\n\nconst FAQCard = ({ card }: { card: FAQCardProps }) => {\n const [isOpen, setIsOpen] = useState(false);\n if (card.fields.templateVersion === 5) {\n return ;\n }\n if (card.fields.templateVersion === 6) {\n return ;\n }\n // Destructuring card to get the faqcard fields\n const { fields } = card;\n const { title, description, modalText } = fields;\n return (\n
\n

{title}

\n

{description}

\n {modalText && (\n setIsOpen(true)}\n data-cy=\"learn-more\"\n >\n setIsOpen(false)} header={title}>\n
\n \n
\n
\n Learn More\n \n )}\n
\n );\n};\n\nexport default FAQCard;\n","import {\n documentToReactComponents,\n NodeRenderer,\n Options,\n} from \"@contentful/rich-text-react-renderer\";\nimport { Block, BLOCKS, Inline, MARKS } from \"@contentful/rich-text-types\";\nimport React, { ReactNode } from \"react\";\n\nimport s from \"./RichText.module.scss\";\nimport { ContentfulRichText } from \"./RichText.types\";\n\n// Add functionality as needed Aiden 12082022\nconst Bold: React.FC = ({ children }) => (\n {children}\n);\nconst Italic: React.FC = ({ children }) => (\n {children}\n);\nconst Underline: React.FC = ({ children }) => (\n {children}\n);\n\nconst createHeadingComponent = (tag: string) => {\n const renderer: NodeRenderer = (node: Block | Inline, children) => {\n if (\n \"content\" in node &&\n Array.isArray(node.content) &&\n node.content.length > 0 &&\n \"value\" in node.content[0]\n ) {\n const id = node.content[0].value;\n const formattedId = id.replace(/[^a-zA-Z0-9 ]/g, \"\").replace(/ /g, \"_\");\n return React.createElement(tag, { id: formattedId }, children);\n }\n return React.createElement(tag, null, children);\n };\n return renderer;\n};\n\nconst RichText = ({ richText }: { richText: ContentfulRichText }) => {\n const options: Options = {\n renderMark: {\n [MARKS.BOLD]: (text: ReactNode) => {text},\n [MARKS.ITALIC]: (text: ReactNode) => {text},\n [MARKS.UNDERLINE]: (text: ReactNode) => {text},\n [MARKS.CODE]: (code: ReactNode) => (\n \n ),\n },\n renderNode: {\n [BLOCKS.HEADING_1]: createHeadingComponent(\"h1\"),\n [BLOCKS.HEADING_2]: createHeadingComponent(\"h2\"),\n [BLOCKS.HEADING_3]: createHeadingComponent(\"h3\"),\n [BLOCKS.HEADING_4]: createHeadingComponent(\"h4\"),\n [BLOCKS.HEADING_5]: createHeadingComponent(\"h5\"),\n },\n };\n return (\n
\n {documentToReactComponents(richText, options)}\n
\n );\n};\n\nexport default RichText;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"xs\":\"420px\",\"s\":\"800px\",\"s-m\":\"1024px\",\"m\":\"1280px\",\"l\":\"1440px\",\"xl\":\"1920px\",\"header0\":\"CommonQuestions_header0__nZlnV\",\"header1\":\"CommonQuestions_header1__9alHa\",\"header2\":\"CommonQuestions_header2__uG7GN\",\"header3\":\"CommonQuestions_header3__u_hq9\",\"header4\":\"CommonQuestions_header4__5xdst\",\"body1\":\"CommonQuestions_body1__MeEbl\",\"body2\":\"CommonQuestions_body2__vOAFJ\",\"disclaimer\":\"CommonQuestions_disclaimer__x6Pig\",\"mono\":\"CommonQuestions_mono__nSXHP\",\"test\":\"CommonQuestions_test__t2DXn\",\"parentCommonQ\":\"CommonQuestions_parentCommonQ__jUewN\",\"container\":\"CommonQuestions_container__xjUOD\",\"header\":\"CommonQuestions_header__Xkc4G\",\"cards\":\"CommonQuestions_cards__gOvfx\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"xs\":\"420px\",\"s\":\"800px\",\"s-m\":\"1024px\",\"m\":\"1280px\",\"l\":\"1440px\",\"xl\":\"1920px\",\"header0\":\"FAQCard_header0__sZ3ee\",\"header1\":\"FAQCard_header1__w3RQt\",\"header2\":\"FAQCard_header2__v34kU\",\"header3\":\"FAQCard_header3__I5EmQ\",\"header4\":\"FAQCard_header4__9Xv4o\",\"body1\":\"FAQCard_body1__Yxwla\",\"body2\":\"FAQCard_body2__59yH8\",\"disclaimer\":\"FAQCard_disclaimer__mZIcm\",\"mono\":\"FAQCard_mono__jMiae\",\"test\":\"FAQCard_test__dqQFU\",\"faqCard\":\"FAQCard_faqCard__Fk7lY\",\"v5Card\":\"FAQCard_v5Card__wl_XW\",\"v6Card\":\"FAQCard_v6Card__7ZwLM\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"xs\":\"420px\",\"s\":\"800px\",\"s-m\":\"1024px\",\"m\":\"1280px\",\"l\":\"1440px\",\"xl\":\"1920px\",\"header0\":\"RichText_header0__sEcyC\",\"header1\":\"RichText_header1__z3FUN\",\"header2\":\"RichText_header2__Pmnt_\",\"header3\":\"RichText_header3__T71yZ\",\"header4\":\"RichText_header4__70Z_1\",\"body1\":\"RichText_body1__IZUXB\",\"body2\":\"RichText_body2__rC1H2\",\"disclaimer\":\"RichText_disclaimer__9Jn8D\",\"mono\":\"RichText_mono__xKAlZ\",\"test\":\"RichText_test___7hJv\",\"container\":\"RichText_container__ecrsl\",\"iframeContainer\":\"RichText_iframeContainer___18F9\",\"bold\":\"RichText_bold__8IW9D\",\"italic\":\"RichText_italic__sfi7C\",\"underline\":\"RichText_underline__l_DnF\"};"],"names":["container","css","width","justifyContent","backgroundColor","padding","borderRadius","flexDirection","alignItems","secondaryText","marginY","flex","Text","color","variant","as","Button","onClick","window","location","assign","size","fields","belowFold","SectionWrapper","className","classNames","deferDisplay","s","hideHeader","faqCardComponent","map","card","FAQCard","title","hideBanner","FAQCardV6","isOpen","setIsOpen","useState","description","modalText","urlV5","ButtonVariant","document","open","onClose","header","richText","FAQCardV5","hasRightArrow","forceSize","ButtonSize","templateVersion","Bold","children","Italic","Underline","createHeadingComponent","tag","node","Array","isArray","content","length","formattedId","value","replace","React","id","options","renderMark","MARKS","text","code","dangerouslySetInnerHTML","__html","String","renderNode","BLOCKS","documentToReactComponents","module","exports"],"sourceRoot":""}