!function(){"use strict";var e,r,t,o,n,i,c,s,p={7005:function(e,r,t){var o=t(1609),n=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),c=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};r.jsx=function(e,r,t){var o,p={},a=null,w=null;for(o in void 0!==t&&(a=""+t),void 0!==r.key&&(a=""+r.key),void 0!==r.ref&&(w=r.ref),r)i.call(r,o)&&!s.hasOwnProperty(o)&&(p[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===p[o]&&(p[o]=r[o]);return{$$typeof:n,type:e,key:a,ref:w,props:p,_owner:c.current}}},9255:function(e,r,t){e.exports=t(7005)},1609:function(e){e.exports=window.React}},a={};e=window.wp.blocks,r=window.wp.primitives,t=function e(r){var t=a[r];if(void 0!==t)return t.exports;var o=a[r]={exports:{}};return p[r](o,o.exports,e),o.exports}(9255),o=(0,t.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,t.jsx)(r.Path,{d:"M4 6h12V4.5H4V6Zm16 4.5H4V9h16v1.5ZM4 15h16v-1.5H4V15Zm0 4.5h16V18H4v1.5Z"})}),n=window.wp.blockEditor,i=window.wp.i18n,c=window.wp.coreData,s=JSON.parse('{"UU":"surecart/price-name"}'),(0,e.registerBlockType)(s.UU,{edit:e=>{let{context:r}=e;const t=(0,n.useBlockProps)(),{name:o}=r["surecart/price"],{record:s}=(0,c.useEntityRecord)("postType","sc_product",r?.postId);return React.createElement("div",t,o||s?.title?.raw||(0,i.__)("Price Name","surecart"))},icon:o})}();