{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/Zm5Q4yOMzMyCbH5yyETS/kWm1fxJe1KHgEyJH6PAK/Video_vimeo.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 VimeoConsentVideo(props){const{vimeoId,fontSize,textColor,backgroundColor,fontFamily,buttonColor,buttonTextColor,noticeText,buttonText}=props;const[showVideo,setShowVideo]=useState(false);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",maxWidth:\"800px\",margin:\"0 auto\"},children:showVideo?/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"450px\"},children:/*#__PURE__*/_jsx(\"iframe\",{src:`https://player.vimeo.com/video/${vimeoId}?autoplay=1`,style:{width:\"100%\",height:\"100%\",border:0},frameBorder:\"0\",allow:\"autoplay; fullscreen\",allowFullScreen:true,title:\"Vimeo Video\"})}):/*#__PURE__*/_jsxs(\"div\",{style:{backgroundColor,padding:\"2rem\",textAlign:\"center\",borderRadius:\"12px\",fontSize,color:textColor,fontFamily},children:[/*#__PURE__*/_jsx(\"p\",{children:noticeText}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>setShowVideo(true),style:{marginTop:\"1rem\",padding:\"0.75rem 1.5rem\",fontSize:\"1rem\",backgroundColor:buttonColor,color:buttonTextColor,border:\"none\",borderRadius:\"8px\",cursor:\"pointer\",fontFamily},children:buttonText})]})});}// \uD83C\uDF9B\uFE0F Framer UI Controls (ohne Aspect Ratio)\naddPropertyControls(VimeoConsentVideo,{vimeoId:{title:\"Vimeo ID\",type:ControlType.String,defaultValue:\"123456789\"},noticeText:{title:\"Hinweistext\",type:ControlType.String,defaultValue:\"Zum Schutz deiner Daten ist dieses Vimeo-Video deaktiviert. Mit dem Klick auf \u201EVideo laden\u201C willigst du ein, dass Daten an Vimeo \\xfcbermittelt werden.\"},buttonText:{title:\"Button-Text\",type:ControlType.String,defaultValue:\"Video laden\"},fontSize:{title:\"Schriftgr\\xf6\\xdfe\",type:ControlType.Number,min:12,max:32,unit:\"px\",defaultValue:16},fontFamily:{title:\"Schriftart\",type:ControlType.String,defaultValue:\"sans-serif\"},textColor:{title:\"Textfarbe\",type:ControlType.Color,defaultValue:\"#000000\"},backgroundColor:{title:\"Hintergrund\",type:ControlType.Color,defaultValue:\"#eeeeee\"},buttonColor:{title:\"Buttonfarbe\",type:ControlType.Color,defaultValue:\"#1ab7ea\"},buttonTextColor:{title:\"Button-Textfarbe\",type:ControlType.Color,defaultValue:\"#ffffff\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VimeoConsentVideo\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Video_vimeo.map"],
  "mappings": "qEAAwJ,SAARA,EAAmCC,EAAM,CAAC,GAAK,CAAC,QAAAC,EAAQ,SAAAC,EAAS,UAAAC,EAAU,gBAAAC,EAAgB,WAAAC,EAAW,YAAAC,EAAY,gBAAAC,EAAgB,WAAAC,EAAW,WAAAC,CAAU,EAAET,EAAW,CAACU,EAAUC,CAAY,EAAEC,EAAS,EAAK,EAAE,OAAoBC,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,SAAS,QAAQ,OAAO,QAAQ,EAAE,SAASH,EAAuBG,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,EAAE,SAAsBA,EAAK,SAAS,CAAC,IAAI,kCAAkCZ,CAAO,cAAc,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,OAAO,CAAC,EAAE,YAAY,IAAI,MAAM,uBAAuB,gBAAgB,GAAK,MAAM,aAAa,CAAC,CAAC,CAAC,EAAea,EAAM,MAAM,CAAC,MAAM,CAAC,gBAAAV,EAAgB,QAAQ,OAAO,UAAU,SAAS,aAAa,OAAO,SAAAF,EAAS,MAAMC,EAAU,WAAAE,CAAU,EAAE,SAAS,CAAcQ,EAAK,IAAI,CAAC,SAASL,CAAU,CAAC,EAAeK,EAAK,SAAS,CAAC,QAAQ,IAAIF,EAAa,EAAI,EAAE,MAAM,CAAC,UAAU,OAAO,QAAQ,iBAAiB,SAAS,OAAO,gBAAgBL,EAAY,MAAMC,EAAgB,OAAO,OAAO,aAAa,MAAM,OAAO,UAAU,WAAAF,CAAU,EAAE,SAASI,CAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CACnrCM,EAAoBhB,EAAkB,CAAC,QAAQ,CAAC,MAAM,WAAW,KAAKiB,EAAY,OAAO,aAAa,WAAW,EAAE,WAAW,CAAC,MAAM,cAAc,KAAKA,EAAY,OAAO,aAAa,mKAAyJ,EAAE,WAAW,CAAC,MAAM,cAAc,KAAKA,EAAY,OAAO,aAAa,aAAa,EAAE,SAAS,CAAC,MAAM,qBAAqB,KAAKA,EAAY,OAAO,IAAI,GAAG,IAAI,GAAG,KAAK,KAAK,aAAa,EAAE,EAAE,WAAW,CAAC,MAAM,aAAa,KAAKA,EAAY,OAAO,aAAa,YAAY,EAAE,UAAU,CAAC,MAAM,YAAY,KAAKA,EAAY,MAAM,aAAa,SAAS,EAAE,gBAAgB,CAAC,MAAM,cAAc,KAAKA,EAAY,MAAM,aAAa,SAAS,EAAE,YAAY,CAAC,MAAM,cAAc,KAAKA,EAAY,MAAM,aAAa,SAAS,EAAE,gBAAgB,CAAC,MAAM,mBAAmB,KAAKA,EAAY,MAAM,aAAa,SAAS,CAAC,CAAC",
  "names": ["VimeoConsentVideo", "props", "vimeoId", "fontSize", "textColor", "backgroundColor", "fontFamily", "buttonColor", "buttonTextColor", "noticeText", "buttonText", "showVideo", "setShowVideo", "ye", "p", "u", "addPropertyControls", "ControlType"]
}
