import{__exports as e}from"../../../_virtual/Placeholder.js";import t from"react";import{p as r}from"../../prop-types/index.js";import{c as o}from"../../classnames/index.js";import"./utils.js";import"./Col.js";import{__exports as n}from"../../../_virtual/utils.js";import{__exports as a}from"../../../_virtual/Col.js";!function(e){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=b(t),u=b(r),f=b(o),s=n,c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var r=y(t);if(r&&r.has(e))return r.get(e);var o={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(a),p=["className","cssModule","color","innerRef","tag","animation","size","widths"];function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(y=function(e){return e?r:t})(e)}function b(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},d.apply(this,arguments)}function O(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var v=j(j({},c.default.propTypes),{},{color:u.default.string,tag:s.tagPropType,animation:u.default.oneOf(["glow","wave"]),innerRef:u.default.oneOfType([u.default.object,u.default.func,u.default.string]),size:u.default.oneOf(["lg","sm","xs"])});function P(e){var t=e.className,r=e.cssModule,o=e.color,n=e.innerRef,a=e.tag,i=e.animation,u=e.size,y=e.widths,b=O(e,p),m=(0,c.getColumnClasses)(b,r,y),j=m.modifiedAttributes,g=m.colClasses,v=(0,s.mapToCssModules)((0,f.default)(t,g,"placeholder"+(i?"-"+i:""),!!u&&"placeholder-"+u,!!o&&"bg-"+o),r);return l.default.createElement(a,d({},j,{className:v,ref:n}))}P.propTypes=v,P.defaultProps={tag:"span"};var w=P;e.default=w}(e);
//# sourceMappingURL=Placeholder.js.map
