!function(){"use strict";var e,t,s,a,o;e=window.wp.i18n,t=window.wp.blocks,s=window.wp.blockEditor,a="function"==typeof s.useInnerBlocksProps?s.useInnerBlocksProps:s.__experimentalUseInnerBlocksProps,o=JSON.parse('{"u2":"loos/tab-body"}'),(0,t.registerBlockType)(o.u2,{title:(0,e.__)("タブコンテンツ","swell"),edit:()=>{const e=(0,s.useBlockProps)({className:"swell-block-tab__body c-tabBody__item swl-inner-blocks swl-has-margin--s"}),t=a(e,{template:[["core/paragraph"]],templateLock:!1});return React.createElement("div",t)},save:({attributes:e})=>{const{tabId:t,id:a,activeTab:o}=e,n=s.useBlockProps.save({id:`tab-${t}-${a}`,className:"c-tabBody__item","aria-hidden":o===a?"false":"true"});return React.createElement("div",n,React.createElement(s.InnerBlocks.Content,null))}})}();