"use strict";var e=require("@gem-sdk/core"),t=require("@gem-sdk/system");exports.getStyle=i=>{let{styles:a,setting:r,style:o,rootStyles:l}=i,{arrowGapToEachSide:g="16"}=r??{},c=e.makeStyleResponsive("h",e.getHeightByShapeGlobalSize(a?.sizeSetting)),n=e.makeStyleWithDefault("w",e.getWidthByShapeGlobalSize(a?.sizeSetting,!0),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),s=t.createStyle({...o,...!i?.isProductList&&c,...n,...e.getBgByDevice({backgroundColor:a?.backgroundColor,backgroundImage:a?.backgroundImage})}),d=t.createStyle({...e.makeContainerWidthOrHeight({vertical:r?.vertical,dotStyle:r?.dotStyle}),gap:g+"px"}),S=t.createStyle({...e.makeStyleResponsive("jc",a?.align),...l,...!!i?.isProductList&&c}),y=t.createStyle({...n,...c}),h=t.createStyle({overflow:"hidden",flex:1,width:"100%",height:"100%","transition-timing-function":r?.animationMode??"ease"});return{rootStyleRender:S,wrapperStyleRender:s,wrapperInnerStyle:d,sliderStyle:y,sliderWrapperStyle:h}};
