"use strict";var e=require("@gem-sdk/core"),t=require("@gem-sdk/system");exports.getStyle=a=>{let r=["mobile","tablet","desktop"],{styles:l,setting:g,style:i,rootStyles:o}=a,{arrowGapToEachSide:c="16"}=g??{},s=e.makeStyleResponsive("h",e.getHeightByShapeGlobalSize(l?.sizeSetting)),n=e.makeStyleWithDefault("w",e.getWidthByShapeGlobalSize(l?.sizeSetting,!0),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),S=t.createStyle({...i,...s,...n,...e.getBgByDevice({backgroundColor:l?.backgroundColor,backgroundImage:l?.backgroundImage})}),y=t.createStyle({...e.makeContainerWidthOrHeight({vertical:g?.vertical,dotStyle:g?.dotStyle}),gap:c+"px"}),p=t.createStyle({...e.makeStyleResponsive("jc",l?.align),...o}),d=t.createStyle({...(()=>{let t={};return r.forEach(a=>{let r=e.getResponsiveValueByScreen(g?.vertical,a),i=e.getResponsiveValueByScreen(l?.spacing,a),o=r?`--rg${"desktop"!==a?`-${a}`:""}`:`--cg${"desktop"!==a?`-${a}`:""}`;t={...t,[o]:`${i??0}px`}}),t})()});return{rootStyleRender:p,wrapperStyleRender:S,wrapperInnerStyle:y,sliderStyle:d}};
