angular-input-masks
Version:
Personalized input masks for AngularJS
1 lines • 44 kB
JavaScript
require=function o(i,u,s){function l(t,e){if(!u[t]){if(!i[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(d)return d(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var a=u[t]={exports:{}};i[t][0].call(a.exports,function(e){return l(i[t][1][e]||e)},a,a.exports,o,i,u,s)}return u[t].exports}for(var d="function"==typeof require&&require,e=0;e<s.length;e++)l(s[e]);return l}({1:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){var r=(0,o.default)(e,n),a=Number(t);return r.setUTCMinutes(r.getUTCMinutes()+a),r};var r,a=e("../../toDate/index.js"),o=(r=a)&&r.__esModule?r:{default:r};t.exports=n.default},{"../../toDate/index.js":31}],2:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){e=e||{};var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},t.exports=n.default},{}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n=(0,i.default)(e,t),r=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var a=n.getTime(),o=r-a;return Math.floor(o/u)+1};var r,a=e("../../toDate/index.js"),i=(r=a)&&r.__esModule?r:{default:r};var u=864e5;t.exports=n.default},{"../../toDate/index.js":31}],4:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n=(0,a.default)(e,t),r=(0,o.default)(n,t).getTime()-(0,i.default)(n,t).getTime();return Math.round(r/u)+1};var a=r(e("../../toDate/index.js")),o=r(e("../startOfUTCISOWeek/index.js")),i=r(e("../startOfUTCISOWeekYear/index.js"));function r(e){return e&&e.__esModule?e:{default:e}}var u=6048e5;t.exports=n.default},{"../../toDate/index.js":31,"../startOfUTCISOWeek/index.js":10,"../startOfUTCISOWeekYear/index.js":11}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n=(0,s.default)(e,t),r=n.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(r+1,0,4),a.setUTCHours(0,0,0,0);var o=(0,l.default)(a,t),i=new Date(0);i.setUTCFullYear(r,0,4),i.setUTCHours(0,0,0,0);var u=(0,l.default)(i,t);return n.getTime()>=o.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1};var s=r(e("../../toDate/index.js")),l=r(e("../startOfUTCISOWeek/index.js"));function r(e){return e&&e.__esModule?e:{default:e}}t.exports=n.default},{"../../toDate/index.js":31,"../startOfUTCISOWeek/index.js":10}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){var r=n||{},a=r.locale,o=a&&a.options&&a.options.weekStartsOn,i=void 0===o?0:Number(o),u=void 0===r.weekStartsOn?i:Number(r.weekStartsOn);if(!(0<=u&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=(0,c.default)(e,n),l=Number(t),d=s.getUTCDay(),f=((l%7+7)%7<u?7:0)+l-d;return s.setUTCDate(s.getUTCDate()+f),s};var r,a=e("../../toDate/index.js"),c=(r=a)&&r.__esModule?r:{default:r};t.exports=n.default},{"../../toDate/index.js":31}],7:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){var r=Number(t);r%7==0&&(r-=7);var a=(0,u.default)(e,n),o=a.getUTCDay(),i=((r%7+7)%7<1?7:0)+r-o;return a.setUTCDate(a.getUTCDate()+i),a};var r,a=e("../../toDate/index.js"),u=(r=a)&&r.__esModule?r:{default:r};t.exports=n.default},{"../../toDate/index.js":31}],8:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){var r=(0,i.default)(e,n),a=Number(t),o=(0,u.default)(r,n)-a;return r.setUTCDate(r.getUTCDate()-7*o),r};var i=r(e("../../toDate/index.js")),u=r(e("../getUTCISOWeek/index.js"));function r(e){return e&&e.__esModule?e:{default:e}}t.exports=n.default},{"../../toDate/index.js":31,"../getUTCISOWeek/index.js":4}],9:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){var r=(0,s.default)(e,n),a=Number(t),o=(0,l.default)(r,n),i=Math.floor((r.getTime()-o.getTime())/d),u=new Date(0);return u.setUTCFullYear(a,0,4),u.setUTCHours(0,0,0,0),(r=(0,l.default)(u,n)).setUTCDate(r.getUTCDate()+i),r};var s=r(e("../../toDate/index.js")),l=r(e("../startOfUTCISOWeekYear/index.js"));function r(e){return e&&e.__esModule?e:{default:e}}var d=864e5;t.exports=n.default},{"../../toDate/index.js":31,"../startOfUTCISOWeekYear/index.js":11}],10:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n=(0,o.default)(e,t),r=n.getUTCDay(),a=(r<1?7:0)+r-1;return n.setUTCDate(n.getUTCDate()-a),n.setUTCHours(0,0,0,0),n};var r,a=e("../../toDate/index.js"),o=(r=a)&&r.__esModule?r:{default:r};t.exports=n.default},{"../../toDate/index.js":31}],11:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n=(0,a.default)(e,t),r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),(0,o.default)(r,t)};var a=r(e("../getUTCISOWeekYear/index.js")),o=r(e("../startOfUTCISOWeek/index.js"));function r(e){return e&&e.__esModule?e:{default:e}}t.exports=n.default},{"../getUTCISOWeekYear/index.js":5,"../startOfUTCISOWeek/index.js":10}],12:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=(0,o.default)(e,n).getTime(),a=Number(t);return new Date(r+a)};var r,a=e("../toDate/index.js"),o=(r=a)&&r.__esModule?r:{default:r};t.exports=n.default},{"../toDate/index.js":31}],13:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=Number(t);return(0,o.default)(e,r*i,n)};var r,a=e("../addMilliseconds/index.js"),o=(r=a)&&r.__esModule?r:{default:r};var i=6e4;t.exports=n.default},{"../addMilliseconds/index.js":12}],14:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=i(e("../../../_lib/getUTCDayOfYear/index.js")),a=i(e("../../../_lib/getUTCISOWeek/index.js")),o=i(e("../../../_lib/getUTCISOWeekYear/index.js"));function i(e){return e&&e.__esModule?e:{default:e}}var u={M:function(e){return e.getUTCMonth()+1},Mo:function(e,t){var n=e.getUTCMonth()+1;return t.locale.localize.ordinalNumber(n,{unit:"month"})},MM:function(e){return l(e.getUTCMonth()+1,2)},MMM:function(e,t){return t.locale.localize.month(e.getUTCMonth(),{type:"short"})},MMMM:function(e,t){return t.locale.localize.month(e.getUTCMonth(),{type:"long"})},Q:function(e){return Math.ceil((e.getUTCMonth()+1)/3)},Qo:function(e,t){var n=Math.ceil((e.getUTCMonth()+1)/3);return t.locale.localize.ordinalNumber(n,{unit:"quarter"})},D:function(e){return e.getUTCDate()},Do:function(e,t){return t.locale.localize.ordinalNumber(e.getUTCDate(),{unit:"dayOfMonth"})},DD:function(e){return l(e.getUTCDate(),2)},DDD:function(e){return(0,r.default)(e)},DDDo:function(e,t){return t.locale.localize.ordinalNumber((0,r.default)(e),{unit:"dayOfYear"})},DDDD:function(e){return l((0,r.default)(e),3)},dd:function(e,t){return t.locale.localize.weekday(e.getUTCDay(),{type:"narrow"})},ddd:function(e,t){return t.locale.localize.weekday(e.getUTCDay(),{type:"short"})},dddd:function(e,t){return t.locale.localize.weekday(e.getUTCDay(),{type:"long"})},d:function(e){return e.getUTCDay()},do:function(e,t){return t.locale.localize.ordinalNumber(e.getUTCDay(),{unit:"dayOfWeek"})},E:function(e){return e.getUTCDay()||7},W:function(e){return(0,a.default)(e)},Wo:function(e,t){return t.locale.localize.ordinalNumber((0,a.default)(e),{unit:"isoWeek"})},WW:function(e){return l((0,a.default)(e),2)},YY:function(e){return l(e.getUTCFullYear(),4).substr(2)},YYYY:function(e){return l(e.getUTCFullYear(),4)},GG:function(e){return String((0,o.default)(e)).substr(2)},GGGG:function(e){return(0,o.default)(e)},H:function(e){return e.getUTCHours()},HH:function(e){return l(e.getUTCHours(),2)},h:function(e){var t=e.getUTCHours();return 0===t?12:12<t?t%12:t},hh:function(e){return l(u.h(e),2)},m:function(e){return e.getUTCMinutes()},mm:function(e){return l(e.getUTCMinutes(),2)},s:function(e){return e.getUTCSeconds()},ss:function(e){return l(e.getUTCSeconds(),2)},S:function(e){return Math.floor(e.getUTCMilliseconds()/100)},SS:function(e){return l(Math.floor(e.getUTCMilliseconds()/10),2)},SSS:function(e){return l(e.getUTCMilliseconds(),3)},Z:function(e,t){return s((t._originalDate||e).getTimezoneOffset(),":")},ZZ:function(e,t){return s((t._originalDate||e).getTimezoneOffset())},X:function(e,t){var n=t._originalDate||e;return Math.floor(n.getTime()/1e3)},x:function(e,t){return(t._originalDate||e).getTime()},A:function(e,t){return t.locale.localize.timeOfDay(e.getUTCHours(),{type:"uppercase"})},a:function(e,t){return t.locale.localize.timeOfDay(e.getUTCHours(),{type:"lowercase"})},aa:function(e,t){return t.locale.localize.timeOfDay(e.getUTCHours(),{type:"long"})}};function s(e,t){t=t||"";var n=0<e?"-":"+",r=Math.abs(e),a=r%60;return n+l(Math.floor(r/60),2)+t+l(a,2)}function l(e,t){for(var n=Math.abs(e).toString();n.length<t;)n="0"+n;return n}n.default=u,t.exports=n.default},{"../../../_lib/getUTCDayOfYear/index.js":3,"../../../_lib/getUTCISOWeek/index.js":4,"../../../_lib/getUTCISOWeekYear/index.js":5}],15:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var t={LTS:e.LTS,LT:e.LT,L:e.L,LL:e.LL,LLL:e.LLL,LLLL:e.LLLL,l:e.l||a(e.L),ll:e.ll||a(e.LL),lll:e.lll||a(e.LLL),llll:e.llll||a(e.LLLL)};return function(e){return t[e]}};var r=/MMMM|MM|DD|dddd/g;function a(e){return e.replace(r,function(e){return e.slice(1)})}t.exports=n.default},{}],16:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(r,a){return function(e){var t=e||{},n=t.type?String(t.type):a;return r[n]||r[a]}},t.exports=n.default},{}],17:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(i,u,s){return function(e,t){var n=t||{},r=n.type?String(n.type):u,a=i[r]||i[u],o=s?s(Number(e)):Number(e);return a[o]}},t.exports=n.default},{}],18:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(i,u){return function(e,t){var n=t||{},r=n.type?String(n.type):u,a=i[r]||i[u],o=String(e);return o.match(a)}},t.exports=n.default},{}],19:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(n){return function(e){var t=String(e);return t.match(n)}},t.exports=n.default},{}],20:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(i,u){return function(e,t){var n=t||{},r=n.type?String(n.type):u,a=i[r]||i[u],o=e[1];return a.findIndex(function(e){return e.test(o)})}},t.exports=n.default},{}],21:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return parseInt(e[1],10)},t.exports=n.default},{}],22:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){var r;n=n||{},r="string"==typeof a[e]?a[e]:1===t?a[e].one:a[e].other.replace("{{count}}",t);if(n.addSuffix)return 0<n.comparison?"in "+r:r+" ago";return r};var a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};t.exports=n.default},{}],23:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r,a=e("../../../_lib/buildFormatLongFn/index.js");var o=(0,((r=a)&&r.__esModule?r:{default:r}).default)({LT:"h:mm aa",LTS:"h:mm:ss aa",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY h:mm aa",LLLL:"dddd, MMMM D YYYY h:mm aa"});n.default=o,t.exports=n.default},{"../../../_lib/buildFormatLongFn/index.js":15}],24:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n,r){return a[e]};var a={lastWeek:"[last] dddd [at] LT",yesterday:"[yesterday at] LT",today:"[today at] LT",tomorrow:"[tomorrow at] LT",nextWeek:"dddd [at] LT",other:"L"};t.exports=n.default},{}],25:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=o(e("../../../_lib/buildLocalizeFn/index.js")),a=o(e("../../../_lib/buildLocalizeArrayFn/index.js"));function o(e){return e&&e.__esModule?e:{default:e}}var i={narrow:["Su","Mo","Tu","We","Th","Fr","Sa"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},u={short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},s={uppercase:["AM","PM"],lowercase:["am","pm"],long:["a.m.","p.m."]};var l={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(20<r||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},weekday:(0,r.default)(i,"long"),weekdays:(0,a.default)(i,"long"),month:(0,r.default)(u,"long"),months:(0,a.default)(u,"long"),timeOfDay:(0,r.default)(s,"long",function(e){return 1<=e/12?1:0}),timesOfDay:(0,a.default)(s,"long")};n.default=l,t.exports=n.default},{"../../../_lib/buildLocalizeArrayFn/index.js":16,"../../../_lib/buildLocalizeFn/index.js":17}],26:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=u(e("../../../_lib/buildMatchFn/index.js")),a=u(e("../../../_lib/buildParseFn/index.js")),o=u(e("../../../_lib/buildMatchPatternFn/index.js")),i=u(e("../../../_lib/parseDecimal/index.js"));function u(e){return e&&e.__esModule?e:{default:e}}var s={ordinalNumbers:(0,o.default)(/^(\d+)(th|st|nd|rd)?/i),ordinalNumber:i.default,weekdays:(0,r.default)({narrow:/^(su|mo|tu|we|th|fr|sa)/i,short:/^(sun|mon|tue|wed|thu|fri|sat)/i,long:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},"long"),weekday:(0,a.default)({any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},"any"),months:(0,r.default)({short:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,long:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},"long"),month:(0,a.default)({any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},"any"),timesOfDay:(0,r.default)({short:/^(am|pm)/i,long:/^([ap]\.?\s?m\.?)/i},"long"),timeOfDay:(0,a.default)({any:[/^a/i,/^p/i]},"any")};n.default=s,t.exports=n.default},{"../../../_lib/buildMatchFn/index.js":18,"../../../_lib/buildMatchPatternFn/index.js":19,"../../../_lib/buildParseFn/index.js":20,"../../../_lib/parseDecimal/index.js":21}],27:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=s(e("./_lib/formatDistance/index.js")),a=s(e("./_lib/formatLong/index.js")),o=s(e("./_lib/formatRelative/index.js")),i=s(e("./_lib/localize/index.js")),u=s(e("./_lib/match/index.js"));function s(e){return e&&e.__esModule?e:{default:e}}var l={formatDistance:r.default,formatLong:a.default,formatRelative:o.default,localize:i.default,match:u.default,options:{weekStartsOn:0,firstWeekContainsDate:1}};n.default=l,t.exports=n.default},{"./_lib/formatDistance/index.js":22,"./_lib/formatLong/index.js":23,"./_lib/formatRelative/index.js":24,"./_lib/localize/index.js":25,"./_lib/match/index.js":26}],28:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={M:/^(1[0-2]|0?\d)/,D:/^(3[0-1]|[0-2]?\d)/,DDD:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,W:/^(5[0-3]|[0-4]?\d)/,YYYY:/^(\d{1,4})/,H:/^(2[0-3]|[0-1]?\d)/,m:/^([0-5]?\d)/,Z:/^([+-])(\d{2}):(\d{2})/,ZZ:/^([+-])(\d{2})(\d{2})/,singleDigit:/^(\d)/,twoDigits:/^(\d{2})/,threeDigits:/^(\d{3})/,fourDigits:/^(\d{4})/,anyDigits:/^(\d+)/};function a(e){return parseInt(e[1],10)}var o={YY:{unit:"twoDigitYear",match:r.twoDigits,parse:function(e){return a(e)}},YYYY:{unit:"year",match:r.YYYY,parse:a},GG:{unit:"isoYear",match:r.twoDigits,parse:function(e){return a(e)+1900}},GGGG:{unit:"isoYear",match:r.YYYY,parse:a},Q:{unit:"quarter",match:r.singleDigit,parse:a},Qo:{unit:"quarter",match:function(e,t){return t.locale.match.ordinalNumbers(e,{unit:"quarter"})},parse:function(e,t){return t.locale.match.ordinalNumber(e,{unit:"quarter"})}},M:{unit:"month",match:r.M,parse:function(e){return a(e)-1}},Mo:{unit:"month",match:function(e,t){return t.locale.match.ordinalNumbers(e,{unit:"month"})},parse:function(e,t){return t.locale.match.ordinalNumber(e,{unit:"month"})-1}},MM:{unit:"month",match:r.twoDigits,parse:function(e){return a(e)-1}},MMM:{unit:"month",match:function(e,t){return t.locale.match.months(e,{type:"short"})},parse:function(e,t){return t.locale.match.month(e,{type:"short"})}},MMMM:{unit:"month",match:function(e,t){return t.locale.match.months(e,{type:"long"})||t.locale.match.months(e,{type:"short"})},parse:function(e,t){var n=t.locale.match.month(e,{type:"long"});return null==n&&(n=t.locale.match.month(e,{type:"short"})),n}},W:{unit:"isoWeek",match:r.W,parse:a},Wo:{unit:"isoWeek",match:function(e,t){return t.locale.match.ordinalNumbers(e,{unit:"isoWeek"})},parse:function(e,t){return t.locale.match.ordinalNumber(e,{unit:"isoWeek"})}},WW:{unit:"isoWeek",match:r.twoDigits,parse:a},d:{unit:"dayOfWeek",match:r.singleDigit,parse:a},do:{unit:"dayOfWeek",match:function(e,t){return t.locale.match.ordinalNumbers(e,{unit:"dayOfWeek"})},parse:function(e,t){return t.locale.match.ordinalNumber(e,{unit:"dayOfWeek"})}},dd:{unit:"dayOfWeek",match:function(e,t){return t.locale.match.weekdays(e,{type:"narrow"})},parse:function(e,t){return t.locale.match.weekday(e,{type:"narrow"})}},ddd:{unit:"dayOfWeek",match:function(e,t){return t.locale.match.weekdays(e,{type:"short"})||t.locale.match.weekdays(e,{type:"narrow"})},parse:function(e,t){var n=t.locale.match.weekday(e,{type:"short"});return null==n&&(n=t.locale.match.weekday(e,{type:"narrow"})),n}},dddd:{unit:"dayOfWeek",match:function(e,t){return t.locale.match.weekdays(e,{type:"long"})||t.locale.match.weekdays(e,{type:"short"})||t.locale.match.weekdays(e,{type:"narrow"})},parse:function(e,t){var n=t.locale.match.weekday(e,{type:"long"});return null==n&&null==(n=t.locale.match.weekday(e,{type:"short"}))&&(n=t.locale.match.weekday(e,{type:"narrow"})),n}},E:{unit:"dayOfISOWeek",match:r.singleDigit,parse:function(e){return a(e)}},D:{unit:"dayOfMonth",match:r.D,parse:a},Do:{unit:"dayOfMonth",match:function(e,t){return t.locale.match.ordinalNumbers(e,{unit:"dayOfMonth"})},parse:function(e,t){return t.locale.match.ordinalNumber(e,{unit:"dayOfMonth"})}},DD:{unit:"dayOfMonth",match:r.twoDigits,parse:a},DDD:{unit:"dayOfYear",match:r.DDD,parse:a},DDDo:{unit:"dayOfYear",match:function(e,t){return t.locale.match.ordinalNumbers(e,{unit:"dayOfYear"})},parse:function(e,t){return t.locale.match.ordinalNumber(e,{unit:"dayOfYear"})}},DDDD:{unit:"dayOfYear",match:r.threeDigits,parse:a},A:{unit:"timeOfDay",match:function(e,t){return t.locale.match.timesOfDay(e,{type:"short"})},parse:function(e,t){return t.locale.match.timeOfDay(e,{type:"short"})}},aa:{unit:"timeOfDay",match:function(e,t){return t.locale.match.timesOfDay(e,{type:"long"})||t.locale.match.timesOfDay(e,{type:"short"})},parse:function(e,t){var n=t.locale.match.timeOfDay(e,{type:"long"});return null==n&&(n=t.locale.match.timeOfDay(e,{type:"short"})),n}},H:{unit:"hours",match:r.H,parse:a},HH:{unit:"hours",match:r.twoDigits,parse:a},h:{unit:"timeOfDayHours",match:r.M,parse:a},hh:{unit:"timeOfDayHours",match:r.twoDigits,parse:a},m:{unit:"minutes",match:r.m,parse:a},mm:{unit:"minutes",match:r.twoDigits,parse:a},s:{unit:"seconds",match:r.m,parse:a},ss:{unit:"seconds",match:r.twoDigits,parse:a},S:{unit:"milliseconds",match:r.singleDigit,parse:function(e){return 100*a(e)}},SS:{unit:"milliseconds",match:r.twoDigits,parse:function(e){return 10*a(e)}},SSS:{unit:"milliseconds",match:r.threeDigits,parse:a},Z:{unit:"timezone",match:r.Z,parse:function(e){var t=e[1],n=60*parseInt(e[2],10)+parseInt(e[3],10);return"+"===t?n:-n}},ZZ:{unit:"timezone",match:r.ZZ,parse:function(e){var t=e[1],n=60*parseInt(e[2],10)+parseInt(e[3],10);return"+"===t?n:-n}},X:{unit:"timestamp",match:r.anyDigits,parse:function(e){return 1e3*a(e)}},x:{unit:"timestamp",match:r.anyDigits,parse:a}};o.a=o.A,n.default=o,t.exports=n.default},{}],29:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=l(e("../../../_lib/setUTCDay/index.js")),a=l(e("../../../_lib/setUTCISODay/index.js")),o=l(e("../../../_lib/setUTCISOWeek/index.js")),i=l(e("../../../_lib/setUTCISOWeekYear/index.js")),u=l(e("../../../_lib/startOfUTCISOWeek/index.js")),s=l(e("../../../_lib/startOfUTCISOWeekYear/index.js"));function l(e){return e&&e.__esModule?e:{default:e}}var d={twoDigitYear:{priority:10,set:function(e,t){var n=100*Math.floor(e.date.getUTCFullYear()/100)+t;return e.date.setUTCFullYear(n,0,1),e.date.setUTCHours(0,0,0,0),e}},year:{priority:10,set:function(e,t){return e.date.setUTCFullYear(t,0,1),e.date.setUTCHours(0,0,0,0),e}},isoYear:{priority:10,set:function(e,t,n){return e.date=(0,s.default)((0,i.default)(e.date,t,n),n),e}},quarter:{priority:20,set:function(e,t){return e.date.setUTCMonth(3*(t-1),1),e.date.setUTCHours(0,0,0,0),e}},month:{priority:30,set:function(e,t){return e.date.setUTCMonth(t,1),e.date.setUTCHours(0,0,0,0),e}},isoWeek:{priority:40,set:function(e,t,n){return e.date=(0,u.default)((0,o.default)(e.date,t,n),n),e}},dayOfWeek:{priority:50,set:function(e,t,n){return e.date=(0,r.default)(e.date,t,n),e.date.setUTCHours(0,0,0,0),e}},dayOfISOWeek:{priority:50,set:function(e,t,n){return e.date=(0,a.default)(e.date,t,n),e.date.setUTCHours(0,0,0,0),e}},dayOfMonth:{priority:50,set:function(e,t){return e.date.setUTCDate(t),e.date.setUTCHours(0,0,0,0),e}},dayOfYear:{priority:50,set:function(e,t){return e.date.setUTCMonth(0,t),e.date.setUTCHours(0,0,0,0),e}},timeOfDay:{priority:60,set:function(e,t,n){return e.timeOfDay=t,e}},hours:{priority:70,set:function(e,t,n){return e.date.setUTCHours(t,0,0,0),e}},timeOfDayHours:{priority:70,set:function(e,t,n){var r=e.timeOfDay;return null!=r&&(t=function(e,t){if(0===t){if(12===e)return 0}else if(12!==e)return 12+e;return e}(t,r)),e.date.setUTCHours(t,0,0,0),e}},minutes:{priority:80,set:function(e,t){return e.date.setUTCMinutes(t,0,0),e}},seconds:{priority:90,set:function(e,t){return e.date.setUTCSeconds(t,0),e}},milliseconds:{priority:100,set:function(e,t){return e.date.setUTCMilliseconds(t),e}},timezone:{priority:110,set:function(e,t){return e.date=new Date(e.date.getTime()-6e4*t),e}},timestamp:{priority:120,set:function(e,t){return e.date=new Date(t),e}}};n.default=d,t.exports=n.default},{"../../../_lib/setUTCDay/index.js":6,"../../../_lib/setUTCISODay/index.js":7,"../../../_lib/setUTCISOWeek/index.js":8,"../../../_lib/setUTCISOWeekYear/index.js":9,"../../../_lib/startOfUTCISOWeek/index.js":10,"../../../_lib/startOfUTCISOWeekYear/index.js":11}],30:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=Number(t);return(0,o.default)(e,-r,n)};var r,a=e("../addMinutes/index.js"),o=(r=a)&&r.__esModule?r:{default:r};t.exports=n.default},{"../addMinutes/index.js":13}],31:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},r=void 0===n.additionalDigits?m:Number(n.additionalDigits);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");{if(e instanceof Date)return new Date(e.getTime());if("string"!=typeof e)return new Date(e)}var a=function(e){var t,n={},r=e.split(p.dateTimeDelimeter);p.plainTime.test(r[0])?(n.date=null,t=r[0]):(n.date=r[0],t=r[1]);if(t){var a=p.timezone.exec(t);a?(n.time=t.replace(a[1],""),n.timezone=a[1]):n.time=t}return n}(e),o=function(e,t){var n,r=p.YYY[t],a=p.YYYYY[t];if(n=p.YYYY.exec(e)||a.exec(e)){var o=n[1];return{year:parseInt(o,10),restDateString:e.slice(o.length)}}if(n=p.YY.exec(e)||r.exec(e)){var i=n[1];return{year:100*parseInt(i,10),restDateString:e.slice(i.length)}}return{year:null}}(a.date,r),i=o.year,u=function(e,t){if(null===t)return null;var n,r,a,o;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=p.MM.exec(e))return r=new Date(0),a=parseInt(n[1],10)-1,r.setUTCFullYear(t,a),r;if(n=p.DDD.exec(e)){r=new Date(0);var i=parseInt(n[1],10);return r.setUTCFullYear(t,0,i),r}if(n=p.MMDD.exec(e)){r=new Date(0),a=parseInt(n[1],10)-1;var u=parseInt(n[2],10);return r.setUTCFullYear(t,a,u),r}if(n=p.Www.exec(e))return o=parseInt(n[1],10)-1,h(t,o);if(n=p.WwwD.exec(e)){o=parseInt(n[1],10)-1;var s=parseInt(n[2],10)-1;return h(t,o,s)}return null}(o.restDateString,i);{if(u){var s,l=u.getTime(),d=0;return a.time&&(d=function(e){var t,n,r;if(t=p.HH.exec(e))return(n=parseFloat(t[1].replace(",",".")))%24*f;if(t=p.HHMM.exec(e))return n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")),n%24*f+r*c;if(t=p.HHMMSS.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var a=parseFloat(t[3].replace(",","."));return n%24*f+r*c+1e3*a}return null}(a.time)),a.timezone?s=function(e){var t,n;if(t=p.timezoneZ.exec(e))return 0;if(t=p.timezoneHH.exec(e))return n=60*parseInt(t[2],10),"+"===t[1]?-n:n;if(t=p.timezoneHHMM.exec(e))return n=60*parseInt(t[2],10)+parseInt(t[3],10),"+"===t[1]?-n:n;return 0}(a.timezone):(s=new Date(l+d).getTimezoneOffset(),s=new Date(l+d+s*c).getTimezoneOffset()),new Date(l+d+s*c)}return new Date(e)}};var f=36e5,c=6e4,m=2,p={dateTimeDelimeter:/[T ]/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-])(\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function h(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var a=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+a),r}t.exports=n.default},{}],"br-validations":[function(e,t,n){var r,a;r=this,a=function(){var e={validate:function(e){var t=[6,5,4,3,2,9,8,7,6,5,4,3,2];if(!(e=e.replace(/[^\d]/g,""))||14!==e.length||/^(0{14}|1{14}|2{14}|3{14}|4{14}|5{14}|6{14}|7{14}|8{14}|9{14})$/.test(e))return!1;e=e.split("");for(var n=0,r=0;n<12;n++)r+=e[n]*t[n+1];if(r=10<=(r=11-r%11)?0:r,parseInt(e[12])!==r)return!1;for(r=n=0;n<=12;n++)r+=e[n]*t[n];return r=10<=(r=11-r%11)?0:r,parseInt(e[13])===r}},t={validate:function(a){if(!(a=a.replace(/[^\d]+/g,""))||11!==a.length||/^(0{11}|1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11})$/.test(a))return!1;function e(e){for(var t=0,n=e-9,r=0;r<9;r++)t+=parseInt(a.charAt(r+n))*(r+1);return t%11%10===parseInt(a.charAt(e))}return e(9)&&e(10)}},n=function(e){if(!(this instanceof n))return new n(e);this.rules=r[e]||[],this.rule,n.prototype._defineRule=function(e){this.rule=void 0;for(var t=0;t<this.rules.length&&void 0===this.rule;t++){var n=e.replace(/[^\d]/g,""),r=this.rules[t];n.length!==r.chars||r.match&&!r.match.test(e)||(this.rule=r)}return!!this.rule},n.prototype.validate=function(e){return!(!e||!this._defineRule(e))&&this.rule.validate(e)}},r={},l={handleStr:{onlyNumbers:function(e){return e.replace(/[^\d]/g,"").split("")},mgSpec:function(e){var t=e.replace(/[^\d]/g,"");return(t=t.substr(0,3)+"0"+t.substr(3,t.length)).split("")}},sum:{normalSum:function(e,t){for(var n=e,r=0,a=0;a<t.length;a++)r+=parseInt(n[a])*t[a];return r},individualSum:function(e,t){for(var n=e,r=0,a=0;a<t.length;a++){var o=parseInt(n[a])*t[a];r+=o%10+parseInt(o/10)}return r},apSpec:function(e,t){var n=this.normalSum(e,t),r=e.join("");return"030000010"<=r&&r<="030170009"?n+5:"030170010"<=r&&r<="030190229"?n+9:n}},rest:{mod11:function(e){return e%11},mod10:function(e){return e%10},mod9:function(e){return e%9}},expectedDV:{minusRestOf11:function(e){return e<2?0:11-e},minusRestOf11v2:function(e){return e<2?11-e-10:11-e},minusRestOf10:function(e){return e<1?0:10-e},mod10:function(e){return e%10},goSpec:function(e,t){var n=t.join("");return 1===e?"101031050"<=n&&n<="101199979"?1:0:0===e?0:11-e},apSpec:function(e,t){var n=t.join("");return 0===e?"030170010"<=n&&n<="030190229"?1:0:1===e?0:11-e},voidFn:function(e){return e}}};function a(e,t){for(var n=0;n<t.dvs.length;n++)if(r=e,a=t.dvs[n],void 0,o=a.algorithmSteps,i=l.handleStr[o[0]](r),u=l.sum[o[1]](i,a.pesos),s=l.rest[o[2]](u),parseInt(i[a.dvpos])!==l.expectedDV[o[3]](s,i))return!1;var r,a,o,i,u,s;return!0}r.PE=[{chars:9,dvs:[{dvpos:7,pesos:[8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]},{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}},{chars:14,pesos:[[1,2,3,4,5,9,8,7,6,5,4,3,2]],dvs:[{dvpos:13,pesos:[5,4,3,2,1,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11v2"]}],validate:function(e){return a(e,this)}}],r.RS=[{chars:10,dvs:[{dvpos:9,pesos:[2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.AC=[{chars:13,match:/^01/,dvs:[{dvpos:11,pesos:[4,3,2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]},{dvpos:12,pesos:[5,4,3,2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.MG=[{chars:13,dvs:[{dvpos:12,pesos:[1,2,1,2,1,2,1,2,1,2,1,2],algorithmSteps:["mgSpec","individualSum","mod10","minusRestOf10"]},{dvpos:12,pesos:[3,2,11,10,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.SP=[{chars:12,match:/^[0-9]/,dvs:[{dvpos:8,pesos:[1,3,4,5,6,7,8,10],algorithmSteps:["onlyNumbers","normalSum","mod11","mod10"]},{dvpos:11,pesos:[3,2,10,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","mod10"]}],validate:function(e){return a(e,this)}},{chars:12,match:/^P/i,dvs:[{dvpos:8,pesos:[1,3,4,5,6,7,8,10],algorithmSteps:["onlyNumbers","normalSum","mod11","mod10"]}],validate:function(e){return a(e,this)}}],r.DF=[{chars:13,dvs:[{dvpos:11,pesos:[4,3,2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]},{dvpos:12,pesos:[5,4,3,2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.ES=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.BA=[{chars:8,match:/^[0123458]/,dvs:[{dvpos:7,pesos:[7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod10","minusRestOf10"]},{dvpos:6,pesos:[8,7,6,5,4,3,0,2],algorithmSteps:["onlyNumbers","normalSum","mod10","minusRestOf10"]}],validate:function(e){return a(e,this)}},{chars:8,match:/^[679]/,dvs:[{dvpos:7,pesos:[7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]},{dvpos:6,pesos:[8,7,6,5,4,3,0,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}},{chars:9,match:/^[0-9][0123458]/,dvs:[{dvpos:8,pesos:[8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod10","minusRestOf10"]},{dvpos:7,pesos:[9,8,7,6,5,4,3,0,2],algorithmSteps:["onlyNumbers","normalSum","mod10","minusRestOf10"]}],validate:function(e){return a(e,this)}},{chars:9,match:/^[0-9][679]/,dvs:[{dvpos:8,pesos:[8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]},{dvpos:7,pesos:[9,8,7,6,5,4,3,0,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.AM=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.RN=[{chars:9,match:/^20/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}},{chars:10,match:/^20/,dvs:[{dvpos:8,pesos:[10,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.RO=[{chars:14,dvs:[{dvpos:13,pesos:[6,5,4,3,2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11v2"]}],validate:function(e){return a(e,this)}}],r.PR=[{chars:10,dvs:[{dvpos:8,pesos:[3,2,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]},{dvpos:9,pesos:[4,3,2,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.SC=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.RJ=[{chars:8,dvs:[{dvpos:7,pesos:[2,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.PA=[{chars:9,match:/^15/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.SE=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.PB=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.CE=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.PI=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.MA=[{chars:9,match:/^12/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.MT=[{chars:11,dvs:[{dvpos:10,pesos:[3,2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.MS=[{chars:9,match:/^28/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.TO=[{chars:11,match:/^[0-9]{2}((0[123])|(99))/,dvs:[{dvpos:10,pesos:[9,8,0,0,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.AL=[{chars:9,match:/^24[03578]/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(e){return a(e,this)}}],r.RR=[{chars:9,match:/^24/,dvs:[{dvpos:8,pesos:[1,2,3,4,5,6,7,8],algorithmSteps:["onlyNumbers","normalSum","mod9","voidFn"]}],validate:function(e){return a(e,this)}}],r.GO=[{chars:9,match:/^1[015]/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","goSpec"]}],validate:function(e){return a(e,this)}}],r.AP=[{chars:9,match:/^03/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","apSpec","mod11","apSpec"]}],validate:function(e){return a(e,this)}}];var o={validate:function(e){if(!(e=e.replace(/[^\d]+/g,""))||11!==e.length||/^(0{11}|1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11})$/.test(e))return!1;var t=e.substring(0,10),n=e.substring(10);return Number(n)===function(e){for(var t=[3,2,9,8,7,6,5,4,3,2],n=0,r=0;r<=9;r++)n+=parseInt(e.charAt(r))*t[r];var a=11-n%11;return 10===a||11===a?0:a}(t)}};return{ie:n,cpf:t,cnpj:e,pis:o}},"function"==typeof define&&define.amd?define([],a):"object"==typeof n?t.exports=a():r.BrV=a()},{}],"date-fns/format":[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=String(t),a=n||{},o=a.locale||h.default;if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var i=o.formatters||{},u=o.formattingTokensRegExp||b,s=o.formatLong,l=(0,m.default)(e,a);if(!(0,p.default)(l,a))return"Invalid Date";var d=l.getTimezoneOffset(),f=(0,g.default)(l,-d,a),c=(0,y.default)(a);return c.locale=o,c.formatters=v.default,c._originalDate=l,r.replace(D,function(e){return"["===e[0]?e:"\\"===e[0]?M(e):s(e)}).replace(u,function(e){var t=i[e]||v.default[e];return t?t(f,c):M(e)})};var m=r(e("../toDate/index.js")),p=r(e("../isValid/index.js")),h=r(e("../locale/en-US/index.js")),v=r(e("./_lib/formatters/index.js")),y=r(e("../_lib/cloneObject/index.js")),g=r(e("../_lib/addUTCMinutes/index.js"));function r(e){return e&&e.__esModule?e:{default:e}}var D=/(\[[^[]*])|(\\)?(LTS|LT|LLLL|LLL|LL|L|llll|lll|ll|l)/g,b=/(\[[^[]*])|(\\)?(x|ss|s|mm|m|hh|h|do|dddd|ddd|dd|d|aa|a|ZZ|Z|YYYY|YY|X|Wo|WW|W|SSS|SS|S|Qo|Q|Mo|MMMM|MMM|MM|M|HH|H|GGGG|GG|E|Do|DDDo|DDDD|DDD|DD|D|A|.)/g;function M(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|]$/g,""):e.replace(/\\/g,"")}t.exports=n.default},{"../_lib/addUTCMinutes/index.js":1,"../_lib/cloneObject/index.js":2,"../isValid/index.js":"date-fns/isValid","../locale/en-US/index.js":27,"../toDate/index.js":31,"./_lib/formatters/index.js":14}],"date-fns/isValid":[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=(0,o.default)(e,t);return!isNaN(n)};var r,a=e("../toDate/index.js"),o=(r=a)&&r.__esModule?r:{default:r};t.exports=n.default},{"../toDate/index.js":31}],"date-fns/parse":[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n,r){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var a=String(e),o=r||{},i=void 0===o.weekStartsOn?0:Number(o.weekStartsOn);if(!(0<=i&&i<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=o.locale||C.default,s=u.parsers||{},l=u.units||{};if(!u.match)throw new RangeError("locale must contain match property");if(!u.formatLong)throw new RangeError("locale must contain formatLong property");var d=String(t).replace(W,function(e){return"["===e[0]?e:"\\"===e[0]?function(e){if(e.match(/\[[\s\S]/))return e.replace(/^\[|]$/g,"");return e.replace(/\\/g,"")}(e):u.formatLong(e)});if(""===d)return""===a?(0,w.default)(n,o):new Date(NaN);var f=(0,L.default)(o);f.locale=u;var c,m=d.match(u.parsingTokensRegExp||I),p=m.length,h=[{priority:k,set:R,index:0}];for(c=0;c<p;c++){var v=m[c],y=s[v]||Y.default[v];if(y){var g;if(!(g=y.match instanceof RegExp?y.match.exec(a):y.match(a,f)))return new Date(NaN);var D=y.unit,b=l[D]||N.default[D];h.push({priority:b.priority,set:b.set,value:y.parse(g,f),index:h.length});var M=g[0];a=a.slice(M.length)}else{var S=m[c].match(/^\[.*]$/)?m[c].replace(/^\[|]$/g,""):m[c];if(0!==a.indexOf(S))return new Date(NaN);a=a.slice(S.length)}}var O=h.map(function(e){return e.priority}).sort(function(e,t){return e-t}).filter(function(e,t,n){return n.indexOf(e)===t}).map(function(t){return h.filter(function(e){return e.priority===t}).reverse()}).map(function(e){return e[0]}),x=(0,w.default)(n,o);if(isNaN(x))return new Date(NaN);var T={date:(0,U.default)(x,x.getTimezoneOffset())},_=O.length;for(c=0;c<_;c++){var j=O[c];T=j.set(T,j.value,f)}return T.date};var w=r(e("../toDate/index.js")),U=r(e("../subMinutes/index.js")),C=r(e("../locale/en-US/index.js")),Y=r(e("./_lib/parsers/index.js")),N=r(e("./_lib/units/index.js")),L=r(e("../_lib/cloneObject/index.js"));function r(e){return e&&e.__esModule?e:{default:e}}var k=110,a=6e4,W=/(\[[^[]*])|(\\)?(LTS|LT|LLLL|LLL|LL|L|llll|lll|ll|l)/g,I=/(\[[^[]*])|(\\)?(x|ss|s|mm|m|hh|h|do|dddd|ddd|dd|d|aa|a|ZZ|Z|YYYY|YY|X|Wo|WW|W|SSS|SS|S|Qo|Q|Mo|MMMM|MMM|MM|M|HH|H|GGGG|GG|E|Do|DDDo|DDDD|DDD|DD|D|A|.)/g;function R(e){var t=e.date,n=t.getTime(),r=t.getTimezoneOffset();return r=new Date(n+r*a).getTimezoneOffset(),e.date=new Date(n+r*a),e}t.exports=n.default},{"../_lib/cloneObject/index.js":2,"../locale/en-US/index.js":27,"../subMinutes/index.js":30,"../toDate/index.js":31,"./_lib/parsers/index.js":28,"./_lib/units/index.js":29}],"string-mask":[function(e,t,n){var r,a;r=this,a=function(){var y={0:{pattern:/\d/,_default:"0"},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,optional:!0,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/},U:{pattern:/[a-zA-Z]/,transform:function(e){return e.toLocaleUpperCase()}},L:{pattern:/[a-zA-Z]/,transform:function(e){return e.toLocaleLowerCase()}},$:{escape:!0}};function g(e,t){for(var n=0,r=t-1,a={escape:!0};0<=r&&a&&a.escape;)n+=(a=y[e.charAt(r)])&&a.escape?1:0,r--;return 0<n&&n%2==1}function D(e,t,n,r){return r&&"function"==typeof r.transform&&(t=r.transform(t)),n.reverse?t+e:e+t}function b(e,t,n){var r=e.split("");return r.splice(n,0,t),r.join("")}function r(e,t){this.options=t||{},this.options={reverse:this.options.reverse||!1,usedefaults:this.options.usedefaults||this.options.reverse},this.pattern=e}return r.prototype.process=function(n){if(!n)return{result:"",valid:!1};n+="";var e,t,r=this.pattern,a=!0,o="",i=this.options.reverse?n.length-1:0,u=0,s=(e=n,t=r.replace(/[^0]/g,"").length,e.replace(/[^\d]/g,"").length-t),l=!1,d=[],f=!1,c={start:this.options.reverse?r.length-1:0,end:this.options.reverse?-1:r.length,inc:this.options.reverse?-1:1};function m(e){if(!f&&!d.length&&function e(t,n,r){var a=t.charAt(n),o=y[a];return""!==a&&(!(!o||o.escape)||e(t,n+r,r))}(r,u,c.inc))return!0;if(!f&&d.length&&function e(t,n,r){var a=t.charAt(n),o=y[a];return""!==a&&(!(!o||!o.recursive)||e(t,n+r,r))}(r,u,c.inc))return!0;if(f||(f=0<d.length),f){var t=d.shift();if(d.push(t),e.reverse&&0<=i)return r=b(r,t,++u),!0;if(!e.reverse&&i<n.length)return r=b(r,t,u),!0}return u<r.length&&0<=u}for(u=c.start;m(this.options);u+=c.inc){var p=n.charAt(i),h=r.charAt(u),v=y[h];if(d.length&&v&&!v.recursive&&(v=null),!f||p){if(this.options.reverse&&g(r,u)){o=D(o,h,this.options,v),u+=c.inc;continue}if(!this.options.reverse&&l){o=D(o,h,this.options,v),l=!1;continue}if(!this.options.reverse&&v&&v.escape){l=!0;continue}}if(!f&&v&&v.recursive)d.push(h);else{if(f&&!p){o=D(o,h,this.options,v);continue}if(!f&&0<d.length&&!p)continue}if(v)if(v.optional){if(v.pattern.test(p)&&s)o=D(o,p,this.options,v),i+=c.inc,s--;else if(0<d.length&&p){a=!1;break}}else if(v.pattern.test(p))o=D(o,p,this.options,v),i+=c.inc;else{if(p||!v._default||!this.options.usedefaults){a=!1;break}o=D(o,v._default,this.options,v)}else o=D(o,h,this.options,v),!f&&d.length&&d.push(h)}return{result:o,valid:a}},r.prototype.apply=function(e){return this.process(e).result},r.prototype.validate=function(e){return this.process(e).valid},r.process=function(e,t,n){return new r(t,n).process(e)},r.apply=function(e,t,n){return new r(t,n).apply(e)},r.validate=function(e,t,n){return new r(t,n).validate(e)},r},"function"==typeof define&&define.amd?define([],a):"object"==typeof n?t.exports=a():r.StringMask=a()},{}]},{},[]);