{"version":3,"file":"Overrides.C85tkZXC.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/gJhdtSOKYU7NjknqC4vH/VwhDXxo0wZExlbCdBDwg/Overrides.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function withTransition(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,transition:\"0.15s ease-in-out\",transitionProperty:\"background-color, color\"}});};}export function withPositionFixed(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,position:\"fixed\"}});};}export function withSection(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,zIndex:2,perspective:\"1200px\"}});};}export function withTouchVariant(Component){return props=>{const[hover,setHover]=useState(true);useEffect(()=>{const mediaQuery=window.matchMedia(\"(hover: hover)\");setHover(mediaQuery.matches);const onChange=e=>setHover(e.matches);mediaQuery.addEventListener(\"change\",onChange);return()=>{mediaQuery.removeEventListener(\"change\",onChange);};},[]);return /*#__PURE__*/_jsx(Component,{...props,variant:hover?\"Default\":\"Mobile\"});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withSection\":{\"type\":\"reactHoc\",\"name\":\"withSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTouchVariant\":{\"type\":\"reactHoc\",\"name\":\"withTouchVariant\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTransition\":{\"type\":\"reactHoc\",\"name\":\"withTransition\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPositionFixed\":{\"type\":\"reactHoc\",\"name\":\"withPositionFixed\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Overrides.map"],"mappings":"uIAAiF,SAAgB,EAAe,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,WAAW,oBAAoB,mBAAmB,0BAA0B,CAAC,CAAC,CAAI,SAAgB,EAAkB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,SAAS,QAAQ,CAAC,CAAC,CAAI,SAAgB,EAAY,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,EAAE,YAAY,SAAS,CAAC,CAAC,CAAI,SAAgB,EAAiB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAM,GAAUA,EAAS,GAAK,CAA4P,OAA3P,MAAc,CAAC,IAAM,EAAW,EAAO,WAAW,iBAAiB,CAAC,EAAS,EAAW,QAAQ,CAAC,IAAM,EAAS,GAAG,EAAS,EAAE,QAAQ,CAAgD,OAA/C,EAAW,iBAAiB,SAAS,EAAS,KAAW,CAAC,EAAW,oBAAoB,SAAS,EAAS,GAAK,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAM,UAAU,SAAS,CAAC,uBAAj9B,IAAsC"}