{"version":3,"file":"TextRotate.CSeL99Gr.mjs","names":["mask","Base","MotionSVG","SVG","svg","getProps","Icon","React.forwardRef","mask","Base","MotionSVG","SVG","svg","getProps","Icon","React.forwardRef","React.forwardRef","useState","useMemo","useCallback"],"sources":["https:/framerusercontent.com/modules/BgvEvq2t7DQ8Vl3stErW/BXtcsCaiF6V5VBXC3XG4/sXvVzDRaF.js","https:/framerusercontent.com/modules/jVWODsHvdakF0nOT3iAY/BuZthMSDJQSmBNk96Fhs/um7RPIjm1.js","https:/framerusercontent.com/modules/YdjVRYdIiGSMtRRPBm8e/ZwQAa1rsgJIRXfK3J9yu/GZygJXIxo.js","https:/framerusercontent.com/modules/LMbIxVxsDGV9ziGc9fKE/pFtjGw7yjOK1wDX1KQyG/TextRotate.js"],"sourcesContent":["// Generated by Framer (dd59b2c)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 10 0 L 10 2.222 M 10 11.111 L 10 20 M 18.5 7 L 20 9 L 18.5 11 L 10 11 L 10 7 Z M 18.5 7 L 12 7 M 2.167 3 L 14 3 L 14 7 L 2.167 7 L 0 5 Z\" fill=\"transparent\" height=\"20.00000019683838px\" id=\"F_SUlkITe\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--1ww558a, 2)\" stroke=\"var(--4rxgx6, black)\" transform=\"translate(2 2)\" width=\"20px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,CRY1Fpez4:color??props.CRY1Fpez4??\"rgb(0, 0, 0)\",vet7gqNu_:width1??props.vet7gqNu_??2};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,CRY1Fpez4,vet7gqNu_,...restProps}=getProps(props);const href=useSVGTemplate(\"2863874099\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-WWHAx\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1ww558a\":vet7gqNu_,\"--4rxgx6\":CRY1Fpez4,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-WWHAx { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"CRY1Fpez4\":\"color\",\"vet7gqNu_\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Sign Road Sign 3\",\"color\":{\"type\":\"variable\",\"value\":\"4rxgx6\"},\"set\":{\"localId\":\"vectorSet/dSZJyzeMx\",\"id\":\"dSZJyzeMx\",\"moduleId\":\"E1vFg1A6wcWAGuFi9Hz1\"}}\n */const Icon=withCSS(Component,css,\"framer-WWHAx\");Icon.displayName=\"Sign Road Sign 3\";export default Icon;addPropertyControls(Icon,{CRY1Fpez4:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},vet7gqNu_:{defaultValue:2,displayStepper:true,hidden:false,max:4,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"24\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerVector\":\"{\\\"name\\\":\\\"Sign Road Sign 3\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"4rxgx6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/dSZJyzeMx\\\",\\\"id\\\":\\\"dSZJyzeMx\\\",\\\"moduleId\\\":\\\"E1vFg1A6wcWAGuFi9Hz1\\\"}}\",\"framerVariables\":\"{\\\"CRY1Fpez4\\\":\\\"color\\\",\\\"vet7gqNu_\\\":\\\"width1\\\"}\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"24\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (dd59b2c)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 0 8 C 0 8 4 0 11 0 C 18 0 22 8 22 8\" fill=\"transparent\" height=\"8px\" id=\"i1gQjUeG5\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--1ww558a, 2)\" stroke=\"var(--4rxgx6, black)\" transform=\"translate(1 4)\" width=\"22px\"/><path d=\"M 0 0 C 0 0 4 8 11 8 C 18 8 22 0 22 0\" fill=\"transparent\" height=\"8px\" id=\"Z46WJCsiS\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--1ww558a, 2)\" stroke=\"var(--4rxgx6, black)\" transform=\"translate(1 12)\" width=\"22px\"/><path d=\"M 3 6 C 4.657 6 6 4.657 6 3 C 6 1.343 4.657 0 3 0 C 1.343 0 0 1.343 0 3 C 0 4.657 1.343 6 3 6 Z\" fill=\"transparent\" height=\"6px\" id=\"JCy6NQxG9\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--1ww558a, 2)\" stroke=\"var(--4rxgx6, black)\" transform=\"translate(9 9)\" width=\"6px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,CRY1Fpez4:color??props.CRY1Fpez4??\"rgb(0, 0, 0)\",vet7gqNu_:width1??props.vet7gqNu_??2};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,CRY1Fpez4,vet7gqNu_,...restProps}=getProps(props);const href=useSVGTemplate(\"743045950\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-TQmuP\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1ww558a\":vet7gqNu_,\"--4rxgx6\":CRY1Fpez4,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-TQmuP { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"CRY1Fpez4\":\"color\",\"vet7gqNu_\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Eye Password\",\"color\":{\"type\":\"variable\",\"value\":\"4rxgx6\"},\"set\":{\"localId\":\"vectorSet/dSZJyzeMx\",\"id\":\"dSZJyzeMx\",\"moduleId\":\"E1vFg1A6wcWAGuFi9Hz1\"}}\n */const Icon=withCSS(Component,css,\"framer-TQmuP\");Icon.displayName=\"Eye Password\";export default Icon;addPropertyControls(Icon,{CRY1Fpez4:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},vet7gqNu_:{defaultValue:2,displayStepper:true,hidden:false,max:4,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"CRY1Fpez4\\\":\\\"color\\\",\\\"vet7gqNu_\\\":\\\"width1\\\"}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"24\",\"framerVector\":\"{\\\"name\\\":\\\"Eye Password\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"4rxgx6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/dSZJyzeMx\\\",\\\"id\\\":\\\"dSZJyzeMx\\\",\\\"moduleId\\\":\\\"E1vFg1A6wcWAGuFi9Hz1\\\"}}\",\"framerIntrinsicHeight\":\"24\",\"framerImmutableVariables\":\"true\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (dd59b2c)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 6 4 L 6 15 M 12 0 L 12 15 M 0 9 L 0 15\" fill=\"transparent\" height=\"15px\" id=\"rSmmbkQTR\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--1ww558a, 2)\" stroke=\"var(--4rxgx6, black)\" transform=\"translate(6 5)\" width=\"12px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,CRY1Fpez4:color??props.CRY1Fpez4??\"rgb(0, 0, 0)\",vet7gqNu_:width1??props.vet7gqNu_??2};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,CRY1Fpez4,vet7gqNu_,...restProps}=getProps(props);const href=useSVGTemplate(\"3080454377\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-p2S2k\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1ww558a\":vet7gqNu_,\"--4rxgx6\":CRY1Fpez4,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-p2S2k { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"CRY1Fpez4\":\"color\",\"vet7gqNu_\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Bar Chart Alt\",\"color\":{\"type\":\"variable\",\"value\":\"4rxgx6\"},\"set\":{\"localId\":\"vectorSet/dSZJyzeMx\",\"id\":\"dSZJyzeMx\",\"moduleId\":\"E1vFg1A6wcWAGuFi9Hz1\"}}\n */const Icon=withCSS(Component,css,\"framer-p2S2k\");Icon.displayName=\"Bar Chart Alt\";export default Icon;addPropertyControls(Icon,{CRY1Fpez4:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},vet7gqNu_:{defaultValue:2,displayStepper:true,hidden:false,max:4,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerVector\":\"{\\\"name\\\":\\\"Bar Chart Alt\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"4rxgx6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/dSZJyzeMx\\\",\\\"id\\\":\\\"dSZJyzeMx\\\",\\\"moduleId\\\":\\\"E1vFg1A6wcWAGuFi9Hz1\\\"}}\",\"framerIntrinsicHeight\":\"24\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerVariables\":\"{\\\"CRY1Fpez4\\\":\\\"color\\\",\\\"vet7gqNu_\\\":\\\"width1\\\"}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"24\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Get Started: https://www.framer.com/developers\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";import{forwardRef,useCallback,useEffect,useImperativeHandle,useMemo,useState}from\"react\";// Helper function to split text into characters with support for unicode and emojis\nconst splitIntoCharacters=text=>{if(typeof Intl!==\"undefined\"&&\"Segmenter\"in Intl){const segmenter=new Intl.Segmenter(\"en\",{granularity:\"grapheme\"});return Array.from(segmenter.segment(text),({segment})=>segment);}return Array.from(text);};const TextRotate=/*#__PURE__*/forwardRef(({texts,transition={type:\"spring\",damping:25,stiffness:300},fontSize,initial={y:\"100%\",opacity:0},animate={y:0,opacity:1},exit={y:\"-120%\",opacity:0},rotationInterval=2e3,staggerDuration=0,staggerFrom=\"first\",loop=true,auto=true,splitBy=\"characters\",onNext,mainClassName,splitLevelClassName,elementLevelClassName,...props},ref)=>{const[currentTextIndex,setCurrentTextIndex]=useState(0);// Check if we're in the canvas (editor) environment\nconst isCanvas=RenderTarget.current()===RenderTarget.canvas;const elements=useMemo(()=>{const currentText=texts[currentTextIndex];if(!currentText)return[];if(splitBy===\"characters\"){const words=currentText.split(\" \");return words.map((word,i)=>({characters:splitIntoCharacters(word),needsSpace:i!==words.length-1}));}// Handle words, lines, or custom split\nconst parts=splitBy===\"words\"?currentText.split(\" \"):splitBy===\"lines\"?currentText.split(\"\\n\"):currentText.split(splitBy);return parts.map((part,i)=>({characters:[part],needsSpace:i!==parts.length-1}));},[texts,currentTextIndex,splitBy]);const getStaggerDelay=useCallback((index,totalChars)=>{// No stagger delay in canvas mode\nif(isCanvas)return 0;const total=totalChars;if(staggerFrom===\"first\")return index*staggerDuration;if(staggerFrom===\"last\")return(total-1-index)*staggerDuration;if(staggerFrom===\"center\"){const center=Math.floor(total/2);return Math.abs(center-index)*staggerDuration;}if(staggerFrom===\"random\"){const randomIndex=Math.floor(Math.random()*total);return Math.abs(randomIndex-index)*staggerDuration;}return Math.abs(Number(staggerFrom)-index)*staggerDuration;},[staggerFrom,staggerDuration,isCanvas]);const handleIndexChange=useCallback(newIndex=>{setCurrentTextIndex(newIndex);onNext?.(newIndex);},[onNext]);const next=useCallback(()=>{const nextIndex=currentTextIndex===texts.length-1?loop?0:currentTextIndex:currentTextIndex+1;if(nextIndex!==currentTextIndex){handleIndexChange(nextIndex);}},[currentTextIndex,texts.length,loop,handleIndexChange]);const previous=useCallback(()=>{const prevIndex=currentTextIndex===0?loop?texts.length-1:currentTextIndex:currentTextIndex-1;if(prevIndex!==currentTextIndex){handleIndexChange(prevIndex);}},[currentTextIndex,texts.length,loop,handleIndexChange]);const jumpTo=useCallback(index=>{const validIndex=Math.max(0,Math.min(index,texts.length-1));if(validIndex!==currentTextIndex){handleIndexChange(validIndex);}},[texts.length,currentTextIndex,handleIndexChange]);const reset=useCallback(()=>{if(currentTextIndex!==0){handleIndexChange(0);}},[currentTextIndex,handleIndexChange]);useImperativeHandle(ref,()=>({next,previous,jumpTo,reset}),[next,previous,jumpTo,reset]);useEffect(()=>{if(!auto||isCanvas)return;const intervalId=setInterval(next,rotationInterval);return()=>clearInterval(intervalId);},[next,rotationInterval,auto,isCanvas]);// For canvas mode, render a simplified static version\nif(isCanvas){return /*#__PURE__*/_jsx(motion.span,{style:{display:\"block\",width:\"100%\",whiteSpace:\"normal\",wordBreak:\"break-word\",overflowWrap:\"break-word\",fontSize:fontSize,lineHeight:\"1\",...mainClassName},...props,children:elements.map((wordObj,wordIndex)=>/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",...splitLevelClassName},children:[wordObj.characters.map((char,charIndex)=>/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",...elementLevelClassName},children:char},charIndex)),wordObj.needsSpace&&/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"pre\"},children:\" \"})]},wordIndex))});}return /*#__PURE__*/_jsxs(motion.span,{style:{display:\"block\",width:\"100%\",whiteSpace:\"normal\",wordBreak:\"break-word\",overflowWrap:\"break-word\",fontSize:fontSize,lineHeight:\"1\",...mainClassName},...props,layout:true,transition:transition,children:[/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:\"-10000px\",width:\"1px\",height:\"1px\",overflow:\"visible\"},children:texts[currentTextIndex]}),/*#__PURE__*/_jsx(AnimatePresence,{mode:\"wait\",initial:false,children:/*#__PURE__*/_jsx(motion.span,{style:{display:\"flex\",flexWrap:\"wrap\",...splitBy===\"lines\"&&{flexDirection:\"column\",width:\"100%\"}},layout:true,\"aria-hidden\":\"true\",children:elements.map((wordObj,wordIndex,array)=>{const previousCharsCount=array.slice(0,wordIndex).reduce((sum,word)=>sum+word.characters.length,0);return /*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",...splitLevelClassName},children:[wordObj.characters.map((char,charIndex)=>/*#__PURE__*/_jsx(motion.span,{initial:initial,animate:animate,exit:exit,transition:{...transition,delay:getStaggerDelay(previousCharsCount+charIndex,array.reduce((sum,word)=>sum+word.characters.length,0))},style:{display:\"inline-block\",...elementLevelClassName},children:char},charIndex)),wordObj.needsSpace&&/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"pre\"},children:\" \"})]},wordIndex);})},currentTextIndex)})]});});export default function TextRotatePreview(props){const{texts,font,highlightColor,rotationInterval,staggerDuration,staggerFrom,fontSize,fontWeight}=props;const mainStyle={color:highlightColor,overflow:\"hidden\"};const splitLevelStyle={overflow:\"hidden\"};return /*#__PURE__*/_jsx(\"div\",{style:{...font,width:\"100%\",display:\"block\",textAlign:\"left\"},children:/*#__PURE__*/_jsx(motion.h1,{style:{display:\"block\",textAlign:\"left\",whiteSpace:\"normal\",margin:0,fontWeight:fontWeight},layout:true,children:/*#__PURE__*/_jsx(TextRotate,{texts:texts,fontSize:fontSize,mainClassName:mainStyle,staggerFrom:staggerFrom,initial:{y:\"100%\"},animate:{y:0},exit:{y:\"-120%\"},staggerDuration:staggerDuration,splitLevelClassName:splitLevelStyle,transition:{type:\"spring\",damping:30,stiffness:400},rotationInterval:rotationInterval})})});}addPropertyControls(TextRotatePreview,{texts:{title:\"Rotating Texts\",type:ControlType.Array,control:{type:ControlType.String},defaultValue:[\"work!\",\"fancy ✽\",\"right\",\"fast\",\"fun\",\"rock\",\"🕶️🕶️🕶️\"]},font:{type:ControlType.Font,controls:\"extended\",displayFontSize:true,displayTextAlignment:true,defaultFontType:\"sans-serif\",defaultValue:{fontSize:48,letterSpacing:.1,lineHeight:\"1\"}},fontSize:{title:\"Font Size\",type:ControlType.Number,defaultValue:72,min:12,max:200,step:1},fontWeight:{title:\"Font Weight\",type:ControlType.Enum,options:[300,400,500,600,700,800],optionTitles:[\"Light\",\"Regular\",\"Medium\",\"Semibold\",\"Bold\",\"Extra Bold\"],defaultValue:600},highlightColor:{title:\"Highlight Text Color\",type:ControlType.Color,defaultValue:\"#ffffff\"},rotationInterval:{title:\"Rotation Interval\",type:ControlType.Number,defaultValue:2e3,min:500,max:1e4,step:100,unit:\"ms\"},staggerDuration:{title:\"Stagger Duration\",type:ControlType.Number,defaultValue:.025,min:0,max:.2,step:.005,unit:\"s\"},staggerFrom:{title:\"Stagger From\",type:ControlType.Enum,options:[\"first\",\"last\",\"center\",\"random\"],optionTitles:[\"First\",\"Last\",\"Center\",\"Random\"],defaultValue:\"last\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TextRotatePreview\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextRotate.map"],"mappings":"mUAC0C,IAAqF,IAA4B,EAAqCA,EAAK,0BAAgCC,EAAkB,EAAW,SAAS,EAAM,EAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,GAAG,EAAU,MAAI,SAAS,EAAM,QAAQ,CAAC,CAAE,CAAC,EAAQC,EAAU,EAAO,OAAOD,CAAI,EAAQE,EAAiB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,GAAM,EAAM,OAAO,EAAsB,EAAKD,EAAU,CAAC,GAAG,EAAc,WAAa,MAAa,UAAQ,CAAC,EAAe,EAAK,MAAM,CAAC,GAAG,EAAS,MAAa,UAAQ,CAAC,CAAE,CAAC,EAAQE,EAAI,weAA8eC,GAAU,CAAC,QAAM,SAAO,KAAG,QAAM,SAAO,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAO,EAAM,WAA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