(()=>{"use strict";const e=window.React,t=window.wp.blocks,n=window.wp.i18n,s=window.wp.blockEditor,i=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"wp-event-genius/event-cta","title":"Event CTA","category":"event-genius","description":"Displays event cost, remaining spots, and registration button.","textdomain":"event-genius","editorScript":"file:./build/index.js","editorStyle":["evge_common","evge_single_post"],"style":["evge_common","evge_single_post"],"render":"file:./render.php","attributes":{"eventId":{"type":"number","default":0}},"usesContext":["postId","postType"],"supports":{"html":false,"spacing":{"margin":true,"padding":true}}}');(0,t.registerBlockType)(i.name,{...i,edit:()=>{const t=(0,s.useBlockProps)({className:"evge-block-placeholder"});return(0,e.createElement)("div",{...t},(0,e.createElement)("div",{className:"evge-single-event-cta evge-sticky"},(0,e.createElement)("div",{className:"evge-single-event-cost"},(0,n.__)("$50.00","event-genius")),(0,e.createElement)("div",{className:"evge-single-event-capacity"},(0,e.createElement)("span",null,(0,n.__)("25 spots remaining","event-genius"))),(0,e.createElement)("button",{className:"evge-cta evge-button evge-button-primary",disabled:!0},(0,n.__)("Register","event-genius"))))},save:()=>null})})();