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AQ,EACV,CACF,EAEA0D,SAAU,CACRC,WAAY,GACd,CACF,GCOA,IAAAC,EAjBiD,OAAC,CAAEzK,KAAAA,CAAI,CAAE,CAAAsC,EAClDsF,EAAUrB,IAEhB,MACE,GAAA1F,EAAAvC,GAAA,EAACyJ,EAAAA,GAAGA,CAAAA,CAACa,EAAG,EAAGZ,UAAWJ,EAAQsC,MAAM,UAClC,GAAArJ,EAAAC,IAAA,EAACwH,EAAAA,UAAUA,CAAAA,CAACE,MAAM,SAASY,UAAU,UAAUb,QAAQ,yBACrD,GAAA1H,EAAAvC,GAAA,EAACoM,OAAAA,CAAK1C,UAAWJ,EAAQjI,IAAI,UAC3B,GAAAkB,EAAAvC,GAAA,EAACqM,EAAAA,WAAWA,CAAAA,CAAClC,cAAY,gCAAgCrH,MAAM,YAEjE,GAAAP,EAAAvC,GAAA,EAACoM,OAAAA,CAAKjC,cAAY,gCAAgCT,UAAWJ,EAAQ2C,QAAQ,UAC1EvK,QAKX","sources":["webpack://_N_E/?4eb7","webpack://_N_E/./components/oneTrustScript.tsx","webpack://_N_E/./source/app/pages/SurveyTaken/BrandedSurveyTaken/index.tsx","webpack://_N_E/./source/app/pages/SurveyTaken/EUBrandedSurveyTaken/index.tsx","webpack://_N_E/./source/app/pages/SurveyTaken/NonBrandedSurveyTaken/index.tsx","webpack://_N_E/./source/app/pages/SurveyTaken/BrandedEmbeddedSurveyTaken/index.tsx","webpack://_N_E/./pages/survey-taken/index.page.tsx","webpack://_N_E/./source/app/components/BrandedEmbeddedHeader/BrandedEmbeddedHeader.tsx","webpack://_N_E/./source/app/components/BrandedEmbeddedHeader/index.ts","webpack://_N_E/./source/app/components/EmbeddedNonBrandedHeader/EmbeddedNonBrandedHeader.tsx","webpack://_N_E/./source/app/components/EmbeddedNonBrandedHeader/index.tsx","webpack://_N_E/./source/app/components/NonBrandedEndpageHeader/useStyles.ts","webpack://_N_E/./source/app/components/NonBrandedEndpageHeader/NonBrandedEndpageHeader.tsx","webpack://_N_E/./source/app/components/NonBrandedEndpageHeader/index.ts","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/survey-taken\",\n function () {\n return require(\"private-next-pages/survey-taken/index.page.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/survey-taken\"])\n });\n }\n ","import React from 'react';\nimport Script from 'next/script';\n\nexport default function OneTrustFooterScript(): React.ReactElement {\n return (\n \n );\n}\n","import React from 'react';\nimport { defineMessages, t } from '@sm/intl';\nimport { createURL } from '@sm/utils';\nimport { IconCheckCircle } from '@wds/icons';\n\nimport EndpageHeader from '~app/components/EndpageHeader';\nimport RebrandEpFormCore from '~app/components/RebrandEpFormCore';\nimport { ProductsCalloutListItem } from '~app/components/ProductsCalloutList/ProductsCalloutList';\n\nimport PerksIconWhite from '~static/images/icons/perks-icon-white.svg';\nimport EnterpriseIconWhite from '~static/images/icons/enterprise-icon-white.svg';\nimport { getSrc } from '~app/helpers/assetLoading';\n\nconst COPY = defineMessages({\n ENDPAGE_HEADER_COPY: {\n id: 'SurveyTaken.BrandedSurveyTaken.EndpageHeaderCopy',\n defaultMessage: 'You have already taken this survey',\n description: '[Type: Header][Vis: med] - Informs the viewer that this survey has been taken',\n },\n\n PRODUCT_CALLOUT_PERKS_HEADING: {\n id: 'SurveyTaken.BrandedSurveyTaken.ProductCalloutPerksHeader',\n defaultMessage: 'Is your company missing key perks?',\n description:\n '[Type: Header][Vis: med] - Tagline to help entice users to views click the cta below. The CTA leads to another signup page with minimal information.',\n },\n PRODUCT_CALLOUT_PERKS_BODY: {\n id: 'SurveyTaken.BrandedSurveyTaken.ProductCalloutPerkseBody',\n defaultMessage:\n 'People love their work perks. Send a survey to find out if you’re offering the incentives employees and potential candidates want.',\n description: '[Type: Paragraph][Vis: med] - Gives context to the above Tagline',\n },\n PRODUCT_CALLOUT_PERKS_CTA: {\n id: 'SurveyTaken.BrandedSurveyTaken.ProductCalloutPerksCTA',\n defaultMessage: 'Find out',\n description: '[Type: Button][Vis: med] - The text for a button which leads users to another sign up page',\n },\n\n PRODUCT_CALLOUT_ENTERPRISE_HEADING: {\n id: 'SurveyTaken.BrandedSurveyTaken.ProductCalloutEnterpriseHeader',\n defaultMessage: 'Take your business to the next level',\n description: '[Type: Header][Vis: med] - Tagline to help user learn more about SurveyMonkey Enterprise suite',\n },\n PRODUCT_CALLOUT_ENTERPRISE_BODY: {\n id: 'SurveyTaken.BrandedSurveyTaken.ProductCalloutEnterpriseBody',\n defaultMessage:\n 'Get access to powerful solutions that help you quickly collect feedback from your customers, prospects, and employees.',\n description: '[Type: Paragraph][Vis: med] - Expands on the above header line.',\n },\n PRODUCT_CALLOUT_ENTERPRISE_CTA: {\n id: 'SurveyTaken.BrandedSurveyTaken.ProductCalloutEnterpriseCTA',\n defaultMessage: 'Learn more',\n description:\n \"[Type: Button][Vis: med] - The button text which leads users to a marketing page to learn more about SurveyMonkey's enterprise plans\",\n },\n});\n\nconst BrandedSurveyTaken = (): React.ReactElement => {\n const utSource = 'survey-taken';\n const utSource2 = 'RebrandEpForm';\n const utSource3 = 'ProductCalloutItem';\n\n const CALLOUT_ITEM_SIGN_UP: ProductsCalloutListItem = {\n icon: getSrc(PerksIconWhite),\n heading: t(COPY.PRODUCT_CALLOUT_PERKS_HEADING),\n copy: t(COPY.PRODUCT_CALLOUT_PERKS_BODY),\n href: createURL('/user/sign-up/', {\n ut_source: utSource,\n ut_source2: utSource2,\n ut_source3: utSource3,\n ut_ctatext: COPY.PRODUCT_CALLOUT_PERKS_CTA.defaultMessage,\n }),\n ctaText: COPY.PRODUCT_CALLOUT_PERKS_CTA,\n ctaUsage: 'sign-up secondary',\n ctaColor: 'sabaeus',\n name: 'perks',\n };\n\n const CALLOUT_ITEM_ENTERPRISE: ProductsCalloutListItem = {\n icon: getSrc(EnterpriseIconWhite),\n heading: t(COPY.PRODUCT_CALLOUT_ENTERPRISE_HEADING),\n copy: COPY.PRODUCT_CALLOUT_ENTERPRISE_BODY.defaultMessage,\n href: createURL('/mp/enterprise/', {\n ut_source: utSource,\n ut_source2: utSource2,\n ut_source3: utSource3,\n ut_ctatext: COPY.PRODUCT_CALLOUT_ENTERPRISE_CTA.defaultMessage,\n }),\n ctaText: COPY.PRODUCT_CALLOUT_ENTERPRISE_CTA,\n ctaUsage: 'enterprise cta',\n ctaColor: 'midnight',\n name: 'enterprise',\n };\n\n return (\n <>\n }\n />\n \n \n );\n};\n\nexport default BrandedSurveyTaken;\n","import React from 'react';\nimport { defineMessages, t } from '@sm/intl';\nimport { createURL } from '@sm/utils';\nimport { IconCheckCircle } from '@wds/icons';\n\nimport EndpageHeader from '~app/components/EndpageHeader';\nimport RebrandEpFormCore from '~app/components/RebrandEpFormCore';\nimport { ProductsCalloutListItem } from '~app/components/ProductsCalloutList/ProductsCalloutList';\n\nimport PerksIconWhite from '~static/images/icons/perks-icon-white.svg';\nimport MsgIconWhite from '~static/images/icons/msg-icon-white.svg';\nimport { getSrc } from '~app/helpers/assetLoading';\n\nconst COPY = defineMessages({\n ENDPAGE_HEADER_COPY: {\n id: 'SurveyTaken.EUBrandedSurveyTaken.EndpageHeaderCopy',\n defaultMessage: 'You have already taken this survey',\n description: '[Type: Header][Vis: med] - Informs the viewer that this survey has been taken',\n },\n PRODUCT_CALLOUT_PERKS_HEADING: {\n id: 'SurveyTaken.EUBrandedSurveyTaken.ProductCalloutPerksHeader',\n defaultMessage: 'Is your company missing key perks?',\n description:\n '[Type: Header][Vis: med] - Tagline to help entice users to views click the cta below. The CTA leads to another signup page with minimal information.',\n },\n PRODUCT_CALLOUT_PERKS_BODY: {\n id: 'SurveyTaken.EUBrandedSurveyTaken.ProductCalloutPerksBody',\n defaultMessage:\n 'People love their work perks. Send a survey to find out if you’re offering the incentives employees and potential candidates want.',\n description: '[Type: Paragraph][Vis: med] - Gives context to the above Tagline',\n },\n PRODUCT_CALLOUT_PERKS_CTA: {\n id: 'SurveyTaken.EUBrandedSurveyTaken.ProductCalloutPerksCTA',\n defaultMessage: 'Find out',\n description: '[Type: Button][Vis: med] - The text for a button which leads users to another sign up page',\n },\n PRODUCT_CALLOUT_COLLABORATION_HEADING: {\n id: 'SurveyTaken.EUBrandedSurveyTaken.ProductCalloutCollaborationEUHeader',\n defaultMessage: 'Are your customers satisfied?',\n description: '[Type: Header][Vis: med] - Tag line to help user learn more about SurveyMonkey Collaboration',\n },\n PRODUCT_CALLOUT_COLLABORATION_BODY: {\n id: 'SurveyTaken.EUBrandedSurveyTaken.ProductCalloutCollaborationEUBody',\n defaultMessage: '83% of businesses who describe themselves as “successful” actively measure customer satisfaction.',\n description: '[Type: Paragraph][Vis: med] - Expands and reiterate the above header line.',\n },\n PRODUCT_CALLOUT_COLLABORATION_CTA: {\n id: 'SurveyTaken.EUBrandedSurveyTaken.ProductCalloutCollaborationEUCTA',\n defaultMessage: 'Get started',\n description:\n \"[Type: Button][Vis: med] - The button text which leads users to a marketing page to learn more about SurveyMonkey' premium plans\",\n },\n});\n\nconst EUBrandedSurveyTaken = (): React.ReactElement => {\n const utSource = 'survey-taken';\n const utSource2 = 'RebrandEpFormIntl';\n const utSource3 = 'ProductCalloutItem';\n\n const CALLOUT_ITEM_SIGN_UP: ProductsCalloutListItem = {\n icon: getSrc(PerksIconWhite),\n heading: t(COPY.PRODUCT_CALLOUT_PERKS_HEADING),\n copy: t(COPY.PRODUCT_CALLOUT_PERKS_BODY),\n href: createURL('/user/sign-up/', {\n ut_source: utSource,\n ut_source2: utSource2,\n ut_source3: utSource3,\n ut_ctatext: COPY.PRODUCT_CALLOUT_PERKS_CTA.defaultMessage,\n }),\n\n ctaText: COPY.PRODUCT_CALLOUT_PERKS_CTA,\n ctaUsage: 'sign-up secondary',\n ctaColor: 'sabaeus',\n name: 'perks',\n };\n\n const CALLOUT_ITEM_COLLABORATION: ProductsCalloutListItem = {\n icon: getSrc(MsgIconWhite),\n heading: t(COPY.PRODUCT_CALLOUT_COLLABORATION_HEADING),\n copy: t(COPY.PRODUCT_CALLOUT_COLLABORATION_BODY),\n href: createURL('/mp/collaboration/', {\n ut_source: utSource,\n ut_source2: utSource2,\n ut_source3: utSource3,\n ut_ctatext: COPY.PRODUCT_CALLOUT_COLLABORATION_CTA.defaultMessage,\n }),\n ctaColor: 'concord',\n ctaText: COPY.PRODUCT_CALLOUT_COLLABORATION_CTA,\n ctaUsage: 'collaboration',\n name: 'collaboration',\n };\n\n return (\n <>\n }\n />\n \n \n );\n};\n\nexport default EUBrandedSurveyTaken;\n","import React from 'react';\nimport { defineMessages, t } from '@sm/intl';\n\nimport NonBrandedEndpageHeader from '~app/components/NonBrandedEndpageHeader';\n\nconst COPY = defineMessages({\n NONBRANDED_ENDPAGEHEADER_COPY: {\n id: 'SurveyTaken.NonBrandedSurveyTaken.NonBrandedEndpageHeader',\n defaultMessage: 'You have already taken this survey',\n description: '[Type: Header][Vis: high] - Informs the viewer that this survey has been taken',\n },\n});\n\nconst NonBrandedSurveyTaken = (): React.ReactElement => {\n return ;\n};\n\nexport default NonBrandedSurveyTaken;\n","import React from 'react';\nimport { defineMessages, t } from '@sm/intl';\n\nimport BrandedEmbeddedHeader from '~app/components/BrandedEmbeddedHeader';\n\nconst COPY = defineMessages({\n BRANDED_EMBEDDED_COPY: {\n id: 'SurveyTaken.BrandedEmbeddedSurveyTaken.DefaultMessage',\n defaultMessage: 'You have already taken this survey.',\n description: '[Type: Header][Vis: high] - Informs the viewer that this survey has been closed',\n },\n});\n\nexport type Props = {\n message?: string;\n};\n\nconst BrandedEmbeddedSurveyTaken = ({ message = t(COPY.BRANDED_EMBEDDED_COPY) }: Props): React.ReactElement => (\n \n);\n\nexport default BrandedEmbeddedSurveyTaken;\n","import React, { useEffect } from 'react';\nimport { GetServerSidePropsResult } from 'next';\nimport { ThemeProvider } from 'react-jss';\nimport Head from 'next/head';\nimport { t, defineMessages } from '@sm/intl';\nimport { MetricsTracker, USER_EVENTS } from '@sm/metrics';\n\nimport routeHandler from '~helpers/routeHandler';\nimport surveyTaken, { SurveyTakenServerSideData } from '~helpers/pages/survey-taken';\nimport { SmParams, PageWithLayout } from '~helpers/pages/types';\nimport { buildSmOptions } from '~helpers/buildSmOptions';\nimport fetchLocaleMessages from '~helpers/fetchLocaleMessages';\n\nimport theme, { useGlobalStyles } from '~app/styles/cmsTheme';\nimport BrandedSurveyTaken from '~app/pages/SurveyTaken/BrandedSurveyTaken';\nimport EUBrandedSurveyTaken from '~app/pages/SurveyTaken/EUBrandedSurveyTaken';\nimport NonBrandedSurveyTaken from '~app/pages/SurveyTaken/NonBrandedSurveyTaken';\nimport BrandedEmbeddedSurveyTaken from '~app/pages/SurveyTaken/BrandedEmbeddedSurveyTaken';\nimport EmbeddedNonBrandedHeader from '~app/components/EmbeddedNonBrandedHeader';\nimport { CustomGSSPContext, LayoutData } from '~helpers/middleware/types';\nimport OneTrustFooterScript from '~components/oneTrustScript';\nimport PageLayout from '~components/pageLayout';\nimport withExperiments from '~helpers/experiments';\nimport { ExperimentData } from '~helpers/types';\nimport { CONTENTEXP_755, setExperimentCookies } from '~app/pages/experiments';\n\nconst COPY = defineMessages({\n DEFAULT_TAKEN_MESSAGE: {\n id: 'survey-taken.takenMessage',\n defaultMessage: 'You have already taken this survey.',\n },\n TAKEN_PAGE_TITLE: {\n id: 'survey-taken.title',\n defaultMessage: 'Free Online Survey Software by SurveyMonkey: Survey Taken',\n },\n TAKEN_PAGE_NON_BRANDED_TITLE: {\n id: 'survey-taken.nonBrandedTitle',\n defaultMessage: 'Online Survey Software: Survey Taken',\n },\n});\n\nconst fallbackCollectorData = {\n collector: {\n id: null,\n type: null,\n hideBranding: true,\n },\n};\n\ntype PageVariant = 'branded' | 'nonbranded' | 'brandedEU' | 'embeddedNonBranded' | 'embeddedBranded';\n\ntype ServerSideProps = LayoutData & {\n canonical: string;\n canonicalHostname: string;\n pageVariant: PageVariant;\n showFooter: boolean;\n smParams?: SmParams;\n experiments?: ExperimentData[];\n};\n\n// does not use CustomGetServerSideProps types as it needs pageProps but does not return it\nexport const getServerSideProps = async ({\n req,\n res,\n query,\n resolvedUrl,\n}: CustomGSSPContext): Promise<\n GetServerSidePropsResult\n> => {\n const handler = routeHandler({\n query,\n pageDataLoader: surveyTaken,\n owners: '@webplatform/content',\n onetrustBannerEnabled: true,\n });\n\n withExperiments([CONTENTEXP_755.identifier], {})(handler);\n\n await handler.run(req, res);\n\n const smParams = buildSmOptions(query)?.smParams;\n const { collector } = req?.pageProps?.collectorData ?? fallbackCollectorData;\n\n const isNonBranded =\n req?.pageProps?.pageOptions?.isNonBrandedSmParam === true ||\n collector?.hideBranding ||\n req?.pageProps?.pageOptions?.isWhiteLabel;\n\n const isEmbedded = req?.pageProps?.pageOptions?.isEmbeddedSmParam || collector?.type?.toUpperCase() === 'POPUP';\n\n const showFooter = !(isNonBranded || isEmbedded);\n\n // TODO: related to the typing, this part needs re-visit\n const isEUSubdomain = req?.payloads?.staticData?.locale.isEUSubdomain === true;\n const { canonical = '', canonicalHostname = '' } = req?.pageProps?.pageOptions || {};\n\n // determine the variant of content to render\n let pageVariant: PageVariant = 'branded';\n if (isEmbedded) {\n pageVariant = isNonBranded ? 'embeddedNonBranded' : 'embeddedBranded';\n } else if (isNonBranded) {\n pageVariant = 'nonbranded';\n } else if (isEUSubdomain) {\n pageVariant = 'brandedEU';\n }\n\n // TODO: Retire the usage of StaticContext and use page props instead.\n // Additional page-specific (reCAPTCHA) data needed in StaticContext\n req.addClientPayload('staticData', {\n recaptchaV3: {\n enabled: process?.env?.SECURITY_RECAPTCHA_V3_ENABLED?.toLowerCase() === 'true' ?? false,\n siteKey: process?.env?.SECURITY_RECAPTCHA_V3_SITE_KEY ?? '',\n url: process?.env?.SECURITY_RECAPTCHA_V3_URL ?? '',\n urlChina: process?.env?.SECURITY_RECAPTCHA_V3_URL_CHINA ?? '',\n useEnterprise: process?.env?.SECURITY_RECAPTCHA_V3_USE_ENTERPRISE?.toLowerCase() === 'true' ?? false,\n },\n smParams,\n templateType: pageVariant,\n contentexp755Treatment: req?.pageProps?.experiments?.[0]?.treatment ?? '',\n });\n\n const { slLanguageLocale, languageCode } = req.payloads?.staticData?.environment ?? {};\n const translationData = await fetchLocaleMessages(slLanguageLocale, languageCode);\n\n return {\n props: {\n // added to the request via routeHandler\n ...req.payloads,\n translationData,\n layout: {\n variant: 'SurveyMonkey',\n options: {\n pageId: 'Survey Taken',\n legacyWeb: 'anonweb',\n includeHeader: false,\n includeFooter: showFooter,\n includeGTM: true,\n },\n },\n canonical,\n canonicalHostname,\n pageVariant,\n showFooter,\n smParams,\n experiments: req?.pageProps?.experiments,\n },\n };\n};\n\nconst SurveyTaken: PageWithLayout = ({ pageVariant, smParams, experiments, canonicalHostname }) => {\n setExperimentCookies(experiments);\n useGlobalStyles();\n const defaultText: { [key: string]: string } = {\n default: t(COPY.TAKEN_PAGE_TITLE),\n embeddedNonBranded: t(COPY.TAKEN_PAGE_NON_BRANDED_TITLE),\n embeddedBranded: t(COPY.TAKEN_PAGE_TITLE),\n nonbranded: t(COPY.TAKEN_PAGE_NON_BRANDED_TITLE),\n isEU: t(COPY.TAKEN_PAGE_TITLE),\n };\n\n useEffect(() => {\n MetricsTracker.track({\n name: USER_EVENTS.PAGE_VIEW,\n data: {\n amplitudeEvent: 'page viewed',\n pageName: 'survey taken',\n templateType: pageVariant,\n surveyId: smParams?.surveyId,\n collectorId: smParams?.collectorId,\n respondentId: smParams?.respondentId,\n urlPath: window.location.pathname,\n app: 'respweb',\n log: {\n message: pageVariant,\n },\n },\n });\n }, [pageVariant, smParams]);\n\n const surveyTakenBody: React.JSX.Element = {\n branded: ,\n nonbranded: ,\n brandedEU: ,\n embeddedNonBranded: ,\n embeddedBranded: ,\n }[pageVariant as PageVariant] || ;\n\n return (\n \n \n \n \n {defaultText[pageVariant]}\n \n \n {surveyTakenBody}\n \n \n );\n};\n\nSurveyTaken.getLayout = function getLayout(page) {\n const { layout, staticData, translationData } = page.props;\n\n return (\n \n {page}\n \n );\n};\n\nexport default SurveyTaken;\n","import React, { useContext } from 'react';\n\nimport { defineMessages, t } from '@sm/intl';\nimport { StaticContext } from '@sm/webassets/StaticContext';\nimport { createURL } from '@sm/utils';\nimport { createUseStyles } from 'react-jss';\nimport { LogoWithText } from '@sm/webassets/Logos';\nimport { generateMetricsAttribute } from '@sm/metrics';\nimport { Box } from '@wds/box';\nimport { Typography } from '@wds/typography';\nimport { Button } from '@wds/button';\nimport { CmsWrenchTheme } from '~app/styles/cmsTheme';\n\nconst COPY = defineMessages({\n BRANDED_EMBEDDED_POWERED_BY: {\n id: 'BrandedEmbeddedHeader.BrandedEmbeddedHeader.PoweredBy',\n defaultMessage: 'Powered by',\n description:\n '[Type: Label][Vis: med] - This figure of speech is used to introduce and display the SurveyMonkey Logo',\n },\n BRANDED_EMBEDDED_CTA: {\n id: 'BrandedEmbeddedHeader.BrandedEmbeddedHeader.EmbeddedCTAText',\n defaultMessage: 'Sign up free',\n description:\n '[Type: Label][Vis: med] - This is the phrase used inside a button that directs views to a signup page',\n },\n BRANDED_EMBEDDED_CTA_TITLE: {\n id: 'BrandedEmbeddedHeader.BrandedEmbeddedHeader.EmbeddedCTATitle',\n defaultMessage: 'Create surveys. Get answers.',\n description:\n '[Type: Label][Vis: low] - This text is here for accessibility reasons, it is usually hidden from users.',\n },\n LOGO_ARIA_LABEL: {\n id: 'BrandedEmbeddedHeader.BrandedEmbeddedHeader.LogoAriaLabel',\n defaultMessage: 'SurveyMonkey home',\n description: '[Type: Header][Vis: med] - The SurveyMonkey Logo shown at the top of the page',\n },\n});\n\nconst useStyles = createUseStyles((theme: CmsWrenchTheme) => {\n return {\n embeddedContainer: {\n overflowY: 'auto',\n width: '100%',\n },\n embeddedWrapper: {\n height: theme.util.fullHeight,\n minWidth: 300,\n },\n headerContainer: {\n maxWidth: 300,\n },\n logoWithText: {\n height: 23,\n },\n ctaWrapper: {\n backgroundColor: theme.brandColors.neutral.slate,\n width: 280,\n minHeight: 102,\n borderRadius: 5,\n },\n };\n});\n\nfunction BrandedEmbeddedHeader({ message, utSource }: Props): React.ReactElement {\n const classes = useStyles();\n const utSource2 = 'Embedded';\n const utSource3 = 'BrandedEmbeddedHeader';\n const {\n smParams: { surveyId, collectorId, respondentId },\n templateType,\n } = useContext(StaticContext);\n return (\n \n \n \n \n {message}\n \n \n \n \n {t(COPY.BRANDED_EMBEDDED_POWERED_BY)}\n \n \n \n \n \n \n \n \n \n {t(COPY.BRANDED_EMBEDDED_CTA_TITLE)}\n \n \n \n {t(COPY.BRANDED_EMBEDDED_CTA)}\n \n \n \n \n );\n}\n\nexport type Props = {\n message: string;\n utSource: string;\n};\n\nexport default BrandedEmbeddedHeader;\n","export { default } from './BrandedEmbeddedHeader';\nexport type { Props as BrandedEmbeddedHeaderProps } from './BrandedEmbeddedHeader';\n","import React from 'react';\nimport { createUseStyles } from 'react-jss';\nimport { Box } from '@wds/box';\nimport { Typography } from '@wds/typography';\nimport { IconDanger, IconMinusCircle, IconCheckCircle } from '@wds/icons';\nimport { CmsWrenchTheme } from '~app/styles/cmsTheme';\n\nconst useStyles = createUseStyles((theme: CmsWrenchTheme) => {\n return {\n embeddedContainer: {\n height: theme.util.fullHeight,\n backgroundColor: theme.endpageColors.embeddedNonBranded.backgroundColor,\n },\n textContainer: {\n overflow: 'auto',\n },\n };\n});\n\nfunction EmbeddedNonBrandedHeader({ message, icon }: Props): React.ReactElement {\n const { embeddedContainer, textContainer } = useStyles();\n let Icon;\n switch (true) {\n case icon === 'closed':\n Icon = (\n \n );\n break;\n case icon === 'taken':\n Icon = (\n \n );\n break;\n case icon === 'thanks':\n Icon = (\n \n );\n break;\n }\n return (\n \n {Icon}\n\n \n \n {message}\n \n \n \n );\n}\n\nexport type Props = {\n message: string;\n icon: 'closed' | 'taken' | 'thanks';\n};\n\nexport default EmbeddedNonBrandedHeader;\n","export { default } from './EmbeddedNonBrandedHeader';\nexport type { Props as EmbeddedNonBrandedHeaderProps } from './EmbeddedNonBrandedHeader';\n","import { createSurveyStyles } from '@sm/webassets/SurveyTheme/context';\n\nconst useStyles = createSurveyStyles({\n header: {\n boxSizing: 'border-box',\n position: 'fixed',\n top: '42vh',\n width: '100%',\n },\n\n icon: {\n marginRight: '0.5rem',\n '&> svg': {\n width: 40,\n height: 40,\n },\n },\n\n boldText: {\n fontWeight: 500,\n },\n});\n\nexport default useStyles;\n","import React from 'react';\nimport { Box } from '@wds/box';\nimport { Typography } from '@wds/typography';\nimport { IconXCircle } from '@wds/icons';\n\nimport useStyles from './useStyles';\n\nexport type Props = {\n copy: string;\n};\n\nconst NonBrandedEndpageHeader: React.FC = ({ copy }) => {\n const classes = useStyles();\n\n return (\n \n \n \n \n \n \n {copy}\n \n \n \n );\n};\n\nexport default NonBrandedEndpageHeader;\n","export { default } from './NonBrandedEndpageHeader';\nexport type { Props as NonBrandedEndpageHeaderProps } from './NonBrandedEndpageHeader';\n"],"names":["window","__NEXT_P","push","__webpack_require__","OneTrustFooterScript","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Script","id","type","strategy","COPY","defineMessages","ENDPAGE_HEADER_COPY","defaultMessage","description","PRODUCT_CALLOUT_PERKS_HEADING","PRODUCT_CALLOUT_PERKS_BODY","PRODUCT_CALLOUT_PERKS_CTA","PRODUCT_CALLOUT_ENTERPRISE_HEADING","PRODUCT_CALLOUT_ENTERPRISE_BODY","PRODUCT_CALLOUT_ENTERPRISE_CTA","SurveyTaken_BrandedSurveyTaken","utSource","utSource2","utSource3","CALLOUT_ITEM_SIGN_UP","icon","getSrc","PerksIconWhite","heading","t","copy","href","createURL","ut_source","ut_source2","ut_source3","ut_ctatext","ctaText","ctaUsage","ctaColor","name","CALLOUT_ITEM_ENTERPRISE","EnterpriseIconWhite","jsx_runtime","jsxs","Fragment","EndpageHeader","headerType","IconCheckCircle","aria-hidden","title","RebrandEpFormCore","calloutItem1","calloutItem2","PRODUCT_CALLOUT_COLLABORATION_HEADING","PRODUCT_CALLOUT_COLLABORATION_BODY","PRODUCT_CALLOUT_COLLABORATION_CTA","SurveyTaken_EUBrandedSurveyTaken","CALLOUT_ITEM_COLLABORATION","MsgIconWhite","headerColor","hideCTAs","NONBRANDED_ENDPAGEHEADER_COPY","SurveyTaken_NonBrandedSurveyTaken","NonBrandedEndpageHeader","BRANDED_EMBEDDED_COPY","SurveyTaken_BrandedEmbeddedSurveyTaken","message","param","BrandedEmbeddedHeader","DEFAULT_TAKEN_MESSAGE","TAKEN_PAGE_TITLE","TAKEN_PAGE_NON_BRANDED_TITLE","SurveyTaken","pageVariant","smParams","experiments","canonicalHostname","setExperimentCookies","useGlobalStyles","defaultText","default","embeddedNonBranded","embeddedBranded","nonbranded","isEU","useEffect","MetricsTracker","track","USER_EVENTS","PAGE_VIEW","data","amplitudeEvent","pageName","templateType","surveyId","collectorId","respondentId","urlPath","location","pathname","app","log","surveyTakenBody","branded","BrandedSurveyTaken","NonBrandedSurveyTaken","brandedEU","EUBrandedSurveyTaken","EmbeddedNonBrandedHeader","BrandedEmbeddedSurveyTaken","ThemeProvider","theme","Head","base","target","link","rel","concat","meta","content","getLayout","page","layout","staticData","translationData","props","PageLayout","index_page","BRANDED_EMBEDDED_POWERED_BY","BRANDED_EMBEDDED_CTA","BRANDED_EMBEDDED_CTA_TITLE","LOGO_ARIA_LABEL","useStyles","createUseStyles","embeddedContainer","overflowY","width","embeddedWrapper","height","util","fullHeight","minWidth","headerContainer","maxWidth","logoWithText","ctaWrapper","backgroundColor","brandColors","neutral","slate","minHeight","borderRadius","BrandedEmbeddedHeader_BrandedEmbeddedHeader","classes","useContext","StaticContext","Box","className","display","flexAlign","flexJustify","flexDirection","py","Typography","variant","align","data-testid","pt","color","p","a","aria-label","data-sm-metrics","generateMetricsAttribute","itemSelected","template","LogoWithText","component","mb","Button","size","endpageColors","textContainer","overflow","EmbeddedNonBrandedHeader_EmbeddedNonBrandedHeader","Icon","IconDanger","IconMinusCircle","px","pb","createSurveyStyles","header","boxSizing","position","top","marginRight","boldText","fontWeight","NonBrandedEndpageHeader_NonBrandedEndpageHeader","span","IconXCircle"],"sourceRoot":""}