(()=>{"use strict";var e,o={161:()=>{const e=window.React,{createBlock:o}=wp.blocks,r={from:[{type:"block",blocks:["oik-block/googlemap"],transform:function(e){return o("oik/googlemap",{})}},{type:"shortcode",tag:"bw_show_googlemap",attributes:{}}]},t=window.wp.i18n;function n(e){var o,r,t="";if("string"==typeof e||"number"==typeof e)t+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(o=0;o<i;o++)e[o]&&(r=n(e[o]))&&(t&&(t+=" "),t+=r)}else for(r in e)e[r]&&(t&&(t+=" "),t+=r);return t}const i=function(){for(var e,o,r=0,t="",i=arguments.length;r<i;r++)(e=arguments[r])&&(o=n(e))&&(t&&(t+=" "),t+=o);return t},s=window.wp.blocks,a=window.wp.blockEditor,l=(window.wp.serverSideRender,window.wp.components,window.wp.element,window.lodash,(0,e.createElement)("h3",null,(0,t.__)("Map","oik")));(0,s.registerBlockType)("oik/googlemap",{transforms:r,edit:o=>{const{attributes:r,setAttributes:n,instanceId:s,focus:c,isSelected:p}=o,{textAlign:w,label:u}=o.attributes,f=(0,a.useBlockProps)({className:i({[`has-text-align-${w}`]:w})});return(0,e.createElement)("div",{...f},l,(0,e.createElement)("p",null,(0,t.__)("This is where the map will appear","oik")))},save:o=>{const r=a.useBlockProps.save();return(0,e.createElement)("div",{...r},l,"[","bw_show_googlemap","]")}})}},r={};function t(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,t),i.exports}t.m=o,e=[],t.O=(o,r,n,i)=>{if(!r){var s=1/0;for(p=0;p<e.length;p++){for(var[r,n,i]=e[p],a=!0,l=0;l<r.length;l++)(!1&i||s>=i)&&Object.keys(t.O).every((e=>t.O[e](r[l])))?r.splice(l--,1):(a=!1,i<s&&(s=i));if(a){e.splice(p--,1);var c=n();void 0!==c&&(o=c)}}return o}i=i||0;for(var p=e.length;p>0&&e[p-1][2]>i;p--)e[p]=e[p-1];e[p]=[r,n,i]},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={112:0,499:0};t.O.j=o=>0===e[o];var o=(o,r)=>{var n,i,[s,a,l]=r,c=0;if(s.some((o=>0!==e[o]))){for(n in a)t.o(a,n)&&(t.m[n]=a[n]);if(l)var p=l(t)}for(o&&o(r);c<s.length;c++)i=s[c],t.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return t.O(p)},r=globalThis.webpackChunkoik=globalThis.webpackChunkoik||[];r.forEach(o.bind(null,0)),r.push=o.bind(null,r.push.bind(r))})();var n=t.O(void 0,[499],(()=>t(161)));n=t.O(n)})();