Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@particles/checkbox

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@particles/checkbox - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

4

index.js

@@ -1,2 +0,2 @@

!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("react"));else if("function"==typeof define&&define.amd)define(["react"],e);else{var n=e("object"==typeof exports?require("react"):t.react);for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(this,function(t){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=28)}([function(t,e,n){var r=n(24)("wks"),o=n(25),i=n(1).Symbol,c="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(7),o=n(35),i=n(36),c=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(1),o=n(2),i=n(17),c=n(6),u=function(t,e,n){var a,s,f,l=t&u.F,p=t&u.G,d=t&u.S,h=t&u.P,v=t&u.B,_=t&u.W,y=p?o:o[e]||(o[e]={}),b=y.prototype,x=p?r:d?r[e]:(r[e]||{}).prototype;p&&(n=e);for(a in n)(s=!l&&x&&void 0!==x[a])&&a in y||(f=s?x[a]:n[a],y[a]=p&&"function"!=typeof x[a]?n[a]:v&&s?i(f,r):_&&x[a]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):h&&"function"==typeof f?i(Function.call,f):f,h&&((y.virtual||(y.virtual={}))[a]=f,t&u.R&&b&&!b[a]&&c(b,a,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){var r=n(3),o=n(11);t.exports=n(4)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(24)("keys"),o=n(25);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(12);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(34);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(9),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(38),o=n(26);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(21),o=n(12);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(22);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(13),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(1),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(3).f,o=n(8),i=n(0)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(29),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(function(t){return k[t]})}function i(t){var e=t.checked,n=t.loading,r=t.scope,i=t.onAnalytics,c=t.onChange,a=t.disabled,f=t.stylesheets,p=t.styleVariants,h=(0,d.default)(t,["checked","loading","scope","onAnalytics","onChange","disabled","stylesheets","styleVariants"]),_=o(p),b=(0,m.default)(O.default,[].concat((0,l.default)(_),(0,l.default)(f))),x=function(){c({scope:r,value:!e}),i({type:j.change,scope:r})},g=a||n,C=(0,y.default)(b.icon,"fa","fa-check",(0,s.default)({},b.isChecked,e));return v.default.createElement("div",{className:(0,y.default)(b.container,(0,s.default)({},b.disabled,g))},v.default.createElement("label",{className:(0,y.default)(b.inputContainer,(0,s.default)({},b.isChecked,e))},v.default.createElement("input",(0,u.default)({},h,{className:b.checkbox,type:"checkbox",name:r,checked:e,disabled:n||a,onChange:x})),v.default.createElement("span",{className:C})),n&&v.default.createElement("span",{className:b.spinnerContainer},v.default.createElement("span",{className:b.spinner})))}Object.defineProperty(e,"__esModule",{value:!0}),e.CHECKBOX_ANALYTICS=void 0;var c=n(30),u=r(c),a=n(43),s=r(a),f=n(47),l=r(f),p=n(67),d=r(p),h=n(68),v=r(h),_=n(69),y=r(_),b=n(70),x=r(b),g=n(75),m=r(g),C=n(76),O=r(C),k={},j=e.CHECKBOX_ANALYTICS={CHANGE:"change",NAME:"Checkbox"};i.defaultProps={checked:!1,disabled:!1,loading:!1,onAnalytics:function(){},onChange:function(){},scope:j.NAME,stylesheets:[],styleVariants:[]},i.propTypes={checked:x.default.bool.isRequired,disabled:x.default.bool,loading:x.default.bool,onAnalytics:x.default.func,onChange:x.default.func.isRequired,scope:x.default.string.isRequired,stylesheets:x.default.arrayOf(x.default.shape()),styleVariants:x.default.arrayOf(x.default.string)},e.default=i},function(t,e,n){"use strict";e.__esModule=!0;var r=n(31),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},function(t,e,n){t.exports={default:n(32),__esModule:!0}},function(t,e,n){n(33),t.exports=n(2).Object.assign},function(t,e,n){var r=n(5);r(r.S+r.F,"Object",{assign:n(37)})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){t.exports=!n(4)&&!n(10)(function(){return 7!=Object.defineProperty(n(18)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(9);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){"use strict";var r=n(19),o=n(41),i=n(42),c=n(15),u=n(21),a=Object.assign;t.exports=!a||n(10)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=a({},t)[n]||Object.keys(a({},e)).join("")!=r})?function(t,e){for(var n=c(t),a=arguments.length,s=1,f=o.f,l=i.f;a>s;)for(var p,d=u(arguments[s++]),h=f?r(d).concat(f(d)):r(d),v=h.length,_=0;v>_;)l.call(d,p=h[_++])&&(n[p]=d[p]);return n}:a},function(t,e,n){var r=n(8),o=n(20),i=n(39)(!1),c=n(14)("IE_PROTO");t.exports=function(t,e){var n,u=o(t),a=0,s=[];for(n in u)n!=c&&r(u,n)&&s.push(n);for(;e.length>a;)r(u,n=e[a++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(20),o=n(23),i=n(40);t.exports=function(t){return function(e,n,c){var u,a=r(e),s=o(a.length),f=i(c,s);if(t&&n!=n){for(;s>f;)if((u=a[f++])!=u)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var r=n(13),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";e.__esModule=!0;var r=n(44),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t,e,n){return e in t?(0,o.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){t.exports={default:n(45),__esModule:!0}},function(t,e,n){n(46);var r=n(2).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(5);r(r.S+r.F*!n(4),"Object",{defineProperty:n(3).f})},function(t,e,n){"use strict";e.__esModule=!0;var r=n(48),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,o.default)(t)}},function(t,e,n){t.exports={default:n(49),__esModule:!0}},function(t,e,n){n(50),n(60),t.exports=n(2).Array.from},function(t,e,n){"use strict";var r=n(51)(!0);n(52)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(13),o=n(12);t.exports=function(t){return function(e,n){var i,c,u=String(o(e)),a=r(n),s=u.length;return a<0||a>=s?t?"":void 0:(i=u.charCodeAt(a),i<55296||i>56319||a+1===s||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536)}}},function(t,e,n){"use strict";var r=n(53),o=n(5),i=n(54),c=n(6),u=n(8),a=n(16),s=n(55),f=n(27),l=n(59),p=n(0)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,v,_,y,b){s(n,e,v);var x,g,m,C=function(t){if(!d&&t in w)return w[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",k="values"==_,j=!1,w=t.prototype,M=w[p]||w["@@iterator"]||_&&w[_],S=M||C(_),A=_?k?C("entries"):S:void 0,E="Array"==e?w.entries||M:M;if(E&&(m=l(E.call(new t)))!==Object.prototype&&m.next&&(f(m,O,!0),r||u(m,p)||c(m,p,h)),k&&M&&"values"!==M.name&&(j=!0,S=function(){return M.call(this)}),r&&!b||!d&&!j&&w[p]||c(w,p,S),a[e]=S,a[O]=h,_)if(x={values:k?S:C("values"),keys:y?S:C("keys"),entries:A},b)for(g in x)g in w||i(w,g,x[g]);else o(o.P+o.F*(d||j),e,x);return x}},function(t,e){t.exports=!0},function(t,e,n){t.exports=n(6)},function(t,e,n){"use strict";var r=n(56),o=n(11),i=n(27),c={};n(6)(c,n(0)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(c,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(7),o=n(57),i=n(26),c=n(14)("IE_PROTO"),u=function(){},a=function(){var t,e=n(18)("iframe"),r=i.length;for(e.style.display="none",n(58).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[c]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(3),o=n(7),i=n(19);t.exports=n(4)?Object.defineProperties:function(t,e){o(t);for(var n,c=i(e),u=c.length,a=0;u>a;)r.f(t,n=c[a++],e[n]);return t}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(8),o=n(15),i=n(14)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,e,n){"use strict";var r=n(17),o=n(5),i=n(15),c=n(61),u=n(62),a=n(23),s=n(63),f=n(64);o(o.S+o.F*!n(66)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,l,p=i(t),d="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,_=void 0!==v,y=0,b=f(p);if(_&&(v=r(v,h>2?arguments[2]:void 0,2)),void 0==b||d==Array&&u(b))for(e=a(p.length),n=new d(e);e>y;y++)s(n,y,_?v(p[y],y):p[y]);else for(l=b.call(p),n=new d;!(o=l.next()).done;y++)s(n,y,_?c(l,v,[o.value,y],!0):o.value);return n.length=y,n}})},function(t,e,n){var r=n(7);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(16),o=n(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){"use strict";var r=n(3),o=n(11);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(65),o=n(0)("iterator"),i=n(16);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(22),o=n(0)("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){var r=n(0)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],c=i[r]();c.next=function(){return{done:n=!0}},i[r]=function(){return c},t(i)}catch(t){}return n}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}},function(e,n){e.exports=t},function(t,e,n){var r,o;/*!
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("react"));else if("function"==typeof define&&define.amd)define(["react"],e);else{var n=e("object"==typeof exports?require("react"):t.react);for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(this,function(t){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=28)}([function(t,e,n){var r=n(24)("wks"),o=n(25),i=n(1).Symbol,c="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(7),o=n(35),i=n(36),c=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(1),o=n(2),i=n(17),c=n(6),u=function(t,e,n){var a,s,f,l=t&u.F,p=t&u.G,d=t&u.S,h=t&u.P,v=t&u.B,_=t&u.W,y=p?o:o[e]||(o[e]={}),b=y.prototype,x=p?r:d?r[e]:(r[e]||{}).prototype;p&&(n=e);for(a in n)(s=!l&&x&&void 0!==x[a])&&a in y||(f=s?x[a]:n[a],y[a]=p&&"function"!=typeof x[a]?n[a]:v&&s?i(f,r):_&&x[a]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):h&&"function"==typeof f?i(Function.call,f):f,h&&((y.virtual||(y.virtual={}))[a]=f,t&u.R&&b&&!b[a]&&c(b,a,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){var r=n(3),o=n(11);t.exports=n(4)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(24)("keys"),o=n(25);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(12);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(34);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(9),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(38),o=n(26);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(21),o=n(12);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(22);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(13),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(1),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(3).f,o=n(8),i=n(0)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(29),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(function(t){return O[t]})}function i(t){var e=t.checked,n=t.loading,r=t.scope,i=t.onAnalytics,c=t.onChange,a=t.disabled,f=t.stylesheets,p=t.styleVariants,h=(0,d.default)(t,["checked","loading","scope","onAnalytics","onChange","disabled","stylesheets","styleVariants"]),_=o(p),b=(0,m.default)(C.default,[].concat((0,l.default)(_),(0,l.default)(f))),x=function(){c({scope:r,value:!e}),i({type:j.change,scope:r})},g=function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),x())},k=a||n,O=(0,y.default)(b.icon,"fa","fa-check",(0,s.default)({},b.isChecked,e)),w=n||a?-1:0;return v.default.createElement("div",{className:(0,y.default)(b.container,(0,s.default)({},b.disabled,k))},v.default.createElement("label",{className:(0,y.default)(b.inputContainer,(0,s.default)({},b.isChecked,e)),tabIndex:w,onKeyDown:g},v.default.createElement("input",(0,u.default)({},h,{className:b.checkbox,type:"checkbox",name:r,checked:e,disabled:n||a,onChange:x})),v.default.createElement("span",{className:O})),n&&v.default.createElement("span",{className:b.spinnerContainer},v.default.createElement("span",{className:b.spinner})))}Object.defineProperty(e,"__esModule",{value:!0}),e.CHECKBOX_ANALYTICS=void 0;var c=n(30),u=r(c),a=n(43),s=r(a),f=n(47),l=r(f),p=n(67),d=r(p),h=n(68),v=r(h),_=n(69),y=r(_),b=n(70),x=r(b),g=n(75),m=r(g),k=n(76),C=r(k),O={},j=e.CHECKBOX_ANALYTICS={CHANGE:"change",NAME:"Checkbox"};i.defaultProps={checked:!1,disabled:!1,loading:!1,onAnalytics:function(){},onChange:function(){},scope:j.NAME,stylesheets:[],styleVariants:[]},i.propTypes={checked:x.default.bool.isRequired,disabled:x.default.bool,loading:x.default.bool,onAnalytics:x.default.func,onChange:x.default.func.isRequired,scope:x.default.string.isRequired,stylesheets:x.default.arrayOf(x.default.shape()),styleVariants:x.default.arrayOf(x.default.string)},e.default=i},function(t,e,n){"use strict";e.__esModule=!0;var r=n(31),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},function(t,e,n){t.exports={default:n(32),__esModule:!0}},function(t,e,n){n(33),t.exports=n(2).Object.assign},function(t,e,n){var r=n(5);r(r.S+r.F,"Object",{assign:n(37)})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){t.exports=!n(4)&&!n(10)(function(){return 7!=Object.defineProperty(n(18)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(9);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){"use strict";var r=n(19),o=n(41),i=n(42),c=n(15),u=n(21),a=Object.assign;t.exports=!a||n(10)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=a({},t)[n]||Object.keys(a({},e)).join("")!=r})?function(t,e){for(var n=c(t),a=arguments.length,s=1,f=o.f,l=i.f;a>s;)for(var p,d=u(arguments[s++]),h=f?r(d).concat(f(d)):r(d),v=h.length,_=0;v>_;)l.call(d,p=h[_++])&&(n[p]=d[p]);return n}:a},function(t,e,n){var r=n(8),o=n(20),i=n(39)(!1),c=n(14)("IE_PROTO");t.exports=function(t,e){var n,u=o(t),a=0,s=[];for(n in u)n!=c&&r(u,n)&&s.push(n);for(;e.length>a;)r(u,n=e[a++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(20),o=n(23),i=n(40);t.exports=function(t){return function(e,n,c){var u,a=r(e),s=o(a.length),f=i(c,s);if(t&&n!=n){for(;s>f;)if((u=a[f++])!=u)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var r=n(13),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";e.__esModule=!0;var r=n(44),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t,e,n){return e in t?(0,o.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){t.exports={default:n(45),__esModule:!0}},function(t,e,n){n(46);var r=n(2).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(5);r(r.S+r.F*!n(4),"Object",{defineProperty:n(3).f})},function(t,e,n){"use strict";e.__esModule=!0;var r=n(48),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,o.default)(t)}},function(t,e,n){t.exports={default:n(49),__esModule:!0}},function(t,e,n){n(50),n(60),t.exports=n(2).Array.from},function(t,e,n){"use strict";var r=n(51)(!0);n(52)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(13),o=n(12);t.exports=function(t){return function(e,n){var i,c,u=String(o(e)),a=r(n),s=u.length;return a<0||a>=s?t?"":void 0:(i=u.charCodeAt(a),i<55296||i>56319||a+1===s||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536)}}},function(t,e,n){"use strict";var r=n(53),o=n(5),i=n(54),c=n(6),u=n(8),a=n(16),s=n(55),f=n(27),l=n(59),p=n(0)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,v,_,y,b){s(n,e,v);var x,g,m,k=function(t){if(!d&&t in w)return w[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",O="values"==_,j=!1,w=t.prototype,S=w[p]||w["@@iterator"]||_&&w[_],M=S||k(_),A=_?O?k("entries"):M:void 0,E="Array"==e?w.entries||S:S;if(E&&(m=l(E.call(new t)))!==Object.prototype&&m.next&&(f(m,C,!0),r||u(m,p)||c(m,p,h)),O&&S&&"values"!==S.name&&(j=!0,M=function(){return S.call(this)}),r&&!b||!d&&!j&&w[p]||c(w,p,M),a[e]=M,a[C]=h,_)if(x={values:O?M:k("values"),keys:y?M:k("keys"),entries:A},b)for(g in x)g in w||i(w,g,x[g]);else o(o.P+o.F*(d||j),e,x);return x}},function(t,e){t.exports=!0},function(t,e,n){t.exports=n(6)},function(t,e,n){"use strict";var r=n(56),o=n(11),i=n(27),c={};n(6)(c,n(0)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(c,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(7),o=n(57),i=n(26),c=n(14)("IE_PROTO"),u=function(){},a=function(){var t,e=n(18)("iframe"),r=i.length;for(e.style.display="none",n(58).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[c]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(3),o=n(7),i=n(19);t.exports=n(4)?Object.defineProperties:function(t,e){o(t);for(var n,c=i(e),u=c.length,a=0;u>a;)r.f(t,n=c[a++],e[n]);return t}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(8),o=n(15),i=n(14)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,e,n){"use strict";var r=n(17),o=n(5),i=n(15),c=n(61),u=n(62),a=n(23),s=n(63),f=n(64);o(o.S+o.F*!n(66)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,l,p=i(t),d="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,_=void 0!==v,y=0,b=f(p);if(_&&(v=r(v,h>2?arguments[2]:void 0,2)),void 0==b||d==Array&&u(b))for(e=a(p.length),n=new d(e);e>y;y++)s(n,y,_?v(p[y],y):p[y]);else for(l=b.call(p),n=new d;!(o=l.next()).done;y++)s(n,y,_?c(l,v,[o.value,y],!0):o.value);return n.length=y,n}})},function(t,e,n){var r=n(7);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(16),o=n(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){"use strict";var r=n(3),o=n(11);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(65),o=n(0)("iterator"),i=n(16);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(22),o=n(0)("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){var r=n(0)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],c=i[r]();c.next=function(){return{done:n=!0}},i[r]=function(){return c},t(i)}catch(t){}return n}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}},function(e,n){e.exports=t},function(t,e,n){var r,o;/*!
Copyright (c) 2016 Jed Watson.

@@ -6,2 +6,2 @@ Licensed under the MIT License (MIT), see

*/
!function(){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r))t.push(n.apply(null,r));else if("object"===o)for(var c in r)i.call(r,c)&&r[c]&&t.push(c)}}return t.join(" ")}var i={}.hasOwnProperty;void 0!==t&&t.exports?t.exports=n:(r=[],void 0!==(o=function(){return n}.apply(e,r))&&(t.exports=o))}()},function(t,e,n){t.exports=n(71)()},function(t,e,n){"use strict";var r=n(72),o=n(73),i=n(74);t.exports=function(){function t(t,e,n,r,c,u){u!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return n.checkPropTypes=r,n.PropTypes=n,n}},function(t,e,n){"use strict";function r(t){return function(){return t}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(t){return t},t.exports=o},function(t,e,n){"use strict";function r(t,e,n,r,i,c,u,a){if(o(e),!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,r,i,c,u,a],l=0;s=new Error(e.replace(/%s/g,function(){return f[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var o=function(t){};t.exports=r},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e){function n(t){return t&&0===Object.keys(t).length&&"__identity-obj-proxy__"===t["__identity-obj-proxy__"]}t.exports=function(t,e){if(n(t))return t;const r=Object.assign({},t);return e.reduce(function(t,e){return Object.keys(e).reduce(function(t,n){return t[n]&&e[n]&&(t[n]=t[n].split(" ").concat(e[n].split(" ")).join(" ")),t},t)},r)}},function(t,e,n){var r=n(77);"string"==typeof r&&(r=[[t.i,r,""]]);var o={};o.transform=void 0;n(79)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(78)(void 0),e.push([t.i,".container__src-Checkbox__uwPux{display:-ms-flexbox;display:flex;position:relative}.inputContainer__src-Checkbox__2Qk0S{border:2px solid #c3c2c2;cursor:pointer}.inputContainer__src-Checkbox__2Qk0S:hover{border-color:#343739}.inputContainer__src-Checkbox__2Qk0S.isChecked__src-Checkbox__vLTyp{background:#3397ff;border-color:#3397ff}.checkbox__src-Checkbox__hWScj{display:none}.icon__src-Checkbox__1_0zM{color:#fff;height:auto;padding:0 1px;visibility:hidden}.icon__src-Checkbox__1_0zM.isChecked__src-Checkbox__vLTyp{visibility:visible}.spinnerContainer__src-Checkbox__3W70I{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;left:24px;padding-left:8px;position:absolute}.spinner__src-Checkbox__2TnvM{animation:spin__src-Checkbox__18HPc 1.5s linear infinite;border-radius:50%;border:2px solid #f3f3f3;border-top:2px solid #f47e42;height:16px;width:16px}@keyframes spin__src-Checkbox__18HPc{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.disabled__src-Checkbox__s-MoV{cursor:not-allowed}.disabled__src-Checkbox__s-MoV .inputContainer__src-Checkbox__2Qk0S{background:#e7e7e7;border-color:#c3c2c2;cursor:not-allowed}.disabled__src-Checkbox__s-MoV .icon__src-Checkbox__1_0zM{color:#c3c2c2}",""]),e.locals={container:"container__src-Checkbox__uwPux",inputContainer:"inputContainer__src-Checkbox__2Qk0S",isChecked:"isChecked__src-Checkbox__vLTyp",checkbox:"checkbox__src-Checkbox__hWScj",icon:"icon__src-Checkbox__1_0zM",spinnerContainer:"spinnerContainer__src-Checkbox__3W70I",spinner:"spinner__src-Checkbox__2TnvM",spin:"spin__src-Checkbox__18HPc",disabled:"disabled__src-Checkbox__s-MoV"}},function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"})).concat([i]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var c=t[o];"number"==typeof c[0]&&r[c[0]]||(n&&!c[2]?c[2]=n:n&&(c[2]="("+c[2]+") and ("+n+")"),e.push(c))}},e}},function(t,e,n){function r(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=h[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(f(r.parts[i],e))}else{for(var c=[],i=0;i<r.parts.length;i++)c.push(f(r.parts[i],e));h[r.id]={id:r.id,refs:1,parts:c}}}}function o(t,e){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],c=e.base?i[0]+e.base:i[0],u=i[1],a=i[2],s=i[3],f={css:u,media:a,sourceMap:s};r[c]?r[c].parts.push(f):n.push(r[c]={id:c,parts:[f]})}return n}function i(t,e){var n=_(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=x[x.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),x.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function c(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=x.indexOf(t);e>=0&&x.splice(e,1)}function u(t){var e=document.createElement("style");return t.attrs.type="text/css",s(e,t.attrs),i(t,e),e}function a(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",s(e,t.attrs),i(t,e),e}function s(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function f(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var s=b++;n=y||(y=u(e)),r=l.bind(null,n,s,!1),o=l.bind(null,n,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=a(e),r=d.bind(null,n,e),o=function(){c(n),n.href&&URL.revokeObjectURL(n.href)}):(n=u(e),r=p.bind(null,n),o=function(){c(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}function l(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=m(e,o);else{var i=document.createTextNode(o),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(i,c[e]):t.appendChild(i)}}function p(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function d(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=g(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var c=new Blob([r],{type:"text/css"}),u=t.href;t.href=URL.createObjectURL(c),u&&URL.revokeObjectURL(u)}var h={},v=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),_=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}(function(t){return document.querySelector(t)}),y=null,b=0,x=[],g=n(80);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},e.attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=v()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=o(t,e);return r(n,e),function(t){for(var i=[],c=0;c<n.length;c++){var u=n[c],a=h[u.id];a.refs--,i.push(a)}if(t){r(o(t,e),e)}for(var c=0;c<i.length;c++){var a=i[c];if(0===a.refs){for(var s=0;s<a.parts.length;s++)a.parts[s]();delete h[a.id]}}}};var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var o=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(o))return t;var i;return i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}}])});
!function(){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r))t.push(n.apply(null,r));else if("object"===o)for(var c in r)i.call(r,c)&&r[c]&&t.push(c)}}return t.join(" ")}var i={}.hasOwnProperty;void 0!==t&&t.exports?t.exports=n:(r=[],void 0!==(o=function(){return n}.apply(e,r))&&(t.exports=o))}()},function(t,e,n){t.exports=n(71)()},function(t,e,n){"use strict";var r=n(72),o=n(73),i=n(74);t.exports=function(){function t(t,e,n,r,c,u){u!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return n.checkPropTypes=r,n.PropTypes=n,n}},function(t,e,n){"use strict";function r(t){return function(){return t}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(t){return t},t.exports=o},function(t,e,n){"use strict";function r(t,e,n,r,i,c,u,a){if(o(e),!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,r,i,c,u,a],l=0;s=new Error(e.replace(/%s/g,function(){return f[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var o=function(t){};t.exports=r},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e){function n(t){return t&&0===Object.keys(t).length&&"__identity-obj-proxy__"===t["__identity-obj-proxy__"]}t.exports=function(t,e){if(n(t))return t;const r=Object.assign({},t);return e.reduce(function(t,e){return Object.keys(e).reduce(function(t,n){return t[n]&&e[n]&&(t[n]=t[n].split(" ").concat(e[n].split(" ")).join(" ")),t},t)},r)}},function(t,e,n){var r=n(77);"string"==typeof r&&(r=[[t.i,r,""]]);var o={};o.transform=void 0;n(79)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(78)(void 0),e.push([t.i,".container__src-Checkbox__uwPux{display:-ms-flexbox;display:flex;position:relative}.inputContainer__src-Checkbox__2Qk0S{border:2px solid #c3c2c2;cursor:pointer}.inputContainer__src-Checkbox__2Qk0S:focus{border-color:#2188ff;box-shadow:inset 0 1px 2px rgba(27,31,35,.075),0 0 0 .2em rgba(3,102,214,.3);outline:none}.inputContainer__src-Checkbox__2Qk0S:hover{border-color:#343739}.inputContainer__src-Checkbox__2Qk0S.isChecked__src-Checkbox__vLTyp{background:#3397ff;border-color:#3397ff}.checkbox__src-Checkbox__hWScj{display:none}.icon__src-Checkbox__1_0zM{color:#fff;height:auto;padding:0 1px;visibility:hidden}.icon__src-Checkbox__1_0zM.isChecked__src-Checkbox__vLTyp{visibility:visible}.spinnerContainer__src-Checkbox__3W70I{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;left:24px;padding-left:8px;position:absolute}.spinner__src-Checkbox__2TnvM{animation:spin__src-Checkbox__18HPc 1.5s linear infinite;border-radius:50%;border:2px solid #f3f3f3;border-top:2px solid #f47e42;height:16px;width:16px}@keyframes spin__src-Checkbox__18HPc{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.disabled__src-Checkbox__s-MoV{cursor:not-allowed}.disabled__src-Checkbox__s-MoV .inputContainer__src-Checkbox__2Qk0S{background:#e7e7e7;border-color:#c3c2c2;cursor:not-allowed}.disabled__src-Checkbox__s-MoV .icon__src-Checkbox__1_0zM{color:#c3c2c2}",""]),e.locals={container:"container__src-Checkbox__uwPux",inputContainer:"inputContainer__src-Checkbox__2Qk0S",isChecked:"isChecked__src-Checkbox__vLTyp",checkbox:"checkbox__src-Checkbox__hWScj",icon:"icon__src-Checkbox__1_0zM",spinnerContainer:"spinnerContainer__src-Checkbox__3W70I",spinner:"spinner__src-Checkbox__2TnvM",spin:"spin__src-Checkbox__18HPc",disabled:"disabled__src-Checkbox__s-MoV"}},function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"})).concat([i]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var c=t[o];"number"==typeof c[0]&&r[c[0]]||(n&&!c[2]?c[2]=n:n&&(c[2]="("+c[2]+") and ("+n+")"),e.push(c))}},e}},function(t,e,n){function r(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=h[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(f(r.parts[i],e))}else{for(var c=[],i=0;i<r.parts.length;i++)c.push(f(r.parts[i],e));h[r.id]={id:r.id,refs:1,parts:c}}}}function o(t,e){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],c=e.base?i[0]+e.base:i[0],u=i[1],a=i[2],s=i[3],f={css:u,media:a,sourceMap:s};r[c]?r[c].parts.push(f):n.push(r[c]={id:c,parts:[f]})}return n}function i(t,e){var n=_(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=x[x.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),x.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function c(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=x.indexOf(t);e>=0&&x.splice(e,1)}function u(t){var e=document.createElement("style");return t.attrs.type="text/css",s(e,t.attrs),i(t,e),e}function a(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",s(e,t.attrs),i(t,e),e}function s(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function f(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var s=b++;n=y||(y=u(e)),r=l.bind(null,n,s,!1),o=l.bind(null,n,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=a(e),r=d.bind(null,n,e),o=function(){c(n),n.href&&URL.revokeObjectURL(n.href)}):(n=u(e),r=p.bind(null,n),o=function(){c(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}function l(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=m(e,o);else{var i=document.createTextNode(o),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(i,c[e]):t.appendChild(i)}}function p(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function d(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=g(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var c=new Blob([r],{type:"text/css"}),u=t.href;t.href=URL.createObjectURL(c),u&&URL.revokeObjectURL(u)}var h={},v=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),_=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}(function(t){return document.querySelector(t)}),y=null,b=0,x=[],g=n(80);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},e.attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=v()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=o(t,e);return r(n,e),function(t){for(var i=[],c=0;c<n.length;c++){var u=n[c],a=h[u.id];a.refs--,i.push(a)}if(t){r(o(t,e),e)}for(var c=0;c<i.length;c++){var a=i[c];if(0===a.refs){for(var s=0;s<a.parts.length;s++)a.parts[s]();delete h[a.id]}}}};var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var o=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(o))return t;var i;return i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}}])});
{
"name": "@particles/checkbox",
"version": "1.1.1",
"version": "1.2.0",
"description": "Checkbox Component",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -7,2 +7,6 @@ # Checkbox

##### 1.2.0
- Allow particle to accept focus in normal DOM focus flow
- Add support for enter key and space bar to select and deselect
##### 1.1.1

@@ -9,0 +13,0 @@ - `cursor: pointer` in enabled/non-loading state

@@ -32,7 +32,18 @@ import React from 'react';

};
const onKeyDown = (evt) => {
if (evt.key === 'Enter' || evt.key === ' ') {
evt.preventDefault();
handleOnChange();
}
};
const disableCheckbox = disabled || loading;
const checkClasses = cx(styles.icon, 'fa', 'fa-check', { [styles.isChecked]: checked });
const tabIndex = loading || disabled ? -1 : 0;
return (
<div className={cx(styles.container, { [styles.disabled]: disableCheckbox })}>
<label className={cx(styles.inputContainer, { [styles.isChecked]: checked })}>
<label
className={cx(styles.inputContainer, { [styles.isChecked]: checked })}
tabIndex={tabIndex}
onKeyDown={onKeyDown}
>
<input

@@ -39,0 +50,0 @@ {...props}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc