(()=>{"use strict";var e,r={9848(){const e=window.wp.blocks,r=window.ReactJSXRuntime,{__}=wp.i18n,{TextControl:o}=wp.components,{useBlockProps:t}=wp.blockEditor,{useBlockProps:s}=wp.blockEditor,n=JSON.parse('{"UU":"rsvpmaker/placeholder"}');(0,e.registerBlockType)(n.UU,{edit:function(e){const s=t({className:e.className}),{attributes:{text:n},setAttributes:a,isSelected:c}=e;return c?(0,r.jsxs)("div",{...s,children:[(0,r.jsx)(o,{label:__("Text","rsvpmaker"),value:n,onChange:e=>a({text:e})}),(0,r.jsx)("p",{class:"dashicons-before dashicons-welcome-write-blog",children:(0,r.jsx)("em",{children:"(Not shown on front end. Delete from finished post)"})})]}):(0,r.jsx)("div",{...s,children:(0,r.jsxs)("p",{class:"dashicons-before dashicons-welcome-write-blog",children:[n," ",(0,r.jsx)("em",{children:"(Placeholder: Not shown on front end)"})]})})},save:function(e){return null},transforms:{to:[{type:"block",blocks:["core/query"],transform:r=>{const o=r.calendar&&parseInt(r.calendar)?[["rsvpmaker/calendar",r],["core/post-template",{layout:{type:"grid",columnCount:2}},[["core/post-title",{isLink:!0}],["core/post-featured-image"],["rsvpmaker/loop-blocks"],["core/read-more",{content:"Read More >>"}]]],["core/query-pagination"],["core/query-no-results",{},[["core/paragraph",{content:"No events found."}]]]]:[["core/post-template",{layout:{type:"grid",columnCount:2}},[["core/post-title",{isLink:!0}],["core/post-featured-image"],["rsvpmaker/loop-blocks"],["core/read-more",{content:"Read More >>"}]]],["core/query-pagination"],["core/query-no-results",{},[["core/paragraph",{content:"No events found."}]]]],t=(0,e.createBlocksFromInnerBlocksTemplate)(o);return(0,e.createBlock)("core/query",{queryId:0,query:{perPage:20,pages:0,offset:0,postType:"rsvpmaker",order:"asc",author:"",search:"",exclude:[],sticky:"",inherit:!1},namespace:"rsvpmaker/rsvpmaker-loop"},t)}}]}})}},o={};function t(e){var s=o[e];if(void 0!==s)return s.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,t),n.exports}t.m=r,e=[],t.O=(r,o,s,n)=>{if(!o){var a=1/0;for(p=0;p<e.length;p++){for(var[o,s,n]=e[p],c=!0,l=0;l<o.length;l++)(!1&n||a>=n)&&Object.keys(t.O).every(e=>t.O[e](o[l]))?o.splice(l--,1):(c=!1,n<a&&(a=n));if(c){e.splice(p--,1);var i=s();void 0!==i&&(r=i)}}return r}n=n||0;for(var p=e.length;p>0&&e[p-1][2]>n;p--)e[p]=e[p-1];e[p]=[o,s,n]},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={3057:0,8350:0};t.O.j=r=>0===e[r];var r=(r,o)=>{var s,n,[a,c,l]=o,i=0;if(a.some(r=>0!==e[r])){for(s in c)t.o(c,s)&&(t.m[s]=c[s]);if(l)var p=l(t)}for(r&&r(o);i<a.length;i++)n=a[i],t.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return t.O(p)},o=globalThis.webpackChunkadmin=globalThis.webpackChunkadmin||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})();var s=t.O(void 0,[8350],()=>t(9848));s=t.O(s)})();