Socket
Socket
Sign inDemoInstall

vee-validate

Package Overview
Dependencies
Maintainers
2
Versions
339
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vee-validate - npm Package Compare versions

Comparing version 2.1.0-beta.8 to 2.1.0-beta.9

2

dist/locale/fa.js

@@ -1,1 +0,1 @@

!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n.__vee_validate_locale__fa=n.__vee_validate_locale__fa||{},n.__vee_validate_locale__fa.js=e())}(this,function(){"use strict";var n,r=function(n){var e,t,r,u={Byte:"بايت",KB:"كيلوبايت",GB:"گیگابايت",PB:"پتابايت"};return(e=n,t=1024,r=0==(e=Number(e)*t)?0:Math.floor(Math.log(e)/Math.log(t)),1*(e/Math.pow(t,r)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][r]).replace(/(Byte|KB|GB|PB)/,function(n){return u[n]})},e={name:"fa",messages:{after:function(n,e){return n+" باید بعد از تاریخ "+e[0]+" باشد."},alpha_dash:function(n){return n+" فقط می تواند از حروف، اعداد، خط فاصله و زیرخط تشکیل شود."},alpha_num:function(n){return n+" فقط میتواند از حروف و اعداد تشکیل شود."},alpha_spaces:function(n){return n+" فقط می تواند از حروف و فاصله تشکیل شود."},alpha:function(n){return n+" فقط می تواند از حروف تشکیل شود."},before:function(n,e){return n+" باید قبل از تاریخ "+e[0]+" باشد."},between:function(n,e){return n+" باید بین "+e[0]+" و "+e[1]+" کارکتر باشد."},confirmed:function(n){return n+" با تاییدیه اش مطابقت ندارد."},credit_card:function(n){return n+" غیر معتبر است."},date_between:function(n,e){return n+" باید بین تاریخ "+e[0]+" and "+e[1]+" باشد."},date_format:function(n,e){return n+" باید در قالب "+e[0]+" باشد."},decimal:function(n,e){void 0===e&&(e=[]);var t=e[0];return void 0===t&&(t="*"),n+" باید یک مقدار عددی "+("*"===t?"":" با حداکثر "+t+" اعشار")+" باشد."},digits:function(n,e){return n+" باید یک مقدار عددی و دقیقاً "+e[0]+" رقم باشد."},dimensions:function(n,e){return n+" باید در اندازه "+e[0]+" پیکسل عرض و "+e[1]+" پیکسل ارتفاع باشد."},email:function(n){return n+" باید یک پست الکترونیک معتبر باشد."},ext:function(n){return n+" باید یک فایل معتبر باشد."},image:function(n){return n+" باید یک تصویر باشد."},included:function(n){return n+" باید یک مقدار معتبر باشد."},ip:function(n){return n+" باید یک آدرس آی پی معتبر باشد."},max:function(n,e){return n+" نباید بیشتر از "+e[0]+" کارکتر باشد."},max_value:function(n,e){return"مقدار "+n+" باید "+e[0]+" یا کمتر باشد."},mimes:function(n){return n+" باید از نوع معتبر باشد."},min:function(n,e){return n+" باید حداقل "+e[0]+" کارکتر باشد."},min_value:function(n,e){return"مقدار "+n+" باید "+e[0]+" یا بیشتر باشد."},excluded:function(n){return n+"باید یک مقدار معتبر باشد."},numeric:function(n){return n+" فقط می تواند عددی باشد."},regex:function(n){return"قالب "+n+" قابل قبول نیست."},required:function(n){return n+" الزامی است."},size:function(n,e){var t=e[0];return"حجم "+n+" کمتر از "+r(t)+" باشد."},url:function(n){return n+" باید یک تارنمای معتبر باشد."}},attributes:{}};return"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((n={})[e.name]=e,n)),e});
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n.__vee_validate_locale__fa=n.__vee_validate_locale__fa||{},n.__vee_validate_locale__fa.js=e())}(this,function(){"use strict";var n,r=function(n){var e,t,r,u={Byte:"بايت",KB:"كيلوبايت",GB:"گیگابايت",PB:"پتابايت"};return(e=n,t=1024,r=0==(e=Number(e)*t)?0:Math.floor(Math.log(e)/Math.log(t)),1*(e/Math.pow(t,r)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][r]).replace(/(Byte|KB|GB|PB)/,function(n){return u[n]})},e={name:"fa",messages:{_default:function(n){return"مقدار "+n+" معتبر نیست."},after:function(n,e){return n+" باید بعد از تاریخ "+e[0]+" باشد."},alpha_dash:function(n){return n+" فقط می تواند از حروف، اعداد، خط فاصله و زیرخط تشکیل شود."},alpha_num:function(n){return n+" فقط میتواند از حروف و اعداد تشکیل شود."},alpha_spaces:function(n){return n+" فقط می تواند از حروف و فاصله تشکیل شود."},alpha:function(n){return n+" فقط می تواند از حروف تشکیل شود."},before:function(n,e){return n+" باید قبل از تاریخ "+e[0]+" باشد."},between:function(n,e){return n+" باید بین "+e[0]+" و "+e[1]+" کارکتر باشد."},confirmed:function(n){return n+" با تاییدیه اش مطابقت ندارد."},credit_card:function(n){return n+" غیر معتبر است."},date_between:function(n,e){return n+" باید بین تاریخ "+e[0]+" and "+e[1]+" باشد."},date_format:function(n,e){return n+" باید در قالب "+e[0]+" باشد."},decimal:function(n,e){void 0===e&&(e=[]);var t=e[0];return void 0===t&&(t="*"),n+" باید یک مقدار عددی "+("*"===t?"":" با حداکثر "+t+" اعشار")+" باشد."},digits:function(n,e){return n+" باید یک مقدار عددی و دقیقاً "+e[0]+" رقم باشد."},dimensions:function(n,e){return n+" باید در اندازه "+e[0]+" پیکسل عرض و "+e[1]+" پیکسل ارتفاع باشد."},email:function(n){return n+" باید یک پست الکترونیک معتبر باشد."},ext:function(n){return n+" باید یک فایل معتبر باشد."},image:function(n){return n+" باید یک تصویر باشد."},included:function(n){return n+" باید یک مقدار معتبر باشد."},ip:function(n){return n+" باید یک آدرس آی پی معتبر باشد."},max:function(n,e){return n+" نباید بیشتر از "+e[0]+" کارکتر باشد."},max_value:function(n,e){return"مقدار "+n+" باید "+e[0]+" یا کمتر باشد."},mimes:function(n){return n+" باید از نوع معتبر باشد."},min:function(n,e){return n+" باید حداقل "+e[0]+" کارکتر باشد."},min_value:function(n,e){return"مقدار "+n+" باید "+e[0]+" یا بیشتر باشد."},excluded:function(n){return n+"باید یک مقدار معتبر باشد."},numeric:function(n){return n+" فقط می تواند عددی باشد."},regex:function(n){return"قالب "+n+" قابل قبول نیست."},required:function(n){return n+" الزامی است."},size:function(n,e){var t=e[0];return"حجم "+n+" کمتر از "+r(t)+" باشد."},url:function(n){return n+" باید یک تارنمای معتبر باشد."}},attributes:{}};return"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((n={})[e.name]=e,n)),e});

@@ -1,1 +0,1 @@

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e.__vee_validate_locale__fi=e.__vee_validate_locale__fi||{},e.__vee_validate_locale__fi.js=n())}(this,function(){"use strict";var e,n={name:"fi",messages:{after:function(e,n){return e+" tulee olla jälkeen "+n[0]+"."},alpha_dash:function(e){return e+" voi sisältää vain kirajimia, numeroita, ja tavu-, tai alaviivoja."},alpha_num:function(e){return e+" voi sisältää vain kirjaimia ja numeroita."},alpha:function(e){return e+" voi sisältää vain kirjaimia."},before:function(e,n){return e+" tulee olla ennen "+n[0]+"."},between:function(e,n){return"Kentän "+e+" tulee olla "+n[0]+" ja "+n[1]+" väliltä."},confirmed:function(e,n){return e+" ei vastannut "+n[0]+"."},date_between:function(e,n){return e+" tulee olla "+n[0]+" ja "+n[1]+" väliltä."},date_format:function(e,n){return e+" tulee olla muodossa "+n[0]+"."},decimal:function(e,n){void 0===n&&(n=[]);var t=n[0];return void 0===t&&(t="*"),e+" tulee olla numeerinen ja voi sisältää "+("*"===t?"":t)+" desimaalia."},digits:function(e,n){return e+" tulee olla numeerinen ja tarkalleen "+n[0]+" merkkiä."},dimensions:function(e,n){return e+" tulee olla "+n[0]+" pikseliä kertaa "+n[1]+" pikseliä."},email:function(e){return e+" tulee olla kelvollinen sähköpostiosoite."},ext:function(e){return e+" tulee olla kelvollinen tiedosto."},image:function(e){return e+" tulee olla kelvollinen kuva."},included:function(e){return e+" tulee olla kelvollinen arvo."},ip:function(e){return e+" tulee olla kelvollinen IP-osoite."},max:function(e,n){return e+" ei saa olle pidempi kuin "+n[0]+" merkkiä."},mimes:function(e){return e+" tulee olla kelvollinen tiedostotyyppi."},min:function(e,n){return e+" tulee olla vähintään "+n[0]+" merkkiä."},excluded:function(e){return e+" tulee olla kelvollinen arvo."},numeric:function(e){return e+" voi sisältää vain numeroita."},regex:function(e){return e+" tulee olla kelvollinen säännöllinen lauseke."},required:function(e){return e+" on pakollinen kenttä."},size:function(e,n){var t,l,i,o=n[0];return e+" tulee olla vähemmän kuin "+(t=o,l=1024,i=0==(t=Number(t)*l)?0:Math.floor(Math.log(t)/Math.log(l)),1*(t/Math.pow(l,i)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][i])+"."},url:function(e){return e+" tulee olla kelvollinen URL-osoite."}},attributes:{}};return"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((e={})[n.name]=n,e)),n});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e.__vee_validate_locale__fi=e.__vee_validate_locale__fi||{},e.__vee_validate_locale__fi.js=n())}(this,function(){"use strict";var e,n={name:"fi",messages:{after:function(e,n){return e+" tulee olla jälkeen "+n[0]+"."},alpha_dash:function(e){return e+" voi sisältää vain kirajimia, numeroita, ja tavu-, tai alaviivoja."},alpha_num:function(e){return e+" voi sisältää vain kirjaimia ja numeroita."},alpha:function(e){return e+" voi sisältää vain kirjaimia."},before:function(e,n){return e+" tulee olla ennen "+n[0]+"."},between:function(e,n){return"Kentän "+e+" tulee olla "+n[0]+" ja "+n[1]+" väliltä."},confirmed:function(e,n){return e+" ei vastannut "+n[0]+"."},date_between:function(e,n){return e+" tulee olla "+n[0]+" ja "+n[1]+" väliltä."},date_format:function(e,n){return e+" tulee olla muodossa "+n[0]+"."},decimal:function(e,n){void 0===n&&(n=[]);var t=n[0];return void 0===t&&(t="*"),e+" tulee olla numeerinen ja voi sisältää "+("*"===t?"":t)+" desimaalia."},digits:function(e,n){return e+" tulee olla numeerinen ja tarkalleen "+n[0]+" merkkiä."},dimensions:function(e,n){return e+" tulee olla "+n[0]+" pikseliä kertaa "+n[1]+" pikseliä."},email:function(e){return e+" tulee olla kelvollinen sähköpostiosoite."},ext:function(e){return e+" tulee olla kelvollinen tiedosto."},image:function(e){return e+" tulee olla kelvollinen kuva."},included:function(e){return e+" tulee olla kelvollinen arvo."},ip:function(e){return e+" tulee olla kelvollinen IP-osoite."},max:function(e,n){return e+" ei saa olla pidempi kuin "+n[0]+" merkkiä."},mimes:function(e){return e+" tulee olla kelvollinen tiedostotyyppi."},min:function(e,n){return e+" tulee olla vähintään "+n[0]+" merkkiä."},excluded:function(e){return e+" tulee olla kelvollinen arvo."},numeric:function(e){return e+" voi sisältää vain numeroita."},regex:function(e){return e+" tulee olla kelvollinen säännöllinen lauseke."},required:function(e){return e+" on pakollinen kenttä."},size:function(e,n){var t,l,i,o=n[0];return e+" tulee olla vähemmän kuin "+(t=o,l=1024,i=0==(t=Number(t)*l)?0:Math.floor(Math.log(t)/Math.log(l)),1*(t/Math.pow(l,i)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][i])+"."},url:function(e){return e+" tulee olla kelvollinen URL-osoite."}},attributes:{}};return"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((e={})[n.name]=n,e)),n});

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e.__vee_validate_locale__fr=e.__vee_validate_locale__fr||{},e.__vee_validate_locale__fr.js=t())}(this,function(){"use strict";var e,t={name:"fr",messages:{_default:function(e){return"Le champ "+e+" n'est pas valide."},after:function(e,t){return"Le champ "+e+" doit être postérieur à "+t[0]+"."},alpha_dash:function(e){return"Le champ "+e+" ne peut contenir que des caractères alpha-numériques, tirets ou soulignés."},alpha_num:function(e){return"Le champ "+e+" ne peut contenir que des caractères alpha-numériques."},alpha_spaces:function(e){return"Le champ "+e+" ne peut contenir que des lettres ou des espaces."},alpha:function(e){return"Le champ "+e+" ne peut contenir que des lettres."},before:function(e,t){return"Le champ "+e+" doit être antérieur à "+t[0]+"."},between:function(e,t){return"Le champ "+e+" doit être compris entre "+t[0]+" et "+t[1]+"."},confirmed:function(e,t){return"Le champ "+e+" ne correspond pas à "+t[0]+"."},credit_card:function(e){return"Le champ "+e+" est invalide."},date_between:function(e,t){return"Le champ "+e+" doit être situé entre "+t[0]+" et "+t[1]+"."},date_format:function(e,t){return"Le champ "+e+" doit être au format "+t[0]+"."},decimal:function(e,t){void 0===t&&(t=[]);var n=t[0];return void 0===n&&(n="*"),"Le champ "+e+" doit être un nombre et peut contenir "+("*"===n?"":n)+" décimales."},digits:function(e,t){return"Le champ "+e+" doit être un nombre entier de "+t[0]+" chiffres."},dimensions:function(e,t){return"Le champ "+e+" doit avoir une taille de "+t[0]+" pixels par "+t[1]+" pixels."},email:function(e){return"Le champ "+e+" doit être une adresse e-mail valide."},ext:function(e){return"Le champ "+e+" doit être un fichier valide."},image:function(e){return"Le champ "+e+" doit être une image."},included:function(e){return"Le champ "+e+" doit être une valeur valide."},integer:function(e){return"Le champ "+e+" doit être un entier."},ip:function(e){return"Le champ "+e+" doit être une adresse IP."},length:function(e,t){var n=t[0],r=t[1];return r?"Le champ "+e+" doit contenir entre "+n+" et "+r+" caractères.":"Le champ "+e+" doit contenir "+n+" caractères."},max:function(e,t){return"Le champ "+e+" ne peut pas contenir plus de "+t[0]+" caractères."},max_value:function(e,t){return"Le champ "+e+" doit avoir une valeur de "+t[0]+" ou moins."},mimes:function(e){return"Le champ "+e+" doit avoir un type MIME valide."},min:function(e,t){return"Le champ "+e+" doit contenir au minimum "+t[0]+" caractères."},min_value:function(e,t){return"Le champ "+e+" doit avoir une valeur de "+t[0]+" ou plus."},excluded:function(e){return"Le champ "+e+" doit être une valeur valide."},numeric:function(e){return"Le champ "+e+" ne peut contenir que des chiffres."},regex:function(e){return"Le champ "+e+" est invalide."},required:function(e){return"Le champ "+e+" est obligatoire."},size:function(e,t){var n,r,i,a=t[0];return"Le champ "+e+" doit avoir un poids inférieur à "+(n=a,r=1024,i=0==(n=Number(n)*r)?0:Math.floor(Math.log(n)/Math.log(r)),1*(n/Math.pow(r,i)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][i])+"."},url:function(e){return"Le champ "+e+" n'est pas une URL valide."}},attributes:{}};return"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((e={})[t.name]=t,e)),t});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e.__vee_validate_locale__fr=e.__vee_validate_locale__fr||{},e.__vee_validate_locale__fr.js=t())}(this,function(){"use strict";var e,t={name:"fr",messages:{_default:function(e){return"Le champ "+e+" n'est pas valide."},after:function(e,t){return"Le champ "+e+" doit être postérieur à "+t[0]+"."},alpha_dash:function(e){return"Le champ "+e+" ne peut contenir que des caractères alpha-numériques, tirets ou soulignés."},alpha_num:function(e){return"Le champ "+e+" ne peut contenir que des caractères alpha-numériques."},alpha_spaces:function(e){return"Le champ "+e+" ne peut contenir que des lettres ou des espaces."},alpha:function(e){return"Le champ "+e+" ne peut contenir que des lettres."},before:function(e,t){return"Le champ "+e+" doit être antérieur à "+t[0]+"."},between:function(e,t){return"Le champ "+e+" doit être compris entre "+t[0]+" et "+t[1]+"."},confirmed:function(e,t){return"Le champ "+e+" ne correspond pas à "+t[0]+"."},credit_card:function(e){return"Le champ "+e+" est invalide."},date_between:function(e,t){return"Le champ "+e+" doit être situé entre "+t[0]+" et "+t[1]+"."},date_format:function(e,t){return"Le champ "+e+" doit être au format "+t[0]+"."},decimal:function(e,t){void 0===t&&(t=[]);var n=t[0];return void 0===n&&(n="*"),"Le champ "+e+" doit être un nombre et peut contenir "+("*"===n?"des":n)+" décimales."},digits:function(e,t){return"Le champ "+e+" doit être un nombre entier de "+t[0]+" chiffres."},dimensions:function(e,t){return"Le champ "+e+" doit avoir une taille de "+t[0]+" pixels par "+t[1]+" pixels."},email:function(e){return"Le champ "+e+" doit être une adresse e-mail valide."},ext:function(e){return"Le champ "+e+" doit être un fichier valide."},image:function(e){return"Le champ "+e+" doit être une image."},included:function(e){return"Le champ "+e+" doit être une valeur valide."},integer:function(e){return"Le champ "+e+" doit être un entier."},ip:function(e){return"Le champ "+e+" doit être une adresse IP."},length:function(e,t){var n=t[0],r=t[1];return r?"Le champ "+e+" doit contenir entre "+n+" et "+r+" caractères.":"Le champ "+e+" doit contenir "+n+" caractères."},max:function(e,t){return"Le champ "+e+" ne peut pas contenir plus de "+t[0]+" caractères."},max_value:function(e,t){return"Le champ "+e+" doit avoir une valeur de "+t[0]+" ou moins."},mimes:function(e){return"Le champ "+e+" doit avoir un type MIME valide."},min:function(e,t){return"Le champ "+e+" doit contenir au minimum "+t[0]+" caractères."},min_value:function(e,t){return"Le champ "+e+" doit avoir une valeur de "+t[0]+" ou plus."},excluded:function(e){return"Le champ "+e+" doit être une valeur valide."},numeric:function(e){return"Le champ "+e+" ne peut contenir que des chiffres."},regex:function(e){return"Le champ "+e+" est invalide."},required:function(e){return"Le champ "+e+" est obligatoire."},size:function(e,t){var n,r,i,a=t[0];return"Le champ "+e+" doit avoir un poids inférieur à "+(n=a,r=1024,i=0==(n=Number(n)*r)?0:Math.floor(Math.log(n)/Math.log(r)),1*(n/Math.pow(r,i)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][i])+"."},url:function(e){return"Le champ "+e+" n'est pas une URL valide."}},attributes:{}};return"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((e={})[t.name]=t,e)),t});

@@ -1,1 +0,1 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.VeeValidate=e()}(this,function(){"use strict";var u=!0,a=function(t,e,n){t.addEventListener(e,n,!!u&&{passive:!0})},s=function(t){return F(["text","password","search","email","tel","url","textarea"],t.type)},o=function(t){return F(["radio","checkbox"],t.type)},l=function(t,e){return t.getAttribute("data-vv-"+e)},d=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return t.every(function(t){return null==t})},c=function(e,n){if(e instanceof RegExp&&n instanceof RegExp)return c(e.source,n.source)&&c(e.flags,n.flags);if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;for(var t=0;t<e.length;t++)if(!c(e[t],n[t]))return!1;return!0}return m(e)&&m(n)?Object.keys(e).every(function(t){return c(e[t],n[t])})&&Object.keys(n).every(function(t){return c(e[t],n[t])}):e===n},r=function(t){return d(t)?null:"FORM"===t.tagName?t:d(t.form)?d(t.parentNode)?null:r(t.parentNode):t.form},f=function(t,e,n){if(void 0===n&&(n=void 0),!t||!e)return n;var i=e;return t.split(".").every(function(t){return t in i?(i=i[t],!0):(i=n,!1)}),i},p=function(i,r,a,s){return void 0===r&&(r=0),void 0===a&&(a=!1),void 0===s&&(s={cancelled:!1}),0===r?i:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=a&&!o;clearTimeout(o),o=setTimeout(function(){o=null,a||s.cancelled||i.apply(void 0,t)},r),n&&i.apply(void 0,t)};var o},i=function(t,e){return e?t?"string"==typeof e?e+"|"+t:I({},e,h(t)):e:t},h=function(i){return i?m(i)?Object.keys(i).reduce(function(t,e){var n=[];return n=!0===i[e]?[]:Array.isArray(i[e])?i[e]:[i[e]],!1!==i[e]&&(t[e]=n),t},{}):"string"!=typeof i?(n("rules must be either a string or an object."),{}):i.split("|").reduce(function(t,e){var n,i,r,a=(i=[],r=(n=e).split(":")[0],F(n,":")&&(i=n.split(":").slice(1).join(":").split(",")),{name:r,params:i});return a.name&&(t[a.name]=a.params),t},{}):{}},n=function(t){console.warn("[vee-validate] "+t)},v=function(t){return new Error("[vee-validate] "+t)},m=function(t){return null!==t&&t&&"object"==typeof t&&!Array.isArray(t)},y=function(t){return"function"==typeof t},g=function(t,e){return t.classList?t.classList.contains(e):!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))},b=function(e,t,n){var i,r;if(e&&t){if(!Array.isArray(t))return n?(r=t,void((i=e).classList?i.classList.add(r):g(i,r)||(i.className+=" "+r))):void function(t,e){if(t.classList)t.classList.remove(e);else if(g(t,e)){var n=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(n," ")}}(e,t);t.forEach(function(t){return b(e,t,n)})}},_=function(t){if(y(Array.from))return Array.from(t);for(var e=[],n=t.length,i=0;i<n;i++)e.push(t[i]);return e},I=function(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];if(y(Object.assign))return Object.assign.apply(Object,[t].concat(e));if(null==t)throw new TypeError("Cannot convert undefined or null to object");var i=Object(t);return e.forEach(function(e){null!=e&&Object.keys(e).forEach(function(t){i[t]=e[t]})}),i},e=0,$="{id}",w=function(t,e){for(var n=Array.isArray(t)?t:_(t),i=0;i<n.length;i++)if(e(n[i]))return n[i]},A=function(t){if(!t)return!1;var e=t.componentOptions.tag;return/^(keep-alive|transition|transition-group)$/.test(e)},x=function(t){if("number"==typeof t)return t;if("string"==typeof t)return parseInt(t);var e={};for(var n in t)e[n]=parseInt(t[n]);return e},E=function(i,r){return m(i)&&m(r)&&Object.keys(r).forEach(function(t){var e,n;if(m(r[t]))return i[t]||I(i,((e={})[t]={},e)),void E(i[t],r[t]);I(i,((n={})[t]=r[t],n))}),i},j=function(t,e){if(t.required&&(e=i("required",e)),s(t))return"email"===t.type&&(e=i("email"+(t.multiple?":multiple":""),e)),t.pattern&&(e=i("regex:"+t.pattern,e)),0<=t.maxLength&&t.maxLength<524288&&(e=i("max:"+t.maxLength,e)),0<t.minLength&&(e=i("min:"+t.minLength,e)),e;if("number"===t.type)return e=i("decimal",e),""!==t.min&&(e=i("min_value:"+t.min,e)),""!==t.max&&(e=i("max_value:"+t.max,e)),e;if(F(["date","week","month","datetime-local","time"],t.type)){var n=t.step&&Number(t.step)<60?"HH:mm:ss":"HH:mm";if("date"===t.type)return i("date_format:YYYY-MM-DD",e);if("datetime-local"===t.type)return i("date_format:YYYY-MM-DDT"+n,e);if("month"===t.type)return i("date_format:YYYY-MM",e);if("week"===t.type)return i("date_format:YYYY-[W]WW",e);if("time"===t.type)return i("date_format:"+n,e)}return e},F=function(t,e){return-1!==t.indexOf(e)},O="en",t=function(t){void 0===t&&(t={}),this.container={},this.merge(t)},k={locale:{configurable:!0}};k.locale.get=function(){return O},k.locale.set=function(t){O=t||"en"},t.prototype.hasLocale=function(t){return!!this.container[t]},t.prototype.setDateFormat=function(t,e){this.container[t]||(this.container[t]={}),this.container[t].dateFormat=e},t.prototype.getDateFormat=function(t){return this.container[t]&&this.container[t].dateFormat?this.container[t].dateFormat:null},t.prototype.getMessage=function(t,e,n){var i=null;return i=this.hasMessage(t,e)?this.container[t].messages[e]:this._getDefaultMessage(t),y(i)?i.apply(void 0,n):i},t.prototype.getFieldMessage=function(t,e,n,i){if(!this.hasLocale(t))return this.getMessage(t,n,i);var r=this.container[t].custom&&this.container[t].custom[e];if(!r||!r[n])return this.getMessage(t,n,i);var a=r[n];return y(a)?a.apply(void 0,i):a},t.prototype._getDefaultMessage=function(t){return this.hasMessage(t,"_default")?this.container[t].messages._default:this.container.en.messages._default},t.prototype.getAttribute=function(t,e,n){return void 0===n&&(n=""),this.hasAttribute(t,e)?this.container[t].attributes[e]:n},t.prototype.hasMessage=function(t,e){return!!(this.hasLocale(t)&&this.container[t].messages&&this.container[t].messages[e])},t.prototype.hasAttribute=function(t,e){return!!(this.hasLocale(t)&&this.container[t].attributes&&this.container[t].attributes[e])},t.prototype.merge=function(t){E(this.container,t)},t.prototype.setMessage=function(t,e,n){this.hasLocale(t)||(this.container[t]={messages:{},attributes:{}}),this.container[t].messages[e]=n},t.prototype.setAttribute=function(t,e,n){this.hasLocale(t)||(this.container[t]={messages:{},attributes:{}}),this.container[t].attributes[e]=n},Object.defineProperties(t.prototype,k);var N=function(n){return m(n)?Object.keys(n).reduce(function(t,e){return t[e]=N(n[e]),t},{}):y(n)?n("{0}",["{1}","{2}","{3}"]):n},L=function(t,e){this.i18n=t,this.rootKey=e},V={locale:{configurable:!0}};V.locale.get=function(){return this.i18n.locale},V.locale.set=function(t){n("Cannot set locale from the validator when using vue-i18n, use i18n.locale setter instead")},L.prototype.getDateFormat=function(t){return this.i18n.getDateTimeFormat(t||this.locale)},L.prototype.setDateFormat=function(t,e){this.i18n.setDateTimeFormat(t||this.locale,e)},L.prototype.getMessage=function(t,e,n){var i=this.rootKey+".messages."+e;return this.i18n.te(i)?this.i18n.t(i,t,n):this.i18n.t(this.rootKey+".messages._default",t,n)},L.prototype.getAttribute=function(t,e,n){void 0===n&&(n="");var i=this.rootKey+".attributes."+e;return this.i18n.te(i)?this.i18n.t(i,t):n},L.prototype.getFieldMessage=function(t,e,n,i){var r=this.rootKey+".custom."+e+"."+n;return this.i18n.te(r)?this.i18n.t(r,t,i):this.getMessage(t,n,i)},L.prototype.merge=function(s){var o=this;Object.keys(s).forEach(function(t){var e,n,i,r=E({},f(t+"."+o.rootKey,o.i18n.messages,{})),a=E(r,(n=s[t],i={},n.messages&&(i.messages=N(n.messages)),n.custom&&(i.custom=N(n.custom)),n.attributes&&(i.attributes=n.attributes),d(n.dateFormat)||(i.dateFormat=n.dateFormat),i));o.i18n.mergeLocaleMessage(t,((e={})[o.rootKey]=a,e)),a.dateFormat&&o.i18n.setDateTimeFormat(t,a.dateFormat)})},L.prototype.setMessage=function(t,e,n){var i,r;this.merge(((r={})[t]={messages:(i={},i[e]=n,i)},r))},L.prototype.setAttribute=function(t,e,n){var i,r;this.merge(((r={})[t]={attributes:(i={},i[e]=n,i)},r))},Object.defineProperties(L.prototype,V);var M={locale:"en",delay:0,errorBagName:"errors",dictionary:null,strict:!0,fieldsBagName:"fields",classes:!1,classNames:null,events:"input",inject:!0,fastExit:!0,aria:!0,validity:!1,i18n:null,i18nRootKey:"validation"},C=I({},M),P={dictionary:new t({en:{messages:{},attributes:{},custom:{}}})},D=function(){},S={default:{configurable:!0},current:{configurable:!0}};S.default.get=function(){return M},S.current.get=function(){return C},D.dependency=function(t){return P[t]},D.merge=function(t){(C=I({},C,t)).i18n&&D.register("dictionary",new L(C.i18n,C.i18nRootKey))},D.register=function(t,e){P[t]=e},D.resolve=function(t){var e=f("$options.$_veeValidate",t,{});return I({},D.current,e)},Object.defineProperties(D,S);var T=function t(e,n){void 0===e&&(e=null),void 0===n&&(n=null),this.vmId=n||null,this.items=e&&e instanceof t?e.items:[]};T.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){var t=this,e=0;return{next:function(){return{value:t.items[e++],done:e>t.items.length}}}},T.prototype.add=function(t){var e;(e=this.items).push.apply(e,this._normalizeError(t))},T.prototype._normalizeError=function(t){var e=this;return Array.isArray(t)?t.map(function(t){return t.scope=d(t.scope)?null:t.scope,t.vmId=d(t.vmId)?e.vmId||null:t.vmId,t}):(t.scope=d(t.scope)?null:t.scope,t.vmId=d(t.vmId)?this.vmId||null:t.vmId,[t])},T.prototype.regenerate=function(){this.items.forEach(function(t){t.msg=y(t.regenerate)?t.regenerate():t.msg})},T.prototype.update=function(e,t){var n=w(this.items,function(t){return t.id===e});if(n){var i=this.items.indexOf(n);this.items.splice(i,1),n.scope=t.scope,this.items.push(n)}},T.prototype.all=function(i){var r=this;return this.items.filter(function(t){var e=!0,n=!0;return d(i)||(e=t.scope===i),d(r.vmId)||(n=t.vmId===r.vmId),n&&e}).map(function(t){return t.msg})},T.prototype.any=function(n){var i=this;return!!this.items.filter(function(t){var e=!0;return d(n)||(e=t.scope===n),d(i.vmId)||(e=t.vmId===i.vmId),e}).length},T.prototype.clear=function(t){var e=this,n=d(this.vmId)?function(){return!0}:function(t){return t.vmId===e.vmId};d(t)&&(t=null);for(var i=0;i<this.items.length;++i)n(e.items[i])&&e.items[i].scope===t&&(e.items.splice(i,1),--i)},T.prototype.collect=function(t,e,i){var r=this;void 0===i&&(i=!0);var a=!d(t)&&!t.includes("*"),n=function(t){var e,n=t.reduce(function(t,e){return(d(r.vmId)||e.vmId===r.vmId)&&(t[e.field]||(t[e.field]=[]),t[e.field].push(i?e.msg:e)),t},{});return a?(e=n,y(Object.values)?Object.values(e):e[Object.keys(e)[0]])[0]||[]:n};if(d(t))return n(this.items);var s=d(e)?String(t):e+"."+t,o=this._makeCandidateFilters(s),u=o.isPrimary,l=o.isAlt,c=this.items.reduce(function(t,e){return u(e)&&t.primary.push(e),l(e)&&t.alt.push(e),t},{primary:[],alt:[]});return n(c=c.primary.length?c.primary:c.alt)},T.prototype.count=function(){var e=this;return this.vmId?this.items.filter(function(t){return t.vmId===e.vmId}).length:this.items.length},T.prototype.firstById=function(e){var t=w(this.items,function(t){return t.id===e});return t?t.msg:void 0},T.prototype.first=function(t,e){void 0===e&&(e=null);var n=d(e)?t:e+"."+t,i=this._match(n);return i&&i.msg},T.prototype.firstRule=function(t,e){var n=this.collect(t,e,!1);return n.length&&n[0].rule||void 0},T.prototype.has=function(t,e){return void 0===e&&(e=null),!!this.first(t,e)},T.prototype.firstByRule=function(t,e,n){void 0===n&&(n=null);var i=this.collect(t,n,!1).filter(function(t){return t.rule===e})[0];return i&&i.msg||void 0},T.prototype.firstNot=function(t,e,n){void 0===e&&(e="required"),void 0===n&&(n=null);var i=this.collect(t,n,!1).filter(function(t){return t.rule!==e})[0];return i&&i.msg||void 0},T.prototype.removeById=function(e){var t=function(t){return t.id===e};Array.isArray(e)&&(t=function(t){return-1!==e.indexOf(t.id)});for(var n=0;n<this.items.length;++n)t(this.items[n])&&(this.items.splice(n,1),--n)},T.prototype.remove=function(t,e,n){if(!d(t))for(var i,r=d(e)?String(t):e+"."+t,a=this._makeCandidateFilters(r).isPrimary,s=0;s<this.items.length;++s)i=this.items[s],(d(n)?a(i):a(i)&&i.vmId===n)&&(this.items.splice(s,1),--s)},T.prototype._makeCandidateFilters=function(t){var e=this,n=function(){return!0},i=function(){return!0},r=function(){return!0},a=function(){return!0},s=function(t){var e=null;if(F(t,":")&&(e=t.split(":").pop(),t=t.replace(":"+e,"")),"#"===t[0])return{id:t.slice(1),rule:e,name:null,scope:null};var n=null,i=t;if(F(t,".")){var r=t.split(".");n=r[0],i=r.slice(1).join(".")}return{id:null,scope:n,name:i,rule:e}}(t),o=s.id,u=s.rule,l=s.scope,c=s.name;if(u&&(n=function(t){return t.rule===u}),o)return{isPrimary:function(t){return n(t)&&function(t){return o===t.id}},isAlt:function(){return!1}};i=d(l)?function(t){return d(t.scope)}:function(t){return t.scope===l},d(c)||"*"===c||(r=function(t){return t.field===c}),d(this.vmId)||(a=function(t){return t.vmId===e.vmId});return{isPrimary:function(t){return a(t)&&r(t)&&n(t)&&i(t)},isAlt:function(t){return a(t)&&n(t)&&t.field===l+"."+c}}},T.prototype._match=function(t){if(!d(t)){var e=this._makeCandidateFilters(t),a=e.isPrimary,s=e.isAlt;return this.items.reduce(function(t,e,n,i){var r=n===i.length-1;return t.primary?r?t.primary:t:(a(e)&&(t.primary=e),s(e)&&(t.alt=e),r?t.primary||t.alt:t)},{})}};var R=function(){};R.generate=function(t,e,n){var i=R.resolveModel(e,n),r=D.resolve(n.context);return{name:R.resolveName(t,n),el:t,listen:!e.modifiers.disable,bails:!!e.modifiers.bails||!0!==e.modifiers.continues&&void 0,scope:R.resolveScope(t,e,n),vm:R.makeVM(n.context),expression:e.value,component:n.componentInstance,classes:r.classes,classNames:r.classNames,getter:R.resolveGetter(t,n,i),events:R.resolveEvents(t,n)||r.events,model:i,delay:R.resolveDelay(t,n,r),rules:R.resolveRules(t,e,n),immediate:!!e.modifiers.initial||!!e.modifiers.immediate,validity:r.validity,aria:r.aria,initialValue:R.resolveInitialValue(n)}},R.getCtorConfig=function(t){return t.componentInstance?f("componentInstance.$options.$_veeValidate",t):null},R.resolveRules=function(t,e,n){var i="";return e.value||e&&e.expression||(i=l(t,"rules")),e.value&&F(["string","object"],typeof e.value.rules)?i=e.value.rules:e.value&&(i=e.value),n.componentInstance?i:j(t,i)},R.resolveInitialValue=function(t){var e=t.data.model||w(t.data.directives,function(t){return"model"===t.name});return e&&e.value},R.makeVM=function(t){return{get $el(){return t.$el},get $refs(){return t.$refs},$watch:t.$watch?t.$watch.bind(t):function(){},$validator:t.$validator?{errors:t.$validator.errors,validate:t.$validator.validate.bind(t.$validator),update:t.$validator.update.bind(t.$validator)}:null}},R.resolveDelay=function(t,e,n){var i=l(t,"delay"),r=n&&"delay"in n?n.delay:0;return!i&&e.componentInstance&&e.componentInstance.$attrs&&(i=e.componentInstance.$attrs["data-vv-delay"]),m(r)?(d(i)||(r.input=i),x(r)):x(i||r)},R.resolveEvents=function(t,e){var n=l(t,"validate-on");if(!n&&e.componentInstance&&e.componentInstance.$attrs&&(n=e.componentInstance.$attrs["data-vv-validate-on"]),!n&&e.componentInstance){var i=R.getCtorConfig(e);n=i&&i.events}if(!n&&D.current.events&&(n=D.current.events),n&&e.componentInstance&&F(n,"input")){var r=(e.componentInstance.$options.model||{event:"input"}).event;if(!r)return n;n=n.replace("input",r)}return n},R.resolveScope=function(t,e,n){void 0===n&&(n={});var i=null;return n.componentInstance&&d(i)&&(i=n.componentInstance.$attrs&&n.componentInstance.$attrs["data-vv-scope"]),d(i)?function(t){var e=l(t,"scope");if(d(e)){var n=r(t);n&&(e=l(n,"scope"))}return d(e)?null:e}(t):i},R.resolveModel=function(t,e){if(t.arg)return{expression:t.arg};var n=e.data.model||w(e.data.directives,function(t){return"model"===t.name});if(!n)return null;var i,r,a,s=!/[^\w.$]/.test(n.expression)&&(i=n.expression,r=e.context,a=r,i.split(".").every(function(t){return t in a&&(a=a[t],!0)})),o=!(!n.modifiers||!n.modifiers.lazy);return s?{expression:n.expression,lazy:o}:{expression:null,lazy:o}},R.resolveName=function(t,e){var n=l(t,"name");if(!n&&!e.componentInstance)return t.name;if(!n&&e.componentInstance&&e.componentInstance.$attrs&&(n=e.componentInstance.$attrs["data-vv-name"]||e.componentInstance.$attrs.name),!n&&e.componentInstance){var i=R.getCtorConfig(e);return i&&y(i.name)?i.name.bind(e.componentInstance)():e.componentInstance.name}return n},R.resolveGetter=function(n,t,e){if(e&&e.expression)return function(){return f(e.expression,t.context)};if(t.componentInstance){var i=l(n,"value-path")||t.componentInstance.$attrs&&t.componentInstance.$attrs["data-vv-value-path"];if(i)return function(){return f(i,t.componentInstance)};var r=R.getCtorConfig(t);if(r&&y(r.value)){var a=r.value.bind(t.componentInstance);return function(){return a()}}var s=(t.componentInstance.$options.model||{prop:"value"}).prop;return function(){return t.componentInstance[s]}}switch(n.type){case"checkbox":return function(){var t=document.querySelectorAll('input[name="'+n.name+'"]');if((t=_(t).filter(function(t){return t.checked})).length)return t.map(function(t){return t.value})};case"radio":return function(){var t=document.querySelectorAll('input[name="'+n.name+'"]'),e=w(t,function(t){return t.checked});return e&&e.value};case"file":return function(t){return _(n.files)};case"select-multiple":return function(){return _(n.options).filter(function(t){return t.selected}).map(function(t){return t.value})};default:return function(){return n&&n.value}}};var q={},Y=!0,z=function(t,e){void 0===e&&(e={fastExit:!0}),this.strict=Y,this.errors=new T,this.fields=new U,this._createFields(t),this.paused=!1,this.fastExit=!!d(e&&e.fastExit)||e.fastExit},B={rules:{configurable:!0},flags:{configurable:!0},dictionary:{configurable:!0},_vm:{configurable:!0},locale:{configurable:!0}},K={rules:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};K.rules.get=function(){return q},B.rules.get=function(){return q},B.flags.get=function(){return this.fields.items.reduce(function(t,e){var n;return e.scope?t["$"+e.scope]=((n={})[e.name]=e.flags,n):t[e.name]=e.flags,t},{})},B.dictionary.get=function(){return D.dependency("dictionary")},K.dictionary.get=function(){return D.dependency("dictionary")},B._vm.get=function(){return D.dependency("vm")},B.locale.get=function(){return z.locale},B.locale.set=function(t){z.locale=t},K.locale.get=function(){return this.dictionary.locale},K.locale.set=function(t){var e=t!==z.dictionary.locale;z.dictionary.locale=t,e&&D.dependency("vm")&&D.dependency("vm").$emit("localeChanged")},z.create=function(t,e){return new z(t,e)},z.extend=function(t,e,n){void 0===n&&(n={}),z._guardExtend(t,e),z._merge(t,{validator:e,options:I({},{hasTarget:!1,immediate:!0},n||{})})},z.remove=function(t){delete q[t]},z.isTargetRule=function(t){return!!q[t]&&q[t].options.hasTarget},z.setStrictMode=function(t){void 0===t&&(t=!0),Y=t},z.prototype.localize=function(t,e){z.localize(t,e)},z.localize=function(t,e){var n;if(m(t))z.dictionary.merge(t);else{if(e){var i=t||e.name;e=I({},e),z.dictionary.merge(((n={})[i]=e,n))}t&&(z.locale=t)}},z.prototype.attach=function(t){var e=t.initialValue,n=new G(t);return this.fields.push(n),n.immediate?this.validate("#"+n.id,e||n.value,{vmId:t.vmId}):this._validate(n,e||n.value,{initial:!0}).then(function(t){n.flags.valid=t.valid,n.flags.invalid=!t.valid}),n},z.prototype.flag=function(t,e,n){void 0===n&&(n=null);var i=this._resolveField(t,void 0,n);i&&e&&i.setFlags(e)},z.prototype.detach=function(t,e,n){var i=y(t.destroy)?t:this._resolveField(t,e,n);i&&(i.destroy(),this.errors.remove(i.name,i.scope,i.vmId),this.fields.remove(i))},z.prototype.extend=function(t,e,n){void 0===n&&(n={}),z.extend(t,e,n)},z.prototype.reset=function(t){var e=this;return this._vm.$nextTick().then(function(){return e._vm.$nextTick()}).then(function(){e.fields.filter(t).forEach(function(t){t.reset(),e.errors.remove(t.name,t.scope)})})},z.prototype.update=function(t,e){var n=e.scope;this._resolveField("#"+t)&&this.errors.update(t,{scope:n})},z.prototype.remove=function(t){z.remove(t)},z.prototype.validate=function(t,e,n){var i=this;void 0===n&&(n={});var r=n.silent,a=n.vmId;if(this.paused)return Promise.resolve(!0);if(d(t))return this.validateScopes({silent:r,vmId:a});if("*"===t)return this.validateAll(void 0,{silent:r,vmId:a});if(/^(.+)\.\*$/.test(t)){var s=t.match(/^(.+)\.\*$/)[1];return this.validateAll(s)}var o=this._resolveField(t);return o?(r||(o.flags.pending=!0),void 0===e&&(e=o.value),this._validate(o,e).then(function(t){return r||i._handleValidationResults([t],a),t.valid})):this._handleFieldNotFound(name)},z.prototype.pause=function(){return this.paused=!0,this},z.prototype.resume=function(){return this.paused=!1,this},z.prototype.validateAll=function(e,t){var n=this;void 0===t&&(t={});var i=t.silent,r=t.vmId;if(this.paused)return Promise.resolve(!0);var a=null,s=!1;return"string"==typeof e?a={scope:e,vmId:r}:m(e)?(a=Object.keys(e).map(function(t){return{name:t,vmId:r,scope:null}}),s=!0):a=Array.isArray(e)?e.map(function(t){return{name:t,vmId:r}}):{scope:null,vmId:r},Promise.all(this.fields.filter(a).map(function(t){return n._validate(t,s?e[t.name]:t.value)})).then(function(t){return i||n._handleValidationResults(t,r),t.every(function(t){return t.valid})})},z.prototype.validateScopes=function(t){var e=this;void 0===t&&(t={});var n=t.silent,i=t.vmId;return this.paused?Promise.resolve(!0):Promise.all(this.fields.filter({vmId:i}).map(function(t){return e._validate(t,t.value)})).then(function(t){return n||e._handleValidationResults(t,i),t.every(function(t){return t.valid})})},z.prototype.verify=function(t,e){var n={name:"{field}",rules:h(e)};return this._validate(n,t).then(function(t){return{valid:t.valid,errors:t.errors.map(function(t){return t.msg})}})},z.prototype.destroy=function(){this._vm.$off("localeChanged")},z.prototype._createFields=function(n){var i=this;n&&Object.keys(n).forEach(function(t){var e=I({},{name:t,rules:n[t]});i.attach(e)})},z.prototype._getDateFormat=function(t){var e=null;return t.date_format&&Array.isArray(t.date_format)&&(e=t.date_format[0]),e||this.dictionary.getDateFormat(this.locale)},z.prototype._formatErrorMessage=function(t,e,n,i){void 0===n&&(n={}),void 0===i&&(i=null);var r=this._getFieldDisplayName(t),a=this._getLocalizedParams(e,i);return this.dictionary.getFieldMessage(this.locale,t.name,e.name,[r,a,n])},z.prototype._getLocalizedParams=function(t,e){return void 0===e&&(e=null),t.options.hasTarget&&t.params&&t.params[0]?[e||this.dictionary.getAttribute(this.locale,t.params[0],t.params[0])].concat(t.params.slice(1)):t.params},z.prototype._getFieldDisplayName=function(t){return t.alias||this.dictionary.getAttribute(this.locale,t.name,t.name)},z.prototype._test=function(i,t,r){var a=this,e=q[r.name]?q[r.name].validate:null,n=Array.isArray(r.params)?_(r.params):[],s=null;if(!e||"function"!=typeof e)return Promise.reject(v("No such validator '"+r.name+"' exists."));if(r.options.hasTarget){var o=w(i.dependencies,function(t){return t.name===r.name});o&&(s=o.field.alias,n=[o.field.value].concat(n.slice(1)))}else"required"===r.name&&i.rejectsFalse&&(n=n.length?n:[!0]);if(r.options.isDate){var u=this._getDateFormat(i.rules);"date_format"!==r.name&&n.push(u)}var l=e(t,n);return y(l.then)?l.then(function(t){var e=!0,n={};return Array.isArray(t)?e=t.every(function(t){return m(t)?t.valid:t}):(e=m(t)?t.valid:t,n=t.data),{valid:e,errors:e?[]:[a._createFieldError(i,r,n,s)]}}):(m(l)||(l={valid:l,data:{}}),{valid:l.valid,errors:l.valid?[]:[this._createFieldError(i,r,l.data,s)]})},z._merge=function(t,e){var n=e.validator,i=e.options,r=y(n)?n:n.validate;n.getMessage&&z.dictionary.setMessage(z.locale,t,n.getMessage),q[t]={validate:r,options:i}},z._guardExtend=function(t,e){if(!y(e)&&!y(e.validate))throw v("Extension Error: The validator '"+t+"' must be a function or have a 'validate' method.")},z.prototype._createFieldError=function(t,e,n,i){var r=this;return{id:t.id,vmId:t.vmId,field:t.name,msg:this._formatErrorMessage(t,e,n,i),rule:e.name,scope:t.scope,regenerate:function(){return r._formatErrorMessage(t,e,n,i)}}},z.prototype._resolveField=function(t,e,n){if("#"===t[0])return this.fields.find({id:t.slice(1)});if(!d(e))return this.fields.find({name:t,scope:e,vmId:n});if(F(t,".")){var i=t.split("."),r=i[0],a=i.slice(1),s=this.fields.find({name:a.join("."),scope:r,vmId:n});if(s)return s}return this.fields.find({name:t,scope:null,vmId:n})},z.prototype._handleFieldNotFound=function(t,e){if(!this.strict)return Promise.resolve(!0);var n=d(e)?t:(d(e)?"":e+".")+t;return Promise.reject(v('Validating a non-existent field: "'+n+'". Use "attach()" first.'))},z.prototype._handleValidationResults=function(n,e){var i=this,t=n.map(function(t){return{id:t.id}});this.errors.removeById(t.map(function(t){return t.id})),n.forEach(function(t){i.errors.remove(t.field,t.scope,e)});var r=n.reduce(function(t,e){return t.push.apply(t,e.errors),t},[]);this.errors.add(r),this.fields.filter(t).forEach(function(e){var t=w(n,function(t){return t.id===e.id});e.setFlags({pending:!1,valid:t.valid,validated:!0})})},z.prototype._shouldSkip=function(t,e){return!1!==t.bails&&(!!t.isDisabled||!t.isRequired&&(d(e)||""===e))},z.prototype._shouldBail=function(t,e){return void 0!==t.bails?t.bails:this.fastExit},z.prototype._validate=function(i,r,t){var a=this;void 0===t&&(t={});var e=t.initial;if(this._shouldSkip(i,r))return Promise.resolve({valid:!0,id:i.id,field:i.name,scope:i.scope,errors:[]});var s=[],o=[],u=!1;return Object.keys(i.rules).filter(function(t){return!e||!q[t]||q[t].options.immediate}).some(function(t){var e=q[t]?q[t].options:{},n=a._test(i,r,{name:t,params:i.rules[t],options:e});return y(n.then)?s.push(n):!n.valid&&a._shouldBail(i,r)?(o.push.apply(o,n.errors),u=!0):s.push(new Promise(function(t){return t(n)})),u}),u?Promise.resolve({valid:!1,errors:o,id:i.id,field:i.name,scope:i.scope}):Promise.all(s).then(function(t){return t.reduce(function(t,e){var n;return e.valid||(n=t.errors).push.apply(n,e.errors),t.valid=t.valid&&e.valid,t},{valid:!0,errors:o,id:i.id,field:i.name,scope:i.scope})})},Object.defineProperties(z.prototype,B),Object.defineProperties(z,K);var H={targetOf:null,immediate:!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"}},G=function(t){void 0===t&&(t={}),this.id=(9999<=e&&(e=0,$=$.replace("{id}","_{id}")),e++,$.replace("{id}",String(e))),this.el=t.el,this.updated=!1,this.dependencies=[],this.vmId=t.vmId,this.watchers=[],this.events=[],this.delay=0,this.rules={},this._cacheId(t),this.classNames=I({},H.classNames),t=I({},H,t),this._delay=d(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,changed:!1},this.vm=t.vm,this.componentInstance=t.component,this.ctorConfig=this.componentInstance?f("$options.$_veeValidate",this.componentInstance):void 0,this.update(t),this.initialValue=this.value,this.updated=!1},W={validator:{configurable:!0},isRequired:{configurable:!0},isDisabled:{configurable:!0},alias:{configurable:!0},value:{configurable:!0},bails:{configurable:!0},rejectsFalse:{configurable:!0}};W.validator.get=function(){return this.vm&&this.vm.$validator?this.vm.$validator:{validate:function(){}}},W.isRequired.get=function(){return!!this.rules.required},W.isDisabled.get=function(){return!(!this.componentInstance||!this.componentInstance.disabled)||!(!this.el||!this.el.disabled)},W.alias.get=function(){if(this._alias)return this._alias;var t=null;return this.el&&(t=l(this.el,"as")),!t&&this.componentInstance?this.componentInstance.$attrs&&this.componentInstance.$attrs["data-vv-as"]:t},W.value.get=function(){if(y(this.getter))return this.getter()},W.bails.get=function(){return this._bails},W.rejectsFalse.get=function(){return this.componentInstance&&this.ctorConfig?!!this.ctorConfig.rejectsFalse:!!this.el&&"checkbox"===this.el.type},G.prototype.matches=function(t){var e=this;return!t||(t.id?this.id===t.id:!!(d(t.vmId)?function(){return!0}:function(t){return t===e.vmId})(t.vmId)&&(void 0===t.name&&void 0===t.scope||(void 0===t.scope?this.name===t.name:void 0===t.name?this.scope===t.scope:t.name===this.name&&t.scope===this.scope)))},G.prototype._cacheId=function(t){this.el&&!t.targetOf&&(this.el._veeValidateId=this.id)},G.prototype.update=function(t){var e,n,i,r;this.targetOf=t.targetOf||null,this.immediate=t.immediate||this.immediate||!1,!d(t.scope)&&t.scope!==this.scope&&y(this.validator.update)&&this.validator.update(this.id,{scope:t.scope}),this.scope=d(t.scope)?d(this.scope)?null:this.scope:t.scope,this.name=(d(t.name)?t.name:String(t.name))||this.name||null,this.rules=void 0!==t.rules?h(t.rules):this.rules,this._bails=void 0!==t.bails?t.bails:this._bails,this.model=t.model||this.model,this.listen=void 0!==t.listen?t.listen:this.listen,this.classes=!(!t.classes&&!this.classes)&&!this.componentInstance,this.classNames=m(t.classNames)?E(this.classNames,t.classNames):this.classNames,this.getter=y(t.getter)?t.getter:this.getter,this._alias=t.alias||this._alias,this.events=t.events?"string"==typeof(e=t.events)&&e.length?e.split("|"):[]:this.events,this.delay=(n=this.events,i=t.delay||this.delay,r=this._delay,"number"==typeof i?n.reduce(function(t,e){return t[e]=i,t},{}):n.reduce(function(t,e){return t[e]="object"==typeof i&&e in i?i[e]:"number"==typeof r?r:r&&r[e]||0,t},{})),this.updateDependencies(),this.addActionListeners(),void 0!==t.rules&&(this.flags.required=this.isRequired),this.flags.validated&&void 0!==t.rules&&this.updated&&this.validator.validate("#"+this.id),this.updated=!0,this.addValueListeners(),this.el&&(this.updateClasses(),this.updateAriaAttrs())},G.prototype.reset=function(){var e=this;this._cancellationToken&&(this._cancellationToken.cancelled=!0,delete this._cancellationToken);var n={untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1};Object.keys(this.flags).filter(function(t){return"required"!==t}).forEach(function(t){e.flags[t]=n[t]}),this.addActionListeners(),this.updateClasses(),this.updateAriaAttrs(),this.updateCustomValidity()},G.prototype.setFlags=function(e){var n=this,i={pristine:"dirty",dirty:"pristine",valid:"invalid",invalid:"valid",touched:"untouched",untouched:"touched"};Object.keys(e).forEach(function(t){n.flags[t]=e[t],i[t]&&void 0===e[i[t]]&&(n.flags[i[t]]=!e[t])}),void 0===e.untouched&&void 0===e.touched&&void 0===e.dirty&&void 0===e.pristine||this.addActionListeners(),this.updateClasses(),this.updateAriaAttrs(),this.updateCustomValidity()},G.prototype.updateDependencies=function(){var s=this;this.dependencies.forEach(function(t){return t.field.destroy()}),this.dependencies=[];var t=Object.keys(this.rules).reduce(function(t,e){return z.isTargetRule(e)&&t.push({selector:s.rules[e][0],name:e}),t},[]);t.length&&this.vm&&this.vm.$el&&t.forEach(function(t){var e=t.selector,n=t.name,i=s.vm.$refs[e],r=Array.isArray(i)?i[0]:i;if(r){var a={vm:s.vm,classes:s.classes,classNames:s.classNames,delay:s.delay,scope:s.scope,events:s.events.join("|"),immediate:s.immediate,targetOf:s.id};y(r.$watch)?(a.component=r,a.el=r.$el,a.getter=R.resolveGetter(r.$el,r.$vnode)):(a.el=r,a.getter=R.resolveGetter(r,{})),s.dependencies.push({name:n,field:new G(a)})}})},G.prototype.unwatch=function(e){if(void 0===e&&(e=null),!e)return this.watchers.forEach(function(t){return t.unwatch()}),void(this.watchers=[]);this.watchers.filter(function(t){return e.test(t.tag)}).forEach(function(t){return t.unwatch()}),this.watchers=this.watchers.filter(function(t){return!e.test(t.tag)})},G.prototype.updateClasses=function(){var e=this;if(this.classes&&!this.isDisabled){var t=function(t){b(t,e.classNames.dirty,e.flags.dirty),b(t,e.classNames.pristine,e.flags.pristine),b(t,e.classNames.touched,e.flags.touched),b(t,e.classNames.untouched,e.flags.untouched),!d(e.flags.valid)&&e.flags.validated&&b(t,e.classNames.valid,e.flags.valid),!d(e.flags.invalid)&&e.flags.validated&&b(t,e.classNames.invalid,e.flags.invalid)};if(o(this.el)){var n=document.querySelectorAll('input[name="'+this.el.name+'"]');_(n).forEach(t)}else t(this.el)}},G.prototype.addActionListeners=function(){var t=this;if(this.unwatch(/class/),this.el){var e=function(){t.flags.touched=!0,t.flags.untouched=!1,t.classes&&(b(t.el,t.classNames.touched,!0),b(t.el,t.classNames.untouched,!1)),t.unwatch(/^class_blur$/)},n=s(this.el)?"input":"change",i=function(){t.flags.dirty=!0,t.flags.pristine=!1,t.classes&&(b(t.el,t.classNames.pristine,!1),b(t.el,t.classNames.dirty,!0)),t.unwatch(/^class_input$/)};if(this.componentInstance&&y(this.componentInstance.$once))return this.componentInstance.$once("input",i),this.componentInstance.$once("blur",e),this.watchers.push({tag:"class_input",unwatch:function(){t.componentInstance.$off("input",i)}}),void this.watchers.push({tag:"class_blur",unwatch:function(){t.componentInstance.$off("blur",e)}});if(this.el){a(this.el,n,i);var r=o(this.el)?"change":"blur";a(this.el,r,e),this.watchers.push({tag:"class_input",unwatch:function(){t.el.removeEventListener(n,i)}}),this.watchers.push({tag:"class_blur",unwatch:function(){t.el.removeEventListener(r,e)}})}}},G.prototype.checkValueChanged=function(){return(null!==this.initialValue||""!==this.value||!s(this.el))&&this.value!==this.initialValue},G.prototype._determineInputEvent=function(){return this.componentInstance?this.componentInstance.$options.model&&this.componentInstance.$options.model.event||"input":this.model?this.model.lazy?"change":"input":s(this.el)?"input":"change"},G.prototype._determineEventList=function(e){return!this.events.length||this.componentInstance||s(this.el)?[].concat(this.events):this.events.map(function(t){return"input"===t?e:t})},G.prototype.addValueListeners=function(){var i=this;if(this.unwatch(/^input_.+/),this.listen&&this.el){var r={cancelled:!1},a=this.targetOf?function(){i.flags.changed=i.checkValueChanged(),i.validator.validate("#"+i.targetOf)}:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];(0===t.length||y(Event)&&t[0]instanceof Event||t[0]&&t[0].srcElement)&&(t[0]=i.value),i.flags.changed=i.checkValueChanged(),i.validator.validate("#"+i.id,t[0])},e=this._determineInputEvent(),t=this._determineEventList(e);if(this.model&&F(t,e)){var n=null,s=this.model.expression;if(this.model.expression&&(n=this.vm,s=this.model.expression),!s&&this.componentInstance&&this.componentInstance.$options.model&&(n=this.componentInstance,s=this.componentInstance.$options.model.prop||"value"),n&&s){var o=p(a,this.delay[e],!1,r),u=n.$watch(s,function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];i.flags.pending=!0,i._cancellationToken=r,o.apply(void 0,t)});this.watchers.push({tag:"input_model",unwatch:u}),t=t.filter(function(t){return t!==e})}}t.forEach(function(t){var n=p(a,i.delay[t],!1,r),e=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];i.flags.pending=!0,i._cancellationToken=r,n.apply(void 0,t)};i._addComponentEventListener(t,e),i._addHTMLEventListener(t,e)})}},G.prototype._addComponentEventListener=function(t,e){var n=this;this.componentInstance&&(this.componentInstance.$on(t,e),this.watchers.push({tag:"input_vue",unwatch:function(){n.componentInstance.$off(t,e)}}))},G.prototype._addHTMLEventListener=function(e,n){var i=this;if(this.el&&!this.componentInstance){var r=function(t){a(t,e,n),i.watchers.push({tag:"input_native",unwatch:function(){t.removeEventListener(e,n)}})};if(r(this.el),o(this.el)){var t=document.querySelectorAll('input[name="'+this.el.name+'"]');_(t).forEach(function(t){t._veeValidateId&&t!==i.el||r(t)})}}},G.prototype.updateAriaAttrs=function(){var e=this;if(this.aria&&this.el&&y(this.el.setAttribute)){var t=function(t){t.setAttribute("aria-required",e.isRequired?"true":"false"),t.setAttribute("aria-invalid",e.flags.invalid?"true":"false")};if(o(this.el)){var n=document.querySelectorAll('input[name="'+this.el.name+'"]');_(n).forEach(t)}else t(this.el)}},G.prototype.updateCustomValidity=function(){this.validity&&this.el&&y(this.el.setCustomValidity)&&this.validator.errors&&this.el.setCustomValidity(this.flags.valid?"":this.validator.errors.firstById(this.id)||"")},G.prototype.destroy=function(){this._cancellationToken&&(this._cancellationToken.cancelled=!0),this.unwatch(),this.dependencies.forEach(function(t){return t.field.destroy()}),this.dependencies=[]},Object.defineProperties(G.prototype,W);var U=function(t){void 0===t&&(t=[]),this.items=t||[]},J={length:{configurable:!0}};U.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){var t=this,e=0;return{next:function(){return{value:t.items[e++],done:e>t.items.length}}}},J.length.get=function(){return this.items.length},U.prototype.find=function(e){return w(this.items,function(t){return t.matches(e)})},U.prototype.filter=function(n){return Array.isArray(n)?this.items.filter(function(e){return n.some(function(t){return e.matches(t)})}):this.items.filter(function(t){return t.matches(n)})},U.prototype.map=function(t){return this.items.map(t)},U.prototype.remove=function(t){var e=null;if(!(e=t instanceof G?t:this.find(t)))return null;var n=this.items.indexOf(e);return this.items.splice(n,1),e},U.prototype.push=function(t){if(!(t instanceof G))throw v("FieldBag only accepts instances of Field that has an id defined.");if(!t.id)throw v("Field id must be defined.");if(this.find({id:t.id}))throw v("Field with id "+t.id+" is already added.");this.items.push(t)},Object.defineProperties(U.prototype,J);var Q=function(t,e){this.id=e._uid,this._base=t,this._paused=!1,this.errors=new T(t.errors,this.id)},X={flags:{configurable:!0},rules:{configurable:!0},fields:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};X.flags.get=function(){var e=this;return this._base.fields.items.filter(function(t){return t.vmId===e.id}).reduce(function(t,e){return e.scope&&(t["$"+e.scope]||(t["$"+e.scope]={}),t["$"+e.scope][e.name]=e.flags),t[e.name]=e.flags,t},{})},X.rules.get=function(){return this._base.rules},X.fields.get=function(){return new U(this._base.fields.filter({vmId:this.id}))},X.dictionary.get=function(){return this._base.dictionary},X.locale.get=function(){return this._base.locale},X.locale.set=function(t){this._base.locale=t},Q.prototype.localize=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=this._base).localize.apply(t,e)},Q.prototype.update=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=this._base).update.apply(t,e)},Q.prototype.attach=function(t){var e=I({},t,{vmId:this.id});return this._base.attach(e)},Q.prototype.pause=function(){this._paused=!0},Q.prototype.resume=function(){this._paused=!1},Q.prototype.remove=function(t){return this._base.remove(t)},Q.prototype.detach=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=this._base).detach.apply(t,e.concat([this.id]))},Q.prototype.extend=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=this._base).extend.apply(t,e)},Q.prototype.validate=function(t,e,n){return void 0===n&&(n={}),this._paused?Promise.resolve(!0):this._base.validate(t,e,I({},{vmId:this.id},n||{}))},Q.prototype.validateAll=function(t,e){return void 0===e&&(e={}),this._paused?Promise.resolve(!0):this._base.validateAll(t,I({},{vmId:this.id},e||{}))},Q.prototype.validateScopes=function(t){return void 0===t&&(t={}),this._paused?Promise.resolve(!0):this._base.validateScopes(I({},{vmId:this.id},t||{}))},Q.prototype.destroy=function(){delete this.id,delete this._base},Q.prototype.reset=function(t){return this._base.reset(Object.assign({},t||{},{vmId:this.id}))},Q.prototype.flag=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=this._base).flag.apply(t,e.concat([this.id]))},Object.defineProperties(Q.prototype,X);var Z={provide:function(){return this.$validator&&!A(this.$vnode)?{$validator:this.$validator}:{}},beforeCreate:function(){if(!A(this.$vnode)){this.$parent||D.merge(this.$options.$_veeValidate||{});var t=D.resolve(this);(!this.$parent||this.$options.$_veeValidate&&/new/.test(this.$options.$_veeValidate.validator))&&(this.$validator=new Q(D.dependency("validator"),this));var e,n=(e=this.$options.inject,!(!m(e)||!e.$validator));if(this.$validator||!t.inject||n||(this.$validator=new Q(D.dependency("validator"),this)),n||this.$validator){if(!n&&this.$validator)this.$options._base.util.defineReactive(this.$validator,"errors",this.$validator.errors);this.$options.computed||(this.$options.computed={}),this.$options.computed[t.errorBagName||"errors"]=function(){return this.$validator.errors},this.$options.computed[t.fieldsBagName||"fields"]=function(){return this.$validator.fields.items.reduce(function(t,e){return e.scope?(t["$"+e.scope]||(t["$"+e.scope]={}),t["$"+e.scope][e.name]=e.flags):t[e.name]=e.flags,t},{})}}}},beforeDestroy:function(){this.$validator&&this._uid===this.$validator.id&&this.$validator.errors.clear()}};function tt(t,e){return e&&e.$validator?e.$validator.fields.find({id:t._veeValidateId}):null}var et,nt={bind:function(t,e,n){var i=n.context.$validator;if(i){var r=R.generate(t,e,n);i.attach(r)}},inserted:function(t,e,n){var i=tt(t,n.context),r=R.resolveScope(t,e,n);i&&r!==i.scope&&(i.update({scope:r}),i.updated=!1)},update:function(t,e,n){var i=tt(t,n.context);if(!(!i||i.updated&&c(e.value,e.oldValue))){var r=R.resolveScope(t,e,n),a=R.resolveRules(t,e,n);i.update({scope:r,rules:a})}},unbind:function(t,e,n){var i=n.context,r=tt(t,i);r&&i.$validator.detach(r)}};var it=function(n,i){var r={pristine:function(t,e){return t&&e},dirty:function(t,e){return t||e},touched:function(t,e){return t||e},untouched:function(t,e){return t&&e},valid:function(t,e){return t&&e},invalid:function(t,e){return t||e},pending:function(t,e){return t||e},required:function(t,e){return t||e},validated:function(t,e){return t&&e}};return Object.keys(r).reduce(function(t,e){return t[e]=r[e](n[e],i[e]),t},{})},rt=function(i,r){return void 0===r&&(r=!0),Object.keys(i).reduce(function(t,e){if(!t)return t=I({},i[e]);var n=0===e.indexOf("$");return r&&n?it(rt(i[e]),t):!r&&n?t:t=it(t,i[e])},null)},at={name:"vv-error",inject:["$validator"],functional:!0,props:{for:{type:String,required:!0},tag:{type:String,default:"span"}},render:function(t,e){var n=e.props,i=e.injections;return t(n.tag,i.$validator.errors.first(n.for))}};return{install:function(t,e){if(void 0===e&&(e={}),!et||t!==et){!function(){try{var t=Object.defineProperty({},"passive",{get:function(){u=!0}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(t){u=!1}}(),et=t;var n=new z(null,e),i=new et({data:function(){return{errors:n.errors,fields:n.fields}}});D.register("vm",i),D.register("validator",n),D.merge(e);var r=D.current,a=r.dictionary,s=r.i18n;a&&n.localize(a);var o=function(){n.errors.regenerate()};s?s._vm.$watch("locale",o):"undefined"!=typeof window&&i.$on("localeChanged",o),!s&&e.locale&&n.localize(e.locale),z.setStrictMode(D.current.strict),et.mixin(Z),et.directive("validate",nt)}},use:function(t,e){if(void 0===e&&(e={}),!y(t))return n("The plugin must be a callable function");t({Validator:z,ErrorBag:T,Rules:z.rules},e)},directive:nt,mixin:Z,mapFields:function(t){if(!t)return function(){return rt(this.$validator.flags)};var e,a=(e=t,Array.isArray(e)?e.reduce(function(t,e){return F(e,".")?t[e.split(".")[1]]=e:t[e]=e,t},{}):e);return Object.keys(a).reduce(function(t,i){var r=a[i];return t[i]=function(){if(this.$validator.flags[r])return this.$validator.flags[r];if("*"===a[i])return rt(this.$validator.flags,!1);if(r.indexOf(".")<=0)return{};var t=r.split("."),e=t[0],n=t.slice(1);return e=this.$validator.flags["$"+e],"*"===(n=n.join("."))&&e?rt(e):e&&e[n]?e[n]:{}},t},{})},Validator:z,ErrorBag:T,ErrorComponent:at,version:"2.1.0-beta.8"}});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.VeeValidate=e()}(this,function(){"use strict";var u=!0,a=function(t,e,n){t.addEventListener(e,n,!!u&&{passive:!0})},s=function(t){return F(["text","password","search","email","tel","url","textarea"],t.type)},o=function(t){return F(["radio","checkbox"],t.type)},l=function(t,e){return t.getAttribute("data-vv-"+e)},d=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return t.every(function(t){return null==t})},c=function(e,n){if(e instanceof RegExp&&n instanceof RegExp)return c(e.source,n.source)&&c(e.flags,n.flags);if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;for(var t=0;t<e.length;t++)if(!c(e[t],n[t]))return!1;return!0}return m(e)&&m(n)?Object.keys(e).every(function(t){return c(e[t],n[t])})&&Object.keys(n).every(function(t){return c(e[t],n[t])}):e===n},r=function(t){return d(t)?null:"FORM"===t.tagName?t:d(t.form)?d(t.parentNode)?null:r(t.parentNode):t.form},f=function(t,e,n){if(void 0===n&&(n=void 0),!t||!e)return n;var i=e;return t.split(".").every(function(t){return t in i?(i=i[t],!0):(i=n,!1)}),i},p=function(i,r,a,s){return void 0===r&&(r=0),void 0===a&&(a=!1),void 0===s&&(s={cancelled:!1}),0===r?i:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=a&&!o;clearTimeout(o),o=setTimeout(function(){o=null,a||s.cancelled||i.apply(void 0,t)},r),n&&i.apply(void 0,t)};var o},i=function(t,e){return e?t?("string"==typeof e&&(e=h(e)),I({},e,h(t))):h(e):h(t)},h=function(i){return i?m(i)?Object.keys(i).reduce(function(t,e){var n=[];return n=!0===i[e]?[]:Array.isArray(i[e])?i[e]:m(i[e])?i[e]:[i[e]],!1!==i[e]&&(t[e]=n),t},{}):"string"!=typeof i?(n("rules must be either a string or an object."),{}):i.split("|").reduce(function(t,e){var n,i,r,a=(i=[],r=(n=e).split(":")[0],F(n,":")&&(i=n.split(":").slice(1).join(":").split(",")),{name:r,params:i});return a.name&&(t[a.name]=a.params),t},{}):{}},n=function(t){console.warn("[vee-validate] "+t)},v=function(t){return new Error("[vee-validate] "+t)},m=function(t){return null!==t&&t&&"object"==typeof t&&!Array.isArray(t)},y=function(t){return"function"==typeof t},g=function(t,e){return t.classList?t.classList.contains(e):!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))},b=function(e,t,n){var i,r;if(e&&t){if(!Array.isArray(t))return n?(r=t,void((i=e).classList?i.classList.add(r):g(i,r)||(i.className+=" "+r))):void function(t,e){if(t.classList)t.classList.remove(e);else if(g(t,e)){var n=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(n," ")}}(e,t);t.forEach(function(t){return b(e,t,n)})}},_=function(t){if(y(Array.from))return Array.from(t);for(var e=[],n=t.length,i=0;i<n;i++)e.push(t[i]);return e},I=function(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];if(y(Object.assign))return Object.assign.apply(Object,[t].concat(e));if(null==t)throw new TypeError("Cannot convert undefined or null to object");var i=Object(t);return e.forEach(function(e){null!=e&&Object.keys(e).forEach(function(t){i[t]=e[t]})}),i},e=0,$="{id}",A=function(t,e){for(var n=Array.isArray(t)?t:_(t),i=0;i<n.length;i++)if(e(n[i]))return n[i]},w=function(t){if(!t)return!1;var e=t.componentOptions.tag;return/^(keep-alive|transition|transition-group)$/.test(e)},x=function(t){if("number"==typeof t)return t;if("string"==typeof t)return parseInt(t);var e={};for(var n in t)e[n]=parseInt(t[n]);return e},E=function(i,r){return m(i)&&m(r)&&Object.keys(r).forEach(function(t){var e,n;if(m(r[t]))return i[t]||I(i,((e={})[t]={},e)),void E(i[t],r[t]);I(i,((n={})[t]=r[t],n))}),i},j=function(t,e){if(t.required&&(e=i("required",e)),s(t))return"email"===t.type&&(e=i("email"+(t.multiple?":multiple":""),e)),t.pattern&&(e=i({regex:t.pattern},e)),0<=t.maxLength&&t.maxLength<524288&&(e=i("max:"+t.maxLength,e)),0<t.minLength&&(e=i("min:"+t.minLength,e)),e;if("number"===t.type)return e=i("decimal",e),""!==t.min&&(e=i("min_value:"+t.min,e)),""!==t.max&&(e=i("max_value:"+t.max,e)),e;if(F(["date","week","month","datetime-local","time"],t.type)){var n=t.step&&Number(t.step)<60?"HH:mm:ss":"HH:mm";if("date"===t.type)return i("date_format:YYYY-MM-DD",e);if("datetime-local"===t.type)return i("date_format:YYYY-MM-DDT"+n,e);if("month"===t.type)return i("date_format:YYYY-MM",e);if("week"===t.type)return i("date_format:YYYY-[W]WW",e);if("time"===t.type)return i("date_format:"+n,e)}return e},F=function(t,e){return-1!==t.indexOf(e)},O="en",t=function(t){void 0===t&&(t={}),this.container={},this.merge(t)},N={locale:{configurable:!0}};N.locale.get=function(){return O},N.locale.set=function(t){O=t||"en"},t.prototype.hasLocale=function(t){return!!this.container[t]},t.prototype.setDateFormat=function(t,e){this.container[t]||(this.container[t]={}),this.container[t].dateFormat=e},t.prototype.getDateFormat=function(t){return this.container[t]&&this.container[t].dateFormat?this.container[t].dateFormat:null},t.prototype.getMessage=function(t,e,n){var i=null;return i=this.hasMessage(t,e)?this.container[t].messages[e]:this._getDefaultMessage(t),y(i)?i.apply(void 0,n):i},t.prototype.getFieldMessage=function(t,e,n,i){if(!this.hasLocale(t))return this.getMessage(t,n,i);var r=this.container[t].custom&&this.container[t].custom[e];if(!r||!r[n])return this.getMessage(t,n,i);var a=r[n];return y(a)?a.apply(void 0,i):a},t.prototype._getDefaultMessage=function(t){return this.hasMessage(t,"_default")?this.container[t].messages._default:this.container.en.messages._default},t.prototype.getAttribute=function(t,e,n){return void 0===n&&(n=""),this.hasAttribute(t,e)?this.container[t].attributes[e]:n},t.prototype.hasMessage=function(t,e){return!!(this.hasLocale(t)&&this.container[t].messages&&this.container[t].messages[e])},t.prototype.hasAttribute=function(t,e){return!!(this.hasLocale(t)&&this.container[t].attributes&&this.container[t].attributes[e])},t.prototype.merge=function(t){E(this.container,t)},t.prototype.setMessage=function(t,e,n){this.hasLocale(t)||(this.container[t]={messages:{},attributes:{}}),this.container[t].messages[e]=n},t.prototype.setAttribute=function(t,e,n){this.hasLocale(t)||(this.container[t]={messages:{},attributes:{}}),this.container[t].attributes[e]=n},Object.defineProperties(t.prototype,N);var k=function(n){return m(n)?Object.keys(n).reduce(function(t,e){return t[e]=k(n[e]),t},{}):y(n)?n("{0}",["{1}","{2}","{3}"]):n},L=function(t,e){this.i18n=t,this.rootKey=e},V={locale:{configurable:!0}};V.locale.get=function(){return this.i18n.locale},V.locale.set=function(t){n("Cannot set locale from the validator when using vue-i18n, use i18n.locale setter instead")},L.prototype.getDateFormat=function(t){return this.i18n.getDateTimeFormat(t||this.locale)},L.prototype.setDateFormat=function(t,e){this.i18n.setDateTimeFormat(t||this.locale,e)},L.prototype.getMessage=function(t,e,n){var i=this.rootKey+".messages."+e;return this.i18n.te(i)?this.i18n.t(i,t,n):this.i18n.t(this.rootKey+".messages._default",t,n)},L.prototype.getAttribute=function(t,e,n){void 0===n&&(n="");var i=this.rootKey+".attributes."+e;return this.i18n.te(i)?this.i18n.t(i,t):n},L.prototype.getFieldMessage=function(t,e,n,i){var r=this.rootKey+".custom."+e+"."+n;return this.i18n.te(r)?this.i18n.t(r,t,i):this.getMessage(t,n,i)},L.prototype.merge=function(s){var o=this;Object.keys(s).forEach(function(t){var e,n,i,r=E({},f(t+"."+o.rootKey,o.i18n.messages,{})),a=E(r,(n=s[t],i={},n.messages&&(i.messages=k(n.messages)),n.custom&&(i.custom=k(n.custom)),n.attributes&&(i.attributes=n.attributes),d(n.dateFormat)||(i.dateFormat=n.dateFormat),i));o.i18n.mergeLocaleMessage(t,((e={})[o.rootKey]=a,e)),a.dateFormat&&o.i18n.setDateTimeFormat(t,a.dateFormat)})},L.prototype.setMessage=function(t,e,n){var i,r;this.merge(((r={})[t]={messages:(i={},i[e]=n,i)},r))},L.prototype.setAttribute=function(t,e,n){var i,r;this.merge(((r={})[t]={attributes:(i={},i[e]=n,i)},r))},Object.defineProperties(L.prototype,V);var M={locale:"en",delay:0,errorBagName:"errors",dictionary:null,strict:!0,fieldsBagName:"fields",classes:!1,classNames:null,events:"input",inject:!0,fastExit:!0,aria:!0,validity:!1,i18n:null,i18nRootKey:"validation"},P=I({},M),C={dictionary:new t({en:{messages:{},attributes:{},custom:{}}})},T=function(){},D={default:{configurable:!0},current:{configurable:!0}};D.default.get=function(){return M},D.current.get=function(){return P},T.dependency=function(t){return C[t]},T.merge=function(t){(P=I({},P,t)).i18n&&T.register("dictionary",new L(P.i18n,P.i18nRootKey))},T.register=function(t,e){C[t]=e},T.resolve=function(t){var e=f("$options.$_veeValidate",t,{});return I({},T.current,e)},Object.defineProperties(T,D);var S=function t(e,n){void 0===e&&(e=null),void 0===n&&(n=null),this.vmId=n||null,this.items=e&&e instanceof t?e.items:[]};S.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){var t=this,e=0;return{next:function(){return{value:t.items[e++],done:e>t.items.length}}}},S.prototype.add=function(t){var e;(e=this.items).push.apply(e,this._normalizeError(t))},S.prototype._normalizeError=function(t){var e=this;return Array.isArray(t)?t.map(function(t){return t.scope=d(t.scope)?null:t.scope,t.vmId=d(t.vmId)?e.vmId||null:t.vmId,t}):(t.scope=d(t.scope)?null:t.scope,t.vmId=d(t.vmId)?this.vmId||null:t.vmId,[t])},S.prototype.regenerate=function(){this.items.forEach(function(t){t.msg=y(t.regenerate)?t.regenerate():t.msg})},S.prototype.update=function(e,t){var n=A(this.items,function(t){return t.id===e});if(n){var i=this.items.indexOf(n);this.items.splice(i,1),n.scope=t.scope,this.items.push(n)}},S.prototype.all=function(i){var r=this;return this.items.filter(function(t){var e=!0,n=!0;return d(i)||(e=t.scope===i),d(r.vmId)||(n=t.vmId===r.vmId),n&&e}).map(function(t){return t.msg})},S.prototype.any=function(n){var i=this;return!!this.items.filter(function(t){var e=!0;return d(n)||(e=t.scope===n),d(i.vmId)||(e=t.vmId===i.vmId),e}).length},S.prototype.clear=function(t){var e=this,n=d(this.vmId)?function(){return!0}:function(t){return t.vmId===e.vmId};d(t)&&(t=null);for(var i=0;i<this.items.length;++i)n(e.items[i])&&e.items[i].scope===t&&(e.items.splice(i,1),--i)},S.prototype.collect=function(t,e,i){var r=this;void 0===i&&(i=!0);var a=!d(t)&&!t.includes("*"),n=function(t){var e,n=t.reduce(function(t,e){return(d(r.vmId)||e.vmId===r.vmId)&&(t[e.field]||(t[e.field]=[]),t[e.field].push(i?e.msg:e)),t},{});return a?(e=n,y(Object.values)?Object.values(e):e[Object.keys(e)[0]])[0]||[]:n};if(d(t))return n(this.items);var s=d(e)?String(t):e+"."+t,o=this._makeCandidateFilters(s),u=o.isPrimary,l=o.isAlt,c=this.items.reduce(function(t,e){return u(e)&&t.primary.push(e),l(e)&&t.alt.push(e),t},{primary:[],alt:[]});return n(c=c.primary.length?c.primary:c.alt)},S.prototype.count=function(){var e=this;return this.vmId?this.items.filter(function(t){return t.vmId===e.vmId}).length:this.items.length},S.prototype.firstById=function(e){var t=A(this.items,function(t){return t.id===e});return t?t.msg:void 0},S.prototype.first=function(t,e){void 0===e&&(e=null);var n=d(e)?t:e+"."+t,i=this._match(n);return i&&i.msg},S.prototype.firstRule=function(t,e){var n=this.collect(t,e,!1);return n.length&&n[0].rule||void 0},S.prototype.has=function(t,e){return void 0===e&&(e=null),!!this.first(t,e)},S.prototype.firstByRule=function(t,e,n){void 0===n&&(n=null);var i=this.collect(t,n,!1).filter(function(t){return t.rule===e})[0];return i&&i.msg||void 0},S.prototype.firstNot=function(t,e,n){void 0===e&&(e="required"),void 0===n&&(n=null);var i=this.collect(t,n,!1).filter(function(t){return t.rule!==e})[0];return i&&i.msg||void 0},S.prototype.removeById=function(e){var t=function(t){return t.id===e};Array.isArray(e)&&(t=function(t){return-1!==e.indexOf(t.id)});for(var n=0;n<this.items.length;++n)t(this.items[n])&&(this.items.splice(n,1),--n)},S.prototype.remove=function(t,e,n){if(!d(t))for(var i,r=d(e)?String(t):e+"."+t,a=this._makeCandidateFilters(r).isPrimary,s=0;s<this.items.length;++s)i=this.items[s],(d(n)?a(i):a(i)&&i.vmId===n)&&(this.items.splice(s,1),--s)},S.prototype._makeCandidateFilters=function(t){var e=this,n=function(){return!0},i=function(){return!0},r=function(){return!0},a=function(){return!0},s=function(t){var e=null;if(F(t,":")&&(e=t.split(":").pop(),t=t.replace(":"+e,"")),"#"===t[0])return{id:t.slice(1),rule:e,name:null,scope:null};var n=null,i=t;if(F(t,".")){var r=t.split(".");n=r[0],i=r.slice(1).join(".")}return{id:null,scope:n,name:i,rule:e}}(t),o=s.id,u=s.rule,l=s.scope,c=s.name;if(u&&(n=function(t){return t.rule===u}),o)return{isPrimary:function(t){return n(t)&&function(t){return o===t.id}},isAlt:function(){return!1}};i=d(l)?function(t){return d(t.scope)}:function(t){return t.scope===l},d(c)||"*"===c||(r=function(t){return t.field===c}),d(this.vmId)||(a=function(t){return t.vmId===e.vmId});return{isPrimary:function(t){return a(t)&&r(t)&&n(t)&&i(t)},isAlt:function(t){return a(t)&&n(t)&&t.field===l+"."+c}}},S.prototype._match=function(t){if(!d(t)){var e=this._makeCandidateFilters(t),a=e.isPrimary,s=e.isAlt;return this.items.reduce(function(t,e,n,i){var r=n===i.length-1;return t.primary?r?t.primary:t:(a(e)&&(t.primary=e),s(e)&&(t.alt=e),r?t.primary||t.alt:t)},{})}};var R=function(){};R.generate=function(t,e,n){var i=R.resolveModel(e,n),r=T.resolve(n.context);return{name:R.resolveName(t,n),el:t,listen:!e.modifiers.disable,bails:!!e.modifiers.bails||!0!==e.modifiers.continues&&void 0,scope:R.resolveScope(t,e,n),vm:R.makeVM(n.context),expression:e.value,component:n.componentInstance,classes:r.classes,classNames:r.classNames,getter:R.resolveGetter(t,n,i),events:R.resolveEvents(t,n)||r.events,model:i,delay:R.resolveDelay(t,n,r),rules:R.resolveRules(t,e,n),immediate:!!e.modifiers.initial||!!e.modifiers.immediate,validity:r.validity,aria:r.aria,initialValue:R.resolveInitialValue(n)}},R.getCtorConfig=function(t){return t.componentInstance?f("componentInstance.$options.$_veeValidate",t):null},R.resolveRules=function(t,e,n){var i="";return e.value||e&&e.expression||(i=l(t,"rules")),e.value&&F(["string","object"],typeof e.value.rules)?i=e.value.rules:e.value&&(i=e.value),n.componentInstance?i:j(t,i)},R.resolveInitialValue=function(t){var e=t.data.model||A(t.data.directives,function(t){return"model"===t.name});return e&&e.value},R.makeVM=function(t){return{get $el(){return t.$el},get $refs(){return t.$refs},$watch:t.$watch?t.$watch.bind(t):function(){},$validator:t.$validator?{errors:t.$validator.errors,validate:t.$validator.validate.bind(t.$validator),update:t.$validator.update.bind(t.$validator)}:null}},R.resolveDelay=function(t,e,n){var i=l(t,"delay"),r=n&&"delay"in n?n.delay:0;return!i&&e.componentInstance&&e.componentInstance.$attrs&&(i=e.componentInstance.$attrs["data-vv-delay"]),m(r)?(d(i)||(r.input=i),x(r)):x(i||r)},R.resolveEvents=function(t,e){var n=l(t,"validate-on");if(!n&&e.componentInstance&&e.componentInstance.$attrs&&(n=e.componentInstance.$attrs["data-vv-validate-on"]),!n&&e.componentInstance){var i=R.getCtorConfig(e);n=i&&i.events}if(!n&&T.current.events&&(n=T.current.events),n&&e.componentInstance&&F(n,"input")){var r=(e.componentInstance.$options.model||{event:"input"}).event;if(!r)return n;n=n.replace("input",r)}return n},R.resolveScope=function(t,e,n){void 0===n&&(n={});var i=null;return n.componentInstance&&d(i)&&(i=n.componentInstance.$attrs&&n.componentInstance.$attrs["data-vv-scope"]),d(i)?function(t){var e=l(t,"scope");if(d(e)){var n=r(t);n&&(e=l(n,"scope"))}return d(e)?null:e}(t):i},R.resolveModel=function(t,e){if(t.arg)return{expression:t.arg};var n=e.data.model||A(e.data.directives,function(t){return"model"===t.name});if(!n)return null;var i,r,a,s=!/[^\w.$]/.test(n.expression)&&(i=n.expression,r=e.context,a=r,i.split(".").every(function(t){return t in a&&(a=a[t],!0)})),o=!(!n.modifiers||!n.modifiers.lazy);return s?{expression:n.expression,lazy:o}:{expression:null,lazy:o}},R.resolveName=function(t,e){var n=l(t,"name");if(!n&&!e.componentInstance)return t.name;if(!n&&e.componentInstance&&e.componentInstance.$attrs&&(n=e.componentInstance.$attrs["data-vv-name"]||e.componentInstance.$attrs.name),n||!e.componentInstance)return n;var i=R.getCtorConfig(e);return i&&y(i.name)?i.name.bind(e.componentInstance)():e.componentInstance.name},R.resolveGetter=function(n,t,e){if(e&&e.expression)return function(){return f(e.expression,t.context)};if(t.componentInstance){var i=l(n,"value-path")||t.componentInstance.$attrs&&t.componentInstance.$attrs["data-vv-value-path"];if(i)return function(){return f(i,t.componentInstance)};var r=R.getCtorConfig(t);if(r&&y(r.value)){var a=r.value.bind(t.componentInstance);return function(){return a()}}var s=(t.componentInstance.$options.model||{prop:"value"}).prop;return function(){return t.componentInstance[s]}}switch(n.type){case"checkbox":return function(){var t=document.querySelectorAll('input[name="'+n.name+'"]');if((t=_(t).filter(function(t){return t.checked})).length)return t.map(function(t){return t.value})};case"radio":return function(){var t=document.querySelectorAll('input[name="'+n.name+'"]'),e=A(t,function(t){return t.checked});return e&&e.value};case"file":return function(t){return _(n.files)};case"select-multiple":return function(){return _(n.options).filter(function(t){return t.selected}).map(function(t){return t.value})};default:return function(){return n&&n.value}}};var q={},Y=!0,z=function(t,e){void 0===e&&(e={fastExit:!0}),this.strict=Y,this.errors=new S,this.fields=new U,this._createFields(t),this.paused=!1,this.fastExit=!!d(e&&e.fastExit)||e.fastExit},B={rules:{configurable:!0},flags:{configurable:!0},dictionary:{configurable:!0},_vm:{configurable:!0},locale:{configurable:!0}},K={rules:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};K.rules.get=function(){return q},B.rules.get=function(){return q},B.flags.get=function(){return this.fields.items.reduce(function(t,e){var n;return e.scope?t["$"+e.scope]=((n={})[e.name]=e.flags,n):t[e.name]=e.flags,t},{})},B.dictionary.get=function(){return T.dependency("dictionary")},K.dictionary.get=function(){return T.dependency("dictionary")},B._vm.get=function(){return T.dependency("vm")},B.locale.get=function(){return z.locale},B.locale.set=function(t){z.locale=t},K.locale.get=function(){return this.dictionary.locale},K.locale.set=function(t){var e=t!==z.dictionary.locale;z.dictionary.locale=t,e&&T.dependency("vm")&&T.dependency("vm").$emit("localeChanged")},z.create=function(t,e){return new z(t,e)},z.extend=function(t,e,n){void 0===n&&(n={}),z._guardExtend(t,e),z._merge(t,{validator:e,paramNames:n&&n.paramNames,options:I({},{hasTarget:!1,immediate:!0},n||{})})},z.remove=function(t){delete q[t]},z.isTargetRule=function(t){return!!q[t]&&q[t].options.hasTarget},z.setStrictMode=function(t){void 0===t&&(t=!0),Y=t},z.prototype.localize=function(t,e){z.localize(t,e)},z.localize=function(t,e){var n;if(m(t))z.dictionary.merge(t);else{if(e){var i=t||e.name;e=I({},e),z.dictionary.merge(((n={})[i]=e,n))}t&&(z.locale=t)}},z.prototype.attach=function(t){var e=t.initialValue,n=new G(t);return this.fields.push(n),n.immediate?this.validate("#"+n.id,e||n.value,{vmId:t.vmId}):this._validate(n,e||n.value,{initial:!0}).then(function(t){n.flags.valid=t.valid,n.flags.invalid=!t.valid}),n},z.prototype.flag=function(t,e,n){void 0===n&&(n=null);var i=this._resolveField(t,void 0,n);i&&e&&i.setFlags(e)},z.prototype.detach=function(t,e,n){var i=y(t.destroy)?t:this._resolveField(t,e,n);i&&(i.destroy(),this.errors.remove(i.name,i.scope,i.vmId),this.fields.remove(i))},z.prototype.extend=function(t,e,n){void 0===n&&(n={}),z.extend(t,e,n)},z.prototype.reset=function(t){var e=this;return this._vm.$nextTick().then(function(){return e._vm.$nextTick()}).then(function(){e.fields.filter(t).forEach(function(t){t.reset(),e.errors.remove(t.name,t.scope)})})},z.prototype.update=function(t,e){var n=e.scope;this._resolveField("#"+t)&&this.errors.update(t,{scope:n})},z.prototype.remove=function(t){z.remove(t)},z.prototype.validate=function(t,e,n){var i=this;void 0===n&&(n={});var r=n.silent,a=n.vmId;if(this.paused)return Promise.resolve(!0);if(d(t))return this.validateScopes({silent:r,vmId:a});if("*"===t)return this.validateAll(void 0,{silent:r,vmId:a});if(/^(.+)\.\*$/.test(t)){var s=t.match(/^(.+)\.\*$/)[1];return this.validateAll(s)}var o=this._resolveField(t);return o?(r||(o.flags.pending=!0),void 0===e&&(e=o.value),this._validate(o,e).then(function(t){return r||i._handleValidationResults([t],a),t.valid})):this._handleFieldNotFound(name)},z.prototype.pause=function(){return this.paused=!0,this},z.prototype.resume=function(){return this.paused=!1,this},z.prototype.validateAll=function(e,t){var n=this;void 0===t&&(t={});var i=t.silent,r=t.vmId;if(this.paused)return Promise.resolve(!0);var a=null,s=!1;return"string"==typeof e?a={scope:e,vmId:r}:m(e)?(a=Object.keys(e).map(function(t){return{name:t,vmId:r,scope:null}}),s=!0):a=Array.isArray(e)?e.map(function(t){return{name:t,vmId:r}}):{scope:null,vmId:r},Promise.all(this.fields.filter(a).map(function(t){return n._validate(t,s?e[t.name]:t.value)})).then(function(t){return i||n._handleValidationResults(t,r),t.every(function(t){return t.valid})})},z.prototype.validateScopes=function(t){var e=this;void 0===t&&(t={});var n=t.silent,i=t.vmId;return this.paused?Promise.resolve(!0):Promise.all(this.fields.filter({vmId:i}).map(function(t){return e._validate(t,t.value)})).then(function(t){return n||e._handleValidationResults(t,i),t.every(function(t){return t.valid})})},z.prototype.verify=function(t,e){var n={name:"{field}",rules:h(e)};return n.isRequired=n.rules.required,this._validate(n,t).then(function(t){return{valid:t.valid,errors:t.errors.map(function(t){return t.msg})}})},z.prototype.destroy=function(){this._vm.$off("localeChanged")},z.prototype._createFields=function(n){var i=this;n&&Object.keys(n).forEach(function(t){var e=I({},{name:t,rules:n[t]});i.attach(e)})},z.prototype._getDateFormat=function(t){var e=null;return t.date_format&&Array.isArray(t.date_format)&&(e=t.date_format[0]),e||this.dictionary.getDateFormat(this.locale)},z.prototype._formatErrorMessage=function(t,e,n,i){void 0===n&&(n={}),void 0===i&&(i=null);var r=this._getFieldDisplayName(t),a=this._getLocalizedParams(e,i);return this.dictionary.getFieldMessage(this.locale,t.name,e.name,[r,a,n])},z.prototype._convertParamObjectToArray=function(n,t){if(Array.isArray(n))return n;var e=q[t]&&q[t].paramNames;return e&&m(n)?e.reduce(function(t,e){return e in n&&t.push(n[e]),t},[]):n},z.prototype._getLocalizedParams=function(t,e){void 0===e&&(e=null);var n=this._convertParamObjectToArray(t.params,t.name);return t.options.hasTarget&&n&&n[0]?[e||this.dictionary.getAttribute(this.locale,n[0],n[0])].concat(n.slice(1)):n},z.prototype._getFieldDisplayName=function(t){return t.alias||this.dictionary.getAttribute(this.locale,t.name,t.name)},z.prototype._convertParamArrayToObj=function(e,t){var i=q[t]&&q[t].paramNames;if(!i)return e;if(m(e)){if(i.some(function(t){return-1!==Object.keys(e).indexOf(t)}))return e;e=[e]}return e.reduce(function(t,e,n){return t[i[n]]=e,t},{})},z.prototype._test=function(i,t,r){var a=this,e=q[r.name]?q[r.name].validate:null,n=Array.isArray(r.params)?_(r.params):r.params;n||(n=[]);var s=null;if(!e||"function"!=typeof e)return Promise.reject(v("No such validator '"+r.name+"' exists."));if(r.options.hasTarget){var o=A(i.dependencies,function(t){return t.name===r.name});o&&(s=o.field.alias,n=[o.field.value].concat(n.slice(1)))}else"required"===r.name&&i.rejectsFalse&&(n=n.length?n:[!0]);if(r.options.isDate){var u=this._getDateFormat(i.rules);"date_format"!==r.name&&n.push(u)}var l=e(t,this._convertParamArrayToObj(n,r.name));return y(l.then)?l.then(function(t){var e=!0,n={};return Array.isArray(t)?e=t.every(function(t){return m(t)?t.valid:t}):(e=m(t)?t.valid:t,n=t.data),{valid:e,errors:e?[]:[a._createFieldError(i,r,n,s)]}}):(m(l)||(l={valid:l,data:{}}),{valid:l.valid,errors:l.valid?[]:[this._createFieldError(i,r,l.data,s)]})},z._merge=function(t,e){var n=e.validator,i=e.options,r=e.paramNames,a=y(n)?n:n.validate;n.getMessage&&z.dictionary.setMessage(z.locale,t,n.getMessage),q[t]={validate:a,options:i,paramNames:r}},z._guardExtend=function(t,e){if(!y(e)&&!y(e.validate))throw v("Extension Error: The validator '"+t+"' must be a function or have a 'validate' method.")},z.prototype._createFieldError=function(t,e,n,i){var r=this;return{id:t.id,vmId:t.vmId,field:t.name,msg:this._formatErrorMessage(t,e,n,i),rule:e.name,scope:t.scope,regenerate:function(){return r._formatErrorMessage(t,e,n,i)}}},z.prototype._resolveField=function(t,e,n){if("#"===t[0])return this.fields.find({id:t.slice(1)});if(!d(e))return this.fields.find({name:t,scope:e,vmId:n});if(F(t,".")){var i=t.split("."),r=i[0],a=i.slice(1),s=this.fields.find({name:a.join("."),scope:r,vmId:n});if(s)return s}return this.fields.find({name:t,scope:null,vmId:n})},z.prototype._handleFieldNotFound=function(t,e){if(!this.strict)return Promise.resolve(!0);var n=d(e)?t:(d(e)?"":e+".")+t;return Promise.reject(v('Validating a non-existent field: "'+n+'". Use "attach()" first.'))},z.prototype._handleValidationResults=function(n,e){var i=this,t=n.map(function(t){return{id:t.id}});this.errors.removeById(t.map(function(t){return t.id})),n.forEach(function(t){i.errors.remove(t.field,t.scope,e)});var r=n.reduce(function(t,e){return t.push.apply(t,e.errors),t},[]);this.errors.add(r),this.fields.filter(t).forEach(function(e){var t=A(n,function(t){return t.id===e.id});e.setFlags({pending:!1,valid:t.valid,validated:!0})})},z.prototype._shouldSkip=function(t,e){return!1!==t.bails&&(!!t.isDisabled||!t.isRequired&&(d(e)||""===e))},z.prototype._shouldBail=function(t,e){return void 0!==t.bails?t.bails:this.fastExit},z.prototype._validate=function(i,r,t){var a=this;void 0===t&&(t={});var e=t.initial;if(this._shouldSkip(i,r))return Promise.resolve({valid:!0,id:i.id,field:i.name,scope:i.scope,errors:[]});var s=[],o=[],u=!1;return Object.keys(i.rules).filter(function(t){return!e||!q[t]||q[t].options.immediate}).some(function(t){var e=q[t]?q[t].options:{},n=a._test(i,r,{name:t,params:i.rules[t],options:e});return y(n.then)?s.push(n):!n.valid&&a._shouldBail(i,r)?(o.push.apply(o,n.errors),u=!0):s.push(new Promise(function(t){return t(n)})),u}),u?Promise.resolve({valid:!1,errors:o,id:i.id,field:i.name,scope:i.scope}):Promise.all(s).then(function(t){return t.reduce(function(t,e){var n;return e.valid||(n=t.errors).push.apply(n,e.errors),t.valid=t.valid&&e.valid,t},{valid:!0,errors:o,id:i.id,field:i.name,scope:i.scope})})},Object.defineProperties(z.prototype,B),Object.defineProperties(z,K);var H={targetOf:null,immediate:!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"}},G=function(t){void 0===t&&(t={}),this.id=(9999<=e&&(e=0,$=$.replace("{id}","_{id}")),e++,$.replace("{id}",String(e))),this.el=t.el,this.updated=!1,this.dependencies=[],this.vmId=t.vmId,this.watchers=[],this.events=[],this.delay=0,this.rules={},this._cacheId(t),this.classNames=I({},H.classNames),t=I({},H,t),this._delay=d(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,changed:!1},this.vm=t.vm,this.componentInstance=t.component,this.ctorConfig=this.componentInstance?f("$options.$_veeValidate",this.componentInstance):void 0,this.update(t),this.initialValue=this.value,this.updated=!1},W={validator:{configurable:!0},isRequired:{configurable:!0},isDisabled:{configurable:!0},alias:{configurable:!0},value:{configurable:!0},bails:{configurable:!0},rejectsFalse:{configurable:!0}};W.validator.get=function(){return this.vm&&this.vm.$validator?this.vm.$validator:{validate:function(){}}},W.isRequired.get=function(){return!!this.rules.required},W.isDisabled.get=function(){return!(!this.componentInstance||!this.componentInstance.disabled)||!(!this.el||!this.el.disabled)},W.alias.get=function(){if(this._alias)return this._alias;var t=null;return this.el&&(t=l(this.el,"as")),!t&&this.componentInstance?this.componentInstance.$attrs&&this.componentInstance.$attrs["data-vv-as"]:t},W.value.get=function(){if(y(this.getter))return this.getter()},W.bails.get=function(){return this._bails},W.rejectsFalse.get=function(){return this.componentInstance&&this.ctorConfig?!!this.ctorConfig.rejectsFalse:!!this.el&&"checkbox"===this.el.type},G.prototype.matches=function(t){var e=this;return!t||(t.id?this.id===t.id:!!(d(t.vmId)?function(){return!0}:function(t){return t===e.vmId})(t.vmId)&&(void 0===t.name&&void 0===t.scope||(void 0===t.scope?this.name===t.name:void 0===t.name?this.scope===t.scope:t.name===this.name&&t.scope===this.scope)))},G.prototype._cacheId=function(t){this.el&&!t.targetOf&&(this.el._veeValidateId=this.id)},G.prototype.update=function(t){var e,n,i,r;this.targetOf=t.targetOf||null,this.immediate=t.immediate||this.immediate||!1,!d(t.scope)&&t.scope!==this.scope&&y(this.validator.update)&&this.validator.update(this.id,{scope:t.scope}),this.scope=d(t.scope)?d(this.scope)?null:this.scope:t.scope,this.name=(d(t.name)?t.name:String(t.name))||this.name||null,this.rules=void 0!==t.rules?h(t.rules):this.rules,this._bails=void 0!==t.bails?t.bails:this._bails,this.model=t.model||this.model,this.listen=void 0!==t.listen?t.listen:this.listen,this.classes=!(!t.classes&&!this.classes)&&!this.componentInstance,this.classNames=m(t.classNames)?E(this.classNames,t.classNames):this.classNames,this.getter=y(t.getter)?t.getter:this.getter,this._alias=t.alias||this._alias,this.events=t.events?"string"==typeof(e=t.events)&&e.length?e.split("|"):[]:this.events,this.delay=(n=this.events,i=t.delay||this.delay,r=this._delay,"number"==typeof i?n.reduce(function(t,e){return t[e]=i,t},{}):n.reduce(function(t,e){return t[e]="object"==typeof i&&e in i?i[e]:"number"==typeof r?r:r&&r[e]||0,t},{})),this.updateDependencies(),this.addActionListeners(),void 0!==t.rules&&(this.flags.required=this.isRequired),this.flags.validated&&void 0!==t.rules&&this.updated&&this.validator.validate("#"+this.id),this.updated=!0,this.addValueListeners(),this.el&&(this.updateClasses(),this.updateAriaAttrs())},G.prototype.reset=function(){var e=this;this._cancellationToken&&(this._cancellationToken.cancelled=!0,delete this._cancellationToken);var n={untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1};Object.keys(this.flags).filter(function(t){return"required"!==t}).forEach(function(t){e.flags[t]=n[t]}),this.addActionListeners(),this.updateClasses(),this.updateAriaAttrs(),this.updateCustomValidity()},G.prototype.setFlags=function(e){var n=this,i={pristine:"dirty",dirty:"pristine",valid:"invalid",invalid:"valid",touched:"untouched",untouched:"touched"};Object.keys(e).forEach(function(t){n.flags[t]=e[t],i[t]&&void 0===e[i[t]]&&(n.flags[i[t]]=!e[t])}),void 0===e.untouched&&void 0===e.touched&&void 0===e.dirty&&void 0===e.pristine||this.addActionListeners(),this.updateClasses(),this.updateAriaAttrs(),this.updateCustomValidity()},G.prototype.updateDependencies=function(){var s=this;this.dependencies.forEach(function(t){return t.field.destroy()}),this.dependencies=[];var t=Object.keys(this.rules).reduce(function(t,e){return z.isTargetRule(e)&&t.push({selector:s.rules[e][0],name:e}),t},[]);t.length&&this.vm&&this.vm.$el&&t.forEach(function(t){var e=t.selector,n=t.name,i=s.vm.$refs[e],r=Array.isArray(i)?i[0]:i;if(r){var a={vm:s.vm,classes:s.classes,classNames:s.classNames,delay:s.delay,scope:s.scope,events:s.events.join("|"),immediate:s.immediate,targetOf:s.id};y(r.$watch)?(a.component=r,a.el=r.$el,a.getter=R.resolveGetter(r.$el,r.$vnode)):(a.el=r,a.getter=R.resolveGetter(r,{})),s.dependencies.push({name:n,field:new G(a)})}})},G.prototype.unwatch=function(e){if(void 0===e&&(e=null),!e)return this.watchers.forEach(function(t){return t.unwatch()}),void(this.watchers=[]);this.watchers.filter(function(t){return e.test(t.tag)}).forEach(function(t){return t.unwatch()}),this.watchers=this.watchers.filter(function(t){return!e.test(t.tag)})},G.prototype.updateClasses=function(){var e=this;if(this.classes&&!this.isDisabled){var t=function(t){b(t,e.classNames.dirty,e.flags.dirty),b(t,e.classNames.pristine,e.flags.pristine),b(t,e.classNames.touched,e.flags.touched),b(t,e.classNames.untouched,e.flags.untouched),!d(e.flags.valid)&&e.flags.validated&&b(t,e.classNames.valid,e.flags.valid),!d(e.flags.invalid)&&e.flags.validated&&b(t,e.classNames.invalid,e.flags.invalid)};if(o(this.el)){var n=document.querySelectorAll('input[name="'+this.el.name+'"]');_(n).forEach(t)}else t(this.el)}},G.prototype.addActionListeners=function(){var t=this;if(this.unwatch(/class/),this.el){var e=function(){t.flags.touched=!0,t.flags.untouched=!1,t.classes&&(b(t.el,t.classNames.touched,!0),b(t.el,t.classNames.untouched,!1)),t.unwatch(/^class_blur$/)},n=s(this.el)?"input":"change",i=function(){t.flags.dirty=!0,t.flags.pristine=!1,t.classes&&(b(t.el,t.classNames.pristine,!1),b(t.el,t.classNames.dirty,!0)),t.unwatch(/^class_input$/)};if(this.componentInstance&&y(this.componentInstance.$once))return this.componentInstance.$once("input",i),this.componentInstance.$once("blur",e),this.watchers.push({tag:"class_input",unwatch:function(){t.componentInstance.$off("input",i)}}),void this.watchers.push({tag:"class_blur",unwatch:function(){t.componentInstance.$off("blur",e)}});if(this.el){a(this.el,n,i);var r=o(this.el)?"change":"blur";a(this.el,r,e),this.watchers.push({tag:"class_input",unwatch:function(){t.el.removeEventListener(n,i)}}),this.watchers.push({tag:"class_blur",unwatch:function(){t.el.removeEventListener(r,e)}})}}},G.prototype.checkValueChanged=function(){return(null!==this.initialValue||""!==this.value||!s(this.el))&&this.value!==this.initialValue},G.prototype._determineInputEvent=function(){return this.componentInstance?this.componentInstance.$options.model&&this.componentInstance.$options.model.event||"input":this.model&&this.model.lazy?"change":s(this.el)?"input":"change"},G.prototype._determineEventList=function(e){return!this.events.length||this.componentInstance||s(this.el)?[].concat(this.events):this.events.map(function(t){return"input"===t?e:t})},G.prototype.addValueListeners=function(){var i=this;if(this.unwatch(/^input_.+/),this.listen&&this.el){var r={cancelled:!1},a=this.targetOf?function(){i.flags.changed=i.checkValueChanged(),i.validator.validate("#"+i.targetOf)}:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];(0===t.length||y(Event)&&t[0]instanceof Event||t[0]&&t[0].srcElement)&&(t[0]=i.value),i.flags.changed=i.checkValueChanged(),i.validator.validate("#"+i.id,t[0])},e=this._determineInputEvent(),t=this._determineEventList(e);if(this.model&&F(t,e)){var n=null,s=this.model.expression;if(this.model.expression&&(n=this.vm,s=this.model.expression),!s&&this.componentInstance&&this.componentInstance.$options.model&&(n=this.componentInstance,s=this.componentInstance.$options.model.prop||"value"),n&&s){var o=p(a,this.delay[e],!1,r),u=n.$watch(s,function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];i.flags.pending=!0,i._cancellationToken=r,o.apply(void 0,t)});this.watchers.push({tag:"input_model",unwatch:u}),t=t.filter(function(t){return t!==e})}}t.forEach(function(t){var n=p(a,i.delay[t],!1,r),e=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];i.flags.pending=!0,i._cancellationToken=r,n.apply(void 0,t)};i._addComponentEventListener(t,e),i._addHTMLEventListener(t,e)})}},G.prototype._addComponentEventListener=function(t,e){var n=this;this.componentInstance&&(this.componentInstance.$on(t,e),this.watchers.push({tag:"input_vue",unwatch:function(){n.componentInstance.$off(t,e)}}))},G.prototype._addHTMLEventListener=function(e,n){var i=this;if(this.el&&!this.componentInstance){var r=function(t){a(t,e,n),i.watchers.push({tag:"input_native",unwatch:function(){t.removeEventListener(e,n)}})};if(r(this.el),o(this.el)){var t=document.querySelectorAll('input[name="'+this.el.name+'"]');_(t).forEach(function(t){t._veeValidateId&&t!==i.el||r(t)})}}},G.prototype.updateAriaAttrs=function(){var e=this;if(this.aria&&this.el&&y(this.el.setAttribute)){var t=function(t){t.setAttribute("aria-required",e.isRequired?"true":"false"),t.setAttribute("aria-invalid",e.flags.invalid?"true":"false")};if(o(this.el)){var n=document.querySelectorAll('input[name="'+this.el.name+'"]');_(n).forEach(t)}else t(this.el)}},G.prototype.updateCustomValidity=function(){this.validity&&this.el&&y(this.el.setCustomValidity)&&this.validator.errors&&this.el.setCustomValidity(this.flags.valid?"":this.validator.errors.firstById(this.id)||"")},G.prototype.destroy=function(){this._cancellationToken&&(this._cancellationToken.cancelled=!0),this.unwatch(),this.dependencies.forEach(function(t){return t.field.destroy()}),this.dependencies=[]},Object.defineProperties(G.prototype,W);var U=function(t){void 0===t&&(t=[]),this.items=t||[]},J={length:{configurable:!0}};U.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){var t=this,e=0;return{next:function(){return{value:t.items[e++],done:e>t.items.length}}}},J.length.get=function(){return this.items.length},U.prototype.find=function(e){return A(this.items,function(t){return t.matches(e)})},U.prototype.filter=function(n){return Array.isArray(n)?this.items.filter(function(e){return n.some(function(t){return e.matches(t)})}):this.items.filter(function(t){return t.matches(n)})},U.prototype.map=function(t){return this.items.map(t)},U.prototype.remove=function(t){var e=null;if(!(e=t instanceof G?t:this.find(t)))return null;var n=this.items.indexOf(e);return this.items.splice(n,1),e},U.prototype.push=function(t){if(!(t instanceof G))throw v("FieldBag only accepts instances of Field that has an id defined.");if(!t.id)throw v("Field id must be defined.");if(this.find({id:t.id}))throw v("Field with id "+t.id+" is already added.");this.items.push(t)},Object.defineProperties(U.prototype,J);var Q=function(t,e){this.id=e._uid,this._base=t,this._paused=!1,this.errors=new S(t.errors,this.id)},X={flags:{configurable:!0},rules:{configurable:!0},fields:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};X.flags.get=function(){var e=this;return this._base.fields.items.filter(function(t){return t.vmId===e.id}).reduce(function(t,e){return e.scope&&(t["$"+e.scope]||(t["$"+e.scope]={}),t["$"+e.scope][e.name]=e.flags),t[e.name]=e.flags,t},{})},X.rules.get=function(){return this._base.rules},X.fields.get=function(){return new U(this._base.fields.filter({vmId:this.id}))},X.dictionary.get=function(){return this._base.dictionary},X.locale.get=function(){return this._base.locale},X.locale.set=function(t){this._base.locale=t},Q.prototype.localize=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=this._base).localize.apply(t,e)},Q.prototype.update=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=this._base).update.apply(t,e)},Q.prototype.attach=function(t){var e=I({},t,{vmId:this.id});return this._base.attach(e)},Q.prototype.pause=function(){this._paused=!0},Q.prototype.resume=function(){this._paused=!1},Q.prototype.remove=function(t){return this._base.remove(t)},Q.prototype.detach=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=this._base).detach.apply(t,e.concat([this.id]))},Q.prototype.extend=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=this._base).extend.apply(t,e)},Q.prototype.validate=function(t,e,n){return void 0===n&&(n={}),this._paused?Promise.resolve(!0):this._base.validate(t,e,I({},{vmId:this.id},n||{}))},Q.prototype.validateAll=function(t,e){return void 0===e&&(e={}),this._paused?Promise.resolve(!0):this._base.validateAll(t,I({},{vmId:this.id},e||{}))},Q.prototype.validateScopes=function(t){return void 0===t&&(t={}),this._paused?Promise.resolve(!0):this._base.validateScopes(I({},{vmId:this.id},t||{}))},Q.prototype.destroy=function(){delete this.id,delete this._base},Q.prototype.reset=function(t){return this._base.reset(Object.assign({},t||{},{vmId:this.id}))},Q.prototype.flag=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=this._base).flag.apply(t,e.concat([this.id]))},Object.defineProperties(Q.prototype,X);var Z={provide:function(){return this.$validator&&!w(this.$vnode)?{$validator:this.$validator}:{}},beforeCreate:function(){if(!w(this.$vnode)){this.$parent||T.merge(this.$options.$_veeValidate||{});var t=T.resolve(this);(!this.$parent||this.$options.$_veeValidate&&/new/.test(this.$options.$_veeValidate.validator))&&(this.$validator=new Q(T.dependency("validator"),this));var e,n=(e=this.$options.inject,!(!m(e)||!e.$validator));if(this.$validator||!t.inject||n||(this.$validator=new Q(T.dependency("validator"),this)),n||this.$validator){if(!n&&this.$validator)this.$options._base.util.defineReactive(this.$validator,"errors",this.$validator.errors);this.$options.computed||(this.$options.computed={}),this.$options.computed[t.errorBagName||"errors"]=function(){return this.$validator.errors},this.$options.computed[t.fieldsBagName||"fields"]=function(){return this.$validator.fields.items.reduce(function(t,e){return e.scope?(t["$"+e.scope]||(t["$"+e.scope]={}),t["$"+e.scope][e.name]=e.flags):t[e.name]=e.flags,t},{})}}}},beforeDestroy:function(){this.$validator&&this._uid===this.$validator.id&&this.$validator.errors.clear()}};function tt(t,e){return e&&e.$validator?e.$validator.fields.find({id:t._veeValidateId}):null}var et,nt={bind:function(t,e,n){var i=n.context.$validator;if(i){var r=R.generate(t,e,n);i.attach(r)}},inserted:function(t,e,n){var i=tt(t,n.context),r=R.resolveScope(t,e,n);i&&r!==i.scope&&(i.update({scope:r}),i.updated=!1)},update:function(t,e,n){var i=tt(t,n.context);if(!(!i||i.updated&&c(e.value,e.oldValue))){var r=R.resolveScope(t,e,n),a=R.resolveRules(t,e,n);i.update({scope:r,rules:a})}},unbind:function(t,e,n){var i=n.context,r=tt(t,i);r&&i.$validator.detach(r)}};var it=function(n,i){var r={pristine:function(t,e){return t&&e},dirty:function(t,e){return t||e},touched:function(t,e){return t||e},untouched:function(t,e){return t&&e},valid:function(t,e){return t&&e},invalid:function(t,e){return t||e},pending:function(t,e){return t||e},required:function(t,e){return t||e},validated:function(t,e){return t&&e}};return Object.keys(r).reduce(function(t,e){return t[e]=r[e](n[e],i[e]),t},{})},rt=function(i,r){return void 0===r&&(r=!0),Object.keys(i).reduce(function(t,e){if(!t)return t=I({},i[e]);var n=0===e.indexOf("$");return r&&n?it(rt(i[e]),t):!r&&n?t:t=it(t,i[e])},null)},at={name:"vv-error",inject:["$validator"],functional:!0,props:{for:{type:String,required:!0},tag:{type:String,default:"span"}},render:function(t,e){var n=e.props,i=e.injections;return t(n.tag,i.$validator.errors.first(n.for))}};return{install:function(t,e){if(void 0===e&&(e={}),!et||t!==et){!function(){try{var t=Object.defineProperty({},"passive",{get:function(){u=!0}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(t){u=!1}}(),et=t;var n=new z(null,e),i=new et({data:function(){return{errors:n.errors,fields:n.fields}}});T.register("vm",i),T.register("validator",n),T.merge(e);var r=T.current,a=r.dictionary,s=r.i18n;a&&n.localize(a);var o=function(){n.errors.regenerate()};s?s._vm.$watch("locale",o):"undefined"!=typeof window&&i.$on("localeChanged",o),!s&&e.locale&&n.localize(e.locale),z.setStrictMode(T.current.strict),et.mixin(Z),et.directive("validate",nt)}},use:function(t,e){if(void 0===e&&(e={}),!y(t))return n("The plugin must be a callable function");t({Validator:z,ErrorBag:S,Rules:z.rules},e)},directive:nt,mixin:Z,mapFields:function(t){if(!t)return function(){return rt(this.$validator.flags)};var e,a=(e=t,Array.isArray(e)?e.reduce(function(t,e){return F(e,".")?t[e.split(".")[1]]=e:t[e]=e,t},{}):e);return Object.keys(a).reduce(function(t,i){var r=a[i];return t[i]=function(){if(this.$validator.flags[r])return this.$validator.flags[r];if("*"===a[i])return rt(this.$validator.flags,!1);if(r.indexOf(".")<=0)return{};var t=r.split("."),e=t[0],n=t.slice(1);return e=this.$validator.flags["$"+e],"*"===(n=n.join("."))&&e?rt(e):e&&e[n]?e[n]:{}},t},{})},Validator:z,ErrorBag:S,ErrorComponent:at,version:"2.1.0-beta.9"}});
{
"name": "vee-validate",
"version": "2.1.0-beta.8",
"version": "2.1.0-beta.9",
"description": "Simple Vue.js input validation plugin",

@@ -41,10 +41,10 @@ "author": "Abdelrahman Awad <logaretm1@gmail.com>",

"devDependencies": {
"@babel/core": "^7.0.0-rc.1",
"@babel/node": "^7.0.0-rc.1",
"@babel/plugin-transform-flow-strip-types": "^7.0.0-rc.1",
"@babel/preset-env": "^7.0.0-rc.1",
"@commitlint/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/node": "^7.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@commitlint/cli": "^7.1.2",
"@vue/test-utils": "1.0.0-beta.12",
"babel-core": "^7.0.0-0",
"babel-eslint": "^8.2.6",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.4.2",

@@ -54,12 +54,12 @@ "chalk": "^2.4.1",

"date-fns": "2.0.0-alpha.7",
"eslint": "^5.3.0",
"eslint-config-standard": "^11.0.0",
"eslint": "^5.5.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.21.0",
"eslint-plugin-jest": "^21.22.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.1.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"filesize": "^3.6.1",
"flow-bin": "^0.79.0",
"flow-bin": "^0.80.0",
"flush-promises": "^1.0.0",

@@ -72,12 +72,12 @@ "gzip-size": "^5.0.0",

"regenerator-runtime": "^0.12.1",
"rollup": "^0.64.1",
"rollup": "^0.65.2",
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-commonjs": "^9.1.5",
"rollup-plugin-commonjs": "^9.1.6",
"rollup-plugin-flow": "^1.1.1",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.0.0",
"uglify-js": "^3.4.7",
"validator": "^10.5.0",
"uglify-js": "^3.4.9",
"validator": "^10.7.1",
"vue": "^2.5.17",
"vue-i18n": "^8.0.0",
"vue-i18n": "^8.1.0",
"vue-jest": "^2.6.0",

@@ -84,0 +84,0 @@ "vue-server-renderer": "^2.5.17",

@@ -6,3 +6,3 @@ import Vue = require("vue")

name?: () => string;
value?: () => string;
value?: () => any;
rejectsFalse?: boolean;

@@ -168,4 +168,4 @@ events?: string;

export const install: Vue.PluginFunction<never>
export const install: Vue.PluginFunction<Configuration>
export const directive: Vue.DirectiveOptions;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc