import{__exports as t}from"../../../_virtual/InputGroup.js";import e from"react";import{p as r}from"../../prop-types/index.js";import{c as o}from"../../classnames/index.js";import"./utils.js";import"./Dropdown.js";import"./InputGroupContext.js";import{__exports as a}from"../../../_virtual/utils.js";import{__exports as s}from"../../../_virtual/Dropdown.js";import{__exports as n}from"../../../_virtual/InputGroupContext.js";!function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=m(e),p=m(r),l=m(o),i=a,f=m(s),c=n,d=["className","cssModule","tag","type","size"];function m(t){return t&&t.__esModule?t:{default:t}}function v(){return v=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},v.apply(this,arguments)}function j(t,e){if(null==t)return{};var r,o,a=function(t,e){if(null==t)return{};var r,o,a={},s=Object.keys(t);for(o=0;o<s.length;o++)r=s[o],e.indexOf(r)>=0||(a[r]=t[r]);return a}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(o=0;o<s.length;o++)r=s[o],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(a[r]=t[r])}return a}var y={className:p.default.string,cssModule:p.default.object,size:p.default.string,tag:i.tagPropType,type:p.default.string};function g(t){var e=t.className,r=t.cssModule,o=t.tag;t.type;var a=t.size,s=j(t,d),n=(0,i.mapToCssModules)((0,l.default)(e,"input-group",a?"input-group-".concat(a):null),r);return"dropdown"===t.type?u.default.createElement(f.default,v({},s,{className:n})):u.default.createElement(c.InputGroupContext.Provider,{value:{insideInputGroup:!0}},u.default.createElement(o,v({},s,{className:n})))}g.propTypes=y,g.defaultProps={tag:"div"};var _=g;t.default=_}(t);
//# sourceMappingURL=InputGroup.js.map
