(()=>{"use strict";var e={644(){const e=window.wp.blocks,n=window.wp.components,o=window.wp.blockEditor,t=window.wp.i18n,l=window.ReactJSXRuntime,r=JSON.parse('{"UU":"pronamic/form-checkbox-option"}');(0,e.registerBlockType)(r.UU,{icon:((e,o=24,t=24,r="0 0 24 24")=>(0,l.jsxs)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:o,height:t,viewBox:r,children:[(0,l.jsx)(n.Path,{fill:"none",d:"M0 0h24v24H0V0z",className:"icon-filler"}),e]}))((0,l.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:r})=>{const a=(0,o.useBlockProps)();return(0,l.jsxs)("div",{...a,children:[(0,l.jsx)(o.InspectorControls,{children:(0,l.jsxs)(n.PanelBody,{title:(0,t.__)("Settings","pronamic-pay-doneren-met-mollie"),children:[(0,l.jsx)(n.TextControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,autoComplete:"off",label:(0,t.__)("Value"),value:e.value,onChange:e=>{r({value:e})}}),(0,l.jsx)(n.__experimentalNumberControl,{label:(0,t.__)("Payment amount","pronamic-pay-doneren-met-mollie"),onChange:e=>r({paymentAmount:e}),value:e.paymentAmount,spinControls:"none",prefix:(0,l.jsx)(n.__experimentalInputControlPrefixWrapper,{children:"€ "})})]})}),(0,l.jsx)("input",{className:"wp-block-pronamic-form-control__element",type:"checkbox",tabIndex:"-1",checked:e.checked}),(0,l.jsx)(o.RichText,{identifier:"label",tagName:"label",value:e.label,onChange:e=>r({label:e}),placeholder:(0,t.__)("Enter label…","pronamic-pay-doneren-met-mollie")})]})},save({attributes:e}){const n=o.useBlockProps.save();return(0,l.jsxs)("div",{...n,children:[(0,l.jsx)("input",{className:"wp-block-pronamic-form-control__element",checked:e.checked,name:e.name,value:e.value,type:"checkbox"}),(0,l.jsx)(o.RichText.Content,{tagName:"label",value:e.label})]})}})}};const n={};function o(t){const l=n[t];if(void 0!==l)return l.exports;const r=n[t]={exports:{}};return e[t](r,r.exports,o),r.exports}o.m=e,(()=>{const e=[];o.O=(n,t,l,r)=>{if(t){r=r||0;for(var a=e.length;a>0&&e[a-1][2]>r;a--)e[a]=e[a-1];return void(e[a]=[t,l,r])}let i=1/0;for(a=0;a<e.length;a++){let[t,l,r]=e[a],c=!0;for(var s=0;s<t.length;s++)(!1&r||i>=r)&&Object.keys(o.O).every(e=>o.O[e](t[s]))?t.splice(s--,1):(c=!1,r<i&&(i=r));if(c){e.splice(a--,1);const o=l();void 0!==o&&(n=o)}}return n}})(),o.o=(e,n)=>Object.hasOwn(e,n),(()=>{const e={724:0,748:0};o.O.j=n=>0===e[n];const n=(n,t)=>{let[l,r,a]=t;var i,s,c=0;if(l.some(n=>0!==e[n])){for(i in r)o.o(r,i)&&(o.m[i]=r[i]);if(a)var p=a(o)}for(n&&n(t);c<l.length;c++)s=l[c],o.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return o.O(p)},t=globalThis.webpackChunk_pronamic_pronamic_pay_doneren_met_mollie||=[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})();let t=o.O(void 0,[748],()=>o(644));t=o.O(t)})();