Liferay.Loader.define("dynamic-data-mapping-form-field-type$text-mask-addons@3.8.0/dist/createNumberMask",["module","exports","require"],(function(r,c,a){var l,u,s=void 0;window;l=this,u=function(){return function(r){function t(a){if(c[a])return c[a].exports;var l=c[a]={exports:{},id:a,loaded:!1};return r[a].call(l.exports,l,l.exports,t),l.loaded=!0,l.exports}var c={};return t.m=r,t.c=c,t.p="",t(0)}([function(r,c,a){r.exports=a(2)},,function(r,c){"use strict";function n(r){return r.split(u).map((function(r){return y.test(r)?y:r}))}function i(r,c){return r.replace(/\B(?=(\d{3})+(?!\d))/g,c)}Object.defineProperty(c,"__esModule",{value:!0});var a="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};c.default=function o(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,c=r.length;if(r===u||r[0]===g[0]&&1===c)return g.split(u).concat([y]).concat(x.split(u));if(r===$&&N)return g.split(u).concat(["0",$,y]).concat(x.split(u));var l=r[0]===p&&E;l&&(r=r.toString().substr(1));var s=r.lastIndexOf($),d=-1!==s,h=void 0,S=void 0,k=void 0;if(r.slice(-1*z)===x&&(r=r.slice(0,-1*z)),d&&(N||_)?(h=r.slice(r.slice(0,Z)===g?Z:0,s),S=n((S=r.slice(s+1,c)).replace(v,u))):h=r.slice(0,Z)===g?r.slice(Z):r,T&&(void 0===T?"undefined":a(T))===m){var M="."===L?"[.]":""+L,j=(h.match(new RegExp(M,"g"))||[]).length;h=h.slice(0,T+j*A)}return h=h.replace(v,u),P||(h=h.replace(/^0+(0$|[^0])/,"$1")),k=n(h=w?i(h,L):h),(d&&N||!0===_)&&(r[s-1]!==$&&k.push(b),k.push($,b),S&&((void 0===O?"undefined":a(O))===m&&(S=S.slice(0,O)),k=k.concat(S)),!0===_&&r[s-1]===$&&k.push(y)),Z>0&&(k=g.split(u).concat(k)),l&&(k.length===Z&&k.push(y),k=[f].concat(k)),x.length>0&&(k=k.concat(x.split(u))),k}var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=r.prefix,g=void 0===c?l:c,h=r.suffix,x=void 0===h?u:h,S=r.includeThousandsSeparator,w=void 0===S||S,k=r.thousandsSeparatorSymbol,L=void 0===k?s:k,M=r.allowDecimal,N=void 0!==M&&M,j=r.decimalSymbol,$=void 0===j?d:j,D=r.decimalLimit,O=void 0===D?2:D,q=r.requireDecimal,_=void 0!==q&&q,B=r.allowNegative,E=void 0!==B&&B,I=r.allowLeadingZeroes,P=void 0!==I&&I,R=r.integerLimit,T=void 0===R?null:R,Z=g&&g.length||0,z=x&&x.length||0,A=L&&L.length||0;return e.instanceOf="createNumberMask",e};var l="$",u="",s=",",d=".",p="-",f=/-/,v=/\D+/g,m="number",y=/\d/,b="[]"}])},"object"==typeof c&&"object"==typeof r?r.exports=u():"function"==typeof s&&s.amd?s([],u):"object"==typeof c?c.createNumberMask=u():l.createNumberMask=u()}));
//# sourceMappingURL=createNumberMask.js.map