(()=>{"use strict";var e,l={33:(e,l,t)=>{const a=window.wp.element,r=window.wp.blocks,o=window.wp.i18n,n=window.wp.blockEditor,s=window.wp.components,i=(window.wp.data,window.wp.serverSideRender);var c=t.n(i);const d=JSON.parse('{"u2":"crosswinds-blocks/acf-block"}');(0,r.registerBlockType)(d.u2,{icon:{src:(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",width:"20",viewBox:"0 0 640 512"},(0,a.createElement)("path",{class:"fa-secondary",fill:"#8200ff",d:"M576 128V384H64V128H576zM64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64z"}),(0,a.createElement)("path",{fill:"#171247",class:"fa-primary",d:"M104 184c0-13.3 10.7-24 24-24s24 10.7 24 24V328c0 13.3-10.7 24-24 24s-24-10.7-24-24V184z"}))},edit:function(e){const{attributes:l,setAttributes:t}=e,{fieldName:r,fieldType:i}=l,d=(0,a.createElement)(a.Fragment,null,(0,a.createElement)(n.InspectorControls,null,(0,a.createElement)(s.PanelBody,{title:(0,o.__)("ACF Field Block Settings","crosswinds-blocks")},(0,a.createElement)(s.TextControl,{label:(0,o.__)("Field Name","crosswinds-blocks"),value:r,onChange:e=>t({fieldName:e})}),(0,a.createElement)(s.SelectControl,{label:(0,o.__)("Field Type","crosswinds-blocks"),value:i,options:[{label:"Text",value:"text"},{label:"Text Area",value:"text-area"},{label:"Email",value:"email"},{label:"Number",value:"number"},{label:"URL",value:"url"},{label:"Select",value:"select"},{label:"Image",value:"image"},{label:"Oembed",value:"oembed"},{label:"Date/Time",value:"date-time"}],onChange:e=>t({fieldType:e})}),void 0)));return(0,a.createElement)(a.Fragment,null,d,(0,a.createElement)("div",(0,n.useBlockProps)(),(0,a.createElement)(c(),{block:"crosswinds-blocks/acf-block",attributes:{fieldName:r,fieldType:i}})))}})}},t={};function a(e){var r=t[e];if(void 0!==r)return r.exports;var o=t[e]={exports:{}};return l[e](o,o.exports,a),o.exports}a.m=l,e=[],a.O=(l,t,r,o)=>{if(!t){var n=1/0;for(d=0;d<e.length;d++){for(var[t,r,o]=e[d],s=!0,i=0;i<t.length;i++)(!1&o||n>=o)&&Object.keys(a.O).every((e=>a.O[e](t[i])))?t.splice(i--,1):(s=!1,o<n&&(n=o));if(s){e.splice(d--,1);var c=r();void 0!==c&&(l=c)}}return l}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[t,r,o]},a.n=e=>{var l=e&&e.__esModule?()=>e.default:()=>e;return a.d(l,{a:l}),l},a.d=(e,l)=>{for(var t in l)a.o(l,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:l[t]})},a.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={3354:0,7733:0};a.O.j=l=>0===e[l];var l=(l,t)=>{var r,o,[n,s,i]=t,c=0;if(n.some((l=>0!==e[l]))){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(i)var d=i(a)}for(l&&l(t);c<n.length;c++)o=n[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return a.O(d)},t=globalThis.webpackChunkstarter_block=globalThis.webpackChunkstarter_block||[];t.forEach(l.bind(null,0)),t.push=l.bind(null,t.push.bind(t))})();var r=a.O(void 0,[7733],(()=>a(33)));r=a.O(r)})();