\n ))}\n \n \n ))}\n \n \n >\n );\n}\n","import React, { useContext } from 'react';\nimport { StaticContext } from '@sm/webassets';\nimport { Box } from '@wds/box';\nimport { Responsive } from '@wds/responsive';\nimport { PricingData } from './types';\n\nimport DetailsPackageHeader from '~pricing/components/DetailsTable/PackageHeader';\nimport Categories from '~app/pages/Pricing/components/DetailsTable/Categories';\n\nimport useDetailsStyles from './useStyles';\n\nexport default function DetailsPackagesView({ packageData }: PricingData): JSX.Element {\n const { Details, Sticky, Mobile, Desktop } = useDetailsStyles({\n packageCount: packageData.length,\n });\n\n const { ssrEnv } = useContext(StaticContext);\n\n if (!packageData) {\n return <>>;\n }\n\n return (\n \n \n \n {packageData.map((pricingPackage, index: number) => {\n const { comparisonSkuCost, skuCost, packageName } = pricingPackage;\n return (\n
\n \n \n
\n );\n })}\n \n \n\n \n \n \n {packageData.map((pricingPackage, index: number) => {\n const { comparisonSkuCost, skuCost, packageName } = pricingPackage;\n return (\n \n );\n })}\n \n \n \n \n \n );\n}\n","import React, { useEffect } from 'react';\nimport { useParams } from 'react-router';\nimport { t } from '@sm/intl';\nimport { createURL } from '@sm/utils';\nimport { NavRouteParams } from '~pricing/components/Navigation/types';\n\nimport BackToSummary from '~pricing/components/BackToSummary';\nimport MainHeading from '~pricing/components/MainHeading';\nimport Navigation from '~pricing/components/Navigation';\nimport DetailsFooter from '~pricing/components/PricingFooter';\nimport useTrackingDetails from '~pricing/hooks/useTrackingDetails';\nimport COPY from '~app/pages/Pricing/copy';\nimport DetailsPackagesView from '~pricing/components/DetailsPackagesView';\nimport { usePackages } from '~shared/hooks/usePackages';\n/**\n * This only gets generated on the details page, if canonical path is missing then,\n * we must be on the /pricing/details (canonical to details), the back link should default to teams summary\n * with ut_source attached as per legacy billweb\n */\n\nexport default function PricingDetailsPage(): JSX.Element {\n const { canonicalPath } = useParams();\n const { displayPackages, allPackages } = usePackages();\n const { pageUtSource } = useTrackingDetails();\n\n useEffect(() => {\n window.scrollTo(0, 0);\n }, []);\n\n return (\n
\n \n \n {t(COPY.DETAILS_HEADING)}\n \n \n \n \n
\n );\n}\n","import { FocusEvent } from 'react';\nimport { ERROR_MAP } from './Validation';\n\nexport type FIELD_TYPE = { [x: string]: ValidateFn[] };\n\nexport enum ValidationColor {\n success = 'success',\n error = 'error',\n}\n\nexport type FormState = {\n [x: string]: {\n value: string;\n color: ValidationColor | undefined;\n errorMessage: string | undefined;\n };\n};\n\nexport type ValidationResult = {\n error?: string;\n color?: ValidationColor;\n};\n\ntype ValidateFn = (value: string) => ValidationResult;\n\nexport type ValidatorFn = {\n value: string;\n validators: ValidateFn[];\n};\n\n// since we don't know the type we get from the backend the most generic type that applies\n// Unless we have a way to map the whole data structure in flight\nexport type HubspotDataType = {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [x: string]: any;\n};\n\nexport type HsFormFields = {\n id: string;\n type: string;\n name: string;\n label: string;\n defaultValue: string;\n fieldType: string;\n required: boolean;\n hidden: boolean;\n placeholder: string;\n hideLabel?: boolean;\n};\n\nexport type HubspotData = {\n fields: HsFormFields[];\n redirect?: string;\n portalId?: number;\n guid?: string;\n};\n\nexport enum HubspotApiStatus {\n // API request is being made\n Loading = 'Loading',\n // API call was successful\n Success = 'Success',\n // API resulted in an error\n Error = 'Error',\n}\n\nexport type HubpotApiData = {\n status?: HubspotApiStatus;\n error?: Error | null;\n data?: HubspotData | null;\n};\n\ntype HubspotApiError = {\n message: string;\n errorType: keyof typeof ERROR_MAP;\n};\n\nexport type HubspotApiReturnStatus = {\n status: string;\n message: string;\n errors: HubspotApiError[];\n redirectUri?: string;\n};\n\nexport type HsContext = {\n hutk: string;\n pageName: string;\n pageUri: string;\n};\n\nexport type HsCommunicationDTO = {\n text: string;\n subscriptionTypeId: number;\n value: boolean;\n};\n\nexport type HsConsent = {\n [key in 'consent']: {\n communications: HsCommunicationDTO[];\n consentToProcess: boolean;\n text: string;\n };\n};\nexport type HsFormValues = Pick & { value: string };\n\nexport type HubspotDTO = {\n context: HsContext;\n fields: HsFormValues[];\n legalConsentOptions?: HsConsent;\n};\n\nexport type SubmissionDataOptions = {\n formFields: HsFormFields[];\n formData: FormState;\n};\n\nexport type HubspotInputType = {\n fields: HsFormFields[] | undefined;\n formData: FormState;\n handleOnBlur(e: FocusEvent): void;\n};\n","import { useState, useMemo } from 'react';\n\nimport {\n HsFormFields,\n HubpotApiData,\n HubspotApiStatus,\n HubspotDataType,\n HubspotData,\n} from '~app/pages/Pricing/components/HubSpotForm/types';\n\nconst EXCLUDE_COUNTRY_FIELD = 'contact_country__c';\nconst HUBSPOT_PROXY = '/cc/hs/';\nconst HUBSPOT_FORM_ID = '289edeb2-bb6b-45f7-bef3-7185f3c6e9f4';\n\nconst fetchHubSpotForm = async (): Promise => {\n const formData = new URLSearchParams();\n formData.append('formId', HUBSPOT_FORM_ID);\n const fetchHSForms = await fetch(HUBSPOT_PROXY, {\n method: 'POST',\n body: formData,\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n });\n return fetchHSForms.json();\n};\n\nfunction mapHiddenField({ name, hidden }: HubspotDataType): boolean {\n return name === EXCLUDE_COUNTRY_FIELD ? true : hidden;\n}\n\nfunction mapHubSpotFormFields(hsData: T): HubspotData {\n const { form } = hsData;\n const mappedData: HubspotData = {\n fields: [],\n redirect: form?.redirect,\n guid: form?.guid,\n portalId: form?.portalId,\n };\n\n const shallowCopiedFormFields: HubspotDataType[] = [...form?.formFieldGroups];\n\n const temp = shallowCopiedFormFields.map((field: HubspotDataType) => {\n return field?.fields.map((formFields: HubspotDataType): HsFormFields => {\n return {\n id: `HubSpotForm__${formFields.name}`,\n type: formFields.type,\n name: formFields.name,\n defaultValue: formFields.defaultValue,\n label: formFields.label,\n fieldType: formFields.fieldType,\n required: formFields.required,\n hidden: mapHiddenField(formFields),\n hideLabel: formFields.labelHidden,\n placeholder: formFields.placeholder,\n };\n });\n });\n return { ...mappedData, fields: temp.flat() };\n}\n\nexport default function useHubSpotFormAPI>(): T | {} {\n const [data, setData] = useState({\n status: HubspotApiStatus.Loading,\n error: null,\n data: null,\n });\n useMemo(() => {\n fetchHubSpotForm()\n .then((formData: HubspotDataType) => {\n setData({\n data: mapHubSpotFormFields(formData),\n error: null,\n status: 'Success',\n });\n })\n .catch(err => {\n setData({\n data: null,\n status: HubspotApiStatus.Error,\n error: err,\n });\n });\n }, []);\n\n return data;\n}\n","const { defineMessages } = require('@sm/intl');\n\nconst COPY = defineMessages({\n CONTACT_US_TODAY: {\n id: 'Pricing.Enterprise.Heading',\n defaultMessage: 'Contact us today',\n desc: '[Type: header][Vis: high] - Primary header for enterprise tab contact us form',\n },\n MAIN_HEADING: {\n id: 'Pricing.MainHeading.Heading',\n defaultMessage: 'Choose a plan that works for you',\n desc: '[Type: header][Vis: high] - Primary header for pricing enterprise page',\n },\n SURVEY_MONKEY_ENTERPRISE: {\n id: 'Pricing.Enterprise.SurveyMonkeyEnterpriseHeading',\n defaultMessage: 'SurveyMonkey Enterprise',\n desc: '[Type: header][Vis: high] - Primary header for enterprise user pricing page',\n },\n LEARN_MORE: {\n id: 'Pricing.Enterprise.SubHeading',\n defaultMessage: 'Learn more about SurveyMonkey Enterprise and schedule a demo.',\n desc: '[Type: header][Vis: high] - Subheader for enterprise tab contact us form',\n },\n MANAGE_USERS: {\n id: 'Pricing.Enterprise.ManageUsersBullet',\n defaultMessage:\n 'Manage multiple users and gain visibility into all survey data collected across your organization with admin controls and dashboards.',\n desc: '[Type: paragraph][Vis: high] - First bullet for enterprise tab contact us form',\n },\n CONFIDENTIAL_DATA: {\n id: 'Pricing.Enterprise.ConfidentialDataBullet',\n defaultMessage:\n 'Ensure confidential data is protected with enhanced security including encryption, SSO, and features that help you remain compliant with HIPAA and GDPR.',\n desc: '[Type: paragraph][Vis: high] - Second bullet for enterprise tab contact us form',\n },\n FEEDBACK: {\n id: 'Pricing.Enterprise.FeedbackBullet',\n defaultMessage:\n 'Make feedback automated and actionable by connecting to key business systems using APIs and powerful integrations, including Salesforce, Marketo, Tableau, and more.',\n desc: '[Type: paragraph][Vis: high] - Third bullet for enterprise tab contact us form',\n },\n INVALID_EMAIL: {\n id: 'Pricing.Enterprise.Invalid-Email',\n defaultMessage: 'Please enter a valid email address',\n desc: '[Type: Form][Vis.: high] - A message that is shown if the email entered is invalid',\n },\n BLOCKED_EMAIL: {\n id: 'Pricing.Enterprise.InvalidBusinessEmail',\n defaultMessage: 'Please use your business email address',\n desc: '[Type: Form][Vis.: high] - A message that is shown if a the email is not a business email',\n },\n INVALID_PHONE_NUMBER: {\n id: 'Pricing.Enterprise.Invalid-Phone-Number',\n defaultMessage: 'Please enter your phone number',\n desc: '[Type: Form][Vis.: high] - A message that is shown if the phone number is not valid',\n },\n REQUIRED: {\n id: 'Pricing.Enterprise.Required',\n defaultMessage: 'Required',\n desc: '[Type: Form][Vis.: high] - A message that is shown if a field is required to process the form',\n },\n CONTACT_SALES: {\n id: 'Pricing.Enterprise.ContactSales',\n defaultMessage: 'Contact sales',\n desc: '[Type: Button][Vis.: high] - A button/link text to contact the sales team',\n },\n HUSBPOT_FORM_ERROR: {\n id: 'Pricing.Enterprise.BackendError',\n defaultMessage: 'Unable to load form.',\n desc: '[Type: Button][Vis.: high] - A generic error message',\n },\n ERROR: {\n id: 'Pricing.Enterprise.GenericError',\n defaultMessage: 'Error',\n desc: '[Type: Button][Vis.: high] - A generic error message',\n },\n CONSENT: {\n id: 'Pricing.Enterprise.ConsentMessage',\n defaultMessage:\n 'Contact me about SurveyMonkey Business Solutions like product updates, news, information, and special promotions. I can unsubscribe if I have any questions. We remember your preference so you do not have to submit it to us again and we will retain this preference until you opt-out.',\n desc: '[Type: Text][Vis.: high] - Consent to newsletter subscription verbiage',\n },\n CONSENT_ONE: {\n id: 'Pricing.Enterprise.ConsentMessageOne',\n defaultMessage: `Contact me about SurveyMonkey Business Solutions like product updates, news, information, and special promotions.\n I can unsubscribe `,\n desc: '[Type: Text][Vis.: high] - Consent to newsletter subscription verbiage one',\n },\n CONSENT_TWO: {\n id: 'Pricing.Enterprise.ConsentMessageTwo',\n defaultMessage: ` at any time and can visit SurveyMonkey's `,\n desc: '[Type: Text][Vis.: high] - Consent to newsletter subscription verbiage two',\n },\n CONSENT_THREE: {\n id: 'Pricing.Enterprise.ConsentMessageThree',\n defaultMessage: ` if I have any questions. We remember your preference so you do not have to submit it to us again and we will retain this preference until you opt-out.`,\n desc: '[Type: Text][Vis.: high] - Consent to newsletter subscription verbiage three',\n },\n SUBSCRIPTION_LINK: {\n id: 'Pricing.Enterprise.SubscriptionLink',\n defaultMessage: 'here',\n desc: '[Type: Checkbox][Vis.: high] - Consent link to newsletter subscription',\n },\n MP_PRIVACY_LINK: {\n id: 'Pricing.Enterprise.MPLink',\n defaultMessage: 'privacy notice',\n desc: '[Type: Checkbox][Vis.: high] - Privacy notice',\n },\n});\n\nexport default COPY;\n","import React from 'react';\n\nimport { t } from '@sm/intl';\n\nimport { Typography } from '@wds/typography';\nimport { Box } from '@wds/box';\nimport { Banner } from '@wds/banner';\n\nimport COPY from '~pricing/pages/Enterprise/copy';\n\nexport default function HubSpotErrorBanner(): JSX.Element {\n return (\n \n \n \n {t(COPY.HUSBPOT_FORM_ERROR)}\n \n \n \n );\n}\n","import React from 'react';\n\nimport { FormField } from '@wds/form-group';\nimport { Input } from '@wds/input';\n\nimport { HsFormFields, HubspotInputType } from './types';\n\nexport default function HubspotInput({ fields, formData, handleOnBlur }: HubspotInputType): JSX.Element {\n return (\n <>\n {fields?.map(\n (field: HsFormFields) =>\n !field.hidden && (\n \n \n \n )\n )}\n >\n );\n}\n","import { t } from '@sm/intl';\nimport { isValidEmail } from '@sm/utils';\n\nimport COPY from '~pricing/pages/Enterprise/copy';\nimport { ValidationResult, ValidatorFn, ValidationColor, FIELD_TYPE, FormState } from './types';\n\nconst FIELDS = Object.freeze({ email: 'email', phone: 'phone', defaultType: 'defaultType' });\n\nexport const ERROR_MAP = {\n INVALID_EMAIL: t(COPY.INVALID_EMAIL),\n BLOCKED_EMAIL: t(COPY.BLOCKED_EMAIL),\n INVALID_PHONE_NUMBER: t(COPY.INVALID_PHONE_NUMBER),\n REQUIRED_FIELD: t(COPY.REQUIRED),\n GENERIC_ERROR: t(COPY.ERROR),\n};\n\nconst PHONE_NUMBER_REGEX = new RegExp(\n '^(\\\\+\\\\d{1,2}\\\\s?)?1?\\\\-?\\\\.?\\\\s?\\\\(?\\\\d{3}\\\\)?[\\\\s.-]?\\\\d{3}[\\\\s.-]?\\\\d{4}$',\n 's'\n);\n\nconst VALIDATOR_SUCCESS: ValidationResult = { color: ValidationColor.success };\n\n/**\n * This applies to most specific validator to an input\n * @param param ValidatorFn\n * @returns return a validation result in accordance with wrench input component\n */\nexport function applyValidators({ value, validators }: ValidatorFn): ValidationResult {\n let validatorResult: ValidationResult = {};\n validators.every(validate => {\n validatorResult = validate(value);\n return !validatorResult.error;\n });\n return validatorResult;\n}\n\nexport function minLengthValidator(value: string): ValidationResult {\n return value.length < 1 ? { error: ERROR_MAP.REQUIRED_FIELD, color: ValidationColor.error } : VALIDATOR_SUCCESS;\n}\n\nexport function emailValidator(value: string): ValidationResult {\n return !isValidEmail(value) ? { error: ERROR_MAP.INVALID_EMAIL, color: ValidationColor.error } : VALIDATOR_SUCCESS;\n}\n\nexport function phoneValidator(value: string): ValidationResult {\n return PHONE_NUMBER_REGEX.test(value)\n ? VALIDATOR_SUCCESS\n : { error: ERROR_MAP.INVALID_PHONE_NUMBER, color: ValidationColor.error };\n}\n\nconst FIELD_VALIDATORS: FIELD_TYPE = Object.freeze({\n [FIELDS.email]: [minLengthValidator, emailValidator],\n [FIELDS.phone]: [minLengthValidator, phoneValidator],\n [FIELDS.defaultType]: [minLengthValidator],\n});\n\n/**\n * This routines validates and return the final final state\n * @param fieldType\n * @param value\n * @returns the form validated state\n */\nexport function validateAndGetFormData(fieldType: string, value: string): FormState {\n const validatorType = FIELD_VALIDATORS[fieldType] ? fieldType : 'defaultType';\n const validator = applyValidators({ value, validators: FIELD_VALIDATORS[validatorType] });\n return {\n [fieldType]: {\n value,\n color: validator?.color,\n errorMessage: validator?.error,\n },\n };\n}\n\n/**\n * A simple utility to check the form validity status\n * @param formData\n * @returns if all the form fields are valid\n */\nexport const isFormValid = (formData: FormState): boolean | number => {\n const formValues = Object.values(formData);\n return formValues.length && !formValues?.some(({ errorMessage }) => errorMessage);\n};\n","import { t } from '@sm/intl';\n\nimport { getCookieValue, isBrowser, EMPTY_STRING } from '~shared/util';\n\nimport COPY from '~pricing/pages/Enterprise/copy';\n\nimport {\n HsContext,\n HsConsent,\n HsFormFields,\n HsFormValues,\n HubspotDTO,\n HsCommunicationDTO,\n HubspotApiReturnStatus,\n FormState,\n ValidationColor,\n SubmissionDataOptions,\n} from './types';\nimport { isFormValid, ERROR_MAP } from './Validation';\n\nconst ENDPOINT =\n 'https://api.hsforms.com/submissions/v3/integration/submit/5811593/289edeb2-bb6b-45f7-bef3-7185f3c6e9f4';\n\nconst MONTHLY_SUB_ID = 9074378;\nconst PRODUCT_UPDATES_SUB_ID = 9074384;\n\nconst HS_ERROR_STATUS: string[] = ['error'];\n\n/**\n * Utility to retrieve hubspot Utility values\n * @returns HsContext\n */\nexport const getHubspotContextValues = (): HsContext => ({\n hutk: getCookieValue('hubspotutk'),\n pageName: isBrowser() ? document.title : '',\n pageUri: isBrowser() ? document.location.pathname : '',\n});\n\n/**\n * Maps the name and value for given set of fields\n * @param fields\n * @param formData\n * @returns key value pair for hubspot submission values\n */\nfunction mapFieldAndValues(fields: HsFormFields[], formData: FormState): HsFormValues[] {\n return fields?.map(({ name, defaultValue }): HsFormValues => {\n const formDTO = formData[name];\n return {\n name,\n value: formDTO ? formDTO.value : defaultValue,\n };\n });\n}\n\n/**\n * Sanitizes hubspot from data for submission\n * @param formFields\n * @param formData\n * @returns HubspotDTO | undefined\n */\nfunction mapHubspotSubmissionData(formFields: HsFormFields[], formData: FormState): HubspotDTO | undefined {\n const communications: HsCommunicationDTO[] = [\n {\n text: t(COPY.CONSENT),\n subscriptionTypeId: MONTHLY_SUB_ID,\n value: !!formData?.consent?.value,\n },\n {\n text: t(COPY.CONSENT),\n subscriptionTypeId: PRODUCT_UPDATES_SUB_ID,\n value: !!formData?.consent?.value,\n },\n ];\n const legalConsentOptions: HsConsent = {\n consent: {\n communications,\n consentToProcess: true,\n text: EMPTY_STRING,\n },\n };\n return {\n context: getHubspotContextValues(),\n fields: mapFieldAndValues(formFields, formData),\n legalConsentOptions,\n } as HubspotDTO;\n}\n/**\n * A fetch helper function to submit hubspot forms\n * @param dataOptions\n * @returns Promise\n */\nexport async function saveFormData(dataOptions: SubmissionDataOptions): Promise {\n const { formFields, formData } = dataOptions;\n // bail right away if the overall form lacks a required field\n if (!isFormValid(formData)) {\n return;\n }\n const submitData = mapHubspotSubmissionData(formFields, formData);\n const response =\n submitData &&\n (await fetch(ENDPOINT, {\n method: 'POST',\n body: JSON.stringify(submitData),\n headers: {\n 'Content-type': 'application/json;charset=utf-8',\n },\n }));\n return response?.json();\n}\n\n/**\n * Parses and validates hubspot server side error\n * @param responseData\n * @param formData\n * @returns FormState | undefined\n */\nexport function parseHubspotApiResponse(\n responseData: HubspotApiReturnStatus,\n formData: FormState\n): FormState[] | undefined {\n const { status = EMPTY_STRING, errors = [] } = responseData;\n if (HS_ERROR_STATUS.includes(status)) {\n return errors.map(({ message, errorType }): FormState => {\n const [field] = message.match(/(fields|context)\\.([^']*)/) as RegExpMatchArray; // modified version from cms\n const fieldName = field?.replace(/(.*)\\./, ''); // retrieves the field name from the above string\n const mapFormDataWWithError: FormState = {\n [fieldName]: {\n value: formData[fieldName].value,\n color: ValidationColor.error,\n errorMessage: ERROR_MAP[errorType],\n },\n };\n return mapFormDataWWithError;\n });\n }\n}\n","import { createUseStyles } from 'react-jss';\n\nimport { PricingAppTheme } from '~app/styles/pricing/types';\n\nconst useHubSpotStyles = createUseStyles(({ spacing }) => ({\n CheckBoxWrapper: {\n display: 'flex',\n justifyContent: 'flex-start',\n gap: spacing[2],\n '& p': {\n overflowX: 'clip',\n },\n },\n}));\n\nexport default useHubSpotStyles;\n","import React, { useState, useMemo, useCallback, FocusEvent, ChangeEvent, FormEvent } from 'react';\n\nimport { t } from '@sm/intl';\n\nimport { Typography } from '@wds/typography';\nimport { Checkbox } from '@wds/checkbox';\nimport { Box } from '@wds/box';\nimport { Button } from '@wds/button';\nimport { FormGroup, FormField } from '@wds/form-group';\nimport { ProgressCircle } from '@wds/progress-circle';\n\nimport { EMPTY_STRING } from '~shared/util';\n\nimport { HubspotApiStatus, HubpotApiData } from '~app/pages/Pricing/components/HubSpotForm/types';\nimport useHubSpotFormAPI from '~pricing/hooks/useHubSpotAPI';\n\nimport COPY from '~pricing/pages/Enterprise/copy';\n\nimport HubSpotErrorBanner from './HubSpotErrorBanner';\nimport HubspotInput from './HubspotInput';\nimport { parseHubspotApiResponse, saveFormData } from './helpers';\nimport { HubspotApiReturnStatus, FormState } from './types';\nimport { validateAndGetFormData } from './Validation';\nimport useHubSpotStyles from './useStyles';\n\nexport default function HubSpotForm(): JSX.Element {\n const [formData, setFormData] = useState({});\n const { status, data, error }: HubpotApiData = useHubSpotFormAPI();\n const { CheckBoxWrapper } = useHubSpotStyles();\n\n const formFields = useMemo(() => data?.fields, [data?.fields]);\n\n const handleChange = useCallback(\n ({ target }: FocusEvent) => {\n const { name, value } = target;\n const validatedData = validateAndGetFormData(name, value);\n setFormData({\n ...formData,\n ...validatedData,\n });\n },\n [setFormData, formData]\n );\n\n const handleConsentChecked = useCallback(\n ({ target }: ChangeEvent) => {\n const { name, checked } = target;\n setFormData({\n ...formData,\n [name]: {\n value: checked,\n color: undefined,\n errorMessage: checked ? undefined : t(COPY.ERROR),\n },\n } as FormState);\n },\n [setFormData, formData]\n );\n\n const handleFormSubmission = useCallback(\n (event: FormEvent) => {\n event.preventDefault();\n if (!formFields || !formFields.length) {\n return;\n }\n let newFormData = { ...formData };\n formFields.forEach(({ name, hidden }) => {\n if (!hidden) {\n const currentValue = newFormData[name] ? newFormData[name].value : EMPTY_STRING;\n const submitErrors = validateAndGetFormData(name, currentValue);\n newFormData = { ...newFormData, ...submitErrors };\n }\n });\n setFormData(newFormData);\n saveFormData({ formFields, formData })\n .then((response: HubspotApiReturnStatus | undefined) => {\n if (response?.redirectUri) {\n // TODO SM.tracking\n window.location.assign(response?.redirectUri);\n } else {\n // TODO SM tracking\n const errors = parseHubspotApiResponse(response as HubspotApiReturnStatus, formData);\n errors?.forEach(fs => setFormData({ ...formData, ...fs }));\n }\n })\n .catch(err => {\n // TODO SM tracking\n });\n },\n [setFormData, formFields, formData]\n );\n\n if (error) {\n return ;\n }\n\n return (\n <>\n {status === HubspotApiStatus.Success ? (\n \n ) : (\n \n \n \n )}\n >\n );\n}\n","import { createUseStyles } from 'react-jss';\n\nimport { PricingAppTheme } from '~app/styles/pricing/types';\nimport { StyleProps } from './types';\n\nconst useEnterprisePageStyles = createUseStyles(({ pricingPalette, spacing }) => ({\n ContactList: {\n lineHeight: '1.8',\n listStyleType: 'none',\n textAlign: 'center',\n marginTop: spacing[1],\n },\n FeatureItem: {\n fontSize: '16px',\n textAlign: 'left',\n lineHeight: '32px',\n '&:before': {\n content: '\"•\"',\n marginLeft: '-35px',\n marginRight: spacing[3],\n paddingRight: spacing[4],\n color: pricingPalette.colors.sabaeus,\n },\n },\n ListHeading: {\n fontSize: '16px',\n textAlign: 'left',\n marginTop: '5px',\n lineHeight: '32px',\n maxWidth: '350px',\n },\n TypographyBolded: {\n fontSize: '32px',\n fontWeight: '500',\n margin: '16px 0',\n color: pricingPalette.colors.charcoal,\n },\n HubSpotWrapper: {\n background: pricingPalette.colors.canvas,\n },\n}));\n\nexport default useEnterprisePageStyles;\n","import React from 'react';\n\nimport { Box } from '@wds/box';\nimport { t } from '@sm/intl';\nimport { Typography } from '@wds/typography';\n\nimport COPY from './copy';\nimport useEnterprisePageStyles from './useStyles';\n\nexport default function ContactUs(): JSX.Element {\n const { ContactList, FeatureItem, ListHeading, TypographyBolded } = useEnterprisePageStyles();\n\n return (\n <>\n \n {/* Change div line below to following once wds/typography is changed to v3+ to inherit styling\n \n also remove class in style file */}\n
{t(COPY.CONTACT_US_TODAY)}
\n
{t(COPY.LEARN_MORE)}
\n \n \n
{t(COPY.MANAGE_USERS)}
\n
{t(COPY.CONFIDENTIAL_DATA)}
\n
{t(COPY.FEEDBACK)}
\n \n \n \n >\n );\n}\n","import React, { useMemo } from 'react';\nimport { t } from '@sm/intl';\nimport { isEnterprisePackage } from '@sm/utils';\nimport { Grid } from '@wds/grid';\nimport { Box } from '@wds/box';\n\nimport MainHeading from '~pricing/components/MainHeading';\nimport Navigation from '~pricing/components/Navigation';\nimport HubSpotForm from '~pricing/components/HubSpotForm';\nimport { usePackages } from '~shared/hooks/usePackages';\n\nimport COPY from './copy';\nimport ContactUs from './ContactUs';\n\nimport useEnterprisePageStyles from './useStyles';\n\nexport default function EnterprisePage(): JSX.Element {\n const { HubSpotWrapper } = useEnterprisePageStyles();\n const { userPackage } = usePackages();\n const isEnterpriseUser = useMemo(() => isEnterprisePackage(parseInt(userPackage?.id, 10)), [userPackage]);\n\n return (\n
\n );\n};\n\nexport default NavBar;\n","import React from 'react';\n\nimport { SkeletonLoader } from '@sm/webassets';\nimport { ProgressCircle } from '@sm/wds-react';\n\nimport './ucs-module-loaders.scss';\n\nconst TopBarSkeleton = () => (\n
\n \n
\n);\n\nconst DefaultLoader = () => (\n
\n \n
\n);\n\nconst MODULE_SKELETONS = {\n top_bar: TopBarSkeleton,\n};\n\nexport default DefaultLoader;\nexport { MODULE_SKELETONS };\n","import React, { Component } from 'react';\nimport classnames from 'classnames';\nimport PropTypes from 'prop-types';\n\nimport { ErrorBoundary, clientErrorHandler } from '@sm/webassets';\n\nimport { sanitizeString } from '@sm/utils';\nimport DefaultLoader, { MODULE_SKELETONS } from './UCSModuleLoaders';\n\nconst UCS_CONTAINER_ID_PREFIX = 'ucs-content';\n\n// TODO: this component is a duplicate of UCSModule from coreweb and\n// will need to be moved somewhere common\nclass UCSModule extends Component {\n static propTypes = {\n className: PropTypes.string,\n moduleName: PropTypes.string,\n customLoader: PropTypes.node,\n };\n\n static defaultProps = {\n moduleName: null,\n className: null,\n customLoader: null,\n };\n\n state = {\n data: {\n moduleHTML: null,\n },\n loading: true,\n error: false,\n };\n\n componentDidMount() {\n this._isMounted = true;\n this.getModuleHTML();\n }\n\n componentWillUnmount() {\n this._isMounted = false;\n }\n\n getPreloadedModule() {\n const { moduleName } = this.props;\n const moduleContainer = document.getElementById(`${UCS_CONTAINER_ID_PREFIX}-${moduleName}`);\n if (moduleContainer) {\n moduleContainer.remove();\n return moduleContainer.textContent;\n }\n return null;\n }\n\n async getModuleHTML() {\n const reFetchFailed = () => {\n this.setState({\n loading: false,\n error: true,\n });\n };\n\n let moduleHTML = this.getPreloadedModule();\n if (!moduleHTML) {\n try {\n moduleHTML = await this.reFetchModule();\n if (!this._isMounted) {\n return null;\n }\n } catch (error) {\n if (!this._isMounted) {\n return null;\n }\n clientErrorHandler.logError(error, 'ucsFetchFailure');\n return reFetchFailed();\n }\n }\n\n if (moduleHTML === null) {\n return reFetchFailed();\n }\n\n return this.setState({\n data: { moduleHTML },\n loading: false,\n error: false,\n });\n }\n\n async reFetchModule() {\n const { moduleName } = this.props;\n const moduleContent = await fetch(`/content/api/ucs/${moduleName}/html`, {\n credentials: 'include',\n });\n const moduleJson = await moduleContent.json();\n return moduleJson.html;\n }\n\n renderLoadingState = () => {\n const { customLoader, moduleName } = this.props;\n const ModuleLoader = MODULE_SKELETONS[moduleName];\n\n if (customLoader) {\n return customLoader;\n }\n\n if (ModuleLoader) {\n return ;\n }\n\n return ;\n };\n\n render() {\n const { className } = this.props;\n const { data, loading, error } = this.state;\n // fail silently\n const errorComponent = null;\n\n const classNames = classnames('sm-ucs-module__content-container', className);\n\n return (\n \n {this.renderLoadingState()}\n {errorComponent}\n \n \n \n \n );\n }\n}\n\nconst BoundUCSModule = props => (\n \n \n \n);\n\nexport default BoundUCSModule;\n","/**\n * Get the canonical URL for the current page\n * @returns {canonicalUrl} string\n */\nexport default function getCanonicalUrlOrNoIndex(subdomain, domain, tld, url) {\n let path = '';\n let noIndex = false;\n let canonicalUrl = '';\n\n if (subdomain !== 'www' || tld !== 'com') {\n noIndex = true;\n } else {\n if (typeof window !== 'undefined') {\n path = window.location.pathname;\n } else {\n path = url.indexOf('?') > -1 ? url.substr(0, url.indexOf('?')) : url;\n }\n\n if (path.substr(-1) !== '/') {\n path += '/';\n }\n\n canonicalUrl = `https://${subdomain}.${domain}.${tld}${path}`;\n }\n\n return { noIndex, canonicalUrl };\n}\n","export default function switchAccountsUrl(pathname, search) {\n const epParam = `ep=${encodeURIComponent(pathname + search)}`;\n const sep = search ? '&' : '?';\n return `/user/account/select${search}${sep}${epParam}`;\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router-dom';\n\nimport { Typography, Menu, MenuItem, Button } from '@sm/wds-react';\nimport { IconCaretDown } from '@sm/wds-icons';\nimport { Logo } from '@sm/webassets';\nimport { defineMessages, T } from '@sm/intl';\n// LinkWithSearch should be used so it will keep any existing query arguments present in the url (needed for ut_source)\nimport LinkWithSearch from '../LinkWithSearch';\nimport switchAccountsUrl from './switchAccountsUrl';\n\nconst COPY = defineMessages({\n NAV_MY_ACCOUNT: {\n id: 'AppsDirectory.AppDirNavHeaderDesktop.MyAccountLink',\n defaultMessage: 'My Account',\n description: '[Type: Link][Vis.: Low] - A link that will direct the user to their profile page',\n },\n NAV_SWITCH_ACCOUNTS: {\n id: 'AppsDirectory.AppDirNavHeaderDesktop.SwitchAccountsLink',\n defaultMessage: 'Switch accounts',\n description: '[Type: Label][Vis.: high] - A link that will direct the user to the switch accounts page',\n },\n NAV_HELP_CENTER: {\n id: 'AppsDirectory.AppDirNavHeaderDesktop.HelpCenterLink',\n defaultMessage: 'Help Center',\n description: '[Type: Link][Vis.: Low] - A link that will direct the user to the help center page',\n },\n NAV_SIGN_OUT: {\n id: 'AppsDirectory.AppDirNavHeaderDesktop.SignOutLink',\n defaultMessage: 'Sign Out',\n description: '[Type: Link][Vis.: Low] - A link that will sign the user out',\n },\n NAV_SIGN_IN: {\n id: 'AppsDirectory.AppDirNavHeaderDesktop.SignInLink',\n defaultMessage: 'Sign In',\n description: '[Type: Link][Vis.: Low] - A link that will direct the user to the sign in page',\n },\n NAV_SIGN_UP: {\n id: 'AppsDirectory.AppDirNavHeaderDesktop.SignUpLink',\n defaultMessage: 'Sign Up',\n description: '[Type: Link][Vis.: Low] - A link that will direct the user to the sign up page',\n },\n});\n\nconst AppDirNavHeaderDesktop = ({\n navItems,\n shouldDisplayNavItem,\n isAuthenticated,\n username,\n showSwitchAccounts,\n location: { pathname, search },\n}) => {\n return (\n
\n \n \n \n App Directory\n \n \n
\n \n
\n \n \n
\n
\n }\n >\n \n \n \n \n \n \n \n
\n \n \n
\n \n \n
\n \n \n \n );\n};\n\nAppDirNavHeaderDesktop.propTypes = {\n navItems: PropTypes.arrayOf(\n PropTypes.shape({\n target: PropTypes.string.isRequired,\n text: PropTypes.node.isRequired,\n requiresAuthentication: PropTypes.bool,\n })\n ).isRequired,\n shouldDisplayNavItem: PropTypes.func.isRequired,\n isAuthenticated: PropTypes.bool.isRequired,\n username: PropTypes.string.isRequired,\n location: PropTypes.shape({\n pathname: PropTypes.string,\n search: PropTypes.string,\n }).isRequired,\n showSwitchAccounts: PropTypes.bool,\n};\n\nAppDirNavHeaderDesktop.defaultProps = {\n showSwitchAccounts: false,\n};\n\nexport default withRouter(AppDirNavHeaderDesktop);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router-dom';\n\nimport { Menu, MenuGroup, MenuItem } from '@sm/wds-react';\nimport { IconMenu, IconLogoGoldie } from '@sm/wds-icons';\nimport { defineMessages, T } from '@sm/intl';\nimport switchAccountsUrl from './switchAccountsUrl';\n\nconst COPY = defineMessages({\n NAV_MY_ACCOUNT: {\n id: 'AppsDirectory.AppDirNavHeaderMobile.MyAccountLink',\n defaultMessage: 'My Account',\n description: '[Type: Link][Vis.: Low] - A link that will direct the user to their profile page',\n },\n NAV_SWITCH_ACCOUNTS: {\n id: 'AppsDirectory.AppDirNavHeaderMobile.SwitchAccountsLink',\n defaultMessage: 'Switch accounts',\n description: '[Type: Label][Vis.: high] - A link that will direct the user to the switch accounts page',\n },\n NAV_HELP_CENTER: {\n id: 'AppsDirectory.AppDirNavHeaderMobile.HelpCenterLink',\n defaultMessage: 'Help Center',\n description: '[Type: Link][Vis.: Low] - A link that will direct the user to the help center page',\n },\n NAV_SIGN_OUT: {\n id: 'AppsDirectory.AppDirNavHeaderMobile.SignOutLink',\n defaultMessage: 'Sign Out',\n description: '[Type: Link][Vis.: Low] - A link that will sign the user out',\n },\n NAV_SIGN_IN: {\n id: 'AppsDirectory.AppDirNavHeaderMobile.SignInLink',\n defaultMessage: 'Sign In',\n description: '[Type: Link][Vis.: Low] - A link that will direct the user to the sign in page',\n },\n NAV_SIGN_UP: {\n id: 'AppsDirectory.AppDirNavHeaderMobile.SignUpLink',\n defaultMessage: 'Sign Up',\n description: '[Type: Link][Vis.: Low] - A link that will direct the user to the sign up page',\n },\n});\n\nfunction urlWithSearch(url, search) {\n return `${url}${search}`;\n}\n\nconst AppDirNavHeaderMobile = ({\n isAuthenticated,\n navItems,\n shouldDisplayNavItem,\n showSwitchAccounts,\n location: { pathname, search },\n}) => {\n const authorizedMenuItems = navItems.filter(shouldDisplayNavItem).map(nav => (\n // The query params need to be preserved between urls (needed for ut_source)\n \n ));\n return (\n
\n \n \n \n \n \n
\n
\n }\n >\n {authorizedMenuItems}\n \n {/* fragment below is a workaround for https://code.corp.surveymonkey.com/wrench/wds/issues/904 */}\n <>\n \n \n \n \n \n \n >\n \n \n
\n \n \n
\n
\n }\n >\n {authorizedMenuItems}\n \n \n \n \n \n \n \n );\n};\n\nAppDirNavHeaderMobile.propTypes = {\n navItems: PropTypes.arrayOf(\n PropTypes.shape({\n target: PropTypes.string.isRequired,\n text: PropTypes.node.isRequired,\n requiresAuthentication: PropTypes.bool,\n })\n ).isRequired,\n shouldDisplayNavItem: PropTypes.func.isRequired,\n isAuthenticated: PropTypes.bool.isRequired,\n location: PropTypes.shape({\n pathname: PropTypes.string,\n search: PropTypes.string,\n }).isRequired,\n showSwitchAccounts: PropTypes.bool,\n};\n\nAppDirNavHeaderMobile.defaultProps = {\n showSwitchAccounts: false,\n};\n\nexport default withRouter(AppDirNavHeaderMobile);\n","import React, { useContext } from 'react';\nimport { Query } from '@apollo/react-components';\n\nimport { DesktopScreen, MobileTabletScreen, StaticContext } from '@sm/webassets';\nimport { defineMessages, T } from '@sm/intl';\nimport { getClientEnvironmentDetails } from '@sm/utils';\n\nimport AppDirNavHeaderDesktop from './AppDirNavHeaderDesktop';\nimport AppDirNavHeaderMobile from './AppDirNavHeaderMobile';\nimport userDropDownQuery from './AppDirNavHeader.graphql';\n\nimport './app-dir-nav-header.scss';\n\nexport const COPY = defineMessages({\n NAV_EXPLORE: {\n id: 'AppsDirectory.AppDirNavHeader.ExploreLink',\n defaultMessage: 'Explore',\n description:\n '[Type: Link][Vis.: High] - A link that will direct the user to initial page of the app directory site',\n },\n NAV_MANAGE: {\n id: 'AppsDirectory.AppDirNavHeader.ManageLink',\n defaultMessage: 'Manage',\n description:\n '[Type: Link][Vis.: High] - A link that will direct the user their installed apps and will be able to manage them',\n },\n NAV_DEVELOP: {\n id: 'AppsDirectory.AppDirNavHeader.DevelopLink',\n defaultMessage: 'Develop',\n description: '[Type: Link][Vis.: High] - A link that will direct the user to the developer portal',\n },\n NAV_PARTNER: {\n id: 'AppsDirectory.AppDirNavHeader.PartnerLink',\n defaultMessage: 'Partner',\n description: '[Type: Link][Vis.: High] - A link that will direct the user to the partner form page',\n },\n});\n\nexport const subdomainUri = (altdomain, domain, subdomain, tld) => {\n if (subdomain !== 'www') {\n return `https://${altdomain}.${subdomain}.${domain}.${tld}`;\n }\n return `https://${altdomain}.${domain}.${tld}`;\n};\n\nconst navigationItems = ({ domain, subdomain, tld }) => [\n { target: '/apps', text: },\n {\n target: '/apps/my-apps',\n text: ,\n requiresAuthentication: true,\n },\n {\n target: subdomainUri('developer', domain, subdomain, tld),\n text: ,\n },\n {\n target: 'https://www.surveymonkey.com/mp/partner-program/',\n text: ,\n },\n];\n\nexport function shouldDisplayNavItem(user, nav) {\n return !nav.requiresAuthentication || (nav.requiresAuthentication && user.isAuthenticated);\n}\n\nconst AppDirNavHeader = () => {\n const { user, environment } = useContext(StaticContext);\n const { userAgent } = useContext(StaticContext);\n const { isDesktop } = getClientEnvironmentDetails(userAgent);\n return (\n \n {({ data }) => {\n const hasMultipleLinkedIdentities = data?.user?.linkedIdentities?.totalCount > 0;\n return (\n <>\n \n
\n );\n};\n\nexport default Home;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Typography } from '@sm/wds-react';\nimport AppPlaceHolderImg from '../../static/images/app-placeholder.png';\n// LinkWithSearch should be used so it will keep any existing query arguments present in the url (needed for ut_source)\nimport AppLink from '../AppLink';\n\nimport './app-listing-list.scss';\n\nconst AppListingList = ({ title, apps }) => (\n <>\n \n {title}\n \n\n
\n {\n setConfirmDialogVisible(false);\n onSuccess();\n }}\n >\n {(uninstallApp, { loading }) => {\n return (\n {\n setConfirmDialogVisible(false);\n onClose();\n }}\n >\n \n {COPY.REMOVE_DIALOG_MESSAGE.defaultMessage}\n \n \n \n \n \n \n \n );\n }}\n \n >\n );\n};\n\nRemoveApp.propTypes = {\n children: PropTypes.node.isRequired,\n appId: PropTypes.string.isRequired,\n onClose: PropTypes.func,\n onSuccess: PropTypes.func,\n};\n\nRemoveApp.defaultProps = {\n onClose: () => {},\n onSuccess: () => {},\n};\n\nexport default RemoveApp;\n","import React, { useContext } from 'react';\nimport { Query } from 'react-apollo';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router-dom';\n\nimport { StaticContext, ErrorCard, TabletScreen, Helmet } from '@sm/webassets';\nimport { defineMessages } from '@sm/intl';\nimport { Card, Typography } from '@sm/wds-react';\nimport { IconDesktop, IconTrash, IconBadge } from '@sm/wds-icons';\nimport { getClientEnvironmentDetails } from '@sm/utils';\n\nimport NavBar from '../../components/NavBar';\nimport SearchBox from '../../components/SearchBox';\nimport RemoveApp from '../../components/RemoveApp';\nimport AppLink from '../../components/AppLink';\nimport AppListingSkeleton from '../../components/AppListingList/AppListingSkeleton';\nimport AppDirectoryBasePage from '../AppDirectoryBasePage';\n\nimport installedApplications from './myApps.graphql';\nimport './my-apps.scss';\nimport AppPlaceHolderImg from '../../static/images/app-placeholder.png';\n\nconst FETCH_LIMIT = 50;\n\nconst COPY = defineMessages({\n NO_RESULTS_FOUND: {\n id: 'MyApps.NoResultsFound',\n defaultMessage: 'You currently have no installed apps',\n description:\n '[Type: Paragraph][Vis.: med] - A message informing the current user that there are not installed apps',\n },\n PAGE_TITLE: {\n id: 'MyApps.PageTitle',\n defaultMessage: 'Installed Apps',\n description:\n '[Type: Header][Vis.: high] - The title of the page displaying the installed apps for the current user',\n },\n LAUNCH_APP_LINK: {\n id: 'MyApps.LaunchAppLink',\n defaultMessage: 'Launch',\n description: '[Type: Link][Vis.: med] - A link that will direct the user to launch page for a given application',\n },\n APP_DETAILS_LINK: {\n id: 'MyApps.AppDetailsLink',\n defaultMessage: 'Details',\n description: '[Type: Link][Vis.: med] - A link that will direct the user to details of a given application',\n },\n REMOVE_APP_LINK: {\n id: 'MyApps.RemoveAppLink',\n defaultMessage: 'Remove',\n description: '[Type: Link][Vis.: med] - A link that direct the user to uninstall a given application',\n },\n});\n\nfunction renderCategories(categories) {\n if (!categories || !categories.length) {\n return null;\n }\n return {categories.map(c => c.name).join(' ')};\n}\n\nconst MyApps = ({ location: { search } }) => {\n const {\n environment: { languageId },\n userAgent,\n } = useContext(StaticContext);\n const { isDesktop } = getClientEnvironmentDetails(userAgent);\n\n return (\n \n \n
\n {`${label}:`}\n {/* The query params need to be preserved between urls (needed for ut_source) */}\n \n \n {linkLabel}\n \n \n
\n
\n);\n\nexport default AppDetailsItem;\n","import React, { useState, useContext, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { useQuery } from 'react-apollo';\nimport ReactGA from 'react-ga';\n\nimport { defineMessages, substitute } from '@sm/intl';\nimport {\n BasePage,\n Helmet,\n StaticContext,\n ErrorCard,\n DesktopScreen,\n MobileScreen,\n FourOhFourError,\n} from '@sm/webassets';\nimport { Grid, Row, Col, Typography, Banner, Button, Card, Tabs, Tab } from '@sm/wds-react';\nimport {\n IconTag,\n IconEmail,\n IconGlobe,\n IconLock,\n IconLogoWhatsApp,\n IconMegaphone,\n IconNews,\n IconCheck,\n IconGear,\n IconUserFilled,\n} from '@sm/wds-icons';\nimport { sanitizeString, getClientEnvironmentDetails } from '@sm/utils';\nimport { MetricsTracker, generateMetricsAttribute, USER_EVENTS } from '@sm/metrics';\n\nimport AppDirectoryAppDetailsSkeleton from './AppDirectoryAppDetailsSkeleton';\n\nimport './app-directory-app-details.scss';\nimport publishedApplicationListingDetails from './published-application-listing-details.graphql';\nimport previewApplicationListingDetails from './preview-application-listing-details.graphql';\nimport RemoveApp from '../../components/RemoveApp';\nimport AppPlaceHolderImg from '../../static/images/app-placeholder.png';\n\nimport UCSModule from '../../components/UCSModule';\nimport getCanonicalUrlOrNoIndex from '~app/helpers/getCanonicalUrlOrNoIndex';\nimport waitForUsabilla from '~app/helpers/waitForUsabilla';\nimport MediaCarousel from './MediaCarousel';\nimport AppDetailsItem from './AppDetailsItem';\nimport ModernHeader from '../../components/ModernHeader';\n\nconst COPY = defineMessages({\n APP_DETAILS_HEADER: {\n id: 'Details.AppDetails',\n defaultMessage: 'App Details',\n description: '[Type: Header][Vis.: low] - A header preceding the full description of the current app',\n },\n REQUIRED_ACCESS_LABEL: {\n id: 'Details.RequiredAccess',\n defaultMessage: 'This app will require access to:',\n description:\n '[Type: Label][Vis.: low] - A label preceding a list of requirements before the current application could be installed',\n },\n REQUIRED_ACCOUNT_LABEL: {\n id: 'Details.RequiredAccount',\n defaultMessage: 'This app will require an additional {accountType} account:',\n description:\n '[Type: Label][Vis.: low] - A label preceding a description of an external account required by the app',\n },\n INSTALLED_LABEL: {\n id: 'Details.Installed',\n defaultMessage: 'Installed',\n description:\n '[Type: Label][Vis.: low] - A label indicating that the user has the current visible application installed',\n },\n INSTALL_LABEL: {\n id: 'Details.Install',\n defaultMessage: 'Install',\n description:\n '[Type: Label][Vis.: low] - A link/button that will redirect the user to the install page for the current app',\n },\n VISIT_SITE_LABEL: {\n id: 'Details.VisitSite',\n defaultMessage: 'Visit Site',\n description:\n '[Type: Link][Vis.: med] - A link/button that will redirect the user to the site of the application they are trying to install',\n },\n LAUNCH_LABEL: {\n id: 'Details.Launch',\n defaultMessage: 'Launch',\n description:\n '[Type: Link][Vis.: med] - A link/button that will redirect the user to the current visible application',\n },\n UPGRADE_LABEL: {\n id: 'Details.Upgrade',\n defaultMessage: 'Upgrade',\n description:\n '[Type: Link][Vis.: med] - A link/button that will redirect the user to the upgrade page for the visible application',\n },\n REMOVE_APP: {\n id: 'Details.RemoveApp',\n defaultMessage: 'Remove App',\n description:\n '[Type: Link][Vis.: low] - A link/button that will open a dialog requesting the user to confirm the removal of the current app',\n },\n});\n\nfunction getLangFromUrl(search) {\n return new URLSearchParams(search).get('lang') || 'en';\n}\n\nconst AppDirectoryAppDetails = ({\n match: {\n params: { appId },\n },\n location: { search, pathname },\n preview,\n}) => {\n const [selectedTab, setSelectedTab] = useState(0);\n const [pageTracked, setPageTracked] = useState(false);\n const [googleTracked, setGoogleTracked] = useState(false);\n const { userAgent, user } = useContext(StaticContext);\n const { isDesktop } = getClientEnvironmentDetails(userAgent);\n const {\n environment: { subdomain, domain, tld },\n url,\n } = useContext(StaticContext);\n const language = getLangFromUrl(search);\n const { noIndex, canonicalUrl } = getCanonicalUrlOrNoIndex(subdomain, domain, tld, url);\n const onCompleted = appDetails => {\n if (appDetails && appDetails.details.googleAnalyticsTrackingId && !googleTracked) {\n const trackerName = 'app-dir-details-pageview';\n ReactGA.initialize(appDetails.details.googleAnalyticsTrackingId, {\n name: trackerName, // this is tracker name in case there are other trackers on the page\n });\n ReactGA.pageview(pathname, [trackerName]);\n setGoogleTracked(true);\n }\n\n if (appDetails && !pageTracked) {\n MetricsTracker.track({\n name: USER_EVENTS.COMPONENT_ADD,\n data: {\n actionFlow: 'browsing',\n actionType: 'app_details.page_view',\n appId: appDetails.id,\n appName: appDetails.name,\n },\n });\n setPageTracked(true);\n }\n };\n\n const getAppDetails = (data = {}) =>\n preview ? data.previewApplicationListingDetails : data.publishedApplicationListingDetails;\n\n const {\n loading,\n error,\n refetch,\n data: queryData = {},\n } = useQuery(preview ? previewApplicationListingDetails : publishedApplicationListingDetails, {\n variables: { language, appId },\n onCompleted: (data = {}) => onCompleted(getAppDetails(data)),\n });\n const appDetails = getAppDetails(queryData);\n\n useEffect(() => {\n waitForUsabilla(() => {\n window.usabilla_live('show');\n window.usabilla_live('setForm', 'AppDirectoryForm');\n });\n }, []);\n\n return (\n \n \n \n } />\n \n\n \n \n \n \n \n \n \n \n
\n \n {products.map((product, idx) => (\n \n ))}\n \n \n \n \n \n \n \n \n \n);\n\nProductCategory.propTypes = {\n title: PropTypes.string.isRequired,\n products: PropTypes.arrayOf(productPropType).isRequired,\n description: PropTypes.string.isRequired,\n first: PropTypes.bool.isRequired,\n anchor: PropTypes.string.isRequired,\n};\n\nexport default ProductCategory;\n","import React from 'react';\nimport { Grid, Row, Col, Button, Typography } from '@sm/wds-react';\nimport { TabletScreen, DesktopScreen, MobileScreen } from '@sm/webassets';\nimport { T } from '@sm/intl';\n\nimport { getLinkGenerator } from '../../helpers/logging';\nimport expertsImage from './experts.png';\nimport './here-to-help.scss';\n\nexport const COPY = {\n title: {\n id: 'mrx.HereToHelp.title',\n defaultMessage: 'Expert help for your market research program',\n description:\n '[Type: Header][Vis: med] - Title of a section of the market research experience page where we explain our customer support',\n },\n description1: {\n id: 'mrx.HereToHelp.description1',\n defaultMessage:\n 'Looking for an online panel to pinpoint hard-to-reach groups? Need to get a market research survey translated into Spanish? ' +\n 'Want reassurance that your survey logic is set up correctly? We have you covered with support and services that scale to meet your needs.',\n description: '[Type: Paragraph][Vis: med] - Description of our market research customer support',\n },\n description2: {\n id: 'mrx.HereToHelp.description2',\n defaultMessage: 'Choose from bundled or pay-as-you-go market research services.',\n description: '[Type: Paragraph][Vis: med] - Description of our market research customer support',\n },\n learnMore: {\n id: 'mrx.HereToHelp.learnMore',\n defaultMessage: 'Learn more',\n description: '[Type: Link][Vis: med] - Link to learn more about our market research solutions',\n },\n};\n\nexport const TEST_ID = 'HereToHelp';\n\nconst getLink = getLinkGenerator({\n ut_source: 'market_research',\n ut_source2: 'solutions',\n ut_source3: 'sm-button',\n});\n\nconst getBodySection = isMobile => (\n
\n
\n \n \n \n \n \n \n \n \n \n \n
\n \n);\n\nconst HereToHelp = () => (\n \n \n \n
\n \n \n {getBodySection(false)}\n \n
\n \n \n \n \n {getBodySection(true)}\n \n
\n \n \n \n \n \n);\n\nexport default HereToHelp;\n","import { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\nexport const BREAK_POINT = Object.freeze({\n MD: 768,\n LG: 1200,\n XL: 1400,\n});\n\nexport const SCREEN = Object.freeze({\n MOBILE: `(max-width: ${BREAK_POINT.MD - 1}px)`,\n TABLET: `(min-width: ${BREAK_POINT.MD}px)`,\n MOBILE_TABLET: `(max-width: ${BREAK_POINT.LG - 1}px)`,\n SMALL_DESKTOP: `(min-width: ${BREAK_POINT.LG}px) and (max-width: ${BREAK_POINT.XL - 1}px)`,\n LARGE_DESKTOP: `(min-width: ${BREAK_POINT.XL}px)`,\n DESKTOP: `(min-width: ${BREAK_POINT.LG}px)`,\n});\n\nconst CustomScreen = ({ screen, children }) => {\n const m = window.matchMedia(screen);\n const [matches, setMatches] = useState(m.matches);\n useEffect(() => {\n const listenerArgs = [\n 'resize',\n () => {\n const doesMatch = window.matchMedia(screen).matches;\n if (matches !== doesMatch) setMatches(doesMatch);\n },\n ];\n window.addEventListener(...listenerArgs);\n return () => window.removeEventListener(...listenerArgs);\n });\n return matches ? children : null;\n};\n\nCustomScreen.propTypes = {\n screen: PropTypes.string.isRequired,\n children: PropTypes.node,\n};\n\nCustomScreen.defaultProps = {\n children: null,\n};\n\nexport default CustomScreen;\n","import { t } from '@sm/intl';\n\nconst COPY = {\n allbirds: {\n id: 'mrx.getLocalizedLogos.allbirds',\n defaultMessage: 'Allbirds company logo',\n description: '[Type: Label][Vis: low] - Labels Allbirds logo',\n },\n ibm: {\n id: 'mrx.getLocalizedLogos.ibm',\n defaultMessage: 'IBM company logo',\n description: '[Type: Label][Vis: low] - Labels IBM company logo',\n },\n just: {\n id: 'mrx.getLocalizedLogos.just',\n defaultMessage: 'JUST company logo',\n description: '[Type: Label][Vis: low] - Labels JUST company logo',\n },\n rj: {\n id: 'mrx.getLocalizedLogos.rj',\n defaultMessage: 'Raymond James company logo',\n description: '[Type: Label][Vis: low] - Labels Raymond James company logo',\n },\n tweezerman: {\n id: 'mrx.getLocalizedLogos.tweezerman',\n defaultMessage: 'Tweezerman company logo',\n description: '[Type: Label][Vis: low] - Labels Tweezerman company logo',\n },\n};\n\nconst _getImage = (imgName, useBig) =>\n useBig ? import(`./images/${imgName}--lg.png`) : import(`./images/${imgName}.png`);\n\nconst getLocalizedLogos = async (locale = 'en_US', size = 'lg') => {\n const useBig = size === 'lg';\n const getImage = async imgName => (await _getImage(imgName, useBig)).default;\n\n if (locale === 'en_US') {\n return [\n {\n id: 'ibmLogo',\n name: t(COPY.ibm),\n image: await getImage('ibm_logo'),\n },\n {\n id: 'tweezermanLogo',\n name: t(COPY.tweezerman),\n image: await getImage('tweezerman_logo'),\n },\n\n {\n id: 'justLogo',\n name: t(COPY.just),\n image: await getImage('just_logo'),\n },\n {\n id: 'raymondJamesLogo',\n name: t(COPY.rj),\n image: await getImage('rj_logo'),\n },\n {\n id: 'allbirdsLogo',\n name: t(COPY.allbirds),\n image: await getImage('allbirds_logo'),\n },\n ];\n }\n return [];\n};\n\nexport default getLocalizedLogos;\n","import React, { useState, useEffect } from 'react';\nimport classnames from 'classnames';\n\nimport { Grid, Row, Col, Typography } from '@sm/wds-react';\nimport { DesktopScreen } from '@sm/webassets';\nimport { T } from '@sm/intl';\n\nimport useBrowser, { BROWSER } from '../../helpers/useBrowser';\nimport { SCREEN } from '../../sharedComponents/CustomScreen';\nimport getLocalizedLogos from './getLocalizedLogos';\nimport './used-in-orgs.scss';\n\nexport const COPY = {\n title: {\n id: 'mrx.UsedInOrgs.title',\n defaultMessage: 'Leading brands use SurveyMonkey for market research',\n description:\n '[Type: Header][Vis: med] - Title of the section of the market research hub where we show companies that use our products',\n },\n};\n\nexport const TEST_ID = 'UsedInOrgs';\n\nconst UsedInOrgs = () => {\n const [logos, setLogos] = useState(null);\n const [screenSize, setScreenSize] = useState('lg');\n useEffect(() => {\n const listenerArgs = [\n 'resize',\n () => {\n const isMobileTablet = window.matchMedia(SCREEN.MOBILE).matches;\n if (isMobileTablet && screenSize !== 'sm') setScreenSize('sm');\n else if (screenSize !== 'lg') setScreenSize('lg');\n },\n ];\n window.addEventListener(...listenerArgs);\n getLocalizedLogos('en_US', screenSize).then(data => setLogos(data));\n return () => window.removeEventListener(...listenerArgs);\n }, [screenSize]);\n const isIE = useBrowser() === BROWSER.IE;\n return (\n \n \n \n
\n \n
\n \n \n \n \n \n
\n \n \n \n \n {logos.map(logo => (\n
\n \n \n ))}\n \n \n \n );\n};\n\nexport default UsedInOrgs;\n","import { FILTER_KEY } from '../enums';\n\nconst FILTERS = Object.freeze({\n [FILTER_KEY.CATEGORY]: (products, filterValues) =>\n Object.keys(products).reduce((prod, productCategory) => {\n if (filterValues.includes(productCategory)) return { ...prod, [productCategory]: products[productCategory] };\n return prod;\n }, {}),\n});\n\nexport const getFilterParamsFromUrlLocation = location => {\n if (!location) return {};\n const searchParams = new URLSearchParams(location.search);\n const filterParams = {};\n const validFilterKeys = Object.values(FILTER_KEY);\n searchParams.forEach((value, key) => {\n if (validFilterKeys.includes(key) && value) {\n filterParams[key] = value.split(',').map(x => x.trim());\n }\n });\n return filterParams;\n};\n\nconst filterProducts = (products, filterParams) => {\n return Object.keys(filterParams).reduce(\n (prod, filterKey) => FILTERS[filterKey](prod, filterParams[filterKey]),\n products\n );\n};\n\nexport default filterProducts;\n","/**\n * Helper class for making queries that depend on each other or for groups of\n * queries that all need to resolve before taking an action. Just cleans up\n * all of the '.then' statements needed for that kind of thing.\n */\n\nexport default class SynchronousQueryStream {\n constructor(apolloClient) {\n this.client = apolloClient;\n this.actions = [];\n this.catchHandlers = [];\n this.ctx = {};\n }\n\n /**\n * Basically a pass-through to the Apollo client.query\n */\n query = args => {\n this.actions.push(() => this.client.query(args));\n return this;\n };\n\n /**\n * Takes the result of the previous chained action and adds it to the collected\n * context\n */\n resolveToContext = () => {\n this.actions.push(data => {\n this.ctx = { ...this.ctx, ...data };\n });\n return this;\n };\n\n /**\n * Does basically the same thing as resolveToContext but destructures the\n * query result for you.\n */\n resolveQueryResultToContext = () => {\n this.actions.push(data => {\n this.ctx = { ...this.ctx, ...data.data };\n });\n return this;\n };\n\n /**\n * You get the result of the previous chained command and the context and the\n * result is transformed for the next chained command.\n */\n map = handler => {\n this.actions.push(handler);\n return this;\n };\n\n /**\n * You get the result of the previous chained command and the context but\n * this doesn't expect a return value and just passes the previous result\n * through to the next command.\n */\n peek = handler => {\n this.actions.push((...args) => {\n handler(...args);\n return args;\n });\n return this;\n };\n\n /**\n * This is a non-blocking catch that catches any error that has occurred since\n * the last catch. If this error isn't thrown, the return value of the handler\n * is passed to the next chained command after the catch.\n */\n catch = handler => {\n const startIdx = this.catchHandlers.length ? this.catchHandlers[this.catchHandlers.length - 1].range[0] : 0;\n this.catchHandlers.push({\n range: [startIdx, this.actions.length],\n handler,\n });\n return this;\n };\n\n /**\n * The commands will not be executed unless this is put at the end. This is\n * the final command that executes the chain of commands. Takes a handler that\n * will be passed the final result value as well as the final context value.\n */\n collect = async handler => {\n let result;\n for (let i = 0; i < this.actions.length; i += 1) {\n try {\n // eslint-disable-next-line no-await-in-loop\n result = await this.actions[i](result, this.ctx);\n } catch (err) {\n let handled = false;\n for (let j = 0; j < this.catchHandlers.length; j += 1) {\n const catchHandler = this.catchHandlers[j];\n if (i >= catchHandler.range[0] && i < catchHandler.range[1]) {\n result = catchHandler.handler(err, result, this.ctx);\n handled = true;\n // eslint-disable-next-line prefer-destructuring\n i = catchHandler.range[1];\n break;\n }\n }\n if (!handled) throw err;\n }\n }\n\n handler(result, this.ctx);\n };\n}\n","import React, { useState, useEffect, useContext, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter } from 'react-router-dom';\nimport { withApollo } from 'react-apollo';\n\nimport { StaticContext, FiveHundredError } from '@sm/webassets';\nimport { Grid, Row, Col, ProgressCircle } from '@sm/wds-react';\nimport { t } from '@sm/intl';\n\nimport MRXPage from '../MRXPage';\nimport MRXHeader from './MRXHeader';\nimport ProductCategory from './ProductCategory';\nimport HereToHelp from './HereToHelp';\nimport UsedInOrgs from './UsedInOrgs';\nimport { modules as modulesQuery, user as userQuery } from './solutions.graphql';\nimport { PRODUCT_CATEGORY } from '../enums';\nimport filterProducts, { getFilterParamsFromUrlLocation } from './filter';\nimport { productCategoryPropType } from '../propTypes';\nimport getLogger, { LOGGER_NAME, getLinkGenerator } from '../helpers/logging';\nimport SynchronousQueryStream from '../helpers/SynchronousQueryStream';\n\nimport audienceImage from './audience-image.png';\nimport './mrx-solutions.scss';\n\nexport const COPY = {\n audiencePanel: {\n id: 'mrx.Solutions.audiencePanel',\n defaultMessage: 'Global survey panel',\n description: '[Type: Header][Vis: med] - Title of the Audience panel product solutions category',\n },\n expertSolutions: {\n id: 'mrx.Solutions.expertSolutions',\n defaultMessage: 'Expert solutions',\n description: '[Type: Header][Vis: med] - Title of the market research ready-made solutions category',\n },\n audiencePanelDescription: {\n id: 'mrx.Solutions.audiencePanelDescription',\n defaultMessage:\n 'Run your own global market research in minutes. Design a custom survey in the SurveyMonkey platform, ' +\n 'launch to your target audience, and receive real-time results.',\n description: '[Type: Paragraph][Vis: med] - Description of the Audience panel category of products',\n },\n expertSolutionsDescription: {\n id: 'mrx.Solutions.expertSolutionsDescription',\n defaultMessage:\n 'Get powerful insights without doing a single calculation. Customize your study using our built-in expert methodology, ' +\n 'launch to your target audience, and receive presentation-ready reports automatically.',\n description: '[Type: Paragraph][Vis: med] - Description of the market research ready-made category of products',\n },\n getStarted: {\n id: 'mrx.Solutions.getStarted',\n defaultMessage: 'Get started',\n description: '[Type: Link][Vis: med] - CTA for user to try out a market research product',\n },\n learnMore: {\n id: 'mrx.Solutions.learnMore',\n defaultMessage: 'Learn more',\n description: '[Type: Link][Vis: med] - CTA for user to learn more about a market research product',\n },\n contactUs: {\n id: 'mrx.Solutions.contactUs',\n defaultMessage: 'Contact us',\n description: '[Type: Link][Vis: med] - CTA for user to contact our support team about a market research product',\n },\n tryItNow: {\n id: 'mrx.Solutions.tryItNow',\n defaultMessage: 'Try it now',\n description: '[Type: Link][Vis: med] - CTA for user to contact our support team about a market research product',\n },\n surveyMonkeyAudience: {\n id: 'mrx.Solutions.surveyMonkeyAudience',\n defaultMessage: 'SurveyMonkey Audience',\n description: '[Type: Header][Vis: med] - Title of the Audience product',\n },\n surveyMonkeyAudienceDescription: {\n id: 'mrx.Solutions.surveyMonkeyAudienceDescription',\n defaultMessage:\n 'Find people who fit your criteria from our global panel of respondents. Select region, age, gender, income, and more.',\n description: '[Type: Paragraph][Vis: med] - Description of the Audience product',\n },\n};\n\nconst logger = getLogger(LOGGER_NAME.SOLUTIONS);\nconst biLogger = getLogger(LOGGER_NAME.BI_MARKETPLACE_MODAL);\nconst getLink = getLinkGenerator({\n ut_source: 'market_research',\n ut_source2: 'solutions',\n ut_source3: 'marketplace-cards',\n});\n\nconst getAudienceCategory = ctaCopy => ({\n name: t(COPY.audiencePanel),\n description: t(COPY.audiencePanelDescription),\n priority: 1,\n products: [\n {\n name: t(COPY.surveyMonkeyAudience),\n description: t(COPY.surveyMonkeyAudienceDescription),\n image: audienceImage,\n ctaLink: {\n href: getLink('/collect/audience/preview', {\n ut_ctatext: ctaCopy.defaultMessage,\n ut_source3: 'sm-button',\n }),\n text: t(ctaCopy),\n logging: () => logger.click.getStarted('audience_panel'),\n },\n learnMoreLink: {\n href: getLink('/market-research/solutions/audience-panel', {\n ut_ctatext: 'Learn more',\n }),\n text: t(COPY.learnMore),\n logging: () => logger.click.learnMore('audience_panel'),\n },\n },\n ],\n});\n\nconst MRX = ({ location, productCategories }) => {\n const [filterParams] = useState(getFilterParamsFromUrlLocation(location));\n const mProductCategories = filterProducts(productCategories, filterParams);\n const orderedCategories = Object.keys(mProductCategories);\n orderedCategories.sort((keyA, keyB) => {\n const priorityA = mProductCategories[keyA].priority;\n const priorityB = mProductCategories[keyB].priority;\n if (priorityA === undefined || priorityA === null) return 1;\n if (priorityB === undefined || priorityB === null) return -1;\n return priorityA - priorityB;\n });\n\n return (\n \n \n
\n \n \n \n Power your app with the SurveyMonkey API\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Learn\n \n \n \n Start by reading our documentation and decide whether you're building a public or\n private app.\n \n \n \n \n \n \n Develop\n \n \n \n As you're building, decide what scopes you'll need to request from users or ask\n for higher call limits.\n \n \n \n \n \n \n Deploy\n \n \n \n Once you're ready, deploy your app on the “Overview” page and track your user totals!\n \n \n \n
\n \n \n
\n \n \n \n Create with the SurveyMonkey API!\n \n \n \n \n Enable high-powered data collection\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Build a public app for the App Directory\n \n
\n
\n \n An unlimited number of users can access the app\n \n
\n
\n \n Developer only needs a basic account to start building\n \n
\n
\n Apps must be approved\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n Build a private app for you and your Team\n \n
\n
\n Developer purchases all accounts\n
\n
\n Developer needs an ENTERPRISE seat\n
\n
\n API limits apply\n
\n
\n \n \n \n \n \n \n \n
\n \n >\n );\n }}\n \n \n \n
\n \n \n \n Welcome to the SurveyMonkey API!\n \n \n \n \n Let's build together\n \n \n \n \n \n \n \n \n \n \n \n \n \n Customize\n \n \n \n Power your app with customer behavior data.\n \n \n \n \n \n \n Automate\n \n \n \n As your data starts rolling in, take action on your findings immediately.\n \n \n \n \n \n \n Engage\n \n \n \n Respond instantly to customer feedback.\n \n \n \n
\n );\n};\n\nAppTable.propTypes = {\n privateTable: PropTypes.bool,\n};\n\nAppTable.defaultProps = {\n privateTable: false,\n};\n\nexport default AppTable;\n","import React, { useContext, useEffect } from 'react';\n\nimport { Box } from '@wds/box';\nimport { Typography } from '@wds/typography';\n\nimport { StaticContext } from '@sm/webassets';\n\nimport DeveloperWebBasePage from '../DeveloperWebBasePage';\n\nimport waitForUsabilla from '~app/helpers/waitForUsabilla';\n\nimport AppTable from '../../components/AppTable';\n\nimport './faq.scss';\n\nconst FAQ = () => {\n const {\n environment: { domain, subdomain },\n } = useContext(StaticContext);\n\n useEffect(() => {\n waitForUsabilla(() => {\n window.usabilla_live('show');\n });\n }, []);\n\n // For testing only, when this goes live to the devekoper subdomain this will not be required\n const prependUrl = subdomain !== 'developer' && subdomain !== 'developer.eu' ? '/developer' : '';\n\n return (\n
\n \n
\n \n \n \n \n Frequently Asked Questions\n \n \n \n \n Building an app is hard work. We'll help answer any questions that you may have.\n \n \n \n\n \n \n \n What's the difference between building an app for the{' '}\n App Directory and building an app for my team?\n \n \n \n \n Based on your needs, most developers either fall into one bucket or the other. You'll find a\n quick rundown of the differences below.\n \n \n \n \n If you're looking for more info on either camp, visit{' '}\n Creating a Public App or{' '}\n Creating a Private App.\n \n \n\n \n \n \n\n \n \n *Please see our API Developer Terms for more guidelines when\n building with our API.\n \n \n \n\n \n \n How do I get support or suggest a feature for the SurveyMonkey API?\n \n \n \n Reach out to our team for help or feedback by{' '}\n visiting our contact page.\n \n \n \n\n \n \n Where can I read about the SurveyMonkey API scopes?\n \n \n \n Public app developers should understand which scopes they'll need. You can read more about scopes\n in our API Documentation.\n \n \n \n\n \n \n How do I download the actual text responses from my survey?\n \n \n \n Visit our SurveyMonkey API documentation to read about this and the other\n things you can achieve with our endpoints!\n \n \n \n\n \n \n How do I purchase more API calls?\n \n \n \n If you're building a Private app and think you need a higher API limit you should reach out to\n our sales team.\n \n \n \n\n \n \n How do I revoke an access token?\n \n \n \n You can refresh your app's credential in the settings for your app in the{' '}\n developer portal. This will refresh your secret, revoking all access to your app.\n \n \n \n\n \n \n Something missing? Reach out through our help center\n \n \n \n
\n \n
\n );\n};\n\nexport default FAQ;\n","import React from 'react';\nimport { Box } from '@wds/box';\nimport { Typography } from '@wds/typography';\n\nimport DeveloperWebBasePage from '../DeveloperWebBasePage';\n\nimport './tou.scss';\n\nconst renderSection1 = () => {\n return (\n \n \n \n 1. INTRODUCTION\n \n \n \n \n Thanks for your interest in using Momentive’s API for products and services branded as\n “SurveyMonkey” (“Services”).{' '}\n \n \n \n \n These Terms are a living document and may be changed by Momentive at any time. Momentive will post all changes\n online, and may notify you by email if Momentive regard the changes as significant and material.\n \n \n \n );\n};\n\nconst renderSection2 = () => {\n return (\n \n \n 2. USING THE API\n \n \n \n 2.1. Use Subject to Terms. Your use of the API and any API Content (including use of the API\n through a third party application that uses the API) is subject to compliance with these Terms. Momentive\n grants you a non-exclusive, non-transferable license (without the right to sublicense) to: (a) use the API\n solely as necessary to develop, test, operate and support your App using certain API Content accessed via the\n API; and (b) distribute or allow access to your integration of the API within your App to end users of your\n App. You may not sell, rent or redistribute access to the API or any API Content to any third party without\n Momentive’s prior written approval.\n \n \n \n \n 2.2. General Terms. If you use the Services as a user, such use remains subject to the\n Momentive Terms of Use for Services purchased\n on Momentive’s websites or the Momentive Governing Services Agreement (or similar governing service\n agreement) for Services purchased through Momentive’s enterprise sales team{' '}\n (“General Terms”). Your App’s interactions with a Momentive account must\n also comply with and be consistent with the General Terms.\n \n \n \n );\n};\n\nconst renderSection3 = () => {\n return (\n \n \n 3. DEVELOPER ACCOUNTS\n \n \n \n 3.1. Developer Account. Usage of the API is limited to owners of a SurveyMonkey account\n (“Developer Account”). After creation of your Developer Account, you may create\n applications, for which you will receive access credentials (“\n Access Credentials”). Keep your Access Credentials secure and confidential, as you are\n solely responsible for any activities occurring under your Developer Account.\n \n \n \n \n 3.2. Restrictions. You may open multiple Developer Accounts, but Momentive may close your\n accounts if Momentive regards that you have opened an excessive number of them. Momentive may also close your\n accounts if Momentive believes that you have created multiple accounts to bypass API call limits or\n restrictions. If your Developer Account is suspended, you must not attempt to circumvent such suspension by\n registering for a new Developer Account. You may not open a Developer Account if you are a competitor of\n Momentive.\n \n \n \n \n 3.3. Access Tokens and Credentials. If Momentive issues an Access Token for your App, you may\n only use that Access Token with that specific App, and cannot use that Access Token with any other\n application. Momentive may also issue credentials for your App. You may not sell, trade, or give your Access\n Token or credentials to any third party without Momentive’s prior written consent. You will take\n reasonable measures to safeguard Access Tokens and credentials from unauthorized use or access.\n \n \n \n );\n};\n\nconst renderSection4 = () => {\n return (\n \n \n 4. PRINCIPLES OF USER RESPECT\n \n \n \n Momentive’s goal is to ensure a great experience for Momentive’s Users. Momentive treat\n Momentive’s Users and their data with respect, so Momentive expects Momentive’s API developers to\n do the same.\n \n \n \n \n 4.1 Respect User Data. Your App must use User data in a way that the User expects. Avoid\n surprising Users by clearly describing what you are doing with their data. Obtain their permission before\n performing actions on their data, such as:\n \n \n
\n
\n editing survey data\n
\n
\n disclosing survey data to third parties\n
\n
\n using survey data in a way not expressly instructed\n
\n
\n editing survey questions or survey settings\n
\n
\n distributing surveys\n
\n
\n closing surveys\n
\n
\n altering account settings\n
\n
\n taking an account action on a User’s behalf\n
\n
\n \n \n 4.2.Don’t Mislead Users. Your App must not be presented in a way\n which misleads Users. For example, your App must not:\n \n \n
\n
\n be publicized in a way which is misleading to Users\n
\n
\n use logos or trademarks in a manner that misleads or confuses\n
\n
\n impersonate a third party without their authorization\n
\n
\n \n link to spam or malware sites or use shortened URLs to mask destinations in a misleading way\n \n
\n
\n \n \n 4.3.Don’t Encourage Bad Behavior. Your App must not induce your Users\n to act in an inappropriate or illegal manner. Specifically, you must not:\n \n \n
\n
\n \n encourage or cause Users to violate any law, terms of use or privacy policy (such as, for example, causing\n or facilitating the User to violate Momentive’s{' '}\n Acceptable Uses Policy through\n abusive use of email collectors)\n \n
\n
\n facilitate or encourage the infringement of intellectual property\n
\n
\n \n facilitate or encourage the publishing of a third party’s private or confidential information\n \n
\n
\n \n encourage collection of information Momentive doesn’t allow users to collect (like social security\n numbers, credit card numbers and passwords)\n \n
\n
\n \n encourage publishing of links to illegal or malicious content (including age restricted content to minors)\n \n
\n
\n \n );\n};\n\nconst renderSection5 = () => {\n return (\n \n \n 5. APP REQUIREMENTS\n \n \n \n 5.1.Privacy Content. Your App must include a privacy policy and/or privacy\n notices which describe in reasonably adequate detail how you handle any User data and personally identifiable\n information that may be collected from Users via the API. You must abide by your own privacy notices and\n policies.\n \n \n \n \n 5.2. Disconnection. You will make it easy for Users to disconnect or disassociate their\n account from your App, and you will not hide or obscure such functionality.\n \n \n \n );\n};\n\nconst renderSection6 = () => {\n return (\n \n \n 6. APP RESTRICTIONS\n \n \n \n 6.1. Category Restrictions. The following types of Apps are not permitted to use the API:\n \n \n
\n
\n \n Apps which are not related to facilitating surveys (e.g. you may not use Momentive as an email service\n provider to send out non-survey content).\n \n
\n
\n \n Apps which attempt to replicate core functionality of the Services, such as an App which white-labels the\n Services.\n \n
\n
\n \n Apps which facilitate the exporting of API Content for importation into a Momentive’s\n competitor’s product or service.\n \n
\n
\n \n \n 6.2. Presentation Restrictions. Your App cannot replicate, frame or mirror the Momentive\n websites or their design.\n \n \n \n \n 6.3. Functionality Restrictions. Your App may not:\n \n \n
\n
\n Crawl or datamine the API Content without each relevant User or Users’ consent\n
\n
\n \n Use the API to monitor the availability, performance or functionality of any our Services, or for other\n benchmarking or competitive purposes\n \n
\n
\n \n Alter, remove, replace or mask any aspect of a Momentive survey without Momentive’s prior written\n consent\n \n
\n
\n \n Be used in a way which lets Users circumvent any restrictions or limitations placed on their account due to\n the type of Momentive subscription plan they have (for example, the limitation on the number of survey\n responses that can be viewed by a User on a free subscription plan).\n \n
\n
\n \n );\n};\n\nconst renderSection7 = () => {\n return (\n \n \n 7. TECHNICAL RESTRICTIONS\n \n \n \n 7.1. API Call Limits. Monentive may impose limits on the number of API calls in any given\n period that your App is permitted to make. Public Apps and Private Apps may be subject to different\n limitations. If Momentive imposes such limits, Momentive may describe them on Momentive’s website. If\n you exceed the quantity of API calls you had purchased as specified in your order form, Momentive may charge\n additional fees for the excess. Unused API calls will not roll over to the next period.\n \n \n \n \n 7.2. Excessive Use. Abusive or excessive use of the API (as determined by Momentive) may\n result in the temporary suspension or termination of your access to the API. If your use of the API is likely\n to generate a volume of API calls materially in excess of what an average API developer would generate, or\n above the limits for your particular App, please contact Momentive first and Momentive may be able to agree to\n an arrangement in relation to your proposed use case.\n \n \n \n \n 7.3 Other Technical Limitations. Other technical restrictions imposed on Apps are:\n \n \n
\n
\n \n If you provide an application programming interface that uses the API to return the data of Users, you may\n only return Users’ usernames or unique identification numbers. You must pull all other User data by\n using the API.\n \n
\n
\n \n You may not use the API to aggregate, cache or store any place or geographic location information contained\n in API Content.\n \n
\n
\n \n );\n};\n\nconst renderSection8 = () => {\n return (\n \n \n 8. LEGAL RESTRICTIONS\n \n \n \n 8.1. Stay on the Right Side of the Law. Your App and your App’s use of the API must\n comply with all applicable laws, regulations and rules. Your App must not engage in (and must not facilitate)\n spamming, phishing or linking to illegal content. It is your responsibility to be familiar with, and abide by,\n the laws that apply to you.\n \n \n \n );\n};\n\nconst renderSection9 = () => {\n return (\n \n \n 9. MOMENTIVE BRAND ASSETS\n \n \n \n 9.1. Use of Momentive Brand Assets. Momentive’s name, logo, and other trademarks\n (“Marks”) are valuable brand assets of Momentive. Your use of Momentive’s name in\n conjunction with your Apps must be in accordance with the rules in this section. Momentive may publish brand\n use or trademark use guidelines from time to time on Momentive’s website, including as part of\n Momentive’s Brand and Trademark Use Policy,\n and use of Momentive’s Marks will be subject to all such guidelines. All goodwill arising out of or\n related to the use of the Marks by you shall inure to the benefit of Momentive.\n \n \n \n \n 9.2. No Endorsement. You may not use Momentive Marks in a way that creates a sense of\n affiliation, endorsement, or sponsorship by Momentive, unless you have Momentive’s express written\n permission to do so. Your Apps must be clearly labeled as your own, and not Momentive’s. While you may\n use Momentive’s name to indicate that your App integrates with or is compatible with the Services, or\n that Momentive was the source of the API Content, you may not label your product as a Momentive product or use\n theMarks as part of your own logo. You may not use Momentive’s Marks as part of the name of your company\n or of any App or other product or service created by you.\n \n \n \n \n 9.3. Proprietary Notices. You may not remove, modify or obfuscate any proprietary notices or\n marks on the API or in any API Content you obtain.\n \n \n \n );\n};\n\nconst renderSection10 = () => {\n return (\n \n \n 10. FEES\n \n \n \n 10.1. Fees. Access to the API for a basic level of API calls is currently provided at no\n additional fee apart from any applicable fees for your SurveyMonkey account. Contact Sales at Momentive for\n higher API call limit tiers.\n \n \n \n );\n};\n\nconst renderSection11 = () => {\n return (\n \n \n 11. MORE LEGAL TERMS\n \n \n \n 11.1. Limited License to Your Content. You grant Momentive a worldwide, royalty free license\n to use, reproduce, distribute, modify, adapt, create derivative works, make publicly available, and otherwise\n exploit your copyrights, trademarks, patents, publicity, moral, database, and/or other intellectual property\n rights in and to your App, but only for the limited purposes of promoting and marketing Momentive,\n Momentive’s API, and any API content in any media. This license also extends to any trusted third\n parties Momentive works with.\n \n \n \n \n 11.2. Integration Directory. Momentive may include and promote your application in\n Momentive’s integration directory of applications for Momentive users that have been developed by\n developers. Notwithstanding your application appearing in the integration directory, you agree that Momentive\n may for any reason demote or remove it from the integration directory.\n \n \n \n \n 11.3. Suspension and Termination. Momentive will endeavor to warn you if there is an issue\n with your App’s compliance with these Terms, or a compliance issue with the manner in which you are\n accessing the API, so that you can attempt to remedy the problem. Notwithstanding the foregoing, if Momentive\n believes that you have violated these terms or are accessing or using the API in any way that Momentive\n regards as abusive, or that causes liability or detriment to Momentive, Momentive may immediately, and without\n notice, suspend or terminate your access to the API, your Developer Account, and any API Content. Momentive\n may terminate these Terms for any reason, with or without notice to the email address associated with your\n Developer Account. You may terminate these Terms for any reason by ceasing to access the API, ceasing to use\n any API Content, and canceling your Developer Account.\n \n \n \n \n 11.4. Consequences of Termination. Upon termination of these Terms, you will cease accessing\n the API and will delete all API Content. Sections 3.2 (Restrictions), 9 (Momentive Brand Assets), 11.4\n (Consequences of Termination), and 11.7 (IP Ownership) to 11.14 (Terms for Non-U.S. Developers) will survive\n the termination of these Terms.\n \n \n \n \n 11.5. Cooperation. You agree to assist Momentive, at its request, to verify compliance with\n these Terms by providing Momentive with information about your App, including providing Momentive with access\n to it and/or other materials related to your use of the API.\n \n \n \n \n 11.6. Modifications and Support. Momentive may provide you with support for the API in\n Momentive’s sole discretion. Momentive may modify the API at any time without notice or liability to\n you. If you continue to access the API after such modifications, such act will be deemed your acceptance of\n the modifications.\n \n \n \n \n 11.7. IP Ownership. You acknowledge that Momentive and Momentive’s Users retain all\n worldwide rights, title and interest (including intellectual property rights) in and to the API Content. You\n acknowledge that Momentive or its licensors retain all rights, title and interest (including intellectual\n property rights) in and to the API and the Marks (and any derivative works or enhancements). You shall not do\n anything inconsistent with such ownership. Rights not expressly granted by these Terms are reserved by\n Momentive.\n \n \n \n \n Subject to the foregoing, you retain all worldwide rights, title and interest (including intellectual property\n rights) in and to your App. If you provide Momentive with any feedback or comments concerning the API or API\n Content, you agree that Momentive may use, reproduce, license, distribute and exploit in any other way, such\n feedback or comments.\n \n \n \n \n 11.8. Similar or Competitive Products or Services. You acknowledge that Momentive may\n independently develop, or have developed for it by other parties, products or services that are similar to or\n otherwise compete with your App, and nothing in these Terms will be construed against that.\n \n \n \n \n 11.9. Disclaimer of Warranties. ACCESS TO THE API AND THE API CONTENT IS PROVIDED “AS\n IS” WITH NO WARRANTY, EXPRESS OR IMPLIED, OF ANY KIND AND MOMENTIVE EXPRESSLY DISCLAIMS ALL WARRANTIES,\n INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AVAILABILITY, SECURITY,\n TITLE, AND NON-INFRINGEMENT. SOME API FEATURES MAY BE EXPERIMENTAL AND UNTESTED. MOMENTIVE DOES NOT REPRESENT\n OR WARRANT THAT THE API IS FREE OF INACCURACIES, ERRORS, BUGS, OR INTERRUPTIONS, OR ARE RELIABLE, ACCURATE,\n COMPLETE, OR OTHERWISE VALID. YOUR USE OF THE API AND API CONTENT IS AT YOUR RISK AND YOU WILL BE SOLELY\n RESPONSIBLE FOR ANY DAMAGE THAT RESULTS FROM USE OF THE API, INCLUDING FOR ANY DAMAGE TO YOUR COMPUTER SYSTEMS\n OR LOSS OF DATA. WHILE MOMENTIVE STRIVES TO MAKE THE API AVAILABLE WITHOUT INTERRUPTION, MOMENTIVE DOES NOT\n GUARANTEE THAT THE API WILL ALWAYS BE AVAILABLE AND DOES NOT PROVIDE ANY GUARANTEES AS TO SERVICE LEVELS.\n \n \n \n \n 11.10. Indemnity. You agree to indemnify and hold harmless Momentive, its affiliates, and\n their directors, officers, employees and agents, from and against any third party claim, losses, damages,\n suits, judgments, liability, and litigation costs (including reasonable attorneys’ fees) arising from or\n related to your use of the API or the API Content or your violation of these Terms.\n \n \n \n \n 11.11. Limitation of Liability. YOU AGREE THAT MOMENTIVE SHALL NOT BE LIABLE FOR ANY\n INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES, INCLUDING BUT NOT LIMITED TO, DAMAGES FOR\n LOSS OF PROFITS, GOODWILL, USE, DATA OR OTHER INTANGIBLE LOSSES (EVEN IF MOMENTIVE HAS BEEN ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGES), RESULTING FROM YOUR USE OF THE API OR THIRD PARTY PRODUCTS THAT ACCESS API\n CONTENT. IN ANY EVENT, MOMENTIVE’S AGGREGATE, CUMULATIVE LIABILITY TO YOU ARISING IN CONNECTION WITH\n THESE TERMS WILL NOT EXCEED US$100.00.\n \n \n \n \n 11.12. General. If any provision of these Terms is determined to be invalid or unenforceable\n by a court, such provision shall be deemed severable and the remainder of these Terms shall remain in full\n force and effect. The failure by Momentive to enforce any right or provision of these Terms shall not\n constitute a waiver of that provision or of any other provision of these Terms. You agree that you, and not\n Momentive, is responsible for determining which laws may apply to your use of the API and the API Content and\n assessing your obligations under such laws. These Terms comprise the entire agreement between you and\n Momentive with respect to its subject matter and supersede any prior or contemporaneous understandings,\n representations and other communications (written or oral) between you and Momentive.\n \n \n \n \n 11.13. Terms for U.S. Developers. If you are located in the United States, these Terms shall\n be governed by the laws of the State of California, without reference to its conflicts of law rules, and the\n parties hereby submit to the exclusive jurisdiction and venue of the state and federal courts located in that\n State.\n \n \n \n \n 11.14. Terms for Non-U.S. Developers. If you are located outside of the United States, these\n Terms shall be governed by the laws of Ireland, and the parties hereby submit to the exclusive jurisdiction of\n the courts of Ireland in relation to any claim arising under or in connection with these Terms which cannot be\n solved through a mutually agreed conciliation procedure.\n \n \n \n );\n};\n\nconst renderSection12 = () => {\n return (\n \n \n 12. DEFINITIONS\n \n \n \n “Access Token” means a token that permits your App to access or modify data in a\n User’s account.\n \n \n \n \n “API” means the application programming interface and associated code, tools,\n documentation and related material that Momentive provides to you in relation to our Services.\n \n \n \n \n “API Content” means any content made available to you through use of the API.\n \n \n \n \n “App” or “Application” means a software application,\n website, product or service that you create or offer.\n \n \n \n \n “Access Credentials” means the security keys, secrets, tokens, passwords,\n usernames and other identifiers and credentials used to access the API.\n \n \n \n \n “Developer Account” means the account for which you are required to register in\n order to obtain the Access Credentials and access to the API.\n \n \n \n \n “Momentive” means Momentive Inc. if you are located in the United States,\n Momentive Brasil Internet Eireli if you are located inside of Brazil, and by Momentive Europe UC if you are\n located elsewhere.\n \n \n \n \n “Terms” means these Momentive API Developer Terms\n \n \n \n \n “User” means a Momentive user or a user of your Application that uses the API.\n \n \n \n );\n};\n\nconst TOU = () => {\n return (\n
\n \n
\n \n \n \n Momentive API Developer Terms\n \n \n VERSION DATE: August 10, 2021\n \n LAST UPDATED: August 10, 2021\n \n\n {renderSection1()}\n\n {renderSection2()}\n\n {renderSection3()}\n\n {renderSection4()}\n\n {renderSection5()}\n\n {renderSection6()}\n\n {renderSection7()}\n\n {renderSection8()}\n\n {renderSection9()}\n\n {renderSection10()}\n\n {renderSection11()}\n\n {renderSection12()}\n\n \n \n Changelog\n \n \n \n Jul 22, 2013 updates to Feb 14, 2013 version:\n \n \n
\n
\n Added provisions relating to Access Tokens and secret keys.\n
\n
\n \n \n Jan 1, 2015 updates to Jul 22, 2013 version:\n \n \n
\n
\n \n \n Changed contracting entity from our old Luxembourg entity (SurveyMonkey Europe Sarl) to our Irish\n entity (SurveyMonkey Europe).\n \n \n
\n
\n \n \n Nov 29, 2016 updates to Jan 1, 2015 version:\n \n \n
\n
\n \n \n Changed contracting entity from our old Irish entity (SurveyMonkey Europe) to our new entity\n (SurveyMonkey Europe UC).\n \n \n
\n
\n \n \n Jan 10, 2017 updates to Nov 29, 2016 version:\n \n \n
\n
\n \n \n Clarified that SurveyMonkey may charge for API calls that reach certain limits and these fees and\n quantities will be specified in the developer’s order form. Also clarified that unused API\n calls do not roll over to the next period.\n \n \n
\n
\n \n \n Added a license grant to developer's intellectual property rights for the limited purpose of\n SurveyMonkey's promotional activities.\n \n \n
\n
\n \n Clarified when a developer's App may appear in our integration directory.\n \n
\n
\n \n \n Mar 28, 2017 updates to Jan 10, 2017 version:\n \n \n
\n
\n Revise brand and trademark use guidelines.\n
\n
\n \n \n May 31, 2017 updates to March 28, 2017 version:\n \n \n
\n
\n \n Clarified SurveyMonkey may independently develop similar or competitive products or services.\n \n
\n
\n \n \n August 10, 2021 updates to May 31, 2017 version:\n \n \n
\n
\n \n Clarified that effective as of July 1, 2021, SurveyMonkey Inc. became Momentive Inc., SurveyMonkey\n Europe UC became Momentive Europe UC, and SurveyMonkey Brasil Internet Eireli became Momentive\n Brasil Internet Eireli.\n \n
\n
\n \n \n
\n \n
\n );\n};\n\nexport default TOU;\n","import React, { useContext, useEffect } from 'react';\nimport { IconFolderUser, IconChartSegment, IconEmail, IconCheckCircle } from '@sm/wds-icons';\n\nimport { Box } from '@wds/box';\nimport { Grid } from '@wds/grid';\nimport { List } from '@wds/list';\nimport { Typography } from '@wds/typography';\n\nimport { StaticContext } from '@sm/webassets';\n\nimport DeveloperWebBasePage from '../DeveloperWebBasePage';\n\nimport waitForUsabilla from '~app/helpers/waitForUsabilla';\n\nimport AppTable from '../../components/AppTable';\n\nimport './build-a-private-app.scss';\n\nconst renderAppChecklist = () => {\n return (\n \n \n \n Here's a sample guide for creating an end-to-end customer feedback app using the SurveyMonkey API:{' '}\n \n \n \n \n After authorizing into a SurveyMonkey account, the user chooses from a list of existing surveys, a\n SurveyMonkey template, or creates a new survey.{' '}\n \n \n \n \n If the survey results need to correspond to an existing object (e.g. product, customer, support case), the\n developer can automatically add a custom variable to the survey.{' '}\n \n \n \n \n An app can then grab a weblink and send a survey through either their own email tool, or use\n SurveyMonkey's email system.\n \n \n \n \n Response data is stored in SurveyMonkey, and automatically returned via the API to the partner in real time\n (using webhooks).\n \n \n \n );\n};\n\nconst renderAPIChecklist = () => {\n return (\n \n \n \n \n }\n >\n \n Use webhooks instead of polling. Besides providing added stability, webhooks reduce the\n number of calls needed to be made on the client side by only calling the API when there's new activity\n (rather than on a regular basis).\n \n \n \n \n \n }\n >\n \n Caching on the client side. We see lots of apps continually requesting details for the same\n resource from the API. If the resource isn't going to change, cache it, and use webhooks to signal a\n refresh, if available.\n \n \n \n \n \n }\n >\n \n Queue up your changes. Bundle incremental updates to resources together, if they don't\n need to be sent over immediately.\n \n \n \n \n \n }\n >\n \n Use the Bulk API endpoints. Where applicable and available (survey details, responses,\n recipients, contacts), try making bulk calls.\n \n \n \n );\n};\n\nconst BuildAPrivateApp = () => {\n const {\n environment: { subdomain },\n } = useContext(StaticContext);\n\n useEffect(() => {\n waitForUsabilla(() => {\n window.usabilla_live('show');\n });\n }, []);\n\n // For testing only, when this goes live to the devekoper subdomain this will not be required\n const prependUrl = subdomain !== 'developer' && subdomain !== 'developer.eu' ? '/developer' : '';\n\n return (\n
\n \n
\n \n \n \n \n Creating a Private App\n \n \n \n \n Apps built for private use can take many forms.\n \n Some examples may include:\n \n \n \n \n \n \n
\n \n
\n \n \n An organization purchases multiple seats for employees and creates an app for internal use\n \n \n \n \n
\n \n
\n \n \n A developer automates sending surveys and/or exporting survey data for an SM account or Team\n \n \n \n \n
\n \n
\n \n \n A team creates functionality to send thank you emails when their survey is completed\n \n \n \n \n \n\n \n \n \n Private apps have different guidelines than apps publicly available in the App Directory. Here are a\n few key differences:\n \n \n\n \n\n \n \n Think your app is better suited to be Public? Check out{' '}\n Creating a Public App.\n \n \n \n \n *Please see our API Developer Terms for more guidelines when building with our\n API.\n \n \n\n \n \n Building a Private App\n \n \n\n {renderAppChecklist()}\n\n \n \n Tips for reducing your API call usage\n \n \n\n {renderAPIChecklist()}\n \n \n
\n \n
\n );\n};\n\nexport default BuildAPrivateApp;\n","import React, { useContext, useEffect } from 'react';\nimport { IconLogoGoldie, IconLogoOutlook, IconListChecks, IconCheckCircle } from '@sm/wds-icons';\n\nimport { Box } from '@wds/box';\nimport { Grid } from '@wds/grid';\nimport { List } from '@wds/list';\nimport { Typography } from '@wds/typography';\n\nimport { StaticContext } from '@sm/webassets';\n\nimport DeveloperWebBasePage from '../DeveloperWebBasePage';\n\nimport waitForUsabilla from '~app/helpers/waitForUsabilla';\n\nimport AppTable from '../../components/AppTable';\n\nimport './build-a-public-app.scss';\n\nconst renderAppChecklist = () => {\n return (\n \n \n \n \n }\n >\n \n Your app should have unique value and be attracting new users regularly.{' '}\n \n \n \n \n \n }\n >\n \n Your app should NOT replicate functionality already offered by SurveyMonkey's survey tools.{' '}\n \n \n \n \n \n }\n >\n \n Your app's name should NOT be a generic term (i.e. "Analytics"), include versioning (i.e.\n "App V3.0"), and/or include the word "SurveyMonkey".{' '}\n \n \n \n \n \n }\n >\n \n Your app should have at least five OAuth sign ins in the first three months.{' '}\n \n \n \n \n \n }\n >\n \n You must state if users will need a free or paid account from your service to use your app.{' '}\n \n \n \n \n \n }\n >\n Your team must provide easily-accessible app support.\n \n \n \n \n }\n >\n \n All communication should be over HTTPS using a valid SSL certificate (we value security!)\n \n \n \n );\n};\n\nconst renderListingChecklist = () => {\n return (\n \n \n \n Listings help users gain a better understanding of your app's core functionality and scope requirements.\n Therefore, they should be written honestly and truthfully.{' '}\n \n \n \n \n Visit the listings tab in the My Apps view to create an app listing and submit it for approval.{' '}\n \n \n \n \n Your first app listing should be in English, but we encourage you to make additional app listings in other\n languages.{' '}\n \n \n \n );\n};\n\nconst BuildAPublicApp = () => {\n const {\n environment: { subdomain },\n } = useContext(StaticContext);\n\n useEffect(() => {\n waitForUsabilla(() => {\n window.usabilla_live('show');\n });\n }, []);\n\n const prependUrl = subdomain !== 'developer' && subdomain !== 'developer.eu' ? '/developer' : '';\n\n return (\n
\n \n
\n \n \n \n \n Creating a Public App\n \n \n \n \n Public apps can be listed on SurveyMonkey's App Directory after meeting certain criteria and\n receiving approval.\n \n Some examples may include:\n \n \n \n \n \n \n
\n \n
\n \n \n A service that offers complementary functionality to SurveyMonkey\n \n \n \n \n
\n \n
\n \n \n An integration of SurveyMonkey functionality into a pre-existing tool\n \n \n \n \n
\n \n
\n \n \n A popular app that extends SurveyMonkey's functionality\n \n \n \n \n \n\n \n \n \n Public apps have different guidelines than apps built for private use. Here are a few key differences:\n \n \n\n \n\n \n \n Think your app is better suited to be Private? Check out{' '}\n Creating a Private App.\n \n \n \n \n *Please see our API Developer Terms for more guidelines when building with our\n API.\n \n \n\n \n \n {' '}\n App Approval Checklist{' '}\n \n \n \n \n SurveyMonkey has strict standards for publishing public apps. Meet the criteria below and we'll\n help promote your app in our App Directory.\n \n \n\n \n \n Basic Requirements\n \n \n\n {renderAppChecklist()}\n\n \n \n Creating a Listing\n \n \n\n {renderListingChecklist()}\n\n \n NOTES:\n \n \n \n SurveyMonkey retains the right to reject an app based on criteria not listed above. Approval of your\n app by SurveyMonkey does not guarantee its compliance with the criteria above.\n \n \n \n \n
\n \n
\n );\n};\n\nexport default BuildAPublicApp;\n","import React, { useEffect, useContext } from 'react';\nimport { Route, withRouter, Switch } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport { FourOhFourError, StaticContext } from '@sm/webassets';\n\nimport { HomePage, DocsPage, FAQPage, TOUPage, BuildAPrivateAppPage, BuildAPublicAppPage } from './pages';\n\nconst DeveloperWebRouter = ({ history }) => {\n const {\n environment: { domain },\n } = useContext(StaticContext);\n\n useEffect(() => {\n const unlisten = history.listen(() => {\n window.scrollTo(0, 0);\n });\n return () => {\n unlisten();\n };\n }, [history]);\n\n // Hide usabilla for all pages - each individual page will set usabilla configs and show if enabled\n // Note the load of usabilla hides the button so this code is included if usabilla has already been loaded\n if (typeof window !== 'undefined' && window && window.usabilla_live) {\n window.usabilla_live('virtualPageView');\n window.usabilla_live('hide');\n }\n\n return (\n \n \n \n \n \n \n \n \n\n {\n window.location.href = `https://www.${domain}.com/user/account`;\n return null;\n }}\n />\n {\n window.location.href = `https://www.${domain}.com/user/account/select?ep=https://developer.${domain}.com`;\n return null;\n }}\n />\n {\n window.location.href = `https://www.${domain}.com/team/libraries`;\n return null;\n }}\n />\n {\n window.location.href = `https://www.${domain}.com/addressbook`;\n return null;\n }}\n />\n {\n window.location.href = `https://www.${domain}.com/user/sign-out?ep=https://developer.${domain}.com`;\n return null;\n }}\n />\n\n \n \n );\n};\n\nDeveloperWebRouter.propTypes = {\n history: PropTypes.shape({\n listen: PropTypes.func.isRequired,\n }).isRequired,\n};\n\nexport default withRouter(DeveloperWebRouter);\n","import React, { useContext } from 'react';\nimport { Route, Switch, useLocation } from 'react-router-dom';\nimport { StaticContext } from '@sm/webassets';\nimport LinkBlocked from './pages/LinkBlocked';\nimport Pricing from './pages/Pricing';\nimport AppsDirectory from './pages/AppsDirectory';\nimport MRXSolutions from './pages/MRX/MRXSolutions';\nimport CreateWizard from './pages/CreateWizard';\nimport DeveloperWeb from './pages/DeveloperWeb';\n\nconst App = () => {\n const {\n environment: { subdomain },\n } = useContext(StaticContext);\n\n // From the developer subdomain prepend /developer to the path\n const location = useLocation();\n if (subdomain === 'developer' || subdomain === 'developer.eu') {\n if (!location.pathname.startsWith('/developer')) {\n location.pathname = `/developer${location.pathname}`;\n }\n }\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;\n","import { Packages } from '~shared/constants/pricing';\n\nimport { PricingPalette, PackageColors, PackageTheme, PricingTheme } from './types';\n\nconst pricingPalette: Required = {\n colors: {\n sabaeus: '#00BF6F',\n midnight: '#05467E',\n link: '#007FAA',\n arctic: '#2DCCD3',\n concord: '#671E75',\n raspberry: '#AC145A',\n bengal: '#F05B24',\n bumblebee: '#F9BE00',\n black: '#000000',\n charcoal: '#333E48',\n slate: '#6B787F',\n stone: '#9DA5AA',\n flint: '#D0D2D3',\n pebble: '#EDEEEE',\n canvas: '#F7F8FA',\n white: '#FFFFFF',\n navy: '#051C4F',\n dijon: '#F7E298',\n },\n};\n\nexport const packageColors: PackageColors = {\n advantageAnnual: pricingPalette.colors.sabaeus,\n basic: pricingPalette.colors.slate,\n analyze: pricingPalette.colors.raspberry,\n enterprise: pricingPalette.colors.midnight,\n premierAnnual: pricingPalette.colors.midnight,\n starterAnnual: pricingPalette.colors.link,\n standardMonthly: pricingPalette.colors.arctic,\n teamAdvantage: pricingPalette.colors.link,\n teamPremier: pricingPalette.colors.concord,\n};\n\nexport const packageTheme: PackageTheme = {\n [Packages.AdvantageAnnual]: {\n primary: packageColors.advantageAnnual,\n },\n [Packages.Basic]: {\n primary: packageColors.basic,\n },\n [Packages.Enterprise]: {\n primary: packageColors.enterprise,\n },\n [Packages.PremierAnnual]: {\n primary: packageColors.premierAnnual,\n },\n [Packages.StarterAnnual]: {\n primary: packageColors.starterAnnual,\n },\n [Packages.StandardMonthly]: {\n primary: packageColors.standardMonthly,\n },\n [Packages.TeamAdvantage]: {\n primary: packageColors.teamAdvantage,\n },\n [Packages.TeamPremier]: {\n primary: packageColors.teamPremier,\n },\n};\n\nexport function getPricingTheme(): PricingTheme {\n return {\n pricingPalette, // User defined theme\n packageColors,\n packageTheme,\n };\n}\n","import 'core-js/stable';\nimport 'regenerator-runtime/runtime';\nimport { BrowserRouter } from 'react-router-dom';\nimport React from 'react';\nimport { render, hydrate } from 'react-dom';\nimport { ApolloProvider } from 'react-apollo';\nimport createBrowserApolloClient from '@sm/apollo-clients/dist/browser';\nimport { L10nProvider } from '@sm/intl';\nimport { WrenchTheme } from '@wds/styles';\nimport merge from 'lodash.merge';\n\nimport './entry.scss';\n\nimport { getClientEnvironmentDetails } from '@sm/utils';\nimport {\n ErrorBoundary,\n FiveHundredErrorPage,\n HelmetProvider,\n StaticProvider,\n GlobalThemeProvider,\n initializeClientErrorHandler,\n} from '@sm/webassets';\n\nimport getGraphQLFragmentMatcher from './helpers/fragmentMatcher';\n\nimport ContentWebApp from './App';\nimport { getPricingTheme } from './styles/theme';\n\nconst target = document.getElementById('reactApp');\n\nconst allClientStaticData = getClientEnvironmentDetails().isBrowser ? window.SM.__LOAD_PAYLOAD_CACHE__ || {} : {};\n\n/**\n * Our servers inject the payload with the `user` details and, rightfully so, leave out the authentication attribute.\n * Hence, the client/webs need to calculate whether the user is authenticated or not by looking at the userId in the webs.\n * Now, we don't want every app/page to do this; hence, we abstract the calculation out.\n * In addition, we do not want the attribute readily available in the `window` object; hence, we\n * calculate it here and directly add it to the context.\n * Yes, the user can still access it (debugging JS/React Dev Tools) but this way, it's not readily exposed.\n *\n * With this in place, the webs can retrieve the authentication status via the context.\n */\nallClientStaticData.user = allClientStaticData.user || {};\nallClientStaticData.user.isAuthenticated = allClientStaticData.user.id && allClientStaticData.user.id !== '1';\nconst {\n environment,\n pageRequestId,\n 'client-config': { appName, appVersion, graphQLUri },\n gql: { gqlCache = {} } = {},\n 'bugsnag-client-config': bugSnagClientConfig,\n} = allClientStaticData;\n\n// Setup error handler to be available across the web\ninitializeClientErrorHandler(bugSnagClientConfig);\n\nlet localeMessages = null;\n\nconst apolloClient = createBrowserApolloClient({\n uri: graphQLUri,\n cacheHydration: gqlCache,\n pageRequestId,\n fragmentMatcherFn: getGraphQLFragmentMatcher,\n linkOptions: {\n credentials: 'include',\n batchInterval: 30,\n },\n metadata: { appName, appVersion },\n availableLoggedOutPaths: [],\n});\n\n/**\n * Merge any user defined theme objects\n * See http://storybook.jungle.tech/wrench/?path=/story/intro-theming--page\n */\nconst globalTheme = merge({}, WrenchTheme, getPricingTheme());\n\nconst rendered = messages => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\n/**\n * For SSR apps we need to render the CSR version with messages. If we don't do that,\n * - SSR would send localized content\n * - CSR wouldn't have the messages; hence, it'd render `null`\n * - CSR would then fetch the messages via `ComponentDidMount`\n * - CSR would eventually show the same content\n *\n * Instead, let's fetch the messages before hand so that the initial CSR paint\n * is the same as the SSR paint.\n *\n * Note - This has no performance impact as L10NProvider was waiting for messages before\n * displaying anything anyways.\n */\nconst renderAppWithLocaleMessages = () => {\n return new Promise(resolve => {\n if (environment.slLanguageLocale === 'en-US') {\n resolve(localeMessages);\n } else {\n Promise.all([\n import(/* webpackChunkName: \"i18n/[request]\" */ `../locales/translated/${environment.slLanguageLocale}`),\n import(\n /* webpackChunkName: \"i18n/webassets/[request]\" */ `@sm/webassets/dist/locales/translated/${environment.slLanguageLocale}`\n ),\n ]).then(([appMessages, webassetsMessages]) => {\n resolve({\n ...appMessages,\n ...webassetsMessages,\n });\n });\n }\n });\n};\n\nrenderAppWithLocaleMessages()\n .then(messages => {\n localeMessages = messages;\n })\n .finally(() => {\n (target.innerHTML.trim().length ? hydrate : render)(rendered(localeMessages), document.getElementById('reactApp'));\n });\n","import { IntrospectionFragmentMatcher } from 'apollo-cache-inmemory';\nimport introspectionQueryResultData from './fragmentTypes';\n\n/**\n * Get the GraphQL fragment matcher\n * @memberof module:@sm/utils\n * @returns {IntrospectionFragmentMatcher} IntrospectionFragmentMatcher\n */\nexport default function getGraphQLFragmentMatcher() {\n return new IntrospectionFragmentMatcher({\n introspectionQueryResultData,\n });\n}\n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"userDropDownQuery\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"linkedIdentities\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"totalCount\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":94}};\n doc.loc.source = {\"body\":\"query userDropDownQuery {\\n user {\\n id\\n linkedIdentities {\\n totalCount\\n }\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"userDropDownQuery\"] = oneQuery(doc, \"userDropDownQuery\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"categoriesQuery\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"fetchAppCategories\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"title\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"key\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"parentId\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":143}};\n doc.loc.source = {\"body\":\"query categoriesQuery {\\n fetchAppCategories {\\n data {\\n id\\n title\\n description\\n key\\n parentId\\n }\\n }\\n}\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"categoriesQuery\"] = oneQuery(doc, \"categoriesQuery\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"publishedApplicationListingCategories\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"publishedApplicationListingCategories\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"key\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":155}};\n doc.loc.source = {\"body\":\"query publishedApplicationListingCategories($language: ID!) {\\n publishedApplicationListingCategories(language: $language) {\\n id\\n key\\n name\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"publishedApplicationListingCategories\"] = oneQuery(doc, \"publishedApplicationListingCategories\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"uninstallApp\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"UninstallAppInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"uninstallApp\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"appId\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":100}};\n doc.loc.source = {\"body\":\"mutation uninstallApp($input: UninstallAppInput!) {\\n uninstallApp(input: $input) {\\n appId\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"uninstallApp\"] = oneQuery(doc, \"uninstallApp\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"publishedApplicationListingsByKeyword\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"keyword\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"publishedApplicationListingsByKeyword\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"keyword\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"keyword\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"items\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"logo\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"links\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"detail\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":323}};\n doc.loc.source = {\"body\":\"query publishedApplicationListingsByKeyword($subdomain: String, $tld: String, $language: ID!, $keyword: String!) {\\n publishedApplicationListingsByKeyword(subdomain: $subdomain, tld: $tld, language: $language, keyword: $keyword) {\\n items {\\n id\\n name\\n logo\\n links {\\n detail\\n }\\n }\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"publishedApplicationListingsByKeyword\"] = oneQuery(doc, \"publishedApplicationListingsByKeyword\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"previewApplicationListingDetails\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"appId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"previewApplicationListingDetails\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"appId\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"appId\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isIntegration\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"tagline\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"fullDescription\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"logo\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"installed\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"details\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"publisher\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"featureList\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"googleAnalyticsTrackingId\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"supportEmail\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"supportPhoneNumber\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"supportUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"requirements\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"label\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"pricingUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"type\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"screenshots\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"privacyPolicyUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"termsOfUseUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"blogUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"youtubeUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"websiteUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"installUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"upgradeRequired\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"optionalUpgrade\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"scopes\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"link\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"linkType\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":689}};\n doc.loc.source = {\"body\":\"query previewApplicationListingDetails($language: ID!, $appId: ID!) {\\n previewApplicationListingDetails(language: $language, appId: $appId) {\\n id\\n isIntegration\\n name\\n tagline\\n fullDescription\\n logo\\n installed\\n details {\\n publisher\\n featureList\\n googleAnalyticsTrackingId\\n supportEmail\\n supportPhoneNumber\\n supportUrl\\n requirements {\\n label\\n pricingUrl\\n type\\n description\\n }\\n screenshots\\n privacyPolicyUrl\\n termsOfUseUrl\\n blogUrl\\n youtubeUrl\\n websiteUrl\\n installUrl\\n upgradeRequired\\n optionalUpgrade\\n scopes\\n link\\n linkType\\n }\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"previewApplicationListingDetails\"] = oneQuery(doc, \"previewApplicationListingDetails\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"publishedApplicationListingDetails\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"appId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"publishedApplicationListingDetails\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"appId\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"appId\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isIntegration\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"tagline\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"fullDescription\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"logo\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"installed\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"details\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"publisher\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"featureList\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"googleAnalyticsTrackingId\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"supportEmail\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"supportPhoneNumber\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"supportUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"requirements\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"label\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"pricingUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"type\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"screenshots\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"privacyPolicyUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"termsOfUseUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"blogUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"youtubeUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"websiteUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"installUrl\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"upgradeRequired\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"optionalUpgrade\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"scopes\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"link\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"linkType\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":693}};\n doc.loc.source = {\"body\":\"query publishedApplicationListingDetails($language: ID!, $appId: ID!) {\\n publishedApplicationListingDetails(language: $language, appId: $appId) {\\n id\\n isIntegration\\n name\\n tagline\\n fullDescription\\n logo\\n installed\\n details {\\n publisher\\n featureList\\n googleAnalyticsTrackingId\\n supportEmail\\n supportPhoneNumber\\n supportUrl\\n requirements {\\n label\\n pricingUrl\\n type\\n description\\n }\\n screenshots\\n privacyPolicyUrl\\n termsOfUseUrl\\n blogUrl\\n youtubeUrl\\n websiteUrl\\n installUrl\\n upgradeRequired\\n optionalUpgrade\\n scopes\\n link\\n linkType\\n }\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"publishedApplicationListingDetails\"] = oneQuery(doc, \"publishedApplicationListingDetails\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"appsGridPublishedApplicationListings\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"filter\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"PublishedApplicationListingFilter\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"page\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Int\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"pageSize\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Int\"}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"publishedApplicationListings\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"filter\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"filter\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"page\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"page\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"pageSize\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"pageSize\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"items\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"logo\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isIntegration\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"links\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"detail\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"categories\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":501}};\n doc.loc.source = {\"body\":\"query appsGridPublishedApplicationListings(\\n $subdomain: String\\n $tld: String\\n $language: ID!\\n $filter: PublishedApplicationListingFilter\\n $page: Int\\n $pageSize: Int\\n) {\\n publishedApplicationListings(\\n subdomain: $subdomain\\n tld: $tld\\n language: $language\\n filter: $filter\\n page: $page\\n pageSize: $pageSize\\n ) {\\n items {\\n id\\n name\\n logo\\n isIntegration\\n links {\\n detail\\n }\\n categories {\\n id\\n name\\n }\\n }\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"appsGridPublishedApplicationListings\"] = oneQuery(doc, \"appsGridPublishedApplicationListings\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"appsAppListings\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"page\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Int\"}},\"defaultValue\":{\"kind\":\"IntValue\",\"value\":\"1\"},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"pageSize\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Int\"}},\"defaultValue\":{\"kind\":\"IntValue\",\"value\":\"50\"},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"featured\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Boolean\"}},\"defaultValue\":{\"kind\":\"BooleanValue\",\"value\":false},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"categories\"}},\"type\":{\"kind\":\"ListType\",\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Int\"}}}},\"defaultValue\":{\"kind\":\"ListValue\",\"values\":[]},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"search\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"fetchPublishedApplicationListings\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"page\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"page\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"pageSize\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"pageSize\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"featured\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"featured\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"categories\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"categories\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"search\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"search\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"data\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"encryptedAppId\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"tagline\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"image\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"link\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"categories\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":414}};\n doc.loc.source = {\"body\":\"query appsAppListings(\\n $page: Int = 1\\n $pageSize: Int = 50\\n $featured: Boolean = false\\n $categories: [Int!] = []\\n $search: String\\n) {\\n fetchPublishedApplicationListings(\\n page: $page\\n pageSize: $pageSize\\n featured: $featured\\n categories: $categories\\n search: $search\\n ) {\\n data {\\n encryptedAppId\\n name\\n tagline\\n image\\n link\\n categories \\n }\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"appsAppListings\"] = oneQuery(doc, \"appsAppListings\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"publishedApplicationListingCategory\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"categoryKey\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"page\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Int\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"pageSize\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Int\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"publishedApplicationListingCategory\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"categoryKey\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"categoryKey\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"publishedApplicationListings\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"page\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"page\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"pageSize\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"pageSize\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"items\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"tagline\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"logo\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isIntegration\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"links\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"detail\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"publishedApplicationListings\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"filter\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"PublishedApplicationListingFilter\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"page\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Int\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"pageSize\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Int\"}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"publishedApplicationListings\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"filter\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"filter\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"page\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"page\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"pageSize\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"pageSize\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"items\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"tagline\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"logo\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isIntegration\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"links\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"detail\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":1020}};\n doc.loc.source = {\"body\":\"query publishedApplicationListingCategory(\\n $subdomain: String\\n $tld: String\\n $language: ID!\\n $categoryKey: ID!\\n $page: Int!\\n $pageSize: Int!\\n) {\\n publishedApplicationListingCategory(\\n subdomain: $subdomain\\n tld: $tld\\n language: $language\\n categoryKey: $categoryKey\\n ) {\\n id\\n name\\n publishedApplicationListings(subdomain: $subdomain, tld: $tld, page: $page, pageSize: $pageSize) {\\n items {\\n id\\n name\\n tagline\\n logo\\n isIntegration\\n links {\\n detail\\n }\\n }\\n }\\n }\\n}\\n\\nquery publishedApplicationListings(\\n $subdomain: String\\n $tld: String\\n $language: ID!\\n $filter: PublishedApplicationListingFilter!\\n $page: Int\\n $pageSize: Int\\n) {\\n publishedApplicationListings(\\n subdomain: $subdomain\\n tld: $tld\\n language: $language\\n filter: $filter\\n page: $page\\n pageSize: $pageSize\\n ) {\\n items {\\n id\\n name\\n tagline\\n logo\\n isIntegration\\n links {\\n detail\\n }\\n }\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"publishedApplicationListingCategory\"] = oneQuery(doc, \"publishedApplicationListingCategory\");\n \n module.exports[\"publishedApplicationListings\"] = oneQuery(doc, \"publishedApplicationListings\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"installedApplications\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"installedApplications\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"items\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isIntegration\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"tagline\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"logo\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"links\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"detail\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"launch\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"categories\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":285}};\n doc.loc.source = {\"body\":\"query installedApplications($language: ID!) {\\n installedApplications(language: $language) {\\n items {\\n id\\n isIntegration\\n name\\n tagline\\n logo\\n links {\\n detail\\n launch\\n }\\n categories {\\n id\\n name\\n }\\n }\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"installedApplications\"] = oneQuery(doc, \"installedApplications\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"searchPublishedApplicationListingsByKeyword\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"keyword\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"publishedApplicationListingsByKeyword\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"subdomain\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"tld\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"language\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"keyword\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"keyword\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"items\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"tagline\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"logo\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isIntegration\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"links\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"detail\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":363}};\n doc.loc.source = {\"body\":\"query searchPublishedApplicationListingsByKeyword($subdomain: String, $tld: String, $language: ID!, $keyword: String!) {\\n publishedApplicationListingsByKeyword(subdomain: $subdomain, tld: $tld, language: $language, keyword: $keyword) {\\n items {\\n id\\n name\\n tagline\\n logo\\n isIntegration\\n links {\\n detail\\n }\\n }\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"searchPublishedApplicationListingsByKeyword\"] = oneQuery(doc, \"searchPublishedApplicationListingsByKeyword\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"developerAppListingsCount\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"developerApplications\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"totalCount\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":81}};\n doc.loc.source = {\"body\":\"query developerAppListingsCount {\\n developerApplications {\\n totalCount\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"developerAppListingsCount\"] = oneQuery(doc, \"developerAppListingsCount\");\n \n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"modules\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"modules\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"items\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"title\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"tagline\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"image\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"type\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"subtype\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"price\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"cost\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"locale\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"currency\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"links\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"marketingPage\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"preferences\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"hasPurchasedModule\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":338}};\n doc.loc.source = {\"body\":\"query modules {\\n modules {\\n items {\\n id\\n title\\n tagline\\n description\\n image\\n type\\n subtype\\n price {\\n cost\\n locale\\n currency\\n }\\n links {\\n marketingPage\\n }\\n }\\n }\\n}\\n\\nquery user {\\n user {\\n id\\n preferences {\\n hasPurchasedModule\\n }\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"modules\"] = oneQuery(doc, \"modules\");\n \n module.exports[\"user\"] = oneQuery(doc, \"user\");\n \n","module.exports = jsdom;"],"names":["map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","t","keys","Object","module","exports","__schema","types","kind","name","possibleTypes","COPY","defineMessages","LINK_BLOCKED_MAIN_MESSAGE","defaultMessage","description","LINK_BLOCKED_PAGE_TITLE","LINK_BLOCKED_SIGN_UP_BLURB","LINK_BLOCKED_SIGN_UP","LINK_BLOCKED_HOME","LINK_BLOCKED_TERMS_OF_USE","LinkBlocked","React","BasePage","color","includeHeader","includeFooter","pageId","legacyWeb","Helmet","T","content","className","href","generateMetricsAttribute","data","actionType","actionFlow","LogoWithText","Typography","variant","desc","component","Button","displayName","HelmetWithChildren","_ref","children","rest","_objectWithoutProperties","_excluded","ORDER","languages","freeze","langCode","order","None","Last","de","ru","Skipped","es","First","pt","nl","fr","it","da","sv","ja","ko","zh","tr","no","fi","LINKS","lang","Seo","canonicalPath","_useContext","useContext","StaticContext","domain","environment","url","path","hrefLangs","useMemo","getLinks","language","filter","links","SeoHeadTags","HrefLangsTags","rel","key","hrefLang","pageTitle","pageDescription","pageKeywords","PackageType","PACKAGE_PRICE_TYPE","require","MAIN_HEADING","DETAILS_HEADING","EDUCATIONAL_HEADING","EDUCATIONAL_SUBHEADING","VIEW_PRICING","TEAM_PLANS","INDIVIDUAL_PLANS","ENTERPRISE","BACK_TO_SUMMARY","EXPAND_ALL","COLLAPSE_ALL","BASIC","STANDARD_MONTHLY","STANDARD_ANNUAL","STARTER_ANNUAL","ADVANTAGE_MONTHLY","ADVANTAGE_ANNUAL","PREMIER_MONTHLY","PREMIER_ANNUAL","TEAM_ADVANTAGE","TEAM_PREMIER","ENT_PLATINUM","FLEX","Packages","PackageIds","Basic","StandardMonthly","StandardAnnual","StarterAnnual","AdvantageMonthly","AdvantageAnnual","PremierMonthly","PremierAnnual","TeamAdvantage","TeamPremier","Enterprise","Flex","ComparePlanIds","LanguageCodes","SkuTypes","PackageDisplayNames","EXTERNAL_SCRIPTS","MONTHLY_PACKAGES","INDIVIDUAL_PACKAGES","INDIVIDUAL_PACKAGES_WITH_STARTER","EDUCATIONAL_PACKAGES","TEAMS_PACKAGES","STRIPE_ELIGIBLE_PACKAGES","GUAC_COUNTRY_CODES","STARTER_ENABLED_COUNTRIES","USTerritoryCountryCodes","GBCountryCodes","COMPARISON_PACKAGES","ROUTE_PACKAGE_MAP","Individual","Teams","Educational","createUseStyles","Main","maxWidth","margin","Layout","useScript","urls","scriptElements","useRef","useEffect","current","existingScriptElement","document","querySelector","script","createElement","src","async","type","setAttribute","body","appendChild","_scriptElements$curre","forEach","scriptElement","removeChild","useMainStyles","sticky","SEO","PAGE_NAME_MAP","pricing","UT_SOURCE_MAP","useTrackingDetails","_useLocation","useLocation","pathname","search","utSource","URLSearchParams","get","pageName","replace","trim","pageUtSource","useStarterEnabled","_useState","useState","_useState2","_slicedToArray","isStarterEnabled","setIsStarterEnabled","_useContext$user","user","packageID","package","isAuthenticated","subscribedAt","billingCountry","convertedPackageID","parseInt","isEnabled","includes","win","window","undefined","payloadCache","_win$SM","SM","__LOAD_PAYLOAD_CACHE__","initialPackages","pricingExperience","PackageDataContext","createContext","PackageDataProvider","Provider","value","usePackageData","isBrowser","AMPLITUDE_PAGE_EVENTS","pageView","selectedPlans","AMPLITUDE_SELECTED_PACKAGE_MAP","getCookieValue","cname","cookieValue","decodedCookies","decodeURIComponent","cookie","split","c","cSub","startsWith","substring","length","PRICINGWEB","generateCTAMetricsAttribute","packageId","packageName","_AMPLITUDE_SELECTED_P","USER_EVENTS","amplitudeEvent","selectedPackageId","selectedPackageName","toLowerCase","source","getSkuCostByType","skuCosts","skuType","find","sku","getCoreCostFromSkus","CoreSeat","formatCostInSkuCurrency","skuCost","minimumFractionDigits","_skuCost$currency","FormattedNumber","formatStyle","currency","currencyDisplay","formatCostInLocaleCurrency","cost","formatMonthlyCostInLocaleCurrency","monthlyCostInDollars","convertFeatureSetToMap","featureSet","reduce","acc","feature","getPackageSetBasedOnPath","packageType","_ROUTE_PACKAGE_MAP$pa","getPackagesBasedOnQueryStringIds","packages","Number","NULL_PACKAGE","PackagesContext","allPackages","userPackage","displayPackages","showEduDiscount","packagesToDisplay","comparePlans","overageCost","getPackageById","PackagesProvider","packagesForExperience","setPackagesForExperience","_useState3","_useState4","packageIdToPackageMap","setPackageIdToPackageMap","updatedPackageMap","updatedPackages","pkg","newPackage","_objectSpread","comparisonSkuCost","useCallback","teamPremier","TEAM_PREMIER_ANNUAL","ResponseOverage","hookApi","usePackages","withPageHandler","WrappedComponent","props","_useParams$canonicalP","useParams","_useTrackingDetails","logPricingPageLoad","setTimeout","MetricsTracker","upgradeTriggerSource","error","Array","isArray","FiveHundredErrorPage","Boolean","SELECT","SIGN_UP","YOUR_PLAN","CONTACT_US","SIZE_OPTIONS","convertToObject","a","v","default","sm","WrenchTheme","md","lg","xl","xs","none","lowerBPMediaQuery","size","overrideSize","DISPLAY_SIZE_OPTIONS","LG_MEDIA_QUERY","MD_MEDIA_QUERY","SM_MEDIA_QUERY","XL_MEDIA_QUERY","pricingPalette","packageTheme","spacing","CTAMargin","marginTop","CTA","extend","display","padding","borderRadius","flex","backgroundColor","_packageTheme$package","primary","border","_packageTheme$package2","noCTA","justifyContent","background","colors","black","PackageCta","isSummaryPage","_useStyles","useStyles","_useCta","useCta","pricingPackage","_usePackages","setIsEnabled","isUserPackage","setIsUserPackage","_useState5","_useState6","ctaUrl","setCtaUrl","_useState7","_useState8","ctaLabel","setCtaLabel","isUpgradeable","details","tier","packageIsUserPackage","useStripeCheckout","isStripeEligible","newCtaUrl","utSource2","encryptedEduParam","encryptedCtaParam","disabled","ALWAYS_FREE","PER_MONTH","PER_USER_PER_MONTH","BILLED_ANNUALLY","PER_MONTH_ANNUALLY","BR_BILLED_ANNUALLY","getPerMonthAnnually","price","byline","priceUnit","pricePerMonthAnnually","highlighted","PriceLabel","fontSize","fontWeight","medium","whiteSpace","textDecoration","light","stone","lineHeight","Price","marginRight","packagePriceVariantMap","SUMMARY","DETAIL","COMPARISON","packagePriceComponentMap","PackagePrice","formattedPrice","packagePriceType","costUnit","_usePackagePriceStyle","usePackagePriceStyles","align","PackageByline","RibbonStyle","position","right","top","zIndex","overflow","width","height","left","borderTopLeftRadius","borderBottomRightRadius","bottom","textAlign","transform","boxShadow","Ribbon","useRibbonStyles","BEST_VALUE","SAVE_PERCENTAGE","Header","marginBottom","slate","minHeight","flexDirection","alignItems","TEAMS_BILLED_ANNUALLY","BR_TEAMS_BILLED_ANNUALLY","ENT_PLATINUM_BYLINE","usePriceDisplay","countryCode","isBasic","isBrazil","CountryCodes","isMonthlyPackage","isTeamsPackage","_useMemo","coreSeatSku","getCoreCostReplicaForBasicPackage","_packages$find","referencePackageSkuCost","packageData","AdditionalSeat","_useMemo2","coreSeatCost","additionalSeatCost","monthlyFormattedCost","annualFormattedCost","annualTeamsFormattedCost","retVal","headerCost","headerUnit","headerByline","packageCopyKey","toUpperCase","copyKey","countryOverrideCopyKey","PackageHeader","comparisonSkuCosts","_packageDefs$packageN","usePackageHeaderStyles","comparisonPackageName","_usePriceDisplay","comparisonCoreSeatCost","comparisonFormattedPrice","comparisonFormattedMonthlyPrice","ribbonText","packageDefs","comparisonPackage","packageObj","comparisonSeatCost","savingsPercentage","calculateSavingsPercent","skuCostOriginal","skuCostDiscounted","costDifference","Math","floor","percentage","HIGHLIGHT","defaultColor","PricingPackageContainer","marginLeft","gridRow","PricingPackage","flint","transition","Highlighted","paddingTop","PlanFeaturesLink","Highlight","canvas","Features","listStyle","charcoal","FeatureItem","wordBreak","paddingRight","FeatureSummary","TooltipContainer","elevation","Tooltip","white","space","textTransform","locale","TooltipArrow","TooltipLeft","TooltipRight","FeatureTooltip","tooltipHeading","tooltip","isLastPackage","slLanguageLocale","_useTooltipStyles","useTooltipStyles","Box","dangerouslySetInnerHTML","__html","sanitizeString","contributor_seats","response_count","support","skip_logic","statistical_significance","FeatureSet","features","_useFeatureSetStyles","useFeatureSetStyles","isMobile","getClientEnvironmentDetails","handleFeatureHover","featureName","querySelectorAll","classList","add","handleFeatureLeave","remove","getUniqueFeatureName","uniqueFeature","uniqueFeatureNameMap","_uniqueFeatureNameMap","summary","onMouseEnter","bind","onMouseLeave","TYPE_HEADER","TYPE_PARAGRAPH","NUM_RESPONSES","NUM_RESPONSES_TOOLTIP","SUPPORT","SUPPORT_TOOLTIP","CONTRIBUTOR_SEATS","CONTRIBUTOR_SEATS_TOOLTIP","SENTIMENT_ANALYSIS","SENTIMENT_ANALYSIS_TOOLTIP","DATA_EXPORTS","DATA_EXPORTS_TOOLTIP","ADVANCED_LOGIC","ADVANCED_LOGIC_TOOLTIP","a_b_testing_tooltip_heading","a_b_testing_tooltip","account_control_tooltip_heading","account_control_tooltip","account_verification_tooltip_heading","account_verification_tooltip","add_users_tooltip_heading","add_users_tooltip","admin_dashboard_tooltip_heading","admin_dashboard_tooltip","advanced_analyze_features_tooltip_heading","advanced_analyze_features_tooltip","advanced_collaboration_tooltip_heading","advanced_collaboration_tooltip","advanced_logic_tooltip_heading","advanced_logic_tooltip","all_data_exports_tooltip_heading","all_data_exports_tooltip","all_languages_supported_tooltip_heading","all_languages_supported_tooltip","analyze_access_benchmarking_tooltip_heading","analyze_access_benchmarking_tooltip","analyze_can_export_ta_tooltip_heading","analyze_can_export_ta_tooltip","analyze_can_save_views_tooltip_heading","analyze_can_save_views_tooltip","analyze_can_share_customize_branding_tooltip_heading","analyze_can_share_customize_branding_tooltip","analyze_can_share_customize_domain_tooltip_heading","analyze_can_share_customize_domain_tooltip","analyze_can_ta_search_tooltip_heading","analyze_can_ta_search_tooltip","analyze_can_ta_tag_tooltip_heading","analyze_can_ta_tag_tooltip","analyze_combine_filters_tooltip_heading","analyze_combine_filters_tooltip","analyze_dashboard_password_enabled_tooltip_heading","analyze_dashboard_password_enabled_tooltip","analyze_delete_respondent_limit_tooltip_heading","analyze_delete_respondent_limit_tooltip","analyze_export_enabled_tooltip_heading","analyze_export_enabled_tooltip","analyze_export_spss_enabled_tooltip_heading","analyze_export_spss_enabled_tooltip","analyze_integrations_tooltip_heading","analyze_integrations_tooltip","analyze_password_enabled_tooltip_heading","analyze_password_enabled_tooltip","analyze_response_delete_limit_tooltip_heading","analyze_response_delete_limit_tooltip","analyze_response_limit_tooltip_heading","analyze_response_limit_tooltip","analyze_results_together_tooltip_heading","analyze_results_together_tooltip","analyze_rule_based_tagging_tooltip_heading","analyze_rule_based_tagging_tooltip","analyze_rule_limit_tooltip_heading","analyze_rule_limit_tooltip","analyze_sentiment_enabled_tooltip_heading","analyze_sentiment_enabled_tooltip","sentiment_tooltip_heading","sentiment_tooltip","analyze_shared_results_enabled_tooltip_heading","analyze_shared_results_enabled_tooltip","analyze_ta_enabled_tooltip_heading","analyze_ta_enabled_tooltip","analyze_trends_enabled_tooltip_heading","analyze_trends_enabled_tooltip","api_access_tooltip_heading","api_access_tooltip","asset_library_tooltip_heading","asset_library_tooltip","assign_admin_role_tooltip_heading","assign_admin_role_tooltip","base_response_count_tooltip_heading","base_response_count_tooltip","benchmarks_tooltip_heading","benchmarks_tooltip","best_worst_qt_tooltip_heading","best_worst_qt_tooltip","block_randomization_tooltip_heading","block_randomization_tooltip","build_surveys_together_tooltip_heading","build_surveys_together_tooltip","bulk_survey_share_tooltip_heading","bulk_survey_share_tooltip","bulk_survey_transfer_tooltip_heading","bulk_survey_transfer_tooltip","carry_forward_tooltip_heading","carry_forward_tooltip","click_map_qt_tooltip_heading","click_map_qt_tooltip","collaboration_tooltip_heading","collaboration_tooltip","collaborate_tooltip_heading","collaborate_tooltip","collect_email_throttle_limit_tooltip_heading","collect_email_throttle_limit_tooltip","collect_min_daily_messages_limit_tooltip_heading","collect_min_daily_messages_limit_tooltip","collect_responses_tooltip_heading","collect_responses_tooltip","collector_completion_url_enabled_tooltip_heading","collector_completion_url_enabled_tooltip","collector_contact_list_limit_tooltip_heading","collector_contact_list_limit_tooltip","collector_create_limit_tooltip_heading","collector_create_limit_tooltip","collector_email_limit_tooltip_heading","collector_email_limit_tooltip","collector_email_enabled_tooltip_heading","collector_email_enabled_tooltip","collector_facebook_messenger_enabled_tooltip_heading","collector_facebook_messenger_enabled_tooltip","collector_manual_data_entry_enabled_tooltip_heading","collector_manual_data_entry_enabled_tooltip","collector_mobile_sdk_enabled_tooltip_heading","collector_mobile_sdk_enabled_tooltip","collector_offline_kiosk_enabled_tooltip_heading","collector_offline_kiosk_enabled_tooltip","collector_popup_enabled_tooltip_heading","collector_popup_enabled_tooltip","collector_friendly_url_enabled_tooltip_heading","collector_friendly_url_enabled_tooltip","collector_max_responses_delete_count_tooltip_heading","collector_max_responses_delete_count_tooltip","collector_recipients_limit_tooltip_heading","collector_recipients_limit_tooltip","collector_white_label_enabled_tooltip_heading","collector_white_label_enabled_tooltip","collector_zoom_enabled_tooltip_heading","collector_zoom_enabled_tooltip","collectors_read_tooltip_heading","collectors_read_tooltip","collectors_write_tooltip_heading","collectors_write_tooltip","collect_end_page_question_bank_demographics_tooltip_heading","collect_end_page_question_bank_demographics_tooltip","comment_box_question_type_tooltip_heading","comment_box_question_type_tooltip","consolidated_billing_tooltip_heading","consolidated_billing_tooltip","contacts_read_tooltip_heading","contacts_read_tooltip","contacts_write_tooltip_heading","contacts_write_tooltip","contributor_seats_tooltip_heading","contributor_seats_tooltip","create_advanced_features_tooltip_heading","create_advanced_features_tooltip","create_custom_chatbot_avatar_tooltip_heading","create_custom_chatbot_avatar_tooltip","create_custom_html_email_message_enabled_tooltip_heading","create_custom_html_email_message_enabled_tooltip","create_custom_theme_enabled_tooltip_heading","create_custom_theme_enabled_tooltip","create_custom_variables_enabled_tooltip_heading","create_custom_variables_enabled_tooltip","create_logo_enabled_tooltip_heading","create_logo_enabled_tooltip","create_piping_enabled_tooltip_heading","create_piping_enabled_tooltip","create_quotas_enabled_tooltip_heading","create_quotas_enabled_tooltip","create_random_assignment_enabled_tooltip_heading","create_random_assignment_enabled_tooltip","create_randomization_enabled_tooltip_heading","create_randomization_enabled_tooltip","create_skip_logic_enabled_tooltip_heading","create_skip_logic_enabled_tooltip","create_templates_enabled_tooltip_heading","create_templates_enabled_tooltip","custom_charts_tooltip_heading","custom_charts_tooltip","custom_question_bank_tooltip_heading","custom_question_bank_tooltip","custom_subdomain_tooltip_heading","custom_subdomain_tooltip","custom_templates_tooltip_heading","custom_templates_tooltip","customer_success_tooltip_heading","customer_success_tooltip","custom_terms_of_use_tooltip_heading","custom_terms_of_use_tooltip","customer_success_manager_tooltip_heading","customer_success_manager_tooltip","dashboard_tooltip_heading","dashboard_tooltip","data_ownership_tooltip_heading","data_ownership_tooltip","disable_closed_page_branding_enabled_tooltip_heading","disable_closed_page_branding_enabled_tooltip","disable_email_message_branding_enabled_tooltip_heading","disable_email_message_branding_enabled_tooltip","disable_footer_branding_enabled_tooltip_heading","disable_footer_branding_enabled_tooltip","download_as_csv_xls_pdf_tooltip_heading","download_as_csv_xls_pdf_tooltip","email_support_tooltip_heading","email_support_tooltip","email_tracking_enabled_tooltip_heading","email_tracking_enabled_tooltip","enhanced_governance_tooltip_heading","enhanced_governance_tooltip","essential_question_types_tooltip_heading","essential_question_types_tooltip","extended_piping_tooltip_heading","extended_piping_tooltip","extract_data_tooltip_heading","extract_data_tooltip","file_upload_tooltip_heading","file_upload_tooltip","filter_crosstab_tooltip_heading","filter_crosstab_tooltip","flexible_plan_types_tooltip_heading","flexible_plan_types_tooltip","footer_branding_tooltip_heading","footer_branding_tooltip","funneling_enabled_tooltip_heading","funneling_enabled_tooltip","gather_comments_tooltip_heading","gather_comments_tooltip","global_settings_tooltip_heading","global_settings_tooltip","gold_features_included_tooltip_heading","gold_features_included_tooltip","group_contacts_limit_tooltip_heading","group_contacts_limit_tooltip","group_templates_tooltip_heading","group_templates_tooltip","groups_read_tooltip_heading","groups_read_tooltip","groups_write_tooltip_heading","groups_write_tooltip","hide_export_branding_enabled_tooltip_heading","hide_export_branding_enabled_tooltip","hipaa_enabled_tooltip_heading","hipaa_enabled_tooltip","integrations_tooltip_heading","integrations_tooltip","enterprise_only_integrations_tooltip_heading","enterprise_only_integrations_tooltip","kiosk_mode_inactivity_timer_tooltip_heading","kiosk_mode_inactivity_timer_tooltip","kiosk_mode_passcode_lock_tooltip_heading","kiosk_mode_passcode_lock_tooltip","labeling_titles_numbering_tooltip_heading","labeling_titles_numbering_tooltip","library_read_tooltip_heading","library_read_tooltip","lite_library_tooltip_heading","lite_library_tooltip","max_collectors_per_survey_tooltip_heading","max_collectors_per_survey_tooltip","maximum_daily_messages_tooltip_heading","maximum_daily_messages_tooltip","menu_matrix_enabled_tooltip_heading","menu_matrix_enabled_tooltip","metadata_settings_tooltip_heading","metadata_settings_tooltip","mobile_apps_ios_android_tooltip_heading","mobile_apps_ios_android_tooltip","mobile_sdk_pull_response_data_enabled_tooltip_heading","mobile_sdk_pull_response_data_enabled_tooltip","mta_sparkpost_low_risk_ip_pools_tooltip_heading","mta_sparkpost_low_risk_ip_pools_tooltip","multilingual_tooltip_heading","multilingual_tooltip","multiple_block_rotation_enabled_tooltip_heading","multiple_block_rotation_enabled_tooltip","multiple_users_tooltip_heading","multiple_users_tooltip","new_stock_themes_tooltip_heading","new_stock_themes_tooltip","notification_center_tooltip_heading","notification_center_tooltip","num_free_responses_tooltip_heading","num_free_responses_tooltip","paid_to_group_rollout_tooltip_heading","paid_to_group_rollout_tooltip","papi_enabled_tooltip_heading","papi_enabled_tooltip","payment_qt_tooltip_heading","payment_qt_tooltip","phone_support_tooltip_heading","phone_support_tooltip","benchmark_logic_tooltip_heading","benchmark_logic_tooltip","plans_benchmarks_tooltip_heading","plans_benchmarks_tooltip","premium_themes_tooltip_heading","premium_themes_tooltip","priority_email_support_tooltip_heading","priority_email_support_tooltip","private_apps_tooltip_heading","private_apps_tooltip","question_library_tooltip_heading","question_library_tooltip","question_library_intl_tooltip_heading","question_library_intl_tooltip","quizzes_pro_tooltip_heading","quizzes_pro_tooltip","randomize_answer_choices_tooltip_heading","randomize_answer_choices_tooltip","receive_transferred_survey_enabled_tooltip_heading","receive_transferred_survey_enabled_tooltip","record_respondent_email_address_tooltip_heading","record_respondent_email_address_tooltip","recurring_email_collector_enabled_tooltip_heading","recurring_email_collector_enabled_tooltip","recurring_surveys_tooltip_heading","recurring_surveys_tooltip","reshare_tooltip_heading","reshare_tooltip","respondent_receipt_tooltip_heading","respondent_receipt_tooltip","response_alerts_tooltip_heading","response_alerts_tooltip","response_quality_enabled_tooltip_heading","response_quality_enabled_tooltip","responses_read_tooltip_heading","responses_read_tooltip","responses_read_detail_tooltip_heading","responses_read_detail_tooltip","responses_write_tooltip_heading","responses_write_tooltip","roles_read_tooltip_heading","roles_read_tooltip","roles_write_tooltip_heading","roles_write_tooltip","sa_en_ga_tooltip_heading","sa_en_ga_tooltip","select_features_included_tooltip_heading","select_features_included_tooltip","send_surveys_tooltip_heading","send_surveys_tooltip","share_surveys_tooltip_heading","share_surveys_tooltip","share_with_your_organization_tooltip_heading","share_with_your_organization_tooltip","shared_assets_tooltip_heading","shared_assets_tooltip","shared_group_library_tooltip_heading","shared_group_library_tooltip","shared_library_tooltip_heading","shared_library_tooltip","show_create_crosstab_tooltip_heading","show_create_crosstab_tooltip","show_create_header_upgrade_button_tooltip_heading","show_create_header_upgrade_button_tooltip","show_sig_diffs_enabled_tooltip_heading","show_sig_diffs_enabled_tooltip","single_sign_on_tooltip_heading","single_sign_on_tooltip","skip_logic_tooltip_heading","skip_logic_tooltip","smart_notifications_tooltip_heading","smart_notifications_tooltip","ssl_tls_encryption_tooltip_heading","ssl_tls_encryption_tooltip","star_rating_question_type_tooltip_heading","star_rating_question_type_tooltip","statistical_significance_tooltip_heading","statistical_significance_tooltip","survey_branding_tooltip_heading","survey_branding_tooltip","survey_create_limit_tooltip_heading","survey_create_limit_tooltip","survey_templates_intl_tooltip_heading","survey_templates_intl_tooltip","surveys_read_tooltip_heading","surveys_read_tooltip","surveys_write_tooltip_heading","surveys_write_tooltip","team_activity_tooltip_heading","team_activity_tooltip","team_logic_tooltip_heading","team_logic_tooltip","team_ownership_tooltip_heading","team_ownership_tooltip","team_themes_tooltip_heading","team_themes_tooltip","teams_can_discover_tooltip_heading","teams_can_discover_tooltip","teams_can_make_discoverable_tooltip_heading","teams_can_make_discoverable_tooltip","teams_enabled_tooltip_heading","teams_enabled_tooltip","text_analysis_tooltip_heading","text_analysis_tooltip","textbox_multiple_question_type_tooltip_heading","textbox_multiple_question_type_tooltip","try_before_you_buy_enabled_tooltip_heading","try_before_you_buy_enabled_tooltip","unlimited_questions_tooltip_heading","unlimited_questions_tooltip","unlimited_responses_tooltip_heading","unlimited_responses_tooltip","user_management_tooltip_heading","user_management_tooltip","users_read_tooltip_heading","users_read_tooltip","validate_answer_tooltip_heading","validate_answer_tooltip","view_respondent_ip_address_tooltip_heading","view_respondent_ip_address_tooltip","webhooks_read_tooltip_heading","webhooks_read_tooltip","webhooks_write_tooltip_heading","webhooks_write_tooltip","word_cloud_combine_hide_tooltip_heading","word_cloud_combine_hide_tooltip","workgroups_members_read_tooltip_heading","workgroups_members_read_tooltip","workgroups_members_write_tooltip_heading","workgroups_members_write_tooltip","workgroups_read_tooltip_heading","workgroups_read_tooltip","workgroups_shares_read_tooltip_heading","workgroups_shares_read_tooltip","workgroups_shares_write_tooltip_heading","workgroups_shares_write_tooltip","workgroups_write_tooltip_heading","workgroups_write_tooltip","TYPE_LABEL","tooltipCopy","a_b_testing","account_control","account_verification","add_users","admin_dashboard","advanced_analyze_features","advanced_collaboration","advanced_logic","all_data_exports","all_languages_supported","analyze_access_benchmarking","analyze_can_customize_charts","analyze_can_export_ta","analyze_can_save_views","analyze_can_share_customize_branding","analyze_can_share_customize_domain","analyze_can_ta_search","analyze_can_ta_tag","analyze_combine_filters","analyze_dashboard_password_enabled","analyze_delete_respondent_limit","analyze_export_enabled","analyze_export_spss_enabled","analyze_integrations","analyze_password_enabled","analyze_response_delete_limit","analyze_response_limit","analyze_results_together","analyze_rule_based_tagging","analyze_rule_limit","sentiment","analyze_shared_results_enabled","analyze_ta_enabled","analyze_trends_enabled","api_access","asset_library","assign_admin_role","base_response_count","benchmarks","best_worst_qt","block_randomization","build_surveys_together","bulk_survey_share","bulk_survey_transfer","carry_forward","click_map_qt","collaborate","collect_contact_information","collect_email_throttle_limit","collect_min_daily_messages_limit","collect_responses","collector_completion_url_enabled","collector_contact_list_limit","collector_create_limit","collector_email_limit","collector_email_enabled","collector_facebook_messenger_enabled","collector_manual_data_entry_enabled","collector_mobile_sdk_enabled","collector_offline_kiosk_enabled","collector_popup_enabled","collector_friendly_url_enabled","collector_max_responses_delete_count","collector_recipients_limit","collector_thank_you_enabled","collector_white_label_enabled","collector_zoom_enabled","collectors_read","collectors_write","collect_end_page_question_bank_demographics","comment_box_question_type","consolidated_billing","contacts_read","contacts_write","create_advanced_features","create_custom_chatbot_avatar","create_custom_html_email_message_enabled","create_custom_theme_enabled","create_custom_variables_enabled","create_grayscale_footer","create_logo_enabled","create_piping_enabled","create_print_enabled","create_question_limit","create_quotas_enabled","create_random_assignment_enabled","create_randomization_enabled","create_templates_enabled","create_toggle_footer_enabled","custom_charts","custom_templates","customer_success","customize_disqualification_page_enabled","data_ownership","disable_closed_page_branding_enabled","disable_email_message_branding_enabled","disable_footer_branding_enabled","download_as_csv_xls_pdf","download_as_ppt","email_support","email_tracking_enabled","enable_ip_blocking","enhanced_governance","essential_question_types","extended_piping","extract_data","file_upload","filter_crosstab","flexible_plan_types","footer_branding","funneling_enabled","gather_comments","gold_features_included","group_contacts_limit","group_templates","groups_read","groups_write","hide_export_branding_enabled","hipaa_enabled","integrations","kiosk_mode_inactivity_timer","kiosk_mode_passcode_lock","labeling_titles_numbering","library_read","lite_library","max_collectors_per_survey","matrix_question_type","maximum_daily_messages","menu_matrix_enabled","metadata_settings","mobile_sdk_pull_response_data_enabled","mta_sparkpost_low_risk_ip_pools","multilingual","multiple_users","new_stock_themes","notification_center","num_free_responses","pagination","paid_to_group_rollout","papi_enabled","password_protection","payment_qt","phone_support","benchmark_logic","pop_up_collector","premium_themes","priority_email_support","private_apps","progress_bar","question_library","question_library_intl","quizzes_pro","randomize_answer_choices","ranking_question_type","rating_question_type","real_time_results","receive_transferred_survey_enabled","record_respondent_email_address","recurring_email_collector_enabled","recurring_surveys","require_answer","reshare","respondent_receipt","response_alerts","response_quality_enabled","responses_read","responses_read_detail","responses_write","roles_read","roles_write","sa_en_ga","select_features_included","send_surveys","set_max_response_count","set_survey_end_date","share_surveys","share_with_your_organization","shared_assets","shared_group_library","shared_library","show_create_crosstab","show_create_header_upgrade_button","show_sig_diffs_enabled","single_sign_on","slider_question_type","smart_notifications","ssl_tls_encryption","star_rating_question_type","survey_branding","survey_create_limit","survey_templates_intl","surveys_read","surveys_write","team_activity","team_logic","team_ownership","team_themes","teams_can_discover","teams_can_make_discoverable","teams_enabled","text_analysis","text_formatting","textbox_multiple_question_type","track_email_responses","try_before_you_buy_enabled","unlimited_questions","unlimited_responses","user_management","users_read","validate_answer","video_question_type","view_respondent_ip_address","webhooks_read","webhooks_write","workgroups_members_read","workgroups_members_write","workgroups_read","workgroups_shares_read","workgroups_shares_write","workgroups_write","RESPONSES_PER_YEAR","SHARED_LIBRARY","tooltipOverrides","advanced_survey_features","analyze_can_export_hide_branding","analyze_sentiment_enabled","collaboration","create_skip_logic_enabled","custom_question_bank","custom_subdomain","custom_terms_of_use","customer_success_manager","dashboard","global_settings","enterprise_only_integrations","mobile_apps_ios_android","multiple_block_rotation_enabled","onboarding","plans_benchmarks","quiz_scoring_and_instant_results","web_social_email_responses","word_cloud_combine_hide","createFeatureFormatter","COPY_MAP","formatValues","tooltipKey","String","tooltipHeadingKey","formatSummaryFeature","SUMMARY_COPY","formatDetailsFeature","DETAILS_COPY","SETTING_UNLIMITED","singleEnabledFeaturesRules","featureItem","nonConditionalFeatureRules","create_limit","obj","setting","amount","toLocaleString","hasSentiment","allowedPackages","crosstabs","_","disAllowedPackages","dataCenter","featureItemKey","summaryFeaturesTransformer","featureList","featureListRules","packageFeatures","options","featureListItem","_SummaryFeatureMap$fi","SummaryFeatureMap","item","_featureItem$features","featureValues","featureKey","DefaultIndividualsFeatureList","StandardMonthlyFeatureList","FeatureRules","DefaultTeamsFeatureList","TeamPremierFeatureList","EnterpriseFeatureList","AdvantageAnnualFeatureList","PremierAnnualFeatureList","StarterAnnualFeatureTransformer","StandardMonthlyFeatureTransformer","AdvantageAnnualFeatureTransformer","TeamAdvantageFeatureTransformer","TeamPremierFeatureTransformer","EnterpriseFeatureTransformer","PremierAnnualFeatureTransformer","useSummaryDisplayFeatures","_useContext$environme","hostname","getDataCenterById","getDataCenterIdFromCurrentUrl","featureTransformer","SummaryFeatureTransformers","featureSetMap","usePackageFeatureSet","setFeatureSetMap","useFeatureSet","displayFeatures","setDisplayFeatures","featureSetData","regionCode","Package","_usePackageStyles","usePackageStyles","element","PackageDefs","Link","to","Footer","Content","Audience","Accordion","AccordionContent","FAQHeading","paddingBottom","pointerEvents","Answer","Active","Inactive","Toggle","footerImg","backgroundSize","paddingLeft","FeatureList","Feature","Disclaimers","Disclaimer","GetStarted","More","borderTop","pebble","PricingList","Col","SeeAllLink","FAQ","heading","testid","isActive","setIsActive","_usePricingFooterStyl","usePricingFooterStyles","handleClick","onClick","onKeyUp","role","tabIndex","IconChevronUp","title","IconChevronDown","FAQAnswer","LegaleseDisclaimer","TeamsDiscount","OverageCost","EnterpriseAddons","TeamsOfferExpiry","included","EnabledCheckMark","viewBox","xmlns","fill","fillRule","d","stroke","strokeLinecap","strokeLinejoin","strokeWidth","DisabledCheckMark","cx","cy","r","PRICING_DISCLAIMER","AUDIENCE","BUY_RESPONSES","ADVANCE_SURVEY","TARGET_PEOPLE","SURVEY_RESPONSES","PAID_FEATURES","DISPLAYED_PRICING","PER_ADDITIONAL_RESPONSE","ADD_ON_FEATURES","BASICS","GET_STARTED","ALL_FEATURES","MORE","SURVEYMONKEY_COST","SEE_PRICING","SPECIAL_PRICING_FOR_EDUCATORS_FAQ","SPECIAL_PRICING_FOR_EDUCATORS_ANSWER","DISCOUNTS_FOR_TEAMS_FAQ","DISCOUNTS_FOR_TEAMS_ANSWER","CORPORATE_PLANS_FAQ","CORPORATE_PLANS_ANSWER","CONTACT_SALES","BASIC_FREEE","PER_USER","PLAN_PRICE","AUDIENCE_NUMBER_OF_SURVEYS","AUDIENCE_QUESTIONS_PER_SURVEY","AUDIENCE_UNLIMITED_RESPONSES","AUDIENCE_EMAIL_SUPPORT","AUDIENCE_CUSTOMIZATION","AUDIENCE_DATA_EXPORTS","AUDIENCE_SKIP_LOGIC","AUDIENCE_PIPING","AUDIENCE_FILE_UPLOAD","AUDIENCE_A_B_TESTING","AUDIENCE_HIDE_FOOTER","AUDIENCE_MULTILINGUAL","TEAMS_DISCOUNT_DISCLAIMER","PricingFeatures","px","mb","audienceFeatures","FAQ_BASIC","FAQ_MONTHLY","FAQ_ANNUAL","FAQ_TEAMS","BR_FAQ_ANNUAL","BR_FAQ_TEAMS","FAQPackagePrice","EDU_COUNTRIES","HIDDEN_FAQ_PACKAGES","PricingFooter","_disclaimers","_useParams","subPath","filteredPackages","reverse","utSource3","displayEduFaq","displayTeamsDiscountFAQ","teamsDiscountPercent","discountPercent","minimumPercent","teamPackageName","newMinimumPercent","teamPricingPackage","comparisonPricingPackage","teamSku","comparisonSku","packagePercent","disclaimers","disclaimer","formattedOverageCost","teamsMinimumDiscount","IconArrowRight","Heading","sectionTitle","hero2","MainHeading","useHeadingStyles","teams","individual","enterprise","Container","List","ListItem","bodySm","borderBottom","sabaeus","NavItem","selected","usePricingNavigationStyles","Navigation","_useParams$subPath","_useNavigationStyles","useNavigationStyles","ROUTE_CONFIG","routeName","route","navProps","createURL","ut_source","assign","Summary","PackagesContainer","PricingSummaryPage","_useSummaryStyles","useSummaryStyles","index","SummaryFooter","Back","BackToSummary","text","IconArrowLeft","borderRight","borderWidth","DetailsPackageHeader","_PackageDefs$packageN","_useDetailsPackageHea","useDetailsPackageHeaderStyles","style","gridArea","AVAILABLE","UNAVAILABLE","BUSINESS_PLANS_LINK","IncludedLink","TYPE_TEXT","BASIC_COMPARE_FILTER","BASIC_NUM_RESPONSES","MANUAL","MANUAL_RULE","TEMPLATE_ENABLED_VALUE","BASIC_TEMPLATE_ENABLED_VALUE","getUpperCaseValue","_feature$setting","CELL_COPY","tagValue","getBaseResponseCount","copy","ALL_BUT_BASIC","teamCollaborationRules","getTeamCollaborationValues","upperCaseRules","enterpriseOnly","includeInAllPackages","includeInPackagesOnly","getCompareResults","getTemplatesEnabledValue","getCollectorCreateLimitValue","getCreateQuestionLimitValue","getFeatureValue","detailsFeatureRules","getFormattedAmountValue","determineCombinedFeature","_combinedFeatures$fin","combinedFeature","combinedFeatures","combined","_combinedFeature$feat","TEAM_COLLABORATION","TEAM_MANAGMENT","ENTERPRISE_GRADE_SECURITY","SURVEY_CAPABILITIES","FAST_SUPPORT","SURVEY_BUILDER","CUSTOMIZATION_BRANDING","ANALYSIS_REPORTING","RESPONSE_MANAGEMENT","ENHANCED_SECURITY","PARTNER_INTEGRATIONS","category","Details","Sticky","gridTemplateColumns","packageCount","gridTemplateAreas","getGridTemplateAreas","i","str","sky","Package1","Package2","Package3","Package4","Package5","Package6","Mobile","Desktop","palette","AccordionControl","main","Cell","DetailRow","borderLeft","Bullet","BulletInverse","composes","ExpandCollapse","link","TooltipIndicator","cursor","FeatureCell","_PackageDefs$pkg$pack","_useCategoryStyles","useCategoryStyles","a11yValue","CaretDown","IconCaretDown","CaretUp","IconCaretUp","Categories","displayedPackages","_isMobile","_useCateogryStyles","useCateogryStyles","expandAll","collapseAll","initialLoad","isExpanded","icon","toggleData","setToggleData","categories","getFeatureCategories","groupings","transformedPackages","fakeFeatures","group","_group$features","_determineCombinedFea","teamGroupings","individualGroupings","handleToggle","event","preventDefault","multiple","_category$features","expanded","DetailsPackagesView","_useDetailsStyles","useDetailsStyles","ssrEnv","Responsive","defaultMatches","minWidth","isDesktop","PricingDetailsPage","scrollTo","DetailsFooter","ValidationColor","HubspotApiStatus","mapHiddenField","hidden","mapHubSpotFormFields","hsData","form","mappedData","fields","redirect","guid","portalId","temp","formFieldGroups","field","formFields","defaultValue","label","fieldType","required","hideLabel","labelHidden","placeholder","flat","useHubSpotFormAPI","status","Loading","setData","formData","append","fetch","method","headers","json","fetchHubSpotForm","catch","err","CONTACT_US_TODAY","SURVEY_MONKEY_ENTERPRISE","LEARN_MORE","MANAGE_USERS","CONFIDENTIAL_DATA","FEEDBACK","INVALID_EMAIL","BLOCKED_EMAIL","INVALID_PHONE_NUMBER","REQUIRED","HUSBPOT_FORM_ERROR","ERROR","CONSENT","CONSENT_ONE","CONSENT_TWO","CONSENT_THREE","SUBSCRIPTION_LINK","MP_PRIVACY_LINK","HubSpotErrorBanner","p","Banner","showIcon","HubspotInput","handleOnBlur","_formData$field$name","_formData$field$name2","_formData$field$name3","FormField","Input","errorMessage","stretched","onBlur","FIELDS","email","phone","defaultType","ERROR_MAP","REQUIRED_FIELD","GENERIC_ERROR","PHONE_NUMBER_REGEX","RegExp","VALIDATOR_SUCCESS","success","minLengthValidator","FIELD_VALIDATORS","emailValidator","isValidEmail","phoneValidator","test","validateAndGetFormData","validatorType","validator","applyValidators","validators","validatorResult","every","validate","HS_ERROR_STATUS","mapFieldAndValues","formDTO","saveFormData","dataOptions","formValues","values","some","isFormValid","submitData","mapHubspotSubmissionData","_formData$consent","_formData$consent2","legalConsentOptions","consent","communications","subscriptionTypeId","consentToProcess","context","hutk","pageUri","location","response","JSON","stringify","CheckBoxWrapper","gap","overflowX","HubSpotForm","setFormData","_useHubSpotFormAPI","useHubSpotStyles","handleChange","target","validatedData","handleConsentChecked","checked","handleFormSubmission","newFormData","submitErrors","redirectUri","errors","parseHubspotApiResponse","responseData","_responseData$status","_responseData$errors","message","errorType","match","fieldName","fs","Success","onSubmit","noValidate","FormGroup","Checkbox","defaultChecked","onChange","flexJustify","buttonType","ProgressCircle","valueText","continuous","ContactList","listStyleType","ListHeading","TypographyBolded","HubSpotWrapper","ContactUs","_useEnterprisePageSty","useEnterprisePageStyles","EnterprisePage","isEnterpriseUser","isEnterprisePackage","Grid","pb","ViewPricingLink","EducationalDetailsPage","useEducationalStyles","viewPricingLinkText","PricingSummary","paths","PricingDetails","EducationalPage","PricingRoutes","redirectPath","Redirect","Route","defaultContextValue","experiments","priceExperiment","hasAssignment","featureExperiment","uiExperiment","PricingExperimentContext","PricingExperimentProvider","ROUTES","pages","page","exact","PricingRouter","Switch","FourOhFourErrorPage","SEARCHBOX_PLACEHOLDER","mapItemsToAutocomplete","publishedApplicationListingsByKeyword","items","logo","detail","SearchBox","Component","constructor","args","state","keyword","handleTermChanged","this","setState","handleItemSelected","handleSubmit","searchTerm","history","push","render","Query","query","publishedApplicationListingsByKeywordQuery","skip","variables","subdomain","tld","languageId","loading","Autocomplete","onTextChanged","onItemSelected","isLoading","hasError","renderItem","alt","AppPlaceHolderImg","withRouter","contextType","JUMBO_TAGLINE","JUMBO_SUBTITLE","JumboHeader","_useContext$HEADER_EX","HEADER_EXP","_useContext$HEADER_EX3","isModernTreatment","shouldShowNewHeader","AppLink","_props$app","app","isIntegration","indexOf","AppsGrid","apps","noBleeds","Row","userAgent","TabletScreen","SkeletonLoader","x","y","rx","ry","MobileScreen","FEATURED_APPS_TITLE","RECENTLY_ADDED_APPS_TITLE","MOST_RECENT_APPS_TITLE","GRID_APPS_SEE_MORE","AppsGridContainer","gridOption","_retrieveValuesForGri","option","moreLink","pageSize","retrieveValuesForGridOption","publishedApplicationListingsQuery","ErrorCard","AppsGridSkeleton","publishedApplicationListings","defaultProps","SidebarSkeleton","LinkWithSearch","staticContext","NAVBAR_APPS_DIRECTORY","NAVBAR_CATEGORIES","NAVBAR_MY_APPS","NAVBAR_FEATURED","NAVBAR_MOST_POPULAR","NAVBAR_RECENTLY_ADDED","SidebarLink","dataTestId","NavBar","publishedApplicationListingCategoriesQuery","AccordionItem","dense","transparent","publishedApplicationListingCategories","cat","TopBarSkeleton","DefaultLoader","MODULE_SKELETONS","top_bar","UCSModule","moduleHTML","renderLoadingState","_this$props","customLoader","moduleName","ModuleLoader","componentDidMount","_isMounted","getModuleHTML","componentWillUnmount","getPreloadedModule","moduleContainer","getElementById","textContent","reFetchFailed","reFetchModule","clientErrorHandler","moduleContent","credentials","html","_this$state","classNames","classnames","BoundUCSModule","ErrorBoundary","getCanonicalUrlOrNoIndex","noIndex","canonicalUrl","substr","switchAccountsUrl","encodeURIComponent","NAV_MY_ACCOUNT","NAV_SWITCH_ACCOUNTS","NAV_HELP_CENTER","NAV_SIGN_OUT","NAV_SIGN_IN","NAV_SIGN_UP","AppDirNavHeaderDesktop","navItems","shouldDisplayNavItem","username","showSwitchAccounts","Logo","nav","Menu","autoClose","noRules","placement","menuTrigger","MenuItem","isNavigable","navigationTarget","urlWithSearch","AppDirNavHeaderMobile","authorizedMenuItems","IconLogoGoldie","IconMenu","MenuGroup","NAV_EXPLORE","NAV_MANAGE","NAV_DEVELOP","NAV_PARTNER","subdomainUri","altdomain","navigationItems","requiresAuthentication","AppDirNavHeader","userDropDownQuery","_data$user","_data$user$linkedIden","hasMultipleLinkedIdentities","linkedIdentities","totalCount","DesktopScreen","MobileTabletScreen","theme","navHeader","NavHeader","py","flexAlign","underline","ModernHeader","v2","languageCode","isEUDC","SMHeader","isUserAuthenticated","wrenchVariant","AppDirectoryBasePage","header","navbar","pageMetricsAttributes","_getCanonicalUrlOrNoI","fluid","waitForUsabilla","callback","count","waitForUsabillaLiveToLoad","usabilla_live","Home","AppListingList","tagline","categoryKey","params","publishedApplicationListingCategory","AppListingSkeleton","FourOhFourError","ListingsBasePage","PAGE_TITLE","Featured","MostPopular","RecentlyAdded","SEARCH_RESULTS","RESULTS_NOT_FOUND","FILL_IN_KEYWORD","Search","Card","REMOVE_DIALOG_HEADER","REMOVE_DIALOG_MESSAGE","REMOVE_DIALOG_CONFIRM","REMOVE_DIALOG_CANCEL","RemoveApp","appId","onSuccess","onClose","confirmDialogVisible","setConfirmDialogVisible","Mutation","mutation","uninstallAppMutation","input","onCompleted","uninstallApp","Modal","show","ModalHeader","ModalBody","ModalFooter","Align","NO_RESULTS_FOUND","LAUNCH_APP_LINK","APP_DETAILS_LINK","REMOVE_APP_LINK","renderCategories","join","MyApps","installedApplications","refetch","launch","IconDesktop","IconBadge","IconTrash","MediaCarousel","media","setCurrent","currentMedia","m","allowFullScreen","altText","mediaIdx","AppDetailsItem","linkLabel","APP_DETAILS_HEADER","REQUIRED_ACCESS_LABEL","REQUIRED_ACCOUNT_LABEL","INSTALLED_LABEL","INSTALL_LABEL","VISIT_SITE_LABEL","LAUNCH_LABEL","UPGRADE_LABEL","REMOVE_APP","AppDirectoryAppDetails","preview","selectedTab","setSelectedTab","pageTracked","setPageTracked","googleTracked","setGoogleTracked","_useContext2","_useContext2$environm","getLangFromUrl","getAppDetails","previewApplicationListingDetails","publishedApplicationListingDetails","_useQuery","useQuery","appDetails","googleAnalyticsTrackingId","trackerName","ReactGA","appName","_useQuery$data","AppDirectoryAppDetailsSkeleton","installed","linkType","mdOrder","noRule","upgradeRequired","optionalUpgrade","IconTag","websiteUrl","publisher","supportEmail","IconEmail","supportPhoneNumber","IconLogoWhatsApp","supportUrl","IconGlobe","IconLock","privacyPolicyUrl","IconNews","termsOfUseUrl","blogUrl","IconMegaphone","concat","youtubeUrl","screenshots","s","IconCheck","Tabs","Tab","fullDescription","requirements","substitute","accountType","IconUserFilled","pricingUrl","scopes","scope","IconGear","headerContainer","headerSubtitle","SearchContext","filters","SearchProvider","setSearch","setFilters","updateSearch","newSearch","updateFilter","SearchConsumer","Consumer","DEFAULT_FILTERS","APP_CATEGORIES","INTEGRATE_TYPES","AVAILABLE_IN","ALL_CATEGORIES","CategoriesContext","CategoriesProvider","setIsLoading","setCategories","categoriesQuery","isError","isQueryLoading","fetchAppCategories","FilterNav","isCategoriesLoading","_useContext$categorie","isChecked","renderFilter","f","InputGroup","InputGroupAddon","IconSearch","AppListingContext","appListings","AppListingProvider","setAppListings","_useLazyQuery","useLazyQuery","appsAppListings","_useLazyQuery2","getAppListings","_useLazyQuery2$","_data$fetchPublishedA","fetchPublishedApplicationListings","console","AppCard","encryptedAppId","image","catId","appCategoryId","matchedCategory","toString","renderAppCategory","mt","CategorySection","setCategory","CategorySectionSkeleton","Listings","HomeV2","my","noGutters","gridTemplateRows","appDetailsHeader","appDetailsHeaderLogo","img","appDetailsMediaGallery","maxHeight","AppDetailsMedia","showModal","setShowModal","imgRef","ref","closeButtonLabel","stripHttp","AppDetails","mediaFiles","buildAppDetailsMediaFilesList","mediaList","mr","installUrl","fullWidth","addOnLeft","DetailsPage","setAppDetails","onQueryComplete","AppsDirectoryRouter","country","_useContext$clientCo","loggingAPIPath","amplitudeToken","unlisten","listen","MyAppsPage","RecentlyAddedPage","MostPopularPage","FeaturedPage","SearchPage","CategoriesPage","DetailsV2Page","HomePageV2","HomePage","PRODUCT_CATEGORY","EXPERT_SOLUTIONS","FILTER_KEY","CATEGORY","NAV_VARIANT","LIGHT","DARK","BROWSER","IE","UNKNOWN","useBrowser","MSInputMethodContext","documentMode","handler","onKeyPress","useLayoutEffect","getLinkWithParams","config","_config$queryParams","queryParams","anchor","paramKey","buildEventData","trackEvent","LOGGER_NAME","SOLUTIONS","NAV","BI_MARKETPLACE_MODAL","ActionFlowLogger","registerActionKey","handlerName","logger","createLogger","removeSpaces","getLoggedModuleType","moduleType","getLinkGenerator","PropTypes","ut_source2","ut_source3","conf","utSource3sub","utCtaText","ut_ctatext","linkConfig","loggerName","moduleTitle","dest","moduleSubType","button","module_subtype","MENU","MORE_RESOURCES","listenerArgs","pageYOffset","addEventListener","removeEventListener","getLogger","marketResearchSolutions","homeLink","solutions","globalSurveyPanel","expertSolutions","services","moreResources","audienceTargeting","dataQuality","budgetingOptions","guidesAndCaseStudies","getADemo","getLink","menuItems","logging","linkPropType","productPropType","ctaLink","learnMoreLink","priority","products","isRequired","useCursor","cursorPos","clientX","clientY","isCursorOverElement","rect","getBoundingClientRect","isInBound","getLinkTestId","ExpandableMenu","isOpen","boundingElementId","getText","textClasses","getClickHandlers","interactive","TEST_ID","NavForDesktop","openMenu","setOpenMenu","scrolledToTop","setScrolledToTop","useIsomorphicLayoutEffect","addScrollListener","isAtTop","classes","mrxLogoLight","mrxLogoDark","buttonColor","buttonVariant","buttonClass","textVariant","MENU_CONFIG","NavForTablet","setIsOpen","useLight","chevronColor","scrollPosRef","isScrolledToTop","NavForIE","removeListener","removeScrollListener","DesktopNav","MobileNav","MRXNav","mobileOpen","setMobileOpen","_setOpenMenu","menu","MRXPage","previewImageHref","canonicalLink","requestUrl","mobileNavOpen","_setMobileNavOpen","scrollPosition","mPreviewImageHref","isMRX","property","setMobileNavOpen","previewImage","subtitle","MRXHeader","isIE","VECTOR","UP","DOWN","RIGHT","LEFT","getSwipeVectorFromPoints","start","end","vector","vectorDeg","convertToAbsoluteAngle","quadrant","isUpperHemisphere","isLeftHemisphere","getQuadrant","atan","PI","getDistanceBetweenPoints","trunc","sqrt","Carousel","currentOffset","setCurrentOffset","touchDownPosition","onTouchStart","touches","onTouchEnd","pos","changedTouches","hasSwipedLeft","touchStartPos","touchEndPos","hasSwipedRight","Children","child","idx","isFocused","myOffset","timeout","getOffsetTop","offsetParent","offsetTop","scrollToElement","clearTimeout","offset","focus","Anchor","hash","hashId","slice","ProductTile","ctaButton","outerClasses","ProductCategory","first","product","description1","description2","learnMore","getBodySection","HereToHelp","expertsImage","BREAK_POINT","MD","LG","XL","SCREEN","MOBILE","TABLET","MOBILE_TABLET","SMALL_DESKTOP","LARGE_DESKTOP","DESKTOP","CustomScreen","screen","matchMedia","matches","setMatches","doesMatch","propTypes","useBig","getImage","_getImage","imgName","UsedInOrgs","logos","setLogos","screenSize","setScreenSize","getLocalizedLogos","FILTERS","filterValues","prod","productCategory","filterProducts","filterParams","filterKey","SynchronousQueryStream","apolloClient","actions","client","resolveToContext","ctx","resolveQueryResultToContext","peek","startIdx","catchHandlers","range","collect","result","handled","j","catchHandler","audiencePanel","audiencePanelDescription","expertSolutionsDescription","getStarted","contactUs","tryItNow","surveyMonkeyAudience","surveyMonkeyAudienceDescription","biLogger","getAudienceCategory","ctaCopy","audienceImage","click","MRX","productCategories","searchParams","validFilterKeys","getFilterParamsFromUrlLocation","mProductCategories","orderedCategories","sort","keyA","keyB","priorityA","priorityB","pcKey","FETCH_STATE","LOADING","IDLE","Wrapper","useIntercom","ctmProducts","fetchState","setFetchState","inner","pageLoad","modulesQuery","userQuery","modules","hasPurchasedModule","preferences","mapModules","subtype","marketingPage","FiveHundredError","withApollo","CreateWizardConfigContext","CreateWizardConfigContextProvider","createWizardConfig","defaultConfig","_setCreateWizardConfig","setCreateWizardConfig","newCreateWizardConfig","SINGLE_CHOICE","DROPDOWN","MULTIPLE_CHOICE","SINGLE_TEXTBOX","COMMENT_BOX","STAR_RATING","SLIDER","QUESTION_TYPES","MULTI_CHOICE_QUESTIONS","NON_MULTI_CHOICE_QUESTIONS","DEFAULT_POLL_QUESTION_TYPES","ChoiceOptions","questionAnswersLength","moveAnswer","deleteAnswer","IconArrowUp","IconArrowDown","IconX","SurveyChoice","readOnlySurvey","questionId","answersLength","answerValue","handleAnswerChange","QuizChoice","answer","handleScoreChange","score","MultipleChoice","question","surveyType","updateQuestion","maxAnsChoices","currentQuestion","cloneDeep","answers","down","splice","val","addAnswer","IconPlusCircle","questionType","min","max","allowComments","isNew","isUpdated","defaultPollQuestionConfig","forTypes","maxOptions","customConfigs","hideRequired","defaultSurveyQuestionConfig","getQuestionConfigs","configs","questionArray","disabledQuestionTypes","questionConfigOverride","getDefaultQuestionConfig","enabledQuestionTypes","sendMessage","msg","parent","postMessage","ACTION_TYPES","PREVIEW","READ_ONLY","NO_CHANGE","UPDATE","SAVE","CANCEL","BACK","isQuestionInvalid","validateQuestionType","validateMultipleChoiceQuestionType","validateSliderQuestionType","minmaxid","createNewQuestion","Date","getUTCMilliseconds","mapAnswersFromAPI","apiQuestion","family","choices","choice","quiz_options","mapQuestionTypeFromAPI","displayOptions","singleChoiceSubType","display_type","display_subtype","mapQuestionToAPI","isQuiz","originalQuestionFromApi","familySubType","mapQuestionTypeToAPI","headings","layout","handleRequired","updatedQuestion","mapAnswersToAPI","mappedAnwers","visible","rows","weight","handleStarQuestionType","display_options","forced_ranking","handleSliderQuestionType","right_label","custom_options","starting_position","step_size","left_label","validation","sum_text","scoring_enabled","feedback","correct_text","incorrect_text","getInputConfig","survey","maxQuestions","maxQuestionsBasic","selectedType","showBadge","sendPayloadOnAllUpdates","hideCreateSurveyButton","hideCancelSurveyButton","NewSurvey","primaryCtaCopy","secondaryCtaCopy","redirectToEditorPage","redirectTo","showPrimaryCtaIcon","parentDomain","questionConfig","surveyTypeSelected","defaultInputConfig","MAX_QUESTIONS","inputData","surveyDetails","setSurveyDetails","questions","setQuestions","surveyTitle","setSurveyTitle","_useState9","_useState10","setSurveyType","_useState11","_useState12","shouldRedirectBackToHome","setShouldRedirectBackToHome","_useState13","_useState14","redirectUrl","setRedirectUrl","isNewSurvey","edit","_useState15","_useState16","questionsFromApiMap","setQuestionsFromApiMap","_useState17","questionConfigs","_useState19","_useState20","showUnsupportedAlert","setUnsupportedAlert","loadMappedQuestionsList","surveyData","questionsList","questionsFromAPIList","q","mapQuestionFromApi","question_id","initialPosition","unsupported","newMap","iconColor","buttonTextColor","secondaryButtonColor","secondaryButtonTextColor","badgeColor","badgeTextColor","containerBackgroundColor","_style$middleContaine","middleContainerBackgroundColor","inputBackgroundColor","inputBorderColor","inputBorderHoverColor","inputBorderFocusColor","inputLabelBackgroundColor","root","documentElement","setProperty","_useState21","_useState22","showToast","setShowToast","_useState23","_useState24","errorText","setErrorText","_useState25","_useState27","_useState28","questionsToDelete","setQuestionsToDelete","hasErrors","questionErrors","saveSurvey","overrideAction","dataToSend","questionsToSend","buildQuestionData","mappedQuestion","action","changeIds","errorClass","_question","questionsTemp","foundIndex","findIndex","errOutline","moveQuestion","from","showErrors","errObj","handleUpdate","questionFromApi","questionToDelete","determineActionType","localStorage","removeItem","handleSave","handleCancel","isSubmitDisabled","ml","pl","Alert","Badge","Select","attributes","supportedSurveyType","Option","uuid","questionID","IconMore","questionsToDeleteList","filteredQuestions","deleteQuestion","handleQuestionTypeChange","tmpQuestion","getQuestionTypes","handleQuestionChange","IconStarFilled","handleMinChange","handleMaxChange","handleRequiredChange","addQuestion","questionTitles","getElementsByClassName","Toast","onCloseToast","dismissible","ToastTitle","IconPoll","version","x1","y1","x2","y2","IconSurvey","points","IconTemplate","IconQuiz","strokeMiterlimit","shouldRedirect","setShouldRedirect","showCreatePollCard","setShowCreatePollCard","showCreateSurveyCard","setShowCreateSurveyCard","showStartFromTemplateCard","setShowStartFromTemplateCard","showCreateQuizCard","setShowCreateQuizCard","customStylings","setCustomStylings","onMessageReceivedFromIframe","parse","Templates","templatesList","badgeTextTransform","handleBackToHome","template","handleTemplateSelect","DEFAULT_STYLES","DEFAULT_CREATE_WIZARD_CONFIG","CreateWizardRouter","updateCreateWizardConfig","newConfigs","setItem","payload","getItem","NewSurveyPage","TemplatesPage","makeLinksStatic","linkHref","getAttribute","linkElement","targetSubdomain","endsWith","DeveloperWebNavHeaderDesktop","class","flexItemGrow","DeveloperWebNavHeaderMobile","headerItem","DeveloperWebNavHeader","portedPages","headerPlaceholderSabeus","headerPlaceholderBlack","fixLinks","getElementsByTagName","headerLink","headerLinkHref","postRenderHeader","setPostRenderHeader","mobileButtons","mobileButton","fixSubdomainLinks","fixAccountLinks","tryAttachCount","attachAccountAction","setInterval","accountButton","clearInterval","DeveloperWebBasePage","footer","postRenderFooter","setPostRenderFooter","staticFooter","fixLanguagerDropdown","languageButton","languageMenuItems","targetUrl","setTargetUrl","developerEUSubdomain","developerSubdomain","prependUrl","prependStatic","developerApplications","_data$developerApplic","_data$developerApplic2","mx","Docs","frameRef","addEu","comOrCa","origin","query_string","pushState","newurl","protocol","host","frameBorder","AppTable","privateTable","planLabel","user_data","col1","col2","col3","firstCol","secondCol","Table","renderSection1","renderSection2","renderSection3","renderSection4","renderSection5","renderSection6","renderSection7","renderSection8","renderSection9","renderSection10","renderSection11","renderSection12","TOU","renderAppChecklist","renderAPIChecklist","IconCheckCircle","BuildAPrivateApp","IconFolderUser","IconChartSegment","renderListingChecklist","BuildAPublicApp","IconLogoOutlook","IconListChecks","DeveloperWebRouter","DocsPage","FAQPage","TOUPage","BuildAPrivateAppPage","BuildAPublicAppPage","App","Pricing","AppsDirectory","MRXSolutions","CreateWizard","DeveloperWeb","midnight","arctic","concord","raspberry","bengal","bumblebee","navy","dijon","packageColors","advantageAnnual","basic","analyze","premierAnnual","starterAnnual","standardMonthly","teamAdvantage","allClientStaticData","pageRequestId","_allClientStaticData$","appVersion","graphQLUri","_allClientStaticData$2","gql","_allClientStaticData$4","gqlCache","bugSnagClientConfig","initializeClientErrorHandler","localeMessages","createBrowserApolloClient","uri","cacheHydration","fragmentMatcherFn","getGraphQLFragmentMatcher","IntrospectionFragmentMatcher","introspectionQueryResultData","linkOptions","batchInterval","metadata","availableLoggedOutPaths","globalTheme","merge","getPricingTheme","rendered","messages","GlobalThemeProvider","FallbackComponent","HelmetProvider","ApolloProvider","BrowserRouter","StaticProvider","L10nProvider","localeCode","ContentWebApp","all","appMessages","webassetsMessages","finally","innerHTML","hydrate","doc","loc","collectFragmentReferences","node","refs","selectionSet","selections","selection","variableDefinitions","def","definitions","definitionRefs","findOperation","extractReferences","Set","oneQuery","operationName","newDoc","hasOwnProperty","opRefs","allRefs","newRefs","refName","prevRefs","has","childRef","op","jsdom"],"sourceRoot":""}