(()=>{"use strict";var e,n={340:()=>{const e=window.wp.blocks,n=window.wp.i18n,t=window.wp.blockEditor,o=window.wp.components,r=window.ReactJSXRuntime,i=JSON.parse('{"UU":"nemtly/booking-trigger"}');(0,e.registerBlockType)(i.UU,{edit:function({attributes:e,setAttributes:i}){const{text:l}=e,s=(0,t.useBlockProps)({className:"nemtly-booking-trigger-wrapper"});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.InspectorControls,{children:(0,r.jsx)(o.PanelBody,{title:(0,n.__)("Settings","nemtly-booking"),children:(0,r.jsx)(o.TextControl,{label:(0,n.__)("Button Text","nemtly-booking"),value:l,onChange:e=>i({text:e})})})}),(0,r.jsx)("div",{...s,children:(0,r.jsx)("button",{className:"nemtly-booking-trigger-btn nb-px-6 nb-py-2 nb-bg-blue-600 nb-text-white nb-rounded-lg",children:(0,r.jsx)(t.RichText,{tagName:"span",value:l,onChange:e=>i({text:e}),placeholder:(0,n.__)("Book Now","nemtly-booking"),allowedFormats:[]})})})]})},save:()=>null})}},t={};function o(e){var r=t[e];if(void 0!==r)return r.exports;var i=t[e]={exports:{}};return n[e](i,i.exports,o),i.exports}o.m=n,e=[],o.O=(n,t,r,i)=>{if(!t){var l=1/0;for(c=0;c<e.length;c++){for(var[t,r,i]=e[c],s=!0,a=0;a<t.length;a++)(!1&i||l>=i)&&Object.keys(o.O).every((e=>o.O[e](t[a])))?t.splice(a--,1):(s=!1,i<l&&(l=i));if(s){e.splice(c--,1);var b=r();void 0!==b&&(n=b)}}return n}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[t,r,i]},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={915:0,403:0};o.O.j=n=>0===e[n];var n=(n,t)=>{var r,i,[l,s,a]=t,b=0;if(l.some((n=>0!==e[n]))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(a)var c=a(o)}for(n&&n(t);b<l.length;b++)i=l[b],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return o.O(c)},t=globalThis.webpackChunknemtly_booking=globalThis.webpackChunknemtly_booking||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})();var r=o.O(void 0,[403],(()=>o(340)));r=o.O(r)})();