'use strict';
import { renderMarkdown } from '../../../fd-toolbox/html/markdown-renderer.js';

var __defProp=Object['defineProperty'],__name=(_0x57f22a,_0x14c66f)=>__defProp(_0x57f22a,'name',{'value':_0x14c66f,'configurable':!![]});function renderPreview(_0x4e6c72,_0x120ff1){const _0xe4a1a9=renderMarkdown(_0x4e6c72)['markdown']['replace'](/<\/?[^>]+(>|$)/g,'');_0x120ff1(_0xe4a1a9);}__name(renderPreview,'renderPreview');function onValueChange(_0x4674b2,_0x51d615,_0x4d6b98){_0x51d615(_0x4674b2),_0x4d6b98?.(_0x4674b2);}__name(onValueChange,'onValueChange');function getPreviewContentId(_0x223ea5){return _0x223ea5+'Preview';}__name(getPreviewContentId,'getPreviewContentId');

export { getPreviewContentId, onValueChange, renderPreview };
