{"version":3,"file":"Examples.CLDSjm-F.mjs","names":["t.useEffect","o"],"sources":["https:/framerusercontent.com/modules/I6dpgYRRdaryNU1PJjSY/j0sUnIRCrvGUppVwcq0N/Examples.js"],"sourcesContent":["import{jsx as r}from\"react/jsx-runtime\";import*as t from\"react\";import{createStore as o}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor as e}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nlet a=o({background:\"#0099FF\",ccpaApplies:!1});export function withRotate(t){return o=>/*#__PURE__*/r(t,{...o,animate:{rotate:90},transition:{duration:2}});}export function withHover(t){return o=>/*#__PURE__*/r(t,{...o,whileHover:{scale:1.05}});}export function withRandomColor(t){return o=>{let[n,i]=a();return /*#__PURE__*/r(t,{...o,animate:{background:n.background},onClick:()=>{i({background:e()});}});};}export function withCCPAModal(o){return e=>{let[n,i]=a();return(t.useEffect(()=>{window.__uspapi&&window.__uspapi(\"getUSPData\",1,(r,t)=>{// console.log(success)\n// console.log(\"uspData\", uspData)\n// setStore({ ccpaApplies: true })\n-1===JSON.stringify(r).indexOf(\"---\")&&i({ccpaApplies:!0});});},[]),n.ccpaApplies)?/*#__PURE__*/r(o,{...e,onClick:r=>{r.preventDefault(),window._sp_.ccpa&&window._sp_.ccpa.loadPrivacyManagerModal(648743);}}):null;};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCCPAModal\":{\"type\":\"reactHoc\",\"name\":\"withCCPAModal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],"mappings":"gTACyZ,SAAgB,EAAc,EAAE,CAAC,MAAO,IAAG,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,OAAOA,MAAgB,CAAC,EAAO,UAAU,EAAO,SAAS,aAAa,GAAG,EAAE,IAAI,CAG5hB,KAAK,UAAU,EAAE,CAAC,QAAQ,MAAM,GAArC,IAAuC,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,EAAG,EAAG,EAAE,CAAC,CAAC,EAAE,YAA0B,EAAE,EAAE,CAAC,GAAG,EAAE,QAAQ,GAAG,CAAC,EAAE,gBAAgB,CAAC,EAAO,KAAK,MAAM,EAAO,KAAK,KAAK,wBAAwB,OAAO,EAAG,CAAC,CAAC,6BAJxK,IAAwB,IAA0E,IAA0E,CAChN,EAAEC,EAAE,CAAC,WAAW,UAAU,YAAY,CAAC,EAAE,CAAC"}