"use strict";(globalThis.webpackChunkgutenkit_blocks_addon=globalThis.webpackChunkgutenkit_blocks_addon||[]).push([[943],{943:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var a=n(7723),o=n(6087),i=n(790);const l=(0,o.memo)(({attributes:e,setAttributes:t,device:n,advancedControl:o})=>{const{GkitTabs:l,GkitPanelBody:d,GkitColor:r,GkitTypography:g,GkitResponsive:k,GkitBackgrounGroup:s,GkitBoxControl:u,GkitBorderControl:c}=window.GkitComponents,{gkitResponsiveValue:p,useFontFamilyinBlock:C,responsiveHelper:b}=window.GkitHelpers;return C([e?.gkitFaqTitleTypographyGroup,e?.gkitFaqContentTypographyGroup]),(0,i.jsx)(l,{type:"top-level",tabs:[{name:"content",title:(0,a.__)("Style","gutenkit-blocks-addon")},{name:"advanced",title:(0,a.__)("Advanced","gutenkit-blocks-addon")}],children:l=>{switch(l.name){case"content":return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(d,{title:(0,a.__)("Title","gutenkit-blocks-addon"),initialOpen:!0,children:[(0,i.jsx)(r,{label:(0,a.__)("Title Color","gutenkit-blocks-addon"),value:e?.gkitFaqTitleColor,onChange:e=>t({gkitFaqTitleColor:e})}),(0,i.jsx)(g,{label:(0,a.__)("Typography","gutenkit-blocks-addon"),value:e?.gkitFaqTitleTypographyGroup,onChange:e=>t({gkitFaqTitleTypographyGroup:e})}),(0,i.jsx)(s,{label:(0,a.__)("Background","gutenkit-blocks-addon"),value:e?.gkitFaqTitleBackgroundGroup,onChange:e=>t({gkitFaqTitleBackgroundGroup:e}),exclude:{video:!0,image:!0}}),(0,i.jsx)(c,{label:(0,a.__)("Border","gutenkit-blocks-addon"),onChange:e=>t({gkitFaqTitleBorderGroup:e}),value:e?.gkitFaqTitleBorderGroup}),(0,i.jsx)(k,{children:(0,i.jsx)(u,{label:(0,a.__)("Border Radius","gutenkit-blocks-addon"),values:p(e,"gkitFaqBorderRadius",n),onChange:e=>b("gkitFaqBorderRadius",e,n,t)})}),(0,i.jsx)(k,{children:(0,i.jsx)(u,{label:(0,a.__)("Padding","gutenkit-blocks-addon"),values:p(e,"gkitFaqTitlePadding",n),onChange:e=>b("gkitFaqTitlePadding",e,n,t)})}),(0,i.jsx)(k,{children:(0,i.jsx)(u,{label:(0,a.__)("Margin","gutenkit-blocks-addon"),values:p(e,"gkitFaqTitleMargin",n),onChange:e=>b("gkitFaqTitleMargin",e,n,t)})})]}),(0,i.jsxs)(d,{title:(0,a.__)("Content","gutenkit-blocks-addon"),children:[(0,i.jsx)(r,{label:(0,a.__)("Color","gutenkit-blocks-addon"),value:e?.gkitFaqContentColor,onChange:e=>t({gkitFaqContentColor:e})}),(0,i.jsx)(g,{label:(0,a.__)("Typography","gutenkit-blocks-addon"),value:e?.gkitFaqContentTypographyGroup,onChange:e=>t({gkitFaqContentTypographyGroup:e})}),(0,i.jsx)(s,{label:(0,a.__)("Background","gutenkit-blocks-addon"),value:e?.gkitFaqContentBackgroundGroup,onChange:e=>t({gkitFaqContentBackgroundGroup:e}),exclude:{video:!0,image:!0}}),(0,i.jsx)(c,{label:(0,a.__)("Border","gutenkit-blocks-addon"),onChange:e=>t({gkitFaqContentBorderGroup:e}),value:e?.gkitFaqContentBorderGroup}),(0,i.jsx)(k,{children:(0,i.jsx)(u,{label:(0,a.__)("Border Radius","gutenkit-blocks-addon"),values:p(e,"gkitFaqContentBorderRadius",n),onChange:e=>b("gkitFaqContentBorderRadius",e,n,t)})}),(0,i.jsx)(k,{children:(0,i.jsx)(u,{label:(0,a.__)("Padding","gutenkit-blocks-addon"),values:p(e,"gkitFaqContentPadding",n),onChange:e=>b("gkitFaqContentPadding",e,n,t)})}),(0,i.jsx)(k,{children:(0,i.jsx)(u,{label:(0,a.__)("Margin","gutenkit-blocks-addon"),values:p(e,"gkitFaqContentMargin",n),onChange:e=>b("gkitFaqContentMargin",e,n,t)})})]})]});case"advanced":return(0,i.jsx)(i.Fragment,{children:o})}}})})}}]);