Liferay.Loader.define("data-engine-js-components-web@1.0.55/js/utils/strings",["module","exports","require"],(function(e,n,t){window;{Object.defineProperty(n,"__esModule",{value:!0}),n.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},n.sub=function(n,t){const i=n.split(e).filter((e=>0!==e.length));for(let e=0;e<t.length;e++){const n=t[e],o="{".concat(e,"}");let r=i.indexOf(o);for(;r>=0;)i.splice(r,1,n),r=i.indexOf(o)}return i.join("")},n.subWords=function(e,n){const i=e.split(t).filter((e=>0!==e.length));return Object.keys(n).forEach((e=>{const t="{".concat(e,"}");let o=i.indexOf(t);for(;o>=0;)i.splice(o,1,n[e]),o=i.indexOf(t)})),i.join("")};const e=/({\d+})/g,t=/({\w+})/g}}));
//# sourceMappingURL=strings.js.map