{"version":3,"file":"TextWithMultipleTooltips.Tkule_pX.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","_Fragment","useState","useRef"],"sources":["https:/framerusercontent.com/modules/FrifCkrluyDhOI1GBJyJ/TycoUsR9vV9mckUF4KcL/enMLpCM1d.js","https:/framerusercontent.com/modules/PaEvcr2Wh5QmaoADD5pr/2OPr350A09uMePW6fpgH/TextWithMultipleTooltips.js"],"sourcesContent":["// Generated by Framer (9045c1a)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,SVG,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={hn0eJqJ8E:{hover:true,pressed:true},LJdsKHOap:{hover:true,pressed:true},TicOaOEzw:{hover:true,pressed:true}};const cycleOrder=[\"LJdsKHOap\",\"hn0eJqJ8E\",\"TicOaOEzw\"];const serializationHash=\"framer-d3gPf\";const variantClassNames={hn0eJqJ8E:\"framer-v-11ifx2s\",LJdsKHOap:\"framer-v-p291er\",TicOaOEzw:\"framer-v-1ptrp0\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Button-sec-orange\":\"hn0eJqJ8E\",\"Button-sec-purple\":\"LJdsKHOap\",\"Variant 3\":\"TicOaOEzw\"};const getProps=({click,height,id,width,...props})=>{return{...props,pdOSse3SB:click??props.pdOSse3SB,variant:humanReadableVariantMap[props.variant]??props.variant??\"LJdsKHOap\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,pdOSse3SB,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"LJdsKHOap\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1kmymy9=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(pdOSse3SB){const res=await pdOSse3SB(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if([\"TicOaOEzw-hover\",\"TicOaOEzw-pressed\"].includes(gestureVariant))return false;if(baseVariant===\"TicOaOEzw\")return false;return true;};const isDisplayed1=()=>{if([\"TicOaOEzw-hover\",\"TicOaOEzw-pressed\"].includes(gestureVariant))return true;if(baseVariant===\"TicOaOEzw\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-p291er\",className,classNames),\"data-framer-name\":\"Button-sec-purple\",\"data-highlight\":true,\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"LJdsKHOap\",onTap:onTap1kmymy9,ref:refBinding,style:{backgroundColor:\"var(--token-90460c1a-6c0f-4c65-b220-0af8168833b5, rgb(119, 119, 249))\",borderBottomLeftRadius:30,borderBottomRightRadius:30,borderTopLeftRadius:30,borderTopRightRadius:30,boxShadow:\"0px 0.7065919983928324px 0.7065919983928324px -0.625px rgba(0, 0, 0, 0.14764), 0px 1.8065619053231785px 1.8065619053231785px -1.25px rgba(0, 0, 0, 0.14398), 0px 3.6217592146567767px 3.6217592146567767px -1.875px rgba(0, 0, 0, 0.13793), 0px 6.8655999097303715px 6.8655999097303715px -2.5px rgba(0, 0, 0, 0.12711), 0px 13.646761411524492px 13.646761411524492px -3.125px rgba(0, 0, 0, 0.10451), 0px 30px 30px -3.75px rgba(0, 0, 0, 0.05)\",...style},variants:{\"hn0eJqJ8E-hover\":{backgroundColor:\"var(--token-7f4c425e-96d1-4b4b-b697-ff171abed688, rgb(249, 53, 0))\",boxShadow:\"0px 0.8479103980713989px 0.8479103980713989px -0.625px rgba(0, 0, 0, 0.14764), 0px 2.167874286387814px 2.167874286387814px -1.25px rgba(0, 0, 0, 0.14398), 0px 4.346111057588132px 4.346111057588132px -1.875px rgba(0, 0, 0, 0.13793), 0px 8.238719891676446px 8.238719891676446px -2.5px rgba(0, 0, 0, 0.12711), 0px 16.376113693829392px 16.376113693829392px -3.125px rgba(0, 0, 0, 0.10451), 0px 36px 36px -3.75px rgba(0, 0, 0, 0.05), inset 0px 2px 0px 0px rgba(255, 255, 255, 0.37)\"},\"hn0eJqJ8E-pressed\":{backgroundColor:\"var(--token-7f4c425e-96d1-4b4b-b697-ff171abed688, rgb(249, 53, 0))\",boxShadow:\"0px 0.7563822798474575px 0.7563822798474575px -0.9375px rgba(0, 0, 0, 0.14602), 0px 2.293780835949292px 2.293780835949292px -1.875px rgba(0, 0, 0, 0.13793), 0px 6.063520845410238px 6.063520845410238px -2.8125px rgba(0, 0, 0, 0.11809), 0px 19px 19px -3.75px rgba(0, 0, 0, 0.05), inset 0px 2px 0px 0px rgba(255, 255, 255, 0.37)\"},\"LJdsKHOap-hover\":{backgroundColor:\"rgb(109, 109, 237)\",boxShadow:\"0px 0.7065919983928324px 0.7065919983928324px -0.625px rgba(0, 0, 0, 0.14764), 0px 1.8065619053231785px 1.8065619053231785px -1.25px rgba(0, 0, 0, 0.14398), 0px 3.6217592146567767px 3.6217592146567767px -1.875px rgba(0, 0, 0, 0.13793), 0px 6.8655999097303715px 6.8655999097303715px -2.5px rgba(0, 0, 0, 0.12711), 0px 13.646761411524492px 13.646761411524492px -3.125px rgba(0, 0, 0, 0.10451), 0px 30px 30px -3.75px rgba(0, 0, 0, 0.05), inset 0px 2px 0px 0px rgba(255, 255, 255, 0.37)\"},\"LJdsKHOap-pressed\":{backgroundColor:\"rgb(109, 109, 237)\",boxShadow:\"0px 0.5971439051427296px 0.5971439051427296px -0.9375px rgba(0, 0, 0, 0.14602), 0px 1.8108796073283884px 1.8108796073283884px -1.875px rgba(0, 0, 0, 0.13793), 0px 4.786990141113346px 4.786990141113346px -2.8125px rgba(0, 0, 0, 0.11809), 0px 15px 15px -3.75px rgba(0, 0, 0, 0.05), inset 0px 2px 0px 0px rgba(255, 255, 255, 0.37)\"},\"TicOaOEzw-hover\":{backgroundColor:\"rgb(97, 97, 255)\",boxShadow:\"0px 0.8479103980713989px 0.8479103980713989px -0.625px rgba(0, 0, 0, 0.14764), 0px 2.167874286387814px 2.167874286387814px -1.25px rgba(0, 0, 0, 0.14398), 0px 4.346111057588132px 4.346111057588132px -1.875px rgba(0, 0, 0, 0.13793), 0px 8.238719891676446px 8.238719891676446px -2.5px rgba(0, 0, 0, 0.12711), 0px 16.376113693829392px 16.376113693829392px -3.125px rgba(0, 0, 0, 0.10451), 0px 36px 36px -3.75px rgba(0, 0, 0, 0.05), inset 0px 2px 0px 0px rgba(255, 255, 255, 0.37)\"},\"TicOaOEzw-pressed\":{backgroundColor:\"rgb(97, 97, 255)\",boxShadow:\"0px 0.7563822798474575px 0.7563822798474575px -0.9375px rgba(0, 0, 0, 0.14602), 0px 2.293780835949292px 2.293780835949292px -1.875px rgba(0, 0, 0, 0.13793), 0px 6.063520845410238px 6.063520845410238px -2.8125px rgba(0, 0, 0, 0.11809), 0px 19px 19px -3.75px rgba(0, 0, 0, 0.05), inset 0px 2px 0px 0px rgba(255, 255, 255, 0.37)\"},hn0eJqJ8E:{backgroundColor:\"var(--token-e77ef741-48a7-49f2-b1ba-5f04bd81238e, rgb(255, 80, 0))\"}},...addPropertyOverrides({\"hn0eJqJ8E-hover\":{\"data-framer-name\":undefined},\"hn0eJqJ8E-pressed\":{\"data-framer-name\":undefined},\"LJdsKHOap-hover\":{\"data-framer-name\":undefined},\"LJdsKHOap-pressed\":{\"data-framer-name\":undefined},\"TicOaOEzw-hover\":{\"data-framer-name\":undefined},\"TicOaOEzw-pressed\":{\"data-framer-name\":undefined},hn0eJqJ8E:{\"data-framer-name\":\"Button-sec-orange\"},TicOaOEzw:{\"data-framer-name\":\"Variant 3\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-1bygnsq\",layoutDependency:layoutDependency,layoutId:\"O3ClEqouT\",style:{backgroundColor:\"rgb(239, 239, 255)\",borderBottomLeftRadius:1e3,borderBottomRightRadius:1e3,borderTopLeftRadius:1e3,borderTopRightRadius:1e3},variants:{hn0eJqJ8E:{backgroundColor:\"var(--token-0c6043cd-4697-42bd-a728-b6f3cb85f2f6, rgb(254, 236, 230))\"}}}),isDisplayed1()&&/*#__PURE__*/_jsx(SVG,{className:\"framer-t5ibn0\",\"data-framer-name\":\"Book 4_spark_24dp_FFFFFF_FILL0_wght400_GRAD0_opsz24\",fill:\"black\",intrinsicHeight:24,intrinsicWidth:24,layoutDependency:layoutDependency,layoutId:\"XsLtuNiBb\",svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24\" viewBox=\"0 -960 960 960\" width=\"24\" fill=\"#FFF\"><path d=\"M200-313q10-3 19.5-5t20.5-2h40v-480h-40q-17 0-28.5 11.5T200-760v447Zm40 233q-50 0-85-35t-35-85v-560q0-50 35-85t85-35h280v80H360v480h240v-120h80v200H240q-17 0-28.5 11.5T200-200q0 17 11.5 28.5T240-160h520v-320h80v400H240Zm-40-233v-487 487Zm500-167q0-92 64-156t156-64q-92 0-156-64t-64-156q0 92-64 156t-156 64q92 0 156 64t64 156Z\"/></svg>',withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Learn More\"})}),className:\"framer-1cptxfx\",fonts:[\"GF;Inter-600\"],layoutDependency:layoutDependency,layoutId:\"xwwOgvY7x\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"0px\"},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({TicOaOEzw:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Generate policy with AI\"})})}},baseVariant,gestureVariant)})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-d3gPf.framer-1o99bkx, .framer-d3gPf .framer-1o99bkx { display: block; }\",\".framer-d3gPf.framer-p291er { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: center; overflow: visible; padding: 25px; position: relative; width: min-content; }\",\".framer-d3gPf .framer-1bygnsq { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 24px); overflow: visible; position: relative; width: 24px; }\",\".framer-d3gPf .framer-t5ibn0 { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 24px); position: relative; width: 24px; }\",\".framer-d3gPf .framer-1cptxfx { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-d3gPf.framer-p291er { gap: 0px; } .framer-d3gPf.framer-p291er > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-d3gPf.framer-p291er > :first-child { margin-left: 0px; } .framer-d3gPf.framer-p291er > :last-child { margin-right: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 50\n * @framerIntrinsicWidth 161\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"hn0eJqJ8E\":{\"layout\":[\"auto\",\"fixed\"]},\"TicOaOEzw\":{\"layout\":[\"auto\",\"fixed\"]},\"eIMRC0alJ\":{\"layout\":[\"auto\",\"fixed\"]},\"omIFZ9vwF\":{\"layout\":[\"auto\",\"fixed\"]},\"YwnmIscj0\":{\"layout\":[\"auto\",\"fixed\"]},\"z2Pn5gUkZ\":{\"layout\":[\"auto\",\"fixed\"]},\"GupdK91Ma\":{\"layout\":[\"auto\",\"fixed\"]},\"Px3RiiQ7R\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"pdOSse3SB\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerenMLpCM1d=withCSS(Component,css,\"framer-d3gPf\");export default FramerenMLpCM1d;FramerenMLpCM1d.displayName=\"Button-secondary\";FramerenMLpCM1d.defaultProps={height:50,width:161};addPropertyControls(FramerenMLpCM1d,{variant:{options:[\"LJdsKHOap\",\"hn0eJqJ8E\",\"TicOaOEzw\"],optionTitles:[\"Button-sec-purple\",\"Button-sec-orange\",\"Variant 3\"],title:\"Variant\",type:ControlType.Enum},pdOSse3SB:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerenMLpCM1d,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZ1rib2Bg-4.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerenMLpCM1d\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"hn0eJqJ8E\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"TicOaOEzw\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"eIMRC0alJ\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"omIFZ9vwF\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"YwnmIscj0\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"z2Pn5gUkZ\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"GupdK91Ma\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"Px3RiiQ7R\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"50\",\"framerIntrinsicWidth\":\"161\",\"framerVariables\":\"{\\\"pdOSse3SB\\\":\\\"click\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./enMLpCM1d.map","/**\n * Notes by Rik: References I used:\n * - https://www.framer.com/developers/property-controls\n * - https://www.framer.community/c/developers/default-text-style-in-code-components\n * - https://build.ms/2024/10/13/building-a-customizable-framer-component/\n *\n * Also: you might wonder why I built my own <Tooltip> code here, instead of using\n * a known library (like ChakraUI, Mui Material, PrimeReact, etc)?\n *\n * Well! I really wanted to use a library. But at this point in time (Feb 2025),\n * Framer was not able to load in *any* of the big libraries (I tried those ones\n * and many more). From what I gather from googling into Framer support community\n * and such, a fewyears ago, Framer supported seamless importing of many React\n * libraries, *but*, these days, they seem to have redueced support (?!).\n * No clue why.\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useRef,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/components/auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */function convertStyleObjectToString(style){return Object.entries(style).map(([key,value])=>{// Convert camelCase to kebab-case\nconst kebabKey=key.replace(/([A-Z])/g,\"-$1\").toLowerCase();return`${kebabKey}: ${value}`;}).join(\"; \");}const useWindowWidth=()=>{const[width,setWidth]=useState(typeof window!==\"undefined\"?window.innerWidth:800// Default width for SSR\n);useEffect(()=>{if(typeof window===\"undefined\")return;// Prevent running on the server\nconst handleResize=()=>setWidth(window.innerWidth);window.addEventListener(\"resize\",handleResize);return()=>window.removeEventListener(\"resize\",handleResize);},[]);return width;};// Source: https://paladini.dev/posts/how-to-make-an-extremely-reusable-tooltip-component-with-react--and-nothing-else/\nconst Tooltip=props=>{const timeoutRef=useRef(null);const tooltipRef=useRef(null);const[active,setActive]=useState(false);const[position,setPosition]=useState({left:\"50%\",transform:\"translateX(-50%)\"});const calculatePosition=()=>{if(tooltipRef.current){const tooltipRect=tooltipRef.current.getBoundingClientRect();const triggerRect=tooltipRef.current.parentElement.getBoundingClientRect();const viewportWidth=window.innerWidth;let newLeft=\"50%\";let newTransform=\"translateX(-50%)\";if(tooltipRect.left<10){// Tooltip overflows on the left side\nnewLeft=\"0\";newTransform=\"none\";}else if(tooltipRect.right>viewportWidth-10){// Tooltip overflows on the right side\nnewLeft=\"auto\";newTransform=\"none\";tooltipRef.current.style.right=\"0\"// Align to the right edge\n;}setPosition({left:newLeft,transform:newTransform});}};const showTip=()=>{clearTimeout(timeoutRef.current);setActive(true);setTimeout(()=>{calculatePosition()// Recalculate position every time tooltip is shown\n;},10);};const hideTip=()=>{timeoutRef.current=setTimeout(()=>{setActive(false);setPosition({left:\"50%\",transform:\"translateX(-50%)\"})// Reset position when hiding\n;},props.delay||200);};const tooltipContent=props.content;const tooltipLinkStyleString=convertStyleObjectToString(tooltipLinkStyle);// Add styling for the <a> element\nconst updatedTooltipContent=tooltipContent.replace(/<a\\s+(href=['\"][^'\"]+['\"])/gi,`<a style=\"${tooltipLinkStyleString}\" $1`);const browserWindowWidth=useWindowWidth();const browserWindowWidthDependentTooltipTipStyle=browserWindowWidth>400?{...tooltipTipStyle,...tooltipTipStyleDesktop}:{...tooltipTipStyle,...tooltipTipStyleMobile};return /*#__PURE__*/_jsxs(\"div\",{className:\"Tooltip-Wrapper\",style:tooltipWrapperStyle,// When to show the tooltip\nonMouseEnter:showTip,onMouseLeave:hideTip,children:[props.children,active&&/*#__PURE__*/_jsx(\"div\",{ref:tooltipRef,style:{...browserWindowWidthDependentTooltipTipStyle,...position},className:`Tooltip-Tip ${props.direction||\"top\"}`,onMouseEnter:showTip,onMouseLeave:hideTip,dangerouslySetInnerHTML:{__html:updatedTooltipContent}})]});};const insertTooltips=(text,replacements)=>{if(!text||!replacements||replacements.length===0)return text;const replacedText=replacements.reduce((acc,{toBeTooltippedString,tooltipString})=>{const regex=new RegExp(`(${toBeTooltippedString})`,\"gi\");return acc.flatMap((part,index)=>{if(typeof part!==\"string\")return part// Keep previous JSX elements intact\n;const splitParts=part.split(regex);return splitParts.flatMap((subPart,subIndex)=>subPart.toLowerCase()===toBeTooltippedString.toLowerCase()?/*#__PURE__*/_jsx(Tooltip,{content:tooltipString,direction:\"top\",children:/*#__PURE__*/_jsx(\"span\",{style:replacedTextStyle,children:subPart})},`${index}-${subIndex}`):subPart);});},[text])// Initialize acc as an array\n;return /*#__PURE__*/_jsx(\"div\",{children:replacedText});};export default function TextWithMultipleTooltips(props){const inputText=props.text;const toBeTooltippedStrings=props.toBeTooltippedStrings;const outputText=insertTooltips(inputText,toBeTooltippedStrings);const textColor=props.textColor;// const font = props.font\nconst textFieldFont=props.textFieldFont;// const textBlockStyle = {\n//     fontFamily: font.fontFamily,\n//     color: textColor,\n//     fontWeight: font.fontWeight,\n//     fontSize: font.fontSize,\n//     lineHeight: font.lineHeight,\n//     letterSpacing: font.letterSpacing,\n//     textAlign: font.textAlign,\n// }\nconst textBlockStyle={fontFamily:textFieldFont.fontFamily,color:textColor,fontWeight:textFieldFont.fontWeight,fontSize:textFieldFont.fontSize,lineHeight:textFieldFont.lineHeight,letterSpacing:textFieldFont.letterSpacing,textAlign:textFieldFont.textAlign};return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:/*#__PURE__*/_jsx(\"div\",{style:textBlockStyle,children:insertTooltips(inputText,toBeTooltippedStrings)})})});}// Note by Rik: the defaultProps for the object is not working in preview, but it\n// *does* work in the actual page. Would be nice to have this preview fixed as well.\nTextWithMultipleTooltips.defaultProps={text:\"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.\",toBeTooltippedStrings:[{toBeTooltippedString:\"printing and typesetting\",tooltipString:\"This is an example tooltip value with <a href='https://wikipedia.com'>an external link</a>.\"}],textColor:\"#888888\",font:{fontFamily:\"Inter\",fontWeight:500,fontSize:20,lineHeight:\"1.4em\",letterSpacing:\"-0.5px\",textAlign:\"left\"},textFieldFont:{fontFamily:\"Inter\",fontWeight:\"500\",fontSize:\"20px\",lineHeight:\"1.4em\",letterSpacing:\"-0.5px\",textAlign:\"left\"}};addPropertyControls(TextWithMultipleTooltips,{text:{type:ControlType.String,title:\"Content\"},toBeTooltippedStrings:{type:ControlType.Array,title:\"To-be-tooltipped strings\",control:{type:ControlType.Object,controls:{toBeTooltippedString:{type:ControlType.String,title:\"String\"},tooltipString:{type:ControlType.String,title:\"Tooltip content\"}}},maxCount:5},textColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#888888\"},// font: {\n//     type: ControlType.Font,\n//     title: \"Font\",\n//     defaultValue: TextWithMultipleTooltips.defaultProps.font,\n//     controls: \"extended\",\n// },\ntextFieldFont:{type:ControlType.Object,title:\"Font\",controls:{fontFamily:{type:ControlType.String,title:\"Family\"},fontSize:{type:ControlType.String,title:\"Size\"},fontWeight:{type:ControlType.Enum,title:\"Weight\",options:[\"Normal\",\"Bold\",\"100\",\"200\",\"300\",\"400\",\"500\",\"600\",\"700\",\"800\",\"900\"]},lineHeight:{type:ControlType.String,title:\"lineHeight\"},letterSpacing:{type:ControlType.String,title:\"letterSpacing\"},textAlign:{type:ControlType.String,title:\"textAlign\"}}}});// Styles are written in object syntax\n// Learn more: https://reactjs.org/docs/dom-elements.html#style\nconst containerStyle={height:\"100%\",display:\"flex\",justifyContent:\"left\",alignItems:\"center\",overflow:\"visible\"};const replacedTextStyle={// color: \"#00a6f4\", // Uncomment this if we want the replaced word(s) to be blue\ntextDecoration:\"underline\",textDecorationStyle:\"dotted\",textUnderlineOffset:\"2px\",cursor:\"pointer\"};const tooltipWrapperStyle={display:\"inline-block\",position:\"relative\"};const tooltipTipStyle={position:\"absolute\",borderRadius:\"4px\",left:\"50%\",transform:\"translateX(-50%)\",border:\"1px solid #cad5e2\",background:\"white\",webkitBoxShadow:\"0 20px 25px -5px rgb(0 0 0 / 0.13)\",boxShadow:\"0 0 50px rgb(0 0 0 / 0.13)\",zIndex:\"100\",bottom:\"100%\",marginBottom:\"8px\",padding:\"10px\",whiteSpace:\"normal\",width:\"max-content\",lineHeight:\"1.5em\",wordWrap:\"break-word\",overflowWrap:\"break-word\",textAlign:\"left\",\"&::before\":{content:\" \",left:\"50%\",border:\"solid transparent\",height:\"0\",width:\"0\",position:\"absolute\",pointerEvents:\"none\",borderWidth:\"6px\",marginLeft:\"-30px\",top:\"100%\",borderTopColor:\"black\"}};const tooltipTipStyleDesktop={maxWidth:\"400px\"};const tooltipTipStyleMobile={maxWidth:\"250px\"};const tooltipLinkStyle={color:\"#00a6f4\",textDecoration:\"none\",\"&::hover\":{color:\"red\"}};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TextWithMultipleTooltips\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextWithMultipleTooltips.map"],"mappings":"soBACmqB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,2CAAlxB,IAAiK,IAAkE,IAA4B,CAAgC,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,QAAQ,GAAK,CAAC,UAAU,CAAC,MAAM,GAAK,QAAQ,GAAK,CAAC,UAAU,CAAC,MAAM,GAAK,QAAQ,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,UAAU,kBAAkB,CAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAA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