"use strict";var e=require("@gem-sdk/core"),t=require("../../../../../helpers.js");exports.getSelectStyle=({width:o,height:a,optionTypo:r,optionTypography:l,optionBgColor:s,optionTextColor:i,optionRounded:d,optionHasShadow:c,optionShadow:h,optionBorder:n,optionTransform:S,isCombine:p,textAlign:y})=>{let g=e.composeTypographyStyle(r,l),b=y?e.makeStyleResponsive("ta",y):{},v=e.makeStyle({bg:e.getSingleColorVariable(s?.active),bs:n?.active?.border,bw:n?.active?.width,bc:n?.active?.color}),u=[p?"active":"normal","hover"].reduce((t,o)=>({...t,...e.getStyleShadow({value:h?.[o],state:o,styleAppliedFor:"box-shadow",isEnableShadow:c?.[o]})}),{});return t.filterTruthyObject({...e.makeStyleResponsive("w",e.makeWidth(o)),...e.makeStyle({h:a}),...u,...v,...e.makeStyle({tt:S}),...g,...e.getGlobalColorStateStyle("c",i),...e.getGlobalColorStateStyle("bg",s),...e.handleConvertBorderStyle(n),...e.handleConvertBorderWidth(n),...e.handleConvertBorderColor(n),...e.composeRadius(d),...e.getStyleShadow({value:r?.custom?.textShadow,styleAppliedFor:"text-shadow",isEnableShadow:r?.custom?.hasShadowText}),...b,appearance:"none","background-image":"url(https://cdn.shopify.com/s/files/1/1827/4239/t/1/assets/ico-select.svg?v=155563818344741998551488860031)","background-repeat":"no-repeat","background-position":"right 16px center"})};
