{
  "version": 3,
  "sources": ["ssg:https://framer.com/m/AnimatedCursor-Bj4C.js@aCHyJk5EYVi1iAUjHO1N", "ssg:https://framerusercontent.com/modules/NvfXQ5DVCpl31b1fckur/FhMo3zMZl9T3M9uNQ95s/AITextDemo.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";const cursorVariants={blinking:{opacity:[0,0,1,1],transition:{duration:1,repeat:Infinity,repeatDelay:0,ease:\"linear\",times:[0,.5,.5,1]}}};const style={display:\"inline-block\",color:\"#17B582\"};export default function AnimatedCursor(){return /*#__PURE__*/_jsx(motion.div,{variants:cursorVariants,animate:\"blinking\",style:style,children:\"|\"});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AnimatedCursor\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AnimatedCursor.map", "import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{motion,useMotionValue,useTransform,animate}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useState}from\"react\";import AnimatedCursor from\"https://framer.com/m/AnimatedCursor-Bj4C.js@aCHyJk5EYVi1iAUjHO1N\";const baseText=`Psalm 100 is a powerful call to all believers, offering a clear model of giving thanks to God. It doesn't merely suggest thankfulness in response to receiving blessings. It commands a series of actions that position the worshipper in a place of humility and honor towards the Lord. Let's delve deeper into its message and application in our lives.\n\nJoyful Thanksgiving: An Ode to God\u2019s Steadfast Love\nRead: Psalm 100 (NIV)`;const pre={fontFamily:\"Inter, 'Inter Placeholder', sans-serif\",display:\"inline-block\",whiteSpace:\"pre-wrap\",lineHeight:\"225%\",margin:0};export default function AITextAnim(props){const textGroups=(props.text||baseText).split(\".\").map(t=>`${t}.`);const motionValues=textGroups.map(()=>useMotionValue(0));const[showCursor,setShowCursor]=useState(false);useEffect(()=>{var _animations_;const animations=[];textGroups.forEach((text,i)=>{animations.push(animate(motionValues[i],text.length,{type:\"tween\",duration:1.25,delay:props.delay+(i*1.7+.8),ease:\"easeOut\"}));});(_animations_=animations[animations.length-1])===null||_animations_===void 0?void 0:_animations_.then(()=>{setShowCursor(false);});const timeout=setTimeout(()=>setShowCursor(true),props.delay*1e3);return()=>{animations.forEach(a=>a.stop());clearTimeout(timeout);};},[]);const rounded=motionValues.map(v=>useTransform(v,latest=>Math.round(latest)));const displayText=rounded.map((r,i)=>useTransform(r,latest=>textGroups[i].slice(0,latest)));return /*#__PURE__*/_jsx(\"pre\",{...props,style:{...props.style?props.style:{},...pre},children:/*#__PURE__*/_jsxs(\"p\",{className:\"framer-text\",style:{fontSize:props.fontSize,fontWeight:props.fontWeight,color:props.textColor,...pre},children:[displayText.map(t=>/*#__PURE__*/_jsx(motion.span,{children:t})),showCursor?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(AnimatedCursor,{}),\" \",props.showWand?\"\uD83E\uDE84\":null]}):null]})});}AITextAnim.defaultProps={text:baseText,delay:0,showWand:true,fontWeight:\"regular\",textColor:\"#FFFFFF\"};addPropertyControls(AITextAnim,{fontSize:{type:ControlType.Number,defaultValue:16},fontWeight:{type:ControlType.String,defaultValue:\"regular\"},text:{type:ControlType.String,defaultValue:baseText},delay:{type:ControlType.Number,defaultValue:0},showWand:{type:ControlType.Boolean,defaultValue:true},textColor:{type:ControlType.Color,defaultValue:\"#FFFFFF\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AITextAnim\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AITextDemo.map"],
  "mappings": "iJAA6E,IAAMA,EAAe,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,WAAW,CAAC,SAAS,EAAE,OAAO,IA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C,CAAC,EAA4B,IAAI,CAACC,EAAER,IAAIM,EAAaE,EAAED,GAAQlB,EAAWW,CAAC,EAAE,MAAM,EAAEO,CAAM,CAAC,CAAC,EAAE,OAAoBE,EAAK,MAAM,CAAC,GAAGrB,EAAM,MAAM,CAAC,GAAGA,EAAM,MAAMA,EAAM,MAAM,CAAC,EAAE,GAAGF,CAAG,EAAE,SAAsBwB,EAAM,IAAI,CAAC,UAAU,cAAc,MAAM,CAAC,SAAStB,EAAM,SAAS,WAAWA,EAAM,WAAW,MAAMA,EAAM,UAAU,GAAGF,CAAG,EAAE,SAAS,CAACkB,EAAY,IAAId,GAAgBmB,EAAKE,EAAO,KAAK,CAAC,SAASrB,CAAC,CAAC,CAAC,EAAEG,EAAwBiB,EAAME,EAAU,CAAC,SAAS,CAAcH,EAAKI,EAAe,CAAC,CAAC,EAAE,IAAIzB,EAAM,SAAS,YAAK,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAE,CAACD,EAAW,aAAa,CAAC,KAAKF,EAAS,MAAM,EAAE,SAAS,GAAK,WAAW,UAAU,UAAU,SAAS,EAAE6B,EAAoB3B,EAAW,CAAC,SAAS,CAAC,KAAK4B,EAAY,OAAO,aAAa,EAAE,EAAE,WAAW,CAAC,KAAKA,EAAY,OAAO,aAAa,SAAS,EAAE,KAAK,CAAC,KAAKA,EAAY,OAAO,aAAa9B,CAAQ,EAAE,MAAM,CAAC,KAAK8B,EAAY,OAAO,aAAa,CAAC,EAAE,SAAS,CAAC,KAAKA,EAAY,QAAQ,aAAa,EAAI,EAAE,UAAU,CAAC,KAAKA,EAAY,MAAM,aAAa,SAAS,CAAC,CAAC",
  "names": ["cursorVariants", "style", "AnimatedCursor", "p", "motion", "baseText", "pre", "AITextAnim", "props", "textGroups", "t", "motionValues", "useMotionValue", "showCursor", "setShowCursor", "ye", "ue", "_animations_", "animations", "text", "i", "animate", "timeout", "a", "displayText", "v", "useTransform", "latest", "r", "p", "u", "motion", "l", "AnimatedCursor", "addPropertyControls", "ControlType"]
}
