Liferay.Loader.define("portal-workflow-kaleo-designer-web@5.0.85/designer/js/definition-builder/util/utils",["module","exports","require"],(function(e,r,t){window;Object.defineProperty(r,"__esModule",{value:!0}),r.isObject=function(e){if("object"==typeof e&&null!==e&&!Array.isArray(e))return!0;return!1},r.isObjectEmpty=function(e){if(!Object.keys(e).length)return!0;return!1},r.removeNewLine=function(e){return e.replace(/\r?\n|\r/g,"")},r.repeatSymbol=function(e,r){let t="";for(let n=r;n>0;n--)t+=e;return t},r.replaceTabSpaces=function(e){return e.replace(/\t/g," ").trimStart().trimEnd()},r.titleCase=function(e){return e.toLowerCase().split(" ").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" ")},r.uncamelize=function(e,r){r||(r="_");return e.replace(/([a-z\d])([A-Z])/g,"$1"+r+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+r+"$2").toLowerCase()}}));
//# sourceMappingURL=utils.js.map