(()=>{"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 n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.blocks,o=window.wp.blockEditor,n=window.wp.serverSideRender;var s=e.n(n);const l=window.wp.components,r=JSON.parse('{"UU":"ggmc/stripe-gateway"}'),i=window.ReactJSXRuntime;(0,t.registerBlockType)(r.UU,{edit:({attributes:e,setAttributes:t})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.InspectorControls,{children:(0,i.jsxs)(l.PanelBody,{title:"Content",children:[(0,i.jsx)(l.ToggleControl,{label:"Show Title",checked:"yes"===e.show_title,onChange:e=>t({show_title:e?"yes":""})}),"yes"===e.show_title&&(0,i.jsx)(l.TextControl,{label:"Title",value:e.title_text,onChange:e=>t({title_text:e})}),(0,i.jsx)(l.ToggleControl,{label:"Show Payment Icons",checked:"yes"===e.show_icons,onChange:e=>t({show_icons:e?"yes":""})})]})}),(0,i.jsx)(s(),{block:r.UU,attributes:e})]}),save:()=>null})})();