(()=>{"use strict";const e=window.wp.blocks,a=window.wp.blockEditor,n=window.wp.i18n,s=JSON.parse('{"UU":"gateway/gtx-expander-heading"}'),d=window.ReactJSXRuntime;(0,e.registerBlockType)(s.UU,{edit:()=>{const e=(0,a.useBlockProps)({className:"gateway-expander-heading"});return(0,d.jsx)("div",{...e,children:(0,d.jsxs)("div",{className:"gateway-expander-heading-editor",children:[(0,d.jsx)("span",{className:"gateway-expander-icon",children:"▶"}),(0,d.jsx)("div",{className:"gateway-expander-heading-content",children:(0,d.jsx)(a.InnerBlocks,{templateLock:!1,placeholder:(0,n.__)("Add heading content...","gateway")})})]})})},save:()=>(0,d.jsxs)("div",{...a.useBlockProps.save({className:"gateway-expander-heading"}),"data-wp-on--click":"actions.toggle",role:"button",tabIndex:"0","data-wp-on--keydown":"actions.handleKeydown",children:[(0,d.jsx)("span",{className:"gateway-expander-icon","data-wp-class--is-open":"context.isOpen",children:"▶"}),(0,d.jsx)("div",{className:"gateway-expander-heading-content",children:(0,d.jsx)(a.InnerBlocks.Content,{})})]})})})();