{
  "version": 3,
  "sources": ["ssg:https://framer.com/m/framer/Example.js@^1.0.0", "ssg:https://framerusercontent.com/modules/5k6yFEJPznpmNP4UAvtR/71gXFi0kLnbyjYOaZrrq/Truncate.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState}from\"react\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";// Welcome to Code in Framer\n// Get Started: https://www.framer.com/docs/guides/\n/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/docs/guides/auto-sizing\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */ export default function Example(props){const{tint,style}=props;const[active,setActive]=useState(false);return(/*#__PURE__*/ _jsx(motion.div,{style:{...style,...containerStyle},children:/*#__PURE__*/ _jsx(motion.div,{onTap:()=>setActive(!active),style:{margin:50,padding:75,borderRadius:30,backgroundColor:tint},whileHover:{rotate:90},animate:{scale:active?1.25:1}})}));};Example.defaultProps={tint:\"#09F\"};addPropertyControls(Example,{tint:{title:\"Tint\",type:ControlType.Color}});const containerStyle={height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",overflow:\"hidden\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Example\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Example.map", "// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx}from\"react/jsx-runtime\";import Example from\"https://framer.com/m/framer/Example.js@^1.0.0\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function Truncate(props){// This is a React component containing an Example component\n// - Replace <Example /> with your own code\n// - Find inspiration: https://www.framer.com/developers/\nreturn /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:/*#__PURE__*/_jsx(Example,{})});}// Styles are written in object syntax\n// Learn more: https://reactjs.org/docs/dom-elements.html#style\nconst containerStyle={height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",overflow:\"hidden\"};const truncatedTextPrefix=\"Lines:\"// Prefix the layer name with this to set the line limit\n;export function TruncatedText(Component){return props=>{const name=props[\"data-framer-name\"];if(name===null||name===void 0?void 0:name.startsWith(truncatedTextPrefix)){const lines=name.replace(new RegExp(\"^\"+truncatedTextPrefix),\"\").trim();return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,display:\"-webkit-box\",WebkitLineClamp:lines,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",textOverflow:\"ellipsis\"}});}return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Truncate\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\"}},\"TruncatedText\":{\"type\":\"reactHoc\",\"name\":\"TruncatedText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Truncate.map"],
  "mappings": "uEAQmB,SAARA,EAAyBC,EAAM,CAAC,GAAK,CAAC,KAAAC,EAAK,MAAAC,CAAK,EAAEF,EAAW,CAACG,EAAOC,CAAS,EAAEC,EAAS,EAAK,EAAE,OAAqBC,EAAKC,EAAO,IAAI,CAAC,MAAM,CAAC,GAAGL,EAAM,GAAGM,CAAc,EAAE,SAAuBF,EAAKC,EAAO,IAAI,CAAC,MAAM,IAAIH,EAAU,CAACD,CAAM,EAAE,MAAM,CAAC,OAAO,GAAG,QAAQ,GAAG,aAAa,GAAG,gBAAgBF,CAAI,EAAE,WAAW,CAAC,OAAO,EAAE,EAAE,QAAQ,CAAC,MAAME,EAAO,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAG,CAAEJ,EAAQ,aAAa,CAAC,KAAK,MAAM,EAAEU,EAAoBV,EAAQ,CAAC,KAAK,CAAC,MAAM,OAAO,KAAKW,EAAY,KAAK,CAAC,CAAC,EAAE,IAAMF,EAAe,CAAC,OAAO,OAAO,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,SAAS,QAAQ,ECKle,IAAMG,EAAoB,SACpI,SAASC,EAAcC,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAKD,EAAM,kBAAkB,EAAE,GAAqCC,GAAK,WAAWJ,CAAmB,EAAE,CAAC,IAAMK,EAAMD,EAAK,QAAQ,IAAI,OAAO,IAAIJ,CAAmB,EAAE,EAAE,EAAE,KAAK,EAAE,OAAoBM,EAAKJ,EAAU,CAAC,GAAGC,EAAM,MAAM,CAAC,GAAGA,EAAM,MAAM,QAAQ,cAAc,gBAAgBE,EAAM,gBAAgB,WAAW,SAAS,SAAS,aAAa,UAAU,CAAC,CAAC,CAAE,CAAC,OAAoBC,EAAKJ,EAAU,CAAC,GAAGC,CAAK,CAAC,CAAE,CAAE",
  "names": ["Example", "props", "tint", "style", "active", "setActive", "ye", "p", "motion", "containerStyle", "addPropertyControls", "ControlType", "truncatedTextPrefix", "TruncatedText", "Component", "props", "name", "lines", "p"]
}
