{"version":3,"file":"LineDrawSVG.Ch7sbzng.mjs","names":["Children","useRef","useMemo","useState","useCallback","size","p","useRef","useState","useMemo","scrollStart","totalDistance","currentProgress","progress"],"sources":["https:/framerusercontent.com/modules/B2xAlJLcN0gOnt11mSPw/6yBrflQSNZ1yENMohj0e/Ticker.js","https:/framerusercontent.com/modules/SpjVC5bE1mmk965eGHN6/a4Jqn0kPxF91YUny58Z8/LineDrawSVG.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{Children,useLayoutEffect,useEffect,useState,useRef,useMemo,useCallback,cloneElement,startTransition,forwardRef,useImperativeHandle}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useReducedMotion,LayoutGroup,useInView,useMotionValue,useTransform,motion,frame}from\"framer-motion\";import{resize}from\"@motionone/dom\";const MAX_DUPLICATED_ITEMS=100;const directionTransformers={left:offset=>`translateX(-${offset}px)`,right:offset=>`translateX(${offset}px)`,top:offset=>`translateY(-${offset}px)`,bottom:offset=>`translateY(${offset}px)`};/**\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 200\n *\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function Ticker(props){/* Props */let{slots=[],gap,padding,paddingPerSide,paddingTop,paddingRight,paddingBottom,paddingLeft,speed,hoverFactor,direction,alignment,sizingOptions,fadeOptions,style}=props;const{fadeContent,overflow,fadeWidth,fadeInset,fadeAlpha}=fadeOptions;const{widthType,heightType}=sizingOptions;const paddingValue=paddingPerSide?`${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px`:`${padding}px`;/* Checks */const currentTarget=RenderTarget.current();const isCanvas=currentTarget===RenderTarget.canvas||currentTarget===RenderTarget.export;// Remove empty slots (such as hidden layers)\nconst filteredSlots=slots.filter(Boolean);const numChildren=Children.count(filteredSlots);const hasChildren=numChildren>0;if(direction===true){direction=\"left\";}const isHorizontal=direction===\"left\"||direction===\"right\";const offset=useMotionValue(0);const transformer=directionTransformers[direction];const transform=useTransform(offset,transformer);/* Refs and State */const parentRef=useRef(null);const childrenRef=useMemo(()=>{return[{current:null},{current:null}];},[]);const[size,setSize]=useState({parent:null,children:null});/* Arrays */let clonedChildren=null;let dupedChildren=[];/* Duplicate value */let duplicateBy=0;let opacity=0;if(isCanvas){duplicateBy=numChildren?Math.floor(10/numChildren):0;opacity=1;}if(!isCanvas&&hasChildren&&size.parent){duplicateBy=Math.round(size.parent/size.children*2)+1;duplicateBy=Math.min(duplicateBy,MAX_DUPLICATED_ITEMS);opacity=1;}/* Measure parent and child */const measure=useCallback(()=>{if(hasChildren&&parentRef.current){const parentLength=isHorizontal?parentRef.current.offsetWidth:parentRef.current.offsetHeight;const start=childrenRef[0].current?isHorizontal?childrenRef[0].current.offsetLeft:childrenRef[0].current.offsetTop:0;const end=childrenRef[1].current?isHorizontal?childrenRef[1].current.offsetLeft+childrenRef[1].current.offsetWidth:childrenRef[1].current.offsetTop+childrenRef[1].current.offsetHeight:0;const childrenLength=end-start+gap;startTransition(()=>{setSize({parent:parentLength,children:childrenLength});});}},[]);const childrenStyles=isCanvas?{contentVisibility:\"auto\"}:{};/* Add refs to first and last child */if(hasChildren){// TODO: These conditional hooks will be unsafe if hasChildren ever changes outside the canvas.\nif(!isCanvas){/**\n             * Track whether this is the initial resize event. By default this will fire on mount,\n             * which we do in the useEffect. We should only fire it on subsequent resizes.\n             */let initialResize=useRef(true);useLayoutEffect(()=>{frame.read(measure,false,true);return resize(parentRef.current,({contentSize})=>{if(!initialResize.current&&(contentSize.width||contentSize.height)){frame.read(measure,false,true);}initialResize.current=false;});},[]);}clonedChildren=Children.map(filteredSlots,(child,index)=>{let ref;if(index===0){ref=childrenRef[0];}if(index===filteredSlots.length-1){ref=childrenRef[1];}const size={width:widthType?child.props?.width:\"100%\",height:heightType?child.props?.height:\"100%\"};return /*#__PURE__*/_jsx(LayoutGroup,{inherit:\"id\",children:/*#__PURE__*/_jsx(Wrapper,{ref:ref,style:size,children:/*#__PURE__*/cloneElement(child,{style:{...child.props?.style,...size,flexShrink:0,...childrenStyles},layoutId:child.props.layoutId?child.props.layoutId+\"-original-\"+index:undefined},child.props?.children)})});});}const isInView=isCanvas?true:useInView(parentRef);if(!isCanvas){for(let i=0;i<duplicateBy;i++){dupedChildren=dupedChildren.concat(Children.map(filteredSlots,(child,childIndex)=>{const size={width:widthType?child.props?.width:\"100%\",height:heightType?child.props?.height:\"100%\",willChange:!isInView?undefined:\"transform\"};return /*#__PURE__*/_jsx(LayoutGroup,{inherit:\"id\",children:/*#__PURE__*/_jsx(Wrapper,{style:size,children:/*#__PURE__*/cloneElement(child,{key:i+\" \"+childIndex,style:{...child.props?.style,width:widthType?child.props?.width:\"100%\",height:heightType?child.props?.height:\"100%\",flexShrink:0,...childrenStyles},layoutId:child.props.layoutId?child.props.layoutId+\"-dupe-\"+i:undefined},child.props?.children)},i+\"li\"+childIndex)},i+\"lg\"+childIndex);}));}}const animateToValue=size.children+size.children*Math.round(size.parent/size.children);const initialTime=useRef(null);const prevTime=useRef(null);const xOrY=useRef(0);const isHover=useRef(false);const isReducedMotion=useReducedMotion();const listRef=useRef(null);const animationRef=useRef(null);/**\n     * Setup animations\n     */if(!isCanvas){useEffect(()=>{if(isReducedMotion||!animateToValue||!speed){return;}animationRef.current=listRef.current.animate({transform:[transformer(0),transformer(animateToValue)]},{duration:Math.abs(animateToValue)/speed*1e3,iterations:Infinity,easing:\"linear\"});return()=>animationRef.current.cancel();},[hoverFactor,animateToValue,speed]);const playOrPause=useCallback(()=>{if(!animationRef.current)return;const hidden=document.hidden;if(isInView&&!hidden&&animationRef.current.playState===\"paused\"){animationRef.current.play();}else if((!isInView||hidden)&&animationRef.current.playState===\"running\"){animationRef.current.pause();}},[isInView]);useEffect(()=>{playOrPause();},[isInView,hoverFactor,animateToValue,speed]);useEffect(()=>{document.addEventListener(\"visibilitychange\",playOrPause);return()=>{document.removeEventListener(\"visibilitychange\",playOrPause);};},[playOrPause]);}/* Fades */const fadeDirection=isHorizontal?\"to right\":\"to bottom\";const fadeWidthStart=fadeWidth/2;const fadeWidthEnd=100-fadeWidth/2;const fadeInsetStart=clamp(fadeInset,0,fadeWidthStart);const fadeInsetEnd=100-fadeInset;const fadeMask=`linear-gradient(${fadeDirection}, rgba(0, 0, 0, ${fadeAlpha}) ${fadeInsetStart}%, rgba(0, 0, 0, 1) ${fadeWidthStart}%, rgba(0, 0, 0, 1) ${fadeWidthEnd}%, rgba(0, 0, 0, ${fadeAlpha}) ${fadeInsetEnd}%)`;/* Empty state */if(!hasChildren){return /*#__PURE__*/_jsxs(\"section\",{style:placeholderStyles,children:[/*#__PURE__*/_jsx(\"div\",{style:emojiStyles,children:\"✨\"}),/*#__PURE__*/_jsx(\"p\",{style:titleStyles,children:\"Connect to Content\"}),/*#__PURE__*/_jsx(\"p\",{style:subtitleStyles,children:\"Add layers or components to infinitely loop on your page.\"})]});}return /*#__PURE__*/_jsx(\"section\",{style:{...containerStyle,opacity:opacity,WebkitMaskImage:fadeContent?fadeMask:undefined,maskImage:fadeContent?fadeMask:undefined,overflow:overflow?\"visible\":\"hidden\",padding:paddingValue},ref:parentRef,children:/*#__PURE__*/_jsxs(motion.ul,{ref:listRef,style:{...containerStyle,gap:gap,top:direction===\"bottom\"&&isValidNumber(animateToValue)?-animateToValue:undefined,left:direction===\"right\"&&isValidNumber(animateToValue)?-animateToValue:undefined,placeItems:alignment,position:\"relative\",flexDirection:isHorizontal?\"row\":\"column\",...style,willChange:isCanvas||!isInView?\"auto\":\"transform\",transform:transformer(0)},onMouseEnter:()=>{isHover.current=true;if(animationRef.current){// TODO Replace with updatePlaybackRate when Chrome bugs sorted\nanimationRef.current.playbackRate=hoverFactor;}},onMouseLeave:()=>{isHover.current=false;if(animationRef.current){// TODO Replace with updatePlaybackRate when Chrome bugs sorted\nanimationRef.current.playbackRate=1;}},children:[clonedChildren,dupedChildren]})});}const Wrapper=/*#__PURE__*/forwardRef(({children,...props},ref)=>{const innerRef=useRef();const inView=useInView(innerRef);useImperativeHandle(ref,()=>innerRef.current);useEffect(()=>{const current=innerRef.current;if(!current)return;// for a11y: Manage tabIndex on focusable descendants & aria-hidden on the parent.\nif(inView){current.querySelectorAll(\"button,a\").forEach(el=>{const orig=el.dataset.origTabIndex;if(orig)el.tabIndex=orig;else el.removeAttribute(\"tabIndex\");});}else{current.querySelectorAll(\"button,a\").forEach(el=>{const orig=el.getAttribute(\"tabIndex\");if(orig)el.dataset.origTabIndex=orig;el.tabIndex=-1;});}},[inView]);return /*#__PURE__*/_jsx(\"li\",{...props,\"aria-hidden\":!inView,ref:innerRef,children:children});});/* Default Properties */Ticker.defaultProps={gap:10,padding:10,sizingOptions:{widthType:true,heightType:true},fadeOptions:{fadeContent:true,overflow:false,fadeWidth:25,fadeAlpha:0,fadeInset:0},direction:true};/* Property Controls */addPropertyControls(Ticker,{slots:{type:ControlType.Array,title:\"Children\",control:{type:ControlType.ComponentInstance}},speed:{type:ControlType.Number,title:\"Speed\",min:0,max:1e3,defaultValue:100,unit:\"%\",displayStepper:true,step:5},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"left\",\"right\",\"top\",\"bottom\"],optionIcons:[\"direction-left\",\"direction-right\",\"direction-up\",\"direction-down\"],optionTitles:[\"Left\",\"Right\",\"Top\",\"Bottom\"],defaultValue:\"left\",displaySegmentedControl:true},alignment:{type:ControlType.Enum,title:\"Align\",options:[\"flex-start\",\"center\",\"flex-end\"],optionIcons:{direction:{right:[\"align-top\",\"align-middle\",\"align-bottom\"],left:[\"align-top\",\"align-middle\",\"align-bottom\"],top:[\"align-left\",\"align-center\",\"align-right\"],bottom:[\"align-left\",\"align-center\",\"align-right\"]}},defaultValue:\"center\",displaySegmentedControl:true},gap:{type:ControlType.Number,title:\"Gap\"},padding:{title:\"Padding\",type:ControlType.FusedNumber,toggleKey:\"paddingPerSide\",toggleTitles:[\"Padding\",\"Padding per side\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},sizingOptions:{type:ControlType.Object,title:\"Sizing\",controls:{widthType:{type:ControlType.Boolean,title:\"Width\",enabledTitle:\"Auto\",disabledTitle:\"Stretch\",defaultValue:true},heightType:{type:ControlType.Boolean,title:\"Height\",enabledTitle:\"Auto\",disabledTitle:\"Stretch\",defaultValue:true}}},fadeOptions:{type:ControlType.Object,title:\"Clipping\",controls:{fadeContent:{type:ControlType.Boolean,title:\"Fade\",defaultValue:true},overflow:{type:ControlType.Boolean,title:\"Overflow\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:false,hidden(props){return props.fadeContent===true;}},fadeWidth:{type:ControlType.Number,title:\"Width\",defaultValue:25,min:0,max:100,unit:\"%\",hidden(props){return props.fadeContent===false;}},fadeInset:{type:ControlType.Number,title:\"Inset\",defaultValue:0,min:0,max:100,unit:\"%\",hidden(props){return props.fadeContent===false;}},fadeAlpha:{type:ControlType.Number,title:\"Opacity\",defaultValue:0,min:0,max:1,step:.05,hidden(props){return props.fadeContent===false;}}}},hoverFactor:{type:ControlType.Number,title:\"Hover\",min:0,max:1,unit:\"x\",defaultValue:1,step:.1,displayStepper:true,description:\"Slows down the speed while you are hovering.\"}});/* Placeholder Styles */const containerStyle={display:\"flex\",width:\"100%\",height:\"100%\",maxWidth:\"100%\",maxHeight:\"100%\",placeItems:\"center\",margin:0,padding:0,listStyleType:\"none\",textIndent:\"none\"};/* Styles */const placeholderStyles={display:\"flex\",width:\"100%\",height:\"100%\",placeContent:\"center\",placeItems:\"center\",flexDirection:\"column\",color:\"#96F\",background:\"rgba(136, 85, 255, 0.1)\",fontSize:11,overflow:\"hidden\",padding:\"20px 20px 30px 20px\"};const emojiStyles={fontSize:32,marginBottom:10};const titleStyles={margin:0,marginBottom:10,fontWeight:600,textAlign:\"center\"};const subtitleStyles={margin:0,opacity:.7,maxWidth:150,lineHeight:1.5,textAlign:\"center\"};/* Clamp function, used for fadeInset */const clamp=(num,min,max)=>Math.min(Math.max(num,min),max);const isValidNumber=value=>typeof value===\"number\"&&!isNaN(value);\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Ticker\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"200\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"400\",\"framerDisableUnlink\":\"*\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ticker.map","// Line Draw Component with scroll-based and viewport-triggered animation modes\n// Supports SVG path drawing with customizable stroke, colors, transitions, and scroll triggers\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState,useMemo,startTransition}from\"react\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";import{motion,useInView,useScroll,useTransform,useMotionValue}from\"framer-motion\";// Helper functions to convert SVG shapes to path data\nfunction lineToPath(x1,y1,x2,y2){return`M ${x1} ${y1} L ${x2} ${y2}`;}function circleToPath(cx,cy,r){const cxNum=parseFloat(cx);const cyNum=parseFloat(cy);const rNum=parseFloat(r);return`M ${cxNum-rNum} ${cyNum} A ${rNum} ${rNum} 0 1 0 ${cxNum+rNum} ${cyNum} A ${rNum} ${rNum} 0 1 0 ${cxNum-rNum} ${cyNum}`;}function ellipseToPath(cx,cy,rx,ry){const cxNum=parseFloat(cx);const cyNum=parseFloat(cy);const rxNum=parseFloat(rx);const ryNum=parseFloat(ry);return`M ${cxNum-rxNum} ${cyNum} A ${rxNum} ${ryNum} 0 1 0 ${cxNum+rxNum} ${cyNum} A ${rxNum} ${ryNum} 0 1 0 ${cxNum-rxNum} ${cyNum}`;}function rectToPath(x,y,width,height){const xNum=parseFloat(x);const yNum=parseFloat(y);const wNum=parseFloat(width);const hNum=parseFloat(height);return`M ${xNum} ${yNum} L ${xNum+wNum} ${yNum} L ${xNum+wNum} ${yNum+hNum} L ${xNum} ${yNum+hNum} Z`;}function polylineToPath(points){const coords=points.trim().split(/\\s+|,/).filter(p=>p);if(coords.length<2)return\"\";let path=`M ${coords[0]} ${coords[1]}`;for(let i=2;i<coords.length;i+=2){path+=` L ${coords[i]} ${coords[i+1]}`;}return path;}function polygonToPath(points){return polylineToPath(points)+\" Z\";}/**\n * Line Draw\n * \n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 400\n * \n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function LineDrawSVG(props){const{svgCode='<svg viewBox=\"0 0 100 100\"><path d=\"M10,50 Q30,10 50,50 T90,50\" fill=\"none\"/></svg>',mode=\"viewport\",strokeColor=\"#000000\",strokeWidth=2,lineCap=\"round\",lineJoin=\"round\",viewportAmount=.5,transition,replay=false,replayDelay=1,scrollStartId=\"\",scrollEndId=\"\"}=props;const containerRef=useRef(null);const svgRef=useRef(null);const[pathLengths,setPathLengths]=useState([]);const[isAnimating,setIsAnimating]=useState(false);const[replayKey,setReplayKey]=useState(0);const isStatic=useIsStaticRenderer();const isInView=useInView(containerRef,{amount:viewportAmount,once:!replay});// Scroll progress tracking\nconst scrollProgress=useMotionValue(0);const{scrollYProgress}=useScroll();const isCanvas=RenderTarget.current()===RenderTarget.canvas;// Parse SVG and extract paths\nconst{viewBox,pathsData}=useMemo(()=>{if(typeof window===\"undefined\"){return{viewBox:\"0 0 100 100\",pathsData:[]};}const parser=new DOMParser;const doc=parser.parseFromString(svgCode,\"image/svg+xml\");const svg=doc.querySelector(\"svg\");if(!svg){return{viewBox:\"0 0 100 100\",pathsData:[]};}const vb=svg.getAttribute(\"viewBox\")||\"0 0 100 100\";const pathElements=Array.from(svg.querySelectorAll(\"path, polyline, polygon, line, circle, ellipse, rect\"));const extractedPaths=pathElements.map(path=>{const tagName=path.tagName.toLowerCase();const data={tagName};if(tagName===\"path\"){data.d=path.getAttribute(\"d\")||\"\";}else if(tagName===\"polyline\"||tagName===\"polygon\"){data.points=path.getAttribute(\"points\")||\"\";}else if(tagName===\"line\"){data.x1=path.getAttribute(\"x1\")||\"0\";data.y1=path.getAttribute(\"y1\")||\"0\";data.x2=path.getAttribute(\"x2\")||\"0\";data.y2=path.getAttribute(\"y2\")||\"0\";}else if(tagName===\"circle\"){data.cx=path.getAttribute(\"cx\")||\"0\";data.cy=path.getAttribute(\"cy\")||\"0\";data.r=path.getAttribute(\"r\")||\"0\";}else if(tagName===\"ellipse\"){data.cx=path.getAttribute(\"cx\")||\"0\";data.cy=path.getAttribute(\"cy\")||\"0\";data.rx=path.getAttribute(\"rx\")||\"0\";data.ry=path.getAttribute(\"ry\")||\"0\";}else if(tagName===\"rect\"){data.x=path.getAttribute(\"x\")||\"0\";data.y=path.getAttribute(\"y\")||\"0\";data.width=path.getAttribute(\"width\")||\"0\";data.height=path.getAttribute(\"height\")||\"0\";}return data;});return{viewBox:vb,pathsData:extractedPaths};},[svgCode]);// Calculate path lengths\nuseEffect(()=>{if(!svgRef.current||isStatic)return;const lengths=[];const pathElements=svgRef.current.querySelectorAll(\"path, polyline, polygon, line, circle, ellipse, rect\");pathElements.forEach(path=>{if(path instanceof SVGGeometryElement){const length=path.getTotalLength();lengths.push(length);}});startTransition(()=>setPathLengths(lengths));},[svgCode,isStatic]);// Handle scroll-based animation\nuseEffect(()=>{if(mode!==\"scroll\"||isStatic||typeof window===\"undefined\")return;const updateScrollProgress=()=>{const scrollY=window.scrollY;const windowHeight=window.innerHeight;let startElement=null;let endElement=null;// If no IDs are set, use the component itself as trigger\nif(!scrollStartId&&!scrollEndId){if(containerRef.current){const rect=containerRef.current.getBoundingClientRect();const elementTop=scrollY+rect.top;const elementBottom=elementTop+rect.height;const scrollStart=elementTop-windowHeight;const scrollEnd=elementBottom-windowHeight;const totalDistance=scrollEnd-scrollStart;const currentProgress=scrollY-scrollStart;const progress=Math.max(0,Math.min(1,currentProgress/totalDistance));scrollProgress.set(progress);}return;}if(scrollStartId){startElement=document.getElementById(scrollStartId);}if(scrollEndId){endElement=document.getElementById(scrollEndId);}if(!startElement){scrollProgress.set(0);return;}const startRect=startElement.getBoundingClientRect();const startTop=scrollY+startRect.top;const startBottom=startTop+startRect.height;let endTop=startBottom;if(endElement){const endRect=endElement.getBoundingClientRect();endTop=scrollY+endRect.top;}const scrollStart=startTop-windowHeight;const scrollEnd=endTop-windowHeight;const totalDistance=scrollEnd-scrollStart;const currentProgress=scrollY-scrollStart;const progress=Math.max(0,Math.min(1,currentProgress/totalDistance));scrollProgress.set(progress);};updateScrollProgress();window.addEventListener(\"scroll\",updateScrollProgress);window.addEventListener(\"resize\",updateScrollProgress);return()=>{window.removeEventListener(\"scroll\",updateScrollProgress);window.removeEventListener(\"resize\",updateScrollProgress);};},[mode,scrollStartId,scrollEndId,scrollProgress,isStatic]);// Handle viewport-based replay\nuseEffect(()=>{if(mode!==\"viewport\"||!replay||!isInView||isStatic)return;const timer=setTimeout(()=>{startTransition(()=>setReplayKey(prev=>prev+1));},replayDelay*1e3);return()=>clearTimeout(timer);},[isInView,replay,replayDelay,mode,isStatic]);// Trigger animation state\nuseEffect(()=>{if(mode===\"viewport\"){if(isInView){startTransition(()=>setIsAnimating(true));}else if(!replay){// Reset animation state when leaving viewport if replay is off\nstartTransition(()=>{setIsAnimating(false);setReplayKey(prev=>prev+1);});}}},[isInView,mode,replay]);if(pathsData.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"#999\",fontSize:14},children:\"Invalid SVG\"});}return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\",height:\"100%\",position:\"relative\",overflow:\"visible\"},children:/*#__PURE__*/_jsx(\"svg\",{ref:svgRef,viewBox:viewBox,style:{width:\"100%\",height:\"100%\",overflow:\"visible\"},children:pathsData.map((pathData,index)=>{const{tagName}=pathData;let pathD=\"\";if(tagName===\"path\"){pathD=pathData.d||\"\";}else if(tagName===\"polyline\"){pathD=polylineToPath(pathData.points||\"\");}else if(tagName===\"polygon\"){pathD=polygonToPath(pathData.points||\"\");}else if(tagName===\"line\"){pathD=lineToPath(pathData.x1||\"0\",pathData.y1||\"0\",pathData.x2||\"0\",pathData.y2||\"0\");}else if(tagName===\"circle\"){pathD=circleToPath(pathData.cx||\"0\",pathData.cy||\"0\",pathData.r||\"0\");}else if(tagName===\"ellipse\"){pathD=ellipseToPath(pathData.cx||\"0\",pathData.cy||\"0\",pathData.rx||\"0\",pathData.ry||\"0\");}else if(tagName===\"rect\"){pathD=rectToPath(pathData.x||\"0\",pathData.y||\"0\",pathData.width||\"0\",pathData.height||\"0\");}if(!pathD)return null;const pathLength=pathLengths[index]||1e3;// Show fully drawn SVG in canvas mode\nif(isCanvas){return /*#__PURE__*/_jsx(\"path\",{d:pathD,stroke:strokeColor,strokeWidth:strokeWidth,strokeLinecap:lineCap,strokeLinejoin:lineJoin,fill:\"none\"},index);}if(mode===\"viewport\"){return /*#__PURE__*/_jsx(motion.path,{d:pathD,stroke:strokeColor,strokeWidth:strokeWidth,strokeLinecap:lineCap,strokeLinejoin:lineJoin,fill:\"none\",strokeDasharray:pathLength,initial:{strokeDashoffset:pathLength},animate:{strokeDashoffset:isAnimating?0:pathLength},transition:transition||{duration:2,ease:\"easeInOut\"}},`${index}-${replayKey}`);}else{const drawProgress=useTransform(scrollProgress,[0,1],[pathLength,0]);return /*#__PURE__*/_jsx(motion.path,{d:pathD,stroke:strokeColor,strokeWidth:strokeWidth,strokeLinecap:lineCap,strokeLinejoin:lineJoin,fill:\"none\",strokeDasharray:pathLength,style:{strokeDashoffset:drawProgress}},index);}})})});}addPropertyControls(LineDrawSVG,{svgCode:{type:ControlType.String,title:\"SVG Code\",displayTextArea:true,defaultValue:'<svg viewBox=\"0 0 484 1819\"><path d=\"M462.869 23C29.3691 404.5 181.869 732 220.869 797C259.869 862 410.869 896.045 410.869 756.5C410.869 554.5 43.8593 567 31.3691 767.5C21.8691 920 198.369 1123 246.869 1389C285.669 1601.8 182.369 1748 125.869 1794.5\" fill=\"none\"/></svg>'},mode:{type:ControlType.Enum,title:\"Mode\",options:[\"viewport\",\"scroll\"],optionTitles:[\"Viewport\",\"Scroll\"],defaultValue:\"viewport\",displaySegmentedControl:true},strokeColor:{type:ControlType.Color,title:\"Stroke Color\",defaultValue:\"#000000\"},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",defaultValue:20,min:.5,max:100,step:.5},lineCap:{type:ControlType.Enum,title:\"Line Cap\",options:[\"round\",\"butt\",\"square\"],optionTitles:[\"Round\",\"Cut\",\"Square\"],defaultValue:\"round\",displaySegmentedControl:true},lineJoin:{type:ControlType.Enum,title:\"Line Join\",options:[\"round\",\"miter\",\"bevel\"],optionTitles:[\"Round\",\"Miter\",\"Bevel\"],defaultValue:\"round\",displaySegmentedControl:true},viewportAmount:{type:ControlType.Number,title:\"Viewport Trigger\",defaultValue:.5,min:0,max:1,step:.1,hidden:({mode})=>mode!==\"viewport\"},transition:{type:ControlType.Transition,title:\"Transition\",hidden:({mode})=>mode!==\"viewport\"},replay:{type:ControlType.Boolean,title:\"Replay\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\",hidden:({mode})=>mode!==\"viewport\"},replayDelay:{type:ControlType.Number,title:\"Replay Delay\",defaultValue:1,min:0,max:10,step:.5,unit:\"s\",hidden:({mode,replay})=>mode!==\"viewport\"||!replay},scrollStartId:{type:ControlType.String,title:\"Start Section ID\",defaultValue:\"\",placeholder:\"section-id\",hidden:({mode})=>mode!==\"scroll\"},scrollEndId:{type:ControlType.String,title:\"End Section ID\",defaultValue:\"\",placeholder:\"section-id\",hidden:({mode})=>mode!==\"scroll\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LineDrawSVG\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"400\",\"framerIntrinsicHeight\":\"400\",\"framerSupportedLayoutHeight\":\"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