{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/wKV5Ej9FgciEYk1Ktkvz/2EcXUoPOeCcc1RHa4qI4/Utils.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";export const updateChildren=(children,properties)=>{return[{...children,props:{...children.props,children:{...children.props.children,props:{...children.props.children.props,children:{...children.props.children.props.children,props:{...children.props.children.props.children.props,...properties}}}}}}];};export const SettingsMessage=({title,description,containerStyle})=>{return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",textAlign:\"center\",justifyContent:\"center\",backgroundColor:\"rgba(136, 85, 255, 0.1)\",overflow:\"hidden\",...containerStyle},children:[/*#__PURE__*/_jsx(\"span\",{role:\"img\",\"aria-label\":\"icon\",style:{fontSize:\"32px\"},children:\"\u2728\"}),/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:\"240px\"},children:[/*#__PURE__*/_jsx(\"h1\",{style:{fontSize:11,color:\"#96F\",fontWeight:600},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{fontSize:11,color:\"rgba(153, 102, 255, 0.7)\",lineHeight:1.5},children:description})]})]});};export const isTextOverLimit=(text,maxLength)=>{return text.length>maxLength;};export const truncateText=(text,maxLength)=>{// Verifica se o comprimento do texto \u00E9 maior que o m\u00E1ximo permitido\nif(isTextOverLimit(text,maxLength)){// Corta o texto e adiciona '...' no final\nreturn text.substring(0,maxLength-3)+\"...\";}return text// Retorna o texto original se for menor ou igual ao m\u00E1ximo permitido\n;};\nexport const __FramerMetadata__ = {\"exports\":{\"SettingsMessage\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"truncateText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isTextOverLimit\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateChildren\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Utils.map"],
  "mappings": "yFAAAA,IAAgE,IAAMC,EAAe,CAACC,EAASC,IAAoB,CAAC,CAAC,GAAGD,EAAS,MAAM,CAAC,GAAGA,EAAS,MAAM,SAAS,CAAC,GAAGA,EAAS,MAAM,SAAS,MAAM,CAAC,GAAGA,EAAS,MAAM,SAAS,MAAM,SAAS,CAAC,GAAGA,EAAS,MAAM,SAAS,MAAM,SAAS,MAAM,CAAC,GAAGA,EAAS,MAAM,SAAS,MAAM,SAAS,MAAM,GAAGC,CAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAiBC,EAAgB,CAAC,CAAC,MAAAC,EAAM,YAAAC,EAAY,eAAAC,CAAc,IAAyBC,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,cAAc,SAAS,WAAW,SAAS,UAAU,SAAS,eAAe,SAAS,gBAAgB,0BAA0B,SAAS,SAAS,GAAGD,CAAc,EAAE,SAAS,CAAcE,EAAK,OAAO,CAAC,KAAK,MAAM,aAAa,OAAO,MAAM,CAAC,SAAS,MAAM,EAAE,SAAS,QAAG,CAAC,EAAeD,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,OAAO,EAAE,SAAS,CAAcC,EAAK,KAAK,CAAC,MAAM,CAAC,SAAS,GAAG,MAAM,OAAO,WAAW,GAAG,EAAE,SAASJ,CAAK,CAAC,EAAeI,EAAK,IAAI,CAAC,MAAM,CAAC,SAAS,GAAG,MAAM,2BAA2B,WAAW,GAAG,EAAE,SAASH,CAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAiBI,EAAgB,CAACC,EAAKC,IAAoBD,EAAK,OAAOC,EAAyBC,EAAa,CAACF,EAAKC,IAC/mCF,EAAgBC,EAAKC,CAAS,EAC1BD,EAAK,UAAU,EAAEC,EAAU,CAAC,EAAE,MAAcD",
  "names": ["init_ssg_sandbox_shims", "updateChildren", "children", "properties", "SettingsMessage", "title", "description", "containerStyle", "u", "p", "isTextOverLimit", "text", "maxLength", "truncateText"]
}
