{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/4Kc4busqjXHVhXYPPgzM/4CvNck4ZXioG9QycHGV2/DotLottiePlayer.js"],
  "sourcesContent": ["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/docs/guides/\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{DotLottiePlayer as BaseDotLottiePlayer}from\"https://unpkg.com/@dotlottie/react-player@1.0.1/dist/index.js\";// } from \"https://cdn.jsdelivr.net/npm/@dotlottie/react-player@1.6.9/+esm\"\nimport{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useState,useEffect}from\"react\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/docs/guides/auto-sizing\n *\n * @framerIntrinsicHeight 200\n * @framerIntrinsicWidth 200\n */export default function DotLottiePlayer(props){const[hasMounted,setHasMounted]=useState(false);useEffect(()=>{setHasMounted(true);},[]);return hasMounted?/*#__PURE__*/_jsx(BaseDotLottiePlayer,{src:props.srcTypeToggle?props.srcUrl:props.srcFile,autoplay:RenderTarget.current()===RenderTarget.canvas||props.hover===true||props.autoplay===false?false:true,background:props.background?props.background.toString():\"\",// direction={props.direction || 1}\nloop:props.loop?true:false,speed:props.speed,style:{...containerStyle}},props.srcTypeToggle?props.srcUrl:props.srcFile):null;}// Styles are written in object syntax\n// Learn more: https://reactjs.org/docs/dom-elements.html#style\nconst containerStyle={width:\"100%\",height:\"100%\",display:\"block\",margin:\"0 auto\"};DotLottiePlayer.defaultProps={srcTypeToggle:true,srcUrl:\"https://assets4.lottiefiles.com/packages/lf20_lMdZ2NUeMB.json\",autoplay:true,background:\"#ffffffff\",controls:false,direction:1,hover:true,loop:true,speed:1};addPropertyControls(DotLottiePlayer,{srcTypeToggle:{type:ControlType.Boolean,title:\"Source Type\",enabledTitle:\"URL\",disabledTitle:\"File\"},srcUrl:{type:ControlType.String,title:\"URL\",hidden(props){return props.srcTypeToggle===false;}},srcFile:{type:ControlType.File,allowedFileTypes:[\"lottie\",\"json\"],title:\"Source\",hidden(props){return props.srcTypeToggle===true;}},autoplay:{type:ControlType.Boolean,title:\"Autoplay\"},background:{type:ControlType.Color,title:\"Background\"},controls:{type:ControlType.Boolean,title:\"Controls\"},// direction: {\n//     type: ControlType.Enum,\n//     title: \"Direction\",\n//     defaultValue: \"1\",\n//     displaySegmentedControl: true,\n//     segmentedControlDirection: \"horizontal\",\n//     options: [\"1\", \"-1\"],\n//     optionTitles: [\"Normal\", \"Reverse\"],\n// },\nhover:{type:ControlType.Boolean,title:\"Play on Hover\"},loop:{type:ControlType.Boolean,title:\"Loop\"},speed:{type:ControlType.Number,title:\"Speed\",defaultValue:1,min:1,max:10,unit:\"x\",step:.5,displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DotLottiePlayer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"200\",\"framerIntrinsicWidth\":\"200\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DotLottiePlayer.map"],
  "mappings": "iKAAAA,IASkB,SAARC,EAAiCC,EAAM,CAAC,GAAK,CAACC,EAAWC,CAAa,EAAEC,EAAS,EAAK,EAAE,OAAAC,EAAU,IAAI,CAACF,EAAc,EAAI,CAAE,EAAE,CAAC,CAAC,EAASD,EAAwBI,EAAKC,EAAoB,CAAC,IAAIN,EAAM,cAAcA,EAAM,OAAOA,EAAM,QAAQ,SAAS,EAAAO,EAAa,QAAQ,IAAIA,EAAa,QAAQP,EAAM,QAAQ,IAAMA,EAAM,WAAW,IAAiB,WAAWA,EAAM,WAAWA,EAAM,WAAW,SAAS,EAAE,GAC5Z,KAAK,EAAAA,EAAM,KAAgB,MAAMA,EAAM,MAAM,MAAM,CAAC,GAAGQ,CAAc,CAAC,EAAER,EAAM,cAAcA,EAAM,OAAOA,EAAM,OAAO,EAAE,IAAK,CAE7H,IAAMQ,EAAe,CAAC,MAAM,OAAO,OAAO,OAA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