!function(){"use strict";!function(){var e=window.wp.i18n,t=window.wp.blocks,a=window.wp.blockEditor,c="function"==typeof a.useInnerBlocksProps?a.useInnerBlocksProps:a.__experimentalUseInnerBlocksProps,l=JSON.parse('{"u2":"loos/faq-item"}'),n=React.createElement("svg",{viewBox:"0 0 56 56"},React.createElement("path",{d:"M17.9,18.7c1.2-1.5,1.7-3.3,1.7-5.2c0-4.9-2.9-7.5-6.8-7.5S6,8.6,6,13.5S8.9,21,12.8,21c2.2,0,3.5-0.8,3.9-1.1l2.3,1.9 l1-1.3L17.9,18.7z M16.2,17.3l-1.4-1.2l-1,1.3l1.2,1c-0.3,0.1-1,0.5-2.1,0.5c-2.9,0-4.5-2.4-4.5-5.5s1.7-5.5,4.5-5.5 s4.5,2.4,4.5,5.5C17.3,14.4,17.2,16,16.2,17.3z"}),React.createElement("path",{d:"M8.5,49.9l1.3-4h6.3l1.3,4H20l-5.5-15.3h-3L6,50L8.5,49.9L8.5,49.9z M10.4,44.2l2.6-7.5l2.6,7.5"}),React.createElement("rect",{x:"5",y:"27",width:"46",height:"2"}));const s=[["core/paragraph"]],o="swell-block-faq",r="faq_q";(0,t.registerBlockType)(l.u2,{title:(0,e.__)("項目","swell"),icon:n,parent:["loos/faq"],edit:({attributes:t,setAttributes:l})=>{const{contentQ:n}=t,i=(0,a.useBlockProps)({className:`${o}__item`}),m=c({className:"faq_a swl-inner-blocks swl-has-margin--s"},{template:s,templateLock:!1});return React.createElement("div",i,React.createElement(a.RichText,{className:r,tagName:"div",placeholder:(0,e.__)("テキストを入力…","swell"),value:n,onChange:e=>l({contentQ:e})}),React.createElement("div",m))},save:({attributes:e})=>{const{contentQ:t}=e,c=a.useBlockProps.save({className:`${o}__item`});return React.createElement("div",c,React.createElement(a.RichText.Content,{tagName:"dt",className:r,value:t}),React.createElement("dd",{className:"faq_a"},React.createElement(a.InnerBlocks.Content,null)))}})}()}();