{"version":3,"file":"ModuleCard01.DTFrUtSL.mjs","names":["p","_Fragment"],"sources":["https:/framerusercontent.com/modules/4MrvZQUwyMC5MkrjW4Jt/ZiqselXrjEboiisvudCw/ModuleCard01.js"],"sourcesContent":["// SimpleModuleCard.tsx — final version with centered bullets\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";const resolveFont=(c,custom)=>c===\"Custom\"?custom||\"Inter, system-ui, sans-serif\":c===\"System\"?\"system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif\":c===\"IBM Plex Mono\"?\"'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace\":\"Inter, system-ui, sans-serif\";export default function SimpleModuleCard(p){const titleFont=resolveFont(p.titleFontChoice,p.titleCustomFont);const subtitleFont=resolveFont(p.subtitleFontChoice,p.subtitleCustomFont);const descFont=resolveFont(p.descFontChoice,p.descCustomFont);const bulletFont=resolveFont(p.bulletFontChoice,p.bulletCustomFont);const variants={closed:{height:p.closedHeight},open:{height:\"auto\"}};return /*#__PURE__*/_jsx(motion.div,{initial:p.isOpen?\"open\":\"closed\",animate:p.isOpen?\"open\":\"closed\",variants:variants,style:{width:\"100%\",boxSizing:\"border-box\",background:\"transparent\",padding:p.padding,overflow:\"hidden\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",justifyContent:p.isOpen?\"flex-start\":\"center\",height:\"100%\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:p.gapTitleLines,alignItems:\"flex-start\"},children:[p.subtitle&&/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:subtitleFont,fontSize:p.subtitleSize,color:p.subtitleColor},children:p.subtitle}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:titleFont,fontSize:p.titleSize,fontWeight:700,color:p.titleColor},children:p.title})]}),p.isOpen&&/*#__PURE__*/_jsxs(_Fragment,{children:[p.description&&/*#__PURE__*/_jsx(\"div\",{style:{marginTop:p.gapTitleDesc,fontFamily:descFont,fontSize:p.descSize,color:p.descColor,lineHeight:1.5,whiteSpace:\"pre-wrap\"},children:p.description}),p.bullets&&p.bullets.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{marginTop:p.gapDescBullets,display:\"grid\",gap:p.bulletGap,fontFamily:bulletFont,color:p.bulletColor},children:p.bullets.map((b,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:p.bulletDotSize,height:p.bulletDotSize,borderRadius:\"50%\",background:p.bulletColor,flexShrink:0}}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:p.bulletSize,lineHeight:1.5},children:b})]},i))})]})]})});}SimpleModuleCard.defaultProps={width:800,isOpen:false,closedHeight:120,subtitle:\"M\\xf3dulo 1\",title:\"Fundamentos de Unreal & Dominio de la interfaz\",description:\"Mu\\xe9vete con soltura en Unreal comprendiendo sus aplicaciones en la industria y el potencial del motor en cine, animaci\\xf3n y videojuegos.\",bullets:[\"Domina el Viewport, Content Browser, World Outliner y Details.\",\"Comprende la gesti\\xf3n de paneles y las herramientas de manipulaci\\xf3n.\",\"Domina las herramientas de visualizaci\\xf3n.\",\"Aprende a ser eficaz y aprende workflows profesionales.\"],titleFontChoice:\"Inter\",titleCustomFont:\"\",titleColor:\"#FFFFFF\",titleSize:28,subtitleFontChoice:\"IBM Plex Mono\",subtitleCustomFont:\"\",subtitleColor:\"rgba(255,255,255,0.9)\",subtitleSize:18,descFontChoice:\"System\",descCustomFont:\"\",descColor:\"rgba(255,255,255,0.9)\",descSize:18,bulletFontChoice:\"System\",bulletCustomFont:\"\",bulletColor:\"rgba(255,255,255,0.95)\",bulletSize:18,bulletDotSize:6,padding:24,gapTitleLines:6,gapTitleDesc:16,gapDescBullets:18,bulletGap:14};addPropertyControls(SimpleModuleCard,{isOpen:{type:ControlType.Boolean,title:\"Open (variant)\"},closedHeight:{type:ControlType.Number,title:\"Closed Height\",min:60,max:400},subtitle:{type:ControlType.String,title:\"Subtitle (Module #)\"},title:{type:ControlType.String,title:\"Title\"},description:{type:ControlType.String,title:\"Description\"},bullets:{type:ControlType.Array,title:\"Bullets\",propertyControl:{type:ControlType.String,placeholder:\"Bullet…\"}},titleFontChoice:{type:ControlType.Enum,title:\"Title Font\",options:[\"Inter\",\"IBM Plex Mono\",\"System\",\"Custom\"]},titleCustomFont:{type:ControlType.String,title:\"Custom Title Font\",hidden:p=>p.titleFontChoice!==\"Custom\"},titleColor:{type:ControlType.Color,title:\"Title Color\"},titleSize:{type:ControlType.Number,title:\"Title Size\",min:10,max:64},subtitleFontChoice:{type:ControlType.Enum,title:\"Subtitle Font\",options:[\"Inter\",\"IBM Plex Mono\",\"System\",\"Custom\"]},subtitleCustomFont:{type:ControlType.String,title:\"Custom Subtitle Font\",hidden:p=>p.subtitleFontChoice!==\"Custom\"},subtitleColor:{type:ControlType.Color,title:\"Subtitle Color\"},subtitleSize:{type:ControlType.Number,title:\"Subtitle Size\",min:8,max:48},descFontChoice:{type:ControlType.Enum,title:\"Desc Font\",options:[\"Inter\",\"IBM Plex Mono\",\"System\",\"Custom\"]},descCustomFont:{type:ControlType.String,title:\"Custom Desc Font\",hidden:p=>p.descFontChoice!==\"Custom\"},descColor:{type:ControlType.Color,title:\"Desc Color\"},descSize:{type:ControlType.Number,title:\"Desc Size\",min:8,max:48},bulletFontChoice:{type:ControlType.Enum,title:\"Bullet Font\",options:[\"Inter\",\"IBM Plex Mono\",\"System\",\"Custom\"]},bulletCustomFont:{type:ControlType.String,title:\"Custom Bullet Font\",hidden:p=>p.bulletFontChoice!==\"Custom\"},bulletColor:{type:ControlType.Color,title:\"Bullet Color\"},bulletSize:{type:ControlType.Number,title:\"Bullet Size\",min:8,max:40},bulletDotSize:{type:ControlType.Number,title:\"Dot Size\",min:2,max:20},padding:{type:ControlType.Number,title:\"Padding (All)\",min:0,max:64},gapTitleLines:{type:ControlType.Number,title:\"Gap: Subtitle→Title\",min:0,max:64},gapTitleDesc:{type:ControlType.Number,title:\"Gap: Title→Desc\",min:0,max:64},gapDescBullets:{type:ControlType.Number,title:\"Gap: Desc→Bullets\",min:0,max:64},bulletGap:{type:ControlType.Number,title:\"Gap: Between Bullets\",min:0,max:64}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SimpleModuleCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ModuleCard01.map"],"mappings":"+TACyb,SAAwB,EAAiB,EAAE,CAAC,IAAM,EAAU,EAAYA,EAAE,gBAAgBA,EAAE,gBAAgB,CAAO,EAAa,EAAYA,EAAE,mBAAmBA,EAAE,mBAAmB,CAAO,EAAS,EAAYA,EAAE,eAAeA,EAAE,eAAe,CAAO,EAAW,EAAYA,EAAE,iBAAiBA,EAAE,iBAAiB,CAAO,EAAS,CAAC,OAAO,CAAC,OAAOA,EAAE,aAAa,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,OAAoB,EAAK,EAAO,IAAI,CAAC,QAAQA,EAAE,OAAO,OAAO,SAAS,QAAQA,EAAE,OAAO,OAAO,SAAkB,WAAS,MAAM,CAAC,MAAM,OAAO,UAAU,aAAa,WAAW,cAAc,QAAQA,EAAE,QAAQ,SAAS,SAAS,CAAC,SAAsB,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,cAAc,SAAS,eAAeA,EAAE,OAAO,aAAa,SAAS,OAAO,OAAO,CAAC,SAAS,CAAc,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,cAAc,SAAS,IAAIA,EAAE,cAAc,WAAW,aAAa,CAAC,SAAS,CAACA,EAAE,UAAuB,EAAK,MAAM,CAAC,MAAM,CAAC,WAAW,EAAa,SAASA,EAAE,aAAa,MAAMA,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