{"version":3,"file":"pnF4Zd7ee.BngOlCDD.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/kLBlhQyO1agYJyaobAGm/6jXOGMlkv8h9JbAkVCxQ/pnF4Zd7ee.js"],"sourcesContent":["// Generated by Framer (6788454)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getPropertyControls,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=[\"dhPqLgsq4\",\"tw9voqmdg\"];const serializationHash=\"framer-SHulB\";const variantClassNames={dhPqLgsq4:\"framer-v-1hldyiu\",tw9voqmdg:\"framer-v-vq6lzv\"};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 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={Desk:\"dhPqLgsq4\",Phone:\"tw9voqmdg\"};const getProps=({height,id,thumbnailDesk,thumbnailMobile,videoFileDesk,videoFileMobile,videoURLDesk,videoURLMobile,width,...props})=>{return{...props,aDn2Zy1gx:videoFileDesk??props.aDn2Zy1gx,fiOFs48nw:thumbnailMobile??props.fiOFs48nw,GtBQTKiDY:videoURLDesk??props.GtBQTKiDY??\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",JSEW4TSqj:videoFileMobile??props.JSEW4TSqj,rBnRB57Xd:thumbnailDesk??props.rBnRB57Xd,t5HdMPYPw:videoURLMobile??props.t5HdMPYPw??\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",variant:humanReadableVariantMap[props.variant]??props.variant??\"dhPqLgsq4\"};};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,GtBQTKiDY,rBnRB57Xd,aDn2Zy1gx,t5HdMPYPw,fiOFs48nw,JSEW4TSqj,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"dhPqLgsq4\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"tw9voqmdg\")return false;return true;};const isDisplayed1=()=>{if(baseVariant===\"tw9voqmdg\")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__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1hldyiu\",className,classNames),\"data-framer-name\":\"Desk\",layoutDependency:layoutDependency,layoutId:\"dhPqLgsq4\",ref:refBinding,style:{...style},...addPropertyOverrides({tw9voqmdg:{\"data-framer-name\":\"Phone\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1lkz75r-container\",\"data-framer-name\":\"Desk\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"wyKqKRjVt-container\",name:\"Desk\",nodeId:\"wyKqKRjVt\",rendersWithMotion:true,scopeId:\"pnF4Zd7ee\",children:/*#__PURE__*/_jsx(Video,{backgroundColor:\"rgba(0, 0, 0, 0)\",borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,controls:false,height:\"100%\",id:\"wyKqKRjVt\",isMixedBorderRadius:false,layoutId:\"wyKqKRjVt\",loop:true,muted:true,name:\"Desk\",objectFit:\"cover\",playing:true,poster:toImageSrc(rBnRB57Xd),posterEnabled:true,srcFile:aDn2Zy1gx,srcType:\"Upload\",srcUrl:GtBQTKiDY,startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:0,topRightRadius:0,volume:25,width:\"100%\"})})}),isDisplayed1()&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1f1355i-container\",\"data-framer-name\":\"Mobile\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"JsbaZiq3p-container\",name:\"Mobile\",nodeId:\"JsbaZiq3p\",rendersWithMotion:true,scopeId:\"pnF4Zd7ee\",children:/*#__PURE__*/_jsx(Video,{backgroundColor:\"rgba(0, 0, 0, 0)\",borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,controls:false,height:\"100%\",id:\"JsbaZiq3p\",isMixedBorderRadius:false,layoutId:\"JsbaZiq3p\",loop:true,muted:true,name:\"Mobile\",objectFit:\"cover\",playing:true,poster:toImageSrc(fiOFs48nw),posterEnabled:true,srcFile:JSEW4TSqj,srcType:\"URL\",srcUrl:t5HdMPYPw,startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:0,topRightRadius:0,volume:25,width:\"100%\"})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-SHulB.framer-vmhas3, .framer-SHulB .framer-vmhas3 { display: block; }\",\".framer-SHulB.framer-1hldyiu { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 20px; height: 800px; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 1200px; }\",\".framer-SHulB .framer-1lkz75r-container, .framer-SHulB .framer-1f1355i-container { flex: 1 0 0px; height: 100%; position: relative; width: 1px; }\",\".framer-SHulB.framer-v-vq6lzv.framer-1hldyiu { width: 390px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 800\n * @framerIntrinsicWidth 1200\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"tw9voqmdg\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"GtBQTKiDY\":\"videoURLDesk\",\"rBnRB57Xd\":\"thumbnailDesk\",\"aDn2Zy1gx\":\"videoFileDesk\",\"t5HdMPYPw\":\"videoURLMobile\",\"fiOFs48nw\":\"thumbnailMobile\",\"JSEW4TSqj\":\"videoFileMobile\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerpnF4Zd7ee=withCSS(Component,css,\"framer-SHulB\");export default FramerpnF4Zd7ee;FramerpnF4Zd7ee.displayName=\"Banner Video\";FramerpnF4Zd7ee.defaultProps={height:800,width:1200};addPropertyControls(FramerpnF4Zd7ee,{variant:{options:[\"dhPqLgsq4\",\"tw9voqmdg\"],optionTitles:[\"Desk\",\"Phone\"],title:\"Variant\",type:ControlType.Enum},GtBQTKiDY:{defaultValue:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",title:\"Video URL Desk\",type:ControlType.String},rBnRB57Xd:{title:\"Thumbnail Desk\",type:ControlType.ResponsiveImage},aDn2Zy1gx:VideoControls?.[\"srcFile\"]&&{...VideoControls[\"srcFile\"],__defaultAssetReference:\"\",description:undefined,hidden:undefined,title:\"Video File Desk\"},t5HdMPYPw:{defaultValue:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",title:\"Video URL Mobile\",type:ControlType.String},fiOFs48nw:{title:\"Thumbnail Mobile\",type:ControlType.ResponsiveImage},JSEW4TSqj:VideoControls?.[\"srcFile\"]&&{...VideoControls[\"srcFile\"],__defaultAssetReference:\"\",description:undefined,hidden:undefined,title:\"Video File Mobile\"}});addFonts(FramerpnF4Zd7ee,[{explicitInter:true,fonts:[]},...VideoFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerpnF4Zd7ee\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"800\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"tw9voqmdg\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"GtBQTKiDY\\\":\\\"videoURLDesk\\\",\\\"rBnRB57Xd\\\":\\\"thumbnailDesk\\\",\\\"aDn2Zy1gx\\\":\\\"videoFileDesk\\\",\\\"t5HdMPYPw\\\":\\\"videoURLMobile\\\",\\\"fiOFs48nw\\\":\\\"thumbnailMobile\\\",\\\"JSEW4TSqj\\\":\\\"videoFileMobile\\\"}\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"1200\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./pnF4Zd7ee.map"],"mappings":"6YACkuB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,2CAAh2B,IAAgN,IAAkE,IAA4B,IAAsI,EAAO,EAAW,EAAS,CAAK,EAAQ,EAAc,EAAoB,CAAK,EAAQ,EAAW,CAAC,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,iBAAiB,EAA+L,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,EAAsB,UAAQ,CAAC,CAAE,EAAQ,EAAS,EAAO,OAAOC,CAAc,EAAQ,EAAwB,CAAC,KAAK,YAAY,MAAM,WAAW,EAAQ,GAAU,CAAC,SAAO,KAAG,gBAAc,kBAAgB,gBAAc,kBAAgB,eAAa,iBAAe,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAe,EAAM,UAAU,UAAU,GAAiB,EAAM,UAAU,UAAU,GAAc,EAAM,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