(()=>{"use strict";var t,e={446:()=>{const t=window.wp.blocks,e=window.wp.blockEditor,o=window.wp.i18n,n=window.wp.components,r=JSON.parse('{"UU":"matador-jobs/jobs-search-reset"}');(0,t.registerBlockType)(r.UU,{edit:function(t){var r=t.attributes,a=t.setAttributes,l=t.context,i=(0,e.useBlockProps)({className:"matador-jobs-search-id-block matador-search-form-field-group"}),s=r.buttonText,u=l["matador-jobs/searchFieldInputsPadding"]||{top:null,right:null,bottom:null,left:null},c=l["matador-jobs/searchFieldInputsMargin"]||{top:null,right:null,bottom:null,left:null};return React.createElement(React.Fragment,null,React.createElement(e.InspectorControls,null,React.createElement(n.PanelBody,{title:(0,o.__)("Settings","matador-jobs"),initialOpen:!0},React.createElement(n.PanelRow,null,function(t){var e=t.buttonText,r=t.setButtonText;return React.createElement(n.TextControl,{label:(0,o.__)("Button Text","matador-jobs"),help:(0,o.__)("The text for the search reset button","matador-jobs"),value:e,onChange:function(t){return r(t)},__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})}({buttonText:s,setButtonText:function(t){return a({buttonText:t})}})))),React.createElement("div",i,React.createElement("button",{className:"matador-button wp-element-button",style:{paddingTop:u.top,paddingBottom:u.bottom,paddingRight:u.right,paddingLeft:u.left,marginTop:c.top,marginBottom:c.bottom,marginRight:c.right,marginLeft:c.left}},s)))}})}},o={};function n(t){var r=o[t];if(void 0!==r)return r.exports;var a=o[t]={exports:{}};return e[t](a,a.exports,n),a.exports}n.m=e,t=[],n.O=(e,o,r,a)=>{if(!o){var l=1/0;for(c=0;c<t.length;c++){for(var[o,r,a]=t[c],i=!0,s=0;s<o.length;s++)(!1&a||l>=a)&&Object.keys(n.O).every((t=>n.O[t](o[s])))?o.splice(s--,1):(i=!1,a<l&&(l=a));if(i){t.splice(c--,1);var u=r();void 0!==u&&(e=u)}}return e}a=a||0;for(var c=t.length;c>0&&t[c-1][2]>a;c--)t[c]=t[c-1];t[c]=[o,r,a]},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={407:0,839:0};n.O.j=e=>0===t[e];var e=(e,o)=>{var r,a,[l,i,s]=o,u=0;if(l.some((e=>0!==t[e]))){for(r in i)n.o(i,r)&&(n.m[r]=i[r]);if(s)var c=s(n)}for(e&&e(o);u<l.length;u++)a=l[u],n.o(t,a)&&t[a]&&t[a][0](),t[a]=0;return n.O(c)},o=globalThis.webpackChunkmatador_plugin=globalThis.webpackChunkmatador_plugin||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})();var r=n.O(void 0,[839],(()=>n(446)));r=n.O(r)})();