(()=>{"use strict";const e=window.React,t=window.wp.blocks,n=window.wp.blockEditor,a=[{attributes:{accordionHeading:{type:"string"},accordionHeadingLevel:{type:"number",default:4}},save({attributes:{accordionHeading:t,accordionHeadingLevel:a}}){const c="h"+a;return(0,e.createElement)("div",{className:"accordion-item"},(0,e.createElement)(c,{className:"accordion__heading"},(0,e.createElement)("button",{type:"button",className:"accordion__heading-button","aria-expanded":"false"},t,(0,e.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M18 9.41L16.59 8L12 12.58L7.41 8L6 9.41L12 15.41L18 9.41Z",fill:"#333333"})))),(0,e.createElement)("div",{className:"accordion__body"},(0,e.createElement)("div",{className:"accordion__content"},(0,e.createElement)(n.InnerBlocks.Content,null))))}}];(0,t.registerBlockType)("ucla-wordpress-plugin/accordion-item",{title:"Accordion Item (Deprecated)",category:"ucla-design-system-components",supports:{inserter:!1,html:!1},attributes:{accordionHeading:{type:"string"},accordionHeadingLevel:{type:"number",default:4}},edit:()=>(0,e.createElement)("div",{...(0,n.useBlockProps)()}),save:()=>(0,e.createElement)(n.InnerBlocks.Content,null),deprecated:a})})();