"use strict";(globalThis.webpackChunkgutenkit_blocks_addon=globalThis.webpackChunkgutenkit_blocks_addon||[]).push([[2859],{2859(e,t,i){i.r(t),i.d(t,{default:()=>s});var l=i(7723),o=i(6087),n=i(790);const s=(0,o.memo)(({attributes:e,setAttributes:t,advancedControl:i})=>{const{GkitColor:o,GkitPanelBody:s,GkitSwitcher:a,GkitTabs:g,GkitText:k}=window.GkitComponents;return(0,n.jsx)(g,{type:"top-level",tabs:[{name:"style",title:(0,l.__)("Style","gutenkit-blocks-addon-pro")}],children:i=>"style"===i.name?(0,n.jsxs)(s,{title:(0,l.__)("Item Style","gutenkit-blocks-addon-pro"),children:[(0,n.jsx)(a,{label:(0,l.__)("Highlight this day","gutenkit-blocks-addon"),value:e?.gkitHighlightThisDay,onChange:e=>t({gkitHighlightThisDay:e})}),e?.gkitHighlightThisDay&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o,{label:(0,l.__)("Day Color","gutenkit-blocks-addon"),value:e?.gkitSingleBusinessDayColor,onChange:e=>t({gkitSingleBusinessDayColor:e})}),(0,n.jsx)(o,{label:(0,l.__)("Time Color","gutenkit-blocks-addon"),value:e?.gkitSingleBusinessTimeColor,onChange:e=>t({gkitSingleBusinessTimeColor:e})}),(0,n.jsx)(o,{label:(0,l.__)("Background Color","gutenkit-blocks-addon"),value:e?.gkitSingleBusinessBackgroundColor,onChange:e=>t({gkitSingleBusinessBackgroundColor:e})})]})]}):i.value})})}}]);