"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=Edit;const element_1=require("@wordpress/element"),block_templates_1=require("@woocommerce/block-templates"),notice_1=require("../../../components/notice"),sanitize_html_1=require("../../../utils/sanitize-html");function Edit({attributes:e}){const t=(0,block_templates_1.useWooBlockProps)(e);return(0,element_1.createElement)("div",{...t},(0,element_1.createElement)(notice_1.Notice,{content:(0,element_1.createElement)("div",{dangerouslySetInnerHTML:(0,sanitize_html_1.sanitizeHTML)(e.message)})}))}