"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/extends"),t=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/objectWithoutProperties"),i=require("react"),n=require("react-transition-group"),a=require("clsx"),u=require("@prom-ui/core/Spinner"),o=require("@prom-ui/core/useForwardRef");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function c(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 i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var s=l(e),d=l(t),f=l(r),m=c(i),p=l(a),b="t16TL",v="vqHSH",y="IYq4y",q="W0nyo",h="HmXKw",j="YR6PM",x="Q7DFi",O="h1wA-",N="qjqOb",g="t3mB8",w=["className","type","loading","indeterminate"],E=m.forwardRef((function(e,t){var r=e.className,i=e.type,a=void 0===i?"checkbox":i,l=e.loading,c=void 0!==l&&l,E=e.indeterminate,P=void 0!==E&&E,R=f.default(e,w),S=o.useForwardRef(t,null),k=m.useRef(null);return m.createElement("div",{className:p.default(b,r)},m.createElement("input",s.default({className:p.default(y,d.default(d.default({},h,c),q,P)),ref:S,disabled:c,type:a},R)),m.createElement("div",{className:v},m.createElement(n.CSSTransition,{nodeRef:k,in:c,timeout:100,classNames:{enterActive:x,enterDone:O,exitActive:N,exitDone:g},unmountOnExit:!0},m.createElement(u.Spinner,{ref:k,className:j,width:"100%",height:"100%"}))))}));E.displayName="Checkbox",exports.Checkbox=E,require("./style.production.v2.css");
