{"version":3,"file":"AnimatedArcs.DMDPflR4.mjs","names":[],"sources":["https:/framerusercontent.com/modules/gVzMBJNlEmJ5T8xKRBSw/E3KUzG4vzAkxL6JmBRVk/AnimatedArcs.js"],"sourcesContent":["// Animated vector lines that draw from left to right with sequential delays\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{motion,useInView}from\"framer-motion\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useMemo,useRef}from\"react\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function AnimatedArcs(props){const{strokeColor=\"#000000\",strokeWidth=2,duration=2,delay=.3,autoPlay=true,trigger=true}=props;const isStatic=useIsStaticRenderer();const ref=useRef(null);const isInView=useInView(ref,{once:true});// Define the curved line paths based on the image\nconst paths=useMemo(()=>[\"M50 100 Q150 50 250 100 T450 100\",\"M50 150 Q150 100 250 150 T450 150\",\"M50 200 Q150 150 250 200 T450 200\",\"M50 250 Q150 200 250 250 T450 250\",\"M50 300 Q150 250 250 300 T450 300\",\"M50 350 Q150 300 250 350 T450 350\",\"M50 400 Q150 350 250 400 T450 400\"],[]);const pathVariants={hidden:{pathLength:0,opacity:0},visible:{pathLength:1,opacity:1,transition:{pathLength:{duration:duration,ease:\"easeInOut\"},opacity:{duration:.1}}}};const containerVariants={hidden:{},visible:{transition:{staggerChildren:delay,delayChildren:0}}};const shouldAnimate=autoPlay&&!isStatic&&(trigger?isInView:true);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",position:\"relative\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"100%\",height:\"100%\",viewBox:\"0 0 500 500\",style:{overflow:\"visible\"},children:/*#__PURE__*/_jsx(motion.g,{variants:containerVariants,initial:isStatic?\"visible\":\"hidden\",animate:shouldAnimate?\"visible\":\"hidden\",children:paths.map((path,index)=>/*#__PURE__*/_jsx(motion.path,{d:path,stroke:strokeColor,strokeWidth:strokeWidth,fill:\"none\",strokeLinecap:\"round\",strokeLinejoin:\"round\",variants:pathVariants},index))})})});}addPropertyControls(AnimatedArcs,{strokeColor:{type:ControlType.Color,title:\"Stroke Color\",defaultValue:\"#000000\"},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",defaultValue:2,min:1,max:10,step:.5,unit:\"px\"},duration:{type:ControlType.Number,title:\"Duration\",defaultValue:2,min:.1,max:10,step:.1,unit:\"s\"},delay:{type:ControlType.Number,title:\"Line Delay\",defaultValue:.3,min:0,max:2,step:.1,unit:\"s\"},autoPlay:{type:ControlType.Boolean,title:\"Auto Play\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},trigger:{type:ControlType.Boolean,title:\"Trigger on Visible\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AnimatedArcs\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AnimatedArcs.map"],"mappings":"kYAIG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,cAAY,UAAU,cAAY,EAAE,WAAS,EAAE,QAAM,GAAG,YAAS,EAAK,WAAQ,EAAK,CAAC,EAAY,EAAS,GAAqB,CAAO,EAAI,EAAO,KAAK,CAAO,EAAS,EAAU,EAAI,CAAC,MAAK,CAAK,EAAC,CAC9O,EAAM,EAAQ,IAAI,CAAC,mCAAmC,oCAAoC,oCAAoC,oCAAoC,oCAAoC,oCAAoC,mCAAoC,EAAC,CAAE,EAAC,CAAO,EAAa,CAAC,OAAO,CAAC,WAAW,EAAE,QAAQ,CAAE,EAAC,QAAQ,CAAC,WAAW,EAAE,QAAQ,EAAE,WAAW,CAAC,WAAW,CAAU,WAAS,KAAK,WAAY,EAAC,Q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