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,CAAAA,EAAAA,EAAAA,CAAAA,EAAEP,EAAKyL,kCAAkC,EAC/C5H,KAAM6D,CAAAA,EAAAA,EAAAA,EAAAA,EAAU,qBAAsB,CACpCC,UAAWhH,EACXiH,WAAYtB,EACZuB,WAAYtB,EACZuB,WAAY9H,EAAK0L,iCAAiC,CAACvL,cAAc,GAEnE2K,SAAU,UACVF,QAAS5K,EAAK0L,iCAAiC,CAC/Cb,SAAU,gBACVrI,KAAM,eACR,EAEA,MACE,GAAA9C,EAAA6D,IAAA,EAAA7D,EAAAuL,QAAA,YACE,GAAAvL,EAAAC,GAAA,EAACuL,EAAAA,CAAaA,CAAAA,CACZtB,KAAMtJ,EACN6K,YAAY,UACZC,WAAW,SACX9J,KAAM,GAAA5B,EAAAC,GAAA,EAACmK,EAAAA,WAAWA,CAAAA,CAAChB,cAAY,OAAO7E,MAAM,OAE9C,GAAAvE,EAAAC,GAAA,EAAC0L,EAAAA,CAAiBA,CAAAA,CAChB1K,SAAUA,EACV2F,UAAU,gBACVgF,aAAcd,EACde,aAAcI,EACdE,SAAQ,OAIhB,wFC3GA,IAAM7L,EAAOC,CAAAA,EAAAA,EAAAA,cAAAA,EAAe,CAC1B6L,8BAA+B,CAC7BjM,GAAI,8DACJM,eAAgB,0FAChBC,YAAa,iFACf,CACF,EAUAkK,CAAAA,EAAAC,CAAA,CAJ+B,OAAC,CAAEjK,QAAAA,EAAUC,CAAAA,EAAAA,EAAAA,CAAAA,EAAEP,EAAK8L,6BAA6B,CAAC,CAAS,CAAAtL,QACxF,GAAAd,EAAAC,GAAA,EAACoM,EAAAA,CAAuBA,CAAAA,CAACnC,KAAMtJ","sources":["webpack://_N_E/?77ec","webpack://_N_E/./components/oneTrustScript.tsx","webpack://_N_E/./source/app/pages/SurveyClosed/BrandedEmbeddedSurveyClosed/index.tsx","webpack://_N_E/./pages/survey-closed/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/./source/app/pages/SurveyClosed/BrandedSurveyClosed/index.tsx","webpack://_N_E/./source/app/pages/SurveyClosed/EUBrandedSurveyClosed/index.tsx","webpack://_N_E/./source/app/pages/SurveyClosed/NonBrandedSurveyClosed/index.tsx","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/survey-closed\",\n function () {\n return require(\"private-next-pages/survey-closed/index.page.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/survey-closed\"])\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';\n\nimport BrandedEmbeddedHeader from '~app/components/BrandedEmbeddedHeader';\n\nconst COPY = defineMessages({\n BRANDED_EMBEDDED_COPY: {\n id: 'SurveyClosed.BrandedEmbeddedSurveyClosed.DefaultMessage',\n defaultMessage: 'This survey is closed.',\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 BrandedEmbeddedSurveyClosed = ({ message = t(COPY.BRANDED_EMBEDDED_COPY) }: Props): React.ReactElement => (\n \n);\n\nexport default BrandedEmbeddedSurveyClosed;\n","/*\ntest case (MT1):\nhttps://localmonkey.com/r2/survey-closed?sm=oJH2uafMAEw6Q2_2BDjw_2F8_2F4yWe0n_2Bf9YMne7Ds_2BgImuhYR7P4vs5XHiMcSDfo0491MTUPtcc3gsDWOwn7HGbCWgzxy0tDUe175EpAzdsgT5Q_3D\n */\nimport React, { useEffect } from 'react';\nimport { GetServerSidePropsResult, Redirect } from 'next';\nimport Head from 'next/head';\nimport { MetricsTracker, USER_EVENTS } from '@sm/metrics';\nimport { t, defineMessages } from '@sm/intl';\nimport { ThemeProvider } from 'react-jss';\n\nimport routeHandler from '~helpers/routeHandler';\nimport { SmParams, PageWithLayout } from '~helpers/pages/types';\nimport { buildSmOptions } from '~helpers/buildSmOptions';\nimport surveyClosed, { SurveyClosedServerSideData, PageVariant } from '~helpers/pages/survey-closed';\nimport fetchLocaleMessages from '~helpers/fetchLocaleMessages';\nimport withExperiments from '~helpers/experiments';\nimport { ExperimentData } from '~helpers/types';\nimport BrandedSurveyClosed from '~app/pages/SurveyClosed/BrandedSurveyClosed';\nimport EUBrandedSurveyClosed from '~app/pages/SurveyClosed/EUBrandedSurveyClosed';\nimport NonBrandedSurveyClosed from '~app/pages/SurveyClosed/NonBrandedSurveyClosed';\nimport BrandedEmbeddedSurveyClosed from '~app/pages/SurveyClosed/BrandedEmbeddedSurveyClosed';\nimport EmbeddedNonBrandedHeader from '~app/components/EmbeddedNonBrandedHeader';\nimport { CONTENTEXP_755, setExperimentCookies } from '~app/pages/experiments';\n\nimport theme, { useGlobalStyles } from '~app/styles/cmsTheme';\nimport { CustomGSSPContext, LayoutData } from '~helpers/middleware/types';\nimport OneTrustFooterScript from '~components/oneTrustScript';\nimport PageLayout from '~components/pageLayout';\n\nconst COPY = defineMessages({\n DEFAULT_CLOSED_MESSAGE: {\n id: 'survey-closed.closedMessage',\n defaultMessage:\n 'This survey is currently closed. Please contact the author of this survey for further assistance.',\n },\n CLOSED_PAGE_TITLE: {\n id: 'survey-closed.title',\n defaultMessage: 'Free Online Survey Software by SurveyMonkey: Closed Survey',\n },\n CLOSED_PAGE_NON_BRANDED_TITLE: {\n id: 'survey-closed.nonBrandedTitle',\n defaultMessage: 'Online Survey Software: Closed Survey',\n },\n});\n\nconst fallbackCollectorData = {\n collector: {\n id: null,\n type: null,\n hideBranding: true,\n closedPage: {\n closedMessage: t(COPY.DEFAULT_CLOSED_MESSAGE),\n isBrandingDisabled: true,\n },\n },\n};\n\nconst redirect: Redirect = {\n destination: '/mp/online-research/',\n permanent: true, // 301 status\n};\n\ntype ServerSideProps = LayoutData & {\n canonical: string;\n canonicalHostname: string;\n customMessage: string | undefined;\n pageVariant: PageVariant;\n showFooter: boolean;\n smParams?: SmParams;\n experiments?: ExperimentData[];\n};\n\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: surveyClosed,\n owners: '@webplatform/content',\n onetrustBannerEnabled: true,\n });\n if (!query?.sm) {\n return { redirect }; // redirect without SMParam\n }\n\n withExperiments([CONTENTEXP_755.identifier], {})(handler);\n\n await handler.run(req, res);\n const { collector } = req?.pageProps?.collectorData ?? fallbackCollectorData;\n const smParams = buildSmOptions(query)?.smParams;\n\n const isNonBranded =\n req?.pageProps?.pageOptions?.isNonBrandedSmParam === true ||\n collector?.hideBranding ||\n collector?.closedPage?.isBrandingDisabled ||\n req?.pageProps?.pageOptions?.isWhiteLabel;\n const isEmbedded = req?.pageProps?.pageOptions?.isEmbeddedSmParam || collector?.type?.toUpperCase() === 'POPUP';\n const showFooter = !(isNonBranded || isEmbedded);\n const isEUSubdomain = req?.payloads?.staticData?.locale.isEUSubdomain === true;\n const { canonical = '', canonicalHostname = '' } = req?.pageProps?.pageOptions || {};\n const customMessage = collector?.closedPage?.closedMessage;\n const { slLanguageLocale, languageCode } = req.payloads?.staticData?.environment ?? {};\n const translationData = await fetchLocaleMessages(slLanguageLocale, languageCode);\n\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 return {\n props: {\n // added to the request via routeHandler\n ...req.payloads,\n // added to the request via the pageDataLoaderFactory\n ...req.pageProps,\n translationData,\n layout: {\n variant: 'SurveyMonkey',\n options: {\n pageId: 'Survey Closed',\n legacyWeb: 'anonweb',\n includeHeader: false,\n includeFooter: showFooter,\n includeGTM: true,\n },\n },\n canonical,\n canonicalHostname,\n customMessage,\n pageVariant,\n showFooter,\n smParams,\n experiments: req?.pageProps?.experiments,\n },\n };\n};\n\ntype SurveyClosedBodyProps = {\n endpageMessage: string;\n pageVariant: string;\n};\n\nconst SurveyClosedBody = ({ endpageMessage, pageVariant }: SurveyClosedBodyProps): React.ReactElement => {\n useGlobalStyles();\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 SurveyClosed: PageWithLayout = ({\n pageVariant,\n customMessage,\n smParams,\n experiments,\n canonicalHostname,\n}) => {\n setExperimentCookies(experiments);\n const defaultText: { [key: string]: string } = {\n default: t(COPY.CLOSED_PAGE_TITLE),\n embeddedNonBranded: t(COPY.CLOSED_PAGE_NON_BRANDED_TITLE),\n embeddedBranded: t(COPY.CLOSED_PAGE_TITLE),\n nonbranded: t(COPY.CLOSED_PAGE_NON_BRANDED_TITLE),\n isEU: t(COPY.CLOSED_PAGE_TITLE),\n };\n const endpageMessage: string = customMessage || defaultText[pageVariant];\n\n useEffect(() => {\n MetricsTracker.track({\n name: USER_EVENTS.PAGE_VIEW,\n data: {\n amplitudeEvent: 'page viewed',\n pageName: 'survey closed',\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 \n \n {defaultText[pageVariant]}\n \n \n \n \n \n );\n};\n\nSurveyClosed.getLayout = function getLayout(page) {\n const { layout, staticData, translationData } = page.props;\n\n return (\n \n {page}\n \n );\n};\n\nexport default SurveyClosed;\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","import React from 'react';\nimport { defineMessages, t } from '@sm/intl';\nimport { createURL } from '@sm/utils';\nimport { IconXCircle } 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: 'SurveyClosed.BrandedSurveyClosed.EndpageHeaderCopy',\n defaultMessage: 'This survey is currently closed.',\n description: '[Type: Header][Vis: med] - Informs the viewer that this survey has been closed',\n },\n PRODUCT_CALLOUT_PERKS_HEADING: {\n id: 'SurveyClosed.BrandedSurveyClosed.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: 'SurveyClosed.BrandedSurveyClosed.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: 'SurveyClosed.BrandedSurveyClosed.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_ENTERPRISE_HEADING: {\n id: 'SurveyClosed.BrandedSurveyClosed.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: 'SurveyClosed.BrandedSurveyClosed.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: 'SurveyClosed.BrandedSurveyClosed.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\nexport type Props = {\n message?: string;\n};\n\nconst BrandedSurveyClosed = ({ message = t(COPY.ENDPAGE_HEADER_COPY) }: Props): React.ReactElement => {\n const utSource = 'survey-closed';\n const utSource2 = 'RebrandEpForm';\n const utSource3 = 'ProductCalloutItem';\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: t(COPY.PRODUCT_CALLOUT_ENTERPRISE_BODY),\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 BrandedSurveyClosed;\n","import React from 'react';\nimport { defineMessages, t } from '@sm/intl';\nimport { createURL } from '@sm/utils';\nimport { IconXCircle } 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: 'SurveyClosed.EUBrandedSurveyClosed.EndpageHeaderCopy',\n defaultMessage: 'This survey is currently closed.',\n description: '[Type: Header][Vis: med] - Informs the viewer that this survey has been closed',\n },\n PRODUCT_CALLOUT_PERKS_HEADING: {\n id: 'SurveyClosed.EUBrandedSurveyClosed.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: 'SurveyClosed.EUBrandedSurveyClosed.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: 'SurveyClosed.EUBrandedSurveyClosed.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: 'SurveyClosed.EUBrandedSurveyClosed.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: 'SurveyClosed.EUBrandedSurveyClosed.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: 'SurveyClosed.EUBrandedSurveyClosed.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\nexport type Props = {\n message?: string;\n};\n\nconst EUBrandedSurveyClosed = ({ message = t(COPY.ENDPAGE_HEADER_COPY) }: Props): React.ReactElement => {\n const utSource = 'survey-closed';\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 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 EUBrandedSurveyClosed;\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: 'SurveyClosed.NonBrandedSurveyClosed.NonBrandedEndpageHeader',\n defaultMessage: 'This survey is closed. Please contact the author of this survey for further assistance.',\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 NonBrandedSurveyClosed = ({ message = t(COPY.NONBRANDED_ENDPAGEHEADER_COPY) }: Props): React.ReactElement => (\n \n);\n\nexport default NonBrandedSurveyClosed;\n"],"names":["window","__NEXT_P","push","__webpack_require__","OneTrustFooterScript","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Script","id","type","strategy","COPY","defineMessages","BRANDED_EMBEDDED_COPY","defaultMessage","description","SurveyClosed_BrandedEmbeddedSurveyClosed","message","t","param","jsx_runtime","BrandedEmbeddedHeader","utSource","DEFAULT_CLOSED_MESSAGE","CLOSED_PAGE_TITLE","CLOSED_PAGE_NON_BRANDED_TITLE","SurveyClosedBody","endpageMessage","pageVariant","useGlobalStyles","BrandedSurveyClosed","BrandedEmbeddedSurveyClosed","EmbeddedNonBrandedHeader","icon","NonBrandedSurveyClosed","EUBrandedSurveyClosed","SurveyClosed","customMessage","smParams","experiments","canonicalHostname","setExperimentCookies","defaultText","default","embeddedNonBranded","embeddedBranded","nonbranded","isEU","useEffect","MetricsTracker","track","name","USER_EVENTS","PAGE_VIEW","data","amplitudeEvent","pageName","templateType","surveyId","collectorId","respondentId","urlPath","location","pathname","app","log","jsxs","ThemeProvider","theme","Head","base","target","href","link","rel","concat","title","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","utSource2","utSource3","useContext","StaticContext","Box","className","display","flexAlign","flexJustify","flexDirection","py","Typography","variant","align","data-testid","pt","color","p","a","aria-label","createURL","ut_source","ut_source2","ut_source3","ut_ctatext","data-sm-metrics","generateMetricsAttribute","itemSelected","template","LogoWithText","component","mb","Button","size","endpageColors","textContainer","overflow","EmbeddedNonBrandedHeader_EmbeddedNonBrandedHeader","Icon","IconDanger","aria-hidden","IconMinusCircle","IconCheckCircle","px","pb","createSurveyStyles","header","boxSizing","position","top","marginRight","boldText","fontWeight","NonBrandedEndpageHeader_NonBrandedEndpageHeader","copy","span","IconXCircle","ENDPAGE_HEADER_COPY","PRODUCT_CALLOUT_PERKS_HEADING","PRODUCT_CALLOUT_PERKS_BODY","PRODUCT_CALLOUT_PERKS_CTA","PRODUCT_CALLOUT_ENTERPRISE_HEADING","PRODUCT_CALLOUT_ENTERPRISE_BODY","PRODUCT_CALLOUT_ENTERPRISE_CTA","__webpack_exports__","Z","CALLOUT_ITEM_SIGN_UP","getSrc","PerksIconWhite","heading","ctaText","ctaUsage","ctaColor","CALLOUT_ITEM_ENTERPRISE","EnterpriseIconWhite","Fragment","EndpageHeader","headerColor","headerType","RebrandEpFormCore","calloutItem1","calloutItem2","PRODUCT_CALLOUT_COLLABORATION_HEADING","PRODUCT_CALLOUT_COLLABORATION_BODY","PRODUCT_CALLOUT_COLLABORATION_CTA","CALLOUT_ITEM_COLLABORATION","MsgIconWhite","hideCTAs","NONBRANDED_ENDPAGEHEADER_COPY","NonBrandedEndpageHeader"],"sourceRoot":""}