{"version":3,"file":"ForcePaintComp.C1JBQOB_.mjs","names":["Image"],"sources":["https:/framerusercontent.com/modules/qczrMrOdmIPXBXsSf14v/xlsL8c2D2Y6ehYnRp52T/xpJVe3QWb.js","https:/framerusercontent.com/modules/1rkSn0eJ0r9AYa3SWQp2/tOdQ4Ok89lM66q7iRIWz/ForcePaintComp.js"],"sourcesContent":["// Generated by Framer (365f1a8)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getLoadingLazyAtYPosition,getPropertyControls,Image,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/7qT0r3So12155VV5Jq5x/Video.js\";const VideoFonts=getFonts(Video);const VideoControls=getPropertyControls(Video);const cycleOrder=[\"RFO1SZfCD\",\"sOP0h33rd\"];const serializationHash=\"framer-Cr9Eb\";const variantClassNames={RFO1SZfCD:\"framer-v-1p6btuk\",sOP0h33rd:\"framer-v-1ng79h1\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const transition1={bounce:.2,delay:1,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 Variants=motion.create(React.Fragment);const humanReadableVariantMap={Paused:\"RFO1SZfCD\",Playing:\"sOP0h33rd\"};const getProps=({file,height,id,image,width,...props})=>{return{...props,ayqkXag13:image??props.ayqkXag13??{pixelHeight:1008,pixelWidth:1500,src:\"https://framerusercontent.com/images/809wmdJFIRhIb0HX6qQxU1XgM.png?scale-down-to=1024\",srcSet:\"https://framerusercontent.com/images/809wmdJFIRhIb0HX6qQxU1XgM.png?scale-down-to=512 512w,https://framerusercontent.com/images/809wmdJFIRhIb0HX6qQxU1XgM.png?scale-down-to=1024 1024w,https://framerusercontent.com/images/809wmdJFIRhIb0HX6qQxU1XgM.png 1500w\"},m0UtYNBbj:file??props.m0UtYNBbj??\"https://framerusercontent.com/assets/pfCAbfQxucoDIYSfJu4G70sFk.mp4\",variant:humanReadableVariantMap[props.variant]??props.variant??\"RFO1SZfCD\"};};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,m0UtYNBbj,ayqkXag13,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"RFO1SZfCD\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"sOP0h33rd\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Image,{...restProps,...gestureHandlers,background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:1008,pixelWidth:1500,sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(ayqkXag13)},className:cx(scopingClassNames,\"framer-1p6btuk\",className,classNames),\"data-framer-name\":\"Paused\",layoutDependency:layoutDependency,layoutId:\"RFO1SZfCD\",ref:refBinding,style:{...style},...addPropertyOverrides({sOP0h33rd:{\"data-framer-name\":\"Playing\"}},baseVariant,gestureVariant),children:isDisplayed()&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1kzkawm-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"hc45v1f2_-container\",nodeId:\"hc45v1f2_\",rendersWithMotion:true,scopeId:\"xpJVe3QWb\",children:/*#__PURE__*/_jsx(Video,{backgroundColor:\"rgb(29, 29, 29)\",borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,controls:false,height:\"100%\",id:\"hc45v1f2_\",isMixedBorderRadius:false,layoutId:\"hc45v1f2_\",loop:true,muted:true,objectFit:\"cover\",playing:false,poster:toImageSrc(ayqkXag13),posterEnabled:true,srcFile:m0UtYNBbj,srcType:\"Upload\",srcUrl:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:0,topRightRadius:0,volume:25,width:\"100%\",...addPropertyOverrides({sOP0h33rd:{playing:true}},baseVariant,gestureVariant)})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Cr9Eb.framer-1340jom, .framer-Cr9Eb .framer-1340jom { display: block; }\",\".framer-Cr9Eb.framer-1p6btuk { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 504px; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 751px; }\",\".framer-Cr9Eb .framer-1kzkawm-container { flex: 1 0 0px; height: 100%; position: relative; width: 1px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 504\n * @framerIntrinsicWidth 751\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"sOP0h33rd\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"m0UtYNBbj\":\"file\",\"ayqkXag13\":\"image\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerxpJVe3QWb=withCSS(Component,css,\"framer-Cr9Eb\");export default FramerxpJVe3QWb;FramerxpJVe3QWb.displayName=\"Canvas Video\";FramerxpJVe3QWb.defaultProps={height:504,width:751};addPropertyControls(FramerxpJVe3QWb,{variant:{options:[\"RFO1SZfCD\",\"sOP0h33rd\"],optionTitles:[\"Paused\",\"Playing\"],title:\"Variant\",type:ControlType.Enum},m0UtYNBbj:VideoControls?.[\"srcFile\"]&&{...VideoControls[\"srcFile\"],__defaultAssetReference:\"data:framer/asset-reference,pfCAbfQxucoDIYSfJu4G70sFk.mp4?originalFilename=Canvas+2025__73pct_smaller.mp4\",description:undefined,hidden:undefined,title:\"File\"},ayqkXag13:{__defaultAssetReference:\"data:framer/asset-reference,809wmdJFIRhIb0HX6qQxU1XgM.png?originalFilename=image.png&preferredSize=auto\",title:\"Image\",type:ControlType.ResponsiveImage}});addFonts(FramerxpJVe3QWb,[{explicitInter:true,fonts:[]},...VideoFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerxpJVe3QWb\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"m0UtYNBbj\\\":\\\"file\\\",\\\"ayqkXag13\\\":\\\"image\\\"}\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"504\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"sOP0h33rd\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"751\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./xpJVe3QWb.map","import{jsx as _jsx}from\"react/jsx-runtime\";export default function ForcePaintComp(props){return /*#__PURE__*/_jsx(\"script\",{dangerouslySetInnerHTML:{// This adds an SSR'd <script> tag that triggers a Chromium heuristic to paint the page earlier (to improve FCP/LCP)\n// added by @jacob\n__html:\"performance.mark('main-section')\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ForcePaintComp\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ForcePaintComp.map"],"mappings":"wtBACqvB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAE,EAAsF,MAArF,IAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,CAAe,gDAW3J,AAXjxB,GAA2C,IAAgP,IAAkE,IAA4B,CAA0B,GAA4G,CAAM,EAAW,EAAS,EAAM,CAAO,EAAc,EAAoB,EAAM,CAAO,EAAW,CAAC,YAAY,WAAY,EAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAmB,EAA8L,EAAkB,UAAkB,GAAQ,UAAU,UAAqB,EAAM,KAAM,SAAiB,SAAqB,GAAQ,SAAS,CAAC,IAAI,CAAM,MAAA,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