(()=>{"use strict";const e=window.wp.blocks;function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},t.apply(null,arguments)}const r=window.wp.element,s=window.wp.i18n,o=window.wp.blockEditor,n=JSON.parse('{"UU":"pmpro/account-membership-section"}');(0,e.registerBlockType)(n.UU,{icon:{background:"#FFFFFF",foreground:"#1A688B",src:"groups"},edit:function({attributes:e,setAttributes:n}){const i=(0,o.useBlockProps)({});return[(0,r.createElement)("div",t({className:"pmpro-block-element"},i),(0,r.createElement)("span",{className:"pmpro-block-title"},(0,s.__)("Paid Memberships Pro","paid-memberships-pro")),(0,r.createElement)("span",{className:"pmpro-block-subtitle"},(0,s.__)("Membership Account: My Memberships","paid-memberships-pro")),(0,r.createElement)("input",{placeholder:(0,s.__)("No title will be shown.","paid-memberships-pro"),type:"text",value:e.title,className:"block-editor-plain-text",onChange:e=>{n({title:e.target.value})}}))]}})})();