{"version":3,"file":"kY23VosTs.B__s7mUO.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","sharedStyle.className","className","RichText","sharedStyle.css","sharedStyle.fonts"],"sources":["https:/framerusercontent.com/modules/MdbujIz2hm4iXX5Kvobb/OAazBUfRTlc9Nh1xJUyb/kY23VosTs.js"],"sourcesContent":["// Generated by Framer (0da2bc6)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/LES2Le1XakjXkLUUAiLA/g3HS5hym5YFEW4PmFAz1/VmDZhHui_.js\";const enabledGestures={SEqxgYatv:{hover:true}};const cycleOrder=[\"SEqxgYatv\",\"IjFdg0Ox5\",\"HRp5u20Ic\",\"iZ9JdZoFr\"];const serializationHash=\"framer-6J5Ty\";const variantClassNames={HRp5u20Ic:\"framer-v-hzvk6b\",IjFdg0Ox5:\"framer-v-y2k8vj\",iZ9JdZoFr:\"framer-v-9ay0hk\",SEqxgYatv:\"framer-v-1y6ytpp\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const LdmCt5kl3=undefined;const transition1={delay:0,duration:.25,ease:[.44,0,.56,1],type:\"tween\"};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 humanReadableVariantMap={Default:\"SEqxgYatv\",Error:\"iZ9JdZoFr\",Pending:\"IjFdg0Ox5\",Success:\"HRp5u20Ic\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,title,width,...props})=>{return{...props,LdmCt5kl3:title??props.LdmCt5kl3??\"Send\",variant:humanReadableVariantMap[props.variant]??props.variant??\"SEqxgYatv\"};};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,LdmCt5kl3,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"SEqxgYatv\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];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.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1y6ytpp\",className,classNames),\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"SEqxgYatv\",ref:refBinding,style:{backgroundColor:\"var(--token-881aa1ff-8066-4f4c-b650-45171a6eee53)\",borderBottomLeftRadius:3,borderBottomRightRadius:3,borderTopLeftRadius:3,borderTopRightRadius:3,...style},variants:{\"SEqxgYatv-hover\":{backgroundColor:\"var(--token-70f7018c-be93-44bd-8662-ca3f9ee3a73f)\"},HRp5u20Ic:{backgroundColor:\"var(--token-54a5f3a8-80f0-4d5e-a063-f548799c7a64)\"},IjFdg0Ox5:{backgroundColor:\"var(--token-70f7018c-be93-44bd-8662-ca3f9ee3a73f)\"},iZ9JdZoFr:{backgroundColor:\"var(--token-e63b606c-c72f-4045-8df5-4f59a9e3f4ec)\"}},...addPropertyOverrides({\"SEqxgYatv-hover\":{\"data-framer-name\":undefined},HRp5u20Ic:{\"data-framer-name\":\"Success\"},IjFdg0Ox5:{\"data-framer-name\":\"Pending\"},iZ9JdZoFr:{\"data-framer-name\":\"Error\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-jj6ns6\",\"data-styles-preset\":\"VmDZhHui_\",dir:\"auto\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-3bff97e9-a401-488e-8816-302464d478e5))\"},children:\"Title\"})}),className:\"framer-hjpuks\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"YXoELUrtv\",style:{\"--extracted-r6o4lv\":\"var(--token-3bff97e9-a401-488e-8816-302464d478e5)\"},text:LdmCt5kl3,verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({HRp5u20Ic:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",children:\"Thank you. We’ll be in touch within one working day.\"})}),text:undefined},IjFdg0Ox5:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",children:\"Sending…\"})}),text:undefined},iZ9JdZoFr:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",children:\"Something went wrong. Please call 01225 480 216.\"})}),text:undefined}},baseVariant,gestureVariant)})})})})});});const css=[\".framer-6J5Ty.framer-571k28, .framer-6J5Ty .framer-571k28 { display: block; }\",\".framer-6J5Ty.framer-1y6ytpp { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; padding: 16px 30px 16px 30px; position: relative; width: min-content; }\",\".framer-6J5Ty .framer-hjpuks { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-6J5Ty.framer-v-y2k8vj.framer-1y6ytpp, .framer-6J5Ty.framer-v-hzvk6b.framer-1y6ytpp, .framer-6J5Ty.framer-v-9ay0hk.framer-1y6ytpp { cursor: default; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 50\n * @framerIntrinsicWidth 95\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"IjFdg0Ox5\":{\"layout\":[\"auto\",\"auto\"]},\"HRp5u20Ic\":{\"layout\":[\"auto\",\"auto\"]},\"iZ9JdZoFr\":{\"layout\":[\"auto\",\"auto\"]},\"FCdY0wODN\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"LdmCt5kl3\":\"title\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerkY23VosTs=withCSS(Component,css,\"framer-6J5Ty\");export default FramerkY23VosTs;FramerkY23VosTs.displayName=\"Submit Button\";FramerkY23VosTs.defaultProps={height:50,width:95};addPropertyControls(FramerkY23VosTs,{variant:{options:[\"SEqxgYatv\",\"IjFdg0Ox5\",\"HRp5u20Ic\",\"iZ9JdZoFr\"],optionTitles:[\"Default\",\"Pending\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum},LdmCt5kl3:{defaultValue:\"Send\",title:\"Title\",type:ControlType.String},onLdmCt5kl3Change:{changes:\"LdmCt5kl3\",type:ControlType.ChangeHandler}});addFonts(FramerkY23VosTs,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerkY23VosTs\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"95\",\"framerVariables\":\"{\\\"LdmCt5kl3\\\":\\\"title\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"IjFdg0Ox5\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"HRp5u20Ic\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"iZ9JdZoFr\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"FCdY0wODN\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicHeight\":\"50\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./kY23VosTs.map"],"mappings":"qYAC4tB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,uCAAx2B,IAA4J,IAAkE,IAA4B,IAAmJ,EAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQ,EAAW,CAAC,YAAY,YAAY,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,kB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