{"version":3,"file":"KFrAiow6S.DDZxFVEL.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/jJcOP72itajXHoIbl9Wn/3pVbLqdOg0TygGsVOteA/KFrAiow6S.js"],"sourcesContent":["// Generated by Framer (ee97fff)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{Video}from\"https://framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/I6H5ZhUPA8PwvfVPIGXQ/Video.js\";const VideoFonts=getFonts(Video);const cycleOrder=[\"ExddyzSqr\",\"KCDLszDEr\"];const serializationHash=\"framer-aVhyI\";const variantClassNames={ExddyzSqr:\"framer-v-2ojkn3\",KCDLszDEr:\"framer-v-1vsnoj7\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const XrPS8JFG1=undefined;const telJSpEg7=undefined;const q9yqCJffk=undefined;const radiusForCorner=(value,cornerIndex)=>{if(typeof value===\"number\"&&Number.isFinite(value))return Math.max(0,value)+\"px\";if(typeof value!==\"string\"||typeof cornerIndex!==\"number\")return undefined;const segments=value.split(\" \");return segments[cornerIndex]||segments[cornerIndex-2]||segments[0];};const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const toImageSrc=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value.src;}return typeof value===\"string\"?value:undefined;};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 humanReadableVariantMap={Play:\"KCDLszDEr\",Stop:\"ExddyzSqr\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,radius,uRL,videoCover,width,...props})=>{return{...props,q9yqCJffk:videoCover??props.q9yqCJffk,telJSpEg7:uRL??props.telJSpEg7??\"\",variant:humanReadableVariantMap[props.variant]??props.variant??\"ExddyzSqr\",XrPS8JFG1:radius??props.XrPS8JFG1??\"8px\"};};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,telJSpEg7,q9yqCJffk,XrPS8JFG1,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"ExddyzSqr\",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__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-2ojkn3\",className,classNames),\"data-framer-name\":\"Stop\",layoutDependency:layoutDependency,layoutId:\"ExddyzSqr\",ref:refBinding,style:{borderBottomLeftRadius:radiusForCorner(XrPS8JFG1,3),borderBottomRightRadius:radiusForCorner(XrPS8JFG1,2),borderTopLeftRadius:radiusForCorner(XrPS8JFG1,0),borderTopRightRadius:radiusForCorner(XrPS8JFG1,1),...style},...addPropertyOverrides({KCDLszDEr:{\"data-framer-name\":\"Play\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-ztra4g-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"h_8MPx9e2-container\",nodeId:\"h_8MPx9e2\",rendersWithMotion:true,scopeId:\"KFrAiow6S\",children:/*#__PURE__*/_jsx(Video,{backgroundColor:\"rgba(255, 255, 255, 0)\",borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,controls:false,height:\"100%\",id:\"h_8MPx9e2\",isMixedBorderRadius:false,layoutId:\"h_8MPx9e2\",loop:true,muted:true,objectFit:\"fill\",playing:false,poster:toImageSrc(q9yqCJffk),posterEnabled:true,srcType:\"URL\",srcUrl:telJSpEg7,startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:0,topRightRadius:0,volume:25,width:\"100%\",...addPropertyOverrides({KCDLszDEr:{playing:true}},baseVariant,gestureVariant)})})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-f2ksfk\",layoutDependency:layoutDependency,layoutId:\"PXvBWruLc\",style:{backgroundColor:\"rgb(31, 31, 31)\",opacity:.3},variants:{KCDLszDEr:{opacity:0}}})]})})})});});const css=[\".framer-aVhyI.framer-env4iw, .framer-aVhyI .framer-env4iw { display: block; }\",\".framer-aVhyI.framer-2ojkn3 { height: 585px; overflow: var(--overflow-clip-fallback, clip); position: relative; width: 1040px; will-change: var(--framer-will-change-override, transform); }\",\".framer-aVhyI .framer-ztra4g-container { aspect-ratio: 1.7777777777777777 / 1; flex: none; height: auto; left: 0px; position: absolute; top: 0px; width: 100%; }\",\".framer-aVhyI .framer-f2ksfk { aspect-ratio: 1.7777777777777777 / 1; flex: none; height: auto; left: 0px; overflow: var(--overflow-clip-fallback, clip); position: absolute; top: 0px; width: 100%; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 585\n * @framerIntrinsicWidth 1040\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"KCDLszDEr\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"telJSpEg7\":\"uRL\",\"q9yqCJffk\":\"videoCover\",\"XrPS8JFG1\":\"radius\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerKFrAiow6S=withCSS(Component,css,\"framer-aVhyI\");export default FramerKFrAiow6S;FramerKFrAiow6S.displayName=\"OnScroll-VID-Hor\";FramerKFrAiow6S.defaultProps={height:585,width:1040};addPropertyControls(FramerKFrAiow6S,{variant:{options:[\"ExddyzSqr\",\"KCDLszDEr\"],optionTitles:[\"Stop\",\"Play\"],title:\"Variant\",type:ControlType.Enum},telJSpEg7:{defaultValue:\"\",title:\"URL\",type:ControlType.String},ontelJSpEg7Change:{changes:\"telJSpEg7\",type:ControlType.ChangeHandler},q9yqCJffk:{title:\"Video-cover\",type:ControlType.ResponsiveImage},XrPS8JFG1:{defaultValue:\"8px\",title:\"Radius\",type:ControlType.BorderRadius}});addFonts(FramerKFrAiow6S,[{explicitInter:true,fonts:[]},...VideoFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerKFrAiow6S\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"585\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"KCDLszDEr\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1040\",\"framerVariables\":\"{\\\"telJSpEg7\\\":\\\"uRL\\\",\\\"q9yqCJffk\\\":\\\"videoCover\\\",\\\"XrPS8JFG1\\\":\\\"radius\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./KFrAiow6S.map"],"mappings":"iYAC+pB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,2CAA7xB,IAA4L,IAAkE,IAA4B,IAAsI,EAAO,EAAW,EAAS,CAAK,EAAQ,EAAW,CAAC,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,kBAAkB,EAA6Q,GAAiB,EAAM,IAAc,CAAC,GAAG,OAAO,GAAQ,UAAU,OAAO,SAAS,CAAK,EAAE,OAAO,KAAK,IAAI,EAAE,CAAK,EAAE,KAAK,GAAG,OAAO,GAAQ,UAAU,OAAO,GAAc,SAAS,OAAiB,IAAM,EAAS,EAAM,MAAM,GAAG,EAAE,OAAO,EAAS,IAAc,EAAS,EAAY,IAAI,EAAS,EAAG,EAAQ,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,EAAW,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAM,IAAY,OAAO,GAAQ,SAAS,EAAM,IAAA,GAAkB,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,EA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