{"version":3,"file":"Arrow.DaGFdwPf.mjs","names":[],"sources":["https:/framerusercontent.com/modules/9CzpJBTGNCxw2yIrU6v9/nxTl7GSOGuSone8OqLPi/Arrow.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function KeyboardNavigationComponent(props){useEffect(()=>{console.log(\"Left Arrow Destination:\",props.leftArrowDestination);console.log(\"Right Arrow Destination:\",props.rightArrowDestination);const handleKeyDown=event=>{if(event.key===\"ArrowLeft\"){console.log(\"Navigating to (Left):\",props.leftArrowDestination);if(props.leftArrowDestination){window.location.href=props.leftArrowDestination;}}else if(event.key===\"ArrowRight\"){console.log(\"Navigating to (Right):\",props.rightArrowDestination);if(props.rightArrowDestination){window.location.href=props.rightArrowDestination;}}};window.addEventListener(\"keydown\",handleKeyDown);return()=>{window.removeEventListener(\"keydown\",handleKeyDown);};},[props.leftArrowDestination,props.rightArrowDestination]);return /*#__PURE__*/_jsx(\"div\",{style:{...props.style}});}KeyboardNavigationComponent.displayName=\"Keyboard Navigation\";addPropertyControls(KeyboardNavigationComponent,{leftArrowDestination:{type:ControlType.Link,title:\"Left Arrow Destination URL\",defaultValue:\"\"},rightArrowDestination:{type:ControlType.Link,title:\"Right Arrow Destination URL\",defaultValue:\"\"}})// Code created by sirdangol\n;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"KeyboardNavigationComponent\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Arrow.map"],"mappings":"0SAA4H,SAAwB,EAA4B,EAAM,CAAssB,OAArsB,MAAc,CAAC,QAAQ,IAAI,0BAA0B,EAAM,qBAAqB,CAAC,QAAQ,IAAI,2BAA2B,EAAM,sBAAsB,CAAC,IAAM,EAAc,GAAO,CAAI,EAAM,MAAM,aAAa,QAAQ,IAAI,wBAAwB,EAAM,qBAAqB,CAAI,EAAM,uBAAsB,EAAO,SAAS,KAAK,EAAM,uBAA+B,EAAM,MAAM,eAAc,QAAQ,IAAI,yBAAyB,EAAM,sBAAsB,CAAI,EAAM,wBAAuB,EAAO,SAAS,KAAK,EAAM,yBAA2E,OAAjD,EAAO,iBAAiB,UAAU,EAAc,KAAW,CAAC,EAAO,oBAAoB,UAAU,EAAc,GAAK,CAAC,EAAM,qBAAqB,EAAM,sBAAsB,CAAC,CAAqB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,CAAC,CAAC,sBAAz4B,IAA6B,IAAoD,CAA0zB,EAA4B,YAAY,sBAAsB,EAAoB,EAA4B,CAAC,qBAAqB,CAAC,KAAK,EAAY,KAAK,MAAM,6BAA6B,aAAa,GAAG,CAAC,sBAAsB,CAAC,KAAK,EAAY,KAAK,MAAM,8BAA8B,aAAa,GAAG,CAAC,CAAC"}