{"version":3,"file":"shared-lib.Eb9W_M_y.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","className","useRef","useState"],"sources":["https:/framerusercontent.com/modules/BGkN8LGmmg4kPp6m2KpF/25xCz5asxXX2GAbiiG4O/RcPUdAfwD.js","https:/framerusercontent.com/modules/TMKThG2mypfdaRbrTjM1/d9QVV38akM3egPQxJLLS/Nf0hnlbYP.js","https:/framerusercontent.com/modules/lbwmAYWnuzBedkflS3ru/cHvSRzMTBmXkJNt2P9H1/AutoPlayVideo.js"],"sourcesContent":["// Generated by Framer (53c1d35)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Geist Mono-regular\",\"GF;Geist Mono-500\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Geist Mono\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/geistmono/v3/or3yQ6H-1_WfwkMZI_qYPLs1a-t7PU0AbeE9KJ5W7ihaO_CS.woff2\",weight:\"400\"},{family:\"Geist Mono\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/geistmono/v3/or3yQ6H-1_WfwkMZI_qYPLs1a-t7PU0AbeEPKJ5W7ihaO_CS.woff2\",weight:\"500\"}]}];export const css=['.framer-98gPD .framer-styles-preset-8gek6j:not(.rich-text-wrapper), .framer-98gPD .framer-styles-preset-8gek6j.rich-text-wrapper p { --framer-font-family: \"Geist Mono\", monospace; --framer-font-family-bold: \"Geist Mono\", monospace; --framer-font-open-type-features: normal; --framer-font-size: 12px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 500; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 4px; --framer-text-alignment: start; --framer-text-color: #ffffff; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-98gPD .framer-styles-preset-8gek6j:not(.rich-text-wrapper), .framer-98gPD .framer-styles-preset-8gek6j.rich-text-wrapper p { --framer-font-family: \"Geist Mono\", monospace; --framer-font-family-bold: \"Geist Mono\", monospace; --framer-font-open-type-features: normal; --framer-font-size: 12px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 500; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 4px; --framer-text-alignment: start; --framer-text-color: #ffffff; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-98gPD .framer-styles-preset-8gek6j:not(.rich-text-wrapper), .framer-98gPD .framer-styles-preset-8gek6j.rich-text-wrapper p { --framer-font-family: \"Geist Mono\", monospace; --framer-font-family-bold: \"Geist Mono\", monospace; --framer-font-open-type-features: normal; --framer-font-size: 10px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 500; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 4px; --framer-text-alignment: start; --framer-text-color: #ffffff; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; } }'];export const className=\"framer-98gPD\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (a44d8cf)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,cx,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-jU5rJ\";const variantClassNames={Am2PxbnDN:\"framer-v-swufre\"};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,width,...props})=>{return{...props};};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,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"Am2PxbnDN\",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-swufre\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"Am2PxbnDN\",ref:refBinding,style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:999,borderBottomRightRadius:999,borderTopLeftRadius:999,borderTopRightRadius:999,...style}})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-jU5rJ.framer-1lshifl, .framer-jU5rJ .framer-1lshifl { display: block; }\",\".framer-jU5rJ.framer-swufre { height: 16px; max-height: 16px; max-width: 16px; mix-blend-mode: difference; overflow: var(--overflow-clip-fallback, clip); position: relative; width: 16px; will-change: var(--framer-will-change-override, transform); }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 16\n * @framerIntrinsicWidth 16\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"],\"constraints\":[null,\"16px\",null,\"16px\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerNf0hnlbYP=withCSS(Component,css,\"framer-jU5rJ\");export default FramerNf0hnlbYP;FramerNf0hnlbYP.displayName=\"CURSOR\";FramerNf0hnlbYP.defaultProps={height:16,width:16};addFonts(FramerNf0hnlbYP,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerNf0hnlbYP\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"],\\\"constraints\\\":[null,\\\"16px\\\",null,\\\"16px\\\"]}}}\",\"framerIntrinsicHeight\":\"16\",\"framerIntrinsicWidth\":\"16\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Nf0hnlbYP.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{Frame,addPropertyControls,ControlType}from\"framer\";export default function AutoPlayVideo(props){const{video,poster,loop=true,muted=true,controls=false}=props;const ref=useRef(null);const[inView,setInView]=useState(false);// Preload poster (optional: comment out if you want zero upfront)\nuseEffect(()=>{if(!poster)return;const img=new Image;img.src=poster;},[poster]);// Observe visibility\nuseEffect(()=>{const el=ref.current;if(!el)return;el.muted=muted// set before attaching src (iOS quirk)\n;const io=new IntersectionObserver(([entry])=>{const visible=entry.isIntersecting;setInView(visible);},{threshold:.25,rootMargin:\"200px 0px\"}// start a bit early\n);io.observe(el);return()=>io.disconnect();},[muted]);// Attach src + control playback imperatively\nuseEffect(()=>{const el=ref.current;if(!el)return;if(inView&&video){// Only set if changed\nif(el.currentSrc!==video&&el.src!==video){el.src=video;// Commit new source\nel.load();}// Hint for autoplay\nel.autoplay=true;// Try to play\nel.play().catch(()=>{// Some browsers need a tick after load\nsetTimeout(()=>el.play().catch(()=>{}),0);});}else{el.pause();}},[inView,video]);// Pause when tab hidden (saves CPU)\nuseEffect(()=>{const onVis=()=>{const el=ref.current;if(!el)return;if(document.hidden)el.pause();else if(inView)el.play().catch(()=>{});};document.addEventListener(\"visibilitychange\",onVis);return()=>document.removeEventListener(\"visibilitychange\",onVis);},[inView]);return /*#__PURE__*/_jsx(Frame,{width:\"100%\",height:\"100%\",style:{backgroundImage:poster?`url(${poster})`:undefined,backgroundSize:\"cover\",backgroundPosition:\"center\",backgroundColor:\"#000\"},children:/*#__PURE__*/_jsx(\"video\",{ref:ref,// Note: we don't set `src` here; we attach it imperatively in the effect\nposter:poster,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",background:\"transparent\"},loop:loop,muted:muted,controls:controls,playsInline:true,preload:inView?\"metadata\":\"none\",crossOrigin:\"anonymous\"})});}addPropertyControls(AutoPlayVideo,{video:{type:ControlType.File,allowedFileTypes:[\"mp4\"],title:\"Video\"},poster:{type:ControlType.Image,title:\"Poster\"},loop:{type:ControlType.Boolean,defaultValue:true,title:\"Loop\"},muted:{type:ControlType.Boolean,defaultValue:true,title:\"Muted\"},controls:{type:ControlType.Boolean,defaultValue:false,title:\"Controls\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AutoPlayVideo\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AutoPlayVideo.map"],"mappings":"wWAC8B,GAAU,UAAU,CAAC,wBAAwB,oBAAoB,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,OAAO,aAAa,OAAO,SAAS,MAAM,SAAS,IAAI,kGAAkG,OAAO,MAAM,CAAC,CAAC,OAAO,aAAa,OAAO,SAAS,MAAM,SAAS,IAAI,kGAAkG,OAAO,MAAM,CAAC,CAAC,CAAC,CAAc,EAAI,CAAC,wvBAAwvB,8yBAA8yB,2yBAA2yB,CAAc,EAAU,iDCAnzF,IAA2F,IAAkE,IAA4B,CAAgC,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,CAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO,GAAU,CAAC,SAAO,KAAG,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,EAAS,GAAwB,EAAM,IAAe,EAAM,iBAAwB,EAAS,KAAK,IAAI,CAAC,EAAM,iBAAwB,EAAS,K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