From 7b84e15e17c5182260d0fef029b77e4d1f4b8fd9 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Fri, 8 Dec 2017 08:19:30 +0100 Subject: [PATCH] Adding the lastest version of lesspass-pure --- dist/i18n/de.json | 2 - dist/i18n/en.json | 2 - dist/i18n/es.json | 2 - dist/i18n/fr.json | 2 - dist/i18n/pt.json | 2 - dist/i18n/zh-CN.json | 2 - dist/i18n/zh.json | 2 - dist/lesspass.min.js | 26 +++------- package-lock.json | 138 +++++++++++++++++++++++++++------------------------ package.json | 2 +- 10 files changed, 83 insertions(+), 97 deletions(-) diff --git a/dist/i18n/de.json b/dist/i18n/de.json index bfe7c7f..d7923f4 100644 --- a/dist/i18n/de.json +++ b/dist/i18n/de.json @@ -22,7 +22,6 @@ "Next": "Nächste", "NoMatchFor": "Ups! Dafür gibt es keine Übereinstimmung", "NoPassword": "Sie haben kein Passwort-Profil in Ihrer Datenbank gespeichert.", - "Password profile deleted": "Kennwort Profil gelöscht", "PasswordProfileCopied": "Ihr Passwort-Profil wurde kopiert", "PasswordResetRequired": "Ein Passwort ist erforderlich", "PasswordResetSuccessful": "Ihr Passwort wurde erfolgreich zurückgesetzt.", @@ -35,7 +34,6 @@ "Site": "Seite", "SiteLoginMasterPasswordMandatory": "Die Felder für Seite, Anmeldename und Masterpasswort sind obligatorisch.", "SorryCopy": "Es tut uns leid, dass die Kopie nur auf modernen Browsern funktioniert", - "UNDO": "STORNIEREN", "UpdateYourSearch": "Bitte erweitern Sie Ihre Suche.", "WelcomeRegister": "Willkommen {email}, danke für die Anmeldung.", "Your options have been saved successfully": "Ihre Optionen wurden erfolgreich gespeichert", diff --git a/dist/i18n/en.json b/dist/i18n/en.json index 6683380..8d40260 100644 --- a/dist/i18n/en.json +++ b/dist/i18n/en.json @@ -22,7 +22,6 @@ "Next": "Next", "NoMatchFor": "Oops! There are no matches for", "NoPassword": "You don't have any password profile saved in your database.", - "Password profile deleted": "Password profile deleted", "PasswordProfileCopied": "Your password profile has been copied", "PasswordResetRequired": "A password is required", "PasswordResetSuccessful": "Your password was reset successfully.", @@ -35,7 +34,6 @@ "Site": "Site", "SiteLoginMasterPasswordMandatory": "Site, login, and master password fields are mandatory.", "SorryCopy": "We are sorry the copy only works on modern browsers", - "UNDO": "UNDO", "UpdateYourSearch": "Please try broadening your search.", "WelcomeRegister": "Welcome {email}, thank you for signing up.", "Your options have been saved successfully": "Your options have been saved successfully", diff --git a/dist/i18n/es.json b/dist/i18n/es.json index 643a9fd..f079811 100644 --- a/dist/i18n/es.json +++ b/dist/i18n/es.json @@ -22,7 +22,6 @@ "Next": "Después", "NoMatchFor": "¡Vaya! No ha resultados para", "NoPassword": "No tiene ningún perfil de contraseñas guardado en su base de datos.", - "Password profile deleted": "Contraseña del perfil de borrado", "PasswordProfileCopied": "Se ha copiado su perfil de contraseña", "PasswordResetRequired": "Se requiere una contraseña", "PasswordResetSuccessful": "Su contraseña ha sido reestablecida con éxito.", @@ -35,7 +34,6 @@ "Site": "Sitio", "SiteLoginMasterPasswordMandatory": "Los campos sitio, usuario y contraseña maestra son obligatorios.", "SorryCopy": "Lamentamos que la copia sólo funcione en navegadores modernos", - "UNDO": "DESHACER", "UpdateYourSearch": "Trate de ampliar su búsqueda.", "WelcomeRegister": "Bienvenido o bienvenida {email}, gracias por registrarse.", "Your options have been saved successfully": "Sus opciones se han guardado correctamente", diff --git a/dist/i18n/fr.json b/dist/i18n/fr.json index 6c103f7..7998f22 100644 --- a/dist/i18n/fr.json +++ b/dist/i18n/fr.json @@ -22,7 +22,6 @@ "Next": "Suivant", "NoMatchFor": "Oups ! il n'y a aucun resultat pour", "NoPassword": "Vous n'avez aucun mot de passe enregistré.", - "Password profile deleted": "Profil de mot de passe supprimé", "PasswordProfileCopied": "Votre profil de mot de passe a été copié", "PasswordResetRequired": "Un mot de passe est requis", "PasswordResetSuccessful": "Votre mot de passe a été changé avec succès", @@ -35,7 +34,6 @@ "Site": "Site", "SiteLoginMasterPasswordMandatory": "Les champs site, login et mot de passe fort sont obligatoires.", "SorryCopy": "Nous sommes désolés, la copie ne fonctionne que sur les navigateurs modernes", - "UNDO": "ANNULER", "UpdateYourSearch": "Merci de modifier votre recherche.", "WelcomeRegister": "Bienvenue {email}, merci pour vous être enregistré.", "Your options have been saved successfully": "Vos options ont été enregistrées avec succès", diff --git a/dist/i18n/pt.json b/dist/i18n/pt.json index 3285129..8eda4f1 100644 --- a/dist/i18n/pt.json +++ b/dist/i18n/pt.json @@ -22,7 +22,6 @@ "Next": "Próximo", "NoMatchFor": "Opa! Não há resultados para", "NoPassword": "Você não tem nenhum perfil de senha salvo no seu banco de dados.", - "Password profile deleted": "Perfil de senha excluido", "PasswordProfileCopied": "Seu perfil de senha foi copiado", "PasswordResetRequired": "Uma senha é necessária", "PasswordResetSuccessful": "Sua senha foi resetada com sucesso.", @@ -35,7 +34,6 @@ "Site": "Site", "SiteLoginMasterPasswordMandatory": "Campos de site e credenciais de autenticação são obrigatórios.", "SorryCopy": "Infelizmente a cópia somente funciona em navegadores modernos", - "UNDO": "DESFAZER", "UpdateYourSearch": "Por favor tente ampliar sua busca.", "WelcomeRegister": "Bem vindo {email}, obrigado por se registrar.", "Your options have been saved successfully": "Suas opções foram salvas com sucesso", diff --git a/dist/i18n/zh-CN.json b/dist/i18n/zh-CN.json index c1d8d6a..7f34208 100644 --- a/dist/i18n/zh-CN.json +++ b/dist/i18n/zh-CN.json @@ -22,7 +22,6 @@ "Next": "下一步", "NoMatchFor": "没有找到符合下列条件的内容:", "NoPassword": "您的数据库里没有保存任何密码配置。", - "Password profile deleted": "密码配置文件被删", "PasswordProfileCopied": "已复制您的密码配置。", "PasswordResetRequired": "请输入登录密码", "PasswordResetSuccessful": "已成功重置您的登录密码。", @@ -35,7 +34,6 @@ "Site": "网站名", "SiteLoginMasterPasswordMandatory": "网站名、登录名以及主密码均为必填信息。", "SorryCopy": "很抱歉,但复制功能仅适用于现代浏览器", - "UNDO": "解开", "UpdateYourSearch": "请尝试放宽您的搜索条件。", "WelcomeRegister": "你好 {email},欢迎您的注册。", "Your options have been saved successfully": "您的选项已成功保存", diff --git a/dist/i18n/zh.json b/dist/i18n/zh.json index a6c97d2..d8ae9f7 100644 --- a/dist/i18n/zh.json +++ b/dist/i18n/zh.json @@ -22,7 +22,6 @@ "Next": "然後", "NoMatchFor": "喔不!沒有找到跟下列條件相似的結果:", "NoPassword": "您的資料庫內沒有儲存任何密碼。", - "Password profile deleted": "密碼配置文件被刪", "PasswordProfileCopied": "您的密码配置文件已被复制。", "PasswordResetRequired": "請輸入登入密碼", "PasswordResetSuccessful": "已成功重置您的登入密碼。", @@ -35,7 +34,6 @@ "Site": "網站位址", "SiteLoginMasterPasswordMandatory": "網站位址、登入帳號、主密碼皆為必填欄位。", "SorryCopy": "我們很抱歉,該副本僅適用於現代瀏覽器", - "UNDO": "解開", "UpdateYourSearch": "請試著放寬您的搜尋條件。", "WelcomeRegister": "歡迎 {email},謝謝您的註冊。", "Your options have been saved successfully": "您的選項已成功保存", diff --git a/dist/lesspass.min.js b/dist/lesspass.min.js index 2773fe3..c4ae860 100644 --- a/dist/lesspass.min.js +++ b/dist/lesspass.min.js @@ -1,38 +1,28 @@ -!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=53)}([function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e,n){"use strict";(function(t){function r(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,e){if(r()=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function v(t){return+t!=t&&(t=0),o.alloc(+t)}function g(t,e){if(o.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(t).length;default:if(r)return H(t).length;e=(""+e).toLowerCase(),r=!0}}function m(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return R(this,e,n);case"utf8":case"utf-8":return k(this,e,n);case"ascii":return T(this,e,n);case"latin1":case"binary":return j(this,e,n);case"base64":return O(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function y(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function _(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=o.from(e,r)),o.isBuffer(e))return 0===e.length?-1:b(t,e,n,r,i);if("number"==typeof e)return e&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):b(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,n,r,i){function o(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}var s=1,a=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,n/=2}var c;if(i){var f=-1;for(c=n;ca&&(n=a-u),c=n;c>=0;c--){for(var l=!0,p=0;pi&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s239?4:o>223?3:o>191?2:1;if(i+a<=n){var u,c,f,l;switch(a){case 1:o<128&&(s=o);break;case 2:u=t[i+1],128==(192&u)&&(l=(31&o)<<6|63&u)>127&&(s=l);break;case 3:u=t[i+1],c=t[i+2],128==(192&u)&&128==(192&c)&&(l=(15&o)<<12|(63&u)<<6|63&c)>2047&&(l<55296||l>57343)&&(s=l);break;case 4:u=t[i+1],c=t[i+2],f=t[i+3],128==(192&u)&&128==(192&c)&&128==(192&f)&&(l=(15&o)<<18|(63&u)<<12|(63&c)<<6|63&f)>65535&&l<1114112&&(s=l)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),i+=a}return P(r)}function P(t){var e=t.length;if(e<=Q)return String.fromCharCode.apply(String,t);for(var n="",r=0;rr)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function $(t,e,n,r,i,s){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function B(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function I(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function U(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(t,e,n,r,i){return i||U(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(t,e,n,r,23,4),n+4}function N(t,e,n,r,i){return i||U(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(t,e,n,r,52,8),n+8}function F(t){if(t=q(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function q(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function z(t){return t<16?"0"+t.toString(16):t.toString(16)}function H(t,e){e=e||1/0;for(var n,r=t.length,i=null,o=[],s=0;s55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function W(t){for(var e=[],n=0;n>8,i=n%256,o.push(i),o.push(r);return o}function Y(t){return X.toByteArray(F(t))}function V(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function K(t){return t!==t}/*! +!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=52)}([function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e,n){"use strict";(function(t){function r(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,e){if(r()=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function v(t){return+t!=t&&(t=0),o.alloc(+t)}function g(t,e){if(o.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(t).length;default:if(r)return z(t).length;e=(""+e).toLowerCase(),r=!0}}function m(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return j(this,e,n);case"utf8":case"utf-8":return k(this,e,n);case"ascii":return T(this,e,n);case"latin1":case"binary":return R(this,e,n);case"base64":return O(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function y(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function _(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=o.from(e,r)),o.isBuffer(e))return 0===e.length?-1:w(t,e,n,r,i);if("number"==typeof e)return e&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):w(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function w(t,e,n,r,i){function o(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}var s=1,a=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,n/=2}var c;if(i){var l=-1;for(c=n;ca&&(n=a-u),c=n;c>=0;c--){for(var f=!0,p=0;pi&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s239?4:o>223?3:o>191?2:1;if(i+a<=n){var u,c,l,f;switch(a){case 1:o<128&&(s=o);break;case 2:u=t[i+1],128==(192&u)&&(f=(31&o)<<6|63&u)>127&&(s=f);break;case 3:u=t[i+1],c=t[i+2],128==(192&u)&&128==(192&c)&&(f=(15&o)<<12|(63&u)<<6|63&c)>2047&&(f<55296||f>57343)&&(s=f);break;case 4:u=t[i+1],c=t[i+2],l=t[i+3],128==(192&u)&&128==(192&c)&&128==(192&l)&&(f=(15&o)<<18|(63&u)<<12|(63&c)<<6|63&l)>65535&&f<1114112&&(s=f)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),i+=a}return P(r)}function P(t){var e=t.length;if(e<=Q)return String.fromCharCode.apply(String,t);for(var n="",r=0;rr)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function $(t,e,n,r,i,s){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function B(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function I(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function U(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(t,e,n,r,i){return i||U(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(t,e,n,r,23,4),n+4}function D(t,e,n,r,i){return i||U(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(t,e,n,r,52,8),n+8}function F(t){if(t=q(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function q(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function H(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t,e){e=e||1/0;for(var n,r=t.length,i=null,o=[],s=0;s55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function W(t){for(var e=[],n=0;n>8,i=n%256,o.push(i),o.push(r);return o}function Y(t){return X.toByteArray(F(t))}function V(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function K(t){return t!==t}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ -var X=n(107),J=n(108),Z=n(37);e.Buffer=o,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=r(),o.poolSize=8192,o._augment=function(t){return t.__proto__=o.prototype,t},o.from=function(t,e,n){return s(null,t,e,n)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(t,e,n){return u(null,t,e,n)},o.allocUnsafe=function(t){return c(null,t)},o.allocUnsafeSlow=function(t){return c(null,t)},o.isBuffer=function(t){return!(null==t||!t._isBuffer)},o.compare=function(t,e){if(!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,s=Math.min(n,r);i0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},o.prototype.compare=function(t,e,n,r,i){if(!o.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var s=i-r,a=n-e,u=Math.min(s,a),c=this.slice(r,i),f=t.slice(e,n),l=0;li)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return w(this,t,e,n);case"utf8":case"utf-8":return x(this,t,e,n);case"ascii":return E(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;o.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(i*=256);)r+=this[t+--e]*i;return r},o.prototype.readUInt8=function(t,e){return e||M(t,1,this.length),this[t]},o.prototype.readUInt16LE=function(t,e){return e||M(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUInt16BE=function(t,e){return e||M(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUInt32LE=function(t,e){return e||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},o.prototype.readUInt32BE=function(t,e){return e||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||M(t,e,this.length);for(var r=this[t],i=1,o=0;++o=i&&(r-=Math.pow(2,8*e)),r},o.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||M(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},o.prototype.readInt8=function(t,e){return e||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){e||M(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(t,e){e||M(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(t,e){return e||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return e||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readFloatLE=function(t,e){return e||M(t,4,this.length),J.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return e||M(t,4,this.length),J.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return e||M(t,8,this.length),J.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return e||M(t,8,this.length),J.read(this,t,!1,52,8)},o.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){$(this,t,e,n,Math.pow(2,8*n)-1,0)}var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},o.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,1,255,0),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},o.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},o.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},o.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):I(this,t,e,!0),e+4},o.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):I(this,t,e,!1),e+4},o.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);$(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o>0)-a&255;return e+n},o.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);$(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},o.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,1,127,-128),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},o.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},o.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):I(this,t,e,!0),e+4},o.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):I(this,t,e,!1),e+4},o.prototype.writeFloatLE=function(t,e,n){return D(this,t,e,!0,n)},o.prototype.writeFloatBE=function(t,e,n){return D(this,t,e,!1,n)},o.prototype.writeDoubleLE=function(t,e,n){return N(this,t,e,!0,n)},o.prototype.writeDoubleBE=function(t,e,n){return N(this,t,e,!1,n)},o.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(s<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var s;if("number"==typeof t)for(s=e;sn.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],i=0;i1)for(var n=1;n-1&&e.splice(n,1)}}function c(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;l(t,n,[],t._modules.root,!0),f(t,n,e)}function f(t,e,n){var r=t._vm;t.getters={};var o=t._wrappedGetters,s={};i(o,function(e,n){s[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var a=P.config.silent;P.config.silent=!0,t._vm=new P({data:{$$state:e},computed:s}),P.config.silent=a,t.strict&&m(t),r&&(n&&t._withCommit(function(){r._data.$$state=null}),P.nextTick(function(){return r.$destroy()}))}function l(t,e,n,r,i){var o=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s]=r),!o&&!i){var a=y(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit(function(){P.set(a,u,r.state)})}var c=r.context=p(t,s,n);r.forEachMutation(function(e,n){d(t,s+n,e,c)}),r.forEachAction(function(e,n){var r=e.root?n:s+n,i=e.handler||e;v(t,r,i,c)}),r.forEachGetter(function(e,n){g(t,s+n,e,c)}),r.forEachChild(function(r,o){l(t,e,n.concat(o),r,i)})}function p(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=_(n,r,i),s=o.payload,a=o.options,u=o.type;return a&&a.root||(u=e+u),t.dispatch(u,s)},commit:r?t.commit:function(n,r,i){var o=_(n,r,i),s=o.payload,a=o.options,u=o.type;a&&a.root||(u=e+u),t.commit(u,s,a)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return h(t,e)}},state:{get:function(){return y(t.state,n)}}}),i}function h(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}}),n}function d(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,r.state,e)})}function v(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push(function(e,i){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,i);return s(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):o})}function g(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function m(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function y(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function _(t,e,n){return o(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function b(t){P&&t===P||(P=t,C(P))}function w(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function x(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function E(t,e,n){return t._modulesNamespaceMap[n]}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"Store",function(){return T}),n.d(e,"install",function(){return b}),n.d(e,"mapState",function(){return R}),n.d(e,"mapMutations",function(){return L}),n.d(e,"mapGetters",function(){return M}),n.d(e,"mapActions",function(){return $}),n.d(e,"createNamespacedHelpers",function(){return B});/** - * vuex v2.5.0 +var X=n(104),J=n(105),Z=n(36);e.Buffer=o,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=r(),o.poolSize=8192,o._augment=function(t){return t.__proto__=o.prototype,t},o.from=function(t,e,n){return s(null,t,e,n)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(t,e,n){return u(null,t,e,n)},o.allocUnsafe=function(t){return c(null,t)},o.allocUnsafeSlow=function(t){return c(null,t)},o.isBuffer=function(t){return!(null==t||!t._isBuffer)},o.compare=function(t,e){if(!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,s=Math.min(n,r);i0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},o.prototype.compare=function(t,e,n,r,i){if(!o.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var s=i-r,a=n-e,u=Math.min(s,a),c=this.slice(r,i),l=t.slice(e,n),f=0;fi)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,t,e,n);case"utf8":case"utf-8":return E(this,t,e,n);case"ascii":return x(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;o.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(i*=256);)r+=this[t+--e]*i;return r},o.prototype.readUInt8=function(t,e){return e||M(t,1,this.length),this[t]},o.prototype.readUInt16LE=function(t,e){return e||M(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUInt16BE=function(t,e){return e||M(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUInt32LE=function(t,e){return e||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},o.prototype.readUInt32BE=function(t,e){return e||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||M(t,e,this.length);for(var r=this[t],i=1,o=0;++o=i&&(r-=Math.pow(2,8*e)),r},o.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||M(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},o.prototype.readInt8=function(t,e){return e||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){e||M(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(t,e){e||M(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(t,e){return e||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return e||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readFloatLE=function(t,e){return e||M(t,4,this.length),J.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return e||M(t,4,this.length),J.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return e||M(t,8,this.length),J.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return e||M(t,8,this.length),J.read(this,t,!1,52,8)},o.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){$(this,t,e,n,Math.pow(2,8*n)-1,0)}var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},o.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,1,255,0),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},o.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},o.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},o.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):I(this,t,e,!0),e+4},o.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):I(this,t,e,!1),e+4},o.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);$(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o>0)-a&255;return e+n},o.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);$(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},o.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,1,127,-128),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},o.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},o.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):I(this,t,e,!0),e+4},o.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):I(this,t,e,!1),e+4},o.prototype.writeFloatLE=function(t,e,n){return N(this,t,e,!0,n)},o.prototype.writeFloatBE=function(t,e,n){return N(this,t,e,!1,n)},o.prototype.writeDoubleLE=function(t,e,n){return D(this,t,e,!0,n)},o.prototype.writeDoubleBE=function(t,e,n){return D(this,t,e,!1,n)},o.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(s<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var s;if("number"==typeof t)for(s=e;sn.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],i=0;i1)for(var n=1;n-1&&e.splice(n,1)}}function c(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;f(t,n,[],t._modules.root,!0),l(t,n,e)}function l(t,e,n){var r=t._vm;t.getters={};var o=t._wrappedGetters,s={};i(o,function(e,n){s[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var a=P.config.silent;P.config.silent=!0,t._vm=new P({data:{$$state:e},computed:s}),P.config.silent=a,t.strict&&m(t),r&&(n&&t._withCommit(function(){r._data.$$state=null}),P.nextTick(function(){return r.$destroy()}))}function f(t,e,n,r,i){var o=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s]=r),!o&&!i){var a=y(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit(function(){P.set(a,u,r.state)})}var c=r.context=p(t,s,n);r.forEachMutation(function(e,n){d(t,s+n,e,c)}),r.forEachAction(function(e,n){var r=e.root?n:s+n,i=e.handler||e;v(t,r,i,c)}),r.forEachGetter(function(e,n){g(t,s+n,e,c)}),r.forEachChild(function(r,o){f(t,e,n.concat(o),r,i)})}function p(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=_(n,r,i),s=o.payload,a=o.options,u=o.type;return a&&a.root||(u=e+u),t.dispatch(u,s)},commit:r?t.commit:function(n,r,i){var o=_(n,r,i),s=o.payload,a=o.options,u=o.type;a&&a.root||(u=e+u),t.commit(u,s,a)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return h(t,e)}},state:{get:function(){return y(t.state,n)}}}),i}function h(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}}),n}function d(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,r.state,e)})}function v(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push(function(e,i){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,i);return s(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):o})}function g(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function m(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function y(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function _(t,e,n){return o(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function w(t){P&&t===P||(P=t,C(P))}function b(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function E(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function x(t,e,n){return t._modulesNamespaceMap[n]}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"Store",function(){return T}),n.d(e,"install",function(){return w}),n.d(e,"mapState",function(){return j}),n.d(e,"mapMutations",function(){return L}),n.d(e,"mapGetters",function(){return M}),n.d(e,"mapActions",function(){return $}),n.d(e,"createNamespacedHelpers",function(){return B});/** + * vuex v3.0.1 * (c) 2017 Evan You * @license MIT */ -var C=function(t){function e(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:e});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,n.call(this,t)}}},S="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,A=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},O={namespaced:{configurable:!0}};O.namespaced.get=function(){return!!this._rawModule.namespaced},A.prototype.addChild=function(t,e){this._children[t]=e},A.prototype.removeChild=function(t){delete this._children[t]},A.prototype.getChild=function(t){return this._children[t]},A.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},A.prototype.forEachChild=function(t){i(this._children,t)},A.prototype.forEachGetter=function(t){this._rawModule.getters&&i(this._rawModule.getters,t)},A.prototype.forEachAction=function(t){this._rawModule.actions&&i(this._rawModule.actions,t)},A.prototype.forEachMutation=function(t){this._rawModule.mutations&&i(this._rawModule.mutations,t)},Object.defineProperties(A.prototype,O);var k=function(t){this.register([],t,!1)};k.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},k.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},k.prototype.update=function(t){a([],this.root,t)},k.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new A(e,n);if(0===t.length)this.root=o;else{this.get(t.slice(0,-1)).addChild(t[t.length-1],o)}e.modules&&i(e.modules,function(e,i){r.register(t.concat(i),e,n)})},k.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var P,T=function(t){var e=this;void 0===t&&(t={}),!P&&"undefined"!=typeof window&&window.Vue&&b(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1);var o=t.state;void 0===o&&(o={}),"function"==typeof o&&(o=o()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new k(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new P;var s=this,a=this,u=a.dispatch,c=a.commit;this.dispatch=function(t,e){return u.call(s,t,e)},this.commit=function(t,e,n){return c.call(s,t,e,n)},this.strict=i,l(this,o,[],this._modules.root),f(this,o),n.forEach(function(t){return t(e)}),P.config.devtools&&r(this)},j={state:{configurable:!0}};j.state.get=function(){return this._vm._data.$$state},j.state.set=function(t){},T.prototype.commit=function(t,e,n){var r=this,i=_(t,e,n),o=i.type,s=i.payload,a=(i.options,{type:o,payload:s}),u=this._mutations[o];u&&(this._withCommit(function(){u.forEach(function(t){t(s)})}),this._subscribers.forEach(function(t){return t(a,r.state)}))},T.prototype.dispatch=function(t,e){var n=this,r=_(t,e),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a)return this._actionSubscribers.forEach(function(t){return t(s,n.state)}),a.length>1?Promise.all(a.map(function(t){return t(o)})):a[0](o)},T.prototype.subscribe=function(t){return u(t,this._subscribers)},T.prototype.subscribeAction=function(t){return u(t,this._actionSubscribers)},T.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},T.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},T.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),l(this,this.state,t,this._modules.get(t),n.preserveState),f(this,this.state)},T.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=y(e.state,t.slice(0,-1));P.delete(n,t[t.length-1])}),c(this)},T.prototype.hotUpdate=function(t){this._modules.update(t),c(this,!0)},T.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(T.prototype,j);var R=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=E(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0}),n}),L=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=E(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}}),n}),M=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||E(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0}),n}),$=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=E(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}}),n}),B=function(t){return{mapState:R.bind(null,t),mapGetters:M.bind(null,t),mapMutations:L.bind(null,t),mapActions:$.bind(null,t)}},I={Store:T,install:b,version:"2.5.0",mapState:R,mapMutations:L,mapGetters:M,mapActions:$,createNamespacedHelpers:B};e.default=I},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(26),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={timeout:0,deleteMessage:!0,success:function(t){var e={text:t,status:"success"};i.default.dispatch("displayMessage",{message:e}),this.autoHideMessage(t)},warning:function(t){var e={text:t,status:"warning"};i.default.dispatch("displayMessage",{message:e}),this.autoHideMessage(t)},error:function(t){var e={text:t,status:"error"};i.default.dispatch("displayMessage",{message:e}),this.autoHideMessage(t)},autoHideMessage:function(t){var e=this;clearTimeout(this.timeout),this.deleteMessage=!0;var n=Math.min(Math.max(100*t.length,3e3),8e3);this.timeout=setTimeout(function(){e.deleteMessage&&i.default.dispatch("cleanMessage")},n)},keepMessage:function(){this.deleteMessage=!1},hideMessage:function(){i.default.dispatch("cleanMessage")},displayGenericError:function(){this.error("Oops! Something went wrong. Retry in a few minutes.")}}},function(t,e,n){function r(t,e){for(var n in t)e[n]=t[n]}function i(t,e,n){return s(t,e,n)}var o=n(1),s=o.Buffer;s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?t.exports=o:(r(o,e),e.Buffer=i),r(s,i),i.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return s(t,e,n)},i.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var r=s(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},i.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return s(t)},i.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o.SlowBuffer(t)}},function(t,e,n){"use strict";function r(t){if(!(this instanceof r))return new r(t);c.call(this,t),f.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",i)}function i(){this.allowHalfOpen||this._writableState.ended||s(o,this)}function o(t){t.end()}var s=n(15),a=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=r;var u=n(13);u.inherits=n(0);var c=n(44),f=n(24);u.inherits(r,c);for(var l=a(f.prototype),p=0;p=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(e,this._blockSize-4);var n=this._update(this._block)||this._hash();return t?n.toString(t):n},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=n}).call(e,n(1).Buffer)},function(t,e,n){(function(t){function n(t){return Array.isArray?Array.isArray(t):"[object Array]"===g(t)}function r(t){return"boolean"==typeof t}function i(t){return null===t}function o(t){return null==t}function s(t){return"number"==typeof t}function a(t){return"string"==typeof t}function u(t){return"symbol"==typeof t}function c(t){return void 0===t}function f(t){return"[object RegExp]"===g(t)}function l(t){return"object"==typeof t&&null!==t}function p(t){return"[object Date]"===g(t)}function h(t){return"[object Error]"===g(t)||t instanceof Error}function d(t){return"function"==typeof t}function v(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function g(t){return Object.prototype.toString.call(t)}e.isArray=n,e.isBoolean=r,e.isNull=i,e.isNullOrUndefined=o,e.isNumber=s,e.isString=a,e.isSymbol=u,e.isUndefined=c,e.isRegExp=f,e.isObject=l,e.isDate=p,e.isError=h,e.isFunction=d,e.isPrimitive=v,e.isBuffer=t.isBuffer}).call(e,n(1).Buffer)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(27),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={login:function(t,e){return i.default.post("/api/tokens/auth/",t,e).then(function(t){return t.data})},register:function(t,e){return i.default.post("/api/auth/register/",t,e).then(function(t){return t.data})},resetPassword:function(t,e){return i.default.post("/api/auth/password/reset/",t,e)},confirmResetPassword:function(t,e){return i.default.post("/api/auth/password/reset/confirm/",t,e)},requestNewToken:function(t,e){return i.default.post("/api/tokens/refresh/",t,e).then(function(t){return t.data.token})}}},function(t,e,n){"use strict";(function(e){function n(t,n,r,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,n)});case 3:return e.nextTick(function(){t.call(null,n,r)});case 4:return e.nextTick(function(){t.call(null,n,r,i)});default:for(o=new Array(a-1),s=0;s=2)t.mixin({beforeCreate:e});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,n.call(this,t)}}},S="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,A=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},O={namespaced:{configurable:!0}};O.namespaced.get=function(){return!!this._rawModule.namespaced},A.prototype.addChild=function(t,e){this._children[t]=e},A.prototype.removeChild=function(t){delete this._children[t]},A.prototype.getChild=function(t){return this._children[t]},A.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},A.prototype.forEachChild=function(t){i(this._children,t)},A.prototype.forEachGetter=function(t){this._rawModule.getters&&i(this._rawModule.getters,t)},A.prototype.forEachAction=function(t){this._rawModule.actions&&i(this._rawModule.actions,t)},A.prototype.forEachMutation=function(t){this._rawModule.mutations&&i(this._rawModule.mutations,t)},Object.defineProperties(A.prototype,O);var k=function(t){this.register([],t,!1)};k.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},k.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},k.prototype.update=function(t){a([],this.root,t)},k.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new A(e,n);if(0===t.length)this.root=o;else{this.get(t.slice(0,-1)).addChild(t[t.length-1],o)}e.modules&&i(e.modules,function(e,i){r.register(t.concat(i),e,n)})},k.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var P,T=function(t){var e=this;void 0===t&&(t={}),!P&&"undefined"!=typeof window&&window.Vue&&w(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1);var o=t.state;void 0===o&&(o={}),"function"==typeof o&&(o=o()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new k(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new P;var s=this,a=this,u=a.dispatch,c=a.commit;this.dispatch=function(t,e){return u.call(s,t,e)},this.commit=function(t,e,n){return c.call(s,t,e,n)},this.strict=i,f(this,o,[],this._modules.root),l(this,o),n.forEach(function(t){return t(e)}),P.config.devtools&&r(this)},R={state:{configurable:!0}};R.state.get=function(){return this._vm._data.$$state},R.state.set=function(t){},T.prototype.commit=function(t,e,n){var r=this,i=_(t,e,n),o=i.type,s=i.payload,a=(i.options,{type:o,payload:s}),u=this._mutations[o];u&&(this._withCommit(function(){u.forEach(function(t){t(s)})}),this._subscribers.forEach(function(t){return t(a,r.state)}))},T.prototype.dispatch=function(t,e){var n=this,r=_(t,e),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a)return this._actionSubscribers.forEach(function(t){return t(s,n.state)}),a.length>1?Promise.all(a.map(function(t){return t(o)})):a[0](o)},T.prototype.subscribe=function(t){return u(t,this._subscribers)},T.prototype.subscribeAction=function(t){return u(t,this._actionSubscribers)},T.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},T.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},T.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),f(this,this.state,t,this._modules.get(t),n.preserveState),l(this,this.state)},T.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=y(e.state,t.slice(0,-1));P.delete(n,t[t.length-1])}),c(this)},T.prototype.hotUpdate=function(t){this._modules.update(t),c(this,!0)},T.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(T.prototype,R);var j=E(function(t,e){var n={};return b(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=x(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0}),n}),L=E(function(t,e){var n={};return b(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=x(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}}),n}),M=E(function(t,e){var n={};return b(e).forEach(function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||x(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0}),n}),$=E(function(t,e){var n={};return b(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=x(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}}),n}),B=function(t){return{mapState:j.bind(null,t),mapGetters:M.bind(null,t),mapMutations:L.bind(null,t),mapActions:$.bind(null,t)}},I={Store:T,install:w,version:"3.0.1",mapState:j,mapMutations:L,mapGetters:M,mapActions:$,createNamespacedHelpers:B};e.default=I},function(t,e,n){"use strict";function r(t){if(!(this instanceof r))return new r(t);c.call(this,t),l.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",i)}function i(){this.allowHalfOpen||this._writableState.ended||s(o,this)}function o(t){t.end()}var s=n(15),a=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=r;var u=n(13);u.inherits=n(0);var c=n(43),l=n(24);u.inherits(r,c);for(var f=a(l.prototype),p=0;p=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(e,this._blockSize-4);var n=this._update(this._block)||this._hash();return t?n.toString(t):n},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=n}).call(e,n(1).Buffer)},function(t,e,n){(function(t){function n(t){return Array.isArray?Array.isArray(t):"[object Array]"===g(t)}function r(t){return"boolean"==typeof t}function i(t){return null===t}function o(t){return null==t}function s(t){return"number"==typeof t}function a(t){return"string"==typeof t}function u(t){return"symbol"==typeof t}function c(t){return void 0===t}function l(t){return"[object RegExp]"===g(t)}function f(t){return"object"==typeof t&&null!==t}function p(t){return"[object Date]"===g(t)}function h(t){return"[object Error]"===g(t)||t instanceof Error}function d(t){return"function"==typeof t}function v(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function g(t){return Object.prototype.toString.call(t)}e.isArray=n,e.isBoolean=r,e.isNull=i,e.isNullOrUndefined=o,e.isNumber=s,e.isString=a,e.isSymbol=u,e.isUndefined=c,e.isRegExp=l,e.isObject=f,e.isDate=p,e.isError=h,e.isFunction=d,e.isPrimitive=v,e.isBuffer=t.isBuffer}).call(e,n(1).Buffer)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(27),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={login:function(t,e){return i.default.post("/api/tokens/auth/",t,e).then(function(t){return t.data})},register:function(t,e){return i.default.post("/api/auth/register/",t,e).then(function(t){return t.data})},resetPassword:function(t,e){return i.default.post("/api/auth/password/reset/",t,e)},confirmResetPassword:function(t,e){return i.default.post("/api/auth/password/reset/confirm/",t,e)},requestNewToken:function(t,e){return i.default.post("/api/tokens/refresh/",t,e).then(function(t){return t.data.token})}}},function(t,e,n){"use strict";(function(e){function n(t,n,r,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,n)});case 3:return e.nextTick(function(){t.call(null,n,r)});case 4:return e.nextTick(function(){t.call(null,n,r,i)});default:for(o=new Array(a-1),s=0;s=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function h(t){var e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}function g(t,e){return vr.call(t,e)}function m(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function y(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function _(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function w(t,e){for(var n in e)t[n]=e[n];return t}function b(t){for(var e={},n=0;n0&&(s=mt(s,(e||"")+"_"+n),gt(s[0])&>(c)&&(l[u]=j(c.text+s[0].text),s.shift()),l.push.apply(l,s)):a(s)?gt(c)?l[u]=j(c.text+s):""!==s&&l.push(j(s)):gt(s)&>(c)?l[u]=j(c.text+s.text):(o(t._isVList)&&i(s.tag)&&r(s.key)&&i(e)&&(s.key="__vlist"+e+"_"+n+"__"),l.push(s)));return l}function yt(t,e){return(t.__esModule||Wr&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function _t(t,e,n,r,i){var o=Zr();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}function wt(t,e,n){if(o(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;if(o(t.loading)&&i(t.loadingComp))return t.loadingComp;if(!i(t.contexts)){var s=t.contexts=[n],a=!0,c=function(){for(var t=0,e=s.length;txi&&yi[n].id>t.id;)n--;yi.splice(n+1,0,t)}else yi.push(t);bi||(bi=!0,st(Ut))}}function Ht(t,e,n){Ai.get=function(){return this[e][n]},Ai.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Ai)}function zt(t){t._watchers=[];var e=t.$options;e.props&&Wt(t,e.props),e.methods&&Jt(t,e.methods),e.data?Gt(t):I(t._data={},!0),e.computed&&Vt(t,e.computed),e.watch&&e.watch!==Ur&&Zt(t,e.watch)}function Wt(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;ni.shouldConvert=o;for(var s in e)!function(o){i.push(o);var s=J(o,e,n,t);U(r,o,s),o in t||Ht(t,"_props",o)}(s);ni.shouldConvert=!0}function Gt(t){var e=t.$options.data;e=t._data="function"==typeof e?Yt(e,t):e||{},c(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);i--;){var o=n[i];r&&g(r,o)||A(o)||Ht(t,"_data",o)}I(e,!0)}function Yt(t,e){try{return t.call(e,e)}catch(t){return et(t,e,"data()"),{}}}function Vt(t,e){var n=t._computedWatchers=Object.create(null),r=Hr();for(var i in e){var o=e[i],s="function"==typeof o?o:o.get;r||(n[i]=new Si(t,s||E,E,Oi)),i in t||Kt(t,i,o)}}function Kt(t,e,n){var r=!Hr();"function"==typeof n?(Ai.get=r?Xt(e):n,Ai.set=E):(Ai.get=n.get?r&&!1!==n.cache?Xt(e):n.get:E,Ai.set=n.set?n.set:E),Object.defineProperty(t,e,Ai)}function Xt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Vr.target&&e.depend(),e.value}}function Jt(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?E:y(e[n],t)}function Zt(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function Te(t){this._init(t)}function Re(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=_(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function je(t){t.mixin=function(t){return this.options=K(this.options,t),this}}function Le(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name,s=function(t){this._init(t)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=K(n.options,t),s.super=n,s.options.props&&Me(s),s.options.computed&&$e(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,Cr.forEach(function(t){s[t]=n[t]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=w({},s.options),i[r]=s,s}}function Me(t){var e=t.options.props;for(var n in e)Ht(t.prototype,"_props",n)}function $e(t){var e=t.options.computed;for(var n in e)Kt(t.prototype,n,e[n])}function Be(t){Cr.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Ie(t){return t&&(t.Ctor.options.name||t.tag)}function Ue(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!l(t)&&t.test(e)}function Ne(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var s=n[o];if(s){var a=Ie(s.componentOptions);a&&!e(a)&&De(n,o,r,i)}}}function De(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,v(n,e)}function Fe(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)r=r.componentInstance._vnode,r.data&&(e=qe(r.data,e));for(;i(n=n.parent);)n.data&&(e=qe(e,n.data));return He(e.staticClass,e.class)}function qe(t,e){return{staticClass:ze(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function He(t,e){return i(t)||i(e)?ze(t,We(e)):""}function ze(t,e){return t?e?t+" "+e:t:e||""}function We(t){return Array.isArray(t)?Ge(t):u(t)?Ye(t):"string"==typeof t?t:""}function Ge(t){for(var e,n="",r=0,o=t.length;r-1?Ji[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ji[t]=/HTMLUnknownElement/.test(e.toString())}function Xe(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Je(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Ze(t,e){return document.createElementNS(Yi[t],e)}function Qe(t){return document.createTextNode(t)}function tn(t){return document.createComment(t)}function en(t,e,n){t.insertBefore(e,n)}function nn(t,e){t.removeChild(e)}function rn(t,e){t.appendChild(e)}function on(t){return t.parentNode}function sn(t){return t.nextSibling}function an(t){return t.tagName}function un(t,e){t.textContent=e}function cn(t,e,n){t.setAttribute(e,n)}function ln(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.componentInstance||t.elm,o=r.$refs;e?Array.isArray(o[n])?v(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}function fn(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&pn(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function pn(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||Zi(r)&&Zi(o)}function hn(t,e,n){var r,o,s={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(s[o]=r);return s}function dn(t,e){(t.data.directives||e.data.directives)&&vn(t,e)}function vn(t,e){var n,r,i,o=t===eo,s=e===eo,a=gn(t.data.directives,t.context),u=gn(e.data.directives,e.context),c=[],l=[];for(n in u)r=a[n],i=u[n],r?(i.oldValue=r.value,yn(i,"update",e,t),i.def&&i.def.componentUpdated&&l.push(i)):(yn(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var f=function(){for(var n=0;n-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Bn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function In(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&w(e,wo(t.name||"v")),w(e,t),e}return"string"==typeof t?wo(t):void 0}}function Un(t){ko(function(){ko(t)})}function Nn(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),$n(t,e))}function Dn(t,e){t._transitionClasses&&v(t._transitionClasses,e),Bn(t,e)}function Fn(t,e,n){var r=qn(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===Eo?So:Oo,u=0,c=function(){t.removeEventListener(a,l),n()},l=function(e){e.target===t&&++u>=s&&c()};setTimeout(function(){u0&&(n=Eo,l=s,f=o.length):e===xo?c>0&&(n=xo,l=c,f=u.length):(l=Math.max(s,c),n=l>0?s>c?Eo:xo:null,f=n?n===Eo?o.length:u.length:0),{type:n,timeout:l,propCount:f,hasTransform:n===Eo&&Po.test(r[Co+"Property"])}}function Hn(t,e){for(;t.length1}function Kn(t,e){!0!==e.data.show&&Wn(e)}function Xn(t,e,n){Jn(t,e,n),(Lr||$r)&&setTimeout(function(){Jn(t,e,n)},0)}function Jn(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,u=t.options.length;a-1,s.selected!==o&&(s.selected=o);else if(x(Qn(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function Zn(t,e){return e.every(function(e){return!x(e,t)})}function Qn(t){return"_value"in t?t._value:t.value}function tr(t){t.target.composing=!0}function er(t){t.target.composing&&(t.target.composing=!1,nr(t.target,"input"))}function nr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function rr(t){return!t.componentInstance||t.data&&t.data.transition?t:rr(t.componentInstance._vnode)}function ir(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ir(Et(e.children)):t}function or(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[mr(o)]=i[o];return e}function sr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function ar(t){for(;t=t.parent;)if(t.data.transition)return!0}function ur(t,e){return e.key===t.key&&e.tag===t.tag}function cr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function lr(t){t.data.newPos=t.elm.getBoundingClientRect()}function fr(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}/*! + * Vue.js v2.5.9 * (c) 2014-2017 Evan You * Released under the MIT License. */ -function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function s(t){return!1===t}function a(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function u(t){return null!==t&&"object"==typeof t}function c(t){return"[object Object]"===pr.call(t)}function f(t){return"[object RegExp]"===pr.call(t)}function l(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function h(t){var e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}function g(t,e){return dr.call(t,e)}function m(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function y(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function _(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function b(t,e){for(var n in e)t[n]=e[n];return t}function w(t){for(var e={},n=0;n0&&(s=vt(s,(e||"")+"_"+n),dt(s[0])&&dt(c)&&(f[u]=R(c.text+s[0].text),s.shift()),f.push.apply(f,s)):a(s)?dt(c)?f[u]=R(c.text+s):""!==s&&f.push(R(s)):dt(s)&&dt(c)?f[u]=R(c.text+s.text):(o(t._isVList)&&i(s.tag)&&r(s.key)&&i(e)&&(s.key="__vlist"+e+"_"+n+"__"),f.push(s)));return f}function gt(t,e){return(t.__esModule||zr&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function mt(t,e,n,r,i){var o=Xr();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}function yt(t,e,n){if(o(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;if(o(t.loading)&&i(t.loadingComp))return t.loadingComp;if(!i(t.contexts)){var s=t.contexts=[n],a=!0,c=function(){for(var t=0,e=s.length;tbi&&vi[n].id>t.id;)n--;vi.splice(n+1,0,t)}else vi.push(t);yi||(yi=!0,st(Bt))}}function Ft(t){Ei.clear(),qt(t,Ei)}function qt(t,e){var n,r,i=Array.isArray(t);if((i||u(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)qt(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)qt(t[r[n]],e)}}function zt(t,e,n){Ci.get=function(){return this[e][n]},Ci.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Ci)}function Ht(t){t._watchers=[];var e=t.$options;e.props&&Wt(t,e.props),e.methods&&Jt(t,e.methods),e.data?Gt(t):I(t._data={},!0),e.computed&&Vt(t,e.computed),e.watch&&e.watch!==Br&&Zt(t,e.watch)}function Wt(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;ti.shouldConvert=o;for(var s in e)!function(o){i.push(o);var s=J(o,e,n,t);U(r,o,s),o in t||zt(t,"_props",o)}(s);ti.shouldConvert=!0}function Gt(t){var e=t.$options.data;e=t._data="function"==typeof e?Yt(e,t):e||{},c(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);i--;){var o=n[i];r&&g(r,o)||A(o)||zt(t,"_data",o)}I(e,!0)}function Yt(t,e){try{return t.call(e,e)}catch(t){return et(t,e,"data()"),{}}}function Vt(t,e){var n=t._computedWatchers=Object.create(null),r=Fr();for(var i in e){var o=e[i],s="function"==typeof o?o:o.get;r||(n[i]=new xi(t,s||x,x,Si)),i in t||Kt(t,i,o)}}function Kt(t,e,n){var r=!Fr();"function"==typeof n?(Ci.get=r?Xt(e):n,Ci.set=x):(Ci.get=n.get?r&&!1!==n.cache?Xt(e):n.get:x,Ci.set=n.set?n.set:x),Object.defineProperty(t,e,Ci)}function Xt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Gr.target&&e.depend(),e.value}}function Jt(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?x:y(e[n],t)}function Zt(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function Te(t){this._init(t)}function je(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=_(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Re(t){t.mixin=function(t){return this.options=K(this.options,t),this}}function Le(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name,s=function(t){this._init(t)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=K(n.options,t),s.super=n,s.options.props&&Me(s),s.options.computed&&$e(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,Er.forEach(function(t){s[t]=n[t]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=b({},s.options),i[r]=s,s}}function Me(t){var e=t.options.props;for(var n in e)zt(t.prototype,"_props",n)}function $e(t){var e=t.options.computed;for(var n in e)Kt(t.prototype,n,e[n])}function Be(t){Er.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Ie(t){return t&&(t.Ctor.options.name||t.tag)}function Ue(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function De(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var s=n[o];if(s){var a=Ie(s.componentOptions);a&&!e(a)&&Ne(n,o,r,i)}}}function Ne(t,e,n,r){var i=t[e];i&&i!==r&&i.componentInstance.$destroy(),t[e]=null,v(n,e)}function Fe(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)r=r.componentInstance._vnode,r.data&&(e=qe(r.data,e));for(;i(n=n.parent);)n.data&&(e=qe(e,n.data));return ze(e.staticClass,e.class)}function qe(t,e){return{staticClass:He(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function ze(t,e){return i(t)||i(e)?He(t,We(e)):""}function He(t,e){return t?e?t+" "+e:t:e||""}function We(t){return Array.isArray(t)?Ge(t):u(t)?Ye(t):"string"==typeof t?t:""}function Ge(t){for(var e,n="",r=0,o=t.length;r-1?Ki[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ki[t]=/HTMLUnknownElement/.test(e.toString())}function Xe(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Je(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Ze(t,e){return document.createElementNS(Wi[t],e)}function Qe(t){return document.createTextNode(t)}function tn(t){return document.createComment(t)}function en(t,e,n){t.insertBefore(e,n)}function nn(t,e){t.removeChild(e)}function rn(t,e){t.appendChild(e)}function on(t){return t.parentNode}function sn(t){return t.nextSibling}function an(t){return t.tagName}function un(t,e){t.textContent=e}function cn(t,e,n){t.setAttribute(e,n)}function fn(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.componentInstance||t.elm,o=r.$refs;e?Array.isArray(o[n])?v(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}function ln(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&pn(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function pn(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||Xi(r)&&Xi(o)}function hn(t,e,n){var r,o,s={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(s[o]=r);return s}function dn(t,e){(t.data.directives||e.data.directives)&&vn(t,e)}function vn(t,e){var n,r,i,o=t===Qi,s=e===Qi,a=gn(t.data.directives,t.context),u=gn(e.data.directives,e.context),c=[],f=[];for(n in u)r=a[n],i=u[n],r?(i.oldValue=r.value,yn(i,"update",e,t),i.def&&i.def.componentUpdated&&f.push(i)):(yn(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var l=function(){for(var n=0;n-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Bn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function In(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&b(e,yo(t.name||"v")),b(e,t),e}return"string"==typeof t?yo(t):void 0}}function Un(t){Ao(function(){Ao(t)})}function Dn(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),$n(t,e))}function Nn(t,e){t._transitionClasses&&v(t._transitionClasses,e),Bn(t,e)}function Fn(t,e,n){var r=qn(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===bo?Eo:So,u=0,c=function(){t.removeEventListener(a,f),n()},f=function(e){e.target===t&&++u>=s&&c()};setTimeout(function(){u0&&(n=bo,f=s,l=o.length):e===wo?c>0&&(n=wo,f=c,l=u.length):(f=Math.max(s,c),n=f>0?s>c?bo:wo:null,l=n?n===bo?o.length:u.length:0),{type:n,timeout:f,propCount:l,hasTransform:n===bo&&Oo.test(r[xo+"Property"])}}function zn(t,e){for(;t.length1}function Kn(t,e){!0!==e.data.show&&Wn(e)}function Xn(t,e,n){Jn(t,e,n),(jr||Lr)&&setTimeout(function(){Jn(t,e,n)},0)}function Jn(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,u=t.options.length;a-1,s.selected!==o&&(s.selected=o);else if(E(Qn(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function Zn(t,e){return e.every(function(e){return!E(e,t)})}function Qn(t){return"_value"in t?t._value:t.value}function tr(t){t.target.composing=!0}function er(t){t.target.composing&&(t.target.composing=!1,nr(t.target,"input"))}function nr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function rr(t){return!t.componentInstance||t.data&&t.data.transition?t:rr(t.componentInstance._vnode)}function ir(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ir(bt(e.children)):t}function or(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[gr(o)]=i[o];return e}function sr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function ar(t){for(;t=t.parent;)if(t.data.transition)return!0}function ur(t,e){return e.key===t.key&&e.tag===t.tag}function cr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function fr(t){t.data.newPos=t.elm.getBoundingClientRect()}function lr(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var pr=Object.prototype.toString,hr=(d("slot,component",!0),d("key,ref,slot,slot-scope,is")),dr=Object.prototype.hasOwnProperty,vr=/-(\w)/g,gr=m(function(t){return t.replace(vr,function(t,e){return e?e.toUpperCase():""})}),mr=m(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),yr=/\B([A-Z])/g,_r=m(function(t){return t.replace(yr,"-$1").toLowerCase()}),br=function(t,e,n){return!1},wr=function(t){return t},xr="data-server-rendered",Er=["component","directive","filter"],Cr=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],Sr={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:br,isReservedAttr:br,isUnknownElement:br,getTagNamespace:x,parsePlatformTagName:wr,mustUseProp:br,_lifecycleHooks:Cr},Ar=Object.freeze({}),Or=/[^\w.$]/,kr="__proto__"in{},Pr="undefined"!=typeof window,Tr=Pr&&window.navigator.userAgent.toLowerCase(),jr=Tr&&/msie|trident/.test(Tr),Rr=Tr&&Tr.indexOf("msie 9.0")>0,Lr=Tr&&Tr.indexOf("edge/")>0,Mr=Tr&&Tr.indexOf("android")>0,$r=Tr&&/iphone|ipad|ipod|ios/.test(Tr),Br=(Tr&&/chrome\/\d+/.test(Tr),{}.watch),Ir=!1;if(Pr)try{var Ur={};Object.defineProperty(Ur,"passive",{get:function(){Ir=!0}}),window.addEventListener("test-passive",null,Ur)}catch(t){}var Dr,Nr,Fr=function(){return void 0===Dr&&(Dr=!Pr&&void 0!==t&&"server"===t.process.env.VUE_ENV),Dr},qr=Pr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,zr="undefined"!=typeof Symbol&&P(Symbol)&&"undefined"!=typeof Reflect&&P(Reflect.ownKeys);Nr="undefined"!=typeof Set&&P(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Hr=x,Wr=0,Gr=function(){this.id=Wr++,this.subs=[]};Gr.prototype.addSub=function(t){this.subs.push(t)},Gr.prototype.removeSub=function(t){v(this.subs,t)},Gr.prototype.depend=function(){Gr.target&&Gr.target.addDep(this)},Gr.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e1?_(n):n;for(var r=_(arguments,1),i=0,o=n.length;iparseInt(this.max)&&Ne(i,o[0],o,this._vnode)),t.data.keepAlive=!0}return t}},Li={KeepAlive:Ri};!function(t){var e={};e.get=function(){return Sr},Object.defineProperty(t,"config",e),t.util={warn:Hr,extend:b,mergeOptions:K,defineReactive:U},t.set=D,t.delete=N,t.nextTick=st,t.options=Object.create(null),Er.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,b(t.options.components,Li),je(t),Re(t),Le(t),Be(t)}(Te),Object.defineProperty(Te.prototype,"$isServer",{get:Fr}),Object.defineProperty(Te.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Te.version="2.5.2";var Mi,$i,Bi=d("style,class"),Ii=d("input,textarea,option,select,progress"),Ui=function(t,e,n){return"value"===n&&Ii(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Di=d("contenteditable,draggable,spellcheck"),Ni=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Fi="http://www.w3.org/1999/xlink",qi=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},zi=function(t){return qi(t)?t.slice(6,t.length):""},Hi=function(t){return null==t||!1===t},Wi={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Gi=d("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Yi=d("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Vi=function(t){return Gi(t)||Yi(t)},Ki=Object.create(null),Xi=d("text,number,password,search,email,tel,url"),Ji=Object.freeze({createElement:Je,createElementNS:Ze,createTextNode:Qe,createComment:tn,insertBefore:en,removeChild:nn,appendChild:rn,parentNode:on,nextSibling:sn,tagName:an,setTextContent:un,setAttribute:cn}),Zi={create:function(t,e){fn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(fn(t,!0),fn(e))},destroy:function(t){fn(t,!0)}},Qi=new Vr("",{},[]),to=["create","activate","update","remove","destroy"],eo={create:dn,update:dn,destroy:function(t){dn(t,Qi)}},no=Object.create(null),ro=[Zi,eo],io={create:_n,update:_n},oo={create:wn,update:wn},so="__r",ao="__c",uo={create:An,update:An},co={create:On,update:On},fo=m(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),lo=/^--/,po=/\s*!important$/,ho=function(t,e,n){if(lo.test(e))t.style.setProperty(e,n);else if(po.test(n))t.style.setProperty(e,n.replace(po,""),"important");else{var r=go(e);if(Array.isArray(n))for(var i=0,o=n.length;id?(l=r(n[m+1])?null:n[m+1].elm,y(t,l,n,h,m,o)):h>m&&b(t,e,p,d)}function E(t,e,n,r){for(var o=n;o=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(54),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){"use strict";(function(e){function r(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var i=n(3),o=n(74),s={"Content-Type":"application/x-www-form-urlencoded"},a={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(29):void 0!==e&&(t=n(29)),t}(),transformRequest:[function(t,e){return o(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(r(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){a.headers[t]={}}),i.forEach(["post","put","patch"],function(t){a.headers[t]=i.merge(s)}),t.exports=a}).call(e,n(7))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e0&&this._events[t].length>i&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){function n(){this.removeListener(t,n),i||(i=!0,e.apply(this,arguments))}if(!r(e))throw TypeError("listener must be a function");var i=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,i,s,a;if(!r(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],s=n.length,i=-1,n===e||r(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(o(n)){for(a=s;a-- >0;)if(n[a]===e||n[a].listener&&n[a].listener===e){i=a;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[t],r(n))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){return this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,n){e=t.exports=n(44),e.Stream=e,e.Readable=e,e.Writable=n(24),e.Duplex=n(11),e.Transform=n(47),e.PassThrough=n(116)},function(t,e,n){"use strict";(function(e,r,i){function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){O(e,t)}}function s(t){return M.from(t)}function a(t){return M.isBuffer(t)||t instanceof $}function u(){}function c(t,e){P=P||n(11),t=t||{},this.objectMode=!!t.objectMode,e instanceof P&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){y(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function f(t){if(P=P||n(11),!(I.call(f,this)||this instanceof P))return new f(t);this._writableState=new c(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),L.call(this)}function l(t,e){var n=new Error("write after end");t.emit("error",n),k(e,n)}function p(t,e,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),k(r,o),i=!1),i}function h(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=M.from(e,n)),e}function d(t,e,n,r,i,o){if(!n){var s=h(e,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=e.objectMode?1:r.length;e.length+=a;var u=e.length-1?r:k;f.WritableState=c;var j=n(13);j.inherits=n(0);var R={deprecate:n(115)},L=n(45),M=n(10).Buffer,$=i.Uint8Array||function(){},B=n(46);j.inherits(f,L),c.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(c.prototype,"buffer",{get:R.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}();var I;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(I=Function.prototype[Symbol.hasInstance],Object.defineProperty(f,Symbol.hasInstance,{value:function(t){return!!I.call(this,t)||t&&t._writableState instanceof c}})):I=function(t){return t instanceof this},f.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},f.prototype.write=function(t,e,n){var r=this._writableState,i=!1,o=a(t)&&!r.objectMode;return o&&!M.isBuffer(t)&&(t=s(t)),"function"==typeof e&&(n=e,e=null),o?e="buffer":e||(e=r.defaultEncoding),"function"!=typeof n&&(n=u),r.ended?l(this,n):(o||p(this,r,t,n))&&(r.pendingcb++,i=d(this,r,o,t,e,n)),i},f.prototype.cork=function(){this._writableState.corked++},f.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||w(this,t))},f.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},f.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},f.prototype._writev=null,f.prototype.end=function(t,e,n){var r=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||A(this,r,n)},Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),f.prototype.destroy=B.destroy,f.prototype._undestroy=B.undestroy,f.prototype._destroy=function(t,e){this.end(),e(t)}}).call(e,n(7),n(17).setImmediate,n(4))},function(t,e,n){function r(t){if(t&&!u(t))throw new Error("Unknown encoding: "+t)}function i(t){return t.toString(this.encoding)}function o(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function s(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}var a=n(1).Buffer,u=a.isEncoding||function(t){switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},c=e.StringDecoder=function(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),r(t),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=s;break;default:return void(this.write=i)}this.charBuffer=new a(6),this.charReceived=0,this.charLength=0};c.prototype.write=function(t){for(var e="";this.charLength;){var n=t.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&r<=56319)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var i=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,i),i-=this.charReceived),e+=t.toString(this.encoding,0,i);var i=e.length-1,r=e.charCodeAt(i);if(r>=55296&&r<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),t.copy(this.charBuffer,0,0,o),e.substring(0,i)}return e},c.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var n=t[t.length-e];if(1==e&&n>>5==6){this.charLength=2;break}if(e<=2&&n>>4==14){this.charLength=3;break}if(e<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=e},c.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;e+=r.slice(0,n).toString(i)}return e}},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(16),s=i(o),a=n(8),u=i(a),c=n(69),f=r(c),l=n(89),p=r(l),h=n(90),d=i(h),v=n(91),g=i(v),m=n(19),y=i(m);s.default.use(u.default);var _={authenticated:!1,password:Object.assign({},y.default),passwords:[],message:"",defaultPassword:y.default,showOptions:!1,token:null,baseURL:"https://lesspass.com"};e.default=new u.default.Store({state:_,getters:p,actions:f,mutations:d.default,plugins:[(0,g.default)({key:"lesspass",paths:["token","baseURL","authenticated","defaultPassword"]})]})},function(t,e,n){t.exports=n(71)},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;rn||e!==e)throw new TypeError("Bad key length")}},function(t,e,n){(function(e){var n;if(e.browser)n="utf-8";else{n=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}t.exports=n}).call(e,n(7))},function(t,e,n){function r(t,e,n){var r=i(t),o="sha512"===t||"sha384"===t?128:64;e.length>o?e=r(e):e.length>5]|=128<>>9<<4)]=e;for(var n=1732584193,r=-271733879,i=-1732584194,f=271733878,l=0;l>16)+(e>>16)+(n>>16)<<16|65535&n}function f(t,e){return t<>>32-e}var l=n(111);t.exports=function(t){return l(t,r)}},function(t,e,n){"use strict";(function(e){function r(){l.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function i(t,e){return t<>>32-e}function o(t,e,n,r,o,s,a,u){return i(t+(e^n^r)+s+a|0,u)+o|0}function s(t,e,n,r,o,s,a,u){return i(t+(e&n|~e&r)+s+a|0,u)+o|0}function a(t,e,n,r,o,s,a,u){return i(t+((e|~n)^r)+s+a|0,u)+o|0}function u(t,e,n,r,o,s,a,u){return i(t+(e&r|n&~r)+s+a|0,u)+o|0}function c(t,e,n,r,o,s,a,u){return i(t+(e^(n|~r))+s+a|0,u)+o|0}var f=n(0),l=n(112);f(r,l),r.prototype._update=function(){for(var t=new Array(16),e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var n=this._a,r=this._b,f=this._c,l=this._d,p=this._e;n=o(n,r,f,l,p,t[0],0,11),f=i(f,10),p=o(p,n,r,f,l,t[1],0,14),r=i(r,10),l=o(l,p,n,r,f,t[2],0,15),n=i(n,10),f=o(f,l,p,n,r,t[3],0,12),p=i(p,10),r=o(r,f,l,p,n,t[4],0,5),l=i(l,10),n=o(n,r,f,l,p,t[5],0,8),f=i(f,10),p=o(p,n,r,f,l,t[6],0,7),r=i(r,10),l=o(l,p,n,r,f,t[7],0,9),n=i(n,10),f=o(f,l,p,n,r,t[8],0,11),p=i(p,10),r=o(r,f,l,p,n,t[9],0,13),l=i(l,10),n=o(n,r,f,l,p,t[10],0,14),f=i(f,10),p=o(p,n,r,f,l,t[11],0,15),r=i(r,10),l=o(l,p,n,r,f,t[12],0,6),n=i(n,10),f=o(f,l,p,n,r,t[13],0,7),p=i(p,10),r=o(r,f,l,p,n,t[14],0,9),l=i(l,10),n=o(n,r,f,l,p,t[15],0,8),f=i(f,10),p=s(p,n,r,f,l,t[7],1518500249,7),r=i(r,10),l=s(l,p,n,r,f,t[4],1518500249,6),n=i(n,10),f=s(f,l,p,n,r,t[13],1518500249,8),p=i(p,10),r=s(r,f,l,p,n,t[1],1518500249,13),l=i(l,10),n=s(n,r,f,l,p,t[10],1518500249,11),f=i(f,10),p=s(p,n,r,f,l,t[6],1518500249,9),r=i(r,10),l=s(l,p,n,r,f,t[15],1518500249,7),n=i(n,10),f=s(f,l,p,n,r,t[3],1518500249,15),p=i(p,10),r=s(r,f,l,p,n,t[12],1518500249,7),l=i(l,10),n=s(n,r,f,l,p,t[0],1518500249,12),f=i(f,10),p=s(p,n,r,f,l,t[9],1518500249,15),r=i(r,10),l=s(l,p,n,r,f,t[5],1518500249,9),n=i(n,10),f=s(f,l,p,n,r,t[2],1518500249,11),p=i(p,10),r=s(r,f,l,p,n,t[14],1518500249,7),l=i(l,10),n=s(n,r,f,l,p,t[11],1518500249,13),f=i(f,10),p=s(p,n,r,f,l,t[8],1518500249,12),r=i(r,10),l=a(l,p,n,r,f,t[3],1859775393,11),n=i(n,10),f=a(f,l,p,n,r,t[10],1859775393,13),p=i(p,10),r=a(r,f,l,p,n,t[14],1859775393,6),l=i(l,10),n=a(n,r,f,l,p,t[4],1859775393,7),f=i(f,10),p=a(p,n,r,f,l,t[9],1859775393,14),r=i(r,10),l=a(l,p,n,r,f,t[15],1859775393,9),n=i(n,10),f=a(f,l,p,n,r,t[8],1859775393,13),p=i(p,10),r=a(r,f,l,p,n,t[1],1859775393,15),l=i(l,10),n=a(n,r,f,l,p,t[2],1859775393,14),f=i(f,10),p=a(p,n,r,f,l,t[7],1859775393,8),r=i(r,10),l=a(l,p,n,r,f,t[0],1859775393,13),n=i(n,10),f=a(f,l,p,n,r,t[6],1859775393,6),p=i(p,10),r=a(r,f,l,p,n,t[13],1859775393,5),l=i(l,10),n=a(n,r,f,l,p,t[11],1859775393,12),f=i(f,10),p=a(p,n,r,f,l,t[5],1859775393,7),r=i(r,10),l=a(l,p,n,r,f,t[12],1859775393,5),n=i(n,10),f=u(f,l,p,n,r,t[1],2400959708,11),p=i(p,10),r=u(r,f,l,p,n,t[9],2400959708,12),l=i(l,10),n=u(n,r,f,l,p,t[11],2400959708,14),f=i(f,10),p=u(p,n,r,f,l,t[10],2400959708,15),r=i(r,10),l=u(l,p,n,r,f,t[0],2400959708,14),n=i(n,10),f=u(f,l,p,n,r,t[8],2400959708,15),p=i(p,10),r=u(r,f,l,p,n,t[12],2400959708,9),l=i(l,10),n=u(n,r,f,l,p,t[4],2400959708,8),f=i(f,10),p=u(p,n,r,f,l,t[13],2400959708,9),r=i(r,10),l=u(l,p,n,r,f,t[3],2400959708,14),n=i(n,10),f=u(f,l,p,n,r,t[7],2400959708,5),p=i(p,10),r=u(r,f,l,p,n,t[15],2400959708,6),l=i(l,10),n=u(n,r,f,l,p,t[14],2400959708,8),f=i(f,10),p=u(p,n,r,f,l,t[5],2400959708,6),r=i(r,10),l=u(l,p,n,r,f,t[6],2400959708,5),n=i(n,10),f=u(f,l,p,n,r,t[2],2400959708,12),p=i(p,10),r=c(r,f,l,p,n,t[4],2840853838,9),l=i(l,10),n=c(n,r,f,l,p,t[0],2840853838,15),f=i(f,10),p=c(p,n,r,f,l,t[5],2840853838,5),r=i(r,10),l=c(l,p,n,r,f,t[9],2840853838,11),n=i(n,10),f=c(f,l,p,n,r,t[7],2840853838,6),p=i(p,10),r=c(r,f,l,p,n,t[12],2840853838,8),l=i(l,10),n=c(n,r,f,l,p,t[2],2840853838,13),f=i(f,10),p=c(p,n,r,f,l,t[10],2840853838,12),r=i(r,10),l=c(l,p,n,r,f,t[14],2840853838,5),n=i(n,10),f=c(f,l,p,n,r,t[1],2840853838,12),p=i(p,10),r=c(r,f,l,p,n,t[3],2840853838,13),l=i(l,10),n=c(n,r,f,l,p,t[8],2840853838,14),f=i(f,10),p=c(p,n,r,f,l,t[11],2840853838,11),r=i(r,10),l=c(l,p,n,r,f,t[6],2840853838,8),n=i(n,10),f=c(f,l,p,n,r,t[15],2840853838,5),p=i(p,10),r=c(r,f,l,p,n,t[13],2840853838,6),l=i(l,10);var h=this._a,d=this._b,v=this._c,g=this._d,m=this._e;h=c(h,d,v,g,m,t[5],1352829926,8),v=i(v,10),m=c(m,h,d,v,g,t[14],1352829926,9),d=i(d,10),g=c(g,m,h,d,v,t[7],1352829926,9),h=i(h,10),v=c(v,g,m,h,d,t[0],1352829926,11),m=i(m,10),d=c(d,v,g,m,h,t[9],1352829926,13),g=i(g,10),h=c(h,d,v,g,m,t[2],1352829926,15),v=i(v,10),m=c(m,h,d,v,g,t[11],1352829926,15),d=i(d,10),g=c(g,m,h,d,v,t[4],1352829926,5),h=i(h,10),v=c(v,g,m,h,d,t[13],1352829926,7),m=i(m,10),d=c(d,v,g,m,h,t[6],1352829926,7),g=i(g,10),h=c(h,d,v,g,m,t[15],1352829926,8),v=i(v,10),m=c(m,h,d,v,g,t[8],1352829926,11),d=i(d,10),g=c(g,m,h,d,v,t[1],1352829926,14),h=i(h,10),v=c(v,g,m,h,d,t[10],1352829926,14),m=i(m,10),d=c(d,v,g,m,h,t[3],1352829926,12),g=i(g,10),h=c(h,d,v,g,m,t[12],1352829926,6),v=i(v,10),m=u(m,h,d,v,g,t[6],1548603684,9),d=i(d,10),g=u(g,m,h,d,v,t[11],1548603684,13),h=i(h,10),v=u(v,g,m,h,d,t[3],1548603684,15),m=i(m,10),d=u(d,v,g,m,h,t[7],1548603684,7),g=i(g,10),h=u(h,d,v,g,m,t[0],1548603684,12),v=i(v,10),m=u(m,h,d,v,g,t[13],1548603684,8),d=i(d,10),g=u(g,m,h,d,v,t[5],1548603684,9),h=i(h,10),v=u(v,g,m,h,d,t[10],1548603684,11),m=i(m,10),d=u(d,v,g,m,h,t[14],1548603684,7),g=i(g,10),h=u(h,d,v,g,m,t[15],1548603684,7),v=i(v,10),m=u(m,h,d,v,g,t[8],1548603684,12),d=i(d,10),g=u(g,m,h,d,v,t[12],1548603684,7),h=i(h,10),v=u(v,g,m,h,d,t[4],1548603684,6),m=i(m,10),d=u(d,v,g,m,h,t[9],1548603684,15),g=i(g,10),h=u(h,d,v,g,m,t[1],1548603684,13),v=i(v,10),m=u(m,h,d,v,g,t[2],1548603684,11),d=i(d,10),g=a(g,m,h,d,v,t[15],1836072691,9),h=i(h,10),v=a(v,g,m,h,d,t[5],1836072691,7),m=i(m,10),d=a(d,v,g,m,h,t[1],1836072691,15),g=i(g,10),h=a(h,d,v,g,m,t[3],1836072691,11),v=i(v,10),m=a(m,h,d,v,g,t[7],1836072691,8),d=i(d,10),g=a(g,m,h,d,v,t[14],1836072691,6),h=i(h,10),v=a(v,g,m,h,d,t[6],1836072691,6),m=i(m,10),d=a(d,v,g,m,h,t[9],1836072691,14),g=i(g,10),h=a(h,d,v,g,m,t[11],1836072691,12),v=i(v,10),m=a(m,h,d,v,g,t[8],1836072691,13),d=i(d,10),g=a(g,m,h,d,v,t[12],1836072691,5),h=i(h,10),v=a(v,g,m,h,d,t[2],1836072691,14),m=i(m,10),d=a(d,v,g,m,h,t[10],1836072691,13),g=i(g,10),h=a(h,d,v,g,m,t[0],1836072691,13),v=i(v,10),m=a(m,h,d,v,g,t[4],1836072691,7),d=i(d,10),g=a(g,m,h,d,v,t[13],1836072691,5),h=i(h,10),v=s(v,g,m,h,d,t[8],2053994217,15),m=i(m,10),d=s(d,v,g,m,h,t[6],2053994217,5),g=i(g,10),h=s(h,d,v,g,m,t[4],2053994217,8),v=i(v,10),m=s(m,h,d,v,g,t[1],2053994217,11),d=i(d,10),g=s(g,m,h,d,v,t[3],2053994217,14),h=i(h,10),v=s(v,g,m,h,d,t[11],2053994217,14),m=i(m,10),d=s(d,v,g,m,h,t[15],2053994217,6),g=i(g,10),h=s(h,d,v,g,m,t[0],2053994217,14),v=i(v,10),m=s(m,h,d,v,g,t[5],2053994217,6),d=i(d,10),g=s(g,m,h,d,v,t[12],2053994217,9),h=i(h,10),v=s(v,g,m,h,d,t[2],2053994217,12),m=i(m,10),d=s(d,v,g,m,h,t[13],2053994217,9),g=i(g,10),h=s(h,d,v,g,m,t[9],2053994217,12),v=i(v,10),m=s(m,h,d,v,g,t[7],2053994217,5),d=i(d,10),g=s(g,m,h,d,v,t[10],2053994217,15),h=i(h,10),v=s(v,g,m,h,d,t[14],2053994217,8),m=i(m,10),d=o(d,v,g,m,h,t[12],0,8),g=i(g,10),h=o(h,d,v,g,m,t[15],0,5),v=i(v,10),m=o(m,h,d,v,g,t[10],0,12),d=i(d,10),g=o(g,m,h,d,v,t[4],0,9),h=i(h,10),v=o(v,g,m,h,d,t[1],0,12),m=i(m,10),d=o(d,v,g,m,h,t[5],0,5),g=i(g,10),h=o(h,d,v,g,m,t[8],0,14),v=i(v,10),m=o(m,h,d,v,g,t[7],0,6),d=i(d,10),g=o(g,m,h,d,v,t[6],0,8),h=i(h,10),v=o(v,g,m,h,d,t[2],0,13),m=i(m,10),d=o(d,v,g,m,h,t[13],0,6),g=i(g,10),h=o(h,d,v,g,m,t[14],0,5),v=i(v,10),m=o(m,h,d,v,g,t[0],0,15),d=i(d,10),g=o(g,m,h,d,v,t[3],0,13),h=i(h,10),v=o(v,g,m,h,d,t[9],0,11),m=i(m,10),d=o(d,v,g,m,h,t[11],0,11),g=i(g,10);var y=this._b+f+g|0;this._b=this._c+l+m|0,this._c=this._d+p+h|0,this._d=this._e+n+d|0,this._e=this._a+r+v|0,this._a=y},r.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=new e(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){function r(){i.call(this)}t.exports=r;var i=n(22).EventEmitter;n(0)(r,i),r.Readable=n(23),r.Writable=n(117),r.Duplex=n(118),r.Transform=n(119),r.PassThrough=n(120),r.Stream=r,r.prototype.pipe=function(t,e){function n(e){t.writable&&!1===t.write(e)&&c.pause&&c.pause()}function r(){c.readable&&c.resume&&c.resume()}function o(){f||(f=!0,t.end())}function s(){f||(f=!0,"function"==typeof t.destroy&&t.destroy())}function a(t){if(u(),0===i.listenerCount(this,"error"))throw t}function u(){c.removeListener("data",n),t.removeListener("drain",r),c.removeListener("end",o),c.removeListener("close",s),c.removeListener("error",a),t.removeListener("error",a),c.removeListener("end",u),c.removeListener("close",u),t.removeListener("close",u)}var c=this;c.on("data",n),t.on("drain",r),t._isStdio||e&&!1===e.end||(c.on("end",o),c.on("close",s));var f=!1;return c.on("error",a),t.on("error",a),c.on("end",u),c.on("close",u),t.on("close",u),t.emit("pipe",c),t}},function(t,e,n){"use strict";(function(e,r){function i(t){return I.from(t)}function o(t){return I.isBuffer(t)||t instanceof U}function s(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?M(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}function a(t,e){L=L||n(11),t=t||{},this.objectMode=!!t.objectMode,e instanceof L&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new z,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(q||(q=n(25).StringDecoder),this.decoder=new q(t.encoding),this.encoding=t.encoding)}function u(t){if(L=L||n(11),!(this instanceof u))return new u(t);this._readableState=new a(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),B.call(this)}function c(t,e,n,r,o){var s=t._readableState;if(null===e)s.reading=!1,v(t,s);else{var a;o||(a=l(s,e)),a?t.emit("error",a):s.objectMode||e&&e.length>0?("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===I.prototype||(e=i(e)),r?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):f(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(e=s.decoder.write(e),s.objectMode||0!==e.length?f(t,s,e,!1):y(t,s)):f(t,s,e,!1))):r||(s.reading=!1)}return p(s)}function f(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&g(t)),y(t,e)}function l(t,e){var n;return o(e)||"string"==typeof e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function p(t){return!t.ended&&(t.needReadable||t.length=G?t=G:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function d(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=h(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function v(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,g(t)}}function g(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(F("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?R(m,t):m(t))}function m(t){F("emit readable"),t.emit("readable"),C(t)}function y(t,e){e.readingMore||(e.readingMore=!0,R(_,t,e))}function _(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=A(t,e.buffer,e.decoder),n}function A(t,e,n){var r;return to.length?o.length:t;if(s===o.length?i+=o:i+=o.slice(0,t),0===(t-=s)){s===o.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(s));break}++r}return e.length-=r,i}function k(t,e){var n=I.allocUnsafe(t),r=e.head,i=1;for(r.data.copy(n),t-=r.data.length;r=r.next;){var o=r.data,s=t>o.length?o.length:t;if(o.copy(n,n.length-t,0,s),0===(t-=s)){s===o.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(s));break}++i}return e.length-=i,n}function P(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,R(T,e,t))}function T(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function j(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return F("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?P(this):g(this),null;if(0===(t=d(t,e))&&e.ended)return 0===e.length&&P(this),null;var r=e.needReadable;F("need readable",r),(0===e.length||e.length-t0?S(t,e):null,null===i?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&P(this)),null!==i&&this.emit("data",i),i},u.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},u.prototype.pipe=function(t,e){function n(t,e){F("onunpipe"),t===p&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,o())}function i(){F("onend"),t.end()}function o(){F("cleanup"),t.removeListener("close",c),t.removeListener("finish",f),t.removeListener("drain",g),t.removeListener("error",u),t.removeListener("unpipe",n),p.removeListener("end",i),p.removeListener("end",l),p.removeListener("data",a),m=!0,!h.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}function a(e){F("ondata"),y=!1,!1!==t.write(e)||y||((1===h.pipesCount&&h.pipes===t||h.pipesCount>1&&-1!==j(h.pipes,t))&&!m&&(F("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,y=!0),p.pause())}function u(e){F("onerror",e),l(),t.removeListener("error",u),0===$(t,"error")&&t.emit("error",e)}function c(){t.removeListener("finish",f),l()}function f(){F("onfinish"),t.removeListener("close",c),l()}function l(){F("unpipe"),p.unpipe(t)}var p=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=t;break;case 1:h.pipes=[h.pipes,t];break;default:h.pipes.push(t)}h.pipesCount+=1,F("pipe count=%d opts=%j",h.pipesCount,e);var d=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr,v=d?i:l;h.endEmitted?R(v):p.once("end",v),t.on("unpipe",n);var g=b(p);t.on("drain",g);var m=!1,y=!1;return p.on("data",a),s(t,"error",u),t.once("close",c),t.once("finish",f),t.emit("pipe",p),h.flowing||(F("pipe resume"),p.resume()),t},u.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n),this);if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function a(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function u(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function c(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}var f=n(0),l=n(12),p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],h=new Array(64);f(r,l),r.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,f=0|this._c,l=0|this._d,h=0|this._e,d=0|this._f,v=0|this._g,g=0|this._h,m=0;m<16;++m)e[m]=t.readInt32BE(4*m);for(;m<64;++m)e[m]=c(e[m-2])+e[m-7]+u(e[m-15])+e[m-16]|0;for(var y=0;y<64;++y){var _=g+a(h)+i(h,d,v)+p[y]+e[y]|0,b=s(n)+o(n,r,f)|0;g=v,v=d,d=h,h=l+_|0,l=f,f=r,r=n,n=_+b|0}this._a=n+this._a|0,this._b=r+this._b|0,this._c=f+this._c|0,this._d=l+this._d|0,this._e=h+this._e|0,this._f=d+this._f|0,this._g=v+this._g|0,this._h=g+this._h|0},r.prototype._hash=function(){var t=new e(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=g,d.call(this,128,112)}function i(t,e,n){return n^t&(e^n)}function o(t,e,n){return t&e|n&(t|e)}function s(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function a(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function u(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function c(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function f(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function l(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function p(t,e){return t>>>0>>0?1:0}var h=n(0),d=n(12),v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],g=new Array(160);h(r,d),r.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,h=0|this._ch,d=0|this._dh,g=0|this._eh,m=0|this._fh,y=0|this._gh,_=0|this._hh,b=0|this._al,w=0|this._bl,x=0|this._cl,E=0|this._dl,C=0|this._el,S=0|this._fl,A=0|this._gl,O=0|this._hl,k=0;k<32;k+=2)e[k]=t.readInt32BE(4*k),e[k+1]=t.readInt32BE(4*k+4);for(;k<160;k+=2){var P=e[k-30],T=e[k-30+1],j=u(P,T),R=c(T,P);P=e[k-4],T=e[k-4+1];var L=f(P,T),M=l(T,P),$=e[k-14],B=e[k-14+1],I=e[k-32],U=e[k-32+1],D=R+B|0,N=j+$+p(D,R)|0;D=D+M|0,N=N+L+p(D,M)|0,D=D+U|0,N=N+I+p(D,U)|0,e[k]=N,e[k+1]=D}for(var F=0;F<160;F+=2){N=e[F],D=e[F+1];var q=o(n,r,h),z=o(b,w,x),H=s(n,b),W=s(b,n),G=a(g,C),Y=a(C,g),V=v[F],K=v[F+1],X=i(g,m,y),J=i(C,S,A),Z=O+Y|0,Q=_+G+p(Z,O)|0;Z=Z+J|0,Q=Q+X+p(Z,J)|0,Z=Z+K|0,Q=Q+V+p(Z,K)|0,Z=Z+D|0,Q=Q+N+p(Z,D)|0;var tt=W+z|0,et=H+q+p(tt,W)|0;_=y,O=A,y=m,A=S,m=g,S=C,C=E+Z|0,g=d+Q+p(C,E)|0,d=h,E=x,h=r,x=w,r=n,w=b,b=Z+tt|0,n=Q+et+p(b,Z)|0}this._al=this._al+b|0,this._bl=this._bl+w|0,this._cl=this._cl+x|0,this._dl=this._dl+E|0,this._el=this._el+C|0,this._fl=this._fl+S|0,this._gl=this._gl+A|0,this._hl=this._hl+O|0,this._ah=this._ah+n+p(this._al,b)|0,this._bh=this._bh+r+p(this._bl,w)|0,this._ch=this._ch+h+p(this._cl,x)|0,this._dh=this._dh+d+p(this._dl,E)|0,this._eh=this._eh+g+p(this._el,C)|0,this._fh=this._fh+m+p(this._fl,S)|0,this._gh=this._gh+y+p(this._gl,A)|0,this._hh=this._hh+_+p(this._hl,O)|0},r.prototype._hash=function(){function t(t,e,r){n.writeInt32BE(t,r),n.writeInt32BE(e,r+4)}var n=new e(64);return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),n},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){"use strict";t.exports="function"==typeof Promise?Promise:n(125)},function(t,e,n){(function(e){function r(t){i.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._decoder=null,this._encoding=null}var i=n(43).Transform,o=n(0),s=n(25).StringDecoder;t.exports=r,o(r,i),r.prototype.update=function(t,n,r){"string"==typeof t&&(t=new e(t,n));var i=this._update(t);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},r.prototype.setAutoPadding=function(){},r.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},r.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},r.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},r.prototype._transform=function(t,e,n){var r;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){r=t}finally{n(r)}},r.prototype._flush=function(t){var e;try{this.push(this._final())}catch(t){e=t}finally{t(e)}},r.prototype._finalOrDigest=function(t){var n=this._final()||new e("");return t&&(n=this._toString(n,t,!0)),n},r.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new s(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var r=this._decoder.write(t);return n&&(r+=this._decoder.end()),r}}).call(e,n(1).Buffer)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i=n(16),o=r(i);n(55);var s=n(56),a=r(s),u=n(96),c=n(26),f=r(c),l=n(97),p=r(l),h=n(172),d=r(h);o.default.use(d.default,{defaultLanguage:"en",languagesAvailable:["fr","es","de","zh","zh-CN","pt"]}),(0,u.sync)(f.default,p.default),new o.default({el:"#lesspass",beforeCreate:function(){this.$polyglot.getLocale({baseURL:"dist/i18n",lang:"auto"})},store:f.default,router:p.default,render:function(t){return t(a.default)}})},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n=9){var i=f.getPasswordFromUrlQuery(r);n(p.SET_PASSWORD,{password:i})}},e.savePassword=function(t,e){(0,t.commit)(p.SET_PASSWORD,e)},e.resetPassword=function(t){var e=t.commit;t.state;e(p.RESET_PASSWORD)},e.login=function(t,e){var n=t.commit;n(p.SET_BASE_URL,e),n(p.SET_TOKEN,e),n(p.LOGIN)},e.logout=function(t){var e=t.commit;e(p.LOGOUT),e(p.RESET_PASSWORD)},e.getPasswords=function(t){var e=t.commit,n=t.state;return n.authenticated?s.default.all(n).then(function(t){var n=t.data.results;return e(p.SET_PASSWORDS,{passwords:n}),n}):Promise.resolve([])});e.saveOrUpdatePassword=function(t){var e=t.commit,n=t.state,r=n.password.site,i=n.password.login,o=n.passwords.find(function(t){return t.site===r&&t.login===i});if(o){var a=Object.assign({},o,n.password);s.default.update(a,n).then(function(){h({commit:e,state:n})})}else s.default.create(n.password,n).then(function(){h({commit:e,state:n})})},e.deletePassword=function(t,e){var n=t.commit,r=t.state;s.default.delete(e,r).then(function(){n(p.DELETE_PASSWORD,e)})},e.displayMessage=function(t,e){(0,t.commit)(p.SET_MESSAGE,e)},e.cleanMessage=function(t){(0,t.commit)(p.CLEAN_MESSAGE)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e0,$r=jr&&jr.indexOf("edge/")>0,Br=jr&&jr.indexOf("android")>0||"android"===Rr,Ir=jr&&/iphone|ipad|ipod|ios/.test(jr)||"ios"===Rr,Ur=(jr&&/chrome\/\d+/.test(jr),{}.watch),Nr=!1;if(Pr)try{var Dr={};Object.defineProperty(Dr,"passive",{get:function(){Nr=!0}}),window.addEventListener("test-passive",null,Dr)}catch(t){}var Fr,qr,Hr=function(){return void 0===Fr&&(Fr=!Pr&&void 0!==t&&"server"===t.process.env.VUE_ENV),Fr},zr=Pr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Wr="undefined"!=typeof Symbol&&P(Symbol)&&"undefined"!=typeof Reflect&&P(Reflect.ownKeys);qr="undefined"!=typeof Set&&P(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Gr=E,Yr=0,Vr=function(){this.id=Yr++,this.subs=[]};Vr.prototype.addSub=function(t){this.subs.push(t)},Vr.prototype.removeSub=function(t){v(this.subs,t)},Vr.prototype.depend=function(){Vr.target&&Vr.target.addDep(this)},Vr.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e1?_(n):n;for(var r=_(arguments,1),i=0,o=n.length;iparseInt(this.max)&&De(u,c[0],c,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},$i={KeepAlive:Mi};!function(t){var e={};e.get=function(){return Ar},Object.defineProperty(t,"config",e),t.util={warn:Gr,extend:w,mergeOptions:K,defineReactive:U},t.set=N,t.delete=D,t.nextTick=st,t.options=Object.create(null),Cr.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,w(t.options.components,$i),Re(t),je(t),Le(t),Be(t)}(Te),Object.defineProperty(Te.prototype,"$isServer",{get:Hr}),Object.defineProperty(Te.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Te.version="2.5.9";var Bi,Ii,Ui=d("style,class"),Ni=d("input,textarea,option,select,progress"),Di=function(t,e,n){return"value"===n&&Ni(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Fi=d("contenteditable,draggable,spellcheck"),qi=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Hi="http://www.w3.org/1999/xlink",zi=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Wi=function(t){return zi(t)?t.slice(6,t.length):""},Gi=function(t){return null==t||!1===t},Yi={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Vi=d("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ki=d("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Xi=function(t){return Vi(t)||Ki(t)},Ji=Object.create(null),Zi=d("text,number,password,search,email,tel,url"),Qi=Object.freeze({createElement:Je,createElementNS:Ze,createTextNode:Qe,createComment:tn,insertBefore:en,removeChild:nn,appendChild:rn,parentNode:on,nextSibling:sn,tagName:an,setTextContent:un,setAttribute:cn}),to={create:function(t,e){ln(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ln(t,!0),ln(e))},destroy:function(t){ln(t,!0)}},eo=new Xr("",{},[]),no=["create","activate","update","remove","destroy"],ro={create:dn,update:dn,destroy:function(t){dn(t,eo)}},io=Object.create(null),oo=[to,ro],so={create:_n,update:_n},ao={create:bn,update:bn},uo="__r",co="__c",lo={create:An,update:An},fo={create:On,update:On},po=m(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),ho=/^--/,vo=/\s*!important$/,go=function(t,e,n){if(ho.test(e))t.style.setProperty(e,n);else if(vo.test(n))t.style.setProperty(e,n.replace(vo,""),"important");else{var r=yo(e);if(Array.isArray(n))for(var i=0,o=n.length;id?(f=r(n[m+1])?null:n[m+1].elm,y(t,f,n,h,m,o)):h>m&&w(t,e,p,d)}function x(t,e,n,r){for(var o=n;o=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(53),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){"use strict";(function(e){function r(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var i=n(3),o=n(73),s={"Content-Type":"application/x-www-form-urlencoded"},a={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(29):void 0!==e&&(t=n(29)),t}(),transformRequest:[function(t,e){return o(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(r(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){a.headers[t]={}}),i.forEach(["post","put","patch"],function(t){a.headers[t]=i.merge(s)}),t.exports=a}).call(e,n(7))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e0&&this._events[t].length>i&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){function n(){this.removeListener(t,n),i||(i=!0,e.apply(this,arguments))}if(!r(e))throw TypeError("listener must be a function");var i=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,i,s,a;if(!r(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],s=n.length,i=-1,n===e||r(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(o(n)){for(a=s;a-- >0;)if(n[a]===e||n[a].listener&&n[a].listener===e){i=a;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[t],r(n))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){return this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,n){e=t.exports=n(43),e.Stream=e,e.Readable=e,e.Writable=n(24),e.Duplex=n(10),e.Transform=n(46),e.PassThrough=n(113)},function(t,e,n){"use strict";(function(e,r,i){function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){O(e,t)}}function s(t){return M.from(t)}function a(t){return M.isBuffer(t)||t instanceof $}function u(){}function c(t,e){P=P||n(10),t=t||{},this.objectMode=!!t.objectMode,e instanceof P&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){y(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function l(t){if(P=P||n(10),!(I.call(l,this)||this instanceof P))return new l(t);this._writableState=new c(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),L.call(this)}function f(t,e){var n=new Error("write after end");t.emit("error",n),k(e,n)}function p(t,e,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),k(r,o),i=!1),i}function h(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=M.from(e,n)),e}function d(t,e,n,r,i,o){if(!n){var s=h(e,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=e.objectMode?1:r.length;e.length+=a;var u=e.length-1?r:k;l.WritableState=c;var R=n(13);R.inherits=n(0);var j={deprecate:n(112)},L=n(44),M=n(8).Buffer,$=i.Uint8Array||function(){},B=n(45);R.inherits(l,L),c.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(c.prototype,"buffer",{get:j.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}();var I;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(I=Function.prototype[Symbol.hasInstance],Object.defineProperty(l,Symbol.hasInstance,{value:function(t){return!!I.call(this,t)||t&&t._writableState instanceof c}})):I=function(t){return t instanceof this},l.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},l.prototype.write=function(t,e,n){var r=this._writableState,i=!1,o=a(t)&&!r.objectMode;return o&&!M.isBuffer(t)&&(t=s(t)),"function"==typeof e&&(n=e,e=null),o?e="buffer":e||(e=r.defaultEncoding),"function"!=typeof n&&(n=u),r.ended?f(this,n):(o||p(this,r,t,n))&&(r.pendingcb++,i=d(this,r,o,t,e,n)),i},l.prototype.cork=function(){this._writableState.corked++},l.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||b(this,t))},l.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},l.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},l.prototype._writev=null,l.prototype.end=function(t,e,n){var r=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||A(this,r,n)},Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),l.prototype.destroy=B.destroy,l.prototype._undestroy=B.undestroy,l.prototype._destroy=function(t,e){this.end(),e(t)}}).call(e,n(7),n(17).setImmediate,n(4))},function(t,e,n){"use strict";function r(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function i(t){var e=r(t);if("string"!=typeof e&&(y.isEncoding===_||!_(t)))throw new Error("Unknown encoding: "+t);return e||t}function o(t){this.encoding=i(t);var e;switch(this.encoding){case"utf16le":this.text=p,this.end=h,e=4;break;case"utf8":this.fillLast=c,e=4;break;case"base64":this.text=d,this.end=v,e=3;break;default:return this.write=g,void(this.end=m)}this.lastNeed=0,this.lastTotal=0,this.lastChar=y.allocUnsafe(e)}function s(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:-1}function a(t,e,n){var r=e.length-1;if(r=0?(i>0&&(t.lastNeed=i-1),i):--r=0?(i>0&&(t.lastNeed=i-2),i):--r=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0)}function u(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"�".repeat(n);if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�".repeat(n+1);if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�".repeat(n+2)}}function c(t){var e=this.lastTotal-this.lastNeed,n=u(this,t,e);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function l(t,e){var n=a(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�".repeat(this.lastTotal-this.lastNeed):e}function p(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function h(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function d(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function v(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function g(t){return t.toString(this.encoding)}function m(t){return t&&t.length?this.write(t):""}var y=n(8).Buffer,_=y.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return nn||e!==e)throw new TypeError("Bad key length")}},function(t,e,n){(function(e){var n;if(e.browser)n="utf-8";else{n=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}t.exports=n}).call(e,n(7))},function(t,e,n){function r(t,e,n){var r=i(t),o="sha512"===t||"sha384"===t?128:64;e.length>o?e=r(e):e.length>5]|=128<>>9<<4)]=e;for(var n=1732584193,r=-271733879,i=-1732584194,l=271733878,f=0;f>16)+(e>>16)+(n>>16)<<16|65535&n}function l(t,e){return t<>>32-e}var f=n(108);t.exports=function(t){return f(t,r)}},function(t,e,n){"use strict";(function(e){function r(){f.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function i(t,e){return t<>>32-e}function o(t,e,n,r,o,s,a,u){return i(t+(e^n^r)+s+a|0,u)+o|0}function s(t,e,n,r,o,s,a,u){return i(t+(e&n|~e&r)+s+a|0,u)+o|0}function a(t,e,n,r,o,s,a,u){return i(t+((e|~n)^r)+s+a|0,u)+o|0}function u(t,e,n,r,o,s,a,u){return i(t+(e&r|n&~r)+s+a|0,u)+o|0}function c(t,e,n,r,o,s,a,u){return i(t+(e^(n|~r))+s+a|0,u)+o|0}var l=n(0),f=n(109);l(r,f),r.prototype._update=function(){for(var t=new Array(16),e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var n=this._a,r=this._b,l=this._c,f=this._d,p=this._e;n=o(n,r,l,f,p,t[0],0,11),l=i(l,10),p=o(p,n,r,l,f,t[1],0,14),r=i(r,10),f=o(f,p,n,r,l,t[2],0,15),n=i(n,10),l=o(l,f,p,n,r,t[3],0,12),p=i(p,10),r=o(r,l,f,p,n,t[4],0,5),f=i(f,10),n=o(n,r,l,f,p,t[5],0,8),l=i(l,10),p=o(p,n,r,l,f,t[6],0,7),r=i(r,10),f=o(f,p,n,r,l,t[7],0,9),n=i(n,10),l=o(l,f,p,n,r,t[8],0,11),p=i(p,10),r=o(r,l,f,p,n,t[9],0,13),f=i(f,10),n=o(n,r,l,f,p,t[10],0,14),l=i(l,10),p=o(p,n,r,l,f,t[11],0,15),r=i(r,10),f=o(f,p,n,r,l,t[12],0,6),n=i(n,10),l=o(l,f,p,n,r,t[13],0,7),p=i(p,10),r=o(r,l,f,p,n,t[14],0,9),f=i(f,10),n=o(n,r,l,f,p,t[15],0,8),l=i(l,10),p=s(p,n,r,l,f,t[7],1518500249,7),r=i(r,10),f=s(f,p,n,r,l,t[4],1518500249,6),n=i(n,10),l=s(l,f,p,n,r,t[13],1518500249,8),p=i(p,10),r=s(r,l,f,p,n,t[1],1518500249,13),f=i(f,10),n=s(n,r,l,f,p,t[10],1518500249,11),l=i(l,10),p=s(p,n,r,l,f,t[6],1518500249,9),r=i(r,10),f=s(f,p,n,r,l,t[15],1518500249,7),n=i(n,10),l=s(l,f,p,n,r,t[3],1518500249,15),p=i(p,10),r=s(r,l,f,p,n,t[12],1518500249,7),f=i(f,10),n=s(n,r,l,f,p,t[0],1518500249,12),l=i(l,10),p=s(p,n,r,l,f,t[9],1518500249,15),r=i(r,10),f=s(f,p,n,r,l,t[5],1518500249,9),n=i(n,10),l=s(l,f,p,n,r,t[2],1518500249,11),p=i(p,10),r=s(r,l,f,p,n,t[14],1518500249,7),f=i(f,10),n=s(n,r,l,f,p,t[11],1518500249,13),l=i(l,10),p=s(p,n,r,l,f,t[8],1518500249,12),r=i(r,10),f=a(f,p,n,r,l,t[3],1859775393,11),n=i(n,10),l=a(l,f,p,n,r,t[10],1859775393,13),p=i(p,10),r=a(r,l,f,p,n,t[14],1859775393,6),f=i(f,10),n=a(n,r,l,f,p,t[4],1859775393,7),l=i(l,10),p=a(p,n,r,l,f,t[9],1859775393,14),r=i(r,10),f=a(f,p,n,r,l,t[15],1859775393,9),n=i(n,10),l=a(l,f,p,n,r,t[8],1859775393,13),p=i(p,10),r=a(r,l,f,p,n,t[1],1859775393,15),f=i(f,10),n=a(n,r,l,f,p,t[2],1859775393,14),l=i(l,10),p=a(p,n,r,l,f,t[7],1859775393,8),r=i(r,10),f=a(f,p,n,r,l,t[0],1859775393,13),n=i(n,10),l=a(l,f,p,n,r,t[6],1859775393,6),p=i(p,10),r=a(r,l,f,p,n,t[13],1859775393,5),f=i(f,10),n=a(n,r,l,f,p,t[11],1859775393,12),l=i(l,10),p=a(p,n,r,l,f,t[5],1859775393,7),r=i(r,10),f=a(f,p,n,r,l,t[12],1859775393,5),n=i(n,10),l=u(l,f,p,n,r,t[1],2400959708,11),p=i(p,10),r=u(r,l,f,p,n,t[9],2400959708,12),f=i(f,10),n=u(n,r,l,f,p,t[11],2400959708,14),l=i(l,10),p=u(p,n,r,l,f,t[10],2400959708,15),r=i(r,10),f=u(f,p,n,r,l,t[0],2400959708,14),n=i(n,10),l=u(l,f,p,n,r,t[8],2400959708,15),p=i(p,10),r=u(r,l,f,p,n,t[12],2400959708,9),f=i(f,10),n=u(n,r,l,f,p,t[4],2400959708,8),l=i(l,10),p=u(p,n,r,l,f,t[13],2400959708,9),r=i(r,10),f=u(f,p,n,r,l,t[3],2400959708,14),n=i(n,10),l=u(l,f,p,n,r,t[7],2400959708,5),p=i(p,10),r=u(r,l,f,p,n,t[15],2400959708,6),f=i(f,10),n=u(n,r,l,f,p,t[14],2400959708,8),l=i(l,10),p=u(p,n,r,l,f,t[5],2400959708,6),r=i(r,10),f=u(f,p,n,r,l,t[6],2400959708,5),n=i(n,10),l=u(l,f,p,n,r,t[2],2400959708,12),p=i(p,10),r=c(r,l,f,p,n,t[4],2840853838,9),f=i(f,10),n=c(n,r,l,f,p,t[0],2840853838,15),l=i(l,10),p=c(p,n,r,l,f,t[5],2840853838,5),r=i(r,10),f=c(f,p,n,r,l,t[9],2840853838,11),n=i(n,10),l=c(l,f,p,n,r,t[7],2840853838,6),p=i(p,10),r=c(r,l,f,p,n,t[12],2840853838,8),f=i(f,10),n=c(n,r,l,f,p,t[2],2840853838,13),l=i(l,10),p=c(p,n,r,l,f,t[10],2840853838,12),r=i(r,10),f=c(f,p,n,r,l,t[14],2840853838,5),n=i(n,10),l=c(l,f,p,n,r,t[1],2840853838,12),p=i(p,10),r=c(r,l,f,p,n,t[3],2840853838,13),f=i(f,10),n=c(n,r,l,f,p,t[8],2840853838,14),l=i(l,10),p=c(p,n,r,l,f,t[11],2840853838,11),r=i(r,10),f=c(f,p,n,r,l,t[6],2840853838,8),n=i(n,10),l=c(l,f,p,n,r,t[15],2840853838,5),p=i(p,10),r=c(r,l,f,p,n,t[13],2840853838,6),f=i(f,10);var h=this._a,d=this._b,v=this._c,g=this._d,m=this._e;h=c(h,d,v,g,m,t[5],1352829926,8),v=i(v,10),m=c(m,h,d,v,g,t[14],1352829926,9),d=i(d,10),g=c(g,m,h,d,v,t[7],1352829926,9),h=i(h,10),v=c(v,g,m,h,d,t[0],1352829926,11),m=i(m,10),d=c(d,v,g,m,h,t[9],1352829926,13),g=i(g,10),h=c(h,d,v,g,m,t[2],1352829926,15),v=i(v,10),m=c(m,h,d,v,g,t[11],1352829926,15),d=i(d,10),g=c(g,m,h,d,v,t[4],1352829926,5),h=i(h,10),v=c(v,g,m,h,d,t[13],1352829926,7),m=i(m,10),d=c(d,v,g,m,h,t[6],1352829926,7),g=i(g,10),h=c(h,d,v,g,m,t[15],1352829926,8),v=i(v,10),m=c(m,h,d,v,g,t[8],1352829926,11),d=i(d,10),g=c(g,m,h,d,v,t[1],1352829926,14),h=i(h,10),v=c(v,g,m,h,d,t[10],1352829926,14),m=i(m,10),d=c(d,v,g,m,h,t[3],1352829926,12),g=i(g,10),h=c(h,d,v,g,m,t[12],1352829926,6),v=i(v,10),m=u(m,h,d,v,g,t[6],1548603684,9),d=i(d,10),g=u(g,m,h,d,v,t[11],1548603684,13),h=i(h,10),v=u(v,g,m,h,d,t[3],1548603684,15),m=i(m,10),d=u(d,v,g,m,h,t[7],1548603684,7),g=i(g,10),h=u(h,d,v,g,m,t[0],1548603684,12),v=i(v,10),m=u(m,h,d,v,g,t[13],1548603684,8),d=i(d,10),g=u(g,m,h,d,v,t[5],1548603684,9),h=i(h,10),v=u(v,g,m,h,d,t[10],1548603684,11),m=i(m,10),d=u(d,v,g,m,h,t[14],1548603684,7),g=i(g,10),h=u(h,d,v,g,m,t[15],1548603684,7),v=i(v,10),m=u(m,h,d,v,g,t[8],1548603684,12),d=i(d,10),g=u(g,m,h,d,v,t[12],1548603684,7),h=i(h,10),v=u(v,g,m,h,d,t[4],1548603684,6),m=i(m,10),d=u(d,v,g,m,h,t[9],1548603684,15),g=i(g,10),h=u(h,d,v,g,m,t[1],1548603684,13),v=i(v,10),m=u(m,h,d,v,g,t[2],1548603684,11),d=i(d,10),g=a(g,m,h,d,v,t[15],1836072691,9),h=i(h,10),v=a(v,g,m,h,d,t[5],1836072691,7),m=i(m,10),d=a(d,v,g,m,h,t[1],1836072691,15),g=i(g,10),h=a(h,d,v,g,m,t[3],1836072691,11),v=i(v,10),m=a(m,h,d,v,g,t[7],1836072691,8),d=i(d,10),g=a(g,m,h,d,v,t[14],1836072691,6),h=i(h,10),v=a(v,g,m,h,d,t[6],1836072691,6),m=i(m,10),d=a(d,v,g,m,h,t[9],1836072691,14),g=i(g,10),h=a(h,d,v,g,m,t[11],1836072691,12),v=i(v,10),m=a(m,h,d,v,g,t[8],1836072691,13),d=i(d,10),g=a(g,m,h,d,v,t[12],1836072691,5),h=i(h,10),v=a(v,g,m,h,d,t[2],1836072691,14),m=i(m,10),d=a(d,v,g,m,h,t[10],1836072691,13),g=i(g,10),h=a(h,d,v,g,m,t[0],1836072691,13),v=i(v,10),m=a(m,h,d,v,g,t[4],1836072691,7),d=i(d,10),g=a(g,m,h,d,v,t[13],1836072691,5),h=i(h,10),v=s(v,g,m,h,d,t[8],2053994217,15),m=i(m,10),d=s(d,v,g,m,h,t[6],2053994217,5),g=i(g,10),h=s(h,d,v,g,m,t[4],2053994217,8),v=i(v,10),m=s(m,h,d,v,g,t[1],2053994217,11),d=i(d,10),g=s(g,m,h,d,v,t[3],2053994217,14),h=i(h,10),v=s(v,g,m,h,d,t[11],2053994217,14),m=i(m,10),d=s(d,v,g,m,h,t[15],2053994217,6),g=i(g,10),h=s(h,d,v,g,m,t[0],2053994217,14),v=i(v,10),m=s(m,h,d,v,g,t[5],2053994217,6),d=i(d,10),g=s(g,m,h,d,v,t[12],2053994217,9),h=i(h,10),v=s(v,g,m,h,d,t[2],2053994217,12),m=i(m,10),d=s(d,v,g,m,h,t[13],2053994217,9),g=i(g,10),h=s(h,d,v,g,m,t[9],2053994217,12),v=i(v,10),m=s(m,h,d,v,g,t[7],2053994217,5),d=i(d,10),g=s(g,m,h,d,v,t[10],2053994217,15),h=i(h,10),v=s(v,g,m,h,d,t[14],2053994217,8),m=i(m,10),d=o(d,v,g,m,h,t[12],0,8),g=i(g,10),h=o(h,d,v,g,m,t[15],0,5),v=i(v,10),m=o(m,h,d,v,g,t[10],0,12),d=i(d,10),g=o(g,m,h,d,v,t[4],0,9),h=i(h,10),v=o(v,g,m,h,d,t[1],0,12),m=i(m,10),d=o(d,v,g,m,h,t[5],0,5),g=i(g,10),h=o(h,d,v,g,m,t[8],0,14),v=i(v,10),m=o(m,h,d,v,g,t[7],0,6),d=i(d,10),g=o(g,m,h,d,v,t[6],0,8),h=i(h,10),v=o(v,g,m,h,d,t[2],0,13),m=i(m,10),d=o(d,v,g,m,h,t[13],0,6),g=i(g,10),h=o(h,d,v,g,m,t[14],0,5),v=i(v,10),m=o(m,h,d,v,g,t[0],0,15),d=i(d,10),g=o(g,m,h,d,v,t[3],0,13),h=i(h,10),v=o(v,g,m,h,d,t[9],0,11),m=i(m,10),d=o(d,v,g,m,h,t[11],0,11),g=i(g,10);var y=this._b+l+g|0;this._b=this._c+f+m|0,this._c=this._d+p+h|0,this._d=this._e+n+d|0,this._e=this._a+r+v|0,this._a=y},r.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=new e(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){function r(){i.call(this)}t.exports=r;var i=n(22).EventEmitter;n(0)(r,i),r.Readable=n(23),r.Writable=n(114),r.Duplex=n(115),r.Transform=n(116),r.PassThrough=n(117),r.Stream=r,r.prototype.pipe=function(t,e){function n(e){t.writable&&!1===t.write(e)&&c.pause&&c.pause()}function r(){c.readable&&c.resume&&c.resume()}function o(){l||(l=!0,t.end())}function s(){l||(l=!0,"function"==typeof t.destroy&&t.destroy())}function a(t){if(u(),0===i.listenerCount(this,"error"))throw t}function u(){c.removeListener("data",n),t.removeListener("drain",r),c.removeListener("end",o),c.removeListener("close",s),c.removeListener("error",a),t.removeListener("error",a),c.removeListener("end",u),c.removeListener("close",u),t.removeListener("close",u)}var c=this;c.on("data",n),t.on("drain",r),t._isStdio||e&&!1===e.end||(c.on("end",o),c.on("close",s));var l=!1;return c.on("error",a),t.on("error",a),c.on("end",u),c.on("close",u),t.on("close",u),t.emit("pipe",c),t}},function(t,e,n){"use strict";(function(e,r){function i(t){return I.from(t)}function o(t){return I.isBuffer(t)||t instanceof U}function s(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?M(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}function a(t,e){L=L||n(10),t=t||{},this.objectMode=!!t.objectMode,e instanceof L&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new H,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(q||(q=n(25).StringDecoder),this.decoder=new q(t.encoding),this.encoding=t.encoding)}function u(t){if(L=L||n(10),!(this instanceof u))return new u(t);this._readableState=new a(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),B.call(this)}function c(t,e,n,r,o){var s=t._readableState;if(null===e)s.reading=!1,v(t,s);else{var a;o||(a=f(s,e)),a?t.emit("error",a):s.objectMode||e&&e.length>0?("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===I.prototype||(e=i(e)),r?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):l(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(e=s.decoder.write(e),s.objectMode||0!==e.length?l(t,s,e,!1):y(t,s)):l(t,s,e,!1))):r||(s.reading=!1)}return p(s)}function l(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&g(t)),y(t,e)}function f(t,e){var n;return o(e)||"string"==typeof e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function p(t){return!t.ended&&(t.needReadable||t.length=G?t=G:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function d(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=h(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function v(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,g(t)}}function g(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(F("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?j(m,t):m(t))}function m(t){F("emit readable"),t.emit("readable"),C(t)}function y(t,e){e.readingMore||(e.readingMore=!0,j(_,t,e))}function _(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=A(t,e.buffer,e.decoder),n}function A(t,e,n){var r;return to.length?o.length:t;if(s===o.length?i+=o:i+=o.slice(0,t),0===(t-=s)){s===o.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(s));break}++r}return e.length-=r,i}function k(t,e){var n=I.allocUnsafe(t),r=e.head,i=1;for(r.data.copy(n),t-=r.data.length;r=r.next;){var o=r.data,s=t>o.length?o.length:t;if(o.copy(n,n.length-t,0,s),0===(t-=s)){s===o.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(s));break}++i}return e.length-=i,n}function P(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,j(T,e,t))}function T(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function R(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return F("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?P(this):g(this),null;if(0===(t=d(t,e))&&e.ended)return 0===e.length&&P(this),null;var r=e.needReadable;F("need readable",r),(0===e.length||e.length-t0?S(t,e):null,null===i?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&P(this)),null!==i&&this.emit("data",i),i},u.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},u.prototype.pipe=function(t,e){function n(t,e){F("onunpipe"),t===p&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,o())}function i(){F("onend"),t.end()}function o(){F("cleanup"),t.removeListener("close",c),t.removeListener("finish",l),t.removeListener("drain",g),t.removeListener("error",u),t.removeListener("unpipe",n),p.removeListener("end",i),p.removeListener("end",f),p.removeListener("data",a),m=!0,!h.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}function a(e){F("ondata"),y=!1,!1!==t.write(e)||y||((1===h.pipesCount&&h.pipes===t||h.pipesCount>1&&-1!==R(h.pipes,t))&&!m&&(F("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,y=!0),p.pause())}function u(e){F("onerror",e),f(),t.removeListener("error",u),0===$(t,"error")&&t.emit("error",e)}function c(){t.removeListener("finish",l),f()}function l(){F("onfinish"),t.removeListener("close",c),f()}function f(){F("unpipe"),p.unpipe(t)}var p=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=t;break;case 1:h.pipes=[h.pipes,t];break;default:h.pipes.push(t)}h.pipesCount+=1,F("pipe count=%d opts=%j",h.pipesCount,e);var d=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr,v=d?i:f;h.endEmitted?j(v):p.once("end",v),t.on("unpipe",n);var g=w(p);t.on("drain",g);var m=!1,y=!1;return p.on("data",a),s(t,"error",u),t.once("close",c),t.once("finish",l),t.emit("pipe",p),h.flowing||(F("pipe resume"),p.resume()),t},u.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n),this);if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function a(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function u(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function c(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}var l=n(0),f=n(12),p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],h=new Array(64);l(r,f),r.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,l=0|this._c,f=0|this._d,h=0|this._e,d=0|this._f,v=0|this._g,g=0|this._h,m=0;m<16;++m)e[m]=t.readInt32BE(4*m);for(;m<64;++m)e[m]=c(e[m-2])+e[m-7]+u(e[m-15])+e[m-16]|0;for(var y=0;y<64;++y){var _=g+a(h)+i(h,d,v)+p[y]+e[y]|0,w=s(n)+o(n,r,l)|0;g=v,v=d,d=h,h=f+_|0,f=l,l=r,r=n,n=_+w|0}this._a=n+this._a|0,this._b=r+this._b|0,this._c=l+this._c|0,this._d=f+this._d|0,this._e=h+this._e|0,this._f=d+this._f|0,this._g=v+this._g|0,this._h=g+this._h|0},r.prototype._hash=function(){var t=new e(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=g,d.call(this,128,112)}function i(t,e,n){return n^t&(e^n)}function o(t,e,n){return t&e|n&(t|e)}function s(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function a(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function u(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function c(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function l(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function f(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function p(t,e){return t>>>0>>0?1:0}var h=n(0),d=n(12),v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],g=new Array(160);h(r,d),r.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,h=0|this._ch,d=0|this._dh,g=0|this._eh,m=0|this._fh,y=0|this._gh,_=0|this._hh,w=0|this._al,b=0|this._bl,E=0|this._cl,x=0|this._dl,C=0|this._el,S=0|this._fl,A=0|this._gl,O=0|this._hl,k=0;k<32;k+=2)e[k]=t.readInt32BE(4*k),e[k+1]=t.readInt32BE(4*k+4);for(;k<160;k+=2){var P=e[k-30],T=e[k-30+1],R=u(P,T),j=c(T,P);P=e[k-4],T=e[k-4+1];var L=l(P,T),M=f(T,P),$=e[k-14],B=e[k-14+1],I=e[k-32],U=e[k-32+1],N=j+B|0,D=R+$+p(N,j)|0;N=N+M|0,D=D+L+p(N,M)|0,N=N+U|0,D=D+I+p(N,U)|0,e[k]=D,e[k+1]=N}for(var F=0;F<160;F+=2){D=e[F],N=e[F+1];var q=o(n,r,h),H=o(w,b,E),z=s(n,w),W=s(w,n),G=a(g,C),Y=a(C,g),V=v[F],K=v[F+1],X=i(g,m,y),J=i(C,S,A),Z=O+Y|0,Q=_+G+p(Z,O)|0;Z=Z+J|0,Q=Q+X+p(Z,J)|0,Z=Z+K|0,Q=Q+V+p(Z,K)|0,Z=Z+N|0,Q=Q+D+p(Z,N)|0;var tt=W+H|0,et=z+q+p(tt,W)|0;_=y,O=A,y=m,A=S,m=g,S=C,C=x+Z|0,g=d+Q+p(C,x)|0,d=h,x=E,h=r,E=b,r=n,b=w,w=Z+tt|0,n=Q+et+p(w,Z)|0}this._al=this._al+w|0,this._bl=this._bl+b|0,this._cl=this._cl+E|0,this._dl=this._dl+x|0,this._el=this._el+C|0,this._fl=this._fl+S|0,this._gl=this._gl+A|0,this._hl=this._hl+O|0,this._ah=this._ah+n+p(this._al,w)|0,this._bh=this._bh+r+p(this._bl,b)|0,this._ch=this._ch+h+p(this._cl,E)|0,this._dh=this._dh+d+p(this._dl,x)|0,this._eh=this._eh+g+p(this._el,C)|0,this._fh=this._fh+m+p(this._fl,S)|0,this._gh=this._gh+y+p(this._gl,A)|0,this._hh=this._hh+_+p(this._hl,O)|0},r.prototype._hash=function(){function t(t,e,r){n.writeInt32BE(t,r),n.writeInt32BE(e,r+4)}var n=new e(64);return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),n},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){"use strict";t.exports="function"==typeof Promise?Promise:n(122)},function(t,e,n){(function(e){function r(t){i.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._decoder=null,this._encoding=null}var i=n(42).Transform,o=n(0),s=n(25).StringDecoder;t.exports=r,o(r,i),r.prototype.update=function(t,n,r){"string"==typeof t&&(t=new e(t,n));var i=this._update(t);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},r.prototype.setAutoPadding=function(){},r.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},r.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},r.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},r.prototype._transform=function(t,e,n){var r;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){r=t}finally{n(r)}},r.prototype._flush=function(t){var e;try{this.push(this._final())}catch(t){e=t}finally{t(e)}},r.prototype._finalOrDigest=function(t){var n=this._final()||new e("");return t&&(n=this._toString(n,t,!0)),n},r.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new s(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var r=this._decoder.write(t);return n&&(r+=this._decoder.end()),r}}).call(e,n(1).Buffer)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i=n(16),o=r(i);n(54);var s=n(55),a=r(s),u=n(93),c=n(26),l=r(c),f=n(94),p=r(f),h=n(170),d=r(h);o.default.use(d.default,{defaultLanguage:"en",languagesAvailable:["fr","es","de","zh","zh-CN","pt"]}),(0,u.sync)(l.default,p.default),new o.default({el:"#lesspass",beforeCreate:function(){this.$polyglot.getLocale({baseURL:"dist/i18n",lang:"auto"})},store:l.default,router:p.default,render:function(t){return t(a.default)}})},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n=9){var i=l.getPasswordFromUrlQuery(r);n(p.SET_PASSWORD,{password:i})}},e.savePassword=function(t,e){(0,t.commit)(p.SET_PASSWORD,e)},e.resetPassword=function(t){var e=t.commit;t.state;e(p.RESET_PASSWORD)},e.login=function(t,e){var n=t.commit;n(p.SET_BASE_URL,e),n(p.SET_TOKEN,e),n(p.LOGIN)},e.logout=function(t){var e=t.commit;e(p.LOGOUT),e(p.RESET_PASSWORD)},e.getPasswords=function(t){var e=t.commit,n=t.state;return n.authenticated?s.default.all(n).then(function(t){var n=t.data.results;return e(p.SET_PASSWORDS,{passwords:n}),n}):Promise.resolve([])});e.saveOrUpdatePassword=function(t){var e=t.commit,n=t.state,r=n.password.site,i=n.password.login,o=n.passwords.find(function(t){return t.site===r&&t.login===i});if(o){var a=Object.assign({},o,n.password);s.default.update(a,n).then(function(){h({commit:e,state:n})})}else s.default.create(n.password,n).then(function(){h({commit:e,state:n})})},e.deletePassword=function(t,e){var n=t.commit,r=t.state;s.default.delete(e,r).then(function(){n(p.DELETE_PASSWORD,e)})},e.displayMessage=function(t,e){(0,t.commit)(p.SET_MESSAGE,e)},e.cleanMessage=function(t){(0,t.commit)(p.CLEAN_MESSAGE)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e * @license MIT */ -t.exports=function(t){return null!=t&&(n(t)||r(t)||!!t._isBuffer)}},function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new s,response:new s}}var i=n(18),o=n(3),s=n(82),a=n(83),u=n(85),c=n(86);r.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),t=o.merge(i,this.defaults,{method:"get"},t),t.method=t.method.toLowerCase(),t.baseURL&&!u(t.url)&&(t.url=c(t.baseURL,t.url));var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head","options"],function(t){r.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(30);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t}},function(t,e,n){"use strict";function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n(3);t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var s=[];i.forEach(e,function(t,e){null!==t&&void 0!==t&&(i.isArray(t)&&(e+="[]"),i.isArray(t)||(t=[t]),i.forEach(t,function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),s.push(r(e)+"="+r(t))}))}),o=s.join("&")}return o&&(t+=(-1===t.indexOf("?")?"?":"&")+o),t}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t){var e,n,i,o={};return t?(r.forEach(t.split("\n"),function(t){i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e&&(o[e]=o[e]?o[e]+", "+n:n)}),o):o}},function(t,e,n){"use strict";var r=n(3);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(i.setAttribute("href",e),e=i.href),i.setAttribute("href",e),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return e=t(window.location.href),function(n){var i=r.isString(n)?t(n):n;return i.protocol===e.protocol&&i.host===e.host}}():function(){return function(){return!0}}()},function(t,e,n){"use strict";function r(){this.message="String contains an invalid character"}function i(t){for(var e,n,i=String(t),s="",a=0,u=o;i.charAt(0|a)||(u="=",a%1);s+=u.charAt(63&e>>8-a%1*8)){if((n=i.charCodeAt(a+=.75))>255)throw new r;e=e<<8|n}return s}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=i},function(t,e,n){"use strict";var r=n(3);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,n){"use strict";function r(){this.handlers=[]}var i=n(3);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var i=n(3),o=n(84),s=n(31),a=n(18);t.exports=function(t){return r(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return r(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return s(e)||(r(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new i(t),e(n.reason))})}var i=n(32);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDefaultProfile=e.passwordURL=e.isGuest=e.isAuthenticated=void 0;var r=n(19);e.isAuthenticated=function(t){return t.authenticated},e.isGuest=function(t){return!t.authenticated},e.passwordURL=function(t){return t.baseURL+"/#/?login="+t.password.login+"&site="+t.password.site+"&uppercase="+t.password.uppercase+"&lowercase="+t.password.lowercase+"&numbers="+t.password.numbers+"&symbols="+t.password.symbols+"&length="+t.password.length+"&counter="+t.password.counter+"&version="+t.password.version},e.isDefaultProfile=function(t){var e=!0;for(var n in r.defaultOptions)r.defaultOptions[n]!==t.password[n]&&(e=!1);return e}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var i,o=Object.assign||function(t){for(var e=1;e - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ -!function(e,r){t.exports=r(n(92),n(93))}(0,function(t,e){"use strict";function n(e){void 0===e&&(e={});var n=e.key;void 0===n&&(n="vuex");var o=e.paths;void 0===o&&(o=[]);var s=e.getState;void 0===s&&(s=function(t,e){var n=e.getItem(t);try{return n&&"undefined"!==n?JSON.parse(n):void 0}catch(t){return}});var a=e.setState;void 0===a&&(a=function(t,e,n){return n.setItem(t,JSON.stringify(e))});var u=e.reducer;void 0===u&&(u=r);var c=e.storage;void 0===c&&(c=window&&window.localStorage);var f=e.filter;void 0===f&&(f=function(){return!0});var l=e.subscriber;if(void 0===l&&(l=function(t){return function(e){return t.subscribe(e)}}),!i(c))throw new Error("Invalid storage instance given");return function(e){var r=s(n,c);"object"==typeof r&&e.replaceState(t({},e.state,r)),l(e)(function(t,e){f(t)&&a(n,u(e,o),c)})}}t="default"in t?t.default:t,e="default"in e?e.default:e;var r=function(t,n){return 0===n.length?t:n.reduce(function(n,r){return e.set(n,r,e.get(t,r)),n},{})},i=function(t){try{return t.setItem("_canWriteToLocalStorage",1),t.removeItem("_canWriteToLocalStorage"),!0}catch(t){return!1}};return n})},function(t,e,n){(function(t,n){function r(t,e){return t.set(e[0],e[1]),t}function i(t,e){return t.add(e),t}function o(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function s(t,e){for(var n=-1,r=t?t.length:0;++n-1}function A(t,e){var n=this.__data__,r=q(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function O(t){var e=-1,n=t?t.length:0;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=Ft}function jt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Rt(t){return!!t&&"object"==typeof t}function Lt(t){if(!Rt(t)||$e.call(t)!=Kt||l(t))return!1;var e=Ne(t);if(null===e)return!0;var n=Le.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Re.call(n)==Me}function Mt(t){return ft(t,Bt(t))}function $t(t){return Ot(t)?D(t):X(t)}function Bt(t){return Ot(t)?D(t,!0):J(t)}function It(){return[]}function Ut(){return!1}var Dt=200,Nt="__lodash_hash_undefined__",Ft=9007199254740991,qt="[object Arguments]",zt="[object Boolean]",Ht="[object Date]",Wt="[object Function]",Gt="[object GeneratorFunction]",Yt="[object Map]",Vt="[object Number]",Kt="[object Object]",Xt="[object RegExp]",Jt="[object Set]",Zt="[object String]",Qt="[object Symbol]",te="[object WeakMap]",ee="[object ArrayBuffer]",ne="[object DataView]",re="[object Float32Array]",ie="[object Float64Array]",oe="[object Int8Array]",se="[object Int16Array]",ae="[object Int32Array]",ue="[object Uint8Array]",ce="[object Uint8ClampedArray]",fe="[object Uint16Array]",le="[object Uint32Array]",pe=/[\\^$.*+?()[\]{}|]/g,he=/\w*$/,de=/^\[object .+?Constructor\]$/,ve=/^(?:0|[1-9]\d*)$/,ge={};ge[re]=ge[ie]=ge[oe]=ge[se]=ge[ae]=ge[ue]=ge[ce]=ge[fe]=ge[le]=!0,ge[qt]=ge["[object Array]"]=ge[ee]=ge[zt]=ge[ne]=ge[Ht]=ge["[object Error]"]=ge[Wt]=ge[Yt]=ge[Vt]=ge[Kt]=ge[Xt]=ge[Jt]=ge[Zt]=ge[te]=!1;var me={};me[qt]=me["[object Array]"]=me[ee]=me[ne]=me[zt]=me[Ht]=me[re]=me[ie]=me[oe]=me[se]=me[ae]=me[Yt]=me[Vt]=me[Kt]=me[Xt]=me[Jt]=me[Zt]=me[Qt]=me[ue]=me[ce]=me[fe]=me[le]=!0,me["[object Error]"]=me[Wt]=me[te]=!1;var ye="object"==typeof t&&t&&t.Object===Object&&t,_e="object"==typeof self&&self&&self.Object===Object&&self,be=ye||_e||Function("return this")(),we="object"==typeof e&&e&&!e.nodeType&&e,xe=we&&"object"==typeof n&&n&&!n.nodeType&&n,Ee=xe&&xe.exports===we,Ce=Ee&&ye.process,Se=function(){try{return Ce&&Ce.binding("util")}catch(t){}}(),Ae=Se&&Se.isTypedArray,Oe=Array.prototype,ke=Function.prototype,Pe=Object.prototype,Te=be["__core-js_shared__"],je=function(){var t=/[^.]+$/.exec(Te&&Te.keys&&Te.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Re=ke.toString,Le=Pe.hasOwnProperty,Me=Re.call(Object),$e=Pe.toString,Be=RegExp("^"+Re.call(Le).replace(pe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ie=Ee?be.Buffer:void 0,Ue=be.Symbol,De=be.Uint8Array,Ne=h(Object.getPrototypeOf,Object),Fe=Object.create,qe=Pe.propertyIsEnumerable,ze=Oe.splice,He=Object.getOwnPropertySymbols,We=Ie?Ie.isBuffer:void 0,Ge=h(Object.keys,Object),Ye=Math.max,Ve=dt(be,"DataView"),Ke=dt(be,"Map"),Xe=dt(be,"Promise"),Je=dt(be,"Set"),Ze=dt(be,"WeakMap"),Qe=dt(Object,"create"),tn=Ct(Ve),en=Ct(Ke),nn=Ct(Xe),rn=Ct(Je),on=Ct(Ze),sn=Ue?Ue.prototype:void 0,an=sn?sn.valueOf:void 0;v.prototype.clear=g,v.prototype.delete=m,v.prototype.get=y,v.prototype.has=_,v.prototype.set=b,w.prototype.clear=x,w.prototype.delete=E,w.prototype.get=C,w.prototype.has=S,w.prototype.set=A,O.prototype.clear=k,O.prototype.delete=P,O.prototype.get=T,O.prototype.has=j,O.prototype.set=R,L.prototype.clear=M,L.prototype.delete=$,L.prototype.get=B,L.prototype.has=I,L.prototype.set=U;var un=He?h(He,Object):It,cn=Y;(Ve&&cn(new Ve(new ArrayBuffer(1)))!=ne||Ke&&cn(new Ke)!=Yt||Xe&&"[object Promise]"!=cn(Xe.resolve())||Je&&cn(new Je)!=Jt||Ze&&cn(new Ze)!=te)&&(cn=function(t){var e=$e.call(t),n=e==Kt?t.constructor:void 0,r=n?Ct(n):void 0;if(r)switch(r){case tn:return ne;case en:return Yt;case nn:return"[object Promise]";case rn:return Jt;case on:return te}return e});var fn=Array.isArray,ln=We||Ut,pn=Ae?function(t){return function(e){return t(e)}}(Ae):K,hn=function(t){return tt(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,s&&_t(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),e=Object(e);++r-1}function o(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function s(t,e){for(var n in e)t[n]=e[n];return t}function a(t,e,n){void 0===e&&(e={});var r,i=n||u;try{r=i(t||"")}catch(t){r={}}for(var o in e)r[o]=e[o];return r}function u(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=Nt(n.shift()),i=n.length>0?Nt(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]}),e):e}function c(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Dt(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(Dt(e)):r.push(Dt(e)+"="+Dt(t)))}),r.join("&")}return Dt(e)+"="+Dt(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function f(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=l(o)}catch(t){}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:h(e,i),matched:t?p(t):[]};return n&&(s.redirectedFrom=h(n,i)),Object.freeze(s)}function l(t){if(Array.isArray(t))return t.map(l);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=l(t[n]);return e}return t}function p(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function h(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;void 0===i&&(i="");var o=e||c;return(n||"/")+o(r)+i}function d(t,e){return e===qt?t===e:!!e&&(t.path&&e.path?t.path.replace(Ft,"")===e.path.replace(Ft,"")&&t.hash===e.hash&&v(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&v(t.query,e.query)&&v(t.params,e.params)))}function v(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],i=e[n];return"object"==typeof r&&"object"==typeof i?v(r,i):String(r)===String(i)})}function g(t,e){return 0===t.path.replace(Ft,"/").indexOf(e.path.replace(Ft,"/"))&&(!e.hash||t.hash===e.hash)&&m(t.query,e.query)}function m(t,e){for(var n in e)if(!(n in t))return!1;return!0}function y(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){if(/\b_blank\b/i.test(t.currentTarget.getAttribute("target")))return}return t.preventDefault&&t.preventDefault(),!0}}function _(t){if(t)for(var e,n=0;n=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function E(t){return t.replace(/\/\//g,"/")}function C(t,e){for(var n,r=[],i=0,o=0,s="",a=e&&e.delimiter||"/";null!=(n=Qt.exec(t));){var u=n[0],c=n[1],f=n.index;if(s+=t.slice(o,f),o=f+u.length,c)s+=c[1];else{var l=t[o],p=n[2],h=n[3],d=n[4],v=n[5],g=n[6],m=n[7];s&&(r.push(s),s="");var y=null!=p&&null!=l&&l!==p,_="+"===g||"*"===g,b="?"===g||"*"===g,w=n[2]||a,x=d||v;r.push({name:h||i++,prefix:p||"",delimiter:w,optional:b,repeat:_,partial:y,asterisk:!!m,pattern:x?T(x):m?".*":"[^"+P(w)+"]+?"})}}return o-1&&(i.params[p]=n.params[p]);if(a)return i.path=U(a.path,i.params,'named route "'+o+'"'),s(a,i,r)}else if(i.path){i.params={};for(var h=0;h=t.length?n():t[i]?e(t[i],function(){r(i+1)}):r(i+1)};r(0)}function ft(t){return function(e,n,r){var o=!1,s=0,a=null;lt(t,function(t,e,n,u){if("function"==typeof t&&void 0===t.cid){o=!0,s++;var c,f=dt(function(e){ht(e)&&(e=e.default),t.resolved="function"==typeof e?e:Mt.extend(e),n.components[u]=e,--s<=0&&r()}),l=dt(function(t){var e="Failed to resolve async component "+u+": "+t;a||(a=i(t)?t:new Error(e),r(a))});try{c=t(f,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(f,l);else{var p=c.component;p&&"function"==typeof p.then&&p.then(f,l)}}}),o||r()}}function lt(t,e){return pt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function pt(t){return Array.prototype.concat.apply([],t)}function ht(t){return t.__esModule||oe&&"Module"===t[Symbol.toStringTag]}function dt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}function vt(t){if(!t)if(Gt){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function gt(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e)+"#"+t}function Tt(t){ne?at(Pt(t)):window.location.hash=t}function jt(t){ne?ut(Pt(t)):window.location.replace(Pt(t))}function Rt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Lt(t,e,n){var r="hash"===n?"#"+e:e;return t?E(t+"/"+r):r}Object.defineProperty(e,"__esModule",{value:!0});var Mt,$t={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,a=e.data;a.routerView=!0;for(var u=i.$createElement,c=n.name,f=i.$route,l=i._routerViewCache||(i._routerViewCache={}),p=0,h=!1;i&&i._routerRoot!==i;)i.$vnode&&i.$vnode.data.routerView&&p++,i._inactive&&(h=!0),i=i.$parent;if(a.routerViewDepth=p,h)return u(l[c],a,r);var d=f.matched[p];if(!d)return l[c]=null,u();var v=l[c]=d.components[c];a.registerRouteInstance=function(t,e){var n=d.instances[c];(e&&n!==t||!e&&n===t)&&(d.instances[c]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){d.instances[c]=e.componentInstance};var g=a.props=o(f,d.props&&d.props[c]);if(g){g=a.props=s({},g);var m=a.attrs=a.attrs||{};for(var y in g)v.props&&y in v.props||(m[y]=g[y],delete g[y])}return u(v,a,r)}},Bt=/[!'()*]/g,It=function(t){return"%"+t.charCodeAt(0).toString(16)},Ut=/%2C/g,Dt=function(t){return encodeURIComponent(t).replace(Bt,It).replace(Ut,",")},Nt=decodeURIComponent,Ft=/\/?$/,qt=f(null,{path:"/"}),zt=[String,Object],Ht=[String,Array],Wt={name:"router-link",props:{to:{type:zt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:Ht,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),o=i.location,s=i.route,a=i.href,u={},c=n.options.linkActiveClass,l=n.options.linkExactActiveClass,p=null==c?"router-link-active":c,h=null==l?"router-link-exact-active":l,v=null==this.activeClass?p:this.activeClass,m=null==this.exactActiveClass?h:this.exactActiveClass,b=o.path?f(null,o,null,n):s;u[m]=d(r,b),u[v]=this.exact?u[m]:g(r,b);var w=function(t){y(t)&&(e.replace?n.replace(o):n.push(o))},x={click:y};Array.isArray(this.event)?this.event.forEach(function(t){x[t]=w}):x[this.event]=w;var E={class:u};if("a"===this.tag)E.on=x,E.attrs={href:a};else{var C=_(this.$slots.default);if(C){C.isStatic=!1;var S=Mt.util.extend;(C.data=S({},C.data)).on=x;(C.data.attrs=S({},C.data.attrs)).href=a}else E.on=x}return t(this.tag,E,this.$slots.default)}},Gt="undefined"!=typeof window,Yt=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Vt=I,Kt=C,Xt=S,Jt=k,Zt=B,Qt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Vt.parse=Kt,Vt.compile=Xt,Vt.tokensToFunction=Jt,Vt.tokensToRegExp=Zt;var te=Object.create(null),ee=Object.create(null),ne=Gt&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),re=Gt&&window.performance&&window.performance.now?window.performance:Date,ie=it(),oe="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,se=function(t,e){this.router=t,this.base=vt(e),this.current=qt,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};se.prototype.listen=function(t){this.cb=t},se.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},se.prototype.onError=function(t){this.errorCbs.push(t)},se.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},se.prototype.confirmTransition=function(t,e,n){var o=this,s=this.current,a=function(t){i(t)&&(o.errorCbs.length?o.errorCbs.forEach(function(e){e(t)}):(r(!1,"uncaught error during route navigation:"),console.error(t))),n&&n(t)};if(d(t,s)&&t.matched.length===s.matched.length)return this.ensureURL(),a();var u=gt(this.current.matched,t.matched),c=u.updated,f=u.deactivated,l=u.activated,p=[].concat(_t(f),this.router.beforeHooks,bt(c),l.map(function(t){return t.beforeEnter}),ft(l));this.pending=t;var h=function(e,n){if(o.pending!==t)return a();try{e(t,s,function(t){!1===t||i(t)?(o.ensureURL(!0),a(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(a(),"object"==typeof t&&t.replace?o.replace(t):o.push(t)):n(t)})}catch(t){a(t)}};ct(p,h,function(){var n=[];ct(xt(l,n,function(){return o.current===t}).concat(o.router.resolveHooks),h,function(){if(o.pending!==t)return a();o.pending=null,e(t),o.router.app&&o.router.app.$nextTick(function(){n.forEach(function(t){t()})})})})},se.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var ae=function(t){function e(e,n){var r=this;t.call(this,e,n);var i=e.options.scrollBehavior;i&&V();var o=St(this.base);window.addEventListener("popstate",function(t){var n=r.current,s=St(r.base);r.current===qt&&s===o||r.transitionTo(s,function(t){i&&K(e,t,n,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){at(E(r.base+t.fullPath)),K(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){ut(E(r.base+t.fullPath)),K(r.router,t,o,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(St(this.base)!==this.current.fullPath){var e=E(this.base+this.current.fullPath);t?at(e):ut(e)}},e.prototype.getCurrentLocation=function(){return St(this.base)},e}(se),ue=function(t){function e(e,n,r){t.call(this,e,n),r&&At(this.base)||Ot()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this,e=this.router,n=e.options.scrollBehavior,r=ne&&n;r&&V(),window.addEventListener(ne?"popstate":"hashchange",function(){var e=t.current;Ot()&&t.transitionTo(kt(),function(n){r&&K(t.router,n,e,!0),ne||jt(n.fullPath)})})},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){Tt(t.fullPath),K(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){jt(t.fullPath),K(r.router,t,o,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;kt()!==e&&(t?Tt(e):jt(e))},e.prototype.getCurrentLocation=function(){return kt()},e}(se),ce=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(se),fe=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=W(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!ne&&!1!==t.fallback,this.fallback&&(e="hash"),Gt||(e="abstract"),this.mode=e,e){case"history":this.history=new ae(this,t.base);break;case"hash":this.history=new ue(this,t.base,this.fallback);break;case"abstract":this.history=new ce(this,t.base)}},le={currentRoute:{configurable:!0}};fe.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},le.currentRoute.get=function(){return this.history&&this.history.current},fe.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof ae)n.transitionTo(n.getCurrentLocation());else if(n instanceof ue){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},fe.prototype.beforeEach=function(t){return Rt(this.beforeHooks,t)},fe.prototype.beforeResolve=function(t){return Rt(this.resolveHooks,t)},fe.prototype.afterEach=function(t){return Rt(this.afterHooks,t)},fe.prototype.onReady=function(t,e){this.history.onReady(t,e)},fe.prototype.onError=function(t){this.history.onError(t)},fe.prototype.push=function(t,e,n){this.history.push(t,e,n)},fe.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},fe.prototype.go=function(t){this.history.go(t)},fe.prototype.back=function(){this.go(-1)},fe.prototype.forward=function(){this.go(1)},fe.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},fe.prototype.resolve=function(t,e,n){var r=z(t,e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:Lt(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},fe.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==qt&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(fe.prototype,le),fe.install=b,fe.version="2.8.1",Gt&&window.Vue&&window.Vue.use(fe),e.default=fe},function(t,e,n){"use strict";function r(t){n(100)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(102),o=n.n(i),s=n(133),a=n(2),u=r,c=a(o.a,s.a,u,null,null);e.default=c.exports},function(t,e,n){var r=n(101);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("907dceac",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#signInButton{border-right:none}#registerButton{border-left:none}",""])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(14),o=r(i),s=n(20),a=r(s),u=n(9),c=r(u);e.default={data:function(){return{email:"",password:"",baseURL:"https://lesspass.com"}},components:{MasterPassword:a.default},methods:{formIsValid:function(){return!!(this.email&&this.password&&this.baseURL)||(c.default.error(this.$t("LoginFormInvalid","LessPass URL, email, and password are mandatory")),!1)},signIn:function(){var t=this;if(this.formIsValid()){var e=this.baseURL;o.default.login({email:this.email,password:this.password},{baseURL:e}).then(function(n){t.$store.dispatch("login",{token:n.token,baseURL:e}),t.$router.push({name:"home"})}).catch(function(n){void 0===n.response&&"https://lesspass.com"!==e?c.default.error(t.$t("DBNotRunning","Your LessPass Database is not running")):n.response&&400===n.response.status?c.default.error(t.$t("LoginIncorrectError","The email and password you entered did not match our records. Please double-check and try again.")):c.default.displayGenericError()})}},register:function(){var t=this;if(this.formIsValid()){var e=this.baseURL;o.default.register({email:this.email,password:this.password},{baseURL:e}).then(function(){c.default.success(t.$t("WelcomeRegister","Welcome {email}, thank you for signing up.",{email:t.email})),t.signIn()}).catch(function(e){e.response&&void 0!==e.response.data.email?(-1!==e.response.data.email[0].indexOf("already exists")&&c.default.error(t.$t("EmailAlreadyExist","This email is already registered. Want to login or recover your password?")),-1!==e.response.data.email[0].indexOf("valid email")&&c.default.error(t.$t("EmailInvalid","Please enter a valid email"))):c.default.displayGenericError()})}}}}},function(t,e,n){var r=n(104);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("0f9d5f23",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#fingerprint{min-width:90px;text-align:center;background-color:transparent;color:#fff}#fingerprint i{color:#000;position:relative;padding:0;text-shadow:1px 1px 0 #fff;font-size:1.3em}",""])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(36),o=r(i),s=n(131),a=r(s),u=n(19),c=r(u);e.default={name:"masterPassword",props:{value:String,label:String,email:String,showEncryptButton:{type:Boolean,default:!1},EncryptButtonText:String},data:function(){return{fingerprint:"",icon1:"",icon2:"",icon3:"",color1:"",color2:"",color3:""}},methods:{updateValue:function(t){var e=Math.random().toString(36).substring(7);this.setFingerprint(e),this.showRealFingerprint(t),this.$refs.passwordField.value=t,this.$emit("input",t)},togglePasswordType:function(t){"password"===t.type?t.type="text":t.type="password"},hidePassword:function(t){t.type="password"},getColor:function(t){var e=["#000000","#074750","#009191","#FF6CB6","#FFB5DA","#490092","#006CDB","#B66DFF","#6DB5FE","#B5DAFE","#920000","#924900","#DB6D00","#24FE23"];return e[parseInt(t,16)%e.length]},getIcon:function(t){var e=["fa-hashtag","fa-heart","fa-hotel","fa-university","fa-plug","fa-ambulance","fa-bus","fa-car","fa-plane","fa-rocket","fa-ship","fa-subway","fa-truck","fa-jpy","fa-eur","fa-btc","fa-usd","fa-gbp","fa-archive","fa-area-chart","fa-bed","fa-beer","fa-bell","fa-binoculars","fa-birthday-cake","fa-bomb","fa-briefcase","fa-bug","fa-camera","fa-cart-plus","fa-certificate","fa-coffee","fa-cloud","fa-coffee","fa-comment","fa-cube","fa-cutlery","fa-database","fa-diamond","fa-exclamation-circle","fa-eye","fa-flag","fa-flask","fa-futbol-o","fa-gamepad","fa-graduation-cap"];return e[parseInt(t,16)%e.length]},setFingerprint:function(t){var e=this;o.default.createFingerprint(t).then(function(t){e.fingerprint=t;var n=t.substring(0,6);e.icon1=e.getIcon(n),e.color1=e.getColor(n);var r=t.substring(6,12);e.icon2=e.getIcon(r),e.color2=e.getColor(r);var i=t.substring(12,18);e.icon3=e.getIcon(i),e.color3=e.getColor(i)})},showRealFingerprint:(0,a.default)(function(t){this.setFingerprint(t)},500),encryptMasterPassword:function(){var t=this,e=this.$refs.passwordField.value;return o.default.generatePassword("lesspass.com",this.email,e,c.default).then(function(e){t.updateValue(e)})}}}},function(t,e,n){(function(e){function r(t,e,n){var r=void 0!==n?n:{},i=r.iterations||8192,o=r.keylen||32;return h(e,t,i,o,"sha256")}function i(t,e,n){return s(t,e,n).then(function(t){return u(t,n.template||a(n))})}function o(t,n){return new v(function(r){r(d("sha256",new e(t)).update(n).digest("hex"))})}function s(t,e,n){var r=void 0!==n?n:{},i=r.length||12;return o(t,e+(r.counter||1).toString()).then(function(t){return t.substring(0,i)})}function a(t){var e={lowercase:"vc",uppercase:"VC",numbers:"n",symbols:"s"},n="";return Object.keys(e).forEach(function(r){t.hasOwnProperty(r)&&t[r]&&(n+=e[r])}),n}function u(t,e){var n="";return c(t).forEach(function(t,r){var i=f(e,r);n+=l(i,t)}),n}function c(t){for(var e=[],n=0;n0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function i(t){return 3*t.length/4-r(t)}function o(t){var e,n,i,o,s,a=t.length;o=r(t),s=new l(3*a/4-o),n=o>0?a-4:a;var u=0;for(e=0;e>16&255,s[u++]=i>>8&255,s[u++]=255&i;return 2===o?(i=f[t.charCodeAt(e)]<<2|f[t.charCodeAt(e+1)]>>4,s[u++]=255&i):1===o&&(i=f[t.charCodeAt(e)]<<10|f[t.charCodeAt(e+1)]<<4|f[t.charCodeAt(e+2)]>>2,s[u++]=i>>8&255,s[u++]=255&i),s}function s(t){return c[t>>18&63]+c[t>>12&63]+c[t>>6&63]+c[63&t]}function a(t,e,n){for(var r,i=[],o=e;ou?u:s+16383));return 1===r?(e=t[n-1],i+=c[e>>2],i+=c[e<<4&63],i+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],i+=c[e>>10],i+=c[e>>4&63],i+=c[e<<2&63],i+="="),o.push(i),o.join("")}e.byteLength=i,e.toByteArray=o,e.fromByteArray=u;for(var c=[],f=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,d=p.length;h>1,f=-7,l=n?i-1:0,p=n?-1:1,h=t[e+l];for(l+=p,o=h&(1<<-f)-1,h>>=-f,f+=a;f>0;o=256*o+t[e+l],l+=p,f-=8);for(s=o&(1<<-f)-1,o>>=-f,f+=r;f>0;s=256*s+t[e+l],l+=p,f-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),o-=c}return(h?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,u,c=8*o-i-1,f=(1<>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,d=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=f):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),e+=s+l>=1?p/u:p*Math.pow(2,1-l),e*u>=2&&(s++,u/=2),s+l>=f?(a=0,s=f):s+l>=1?(a=(e*u-1)*Math.pow(2,i),s+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,i),s=0));i>=8;t[n+h]=255&a,h+=d,a/=256,i-=8);for(s=s<0;t[n+h]=255&s,h+=d,s/=256,c-=8);t[n+h-d]|=128*v}},function(t,e,n){e.pbkdf2=n(110),e.pbkdf2Sync=n(40)},function(t,e,n){(function(e,r){function i(t){if(e.process&&!e.process.browser)return Promise.resolve(!1);if(!p||!p.importKey||!p.deriveBits)return Promise.resolve(!1);if(void 0!==d[t])return d[t];a=a||l.alloc(8);var n=o(a,a,10,128,t).then(function(){return!0}).catch(function(){return!1});return d[t]=n,n}function o(t,e,n,r,i){return p.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then(function(t){return p.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:i}},t,r<<3)}).then(function(t){return l.from(t)})}function s(t,e){t.then(function(t){r.nextTick(function(){e(null,t)})},function(t){r.nextTick(function(){e(t)})})}var a,u=n(38),c=n(39),f=n(40),l=n(10).Buffer,p=e.crypto&&e.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];t.exports=function(t,n,a,p,d,v){if(l.isBuffer(t)||(t=l.from(t,c)),l.isBuffer(n)||(n=l.from(n,c)),u(a,p),"function"==typeof d&&(v=d,d=void 0),"function"!=typeof v)throw new Error("No callback provided to pbkdf2");d=d||"sha1";var g=h[d.toLowerCase()];if(!g||"function"!=typeof e.Promise)return r.nextTick(function(){var e;try{e=f(t,n,a,p,d)}catch(t){return v(t)}v(null,e)});s(i(g).then(function(e){return e?o(t,n,a,p,g):f(t,n,a,p,d)}),v)}}).call(e,n(4),n(7))},function(t,e,n){"use strict";(function(e){function n(t){if(t.length%r!=0){var n=t.length+(r-t.length%r);t=e.concat([t,i],n)}for(var o=new Array(t.length>>>2),s=0,a=0;s=this._blockSize;){for(var o=this._blockOffset;o0;++s)this._length[s]+=a,(a=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*a);return this},r.prototype._update=function(t){throw new Error("_update is not implemented")},r.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();return void 0!==t&&(e=e.toString(t)),e},r.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=r}).call(e,n(1).Buffer)},function(t,e){},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,n){t.copy(e,n)}var o=n(10).Buffer;t.exports=function(){function t(){r(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},t.prototype.concat=function(t){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var e=o.allocUnsafe(t>>>0),n=this.head,r=0;n;)i(n.data,e,r),r+=n.data.length,n=n.next;return e},t}()},function(t,e,n){(function(e){function n(t,e){function n(){if(!i){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),i=!0}return t.apply(this,arguments)}if(r("noDeprecation"))return t;var i=!1;return n}function r(t){try{if(!e.localStorage)return!1}catch(t){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=n}).call(e,n(4))},function(t,e,n){"use strict";function r(t){if(!(this instanceof r))return new r(t);i.call(this,t)}t.exports=r;var i=n(47),o=n(13);o.inherits=n(0),o.inherits(r,i),r.prototype._transform=function(t,e,n){n(null,t)}},function(t,e,n){t.exports=n(24)},function(t,e,n){t.exports=n(11)},function(t,e,n){t.exports=n(23).Transform},function(t,e,n){t.exports=n(23).PassThrough},function(t,e,n){(function(e){function r(){this.init(),this._w=f,u.call(this,64,56)}function i(t){return t<<5|t>>>27}function o(t){return t<<30|t>>>2}function s(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}var a=n(0),u=n(12),c=[1518500249,1859775393,-1894007588,-899497514],f=new Array(80);a(r,u),r.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,a=0|this._c,u=0|this._d,f=0|this._e,l=0;l<16;++l)e[l]=t.readInt32BE(4*l);for(;l<80;++l)e[l]=e[l-3]^e[l-8]^e[l-14]^e[l-16];for(var p=0;p<80;++p){var h=~~(p/20),d=i(n)+s(h,r,a,u)+f+e[p]+c[h]|0;f=u,u=a,a=o(r),r=n,n=d}this._a=n+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=u+this._d|0,this._e=f+this._e|0},r.prototype._hash=function(){var t=new e(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=l,c.call(this,64,56)}function i(t){return t<<1|t>>>31}function o(t){return t<<5|t>>>27}function s(t){return t<<30|t>>>2}function a(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}var u=n(0),c=n(12),f=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);u(r,c),r.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,u=0|this._c,c=0|this._d,l=0|this._e,p=0;p<16;++p)e[p]=t.readInt32BE(4*p);for(;p<80;++p)e[p]=i(e[p-3]^e[p-8]^e[p-14]^e[p-16]);for(var h=0;h<80;++h){var d=~~(h/20),v=o(n)+a(d,r,u,c)+l+e[h]+f[d]|0;l=c,c=u,u=s(r),r=n,n=v}this._a=n+this._a|0,this._b=r+this._b|0,this._c=u+this._c|0,this._d=c+this._d|0,this._e=l+this._e|0},r.prototype._hash=function(){var t=new e(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=a,s.call(this,64,56)}var i=n(0),o=n(49),s=n(12),a=new Array(64);i(r,o),r.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},r.prototype._hash=function(){var t=new e(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=a,s.call(this,128,112)}var i=n(0),o=n(50),s=n(12),a=new Array(160);i(r,o),r.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},r.prototype._hash=function(){function t(t,e,r){n.writeInt32BE(t,r),n.writeInt32BE(e,r+4)}var n=new e(48);return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),n},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){"use strict";(function(e,n){function r(){for(var t=0;tn){e=("rmd160"===t?new c:f(t)).update(e).digest()}else e.lengthu?e=t(e):e.length=r)return{value:t,entropy:e};var i=e.divmod(n.length);return t+=n[i.remainder],s(t,i.quotient,n,r)}function a(t,e,n){for(var r=0;r?@[\\]^_`{|}~"}},function(t,e,n){(function(t){var n,r,i=function(t){"use strict";function e(t,n){return void 0===t?e[0]:void 0!==n?10==+n?z(t):tt(t,n):z(t)}function n(t,e){this.value=t,this.sign=e,this.isSmall=!1}function r(t){this.value=t,this.sign=t<0,this.isSmall=!0}function o(t){return-G0?Math.floor(t):Math.ceil(t)}function l(t,e){var n,r,i=t.length,o=e.length,s=new Array(i),a=0,u=H;for(r=0;r=u?1:0,s[r]=n-a*u;for(;r0&&s.push(a),s}function p(t,e){return t.length>=e.length?l(t,e):l(e,t)}function h(t,e){var n,r,i=t.length,o=new Array(i),s=H;for(r=0;r0;)o[r++]=e%s,e=Math.floor(e/s);return o}function d(t,e){var n,r,i=t.length,o=e.length,s=new Array(i),a=0,c=H;for(n=0;n=0?o=d(t,e):(o=d(e,t),i=!i),o=a(o),"number"==typeof o?(i&&(o=-o),new r(o)):new n(o,i)}function g(t,e,i){var o,s,u=t.length,c=new Array(u),f=-e,l=H;for(o=0;o0;)o[r++]=a%s,a=Math.floor(a/s);return o}function _(t,e){for(var n=[];e-- >0;)n.push(0);return n.concat(t)}function b(t,e){var n=Math.max(t.length,e.length);if(n<=30)return m(t,e);n=Math.ceil(n/2);var r=t.slice(n),i=t.slice(0,n),o=e.slice(n),s=e.slice(0,n),a=b(i,s),c=b(r,o),f=b(p(i,r),p(s,o)),l=p(p(a,_(d(d(f,a),c),n)),_(c,2*n));return u(l),l}function w(t,e){return-.012*t-.012*e+15e-6*t*e>0}function x(t,e,r){return t=0;r--){for(n=h-1,m[r+p]!==v&&(n=Math.floor((m[r+p]*h+m[r+p-1])/v)),i=0,o=0,u=_.length,s=0;sf&&(i=(i+1)*h),n=Math.ceil(i/o);do{if(s=y(e,n),k(s,p)<=0)break;n--}while(n);l.push(n),p=d(p,s)}return l.reverse(),[a(l),a(p)]}function A(t,e){var n,r,i,o,s=t.length,a=c(s),u=H;for(i=0,n=s-1;n>=0;--n)o=i*u+t[n],r=f(o/e),i=o-r*e,a[n]=0|r;return[a,0|i]}function O(t,i){var o,u,c=z(i),l=t.value,p=c.value;if(0===p)throw new Error("Cannot divide by zero");if(t.isSmall)return c.isSmall?[new r(f(l/p)),new r(l%p)]:[e[0],t];if(c.isSmall){if(1===p)return[t,e[0]];if(-1==p)return[t.negate(),e[0]];var h=Math.abs(p);if(he.length?1:-1;for(var n=t.length-1;n>=0;n--)if(t[n]!==e[n])return t[n]>e[n]?1:-1;return 0}function P(t){var e=t.abs();return!e.isUnit()&&(!!(e.equals(2)||e.equals(3)||e.equals(5))||!(e.isEven()||e.isDivisibleBy(3)||e.isDivisibleBy(5))&&(!!e.lesser(25)||void 0))}function T(t){return("number"==typeof t||"string"==typeof t)&&+Math.abs(t)<=H||t instanceof n&&t.value.length<=1}function j(t,e,n){e=z(e);for(var r=t.isNegative(),o=e.isNegative(),s=r?t.not():t,a=o?e.not():e,u=[],c=[],f=!1,l=!1;!f||!l;)s.isZero()?(f=!0,u.push(r?1:0)):r?u.push(s.isEven()?1:0):u.push(s.isEven()?0:1),a.isZero()?(l=!0,c.push(o?1:0)):o?c.push(a.isEven()?1:0):c.push(a.isEven()?0:1),s=s.over(2),a=a.over(2);for(var p=[],h=0;h=0;p--){var h=l?s.value[p]:H,d=f(Math.random()*h);c.unshift(d),d=0;i--)o=o.add(t[i].times(s)),s=s.times(n);return r?o.negate():o}function D(t){var e=t.value;return"number"==typeof e&&(e=[e]),1===e.length&&e[0]<=35?"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e[0]):"<"+e+">"}function N(t,e){if(e=i(e),e.isZero()){if(t.isZero())return"0";throw new Error("Cannot convert nonzero numbers to base 0.")}if(e.equals(-1))return t.isZero()?"0":t.isNegative()?new Array(1-t).join("10"):"1"+new Array(+t).join("01");var n="";if(t.isNegative()&&e.isPositive()&&(n="-",t=t.abs()),e.equals(1))return t.isZero()?"0":n+new Array(+t+1).join(1);for(var r,o=[],s=t;s.isNegative()||s.compareAbs(e)>=0;){r=s.divmod(e),s=r.quotient;var a=r.remainder;a.isNegative()&&(a=e.minus(a).abs(),s=s.next()),o.push(D(a))}return o.push(D(s)),n+o.reverse().join("")}function F(t){if(o(+t)){var e=+t;if(e===f(e))return new r(e);throw"Invalid integer: "+t}var i="-"===t[0];i&&(t=t.slice(1));var s=t.split(/e/i);if(s.length>2)throw new Error("Invalid integer: "+s.join("e"));if(2===s.length){var a=s[1];if("+"===a[0]&&(a=a.slice(1)),(a=+a)!==f(a)||!o(a))throw new Error("Invalid integer: "+a+" is not a valid exponent.");var c=s[0],l=c.indexOf(".");if(l>=0&&(a-=c.length-l-1,c=c.slice(0,l)+c.slice(l+1)),a<0)throw new Error("Cannot include negative exponent part for integers");c+=new Array(a+1).join("0"),t=c}if(!/^([0-9][0-9]*)$/.test(t))throw new Error("Invalid integer: "+t);for(var p=[],h=t.length,d=W,v=h-d;h>0;)p.push(+t.slice(v,h)),v-=d,v<0&&(v=0),h-=d;return u(p),new n(p,i)}function q(t){if(o(t)){if(t!==f(t))throw new Error(t+" is not an integer.");return new r(t)}return F(t.toString())}function z(t){return"number"==typeof t?q(t):"string"==typeof t?F(t):t}var H=1e7,W=7,G=9007199254740992,Y=s(G),V=Math.log(G);n.prototype=Object.create(e.prototype),r.prototype=Object.create(e.prototype),n.prototype.add=function(t){var e=z(t);if(this.sign!==e.sign)return this.subtract(e.negate());var r=this.value,i=e.value;return e.isSmall?new n(h(r,Math.abs(i)),this.sign):new n(p(r,i),this.sign)},n.prototype.plus=n.prototype.add,r.prototype.add=function(t){var e=z(t),i=this.value;if(i<0!==e.sign)return this.subtract(e.negate());var a=e.value;if(e.isSmall){if(o(i+a))return new r(i+a);a=s(Math.abs(a))}return new n(h(a,Math.abs(i)),i<0)},r.prototype.plus=r.prototype.add,n.prototype.subtract=function(t){var e=z(t);if(this.sign!==e.sign)return this.add(e.negate());var n=this.value,r=e.value;return e.isSmall?g(n,Math.abs(r),this.sign):v(n,r,this.sign)},n.prototype.minus=n.prototype.subtract,r.prototype.subtract=function(t){var e=z(t),n=this.value;if(n<0!==e.sign)return this.add(e.negate());var i=e.value;return e.isSmall?new r(n-i):g(i,Math.abs(n),n>=0)},r.prototype.minus=r.prototype.subtract,n.prototype.negate=function(){return new n(this.value,!this.sign)},r.prototype.negate=function(){var t=this.sign,e=new r(-this.value);return e.sign=!t,e},n.prototype.abs=function(){return new n(this.value,!1)},r.prototype.abs=function(){return new r(Math.abs(this.value))},n.prototype.multiply=function(t){var r,i=z(t),o=this.value,a=i.value,u=this.sign!==i.sign;if(i.isSmall){if(0===a)return e[0];if(1===a)return this;if(-1===a)return this.negate();if((r=Math.abs(a))r?1:-1):-1},n.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=z(t),n=this.value,r=e.value;return this.sign!==e.sign?e.sign?1:-1:e.isSmall?this.sign?-1:1:k(n,r)*(this.sign?-1:1)},n.prototype.compareTo=n.prototype.compare,r.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=z(t),n=this.value,r=e.value;return e.isSmall?n==r?0:n>r?1:-1:n<0!==e.sign?n<0?-1:1:n<0?1:-1},r.prototype.compareTo=r.prototype.compare,n.prototype.equals=function(t){return 0===this.compare(t)},r.prototype.eq=r.prototype.equals=n.prototype.eq=n.prototype.equals,n.prototype.notEquals=function(t){return 0!==this.compare(t)},r.prototype.neq=r.prototype.notEquals=n.prototype.neq=n.prototype.notEquals,n.prototype.greater=function(t){return this.compare(t)>0},r.prototype.gt=r.prototype.greater=n.prototype.gt=n.prototype.greater,n.prototype.lesser=function(t){return this.compare(t)<0},r.prototype.lt=r.prototype.lesser=n.prototype.lt=n.prototype.lesser,n.prototype.greaterOrEquals=function(t){return this.compare(t)>=0},r.prototype.geq=r.prototype.greaterOrEquals=n.prototype.geq=n.prototype.greaterOrEquals,n.prototype.lesserOrEquals=function(t){return this.compare(t)<=0},r.prototype.leq=r.prototype.lesserOrEquals=n.prototype.leq=n.prototype.lesserOrEquals,n.prototype.isEven=function(){return 0==(1&this.value[0])},r.prototype.isEven=function(){return 0==(1&this.value)},n.prototype.isOdd=function(){return 1==(1&this.value[0])},r.prototype.isOdd=function(){return 1==(1&this.value)},n.prototype.isPositive=function(){return!this.sign},r.prototype.isPositive=function(){return this.value>0},n.prototype.isNegative=function(){return this.sign},r.prototype.isNegative=function(){return this.value<0},n.prototype.isUnit=function(){return!1},r.prototype.isUnit=function(){return 1===Math.abs(this.value)},n.prototype.isZero=function(){return!1},r.prototype.isZero=function(){return 0===this.value},n.prototype.isDivisibleBy=function(t){var n=z(t),r=n.value;return 0!==r&&(1===r||(2===r?this.isEven():this.mod(n).equals(e[0])))},r.prototype.isDivisibleBy=n.prototype.isDivisibleBy,n.prototype.isPrime=function(){var t=P(this);if(void 0!==t)return t;for(var n,r,o,s,a=this.abs(),u=a.prev(),c=[2,3,5,7,11,13,17,19],f=u;f.isEven();)f=f.divide(2);for(o=0;o-G?new r(t-1):new n(Y,!0)};for(var K=[1];K[K.length-1]<=H;)K.push(2*K[K.length-1]);var X=K.length,J=K[X-1];n.prototype.shiftLeft=function(t){if(!T(t))throw new Error(String(t)+" is too large for shifting.");if((t=+t)<0)return this.shiftRight(-t);for(var e=this;t>=X;)e=e.multiply(J),t-=X-1;return e.multiply(K[t])},r.prototype.shiftLeft=n.prototype.shiftLeft,n.prototype.shiftRight=function(t){var e;if(!T(t))throw new Error(String(t)+" is too large for shifting.");if((t=+t)<0)return this.shiftLeft(-t);for(var n=this;t>=X;){if(n.isZero())return n;e=O(n,J),n=e[1].isNegative()?e[0].prev():e[0],t-=X-1}return e=O(n,K[t]),e[1].isNegative()?e[0].prev():e[0]},r.prototype.shiftRight=n.prototype.shiftRight,n.prototype.not=function(){return this.negate().prev()},r.prototype.not=n.prototype.not,n.prototype.and=function(t){return j(this,t,function(t,e){return t&e})},r.prototype.and=n.prototype.and,n.prototype.or=function(t){return j(this,t,function(t,e){return t|e})},r.prototype.or=n.prototype.or,n.prototype.xor=function(t){return j(this,t,function(t,e){return t^e})},r.prototype.xor=n.prototype.xor;var Z=1<<30,Q=(H&-H)*(H&-H)|Z,tt=function(t,e){var n=t.length;if(2<=e&&e<=36&&n<=V/Math.log(e))return new r(parseInt(t,e));e=z(e);var i,o=[],s="-"===t[0];for(i=s?1:0;i"!==t[i]);o.push(z(t.slice(c+1,i)))}}return U(o,e,s)};n.prototype.toString=function(t){if(void 0===t&&(t=10),10!==t)return N(this,t);for(var e,n=this.value,r=n.length,i=String(n[--r]),o="0000000";--r>=0;)e=String(n[r]),i+=o.slice(e.length)+e;return(this.sign?"-":"")+i},r.prototype.toString=function(t){return void 0===t&&(t=10),10!=t?N(this,t):String(this.value)},n.prototype.valueOf=function(){return+this.toString()},n.prototype.toJSNumber=n.prototype.valueOf,r.prototype.valueOf=function(){return this.value},r.prototype.toJSNumber=r.prototype.valueOf;for(var et=0;et<1e3;et++)e[et]=new r(et),et>0&&(e[-et]=new r(-et));return e.one=e[1],e.zero=e[0],e.minusOne=e[-1],e.max=L,e.min=M,e.gcd=$,e.lcm=B,e.isInstance=function(t){return t instanceof n||t instanceof r},e.randBetween=I,e.fromArray=function(t,e,n){return U(t.map(z),z(e||10),n)},e}();void 0!==t&&t.hasOwnProperty("exports")&&(t.exports=i),n=[],void 0!==(r=function(){return i}.apply(e,n))&&(t.exports=r)}).call(e,n(35)(t))},function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}/* +t.exports=function(t){return null!=t&&(n(t)||r(t)||!!t._isBuffer)}},function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new s,response:new s}}var i=n(18),o=n(3),s=n(81),a=n(82);r.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),t=o.merge(i,this.defaults,{method:"get"},t),t.method=t.method.toLowerCase();var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head","options"],function(t){r.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(30);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t}},function(t,e,n){"use strict";function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n(3);t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var s=[];i.forEach(e,function(t,e){null!==t&&void 0!==t&&(i.isArray(t)&&(e+="[]"),i.isArray(t)||(t=[t]),i.forEach(t,function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),s.push(r(e)+"="+r(t))}))}),o=s.join("&")}return o&&(t+=(-1===t.indexOf("?")?"?":"&")+o),t}},function(t,e,n){"use strict";var r=n(3),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,s={};return t?(r.forEach(t.split("\n"),function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(s[e]&&i.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}}),s):s}},function(t,e,n){"use strict";var r=n(3);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(i.setAttribute("href",e),e=i.href),i.setAttribute("href",e),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return e=t(window.location.href),function(n){var i=r.isString(n)?t(n):n;return i.protocol===e.protocol&&i.host===e.host}}():function(){return function(){return!0}}()},function(t,e,n){"use strict";function r(){this.message="String contains an invalid character"}function i(t){for(var e,n,i=String(t),s="",a=0,u=o;i.charAt(0|a)||(u="=",a%1);s+=u.charAt(63&e>>8-a%1*8)){if((n=i.charCodeAt(a+=.75))>255)throw new r;e=e<<8|n}return s}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=i},function(t,e,n){"use strict";var r=n(3);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,n){"use strict";function r(){this.handlers=[]}var i=n(3);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var i=n(3),o=n(83),s=n(31),a=n(18),u=n(84),c=n(85);t.exports=function(t){return r(t),t.baseURL&&!u(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return r(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return s(e)||(r(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new i(t),e(n.reason))})}var i=n(32);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDefaultProfile=e.passwordURL=e.isGuest=e.isAuthenticated=void 0;var r=n(19);e.isAuthenticated=function(t){return t.authenticated},e.isGuest=function(t){return!t.authenticated},e.passwordURL=function(t){return t.baseURL+"/#/?login="+t.password.login+"&site="+t.password.site+"&uppercase="+t.password.uppercase+"&lowercase="+t.password.lowercase+"&numbers="+t.password.numbers+"&symbols="+t.password.symbols+"&length="+t.password.length+"&counter="+t.password.counter+"&version="+t.password.version},e.isDefaultProfile=function(t){var e=!0;for(var n in r.defaultOptions)r.defaultOptions[n]!==t.password[n]&&(e=!1);return e}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var i,o=Object.assign||function(t){for(var e=1;e-1}function o(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function s(t,e){for(var n in e)t[n]=e[n];return t}function a(t,e,n){void 0===e&&(e={});var r,i=n||u;try{r=i(t||"")}catch(t){r={}}for(var o in e)r[o]=e[o];return r}function u(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=Dt(n.shift()),i=n.length>0?Dt(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]}),e):e}function c(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Nt(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(Nt(e)):r.push(Nt(e)+"="+Nt(t)))}),r.join("&")}return Nt(e)+"="+Nt(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function l(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=f(o)}catch(t){}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:h(e,i),matched:t?p(t):[]};return n&&(s.redirectedFrom=h(n,i)),Object.freeze(s)}function f(t){if(Array.isArray(t))return t.map(f);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=f(t[n]);return e}return t}function p(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function h(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;void 0===i&&(i="");var o=e||c;return(n||"/")+o(r)+i}function d(t,e){return e===qt?t===e:!!e&&(t.path&&e.path?t.path.replace(Ft,"")===e.path.replace(Ft,"")&&t.hash===e.hash&&v(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&v(t.query,e.query)&&v(t.params,e.params)))}function v(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],i=e[n];return"object"==typeof r&&"object"==typeof i?v(r,i):String(r)===String(i)})}function g(t,e){return 0===t.path.replace(Ft,"/").indexOf(e.path.replace(Ft,"/"))&&(!e.hash||t.hash===e.hash)&&m(t.query,e.query)}function m(t,e){for(var n in e)if(!(n in t))return!1;return!0}function y(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){if(/\b_blank\b/i.test(t.currentTarget.getAttribute("target")))return}return t.preventDefault&&t.preventDefault(),!0}}function _(t){if(t)for(var e,n=0;n=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function x(t){return t.replace(/\/\//g,"/")}function C(t,e){for(var n,r=[],i=0,o=0,s="",a=e&&e.delimiter||"/";null!=(n=Qt.exec(t));){var u=n[0],c=n[1],l=n.index;if(s+=t.slice(o,l),o=l+u.length,c)s+=c[1];else{var f=t[o],p=n[2],h=n[3],d=n[4],v=n[5],g=n[6],m=n[7];s&&(r.push(s),s="");var y=null!=p&&null!=f&&f!==p,_="+"===g||"*"===g,w="?"===g||"*"===g,b=n[2]||a,E=d||v;r.push({name:h||i++,prefix:p||"",delimiter:b,optional:w,repeat:_,partial:y,asterisk:!!m,pattern:E?T(E):m?".*":"[^"+P(b)+"]+?"})}}return o-1&&(i.params[p]=n.params[p]);if(a)return i.path=U(a.path,i.params,'named route "'+o+'"'),s(a,i,r)}else if(i.path){i.params={};for(var h=0;h=t.length?n():t[i]?e(t[i],function(){r(i+1)}):r(i+1)};r(0)}function lt(t){return function(e,n,r){var o=!1,s=0,a=null;ft(t,function(t,e,n,u){if("function"==typeof t&&void 0===t.cid){o=!0,s++;var c,l=dt(function(e){ht(e)&&(e=e.default),t.resolved="function"==typeof e?e:Mt.extend(e),n.components[u]=e,--s<=0&&r()}),f=dt(function(t){var e="Failed to resolve async component "+u+": "+t;a||(a=i(t)?t:new Error(e),r(a))});try{c=t(l,f)}catch(t){f(t)}if(c)if("function"==typeof c.then)c.then(l,f);else{var p=c.component;p&&"function"==typeof p.then&&p.then(l,f)}}}),o||r()}}function ft(t,e){return pt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function pt(t){return Array.prototype.concat.apply([],t)}function ht(t){return t.__esModule||oe&&"Module"===t[Symbol.toStringTag]}function dt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}function vt(t){if(!t)if(Gt){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function gt(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e)+"#"+t}function Tt(t){ne?at(Pt(t)):window.location.hash=t}function Rt(t){ne?ut(Pt(t)):window.location.replace(Pt(t))}function jt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Lt(t,e,n){var r="hash"===n?"#"+e:e;return t?x(t+"/"+r):r}Object.defineProperty(e,"__esModule",{value:!0});var Mt,$t={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,a=e.data;a.routerView=!0;for(var u=i.$createElement,c=n.name,l=i.$route,f=i._routerViewCache||(i._routerViewCache={}),p=0,h=!1;i&&i._routerRoot!==i;)i.$vnode&&i.$vnode.data.routerView&&p++,i._inactive&&(h=!0),i=i.$parent;if(a.routerViewDepth=p,h)return u(f[c],a,r);var d=l.matched[p];if(!d)return f[c]=null,u();var v=f[c]=d.components[c];a.registerRouteInstance=function(t,e){var n=d.instances[c];(e&&n!==t||!e&&n===t)&&(d.instances[c]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){d.instances[c]=e.componentInstance};var g=a.props=o(l,d.props&&d.props[c]);if(g){g=a.props=s({},g);var m=a.attrs=a.attrs||{};for(var y in g)v.props&&y in v.props||(m[y]=g[y],delete g[y])}return u(v,a,r)}},Bt=/[!'()*]/g,It=function(t){return"%"+t.charCodeAt(0).toString(16)},Ut=/%2C/g,Nt=function(t){return encodeURIComponent(t).replace(Bt,It).replace(Ut,",")},Dt=decodeURIComponent,Ft=/\/?$/,qt=l(null,{path:"/"}),Ht=[String,Object],zt=[String,Array],Wt={name:"router-link",props:{to:{type:Ht,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:zt,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),o=i.location,s=i.route,a=i.href,u={},c=n.options.linkActiveClass,f=n.options.linkExactActiveClass,p=null==c?"router-link-active":c,h=null==f?"router-link-exact-active":f,v=null==this.activeClass?p:this.activeClass,m=null==this.exactActiveClass?h:this.exactActiveClass,w=o.path?l(null,o,null,n):s;u[m]=d(r,w),u[v]=this.exact?u[m]:g(r,w);var b=function(t){y(t)&&(e.replace?n.replace(o):n.push(o))},E={click:y};Array.isArray(this.event)?this.event.forEach(function(t){E[t]=b}):E[this.event]=b;var x={class:u};if("a"===this.tag)x.on=E,x.attrs={href:a};else{var C=_(this.$slots.default);if(C){C.isStatic=!1;var S=Mt.util.extend;(C.data=S({},C.data)).on=E;(C.data.attrs=S({},C.data.attrs)).href=a}else x.on=E}return t(this.tag,x,this.$slots.default)}},Gt="undefined"!=typeof window,Yt=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Vt=I,Kt=C,Xt=S,Jt=k,Zt=B,Qt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Vt.parse=Kt,Vt.compile=Xt,Vt.tokensToFunction=Jt,Vt.tokensToRegExp=Zt;var te=Object.create(null),ee=Object.create(null),ne=Gt&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),re=Gt&&window.performance&&window.performance.now?window.performance:Date,ie=it(),oe="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,se=function(t,e){this.router=t,this.base=vt(e),this.current=qt,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};se.prototype.listen=function(t){this.cb=t},se.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},se.prototype.onError=function(t){this.errorCbs.push(t)},se.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},se.prototype.confirmTransition=function(t,e,n){var o=this,s=this.current,a=function(t){i(t)&&(o.errorCbs.length?o.errorCbs.forEach(function(e){e(t)}):(r(!1,"uncaught error during route navigation:"),console.error(t))),n&&n(t)};if(d(t,s)&&t.matched.length===s.matched.length)return this.ensureURL(),a();var u=gt(this.current.matched,t.matched),c=u.updated,l=u.deactivated,f=u.activated,p=[].concat(_t(l),this.router.beforeHooks,wt(c),f.map(function(t){return t.beforeEnter}),lt(f));this.pending=t;var h=function(e,n){if(o.pending!==t)return a();try{e(t,s,function(t){!1===t||i(t)?(o.ensureURL(!0),a(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(a(),"object"==typeof t&&t.replace?o.replace(t):o.push(t)):n(t)})}catch(t){a(t)}};ct(p,h,function(){var n=[];ct(Et(f,n,function(){return o.current===t}).concat(o.router.resolveHooks),h,function(){if(o.pending!==t)return a();o.pending=null,e(t),o.router.app&&o.router.app.$nextTick(function(){n.forEach(function(t){t()})})})})},se.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var ae=function(t){function e(e,n){var r=this;t.call(this,e,n);var i=e.options.scrollBehavior;i&&V();var o=St(this.base);window.addEventListener("popstate",function(t){var n=r.current,s=St(r.base);r.current===qt&&s===o||r.transitionTo(s,function(t){i&&K(e,t,n,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){at(x(r.base+t.fullPath)),K(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){ut(x(r.base+t.fullPath)),K(r.router,t,o,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(St(this.base)!==this.current.fullPath){var e=x(this.base+this.current.fullPath);t?at(e):ut(e)}},e.prototype.getCurrentLocation=function(){return St(this.base)},e}(se),ue=function(t){function e(e,n,r){t.call(this,e,n),r&&At(this.base)||Ot()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this,e=this.router,n=e.options.scrollBehavior,r=ne&&n;r&&V(),window.addEventListener(ne?"popstate":"hashchange",function(){var e=t.current;Ot()&&t.transitionTo(kt(),function(n){r&&K(t.router,n,e,!0),ne||Rt(n.fullPath)})})},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){Tt(t.fullPath),K(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){Rt(t.fullPath),K(r.router,t,o,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;kt()!==e&&(t?Tt(e):Rt(e))},e.prototype.getCurrentLocation=function(){return kt()},e}(se),ce=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(se),le=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=W(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!ne&&!1!==t.fallback,this.fallback&&(e="hash"),Gt||(e="abstract"),this.mode=e,e){case"history":this.history=new ae(this,t.base);break;case"hash":this.history=new ue(this,t.base,this.fallback);break;case"abstract":this.history=new ce(this,t.base)}},fe={currentRoute:{configurable:!0}};le.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},fe.currentRoute.get=function(){return this.history&&this.history.current},le.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof ae)n.transitionTo(n.getCurrentLocation());else if(n instanceof ue){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},le.prototype.beforeEach=function(t){return jt(this.beforeHooks,t)},le.prototype.beforeResolve=function(t){return jt(this.resolveHooks,t)},le.prototype.afterEach=function(t){return jt(this.afterHooks,t)},le.prototype.onReady=function(t,e){this.history.onReady(t,e)},le.prototype.onError=function(t){this.history.onError(t)},le.prototype.push=function(t,e,n){this.history.push(t,e,n)},le.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},le.prototype.go=function(t){this.history.go(t)},le.prototype.back=function(){this.go(-1)},le.prototype.forward=function(){this.go(1)},le.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},le.prototype.resolve=function(t,e,n){var r=H(t,e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:Lt(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},le.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==qt&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(le.prototype,fe),le.install=w,le.version="3.0.1",Gt&&window.Vue&&window.Vue.use(le),e.default=le},function(t,e,n){"use strict";function r(t){n(97)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(99),o=n.n(i),s=n(131),a=n(2),u=r,c=a(o.a,s.a,!1,u,null,null);e.default=c.exports},function(t,e,n){var r=n(98);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("1407c028",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#signInButton{border-right:none}#registerButton{border-left:none}",""])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(14),o=r(i),s=n(20),a=r(s),u=n(11),c=r(u);e.default={data:function(){return{email:"",password:"",baseURL:"https://lesspass.com"}},components:{MasterPassword:a.default},methods:{formIsValid:function(){return!!(this.email&&this.password&&this.baseURL)||(c.default.error(this.$t("LoginFormInvalid","LessPass URL, email, and password are mandatory")),!1)},signIn:function(){var t=this;if(this.formIsValid()){var e=this.baseURL;o.default.login({email:this.email,password:this.password},{baseURL:e}).then(function(n){t.$store.dispatch("login",{token:n.token,baseURL:e}),t.$router.push({name:"home"})}).catch(function(n){void 0===n.response&&"https://lesspass.com"!==e?c.default.error(t.$t("DBNotRunning","Your LessPass Database is not running")):n.response&&400===n.response.status?c.default.error(t.$t("LoginIncorrectError","The email and password you entered did not match our records. Please double-check and try again.")):c.default.displayGenericError()})}},register:function(){var t=this;if(this.formIsValid()){var e=this.baseURL;o.default.register({email:this.email,password:this.password},{baseURL:e}).then(function(){c.default.success(t.$t("WelcomeRegister","Welcome {email}, thank you for signing up.",{email:t.email})),t.signIn()}).catch(function(e){e.response&&void 0!==e.response.data.email?(-1!==e.response.data.email[0].indexOf("already exists")&&c.default.error(t.$t("EmailAlreadyExist","This email is already registered. Want to login or recover your password?")),-1!==e.response.data.email[0].indexOf("valid email")&&c.default.error(t.$t("EmailInvalid","Please enter a valid email"))):c.default.displayGenericError()})}}}}},function(t,e,n){var r=n(101);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("6bd275f4",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#fingerprint{min-width:90px;text-align:center;background-color:transparent;color:#fff}#fingerprint i{color:#000;position:relative;padding:0;text-shadow:1px 1px 0 #fff;font-size:1.3em}",""])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(35),o=r(i),s=n(129),a=r(s),u=n(19),c=r(u);e.default={name:"masterPassword",props:{value:String,label:String,email:String,showEncryptButton:{type:Boolean,default:!1},EncryptButtonText:String},data:function(){return{fingerprint:"",icon1:"",icon2:"",icon3:"",color1:"",color2:"",color3:""}},methods:{updateValue:function(t){var e=Math.random().toString(36).substring(7);this.setFingerprint(e),this.showRealFingerprint(t),this.$refs.passwordField.value=t,this.$emit("input",t)},togglePasswordType:function(t){"password"===t.type?t.type="text":t.type="password"},hidePassword:function(t){t.type="password"},getColor:function(t){var e=["#000000","#074750","#009191","#FF6CB6","#FFB5DA","#490092","#006CDB","#B66DFF","#6DB5FE","#B5DAFE","#920000","#924900","#DB6D00","#24FE23"];return e[parseInt(t,16)%e.length]},getIcon:function(t){var e=["fa-hashtag","fa-heart","fa-hotel","fa-university","fa-plug","fa-ambulance","fa-bus","fa-car","fa-plane","fa-rocket","fa-ship","fa-subway","fa-truck","fa-jpy","fa-eur","fa-btc","fa-usd","fa-gbp","fa-archive","fa-area-chart","fa-bed","fa-beer","fa-bell","fa-binoculars","fa-birthday-cake","fa-bomb","fa-briefcase","fa-bug","fa-camera","fa-cart-plus","fa-certificate","fa-coffee","fa-cloud","fa-coffee","fa-comment","fa-cube","fa-cutlery","fa-database","fa-diamond","fa-exclamation-circle","fa-eye","fa-flag","fa-flask","fa-futbol-o","fa-gamepad","fa-graduation-cap"];return e[parseInt(t,16)%e.length]},setFingerprint:function(t){var e=this;o.default.createFingerprint(t).then(function(t){e.fingerprint=t;var n=t.substring(0,6);e.icon1=e.getIcon(n),e.color1=e.getColor(n);var r=t.substring(6,12);e.icon2=e.getIcon(r),e.color2=e.getColor(r);var i=t.substring(12,18);e.icon3=e.getIcon(i),e.color3=e.getColor(i)})},showRealFingerprint:(0,a.default)(function(t){this.setFingerprint(t)},500),encryptMasterPassword:function(){var t=this,e=this.$refs.passwordField.value;return o.default.generatePassword("lesspass.com",this.email,e,c.default).then(function(e){t.updateValue(e)})}}}},function(t,e,n){(function(e){function r(t,e,n){var r=void 0!==n?n:{},i=r.iterations||8192,o=r.keylen||32;return h(e,t,i,o,"sha256")}function i(t,e,n){return s(t,e,n).then(function(t){return u(t,n.template||a(n))})}function o(t,n){return new v(function(r){r(d("sha256",new e(t)).update(n).digest("hex"))})}function s(t,e,n){var r=void 0!==n?n:{},i=r.length||12;return o(t,e+(r.counter||1).toString()).then(function(t){return t.substring(0,i)})}function a(t){var e={lowercase:"vc",uppercase:"VC",numbers:"n",symbols:"s"},n="";return Object.keys(e).forEach(function(r){t.hasOwnProperty(r)&&t[r]&&(n+=e[r])}),n}function u(t,e){var n="";return c(t).forEach(function(t,r){var i=l(e,r);n+=f(i,t)}),n}function c(t){for(var e=[],n=0;n0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function i(t){return 3*t.length/4-r(t)}function o(t){var e,n,i,o,s,a=t.length;o=r(t),s=new f(3*a/4-o),n=o>0?a-4:a;var u=0;for(e=0;e>16&255,s[u++]=i>>8&255,s[u++]=255&i;return 2===o?(i=l[t.charCodeAt(e)]<<2|l[t.charCodeAt(e+1)]>>4,s[u++]=255&i):1===o&&(i=l[t.charCodeAt(e)]<<10|l[t.charCodeAt(e+1)]<<4|l[t.charCodeAt(e+2)]>>2,s[u++]=i>>8&255,s[u++]=255&i),s}function s(t){return c[t>>18&63]+c[t>>12&63]+c[t>>6&63]+c[63&t]}function a(t,e,n){for(var r,i=[],o=e;ou?u:s+16383));return 1===r?(e=t[n-1],i+=c[e>>2],i+=c[e<<4&63],i+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],i+=c[e>>10],i+=c[e>>4&63],i+=c[e<<2&63],i+="="),o.push(i),o.join("")}e.byteLength=i,e.toByteArray=o,e.fromByteArray=u;for(var c=[],l=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,d=p.length;h>1,l=-7,f=n?i-1:0,p=n?-1:1,h=t[e+f];for(f+=p,o=h&(1<<-l)-1,h>>=-l,l+=a;l>0;o=256*o+t[e+f],f+=p,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=256*s+t[e+f],f+=p,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),o-=c}return(h?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,u,c=8*o-i-1,l=(1<>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,d=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),e+=s+f>=1?p/u:p*Math.pow(2,1-f),e*u>=2&&(s++,u/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(e*u-1)*Math.pow(2,i),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;t[n+h]=255&a,h+=d,a/=256,i-=8);for(s=s<0;t[n+h]=255&s,h+=d,s/=256,c-=8);t[n+h-d]|=128*v}},function(t,e,n){e.pbkdf2=n(107),e.pbkdf2Sync=n(39)},function(t,e,n){(function(e,r){function i(t){if(e.process&&!e.process.browser)return Promise.resolve(!1);if(!p||!p.importKey||!p.deriveBits)return Promise.resolve(!1);if(void 0!==d[t])return d[t];a=a||f.alloc(8);var n=o(a,a,10,128,t).then(function(){return!0}).catch(function(){return!1});return d[t]=n,n}function o(t,e,n,r,i){return p.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then(function(t){return p.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:i}},t,r<<3)}).then(function(t){return f.from(t)})}function s(t,e){t.then(function(t){r.nextTick(function(){e(null,t)})},function(t){r.nextTick(function(){e(t)})})}var a,u=n(37),c=n(38),l=n(39),f=n(8).Buffer,p=e.crypto&&e.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];t.exports=function(t,n,a,p,d,v){if(f.isBuffer(t)||(t=f.from(t,c)),f.isBuffer(n)||(n=f.from(n,c)),u(a,p),"function"==typeof d&&(v=d,d=void 0),"function"!=typeof v)throw new Error("No callback provided to pbkdf2");d=d||"sha1";var g=h[d.toLowerCase()];if(!g||"function"!=typeof e.Promise)return r.nextTick(function(){var e;try{e=l(t,n,a,p,d)}catch(t){return v(t)}v(null,e)});s(i(g).then(function(e){return e?o(t,n,a,p,g):l(t,n,a,p,d)}),v)}}).call(e,n(4),n(7))},function(t,e,n){"use strict";(function(e){function n(t){if(t.length%r!=0){var n=t.length+(r-t.length%r);t=e.concat([t,i],n)}for(var o=new Array(t.length>>>2),s=0,a=0;s=this._blockSize;){for(var o=this._blockOffset;o0;++s)this._length[s]+=a,(a=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*a);return this},r.prototype._update=function(t){throw new Error("_update is not implemented")},r.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();return void 0!==t&&(e=e.toString(t)),e},r.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=r}).call(e,n(1).Buffer)},function(t,e){},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,n){t.copy(e,n)}var o=n(8).Buffer;t.exports=function(){function t(){r(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},t.prototype.concat=function(t){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var e=o.allocUnsafe(t>>>0),n=this.head,r=0;n;)i(n.data,e,r),r+=n.data.length,n=n.next;return e},t}()},function(t,e,n){(function(e){function n(t,e){function n(){if(!i){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),i=!0}return t.apply(this,arguments)}if(r("noDeprecation"))return t;var i=!1;return n}function r(t){try{if(!e.localStorage)return!1}catch(t){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=n}).call(e,n(4))},function(t,e,n){"use strict";function r(t){if(!(this instanceof r))return new r(t);i.call(this,t)}t.exports=r;var i=n(46),o=n(13);o.inherits=n(0),o.inherits(r,i),r.prototype._transform=function(t,e,n){n(null,t)}},function(t,e,n){t.exports=n(24)},function(t,e,n){t.exports=n(10)},function(t,e,n){t.exports=n(23).Transform},function(t,e,n){t.exports=n(23).PassThrough},function(t,e,n){(function(e){function r(){this.init(),this._w=l,u.call(this,64,56)}function i(t){return t<<5|t>>>27}function o(t){return t<<30|t>>>2}function s(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}var a=n(0),u=n(12),c=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);a(r,u),r.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,a=0|this._c,u=0|this._d,l=0|this._e,f=0;f<16;++f)e[f]=t.readInt32BE(4*f);for(;f<80;++f)e[f]=e[f-3]^e[f-8]^e[f-14]^e[f-16];for(var p=0;p<80;++p){var h=~~(p/20),d=i(n)+s(h,r,a,u)+l+e[p]+c[h]|0;l=u,u=a,a=o(r),r=n,n=d}this._a=n+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=u+this._d|0,this._e=l+this._e|0},r.prototype._hash=function(){var t=new e(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=f,c.call(this,64,56)}function i(t){return t<<1|t>>>31}function o(t){return t<<5|t>>>27}function s(t){return t<<30|t>>>2}function a(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}var u=n(0),c=n(12),l=[1518500249,1859775393,-1894007588,-899497514],f=new Array(80);u(r,c),r.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,u=0|this._c,c=0|this._d,f=0|this._e,p=0;p<16;++p)e[p]=t.readInt32BE(4*p);for(;p<80;++p)e[p]=i(e[p-3]^e[p-8]^e[p-14]^e[p-16]);for(var h=0;h<80;++h){var d=~~(h/20),v=o(n)+a(d,r,u,c)+f+e[h]+l[d]|0;f=c,c=u,u=s(r),r=n,n=v}this._a=n+this._a|0,this._b=r+this._b|0,this._c=u+this._c|0,this._d=c+this._d|0,this._e=f+this._e|0},r.prototype._hash=function(){var t=new e(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=a,s.call(this,64,56)}var i=n(0),o=n(48),s=n(12),a=new Array(64);i(r,o),r.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},r.prototype._hash=function(){var t=new e(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=a,s.call(this,128,112)}var i=n(0),o=n(49),s=n(12),a=new Array(160);i(r,o),r.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},r.prototype._hash=function(){function t(t,e,r){n.writeInt32BE(t,r),n.writeInt32BE(e,r+4)}var n=new e(48);return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),n},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){"use strict";(function(e,n){function r(){for(var t=0;tn){e=("rmd160"===t?new c:l(t)).update(e).digest()}else e.lengthu?e=t(e):e.length=r)return{value:t,entropy:e};var i=e.divmod(n.length);return t+=n[i.remainder],s(t,i.quotient,n,r)}function a(t,e,n){for(var r=0;r?@[\\]^_`{|}~"}},function(t,e,n){(function(t){var n,r,i=function(t){"use strict";function e(t,n){return void 0===t?e[0]:void 0!==n?10==+n?H(t):tt(t,n):H(t)}function n(t,e){this.value=t,this.sign=e,this.isSmall=!1}function r(t){this.value=t,this.sign=t<0,this.isSmall=!0}function o(t){return-G0?Math.floor(t):Math.ceil(t)}function f(t,e){var n,r,i=t.length,o=e.length,s=new Array(i),a=0,u=z;for(r=0;r=u?1:0,s[r]=n-a*u;for(;r0&&s.push(a),s}function p(t,e){return t.length>=e.length?f(t,e):f(e,t)}function h(t,e){var n,r,i=t.length,o=new Array(i),s=z;for(r=0;r0;)o[r++]=e%s,e=Math.floor(e/s);return o}function d(t,e){var n,r,i=t.length,o=e.length,s=new Array(i),a=0,c=z;for(n=0;n=0?o=d(t,e):(o=d(e,t),i=!i),o=a(o),"number"==typeof o?(i&&(o=-o),new r(o)):new n(o,i)}function g(t,e,i){var o,s,u=t.length,c=new Array(u),l=-e,f=z;for(o=0;o0;)o[r++]=a%s,a=Math.floor(a/s);return o}function _(t,e){for(var n=[];e-- >0;)n.push(0);return n.concat(t)}function w(t,e){var n=Math.max(t.length,e.length);if(n<=30)return m(t,e);n=Math.ceil(n/2);var r=t.slice(n),i=t.slice(0,n),o=e.slice(n),s=e.slice(0,n),a=w(i,s),c=w(r,o),l=w(p(i,r),p(s,o)),f=p(p(a,_(d(d(l,a),c),n)),_(c,2*n));return u(f),f}function b(t,e){return-.012*t-.012*e+15e-6*t*e>0}function E(t,e,r){return t=0;r--){for(n=h-1,m[r+p]!==v&&(n=Math.floor((m[r+p]*h+m[r+p-1])/v)),i=0,o=0,u=_.length,s=0;sl&&(i=(i+1)*h),n=Math.ceil(i/o);do{if(s=y(e,n),k(s,p)<=0)break;n--}while(n);f.push(n),p=d(p,s)}return f.reverse(),[a(f),a(p)]}function A(t,e){var n,r,i,o,s=t.length,a=c(s),u=z;for(i=0,n=s-1;n>=0;--n)o=i*u+t[n],r=l(o/e),i=o-r*e,a[n]=0|r;return[a,0|i]}function O(t,i){var o,u,c=H(i),f=t.value,p=c.value;if(0===p)throw new Error("Cannot divide by zero");if(t.isSmall)return c.isSmall?[new r(l(f/p)),new r(f%p)]:[e[0],t];if(c.isSmall){if(1===p)return[t,e[0]];if(-1==p)return[t.negate(),e[0]];var h=Math.abs(p);if(he.length?1:-1;for(var n=t.length-1;n>=0;n--)if(t[n]!==e[n])return t[n]>e[n]?1:-1;return 0}function P(t){var e=t.abs();return!e.isUnit()&&(!!(e.equals(2)||e.equals(3)||e.equals(5))||!(e.isEven()||e.isDivisibleBy(3)||e.isDivisibleBy(5))&&(!!e.lesser(25)||void 0))}function T(t){return("number"==typeof t||"string"==typeof t)&&+Math.abs(t)<=z||t instanceof n&&t.value.length<=1}function R(t,e,n){e=H(e);for(var r=t.isNegative(),o=e.isNegative(),s=r?t.not():t,a=o?e.not():e,u=[],c=[],l=!1,f=!1;!l||!f;)s.isZero()?(l=!0,u.push(r?1:0)):r?u.push(s.isEven()?1:0):u.push(s.isEven()?0:1),a.isZero()?(f=!0,c.push(o?1:0)):o?c.push(a.isEven()?1:0):c.push(a.isEven()?0:1),s=s.over(2),a=a.over(2);for(var p=[],h=0;h=0;p--){var h=f?s.value[p]:z,d=l(Math.random()*h);c.unshift(d),d=0;i--)o=o.add(t[i].times(s)),s=s.times(n);return r?o.negate():o}function N(t){var e=t.value;return"number"==typeof e&&(e=[e]),1===e.length&&e[0]<=35?"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e[0]):"<"+e+">"}function D(t,e){if(e=i(e),e.isZero()){if(t.isZero())return"0";throw new Error("Cannot convert nonzero numbers to base 0.")}if(e.equals(-1))return t.isZero()?"0":t.isNegative()?new Array(1-t).join("10"):"1"+new Array(+t).join("01");var n="";if(t.isNegative()&&e.isPositive()&&(n="-",t=t.abs()),e.equals(1))return t.isZero()?"0":n+new Array(+t+1).join(1);for(var r,o=[],s=t;s.isNegative()||s.compareAbs(e)>=0;){r=s.divmod(e),s=r.quotient;var a=r.remainder;a.isNegative()&&(a=e.minus(a).abs(),s=s.next()),o.push(N(a))}return o.push(N(s)),n+o.reverse().join("")}function F(t){if(o(+t)){var e=+t;if(e===l(e))return new r(e);throw"Invalid integer: "+t}var i="-"===t[0];i&&(t=t.slice(1));var s=t.split(/e/i);if(s.length>2)throw new Error("Invalid integer: "+s.join("e"));if(2===s.length){var a=s[1];if("+"===a[0]&&(a=a.slice(1)),(a=+a)!==l(a)||!o(a))throw new Error("Invalid integer: "+a+" is not a valid exponent.");var c=s[0],f=c.indexOf(".");if(f>=0&&(a-=c.length-f-1,c=c.slice(0,f)+c.slice(f+1)),a<0)throw new Error("Cannot include negative exponent part for integers");c+=new Array(a+1).join("0"),t=c}if(!/^([0-9][0-9]*)$/.test(t))throw new Error("Invalid integer: "+t);for(var p=[],h=t.length,d=W,v=h-d;h>0;)p.push(+t.slice(v,h)),v-=d,v<0&&(v=0),h-=d;return u(p),new n(p,i)}function q(t){if(o(t)){if(t!==l(t))throw new Error(t+" is not an integer.");return new r(t)}return F(t.toString())}function H(t){return"number"==typeof t?q(t):"string"==typeof t?F(t):t}var z=1e7,W=7,G=9007199254740992,Y=s(G),V=Math.log(G);n.prototype=Object.create(e.prototype),r.prototype=Object.create(e.prototype),n.prototype.add=function(t){var e=H(t);if(this.sign!==e.sign)return this.subtract(e.negate());var r=this.value,i=e.value;return e.isSmall?new n(h(r,Math.abs(i)),this.sign):new n(p(r,i),this.sign)},n.prototype.plus=n.prototype.add,r.prototype.add=function(t){var e=H(t),i=this.value;if(i<0!==e.sign)return this.subtract(e.negate());var a=e.value;if(e.isSmall){if(o(i+a))return new r(i+a);a=s(Math.abs(a))}return new n(h(a,Math.abs(i)),i<0)},r.prototype.plus=r.prototype.add,n.prototype.subtract=function(t){var e=H(t);if(this.sign!==e.sign)return this.add(e.negate());var n=this.value,r=e.value;return e.isSmall?g(n,Math.abs(r),this.sign):v(n,r,this.sign)},n.prototype.minus=n.prototype.subtract,r.prototype.subtract=function(t){var e=H(t),n=this.value;if(n<0!==e.sign)return this.add(e.negate());var i=e.value;return e.isSmall?new r(n-i):g(i,Math.abs(n),n>=0)},r.prototype.minus=r.prototype.subtract,n.prototype.negate=function(){return new n(this.value,!this.sign)},r.prototype.negate=function(){var t=this.sign,e=new r(-this.value);return e.sign=!t,e},n.prototype.abs=function(){return new n(this.value,!1)},r.prototype.abs=function(){return new r(Math.abs(this.value))},n.prototype.multiply=function(t){var r,i=H(t),o=this.value,a=i.value,u=this.sign!==i.sign;if(i.isSmall){if(0===a)return e[0];if(1===a)return this;if(-1===a)return this.negate();if((r=Math.abs(a))r?1:-1):-1},n.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=H(t),n=this.value,r=e.value;return this.sign!==e.sign?e.sign?1:-1:e.isSmall?this.sign?-1:1:k(n,r)*(this.sign?-1:1)},n.prototype.compareTo=n.prototype.compare,r.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=H(t),n=this.value,r=e.value;return e.isSmall?n==r?0:n>r?1:-1:n<0!==e.sign?n<0?-1:1:n<0?1:-1},r.prototype.compareTo=r.prototype.compare,n.prototype.equals=function(t){return 0===this.compare(t)},r.prototype.eq=r.prototype.equals=n.prototype.eq=n.prototype.equals,n.prototype.notEquals=function(t){return 0!==this.compare(t)},r.prototype.neq=r.prototype.notEquals=n.prototype.neq=n.prototype.notEquals,n.prototype.greater=function(t){return this.compare(t)>0},r.prototype.gt=r.prototype.greater=n.prototype.gt=n.prototype.greater,n.prototype.lesser=function(t){return this.compare(t)<0},r.prototype.lt=r.prototype.lesser=n.prototype.lt=n.prototype.lesser,n.prototype.greaterOrEquals=function(t){return this.compare(t)>=0},r.prototype.geq=r.prototype.greaterOrEquals=n.prototype.geq=n.prototype.greaterOrEquals,n.prototype.lesserOrEquals=function(t){return this.compare(t)<=0},r.prototype.leq=r.prototype.lesserOrEquals=n.prototype.leq=n.prototype.lesserOrEquals,n.prototype.isEven=function(){return 0==(1&this.value[0])},r.prototype.isEven=function(){return 0==(1&this.value)},n.prototype.isOdd=function(){return 1==(1&this.value[0])},r.prototype.isOdd=function(){return 1==(1&this.value)},n.prototype.isPositive=function(){return!this.sign},r.prototype.isPositive=function(){return this.value>0},n.prototype.isNegative=function(){return this.sign},r.prototype.isNegative=function(){return this.value<0},n.prototype.isUnit=function(){return!1},r.prototype.isUnit=function(){return 1===Math.abs(this.value)},n.prototype.isZero=function(){return!1},r.prototype.isZero=function(){return 0===this.value},n.prototype.isDivisibleBy=function(t){var n=H(t),r=n.value;return 0!==r&&(1===r||(2===r?this.isEven():this.mod(n).equals(e[0])))},r.prototype.isDivisibleBy=n.prototype.isDivisibleBy,n.prototype.isPrime=function(){var t=P(this);if(void 0!==t)return t;for(var n,r,o,s,a=this.abs(),u=a.prev(),c=[2,3,5,7,11,13,17,19],l=u;l.isEven();)l=l.divide(2);for(o=0;o-G?new r(t-1):new n(Y,!0)};for(var K=[1];K[K.length-1]<=z;)K.push(2*K[K.length-1]);var X=K.length,J=K[X-1];n.prototype.shiftLeft=function(t){if(!T(t))throw new Error(String(t)+" is too large for shifting.");if((t=+t)<0)return this.shiftRight(-t);for(var e=this;t>=X;)e=e.multiply(J),t-=X-1;return e.multiply(K[t])},r.prototype.shiftLeft=n.prototype.shiftLeft,n.prototype.shiftRight=function(t){var e;if(!T(t))throw new Error(String(t)+" is too large for shifting.");if((t=+t)<0)return this.shiftLeft(-t);for(var n=this;t>=X;){if(n.isZero())return n;e=O(n,J),n=e[1].isNegative()?e[0].prev():e[0],t-=X-1}return e=O(n,K[t]),e[1].isNegative()?e[0].prev():e[0]},r.prototype.shiftRight=n.prototype.shiftRight,n.prototype.not=function(){return this.negate().prev()},r.prototype.not=n.prototype.not,n.prototype.and=function(t){return R(this,t,function(t,e){return t&e})},r.prototype.and=n.prototype.and,n.prototype.or=function(t){return R(this,t,function(t,e){return t|e})},r.prototype.or=n.prototype.or,n.prototype.xor=function(t){return R(this,t,function(t,e){return t^e})},r.prototype.xor=n.prototype.xor;var Z=1<<30,Q=(z&-z)*(z&-z)|Z,tt=function(t,e){var n=t.length;if(2<=e&&e<=36&&n<=V/Math.log(e))return new r(parseInt(t,e));e=H(e);var i,o=[],s="-"===t[0];for(i=s?1:0;i"!==t[i]);o.push(H(t.slice(c+1,i)))}}return U(o,e,s)};n.prototype.toString=function(t){if(void 0===t&&(t=10),10!==t)return D(this,t);for(var e,n=this.value,r=n.length,i=String(n[--r]),o="0000000";--r>=0;)e=String(n[r]),i+=o.slice(e.length)+e;return(this.sign?"-":"")+i},r.prototype.toString=function(t){return void 0===t&&(t=10),10!=t?D(this,t):String(this.value)},n.prototype.valueOf=function(){return+this.toString()},n.prototype.toJSNumber=n.prototype.valueOf,r.prototype.valueOf=function(){return this.value},r.prototype.toJSNumber=r.prototype.valueOf;for(var et=0;et<1e3;et++)e[et]=new r(et),et>0&&(e[-et]=new r(-et));return e.one=e[1],e.zero=e[0],e.minusOne=e[-1],e.max=L,e.min=M,e.gcd=$,e.lcm=B,e.isInstance=function(t){return t instanceof n||t instanceof r},e.randBetween=I,e.fromArray=function(t,e,n){return U(t.map(H),H(e||10),n)},e}();void 0!==t&&t.hasOwnProperty("exports")&&(t.exports=i),n=[],void 0!==(r=function(){return i}.apply(e,n))&&(t.exports=r)}).call(e,n(127)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}/* object-assign (c) Sindre Sorhus @license MIT */ -var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,u=r(t),c=1;c=e||n<0||A&&r>=m}function f(){var t=x();if(c(t))return l(t);_=setTimeout(f,u(t))}function l(t){return _=void 0,O&&v?i(t):(v=g=void 0,y)}function p(){void 0!==_&&clearTimeout(_),C=0,v=E=g=_=void 0}function h(){return void 0===_?y:l(x())}function d(){var t=x(),n=c(t);if(v=arguments,g=this,E=t,n){if(void 0===_)return o(E);if(A)return _=setTimeout(f,e),i(E)}return void 0===_&&(_=setTimeout(f,e)),y}var v,g,m,y,_,E,C=0,S=!1,A=!1,O=!0;if("function"!=typeof t)throw new TypeError(a);return e=s(e)||0,r(n)&&(S=!!n.leading,A="maxWait"in n,m=A?b(s(n.maxWait)||0,e):m,O="trailing"in n?!!n.trailing:O),d.cancel=p,d.flush=h,d}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function i(t){return!!t&&"object"==typeof t}function o(t){return"symbol"==typeof t||i(t)&&_.call(t)==c}function s(t){if("number"==typeof t)return t;if(o(t))return u;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(f,"");var n=p.test(t);return n||h.test(t)?d(t.slice(2),n?2:8):l.test(t)?u:+t}var a="Expected a function",u=NaN,c="[object Symbol]",f=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,h=/^0o[0-7]+$/i,d=parseInt,v="object"==typeof e&&e&&e.Object===Object&&e,g="object"==typeof self&&self&&self.Object===Object&&self,m=v||g||Function("return this")(),y=Object.prototype,_=y.toString,b=Math.max,w=Math.min,x=function(){return m.Date.now()};t.exports=n}).call(e,n(4))},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"masterPassword"},[n("div",{staticClass:"input-group inner-addon left-addon"},[n("label",{staticClass:"sr-only",attrs:{for:"passwordField"}},[t._v("\n "+t._s(t.label)+"\n ")]),t._v(" "),n("i",{staticClass:"fa fa-lock"}),t._v(" "),n("input",{ref:"passwordField",staticClass:"form-control",attrs:{id:"passwordField",name:"passwordField",type:"password",autocorrect:"off",autocapitalize:"off",placeholder:t.label},domProps:{value:t.value},on:{input:function(e){t.updateValue(e.target.value)},keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key))return null;t.$emit("keyupEnter")},blur:function(e){t.hidePassword(t.$refs.passwordField)}}}),t._v(" "),t.fingerprint&&t.value?n("span",{staticClass:"input-group-btn",on:{click:function(e){t.togglePasswordType(t.$refs.passwordField)}}},[n("button",{staticClass:"btn",attrs:{id:"fingerprint",type:"button",tabindex:"-1"}},[n("small",{staticClass:"hint--left"},[n("i",{staticClass:"fa fa-fw",class:[t.icon1],style:{color:t.color1}}),t._v(" "),n("i",{staticClass:"fa fa-fw",class:[t.icon2],style:{color:t.color2}}),t._v(" "),n("i",{staticClass:"fa fa-fw",class:[t.icon3],style:{color:t.color3}})])])]):t._e()]),t._v(" "),t.showEncryptButton?n("button",{staticClass:"btn btn-link btn-sm p-0",class:{disabled:""===t.email,"hint--top hint--medium":""!==t.email},attrs:{id:"encryptMasterPassword__btn",type:"button"},on:{click:function(e){t.encryptMasterPassword()}}},[n("small",[t._v(t._s(t.EncryptButtonText))])]):t._e()])},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{on:{submit:function(e){e.preventDefault(),t.signIn(e)}}},[n("div",{staticClass:"form-group"},[n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-globe"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseURL,expression:"baseURL"}],staticClass:"form-control",attrs:{id:"baseURL",autocapitalize:"none",placeholder:t.$t("LessPass Database Url")},domProps:{value:t.baseURL},on:{input:function(e){e.target.composing||(t.baseURL=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-user"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"form-control",attrs:{id:"email",name:"username",type:"email",autocapitalize:"none",placeholder:t.$t("Email"),required:""},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}})])])]),t._v(" "),n("div",{staticClass:"form-group mb-2"},[n("master-password",{attrs:{label:t.$t("Master Password"),email:t.email,showEncryptButton:!0,EncryptButtonText:t.$t("Encrypt my master password")},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}})],1),t._v(" "),n("div",{staticClass:"form-group row no-gutters mb-0"},[n("div",{staticClass:"col"},[n("button",{staticClass:"btn btn-primary btn-block",attrs:{id:"signInButton"}},[t._v("\n "+t._s(t.$t("Sign In"))+"\n ")])]),t._v(" "),n("div",{staticClass:"col"},[n("button",{staticClass:"btn btn-secondary btn-block",attrs:{id:"registerButton",type:"button"},on:{click:t.register}},[t._v("\n "+t._s(t.$t("Register"))+"\n ")])])]),t._v(" "),n("div",{staticClass:"form-group mb-0"},[n("button",{staticClass:"btn btn-link btn-sm p-0",attrs:{id:"login__forgot-password-btn",type:"button"},on:{click:function(e){t.$router.push({name:"passwordReset"})}}},[n("small",[t._v(t._s(t.$t("ForgotPassword","Forgot your password?")))])])])])},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";function r(t){n(135)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(137),o=n.n(i),s=n(149),a=n(2),u=r,c=a(o.a,s.a,u,null,null);e.default=c.exports},function(t,e,n){var r=n(136);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("1fff9582",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#generated-password{font-family:Consolas,Menlo,Monaco,Courier New,monospace,sans-serif}div.awesomplete{display:block}div.awesomplete>ul{z-index:11}",""])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e0&&new b.default(e,{list:t.map(function(t){return{label:t.site+" "+t.login,value:t}}),replace:function(t){n.$store.dispatch("savePassword",{password:t.value}),this.input.value=t.value.site,n.focusBestInputField()}})},password:{handler:function(){this.cleanErrors()},deep:!0}},methods:{togglePasswordType:function(t){"password"===t.type?t.type="text":t.type="password"},cleanErrors:function(){clearTimeout(this.cleanTimeout),this.passwordGenerated=""},cleanFormInSeconds:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:15;this.cleanTimeout=setTimeout(function(){t.masterPassword="",t.passwordGenerated=""},1e3*e)},generatePassword:function(){var t=this,e=this.password.site,n=this.password.login,r=this.masterPassword;if(!e&&!n||!r)return void y.default.error(this.$t("SiteLoginMasterPasswordMandatory","Site, login, and master password fields are mandatory."));this.cleanErrors();var i={lowercase:this.password.lowercase,uppercase:this.password.uppercase,numbers:this.password.numbers,symbols:this.password.symbols,length:this.password.length,counter:this.password.counter,version:this.password.version};return s.default.generatePassword(e,n,r,i).then(function(e){t.passwordGenerated=e,t.cleanFormInSeconds(30)})},focusBestInputField:function(){var t=this.$refs.site,e=this.$refs.login,n=this.$refs.masterPassword;t&&!t.value?t.focus():e&&!e.value?e.focus():n&&n.$refs.passwordField.focus()},copyPassword:function(){(0,c.default)(this.passwordGenerated)?(0,g.showTooltip)(document.getElementById("copyPasswordButton"),this.$t("Copied","copied !")):y.default.warning(this.$t("SorryCopy","We are sorry the copy only works on modern browsers"))},sharePasswordProfile:function(){if((0,c.default)(this.passwordURL)){var t=this.$t("PasswordProfileCopied","Your password profile has been copied");(0,g.showTooltip)(document.getElementById("sharePasswordProfileButton"),t,"hint--top-left")}else y.default.warning(this.$t("SorryCopy","We are sorry the copy only works on modern browsers"))}}}},function(t,e,n){"use strict";t.exports=function(t){var e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.contain="strict",e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="12pt";var n=getSelection(),r=!1;n.rangeCount>0&&(r=n.getRangeAt(0)),document.body.appendChild(e),e.select();var i=!1;try{i=document.execCommand("copy")}catch(t){}return document.body.removeChild(e),r&&(n.removeAllRanges(),n.addRange(r)),i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(140),i=n(2),o=i(null,r.a,null,null,null);e.default=o.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{display:"none"}},[n("label",{attrs:{for:"username"}},[n("input",{attrs:{type:"text",id:"username",name:"username",autocomplete:"username"}})]),t._v(" "),n("label",{attrs:{for:"password"}},[n("input",{attrs:{type:"password",id:"password",name:"password",autocomplete:"current-password"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";function r(t){n(142)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(144),o=n.n(i),s=n(146),a=n(2),u=r,c=a(o.a,s.a,u,null,null);e.default=c.exports},function(t,e,n){var r=n(143);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("15e23426",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#options input[type=number]{-moz-appearance:textfield}#options input[type=number]::-webkit-inner-spin-button,#options input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}",""])},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;er?r:t2&&void 0!==arguments[2]?arguments[2]:"hint--top",r=t.className;t.setAttribute("class",r+" "+n),t.setAttribute("aria-label",e),setTimeout(function(){t.setAttribute("class",r),t.setAttribute("aria-label","")},2e3)}Object.defineProperty(e,"__esModule",{value:!0}),e.showTooltip=r},function(t,e){!function(){function e(t){var e=Array.isArray(t)?{label:t[0],value:t[1]}:"object"==typeof t&&"label"in t&&"value"in t?t:{label:t,value:t};this.label=e.label||e.value,this.value=e.value}function n(t,e,n){for(var r in e){var i=e[r],o=t.input.getAttribute("data-"+r.toLowerCase());"number"==typeof i?t[r]=parseInt(o):!1===i?t[r]=null!==o:i instanceof Function?t[r]=null:t[r]=o,t[r]||0===t[r]||(t[r]=r in n?n[r]:i)}}function r(t,e){return"string"==typeof t?(e||document).querySelector(t):t||null}function i(t,e){return a.call((e||document).querySelectorAll(t))}function o(){i("input.awesomplete").forEach(function(t){new s(t)})}var s=function(t,e){var i=this;this.isOpened=!1,this.input=r(t),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-autocomplete","list"),e=e||{},n(this,{minChars:2,maxItems:10,autoFirst:!1,data:s.DATA,filter:s.FILTER_CONTAINS,sort:!1!==e.sort&&s.SORT_BYLENGTH,item:s.ITEM,replace:s.REPLACE},e),this.index=-1,this.container=r.create("div",{className:"awesomplete",around:t}),this.ul=r.create("ul",{hidden:"hidden",inside:this.container}),this.status=r.create("span",{className:"visually-hidden",role:"status","aria-live":"assertive","aria-relevant":"additions",inside:this.container}),this._events={input:{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(t){var e=t.keyCode;i.opened&&(13===e&&i.selected?(t.preventDefault(),i.select()):27===e?i.close({reason:"esc"}):38!==e&&40!==e||(t.preventDefault(),i[38===e?"previous":"next"]()))}},form:{submit:this.close.bind(this,{reason:"submit"})},ul:{mousedown:function(t){var e=t.target;if(e!==this){for(;e&&!/li/i.test(e.nodeName);)e=e.parentNode;e&&0===t.button&&(t.preventDefault(),i.select(e,t.target))}}}},r.bind(this.input,this._events.input),r.bind(this.input.form,this._events.form),r.bind(this.ul,this._events.ul),this.input.hasAttribute("list")?(this.list="#"+this.input.getAttribute("list"),this.input.removeAttribute("list")):this.list=this.input.getAttribute("data-list")||e.list||[],s.all.push(this)};s.prototype={set list(t){if(Array.isArray(t))this._list=t;else if("string"==typeof t&&t.indexOf(",")>-1)this._list=t.split(/\s*,\s*/);else if((t=r(t))&&t.children){var e=[];a.apply(t.children).forEach(function(t){if(!t.disabled){var n=t.textContent.trim(),r=t.value||n,i=t.label||n;""!==r&&e.push({label:i,value:r})}}),this._list=e}document.activeElement===this.input&&this.evaluate()},get selected(){return this.index>-1},get opened(){return this.isOpened},close:function(t){this.opened&&(this.ul.setAttribute("hidden",""),this.isOpened=!1,this.index=-1,r.fire(this.input,"awesomplete-close",t||{}))},open:function(){this.ul.removeAttribute("hidden"),this.isOpened=!0,this.autoFirst&&-1===this.index&&this.goto(0),r.fire(this.input,"awesomplete-open")},destroy:function(){r.unbind(this.input,this._events.input),r.unbind(this.input.form,this._events.form);var t=this.container.parentNode;t.insertBefore(this.input,this.container),t.removeChild(this.container),this.input.removeAttribute("autocomplete"),this.input.removeAttribute("aria-autocomplete");var e=s.all.indexOf(this);-1!==e&&s.all.splice(e,1)},next:function(){var t=this.ul.children.length;this.goto(this.index-1&&e.length>0&&(e[t].setAttribute("aria-selected","true"),this.status.textContent=e[t].textContent,this.ul.scrollTop=e[t].offsetTop-this.ul.clientHeight+e[t].clientHeight,r.fire(this.input,"awesomplete-highlight",{text:this.suggestions[this.index]}))},select:function(t,e){if(t?this.index=r.siblingIndex(t):t=this.ul.children[this.index],t){var n=this.suggestions[this.index];r.fire(this.input,"awesomplete-select",{text:n,origin:e||t})&&(this.replace(n),this.close({reason:"select"}),r.fire(this.input,"awesomplete-selectcomplete",{text:n}))}},evaluate:function(){var t=this,n=this.input.value;n.length>=this.minChars&&this._list.length>0?(this.index=-1,this.ul.innerHTML="",this.suggestions=this._list.map(function(r){return new e(t.data(r,n))}).filter(function(e){return t.filter(e,n)}),!1!==this.sort&&(this.suggestions=this.suggestions.sort(this.sort)),this.suggestions=this.suggestions.slice(0,this.maxItems),this.suggestions.forEach(function(e){t.ul.appendChild(t.item(e,n))}),0===this.ul.children.length?this.close({reason:"nomatches"}):this.open()):this.close({reason:"nomatches"})}},s.all=[],s.FILTER_CONTAINS=function(t,e){return RegExp(r.regExpEscape(e.trim()),"i").test(t)},s.FILTER_STARTSWITH=function(t,e){return RegExp("^"+r.regExpEscape(e.trim()),"i").test(t)},s.SORT_BYLENGTH=function(t,e){return t.length!==e.length?t.length-e.length:t$&"),"aria-selected":"false"})},s.REPLACE=function(t){this.input.value=t.value},s.DATA=function(t){return t},Object.defineProperty(e.prototype=Object.create(String.prototype),"length",{get:function(){return this.label.length}}),e.prototype.toString=e.prototype.valueOf=function(){return""+this.label};var a=Array.prototype.slice;r.create=function(t,e){var n=document.createElement(t);for(var i in e){var o=e[i];if("inside"===i)r(o).appendChild(n);else if("around"===i){var s=r(o);s.parentNode.insertBefore(n,s),n.appendChild(s)}else i in n?n[i]=o:n.setAttribute(i,o)}return n},r.bind=function(t,e){if(t)for(var n in e){var r=e[n];n.split(/\s+/).forEach(function(e){t.addEventListener(e,r)})}},r.unbind=function(t,e){if(t)for(var n in e){var r=e[n];n.split(/\s+/).forEach(function(e){t.removeEventListener(e,r)})}},r.fire=function(t,e,n){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0);for(var i in n)r[i]=n[i];return t.dispatchEvent(r)},r.regExpEscape=function(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")},r.siblingIndex=function(t){for(var e=0;t=t.previousElementSibling;e++);return e},"undefined"!=typeof Document&&("loading"!==document.readyState?o():document.addEventListener("DOMContentLoaded",o)),s.$=r,s.$$=i,"undefined"!=typeof self&&(self.Awesomplete=s),"object"==typeof t&&t.exports&&(t.exports=s)}()},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{attrs:{id:"password-generator"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"sr-only",attrs:{for:"site"}},[t._v(t._s(t.$t("Site")))]),t._v(" "),n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-globe"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password.site,expression:"password.site"}],ref:"site",staticClass:"form-control awesomplete",attrs:{id:"site",name:"site",autocorrect:"off",autocapitalize:"none",placeholder:t.$t("Site")},domProps:{value:t.password.site},on:{input:function(e){e.target.composing||t.$set(t.password,"site",e.target.value)}}})])]),t._v(" "),n("remove-auto-complete"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"sr-only",attrs:{for:"login"}},[t._v(t._s(t.$t("Login")))]),t._v(" "),n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-user"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password.login,expression:"password.login"}],ref:"login",staticClass:"form-control",attrs:{id:"login",name:"login",autocomplete:"off",autocorrect:"off",autocapitalize:"none",placeholder:t.$t("Login")},domProps:{value:t.password.login},on:{input:function(e){e.target.composing||t.$set(t.password,"login",e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group"},[n("master-password",{ref:"masterPassword",attrs:{label:t.$t("Master Password")},on:{keyupEnter:t.generatePassword},model:{value:t.masterPassword,callback:function(e){t.masterPassword=e},expression:"masterPassword"}})],1),t._v(" "),n("div",{staticClass:"form-group",class:{"mb-0":!t.showOptions}},[t.passwordGenerated?t._e():n("div",[n("button",{staticClass:"btn btn-primary border-blue",attrs:{id:"generatePassword__btn",type:"button"},on:{click:t.generatePassword}},[t._v("\n "+t._s(t.$t("Generate"))+"\n ")]),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:!t.passwordGenerated,expression:"!passwordGenerated"}],staticClass:"btn btn-secondary pull-right showOptions__btn",attrs:{type:"button"},on:{click:function(e){t.showOptions=!t.showOptions}}},[n("i",{staticClass:"fa fa-sliders"})])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.passwordGenerated,expression:"passwordGenerated"}],staticClass:"btn-group"},[n("div",{staticClass:"input-group"},[n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-primary border-blue",attrs:{id:"copyPasswordButton",type:"button"},on:{click:function(e){t.copyPassword()}}},[n("i",{staticClass:"fa fa-clipboard"})])]),t._v(" "),n("input",{ref:"passwordGenerated",staticClass:"form-control",attrs:{id:"generated-password",type:"password",tabindex:"-1"},domProps:{value:t.passwordGenerated}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-secondary",attrs:{id:"revealGeneratedPassword",type:"button"},on:{click:function(e){t.togglePasswordType(t.$refs.passwordGenerated)}}},[n("i",{staticClass:"fa fa-eye"})])]),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-secondary",attrs:{id:"sharePasswordProfileButton",type:"button"},on:{click:function(e){t.sharePasswordProfile()}}},[n("i",{staticClass:"fa fa-share-alt pointer"})])]),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-secondary showOptions__btn",attrs:{type:"button"},on:{click:function(e){t.showOptions=!t.showOptions}}},[n("i",{staticClass:"fa fa-sliders"})])])])])]),t._v(" "),t.showOptions||!t.isDefaultProfile?n("options"):t._e()],1)},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(151),i=n.n(r),o=n(152),s=n(2),a=s(i.a,o.a,null,null,null);e.default=a.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e=0&&m.splice(e,1)}function a(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function u(t,e){var n,r,i;if(e.singleton){var o=g++;n=v||(v=a(e)),r=c.bind(null,n,o,!1),i=c.bind(null,n,o,!0)}else n=a(e),r=f.bind(null,n),i=function(){s(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}function c(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function f(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var l={},p=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}},h=p(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),d=p(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,g=0,m=[];t.exports=function(t,e){e=e||{},void 0===e.singleton&&(e.singleton=h()),void 0===e.insertAt&&(e.insertAt="bottom");var n=i(t);return r(n,e),function(t){for(var o=[],s=0;sthis.pageCount-this.pageRange/2&&(o=this.pageCount-this.selected,i=this.pageRange-o);for(var s=function(n){var r={index:n,content:n+1,selected:n===t.selected};e[n]=r},a=function(t){var n={content:"...",disabled:!0};e[t]=n},u=0;u=this.pageCount-this.marginPages;c--)s(c);var f=0;this.selected-this.pageRange>0&&(f=this.selected-this.pageRange);var l=this.pageCount;this.selected+this.pageRangethis.marginPages&&a(f-1),l+1=this.pageCount-1||(this.selected++,this.clickHandler(this.selected+1))},firstPageSelected:function(){return 0===this.selected},lastPageSelected:function(){return this.selected===this.pageCount-1||0===this.pageCount}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.noLiSurround?n("div",{class:t.containerClass},[n("a",{class:[t.prevLinkClass,{disabled:t.firstPageSelected()}],attrs:{tabindex:"0"},on:{click:function(e){t.prevPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.prevPage():null}}},[t._t("prevContent",[t._v(t._s(t.prevText))])],2),t._v(" "),t._l(t.pages,function(e){return[e.disabled?n("a",{class:[t.pageLinkClass,e.selected?t.activeClass:"",{disabled:e.disabled}],attrs:{tabindex:"0"}},[t._v(t._s(e.content))]):n("a",{class:[t.pageLinkClass,{active:e.selected,disabled:e.disabled}],attrs:{tabindex:"0"},on:{click:function(n){t.handlePageSelected(e.index)},keyup:function(n){return"button"in n||!t._k(n.keyCode,"enter",13)?void t.handlePageSelected(e.index):null}}},[t._v("\n "+t._s(e.content)+"\n ")])]}),t._v(" "),n("a",{class:[t.nextLinkClass,{disabled:t.lastPageSelected()}],attrs:{tabindex:"0"},on:{click:function(e){t.nextPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.nextPage():null}}},[t._t("nextContent",[t._v(t._s(t.nextText))])],2)],2):n("ul",{class:t.containerClass},[n("li",{class:[t.prevClass,{disabled:t.firstPageSelected()}]},[n("a",{class:t.prevLinkClass,attrs:{tabindex:"0"},on:{click:function(e){t.prevPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.prevPage():null}}},[t._t("prevContent",[t._v(t._s(t.prevText))])],2)]),t._v(" "),t._l(t.pages,function(e){return n("li",{class:[t.pageClass,e.selected?t.activeClass:"",{disabled:e.disabled}]},[e.disabled?n("a",{class:t.pageLinkClass,attrs:{tabindex:"0"}},[t._v(t._s(e.content))]):n("a",{class:t.pageLinkClass,attrs:{tabindex:"0"},on:{click:function(n){t.handlePageSelected(e.index)},keyup:function(n){return"button"in n||!t._k(n.keyCode,"enter",13)?void t.handlePageSelected(e.index):null}}},[t._v(t._s(e.content))])])}),t._v(" "),n("li",{class:[t.nextClass,{disabled:t.lastPageSelected()}]},[n("a",{class:t.nextLinkClass,attrs:{tabindex:"0"},on:{click:function(e){t.nextPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.nextPage():null}}},[t._t("nextContent",[t._v(t._s(t.nextText))])],2)])],2)},staticRenderFns:[]}}])})},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"passwords"}},[n("div",{staticClass:"pb-3",attrs:{id:"passwords__search"}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-search"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchQuery,expression:"searchQuery"}],staticClass:"form-control",attrs:{name:"search",placeholder:"Search"},domProps:{value:t.searchQuery},on:{input:function(e){e.target.composing||(t.searchQuery=e.target.value)}}})])])])]),t._v(" "),n("div",{attrs:{id:"passwords__list"}},[0===t.passwords.length?n("div",[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[t._v("\n "+t._s(t.$t("NoPassword","You don't have any password profile saved in your database."))+"\n "),n("router-link",{attrs:{to:{name:"home"}}},[t._v(t._s(t.$t("CreatePassword","Would you like to create one?")))])],1)])]):t._e(),t._v(" "),0===t.filteredPasswords.length&&t.passwords.length>0?n("div",[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[t._v("\n "+t._s(t.$t("NoMatchFor","Oops! There are no matches for"))+' "'+t._s(t.searchQuery)+'".\n '+t._s(t.$t("UpdateYourSearch","Please try broadening your search."))+"\n ")])])]):t._e(),t._v(" "),t._l(t.filteredPasswords,function(e){return n("password-profile",{key:e.id,staticClass:"passwords__profile",attrs:{password:e},on:{deleted:function(e){t.pagination.currentPage=1}}})})],2),t._v(" "),t.pagination.pageCount>1?n("div",{attrs:{id:"passwords__pagination"}},[n("paginate",{attrs:{"page-count":t.pagination.pageCount,"click-handler":t.setCurrentPage,containerClass:"pagination pagination-sm","page-class":"page-item","prev-class":"page-item","next-class":"page-item","page-link-class":"page-link","prev-link-class":"page-link","next-link-class":"page-link","prev-text":t.$t("Previous"),"next-text":t.$t("Next")}})],1):t._e()])},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){(function(e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var r=("undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self,"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}),i=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t,e){!function(e,n){t.exports=n()}(0,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){function r(t){var e=new s(t),n=o(s.prototype.request,e);return i.extend(n,s.prototype,e),i.extend(n,e),n}var i=n(2),o=n(3),s=n(4),a=n(5),u=r(a);u.Axios=s,u.create=function(t){return r(i.merge(a,t))},u.Cancel=n(22),u.CancelToken=n(23),u.isCancel=n(19),u.all=function(t){return Promise.all(t)},u.spread=n(24),t.exports=u,t.exports.default=u},function(t,e,n){function i(t){return"[object Array]"===C.call(t)}function o(t){return"[object ArrayBuffer]"===C.call(t)}function s(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function u(t){return"string"==typeof t}function c(t){return"number"==typeof t}function f(t){return void 0===t}function l(t){return null!==t&&"object"===(void 0===t?"undefined":r(t))}function p(t){return"[object Date]"===C.call(t)}function h(t){return"[object File]"===C.call(t)}function d(t){return"[object Blob]"===C.call(t)}function v(t){return"[object Function]"===C.call(t)}function g(t){return l(t)&&v(t.pipe)}function m(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function y(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function _(){return"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof document.createElement}function b(t,e){if(null!==t&&void 0!==t)if("object"===(void 0===t?"undefined":r(t))||i(t)||(t=[t]),i(t))for(var n=0,o=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){c.headers[t]={}}),o.forEach(["post","put","patch"],function(t){c.headers[t]=o.merge(u)}),t.exports=c},function(t,e,n){var r=n(2);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){var r=n(2),i=n(8),o=n(11),s=n(12),a=n(13),u=n(9),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(14);t.exports=function(t){return new Promise(function(e,f){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest,d="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||a(t.url)||(h=new window.XDomainRequest,d="onload",v=!0,h.onprogress=function(){},h.ontimeout=function(){}),t.auth){var g=t.auth.username||"",m=t.auth.password||"";p.Authorization="Basic "+c(g+":"+m)}if(h.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h[d]=function(){if(h&&(4===h.readyState||v)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,o={data:r,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:n,config:t,request:h};i(e,f,o),h=null}},h.onerror=function(){f(u("Network Error",t)),h=null},h.ontimeout=function(){f(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),h=null},r.isStandardBrowserEnv()){var y=n(15),_=(t.withCredentials||a(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;_&&(p[t.xsrfHeaderName]=_)}if("setRequestHeader"in h&&r.forEach(p,function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)}),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(t){if("json"!==h.responseType)throw t}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){h&&(h.abort(),f(t),h=null)}),void 0===l&&(l=null),h.send(l)})}},function(t,e,n){var r=n(9);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n)):t(n)}},function(t,e,n){var r=n(10);t.exports=function(t,e,n,i){var o=new Error(t);return r(o,e,n,i)}},function(t,e){t.exports=function(t,e,n,r){return t.config=e,n&&(t.code=n),t.response=r,t}},function(t,e,n){function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n(2);t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var s=[];i.forEach(e,function(t,e){null!==t&&void 0!==t&&(i.isArray(t)&&(e+="[]"),i.isArray(t)||(t=[t]),i.forEach(t,function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),s.push(r(e)+"="+r(t))}))}),o=s.join("&")}return o&&(t+=(-1===t.indexOf("?")?"?":"&")+o),t}},function(t,e,n){var r=n(2);t.exports=function(t){var e,n,i,o={};return t?(r.forEach(t.split("\n"),function(t){i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e&&(o[e]=o[e]?o[e]+", "+n:n)}),o):o}},function(t,e,n){var r=n(2);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(i.setAttribute("href",e),e=i.href),i.setAttribute("href",e),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return e=t(window.location.href),function(n){var i=r.isString(n)?t(n):n;return i.protocol===e.protocol&&i.host===e.host}}():function(){return function(){return!0}}()},function(t,e){function n(){this.message="String contains an invalid character"}function r(t){for(var e,r,o=String(t),s="",a=0,u=i;o.charAt(0|a)||(u="=",a%1);s+=u.charAt(63&e>>8-a%1*8)){if((r=o.charCodeAt(a+=.75))>255)throw new n;e=e<<8|r}return s}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",t.exports=r},function(t,e,n){var r=n(2);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,n){function r(){this.handlers=[]}var i=n(2);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},function(t,e,n){function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var i=n(2),o=n(18),s=n(19),a=n(5);t.exports=function(t){return r(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return r(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return s(e)||(r(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){var r=n(2);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e){t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e){t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e){t.exports=function(t,e){return t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,"")}},function(t,e){function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t,e,n){function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new i(t),e(n.reason))})}var i=n(22);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},function(t,e){t.exports=function(t){return function(e){return t.apply(null,e)}}}])})}),o={translate:function(t,e,n,r){return t&&e in t?this.compile(t[e],r):n?this.compile(n,r):e},compile:function(t,e){return e?t.replace(/{(\w*)}/g,function(t,n){return e.hasOwnProperty(n)?e[n]:""}):t},getBestLanguage:function(t,e,n){if(void 0===e)return n;for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{languagesAvailable:[],defaultLanguage:"en-US"};s||(s=new e({data:function(){return{languagesAvailable:n.languagesAvailable,defaultLanguage:n.defaultLanguage,lang:this.getLang(),locales:{}}},computed:{locale:function(){return this.locales[this.lang]?this.locales[this.lang]:null}},methods:{setLang:function(t){var e=t.lang;this.lang=e},addLangInLanguagesAvailable:function(t){var e=t.lang;-1===this.languagesAvailable.indexOf(e)&&this.languagesAvailable.push(e)},setLocale:function(e){var n=e.lang,r=e.locale;this.locales=Object.assign({},this.locales,t({},n,r))},extendLocales:function(t){var e=this;Object.keys(t).forEach(function(n){var r=e.locales.hasOwnProperty(n)?Object.assign({},e.locales[n],t[n]):t[n];e.setLocale({lang:n,locale:r})})},getLang:function(){var t=n.languagesAvailable,e=window.navigator.userLanguage||window.navigator.language,r=n.defaultLanguage;return o.getBestLanguage(t,e,r)},getLocale:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.baseURL,o=void 0===r?"i18n":r,s=e.lang,a=void 0===s?"auto":s,u=e.ext,c=void 0===u?".json":u;(a="auto"===a?this.getLang():a)!==n.defaultLanguage&&i.get(o+"/"+a+c).then(function(e){var n=e.data;t.setLocale({lang:a,locale:n}),t.setLang({lang:a}),t.addLangInLanguagesAvailable({lang:a})})},_translate:function(t,e,n){return o.translate(this.locale,t,e,n)}}}),e.prototype.$polyglot=s),e.mixin({methods:{$t:function(t,e,n){return this.$polyglot._translate(t,e,n)}}}),e.locales=function(t){Object.keys(t).forEach(function(e){s.$polyglot.setLocale({lang:e,locale:t[e]})})}}}})}).call(e,n(4),n(7))}]); \ No newline at end of file +var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,u=r(t),c=1;c=e||n<0||A&&r>=m}function l(){var t=E();if(c(t))return f(t);_=setTimeout(l,u(t))}function f(t){return _=void 0,O&&v?i(t):(v=g=void 0,y)}function p(){void 0!==_&&clearTimeout(_),C=0,v=x=g=_=void 0}function h(){return void 0===_?y:f(E())}function d(){var t=E(),n=c(t);if(v=arguments,g=this,x=t,n){if(void 0===_)return o(x);if(A)return _=setTimeout(l,e),i(x)}return void 0===_&&(_=setTimeout(l,e)),y}var v,g,m,y,_,x,C=0,S=!1,A=!1,O=!0;if("function"!=typeof t)throw new TypeError(a);return e=s(e)||0,r(n)&&(S=!!n.leading,A="maxWait"in n,m=A?w(s(n.maxWait)||0,e):m,O="trailing"in n?!!n.trailing:O),d.cancel=p,d.flush=h,d}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function i(t){return!!t&&"object"==typeof t}function o(t){return"symbol"==typeof t||i(t)&&_.call(t)==c}function s(t){if("number"==typeof t)return t;if(o(t))return u;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(l,"");var n=p.test(t);return n||h.test(t)?d(t.slice(2),n?2:8):f.test(t)?u:+t}var a="Expected a function",u=NaN,c="[object Symbol]",l=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,h=/^0o[0-7]+$/i,d=parseInt,v="object"==typeof e&&e&&e.Object===Object&&e,g="object"==typeof self&&self&&self.Object===Object&&self,m=v||g||Function("return this")(),y=Object.prototype,_=y.toString,w=Math.max,b=Math.min,E=function(){return m.Date.now()};t.exports=n}).call(e,n(4))},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"masterPassword"},[n("div",{staticClass:"input-group inner-addon left-addon"},[n("label",{staticClass:"sr-only",attrs:{for:"passwordField"}},[t._v("\n "+t._s(t.label)+"\n ")]),t._v(" "),n("i",{staticClass:"fa fa-lock"}),t._v(" "),n("input",{ref:"passwordField",staticClass:"form-control",attrs:{id:"passwordField",name:"passwordField",type:"password",autocorrect:"off",autocapitalize:"off",placeholder:t.label},domProps:{value:t.value},on:{input:function(e){t.updateValue(e.target.value)},keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key))return null;t.$emit("keyupEnter")},blur:function(e){t.hidePassword(t.$refs.passwordField)}}}),t._v(" "),t.fingerprint&&t.value?n("span",{staticClass:"input-group-btn",on:{click:function(e){t.togglePasswordType(t.$refs.passwordField)}}},[n("button",{staticClass:"btn",attrs:{id:"fingerprint",type:"button",tabindex:"-1"}},[n("small",{staticClass:"hint--left"},[n("i",{staticClass:"fa fa-fw",class:[t.icon1],style:{color:t.color1}}),t._v(" "),n("i",{staticClass:"fa fa-fw",class:[t.icon2],style:{color:t.color2}}),t._v(" "),n("i",{staticClass:"fa fa-fw",class:[t.icon3],style:{color:t.color3}})])])]):t._e()]),t._v(" "),t.showEncryptButton?n("button",{staticClass:"btn btn-link btn-sm p-0",class:{disabled:""===t.email,"hint--top hint--medium":""!==t.email},attrs:{id:"encryptMasterPassword__btn",type:"button"},on:{click:function(e){t.encryptMasterPassword()}}},[n("small",[t._v(t._s(t.EncryptButtonText))])]):t._e()])},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{on:{submit:function(e){e.preventDefault(),t.signIn(e)}}},[n("div",{staticClass:"form-group"},[n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-globe"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseURL,expression:"baseURL"}],staticClass:"form-control",attrs:{id:"baseURL",autocapitalize:"none",placeholder:t.$t("LessPass Database Url")},domProps:{value:t.baseURL},on:{input:function(e){e.target.composing||(t.baseURL=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-user"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"form-control",attrs:{id:"email",name:"username",type:"email",autocapitalize:"none",placeholder:t.$t("Email"),required:""},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}})])])]),t._v(" "),n("div",{staticClass:"form-group mb-2"},[n("master-password",{attrs:{label:t.$t("Master Password"),email:t.email,showEncryptButton:!0,EncryptButtonText:t.$t("Encrypt my master password")},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}})],1),t._v(" "),n("div",{staticClass:"form-group row no-gutters mb-0"},[n("div",{staticClass:"col"},[n("button",{staticClass:"btn btn-primary btn-block",attrs:{id:"signInButton"}},[t._v("\n "+t._s(t.$t("Sign In"))+"\n ")])]),t._v(" "),n("div",{staticClass:"col"},[n("button",{staticClass:"btn btn-secondary btn-block",attrs:{id:"registerButton",type:"button"},on:{click:t.register}},[t._v("\n "+t._s(t.$t("Register"))+"\n ")])])]),t._v(" "),n("div",{staticClass:"form-group mb-0"},[n("button",{staticClass:"btn btn-link btn-sm p-0",attrs:{id:"login__forgot-password-btn",type:"button"},on:{click:function(e){t.$router.push({name:"passwordReset"})}}},[n("small",[t._v(t._s(t.$t("ForgotPassword","Forgot your password?")))])])])])},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";function r(t){n(133)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(135),o=n.n(i),s=n(147),a=n(2),u=r,c=a(o.a,s.a,!1,u,null,null);e.default=c.exports},function(t,e,n){var r=n(134);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("c92cbfa8",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#generated-password{font-family:Consolas,Menlo,Monaco,Courier New,monospace,sans-serif}div.awesomplete{display:block}div.awesomplete>ul{z-index:11}",""])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e0&&new w.default(e,{list:t.map(function(t){return{label:t.site+" "+t.login,value:t}}),replace:function(t){n.$store.dispatch("savePassword",{password:t.value}),this.input.value=t.value.site,n.focusBestInputField()}})},password:{handler:function(){this.cleanErrors()},deep:!0}},methods:{togglePasswordType:function(t){"password"===t.type?t.type="text":t.type="password"},cleanErrors:function(){clearTimeout(this.cleanTimeout),this.passwordGenerated=""},cleanFormInSeconds:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:15;this.cleanTimeout=setTimeout(function(){t.masterPassword="",t.passwordGenerated=""},1e3*e)},generatePassword:function(){var t=this,e=this.password.site,n=this.password.login,r=this.masterPassword;if(!e&&!n||!r)return void y.default.error(this.$t("SiteLoginMasterPasswordMandatory","Site, login, and master password fields are mandatory."));this.cleanErrors();var i={lowercase:this.password.lowercase,uppercase:this.password.uppercase,numbers:this.password.numbers,symbols:this.password.symbols,length:this.password.length,counter:this.password.counter,version:this.password.version};return s.default.generatePassword(e,n,r,i).then(function(e){t.passwordGenerated=e,t.cleanFormInSeconds(30)})},focusBestInputField:function(){var t=this.$refs.site,e=this.$refs.login,n=this.$refs.masterPassword;t&&!t.value?t.focus():e&&!e.value?e.focus():n&&n.$refs.passwordField.focus()},copyPassword:function(){(0,c.default)(this.passwordGenerated)?(0,g.showTooltip)(document.getElementById("copyPasswordButton"),this.$t("Copied","copied !")):y.default.warning(this.$t("SorryCopy","We are sorry the copy only works on modern browsers"))},sharePasswordProfile:function(){if((0,c.default)(this.passwordURL)){var t=this.$t("PasswordProfileCopied","Your password profile has been copied");(0,g.showTooltip)(document.getElementById("sharePasswordProfileButton"),t,"hint--top-left")}else y.default.warning(this.$t("SorryCopy","We are sorry the copy only works on modern browsers"))}}}},function(t,e,n){"use strict";t.exports=function(t){var e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.contain="strict",e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="12pt";var n=document.getSelection(),r=!1;n.rangeCount>0&&(r=n.getRangeAt(0)),document.body.appendChild(e),e.select(),e.selectionStart=0,e.selectionEnd=t.length;var i=!1;try{i=document.execCommand("copy")}catch(t){}return document.body.removeChild(e),r&&(n.removeAllRanges(),n.addRange(r)),i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(138),i=n(2),o=i(null,r.a,!1,null,null,null);e.default=o.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0,!1,!1)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{display:"none"}},[n("label",{attrs:{for:"username"}},[n("input",{attrs:{type:"text",id:"username",name:"username",autocomplete:"username"}})]),t._v(" "),n("label",{attrs:{for:"password"}},[n("input",{attrs:{type:"password",id:"password",name:"password",autocomplete:"current-password"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";function r(t){n(140)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(142),o=n.n(i),s=n(144),a=n(2),u=r,c=a(o.a,s.a,!1,u,null,null);e.default=c.exports},function(t,e,n){var r=n(141);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("5e47d255",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#options input[type=number]{-moz-appearance:textfield}#options input[type=number]::-webkit-inner-spin-button,#options input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}",""])},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;er?r:t2&&void 0!==arguments[2]?arguments[2]:"hint--top",r=t.className;t.setAttribute("class",r+" "+n),t.setAttribute("aria-label",e),setTimeout(function(){t.setAttribute("class",r),t.setAttribute("aria-label","")},2e3)}Object.defineProperty(e,"__esModule",{value:!0}),e.showTooltip=r},function(t,e){!function(){function e(t){var e=Array.isArray(t)?{label:t[0],value:t[1]}:"object"==typeof t&&"label"in t&&"value"in t?t:{label:t,value:t};this.label=e.label||e.value,this.value=e.value}function n(t,e,n){for(var r in e){var i=e[r],o=t.input.getAttribute("data-"+r.toLowerCase());"number"==typeof i?t[r]=parseInt(o):!1===i?t[r]=null!==o:i instanceof Function?t[r]=null:t[r]=o,t[r]||0===t[r]||(t[r]=r in n?n[r]:i)}}function r(t,e){return"string"==typeof t?(e||document).querySelector(t):t||null}function i(t,e){return a.call((e||document).querySelectorAll(t))}function o(){i("input.awesomplete").forEach(function(t){new s(t)})}var s=function(t,e){var i=this;this.isOpened=!1,this.input=r(t),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-autocomplete","list"),e=e||{},n(this,{minChars:2,maxItems:10,autoFirst:!1,data:s.DATA,filter:s.FILTER_CONTAINS,sort:!1!==e.sort&&s.SORT_BYLENGTH,item:s.ITEM,replace:s.REPLACE},e),this.index=-1,this.container=r.create("div",{className:"awesomplete",around:t}),this.ul=r.create("ul",{hidden:"hidden",inside:this.container}),this.status=r.create("span",{className:"visually-hidden",role:"status","aria-live":"assertive","aria-relevant":"additions",inside:this.container}),this._events={input:{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(t){var e=t.keyCode;i.opened&&(13===e&&i.selected?(t.preventDefault(),i.select()):27===e?i.close({reason:"esc"}):38!==e&&40!==e||(t.preventDefault(),i[38===e?"previous":"next"]()))}},form:{submit:this.close.bind(this,{reason:"submit"})},ul:{mousedown:function(t){var e=t.target;if(e!==this){for(;e&&!/li/i.test(e.nodeName);)e=e.parentNode;e&&0===t.button&&(t.preventDefault(),i.select(e,t.target))}}}},r.bind(this.input,this._events.input),r.bind(this.input.form,this._events.form),r.bind(this.ul,this._events.ul),this.input.hasAttribute("list")?(this.list="#"+this.input.getAttribute("list"),this.input.removeAttribute("list")):this.list=this.input.getAttribute("data-list")||e.list||[],s.all.push(this)};s.prototype={set list(t){if(Array.isArray(t))this._list=t;else if("string"==typeof t&&t.indexOf(",")>-1)this._list=t.split(/\s*,\s*/);else if((t=r(t))&&t.children){var e=[];a.apply(t.children).forEach(function(t){if(!t.disabled){var n=t.textContent.trim(),r=t.value||n,i=t.label||n;""!==r&&e.push({label:i,value:r})}}),this._list=e}document.activeElement===this.input&&this.evaluate()},get selected(){return this.index>-1},get opened(){return this.isOpened},close:function(t){this.opened&&(this.ul.setAttribute("hidden",""),this.isOpened=!1,this.index=-1,r.fire(this.input,"awesomplete-close",t||{}))},open:function(){this.ul.removeAttribute("hidden"),this.isOpened=!0,this.autoFirst&&-1===this.index&&this.goto(0),r.fire(this.input,"awesomplete-open")},destroy:function(){r.unbind(this.input,this._events.input),r.unbind(this.input.form,this._events.form);var t=this.container.parentNode;t.insertBefore(this.input,this.container),t.removeChild(this.container),this.input.removeAttribute("autocomplete"),this.input.removeAttribute("aria-autocomplete");var e=s.all.indexOf(this);-1!==e&&s.all.splice(e,1)},next:function(){var t=this.ul.children.length;this.goto(this.index-1&&e.length>0&&(e[t].setAttribute("aria-selected","true"),this.status.textContent=e[t].textContent,this.ul.scrollTop=e[t].offsetTop-this.ul.clientHeight+e[t].clientHeight,r.fire(this.input,"awesomplete-highlight",{text:this.suggestions[this.index]}))},select:function(t,e){if(t?this.index=r.siblingIndex(t):t=this.ul.children[this.index],t){var n=this.suggestions[this.index];r.fire(this.input,"awesomplete-select",{text:n,origin:e||t})&&(this.replace(n),this.close({reason:"select"}),r.fire(this.input,"awesomplete-selectcomplete",{text:n}))}},evaluate:function(){var t=this,n=this.input.value;n.length>=this.minChars&&this._list.length>0?(this.index=-1,this.ul.innerHTML="",this.suggestions=this._list.map(function(r){return new e(t.data(r,n))}).filter(function(e){return t.filter(e,n)}),!1!==this.sort&&(this.suggestions=this.suggestions.sort(this.sort)),this.suggestions=this.suggestions.slice(0,this.maxItems),this.suggestions.forEach(function(e){t.ul.appendChild(t.item(e,n))}),0===this.ul.children.length?this.close({reason:"nomatches"}):this.open()):this.close({reason:"nomatches"})}},s.all=[],s.FILTER_CONTAINS=function(t,e){return RegExp(r.regExpEscape(e.trim()),"i").test(t)},s.FILTER_STARTSWITH=function(t,e){return RegExp("^"+r.regExpEscape(e.trim()),"i").test(t)},s.SORT_BYLENGTH=function(t,e){return t.length!==e.length?t.length-e.length:t$&"),"aria-selected":"false"})},s.REPLACE=function(t){this.input.value=t.value},s.DATA=function(t){return t},Object.defineProperty(e.prototype=Object.create(String.prototype),"length",{get:function(){return this.label.length}}),e.prototype.toString=e.prototype.valueOf=function(){return""+this.label};var a=Array.prototype.slice;r.create=function(t,e){var n=document.createElement(t);for(var i in e){var o=e[i];if("inside"===i)r(o).appendChild(n);else if("around"===i){var s=r(o);s.parentNode.insertBefore(n,s),n.appendChild(s)}else i in n?n[i]=o:n.setAttribute(i,o)}return n},r.bind=function(t,e){if(t)for(var n in e){var r=e[n];n.split(/\s+/).forEach(function(e){t.addEventListener(e,r)})}},r.unbind=function(t,e){if(t)for(var n in e){var r=e[n];n.split(/\s+/).forEach(function(e){t.removeEventListener(e,r)})}},r.fire=function(t,e,n){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0);for(var i in n)r[i]=n[i];return t.dispatchEvent(r)},r.regExpEscape=function(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")},r.siblingIndex=function(t){for(var e=0;t=t.previousElementSibling;e++);return e},"undefined"!=typeof Document&&("loading"!==document.readyState?o():document.addEventListener("DOMContentLoaded",o)),s.$=r,s.$$=i,"undefined"!=typeof self&&(self.Awesomplete=s),"object"==typeof t&&t.exports&&(t.exports=s)}()},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{attrs:{id:"password-generator"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"sr-only",attrs:{for:"site"}},[t._v(t._s(t.$t("Site")))]),t._v(" "),n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-globe"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password.site,expression:"password.site"}],ref:"site",staticClass:"form-control awesomplete",attrs:{id:"site",name:"site",autocorrect:"off",autocapitalize:"none",placeholder:t.$t("Site")},domProps:{value:t.password.site},on:{input:function(e){e.target.composing||t.$set(t.password,"site",e.target.value)}}})])]),t._v(" "),n("remove-auto-complete"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"sr-only",attrs:{for:"login"}},[t._v(t._s(t.$t("Login")))]),t._v(" "),n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-user"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password.login,expression:"password.login"}],ref:"login",staticClass:"form-control",attrs:{id:"login",name:"login",autocomplete:"off",autocorrect:"off",autocapitalize:"none",placeholder:t.$t("Login")},domProps:{value:t.password.login},on:{input:function(e){e.target.composing||t.$set(t.password,"login",e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group"},[n("master-password",{ref:"masterPassword",attrs:{label:t.$t("Master Password")},on:{keyupEnter:t.generatePassword},model:{value:t.masterPassword,callback:function(e){t.masterPassword=e},expression:"masterPassword"}})],1),t._v(" "),n("div",{staticClass:"form-group",class:{"mb-0":!t.showOptions}},[t.passwordGenerated?t._e():n("div",[n("button",{staticClass:"btn btn-primary border-blue",attrs:{id:"generatePassword__btn",type:"button"},on:{click:t.generatePassword}},[t._v("\n "+t._s(t.$t("Generate"))+"\n ")]),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:!t.passwordGenerated,expression:"!passwordGenerated"}],staticClass:"btn btn-secondary pull-right showOptions__btn",attrs:{type:"button"},on:{click:function(e){t.showOptions=!t.showOptions}}},[n("i",{staticClass:"fa fa-sliders"})])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.passwordGenerated,expression:"passwordGenerated"}],staticClass:"btn-group"},[n("div",{staticClass:"input-group"},[n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-primary border-blue",attrs:{id:"copyPasswordButton",type:"button"},on:{click:function(e){t.copyPassword()}}},[n("i",{staticClass:"fa fa-clipboard"})])]),t._v(" "),n("input",{ref:"passwordGenerated",staticClass:"form-control",attrs:{id:"generated-password",type:"password",tabindex:"-1"},domProps:{value:t.passwordGenerated}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-secondary",attrs:{id:"revealGeneratedPassword",type:"button"},on:{click:function(e){t.togglePasswordType(t.$refs.passwordGenerated)}}},[n("i",{staticClass:"fa fa-eye"})])]),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-secondary",attrs:{id:"sharePasswordProfileButton",type:"button"},on:{click:function(e){t.sharePasswordProfile()}}},[n("i",{staticClass:"fa fa-share-alt pointer"})])]),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-secondary showOptions__btn",attrs:{type:"button"},on:{click:function(e){t.showOptions=!t.showOptions}}},[n("i",{staticClass:"fa fa-sliders"})])])])])]),t._v(" "),t.showOptions||!t.isDefaultProfile?n("options"):t._e()],1)},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(149),i=n.n(r),o=n(150),s=n(2),a=s(i.a,o.a,!1,null,null,null);e.default=a.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e=0&&m.splice(e,1)}function a(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function u(t,e){var n,r,i;if(e.singleton){var o=g++;n=v||(v=a(e)),r=c.bind(null,n,o,!1),i=c.bind(null,n,o,!0)}else n=a(e),r=l.bind(null,n),i=function(){s(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}function c(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function l(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var f={},p=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}},h=p(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),d=p(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,g=0,m=[];t.exports=function(t,e){e=e||{},void 0===e.singleton&&(e.singleton=h()),void 0===e.insertAt&&(e.insertAt="bottom");var n=i(t);return r(n,e),function(t){for(var o=[],s=0;sthis.pageCount-this.pageRange/2&&(o=this.pageCount-this.selected,i=this.pageRange-o);for(var s=function(n){var r={index:n,content:n+1,selected:n===t.selected};e[n]=r},a=function(t){var n={content:"...",disabled:!0};e[t]=n},u=0;u0&&(c=this.selected-this.pageRange);var l=this.pageCount;this.selected+this.pageRangethis.marginPages&&a(c-1),l+1=this.pageCount-this.marginPages;p--)s(p)}return e}},methods:{handlePageSelected:function(t){this.selected!==t&&(this.selected=t,this.clickHandler(this.selected+1))},prevPage:function(){this.selected<=0||(this.selected--,this.clickHandler(this.selected+1))},nextPage:function(){this.selected>=this.pageCount-1||(this.selected++,this.clickHandler(this.selected+1))},firstPageSelected:function(){return 0===this.selected},lastPageSelected:function(){return this.selected===this.pageCount-1||0===this.pageCount}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.noLiSurround?n("div",{class:t.containerClass},[n("a",{class:[t.prevLinkClass,{disabled:t.firstPageSelected()}],attrs:{tabindex:"0"},on:{click:function(e){t.prevPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.prevPage():null}}},[t._t("prevContent",[t._v(t._s(t.prevText))])],2),t._v(" "),t._l(t.pages,function(e){return[e.disabled?n("a",{class:[t.pageLinkClass,e.selected?t.activeClass:"",{disabled:e.disabled}],attrs:{tabindex:"0"}},[t._v(t._s(e.content))]):n("a",{class:[t.pageLinkClass,{active:e.selected,disabled:e.disabled}],attrs:{tabindex:"0"},on:{click:function(n){t.handlePageSelected(e.index)},keyup:function(n){return"button"in n||!t._k(n.keyCode,"enter",13)?void t.handlePageSelected(e.index):null}}},[t._v("\n "+t._s(e.content)+"\n ")])]}),t._v(" "),n("a",{class:[t.nextLinkClass,{disabled:t.lastPageSelected()}],attrs:{tabindex:"0"},on:{click:function(e){t.nextPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.nextPage():null}}},[t._t("nextContent",[t._v(t._s(t.nextText))])],2)],2):n("ul",{class:t.containerClass},[n("li",{class:[t.prevClass,{disabled:t.firstPageSelected()}]},[n("a",{class:t.prevLinkClass,attrs:{tabindex:"0"},on:{click:function(e){t.prevPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.prevPage():null}}},[t._t("prevContent",[t._v(t._s(t.prevText))])],2)]),t._v(" "),t._l(t.pages,function(e){return n("li",{class:[t.pageClass,e.selected?t.activeClass:"",{disabled:e.disabled}]},[e.disabled?n("a",{class:t.pageLinkClass,attrs:{tabindex:"0"}},[t._v(t._s(e.content))]):n("a",{class:t.pageLinkClass,attrs:{tabindex:"0"},on:{click:function(n){t.handlePageSelected(e.index)},keyup:function(n){return"button"in n||!t._k(n.keyCode,"enter",13)?void t.handlePageSelected(e.index):null}}},[t._v(t._s(e.content))])])}),t._v(" "),n("li",{class:[t.nextClass,{disabled:t.lastPageSelected()}]},[n("a",{class:t.nextLinkClass,attrs:{tabindex:"0"},on:{click:function(e){t.nextPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.nextPage():null}}},[t._t("nextContent",[t._v(t._s(t.nextText))])],2)])],2)},staticRenderFns:[]}}])})},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"passwords"}},[n("div",{staticClass:"pb-3",attrs:{id:"passwords__search"}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-search"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchQuery,expression:"searchQuery"}],staticClass:"form-control",attrs:{name:"search",placeholder:"Search"},domProps:{value:t.searchQuery},on:{input:function(e){e.target.composing||(t.searchQuery=e.target.value)}}})])])])]),t._v(" "),n("div",{attrs:{id:"passwords__list"}},[0===t.passwords.length?n("div",[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[t._v("\n "+t._s(t.$t("NoPassword","You don't have any password profile saved in your database."))+"\n "),n("router-link",{attrs:{to:{name:"home"}}},[t._v(t._s(t.$t("CreatePassword","Would you like to create one?")))])],1)])]):t._e(),t._v(" "),0===t.filteredPasswords.length&&t.passwords.length>0?n("div",[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[t._v("\n "+t._s(t.$t("NoMatchFor","Oops! There are no matches for"))+' "'+t._s(t.searchQuery)+'".\n '+t._s(t.$t("UpdateYourSearch","Please try broadening your search."))+"\n ")])])]):t._e(),t._v(" "),t._l(t.filteredPasswords,function(e){return n("password-profile",{key:e.id,staticClass:"passwords__profile",attrs:{password:e},on:{deleted:function(e){t.pagination.currentPage=1}}})})],2),t._v(" "),t.pagination.pageCount>1?n("div",{attrs:{id:"passwords__pagination"}},[n("paginate",{attrs:{"page-count":t.pagination.pageCount,"page-range":1,"margin-pages":1,"click-handler":t.setCurrentPage,containerClass:"pagination pagination-sm","page-class":"page-item","prev-class":"page-item","next-class":"page-item","page-link-class":"page-link","prev-link-class":"page-link","next-link-class":"page-link","prev-text":t.$t("Previous"),"next-text":t.$t("Next")}})],1):t._e()])},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){(function(e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var r=("undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self,"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}),i=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t,e){!function(e,n){t.exports=n()}(0,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){function r(t){var e=new s(t),n=o(s.prototype.request,e);return i.extend(n,s.prototype,e),i.extend(n,e),n}var i=n(2),o=n(3),s=n(4),a=n(5),u=r(a);u.Axios=s,u.create=function(t){return r(i.merge(a,t))},u.Cancel=n(22),u.CancelToken=n(23),u.isCancel=n(19),u.all=function(t){return Promise.all(t)},u.spread=n(24),t.exports=u,t.exports.default=u},function(t,e,n){function i(t){return"[object Array]"===C.call(t)}function o(t){return"[object ArrayBuffer]"===C.call(t)}function s(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function u(t){return"string"==typeof t}function c(t){return"number"==typeof t}function l(t){return void 0===t}function f(t){return null!==t&&"object"===(void 0===t?"undefined":r(t))}function p(t){return"[object Date]"===C.call(t)}function h(t){return"[object File]"===C.call(t)}function d(t){return"[object Blob]"===C.call(t)}function v(t){return"[object Function]"===C.call(t)}function g(t){return f(t)&&v(t.pipe)}function m(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function y(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function _(){return"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof document.createElement}function w(t,e){if(null!==t&&void 0!==t)if("object"===(void 0===t?"undefined":r(t))||i(t)||(t=[t]),i(t))for(var n=0,o=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){c.headers[t]={}}),o.forEach(["post","put","patch"],function(t){c.headers[t]=o.merge(u)}),t.exports=c},function(t,e,n){var r=n(2);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){var r=n(2),i=n(8),o=n(11),s=n(12),a=n(13),u=n(9),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(14);t.exports=function(t){return new Promise(function(e,l){var f=t.data,p=t.headers;r.isFormData(f)&&delete p["Content-Type"];var h=new XMLHttpRequest,d="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||a(t.url)||(h=new window.XDomainRequest,d="onload",v=!0,h.onprogress=function(){},h.ontimeout=function(){}),t.auth){var g=t.auth.username||"",m=t.auth.password||"";p.Authorization="Basic "+c(g+":"+m)}if(h.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h[d]=function(){if(h&&(4===h.readyState||v)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,o={data:r,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:n,config:t,request:h};i(e,l,o),h=null}},h.onerror=function(){l(u("Network Error",t)),h=null},h.ontimeout=function(){l(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),h=null},r.isStandardBrowserEnv()){var y=n(15),_=(t.withCredentials||a(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;_&&(p[t.xsrfHeaderName]=_)}if("setRequestHeader"in h&&r.forEach(p,function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)}),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(t){if("json"!==h.responseType)throw t}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){h&&(h.abort(),l(t),h=null)}),void 0===f&&(f=null),h.send(f)})}},function(t,e,n){var r=n(9);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n)):t(n)}},function(t,e,n){var r=n(10);t.exports=function(t,e,n,i){var o=new Error(t);return r(o,e,n,i)}},function(t,e){t.exports=function(t,e,n,r){return t.config=e,n&&(t.code=n),t.response=r,t}},function(t,e,n){function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n(2);t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var s=[];i.forEach(e,function(t,e){null!==t&&void 0!==t&&(i.isArray(t)&&(e+="[]"),i.isArray(t)||(t=[t]),i.forEach(t,function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),s.push(r(e)+"="+r(t))}))}),o=s.join("&")}return o&&(t+=(-1===t.indexOf("?")?"?":"&")+o),t}},function(t,e,n){var r=n(2);t.exports=function(t){var e,n,i,o={};return t?(r.forEach(t.split("\n"),function(t){i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e&&(o[e]=o[e]?o[e]+", "+n:n)}),o):o}},function(t,e,n){var r=n(2);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(i.setAttribute("href",e),e=i.href),i.setAttribute("href",e),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return e=t(window.location.href),function(n){var i=r.isString(n)?t(n):n;return i.protocol===e.protocol&&i.host===e.host}}():function(){return function(){return!0}}()},function(t,e){function n(){this.message="String contains an invalid character"}function r(t){for(var e,r,o=String(t),s="",a=0,u=i;o.charAt(0|a)||(u="=",a%1);s+=u.charAt(63&e>>8-a%1*8)){if((r=o.charCodeAt(a+=.75))>255)throw new n;e=e<<8|r}return s}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",t.exports=r},function(t,e,n){var r=n(2);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,n){function r(){this.handlers=[]}var i=n(2);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},function(t,e,n){function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var i=n(2),o=n(18),s=n(19),a=n(5);t.exports=function(t){return r(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return r(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return s(e)||(r(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){var r=n(2);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e){t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e){t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e){t.exports=function(t,e){return t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,"")}},function(t,e){function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t,e,n){function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new i(t),e(n.reason))})}var i=n(22);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},function(t,e){t.exports=function(t){return function(e){return t.apply(null,e)}}}])})}),o={translate:function(t,e,n,r){return t&&e in t?this.compile(t[e],r):n?this.compile(n,r):e},compile:function(t,e){return e?t.replace(/{(\w*)}/g,function(t,n){return e.hasOwnProperty(n)?e[n]:""}):t},getBestLanguage:function(t,e,n){if(void 0===e)return n;for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{languagesAvailable:[],defaultLanguage:"en-US"};s||(s=new e({data:function(){return{languagesAvailable:n.languagesAvailable,defaultLanguage:n.defaultLanguage,lang:this.getLang(),locales:{}}},computed:{locale:function(){return this.locales[this.lang]?this.locales[this.lang]:null}},methods:{setLang:function(t){var e=t.lang;this.lang=e},addLangInLanguagesAvailable:function(t){var e=t.lang;-1===this.languagesAvailable.indexOf(e)&&this.languagesAvailable.push(e)},setLocale:function(e){var n=e.lang,r=e.locale;this.locales=Object.assign({},this.locales,t({},n,r))},extendLocales:function(t){var e=this;Object.keys(t).forEach(function(n){var r=e.locales.hasOwnProperty(n)?Object.assign({},e.locales[n],t[n]):t[n];e.setLocale({lang:n,locale:r})})},getLang:function(){var t=n.languagesAvailable,e=window.navigator.userLanguage||window.navigator.language,r=n.defaultLanguage;return o.getBestLanguage(t,e,r)},getLocale:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.baseURL,o=void 0===r?"i18n":r,s=e.lang,a=void 0===s?"auto":s,u=e.ext,c=void 0===u?".json":u;(a="auto"===a?this.getLang():a)!==n.defaultLanguage&&i.get(o+"/"+a+c).then(function(e){var n=e.data;t.setLocale({lang:a,locale:n}),t.setLang({lang:a}),t.addLangInLanguagesAvailable({lang:a})})},_translate:function(t,e,n){return o.translate(this.locale,t,e,n)}}}),e.prototype.$polyglot=s),e.mixin({methods:{$t:function(t,e,n){return this.$polyglot._translate(t,e,n)}}}),e.locales=function(t){Object.keys(t).forEach(function(e){s.$polyglot.setLocale({lang:e,locale:t[e]})})}}}})}).call(e,n(4),n(7))}]); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index b51451e..16fbfa8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -64,9 +64,9 @@ "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" }, "array-slice": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.0.0.tgz", - "integrity": "sha1-5zA08A3MH0CHYAj9IP6ud71LfC8=", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz", + "integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==", "dev": true }, "array-uniq": { @@ -87,11 +87,11 @@ "integrity": "sha1-tuJT9zR05GJ4u6Wuf4HUJiFg+3U=" }, "axios": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.16.2.tgz", - "integrity": "sha1-uk+S8XFn37q0CYN4VFS5rBScPG0=", + "version": "0.17.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.17.1.tgz", + "integrity": "sha1-LY4+XQvb1zJ/kbyBT1xXZg+Bgk0=", "requires": { - "follow-redirects": "1.2.5", + "follow-redirects": "1.2.6", "is-buffer": "1.1.6" } }, @@ -108,9 +108,9 @@ "dev": true }, "big-integer": { - "version": "1.6.25", - "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.25.tgz", - "integrity": "sha1-HeRan1dUKsIBIcaC+NZCIgo06CM=" + "version": "1.6.26", + "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.26.tgz", + "integrity": "sha1-OvFnL6Ytry1eyvrPblqg0l4Cwcg=" }, "body-parser": { "version": "1.18.2", @@ -221,9 +221,9 @@ "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" }, "copy-text-to-clipboard": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/copy-text-to-clipboard/-/copy-text-to-clipboard-1.0.3.tgz", - "integrity": "sha1-aWYs0wVJPJJcAqOEy8rnbWQtd/M=" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/copy-text-to-clipboard/-/copy-text-to-clipboard-1.0.4.tgz", + "integrity": "sha512-4hDE+0bgqm4G/nXnt91CP3rc0vOptaePPU5WfVZuhv2AYNJogdLHR4pF1XPgXDAGY4QCzj9pD7zKATa+50sQPg==" }, "core-util-is": { "version": "1.0.2", @@ -529,11 +529,21 @@ "dev": true }, "follow-redirects": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.2.5.tgz", - "integrity": "sha512-lMhwQTryFbG+wYsAIEKC1Kf5IGDlVNnONRogIBllh7LLoV7pNIxW0z9fhjRar9NBql+hd2Y49KboVVNxf6GEfg==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.2.6.tgz", + "integrity": "sha512-FrMqZ/FONtHnbqO651UPpfRUVukIEwJhXMfdr/JWAmrDbeYBu773b1J6gdWDyRIj4hvvzQEHoEOTrdR8o6KLYA==", "requires": { - "debug": "2.6.9" + "debug": "3.1.0" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "requires": { + "ms": "2.0.0" + } + } } }, "font-awesome": { @@ -685,7 +695,7 @@ "dev": true, "requires": { "homedir-polyfill": "1.0.1", - "ini": "1.3.4", + "ini": "1.3.5", "is-windows": "0.2.0", "which": "1.3.0" } @@ -751,7 +761,7 @@ "integrity": "sha1-dhPHeKGv6mLyXGMKCG1/Osu92Bg=", "dev": true, "requires": { - "natives": "1.1.0" + "natives": "1.1.1" } }, "gulp": { @@ -764,7 +774,7 @@ "chalk": "1.1.3", "deprecated": "0.0.1", "gulp-util": "3.0.8", - "interpret": "1.0.4", + "interpret": "1.1.0", "liftoff": "2.3.0", "minimist": "1.2.0", "orchestrator": "0.3.8", @@ -897,15 +907,15 @@ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" }, "ini": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.4.tgz", - "integrity": "sha1-BTfLedr1m1mhpRff9wbIbsA5Fi4=", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", "dev": true }, "interpret": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.0.4.tgz", - "integrity": "sha1-ggzdWIuGj/sZGoCVBtbJyPISsbA=", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", + "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=", "dev": true }, "ipaddr.js": { @@ -1080,35 +1090,35 @@ "resolved": "https://registry.npmjs.org/lesspass/-/lesspass-6.0.0.tgz", "integrity": "sha1-+ViSQbXnI4zNi43rKln7/XfORO0=", "requires": { - "big-integer": "1.6.25", + "big-integer": "1.6.26", "create-hmac": "1.1.6", "object-assign": "4.1.1", "pbkdf2": "3.0.14", "pinkie-promise": "2.0.1", - "unibabel": "2.1.6" + "unibabel": "2.1.7" } }, "lesspass-pure": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/lesspass-pure/-/lesspass-pure-5.0.5.tgz", - "integrity": "sha512-47YibG9nsqjso1x5wpgDexMBc1o0+j7a83Pj6wO9x/hcEL6WxEz4zUfnsSAiMDucvJp/7qJJFwAOtDbky3uQ0g==", + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/lesspass-pure/-/lesspass-pure-5.0.6.tgz", + "integrity": "sha512-mJf152RZuJeC9Jn35lX4pebGzTlFLUyIxo9HFaJPUJTGQ+53lMi0ACHtsUHIakmr6P/ME/SUc5Z2PAVNo4r6bw==", "requires": { "awesomplete": "1.1.2", - "axios": "0.16.2", + "axios": "0.17.1", "bootstrap": "4.0.0-beta.2", - "copy-text-to-clipboard": "1.0.3", + "copy-text-to-clipboard": "1.0.4", "font-awesome": "4.7.0", "hint.css": "2.5.0", "jwt-decode": "2.2.0", "lesspass": "6.0.0", "lodash.debounce": "4.0.8", - "vue": "2.5.3", + "vue": "2.5.9", "vue-polyglot": "0.2.3", - "vue-router": "2.8.1", - "vuejs-paginate": "1.4.0", - "vuex": "2.5.0", - "vuex-persistedstate": "2.3.1", - "vuex-router-sync": "4.3.2" + "vue-router": "3.0.1", + "vuejs-paginate": "1.5.0", + "vuex": "3.0.1", + "vuex-persistedstate": "2.4.2", + "vuex-router-sync": "5.0.0" } }, "liftoff": { @@ -1389,9 +1399,9 @@ } }, "natives": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/natives/-/natives-1.1.0.tgz", - "integrity": "sha1-6f+EFBimsux6SV6TmYT3jxY+bjE=", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/natives/-/natives-1.1.1.tgz", + "integrity": "sha512-8eRaxn8u/4wN8tGkhlc2cgwwvOLMLUMUn4IYTexMgWd+LyUDfeXVkk2ygQR0hvIHbJQXgHujia3ieUUDwNGkEA==", "dev": true }, "negotiator": { @@ -1420,7 +1430,7 @@ "dev": true, "requires": { "array-each": "1.0.1", - "array-slice": "1.0.0", + "array-slice": "1.1.0", "for-own": "1.0.0", "isobject": "3.0.1" }, @@ -1959,9 +1969,9 @@ "dev": true }, "unibabel": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/unibabel/-/unibabel-2.1.6.tgz", - "integrity": "sha512-KZK9+1RCoFHsGgSvCbGv+I4ypPAdNIEKjc923DzekGJTi9RymCP2lOJ9wcvSDg3k+zRlaCCx4jjAnQjOyF5dgA==" + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/unibabel/-/unibabel-2.1.7.tgz", + "integrity": "sha512-UE3o33owprhW9KYqBdFYzbx5m/nYavivQm+GsjRhQ29/B1oEsgkAculd9A93c3oUVy4voq7E49xnty73nXB2HQ==" }, "unique-stream": { "version": "1.0.0", @@ -2073,9 +2083,9 @@ } }, "vue": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/vue/-/vue-2.5.3.tgz", - "integrity": "sha512-C8O5ZtR9jpwm6sCre3k42/WvuAcil5hH1+c3mJks8kNCYKh57sQh6I5U7m9L0fD89OKkIofmebUORngZkLedNA==" + "version": "2.5.9", + "resolved": "https://registry.npmjs.org/vue/-/vue-2.5.9.tgz", + "integrity": "sha512-9B9XBpCtj8y5eJFrspIcKxIWt+lG9FMdF8qgyOlUeOIvcS4xSAvcARygbzHA6Pi0KWFj4BvxjtWbuPVWRx/wuA==" }, "vue-polyglot": { "version": "0.2.3", @@ -2104,33 +2114,33 @@ } }, "vue-router": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-2.8.1.tgz", - "integrity": "sha512-MC4jacHBhTPKtmcfzvaj2N7g6jgJ/Z/eIjZdt+yUaUOM1iKC0OUIlO/xCtz6OZFFTNUJs/1YNro2GN/lE+nOXA==" + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.0.1.tgz", + "integrity": "sha512-vLLoY452L+JBpALMP5UHum9+7nzR9PeIBCghU9ZtJ1eWm6ieUI8Zb/DI3MYxH32bxkjzYV1LRjNv4qr8d+uX/w==" }, "vuejs-paginate": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/vuejs-paginate/-/vuejs-paginate-1.4.0.tgz", - "integrity": "sha512-kCpLd/DjZ8OpYvNH6/OZiFVBlqqXDrKnYUdfWcGme3rxwK5JwM9kIY9P0mxSQQQ4w1mguhokRpO75pKLXX4Miw==" + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/vuejs-paginate/-/vuejs-paginate-1.5.0.tgz", + "integrity": "sha512-RMpZ5bLozGDXwhzKMRi4j3Cyd9iuYrRFVbvNb4aTh51TNlc1/eS1cCABH68sWPtmkWqqTA8prjuAHVgga0IoQw==" }, "vuex": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/vuex/-/vuex-2.5.0.tgz", - "integrity": "sha512-5oJPOJySBgSgSzoeO+gZB/BbN/XsapgIF6tz34UwJqnGZMQurzIO3B4KIBf862gfc9ya+oduY5sSkq+5/oOilQ==" + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/vuex/-/vuex-3.0.1.tgz", + "integrity": "sha512-wLoqz0B7DSZtgbWL1ShIBBCjv22GV5U+vcBFox658g6V0s4wZV9P4YjCNyoHSyIBpj1f29JBoNQIqD82cR4O3w==" }, "vuex-persistedstate": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/vuex-persistedstate/-/vuex-persistedstate-2.3.1.tgz", - "integrity": "sha512-8RmPUr8QdxXv6kgdHUGcAHPtPdKpVVzI+IZ+XaUUVk0hSgcyasnPFzbp466juXYiLxOB58nPR6unv/X06KSGdg==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/vuex-persistedstate/-/vuex-persistedstate-2.4.2.tgz", + "integrity": "sha512-syhniP78ZhfijX0RLAAsiGs4QOSol3XAlCgWQDu2GWW5uPWzeP1RJZ85lke+zs0CjZk2y80srGNSMWuwdWVRhA==", "requires": { "deepmerge": "2.0.1", "shvl": "1.1.1" } }, "vuex-router-sync": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/vuex-router-sync/-/vuex-router-sync-4.3.2.tgz", - "integrity": "sha512-Uwi1aPM1U9IOzEqJl8r3aCQm8l2H+IMm0lMQtznY7ENv8XK0w+6e+le6r06k0W9ud7qBJ4fDjbCcNpXBdnO3Xg==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/vuex-router-sync/-/vuex-router-sync-5.0.0.tgz", + "integrity": "sha512-Mry2sO4kiAG64714X1CFpTA/shUH1DmkZ26DFDtwoM/yyx6OtMrc+MxrU+7vvbNLO9LSpgwkiJ8W+rlmRtsM+w==" }, "which": { "version": "1.3.0", diff --git a/package.json b/package.json index 8d1d7d6..61fc538 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "express": "^4.15.2", - "lesspass-pure": "^5.0.5" + "lesspass-pure": "^5.0.6" }, "devDependencies": { "gulp": "^3.9.1"