(()=>{"use strict";var e,n={822:()=>{const e=window.wp.blocks,n=window.wp.i18n,o=window.wp.blockEditor,t=window.wp.components,r=window.ReactJSXRuntime,l=JSON.parse('{"UU":"nemtly/event-location"}');(0,e.registerBlockType)(l.UU,{edit:function({attributes:e,setAttributes:l}){const{showIcon:i}=e,s=(0,o.useBlockProps)({className:"nemtly-event-location"});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.InspectorControls,{children:(0,r.jsx)(t.PanelBody,{title:(0,n.__)("Settings","nemtly-booking"),children:(0,r.jsx)(t.ToggleControl,{label:(0,n.__)("Show Icon","nemtly-booking"),checked:i,onChange:e=>l({showIcon:e})})})}),(0,r.jsxs)("div",{...s,children:[i&&(0,r.jsx)("svg",{className:"nb-w-5 nb-h-5 nb-mr-2",fill:"currentColor",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z",clipRule:"evenodd"})}),(0,r.jsx)("span",{className:"nemtly-location-preview",children:(0,n.__)("123 Event St, City, Country","nemtly-booking")})]})]})},save:()=>null})}},o={};function t(e){var r=o[e];if(void 0!==r)return r.exports;var l=o[e]={exports:{}};return n[e](l,l.exports,t),l.exports}t.m=n,e=[],t.O=(n,o,r,l)=>{if(!o){var i=1/0;for(d=0;d<e.length;d++){for(var[o,r,l]=e[d],s=!0,a=0;a<o.length;a++)(!1&l||i>=l)&&Object.keys(t.O).every((e=>t.O[e](o[a])))?o.splice(a--,1):(s=!1,l<i&&(i=l));if(s){e.splice(d--,1);var c=r();void 0!==c&&(n=c)}}return n}l=l||0;for(var d=e.length;d>0&&e[d-1][2]>l;d--)e[d]=e[d-1];e[d]=[o,r,l]},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={573:0,257:0};t.O.j=n=>0===e[n];var n=(n,o)=>{var r,l,[i,s,a]=o,c=0;if(i.some((n=>0!==e[n]))){for(r in s)t.o(s,r)&&(t.m[r]=s[r]);if(a)var d=a(t)}for(n&&n(o);c<i.length;c++)l=i[c],t.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return t.O(d)},o=globalThis.webpackChunknemtly_booking=globalThis.webpackChunknemtly_booking||[];o.forEach(n.bind(null,0)),o.push=n.bind(null,o.push.bind(o))})();var r=t.O(void 0,[257],(()=>t(822)));r=t.O(r)})();