{"version":3,"file":"SVGPathShimmer_Prod.CDGTYdkD.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","SVG","RichText","Children","useState","useRef","useMemo","UtilsComponentMessage"],"sources":["https:/framerusercontent.com/modules/fMDE7Cqb2uOvQFAHEP2m/DE91ZNrPshQbFJysFrO4/W7oLCU4_B.js","https:/framer.com/m/Utils-Component-Message-ZVoG.js","https:/framerusercontent.com/modules/IT2yoWfYkMOUw1y7WouH/cLHux5WXn78o6KzYK382/SVGPathShimmer_Prod.js"],"sourcesContent":["// Generated by Framer (1bcc82d)\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\";import{useRef}from\"react\";const serializationHash=\"framer-ZpfHZ\";const variantClassNames={XvqTw0Be9:\"framer-v-jjcw9a\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=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 getProps=({height,id,subtitle,title,width,...props})=>{return{...props,WuF2iG84P:subtitle??props.WuF2iG84P??\"Set up the component by adding background and bouncer elements to the component properties.\",yeAnKbEUZ:title??props.yeAnKbEUZ??\"Screen Saver\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,yeAnKbEUZ,WuF2iG84P,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"XvqTw0Be9\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-jjcw9a\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"XvqTw0Be9\",ref:refBinding,style:{backgroundColor:\"rgba(136, 85, 255, 0.1)\",...style},children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-uh2i08\",layoutDependency:layoutDependency,layoutId:\"aM7oiNoFL\",children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-flw0dh\",\"data-framer-name\":\"Logo\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"GthLmGmBt\",opacity:1,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 28 28\"><g><path d=\"M 0 0 L 28 0 L 28 28 L 0 28 Z\" fill=\"transparent\"></path><path d=\"M 21 7.113 C 21 7.041 21.029 6.971 21.079 6.921 L 27.534 0.465 C 27.613 0.388 27.73 0.365 27.831 0.407 C 27.933 0.449 28 0.548 28 0.658 L 28 13.888 C 28 13.96 27.971 14.028 27.921 14.079 L 21 21 Z M 7 21 L 7 7.658 C 7 7.548 6.933 7.449 6.831 7.407 C 6.73 7.365 6.613 7.388 6.534 7.465 L 0.079 13.921 C 0.028 13.972 0 14.041 0 14.113 L 0 27.728 C 0 27.877 0.122 28 0.273 28 L 13.888 28 C 13.96 28 14.028 27.971 14.079 27.921 L 21 21 Z\" fill=\"rgb(153, 102, 255)\"></path></g></svg>',svgContentId:11036020200,withExternalLayout:true}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-k3ullq\",layoutDependency:layoutDependency,layoutId:\"E3DQBYSAf\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItQm9sZA==\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"11px\",\"--framer-font-weight\":\"700\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(153, 102, 255))\"},children:\"Screen Saver\"})}),className:\"framer-q0gs4u\",\"data-framer-name\":\"Title\",fonts:[\"Inter-Bold\"],layoutDependency:layoutDependency,layoutId:\"UqJwZqJjg\",style:{\"--extracted-r6o4lv\":\"rgb(153, 102, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:yeAnKbEUZ,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--framer-font-size\":\"11px\",\"--framer-letter-spacing\":\"-0.03em\",\"--framer-line-height\":\"1.4em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(153, 102, 255, 0.7))\"},children:\"Set up the component by adding background and bouncer elements to the component properties.\"})}),className:\"framer-g5dqhc\",\"data-framer-name\":\"Subtitle\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"RJ7UF99m8\",style:{\"--extracted-r6o4lv\":\"rgba(153, 102, 255, 0.7)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:WuF2iG84P,verticalAlignment:\"top\",withExternalLayout:true})]})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-ZpfHZ.framer-qanqo2, .framer-ZpfHZ .framer-qanqo2 { display: block; }\",\".framer-ZpfHZ.framer-jjcw9a { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 200px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 400px; }\",\".framer-ZpfHZ .framer-uh2i08 { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: center; overflow: hidden; padding: 0px 20px 0px 20px; position: relative; width: 1px; }\",\".framer-ZpfHZ .framer-flw0dh { flex: none; height: 28px; position: relative; width: 28px; }\",\".framer-ZpfHZ .framer-k3ullq { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 12px; height: min-content; justify-content: center; max-width: 200px; overflow: hidden; padding: 0px; position: relative; width: 100%; }\",\".framer-ZpfHZ .framer-q0gs4u, .framer-ZpfHZ .framer-g5dqhc { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 200\n * @framerIntrinsicWidth 400\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"yeAnKbEUZ\":\"title\",\"WuF2iG84P\":\"subtitle\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerW7oLCU4_B=withCSS(Component,css,\"framer-ZpfHZ\");export default FramerW7oLCU4_B;FramerW7oLCU4_B.displayName=\"Utils/Component Message\";FramerW7oLCU4_B.defaultProps={height:200,width:400};addPropertyControls(FramerW7oLCU4_B,{yeAnKbEUZ:{defaultValue:\"Screen Saver\",displayTextArea:false,title:\"Title\",type:ControlType.String},WuF2iG84P:{defaultValue:\"Set up the component by adding background and bouncer elements to the component properties.\",displayTextArea:false,title:\"Subtitle\",type:ControlType.String}});addFonts(FramerW7oLCU4_B,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/DpPBYI0sL4fYLgAkX8KXOPVt7c.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/4RAEQdEOrcnDkhHiiCbJOw92Lk.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/1K3W8DizY3v4emK8Mb08YHxTbs.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/tUSCtfYVM1I1IchuyCwz9gDdQ.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/VgYFWiwsAC5OYxAycRXXvhze58.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/DXD0Q7LSl7HEvDzucnyLnGBHM.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/GIryZETIX4IFypco5pYZONKhJIo.woff2\",weight:\"700\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerW7oLCU4_B\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"400\",\"framerIntrinsicHeight\":\"200\",\"framerVariables\":\"{\\\"yeAnKbEUZ\\\":\\\"title\\\",\\\"WuF2iG84P\\\":\\\"subtitle\\\"}\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerAutoSizeImages\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./W7oLCU4_B.map","/*\n * Utils/Component Message\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/fMDE7Cqb2uOvQFAHEP2m/DE91ZNrPshQbFJysFrO4/W7oLCU4_B.js\"\nexport { default } from \"https://framerusercontent.com/modules/fMDE7Cqb2uOvQFAHEP2m/DE91ZNrPshQbFJysFrO4/W7oLCU4_B.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{Children,useEffect,useState,useMemo,useRef,cloneElement}from\"react\";import{motion,useInView,animate,useMotionValue,useTransform}from\"framer-motion\";import UtilsComponentMessage from\"https://framer.com/m/Utils-Component-Message-ZVoG.js\";var Mode;(function(Mode){Mode[\"Layer\"]=\"layer\";Mode[\"SVG\"]=\"svg\";})(Mode||(Mode={}));var SVGType;(function(SVGType){SVGType[\"Image\"]=\"image\";SVGType[\"File\"]=\"file\";})(SVGType||(SVGType={}));/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n *\n * @framerDisableUnlink\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 200\n */export default function SVGPathShimmer({mode,layer,svgType,svgImage,svgFile,baseColor,shimmerColor,length,transition,direction,loopMode,loopDelay,trigger,replay,style}){const isCanvas=RenderTarget.current()===RenderTarget.canvas;const hasChildren=mode===\"layer\"?Children.count(layer)>0:false;const reverse=direction===\"reverse\";const loop=loopMode!==\"once\";const shapeTransition={...transition,repeat:loop?Infinity:0,repeatType:loopMode===\"mirror\"?\"reverse\":loopMode,repeatDelay:loop?loopDelay:0};const[svgContent,setSvgContent]=useState(null);const[isLoading,setIsLoading]=useState(false);const[loadingError,setLoadingError]=useState(null);const[currentAnimation,setCurrentAnimation]=useState(null);const ref=useRef(null);const isInView=useInView(ref,{once:!replay&&!loop,amount:\"some\"});const progressMotionValue=useMotionValue(0);const[scale,setScale]=useState(1);const[padding,setPadding]=useState({horizontal:0,vertical:0});const[originalSize,setOriginalSize]=useState({width:0,height:0});const containerRef=useRef(null);const hasSvg=mode===\"svg\"?!!svgContent:hasChildren;const runAnimation=()=>{if(isCanvas)return;if(currentAnimation){currentAnimation.stop();}setCurrentAnimation(animate(0,1,{...shapeTransition,onUpdate:latest=>{progressMotionValue.set(latest);}}));};useEffect(()=>{async function fetchSVG(){if(mode!==\"svg\")return;setIsLoading(true);setLoadingError(null);setSvgContent(null);const url=svgType===\"image\"?svgImage?.src:svgFile;if(!url){setIsLoading(false);return;}const content=await loadAndValidateSVG(url);if(!content){setLoadingError(true);setIsLoading(false);return;}setSvgContent(content);setIsLoading(false);}fetchSVG();},[mode,svgType,svgType===\"image\"?svgImage?.src:svgFile]);useEffect(()=>{if(trigger===\"appear\"){runAnimation();}// Add cleanup function\nreturn()=>{if(currentAnimation){currentAnimation.stop();}};},[trigger,hasSvg]);useEffect(()=>{if(trigger===\"layerInView\"){if(isInView&&hasSvg){runAnimation();}else{if(currentAnimation){currentAnimation.stop();}progressMotionValue.set(0);}}},[isInView,trigger,hasSvg]);// First effect to capture original SVG size once ref is available\nuseEffect(()=>{if(!isCanvas||mode!==\"layer\"||!hasChildren)return;// Use rAF to ensure we measure after the ref is attached\nconst measureSvg=()=>{const svg=containerRef.current?.querySelector(\"div:has(> svg)\");if(!svg){requestAnimationFrame(measureSvg);return;}setOriginalSize({width:svg.offsetWidth,height:svg.offsetHeight});};requestAnimationFrame(measureSvg);},[isCanvas,mode,hasChildren]);// Second effect to handle resize observation\nuseEffect(()=>{if(!isCanvas||mode!==\"layer\"||!hasChildren||!containerRef.current)return;const container=containerRef.current;const updateScale=()=>{const containerWidth=container.offsetWidth;const containerHeight=container.offsetHeight;let newScale=1;const newPadding={horizontal:0,vertical:0};// Only proceed with scaling if we have the dimensions we need\nif(style?.width&&style?.height){if(originalSize.width&&originalSize.height){newScale=Math.min(containerWidth/originalSize.width,containerHeight/originalSize.height);}}else if(style?.width){if(originalSize.width){newScale=containerWidth/originalSize.width;newPadding.vertical=(containerHeight*newScale-containerHeight)/2;}}else if(style?.height){if(originalSize.height){newScale=containerHeight/originalSize.height;newPadding.horizontal=(containerWidth*newScale-containerWidth)/2;}}setScale(newScale);setPadding(newPadding);};const resizeObserver=new ResizeObserver(updateScale);resizeObserver.observe(container);updateScale()// Initial calculation\n;return()=>{resizeObserver.disconnect();};},[isCanvas,mode,hasChildren,originalSize.width,originalSize.height,style?.width,style?.height]);let svgElement=null;let svgContents=null;let svgViewbox=\"\";let viewboxWidth=0;let viewboxHeight=0;const start=100+length+length;const end=length;const parsedSvgData=useMemo(()=>{if(mode!==\"svg\"||!svgContent||isLoading){return null;}const parser=new DOMParser;const doc=parser.parseFromString(svgContent,\"image/svg+xml\");const svg=doc.querySelector(\"svg\");const path=doc.querySelector(\"path\");if(!svg||!path){return null;}const width=parseFloat(svg.getAttribute(\"width\")||\"100\");const height=parseFloat(svg.getAttribute(\"height\")||\"100\");const viewBox=svg.getAttribute(\"viewBox\")||`0 0 ${width} ${height}`;const pathD=path.getAttribute(\"d\")||\"\";const stroke=path.getAttribute(\"stroke\")||\"transparent\";const strokeWidth=path.getAttribute(\"stroke-width\")||\"1\";const strokeLinecap=path.getAttribute(\"stroke-linecap\")||\"round\";const strokeLinejoin=path.getAttribute(\"stroke-linejoin\")||\"round\";return{width,height,viewBox,pathD,stroke,strokeWidth,strokeLinecap,strokeLinejoin};},[mode,svgContent,isLoading]);const parsedLayerData=useMemo(()=>{if(mode!==\"layer\"||!hasChildren||isCanvas){return null;}const firstChild=getFirstChild(layer);const svgChild=getFirstChild(firstChild?.props?.svg);if(!svgChild){return null;}const attributes=svgChild.match(/[\\w-]+=\"[^\"]*\"/g);let pathD;let stroke;let strokeWidth;let strokeLinecap;let strokeLinejoin;for(const element of attributes){if(element.startsWith(\"d=\")){pathD=splitAndReplace(element);}if(element.startsWith(\"stroke=\")){stroke=splitAndReplace(element);}if(element.startsWith(\"stroke-width=\")){strokeWidth=splitAndReplace(element);}if(element.startsWith(\"stroke-linecap=\")){strokeLinecap=splitAndReplace(element);}if(element.startsWith(\"stroke-linejoin=\")){strokeLinejoin=splitAndReplace(element);}}const viewBoxMatch=svgChild.split(\"viewBox=\")[1];const viewBox=viewBoxMatch.split(\">\")[0].replace(/^\"(.+(?=\"$))\"$/,\"$1\");const viewBoxWidth=parseFloat(viewBox.split(\" \")[2]);const viewBoxHeight=parseFloat(viewBox.split(\" \")[3]);return{pathD,stroke,strokeWidth,strokeLinecap,strokeLinejoin,viewBox,viewBoxWidth,viewBoxHeight};},[mode,layer,hasChildren,isCanvas]);const opacity=useTransform(progressMotionValue,value=>{const strokeLinecap=mode===\"svg\"?parsedSvgData?.strokeLinecap:parsedLayerData?.strokeLinecap;if(strokeLinecap===\"round\"||strokeLinecap===\"square\"){return transformOpacity(value);}return 1;});const strokeDashoffsetTransform=useTransform(progressMotionValue,[0,1],reverse?[end,start]:[start,end]);if(mode===\"svg\"){if(!isLoading&&svgContent&&parsedSvgData){const{width,height,viewBox,pathD,stroke,strokeWidth,strokeLinecap,strokeLinejoin}=parsedSvgData;viewboxWidth=width;viewboxHeight=height;svgViewbox=viewBox;svgContents=[/*#__PURE__*/_jsx(\"path\",{d:pathD,stroke:baseColor||stroke,strokeWidth:strokeWidth,strokeLinejoin:strokeLinejoin,strokeLinecap:strokeLinecap,fill:\"transparent\"}),/*#__PURE__*/_jsx(motion.path,{style:{strokeDashoffset:strokeDashoffsetTransform},strokeDasharray:`${length} 100`,d:pathD,stroke:shimmerColor,strokeWidth:strokeWidth,strokeLinejoin:strokeLinejoin,strokeLinecap:strokeLinecap,fill:\"transparent\",pathLength:100,opacity:opacity})];}}else if(hasChildren){if(isCanvas){svgElement=getFirstChild(layer);}else if(parsedLayerData){const{pathD,stroke,strokeWidth,strokeLinecap,strokeLinejoin,viewBox,viewBoxWidth,viewBoxHeight}=parsedLayerData;svgViewbox=viewBox;viewboxWidth=viewBoxWidth;viewboxHeight=viewBoxHeight;svgContents=[/*#__PURE__*/_jsx(\"path\",{d:pathD,stroke:stroke,strokeWidth:strokeWidth,strokeLinejoin:strokeLinejoin,strokeLinecap:strokeLinecap,fill:\"transparent\"}),/*#__PURE__*/_jsx(motion.path,{style:{strokeDashoffset:strokeDashoffsetTransform},strokeDasharray:`${length} 100`,d:pathD,stroke:shimmerColor,strokeWidth:strokeWidth,strokeLinejoin:strokeLinejoin,strokeLinecap:strokeLinecap,fill:\"transparent\",pathLength:100,opacity:opacity})];}}// Apply the scale and padding after they're calculated\nif(svgElement&&isCanvas){svgElement=/*#__PURE__*/cloneElement(svgElement,{style:{transform:`scale(${scale})`,transformOrigin:\"center\",...svgElement.props.style}});}return svgElement||svgContents?/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",placeContent:\"center\",placeItems:\"center\",backgroundColor:\"transparent\",overflow:\"hidden\",position:\"relative\",paddingLeft:padding.horizontal,paddingRight:padding.horizontal,paddingTop:padding.vertical,paddingBottom:padding.vertical,...style},children:/*#__PURE__*/_jsx(\"div\",{\"data-tag-here\":true,ref:containerRef,style:{display:\"flex\",placeContent:\"center\",placeItems:\"center\",backgroundColor:\"transparent\",position:\"relative\",...style},children:svgElement||/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",viewBox:svgViewbox,style:{width:style?.width??(style?.height?\"auto\":viewboxWidth),height:style?.height??(style?.width?\"auto\":viewboxHeight)},children:svgContents})})}):mode===\"svg\"&&!isLoading&&!svgContent&&!(svgType===\"image\"?svgImage?.src:svgFile)||mode===\"layer\"&&!hasChildren?/*#__PURE__*/_jsx(\"div\",{ref:ref,style:style,children:/*#__PURE__*/_jsx(UtilsComponentMessage,{style:style,title:loadingError?\"Error loading SVG\":\"SVG Path Shimmer\",subtitle:loadingError?\"Invalid SVG file. Please provide a valid SVG.\":\"Connect a graphic layer using the handle or upload an SVG file.\"})}):/*#__PURE__*/_jsx(\"div\",{ref:ref,style:style});}SVGPathShimmer.displayName=\"SVG Path Shimmer\";addPropertyControls(SVGPathShimmer,{mode:{type:ControlType.Enum,defaultValue:\"layer\",options:[\"layer\",\"svg\"],optionTitles:[\"Graphic\",\"SVG\"],displaySegmentedControl:true},layer:{type:ControlType.ComponentInstance,description:\"Select a Graphic layer\",hidden:props=>props.mode!==\"layer\"},svgType:{type:ControlType.Enum,defaultValue:\"image\",options:[\"image\",\"file\"],optionTitles:[\"Image\",\"File\"],displaySegmentedControl:true,title:\"SVG Type\",hidden:props=>props.mode!==\"svg\"},svgImage:{type:ControlType.ResponsiveImage,title:\"SVG\",description:\"Must be an SVG file\",hidden:props=>props.mode!==\"svg\"||props.svgType!==\"image\"},svgFile:{type:ControlType.File,allowedFileTypes:[\"svg\"],title:\"SVG\",description:\"Must be an SVG file\",hidden:props=>props.mode!==\"svg\"||props.svgType!==\"file\"},baseColor:{type:ControlType.Color,optional:true,title:\"Color\",hidden:props=>props.mode!==\"svg\"},shimmerColor:{type:ControlType.Color,title:\"Shimmer\",defaultValue:\"#0099FF\"},length:{type:ControlType.Number,defaultValue:20,min:0,max:100,step:1,unit:\"%\"},transition:{type:ControlType.Transition,defaultValue:{type:\"tween\",ease:[0,0,1,1],duration:2,delay:0}},trigger:{type:ControlType.Enum,defaultValue:\"appear\",options:[\"appear\",\"layerInView\"],optionTitles:[\"Appear\",\"Layer in View\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},loopMode:{type:ControlType.Enum,defaultValue:\"loop\",options:[\"loop\",\"mirror\",\"once\"],optionTitles:[\"Loop\",\"Mirror\",\"Once\"],displaySegmentedControl:true,title:\"Animation\"},loopDelay:{type:ControlType.Number,defaultValue:0,min:0,max:60,step:.1,hidden:props=>props.loopMode===\"once\"},replay:{type:ControlType.Boolean,defaultValue:true,hidden:props=>props.trigger!==\"layerInView\"||props.loopMode!==\"once\"},direction:{type:ControlType.Enum,defaultValue:\"default\",options:[\"default\",\"reverse\"],optionTitles:[\"Default\",\"Reverse\"],displaySegmentedControl:true,description:\"More components at [Framer University](https://frameruni.link/cc).\"}});function getFirstChild(slots){let firstChild;Children.map(slots,child=>{if(firstChild===undefined){firstChild=child;}});return firstChild;}function splitAndReplace(string){return string.split(\"=\")[1].replace(/['\"]+/g,\"\");}async function loadAndValidateSVG(url){try{const response=await fetch(url);const text=await response.text();// Basic validation that it's an SVG\nif(!text.includes(\"<svg\")||!text.includes(\"</svg>\")){return null;}return text;}catch(error){console.error(\"Error loading SVG:\",error);return null;}}function transformOpacity(input){// Ensure input is within the valid range\nif(input<0||input>1){return 0;}const lowerThreshold=.01;const upperThreshold=1-lowerThreshold;if(input<=lowerThreshold){// Linear interpolation from 0 to 1 for inputs between 0 and 0.025\nreturn input/lowerThreshold;}else if(input>=upperThreshold){// Linear interpolation from 1 to 0 for inputs between 0.975 and 1\nreturn(1-input)/lowerThreshold;}else{// All values between 0.025 and 0.975 return 1\nreturn 1;}}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SVGPathShimmer\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"*\",\"framerIntrinsicHeight\":\"200\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"200\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SVGPathShimmer_Prod.map"],"mappings":"obACwD,IAAwI,IAAkE,IAA4B,EAAiC,EAAkB,eAAqB,EAAkB,CAAC,UAAU,iBAAiB,EAA+L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,CAAmB,EAAQ,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,YAAU,GAAG,CAAC,KAAK,UAAU,CAAU,CAAC,CAAC,EAAE,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,UAAQ,CAAC,CAAE,EAAQ,EAAS,EAAO,OAAOC,CAAc,EAAQ,GAAU,CAAC,SAAO,KAAG,WAAS,QAAM,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAU,EAAM,WAAW,8FAA8F,UAAU,GAAO,EAAM,WAAW,cAAc,GAAU,GAAwB,EAAM,IAAe,EAAM,iBAAwB,EAAS,KAAK,GAAG,EAAE,EAAM,iBAAwB,EAAS,KAAK,GAAG,EAWv4C,EAAgB,EAXw5CC,EAAiB,SAA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