{"version":3,"file":"shared-lib.DMtxQfDG.mjs","names":["useState","__esmMin","init_npm_react_18_3_1","_e","p","c","init_jsx_runtime","init_framer_DDfsYcI0","addPropertyControls","ControlType","MenuDesplegable","props","open","setOpen","style","iconColor","alignRight","panelWidth","backgroundColor","links","item","textColor","i","init_Menu_desplegable","metadata","init_siteMetadata"],"sources":["https:/framerusercontent.com/modules/saeJrg5YM9Y8cb5XTaM2/p8MRjM9Ml7CEKwDefoBD/Menu_desplegable.js","https:/framerusercontent.com/modules/2q7UUhWv1Rx7szvVoJmk/F7l4YWfz1iJ2GY002seM/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function MenuDesplegable(props){const{links,iconColor,textColor,backgroundColor,fontSize,panelWidth,alignRight,style}=props;const[open,setOpen]=useState(false);return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",display:\"inline-block\",...style},children:[/*#__PURE__*/_jsx(\"button\",{onClick:()=>setOpen(!open),style:{background:\"transparent\",border:\"none\",padding:16,cursor:\"pointer\",display:\"flex\"},children:open?/*#__PURE__*/_jsxs(\"svg\",{width:\"32\",height:\"32\",viewBox:\"0 0 32 32\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"6\",y1:\"6\",x2:\"26\",y2:\"26\",stroke:iconColor,strokeWidth:\"3\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"26\",y1:\"6\",x2:\"6\",y2:\"26\",stroke:iconColor,strokeWidth:\"3\",strokeLinecap:\"round\"})]}):/*#__PURE__*/_jsxs(\"svg\",{width:\"32\",height:\"32\",viewBox:\"0 0 32 32\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"4\",y1:\"8\",x2:\"28\",y2:\"8\",stroke:iconColor,strokeWidth:\"3\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"4\",y1:\"16\",x2:\"28\",y2:\"16\",stroke:iconColor,strokeWidth:\"3\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"4\",y1:\"24\",x2:\"28\",y2:\"24\",stroke:iconColor,strokeWidth:\"3\",strokeLinecap:\"round\"})]})}),/*#__PURE__*/_jsx(\"nav\",{style:{position:\"absolute\",top:\"100%\",left:alignRight?undefined:0,right:alignRight?0:undefined,width:panelWidth,overflow:\"hidden\",background:backgroundColor,zIndex:100,maxHeight:open?600:0,opacity:open?1:0,pointerEvents:open?\"auto\":\"none\",transition:\"max-height 0.3s ease, opacity 0.3s ease\"},children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:16,padding:\"16px 24px\"},children:links.map((item,i)=>/*#__PURE__*/_jsx(\"a\",{href:item.link,onClick:()=>setOpen(false),style:{color:textColor,fontSize:fontSize,textDecoration:\"none\",textTransform:\"uppercase\"},children:item.label},i))})})]});}MenuDesplegable.defaultProps={links:[{label:\"Home\",link:\"/\"},{label:\"Films\",link:\"/films\"},{label:\"About me\",link:\"/sobre-mi\"},{label:\"Contact\",link:\"/contacto\"}],iconColor:\"#F5C542\",textColor:\"#000000\",backgroundColor:\"#FFFFFF\",fontSize:24,panelWidth:220};addPropertyControls(MenuDesplegable,{links:{type:ControlType.Array,title:\"Enlaces\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Texto\"},link:{type:ControlType.Link,title:\"Enlace\"}}}},iconColor:{type:ControlType.Color,title:\"Icono\"},textColor:{type:ControlType.Color,title:\"Texto\"},backgroundColor:{type:ControlType.Color,title:\"Fondo\"},fontSize:{type:ControlType.Number,title:\"Tama\\xf1o\",min:12,max:60},alignRight:{type:ControlType.Boolean,title:\"Alinear derecha\",defaultValue:false},panelWidth:{type:ControlType.Number,title:\"Ancho\",min:120,max:600}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MenuDesplegable\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Menu_desplegable.map","// Generated by Framer (719d853)\nexport default function metadata(params,contentLocale){return{description:\"Ofrezco lo diferente, \\xfanico, de cine, con emociones, nostalgia y con un toque de vintage.\",favicon:\"https://framerusercontent.com/assets/hIe0ILD2Fq0Jj84GlIA2w5QEk.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/jbbnE2GwzTz7R5gOONx1bfFez9Q.png\",title:\"Vide\\xf3grafa de bodas en Tenerife | Visuals PJ\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,iLAAyI,SAAwBU,EAAgB,EAAM,CAAC,GAAK,CAAC,QAAM,YAAU,YAAU,kBAAgB,WAAS,aAAW,aAAW,SAAOC,EAAW,CAACC,EAAKC,GAASb,EAAS,EAAK,EAAE,MAAoB,gBAAM,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,QAAQ,eAAe,GAAGc,CAAK,EAAE,SAAS,CAAc,gBAAK,SAAS,CAAC,YAAYD,EAAQ,CAACD,CAAI,EAAE,MAAM,CAAC,WAAW,cAAc,OAAO,OAAO,QAAQ,GAAG,OAAO,UAAU,QAAQ,MAAM,EAAE,SAASA,EAAkB,gBAAM,MAAM,CAAC,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,SAAS,CAAc,gBAAK,OAAO,CAAC,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,OAAOG,EAAU,YAAY,IAAI,cAAc,OAAO,CAAC,EAAe,gBAAK,OAAO,CAAC,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,OAAOA,EAAU,YAAY,IAAI,cAAc,OAAO,CAA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