(()=>{"use strict";var e,n={644:()=>{const e=window.wp.blocks,n=window.wp.components,o=window.wp.blockEditor,t=window.wp.i18n,r=window.ReactJSXRuntime,l=JSON.parse('{"UU":"pronamic/form-checkbox-option"}');(0,e.registerBlockType)(l.UU,{icon:((e,o=24,t=24,l="0 0 24 24")=>(0,r.jsxs)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:o,height:t,viewBox:l,children:[(0,r.jsx)(n.Path,{fill:"none",d:"M0 0h24v24H0V0z",className:"icon-filler"}),e]}))((0,r.jsx)(n.Path,{d:"M5.5 10.5H8.5V13.5H5.5V10.5ZM8.5 9H5.5C4.67157 9 4 9.67157 4 10.5V13.5C4 14.3284 4.67157 15 5.5 15H8.5C9.32843 15 10 14.3284 10 13.5V10.5C10 9.67157 9.32843 9 8.5 9ZM12 12.75H20V11.25H12V12.75Z"})),edit:({attributes:e,setAttributes:l})=>{const a=(0,o.useBlockProps)();return(0,r.jsxs)("div",{...a,children:[(0,r.jsx)(o.InspectorControls,{children:(0,r.jsxs)(n.PanelBody,{title:(0,t.__)("Settings","pronamic-pay-doneren-met-mollie"),children:[(0,r.jsx)(n.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,autoComplete:"off",label:(0,t.__)("Value"),value:e.value,onChange:e=>{l({value:e})}}),(0,r.jsx)(n.__experimentalNumberControl,{label:(0,t.__)("Payment amount","pronamic-pay-doneren-met-mollie"),onChange:e=>l({paymentAmount:e}),value:e.paymentAmount,spinControls:"none",prefix:(0,r.jsx)(n.__experimentalInputControlPrefixWrapper,{children:"€ "})})]})}),(0,r.jsx)("input",{className:"wp-block-pronamic-form-control__element",type:"checkbox",tabIndex:"-1",checked:e.checked}),(0,r.jsx)(o.RichText,{identifier:"label",tagName:"label",value:e.label,onChange:e=>l({label:e}),placeholder:(0,t.__)("Enter label…","pronamic-pay-doneren-met-mollie")})]})},save({attributes:e}){const n=o.useBlockProps.save();return(0,r.jsxs)("div",{...n,children:[(0,r.jsx)("input",{className:"wp-block-pronamic-form-control__element",checked:e.checked,name:e.name,value:e.value,type:"checkbox"}),(0,r.jsx)(o.RichText.Content,{tagName:"label",value:e.label})]})}})}},o={};function t(e){var r=o[e];if(void 0!==r)return r.exports;var l=o[e]={exports:{}};return n[e](l,l.exports,t),l.exports}t.m=n,e=[],t.O=(n,o,r,l)=>{if(!o){var a=1/0;for(p=0;p<e.length;p++){for(var[o,r,l]=e[p],i=!0,s=0;s<o.length;s++)(!1&l||a>=l)&&Object.keys(t.O).every(e=>t.O[e](o[s]))?o.splice(s--,1):(i=!1,l<a&&(a=l));if(i){e.splice(p--,1);var c=r();void 0!==c&&(n=c)}}return n}l=l||0;for(var p=e.length;p>0&&e[p-1][2]>l;p--)e[p]=e[p-1];e[p]=[o,r,l]},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={724:0,748:0};t.O.j=n=>0===e[n];var n=(n,o)=>{var r,l,[a,i,s]=o,c=0;if(a.some(n=>0!==e[n])){for(r in i)t.o(i,r)&&(t.m[r]=i[r]);if(s)var p=s(t)}for(n&&n(o);c<a.length;c++)l=a[c],t.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return t.O(p)},o=globalThis.webpackChunk_pronamic_pronamic_pay_doneren_met_mollie=globalThis.webpackChunk_pronamic_pronamic_pay_doneren_met_mollie||[];o.forEach(n.bind(null,0)),o.push=n.bind(null,o.push.bind(o))})();var r=t.O(void 0,[748],()=>t(644));r=t.O(r)})();