(()=>{"use strict";var t,e={8666(){const t=window.wp.blocks,e=(window.wp.i18n,window.wp.blockEditor),o=window.React,r=window.ReactJSXRuntime,n=JSON.parse('{"UU":"rsvpmaker/button"}');(0,t.registerBlockType)(n.UU,{edit:function(t){const{attributes:n,attributes:{alignment:s},context:{postId:i},setAttributes:l,isSelected:a}=t,[c,p]=(0,o.useState)(null),u=(0,e.useBlockProps)(),b=(0,e.useInnerBlocksProps)(u,{allowedBlocks:["core/buttons","core/button"],template:[["core/buttons",{},[["core/button",{textColor:"base",style:{color:{background:"#f71b1b"},className:"rsvplink",elements:{link:{color:{text:"var:preset|color|base"}}},border:{radius:{topLeft:"10px",topRight:"10px",bottomLeft:"10px",bottomRight:"10px"}},className:"rsvplink"},text:"RSVP Now!",url:"#rsvpnow"}]]]]});return(0,r.jsx)("div",{...(0,e.useBlockProps)(),children:(0,r.jsx)("div",{...b})})},save:function(){return(0,r.jsx)(e.InnerBlocks.Content,{})}})}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var s=o[t]={exports:{}};return e[t](s,s.exports,r),s.exports}r.m=e,t=[],r.O=(e,o,n,s)=>{if(!o){var i=1/0;for(p=0;p<t.length;p++){for(var[o,n,s]=t[p],l=!0,a=0;a<o.length;a++)(!1&s||i>=s)&&Object.keys(r.O).every(t=>r.O[t](o[a]))?o.splice(a--,1):(l=!1,s<i&&(i=s));if(l){t.splice(p--,1);var c=n();void 0!==c&&(e=c)}}return e}s=s||0;for(var p=t.length;p>0&&t[p-1][2]>s;p--)t[p]=t[p-1];t[p]=[o,n,s]},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={7049:0,237:0};r.O.j=e=>0===t[e];var e=(e,o)=>{var n,s,[i,l,a]=o,c=0;if(i.some(e=>0!==t[e])){for(n in l)r.o(l,n)&&(r.m[n]=l[n]);if(a)var p=a(r)}for(e&&e(o);c<i.length;c++)s=i[c],r.o(t,s)&&t[s]&&t[s][0](),t[s]=0;return r.O(p)},o=globalThis.webpackChunkadmin=globalThis.webpackChunkadmin||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})();var n=r.O(void 0,[237],()=>r(8666));n=r.O(n)})();