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.11 to 2.1.1

dist/locale/ne.js

2

dist/locale/ja.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__ja=n.__vee_validate_locale__ja||{},n.__vee_validate_locale__ja.js=e())}(this,function(){"use strict";var n,e={name:"ja",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]+"から"+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]+"px、高さ"+e[1]+"px以内でなければなりません"},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+"は有効なIPアドレスではありません"},is:function(n){return n+"が一致しません"},is_not:function(n){return n+"が一致しています"},length:function(n,e){var t=e[0],r=e[1];return r?n+"は"+t+"文字以上"+r+"文字以下でなければなりません":n+"は"+t+"文字でなければなりません"},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,r,u,i=e[0];return n+"は"+(t=i,r=1024,u=0==(t=Number(t)*r)?0:Math.floor(Math.log(t)/Math.log(r)),1*(t/Math.pow(r,u)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][u])+"以内でなければなりません"},url:function(n){return n+"は有効なURLではありません"}},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__ja=n.__vee_validate_locale__ja||{},n.__vee_validate_locale__ja.js=e())}(this,function(){"use strict";var n,e={name:"ja",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]+"から"+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]+"px、高さ"+e[1]+"px以内でなければなりません"},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+"は有効なIPアドレスではありません"},is:function(n){return n+"が一致しません"},is_not:function(n){return n+"が一致しています"},length:function(n,e){var t=e[0],r=e[1];return r?n+"は"+t+"文字以上"+r+"文字以下でなければなりません":n+"は"+t+"文字でなければなりません"},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,r,u,i=e[0];return n+"は"+(t=i,r=1024,u=0==(t=Number(t)*r)?0:Math.floor(Math.log(t)/Math.log(r)),1*(t/Math.pow(r,u)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][u])+"以内でなければなりません"},url:function(n){return n+"は有効なURLではありません"}},attributes:{}};return"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((n={})[e.name]=e,n)),e});

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

!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(e.__vee_validate_locale__pl=e.__vee_validate_locale__pl||{},e.__vee_validate_locale__pl.js=i())}(this,function(){"use strict";var e,i={name:"pl",messages:{after:function(e,i){return"Pole "+e+" musi być po polu "+i[0]+"."},alpha_dash:function(e){return"Pole "+e+" może zawierać litery, cyfry oraz myślnik lub podkreślnik."},alpha_num:function(e){return"Pole "+e+" może zawierać tylko litery i cyfry."},alpha_spaces:function(e){return"Pole "+e+" może zawierać tylko litery oraz spacje."},alpha:function(e){return"Pole "+e+" może zawierać tylko litery."},before:function(e,i){return"Pole "+e+" musi być przed "+i[0]+"."},between:function(e,i){return"Pole "+e+" musi być pomiędzy "+i[0]+" oraz "+i[1]+"."},confirmed:function(e,i){return"Pole "+e+" nie zgadza się z polem potwierdzającym "+i[0]+"."},date_between:function(e,i){return"Pole "+e+" musi zawierać się między "+i[0]+" a "+i[1]+"."},date_format:function(e,i){return"Pole "+e+" musi pasować do formatu "+i[0]+"."},decimal:function(e,i){void 0===i&&(i=[]);var n=i[0];return void 0===n&&(n="*"),"Pole "+e+" musi być liczbą i może zawierać "+("*"===n?"":n)+" miejsca po przecinku."},digits:function(e,i){return"Pole "+e+" musi być liczbą i dokładnie "+i[0]+" cyfr."},dimensions:function(e,i){return"Obraz "+e+" musi być szeroki na "+i[0]+" pikseli i wysoki na "+i[1]+" pikseli."},email:function(e){return"Pole "+e+" musi być poprawnym adresem email."},ext:function(e){return"Plik "+e+" musi być poprawnym plikiem."},image:function(e){return"Pole "+e+" musi być obrazem."},included:function(e){return"Pole "+e+" musi być poprawną wartością."},ip:function(e){return"Pole "+e+" musi być poprawnym adresem IP."},max:function(e,i){return"Pole "+e+" nie może być dłuższe niż "+i[0]+" znaków."},mimes:function(e){return"Plik "+e+" musi posiadać poprawne rozszerzenie."},min:function(e,i){return"Pole "+e+" musi być długie na co najmniej "+i[0]+" znaków."},excluded:function(e){return"Pole "+e+" musi być poprawną wartością."},numeric:function(e){return"Pole "+e+" może zawierać tylko cyfry."},regex:function(e){return"Format pola "+e+" jest nieodpowiedni."},required:function(e){return"Pole "+e+" jest wymagane."},size:function(e,i){var n,o,r,t=i[0];return"Plik "+e+" musi być mniejszy niż "+(n=t,o=1024,r=0==(n=Number(n)*o)?0:Math.floor(Math.log(n)/Math.log(o)),1*(n/Math.pow(o,r)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][r])+"."},url:function(e){return"Pole "+e+" nie jest poprawnym URL."}},attributes:{}};return"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((e={})[i.name]=i,e)),i});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e.__vee_validate_locale__pl=e.__vee_validate_locale__pl||{},e.__vee_validate_locale__pl.js=n())}(this,function(){"use strict";var e,n={name:"pl",messages:{_default:function(e){return"Pole "+e+" jest nieprawidłowe."},after:function(e,n){return"Pole "+e+" musi być po polu "+n[0]+"."},alpha_dash:function(e){return"Pole "+e+" może zawierać litery, cyfry oraz myślnik lub podkreślnik."},alpha_num:function(e){return"Pole "+e+" może zawierać tylko litery i cyfry."},alpha_spaces:function(e){return"Pole "+e+" może zawierać tylko litery oraz spacje."},alpha:function(e){return"Pole "+e+" może zawierać tylko litery."},before:function(e,n){return"Pole "+e+" musi być przed "+n[0]+"."},between:function(e,n){return"Pole "+e+" musi być pomiędzy "+n[0]+" oraz "+n[1]+"."},confirmed:function(e,n){return"Pole "+e+" nie zgadza się z polem potwierdzającym "+n[0]+"."},credit_card:function(e){return"Pole "+e+" musi być poprawnym numerem karty kredytowej."},date_between:function(e,n){return"Pole "+e+" musi zawierać się między "+n[0]+" a "+n[1]+"."},date_format:function(e,n){return"Pole "+e+" musi pasować do formatu "+n[0]+"."},decimal:function(e,n){void 0===n&&(n=[]);var i=n[0];return void 0===i&&(i="*"),"Pole "+e+" musi być liczbą i może zawierać "+("*"===i?"":i)+" miejsca po przecinku."},digits:function(e,n){return"Pole "+e+" musi być liczbą i dokładnie "+n[0]+" cyfr."},dimensions:function(e,n){return"Obraz "+e+" musi być szeroki na "+n[0]+" pikseli i wysoki na "+n[1]+" pikseli."},email:function(e){return"Pole "+e+" musi być poprawnym adresem email."},ext:function(e){return"Plik "+e+" musi być poprawnym plikiem."},image:function(e){return"Pole "+e+" musi być obrazem."},included:function(e){return"Pole "+e+" musi być poprawną wartością."},integer:function(e){return"Pole "+e+" musi być liczbą całkowitą."},ip:function(e){return"Pole "+e+" musi być poprawnym adresem IP."},length:function(e,n){var i=n[0],o=n[1];return o?"Pole "+e+" musi mieć długość od "+i+" do "+o+" znaków.":"Pole "+e+" musi mieć długość "+i+" znaków."},max:function(e,n){return"Pole "+e+" nie może być dłuższe niż "+n[0]+" znaków."},max_value:function(e,n){return"Pole "+e+" musi mieć maksymalną wartość "+n[0]+"."},mimes:function(e){return"Plik "+e+" musi posiadać poprawne rozszerzenie."},min:function(e,n){return"Pole "+e+" musi być długie na co najmniej "+n[0]+" znaków."},min_value:function(e,n){return"Pole "+e+" musi mieć minimalną wartość "+n[0]+"."},excluded:function(e){return"Pole "+e+" musi być poprawną wartością."},numeric:function(e){return"Pole "+e+" może zawierać tylko cyfry."},regex:function(e){return"Format pola "+e+" jest nieodpowiedni."},required:function(e){return"Pole "+e+" jest wymagane."},size:function(e,n){var i,o,r,t=n[0];return"Plik "+e+" musi być mniejszy niż "+(i=t,o=1024,r=0==(i=Number(i)*o)?0:Math.floor(Math.log(i)/Math.log(o)),1*(i/Math.pow(o,r)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][r])+"."},url:function(e){return"Pole "+e+" nie jest poprawnym URL."}},attributes:{}};return"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((e={})[n.name]=n,e)),n});

@@ -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__th=n.__vee_validate_locale__th||{},n.__vee_validate_locale__th.js=e())}(this,function(){"use strict";var n,e={name:"th",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]+" และ "+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]+" x "+e[1]+" px"},email:function(n){return n+" ต้องเป็นรูปแบบอีเมล"},ext:function(n){return n+" สกุลไฟล์ไม่ถูกต้อง"},image:function(n){return n+" ต้องเป็นรูปภาพเท่านั้น"},included:function(n){return n+" เป็นค่าทีไม่ถูกต้องตามเงื่อนไขที่กำหนด"},integer:function(n){return n+" ต้องเป็นเลขจำนวนเต็ม"},ip:function(n){return n+" ไม่ถูกต้องตามรูปแบบ ip address"},length:function(n,e){var t=e[0],r=e[1];return r?"ความยาว "+n+" อยู่ระหว่าง "+t+" และ "+r:n+" ต้องมีความยาว "+t},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,r,u,i=e[0];return n+" ต้องมีขนาดไม่เกิน "+(t=i,r=1024,u=0==(t=Number(t)*r)?0:Math.floor(Math.log(t)/Math.log(r)),1*(t/Math.pow(r,u)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][u])},url:function(n){return n+" ไม่ใช่รูปแบบของ URL ที่ถูกต้อง"}},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__th=n.__vee_validate_locale__th||{},n.__vee_validate_locale__th.js=e())}(this,function(){"use strict";var n,e={name:"th",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]+" และ "+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]+"x"+e[1]+" px"},email:function(n){return n+" ต้องเป็นรูปแบบอีเมล"},ext:function(n){return n+" สกุลไฟล์ไม่ถูกต้อง"},image:function(n){return n+" ต้องเป็นรูปภาพเท่านั้น"},included:function(n){return n+" ต้องเป็นค่าที่กำหนดเท่านั้น"},integer:function(n){return n+" ต้องเป็นเลขจำนวนเต็ม"},ip:function(n){return n+" ไม่ถูกต้องตามรูปแบบ IP address"},length:function(n,e){var t=e[0],r=e[1];return r?n+" ต้องมีความยาวระหว่าง "+t+" และ "+r:n+" ต้องมีความยาว "+t},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,r,u,i=e[0];return n+" ต้องมีขนาดไฟล์ไม่เกิน "+(t=i,r=1024,u=0==(t=Number(t)*r)?0:Math.floor(Math.log(t)/Math.log(r)),1*(t/Math.pow(r,u)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][u])},url:function(n){return n+" ไม่ใช่รูปแบบของ URL ที่ถูกต้อง"}},attributes:{}};return"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((n={})[e.name]=e,n)),e});

@@ -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__zh_CN=n.__vee_validate_locale__zh_CN||{},n.__vee_validate_locale__zh_CN.js=e())}(this,function(){"use strict";var n,e={name:"zh_CN",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,e){return n+"不能和"+e[0]+"匹配"},credit_card:function(n){return n+"的格式错误"},date_between:function(n,e){return n+"必须在"+e[0]+"和"+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+"不是一个有效值"},integer:function(n){return n+"必须是整数"},ip:function(n){return n+"不是一个有效的地址"},length:function(n,e){var t=e[0],r=e[1];return r?n+"长度必须在"+t+"到"+r+"之间":n+"长度必须为"+t},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,r,u,i=e[0];return n+"必须小于"+(t=i,r=1024,u=0==(t=Number(t)*r)?0:Math.floor(Math.log(t)/Math.log(r)),1*(t/Math.pow(r,u)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][u])},url:function(n){return n+"不是一个有效的url"}},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__zh_CN=n.__vee_validate_locale__zh_CN||{},n.__vee_validate_locale__zh_CN.js=e())}(this,function(){"use strict";var n,e={name:"zh_CN",messages:{_default:function(n){return n+"的值无效"},after:function(n,e){var t=e[0];return n+"必须在"+t+"之后"+(e[1]?"或等于"+t:"")},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){var t=e[0];return n+"必须在"+t+"之前"+(e[1]?"或等于"+t:"")},between:function(n,e){return n+"必须在"+e[0]+"与"+e[1]+"之间"},confirmed:function(n,e){return n+"不能和"+e[0]+"匹配"},credit_card:function(n){return n+"的格式错误"},date_between:function(n,e){return n+"必须在"+e[0]+"和"+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+"不是一个有效值"},integer:function(n){return n+"必须是整数"},ip:function(n){return n+"不是一个有效的地址"},length:function(n,e){var t=e[0],r=e[1];return r?n+"长度必须在"+t+"到"+r+"之间":n+"长度必须为"+t},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,r,u,i=e[0];return n+"必须小于"+(t=i,r=1024,u=0==(t=Number(t)*r)?0:Math.floor(Math.log(t)/Math.log(r)),1*(t/Math.pow(r,u)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][u])},url:function(n){return n+"不是一个有效的url"}},attributes:{}};return"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((n={})[e.name]=e,n)),e});

@@ -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 i=!0,a=function(t,e,n){t.addEventListener(e,n,!!i&&{passive:!0})},s=function(t){return F(["text","password","search","email","tel","url","textarea","number"],t.type)},o=function(t){return F(["radio","checkbox"],t.type)},u=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})},l=function(e,n){if(e instanceof RegExp&&n instanceof RegExp)return l(e.source,n.source)&&l(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(!l(e[t],n[t]))return!1;return!0}return m(e)&&m(n)?Object.keys(e).every(function(t){return l(e[t],n[t])})&&Object.keys(n).every(function(t){return l(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},c=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},f=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},p=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)},g=function(t){return"function"==typeof t},y=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):y(i,r)||(i.className+=" "+r))):void function(t,e){if(t.classList)t.classList.remove(e);else if(y(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(g(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(g(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=p("required",e)),s(t))return"email"===t.type&&(e=p("email"+(t.multiple?":multiple":""),e)),t.pattern&&(e=p({regex:t.pattern},e)),0<=t.maxLength&&t.maxLength<524288&&(e=p("max:"+t.maxLength,e)),0<t.minLength&&(e=p("min:"+t.minLength,e)),"number"===t.type&&(e=p("decimal",e),""!==t.min&&(e=p("min_value:"+t.min,e)),""!==t.max&&(e=p("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 p("date_format:YYYY-MM-DD",e);if("datetime-local"===t.type)return p("date_format:YYYY-MM-DDT"+n,e);if("month"===t.type)return p("date_format:YYYY-MM",e);if("week"===t.type)return p("date_format:YYYY-[W]WW",e);if("time"===t.type)return p("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),g(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 g(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={default:new t({en:{messages:{},attributes:{},custom:{}}})},D="default",V=function(){};V._checkDriverName=function(t){if(!t)throw v("you must provide a name to the dictionary drive")},V.setDriver=function(t,e){void 0===e&&(e=null),this._checkDriverName(t),e&&(k[t]=e),D=t||"default"},V.getDriver=function(){return k[D]};var P=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:[]};P.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}}}},P.prototype.add=function(t){var e;(e=this.items).push.apply(e,this._normalizeError(t))},P.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])},P.prototype.regenerate=function(){this.items.forEach(function(t){t.msg=g(t.regenerate)?t.regenerate():t.msg})},P.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)}},P.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})},P.prototype.any=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}).length},P.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)},P.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,g(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)},P.prototype.count=function(){var e=this;return this.vmId?this.items.filter(function(t){return t.vmId===e.vmId}).length:this.items.length},P.prototype.firstById=function(e){var t=w(this.items,function(t){return t.id===e});return t?t.msg:void 0},P.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},P.prototype.firstRule=function(t,e){var n=this.collect(t,e,!1);return n.length&&n[0].rule||void 0},P.prototype.has=function(t,e){return void 0===e&&(e=null),!!this.first(t,e)},P.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},P.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},P.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)},P.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)},P.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}}},P.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 L=function(){};L.generate=function(t,e,n){var i=L.resolveModel(e,n),r=at.resolveConfig(n.context);return{name:L.resolveName(t,n),el:t,listen:!e.modifiers.disable,bails:!!e.modifiers.bails||!0!==e.modifiers.continues&&void 0,scope:L.resolveScope(t,e,n),vm:L.makeVM(n.context),expression:e.value,component:n.componentInstance,classes:r.classes,classNames:r.classNames,getter:L.resolveGetter(t,n,i),events:L.resolveEvents(t,n)||r.events,model:i,delay:L.resolveDelay(t,n,r),rules:L.resolveRules(t,e,n),immediate:!!e.modifiers.initial||!!e.modifiers.immediate,validity:r.validity,aria:r.aria,initialValue:L.resolveInitialValue(n)}},L.getCtorConfig=function(t){return t.componentInstance?c("componentInstance.$options.$_veeValidate",t):null},L.resolveRules=function(t,e,n){var i="";return e.value||e&&e.expression||(i=u(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)},L.resolveInitialValue=function(t){var e=t.data.model||w(t.data.directives,function(t){return"model"===t.name});return e&&e.value},L.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}},L.resolveDelay=function(t,e,n){var i=u(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)},L.resolveEvents=function(t,e){var n=u(t,"validate-on");if(!n&&e.componentInstance&&e.componentInstance.$attrs&&(n=e.componentInstance.$attrs["data-vv-validate-on"]),!n&&e.componentInstance){var i=L.getCtorConfig(e);n=i&&i.events}if(!n&&at.config.events&&(n=at.config.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},L.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=u(t,"scope");if(d(e)){var n=r(t);n&&(e=u(n,"scope"))}return d(e)?null:e}(t):i},L.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}},L.resolveName=function(t,e){var n=u(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=L.getCtorConfig(e);return i&&g(i.name)?i.name.bind(e.componentInstance)():e.componentInstance.name},L.resolveGetter=function(n,t,e){if(e&&e.expression)return function(){return c(e.expression,t.context)};if(t.componentInstance){var i=u(n,"value-path")||t.componentInstance.$attrs&&t.componentInstance.$attrs["data-vv-value-path"];if(i)return function(){return c(i,t.componentInstance)};var r=L.getCtorConfig(t);if(r&&g(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 M={},C=function(){},T={rules:{configurable:!0}};C.add=function(t,e){var n=e.validate,i=e.options,r=e.paramNames;M[t]={validate:n,options:i,paramNames:r}},T.rules.get=function(){return M},C.has=function(t){return!!M[t]},C.isImmediate=function(t){return!(!M[t]||!M[t].options.immediate)},C.isTargetRule=function(t){return!(!M[t]||!M[t].options.hasTarget)},C.remove=function(t){delete M[t]},C.getParamNames=function(t){return M[t]&&M[t].paramNames},C.getOptions=function(t){return M[t]&&M[t].options},C.getValidatorMethod=function(t){return M[t]?M[t].validate:null},Object.defineProperties(C,T);var R={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"}},q=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({},R.classNames),t=I({},R,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?c("$options.$_veeValidate",this.componentInstance):void 0,this.update(t),this.initialValue=this.value,this.updated=!1},S={validator:{configurable:!0},isRequired:{configurable:!0},isDisabled:{configurable:!0},alias:{configurable:!0},value:{configurable:!0},bails:{configurable:!0},rejectsFalse:{configurable:!0}};S.validator.get=function(){return this.vm&&this.vm.$validator?this.vm.$validator:{validate:function(){}}},S.isRequired.get=function(){return!!this.rules.required},S.isDisabled.get=function(){return!(!this.componentInstance||!this.componentInstance.disabled)||!(!this.el||!this.el.disabled)},S.alias.get=function(){if(this._alias)return this._alias;var t=null;return this.el&&(t=u(this.el,"as")),!t&&this.componentInstance?this.componentInstance.$attrs&&this.componentInstance.$attrs["data-vv-as"]:t},S.value.get=function(){if(g(this.getter))return this.getter()},S.bails.get=function(){return this._bails},S.rejectsFalse.get=function(){return this.componentInstance&&this.ctorConfig?!!this.ctorConfig.rejectsFalse:!!this.el&&"checkbox"===this.el.type},q.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)))},q.prototype._cacheId=function(t){this.el&&!t.targetOf&&(this.el._veeValidateId=this.id)},q.prototype.waitFor=function(t){this._waitingFor=t},q.prototype.isWaitingFor=function(t){return this._waitingFor===t},q.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&&g(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=g(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())},q.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()},q.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()},q.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 C.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};g(r.$watch)?(a.component=r,a.el=r.$el,a.getter=L.resolveGetter(r.$el,r.$vnode)):(a.el=r,a.getter=L.resolveGetter(r,{})),s.dependencies.push({name:n,field:new q(a)})}})},q.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)})},q.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)}},q.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&&g(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)}})}}},q.prototype.checkValueChanged=function(){return(null!==this.initialValue||""!==this.value||!s(this.el))&&this.value!==this.initialValue},q.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"},q.prototype._determineEventList=function(e){var n=this;return!this.events.length||this.componentInstance||s(this.el)?[].concat(this.events).map(function(t){return"input"===t&&n.model&&n.model.lazy?"change":t}):this.events.map(function(t){return"input"===t?e:t})},q.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||g(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=f(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=f(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)})}},q.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)}}))},q.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)})}}},q.prototype.updateAriaAttrs=function(){var e=this;if(this.aria&&this.el&&g(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)}},q.prototype.updateCustomValidity=function(){this.validity&&this.el&&g(this.el.setCustomValidity)&&this.validator.errors&&this.el.setCustomValidity(this.flags.valid?"":this.validator.errors.firstById(this.id)||"")},q.prototype.destroy=function(){this._cancellationToken&&(this._cancellationToken.cancelled=!0),this.unwatch(),this.dependencies.forEach(function(t){return t.field.destroy()}),this.dependencies=[]},Object.defineProperties(q.prototype,S);var Y=function(t){void 0===t&&(t=[]),this.items=t||[]},z={length:{configurable:!0}};Y.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}}}},z.length.get=function(){return this.items.length},Y.prototype.find=function(e){return w(this.items,function(t){return t.matches(e)})},Y.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)})},Y.prototype.map=function(t){return this.items.map(t)},Y.prototype.remove=function(t){var e=null;if(!(e=t instanceof q?t:this.find(t)))return null;var n=this.items.indexOf(e);return this.items.splice(n,1),e},Y.prototype.push=function(t){if(!(t instanceof q))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(Y.prototype,z);var B=function(t,e){this.id=e._uid,this._base=t,this._paused=!1,this.errors=new P(t.errors,this.id)},K={flags:{configurable:!0},rules:{configurable:!0},fields:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};K.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},{})},K.rules.get=function(){return this._base.rules},K.fields.get=function(){return new Y(this._base.fields.filter({vmId:this.id}))},K.dictionary.get=function(){return this._base.dictionary},K.locale.get=function(){return this._base.locale},K.locale.set=function(t){this._base.locale=t},B.prototype.localize=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=this._base).localize.apply(t,e)},B.prototype.update=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=this._base).update.apply(t,e)},B.prototype.attach=function(t){var e=I({},t,{vmId:this.id});return this._base.attach(e)},B.prototype.pause=function(){this._paused=!0},B.prototype.resume=function(){this._paused=!1},B.prototype.remove=function(t){return this._base.remove(t)},B.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]))},B.prototype.extend=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(t=this._base).extend.apply(t,e)},B.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||{}))},B.prototype.validateAll=function(t,e){return void 0===e&&(e={}),this._paused?Promise.resolve(!0):this._base.validateAll(t,I({},{vmId:this.id},e||{}))},B.prototype.validateScopes=function(t){return void 0===t&&(t={}),this._paused?Promise.resolve(!0):this._base.validateScopes(I({},{vmId:this.id},t||{}))},B.prototype.destroy=function(){delete this.id,delete this._base},B.prototype.reset=function(t){return this._base.reset(Object.assign({},t||{},{vmId:this.id}))},B.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(B.prototype,K);var H={provide:function(){return this.$validator&&!A(this.$vnode)?{$validator:this.$validator}:{}},beforeCreate:function(){if(!A(this.$vnode)){this.$parent||at.configure(this.$options.$_veeValidate||{});var t=at.resolveConfig(this);(!this.$parent||this.$options.$_veeValidate&&/new/.test(this.$options.$_veeValidate.validator))&&(this.$validator=new B(at._validator,this));var e,n=(e=this.$options.inject,!(!m(e)||!e.$validator));if(this.$validator||!t.inject||n||(this.$validator=new B(at._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 W(t,e){return e&&e.$validator?e.$validator.fields.find({id:t._veeValidateId}):null}var G={bind:function(t,e,n){var i=n.context.$validator;if(i){var r=L.generate(t,e,n);i.attach(r)}},inserted:function(t,e,n){var i=W(t,n.context),r=L.resolveScope(t,e,n);i&&r!==i.scope&&(i.update({scope:r}),i.updated=!1)},update:function(t,e,n){var i=W(t,n.context);if(!(!i||i.updated&&l(e.value,e.oldValue))){var r=L.resolveScope(t,e,n),a=L.resolveRules(t,e,n);i.update({scope:r,rules:a})}},unbind:function(t,e,n){var i=n.context,r=W(t,i);r&&i.$validator.detach(r)}},U=function(t,e){void 0===e&&(e={fastExit:!0}),this.errors=new P,this.fields=new Y,this._createFields(t),this.paused=!1,this.fastExit=!!d(e&&e.fastExit)||e.fastExit},J={rules:{configurable:!0},flags:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}},Q={rules:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};Q.rules.get=function(){return C.rules},J.rules.get=function(){return C.rules},J.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},{})},J.dictionary.get=function(){return at.i18nDriver},Q.dictionary.get=function(){return at.i18nDriver},J.locale.get=function(){return U.locale},J.locale.set=function(t){U.locale=t},Q.locale.get=function(){return this.dictionary.locale},Q.locale.set=function(t){var e=t!==U.dictionary.locale;U.dictionary.locale=t,e&&at._vm&&at._vm.$emit("localeChanged")},U.create=function(t,e){return new U(t,e)},U.extend=function(t,e,n){void 0===n&&(n={}),U._guardExtend(t,e),U._merge(t,{validator:e,paramNames:n&&n.paramNames,options:I({},{hasTarget:!1,immediate:!0},n||{})})},U.remove=function(t){C.remove(t)},U.isTargetRule=function(t){return C.isTargetRule(t)},U.prototype.localize=function(t,e){U.localize(t,e)},U.localize=function(t,e){var n;if(m(t))U.dictionary.merge(t);else{if(e){var i=t||e.name;e=I({},e),U.dictionary.merge(((n={})[i]=e,n))}t&&(U.locale=t)}},U.prototype.attach=function(t){var e=t.initialValue,n=new q(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},U.prototype.flag=function(t,e,n){void 0===n&&(n=null);var i=this._resolveField(t,void 0,n);i&&e&&i.setFlags(e)},U.prototype.detach=function(t,e,n){var i=g(t.destroy)?t:this._resolveField(t,e,n);i&&(i.destroy(),this.errors.remove(i.name,i.scope,i.vmId),this.fields.remove(i))},U.prototype.extend=function(t,e,n){void 0===n&&(n={}),U.extend(t,e,n)},U.prototype.reset=function(t){var e=this;return at._vm.$nextTick().then(function(){return at._vm.$nextTick()}).then(function(){e.fields.filter(t).forEach(function(t){t.reset(),e.errors.remove(t.name,t.scope)})})},U.prototype.update=function(t,e){var n=e.scope;this._resolveField("#"+t)&&this.errors.update(t,{scope:n})},U.prototype.remove=function(t){U.remove(t)},U.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);if(!o)return this._handleFieldNotFound(name);r||(o.flags.pending=!0),void 0===e&&(e=o.value);var u=this._validate(o,e);return o.waitFor(u),u.then(function(t){return!r&&o.isWaitingFor(u)&&(o.waitFor(null),i._handleValidationResults([t],a)),t.valid})},U.prototype.pause=function(){return this.paused=!0,this},U.prototype.resume=function(){return this.paused=!1,this},U.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})})},U.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})})},U.prototype.verify=function(t,e,r){void 0===r&&(r={});var a={name:r&&r.name||"{field}",rules:h(e),bails:c("bails",r,!0)};a.isRequired=a.rules.required;var n=Object.keys(a.rules).filter(U.isTargetRule);return n.length&&r&&m(r.values)&&n.forEach(function(t){var e=a.rules[t],n=e[0],i=e.slice(1);a.rules[t]=[r.values[n]].concat(i)}),this._validate(a,t).then(function(t){return{valid:t.valid,errors:t.errors.map(function(t){return t.msg})}})},U.prototype.destroy=function(){at._vm.$off("localeChanged")},U.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)})},U.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)},U.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])},U.prototype._convertParamObjectToArray=function(n,t){if(Array.isArray(n))return n;var e=C.getParamNames(t);return e&&m(n)?e.reduce(function(t,e){return e in n&&t.push(n[e]),t},[]):n},U.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},U.prototype._getFieldDisplayName=function(t){return t.alias||this.dictionary.getAttribute(this.locale,t.name,t.name)},U.prototype._convertParamArrayToObj=function(e,t){var i=C.getParamNames(t);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},{})},U.prototype._test=function(i,t,r){var a=this,e=C.getValidatorMethod(r.name),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&&i.dependencies){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,this._convertParamArrayToObj(n,r.name));return g(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)]})},U._merge=function(t,e){var n=e.validator,i=e.options,r=e.paramNames,a=g(n)?n:n.validate;n.getMessage&&U.dictionary.setMessage(U.locale,t,n.getMessage),C.add(t,{validate:a,options:i,paramNames:r})},U._guardExtend=function(t,e){if(!g(e)&&!g(e.validate))throw v("Extension Error: The validator '"+t+"' must be a function or have a 'validate' method.")},U.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)}}},U.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})},U.prototype._handleFieldNotFound=function(t,e){var n=d(e)?t:(d(e)?"":e+".")+t;return Promise.reject(v('Validating a non-existent field: "'+n+'". Use "attach()" first.'))},U.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})})},U.prototype._shouldSkip=function(t,e){return!1!==t.bails&&(!!t.isDisabled||!t.isRequired&&(d(e)||""===e||(n=e,Array.isArray(n)&&0===n.length)));var n},U.prototype._shouldBail=function(t){return void 0!==t.bails?t.bails:this.fastExit},U.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||!C.has(t)||C.isImmediate(t)}).some(function(t){var e=C.getOptions(t),n=a._test(i,r,{name:t,params:i.rules[t],options:e});return g(n.then)?s.push(n):!n.valid&&a._shouldBail(i)?(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(U.prototype,J),Object.defineProperties(U,Q);var X=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},{})},Z=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?X(Z(i[e]),t):!r&&n?t:t=X(t,i[e])},null)},tt=function(n){return m(n)?Object.keys(n).reduce(function(t,e){return t[e]=tt(n[e]),t},{}):g(n)?n("{0}",["{1}","{2}","{3}"]):n},et=function(t,e){this.i18n=t,this.rootKey=e},nt={locale:{configurable:!0}};nt.locale.get=function(){return this.i18n.locale},nt.locale.set=function(t){n("Cannot set locale from the validator when using vue-i18n, use i18n.locale setter instead")},et.prototype.getDateFormat=function(t){return this.i18n.getDateTimeFormat(t||this.locale)},et.prototype.setDateFormat=function(t,e){this.i18n.setDateTimeFormat(t||this.locale,e)},et.prototype.getMessage=function(t,e,n){var i=this.rootKey+".messages."+e,r=this.i18n.t(i,n);return r!==i?r:this.i18n.t(this.rootKey+".messages._default",n)},et.prototype.getAttribute=function(t,e,n){void 0===n&&(n="");var i=this.rootKey+".attributes."+e,r=this.i18n.t(i);return r!==i?r:n},et.prototype.getFieldMessage=function(t,e,n,i){var r=this.rootKey+".custom."+e+"."+n,a=this.i18n.t(r,i);return a!==r?a:this.getMessage(t,n,i)},et.prototype.merge=function(s){var o=this;Object.keys(s).forEach(function(t){var e,n,i,r=E({},c(t+"."+o.rootKey,o.i18n.messages,{})),a=E(r,(n=s[t],i={},n.messages&&(i.messages=tt(n.messages)),n.custom&&(i.custom=tt(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)})},et.prototype.setMessage=function(t,e,n){var i,r;this.merge(((r={})[t]={messages:(i={},i[e]=n,i)},r))},et.prototype.setAttribute=function(t,e,n){var i,r;this.merge(((r={})[t]={attributes:(i={},i[e]=n,i)},r))},Object.defineProperties(et.prototype,nt);var it,rt,at,st=I({},{locale:"en",delay:0,errorBagName:"errors",dictionary:null,fieldsBagName:"fields",classes:!1,classNames:null,events:"input",inject:!0,fastExit:!0,aria:!0,validity:!1,i18n:null,i18nRootKey:"validation"}),ot=function(t,e){this.configure(t),e&&(it=e),(at=this)._validator=new U(null,{fastExit:t&&t.fastExit}),this._initVM(this.config),this._initI18n(this.config)},ut={i18nDriver:{configurable:!0},config:{configurable:!0}},lt={i18nDriver:{configurable:!0}};return ot.setI18nDriver=function(t,e){V.setDriver(t,e)},ot.configure=function(t){st=I({},st,t)},ot.use=function(t,e){return void 0===e&&(e={}),g(t)?at?void t({Validator:U,ErrorBag:P,Rules:U.rules},e):(rt||(rt=[]),void rt.push({plugin:t,options:e})):n("The plugin must be a callable function")},ot.install=function(t,e){it&&t===it||(it=t,at=new ot(e),function(){try{var t=Object.defineProperty({},"passive",{get:function(){i=!0}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(t){i=!1}}(),it.mixin(H),it.directive("validate",G),rt&&(rt.forEach(function(t){var e=t.plugin,n=t.options;ot.use(e,n)}),rt=null))},ut.i18nDriver.get=function(){return V.getDriver()},lt.i18nDriver.get=function(){return V.getDriver()},ut.config.get=function(){return st},ot.prototype._initVM=function(t){var e=this;this._vm=new it({data:function(){return{errors:e._validator.errors,fields:e._validator.fields}}})},ot.prototype._initI18n=function(t){var e=this,n=t.dictionary,i=t.i18n,r=t.i18nRootKey,a=t.locale,s=function(){e._validator.errors.regenerate()};i?(ot.setI18nDriver("i18n",new et(i,r)),i._vm.$watch("locale",s)):"undefined"!=typeof window&&this._vm.$on("localeChanged",s),n&&this.i18nDriver.merge(n),a&&!i&&this._validator.localize(a)},ot.prototype.configure=function(t){ot.configure(t)},ot.prototype.resolveConfig=function(t){var e=c("$options.$_veeValidate",t,{});return I({},this.config,e)},Object.defineProperties(ot.prototype,ut),Object.defineProperties(ot,lt),ot.version="2.1.0-beta.11",ot.mixin=H,ot.directive=G,ot.Validator=U,ot.ErrorBag=P,ot.mapFields=function(t){if(!t)return function(){return Z(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 Z(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?Z(e):e&&e[n]?e[n]:{}},t},{})},ot});
!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 a=function(t){return w(["text","password","search","email","tel","url","textarea","number"],t.type)},s=function(t){return w(["radio","checkbox"],t.type)},o=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})},u=function(e,n){if(e instanceof RegExp&&n instanceof RegExp)return u(e.source,n.source)&&u(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(!u(e[t],n[t]))return!1;return!0}return h(e)&&h(n)?Object.keys(e).every(function(t){return u(e[t],n[t])})&&Object.keys(n).every(function(t){return u(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},l=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},c=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=f(e)),b({},e,f(t))):f(e):f(t)},f=function(i){return i?h(i)?Object.keys(i).reduce(function(t,e){var n=[];return n=!0===i[e]?[]:Array.isArray(i[e])?i[e]:h(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],w(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)},h=function(t){return null!==t&&t&&"object"==typeof t&&!Array.isArray(t)},p=function(t){return"function"==typeof t},m=function(t,e){return t.classList?t.classList.contains(e):!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))},g=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):m(i,r)||(i.className+=" "+r))):void function(t,e){if(t.classList)t.classList.remove(e);else if(m(t,e)){var n=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(n," ")}}(e,t);t.forEach(function(t){return g(e,t,n)})}},y=function(t){if(p(Array.from))return Array.from(t);for(var e=[],n=t.length,i=0;i<n;i++)e.push(t[i]);return e},b=function(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];if(p(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}",$=function(t,e){for(var n=Array.isArray(t)?t:y(t),i=0;i<n.length;i++)if(e(n[i]))return n[i]},I=function(t){if(!t)return!1;var e=t.componentOptions.tag;return/^(keep-alive|transition|transition-group)$/.test(e)},O=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},A=function(i,r){return h(i)&&h(r)&&Object.keys(r).forEach(function(t){var e,n;if(h(r[t]))return i[t]||b(i,((e={})[t]={},e)),void A(i[t],r[t]);b(i,((n={})[t]=r[t],n))}),i},E=function(t,e){if(t.required&&(e=i("required",e)),a(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)),"number"===t.type&&(e=i("decimal",e),""!==t.min&&(e=i("min_value:"+t.min,e)),""!==t.max&&(e=i("max_value:"+t.max,e))),e;if(w(["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},w=function(t,e){return-1!==t.indexOf(e)},x="en",t=function(t){void 0===t&&(t={}),this.container={},this.merge(t)},j={locale:{configurable:!0}};j.locale.get=function(){return x},j.locale.set=function(t){x=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),p(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 p(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){A(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,j);var F={default:new t({en:{messages:{},attributes:{},custom:{}}})},N="default",V=function(){};V._checkDriverName=function(t){if(!t)throw v("you must provide a name to the dictionary driver")},V.setDriver=function(t,e){void 0===e&&(e=null),this._checkDriverName(t),e&&(F[t]=e),N=t},V.getDriver=function(){return F[N]};var D=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:[]};function k(t){return t.data?t.data.model?t.data.model:!!t.data.directives&&$(t.data.directives,function(t){return"model"===t.name}):null}function P(t){return t.componentOptions?t.componentOptions.Ctor.options.model:null}function L(t,e,n){if(p(t[e])){var i=t[e];t[e]=[i]}Array.isArray(t[e])?t[e].push(n):d(t[e])&&(t[e]=[n])}function C(t,e,n){var i,r,a,s,o,u;t.componentOptions&&(r=e,a=n,(i=t).componentOptions.listeners||(i.componentOptions.listeners={}),L(i.componentOptions.listeners,r,a)),o=e,u=n,d((s=t).data.on)&&(s.data.on={}),L(s.data.on,o,u)}function M(t,e){return t.componentOptions?(P(t)||{event:"input"}).event:e&&e.modifiers&&e.modifiers.lazy?"change":t.data.attrs&&a({type:t.data.attrs.type||"text"})?"input":"change"}function R(n,i){return Object.keys(n).reduce(function(t,e){return n[e].forEach(function(t){t.context||(n[e].context=i,t.data||(t.data={}),t.data.slot=e)}),t.concat(n[e])},[])}D.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}}}},D.prototype.add=function(t){var e;(e=this.items).push.apply(e,this._normalizeError(t))},D.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])},D.prototype.regenerate=function(){this.items.forEach(function(t){t.msg=p(t.regenerate)?t.regenerate():t.msg})},D.prototype.update=function(e,t){var n=$(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)}},D.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})},D.prototype.any=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}).length},D.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(this.items[i])&&this.items[i].scope===t&&(this.items.splice(i,1),--i)},D.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,p(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)},D.prototype.count=function(){var e=this;return this.vmId?this.items.filter(function(t){return t.vmId===e.vmId}).length:this.items.length},D.prototype.firstById=function(e){var t=$(this.items,function(t){return t.id===e});return t?t.msg:void 0},D.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},D.prototype.firstRule=function(t,e){var n=this.collect(t,e,!1);return n.length&&n[0].rule||void 0},D.prototype.has=function(t,e){return void 0===e&&(e=null),!!this.first(t,e)},D.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},D.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},D.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)},D.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)},D.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(w(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(w(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}}},D.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 T=function(){};T.generate=function(t,e,n){var i=T.resolveModel(e,n),r=_t.resolveConfig(n.context);return{name:T.resolveName(t,n),el:t,listen:!e.modifiers.disable,bails:!!e.modifiers.bails||!0!==e.modifiers.continues&&void 0,scope:T.resolveScope(t,e,n),vm:T.makeVM(n.context),expression:e.value,component:n.componentInstance,classes:r.classes,classNames:r.classNames,getter:T.resolveGetter(t,n,i),events:T.resolveEvents(t,n)||r.events,model:i,delay:T.resolveDelay(t,n,r),rules:T.resolveRules(t,e,n),immediate:!!e.modifiers.initial||!!e.modifiers.immediate,validity:r.validity,aria:r.aria,initialValue:T.resolveInitialValue(n)}},T.getCtorConfig=function(t){return t.componentInstance?l("componentInstance.$options.$_veeValidate",t):null},T.resolveRules=function(t,e,n){var i="";return e.value||e&&e.expression||(i=o(t,"rules")),e.value&&w(["string","object"],typeof e.value.rules)?i=e.value.rules:e.value&&(i=e.value),n.componentInstance?i:E(t,i)},T.resolveInitialValue=function(t){var e=t.data.model||$(t.data.directives,function(t){return"model"===t.name});return e&&e.value},T.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}},T.resolveDelay=function(t,e,n){var i=o(t,"delay"),r=n&&"delay"in n?n.delay:0;return!i&&e.componentInstance&&e.componentInstance.$attrs&&(i=e.componentInstance.$attrs["data-vv-delay"]),h(r)?(d(i)||(r.input=i),O(r)):O(i||r)},T.resolveEvents=function(t,e){var n=o(t,"validate-on");if(!n&&e.componentInstance&&e.componentInstance.$attrs&&(n=e.componentInstance.$attrs["data-vv-validate-on"]),!n&&e.componentInstance){var i=T.getCtorConfig(e);n=i&&i.events}if(!n&&_t.config.events&&(n=_t.config.events),n&&e.componentInstance&&w(n,"input")){var r=(e.componentInstance.$options.model||{event:"input"}).event;if(!r)return n;n=n.replace("input",r)}return n},T.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=o(t,"scope");if(d(e)){var n=r(t);n&&(e=o(n,"scope"))}return d(e)?null:e}(t):i},T.resolveModel=function(t,e){if(t.arg)return{expression:t.arg};var n=k(e);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}},T.resolveName=function(t,e){var n=o(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=T.getCtorConfig(e);return i&&p(i.name)?i.name.bind(e.componentInstance)():e.componentInstance.name},T.resolveGetter=function(n,t,e){if(e&&e.expression)return function(){return l(e.expression,t.context)};if(t.componentInstance){var i=o(n,"value-path")||t.componentInstance.$attrs&&t.componentInstance.$attrs["data-vv-value-path"];if(i)return function(){return l(i,t.componentInstance)};var r=T.getCtorConfig(t);if(r&&p(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=y(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=$(t,function(t){return t.checked});return e&&e.value};case"file":return function(t){return y(n.files)};case"select-multiple":return function(){return y(n.options).filter(function(t){return t.selected}).map(function(t){return t.value})};default:return function(){return n&&n.value}}};var S={},q=function(){},z={rules:{configurable:!0}};q.add=function(t,e){var n=e.validate,i=e.options,r=e.paramNames;S[t]={validate:n,options:i,paramNames:r}},z.rules.get=function(){return S},q.has=function(t){return!!S[t]},q.isImmediate=function(t){return!(!S[t]||!S[t].options.immediate)},q.isTargetRule=function(t){return!(!S[t]||!S[t].options.hasTarget)},q.remove=function(t){delete S[t]},q.getParamNames=function(t){return S[t]&&S[t].paramNames},q.getOptions=function(t){return S[t]&&S[t].options},q.getValidatorMethod=function(t){return S[t]?S[t].validate:null},Object.defineProperties(q,z);var B=function(t){return p(Event)&&t instanceof Event||t&&t.srcElement},Y=!0,K=function(t,e,n){t.addEventListener(e,n,!!Y&&{passive:!0})},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"}},W=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=b({},H.classNames),t=b({},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?l("$options.$_veeValidate",this.componentInstance):void 0,this.update(t),this.initialValue=this.value,this.updated=!1},G={validator:{configurable:!0},isRequired:{configurable:!0},isDisabled:{configurable:!0},alias:{configurable:!0},value:{configurable:!0},bails:{configurable:!0},rejectsFalse:{configurable:!0}};G.validator.get=function(){return this.vm&&this.vm.$validator?this.vm.$validator:{validate:function(){}}},G.isRequired.get=function(){return!!this.rules.required},G.isDisabled.get=function(){return!(!this.componentInstance||!this.componentInstance.disabled)||!(!this.el||!this.el.disabled)},G.alias.get=function(){if(this._alias)return this._alias;var t=null;return this.el&&(t=o(this.el,"as")),!t&&this.componentInstance?this.componentInstance.$attrs&&this.componentInstance.$attrs["data-vv-as"]:t},G.value.get=function(){if(p(this.getter))return this.getter()},G.bails.get=function(){return this._bails},G.rejectsFalse.get=function(){return this.componentInstance&&this.ctorConfig?!!this.ctorConfig.rejectsFalse:!!this.el&&"checkbox"===this.el.type},W.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)))},W.prototype._cacheId=function(t){this.el&&!t.targetOf&&(this.el._veeValidateId=this.id)},W.prototype.waitFor=function(t){this._waitingFor=t},W.prototype.isWaitingFor=function(t){return this._waitingFor===t},W.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&&p(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?f(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=h(t.classNames)?A(this.classNames,t.classNames):this.classNames,this.getter=p(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())},W.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.addValueListeners(),this.addActionListeners(),this.updateClasses(),this.updateAriaAttrs(),this.updateCustomValidity()},W.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()},W.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 q.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};p(r.$watch)?(a.component=r,a.el=r.$el,a.getter=T.resolveGetter(r.$el,r.$vnode)):(a.el=r,a.getter=T.resolveGetter(r,{})),s.dependencies.push({name:n,field:new W(a)})}})},W.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)})},W.prototype.updateClasses=function(){var e=this;if(this.classes&&!this.isDisabled){var t=function(t){g(t,e.classNames.dirty,e.flags.dirty),g(t,e.classNames.pristine,e.flags.pristine),g(t,e.classNames.touched,e.flags.touched),g(t,e.classNames.untouched,e.flags.untouched),!d(e.flags.valid)&&e.flags.validated&&g(t,e.classNames.valid,e.flags.valid),!d(e.flags.invalid)&&e.flags.validated&&g(t,e.classNames.invalid,e.flags.invalid)};if(s(this.el)){var n=document.querySelectorAll('input[name="'+this.el.name+'"]');y(n).forEach(t)}else t(this.el)}},W.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&&(g(t.el,t.classNames.touched,!0),g(t.el,t.classNames.untouched,!1)),t.unwatch(/^class_blur$/)},n=a(this.el)?"input":"change",i=function(){t.flags.dirty=!0,t.flags.pristine=!1,t.classes&&(g(t.el,t.classNames.pristine,!1),g(t.el,t.classNames.dirty,!0)),t.unwatch(/^class_input$/)};if(this.componentInstance&&p(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){K(this.el,n,i);var r=s(this.el)?"change":"blur";K(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)}})}}},W.prototype.checkValueChanged=function(){return(null!==this.initialValue||""!==this.value||!a(this.el))&&this.value!==this.initialValue},W.prototype._determineInputEvent=function(){return this.componentInstance?this.componentInstance.$options.model&&this.componentInstance.$options.model.event||"input":this.model&&this.model.lazy?"change":a(this.el)?"input":"change"},W.prototype._determineEventList=function(e){var n=this;return!this.events.length||this.componentInstance||a(this.el)?[].concat(this.events).map(function(t){return"input"===t&&n.model&&n.model.lazy?"change":t}):this.events.map(function(t){return"input"===t?e:t})},W.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||B(t[0]))&&(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&&w(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=c(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=c(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)})}},W.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)}}))},W.prototype._addHTMLEventListener=function(e,n){var i=this;if(this.el&&!this.componentInstance){var r=function(t){K(t,e,n),i.watchers.push({tag:"input_native",unwatch:function(){t.removeEventListener(e,n)}})};if(r(this.el),s(this.el)){var t=document.querySelectorAll('input[name="'+this.el.name+'"]');y(t).forEach(function(t){t._veeValidateId&&t!==i.el||r(t)})}}},W.prototype.updateAriaAttrs=function(){var e=this;if(this.aria&&this.el&&p(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(s(this.el)){var n=document.querySelectorAll('input[name="'+this.el.name+'"]');y(n).forEach(t)}else t(this.el)}},W.prototype.updateCustomValidity=function(){this.validity&&this.el&&p(this.el.setCustomValidity)&&this.validator.errors&&this.el.setCustomValidity(this.flags.valid?"":this.validator.errors.firstById(this.id)||"")},W.prototype.destroy=function(){this._cancellationToken&&(this._cancellationToken.cancelled=!0),this.unwatch(),this.dependencies.forEach(function(t){return t.field.destroy()}),this.dependencies=[]},Object.defineProperties(W.prototype,G);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 $(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 W?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 W))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 D(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=b({},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,b({},{vmId:this.id},n||{}))},Q.prototype.validateAll=function(t,e){return void 0===e&&(e={}),this._paused?Promise.resolve(!0):this._base.validateAll(t,b({},{vmId:this.id},e||{}))},Q.prototype.validateScopes=function(t){return void 0===t&&(t={}),this._paused?Promise.resolve(!0):this._base.validateScopes(b({},{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&&!I(this.$vnode)?{$validator:this.$validator}:{}},beforeCreate:function(){if(!I(this.$vnode)&&!1!==this.$options.$__veeInject){this.$parent||_t.configure(this.$options.$_veeValidate||{});var t=_t.resolveConfig(this);(!this.$parent||this.$options.$_veeValidate&&/new/.test(this.$options.$_veeValidate.validator))&&(this.$validator=new Q(_t._validator,this));var e,n=(e=this.$options.inject,!(!h(e)||!e.$validator));if(this.$validator||!t.inject||n||(this.$validator=new Q(_t._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={bind:function(t,e,n){var i=n.context.$validator;if(i){var r=T.generate(t,e,n);i.attach(r)}},inserted:function(t,e,n){var i=tt(t,n.context),r=T.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&&u(e.value,e.oldValue))){var r=T.resolveScope(t,e,n),a=T.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)}},nt=function(t,e){void 0===e&&(e={fastExit:!0}),this.errors=new D,this.fields=new U,this._createFields(t),this.paused=!1,this.fastExit=!!d(e&&e.fastExit)||e.fastExit},it={rules:{configurable:!0},dictionary:{configurable:!0},flags:{configurable:!0},locale:{configurable:!0}},rt={rules:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};rt.rules.get=function(){return q.rules},it.rules.get=function(){return q.rules},it.dictionary.get=function(){return It.i18nDriver},rt.dictionary.get=function(){return It.i18nDriver},it.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},{})},it.locale.get=function(){return nt.locale},it.locale.set=function(t){nt.locale=t},rt.locale.get=function(){return It.i18nDriver.locale},rt.locale.set=function(t){var e=t!==It.i18nDriver.locale;It.i18nDriver.locale=t,e&&It.instance&&It.instance._vm&&It.instance._vm.$emit("localeChanged")},nt.create=function(t,e){return new nt(t,e)},nt.extend=function(t,e,n){void 0===n&&(n={}),nt._guardExtend(t,e),nt._merge(t,{validator:e,paramNames:n&&n.paramNames,options:b({},{hasTarget:!1,immediate:!0},n||{})})},nt.remove=function(t){q.remove(t)},nt.isTargetRule=function(t){return q.isTargetRule(t)},nt.prototype.localize=function(t,e){nt.localize(t,e)},nt.localize=function(t,e){var n;if(h(t))It.i18nDriver.merge(t);else{if(e){var i=t||e.name;e=b({},e),It.i18nDriver.merge(((n={})[i]=e,n))}t&&(nt.locale=t)}},nt.prototype.attach=function(t){var e=t.initialValue,n=new W(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},nt.prototype.flag=function(t,e,n){void 0===n&&(n=null);var i=this._resolveField(t,void 0,n);i&&e&&i.setFlags(e)},nt.prototype.detach=function(t,e,n){var i=p(t.destroy)?t:this._resolveField(t,e,n);i&&(i.destroy(),this.errors.remove(i.name,i.scope,i.vmId),this.fields.remove(i))},nt.prototype.extend=function(t,e,n){void 0===n&&(n={}),nt.extend(t,e,n)},nt.prototype.reset=function(t){var e=this;return It.instance._vm.$nextTick().then(function(){return It.instance._vm.$nextTick()}).then(function(){e.fields.filter(t).forEach(function(t){t.waitFor(null),t.reset(),e.errors.remove(t.name,t.scope)})})},nt.prototype.update=function(t,e){var n=e.scope;this._resolveField("#"+t)&&this.errors.update(t,{scope:n})},nt.prototype.remove=function(t){nt.remove(t)},nt.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);if(!o)return this._handleFieldNotFound(name);r||(o.flags.pending=!0),void 0===e&&(e=o.value);var u=this._validate(o,e);return o.waitFor(u),u.then(function(t){return!r&&o.isWaitingFor(u)&&(o.waitFor(null),i._handleValidationResults([t],a)),t.valid})},nt.prototype.pause=function(){return this.paused=!0,this},nt.prototype.resume=function(){return this.paused=!1,this},nt.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}:h(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})})},nt.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})})},nt.prototype.verify=function(t,e,r){void 0===r&&(r={});var a={name:r&&r.name||"{field}",rules:f(e),bails:l("bails",r,!0)};a.isRequired=a.rules.required;var n=Object.keys(a.rules).filter(nt.isTargetRule);return n.length&&r&&h(r.values)&&n.forEach(function(t){var e=a.rules[t],n=e[0],i=e.slice(1);a.rules[t]=[r.values[n]].concat(i)}),this._validate(a,t).then(function(t){return{valid:t.valid,errors:t.errors.map(function(t){return t.msg})}})},nt.prototype.destroy=function(){It.instance._vm.$off("localeChanged")},nt.prototype._createFields=function(n){var i=this;n&&Object.keys(n).forEach(function(t){var e=b({},{name:t,rules:n[t]});i.attach(e)})},nt.prototype._getDateFormat=function(t){var e=null;return t.date_format&&Array.isArray(t.date_format)&&(e=t.date_format[0]),e||It.i18nDriver.getDateFormat(this.locale)},nt.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 It.i18nDriver.getFieldMessage(this.locale,t.name,e.name,[r,a,n])},nt.prototype._convertParamObjectToArray=function(n,t){if(Array.isArray(n))return n;var e=q.getParamNames(t);return e&&h(n)?e.reduce(function(t,e){return e in n&&t.push(n[e]),t},[]):n},nt.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||It.i18nDriver.getAttribute(this.locale,n[0],n[0])].concat(n.slice(1)):n},nt.prototype._getFieldDisplayName=function(t){return t.alias||It.i18nDriver.getAttribute(this.locale,t.name,t.name)},nt.prototype._convertParamArrayToObj=function(e,t){var i=q.getParamNames(t);if(!i)return e;if(h(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},{})},nt.prototype._test=function(i,t,r){var a=this,e=q.getValidatorMethod(r.name),n=Array.isArray(r.params)?y(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&&i.dependencies){var o=$(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 p(l.then)?l.then(function(t){var e=!0,n={};return Array.isArray(t)?e=t.every(function(t){return h(t)?t.valid:t}):(e=h(t)?t.valid:t,n=t.data),{valid:e,errors:e?[]:[a._createFieldError(i,r,n,s)]}}):(h(l)||(l={valid:l,data:{}}),{valid:l.valid,errors:l.valid?[]:[this._createFieldError(i,r,l.data,s)]})},nt._merge=function(t,e){var n=e.validator,i=e.options,r=e.paramNames,a=p(n)?n:n.validate;n.getMessage&&It.i18nDriver.setMessage(nt.locale,t,n.getMessage),q.add(t,{validate:a,options:i,paramNames:r})},nt._guardExtend=function(t,e){if(!p(e)&&!p(e.validate))throw v("Extension Error: The validator '"+t+"' must be a function or have a 'validate' method.")},nt.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)}}},nt.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(w(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})},nt.prototype._handleFieldNotFound=function(t,e){var n=d(e)?t:(d(e)?"":e+".")+t;return Promise.reject(v('Validating a non-existent field: "'+n+'". Use "attach()" first.'))},nt.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=$(n,function(t){return t.id===e.id});e.setFlags({pending:!1,valid:t.valid,validated:!0})})},nt.prototype._shouldSkip=function(t,e){return!1!==t.bails&&(!!t.isDisabled||!t.isRequired&&(d(e)||""===e||(n=e,Array.isArray(n)&&0===n.length)));var n},nt.prototype._shouldBail=function(t){return void 0!==t.bails?t.bails:this.fastExit},nt.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.has(t)||q.isImmediate(t)}).some(function(t){var e=q.getOptions(t),n=a._test(i,r,{name:t,params:i.rules[t],options:e});return p(n.then)?s.push(n):!n.valid&&a._shouldBail(i)?(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(nt.prototype,it),Object.defineProperties(nt,rt);var at=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},{})},st=function(i,r){return void 0===r&&(r=!0),Object.keys(i).reduce(function(t,e){if(!t)return t=b({},i[e]);var n=0===e.indexOf("$");return r&&n?at(st(i[e]),t):!r&&n?t:t=at(t,i[e])},null)},ot=null;function ut(t){return{errors:t.messages,flags:t.flags,classes:t.classes,valid:t.isValid,aria:{"aria-invalid":t.flags.invalid?"true":"false","aria-required":t.isRequired?"true":"false"}}}function lt(t){var n=this,e=this.value!==t.value||this._needsValidation,i=this.flags.validated;if(this.initialized||(this.initialValue=t.value),e){this.syncValue(t.value),this.validate().then(this.immediate||i?this.applyResult:function(t){var e=t.valid;n.setFlags({valid:e,invalid:!e})})}this._needsValidation=!1}function ct(e){return{onInput:function(t){e.syncValue(t),e.setFlags({dirty:!0,pristine:!1})},onBlur:function(){e.setFlags({touched:!0,untouched:!1})}}}var dt=0,ft={$__veeInject:!1,inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver||(this.$vnode.context.$_veeObserver={refs:{},$subscribe:function(t){this.refs[t.vid]=t},$unsubscribe:function(t){delete this.refs[t.vid]}}),this.$vnode.context.$_veeObserver}}},props:{vid:{type:[String,Number],default:function(){return++dt}},name:{type:String,default:null},events:{type:[Array,String],default:function(){return["input"]}},rules:{type:[Object,String],default:null},immediate:{type:Boolean,default:!1},tag:{type:String,default:"span"}},watch:{rules:{deep:!0,handler:function(){this._needsValidation=!0}}},data:function(){return{messages:[],value:void 0,initialized:!1,initialValue:void 0,flags:{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1},id:null}},methods:{setFlags:function(e){var n=this;Object.keys(e).forEach(function(t){n.flags[t]=e[t]})},syncValue:function(t){var e=B(t)?t.target.value:t;this.value=e},reset:function(){this.messages=[],this.initialValue=this.value;var t={untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1};t.changed=!1,this.setFlags(t)},validate:function(){var i,r,e=this;return this.setFlags({pending:!0}),ot.verify(this.value,this.rules,{name:this.name,values:(i=this,r=i.$_veeObserver.refs,i.fieldDeps.reduce(function(t,e){if(r[e]){t[e]=r[e].value;var n=r[e].$watch("value",function(){i.validate(i.value).then(i.applyResult),n()})}return t},{}))}).then(function(t){return e.setFlags({pending:!1}),t})},applyResult:function(t){var e=t.errors;this.messages=e,this.setFlags({valid:!e.length,changed:this.value!==this.initialValue,invalid:!!e.length,validated:!0})},registerField:function(){var t,e,n;ot||(ot=It.instance._validator),e=(t=this).id,n=t.vid,e===n&&t.$_veeObserver.refs[e]||(e!==n&&t.$_veeObserver.refs[e]===t&&t.$_veeObserver.$unsubscribe(t),t.$_veeObserver.$subscribe(t),t.id=n)}},computed:{isValid:function(){return this.flags.valid},fieldDeps:function(){var e=f(this.rules);return Object.keys(e).filter(q.isTargetRule).map(function(t){return e[t][0]})},normalizedEvents:function(){var t,e=this;return(t=this.events,"string"==typeof t?t.split("|"):t).map(function(t){return"input"===t?e._inputEventName:t})},isRequired:function(){return!!f(this.rules).required},classes:function(){var i=this,r=It.config.classNames;return Object.keys(this.flags).reduce(function(t,e){var n=r&&r[e]||e;return n&&(t[n]=i.flags[e]),t},{})}},render:function(t){var e=this;this.registerField();var n=ut(this),i=this.$scopedSlots.default;p(i)||(i=function(){return R(e.$slots,e.$vnode.context)});var r=i(n);return function i(t){if(k(t))return[t];var e=Array.isArray(t)?t:t.children;return Array.isArray(e)?e.reduce(function(t,e){var n=i(e);return n.length&&t.push.apply(t,n),t},[]):[]}(Array.isArray(r)?{children:r}:r).forEach(function(t){(function(e){var n=this,t=k(e);this._inputEventName=this._inputEventName||M(e,t),lt.call(this,t);var i=ct(this),r=i.onInput,a=i.onBlur;C(e,this._inputEventName,r),C(e,"blur",a),this.normalizedEvents.forEach(function(t){C(e,t,function(){return n.validate().then(n.applyResult)})}),this.initialized=!0}).call(e,t)}),t(this.tag,{attrs:this.$attrs},r)},beforeDestroy:function(){this.$_veeObserver.$unsubscribe(this)}},vt={pristine:"every",dirty:"some",touched:"some",untouched:"every",valid:"every",invalid:"some",pending:"some",validated:"every"},ht={name:"ValidationObserver",provide:function(){return{$_veeObserver:this}},props:{tag:{type:String,default:"span"}},data:function(){return{refs:{}}},methods:{$subscribe:function(t){var e;this.refs=Object.assign({},this.refs,((e={})[t.vid]=t,e))},$unsubscribe:function(t){delete this.refs[t.vid],this.refs=Object.assign({},this.refs)},validate:function(){var n=this;return Promise.all(Object.keys(this.refs).map(function(e){return n.refs[e].validate().then(function(t){return n.refs[e].applyResult(t),t})})).then(function(t){return t.every(function(t){return t.valid})})},reset:function(){var e=this;return Object.keys(this.refs).forEach(function(t){e.refs[t].reset()})}},computed:{ctx:function(){var i=this;return Object.keys(vt).reduce(function(t,e){var n=vt[e];return t[e]=Object.keys(i.refs)[n](function(t){return i.refs[t].flags[e]}),t},{})}},render:function(t){var e=this,n=this.$scopedSlots.default;return p(n)||(n=function(){return R(e.$slots,e.$vnode.context)}),t(this.tag,{attrs:this.$attrs,on:this.$listeners},n(this.ctx))}};var pt=function(n){return h(n)?Object.keys(n).reduce(function(t,e){return t[e]=pt(n[e]),t},{}):p(n)?n("{0}",["{1}","{2}","{3}"]):n},mt=function(t,e){this.i18n=t,this.rootKey=e},gt={locale:{configurable:!0}};gt.locale.get=function(){return this.i18n.locale},gt.locale.set=function(t){n("Cannot set locale from the validator when using vue-i18n, use i18n.locale setter instead")},mt.prototype.getDateFormat=function(t){return this.i18n.getDateTimeFormat(t||this.locale)},mt.prototype.setDateFormat=function(t,e){this.i18n.setDateTimeFormat(t||this.locale,e)},mt.prototype.getMessage=function(t,e,n){var i=this.rootKey+".messages."+e,r=this.i18n.t(i,n);return r!==i?r:this.i18n.t(this.rootKey+".messages._default",n)},mt.prototype.getAttribute=function(t,e,n){void 0===n&&(n="");var i=this.rootKey+".attributes."+e,r=this.i18n.t(i);return r!==i?r:n},mt.prototype.getFieldMessage=function(t,e,n,i){var r=this.rootKey+".custom."+e+"."+n,a=this.i18n.t(r,i);return a!==r?a:this.getMessage(t,n,i)},mt.prototype.merge=function(s){var o=this;Object.keys(s).forEach(function(t){var e,n,i,r=A({},l(t+"."+o.rootKey,o.i18n.messages,{})),a=A(r,(n=s[t],i={},n.messages&&(i.messages=pt(n.messages)),n.custom&&(i.custom=pt(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)})},mt.prototype.setMessage=function(t,e,n){var i,r;this.merge(((r={})[t]={messages:(i={},i[e]=n,i)},r))},mt.prototype.setAttribute=function(t,e,n){var i,r;this.merge(((r={})[t]={attributes:(i={},i[e]=n,i)},r))},Object.defineProperties(mt.prototype,gt);var yt,bt,_t,$t=b({},{locale:"en",delay:0,errorBagName:"errors",dictionary:null,fieldsBagName:"fields",classes:!1,classNames:null,events:"input",inject:!0,fastExit:!0,aria:!0,validity:!1,i18n:null,i18nRootKey:"validation"}),It=function(t,e){this.configure(t),e&&(yt=e),(_t=this)._validator=new nt(null,{fastExit:t&&t.fastExit}),this._initVM(this.config),this._initI18n(this.config)},Ot={i18nDriver:{configurable:!0},config:{configurable:!0}},At={instance:{configurable:!0},i18nDriver:{configurable:!0},config:{configurable:!0}};return It.setI18nDriver=function(t,e){V.setDriver(t,e)},It.configure=function(t){$t=b({},$t,t)},It.use=function(t,e){return void 0===e&&(e={}),p(t)?_t?void t({Validator:nt,ErrorBag:D,Rules:nt.rules},e):(bt||(bt=[]),void bt.push({plugin:t,options:e})):n("The plugin must be a callable function")},It.install=function(t,e){yt&&t===yt||(yt=t,_t=new It(e),function(){try{var t=Object.defineProperty({},"passive",{get:function(){Y=!0}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(t){Y=!1}}(),yt.mixin(Z),yt.directive("validate",et),bt&&(bt.forEach(function(t){var e=t.plugin,n=t.options;It.use(e,n)}),bt=null))},At.instance.get=function(){return _t},Ot.i18nDriver.get=function(){return V.getDriver()},At.i18nDriver.get=function(){return V.getDriver()},Ot.config.get=function(){return $t},At.config.get=function(){return $t},It.prototype._initVM=function(t){var e=this;this._vm=new yt({data:function(){return{errors:e._validator.errors,fields:e._validator.fields}}})},It.prototype._initI18n=function(t){var e=this,n=t.dictionary,i=t.i18n,r=t.i18nRootKey,a=t.locale,s=function(){e._validator.errors.regenerate()};i?(It.setI18nDriver("i18n",new mt(i,r)),i._vm.$watch("locale",s)):"undefined"!=typeof window&&this._vm.$on("localeChanged",s),n&&this.i18nDriver.merge(n),a&&!i&&this._validator.localize(a)},It.prototype.configure=function(t){It.configure(t)},It.prototype.resolveConfig=function(t){var e=l("$options.$_veeValidate",t,{});return b({},this.config,e)},Object.defineProperties(It.prototype,Ot),Object.defineProperties(It,At),It.version="2.1.1",It.mixin=Z,It.directive=et,It.Validator=nt,It.ErrorBag=D,It.mapFields=function(t){if(!t)return function(){return st(this.$validator.flags)};var e,a=(e=t,Array.isArray(e)?e.reduce(function(t,e){return w(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 st(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?st(e):e&&e[n]?e[n]:{}},t},{})},It.ValidationProvider=ft,It.ValidationObserver=ht,It.withValidation=function(t,d){void 0===d&&(d=null);var f=p(t)?t.options:t;f.$__veeInject=!1;var e={name:(f.name||"AnonymousHoc")+"WithValidation",props:b({},ft.props),data:ft.data,computed:b({},ft.computed),methods:b({},ft.methods),$__veeInject:!1,beforeDestroy:ft.beforeDestroy,inject:ft.inject};d||(d=function(t){return t});var v=f.model&&f.model.event||"input";return e.render=function(t){var e,n=this;this.registerField();var i=ut(this),r=b({},this.$listeners),a=k(this.$vnode);this._inputEventName=this._inputEventName||M(this.$vnode,a),lt.call(this,a);var s=ct(this),o=s.onInput,u=s.onBlur;L(r,v,o),L(r,"blur",u),this.normalizedEvents.forEach(function(t,e){L(r,t,function(t){n.validate().then(n.applyResult)})});var l=(P(this.$vnode)||{prop:"value"}).prop,c=b({},this.$attrs,((e={})[l]=a.value,e),d(i));return t(f,{attrs:this.$attrs,props:c,on:r},R(this.$slots,this.$vnode.context))},e},It});
{
"name": "vee-validate",
"version": "2.1.0-beta.11",
"version": "2.1.1",
"description": "Simple Vue.js input validation plugin",

@@ -45,3 +45,3 @@ "author": "Abdelrahman Awad <logaretm1@gmail.com>",

"@babel/preset-env": "^7.1.0",
"@commitlint/cli": "^7.1.2",
"@commitlint/cli": "^7.2.1",
"@vue/test-utils": "1.0.0-beta.12",

@@ -54,7 +54,7 @@ "babel-core": "^7.0.0-0",

"date-fns": "2.0.0-alpha.7",
"eslint": "^5.6.1",
"eslint": "^5.7.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-flowtype": "^2.50.3",
"eslint-plugin-flowtype": "^3.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.22.1",
"eslint-plugin-jest": "^21.25.1",
"eslint-plugin-node": "^7.0.1",

@@ -64,6 +64,6 @@ "eslint-plugin-promise": "^4.0.1",

"filesize": "^3.6.1",
"flow-bin": "^0.81.0",
"flow-bin": "^0.83.0",
"flush-promises": "^1.0.0",
"gzip-size": "^5.0.0",
"husky": "^1.0.1",
"husky": "^1.1.2",
"jest": "^23.5.0",

@@ -73,13 +73,13 @@ "lint-staged": "^7.3.0",

"regenerator-runtime": "^0.12.1",
"rollup": "^0.66.2",
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-commonjs": "^9.1.8",
"rollup": "^0.66.6",
"rollup-plugin-buble": "^0.19.4",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-flow": "^1.1.1",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-replace": "^2.1.0",
"uglify-js": "^3.4.9",
"validator": "^10.7.1",
"validator": "^10.8.0",
"vue": "^2.5.17",
"vue-i18n": "^8.1.0",
"vue-jest": "^2.6.0",
"vue-i18n": "^8.2.1",
"vue-jest": "^3.0.0",
"vue-server-renderer": "^2.5.17",

@@ -86,0 +86,0 @@ "vue-template-compiler": "^2.5.17",

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

setStrictMode(strictMode?: boolean): void;
validate(name: string, value?: any, scope?: string, silent?: boolean): Promise<any>;
validate(name?: string, value?: any, scope?: string, silent?: boolean): Promise<any>;
validateAll(values?: Object, scope?: string, silent?: boolean): Promise<any>;

@@ -164,0 +164,0 @@ validateScopes(silent?: boolean): Promise<any>;

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