(()=>{"use strict";const t=window.ReactJSXRuntime,{__}=wp.i18n,{registerBlockType:e}=wp.blocks,{RichText:n,MediaUpload:o,InspectorControls:s,InnerBlocks:a}=wp.blockEditor,{Button:c,PanelBody:i,SelectControl:l}=wp.components;e("xgate/text-faq",{title:__("Text FAQ","xgate"),icon:"smiley",category:"xgate-blocks",attributes:{question:{type:"string"},answer:{type:"string"}},edit:function(e){const{attributes:n,setAttributes:o,className:s}=e,{question:c,answer:i,content:l}=n;return(0,t.jsx)("div",{className:"text-faq",children:(0,t.jsx)(a,{allowedBlocks:["xgate/content-cta","xgate/faq"],template:[["xgate/content-cta",{}],["xgate/faq",{}]],templateLock:!1})})},save:e=>(0,t.jsx)(a.Content,{})})})();