{
  "version": 3,
  "sources": ["ssg:https://framer.com/m/Modal-TNvU.js@Jq5MM9DEP9LuttDD6FhO"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";function Backdrop({onClick,children}){return /*#__PURE__*/ _jsx(motion.div,{style:{position:\"fixed\",inset:0,background:\"rgba(0,0,0,0.2)\",zIndex:15},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:onClick,children:children});}export default function Modal(props){return /*#__PURE__*/ _jsx(Backdrop,{onClick:()=>{props.closeModal();},children:/*#__PURE__*/ _jsxs(motion.div,{style:styles.modalBody,onClick:e=>e.stopPropagation(),children:[/*#__PURE__*/ _jsx(\"header\",{style:styles.modalHeader,children:props.title}),/*#__PURE__*/ _jsx(\"div\",{style:styles.modalContent,children:props.renderModalContent()}),/*#__PURE__*/ _jsx(\"div\",{style:styles.modalButtonWrapper,children:/*#__PURE__*/ _jsx(motion.button,{type:\"button\",onClick:props.closeModal,whileHover:{backgroundColor:\"#2032e1\"},style:{...styles.button,width:\"80px\"},children:\"OK\"})})]})});};const styles={button:{display:\"flex\",height:\"100%\",justifyContent:\"center\",alignItems:\"center\",width:\"120px\",fontSize:\"15px\",fontWeight:\"500\",WebkitFontSmoothing:\"antialiased\",border:\"none\",outline:\"none\",fontFamily:\"-apple-system, system-ui\",padding:\"0px 16px\",backgroundColor:\"rgb(40, 60, 250)\",color:\"rgb(255, 255, 255)\",borderRadius:\"100px\",cursor:\"pointer\"},modalHeader:{fontSize:\"22px\",fontWeight:\"600\",lineHeight:\"1.5\",marginBottom:\"8px\"},modalBody:{position:\"absolute\",top:\"50%\",left:\"50%\",transform:\"translate(-50%,-50%)\",width:\"400px\",color:\"white\",padding:\"32px\",fontSize:\"16px\",fontWeight:\"400\",lineHeight:\"1.5\",background:\"#1b1b1b\",borderRadius:\"24px\",boxShadow:\"0 4px 25px 0 rgba(0, 0, 0, 0.15)\",outline:\"none\"},modalContent:{fontSize:\"16px\",fontWeight:\"400\",lineHeight:\"1.5\",marginBottom:\"16px\"},modalButtonWrapper:{display:\"flex\",height:\"40px\",justifyContent:\"center\",paddingBottom:\"8px\"}};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Modal\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Modal.map"],
  "mappings": "uDAA2F,SAASA,EAAS,CAAC,QAAAC,EAAQ,SAAAC,CAAQ,EAAE,CAAC,OAAqBC,EAAKC,EAAO,IAAI,CAAC,MAAM,CAAC,SAAS,QAAQ,MAAM,EAAE,WAAW,kBAAkB,OAAO,EAAE,EAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,QAAQH,EAAQ,SAASC,CAAQ,CAAC,CAAE,CAAgB,SAARG,EAAuBC,EAAM,CAAC,OAAqBH,EAAKH,EAAS,CAAC,QAAQ,IAAI,CAACM,EAAM,WAAW,CAAE,EAAE,SAAuBC,EAAMH,EAAO,IAAI,CAAC,MAAMI,EAAO,UAAU,QAAQC,GAAGA,EAAE,gBAAgB,EAAE,SAAS,CAAeN,EAAK,SAAS,CAAC,MAAMK,EAAO,YAAY,SAASF,EAAM,KAAK,CAAC,EAAgBH,EAAK,MAAM,CAAC,MAAMK,EAAO,aAAa,SAASF,EAAM,mBAAmB,CAAC,CAAC,EAAgBH,EAAK,MAAM,CAAC,MAAMK,EAAO,mBAAmB,SAAuBL,EAAKC,EAAO,OAAO,CAAC,KAAK,SAAS,QAAQE,EAAM,WAAW,WAAW,CAAC,gBAAgB,SAAS,EAAE,MAAM,CAAC,GAAGE,EAAO,OAAO,MAAM,MAAM,EAAE,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAE,IAAMA,EAAO,CAAC,O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