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BACA,WACA,cACA,cAUH,CACDC,WAAY,CACRC,aAAc,oBACdC,aAAc,iBACdC,WAAY,uBAChB,CACJ,EACAG,iBAAkB,CACdnE,QAAS,mBACT4D,MAAO,CACH,eACA,kBACA,yBACA,2BACA,oBAEA,sBACA,gBACA,uBACA,uBACA,uBACA,eACA,WAEA,cAUH,CACDC,WAAY,CACRC,aAAc,qBACdC,aAAc,iBACdC,WAAY,iBAChB,CACJ,EACAI,QAAS,CACLpE,QAAS,UACT4D,MAAO,CACH,eACA,kBACA,yBACA,2BACA,oBAEA,sBACA,gBACA,uBACA,uBACA,uBACA,eACA,WAEA,cAUH,CACDC,WAAY,CACRC,aAAc,qBACdC,aAAc,iBACdC,WAAY,gBAChB,CACJ,EACAK,iBAAkB,CACdrE,QAAS,mBACT4D,MAAO,CACH,eACA,eACA,kBACA,yBACA,2BACA,oBACA,sBACA,gBACA,uBACA,uBACA,uBACA,WACA,cACA,cACH,CACDC,WAAY,CACRC,aAAc,0BACdC,aAAc,iBACdC,WAAY,sBAChB,CACJ,EACAM,cAAe,CACXtE,QAAS,mBACT4D,MAAO,CACH,eACA,eACA,kBACA,yBACA,2BACA,oBACA,sBACA,gBACA,uBACA,uBACA,uBACA,kBACA,cACA,sBACH,CACDC,WAAY,CACRC,aAAc,kCACdC,aAAc,iBACdC,WAAY,sBAChB,CACJ,EACAO,cAAe,CACXvE,QAAS,mBACT4D,MAAO,CACH,eACA,kBACA,yBACA,2BACA,oBACA,sBACA,gBACA,uBACA,uBACA,uBACA,kBACA,cACA,sBACH,CACDC,WAAY,CACRC,aAAc,kCACdC,aAAc,iBACdC,WAAY,sBAChB,CACJ,EACAQ,cAAe,CACXxE,QAAS,mBACT4D,MAAO,CACH,eACA,kBACA,yBACA,2BACA,oBACA,sBACA,gBACA,uBACA,uBACA,uBACA,WACA,cACA,cACH,CACDC,WAAY,CACRC,aAAc,kCACdC,aAAc,iBACdC,WAAY,sBAChB,CACJ,CACJ,wDCnQO,IAAMS,EAAQ,CAC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E3C,CACIjI,GAAI,YACJhE,KAAM,YACN+L,MAAO,IACPC,aAAc,KACdC,OAAQ,CAAC,eAAM,eAAM,eAAM,KAAM,gBAAM,EAE9C,CAET","sources":["webpack://_N_E/./src/components/molecules/SocialProof.jsx","webpack://_N_E/./src/ui-only-components/quiz-flow/pages/Question.jsx","webpack://_N_E/./src/api/index.js","webpack://_N_E/./src/ui-only-components/flow_template.js","webpack://_N_E/./src/ui-only-components/page_list.js"],"sourcesContent":["import { getNoise } from \"@/utils/noise\";\nimport Image from \"next/image\";\nimport classNames from \"classnames\";\nimport { SocialProofAvatars } from \"./SocialProofAvatars\";\nimport { formatAmount } from \"@/utils\";\nimport { MIN_SOCIAL_PROOF, MAX_SOCIAL_PROOF } from \"@/constants/noise\";\n\nexport const SocialProof = ({\n\tposition = \"top\",\n\ttext = \"\",\n\tvariant = \"light\",\n\tshowNoise = true,\n\ttextVariant = \"normal\",\n\tcount = 0,\n}) => {\n\tconst noise = getNoise(\"glutenfreeq\", {\n\t\tmin: MIN_SOCIAL_PROOF,\n\t\tmax: MAX_SOCIAL_PROOF,\n\t\trange: MAX_SOCIAL_PROOF - MIN_SOCIAL_PROOF,\n\t});\n\n\treturn (\n\t\t
\n\t\t\t 0 && `${(count - 1) * 12 + 20}px` }}\n\t\t\t\tclassName={classNames({\n\t\t\t\t\t\"w-11 h-5\": variant === \"landing-page\",\n\t\t\t\t\t\"w-[68px] h-5\": variant !== \"landing-page\",\n\t\t\t\t\t\"w-auto flex justify-center items-center relative\": count > 0,\n\t\t\t\t})}>\n\t\t\t\t{count > 0 ? (\n\t\t\t\t\t\n\t\t\t\t) : (\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t
\n\t\t\t\n\t\t\t\t{showNoise ? `${noise.value} ` : \"\"}\n\t\t\t\t{count ? `${formatAmount(count)} ` : \"\"}\n\t\t\t\t{text || \"joined today\"} {position === \"top\" ? \"πŸ‘‡\" : \"\"}\n\t\t\t\t{position === \"bottom\" ? \"πŸ‘†\" : \"\"}\n\t\t\t\t{position === \"left\" ? \"πŸ‘‰\" : \"\"}\n\t\t\t\t{position === \"right\" ? \"πŸ‘ˆ\" : \"\"}\n\t\t\t\n\t\t\n\t);\n};\n","import { useEffect, useState } from 'react';\nimport classNames from 'classnames';\nimport { PorangeButton } from \"@/components/atoms/PorangeButton\";\n\nexport const Question = ({\n data,\n onAnswer,\n flowVersion,\n previousAnswer,\n isTransitioning,\n direction,\n onTransitionComplete,\n skipAnswerAnimation = false,\n isInSlider = false,\n locationData,\n}) => {\n const [selectedAnswers, setSelectedAnswers] = useState(() => {\n if (!previousAnswer) return [];\n return Array.isArray(previousAnswer) ? previousAnswer : [previousAnswer];\n });\n const [showContent, setShowContent] = useState(false);\n const [isAnimating, setIsAnimating] = useState(false);\n \n useEffect(() => {\n setShowContent(false);\n \n if (!isTransitioning) {\n setTimeout(() => setShowContent(true), 150);\n } else {\n setShowContent(false);\n }\n }, [data, isTransitioning, previousAnswer]);\n \n const handleOptionClick = (option, event) => {\n if (isTransitioning || isAnimating) return;\n \n if (data.isMultipleChoice) {\n setSelectedAnswers(prev => {\n const validPrev = prev.filter(ans => ans && ans.text);\n const isSelected = validPrev.some(ans => ans.id === option.id);\n \n if (option.text.match(/^(None|No)(\\s|$)/i)) {\n return isSelected ? [] : [option];\n }\n \n const withoutNoneOptions = validPrev.filter(ans => !ans.text.match(/^(None|No)(\\s|$)/i));\n \n if (!isSelected && data.maxSelections && withoutNoneOptions.length >= data.maxSelections) {\n return withoutNoneOptions;\n }\n \n return isSelected\n ? withoutNoneOptions.filter(ans => ans.id !== option.id)\n : [...withoutNoneOptions, option];\n });\n } else {\n setSelectedAnswers([option]);\n onAnswer(option, event);\n }\n };\n \n const handleContinue = (event) => {\n if (isTransitioning || isAnimating) return;\n onAnswer(selectedAnswers);\n };\n \n const formatAnswerText = (text) => {\n if (!locationData) return text;\n \n return text\n .replace('{neighborhood}', locationData.neighborhood || '')\n .replace('{city}', locationData.city || '')\n .replace('{region}', locationData.region || '')\n .replace('{country}', locationData.country || '');\n };\n \n // First, create the filteredAnswers with the existing logic\n const getFilteredAnswers = () => {\n const validAnswers = data.answers.filter(answer => {\n const formattedText = formatAnswerText(answer.text);\n \n if (!formattedText?.trim()) return false;\n \n if (data.type === 'WhereDoYouWantPlaces') {\n switch (answer.id) {\n case 'neighborhood':\n return !!locationData?.neighborhood;\n case 'city':\n return !!locationData?.city;\n case 'region':\n return !!locationData?.region;\n case 'country':\n return !!locationData?.country;\n case 'worldwide':\n return true;\n default:\n return true;\n }\n }\n \n return !formattedText.includes('{') && !formattedText.includes('}');\n });\n \n // Remove duplicates based on formatted text\n const seen = new Set();\n return validAnswers.filter(answer => {\n const formattedText = formatAnswerText(answer.text).toLowerCase().trim();\n if (seen.has(formattedText)) {\n return false;\n }\n seen.add(formattedText);\n return true;\n });\n };\n \n const filteredAnswers = getFilteredAnswers();\n \n return (\n
\n
\n
\n \n {data.text}\n \n {data.subtext && (\n \n {data.subtext}\n

\n )}\n
\n
\n {filteredAnswers.map((option, index) => (\n ans.id === option.id)}\n onClick={(e) => handleOptionClick(option, e)}\n showContent={showContent}\n animationDelay={index * 100}\n isMultipleChoice={data.isMultipleChoice}\n locationData={locationData}\n formatAnswerText={formatAnswerText}\n />\n ))}\n
\n
\n \n {data.isMultipleChoice && (\n
0 && showContent && !isTransitioning,\n \"opacity-0 translate-y-8 pointer-events-none\": selectedAnswers.length === 0 || !showContent || isTransitioning\n }\n )}>\n \n Continue\n \n
\n )}\n
\n );\n};\n\nconst QuestionOption = ({\n option,\n isSelected,\n onClick,\n showContent,\n animationDelay,\n isMultipleChoice,\n locationData,\n formatAnswerText\n}) => {\n const isNoneOption = option.text.match(/^(None|No)(\\s|$)/i);\n \n return (\n onClick(e)}\n style={{\n transitionDelay: `${animationDelay}ms`\n }}\n className={classNames(\n \"w-full px-5 py-4 text-left rounded-2xl mb-3\",\n \"transition-all duration-300 ease-out\",\n \"flex items-center gap-4\",\n \"border-[1.5px]\",\n {\n \"opacity-0 translate-y-4\": !showContent,\n \"opacity-100 translate-y-0\": showContent,\n \"border-pink-500 bg-pink-50\": isSelected,\n \"border-gray-200 bg-white\": !isSelected\n }\n )}\n >\n {isMultipleChoice && !isNoneOption && (\n
\n {isSelected && (\n \n \n \n )}\n
\n )}\n \n {formatAnswerText(option.text)}\n \n \n );\n}; ","import config from \"@/config\";\nimport { AppPlatform } from \"@/constants\";\nimport { getMixpanelDistinctId } from \"@/utils/mixpanel\";\nimport { getSearchParamsObject } from \"@/utils/url\";\nimport { enrichDefaultCampaignData } from \"@/utils/campaign\";\nconst createExtendedHeaders = (appPlatform = \"\", headers = {}) => {\n\tconst extendedHeaders = {\n\t\tapp_version: config.version.path,\n\t\tapp_platform: appPlatform,\n\t\tAuthorization: headers.Authorization || \"\",\n\t\t\"X-Amz-Apigw-Id\": headers[\"X-Amzn-Trace-Id\"] || \"\",\n\t\t\"X-Amzn-Requestid\": headers[\"X-Amzn-Requestid\"] || \"\",\n\t\t\"X-Amzn-Trace-Id\": headers[\"X-Amz-Apigw-Id\"] || \"\",\n\t\t\"X-User-Ip-Address\": headers[\"X-User-Ip-Address\"] || \"\",\n\t\t\"reflected-user-agent\": headers[\"user-agent\"] || \"\",\n\t\t\"reflected-ip\": headers[\"x-forwarded-for\"] || \"\",\n\t\t\"reflected-country\": headers[\"ip-country\"] || \"\",\n\t\t\"reflected-real-ip\": headers[\"x-real-ip\"] || \"\",\n\t};\n\n\treturn extendedHeaders;\n};\n\nexport const getGlutenFreeTopTenData = async (\n\t{ topicName, tagAndArea },\n\theaders = {}\n) => {\n\tconst url = new URL(\n\t\t`${config.api.address}/atly/top-pages-by-topic/${topicName}`\n\t);\n\turl.searchParams.append(\"tag_and_area\", tagAndArea);\n\turl.searchParams.append(\"with_steps_list\", \"false\");\n\n\tconst result = await fetch(url.toString(), {\n\t\theaders: createExtendedHeaders(AppPlatform.TT, headers),\n\t});\n\n\treturn await result.json();\n};\n\nexport const getTopTenStepsList = async (\n\ttopTenId,\n\t{ cursor, limit = 20 },\n\theaders = {}\n) => {\n\tconst query = { limit };\n\tif (cursor) query.cursor = cursor;\n\tconst queryString = Object.entries(query)\n\t\t.map(([key, value]) => `${key}=${value}`)\n\t\t.join(\"&\");\n\tconst url = `${config.api.address}/top-steps/${topTenId}/steps?${queryString}`;\n\tconst result = await fetch(url, {\n\t\theaders: createExtendedHeaders(AppPlatform.TT, headers),\n\t});\n\n\treturn await result.json();\n};\n\nexport const createBranchLink = async ({\n\tid,\n\tbranchData,\n\treferringLinkUrl = \"\",\n\tisAuth = false,\n\tauthToken,\n\tuserId,\n\treason = \"tt\",\n}) => {\n\tconst mapId = process.env.NEXT_PUBLIC_STAGE === \"prod\" ? \"CwX3l0tJjXE\" : \"icb99tZqvAz\";\n\tconst pathname = isAuth ? \"/branch-links\" : \"/autls/branch-links\";\n\tconst url = encodeURI(config.api.address + pathname);\n\tconst userDistinctId = getMixpanelDistinctId();\n\tconst queryParamsObject = getSearchParamsObject();\n\n\tconst result = await fetch(url, {\n\t\tmethod: \"POST\",\n\t\theaders: createExtendedHeaders(AppPlatform.TT, isAuth ? {\n\t\t\tAuthorization: `Bearer ${authToken}`,\n\t\t} : {}),\n\t\tbody: JSON.stringify({\n\t\t\treason,\n\t\t\tget_login_token: isAuth,\n\t\t\tcampaign: queryParamsObject[\"~campaign\"] || branchData[\"~campaign\"] || \"organic_seo\",\n\t\t\tstage: queryParamsObject[\"~stage\"] || branchData[\"~stage\"] || \"\",\n\t\t\tclient_type: id ? \"top_ten\" : \"landing_page\",\n\t\t\tlink_type: \"map_store\",\n\t\t\tuse_mixpanel_merge: true,\n\t\t\treferring_link_url: referringLinkUrl || branchData.referring_link || \"\",\n\t\t\t...(id ? { in_product_share_method: \"TOP_TEN_PAGE\", from_topten_id: id } : {}),\n\t\t\tdistinct_id: userDistinctId || \"\",\n\t\t\tchannel:\n\t\t\t\tbranchData[\"~channel\"] || document.referrer.includes(\".google.\")\n\t\t\t\t\t? \"google\"\n\t\t\t\t\t: \"unknown\",\n\t\t\tdata: {\n\t\t\t\tmap_id: mapId,\n\t\t\t\tuser_id: userId,\n\t\t\t\tconversion_tool: \"Direct\",\n\t\t\t\tproduct: id ? \"TopTen\" : \"LandingPage\",\n\t\t\t\tuser_source: \"google_organic_tt\",\n\t\t\t\t...queryParamsObject,\n\t\t\t},\n\t\t\t...enrichDefaultCampaignData(queryParamsObject),\n\t\t}),\n\t});\n\n\tconst { link } = await result.json();\n\treturn link;\n};\n","export const flows = {\n flow_c: {\n version: \"flow_c\",\n pages: [\n \"GlutenSensitivity1\",\n \"AtlyIntro1\",\n 'EmailScreen2',\n \"DietaryRestrictions\",\n 'TagsStatement',\n \"SearchTarget\",\n // \"CommunityValidationStatement\",\n \"FeaturePreference\",\n \"SafetyRankingExplanation\",\n \"SafetyRankingStatement\",\n \"InformationSources\",\n \"ReviewAggregationStatement\",\n \"WhatPlacesDoYouWant1\",\n \"InformationAccuracyQuestion\",\n \"InformationUpdateStatement\",\n //\"SafetyCommitmentStatement\",\n \"CommunityMap\",\n \"PreCheckout\",\n ],\n components: {\n drawerButton: \"DrawerButton\",\n footerDrawer: \"FooterDrawerUI\",\n quizSlider: \"QuizSlider\"\n }\n },\n flow2_e: {\n version: \"flow2_e\",\n pages: [\n 'EmailScreen2',\n \"SearchTarget\",\n \"SafetyOfPlaces1\",\n \"SafetyRankingStatement\",\n \"SafetyRankingExplanation\",\n \"BiggestStruggles1\",\n //\"WeDoAllThat\"\n \"DietaryRestrictions\",\n 'TagsStatement',\n \"WhereDoYouWantPlaces\",\n \"WhatPlacesDoYouWant1\",\n \"Statement230kPlaces2\",\n \"Loading1\",\n \"PerfectFit1\",\n \"PreCheckout\",\n //HERE\n //\"FeaturePreference\",\n //\"InformationSources\",\n //\"ReviewAggregationStatement\",\n //\"InformationAccuracyQuestion\",\n //\"InformationUpdateStatement\",\n //\"SafetyCommitmentStatement\",\n //\"CommunityMap\",\n //\"PreCheckout\",\n ],\n components: {\n drawerButton: \"DrawerButtonUriel\",\n footerDrawer: \"FooterDrawerUI\",\n quizSlider: \"QuizSliderAtly\"\n }\n },\n flow2_e2: {\n version: \"flow2_e2\",\n pages: [\n 'EmailScreen2',\n \"SearchTarget\",\n \"SafetyOfPlaces1\",\n \"SafetyRankingStatement\",\n \"SafetyRankingExplanation\",\n \"BiggestStruggles1\",\n //\"WeDoAllThat\"\n \"DietaryRestrictions\",\n 'TagsStatement',\n \"WhereDoYouWantPlaces\",\n \"WhatPlacesDoYouWant1\",\n \"Statement230kPlaces2\",\n \"Loading1\",\n \"PerfectFit1\",\n \"PreCheckout\",\n //HERE\n //\"FeaturePreference\",\n //\"InformationSources\",\n //\"ReviewAggregationStatement\",\n //\"InformationAccuracyQuestion\",\n //\"InformationUpdateStatement\",\n //\"SafetyCommitmentStatement\",\n //\"CommunityMap\",\n //\"PreCheckout\",\n ],\n components: {\n drawerButton: \"DrawerButtonUriel\",\n footerDrawer: \"FooterDrawerUI\",\n quizSlider: \"QuizSliderAtlyNoClose\"\n }\n },\n flow2_emailAtEnd: {\n version: \"flow2_emailAtEnd\",\n pages: [\n \"SearchTarget\",\n \"SafetyOfPlaces1\",\n \"SafetyRankingStatement\",\n \"SafetyRankingExplanation\",\n \"BiggestStruggles1\",\n //\"WeDoAllThat\"\n \"DietaryRestrictions\",\n 'TagsStatement',\n \"WhereDoYouWantPlaces\",\n \"WhatPlacesDoYouWant1\",\n \"Statement230kPlaces2\",\n 'EmailScreen3',\n \"Loading1\",\n //\"PerfectFit1\",\n \"PreCheckout\",\n //HERE\n //\"FeaturePreference\",\n //\"InformationSources\",\n //\"ReviewAggregationStatement\",\n //\"InformationAccuracyQuestion\",\n //\"InformationUpdateStatement\",\n //\"SafetyCommitmentStatement\",\n //\"CommunityMap\",\n //\"PreCheckout\",\n ],\n components: {\n drawerButton: \"DrawerButtonUriel2\",\n footerDrawer: \"FooterDrawerUI\",\n quizSlider: \"QuizSliderAtly2\"\n }\n },\n flow2_f: {\n version: \"flow2_f\",\n pages: [\n \"SearchTarget\",\n \"SafetyOfPlaces1\",\n \"SafetyRankingStatement\",\n \"SafetyRankingExplanation\",\n \"BiggestStruggles1\",\n //\"WeDoAllThat\"\n \"DietaryRestrictions\",\n 'TagsStatement',\n \"WhereDoYouWantPlaces\",\n \"WhatPlacesDoYouWant1\",\n \"Statement230kPlaces2\",\n 'EmailScreen3',\n \"Loading1\",\n //\"PerfectFit1\",\n \"PreCheckout\",\n //HERE\n //\"FeaturePreference\",\n //\"InformationSources\",\n //\"ReviewAggregationStatement\",\n //\"InformationAccuracyQuestion\",\n //\"InformationUpdateStatement\",\n //\"SafetyCommitmentStatement\",\n //\"CommunityMap\",\n //\"PreCheckout\",\n ],\n components: {\n drawerButton: \"DrawerButtonUriel2\",\n footerDrawer: \"FooterDrawerUI\",\n quizSlider: \"QuizSliderAtly\"\n }\n },\n flow_testimonial: {\n version: \"flow_testimonial\",\n pages: [\n 'EmailScreen2',\n \"SearchTarget\",\n \"SafetyOfPlaces1\",\n \"SafetyRankingStatement\",\n \"SafetyRankingExplanation\",\n \"BiggestStruggles1\",\n \"DietaryRestrictions\",\n 'TagsStatement',\n \"WhereDoYouWantPlaces\",\n \"WhatPlacesDoYouWant1\",\n \"Statement230kPlaces2\",\n \"Loading1\",\n \"PerfectFit1\",\n \"PreCheckout\",\n ],\n components: {\n drawerButton: \"DrawerButtonTestimonial\",\n footerDrawer: \"FooterDrawerUI\",\n quizSlider: \"TestimonialStartPage\"\n }\n },\n testimonial_a: {\n version: \"flow_testimonial\",\n pages: [\n \"EmailScreen2\",\n \"SearchTarget\",\n \"SafetyOfPlaces1\",\n \"SafetyRankingStatement\",\n \"SafetyRankingExplanation\",\n \"BiggestStruggles1\",\n \"DietaryRestrictions\",\n 'TagsStatement',\n \"WhereDoYouWantPlaces\",\n \"WhatPlacesDoYouWant1\",\n \"Statement230kPlaces2\",\n \"LoadingImproved\",\n \"PerfectFit1\",\n \"PreCheckoutImproved\",\n ],\n components: {\n drawerButton: \"DrawerButtonTestimonialImproved\",\n footerDrawer: \"FooterDrawerUI\",\n quizSlider: \"TestimonialStartPage\"\n }\n },\n testimonial_b: {\n version: \"flow_testimonial\",\n pages: [\n \"SearchTarget\",\n \"SafetyOfPlaces1\",\n \"SafetyRankingStatement\",\n \"SafetyRankingExplanation\",\n \"BiggestStruggles1\",\n \"DietaryRestrictions\",\n 'TagsStatement',\n \"WhereDoYouWantPlaces\",\n \"WhatPlacesDoYouWant1\",\n \"Statement230kPlaces2\",\n \"LoadingImproved\",\n \"PerfectFit1\",\n \"PreCheckoutImproved\",\n ],\n components: {\n drawerButton: \"DrawerButtonTestimonialImproved\",\n footerDrawer: \"FooterDrawerUI\",\n quizSlider: \"TestimonialStartPage\"\n }\n },\n testimonial_c: {\n version: \"flow_testimonial\",\n pages: [\n \"SearchTarget\",\n \"SafetyOfPlaces1\",\n \"SafetyRankingStatement\",\n \"SafetyRankingExplanation\",\n \"BiggestStruggles1\",\n \"DietaryRestrictions\",\n 'TagsStatement',\n \"WhereDoYouWantPlaces\",\n \"WhatPlacesDoYouWant1\",\n \"Statement230kPlaces2\",\n \"Loading1\",\n \"PerfectFit1\",\n \"PreCheckout\",\n ],\n components: {\n drawerButton: \"DrawerButtonTestimonialImproved\",\n footerDrawer: \"FooterDrawerUI\",\n quizSlider: \"TestimonialStartPage\"\n }\n }\n};\n","export const Pages = {\n GlutenSensitivity1: {\n type: 'Question',\n text: 'What is your sensitivity to gluten?',\n subtext: 'This helps us provide more accurate recommendations for you',\n isMultipleChoice: false,\n allowSkip: true,\n answers: [\n {\n id: 'celiac',\n text: 'Celiac',\n ratio: 0.77,\n nextPageName: null,\n emojis: ['βš•οΈ', 'πŸ”¬', 'πŸ“‹', '✨', 'πŸ’ͺ']\n },\n {\n id: 'intolerant',\n text: 'Gluten intolerant',\n ratio: 0.16,\n nextPageName: null,\n emojis: ['βš•οΈ', '🍽️', '✨', 'πŸ’ͺ', '🌟']\n },\n {\n id: 'choice',\n text: 'Gluten-free by choice',\n ratio: 0.04,\n nextPageName: null,\n emojis: ['πŸ₯—', 'πŸ₯‘', '🌱', 'πŸ’š', '🧘']\n },\n ],\n },\n SafetyOfPlaces1: {\n type: 'Question',\n text: 'What type of places are you looking for?',\n subtext: null,\n isMultipleChoice: true,\n allowSkip: true,\n answers: [\n {\n id: 'dedicated',\n text: '100% GF places',\n ratio: 0.45,\n nextPageName: null,\n emojis: ['βœ…', 'πŸ”’', 'πŸ’―', 'πŸ†', '⭐']\n },\n {\n id: 'celiac_safe',\n text: 'Celiac-safe places',\n ratio: 0.35,\n nextPageName: null,\n emojis: ['βš•οΈ', 'πŸ›‘οΈ', 'βœ”οΈ', 'πŸ”', 'πŸ’ͺ']\n },\n {\n id: 'friendly',\n text: 'Gluten-free aware places',\n ratio: 0.20,\n nextPageName: null,\n emojis: ['🀝', '🍽️', 'πŸ“', '🌟', '✨']\n },\n {\n id: 'options',\n text: 'Places with GF options',\n ratio: 0.20,\n nextPageName: null,\n emojis: ['🀝', '🍽️', 'πŸ“', '🌟', '✨']\n },\n ],\n },\n GlutenSensitivity2: {\n type: 'Question',\n text: 'What symptoms do you typically experience with gluten?',\n isMultipleChoice: true,\n allowSkip: true,\n answers: [\n {\n id: 'digestive',\n text: 'Digestive issues',\n ratio: 0.68,\n nextPageName: null,\n emojis: ['βš•οΈ', 'πŸ’«', '🌿', 'πŸ’Š', '✨']\n },\n {\n id: 'fatigue',\n text: 'Fatigue and brain fog',\n ratio: 0.45,\n nextPageName: null,\n emojis: ['🌟', 'πŸ’«', '🧠', '✨', '🌿']\n },\n {\n id: 'skin',\n text: 'Skin problems',\n ratio: 0.23,\n nextPageName: null,\n emojis: ['βš•οΈ', 'πŸ’«', '🧴', '✨', '🌿']\n },\n {\n id: 'headaches',\n text: 'Headaches and migraines',\n ratio: 0.31,\n nextPageName: null,\n emojis: ['βš•οΈ', 'πŸ’«', '🧠', 'πŸ’Š', '✨']\n }\n ],\n },\n WhatPlacesDoYouWant1: {\n type: 'Question',\n text: 'What places do you need the most help finding?',\n isMultipleChoice: true,\n allowSkip: true,\n answers: [\n {\n id: 'restaurants',\n text: 'Restaurants',\n ratio: 0.81,\n nextPageName: null,\n emojis: ['🍽️', 'πŸ‘¨β€πŸ³', '🍳', '', '🍴']\n },\n {\n id: 'bars',\n text: 'Bars',\n ratio: 0.43,\n nextPageName: null,\n emojis: ['🍸', '🍹', '🍷', '🍺', 'πŸŽ‰']\n },\n {\n id: 'cafes',\n text: 'Cafes',\n ratio: 0.52,\n nextPageName: null,\n emojis: ['β˜•', 'πŸ«–', '🍡', 'πŸ§‹', 'πŸ₯']\n },\n {\n id: 'bakery',\n text: 'Bakeries',\n ratio: 0.27,\n nextPageName: null,\n emojis: ['πŸ₯–', 'πŸ₯―', 'πŸ₯¨', '🧁', 'πŸͺ']\n },\n {\n id: 'hotels',\n text: 'Hotels',\n ratio: 0.27,\n nextPageName: null,\n emojis: ['πŸ₯–', 'πŸ₯―', 'πŸ₯¨', '🧁', 'πŸͺ']\n },\n {\n id: 'Grocerystgroceryores',\n text: 'Grocery Stores',\n ratio: 0.27,\n nextPageName: null,\n emojis: ['πŸ₯–', 'πŸ₯―', 'πŸ₯¨', '🧁', 'πŸͺ']\n }\n\n ],\n },\n DietaryRestrictions: {\n type: 'Question',\n text: 'Got it!\\nBesides gluten, do you have any other dietary restrictions?',\n isMultipleChoice: true,\n allowSkip: true,\n answers: [\n {\n id: 'dairy',\n text: \"I'm dairy-free\",\n ratio: 0.35,\n nextPageName: null,\n emojis: ['πŸ₯›', '🌱', 'πŸ₯—', '✨', '🌿']\n },\n {\n id: 'vegan',\n text: \"I'm vegan\",\n ratio: 0.25,\n nextPageName: null,\n emojis: ['🌱', 'πŸ₯—', 'πŸ₯¬', 'πŸ₯•', '🌿']\n },\n {\n id: 'vegetarian',\n text: \"I'm vegetarian\",\n ratio: 0.32,\n nextPageName: null,\n emojis: ['πŸ₯œ', 'βš•οΈ', 'πŸ’«', '✨', 'πŸ’Š']\n },\n {\n id: 'allergen',\n text: \"I eat an allergen-friendly diet\",\n ratio: 0.12,\n nextPageName: null,\n emojis: ['πŸ₯œ', 'βš•οΈ', 'πŸ’«', '✨', 'πŸ’Š']\n },\n {\n id: 'none',\n text: 'No other restrictions',\n ratio: 0.49,\n nextPageName: null,\n emojis: ['βœ…', 'πŸ‘', 'πŸ†—', 'πŸ’―', 'πŸ™‚']\n }\n ],\n },\n DiningPreference: {\n type: 'Question',\n text: 'What type of dining experience do you prefer?',\n isMultipleChoice: false,\n allowSkip: true,\n answers: [\n {\n id: 'casual',\n text: 'Casual dining',\n ratio: 0.45,\n nextPageName: null,\n emojis: ['🍽️', 'β˜•', '🏑', 'πŸ‘•', '😊']\n },\n {\n id: 'fine',\n text: 'Fine dining',\n ratio: 0.25,\n nextPageName: null,\n emojis: ['🍷', '✨', 'πŸ‘”', 'πŸ•―οΈ', '🎩']\n },\n {\n id: 'quick',\n text: 'Quick service',\n ratio: 0.30,\n nextPageName: null,\n emojis: ['⚑', 'πŸƒ', 'πŸ₯ͺ', 'πŸ₯€', '⏱️']\n }\n ],\n },\n PriceRange: {\n type: 'Question',\n text: 'What is your preferred price range per meal?',\n isMultipleChoice: false,\n allowSkip: true,\n answers: [\n {\n id: 'budget',\n text: '$10-20',\n ratio: 0.35,\n nextPageName: null,\n emojis: ['πŸ’°', 'πŸ’΅', '️', 'πŸ€‘', 'πŸ’Έ']\n },\n {\n id: 'moderate',\n text: '$20-40',\n ratio: 0.40,\n nextPageName: null,\n emojis: ['πŸ’°', 'πŸ’°', 'πŸ’΅', 'πŸ’³', '🏷️']\n },\n {\n id: 'premium',\n text: '$40+',\n ratio: 0.25,\n nextPageName: null,\n emojis: ['πŸ’°', 'πŸ’°', 'πŸ’°', 'πŸ’Ž', 'πŸ’³']\n }\n ],\n },\n PreCheckout: {\n type: 'PreCheckout'\n },\n PreCheckoutImproved: {\n type: 'PreCheckoutImproved',\n bgColor: 'white',\n },\n Statement230kPlaces: {\n type: 'Statement',\n allowSkip: false\n },\n Statement230kPlaces2: {\n type: 'Statement',\n allowSkip: false\n },\n Loading1: {\n type: 'Statement',\n allowSkip: false\n },\n PerfectFit1: {\n type: 'Statement',\n allowSkip: false\n },\n LoadingImproved: {\n type: 'LoadingImproved',\n allowSkip: false\n },\n LocationPreference: {\n type: 'Question',\n text: 'Where do you want help finding places?',\n isMultipleChoice: true,\n allowSkip: true,\n answers: [\n {\n id: 'home',\n text: 'Around my house',\n ratio: 0.71,\n nextPageName: null,\n emojis: ['🏠', '🏑', 'πŸ“', 'πŸ—ΊοΈ', '🏘️']\n },\n {\n id: 'work',\n text: 'Around work',\n ratio: 0.31,\n nextPageName: null,\n emojis: ['πŸ’Ό', '🏒', 'πŸ“', 'πŸ—ΊοΈ', 'πŸ‘”']\n },\n {\n id: 'travel',\n text: 'While travelling',\n ratio: 0.93,\n nextPageName: null,\n emojis: ['✈️', '🧳', 'πŸ—ΊοΈ', '🌎', 'πŸ“']\n }\n ],\n },\n OccasionTypes: {\n type: 'Question',\n text: 'What occasions are you looking for places?',\n isMultipleChoice: true,\n allowSkip: true,\n answers: [\n {\n id: 'business',\n text: 'Business lunches',\n ratio: 0.25,\n nextPageName: null,\n emojis: ['πŸ’Ό', '🀝', '🍽️', 'πŸ‘”', 'πŸ“Š']\n },\n {\n id: 'date',\n text: 'Date nights',\n ratio: 0.63,\n nextPageName: null,\n emojis: ['πŸ’‘', 'πŸŒ™', 'πŸ’•', '🍷', '✨']\n },\n {\n id: 'friends',\n text: 'Lunch with friends',\n ratio: 0.76,\n nextPageName: null,\n emojis: ['πŸ‘₯', 'πŸ€—', '🍽️', '😊', 'πŸŽ‰']\n },\n {\n id: 'family',\n text: 'Family dinners',\n ratio: 0.68,\n nextPageName: null,\n emojis: ['πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦', '🏠', '🍽️', '❀️', '🌟']\n }\n ],\n },\n WebsiteHopping: {\n type: 'Question',\n text: 'Do you hop between different sites to find places?',\n isMultipleChoice: false,\n allowSkip: true,\n answers: [\n {\n id: 'yes',\n text: 'Yes',\n ratio: 0.82,\n nextPageName: null,\n emojis: ['πŸ”„', 'πŸ’»', 'πŸ”', 'πŸ“±', 'βœ…']\n },\n {\n id: 'no',\n text: 'No',\n ratio: 0.18,\n nextPageName: null,\n emojis: ['πŸ“±', 'πŸ’»', '✨', 'πŸ’«', '😌']\n }\n ],\n },\n CommunityParticipation: {\n type: 'Question',\n text: 'Do you want to participate in our community?',\n isMultipleChoice: false,\n allowSkip: true,\n answers: [\n {\n id: 'yes',\n text: 'Yes',\n ratio: 0.75,\n nextPageName: null,\n emojis: ['πŸ‘₯', '🀝', 'πŸ’ͺ', '🌟', '✨']\n },\n {\n id: 'no',\n text: 'No',\n ratio: 0.25,\n nextPageName: null,\n emojis: ['πŸ‘₯', 'πŸ’«', '✨', '😊', 'πŸ‘‹']\n }\n ],\n },\n CommunityMap: {\n type: 'Question',\n text: 'Do you want to checkout the gluten-free community map?',\n isMultipleChoice: false,\n allowSkip: false,\n answers: [\n {\n id: 'yes',\n text: 'Yes',\n ratio: 0.95,\n nextPageName: null,\n emojis: ['πŸ—ΊοΈ', 'πŸ“', 'πŸ‘₯', 'πŸ”', '🀝']\n },\n {\n id: 'no',\n text: 'No',\n ratio: 0.05,\n nextPageName: null,\n emojis: ['πŸ’«', '✨', 'πŸ‘‹', '😊', 'πŸ“']\n }\n ],\n },\n PlacesStatement: {\n type: 'Statement'\n },\n TagsStatement: {\n type: 'Statement',\n text: \"We have many filters to help you find the perfect place you're looking for\",\n allowSkip: false\n },\n EmailScreen1: {\n type: 'Email',\n text: \"Let's get you in!\",\n emailType: 'email',\n savedEmail: '',\n savedPassword: '',\n allowSkip: false\n },\n EmailScreen2: {\n type: 'Email',\n text: \"Sign up to start your gluten-free journey with Atly\",\n emailType: 'email',\n savedEmail: '',\n savedPassword: '',\n allowSkip: false\n },\n EmailScreen3: {\n type: 'Email',\n text: \"Almost ready! \\nLet's save your preferences\",\n emailType: 'email',\n savedEmail: '',\n savedPassword: '',\n allowSkip: false\n },\n SearchTarget: {\n type: 'Question',\n text: \"Great! Let's set you up.\\nWho are you finding \\ngluten-free places for?\",\n isMultipleChoice: false,\n allowSkip: true,\n answers: [\n {\n id: 'self',\n text: 'Myself',\n ratio: 0.63,\n nextPageName: null,\n emojis: ['πŸ™‹', '😊', '🍽️', 'πŸ’ͺ', '✨']\n },\n {\n id: 'sondaughter',\n text: 'My child',\n ratio: 0.28,\n nextPageName: null,\n emojis: ['πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦', '❀️', '🏠', '🍽️', 'πŸ€—']\n },\n {\n id: 'spouse',\n text: 'My spouse',\n ratio: 0.28,\n nextPageName: null,\n emojis: ['πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦', '❀️', '🏠', '🍽️', 'πŸ€—']\n },\n {\n id: 'friend',\n text: 'A friend',\n ratio: 0.09,\n nextPageName: null,\n emojis: ['πŸ‘₯', '🀝', 'πŸŽ‰', '🍽️', '😊']\n }\n ,\n {\n id: 'someone',\n text: 'Someone else',\n ratio: 0.09,\n nextPageName: null,\n emojis: ['πŸ‘₯', '🀝', 'πŸŽ‰', '🍽️', '😊']\n }\n ],\n },\n DiningChallenges: {\n type: 'Question',\n text: 'What makes dining out easier for you?',\n isMultipleChoice: false,\n allowSkip: true,\n answers: [\n {\n id: 'trained',\n text: 'Ordering from trained staff',\n ratio: 0.15,\n nextPageName: null,\n emojis: ['πŸ‘¨β€πŸ³', 'πŸ†', 'βœ…', 'πŸ’ͺ', 'πŸ”’']\n },\n {\n id: 'trust',\n text: 'Knowing the safe places',\n ratio: 0.53,\n nextPageName: null,\n emojis: ['βœ…', 'πŸ†', 'πŸ’ͺ', 'πŸ”’', 'πŸ’―']\n },\n {\n id: 'variety',\n text: 'More gluten-free options',\n ratio: 0.32,\n nextPageName: null,\n emojis: ['πŸ”', 'πŸ—ΊοΈ', '🍽️', '✨', '🎯']\n }\n ],\n },\n SafetyRankingPreference: {\n type: 'Question',\n text: 'What matters most to you when checking if a place is safe?',\n isMultipleChoice: false,\n allowSkip: true,\n answers: [\n {\n id: 'cross_contamination',\n text: 'Cross-contamination protocols',\n ratio: 0.45,\n nextPageName: null,\n emojis: ['πŸ”', 'βš•οΈ', 'βœ…', 'πŸ₯', 'πŸ›‘οΈ']\n },\n {\n id: 'dedicated',\n text: 'Dedicated gluten-free space',\n ratio: 0.30,\n nextPageName: null,\n emojis: ['🏠', '✨', 'πŸ”’', 'πŸ’―', '🍽️']\n },\n {\n id: 'staff_knowledge',\n text: 'Staff knowledge and training',\n ratio: 0.25,\n nextPageName: null,\n emojis: ['πŸ‘©β€πŸ³', 'πŸ“š', 'πŸŽ“', 'πŸ’ͺ', '🀝']\n }\n ],\n },\n SafetyRankingStatement: {\n type: 'Statement',\n allowSkip: false\n },\n CommunityValidationStatement: {\n type: 'Statement',\n allowSkip: false\n },\n GlobalCoverageStatement: {\n type: 'Statement',\n allowSkip: false\n },\n AggregatedInfoStatement: {\n type: 'Statement',\n allowSkip: false\n },\n DietitianStatement: {\n type: 'Statement',\n allowSkip: false\n },\n RealtimeUpdatesStatement: {\n type: 'Statement',\n allowSkip: false\n },\n CrossContaminationStatement: {\n type: 'Statement',\n allowSkip: false\n },\n TravelFeaturesStatement: {\n type: 'Statement',\n allowSkip: false\n },\n FeaturePreference: {\n type: 'Question',\n text: 'Which would be most helpful for you?',\n isMultipleChoice: false,\n allowSkip: true,\n answers: [\n {\n id: 'always',\n text: 'Places ranked by safety',\n ratio: 0.72,\n nextPageName: null,\n emojis: ['πŸ”', 'πŸ“±', 'πŸ˜“', '⏰', 'πŸ’­']\n },\n {\n id: 'sometimes',\n text: 'More reviews',\n ratio: 0.18,\n nextPageName: null,\n emojis: ['πŸ€”', 'βš–οΈ', 'πŸ”', 'πŸ“±', 'πŸ’«']\n },\n {\n id: 'rarely',\n text: 'Larger map',\n ratio: 0.10,\n nextPageName: null,\n emojis: ['✨', 'πŸ’ͺ', '😌', 'βœ…', '🎯']\n }\n ],\n },\n AtlyIntro1: {\n type: 'Statement',\n allowSkip: false,\n text: \"Welcome to Atly\"\n },\n SafetyRankingExplanation: {\n type: 'Statement',\n allowSkip: false\n },\n InformationSources: {\n type: 'Question',\n text: 'Where do you typically look for gluten-free information?',\n isMultipleChoice: true,\n allowSkip: true,\n answers: [\n {\n id: 'google_search',\n text: 'Google',\n ratio: 0.89,\n nextPageName: null,\n emojis: ['πŸ”', 'πŸ’»', '🌐', 'πŸ“±', 'πŸ”Ž']\n },\n {\n id: 'yelp',\n text: 'Yelp',\n ratio: 0.65,\n nextPageName: null,\n emojis: ['⭐', 'πŸ“', '🍽️', 'πŸ“±', 'πŸ’¬']\n },\n {\n id: 'tripadvisor',\n text: 'TripAdvisor',\n ratio: 0.43,\n nextPageName: null,\n emojis: ['✈️', '🌍', 'πŸ“', '🏨', '⭐']\n },\n {\n id: 'other',\n text: 'Other Sources',\n ratio: 0.21,\n nextPageName: null,\n emojis: ['πŸ“š', 'πŸ’­', 'πŸ”', 'πŸ“±', 'πŸ’‘']\n }\n ],\n },\n ReviewAggregationStatement: {\n type: 'Statement',\n allowSkip: false\n },\n InformationAccuracyQuestion: {\n type: 'Question',\n text: 'How often do you encounter outdated or incorrect gluten-free information?',\n isMultipleChoice: false,\n allowSkip: true,\n answers: [\n {\n id: 'frequently',\n text: 'Frequently',\n ratio: 0.46,\n nextPageName: null,\n emojis: ['πŸ˜“', '❌', 'πŸ“±', 'πŸ”', '⏰']\n },\n {\n id: 'sometimes',\n text: 'Sometimes',\n ratio: 0.40,\n nextPageName: null,\n emojis: ['πŸ€”', 'βš–οΈ', 'πŸ”', 'πŸ“±', '⏳']\n },\n {\n id: 'rarely',\n text: 'Rarely',\n ratio: 0.13,\n nextPageName: null,\n emojis: ['✨', 'βœ…', '😌', 'πŸ’ͺ', '🎯']\n },\n {\n id: 'never',\n text: 'Never',\n ratio: 0.01,\n nextPageName: null,\n emojis: ['✨', 'βœ…', '😌', 'πŸ’ͺ', '🎯']\n }\n ],\n },\n InformationUpdateStatement: {\n type: 'Statement',\n text: \"We have a dedicated team working alongside our community to maintain the most up-to-date and accurate gluten-free platform available. Our real-time updates and verification system ensure you always have reliable information.\",\n allowSkip: false\n },\n SafetyCommitmentStatement: {\n type: 'Statement',\n text: \"While we strive for perfection, we believe in being transparent. Mistakes can happen, but our commitment to your safety is unwavering. We continuously work with our community and experts to identify and correct any inaccuracies quickly.\",\n allowSkip: false\n },\n BiggestStruggles1: {\n type: 'Question',\n text: 'What do you want to achieve with Atly?',\n subtext: 'Pick up to 3',\n isMultipleChoice: true,\n maxSelections: 3,\n allowSkip: true,\n answers: [\n {\n id: 'finding_places',\n text: 'Find places easily',\n ratio: 0.85,\n nextPageName: null,\n emojis: ['πŸ”', 'πŸ—ΊοΈ', 'πŸ“±', 'πŸͺ', '✨']\n },\n {\n id: 'confidence',\n text: 'Eat with confidence',\n ratio: 0.72,\n nextPageName: null,\n emojis: ['πŸ’ͺ', 'βœ…', 'πŸ›‘οΈ', '😌', '🎯']\n },\n {\n id: 'ordering',\n text: 'Know what to order',\n ratio: 0.65,\n nextPageName: null,\n emojis: ['πŸ“', '🍽️', 'πŸ€”', 'βœ”οΈ', 'πŸ“‹']\n },\n {\n id: 'menus',\n text: 'Find GF menus',\n ratio: 0.58,\n nextPageName: null,\n emojis: ['πŸ“œ', 'πŸ”', 'πŸ“±', '✨', '🍽️']\n },\n {\n id: 'safety',\n text: 'Understand the safety of a place',\n ratio: 0.78,\n nextPageName: null,\n emojis: ['πŸ›‘οΈ', 'βš•οΈ', 'βœ…', 'πŸ”’', 'πŸ’ͺ']\n }\n ],\n },\n WhereDoYouWantPlaces: {\n type: 'Question',\n text: 'Where do you want to find gluten-free places?',\n isMultipleChoice: true,\n allowSkip: true,\n answers: [\n {\n id: 'neighborhood',\n text: '{neighborhood}',\n ratio: 0.45,\n nextPageName: null,\n emojis: ['🏘️', 'πŸ“', 'πŸ—ΊοΈ', '🏑', '✨']\n },\n {\n id: 'city',\n text: '{city}',\n ratio: 0.35,\n nextPageName: null,\n emojis: ['πŸ™οΈ', 'πŸ“', 'πŸŒ†', 'πŸŒƒ', '✨']\n },\n {\n id: 'region',\n text: '{region}',\n ratio: 0.15,\n nextPageName: null,\n emojis: ['πŸ—ΊοΈ', 'πŸ“', '🌎', 'πŸ›οΈ', '✨']\n },\n {\n id: 'country',\n text: '{country}',\n ratio: 0.05,\n nextPageName: null,\n emojis: ['🌎', '🌍', '🌏', '✈️', 'πŸ—ΊοΈ']\n },\n {\n id: 'worldwide',\n text: 'Worldwide',\n ratio: 0.05,\n nextPageName: null,\n emojis: ['🌎', '🌍', '🌏', '✈️', 'πŸ—ΊοΈ']\n }\n ],\n }\n};"],"names":["SocialProof","position","text","variant","showNoise","textVariant","count","param","noise","getNoise","min","MIN_SOCIAL_PROOF","max","MAX_SOCIAL_PROOF","range","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","div","className","jsx","style","width","concat","classNames","SocialProofAvatars","avatarsBorderColor","Image","alt","objectFit","height","src","label","value","formatAmount","Question","data","onAnswer","flowVersion","previousAnswer","isTransitioning","direction","onTransitionComplete","skipAnswerAnimation","isInSlider","locationData","selectedAnswers","setSelectedAnswers","useState","Array","isArray","showContent","setShowContent","isAnimating","setIsAnimating","useEffect","setTimeout","handleOptionClick","option","event","isMultipleChoice","prev","validPrev","filter","ans","isSelected","some","id","match","withoutNoneOptions","maxSelections","length","formatAnswerText","replace","neighborhood","city","region","country","filteredAnswers","getFilteredAnswers","validAnswers","answers","answer","formattedText","trim","type","includes","seen","Set","toLowerCase","has","add","h2","subtext","p","map","index","QuestionOption","onClick","e","animationDelay","PorangeButton","full","isNoneOption","button","transitionDelay","svg","viewBox","fill","xmlns","path","d","span","createExtendedHeaders","appPlatform","headers","app_version","config","version","app_platform","Authorization","getTopTenStepsList","topTenId","cursor","limit","query","queryString","Object","entries","key","join","url","api","address","result","fetch","AppPlatform","TT","json","createBranchLink","branchData","referringLinkUrl","isAuth","authToken","userId","reason","encodeURI","userDistinctId","getMixpanelDistinctId","queryParamsObject","getSearchParamsObject","method","body","JSON","stringify","get_login_token","campaign","stage","client_type","link_type","use_mixpanel_merge","referring_link_url","referring_link","in_product_share_method","from_topten_id","distinct_id","channel","document","referrer","map_id","user_id","conversion_tool","product","user_source","enrichDefaultCampaignData","link","flows","flow_c","pages","components","drawerButton","footerDrawer","quizSlider","flow2_e","flow2_e2","flow2_emailAtEnd","flow2_f","flow_testimonial","testimonial_a","testimonial_b","testimonial_c","Pages","GlutenSensitivity1","allowSkip","ratio","nextPageName","emojis","SafetyOfPlaces1","GlutenSensitivity2","WhatPlacesDoYouWant1","DietaryRestrictions","DiningPreference","PriceRange","PreCheckout","PreCheckoutImproved","bgColor","Statement230kPlaces","Statement230kPlaces2","Loading1","PerfectFit1","LoadingImproved","LocationPreference","OccasionTypes","WebsiteHopping","CommunityParticipation","CommunityMap","PlacesStatement","TagsStatement","EmailScreen1","emailType","savedEmail","savedPassword","EmailScreen2","EmailScreen3","SearchTarget","DiningChallenges","SafetyRankingPreference","SafetyRankingStatement","CommunityValidationStatement","GlobalCoverageStatement","AggregatedInfoStatement","DietitianStatement","RealtimeUpdatesStatement","CrossContaminationStatement","TravelFeaturesStatement","FeaturePreference","AtlyIntro1","SafetyRankingExplanation","InformationSources","ReviewAggregationStatement","InformationAccuracyQuestion","InformationUpdateStatement","SafetyCommitmentStatement","BiggestStruggles1","WhereDoYouWantPlaces"],"sourceRoot":""}