{"version":3,"file":"controlTextStyles.nrB24A0L.mjs","names":["__esmMin","PRESERVE_CONTROL_NEWLINES","init_controlTextStyles"],"sources":["https:/framerusercontent.com/modules/CNPLH4t8nkAxLIcwFNGN/J75bdCXAUNRxXgufb2B5/controlTextStyles.js"],"sourcesContent":["export const PRESERVE_CONTROL_NEWLINES={whiteSpace:\"pre-line\"};export const PRESERVE_CONTROL_NEWLINES_BREAKABLE={...PRESERVE_CONTROL_NEWLINES,overflowWrap:\"break-word\"};const ZERO_WIDTH_CHARACTERS=/[\\u200B-\\u200D\\u2060\\uFEFF]/g;export function isNonEmptyControlString(value){return typeof value===\"string\"&&/\\S/.test(value.replace(ZERO_WIDTH_CHARACTERS,\"\"));}export function trimControlString(value){if(!isNonEmptyControlString(value)){return\"\";}return value.replace(ZERO_WIDTH_CHARACTERS,\"\").trim();}// recompile: 1791547021955\n\nexport const __FramerMetadata__ = {\"exports\":{\"trimControlString\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PRESERVE_CONTROL_NEWLINES_BREAKABLE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isNonEmptyControlString\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PRESERVE_CONTROL_NEWLINES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./controlTextStyles.map"],"mappings":"A,wFAAa,EAA0B,CAAC,WAAW,UAAU,EAAiF,CAA7B,GAAGC,CAAuC,C"}