(()=>{"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-tags","title":"Event Tags","category":"event-genius","description":"Displays event tags as pill links with a heading.","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"}),i=[(0,n.__)("Featured","event-genius"),(0,n.__)("Popular","event-genius"),(0,n.__)("New","event-genius")];return(0,e.createElement)("div",{...t},(0,e.createElement)("div",{className:"evge-event-list-tags evge-single-event-section"},(0,e.createElement)("h3",{className:"evge-event-meta-heading"},(0,n.__)("Tags","event-genius")),(0,e.createElement)("div",{className:"evge-tags evge-pill-link-wrap"},i.map((t,n)=>(0,e.createElement)("a",{key:n,href:"#",className:"evge-pill-link evge-beige",onClick:e=>e.preventDefault()},t)))))},save:()=>null})})();