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N7I,KAAKC,MACsB,KAAlC,EAAIyI,EAAKH,OAASJ,IACtB,KACC,OAOjBhI,EAAAA,cAAAA,EAAAA,SAAA,KACT,C,kDC3NF,MAAMsK,EAAgBpM,EAAAA,QAAOC,IAAGC,WAAA,CAAAC,YAAA,oCAAAC,YAAA,gBAAVJ,CAAU,gfAC1B,uBAEFK,IAAA,IAAC,MAAEgH,GAAOhH,EAAA,2BAA0BgH,EAAK,MAGrC,uEAGUpD,IAAA,IAAC,GAAE+B,GAAI/B,EAAA,aAAY+B,EAAE,OAKxBqG,IAAA,IAAC,QAAEvJ,GAASuJ,EAAA,OAAKvJ,GAAW,KAAK,GAmBtC,4EAWA,wBAKJwJ,EAAWtM,EAAAA,QAAOC,IAAGC,WAAA,CAAAC,YAAA,+BAAAC,YAAA,gBAAVJ,CAAU,4OAoC3B,IAd0BuM,IAMnB,IANoB,GACzBvG,EAAE,SACF1F,EAAQ,UACRG,EAAS,cACT6D,KACGT,GACJ0I,EACC,OACEzK,EAAAA,cAACsK,EAAarJ,OAAAC,OAAA,CAACgD,GAAIA,EAAIvF,UAAS,IAAKA,GAAa,KAAUoD,GAC1D/B,EAAAA,cAACwK,EAAQ,CAAC7L,UAAW6D,GAAgBhE,GACvB,C,wBCpFpB,IAAe,IAA0B,kD,wBCAzC,IAAe,IAA0B,4E,wBCAzC,IAAe,IAA0B,oE","sources":["webpack://parrot-analytics-gatsby/./src/components/button.js","webpack://parrot-analytics-gatsby/./src/images/bg/demand360-dots.jpg","webpack://parrot-analytics-gatsby/./src/components/demand360-ad.js","webpack://parrot-analytics-gatsby/./src/components/img.js","webpack://parrot-analytics-gatsby/./src/components/switch.js","webpack://parrot-analytics-gatsby/./src/components/plan-price.js","webpack://parrot-analytics-gatsby/./src/components/section-background.js","webpack://parrot-analytics-gatsby/./src/images/bg/topo.jpg","webpack://parrot-analytics-gatsby/./src/images/logos/demand360-lite-product-regular.png","webpack://parrot-analytics-gatsby/./src/images/logos/demand360-lite-product.png"],"sourcesContent":["import React, { useState } from \"react\"\nimport { navigate } from \"@reach/router\"\nimport tw, { styled } from \"twin.macro\"\nimport { motion } from \"framer-motion\"\n\nconst Styles = styled.div`\n ${tw`inline-block relative overflow-visible`}\n --button-color: #05c56b;\n\n button {\n ${tw`rounded uppercase font-display text-white relative w-full`}\n font-size: 18px;\n line-height: 14px;\n padding: 1.25rem;\n z-index: 2;\n -webkit-appearance: none;\n appearance: none;\n transition: all 100ms;\n\n /* default color is green */\n background: linear-gradient(180deg, #05c56b 0%, #00933e 100%);\n &:hover {\n background: linear-gradient(0deg, #05c56b 0%, #00933e 100%);\n }\n\n &:active {\n transform: scale(0.9);\n background-color: rgba(0, 0, 0, 0.2);\n background: linear-gradient(180deg, #05c56bcc 0%, #00933ecc 100%);\n }\n\n &:focus {\n outline: 0;\n }\n }\n\n &.small {\n button {\n font-size: 14px;\n line-height: 12px;\n padding: 1rem;\n }\n }\n\n &.flat {\n button {\n background: #333333;\n }\n --button-color: #333333;\n }\n\n &.blue {\n --button-color: #3498db;\n button {\n background: linear-gradient(180deg, #3498db 0%, #006aa9 100%);\n\n &:hover {\n background: linear-gradient(0deg, #3498db 0%, #006aa9 100%);\n }\n }\n\n &.glow {\n button {\n box-shadow: 0 0 4px 0 rgba(0, 106, 169, 0.51);\n }\n }\n }\n\n &.purple {\n --button-color: #7c43c9;\n button {\n background: linear-gradient(180deg, #7c43c9 0%, #481397 100%);\n\n &:hover {\n background: linear-gradient(0deg, #7c43c9 0%, #481397 100%);\n }\n }\n\n &.glow {\n button {\n box-shadow: 4px 4px 15px 0 rgba(124, 67, 201, 0.5);\n }\n }\n }\n\n &.red {\n --button-color: #e3284c;\n button {\n background: linear-gradient(180deg, #e3284c 0%, #aa0024 100%);\n\n &:hover {\n background: linear-gradient(0deg, #e3284c 0%, #aa0024 100%);\n }\n }\n\n &.glow {\n button {\n box-shadow: 4px 4px 15px 0 rgba(227, 40, 76, 0.5);\n }\n }\n }\n\n &.yellow {\n --button-color: #c69724;\n button {\n background: linear-gradient(180deg, #c69724 0.06%, #876718 100%);\n\n &:hover {\n background: linear-gradient(0deg, #c69724 0.06%, #876718 100%);\n }\n }\n }\n\n &.transparent {\n --button-color: rgba(0, 0, 0, 0);\n button {\n background: rgba(0, 0, 0, 0);\n }\n\n &:hover {\n color: #e6e6e6;\n }\n }\n\n &.semi-transparent {\n --button-color: rgba(0, 0, 0, 0.3);\n button {\n background: rgba(0, 0, 0, 0.4);\n }\n\n box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1), 0px 1px 1px rgba(0, 0, 0, 0.1),\n 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 4px rgba(0, 0, 0, 0.1),\n 0px 8px 8px rgba(0, 0, 0, 0.1);\n border-radius: 5px;\n\n &:hover {\n color: #e6e6e6;\n }\n }\n\n .bubble {\n border-radius: 999px;\n border: 1px solid var(--button-color);\n position: absolute;\n opacity: 0;\n\n &.filled {\n background-color: var(--button-color);\n }\n }\n\n &.secondary {\n button {\n ${tw`font-bold text-springgreen-secondary`}\n\n background: linear-gradient(\n 180deg,\n rgba(255, 255, 255, 0.14) 0%,\n rgba(255, 255, 255, 0.1) 100%\n );\n backdrop-filter: blur(2px);\n border-radius: 5px;\n\n &:hover {\n background: linear-gradient(\n 0deg,\n rgba(255, 255, 255, 0.14) 0%,\n rgba(255, 255, 255, 0.1) 100%\n );\n }\n }\n\n &.white-text {\n button {\n ${tw`text-white`}\n }\n }\n\n &.red-text {\n button {\n ${tw`text-neonred-primary`}\n }\n }\n\n &.monitor {\n height: 54px;\n\n button {\n padding: 1.0rem 1.25rem;\n box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1),\n 0px 1px 1px rgba(0, 0, 0, 0.1), 0px 2px 2px rgba(0, 0, 0, 0.1),\n 0px 4px 4px rgba(0, 0, 0, 0.1), 0px 8px 8px rgba(0, 0, 0, 0.1);\n }\n }\n }\n`\n\nconst Button = ({ children, onClick, to, className, ...rest }) => {\n const [active, setActive] = useState(false)\n const internal = /^\\/(?!\\/)/.test(to)\n const scroll = /^#/.test(to)\n function click() {\n if (!active) {\n setActive(true)\n setTimeout(function () {\n setActive(false)\n }, 500)\n }\n if (onClick) {\n onClick()\n } else {\n if (to) {\n if (internal) {\n navigate(to)\n } else if (scroll) {\n document.querySelector(to).scrollIntoView({\n behavior: \"smooth\",\n })\n } else {\n window.location.href = to\n }\n }\n }\n }\n const bubbles = Array.from({ length: 15 }, (v, i) => i)\n const transition = { duration: 0.5, ease: \"easeInOut\" }\n\n function rand(from, to) {\n return Math.round(Math.random() * (to - from) + from)\n }\n\n return (\n \n {bubbles.map((b, idx) => {\n const diameter = rand(5, 10)\n return (\n \n )\n })}\n \n {bubbles.map((b, idx) => {\n const diameter = rand(5, 10)\n return (\n \n )\n })}\n \n )\n}\n\nexport default Button\n","export default __webpack_public_path__ + \"static/demand360-dots-ffeec201b485b273a1991ab983409825.jpg\";","import React, { useEffect, useState } from \"react\"\nimport { graphql, useStaticQuery, Link } from \"gatsby\"\nimport tw, { styled, theme } from \"twin.macro\"\n\nimport { brandBlock } from \"utils/brand\"\nimport Button from \"components/button\"\nimport PlanPrice from \"components/plan-price\"\nimport ParrotImg from \"components/img\"\nimport Logo from \"images/logos/demand360-lite-product.png\"\nimport LogoRegular from \"images/logos/demand360-lite-product-regular.png\"\nimport SectionBackground from \"components/section-background\"\nimport BgTopo from \"images/bg/topo.jpg\"\nimport BgDots from \"images/bg/demand360-dots.jpg\"\n\nconst Demand360AdContainer = styled.div`\n ${tw`font-body text-white overflow-hidden`}\n\n .header-wrapper {\n ${tw`mx-auto l:max-w-l font-bold relative`}\n\n picture.hero img,\n img.hero {\n ${tw`absolute`}\n\n width: 100%;\n top: 350px;\n\n @media (min-width: 400px) {\n top: 300px;\n }\n\n @media (min-width: 640px) {\n top: 0;\n width: auto;\n height: 755px;\n left: 50%;\n }\n\n @media (min-width: 1200px) {\n height: 970px;\n }\n }\n\n .header {\n ${tw`m:pl-8 m:text-left`}\n\n font-size: 15px;\n line-height: 1.6;\n text-align: center;\n\n height: 590px;\n\n @media (min-width: 400px) {\n height: 583px;\n }\n\n @media (min-width: 640px) {\n height: 450px;\n }\n\n @media (min-width: 1200px) {\n height: 500px;\n font-size: 18px;\n }\n\n .logo {\n width: 351px;\n\n @media (min-width: 640px) {\n width: 335px;\n margin-top: 30px;\n }\n\n @media (min-width: 1200px) {\n width: 488px;\n }\n }\n }\n }\n\n .centered-container {\n ${tw`l:max-w-l mx-auto relative z-10`}\n }\n\n .section {\n ${tw`flex flex-col l:flex-row`}\n }\n\n .plan-price {\n ${tw`h-24 l:h-32`}\n\n background: linear-gradient(180deg, #3e3d3c 0%, #191919 100%);\n box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.1477);\n border-radius: 5px;\n\n .price {\n ${tw`text-springgreen-light font-body w-full m:w-7/12 font-bold`}\n max-width: auto;\n @media (min-width: 1200px) {\n max-width: 200px;\n }\n }\n }\n\n .report-copy {\n background: linear-gradient(180deg, #3c3b3a 0%, #191919 83.85%);\n @media (min-width: 1200px) {\n width: 408px;\n }\n\n h3 {\n ${tw`text-yellow text-2xl leading-normal l:text-3xl l:leading-normal font-bold mb-4 text-center l:text-left`}\n }\n\n ul {\n ${tw`font-body text-base text-left text-white list-disc ml-4`}\n\n strong {\n ${tw`text-springgreen-light`}\n }\n }\n }\n\n .report-cover {\n @media (min-width: 1200px) {\n width: 716px;\n }\n }\n`\n\nconst StyledIcon = styled.img`\n ${(props) =>\n props.customCSS ||\n `\n max-width: 80px;\n max-height: 65px;\n `}\n`\n\nconst BackgroundTop = styled.div`\n ${tw`pt-24 l:pt-32 pb-48`}\n\n &.home {\n padding-top: 300px;\n }\n\n border-bottom: 2px solid ${theme`colors.springgreen.light`};\n\n background: linear-gradient(\n 180deg,\n rgba(0, 0, 0, 0.51) 0%,\n rgba(0, 0, 0, 0) 75.56%\n )\n ${({ background }) => (background ? `, url(${background})` : \"\")};\n background-color: #110120;\n background-position: bottom;\n background-size: cover;\n background-repeat: no-repeat;\n position: relative;\n`\n\nconst Demand360Ad = ({ className = \"\", gradientClass }) => {\n const [reportImage, setReportImage] = useState(null)\n\n const data = useStaticQuery(graphql`\n query {\n gcms {\n adContentBlocks: contentBlocks(\n where: { identifier: \"demand360-ad\" }\n first: 1\n orderBy: order_ASC\n ) {\n headerContent {\n html\n }\n mainContent {\n html\n }\n featuredImage {\n url(transformation: { image: { resize: { width: 800, fit: max } } })\n altText\n }\n callToAction\n linkUrl\n }\n highlightContentBlocks: contentBlocks(\n where: { identifier: \"demand360-ad-highlights\" }\n orderBy: order_ASC\n ) {\n id\n extraData\n }\n geoTargetContentBlocks: contentBlocks(\n where: { identifier_starts_with: \"demand360-ad-geo-target\" }\n ) {\n id\n featuredImage {\n url(transformation: { image: { resize: { width: 800, fit: max } } })\n altText\n }\n extraData\n }\n headerCta: contentBlocks(\n where: { identifier: \"demand360-lite-header-cta\" }\n ) {\n id\n featuredImage {\n url\n }\n headerContent {\n html\n }\n icon {\n url\n }\n }\n }\n }\n `)\n\n const { gcms } = data\n\n const adContent = brandBlock(gcms.adContentBlocks[0])\n const highlights = brandBlock(gcms.highlightContentBlocks[0])\n const headerCta = brandBlock(gcms.headerCta[0])\n const geoTargetImages = gcms.geoTargetContentBlocks.reduce(\n (prev, geoTarget) => {\n if (geoTarget.featuredImage && geoTarget.featuredImage.url) {\n prev[geoTarget.extraData?.code || \"default\"] =\n geoTarget.featuredImage.url\n }\n return prev\n },\n {}\n )\n\n useEffect(() => {\n let countryCode\n\n if (\n typeof window !== \"undefined\" &&\n window.country &&\n window.country.code !== null\n ) {\n countryCode = window.country.code\n }\n\n if (geoTargetImages[countryCode]) {\n setReportImage(geoTargetImages[countryCode])\n } else {\n setReportImage(geoTargetImages.default)\n }\n }, [geoTargetImages])\n\n if (data.gcms.adContentBlocks?.length !== 1) {\n return <>\n }\n\n let bg, bgClassName, bgOpacity\n\n if (className.includes(\"measurement\")) {\n bgClassName = \"demand360-ad-measurement\"\n bg = BgTopo\n bgOpacity = \"1.0\"\n } else {\n bgClassName = \"demand360-ad\"\n bg = BgDots\n bgOpacity = \"0.15\"\n }\n\n return (\n \n \n
\n
\n \n \n
\n {headerCta.featuredImage && (\n \n \n \n )}\n
\n
\n
\n {highlights.extraData.highlights.map((highlight, i) => (\n \n
\n \n
\n \n
\n ))}\n
\n \n
\n \n
\n
\n
\n
\n {reportImage && (\n \n )}\n
\n
\n
\n \n
\n \n \n
\n )\n}\n\nexport default Demand360Ad\n","import React from \"react\"\nimport { styled } from \"twin.macro\"\n\nconst StyledPicture = styled.picture`\n ${(props) => (props.customCSS ? props.customCSS : \"\")}\n`\n\nconst StyledImg = styled.img`\n ${(props) => (props.customCSS ? props.customCSS : \"\")}\n`\n\nexport default ({ src, className = \"\" }) => {\n if (src.mimeType && src.handle) {\n const webp = `${process.env.GATSBY_ASSETS_BASE_URL}no_metadata/output=format:webp/cache=expiry:max/${src.handle}`\n return (\n \n \n \n {src.alt\n \n )\n } else {\n return (\n \n )\n }\n}\n","import React, { useEffect, useState } from \"react\"\nimport styled from \"styled-components\"\nimport { motion } from \"framer-motion\"\n\nconst Toggle = styled(motion.div)`\n height: 24px;\n width: 24px;\n border-radius: 5px;\n position: relative;\n top: 4px;\n background: linear-gradient(180deg, #f1f1f1 0%, #ffffff 100%);\n`\n\nconst Switch = ({ onFlip, initial = true, className }) => {\n const [isOn, switchState] = useState(initial)\n\n const flip = () => {\n switchState(!isOn)\n onFlip && onFlip()\n }\n\n const transition = {\n type: \"tween\",\n duration: 0.2,\n }\n\n useEffect(() => {\n switchState(initial)\n }, [initial])\n\n return (\n \n \n \n )\n}\n\nexport default Switch\n","import React, { useContext, useEffect, useState } from \"react\"\nimport { graphql, useStaticQuery } from \"gatsby\"\nimport tw, { styled } from \"twin.macro\"\n\nimport Switch from \"components/switch\"\nimport CouponContext from \"context/coupon-context\"\n\nconst Styles = styled.div`\n ${tw`flex flex-wrap flex-grow items-center justify-between pt-3 m:pt-0`}\n\n &.light {\n ${tw`text-grey-10`}\n }\n\n &.dark {\n ${tw`text-white`}\n }\n\n .price {\n ${tw`font-display`}\n font-size: 44px;\n line-height: 44px;\n text-align: center;\n }\n\n .price-desc {\n ${tw`font-display`}\n font-size: 11.9px;\n line-height: 18px;\n }\n\n .price-period {\n ${tw`font-body text-center`}\n font-size: 12px;\n line-height: 20px;\n padding-top: 5px;\n width: 80px;\n }\n\n .switch {\n width: 100%;\n }\n\n .divided {\n ${tw`border-r-2`}\n\n border-color: #4b4b4b;\n }\n\n @media (min-width: 720px) {\n &.large {\n ${tw`justify-center`}\n .switch {\n padding-left: 32px;\n padding-right: 32px;\n transform: scale(1.4);\n width: auto;\n }\n .price {\n font-size: 51.8px;\n }\n .price-desc {\n font-size: 14px;\n }\n .price-period {\n font-size: 15px;\n min-width: 100px;\n }\n }\n }\n`\n\nconst PlanPrice = ({\n onPlanChange,\n divided = false,\n light = false,\n large = false,\n ...rest\n }) => {\n\n const graphqlQuery = graphql`\n {\n gcms {\n websiteSetting(where: { name: \"Monitor pricing plans\" }) {\n jsonValue\n }\n }\n allPricePlan {\n nodes {\n nickname\n amount\n amount_decimal\n id\n interval\n monthly\n yearly\n }\n }\n }\n `;\n\n const data = useStaticQuery(graphqlQuery)\n const planSettings = data.gcms.websiteSetting.jsonValue\n const planData = data?.allPricePlan?.nodes ?? []\n const maxPlanPrice = planData.reduce(\n (acc, cur) => Math.max(acc, cur.yearly),\n 0\n )\n const [plans, setPlans] = useState(null)\n const [plan, setPlan] = useState(null)\n const [yearly, setYearly] = useState(planSettings.default === \"yearly\")\n const [bestPlanId, setBestPlanId] = useState(null)\n const couponContext = useContext(CouponContext)\n\n function flip() {\n setYearly(!yearly)\n onPlanChange && onPlanChange(yearly ? \"yearly\" : \"monthly\")\n setPlan(plans.find((p) => p.id !== plan.id))\n }\n\n useEffect(() => {\n async function fetchData() {\n const coupon = await couponContext.getCoupon()\n if (coupon) {\n //Update plan prices with coupon discount\n const newPlans = planData.map((p) => {\n const newPlan = Object.assign({}, p)\n if (!newPlan.discountApplied) {\n newPlan.monthly = couponContext.applyCoupon(p, \"month\") * 100\n newPlan.yearly = couponContext.applyCoupon(p, \"year\") * 100\n newPlan.discountApplied = true\n }\n return newPlan\n })\n setPlans(newPlans)\n // Flip switch to plan the coupon applies to\n if (coupon?.metadata?.plan_applicable) {\n const selectedPlan = newPlans.find((p) =>\n couponContext.couponApplies(p)\n )\n if (selectedPlan) {\n setPlan(selectedPlan)\n setYearly(selectedPlan.interval === \"year\")\n }\n }\n } else {\n setPlans(planData)\n }\n }\n\n fetchData()\n }, [couponContext, planSettings])\n\n useEffect(() => {\n if (plans && plans.length > 0) {\n // Save which plan is the best deal\n const bestPlan = plans.reduce(\n (best, plan) => (!best || plan.yearly < best.yearly ? plan : best),\n null\n )\n setBestPlanId(bestPlan.id)\n // Set a selected plan based on CMS settings (or the first one)\n if (planSettings.default) {\n setPlan(\n plans.find(\n (p) =>\n p.nickname.toLowerCase() === planSettings.default.toLowerCase()\n )\n )\n onPlanChange && onPlanChange(planSettings.default)\n } else {\n setPlan(plans[0])\n }\n }\n }, [plans])\n\n if (plan) {\n return (\n \n \n
\n ${Math.round(plan.monthly / 100)}\n
\n
\n USD per month\n
\n \n \n
\n \n
\n
\n {plan &&\n `Pay ${plan.interval.toLowerCase()}ly ${\n plan.id === bestPlanId\n ? ` (Save ${Math.round(\n (1 - plan.yearly / maxPlanPrice) * 100\n )}%)`\n : \"\"\n }`}\n
\n \n \n )\n } else {\n return <>\n }\n}\n\nexport default PlanPrice\n","import React from \"react\"\nimport tw, { styled } from \"twin.macro\"\n\nconst SectionStyles = styled.div`\n ${tw`relative`}\n opacity: 0.99;\n ${({ color }) => `background-color: ${color};`}\n\n &:before {\n ${tw`absolute top-0 left-0 w-full h-full`}\n\n content: \"\";\n background: ${({ bg }) => `url(${bg})`};\n background-repeat: repeat-y;\n background-size: 100% auto;\n background-color: transparent;\n background-position: center;\n opacity: ${({ opacity }) => opacity || \"0.2\"};\n z-index: -1;\n\n @media (max-width: 640px) {\n background-size: 250%;\n background-position: 30% 50%;\n }\n }\n\n &.demand360-ad {\n :before {\n @media (max-width: 640px) {\n background-position: top;\n }\n }\n }\n\n &.home {\n .centered-container {\n ${tw`pb-12 l:pb-48`}\n }\n }\n\n &.demand360-ad-measurement {\n &:before {\n background-repeat: \"no-repeat\";\n background-size: \"cover\";\n }\n\n .centered-container {\n ${tw`pb-16`}\n }\n }\n`\n\nconst Gradient = styled.div`\n background: linear-gradient(\n 180deg,\n rgba(0, 0, 0, 1) 0%,\n rgba(0, 0, 0, 0) 16rem\n );\n\n &.page-404 {\n background: linear-gradient(\n 180deg,\n rgba(0, 0, 0, 0.5) 0%,\n rgba(0, 0, 0, 0) 25%,\n rgba(0, 0, 0, 0) 75%,\n rgba(0, 0, 0, 0.5) 100%\n );\n }\n\n &.measurement {\n background: none;\n }\n`\n\nconst SectionBackground = ({\n bg,\n children,\n className,\n gradientClass,\n ...props\n}) => {\n return (\n \n {children}\n \n )\n}\n\nexport default SectionBackground\n","export default __webpack_public_path__ + \"static/topo-404e82bacb9c975bdd0d16c4b7e07330.jpg\";","export default __webpack_public_path__ + \"static/demand360-lite-product-regular-8be27182aeb56a4589704c15808c3d2b.png\";","export default __webpack_public_path__ + \"static/demand360-lite-product-8ee677e21ebd3b38979626e20da9b7d6.png\";"],"names":["Styles","styled","div","withConfig","displayName","componentId","_ref","children","onClick","to","className","rest","active","setActive","useState","internal","test","scroll","bubbles","Array","from","length","v","i","transition","duration","ease","rand","Math","round","random","React","map","b","idx","diameter","motion","key","style","height","width","animate","variants","static","left","top","scale","opacity","Object","assign","setTimeout","navigate","document","querySelector","scrollIntoView","behavior","window","location","href","Demand360AdContainer","StyledIcon","img","props","customCSS","BackgroundTop","background","_ref2","_data$gcms$adContentB","_headerCta$icon","_headerCta$headerCont","_adContent$mainConten","gradientClass","reportImage","setReportImage","data","useStaticQuery","gcms","adContent","brandBlock","adContentBlocks","highlights","highlightContentBlocks","headerCta","geoTargetImages","geoTargetContentBlocks","reduce","prev","geoTarget","_geoTarget$extraData","featuredImage","url","extraData","code","useEffect","countryCode","country","default","bg","bgClassName","bgOpacity","includes","BgTopo","BgDots","icon","Link","src","Logo","LogoRegular","dangerouslySetInnerHTML","__html","headerContent","html","PlanPrice","divided","ParrotImg","highlight","text","SectionBackground","color","mainContent","Button","linkUrl","callToAction","StyledPicture","picture","StyledImg","mimeType","handle","webp","process","customCss","srcSet","type","alt","Toggle","onFlip","initial","isOn","switchState","borderRadius","position","cursor","onTap","flip","off","on","x","boxShadow","_data$allPricePlan$no","_data$allPricePlan","onPlanChange","light","large","planSettings","websiteSetting","jsonValue","planData","allPricePlan","nodes","maxPlanPrice","acc","cur","max","yearly","plans","setPlans","plan","setPlan","setYearly","bestPlanId","setBestPlanId","couponContext","useContext","CouponContext","async","coupon","getCoupon","_coupon$metadata","newPlans","p","newPlan","discountApplied","monthly","applyCoupon","metadata","plan_applicable","selectedPlan","find","couponApplies","interval","fetchData","bestPlan","best","id","nickname","toLowerCase","Switch","SectionStyles","_ref3","Gradient","_ref4"],"sourceRoot":""}