"use strict";var e=require("@gem-sdk/core"),t=require("./helpers.js");exports.generateBreadcrumbChildIconStyles=(t,l)=>{let o=t?.desktop??0,r=t?.tablet??o,a=t?.mobile??r;return{"--height-desktop":`${o}px`,"--height-tablet":`${r}px`,"--height-mobile":`${a}px`,"--c":e.getGlobalColorCSSProp(l)}},exports.getBreadcrumbChildItemStyles=l=>{let{breadcrumbItemIndex:o,lengthOfBreadcrumb:r,appendTypoStyle:a,fontWeight:i,labelColor:s}=l,g=o+1===r;return{...g?{}:e.getGlobalColorStateStyle("c",s),...e.makeStyle({c:e.getSingleColorVariable(g&&s?.active||s?.normal)}),...e.removeNullUndefined(t.makeStyleStateConditionActive("weight",i,g)),...a,...g?e.removeNullUndefined(t.makeStyleStateConditionActive("weight",i,g)):{}}},exports.getBreadcrumbStyles=(t,l)=>{let{background:o,align:r}=l??{};return{...t,...e.getStyleBgColor(o??{}),...e.makeStyleResponsive("jc",r)}},exports.getSpacingStyles=e=>({"--gap-desktop":`${e?.desktop}`,"--gap-tablet":`${e?.tablet??e?.desktop}`,"--gap-mobile":`${e?.mobile??e?.tablet??e?.desktop}`});
