"use strict";var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(e,t)=>{for(var o in t)__defProp(e,o,{get:t[o],enumerable:!0})},__copyProps=(e,t,o,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let _ of __getOwnPropNames(t))__hasOwnProp.call(e,_)||_===o||__defProp(e,_,{get:()=>t[_],enumerable:!(r=__getOwnPropDesc(t,_))||r.enumerable});return e},__toCommonJS=e=>__copyProps(__defProp({},"__esModule",{value:!0}),e),edit_exports={};__export(edit_exports,{Edit:()=>Edit}),module.exports=__toCommonJS(edit_exports);var import_element=require("@wordpress/element"),import_block_templates=require("@woocommerce/block-templates"),import_sanitize=require("@woocommerce/sanitize"),import_notice=require("../../../components/notice");function Edit({attributes:e}){const t=(0,import_block_templates.useWooBlockProps)(e);return(0,import_element.createElement)("div",{...t},(0,import_element.createElement)(import_notice.Notice,{content:(0,import_element.createElement)("div",{dangerouslySetInnerHTML:{__html:(0,import_sanitize.sanitizeHTML)(e.message)}})}))}