{"version":3,"file":"ScrollProgressLine.CowHPD7I.mjs","names":["ListItemTriangle","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","sharedStyle1.className","className","RichText","sharedStyle.css","sharedStyle1.css","sharedStyle.fonts","sharedStyle1.fonts","useRef","useState"],"sources":["https:/framerusercontent.com/modules/zUTrZlnu5SHgMmSkfFsI/f3zAZ6T2swKwFpHnTRNx/hPRda7C_G.js","https:/framerusercontent.com/modules/IZVmG0e6EWDvCFSNsbbs/b1Sbv5sSsNtgXrjRkPk0/ScrollProgressLine.js"],"sourcesContent":["// Generated by Framer (c99c261)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getFontsFromSharedStyle,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/5ZnIiHbI0UGMl0BpXOV7/QhzxIXNM5fAqIQirRdVH/OEmgUYQWJ.js\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/t7yQEWx9U7TjpVha0h3G/ffTSicvjlD0daxjVhahf/rIdU4Xqa7.js\";import ListItemTriangle from\"https://framerusercontent.com/modules/9gZFC6tuVoa7mCCCw2aV/eZUgqqQjV3MFGu5woY4a/rW1zAvQLV.js\";const ListItemTriangleFonts=getFonts(ListItemTriangle);const cycleOrder=[\"q4nWX6M0W\",\"v6gyEkNun\",\"sKCJdmDhj\",\"XFju9vb76\",\"aOLzT319Y\",\"oZYsH1gJi\",\"aWdAOSrnG\"];const serializationHash=\"framer-tGHSO\";const variantClassNames={aOLzT319Y:\"framer-v-bse4cb\",aWdAOSrnG:\"framer-v-1e31qzu\",oZYsH1gJi:\"framer-v-58yv7i\",q4nWX6M0W:\"framer-v-1070kyb\",sKCJdmDhj:\"framer-v-o62atf\",v6gyEkNun:\"framer-v-1ia13pe\",XFju9vb76:\"framer-v-l9theq\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const numberToPixelString=value=>{if(typeof value!==\"number\")return value;if(!Number.isFinite(value))return undefined;return Math.max(0,value)+\"px\";};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 humanReadableEnumMap={Horizontal:\"row\",Vertical:\"column\"};const humanReadableVariantMap={\"0-2-Early Fire Safety Review\":\"v6gyEkNun\",\"3-Detailed Fire Safety Strategy\":\"sKCJdmDhj\",\"4-Technical Design Integration\":\"XFju9vb76\",\"5-Construction Fire Safety Audits\":\"aOLzT319Y\",\"6-Pre-Occupation Fire Risk Assessment\":\"oZYsH1gJi\",\"7-Occupation\":\"aWdAOSrnG\",default:\"q4nWX6M0W\"};const getProps=({flexDirection,gap,height,id,width,...props})=>{return{...props,f7NNTCVCW:humanReadableEnumMap[flexDirection]??flexDirection??props.f7NNTCVCW??\"row\",variant:humanReadableVariantMap[props.variant]??props.variant??\"q4nWX6M0W\",Xi5lIlJSm:gap??props.Xi5lIlJSm??\"40px\"};};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,f7NNTCVCW,Xi5lIlJSm,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"q4nWX6M0W\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className];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__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1070kyb\",className,classNames),\"data-framer-name\":\"default\",layoutDependency:layoutDependency,layoutId:\"q4nWX6M0W\",ref:refBinding,style:{\"--1emopkz\":f7NNTCVCW,\"--1mae0oj\":f7NNTCVCW===\"column\"?undefined:\"1 0 0px\",\"--1r7ueui\":numberToPixelString(Xi5lIlJSm),\"--zdz1yz\":f7NNTCVCW===\"column\"?\"100%\":\"1px\",...style},...addPropertyOverrides({aOLzT319Y:{\"data-framer-name\":\"5-Construction Fire Safety Audits\"},aWdAOSrnG:{\"data-framer-name\":\"7-Occupation\"},oZYsH1gJi:{\"data-framer-name\":\"6-Pre-Occupation Fire Risk Assessment\"},sKCJdmDhj:{\"data-framer-name\":\"3-Detailed Fire Safety Strategy\"},v6gyEkNun:{\"data-framer-name\":\"0-2-Early Fire Safety Review\"},XFju9vb76:{\"data-framer-name\":\"4-Technical Design Integration\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1leo69k\",layoutDependency:layoutDependency,layoutId:\"T3cEF9U8O\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-1ga7jx2\",\"data-styles-preset\":\"OEmgUYQWJ\",children:\"Clear fire strategy defined at project inception\"})}),className:\"framer-1tohij3\",\"data-framer-name\":\"Clear fire strategy defined at project inception\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"atLDLoWM1\",style:{\"--framer-paragraph-spacing\":\"0px\"},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({aOLzT319Y:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-1ga7jx2\",\"data-styles-preset\":\"OEmgUYQWJ\",children:\"Construction Fire Safety Audits\"})})},aWdAOSrnG:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-1ga7jx2\",\"data-styles-preset\":\"OEmgUYQWJ\",children:\"Occupation\"})})},oZYsH1gJi:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-1ga7jx2\",\"data-styles-preset\":\"OEmgUYQWJ\",children:\"Pre-Occupation Fire Risk Assessment\"})})},sKCJdmDhj:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-1ga7jx2\",\"data-styles-preset\":\"OEmgUYQWJ\",children:\"Detailed Fire Safety Strategy\"})})},v6gyEkNun:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-1ga7jx2\",\"data-styles-preset\":\"OEmgUYQWJ\",children:\"Early Fire Safety Review\"})})},XFju9vb76:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-1ga7jx2\",\"data-styles-preset\":\"OEmgUYQWJ\",children:\"Technical Design Integration\"})})}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1l8ywa7\",\"data-framer-name\":\"Frame 27855\",layoutDependency:layoutDependency,layoutId:\"Yijoy8XIQ\",children:/*#__PURE__*/_jsx(ComponentViewportProvider,{height:25,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-jcyr1m-container\",layoutDependency:layoutDependency,layoutId:\"nxEwrrX32-container\",nodeId:\"nxEwrrX32\",rendersWithMotion:true,scopeId:\"hPRda7C_G\",children:/*#__PURE__*/_jsx(ListItemTriangle,{height:\"100%\",id:\"nxEwrrX32\",layoutId:\"nxEwrrX32\",sRNJOtHjf:\"Fire Strategy Development\",variant:\"aZnmx1FTi\",width:\"100%\",...addPropertyOverrides({aOLzT319Y:{sRNJOtHjf:\"Phase Audits\"},aWdAOSrnG:{sRNJOtHjf:\"Ongoing Assessment\"},oZYsH1gJi:{sRNJOtHjf:\"Pre-FRA\"},sKCJdmDhj:{sRNJOtHjf:\"Strategy Development\"},v6gyEkNun:{sRNJOtHjf:\"Concept Design Review\"},XFju9vb76:{sRNJOtHjf:\"Design Integration\"}},baseVariant,gestureVariant)})})})})]}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-jsih4k\",\"data-styles-preset\":\"rIdU4Xqa7\",children:\"We engage at the earliest planning stages to shape a robust fire strategy. Working closely with design teams and stakeholders, we help craft Concept Fire Strategies, Planning Statements, and Fire Statements to ensure your project starts on the right track.\"})}),className:\"framer-q36rgi\",\"data-framer-name\":\"We engage at the earliest planning stages to shape a robust fire strategy. Working closely with design teams and stakeholders, we help craft Concept Fire Strategies, Planning Statements, and Fire Statements to ensure your project starts on the right track.\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"AmLUkwGRT\",style:{\"--framer-paragraph-spacing\":\"0px\"},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({aOLzT319Y:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-jsih4k\",\"data-styles-preset\":\"rIdU4Xqa7\",children:\"On-site, our experts carry out systematic fire safety audits to ensure installations match approved designs and best practice. We inspect critical systems—from fire doors and compartmentation to sprinklers, smoke control, alarms, and signage. After each visit, we provide a tracker report highlighting risks, progress, and actions. At completion, we deliver a final Technical Note summarising findings and remedial measures.\"})})},aWdAOSrnG:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-jsih4k\",\"data-styles-preset\":\"rIdU4Xqa7\",children:\"At occupation, we manage the critical transition from construction to operational fire safety. Our team secures Gateway 3 approval, coordinates comprehensive documentation handover, and establishes all required management structures and inspection regimes. From BSR registration to resident information packs and facilities team briefings, we ensure full regulatory compliance before anyone moves in, creating a robust framework for ongoing fire safety management and providing the complete evidence trail needed from day one.\"})})},oZYsH1gJi:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-jsih4k\",\"data-styles-preset\":\"rIdU4Xqa7\",children:\"Before handover, we conduct thorough fire risk assessments to confirm your building is safe for occupation. Our qualified assessors review compliance with the final fire strategy, witness system commissioning, and verify all fire safety measures. Covering everything from plant rooms to risers and lift shafts, our assessments smooth the transition to operational use, support Building Regulations compliance, and provide essential evidence for ongoing legal obligations.\"})})},sKCJdmDhj:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-jsih4k\",\"data-styles-preset\":\"rIdU4Xqa7\",children:\"Once your design takes shape, we create a detailed fire safety strategy demonstrating full compliance with Building Regulations. This includes escape route widths, fire doors, sprinklers, compartmentation, and smoke ventilation. We provide marked-up drawings, a full report, and manage discussions with Building Control to secure approval—updating everything as your design evolves.\"})})},v6gyEkNun:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-jsih4k\",\"data-styles-preset\":\"rIdU4Xqa7\",children:\"At concept stage, we review your plans to identify fire safety risks early—before they become costly. We check compliance with Building Regulations, covering escape routes, fire spread, and emergency access. Our team highlights issues, advises on approval risks, and suggests practical solutions. You’ll receive a clear fire safety strategy report to support your planning application and guide your design team.\"})})},XFju9vb76:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-jsih4k\",\"data-styles-preset\":\"rIdU4Xqa7\",children:\"During detailed design, we integrate fire safety into all building systems. Working closely with architects and engineers, we review wall constructions, door schedules, electrical and mechanical systems to ensure seamless coordination. We also identify cost-saving options and alternative solutions while liaising with Building Control. The result is a fully coordinated package, ready for construction with confidence.\"})})}},baseVariant,gestureVariant)})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-tGHSO.framer-1n43xkc, .framer-tGHSO .framer-1n43xkc { display: block; }\",\".framer-tGHSO.framer-1070kyb { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: var(--1emopkz); flex-wrap: wrap; gap: var(--1r7ueui); height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px; position: relative; width: 1160px; }\",\".framer-tGHSO .framer-1leo69k { align-content: flex-start; align-items: flex-start; display: flex; flex: var(--1mae0oj); flex-direction: column; flex-wrap: nowrap; gap: 18px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: var(--zdz1yz); }\",\".framer-tGHSO .framer-1tohij3 { --framer-text-wrap-override: balance; flex: none; height: auto; position: relative; width: 100%; }\",\".framer-tGHSO .framer-1l8ywa7 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: row; flex-wrap: wrap; gap: 16px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-tGHSO .framer-jcyr1m-container { flex: none; height: auto; position: relative; width: auto; }\",\".framer-tGHSO .framer-q36rgi { flex: var(--1mae0oj); height: auto; max-width: 440px; position: relative; white-space: pre-wrap; width: var(--zdz1yz); word-break: break-word; word-wrap: break-word; }\",\".framer-tGHSO.framer-v-bse4cb .framer-1leo69k { order: 0; }\",\".framer-tGHSO.framer-v-bse4cb .framer-q36rgi { order: 1; }\",...sharedStyle.css,...sharedStyle1.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 155\n * @framerIntrinsicWidth 1160\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"v6gyEkNun\":{\"layout\":[\"fixed\",\"auto\"]},\"sKCJdmDhj\":{\"layout\":[\"fixed\",\"auto\"]},\"XFju9vb76\":{\"layout\":[\"fixed\",\"auto\"]},\"aOLzT319Y\":{\"layout\":[\"fixed\",\"auto\"]},\"oZYsH1gJi\":{\"layout\":[\"fixed\",\"auto\"]},\"aWdAOSrnG\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"f7NNTCVCW\":\"flexDirection\",\"Xi5lIlJSm\":\"gap\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerhPRda7C_G=withCSS(Component,css,\"framer-tGHSO\");export default FramerhPRda7C_G;FramerhPRda7C_G.displayName=\"process-content-riba\";FramerhPRda7C_G.defaultProps={height:155,width:1160};addPropertyControls(FramerhPRda7C_G,{variant:{options:[\"q4nWX6M0W\",\"v6gyEkNun\",\"sKCJdmDhj\",\"XFju9vb76\",\"aOLzT319Y\",\"oZYsH1gJi\",\"aWdAOSrnG\"],optionTitles:[\"default\",\"0-2-Early Fire Safety Review\",\"3-Detailed Fire Safety Strategy\",\"4-Technical Design Integration\",\"5-Construction Fire Safety Audits\",\"6-Pre-Occupation Fire Risk Assessment\",\"7-Occupation\"],title:\"Variant\",type:ControlType.Enum},f7NNTCVCW:{defaultValue:\"row\",displaySegmentedControl:true,optionIcons:[\"direction-horizontal\",\"direction-vertical\"],options:[\"row\",\"column\"],optionTitles:[\"Horizontal\",\"Vertical\"],title:\"Flex Direction\",type:ControlType.Enum},Xi5lIlJSm:{defaultValue:\"40px\",title:\"Gap\",type:ControlType.Gap}});addFonts(FramerhPRda7C_G,[{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/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+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.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\"}]},...ListItemTriangleFonts,...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerhPRda7C_G\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerVariables\":\"{\\\"f7NNTCVCW\\\":\\\"flexDirection\\\",\\\"Xi5lIlJSm\\\":\\\"gap\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"155\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"v6gyEkNun\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"sKCJdmDhj\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"XFju9vb76\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"aOLzT319Y\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"oZYsH1gJi\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"aWdAOSrnG\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"1160\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./hPRda7C_G.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useScroll,useTransform,motion}from\"framer-motion\";import{useRef,useEffect,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function ScrollAnimatedWrapper(props){const{targetSectionId,property,from,to,children}=props;const containerRef=useRef(null);const targetRef=useRef(null);const[hasTarget,setHasTarget]=useState(false);useEffect(()=>{if(targetSectionId&&typeof document!==\"undefined\"){const el=document.getElementById(targetSectionId);if(el){targetRef.current=el;setHasTarget(true);}}},[targetSectionId]);const{scrollYProgress}=useScroll({target:hasTarget?targetRef:containerRef,offset:[\"start start\",\"end end\"]});const animatedValue=useTransform(scrollYProgress,[0,1],[from,to]);return /*#__PURE__*/_jsx(motion.div,{ref:containerRef,style:{width:\"100%\",height:\"100%\",position:\"relative\",...props.style,[property]:animatedValue},children:children});}addPropertyControls(ScrollAnimatedWrapper,{targetSectionId:{type:ControlType.String,title:\"Target Node ID\",placeholder:\"Enter target node ID\"},property:{type:ControlType.Enum,title:\"Animated Property\",options:[\"left\",\"top\",\"opacity\",\"scale\"],optionTitles:[\"Left\",\"Top\",\"Opacity\",\"Scale\"],defaultValue:\"left\"},from:{type:ControlType.String,title:\"From\",defaultValue:\"0%\"},to:{type:ControlType.String,title:\"To\",defaultValue:\"100%\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScrollAnimatedWrapper\",\"slots\":[\"children\"],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollProgressLine.map"],"mappings":"yjBACkqC,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,gDAAjxC,IAA6N,IAAkE,IAA4B,IAAmJ,KAA0H,IAA2H,CAAM,EAAsB,EAASA,EAAiB,CAAO,EAA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