From e4c5c48364849d5460f76e4edeaca720d220a9be Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Mon, 6 Feb 2017 12:31:04 +0100 Subject: [PATCH] build lesspass-pure version 4.4.1 --- www/dist/lesspass.min.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/www/dist/lesspass.min.js b/www/dist/lesspass.min.js index 9504404..e7d9643 100644 --- a/www/dist/lesspass.min.js +++ b/www/dist/lesspass.min.js @@ -1,11 +1,11 @@ -!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},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=255)}([function(t,e,n){"use strict";(function(t){function r(){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}}function o(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,e){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function m(t){return+t!=t&&(t=0),s.alloc(+t)}function g(t,e){if(s.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 W(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(t).length;default:if(r)return W(t).length;e=(""+e).toLowerCase(),r=!0}}function y(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 M(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return R(this,e,n);case"latin1":case"binary":return j(this,e,n);case"base64":return k(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 _(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function w(t,e,n,r,o){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=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=s.from(e,r)),s.isBuffer(e))return 0===e.length?-1:b(t,e,n,r,o);if("number"==typeof e)return e&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):b(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(t,e,n,r,o){function i(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}var s=1,a=t.length,u=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"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(o){var f=-1;for(c=n;ca&&(n=a-u),c=n;c>=0;c--){for(var l=!0,p=0;po&&(r=o)):r=o;var i=e.length;if(i%2!==0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var s=0;s239?4:i>223?3:i>191?2:1;if(o+a<=n){var u,c,f,l;switch(a){case 1:i<128&&(s=i);break;case 2:u=t[o+1],128===(192&u)&&(l=(31&i)<<6|63&u,l>127&&(s=l));break;case 3:u=t[o+1],c=t[o+2],128===(192&u)&&128===(192&c)&&(l=(15&i)<<12|(63&u)<<6|63&c,l>2047&&(l<55296||l>57343)&&(s=l));break;case 4:u=t[o+1],c=t[o+2],f=t[o+3],128===(192&u)&&128===(192&c)&&128===(192&f)&&(l=(15&i)<<18|(63&u)<<12|(63&c)<<6|63&f,l>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),o+=a}return T(r)}function T(t){var e=t.length;if(e<=tt)return String.fromCharCode.apply(String,t);for(var n="",r=0;rr)&&(n=r);for(var o="",i=e;in)throw new RangeError("Trying to access beyond buffer length")}function I(t,e,n,r,o,i){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw new RangeError("Index out of range")}function D(t,e,n,r){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-n,2);o>>8*(r?o:1-o)}function B(t,e,n,r){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);o>>8*(r?o:3-o)&255}function $(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function U(t,e,n,r,o){return o||$(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(t,e,n,r,23,4),n+4}function F(t,e,n,r,o){return o||$(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(t,e,n,r,52,8),n+8}function q(t){if(t=V(t).replace(et,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function V(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 W(t,e){e=e||1/0;for(var n,r=t.length,o=null,i=[],s=0;s55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.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;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function H(t){for(var e=[],n=0;n>8,o=n%256,i.push(o),i.push(r);return i}function G(t){return Z.toByteArray(q(t))}function K(t,e,n,r){for(var o=0;o=e.length||o>=t.length);++o)e[o+n]=t[o];return o}function J(t){return t!==t}var Z=n(139),X=n(197),Q=n(83);e.Buffer=s,e.SlowBuffer=m,e.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:r(),e.kMaxLength=o(),s.poolSize=8192,s._augment=function(t){return t.__proto__=s.prototype,t},s.from=function(t,e,n){return a(null,t,e,n)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(t,e,n){return c(null,t,e,n)},s.allocUnsafe=function(t){return f(null,t)},s.allocUnsafeSlow=function(t){return f(null,t)},s.isBuffer=function(t){return!(null==t||!t._isBuffer)},s.compare=function(t,e){if(!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,o=0,i=Math.min(n,r);o0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},s.prototype.compare=function(t,e,n,r,o){if(!s.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===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,o>>>=0,this===t)return 0;for(var i=o-r,a=n-e,u=Math.min(i,a),c=this.slice(r,o),f=t.slice(e,n),l=0;lo)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return E(this,t,e,n);case"utf8":case"utf-8":return x(this,t,e,n);case"ascii":return O(this,t,e,n);case"latin1":case"binary":return S(this,t,e,n);case"base64":return C(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var tt=4096;s.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e0&&(o*=256);)r+=this[t+--e]*o;return r},s.prototype.readUInt8=function(t,e){return e||N(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return e||N(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return e||N(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return e||N(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,e){return e||N(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||N(t,e,this.length);for(var r=this[t],o=1,i=0;++i=o&&(r-=Math.pow(2,8*e)),r},s.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||N(t,e,this.length);for(var r=e,o=1,i=this[t+--r];r>0&&(o*=256);)i+=this[t+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},s.prototype.readInt8=function(t,e){return e||N(t,1,this.length),128&this[t]?(255-this[t]+1)*-1:this[t]},s.prototype.readInt16LE=function(t,e){e||N(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(t,e){e||N(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(t,e){return e||N(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return e||N(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return e||N(t,4,this.length),X.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return e||N(t,4,this.length),X.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return e||N(t,8,this.length),X.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return e||N(t,8,this.length),X.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var o=Math.pow(2,8*n)-1;I(this,t,e,n,o,0)}var i=1,s=0;for(this[e]=255&t;++s=0&&(s*=256);)this[e+i]=t/s&255;return e+n},s.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,1,255,0),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):B(this,t,e,!0),e+4},s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},s.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);I(this,t,e,n,o-1,-o)}var i=0,s=1,a=0;for(this[e]=255&t;++i>0)-a&255;return e+n},s.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);I(this,t,e,n,o-1,-o)}var i=n-1,s=1,a=0;for(this[e+i]=255&t;--i>=0&&(s*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/s>>0)-a&255;return e+n},s.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,1,127,-128),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):B(this,t,e,!0),e+4},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},s.prototype.writeFloatLE=function(t,e,n){return U(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return U(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return F(this,t,e,!1,n)},s.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;--o)t[o+e]=this[o+n];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var i;if("number"==typeof t)for(i=e;i1)for(var n=1;n=2){var r=t.config._lifecycleHooks.indexOf("init")>-1;t.mixin(r?{init:e}:{beforeCreate:e})}else{var o=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,o.call(this,t)}}}function n(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 r(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function o(t,e){console.error("[vuex] module namespace not found in "+t+"(): "+e)}function i(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function s(t){return null!==t&&"object"==typeof t}function a(t){return t&&"function"==typeof t.then}function u(t,e){if(!t)throw new Error("[vuex] "+e)}function c(t,e){if(t.update(e),e.modules)for(var n in e.modules){if(!t.getChild(n))return void console.warn("[vuex] trying to add a new module '"+n+"' on hot reloading, manual reload is needed");c(t.getChild(n),e.modules[n])}}function f(t){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var e=t.state;p(t,e,[],t._modules.root,!0),l(t,e)}function l(t,e){var n=t._vm;t.getters={};var r=t._wrappedGetters,o={};i(r,function(e,n){o[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var s=T.config.silent;T.config.silent=!0,t._vm=new T({data:{state:e},computed:o}),T.config.silent=s,t.strict&&y(t),n&&(t._withCommit(function(){n.state=null}),T.nextTick(function(){return n.$destroy()}))}function p(t,e,n,r,o){var i=!n.length,s=t._modules.getNamespace(n);if(s&&(t._modulesNamespaceMap[s]=r),!i&&!o){var a=_(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit(function(){T.set(a,u,r.state)})}var c=r.context=d(t,s);r.forEachMutation(function(e,r){var o=s+r;v(t,o,e,n)}),r.forEachAction(function(e,r){var o=s+r;m(t,o,e,c,n)}),r.forEachGetter(function(e,r){var o=s+r;g(t,o,e,c,n)}),r.forEachChild(function(r,i){p(t,e,n.concat(i),r,o)})}function d(t,e){var n=""===e,r={dispatch:n?t.dispatch:function(n,r,o){var i=w(n,r,o),s=i.payload,a=i.options,u=i.type;return a&&a.root||(u=e+u,t._actions[u])?t.dispatch(u,s):void console.error("[vuex] unknown local action type: "+i.type+", global type: "+u)},commit:n?t.commit:function(n,r,o){var i=w(n,r,o),s=i.payload,a=i.options,u=i.type;return a&&a.root||(u=e+u,t._mutations[u])?void t.commit(u,s,a):void console.error("[vuex] unknown local mutation type: "+i.type+", global type: "+u)}};return Object.defineProperty(r,"getters",{get:n?function(){return t.getters}:function(){return h(t,e)}}),r}function h(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}}),n}function v(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(e){n(_(t.state,r),e)})}function m(t,e,n,r,o){var i=t._actions[e]||(t._actions[e]=[]);i.push(function(e,i){var s=n({dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:_(t.state,o),rootGetters:t.getters,rootState:t.state},e,i);return a(s)||(s=Promise.resolve(s)),t._devtoolHook?s.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):s})}function g(t,e,n,r,o){return t._wrappedGetters[e]?void console.error("[vuex] duplicate getter key: "+e):void(t._wrappedGetters[e]=function(t){return n(_(t.state,o),r.getters,t.state,t.getters)})}function y(t){t._vm.$watch("state",function(){u(t._committing,"Do not mutate vuex store state outside mutation handlers.")},{deep:!0,sync:!0})}function _(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function w(t,e,n){return s(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function b(t){return T?void console.error("[vuex] already installed. Vue.use(Vuex) should be called only once."):(T=t,void e(T))}var E="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,x=r(function(t,e){var r={};return n(e).forEach(function(e){var n=e.key,i=e.val;r[n]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=this.$store._modulesNamespaceMap[t];if(!r)return void o("mapState",t);e=r.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]}}),r}),O=r(function(t,e){var r={};return n(e).forEach(function(e){var n=e.key,o=e.val;o=t+o,r[n]=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return this.$store.commit.apply(this.$store,[o].concat(t))}}),r}),S=r(function(t,e){var r={};return n(e).forEach(function(e){var n=e.key,o=e.val;o=t+o,r[n]=function(){return o in this.$store.getters||console.error("[vuex] unknown getter: "+o),this.$store.getters[o]}}),r}),C=r(function(t,e){var r={};return n(e).forEach(function(e){var n=e.key,o=e.val;o=t+o,r[n]=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return this.$store.dispatch.apply(this.$store,[o].concat(t))}}),r}),A=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t},k={state:{},namespaced:{}};k.state.get=function(){return this._rawModule.state||{}},k.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,k);var P=function(t){var e=this;this.root=new A(t,!1),t.modules&&i(t.modules,function(t,n){e.register([n],t,!1)})};P.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},P.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},P.prototype.update=function(t){c(this.root,t)},P.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=this.get(t.slice(0,-1)),s=new A(e,n);o.addChild(t[t.length-1],s),e.modules&&i(e.modules,function(e,o){r.register(t.concat(o),e,n)})},P.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 T,R=function(e){var n=this;void 0===e&&(e={}),u(T,"must call Vue.use(Vuex) before creating a store instance."),u("undefined"!=typeof Promise,"vuex requires a Promise polyfill in this browser.");var r=e.state;void 0===r&&(r={});var o=e.plugins;void 0===o&&(o=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new P(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new T;var s=this,a=this,c=a.dispatch,f=a.commit;this.dispatch=function(t,e){return c.call(s,t,e)},this.commit=function(t,e,n){return f.call(s,t,e,n)},this.strict=i,p(this,r,[],this._modules.root),l(this,r),o.concat(t).forEach(function(t){return t(n)})},j={state:{}};j.state.get=function(){return this._vm.$data.state},j.state.set=function(t){u(!1,"Use store.replaceState() to explicit replace store state.")},R.prototype.commit=function(t,e,n){var r=this,o=w(t,e,n),i=o.type,s=o.payload,a=o.options,u={type:i,payload:s},c=this._mutations[i];return c?(this._withCommit(function(){c.forEach(function(t){t(s)})}),this._subscribers.forEach(function(t){return t(u,r.state)}),void(a&&a.silent&&console.warn("[vuex] mutation type: "+i+". Silent option has been removed. Use the filter functionality in the vue-devtools"))):void console.error("[vuex] unknown mutation type: "+i)},R.prototype.dispatch=function(t,e){var n=w(t,e),r=n.type,o=n.payload,i=this._actions[r];return i?i.length>1?Promise.all(i.map(function(t){return t(o)})):i[0](o):void console.error("[vuex] unknown action type: "+r)},R.prototype.subscribe=function(t){var e=this._subscribers;return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}},R.prototype.watch=function(t,e,n){var r=this;return u("function"==typeof t,"store.watch only accepts a function."),this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},R.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm.state=t})},R.prototype.registerModule=function(t,e){"string"==typeof t&&(t=[t]),u(Array.isArray(t),"module path must be a string or an Array."),this._modules.register(t,e),p(this,this.state,t,this._modules.get(t)),l(this,this.state)},R.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),u(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit(function(){var n=_(e.state,t.slice(0,-1));T.delete(n,t[t.length-1])}),f(this)},R.prototype.hotUpdate=function(t){this._modules.update(t),f(this)},R.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(R.prototype,j),"undefined"!=typeof window&&window.Vue&&b(window.Vue);var M={Store:R,install:b,version:"2.1.1",mapState:x,mapMutations:O,mapGetters:S,mapActions:C};return M})},function(t,e,n){t.exports=!n(18)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(12),o=n(70),i=n(49),s=Object.defineProperty;e.f=n(9)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(23);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(10),o=n(34);t.exports=n(9)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(71),o=n(41);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";function r(t){return this instanceof r?(c.call(this,t),f.call(this,t),t&&t.readable===!1&&(this.readable=!1),t&&t.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,t&&t.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",o)):new r(t)}function o(){this.allowHalfOpen||this._writableState.ended||a(i,this)}function i(t){t.end()}var s=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=r;var a=n(54),u=n(25);u.inherits=n(1);var c=n(86),f=n(56);u.inherits(r,c);for(var l=s(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(0).Buffer)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(66),i=r(o);e.default=i.default||function(t){for(var e=1;en.parts.length&&(r.parts.length=n.parts.length)}else{for(var i=[],o=0;o-1)return t.splice(n,1)}}function a(t,e){return An.call(t,e)}function u(t){return"string"==typeof t||"number"==typeof t}function c(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function f(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 l(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function p(t,e){for(var n in e)t[n]=e[n];return t}function d(t){return null!==t&&"object"==typeof t}function h(t){return Mn.call(t)===Ln}function v(t){for(var e={},n=0;n1?l(n):n;for(var r=l(arguments,1),o=0,i=n.length;oDn._maxUpdateCount)){Zn("You may have an infinite update loop "+(t.user?'in watcher with expression "'+t.expression+'"':"in a component render function."),t.vm);break}for(Mr=kr.length;Mr--;)t=kr[Mr],r=t.vm,r._watcher===t&&r._isMounted&&kt(r,"updated");Gn&&Dn.devtools&&Gn.emit("flush"),Pt()}function Rt(t){var e=t.id;if(null==Pr[e]){if(Pr[e]=!0,jr){for(var n=kr.length-1;n>=0&&kr[n].id>t.id;)n--;kr.splice(Math.max(n,Mr)+1,0,t)}else kr.push(t);Rr||(Rr=!0,Kn(Tt))}}function jt(t){Ir.clear(),Mt(t,Ir)}function Mt(t,e){var n,r,o=Array.isArray(t);if((o||d(t))&&Object.isExtensible(t)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(o)for(n=t.length;n--;)Mt(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)Mt(t[r[n]],e)}}function Lt(t){t._watchers=[];var e=t.$options;e.props&&Nt(t,e.props),e.methods&&$t(t,e.methods),e.data?It(t):k(t._data={},!0),e.computed&&Dt(t,e.computed),e.watch&&Ut(t,e.watch)}function Nt(t,n){var r=t.$options.propsData||{},o=t.$options._propKeys=Object.keys(n),i=!t.$parent;sr.shouldConvert=i;for(var s=function(i){var s=o[i];"production"!==e.env.NODE_ENV?(Dr[s]&&Zn('"'+s+'" is a reserved attribute and cannot be used as component prop.',t),P(t,s,F(s,n,r,t),function(){t.$parent&&!sr.isSettingProps&&Zn("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+s+'"',t)})):P(t,s,F(s,n,r,t))},a=0;a-1:t.test(e)}function te(t,e){for(var n in t){var r=t[n];if(r){var o=Xt(r.componentOptions);o&&!e(o)&&(ee(r),t[n]=null)}}}function ee(t){t&&(t.componentInstance._inactive||kt(t.componentInstance,"deactivated"),t.componentInstance.$destroy())}function ne(t){var n={};n.get=function(){return Dn},"production"!==e.env.NODE_ENV&&(n.set=function(){Zn("Do not replace the Vue.config object, set individual fields instead.")}),Object.defineProperty(t,"config",n),t.util=lr,t.set=T,t.delete=R,t.nextTick=Kn,t.options=Object.create(null),Dn._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,p(t.options.components,qr),Gt(t),Kt(t),Jt(t),Zt(t)}function re(t){for(var e=t.data,n=t,r=t;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(e=oe(r.data,e));for(;n=n.parent;)n.data&&(e=oe(e,n.data));return ie(e)}function oe(t,e){return{staticClass:se(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function ie(t){var e=t.class,n=t.staticClass;return n||e?se(n,ae(e)):""}function se(t,e){return t?e?t+" "+e:t:e||""}function ae(t){var e="";if(!t)return e;if("string"==typeof t)return t;if(Array.isArray(t)){for(var n,r=0,o=t.length;r-1?ro[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ro[t]=/HTMLUnknownElement/.test(e.toString())}function fe(t){if("string"==typeof t){var n=t;if(t=document.querySelector(t),!t)return"production"!==e.env.NODE_ENV&&Zn("Cannot find element: "+n),document.createElement("div")}return t}function le(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&"multiple"in e.data.attrs&&n.setAttribute("multiple","multiple"),n)}function pe(t,e){return document.createElementNS(Qr[t],e)}function de(t){return document.createTextNode(t)}function he(t){return document.createComment(t)}function ve(t,e,n){t.insertBefore(e,n)}function me(t,e){t.removeChild(e)}function ge(t,e){t.appendChild(e)}function ye(t){return t.parentNode}function _e(t){return t.nextSibling}function we(t){return t.tagName}function be(t,e){t.textContent=e}function Ee(t,e,n){t.setAttribute(e,n)}function xe(t,e){var n=t.data.ref;if(n){var r=t.context,o=t.componentInstance||t.elm,i=r.$refs;e?Array.isArray(i[n])?s(i[n],o):i[n]===o&&(i[n]=void 0):t.data.refInFor?Array.isArray(i[n])&&i[n].indexOf(o)<0?i[n].push(o):i[n]=[o]:i[n]=o}}function Oe(t){return null==t}function Se(t){return null!=t}function Ce(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function Ae(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,Se(o)&&(i[o]=r);return i}function ke(t){function n(t){return new yr(P.tagName(t).toLowerCase(),{},[],void 0,t)}function r(t,e){function n(){0===--n.listeners&&o(t)}return n.listeners=e,n}function o(t){var e=P.parentNode(t);e&&P.removeChild(e,t)}function s(t,n,r,o,i){if(t.isRootInsert=!i,!a(t,n,r,o)){var s=t.data,u=t.children,c=t.tag;Se(c)?("production"!==e.env.NODE_ENV&&(s&&s.pre&&T++,T||t.ns||Dn.ignoredElements.length&&Dn.ignoredElements.indexOf(c)>-1||!Dn.isUnknownElement(c)||Zn("Unknown custom element: <"+c+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',t.context)),t.elm=t.ns?P.createElementNS(t.ns,c):P.createElement(c,t),v(t),p(t,u,n),Se(s)&&h(t,n),l(r,t.elm,o),"production"!==e.env.NODE_ENV&&s&&s.pre&&T--):t.isComment?(t.elm=P.createComment(t.text),l(r,t.elm,o)):(t.elm=P.createTextNode(t.text),l(r,t.elm,o))}}function a(t,e,n,r){var o=t.data;if(Se(o)){var i=Se(t.componentInstance)&&o.keepAlive;if(Se(o=o.hook)&&Se(o=o.init)&&o(t,!1,n,r),Se(t.componentInstance))return c(t,e),i&&f(t,e,n,r),!0}}function c(t,e){t.data.pendingInsert&&e.push.apply(e,t.data.pendingInsert),t.elm=t.componentInstance.$el,d(t)?(h(t,e),v(t)):(xe(t),e.push(t))}function f(t,e,n,r){for(var o,i=t;i.componentInstance;)if(i=i.componentInstance._vnode,Se(o=i.data)&&Se(o=o.transition)){for(o=0;od?(f=Oe(r[g+1])?null:r[g+1].elm,m(t,f,r,p,g,o)):p>g&&y(t,n,l,d)}function b(t,e,n,r){if(t!==e){if(e.isStatic&&t.isStatic&&e.key===t.key&&(e.isCloned||e.isOnce))return e.elm=t.elm,void(e.componentInstance=t.componentInstance);var o,i=e.data,s=Se(i);s&&Se(o=i.hook)&&Se(o=o.prepatch)&&o(t,e);var a=e.elm=t.elm,u=t.children,c=e.children;if(s&&d(e)){for(o=0;o, or missing . Bailing hydration and performing full client-side render.")}t=n(t)}var p=t.elm,h=P.parentNode(p);if(s(r,f,p._leaveCb?null:h,P.nextSibling(p)),r.parent){for(var v=r.parent;v;)v.elm=r.elm,v=v.parent;if(d(r))for(var m=0;m-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 Ke(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+t.getAttribute("class")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function Je(t){To(function(){To(t)})}function Ze(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),Ge(t,e)}function Xe(t,e){t._transitionClasses&&s(t._transitionClasses,e),Ke(t,e)}function Qe(t,e,n){var r=tn(t,e),o=r.type,i=r.timeout,s=r.propCount;if(!o)return n();var a=o===Oo?Ao:Po,u=0,c=function(){t.removeEventListener(a,f),n()},f=function(e){e.target===t&&++u>=s&&c()};setTimeout(function(){u0&&(n=Oo,f=s,l=i.length):e===So?c>0&&(n=So,f=c,l=u.length):(f=Math.max(s,c),n=f>0?s>c?Oo:So:null,l=n?n===Oo?i.length:u.length:0);var p=n===Oo&&Ro.test(r[Co+"Property"]);return{type:n,timeout:f,propCount:l,hasTransform:p}}function en(t,e){for(;t.length1,j=n._enterCb=an(function(){T&&(Xe(n,S),Xe(n,O)),j.cancelled?(T&&Xe(n,x),P&&P(n)):k&&k(n),n._enterCb=null});t.data.show||ut(t.data.hook||(t.data.hook={}),"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),A&&A(n,j)},"transition-insert"),C&&C(n),T&&(Ze(n,x),Ze(n,O),Je(function(){Ze(n,S),Xe(n,x),j.cancelled||R||Qe(n,i,j)})),t.data.show&&(e&&e(),A&&A(n,j)),T||R||j()}}}function on(t,e){function n(){g.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),f&&f(r),v&&(Ze(r,a),Ze(r,c),Je(function(){Ze(r,u),Xe(r,a),g.cancelled||m||Qe(r,s,g)})),l&&l(r,g),v||m||g())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var o=sn(t.data.transition);if(!o)return e();if(!r._leaveCb&&1===r.nodeType){var i=o.css,s=o.type,a=o.leaveClass,u=o.leaveToClass,c=o.leaveActiveClass,f=o.beforeLeave,l=o.leave,p=o.afterLeave,d=o.leaveCancelled,h=o.delayLeave,v=i!==!1&&!Vn,m=l&&(l._length||l.length)>1,g=r._leaveCb=an(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),v&&(Xe(r,u),Xe(r,c)),g.cancelled?(v&&Xe(r,a),d&&d(r)):(e(),p&&p(r)),r._leaveCb=null});h?h(n):n()}}function sn(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&p(e,jo(t.name||"v")),p(e,t),e}return"string"==typeof t?jo(t):void 0}}function an(t){var e=!1;return function(){e||(e=!0,t())}}function un(t,e){e.data.show||rn(e)}function cn(t,n,r){var o=n.value,i=t.multiple;if(i&&!Array.isArray(o))return void("production"!==e.env.NODE_ENV&&Zn(' expects an Array value for its binding, but got '+Object.prototype.toString.call(o).slice(8,-1),r));for(var s,a,u=0,c=t.options.length;u-1,a.selected!==s&&(a.selected=s);else if(y(ln(a),o))return void(t.selectedIndex!==u&&(t.selectedIndex=u));i||(t.selectedIndex=-1)}function fn(t,e){for(var n=0,r=e.length;n0,zn=Fn&&Fn.indexOf("edge/")>0,Wn=Fn&&Fn.indexOf("android")>0,Hn=Fn&&/iphone|ipad|ipod|ios/.test(Fn),Yn=function(){return void 0===On&&(On=!Un&&"undefined"!=typeof n&&"server"===n.process.env.VUE_ENV),On},Gn=Un&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Kn=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e":"anonymous component")+(t._isVue&&t.$options.__file?" at "+t.$options.__file:"")};var Qn=function(t){return"anonymous component"===t&&(t+=' - use the "name" option for better debugging messages.'),"\n(found in "+t+")"}}var tr=0,er=function(){this.id=tr++,this.subs=[]};er.prototype.addSub=function(t){this.subs.push(t)},er.prototype.removeSub=function(t){s(this.subs,t)},er.prototype.depend=function(){er.target&&er.target.addDep(this)},er.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e1&&(e[n[0].trim()]=n[1].trim())}}),e}),go=/^--/,yo=/\s*!important$/,_o=function(t,e,n){go.test(e)?t.style.setProperty(e,n):yo.test(n)?t.style.setProperty(e,n.replace(yo,""),"important"):t.style[bo(e)]=n},wo=["Webkit","Moz","ms"],bo=c(function(t){if(zr=zr||document.createElement("div"),t=Pn(t),"filter"!==t&&t in zr.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n. If you are working with contenteditable, it's recommended to wrap a library dedicated for that purpose inside a custom component.",r.context)),"select"===r.tag){var o=function(){cn(t,n,r.context)};o(),(qn||zn)&&setTimeout(o,0)}else"textarea"!==r.tag&&"text"!==t.type||(t._vModifiers=n.modifiers,n.modifiers.lazy||(Wn||(t.addEventListener("compositionstart",pn),t.addEventListener("compositionend",dn)),Vn&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){cn(t,e,n.context);var r=t.multiple?e.value.some(function(e){return fn(e,t.options)}):e.value!==e.oldValue&&fn(e.value,t.options);r&&hn(t,"change")}}},$o={bind:function(t,e,n){var r=e.value;n=vn(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o&&!Vn?(n.data.show=!0,rn(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,o=e.oldValue;if(r!==o){n=vn(n);var i=n.data&&n.data.transition;i&&!Vn?(n.data.show=!0,r?rn(n,function(){t.style.display=t.__vOriginalDisplay}):on(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},Uo={model:Bo,show:$o},Fo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String},qo={name:"transition",props:Fo,abstract:!0,render:function(t){var n=this,r=this.$slots.default;if(r&&(r=r.filter(function(t){return t.tag}),r.length)){"production"!==e.env.NODE_ENV&&r.length>1&&Zn(" can only be used on a single element. Use for lists.",this.$parent);var o=this.mode;"production"!==e.env.NODE_ENV&&o&&"in-out"!==o&&"out-in"!==o&&Zn("invalid mode: "+o,this.$parent);var i=r[0];if(_n(this.$vnode))return i;var s=mn(i);if(!s)return i;if(this._leaving)return yn(t,i);var a="__transition-"+this._uid+"-",c=s.key=null==s.key?a+s.tag:u(s.key)?0===String(s.key).indexOf(a)?s.key:a+s.key:s.key,f=(s.data||(s.data={})).transition=gn(this),l=this._vnode,d=mn(l);if(s.data.directives&&s.data.directives.some(function(t){return"show"===t.name})&&(s.data.show=!0),d&&d.data&&!wn(s,d)){var h=d&&(d.data.transition=p({},f));if("out-in"===o)return this._leaving=!0,ut(h,"afterLeave",function(){n._leaving=!1,n.$forceUpdate()},c),yn(t,i);if("in-out"===o){var v,m=function(){v()};ut(f,"afterEnter",m,c),ut(f,"enterCancelled",m,c),ut(h,"delayLeave",function(t){v=t},c)}}return i}}},Vo=p({tag:String,moveClass:String},Fo);delete Vo.mode;var zo={props:Vo,render:function(t){for(var n=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),o=this.prevChildren=this.children,i=this.$slots.default||[],s=this.children=[],a=gn(this),u=0;u children must be keyed: <"+l+">")}}if(o){for(var p=[],d=[],h=0;h0&&this._events[t].length>o&&(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),o||(o=!0,e.apply(this,arguments))}if(!r(e))throw TypeError("listener must be a function");var o=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,o,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,o=-1,n===e||r(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(i(n)){for(a=s;a-- >0;)if(n[a]===e||n[a].listener&&n[a].listener===e){o=a;break}if(o<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(o,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){var e;return e=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){"use strict";(function(e){function r(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function o(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(59):"undefined"!=typeof e&&(t=n(59)),t}var i=n(4),s=n(112),a=/^\)\]\}',?\n/,u={"Content-Type":"application/x-www-form-urlencoded"},c={adapter:o(),transformRequest:[function(t,e){return s(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(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){t=t.replace(a,"");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}};c.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){c.headers[t]={}}),i.forEach(["post","put","patch"],function(t){c.headers[t]=i.merge(u)}),t.exports=c}).call(e,n(7))},function(t,e,n){"use strict";(function(t){var r=n(0),o=r.Buffer,i=r.SlowBuffer,s=r.kMaxLength||2147483647;e.alloc=function(t,e,n){if("function"==typeof o.alloc)return o.alloc(t,e,n);if("number"==typeof n)throw new TypeError("encoding must not be number");if("number"!=typeof t)throw new TypeError("size must be a number");if(t>s)throw new RangeError("size is too large");var r=n,i=e;void 0===i&&(r=void 0,i=0);var a=new o(t);if("string"==typeof i)for(var u=new o(i,r),c=u.length,f=-1;++fs)throw new RangeError("size is too large");return new o(t)},e.from=function(e,n,r){if("function"==typeof o.from&&(!t.Uint8Array||Uint8Array.from!==o.from))return o.from(e,n,r);if("number"==typeof e)throw new TypeError('"value" argument must not be a number');if("string"==typeof e)return new o(e,n);if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer){var i=n;if(1===arguments.length)return new o(e);"undefined"==typeof i&&(i=0);var s=r;if("undefined"==typeof s&&(s=e.byteLength-i),i>=e.byteLength)throw new RangeError("'offset' is out of bounds");if(s>e.byteLength-i)throw new RangeError("'length' is out of bounds");return new o(e.slice(i,i+s))}if(o.isBuffer(e)){var a=new o(e.length);return e.copy(a,0,0,e.length),a}if(e){if(Array.isArray(e)||"undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return new o(e);if("Buffer"===e.type&&Array.isArray(e.data))return new o(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")},e.allocUnsafeSlow=function(t){if("function"==typeof o.allocUnsafeSlow)return o.allocUnsafeSlow(t);if("number"!=typeof t)throw new TypeError("size must be a number");if(t>=s)throw new RangeError("size is too large");return new i(t)}}).call(e,n(11))},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(23),o=n(5).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(46)("keys"),o=n(36);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(5),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(41);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(23);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(5),o=n(6),i=n(32),s=n(51),a=n(10).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,n){e.f=n(2)},function(t,e,n){function r(t,e,n,r){var s=a({},u,r);if(1===s.version){var c={counter:s.counter,length:s.length,lowercase:s.lowercase,uppercase:s.uppercase,numbers:s.numbers,symbols:s.symbols};return o.encryptLogin(e,n).then(function(e){return o.renderPassword(e,t,c).then(function(t){return t})})}return i.generatePassword(t,e,n,s)}var o=n(198),i=n(199),s=n(53),a=n(202);t.exports={encryptLogin:o.encryptLogin,renderPassword:o.renderPassword,createFingerprint:o.createFingerprint,_deriveEncryptedLogin:o._deriveEncryptedLogin,_getPasswordTemplate:o._getPasswordTemplate,_prettyPrint:o._prettyPrint,_string2charCodes:o._string2charCodes,_getCharType:o._getCharType,_getPasswordChar:o._getPasswordChar,_createHmac:o._createHmac,generatePassword:r,_calcEntropy:i._calcEntropy,_consumeEntropy:i._consumeEntropy,_getSetOfCharacters:i._getSetOfCharacters,_getConfiguredRules:i._getConfiguredRules,_insertStringPseudoRandomly:i._insertStringPseudoRandomly,_getOneCharPerRule:i._getOneCharPerRule,_renderPassword:i._renderPassword,pbkdf2:s};var u={version:2,lowercase:!0,numbers:!0,uppercase:!0,symbols:!0,keylen:32,digest:"sha256",length:16,index:1,iterations:1e5}},function(t,e,n){(function(e){function r(){return!("undefined"==typeof window||!window.crypto||!window.crypto.subtle)}function o(t,n,r,o,i){var s={sha1:"SHA-1","sha-1":"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha512:"SHA-512","sha-512":"SHA-512"};return window.crypto.subtle.importKey("raw",new e(t),"PBKDF2",!1,["deriveKey"]).then(function(t){var a={name:"PBKDF2",salt:new e(n),iterations:r,hash:s[i.toLowerCase()]};return window.crypto.subtle.deriveKey(a,t,{name:"AES-CTR",length:8*o},!0,["encrypt","decrypt"])}).then(function(t){return window.crypto.subtle.exportKey("raw",t).then(function(t){return new e(t).toString("hex")})})}function i(t,e,n,r,o){return new a(function(i,a){s.pbkdf2(t,e,n,r,o,function(t,e){t?a("error in pbkdf2"):i(e.toString("hex"))})})}var s=n(204),a=n(84);t.exports=r()?o:i}).call(e,n(0).Buffer)},function(t,e,n){"use strict";(function(e){function n(t,n,r,o){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var i,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,o)});default:for(i=new Array(a-1),s=0;s-1?r:S;a.WritableState=s;var A=n(25);A.inherits=n(1);var k,P={deprecate:n(222)};!function(){try{k=n(27)}catch(t){}finally{k||(k=n(37).EventEmitter)}}();var T=n(0).Buffer,R=n(39);A.inherits(a,k),s.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(s.prototype,"buffer",{get:P.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(t){}}();var j;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(j=Function.prototype[Symbol.hasInstance],Object.defineProperty(a,Symbol.hasInstance,{value:function(t){return!!j.call(this,t)||t&&t._writableState instanceof s}})):j=function(t){return t instanceof this},a.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},a.prototype.write=function(t,e,n){var r=this._writableState,i=!1;return"function"==typeof e&&(n=e,e=null),T.isBuffer(t)?e="buffer":e||(e=r.defaultEncoding),"function"!=typeof n&&(n=o),r.ended?u(this,n):c(this,r,t,n)&&(r.pendingcb++,i=l(this,r,t,e,n)),i},a.prototype.cork=function(){var t=this._writableState;t.corked++},a.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||y(this,t))},a.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},a.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},a.prototype._writev=null,a.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||E(this,r,n)}}).call(e,n(7),n(89).setImmediate)},function(t,e,n){function r(t){if(t&&!u(t))throw new Error("Unknown encoding: "+t)}function o(t){return t.toString(this.encoding)}function i(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(0).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=i;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=s;break;default:return void(this.write=o)}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 o=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,o),o-=this.charReceived),e+=t.toString(this.encoding,0,o);var o=e.length-1,r=e.charCodeAt(o);if(r>=55296&&r<=56319){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),t.copy(this.charBuffer,0,0,i),e.substring(0,o)}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,o=this.encoding;e+=r.slice(0,n).toString(o)}return e}},function(t,e,n){t.exports=n(98)},function(t,e,n){"use strict";(function(e){var r=n(4),o=n(104),i=n(107),s=n(113),a=n(111),u=n(62),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(106);t.exports=function(t){return new Promise(function(f,l){var p=t.data,d=t.headers;r.isFormData(p)&&delete d["Content-Type"];var h=new XMLHttpRequest,v="onreadystatechange",m=!1; +if("test"===e.env.NODE_ENV||"undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||a(t.url)||(h=new window.XDomainRequest,v="onload",m=!0,h.onprogress=function(){},h.ontimeout=function(){}),t.auth){var g=t.auth.username||"",y=t.auth.password||"";d.Authorization="Basic "+c(g+":"+y)}if(h.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h[v]=function(){if(h&&(4===h.readyState||m)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var e="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,n=t.responseType&&"text"!==t.responseType?h.response:h.responseText,r={data:n,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:e,config:t,request:h};o(f,l,r),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 _=n(109),w=(t.withCredentials||a(t.url))&&t.xsrfCookieName?_.read(t.xsrfCookieName):void 0;w&&(d[t.xsrfHeaderName]=w)}if("setRequestHeader"in h&&r.forEach(d,function(t,e){"undefined"==typeof p&&"content-type"===e.toLowerCase()?delete d[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===p&&(p=null),h.send(p)})}}).call(e,n(7))},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var r=n(103);t.exports=function(t,e,n,o){var i=new Error(t);return r(i,e,n,o)}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,l.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c.default({action:this.action(e),target:this.target(e),text:this.text(e),trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return u("action",t)}},{key:"defaultTarget",value:function(t){var e=u("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return u("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}]),e}(f.default);t.exports=d})},function(t,e,n){var r=n(22),o=n(2)("toStringTag"),i="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){t.exports=n(5).document&&document.documentElement},function(t,e,n){t.exports=!n(9)&&!n(18)(function(){return 7!=Object.defineProperty(n(42)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(22);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var r=n(32),o=n(17),i=n(76),s=n(14),a=n(13),u=n(24),c=n(158),f=n(35),l=n(168),p=n(2)("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",v="keys",m="values",g=function(){return this};t.exports=function(t,e,n,y,_,w,b){c(n,e,y);var E,x,O,S=function(t){if(!d&&t in P)return P[t];switch(t){case v:return function(){return new n(this,t)};case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",A=_==m,k=!1,P=t.prototype,T=P[p]||P[h]||_&&P[_],R=T||S(_),j=_?A?S("entries"):R:void 0,M="Array"==e?P.entries||T:T;if(M&&(O=l(M.call(new t)),O!==Object.prototype&&(f(O,C,!0),r||a(O,p)||s(O,p,g))),A&&T&&T.name!==m&&(k=!0,R=function(){return T.call(this)}),r&&!b||!d&&!k&&P[p]||s(P,p,R),u[e]=R,u[C]=g,_)if(E={values:A?R:S(m),keys:w?R:S(v),entries:j},b)for(x in E)x in P||i(P,x,E[x]);else o(o.P+o.F*(d||k),e,E);return E}},function(t,e,n){var r=n(12),o=n(165),i=n(43),s=n(45)("IE_PROTO"),a=function(){},u="prototype",c=function(){var t,e=n(42)("iframe"),r=i.length,o="<",s=">";for(e.style.display="none",n(69).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(o+"script"+s+"document.F=Object"+o+"/script"+s),t.close(),c=t.F;r--;)delete c[u][i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[u]=r(t),n=new a,a[u]=null,n[s]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(75),o=n(43).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(13),o=n(15),i=n(151)(!1),s=n(45)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),u=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){t.exports=n(14)},function(t,e,n){var r,o,i,s=n(31),a=n(154),u=n(69),c=n(42),f=n(5),l=f.process,p=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,v=0,m={},g="onreadystatechange",y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},_=function(t){y.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++v]=function(){a("function"==typeof t?t:Function(t),e)},r(v),v},d=function(t){delete m[t]},"process"==n(22)(l)?r=function(t){l.nextTick(s(y,t,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=_,r=s(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",_,!1)):r=g in c("script")?function(t){u.appendChild(c("script"))[g]=function(){u.removeChild(this),y.call(t)}}:function(t){setTimeout(s(y,t,1),0)}),t.exports={set:p,clear:d}},function(t,e,n){var r=n(47),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){},function(t,e,n){"use strict";var r=n(173)(!0);n(72)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){n(176);for(var r=n(5),o=n(14),i=n(24),s=n(2)("toStringTag"),a=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],u=0;u<5;u++){var c=a[u],f=r[c],l=f&&f.prototype;l&&!l[s]&&o(l,s,c),i[c]=i.Array}},function(t,e,n){"use strict";(function(e){function r(t,n){s.call(this),t=t.toLowerCase(),"string"==typeof n&&(n=new e(n));var r="sha512"===t||"sha384"===t?128:64;this._alg=t,this._key=n,n.length>r?n=o(t).update(n).digest():n.length0)if(e.ended&&!o){var s=new Error("stream.push() after EOF");t.emit("error",s)}else if(e.endEmitted&&o){var u=new Error("stream.unshift() after end event");t.emit("error",u)}else{var c;!e.decoder||o||r||(n=e.decoder.write(n),c=!e.objectMode&&0===n.length),o||(e.reading=!1),c||(e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,o?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&p(t))),h(t,e)}else o||(e.reading=!1);return a(e)}function a(t){return!t.ended&&(t.needReadable||t.length=F?t=F:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function c(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=u(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function f(t,e){var n=null;return L.isBuffer(e)||"string"==typeof e||null===e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function l(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,p(t)}}function p(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(B("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?T(d,t):d(t))}function d(t){B("emit readable"),t.emit("readable"),w(t)}function h(t,e){e.readingMore||(e.readingMore=!0,T(v,t,e))}function v(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=E(t,e.buffer,e.decoder),n}function E(t,e,n){var r;return ti.length?i.length:t;if(o+=s===i.length?i:i.slice(0,t),t-=s,0===t){s===i.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=i.slice(s));break}++r}return e.length-=r,o}function O(t,e){var n=N.allocUnsafe(t),r=e.head,o=1;for(r.data.copy(n),t-=r.data.length;r=r.next;){var i=r.data,s=t>i.length?i.length:t;if(i.copy(n,n.length-t,0,s),t-=s,0===t){s===i.length?(++o,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=i.slice(s));break}++o}return e.length-=o,n}function S(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,T(C,e,t))}function C(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function A(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return B("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?S(this):p(this),null;if(t=c(t,e),0===t&&e.ended)return 0===e.length&&S(this),null;var r=e.needReadable;B("need readable",r),(0===e.length||e.length-t0?b(t,e):null,null===o?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&S(this)),null!==o&&this.emit("data",o),o},i.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},i.prototype.pipe=function(t,n){function o(t){B("onunpipe"),t===p&&s()}function i(){B("onend"),t.end()}function s(){B("cleanup"),t.removeListener("close",c),t.removeListener("finish",f),t.removeListener("drain",g),t.removeListener("error",u),t.removeListener("unpipe",o),p.removeListener("end",i),p.removeListener("end",s),p.removeListener("data",a),y=!0,!d.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}function a(e){B("ondata"),_=!1;var n=t.write(e);!1!==n||_||((1===d.pipesCount&&d.pipes===t||d.pipesCount>1&&k(d.pipes,t)!==-1)&&!y&&(B("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,_=!0),p.pause())}function u(e){B("onerror",e),l(),t.removeListener("error",u),0===M(t,"error")&&t.emit("error",e)}function c(){t.removeListener("finish",f),l()}function f(){B("onfinish"),t.removeListener("close",c),l()}function l(){B("unpipe"),p.unpipe(t)}var p=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=t;break;case 1:d.pipes=[d.pipes,t];break;default:d.pipes.push(t)}d.pipesCount+=1,B("pipe count=%d opts=%j",d.pipesCount,n);var h=(!n||n.end!==!1)&&t!==e.stdout&&t!==e.stderr,v=h?i:s;d.endEmitted?T(v):p.once("end",v),t.on("unpipe",o);var g=m(p);t.on("drain",g);var y=!1,_=!1;return p.on("data",a),r(t,"error",u),t.once("close",c),t.once("finish",f),t.emit("pipe",p),d.flowing||(B("pipe resume"),p.resume()),t},i.prototype.unpipe=function(t){var e=this._readableState;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),this);if(!t){var n=e.pipes,r=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(1),l=n(20),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],d=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,d=0|this._e,h=0|this._f,v=0|this._g,m=0|this._h,g=0;g<16;++g)e[g]=t.readInt32BE(4*g);for(;g<64;++g)e[g]=c(e[g-2])+e[g-7]+u(e[g-15])+e[g-16]|0;for(var y=0;y<64;++y){var _=m+a(d)+o(d,h,v)+p[y]+e[y]|0,w=s(n)+i(n,r,f)|0;m=v,v=h,h=d,d=l+_|0,l=f,f=r,r=n,n=_+w|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=d+this._e|0,this._f=h+this._f|0,this._g=v+this._g|0,this._h=m+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(0).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=m,h.call(this,128,112)}function o(t,e,n){return n^t&(e^n)}function i(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 d=n(1),h=n(20),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],m=new Array(160);d(r,h),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,d=0|this._ch,h=0|this._dh,m=0|this._eh,g=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,O=0|this._el,S=0|this._fl,C=0|this._gl,A=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 M=f(P,T),L=l(T,P),N=e[k-14],D=e[k-14+1],I=e[k-32],B=e[k-32+1],$=j+D|0,U=R+N+p($,j)|0;$=$+L|0,U=U+M+p($,L)|0,$=$+B|0,U=U+I+p($,B)|0,e[k]=U,e[k+1]=$}for(var F=0;F<160;F+=2){U=e[F],$=e[F+1];var q=i(n,r,d),V=i(w,b,E),z=s(n,w),W=s(w,n),H=a(m,O),Y=a(O,m),G=v[F],K=v[F+1],J=o(m,g,y),Z=o(O,S,C),X=A+Y|0,Q=_+H+p(X,A)|0;X=X+Z|0,Q=Q+J+p(X,Z)|0,X=X+K|0,Q=Q+G+p(X,K)|0,X=X+$|0,Q=Q+U+p(X,$)|0;var tt=W+V|0,et=z+q+p(tt,W)|0;_=y,A=C,y=g,C=S,g=m,S=O,O=x+X|0,m=h+Q+p(O,x)|0,h=d,x=E,d=r,E=b,r=n,b=w,w=X+tt|0,n=Q+et+p(w,X)|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+O|0,this._fl=this._fl+S|0,this._gl=this._gl+C|0,this._hl=this._hl+A|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+d+p(this._cl,E)|0,this._dh=this._dh+h+p(this._dl,x)|0,this._eh=this._eh+m+p(this._el,O)|0,this._fh=this._fh+g+p(this._fl,S)|0,this._gh=this._gh+y+p(this._gl,C)|0,this._hh=this._hh+_+p(this._hl,A)|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(0).Buffer)},function(t,e,n){function r(t,e){this._id=t,this._clearFn=e}var o=Function.prototype.apply;e.setTimeout=function(){return new r(o.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new r(o.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(215),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){var r=n(3)(n(118),n(233),null,null);t.exports=r.exports},function(t,e,n){var r=n(3)(n(120),n(237),null,null);t.exports=r.exports},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){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(29),i=r(o),s=n(246),a=r(s),u=n(227),c=r(u),f=n(228),l=r(f),p=n(229),d=r(p),h=n(230),v=r(h),m=n(231),g=r(m),y=n(232),_=r(y);i.default.use(a.default);var w=[{path:"/",name:"home",component:d.default},{path:"/login",name:"login",component:l.default},{path:"/passwords/",name:"passwords",component:_.default},{path:"/options/default/",name:"configureOptions",component:c.default},{path:"/passwords/:id",name:"password",component:d.default},{path:"/password/reset",name:"passwordReset",component:v.default},{path:"/password/reset/confirm/:uid/:token",name:"passwordResetConfirm",component:g.default},{path:"*",redirect:"/"}],b=new a.default({routes:w});e.default=b},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 o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(29),s=o(i),a=n(8),u=o(a),c=n(129),f=r(c),l=n(130),p=r(l),d=n(131),h=o(d),v=n(253),m=o(v);s.default.use(u.default);var g={login:"",site:"",uppercase:!0,lowercase:!0,numbers:!0,symbols:!0,length:16,counter:1,version:2},y={authenticated:!1,password:g,passwords:[],defaultPassword:g,lastUse:null,token:null,baseURL:"https://lesspass.com"};e.default=new u.default.Store({state:y,getters:p,actions:f,mutations:h.default,plugins:[(0,m.default)({key:"lesspass"})]})},function(t,e,n){var r=n(3)(n(115),n(245),null,null);t.exports=r.exports},function(t,e){function n(t,e){var r={name:t.name,path:t.path,hash:t.hash,query:t.query,params:t.params,fullPath:t.fullPath,meta:t.meta};return e&&(r.from=n(e)),Object.freeze(r)}e.sync=function(t,e,r){var o=(r||{}).moduleName||"route";t.registerModule(o,{state:n(e.currentRoute),mutations:{"router/ROUTE_CHANGED":function(e,r){t.state[o]=n(r.to,r.from)}}});var i,s=!1;t.watch(function(t){return t[o]},function(t){t.fullPath!==i&&(s=!0,i=t.fullPath,e.push(t))},{sync:!0}),e.afterEach(function(e,n){return s?void(s=!1):(i=e.fullPath,void t.commit("router/ROUTE_CHANGED",{to:e,from:n}))})}},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 o=e[r],i=t.input.getAttribute("data-"+r.toLowerCase());"number"==typeof o?t[r]=parseInt(i):o===!1?t[r]=null!==i:o instanceof Function?t[r]=null:t[r]=i,t[r]||0===t[r]||(t[r]=r in n?n[r]:o)}}function r(t,e){return"string"==typeof t?(e||document).querySelector(t):t||null}function o(t,e){return a.call((e||document).querySelectorAll(t))}function i(){o("input.awesomplete").forEach(function(t){new s(t)})}var s=function(t,e){var o=this;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: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}),r.bind(this.input,{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(t){var e=t.keyCode;o.opened&&(13===e&&o.selected?(t.preventDefault(),o.select()):27===e?o.close({reason:"esc"}):38!==e&&40!==e||(t.preventDefault(),o[38===e?"previous":"next"]()))}}),r.bind(this.input.form,{submit:this.close.bind(this,{reason:"submit"})}),r.bind(this.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(),o.select(e,t.target))}}}),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&&t.children){var e=[];a.apply(t.children).forEach(function(t){if(!t.disabled){var n=t.textContent.trim(),r=t.value||n,o=t.label||n;""!==r&&e.push({label:o,value:r})}}),this._list=e}document.activeElement===this.input&&this.evaluate()},get selected(){return this.index>-1},get opened(){return!this.ul.hasAttribute("hidden")},close:function(t){this.opened&&(this.ul.setAttribute("hidden",""),this.index=-1,r.fire(this.input,"awesomplete-close",t||{}))},open:function(){this.ul.removeAttribute("hidden"),this.autoFirst&&this.index===-1&&this.goto(0),r.fire(this.input,"awesomplete-open")},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,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],o=r.fire(this.input,"awesomplete-select",{text:n,origin:e||t});o&&(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)}).sort(this.sort).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$&");return r.create("li",{innerHTML:n,"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;return r.create=function(t,e){var n=document.createElement(t);for(var o in e){var i=e[o];if("inside"===o)r(i).appendChild(n);else if("around"===o){var s=r(i);s.parentNode.insertBefore(n,s),n.appendChild(s)}else o in n?n[o]=i:n.setAttribute(o,i)}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.fire=function(t,e,n){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0);for(var o in n)r[o]=n[o];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?i():document.addEventListener("DOMContentLoaded",i)),s.$=r,s.$$=o,"undefined"!=typeof self&&(self.Awesomplete=s),"object"==typeof t&&t.exports&&(t.exports=s),s}()},function(t,e,n){"use strict";function r(t){var e=new s(t),n=i(s.prototype.request,e);return o.extend(n,s.prototype,e),o.extend(n,e),n}var o=n(4),i=n(63),s=n(100),a=n(38),u=r(a);u.Axios=s,u.create=function(t){return r(o.merge(a,t))},u.Cancel=n(60),u.CancelToken=n(99),u.isCancel=n(61),u.all=function(t){return Promise.all(t)},u.spread=n(114),t.exports=u,t.exports.default=u},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 o(t),e(n.reason))})}var o=n(60);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t,e=new r(function(e){t=e});return{token:e,cancel:t}},t.exports=r},function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new s,response:new s}}var o=n(38),i=n(4),s=n(101),a=n(102),u=n(110),c=n(108);r.prototype.request=function(t){"string"==typeof t&&(t=i.merge({url:arguments[0]},arguments[1])),t=i.merge(o,this.defaults,{method:"get"},t),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},i.forEach(["delete","get","head"],function(t){r.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}}),i.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},function(t,e,n){"use strict";function r(){this.handlers=[]}var o=n(4);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){o.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 o=n(4),i=n(105),s=n(61),a=n(38);t.exports=function(t){r(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]});var e=t.adapter||a.adapter;return e(t).then(function(e){return r(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return s(e)||(r(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";t.exports=function(t,e,n,r){return t.config=e,n&&(t.code=n),t.response=r,t}},function(t,e,n){"use strict";var r=n(62);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n)):t(n)}},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";function r(){this.message="String contains an invalid character"}function o(t){for(var e,n,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(n=o.charCodeAt(a+=.75),n>255)throw new r;e=e<<8|n}return s}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=o},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 o=n(4);t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(o.isURLSearchParams(e))i=e.toString();else{var s=[];o.forEach(e,function(t,e){null!==t&&"undefined"!=typeof t&&(o.isArray(t)&&(e+="[]"),o.isArray(t)||(t=[t]),o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),s.push(r(e)+"="+r(t))}))}),i=s.join("&")}return i&&(t+=(t.indexOf("?")===-1?"?":"&")+i),t}},function(t,e,n){"use strict";t.exports=function(t,e){return t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,"")}},function(t,e,n){"use strict";var r=n(4);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,i,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(i)&&a.push("domain="+i),s===!0&&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";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";var r=n(4);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(n){var o=r.isString(n)?t(n):n;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},function(t,e,n){"use strict";var r=n(4);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(4);t.exports=function(t){var e,n,o,i={};return t?(r.forEach(t.split("\n"),function(t){o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e&&(i[e]=i[e]?i[e]+", "+n:n)}),i):i}},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),n(194);var o=n(225),i=r(o),s=n(8);e.default={name:"LessPass",components:{"lesspass-menu":i.default},computed:(0,s.mapGetters)(["version"]),created:function(){this.$store.dispatch("loadPasswordFirstTime"),this.$store.dispatch("refreshToken")}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{confirm:!1}},props:{confirmText:{type:String,default:"Are you sure you want to delete this?"},confirmButton:{type:String,default:"Sure delete it"},cancelButton:{type:String,default:"Oups no!"}},methods:{confirmDelete:function(){this.confirm=!1,this.$emit("remove")}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(52),i=r(o);e.default={data:function(){return{icon1:"",icon2:"",icon3:"",color1:"",color2:"",color3:""}},props:["fingerprint"],watch:{fingerprint:function(t){var e=this;t&&i.default.createFingerprint(t).then(function(t){var n=t.substring(0,6),r=t.substring(6,12),o=t.substring(12,18);e.icon1=e.getIcon(n),e.icon2=e.getIcon(r),e.icon3=e.getIcon(o),e.color1=e.getColor(n),e.color2=e.getColor(r),e.color3=e.getColor(o)})}},methods:{getColor:function(t){var e=["#000000","#074750","#009191","#FF6CB6","#FFB5DA","#490092","#006CDB","#B66DFF","#6DB5FE","#B5DAFE","#920000","#924900","#DB6D00","#24FE23"],n=parseInt(t,16)%e.length;return e[n]},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"],n=parseInt(t,16)%e.length;return e[n]}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(138),i=r(o),s=n(200),a=r(s),u=n(224),c=r(u);e.default={components:{Fingerprint:c.default},props:["value","keyupEnter"],data:function(){return{fingerprint:"",password:this.value}},watch:{value:function(t){this.password=t,this.updatePassword(t)}},methods:{updatePassword:function(t){this.fingerprint=Math.random().toString(36).substring(7),this.showRealFingerprint(t),this.$emit("input",t)},showRealFingerprint:(0,a.default)(function(t){this.fingerprint=t},500),togglePasswordType:function(t){"password"===t.type?t.type="text":t.type="password"},triggerEnterMethod:function(){void 0!==(0,i.default)(this.keyupEnter)&&this.keyupEnter()}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(8),i=n(67),s=r(i),a=n(64);e.default={data:function(){return{saved:!1}},created:function(){var t=new s.default(".btn-copy");t.on("success",function(t){t.text&&(0,a.showTooltip)(t.trigger,"copied !")})},methods:{fullReload:function(){this.$store.dispatch("savePassword",{password:this.defaultPassword}),this.$router.push({name:"home"})},logout:function(){this.$store.dispatch("logout"),this.$router.push({name:"home"})},saveOrUpdatePassword:function(){var t=this;this.$store.dispatch("saveOrUpdatePassword"),this.saved=!0,setTimeout(function(){t.saved=!1},3e3)}},computed:(0,o.mapGetters)(["isAuthenticated","isGuest","password","defaultPassword","version","passwordURL"])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"options",props:{password:{type:Object,required:!0}},data:function(){return{options:this.password}},watch:{options:{handler:function(t){this.$emit("optionsUpdated",t)},deep:!0}},methods:{setVersion:function(t){this.options.version=t,this.$store.dispatch("saveVersion",{version:t})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(8),i=n(91),s=r(i);e.default={name:"configure-options-view",components:{Options:s.default},computed:(0,o.mapGetters)(["defaultPassword"]),data:function(){return{optionsSaved:!1}},methods:{updatePassword:function(t){this.$store.dispatch("saveDefaultPassword",{password:t})},getDayBeforeOnlyV2:function(){var t=864e5,e=new Date,n=new Date(2017,4,10);return Math.round(Math.abs((e.getTime()-n.getTime())/t))}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(21),i=r(o),s=n(52),a=r(s),u=n(30),c=r(u),f=n(8),l=n(90),p=r(l),d={userNameAlreadyExist:!1,emailInvalid:!1,baseURLRequired:!1,emailRequired:!1,passwordRequired:!1};e.default={data:function(){return{email:"",password:"",baseURL:"https://lesspass.com",transformMasterPassword:!1,showError:!1,errorMessage:"",errors:(0,i.default)({},d),showOptions:!1}},components:{MasterPassword:p.default},computed:(0,i.default)({},(0,f.mapGetters)(["version"])),watch:{password:function(){this.transformMasterPassword=!1},transformMasterPassword:function(t){var e=this;if(t){var n={lowercase:!0,uppercase:!0,numbers:!0,symbols:!0,length:16,counter:1,version:2};return a.default.generatePassword("lesspass.com",this.email,this.password,n).then(function(t){e.password=t})}}},methods:{noErrors:function(){return!(this.errors.userNameAlreadyExist||this.errors.emailInvalid||this.errors.emailRequired||this.errors.passwordRequired||this.errors.baseURLRequired||this.showError)},formIsValid:function t(){this.cleanErrors();var t=!0;return this.email||(this.errors.emailRequired=!0,t=!1),this.password||(this.errors.passwordRequired=!0,t=!1),this.baseURL||(this.errors.baseURLRequired=!0,t=!1),t},cleanErrors:function(){this.showError=!1,this.errorMessage="",this.errors=(0,i.default)({},d)},signIn:function(){var t=this;this.formIsValid()&&!function(){var e=t.baseURL;c.default.login({email:t.email,password:t.password},{baseURL:e}).then(function(n){t.$store.dispatch("login",{token:n.token,baseURL:e}),t.$router.push({name:"home"})}).catch(function(n){t.cleanErrors(),void 0===n.response&&"https://lesspass.com"!==e?t.showErrorMessage("Your LessPass Database is not running"):400===n.response.status?t.showErrorMessage("Your email and/or password is not good. Do you have an account?"):t.showErrorMessage()})}()},register:function(){var t=this;if(this.formIsValid()){var e=this.baseURL;c.default.register({email:this.email,password:this.password},{baseURL:e}).then(function(){t.signIn()}).catch(function(e){t.cleanErrors(),e.response&&"undefined"!=typeof e.response.data.email?(e.response.data.email[0].indexOf("already exists")!==-1&&(t.errors.userNameAlreadyExist=!0),e.response.data.email[0].indexOf("valid email")!==-1&&(t.errors.emailInvalid=!0)):t.showErrorMessage()})}},showErrorMessage:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Oops! Something went wrong. Retry in a few minutes.";this.errorMessage=t,this.showError=!0}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return t.dispatch("getPasswords")}Object.defineProperty(e,"__esModule",{value:!0});var i=n(133),s=r(i),a=n(52),u=r(a),c=n(8),f=n(67),l=r(f),p=n(128),d=n(226),h=r(d),v=n(90),m=r(v),g=n(91),y=r(g),_=n(64),w=n(97),b=r(w);e.default={name:"password-generator-view",components:{RemoveAutoComplete:h.default,MasterPassword:m.default,Options:y.default},computed:(0,c.mapGetters)(["passwords","password","passwordURL"]),preFetch:o,beforeMount:function(){var t=this,e=this.$route.query;(0,s.default)(e).length>=9&&this.$store.dispatch("savePassword",{password:(0,p.getPasswordFromUrlQuery)(e)});var n=this.$route.params.id;n?this.$store.dispatch("getPassword",{id:n}):o(this.$store),(0,p.getSite)().then(function(e){e&&t.$store.dispatch("loadPasswordForSite",e)});var r=new l.default(".btn-copy");r.on("success",function(e){e.text&&((0,_.showTooltip)(e.trigger,"copied !"),setTimeout(function(){t.cleanFormInSeconds(10)},2e3))})},mounted:function(){var t=this;new b.default(this.$refs.site,{list:this.passwords.map(function(t){return{label:t.site+" "+t.login,value:t}}),replace:function(e){t.$store.dispatch("savePassword",{password:e.value}),this.input.value=e.value.site}}),this.password.site?this.$refs.login.focus():this.$refs.site.focus()},data:function(){return{masterPassword:"",fingerprint:"",generatedPassword:"",cleanTimeout:null,showOptions:!1,showError:!1,generatingPassword:!1}},watch:{"password.site":function(){this.cleanErrors()},"password.login":function(){this.cleanErrors()},generatedPassword:function(){this.cleanFormInSeconds(30)},masterPassword:function(){this.cleanErrors(),this.cleanFormInSeconds(30)}},methods:{togglePasswordType:function(t){"password"===t.type?t.type="text":t.type="password"},cleanErrors:function(){clearTimeout(this.cleanTimeout),this.generatedPassword="",this.showError=!1},cleanFormInSeconds:function(t){var e=this;clearTimeout(this.cleanTimeout),this.cleanTimeout=setTimeout(function(){e.masterPassword="",e.generatedPassword="",e.fingerprint=""},1e3*t)},generatePassword:function(){var t=this,e=this.password.site,n=this.password.login,r=this.masterPassword;if(!e&&!n||!r)return this.showOptions=!1,void(this.showError=!0);this.generatingPassword=!0,this.cleanErrors(),this.fingerprint=this.masterPassword;var o={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 u.default.generatePassword(e,n,r,o).then(function(e){t.generatingPassword=!1,t.generatedPassword=e,t.$store.dispatch("savePassword",{password:t.password}),t.$store.dispatch("passwordGenerated"),window.document.getElementById("copyPasswordButton").setAttribute("data-clipboard-text",e)})},updatePassword:function(t){this.cleanErrors(),this.$store.dispatch("savePassword",{password:t})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(21),i=r(o),s=n(30),a=r(s),u=n(8);e.default={data:function(){return{email:"",emailRequired:!1,showError:!1,loading:!1,successMessage:!1}},computed:(0,i.default)({},(0,u.mapGetters)(["version","baseURL"])),methods:{cleanErrors:function(){this.loading=!1,this.emailRequired=!1,this.showError=!1,this.successMessage=!1},noErrors:function(){return!(this.emailRequired||this.showError)},resetPassword:function(){var t=this;return this.cleanErrors(),this.email?(this.loading=!0,void a.default.resetPassword({email:this.email},{baseURL:this.baseURL}).then(function(){t.cleanErrors(),t.successMessage=!0}).catch(function(){t.cleanErrors(),t.showError=!0})):void(this.emailRequired=!0)}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(21),i=r(o),s=n(30),a=r(s),u=n(8);e.default={data:function(){return{new_password:"",passwordRequired:!1,showError:!1,successMessage:!1,errorMessage:"Oops! Something went wrong. Retry in a few minutes."}},methods:{cleanErrors:function(){this.passwordRequired=!1,this.showError=!1,this.successMessage=!1},noErrors:function(){return!(this.passwordRequired||this.showError)},resetPasswordConfirm:function(){var t=this;if(this.cleanErrors(),!this.new_password)return void(this.passwordRequired=!0);var e={uid:this.$route.params.uid,token:this.$route.params.token,new_password:this.new_password};a.default.confirmResetPassword(e).then(function(){t.successMessage=!0}).catch(function(e){400===e.response.status&&(t.errorMessage="This password reset link become invalid."),t.showError=!0})}},computed:(0,i.default)({},(0,u.mapGetters)(["version"]))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return t.dispatch("getPasswords")}Object.defineProperty(e,"__esModule",{value:!0});var i=n(21),s=r(i),a=n(223),u=r(a),c=n(8);e.default={name:"passwords-view",data:function(){return{searchQuery:"",pagination:{number_of_pages:1,per_page:5,current_page:1}}},components:{DeleteButton:u.default},computed:(0,s.default)({},(0,c.mapGetters)(["passwords"]),{filteredPasswords:function(){var t=this,e=this.passwords.filter(function(e){var n=e.login.match(new RegExp(t.searchQuery,"i")),r=e.site.match(new RegExp(t.searchQuery,"i"));return n||r});return this.pagination.number_of_pages=Math.ceil(e.length/this.pagination.per_page),e.slice(this.pagination.current_page*this.pagination.per_page-5,this.pagination.current_page*this.pagination.per_page)}}),preFetch:o,beforeMount:function(){o(this.$store)},methods:{deletePassword:function(t){return this.$store.dispatch("deletePassword",{id:t.id})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(21),i=r(o),s=n(58),a=r(s);e.default={addAuthorizationHeader:function(t){return(0,i.default)({},t,{headers:{Authorization:"JWT "+t.token}})},all:function(t){return a.default.get("/api/passwords/",this.addAuthorizationHeader(t))},create:function(t,e){return a.default.post("/api/passwords/",t,this.addAuthorizationHeader(e))},read:function(t,e){return a.default.get("/api/passwords/"+t.id+"/",this.addAuthorizationHeader(e))},update:function(t,e){return a.default.put("/api/passwords/"+t.id+"/",t,this.addAuthorizationHeader(e))},delete:function(t,e){return a.default.delete("/api/passwords/"+t.id+"/",this.addAuthorizationHeader(e))}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if("undefined"==typeof t)return"";var e=t.match(/^(?:https?\:\/\/)([^\/?#]+)(?:[\/?#]|$)/i),n=e&&e[1],r=n.match(/(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\:?([0-9]+)?/i);if(r)return r[0];var o=n.match(/([^.]*\.[^.]{2,3})(?:\.[^.]{2,3})?$/i);return o&&o[0]}function i(){return new u.default(function(t){"undefined"!=typeof chrome&&"undefined"!=typeof chrome.tabs&&"undefined"!=typeof chrome.tabs.query?chrome.tabs.query({active:!0,currentWindow:!0},function(e){var n=e[0].url;t({site:o(n),url:n})}):t("")})}function s(t){var e={};return["uppercase","lowercase","numbers","symbols"].forEach(function(n){n in t&&(e[n]="true"===t[n].toLowerCase()||"1"===t[n].toLowerCase())}),["site","login"].forEach(function(n){n in t&&(e[n]=t[n])}),["length","counter","version"].forEach(function(n){n in t&&(e[n]=parseInt(t[n],10))}),e}Object.defineProperty(e,"__esModule",{value:!0});var a=n(134),u=r(a);e.getDomainName=o,e.getSite=i,e.getPasswordFromUrlQuery=s},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 o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.deletePassword=e.saveOrUpdatePassword=e.getPassword=e.getPasswords=e.logout=e.login=e.saveVersion=e.saveBaseURL=e.savePassword=e.passwordGenerated=e.saveDefaultPassword=e.loadPasswordForSite=e.refreshToken=e.loadPasswordFirstTime=void 0;var i=n(127),s=o(i),a=n(30),u=o(a),c=n(65),f=r(c),l=(e.loadPasswordFirstTime=function(t){var e=t.commit;e(f.LOAD_PASSWORD_FIRST_TIME)},e.refreshToken=function(t){var e=t.commit,n=t.state,r=n.token;r&&u.default.requestNewToken({token:r},{baseURL:n.baseURL}).then(function(t){return e(f.SET_TOKEN,{token:t})}).catch(function(){return e(f.LOGOUT)})},e.loadPasswordForSite=function(t,e){var n=t.commit;n(f.LOAD_PASSWORD_FOR_SITE,e)},e.saveDefaultPassword=function(t,e){var n=t.commit;n(f.SET_DEFAULT_PASSWORD,e)},e.passwordGenerated=function(t){var e=t.commit;e(f.PASSWORD_GENERATED)},e.savePassword=function(t,e){var n=t.commit;n(f.SET_PASSWORD,e)}),p=(e.saveBaseURL=function(t,e){var n=t.commit;n(f.SET_BASE_URL,e)},e.saveVersion=function(t,e){var n=t.commit;n(f.SET_VERSION,e)},e.login=function(t,e){var n=t.commit;n(f.SET_BASE_URL,e),n(f.SET_TOKEN,e),n(f.LOGIN)},e.logout=function(t){var e=t.commit;e(f.LOGOUT)},e.getPasswords=function(t){var e=t.commit,n=t.state;n.authenticated&&s.default.all(n).then(function(t){return e(f.SET_PASSWORDS,{passwords:t.data.results})})});e.getPassword=function(t,e){var n=t.commit,r=t.state;r.authenticated&&s.default.read(e,r).then(function(t){return n(f.SET_PASSWORD,{password:t.data})})},e.saveOrUpdatePassword=function(t){var e=t.commit,n=t.state;if(n.password&&"undefined"==typeof n.password.id){var r=n.password.site,o=n.password.login;(r||o)&&s.default.create(n.password,n).then(function(t){l({commit:e},{password:t.data}),p({commit:e,state:n})})}else s.default.update(n.password,n).then(function(){p({commit:e,state:n})})},e.deletePassword=function(t,e){var n=t.commit,r=t.state;s.default.delete(e,r).then(function(){n(f.DELETE_PASSWORD,e)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.passwords=function(t){return t.passwords},e.password=function(t){return t.password},e.defaultPassword=function(t){return t.defaultPassword},e.isAuthenticated=function(t){return t.authenticated},e.isGuest=function(t){return!t.authenticated},e.baseURL=function(t){return t.baseURL},e.passwordStatus=function(t){return t.passwordStatus},e.version=function(t){return null===t.password||"/options/default"===t.route.path?t.defaultPassword.version:t.password.version},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}},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 o(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){(0,l.set)(t,e,(0,f.default)({},n))}Object.defineProperty(e,"__esModule",{value:!0});var s,a=n(137),u=o(a),c=n(66),f=o(c),l=n(29),p=n(65),d=r(p);e.default=(s={},(0,u.default)(s,d.LOGIN,function(t){t.authenticated=!0}),(0,u.default)(s,d.SET_TOKEN,function(t,e){var n=e.token;t.token=n}),(0,u.default)(s,d.LOGOUT,function(t){t.authenticated=!1,t.token=null,t.passwords=[],i(t,"password",t.defaultPassword)}),(0,u.default)(s,d.SET_PASSWORD,function(t,e){var n=e.password;i(t,"password",n)}),(0,u.default)(s,d.PASSWORD_GENERATED,function(t){t.lastUse=(new Date).getTime()}),(0,u.default)(s,d.SET_DEFAULT_PASSWORD,function(t,e){var n=e.password;i(t,"defaultPassword",n)}),(0,u.default)(s,d.SET_PASSWORDS,function(t,e){var n=e.passwords;t.passwords=n}),(0,u.default)(s,d.DELETE_PASSWORD,function(t,e){var n=e.id;t.passwords=t.passwords.filter(function(t){return t.id!==n}),t.password&&t.password.id===n&&(t.password=(0,f.default)({},t.defaultPassword))}),(0,u.default)(s,d.SET_BASE_URL,function(t,e){var n=e.baseURL;t.baseURL=n}),(0,u.default)(s,d.SET_VERSION,function(t,e){var n=e.version;null===t.password?t.password={version:n}:t.password.version=n}),(0,u.default)(s,d.LOAD_PASSWORD_FIRST_TIME,function(t){var e=(new Date).getTime()-6e5;e>t.lastUse&&i(t,"password",t.defaultPassword)}),(0,u.default)(s,d.LOAD_PASSWORD_FOR_SITE,function(t,e){var n=e.site,r=e.url;t.password.site=n;for(var o=t.passwords,s=0;s0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function o(t){return 3*t.length/4-r(t)}function i(t){var e,n,o,i,s,a,u=t.length;s=r(t),a=new l(3*u/4-s),o=s>0?u-4:u;var c=0;for(e=0,n=0;e>16&255,a[c++]=i>>8&255,a[c++]=255&i;return 2===s?(i=f[t.charCodeAt(e)]<<2|f[t.charCodeAt(e+1)]>>4,a[c++]=255&i):1===s&&(i=f[t.charCodeAt(e)]<<10|f[t.charCodeAt(e+1)]<<4|f[t.charCodeAt(e+2)]>>2,a[c++]=i>>8&255,a[c++]=255&i),a}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,o=[],i=e;if?f:u+s));return 1===r?(e=t[n-1],o+=c[e>>2],o+=c[e<<4&63],o+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1], +o+=c[e>>10],o+=c[e>>4&63],o+=c[e<<2&63],o+="="),i.push(o),i.join("")}e.byteLength=o,e.toByteArray=i,e.fromByteArray=u;for(var c=[],f=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=0,h=p.length;d0?Math.floor(t):Math.ceil(t)}function l(t,e){var n,r,o=t.length,i=e.length,s=new Array(o),a=0,u=V;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 d(t,e){var n,r,o=t.length,i=new Array(o),s=V;for(r=0;r0;)i[r++]=e%s,e=Math.floor(e/s);return i}function h(t,e){var n,r,o=t.length,i=e.length,s=new Array(o),a=0,c=V;for(n=0;n=0?i=h(t,e):(i=h(e,t),n=!n),i=a(i),"number"==typeof i?(n&&(i=-i),new o(i)):new r(i,n)}function m(t,e,n){var i,s,u=t.length,c=new Array(u),f=-e,l=V;for(i=0;i0;)i[r++]=a%s,a=Math.floor(a/s);return i}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 g(t,e);n=Math.ceil(n/2);var r=t.slice(n),o=t.slice(0,n),i=e.slice(n),s=e.slice(0,n),a=w(o,s),c=w(r,i),f=w(p(o,r),p(s,i)),l=p(p(a,_(h(h(f,a),c),n)),_(c,2*n));return u(l),l}function b(t,e){return-.012*t-.012*e+15e-6*t*e>0}function E(t,e,n){return t=0;r--){for(n=d-1,g[r+p]!==v&&(n=Math.floor((g[r+p]*d+g[r+p-1])/v)),o=0,i=0,u=_.length,s=0;sc&&(o=(o+1)*p),n=Math.ceil(o/i);do{if(s=y(e,n),k(s,l)<=0)break;n--}while(n);f.push(n),l=h(l,s)}return f.reverse(),[a(f),a(l)]}function C(t,e){var n,r,o,i,s=t.length,a=c(s),u=V;for(o=0,n=s-1;n>=0;--n)i=o*u+t[n],r=f(i/e),o=i-r*e,a[n]=0|r;return[a,0|o]}function A(t,e){var i,u,c=q(e),l=t.value,p=c.value;if(0===p)throw new Error("Cannot divide by zero");if(t.isSmall)return c.isSmall?[new o(f(l/p)),new o(l%p)]:[n[0],t];if(c.isSmall){if(1===p)return[t,n[0]];if(p==-1)return[t.negate(),n[0]];var d=Math.abs(p);if(de.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)<=V||t instanceof r&&t.value.length<=1}function R(t,n,r){n=q(n);for(var o=t.isNegative(),i=n.isNegative(),s=o?t.not():t,a=i?n.not():n,u=[],c=[],f=!1,l=!1;!f||!l;)s.isZero()?(f=!0,u.push(o?1:0)):o?u.push(s.isEven()?1:0):u.push(s.isEven()?0:1),a.isZero()?(l=!0,c.push(i?1:0)):i?c.push(a.isEven()?1:0):c.push(a.isEven()?0:1),s=s.over(2),a=a.over(2);for(var p=[],d=0;d=0;p--){var d=l?s.value[p]:V,h=f(Math.random()*d);c.unshift(h),h"}function $(t,n){if(n=e(n),n.isZero()){if(t.isZero())return"0";throw new Error("Cannot convert nonzero numbers to base 0.")}if(n.equals(-1))return t.isZero()?"0":t.isNegative()?new Array(1-t).join("10"):"1"+new Array(+t).join("01");var r="";if(t.isNegative()&&n.isPositive()&&(r="-",t=t.abs()),n.equals(1))return t.isZero()?"0":r+new Array(+t+1).join(1);for(var o,i=[],s=t;s.isNegative()||s.compareAbs(n)>=0;){o=s.divmod(n),s=o.quotient;var a=o.remainder;a.isNegative()&&(a=n.minus(a).abs(),s=s.next()),i.push(B(a))}return i.push(B(s)),r+i.reverse().join("")}function U(t){if(i(+t)){var e=+t;if(e===f(e))return new o(e);throw"Invalid integer: "+t}var n="-"===t[0];n&&(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,a!==f(a)||!i(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}var p=/^([0-9][0-9]*)$/.test(t);if(!p)throw new Error("Invalid integer: "+t);for(var d=[],h=t.length,v=z,m=h-v;h>0;)d.push(+t.slice(m,h)),m-=v,m<0&&(m=0),h-=v;return u(d),new r(d,n)}function F(t){if(i(t)){if(t!==f(t))throw new Error(t+" is not an integer.");return new o(t)}return U(t.toString())}function q(t){return"number"==typeof t?F(t):"string"==typeof t?U(t):t}var V=1e7,z=7,W=9007199254740992,H=s(W),Y=Math.log(W);r.prototype=Object.create(n.prototype),o.prototype=Object.create(n.prototype),r.prototype.add=function(t){var e=q(t);if(this.sign!==e.sign)return this.subtract(e.negate());var n=this.value,o=e.value;return e.isSmall?new r(d(n,Math.abs(o)),this.sign):new r(p(n,o),this.sign)},r.prototype.plus=r.prototype.add,o.prototype.add=function(t){var e=q(t),n=this.value;if(n<0!==e.sign)return this.subtract(e.negate());var a=e.value;if(e.isSmall){if(i(n+a))return new o(n+a);a=s(Math.abs(a))}return new r(d(a,Math.abs(n)),n<0)},o.prototype.plus=o.prototype.add,r.prototype.subtract=function(t){var e=q(t);if(this.sign!==e.sign)return this.add(e.negate());var n=this.value,r=e.value;return e.isSmall?m(n,Math.abs(r),this.sign):v(n,r,this.sign)},r.prototype.minus=r.prototype.subtract,o.prototype.subtract=function(t){var e=q(t),n=this.value;if(n<0!==e.sign)return this.add(e.negate());var r=e.value;return e.isSmall?new o(n-r):m(r,Math.abs(n),n>=0)},o.prototype.minus=o.prototype.subtract,r.prototype.negate=function(){return new r(this.value,!this.sign)},o.prototype.negate=function(){var t=this.sign,e=new o(-this.value);return e.sign=!t,e},r.prototype.abs=function(){return new r(this.value,!1)},o.prototype.abs=function(){return new o(Math.abs(this.value))},r.prototype.multiply=function(t){var e,o=q(t),i=this.value,a=o.value,u=this.sign!==o.sign;if(o.isSmall){if(0===a)return n[0];if(1===a)return this;if(a===-1)return this.negate();if(e=Math.abs(a),er?1:-1):-1},r.prototype.compare=function(t){if(t===1/0)return-1;if(t===-(1/0))return 1;var e=q(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)},r.prototype.compareTo=r.prototype.compare,o.prototype.compare=function(t){if(t===1/0)return-1;if(t===-(1/0))return 1;var e=q(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},o.prototype.compareTo=o.prototype.compare,r.prototype.equals=function(t){return 0===this.compare(t)},o.prototype.eq=o.prototype.equals=r.prototype.eq=r.prototype.equals,r.prototype.notEquals=function(t){return 0!==this.compare(t)},o.prototype.neq=o.prototype.notEquals=r.prototype.neq=r.prototype.notEquals,r.prototype.greater=function(t){return this.compare(t)>0},o.prototype.gt=o.prototype.greater=r.prototype.gt=r.prototype.greater,r.prototype.lesser=function(t){return this.compare(t)<0},o.prototype.lt=o.prototype.lesser=r.prototype.lt=r.prototype.lesser,r.prototype.greaterOrEquals=function(t){return this.compare(t)>=0},o.prototype.geq=o.prototype.greaterOrEquals=r.prototype.geq=r.prototype.greaterOrEquals,r.prototype.lesserOrEquals=function(t){return this.compare(t)<=0},o.prototype.leq=o.prototype.lesserOrEquals=r.prototype.leq=r.prototype.lesserOrEquals,r.prototype.isEven=function(){return 0===(1&this.value[0])},o.prototype.isEven=function(){return 0===(1&this.value)},r.prototype.isOdd=function(){return 1===(1&this.value[0])},o.prototype.isOdd=function(){return 1===(1&this.value)},r.prototype.isPositive=function(){return!this.sign},o.prototype.isPositive=function(){return this.value>0},r.prototype.isNegative=function(){return this.sign},o.prototype.isNegative=function(){return this.value<0},r.prototype.isUnit=function(){return!1},o.prototype.isUnit=function(){return 1===Math.abs(this.value)},r.prototype.isZero=function(){return!1},o.prototype.isZero=function(){return 0===this.value},r.prototype.isDivisibleBy=function(t){var e=q(t),r=e.value;return 0!==r&&(1===r||(2===r?this.isEven():this.mod(e).equals(n[0])))},o.prototype.isDivisibleBy=r.prototype.isDivisibleBy,r.prototype.isPrime=function(){var r=P(this);if(r!==t)return r;for(var o,i,s,a,u=this.abs(),c=u.prev(),f=[2,3,5,7,11,13,17,19],l=c;l.isEven();)l=l.divide(2);for(s=0;s-W?new o(t-1):new r(H,!0)};for(var G=[1];G[G.length-1]<=V;)G.push(2*G[G.length-1]);var K=G.length,J=G[K-1];r.prototype.shiftLeft=function(t){if(!T(t))throw new Error(String(t)+" is too large for shifting.");if(t=+t,t<0)return this.shiftRight(-t);for(var e=this;t>=K;)e=e.multiply(J),t-=K-1;return e.multiply(G[t])},o.prototype.shiftLeft=r.prototype.shiftLeft,r.prototype.shiftRight=function(t){var e;if(!T(t))throw new Error(String(t)+" is too large for shifting.");if(t=+t,t<0)return this.shiftLeft(-t);for(var n=this;t>=K;){if(n.isZero())return n;e=A(n,J),n=e[1].isNegative()?e[0].prev():e[0],t-=K-1}return e=A(n,G[t]),e[1].isNegative()?e[0].prev():e[0]},o.prototype.shiftRight=r.prototype.shiftRight,r.prototype.not=function(){return this.negate().prev()},o.prototype.not=r.prototype.not,r.prototype.and=function(t){return R(this,t,function(t,e){return t&e})},o.prototype.and=r.prototype.and,r.prototype.or=function(t){return R(this,t,function(t,e){return t|e})},o.prototype.or=r.prototype.or,r.prototype.xor=function(t){return R(this,t,function(t,e){return t^e})},o.prototype.xor=r.prototype.xor;var Z=1<<30,X=(V&-V)*(V&-V)|Z,Q=function(t,e){var r=n[0],i=n[1],s=t.length;if(2<=e&&e<=36&&s<=Y/Math.log(e))return new o(parseInt(t,e));e=q(e);var a,u=[],c="-"===t[0];for(a=c?1:0;a"!==t[a]);u.push(q(t.slice(p+1,a)))}}for(u.reverse(),a=0;a=0;)n=String(r[o]),i+=s.slice(n.length)+n;var a=this.sign?"-":"";return a+i},o.prototype.toString=function(e){return e===t&&(e=10),10!=e?$(this,e):String(this.value)},r.prototype.valueOf=function(){return+this.toString()},r.prototype.toJSNumber=r.prototype.valueOf,o.prototype.valueOf=function(){return this.value},o.prototype.toJSNumber=o.prototype.valueOf;for(var tt=0;tt<1e3;tt++)n[tt]=new o(tt),tt>0&&(n[-tt]=new o(-tt));return n.one=n[1],n.zero=n[0],n.minusOne=n[-1],n.max=M,n.min=L,n.gcd=N,n.lcm=D,n.isInstance=function(t){return t instanceof r||t instanceof o},n.randBetween=I,n}();"undefined"!=typeof t&&t.hasOwnProperty("exports")&&(t.exports=e)}).call(e,n(92)(t))},function(t,e,n){(function(e){function r(t){o.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._decoder=null,this._encoding=null}var o=n(27).Transform,i=n(1),s=n(57).StringDecoder;t.exports=r,i(r,o),r.prototype.update=function(t,n,r){"string"==typeof t&&(t=new e(t,n));var o=this._update(t);return this.hashMode?this:(r&&(o=this._toString(o,r)),o)},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(0).Buffer)},function(t,e,n){var r,o,i;!function(s,a){o=[t,n(214)],r=a,i="function"==typeof r?r.apply(e,o):r,!(void 0!==i&&(t.exports=i))}(this,function(t,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=n(e),i="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},s=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=document.body.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.addEventListener("focus",window.scrollTo(0,n)),this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=(0,o.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(document.body.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,o.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==("undefined"==typeof t?"undefined":i(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=a})},function(t,e,n){n(177),t.exports=n(6).Object.assign},function(t,e,n){n(178);var r=n(6).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){n(179),t.exports=n(6).Object.keys},function(t,e,n){n(79),n(80),n(81),n(180),t.exports=n(6).Promise},function(t,e,n){n(181),n(79),n(182),n(183),t.exports=n(6).Symbol},function(t,e,n){n(80),n(81),t.exports=n(51).f("iterator")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(15),o=n(78),i=n(174);t.exports=function(t){return function(e,n,s){var a,u=r(e),c=o(u.length),f=i(s,c);if(t&&n!=n){for(;c>f;)if(a=u[f++],a!=a)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var r=n(19),o=n(44),i=n(33);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var s,a=n(t),u=i.f,c=0;a.length>c;)u.call(t,s=a[c++])&&e.push(s);return e}},function(t,e,n){var r=n(31),o=n(157),i=n(155),s=n(12),a=n(78),u=n(175),c={},f={},e=t.exports=function(t,e,n,l,p){var d,h,v,m,g=p?function(){return t}:u(t),y=r(n,l,e?2:1),_=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(d=a(t.length);d>_;_++)if(m=e?y(s(h=t[_])[0],h[1]):y(t[_]),m===c||m===f)return m}else for(v=g.call(t);!(h=v.next()).done;)if(m=o(v,y,h.value,e),m===c||m===f)return m};e.BREAK=c,e.RETURN=f},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(24),o=n(2)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(22);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(12);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){"use strict";var r=n(73),o=n(34),i=n(35),s={};n(14)(s,n(2)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(2)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},t(i)}catch(t){}return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(19),o=n(15);t.exports=function(t,e){for(var n,i=o(t),s=r(i),a=s.length,u=0;a>u;)if(i[n=s[u++]]===e)return n}},function(t,e,n){var r=n(36)("meta"),o=n(23),i=n(13),s=n(10).f,a=0,u=Object.isExtensible||function(){return!0},c=!n(18)(function(){return u(Object.preventExtensions({}))}),f=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[r].i},p=function(t,e){if(!i(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},d=function(t){return c&&h.NEED&&u(t)&&!i(t,r)&&f(t),t},h=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},function(t,e,n){var r=n(5),o=n(77).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,u="process"==n(22)(s);t.exports=function(){var t,e,n,c=function(){var r,o;for(u&&(r=s.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){s.nextTick(c)};else if(i){var f=!0,l=document.createTextNode("");new i(c).observe(l,{characterData:!0}),n=function(){l.data=f=!f}}else if(a&&a.resolve){var p=a.resolve();n=function(){p.then(c)}}else n=function(){o.call(r,c)};return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e,n){"use strict";var r=n(19),o=n(44),i=n(33),s=n(48),a=n(71),u=Object.assign;t.exports=!u||n(18)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=s(t),u=arguments.length,c=1,f=o.f,l=i.f;u>c;)for(var p,d=a(arguments[c++]),h=f?r(d).concat(f(d)):r(d),v=h.length,m=0;v>m;)l.call(d,p=h[m++])&&(n[p]=d[p]);return n}:u},function(t,e,n){var r=n(10),o=n(12),i=n(19);t.exports=n(9)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),a=s.length,u=0;a>u;)r.f(t,n=s[u++],e[n]);return t}},function(t,e,n){var r=n(33),o=n(34),i=n(15),s=n(49),a=n(13),u=n(70),c=Object.getOwnPropertyDescriptor;e.f=n(9)?c:function(t,e){if(t=i(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(15),o=n(74).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==i.call(t)?a(t):o(r(t))}},function(t,e,n){var r=n(13),o=n(48),i=n(45)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var r=n(17),o=n(6),i=n(18);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",s)}},function(t,e,n){var r=n(14);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},function(t,e,n){"use strict";var r=n(5),o=n(6),i=n(10),s=n(9),a=n(2)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];s&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(12),o=n(40),i=n(2)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[i])?e:o(n)}},function(t,e,n){var r=n(47),o=n(41);t.exports=function(t){return function(e,n){var i,s,a=String(o(e)),u=r(n),c=a.length;return u<0||u>=c?t?"":void 0:(i=a.charCodeAt(u),i<55296||i>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):i:t?a.slice(u,u+2):(i-55296<<10)+(s-56320)+65536)}}},function(t,e,n){var r=n(47),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(68),o=n(2)("iterator"),i=n(24);t.exports=n(6).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(149),o=n(160),i=n(24),s=n(15);t.exports=n(72)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(17);r(r.S+r.F,"Object",{assign:n(164)})},function(t,e,n){var r=n(17);r(r.S+r.F*!n(9),"Object",{defineProperty:n(10).f})},function(t,e,n){var r=n(48),o=n(19);n(169)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){"use strict";var r,o,i,s=n(32),a=n(5),u=n(31),c=n(68),f=n(17),l=n(23),p=n(40),d=n(150),h=n(153),v=n(172),m=n(77).set,g=n(163)(),y="Promise",_=a.TypeError,w=a.process,b=a[y],w=a.process,E="process"==c(w),x=function(){},O=!!function(){try{var t=b.resolve(1),e=(t.constructor={})[n(2)("species")]=function(t){t(x,x)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(x)instanceof e}catch(t){}}(),S=function(t,e){return t===e||t===b&&e===i},C=function(t){var e;return!(!l(t)||"function"!=typeof(e=t.then))&&e},A=function(t){return S(b,t)?new k(t):new o(t)},k=o=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw _("Bad Promise constructor");e=t,n=r}),this.resolve=p(e),this.reject=p(n)},P=function(t){try{t()}catch(t){return{error:t}}},T=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0,s=function(e){var n,i,s=o?e.ok:e.fail,a=e.resolve,u=e.reject,c=e.domain;try{s?(o||(2==t._h&&M(t),t._h=1),s===!0?n=r:(c&&c.enter(),n=s(r),c&&c.exit()),n===e.promise?u(_("Promise-chain cycle")):(i=C(n))?i.call(n,a,u):a(n)):u(r)}catch(t){u(t)}};n.length>i;)s(n[i++]);t._c=[],t._n=!1,e&&!t._h&&R(t)})}},R=function(t){m.call(a,function(){var e,n,r,o=t._v;if(j(t)&&(e=P(function(){E?w.emit("unhandledRejection",o,t):(n=a.onunhandledrejection)?n({promise:t,reason:o}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=E||j(t)?2:1),t._a=void 0,e)throw e.error})},j=function(t){if(1==t._h)return!1;for(var e,n=t._a||t._c,r=0;n.length>r;)if(e=n[r++],e.fail||!j(e.promise))return!1;return!0},M=function(t){m.call(a,function(){var e;E?w.emit("rejectionHandled",t):(e=a.onrejectionhandled)&&e({promise:t,reason:t._v})})},L=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),T(e,!0))},N=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw _("Promise can't be resolved itself");(e=C(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,u(N,r,1),u(L,r,1))}catch(t){L.call(r,t)}}):(n._v=t,n._s=1,T(n,!1))}catch(t){L.call({_w:n,_d:!1},t)}}};O||(b=function(t){d(this,b,y,"_h"), +p(t),r.call(this);try{t(u(N,this,1),u(L,this,1))}catch(t){L.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(170)(b.prototype,{then:function(t,e){var n=A(v(this,b));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=E?w.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&T(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),k=function(){var t=new r;this.promise=t,this.resolve=u(N,t,1),this.reject=u(L,t,1)}),f(f.G+f.W+f.F*!O,{Promise:b}),n(35)(b,y),n(171)(y),i=n(6)[y],f(f.S+f.F*!O,y,{reject:function(t){var e=A(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(s||!O),y,{resolve:function(t){if(t instanceof b&&S(t.constructor,this))return t;var e=A(this),n=e.resolve;return n(t),e.promise}}),f(f.S+f.F*!(O&&n(159)(function(t){b.all(t).catch(x)})),y,{all:function(t){var e=this,n=A(e),r=n.resolve,o=n.reject,i=P(function(){var n=[],i=0,s=1;h(t,!1,function(t){var a=i++,u=!1;n.push(void 0),s++,e.resolve(t).then(function(t){u||(u=!0,n[a]=t,--s||r(n))},o)}),--s||r(n)});return i&&o(i.error),n.promise},race:function(t){var e=this,n=A(e),r=n.reject,o=P(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o&&r(o.error),n.promise}})},function(t,e,n){"use strict";var r=n(5),o=n(13),i=n(9),s=n(17),a=n(76),u=n(162).KEY,c=n(18),f=n(46),l=n(35),p=n(36),d=n(2),h=n(51),v=n(50),m=n(161),g=n(152),y=n(156),_=n(12),w=n(15),b=n(49),E=n(34),x=n(73),O=n(167),S=n(166),C=n(10),A=n(19),k=S.f,P=C.f,T=O.f,R=r.Symbol,j=r.JSON,M=j&&j.stringify,L="prototype",N=d("_hidden"),D=d("toPrimitive"),I={}.propertyIsEnumerable,B=f("symbol-registry"),$=f("symbols"),U=f("op-symbols"),F=Object[L],q="function"==typeof R,V=r.QObject,z=!V||!V[L]||!V[L].findChild,W=i&&c(function(){return 7!=x(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=k(F,e);r&&delete F[e],P(t,e,n),r&&t!==F&&P(F,e,r)}:P,H=function(t){var e=$[t]=x(R[L]);return e._k=t,e},Y=q&&"symbol"==typeof R.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof R},G=function(t,e,n){return t===F&&G(U,e,n),_(t),e=b(e,!0),_(n),o($,e)?(n.enumerable?(o(t,N)&&t[N][e]&&(t[N][e]=!1),n=x(n,{enumerable:E(0,!1)})):(o(t,N)||P(t,N,E(1,{})),t[N][e]=!0),W(t,e,n)):P(t,e,n)},K=function(t,e){_(t);for(var n,r=g(e=w(e)),o=0,i=r.length;i>o;)G(t,n=r[o++],e[n]);return t},J=function(t,e){return void 0===e?x(t):K(x(t),e)},Z=function(t){var e=I.call(this,t=b(t,!0));return!(this===F&&o($,t)&&!o(U,t))&&(!(e||!o(this,t)||!o($,t)||o(this,N)&&this[N][t])||e)},X=function(t,e){if(t=w(t),e=b(e,!0),t!==F||!o($,e)||o(U,e)){var n=k(t,e);return!n||!o($,e)||o(t,N)&&t[N][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=T(w(t)),r=[],i=0;n.length>i;)o($,e=n[i++])||e==N||e==u||r.push(e);return r},tt=function(t){for(var e,n=t===F,r=T(n?U:w(t)),i=[],s=0;r.length>s;)!o($,e=r[s++])||n&&!o(F,e)||i.push($[e]);return i};q||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===F&&e.call(U,n),o(this,N)&&o(this[N],t)&&(this[N][t]=!1),W(this,t,E(1,n))};return i&&z&&W(F,t,{configurable:!0,set:e}),H(t)},a(R[L],"toString",function(){return this._k}),S.f=X,C.f=G,n(74).f=O.f=Q,n(33).f=Z,n(44).f=tt,i&&!n(32)&&a(F,"propertyIsEnumerable",Z,!0),h.f=function(t){return H(d(t))}),s(s.G+s.W+s.F*!q,{Symbol:R});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var et=A(d.store),nt=0;et.length>nt;)v(et[nt++]);s(s.S+s.F*!q,"Symbol",{for:function(t){return o(B,t+="")?B[t]:B[t]=R(t)},keyFor:function(t){if(Y(t))return m(B,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){z=!0},useSimple:function(){z=!1}}),s(s.S+s.F*!q,"Object",{create:J,defineProperty:G,defineProperties:K,getOwnPropertyDescriptor:X,getOwnPropertyNames:Q,getOwnPropertySymbols:tt}),j&&s(s.S+s.F*(!q||c(function(){var t=R();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!Y(t)){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return e=r[1],"function"==typeof e&&(n=e),!n&&y(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!Y(e))return e}),r[1]=e,M.apply(j,r)}}}),R[L][D]||n(14)(R[L],D,R[L].valueOf),l(R,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){n(50)("asyncIterator")},function(t,e,n){n(50)("observable")},function(t,e,n){"use strict";(function(e){function r(t){c.call(this,"digest"),this._hash=t,this.buffers=[]}function o(t){c.call(this,"digest"),this._hash=t}var i=n(1),s=n(186),a=n(213),u=n(216),c=n(141);i(r,c),r.prototype._update=function(t){this.buffers.push(t)},r.prototype._final=function(){var t=e.concat(this.buffers),n=this._hash(t);return this.buffers=null,n},i(o,c),o.prototype._update=function(t){this._hash.update(t)},o.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return t=t.toLowerCase(),"md5"===t?new r(s):"rmd160"===t||"ripemd160"===t?new r(a):new o(u(t))}}).call(e,n(0).Buffer)},function(t,e,n){"use strict";(function(t){function n(e,n){if(e.length%i!==0){var r=e.length+(i-e.length%i);e=t.concat([e,s],r)}for(var o=[],a=n?e.readInt32BE:e.readInt32LE,u=0;u>5]|=128<>>9<<4)+14]=e;for(var n=1732584193,r=-271733879,o=-1732584194,f=271733878,l=0;l>16)+(e>>16)+(n>>16);return r<<16|65535&n}function f(t,e){return t<>>32-e}var l=n(185);t.exports=function(t){return l.hash(t,r,16)}},function(t,e,n){e=t.exports=n(26)(),e.push([t.i,"#generated-password{font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif}.inner-addon i{position:absolute;padding:10px;pointer-events:none;z-index:10}.inner-addon{position:relative}.left-addon i{left:0}.right-addon i{right:0}.left-addon input{padding-left:30px}.right-addon input{padding-right:30px}div.awesomplete{display:block}div.awesomplete>ul{z-index:11}",""])},function(t,e,n){e=t.exports=n(26)(),e.push([t.i,".fa-none{display:none}#passwordsList{min-height:320px}",""])},function(t,e,n){e=t.exports=n(26)(),e.push([t.i,"#menu .text-white,#menu .white-link{color:#fff}#menu .white-link:active,#menu .white-link:focus,#menu .white-link:hover{text-decoration:none;color:#fff}",""])},function(t,e,n){e=t.exports=n(26)(),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){e=t.exports=n(26)(),e.push([t.i,"#signInButton{border-right:none}#registerButton{border-left:none}",""])},function(t,e){function n(t,e){for(;t&&t.nodeType!==r;){if(t.matches(e))return t;t=t.parentNode}}var r=9;if(Element&&!Element.prototype.matches){var o=Element.prototype;o.matches=o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector}t.exports=n},function(t,e,n){function r(t,e,n,r,i){var s=o.apply(this,arguments);return t.addEventListener(n,s,i),{destroy:function(){t.removeEventListener(n,s,i)}}}function o(t,e,n,r){return function(n){n.delegateTarget=i(n.target,e),n.delegateTarget&&r.call(t,n)}}var i=n(192);t.exports=r},function(t,e){},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e}},function(t,e,n){function r(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!a.string(e))throw new TypeError("Second argument must be a String");if(!a.fn(n))throw new TypeError("Third argument must be a Function");if(a.node(t))return o(t,e,n);if(a.nodeList(t))return i(t,e,n);if(a.string(t))return s(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function o(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function i(t,e,n){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,n)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n)})}}}function s(t,e,n){return u(document.body,t,e,n)}var a=n(195),u=n(193);t.exports=r},function(t,e){e.read=function(t,e,n,r,o){var i,s,a=8*o-r-1,u=(1<>1,f=-7,l=n?o-1:0,p=n?-1:1,d=t[e+l];for(l+=p,i=d&(1<<-f)-1,d>>=-f,f+=a;f>0;i=256*i+t[e+l],l+=p,f-=8);for(s=i&(1<<-f)-1,i>>=-f,f+=r;f>0;s=256*s+t[e+l],l+=p,f-=8);if(0===i)i=1-c;else{if(i===u)return s?NaN:(d?-1:1)*(1/0);s+=Math.pow(2,r),i-=c}return(d?-1:1)*s*Math.pow(2,i-r)},e.write=function(t,e,n,r,o,i){var s,a,u,c=8*i-o-1,f=(1<>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=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,o),s+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,o),s=0));o>=8;t[n+d]=255&a,d+=h,a/=256,o-=8);for(s=s<0;t[n+d]=255&s,d+=h,s/=256,c-=8);t[n+d-h]|=128*v}},function(t,e,n){(function(e){function r(t,e,n){var r=void 0!==n?n:{},o=r.iterations||8192,i=r.keylen||32;return d(e,t,o,i,"sha256")}function o(t,e,n){return s(t,e,n).then(function(t){var e=n.template||a(n);return u(t,e)})}function i(t,n){return new v(function(r){r(h("sha256",new e(t)).update(n).digest("hex"))})}function s(t,e,n){var r=void 0!==n?n:{},o=r.length||12,s=r.counter||1,a=e+s.toString();return i(t,a).then(function(t){return t.substring(0,o)})}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 o=f(e,r);n+=l(o,t)}),n}function c(t){for(var e=[],n=0;n=r)return{value:t,entropy:e};var o=e.divmod(n.length);return t+=n[o.remainder],s(t,o.quotient,n,r)}function a(t,e,n){for(var r=0;r?@[\\]^_`{|}~"}},function(t,e,n){(function(e){function n(t,e,n){function o(e){var n=v,r=m;return v=m=void 0,O=e,y=t.apply(r,n)}function i(t){return O=t,_=setTimeout(f,e),S?o(t):y}function u(t){var n=t-x,r=t-O,o=e-n;return C?b(o,g-r):o}function c(t){var n=t-x,r=t-O;return void 0===x||n>=e||n<0||C&&r>=g}function f(){var t=E();return c(t)?l(t):void(_=setTimeout(f,u(t)))}function l(t){return _=void 0,A&&v?o(t):(v=m=void 0,y)}function p(){void 0!==_&&clearTimeout(_),O=0,v=x=m=_=void 0}function d(){return void 0===_?y:l(E())}function h(){var t=E(),n=c(t);if(v=arguments,m=this,x=t,n){if(void 0===_)return i(x);if(C)return _=setTimeout(f,e),o(x)}return void 0===_&&(_=setTimeout(f,e)),y}var v,m,g,y,_,x,O=0,S=!1,C=!1,A=!0;if("function"!=typeof t)throw new TypeError(a);return e=s(e)||0,r(n)&&(S=!!n.leading,C="maxWait"in n,g=C?w(s(n.maxWait)||0,e):g,A="trailing"in n?!!n.trailing:A),h.cancel=p,h.flush=d,h}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function o(t){return!!t&&"object"==typeof t}function i(t){return"symbol"==typeof t||o(t)&&_.call(t)==c}function s(t){if("number"==typeof t)return t;if(i(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||d.test(t)?h(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,d=/^0o[0-7]+$/i,h=parseInt,v="object"==typeof e&&e&&e.Object===Object&&e,m="object"==typeof self&&self&&self.Object===Object&&self,g=v||m||Function("return this")(),y=Object.prototype,_=y.toString,w=Math.max,b=Math.min,E=function(){return g.Date.now()};t.exports=n}).call(e,n(11))},function(t,e,n){(function(t,n){function r(t,e){return t.set(e[0],e[1]),t}function o(t,e){return t.add(e),t}function i(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=V(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function k(t){var e=-1,n=t?t.length:0;for(this.clear();++e1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,s&&bt(n[0],n[1],s)&&(i=o<3?void 0:i,o=1),e=Object(e);++r-1&&t%1==0&&t-1&&t%1==0&&t<=Vt}function Mt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Lt(t){return!!t&&"object"==typeof t}function Nt(t){if(!Lt(t)||Ue.call(t)!=Qt||p(t))return!1;var e=We(t);if(null===e)return!0;var n=Be.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Ie.call(n)==$e}function Dt(t){return lt(t,Bt(t))}function It(t){return Pt(t)?U(t):Z(t)}function Bt(t){return Pt(t)?U(t,!0):X(t)}function $t(){return[]}function Ut(){return!1}var Ft=200,qt="__lodash_hash_undefined__",Vt=9007199254740991,zt="[object Arguments]",Wt="[object Array]",Ht="[object Boolean]",Yt="[object Date]",Gt="[object Error]",Kt="[object Function]",Jt="[object GeneratorFunction]",Zt="[object Map]",Xt="[object Number]",Qt="[object Object]",te="[object Promise]",ee="[object RegExp]",ne="[object Set]",re="[object String]",oe="[object Symbol]",ie="[object WeakMap]",se="[object ArrayBuffer]",ae="[object DataView]",ue="[object Float32Array]",ce="[object Float64Array]",fe="[object Int8Array]",le="[object Int16Array]",pe="[object Int32Array]",de="[object Uint8Array]",he="[object Uint8ClampedArray]",ve="[object Uint16Array]",me="[object Uint32Array]",ge=/[\\^$.*+?()[\]{}|]/g,ye=/\w*$/,_e=/^\[object .+?Constructor\]$/,we=/^(?:0|[1-9]\d*)$/,be={};be[ue]=be[ce]=be[fe]=be[le]=be[pe]=be[de]=be[he]=be[ve]=be[me]=!0,be[zt]=be[Wt]=be[se]=be[Ht]=be[ae]=be[Yt]=be[Gt]=be[Kt]=be[Zt]=be[Xt]=be[Qt]=be[ee]=be[ne]=be[re]=be[ie]=!1;var Ee={};Ee[zt]=Ee[Wt]=Ee[se]=Ee[ae]=Ee[Ht]=Ee[Yt]=Ee[ue]=Ee[ce]=Ee[fe]=Ee[le]=Ee[pe]=Ee[Zt]=Ee[Xt]=Ee[Qt]=Ee[ee]=Ee[ne]=Ee[re]=Ee[oe]=Ee[de]=Ee[he]=Ee[ve]=Ee[me]=!0,Ee[Gt]=Ee[Kt]=Ee[ie]=!1;var xe="object"==typeof t&&t&&t.Object===Object&&t,Oe="object"==typeof self&&self&&self.Object===Object&&self,Se=xe||Oe||Function("return this")(),Ce="object"==typeof e&&e&&!e.nodeType&&e,Ae=Ce&&"object"==typeof n&&n&&!n.nodeType&&n,ke=Ae&&Ae.exports===Ce,Pe=ke&&xe.process,Te=function(){try{return Pe&&Pe.binding("util")}catch(t){}}(),Re=Te&&Te.isTypedArray,je=Array.prototype,Me=Function.prototype,Le=Object.prototype,Ne=Se["__core-js_shared__"],De=function(){var t=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ie=Me.toString,Be=Le.hasOwnProperty,$e=Ie.call(Object),Ue=Le.toString,Fe=RegExp("^"+Ie.call(Be).replace(ge,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=ke?Se.Buffer:void 0,Ve=Se.Symbol,ze=Se.Uint8Array,We=h(Object.getPrototypeOf,Object),He=Object.create,Ye=Le.propertyIsEnumerable,Ge=je.splice,Ke=Object.getOwnPropertySymbols,Je=qe?qe.isBuffer:void 0,Ze=h(Object.keys,Object),Xe=Math.max,Qe=mt(Se,"DataView"),tn=mt(Se,"Map"),en=mt(Se,"Promise"),nn=mt(Se,"Set"),rn=mt(Se,"WeakMap"),on=mt(Object,"create"),sn=Ct(Qe),an=Ct(tn),un=Ct(en),cn=Ct(nn),fn=Ct(rn),ln=Ve?Ve.prototype:void 0,pn=ln?ln.valueOf:void 0;m.prototype.clear=g,m.prototype.delete=y,m.prototype.get=_,m.prototype.has=w,m.prototype.set=b,E.prototype.clear=x,E.prototype.delete=O,E.prototype.get=S,E.prototype.has=C,E.prototype.set=A,k.prototype.clear=P,k.prototype.delete=T,k.prototype.get=R,k.prototype.has=j,k.prototype.set=M,L.prototype.clear=N,L.prototype.delete=D,L.prototype.get=I,L.prototype.has=B,L.prototype.set=$;var dn=Ke?h(Ke,Object):$t,hn=G;(Qe&&hn(new Qe(new ArrayBuffer(1)))!=ae||tn&&hn(new tn)!=Zt||en&&hn(en.resolve())!=te||nn&&hn(new nn)!=ne||rn&&hn(new rn)!=ie)&&(hn=function(t){var e=Ue.call(t),n=e==Qt?t.constructor:void 0,r=n?Ct(n):void 0;if(r)switch(r){case sn:return ae;case an:return Zt;case un:return te;case cn:return ne;case fn:return ie}return e});var vn=Array.isArray,mn=Je||Ut,gn=Re?f(Re):J,yn=dt(function(t,e,n){Q(t,e,n)});n.exports=yn}).call(e,n(11),n(92)(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)}function o(){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;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(t){return!1}}var i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;t.exports=o()?Object.assign:function(t,e){for(var n,o,a=r(t),u=1;u=6?"utf-8":"binary"}e.pbkdf2Sync=function(t,e,n,a,u){r.isBuffer(t)||(t=new r(t,s)),r.isBuffer(e)||(e=new r(e,s)),i(n,a),u=u||"sha1";var c,f=1,l=new r(a),p=new r(e.length+4);e.copy(p,0,0,e.length);for(var d,h,v=1;v<=f;v++){p.writeUInt32BE(v,e.length);var m=o(u,t).update(p).digest();c||(c=m.length,h=new r(c),f=Math.ceil(a/c),d=a-(f-1)*c),m.copy(h,0,0,c);for(var g=1;gn||e!==e)throw new TypeError("Bad key length")}},function(t,e,n){"use strict";(function(e,n){function r(){for(var t=0;t0?this.tail.next=e:this.head=e,this.tail=e,++this.length},r.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},r.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}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.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},r.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;)n.data.copy(e,r),r+=n.data.length,n=n.next;return e}},function(t,e,n){t.exports=n(85)},function(t,e,n){(function(r){var o=function(){try{return n(27)}catch(t){}}();e=t.exports=n(86),e.Stream=o||e,e.Readable=e,e.Writable=n(56),e.Duplex=n(16),e.Transform=n(55),e.PassThrough=n(85),!r.browser&&"disable"===r.env.READABLE_STREAM&&o&&(t.exports=o)}).call(e,n(7))},function(t,e,n){t.exports=n(55)},function(t,e,n){t.exports=n(56)},function(t,e,n){(function(e){function n(t){for(var e=[],n=0,r=0;n>>5]|=t[n]<<24-r%32;return e}function r(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e}function o(t,e,n){for(var r=0;r<16;r++){var o=n+r,l=e[o];e[o]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}var y,_,w,b,E,x,O,S,C,A;x=y=t[0],O=_=t[1],S=w=t[2],C=b=t[3],A=E=t[4];var k;for(r=0;r<80;r+=1)k=y+e[n+p[r]]|0,k+=r<16?i(_,w,b)+m[0]:r<32?s(_,w,b)+m[1]:r<48?a(_,w,b)+m[2]:r<64?u(_,w,b)+m[3]:c(_,w,b)+m[4],k|=0,k=f(k,h[r]),k=k+E|0,y=E,E=b,b=f(w,10),w=_,_=k,k=x+e[n+d[r]]|0,k+=r<16?c(O,S,C)+g[0]:r<32?u(O,S,C)+g[1]:r<48?a(O,S,C)+g[2]:r<64?s(O,S,C)+g[3]:i(O,S,C)+g[4],k|=0,k=f(k,v[r]),k=k+A|0,x=A,A=C,C=f(S,10),S=O,O=k;k=t[1]+w+C|0,t[1]=t[2]+b+A|0,t[2]=t[3]+E+x|0,t[3]=t[4]+y+O|0,t[4]=t[0]+_+S|0,t[0]=k}function i(t,e,n){return t^e^n}function s(t,e,n){return t&e|~t&n}function a(t,e,n){return(t|~e)^n}function u(t,e,n){return t&n|e&~n}function c(t,e,n){return t^(e|~n)}function f(t,e){return t<>>32-e}function l(t){var i=[1732584193,4023233417,2562383102,271733878,3285377520];"string"==typeof t&&(t=new e(t,"utf8"));var s=n(t),a=8*t.length,u=8*t.length;s[a>>>5]|=128<<24-a%32,s[(a+64>>>9<<4)+14]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8);for(var c=0;c>>24)|4278255360&(f<<24|f>>>8)}var l=r(i);return new e(l)}var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],d=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],h=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],m=[0,1518500249,1859775393,2400959708,2840853838],g=[1352829926,1548603684,1836072691,2053994217,0];t.exports=l}).call(e,n(0).Buffer)},function(t,e){function n(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName)t.focus(),t.setSelectionRange(0,t.value.length),e=t.value;else{t.hasAttribute("contenteditable")&&t.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(t),n.removeAllRanges(),n.addRange(r),e=n.toString()}return e}t.exports=n},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>>27}function i(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(1),u=n(20),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 d=~~(p/20),h=o(n)+s(d,r,a,u)+f+e[p]+c[d]|0;f=u,u=a,a=i(r),r=n,n=h}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(0).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=l,c.call(this,64,56)}function o(t){return t<<1|t>>>31}function i(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(1),c=n(20),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]=o(e[p-3]^e[p-8]^e[p-14]^e[p-16]);for(var d=0;d<80;++d){var h=~~(d/20),v=i(n)+a(h,r,u,c)+l+e[d]+f[h]|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(0).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=a,s.call(this,64,56)}var o=n(1),i=n(87),s=n(20),a=new Array(64);o(r,i),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(0).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=a,s.call(this,128,112)}var o=n(1),i=n(88),s=n(20),a=new Array(160);o(r,i),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(0).Buffer)},function(t,e){function n(){}n.prototype={on:function(t,e,n){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){function r(){o.off(t,r),e.apply(n,arguments)}var o=this;return r._=e,this.on(t,r,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,o=n.length;for(r;r1?n("div",{staticClass:"row mt-2"},[n("div",{staticClass:"col-4"},[n("i",{staticClass:"fa fa-arrow-left pointer",class:{"fa-none":1===t.pagination.current_page},on:{click:function(e){t.pagination.current_page-=1}}})]),t._v(" "),n("div",{staticClass:"col-4 text-center"},[t._v("\n "+t._s(t.pagination.current_page)+" / "+t._s(Math.ceil(t.passwords.length/t.pagination.per_page))+"\n ")]),t._v(" "),n("div",{staticClass:"col-4 text-right"},[n("i",{staticClass:"fa fa-arrow-right pointer",class:{"fa-none":t.pagination.current_page===t.pagination.number_of_pages},on:{click:function(e){t.pagination.current_page+=1}}})])]):t._e()]):n("div",[t._v("\n You don't have any "),n("span",{staticClass:"hint--bottom hint--medium",attrs:{"aria-label":"A profile is the set of information needed to regenerate a password. No password is saved in a profile."}},[t._v("profile")]),t._v("\n saved in your database.\n "),n("br"),t._v(" "),n("router-link",{attrs:{to:{name:"home"}}},[t._v("Would you like to create one?")])],1)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"options"}},[n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-12"},[t._m(0),t._v(" "),n("div",{staticClass:"row",attrs:{id:"types"}},[n("div",{staticClass:"col-3"},[n("button",{staticClass:"btn btn-block btn-sm px-0",class:{"btn-primary":t.options.lowercase===!0&&2===t.options.version,"btn-warning":t.options.lowercase===!0&&1===t.options.version,"btn-secondary":t.options.lowercase===!1},attrs:{type:"button"},on:{click:function(e){t.options.lowercase=!t.options.lowercase}}},[t._v("\n a-z\n ")])]),t._v(" "),n("div",{staticClass:"col-3"},[n("button",{staticClass:"btn btn-block btn-sm px-0",class:{"btn-primary":t.options.uppercase===!0&&2===t.options.version,"btn-warning":t.options.uppercase===!0&&1===t.options.version,"btn-secondary":t.options.uppercase===!1},attrs:{type:"button"},on:{click:function(e){t.options.uppercase=!t.options.uppercase}}},[t._v("\n A-Z\n ")])]),t._v(" "),n("div",{staticClass:"col-3"},[n("button",{staticClass:"btn btn-block btn-sm px-0",class:{"btn-primary":t.options.numbers===!0&&2===t.options.version,"btn-warning":t.options.numbers===!0&&1===t.options.version,"btn-secondary":t.options.numbers===!1},attrs:{type:"button"},on:{click:function(e){t.options.numbers=!t.options.numbers}}},[t._v("\n 0-9\n ")])]),t._v(" "),n("div",{staticClass:"col-3"},[n("button",{staticClass:"btn btn-block btn-sm px-0",class:{"btn-primary":t.options.symbols===!0&&2===t.options.version,"btn-warning":t.options.symbols===!0&&1===t.options.version,"btn-secondary":t.options.symbols===!1},attrs:{type:"button"},on:{click:function(e){t.options.symbols=!t.options.symbols}}},[t._v("\n %!@\n ")])])])])]),t._v(" "),n("div",{staticClass:"form-group row mb-0"},[n("div",{staticClass:"col-6 col-sm-4 mb-3 mb-sm-0"},[n("label",{attrs:{for:"passwordLength"}},[t._v("Length")]),t._v(" "),n("div",{staticClass:"input-group input-group-sm"},[n("span",{staticClass:"input-group-btn",on:{click:function(e){t.options.length-=1}}},[t._m(1)]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.options.length,expression:"options.length"}],staticClass:"form-control form-control-sm",attrs:{id:"passwordLength",type:"number",min:"5",max:"35"},domProps:{value:t._s(t.options.length)},on:{input:function(e){e.target.composing||(t.options.length=t._n(e.target.value))},blur:function(e){t.$forceUpdate()}}}),t._v(" "),n("span",{staticClass:"input-group-btn",on:{click:function(e){t.options.length+=1}}},[t._m(2)])])]),t._v(" "),n("div",{staticClass:"col-6 col-sm-4 mb-3 mb-sm-0"},[n("label",{staticClass:"hint--top hint--medium",attrs:{for:"passwordCounter","aria-label":"Increment counter field to change generated password without changing your master password."}},[t._v("Counter")]),t._v(" "),n("div",{staticClass:"input-group input-group-sm"},[n("span",{staticClass:"input-group-btn",on:{click:function(e){t.options.counter-=1}}},[t._m(3)]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.options.counter,expression:"options.counter"}],staticClass:"form-control form-control-sm",attrs:{id:"passwordCounter",type:"number",min:"1"},domProps:{value:t._s(t.options.counter)},on:{input:function(e){e.target.composing||(t.options.counter=t._n(e.target.value))},blur:function(e){t.$forceUpdate()}}}),t._v(" "),n("span",{staticClass:"input-group-btn",on:{click:function(e){t.options.counter+=1}}},[t._m(4)])])]),t._v(" "),n("div",{staticClass:"clearfix hidden-sm-up"}),t._v(" "),n("div",{staticClass:"col-12 col-sm-4"},[t._m(5),t._v(" "),n("div",{staticClass:"row no-gutters"},[n("div",{staticClass:"col-6"},[n("button",{staticClass:"btn btn-block btn-sm border-right-0",class:{"btn-primary":2===t.options.version,"btn-secondary":2!==t.options.version},attrs:{type:"button"},on:{click:function(e){t.setVersion(2)}}},[t._v("\n v"),n("span",{staticClass:"hidden-sm-up"},[t._v("ersion ")]),t._v("2\n ")])]),t._v(" "),n("div",{staticClass:"col-6"},[n("button",{staticClass:"btn btn-block btn-sm border-left-0 hint--top-left hint--medium hint--error",class:{"btn-warning":1===t.options.version,"btn-secondary":1!==t.options.version},attrs:{type:"button","aria-label":"Version 1 is deprecated and will be removed. We strongly advise you to use version 2."},on:{click:function(e){t.setVersion(1)}}},[t._v("\n v"),n("span",{staticClass:"hidden-sm-up"},[t._v("ersion ")]),t._v("1\n ")])])])])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[n("label",{attrs:{for:"types"}},[t._v("Advanced options")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"btn btn-secondary",attrs:{type:"button"}},[n("i",{staticClass:"fa fa-minus"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"btn btn-secondary",attrs:{type:"button"}},[n("i",{staticClass:"fa fa-plus"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"btn btn-secondary",attrs:{type:"button"}},[n("i",{staticClass:"fa fa-minus"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"btn btn-secondary",attrs:{type:"button"}},[n("i",{staticClass:"fa fa-plus"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row hidden-sm-down"},[n("div",{staticClass:"col"},[n("label",[t._v("Version")])])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"delete-button"}},[t.confirm?n("div",{staticClass:"form-group has-danger"},[n("button",{staticClass:"btn btn-danger btn-sm",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.confirmDelete(e)}}},[t._v("\n "+t._s(t.confirmButton)+"\n ")]),t._v(" "),n("button",{staticClass:"btn btn-secondary btn-sm",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.confirm=!1}}},[t._v("\n "+t._s(t.cancelButton)+"\n ")]),t._v(" "),n("div",{staticClass:"form-control-feedback"},[t._v(t._s(t.confirmText))])]):t._e(),t._v(" "),t.confirm?t._e():n("button",{staticClass:"btn btn-outline-danger btn-sm",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.confirm=!0}}},[n("i",{staticClass:"fa fa-trash fa-fw"})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"menu"}},[n("div",{staticClass:"card-header",class:{"card-warning":1===t.version,"card-primary":2===t.version}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-3"},[n("span",{staticClass:"white-link pointer",on:{click:function(e){t.fullReload()}}},[t._v("LessPass")])]),t._v(" "),n("div",{staticClass:"col-9 text-right"},[t.saved&&t.isAuthenticated?n("span",{staticClass:"text-white"},[t._m(0)]):t._e(),t._v(" "),!t.saved&&t.isAuthenticated&&""!==t.$store.state.password.site?n("span",{staticClass:"white-link",on:{click:function(e){t.saveOrUpdatePassword()}}},[n("i",{staticClass:"fa fa-lg fa-save pointer"})]):t._e(),t._v(" "),""!==t.$store.state.password.site?n("span",{staticClass:"white-link btn-copy pl-3",attrs:{"data-clipboard-text":t.passwordURL}},[n("i",{staticClass:"fa fa-lg fa-share-alt pointer"})]):t._e(),t._v(" "),n("router-link",{staticClass:"white-link pl-3", +attrs:{to:{name:"configureOptions"}}},[n("i",{staticClass:"fa fa-lg fa-cog",attrs:{"aria-hidden":"true"}})]),t._v(" "),t.isAuthenticated?n("router-link",{staticClass:"white-link pl-3",attrs:{to:{name:"passwords"}}},[n("i",{staticClass:"fa fa-lg fa-key",attrs:{"aria-hidden":"true"}})]):t._e(),t._v(" "),t.isAuthenticated?n("button",{staticClass:"white-link btn btn-link p-0 m-0 pl-3",attrs:{type:"button"},on:{click:t.logout}},[n("i",{staticClass:"fa fa-lg fa-sign-out",attrs:{"aria-hidden":"true"}})]):t._e(),t._v(" "),t.isGuest?n("router-link",{staticClass:"white-link pl-3",attrs:{to:{name:"login"}}},[n("i",{staticClass:"fa fa-lg fa-user-secret pointer",attrs:{"aria-hidden":"true"}})]):t._e()],1)])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("small",[n("i",{staticClass:"fa fa-lg fa-check pl-3",attrs:{"aria-hidden":"true"}}),t._v(" saved")])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.fingerprint?n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn",attrs:{id:"fingerprint",type:"button",tabindex:"-1"}},[n("small",{staticClass:"hint--left",attrs:{"aria-label":"master password fingerprint"}},[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()},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"form-group"},[2===t.defaultPassword.version?n("div",{staticClass:"alert alert-success"},[t._v("\n Default options are automatically saved "),n("strong",[t._v("locally")]),t._v(".\n ")]):t._e(),t._v(" "),1===t.defaultPassword.version?n("div",{staticClass:"alert alert-danger"},[t._v("\n Version 1 is deprecated and will be removed in\n "),n("strong",{staticClass:"hint--right",attrs:{"aria-label":"April, 10 2017"}},[t._v(t._s(t.getDayBeforeOnlyV2())+" days")]),t._v(".\n We strongly advise you to migrate your passwords to version 2.\n ")]):t._e()]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"login"}},[t._v("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.defaultPassword.login,expression:"defaultPassword.login"}],staticClass:"form-control",attrs:{id:"login",name:"login",type:"text",placeholder:"Login",autocomplete:"off",autocorrect:"off",autocapitalize:"none"},domProps:{value:t._s(t.defaultPassword.login)},on:{input:function(e){e.target.composing||(t.defaultPassword.login=e.target.value)}}})])]),t._v(" "),n("options",{attrs:{password:t.defaultPassword},on:{optionsUpdated:t.updatePassword}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;t._self._c||e;return t._m(0)},staticRenderFns:[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"}})])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{on:{submit:function(e){e.preventDefault(),t.resetPassword(e)}}},[t.showError?n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-12 text-muted text-danger"},[t._v("\n Oops! Something went wrong. Retry in a few minutes.\n ")])]):t._e(),t._v(" "),t.successMessage?n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-12 text-muted text-success"},[t._v("\n If the email address "+t._s(t.email)+" is associated with a LessPass account, you will shortly receive an email\n from LessPass with instructions on how to reset your password.\n ")])]):t._e(),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:"email",type:"email",placeholder:"Email"},domProps:{value:t._s(t.email)},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),n("small",{staticClass:"form-text text-muted text-danger"},[t.emailRequired?n("span",[t._v("An email is required")]):t._e()])])])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-12"},[n("button",{staticClass:"btn",class:{"btn-warning":1===t.version,"btn-primary":2===t.version},attrs:{id:"loginButton",type:"submit"}},[t.loading?n("span",[n("i",{staticClass:"fa fa-spinner fa-pulse fa-fw"})]):t._e(),t._v("\n Send me a reset link\n ")])])])])},staticRenderFns:[]}},function(t,e){t.exports={render: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",type:"text",placeholder:"https://lesspass.com"},domProps:{value:t._s(t.baseURL)},on:{input:function(e){e.target.composing||(t.baseURL=e.target.value)}}}),t._v(" "),t.errors.baseURLRequired?n("small",{staticClass:"form-text text-danger"},[t._v("\n A LessPass database url is required\n ")]):t._e()])]),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",placeholder:"Email",required:""},domProps:{value:t._s(t.email)},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),n("small",{staticClass:"form-text text-muted text-danger"},[t.errors.userNameAlreadyExist?n("span",[t._v("Someone already use that username. Do you want to sign in ?")]):t._e(),t._v(" "),t.errors.emailInvalid?n("span",[t._v("Please enter a valid email")]):t._e(),t._v(" "),t.errors.emailRequired?n("span",[t._v("An email is required")]):t._e()])])])]),t._v(" "),n("div",{staticClass:"form-group mb-2"},[n("master-password",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],domProps:{value:t.password},on:{input:function(e){t.password=e}}}),t._v(" "),n("label",{staticClass:"custom-control custom-checkbox hint--top hint--medium mb-0",attrs:{"data-hint":"Check me to generate encrypted password for lesspass.com"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.transformMasterPassword,expression:"transformMasterPassword"}],staticClass:"custom-control-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.transformMasterPassword)?t._i(t.transformMasterPassword,null)>-1:t.transformMasterPassword},on:{click:function(e){var n=t.transformMasterPassword,r=e.target,o=!!r.checked;if(Array.isArray(n)){var i=null,s=t._i(n,i);o?s<0&&(t.transformMasterPassword=n.concat(i)):s>-1&&(t.transformMasterPassword=n.slice(0,s).concat(n.slice(s+1)))}else t.transformMasterPassword=o}}}),t._v(" "),n("span",{staticClass:"custom-control-indicator"}),t._v(" "),n("span",{staticClass:"custom-control-description text-muted"},[t._v("\n encrypt before use\n ")])])],1),t._v(" "),n("div",{staticClass:"form-group row no-gutters mb-0"},[n("div",{staticClass:"col"},[n("button",{staticClass:"btn btn-block",class:{"btn-warning":1===t.version,"btn-primary":2===t.version},attrs:{id:"signInButton",type:"submit"}},[t._v("\n 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 Register\n ")])])]),t._v(" "),t.showError?n("div",{staticClass:"form-group"},[n("div",{staticClass:"alert alert-danger",attrs:{role:"alert"}},[t._v("\n "+t._s(t.errorMessage)+"\n ")])]):t._e(),t._v(" "),n("div",{staticClass:"form-group my-0"},[n("router-link",{attrs:{to:{name:"passwordReset"}}},[n("small",[t._v("Forgot your password?")])])],1)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card",class:{v1:1===t.version,v2:2===t.version},staticStyle:{"max-width":"470px"},attrs:{id:"lesspass"}},[n("lesspass-menu"),t._v(" "),n("div",{staticClass:"card-block"},[n("router-view")],1)],1)},staticRenderFns:[]}},function(t,e,n){"use strict";(function(e){function n(t,e){if(!t)throw new Error("[vue-router] "+e)}function r(t,e){t||"undefined"!=typeof console&&console.warn("[vue-router] "+e)}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;default:r(!1,'props in "'+t.path+'" is a '+typeof e+", expecting an object, function or boolean.")}}function i(t,n){if(void 0===n&&(n={}),t){var o;try{o=s(t)}catch(t){"production"!==e.env.NODE_ENV&&r(!1,t.message),o={}}for(var i in n)o[i]=n[i];return o}return n}function s(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=jt(n.shift()),o=n.length>0?jt(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function a(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Rt(e);if(Array.isArray(n)){var r=[];return n.slice().forEach(function(t){void 0!==t&&(null===t?r.push(Rt(e)):r.push(Rt(e)+"="+Rt(t)))}),r.join("&")}return Rt(e)+"="+Rt(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function u(t,e,n){var r={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:e.query||{},params:e.params||{},fullPath:f(e),matched:t?c(t):[]};return n&&(r.redirectedFrom=f(n)),Object.freeze(r)}function c(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function f(t){var e=t.path,n=t.query;void 0===n&&(n={});var r=t.hash;return void 0===r&&(r=""),(e||"/")+a(n)+r}function l(t,e){return e===Lt?t===e:!!e&&(t.path&&e.path?t.path.replace(Mt,"")===e.path.replace(Mt,"")&&t.hash===e.hash&&p(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&p(t.query,e.query)&&p(t.params,e.params)))}function p(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){return String(t[n])===String(e[n])})}function d(t,e){return 0===t.path.replace(Mt,"/").indexOf(e.path.replace(Mt,"/"))&&(!e.hash||t.hash===e.hash)&&h(t.query,e.query)}function h(t,e){for(var n in e)if(!(n in t))return!1;return!0}function v(t){if(!(t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.target&&t.target.getAttribute){var e=t.target.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function m(t){if(t)for(var e,n=0;n=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function w(t){return t.replace(/\/\//g,"/")}function b(t,e,n){var r=e||Object.create(null),o=n||Object.create(null);return t.forEach(function(t){E(r,o,t)}),{pathMap:r,nameMap:o}}function E(t,o,i,s,a){var u=i.path,c=i.name;"production"!==e.env.NODE_ENV&&(n(null!=u,'"path" is required in a route configuration.'),n("string"!=typeof i.component,'route config "component" for path: '+String(u||c)+" cannot be a string id. Use an actual component instead."));var f={path:x(u,s),components:i.components||{default:i.component},instances:{},name:c,parent:s,matchAs:a,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};if(i.children&&("production"!==e.env.NODE_ENV&&i.name&&i.children.some(function(t){return/^\/?$/.test(t.path)})&&r(!1,"Named Route '"+i.name+"' has a default child route. When navigating to this named route (:to=\"{name: '"+i.name+"'\"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead."),i.children.forEach(function(e){var n=a?w(a+"/"+e.path):void 0;E(t,o,e,f,n)})),void 0!==i.alias)if(Array.isArray(i.alias))i.alias.forEach(function(e){var n={path:e,children:i.children};E(t,o,n,s,f.path)});else{var l={path:i.alias,children:i.children};E(t,o,l,s,f.path)}t[f.path]||(t[f.path]=f),c&&(o[c]?"production"===e.env.NODE_ENV||a||r(!1,'Duplicate named routes definition: { name: "'+c+'", path: "'+f.path+'" }'):o[c]=f)}function x(t,e){return t=t.replace(/\/$/,""),"/"===t[0]?t:null==e?t:w(e.path+"/"+t)}function O(t,e){for(var n,r=[],o=0,i=0,s="",a=e&&e.delimiter||"/";null!=(n=Ht.exec(t));){var u=n[0],c=n[1],f=n.index;if(s+=t.slice(i,f),i=f+u.length,c)s+=c[1];else{var l=t[i],p=n[2],d=n[3],h=n[4],v=n[5],m=n[6],g=n[7];s&&(r.push(s),s="");var y=null!=p&&null!=l&&l!==p,_="+"===m||"*"===m,w="?"===m||"*"===m,b=n[2]||a,E=h||v;r.push({name:d||o++,prefix:p||"",delimiter:b,optional:w,repeat:_,partial:y,asterisk:!!g,pattern:E?T(E):g?".*":"[^"+P(b)+"]+?"})}}return i-1&&(i.params[f]=n.params[f]);if(a)return i.path=$(a.path,i.params,'named route "'+s+'"'),c(a,i,o)}else if(i.path){i.params={};for(var d in l)if(V(d,i.params,i.path))return c(l[d],i,o)}return c(null,i)}function s(t,o){var s=t.redirect,a="function"==typeof s?s(u(t,o)):s;if("string"==typeof a&&(a={path:a}),!a||"object"!=typeof a)return"production"!==e.env.NODE_ENV&&r(!1,"invalid redirect option: "+JSON.stringify(a)),c(null,o);var f=a,l=f.name,d=f.path,h=o.query,v=o.hash,m=o.params;if(h=f.hasOwnProperty("query")?f.query:h,v=f.hasOwnProperty("hash")?f.hash:v,m=f.hasOwnProperty("params")?f.params:m,l){var g=p[l];return"production"!==e.env.NODE_ENV&&n(g,'redirect failed: named route "'+l+'" not found.'),i({_normalized:!0,name:l,query:h,hash:v,params:m},void 0,o)}if(d){var y=z(d,t),_=$(y,m,'redirect route with path "'+y+'"');return i({_normalized:!0,path:_,query:h,hash:v},void 0,o)}return r(!1,"invalid redirect option: "+JSON.stringify(a)),c(null,o)}function a(t,e,n){var r=$(n,e.params,'aliased route with path "'+n+'"'),o=i({_normalized:!0,path:r});if(o){var s=o.matched,a=s[s.length-1];return e.params=o.params,c(a,e)}return c(null,e)}function c(t,e,n){return t&&t.redirect?s(t,n||e):t&&t.matchAs?a(t,e,t.matchAs):u(t,e,n)}var f=b(t),l=f.pathMap,p=f.nameMap;return{match:i,addRoutes:o}}function V(t,e,n){var r=B(t),o=r.regexp,i=r.keys,s=n.match(o);if(!s)return!1;if(!e)return!0;for(var a=1,u=s.length;a=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function it(t){if(!t)if(Bt){var e=document.querySelector("base");t=e?e.getAttribute("href"):"/"}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function st(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e:0)+"#"+t)}function St(t,e,n){var r="hash"===n?"#"+e:e;return t?w(t+"/"+r):r}var Ct,At={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,s=e.data;s.routerView=!0;for(var a=n.name,u=i.$route,c=i._routerViewCache||(i._routerViewCache={}),f=0,l=!1;i;)i.$vnode&&i.$vnode.data.routerView&&f++,i._inactive&&(l=!0),i=i.$parent;if(s.routerViewDepth=f,l)return t(c[a],s,r);var p=u.matched[f];if(!p)return c[a]=null,t();var d=c[a]=p.components[a],h=s.hook||(s.hook={});return h.init=function(t){p.instances[a]=t.child},h.prepatch=function(t,e){p.instances[a]=e.child},h.destroy=function(t){p.instances[a]===t.child&&(p.instances[a]=void 0)},s.props=o(u,p.props&&p.props[a]),t(d,s,r)}},kt=/[!'()*]/g,Pt=function(t){return"%"+t.charCodeAt(0).toString(16)},Tt=/%2C/g,Rt=function(t){return encodeURIComponent(t).replace(kt,Pt).replace(Tt,",")},jt=decodeURIComponent,Mt=/\/?$/,Lt=u(null,{path:"/"}),Nt=[String,Object],Dt=[String,Array],It={name:"router-link",props:{to:{type:Nt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,event:{type:Dt,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),i=o.location,s=o.route,a=o.href,c={},f=this.activeClass||n.options.linkActiveClass||"router-link-active",p=i.path?u(null,i):s;c[f]=this.exact?l(r,p):d(r,p);var h=function(t){v(t)&&(e.replace?n.replace(i):n.push(i))},g={click:v};Array.isArray(this.event)?this.event.forEach(function(t){g[t]=h}):g[this.event]=h;var y={class:c};if("a"===this.tag)y.on=g,y.attrs={href:a};else{var _=m(this.$slots.default);if(_){_.isStatic=!1;var w=Ct.util.extend,b=_.data=w({},_.data);b.on=g;var E=_.data.attrs=w({},_.data.attrs);E.href=a}else y.on=g}return t(this.tag,y,this.$slots.default)}},Bt="undefined"!=typeof window,$t=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Ut=$t,Ft=I,qt=O,Vt=S,zt=k,Wt=D,Ht=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Ft.parse=qt,Ft.compile=Vt,Ft.tokensToFunction=zt,Ft.tokensToRegExp=Wt;var Yt=Object.create(null),Gt=Object.create(null),Kt=Object.create(null),Jt=Bt&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")===-1&&t.indexOf("Android 4.0")===-1||t.indexOf("Mobile Safari")===-1||t.indexOf("Chrome")!==-1||t.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),Zt=Bt&&window.performance&&window.performance.now?window.performance:Date,Xt=Q(),Qt=function(t,e){this.router=t,this.base=it(e),this.current=Lt,this.pending=null,this.ready=!1,this.readyCbs=[]};Qt.prototype.listen=function(t){this.cb=t},Qt.prototype.onReady=function(t){this.ready?t():this.readyCbs.push(t)},Qt.prototype.transitionTo=function(t,e,n){var r=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){r.updateRoute(o),e&&e(o),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(o)}))},n)},Qt.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current,i=function(){n&&n()};if(l(t,o)&&t.matched.length===o.matched.length)return this.ensureURL(),i();var s=st(this.current.matched,t.matched),a=s.updated,u=s.deactivated,c=s.activated,f=[].concat(ct(u),this.router.beforeHooks,ft(a),c.map(function(t){return t.beforeEnter}),vt(c));this.pending=t;var p=function(e,n){return r.pending!==t?i():void e(t,o,function(t){t===!1?(r.ensureURL(!0),i()):"string"==typeof t||"object"==typeof t?("object"==typeof t&&t.replace?r.replace(t):r.push(t),i()):n(t)})};ot(f,p,function(){var n=[],o=function(){return r.current===t},s=pt(c,n,o);ot(s,p,function(){return r.pending!==t?i():(r.pending=null,e(t),void(r.router.app&&r.router.app.$nextTick(function(){n.forEach(function(t){return t()})})))})})},Qt.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 te=function(t){function e(e,n){var r=this;t.call(this,e,n);var o=e.options.scrollBehavior;o&&W(),window.addEventListener("popstate",function(t){r.transitionTo(_t(r.base),function(t){o&&H(e,t,r.current,!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;this.transitionTo(t,function(t){nt(w(r.base+t.fullPath)),H(r.router,t,r.current,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){rt(w(r.base+t.fullPath)),H(r.router,t,r.current,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(_t(this.base)!==this.current.fullPath){var e=w(this.base+this.current.fullPath);t?nt(e):rt(e)}},e.prototype.getCurrentLocation=function(){return _t(this.base)},e}(Qt),ee=function(t){function e(e,n,r){t.call(this,e,n),r&&wt(this.base)||bt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;window.addEventListener("hashchange",function(){bt()&&t.transitionTo(Et(),function(t){Ot(t.fullPath)})})},e.prototype.push=function(t,e,n){this.transitionTo(t,function(t){xt(t.fullPath),e&&e(t)},n)},e.prototype.replace=function(t,e,n){this.transitionTo(t,function(t){Ot(t.fullPath),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Et()!==e&&(t?xt(e):Ot(e))},e.prototype.getCurrentLocation=function(){return Et()},e}(Qt),ne=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}(Qt),re=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.afterHooks=[],this.matcher=q(t.routes||[]);var r=t.mode||"hash";switch(this.fallback="history"===r&&!Jt,this.fallback&&(r="hash"),Bt||(r="abstract"),this.mode=r,r){case"history":this.history=new te(this,t.base);break;case"hash":this.history=new ee(this,t.base,this.fallback);break;case"abstract":this.history=new ne(this,t.base);break;default:"production"!==e.env.NODE_ENV&&n(!1,"invalid mode: "+r)}},oe={currentRoute:{}};re.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},oe.currentRoute.get=function(){return this.history&&this.history.current},re.prototype.init=function(t){var r=this;if("production"!==e.env.NODE_ENV&&n(g.installed,"not installed. Make sure to call `Vue.use(VueRouter)` before creating root instance."),this.apps.push(t),!this.app){this.app=t;var o=this.history;if(o instanceof te)o.transitionTo(o.getCurrentLocation());else if(o instanceof ee){var i=function(){o.setupListeners()};o.transitionTo(o.getCurrentLocation(),i,i)}o.listen(function(t){r.apps.forEach(function(e){e._route=t})})}},re.prototype.beforeEach=function(t){this.beforeHooks.push(t)},re.prototype.afterEach=function(t){this.afterHooks.push(t)},re.prototype.onReady=function(t){this.history.onReady(t)},re.prototype.push=function(t,e,n){this.history.push(t,e,n)},re.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},re.prototype.go=function(t){this.history.go(t)},re.prototype.back=function(){this.go(-1)},re.prototype.forward=function(){this.go(1)},re.prototype.getMatchedComponents=function(t){var e=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]})})):[]},re.prototype.resolve=function(t,e,n){var r=U(t,e||this.history.current,n),o=this.match(r,e),i=o.redirectedFrom||o.fullPath,s=this.history.base,a=St(s,i,this.mode); return{location:r,route:o,href:a,normalizedTo:r,resolved:o}},re.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Lt&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(re.prototype,oe),re.install=g,re.version="2.2.0",Bt&&window.Vue&&window.Vue.use(re),t.exports=re}).call(e,n(7))},function(t,e,n){var r=n(187);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(28)("0c6daa32",r,!0)},function(t,e,n){var r=n(188);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(28)("259f0750",r,!0)},function(t,e,n){var r=n(189);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(28)("4809fe4b",r,!0)},function(t,e,n){var r=n(190);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(28)("4c8418e0",r,!0)},function(t,e,n){var r=n(191);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(28)("42c88c1d",r,!0)},function(t,e){t.exports=function(t,e){for(var n=[],r={},o=0;o