!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}},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 a=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 a.name="Invariant Violation",a}}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)()},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}})},9284:function(r,e){"use strict";e.A={"sugar-calendar-toggle-control":"EFFgLBerkmgT4vs6KR2F","sugar-calendar-toggle-control-icon":"BJM6xwOkBgfI7b21rvVW","sugar-calendar-toggle-control-label":"KNG7TIlcuCkt_VjyqvkS","sugar-calendar-toggle-control-status":"PkDrtZ2V3boKV4QwVzn_","sugar-calendar-toggle-control-status-off":"Qn8Lx83beyUtAqMBQqTm","sugar-calendar-toggle-control-status-on":"rIEHe7WB7weYaBhtlP4r",input:"VIOnyqK1vo4uI0rk3_Lo",error:"wKb5MPa_kLnWxyDZmRec"}},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(4164),i=t(5556),a=t.n(i),c=t(9284),l=["value","onChange","type","placeholder","required","className","error"];(0,o.forwardRef)(function(t,i){var a=t.value,s=t.onChange,f=t.type,p=void 0===f?"text":f,y=t.placeholder,g=void 0===y?"":y,v=t.required,b=void 0!==v&&v,d=t.className,m=t.error,h=void 0!==m&&m,A=(0,n.A)(t,l),O=null;return"number"!==p||b||(O=function(r){s(""===r.target.value?null:r.target.value)}),(0,o.createElement)("input",(0,r.A)({ref:i,type:p,value:null!=a?a:"",onChange:O||s,placeholder:g,required:b,className:(0,u.A)(c.A.input,d,(0,e.A)({},c.A.error,h))},A))}).propTypes={value:a().oneOfType([a().string,a().number]),onChange:a().func.isRequired,type:a().string,placeholder:a().string,required:a().bool,className:a().string,error:a().bool}}()}();