import{__exports as e}from"../../../_virtual/Media.js";import t from"react";import{p as o}from"../../prop-types/index.js";import{c as a}from"../../classnames/index.js";import"./utils.js";import{__exports as l}from"../../../_virtual/utils.js";!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=u(t),i=u(o),d=u(a),s=l,n=["body","bottom","className","cssModule","heading","left","list","middle","object","right","tag","top"];function u(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e},f.apply(this,arguments)}function m(e,t){if(null==e)return{};var o,a,l=function(e,t){if(null==e)return{};var o,a,l={},r=Object.keys(e);for(a=0;a<r.length;a++)o=r[a],t.indexOf(o)>=0||(l[o]=e[o]);return l}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)o=r[a],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(l[o]=e[o])}return l}var c={body:i.default.bool,bottom:i.default.bool,children:i.default.node,className:i.default.string,cssModule:i.default.object,heading:i.default.bool,left:i.default.bool,list:i.default.bool,middle:i.default.bool,object:i.default.bool,right:i.default.bool,tag:s.tagPropType,top:i.default.bool};function b(e){var t,o=e.body,a=e.bottom,l=e.className,i=e.cssModule,u=e.heading,c=e.left,b=e.list,p=e.middle,g=e.object,j=e.right,y=e.tag,h=e.top,v=m(e,n);t=u?"h4":v.href?"a":v.src||g?"img":b?"ul":"div";var O=y||t,_=(0,s.mapToCssModules)((0,d.default)(l,{"media-body":o,"media-heading":u,"media-left":c,"media-right":j,"media-top":h,"media-bottom":a,"media-middle":p,"media-object":g,"media-list":b,media:!(o||u||c||j||h||a||p||g||b)}),i);return r.default.createElement(O,f({},v,{className:_}))}b.propTypes=c;var p=b;e.default=p}(e);
//# sourceMappingURL=Media.js.map
