!function(){var r={45:function(r,e,t){"use strict";t.d(e,{A:function(){return o}});var n=t(8587);function o(r,e){if(null==r)return{};var t,o,u=(0,n.A)(r,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(o=0;o<i.length;o++)t=i[o],e.includes(t)||{}.propertyIsEnumerable.call(r,t)&&(u[t]=r[t])}return u}},1609:function(r){"use strict";r.exports=window.React},2284:function(r,e,t){"use strict";function n(r){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},n(r)}t.d(e,{A:function(){return n}})},2327:function(r,e,t){"use strict";t.d(e,{A:function(){return o}});var n=t(2284);function o(r,e){if("object"!=(0,n.A)(r)||!r)return r;var t=r[Symbol.toPrimitive];if(void 0!==t){var o=t.call(r,e||"default");if("object"!=(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(r)}},2694:function(r,e,t){"use strict";var n=t(6925);function o(){}function u(){}u.resetWarningCache=o,r.exports=function(){function r(r,e,t,o,u,i){if(i!==n){var c=new Error("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");throw c.name="Invariant Violation",c}}function e(){return r}r.isRequired=r;var t={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:e,element:r,elementType:r,instanceOf:e,node:r,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:u,resetWarningCache:o};return t.PropTypes=t,t}},4164:function(r,e,t){"use strict";function n(r){var e,t,o="";if("string"==typeof r||"number"==typeof r)o+=r;else if("object"==typeof r)if(Array.isArray(r)){var u=r.length;for(e=0;e<u;e++)r[e]&&(t=n(r[e]))&&(o&&(o+=" "),o+=t)}else for(t in r)r[t]&&(o&&(o+=" "),o+=t);return o}e.A=function(){for(var r,e,t=0,o="",u=arguments.length;t<u;t++)(r=arguments[t])&&(e=n(r))&&(o&&(o+=" "),o+=e);return o}},4467:function(r,e,t){"use strict";t.d(e,{A:function(){return o}});var n=t(9922);function o(r,e,t){return(e=(0,n.A)(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}},5556:function(r,e,t){r.exports=t(2694)()},5769:function(r,e){"use strict";e.A={"sugar-calendar-toggle-control":"v2KHRhuBE7oMI7JZugVv","sugar-calendar-toggle-control-icon":"gtvEnWfDVDXaOZg9Efc7","sugar-calendar-toggle-control-label":"MBH2rSpHSgVuOcgyyZYs","sugar-calendar-toggle-control-status":"KOQqAJGPcrCEytkHOjAk","sugar-calendar-toggle-control-status-off":"YVAfB51KpXHRurYub82E","sugar-calendar-toggle-control-status-on":"QnNshkauOXTR_HrfBJx6",input:"B25zbR6UYRMAbdptXRF3",error:"oehlz2nCvE_2jlDlqL7N",checkbox:"bduYageP5GIKUyr84fUv"}},6087:function(r){"use strict";r.exports=window.wp.element},6925:function(r){"use strict";r.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8168:function(r,e,t){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)({}).hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},n.apply(null,arguments)}t.d(e,{A:function(){return n}})},8587:function(r,e,t){"use strict";function n(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}t.d(e,{A:function(){return n}})},9922:function(r,e,t){"use strict";t.d(e,{A:function(){return u}});var n=t(2284),o=t(2327);function u(r){var e=(0,o.A)(r,"string");return"symbol"==(0,n.A)(e)?e:e+""}}},e={};function t(n){var o=e[n];if(void 0!==o)return o.exports;var u=e[n]={exports:{}};return r[n](u,u.exports,t),u.exports}t.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(e,{a:e}),e},t.d=function(r,e){for(var n in e)t.o(e,n)&&!t.o(r,n)&&Object.defineProperty(r,n,{enumerable:!0,get:e[n]})},t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},function(){"use strict";var r=t(8168),e=t(4467),n=t(45),o=t(6087),u=t(1609),i=t(4164),c=t(5556),a=t.n(c),s=t(5769),l=["value","onChange","id","name","label","className","required","error"];(0,u.forwardRef)(function(t,u){var c,a=t.value,f=t.onChange,p=t.id,y=t.name,b=t.label,g=t.className,d=t.required,v=void 0!==d&&d,m=t.error,h=void 0!==m&&m,A=(0,n.A)(t,l);return p=p||y,f&&(c=function(r){f(r.target.checked)}),(0,o.createElement)("div",{className:s.A.checkbox},(0,o.createElement)("input",(0,r.A)({ref:u,type:"checkbox",id:p,name:y,checked:a,value:"1",required:v,onChange:c,className:(0,i.A)(g,(0,e.A)({},s.A.error,h))},A)),b&&(0,o.createElement)("label",{htmlFor:p},b))}).propTypes={value:a().bool,onChange:a().func.isRequired,required:a().bool,className:a().string,error:a().bool}}()}();