"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const element_1=require("@wordpress/element"),block_editor_1=require("@wordpress/block-editor"),core_data_1=require("@wordpress/core-data"),attributes_1=require("../../components/attributes/attributes");function Edit(){const[e,t]=(0,core_data_1.useEntityProp)("postType","product","attributes"),r=(0,core_data_1.useEntityId)("postType","product"),o=(0,block_editor_1.useBlockProps)();return(0,element_1.createElement)("div",{...o},(0,element_1.createElement)(attributes_1.Attributes,{productId:r,value:e,onChange:t}))}exports.Edit=Edit;