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mB,CACnCC,OAAQ,CACNC,UAAW,aACXC,SAAU,QACVC,IAAK,OACL3D,MAAO,MACT,EAEAlH,KAAM,CACJ8K,YAAa,SACb,SAAU,CACR5D,MAAO,GACPE,OAAQ,EACV,CACF,EAEA2D,SAAU,CACRC,WAAY,GACd,CACF,GCOA,IAAAC,EAjBiD,OAAC,CAAE5K,KAAAA,CAAI,CAAE,CAAAqC,EAClDyF,EAAUrB,IAEhB,MACE,GAAA5F,EAAAvC,GAAA,EAAC2J,EAAAA,GAAGA,CAAAA,CAACa,EAAG,EAAGZ,UAAWJ,EAAQuC,MAAM,UAClC,GAAAxJ,EAAAC,IAAA,EAAC0H,EAAAA,UAAUA,CAAAA,CAACE,MAAM,SAASa,UAAU,UAAUd,QAAQ,yBACrD,GAAA5H,EAAAvC,GAAA,EAACuM,OAAAA,CAAK3C,UAAWJ,EAAQnI,IAAI,UAC3B,GAAAkB,EAAAvC,GAAA,EAACwM,EAAAA,WAAWA,CAAAA,CAACnC,cAAY,gCAAgCxH,MAAM,YAEjE,GAAAN,EAAAvC,GAAA,EAACuM,OAAAA,CAAKlC,cAAY,gCAAgCT,UAAWJ,EAAQ4C,QAAQ,UAC1E1K,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\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';\n// TODO: consider dropping the usage of BasePage\nimport BasePage from '@sm/webassets/BasePage';\nimport Helmet from '@sm/webassets/Helmet';\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, { ExperimentData } from '~helpers/experiments';\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 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 = req?.pageProps?.pageOptions?.canonical ?? '';\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 pageVariant,\n showFooter,\n smParams,\n experiments: req?.pageProps?.experiments,\n },\n };\n};\n\nconst SurveyTakenBody = (pageVariant: string): React.ReactElement => {\n if (pageVariant === 'branded') {\n return ;\n }\n if (pageVariant === 'embeddedBranded') {\n return ;\n }\n if (pageVariant === 'embeddedNonBranded') {\n return ;\n }\n if (pageVariant === 'nonbranded') {\n return ;\n }\n if (pageVariant === 'brandedEU') {\n return ;\n }\n return ;\n};\n\nconst SurveyTaken: PageWithLayout = ({\n canonical,\n pageVariant,\n showFooter,\n smParams,\n experiments,\n}) => {\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 return (\n \n \n {/* This is a work around, to be removed when Basepage is removed. */}\n \n {defaultText[pageVariant]}\n \n \n \n \n {defaultText[pageVariant]}\n \n {SurveyTakenBody(pageVariant)}\n \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","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","SurveyTakenBody","pageVariant","BrandedSurveyTaken","BrandedEmbeddedSurveyTaken","EmbeddedNonBrandedHeader","NonBrandedSurveyTaken","EUBrandedSurveyTaken","SurveyTaken","canonical","showFooter","smParams","experiments","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","ThemeProvider","theme","BasePage","includeHeader","includeFooter","pageId","legacyWeb","includeGTM","Helmet","Head","base","target","link","rel","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","concat","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":""}