(()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var l in o)e.o(o,l)&&!e.o(t,l)&&Object.defineProperty(t,l,{enumerable:!0,get:o[l]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.blocks,o=window.wp.blockEditor,l=window.wp.serverSideRender;var n=e.n(l);const s=window.wp.components,r=JSON.parse('{"UU":"ggmc/paypal-gateway"}'),a=window.ReactJSXRuntime;(0,t.registerBlockType)(r.UU,{edit:({attributes:e,setAttributes:t})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.InspectorControls,{children:(0,a.jsxs)(s.PanelBody,{title:"Content",children:[(0,a.jsx)(s.ToggleControl,{label:"Show Title",checked:"yes"===e.show_title,onChange:e=>t({show_title:e?"yes":""})}),"yes"===e.show_title&&(0,a.jsx)(s.TextControl,{label:"Title",value:e.title_text,onChange:e=>t({title_text:e})}),(0,a.jsx)(s.ToggleControl,{label:"Show Tagline",checked:"yes"===e.show_tagline,onChange:e=>t({show_tagline:e?"yes":""})})]})}),(0,a.jsx)(n(),{block:r.UU,attributes:e})]}),save:()=>null})})();