"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("../../theme/internal.js");const s=require("../utils.js"),o=require("../../theme/util/genComponentStyleHook.js"),r=require("../../theme/util/statistic.js"),a=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},c=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},i=e=>{const{componentCls:t}=e,n={};return s.flexWrapValues.forEach(l=>{n[`${t}-wrap-${l}`]={flexWrap:l}}),n},p=e=>{const{componentCls:t}=e,n={};return s.alignItemsValues.forEach(l=>{n[`${t}-align-${l}`]={alignItems:l}}),n},u=e=>{const{componentCls:t}=e,n={};return s.justifyContentValues.forEach(l=>{n[`${t}-justify-${l}`]={justifyContent:l}}),n},g=o.default("Flex",e=>{const t=r.merge(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[a(t),c(t),i(t),p(t),u(t)]});exports.default=g;
