{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/bWVSNjhWpulCohsDxOvn/goZpdMwZbD8279r0q9Ed/TestimonialPlayer.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,animate:{rotate:90},transition:{duration:2}});};}export function withOnClick(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{const thumbnail=document.getElementById(\"home-testimonial-thumbnail\");if(thumbnail){// Remove the thumbnail\nthumbnail.style.display=\"none\";}// Get video and play video\nconst video=document.querySelector(\"#home-testimonial-video video\");if(video){video.controls=true;video.muted=false;video.play();}else{console.warn(\"Could not find a video element in\");}}});};}export function withHover(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,whileHover:{scale:1.05}});};}export function withRandomColor(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withOnClick\":{\"type\":\"reactHoc\",\"name\":\"withOnClick\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TestimonialPlayer.map"],
  "mappings": "kFACA,IAAMA,EAASC,EAAY,CAAC,WAAW,SAAS,CAAC,EAA4J,SAASC,EAAYC,EAAU,CAAC,OAAOC,GAA4BC,EAAKF,EAAU,CAAC,GAAGC,EAAM,QAAQ,IAAI,CAAC,IAAME,EAAU,SAAS,eAAe,4BAA4B,EAAKA,IAC/XA,EAAU,MAAM,QAAQ,QACxB,IAAMC,EAAM,SAAS,cAAc,+BAA+B,EAAKA,GAAOA,EAAM,SAAS,GAAKA,EAAM,MAAM,GAAMA,EAAM,KAAK,GAAQ,QAAQ,KAAK,mCAAmC,CAAG,CAAC,CAAC,CAAI",
  "names": ["useStore", "createStore", "withOnClick", "Component", "props", "p", "thumbnail", "video"]
}
