{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/NfVWKYDCYQ01CvnXMb6L/AgjtTz5V3AjcEXMdSmLE/Testimonials.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function TestimonialWidget(){// Set default initialCount to 20\nconst[initialCount,setInitialCount]=useState(12);useEffect(()=>{// Check the window width and update the testimonial count accordingly\nif(window.innerWidth<768){setInitialCount(6);}},[]);useEffect(()=>{// Dynamically load the iFrameResizer library\nconst script=document.createElement(\"script\");script.src=\"https://testimonial.to/js/iframeResizer.min.js\";script.async=true;script.onload=()=>{if(window.iFrameResize){window.iFrameResize({log:false,checkOrigin:false},\"#testimonialto-uniti-ai-tag-all-light\");}};document.body.appendChild(script);// Clean up the script when the component unmounts\nreturn()=>{document.body.removeChild(script);};},[]);// Build the src URL dynamically based on the initialCount state\nconst srcUrl=`https://embed-v2.testimonial.to/w/uniti-ai?theme=light&card=base&loadMore=on&initialCount=${initialCount}&tag=all&cc=off`;return /*#__PURE__*/_jsx(\"iframe\",{id:\"testimonialto-uniti-ai-tag-all-light\",src:srcUrl,frameBorder:\"0\",scrolling:\"no\",width:\"100%\",style:{minHeight:\"500px\",border:\"none\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"TestimonialWidget\":{\"type\":\"reactComponent\",\"name\":\"TestimonialWidget\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Testimonials.map"],
  "mappings": "gGAAwF,SAASA,GAAmB,CACpH,GAAK,CAACC,EAAaC,CAAe,EAAEC,EAAS,EAAE,EAAEC,EAAU,IAAI,CAC5DC,EAAO,WAAW,KAAKH,EAAgB,CAAC,CAAG,EAAE,CAAC,CAAC,EAAEE,EAAU,IAAI,CAClE,IAAME,EAAO,SAAS,cAAc,QAAQ,EAAE,OAAAA,EAAO,IAAI,iDAAiDA,EAAO,MAAM,GAAKA,EAAO,OAAO,IAAI,CAAID,EAAO,cAAcA,EAAO,aAAa,CAAC,IAAI,GAAM,YAAY,EAAK,EAAE,uCAAuC,CAAG,EAAE,SAAS,KAAK,YAAYC,CAAM,EAC/R,IAAI,CAAC,SAAS,KAAK,YAAYA,CAAM,CAAE,CAAE,EAAE,CAAC,CAAC,EACnD,IAAMC,EAAO,6FAA6FN,CAAY,kBAAkB,OAAoBO,EAAK,SAAS,CAAC,GAAG,uCAAuC,IAAID,EAAO,YAAY,IAAI,UAAU,KAAK,MAAM,OAAO,MAAM,CAAC,UAAU,QAAQ,OAAO,MAAM,CAAC,CAAC,CAAE",
  "names": ["TestimonialWidget", "initialCount", "setInitialCount", "ye", "ue", "window", "script", "srcUrl", "p"]
}
