Module 235986

1,099 characters · in no known chunk
Dependencies
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>f});var i=n(627968),r=n(64700),s=n(503698),a=n.n(s),o=n(392245),l=n(653307);let u={VERTICAL:l.Vd,HORIZONTAL:o.xM,HORIZONTAL_REVERSE:o.XB},c={START:l.LF,END:l.Ub,CENTER:l.wq,BETWEEN:l.LT,AROUND:l.aD},d={START:l.CT,END:l.ZT,CENTER:l.Hu,STRETCH:l.hx,BASELINE:l.Ju},_={NO_WRAP:l.oA,WRAP:l.LV,WRAP_REVERSE:l.Tt};function h(e){let{children:t,className:n,direction:r=u.HORIZONTAL,justify:s=c.START,align:l=d.STRETCH,wrap:h=_.NO_WRAP,shrink:f=1,grow:E=1,basis:p="auto",style:m,...g}=e;return(0,i.jsx)("div",{style:{flexShrink:f,flexGrow:E,flexBasis:p,...m},className:a()(o.Uu,r,s,l,h,n),...g,children:t})}h.Child=function(e){let{children:t,className:n,shrink:s=1,grow:l=1,basis:u="auto",style:c,wrap:d=!1,..._}=e,h={className:n=n??o.Gu,style:{flexGrow:l,flexShrink:s,flexBasis:u,...c},..._};if(!d&&"string"!=typeof t&&1===r.Children.count(t)){let e=r.Children.only(t);return h.style={...h.style,...e.props.style},h.className=a()(e.props.className,n),r.cloneElement(e,h)}return(0,i.jsx)("div",{...h,children:t})},h.Direction=u,h.Align=d,h.Justify=c,h.Wrap=_;let f=h}