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AA,EAAU,qBAAsB,CACpCC,UAAW9G,EACX+G,WAAYtB,EACZuB,WAAYtB,EACZuB,WAAY5H,EAAKyL,iCAAiC,CAACtL,cAAc,GAEnE0K,SAAU,UACVF,QAAS3K,EAAKyL,iCAAiC,CAC/Cb,SAAU,gBACVnI,KAAM,eACR,EAEA,MACE,GAAA/C,EAAA8D,IAAA,EAAA9D,EAAAsL,QAAA,YACE,GAAAtL,EAAAC,GAAA,EAACsL,EAAAA,CAAaA,CAAAA,CACZtB,KAAMrJ,EACN4K,YAAY,UACZC,WAAW,SACX7J,KAAM,GAAA5B,EAAAC,GAAA,EAACkK,EAAAA,WAAWA,CAAAA,CAAChB,cAAY,OAAO5E,MAAM,OAE9C,GAAAvE,EAAAC,GAAA,EAACyL,EAAAA,CAAiBA,CAAAA,CAChBzK,SAAUA,EACVyF,UAAU,gBACViF,aAAcd,EACde,aAAcI,EACdE,SAAQ,OAIhB,wFC3GA,IAAM5L,EAAOC,CAAAA,EAAAA,EAAAA,cAAAA,EAAe,CAC1B4L,8BAA+B,CAC7BhM,GAAI,8DACJM,eAAgB,0FAChBC,YAAa,iFACf,CACF,EAUAiK,CAAAA,EAAAC,CAAA,CAJ+B,OAAC,CAAEhK,QAAAA,EAAUC,CAAAA,EAAAA,EAAAA,CAAAA,EAAEP,EAAK6L,6BAA6B,CAAC,CAAS,CAAArL,QACxF,GAAAd,EAAAC,GAAA,EAACmM,EAAAA,CAAuBA,CAAAA,CAACnC,KAAMrJ","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 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 = req?.pageProps?.pageOptions?.canonical ?? '';\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 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 canonical,\n showFooter,\n pageVariant,\n customMessage,\n smParams,\n experiments,\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\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","canonical","showFooter","customMessage","smParams","experiments","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","title","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","concat","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":""}