{"version":3,"file":"TextWithHighlight.DbaFnrSc.mjs","names":["React.useMemo","React.useCallback","__esmMin","pe","ne","init_npm_react_18_3_1","init_jsx_runtime","c","p","motion","init_framer_motion_DhsWWWsN","useIsStaticRenderer","ControlType","init_framer_CaDWdxiz","addPropertyControls","toTextFill","input","fallback","from","to","TextWithHighlight","isCanvas","Tag","props","sharedTextStyle","styleFromFont","getNonRevealAnim","delay","getStaticStyleForNonReveal","color","Span","pick","colors","list","n","baseTextFill","textFillFor","renderSegmented","hiIndex","regex","out","last","m","i","segment","start","end","txt","hiN","hiColor","textFill","hiText","hiTextNode","gradientTextStyle","noneHighlightStyle","isReveal","isHalf","dur","heightPct","shiftPx","barStyle","revealWrapperStyle","revealFillMaskStyle","revealTextLayerStyle","solidHighlightStyle","textReveal","decorativeHighlightStyle","content","delay0","total","done","part","len","wordStyle","w","rootStyle","STYLES","tagStyle","init_TextWithHighlight","fontVariationSettings","axes","f","gradient"],"sources":["https:/framerusercontent.com/modules/1moKzATc6GKNwfy64iAv/cpCLT2n0K2uhLrQY9tvG/TextWithHighlight.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{motion}from\"framer-motion\";import*as React from\"react\";/** Font control value plus optional variable-font axes ('\"wght\" 650, \"opsz\" 32'). */const styleFromFont=(f,axes)=>{const fontVariationSettings=axes&&axes.trim()?axes:undefined;if(!f)return{fontVariationSettings};return{fontSize:f.fontSize,lineHeight:f.lineHeight,fontWeight:f.fontWeight,fontFamily:f.fontFamily,fontStyle:f.fontStyle,letterSpacing:f.letterSpacing,textAlign:f.textAlign,fontVariationSettings};};const STYLES={root:{width:\"100%\"}};function toTextFill(input,fallback){if(!input)return fallback;if(typeof input===\"string\")return{color:input};if(input.fill===\"gradient\"){const from=input.from||fallback.color;const to=input.to||from;const angle=Number.isFinite(input.angle)?input.angle:90;return{color:from,gradient:`linear-gradient(${angle}deg, ${from}, ${to})`};}return{color:input.color||fallback.color};}/** Gradient text: the gradient shows through the letters only. */const gradientTextStyle=gradient=>({backgroundImage:gradient,WebkitBackgroundClip:\"text\",backgroundClip:\"text\",color:\"transparent\",WebkitTextFillColor:\"transparent\",// Keeps descenders and italics inside the painted area.\n    paddingBottom:\"0.08em\",marginBottom:\"-0.08em\",display:\"inline\",WebkitBoxDecorationBreak:\"clone\",boxDecorationBreak:\"clone\"});export default function TextWithHighlight(props){// props unchanged ...\nconst isCanvas=useIsStaticRenderer()// ← true in Framer design canvas (not preview)\n;const Tag=typeof props.tag===\"string\"&&props.tag.length>0?props.tag:\"span\";const sharedTextStyle=React.useMemo(()=>({color:props.titleColor,display:\"inline\",...styleFromFont(props.font,props.fontAxes)}),[props.titleColor,props.font,props.fontAxes]);// turn off any non-reveal animation styles on canvas\nconst getNonRevealAnim=React.useCallback(()=>{if(isCanvas)return{}// ← disable in canvas\n;const delay=`${props.animationDelay}s`;switch(props.highlightAnimation){case\"fade\":return{opacity:0,animation:`twh_fade 0.6s ${delay} forwards`};case\"slide\":return{transform:\"translateY(10px)\",opacity:0,animation:`twh_slide 0.5s ${delay} forwards`};case\"scale\":return{transform:\"scale(0.8)\",animation:`twh_scale 0.4s ${delay} forwards`};default:return{};}},[isCanvas,props.highlightAnimation,props.animationDelay]);const getStaticStyleForNonReveal=React.useCallback(color=>{switch(props.highlightStyle){case\"underline\":return{textDecoration:\"underline\",textDecorationColor:color,textDecorationThickness:\"0.12em\",textUnderlineOffset:\"0.1em\"};case\"half\":return{background:`linear-gradient(${props.halfDirection}deg, transparent 60%, ${color} 60%)`,borderRadius:4};case\"outline\":return{boxShadow:`inset 0 0 0 2px ${color}`,borderRadius:4,padding:\"0 4px\"};default:return{};}},[props.highlightStyle,props.halfDirection]);// choose span type: plain <span> on canvas, <motion.span> in preview\nconst Span=isCanvas?\"span\":motion.span;// Highlight N uses the Nth color, cycling through the list. Empty lists\n// fall back to the single Highlight BG / Highlight Text colors.\nconst pick=(list,n,fallback)=>{const colors=Array.isArray(list)?list.filter(Boolean):[];return colors.length?colors[n%colors.length]:fallback;};// Highlight text: solid Highlight Text, or a From → To gradient.\nconst baseTextFill=toTextFill({fill:props.highlightTextFill,color:props.highlightTextColor||props.titleColor,from:props.textGradientFrom,to:props.textGradientTo,angle:props.textGradientAngle},{color:props.highlightTextColor||props.titleColor||\"#000\"});const textFillFor=n=>{const list=Array.isArray(props.highlightTextColors)?props.highlightTextColors.filter(Boolean):[];return list.length?toTextFill(list[n%list.length],baseTextFill):baseTextFill;};const renderSegmented=segment=>{let hiIndex=0;const regex=/~(.*?)~/g;const out=[];let last=0,m,i=0;while(m=regex.exec(segment)){const start=m.index;const end=regex.lastIndex;if(start>last){out.push(/*#__PURE__*/_jsx(\"span\",{style:sharedTextStyle,children:segment.slice(last,start)},`plain-${i++}`));}const txt=m[1];const hiN=hiIndex++;const hiColor=pick(props.highlightColors,hiN,props.highlightColor);const textFill=textFillFor(hiN);const hiText=textFill.color;// Gradient text sits in its own span so the highlight's own\n// background (solid/half fills) stays separate.\nconst hiTextNode=textFill.gradient?/*#__PURE__*/_jsx(\"span\",{style:gradientTextStyle(textFill.gradient),children:txt}):txt;// If animation is \"none\", just render plain text with no highlight\nif(props.highlightAnimation===\"none\"){const noneHighlightStyle={...sharedTextStyle,...styleFromFont(props.highlightFont,props.highlightAxes),color:hiText};out.push(/*#__PURE__*/_jsx(\"span\",{style:noneHighlightStyle,children:hiTextNode},`hi-${i++}`));}else{const isReveal=props.highlightAnimation===\"reveal\";const isHalf=props.highlightStyle===\"half\";const dur=Math.max(.01,Number(props.revealDuration)||.6);const heightPct=isHalf?Math.max(0,Math.min(100,Number(props.halfFillRatio)||45)):100;const shiftPx=isHalf?Number(props.halfVerticalShift||0):0;// For canvas, we render the reveal **finished** (scaleX(1)) and without animation\nconst barStyle=isCanvas?{position:\"absolute\",inset:0,backgroundColor:`rgba(from ${hiColor} r g b / 0.95)`,transform:\"scaleX(1)\"}:{position:\"absolute\",inset:0,backgroundColor:`rgba(from ${hiColor} r g b / 0.95)`,transformOrigin:\"left center\",transform:\"scaleX(0)\",animation:`twh_swipe ${dur}s ${Number(props.animationDelay||0)}s ease-out forwards`};if((props.highlightStyle===\"solid\"||isHalf)&&isReveal){const revealWrapperStyle={position:\"relative\",display:\"inline-block\",overflow:\"hidden\",borderRadius:isHalf?2:3,padding:isHalf?\"0.05em 0.1em\":\"0.02em 0.1em\",...sharedTextStyle,...styleFromFont(props.highlightFont,props.highlightAxes),color:hiText};const revealFillMaskStyle={position:\"absolute\",left:0,right:0,bottom:0,height:`${heightPct}%`,transform:`translateY(${isHalf?`${shiftPx}px`:\"0\"}) rotate(${isHalf?`${props.halfDirection}deg`:\"0deg\"})`,zIndex:isHalf?2:3,borderRadius:isHalf?2:3,pointerEvents:\"none\"};const revealTextLayerStyle={position:\"relative\",zIndex:isHalf?1:3};out.push(/*#__PURE__*/_jsxs(Span,{...!isCanvas&&{initial:{opacity:0},animate:{opacity:1},transition:{duration:.2}},style:revealWrapperStyle,children:[/*#__PURE__*/_jsx(\"span\",{style:revealFillMaskStyle,children:/*#__PURE__*/_jsx(\"span\",{style:barStyle})}),/*#__PURE__*/_jsx(\"span\",{style:revealTextLayerStyle,children:hiTextNode})]},`hi-${i++}`));}else if(props.highlightStyle===\"solid\"){const solidHighlightStyle={...sharedTextStyle,...styleFromFont(props.highlightFont,props.highlightAxes),backgroundColor:hiColor,color:hiText,borderRadius:4,padding:\"0.05em 0.08em\",...isCanvas?{}:getNonRevealAnim()};out.push(/*#__PURE__*/_jsx(\"span\",{style:solidHighlightStyle,children:hiTextNode},`hi-${i++}`));}else{// Text Only + Reveal: each word wipes in left to right, in\n// sequence. Words (not the whole phrase) are the\n// inline-blocks, so the highlight still wraps mid-phrase.\nconst textReveal=props.highlightStyle===\"text\"&&props.highlightAnimation===\"reveal\"&&!isCanvas;const decorativeHighlightStyle={...sharedTextStyle,...styleFromFont(props.highlightFont,props.highlightAxes),...getStaticStyleForNonReveal(hiColor),...isCanvas||textReveal?{}:getNonRevealAnim(),color:hiText};let content=hiTextNode;if(textReveal){const dur=Math.max(.01,Number(props.revealDuration)||.6);const delay0=Number(props.animationDelay||0);const total=Math.max(1,txt.replace(/\\s+/g,\"\").length);let done=0;content=txt.split(/(\\s+)/).map((part,w)=>{if(!part||/^\\s+$/.test(part))return part;const start=delay0+dur*done/total;const len=dur*part.length/total;done+=part.length;const wordStyle={display:\"inline-block\",clipPath:\"inset(0 100% 0 0)\",animation:`twh_textreveal ${len}s ${start}s linear forwards`,...textFill.gradient?gradientTextStyle(textFill.gradient):{}};return(// biome-ignore lint/suspicious/noArrayIndexKey: word order is its identity\n/*#__PURE__*/_jsx(\"span\",{style:wordStyle,children:part},w));});}out.push(/*#__PURE__*/_jsx(\"span\",{style:decorativeHighlightStyle,children:content},`hi-${i++}`));}}last=end;}if(last<segment.length){out.push(/*#__PURE__*/_jsx(\"span\",{style:sharedTextStyle,children:segment.slice(last)},`last-${i++}`));}return out;};const rootStyle=React.useMemo(()=>({...STYLES.root,textAlign:props.Align}),[props.Align]);const tagStyle=React.useMemo(()=>({...sharedTextStyle,display:\"inline\"}),[sharedTextStyle]);return /*#__PURE__*/_jsx(\"div\",{style:rootStyle,children:/*#__PURE__*/_jsxs(Tag,{style:tagStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:`\n          @keyframes twh_fade { from { opacity: 0; } to { opacity: 1; } }\n          @keyframes twh_slide { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }\n          @keyframes twh_scale { from { transform: scaleY(0.1); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }\n          @keyframes twh_swipe { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }\n          @keyframes twh_textreveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }\n        `}),renderSegmented(props.text||\"\")]})});}addPropertyControls(TextWithHighlight,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"This is ~highlighted~ text.\",description:\"Text value for Text.  \"},font:{// @ts-ignore\ntype:ControlType.Font,controls:\"extended\",displayFontSize:true,displayTextAlignment:false,defaultFontType:\"sans-serif\",defaultValue:{fontSize:80,lineHeight:\"1.2em\",variant:\"Extra Bold\"},description:\"Typography for Font: family, size, weight, and related font controls exposed below.\"},fontAxes:{type:ControlType.String,title:\"Font Axes\",defaultValue:\"\",placeholder:'\"wght\" 500',description:'Variable-font axes for the regular text, e.g. \"wght\" 500, \"opsz\" 48. Use a variable font (DM Sans is one). Empty: use the Font as is.'},highlightFont:{// @ts-ignore\ntype:ControlType.Font,controls:\"extended\",displayFontSize:true,displayTextAlignment:true,defaultFontType:\"sans-serif\",defaultValue:{fontSize:80,lineHeight:\"1.2em\",variant:\"Extra Bold\"},title:\"Highlight Font\",description:\"Typography for Highlight Font: family, size, weight, and related font controls exposed below.\"},highlightAxes:{type:ControlType.String,title:\"Highlight Axes\",defaultValue:\"\",placeholder:'\"wght\" 700',description:'Variable-font axes for the highlighted words, e.g. \"wght\" 700, \"opsz\" 48. Empty: use the Highlight Font as is.'},titleColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#2B2B2B\",description:\"Sets Text Color using Framer’s color control (canvas and published site).\"},highlightColor:{hidden:p=>p.highlightStyle===\"text\",type:ControlType.Color,title:\"Highlight BG\",defaultValue:\"#FFD740\",description:\"Sets Highlight BG using Framer’s color control (canvas and published site).\"},highlightTextFill:{type:ControlType.Enum,title:\"Text Fill\",description:\"Highlighted words in a solid color, or a gradient running through the letters.\",options:[\"solid\",\"gradient\"],optionTitles:[\"Solid\",\"Gradient\"],displaySegmentedControl:true,defaultValue:\"solid\"},textGradientFrom:{type:ControlType.Color,title:\"Text From\",defaultValue:\"#3A70B3\",hidden:p=>p.highlightTextFill!==\"gradient\"},textGradientTo:{type:ControlType.Color,title:\"Text To\",defaultValue:\"#35D1A9\",hidden:p=>p.highlightTextFill!==\"gradient\"},textGradientAngle:{type:ControlType.Number,title:\"Text Angle\",description:\"90\\xb0 runs left to right, 180\\xb0 top to bottom.\",defaultValue:90,min:0,max:360,step:1,unit:\"\\xb0\",hidden:p=>p.highlightTextFill!==\"gradient\"},highlightTextColor:{hidden:p=>p.highlightTextFill===\"gradient\",type:ControlType.Color,title:\"Highlight Text\",defaultValue:\"#000000\",description:\"Sets Highlight Text using Framer’s color control (canvas and published site).\"},highlightColors:{hidden:p=>p.highlightStyle===\"text\",type:ControlType.Array,title:\"Highlight BGs\",description:\"Optional. One color per ~highlight~, in order (2nd color for the 2nd highlight…), cycling if there are more highlights than colors. Empty uses Highlight BG.\",control:{type:ControlType.Color},defaultValue:[]},highlightTextColors:{type:ControlType.Array,title:\"Highlight Texts\",description:\"Optional. Text fill per ~highlight~, in order, cycling like Highlight BGs. Each can be solid or a gradient. Empty uses Text Fill above.\",control:{type:ControlType.Object,controls:{fill:{type:ControlType.Enum,title:\"Fill\",options:[\"solid\",\"gradient\"],optionTitles:[\"Solid\",\"Gradient\"],displaySegmentedControl:true,defaultValue:\"solid\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\",hidden:i=>i.fill===\"gradient\"},from:{type:ControlType.Color,title:\"From\",defaultValue:\"#3A70B3\",hidden:i=>i.fill!==\"gradient\"},to:{type:ControlType.Color,title:\"To\",defaultValue:\"#35D1A9\",hidden:i=>i.fill!==\"gradient\"},angle:{type:ControlType.Number,title:\"Angle\",defaultValue:90,min:0,max:360,step:1,unit:\"\\xb0\",hidden:i=>i.fill!==\"gradient\"}}},defaultValue:[]},highlightAnimation:{type:ControlType.Enum,title:\"Animation\",options:[\"none\",\"fade\",\"slide\",\"scale\",\"reveal\"],optionTitles:[\"None\",\"Fade In\",\"Slide Up\",\"Scale\",\"Reveal Left→Right\"],defaultValue:\"reveal\",description:\"Selects Animation: None \\xb7 Fade In \\xb7 Slide Up \\xb7 Scale \\xb7 Reveal Left→Right.\"},animationDelay:{type:ControlType.Number,title:\"Delay (s)\",min:0,max:5,defaultValue:0,step:.1,unit:\"s\",description:\"Adjusts Delay (s). Allowed range: 0–5.\"},revealDuration:{type:ControlType.Number,title:\"Speed (s)\",min:.05,max:10,defaultValue:.6,step:.05,unit:\"s\",hidden:p=>p.highlightAnimation!==\"reveal\",description:\"Adjusts Speed (s). Allowed range: 0.05–10.\"},Align:{type:ControlType.Enum,title:\"Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"left\",description:\"Selects Align: Left \\xb7 Center \\xb7 Right.\"},highlightStyle:{type:ControlType.Enum,title:\"Style\",options:[\"solid\",\"underline\",\"half\",\"outline\",\"text\"],optionTitles:[\"Solid\",\"Underline\",\"Half BG\",\"Outline\",\"Text Only\"],defaultValue:\"half\",description:\"Solid \\xb7 Underline \\xb7 Half BG \\xb7 Outline, or Text Only: no background, just the Text Fill color or gradient.\"},halfFillRatio:{type:ControlType.Number,title:\"Half Height (%)\",min:0,max:200,defaultValue:45,step:1,unit:\"%\",hidden:p=>p.highlightStyle!==\"half\"||p.highlightAnimation!==\"reveal\",description:\"Adjusts Half Height (%). Allowed range: 0–200.\"},halfDirection:{type:ControlType.Number,title:\"Half direction\",min:-180,max:180,defaultValue:0,step:1,unit:\"deg\",hidden:p=>p.highlightStyle!==\"half\"||p.highlightAnimation!==\"reveal\",description:\"Adjusts Half direction. Maximum: 180.\"},halfVerticalShift:{type:ControlType.Number,title:\"Half Vertical Shift (px)\",min:-300,max:300,defaultValue:0,step:1,unit:\"px\",hidden:p=>p.highlightStyle!==\"half\"||p.highlightAnimation!==\"reveal\",description:\"Adjusts Half Vertical Shift (px). Maximum: 300.\"},tag:{type:ControlType.Enum,title:\"SEO Tag\",options:[\"h1\",\"h2\",\"h3\",\"p\",\"div\",\"span\"],optionTitles:[\"H1\",\"H2\",\"H3\",\"Paragraph\",\"Div\",\"Span\"],defaultValue:\"h1\",description:\"Selects SEO Tag: H1 \\xb7 H2 \\xb7 H3 \\xb7 Paragraph \\xb7 Div \\xb7 Span.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TextWithHighlight\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextWithHighlight.map"],"mappings":"A,kPAA6nB,SAASe,EAAW,EAAM,EAAS,CAAC,GAAG,CAACC,EAAM,OAAOC,EAAS,GAAG,OAAOD,GAAQ,SAAS,MAAM,CAAC,MAAMA,CAAK,EAAE,GAAGA,EAAM,OAAO,WAAW,CAAC,IAAME,EAAKF,EAAM,MAAMC,EAAS,MAAYE,EAAGH,EAAM,IAAIE,EAA6D,MAAM,CAAC,MAAMA,EAAK,SAAS,mBAAvE,OAAO,SAASF,EAAM,KAAK,EAAEA,EAAM,MAAM,GAAuD,OAAOE,EAAK,IAAIC,EAAG,EAAE,CAAE,CAAC,MAAM,CAAC,MAAMH,EAAM,OAAOC,EAAS,KAAK,CAAE,CACj3B,SAAwBG,EAAkB,EAAM,CACjL,IAAMC,EAASV,EAAoB,EAC5BW,EAAI,OAAOC,EAAM,KAAM,UAAUA,EAAM,IAAI,OAAO,EAAEA,EAAM,IAAI,OAAaC,EAAgBxB,OAAmB,CAAC,MAAMuB,EAAM,WAAW,QAAQ,SAAS,GAAGE,EAAcF,EAAM,KAAKA,EAAM,QAAQ,CAAC,GAAG,CAACA,EAAM,WAAWA,EAAM,KAAKA,EAAM,QAAQ,CAAC,EAClPG,EAAiBzB,MAAsB,CAAC,GAAGoB,EAAS,MAAM,CAAC,EAChE,IAAMM,EAAM,GAAGJ,EAAM,eAAe,GAAG,OAAOA,EAAM,mBAAb,CAAiC,IAAI,OAAO,MAAM,CAAC,QAAQ,EAAE,UAAU,iBAAiBI,EAAM,UAAU,EAAE,IAAI,QAAQ,MAAM,CAAC,UAAU,mBAAmB,QAAQ,EAAE,UAAU,kBAAkBA,EAAM,UAAU,EAAE,IAAI,QAAQ,MAAM,CAAC,UAAU,aAAa,UAAU,kBAAkBA,EAAM,UAAU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