/*! For license information please see Skeleton.js.LICENSE.txt */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports["l3-style"]=t(require("react")):e["l3-style"]=t(e.react)}(this,(e=>(()=>{var t={94184:(e,t)=>{var E;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var E=arguments[t];if(E){var s=typeof E;if("string"===s||"number"===s)e.push(E);else if(Array.isArray(E)){if(E.length){var S=o.apply(null,E);S&&e.push(S)}}else if("object"===s){if(E.toString!==Object.prototype.toString&&!E.toString.toString().includes("[native code]")){e.push(E.toString());continue}for(var n in E)r.call(E,n)&&E[n]&&e.push(n)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(E=function(){return o}.apply(t,[]))||(e.exports=E)}()},71267:(e,t,E)=>{"use strict";E.r(t)},42487:(e,t,E)=>{"use strict";E.r(t)},75251:(e,t,E)=>{"use strict";var r=E(8156),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var s=Symbol.for;o=s("react.element"),t.Fragment=s("react.fragment")}var S=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,E){var r,s={},_=null,i=null;for(r in void 0!==E&&(_=""+E),void 0!==t.key&&(_=""+t.key),void 0!==t.ref&&(i=t.ref),t)n.call(t,r)&&!T.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===s[r]&&(s[r]=t[r]);return{$$typeof:o,type:e,key:_,ref:i,props:s,_owner:S.current}}t.jsx=_,t.jsxs=_},85893:(e,t,E)=>{"use strict";e.exports=E(75251)},47525:function(e,t,E){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=E(85893),s=r(E(94184)),S=E(63118),n=E(79030);E(71267);const T="l3-style-skeleton",_=(0,S.BEMClass)(T),i=({type:e=n.SKELETON_TYPES.RECTANGLE,size:t=n.SKELETON_SIZES.CUSTOM,className:E,width:r,height:S})=>{const i=n.SKELETON_ALLOWED_TYPES.indexOf(e)>-1?e:n.SKELETON_TYPES.RECTANGLE,l=i.toUpperCase(),u=n.SKELETON_ALLOWED_SIZES[l].indexOf(t)>-1?t:n.SKELETON_CUSTOM_SIZE;return(0,o.jsx)("div",Object.assign({className:T},{children:(0,o.jsx)("div",{className:(0,s.default)(_({element:i}),_({element:i,state:u}),E),style:{width:r,height:S}})}))};Object.assign(i,{types:n.SKELETON_TYPES,sizes:n.SKELETON_SIZES}),t.default=i},79030:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SKELETON_ALLOWED_SIZES=t.SKELETON_SIZES=t.SKELETON_ALLOWED_TYPES=t.SKELETON_TYPES=t.SKELETON_CUSTOM_SIZE=t.SKELETON_RECTANGLE_TYPE=t.SKELETON_TEXT_TYPE=t.SKELETON_CIRCLE_TYPE=void 0,t.SKELETON_CIRCLE_TYPE="circle",t.SKELETON_TEXT_TYPE="text",t.SKELETON_RECTANGLE_TYPE="rectangle",t.SKELETON_CUSTOM_SIZE="custom",t.SKELETON_TYPES={CIRCLE:t.SKELETON_CIRCLE_TYPE,RECTANGLE:t.SKELETON_RECTANGLE_TYPE,TEXT:t.SKELETON_TEXT_TYPE},t.SKELETON_ALLOWED_TYPES=Object.values(t.SKELETON_TYPES),t.SKELETON_SIZES={CUSTOM:t.SKELETON_CUSTOM_SIZE,CIRCLE:{},RECTANGLE:{},TEXT:{H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small"}},t.SKELETON_ALLOWED_SIZES={CIRCLE:[t.SKELETON_CUSTOM_SIZE],RECTANGLE:[t.SKELETON_CUSTOM_SIZE],TEXT:[...Object.values(t.SKELETON_SIZES.TEXT),t.SKELETON_CUSTOM_SIZE]}},63118:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BEMClass=void 0,t.BEMClass=function(e){return({element:t,state:E})=>{let r=e;return t&&(r=`${r}_${t}`),E&&(r=`${r}--${E}`),r}}},41921:(e,t,E)=>{"use strict";E(42487)},8156:t=>{"use strict";t.exports=e}},E={};function r(e){var o=E[e];if(void 0!==o)return o.exports;var s=E[e]={exports:{}};return t[e].call(s.exports,s,s.exports,r),s.exports}return r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r(41921),r(47525)})()));
//# sourceMappingURL=Skeleton.js.map