"use strict";(globalThis.webpackChunkboostify_blocks=globalThis.webpackChunkboostify_blocks||[]).push([[3095],{3095:(e,o,t)=>{t.r(o),t.d(o,{default:()=>p});var r=t(1609),a=t.n(r),l=t(7437),n=t(4505),i=t(5192),d=t(2440),s=t(7851),c=t(7788),b=t(8885),g=t(2431),m=t(7931);const u=e=>{switch(e){case"left":default:return"flex-start";case"right":return"flex-end";case"center":return"center"}},p=a().memo((e=>{const{uniqueId:o,style_icon:t,general_tabTitle:a,style_container:p,style_body:y,style_title:f,advance_responsiveCondition:_,advance_zIndex:x,advance_motionEffect:k,general_general:v}=e,{media_desktop:h,media_tablet:A}=c.s;if(!o)return null;const w=`.${o}[data-uniqueid=${o}]`,$=`${w} .wcb-tabs__titles`,C=`${w} .wcb-tabs__title_inner`,N=`${w} .wcb-tabs__title_inner-selected`,z=`${w} .wcb-tabs__title_inner_btn`,E=`${w} .wcb-tabs__title`,T=`${w} .wcb-tabs__title-selected`,L=`${w} .wcb-tab-child__wrap`,D=`${w} .wcb-tab-child__inner`,S=`${w} .wcb-tabs__icon`,I=`${w} .wcb-tabs__icon-selected`,R=`${w} .wcb-tabs__contents`,j={Desktop:`${(0,i.A)(t.size).value_Desktop}px`,Tablet:`${(0,i.A)(t.size).value_Tablet}px`,Mobile:`${(0,i.A)(t.size).value_Mobile}px`};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(l.mL,{styles:[(0,b.A)({className:R,value:p.colunmGap,prefix:"columnGap"}),(0,b.A)({className:R,value:p.rowGap,prefix:"rowGap"}),{[R]:{textAlign:v.textAlignment}}]}),("grid"===v.layout||"verticalStyle1"===v.style||"verticalStyle2"===v.style)&&(0,r.createElement)(l.mL,{styles:[{[R]:{display:"grid",gridTemplateColumns:"1fr 3fr",gap:"1rem"}},{[$]:{display:"flex",flexDirection:"column",gap:"0.5rem",justifyContent:u(a.tabAlignment)}},{[C]:{display:"flex",flexDirection:"row",width:"100%",padding:"0.5rem",boxSizing:"border-box",justifyContent:u(a.textAlignment)}},{[L]:{margin:"0px",padding:"1rem",boxSizing:"border-box"}},{[z]:{padding:"0.6rem"}}]}),("accordion"===v.layout||"horizontalStyle1"===v.style||"horizontalStyle3"===v.style)&&(0,r.createElement)(l.mL,{styles:[{[$]:{display:"flex",flexDirection:"row",gap:"0.5rem",justifyContent:u(a.tabAlignment)},[C]:{display:"flex",flexDirection:"row",justifyContent:u(a.textAlignment)}}]}),"horizontalStyle2"===v.style&&(0,r.createElement)(l.mL,{styles:[{[$]:{display:"flex",flexDirection:"row",gap:"0.5rem",justifyContent:u(a.tabAlignment),borderBottom:"2px solid #d1d5db",marginBottom:"0",background:"#fff"},[C]:{display:"flex",flexDirection:"row",justifyContent:u(a.textAlignment),background:"none",border:"none",borderRadius:"0",marginBottom:"-2px",zIndex:1},[N]:{background:f.backgroundColorActive||"#fff",border:"none",borderTop:"2px solid #d1d5db",borderRight:"2px solid #d1d5db",borderLeft:"2px solid #d1d5db",borderRadius:"0",marginBottom:"-2px",zIndex:2},[L]:{border:"1px solid #d1d5db",borderTop:"none",marginTop:"0",padding:"2rem"}}]}),(0,r.createElement)(l.mL,{styles:[(0,s.A)({className:L,background:p.background}),(0,d.A)({border:p.border,className:L,isWithRadius:!0}),(0,g.A)({className:E,typography:f.typography}),(0,m.A)({className:E,padding:f.padding}),{[C]:{backgroundColor:f.backgroundColor},[E]:{color:f.color},[N]:{backgroundColor:f.backgroundColorActive},[T]:{color:f.colorActive}},(0,g.A)({className:L,typography:y.typography}),(0,m.A)({className:L,padding:y.padding,margin:y.margin}),{[L]:{color:y.color,backgroundColor:y.backgroundColor,"&:hover":{backgroundColor:y.backgroundColorHover}},[D]:{color:y.color,"&:hover":{color:y.colorHover}}}]}),(0,r.createElement)(l.mL,{styles:[(0,b.A)({className:`${S}, ${S}:before, ${S} svg`,value:j,prefix:"fontSize",prefix_2:"height",prefix_3:"width"}),{[S]:{color:t.color},[I]:{color:t.activeColor}}]}),(0,r.createElement)(l.mL,{styles:(0,n.F)({advance_motionEffect:k,advance_responsiveCondition:_,advance_zIndex:x,className:w})}),(0,r.createElement)(l.mL,{styles:[(0,d.A)({className:C,border:f.border,isWithRadius:!0}),(0,d.A)({className:N,border:f.borderActive,isWithRadius:!0})]}),(0,r.createElement)(l.mL,{styles:[(0,d.A)({className:L,border:y.border,isWithRadius:!0})]}))}))},7851:(e,o,t)=>{t.d(o,{A:()=>r});const r=({className:e,background:o,backgroundHover:t})=>{const{bgType:r,color:a,gradient:l}=o,{bgType:n,color:i,gradient:d}=t||{};if("color"!==r&&"gradient"!==r)return{};let s="",c="";"color"===r&&(s="backgroundColor",c=a),"gradient"===r&&(s="backgroundImage",c=l);let b="",g="";return"color"===n&&(b="backgroundColor",g=i||""),"gradient"===n&&(b="backgroundImage",g=d||""),{[`${e}`]:{[`${s}`]:`${c}`,":hover":{[`${b}`]:`${g||null}`}}}}}}]);