{"version":3,"file":"mOpTD61wd.DY17CC_e.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/bTklSBx0zjew65Cn6pUM/hQ96vg0ciVWW5UjPziOa/mOpTD61wd.js"],"sourcesContent":["// Generated by Framer (6d0c662)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX,withOptimizedAppearEffect}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionAWithFXWithOptimizedAppearEffect=withOptimizedAppearEffect(withFX(motion.a));const cycleOrder=[\"eumsM0sre\",\"RYq07cO4n\",\"WheJDFRT0\"];const serializationHash=\"framer-RSryR\";const variantClassNames={eumsM0sre:\"framer-v-bmdf51\",RYq07cO4n:\"framer-v-10zyivu\",WheJDFRT0:\"framer-v-1rtmr3p\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const VSa1XU1yW=undefined;const bXky8US9z=undefined;const exCdqLAjd=undefined;const BJIsfhEZZ=undefined;const V4matTzLY=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,transition:transition1,x:0,y:0};const animation1={opacity:.001,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const transformTemplate1=(_,t)=>`translate(-50%, -50%) ${t}`;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 humanReadableVariantMap={\"Variant 1\":\"eumsM0sre\",\"Variant 2\":\"RYq07cO4n\",\"Variant 3\":\"WheJDFRT0\"};const getProps=({click,color,fill,height,id,link,text,width,...props})=>{return{...props,BJIsfhEZZ:text??props.BJIsfhEZZ??\"Submit Entry\",bXky8US9z:link??props.bXky8US9z,exCdqLAjd:fill??props.exCdqLAjd??\"var(--token-893d5094-dab2-4f94-97d5-a90c5d66ece6, rgb(255, 205, 42))\",V4matTzLY:color??props.V4matTzLY??\"var(--token-cc01f09d-5e83-463f-82dc-058f6a29796e, rgb(31, 19, 5))\",variant:humanReadableVariantMap[props.variant]??props.variant??\"eumsM0sre\",VSa1XU1yW:click??props.VSa1XU1yW};};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,VSa1XU1yW,BJIsfhEZZ,exCdqLAjd,V4matTzLY,bXky8US9z,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"eumsM0sre\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTapsica5k=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(VSa1XU1yW){const res=await VSa1XU1yW(...args);if(res===false)return false;}});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(Link,{href:bXky8US9z,motionChild:true,nodeId:\"eumsM0sre\",openInNewTab:false,scopeId:\"mOpTD61wd\",smoothScroll:true,children:/*#__PURE__*/_jsx(MotionAWithFXWithOptimizedAppearEffect,{...restProps,...gestureHandlers,__framer__presenceAnimate:animation,__framer__presenceInitial:animation1,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:`${cx(scopingClassNames,\"framer-bmdf51\",className,classNames)} framer-j7knpo`,\"data-framer-appear-id\":\"bmdf51\",\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"eumsM0sre\",onTap:onTapsica5k,optimized:true,ref:refBinding,style:{backgroundColor:\"var(--token-ffe44918-df74-4c22-ab9b-a18927ab13d1, rgb(255, 255, 255))\",borderBottomLeftRadius:17,borderBottomRightRadius:17,borderTopLeftRadius:17,borderTopRightRadius:17,...style},variants:{RYq07cO4n:{backgroundColor:\"rgb(181, 18, 18)\"},WheJDFRT0:{backgroundColor:exCdqLAjd}},...addPropertyOverrides({RYq07cO4n:{\"data-framer-name\":\"Variant 2\"},WheJDFRT0:{\"data-framer-name\":\"Variant 3\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7TGV4ZW5kLTYwMA==\",\"--framer-font-family\":'\"Lexend\", \"Lexend Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\"},children:\"Submit Entry\"})}),className:\"framer-1qesu2d\",\"data-framer-name\":\"Get Started\",fonts:[\"GF;Lexend-600\"],layoutDependency:layoutDependency,layoutId:\"jU4p_ASAB\",style:{\"--framer-paragraph-spacing\":\"0px\",\"--variable-reference-V4matTzLY-mOpTD61wd\":V4matTzLY},text:BJIsfhEZZ,transformTemplate:transformTemplate1,variants:{RYq07cO4n:{\"--extracted-r6o4lv\":\"var(--token-092b174e-2812-4d2e-806b-1d5069da22f5, rgb(240, 240, 240))\"},WheJDFRT0:{\"--extracted-r6o4lv\":\"var(--variable-reference-V4matTzLY-mOpTD61wd)\",\"--variable-reference-V4matTzLY-mOpTD61wd\":V4matTzLY}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({RYq07cO4n:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7TGV4ZW5kLTYwMA==\",\"--framer-font-family\":'\"Lexend\", \"Lexend Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-092b174e-2812-4d2e-806b-1d5069da22f5, rgb(240, 240, 240)))\"},children:\"Entries Closed\"})})},WheJDFRT0:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7TGV4ZW5kLTYwMA==\",\"--framer-font-family\":'\"Lexend\", \"Lexend Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-V4matTzLY-mOpTD61wd))\"},children:\"Submit Entry\"})})}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-RSryR.framer-j7knpo, .framer-RSryR .framer-j7knpo { display: block; }\",\".framer-RSryR.framer-bmdf51 { cursor: pointer; gap: 8px; height: 33px; overflow: visible; position: relative; text-decoration: none; width: 133px; }\",\".framer-RSryR .framer-1qesu2d { flex: none; height: auto; left: 50%; position: absolute; top: 50%; white-space: pre; width: auto; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 33\n * @framerIntrinsicWidth 133\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"RYq07cO4n\":{\"layout\":[\"fixed\",\"fixed\"]},\"WheJDFRT0\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"VSa1XU1yW\":\"click\",\"BJIsfhEZZ\":\"text\",\"exCdqLAjd\":\"fill\",\"V4matTzLY\":\"color\",\"bXky8US9z\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramermOpTD61wd=withCSS(Component,css,\"framer-RSryR\");export default FramermOpTD61wd;FramermOpTD61wd.displayName=\"Submit Entry\";FramermOpTD61wd.defaultProps={height:33,width:133};addPropertyControls(FramermOpTD61wd,{variant:{options:[\"eumsM0sre\",\"RYq07cO4n\",\"WheJDFRT0\"],optionTitles:[\"Variant 1\",\"Variant 2\",\"Variant 3\"],title:\"Variant\",type:ControlType.Enum},VSa1XU1yW:{title:\"Click\",type:ControlType.EventHandler},BJIsfhEZZ:{defaultValue:\"Submit Entry\",displayTextArea:false,title:\"Text\",type:ControlType.String},exCdqLAjd:{defaultValue:'var(--token-893d5094-dab2-4f94-97d5-a90c5d66ece6, rgb(255, 205, 42)) /* {\"name\":\"Bright Yellow\"} */',title:\"Fill\",type:ControlType.Color},V4matTzLY:{defaultValue:\"var(--token-cc01f09d-5e83-463f-82dc-058f6a29796e, rgb(31, 19, 5))\",title:\"Color\",type:ControlType.Color},bXky8US9z:{title:\"Link\",type:ControlType.Link}});addFonts(FramermOpTD61wd,[{explicitInter:true,fonts:[{cssFamilyName:\"Lexend\",source:\"google\",style:\"normal\",uiFamilyName:\"Lexend\",url:\"https://fonts.gstatic.com/s/lexend/v26/wlptgwvFAVdoq2_F94zlCfv0bz1WC-UR_LVte6KuGEo.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramermOpTD61wd\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"RYq07cO4n\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"WheJDFRT0\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"133\",\"framerVariables\":\"{\\\"VSa1XU1yW\\\":\\\"click\\\",\\\"BJIsfhEZZ\\\":\\\"text\\\",\\\"exCdqLAjd\\\":\\\"fill\\\",\\\"V4matTzLY\\\":\\\"color\\\",\\\"bXky8US9z\\\":\\\"link\\\"}\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicHeight\":\"33\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerColorSyntax\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./mOpTD61wd.map"],"mappings":"gWAC6oB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,iDAA1wB,IAAmM,IAAkE,IAA4B,CAAgC,EAAuC,EAA0B,EAAO,EAAO,EAAE,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,mBAAmB,CAAgU,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,EAAU,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAY,EAAE,EAAE,EAAE,EAAE,CAAO,EAAW,CAA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