{"version":3,"file":"CMcCmI3yr.CPohl-P4.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/yaN3hWLnBlv8w8bRU0P9/KfWYwPRuxe49WNlpCO0x/CMcCmI3yr.js"],"sourcesContent":["// Generated by Framer (0f512b0)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import MarketoForm from\"https://framerusercontent.com/modules/c9FbF6gWas7sJWzmNUfz/bAedGggxcI358Ds3lN8y/Marketo_Form_Embed.js\";const MarketoFormFonts=getFonts(MarketoForm);const cycleOrder=[\"HlOpiB3yJ\",\"buRPN2b3k\"];const serializationHash=\"framer-Jwg4c\";const variantClassNames={buRPN2b3k:\"framer-v-xcbdgp\",HlOpiB3yJ:\"framer-v-1s98w8f\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const bKKHEgzWT=undefined;const cUzJF1VnX=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};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={\"No BG'\":\"buRPN2b3k\",\"On card\":\"HlOpiB3yJ\"};const Variants=motion.create(React.Fragment);const getProps=({click,embedCode,height,id,width,...props})=>{return{...props,bKKHEgzWT:click??props.bKKHEgzWT,cUzJF1VnX:embedCode??props.cUzJF1VnX??'<script src=\"//pages.pontera.com/js/forms2/js/forms2.min.js\"></script>\\n<form id=\"mktoForm_1003\"></form>\\n<script>\\n dreamdata.load(\\'<DREAMDATA_API_KEY>\\', {\\n  formTracking: {\\n      iframe: true,\\n  }); MktoForms2.loadForm(\"//pages.pontera.com\", \"977-OZP-120\", 1003);',variant:humanReadableVariantMap[props.variant]??props.variant??\"HlOpiB3yJ\"};};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,cUzJF1VnX,bKKHEgzWT,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"HlOpiB3yJ\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTapilihmu=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(bKKHEgzWT){const res=await bKKHEgzWT(...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(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1s98w8f\",className,classNames),\"data-framer-name\":\"On card\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"HlOpiB3yJ\",onTap:onTapilihmu,ref:refBinding,style:{backgroundColor:\"var(--token-bc03363a-294a-4725-be35-d8cd4179a6bb, rgb(255, 255, 255))\",borderBottomLeftRadius:24,borderBottomRightRadius:24,borderTopLeftRadius:24,borderTopRightRadius:24,...style},variants:{buRPN2b3k:{backgroundColor:\"rgba(0, 0, 0, 0)\",borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8}},...addPropertyOverrides({buRPN2b3k:{\"data-framer-name\":\"No BG'\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1l81qba-container\",isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"PWKv1ZIJ1-container\",nodeId:\"PWKv1ZIJ1\",rendersWithMotion:true,scopeId:\"CMcCmI3yr\",children:/*#__PURE__*/_jsx(MarketoForm,{embed:cUzJF1VnX,height:\"100%\",id:\"PWKv1ZIJ1\",layoutId:\"PWKv1ZIJ1\",style:{width:\"100%\"},width:\"100%\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Jwg4c.framer-s7swln, .framer-Jwg4c .framer-s7swln { display: block; }\",\".framer-Jwg4c.framer-1s98w8f { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 32px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 40px; position: relative; width: 656px; will-change: var(--framer-will-change-override, transform); }\",\".framer-Jwg4c .framer-1l81qba-container { flex: none; height: auto; position: relative; width: 100%; }\",\".framer-Jwg4c.framer-v-xcbdgp.framer-1s98w8f { padding: 0px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 1331\n * @framerIntrinsicWidth 656\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"buRPN2b3k\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"cUzJF1VnX\":\"embedCode\",\"bKKHEgzWT\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerCMcCmI3yr=withCSS(Component,css,\"framer-Jwg4c\");export default FramerCMcCmI3yr;FramerCMcCmI3yr.displayName=\"Marketo Form Wrapper\";FramerCMcCmI3yr.defaultProps={height:1331,width:656};addPropertyControls(FramerCMcCmI3yr,{variant:{options:[\"HlOpiB3yJ\",\"buRPN2b3k\"],optionTitles:[\"On card\",\"No BG'\"],title:\"Variant\",type:ControlType.Enum},cUzJF1VnX:{defaultValue:'<script src=\"//pages.pontera.com/js/forms2/js/forms2.min.js\"></script>\\n<form id=\"mktoForm_1003\"></form>\\n<script>\\n dreamdata.load(\\'<DREAMDATA_API_KEY>\\', {\\n  formTracking: {\\n      iframe: true,\\n  }); MktoForms2.loadForm(\"//pages.pontera.com\", \"977-OZP-120\", 1003);',description:'Replace \"1003\" with correct ID. It appears twice in the code. ',displayTextArea:true,title:\"Embed Code\",type:ControlType.String},oncUzJF1VnXChange:{changes:\"cUzJF1VnX\",type:ControlType.ChangeHandler},bKKHEgzWT:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerCMcCmI3yr,[{explicitInter:true,fonts:[]},...MarketoFormFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerCMcCmI3yr\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"656\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"buRPN2b3k\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicHeight\":\"1331\",\"framerDisplayContentsDiv\":\"false\",\"framerVariables\":\"{\\\"cUzJF1VnX\\\":\\\"embedCode\\\",\\\"bKKHEgzWT\\\":\\\"click\\\"}\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMcCmI3yr.map"],"mappings":"2YACysB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,2CAAt0B,IAAqN,IAAkE,IAA4B,IAAyJ,CAAM,EAAiB,EAAS,EAAY,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,CAAkP,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAwB,CAAC,SAAS,YAAY,UAAU,YAAY,CAAO,EAAS,EAAO,OAAOC,EAAe,CAAO,GAAU,CAAC,QAAM,YAAU,SAAO,KAAG,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAO,EAAM,UAAU,UAAU,GAAW,EAAM,WAAW;;;;;;wEAAiR,QAAQ,EAAwB,EAAM,UAAU,EAAM,SAAS,YAAY,EAAS,GAAwB,EAAM,IAAe,EAAM,iBAAwB,EAAS,KAAK,IAAI,CAAC,EAAM,iBAAwB,EAAS,KAAK,IAAI,CAW1iE,EAAgB,EAX0jE,EAAiB,SAAS,EAAM,EAAI,CAAC,IAAM,EAAYC,EAAO,KAAK,CAAO,E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