{"version":3,"file":"Test_js.CPd0wM-R.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/q8Z5krkWpM4Arju5Ekut/juwNxOIWPju62XoqQw4c/XslMQMI4_.js","https:/framerusercontent.com/modules/41eNzRfBD9PJwIGPVCTS/22E6pJzhSI1g5YQhjE75/Test_js.js"],"sourcesContent":["// Generated by Framer (68888f7)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const enabledGestures={tUiv83SHo:{pressed:true}};const cycleOrder=[\"tUiv83SHo\",\"agxVBpKKj\",\"i8lCwT7E8\",\"lLnSqCaXj\",\"bRd5ENWAV\"];const serializationHash=\"framer-yaFg9\";const variantClassNames={agxVBpKKj:\"framer-v-2yd3qs\",bRd5ENWAV:\"framer-v-abpdmy\",i8lCwT7E8:\"framer-v-a574pk\",lLnSqCaXj:\"framer-v-1k1z2j0\",tUiv83SHo:\"framer-v-raww7\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const transformTemplate1=(_,t)=>`translate(-50%, -50%) ${t}`;const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?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={\"Variant 1\":\"tUiv83SHo\",\"Variant 2\":\"agxVBpKKj\",\"Variant 3\":\"i8lCwT7E8\",\"Variant 4\":\"lLnSqCaXj\",\"Variant 5\":\"bRd5ENWAV\"};const getProps=({height,id,width,...props})=>{var _humanReadableVariantMap_props_variant,_ref;return{...props,variant:(_ref=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref!==void 0?_ref:\"tUiv83SHo\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"tUiv83SHo\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const isDisplayed=()=>{if([\"agxVBpKKj\",\"i8lCwT7E8\",\"lLnSqCaXj\",\"bRd5ENWAV\"].includes(baseVariant))return true;return false;};const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(serializationHash,...sharedStyleClassNames,\"framer-raww7\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"tUiv83SHo\",ref:ref!==null&&ref!==void 0?ref:ref1,style:{\"--border-bottom-width\":\"0px\",\"--border-color\":\"rgba(0, 0, 0, 0)\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\",backgroundColor:\"var(--token-f1419a13-5f6e-41f0-bd71-7b36f7e19c49, rgb(186, 91, 128))\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100,...style},variants:{\"tUiv83SHo-pressed\":{backgroundColor:\"rgb(186, 91, 128)\"},agxVBpKKj:{backgroundColor:\"rgb(255, 255, 255)\"},bRd5ENWAV:{backgroundColor:\"rgb(255, 255, 255)\"},i8lCwT7E8:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-f1419a13-5f6e-41f0-bd71-7b36f7e19c49, rgb(186, 91, 128))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"rgb(255, 255, 255)\"},lLnSqCaXj:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-f24ad3d5-cef9-4c20-9291-c91034888068, rgb(255, 208, 64))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"rgb(255, 255, 255)\"}},...addPropertyOverrides({\"tUiv83SHo-pressed\":{\"data-framer-name\":undefined},agxVBpKKj:{\"data-framer-name\":\"Variant 2\"},bRd5ENWAV:{\"data-framer-name\":\"Variant 5\"},i8lCwT7E8:{\"data-border\":true,\"data-framer-name\":\"Variant 3\"},lLnSqCaXj:{\"data-border\":true,\"data-framer-name\":\"Variant 4\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7UG9wcGlucy01MDA=\",\"--framer-font-family\":'\"Poppins\", \"Poppins Placeholder\", sans-serif',\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"30px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-3c61daed-5eda-45f3-82e9-bfea9b6c0e9a, rgb(52, 52, 52)))\"},children:\"Discover\"})}),className:\"framer-18vzsga\",\"data-framer-name\":\"Our Services\",fonts:[\"GF;Poppins-500\"],layoutDependency:layoutDependency,layoutId:\"LKt7l8BRp\",style:{\"--extracted-r6o4lv\":\"var(--token-3c61daed-5eda-45f3-82e9-bfea9b6c0e9a, rgb(52, 52, 52))\",\"--framer-paragraph-spacing\":\"0px\"},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({bRd5ENWAV:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7UG9wcGlucy01MDA=\",\"--framer-font-family\":'\"Poppins\", \"Poppins Placeholder\", sans-serif',\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"30px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-3c61daed-5eda-45f3-82e9-bfea9b6c0e9a, rgb(52, 52, 52)))\"},children:\"Go\"})})},i8lCwT7E8:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7UG9wcGlucy01MDA=\",\"--framer-font-family\":'\"Poppins\", \"Poppins Placeholder\", sans-serif',\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"30px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-3c61daed-5eda-45f3-82e9-bfea9b6c0e9a, rgb(52, 52, 52)))\"},children:\"Go\"})})},lLnSqCaXj:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7UG9wcGlucy01MDA=\",\"--framer-font-family\":'\"Poppins\", \"Poppins Placeholder\", sans-serif',\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"30px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-3c61daed-5eda-45f3-82e9-bfea9b6c0e9a, rgb(52, 52, 52)))\"},children:\"Go\"})})}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsx(SVG,{className:\"framer-1aocako\",\"data-framer-name\":\"Group 3\",fill:\"rgba(0,0,0,1)\",intrinsicHeight:20,intrinsicWidth:20,layoutDependency:layoutDependency,layoutId:\"mKyw3GLjv\",style:{opacity:0},svg:'<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\\n<path d=\"M12.9849 0C12.4327 0 11.9849 0.44771 11.9849 1C11.9849 1.55228 12.4327 2 12.9849 2H16.5858L8.2929 10.2929C7.90237 10.6834 7.90237 11.3166 8.2929 11.7071C8.6834 12.0976 9.3166 12.0976 9.7071 11.7071L18 3.41422V7.01503C18 7.56732 18.4477 8.015 19 8.015C19.5523 8.015 20 7.56732 20 7.01504V1C20 0.44772 19.5523 0 19 0H12.9849Z\" fill=\"#343434\"/>\\n<path d=\"M2 6C2 5.44772 2.44772 5 3 5H9.3333C9.8856 5 10.3333 4.55228 10.3333 4C10.3333 3.44772 9.8856 3 9.3333 3H3C1.34315 3 0 4.34315 0 6V17C0 18.6569 1.34315 20 3 20H14C15.6569 20 17 18.6569 17 17V11.2619C17 10.7096 16.5523 10.2619 16 10.2619C15.4477 10.2619 15 10.7096 15 11.2619V17C15 17.5523 14.5523 18 14 18H3C2.44772 18 2 17.5523 2 17V6Z\" fill=\"#343434\"/>\\n</svg>\\n',transformTemplate:transformTemplate1,variants:{bRd5ENWAV:{opacity:1},i8lCwT7E8:{opacity:1},lLnSqCaXj:{opacity:1}},withExternalLayout:true,...addPropertyOverrides({bRd5ENWAV:{transformTemplate:undefined},i8lCwT7E8:{transformTemplate:undefined},lLnSqCaXj:{transformTemplate:undefined}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsx(SVG,{className:\"framer-1fo8g0s\",\"data-framer-name\":\"Vector\",fill:\"rgba(0,0,0,1)\",intrinsicHeight:27,intrinsicWidth:25,layoutDependency:layoutDependency,layoutId:\"W9BPFEKDK\",style:{opacity:1},svg:'<svg width=\"25\" height=\"27\" viewBox=\"0 0 25 27\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\\n<path d=\"M22.4297 10.175L5.70157 0.514662C3.167 -0.948147 0 0.881568 0 3.80719V23.123C0 26.0486 3.167 27.8784 5.70157 26.4156L22.4297 16.7552C24.9643 15.2924 24.9643 11.633 22.4297 10.1702V10.175Z\" fill=\"#BA5B80\"/>\\n</svg>\\n',variants:{bRd5ENWAV:{opacity:0},i8lCwT7E8:{opacity:0},lLnSqCaXj:{opacity:0}},withExternalLayout:true,...addPropertyOverrides({bRd5ENWAV:{transformTemplate:transformTemplate1},i8lCwT7E8:{transformTemplate:transformTemplate1},lLnSqCaXj:{transformTemplate:transformTemplate1}},baseVariant,gestureVariant)})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-yaFg9.framer-1hzqdlv, .framer-yaFg9 .framer-1hzqdlv { display: block; }\",\".framer-yaFg9.framer-raww7 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 16px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 16px; will-change: var(--framer-will-change-override, transform); }\",\".framer-yaFg9 .framer-18vzsga { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-yaFg9 .framer-1aocako { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 5px); left: 50%; position: absolute; top: 50%; width: 5px; z-index: 1; }\",\".framer-yaFg9 .framer-1fo8g0s { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 5px); position: relative; width: 5px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-yaFg9.framer-raww7 { gap: 0px; } .framer-yaFg9.framer-raww7 > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-yaFg9.framer-raww7 > :first-child { margin-left: 0px; } .framer-yaFg9.framer-raww7 > :last-child { margin-right: 0px; } }\",\".framer-yaFg9.framer-v-2yd3qs.framer-raww7, .framer-yaFg9.framer-v-a574pk.framer-raww7, .framer-yaFg9.framer-v-1k1z2j0.framer-raww7, .framer-yaFg9.framer-v-abpdmy.framer-raww7 { cursor: unset; gap: 8px; height: 56px; padding: 0px 16px 0px 16px; width: min-content; }\",\".framer-yaFg9.framer-v-2yd3qs .framer-18vzsga, .framer-yaFg9.framer-v-a574pk .framer-18vzsga, .framer-yaFg9.framer-v-1k1z2j0 .framer-18vzsga, .framer-yaFg9.framer-v-abpdmy .framer-18vzsga { order: 1; }\",\".framer-yaFg9.framer-v-2yd3qs .framer-1aocako { order: 2; }\",\".framer-yaFg9.framer-v-2yd3qs .framer-1fo8g0s { height: var(--framer-aspect-ratio-supported, 25px); order: 0; width: 25px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-yaFg9.framer-v-2yd3qs.framer-raww7 { gap: 0px; } .framer-yaFg9.framer-v-2yd3qs.framer-raww7 > * { margin: 0px; margin-left: calc(8px / 2); margin-right: calc(8px / 2); } .framer-yaFg9.framer-v-2yd3qs.framer-raww7 > :first-child { margin-left: 0px; } .framer-yaFg9.framer-v-2yd3qs.framer-raww7 > :last-child { margin-right: 0px; } }\",\".framer-yaFg9.framer-v-a574pk .framer-1aocako, .framer-yaFg9.framer-v-1k1z2j0 .framer-1aocako, .framer-yaFg9.framer-v-abpdmy .framer-1aocako { height: var(--framer-aspect-ratio-supported, 25px); left: unset; order: 0; position: relative; top: unset; width: 25px; }\",\".framer-yaFg9.framer-v-a574pk .framer-1fo8g0s, .framer-yaFg9.framer-v-1k1z2j0 .framer-1fo8g0s, .framer-yaFg9.framer-v-abpdmy .framer-1fo8g0s { left: 50%; order: 2; position: absolute; top: 50%; z-index: 1; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-yaFg9.framer-v-a574pk.framer-raww7 { gap: 0px; } .framer-yaFg9.framer-v-a574pk.framer-raww7 > * { margin: 0px; margin-left: calc(8px / 2); margin-right: calc(8px / 2); } .framer-yaFg9.framer-v-a574pk.framer-raww7 > :first-child { margin-left: 0px; } .framer-yaFg9.framer-v-a574pk.framer-raww7 > :last-child { margin-right: 0px; } }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-yaFg9.framer-v-1k1z2j0.framer-raww7 { gap: 0px; } .framer-yaFg9.framer-v-1k1z2j0.framer-raww7 > * { margin: 0px; margin-left: calc(8px / 2); margin-right: calc(8px / 2); } .framer-yaFg9.framer-v-1k1z2j0.framer-raww7 > :first-child { margin-left: 0px; } .framer-yaFg9.framer-v-1k1z2j0.framer-raww7 > :last-child { margin-right: 0px; } }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-yaFg9.framer-v-abpdmy.framer-raww7 { gap: 0px; } .framer-yaFg9.framer-v-abpdmy.framer-raww7 > * { margin: 0px; margin-left: calc(8px / 2); margin-right: calc(8px / 2); } .framer-yaFg9.framer-v-abpdmy.framer-raww7 > :first-child { margin-left: 0px; } .framer-yaFg9.framer-v-abpdmy.framer-raww7 > :last-child { margin-right: 0px; } }\",\".framer-yaFg9.framer-v-raww7.pressed.framer-raww7 { aspect-ratio: 1 / 1; height: var(--framer-aspect-ratio-supported, 12px); width: 12px; }\",'.framer-yaFg9[data-border=\"true\"]::after, .framer-yaFg9 [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 16\n * @framerIntrinsicWidth 16\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"agxVBpKKj\":{\"layout\":[\"auto\",\"fixed\"]},\"i8lCwT7E8\":{\"layout\":[\"auto\",\"fixed\"]},\"lLnSqCaXj\":{\"layout\":[\"auto\",\"fixed\"]},\"bRd5ENWAV\":{\"layout\":[\"auto\",\"fixed\"]},\"wA2Q37GHE\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerXslMQMI4_=withCSS(Component,css,\"framer-yaFg9\");export default FramerXslMQMI4_;FramerXslMQMI4_.displayName=\"Cursor\";FramerXslMQMI4_.defaultProps={height:16,width:16};addPropertyControls(FramerXslMQMI4_,{variant:{options:[\"tUiv83SHo\",\"agxVBpKKj\",\"i8lCwT7E8\",\"lLnSqCaXj\",\"bRd5ENWAV\"],optionTitles:[\"Variant 1\",\"Variant 2\",\"Variant 3\",\"Variant 4\",\"Variant 5\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerXslMQMI4_,[{explicitInter:true,fonts:[{family:\"Poppins\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/poppins/v21/pxiByp8kv8JHgFVrLGT9V15vFP-KUEg.woff2\",weight:\"500\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerXslMQMI4_\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"16\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"agxVBpKKj\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"i8lCwT7E8\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"lLnSqCaXj\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"bRd5ENWAV\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"wA2Q37GHE\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"16\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./XslMQMI4_.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function TextTypewriter(props){const{content,styledWords,font,contentFontSize,fontColor,cursor,effect,tag:Tag,textAlign}=props;const[state,setState]=React.useState({displayedContent:\"\",currentCharIndex:0,isTyping:true});const fullContent=React.useMemo(()=>{const styledWordsText=styledWords.map(word=>` ${word.text}`).join(\"\");return content+styledWordsText;},[content,styledWords]);const updateState=React.useCallback(()=>{setState(prevState=>{const{currentCharIndex}=prevState;if(currentCharIndex>=fullContent.length){return{...prevState,isTyping:false};}return{...prevState,displayedContent:fullContent.substring(0,currentCharIndex+1),currentCharIndex:currentCharIndex+1};});},[fullContent]);React.useEffect(()=>{if(state.isTyping){const timeoutId=setTimeout(updateState,effect.typingSpeed);return()=>clearTimeout(timeoutId);}},[state.isTyping,state.displayedContent,updateState,effect.typingSpeed]);const renderContent=React.useCallback(()=>{const styledStartIndex=content.length;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{style:{color:fontColor,fontSize:contentFontSize||font.fontSize,fontWeight:font.fontWeight},children:state.displayedContent.substring(0,styledStartIndex)}),styledWords.map((word,index)=>{const startIndex=styledStartIndex+styledWords.slice(0,index).map(w=>w.text.length+1).reduce((a,b)=>a+b,0);const endIndex=startIndex+word.text.length;const styledText=state.displayedContent.substring(startIndex,Math.min(endIndex+1,state.currentCharIndex));return /*#__PURE__*/_jsx(\"span\",{style:{color:word.color,fontSize:word.fontSize||font.fontSize,fontWeight:word.fontWeight||\"normal\"},children:styledText},index);})]});},[state.displayedContent,content,styledWords,state.currentCharIndex,fontColor,contentFontSize,font]);return /*#__PURE__*/_jsx(motion.div,{style:{...font,color:fontColor,whiteSpace:\"pre-wrap\",position:\"relative\",wordWrap:\"break-word\",textAlign:textAlign},children:/*#__PURE__*/_jsxs(Tag,{style:{all:\"unset\",fontSize:font.fontSize},children:[renderContent(),/*#__PURE__*/_jsx(CursorComponent,{isBlinking:true,cursor:cursor})]})});}TextTypewriter.defaultProps={content:\"Typewriter content here.\",styledWords:[{text:\"styled\",color:\"#FF6347\",fontSize:20,fontWeight:\"bold\"},{text:\"words\",color:\"#1E90FF\",fontSize:22,fontWeight:\"normal\"}],font:{fontSize:15,lineHeight:1,letterSpacing:0,fontWeight:\"normal\"},contentFontSize:16,fontColor:\"#000000\",cursor:{cursorColor:\"#0599ff\",cursorHeight:15,cursorWidth:2,verticalAlign:\"middle\",blink:true},effect:{typingSpeed:100},tag:\"p\",textAlign:\"left\"};const CursorComponent=/*#__PURE__*/React.memo(({isBlinking,cursor})=>{const cursorStyle={display:\"inline-block\",width:cursor.cursorWidth,height:cursor.cursorHeight,backgroundColor:cursor.cursorColor,marginLeft:\"2px\",position:\"relative\",top:`calc(50% - ${cursor.cursorHeight/2}px)`};return /*#__PURE__*/_jsx(motion.span,{style:cursorStyle,animate:{opacity:isBlinking?[0,1]:1},transition:{repeat:Infinity,duration:.6,repeatType:\"reverse\"}});});// Property Controls for Framer\naddPropertyControls(TextTypewriter,{content:{type:ControlType.String,title:\"Content\",defaultValue:\"Typewriter content here.\"},styledWords:{type:ControlType.Array,title:\"Styled Words\",propertyControl:{type:ControlType.Object,controls:{text:{type:ControlType.String,title:\"Text\"},color:{type:ControlType.Color,title:\"Color\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:15},fontWeight:{type:ControlType.Enum,title:\"Font Weight\",options:[\"normal\",\"bold\",\"bolder\",\"lighter\",\"100\",\"200\",\"300\",\"400\",\"500\",\"600\",\"700\",\"800\",\"900\"],defaultValue:\"normal\"}}}},font:{type:ControlType.Font,title:\"Font\"},contentFontSize:{type:ControlType.Number,title:\"Content Font Size\",min:1,defaultValue:16},fontColor:{type:ControlType.Color,title:\"Font Color\"},cursor:{type:ControlType.Object,title:\"Cursor\",controls:{cursorColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#0599ff\"},cursorHeight:{type:ControlType.Number,title:\"Height\",defaultValue:15},cursorWidth:{type:ControlType.Number,title:\"Width\",defaultValue:2},verticalAlign:{type:ControlType.Enum,title:\"Align\",options:[\"top\",\"middle\",\"bottom\"]},blink:{type:ControlType.Boolean,title:\"Blinking\",defaultValue:true}}},effect:{type:ControlType.Object,title:\"Effect\",controls:{typingSpeed:{type:ControlType.Number,title:\"Typing Speed\",defaultValue:100}}},tag:{type:ControlType.Enum,title:\"Tag\",options:[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"p\",\"span\"]},textAlign:{type:ControlType.Enum,title:\"Text Alignment\",options:[\"left\",\"center\",\"right\"],defaultValue:\"left\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TextTypewriter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Test_js.map"],"mappings":"2kBAC4mB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAE,EAA+H,MAApF,CAA1C,GAAmD,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,CAAe,4CAQ/a,AAR7Z,GAAyD,IAAwI,IAAkE,IAA4B,CAAM,EAAgB,CAAC,UAAU,CAAC,SAAQ,CAAK,CAAC,EAAO,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,WAAY,EAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UA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