(()=>{"use strict";var e={769(){const e=window.wp.blocks,n=window.wp.components,o=window.wp.blockEditor,t=window.wp.i18n,l=JSON.parse('{"UU":"pronamic/form-label"}'),r=window.ReactJSXRuntime;(0,e.registerBlockType)(l.UU,{edit:({attributes:e,setAttributes:l})=>{const{tagName:a,content:i}=e,s=(0,o.useBlockProps)();return(0,r.jsxs)("div",{...s,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.SelectControl,{label:(0,t.__)("HTML element","pronamic-pay-doneren-met-mollie"),options:[{label:(0,t.__)("Default (<label>)","pronamic-pay-doneren-met-mollie"),value:"label"},{label:"<span>",value:"span"}],value:a,onChange:e=>l({tagName:e})}),"label"===a&&(0,r.jsx)(n.TextControl,{autoComplete:"off",label:(0,t.__)("For","pronamic-pay-doneren-met-mollie"),value:e.htmlFor,onChange:e=>{l({htmlFor:e})}})]})}),(0,r.jsx)(o.RichText,{tagName:"label",value:e.content,onChange:e=>l({content:e}),placeholder:(0,t.__)("Enter label…","pronamic-pay-doneren-met-mollie")})]})},save({attributes:e}){const n=o.useBlockProps.save(),t="label"===e.tagName?e.htmlFor:null;return(0,r.jsx)("div",{...n,children:(0,r.jsx)(o.RichText.Content,{tagName:e.tagName,value:e.content,for:""===t?null:t})})}})}};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={157:0,449: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,[449],()=>o(769));t=o.O(t)})();