"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("react-transition-group"),r=require("clsx"),n=require("@prom-ui/core/Spinner");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function a(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var o=a(e),u=i(r);function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}function f(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var s="_17yYC",p="w66K2",b="xvJqd",m="Kg91O",v="y1iJD",y="CNMl7",d="C2P5b",O="cgEXP",g="k-mzv",j="XD0-8",E=["className","loading","type"],N=o.forwardRef((function(e,r){var i=e.className,a=e.loading,N=void 0!==a&&a,P=e.type,x=void 0===P?"checkbox":P,w=f(e,E);return o.createElement("div",{className:u.default(s,i)},o.createElement("input",l({ref:r,className:u.default(m,c({},v,N)),type:x},w)),o.createElement("div",{className:p},o.createElement("div",{className:b},o.createElement(t.CSSTransition,{in:N,timeout:100,classNames:{enterActive:d,enterDone:O,exitActive:g,exitDone:j},unmountOnExit:!0},o.createElement(n.Spinner,{className:y})))))}));N.displayName="Tumbler",exports.Tumbler=N,require("./style.production.css");
