{"version":3,"file":"Form_Prevent_Enter.EMfeX1hY.mjs","names":["React.forwardRef","__legacyOverrideHOC_DataObserverContext","_jsx","__esmMin","oe","init_jsx_runtime","J","init_npm_react_18_3_1","c","motion","init_framer_BWFVvmND","cx","withCSS","addPropertyControls","useSVGTemplate","ControlType","DataObserverContext","mask","Base","MotionSVG","SVG","svg","getProps","Icon","init_NIaRmZPb8","props","rest","animated","width1","alpha","color","restProps","href","className","rm13cFo5g","akr7Ge2dd","style","PreventFormSubmit","target","event","withPreventFormSubmit","C","init_Form_Prevent_Enter"],"sources":["https:/framerusercontent.com/modules/SmuaSMnTy3GCO88IpU7f/idaOjBt7QyaRpowdWQ2M/NIaRmZPb8.js","https:/framerusercontent.com/modules/tJTG5YAuxcICJiZyoQ8C/vJTrK64r7aEW1BNYnOLA/Form_Prevent_Enter.js"],"sourcesContent":["// Generated by Framer (ceb690b)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 4 8 L 0 4 L 4 0\" fill=\"transparent\" height=\"8px\" id=\"dzahky1SR\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--b8xnka, 2)\" stroke=\"var(--4i27ky, rgb(0, 0, 0))\" transform=\"translate(10 8)\" width=\"4px\"/></svg>';const getProps=({alpha,color,height,id,width,width1,...props})=>{return{...props,akr7Ge2dd:width1??props.akr7Ge2dd??2,PF8qIBMI7:alpha??props.PF8qIBMI7??.16,rm13cFo5g:color??props.rm13cFo5g??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,rm13cFo5g,akr7Ge2dd,PF8qIBMI7,...restProps}=getProps(props);const href=useSVGTemplate(\"2620100497\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-HxbCf\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--4i27ky\":rm13cFo5g,\"--b8xnka\":akr7Ge2dd,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-HxbCf { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"rm13cFo5g\":\"color\",\"akr7Ge2dd\":\"width1\",\"PF8qIBMI7\":\"alpha\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Chevron Left\",\"color\":{\"type\":\"variable\",\"value\":\"4i27ky\"},\"set\":{\"localId\":\"vectorSet/jIUXDd189\",\"id\":\"jIUXDd189\",\"moduleId\":\"mbMVkRB5lkkRzWT95l5L\"}}\n */const Icon=withCSS(Component,css,\"framer-HxbCf\");Icon.displayName=\"Chevron Left\";export default Icon;addPropertyControls(Icon,{rm13cFo5g:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},akr7Ge2dd:{defaultValue:2,displayStepper:true,hidden:false,max:4,min:1,title:\"Width\",type:ControlType.Number},PF8qIBMI7:{defaultValue:.16,displayStepper:true,hidden:true,max:1,min:0,step:.01,title:\"Alpha\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerVector\":\"{\\\"name\\\":\\\"Chevron Left\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"4i27ky\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/jIUXDd189\\\",\\\"id\\\":\\\"jIUXDd189\\\",\\\"moduleId\\\":\\\"mbMVkRB5lkkRzWT95l5L\\\"}}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"24\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"rm13cFo5g\\\":\\\"color\\\",\\\"akr7Ge2dd\\\":\\\"width1\\\",\\\"PF8qIBMI7\\\":\\\"alpha\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";export function PreventFormSubmit(){return{onKeyDownCapture(event){const target=event.target;if(event.key===\"Enter\"&&target.tagName!==\"TEXTAREA\"){event.preventDefault();event.stopPropagation();}}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withPreventFormSubmit(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...PreventFormSubmit(props)});};}withPreventFormSubmit.displayName=\"PreventFormSubmit\";\nexport const __FramerMetadata__ = {\"exports\":{\"withPreventFormSubmit\":{\"type\":\"reactHoc\",\"name\":\"withPreventFormSubmit\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PreventFormSubmit\":{\"type\":\"override\",\"name\":\"PreventFormSubmit\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL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