{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/yE0b0hlG3VS4LJFTDOlw/KwXZEo7gJXkGfAGhvwUR/Cropped_Text_1.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,motion}from\"framer\";// This is the custom text cropping component for Framer\nexport function CroppedTextComponent({text,textColor,textSize,cropHeight,textAlign}){// Splitting the text into individual letters\nconst letters=text.split(\"\");return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:`${cropHeight}px`,overflow:\"hidden\",position:\"relative\",display:\"flex\",justifyContent:textAlign===\"left\"?\"flex-start\":textAlign===\"right\"?\"flex-end\":\"center\",alignItems:\"flex-start\",userSelect:\"none\",cursor:\"default\"},children:letters.map((letter,index)=>/*#__PURE__*/_jsx(motion.span,{style:{whiteSpace:\"nowrap\",fontSize:`${textSize}vw`,color:textColor,fontFamily:\"sans-serif\",fontWeight:\"bold\",textTransform:\"uppercase\",lineHeight:\"1\",display:\"inline-block\",transform:`translateY(calc(100% - ${cropHeight}px))`,transformOrigin:\"bottom\",userSelect:\"none\",cursor:\"default\"},initial:{scaleY:1},whileHover:{scaleY:.7},onTap:{scaleY:.7},transition:{type:\"spring\",stiffness:100,damping:40},children:letter},index))});}// Setting up property controls for Framer's UI\naddPropertyControls(CroppedTextComponent,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"MoodWare\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},textSize:{type:ControlType.Number,title:\"Text Size (vw)\",defaultValue:15,min:1,max:50},cropHeight:{type:ControlType.Number,title:\"Crop Height (px)\",defaultValue:100,min:10,max:300},textAlign:{type:ControlType.Enum,title:\"Text Align\",defaultValue:\"center\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"CroppedTextComponent\":{\"type\":\"reactComponent\",\"name\":\"CroppedTextComponent\",\"slots\":[],\"annotations\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