\n );\n}\n","import React from 'react';\nimport ROUTE_CONFIG from './routes';\nimport NavItem from './NavItem';\n\nimport useNavigationStyles from './styles';\n\ntype PackageType = {\n packageType?: string;\n};\n\nexport default function Navigation({ packageType = 'teams' }: PackageType): React.ReactElement {\n const { Container, List } = useNavigationStyles();\n\n return (\n \n );\n}\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport classnames from 'classnames';\n\nimport './ribbon.scss';\n\nexport const DATA_TESTID = 'Ribbon';\n\nconst Ribbon = ({ children, className, packageName }) => {\n const classList = classnames('sm-ribbon', `sm-ribbon--${packageName}`, className);\n return (\n \n );\n};\n\nRibbon.propTypes = {\n children: PropTypes.node,\n packageName: PropTypes.string.isRequired,\n className: PropTypes.string,\n};\n\nRibbon.defaultProps = {\n children: 'BEST VALUE',\n className: '',\n};\n\nexport default Ribbon;\n","/**\n * \"Enum\" of server returned package names\n */\nexport const PACKAGES = {\n Basic: 'BASIC',\n StandardMonthly: 'STANDARD_MONTHLY',\n StandardAnnual: 'STANDARD_ANNUAL',\n AdvantageMonthly: 'ADVANTAGE_MONTHLY',\n AdvantageAnnual: 'ADVANTAGE_ANNUAL',\n PremierMonthly: 'PREMIER_MONTHLY',\n PremierAnnual: 'PREMIER_ANNUAL',\n TeamAdvantage: 'TEAM_ADVANTAGE_ANNUAL',\n TeamPremier: 'TEAM_PREMIER_ANNUAL',\n Enterprise: 'ENT_PLATINUM',\n Flex: 'ANALYZE_MONTHLY',\n};\n\n/**\n * To do package ID lookups from a package name\n */\nexport const PACKAGE_IDS = {\n [PACKAGES.Basic]: 1,\n [PACKAGES.StandardMonthly]: 31,\n [PACKAGES.StandardAnnual]: 32,\n [PACKAGES.AdvantageMonthly]: 33,\n [PACKAGES.AdvantageAnnual]: 34,\n [PACKAGES.PremierMonthly]: 35,\n [PACKAGES.PremierAnnual]: 36,\n [PACKAGES.TeamAdvantage]: 134,\n [PACKAGES.TeamPremier]: 136,\n [PACKAGES.Enterprise]: 26,\n [PACKAGES.Flex]: 37,\n};\n\nexport const MONTHLY_PACKAGES = [PACKAGES.StandardMonthly, PACKAGES.AdvantageMonthly, PACKAGES.PremierMonthly];\n\nexport const INDIVIDUAL_PACKAGES = [PACKAGES.PremierAnnual, PACKAGES.AdvantageAnnual, PACKAGES.StandardMonthly];\n\nexport const TEAMS_PACKAGES = [PACKAGES.TeamAdvantage, PACKAGES.TeamPremier, PACKAGES.Enterprise];\n\nexport const SUITE_PRICING_PACKAGES = [PACKAGES.AdvantageAnnual, PACKAGES.TeamAdvantage, PACKAGES.TeamPremier];\n\nexport const GUAC_COUNTRY_CODES = ['gb', 'us', 'au', 'ca'];\n\nexport const TEAM_COMPARISON_PACKAGES = {\n [PACKAGES.TeamAdvantage]: PACKAGES.AdvantageAnnual,\n [PACKAGES.TeamPremier]: PACKAGES.PremierAnnual,\n};\n\n// A list of packages that should display highlighted\nexport const HIGHLIGHTED_PACKAGES = [PACKAGES.AdvantageAnnual];\n\n// these domains do not get hreflang tags added to their \nexport const SKIP_HREF_LANG_TAGS = Object.freeze({\n 'de.surveymonkey.com': true,\n 'ru.surveymonkey.com': true,\n});\n","import classnames from 'classnames';\nimport PropTypes from 'prop-types';\nimport React, { useContext } from 'react';\nimport { Button } from '@sm/wds-react';\nimport { StaticContext } from '@sm/webassets';\n\nimport { PACKAGE_IDS } from '~pricing/lib/constants';\n\nconst PackageCta = ({ packageName, packageClassName, small = false }) => {\n const { user } = useContext(StaticContext);\n const packageId = PACKAGE_IDS[packageName];\n const className = classnames(['sm-package__btn', `sm-package__btn--${packageClassName}`]);\n const ctaUrl = user.isAuthenticated ? `/billing/checkout/?package_id=${packageId}` : `/user/sign-up`;\n const ctaText = user.isAuthenticated ? 'SELECT' : 'SIGN UP';\n\n return (\n \n );\n};\n\nPackageCta.propTypes = {\n packageName: PropTypes.string.isRequired,\n packageClassName: PropTypes.string.isRequired,\n small: PropTypes.bool,\n};\n\nPackageCta.defaultProps = {\n small: false,\n};\n\nexport default PackageCta;\n","import PropTypes from 'prop-types';\n\n// Prop types for a GraphQL package\nexport const PackagePropTypes = {\n details: PropTypes.shape({\n displayName: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n }).isRequired,\n skuCost: PropTypes.arrayOf(\n PropTypes.shape({\n skuType: PropTypes.string.isRequired,\n cost: PropTypes.number.isRequired,\n })\n ).isRequired,\n package: PropTypes.string.isRequired,\n};\n\nexport const PackageListPropTypes = PropTypes.arrayOf(PropTypes.shape(PackagePropTypes));\n\n/**\n * These are just ports of defined Typescript types/interfaces elsewhere.\n * Some day, we'll just be able to use those interfaces instead.\n */\nexport const FeatureTooltipPropTypes = {\n title: PropTypes.string.isRequired,\n description: PropTypes.string.isRequired,\n};\n\nexport const FeaturePropTypes = {\n summaryLine: PropTypes.string.isRequired,\n tooltip: PropTypes.shape(FeatureTooltipPropTypes).isRequired,\n hidden: PropTypes.bool,\n};\n\nexport const PackageSummaryPropTypes = {\n features: PropTypes.arrayOf(PropTypes.shape(FeaturePropTypes)).isRequired,\n headerRenderer: PropTypes.func.isRequired,\n footerRenderer: PropTypes.func.isRequired,\n};\n\nexport const PackageComparisonPropTypes = {\n byline: PropTypes.string.isRequired,\n features: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.bool, PropTypes.string])).isRequired,\n ctaRenderer: PropTypes.func.isRequired,\n};\n\nexport const SummaryPackageConfigPropTypes = {\n summary: PropTypes.shape(PackageSummaryPropTypes).isRequired,\n comparison: PropTypes.shape(PackageComparisonPropTypes),\n};\n\nexport const SummaryPackagesConfigPropTypes = PropTypes.objectOf(PropTypes.shape(SummaryPackageConfigPropTypes));\n\nexport const ComparisonTableFeaturePropTypes = {\n title: PropTypes.string.isRequired,\n tooltip: PropTypes.string,\n};\n\nexport const ComparisonTableCategoryFeaturesPropTypes = PropTypes.objectOf(\n PropTypes.shape(ComparisonTableFeaturePropTypes)\n);\n\nexport const ComparisonTableCategoryPropTypes = {\n title: PropTypes.string.isRequired,\n features: ComparisonTableCategoryFeaturesPropTypes.isRequired,\n};\n\nexport const ComparisonTablePropTypes = PropTypes.arrayOf(PropTypes.shape(ComparisonTableCategoryPropTypes));\n\nexport const RibbonTextOverridePropType = PropTypes.oneOfType([PropTypes.string, PropTypes.bool]);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Typography } from '@sm/wds-react';\n\nimport Ribbon from '~pricing/components/Ribbon';\nimport PackageCta from '~pricing/components/PackageCta';\nimport { RibbonTextOverridePropType } from '~pricing/lib/proptypes';\n\nconst PackageHeader = ({\n packageClassName,\n packageName,\n packageLabel,\n priceValue = null,\n priceUnit = null,\n byline = null,\n ribbonText = null,\n CtaOverride = null,\n}) => (\n \n \n {packageLabel}\n \n \n \n \n {priceValue}\n \n {priceUnit}\n \n \n \n \n {byline}\n \n \n \n \n \n \n \n \n \n {ribbonText}\n \n \n);\n\nPackageHeader.propTypes = {\n packageClassName: PropTypes.string.isRequired,\n packageName: PropTypes.string.isRequired,\n packageLabel: PropTypes.string.isRequired,\n priceValue: PropTypes.string,\n priceUnit: PropTypes.string,\n byline: PropTypes.string,\n ribbonText: RibbonTextOverridePropType,\n CtaOverride: PropTypes.func,\n};\n\nPackageHeader.defaultProps = {\n priceValue: null,\n priceUnit: null,\n byline: null,\n ribbonText: null,\n CtaOverride: null,\n};\n\nexport default PackageHeader;\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport { Button } from '@sm/wds-react';\n\nconst EnterprisePackageCta = ({ small = false }) => {\n return (\n \n );\n};\n\nEnterprisePackageCta.propTypes = {\n small: PropTypes.bool,\n};\n\nEnterprisePackageCta.defaultProps = {\n small: false,\n};\n\nexport default EnterprisePackageCta;\n","import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport PackageHeader from './PackageHeader';\nimport EnterprisePackageCta from '~pricing/components/EnterprisePackageCta';\nimport { RibbonTextOverridePropType } from '~pricing/lib/proptypes';\n\nconst EnterprisePackageHeader = ({ details, ribbonText = null }) => (\n \n);\n\nEnterprisePackageHeader.propTypes = {\n details: PropTypes.shape({\n displayName: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n }).isRequired,\n ribbonText: RibbonTextOverridePropType,\n};\n\nEnterprisePackageHeader.defaultProps = {\n ribbonText: null,\n};\n\nexport default EnterprisePackageHeader;\n","import { useContext } from 'react';\nimport { FormattedNumber } from '@sm/intl';\nimport { StaticContext } from '@sm/webassets';\n\nimport { GUAC_COUNTRY_CODES } from './constants';\n\n/**\n * Creates a className friendly string from a package label\n *\n * @param {Object} packageObj The package object to create the class name from\n * @return The label name, ready to be used as a className\n */\nexport function packageLabelToClassName(packageObj) {\n return packageObj.label.trim().replace(/\\s/g, '-').toLowerCase();\n}\n\nexport function monthlyCostInDollars(skuCost) {\n return parseInt(skuCost.cost, 10) / 100 / 12;\n}\n\nexport function formatMonthlyCostInLocaleCurrency(skuCost) {\n const monthlyCost = monthlyCostInDollars(skuCost);\n return FormattedNumber({\n value: monthlyCost,\n formatStyle: 'currency',\n currency: skuCost.currency.code,\n currencyDisplay: 'symbol',\n minimumFractionDigits: 0,\n });\n}\n\nexport function formatCostInLocaleCurrency(skuCost) {\n return FormattedNumber({\n value: parseInt(skuCost.cost, 10) / 100,\n formatStyle: 'currency',\n currency: skuCost.currency.code,\n currencyDisplay: 'symbol',\n minimumFractionDigits: 0,\n });\n}\n\nexport function getCoreCostFromSkus(skuCosts) {\n return skuCosts.find(sku => sku.skuType === 'SUBSCRIPTION_CORE_SEAT');\n}\n\n/**\n * Given two skuCosts, returns the rounded percentage savings between them\n *\n * @param {object} skuCostOriginal The originally priced skuCost object\n * @param {object} skuCostDiscounted The discounted priced skuCost object\n */\nexport function calculateSavingsPercent(skuCostOriginal, skuCostDiscounted) {\n let retVal = 0;\n const costDifference = skuCostOriginal.cost - skuCostDiscounted.cost;\n\n // If the \"discounted\" price is greater, we'll just ignore that...\n if (costDifference > 0) {\n retVal = Math.round((costDifference / skuCostOriginal.cost) * 100);\n }\n\n return retVal;\n}\n\n// The following helpers are meant to only be used in a feature's `hidden` getter.\n// The hooks lint check will be disabled because they will only be invoked during\n// a component's render cycle. These methods should NEVER be invoked anywhere else!\n\n/* eslint-disable react-hooks/rules-of-hooks */\n\n/**\n * Used as part of a feature's `hidden` property to limit its\n * display to only GB, US, AU, and CA.\n *\n * NOTE: Uses react hooks, so can only be called from within a\n * react component. Do not use outside of a package feature's\n * `hidden` getter.\n *\n * @return {boolean}\n */\nexport function featureIsGuacOnly() {\n const {\n environment: { countryCode },\n } = useContext(StaticContext);\n return !GUAC_COUNTRY_CODES.includes(countryCode.toLowerCase());\n}\n\n/**\n * Used as part of a feature's `hidden` property to limit its\n * display to non GB, US, AU, or CA countries\n *\n * NOTE: Uses react hooks, so can only be called from within a\n * react component. Do not use outside of a package feature's\n * `hidden` getter.\n *\n * @return {boolean}\n */\nexport function featureIsNonGuacOnly() {\n return !featureIsGuacOnly();\n}\n\n/* eslint-enable react-hooks/rules-of-hooks */\n","import { createContext } from 'react';\n\nexport const PricingExperienceContext = createContext(null);\nexport const PricingExperienceProvider = PricingExperienceContext.Provider;\n","import PropTypes from 'prop-types';\nimport React, { useContext } from 'react';\n\nimport {\n packageLabelToClassName,\n formatMonthlyCostInLocaleCurrency,\n getCoreCostFromSkus,\n calculateSavingsPercent,\n} from '~pricing/lib/helpers';\nimport { PricingExperienceContext } from '~pricing/lib/PricingExperience/PricingExperienceContext';\nimport { TEAM_COMPARISON_PACKAGES } from '~pricing/lib/constants';\nimport { RibbonTextOverridePropType } from '~pricing/lib/proptypes';\n\nimport PackageHeader from './PackageHeader';\n\nconst TeamPackageHeader = ({ packageName, skuCosts, details, ribbonText: ribbonTextOverride = null }) => {\n const packageClassName = packageLabelToClassName(details);\n const coreSeatCost = getCoreCostFromSkus(skuCosts);\n const formattedPrice = formatMonthlyCostInLocaleCurrency(coreSeatCost);\n const packageData = useContext(PricingExperienceContext);\n\n if (!packageData) {\n return null;\n }\n\n // If no overidden ribbon text was path, check for a comparison package to check against\n let ribbonText = ribbonTextOverride;\n if (!ribbonText && ribbonText !== false) {\n const comparisonPackageName = TEAM_COMPARISON_PACKAGES[packageName];\n if (comparisonPackageName) {\n const comparisonPackage = packageData.find(packageObj => packageObj.package === comparisonPackageName);\n const comparisonSeatCost = getCoreCostFromSkus(comparisonPackage.skuCost);\n const savingsPercentage = calculateSavingsPercent(comparisonSeatCost, coreSeatCost);\n ribbonText = savingsPercentage > 0 ? `SAVE ${savingsPercentage}% *` : null;\n }\n }\n\n return (\n \n );\n};\n\nTeamPackageHeader.propTypes = {\n packageName: PropTypes.string.isRequired,\n details: PropTypes.shape({\n displayName: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n }).isRequired,\n skuCosts: PropTypes.arrayOf(\n PropTypes.shape({\n skuType: PropTypes.string.isRequired,\n cost: PropTypes.number.isRequired,\n }).isRequired\n ).isRequired,\n ribbonText: RibbonTextOverridePropType,\n};\n\nTeamPackageHeader.defaultProps = {\n ribbonText: null,\n};\n\nexport default TeamPackageHeader;\n","import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport {\n packageLabelToClassName,\n formatMonthlyCostInLocaleCurrency,\n formatCostInLocaleCurrency,\n getCoreCostFromSkus,\n} from '~pricing/lib/helpers';\n\nimport PackageHeader from './PackageHeader';\nimport { HIGHLIGHTED_PACKAGES } from '~pricing/lib/constants';\nimport { RibbonTextOverridePropType } from '~pricing/lib/proptypes';\n\nconst AnnualPackageHeader = ({ packageName, skuCosts, details, ribbonText: ribbonTextOverride = null }) => {\n const packageClassName = packageLabelToClassName(details);\n const coreSeatCost = getCoreCostFromSkus(skuCosts);\n const formattedMonthlyPrice = formatMonthlyCostInLocaleCurrency(coreSeatCost);\n const formattedAnnualPrice = formatCostInLocaleCurrency(coreSeatCost);\n\n // If this package is marked as highlighted and the ribbon is not\n // in some way being overridden, show the \"BEST VALUE\" ribbon\n let ribbonText = ribbonTextOverride;\n const highlighted = HIGHLIGHTED_PACKAGES.indexOf(packageName) > -1;\n if (highlighted && !ribbonText && ribbonText !== false) {\n ribbonText = 'BEST VALUE';\n }\n\n return (\n \n );\n};\n\nAnnualPackageHeader.propTypes = {\n packageName: PropTypes.string.isRequired,\n details: PropTypes.shape({\n displayName: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n }).isRequired,\n skuCosts: PropTypes.arrayOf(\n PropTypes.shape({\n skuType: PropTypes.string.isRequired,\n cost: PropTypes.number.isRequired,\n }).isRequired\n ).isRequired,\n ribbonText: RibbonTextOverridePropType,\n};\n\nAnnualPackageHeader.defaultProps = {\n ribbonText: null,\n};\n\nexport default AnnualPackageHeader;\n","import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { packageLabelToClassName, formatCostInLocaleCurrency, getCoreCostFromSkus } from '~pricing/lib/helpers';\nimport { RibbonTextOverridePropType } from '~pricing/lib/proptypes';\n\nimport PackageHeader from './PackageHeader';\n\nconst MonthlyPackageHeader = ({ packageName, skuCosts, details, ribbonText = null }) => {\n const packageClassName = packageLabelToClassName(details);\n const coreSeatCost = getCoreCostFromSkus(skuCosts);\n const formattedMonthlyPrice = formatCostInLocaleCurrency(coreSeatCost);\n\n return (\n \n );\n};\n\nMonthlyPackageHeader.propTypes = {\n packageName: PropTypes.string.isRequired,\n details: PropTypes.shape({\n displayName: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n }).isRequired,\n skuCosts: PropTypes.arrayOf(\n PropTypes.shape({\n skuType: PropTypes.string.isRequired,\n cost: PropTypes.number.isRequired,\n }).isRequired\n ).isRequired,\n ribbonText: RibbonTextOverridePropType,\n};\n\nMonthlyPackageHeader.defaultProps = {\n ribbonText: null,\n};\n\nexport default MonthlyPackageHeader;\n","export type FeatureTooltip = {\n title: string;\n description: string;\n};\n\nexport type Feature = {\n summaryLine: string;\n tooltip: FeatureTooltip;\n hidden?: boolean;\n};\n\ntype FeatureList = {\n [featureKey: string]: Feature;\n};\n\nconst FEATURES: FeatureList = {\n create_survey_limit: {\n summaryLine: 'Number of surveys',\n tooltip: {\n title: 'Number of surveys',\n description: 'Send as many surveys, polls, and quizzes as you need.',\n },\n },\n analyze_response_limit: {\n summaryLine: 'Number of responses',\n tooltip: {\n title: 'Number of responses',\n description:\n \"With a free plan, you can collect more than 100 responses, but you can only view the first 100 responses. Upgrade at any time to access additional responses. Our {select_equivalent_name} Monthly plan includes 1000 responses per monthly billing cycle across all your surveys with a {overage_cost} charge per additional response. All annual plans include an unlimited number of responses.\",\n },\n },\n analyze_response_limit_monthly_plans: {\n summaryLine: 'Number of responses',\n tooltip: {\n title: 'Number of responses',\n description:\n \"With a free plan, you can collect more than 100 responses, but you can only view the first 100 responses. Upgrade at any time to access additional responses. Our {select_equivalent_name} Monthly plan includes 1,000 responses and our {gold_equivalent_name} Monthly plan includes 2,000 responses per monthly billing cycle across all your surveys. There is a {overage_cost} charge per additional response. All annual plans include unlimited responses.\",\n },\n },\n crosstab: {\n summaryLine: 'Crosstabs',\n tooltip: {\n title: 'Crosstabs',\n description:\n 'Run advanced comparisons across multiple questions, uncover statistically significant differences, and share your crosstab report with anyone.',\n },\n },\n collector_create_limit: {\n summaryLine: 'Number of collectors',\n tooltip: {\n title: 'Number of collectors',\n description:\n 'Collectors are ways you can send your survey to respondents. Our collector types include weblinks, email, embedding on your website, and more.',\n },\n },\n mobile_apps_ios_android: {\n summaryLine: 'Mobile apps for iOS and Android',\n tooltip: {\n title: 'Mobile apps for iOS and Android',\n description:\n 'Access the essential features you need to create a survey, collect responses, and analyze results with the free SurveyMonkey app for iOS and Android.',\n },\n },\n user_accounts: {\n summaryLine: 'User accounts included',\n tooltip: {\n title: 'User accounts included',\n description:\n 'This is the total number of user accounts included with your plan. Plans with more than 1 user have access to all team collaboration tools. ',\n },\n },\n add_users: {\n summaryLine: 'Additional user accounts',\n tooltip: {\n title: 'Additional user accounts',\n description:\n 'Team plans start at 3 users, and allow you to invite more people to your SurveyMonkey team for an additional fee. Learn More »',\n },\n },\n advanced_permissions: {\n summaryLine: 'Advanced permissions',\n tooltip: {\n title: 'Advanced permissions',\n description: 'Collaborate with fine control over who can view and edit your survey projects.',\n },\n },\n build_surveys_together: {\n summaryLine: 'Build surveys together',\n tooltip: {\n title: 'Build surveys together',\n description: 'Let people on your team view, edit, or comment on your surveys.',\n },\n },\n analyze_results_together: {\n summaryLine: 'Analyze results together',\n tooltip: {\n title: 'Analyze results together',\n description: 'Give your team access to survey results and export tools.',\n },\n },\n custom_templates: {\n summaryLine: 'Shared templates',\n tooltip: {\n title: 'Shared templates',\n description: 'Turn your custom surveys into standard templates that everyone in your team can use.',\n },\n },\n team_themes: {\n summaryLine: 'Shared themes',\n tooltip: {\n title: 'Shared themes',\n description: \"Share custom themes with your team to stay consistent with your brand's look and feel.\",\n },\n },\n shared_group_library: {\n summaryLine: 'Shared library',\n tooltip: {\n title: 'Shared library',\n description: 'Get access to shared images, documents, themes, and templates that everyone in your team can use.',\n },\n },\n international_email_support: {\n summaryLine: '{lang} email support',\n tooltip: {\n title: '{lang} email support',\n description: 'We offer {lang} email support in Central European Time (CET).',\n },\n },\n team_ownership: {\n summaryLine: 'Team ownership',\n tooltip: {\n title: 'Team ownership',\n description: 'Choose whether you or your organization owns all the accounts within your team in SurveyMonkey.',\n },\n },\n add_additional_users: {\n summaryLine: 'Additional users',\n tooltip: {\n title: 'Additional users',\n description:\n 'Team plans include 3 users. You can easily add or re-assign users at any time. Enterprise plans allow you to add as many users as you need across your organization.',\n },\n },\n consolidated_billing: {\n summaryLine: 'Consolidated billing',\n tooltip: {\n title: 'Consolidated billing',\n description: 'Receive a consolidated bill for your entire team in SurveyMonkey.',\n },\n },\n essential_question_types: {\n summaryLine: '13 essential question types',\n tooltip: {\n title: '13 essential question types',\n description:\n 'Choose from 13 different formats for your survey questions, including multiple choice, text box, matrix, NPS, and A/B comparisons.',\n },\n },\n all_languages_supported: {\n summaryLine: 'All languages supported',\n tooltip: {\n title: 'All languages supported',\n description:\n 'Create surveys in any language. You can write in unicode or multi-byte languages, and choose navigation buttons, help text, and error messages from 58 languages.',\n },\n },\n labeling_titles_numbering: {\n summaryLine: 'Labeling, titles & numbering',\n tooltip: {\n title: 'Labeling, titles & numbering',\n description:\n 'Guide respondents through your surveys with labels, titles, and page numbers for any page in your surveys.',\n },\n },\n create_templates_enabled: {\n summaryLine: 'Expert, pre-written survey templates',\n tooltip: {\n title: 'Expert, pre-written survey templates',\n description:\n 'Choose from over 180 survey templates in our Question Bank library. All templates are certified by our expert methodologists.',\n },\n },\n question_library: {\n summaryLine: 'Question Bank approved questions',\n tooltip: {\n title: 'Question Bank approved questions',\n description:\n 'Rely on over 1800 pre-written survey questions (and 180+ survey templates), written by experts to make it easier to get great results.',\n },\n },\n create_skip_logic_enabled: {\n summaryLine: 'Question and page skip logic',\n tooltip: {\n title: 'Question and page skip logic',\n description:\n \"Create custom paths through surveys that change based on a respondent's answers. Skip logic is also known as 'conditional branching' or 'branch logic'.\",\n },\n },\n matrix_of_dropdown_menus: {\n summaryLine: 'Matrix of dropdown menus',\n tooltip: {\n title: 'Matrix of dropdown menus',\n description:\n 'Allow respondents to evaluate several items using the same set of measurements by choosing from a preset list of answer choices.',\n },\n },\n file_upload: {\n summaryLine: 'File upload',\n tooltip: {\n title: 'File upload',\n description:\n 'Allow respondents to upload a file as part of their survey response. You can add up to 20 file upload questions per survey.',\n },\n },\n advanced_logic: {\n summaryLine: 'Advanced survey logic',\n tooltip: {\n title: 'Advanced survey logic',\n description:\n 'Enhance your survey data with access to advanced branching, advanced piping, block randomization, quotas, and more. Use custom variables to track data about respondents by passing one or more values through a survey link and into your survey results.',\n },\n },\n create_randomization_enabled: {\n summaryLine: 'Question & page randomization',\n tooltip: {\n title: 'Question & page randomization',\n description:\n 'Reduce answer bias by randomizing the order of the pages in a survey or the order of questions within a page.',\n },\n },\n a_b_testing: {\n summaryLine: 'A/B test question type',\n tooltip: {\n title: 'A/B test question type',\n description:\n 'Conduct A/B tests and test for answer bias by randomly segmenting respondents to see different images or text.',\n },\n },\n create_quotas_enabled: {\n summaryLine: 'Response quotas',\n tooltip: {\n title: 'Response quotas',\n description: 'Close your survey automatically when you get all the qualified responses you need.',\n },\n },\n multiple_block_rotation_enabled: {\n summaryLine: 'Block randomization',\n tooltip: {\n title: 'Block randomization',\n description:\n 'Blocks are groups of pages, where each group contains related questions about a particular concept you want to test. You can use block randomization logic to rotate, flip, or randomize blocks to minimize order bias.',\n },\n },\n create_logo_enabled: {\n summaryLine: 'Add your logo',\n tooltip: {\n title: 'Add your logo',\n description: 'Make your survey stand out. Add a custom image or logo, and personalize the work you send.',\n },\n },\n create_custom_theme_enabled: {\n summaryLine: 'Custom themes, colors & more',\n tooltip: {\n title: 'Custom themes, colors & more',\n description:\n 'Create custom themes to change the look and feel of your survey. You can edit the colors of different survey elements and choose from several web fonts for your survey.',\n },\n },\n collector_friendly_url_enabled: {\n summaryLine: 'Custom SurveyMonkey URL',\n tooltip: {\n title: 'Custom SurveyMonkey URL',\n description: 'Write customized survey URLs, for example: http://www.surveymonkey.com/s/your-survey',\n },\n },\n custom_html_email_invitations: {\n summaryLine: 'Custom HTML email invitations',\n tooltip: {\n title: 'Custom HTML email invitations',\n description:\n 'Add custom designs, images, embed videos, or hyperlink text in your email messages used to send your survey.',\n },\n },\n create_piping_enabled: {\n summaryLine: 'Question & answer piping',\n tooltip: {\n title: 'Question & answer piping',\n description:\n \"Take respondents' answers from a previous question to personalize questions on a later page in the survey.\",\n },\n },\n carry_forward: {\n summaryLine: 'Carry forward responses',\n tooltip: {\n title: 'Carry forward responses',\n description:\n \"Use each respondent's previous answer choices in a related question that appears later in your survey. You can carry forward either a respondent's selected or unselected answer choices and choose to show all or some previously selected or unselected answers. Responses that are carried forward cannot be edited.\",\n },\n },\n collector_completion_url_enabled: {\n summaryLine: 'Survey completion redirect',\n tooltip: {\n title: 'Survey completion redirect',\n description:\n 'For a customized experience, redirect survey respondents to your website once they complete your survey.',\n },\n },\n create_custom_variables_enabled: {\n summaryLine: 'Custom variables',\n tooltip: {\n title: 'Custom variables',\n description:\n 'Use custom variables to track data about respondents by passing one or more values through a survey link and into your survey results.',\n },\n },\n collector_white_label_enabled: {\n summaryLine: 'White label surveys',\n tooltip: {\n title: 'White label surveys',\n description:\n 'Completely customize and brand your surveys. Remove the SurveyMonkey footer from your surveys, change the domain of your survey link to research.net, and redirect survey respondents to your site upon survey completion.',\n },\n },\n analyze_shared_results_enabled: {\n summaryLine: 'Share survey data',\n tooltip: {\n title: 'Share survey data',\n description: 'Invite anyone to view data from your survey.',\n },\n },\n analyze_trends_enabled: {\n summaryLine: 'Data trends',\n tooltip: {\n title: 'Data trends',\n description: 'View your results trended over time to spot changes when they happen.',\n },\n },\n filter_crosstab: {\n summaryLine: 'Filter and compare results',\n tooltip: {\n title: 'Filter and compare results',\n description:\n 'Filter your results and compare how different groups answered the questions in your survey. Segment your data to uncover trends and correlations in your data.',\n },\n },\n word_cloud: {\n summaryLine: 'Word clouds',\n tooltip: {\n title: 'Word clouds',\n description:\n 'Quickly spot trends and common themes in written answers. Words with lots of mentions appear bigger so you can get a quick understanding of what matters most to your respondents.',\n },\n },\n word_cloud_combine_hide: {\n summaryLine: 'Word clouds: Combine or hide words',\n tooltip: {\n title: 'Word clouds: Combine or hide words',\n description:\n 'Get more control over the words that appear in your word cloud. Combine similar words, hide others, and choose the frequency of words to include.',\n },\n },\n text_analysis: {\n summaryLine: 'Tag written answers',\n tooltip: {\n title: 'Tag written answers',\n description:\n 'Tag written answers to organize them by topic and uncover trends. See the percentage of answers that include each tag.',\n },\n },\n sentiment_analysis: {\n summaryLine: 'Sentiment analysis',\n tooltip: {\n title: 'Sentiment analysis',\n description:\n \"We'll automatically label your text responses as positive, neutral, or negative to reveal the emotion behind what people are saying.\",\n },\n },\n dashboard: {\n summaryLine: 'Dashboard',\n tooltip: {\n title: 'Dashboard',\n description:\n 'Tell stories with your data by arranging charts, images, and findings in a custom layout. Share your dashboard with anyone.',\n },\n },\n dashboard_password_protection: {\n summaryLine: 'Dashboard: Password protection',\n tooltip: {\n title: 'Dashboard: Password protection',\n description: 'Set a password for your dashboards for share more securely.',\n },\n },\n statistical_significance: {\n summaryLine: 'Statistical significance',\n tooltip: {\n title: 'Statistical significance',\n description: 'Use to see if there are statistically significant differences between response groups.',\n },\n },\n benchmarks: {\n summaryLine: 'SurveyMonkey Global Benchmarks',\n tooltip: {\n title: 'SurveyMonkey Global Benchmarks',\n description:\n 'SurveyMonkey Global Benchmarks give your results context by letting you compare them with the global average. More specific comparison data is available for an extra fee.',\n },\n },\n validate_answer: {\n summaryLine: 'Answer validation',\n tooltip: {\n title: 'Answer validation',\n description: 'Require the text in survey responses to meet formatting and content criteria you set.',\n },\n },\n randomize_answer_choices: {\n summaryLine: 'Randomize answer choices',\n tooltip: {\n title: 'Randomize answer choices',\n description: 'Reduce bias by randomly changing the order of answer choices for different respondents.',\n },\n },\n view_respondent_ip_address: {\n summaryLine: \"View respondent's IP address\",\n tooltip: {\n title: \"View respondent's IP address\",\n description:\n 'Automatically record the IP address of respondents to get a better sense of who answers your surveys.',\n },\n },\n record_respondent_email_address: {\n summaryLine: 'Record respondent email address',\n tooltip: {\n title: 'Record respondent email address',\n description:\n 'Automatically record the email address of respondents to track who takes your surveys, or to follow up with them later.',\n },\n },\n confirmation_email_to_respondents: {\n summaryLine: 'Confirmation Email to Respondents',\n tooltip: {\n title: 'Confirmation Email to Respondents',\n description:\n 'When distributing surveys with the email collector, send a confirmation email to each respondent with a copy of their answers.',\n },\n },\n complimentary_audience_credits: {\n summaryLine: 'Audience panel credits',\n tooltip: {\n title: 'Audience panel credits',\n description:\n 'Send surveys to your target market with SurveyMonkey Audience, our market research panel with millions of people worldwide. You can choose from 100+ attributes to conduct market research quickly and effectively. Audience can also be purchased separately.',\n },\n },\n hipaa_enabled: {\n summaryLine: 'HIPAA-compliant features',\n tooltip: {\n title: 'HIPAA-compliant features',\n description:\n 'Safeguard protected health information with HIPAA-compliant features and a Business Associate Agreement.',\n },\n },\n send_surveys: {\n summaryLine: 'Send surveys',\n tooltip: {\n title: 'Send surveys',\n description: 'Seamlessly send surveys using powerful 3rd-party integration tools.',\n },\n },\n mobile_sdk: {\n summaryLine: 'Mobile SDK',\n tooltip: {\n title: 'Mobile SDK',\n description: 'Integrate surveys directly into your iOS and Android mobile app.',\n },\n },\n mobile_sdk_data_pull: {\n summaryLine: 'Mobile SDK - Data Pull',\n tooltip: {\n title: 'Mobile SDK - Data Pull',\n description:\n 'Take actions in your app based on survey responses collected through the Mobile SDK. For example, prompt people to leave a review if they enter a positive rating.',\n },\n },\n extract_data: {\n summaryLine: 'Extract data',\n tooltip: {\n title: 'Extract data',\n description: 'Extract and leverage your survey data using powerful 3rd-party integration tools.',\n },\n },\n api_access: {\n summaryLine: 'Get direct API access',\n tooltip: {\n title: 'Get direct API access',\n description: 'Create your own application to send surveys and extract your survey data.',\n },\n },\n multilingual: {\n summaryLine: 'Multilingual surveys',\n tooltip: {\n title: 'Multilingual surveys',\n description:\n \"Reach everyone in the language they're most comfortable with. Add multiple languages to a single survey, and analyze all your results together as one data set.\",\n },\n },\n quizzes_pro: {\n summaryLine: 'Quizzes Pro',\n tooltip: {\n title: 'Quizzes Pro',\n description:\n 'Show custom feedback for correct, partially correct, and incorrect responses as people take your quiz. At the end, show people custom feedback based on their overall score. Quizzes Pro also lets you email people their quiz results automatically, or export your quiz statistics in PDF, XLS, and CSV format.',\n },\n },\n recurring_surveys: {\n summaryLine: 'Recurring surveys',\n tooltip: {\n title: 'Recurring surveys',\n description:\n \"Recurring surveys make it easy to collect new results for the same survey on a weekly, monthly, or quarterly basis. We'll email you new survey links when they're ready, so all you need to do is copy each new link and send it to respondents. Filter your results by each occurrence to see how people responded differently over time.\",\n },\n },\n industry_benchmarks: {\n summaryLine: 'SurveyMonkey Industry Benchmarks',\n tooltip: {\n title: 'SurveyMonkey Industry Benchmarks',\n description:\n \"Compare your results against the Industry Benchmark to understand how you're doing in the context of your greater industry. See your results in context to see how you measure up against your peers.\",\n },\n },\n custom_question_bank: {\n summaryLine: 'Custom Question Bank',\n tooltip: {\n title: 'Custom Question Bank',\n description:\n 'Easily create pre-composed survey questions that are unique to your business, and to share them with your entire organization.',\n },\n },\n payment_question_type: {\n summaryLine: 'Accept Payments',\n tooltip: {\n title: 'Accept Payments',\n description: 'Accept credit card payments from respondents in your surveys with our Stripe integration.',\n },\n },\n inactivity_timer: {\n summaryLine: 'Kiosk Mode: Inactivity Timer',\n tooltip: {\n title: 'Kiosk Mode: Inactivity Timer',\n description:\n \"When a survey's inactive for the amount of time you choose, it will loop back to start for the next person. Available in the SurveyMonkey Anywhere app.\",\n },\n },\n passcode_lock: {\n summaryLine: 'Kiosk Mode: Passcode Lock',\n tooltip: {\n title: 'Kiosk Mode: Passcode Lock',\n description:\n 'Keep your device secure-set a passcode that must be entered to exit the survey. Available in the SurveyMonkey Anywhere app.',\n },\n },\n premium_themes: {\n summaryLine: 'Premium themes',\n tooltip: {\n title: 'Premium themes',\n description:\n 'Select from pre-designed themes to pick a survey theme that matches the topic of your survey. You can also edit the premium themes to create a fully customized design using colors, fonts, images and layouts.',\n },\n },\n custom_subdomain: {\n summaryLine: 'Custom subdomain',\n tooltip: {\n title: 'Custom subdomain',\n description:\n 'Get a custom URL and landing page to ensure a seamlessly branded survey experience for your respondents.',\n },\n },\n team_customer_success_manager: {\n summaryLine: 'Customer Success Manager',\n tooltip: {\n title: 'Customer Success Manager',\n description:\n 'Get a dedicated customer success manager to help you with onboarding, training users as well as implementing best practices to ensure optimal use of the SurveyMonkey platform across your organization.',\n },\n },\n enterprise_admin_dashboard: {\n summaryLine: 'Admin dashboard',\n tooltip: {\n title: 'Admin dashboard',\n description:\n \"Get visibility into your team's activity. View usage metrics like the number of surveys each user has in their account, and the date of their last login. You can also preview surveys in each account too.\",\n },\n },\n enterprise_activity_tracking: {\n summaryLine: 'Team activity',\n tooltip: {\n title: 'Team activity',\n description:\n 'Track all user activity in your Enterprise account, such as user logins, survey creation, survey sharing, survey exports, etc. with the ability to search and filter through audit logs.',\n },\n },\n enterprise_account_control: {\n summaryLine: 'Account control',\n tooltip: {\n title: 'Account control',\n description:\n \"Automate onboarding users. Seamlessly enable new users to sign up or migrate existing users into your organization's SurveyMonkey Enterprise account.\",\n },\n },\n enterprise_sso: {\n summaryLine: 'Single sign-on',\n tooltip: {\n title: 'Single sign-on',\n description:\n 'Control access to SurveyMonkey across the organization and define authentication policies for increased security and governance.',\n },\n },\n enterprise_global_settings: {\n summaryLine: 'Global settings',\n tooltip: {\n title: 'Global settings',\n description:\n 'Create global settings for everyone in your plan. Includes PII management, collector and respondent data settings, and Audience credits management.',\n },\n },\n enterprise_custom_terms_of_service: {\n summaryLine: 'Custom Terms of Use',\n tooltip: {\n title: 'Custom Terms of Use',\n description: \"Ensure your employees opt in to your organization's Terms of Use for SurveyMonkey.\",\n },\n },\n enterprise_integrations: {\n summaryLine: 'Enterprise-only integrations',\n tooltip: {\n title: 'Enterprise-only integrations',\n description:\n 'Enterprise plans enjoy unlimited API access and can add on integrations with Salesforce, Marketo, Eloqua, Tableau, and more.',\n },\n },\n enterprise_hipaa_compliance: {\n summaryLine: 'HIPAA-compliant features',\n tooltip: {\n title: 'HIPAA-compliant features',\n description:\n 'Collect and manage Protected Health Information (PHI) through surveys. To enable HIPAA features, you must enter into a Business Associate Agreement (BAA) with SurveyMonkey.',\n },\n },\n summary_accept_payments: {\n summaryLine: 'Accept payments',\n tooltip: {\n title: 'Accept payments',\n description:\n 'Add a payment page to the end of your survey and accept payments through Stripe. Respondents can complete a survey and make a credit card payment at one time and in one place.',\n },\n },\n summary_24_7_customer_support_via_email: {\n summaryLine: '24/7 customer support via email',\n tooltip: {\n title: '24/7 customer support via email',\n description:\n 'We offer 24/7 email support for all customers. Emails from {gold_equivalent_name} and {platinum_equivalent_name} customers are prioritized to receive responses as quickly as possible. We also offer phone support for our {platinum_equivalent_name} customers.',\n },\n },\n summary_24_7_customer_support_via_email_intl: {\n summaryLine: '24/7 customer support via email',\n tooltip: {\n title: '24/7 customer support via email',\n description:\n 'We offer 24/7 email support for all customers. Emails from {gold_equivalent_name} and {platinum_equivalent_name} customers are prioritized to receive responses as quickly as possible.',\n },\n },\n summary_team_accounts_and_tools: {\n summaryLine: \"NEW! Team accounts & tools\",\n tooltip: {\n title: \"NEW! Team accounts & tools\",\n description:\n 'Our {gold_equivalent_name} and {platinum_equivalent_name} plans include 2 user accounts, which allow you and another person to enjoy our team collaboration tools. These tools help you create, edit, and analyze surveys easily and safely with another person. Each user will have their own unique sign-in credentials. The accounts can securely share surveys and data, and you can also choose to keep some surveys or data private and only available to you.',\n },\n },\n summary_team_collaboration_available: {\n summaryLine: 'Team collaboration available',\n tooltip: {\n title: 'Team collaboration available',\n description:\n 'You can convert your existing account into a team account. This allows you to create, edit, and analyze surveys with others and access a shared library of images, documents, themes, and templates. You can invite people to your team for an additional fee.',\n },\n },\n summary_advanced_data_exports: {\n summaryLine: 'Advanced data exports',\n tooltip: {\n title: 'Advanced data exports',\n description:\n 'Download your survey results into SPSS-along with CSV, PDF, PPT, or XLS files too. Also create and print custom charts and reports quickly and easily.',\n },\n },\n summary_sentiment_analysis: {\n summaryLine: 'SENTIMENT ANALYSIS',\n tooltip: {\n title: 'SENTIMENT ANALYSIS',\n description:\n \"We'll automatically label your text responses as positive, neutral, or negative to reveal the emotion behind what people are saying.\",\n },\n },\n summary_survey_logic: {\n summaryLine: 'Survey logic',\n tooltip: {\n title: 'Survey logic',\n description:\n 'Create smart surveys. Reduce answer bias by randomizing pages or questions on a specific page. Conduct A/B tests and test for answer bias by randomly segmenting respondents to see different images or text. Plus, close your survey automatically when you get all the qualified responses you need.',\n },\n },\n summary_survey_analysis: {\n summaryLine: 'Survey analysis',\n tooltip: {\n title: 'Survey analysis',\n description:\n 'Get more insights from your survey results. Trended data makes it easy to spot changes when they happen by allowing you to view your results trended over time. Use filters and crosstabs to segment your respondents and discover hidden trends. With a {basic_equivalent_name} plan, you can apply and save one filter rule to your data, but paid plans allow you to save and apply an unlimited number of filter rules.',\n },\n },\n summary_advanced_survey_analysis_asia: {\n summaryLine: 'Advanced survey analysis',\n tooltip: {\n title: 'Advanced survey analysis',\n description:\n 'Get more context for your data. See if there are statistically significant differences between response groups.',\n },\n },\n summary_audience_panel_credits: {\n summaryLine: 'Audience panel credits',\n tooltip: {\n title: 'Audience panel credits',\n description:\n 'Use SurveyMonkey Audience to easily run your own market research. Our market research panel includes millions of people worldwide. Choose from several demographic attributes to send surveys to your target market.',\n },\n },\n summary_team_share_surveys: {\n summaryLine: 'BUILD SURVEYS TOGETHER',\n tooltip: {\n title: 'BUILD SURVEYS TOGETHER',\n description: 'Let people on your team view, edit, or comment on your surveys.',\n },\n },\n summary_team_comments: {\n summaryLine: 'COMMENTING FEATURE',\n tooltip: {\n title: 'COMMENTING FEATURE',\n description:\n 'Invite people to provide feedback on your survey projects all ine one place. Our commenting feature allows you to share both survey drafts or results with anyone you want.',\n },\n },\n summary_team_analyze_filter_export: {\n summaryLine: 'ANALYZE RESULTS TOGETHER',\n tooltip: {\n title: 'ANALYZE RESULTS TOGETHER',\n description: 'Give your team access to survey results and export tools.',\n },\n },\n summary_team_responses_nodification: {\n summaryLine: 'RESPONSE ALERTS',\n tooltip: {\n title: 'RESPONSE ALERTS',\n description:\n \"Receive email notifications about new survey responses. You can share Response Alerts with other people (in or outside your team)-as long as you're the survey owner.\",\n },\n },\n summary_team_shared_library: {\n summaryLine: 'SHARED LIBRARY',\n tooltip: {\n title: 'SHARED LIBRARY',\n description: 'Get access to shared images, documents, themes, and templates that everyone in your team can use.',\n },\n },\n summary_team_add_reassign_accounts: {\n summaryLine: 'TEAM MANAGEMENT',\n tooltip: {\n title: 'TEAM MANAGEMENT',\n description:\n \"If you're the Primary Admin or Admin of a team, you can invite more people to join the team and manage existing accounts.\",\n },\n },\n summary_team_collaboration_app_integrations: {\n summaryLine: 'INTEGRATIONS',\n tooltip: {\n title: 'INTEGRATIONS',\n description:\n \"SurveyMonkey integrates with popular apps like Office 365, Google Drive, and Slack, so it's easy to use with your existing workflows.\",\n },\n },\n summary_team_surveys_questions_responses: {\n summaryLine: 'NUMBER OF SURVEYS',\n tooltip: {\n title: 'NUMBER OF SURVEYS',\n description: 'You can create and send as many surveys, polls, and quizzes as you need.',\n },\n },\n summary_team_expedited_email_support: {\n summaryLine: '24/7 CUSTOMER SUPPORT VIA EMAIL',\n tooltip: {\n title: '24/7 CUSTOMER SUPPORT VIA EMAIL',\n description:\n 'We offer 24/7 email support for all customers. Emails from TEAM ADVANTAGE and TEAM PREMIER customers are prioritized to receive responses as quickly as possible. We also offer phone support for our TEAM PREMIER customers.',\n },\n },\n summary_team_quizzes: {\n summaryLine: 'QUIZZES',\n tooltip: {\n title: 'QUIZZES',\n description:\n \"Easily create tests and assessments with automatic scoring for employees, customers, students, and more. You can choose whether you want to display your respondent's score to them after they complete your quiz. You'll also be able to see rankings, segment response data, and access statistics for your results.\",\n },\n },\n summary_team_filters_and_crosstabs: {\n summaryLine: 'FILTER AND COMPARE RULES',\n tooltip: {\n title: 'FILTER AND COMPARE RULES',\n description:\n 'Use filter and compare rules to segment your data and discover hidden trends. With a Basic plan, you can apply and save one rule to your data, but paid plans allow you to save and apply an unlimited number of rules. Data trends let you see how your results have changed over time.',\n },\n },\n summary_team_custom_logo: {\n summaryLine: 'CUSTOMIZED SURVEYS',\n tooltip: {\n title: 'CUSTOMIZED SURVEYS',\n description:\n \"Customize your survey's look and feel by adding your logo, selecting colors and web fonts, and uploading images. Create and save custom themes to quickly build on-brand surveys. You can also modify the ending of your survey's URL. For example: www.surveymonkey.com/s/your-survey\",\n },\n },\n summary_team_skip_logic: {\n summaryLine: 'CUSTOMIZED SURVEY EXPERIENCE',\n tooltip: {\n title: 'CUSTOMIZED SURVEY EXPERIENCE',\n description:\n \"Get more ways to personalize each respondent's experience while taking your survey. Use skip logic to create custom paths through a survey based on each respondent's answers. With question & answer piping, you can insert answer text from a question into another question on a later page in the survey.\",\n },\n },\n summary_team_data_exports: {\n summaryLine: 'DATA EXPORTS',\n tooltip: {\n title: 'DATA EXPORTS',\n description:\n \"Create and print custom charts and reports quickly and easily. You'll be able to download survey results in several file formats, including as CSV, PDF, PPT, or XLS files. Export for SPSS for Advantage and Premier members.\",\n },\n },\n summary_team_advanced_analyze: {\n summaryLine: 'ADVANCED SURVEY ANALYSIS',\n tooltip: {\n title: 'ADVANCED SURVEY ANALYSIS',\n description:\n 'Get more context for your data. See if there are statistically significant differences between response groups. And use text analysis to search and categorize open-ended responses and quickly see frequently used words and phrases.',\n },\n },\n summary_team_industry_benchmarks: {\n summaryLine: 'SURVEYMONKEY INDUSTRY BENCHMARKS',\n tooltip: {\n title: 'SURVEYMONKEY INDUSTRY BENCHMARKS',\n description:\n \"Compare your results against the Industry Benchmark to understand how you're doing in the context of your greater industry. See your results in context to see how you measure up against your peers.\",\n },\n },\n summary_team_advanced_survey_logic: {\n summaryLine: 'ADVANCED SURVEY LOGIC',\n tooltip: {\n title: 'ADVANCED SURVEY LOGIC',\n description:\n 'Enhance your survey data with access to advanced branching, advanced piping, block randomization, quotas, and more. Use custom variables to track data about respondents by passing one or more values through a survey link and into your survey results.',\n },\n },\n summary_team_block_randomization: {\n summaryLine: 'BLOCK RANDOMIZATION',\n tooltip: {\n title: 'BLOCK RANDOMIZATION',\n description:\n 'Blocks are groups of pages, where each group contains related questions about a particular concept you want to test. You can use block randomization logic to rotate, flip, or randomize blocks to minimize order bias.',\n },\n },\n summary_team_white_label: {\n summaryLine: 'WHITE LABEL SURVEYS',\n tooltip: {\n title: 'WHITE LABEL SURVEYS',\n description:\n 'Completely customize and brand your surveys. Remove the SurveyMonkey footer from your surveys, change the domain of your survey link to research.net, and redirect survey respondents to your site upon survey completion.',\n },\n },\n summary_team_multilingual: {\n summaryLine: 'MULTILINGUAL SURVEYS',\n tooltip: {\n title: 'MULTILINGUAL SURVEYS',\n description:\n \"Reach everyone in the language they're most comfortable with. Add multiple languages to a single survey, and analyze all your results together as one data set.\",\n },\n },\n summary_team_completion_redirect: {\n summaryLine: 'SURVEY COMPLETION REDIRECT',\n tooltip: {\n title: 'SURVEY COMPLETION REDIRECT',\n description:\n 'For a customized experience, redirect survey respondents to your website once they complete your survey.',\n },\n },\n summary_team_remove_surveymonkey_footer: {\n summaryLine: 'REMOVE FOOTER',\n tooltip: {\n title: 'REMOVE FOOTER',\n description:\n 'Turn off the \"powered by SurveyMonkey\" footer that appears by default in your survey design, email invitation messages, and embedded surveys.',\n },\n },\n summary_team_api_access: {\n summaryLine: 'GET DIRECT API ACCESS',\n tooltip: {\n title: 'GET DIRECT API ACCESS',\n description: 'Create your own application to send surveys and extract your survey data.',\n },\n },\n summary_team_role_based_collaboration: {\n summaryLine: 'COLLABORATION AT SCALE',\n tooltip: {\n title: 'COLLABORATION AT SCALE',\n description:\n 'Organize teams with a shared purpose into workgroups to collaborate on survey projects. Easily share surveys with everyone in a workgroup and assign roles and permissions to ensure users have the right level of access to survey data.',\n },\n },\n summary_team_flexible_plan_types: {\n summaryLine: 'FLEXIBLE PLAN TYPES',\n tooltip: {\n title: 'FLEXIBLE PLAN TYPES',\n description: \"Enjoy flexible and custom plan types to fit your organization's survey needs. \",\n },\n },\n summary_team_hipaa_compliant: {\n summaryLine: 'HIPAA-COMPLIANT FEATURES',\n tooltip: {\n title: 'HIPAA-COMPLIANT FEATURES',\n description:\n 'Collect and manage Protected Health Information (PHI) through surveys. To enable HIPAA features, you must enter into a Business Associate Agreement (BAA) with SurveyMonkey.',\n },\n },\n summary_team_custom_branding: {\n summaryLine: 'CUSTOMIZATION AND BRANDING',\n tooltip: {\n title: 'CUSTOMIZATION AND BRANDING',\n description:\n 'Ensure a consistent brand experience for all survey-takers and enjoy customization features like Custom Subdomain, Custom Terms of Use and Custom Question Bank.',\n },\n },\n summary_team_3rd_part_integrations: {\n summaryLine: 'INTEGRATIONS',\n tooltip: {\n title: 'INTEGRATIONS',\n description:\n 'Integrate your survey data into important business applications that your organization already uses such as Salesforce, Marketo, Oracle Eloqua, and Tableau.',\n },\n },\n summary_team_unlimited_api_access: {\n summaryLine: 'UNLIMITED API ACCESS',\n tooltip: {\n title: 'UNLIMITED API ACCESS',\n description:\n 'Get unlimited access to the SurveyMonkey API to integrate survey data into your mobile and web applications.',\n },\n },\n summary_team_admin_dashboard: {\n summaryLine: 'ADMIN DASHBOARD',\n tooltip: {\n title: 'ADMIN DASHBOARD',\n description:\n \"Get visibility into your team's activity. View usage metrics like the number of surveys each user has in their account, and the date of their last login. You can also preview surveys in each account too.\",\n },\n },\n summary_team_account_control_migration: {\n summaryLine: 'ACCOUNT CONTROL',\n tooltip: {\n title: 'ACCOUNT CONTROL',\n description:\n \"Automate onboarding users. Seamlessly enable new users to sign up or migrate existing users into your organization's SurveyMonkey Enterprise account.\",\n },\n },\n summary_team_enhanced_governance_security: {\n summaryLine: 'GOVERNANCE AND SECURITY',\n tooltip: {\n title: 'GOVERNANCE AND SECURITY',\n description:\n 'Get access to a vast array of governance and security features, including SSO for user authentication, data encryption, access controls, SSAE-16 SOC II compliant data centers and more.',\n },\n },\n summary_team_sso: {\n summaryLine: 'SINGLE SIGN-ON',\n tooltip: {\n title: 'SINGLE SIGN-ON',\n description:\n 'Control access to SurveyMonkey across the organization and define authentication policies for increased security and governance.',\n },\n },\n summary_team_logs_audit: {\n summaryLine: 'TEAM ACTIVITY',\n tooltip: {\n title: 'TEAM ACTIVITY',\n description:\n 'Track all user activity in your Enterprise account, such as user logins, survey creation, survey sharing, survey exports, etc. with the ability to search and filter through audit logs.',\n },\n },\n summary_team_customer_success_manager: {\n summaryLine: 'CUSTOMER SUCCESS',\n tooltip: {\n title: 'CUSTOMER SUCCESS',\n description:\n 'Get a dedicated customer success manager to help you with onboarding, training users as well as implementing best practices to ensure optimal use of the SurveyMonkey platform across your organization.',\n },\n },\n summary_team_priority_247_email_phone_support: {\n summaryLine: 'PRIORITY SUPPORT',\n tooltip: {\n title: 'PRIORITY SUPPORT',\n description:\n 'We offer 24/7 email support for all customers. Emails from Enterprise customers are prioritized to receive responses as quickly as possible. We also offer English-only phone support.',\n },\n },\n summary_number_of_surveys: {\n summaryLine: 'Number of surveys',\n tooltip: {\n title: 'Number of surveys',\n description: 'You can create and send as many surveys, polls, and quizzes as you need with any plan.',\n },\n },\n summary_questions_per_survey: {\n summaryLine: 'Questions per survey',\n tooltip: {\n title: 'Questions per survey',\n description:\n 'Some of our plans only allow a certain number of questions for each survey you send. All plans allow you to create and send as many surveys as you want.',\n },\n },\n summary_number_of_responses: {\n summaryLine: 'Number of responses',\n tooltip: {\n title: 'Number of responses',\n description:\n \"With a free plan, you can collect more than 100 responses, but you can only view the first 100 responses. Upgrade at any time to access additional responses. Our {select_equivalent_name} Monthly plan includes 1000 responses per monthly billing cycle across all your surveys with a {overage_cost} charge per additional response. All annual plans include an unlimited number of responses.\",\n },\n },\n summary_number_of_responses_monthly_plans: {\n summaryLine: 'Number of responses',\n tooltip: {\n title: 'Number of responses',\n description:\n \"With a free plan, you can collect more than 100 responses, but you can only view the first 100 responses. Upgrade at any time to access additional responses. Our {select_equivalent_name} Monthly plan includes 1,000 responses and our {gold_equivalent_name} Monthly plan includes 2,000 responses per monthly billing cycle across all your surveys. There is a {overage_cost} charge per additional response. All annual plans include unlimited responses.\",\n },\n },\n summary_customer_support: {\n summaryLine: '24/7 customer support via email',\n tooltip: {\n title: '24/7 customer support via email',\n description:\n 'We offer 24/7 email support for all customers. Emails from {gold_equivalent_name} and {platinum_equivalent_name} customers are prioritized to receive responses as quickly as possible. We also offer phone support for our {platinum_equivalent_name} customers.',\n },\n },\n summary_customer_support_monthly_plans: {\n summaryLine: '24/7 customer support via email',\n tooltip: {\n title: '24/7 customer support via email',\n description:\n 'We offer 24/7 email support for all customers. Emails from {gold_equivalent_name} and {platinum_equivalent_name} customers are prioritized to receive responses as quickly as possible. We also offer phone support for our {platinum_equivalent_name} Annual customers.',\n },\n },\n summary_english_customer_support: {\n summaryLine: '24/7 English email support',\n tooltip: {\n title: '24/7 English email support',\n description:\n 'We offer 24/7 email support for all customers. Emails from {gold_equivalent_name} and {platinum_equivalent_name} customers are prioritized to receive responses as quickly as possible. We also offer phone support for our {platinum_equivalent_name} customers.',\n },\n },\n summary_international_customer_support: {\n summaryLine: '{lang} email support',\n tooltip: {\n title: '{lang} email support',\n description: 'We offer {lang} email support in Central European Time (CET).',\n },\n },\n summary_user_accounts: {\n summaryLine: 'User accounts included',\n tooltip: {\n title: 'User accounts included',\n description:\n 'This is the total number of user accounts included with your plan. Plans with more than 1 user have access to all team collaboration tools. ',\n },\n },\n summary_quizzes: {\n summaryLine: \"NEW! Quizzes\",\n tooltip: {\n title: \"NEW! Quizzes\",\n description:\n \"Easily create tests and assessments with automatic scoring for employees, customers, students, and more. You can choose whether you want to display your respondent's score to them after they complete your quiz. You'll also be able to see rankings, segment response data, and access statistics for your results.\",\n },\n },\n summary_filters_and_crosstabs: {\n summaryLine: 'FILTER AND COMPARE RULES',\n tooltip: {\n title: 'FILTER AND COMPARE RULES',\n description:\n 'Use filter and compare rules to segment your data and discover hidden trends. With a Basic plan, you can apply and save one rule to your data, but paid plans allow you to save and apply an unlimited number of rules. Data trends let you see how your results have changed over time.',\n },\n },\n summary_trended_data: {\n summaryLine: 'Trended Data',\n tooltip: {\n title: 'Trended Data',\n description:\n 'Get more insights from your survey results. Trended data makes it easy to spot changes when they happen by allowing you to view your results trended over time.',\n },\n },\n summary_customized_surveys: {\n summaryLine: 'Customized surveys',\n tooltip: {\n title: 'Customized surveys',\n description:\n \"Customize your survey's look and feel by adding your logo, selecting colors and web fonts, and uploading images. Create and save custom themes to quickly build on-brand surveys. You can also modify the ending of your survey's URL. For example: www.surveymonkey.com/s/your-survey\",\n },\n },\n summary_data_exports: {\n summaryLine: 'Data exports',\n tooltip: {\n title: 'Data exports',\n description:\n \"Create and print custom charts and reports quickly and easily. You'll be able to download survey results in several file formats, including as CSV, PDF, PPT, or XLS files. Export for SPSS for Advantage and Premier members.\",\n },\n },\n summary_customized_survey_experience: {\n summaryLine: 'Customized survey experience',\n tooltip: {\n title: 'Customized survey experience',\n description:\n \"Get more ways to personalize each respondent's experience while taking your survey. Use skip logic to create custom paths through a survey based on each respondent's answers. With question & answer piping, you can insert answer text from a question into another question on a later page in the survey.\",\n },\n },\n summary_a_b_testing: {\n summaryLine: 'A/B test question type',\n tooltip: {\n title: 'A/B test question type',\n description:\n 'Conduct A/B tests and test for answer bias by randomly segmenting respondents to see different images or text.',\n },\n },\n summary_ab_testing: {\n summaryLine: 'A/B testing, randomization, quotas',\n tooltip: {\n title: 'A/B testing, randomization, quotas',\n description:\n 'Conduct A/B tests and test for answer bias by randomly segmenting respondents to see different images or text.',\n },\n },\n summary_block_randomization: {\n summaryLine: 'Block randomization',\n tooltip: {\n title: 'Block randomization',\n description:\n 'Blocks are groups of pages, where each group contains related questions about a particular concept you want to test. You can use block randomization logic to rotate, flip, or randomize blocks to minimize order bias.',\n },\n },\n summary_quotas: {\n summaryLine: 'Response quotas',\n tooltip: {\n title: 'Response quotas',\n description: 'Close your survey automatically when you get all the qualified responses you need.',\n },\n },\n summary_custom_variables: {\n summaryLine: 'Custom variables',\n tooltip: {\n title: 'Custom variables',\n description:\n 'Use custom variables to track data about respondents by passing one or more values through a survey link and into your survey results.',\n },\n },\n summary_file_upload: {\n summaryLine: 'File upload',\n tooltip: {\n title: 'File upload',\n description:\n 'Allow respondents to upload a file as part of their survey response. You can add up to 20 file upload questions per survey.',\n },\n },\n summary_statistical_significance: {\n summaryLine: 'Statistical significance',\n tooltip: {\n title: 'Statistical significance',\n description: 'Use to see if there are statistically significant differences between response groups.',\n },\n },\n summary_complimentary_audience_credits: {\n summaryLine: 'Audience panel credits',\n tooltip: {\n title: 'Audience panel credits',\n description:\n 'Use SurveyMonkey Audience to easily run your own market research. Our market research panel includes millions of people worldwide. Choose from several demographic attributes to send surveys to your target market.',\n },\n },\n summary_industry_benchmarks: {\n summaryLine: 'SurveyMonkey Industry Benchmarks',\n tooltip: {\n title: 'SurveyMonkey Industry Benchmarks',\n description:\n \"Compare your results against the Industry Benchmark to understand how you're doing in the context of your greater industry. See your results in context to see how you measure up against your peers.\",\n },\n },\n summary_advanced_logic: {\n summaryLine: 'Advanced survey logic',\n tooltip: {\n title: 'Advanced survey logic',\n description:\n 'Enhance your survey data with access to advanced branching, advanced piping, block randomization, quotas, and more. Use custom variables to track data about respondents by passing one or more values through a survey link and into your survey results.',\n },\n },\n summary_collector_white_label_enabled: {\n summaryLine: 'White label surveys',\n tooltip: {\n title: 'White label surveys',\n description:\n 'Completely customize and brand your surveys. Remove the SurveyMonkey footer from your surveys, change the domain of your survey link to research.net, and redirect survey respondents to your site upon survey completion.',\n },\n },\n summary_multilingual: {\n summaryLine: 'Multilingual surveys',\n tooltip: {\n title: 'Multilingual surveys',\n description:\n \"Reach everyone in the language they're most comfortable with. Add multiple languages to a single survey, and analyze all your results together as one data set.\",\n },\n },\n summary_text_analysis: {\n summaryLine: 'Text analysis',\n tooltip: {\n title: 'Text analysis',\n description: 'Use to see if there are statistically significant differences between response groups.',\n },\n },\n summary_advanced_survey_analysis: {\n summaryLine: 'Advanced survey analysis',\n tooltip: {\n title: 'Advanced survey analysis',\n description:\n 'Get more context for your data. See if there are statistically significant differences between response groups. And use text analysis to search and categorize open-ended responses and quickly see frequently used words and phrases.',\n },\n },\n summary_randomize_question_page_blocks: {\n summaryLine: 'Randomization',\n tooltip: {\n title: 'Randomization',\n description: 'Create smart surveys. Reduce answer bias by randomizing pages or questions on a specific page.',\n },\n },\n summary_piping: {\n summaryLine: 'Question and answer piping',\n tooltip: {\n title: 'Question and answer piping',\n description:\n 'With question & answer piping, you can insert answer text from a question into another question on a later page in the survey.',\n },\n },\n summary_redirect: {\n summaryLine: 'Redirect respondents to your website',\n tooltip: {\n title: 'Redirect respondents to your website',\n description:\n 'Redirect respondents to your own webpage upon survey completion. Enter the URL to a website of your choice.',\n },\n },\n summary_phone_support: {\n summaryLine: 'Phone support',\n tooltip: {\n title: 'Phone support',\n description: 'PREMIER customers enjoy the quickest replies in addition to phone support (English only).',\n },\n },\n summary_carry_forward: {\n summaryLine: 'Carry forward responses',\n tooltip: {\n title: 'Carry forward responses',\n description:\n \"Use each respondent's previous answer choices in a related question that appears later in your survey. You can carry forward either a respondent's selected or unselected answer choices and choose to show all or some previously selected or unselected answers. Responses that are carried forward cannot be edited.\",\n },\n },\n summary_matrix_of_dropdown_menus: {\n summaryLine: 'Matrix of dropdown menus',\n tooltip: {\n title: 'Matrix of dropdown menus',\n description:\n 'Allow respondents to evaluate several items using the same set of measurements by choosing from a preset list of answer choices.',\n },\n },\n summary_advanced_branching_and_piping: {\n summaryLine: 'Advanced branching and piping',\n tooltip: {\n title: 'Advanced branching and piping',\n description:\n \"Personalize the survey experience using advanced branching and piping logic. Build conditions and insert text based on your respondent's answers, custom data from contacts, and custom variables. Skip respondents to future points in your survey, show or hide questions, show or hide pages, or invalidate questions and customize the error message.\",\n },\n },\n summary_advanced_data_exports_spss: {\n summaryLine: 'Advanced data exports (SPSS)',\n tooltip: {\n title: 'Advanced data exports (SPSS)',\n description:\n 'Download your survey results into SPSS-along with CSV, PDF, PPT, or XLS files too. Also create and print custom charts and reports quickly and easily.',\n },\n },\n summary_abbr_customized_surveys: {\n summaryLine: 'Custom logo, colors & fonts, survey link',\n tooltip: {\n title: 'Custom logo, colors & fonts, survey link',\n description:\n \"Customize your survey's look and feel by adding your logo, selecting colors and web fonts, and uploading images. Create and save custom themes to quickly build on-brand surveys. You can also modify the ending of your survey's URL. For example: www.surveymonkey.com/s/your-survey\",\n },\n },\n summary_abbr_data_exports: {\n summaryLine: 'Data exports',\n tooltip: {\n title: 'Data exports',\n description: 'Download your data as a spreadsheet, or friendly formats like PDF or PowerPoint.',\n },\n },\n summary_abbr_unlimited_data_filters: {\n summaryLine: 'Unlimited data filters',\n tooltip: {\n title: 'Unlimited data filters',\n description: 'Drill down into segments of your data and save each view.',\n },\n },\n summary_abbr_compare_crosstabs: {\n summaryLine: 'Compare results with crosstabs',\n tooltip: {\n title: 'Compare results with crosstabs',\n description: 'See side-by-side comparisons of how different groups answered your survey.',\n },\n },\n summary_abbr_skip_logic: {\n summaryLine: 'Skip logic',\n tooltip: {\n title: 'Skip logic',\n description: 'Skip people to different places in your survey based on how they answer.',\n },\n },\n summary_abbr_text_analysis: {\n summaryLine: 'Text analysis',\n tooltip: {\n title: 'Text analysis',\n description: 'Uncover trends in written answers with tagging, word clouds, and sentiment analysis.',\n },\n },\n summary_abbr_statistical_significance: {\n summaryLine: 'Statistical significance',\n tooltip: {\n title: 'Statistical significance',\n description:\n 'See if there are statistically significant differences in how different groups answered your survey.',\n },\n },\n summary_abbr_ab_test: {\n summaryLine: 'A/B test question type',\n tooltip: {\n title: 'A/B test question type',\n description: 'See if variations of an image or text yield different results.',\n },\n },\n summary_abbr_page_question_randomization: {\n summaryLine: 'Question & page randomization',\n tooltip: {\n title: 'Question & page randomization',\n description:\n 'Reduce answer bias by randomizing the order of the pages in a survey or the order of questions within a page.',\n },\n },\n summary_abbr_carry_forward: {\n summaryLine: 'Carry forward responses',\n tooltip: {\n title: 'Carry forward responses',\n description:\n \"Use each respondent's previous answer choices in a related question that appears later in your survey. You can carry forward either a respondent's selected or unselected answer choices and choose to show all or some previously selected or unselected answers. Responses that are carried forward cannot be edited.\",\n },\n },\n summary_abbr_file_upload: {\n summaryLine: 'File upload question type',\n tooltip: {\n title: 'File upload question type',\n description: 'Let people attach image files, PDFs, or documents to their response.',\n },\n },\n summary_abbr_advanced_branching: {\n summaryLine: 'Advanced branching',\n tooltip: {\n title: 'Advanced branching',\n description: 'Add multi-condition, multi-action rules to build strategic survey experiences.',\n },\n },\n summary_abbr_advanced_piping: {\n summaryLine: 'Advanced question & answer piping',\n tooltip: {\n title: 'Advanced question & answer piping',\n description:\n 'Personalize surveys for each person by piping in text from their contact information or custom variables (URL parameters).',\n },\n },\n summary_abbr_custom_redirects: {\n summaryLine: 'Custom survey completion redirects',\n tooltip: {\n title: 'Custom survey completion redirects',\n description: 'Redirect survey takers to the URL of your choice after they finish your survey.',\n },\n },\n summary_abbr_remove_footer: {\n summaryLine: 'Remove SurveyMonkey branded footer',\n tooltip: {\n title: 'Remove SurveyMonkey branded footer',\n description: 'Remove the SurveyMonkey footer from your surveys and email invitations.',\n },\n },\n summary_abbr_research_url: {\n summaryLine: 'Anonymous \"research.net\" URL',\n tooltip: {\n title: 'Anonymous \"research.net\" URL',\n description: 'Use research.net for your survey link instead of surveymonkey.com.',\n },\n },\n summary_custom_survey_link: {\n summaryLine: 'Custom survey link',\n tooltip: {\n title: 'Custom survey link',\n description: 'Make your survey link friendly and easy to read.',\n },\n },\n};\n\nexport default FEATURES;\n","import { PACKAGES } from './constants';\nimport FEATURES, { Feature } from './features';\nimport { featureIsNonGuacOnly } from './helpers';\n\nexport type PackageFeatures = Feature[];\n\ntype PackageFeaturesList = {\n [packageId: string]: PackageFeatures;\n};\n\nconst PACKAGE_SUMMARY_FEATURES: PackageFeaturesList = {\n [PACKAGES.StandardMonthly]: [\n {\n summaryLine: 'Matrix of dropdown menus question type',\n tooltip: FEATURES.summary_matrix_of_dropdown_menus.tooltip,\n },\n {\n summaryLine: 'Unlimited number of surveys',\n tooltip: FEATURES.summary_number_of_surveys.tooltip,\n },\n {\n summaryLine: 'Unlimited questions per survey',\n tooltip: FEATURES.summary_questions_per_survey.tooltip,\n },\n {\n summaryLine: 'Unlimited responses per survey',\n tooltip: FEATURES.summary_number_of_responses.tooltip,\n },\n {\n summaryLine: '24/7 priority email support',\n tooltip: FEATURES.summary_customer_support.tooltip,\n },\n {\n summaryLine: '24/7 English email support',\n tooltip: FEATURES.summary_english_customer_support.tooltip,\n },\n {\n summaryLine: '{lang} email support',\n tooltip: FEATURES.summary_international_customer_support.tooltip,\n },\n {\n summaryLine: 'Quizzes with custom feedback',\n tooltip: FEATURES.summary_quizzes.tooltip,\n },\n {\n summaryLine: 'Custom logo, colors, and survey URL',\n tooltip: FEATURES.summary_customized_surveys.tooltip,\n },\n {\n summaryLine: 'Data exports (CSV, PDF, PPT, XLS)',\n tooltip: FEATURES.summary_data_exports.tooltip,\n },\n {\n summaryLine: 'Skip logic only',\n tooltip: FEATURES.summary_customized_survey_experience.tooltip,\n },\n {\n summaryLine: 'Text analysis',\n tooltip: FEATURES.summary_advanced_survey_analysis.tooltip,\n },\n ],\n [PACKAGES.StandardAnnual]: [\n {\n summaryLine: 'Matrix of dropdown menus question type',\n tooltip: FEATURES.summary_matrix_of_dropdown_menus.tooltip,\n },\n {\n summaryLine: 'Unlimited number of surveys',\n tooltip: FEATURES.summary_number_of_surveys.tooltip,\n },\n {\n summaryLine: 'Unlimited questions per survey',\n tooltip: FEATURES.summary_questions_per_survey.tooltip,\n },\n {\n summaryLine: 'Unlimited responses per survey',\n tooltip: FEATURES.summary_number_of_responses.tooltip,\n },\n {\n summaryLine: '24/7 priority email support',\n tooltip: FEATURES.summary_customer_support.tooltip,\n },\n {\n summaryLine: '24/7 English email support',\n tooltip: FEATURES.summary_english_customer_support.tooltip,\n },\n {\n summaryLine: '{lang} email support',\n tooltip: FEATURES.summary_international_customer_support.tooltip,\n },\n {\n summaryLine: 'Quizzes with custom feedback',\n tooltip: FEATURES.summary_quizzes.tooltip,\n },\n {\n summaryLine: 'Custom logo, colors, and survey URL',\n tooltip: FEATURES.summary_customized_surveys.tooltip,\n },\n {\n summaryLine: 'Data exports (CSV, PDF, PPT, XLS)',\n tooltip: FEATURES.summary_data_exports.tooltip,\n },\n {\n summaryLine: 'Skip logic only',\n tooltip: FEATURES.summary_customized_survey_experience.tooltip,\n },\n {\n summaryLine: 'Text analysis',\n tooltip: FEATURES.summary_advanced_survey_analysis.tooltip,\n },\n ],\n [PACKAGES.AdvantageAnnual]: [\n {\n summaryLine: 'Accept Payments',\n tooltip: FEATURES.summary_accept_payments.tooltip,\n },\n {\n summaryLine: 'Carry forward responses',\n tooltip: FEATURES.summary_carry_forward.tooltip,\n },\n {\n summaryLine: 'Matrix of dropdown menus question type',\n tooltip: FEATURES.summary_matrix_of_dropdown_menus.tooltip,\n },\n {\n summaryLine: 'Unlimited number of surveys',\n tooltip: FEATURES.summary_number_of_surveys.tooltip,\n },\n {\n summaryLine: 'Unlimited questions per survey',\n tooltip: FEATURES.summary_questions_per_survey.tooltip,\n },\n {\n summaryLine: 'Unlimited responses per survey',\n tooltip: FEATURES.summary_number_of_responses.tooltip,\n },\n {\n summaryLine: '24/7 expedited email support',\n tooltip: FEATURES.summary_customer_support.tooltip,\n },\n {\n summaryLine: '24/7 expedited English email support',\n tooltip: FEATURES.summary_english_customer_support.tooltip,\n },\n {\n summaryLine: '{lang} email support',\n tooltip: FEATURES.summary_international_customer_support.tooltip,\n },\n {\n summaryLine: 'Quizzes with custom feedback',\n tooltip: FEATURES.summary_quizzes.tooltip,\n },\n {\n summaryLine: 'Custom logo, colors, and survey URL',\n tooltip: FEATURES.summary_customized_surveys.tooltip,\n },\n {\n summaryLine: 'Data exports (CSV, PDF, PPT, XLS)',\n tooltip: FEATURES.summary_data_exports.tooltip,\n },\n {\n summaryLine: 'Advanced data exports (SPSS)',\n tooltip: FEATURES.summary_advanced_data_exports.tooltip,\n },\n {\n summaryLine: 'Skip logic, question & answer piping',\n tooltip: FEATURES.summary_customized_survey_experience.tooltip,\n },\n {\n summaryLine: 'Text analysis & statistical significance',\n tooltip: FEATURES.summary_advanced_survey_analysis.tooltip,\n },\n {\n summaryLine:\n '{audience_wallet_credit} Audience panel credits**',\n tooltip: FEATURES.summary_complimentary_audience_credits.tooltip,\n },\n {\n summaryLine: 'Custom variables',\n tooltip: FEATURES.summary_custom_variables.tooltip,\n },\n {\n summaryLine: 'File upload',\n tooltip: FEATURES.summary_file_upload.tooltip,\n },\n {\n summaryLine: 'A/B testing, randomization, quotas',\n tooltip: FEATURES.summary_a_b_testing.tooltip,\n },\n {\n summaryLine: 'SurveyMonkey industry benchmarks',\n tooltip: FEATURES.summary_industry_benchmarks.tooltip,\n },\n {\n summaryLine: 'Multilingual surveys',\n tooltip: FEATURES.summary_multilingual.tooltip,\n },\n ],\n [PACKAGES.PremierAnnual]: [\n {\n summaryLine: 'Accept Payments',\n tooltip: FEATURES.summary_accept_payments.tooltip,\n },\n {\n summaryLine: 'Carry forward responses',\n tooltip: FEATURES.summary_carry_forward.tooltip,\n },\n {\n summaryLine: 'Matrix of dropdown menus question type',\n tooltip: FEATURES.summary_matrix_of_dropdown_menus.tooltip,\n },\n {\n summaryLine: 'Unlimited number of surveys',\n tooltip: FEATURES.summary_number_of_surveys.tooltip,\n },\n {\n summaryLine: 'Unlimited questions per survey',\n tooltip: FEATURES.summary_questions_per_survey.tooltip,\n },\n {\n summaryLine: 'Unlimited responses per survey',\n tooltip: FEATURES.summary_number_of_responses.tooltip,\n },\n {\n summaryLine: 'Phone support and 24/7 email support',\n tooltip: FEATURES.summary_customer_support.tooltip,\n },\n {\n summaryLine: 'Phone support and 24/7 English email support',\n tooltip: FEATURES.summary_english_customer_support.tooltip,\n },\n {\n summaryLine: '{lang} email support',\n tooltip: FEATURES.summary_international_customer_support.tooltip,\n },\n {\n summaryLine: 'Quizzes with custom feedback',\n tooltip: FEATURES.summary_quizzes.tooltip,\n },\n {\n summaryLine: 'Custom logo, colors, and survey URL',\n tooltip: FEATURES.summary_customized_surveys.tooltip,\n },\n {\n summaryLine: 'Data exports (CSV, PDF, PPT, XLS)',\n tooltip: FEATURES.summary_data_exports.tooltip,\n },\n {\n summaryLine: 'Advanced data exports (SPSS)',\n tooltip: FEATURES.summary_advanced_data_exports.tooltip,\n },\n {\n summaryLine: 'Skip logic, question & answer piping',\n tooltip: FEATURES.summary_customized_survey_experience.tooltip,\n },\n {\n summaryLine: 'Text analysis & statistical significance',\n tooltip: FEATURES.summary_advanced_survey_analysis.tooltip,\n },\n {\n summaryLine: 'Sentiment analysis',\n tooltip: FEATURES.summary_sentiment_analysis.tooltip,\n },\n {\n summaryLine: 'Crosstabs',\n tooltip: FEATURES.crosstab.tooltip,\n },\n {\n summaryLine: 'Unlimited filter and compare rules, data trends',\n tooltip: FEATURES.summary_filters_and_crosstabs.tooltip,\n },\n {\n summaryLine:\n '{audience_wallet_credit} Audience panel credits**',\n tooltip: FEATURES.summary_complimentary_audience_credits.tooltip,\n },\n {\n summaryLine: 'File upload',\n tooltip: FEATURES.summary_file_upload.tooltip,\n },\n {\n summaryLine: 'Advanced branching & piping, block randomization',\n tooltip: FEATURES.summary_advanced_logic.tooltip,\n },\n {\n summaryLine: 'A/B testing, randomization, quotas',\n tooltip: FEATURES.summary_a_b_testing.tooltip,\n },\n {\n summaryLine: 'Custom variables',\n tooltip: FEATURES.summary_custom_variables.tooltip,\n },\n {\n summaryLine: 'White label surveys',\n tooltip: FEATURES.summary_collector_white_label_enabled.tooltip,\n },\n {\n summaryLine: 'SurveyMonkey industry benchmarks',\n tooltip: FEATURES.summary_industry_benchmarks.tooltip,\n },\n {\n summaryLine: 'Multilingual surveys',\n tooltip: FEATURES.summary_multilingual.tooltip,\n },\n ],\n [PACKAGES.TeamAdvantage]: [\n {\n summaryLine: 'Survey sharing with fine control over who can view and edit',\n tooltip: FEATURES.summary_team_share_surveys.tooltip,\n },\n {\n summaryLine: 'Gather comments all in one place',\n tooltip: FEATURES.summary_team_comments.tooltip,\n },\n {\n summaryLine: 'Let team members analyze, filter, and export results',\n tooltip: FEATURES.summary_team_analyze_filter_export.tooltip,\n },\n {\n summaryLine: 'Notify others when you get new responses',\n tooltip: FEATURES.summary_team_responses_nodification.tooltip,\n },\n {\n summaryLine: 'Shared asset library for on-brand surveys',\n tooltip: FEATURES.summary_team_shared_library.tooltip,\n },\n {\n summaryLine: 'Add or reassign accounts at any time',\n tooltip: FEATURES.summary_team_add_reassign_accounts.tooltip,\n },\n {\n summaryLine: 'Free integrations with popular collaboration apps',\n tooltip: FEATURES.summary_team_collaboration_app_integrations.tooltip,\n },\n {\n summaryLine: 'Unlimited surveys, questions, and responses',\n tooltip: FEATURES.summary_team_surveys_questions_responses.tooltip,\n },\n {\n summaryLine: '24/7 Expedited email support',\n tooltip: FEATURES.summary_team_expedited_email_support.tooltip,\n },\n {\n summaryLine: 'Quizzes with custom feedback',\n tooltip: FEATURES.summary_team_quizzes.tooltip,\n },\n {\n summaryLine: 'Custom logo, colors, and survey URL',\n tooltip: FEATURES.summary_team_custom_logo.tooltip,\n },\n {\n summaryLine: 'Question and page skip logic',\n tooltip: FEATURES.summary_team_skip_logic.tooltip,\n },\n {\n summaryLine: 'All data exports (CSV, PDF, PPT, SPSS, XLS)',\n tooltip: FEATURES.summary_team_data_exports.tooltip,\n },\n {\n summaryLine: 'Accept Payments',\n tooltip: FEATURES.summary_accept_payments.tooltip,\n },\n {\n summaryLine: 'Advanced analyze features',\n tooltip: FEATURES.summary_team_advanced_analyze.tooltip,\n },\n {\n summaryLine: 'SurveyMonkey industry benchmarks',\n tooltip: FEATURES.summary_team_industry_benchmarks.tooltip,\n },\n {\n summaryLine: 'Multilingual surveys',\n tooltip: FEATURES.summary_team_multilingual.tooltip,\n // Hide for GUAC countries\n get hidden(): boolean {\n return featureIsNonGuacOnly();\n },\n },\n ],\n [PACKAGES.TeamPremier]: [\n {\n summaryLine: 'Survey sharing with fine control over who can view and edit',\n tooltip: FEATURES.summary_team_share_surveys.tooltip,\n },\n {\n summaryLine: 'Gather comments all in one place',\n tooltip: FEATURES.summary_team_comments.tooltip,\n },\n {\n summaryLine: 'Let team members analyze, filter, and export results',\n tooltip: FEATURES.summary_team_analyze_filter_export.tooltip,\n },\n {\n summaryLine: 'Notify others when you get new responses',\n tooltip: FEATURES.summary_team_responses_nodification.tooltip,\n },\n {\n summaryLine: 'Shared asset library for on-brand surveys',\n tooltip: FEATURES.summary_team_shared_library.tooltip,\n },\n {\n summaryLine: 'Add or reassign accounts at any time',\n tooltip: FEATURES.summary_team_add_reassign_accounts.tooltip,\n },\n {\n summaryLine: 'Free integrations with popular collaboration apps',\n tooltip: FEATURES.summary_team_collaboration_app_integrations.tooltip,\n },\n {\n summaryLine: 'Unlimited surveys, questions, and responses',\n tooltip: FEATURES.summary_team_surveys_questions_responses.tooltip,\n },\n {\n summaryLine: 'Phone support and 24/7 email support',\n tooltip: FEATURES.summary_team_expedited_email_support.tooltip,\n },\n {\n summaryLine: 'Quizzes with custom feedback',\n tooltip: FEATURES.summary_team_quizzes.tooltip,\n },\n {\n summaryLine: 'Custom logo, colors, and survey URL',\n tooltip: FEATURES.summary_team_custom_logo.tooltip,\n },\n {\n summaryLine: 'Question and page skip logic',\n tooltip: FEATURES.summary_team_skip_logic.tooltip,\n },\n {\n summaryLine: 'All data exports (CSV, PDF, PPT, SPSS, XLS)',\n tooltip: FEATURES.summary_team_data_exports.tooltip,\n },\n {\n summaryLine: 'Accept Payments',\n tooltip: FEATURES.summary_accept_payments.tooltip,\n },\n {\n summaryLine: 'Advanced analyze features',\n tooltip: FEATURES.summary_team_advanced_analyze.tooltip,\n },\n {\n summaryLine: 'Sentiment analysis',\n tooltip: FEATURES.summary_sentiment_analysis.tooltip,\n },\n {\n summaryLine: 'Crosstabs',\n tooltip: FEATURES.crosstab.tooltip,\n },\n {\n summaryLine: 'Unlimited filter and compare rules, data trends',\n tooltip: FEATURES.summary_team_filters_and_crosstabs.tooltip,\n },\n {\n summaryLine: 'SurveyMonkey industry benchmarks',\n tooltip: FEATURES.summary_team_industry_benchmarks.tooltip,\n },\n {\n summaryLine: 'Advanced survey logic tools',\n tooltip: FEATURES.summary_team_advanced_survey_logic.tooltip,\n },\n {\n summaryLine: 'Block randomization',\n tooltip: FEATURES.summary_team_block_randomization.tooltip,\n },\n {\n summaryLine: 'White label surveys',\n tooltip: FEATURES.summary_team_white_label.tooltip,\n },\n {\n summaryLine: 'Multilingual surveys',\n tooltip: FEATURES.summary_team_multilingual.tooltip,\n },\n {\n summaryLine: 'Survey completion redirect',\n tooltip: FEATURES.summary_team_completion_redirect.tooltip,\n },\n {\n summaryLine: 'Remove SurveyMonkey footer',\n tooltip: FEATURES.summary_team_remove_surveymonkey_footer.tooltip,\n },\n {\n summaryLine: 'Create private apps with direct API access',\n tooltip: FEATURES.summary_team_api_access.tooltip,\n },\n ],\n [PACKAGES.Enterprise]: [\n {\n summaryLine: 'Survey sharing with fine control over who can view and edit',\n tooltip: FEATURES.summary_team_share_surveys.tooltip,\n },\n {\n summaryLine: 'Gather comments all in one place',\n tooltip: FEATURES.summary_team_comments.tooltip,\n },\n {\n summaryLine: 'Let team members analyze, filter, and export results',\n tooltip: FEATURES.summary_team_analyze_filter_export.tooltip,\n },\n {\n summaryLine: 'Notify others when you get new responses',\n tooltip: FEATURES.summary_team_responses_nodification.tooltip,\n },\n {\n summaryLine: 'Shared asset library for on-brand surveys',\n tooltip: FEATURES.summary_team_shared_library.tooltip,\n },\n {\n summaryLine: 'Add or reassign accounts at any time',\n tooltip: FEATURES.summary_team_add_reassign_accounts.tooltip,\n },\n {\n summaryLine: 'Free integrations with popular collaboration apps',\n tooltip: FEATURES.summary_team_collaboration_app_integrations.tooltip,\n },\n {\n summaryLine: 'Unlimited surveys, questions, and responses',\n tooltip: FEATURES.summary_team_surveys_questions_responses.tooltip,\n },\n {\n summaryLine: 'Phone support and 24/7 email support',\n tooltip: FEATURES.summary_team_expedited_email_support.tooltip,\n },\n {\n summaryLine: 'Quizzes with custom feedback',\n tooltip: FEATURES.summary_team_quizzes.tooltip,\n },\n {\n summaryLine: 'Custom logo, colors, and survey URL',\n tooltip: FEATURES.summary_team_custom_logo.tooltip,\n },\n {\n summaryLine: 'Question and page skip logic',\n tooltip: FEATURES.summary_team_skip_logic.tooltip,\n },\n {\n summaryLine: 'All data exports (CSV, PDF, PPT, SPSS, XLS)',\n tooltip: FEATURES.summary_team_data_exports.tooltip,\n },\n {\n summaryLine: 'Accept Payments',\n tooltip: FEATURES.summary_accept_payments.tooltip,\n },\n {\n summaryLine: 'Advanced analyze features',\n tooltip: FEATURES.summary_team_advanced_analyze.tooltip,\n },\n {\n summaryLine: 'Sentiment analysis',\n tooltip: FEATURES.summary_sentiment_analysis.tooltip,\n },\n {\n summaryLine: 'Crosstabs',\n tooltip: FEATURES.crosstab.tooltip,\n },\n {\n summaryLine: 'Unlimited filter and compare rules, data trends',\n tooltip: FEATURES.summary_team_filters_and_crosstabs.tooltip,\n },\n {\n summaryLine: 'SurveyMonkey industry benchmarks',\n tooltip: FEATURES.summary_team_industry_benchmarks.tooltip,\n },\n {\n summaryLine: 'Advanced survey logic tools',\n tooltip: FEATURES.summary_team_advanced_survey_logic.tooltip,\n },\n {\n summaryLine: 'Block randomization',\n tooltip: FEATURES.summary_team_block_randomization.tooltip,\n },\n {\n summaryLine: 'White label surveys',\n tooltip: FEATURES.summary_team_white_label.tooltip,\n },\n {\n summaryLine: 'Multilingual surveys',\n tooltip: FEATURES.summary_team_multilingual.tooltip,\n },\n {\n summaryLine: 'Survey completion redirect',\n tooltip: FEATURES.summary_team_completion_redirect.tooltip,\n },\n {\n summaryLine: 'Remove SurveyMonkey footer',\n tooltip: FEATURES.summary_team_remove_surveymonkey_footer.tooltip,\n },\n {\n summaryLine: 'Unlimited API access**',\n tooltip: FEATURES.summary_team_unlimited_api_access.tooltip,\n },\n {\n summaryLine: 'Flexible plan types for multiple users',\n tooltip: FEATURES.summary_team_flexible_plan_types.tooltip,\n },\n {\n summaryLine: 'HIPAA-compliant features**',\n tooltip: FEATURES.summary_team_hipaa_compliant.tooltip,\n },\n {\n summaryLine: 'Customization and branding',\n tooltip: FEATURES.summary_team_custom_branding.tooltip,\n },\n {\n summaryLine: 'Integrations with Salesforce, Marketo, Eloqua, and Tableau**',\n tooltip: FEATURES.summary_team_3rd_part_integrations.tooltip,\n },\n {\n summaryLine: 'Admin dashboard and user management',\n tooltip: FEATURES.summary_team_admin_dashboard.tooltip,\n },\n {\n summaryLine: 'Account control and migration',\n tooltip: FEATURES.summary_team_account_control_migration.tooltip,\n },\n {\n summaryLine: 'Enhanced governance and security features',\n tooltip: FEATURES.summary_team_enhanced_governance_security.tooltip,\n },\n {\n summaryLine: 'Single sign-on (SSO)',\n tooltip: FEATURES.summary_team_sso.tooltip,\n },\n {\n summaryLine: 'Activity tracking through audit logs',\n tooltip: FEATURES.summary_team_logs_audit.tooltip,\n },\n {\n summaryLine: 'Dedicated customer success manager',\n tooltip: FEATURES.summary_team_customer_success_manager.tooltip,\n },\n ],\n};\n\nexport default PACKAGE_SUMMARY_FEATURES;\n","import { ComparisonPackageFeatures } from '../ComparisonTableTypes';\nimport { PACKAGES } from '../constants';\n\n/**\n * We export a map of package key (ID/name) to the map of comparison\n * features that that package supports.\n */\nexport type SummaryComparisonPackages = {\n [packageKey: string]: ComparisonPackageFeatures;\n};\n\n// The team and enterprise plans include all the features of the plan\n// below them, so we'll start with advantage and extend it up to include\n// what we need for each package to be as non-redundant as possible\nconst TEAM_ADVTANTAGE: ComparisonPackageFeatures = {\n // Essentials\n unlimited_surveys: true,\n unlimited_questions: true,\n unlimited_responses: true,\n unlimited_collectors: true,\n\n // Support\n email_support: true,\n\n // Building Surveys\n essential_question_types: true,\n survey_templates: true,\n quizzes: true,\n question_page_skip_logic: true,\n question_page_randomization: true,\n a_b_test_question: true,\n custom_variables: true,\n file_upload: true,\n accept_payments: true,\n\n // Branding and Customization\n custom_logo_colors_url: true,\n custom_email_invites: true,\n\n // Response Collection\n recurring_surveys: true,\n require_answer_completion: true,\n survey_end_date: true,\n view_ip_addresses: true,\n confirmation_email: true,\n\n // Analysis\n data_trends: true,\n filter_and_compare: true,\n custom_reports: true,\n statistical_significance: true,\n data_exports: true,\n word_clouds: true,\n results_dashboards: true,\n industry_benchmarks: true,\n\n // Collaboration\n build_together: true,\n survey_sharing_with_editing: true,\n fine_permission_controls: true,\n team_analyze: true,\n shared_templates: true,\n add_reassign_accounts: true,\n\n // Integrations\n free_integrations: true,\n\n // Compliance and Governance\n password_protected: true,\n iso_27001: true,\n accessible: true,\n};\n\nconst TEAM_PREMIER: ComparisonPackageFeatures = {\n // Include everything from team advantage, plus...\n ...TEAM_ADVTANTAGE,\n\n // Support\n phone_support: true,\n\n // Building surveys\n adv_branching_and_piping: true,\n block_randomization: true,\n multilingual_surveys: true,\n\n // Branding and Customization\n remove_footer: true,\n\n // Response Collection\n change_survey_url: true,\n website_redirect: true,\n\n // Analysis\n sentiment_analysis: true,\n crosstabs: true,\n\n // Integrations\n direct_api: true,\n};\n\nconst ENTERPRISE: ComparisonPackageFeatures = {\n // Everything in team premier plus... all the other things\n ...TEAM_PREMIER,\n\n // Support\n customer_success_manager: true,\n\n // Branding and Customization\n custom_subdomain: true,\n custom_email: true, // Also in compliance section\n custom_terms: true, // Also in compliance section\n custom_question_bank: true,\n\n // Response Collection\n sms_offline_collection: true,\n smart_notifications: true,\n hippa_compliance: true,\n\n // Collaboration\n admin_dashboard: true,\n roles_workgroups: true,\n global_settings: true,\n\n // Integrations\n api_limits: true,\n bi_integrations: true,\n\n // Compliance and Governance\n activity_tracking: true,\n single_signon: true,\n account_control: true,\n};\n\n/**\n * This is the list of default options for the summary comparison table.\n * It can be altered/extended for experiments as needed.\n */\nconst SummaryComparisonPackageFeatures: SummaryComparisonPackages = {\n [PACKAGES.TeamAdvantage]: TEAM_ADVTANTAGE,\n [PACKAGES.TeamPremier]: TEAM_PREMIER,\n [PACKAGES.Enterprise]: ENTERPRISE,\n};\n\nexport default SummaryComparisonPackageFeatures;\n","import { ComponentType } from 'react';\nimport { PACKAGES } from './constants';\nimport PACKAGE_FEATURES, { PackageFeatures } from './packageFeatures';\nimport { ComparisonPackageFeatures } from './ComparisonTableTypes';\nimport SummaryComparisonPackageFeatures from './definitions/SummaryComparisonPackageFeatures';\n\nimport {\n EnterprisePackageHeader,\n TeamPackageHeader,\n MonthlyPackageHeader,\n AnnualPackageHeader,\n} from '~pricing/components/Summary';\nimport PackageCta from '~pricing/components/PackageCta';\nimport EnterprisePackageCta from '~pricing/components/EnterprisePackageCta';\n\ntype HeaderRendererProps = {\n packageName: string;\n skuCosts: { skuType: string; cost: number }[];\n details: { displayName: string; label: string };\n ribbonText?: string | boolean | null;\n};\n\ntype FooterRendererProps = {\n packageName: string;\n packageClassName: string;\n small?: boolean;\n};\n\ntype CtaRendererProps = {\n packageName: string;\n packageClassName: string;\n small?: boolean;\n};\n\n/**\n * Package config that defines what is displayed in the upper summary section\n */\nexport type PackageSummary = {\n // The list of features to render in the package summary display\n features: PackageFeatures;\n\n // If the package should be visually highlighted\n highlighted?: boolean;\n\n // The component to render the package summary display footer\n footerRenderer: ComponentType;\n\n // The component to render the package summary display header\n headerRenderer: ComponentType;\n};\n\n/**\n * List of features that a package contains for the comparison table display\n */\nexport type PackageComparison = {\n // The text displayed underneath the package title in the comparison table header\n byline: string;\n\n // Array of features that this package includes\n features: ComparisonPackageFeatures;\n\n // The renderer for the footer CTA\n ctaRenderer: ComponentType;\n};\n\nexport type SummaryPackageConfig = {\n summary: PackageSummary;\n comparison?: PackageComparison;\n};\n\ntype PackageList = {\n [packageId: string]: SummaryPackageConfig;\n};\n\n/**\n * This file contains default rendering configuration for each package that's displayed\n * on the pricing summary page. Each package summary config includes:\n * - `features`: An array of features to render in the package summary\n * - `headerRenderer`: The component to use for the package header.\n * This usually displays price and top CTA.\n * - `footerRenderer`: The component to use for the package footer.\n * This usually contains a CTA and any footnotes for the package\n *\n * Experiments can override these for custom rendering.\n * TODO (mhackmann): Actually allow experiments to override anything\n */\n\nconst SUMMARY_PAGE_RENDERERS: PackageList = Object.freeze({\n // Personal / Individual Packages\n [PACKAGES.StandardMonthly]: {\n summary: {\n features: PACKAGE_FEATURES[PACKAGES.StandardMonthly],\n headerRenderer: MonthlyPackageHeader,\n footerRenderer: PackageCta,\n },\n },\n [PACKAGES.AdvantageAnnual]: {\n summary: {\n features: PACKAGE_FEATURES[PACKAGES.AdvantageAnnual],\n headerRenderer: AnnualPackageHeader,\n footerRenderer: PackageCta,\n highlighted: true,\n },\n },\n [PACKAGES.PremierAnnual]: {\n summary: {\n features: PACKAGE_FEATURES[PACKAGES.PremierAnnual],\n headerRenderer: AnnualPackageHeader,\n footerRenderer: PackageCta,\n },\n },\n\n // Business / Teams Packages\n [PACKAGES.TeamAdvantage]: {\n summary: {\n features: PACKAGE_FEATURES[PACKAGES.TeamAdvantage],\n headerRenderer: TeamPackageHeader,\n footerRenderer: PackageCta,\n },\n comparison: {\n byline: 'Starts at 3 users',\n features: SummaryComparisonPackageFeatures[PACKAGES.TeamAdvantage],\n ctaRenderer: PackageCta,\n },\n },\n [PACKAGES.TeamPremier]: {\n summary: {\n features: PACKAGE_FEATURES[PACKAGES.TeamPremier],\n headerRenderer: TeamPackageHeader,\n footerRenderer: PackageCta,\n },\n comparison: {\n byline: 'Starts at 3 users',\n features: SummaryComparisonPackageFeatures[PACKAGES.TeamPremier],\n ctaRenderer: PackageCta,\n },\n },\n [PACKAGES.Enterprise]: {\n summary: {\n features: PACKAGE_FEATURES[PACKAGES.Enterprise],\n headerRenderer: EnterprisePackageHeader,\n footerRenderer: EnterprisePackageCta,\n },\n comparison: {\n byline: 'For large organizations',\n features: SummaryComparisonPackageFeatures[PACKAGES.Enterprise],\n ctaRenderer: EnterprisePackageCta,\n },\n },\n});\n\nexport default SUMMARY_PAGE_RENDERERS;\n","import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport SUMMARY_PACKAGE_RENDERERS from '~pricing/lib/summaryPackages';\nimport { packageLabelToClassName } from '~pricing/lib/helpers';\nimport { PackagePropTypes, RibbonTextOverridePropType } from '~pricing/lib/proptypes';\n\nimport './package.scss';\n\nconst Package = ({\n details,\n skuCost,\n package: packageName,\n packageRenderers = SUMMARY_PACKAGE_RENDERERS,\n ribbonText = null,\n}) => {\n const packageClassName = packageLabelToClassName(details);\n const {\n summary: { features, headerRenderer: PackageHeader, footerRenderer: PackageFooter },\n } = packageRenderers[packageName];\n\n // Filter out any hidden features. This is the opportunity for an\n // indvidual feature to remove itself from the feature list via\n // whatever logic\n const visibleFeatures = features.filter(feature => !feature.hidden);\n\n return (\n \n \n \n
\n {visibleFeatures.map(feature => {\n return (\n
\n {feature.summaryLine}\n
\n );\n })}\n
\n \n \n \n );\n};\n\nPackage.propTypes = {\n ...PackagePropTypes,\n packageRenderers: PropTypes.objectOf(\n PropTypes.shape({\n summary: PropTypes.shape({\n headerRenderer: PropTypes.func.isRequired,\n footerRenderer: PropTypes.func.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n features: PropTypes.array.isRequired,\n }),\n })\n ),\n ribbonText: RibbonTextOverridePropType,\n};\n\nPackage.defaultProps = {\n packageRenderers: SUMMARY_PACKAGE_RENDERERS,\n ribbonText: null,\n};\n\nexport default Package;\n","// import translations\n\nconst audienceFeatures = [\n {\n name: 'number_of_survey',\n label: 'Unlimited number of surveys',\n included: true,\n },\n {\n name: 'create_question_limit',\n label: '50 questions per survey',\n included: true,\n },\n {\n name: 'number_of_response',\n label: 'Unlimited responses',\n included: true,\n },\n {\n name: 'email_support',\n label: '24/7 customer support via email',\n included: true,\n },\n {\n name: 'customized_survey',\n label: 'Custom colors & survey URL',\n included: true,\n },\n {\n name: 'analyze_export_enabled',\n label: 'Data exports (CSV, PDF, PPT, XLS)',\n included: true,\n },\n {\n name: 'skip_logic',\n label: 'Skip logic',\n included: true,\n },\n {\n name: 'question_answer_piping',\n label: 'Question & answer piping',\n included: true,\n },\n {\n name: 'file_upload',\n label: 'File upload',\n included: false,\n },\n {\n name: 'create_random_assignment_enabled',\n label: 'A/B test text and images',\n included: true,\n },\n {\n name: 'create_toggle_footer_enabled',\n label: 'Hide SurveyMonkey footer',\n included: true,\n },\n {\n name: 'multilingual',\n label: 'Multilingual surveys',\n included: true,\n },\n];\n\nexport default audienceFeatures;\n","import React from 'react';\n\nexport const EnabledCheckMark = () => {\n return (\n \n );\n};\n\nexport default EnabledCheckMark;\n","import React from 'react';\n\nexport const DisabledCheckMark = () => {\n return (\n \n );\n};\n\nexport default DisabledCheckMark;\n","import React from 'react';\nimport { useLocation } from 'react-router-dom';\nimport { Typography, Button, Container } from '@sm/wds-react';\nimport ROUTE_CONFIG from '../Navigation/routes';\nimport audienceFeatures from './config/features';\nimport EnabledCheckMark from './components/EnabledCheckMark';\nimport DisabledCheckMark from './components/DisabledCheckMark';\nimport './audience-footer.scss';\n\nconst getUTSource = currentPath => {\n if (currentPath === ROUTE_CONFIG.teamsPricingPage.path) {\n return ROUTE_CONFIG.teamsPricingPage.queryString.ut_source;\n }\n\n if (currentPath === ROUTE_CONFIG.individualPricingPage.path) {\n return ROUTE_CONFIG.individualPricingPage.queryString.ut_source;\n }\n\n // by default return 'pricing' as ut source\n return 'pricing';\n};\n\nexport const AudienceFooter = () => {\n const currentPath = useLocation().pathname;\n return (\n \n \n \n SurveyMonkey Audience includes access to Paid Features\n \n \n\n \n \n \n Get survey responses from around the world in minutes with\n SurveyMonkey Audience\n \n \n\n \n \n Target the types of people you want to hear from based on specific attributes, like country, gender, age,\n income, employment status, and more.\n \n \n\n \n \n \n\n \n Advanced survey design and analysis features are included in the price of your Audience project.\n \n\n \n {audienceFeatures.map(feature => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n {feature.label}\n \n \n );\n })}\n \n \n \n );\n};\n\nexport default AudienceFooter;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Col, Link, Typography } from '@sm/wds-react';\nimport { IconArrowRight } from '@sm/wds-icons';\n\nimport { PACKAGES, MONTHLY_PACKAGES, TEAMS_PACKAGES } from '~pricing/lib/constants';\nimport { PackageListPropTypes } from '~pricing/lib/proptypes';\nimport AudienceFooter from '../AudienceFooter';\n\nimport './summary-footer.scss';\n\nconst FaqQuestion = ({ children }) => (\n \n {children}\n \n);\n\nFaqQuestion.propTypes = {\n children: PropTypes.string.isRequired,\n};\n\nconst FaqAnswer = ({ children }) => (\n \n {children}\n \n);\n\nFaqAnswer.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nconst SummaryFooter = ({ packages }) => (\n \n);\n\nSummaryFooter.propTypes = {\n packages: PackageListPropTypes.isRequired,\n};\n\nexport default SummaryFooter;\n","import classnames from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nconst ComparisonTable = ({ children, packageCount = 0, className = '' }) => (\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 {\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 { Theme } from '@wds/styles';\nimport { Palette as PricingPalette } from './colors';\n\n// Any theme object we expose show be define here by its type or interface\ntype PricingTheme = {\n pricingPalette: PricingPalette;\n};\n\nexport type PricingAppTheme = Theme & PricingTheme;\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 },\n};\n\nexport function getPricingTheme(): PricingTheme {\n return {\n pricingPalette, // User defined theme\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';\n\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\":\"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\":\"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","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"getPricingPageExperience\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"countryCode\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"defaultValue\":{\"kind\":\"StringValue\",\"value\":\"US\",\"block\":false},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"languageCode\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"defaultValue\":{\"kind\":\"StringValue\",\"value\":\"en\",\"block\":false},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"experienceName\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"encryptParams\"}},\"type\":{\"kind\":\"ListType\",\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"PricingPageEncryptParam\"}}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"pricingPageExperience\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"countryCode\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"countryCode\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"languageCode\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"languageCode\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"experienceName\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"experienceName\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"encryptParams\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"encryptParams\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"country\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"alias\":{\"kind\":\"Name\",\"value\":\"packages\"},\"name\":{\"kind\":\"Name\",\"value\":\"package\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"package\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"encryptedCtaParam\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"featureSetId\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"details\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"label\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"displayName\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isOverageable\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isPaid\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"tier\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"features\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"amount\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"isEnabled\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"setting\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"skuCost\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"skuType\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"country\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"cost\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"label\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"sku\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"currency\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"code\"},\"arguments\":[],\"directives\":[]}]}}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"bundle\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"label\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"sku\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"skuType\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"cost\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"quantity\"},\"arguments\":[],\"directives\":[]}]}}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"priceTestCookies\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"value\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"age\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":960}};\n doc.loc.source = {\"body\":\"query getPricingPageExperience(\\n $countryCode: String = \\\"US\\\"\\n $languageCode: String = \\\"en\\\"\\n $experienceName: String\\n $encryptParams: [PricingPageEncryptParam!]\\n) {\\n pricingPageExperience(\\n countryCode: $countryCode\\n languageCode: $languageCode\\n experienceName: $experienceName\\n encryptParams: $encryptParams\\n ) {\\n name\\n country\\n packages: package {\\n package\\n encryptedCtaParam\\n featureSetId\\n details {\\n label\\n displayName\\n isOverageable\\n isPaid\\n tier\\n }\\n features {\\n name\\n amount\\n isEnabled\\n setting\\n }\\n skuCost {\\n skuType\\n country\\n cost\\n label\\n sku\\n currency {\\n id\\n code\\n }\\n }\\n bundle {\\n id\\n label\\n sku\\n skuType\\n cost\\n quantity\\n }\\n }\\n priceTestCookies {\\n name\\n value\\n age\\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[\"getPricingPageExperience\"] = oneQuery(doc, \"getPricingPageExperience\");\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","color","includeHeader","includeFooter","pageId","legacyWeb","T","content","className","href","generateMetricsAttribute","data","actionType","actionFlow","Typography","variant","desc","component","Button","require","MAIN_HEADING","TEAM_PLANS","INDIVIDUAL_PLANS","ENTERPRISE","SIZE_OPTIONS","convertToObject","reduce","a","v","freeze","default","sm","WrenchTheme","md","lg","xl","xs","none","lowerBPMediaQuery","size","overrideSize","DISPLAY_SIZE_OPTIONS","MD_MEDIA_QUERY","createUseStyles","spacing","type","Heading","display","fontSize","sectionTitle","textAlign","margin","fontWeight","medium","hero2","MainHeading","children","useHeadingStyles","teamsPricingPage","path","title","queryString","ut_source","packageType","individualPricingPage","audienceFooter","palette","Container","marginBottom","List","listStyle","justifyContent","padding","ListItem","bodySm","alignItems","body","text","dark","textDecoration","borderBottom","primary","main","NavItem","route","selected","url","createURL","usePricingNavigationStyles","Navigation","useNavigationStyles","role","ROUTE_CONFIG","routeName","key","Ribbon","packageName","classList","classnames","defaultProps","PACKAGES","PACKAGE_IDS","MONTHLY_PACKAGES","INDIVIDUAL_PACKAGES","TEAMS_PACKAGES","GUAC_COUNTRY_CODES","TEAM_COMPARISON_PACKAGES","HIGHLIGHTED_PACKAGES","SKIP_HREF_LANG_TAGS","PackageCta","packageClassName","small","user","useContext","StaticContext","packageId","ctaUrl","isAuthenticated","ctaText","stretched","PackagePropTypes","details","PropTypes","displayName","label","isRequired","skuCost","skuType","cost","package","FeatureTooltipPropTypes","FeaturePropTypes","summaryLine","tooltip","hidden","PackageSummaryPropTypes","features","headerRenderer","footerRenderer","PackageComparisonPropTypes","byline","ctaRenderer","SummaryPackageConfigPropTypes","summary","comparison","ComparisonTableFeaturePropTypes","ComparisonTableCategoryFeaturesPropTypes","ComparisonTableCategoryPropTypes","PackageHeader","packageLabel","priceValue","priceUnit","ribbonText","CtaOverride","EnterprisePackageCta","EnterprisePackageHeader","toUpperCase","packageLabelToClassName","packageObj","trim","replace","toLowerCase","formatMonthlyCostInLocaleCurrency","monthlyCost","monthlyCostInDollars","parseInt","FormattedNumber","value","formatStyle","currency","currencyDisplay","minimumFractionDigits","formatCostInLocaleCurrency","getCoreCostFromSkus","skuCosts","find","sku","featureIsNonGuacOnly","featureIsGuacOnly","countryCode","environment","includes","PricingExperienceContext","createContext","PricingExperienceProvider","Provider","TeamPackageHeader","ribbonTextOverride","coreSeatCost","formattedPrice","packageData","comparisonPackageName","savingsPercentage","calculateSavingsPercent","skuCostOriginal","skuCostDiscounted","retVal","costDifference","Math","round","AnnualPackageHeader","formattedMonthlyPrice","formattedAnnualPrice","indexOf","MonthlyPackageHeader","create_survey_limit","analyze_response_limit","analyze_response_limit_monthly_plans","crosstab","collector_create_limit","mobile_apps_ios_android","user_accounts","add_users","advanced_permissions","build_surveys_together","analyze_results_together","custom_templates","team_themes","shared_group_library","international_email_support","team_ownership","add_additional_users","consolidated_billing","essential_question_types","all_languages_supported","labeling_titles_numbering","create_templates_enabled","question_library","create_skip_logic_enabled","matrix_of_dropdown_menus","file_upload","advanced_logic","create_randomization_enabled","a_b_testing","create_quotas_enabled","multiple_block_rotation_enabled","create_logo_enabled","create_custom_theme_enabled","collector_friendly_url_enabled","custom_html_email_invitations","create_piping_enabled","carry_forward","collector_completion_url_enabled","create_custom_variables_enabled","collector_white_label_enabled","analyze_shared_results_enabled","analyze_trends_enabled","filter_crosstab","word_cloud","word_cloud_combine_hide","text_analysis","sentiment_analysis","dashboard","dashboard_password_protection","statistical_significance","benchmarks","validate_answer","randomize_answer_choices","view_respondent_ip_address","record_respondent_email_address","confirmation_email_to_respondents","complimentary_audience_credits","hipaa_enabled","send_surveys","mobile_sdk","mobile_sdk_data_pull","extract_data","api_access","multilingual","quizzes_pro","recurring_surveys","industry_benchmarks","custom_question_bank","payment_question_type","inactivity_timer","passcode_lock","premium_themes","custom_subdomain","team_customer_success_manager","enterprise_admin_dashboard","enterprise_activity_tracking","enterprise_account_control","enterprise_sso","enterprise_global_settings","enterprise_custom_terms_of_service","enterprise_integrations","enterprise_hipaa_compliance","summary_accept_payments","summary_24_7_customer_support_via_email","summary_24_7_customer_support_via_email_intl","summary_team_accounts_and_tools","summary_team_collaboration_available","summary_advanced_data_exports","summary_sentiment_analysis","summary_survey_logic","summary_survey_analysis","summary_advanced_survey_analysis_asia","summary_audience_panel_credits","summary_team_share_surveys","summary_team_comments","summary_team_analyze_filter_export","summary_team_responses_nodification","summary_team_shared_library","summary_team_add_reassign_accounts","summary_team_collaboration_app_integrations","summary_team_surveys_questions_responses","summary_team_expedited_email_support","summary_team_quizzes","summary_team_filters_and_crosstabs","summary_team_custom_logo","summary_team_skip_logic","summary_team_data_exports","summary_team_advanced_analyze","summary_team_industry_benchmarks","summary_team_advanced_survey_logic","summary_team_block_randomization","summary_team_white_label","summary_team_multilingual","summary_team_completion_redirect","summary_team_remove_surveymonkey_footer","summary_team_api_access","summary_team_role_based_collaboration","summary_team_flexible_plan_types","summary_team_hipaa_compliant","summary_team_custom_branding","summary_team_3rd_part_integrations","summary_team_unlimited_api_access","summary_team_admin_dashboard","summary_team_account_control_migration","summary_team_enhanced_governance_security","summary_team_sso","summary_team_logs_audit","summary_team_customer_success_manager","summary_team_priority_247_email_phone_support","summary_number_of_surveys","summary_questions_per_survey","summary_number_of_responses","summary_number_of_responses_monthly_plans","summary_customer_support","summary_customer_support_monthly_plans","summary_english_customer_support","summary_international_customer_support","summary_user_accounts","summary_quizzes","summary_filters_and_crosstabs","summary_trended_data","summary_customized_surveys","summary_data_exports","summary_customized_survey_experience","summary_a_b_testing","summary_ab_testing","summary_block_randomization","summary_quotas","summary_custom_variables","summary_file_upload","summary_statistical_significance","summary_complimentary_audience_credits","summary_industry_benchmarks","summary_advanced_logic","summary_collector_white_label_enabled","summary_multilingual","summary_text_analysis","summary_advanced_survey_analysis","summary_randomize_question_page_blocks","summary_piping","summary_redirect","summary_phone_support","summary_carry_forward","summary_matrix_of_dropdown_menus","summary_advanced_branching_and_piping","summary_advanced_data_exports_spss","summary_abbr_customized_surveys","summary_abbr_data_exports","summary_abbr_unlimited_data_filters","summary_abbr_compare_crosstabs","summary_abbr_skip_logic","summary_abbr_text_analysis","summary_abbr_statistical_significance","summary_abbr_ab_test","summary_abbr_page_question_randomization","summary_abbr_carry_forward","summary_abbr_file_upload","summary_abbr_advanced_branching","summary_abbr_advanced_piping","summary_abbr_custom_redirects","summary_abbr_remove_footer","summary_abbr_research_url","summary_custom_survey_link","FEATURES","TEAM_ADVTANTAGE","unlimited_surveys","unlimited_questions","unlimited_responses","unlimited_collectors","email_support","survey_templates","quizzes","question_page_skip_logic","question_page_randomization","a_b_test_question","custom_variables","accept_payments","custom_logo_colors_url","custom_email_invites","require_answer_completion","survey_end_date","view_ip_addresses","confirmation_email","data_trends","filter_and_compare","custom_reports","data_exports","word_clouds","results_dashboards","build_together","survey_sharing_with_editing","fine_permission_controls","team_analyze","shared_templates","add_reassign_accounts","free_integrations","password_protected","iso_27001","accessible","TEAM_PREMIER","phone_support","adv_branching_and_piping","block_randomization","multilingual_surveys","remove_footer","change_survey_url","website_redirect","crosstabs","direct_api","customer_success_manager","custom_email","custom_terms","sms_offline_collection","smart_notifications","hippa_compliance","admin_dashboard","roles_workgroups","global_settings","api_limits","bi_integrations","activity_tracking","single_signon","account_control","PACKAGE_FEATURES","highlighted","SummaryComparisonPackageFeatures","Package","packageRenderers","SUMMARY_PACKAGE_RENDERERS","PackageFooter","visibleFeatures","filter","feature","included","EnabledCheckMark","viewBox","xmlns","fill","fillRule","d","stroke","strokeLinecap","strokeLinejoin","strokeWidth","DisabledCheckMark","cx","cy","r","getUTSource","currentPath","AudienceFooter","useLocation","pathname","align","px","pt","pz","mt","mb","flex","flexWrap","audienceFeatures","m","p","mr","FaqQuestion","FaqAnswer","SummaryFooter","packages","Link","IconArrowRight","Col","term","ComparisonTable","packageCount","tabIndex","ComparisonTableHeader","ComparisonTableHeaderCell","a11yId","scope","ComparisonTableCategory","opened","useState","open","setOpen","a11yButtonText","ChevronIcon","IconChevronDown","IconChevronUp","colSpan","length","onClick","prevState","ComparisonTableFeatureRow","a11yHeaders","headers","join","Tooltip","placement","IconInfo","ComparisonTableFeatureCell","checked","cell","IconCheck","ComparisonTableFooter","ComparisonTableFooterCell","SummaryComparisonTableHeader","pricingPackage","packageTableDetails","SummaryComparisonTableFooter","CtaRenderer","createPackageA11yId","SummaryComparisonTable","packagesConfig","comparisonTableDef","category","index","categoryA11yId","createCategoryA11yId","featureA11yId","createFeatureA11yId","usePricingExperience","encryptParams","experienceName","languageCode","priceTestCookies","setPriceTestCookies","useQuery","getPricingPageExperience","variables","onCompleted","pricingPageExperience","loading","error","isBrowser","getClientEnvironmentDetails","Array","isArray","cookies","domain","window","location","host","forEach","cookieObj","document","cookie","age","savePriceTestExperimentCookies","HrefLangTags","canonicalPath","subdomain","tld","LINKS","lang","hrefLangTags","rel","hrefLang","PricingSummaryPage","packageSet","packageTypes","displayedPackages","createPackagesList","sticky","RequiredHeadTags","Grid","Row","PricingSummary","match","params","PricingRouter","exact","SEARCHBOX_PLACEHOLDER","mapItemsToAutocomplete","publishedApplicationListingsByKeyword","items","logo","links","detail","link","SearchBox","Component","state","keyword","handleTermChanged","this","setState","handleItemSelected","assign","handleSubmit","MetricsTracker","USER_EVENTS","amplitudeEvent","searchTerm","props","history","push","render","context","query","publishedApplicationListingsByKeywordQuery","skip","language","languageId","placeholder","onTextChanged","onItemSelected","onSubmit","isLoading","hasError","renderItem","alt","src","AppPlaceHolderImg","withRouter","contextType","JUMBO_TAGLINE","JUMBO_SUBTITLE","JumboHeader","HEADER_EXP","isModernTreatment","shouldShowNewHeader","AppLink","app","isIntegration","to","AppsGrid","apps","noBleeds","categories","userAgent","isDesktop","defaultMatches","height","width","x","y","rx","ry","FEATURED_APPS_TITLE","RECENTLY_ADDED_APPS_TITLE","MOST_RECENT_APPS_TITLE","GRID_APPS_SEE_MORE","AppsGridContainer","gridOption","search","option","moreLink","page","pageSize","retrieveValuesForGridOption","publishedApplicationListingsQuery","publishedApplicationListings","SidebarSkeleton","LinkWithSearch","args","staticContext","NAVBAR_APPS_DIRECTORY","NAVBAR_CATEGORIES","NAVBAR_MY_APPS","NAVBAR_FEATURED","NAVBAR_MOST_POPULAR","NAVBAR_RECENTLY_ADDED","SidebarLink","target","dataTestId","NavBar","publishedApplicationListingCategoriesQuery","Accordion","AccordionItem","dense","transparent","publishedApplicationListingCategories","cat","TopBarSkeleton","DefaultLoader","ProgressCircle","continuous","MODULE_SKELETONS","top_bar","UCSModule","moduleHTML","renderLoadingState","customLoader","moduleName","ModuleLoader","componentDidMount","_isMounted","getModuleHTML","componentWillUnmount","getPreloadedModule","moduleContainer","getElementById","remove","textContent","reFetchFailed","reFetchModule","clientErrorHandler","moduleContent","fetch","credentials","json","html","classNames","dangerouslySetInnerHTML","__html","sanitizeString","BoundUCSModule","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","nav","Menu","autoClose","noRules","menuTrigger","IconCaretDown","MenuItem","isNavigable","navigationTarget","urlWithSearch","AppDirNavHeaderMobile","authorizedMenuItems","IconLogoGoldie","IconMenu","MenuGroup","NAV_EXPLORE","NAV_MANAGE","NAV_DEVELOP","NAV_PARTNER","subdomainUri","altdomain","navigationItems","requiresAuthentication","AppDirNavHeader","userDropDownQuery","hasMultipleLinkedIdentities","linkedIdentities","totalCount","item","isEUDC","locale","isUserAuthenticated","wrenchVariant","AppDirectoryBasePage","header","navbar","pageMetricsAttributes","fluid","waitForUsabilla","callback","count","waitForUsabillaLiveToLoad","usabilla_live","setTimeout","Home","useEffect","AppListingList","tagline","Categories","categoryKey","publishedApplicationListingCategory","ListingsBasePage","pageTitle","PAGE_TITLE","Featured","MostPopular","RecentlyAdded","SEARCH_RESULTS","RESULTS_NOT_FOUND","FILL_IN_KEYWORD","Search","URLSearchParams","get","Card","REMOVE_DIALOG_HEADER","REMOVE_DIALOG_MESSAGE","REMOVE_DIALOG_CONFIRM","REMOVE_DIALOG_CANCEL","RemoveApp","appId","onSuccess","onClose","confirmDialogVisible","setConfirmDialogVisible","onKeyUp","mutation","uninstallAppMutation","input","uninstallApp","Modal","show","ModalHeader","ModalBody","ModalFooter","Align","disabled","NO_RESULTS_FOUND","LAUNCH_APP_LINK","APP_DETAILS_LINK","REMOVE_APP_LINK","renderCategories","c","MyApps","installedApplications","refetch","launch","IconDesktop","IconBadge","IconTrash","media","current","setCurrent","currentMedia","allowFullScreen","altText","mediaIdx","AppDetailsItem","icon","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","getLangFromUrl","getAppDetails","previewApplicationListingDetails","publishedApplicationListingDetails","appDetails","googleAnalyticsTrackingId","trackerName","ReactGA","appName","installed","linkType","mdOrder","noRule","upgradeRequired","optionalUpgrade","Banner","showIcon","IconTag","websiteUrl","publisher","supportEmail","IconEmail","supportPhoneNumber","IconLogoWhatsApp","supportUrl","IconGlobe","IconLock","privacyPolicyUrl","IconNews","termsOfUseUrl","blogUrl","IconMegaphone","concat","youtubeUrl","screenshots","s","featureList","Tabs","onChange","Tab","fullDescription","requirements","substitute","accountType","IconUserFilled","pricingUrl","scopes","IconGear","AppsDirectoryRouter","country","loggingAPIPath","amplitudeToken","unlisten","listen","scrollTo","Details","DetailsPage","MyAppsPage","RecentlyAddedPage","MostPopularPage","FeaturedPage","SearchPage","CategoriesPage","HomePage","FourOhFourError","PRODUCT_CATEGORY","AUDIENCE","EXPERT_SOLUTIONS","FILTER_KEY","CATEGORY","NAV_VARIANT","LIGHT","DARK","BROWSER","IE","UNKNOWN","MSInputMethodContext","documentMode","handler","onKeyPress","createElement","useLayoutEffect","config","queryParams","anchor","paramKey","buildEventData","trackEvent","LOGGER_NAME","SOLUTIONS","NAV","BI_MARKETPLACE_MODAL","ActionFlowLogger","constructor","registerActionKey","handlerName","logger","createLogger","removeSpaces","str","getLoggedModuleType","moduleType","getLinkGenerator","utSource","utSource2","ut_source2","utSource3","ut_source3","conf","utSource3sub","utCtaText","ut_ctatext","linkConfig","getLinkWithParams","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","image","ctaLink","learnMoreLink","priority","products","cursorPos","useRef","clientX","clientY","isCursorOverElement","element","rect","getBoundingClientRect","isInBound","top","bottom","left","right","getLinkTestId","ExpandableMenu","isOpen","onBlur","boundingElementId","cursor","useCursor","getText","textClasses","getClickHandlers","interactive","TEST_ID","NavForDesktop","openMenu","setOpenMenu","scrolledToTop","setScrolledToTop","useIsomorphicLayoutEffect","addScrollListener","isAtTop","classes","mrxLogoLight","mrxLogoDark","buttonColor","buttonVariant","buttonClass","textVariant","noGutters","MENU_CONFIG","undefined","NavForTablet","setIsOpen","useLight","chevronColor","scrollPosRef","isScrolledToTop","NavForIE","removeListener","add","removeScrollListener","MRXNav","mobileOpen","setMobileOpen","_setOpenMenu","menu","useBrowser","MRXPage","previewImageHref","canonicalLink","requestUrl","mobileNavOpen","_setMobileNavOpen","scrollPosition","mPreviewImageHref","startsWith","isMRX","property","previewImage","subtitle","MRXHeader","isIE","VECTOR","UP","DOWN","RIGHT","LEFT","getSwipeVectorFromPoints","start","end","vector","vectorDeg","quadrant","isUpperHemisphere","isLeftHemisphere","getQuadrant","convertToAbsoluteAngle","atan","PI","getDistanceBetweenPoints","trunc","sqrt","Carousel","currentOffset","setCurrentOffset","touchDownPosition","onTouchStart","touches","onTouchEnd","pos","changedTouches","touchStartPos","touchEndPos","hasSwipedRight","Children","child","idx","isFocused","myOffset","style","timeout","getOffsetTop","offsetParent","offsetTop","scrollToElement","clearTimeout","offset","focus","Anchor","hash","hashId","slice","ProductTile","ctaButton","outerClasses","ProductCategory","first","product","description1","description2","learnMore","getBodySection","isMobile","HereToHelp","expertsImage","BREAK_POINT","MD","LG","XL","SCREEN","MOBILE","TABLET","MOBILE_TABLET","SMALL_DESKTOP","LARGE_DESKTOP","DESKTOP","CustomScreen","screen","matchMedia","matches","setMatches","doesMatch","propTypes","async","useBig","getImage","imgName","_getImage","UsedInOrgs","logos","setLogos","screenSize","setScreenSize","getLocalizedLogos","FILTERS","filterValues","prod","productCategory","filterParams","filterKey","SynchronousQueryStream","apolloClient","actions","client","resolveToContext","ctx","resolveQueryResultToContext","peek","catch","startIdx","catchHandlers","range","collect","result","i","err","handled","j","catchHandler","audiencePanel","audiencePanelDescription","expertSolutionsDescription","getStarted","contactUs","tryItNow","surveyMonkeyAudience","surveyMonkeyAudienceDescription","biLogger","getAudienceCategory","ctaCopy","audienceImage","click","MRX","productCategories","searchParams","validFilterKeys","values","split","getFilterParamsFromUrlLocation","mProductCategories","filterProducts","orderedCategories","sort","keyA","keyB","priorityA","priorityB","pcKey","FETCH_STATE","LOADING","ERROR","IDLE","Wrapper","useIntercom","ctmProducts","fetchState","setFetchState","inner","pageLoad","modulesQuery","userQuery","_","modules","hasPurchasedModule","preferences","subtype","marketingPage","mapModules","withApollo","CreateWizardConfigContext","React","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","InputGroup","Input","event","InputGroupAddon","QuizChoice","answer","handleScoreChange","score","MultipleChoice","question","surveyType","updateQuestion","maxAnsChoices","currentQuestion","cloneDeep","answers","down","splice","val","addAnswer","IconPlusCircle","questionType","min","max","allowComments","required","isNew","isUpdated","defaultPollQuestionConfig","forTypes","maxOptions","customConfigs","hideRequired","defaultSurveyQuestionConfig","getQuestionConfigs","configs","questionArray","disabledQuestionTypes","questionConfigOverride","getDefaultQuestionConfig","every","enabledQuestionTypes","sendMessage","msg","parent","postMessage","ACTION_TYPES","PREVIEW","READ_ONLY","NO_CHANGE","UPDATE","SAVE","CANCEL","BACK","isQuestionInvalid","errors","message","validateQuestionType","validateMultipleChoiceQuestionType","minmaxid","validateSliderQuestionType","Date","getUTCMilliseconds","toString","mapAnswersFromAPI","apiQuestion","family","choices","choice","quiz_options","mapQuestionTypeFromAPI","displayOptions","singleChoiceSubType","display_type","display_subtype","mapQuestionToAPI","position","isQuiz","originalQuestionFromApi","familySubType","mapQuestionTypeToAPI","headings","heading","layout","updatedQuestion","amount","handleRequired","mappedAnwers","visible","rows","weight","mapAnswersToAPI","display_options","forced_ranking","handleStarQuestionType","right_label","custom_options","starting_position","step_size","left_label","validation","sum_text","handleSliderQuestionType","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","createNewQuestion","questions","setQuestions","surveyTitle","setSurveyTitle","setSurveyType","shouldRedirectBackToHome","setShouldRedirectBackToHome","redirectUrl","setRedirectUrl","isNewSurvey","edit","questionsFromApiMap","setQuestionsFromApiMap","questionConfigs","showUnsupportedAlert","setUnsupportedAlert","loadMappedQuestionsList","useCallback","surveyData","questionsList","questionsFromAPIList","pages","q","question_id","initialPosition","mapQuestionFromApi","unsupported","newMap","iconColor","buttonTextColor","secondaryButtonColor","secondaryButtonTextColor","badgeColor","badgeTextColor","containerBackgroundColor","middleContainerBackgroundColor","inputBackgroundColor","inputBorderColor","inputBorderHoverColor","inputBorderFocusColor","inputLabelBackgroundColor","root","documentElement","setProperty","showToast","setShowToast","errorText","setErrorText","questionsToDelete","setQuestionsToDelete","hasErrors","questionErrors","saveSurvey","overrideAction","dataToSend","questionsToSend","mappedQuestion","buildQuestionData","action","changeIds","JSON","stringify","errorClass","_question","questionsTemp","foundIndex","findIndex","errOutline","querySelector","moveQuestion","from","showErrors","errObj","handleUpdate","questionFromApi","questionToDelete","determineActionType","localStorage","removeItem","handleSave","handleCancel","isSubmitDisabled","ml","IconArrowLeft","pl","Alert","my","Badge","Select","attributes","supportedSurveyType","Option","uuid","questionID","IconMore","questionsToDeleteList","filteredQuestions","deleteQuestion","tmpQuestion","handleQuestionTypeChange","getQuestionTypes","handleQuestionChange","IconStarFilled","handleMinChange","handleMaxChange","Switch","handleRequiredChange","flexJustify","questionTitles","getElementsByClassName","addQuestion","Toast","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","source","parse","pb","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","portedPages","useStyles","headerPlaceholderSabeus","background","headerPlaceholderBlack","fixLinks","getElementsByTagName","headerLink","headerLinkHref","postRenderHeader","setPostRenderHeader","mobileButtons","querySelectorAll","mobileButton","fixSubdomainLinks","tryAttachCount","attachAccountAction","setInterval","accountButton","clearInterval","fixAccountLinks","DeveloperWebBasePage","footer","postRenderFooter","setPostRenderFooter","staticFooter","languageButton","languageMenuItems","fixLanguagerDropdown","targetUrl","setTargetUrl","developerEUSubdomain","developerSubdomain","prependUrl","prependStatic","developerApplications","mx","Docs","frameRef","addEu","comOrCa","origin","query_string","pushState","newurl","protocol","frameBorder","ref","AppTable","privateTable","planLabel","user_data","private_apps","col1","col2","col3","firstCol","secondCol","FAQ","renderSection1","renderSection2","renderSection3","renderSection4","renderSection5","renderSection6","renderSection7","renderSection8","renderSection9","renderSection10","renderSection11","renderSection12","TOU","renderAppChecklist","renderAPIChecklist","addOnLeft","IconCheckCircle","BuildAPrivateApp","IconFolderUser","IconChartSegment","renderListingChecklist","BuildAPublicApp","IconLogoOutlook","IconListChecks","DeveloperWebRouter","DocsPage","FAQPage","TOUPage","BuildAPrivateAppPage","BuildAPublicAppPage","App","Pricing","AppsDirectory","MRXSolutions","CreateWizard","DeveloperWeb","pricingPalette","colors","sabaeus","midnight","arctic","concord","raspberry","bengal","bumblebee","black","charcoal","slate","stone","flint","pebble","canvas","white","allClientStaticData","SM","__LOAD_PAYLOAD_CACHE__","pageRequestId","appVersion","graphQLUri","gql","gqlCache","bugSnagClientConfig","initializeClientErrorHandler","localeMessages","createBrowserApolloClient","uri","cacheHydration","fragmentMatcherFn","getGraphQLFragmentMatcher","IntrospectionFragmentMatcher","introspectionQueryResultData","linkOptions","batchInterval","metadata","availableLoggedOutPaths","globalTheme","merge","getPricingTheme","rendered","messages","theme","FallbackComponent","FiveHundredErrorPage","L10nProvider","localeCode","slLanguageLocale","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":""}