(()=>{"use strict";var e,o={883:()=>{const e=window.wp.element,o=window.wp.blocks,n=window.wp.i18n,r=window.wp.blockEditor,s=window.wp.components,l=JSON.parse('{"u2":"crosswinds-blocks/accordion"}');(0,o.registerBlockType)(l.u2,{icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},(0,e.createElement)("path",{fill:"#171247",class:"fa-primary",d:"M416 128H32C14.33 128 0 113.7 0 96C0 78.33 14.33 64 32 64H416C433.7 64 448 78.33 448 96C448 113.7 433.7 128 416 128zM416 448H32C14.33 448 0 433.7 0 416C0 398.3 14.33 384 32 384H416C433.7 384 448 398.3 448 416C448 433.7 433.7 448 416 448z"}),(0,e.createElement)("path",{fill:"#8200ff",class:"fa-secondary",d:"M0 256C0 238.3 14.33 224 32 224H416C433.7 224 448 238.3 448 256C448 273.7 433.7 288 416 288H32C14.33 288 0 273.7 0 256z"}))},edit:function(o){const{setAttributes:l,attributes:t}=o,{panelId:c,panelIcon:a}=t,i=[{value:"plus-minus",label:(0,n.__)("Plus/Minus","crosswinds-blocks")},{value:"arrows",label:(0,n.__)("Arrows","crosswinds-blocks")}],d=(0,r.useBlockProps)(),p=(0,r.useInnerBlocksProps)(d,{allowedBlocks:["crosswinds-blocks/accordion-title","crosswinds-blocks/accordion-body"],template:[["crosswinds-blocks/accordion-title",{}],["crosswinds-blocks/accordion-body",{}]]}),w=(0,e.createElement)(e.Fragment,null,(0,e.createElement)(r.InspectorControls,null,(0,e.createElement)(s.PanelBody,{title:(0,n.__)("Accordion Settings","crosswinds-blocks")},(0,e.createElement)(s.TextControl,{label:(0,n.__)("Panel Id","crosswinds-blocks"),value:c,onChange:e=>function(e){e=e.replace(/\s+/g,"-").toLowerCase(),l({panelId:e})}(e)}),(0,e.createElement)(s.SelectControl,{label:(0,n.__)("Icons","crosswinds-blocks"),value:a,options:i,onChange:e=>l({panelIcon:e})}))));return(0,e.createElement)(e.Fragment,null,w,(0,e.createElement)("div",p))},save:function(){return(0,e.createElement)("div",r.useBlockProps.save(),(0,e.createElement)(r.InnerBlocks.Content,null))}})}},n={};function r(e){var s=n[e];if(void 0!==s)return s.exports;var l=n[e]={exports:{}};return o[e](l,l.exports,r),l.exports}r.m=o,e=[],r.O=(o,n,s,l)=>{if(!n){var t=1/0;for(d=0;d<e.length;d++){for(var[n,s,l]=e[d],c=!0,a=0;a<n.length;a++)(!1&l||t>=l)&&Object.keys(r.O).every((e=>r.O[e](n[a])))?n.splice(a--,1):(c=!1,l<t&&(t=l));if(c){e.splice(d--,1);var i=s();void 0!==i&&(o=i)}}return o}l=l||0;for(var d=e.length;d>0&&e[d-1][2]>l;d--)e[d]=e[d-1];e[d]=[n,s,l]},r.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={5166:0,8082:0};r.O.j=o=>0===e[o];var o=(o,n)=>{var s,l,[t,c,a]=n,i=0;if(t.some((o=>0!==e[o]))){for(s in c)r.o(c,s)&&(r.m[s]=c[s]);if(a)var d=a(r)}for(o&&o(n);i<t.length;i++)l=t[i],r.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return r.O(d)},n=globalThis.webpackChunkstarter_block=globalThis.webpackChunkstarter_block||[];n.forEach(o.bind(null,0)),n.push=o.bind(null,n.push.bind(n))})();var s=r.O(void 0,[8082],(()=>r(883)));s=r.O(s)})();