define(['exports', 'preact/jsx-runtime', './HiddenAccessible-037ef42d', './LiveRegion-dbefb95b', 'preact/hooks', './LayerHost-0b288129', 'preact/compat', './UNSAFE_Text/themes/TextStyles.css', './Flex-4b81b412', './useTabBarContext-15a23bb6', './flexitem-5db48325', './dimensions-95c0c920', './boxalignment-8d80de7e', './logger-0f873e29', 'css!./TabBarItemStyles.styles.css', 'module', './UNSAFE_TabBarCommon/themes/redwood/TabBarItemVariants.css', 'css!./BadgeStyles.styles.css', 'module', './UNSAFE_Badge/themes/redwood/BadgeVariants.css', './ConveyorBeltContext-d8653090', './BusyStateContext-ab2c549a', './TabbableModeContext-a9c97640', 'preact', 'css!./TooltipContentStyles.styles.css', 'module', './hooks/UNSAFE_useTooltip/themes/redwood/TooltipContentVariants.css', './tooltipUtils-2bb62284', 'css!./IconStyle.styles.css', './BaseButton-5a0ad529', './ButtonLabelLayout-6464870c', './NavigationList-a6bb123d', './useNavigationListItem-582f5564', './UNSAFE_NavigationList/themes/NavigationListItemStyles.css', 'module', './UNSAFE_NavigationList/themes/redwood/NavigationListItemVariants.css', 'css!./NavigationListSeparator.styles.css', './Floating-c3558e44', 'css!./LayerStyles.styles.css', './keyboardUtils-fb6219eb', './tabbableUtils-f95361a6', './CollectionInteractionContext-0b4ed98b', 'css!./dropdownStyles.styles.css', './Sheet-1d02491d', 'css!./OverflowTabBarItemStyles.styles.css', './TabBarLayout-4eb6c732', './UNSAFE_TabBar/themes/TabBarStyles.css', './useTabBar-b05edef0', './TabBarContextMenu-6a167e27'], (function(e,t,s,a,o,n,i,r,l,c,d,b,y,m,B,u,x,h,T,S,g,p,C,N,f,v,L,F,U,A,I,w,E,_,M,j,R,k,V,H,P,z,D,$,O,q,G,J,K){"use strict";const Q=i.forwardRef((({children:e,layout:o="stretch",display:n="standard",size:i="md",edge:r="top",selection:l,onSelect:d,onRemove:b,"aria-describedby":y,"aria-label":m,"aria-labelledby":B,contextMenuConfig:u},x)=>{const h=x,{rootProps:T,tabBarContext:S,menuProps:g,contextMenuContext:p,contextMenuDescription:C,contextMenuDescriptionId:N,accStatusInfo:f}=J.useTabBar({class:G.styles.tabBarBase,edge:r,onRemove:b,onSelect:d,ref:h,selection:l,size:i,children:e,contextMenuConfig:u}),v=null!=u;return t.jsxs(t.Fragment,{children:[t.jsx(c.TabBarContext.Provider,{value:S,children:t.jsx("div",{...T,"aria-label":m,"aria-labelledby":B,"aria-haspopup":null!=u,"aria-describedby":v&&N?y?`${y} ${N}`:N:y,children:t.jsx(q.TabBarLayout,{layout:o,display:n,children:e})})}),v&&N&&t.jsx("span",{id:N,children:t.jsx(s.HiddenAccessible,{children:C})}),v&&f&&t.jsx(a.LiveRegion,{children:f}),v&&t.jsx(K.TabBarContextMenu,{...g,contextMenuConfig:u,contextMenuContext:p})]})}));e.TabBar=Q}));
//# sourceMappingURL=TabBar-92bac52f.js.map
