inputmask
Advanced tools
Comparing version 4.0.0-beta.52 to 4.0.0-beta.54
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(a){"function"==typeof define&&define.amd?define(["jquery","../inputmask","../global/document"],a):"object"==typeof exports?module.exports=a(require("jquery"),require("../inputmask"),require("../global/document")):a(jQuery,window.Inputmask,document)}(function(a,t,n){a(n).ajaxComplete(function(n,i,e){-1!==a.inArray("html",e.dataTypes)&&a(".inputmask, [data-inputmask], [data-inputmask-mask], [data-inputmask-alias]").each(function(a,n){void 0===n.inputmask&&t().mask(n)})}).ready(function(){a(".inputmask, [data-inputmask], [data-inputmask-mask], [data-inputmask-alias]").each(function(a,n){void 0===n.inputmask&&t().mask(n)})})}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["jqlite","../global/window","../global/document"],e):"object"==typeof exports?module.exports=e(require("jqlite"),require("../global/window"),require("../global/document")):window.dependencyLib=e(jqlite,window,document)}(function(e,n,t){function o(e){return null!=e&&e===e.window}return e.inArray=function(e,n,t){return null==n?-1:function(e,n){for(var t=0,o=e.length;t<o;t++)if(e[t]===n)return t;return-1}(n,e)},e.isFunction=function(e){return"function"==typeof e},e.isArray=Array.isArray,e.isPlainObject=function(e){return"object"==typeof e&&!e.nodeType&&!o(e)&&!(e.constructor&&!Object.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))},e.extend=function(){var n,t,o,r,i,u,l=arguments[0]||{},c=1,a=arguments.length,f=!1;for("boolean"==typeof l&&(f=l,l=arguments[c]||{},c++),"object"==typeof l||e.isFunction(l)||(l={}),c===a&&(l=this,c--);c<a;c++)if(null!=(n=arguments[c]))for(t in n)o=l[t],l!==(r=n[t])&&(f&&r&&(e.isPlainObject(r)||(i=e.isArray(r)))?(i?(i=!1,u=o&&e.isArray(o)?o:[]):u=o&&e.isPlainObject(o)?o:{},l[t]=e.extend(f,u,r)):void 0!==r&&(l[t]=r));return l},e.each=function(e,n){var t,r,i,u=0;if(r="length"in(t=e)&&t.length,"function"!==(i=typeof t)&&!o(t)&&(1===t.nodeType&&r||"array"===i||0===r||"number"==typeof r&&r>0&&r-1 in t))for(var l=e.length;u<l&&!1!==n.call(e[u],u,e[u]);u++);else for(u in e)if(!1===n.call(e[u],u,e[u]))break;return e},e.data=function(n,t,o){return e(n).data(t,o)},e.Event=e.Event||function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var o=t.createEvent("CustomEvent");return o.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),o},e.Event.prototype=n.Event.prototype,e}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):window.dependencyLib=e(jQuery)}(function(e){return e}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["../global/window","../global/document"],e):"object"==typeof exports?module.exports=e(require("../global/window"),require("../global/document")):window.dependencyLib=e(window,document)}(function(e,t){function n(e){return null!=e&&e===e.window}function i(e){return e instanceof Element}function o(n){return n instanceof o?n:this instanceof o?void(void 0!==n&&null!==n&&n!==e&&(this[0]=n.nodeName?n:void 0!==n[0]&&n[0].nodeName?n[0]:t.querySelector(n),void 0!==this[0]&&null!==this[0]&&(this[0].eventRegistry=this[0].eventRegistry||{}))):new o(n)}return o.prototype={on:function(e,t){if(i(this[0])){var n=this[0].eventRegistry,o=this[0];for(var r=e.split(" "),a=0;a<r.length;a++){var l=r[a].split("."),s=l[0],f=l[1]||"global";c=s,u=f,o.addEventListener?o.addEventListener(c,t,!1):o.attachEvent&&o.attachEvent("on"+c,t),n[c]=n[c]||{},n[c][u]=n[c][u]||[],n[c][u].push(t)}}var c,u;return this},off:function(e,t){if(i(this[0])){var n=this[0].eventRegistry,o=this[0];function r(e,t,i){if(e in n==!0)if(o.removeEventListener?o.removeEventListener(e,i,!1):o.detachEvent&&o.detachEvent("on"+e,i),"global"===t)for(var r in n[e])n[e][r].splice(n[e][r].indexOf(i),1);else n[e][t].splice(n[e][t].indexOf(i),1)}function a(e,i){var o,r,a=[];if(e.length>0)if(void 0===t)for(o=0,r=n[e][i].length;o<r;o++)a.push({ev:e,namespace:i&&i.length>0?i:"global",handler:n[e][i][o]});else a.push({ev:e,namespace:i&&i.length>0?i:"global",handler:t});else if(i.length>0)for(var l in n)for(var s in n[l])if(s===i)if(void 0===t)for(o=0,r=n[l][s].length;o<r;o++)a.push({ev:l,namespace:s,handler:n[l][s][o]});else a.push({ev:l,namespace:s,handler:t});return a}for(var l=e.split(" "),s=0;s<l.length;s++)for(var f=l[s].split("."),c=a(f[0],f[1]),u=0,v=c.length;u<v;u++)r(c[u].ev,c[u].namespace,c[u].handler)}return this},trigger:function(e){if(i(this[0]))for(var n=this[0].eventRegistry,r=this[0],a="string"==typeof e?e.split(" "):[e.type],l=0;l<a.length;l++){var s=a[l].split("."),f=s[0],c=s[1]||"global";if(void 0!==t&&"global"===c){var u,v,d={bubbles:!0,cancelable:!0,detail:arguments[1]};if(t.createEvent){try{u=new CustomEvent(f,d)}catch(e){(u=t.createEvent("CustomEvent")).initCustomEvent(f,d.bubbles,d.cancelable,d.detail)}e.type&&o.extend(u,e),r.dispatchEvent(u)}else(u=t.createEventObject()).eventType=f,u.detail=arguments[1],e.type&&o.extend(u,e),r.fireEvent("on"+u.eventType,u)}else if(void 0!==n[f])if(arguments[0]=arguments[0].type?arguments[0]:o.Event(arguments[0]),"global"===c)for(var p in n[f])for(v=0;v<n[f][p].length;v++)n[f][p][v].apply(r,arguments);else for(v=0;v<n[f][c].length;v++)n[f][c][v].apply(r,arguments)}return this}},o.isFunction=function(e){return"function"==typeof e},o.noop=function(){},o.isArray=Array.isArray,o.inArray=function(e,t,n){return null==t?-1:function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}(t,e)},o.valHooks=void 0,o.isPlainObject=function(e){return"object"==typeof e&&!e.nodeType&&!n(e)&&!(e.constructor&&!Object.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))},o.extend=function(){var e,t,n,i,r,a,l=arguments[0]||{},s=1,f=arguments.length,c=!1;for("boolean"==typeof l&&(c=l,l=arguments[s]||{},s++),"object"==typeof l||o.isFunction(l)||(l={}),s===f&&(l=this,s--);s<f;s++)if(null!=(e=arguments[s]))for(t in e)n=l[t],l!==(i=e[t])&&(c&&i&&(o.isPlainObject(i)||(r=o.isArray(i)))?(r?(r=!1,a=n&&o.isArray(n)?n:[]):a=n&&o.isPlainObject(n)?n:{},l[t]=o.extend(c,a,i)):void 0!==i&&(l[t]=i));return l},o.each=function(e,t){var i,o,r,a=0;if(o="length"in(i=e)&&i.length,"function"!==(r=typeof i)&&!n(i)&&(1===i.nodeType&&o||"array"===r||0===o||"number"==typeof o&&o>0&&o-1 in i))for(var l=e.length;a<l&&!1!==t.call(e[a],a,e[a]);a++);else for(a in e)if(!1===t.call(e[a],a,e[a]))break;return e},o.data=function(e,t,n){if(void 0===n)return e.__data?e.__data[t]:null;e.__data=e.__data||{},e.__data[t]=n},"function"==typeof e.CustomEvent?o.Event=e.CustomEvent:(o.Event=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=t.createEvent("CustomEvent");return i.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),i},o.Event.prototype=e.Event.prototype),o}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
"function"==typeof define&&define.amd?define(function(){return document}):"object"==typeof exports&&(module.exports=document); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
"function"==typeof define&&define.amd?define(function(){return window}):"object"==typeof exports&&(module.exports=window); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(t){"function"==typeof define&&define.amd?define(["./dependencyLibs/inputmask.dependencyLib","./inputmask"],t):"object"==typeof exports?module.exports=t(require("./dependencyLibs/inputmask.dependencyLib"),require("./inputmask")):t(window.dependencyLib||jQuery,window.Inputmask)}(function(t,e){var o={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return i(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return i(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return i(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return i(Date.prototype.getFullYear.call(this),4)}],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return i(Date.prototype.getHours.call(this),2)}],hhh:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["[01][0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return i(Date.prototype.getHours.call(this),2)}],HHH:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["[0-5][0-9]",Date.prototype.setMinutes,"minutes",function(){return i(Date.prototype.getMinutes.call(this),2)}],s:["[1-5]?[0-9]",Date.prototype.setSeconds,"seconds",Date.prototype.getSeconds],ss:["[0-5][0-9]",Date.prototype.setSeconds,"seconds",function(){return i(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return i(Date.prototype.getMilliseconds.call(this),3)}],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return i(Date.prototype.getMilliseconds.call(this),2)}],t:["[ap]"],tt:["[ap]m"],T:["[AP]"],TT:["[AP]M"],Z:[""],o:[""],S:[""]},a={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function r(t){if(!t.tokenizer){var e=[];for(var a in o)-1===e.indexOf(a[0])&&e.push(a[0]);t.tokenizer="("+e.join("+|")+")+?|.",t.tokenizer=new RegExp(t.tokenizer,"g")}return t.tokenizer}function n(t,a,n){for(var i,s="";i=r(n).exec(t);){if(void 0===a)if(o[i[0]])s+="("+o[i[0]][0]+")";else switch(i[0]){case"[":s+="(";break;case"]":s+=")?";break;default:s+=e.escapeRegex(i[0])}else if(o[i[0]])s+=o[i[0]][3].call(a.date);else s+=i[0]}return s}function i(t,e){for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t}function s(t,e,a){var n,i,s,u={date:new Date(1,0,1)},p=t;function y(t,e,o){var r,i;"year"===n?(t[n]=(i=4===(r=e).length?r:(new Date).getFullYear().toString().substr(0,4-r.length)+r,a.min&&a.min.year&&a.max&&a.max.year?(i=i.replace(/[^0-9]/g,""),i+=a.min.year==a.max.year?a.min.year.substr(i.length):(""!==i&&0==a.max.year.indexOf(i)?parseInt(a.max.year)-1:parseInt(a.min.year)+1).toString().substr(i.length)):i=i.replace(/[^0-9]/g,"0"),i),t["raw"+n]=e):t[n]=o.min&&e.match(/[^0-9]/)?o.min[n]:e,void 0!==s&&s.call(t.date,"month"==n?parseInt(t[n])-1:t[n])}if("string"==typeof p){for(;i=r(a).exec(e);){var m=p.slice(0,i[0].length);o.hasOwnProperty(i[0])&&(n=o[i[0]][2],s=o[i[0]][1],y(u,m,a)),p=p.slice(m.length)}return u}}return e.extendAliases({datetime:{mask:function(t){return o.S=t.i18n.ordinalSuffix.join("|"),t.inputFormat=a[t.inputFormat]||t.inputFormat,t.displayFormat=a[t.displayFormat]||t.displayFormat||t.inputFormat,t.outputFormat=a[t.outputFormat]||t.outputFormat||t.inputFormat,t.placeholder=""!==t.placeholder?t.placeholder:t.inputFormat.replace(/[\[\]]/,""),t.min=s(t.min,t.inputFormat,t),t.max=s(t.max,t.inputFormat,t),t.regex=n(t.inputFormat,void 0,t),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:void 0,outputFormat:void 0,min:null,max:null,i18n:{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]},postValidation:function(t,e,o){var a,r,n,i,u,p=e,y=s(t.join(""),o.inputFormat,o);return p&&y.date.getTime()==y.date.getTime()&&(i=y,u=p,p=(p=(!isFinite(i.day)||"29"==i.day&&!isFinite(i.rawyear)||new Date(i.date.getFullYear(),isFinite(i.month)?i.month:i.date.getMonth()+1,0).getDate()>=i.day)&&u)&&(a=y,n=!0,(r=o).min&&r.min.date.getTime()==r.min.date.getTime()&&(n=r.min.date.getTime()<=a.date.getTime()),n&&r.max&&r.max.date.getTime()==r.max.date.getTime()&&(n=r.max.date.getTime()>=a.date.getTime()),n)),p},onKeyDown:function(o,a,n,s){if(o.ctrlKey&&o.keyCode===e.keyCode.RIGHT){for(var u,p=new Date,y="";u=r(s).exec(s.inputFormat);)"d"===u[0].charAt(0)?y+=i(p.getDate(),u[0].length):"m"===u[0].charAt(0)?y+=i(p.getMonth()+1,u[0].length):"yyyy"===u[0]?y+=p.getFullYear().toString():"y"===u[0].charAt(0)&&(y+=i(p.getYear(),u[0].length));this.inputmask._valueSet(y),t(this).trigger("setvalue")}},onUnMask:function(t,e,o){return n(o.outputFormat,s(t,o.inputFormat,o),o)},casing:function(t,e,o,a){return 0==e.nativeDef.indexOf("[ap]")?t.toLowerCase():0==e.nativeDef.indexOf("[AP]")?t.toUpperCase():t},insertMode:!1}}),e}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["./dependencyLibs/inputmask.dependencyLib","./inputmask"],e):"object"==typeof exports?module.exports=e(require("./dependencyLibs/inputmask.dependencyLib"),require("./inputmask")):e(window.dependencyLib||jQuery,window.Inputmask)}(function(e,i){return i.extendDefinitions({A:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"&":{validator:"[0-9A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}}),i.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)//.*",autoUnmask:!1},ip:{mask:"i[i[i]].i[i[i]].i[i[i]].i[i[i]]",definitions:{i:{validator:function(e,i,n,a,t){return n-1>-1&&"."!==i.buffer[n-1]?(e=i.buffer[n-1]+e,e=n-2>-1&&"."!==i.buffer[n-2]?i.buffer[n-2]+e:"0"+e):e="00"+e,new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]").test(e)}}},onUnMask:function(e,i,n){return e},inputmode:"numeric"},email:{mask:"*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",greedy:!1,casing:"lower",onBeforePaste:function(e,i){return(e=e.toLowerCase()).replace("mailto:","")},definitions:{"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(e,i,n){return e},inputmode:"email"},mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0}}),i}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["./dependencyLibs/inputmask.dependencyLib","./global/window","./global/document"],e):"object"==typeof exports?module.exports=e(require("./dependencyLibs/inputmask.dependencyLib"),require("./global/window"),require("./global/document")):window.Inputmask=e(window.dependencyLib||jQuery,window,document)}(function(e,t,n,i){var a=navigator.userAgent,r=f("touchstart"),o=/iemobile/i.test(a),s=/iphone/i.test(a)&&!o;function l(t,n,a){if(!(this instanceof l))return new l(t,n,a);this.el=i,this.events={},this.maskset=i,this.refreshValue=!1,!0!==a&&(e.isPlainObject(t)?n=t:(n=n||{},t&&(n.alias=t)),this.opts=e.extend(!0,{},this.defaults,n),this.noMasksCache=n&&n.definitions!==i,this.userOptions=n||{},this.isRTL=this.opts.numericInput,u(this.opts.alias,n,this.opts))}function u(t,n,a){var r=l.prototype.aliases[t];return r?(r.alias&&u(r.alias,i,a),e.extend(!0,a,r),e.extend(!0,a,n),!0):(null===a.mask&&(a.mask=t),!1)}function c(t,n){function a(t,a,r){var o=!1;if(null!==t&&""!==t||((o=null!==r.regex)?t=(t=r.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(o=!0,t=".*")),1===t.length&&!1===r.greedy&&0!==r.repeat&&(r.placeholder=""),r.repeat>0||"*"===r.repeat||"+"===r.repeat){var s="*"===r.repeat?0:"+"===r.repeat?1:r.repeat;t=r.groupmarker[0]+t+r.groupmarker[1]+r.quantifiermarker[0]+s+","+r.repeat+r.quantifiermarker[1]}var u,c=o?"regex_"+r.regex:r.numericInput?t.split("").reverse().join(""):t;return l.prototype.masksCache[c]===i||!0===n?(u={mask:t,maskToken:l.prototype.analyseMask(t,o,r),validPositions:{},_buffer:i,buffer:i,tests:{},excludes:{},metadata:a,maskLength:i},!0!==n&&(l.prototype.masksCache[c]=u,u=e.extend(!0,{},l.prototype.masksCache[c]))):u=e.extend(!0,{},l.prototype.masksCache[c]),u}if(e.isFunction(t.mask)&&(t.mask=t.mask(t)),e.isArray(t.mask)){if(t.mask.length>1){if(null===t.keepStatic){t.keepStatic="auto";for(var r=0;r<t.mask.length;r++)if(t.mask[r].charAt(0)!==t.mask[0].charAt(0)){t.keepStatic=!0;break}}var o=t.groupmarker[0];return e.each(t.isRTL?t.mask.reverse():t.mask,function(n,a){o.length>1&&(o+=t.groupmarker[1]+t.alternatormarker+t.groupmarker[0]),a.mask===i||e.isFunction(a.mask)?o+=a:o+=a.mask}),a(o+=t.groupmarker[1],t.mask,t)}t.mask=t.mask.pop()}return t.mask&&t.mask.mask!==i&&!e.isFunction(t.mask.mask)?a(t.mask.mask,t.mask,t):a(t.mask,t.mask,t)}function f(e){var t=n.createElement("input"),i="on"+e,a=i in t;return a||(t.setAttribute(i,"return;"),a="function"==typeof t[i]),t=null,a}function p(a,u,c){u=u||this.maskset,c=c||this.opts;var h,m,d,v,k=this,g=this.el,b=this.isRTL,y=!1,P=!1,C=!1,E=!1,x=!1;function _(e,t,n,a,r){var o=c.greedy;r&&(c.greedy=!1),t=t||0;var s,l,u,f=[],p=0,h=O();do{if(!0===e&&A().validPositions[p])l=(u=!r||!0!==A().validPositions[p].match.optionality||!0!==A().validPositions[p].generatedInput&&A().validPositions[p].input!=c.skipOptionalPartCharacter||A().validPositions[p+1]!==i?A().validPositions[p]:j(p,B(p,s,p-1))).match,s=u.locator.slice(),f.push(!0===n?u.input:!1===n?l.nativeDef:$(p,l));else{l=(u=D(p,s,p-1)).match,s=u.locator.slice();var m=!0!==a&&(!1!==c.jitMasking?c.jitMasking:l.jit);(!1===m||m===i||p<h||"number"==typeof m&&isFinite(m)&&m>p)&&f.push(!1===n?l.nativeDef:$(p,l))}"auto"===c.keepStatic&&l.newBlockMarker&&null!==l.fn&&(c.keepStatic=p-1),p++}while((d===i||p<d)&&(null!==l.fn||""!==l.def)||t>p);return""===f[f.length-1]&&f.pop(),!1===n&&A().maskLength!==i||(A().maskLength=p-1),c.greedy=o,f}function A(){return u}function w(e){var t=A();t.buffer=i,!0!==e&&(t.validPositions={},t.p=0)}function O(e,t,n){var a=-1,r=-1,o=n||A().validPositions;for(var s in e===i&&(e=-1),o){var l=parseInt(s);o[l]&&(t||!0!==o[l].generatedInput)&&(l<=e&&(a=l),l>=e&&(r=l))}return-1===a||a==e?r:-1==r?a:e-a<r-e?a:r}function M(e){var t=e.locator[e.alternation];return"string"==typeof t&&t.length>0&&(t=t.split(",")[0]),t!==i?t.toString():""}function S(e,t){var n=(e.alternation!=i?e.mloc[M(e)]:e.locator).join("");if(""!==n)for(;n.length<t;)n+="0";return n}function j(e,t){for(var n,a,r,o=S(G(e=e>0?e-1:0)),s=0;s<t.length;s++){var l=t[s];n=S(l,o.length);var u=Math.abs(n-o);(a===i||""!==n&&u<a||r&&r.match.optionality&&"master"===r.match.newBlockMarker&&(!l.match.optionality||!l.match.newBlockMarker)||r&&r.match.optionalQuantifier&&!l.match.optionalQuantifier)&&(a=u,r=l)}return r}function D(e,t,n){return A().validPositions[e]||j(e,B(e,t?t.slice():t,n))}function G(e,t){return A().validPositions[e]?A().validPositions[e]:(t||B(e))[0]}function T(e,t){for(var n=!1,i=B(e),a=0;a<i.length;a++)if(i[a].match&&i[a].match.def===t){n=!0;break}return n}function B(t,n,a){var r,o,s,l,u=A().maskToken,f=n?a:0,p=n?n.slice():[0],h=[],m=!1,d=n?n.join(""):"";function v(n,a,o,s){function l(o,s,u){function p(t,n){var i=0===e.inArray(t,n.matches);return i||e.each(n.matches,function(e,a){if(!0===a.isQuantifier?i=p(t,n.matches[e-1]):!0===a.isOptional?i=p(t,a):!0===a.isAlternate&&(i=p(t,a)),i)return!1}),i}function k(t,n,a){var r,o;if((A().tests[t]||A().validPositions[t])&&e.each(A().tests[t]||[A().validPositions[t]],function(e,t){if(t.mloc[n])return r=t,!1;var s=a!==i?a:t.alternation,l=t.locator[s]!==i?t.locator[s].toString().indexOf(n):-1;(o===i||l<o)&&-1!==l&&(r=t,o=l)}),r){var s=r.locator[r.alternation];return(r.mloc[n]||r.mloc[s]||r.locator).slice((a!==i?a:r.alternation)+1)}return a!==i?k(t,n):i}function g(e,t){function n(e){for(var t,n,i=[],a=0,r=e.length;a<r;a++)if("-"===e.charAt(a))for(n=e.charCodeAt(a+1);++t<n;)i.push(String.fromCharCode(t));else t=e.charCodeAt(a),i.push(e.charAt(a));return i.join("")}return c.regex&&null!==e.match.fn&&null!==t.match.fn?-1!==n(t.match.def.replace(/[\[\]]/g,"")).indexOf(n(e.match.def.replace(/[\[\]]/g,""))):e.match.def===t.match.nativeDef}function b(e,t){if(t===i||e.alternation===t.alternation&&-1===e.locator[e.alternation].toString().indexOf(t.locator[t.alternation])){e.mloc=e.mloc||{};var n=e.locator[e.alternation];if(n!==i){if("string"==typeof n&&(n=n.split(",")[0]),e.mloc[n]===i&&(e.mloc[n]=e.locator.slice()),t!==i){for(var a in t.mloc)"string"==typeof a&&(a=a.split(",")[0]),e.mloc[a]===i&&(e.mloc[a]=t.mloc[a]);e.locator[e.alternation]=Object.keys(e.mloc).join(",")}return!0}e.alternation=i}return!1}if(f>5e3)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+A().mask;if(f===t&&o.matches===i)return h.push({match:o,locator:s.reverse(),cd:d,mloc:{}}),!0;if(o.matches!==i){if(o.isGroup&&u!==o){if(o=l(n.matches[e.inArray(o,n.matches)+1],s))return!0}else if(o.isOptional){var y=o;if(o=v(o,a,s,u)){if(e.each(h,function(e,t){t.match.optionality=!0}),r=h[h.length-1].match,u!==i||!p(r,y))return!0;m=!0,f=t}}else if(o.isAlternator){var P,C=o,E=[],x=h.slice(),_=s.length,w=a.length>0?a.shift():-1;if(-1===w||"string"==typeof w){var O,M=f,S=a.slice(),j=[];if("string"==typeof w)j=w.split(",");else for(O=0;O<C.matches.length;O++)j.push(O.toString());if(A().excludes[t]){for(var D=j.slice(),G=0,T=A().excludes[t].length;G<T;G++)j.splice(j.indexOf(A().excludes[t][G].toString()),1);0===j.length&&(A().excludes[t]=i,j=D)}(!0===c.keepStatic||isFinite(parseInt(c.keepStatic))&&M>=c.keepStatic)&&(j=j.slice(0,1));for(var B=!1,L=0;L<j.length;L++){O=parseInt(j[L]),h=[],a="string"==typeof w&&k(f,O,_)||S.slice(),C.matches[O]&&l(C.matches[O],[O].concat(s),u)?o=!0:0===L&&(B=!0),P=h.slice(),f=M,h=[];for(var F=0;F<P.length;F++){var I=P[F],N=!1;I.match.jit=I.match.jit||B,I.alternation=I.alternation||_,b(I);for(var R=0;R<E.length;R++){var K=E[R];if("string"!=typeof w||I.alternation!==i&&-1!==e.inArray(I.locator[I.alternation].toString(),j)){if(I.match.nativeDef===K.match.nativeDef){N=!0,b(K,I);break}if(g(I,K)){b(I,K)&&(N=!0,E.splice(E.indexOf(K),0,I));break}if(g(K,I)){b(K,I);break}if(Q=K,null===(U=I).match.fn&&null!==Q.match.fn&&Q.match.fn.test(U.match.def,A(),t,!1,c,!1)){b(I,K)&&(N=!0,E.splice(E.indexOf(K),0,I));break}}}N||E.push(I)}}h=x.concat(E),f=t,m=h.length>0,o=E.length>0,a=S.slice()}else o=l(C.matches[w]||n.matches[w],[w].concat(s),u);if(o)return!0}else if(o.isQuantifier&&u!==n.matches[e.inArray(o,n.matches)-1])for(var V=o,H=a.length>0?a.shift():0;H<(isNaN(V.quantifier.max)?H+1:V.quantifier.max)&&f<=t;H++){var q=n.matches[e.inArray(V,n.matches)-1];if(o=l(q,[H].concat(s),q)){if((r=h[h.length-1].match).optionalQuantifier=H>V.quantifier.min-1,r.jit=H+q.matches.indexOf(r)>=V.quantifier.jit,p(r,q)&&H>V.quantifier.min-1){m=!0,f=t;break}if(V.quantifier.jit!==i&&isNaN(V.quantifier.max)&&r.optionalQuantifier&&A().validPositions[t-1]===i){h.pop(),m=!0,f=t,d=i;break}return!0}}else if(o=v(o,a,s,u))return!0}else f++;var U,Q}for(var u=a.length>0?a.shift():0;u<n.matches.length;u++)if(!0!==n.matches[u].isQuantifier){var p=l(n.matches[u],[u].concat(o),s);if(p&&f===t)return p;if(f>t)break}}if(t>-1){if(n===i){for(var k,g=t-1;(k=A().validPositions[g]||A().tests[g])===i&&g>-1;)g--;k!==i&&g>-1&&(o=g,s=k,l=[],e.isArray(s)||(s=[s]),s.length>0&&(s[0].alternation===i?0===(l=j(o,s.slice()).locator.slice()).length&&(l=s[0].locator.slice()):e.each(s,function(e,t){if(""!==t.def)if(0===l.length)l=t.locator.slice();else for(var n=0;n<l.length;n++)t.locator[n]&&-1===l[n].toString().indexOf(t.locator[n])&&(l[n]+=","+t.locator[n])})),d=(p=l).join(""),f=g)}if(A().tests[t]&&A().tests[t][0].cd===d)return A().tests[t];for(var b=p.shift();b<u.length;b++){if(v(u[b],p,[b])&&f===t||f>t)break}}return(0===h.length||m)&&h.push({match:{fn:null,optionality:!1,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:d}),n!==i&&A().tests[t]?e.extend(!0,[],h):(A().tests[t]=e.extend(!0,[],h),A().tests[t])}function L(){return A()._buffer===i&&(A()._buffer=_(!1,1),A().buffer===i&&(A().buffer=A()._buffer.slice())),A()._buffer}function F(e){return A().buffer!==i&&!0!==e||(A().buffer=_(!0,O(),!0)),A().buffer}function I(e,t,n){var a,r;if(!0===e)w(),e=0,t=n.length;else for(a=e;a<t;a++)delete A().validPositions[a];for(r=e,a=e;a<t;a++)if(w(!0),n[a]!==c.skipOptionalPartCharacter){var o=K(r,n[a],!0,!0);!1!==o&&(w(!0),r=o.caret!==i?o.caret:o.pos+1)}}function N(t,n,a){for(var r,o=c.greedy?n:n.slice(0,1),s=!1,l=a!==i?a.split(","):[],u=0;u<l.length;u++)-1!==(r=t.indexOf(l[u]))&&t.splice(r,1);for(var f=0;f<t.length;f++)if(-1!==e.inArray(t[f],o)){s=!0;break}return s}function R(t,n,a,r,o){var s,l,u,c,f,p,h,m=e.extend(!0,{},A().validPositions),d=!1,v=o!==i?o:O();if(-1===v&&o===i)l=(c=G(s=0)).alternation;else for(;v>=0;v--)if((u=A().validPositions[v])&&u.alternation!==i){if(c&&c.locator[u.alternation]!==u.locator[u.alternation])break;s=v,l=A().validPositions[s].alternation,c=u}if(l!==i){h=parseInt(s),A().excludes[h]=A().excludes[h]||[],!0!==t&&A().excludes[h].push(M(c));var k=[],g=0;for(f=h;f<O(i,!0)+1;f++)(p=A().validPositions[f])&&!0!==p.generatedInput?k.push(p.input):f<t&&g++,delete A().validPositions[f];for(;A().excludes[h]&&A().excludes[h].length<10;){var b=-1*g,y=k.slice();for(A().tests[h]=i,w(!0),d=!0;y.length>0;){var P=y.shift();if(!(d=K(O(i,!0)+1,P,!1,r,!0)))break}if(d&&n!==i){var C=O(t)+1;for(f=h;f<O()+1;f++)((p=A().validPositions[f])===i||null==p.match.fn)&&f<t+b&&b++;d=K((t+=b)>C?C:t,n,a,r,!0)}if(d)break;if(w(),c=G(h),A().validPositions=e.extend(!0,{},m),!A().excludes[h]){d=R(t,n,a,r,h-1);break}var E=M(c);if(-1!==A().excludes[h].indexOf(E)){d=R(t,n,a,r,h-1);break}for(A().excludes[h].push(E),f=h;f<O(i,!0)+1;f++)delete A().validPositions[f]}}return A().excludes[h]=i,d}function K(t,n,a,r,o,s){function u(e){return b?e.begin-e.end>1||e.begin-e.end==1:e.end-e.begin>1||e.end-e.begin==1}a=!0===a;var f=t;function p(n,a,o){var s=!1;return e.each(B(n),function(f,p){var h=p.match;if(F(!0),!1!==(s=null!=h.fn?h.fn.test(a,A(),n,o,c,u(t)):(a===h.def||a===c.skipOptionalPartCharacter)&&""!==h.def&&{c:$(n,h,!0)||h.def,pos:n})){var m=s.c!==i?s.c:a,d=n;return m=m===c.skipOptionalPartCharacter&&null===h.fn?$(n,h,!0)||h.def:m,s.remove!==i&&(e.isArray(s.remove)||(s.remove=[s.remove]),e.each(s.remove.sort(function(e,t){return t-e}),function(e,t){H({begin:t,end:t+1})})),s.insert!==i&&(e.isArray(s.insert)||(s.insert=[s.insert]),e.each(s.insert.sort(function(e,t){return e-t}),function(e,t){K(t.pos,t.c,!0,r)})),!0!==s&&s.pos!==i&&s.pos!==n&&(d=s.pos),!0!==s&&s.pos===i&&s.c===i?!1:(H(t,e.extend({},p,{input:function(t,n,i){switch(c.casing||n.casing){case"upper":t=t.toUpperCase();break;case"lower":t=t.toLowerCase();break;case"title":var a=A().validPositions[i-1];t=0===i||a&&a.input===String.fromCharCode(l.keyCode.SPACE)?t.toUpperCase():t.toLowerCase();break;default:if(e.isFunction(c.casing)){var r=Array.prototype.slice.call(arguments);r.push(A().validPositions),t=c.casing.apply(this,r)}}return t}(m,h,d)}),r,d)||(s=!1),!1)}}),s}t.begin!==i&&(f=b?t.end:t.begin);var h=!0,m=e.extend(!0,{},A().validPositions);if(e.isFunction(c.preValidation)&&!a&&!0!==r&&!0!==s&&(h=c.preValidation(F(),f,n,u(t),c,A())),!0===h){if(V(i,f,!0),(d===i||f<d)&&(h=p(f,n,a),(!a||!0===r)&&!1===h&&!0!==s)){var v=A().validPositions[f];if(!v||null!==v.match.fn||v.match.def!==n&&n!==c.skipOptionalPartCharacter){if((c.insertMode||A().validPositions[U(f)]===i)&&!q(f,!0))for(var k=f+1,g=U(f);k<=g;k++)if(!1!==(h=p(k,n,a))){h=V(f,h.pos!==i?h.pos:k)||h,f=k;break}}else h={caret:U(f)}}!1!==h||!1===c.keepStatic||null!=c.regex&&!ae(F())||a||!0===o||(h=R(f,n,a,r)),!0===h&&(h={pos:f})}if(e.isFunction(c.postValidation)&&!1!==h&&!a&&!0!==r&&!0!==s){var y=c.postValidation(F(!0),h,c);if(y!==i){if(y.refreshFromBuffer&&y.buffer){var P=y.refreshFromBuffer;I(!0===P?P:P.start,P.end,y.buffer)}h=!0===y?h:y}}return h&&h.pos===i&&(h.pos=f),!1!==h&&!0!==s||(w(!0),A().validPositions=e.extend(!0,{},m)),h}function V(t,n,a){var r;if(t===i)for(t=n-1;t>0&&!A().validPositions[t];t--);for(var o=t;o<n;o++)if(A().validPositions[o]===i&&!q(o,!0)){var s=0==o?G(o):A().validPositions[o-1];if(s){var l,u=S(s),c=B(o).slice(),f=i,p=G(o);if(""===c[c.length-1].match.def&&c.pop(),e.each(c,function(e,t){l=S(t,u.length);var n=Math.abs(l-u);(f===i||n<f)&&null===t.match.fn&&!0!==t.match.optionality&&!0!==t.match.optionalQuantifier&&(f=n,p=t)}),(p=e.extend({},p,{input:$(o,p.match,!0)||p.match.def})).generatedInput=!0,H(o,p,!0),!0!==a){var h=A().validPositions[n].input;A().validPositions[n]=i,r=K(n,h,!0,!0)}}}return r}function H(t,n,a,r){function o(e,t,n){var a=t[e];if(a!==i&&(null===a.match.fn&&!0!==a.match.optionality||a.input===c.radixPoint)){var r=n.begin<=e-1?t[e-1]&&null===t[e-1].match.fn&&t[e-1]:t[e-1],o=n.end>e+1?t[e+1]&&null===t[e+1].match.fn&&t[e+1]:t[e+1];return r&&o}return!1}var s=t.begin!==i?t.begin:t,l=t.end!==i?t.end:t;if(t.begin>t.end&&(s=t.end,l=t.begin),r=r!==i?r:s,s!==l||c.insertMode&&A().validPositions[r]!==i&&a===i){var u=e.extend(!0,{},A().validPositions),f=O(i,!0);for(A().p=s,v=f;v>=s;v--)A().validPositions[v]&&"+"===A().validPositions[v].match.nativeDef&&(c.isNegative=!1),delete A().validPositions[v];var p=!0,h=r,m=(A().validPositions,!1),d=h,v=h;for(n&&(A().validPositions[r]=e.extend(!0,{},n),d++,h++,s<l&&v++);v<=f;v++){var k=u[v];if(k!==i&&(v>=l||v>=s&&!0!==k.generatedInput&&o(v,u,{begin:s,end:l}))){for(;""!==G(d).match.def;){if(!1===m&&u[d]&&u[d].match.nativeDef===k.match.nativeDef)A().validPositions[d]=e.extend(!0,{},u[d]),A().validPositions[d].input=k.input,V(i,d,!0),h=d+1,p=!0;else if(T(d,k.match.def)){var g=K(d,k.input,!0,!0);p=!1!==g,h=g.caret||g.insert?O():d+1,m=!0}else if(!(p=!0===k.generatedInput||k.input===c.radixPoint&&!0===c.numericInput)&&""===G(d).match.def)break;if(p)break;d++}""==G(d).match.def&&(p=!1),d=h}if(!p)break}if(!p)return A().validPositions=e.extend(!0,{},u),w(!0),!1}else n&&(A().validPositions[r]=e.extend(!0,{},n));return w(!0),!0}function q(e,t){var n=D(e).match;if(""===n.def&&(n=G(e).match),null!=n.fn)return n.fn;if(!0!==t&&e>-1){var i=B(e);return i.length>1+(""===i[i.length-1].match.def?1:0)}return!1}function U(e,t){for(var n=e+1;""!==G(n).match.def&&(!0===t&&(!0!==G(n).match.newBlockMarker||!q(n))||!0!==t&&!q(n));)n++;return n}function Q(e,t){var n,i=e;if(i<=0)return 0;for(;--i>0&&(!0===t&&!0!==G(i).match.newBlockMarker||!0!==t&&!q(i)&&((n=B(i)).length<2||2===n.length&&""===n[1].match.def)););return i}function W(t,n,a,r,o){if(r&&e.isFunction(c.onBeforeWrite)){var s=c.onBeforeWrite.call(k,r,n,a,c);if(s){if(s.refreshFromBuffer){var l=s.refreshFromBuffer;I(!0===l?l:l.start,l.end,s.buffer||n),n=F(!0)}a!==i&&(a=s.caret!==i?s.caret:a)}}if(t!==i&&(t.inputmask._valueSet(n.join("")),a===i||r!==i&&"blur"===r.type?se(t,a,0===n.length):te(t,a),!0===o)){var u=e(t),f=t.inputmask._valueGet();P=!0,u.trigger("input"),setTimeout(function(){f===L().join("")?u.trigger("cleared"):!0===ae(n)&&u.trigger("complete")},0)}}function $(t,n,a){if((n=n||G(t).match).placeholder!==i||!0===a)return e.isFunction(n.placeholder)?n.placeholder(c):n.placeholder;if(null===n.fn){if(t>-1&&A().validPositions[t]===i){var r,o=B(t),s=[];if(o.length>1+(""===o[o.length-1].match.def?1:0))for(var l=0;l<o.length;l++)if(!0!==o[l].match.optionality&&!0!==o[l].match.optionalQuantifier&&(null===o[l].match.fn||r===i||!1!==o[l].match.fn.test(r.match.def,A(),t,!0,c))&&(s.push(o[l]),null===o[l].match.fn&&(r=o[l]),s.length>1&&/[0-9a-bA-Z]/.test(s[0].match.def)))return c.placeholder.charAt(t%c.placeholder.length)}return n.def}return c.placeholder.charAt(t%c.placeholder.length)}var z,X={on:function(t,n,a){var u=function(t){var n=this;if(n.inputmask===i&&"FORM"!==this.nodeName){var u=e.data(n,"_inputmask_opts");u?new l(u).mask(n):X.off(n)}else{if("setvalue"===t.type||"FORM"===this.nodeName||!(n.disabled||n.readOnly&&!("keydown"===t.type&&t.ctrlKey&&67===t.keyCode||!1===c.tabThrough&&t.keyCode===l.keyCode.TAB))){switch(t.type){case"input":if(!0===P)return P=!1,t.preventDefault();if(r){x=!0;var f=arguments;return setTimeout(function(){a.apply(n,f)},0),!1}break;case"keydown":y=!1,P=!1;break;case"keypress":if(!0===y)return t.preventDefault();y=!0;break;case"click":if(o||s){f=arguments;return setTimeout(function(){a.apply(n,f)},0),!1}}var p=a.apply(n,arguments);return x&&(x=!1,setTimeout(function(){te(n,n.inputmask.caretPos,i,!0)})),!1===p&&(t.preventDefault(),t.stopPropagation()),p}t.preventDefault()}};t.inputmask.events[n]=t.inputmask.events[n]||[],t.inputmask.events[n].push(u),-1!==e.inArray(n,["submit","reset"])?null!==t.form&&e(t.form).on(n,u):e(t).on(n,u)},off:function(t,n){var i;t.inputmask&&t.inputmask.events&&(n?(i=[])[n]=t.inputmask.events[n]:i=t.inputmask.events,e.each(i,function(n,i){for(;i.length>0;){var a=i.pop();-1!==e.inArray(n,["submit","reset"])?null!==t.form&&e(t.form).off(n,a):e(t).off(n,a)}delete t.inputmask.events[n]}))}},Z={keydownEvent:function(t){var n=this,i=e(n),a=t.keyCode,r=te(n);if(a===l.keyCode.BACKSPACE||a===l.keyCode.DELETE||s&&a===l.keyCode.BACKSPACE_SAFARI||t.ctrlKey&&a===l.keyCode.X&&!f("cut"))t.preventDefault(),re(n,a,r),W(n,F(!0),A().p,t,n.inputmask._valueGet()!==F().join(""));else if(a===l.keyCode.END||a===l.keyCode.PAGE_DOWN){t.preventDefault();var o=U(O());c.insertMode||o!==A().maskLength||t.shiftKey||o--,te(n,t.shiftKey?r.begin:o,o,!0)}else a===l.keyCode.HOME&&!t.shiftKey||a===l.keyCode.PAGE_UP?(t.preventDefault(),te(n,0,t.shiftKey?r.begin:0,!0)):(c.undoOnEscape&&a===l.keyCode.ESCAPE||90===a&&t.ctrlKey)&&!0!==t.altKey?(J(n,!0,!1,h.split("")),i.trigger("click")):a!==l.keyCode.INSERT||t.shiftKey||t.ctrlKey?!0===c.tabThrough&&a===l.keyCode.TAB?(!0===t.shiftKey?(null===G(r.begin).match.fn&&(r.begin=U(r.begin)),r.end=Q(r.begin,!0),r.begin=Q(r.end,!0)):(r.begin=U(r.begin,!0),r.end=U(r.begin,!0),r.end<A().maskLength&&r.end--),r.begin<A().maskLength&&(t.preventDefault(),te(n,r.begin,r.end))):t.shiftKey||!1===c.insertMode&&(a===l.keyCode.RIGHT?setTimeout(function(){var e=te(n);te(n,e.begin)},0):a===l.keyCode.LEFT&&setTimeout(function(){var e=te(n);te(n,b?e.begin+1:e.begin-1)},0)):(c.insertMode=!c.insertMode,te(n,c.insertMode||r.begin!==A().maskLength?r.begin:r.begin-1));c.onKeyDown.call(this,t,F(),te(n).begin,c),C=-1!==e.inArray(a,c.ignorables)},keypressEvent:function(t,n,a,r,o){var s=this,u=e(s),f=t.which||t.charCode||t.keyCode;if(!(!0===n||t.ctrlKey&&t.altKey)&&(t.ctrlKey||t.metaKey||C))return f===l.keyCode.ENTER&&h!==F().join("")&&(h=F().join(""),setTimeout(function(){u.trigger("change")},0)),!0;if(f){46===f&&!1===t.shiftKey&&""!==c.radixPoint&&(f=c.radixPoint.charCodeAt(0));var p,m=n?{begin:o,end:o}:te(s),d=String.fromCharCode(f),v=0;if(c._radixDance&&c.numericInput){var k=F().indexOf(c.radixPoint.charAt(0))+1;m.begin<=k&&(f===c.radixPoint.charCodeAt(0)&&(v=1),m.begin-=1,m.end-=1)}A().writeOutBuffer=!0;var g=K(m,d,r);if(!1!==g&&(w(!0),p=g.caret!==i?g.caret:U(g.pos.begin?g.pos.begin:g.pos),A().p=p),p=(c.numericInput&&g.caret===i?Q(p):p)+v,!1!==a&&(setTimeout(function(){c.onKeyValidation.call(s,f,g,c)},0),A().writeOutBuffer&&!1!==g)){var b=F();W(s,b,p,t,!0!==n)}if(t.preventDefault(),n)return!1!==g&&(g.forwardPosition=p),g}},pasteEvent:function(n){var i,a=this,r=n.originalEvent||n,o=(e(a),a.inputmask._valueGet(!0)),s=te(a);b&&(i=s.end,s.end=s.begin,s.begin=i);var l=o.substr(0,s.begin),u=o.substr(s.end,o.length);if(l===(b?L().reverse():L()).slice(0,s.begin).join("")&&(l=""),u===(b?L().reverse():L()).slice(s.end).join("")&&(u=""),b&&(i=l,l=u,u=i),t.clipboardData&&t.clipboardData.getData)o=l+t.clipboardData.getData("Text")+u;else{if(!r.clipboardData||!r.clipboardData.getData)return!0;o=l+r.clipboardData.getData("text/plain")+u}var f=o;if(e.isFunction(c.onBeforePaste)){if(!1===(f=c.onBeforePaste.call(k,o,c)))return n.preventDefault();f||(f=o)}return J(a,!1,!1,b?f.split("").reverse():f.toString().split("")),W(a,F(),U(O()),n,h!==F().join("")),n.preventDefault()},inputFallBackEvent:function(t){var n,i,a=this,r=a.inputmask._valueGet();if(F().join("")!==r){var s=te(a);if(i=s,"."===(n=r).charAt(i.begin-1)&&""!==c.radixPoint&&((n=n.split(""))[i.begin-1]=c.radixPoint.charAt(0),n=n.join("")),r=function(e,t,n){if(o){var i=t.replace(F().join(""),"");if(1===i.length){var a=t.split("");a.splice(n.begin,0,i),t=a.join("")}}return t}(0,r=n,s),F().join("")!==r){var u=F().join(""),f=!c.numericInput&&r.length>u.length?-1:0,p=r.substr(0,s.begin),h=r.substr(s.begin),m=u.substr(0,s.begin+f),d=u.substr(s.begin+f),v=s,k="",g=!1;if(p!==m){for(var b=(g=p.length>=m.length)?p.length:m.length,y=0;p.charAt(y)===m.charAt(y)&&y<b;y++);g&&(0===f&&(v.begin=y),k+=p.slice(y,v.end))}if(h!==d&&(h.length>d.length?k+=h.slice(0,1):h.length<d.length&&(v.end+=d.length-h.length,g||""===c.radixPoint||""!==h||p.charAt(v.begin+f-1)!==c.radixPoint||(v.begin--,k=c.radixPoint))),W(a,F(),{begin:v.begin+f,end:v.end+f}),k.length>0)e.each(k.split(""),function(t,n){var i=new e.Event("keypress");i.which=n.charCodeAt(0),C=!1,Z.keypressEvent.call(a,i)});else{v.begin===v.end-1&&(v.begin=Q(v.begin+1),v.begin===v.end-1?te(a,v.begin):te(a,v.begin,v.end));var P=new e.Event("keydown");P.keyCode=c.numericInput?l.keyCode.BACKSPACE:l.keyCode.DELETE,Z.keydownEvent.call(a,P),!1===c.insertMode&&te(a,te(a).begin-1)}t.preventDefault()}}},setValueEvent:function(t){this.inputmask.refreshValue=!1;var n=(n=t&&t.detail?t.detail[0]:arguments[1])||this.inputmask._valueGet(!0);e.isFunction(c.onBeforeMask)&&(n=c.onBeforeMask.call(k,n,c)||n),n=n.split(""),J(this,!0,!1,b?n.reverse():n),h=F().join(""),(c.clearMaskOnLostFocus||c.clearIncomplete)&&this.inputmask._valueGet()===L().join("")&&this.inputmask._valueSet("")},focusEvent:function(e){var t=this,n=t.inputmask._valueGet();c.showMaskOnFocus&&(!c.showMaskOnHover||c.showMaskOnHover&&""===n)&&(t.inputmask._valueGet()!==F().join("")?W(t,F(),U(O())):!1===E&&te(t,U(O()))),!0===c.positionCaretOnTab&&!1===E&&Z.clickEvent.apply(t,[e,!0]),h=F().join("")},mouseleaveEvent:function(e){if(E=!1,c.clearMaskOnLostFocus&&n.activeElement!==this){var t=F().slice(),i=this.inputmask._valueGet();i!==this.getAttribute("placeholder")&&""!==i&&(-1===O()&&i===L().join("")?t=[]:ie(t),W(this,t))}},clickEvent:function(t,a){var r=this;setTimeout(function(){if(n.activeElement===r){var t=te(r);if(a&&(b?t.end=t.begin:t.begin=t.end),t.begin===t.end)switch(c.positionCaretOnClick){case"none":break;case"select":te(r,0,F().length);break;case"radixFocus":if(function(t){if(""!==c.radixPoint){var n=A().validPositions;if(n[t]===i||n[t].input===$(t)){if(t<U(-1))return!0;var a=e.inArray(c.radixPoint,F());if(-1!==a){for(var r in n)if(a<r&&n[r].input!==$(r))return!1;return!0}}}return!1}(t.begin)){var o=F().join("").indexOf(c.radixPoint);te(r,c.numericInput?U(o):o);break}case"ignore":te(r,U(O()));break;default:var s=t.begin,l=O(s,!0),u=U(l);if(s<u)te(r,q(s,!0)||q(s-1,!0)?s:U(s));else{var f=A().validPositions[l],p=D(u,f?f.match.locator:i,f),h=$(u,p.match);if(""!==h&&F()[u]!==h&&!0!==p.match.optionalQuantifier&&!0!==p.match.newBlockMarker||!q(u,c.keepStatic)&&p.match.def===h){var m=U(u);(s>=m||s===u)&&(u=m)}te(r,u)}}}},0)},dblclickEvent:function(e){var t=this;setTimeout(function(){te(t,0,U(O()))},0)},cutEvent:function(i){e(this);var a=te(this),r=i.originalEvent||i,o=t.clipboardData||r.clipboardData,s=b?F().slice(a.end,a.begin):F().slice(a.begin,a.end);o.setData("text",b?s.reverse().join(""):s.join("")),n.execCommand&&n.execCommand("copy"),re(this,l.keyCode.DELETE,a),W(this,F(),A().p,i,h!==F().join(""))},blurEvent:function(t){var n=e(this);if(this.inputmask){var a=this.inputmask._valueGet(),r=F().slice();""===a&&v===i||(c.clearMaskOnLostFocus&&(-1===O()&&a===L().join("")?r=[]:ie(r)),!1===ae(r)&&(setTimeout(function(){n.trigger("incomplete")},0),c.clearIncomplete&&(w(),r=c.clearMaskOnLostFocus?[]:L().slice())),W(this,r,i,t)),h!==F().join("")&&(h=r.join(""),n.trigger("change"))}},mouseenterEvent:function(e){E=!0,n.activeElement!==this&&c.showMaskOnHover&&this.inputmask._valueGet()!==F().join("")&&W(this,F())},submitEvent:function(e){h!==F().join("")&&m.trigger("change"),c.clearMaskOnLostFocus&&-1===O()&&g.inputmask._valueGet&&g.inputmask._valueGet()===L().join("")&&g.inputmask._valueSet(""),c.clearIncomplete&&!1===ae(F())&&g.inputmask._valueSet(""),c.removeMaskOnSubmit&&(g.inputmask._valueSet(g.inputmask.unmaskedvalue(),!0),setTimeout(function(){W(g,F())},0))},resetEvent:function(e){g.inputmask.refreshValue=!0,setTimeout(function(){m.trigger("setvalue")},0)}};function J(t,n,a,r,o){var s=r.slice(),u="",f=-1,p=i;if(w(),a||!0===c.autoUnmask)f=U(f);else{var h=L().slice(0,U(-1)).join(""),m=s.join("").match(new RegExp("^"+l.escapeRegex(h),"g"));m&&m.length>0&&(s.splice(0,m.length*h.length),f=U(f))}-1===f?(A().p=U(f),f=0):A().p=f,e.each(s,function(n,r){if(r!==i)if(A().validPositions[n]===i&&s[n]===$(n)&&q(n,!0)&&!1===K(n,s[n],!0,i,i,!0))A().p++;else{var o=new e.Event("_checkval");o.which=r.charCodeAt(0),u+=r;var l=O(i,!0),h=G(l),m=D(l+1,h?h.locator.slice():i,l);if(v=f,k=u,-1===_(!0,0,!1).slice(v,U(v)).join("").indexOf(k)||q(v)||G(v).match.nativeDef!==k.charAt(0)&&(" "!==G(v).match.nativeDef||G(v+1).match.nativeDef!==k.charAt(0))||a||c.autoUnmask){var d=a?n:null==m.match.fn&&m.match.optionality&&l+1<A().p?l+1:A().p;(p=Z.keypressEvent.call(t,o,!0,!1,a,d))&&(f=d+1,u="")}else p=Z.keypressEvent.call(t,o,!0,!1,!0,l+1);W(i,F(),p.forwardPosition,o,!1)}var v,k}),n&&W(t,F(),p?p.forwardPosition:i,o||new e.Event("checkval"),o&&"input"===o.type)}function Y(t){if(t){if(t.inputmask===i)return t.value;t.inputmask&&t.inputmask.refreshValue&&Z.setValueEvent.call(t)}var n=[],a=A().validPositions;for(var r in a)a[r].match&&null!=a[r].match.fn&&n.push(a[r].input);var o=0===n.length?"":(b?n.reverse():n).join("");if(e.isFunction(c.onUnMask)){var s=(b?F().slice().reverse():F()).join("");o=c.onUnMask.call(k,s,o,c)}return o}function ee(e){return!b||"number"!=typeof e||c.greedy&&""===c.placeholder||(e=g.inputmask._valueGet().length-e),e}function te(a,r,o,l){var u;if(r===i)return a.setSelectionRange?(r=a.selectionStart,o=a.selectionEnd):t.getSelection?(u=t.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==a&&u.commonAncestorContainer!==a||(r=u.startOffset,o=u.endOffset):n.selection&&n.selection.createRange&&(o=(r=0-(u=n.selection.createRange()).duplicate().moveStart("character",-a.inputmask._valueGet().length))+u.text.length),{begin:l?r:ee(r),end:l?o:ee(o)};if(e.isArray(r)&&(o=b?r[0]:r[1],r=b?r[1]:r[0]),r.begin!==i&&(o=b?r.begin:r.end,r=b?r.end:r.begin),"number"==typeof r){r=l?r:ee(r),o="number"==typeof(o=l?o:ee(o))?o:r;var f=parseInt(((a.ownerDocument.defaultView||t).getComputedStyle?(a.ownerDocument.defaultView||t).getComputedStyle(a,null):a.currentStyle).fontSize)*o;if(a.scrollLeft=f>a.scrollWidth?f:0,s||!1!==c.insertMode||r!==o||o++,a.inputmask.caretPos={begin:r,end:o},a.setSelectionRange)a.selectionStart=r,a.selectionEnd=o;else if(t.getSelection){if(u=n.createRange(),a.firstChild===i||null===a.firstChild){var p=n.createTextNode("");a.appendChild(p)}u.setStart(a.firstChild,r<a.inputmask._valueGet().length?r:a.inputmask._valueGet().length),u.setEnd(a.firstChild,o<a.inputmask._valueGet().length?o:a.inputmask._valueGet().length),u.collapse(!0);var h=t.getSelection();h.removeAllRanges(),h.addRange(u)}else a.createTextRange&&((u=a.createTextRange()).collapse(!0),u.moveEnd("character",o),u.moveStart("character",r),u.select());se(a,{begin:r,end:o})}}function ne(t){var n,a,r=_(!0,O(),!0,!0),o=r.length,s=O(),l={},u=A().validPositions[s],c=u!==i?u.locator.slice():i;for(n=s+1;n<r.length;n++)c=(a=D(n,c,n-1)).locator.slice(),l[n]=e.extend(!0,{},a);var f=u&&u.alternation!==i?u.locator[u.alternation]:i;for(n=o-1;n>s&&(((a=l[n]).match.optionality||a.match.optionalQuantifier&&a.match.newBlockMarker||f&&(f!==l[n].locator[u.alternation]&&null!=a.match.fn||null===a.match.fn&&a.locator[u.alternation]&&N(a.locator[u.alternation].toString().split(","),f.toString().split(","))&&""!==B(n)[0].def))&&r[n]===$(n,a.match));n--)o--;return t?{l:o,def:l[o]?l[o].match:i}:o}function ie(e){e.length=0;for(var t,n=_(!0,0,!0,i,!0);(t=n.shift())!==i;)e.push(t);return e}function ae(t){if(e.isFunction(c.isComplete))return c.isComplete(t,c);if("*"===c.repeat)return i;var n=!1,a=ne(!0),r=Q(a.l);if(a.def===i||a.def.newBlockMarker||a.def.optionality||a.def.optionalQuantifier){n=!0;for(var o=0;o<=r;o++){var s=D(o).match;if(null!==s.fn&&A().validPositions[o]===i&&!0!==s.optionality&&!0!==s.optionalQuantifier||null===s.fn&&t[o]!==$(o,s)){n=!1;break}}}return n}function re(e,t,n,a,r){if((c.numericInput||b)&&(t===l.keyCode.BACKSPACE?t=l.keyCode.DELETE:t===l.keyCode.DELETE&&(t=l.keyCode.BACKSPACE),b)){var o=n.end;n.end=n.begin,n.begin=o}if(t===l.keyCode.BACKSPACE&&(n.end-n.begin<1||!1===c.insertMode)?(n.begin=Q(n.begin),A().validPositions[n.begin]!==i&&A().validPositions[n.begin].input===c.groupSeparator&&n.begin--,!1===c.insertMode&&n.end!==A().maskLength&&n.end--):t===l.keyCode.DELETE&&n.begin===n.end&&(n.end=q(n.end,!0)&&A().validPositions[n.end]&&A().validPositions[n.end].input!==c.radixPoint?n.end+1:U(n.end)+1,A().validPositions[n.begin]!==i&&A().validPositions[n.begin].input===c.groupSeparator&&n.end++),H(n),!0!==a&&!1!==c.keepStatic||null!==c.regex){var s=R(!0);if(s){var u=s.caret!==i?s.caret:s.pos?U(s.pos.begin?s.pos.begin:s.pos):O(-1,!0);(t!==l.keyCode.DELETE||n.begin>u)&&n.begin}}var f=O(n.begin,!0);if(f<n.begin||-1===n.begin)A().p=U(f);else if(!0!==a&&(A().p=n.begin,!0!==r))for(;A().p<f&&A().validPositions[A().p]===i;)A().p++}function oe(i){var a=(i.ownerDocument.defaultView||t).getComputedStyle(i,null);var r=n.createElement("div");r.style.width=a.width,r.style.textAlign=a.textAlign,v=n.createElement("div"),i.inputmask.colorMask=v,v.className="im-colormask",i.parentNode.insertBefore(v,i),i.parentNode.removeChild(i),v.appendChild(i),v.appendChild(r),i.style.left=r.offsetLeft+"px",e(v).on("mouseleave",function(e){return Z.mouseleaveEvent.call(i,[e])}),e(v).on("mouseenter",function(e){return Z.mouseenterEvent.call(i,[e])}),e(v).on("click",function(e){return te(i,function(e){var t,r=n.createElement("span");for(var o in a)isNaN(o)&&-1!==o.indexOf("font")&&(r.style[o]=a[o]);r.style.textTransform=a.textTransform,r.style.letterSpacing=a.letterSpacing,r.style.position="absolute",r.style.height="auto",r.style.width="auto",r.style.visibility="hidden",r.style.whiteSpace="nowrap",n.body.appendChild(r);var s,l=i.inputmask._valueGet(),u=0;for(t=0,s=l.length;t<=s;t++){if(r.innerHTML+=l.charAt(t)||"_",r.offsetWidth>=e){var c=e-u,f=r.offsetWidth-e;r.innerHTML=l.charAt(t),t=(c-=r.offsetWidth/3)<f?t-1:t;break}u=r.offsetWidth}return n.body.removeChild(r),t}(e.clientX)),Z.clickEvent.call(i,[e])}),e(i).on("keydown",function(e){e.shiftKey||!1===c.insertMode||setTimeout(function(){se(i)},0)})}function se(e,t,a){var r,o,s,l=[],u=!1,f=0;function p(e){if(e===i&&(e=""),u||null!==r.fn&&o.input!==i)if(u&&(null!==r.fn&&o.input!==i||""===r.def)){u=!1;var t=l.length;l[t-1]=l[t-1]+"</span>",l.push(e)}else l.push(e);else u=!0,l.push("<span class='im-static'>"+e)}if(v!==i){var h=F();if(t===i?t=te(e):t.begin===i&&(t={begin:t,end:t}),!0!==a){var m=O();do{A().validPositions[f]?(o=A().validPositions[f],r=o.match,s=o.locator.slice(),p(h[f])):(o=D(f,s,f-1),r=o.match,s=o.locator.slice(),!1===c.jitMasking||f<m||"number"==typeof c.jitMasking&&isFinite(c.jitMasking)&&c.jitMasking>f?p($(f,r)):u=!1),f++}while((d===i||f<d)&&(null!==r.fn||""!==r.def)||m>f||u);u&&p(),n.activeElement===e&&(l.splice(t.begin,0,t.begin===t.end||t.end>A().maskLength?'<mark class="im-caret" style="border-right-width: 1px;border-right-style: solid;">':'<mark class="im-caret-select">'),l.splice(t.end+1,0,"</mark>"))}var k=v.getElementsByTagName("div")[0];k.innerHTML=l.join(""),e.inputmask.positionColorMask(e,k)}}if(l.prototype.positionColorMask=function(e,t){e.style.left=t.offsetLeft+"px"},a!==i)switch(a.action){case"isComplete":return g=a.el,ae(F());case"unmaskedvalue":return g!==i&&a.value===i||(z=a.value,z=(e.isFunction(c.onBeforeMask)&&c.onBeforeMask.call(k,z,c)||z).split(""),J(i,!1,!1,b?z.reverse():z),e.isFunction(c.onBeforeWrite)&&c.onBeforeWrite.call(k,i,F(),0,c)),Y(g);case"mask":!function(t){X.off(t);var a=function(t,a){var r=t.getAttribute("type"),o="INPUT"===t.tagName&&-1!==e.inArray(r,a.supportsInputType)||t.isContentEditable||"TEXTAREA"===t.tagName;if(!o)if("INPUT"===t.tagName){var s=n.createElement("input");s.setAttribute("type",r),o="text"===s.type,s=null}else o="partial";return!1!==o?function(t){var r,o,s;function l(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==O()||!0!==a.nullable?n.activeElement===this&&a.clearMaskOnLostFocus?(b?ie(F().slice()).reverse():ie(F().slice())).join(""):r.call(this):"":r.call(this)}function u(t){o.call(this,t),this.inputmask&&e(this).trigger("setvalue",[t])}if(!t.inputmask.__valueGet){if(!0!==a.noValuePatching){if(Object.getOwnPropertyDescriptor){"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"==typeof"test".__proto__?function(e){return e.__proto__}:function(e){return e.constructor.prototype});var c=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),"value"):i;c&&c.get&&c.set?(r=c.get,o=c.set,Object.defineProperty(t,"value",{get:l,set:u,configurable:!0})):"INPUT"!==t.tagName&&(r=function(){return this.textContent},o=function(e){this.textContent=e},Object.defineProperty(t,"value",{get:l,set:u,configurable:!0}))}else n.__lookupGetter__&&t.__lookupGetter__("value")&&(r=t.__lookupGetter__("value"),o=t.__lookupSetter__("value"),t.__defineGetter__("value",l),t.__defineSetter__("value",u));t.inputmask.__valueGet=r,t.inputmask.__valueSet=o}t.inputmask._valueGet=function(e){return b&&!0!==e?r.call(this.el).split("").reverse().join(""):r.call(this.el)},t.inputmask._valueSet=function(e,t){o.call(this.el,null===e||e===i?"":!0!==t&&b?e.split("").reverse().join(""):e)},r===i&&(r=function(){return this.value},o=function(e){this.value=e},function(t){if(e.valHooks&&(e.valHooks[t]===i||!0!==e.valHooks[t].inputmaskpatch)){var n=e.valHooks[t]&&e.valHooks[t].get?e.valHooks[t].get:function(e){return e.value},r=e.valHooks[t]&&e.valHooks[t].set?e.valHooks[t].set:function(e,t){return e.value=t,e};e.valHooks[t]={get:function(e){if(e.inputmask){if(e.inputmask.opts.autoUnmask)return e.inputmask.unmaskedvalue();var t=n(e);return-1!==O(i,i,e.inputmask.maskset.validPositions)||!0!==a.nullable?t:""}return n(e)},set:function(t,n){var i,a=e(t);return i=r(t,n),t.inputmask&&a.trigger("setvalue",[n]),i},inputmaskpatch:!0}}}(t.type),s=t,X.on(s,"mouseenter",function(t){var n=e(this);this.inputmask._valueGet()!==F().join("")&&n.trigger("setvalue")}))}}(t):t.inputmask=i,o}(t,c);if(!1!==a&&(m=e(g=t),-1===(d=g!==i?g.maxLength:i)&&(d=i),!0===c.colorMask&&oe(g),r&&("inputmode"in g&&(g.inputmode=c.inputmode,g.setAttribute("inputmode",c.inputmode)),!0===c.disablePredictiveText&&("autocorrect"in g?g.autocorrect=!1:(!0!==c.colorMask&&oe(g),g.type="password"))),!0===a&&(X.on(g,"submit",Z.submitEvent),X.on(g,"reset",Z.resetEvent),X.on(g,"blur",Z.blurEvent),X.on(g,"focus",Z.focusEvent),!0!==c.colorMask&&(X.on(g,"click",Z.clickEvent),X.on(g,"mouseleave",Z.mouseleaveEvent),X.on(g,"mouseenter",Z.mouseenterEvent)),X.on(g,"dblclick",Z.dblclickEvent),X.on(g,"paste",Z.pasteEvent),X.on(g,"dragdrop",Z.pasteEvent),X.on(g,"drop",Z.pasteEvent),X.on(g,"cut",Z.cutEvent),X.on(g,"complete",c.oncomplete),X.on(g,"incomplete",c.onincomplete),X.on(g,"cleared",c.oncleared),r||!0===c.inputEventOnly?g.removeAttribute("maxLength"):(X.on(g,"keydown",Z.keydownEvent),X.on(g,"keypress",Z.keypressEvent)),X.on(g,"compositionstart",e.noop),X.on(g,"compositionupdate",e.noop),X.on(g,"compositionend",e.noop),X.on(g,"keyup",e.noop),X.on(g,"input",Z.inputFallBackEvent),X.on(g,"beforeinput",e.noop)),X.on(g,"setvalue",Z.setValueEvent),h=L().join(""),""!==g.inputmask._valueGet(!0)||!1===c.clearMaskOnLostFocus||n.activeElement===g)){var o=e.isFunction(c.onBeforeMask)&&c.onBeforeMask.call(k,g.inputmask._valueGet(!0),c)||g.inputmask._valueGet(!0);""!==o&&J(g,!0,!1,b?o.split("").reverse():o.split(""));var s=F().slice();h=s.join(""),!1===ae(s)&&c.clearIncomplete&&w(),c.clearMaskOnLostFocus&&n.activeElement!==g&&(-1===O()?s=[]:ie(s)),(!1===c.clearMaskOnLostFocus||c.showMaskOnFocus&&n.activeElement===g||""!==g.inputmask._valueGet(!0))&&W(g,s),n.activeElement===g&&te(g,U(O()))}}(g);break;case"format":return z=(e.isFunction(c.onBeforeMask)&&c.onBeforeMask.call(k,a.value,c)||a.value).split(""),J(i,!0,!1,b?z.reverse():z),a.metadata?{value:b?F().slice().reverse().join(""):F().join(""),metadata:p.call(this,{action:"getmetadata"},u,c)}:b?F().slice().reverse().join(""):F().join("");case"isValid":a.value?(z=a.value.split(""),J(i,!0,!0,b?z.reverse():z)):a.value=F().join("");for(var le=F(),ue=ne(),ce=le.length-1;ce>ue&&!q(ce);ce--);return le.splice(ue,ce+1-ue),ae(le)&&a.value===F().join("");case"getemptymask":return L().join("");case"remove":if(g&&g.inputmask)e.data(g,"_inputmask_opts",null),m=e(g),g.inputmask._valueSet(c.autoUnmask?Y(g):g.inputmask._valueGet(!0)),X.off(g),g.inputmask.colorMask&&((v=g.inputmask.colorMask).removeChild(g),v.parentNode.insertBefore(g,v),v.parentNode.removeChild(v)),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(g),"value")&&g.inputmask.__valueGet&&Object.defineProperty(g,"value",{get:g.inputmask.__valueGet,set:g.inputmask.__valueSet,configurable:!0}):n.__lookupGetter__&&g.__lookupGetter__("value")&&g.inputmask.__valueGet&&(g.__defineGetter__("value",g.inputmask.__valueGet),g.__defineSetter__("value",g.inputmask.__valueSet)),g.inputmask=i;return g;case"getmetadata":if(e.isArray(u.metadata)){var fe=_(!0,0,!1).join("");return e.each(u.metadata,function(e,t){if(t.mask===fe)return fe=t,!1}),fe}return u.metadata}}return l.prototype={dataAttribute:"data-inputmask",defaults:{placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:e.noop,onincomplete:e.noop,oncleared:e.noop,repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,clearIncomplete:!1,alias:null,onKeyDown:e.noop,onBeforeMask:null,onBeforePaste:function(t,n){return e.isFunction(n.onBeforeMask)?n.onBeforeMask.call(this,t,n):t},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:e.noop,skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","password","search"],ignorables:[8,9,13,19,27,33,34,35,36,37,38,39,40,45,46,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:i,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"verbatim",colorMask:!1,disablePredictiveText:!1,importDataAttributes:!0},definitions:{9:{validator:"[0-91-9]",definitionSymbol:"*"},a:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ]"}},aliases:{},masksCache:{},mask:function(a){var r=this;return"string"==typeof a&&(a=n.getElementById(a)||n.querySelectorAll(a)),a=a.nodeName?[a]:a,e.each(a,function(n,a){var o=e.extend(!0,{},r.opts);if(function(n,a,r,o){if(!0===a.importDataAttributes){var s,l,c,f,p=n.getAttribute(o);function h(e,a){null!==(a=a!==i?a:n.getAttribute(o+"-"+e))&&("string"==typeof a&&(0===e.indexOf("on")?a=t[a]:"false"===a?a=!1:"true"===a&&(a=!0)),r[e]=a)}if(p&&""!==p&&(p=p.replace(/'/g,'"'),l=JSON.parse("{"+p+"}")),l)for(f in c=i,l)if("alias"===f.toLowerCase()){c=l[f];break}for(s in h("alias",c),r.alias&&u(r.alias,r,a),a){if(l)for(f in c=i,l)if(f.toLowerCase()===s.toLowerCase()){c=l[f];break}h(s,c)}}return e.extend(!0,a,r),("rtl"===n.dir||a.rightAlign)&&(n.style.textAlign="right"),("rtl"===n.dir||a.numericInput)&&(n.dir="ltr",n.removeAttribute("dir"),a.isRTL=!0),Object.keys(r).length}(a,o,e.extend(!0,{},r.userOptions),r.dataAttribute)){var s=c(o,r.noMasksCache);s!==i&&(a.inputmask!==i&&(a.inputmask.opts.autoUnmask=!0,a.inputmask.remove()),a.inputmask=new l(i,i,!0),a.inputmask.opts=o,a.inputmask.noMasksCache=r.noMasksCache,a.inputmask.userOptions=e.extend(!0,{},r.userOptions),a.inputmask.isRTL=o.isRTL||o.numericInput,a.inputmask.el=a,a.inputmask.maskset=s,e.data(a,"_inputmask_opts",o),p.call(a.inputmask,{action:"mask"}))}}),a&&a[0]&&a[0].inputmask||this},option:function(t,n){return"string"==typeof t?this.opts[t]:"object"==typeof t?(e.extend(this.userOptions,t),this.el&&!0!==n&&this.mask(this.el),this):void 0},unmaskedvalue:function(e){return this.maskset=this.maskset||c(this.opts,this.noMasksCache),p.call(this,{action:"unmaskedvalue",value:e})},remove:function(){return p.call(this,{action:"remove"})},getemptymask:function(){return this.maskset=this.maskset||c(this.opts,this.noMasksCache),p.call(this,{action:"getemptymask"})},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||c(this.opts,this.noMasksCache),p.call(this,{action:"isComplete"})},getmetadata:function(){return this.maskset=this.maskset||c(this.opts,this.noMasksCache),p.call(this,{action:"getmetadata"})},isValid:function(e){return this.maskset=this.maskset||c(this.opts,this.noMasksCache),p.call(this,{action:"isValid",value:e})},format:function(e,t){return this.maskset=this.maskset||c(this.opts,this.noMasksCache),p.call(this,{action:"format",value:e,metadata:t})},setValue:function(t){this.el&&e(this.el).trigger("setvalue",[t])},analyseMask:function(t,n,a){var r,o,s,u,c,f,p=/(?:[?*+]|\{[0-9\+\*]+(?:,[0-9\+\*]*)?(?:\|[0-9\+\*]*)?\})|[^.?*+^${[]()|\\]+|./g,h=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,m=!1,d=new g,v=[],k=[];function g(e,t,n,i){this.matches=[],this.openGroup=e||!1,this.alternatorGroup=!1,this.isGroup=e||!1,this.isOptional=t||!1,this.isQuantifier=n||!1,this.isAlternator=i||!1,this.quantifier={min:1,max:1}}function b(t,r,o){o=o!==i?o:t.matches.length;var s=t.matches[o-1];if(n)0===r.indexOf("[")||m&&/\\d|\\s|\\w]/i.test(r)||"."===r?t.matches.splice(o++,0,{fn:new RegExp(r,a.casing?"i":""),optionality:!1,newBlockMarker:s===i?"master":s.def!==r,casing:null,def:r,placeholder:i,nativeDef:r}):(m&&(r=r[r.length-1]),e.each(r.split(""),function(e,n){s=t.matches[o-1],t.matches.splice(o++,0,{fn:null,optionality:!1,newBlockMarker:s===i?"master":s.def!==n&&null!==s.fn,casing:null,def:a.staticDefinitionSymbol||n,placeholder:a.staticDefinitionSymbol!==i?n:i,nativeDef:n})})),m=!1;else{var u=(a.definitions?a.definitions[r]:i)||l.prototype.definitions[r];u&&!m?t.matches.splice(o++,0,{fn:u.validator?"string"==typeof u.validator?new RegExp(u.validator,a.casing?"i":""):new function(){this.test=u.validator}:new RegExp("."),optionality:!1,newBlockMarker:s===i?"master":s.def!==(u.definitionSymbol||r),casing:u.casing,def:u.definitionSymbol||r,placeholder:u.placeholder,nativeDef:r}):(t.matches.splice(o++,0,{fn:null,optionality:!1,newBlockMarker:s===i?"master":s.def!==r&&null!==s.fn,casing:null,def:a.staticDefinitionSymbol||r,placeholder:a.staticDefinitionSymbol!==i?r:i,nativeDef:r}),m=!1)}}function y(){if(v.length>0){if(b(u=v[v.length-1],o),u.isAlternator){c=v.pop();for(var e=0;e<c.matches.length;e++)c.matches[e].isGroup&&(c.matches[e].isGroup=!1);v.length>0?(u=v[v.length-1]).matches.push(c):d.matches.push(c)}}else b(d,o)}function P(e){var t=new g(!0);return t.openGroup=!1,t.matches=e,t}for(n&&(a.optionalmarker[0]=i,a.optionalmarker[1]=i);r=n?h.exec(t):p.exec(t);){if(o=r[0],n)switch(o.charAt(0)){case"?":o="{0,1}";break;case"+":case"*":o="{"+o+"}"}if(m)y();else switch(o.charAt(0)){case a.escapeChar:m=!0,n&&y();break;case a.optionalmarker[1]:case a.groupmarker[1]:if((s=v.pop()).openGroup=!1,s!==i)if(v.length>0){if((u=v[v.length-1]).matches.push(s),u.isAlternator){c=v.pop();for(var C=0;C<c.matches.length;C++)c.matches[C].isGroup=!1,c.matches[C].alternatorGroup=!1;v.length>0?(u=v[v.length-1]).matches.push(c):d.matches.push(c)}}else d.matches.push(s);else y();break;case a.optionalmarker[0]:v.push(new g(!1,!0));break;case a.groupmarker[0]:v.push(new g(!0));break;case a.quantifiermarker[0]:var E=new g(!1,!1,!0),x=(o=o.replace(/[{}]/g,"")).split("|"),_=x[0].split(","),A=isNaN(_[0])?_[0]:parseInt(_[0]),w=1===_.length?A:isNaN(_[1])?_[1]:parseInt(_[1]);"*"!==w&&"+"!==w||(A="*"===w?0:1),E.quantifier={min:A,max:w,jit:x[1]};var O=v.length>0?v[v.length-1].matches:d.matches;if((r=O.pop()).isAlternator){O.push(r),O=r.matches;var M=new g(!0),S=O.pop();O.push(M),O=M.matches,r=S}r.isGroup||(r=P([r])),O.push(r),O.push(E);break;case a.alternatormarker:function j(e){var t=e.pop();return t.isQuantifier&&(t=P([e.pop(),t])),t}if(v.length>0){var D=(u=v[v.length-1]).matches[u.matches.length-1];f=u.openGroup&&(D.matches===i||!1===D.isGroup&&!1===D.isAlternator)?v.pop():j(u.matches)}else f=j(d.matches);if(f.isAlternator)v.push(f);else if(f.alternatorGroup?(c=v.pop(),f.alternatorGroup=!1):c=new g(!1,!1,!1,!0),c.matches.push(f),v.push(c),f.openGroup){f.openGroup=!1;var G=new g(!0);G.alternatorGroup=!0,v.push(G)}break;default:y()}}for(;v.length>0;)s=v.pop(),d.matches.push(s);return d.matches.length>0&&(!function t(r){r&&r.matches&&e.each(r.matches,function(e,o){var s=r.matches[e+1];(s===i||s.matches===i||!1===s.isQuantifier)&&o&&o.isGroup&&(o.isGroup=!1,n||(b(o,a.groupmarker[0],0),!0!==o.openGroup&&b(o,a.groupmarker[1]))),t(o)})}(d),k.push(d)),(a.numericInput||a.isRTL)&&function e(t){for(var n in t.matches=t.matches.reverse(),t.matches)if(t.matches.hasOwnProperty(n)){var r=parseInt(n);if(t.matches[n].isQuantifier&&t.matches[r+1]&&t.matches[r+1].isGroup){var o=t.matches[n];t.matches.splice(n,1),t.matches.splice(r+1,0,o)}t.matches[n].matches!==i?t.matches[n]=e(t.matches[n]):t.matches[n]=((s=t.matches[n])===a.optionalmarker[0]?s=a.optionalmarker[1]:s===a.optionalmarker[1]?s=a.optionalmarker[0]:s===a.groupmarker[0]?s=a.groupmarker[1]:s===a.groupmarker[1]&&(s=a.groupmarker[0]),s)}var s;return t}(k[0]),k}},l.extendDefaults=function(t){e.extend(!0,l.prototype.defaults,t)},l.extendDefinitions=function(t){e.extend(!0,l.prototype.definitions,t)},l.extendAliases=function(t){e.extend(!0,l.prototype.aliases,t)},l.format=function(e,t,n){return l(t).format(e,n)},l.unmask=function(e,t){return l(t).unmaskedvalue(e)},l.isValid=function(e,t){return l(t).isValid(e)},l.remove=function(t){"string"==typeof t&&(t=n.getElementById(t)||n.querySelectorAll(t)),t=t.nodeName?[t]:t,e.each(t,function(e,t){t.inputmask&&t.inputmask.remove()})},l.setValue=function(t,i){"string"==typeof t&&(t=n.getElementById(t)||n.querySelectorAll(t)),t=t.nodeName?[t]:t,e.each(t,function(t,n){n.inputmask?n.inputmask.setValue(i):e(n).trigger("setvalue",[i])})},l.escapeRegex=function(e){return e.replace(new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim"),"\\$1")},l.keyCode={BACKSPACE:8,BACKSPACE_SAFARI:127,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,RIGHT:39,SPACE:32,TAB:9,UP:38,X:88,CONTROL:17},l}); | ||
!function(e){"function"==typeof define&&define.amd?define(["./dependencyLibs/inputmask.dependencyLib","./global/window","./global/document"],e):"object"==typeof exports?module.exports=e(require("./dependencyLibs/inputmask.dependencyLib"),require("./global/window"),require("./global/document")):window.Inputmask=e(window.dependencyLib||jQuery,window,document)}(function(e,t,n,i){var a=navigator.userAgent,r=f("touchstart"),o=/iemobile/i.test(a),s=/iphone/i.test(a)&&!o;function l(t,n,a){if(!(this instanceof l))return new l(t,n,a);this.el=i,this.events={},this.maskset=i,this.refreshValue=!1,!0!==a&&(e.isPlainObject(t)?n=t:(n=n||{},t&&(n.alias=t)),this.opts=e.extend(!0,{},this.defaults,n),this.noMasksCache=n&&n.definitions!==i,this.userOptions=n||{},this.isRTL=this.opts.numericInput,u(this.opts.alias,n,this.opts))}function u(t,n,a){var r=l.prototype.aliases[t];return r?(r.alias&&u(r.alias,i,a),e.extend(!0,a,r),e.extend(!0,a,n),!0):(null===a.mask&&(a.mask=t),!1)}function c(t,n){function a(t,a,r){var o=!1;if(null!==t&&""!==t||((o=null!==r.regex)?t=(t=r.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(o=!0,t=".*")),1===t.length&&!1===r.greedy&&0!==r.repeat&&(r.placeholder=""),r.repeat>0||"*"===r.repeat||"+"===r.repeat){var s="*"===r.repeat?0:"+"===r.repeat?1:r.repeat;t=r.groupmarker[0]+t+r.groupmarker[1]+r.quantifiermarker[0]+s+","+r.repeat+r.quantifiermarker[1]}var u,c=o?"regex_"+r.regex:r.numericInput?t.split("").reverse().join(""):t;return l.prototype.masksCache[c]===i||!0===n?(u={mask:t,maskToken:l.prototype.analyseMask(t,o,r),validPositions:{},_buffer:i,buffer:i,tests:{},excludes:{},metadata:a,maskLength:i},!0!==n&&(l.prototype.masksCache[c]=u,u=e.extend(!0,{},l.prototype.masksCache[c]))):u=e.extend(!0,{},l.prototype.masksCache[c]),u}if(e.isFunction(t.mask)&&(t.mask=t.mask(t)),e.isArray(t.mask)){if(t.mask.length>1){if(null===t.keepStatic){t.keepStatic="auto";for(var r=0;r<t.mask.length;r++)if(t.mask[r].charAt(0)!==t.mask[0].charAt(0)){t.keepStatic=!0;break}}var o=t.groupmarker[0];return e.each(t.isRTL?t.mask.reverse():t.mask,function(n,a){o.length>1&&(o+=t.groupmarker[1]+t.alternatormarker+t.groupmarker[0]),a.mask===i||e.isFunction(a.mask)?o+=a:o+=a.mask}),a(o+=t.groupmarker[1],t.mask,t)}t.mask=t.mask.pop()}return t.mask&&t.mask.mask!==i&&!e.isFunction(t.mask.mask)?a(t.mask.mask,t.mask,t):a(t.mask,t.mask,t)}function f(e){var t=n.createElement("input"),i="on"+e,a=i in t;return a||(t.setAttribute(i,"return;"),a="function"==typeof t[i]),t=null,a}function p(a,u,c){u=u||this.maskset,c=c||this.opts;var h,m,d,v,k=this,g=this.el,b=this.isRTL,y=!1,E=!1,C=!1,P=!1;function x(e,t,n,a,r){var o=c.greedy;r&&(c.greedy=!1),t=t||0;var s,l,u,f=[],p=0,h=w();do{if(!0===e&&_().validPositions[p])l=(u=r&&!0===_().validPositions[p].match.optionality&&_().validPositions[p+1]===i&&(!0===_().validPositions[p].generatedInput||_().validPositions[p].input==c.skipOptionalPartCharacter&&p>0)?S(p,G(p,s,p-1)):_().validPositions[p]).match,s=u.locator.slice(),f.push(!0===n?u.input:!1===n?l.nativeDef:W(p,l));else{l=(u=j(p,s,p-1)).match,s=u.locator.slice();var m=!0!==a&&(!1!==c.jitMasking?c.jitMasking:l.jit);(!1===m||m===i||p<h||"number"==typeof m&&isFinite(m)&&m>p)&&f.push(!1===n?l.nativeDef:W(p,l))}"auto"===c.keepStatic&&l.newBlockMarker&&null!==l.fn&&(c.keepStatic=p-1),p++}while((d===i||p<d)&&(null!==l.fn||""!==l.def)||t>p);return""===f[f.length-1]&&f.pop(),!1===n&&_().maskLength!==i||(_().maskLength=p-1),c.greedy=o,f}function _(){return u}function A(e){var t=_();t.buffer=i,!0!==e&&(t.validPositions={},t.p=0)}function w(e,t,n){var a=-1,r=-1,o=n||_().validPositions;for(var s in e===i&&(e=-1),o){var l=parseInt(s);o[l]&&(t||!0!==o[l].generatedInput)&&(l<=e&&(a=l),l>=e&&(r=l))}return-1===a||a==e?r:-1==r?a:e-a<r-e?a:r}function O(e){var t=e.locator[e.alternation];return"string"==typeof t&&t.length>0&&(t=t.split(",")[0]),t!==i?t.toString():""}function M(e,t){var n=(e.alternation!=i?e.mloc[O(e)]:e.locator).join("");if(""!==n)for(;n.length<t;)n+="0";return n}function S(e,t){for(var n,a,r,o=M(D(e=e>0?e-1:0)),s=0;s<t.length;s++){var l=t[s];n=M(l,o.length);var u=Math.abs(n-o);(a===i||""!==n&&u<a||r&&r.match.optionality&&"master"===r.match.newBlockMarker&&(!l.match.optionality||!l.match.newBlockMarker)||r&&r.match.optionalQuantifier&&!l.match.optionalQuantifier)&&(a=u,r=l)}return r}function j(e,t,n){return _().validPositions[e]||S(e,G(e,t?t.slice():t,n))}function D(e,t){return _().validPositions[e]?_().validPositions[e]:(t||G(e))[0]}function T(e,t){for(var n=!1,i=G(e),a=0;a<i.length;a++)if(i[a].match&&i[a].match.def===t){n=!0;break}return n}function G(t,n,a){var r,o,s,l,u=_().maskToken,f=n?a:0,p=n?n.slice():[0],h=[],m=!1,d=n?n.join(""):"";function v(n,a,o,s){function l(o,s,u){function p(t,n){var i=0===e.inArray(t,n.matches);return i||e.each(n.matches,function(e,a){if(!0===a.isQuantifier?i=p(t,n.matches[e-1]):!0===a.isOptional?i=p(t,a):!0===a.isAlternate&&(i=p(t,a)),i)return!1}),i}function k(t,n,a){var r,o;if((_().tests[t]||_().validPositions[t])&&e.each(_().tests[t]||[_().validPositions[t]],function(e,t){if(t.mloc[n])return r=t,!1;var s=a!==i?a:t.alternation,l=t.locator[s]!==i?t.locator[s].toString().indexOf(n):-1;(o===i||l<o)&&-1!==l&&(r=t,o=l)}),r){var s=r.locator[r.alternation];return(r.mloc[n]||r.mloc[s]||r.locator).slice((a!==i?a:r.alternation)+1)}return a!==i?k(t,n):i}function g(e,t){function n(e){for(var t,n,i=[],a=0,r=e.length;a<r;a++)if("-"===e.charAt(a))for(n=e.charCodeAt(a+1);++t<n;)i.push(String.fromCharCode(t));else t=e.charCodeAt(a),i.push(e.charAt(a));return i.join("")}return c.regex&&null!==e.match.fn&&null!==t.match.fn?-1!==n(t.match.def.replace(/[\[\]]/g,"")).indexOf(n(e.match.def.replace(/[\[\]]/g,""))):e.match.def===t.match.nativeDef}function b(e,t){if(t===i||e.alternation===t.alternation&&-1===e.locator[e.alternation].toString().indexOf(t.locator[t.alternation])){e.mloc=e.mloc||{};var n=e.locator[e.alternation];if(n!==i){if("string"==typeof n&&(n=n.split(",")[0]),e.mloc[n]===i&&(e.mloc[n]=e.locator.slice()),t!==i){for(var a in t.mloc)"string"==typeof a&&(a=a.split(",")[0]),e.mloc[a]===i&&(e.mloc[a]=t.mloc[a]);e.locator[e.alternation]=Object.keys(e.mloc).join(",")}return!0}e.alternation=i}return!1}if(f>5e3)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+_().mask;if(f===t&&o.matches===i)return h.push({match:o,locator:s.reverse(),cd:d,mloc:{}}),!0;if(o.matches!==i){if(o.isGroup&&u!==o){if(o=l(n.matches[e.inArray(o,n.matches)+1],s))return!0}else if(o.isOptional){var y=o;if(o=v(o,a,s,u)){if(e.each(h,function(e,t){t.match.optionality=!0}),r=h[h.length-1].match,u!==i||!p(r,y))return!0;m=!0,f=t}}else if(o.isAlternator){var E,C=o,P=[],x=h.slice(),A=s.length,w=a.length>0?a.shift():-1;if(-1===w||"string"==typeof w){var O,M=f,S=a.slice(),j=[];if("string"==typeof w)j=w.split(",");else for(O=0;O<C.matches.length;O++)j.push(O.toString());if(_().excludes[t]){for(var D=j.slice(),T=0,G=_().excludes[t].length;T<G;T++)j.splice(j.indexOf(_().excludes[t][T].toString()),1);0===j.length&&(_().excludes[t]=i,j=D)}(!0===c.keepStatic||isFinite(parseInt(c.keepStatic))&&M>=c.keepStatic)&&(j=j.slice(0,1));for(var B=!1,L=0;L<j.length;L++){O=parseInt(j[L]),h=[],a="string"==typeof w&&k(f,O,A)||S.slice(),C.matches[O]&&l(C.matches[O],[O].concat(s),u)?o=!0:0===L&&(B=!0),E=h.slice(),f=M,h=[];for(var I=0;I<E.length;I++){var F=E[I],N=!1;F.match.jit=F.match.jit||B,F.alternation=F.alternation||A,b(F);for(var R=0;R<P.length;R++){var K=P[R];if("string"!=typeof w||F.alternation!==i&&-1!==e.inArray(F.locator[F.alternation].toString(),j)){if(F.match.nativeDef===K.match.nativeDef){N=!0,b(K,F);break}if(g(F,K)){b(F,K)&&(N=!0,P.splice(P.indexOf(K),0,F));break}if(g(K,F)){b(K,F);break}if(Q=K,null===(U=F).match.fn&&null!==Q.match.fn&&Q.match.fn.test(U.match.def,_(),t,!1,c,!1)){b(F,K)&&(N=!0,P.splice(P.indexOf(K),0,F));break}}}N||P.push(F)}}h=x.concat(P),f=t,m=h.length>0,o=P.length>0,a=S.slice()}else o=l(C.matches[w]||n.matches[w],[w].concat(s),u);if(o)return!0}else if(o.isQuantifier&&u!==n.matches[e.inArray(o,n.matches)-1])for(var V=o,H=a.length>0?a.shift():0;H<(isNaN(V.quantifier.max)?H+1:V.quantifier.max)&&f<=t;H++){var q=n.matches[e.inArray(V,n.matches)-1];if(o=l(q,[H].concat(s),q)){if((r=h[h.length-1].match).optionalQuantifier=H>V.quantifier.min-1,r.jit=H+q.matches.indexOf(r)>=V.quantifier.jit,p(r,q)&&H>V.quantifier.min-1){m=!0,f=t;break}if(V.quantifier.jit!==i&&isNaN(V.quantifier.max)&&r.optionalQuantifier&&_().validPositions[t-1]===i){h.pop(),m=!0,f=t,d=i;break}return!0}}else if(o=v(o,a,s,u))return!0}else f++;var U,Q}for(var u=a.length>0?a.shift():0;u<n.matches.length;u++)if(!0!==n.matches[u].isQuantifier){var p=l(n.matches[u],[u].concat(o),s);if(p&&f===t)return p;if(f>t)break}}if(t>-1){if(n===i){for(var k,g=t-1;(k=_().validPositions[g]||_().tests[g])===i&&g>-1;)g--;k!==i&&g>-1&&(o=g,s=k,l=[],e.isArray(s)||(s=[s]),s.length>0&&(s[0].alternation===i?0===(l=S(o,s.slice()).locator.slice()).length&&(l=s[0].locator.slice()):e.each(s,function(e,t){if(""!==t.def)if(0===l.length)l=t.locator.slice();else for(var n=0;n<l.length;n++)t.locator[n]&&-1===l[n].toString().indexOf(t.locator[n])&&(l[n]+=","+t.locator[n])})),d=(p=l).join(""),f=g)}if(_().tests[t]&&_().tests[t][0].cd===d)return _().tests[t];for(var b=p.shift();b<u.length;b++){if(v(u[b],p,[b])&&f===t||f>t)break}}return(0===h.length||m)&&h.push({match:{fn:null,optionality:!1,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:d}),n!==i&&_().tests[t]?e.extend(!0,[],h):(_().tests[t]=e.extend(!0,[],h),_().tests[t])}function B(){return _()._buffer===i&&(_()._buffer=x(!1,1),_().buffer===i&&(_().buffer=_()._buffer.slice())),_()._buffer}function L(e){return _().buffer!==i&&!0!==e||(_().buffer=x(!0,w(),!0)),_().buffer}function I(e,t,n){var a,r;if(!0===e)A(),e=0,t=n.length;else for(a=e;a<t;a++)delete _().validPositions[a];for(r=e,a=e;a<t;a++)if(A(!0),n[a]!==c.skipOptionalPartCharacter){var o=R(r,n[a],!0,!0);!1!==o&&(A(!0),r=o.caret!==i?o.caret:o.pos+1)}}function F(t,n,a){for(var r,o=c.greedy?n:n.slice(0,1),s=!1,l=a!==i?a.split(","):[],u=0;u<l.length;u++)-1!==(r=t.indexOf(l[u]))&&t.splice(r,1);for(var f=0;f<t.length;f++)if(-1!==e.inArray(t[f],o)){s=!0;break}return s}function N(t,n,a,r,o){var s,l,u,c,f,p,h,m=e.extend(!0,{},_().validPositions),d=!1,v=o!==i?o:w();if(-1===v&&o===i)l=(c=D(s=0)).alternation;else for(;v>=0;v--)if((u=_().validPositions[v])&&u.alternation!==i){if(c&&c.locator[u.alternation]!==u.locator[u.alternation])break;s=v,l=_().validPositions[s].alternation,c=u}if(l!==i){h=parseInt(s),_().excludes[h]=_().excludes[h]||[],!0!==t&&_().excludes[h].push(O(c));var k=[],g=0;for(f=h;f<w(i,!0)+1;f++)(p=_().validPositions[f])&&!0!==p.generatedInput?k.push(p.input):f<t&&g++,delete _().validPositions[f];for(;_().excludes[h]&&_().excludes[h].length<10;){var b=-1*g,y=k.slice();for(_().tests[h]=i,A(!0),d=!0;y.length>0;){var E=y.shift();if(!(d=R(w(i,!0)+1,E,!1,r,!0)))break}if(d&&n!==i){var C=w(t)+1;for(f=h;f<w()+1;f++)((p=_().validPositions[f])===i||null==p.match.fn)&&f<t+b&&b++;d=R((t+=b)>C?C:t,n,a,r,!0)}if(d)break;if(A(),c=D(h),_().validPositions=e.extend(!0,{},m),!_().excludes[h]){d=N(t,n,a,r,h-1);break}var P=O(c);if(-1!==_().excludes[h].indexOf(P)){d=N(t,n,a,r,h-1);break}for(_().excludes[h].push(P),f=h;f<w(i,!0)+1;f++)delete _().validPositions[f]}}return _().excludes[h]=i,d}function R(t,n,a,r,o,s){function u(e){return b?e.begin-e.end>1||e.begin-e.end==1:e.end-e.begin>1||e.end-e.begin==1}a=!0===a;var f=t;function p(n,a,o){var s=!1;return e.each(G(n),function(f,p){var h=p.match;if(L(!0),!1!==(s=null!=h.fn?h.fn.test(a,_(),n,o,c,u(t)):(a===h.def||a===c.skipOptionalPartCharacter)&&""!==h.def&&{c:W(n,h,!0)||h.def,pos:n})){var m=s.c!==i?s.c:a,d=n;return m=m===c.skipOptionalPartCharacter&&null===h.fn?W(n,h,!0)||h.def:m,s.remove!==i&&(e.isArray(s.remove)||(s.remove=[s.remove]),e.each(s.remove.sort(function(e,t){return t-e}),function(e,t){V({begin:t,end:t+1})})),s.insert!==i&&(e.isArray(s.insert)||(s.insert=[s.insert]),e.each(s.insert.sort(function(e,t){return e-t}),function(e,t){R(t.pos,t.c,!0,r)})),!0!==s&&s.pos!==i&&s.pos!==n&&(d=s.pos),!0!==s&&s.pos===i&&s.c===i?!1:(V(t,e.extend({},p,{input:function(t,n,i){switch(c.casing||n.casing){case"upper":t=t.toUpperCase();break;case"lower":t=t.toLowerCase();break;case"title":var a=_().validPositions[i-1];t=0===i||a&&a.input===String.fromCharCode(l.keyCode.SPACE)?t.toUpperCase():t.toLowerCase();break;default:if(e.isFunction(c.casing)){var r=Array.prototype.slice.call(arguments);r.push(_().validPositions),t=c.casing.apply(this,r)}}return t}(m,h,d)}),r,d)||(s=!1),!1)}}),s}t.begin!==i&&(f=b?t.end:t.begin);var h=!0,m=e.extend(!0,{},_().validPositions);if(e.isFunction(c.preValidation)&&!a&&!0!==r&&!0!==s&&(h=c.preValidation(L(),f,n,u(t),c,_())),!0===h){if(K(i,f,!0),(d===i||f<d)&&(h=p(f,n,a),(!a||!0===r)&&!1===h&&!0!==s)){var v=_().validPositions[f];if(!v||null!==v.match.fn||v.match.def!==n&&n!==c.skipOptionalPartCharacter){if((c.insertMode||_().validPositions[q(f)]===i)&&!H(f,!0))for(var k=f+1,g=q(f);k<=g;k++)if(!1!==(h=p(k,n,a))){h=K(f,h.pos!==i?h.pos:k)||h,f=k;break}}else h={caret:q(f)}}!1!==h||!1===c.keepStatic||null!=c.regex&&!ie(L())||a||!0===o||(h=N(f,n,a,r)),!0===h&&(h={pos:f})}if(e.isFunction(c.postValidation)&&!1!==h&&!a&&!0!==r&&!0!==s){var y=c.postValidation(L(!0),h,c);if(y!==i){if(y.refreshFromBuffer&&y.buffer){var E=y.refreshFromBuffer;I(!0===E?E:E.start,E.end,y.buffer)}h=!0===y?h:y}}return h&&h.pos===i&&(h.pos=f),!1!==h&&!0!==s||(A(!0),_().validPositions=e.extend(!0,{},m)),h}function K(t,n,a){var r;if(t===i)for(t=n-1;t>0&&!_().validPositions[t];t--);for(var o=t;o<n;o++)if(_().validPositions[o]===i&&!H(o,!0)){var s=0==o?D(o):_().validPositions[o-1];if(s){var l,u=M(s),c=G(o).slice(),f=i,p=D(o);if(""===c[c.length-1].match.def&&c.pop(),e.each(c,function(e,t){l=M(t,u.length);var n=Math.abs(l-u);(f===i||n<f)&&null===t.match.fn&&!0!==t.match.optionality&&!0!==t.match.optionalQuantifier&&(f=n,p=t)}),(p=e.extend({},p,{input:W(o,p.match,!0)||p.match.def})).generatedInput=!0,V(o,p,!0),!0!==a){var h=_().validPositions[n].input;_().validPositions[n]=i,r=R(n,h,!0,!0)}}}return r}function V(t,n,a,r){function o(e,t,n){var a=t[e];if(a!==i&&(null===a.match.fn&&!0!==a.match.optionality||a.input===c.radixPoint)){var r=n.begin<=e-1?t[e-1]&&null===t[e-1].match.fn&&t[e-1]:t[e-1],o=n.end>e+1?t[e+1]&&null===t[e+1].match.fn&&t[e+1]:t[e+1];return r&&o}return!1}var s=t.begin!==i?t.begin:t,l=t.end!==i?t.end:t;if(t.begin>t.end&&(s=t.end,l=t.begin),r=r!==i?r:s,s!==l||c.insertMode&&_().validPositions[r]!==i&&a===i){var u=e.extend(!0,{},_().validPositions),f=w(i,!0);for(_().p=s,v=f;v>=s;v--)_().validPositions[v]&&"+"===_().validPositions[v].match.nativeDef&&(c.isNegative=!1),delete _().validPositions[v];var p=!0,h=r,m=(_().validPositions,!1),d=h,v=h;for(n&&(_().validPositions[r]=e.extend(!0,{},n),d++,h++,s<l&&v++);v<=f;v++){var k=u[v];if(k!==i&&(v>=l||v>=s&&!0!==k.generatedInput&&o(v,u,{begin:s,end:l}))){for(;""!==D(d).match.def;){if(!1===m&&u[d]&&u[d].match.nativeDef===k.match.nativeDef)_().validPositions[d]=e.extend(!0,{},u[d]),_().validPositions[d].input=k.input,K(i,d,!0),h=d+1,p=!0;else if(T(d,k.match.def)){var g=R(d,k.input,!0,!0);p=!1!==g,h=g.caret||g.insert?w():d+1,m=!0}else if(!(p=!0===k.generatedInput||k.input===c.radixPoint&&!0===c.numericInput)&&""===D(d).match.def)break;if(p)break;d++}""==D(d).match.def&&(p=!1),d=h}if(!p)break}if(!p)return _().validPositions=e.extend(!0,{},u),A(!0),!1}else n&&(_().validPositions[r]=e.extend(!0,{},n));return A(!0),!0}function H(e,t){var n=j(e).match;if(""===n.def&&(n=D(e).match),null!=n.fn)return n.fn;if(!0!==t&&e>-1){var i=G(e);return i.length>1+(""===i[i.length-1].match.def?1:0)}return!1}function q(e,t){for(var n=e+1;""!==D(n).match.def&&(!0===t&&(!0!==D(n).match.newBlockMarker||!H(n))||!0!==t&&!H(n));)n++;return n}function U(e,t){var n,i=e;if(i<=0)return 0;for(;--i>0&&(!0===t&&!0!==D(i).match.newBlockMarker||!0!==t&&!H(i)&&((n=G(i)).length<2||2===n.length&&""===n[1].match.def)););return i}function Q(t,n,a,r,o){if(r&&e.isFunction(c.onBeforeWrite)){var s=c.onBeforeWrite.call(k,r,n,a,c);if(s){if(s.refreshFromBuffer){var l=s.refreshFromBuffer;I(!0===l?l:l.start,l.end,s.buffer||n),n=L(!0)}a!==i&&(a=s.caret!==i?s.caret:a)}}if(t!==i&&(t.inputmask._valueSet(n.join("")),a===i||r!==i&&"blur"===r.type?oe(t,a,0===n.length):ee(t,a),!0===o)){var u=e(t),f=t.inputmask._valueGet();E=!0,u.trigger("input"),setTimeout(function(){f===B().join("")?u.trigger("cleared"):!0===ie(n)&&u.trigger("complete")},0)}}function W(t,n,a){if((n=n||D(t).match).placeholder!==i||!0===a)return e.isFunction(n.placeholder)?n.placeholder(c):n.placeholder;if(null===n.fn){if(t>-1&&_().validPositions[t]===i){var r,o=G(t),s=[];if(o.length>1+(""===o[o.length-1].match.def?1:0))for(var l=0;l<o.length;l++)if(!0!==o[l].match.optionality&&!0!==o[l].match.optionalQuantifier&&(null===o[l].match.fn||r===i||!1!==o[l].match.fn.test(r.match.def,_(),t,!0,c))&&(s.push(o[l]),null===o[l].match.fn&&(r=o[l]),s.length>1&&/[0-9a-bA-Z]/.test(s[0].match.def)))return c.placeholder.charAt(t%c.placeholder.length)}return n.def}return c.placeholder.charAt(t%c.placeholder.length)}var $,z={on:function(t,n,a){var u=function(t){var n=this;if(n.inputmask===i&&"FORM"!==this.nodeName){var u=e.data(n,"_inputmask_opts");u?new l(u).mask(n):z.off(n)}else{if("setvalue"===t.type||"FORM"===this.nodeName||!(n.disabled||n.readOnly&&!("keydown"===t.type&&t.ctrlKey&&67===t.keyCode||!1===c.tabThrough&&t.keyCode===l.keyCode.TAB))){switch(t.type){case"input":if(!0===E)return E=!1,t.preventDefault();if(r){var f=arguments;return setTimeout(function(){a.apply(n,f),ee(n,n.inputmask.caretPos,i,!0)},0),!1}break;case"keydown":y=!1,E=!1;break;case"keypress":if(!0===y)return t.preventDefault();y=!0;break;case"click":if(o||s){f=arguments;return setTimeout(function(){a.apply(n,f)},0),!1}}var p=a.apply(n,arguments);return!1===p&&(t.preventDefault(),t.stopPropagation()),p}t.preventDefault()}};t.inputmask.events[n]=t.inputmask.events[n]||[],t.inputmask.events[n].push(u),-1!==e.inArray(n,["submit","reset"])?null!==t.form&&e(t.form).on(n,u):e(t).on(n,u)},off:function(t,n){var i;t.inputmask&&t.inputmask.events&&(n?(i=[])[n]=t.inputmask.events[n]:i=t.inputmask.events,e.each(i,function(n,i){for(;i.length>0;){var a=i.pop();-1!==e.inArray(n,["submit","reset"])?null!==t.form&&e(t.form).off(n,a):e(t).off(n,a)}delete t.inputmask.events[n]}))}},X={keydownEvent:function(t){var n=this,i=e(n),a=t.keyCode,r=ee(n);if(a===l.keyCode.BACKSPACE||a===l.keyCode.DELETE||s&&a===l.keyCode.BACKSPACE_SAFARI||t.ctrlKey&&a===l.keyCode.X&&!f("cut"))t.preventDefault(),ae(n,a,r),Q(n,L(!0),_().p,t,n.inputmask._valueGet()!==L().join(""));else if(a===l.keyCode.END||a===l.keyCode.PAGE_DOWN){t.preventDefault();var o=q(w());c.insertMode||o!==_().maskLength||t.shiftKey||o--,ee(n,t.shiftKey?r.begin:o,o,!0)}else a===l.keyCode.HOME&&!t.shiftKey||a===l.keyCode.PAGE_UP?(t.preventDefault(),ee(n,0,t.shiftKey?r.begin:0,!0)):(c.undoOnEscape&&a===l.keyCode.ESCAPE||90===a&&t.ctrlKey)&&!0!==t.altKey?(Z(n,!0,!1,h.split("")),i.trigger("click")):a!==l.keyCode.INSERT||t.shiftKey||t.ctrlKey?!0===c.tabThrough&&a===l.keyCode.TAB?(!0===t.shiftKey?(null===D(r.begin).match.fn&&(r.begin=q(r.begin)),r.end=U(r.begin,!0),r.begin=U(r.end,!0)):(r.begin=q(r.begin,!0),r.end=q(r.begin,!0),r.end<_().maskLength&&r.end--),r.begin<_().maskLength&&(t.preventDefault(),ee(n,r.begin,r.end))):t.shiftKey||!1===c.insertMode&&(a===l.keyCode.RIGHT?setTimeout(function(){var e=ee(n);ee(n,e.begin)},0):a===l.keyCode.LEFT&&setTimeout(function(){var e=ee(n);ee(n,b?e.begin+1:e.begin-1)},0)):(c.insertMode=!c.insertMode,ee(n,c.insertMode||r.begin!==_().maskLength?r.begin:r.begin-1));c.onKeyDown.call(this,t,L(),ee(n).begin,c),C=-1!==e.inArray(a,c.ignorables)},keypressEvent:function(t,n,a,r,o){var s=this,u=e(s),f=t.which||t.charCode||t.keyCode;if(!(!0===n||t.ctrlKey&&t.altKey)&&(t.ctrlKey||t.metaKey||C))return f===l.keyCode.ENTER&&h!==L().join("")&&(h=L().join(""),setTimeout(function(){u.trigger("change")},0)),!0;if(f){46===f&&!1===t.shiftKey&&""!==c.radixPoint&&(f=c.radixPoint.charCodeAt(0));var p,m=n?{begin:o,end:o}:ee(s),d=String.fromCharCode(f),v=0;if(c._radixDance&&c.numericInput){var k=L().indexOf(c.radixPoint.charAt(0))+1;m.begin<=k&&(f===c.radixPoint.charCodeAt(0)&&(v=1),m.begin-=1,m.end-=1)}_().writeOutBuffer=!0;var g=R(m,d,r);if(!1!==g&&(A(!0),p=g.caret!==i?g.caret:q(g.pos.begin?g.pos.begin:g.pos),_().p=p),p=(c.numericInput&&g.caret===i?U(p):p)+v,!1!==a&&(setTimeout(function(){c.onKeyValidation.call(s,f,g,c)},0),_().writeOutBuffer&&!1!==g)){var b=L();Q(s,b,p,t,!0!==n)}if(t.preventDefault(),n)return!1!==g&&(g.forwardPosition=p),g}},pasteEvent:function(n){var i,a=this,r=n.originalEvent||n,o=(e(a),a.inputmask._valueGet(!0)),s=ee(a);b&&(i=s.end,s.end=s.begin,s.begin=i);var l=o.substr(0,s.begin),u=o.substr(s.end,o.length);if(l===(b?B().reverse():B()).slice(0,s.begin).join("")&&(l=""),u===(b?B().reverse():B()).slice(s.end).join("")&&(u=""),b&&(i=l,l=u,u=i),t.clipboardData&&t.clipboardData.getData)o=l+t.clipboardData.getData("Text")+u;else{if(!r.clipboardData||!r.clipboardData.getData)return!0;o=l+r.clipboardData.getData("text/plain")+u}var f=o;if(e.isFunction(c.onBeforePaste)){if(!1===(f=c.onBeforePaste.call(k,o,c)))return n.preventDefault();f||(f=o)}return Z(a,!1,!1,b?f.split("").reverse():f.toString().split("")),Q(a,L(),q(w()),n,h!==L().join("")),n.preventDefault()},inputFallBackEvent:function(t){var n,i,a=this,r=a.inputmask._valueGet();if(L().join("")!==r){var s=ee(a);if(i=s,"."===(n=r).charAt(i.begin-1)&&""!==c.radixPoint&&((n=n.split(""))[i.begin-1]=c.radixPoint.charAt(0),n=n.join("")),r=function(e,t,n){if(o){var i=t.replace(L().join(""),"");if(1===i.length){var a=t.split("");a.splice(n.begin,0,i),t=a.join("")}}return t}(0,r=n,s),L().join("")!==r){var u=L().join(""),f=!c.numericInput&&r.length>u.length?-1:0,p=r.substr(0,s.begin),h=r.substr(s.begin),m=u.substr(0,s.begin+f),d=u.substr(s.begin+f),v=s,k="",g=!1;if(p!==m){for(var b=(g=p.length>=m.length)?p.length:m.length,y=0;p.charAt(y)===m.charAt(y)&&y<b;y++);g&&(0===f&&(v.begin=y),k+=p.slice(y,v.end))}if(h!==d&&(h.length>d.length?k+=h.slice(0,1):h.length<d.length&&(v.end+=d.length-h.length,g||""===c.radixPoint||""!==h||p.charAt(v.begin+f-1)!==c.radixPoint||(v.begin--,k=c.radixPoint))),Q(a,L(),{begin:v.begin+f,end:v.end+f}),k.length>0)e.each(k.split(""),function(t,n){var i=new e.Event("keypress");i.which=n.charCodeAt(0),C=!1,X.keypressEvent.call(a,i)});else{v.begin===v.end-1&&(v.begin=U(v.begin+1),v.begin===v.end-1?ee(a,v.begin):ee(a,v.begin,v.end));var E=new e.Event("keydown");E.keyCode=c.numericInput?l.keyCode.BACKSPACE:l.keyCode.DELETE,X.keydownEvent.call(a,E),!1===c.insertMode&&ee(a,ee(a).begin-1)}t.preventDefault()}}},beforeInputEvent:function(t){if(t.cancelable){var n=this;switch(t.inputType){case"insertText":return e.each(t.data.split(""),function(t,i){var a=new e.Event("keypress");a.which=i.charCodeAt(0),C=!1,X.keypressEvent.call(n,a)}),t.preventDefault();case"deleteContentBackward":return(i=new e.Event("keydown")).keyCode=l.keyCode.BACKSPACE,X.keydownEvent.call(n,i),t.preventDefault();case"deleteContentForward":var i;return(i=new e.Event("keydown")).keyCode=l.keyCode.DELETE,X.keydownEvent.call(n,i),t.preventDefault()}}},setValueEvent:function(t){this.inputmask.refreshValue=!1;var n=(n=t&&t.detail?t.detail[0]:arguments[1])||this.inputmask._valueGet(!0);e.isFunction(c.onBeforeMask)&&(n=c.onBeforeMask.call(k,n,c)||n),n=n.split(""),Z(this,!0,!1,b?n.reverse():n),h=L().join(""),(c.clearMaskOnLostFocus||c.clearIncomplete)&&this.inputmask._valueGet()===B().join("")&&this.inputmask._valueSet("")},focusEvent:function(e){var t=this,n=t.inputmask._valueGet();c.showMaskOnFocus&&(!c.showMaskOnHover||c.showMaskOnHover&&""===n)&&(t.inputmask._valueGet()!==L().join("")?Q(t,L(),q(w())):!1===P&&ee(t,q(w()))),!0===c.positionCaretOnTab&&!1===P&&X.clickEvent.apply(t,[e,!0]),h=L().join("")},mouseleaveEvent:function(e){if(P=!1,c.clearMaskOnLostFocus&&n.activeElement!==this){var t=L().slice(),i=this.inputmask._valueGet();i!==this.getAttribute("placeholder")&&""!==i&&(-1===w()&&i===B().join("")?t=[]:ne(t),Q(this,t))}},clickEvent:function(t,a){var r=this;setTimeout(function(){if(n.activeElement===r){var t=ee(r);if(a&&(b?t.end=t.begin:t.begin=t.end),t.begin===t.end)switch(c.positionCaretOnClick){case"none":break;case"select":ee(r,0,L().length);break;case"radixFocus":if(function(t){if(""!==c.radixPoint){var n=_().validPositions;if(n[t]===i||n[t].input===W(t)){if(t<q(-1))return!0;var a=e.inArray(c.radixPoint,L());if(-1!==a){for(var r in n)if(a<r&&n[r].input!==W(r))return!1;return!0}}}return!1}(t.begin)){var o=L().join("").indexOf(c.radixPoint);ee(r,c.numericInput?q(o):o);break}case"ignore":ee(r,q(w()));break;default:var s=t.begin,l=w(s,!0),u=q(l);if(s<u)ee(r,H(s,!0)||H(s-1,!0)?s:q(s));else{var f=_().validPositions[l],p=j(u,f?f.match.locator:i,f),h=W(u,p.match);if(""!==h&&L()[u]!==h&&!0!==p.match.optionalQuantifier&&!0!==p.match.newBlockMarker||!H(u,c.keepStatic)&&p.match.def===h){var m=q(u);(s>=m||s===u)&&(u=m)}ee(r,u)}}}},0)},dblclickEvent:function(e){var t=this;setTimeout(function(){ee(t,0,q(w()))},0)},cutEvent:function(i){e(this);var a=ee(this),r=i.originalEvent||i,o=t.clipboardData||r.clipboardData,s=b?L().slice(a.end,a.begin):L().slice(a.begin,a.end);o.setData("text",b?s.reverse().join(""):s.join("")),n.execCommand&&n.execCommand("copy"),ae(this,l.keyCode.DELETE,a),Q(this,L(),_().p,i,h!==L().join(""))},blurEvent:function(t){var n=e(this);if(this.inputmask){var a=this.inputmask._valueGet(),r=L().slice();""===a&&v===i||(c.clearMaskOnLostFocus&&(-1===w()&&a===B().join("")?r=[]:ne(r)),!1===ie(r)&&(setTimeout(function(){n.trigger("incomplete")},0),c.clearIncomplete&&(A(),r=c.clearMaskOnLostFocus?[]:B().slice())),Q(this,r,i,t)),h!==L().join("")&&(h=r.join(""),n.trigger("change"))}},mouseenterEvent:function(e){P=!0,n.activeElement!==this&&c.showMaskOnHover&&this.inputmask._valueGet()!==L().join("")&&Q(this,L())},submitEvent:function(e){h!==L().join("")&&m.trigger("change"),c.clearMaskOnLostFocus&&-1===w()&&g.inputmask._valueGet&&g.inputmask._valueGet()===B().join("")&&g.inputmask._valueSet(""),c.clearIncomplete&&!1===ie(L())&&g.inputmask._valueSet(""),c.removeMaskOnSubmit&&(g.inputmask._valueSet(g.inputmask.unmaskedvalue(),!0),setTimeout(function(){Q(g,L())},0))},resetEvent:function(e){g.inputmask.refreshValue=!0,setTimeout(function(){m.trigger("setvalue")},0)}};function Z(t,n,a,r,o){var s=r.slice(),u="",f=-1,p=i;if(A(),a||!0===c.autoUnmask)f=q(f);else{var h=B().slice(0,q(-1)).join(""),m=s.join("").match(new RegExp("^"+l.escapeRegex(h),"g"));m&&m.length>0&&(s.splice(0,m.length*h.length),f=q(f))}-1===f?(_().p=q(f),f=0):_().p=f,e.each(s,function(n,r){if(r!==i)if(_().validPositions[n]===i&&s[n]===W(n)&&H(n,!0)&&!1===R(n,s[n],!0,i,i,!0))_().p++;else{var o=new e.Event("_checkval");o.which=r.charCodeAt(0),u+=r;var l=w(i,!0),h=D(l),m=j(l+1,h?h.locator.slice():i,l);if(v=f,k=u,-1===x(!0,0,!1).slice(v,q(v)).join("").indexOf(k)||H(v)||D(v).match.nativeDef!==k.charAt(0)&&(" "!==D(v).match.nativeDef||D(v+1).match.nativeDef!==k.charAt(0))||a||c.autoUnmask){var d=a?n:null==m.match.fn&&m.match.optionality&&l+1<_().p?l+1:_().p;(p=X.keypressEvent.call(t,o,!0,!1,a,d))&&(f=d+1,u="")}else p=X.keypressEvent.call(t,o,!0,!1,!0,l+1);Q(i,L(),p.forwardPosition,o,!1)}var v,k}),n&&Q(t,L(),p?p.forwardPosition:i,o||new e.Event("checkval"),o&&"input"===o.type)}function J(t){if(t){if(t.inputmask===i)return t.value;t.inputmask&&t.inputmask.refreshValue&&X.setValueEvent.call(t)}var n=[],a=_().validPositions;for(var r in a)a[r].match&&null!=a[r].match.fn&&n.push(a[r].input);var o=0===n.length?"":(b?n.reverse():n).join("");if(e.isFunction(c.onUnMask)){var s=(b?L().slice().reverse():L()).join("");o=c.onUnMask.call(k,s,o,c)}return o}function Y(e){return!b||"number"!=typeof e||c.greedy&&""===c.placeholder||(e=g.inputmask._valueGet().length-e),e}function ee(a,r,o,l){var u;if(r===i)return a.setSelectionRange?(r=a.selectionStart,o=a.selectionEnd):t.getSelection?(u=t.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==a&&u.commonAncestorContainer!==a||(r=u.startOffset,o=u.endOffset):n.selection&&n.selection.createRange&&(o=(r=0-(u=n.selection.createRange()).duplicate().moveStart("character",-a.inputmask._valueGet().length))+u.text.length),{begin:l?r:Y(r),end:l?o:Y(o)};if(e.isArray(r)&&(o=b?r[0]:r[1],r=b?r[1]:r[0]),r.begin!==i&&(o=b?r.begin:r.end,r=b?r.end:r.begin),"number"==typeof r){r=l?r:Y(r),o="number"==typeof(o=l?o:Y(o))?o:r;var f=parseInt(((a.ownerDocument.defaultView||t).getComputedStyle?(a.ownerDocument.defaultView||t).getComputedStyle(a,null):a.currentStyle).fontSize)*o;if(a.scrollLeft=f>a.scrollWidth?f:0,s||!1!==c.insertMode||r!==o||o++,a.inputmask.caretPos={begin:r,end:o},a.setSelectionRange)a.selectionStart=r,a.selectionEnd=o;else if(t.getSelection){if(u=n.createRange(),a.firstChild===i||null===a.firstChild){var p=n.createTextNode("");a.appendChild(p)}u.setStart(a.firstChild,r<a.inputmask._valueGet().length?r:a.inputmask._valueGet().length),u.setEnd(a.firstChild,o<a.inputmask._valueGet().length?o:a.inputmask._valueGet().length),u.collapse(!0);var h=t.getSelection();h.removeAllRanges(),h.addRange(u)}else a.createTextRange&&((u=a.createTextRange()).collapse(!0),u.moveEnd("character",o),u.moveStart("character",r),u.select());oe(a,{begin:r,end:o})}}function te(t){var n,a,r=x(!0,w(),!0,!0),o=r.length,s=w(),l={},u=_().validPositions[s],c=u!==i?u.locator.slice():i;for(n=s+1;n<r.length;n++)c=(a=j(n,c,n-1)).locator.slice(),l[n]=e.extend(!0,{},a);var f=u&&u.alternation!==i?u.locator[u.alternation]:i;for(n=o-1;n>s&&(((a=l[n]).match.optionality||a.match.optionalQuantifier&&a.match.newBlockMarker||f&&(f!==l[n].locator[u.alternation]&&null!=a.match.fn||null===a.match.fn&&a.locator[u.alternation]&&F(a.locator[u.alternation].toString().split(","),f.toString().split(","))&&""!==G(n)[0].def))&&r[n]===W(n,a.match));n--)o--;return t?{l:o,def:l[o]?l[o].match:i}:o}function ne(e){e.length=0;for(var t,n=x(!0,0,!0,i,!0);(t=n.shift())!==i;)e.push(t);return e}function ie(t){if(e.isFunction(c.isComplete))return c.isComplete(t,c);if("*"===c.repeat)return i;var n=!1,a=te(!0),r=U(a.l);if(a.def===i||a.def.newBlockMarker||a.def.optionality||a.def.optionalQuantifier){n=!0;for(var o=0;o<=r;o++){var s=j(o).match;if(null!==s.fn&&_().validPositions[o]===i&&!0!==s.optionality&&!0!==s.optionalQuantifier||null===s.fn&&t[o]!==W(o,s)){n=!1;break}}}return n}function ae(e,t,n,a,r){if((c.numericInput||b)&&(t===l.keyCode.BACKSPACE?t=l.keyCode.DELETE:t===l.keyCode.DELETE&&(t=l.keyCode.BACKSPACE),b)){var o=n.end;n.end=n.begin,n.begin=o}if(t===l.keyCode.BACKSPACE&&(n.end-n.begin<1||!1===c.insertMode)?(n.begin=U(n.begin),_().validPositions[n.begin]!==i&&_().validPositions[n.begin].input===c.groupSeparator&&n.begin--,!1===c.insertMode&&n.end!==_().maskLength&&n.end--):t===l.keyCode.DELETE&&n.begin===n.end&&(n.end=H(n.end,!0)&&_().validPositions[n.end]&&_().validPositions[n.end].input!==c.radixPoint?n.end+1:q(n.end)+1,_().validPositions[n.begin]!==i&&_().validPositions[n.begin].input===c.groupSeparator&&n.end++),V(n),!0!==a&&!1!==c.keepStatic||null!==c.regex){var s=N(!0);if(s){var u=s.caret!==i?s.caret:s.pos?q(s.pos.begin?s.pos.begin:s.pos):w(-1,!0);(t!==l.keyCode.DELETE||n.begin>u)&&n.begin}}var f=w(n.begin,!0);if(f<n.begin||-1===n.begin)_().p=q(f);else if(!0!==a&&(_().p=n.begin,!0!==r))for(;_().p<f&&_().validPositions[_().p]===i;)_().p++}function re(i){var a=(i.ownerDocument.defaultView||t).getComputedStyle(i,null);var r=n.createElement("div");r.style.width=a.width,r.style.textAlign=a.textAlign,v=n.createElement("div"),i.inputmask.colorMask=v,v.className="im-colormask",i.parentNode.insertBefore(v,i),i.parentNode.removeChild(i),v.appendChild(i),v.appendChild(r),i.style.left=r.offsetLeft+"px",e(v).on("mouseleave",function(e){return X.mouseleaveEvent.call(i,[e])}),e(v).on("mouseenter",function(e){return X.mouseenterEvent.call(i,[e])}),e(v).on("click",function(e){return ee(i,function(e){var t,r=n.createElement("span");for(var o in a)isNaN(o)&&-1!==o.indexOf("font")&&(r.style[o]=a[o]);r.style.textTransform=a.textTransform,r.style.letterSpacing=a.letterSpacing,r.style.position="absolute",r.style.height="auto",r.style.width="auto",r.style.visibility="hidden",r.style.whiteSpace="nowrap",n.body.appendChild(r);var s,l=i.inputmask._valueGet(),u=0;for(t=0,s=l.length;t<=s;t++){if(r.innerHTML+=l.charAt(t)||"_",r.offsetWidth>=e){var c=e-u,f=r.offsetWidth-e;r.innerHTML=l.charAt(t),t=(c-=r.offsetWidth/3)<f?t-1:t;break}u=r.offsetWidth}return n.body.removeChild(r),t}(e.clientX)),X.clickEvent.call(i,[e])}),e(i).on("keydown",function(e){e.shiftKey||!1===c.insertMode||setTimeout(function(){oe(i)},0)})}function oe(e,t,a){var r,o,s,l=[],u=!1,f=0;function p(e){if(e===i&&(e=""),u||null!==r.fn&&o.input!==i)if(u&&(null!==r.fn&&o.input!==i||""===r.def)){u=!1;var t=l.length;l[t-1]=l[t-1]+"</span>",l.push(e)}else l.push(e);else u=!0,l.push("<span class='im-static'>"+e)}if(v!==i){var h=L();if(t===i?t=ee(e):t.begin===i&&(t={begin:t,end:t}),!0!==a){var m=w();do{_().validPositions[f]?(o=_().validPositions[f],r=o.match,s=o.locator.slice(),p(h[f])):(o=j(f,s,f-1),r=o.match,s=o.locator.slice(),!1===c.jitMasking||f<m||"number"==typeof c.jitMasking&&isFinite(c.jitMasking)&&c.jitMasking>f?p(W(f,r)):u=!1),f++}while((d===i||f<d)&&(null!==r.fn||""!==r.def)||m>f||u);u&&p(),n.activeElement===e&&(l.splice(t.begin,0,t.begin===t.end||t.end>_().maskLength?'<mark class="im-caret" style="border-right-width: 1px;border-right-style: solid;">':'<mark class="im-caret-select">'),l.splice(t.end+1,0,"</mark>"))}var k=v.getElementsByTagName("div")[0];k.innerHTML=l.join(""),e.inputmask.positionColorMask(e,k)}}if(l.prototype.positionColorMask=function(e,t){e.style.left=t.offsetLeft+"px"},a!==i)switch(a.action){case"isComplete":return g=a.el,ie(L());case"unmaskedvalue":return g!==i&&a.value===i||($=a.value,$=(e.isFunction(c.onBeforeMask)&&c.onBeforeMask.call(k,$,c)||$).split(""),Z(i,!1,!1,b?$.reverse():$),e.isFunction(c.onBeforeWrite)&&c.onBeforeWrite.call(k,i,L(),0,c)),J(g);case"mask":!function(t){z.off(t);var a=function(t,a){var r=t.getAttribute("type"),o="INPUT"===t.tagName&&-1!==e.inArray(r,a.supportsInputType)||t.isContentEditable||"TEXTAREA"===t.tagName;if(!o)if("INPUT"===t.tagName){var s=n.createElement("input");s.setAttribute("type",r),o="text"===s.type,s=null}else o="partial";return!1!==o?function(t){var r,o,s;function l(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==w()||!0!==a.nullable?n.activeElement===this&&a.clearMaskOnLostFocus?(b?ne(L().slice()).reverse():ne(L().slice())).join(""):r.call(this):"":r.call(this)}function u(t){o.call(this,t),this.inputmask&&e(this).trigger("setvalue",[t])}if(!t.inputmask.__valueGet){if(!0!==a.noValuePatching){if(Object.getOwnPropertyDescriptor){"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"==typeof"test".__proto__?function(e){return e.__proto__}:function(e){return e.constructor.prototype});var c=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),"value"):i;c&&c.get&&c.set?(r=c.get,o=c.set,Object.defineProperty(t,"value",{get:l,set:u,configurable:!0})):"INPUT"!==t.tagName&&(r=function(){return this.textContent},o=function(e){this.textContent=e},Object.defineProperty(t,"value",{get:l,set:u,configurable:!0}))}else n.__lookupGetter__&&t.__lookupGetter__("value")&&(r=t.__lookupGetter__("value"),o=t.__lookupSetter__("value"),t.__defineGetter__("value",l),t.__defineSetter__("value",u));t.inputmask.__valueGet=r,t.inputmask.__valueSet=o}t.inputmask._valueGet=function(e){return b&&!0!==e?r.call(this.el).split("").reverse().join(""):r.call(this.el)},t.inputmask._valueSet=function(e,t){o.call(this.el,null===e||e===i?"":!0!==t&&b?e.split("").reverse().join(""):e)},r===i&&(r=function(){return this.value},o=function(e){this.value=e},function(t){if(e.valHooks&&(e.valHooks[t]===i||!0!==e.valHooks[t].inputmaskpatch)){var n=e.valHooks[t]&&e.valHooks[t].get?e.valHooks[t].get:function(e){return e.value},r=e.valHooks[t]&&e.valHooks[t].set?e.valHooks[t].set:function(e,t){return e.value=t,e};e.valHooks[t]={get:function(e){if(e.inputmask){if(e.inputmask.opts.autoUnmask)return e.inputmask.unmaskedvalue();var t=n(e);return-1!==w(i,i,e.inputmask.maskset.validPositions)||!0!==a.nullable?t:""}return n(e)},set:function(t,n){var i,a=e(t);return i=r(t,n),t.inputmask&&a.trigger("setvalue",[n]),i},inputmaskpatch:!0}}}(t.type),s=t,z.on(s,"mouseenter",function(t){var n=e(this);this.inputmask._valueGet()!==L().join("")&&n.trigger("setvalue")}))}}(t):t.inputmask=i,o}(t,c);if(!1!==a&&(m=e(g=t),-1===(d=g!==i?g.maxLength:i)&&(d=i),!0===c.colorMask&&re(g),r&&("inputmode"in g&&(g.inputmode=c.inputmode,g.setAttribute("inputmode",c.inputmode)),!0===c.disablePredictiveText&&("autocorrect"in g?g.autocorrect=!1:(!0!==c.colorMask&&re(g),g.type="password"))),!0===a&&(z.on(g,"submit",X.submitEvent),z.on(g,"reset",X.resetEvent),z.on(g,"blur",X.blurEvent),z.on(g,"focus",X.focusEvent),!0!==c.colorMask&&(z.on(g,"click",X.clickEvent),z.on(g,"mouseleave",X.mouseleaveEvent),z.on(g,"mouseenter",X.mouseenterEvent)),z.on(g,"dblclick",X.dblclickEvent),z.on(g,"paste",X.pasteEvent),z.on(g,"dragdrop",X.pasteEvent),z.on(g,"drop",X.pasteEvent),z.on(g,"cut",X.cutEvent),z.on(g,"complete",c.oncomplete),z.on(g,"incomplete",c.onincomplete),z.on(g,"cleared",c.oncleared),r||!0===c.inputEventOnly?g.removeAttribute("maxLength"):(z.on(g,"keydown",X.keydownEvent),z.on(g,"keypress",X.keypressEvent)),z.on(g,"compositionstart",e.noop),z.on(g,"compositionupdate",e.noop),z.on(g,"compositionend",e.noop),z.on(g,"keyup",e.noop),z.on(g,"input",X.inputFallBackEvent),z.on(g,"beforeinput",X.beforeInputEvent)),z.on(g,"setvalue",X.setValueEvent),h=B().join(""),""!==g.inputmask._valueGet(!0)||!1===c.clearMaskOnLostFocus||n.activeElement===g)){var o=e.isFunction(c.onBeforeMask)&&c.onBeforeMask.call(k,g.inputmask._valueGet(!0),c)||g.inputmask._valueGet(!0);""!==o&&Z(g,!0,!1,b?o.split("").reverse():o.split(""));var s=L().slice();h=s.join(""),!1===ie(s)&&c.clearIncomplete&&A(),c.clearMaskOnLostFocus&&n.activeElement!==g&&(-1===w()?s=[]:ne(s)),(!1===c.clearMaskOnLostFocus||c.showMaskOnFocus&&n.activeElement===g||""!==g.inputmask._valueGet(!0))&&Q(g,s),n.activeElement===g&&ee(g,q(w()))}}(g);break;case"format":return $=(e.isFunction(c.onBeforeMask)&&c.onBeforeMask.call(k,a.value,c)||a.value).split(""),Z(i,!0,!1,b?$.reverse():$),a.metadata?{value:b?L().slice().reverse().join(""):L().join(""),metadata:p.call(this,{action:"getmetadata"},u,c)}:b?L().slice().reverse().join(""):L().join("");case"isValid":a.value?($=a.value.split(""),Z(i,!0,!0,b?$.reverse():$)):a.value=L().join("");for(var se=L(),le=te(),ue=se.length-1;ue>le&&!H(ue);ue--);return se.splice(le,ue+1-le),ie(se)&&a.value===L().join("");case"getemptymask":return B().join("");case"remove":if(g&&g.inputmask)e.data(g,"_inputmask_opts",null),m=e(g),g.inputmask._valueSet(c.autoUnmask?J(g):g.inputmask._valueGet(!0)),z.off(g),g.inputmask.colorMask&&((v=g.inputmask.colorMask).removeChild(g),v.parentNode.insertBefore(g,v),v.parentNode.removeChild(v)),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(g),"value")&&g.inputmask.__valueGet&&Object.defineProperty(g,"value",{get:g.inputmask.__valueGet,set:g.inputmask.__valueSet,configurable:!0}):n.__lookupGetter__&&g.__lookupGetter__("value")&&g.inputmask.__valueGet&&(g.__defineGetter__("value",g.inputmask.__valueGet),g.__defineSetter__("value",g.inputmask.__valueSet)),g.inputmask=i;return g;case"getmetadata":if(e.isArray(u.metadata)){var ce=x(!0,0,!1).join("");return e.each(u.metadata,function(e,t){if(t.mask===ce)return ce=t,!1}),ce}return u.metadata}}return l.prototype={dataAttribute:"data-inputmask",defaults:{placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:e.noop,onincomplete:e.noop,oncleared:e.noop,repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,clearIncomplete:!1,alias:null,onKeyDown:e.noop,onBeforeMask:null,onBeforePaste:function(t,n){return e.isFunction(n.onBeforeMask)?n.onBeforeMask.call(this,t,n):t},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:e.noop,skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","password","search"],ignorables:[8,9,13,19,27,33,34,35,36,37,38,39,40,45,46,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:i,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"verbatim",colorMask:!1,disablePredictiveText:!1,importDataAttributes:!0},definitions:{9:{validator:"[0-91-9]",definitionSymbol:"*"},a:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ]"}},aliases:{},masksCache:{},mask:function(a){var r=this;return"string"==typeof a&&(a=n.getElementById(a)||n.querySelectorAll(a)),a=a.nodeName?[a]:a,e.each(a,function(n,a){var o=e.extend(!0,{},r.opts);if(function(n,a,r,o){if(!0===a.importDataAttributes){var s,l,c,f,p=n.getAttribute(o);function h(e,a){null!==(a=a!==i?a:n.getAttribute(o+"-"+e))&&("string"==typeof a&&(0===e.indexOf("on")?a=t[a]:"false"===a?a=!1:"true"===a&&(a=!0)),r[e]=a)}if(p&&""!==p&&(p=p.replace(/'/g,'"'),l=JSON.parse("{"+p+"}")),l)for(f in c=i,l)if("alias"===f.toLowerCase()){c=l[f];break}for(s in h("alias",c),r.alias&&u(r.alias,r,a),a){if(l)for(f in c=i,l)if(f.toLowerCase()===s.toLowerCase()){c=l[f];break}h(s,c)}}return e.extend(!0,a,r),("rtl"===n.dir||a.rightAlign)&&(n.style.textAlign="right"),("rtl"===n.dir||a.numericInput)&&(n.dir="ltr",n.removeAttribute("dir"),a.isRTL=!0),Object.keys(r).length}(a,o,e.extend(!0,{},r.userOptions),r.dataAttribute)){var s=c(o,r.noMasksCache);s!==i&&(a.inputmask!==i&&(a.inputmask.opts.autoUnmask=!0,a.inputmask.remove()),a.inputmask=new l(i,i,!0),a.inputmask.opts=o,a.inputmask.noMasksCache=r.noMasksCache,a.inputmask.userOptions=e.extend(!0,{},r.userOptions),a.inputmask.isRTL=o.isRTL||o.numericInput,a.inputmask.el=a,a.inputmask.maskset=s,e.data(a,"_inputmask_opts",o),p.call(a.inputmask,{action:"mask"}))}}),a&&a[0]&&a[0].inputmask||this},option:function(t,n){return"string"==typeof t?this.opts[t]:"object"==typeof t?(e.extend(this.userOptions,t),this.el&&!0!==n&&this.mask(this.el),this):void 0},unmaskedvalue:function(e){return this.maskset=this.maskset||c(this.opts,this.noMasksCache),p.call(this,{action:"unmaskedvalue",value:e})},remove:function(){return p.call(this,{action:"remove"})},getemptymask:function(){return this.maskset=this.maskset||c(this.opts,this.noMasksCache),p.call(this,{action:"getemptymask"})},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||c(this.opts,this.noMasksCache),p.call(this,{action:"isComplete"})},getmetadata:function(){return this.maskset=this.maskset||c(this.opts,this.noMasksCache),p.call(this,{action:"getmetadata"})},isValid:function(e){return this.maskset=this.maskset||c(this.opts,this.noMasksCache),p.call(this,{action:"isValid",value:e})},format:function(e,t){return this.maskset=this.maskset||c(this.opts,this.noMasksCache),p.call(this,{action:"format",value:e,metadata:t})},setValue:function(t){this.el&&e(this.el).trigger("setvalue",[t])},analyseMask:function(t,n,a){var r,o,s,u,c,f,p=/(?:[?*+]|\{[0-9\+\*]+(?:,[0-9\+\*]*)?(?:\|[0-9\+\*]*)?\})|[^.?*+^${[]()|\\]+|./g,h=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,m=!1,d=new g,v=[],k=[];function g(e,t,n,i){this.matches=[],this.openGroup=e||!1,this.alternatorGroup=!1,this.isGroup=e||!1,this.isOptional=t||!1,this.isQuantifier=n||!1,this.isAlternator=i||!1,this.quantifier={min:1,max:1}}function b(t,r,o){o=o!==i?o:t.matches.length;var s=t.matches[o-1];if(n)0===r.indexOf("[")||m&&/\\d|\\s|\\w]/i.test(r)||"."===r?t.matches.splice(o++,0,{fn:new RegExp(r,a.casing?"i":""),optionality:!1,newBlockMarker:s===i?"master":s.def!==r,casing:null,def:r,placeholder:i,nativeDef:r}):(m&&(r=r[r.length-1]),e.each(r.split(""),function(e,n){s=t.matches[o-1],t.matches.splice(o++,0,{fn:null,optionality:!1,newBlockMarker:s===i?"master":s.def!==n&&null!==s.fn,casing:null,def:a.staticDefinitionSymbol||n,placeholder:a.staticDefinitionSymbol!==i?n:i,nativeDef:n})})),m=!1;else{var u=(a.definitions?a.definitions[r]:i)||l.prototype.definitions[r];u&&!m?t.matches.splice(o++,0,{fn:u.validator?"string"==typeof u.validator?new RegExp(u.validator,a.casing?"i":""):new function(){this.test=u.validator}:new RegExp("."),optionality:!1,newBlockMarker:s===i?"master":s.def!==(u.definitionSymbol||r),casing:u.casing,def:u.definitionSymbol||r,placeholder:u.placeholder,nativeDef:r}):(t.matches.splice(o++,0,{fn:null,optionality:!1,newBlockMarker:s===i?"master":s.def!==r&&null!==s.fn,casing:null,def:a.staticDefinitionSymbol||r,placeholder:a.staticDefinitionSymbol!==i?r:i,nativeDef:r}),m=!1)}}function y(){if(v.length>0){if(b(u=v[v.length-1],o),u.isAlternator){c=v.pop();for(var e=0;e<c.matches.length;e++)c.matches[e].isGroup&&(c.matches[e].isGroup=!1);v.length>0?(u=v[v.length-1]).matches.push(c):d.matches.push(c)}}else b(d,o)}function E(e){var t=new g(!0);return t.openGroup=!1,t.matches=e,t}for(n&&(a.optionalmarker[0]=i,a.optionalmarker[1]=i);r=n?h.exec(t):p.exec(t);){if(o=r[0],n)switch(o.charAt(0)){case"?":o="{0,1}";break;case"+":case"*":o="{"+o+"}"}if(m)y();else switch(o.charAt(0)){case a.escapeChar:m=!0,n&&y();break;case a.optionalmarker[1]:case a.groupmarker[1]:if((s=v.pop()).openGroup=!1,s!==i)if(v.length>0){if((u=v[v.length-1]).matches.push(s),u.isAlternator){c=v.pop();for(var C=0;C<c.matches.length;C++)c.matches[C].isGroup=!1,c.matches[C].alternatorGroup=!1;v.length>0?(u=v[v.length-1]).matches.push(c):d.matches.push(c)}}else d.matches.push(s);else y();break;case a.optionalmarker[0]:v.push(new g(!1,!0));break;case a.groupmarker[0]:v.push(new g(!0));break;case a.quantifiermarker[0]:var P=new g(!1,!1,!0),x=(o=o.replace(/[{}]/g,"")).split("|"),_=x[0].split(","),A=isNaN(_[0])?_[0]:parseInt(_[0]),w=1===_.length?A:isNaN(_[1])?_[1]:parseInt(_[1]);"*"!==w&&"+"!==w||(A="*"===w?0:1),P.quantifier={min:A,max:w,jit:x[1]};var O=v.length>0?v[v.length-1].matches:d.matches;if((r=O.pop()).isAlternator){O.push(r),O=r.matches;var M=new g(!0),S=O.pop();O.push(M),O=M.matches,r=S}r.isGroup||(r=E([r])),O.push(r),O.push(P);break;case a.alternatormarker:function j(e){var t=e.pop();return t.isQuantifier&&(t=E([e.pop(),t])),t}if(v.length>0){var D=(u=v[v.length-1]).matches[u.matches.length-1];f=u.openGroup&&(D.matches===i||!1===D.isGroup&&!1===D.isAlternator)?v.pop():j(u.matches)}else f=j(d.matches);if(f.isAlternator)v.push(f);else if(f.alternatorGroup?(c=v.pop(),f.alternatorGroup=!1):c=new g(!1,!1,!1,!0),c.matches.push(f),v.push(c),f.openGroup){f.openGroup=!1;var T=new g(!0);T.alternatorGroup=!0,v.push(T)}break;default:y()}}for(;v.length>0;)s=v.pop(),d.matches.push(s);return d.matches.length>0&&(!function t(r){r&&r.matches&&e.each(r.matches,function(e,o){var s=r.matches[e+1];(s===i||s.matches===i||!1===s.isQuantifier)&&o&&o.isGroup&&(o.isGroup=!1,n||(b(o,a.groupmarker[0],0),!0!==o.openGroup&&b(o,a.groupmarker[1]))),t(o)})}(d),k.push(d)),(a.numericInput||a.isRTL)&&function e(t){for(var n in t.matches=t.matches.reverse(),t.matches)if(t.matches.hasOwnProperty(n)){var r=parseInt(n);if(t.matches[n].isQuantifier&&t.matches[r+1]&&t.matches[r+1].isGroup){var o=t.matches[n];t.matches.splice(n,1),t.matches.splice(r+1,0,o)}t.matches[n].matches!==i?t.matches[n]=e(t.matches[n]):t.matches[n]=((s=t.matches[n])===a.optionalmarker[0]?s=a.optionalmarker[1]:s===a.optionalmarker[1]?s=a.optionalmarker[0]:s===a.groupmarker[0]?s=a.groupmarker[1]:s===a.groupmarker[1]&&(s=a.groupmarker[0]),s)}var s;return t}(k[0]),k}},l.extendDefaults=function(t){e.extend(!0,l.prototype.defaults,t)},l.extendDefinitions=function(t){e.extend(!0,l.prototype.definitions,t)},l.extendAliases=function(t){e.extend(!0,l.prototype.aliases,t)},l.format=function(e,t,n){return l(t).format(e,n)},l.unmask=function(e,t){return l(t).unmaskedvalue(e)},l.isValid=function(e,t){return l(t).isValid(e)},l.remove=function(t){"string"==typeof t&&(t=n.getElementById(t)||n.querySelectorAll(t)),t=t.nodeName?[t]:t,e.each(t,function(e,t){t.inputmask&&t.inputmask.remove()})},l.setValue=function(t,i){"string"==typeof t&&(t=n.getElementById(t)||n.querySelectorAll(t)),t=t.nodeName?[t]:t,e.each(t,function(t,n){n.inputmask?n.inputmask.setValue(i):e(n).trigger("setvalue",[i])})},l.escapeRegex=function(e){return e.replace(new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim"),"\\$1")},l.keyCode={BACKSPACE:8,BACKSPACE_SAFARI:127,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,RIGHT:39,SPACE:32,TAB:9,UP:38,X:88,CONTROL:17},l}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["./dependencyLibs/inputmask.dependencyLib","./inputmask"],e):"object"==typeof exports?module.exports=e(require("./dependencyLibs/inputmask.dependencyLib"),require("./inputmask")):e(window.dependencyLib||jQuery,window.Inputmask)}(function(e,i,r){function t(e,r){for(var t="",a=0;a<e.length;a++)i.prototype.definitions[e.charAt(a)]||r.definitions[e.charAt(a)]||r.optionalmarker.start===e.charAt(a)||r.optionalmarker.end===e.charAt(a)||r.quantifiermarker.start===e.charAt(a)||r.quantifiermarker.end===e.charAt(a)||r.groupmarker.start===e.charAt(a)||r.groupmarker.end===e.charAt(a)||r.alternatormarker===e.charAt(a)?t+="\\"+e.charAt(a):t+=e.charAt(a);return t}return i.extendAliases({numeric:{mask:function(e){if(0!==e.repeat&&isNaN(e.integerDigits)&&(e.integerDigits=e.repeat),e.repeat=0,e.groupSeparator===e.radixPoint&&e.digits&&"0"!==e.digits&&("."===e.radixPoint?e.groupSeparator=",":","===e.radixPoint?e.groupSeparator=".":e.groupSeparator="")," "===e.groupSeparator&&(e.skipOptionalPartCharacter=r),e.autoGroup=e.autoGroup&&""!==e.groupSeparator,e.autoGroup&&("string"==typeof e.groupSize&&isFinite(e.groupSize)&&(e.groupSize=parseInt(e.groupSize)),isFinite(e.integerDigits))){var i=Math.floor(e.integerDigits/e.groupSize),a=e.integerDigits%e.groupSize;e.integerDigits=parseInt(e.integerDigits)+(0===a?i-1:i),e.integerDigits<1&&(e.integerDigits="*")}e.placeholder.length>1&&(e.placeholder=e.placeholder.charAt(0)),"radixFocus"===e.positionCaretOnClick&&""===e.placeholder&&!1===e.integerOptional&&(e.positionCaretOnClick="lvp"),e.definitions[";"]=e.definitions["~"],e.definitions[";"].definitionSymbol="~",!0===e.numericInput&&(e.positionCaretOnClick="radixFocus"===e.positionCaretOnClick?"lvp":e.positionCaretOnClick,e.digitsOptional=!1,isNaN(e.digits)&&(e.digits=2),e.decimalProtect=!1);var n="[+]";if(n+=t(e.prefix,e),!0===e.integerOptional?n+="~{1,"+e.integerDigits+"}":n+="~{"+e.integerDigits+"}",e.digits!==r){var o=e.decimalProtect?":":e.radixPoint,p=e.digits.toString().split(",");isFinite(p[0])&&p[1]&&isFinite(p[1])?n+=o+";{"+e.digits+"}":(isNaN(e.digits)||parseInt(e.digits)>0)&&(e.digitsOptional?n+="["+o+";{1,"+e.digits+"}]":n+=o+";{"+e.digits+"}")}return n+=t(e.suffix,e),n+="[-]",e.greedy=!1,n},placeholder:"",greedy:!1,digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",groupSize:3,groupSeparator:"",autoGroup:!1,allowMinus:!0,negationSymbol:{front:"-",back:""},integerDigits:"+",integerOptional:!0,prefix:"",suffix:"",rightAlign:!0,decimalProtect:!0,min:null,max:null,step:1,insertMode:!0,autoUnmask:!1,unmaskAsNumber:!1,inputmode:"numeric",preValidation:function(i,t,a,n,o,p){if("-"===a||a===o.negationSymbol.front)return!0===o.allowMinus&&(o.isNegative=o.isNegative===r||!o.isNegative,""===i.join("")||{caret:t,dopost:!0});if(!1===n&&a===o.radixPoint&&o.digits!==r&&(isNaN(o.digits)||parseInt(o.digits)>0)){var s=e.inArray(o.radixPoint,i);if(-1!==s&&p.validPositions[s]!==r)return!0===o.numericInput?t===s:{caret:s+1}}return!0},postValidation:function(t,a,n){var o=n.suffix.split(""),p=n.prefix.split("");if(a.pos===r&&a.caret!==r&&!0!==a.dopost)return a;var s=a.caret!==r?a.caret:a.pos,l=t.slice();n.numericInput&&(s=l.length-s-1,l=l.reverse());var g=l[s];if(g===n.groupSeparator&&(g=l[s+=1]),s===l.length-n.suffix.length-1&&g===n.radixPoint)return a;g!==r&&g!==n.radixPoint&&g!==n.negationSymbol.front&&g!==n.negationSymbol.back&&(l[s]="?",n.prefix.length>0&&s>=(!1===n.isNegative?1:0)&&s<n.prefix.length-1+(!1===n.isNegative?1:0)?p[s-(!1===n.isNegative?1:0)]="?":n.suffix.length>0&&s>=l.length-n.suffix.length-(!1===n.isNegative?1:0)&&(o[s-(l.length-n.suffix.length-(!1===n.isNegative?1:0))]="?")),p=p.join(""),o=o.join("");var c=l.join("").replace(p,"");if(c=(c=(c=(c=c.replace(o,"")).replace(new RegExp(i.escapeRegex(n.groupSeparator),"g"),"")).replace(new RegExp("[-"+i.escapeRegex(n.negationSymbol.front)+"]","g"),"")).replace(new RegExp(i.escapeRegex(n.negationSymbol.back)+"$"),""),isNaN(n.placeholder)&&(c=c.replace(new RegExp(i.escapeRegex(n.placeholder),"g"),"")),c.length>1&&1!==c.indexOf(n.radixPoint)&&("0"===g&&(c=c.replace(/^\?/g,"")),c=c.replace(/^0/g,"")),c.charAt(0)===n.radixPoint&&""!==n.radixPoint&&!0!==n.numericInput&&(c="0"+c),""!==c){if(c=c.split(""),(!n.digitsOptional||n.enforceDigitsOnBlur&&"blur"===a.event)&&isFinite(n.digits)){var d=e.inArray(n.radixPoint,c),u=e.inArray(n.radixPoint,l);-1===d&&(c.push(n.radixPoint),d=c.length-1);for(var x=1;x<=n.digits;x++)n.digitsOptional&&(!n.enforceDigitsOnBlur||"blur"!==a.event)||c[d+x]!==r&&c[d+x]!==n.placeholder.charAt(0)?-1!==u&&l[u+x]!==r&&(c[d+x]=c[d+x]||l[u+x]):c[d+x]=a.placeholder||n.placeholder.charAt(0)}if(!0!==n.autoGroup||""===n.groupSeparator||g===n.radixPoint&&a.pos===r&&!a.dopost)c=c.join("");else{var f=c[c.length-1]===n.radixPoint&&a.c===n.radixPoint;c=i(function(e,i){var r="";if(r+="("+i.groupSeparator+"*{"+i.groupSize+"}){*}",""!==i.radixPoint){var t=e.join("").split(i.radixPoint);t[1]&&(r+=i.radixPoint+"*{"+t[1].match(/^\d*\??\d*/)[0].length+"}")}return r}(c,n),{numericInput:!0,jitMasking:!0,definitions:{"*":{validator:"[0-9?]",cardinality:1}}}).format(c.join("")),f&&(c+=n.radixPoint),c.charAt(0)===n.groupSeparator&&c.substr(1)}}if(n.isNegative&&"blur"===a.event&&(n.isNegative="0"!==c),c=p+c,c+=o,n.isNegative&&(c=n.negationSymbol.front+c,c+=n.negationSymbol.back),c=c.split(""),g!==r)if(g!==n.radixPoint&&g!==n.negationSymbol.front&&g!==n.negationSymbol.back)(s=e.inArray("?",c))>-1?c[s]=g:s=a.caret||0;else if(g===n.radixPoint||g===n.negationSymbol.front||g===n.negationSymbol.back){var m=e.inArray(g,c);-1!==m&&(s=m)}n.numericInput&&(s=c.length-s-1,c=c.reverse());var h={caret:g===r||a.pos!==r?s+(n.numericInput?-1:1):s,buffer:c,refreshFromBuffer:a.dopost||t.join("")!==c.join("")};return h.refreshFromBuffer?h:a},onBeforeWrite:function(t,a,n,o){if(t)switch(t.type){case"keydown":return o.postValidation(a,{caret:n,dopost:!0},o);case"blur":case"checkval":var p;if((s=o).parseMinMaxOptions===r&&(null!==s.min&&(s.min=s.min.toString().replace(new RegExp(i.escapeRegex(s.groupSeparator),"g"),""),","===s.radixPoint&&(s.min=s.min.replace(s.radixPoint,".")),s.min=isFinite(s.min)?parseFloat(s.min):NaN,isNaN(s.min)&&(s.min=Number.MIN_VALUE)),null!==s.max&&(s.max=s.max.toString().replace(new RegExp(i.escapeRegex(s.groupSeparator),"g"),""),","===s.radixPoint&&(s.max=s.max.replace(s.radixPoint,".")),s.max=isFinite(s.max)?parseFloat(s.max):NaN,isNaN(s.max)&&(s.max=Number.MAX_VALUE)),s.parseMinMaxOptions="done"),null!==o.min||null!==o.max){if(p=o.onUnMask(a.join(""),r,e.extend({},o,{unmaskAsNumber:!0})),null!==o.min&&p<o.min)return o.isNegative=o.min<0,o.postValidation(o.min.toString().replace(".",o.radixPoint).split(""),{caret:n,dopost:!0,placeholder:"0"},o);if(null!==o.max&&p>o.max)return o.isNegative=o.max<0,o.postValidation(o.max.toString().replace(".",o.radixPoint).split(""),{caret:n,dopost:!0,placeholder:"0"},o)}return o.postValidation(a,{caret:n,placeholder:"0",event:"blur"},o);case"_checkval":return{caret:n}}var s},regex:{integerPart:function(e,r){return r?new RegExp("["+i.escapeRegex(e.negationSymbol.front)+"+]?"):new RegExp("["+i.escapeRegex(e.negationSymbol.front)+"+]?\\d+")},integerNPart:function(e){return new RegExp("[\\d"+i.escapeRegex(e.groupSeparator)+i.escapeRegex(e.placeholder.charAt(0))+"]+")}},definitions:{"~":{validator:function(e,t,a,n,o,p){var s;if("k"===e||"m"===e){s={insert:[],c:0};for(var l=0,g="k"===e?2:5;l<g;l++)s.insert.push({pos:a+l,c:0});return s.pos=a+g,s}if(!0===(s=n?new RegExp("[0-9"+i.escapeRegex(o.groupSeparator)+"]").test(e):new RegExp("[0-9]").test(e))){if(!0!==o.numericInput&&t.validPositions[a]!==r&&"~"===t.validPositions[a].match.def&&!p){var c=t.buffer.join(""),d=(c=(c=c.replace(new RegExp("[-"+i.escapeRegex(o.negationSymbol.front)+"]","g"),"")).replace(new RegExp(i.escapeRegex(o.negationSymbol.back)+"$"),"")).split(o.radixPoint);d.length>1&&(d[1]=d[1].replace(/0/g,o.placeholder.charAt(0))),"0"===d[0]&&(d[0]=d[0].replace(/0/g,o.placeholder.charAt(0))),c=d[0]+o.radixPoint+d[1]||"";var u=t._buffer.join("");for(c===o.radixPoint&&(c=u);null===c.match(i.escapeRegex(u)+"$");)u=u.slice(1);s=(c=(c=c.replace(u,"")).split(""))[a]===r?{pos:a,remove:a}:{pos:a}}}else n||e!==o.radixPoint||t.validPositions[a-1]!==r||(s={insert:{pos:a,c:0},pos:a+1});return s},cardinality:1},"+":{validator:function(e,i,r,t,a){return a.allowMinus&&("-"===e||e===a.negationSymbol.front)},cardinality:1,placeholder:""},"-":{validator:function(e,i,r,t,a){return a.allowMinus&&e===a.negationSymbol.back},cardinality:1,placeholder:""},":":{validator:function(e,r,t,a,n){var o="["+i.escapeRegex(n.radixPoint)+"]",p=new RegExp(o).test(e);return p&&r.validPositions[t]&&r.validPositions[t].match.placeholder===n.radixPoint&&(p={caret:t+1}),p},cardinality:1,placeholder:function(e){return e.radixPoint}}},onUnMask:function(e,r,t){if(""===r&&!0===t.nullable)return r;var a=e.replace(t.prefix,"");return a=(a=a.replace(t.suffix,"")).replace(new RegExp(i.escapeRegex(t.groupSeparator),"g"),""),""!==t.placeholder.charAt(0)&&(a=a.replace(new RegExp(t.placeholder.charAt(0),"g"),"0")),t.unmaskAsNumber?(""!==t.radixPoint&&-1!==a.indexOf(t.radixPoint)&&(a=a.replace(i.escapeRegex.call(this,t.radixPoint),".")),a=(a=a.replace(new RegExp("^"+i.escapeRegex(t.negationSymbol.front)),"-")).replace(new RegExp(i.escapeRegex(t.negationSymbol.back)+"$"),""),Number(a)):a},isComplete:function(e,r){var t=e.join("");if(e.slice().join("")!==t)return!1;var a=t.replace(new RegExp("^"+i.escapeRegex(r.negationSymbol.front)),"-");return a=(a=(a=(a=a.replace(new RegExp(i.escapeRegex(r.negationSymbol.back)+"$"),"")).replace(r.prefix,"")).replace(r.suffix,"")).replace(new RegExp(i.escapeRegex(r.groupSeparator)+"([0-9]{3})","g"),"$1"),","===r.radixPoint&&(a=a.replace(i.escapeRegex(r.radixPoint),".")),isFinite(a)},onBeforeMask:function(e,t){if(t.isNegative=r,"number"==typeof e&&""!==t.radixPoint&&(e=e.toString().replace(".",t.radixPoint)),e=e.toString().charAt(e.length-1)===t.radixPoint?e.toString().substr(0,e.length-1):e.toString(),""!==t.radixPoint&&isFinite(e)){var a=e.split("."),n=""!==t.groupSeparator?parseInt(t.groupSize):0;2===a.length&&(a[0].length>n||a[1].length>n||a[0].length<=n&&a[1].length<n)&&(e=e.replace(".",t.radixPoint))}var o=e.match(/,/g),p=e.match(/\./g);if(e=p&&o?p.length>o.length?(e=e.replace(/\./g,"")).replace(",",t.radixPoint):o.length>p.length?(e=e.replace(/,/g,"")).replace(".",t.radixPoint):e.indexOf(".")<e.indexOf(",")?e.replace(/\./g,""):e.replace(/,/g,""):e.replace(new RegExp(i.escapeRegex(t.groupSeparator),"g"),""),0===t.digits&&(-1!==e.indexOf(".")?e=e.substring(0,e.indexOf(".")):-1!==e.indexOf(",")&&(e=e.substring(0,e.indexOf(",")))),""!==t.radixPoint&&isFinite(t.digits)&&-1!==e.indexOf(t.radixPoint)){var s=e.split(t.radixPoint)[1].match(new RegExp("\\d*"))[0];if(parseInt(t.digits)<s.toString().length){var l=Math.pow(10,parseInt(t.digits));e=e.replace(i.escapeRegex(t.radixPoint),"."),e=(e=Math.round(parseFloat(e)*l)/l).toString().replace(".",t.radixPoint)}}return e},onKeyDown:function(r,t,a,n){var o=e(this);if(r.ctrlKey)switch(r.keyCode){case i.keyCode.UP:o.val(parseFloat(this.inputmask.unmaskedvalue())+parseInt(n.step)),o.trigger("setvalue");break;case i.keyCode.DOWN:o.val(parseFloat(this.inputmask.unmaskedvalue())-parseInt(n.step)),o.trigger("setvalue")}}},currency:{prefix:"$ ",groupSeparator:",",alias:"numeric",placeholder:"0",autoGroup:!0,digits:2,digitsOptional:!1,clearMaskOnLostFocus:!1},decimal:{alias:"numeric"},integer:{alias:"numeric",digits:0,radixPoint:""},percentage:{alias:"numeric",digits:2,digitsOptional:!0,radixPoint:".",placeholder:"0",autoGroup:!1,min:0,max:100,suffix:" %",allowMinus:!1}}),i}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["./dependencyLibs/inputmask.dependencyLib","./inputmask"],e):"object"==typeof exports?module.exports=e(require("./dependencyLibs/inputmask.dependencyLib"),require("./inputmask")):e(window.dependencyLib||jQuery,window.Inputmask)}(function(e,r){function n(e,r){var n=(e.mask||e).replace(/#/g,"0").replace(/\)/,"0").replace(/[+()#-]/g,""),o=(r.mask||r).replace(/#/g,"0").replace(/\)/,"0").replace(/[+()#-]/g,"");return n.localeCompare(o)}var o=r.prototype.analyseMask;return r.prototype.analyseMask=function(r,n,t){var a={};return t.phoneCodes&&(t.phoneCodes&&t.phoneCodes.length>1e3&&(function e(n,o,t){o=o||"",t=t||a,""!==o&&(t[o]={});for(var p="",u=t[o]||t,i=n.length-1;i>=0;i--)u[p=(r=n[i].mask||n[i]).substr(0,1)]=u[p]||[],u[p].unshift(r.substr(1)),n.splice(i,1);for(var s in u)u[s].length>500&&e(u[s].slice(),s,u)}((r=r.substr(1,r.length-2)).split(t.groupmarker[1]+t.alternatormarker+t.groupmarker[0])),r=function r(n){var o="",a=[];for(var p in n)e.isArray(n[p])?1===n[p].length?a.push(p+n[p]):a.push(p+t.groupmarker[0]+n[p].join(t.groupmarker[1]+t.alternatormarker+t.groupmarker[0])+t.groupmarker[1]):a.push(p+r(n[p]));return 1===a.length?o+=a[0]:o+=t.groupmarker[0]+a.join(t.groupmarker[1]+t.alternatormarker+t.groupmarker[0])+t.groupmarker[1],o}(a)),r=r.replace(/9/g,"\\9")),o.call(this,r,n,t)},r.extendAliases({abstractphone:{groupmarker:["<",">"],countrycode:"",phoneCodes:[],keepStatic:"auto",mask:function(e){return e.definitions={"#":r.prototype.definitions[9]},e.phoneCodes.sort(n)},onBeforeMask:function(e,r){var n=e.replace(/^0{1,2}/,"").replace(/[\s]/g,"");return(n.indexOf(r.countrycode)>1||-1===n.indexOf(r.countrycode))&&(n="+"+r.countrycode+n),n},onUnMask:function(e,r,n){return e.replace(/[()#-]/g,"")},inputmode:"tel"}}),r}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(t){"function"==typeof define&&define.amd?define(["jquery","./inputmask"],t):"object"==typeof exports?module.exports=t(require("jquery"),require("./inputmask")):t(jQuery,window.Inputmask)}(function(t,e){return void 0===t.fn.inputmask&&(t.fn.inputmask=function(i,n){var s,a=this[0];if(void 0===n&&(n={}),"string"==typeof i)switch(i){case"unmaskedvalue":return a&&a.inputmask?a.inputmask.unmaskedvalue():t(a).val();case"remove":return this.each(function(){this.inputmask&&this.inputmask.remove()});case"getemptymask":return a&&a.inputmask?a.inputmask.getemptymask():"";case"hasMaskedValue":return!(!a||!a.inputmask)&&a.inputmask.hasMaskedValue();case"isComplete":return!a||!a.inputmask||a.inputmask.isComplete();case"getmetadata":return a&&a.inputmask?a.inputmask.getmetadata():void 0;case"setvalue":e.setValue(a,n);break;case"option":if("string"!=typeof n)return this.each(function(){if(void 0!==this.inputmask)return this.inputmask.option(n)});if(a&&void 0!==a.inputmask)return a.inputmask.option(n);break;default:return n.alias=i,s=new e(n),this.each(function(){s.mask(this)})}else{if("object"==typeof i)return s=new e(i),void 0===i.mask&&void 0===i.alias?this.each(function(){if(void 0!==this.inputmask)return this.inputmask.option(i);s.mask(this)}):this.each(function(){s.mask(this)});if(void 0===i)return this.each(function(){(s=new e(n)).mask(this)})}}),t.fn.inputmask}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(c){"function"==typeof define&&define.amd?define(["../inputmask"],c):"object"==typeof exports?module.exports=c(require("../inputmask")):c(window.Inputmask)}(function(c){return c.extendAliases({phonebe:{alias:"abstractphone",countrycode:"32",phoneCodes:[{mask:"+32(53)##-##-##",cc:"BE",cd:"Belgium",city:"Aalst (Alost)"},{mask:"+32(3)###-##-##",cc:"BE",cd:"Belgium",city:"Antwerpen (Anvers)"},{mask:"+32(63)##-##-##",cc:"BE",cd:"Belgium",city:"Arlon"},{mask:"+32(68)##-##-##",cc:"BE",cd:"Belgium",city:"Ath"},{mask:"+32(50)##-##-##",cc:"BE",cd:"Belgium",city:"Brugge (Bruges)"},{mask:"+32(2)###-##-##",cc:"BE",cd:"Belgium",city:"Brussel/Bruxelles (Brussels)"},{mask:"+32(71)##-##-##",cc:"BE",cd:"Belgium",city:"Charleroi"},{mask:"+32(60)##-##-##",cc:"BE",cd:"Belgium",city:"Chimay"},{mask:"+32(83)##-##-##",cc:"BE",cd:"Belgium",city:"Ciney"},{mask:"+32(56)##-##-##",cc:"BE",cd:"Belgium",city:"Courtrai, Comines-Warneton, Mouscron"},{mask:"+32(52)##-##-##",cc:"BE",cd:"Belgium",city:"Dendermonde"},{mask:"+32(13)##-##-##",cc:"BE",cd:"Belgium",city:"Diest"},{mask:"+32(82)##-##-##",cc:"BE",cd:"Belgium",city:"Dinant"},{mask:"+32(86)##-##-##",cc:"BE",cd:"Belgium",city:"Durbuy"},{mask:"+32(89)##-##-##",cc:"BE",cd:"Belgium",city:"Genk"},{mask:"+32(9)###-##-##",cc:"BE",cd:"Belgium",city:"Gent (Gand)"},{mask:"+32(11)##-##-##",cc:"BE",cd:"Belgium",city:"Hasselt"},{mask:"+32(14)##-##-##",cc:"BE",cd:"Belgium",city:"Herentals"},{mask:"+32(85)##-##-##",cc:"BE",cd:"Belgium",city:"Huy (Hoei)"},{mask:"+32(57)##-##-##",cc:"BE",cd:"Belgium",city:"Ieper (Ypres)"},{mask:"+32(64)##-##-##",cc:"BE",cd:"Belgium",city:"La Louvière"},{mask:"+32(16)##-##-##",cc:"BE",cd:"Belgium",city:"Leuven (Louvain)"},{mask:"+32(61)##-##-##",cc:"BE",cd:"Belgium",city:"Libramont"},{mask:"+32(4)###-##-##",cc:"BE",cd:"Belgium",city:"Liège (Luik)"},{mask:"+32(84)###-##-##",cc:"BE",cd:"Belgium",city:"Marche-en-Famenne"},{mask:"+32(15)##-##-##",cc:"BE",cd:"Belgium",city:"Mechelen (Malines)"},{mask:"+32(46#)##-##-##",cc:"BE",cd:"Belgium",city:"Mobile Phones"},{mask:"+32(47#)##-##-##",cc:"BE",cd:"Belgium",city:"Mobile Phones"},{mask:"+32(48#)##-##-##",cc:"BE",cd:"Belgium",city:"Mobile Phones"},{mask:"+32(49#)##-##-##",cc:"BE",cd:"Belgium",city:"Mobile Phones"},{mask:"+32(461)8#-##-##",cc:"BE",cd:"Belgium",city:"GSM-R (NMBS)"},{mask:"+32(65)##-##-##",cc:"BE",cd:"Belgium",city:"Mons (Bergen)"},{mask:"+32(81)##-##-##",cc:"BE",cd:"Belgium",city:"Namur (Namen)"},{mask:"+32(58)##-##-##",cc:"BE",cd:"Belgium",city:"Nieuwpoort (Nieuport)"},{mask:"+32(54)##-##-##",cc:"BE",cd:"Belgium",city:"Ninove"},{mask:"+32(67)##-##-##",cc:"BE",cd:"Belgium",city:"Nivelles (Nijvel)"},{mask:"+32(59)##-##-##",cc:"BE",cd:"Belgium",city:"Oostende (Ostende)"},{mask:"+32(51)##-##-##",cc:"BE",cd:"Belgium",city:"Roeselare (Roulers)"},{mask:"+32(55)##-##-##",cc:"BE",cd:"Belgium",city:"Ronse"},{mask:"+32(80)##-##-##",cc:"BE",cd:"Belgium",city:"Stavelot"},{mask:"+32(12)##-##-##",cc:"BE",cd:"Belgium",city:"Tongeren (Tongres)"},{mask:"+32(69)##-##-##",cc:"BE",cd:"Belgium",city:"Tounai"},{mask:"+32(14)##-##-##",cc:"BE",cd:"Belgium",city:"Turnhout"},{mask:"+32(87)##-##-##",cc:"BE",cd:"Belgium",city:"Verviers"},{mask:"+32(58)##-##-##",cc:"BE",cd:"Belgium",city:"Veurne"},{mask:"+32(19)##-##-##",cc:"BE",cd:"Belgium",city:"Waremme"},{mask:"+32(10)##-##-##",cc:"BE",cd:"Belgium",city:"Wavre (Waver)"},{mask:"+32(50)##-##-##",cc:"BE",cd:"Belgium",city:"Zeebrugge"}]}}),c}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["../inputmask"],e):"object"==typeof exports?module.exports=e(require("../inputmask")):e(window.Inputmask)}(function(e){return e.extendAliases({phonehu:{alias:"abstractphone",countrycode:"36",phoneCodes:[{mask:"+36(20)###-####",cc:"HU",cd:"Hungary",region:"",operator:"Telenor",desc:"Telenor mobiltelefon (számhordozás esetén más hálózat is lehet)"},{mask:"+36(21)###-####",cc:"HU",cd:"Hungary",region:"",operator:"Nomadikus",desc:"Nomadikus, vagyis nem helyhez kötött, internet alapú (VoIP) vezetékes telefonszámok"},{mask:"+36(30)###-####",cc:"HU",cd:"Hungary",region:"",operator:"T-Mobile",desc:"T-Mobile, vagy Bluemobile (Lidl) mobiltelefon (számhordozás esetén más hálózat is lehet)"},{mask:"+36(31)###-####",cc:"HU",cd:"Hungary",region:"",operator:"Tesco Mobile",desc:"Tesco Mobile mobiltelefon (számhordozás esetén más hálózat is lehet)"},{mask:"+36(40)###-####",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Kék szám – speciális elméletileg kedvezményes díjszabás ellenében hívható"},{mask:"+36(50)###-###",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Mobiltelefon szolgáltatás lesz"},{mask:"+36(51)###-###",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Internet hozzáférés szolgáltatás"},{mask:"+36(55)###-###",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Teszt körzet"},{mask:"+36(60)###-###",cc:"HU",cd:"Hungary",region:"",operator:"Westel450",desc:"Volt Westel450"},{mask:"+36(70)###-####",cc:"HU",cd:"Hungary",region:"",operator:"Vodafone",desc:"Vodafone mobiltelefon (számhordozás esetén más hálózat is lehet)"},{mask:"+36(80)###-###",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Zöld szám – ingyenesen hívható"},{mask:"+36(90)###-###",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Díjkorlát nélküli emelt díjas szolgáltatások"},{mask:"+36(91)###-###",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Díjkorlátos emelt díjas szolgáltatások"},{mask:"+36(1)###-####",cc:"HU",cd:"Hungary",region:"Budapest",operator:"",desc:""},{mask:"+36(22)###-###",cc:"HU",cd:"Hungary",region:"Fejér megye",operator:"",desc:""},{mask:"+36(23)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(24)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(25)###-###",cc:"HU",cd:"Hungary",region:"Fejér megye",operator:"",desc:""},{mask:"+36(26)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(27)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(28)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(29)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(32)###-###",cc:"HU",cd:"Hungary",region:"Nógrád megye",operator:"",desc:""},{mask:"+36(33)###-###",cc:"HU",cd:"Hungary",region:"Komárom-Esztergom megye",operator:"",desc:""},{mask:"+36(34)###-###",cc:"HU",cd:"Hungary",region:"Komárom-Esztergom megye",operator:"",desc:""},{mask:"+36(35)###-###",cc:"HU",cd:"Hungary",region:"Nógrád megye",operator:"",desc:""},{mask:"+36(36)###-###",cc:"HU",cd:"Hungary",region:"Heves megye",operator:"",desc:""},{mask:"+36(37)###-###",cc:"HU",cd:"Hungary",region:"Heves megye",operator:"",desc:""},{mask:"+36(42)###-###",cc:"HU",cd:"Hungary",region:"Szabolcs-Szatmár-Bereg megye",operator:"",desc:""},{mask:"+36(44)###-###",cc:"HU",cd:"Hungary",region:"Szabolcs-Szatmár-Bereg megye",operator:"",desc:""},{mask:"+36(45)###-###",cc:"HU",cd:"Hungary",region:"Szabolcs-Szatmár-Bereg megye",operator:"",desc:""},{mask:"+36(46)###-###",cc:"HU",cd:"Hungary",region:"Borsod-Abaúj-Zemplén megye",operator:"",desc:""},{mask:"+36(47)###-###",cc:"HU",cd:"Hungary",region:"Borsod-Abaúj-Zemplén megye",operator:"",desc:""},{mask:"+36(48)###-###",cc:"HU",cd:"Hungary",region:"Borsod-Abaúj-Zemplén megye",operator:"",desc:""},{mask:"+36(49)###-###",cc:"HU",cd:"Hungary",region:"Borsod-Abaúj-Zemplén megye",operator:"",desc:""},{mask:"+36(52)###-###",cc:"HU",cd:"Hungary",region:"Hajdú-Bihar megye",operator:"",desc:""},{mask:"+36(53)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(54)###-###",cc:"HU",cd:"Hungary",region:"Hajdú-Bihar megye",operator:"",desc:""},{mask:"+36(56)###-###",cc:"HU",cd:"Hungary",region:"Jász-Nagykun-Szolnok megye",operator:"",desc:""},{mask:"+36(57)###-###",cc:"HU",cd:"Hungary",region:"Jász-Nagykun-Szolnok megye",operator:"",desc:""},{mask:"+36(59)###-###",cc:"HU",cd:"Hungary",region:"Jász-Nagykun-Szolnok megye",operator:"",desc:""},{mask:"+36(62)###-###",cc:"HU",cd:"Hungary",region:"Csongrád megye",operator:"",desc:""},{mask:"+36(63)###-###",cc:"HU",cd:"Hungary",region:"Csongrád megye",operator:"",desc:""},{mask:"+36(66)###-###",cc:"HU",cd:"Hungary",region:"Békés megye",operator:"",desc:""},{mask:"+36(68)###-###",cc:"HU",cd:"Hungary",region:"Békés megye",operator:"",desc:""},{mask:"+36(69)###-###",cc:"HU",cd:"Hungary",region:"Baranya megye",operator:"",desc:""},{mask:"+36(72)###-###",cc:"HU",cd:"Hungary",region:"Baranya megye",operator:"",desc:""},{mask:"+36(73)###-###",cc:"HU",cd:"Hungary",region:"Baranya megye",operator:"",desc:""},{mask:"+36(74)###-###",cc:"HU",cd:"Hungary",region:"Tolna megye",operator:"",desc:""},{mask:"+36(75)###-###",cc:"HU",cd:"Hungary",region:"Tolna megye",operator:"",desc:""},{mask:"+36(76)###-###",cc:"HU",cd:"Hungary",region:"Bács-Kiskun megye",operator:"",desc:""},{mask:"+36(77)###-###",cc:"HU",cd:"Hungary",region:"Bács-Kiskun megye",operator:"",desc:""},{mask:"+36(78)###-###",cc:"HU",cd:"Hungary",region:"Bács-Kiskun megye",operator:"",desc:""},{mask:"+36(79)###-###",cc:"HU",cd:"Hungary",region:"Bács-Kiskun megye",operator:"",desc:""},{mask:"+36(82)###-###",cc:"HU",cd:"Hungary",region:"Somogy megye",operator:"",desc:""},{mask:"+36(83)###-###",cc:"HU",cd:"Hungary",region:"Zala megye",operator:"",desc:""},{mask:"+36(84)###-###",cc:"HU",cd:"Hungary",region:"Somogy megye",operator:"",desc:""},{mask:"+36(85)###-###",cc:"HU",cd:"Hungary",region:"Somogy megye",operator:"",desc:""},{mask:"+36(87)###-###",cc:"HU",cd:"Hungary",region:"Veszprém megye",operator:"",desc:""},{mask:"+36(88)###-###",cc:"HU",cd:"Hungary",region:"Veszprém megye",operator:"",desc:""},{mask:"+36(89)###-###",cc:"HU",cd:"Hungary",region:"Veszprém megye",operator:"",desc:""},{mask:"+36(92)###-###",cc:"HU",cd:"Hungary",region:"Zala megye",operator:"",desc:""},{mask:"+36(93)###-###",cc:"HU",cd:"Hungary",region:"Zala megye",operator:"",desc:""},{mask:"+36(94)###-###",cc:"HU",cd:"Hungary",region:"Vas megye",operator:"",desc:""},{mask:"+36(95)###-###",cc:"HU",cd:"Hungary",region:"Vas megye",operator:"",desc:""},{mask:"+36(96)###-###",cc:"HU",cd:"Hungary",region:"Győr-Moson-Sopron megye",operator:"",desc:""},{mask:"+36(99)###-###",cc:"HU",cd:"Hungary",region:"Győr-Moson-Sopron megye",operator:"",desc:""}]}}),e}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(a){"function"==typeof define&&define.amd?define(["../inputmask"],a):"object"==typeof exports?module.exports=a(require("../inputmask")):a(window.Inputmask)}(function(a){return a.extendAliases({phoneit:{alias:"abstractphone",countrycode:39,phoneCodes:[{mask:"+39 004191 ########",cc:"IT",cd:"Italy",reguib:"Campione d'Italia (CO)",city:"Campione d'Italia"},{mask:"+39 010 ########",cc:"IT",cd:"Italy",reguib:"Genova",city:["Arenzano","Busalla","Genova"]},{mask:"+39 011 ########",cc:"IT",cd:"Italy",reguib:"Torino",city:["Avigliana","Carmagnola","Caselle Torinese","Chieri","Chivasso","Ciriè","Gassino Torinese","None","Orbassano","Rivoli","Torino","Vinovo","Volpiano"]},{mask:"+39 0121 ########",cc:"IT",cd:"Italy",reguib:"Pinerolo (TO)",city:"Pinerolo"},{mask:"+39 0122 ########",cc:"IT",cd:"Italy",reguib:"Susa (TO)",city:"Susa"},{mask:"+39 0123 ########",cc:"IT",cd:"Italy",reguib:"Lanzo Torinese (TO)",city:"Lanzo Torinese"},{mask:"+39 0124 ########",cc:"IT",cd:"Italy",reguib:"Rivarolo Canavese (TO)",city:"Rivarolo Canavese"},{mask:"+39 0125 ########",cc:"IT",cd:"Italy",reguib:"Ivrea (TO)",city:["Ivrea","Pont-Saint-Martin"]},{mask:"+39 0131 ########",cc:"IT",cd:"Italy",reguib:"Alessandria",city:["Alessandria","Tortona"]},{mask:"+39 0141 ########",cc:"IT",cd:"Italy",reguib:"Asti",city:["Asti","Canelli","Montechiaro d'Asti","Nizza Monferrato","Villafranca d'Asti"]},{mask:"+39 0142 ########",cc:"IT",cd:"Italy",reguib:"Casale Monferrato (AL)",city:"Casale Monferrato"},{mask:"+39 0143 ########",cc:"IT",cd:"Italy",reguib:"Novi Ligure (AL)",city:["Novi Ligure","Ovada"]},{mask:"+39 0144 ########",cc:"IT",cd:"Italy",reguib:"Acqui Terme (AL)",city:"Acqui Terme"},{mask:"+39 015 ########",cc:"IT",cd:"Italy",reguib:"Biella",city:["Biella","Valle Mosso"]},{mask:"+39 0161 ########",cc:"IT",cd:"Italy",reguib:"Vercelli",city:["Cigliano","Santhià","Vercelli"]},{mask:"+39 0163 ########",cc:"IT",cd:"Italy",reguib:"Borgosesia (VC)",city:["Borgosesia","Gattinara","Varallo"]},{mask:"+39 0165 ########",cc:"IT",cd:"Italy",reguib:"Aosta",city:["Aosta","Courmayeur","Quart","Villeneuve"]},{mask:"+39 0166 ########",cc:"IT",cd:"Italy",reguib:"Saint-Vincent (AO)",city:"Saint-Vincent"},{mask:"+39 0171 ########",cc:"IT",cd:"Italy",reguib:"Cuneo",city:["Busca","Cuneo","Limone Piemonte"]},{mask:"+39 0172 ########",cc:"IT",cd:"Italy",reguib:"Savigliano (CN)",city:["Bra","Fossano","Racconigi","Savigliano"]},{mask:"+39 0173 ########",cc:"IT",cd:"Italy",reguib:"Alba (CN)",city:"Alba"},{mask:"+39 0174 ########",cc:"IT",cd:"Italy",reguib:"Mondovì (CN)",city:["Ceva","Mondovì"]},{mask:"+39 0175 ########",cc:"IT",cd:"Italy",reguib:"Saluzzo (CN)",city:["Barge","Saluzzo"]},{mask:"+39 0182 ########",cc:"IT",cd:"Italy",reguib:"Albenga (SV)",city:["Alassio","Albenga","Ceriale"]},{mask:"+39 0183 ########",cc:"IT",cd:"Italy",reguib:"Imperia",city:"Imperia"},{mask:"+39 0184 ########",cc:"IT",cd:"Italy",reguib:"Sanremo (IM)",city:["Sanremo","Taggia","Ventimiglia"]},{mask:"+39 0185 ########",cc:"IT",cd:"Italy",reguib:"Rapallo (GE)",city:["Chiavari","Rapallo","Recco"]},{mask:"+39 0187 ########",cc:"IT",cd:"Italy",reguib:"La Spezia",city:["Aulla","La Spezia","Levanto","Sarzana"]},{mask:"+39 019 ########",cc:"IT",cd:"Italy",reguib:"Savona",city:["Carcare","Finale Ligure","Savona","Varazze"]},{mask:"+39 02 ########",cc:"IT",cd:"Italy",reguib:"Milano",city:["Abbiategrasso","Binasco","Cernusco sul Naviglio","Cinisello Balsamo","Gorgonzola","Locate di Triulzi","Magenta","Melegnano","Milano","Paullo","Rho","Saronno","Sedriano","Senago","Sesto San Giovanni","Trezzo sull'Adda"]},{mask:"+39 030 ########",cc:"IT",cd:"Italy",reguib:"Brescia",city:["Brescia","Chiari","Desenzano del Garda","Gottolengo","Iseo","Leno","Montichiari","Palazzolo sull'Oglio","Rovato","Sarezzo","Verolanuova"]},{mask:"+39 031 ########",cc:"IT",cd:"Italy",reguib:"Como",city:["Appiano Gentile","Asso","Cantù","Como","Erba","Mariano Comense","Molteno","Solbiate"]},{mask:"+39 0321 ########",cc:"IT",cd:"Italy",reguib:"Novara",city:["Novara","Oleggio","Trecate"]},{mask:"+39 0322 ########",cc:"IT",cd:"Italy",reguib:"Arona (NO)",city:["Arona","Borgomanero"]},{mask:"+39 0323 ########",cc:"IT",cd:"Italy",reguib:"Baveno (VB)",city:["Baveno","Verbania"]},{mask:"+39 0324 ########",cc:"IT",cd:"Italy",reguib:"Domodossola (VB)",city:"Domodossola"},{mask:"+39 0331 ########",cc:"IT",cd:"Italy",reguib:"Busto Arsizio (VA)",city:["Busto Arsizio","Gallarate","Legnano"]},{mask:"+39 0332 ########",cc:"IT",cd:"Italy",reguib:"Varese",city:["Besozzo","Cunardo","Laveno-Mombello","Luino","Varese"]},{mask:"+39 0341 ########",cc:"IT",cd:"Italy",reguib:"Lecco",city:["Barzio","Bellano","Calolziocorte","Lecco"]},{mask:"+39 0342 ########",cc:"IT",cd:"Italy",reguib:"Sondrio",city:["Morbegno","Sondrio","Tirano"]},{mask:"+39 0343 ########",cc:"IT",cd:"Italy",reguib:"Chiavenna (SO)",city:"Chiavenna"},{mask:"+39 0344 ########",cc:"IT",cd:"Italy",reguib:"Menaggio (CO)",city:"Menaggio"},{mask:"+39 0345 ########",cc:"IT",cd:"Italy",reguib:"San Pellegrino Terme (BG)",city:"San Pellegrino Terme"},{mask:"+39 0346 ########",cc:"IT",cd:"Italy",reguib:"Clusone (BG)",city:"Clusone"},{mask:"+39 035 ########",cc:"IT",cd:"Italy",reguib:"Bergamo",city:["Albino","Bergamo","Bonate Sotto","Cisano Bergamasco","Fiorano al Serio","Grumello del Monte","Lovere","Sarnico","Verdellino"]},{mask:"+39 0362 ########",cc:"IT",cd:"Italy",reguib:"Seregno (MB)",city:["Carate Brianza","Cesano Maderno","Seregno"]},{mask:"+39 0363 ########",cc:"IT",cd:"Italy",reguib:"Treviglio (BG)",city:["Romano di Lombardia","Treviglio"]},{mask:"+39 0364 ########",cc:"IT",cd:"Italy",reguib:"Breno (BS)",city:["Breno","Darfo Boario Terme","Edolo"]},{mask:"+39 0365 ########",cc:"IT",cd:"Italy",reguib:"Salò (BS)",city:["Salò","Vestone"]},{mask:"+39 0371 ########",cc:"IT",cd:"Italy",reguib:"Lodi",city:"Lodi"},{mask:"+39 0372 ########",cc:"IT",cd:"Italy",reguib:"Cremona",city:["Cremona","Vescovato"]},{mask:"+39 0373 ########",cc:"IT",cd:"Italy",reguib:"Crema (CR)",city:"Crema"},{mask:"+39 0374 ########",cc:"IT",cd:"Italy",reguib:"Soresina (CR)",city:"Soresina"},{mask:"+39 0375 ########",cc:"IT",cd:"Italy",reguib:"Casalmaggiore (CR)",city:"Casalmaggiore"},{mask:"+39 0376 ########",cc:"IT",cd:"Italy",reguib:"Mantova",city:["Asola","Bozzolo","Guidizzolo","Mantova","Suzzara Casalmoro"]},{mask:"+39 0377 ########",cc:"IT",cd:"Italy",reguib:"Codogno (LO)",city:"Codogno"},{mask:"+39 0381 ########",cc:"IT",cd:"Italy",reguib:"Vigevano (PV)",city:"Vigevano"},{mask:"+39 0382 ########",cc:"IT",cd:"Italy",reguib:"Pavia",city:["Garlasco","Pavia","Santa Cristina e Bissone"]},{mask:"+39 0383 ########",cc:"IT",cd:"Italy",reguib:"Voghera (PV)",city:["Casteggio","Varzi","Voghera"]},{mask:"+39 0384 ########",cc:"IT",cd:"Italy",reguib:"Mortara (PV)",city:["Mede","Mortara"]},{mask:"+39 0385 ########",cc:"IT",cd:"Italy",reguib:"Stradella (PV)",city:"Stradella"},{mask:"+39 0386 ########",cc:"IT",cd:"Italy",reguib:"Ostiglia (MN)",city:"Ostiglia"},{mask:"+39 039 ########",cc:"IT",cd:"Italy",reguib:"Monza",city:["Merate","Monza","Vimercate"]},{mask:"+39 040 ########",cc:"IT",cd:"Italy",reguib:"Trieste",city:"Trieste"},{mask:"+39 041 ########",cc:"IT",cd:"Italy",reguib:"Venezia",city:["Chioggia","Dolo","Mirano","Mogliano Veneto","Noale","Scorzè","Spinea","Venezia"]},{mask:"+39 0421 ########",cc:"IT",cd:"Italy",reguib:"San Donà di Piave (VE)",city:["Jesolo","Portogruaro","San Donà di Piave"]},{mask:"+39 0422 ########",cc:"IT",cd:"Italy",reguib:"Treviso",city:["Oderzo","Roncade","Treviso"]},{mask:"+39 0423 ########",cc:"IT",cd:"Italy",reguib:"Montebelluna (TV)",city:["Castelfranco Veneto","Montebelluna"]},{mask:"+39 0424 ########",cc:"IT",cd:"Italy",reguib:"Bassano del Grappa (VI)",city:["Asiago","Bassano del Grappa","Marostica"]},{mask:"+39 0425 ########",cc:"IT",cd:"Italy",reguib:"Rovigo",city:["Badia Polesine","Lendinara","Rovigo"]},{mask:"+39 0426 ########",cc:"IT",cd:"Italy",reguib:"Adria (RO)",city:["Adria","Contarina di Porto Viro"]},{mask:"+39 0427 ########",cc:"IT",cd:"Italy",reguib:"Spilimbergo (PN)",city:"Spilimbergo"},{mask:"+39 0428 ########",cc:"IT",cd:"Italy",reguib:"Tarvisio (UD)",city:"Tarvisio"},{mask:"+39 0429 ########",cc:"IT",cd:"Italy",reguib:"Este (PD)",city:["Este","Monselice","Montagnana"]},{mask:"+39 0431 ########",cc:"IT",cd:"Italy",reguib:"Cervignano del Friuli (UD)",city:["Cervignano del Friuli","Latisana","Lignano Sabbiadoro"]},{mask:"+39 0432 ########",cc:"IT",cd:"Italy",reguib:"Udine",city:["Cividale del Friuli","Codroipo","Gemona del Friuli","Palmanova","Udine"]},{mask:"+39 0433 ########",cc:"IT",cd:"Italy",reguib:"Tolmezzo (UD)",city:["Comeglians","Tolmezzo"]},{mask:"+39 0434 ########",cc:"IT",cd:"Italy",reguib:"Pordenone",city:["Pordenone","Prata di Pordenone","Sacile","San Vito al Tagliamento"]},{mask:"+39 0435 ########",cc:"IT",cd:"Italy",reguib:"Pieve di Cadore (BL)",city:"Pieve di Cadore"},{mask:"+39 0436 ########",cc:"IT",cd:"Italy",reguib:"Cortina d'Ampezzo (BL)",city:"Cortina d'Ampezzo"},{mask:"+39 0437 ########",cc:"IT",cd:"Italy",reguib:"Belluno",city:["Agordo","Belluno","Sedico"]},{mask:"+39 0438 ########",cc:"IT",cd:"Italy",reguib:"Conegliano (TV)",city:["Conegliano","Pieve di Soligo","Vittorio Veneto"]},{mask:"+39 0439 ########",cc:"IT",cd:"Italy",reguib:"Feltre (BL)",city:["Feltre","Fiera di Primiero"]},{mask:"+39 0442 ########",cc:"IT",cd:"Italy",reguib:"Legnago (VR)",city:["Cerea","Legnago"]},{mask:"+39 0444 ########",cc:"IT",cd:"Italy",reguib:"Vicenza",city:["Arzignano","Montecchio Maggiore","Sossano","Vicenza"]},{mask:"+39 0445 ########",cc:"IT",cd:"Italy",reguib:"Schio (VI)",city:["Schio","Thiene","Valdagno"]},{mask:"+39 045 ########",cc:"IT",cd:"Italy",reguib:"Verona",city:["Bovolone","Bussolengo","Costermano","Isola della Scala","Peschiera del Garda","San Bonifacio","San Pietro in Cariano","Tregnago","Verona","Villafranca di Verona"]},{mask:"+39 0461 ########",cc:"IT",cd:"Italy",reguib:"Trento",city:["Mezzolombardo","Pergine Valsugana","Trento"]},{mask:"+39 0462 ########",cc:"IT",cd:"Italy",reguib:"Cavalese (TN)",city:"Cavalese"},{mask:"+39 0463 ########",cc:"IT",cd:"Italy",reguib:"Cles (TN)",city:"Cles"},{mask:"+39 0464 ########",cc:"IT",cd:"Italy",reguib:"Rovereto (TN)",city:["Riva del Garda","Rovereto"]},{mask:"+39 0465 ########",cc:"IT",cd:"Italy",reguib:"Tione di Trento (TN)",city:"Tione di Trento"},{mask:"+39 0471 ########",cc:"IT",cd:"Italy",reguib:"Bolzano",city:["Bolzano","Egna","Ortisei"]},{mask:"+39 0472 ########",cc:"IT",cd:"Italy",reguib:"Bressanone (BZ)",city:"Bressanone"},{mask:"+39 0473 ########",cc:"IT",cd:"Italy",reguib:"Merano (BZ)",city:["Merano","Silandro"]},{mask:"+39 0474 ########",cc:"IT",cd:"Italy",reguib:"Brunico (BZ)",city:"Brunico"},{mask:"+39 0481 ########",cc:"IT",cd:"Italy",reguib:"Gorizia",city:["Gorizia","Monfalcone"]},{mask:"+39 049 ########",cc:"IT",cd:"Italy",reguib:"Padova",city:["Camposampiero","Cittadella","Conselve","Padova","Piove di Sacco","Teolo"]},{mask:"+39 050 ########",cc:"IT",cd:"Italy",reguib:"Pisa",city:["Cascina","Pisa"]},{mask:"+39 051 ########",cc:"IT",cd:"Italy",reguib:"Bologna",city:["Bazzano","Bologna","Budrio","Castel San Pietro Terme","Cento","Malalbergo","San Giorgio di Piano","San Giovanni in Persiceto","Sasso Marconi"]},{mask:"+39 0521 ########",cc:"IT",cd:"Italy",reguib:"Parma",city:["Collecchio","Langhirano","Parma","San Secondo Parmense"]},{mask:"+39 0522 ########",cc:"IT",cd:"Italy",reguib:"Reggio nell'Emilia",city:["Castelnovo ne' Monti","Guastalla","Reggio Emilia"]},{mask:"+39 0523 ########",cc:"IT",cd:"Italy",reguib:"Piacenza",city:["Bettola","Castel San Giovanni","Fiorenzuola d'Arda","Monticelli d'Ongina","Piacenza"]},{mask:"+39 0524 ########",cc:"IT",cd:"Italy",reguib:"Fidenza (PR)",city:"Fidenza"},{mask:"+39 0525 ########",cc:"IT",cd:"Italy",reguib:"Fornovo di Taro (PR)",city:["Borgo Val di Taro","Fornovo di Taro"]},{mask:"+39 0532 ########",cc:"IT",cd:"Italy",reguib:"Ferrara",city:["Argenta","Bondeno","Copparo","Ferrara"]},{mask:"+39 0533 ########",cc:"IT",cd:"Italy",reguib:"Comacchio (FE)",city:"Comacchio"},{mask:"+39 0534 ########",cc:"IT",cd:"Italy",reguib:"Porretta Terme (BO)",city:"Porretta Terme"},{mask:"+39 0535 ########",cc:"IT",cd:"Italy",reguib:"Mirandola (MO)",city:"Mirandola"},{mask:"+39 0536 ########",cc:"IT",cd:"Italy",reguib:"Sassuolo (MO)",city:["Maranello","Pievepelago","Sassuolo"]},{mask:"+39 0541 ########",cc:"IT",cd:"Italy",reguib:"Rimini",city:["Cattolica","Rimini","Savignano sul Rubicone"]},{mask:"+39 0542 ########",cc:"IT",cd:"Italy",reguib:"Imola (BO)",city:"Imola"},{mask:"+39 0543 ########",cc:"IT",cd:"Italy",reguib:"Forlì",city:"Forlì"},{mask:"+39 0544 ########",cc:"IT",cd:"Italy",reguib:"Ravenna",city:["Cervia","Ravenna"]},{mask:"+39 0545 ########",cc:"IT",cd:"Italy",reguib:"Lugo (RA)",city:["Bagnacavallo","Lugo"]},{mask:"+39 0546 ########",cc:"IT",cd:"Italy",reguib:"Faenza (RA)",city:"Faenza"},{mask:"+39 0547 ########",cc:"IT",cd:"Italy",reguib:"Cesena",city:["Cesena","Cesenatico"]},{mask:"+39 0549 ########",cc:"IT",cd:"Italy",reguib:"Repubblica di San Marino",city:["Repubblica di San Marino[4]","San Marino"]},{mask:"+39 055 ########",cc:"IT",cd:"Italy",reguib:"Firenze",city:["Borgo San Lorenzo","Firenze","Pontassieve","San Giovanni Valdarno","Signa"]},{mask:"+39 0564 ########",cc:"IT",cd:"Italy",reguib:"Grosseto",city:["Arcidosso","Grosseto","Orbetello","Roccastrada"]},{mask:"+39 0565 ########",cc:"IT",cd:"Italy",reguib:"Piombino (LI)",city:["Piombino","Portoferraio"]},{mask:"+39 0566 ########",cc:"IT",cd:"Italy",reguib:"Follonica (GR)",city:"Follonica"},{mask:"+39 0571 ########",cc:"IT",cd:"Italy",reguib:"Empoli (FI)",city:["Empoli","San Miniato"]},{mask:"+39 0572 ########",cc:"IT",cd:"Italy",reguib:"Montecatini Terme (PT)",city:"Montecatini Terme"},{mask:"+39 0573 ########",cc:"IT",cd:"Italy",reguib:"Pistoia",city:"Pistoia"},{mask:"+39 0574 ########",cc:"IT",cd:"Italy",reguib:"Prato",city:"Prato"},{mask:"+39 0575 ########",cc:"IT",cd:"Italy",reguib:"Arezzo",city:["Arezzo","Cortona","Sansepolcro"]},{mask:"+39 0577 ########",cc:"IT",cd:"Italy",reguib:"Siena",city:["Abbadia San Salvatore","Poggibonsi","Siena","Sinalunga"]},{mask:"+39 0578 ########",cc:"IT",cd:"Italy",reguib:"Chianciano Terme (SI)",city:["Chianciano Terme","Chiusi"]},{mask:"+39 0583 ########",cc:"IT",cd:"Italy",reguib:"Lucca",city:["Altopascio","Barga","Castelnuovo di Garfagnana","Lucca"]},{mask:"+39 0584 ########",cc:"IT",cd:"Italy",reguib:"Viareggio (LU)",city:["Pietrasanta","Viareggio"]},{mask:"+39 0585 ########",cc:"IT",cd:"Italy",reguib:"Massa",city:["Carrara","Massa"]},{mask:"+39 0586 ########",cc:"IT",cd:"Italy",reguib:"Livorno",city:["Cecina","Livorno","Rosignano Marittimo"]},{mask:"+39 0587 ########",cc:"IT",cd:"Italy",reguib:"Pontedera (PI)",city:"Pontedera"},{mask:"+39 0588 ########",cc:"IT",cd:"Italy",reguib:"Volterra (PI)",city:"Volterra"},{mask:"+39 059 ########",cc:"IT",cd:"Italy",reguib:"Modena",city:["Carpi","Castelfranco Emilia","Modena","Vignola"]},{mask:"+39 06 ########",cc:"IT",cd:"Italy",reguib:"Roma",city:["Albano Laziale","Anzio","Bracciano","Castelnuovo di Porto","Città del Vaticano","Colleferro","Fiumicino","Frascati","Ladispoli","Monterotondo","Palestrina","Pomezia","Roma","Velletri"]},{mask:"+39 070 ########",cc:"IT",cd:"Italy",reguib:"Cagliari",city:["Cagliari","Decimomannu","Quartu Sant'Elena","Sanluri","Senorbì"]},{mask:"+39 071 ########",cc:"IT",cd:"Italy",reguib:"Ancona",city:["Ancona","Loreto","Osimo","Senigallia"]},{mask:"+39 0721 ########",cc:"IT",cd:"Italy",reguib:"Pesaro",city:["Cagli","Fano","Mondolfo","Pesaro"]},{mask:"+39 0722 ########",cc:"IT",cd:"Italy",reguib:"Urbino",city:"Urbino"},{mask:"+39 0731 ########",cc:"IT",cd:"Italy",reguib:"Jesi (AN)",city:"Jesi"},{mask:"+39 0732 ########",cc:"IT",cd:"Italy",reguib:"Fabriano (AN)",city:"Fabriano"},{mask:"+39 0733 ########",cc:"IT",cd:"Italy",reguib:"Macerata",city:["Civitanova Marche","Macerata","Tolentino"]},{mask:"+39 0734 ########",cc:"IT",cd:"Italy",reguib:"Fermo",city:["Fermo","Sant'Elpidio a Mare"]},{mask:"+39 0735 ########",cc:"IT",cd:"Italy",reguib:"San Benedetto del Tronto (AP)",city:"San Benedetto del Tronto"},{mask:"+39 0736 ########",cc:"IT",cd:"Italy",reguib:"Ascoli Piceno",city:["Ascoli Piceno","Castel di Lama"]},{mask:"+39 0737 ########",cc:"IT",cd:"Italy",reguib:"Camerino (MC)",city:"Camerino"},{mask:"+39 0742 ########",cc:"IT",cd:"Italy",reguib:"Foligno (PG)",city:"Foligno"},{mask:"+39 0743 ########",cc:"IT",cd:"Italy",reguib:"Spoleto (PG)",city:"Spoleto"},{mask:"+39 0744 ########",cc:"IT",cd:"Italy",reguib:"Terni",city:["Amelia","Narni","Terni"]},{mask:"+39 0746 ########",cc:"IT",cd:"Italy",reguib:"Rieti",city:["Amatrice","Borgorose","Rieti"]},{mask:"+39 075 ########",cc:"IT",cd:"Italy",reguib:"Perugia",city:["Assisi","Città di Castello","Gubbio","Magione","Marsciano","Perugia","Todi"]},{mask:"+39 0761 ########",cc:"IT",cd:"Italy",reguib:"Viterbo",city:["Civita Castellana","Montefiascone","Ronciglione","Soriano nel Cimino","Valentano","Viterbo"]},{mask:"+39 0763 ########",cc:"IT",cd:"Italy",reguib:"Orvieto (TR)",city:"Orvieto"},{mask:"+39 0765 ########",cc:"IT",cd:"Italy",reguib:"Poggio Mirteto (RI)",city:["Poggio Mirteto","Poggio Moiano"]},{mask:"+39 0766 ########",cc:"IT",cd:"Italy",reguib:"Civitavecchia (RM)",city:["Civitavecchia","Tarquinia"]},{mask:"+39 0771 ########",cc:"IT",cd:"Italy",reguib:"Formia (LT)",city:["Fondi","Formia","Minturno"]},{mask:"+39 0773 ########",cc:"IT",cd:"Italy",reguib:"Latina",city:["Latina","Priverno","Sabaudia","Terracina"]},{mask:"+39 0774 ########",cc:"IT",cd:"Italy",reguib:"Tivoli (RM)",city:["Guidonia Montecelio","Subiaco","Tivoli"]},{mask:"+39 0775 ########",cc:"IT",cd:"Italy",reguib:"Frosinone",city:["Ceccano","Fiuggi","Frosinone"]},{mask:"+39 0776 ########",cc:"IT",cd:"Italy",reguib:"Cassino (FR)",city:["Atina","Cassino","Pontecorvo","Sora"]},{mask:"+39 0781 ########",cc:"IT",cd:"Italy",reguib:"Iglesias (SU)",city:["Carbonia","Iglesias","Narcao"]},{mask:"+39 0782 ########",cc:"IT",cd:"Italy",reguib:"Lanusei (NU)",city:"Lanusei"},{mask:"+39 0783 ########",cc:"IT",cd:"Italy",reguib:"Oristano",city:["Oristano","Terralba"]},{mask:"+39 0784 ########",cc:"IT",cd:"Italy",reguib:"Nuoro",city:["Nuoro","Siniscola","Sorgono"]},{mask:"+39 0785 ########",cc:"IT",cd:"Italy",reguib:"Macomer (NU)",city:"Macomer"},{mask:"+39 0789 ########",cc:"IT",cd:"Italy",reguib:"Olbia (SS)",city:["Olbia","Palau"]},{mask:"+39 079 ########",cc:"IT",cd:"Italy",reguib:"Sassari",city:["Alghero","Ozieri","Sassari","Tempio Pausania","Thiesi"]},{mask:"+39 080 ########",cc:"IT",cd:"Italy",reguib:"Bari",city:["Acquaviva delle Fonti","Altamura","Bari","Bisceglie","Bitetto","Bitonto","Casamassima","Fasano","Gioia del Colle","Martina Franca","Molfetta","Monopoli","Putignano","Rutigliano","Ruvo di Puglia","Triggiano"]},{mask:"+39 081 ########",cc:"IT",cd:"Italy",reguib:"Napoli",city:["Acerra","Afragola","Aversa","Capri","Casal di Principe","Casalnuovo di Napoli","Casoria","Castellammare di Stabia","Crispano","Ercolano","Giugliano in Campania","Ischia","Marano di Napoli","Napoli","Nocera Inferiore","Nola","Poggiomarino","Pomigliano d'Arco","Portici","Pozzuoli","San Giuseppe Vesuviano","Sant'Anastasia","Scafati","Sorrento","Torre Annunziata","Torre del Greco"]},{mask:"+39 0823 ########",cc:"IT",cd:"Italy",reguib:"Caserta",city:["Caserta","Piedimonte Matese","Santa Maria Capua Vetere","Sessa Aurunca"]},{mask:"+39 0824 ########",cc:"IT",cd:"Italy",reguib:"Benevento",city:["Benevento","Cerreto Sannita","Foiano di Val Fortore","Telese Terme"]},{mask:"+39 0825 ########",cc:"IT",cd:"Italy",reguib:"Avellino",city:["Ariano Irpino","Avellino","Prata di Principato Ultra","Solofra"]},{mask:"+39 0827 ########",cc:"IT",cd:"Italy",reguib:"Sant'Angelo dei Lombardi (AV)",city:["Montella","Sant'Angelo dei Lombardi","Vallata"]},{mask:"+39 0828 ########",cc:"IT",cd:"Italy",reguib:"Battipaglia (SA)",city:["Battipaglia","Capaccio","Contursi Terme"]},{mask:"+39 0831 ########",cc:"IT",cd:"Italy",reguib:"Brindisi",city:["Brindisi","Francavilla Fontana","Mesagne","Ostuni","San Pietro Vernotico","San Vito dei Normanni"]},{mask:"+39 0832 ########",cc:"IT",cd:"Italy",reguib:"Lecce",city:["Campi Salentina","Lecce","Vernole"]},{mask:"+39 0833 ########",cc:"IT",cd:"Italy",reguib:"Gallipoli (LE)",city:["Alessano","Gallipoli","Nardò","Parabita"]},{mask:"+39 0835 ########",cc:"IT",cd:"Italy",reguib:"Matera",city:["Ferrandina","Grassano","Matera","Pisticci","Scanzano Jonico"]},{mask:"+39 0836 ########",cc:"IT",cd:"Italy",reguib:"Maglie (LE)",city:["Galatina","Maglie","Poggiardo"]},{mask:"+39 085 ########",cc:"IT",cd:"Italy",reguib:"Pescara",city:["Giulianova","Penne","Pescara","Scafa","Silvi","Torre de' Passeri"]},{mask:"+39 0861 ########",cc:"IT",cd:"Italy",reguib:"Teramo",city:["Alba Adriatica","Bisenti","Nereto","Teramo"]},{mask:"+39 0862 ########",cc:"IT",cd:"Italy",reguib:"L'Aquila",city:["L'Aquila","San Demetrio ne' Vestini"]},{mask:"+39 0863 ########",cc:"IT",cd:"Italy",reguib:"Avezzano (AQ)",city:["Avezzano","Pescina","Tagliacozzo"]},{mask:"+39 0864 ########",cc:"IT",cd:"Italy",reguib:"Sulmona (AQ)",city:["Roccaraso","Sulmona"]},{mask:"+39 0865 ########",cc:"IT",cd:"Italy",reguib:"Isernia",city:["Agnone","Isernia","Venafro"]},{mask:"+39 0871 ########",cc:"IT",cd:"Italy",reguib:"Chieti",city:["Chieti","Guardiagrele"]},{mask:"+39 0872 ########",cc:"IT",cd:"Italy",reguib:"Lanciano (CH)",city:["Atessa","Lanciano"]},{mask:"+39 0873 ########",cc:"IT",cd:"Italy",reguib:"Vasto (CH)",city:["Casalbordino","Vasto"]},{mask:"+39 0874 ########",cc:"IT",cd:"Italy",reguib:"Campobasso",city:["Bojano","Campobasso","Larino","Trivento"]},{mask:"+39 0875 ########",cc:"IT",cd:"Italy",reguib:"Termoli (CB)",city:"Termoli"},{mask:"+39 0881 ########",cc:"IT",cd:"Italy",reguib:"Foggia",city:["Bovino","Foggia","Lucera","Motta Montecorvino"]},{mask:"+39 0882 ########",cc:"IT",cd:"Italy",reguib:"San Severo (FG)",city:["San Marco in Lamis","San Severo","Sannicandro Garganico"]},{mask:"+39 0883 ########",cc:"IT",cd:"Italy",reguib:"Andria",city:["Andria","Barletta","Canosa di Puglia","Trani","Trinitapoli"]},{mask:"+39 0884 ########",cc:"IT",cd:"Italy",reguib:"Manfredonia (FG)",city:["Manfredonia","Vico del Gargano"]},{mask:"+39 0885 ########",cc:"IT",cd:"Italy",reguib:"Cerignola (FG)",city:["Ascoli Satriano","Candela","Carapelle","Cerignola","Ordona","Orta Nova","Rocchetta Sant'Antonio","Stornara","Stornarella"]},{mask:"+39 089 ########",cc:"IT",cd:"Italy",reguib:"Salerno",city:["Amalfi","Baronissi","Cava de' Tirreni","Salerno"]},{mask:"+39 090 ########",cc:"IT",cd:"Italy",reguib:"Messina",city:["Barcellona Pozzo di Gotto","Messina","Milazzo","Spadafora"]},{mask:"+39 091 ########",cc:"IT",cd:"Italy",reguib:"Palermo",city:["Bagheria","Carini","Lercara Friddi","Misilmeri","Palermo","Partinico","Termini Imerese","Villafrati"]},{mask:"+39 0921 ########",cc:"IT",cd:"Italy",reguib:"Cefalù (PA)",city:["Cefalù","Petralia Sottana","Santo Stefano di Camastra"]},{mask:"+39 0922 ########",cc:"IT",cd:"Italy",reguib:"Agrigento",city:["Agrigento","Alessandria della Rocca","Canicattì","Casteltermini","Licata","Palma di Montechiaro"]},{mask:"+39 0923 ########",cc:"IT",cd:"Italy",reguib:"Trapani",city:["Marsala","Mazara del Vallo","Trapani"]},{mask:"+39 0924 ########",cc:"IT",cd:"Italy",reguib:"Alcamo (TP)",city:["Alcamo","Castelvetrano","Salemi"]},{mask:"+39 0925 ########",cc:"IT",cd:"Italy",reguib:"Sciacca (AG)",city:["Menfi","Sciacca"]},{mask:"+39 0931 ########",cc:"IT",cd:"Italy",reguib:"Siracusa",city:["Augusta","Avola","Floridia","Palazzolo Acreide","Siracusa"]},{mask:"+39 0932 ########",cc:"IT",cd:"Italy",reguib:"Ragusa",city:["Comiso","Modica","Pozzallo","Ragusa","Scicli","Vittoria"]},{mask:"+39 0933 ########",cc:"IT",cd:"Italy",reguib:"Caltagirone (CT)",city:["Caltagirone","Gela","Grammichele"]},{mask:"+39 0934 ########",cc:"IT",cd:"Italy",reguib:"Caltanissetta",city:["Caltanissetta","Mussomeli","Pietraperzia"]},{mask:"+39 0935 ########",cc:"IT",cd:"Italy",reguib:"Enna",city:["Enna","Leonforte","Piazza Armerina","Regalbuto"]},{mask:"+39 0941 ########",cc:"IT",cd:"Italy",reguib:"Patti (ME)",city:["Capo d'Orlando","Furnari","Patti","Sant'Agata di Militello"]},{mask:"+39 0942 ########",cc:"IT",cd:"Italy",reguib:"Taormina (ME)",city:"Taormina"},{mask:"+39 095 ########",cc:"IT",cd:"Italy",reguib:"Catania",city:["Acireale","Adrano","Bronte","Catania","Giarre","Lentini","Nicolosi","Palagonia","Paternò"]},{mask:"+39 0961 ########",cc:"IT",cd:"Italy",reguib:"Catanzaro",city:["Catanzaro","Cropani","Tiriolo"]},{mask:"+39 0962 ########",cc:"IT",cd:"Italy",reguib:"Crotone",city:["Cirò Marina","Crotone","Petilia Policastro"]},{mask:"+39 0963 ########",cc:"IT",cd:"Italy",reguib:"Vibo Valentia",city:["Soriano Calabro","Tropea","Vibo Valentia"]},{mask:"+39 0964 ########",cc:"IT",cd:"Italy",reguib:"Locri (RC)",city:["Bianco","Gioiosa Ionica","Locri"]},{mask:"+39 0965 ########",cc:"IT",cd:"Italy",reguib:"Reggio di Calabria",city:["Melito di Porto Salvo","Reggio Calabria"]},{mask:"+39 0966 ########",cc:"IT",cd:"Italy",reguib:"Palmi (RC)",city:["Palmi","Polistena","Taurianova"]},{mask:"+39 0967 ########",cc:"IT",cd:"Italy",reguib:"Soverato (CZ)",city:["Badolato","Chiaravalle Centrale","Soverato"]},{mask:"+39 0968 ########",cc:"IT",cd:"Italy",reguib:"Lamezia Terme (CZ)",city:["Lamezia Terme","Maida","Nocera Terinese"]},{mask:"+39 0971 ########",cc:"IT",cd:"Italy",reguib:"Potenza",city:["Avigliano","Laurenzana","Potenza"]},{mask:"+39 0972 ########",cc:"IT",cd:"Italy",reguib:"Melfi (PZ)",city:["Melfi","Venosa"]},{mask:"+39 0973 ########",cc:"IT",cd:"Italy",reguib:"Lagonegro (PZ)",city:["Chiaromonte","Lagonegro","Lauria","Sapri"]},{mask:"+39 0974 ########",cc:"IT",cd:"Italy",reguib:"Vallo della Lucania (SA)",city:["Roccagloriosa","Torchiara","Vallo della Lucania"]},{mask:"+39 0975 ########",cc:"IT",cd:"Italy",reguib:"Sala Consilina (SA)",city:["Polla","Sala Consilina","Viggiano"]},{mask:"+39 0976 ########",cc:"IT",cd:"Italy",reguib:"Muro Lucano (PZ)",city:"Muro Lucano"},{mask:"+39 0981 ########",cc:"IT",cd:"Italy",reguib:"Castrovillari (CS)",city:["Cassano all'Ionio","Castrovillari","Trebisacce"]},{mask:"+39 0982 ########",cc:"IT",cd:"Italy",reguib:"Paola (CS)",city:"Paola"},{mask:"+39 0983 ########",cc:"IT",cd:"Italy",reguib:"Rossano (CS)",city:["Cariati","Corigliano Calabro","Rossano"]},{mask:"+39 0984 ########",cc:"IT",cd:"Italy",reguib:"Cosenza",city:["Bisignano","Cosenza","Mendicino","San Giovanni in Fiore","San Marco Argentano"]},{mask:"+39 0985 ########",cc:"IT",cd:"Italy",reguib:"Scalea (CS)",city:"Scalea"},{mask:"+39 099 ########",cc:"IT",cd:"Italy",reguib:"Taranto",city:["Fragagnano","Ginosa","Grottaglie","Manduria","Massafra","Taranto"]},{mask:"+39 3## #######",cc:"IT",cd:"Italy",reguib:"Mobile",city:""}]}}),a}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(c){"function"==typeof define&&define.amd?define(["../inputmask"],c):"object"==typeof exports?module.exports=c(require("../inputmask")):c(window.Inputmask)}(function(c){return c.extendAliases({phonemx:{alias:"abstractphone",countrycode:"52",phoneCodes:[{mask:"+52 (744) ###-####",cc:"MX",cd:"Mexico",city:"Acapulco"},{mask:"+52 (449) ###-####",cc:"MX",cd:"Mexico",city:"Aguascalientes"},{mask:"+52 (833) ###-####",cc:"MX",cd:"Mexico",city:"Altamira"},{mask:"+52 (81) ####-####",cc:"MX",cd:"Mexico",city:"Apodaca"},{mask:"+52 (624) ###-####",cc:"MX",cd:"Mexico",city:"Cabo San Lucas"},{mask:"+52 (981) ###-####",cc:"MX",cd:"Mexico",city:"Campeche"},{mask:"+52 (998) ###-####",cc:"MX",cd:"Mexico",city:"Cancún"},{mask:"+52 (461) ###-####",cc:"MX",cd:"Mexico",city:"Celaya"},{mask:"+52 (983) ###-####",cc:"MX",cd:"Mexico",city:"Chetumal"},{mask:"+52 (614) ###-####",cc:"MX",cd:"Mexico",city:"Chihuahua"},{mask:"+52 (747) ###-####",cc:"MX",cd:"Mexico",city:"Chilpancingo De Los Bravo"},{mask:"+52 (877) ###-####",cc:"MX",cd:"Mexico",city:"Ciudad Acuña"},{mask:"+52 (656) ###-####",cc:"MX",cd:"Mexico",city:"Ciudad Juárez"},{mask:"+52 (871) ###-####",cc:"MX",cd:"Mexico",city:"Ciudad Lerdo"},{mask:"+52 (833) ###-####",cc:"MX",cd:"Mexico",city:"Ciudad Madero"},{mask:"+52 (644) ###-####",cc:"MX",cd:"Mexico",city:"Ciudad Obregón"},{mask:"+52 (834) ###-####",cc:"MX",cd:"Mexico",city:"Ciudad Victoria"},{mask:"+52 (312) ###-####",cc:"MX",cd:"Mexico",city:"Colima"},{mask:"+52 (963) ###-####",cc:"MX",cd:"Mexico",city:"Comitán"},{mask:"+52 (271) ###-####",cc:"MX",cd:"Mexico",city:"Córdoba"},{mask:"+52 (777) ###-####",cc:"MX",cd:"Mexico",city:"Cuernavaca"},{mask:"+52 (667) ###-####",cc:"MX",cd:"Mexico",city:"Culiacán Rosales"},{mask:"+52 (646) ###-####",cc:"MX",cd:"Mexico",city:"Ensenada"},{mask:"+52 (871) ###-####",cc:"MX",cd:"Mexico",city:"Gómez Palacio"},{mask:"+52 (33) ####-####",cc:"MX",cd:"Mexico",city:"Guadalajara"},{mask:"+52 (473) ###-####",cc:"MX",cd:"Mexico",city:"Guanajuato"},{mask:"+52 (662) ###-####",cc:"MX",cd:"Mexico",city:"Hermosillo"},{mask:"+52 (715) ###-####",cc:"MX",cd:"Mexico",city:"Heroica Zitácuaro"},{mask:"+52 (777) ###-####",cc:"MX",cd:"Mexico",city:"Jiutepec"},{mask:"+52 (612) ###-####",cc:"MX",cd:"Mexico",city:"La Paz (Baja California Sur)"},{mask:"+52 (477) ###-####",cc:"MX",cd:"Mexico",city:"León"},{mask:"+52 (314) ###-####",cc:"MX",cd:"Mexico",city:"Manzanillo"},{mask:"+52 (868) ###-####",cc:"MX",cd:"Mexico",city:"Matamoros"},{mask:"+52 (999) ###-####",cc:"MX",cd:"Mexico",city:"Mérida"},{mask:"+52 (686) ###-####",cc:"MX",cd:"Mexico",city:"Mexicali"},{mask:"+52 (55) ####-####",cc:"MX",cd:"Mexico",city:"México D.F."},{mask:"+52 (81) ####-####",cc:"MX",cd:"Mexico",city:"Monterrey"},{mask:"+52 (443) ###-####",cc:"MX",cd:"Mexico",city:"Morelia"},{mask:"+52 (867) ###-####",cc:"MX",cd:"Mexico",city:"Nuevo Laredo"},{mask:"+52 (951) ###-####",cc:"MX",cd:"Mexico",city:"Oaxaca De Juárez"},{mask:"+52 (771) ###-####",cc:"MX",cd:"Mexico",city:"Pachuca De Soto"},{mask:"+52 (984) ###-####",cc:"MX",cd:"Mexico",city:"Playa Del Carmen"},{mask:"+52 (222) ###-####",cc:"MX",cd:"Mexico",city:"Puebla"},{mask:"+52 (322) ###-####",cc:"MX",cd:"Mexico",city:"Puerto Vallarta"},{mask:"+52 (899) ###-####",cc:"MX",cd:"Mexico",city:"Reynosa"},{mask:"+52 (464) ###-####",cc:"MX",cd:"Mexico",city:"Salamanca"},{mask:"+52 (844) ###-####",cc:"MX",cd:"Mexico",city:"Saltillo"},{mask:"+52 (967) ###-####",cc:"MX",cd:"Mexico",city:"San Cristóbal De Las Casas"},{mask:"+52 (444) ###-####",cc:"MX",cd:"Mexico",city:"San Luis Potosí"},{mask:"+52 (81) ####-####",cc:"MX",cd:"Mexico",city:"San Nicolás De Los Garza"},{mask:"+52 (615) ###-####",cc:"MX",cd:"Mexico",city:"Santa Rosalía"},{mask:"+52 (442) ###-####",cc:"MX",cd:"Mexico",city:"Santiago De Querétaro"},{mask:"+52 (833) ###-####",cc:"MX",cd:"Mexico",city:"Tampico"},{mask:"+52 (665) ###-####",cc:"MX",cd:"Mexico",city:"Tecate"},{mask:"+52 (311) ###-####",cc:"MX",cd:"Mexico",city:"Tepic"},{mask:"+52 (664) ###-####",cc:"MX",cd:"Mexico",city:"Tijuana"},{mask:"+52 (246) ###-####",cc:"MX",cd:"Mexico",city:"Tlaxcala De Xicohténcatl"},{mask:"+52 (612) ###-####",cc:"MX",cd:"Mexico",city:"Todos Santos"},{mask:"+52 (722) ###-####",cc:"MX",cd:"Mexico",city:"Toluca De Lerdo"},{mask:"+52 (871) ###-####",cc:"MX",cd:"Mexico",city:"Torreón"},{mask:"+52 (984) ###-####",cc:"MX",cd:"Mexico",city:"Tulúm"},{mask:"+52 (961) ###-####",cc:"MX",cd:"Mexico",city:"Tuxtla Gutiérrez"},{mask:"+52 (452) ###-####",cc:"MX",cd:"Mexico",city:"Uruapan"},{mask:"+52 (985) ###-####",cc:"MX",cd:"Mexico",city:"Valladolid"},{mask:"+52 (457) ###-####",cc:"MX",cd:"Mexico",city:"Valparaíso"},{mask:"+52 (229) ###-####",cc:"MX",cd:"Mexico",city:"Veracruz"},{mask:"+52 (618) ###-####",cc:"MX",cd:"Mexico",city:"Victoria De Durango"},{mask:"+52 (993) ###-####",cc:"MX",cd:"Mexico",city:"Villahermosa"},{mask:"+52 (228) ###-####",cc:"MX",cd:"Mexico",city:"Xalapa-Enríquez"},{mask:"+52 (492) ###-####",cc:"MX",cd:"Mexico",city:"Zacatecas"},{mask:"+52 (351) ###-####",cc:"MX",cd:"Mexico",city:"Zamora"},{mask:"+52 (33) ####-####",cc:"MX",cd:"Mexico",city:"Zapopan"}]}}),c}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(c){"function"==typeof define&&define.amd?define(["../inputmask"],c):"object"==typeof exports?module.exports=c(require("../inputmask")):c(window.Inputmask)}(function(c){return c.extendAliases({phonenl:{alias:"abstractphone",countrycode:"31",phoneCodes:[{mask:"+31-10-###-####",cc:"NL",cd:"Netherlands",city:"Rotterdam"},{mask:"+31-111-###-###",cc:"NL",cd:"Netherlands",city:"Zierikzee"},{mask:"+31-113-###-###",cc:"NL",cd:"Netherlands",city:"Goes"},{mask:"+31-114-###-###",cc:"NL",cd:"Netherlands",city:"Hulst"},{mask:"+31-115-###-###",cc:"NL",cd:"Netherlands",city:"Terneuzen"},{mask:"+31-117-###-###",cc:"NL",cd:"Netherlands",city:"Oostburg"},{mask:"+31-118-###-###",cc:"NL",cd:"Netherlands",city:"Middelburg"},{mask:"+31-13-###-####",cc:"NL",cd:"Netherlands",city:"Tilburg"},{mask:"+31-14-###-####",cc:"NL",cd:"Netherlands",city:"Intern gebruik door KPN"},{mask:"+31-15-###-####",cc:"NL",cd:"Netherlands",city:"Delft"},{mask:"+31-161-###-###",cc:"NL",cd:"Netherlands",city:"Rijen"},{mask:"+31-162-###-###",cc:"NL",cd:"Netherlands",city:"Oosterhout"},{mask:"+31-164-###-###",cc:"NL",cd:"Netherlands",city:"Bergen op Zoom"},{mask:"+31-165-###-###",cc:"NL",cd:"Netherlands",city:"Roosendaal"},{mask:"+31-166-###-###",cc:"NL",cd:"Netherlands",city:"Tholen"},{mask:"+31-167-###-###",cc:"NL",cd:"Netherlands",city:"Steenbergen"},{mask:"+31-168-###-###",cc:"NL",cd:"Netherlands",city:"Zevenbergen"},{mask:"+31-172-###-###",cc:"NL",cd:"Netherlands",city:"Alphen aan den Rijn"},{mask:"+31-174-###-###",cc:"NL",cd:"Netherlands",city:"Naaldwijk"},{mask:"+31-180-###-###",cc:"NL",cd:"Netherlands",city:"Krimpen aan den IJsel"},{mask:"+31-181-###-###",cc:"NL",cd:"Netherlands",city:"Spijkenisse"},{mask:"+31-182-###-###",cc:"NL",cd:"Netherlands",city:"Gouda"},{mask:"+31-183-###-###",cc:"NL",cd:"Netherlands",city:"Gorinchem"},{mask:"+31-184-###-###",cc:"NL",cd:"Netherlands",city:"Sliedrecht"},{mask:"+31-186-###-###",cc:"NL",cd:"Netherlands",city:"Oud-Beijerland"},{mask:"+31-187-###-###",cc:"NL",cd:"Netherlands",city:"Middelharnis"},{mask:"+31-20-###-####",cc:"NL",cd:"Netherlands",city:"Amsterdam"},{mask:"+31-222-###-###",cc:"NL",cd:"Netherlands",city:"Den Burg"},{mask:"+31-223-###-###",cc:"NL",cd:"Netherlands",city:"Den Helder"},{mask:"+31-224-###-###",cc:"NL",cd:"Netherlands",city:"Schagen"},{mask:"+31-226-###-###",cc:"NL",cd:"Netherlands",city:"Noord-Scharwoude"},{mask:"+31-227-###-###",cc:"NL",cd:"Netherlands",city:"Middenmeer"},{mask:"+31-228-###-###",cc:"NL",cd:"Netherlands",city:"Enkhuizen"},{mask:"+31-229-###-###",cc:"NL",cd:"Netherlands",city:"Hoorn"},{mask:"+31-23-###-####",cc:"NL",cd:"Netherlands",city:"Haarlem"},{mask:"+31-24-###-####",cc:"NL",cd:"Netherlands",city:"Nijmegen"},{mask:"+31-251-###-###",cc:"NL",cd:"Netherlands",city:"Beverwijk"},{mask:"+31-252-###-###",cc:"NL",cd:"Netherlands",city:"Hillegom"},{mask:"+31-255-###-###",cc:"NL",cd:"Netherlands",city:"IJmuiden"},{mask:"+31-26-###-####",cc:"NL",cd:"Netherlands",city:"Arnhem"},{mask:"+31-294-###-###",cc:"NL",cd:"Netherlands",city:"Weesp"},{mask:"+31-297-###-###",cc:"NL",cd:"Netherlands",city:"Uithoorn"},{mask:"+31-299-###-###",cc:"NL",cd:"Netherlands",city:"Purmerend"},{mask:"+31-30-###-####",cc:"NL",cd:"Netherlands",city:"Utrecht"},{mask:"+31-313-###-###",cc:"NL",cd:"Netherlands",city:"Dieren"},{mask:"+31-314-###-###",cc:"NL",cd:"Netherlands",city:"Doetinchem"},{mask:"+31-315-###-###",cc:"NL",cd:"Netherlands",city:"Terborg"},{mask:"+31-316-###-###",cc:"NL",cd:"Netherlands",city:"Zevenaar"},{mask:"+31-317-###-###",cc:"NL",cd:"Netherlands",city:"Wageningen"},{mask:"+31-318-###-###",cc:"NL",cd:"Netherlands",city:"Ede"},{mask:"+31-320-###-###",cc:"NL",cd:"Netherlands",city:"Lelystad"},{mask:"+31-321-###-###",cc:"NL",cd:"Netherlands",city:"Dronten"},{mask:"+31-33-###-####",cc:"NL",cd:"Netherlands",city:"Amersfoort"},{mask:"+31-341-###-###",cc:"NL",cd:"Netherlands",city:"Harderwijk"},{mask:"+31-342-###-###",cc:"NL",cd:"Netherlands",city:"Barneveld"},{mask:"+31-343-###-###",cc:"NL",cd:"Netherlands",city:"Doorn"},{mask:"+31-344-###-###",cc:"NL",cd:"Netherlands",city:"Tiel"},{mask:"+31-294-###-###",cc:"NL",cd:"Netherlands",city:"Weesp"},{mask:"+31-297-###-###",cc:"NL",cd:"Netherlands",city:"Uithoorn"},{mask:"+31-299-###-###",cc:"NL",cd:"Netherlands",city:"Purmerend"},{mask:"+31-30-###-####",cc:"NL",cd:"Netherlands",city:"Utrecht"},{mask:"+31-313-###-###",cc:"NL",cd:"Netherlands",city:"Dieren"},{mask:"+31-314-###-###",cc:"NL",cd:"Netherlands",city:"Doetinchem"},{mask:"+31-315-###-###",cc:"NL",cd:"Netherlands",city:"Terborg"},{mask:"+31-316-###-###",cc:"NL",cd:"Netherlands",city:"Zevenaar"},{mask:"+31-317-###-###",cc:"NL",cd:"Netherlands",city:"Wageningen"},{mask:"+31-318-###-###",cc:"NL",cd:"Netherlands",city:"Ede"},{mask:"+31-320-###-###",cc:"NL",cd:"Netherlands",city:"Lelystad"},{mask:"+31-321-###-###",cc:"NL",cd:"Netherlands",city:"Dronten"},{mask:"+31-33-###-####",cc:"NL",cd:"Netherlands",city:"Amersfoort"},{mask:"+31-341-###-###",cc:"NL",cd:"Netherlands",city:"Harderwijk"},{mask:"+31-342-###-###",cc:"NL",cd:"Netherlands",city:"Barneveld"},{mask:"+31-343-###-###",cc:"NL",cd:"Netherlands",city:"Doorn"},{mask:"+31-344-###-###",cc:"NL",cd:"Netherlands",city:"Tiel"},{mask:"+31-345-###-###",cc:"NL",cd:"Netherlands",city:"Culemborg"},{mask:"+31-346-###-###",cc:"NL",cd:"Netherlands",city:"Maarssen"},{mask:"+31-347-###-###",cc:"NL",cd:"Netherlands",city:"Vianen"},{mask:"+31-348-###-###",cc:"NL",cd:"Netherlands",city:"Woerden"},{mask:"+31-35-###-####",cc:"NL",cd:"Netherlands",city:"Hilversum"},{mask:"+31-36-###-####",cc:"NL",cd:"Netherlands",city:"Almere"},{mask:"+31-38-###-####",cc:"NL",cd:"Netherlands",city:"Zwolle"},{mask:"+31-40-###-####",cc:"NL",cd:"Netherlands",city:"Eindhoven"},{mask:"+31-411-###-###",cc:"NL",cd:"Netherlands",city:"Boxtel"},{mask:"+31-412-###-###",cc:"NL",cd:"Netherlands",city:"Oss"},{mask:"+31-413-###-###",cc:"NL",cd:"Netherlands",city:"Veghel"},{mask:"+31-416-###-###",cc:"NL",cd:"Netherlands",city:"Waalwijk"},{mask:"+31-418-###-###",cc:"NL",cd:"Netherlands",city:"Zaltbommel"},{mask:"+31-43-###-####",cc:"NL",cd:"Netherlands",city:"Maastricht"},{mask:"+31-45-###-####",cc:"NL",cd:"Netherlands",city:"Heerlen"},{mask:"+31-46-###-####",cc:"NL",cd:"Netherlands",city:"Sittard"},{mask:"+31-475-###-###",cc:"NL",cd:"Netherlands",city:"Roermond"},{mask:"+31-478-###-###",cc:"NL",cd:"Netherlands",city:"Venray"},{mask:"+31-481-###-###",cc:"NL",cd:"Netherlands",city:"Bemmel"},{mask:"+31-485-###-###",cc:"NL",cd:"Netherlands",city:"Cuijk"},{mask:"+31-486-###-###",cc:"NL",cd:"Netherlands",city:"Grave"},{mask:"+31-487-###-###",cc:"NL",cd:"Netherlands",city:"Druten"},{mask:"+31-488-###-###",cc:"NL",cd:"Netherlands",city:"Zetten"},{mask:"+31-492-###-###",cc:"NL",cd:"Netherlands",city:"Helmond"},{mask:"+31-493-###-###",cc:"NL",cd:"Netherlands",city:"Deurne"},{mask:"+31-495-###-###",cc:"NL",cd:"Netherlands",city:"Weert"},{mask:"+31-497-###-###",cc:"NL",cd:"Netherlands",city:"Eersel"},{mask:"+31-499-###-###",cc:"NL",cd:"Netherlands",city:"Best"},{mask:"+31-50-###-####",cc:"NL",cd:"Netherlands",city:"Groningen"},{mask:"+31-511-###-###",cc:"NL",cd:"Netherlands",city:"Feanw�lden"},{mask:"+31-512-###-###",cc:"NL",cd:"Netherlands",city:"Drachten"},{mask:"+31-513-###-###",cc:"NL",cd:"Netherlands",city:"Heerenveen"},{mask:"+31-514-###-###",cc:"NL",cd:"Netherlands",city:"Balk"},{mask:"+31-515-###-###",cc:"NL",cd:"Netherlands",city:"Sneek"},{mask:"+31-516-###-###",cc:"NL",cd:"Netherlands",city:"Oosterwolde"},{mask:"+31-517-###-###",cc:"NL",cd:"Netherlands",city:"Franeker"},{mask:"+31-518-###-###",cc:"NL",cd:"Netherlands",city:"St Annaparochie"},{mask:"+31-519-###-###",cc:"NL",cd:"Netherlands",city:"Dokkum"},{mask:"+31-521-###-###",cc:"NL",cd:"Netherlands",city:"Steenwijk"},{mask:"+31-522-###-###",cc:"NL",cd:"Netherlands",city:"Meppel"},{mask:"+31-523-###-###",cc:"NL",cd:"Netherlands",city:"Dedemsvaart"},{mask:"+31-524-###-###",cc:"NL",cd:"Netherlands",city:"Coevorden"},{mask:"+31-525-###-###",cc:"NL",cd:"Netherlands",city:"Elburg"},{mask:"+31-527-###-###",cc:"NL",cd:"Netherlands",city:"Emmeloord"},{mask:"+31-528-###-###",cc:"NL",cd:"Netherlands",city:"Hoogeveen"},{mask:"+31-529-###-###",cc:"NL",cd:"Netherlands",city:"Ommen"},{mask:"+31-53-###-####",cc:"NL",cd:"Netherlands",city:"Enschede"},{mask:"+31-541-###-###",cc:"NL",cd:"Netherlands",city:"Oldenzaal"},{mask:"+31-543-###-###",cc:"NL",cd:"Netherlands",city:"Winterswijk"},{mask:"+31-544-###-###",cc:"NL",cd:"Netherlands",city:"Groenlo"},{mask:"+31-545-###-###",cc:"NL",cd:"Netherlands",city:"Neede"},{mask:"+31-546-###-###",cc:"NL",cd:"Netherlands",city:"Almelo"},{mask:"+31-547-###-###",cc:"NL",cd:"Netherlands",city:"Goor"},{mask:"+31-548-###-###",cc:"NL",cd:"Netherlands",city:"Rijssen"},{mask:"+31-55-###-####",cc:"NL",cd:"Netherlands",city:"Apeldoorn"},{mask:"+31-561-###-###",cc:"NL",cd:"Netherlands",city:"Wolvega"},{mask:"+31-562-###-###",cc:"NL",cd:"Netherlands",city:"West-Terschelling"},{mask:"+31-566-###-###",cc:"NL",cd:"Netherlands",city:"Jirnsum"},{mask:"+31-570-###-###",cc:"NL",cd:"Netherlands",city:"Deventer"},{mask:"+31-571-###-###",cc:"NL",cd:"Netherlands",city:"Twello"},{mask:"+31-572-###-###",cc:"NL",cd:"Netherlands",city:"Raalte"},{mask:"+31-573-###-###",cc:"NL",cd:"Netherlands",city:"Lochem"},{mask:"+31-575-###-###",cc:"NL",cd:"Netherlands",city:"Zutphen"},{mask:"+31-577-###-###",cc:"NL",cd:"Netherlands",city:"Uddel"},{mask:"+31-578-###-###",cc:"NL",cd:"Netherlands",city:"Epe"},{mask:"+31-58-###-####",cc:"NL",cd:"Netherlands",city:"Leeuwarden"},{mask:"+31-591-###-###",cc:"NL",cd:"Netherlands",city:"Emmen"},{mask:"+31-592-###-###",cc:"NL",cd:"Netherlands",city:"Assen"},{mask:"+31-593-###-###",cc:"NL",cd:"Netherlands",city:"Beilen"},{mask:"+31-594-###-###",cc:"NL",cd:"Netherlands",city:"Zuidhorn"},{mask:"+31-595-###-###",cc:"NL",cd:"Netherlands",city:"Warffum"},{mask:"+31-596-###-###",cc:"NL",cd:"Netherlands",city:"Appingedam"},{mask:"+31-597-###-###",cc:"NL",cd:"Netherlands",city:"Winschoten"},{mask:"+31-598-###-###",cc:"NL",cd:"Netherlands",city:"Hoogezand"},{mask:"+31-599-###-###",cc:"NL",cd:"Netherlands",city:"Stadskanaal"},{mask:"+31-70-###-####",cc:"NL",cd:"Netherlands",city:"Den Haag"},{mask:"+31-71-###-####",cc:"NL",cd:"Netherlands",city:"Leiden"},{mask:"+31-72-###-####",cc:"NL",cd:"Netherlands",city:"Alkmaar"},{mask:"+31-73-###-####",cc:"NL",cd:"Netherlands",city:"'s-Hertogenbosch"},{mask:"+31-74-###-####",cc:"NL",cd:"Netherlands",city:"Hengelo"},{mask:"+31-75-###-####",cc:"NL",cd:"Netherlands",city:"Zaandam"},{mask:"+31-76-###-####",cc:"NL",cd:"Netherlands",city:"Breda"},{mask:"+31-77-###-####",cc:"NL",cd:"Netherlands",city:"Venlo"},{mask:"+31-78-###-####",cc:"NL",cd:"Netherlands",city:"Dordrecht"},{mask:"+31-79-###-####",cc:"NL",cd:"Netherlands",city:"Zoetermeer"},{mask:"+31-61-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-62-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-63-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-64-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-65-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-68-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-69-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-66-###-####",cc:"NL",cd:"Netherlands",city:"Semafonie"},{mask:"+31-670-###-###",cc:"NL",cd:"Netherlands",city:"Videotex"},{mask:"+31-671-###-###",cc:"NL",cd:"Netherlands",city:"Videotex"},{mask:"+31-672-###-###",cc:"NL",cd:"Netherlands",city:"Videotex"},{mask:"+31-673-###-###",cc:"NL",cd:"Netherlands",city:"Videotex"},{mask:"+31-674-###-###",cc:"NL",cd:"Netherlands",city:"Videotex"},{mask:"+31-675-###-###",cc:"NL",cd:"Netherlands",city:"Videotex"},{mask:"+31-676-###-###",cc:"NL",cd:"Netherlands",city:"Inbelnummers van internetproviders"},{mask:"+31-800-###-###",cc:"NL",cd:"Netherlands",city:"Gratis informatienummers"},{mask:"+31-82-###-####",cc:"NL",cd:"Netherlands",city:"Virtual Private Network"},{mask:"+31-88-###-####",cc:"NL",cd:"Netherlands",city:"Bedrijfsnummers"},{mask:"+31-900-###-###",cc:"NL",cd:"Netherlands",city:"Betaalde informatienummers"},{mask:"+31-906-###-###",cc:"NL",cd:"Netherlands",city:"Betaalde informatienummers"},{mask:"+31-909-###-###",cc:"NL",cd:"Netherlands",city:"Betaalde informatienummers"},{mask:"+31-91-###-####",cc:"NL",cd:"Netherlands",city:"Plaatsonafhankelijk netnummer, geschikt voor beeldtelefonie of lijnen met verhoogde kwaliteit"}]}}),c}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.52 | ||
* Version: 4.0.0-beta.54 | ||
*/ | ||
!function(c){"function"==typeof define&&define.amd?define(["../inputmask"],c):"object"==typeof exports?module.exports=c(require("../inputmask")):c(window.Inputmask)}(function(c){return c.extendAliases({phone:{alias:"abstractphone",phoneCodes:[{mask:"+247-####",cc:"AC",cd:"Ascension",desc_en:"",name_ru:"Остров Вознесения",desc_ru:""},{mask:"+376-###-###",cc:"AD",cd:"Andorra",desc_en:"",name_ru:"Андорра",desc_ru:""},{mask:"+971-5#-###-####",cc:"AE",cd:"United Arab Emirates",desc_en:"mobile",name_ru:"Объединенные Арабские Эмираты",desc_ru:"мобильные"},{mask:"+971-#-###-####",cc:"AE",cd:"United Arab Emirates",desc_en:"",name_ru:"Объединенные Арабские Эмираты",desc_ru:""},{mask:"+93-##-###-####",cc:"AF",cd:"Afghanistan",desc_en:"",name_ru:"Афганистан",desc_ru:""},{mask:"+1(268)###-####",cc:"AG",cd:"Antigua & Barbuda",desc_en:"",name_ru:"Антигуа и Барбуда",desc_ru:""},{mask:"+1(264)###-####",cc:"AI",cd:"Anguilla",desc_en:"",name_ru:"Ангилья",desc_ru:""},{mask:"+355(###)###-###",cc:"AL",cd:"Albania",desc_en:"",name_ru:"Албания",desc_ru:""},{mask:"+374-##-###-###",cc:"AM",cd:"Armenia",desc_en:"",name_ru:"Армения",desc_ru:""},{mask:"+599-###-####",cc:"AN",cd:"Caribbean Netherlands",desc_en:"",name_ru:"Карибские Нидерланды",desc_ru:""},{mask:"+599-###-####",cc:"AN",cd:"Netherlands Antilles",desc_en:"",name_ru:"Нидерландские Антильские острова",desc_ru:""},{mask:"+599-9###-####",cc:"AN",cd:"Netherlands Antilles",desc_en:"Curacao",name_ru:"Нидерландские Антильские острова",desc_ru:"Кюрасао"},{mask:"+244(###)###-###",cc:"AO",cd:"Angola",desc_en:"",name_ru:"Ангола",desc_ru:""},{mask:"+672-1##-###",cc:"AQ",cd:"Australian bases in Antarctica",desc_en:"",name_ru:"Австралийская антарктическая база",desc_ru:""},{mask:"+54(###)###-####",cc:"AR",cd:"Argentina",desc_en:"",name_ru:"Аргентина",desc_ru:""},{mask:"+1(684)###-####",cc:"AS",cd:"American Samoa",desc_en:"",name_ru:"Американское Самоа",desc_ru:""},{mask:"+43(###)###-####",cc:"AT",cd:"Austria",desc_en:"",name_ru:"Австрия",desc_ru:""},{mask:"+61-#-####-####",cc:"AU",cd:"Australia",desc_en:"",name_ru:"Австралия",desc_ru:""},{mask:"+297-###-####",cc:"AW",cd:"Aruba",desc_en:"",name_ru:"Аруба",desc_ru:""},{mask:"+994-##-###-##-##",cc:"AZ",cd:"Azerbaijan",desc_en:"",name_ru:"Азербайджан",desc_ru:""},{mask:"+387-##-#####",cc:"BA",cd:"Bosnia and Herzegovina",desc_en:"",name_ru:"Босния и Герцеговина",desc_ru:""},{mask:"+387-##-####",cc:"BA",cd:"Bosnia and Herzegovina",desc_en:"",name_ru:"Босния и Герцеговина",desc_ru:""},{mask:"+1(246)###-####",cc:"BB",cd:"Barbados",desc_en:"",name_ru:"Барбадос",desc_ru:""},{mask:"+880-##-###-###",cc:"BD",cd:"Bangladesh",desc_en:"",name_ru:"Бангладеш",desc_ru:""},{mask:"+32(###)###-###",cc:"BE",cd:"Belgium",desc_en:"",name_ru:"Бельгия",desc_ru:""},{mask:"+226-##-##-####",cc:"BF",cd:"Burkina Faso",desc_en:"",name_ru:"Буркина Фасо",desc_ru:""},{mask:"+359(###)###-###",cc:"BG",cd:"Bulgaria",desc_en:"",name_ru:"Болгария",desc_ru:""},{mask:"+973-####-####",cc:"BH",cd:"Bahrain",desc_en:"",name_ru:"Бахрейн",desc_ru:""},{mask:"+257-##-##-####",cc:"BI",cd:"Burundi",desc_en:"",name_ru:"Бурунди",desc_ru:""},{mask:"+229-##-##-####",cc:"BJ",cd:"Benin",desc_en:"",name_ru:"Бенин",desc_ru:""},{mask:"+1(441)###-####",cc:"BM",cd:"Bermuda",desc_en:"",name_ru:"Бермудские острова",desc_ru:""},{mask:"+673-###-####",cc:"BN",cd:"Brunei Darussalam",desc_en:"",name_ru:"Бруней-Даруссалам",desc_ru:""},{mask:"+591-#-###-####",cc:"BO",cd:"Bolivia",desc_en:"",name_ru:"Боливия",desc_ru:""},{mask:"+55-##-####-####",cc:"BR",cd:"Brazil",desc_en:"",name_ru:"Бразилия",desc_ru:""},{mask:"+55-##-#####-####",cc:"BR",cd:"Brazil",desc_en:"",name_ru:"Бразилия",desc_ru:""},{mask:"+1(242)###-####",cc:"BS",cd:"Bahamas",desc_en:"",name_ru:"Багамские Острова",desc_ru:""},{mask:"+975-17-###-###",cc:"BT",cd:"Bhutan",desc_en:"",name_ru:"Бутан",desc_ru:""},{mask:"+975-#-###-###",cc:"BT",cd:"Bhutan",desc_en:"",name_ru:"Бутан",desc_ru:""},{mask:"+267-##-###-###",cc:"BW",cd:"Botswana",desc_en:"",name_ru:"Ботсвана",desc_ru:""},{mask:"+375(##)###-##-##",cc:"BY",cd:"Belarus",desc_en:"",name_ru:"Беларусь (Белоруссия)",desc_ru:""},{mask:"+501-###-####",cc:"BZ",cd:"Belize",desc_en:"",name_ru:"Белиз",desc_ru:""},{mask:"+243(###)###-###",cc:"CD",cd:"Dem. Rep. Congo",desc_en:"",name_ru:"Дем. Респ. Конго (Киншаса)",desc_ru:""},{mask:"+236-##-##-####",cc:"CF",cd:"Central African Republic",desc_en:"",name_ru:"Центральноафриканская Республика",desc_ru:""},{mask:"+242-##-###-####",cc:"CG",cd:"Congo (Brazzaville)",desc_en:"",name_ru:"Конго (Браззавиль)",desc_ru:""},{mask:"+41-##-###-####",cc:"CH",cd:"Switzerland",desc_en:"",name_ru:"Швейцария",desc_ru:""},{mask:"+225-##-###-###",cc:"CI",cd:"Cote d’Ivoire (Ivory Coast)",desc_en:"",name_ru:"Кот-д’Ивуар",desc_ru:""},{mask:"+682-##-###",cc:"CK",cd:"Cook Islands",desc_en:"",name_ru:"Острова Кука",desc_ru:""},{mask:"+56-#-####-####",cc:"CL",cd:"Chile",desc_en:"",name_ru:"Чили",desc_ru:""},{mask:"+237-####-####",cc:"CM",cd:"Cameroon",desc_en:"",name_ru:"Камерун",desc_ru:""},{mask:"+86(###)####-####",cc:"CN",cd:"China (PRC)",desc_en:"",name_ru:"Китайская Н.Р.",desc_ru:""},{mask:"+86(###)####-###",cc:"CN",cd:"China (PRC)",desc_en:"",name_ru:"Китайская Н.Р.",desc_ru:""},{mask:"+86-##-#####-#####",cc:"CN",cd:"China (PRC)",desc_en:"",name_ru:"Китайская Н.Р.",desc_ru:""},{mask:"+57(###)###-####",cc:"CO",cd:"Colombia",desc_en:"",name_ru:"Колумбия",desc_ru:""},{mask:"+506-####-####",cc:"CR",cd:"Costa Rica",desc_en:"",name_ru:"Коста-Рика",desc_ru:""},{mask:"+53-#-###-####",cc:"CU",cd:"Cuba",desc_en:"",name_ru:"Куба",desc_ru:""},{mask:"+238(###)##-##",cc:"CV",cd:"Cape Verde",desc_en:"",name_ru:"Кабо-Верде",desc_ru:""},{mask:"+599-###-####",cc:"CW",cd:"Curacao",desc_en:"",name_ru:"Кюрасао",desc_ru:""},{mask:"+357-##-###-###",cc:"CY",cd:"Cyprus",desc_en:"",name_ru:"Кипр",desc_ru:""},{mask:"+420(###)###-###",cc:"CZ",cd:"Czech Republic",desc_en:"",name_ru:"Чехия",desc_ru:""},{mask:"+49(####)###-####",cc:"DE",cd:"Germany",desc_en:"",name_ru:"Германия",desc_ru:""},{mask:"+49(###)###-####",cc:"DE",cd:"Germany",desc_en:"",name_ru:"Германия",desc_ru:""},{mask:"+49(###)##-####",cc:"DE",cd:"Germany",desc_en:"",name_ru:"Германия",desc_ru:""},{mask:"+49(###)##-###",cc:"DE",cd:"Germany",desc_en:"",name_ru:"Германия",desc_ru:""},{mask:"+49(###)##-##",cc:"DE",cd:"Germany",desc_en:"",name_ru:"Германия",desc_ru:""},{mask:"+49-###-###",cc:"DE",cd:"Germany",desc_en:"",name_ru:"Германия",desc_ru:""},{mask:"+253-##-##-##-##",cc:"DJ",cd:"Djibouti",desc_en:"",name_ru:"Джибути",desc_ru:""},{mask:"+45-##-##-##-##",cc:"DK",cd:"Denmark",desc_en:"",name_ru:"Дания",desc_ru:""},{mask:"+1(767)###-####",cc:"DM",cd:"Dominica",desc_en:"",name_ru:"Доминика",desc_ru:""},{mask:"+1(809)###-####",cc:"DO",cd:"Dominican Republic",desc_en:"",name_ru:"Доминиканская Республика",desc_ru:""},{mask:"+1(829)###-####",cc:"DO",cd:"Dominican Republic",desc_en:"",name_ru:"Доминиканская Республика",desc_ru:""},{mask:"+1(849)###-####",cc:"DO",cd:"Dominican Republic",desc_en:"",name_ru:"Доминиканская Республика",desc_ru:""},{mask:"+213-##-###-####",cc:"DZ",cd:"Algeria",desc_en:"",name_ru:"Алжир",desc_ru:""},{mask:"+593-##-###-####",cc:"EC",cd:"Ecuador ",desc_en:"mobile",name_ru:"Эквадор ",desc_ru:"мобильные"},{mask:"+593-#-###-####",cc:"EC",cd:"Ecuador",desc_en:"",name_ru:"Эквадор",desc_ru:""},{mask:"+372-####-####",cc:"EE",cd:"Estonia ",desc_en:"mobile",name_ru:"Эстония ",desc_ru:"мобильные"},{mask:"+372-###-####",cc:"EE",cd:"Estonia",desc_en:"",name_ru:"Эстония",desc_ru:""},{mask:"+20(###)###-####",cc:"EG",cd:"Egypt",desc_en:"",name_ru:"Египет",desc_ru:""},{mask:"+291-#-###-###",cc:"ER",cd:"Eritrea",desc_en:"",name_ru:"Эритрея",desc_ru:""},{mask:"+34(###)###-###",cc:"ES",cd:"Spain",desc_en:"",name_ru:"Испания",desc_ru:""},{mask:"+251-##-###-####",cc:"ET",cd:"Ethiopia",desc_en:"",name_ru:"Эфиопия",desc_ru:""},{mask:"+358(###)###-##-##",cc:"FI",cd:"Finland",desc_en:"",name_ru:"Финляндия",desc_ru:""},{mask:"+679-##-#####",cc:"FJ",cd:"Fiji",desc_en:"",name_ru:"Фиджи",desc_ru:""},{mask:"+500-#####",cc:"FK",cd:"Falkland Islands",desc_en:"",name_ru:"Фолклендские острова",desc_ru:""},{mask:"+691-###-####",cc:"FM",cd:"F.S. Micronesia",desc_en:"",name_ru:"Ф.Ш. Микронезии",desc_ru:""},{mask:"+298-###-###",cc:"FO",cd:"Faroe Islands",desc_en:"",name_ru:"Фарерские острова",desc_ru:""},{mask:"+262-#####-####",cc:"FR",cd:"Mayotte",desc_en:"",name_ru:"Майотта",desc_ru:""},{mask:"+33(###)###-###",cc:"FR",cd:"France",desc_en:"",name_ru:"Франция",desc_ru:""},{mask:"+508-##-####",cc:"FR",cd:"St Pierre & Miquelon",desc_en:"",name_ru:"Сен-Пьер и Микелон",desc_ru:""},{mask:"+590(###)###-###",cc:"FR",cd:"Guadeloupe",desc_en:"",name_ru:"Гваделупа",desc_ru:""},{mask:"+241-#-##-##-##",cc:"GA",cd:"Gabon",desc_en:"",name_ru:"Габон",desc_ru:""},{mask:"+1(473)###-####",cc:"GD",cd:"Grenada",desc_en:"",name_ru:"Гренада",desc_ru:""},{mask:"+995(###)###-###",cc:"GE",cd:"Rep. of Georgia",desc_en:"",name_ru:"Грузия",desc_ru:""},{mask:"+594-#####-####",cc:"GF",cd:"Guiana (French)",desc_en:"",name_ru:"Фр. Гвиана",desc_ru:""},{mask:"+233(###)###-###",cc:"GH",cd:"Ghana",desc_en:"",name_ru:"Гана",desc_ru:""},{mask:"+350-###-#####",cc:"GI",cd:"Gibraltar",desc_en:"",name_ru:"Гибралтар",desc_ru:""},{mask:"+299-##-##-##",cc:"GL",cd:"Greenland",desc_en:"",name_ru:"Гренландия",desc_ru:""},{mask:"+220(###)##-##",cc:"GM",cd:"Gambia",desc_en:"",name_ru:"Гамбия",desc_ru:""},{mask:"+224-##-###-###",cc:"GN",cd:"Guinea",desc_en:"",name_ru:"Гвинея",desc_ru:""},{mask:"+240-##-###-####",cc:"GQ",cd:"Equatorial Guinea",desc_en:"",name_ru:"Экваториальная Гвинея",desc_ru:""},{mask:"+30(###)###-####",cc:"GR",cd:"Greece",desc_en:"",name_ru:"Греция",desc_ru:""},{mask:"+502-#-###-####",cc:"GT",cd:"Guatemala",desc_en:"",name_ru:"Гватемала",desc_ru:""},{mask:"+1(671)###-####",cc:"GU",cd:"Guam",desc_en:"",name_ru:"Гуам",desc_ru:""},{mask:"+245-#-######",cc:"GW",cd:"Guinea-Bissau",desc_en:"",name_ru:"Гвинея-Бисау",desc_ru:""},{mask:"+592-###-####",cc:"GY",cd:"Guyana",desc_en:"",name_ru:"Гайана",desc_ru:""},{mask:"+852-####-####",cc:"HK",cd:"Hong Kong",desc_en:"",name_ru:"Гонконг",desc_ru:""},{mask:"+504-####-####",cc:"HN",cd:"Honduras",desc_en:"",name_ru:"Гондурас",desc_ru:""},{mask:"+385-(##)-###-###",cc:"HR",cd:"Croatia",desc_en:"",name_ru:"Хорватия",desc_ru:""},{mask:"+385-(##)-###-####",cc:"HR",cd:"Croatia",desc_en:"",name_ru:"Хорватия",desc_ru:""},{mask:"+385-1-####-###",cc:"HR",cd:"Croatia",desc_en:"",name_ru:"Хорватия",desc_ru:""},{mask:"+509-##-##-####",cc:"HT",cd:"Haiti",desc_en:"",name_ru:"Гаити",desc_ru:""},{mask:"+36(###)###-###",cc:"HU",cd:"Hungary",desc_en:"",name_ru:"Венгрия",desc_ru:""},{mask:"+62(8##)###-####",cc:"ID",cd:"Indonesia ",desc_en:"mobile",name_ru:"Индонезия ",desc_ru:"мобильные"},{mask:"+62-##-###-##",cc:"ID",cd:"Indonesia",desc_en:"",name_ru:"Индонезия",desc_ru:""},{mask:"+62-##-###-###",cc:"ID",cd:"Indonesia",desc_en:"",name_ru:"Индонезия",desc_ru:""},{mask:"+62-##-###-####",cc:"ID",cd:"Indonesia",desc_en:"",name_ru:"Индонезия",desc_ru:""},{mask:"+62(8##)###-###",cc:"ID",cd:"Indonesia ",desc_en:"mobile",name_ru:"Индонезия ",desc_ru:"мобильные"},{mask:"+62(8##)###-##-###",cc:"ID",cd:"Indonesia ",desc_en:"mobile",name_ru:"Индонезия ",desc_ru:"мобильные"},{mask:"+353(###)###-###",cc:"IE",cd:"Ireland",desc_en:"",name_ru:"Ирландия",desc_ru:""},{mask:"+972-5#-###-####",cc:"IL",cd:"Israel ",desc_en:"mobile",name_ru:"Израиль ",desc_ru:"мобильные"},{mask:"+972-#-###-####",cc:"IL",cd:"Israel",desc_en:"",name_ru:"Израиль",desc_ru:""},{mask:"+91(####)###-###",cc:"IN",cd:"India",desc_en:"",name_ru:"Индия",desc_ru:""},{mask:"+246-###-####",cc:"IO",cd:"Diego Garcia",desc_en:"",name_ru:"Диего-Гарсия",desc_ru:""},{mask:"+964(###)###-####",cc:"IQ",cd:"Iraq",desc_en:"",name_ru:"Ирак",desc_ru:""},{mask:"+98(###)###-####",cc:"IR",cd:"Iran",desc_en:"",name_ru:"Иран",desc_ru:""},{mask:"+354-###-####",cc:"IS",cd:"Iceland",desc_en:"",name_ru:"Исландия",desc_ru:""},{mask:"+39(0##)####-##-##",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(0##)####-###",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(0##)###-###",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(0##)##-###",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(0##)##-##",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(0#)##-##",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(3##)###-##-##",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(3##)##-##-##",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+1(876)###-####",cc:"JM",cd:"Jamaica",desc_en:"",name_ru:"Ямайка",desc_ru:""},{mask:"+962-#-####-####",cc:"JO",cd:"Jordan",desc_en:"",name_ru:"Иордания",desc_ru:""},{mask:"+81-##-####-####",cc:"JP",cd:"Japan ",desc_en:"mobile",name_ru:"Япония ",desc_ru:"мобильные"},{mask:"+81(###)###-###",cc:"JP",cd:"Japan",desc_en:"",name_ru:"Япония",desc_ru:""},{mask:"+254-###-######",cc:"KE",cd:"Kenya",desc_en:"",name_ru:"Кения",desc_ru:""},{mask:"+996(###)###-###",cc:"KG",cd:"Kyrgyzstan",desc_en:"",name_ru:"Киргизия",desc_ru:""},{mask:"+855-##-###-###",cc:"KH",cd:"Cambodia",desc_en:"",name_ru:"Камбоджа",desc_ru:""},{mask:"+686-##-###",cc:"KI",cd:"Kiribati",desc_en:"",name_ru:"Кирибати",desc_ru:""},{mask:"+269-##-#####",cc:"KM",cd:"Comoros",desc_en:"",name_ru:"Коморы",desc_ru:""},{mask:"+1(869)###-####",cc:"KN",cd:"Saint Kitts & Nevis",desc_en:"",name_ru:"Сент-Китс и Невис",desc_ru:""},{mask:"+850-191-###-####",cc:"KP",cd:"DPR Korea (North) ",desc_en:"mobile",name_ru:"Корейская НДР ",desc_ru:"мобильные"},{mask:"+850-##-###-###",cc:"KP",cd:"DPR Korea (North)",desc_en:"",name_ru:"Корейская НДР",desc_ru:""},{mask:"+850-###-####-###",cc:"KP",cd:"DPR Korea (North)",desc_en:"",name_ru:"Корейская НДР",desc_ru:""},{mask:"+850-###-###",cc:"KP",cd:"DPR Korea (North)",desc_en:"",name_ru:"Корейская НДР",desc_ru:""},{mask:"+850-####-####",cc:"KP",cd:"DPR Korea (North)",desc_en:"",name_ru:"Корейская НДР",desc_ru:""},{mask:"+850-####-#############",cc:"KP",cd:"DPR Korea (North)",desc_en:"",name_ru:"Корейская НДР",desc_ru:""},{mask:"+82-##-###-####",cc:"KR",cd:"Korea (South)",desc_en:"",name_ru:"Респ. Корея",desc_ru:""},{mask:"+965-####-####",cc:"KW",cd:"Kuwait",desc_en:"",name_ru:"Кувейт",desc_ru:""},{mask:"+1(345)###-####",cc:"KY",cd:"Cayman Islands",desc_en:"",name_ru:"Каймановы острова",desc_ru:""},{mask:"+7(6##)###-##-##",cc:"KZ",cd:"Kazakhstan",desc_en:"",name_ru:"Казахстан",desc_ru:""},{mask:"+7(7##)###-##-##",cc:"KZ",cd:"Kazakhstan",desc_en:"",name_ru:"Казахстан",desc_ru:""},{mask:"+856(20##)###-###",cc:"LA",cd:"Laos ",desc_en:"mobile",name_ru:"Лаос ",desc_ru:"мобильные"},{mask:"+856-##-###-###",cc:"LA",cd:"Laos",desc_en:"",name_ru:"Лаос",desc_ru:""},{mask:"+961-##-###-###",cc:"LB",cd:"Lebanon ",desc_en:"mobile",name_ru:"Ливан ",desc_ru:"мобильные"},{mask:"+961-#-###-###",cc:"LB",cd:"Lebanon",desc_en:"",name_ru:"Ливан",desc_ru:""},{mask:"+1(758)###-####",cc:"LC",cd:"Saint Lucia",desc_en:"",name_ru:"Сент-Люсия",desc_ru:""},{mask:"+423(###)###-####",cc:"LI",cd:"Liechtenstein",desc_en:"",name_ru:"Лихтенштейн",desc_ru:""},{mask:"+94-##-###-####",cc:"LK",cd:"Sri Lanka",desc_en:"",name_ru:"Шри-Ланка",desc_ru:""},{mask:"+231-##-###-###",cc:"LR",cd:"Liberia",desc_en:"",name_ru:"Либерия",desc_ru:""},{mask:"+266-#-###-####",cc:"LS",cd:"Lesotho",desc_en:"",name_ru:"Лесото",desc_ru:""},{mask:"+370(###)##-###",cc:"LT",cd:"Lithuania",desc_en:"",name_ru:"Литва",desc_ru:""},{mask:"+352-###-###",cc:"LU",cd:"Luxembourg",desc_en:"",name_ru:"Люксембург",desc_ru:""},{mask:"+352-####-###",cc:"LU",cd:"Luxembourg",desc_en:"",name_ru:"Люксембург",desc_ru:""},{mask:"+352-#####-###",cc:"LU",cd:"Luxembourg",desc_en:"",name_ru:"Люксембург",desc_ru:""},{mask:"+352-######-###",cc:"LU",cd:"Luxembourg",desc_en:"",name_ru:"Люксембург",desc_ru:""},{mask:"+371-##-###-###",cc:"LV",cd:"Latvia",desc_en:"",name_ru:"Латвия",desc_ru:""},{mask:"+218-##-###-###",cc:"LY",cd:"Libya",desc_en:"",name_ru:"Ливия",desc_ru:""},{mask:"+218-21-###-####",cc:"LY",cd:"Libya",desc_en:"Tripoli",name_ru:"Ливия",desc_ru:"Триполи"},{mask:"+212-##-####-###",cc:"MA",cd:"Morocco",desc_en:"",name_ru:"Марокко",desc_ru:""},{mask:"+377(###)###-###",cc:"MC",cd:"Monaco",desc_en:"",name_ru:"Монако",desc_ru:""},{mask:"+377-##-###-###",cc:"MC",cd:"Monaco",desc_en:"",name_ru:"Монако",desc_ru:""},{mask:"+373-####-####",cc:"MD",cd:"Moldova",desc_en:"",name_ru:"Молдова",desc_ru:""},{mask:"+382-##-###-###",cc:"ME",cd:"Montenegro",desc_en:"",name_ru:"Черногория",desc_ru:""},{mask:"+261-##-##-#####",cc:"MG",cd:"Madagascar",desc_en:"",name_ru:"Мадагаскар",desc_ru:""},{mask:"+692-###-####",cc:"MH",cd:"Marshall Islands",desc_en:"",name_ru:"Маршалловы Острова",desc_ru:""},{mask:"+389-##-###-###",cc:"MK",cd:"Republic of Macedonia",desc_en:"",name_ru:"Респ. Македония",desc_ru:""},{mask:"+223-##-##-####",cc:"ML",cd:"Mali",desc_en:"",name_ru:"Мали",desc_ru:""},{mask:"+95-##-###-###",cc:"MM",cd:"Burma (Myanmar)",desc_en:"",name_ru:"Бирма (Мьянма)",desc_ru:""},{mask:"+95-#-###-###",cc:"MM",cd:"Burma (Myanmar)",desc_en:"",name_ru:"Бирма (Мьянма)",desc_ru:""},{mask:"+95-###-###",cc:"MM",cd:"Burma (Myanmar)",desc_en:"",name_ru:"Бирма (Мьянма)",desc_ru:""},{mask:"+976-##-##-####",cc:"MN",cd:"Mongolia",desc_en:"",name_ru:"Монголия",desc_ru:""},{mask:"+853-####-####",cc:"MO",cd:"Macau",desc_en:"",name_ru:"Макао",desc_ru:""},{mask:"+1(670)###-####",cc:"MP",cd:"Northern Mariana Islands",desc_en:"",name_ru:"Северные Марианские острова Сайпан",desc_ru:""},{mask:"+596(###)##-##-##",cc:"MQ",cd:"Martinique",desc_en:"",name_ru:"Мартиника",desc_ru:""},{mask:"+222-##-##-####",cc:"MR",cd:"Mauritania",desc_en:"",name_ru:"Мавритания",desc_ru:""},{mask:"+1(664)###-####",cc:"MS",cd:"Montserrat",desc_en:"",name_ru:"Монтсеррат",desc_ru:""},{mask:"+356-####-####",cc:"MT",cd:"Malta",desc_en:"",name_ru:"Мальта",desc_ru:""},{mask:"+230-###-####",cc:"MU",cd:"Mauritius",desc_en:"",name_ru:"Маврикий",desc_ru:""},{mask:"+960-###-####",cc:"MV",cd:"Maldives",desc_en:"",name_ru:"Мальдивские острова",desc_ru:""},{mask:"+265-1-###-###",cc:"MW",cd:"Malawi",desc_en:"Telecom Ltd",name_ru:"Малави",desc_ru:"Telecom Ltd"},{mask:"+265-#-####-####",cc:"MW",cd:"Malawi",desc_en:"",name_ru:"Малави",desc_ru:""},{mask:"+52(###)###-####",cc:"MX",cd:"Mexico",desc_en:"",name_ru:"Мексика",desc_ru:""},{mask:"+52-##-##-####",cc:"MX",cd:"Mexico",desc_en:"",name_ru:"Мексика",desc_ru:""},{mask:"+60-##-###-####",cc:"MY",cd:"Malaysia ",desc_en:"mobile",name_ru:"Малайзия ",desc_ru:"мобильные"},{mask:"+60-11-####-####",cc:"MY",cd:"Malaysia ",desc_en:"mobile",name_ru:"Малайзия ",desc_ru:"мобильные"},{mask:"+60(###)###-###",cc:"MY",cd:"Malaysia",desc_en:"",name_ru:"Малайзия",desc_ru:""},{mask:"+60-##-###-###",cc:"MY",cd:"Malaysia",desc_en:"",name_ru:"Малайзия",desc_ru:""},{mask:"+60-#-###-###",cc:"MY",cd:"Malaysia",desc_en:"",name_ru:"Малайзия",desc_ru:""},{mask:"+258-##-###-###",cc:"MZ",cd:"Mozambique",desc_en:"",name_ru:"Мозамбик",desc_ru:""},{mask:"+264-##-###-####",cc:"NA",cd:"Namibia",desc_en:"",name_ru:"Намибия",desc_ru:""},{mask:"+687-##-####",cc:"NC",cd:"New Caledonia",desc_en:"",name_ru:"Новая Каледония",desc_ru:""},{mask:"+227-##-##-####",cc:"NE",cd:"Niger",desc_en:"",name_ru:"Нигер",desc_ru:""},{mask:"+672-3##-###",cc:"NF",cd:"Norfolk Island",desc_en:"",name_ru:"Норфолк (остров)",desc_ru:""},{mask:"+234(###)###-####",cc:"NG",cd:"Nigeria",desc_en:"",name_ru:"Нигерия",desc_ru:""},{mask:"+234-##-###-###",cc:"NG",cd:"Nigeria",desc_en:"",name_ru:"Нигерия",desc_ru:""},{mask:"+234-##-###-##",cc:"NG",cd:"Nigeria",desc_en:"",name_ru:"Нигерия",desc_ru:""},{mask:"+234(###)###-####",cc:"NG",cd:"Nigeria ",desc_en:"mobile",name_ru:"Нигерия ",desc_ru:"мобильные"},{mask:"+505-####-####",cc:"NI",cd:"Nicaragua",desc_en:"",name_ru:"Никарагуа",desc_ru:""},{mask:"+31-##-###-####",cc:"NL",cd:"Netherlands",desc_en:"",name_ru:"Нидерланды",desc_ru:""},{mask:"+47(###)##-###",cc:"NO",cd:"Norway",desc_en:"",name_ru:"Норвегия",desc_ru:""},{mask:"+977-##-###-###",cc:"NP",cd:"Nepal",desc_en:"",name_ru:"Непал",desc_ru:""},{mask:"+674-###-####",cc:"NR",cd:"Nauru",desc_en:"",name_ru:"Науру",desc_ru:""},{mask:"+683-####",cc:"NU",cd:"Niue",desc_en:"",name_ru:"Ниуэ",desc_ru:""},{mask:"+64(###)###-###",cc:"NZ",cd:"New Zealand",desc_en:"",name_ru:"Новая Зеландия",desc_ru:""},{mask:"+64-##-###-###",cc:"NZ",cd:"New Zealand",desc_en:"",name_ru:"Новая Зеландия",desc_ru:""},{mask:"+64(###)###-####",cc:"NZ",cd:"New Zealand",desc_en:"",name_ru:"Новая Зеландия",desc_ru:""},{mask:"+968-##-###-###",cc:"OM",cd:"Oman",desc_en:"",name_ru:"Оман",desc_ru:""},{mask:"+507-###-####",cc:"PA",cd:"Panama",desc_en:"",name_ru:"Панама",desc_ru:""},{mask:"+51(###)###-###",cc:"PE",cd:"Peru",desc_en:"",name_ru:"Перу",desc_ru:""},{mask:"+689-##-##-##",cc:"PF",cd:"French Polynesia",desc_en:"",name_ru:"Французская Полинезия (Таити)",desc_ru:""},{mask:"+675(###)##-###",cc:"PG",cd:"Papua New Guinea",desc_en:"",name_ru:"Папуа-Новая Гвинея",desc_ru:""},{mask:"+63(###)###-####",cc:"PH",cd:"Philippines",desc_en:"",name_ru:"Филиппины",desc_ru:""},{mask:"+92(###)###-####",cc:"PK",cd:"Pakistan",desc_en:"",name_ru:"Пакистан",desc_ru:""},{mask:"+48(###)###-###",cc:"PL",cd:"Poland",desc_en:"",name_ru:"Польша",desc_ru:""},{mask:"+970-##-###-####",cc:"PS",cd:"Palestine",desc_en:"",name_ru:"Палестина",desc_ru:""},{mask:"+351-##-###-####",cc:"PT",cd:"Portugal",desc_en:"",name_ru:"Португалия",desc_ru:""},{mask:"+680-###-####",cc:"PW",cd:"Palau",desc_en:"",name_ru:"Палау",desc_ru:""},{mask:"+595(###)###-###",cc:"PY",cd:"Paraguay",desc_en:"",name_ru:"Парагвай",desc_ru:""},{mask:"+974-####-####",cc:"QA",cd:"Qatar",desc_en:"",name_ru:"Катар",desc_ru:""},{mask:"+262-#####-####",cc:"RE",cd:"Reunion",desc_en:"",name_ru:"Реюньон",desc_ru:""},{mask:"+40-##-###-####",cc:"RO",cd:"Romania",desc_en:"",name_ru:"Румыния",desc_ru:""},{mask:"+381-##-###-####",cc:"RS",cd:"Serbia",desc_en:"",name_ru:"Сербия",desc_ru:""},{mask:"+7(###)###-##-##",cc:"RU",cd:"Russia",desc_en:"",name_ru:"Россия",desc_ru:""},{mask:"+250(###)###-###",cc:"RW",cd:"Rwanda",desc_en:"",name_ru:"Руанда",desc_ru:""},{mask:"+966-5-####-####",cc:"SA",cd:"Saudi Arabia ",desc_en:"mobile",name_ru:"Саудовская Аравия ",desc_ru:"мобильные"},{mask:"+966-#-###-####",cc:"SA",cd:"Saudi Arabia",desc_en:"",name_ru:"Саудовская Аравия",desc_ru:""},{mask:"+677-###-####",cc:"SB",cd:"Solomon Islands ",desc_en:"mobile",name_ru:"Соломоновы Острова ",desc_ru:"мобильные"},{mask:"+677-#####",cc:"SB",cd:"Solomon Islands",desc_en:"",name_ru:"Соломоновы Острова",desc_ru:""},{mask:"+248-#-###-###",cc:"SC",cd:"Seychelles",desc_en:"",name_ru:"Сейшелы",desc_ru:""},{mask:"+249-##-###-####",cc:"SD",cd:"Sudan",desc_en:"",name_ru:"Судан",desc_ru:""},{mask:"+46-##-###-####",cc:"SE",cd:"Sweden",desc_en:"",name_ru:"Швеция",desc_ru:""},{mask:"+65-####-####",cc:"SG",cd:"Singapore",desc_en:"",name_ru:"Сингапур",desc_ru:""},{mask:"+290-####",cc:"SH",cd:"Saint Helena",desc_en:"",name_ru:"Остров Святой Елены",desc_ru:""},{mask:"+290-####",cc:"SH",cd:"Tristan da Cunha",desc_en:"",name_ru:"Тристан-да-Кунья",desc_ru:""},{mask:"+386-##-###-###",cc:"SI",cd:"Slovenia",desc_en:"",name_ru:"Словения",desc_ru:""},{mask:"+421(###)###-###",cc:"SK",cd:"Slovakia",desc_en:"",name_ru:"Словакия",desc_ru:""},{mask:"+232-##-######",cc:"SL",cd:"Sierra Leone",desc_en:"",name_ru:"Сьерра-Леоне",desc_ru:""},{mask:"+378-####-######",cc:"SM",cd:"San Marino",desc_en:"",name_ru:"Сан-Марино",desc_ru:""},{mask:"+221-##-###-####",cc:"SN",cd:"Senegal",desc_en:"",name_ru:"Сенегал",desc_ru:""},{mask:"+252-##-###-###",cc:"SO",cd:"Somalia",desc_en:"",name_ru:"Сомали",desc_ru:""},{mask:"+252-#-###-###",cc:"SO",cd:"Somalia",desc_en:"",name_ru:"Сомали",desc_ru:""},{mask:"+252-#-###-###",cc:"SO",cd:"Somalia ",desc_en:"mobile",name_ru:"Сомали ",desc_ru:"мобильные"},{mask:"+597-###-####",cc:"SR",cd:"Suriname ",desc_en:"mobile",name_ru:"Суринам ",desc_ru:"мобильные"},{mask:"+597-###-###",cc:"SR",cd:"Suriname",desc_en:"",name_ru:"Суринам",desc_ru:""},{mask:"+211-##-###-####",cc:"SS",cd:"South Sudan",desc_en:"",name_ru:"Южный Судан",desc_ru:""},{mask:"+239-##-#####",cc:"ST",cd:"Sao Tome and Principe",desc_en:"",name_ru:"Сан-Томе и Принсипи",desc_ru:""},{mask:"+503-##-##-####",cc:"SV",cd:"El Salvador",desc_en:"",name_ru:"Сальвадор",desc_ru:""},{mask:"+1(721)###-####",cc:"SX",cd:"Sint Maarten",desc_en:"",name_ru:"Синт-Маартен",desc_ru:""},{mask:"+963-##-####-###",cc:"SY",cd:"Syrian Arab Republic",desc_en:"",name_ru:"Сирийская арабская республика",desc_ru:""},{mask:"+268-##-##-####",cc:"SZ",cd:"Swaziland",desc_en:"",name_ru:"Свазиленд",desc_ru:""},{mask:"+1(649)###-####",cc:"TC",cd:"Turks & Caicos",desc_en:"",name_ru:"Тёркс и Кайкос",desc_ru:""},{mask:"+235-##-##-##-##",cc:"TD",cd:"Chad",desc_en:"",name_ru:"Чад",desc_ru:""},{mask:"+228-##-###-###",cc:"TG",cd:"Togo",desc_en:"",name_ru:"Того",desc_ru:""},{mask:"+66-##-###-####",cc:"TH",cd:"Thailand ",desc_en:"mobile",name_ru:"Таиланд ",desc_ru:"мобильные"},{mask:"+66-##-###-###",cc:"TH",cd:"Thailand",desc_en:"",name_ru:"Таиланд",desc_ru:""},{mask:"+992-##-###-####",cc:"TJ",cd:"Tajikistan",desc_en:"",name_ru:"Таджикистан",desc_ru:""},{mask:"+690-####",cc:"TK",cd:"Tokelau",desc_en:"",name_ru:"Токелау",desc_ru:""},{mask:"+670-###-####",cc:"TL",cd:"East Timor",desc_en:"",name_ru:"Восточный Тимор",desc_ru:""},{mask:"+670-77#-#####",cc:"TL",cd:"East Timor",desc_en:"Timor Telecom",name_ru:"Восточный Тимор",desc_ru:"Timor Telecom"},{mask:"+670-78#-#####",cc:"TL",cd:"East Timor",desc_en:"Timor Telecom",name_ru:"Восточный Тимор",desc_ru:"Timor Telecom"},{mask:"+993-#-###-####",cc:"TM",cd:"Turkmenistan",desc_en:"",name_ru:"Туркменистан",desc_ru:""},{mask:"+216-##-###-###",cc:"TN",cd:"Tunisia",desc_en:"",name_ru:"Тунис",desc_ru:""},{mask:"+676-#####",cc:"TO",cd:"Tonga",desc_en:"",name_ru:"Тонга",desc_ru:""},{mask:"+90(###)###-####",cc:"TR",cd:"Turkey",desc_en:"",name_ru:"Турция",desc_ru:""},{mask:"+1(868)###-####",cc:"TT",cd:"Trinidad & Tobago",desc_en:"",name_ru:"Тринидад и Тобаго",desc_ru:""},{mask:"+688-90####",cc:"TV",cd:"Tuvalu ",desc_en:"mobile",name_ru:"Тувалу ",desc_ru:"мобильные"},{mask:"+688-2####",cc:"TV",cd:"Tuvalu",desc_en:"",name_ru:"Тувалу",desc_ru:""},{mask:"+886-#-####-####",cc:"TW",cd:"Taiwan",desc_en:"",name_ru:"Тайвань",desc_ru:""},{mask:"+886-####-####",cc:"TW",cd:"Taiwan",desc_en:"",name_ru:"Тайвань",desc_ru:""},{mask:"+255-##-###-####",cc:"TZ",cd:"Tanzania",desc_en:"",name_ru:"Танзания",desc_ru:""},{mask:"+380(##)###-##-##",cc:"UA",cd:"Ukraine",desc_en:"",name_ru:"Украина",desc_ru:""},{mask:"+256(###)###-###",cc:"UG",cd:"Uganda",desc_en:"",name_ru:"Уганда",desc_ru:""},{mask:"+44-##-####-####",cc:"UK",cd:"United Kingdom",desc_en:"",name_ru:"Великобритания",desc_ru:""},{mask:"+598-#-###-##-##",cc:"UY",cd:"Uruguay",desc_en:"",name_ru:"Уругвай",desc_ru:""},{mask:"+998-##-###-####",cc:"UZ",cd:"Uzbekistan",desc_en:"",name_ru:"Узбекистан",desc_ru:""},{mask:"+39-6-698-#####",cc:"VA",cd:"Vatican City",desc_en:"",name_ru:"Ватикан",desc_ru:""},{mask:"+1(784)###-####",cc:"VC",cd:"Saint Vincent & the Grenadines",desc_en:"",name_ru:"Сент-Винсент и Гренадины",desc_ru:""},{mask:"+58(###)###-####",cc:"VE",cd:"Venezuela",desc_en:"",name_ru:"Венесуэла",desc_ru:""},{mask:"+1(284)###-####",cc:"VG",cd:"British Virgin Islands",desc_en:"",name_ru:"Британские Виргинские острова",desc_ru:""},{mask:"+1(340)###-####",cc:"VI",cd:"US Virgin Islands",desc_en:"",name_ru:"Американские Виргинские острова",desc_ru:""},{mask:"+84-##-####-###",cc:"VN",cd:"Vietnam",desc_en:"",name_ru:"Вьетнам",desc_ru:""},{mask:"+84(###)####-###",cc:"VN",cd:"Vietnam",desc_en:"",name_ru:"Вьетнам",desc_ru:""},{mask:"+678-##-#####",cc:"VU",cd:"Vanuatu ",desc_en:"mobile",name_ru:"Вануату ",desc_ru:"мобильные"},{mask:"+678-#####",cc:"VU",cd:"Vanuatu",desc_en:"",name_ru:"Вануату",desc_ru:""},{mask:"+681-##-####",cc:"WF",cd:"Wallis and Futuna",desc_en:"",name_ru:"Уоллис и Футуна",desc_ru:""},{mask:"+685-##-####",cc:"WS",cd:"Samoa",desc_en:"",name_ru:"Самоа",desc_ru:""},{mask:"+967-###-###-###",cc:"YE",cd:"Yemen ",desc_en:"mobile",name_ru:"Йемен ",desc_ru:"мобильные"},{mask:"+967-#-###-###",cc:"YE",cd:"Yemen",desc_en:"",name_ru:"Йемен",desc_ru:""},{mask:"+967-##-###-###",cc:"YE",cd:"Yemen",desc_en:"",name_ru:"Йемен",desc_ru:""},{mask:"+27-##-###-####",cc:"ZA",cd:"South Africa",desc_en:"",name_ru:"Южно-Африканская Респ.",desc_ru:""},{mask:"+260-##-###-####",cc:"ZM",cd:"Zambia",desc_en:"",name_ru:"Замбия",desc_ru:""},{mask:"+263-#-######",cc:"ZW",cd:"Zimbabwe",desc_en:"",name_ru:"Зимбабве",desc_ru:""},{mask:"+1(###)###-####",cc:["US","CA"],cd:"USA and Canada",desc_en:"",name_ru:"США и Канада",desc_ru:""}]}}),c}); |
{ | ||
"name": "inputmask", | ||
"version": "4.0.0-beta.52", | ||
"version": "4.0.0-beta.54", | ||
"description": "Inputmask is a javascript library which creates an input mask. Inputmask can run against vanilla javascript, jQuery and jqlite.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6786659
132550