!function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define("helpers",[],t):"object"===typeof exports?exports.helpers=t():e.helpers=t()}("undefined"!==typeof self?self:this,(function(){return function(){"use strict";var e={996:function(e){var t=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?i((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function o(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function u(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function c(e,t){try{return t in e}catch(r){return!1}}function a(e,t,r){var o={};return r.isMergeableObject(e)&&u(e).forEach((function(t){o[t]=n(e[t],r)})),u(t).forEach((function(u){(function(e,t){return c(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,u)||(c(e,u)&&r.isMergeableObject(t[u])?o[u]=function(e,t){if(!t.customMerge)return i;var r=t.customMerge(e);return"function"===typeof r?r:i}(u,r)(e[u],t[u],r):o[u]=n(t[u],r))})),o}function i(e,r,u){(u=u||{}).arrayMerge=u.arrayMerge||o,u.isMergeableObject=u.isMergeableObject||t,u.cloneUnlessOtherwiseSpecified=n;var c=Array.isArray(r);return c===Array.isArray(e)?c?u.arrayMerge(e,r,u):a(e,r,u):n(r,u)}i.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return i(e,r,t)}),{})};var f=i;e.exports=f}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var u=t[n]={exports:{}};return e[n](u,u.exports,r),u.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return function(){r.r(n),r.d(n,{default:function(){return p},isDeepEqual:function(){return f},isEmpty:function(){return a},jsonEqual:function(){return i},merge:function(){return t()},toCamelCase:function(){return s},toCapitalize:function(){return l}});var e=r(996),t=r.n(e);const o=/(?:^\[object\s(.*?)\]$)/;var u=e=>Object.prototype.toString.call(e).replace(o,"$1").toLowerCase();const c=[void 0,null,!1,0,"","0"],a=e=>{let t=!1;switch(u(e)){case"array":t=!e.length;break;case"map":case"set":t=!e.size;break;case"object":t=!Object.keys(e).length;break;default:let r=c.length;for(;r--;)if(e===c[r]){t=!0;break}}return t},i=(e,t)=>JSON.stringify(e)===JSON.stringify(t),f=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e===t)return!0;if("function"===typeof e&&"function"===typeof t)return e.toString()===t.toString();if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();const n=!r||f(Object.getPrototypeOf(e),Object.getPrototypeOf(t),!0),o=Object.getOwnPropertyNames(e),u=Object.getOwnPropertyNames(t);return o.length===u.length&&n&&o.every((r=>f(e[r],t[r])))},s=e=>(e=e.replace(/[-_\s]+(.)?/g,((e,t)=>t?t.toUpperCase():""))).substr(0,1).toLowerCase()+e.substr(1),l=e=>e.toLowerCase().replace(/^\w/,(e=>e.toUpperCase()));var p={merge:t(),isEmpty:a,jsonEqual:i,isDeepEqual:f,toCamelCase:s,toCapitalize:l}}(),n}()}));