text: !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.VeeValidate=t()}(this,function(){"use strict";var e=36e5,t=6e4,r=2,n={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 i(i,o){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===i)return new Date(NaN);var s=o||{},u=void 0===s.additionalDigits?r:Number(s.additionalDigits);if(2!==u&&1!==u&&0!==u)throw new RangeError("additionalDigits must be 0, 1 or 2");if(i instanceof Date)return new Date(i.getTime());if("string"!=typeof i)return new Date(i);var l=function(e){var t,r={},i=e.split(n.dateTimeDelimeter);n.plainTime.test(i[0])?(r.date=null,t=i[0]):(r.date=i[0],t=i[1]);if(t){var a=n.timezone.exec(t);a?(r.time=t.replace(a[1],""),r.timezone=a[1]):r.time=t}return r}(i),c=function(e,t){var r,i=n.YYY[t],a=n.YYYYY[t];if(r=n.YYYY.exec(e)||a.exec(e)){var o=r[1];return{year:parseInt(o,10),restDateString:e.slice(o.length)}}if(r=n.YY.exec(e)||i.exec(e)){var s=r[1];return{year:100*parseInt(s,10),restDateString:e.slice(s.length)}}return{year:null}}(l.date,u),f=c.year,d=function(e,t){if(null===t)return null;var r,i,o,s;if(0===e.length)return(i=new Date(0)).setUTCFullYear(t),i;if(r=n.MM.exec(e))return i=new Date(0),o=parseInt(r[1],10)-1,i.setUTCFullYear(t,o),i;if(r=n.DDD.exec(e)){i=new Date(0);var u=parseInt(r[1],10);return i.setUTCFullYear(t,0,u),i}if(r=n.MMDD.exec(e)){i=new Date(0),o=parseInt(r[1],10)-1;var l=parseInt(r[2],10);return i.setUTCFullYear(t,o,l),i}if(r=n.Www.exec(e))return s=parseInt(r[1],10)-1,a(t,s);if(r=n.WwwD.exec(e)){s=parseInt(r[1],10)-1;var c=parseInt(r[2],10)-1;return a(t,s,c)}return null}(c.restDateString,f);if(d){var h,p=d.getTime(),m=0;return l.time&&(m=function(r){var i,a,o;if(i=n.HH.exec(r))return(a=parseFloat(i[1].replace(",",".")))%24*e;if(i=n.HHMM.exec(r))return a=parseInt(i[1],10),o=parseFloat(i[2].replace(",",".")),a%24*e+o*t;if(i=n.HHMMSS.exec(r)){a=parseInt(i[1],10),o=parseInt(i[2],10);var s=parseFloat(i[3].replace(",","."));return a%24*e+o*t+1e3*s}return null}(l.time)),l.timezone?h=function(e){var t,r;if(t=n.timezoneZ.exec(e))return 0;if(t=n.timezoneHH.exec(e))return r=60*parseInt(t[2],10),"+"===t[1]?-r:r;if(t=n.timezoneHHMM.exec(e))return r=60*parseInt(t[2],10)+parseInt(t[3],10),"+"===t[1]?-r:r;return 0}(l.timezone):(h=new Date(p+m).getTimezoneOffset(),h=new Date(p+m+h*t).getTimezoneOffset()),new Date(p+m+h*t)}return new Date(i)}function a(e,t,r){t=t||0,r=r||0;var n=new Date(0);n.setUTCFullYear(e,0,4);var i=7*t+r+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+i),n}function o(e){e=e||{};var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}var s=6e4;function u(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return function(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=i(e,r).getTime(),a=Number(t);return new Date(n+a)}(e,Number(t)*s,r)}function l(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=i(e,t);return!isNaN(r)}var c={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"}};var f=/MMMM|MM|DD|dddd/g;function d(e){return e.replace(f,function(e){return e.slice(1)})}var h,p,m=(p={LTS:(h={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"}).LTS,LT:h.LT,L:h.L,LL:h.LL,LLL:h.LLL,LLLL:h.LLLL,l:h.l||d(h.L),ll:h.ll||d(h.LL),lll:h.lll||d(h.LLL),llll:h.llll||d(h.LLLL)},function(e){return p[e]}),v={lastWeek:"[last] dddd [at] LT",yesterday:"[yesterday at] LT",today:"[today at] LT",tomorrow:"[tomorrow at] LT",nextWeek:"dddd [at] LT",other:"L"};function g(e,t,r){return function(n,i){var a=i||{},o=a.type?String(a.type):t;return(e[o]||e[t])[r?r(Number(n)):Number(n)]}}function y(e,t){return function(r){var n=r||{},i=n.type?String(n.type):t;return e[i]||e[t]}}var b={narrow:["Su","Mo","Tu","We","Th","Fr","Sa"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},w={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"]},D={uppercase:["AM","PM"],lowercase:["am","pm"],long:["a.m.","p.m."]};function $(e,t){return function(r,n){var i=n||{},a=i.type?String(i.type):t,o=e[a]||e[t];return String(r).match(o)}}function _(e,t){return function(r,n){var i=n||{},a=i.type?String(i.type):t,o=e[a]||e[t],s=r[1];return o.findIndex(function(e){return e.test(s)})}}var T,M={formatDistance:function(e,t,r){var n;return r=r||{},n="string"==typeof c[e]?c[e]:1===t?c[e].one:c[e].other.replace("{{count}}",t),r.addSuffix?r.comparison>0?"in "+n:n+" ago":n},formatLong:m,formatRelative:function(e,t,r,n){return v[e]},localize:{ordinalNumber:function(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},weekday:g(b,"long"),weekdays:y(b,"long"),month:g(w,"long"),months:y(w,"long"),timeOfDay:g(D,"long",function(e){return e/12>=1?1:0}),timesOfDay:y(D,"long")},match:{ordinalNumbers:(T=/^(\d+)(th|st|nd|rd)?/i,function(e){return String(e).match(T)}),ordinalNumber:function(e){return parseInt(e[1],10)},weekdays:$({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:_({any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},"any"),months:$({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:_({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:$({short:/^(am|pm)/i,long:/^([ap]\.?\s?m\.?)/i},"long"),timeOfDay:_({any:[/^a/i,/^p/i]},"any")},options:{weekStartsOn:0,firstWeekContainsDate:1}},x=864e5;function A(e,t){var r=i(e,t),n=r.getTime();r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0);var a=n-r.getTime();return Math.floor(a/x)+1}function O(e,t){var r=i(e,t),n=r.getUTCDay(),a=(n<1?7:0)+n-1;return r.setUTCDate(r.getUTCDate()-a),r.setUTCHours(0,0,0,0),r}function F(e,t){var r=i(e,t),n=r.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var o=O(a,t),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var u=O(s,t);return r.getTime()>=o.getTime()?n+1:r.getTime()>=u.getTime()?n:n-1}function L(e,t){var r=F(e,t),n=new Date(0);return n.setUTCFullYear(r,0,4),n.setUTCHours(0,0,0,0),O(n,t)}var C=6048e5;function S(e,t){var r=i(e,t),n=O(r,t).getTime()-L(r,t).getTime();return Math.round(n/C)+1}var Y={M:function(e){return e.getUTCMonth()+1},Mo:function(e,t){var r=e.getUTCMonth()+1;return t.locale.localize.ordinalNumber(r,{unit:"month"})},MM:function(e){return E(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 r=Math.ceil((e.getUTCMonth()+1)/3);return t.locale.localize.ordinalNumber(r,{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 E(e.getUTCDate(),2)},DDD:function(e){return A(e)},DDDo:function(e,t){return t.locale.localize.ordinalNumber(A(e),{unit:"dayOfYear"})},DDDD:function(e){return E(A(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 S(e)},Wo:function(e,t){return t.locale.localize.ordinalNumber(S(e),{unit:"isoWeek"})},WW:function(e){return E(S(e),2)},YY:function(e){return E(e.getUTCFullYear(),4).substr(2)},YYYY:function(e){return E(e.getUTCFullYear(),4)},GG:function(e){return String(F(e)).substr(2)},GGGG:function(e){return F(e)},H:function(e){return e.getUTCHours()},HH:function(e){return E(e.getUTCHours(),2)},h:function(e){var t=e.getUTCHours();return 0===t?12:t>12?t%12:t},hh:function(e){return E(Y.h(e),2)},m:function(e){return e.getUTCMinutes()},mm:function(e){return E(e.getUTCMinutes(),2)},s:function(e){return e.getUTCSeconds()},ss:function(e){return E(e.getUTCSeconds(),2)},S:function(e){return Math.floor(e.getUTCMilliseconds()/100)},SS:function(e){return E(Math.floor(e.getUTCMilliseconds()/10),2)},SSS:function(e){return E(e.getUTCMilliseconds(),3)},Z:function(e,t){return N((t._originalDate||e).getTimezoneOffset(),":")},ZZ:function(e,t){return N((t._originalDate||e).getTimezoneOffset())},X:function(e,t){var r=t._originalDate||e;return Math.floor(r.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 N(e,t){t=t||"";var r=e>0?"-":"+",n=Math.abs(e),i=n%60;return r+E(Math.floor(n/60),2)+t+E(i,2)}function E(e,t){for(var r=Math.abs(e).toString();r.length<t;)r="0"+r;return r}var k=/(\[[^[]*])|(\\)?(LTS|LT|LLLL|LLL|LL|L|llll|lll|ll|l)/g,U=/(\[[^[]*])|(\\)?(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 j(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=String(t),a=r||{},s=a.locale||M;if(!s.localize)throw new RangeError("locale must contain localize property");if(!s.formatLong)throw new RangeError("locale must contain formatLong property");var u=s.formatters||{},c=s.formattingTokensRegExp||U,f=s.formatLong,d=i(e,a);if(!l(d,a))return"Invalid Date";var h,p,m,v=d.getTimezoneOffset(),g=(h=-v,p=i(d,a),m=Number(h),p.setUTCMinutes(p.getUTCMinutes()+m),p),y=o(a);return y.locale=s,y.formatters=Y,y._originalDate=d,n.replace(k,function(e){return"["===e[0]?e:"\\"===e[0]?Z(e):f(e)}).replace(c,function(e){var t=u[e]||Y[e];return t?t(g,y):Z(e)})}function Z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|]$/g,""):e.replace(/\\/g,"")}function z(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=i(e,r),a=i(t,r);return n.getTime()>a.getTime()}function H(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=i(e,r),a=i(t,r);return n.getTime()<a.getTime()}function q(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=i(e,r),a=i(t,r);return n.getTime()===a.getTime()}var W={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 R(e){return parseInt(e[1],10)}var I={YY:{unit:"twoDigitYear",match:W.twoDigits,parse:function(e){return R(e)}},YYYY:{unit:"year",match:W.YYYY,parse:R},GG:{unit:"isoYear",match:W.twoDigits,parse:function(e){return R(e)+1900}},GGGG:{unit:"isoYear",match:W.YYYY,parse:R},Q:{unit:"quarter",match:W.singleDigit,parse:R},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:W.M,parse:function(e){return R(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:W.twoDigits,parse:function(e){return R(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 r=t.locale.match.month(e,{type:"long"});return null==r&&(r=t.locale.match.month(e,{type:"short"})),r}},W:{unit:"isoWeek",match:W.W,parse:R},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:W.twoDigits,parse:R},d:{unit:"dayOfWeek",match:W.singleDigit,parse:R},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 r=t.locale.match.weekday(e,{type:"short"});return null==r&&(r=t.locale.match.weekday(e,{type:"narrow"})),r}},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 r=t.locale.match.weekday(e,{type:"long"});return null==r&&null==(r=t.locale.match.weekday(e,{type:"short"}))&&(r=t.locale.match.weekday(e,{type:"narrow"})),r}},E:{unit:"dayOfISOWeek",match:W.singleDigit,parse:function(e){return R(e)}},D:{unit:"dayOfMonth",match:W.D,parse:R},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:W.twoDigits,parse:R},DDD:{unit:"dayOfYear",match:W.DDD,parse:R},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:W.threeDigits,parse:R},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 r=t.locale.match.timeOfDay(e,{type:"long"});return null==r&&(r=t.locale.match.timeOfDay(e,{type:"short"})),r}},H:{unit:"hours",match:W.H,parse:R},HH:{unit:"hours",match:W.twoDigits,parse:R},h:{unit:"timeOfDayHours",match:W.M,parse:R},hh:{unit:"timeOfDayHours",match:W.twoDigits,parse:R},m:{unit:"minutes",match:W.m,parse:R},mm:{unit:"minutes",match:W.twoDigits,parse:R},s:{unit:"seconds",match:W.m,parse:R},ss:{unit:"seconds",match:W.twoDigits,parse:R},S:{unit:"milliseconds",match:W.singleDigit,parse:function(e){return 100*R(e)}},SS:{unit:"milliseconds",match:W.twoDigits,parse:function(e){return 10*R(e)}},SSS:{unit:"milliseconds",match:W.threeDigits,parse:R},Z:{unit:"timezone",match:W.Z,parse:function(e){var t=e[1],r=60*parseInt(e[2],10)+parseInt(e[3],10);return"+"===t?r:-r}},ZZ:{unit:"timezone",match:W.ZZ,parse:function(e){var t=e[1],r=60*parseInt(e[2],10)+parseInt(e[3],10);return"+"===t?r:-r}},X:{unit:"timestamp",match:W.anyDigits,parse:function(e){return 1e3*R(e)}},x:{unit:"timestamp",match:W.anyDigits,parse:R}};I.a=I.A;var P=864e5;var V={twoDigitYear:{priority:10,set:function(e,t){var r=100*Math.floor(e.date.getUTCFullYear()/100)+t;return e.date.setUTCFullYear(r,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,r){var n,a,o,s,u,l,c,f;return e.date=L((n=e.date,a=t,s=i(n,o=r),u=Number(a),l=L(s,o),c=Math.floor((s.getTime()-l.getTime())/P),(f=new Date(0)).setUTCFullYear(u,0,4),f.setUTCHours(0,0,0,0),(s=L(f,o)).setUTCDate(s.getUTCDate()+c),s),r),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,r){var n,a,o,s,u,l;return e.date=O((n=e.date,a=t,s=i(n,o=r),u=Number(a),l=S(s,o)-u,s.setUTCDate(s.getUTCDate()-7*l),s),r),e}},dayOfWeek:{priority:50,set:function(e,t,r){return e.date=function(e,t,r){var n=r||{},a=n.locale,o=a&&a.options&&a.options.weekStartsOn,s=void 0===o?0:Number(o),u=void 0===n.weekStartsOn?s:Number(n.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=i(e,r),c=Number(t),f=((c%7+7)%7<u?7:0)+c-l.getUTCDay();return l.setUTCDate(l.getUTCDate()+f),l}(e.date,t,r),e.date.setUTCHours(0,0,0,0),e}},dayOfISOWeek:{priority:50,set:function(e,t,r){return e.date=function(e,t,r){var n=Number(t);n%7==0&&(n-=7);var a=i(e,r),o=((n%7+7)%7<1?7:0)+n-a.getUTCDay();return a.setUTCDate(a.getUTCDate()+o),a}(e.date,t,r),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,r){return e.timeOfDay=t,e}},hours:{priority:70,set:function(e,t,r){return e.date.setUTCHours(t,0,0,0),e}},timeOfDayHours:{priority:70,set:function(e,t,r){var n=e.timeOfDay;return null!=n&&(t=function(e,t){if(0===t){if(12===e)return 0}else if(12!==e)return 12+e;return e}(t,n)),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}}},G=110,B=6e4,X=/(\[[^[]*])|(\\)?(LTS|LT|LLLL|LLL|LL|L|llll|lll|ll|l)/g,K=/(\[[^[]*])|(\\)?(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 Q(e,t,r,n){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var a=String(e),s=n||{},l=void 0===s.weekStartsOn?0:Number(s.weekStartsOn);if(!(l>=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=s.locale||M,f=c.parsers||{},d=c.units||{};if(!c.match)throw new RangeError("locale must contain match property");if(!c.formatLong)throw new RangeError("locale must contain formatLong property");var h=String(t).replace(X,function(e){return"["===e[0]?e:"\\"===e[0]?function(e){if(e.match(/\[[\s\S]/))return e.replace(/^\[|]$/g,"");return e.replace(/\\/g,"")}(e):c.formatLong(e)});if(""===h)return""===a?i(r,s):new Date(NaN);var p=o(s);p.locale=c;var m,v=h.match(c.parsingTokensRegExp||K),g=v.length,y=[{priority:G,set:J,index:0}];for(m=0;m<g;m++){var b=v[m],w=f[b]||I[b];if(w){var D;if(!(D=w.match instanceof RegExp?w.match.exec(a):w.match(a,p)))return new Date(NaN);var $=w.unit,_=d[$]||V[$];y.push({priority:_.priority,set:_.set,value:w.parse(D,p),index:y.length});var T=D[0];a=a.slice(T.length)}else{var x=v[m].match(/^\[.*]$/)?v[m].replace(/^\[|]$/g,""):v[m];if(0!==a.indexOf(x))return new Date(NaN);a=a.slice(x.length)}}var A=y.map(function(e){return e.priority}).sort(function(e,t){return e-t}).filter(function(e,t,r){return r.indexOf(e)===t}).map(function(e){return y.filter(function(t){return t.priority===e}).reverse()}).map(function(e){return e[0]}),O=i(r,s);if(isNaN(O))return new Date(NaN);var F={date:function(e,t,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return u(e,-Number(t),r)}(O,O.getTimezoneOffset())},L=A.length;for(m=0;m<L;m++){var C=A[m];F=C.set(F,C.value,p)}return F.date}function J(e){var t=e.date,r=t.getTime(),n=t.getTimezoneOffset();return n=new Date(r+n*B).getTimezoneOffset(),e.date=new Date(r+n*B),e}function ee(e,t){if("string"!=typeof e)return l(e)?e:null;var r=Q(e,t,new Date);return l(r)&&j(r,t)===e?r:null}var te={en:/^[A-Z]*$/i,cs:/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]*$/i,da:/^[A-ZÆØÅ]*$/i,de:/^[A-ZÄÖÜß]*$/i,es:/^[A-ZÁÉÍÑÓÚÜ]*$/i,fr:/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]*$/i,lt:/^[A-ZĄČĘĖĮŠŲŪŽ]*$/i,nl:/^[A-ZÉËÏÓÖÜ]*$/i,hu:/^[A-ZÁÉÍÓÖŐÚÜŰ]*$/i,pl:/^[A-ZĄĆĘŚŁŃÓŻŹ]*$/i,pt:/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i,ru:/^[А-ЯЁ]*$/i,sk:/^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ]*$/i,sr:/^[A-ZČĆŽŠĐ]*$/i,tr:/^[A-ZÇĞİıÖŞÜ]*$/i,uk:/^[А-ЩЬЮЯЄІЇҐ]*$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]*$/},re={en:/^[A-Z\s]*$/i,cs:/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ\s]*$/i,da:/^[A-ZÆØÅ\s]*$/i,de:/^[A-ZÄÖÜß\s]*$/i,es:/^[A-ZÁÉÍÑÓÚÜ\s]*$/i,fr:/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ\s]*$/i,lt:/^[A-ZĄČĘĖĮŠŲŪŽ\s]*$/i,nl:/^[A-ZÉËÏÓÖÜ\s]*$/i,hu:/^[A-ZÁÉÍÓÖŐÚÜŰ\s]*$/i,pl:/^[A-ZĄĆĘŚŁŃÓŻŹ\s]*$/i,pt:/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ\s]*$/i,ru:/^[А-ЯЁ\s]*$/i,sk:/^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ\s]*$/i,sr:/^[A-ZČĆŽŠĐ\s]*$/i,tr:/^[A-ZÇĞİıÖŞÜ\s]*$/i,uk:/^[А-ЩЬЮЯЄІЇҐ\s]*$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ\s]*$/},ne={en:/^[0-9A-Z]*$/i,cs:/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]*$/i,da:/^[0-9A-ZÆØÅ]$/i,de:/^[0-9A-ZÄÖÜß]*$/i,es:/^[0-9A-ZÁÉÍÑÓÚÜ]*$/i,fr:/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]*$/i,lt:/^[0-9A-ZĄČĘĖĮŠŲŪŽ]*$/i,hu:/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]*$/i,nl:/^[0-9A-ZÉËÏÓÖÜ]*$/i,pl:/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]*$/i,pt:/^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i,ru:/^[0-9А-ЯЁ]*$/i,sk:/^[0-9A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ]*$/i,sr:/^[0-9A-ZČĆŽŠĐ]*$/i,tr:/^[0-9A-ZÇĞİıÖŞÜ]*$/i,uk:/^[0-9А-ЩЬЮЯЄІЇҐ]*$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]*$/},ie={en:/^[0-9A-Z_-]*$/i,cs:/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ_-]*$/i,da:/^[0-9A-ZÆØÅ_-]*$/i,de:/^[0-9A-ZÄÖÜß_-]*$/i,es:/^[0-9A-ZÁÉÍÑÓÚÜ_-]*$/i,fr:/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ_-]*$/i,lt:/^[0-9A-ZĄČĘĖĮŠŲŪŽ_-]*$/i,nl:/^[0-9A-ZÉËÏÓÖÜ_-]*$/i,hu:/^[0-9A-ZÁÉÍÓÖŐÚÜŰ_-]*$/i,pl:/^[0-9A-ZĄĆĘŚŁŃÓŻŹ_-]*$/i,pt:/^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ_-]*$/i,ru:/^[0-9А-ЯЁ_-]*$/i,sk:/^[0-9A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ_-]*$/i,sr:/^[0-9A-ZČĆŽŠĐ_-]*$/i,tr:/^[0-9A-ZÇĞİıÖŞÜ_-]*$/i,uk:/^[0-9А-ЩЬЮЯЄІЇҐ_-]*$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ_-]*$/},ae=function(e,t){void 0===t&&(t=[]);var r=t[0];return void 0===r&&(r=null),Array.isArray(e)?e.every(function(e){return ae(e,[r])}):r?(te[r]||te.en).test(e):Object.keys(te).some(function(t){return te[t].test(e)})},oe=function(e,t){void 0===t&&(t=[]);var r=t[0];return void 0===r&&(r=null),Array.isArray(e)?e.every(function(e){return oe(e,[r])}):r?(ie[r]||ie.en).test(e):Object.keys(ie).some(function(t){return ie[t].test(e)})},se=function(e,t){void 0===t&&(t=[]);var r=t[0];return void 0===r&&(r=null),Array.isArray(e)?e.every(function(e){return se(e,[r])}):r?(ne[r]||ne.en).test(e):Object.keys(ne).some(function(t){return ne[t].test(e)})},ue=function(e,t){void 0===t&&(t=[]);var r=t[0];return void 0===r&&(r=null),Array.isArray(e)?e.every(function(e){return ue(e,[r])}):r?(re[r]||re.en).test(e):Object.keys(re).some(function(t){return re[t].test(e)})},le=function(e,t){var r=t[0],n=t[1];return Array.isArray(e)?e.every(function(e){return le(e,[r,n])}):Number(r)<=e&&Number(n)>=e};function ce(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function fe(e,t){return e(t={exports:{}},t.exports),t.exports}var de=fe(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String))throw new TypeError("This library (validator.js) validates strings only")},e.exports=t.default});ce(de);var he=ce(fe(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.default)(e);var t=e.replace(/[- ]+/g,"");if(!i.test(t))return!1;for(var r=0,a=void 0,o=void 0,s=void 0,u=t.length-1;u>=0;u--)a=t.substring(u,u+1),o=parseInt(a,10),r+=s&&(o*=2)>=10?o%10+1:o,s=!s;return!(r%10!=0||!t)};var r,n=(r=de)&&r.__esModule?r:{default:r};var i=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|62[0-9]{14})$/;e.exports=t.default})),pe=function(e,t){void 0===t&&(t=[]);var r=t[0];void 0===r&&(r="*");var n=t[1];if(void 0===n&&(n="."),Array.isArray(e))return e.every(function(e){return pe(e,[r,n])});if(null==e||""===e)return!0;if(0===Number(r))return/^-?\d*$/.test(e);if(!new RegExp("^-?\\d*(\\"+n+"\\d"+("*"===r?"+":"{1,"+r+"}")+")?$").test(e))return!1;var i=parseFloat(e);return i==i},me=function(e,t){var r=t[0];if(Array.isArray(e))return e.every(function(e){return me(e,[r])});var n=String(e);return/^[0-9]*$/.test(n)&&n.length===Number(r)},ve=fe(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];for(var r in t)void 0===e[r]&&(e[r]=t[r]);return e},e.exports=t.default});ce(ve);var ge=fe(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,i.default)(e);var n=void 0,a=void 0;"object"===(void 0===t?"undefined":r(t))?(n=t.min||0,a=t.max):(n=arguments[1],a=arguments[2]);var o=encodeURI(e).split(/%..|./).length-1;return o>=n&&(void 0===a||o<=a)};var n,i=(n=de)&&n.__esModule?n:{default:n};e.exports=t.default});ce(ge);var ye=fe(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e),(t=(0,n.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));var i=e.split(".");if(t.require_tld){var o=i.pop();if(!i.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(o))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(o))return!1}for(var s,u=0;u<i.length;u++){if(s=i[u],t.allow_underscores&&(s=s.replace(/_/g,"")),!/^[a-z\u00a1-\uffff0-9-]+$/i.test(s))return!1;if(/[\uff01-\uff5e]/.test(s))return!1;if("-"===s[0]||"-"===s[s.length-1])return!1}return!0};var r=i(de),n=i(ve);function i(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1};e.exports=t.default});ce(ye);var be,we=ce(fe(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),(t=(0,n.default)(t,s)).require_display_name||t.allow_display_name){var o=e.match(u);if(o)e=o[1];else if(t.require_display_name)return!1}var h=e.split("@"),p=h.pop(),m=h.join("@"),v=p.toLowerCase();"gmail.com"!==v&&"googlemail.com"!==v||(m=m.replace(/\./g,"").toLowerCase());if(!(0,i.default)(m,{max:64})||!(0,i.default)(p,{max:254}))return!1;if(!(0,a.default)(p,{require_tld:t.require_tld}))return!1;if('"'===m[0])return m=m.slice(1,m.length-1),t.allow_utf8_local_part?d.test(m):c.test(m);for(var g=t.allow_utf8_local_part?f:l,y=m.split("."),b=0;b<y.length;b++)if(!g.test(y[b]))return!1;return!0};var r=o(de),n=o(ve),i=o(ge),a=o(ye);function o(e){return e&&e.__esModule?e:{default:e}}var s={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0},u=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\,\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\s]*<(.+)>$/i,l=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,c=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,d=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default})),De=function(e,t){return Array.isArray(e)?e.every(function(e){return De(e,t)}):!!t.filter(function(t){return t==e}).length},$e=fe(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,n.default)(t);r=String(r);{if(!r)return e(t,4)||e(t,6);if("4"===r){if(!i.test(t))return!1;var o=t.split(".").sort(function(e,t){return e-t});return o[3]<=255}if("6"===r){var s=t.split(":"),u=!1,l=e(s[s.length-1],4),c=l?7:8;if(s.length>c)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(s.shift(),s.shift(),u=!0):"::"===t.substr(t.length-2)&&(s.pop(),s.pop(),u=!0);for(var f=0;f<s.length;++f)if(""===s[f]&&f>0&&f<s.length-1){if(u)return!1;u=!0}else if(l&&f===s.length-1);else if(!a.test(s[f]))return!1;return u?s.length>=1:s.length===c}}return!1};var r,n=(r=de)&&r.__esModule?r:{default:r};var i=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,a=/^[0-9A-F]{1,4}$/i;e.exports=t.default}),_e=ce($e),Te=function(e,t){return e.getAttribute("data-vv-"+t)},Me=function(e){return null==e},xe=function(e,t){if(e instanceof RegExp&&t instanceof RegExp)return xe(e.source,t.source)&&xe(e.flags,t.flags);if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!xe(e[r],t[r]))return!1;return!0}return Ce(e)&&Ce(t)?Object.keys(e).every(function(r){return xe(e[r],t[r])})&&Object.keys(t).every(function(r){return xe(e[r],t[r])}):e===t},Ae=function(e,t,r){if(void 0===r&&(r=void 0),!e||!t)return r;var n=t;return e.split(".").every(function(e){return Object.prototype.hasOwnProperty.call(n,e)||void 0!==n[e]?(n=n[e],!0):(n=r,!1)}),n},Oe=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=!1),0===t?e:function(){for(var i=[],a=arguments.length;a--;)i[a]=arguments[a];var o=r&&!n;clearTimeout(n),n=setTimeout(function(){n=null,r||e.apply(void 0,i)},t),o&&e.apply(void 0,i)};var n},Fe=function(e){console.warn("[vee-validate] "+e)},Le=function(e){return new Error("[vee-validate] "+e)},Ce=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)},Se=function(e){return"function"==typeof e},Ye=function(e,t){return e.classList?e.classList.contains(t):!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))},Ne=function(e,t,r){var n,i;if(e&&t){if(!Array.isArray(t))return r?(i=t,void((n=e).classList?n.classList.add(i):Ye(n,i)||(n.className+=" "+i))):void function(e,t){if(e.classList)e.classList.remove(t);else if(Ye(e,t)){var r=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(r," ")}}(e,t);t.forEach(function(t){return Ne(e,t,r)})}},Ee=function(e){if(Se(Array.from))return Array.from(e);for(var t=[],r=e.length,n=0;n<r;n++)t.push(e[n]);return t},ke=function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(Se(Object.assign))return Object.assign.apply(Object,[e].concat(t));if(null==e)throw new TypeError("Cannot convert undefined or null to object");var n=Object(e);return t.forEach(function(e){null!=e&&Object.keys(e).forEach(function(t){n[t]=e[t]})}),n},Ue=0,je="{id}",Ze=function(e,t){for(var r=Array.isArray(e)?e:Ee(e),n=0;n<r.length;n++)if(t(r[n]))return r[n]},ze=function(e){return e&&("SELECT"===e.tagName||~["radio","checkbox","file"].indexOf(e.type))?"change":"input"},He=function(e){if(!e)return!1;var t=e.componentOptions.tag;return/keep-alive|transition|transition-group/.test(t)},qe=function(e,t,r){return"number"==typeof t?e.reduce(function(e,r){return e[r]=t,e},{}):e.reduce(function(e,n){return"object"==typeof t&&n in t?(e[n]=t[n],e):"number"==typeof r?(e[n]=r,e):(e[n]=r&&r[n]||0,e)},{})},We=function(e){if("number"==typeof e)return e;if("string"==typeof e)return parseInt(e);var t={};for(var r in e)t[r]=parseInt(e[r]);return t},Re=function(e,t){return Ce(e)&&Ce(t)?(Object.keys(t).forEach(function(r){var n,i;Ce(t[r])?(e[r]||ke(e,((n={})[r]={},n)),Re(e[r],t[r])):ke(e,((i={})[r]=t[r],i))}),e):e},Ie=function(e,t){return Array.isArray(e)?e.every(function(e){return Ie(e,t)}):!t.filter(function(t){return t==e}).length},Pe=ce(fe(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),!e||e.length>=2083||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;t=(0,a.default)(t,s);var o=void 0,c=void 0,f=void 0,d=void 0,h=void 0,p=void 0,m=void 0,v=void 0;if(m=e.split("#"),e=m.shift(),m=e.split("?"),e=m.shift(),(m=e.split("://")).length>1){if(o=m.shift(),t.require_valid_protocol&&-1===t.protocols.indexOf(o))return!1}else{if(t.require_protocol)return!1;t.allow_protocol_relative_urls&&"//"===e.substr(0,2)&&(m[0]=e.substr(2))}if(""===(e=m.join("://")))return!1;if(m=e.split("/"),""===(e=m.shift())&&!t.require_host)return!0;if((m=e.split("@")).length>1&&(c=m.shift()).indexOf(":")>=0&&c.split(":").length>2)return!1;d=m.join("@"),p=null,v=null;var g=d.match(u);g?(f="",v=g[1],p=g[2]||null):(m=d.split(":"),f=m.shift(),m.length&&(p=m.join(":")));if(null!==p&&(h=parseInt(p,10),!/^[0-9]+$/.test(p)||h<=0||h>65535))return!1;if(!((0,i.default)(f)||(0,n.default)(f,t)||v&&(0,i.default)(v,6)))return!1;if(f=f||v,t.host_whitelist&&!l(f,t.host_whitelist))return!1;if(t.host_blacklist&&l(f,t.host_blacklist))return!1;return!0};var r=o(de),n=o(ye),i=o($e),a=o(ve);function o(e){return e&&e.__esModule?e:{default:e}}var s={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},u=/^\[([^\]]+)\](?::([0-9]+))?$/;function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(e===n||(i=n,"[object RegExp]"===Object.prototype.toString.call(i)&&n.test(e)))return!0}var i;return!1}e.exports=t.default})),Ve={after:function(e,t){var r=t[0],n=t[1],i=t[2];return void 0===i&&(i=n,n=!1),e=ee(e,i),r=ee(r,i),!(!e||!r)&&(z(e,r)||n&&q(e,r))},alpha_dash:oe,alpha_num:se,alpha_spaces:ue,alpha:ae,before:function(e,t){var r=t[0],n=t[1],i=t[2];return void 0===i&&(i=n,n=!1),e=ee(e,i),r=ee(r,i),!(!e||!r)&&(H(e,r)||n&&q(e,r))},between:le,confirmed:function(e,t){return String(e)===String(t)},credit_card:function(e){return he(String(e))},date_between:function(e,t){var r,n,i,a,o,s="()";t.length>3?(r=(a=t)[0],n=a[1],s=a[2],i=a[3]):(r=(o=t)[0],n=o[1],i=o[2]);var u=ee(String(r),i),l=ee(String(n),i),c=ee(String(e),i);return!!(u&&l&&c)&&("()"===s?z(c,u)&&H(c,l):"(]"===s?z(c,u)&&(q(c,l)||H(c,l)):"[)"===s?H(c,l)&&(q(c,u)||z(c,u)):q(c,l)||q(c,u)||H(c,l)&&z(c,u))},date_format:function(e,t){return!!ee(e,t[0])},decimal:pe,digits:me,dimensions:function(e,t){for(var r=t[0],n=t[1],i=[],a=0;a<e.length;a++){if(!/\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(e[a].name))return!1;i.push(e[a])}return Promise.all(i.map(function(e){return t=e,i=r,a=n,o=window.URL||window.webkitURL,new Promise(function(e){var r=new Image;r.onerror=function(){return e({valid:!1})},r.onload=function(){return e({valid:r.width===Number(i)&&r.height===Number(a)})},r.src=o.createObjectURL(t)});var t,i,a,o}))},email:function(e){return Array.isArray(e)?e.every(function(e){return we(String(e))}):we(String(e))},ext:function(e,t){var r=new RegExp(".("+t.join("|")+")$","i");return e.every(function(e){return r.test(e.name)})},image:function(e){return e.every(function(e){return/\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(e.name)})},in:De,integer:function(e){return Array.isArray(e)?e.every(function(e){return/^-?[0-9]+$/.test(String(e))}):/^-?[0-9]+$/.test(String(e))},length:function(e,t){var r,n,i,a=t[0],o=t[1];return void 0===o&&(o=void 0),a=Number(a),null!=e&&("number"==typeof e&&(e=String(e)),e.length||(e=Ee(e)),r=e,n=a,void 0===(i=o)?r.length===n:(i=Number(i),r.length>=n&&r.length<=i))},ip:function(e,t){void 0===t&&(t=[]);var r=t[0];return void 0===r&&(r=4),Me(e)&&(e=""),Array.isArray(e)?e.every(function(e){return _e(e,r)}):_e(e,r)},is_not:function(e,t){return void 0===t&&(t=[]),e!==t[0]},is:function(e,t){return void 0===t&&(t=[]),e===t[0]},max:function(e,t){var r=t[0];return null==e?r>=0:String(e).length<=r},max_value:function(e,t){var r=t[0];return!Array.isArray(e)&&null!=e&&""!==e&&Number(e)<=r},mimes:function(e,t){var r=new RegExp(t.join("|").replace("*",".+")+"$","i");return e.every(function(e){return r.test(e.type)})},min:function(e,t){var r=t[0];return null!=e&&String(e).length>=r},min_value:function(e,t){var r=t[0];return!Array.isArray(e)&&null!=e&&""!==e&&Number(e)>=r},not_in:Ie,numeric:function(e){return Array.isArray(e)?e.every(function(e){return/^[0-9]+$/.test(String(e))}):/^[0-9]+$/.test(String(e))},regex:function(e,t){var r=t[0],n=t.slice(1);return r instanceof RegExp?r.test(e):new RegExp(r,n).test(String(e))},required:function(e,t){void 0===t&&(t=[]);var r=t[0];return void 0===r&&(r=!1),Array.isArray(e)?!!e.length:!(!1===e&&r||null==e||!String(e).trim().length)},size:function(e,t){var r=t[0];if(isNaN(r))return!1;for(var n=1024*Number(r),i=0;i<e.length;i++)if(e[i].size>n)return!1;return!0},url:function(e,t){void 0===t&&(t=[]);var r=t[0];void 0===r&&(r=!1);var n={require_protocol:!!r,allow_underscores:!0};return Me(e)&&(e=""),Array.isArray(e)?e.every(function(e){return Pe(e,n)}):Pe(e,n)}},Ge={name:"en",messages:{_default:function(e){return"The "+e+" value is not valid."},after:function(e,t){var r=t[0];return"The "+e+" must be after "+(t[1]?"or equal to ":"")+r+"."},alpha_dash:function(e){return"The "+e+" field may contain alpha-numeric characters as well as dashes and underscores."},alpha_num:function(e){return"The "+e+" field may only contain alpha-numeric characters."},alpha_spaces:function(e){return"The "+e+" field may only contain alphabetic characters as well as spaces."},alpha:function(e){return"The "+e+" field may only contain alphabetic characters."},before:function(e,t){var r=t[0];return"The "+e+" must be before "+(t[1]?"or equal to ":"")+r+"."},between:function(e,t){return"The "+e+" field must be between "+t[0]+" and "+t[1]+"."},confirmed:function(e){return"The "+e+" confirmation does not match."},credit_card:function(e){return"The "+e+" field is invalid."},date_between:function(e,t){return"The "+e+" must be between "+t[0]+" and "+t[1]+"."},date_format:function(e,t){return"The "+e+" must be in the format "+t[0]+"."},decimal:function(e,t){void 0===t&&(t=[]);var r=t[0];return void 0===r&&(r="*"),"The "+e+" field must be numeric and may contain "+(r&&"*"!==r?r:"")+" decimal points."},digits:function(e,t){return"The "+e+" field must be numeric and exactly contain "+t[0]+" digits."},dimensions:function(e,t){return"The "+e+" field must be "+t[0]+" pixels by "+t[1]+" pixels."},email:function(e){return"The "+e+" field must be a valid email."},ext:function(e){return"The "+e+" field must be a valid file."},image:function(e){return"The "+e+" field must be an image."},in:function(e){return"The "+e+" field must be a valid value."},integer:function(e){return"The "+e+" field must be an integer."},ip:function(e){return"The "+e+" field must be a valid ip address."},length:function(e,t){var r=t[0],n=t[1];return n?"The "+e+" length be between "+r+" and "+n+".":"The "+e+" length must be "+r+"."},max:function(e,t){return"The "+e+" field may not be greater than "+t[0]+" characters."},max_value:function(e,t){return"The "+e+" field must be "+t[0]+" or less."},mimes:function(e){return"The "+e+" field must have a valid file type."},min:function(e,t){return"The "+e+" field must be at least "+t[0]+" characters."},min_value:function(e,t){return"The "+e+" field must be "+t[0]+" or more."},not_in:function(e){return"The "+e+" field must be a valid value."},numeric:function(e){return"The "+e+" field may only contain numeric characters."},regex:function(e){return"The "+e+" field format is invalid."},required:function(e){return"The "+e+" field is required."},size:function(e,t){var r,n,i=t[0];return"The "+e+" size must be less than "+(r=i,n=0==(r=1024*Number(r))?0:Math.floor(Math.log(r)/Math.log(1024)),1*(r/Math.pow(1024,n)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][n])+"."},url:function(e){return"The "+e+" field is not a valid URL."}},attributes:{}};"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((be={})[Ge.name]=Ge,be));var Be=function(){this.items=[]};Be.prototype.add=function(e){arguments.length>1&&(e={field:arguments[0],msg:arguments[1],rule:arguments[2],scope:Me(arguments[3])?null:arguments[3],regenerate:null}),e.scope=Me(e.scope)?null:e.scope,this.items.push(e)},Be.prototype.regenerate=function(){this.items.forEach(function(e){e.msg=Se(e.regenerate)?e.regenerate():e.msg})},Be.prototype.update=function(e,t){var r=Ze(this.items,function(t){return t.id===e});if(r){var n=this.items.indexOf(r);this.items.splice(n,1),r.scope=t.scope,this.items.push(r)}},Be.prototype.all=function(e){return Me(e)?this.items.map(function(e){return e.msg}):this.items.filter(function(t){return t.scope===e}).map(function(e){return e.msg})},Be.prototype.any=function(e){return Me(e)?!!this.items.length:!!this.items.filter(function(t){return t.scope===e}).length},Be.prototype.clear=function(e){Me(e)&&(e=null);for(var t=0;t<this.items.length;++t)this.items[t].scope===e&&(this.items.splice(t,1),--t)},Be.prototype.collect=function(e,t,r){if(void 0===r&&(r=!0),!e){var n={};return this.items.forEach(function(e){n[e.field]||(n[e.field]=[]),n[e.field].push(r?e.msg:e)}),n}return e=Me(e)?e:String(e),Me(t)?this.items.filter(function(t){return t.field===e}).map(function(e){return r?e.msg:e}):this.items.filter(function(r){return r.field===e&&r.scope===t}).map(function(e){return r?e.msg:e})},Be.prototype.count=function(){return this.items.length},Be.prototype.firstById=function(e){var t=Ze(this.items,function(t){return t.id===e});return t?t.msg:null},Be.prototype.first=function(e,t){if(void 0===t&&(t=null),Me(e))return null;e=String(e);var r=this._selector(e),n=this._scope(e);if(n){var i=this.first(n.name,n.scope);if(i)return i}if(r)return this.firstByRule(r.name,r.rule,t);for(var a=0;a<this.items.length;++a)if(this.items[a].field===e&&this.items[a].scope===t)return this.items[a].msg;return null},Be.prototype.firstRule=function(e,t){var r=this.collect(e,t,!1);return r.length&&r[0].rule||null},Be.prototype.has=function(e,t){return void 0===t&&(t=null),!!this.first(e,t)},Be.prototype.firstByRule=function(e,t,r){void 0===r&&(r=null);var n=this.collect(e,r,!1).filter(function(e){return e.rule===t})[0];return n&&n.msg||null},Be.prototype.firstNot=function(e,t,r){void 0===t&&(t="required"),void 0===r&&(r=null);var n=this.collect(e,r,!1).filter(function(e){return e.rule!==t})[0];return n&&n.msg||null},Be.prototype.removeById=function(e){for(var t=0;t<this.items.length;++t)this.items[t].id===e&&(this.items.splice(t,1),--t)},Be.prototype.remove=function(e,t,r){e=Me(e)?e:String(e);for(var n,i=0;i<this.items.length;++i)((n=this.items[i]).id&&r?n.id===r:Me(t)?n.field===e&&null===n.scope:n.field===e&&n.scope===t)&&(this.items.splice(i,1),--i)},Be.prototype._selector=function(e){if(e.indexOf(":")>-1){var t=e.split(":");return{name:t[0],rule:t[1]}}return null},Be.prototype._scope=function(e){if(e.indexOf(".")>-1){var t=e.split("."),r=t[0];return{name:t.slice(1).join("."),scope:r}}return null};var Xe="en",Ke=function(e){void 0===e&&(e={}),this.container={},this.merge(e)},Qe={locale:{}};Qe.locale.get=function(){return Xe},Qe.locale.set=function(e){Xe=e||"en"},Ke.prototype.hasLocale=function(e){return!!this.container[e]},Ke.prototype.setDateFormat=function(e,t){this.container[e]||(this.container[e]={}),this.container[e].dateFormat=t},Ke.prototype.getDateFormat=function(e){return this.container[e]&&this.container[e].dateFormat?this.container[e].dateFormat:null},Ke.prototype.getMessage=function(e,t,r){var n=null;return n=this.hasMessage(e,t)?this.container[e].messages[t]:this._getDefaultMessage(e),Se(n)?n.apply(void 0,r):n},Ke.prototype.getFieldMessage=function(e,t,r,n){if(!this.hasLocale(e))return this.getMessage(e,r,n);var i=this.container[e].custom&&this.container[e].custom[t];if(!i||!i[r])return this.getMessage(e,r,n);var a=i[r];return Se(a)?a.apply(void 0,n):a},Ke.prototype._getDefaultMessage=function(e){return this.hasMessage(e,"_default")?this.container[e].messages._default:this.container.en.messages._default},Ke.prototype.getAttribute=function(e,t,r){return void 0===r&&(r=""),this.hasAttribute(e,t)?this.container[e].attributes[t]:r},Ke.prototype.hasMessage=function(e,t){return!!(this.hasLocale(e)&&this.container[e].messages&&this.container[e].messages[t])},Ke.prototype.hasAttribute=function(e,t){return!!(this.hasLocale(e)&&this.container[e].attributes&&this.container[e].attributes[t])},Ke.prototype.merge=function(e){Re(this.container,e)},Ke.prototype.setMessage=function(e,t,r){this.hasLocale(e)||(this.container[e]={messages:{},attributes:{}}),this.container[e].messages[t]=r},Ke.prototype.setAttribute=function(e,t,r){this.hasLocale(e)||(this.container[e]={messages:{},attributes:{}}),this.container[e].attributes[t]=r},Object.defineProperties(Ke.prototype,Qe);var Je=function(e){return Ce(e)?Object.keys(e).reduce(function(t,r){return t[r]=Je(e[r]),t},{}):Se(e)?e("{0}",["{1}","{2}","{3}"]):e},et=function(e,t){this.i18n=e,this.rootKey=t},tt={locale:{}};tt.locale.get=function(){return this.i18n.locale},tt.locale.set=function(e){Fe("Cannot set locale from the validator when using vue-i18n, use i18n.locale setter instead")},et.prototype.getDateFormat=function(e){return this.i18n.getDateTimeFormat(e||this.locale)},et.prototype.setDateFormat=function(e,t){this.i18n.setDateTimeFormat(e||this.locale,t)},et.prototype.getMessage=function(e,t,r){var n=this.rootKey+".messages."+t;return this.i18n.te(n)?this.i18n.t(n,e,r):this.i18n.t(this.rootKey+".messages._default",e,r)},et.prototype.getAttribute=function(e,t,r){void 0===r&&(r="");var n=this.rootKey+".attributes."+t;return this.i18n.te(n)?this.i18n.t(n,e):r},et.prototype.getFieldMessage=function(e,t,r,n){var i=this.rootKey+".custom."+t+"."+r;return this.i18n.te(i)?this.i18n.t(i):this.getMessage(e,r,n)},et.prototype.merge=function(e){var t=this;Object.keys(e).forEach(function(r){var n,i,a=Re({},Ae(r+"."+t.rootKey,t.i18n.messages,{})),o=Re(a,(n=e[r],{messages:Je(n.messages),custom:Je(n.custom),attributes:n.attributes,dateFormat:n.dateFormat}));t.i18n.mergeLocaleMessage(r,((i={})[t.rootKey]=o,i)),o.dateFormat&&t.i18n.setDateTimeFormat(r,o.dateFormat)})},et.prototype.setMessage=function(e,t,r){var n,i;this.merge(((i={})[e]={messages:(n={},n[t]=r,n)},i))},et.prototype.setAttribute=function(e,t,r){var n,i;this.merge(((i={})[e]={attributes:(n={},n[t]=r,n)},i))},Object.defineProperties(et.prototype,tt);var rt={locale:"en",delay:0,errorBagName:"errors",dictionary:null,strict:!0,fieldsBagName:"fields",classes:!1,classNames:null,events:"input|blur",inject:!0,fastExit:!0,aria:!0,validity:!1,i18n:null,i18nRootKey:"validation"},nt=ke({},rt),it={dictionary:new Ke({en:{messages:{},attributes:{},custom:{}}})},at=function(){},ot={default:{},current:{}};ot.default.get=function(){return rt},ot.current.get=function(){return nt},at.dependency=function(e){return it[e]},at.merge=function(e){(nt=ke({},nt,e)).i18n&&at.register("dictionary",new et(nt.i18n,nt.i18nRootKey))},at.register=function(e,t){it[e]=t},at.resolve=function(e){var t=Ae("$options.$_veeValidate",e,{});return ke({},at.current,t)},Object.defineProperties(at,ot);var st=function(){};st.generate=function(e,t,r){var n=st.resolveModel(t,r),i=at.resolve(r.context);return{name:st.resolveName(e,r),el:e,listen:!t.modifiers.disable,scope:st.resolveScope(e,t,r),vm:st.makeVM(r.context),expression:t.value,component:r.child,classes:i.classes,classNames:i.classNames,getter:st.resolveGetter(e,r,n),events:st.resolveEvents(e,r)||i.events,model:n,delay:st.resolveDelay(e,r,i),rules:st.resolveRules(e,t),initial:!!t.modifiers.initial,validity:i.validity,aria:i.aria,initialValue:st.resolveInitialValue(r)}},st.getCtorConfig=function(e){return e.child?Ae("child.$options.$_veeValidate",e):null},st.resolveRules=function(e,t){return t.value||t&&t.expression?t.value&&~["string","object"].indexOf(typeof t.value.rules)?t.value.rules:t.value:Te(e,"rules")},st.resolveInitialValue=function(e){var t=e.data.model||Ze(e.data.directives,function(e){return"model"===e.name});return t&&t.value},st.makeVM=function(e){return{get $el(){return e.$el},get $refs(){return e.$refs},$watch:e.$watch?e.$watch.bind(e):function(){},$validator:e.$validator?{errors:e.$validator.errors,validate:e.$validator.validate.bind(e.$validator),update:e.$validator.update.bind(e.$validator)}:null}},st.resolveDelay=function(e,t,r){var n=Te(e,"delay"),i=r&&"delay"in r?r.delay:0;return!n&&t.child&&t.child.$attrs&&(n=t.child.$attrs["data-vv-delay"]),Ce(i)?(i.input=n||0,We(i)):We(n||i)},st.resolveEvents=function(e,t){var r=Te(e,"validate-on");if(!r&&t.child&&t.child.$attrs&&(r=t.child.$attrs["data-vv-validate-on"]),!r&&t.child){var n=st.getCtorConfig(t);r=n&&n.events}return r},st.resolveScope=function(e,t,r){void 0===r&&(r={});var n,i,a=null;return r.child&&Me(a)&&(a=r.child.$attrs&&r.child.$attrs["data-vv-scope"]),Me(a)?(i=Te(n=e,"scope"),Me(i)&&n.form&&(i=Te(n.form,"scope")),Me(i)?null:i):a},st.resolveModel=function(e,t){if(e.arg)return{expression:e.arg};var r=t.data.model||Ze(t.data.directives,function(e){return"model"===e.name});if(!r)return null;var n,i,a,o=/^[a-z_]+[0-9]*(\w*\.[a-z_]\w*)*$/i.test(r.expression)&&(n=r.expression,i=t.context,a=i,n.split(".").every(function(e){return!!Object.prototype.hasOwnProperty.call(a,e)&&(a=a[e],!0)})),s=!(!r.modifiers||!r.modifiers.lazy);return o?{expression:r.expression,lazy:s}:{expression:null,lazy:s}},st.resolveName=function(e,t){var r=Te(e,"name");if(!r&&!t.child)return e.name;if(!r&&t.child&&t.child.$attrs&&(r=t.child.$attrs["data-vv-name"]||t.child.$attrs.name),!r&&t.child){var n=st.getCtorConfig(t);return n&&Se(n.name)?n.name.bind(t.child)():t.child.name}return r},st.resolveGetter=function(e,t,r){if(r&&r.expression)return function(){return Ae(r.expression,t.context)};if(t.child){var n=Te(e,"value-path")||t.child.$attrs&&t.child.$attrs["data-vv-value-path"];if(n)return function(){return Ae(n,t.child)};var i=st.getCtorConfig(t);if(i&&Se(i.value)){var a=i.value.bind(t.child);return function(){return a()}}return function(){return t.child.value}}switch(e.type){case"checkbox":return function(){var t=document.querySelectorAll('input[name="'+e.name+'"]');if((t=Ee(t).filter(function(e){return e.checked})).length)return t.map(function(e){return e.value})};case"radio":return function(){var t=document.querySelectorAll('input[name="'+e.name+'"]'),r=Ze(t,function(e){return e.checked});return r&&r.value};case"file":return function(t){return Ee(e.files)};case"select-multiple":return function(){return Ee(e.options).filter(function(e){return e.selected}).map(function(e){return e.value})};default:return function(){return e&&e.value}}};var ut={targetOf:null,initial:!1,scope:null,listen:!0,name:null,rules:{},vm:null,classes:!1,validity:!0,aria:!0,events:"input|blur",delay:0,classNames:{touched:"touched",untouched:"untouched",valid:"valid",invalid:"invalid",pristine:"pristine",dirty:"dirty"}},lt=function(e,t){void 0===t&&(t={}),this.id=(Ue>=9999&&(Ue=0,je=je.replace("{id}","_{id}")),Ue++,je.replace("{id}",String(Ue))),this.el=e,this.updated=!1,this.dependencies=[],this.watchers=[],this.events=[],this.delay=0,this.rules={},this._cacheId(t),this.classNames=ke({},ut.classNames),t=ke({},ut,t),this._delay=Me(t.delay)?0:t.delay,this.validity=t.validity,this.aria=t.aria,this.flags={untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1},this.vm=t.vm,this.component=t.component,this.ctorConfig=this.component?Ae("$options.$_veeValidate",this.component):void 0,this.update(t),this.updated=!1},ct={validator:{},isRequired:{},isDisabled:{},alias:{},value:{},rejectsFalse:{}};ct.validator.get=function(){return this.vm&&this.vm.$validator?this.vm.$validator:(Fe("No validator instance detected."),{validate:function(){}})},ct.isRequired.get=function(){return!!this.rules.required},ct.isDisabled.get=function(){return!(!this.component||!this.component.disabled)||!(!this.el||!this.el.disabled)},ct.alias.get=function(){if(this._alias)return this._alias;var e=null;return this.el&&(e=Te(this.el,"as")),!e&&this.component?this.component.$attrs&&this.component.$attrs["data-vv-as"]:e},ct.value.get=function(){if(Se(this.getter))return this.getter()},ct.rejectsFalse.get=function(){return this.component&&this.ctorConfig?!!this.ctorConfig.rejectsFalse:!!this.el&&"checkbox"===this.el.type},lt.prototype.matches=function(e){return e.id?this.id===e.id:void 0===e.name&&void 0===e.scope||(void 0===e.scope?this.name===e.name:void 0===e.name?this.scope===e.scope:e.name===this.name&&e.scope===this.scope)},lt.prototype._cacheId=function(e){var t,r,n;this.el&&!e.targetOf&&(t=this.el,r="id",n=this.id,t.setAttribute("data-vv-"+r,n))},lt.prototype.update=function(e){var t,r;this.targetOf=e.targetOf||null,this.initial=e.initial||this.initial||!1,!Me(e.scope)&&e.scope!==this.scope&&Se(this.validator.update)&&this.validator.update(this.id,{scope:e.scope}),this.scope=Me(e.scope)?Me(this.scope)?null:this.scope:e.scope,this.name=(Me(e.name)?e.name:String(e.name))||this.name||null,this.rules=void 0!==e.rules?(t=e.rules)?Ce(t)?Object.keys(t).reduce(function(e,r){var n=[];return n=!0===t[r]?[]:Array.isArray(t[r])?t[r]:[t[r]],!1!==t[r]&&(e[r]=n),e},{}):"string"!=typeof t?(Fe("rules must be either a string or an object."),{}):t.split("|").reduce(function(e,t){var r,n,i,a=(n=[],i=(r=t).split(":")[0],~r.indexOf(":")&&(n=r.split(":").slice(1).join(":").split(",")),{name:i,params:n});return a.name?(e[a.name]=a.params,e):e},{}):{}:this.rules,this.model=e.model||this.model,this.listen=void 0!==e.listen?e.listen:this.listen,this.classes=!(!e.classes&&!this.classes)&&!this.component,this.classNames=Ce(e.classNames)?Re(this.classNames,e.classNames):this.classNames,this.getter=Se(e.getter)?e.getter:this.getter,this._alias=e.alias||this._alias,this.events=e.events?"string"==typeof(r=e.events)&&r.length?r.split("|"):[]:this.events,this.delay=e.delay?qe(this.events,e.delay,this._delay):qe(this.events,this.delay,this._delay),this.updateDependencies(),this.addActionListeners(),void 0!==e.rules&&(this.flags.required=this.isRequired),this.flags.validated&&void 0!==e.rules&&this.updated&&this.validator.validate("#"+this.id),this.updated=!0,this.addValueListeners(),this.el&&(this.updateClasses(),this.updateAriaAttrs())},lt.prototype.reset=function(){var e=this,t={untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1};Object.keys(this.flags).filter(function(e){return"required"!==e}).forEach(function(r){e.flags[r]=t[r]}),this.addActionListeners(),this.updateClasses(),this.updateAriaAttrs(),this.updateCustomValidity()},lt.prototype.setFlags=function(e){var t=this,r={pristine:"dirty",dirty:"pristine",valid:"invalid",invalid:"valid",touched:"untouched",untouched:"touched"};Object.keys(e).forEach(function(n){t.flags[n]=e[n],r[n]&&void 0===e[r[n]]&&(t.flags[r[n]]=!e[n])}),void 0===e.untouched&&void 0===e.touched&&void 0===e.dirty&&void 0===e.pristine||this.addActionListeners(),this.updateClasses(),this.updateAriaAttrs(),this.updateCustomValidity()},lt.prototype.updateDependencies=function(){var e=this;this.dependencies.forEach(function(e){return e.field.destroy()}),this.dependencies=[];var t=Object.keys(this.rules).reduce(function(t,r){if(gt.isTargetRule(r)){var n=e.rules[r][0];"confirmed"!==r||n||(n=e.name+"_confirmation"),t.push({selector:n,name:r})}return t},[]);t.length&&this.vm&&this.vm.$el&&t.forEach(function(t){var r=t.selector,n=t.name,i=null;if("$"===r[0]){var a=e.vm.$refs[r.slice(1)];i=Array.isArray(a)?a[0]:a}else try{i=e.vm.$el.querySelector(r)}catch(e){i=null}if(!i)try{i=e.vm.$el.querySelector('input[name="'+r+'"]')}catch(e){i=null}if(i){var o={vm:e.vm,classes:e.classes,classNames:e.classNames,delay:e.delay,scope:e.scope,events:e.events.join("|"),initial:e.initial,targetOf:e.id};Se(i.$watch)?(o.component=i,o.el=i.$el,o.getter=st.resolveGetter(i.$el,{child:i})):(o.el=i,o.getter=st.resolveGetter(i,{})),e.dependencies.push({name:n,field:new lt(o.el,o)})}})},lt.prototype.unwatch=function(e){if(void 0===e&&(e=null),!e)return this.watchers.forEach(function(e){return e.unwatch()}),void(this.watchers=[]);this.watchers.filter(function(t){return e.test(t.tag)}).forEach(function(e){return e.unwatch()}),this.watchers=this.watchers.filter(function(t){return!e.test(t.tag)})},lt.prototype.updateClasses=function(){this.classes&&!this.isDisabled&&(Ne(this.el,this.classNames.dirty,this.flags.dirty),Ne(this.el,this.classNames.pristine,this.flags.pristine),Ne(this.el,this.classNames.touched,this.flags.touched),Ne(this.el,this.classNames.untouched,this.flags.untouched),!Me(this.flags.valid)&&this.flags.validated&&Ne(this.el,this.classNames.valid,this.flags.valid),!Me(this.flags.invalid)&&this.flags.validated&&Ne(this.el,this.classNames.invalid,this.flags.invalid))},lt.prototype.addActionListeners=function(){var e=this;this.unwatch(/class/);var t=function(){e.flags.touched=!0,e.flags.untouched=!1,e.classes&&(Ne(e.el,e.classNames.touched,!0),Ne(e.el,e.classNames.untouched,!1)),e.unwatch(/^class_blur$/)},r=ze(this.el),n=function(){e.flags.dirty=!0,e.flags.pristine=!1,e.classes&&(Ne(e.el,e.classNames.pristine,!1),Ne(e.el,e.classNames.dirty,!0)),e.unwatch(/^class_input$/)};if(this.component&&Se(this.component.$once))return this.component.$once("input",n),this.component.$once("blur",t),this.watchers.push({tag:"class_input",unwatch:function(){e.component.$off("input",n)}}),void this.watchers.push({tag:"class_blur",unwatch:function(){e.component.$off("blur",t)}});if(this.el){this.el.addEventListener(r,n);var i=-1===["radio","checkbox"].indexOf(this.el.type)?"blur":"click";this.el.addEventListener(i,t),this.watchers.push({tag:"class_input",unwatch:function(){e.el.removeEventListener(r,n)}}),this.watchers.push({tag:"class_blur",unwatch:function(){e.el.removeEventListener(i,t)}})}},lt.prototype.addValueListeners=function(){var e=this;if(this.unwatch(/^input_.+/),this.listen){var t=this.targetOf?function(){e.validator.validate("#"+e.targetOf)}:function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];(0===t.length||Se(Event)&&t[0]instanceof Event||t[0]&&t[0].srcElement)&&(t[0]=e.value),e.validator.validate("#"+e.id,t[0])},r=this.model&&this.model.lazy?"change":ze(this.el),n=this.events.map(function(e){return"input"===e?r:e});if(this.model&&this.model.expression&&-1!==n.indexOf(r)){var i=Oe(t,this.delay[r]),a=this.vm.$watch(this.model.expression,function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];e.flags.pending=!0,i.apply(void 0,t)});this.watchers.push({tag:"input_model",unwatch:a}),n=n.filter(function(e){return e!==r})}n.forEach(function(r){var n=Oe(t,e.delay[r]),i=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];e.flags.pending=!0,n.apply(void 0,t)};e._addComponentEventListener(r,i),e._addHTMLEventListener(r,i)})}},lt.prototype._addComponentEventListener=function(e,t){var r=this;this.component&&(this.component.$on(e,t),this.watchers.push({tag:"input_vue",unwatch:function(){r.component.$off(e,t)}}))},lt.prototype._addHTMLEventListener=function(e,t){var r=this;if(this.el)if(~["radio","checkbox"].indexOf(this.el.type)){var n=document.querySelectorAll('input[name="'+this.el.name+'"]');Ee(n).forEach(function(n){n.addEventListener(e,t),r.watchers.push({tag:"input_native",unwatch:function(){n.removeEventListener(e,t)}})})}else this.el.addEventListener(e,t),this.watchers.push({tag:"input_native",unwatch:function(){r.el.removeEventListener(e,t)}})},lt.prototype.updateAriaAttrs=function(){this.aria&&this.el&&Se(this.el.setAttribute)&&(this.el.setAttribute("aria-required",this.isRequired?"true":"false"),this.el.setAttribute("aria-invalid",this.flags.invalid?"true":"false"))},lt.prototype.updateCustomValidity=function(){this.validity&&this.el&&Se(this.el.setCustomValidity)&&this.el.setCustomValidity(this.flags.valid?"":this.validator.errors.firstById(this.id)||"")},lt.prototype.destroy=function(){this.unwatch(),this.dependencies.forEach(function(e){return e.field.destroy()}),this.dependencies=[]},Object.defineProperties(lt.prototype,ct);var ft=function(){this.items=[]},dt={length:{}};dt.length.get=function(){return this.items.length},ft.prototype.find=function(e){return Ze(this.items,function(t){return t.matches(e)})},ft.prototype.filter=function(e){return Array.isArray(e)?this.items.filter(function(t){return e.some(function(e){return t.matches(e)})}):this.items.filter(function(t){return t.matches(e)})},ft.prototype.map=function(e){return this.items.map(e)},ft.prototype.remove=function(e){var t=null;if(!(t=e instanceof lt?e:this.find(e)))return null;var r=this.items.indexOf(t);return this.items.splice(r,1),t},ft.prototype.push=function(e){if(!(e instanceof lt))throw Le("FieldBag only accepts instances of Field that has an id defined.");if(!e.id)throw Le("Field id must be defined.");if(this.find({id:e.id}))throw Le("Field with id "+e.id+" is already added.");this.items.push(e)},Object.defineProperties(ft.prototype,dt);var ht={},pt=!0,mt=["confirmed","after","before"],vt=[],gt=function(e,t){var r=this;void 0===t&&(t={vm:null,fastExit:!0}),this.strict=pt,this.errors=new Be,"undefined"!=typeof window&&vt.push(this.errors),this.fields=new ft,this.flags={},this._createFields(e),this.paused=!1,this.fastExit=t.fastExit||!1,this.ownerId=t.vm&&t.vm._uid,this.reset=t.vm&&Se(t.vm.$nextTick)?function(e){return new Promise(function(n){t.vm.$nextTick(function(){t.vm.$nextTick(function(){n(r._reset(e))})})})}:this._reset},yt={dictionary:{},locale:{},rules:{}},bt={dictionary:{},locale:{},rules:{}};yt.dictionary.get=function(){return at.dependency("dictionary")},bt.dictionary.get=function(){return at.dependency("dictionary")},yt.locale.get=function(){return this.dictionary.locale},yt.locale.set=function(e){gt.locale=e},bt.locale.get=function(){return gt.dictionary.locale},bt.locale.set=function(e){var t=e!==gt.dictionary.locale;gt.dictionary.locale=e,t&&gt.regenerate()},yt.rules.get=function(){return ht},bt.rules.get=function(){return ht},gt.create=function(e,t){return new gt(e,t)},gt.extend=function(e,t,r){void 0===r&&(r={}),gt._guardExtend(e,t),gt._merge(e,t),r&&r.hasTarget&&mt.push(e)},gt.regenerate=function(){vt.forEach(function(e){return e.regenerate()})},gt.remove=function(e){delete ht[e];var t=mt.indexOf(e);-1!==t&&mt.splice(t,1)},gt.isTargetRule=function(e){return-1!==mt.indexOf(e)},gt.setStrictMode=function(e){void 0===e&&(e=!0),pt=e},gt.prototype.localize=function(e,t){gt.localize(e,t)},gt.localize=function(e,t){if(Ce(e))gt.dictionary.merge(e);else{if(t){var r,n=e||t.name;t=ke({},t),gt.dictionary.merge(((r={})[n]=t,r))}e&&(gt.locale=e)}},gt.prototype.attach=function(e){arguments.length>1&&(Fe("This signature of the attach method has been deprecated, please consult the docs."),e=ke({},{name:arguments[0],rules:arguments[1]},arguments[2]||{vm:{$validator:this}}));var t=e.initialValue;return e instanceof lt||(e=new lt(e.el||null,e)),this.fields.push(e),e.initial?this.validate("#"+e.id,t||e.value):this._validate(e,t||e.value,!0).then(function(t){e.flags.valid=t.valid,e.flags.invalid=!t.valid}),this._addFlag(e,e.scope),e},gt.prototype.flag=function(e,t){var r=this._resolveField(e);r&&t&&r.setFlags(t)},gt.prototype.detach=function(e,t){var r=e instanceof lt?e:this._resolveField(e,t);if(r){r.destroy(),this.errors.remove(r.name,r.scope,r.id),this.fields.remove(r);var n=this.flags;!Me(r.scope)&&n["$"+r.scope]?delete n["$"+r.scope][r.name]:Me(r.scope)&&delete n[r.name],this.flags=ke({},n)}},gt.prototype.extend=function(e,t,r){void 0===r&&(r={}),gt.extend(e,t,r)},gt.prototype.update=function(e,t){var r=t.scope,n=this._resolveField("#"+e);n&&(this.errors.update(e,{scope:r}),!Me(n.scope)&&this.flags["$"+n.scope]?delete this.flags["$"+n.scope][n.name]:Me(n.scope)&&delete this.flags[n.name],this._addFlag(n,r))},gt.prototype.remove=function(e){gt.remove(e)},gt.prototype.validate=function(e,t,r){var n=this;if(void 0===r&&(r=null),this.paused)return Promise.resolve(!0);if(0===arguments.length)return this.validateScopes();if(1===arguments.length&&"*"===arguments[0])return this.validateAll();if(1===arguments.length&&"string"==typeof arguments[0]&&/^(.+)\.\*$/.test(arguments[0])){var i=arguments[0].match(/^(.+)\.\*$/)[1];return this.validateAll(i)}var a=this._resolveField(e,r);if(!a)return this._handleFieldNotFound(e,r);a.flags.pending=!0,1===arguments.length&&(t=a.value);var o=a.isDisabled;return this._validate(a,t,o).then(function(e){return n.errors.remove(a.name,a.scope,a.id),o?Promise.resolve(!0):(e.errors&&e.errors.forEach(function(e){return n.errors.add(e)}),a.setFlags({pending:!1,valid:e.valid,validated:!0}),e.valid)})},gt.prototype.pause=function(){return this.paused=!0,this},gt.prototype.resume=function(){return this.paused=!1,this},gt.prototype.validateAll=function(e){var t=arguments,r=this;if(this.paused)return Promise.resolve(!0);var n=null,i=!1;"string"==typeof e?n={scope:e}:Ce(e)?(n=Object.keys(e).map(function(e){return{name:e,scope:t[1]||null}}),i=!0):0===arguments.length?n={scope:null}:Array.isArray(e)&&(n=e.map(function(e){return{name:e,scope:t[1]||null}}));var a=this.fields.filter(n).map(function(t){return r.validate("#"+t.id,i?e[t.name]:t.value)});return Promise.all(a).then(function(e){return e.every(function(e){return e})})},gt.prototype.validateScopes=function(){var e=this;if(this.paused)return Promise.resolve(!0);var t=this.fields.map(function(t){return e.validate("#"+t.id,t.value)});return Promise.all(t).then(function(e){return e.every(function(e){return e})})},gt.prototype.destroy=function(){var e=vt.indexOf(this.errors);-1!==e&&vt.splice(e,1)},gt.prototype._createFields=function(e){var t=this;e&&Object.keys(e).forEach(function(r){var n=ke({},{name:r,rules:e[r]});t.attach(n)})},gt.prototype._getDateFormat=function(e){var t=null;return e.date_format&&Array.isArray(e.date_format)&&(t=e.date_format[0]),t||this.dictionary.getDateFormat(this.locale)},gt.prototype._isADateRule=function(e){return!!~["after","before","date_between","date_format"].indexOf(e)},gt.prototype._formatErrorMessage=function(e,t,r,n){void 0===r&&(r={}),void 0===n&&(n=null);var i=this._getFieldDisplayName(e),a=this._getLocalizedParams(t,n);return this.dictionary.getFieldMessage(this.locale,e.name,t.name,[i,a,r])},gt.prototype._getLocalizedParams=function(e,t){return void 0===t&&(t=null),~mt.indexOf(e.name)&&e.params&&e.params[0]?[t||this.dictionary.getAttribute(this.locale,e.params[0],e.params[0])].concat(e.params.slice(1)):e.params},gt.prototype._getFieldDisplayName=function(e){return e.alias||this.dictionary.getAttribute(this.locale,e.name,e.name)},gt.prototype._addFlag=function(e,t){if(void 0===t&&(t=null),Me(t)){var r;this.flags=ke({},this.flags,((r={})[""+e.name]=e.flags,r))}else{var n,i,a=ke({},this.flags["$"+t]||{},((n={})[""+e.name]=e.flags,n));this.flags=ke({},this.flags,((i={})["$"+t]=a,i))}},gt.prototype._reset=function(e){var t=this;return new Promise(function(r){if(e)return t.fields.filter(e).forEach(function(e){e.reset(),t.errors.remove(e.name,e.scope,e.id)}),r();t.fields.items.forEach(function(e){return e.reset()}),t.errors.clear(),r()})},gt.prototype._test=function(e,t,r){var n=this,i=ht[r.name],a=Array.isArray(r.params)?Ee(r.params):[],o=null;if(!i||"function"!=typeof i)throw Le("No such validator '"+r.name+"' exists.");if(-1!==mt.indexOf(r.name)){var s=Ze(e.dependencies,function(e){return e.name===r.name});s&&(o=s.field.alias,a=[s.field.value].concat(a.slice(1)))}else"required"===r.name&&e.rejectsFalse&&(a=a.length?a:[!0]);if(this._isADateRule(r.name)){var u=this._getDateFormat(e.rules);"date_format"!==r.name&&a.push(u)}var l=i(t,a);return Se(l.then)?l.then(function(t){var i=!0,a={};return Array.isArray(t)?i=t.every(function(e){return Ce(e)?e.valid:e}):(i=Ce(t)?t.valid:t,a=t.data),{valid:i,error:i?void 0:n._createFieldError(e,r,a,o)}}):(Ce(l)||(l={valid:l,data:{}}),{valid:l.valid,error:l.valid?void 0:this._createFieldError(e,r,l.data,o)})},gt._merge=function(e,t){Se(t)?ht[e]=t:(ht[e]=t.validate,t.getMessage&&gt.dictionary.setMessage(this.locale,e,t.getMessage))},gt._guardExtend=function(e,t){if(!Se(t)){if(!Se(t.validate))throw Le("Extension Error: The validator '"+e+"' must be a function or have a 'validate' method.");if(!Se(t.getMessage)&&"string"!=typeof t.getMessage)throw Le("Extension Error: The validator '"+e+"' object must have a 'getMessage' method or string.")}},gt.prototype._createFieldError=function(e,t,r,n){var i=this;return{id:e.id,field:e.name,msg:this._formatErrorMessage(e,t,r,n),rule:t.name,scope:e.scope,regenerate:function(){return i._formatErrorMessage(e,t,r,n)}}},gt.prototype._resolveField=function(e,t){if(!Me(t))return this.fields.find({name:e,scope:t});if("#"===e[0])return this.fields.find({id:e.slice(1)});if(e.indexOf(".")>-1){var r=e.split("."),n=r[0],i=r.slice(1),a=this.fields.find({name:i.join("."),scope:n});if(a)return a}return this.fields.find({name:e,scope:null})},gt.prototype._handleFieldNotFound=function(e,t){if(!this.strict)return Promise.resolve(!0);var r=Me(t)?e:(Me(t)?"":t+".")+e;throw Le('Validating a non-existent field: "'+r+'". Use "attach()" first.')},gt.prototype._validate=function(e,t,r){var n=this;if(void 0===r&&(r=!1),!e.isRequired&&(Me(t)||""===t))return Promise.resolve({valid:!0});var i=[],a=[],o=!1;return Object.keys(e.rules).some(function(r){var s=n._test(e,t,{name:r,params:e.rules[r]});return Se(s.then)?i.push(s):n.fastExit&&!s.valid?(a.push(s.error),o=!0):i.push(new Promise(function(e){e(s)})),o}),o?Promise.resolve({valid:!1,errors:a}):Promise.all(i).then(function(e){return e.map(function(e){return e.valid||a.push(e.error),e.valid}).every(function(e){return e})}).then(function(e){return{valid:e,errors:a}})},Object.defineProperties(gt.prototype,yt),Object.defineProperties(gt,bt);var wt,Dt=function(e,t){return new gt(null,{vm:e,fastExit:t.fastExit})},$t={provide:function(){return this.$validator&&!He(this.$vnode)?{$validator:this.$validator}:{}},beforeCreate:function(){if(!He(this.$vnode)){this.$parent||at.merge(this.$options.$_veeValidate||{});var e=at.resolve(this),t=this.$options._base;this.$options.$validates&&(Fe('The ctor $validates option has been deprecated please set the $_veeValidate.validator option to "new" instead'),this.$validator=Dt(this,e)),(!this.$parent||this.$options.$_veeValidate&&/new/.test(this.$options.$_veeValidate.validator))&&(this.$validator=Dt(this,e));var r,n=(r=this.$options.inject,!(!Ce(r)||!r.$validator));this.$validator||!e.inject||n||(this.$validator=Dt(this,e)),(n||this.$validator)&&(!n&&this.$validator&&(t.util.defineReactive(this.$validator,"errors",this.$validator.errors),t.util.defineReactive(this.$validator,"flags",this.$validator.flags)),this.$options.computed||(this.$options.computed={}),this.$options.computed[e.errorBagName||"errors"]=function(){return this.$validator.errors},this.$options.computed[e.fieldsBagName||"fields"]=function(){return this.$validator.flags})}},beforeDestroy:function(){He(this.$vnode)||this.$validator&&this.$validator.ownerId===this._uid&&(this.$validator.pause(),this.$validator.destroy())}},_t=function(e,t){return t&&t.$validator?t.$validator.fields.find({id:Te(e,"id")}):null},Tt={bind:function(e,t,r){var n=r.context.$validator;if(n){var i=st.generate(e,t,r);n.attach(i)}else Fe("No validator instance is present on vm, did you forget to inject '$validator'?")},inserted:function(e,t,r){var n=_t(e,r.context),i=st.resolveScope(e,t,r);n&&i!==n.scope&&(n.update({scope:i}),n.updated=!1)},update:function(e,t,r){var n=_t(e,r.context);if(!(!n||n.updated&&xe(t.value,t.oldValue))){var i=st.resolveScope(e,t,r),a=st.resolveRules(e,t);n.update({scope:i,rules:a})}},unbind:function(e,t,r){var n=r.context,i=_t(e,n);i&&n.$validator.detach(i)}};var Mt=function(e,t){var r={pristine:function(e,t){return e&&t},dirty:function(e,t){return e||t},touched:function(e,t){return e||t},untouched:function(e,t){return e&&t},valid:function(e,t){return e&&t},invalid:function(e,t){return e||t},pending:function(e,t){return e||t},required:function(e,t){return e||t},validated:function(e,t){return e&&t}};return Object.keys(r).reduce(function(n,i){return n[i]=r[i](e[i],t[i]),n},{})},xt=function(e,t){return void 0===t&&(t=!0),Object.keys(e).reduce(function(r,n){if(!r)return r=ke({},e[n]);var i=0===n.indexOf("$");return t&&i?Mt(xt(e[n]),r):!t&&i?r:r=Mt(r,e[n])},null)},At={install:function(e,t){if(void 0===t&&(t={}),wt&&e===wt)"production"!==process.env.NODE_ENV&&Fe("already installed, Vue.use(VeeValidate) should only be called once.");else{wt=e,at.merge(t);var r=at.current,n=r.dictionary,i=r.i18n;n&&gt.localize(n),i&&i._vm&&Se(i._vm.$watch)&&i._vm.$watch("locale",function(){gt.regenerate()}),!i&&t.locale&&gt.localize(t.locale),gt.setStrictMode(at.current.strict),wt.mixin($t),wt.directive("validate",Tt)}},use:function(e,t){if(void 0===t&&(t={}),!Se(e))return Fe("The plugin must be a callable function");e({Validator:gt,ErrorBag:Be,Rules:gt.rules},t)},directive:Tt,mixin:$t,mapFields:function(e){if(!e)return function(){return xt(this.$validator.flags)};var t,r=(t=e,Array.isArray(t)?t.reduce(function(e,t){return~t.indexOf(".")?e[t.split(".")[1]]=t:e[t]=t,e},{}):t);return Object.keys(r).reduce(function(e,t){var n=r[t];return e[t]=function(){if(this.$validator.flags[n])return this.$validator.flags[n];if("*"===r[t])return xt(this.$validator.flags,!1);if(n.indexOf(".")<=0)return{};var e=n.split("."),i=e[0],a=e.slice(1);return i=this.$validator.flags["$"+i],"*"===(a=a.join("."))&&i?xt(i):i&&i[a]?i[a]:{}},e},{})},Validator:gt,ErrorBag:Be,version:"2.0.5"};return At.use(function(e){var t=e.Validator;Object.keys(Ve).forEach(function(e){t.extend(e,Ve[e])}),t.localize("en",Ge)}),At.Rules=Ve,At});