import{__exports as t}from"../../../_virtual/Nav.js";import e from"react";import{p as a}from"../../prop-types/index.js";import{c as l}from"../../classnames/index.js";import"./utils.js";import{__exports as r}from"../../../_virtual/utils.js";!function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=f(e),n=f(a),s=f(l),i=r,u=["className","cssModule","tabs","pills","vertical","horizontal","justified","fill","navbar","card","tag"];function f(t){return t&&t.__esModule?t:{default:t}}function c(){return c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},c.apply(this,arguments)}function d(t,e){if(null==t)return{};var a,l,r=function(t,e){if(null==t)return{};var a,l,r={},o=Object.keys(t);for(l=0;l<o.length;l++)a=o[l],e.indexOf(a)>=0||(r[a]=t[a]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(l=0;l<o.length;l++)a=o[l],e.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(t,a)&&(r[a]=t[a])}return r}var p={card:n.default.bool,className:n.default.string,cssModule:n.default.object,fill:n.default.bool,horizontal:n.default.oneOf(["center","end"]),justified:n.default.bool,navbar:n.default.bool,pills:n.default.bool,tabs:n.default.bool,tag:i.tagPropType,vertical:n.default.oneOfType([n.default.bool,n.default.string])};function b(t){var e=t.className,a=t.cssModule,l=t.tabs,r=t.pills,n=t.vertical,f=t.horizontal,p=t.justified,b=t.fill,v=t.navbar,m=t.card,j=t.tag,y=d(t,u),O=(0,i.mapToCssModules)((0,s.default)(e,v?"navbar-nav":"nav",!!f&&"justify-content-".concat(f),function(t){return!1!==t&&(!0===t||"xs"===t?"flex-column":"flex-".concat(t,"-column"))}(n),{"nav-tabs":l,"card-header-tabs":m&&l,"nav-pills":r,"card-header-pills":m&&r,"nav-justified":p,"nav-fill":b}),a);return o.default.createElement(j,c({},y,{className:O}))}b.propTypes=p,b.defaultProps={tag:"ul",vertical:!1};var v=b;t.default=v}(t);
//# sourceMappingURL=Nav.js.map
