{"version":3,"file":"CMSActionInterface.DBtN_Msf.mjs","names":["CMSActionInterface","styles","CMSActionInterface","Phosphor","React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/dOZqL9fCwBpXLWmXZee9/a2wr9IQnZGUkXmj8Rx4P/CMSActionInterface_1.js","https:/framerusercontent.com/modules/EmdbbF0Oqp9xWnZQYfpo/zn3cq9UprcoUghuNZa6E/fkOihL6cr.js","https:/framerusercontent.com/modules/dW6ExEt4ZEMeSq98LBrc/jnMje9WWgwf9ev2rm1va/CMSActionInterface.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function CMSActionInterface(props){return /*#__PURE__*/_jsx(\"div\",{style:styles});}addPropertyControls(CMSActionInterface,{slug:{title:\"Slug\",type:ControlType.String},link:{title:\"Link\",type:ControlType.Link},courseKey:{title:\"Course Key\",type:ControlType.String,defaultValue:\"\"},lessonKey:{title:\"Lesson Key\",type:ControlType.String,defaultValue:\"\"}});const styles={};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSActionInterface\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSActionInterface_1.map","// Generated by Framer (6d0c662)\nimport{jsx as _jsx,jsxs as _jsxs}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{Icon as Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/p8dptk4UIND8hbFWz9V7/Phosphor.js\";import CMSActionInterface from\"https://framerusercontent.com/modules/dOZqL9fCwBpXLWmXZee9/a2wr9IQnZGUkXmj8Rx4P/CMSActionInterface_1.js\";const CMSActionInterfaceFonts=getFonts(CMSActionInterface);const PhosphorFonts=getFonts(Phosphor);const serializationHash=\"framer-fQg3g\";const variantClassNames={GQAZbajUF:\"framer-v-13fun4p\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const Sr9RVtJq2=undefined;const fztyqXWTo=undefined;const JvaKDwoqn=undefined;const VaP7EjYqa=undefined;const nHIRYgbky=undefined;const transition1={delay:0,duration:.3,ease:[.12,.23,.5,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 Variants=motion.create(React.Fragment);const getProps=({courseKey,height,hover,id,lessonKey,link,slug,width,...props})=>{return{...props,fztyqXWTo:slug??props.fztyqXWTo,JvaKDwoqn:link??props.JvaKDwoqn,nHIRYgbky:lessonKey??props.nHIRYgbky,Sr9RVtJq2:hover??props.Sr9RVtJq2,VaP7EjYqa:courseKey??props.VaP7EjYqa};};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,JvaKDwoqn,fztyqXWTo,Sr9RVtJq2,VaP7EjYqa,nHIRYgbky,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"GQAZbajUF\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onMouseEnter162xlt3=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});if(Sr9RVtJq2){const res=await Sr9RVtJq2(...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__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-13fun4p\",className,classNames),\"data-framer-name\":\"Default\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"GQAZbajUF\",onMouseEnter:onMouseEnter162xlt3,ref:refBinding,style:{backgroundColor:\"rgba(238, 238, 238, 0.05)\",borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10,...style},children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-pdtcuc-container\",isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"EiM1eAEtJ-container\",nodeId:\"EiM1eAEtJ\",rendersWithMotion:true,scopeId:\"fkOihL6cr\",children:/*#__PURE__*/_jsx(CMSActionInterface,{courseKey:VaP7EjYqa,height:\"100%\",id:\"EiM1eAEtJ\",layoutId:\"EiM1eAEtJ\",lessonKey:nHIRYgbky,link:JvaKDwoqn,slug:fztyqXWTo,width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-112r2an-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"HWvyJ0j6N-container\",nodeId:\"HWvyJ0j6N\",rendersWithMotion:true,scopeId:\"fkOihL6cr\",children:/*#__PURE__*/_jsx(Phosphor,{color:\"var(--token-c462d72f-6ac9-4184-8505-3f1c572844b9, rgb(84, 242, 166))\",height:\"100%\",iconSearch:\"House\",iconSelection:\"Check\",id:\"HWvyJ0j6N\",layoutId:\"HWvyJ0j6N\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:\"bold\",width:\"100%\"})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-fQg3g.framer-1eo6586, .framer-fQg3g .framer-1eo6586 { display: block; }\",\".framer-fQg3g.framer-13fun4p { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 6px; height: min-content; justify-content: center; overflow: visible; padding: 8px; position: relative; width: min-content; }\",\".framer-fQg3g .framer-pdtcuc-container { flex: none; height: auto; left: 0px; position: absolute; top: 0px; width: auto; z-index: 1; }\",\".framer-fQg3g .framer-112r2an-container { flex: none; height: 15px; position: relative; width: 15px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 31\n * @framerIntrinsicWidth 31\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"JvaKDwoqn\":\"link\",\"fztyqXWTo\":\"slug\",\"Sr9RVtJq2\":\"hover\",\"VaP7EjYqa\":\"courseKey\",\"nHIRYgbky\":\"lessonKey\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerfkOihL6cr=withCSS(Component,css,\"framer-fQg3g\");export default FramerfkOihL6cr;FramerfkOihL6cr.displayName=\"Lesson Complete Icon\";FramerfkOihL6cr.defaultProps={height:31,width:31};addPropertyControls(FramerfkOihL6cr,{JvaKDwoqn:{title:\"Link\",type:ControlType.Link},fztyqXWTo:{defaultValue:\"\",title:\"Slug\",type:ControlType.String},Sr9RVtJq2:{title:\"Hover\",type:ControlType.EventHandler},VaP7EjYqa:{defaultValue:\"\",title:\"Course Key\",type:ControlType.String},nHIRYgbky:{defaultValue:\"\",title:\"Lesson Key\",type:ControlType.String}});addFonts(FramerfkOihL6cr,[{explicitInter:true,fonts:[]},...CMSActionInterfaceFonts,...PhosphorFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerfkOihL6cr\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"31\",\"framerVariables\":\"{\\\"JvaKDwoqn\\\":\\\"link\\\",\\\"fztyqXWTo\\\":\\\"slug\\\",\\\"Sr9RVtJq2\\\":\\\"hover\\\",\\\"VaP7EjYqa\\\":\\\"courseKey\\\",\\\"nHIRYgbky\\\":\\\"lessonKey\\\"}\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"31\",\"framerColorSyntax\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./fkOihL6cr.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function CMSActionInterface(props){return /*#__PURE__*/_jsx(\"div\",{style:styles});}addPropertyControls(CMSActionInterface,{slug:{title:\"Slug\",type:ControlType.String},link:{title:\"Link\",type:ControlType.Link},courseKey:{title:\"Course Key\",type:ControlType.String,defaultValue:\"\"},lessonKey:{title:\"Lesson Key\",type:ControlType.String,defaultValue:\"\"}});const styles={};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSActionInterface\",\"slots\":[],\"annotations\":{\"framerContractVersion\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