diff --git a/dist/lesspass.min.js b/dist/lesspass.min.js index bba87cb..ecaa0c8 100644 --- a/dist/lesspass.min.js +++ b/dist/lesspass.min.js @@ -1,10 +1,10 @@ -!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=238)}([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 O(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function w(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function _(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 B(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 $(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 D(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 U(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 N(t,e,n,r,o){return o||U(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(t,e,n,r,23,4),n+4}function q(t,e,n,r,o){return o||U(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(t,e,n,r,52,8),n+8}function F(t){if(t=z(t).replace(et,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function H(t){return t<16?"0"+t.toString(16):t.toString(16)}function 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 V(t){for(var e=[],n=0;n>8,o=n%256,i.push(o),i.push(r);return i}function G(t){return J.toByteArray(F(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 Z(t){return t!==t}var J=n(123),X=n(180),Q=n(70);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 C(this,t,e,n);case"latin1":case"binary":return S(this,t,e,n);case"base64":return A(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(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||I(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return e||I(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return e||I(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return e||I(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||I(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||I(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||I(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||I(t,1,this.length),128&this[t]?(255-this[t]+1)*-1:this[t]},s.prototype.readInt16LE=function(t,e){e||I(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||I(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||I(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||I(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||I(t,4,this.length),X.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return e||I(t,4,this.length),X.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return e||I(t,8,this.length),X.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return e||I(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;B(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||B(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||B(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):$(this,t,e,!0),e+2},s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):$(this,t,e,!1),e+2},s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||B(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):D(this,t,e,!0),e+4},s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||B(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):D(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);B(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);B(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||B(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||B(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):$(this,t,e,!0),e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):$(this,t,e,!1),e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||B(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):D(this,t,e,!0),e+4},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||B(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):D(this,t,e,!1),e+4},s.prototype.writeFloatLE=function(t,e,n){return N(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return N(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return q(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return q(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;i=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=w(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit(function(){T.set(a,u,r.state)})}var c=r.context=h(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 h(t,e){var n=""===e,r={dispatch:n?t.dispatch:function(n,r,o){var i=_(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=_(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 d(t,e)}}),r}function d(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(w(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:w(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(w(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 w(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function _(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}),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.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}),A=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}),k=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t},O={state:{},namespaced:{}};O.state.get=function(){return this._rawModule.state||{}},O.namespaced.get=function(){return!!this._rawModule.namespaced},k.prototype.addChild=function(t,e){this._children[t]=e},k.prototype.removeChild=function(t){delete this._children[t]},k.prototype.getChild=function(t){return this._children[t]},k.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)},k.prototype.forEachChild=function(t){i(this._children,t)},k.prototype.forEachGetter=function(t){this._rawModule.getters&&i(this._rawModule.getters,t)},k.prototype.forEachAction=function(t){this._rawModule.actions&&i(this._rawModule.actions,t)},k.prototype.forEachMutation=function(t){this._rawModule.mutations&&i(this._rawModule.mutations,t)},Object.defineProperties(k.prototype,O);var P=function(t){var e=this;this.root=new k(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 k(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=_(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=_(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=w(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:C,mapGetters:S,mapActions:A};return M})},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){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function s(){v&&h&&(v=!1,h.length?d=h.concat(d):m=-1,d.length&&a())}function a(){if(!v){var t=o(s);v=!0;for(var e=d.length;e;){for(h=d,d=[];++m1)for(var n=1;n=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(56),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 s(t,e){return xn.call(t,e)}function a(t){return"string"==typeof t||"number"==typeof t}function u(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function c(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 f(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function l(t,e){for(var n in e)t[n]=e[n];return t}function p(t){return null!==t&&"object"==typeof t}function h(t){return Pn.call(t)===Tn}function d(t){for(var e={},n=0;n1?f(n):n;for(var r=f(arguments,1),o=0,i=n.length;o=0&&vr[n].id>t.id;)n--;vr.splice(Math.max(n,wr)+1,0,t)}else vr.push(t);gr||(gr=!0,Wn(At))}}function Ot(t){Er.clear(),Pt(t,Er)}function Pt(t,e){var n,r,o=Array.isArray(t);if((o||p(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--;)Pt(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)Pt(t[r[n]],e)}}function Tt(t){t._watchers=[];var e=t.$options;e.props&&Rt(t,e.props),e.methods&&It(t,e.methods),e.data?jt(t):k(t._data={},!0),e.computed&&Mt(t,e.computed),e.watch&&Bt(t,e.watch)}function Rt(t,e){var n=t.$options.propsData||{},r=t.$options._propKeys=Object.keys(e),o=!t.$parent;tr.shouldConvert=o;for(var i=function(o){var i=r[o];O(t,i,U(i,e,n,t))},s=0;s-1:t.test(e)}function Zt(t,e){for(var n in t){var r=t[n];if(r){var o=Gt(r.componentOptions);o&&!e(o)&&(Jt(r),t[n]=null)}}}function Jt(t){t&&(t.componentInstance._inactive||Ct(t.componentInstance,"deactivated"),t.componentInstance.$destroy())}function Xt(t){var e={};e.get=function(){return Mn},Object.defineProperty(t,"config",e),t.util=or,t.set=P,t.delete=T,t.nextTick=Wn,t.options=Object.create(null),Mn._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,l(t.options.components,kr),Ht(t),Wt(t),Vt(t),Yt(t)}function Qt(t){for(var e=t.data,n=t,r=t;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(e=te(r.data,e));for(;n=n.parent;)n.data&&(e=te(e,n.data));return ee(e)}function te(t,e){return{staticClass:ne(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function ee(t){var e=t.class,n=t.staticClass;return n||e?ne(n,re(e)):""}function ne(t,e){return t?e?t+" "+e:t:e||""}function re(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?Fr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Fr[t]=/HTMLUnknownElement/.test(e.toString())}function se(t){return"string"!=typeof t||(t=document.querySelector(t))?t:document.createElement("div")}function ae(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 ue(t,e){return document.createElementNS(Dr[t],e)}function ce(t){return document.createTextNode(t)}function fe(t){return document.createComment(t)}function le(t,e,n){t.insertBefore(e,n)}function pe(t,e){t.removeChild(e)}function he(t,e){t.appendChild(e)}function de(t){return t.parentNode}function ve(t){return t.nextSibling}function me(t){return t.tagName}function ge(t,e){t.textContent=e}function ye(t,e,n){t.setAttribute(e,n)}function we(t,e){var n=t.data.ref;if(n){var r=t.context,o=t.componentInstance||t.elm,s=r.$refs;e?Array.isArray(s[n])?i(s[n],o):s[n]===o&&(s[n]=void 0):t.data.refInFor?Array.isArray(s[n])&&s[n].indexOf(o)<0?s[n].push(o):s[n]=[o]:s[n]=o}}function _e(t){return null==t}function be(t){return null!=t}function Ee(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function xe(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,be(o)&&(i[o]=r);return i}function Ce(t){function e(t){return new ir(k.tagName(t).toLowerCase(),{},[],void 0,t)}function n(t,e){function n(){0===--n.listeners&&r(t)}return n.listeners=e,n}function r(t){var e=k.parentNode(t);e&&k.removeChild(e,t)}function i(t,e,n,r,o){if(t.isRootInsert=!o,!s(t,e,n,r)){var i=t.data,a=t.children,u=t.tag;be(u)?(t.elm=t.ns?k.createElementNS(t.ns,u):k.createElement(u,t),d(t),l(t,a,e),be(i)&&h(t,e),f(n,t.elm,r)):t.isComment?(t.elm=k.createComment(t.text),f(n,t.elm,r)):(t.elm=k.createTextNode(t.text),f(n,t.elm,r))}}function s(t,e,n,r){var o=t.data;if(be(o)){var i=be(t.componentInstance)&&o.keepAlive;if(be(o=o.hook)&&be(o=o.init)&&o(t,!1,n,r),be(t.componentInstance))return u(t,e),i&&c(t,e,n,r),!0}}function u(t,e){t.data.pendingInsert&&e.push.apply(e,t.data.pendingInsert),t.elm=t.componentInstance.$el,p(t)?(h(t,e),d(t)):(we(t),e.push(t))}function c(t,e,n,r){for(var o,i=t;i.componentInstance;)if(i=i.componentInstance._vnode,be(o=i.data)&&be(o=o.transition)){for(o=0;op?(c=_e(n[m+1])?null:n[m+1].elm,v(t,c,n,l,m,r)):l>m&&g(t,e,f,p)}function _(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=be(i);s&&be(o=i.hook)&&be(o=o.prepatch)&&o(t,e);var a=e.elm=t.elm,u=t.children,c=e.children;if(s&&p(e)){for(o=0;o-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 We(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 Ve(t){vo(function(){vo(t)})}function Ye(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),He(t,e)}function Ge(t,e){t._transitionClasses&&i(t._transitionClasses,e),We(t,e)}function Ke(t,e,n){var r=Ze(t,e),o=r.type,i=r.timeout,s=r.propCount;if(!o)return n();var a=o===uo?lo:ho,u=0,c=function(){t.removeEventListener(a,f),n()},f=function(e){e.target===t&&++u>=s&&c()};setTimeout(function(){u0&&(n=uo,f=s,l=i.length):e===co?c>0&&(n=co,f=c,l=u.length):(f=Math.max(s,c),n=f>0?s>c?uo:co:null,l=n?n===uo?i.length:u.length:0);var p=n===uo&&mo.test(r[fo+"Property"]);return{type:n,timeout:f,propCount:l,hasTransform:p}}function Je(t,e){for(;t.length1,j=n._enterCb=nn(function(){T&&(Ge(n,S),Ge(n,C)),j.cancelled?(T&&Ge(n,x),P&&P(n)):O&&O(n),n._enterCb=null});t.data.show||ot(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(),k&&k(n,j)},"transition-insert"),A&&A(n),T&&(Ye(n,x),Ye(n,C),Ve(function(){Ye(n,S),Ge(n,x),j.cancelled||R||Ke(n,i,j)})),t.data.show&&(e&&e(),k&&k(n,j)),T||R||j()}}}function tn(t,e){function n(){g.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),f&&f(r),v&&(Ye(r,a),Ye(r,c),Ve(function(){Ye(r,u),Ge(r,a),g.cancelled||m||Ke(r,s,g)})),l&&l(r,g),v||m||g())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var o=en(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,h=o.leaveCancelled,d=o.delayLeave,v=i!==!1&&!Un,m=l&&(l._length||l.length)>1,g=r._leaveCb=nn(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),v&&(Ge(r,u),Ge(r,c)),g.cancelled?(v&&Ge(r,a),h&&h(r)):(e(),p&&p(r)),r._leaveCb=null});d?d(n):n()}}function en(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&l(e,go(t.name||"v")),l(e,t),e}return"string"==typeof t?go(t):void 0}}function nn(t){var e=!1;return function(){e||(e=!0,t())}}function rn(t,e){e.data.show||Qe(e)}function on(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,s,a=0,u=t.options.length;a-1,s.selected!==i&&(s.selected=i);else if(g(an(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));o||(t.selectedIndex=-1)}}function sn(t,e){for(var n=0,r=e.length;n0,Nn=$n&&$n.indexOf("edge/")>0,qn=$n&&$n.indexOf("android")>0,Fn=$n&&/iphone|ipad|ipod|ios/.test($n),zn=function(){return void 0===_n&&(_n=!Bn&&"undefined"!=typeof e&&"server"===e.process.env.VUE_ENV),_n},Hn=Bn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Wn=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e1&&(e[n[0].trim()]=n[1].trim())}}),e}),eo=/^--/,no=/\s*!important$/,ro=function(t,e,n){eo.test(e)?t.style.setProperty(e,n):no.test(n)?t.style.setProperty(e,n.replace(no,""),"important"):t.style[io(e)]=n},oo=["Webkit","Moz","ms"],io=u(function(t){if(Pr=Pr||document.createElement("div"),t=Sn(t),"filter"!==t&&t in Pr.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n0&&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(49):"undefined"!=typeof e&&(t=n(49)),t}var i=n(3),s=n(99),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(9))},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(8))},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(29),o=n(5).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(148),o=n(59);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(18).f,o=n(28),i=n(4)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(65)("keys"),o=n(68);t.exports=function(t){return r[t]||(r[t]=o(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(61),o=n(34);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(34);t.exports=function(t){return Object(r(t))}},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(181),i=n(182),s=n(43),a=n(185);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(187),a=n(71);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 k=n(19);k.inherits=n(1);var O,P={deprecate:n(205)};!function(){try{O=n(21)}catch(t){}finally{O||(O=n(30).EventEmitter)}}();var T=n(0).Buffer,R=n(32);k.inherits(a,O),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(9),n(76).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(85)},function(t,e,n){"use strict";var r=n(3),o=n(91),i=n(94),s=n(100),a=n(98),u=n(52),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(93);t.exports=function(t){return new Promise(function(e,f){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest,d="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||a(t.url)||(h=new window.XDomainRequest,d="onload",v=!0,h.onprogress=function(){},h.ontimeout=function(){}),t.auth){var m=t.auth.username||"",g=t.auth.password||"";p.Authorization="Basic "+c(m+":"+g)}if(h.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h[d]=function(){if(h&&(4===h.readyState||v)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,i={data:r,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:n,config:t,request:h};o(e,f,i),h=null}},h.onerror=function(){f(u("Network Error",t)),h=null},h.ontimeout=function(){f(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),h=null},r.isStandardBrowserEnv()){var y=n(96),w=(t.withCredentials||a(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;w&&(p[t.xsrfHeaderName]=w)}if("setRequestHeader"in h&&r.forEach(p,function(t,e){"undefined"==typeof l&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)}),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(t){if("json"!==h.responseType)throw t}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){h&&(h.abort(),f(t),h=null)}),void 0===l&&(l=null),h.send(l)})}},function(t,e,n){"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(90);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=h})},function(t,e,n){var r=n(25),o=n(4)("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){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){t.exports=n(5).document&&document.documentElement},function(t,e,n){var r=n(25);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(63),o=n(16),i=n(152),s=n(13),a=n(28),u=n(17),c=n(139),f=n(37),l=n(147),p=n(4)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@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,C,S=function(t){if(!h&&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)}},A=e+" Iterator",k=w==m,O=!1,P=t.prototype,T=P[p]||P[d]||w&&P[w],R=T||S(w),j=w?k?S("entries"):R:void 0,M="Array"==e?P.entries||T:T;if(M&&(C=l(M.call(new t)),C!==Object.prototype&&(f(C,A,!0),r||a(C,p)||s(C,p,g))),k&&T&&T.name!==m&&(O=!0,R=function(){return T.call(this)}),r&&!b||!h&&!O&&P[p]||s(P,p,R),u[e]=R,u[A]=g,w)if(E={values:k?R:S(m),keys:_?R:S(v),entries:j},b)for(x in E)x in P||i(P,x,E[x]);else o(o.P+o.F*(h||O),e,E);return E}},function(t,e){t.exports=!0},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},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,n){var r,o,i,s=n(26),a=n(136),u=n(60),c=n(35),f=n(5),l=f.process,p=f.setImmediate,h=f.clearImmediate,d=f.MessageChannel,v=0,m={},g="onreadystatechange",y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},w=function(t){y.call(t.data)};p&&h||(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},h=function(t){delete m[t]},"process"==n(25)(l)?r=function(t){l.nextTick(s(y,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=w,r=s(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",w,!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:h}},function(t,e,n){var r=n(39),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},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))),d(t,e)}else o||(e.reading=!1);return a(e)}function a(t){return!t.ended&&(t.needReadable||t.length=q?t=q:(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||(D("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?T(h,t):h(t))}function h(t){D("emit readable"),t.emit("readable"),_(t)}function d(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 C(t,e){var n=I.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(A,e,t))}function A(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function k(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return D("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;D("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){D("onunpipe"),t===p&&s()}function i(){D("onend"),t.end()}function s(){D("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,!h.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}function a(e){D("ondata"),w=!1;var n=t.write(e);!1!==n||w||((1===h.pipesCount&&h.pipes===t||h.pipesCount>1&&O(h.pipes,t)!==-1)&&!y&&(D("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,w=!0),p.pause())}function u(e){D("onerror",e),l(),t.removeListener("error",u),0===M(t,"error")&&t.emit("error",e)}function c(){t.removeListener("finish",f),l()}function f(){D("onfinish"),t.removeListener("close",c),l()}function l(){D("unpipe"),p.unpipe(t)}var p=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=t;break;case 1:h.pipes=[h.pipes,t];break;default:h.pipes.push(t)}h.pipesCount+=1,D("pipe count=%d opts=%j",h.pipesCount,n);var d=(!n||n.end!==!1)&&t!==e.stdout&&t!==e.stderr,v=d?i:s;h.endEmitted?T(v):p.once("end",v),t.on("unpipe",o);var g=m(p);t.on("drain",g);var y=!1,w=!1;return p.on("data",a),r(t,"error",u),t.once("close",c),t.once("finish",f),t.emit("pipe",p),h.flowing||(D("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(14),p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],h=new Array(64);f(r,l),r.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,f=0|this._c,l=0|this._d,h=0|this._e,d=0|this._f,v=0|this._g,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 w=m+a(h)+o(h,d,v)+p[y]+e[y]|0,_=s(n)+i(n,r,f)|0;m=v,v=d,d=h,h=l+w|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=h+this._e|0,this._f=d+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,d.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 h=n(1),d=n(14),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);h(r,d),r.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,h=0|this._ch,d=0|this._dh,m=0|this._eh,g=0|this._fh,y=0|this._gh,w=0|this._hh,_=0|this._al,b=0|this._bl,E=0|this._cl,x=0|this._dl,C=0|this._el,S=0|this._fl,A=0|this._gl,k=0|this._hl,O=0;O<32;O+=2)e[O]=t.readInt32BE(4*O),e[O+1]=t.readInt32BE(4*O+4);for(;O<160;O+=2){var P=e[O-30],T=e[O-30+1],R=u(P,T),j=c(T,P);P=e[O-4],T=e[O-4+1];var M=f(P,T),L=l(T,P),I=e[O-14],B=e[O-14+1],$=e[O-32],D=e[O-32+1],U=j+B|0,N=R+I+p(U,j)|0;U=U+L|0,N=N+M+p(U,L)|0,U=U+D|0,N=N+$+p(U,D)|0,e[O]=N,e[O+1]=U}for(var q=0;q<160;q+=2){N=e[q],U=e[q+1];var F=i(n,r,h),z=i(_,b,E),H=s(n,_),W=s(_,n),V=a(m,C),Y=a(C,m),G=v[q],K=v[q+1],Z=o(m,g,y),J=o(C,S,A),X=k+Y|0,Q=w+V+p(X,k)|0;X=X+J|0,Q=Q+Z+p(X,J)|0,X=X+K|0,Q=Q+G+p(X,K)|0,X=X+U|0,Q=Q+N+p(X,U)|0;var tt=W+z|0,et=H+F+p(tt,W)|0;w=y,k=A,y=g,A=S,g=m,S=C,C=x+X|0,m=d+Q+p(C,x)|0,d=h,x=E,h=r,E=b,r=n,b=_,_=X+tt|0,n=Q+et+p(_,X)|0}this._al=this._al+_|0,this._bl=this._bl+b|0,this._cl=this._cl+E|0,this._dl=this._dl+x|0,this._el=this._el+C|0,this._fl=this._fl+S|0,this._gl=this._gl+A|0,this._hl=this._hl+k|0,this._ah=this._ah+n+p(this._al,_)|0,this._bh=this._bh+r+p(this._bl,b)|0,this._ch=this._ch+h+p(this._cl,E)|0,this._dh=this._dh+d+p(this._dl,x)|0,this._eh=this._eh+m+p(this._el,C)|0,this._fh=this._fh+g+p(this._fl,S)|0,this._gh=this._gh+y+p(this._gl,A)|0,this._hh=this._hh+w+p(this._hl,k)|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(198),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){var r=n(2)(n(105),n(216),null,null);t.exports=r.exports},function(t,e,n){var r=n(2)(n(107),n(220),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(23),i=r(o),s=n(229),a=r(s),u=n(210),c=r(u),f=n(211),l=r(f),p=n(212),h=r(p),d=n(213),v=r(d),m=n(214),g=r(m),y=n(215),w=r(y);i.default.use(a.default);var _=[{path:"/",name:"home",component:h.default},{path:"/login",name:"login",component:l.default},{path:"/passwords/",name:"passwords",component:w.default},{path:"/options/default/",name:"configureOptions",component:c.default},{path:"/passwords/:id",name:"password",component:h.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:_});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(23),s=o(i),a=n(7),u=o(a),c=n(116),f=r(c),l=n(117),p=r(l),h=n(118),d=o(h),v=n(236),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:d.default,plugins:[(0,m.default)({key:"lesspass"})]})},function(t,e,n){var r=n(2)(n(102),n(228),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(3),i=n(53),s=n(87),a=n(31),u=r(a);u.Axios=s,u.create=function(t){return r(o.merge(a,t))},u.Cancel=n(50),u.CancelToken=n(86),u.isCancel=n(51),u.all=function(t){return Promise.all(t)},u.spread=n(101),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(50);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(31),i=n(3),s=n(88),a=n(89),u=n(97),c=n(95);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(3);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){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(3),i=n(92),s=n(51),a=n(31);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(52);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(3);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(3);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(3);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(3);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(3);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(3);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(177);var o=n(208),i=r(o),s=n(7);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(42),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(183),i=r(o),s=n(207),a=r(s);e.default={components:{Fingerprint:a.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,i.default)(function(t){this.fingerprint=t},500),togglePasswordType:function(t){"password"===t.type?t.type="text":t.type="password"},triggerEnterMethod:function(){"undefined"!=typeof this.keyupEnter&&this.password&&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(7),i=n(57),s=r(i),a=n(54);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.length=1===t?12:16,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(7),i=n(78),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(15),i=r(o),s=n(42),a=r(s),u=n(24),c=r(u),f=n(7),l=n(77),p=r(l),h={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)({},h),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)({},h)},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(120),s=r(i),a=n(42),u=r(a),c=n(7),f=n(57),l=r(f),p=n(115),h=n(209),d=r(h),v=n(77),m=r(v),g=n(78),y=r(g),w=n(54),_=n(84),b=r(_);e.default={name:"password-generator-view",components:{RemoveAutoComplete:d.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,w.showTooltip)(e.trigger,"copied !"),setTimeout(function(){t.cleanFormInSeconds(10)},2e3))})},mounted:function(){this.selectBestField()},data:function(){return{masterPassword:"",fingerprint:"",generatedPassword:"",cleanTimeout:null,showOptions:!1,showError:!1,generatingPassword:!1}},watch:{passwords:function(t){var e=this.$refs.site,n=this;null!==e&&t.length>0&&new b.default(e,{list:t.map(function(t){return{label:t.site+" "+t.login,value:t}}),replace:function(t){n.$store.dispatch("savePassword",{password:t.value}),this.input.value=t.value.site,n.selectBestField()}})},"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})},selectBestField:function(){this.$refs.site.focus(),this.password.site&&(this.password.login?this.$refs.masterPassword.$refs.password.focus():this.$refs.login.focus())}}}},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(15),i=r(o),s=n(24),a=r(s),u=n(7);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(15),i=r(o),s=n(24),a=r(s),u=n(7);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(15),s=r(i),a=n(206),u=r(a),c=n(7);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(15),i=r(o),s=n(48),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);return e&&e[1]}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(121),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.savePassword=e.passwordGenerated=e.saveDefaultPassword=e.loadPasswordForSite=e.refreshToken=e.loadPasswordFirstTime=void 0;var i=n(114),s=o(i),a=n(24),u=o(a),c=n(55),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.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(122),u=o(a),c=n(56),f=o(c),l=n(23),p=n(55),h=r(p);e.default=(s={},(0,u.default)(s,h.LOGIN,function(t){t.authenticated=!0}),(0,u.default)(s,h.SET_TOKEN,function(t,e){var n=e.token;t.token=n}),(0,u.default)(s,h.LOGOUT,function(t){t.authenticated=!1,t.token=null,t.passwords=[],i(t,"password",t.defaultPassword)}),(0,u.default)(s,h.SET_PASSWORD,function(t,e){var n=e.password;i(t,"password",n)}),(0,u.default)(s,h.PASSWORD_GENERATED,function(t){t.lastUse=(new Date).getTime()}),(0,u.default)(s,h.SET_DEFAULT_PASSWORD,function(t,e){var n=e.password;i(t,"defaultPassword",n)}),(0,u.default)(s,h.SET_PASSWORDS,function(t,e){var n=e.passwords;t.passwords=n}),(0,u.default)(s,h.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,h.SET_BASE_URL,function(t,e){var n=e.baseURL;t.baseURL=n}),(0,u.default)(s,h.SET_VERSION,function(t,e){var n=e.version,r=1===n?12:16;t.password.version=n,t.password.length=r}),(0,u.default)(s,h.LOAD_PASSWORD_FIRST_TIME,function(t){var e=(new Date).getTime()-6e4;e>t.lastUse&&i(t,"password",t.defaultPassword)}),(0,u.default)(s,h.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+/",h=0,d=p.length;h0?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=z;for(r=0;r=u?1:0,s[r]=n-a*u;for(;r0&&s.push(a),s}function p(t,e){return t.length>=e.length?l(t,e):l(e,t)}function h(t,e){var n,r,o=t.length,i=new Array(o),s=z;for(r=0;r0;)i[r++]=e%s,e=Math.floor(e/s);return i}function d(t,e){var n,r,o=t.length,i=e.length,s=new Array(o),a=0,c=z;for(n=0;n=0?i=d(t,e):(i=d(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=z;for(i=0;i0;)i[r++]=a%s,a=Math.floor(a/s);return i}function w(t,e){for(var n=[];e-- >0;)n.push(0);return n.concat(t)}function _(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=_(o,s),c=_(r,i),f=_(p(o,r),p(s,i)),l=p(p(a,w(d(d(f,a),c),n)),w(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=h-1,g[r+p]!==v&&(n=Math.floor((g[r+p]*h+g[r+p-1])/v)),o=0,i=0,u=w.length,s=0;sc&&(o=(o+1)*p),n=Math.ceil(o/i);do{if(s=y(e,n),O(s,l)<=0)break;n--}while(n);f.push(n),l=d(l,s)}return f.reverse(),[a(f),a(l)]}function A(t,e){var n,r,o,i,s=t.length,a=c(s),u=z;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 k(t,e){var i,u,c=F(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 h=Math.abs(p);if(he.length?1:-1;for(var n=t.length-1;n>=0;n--)if(t[n]!==e[n])return t[n]>e[n]?1:-1;return 0}function P(t){var e=t.abs();return!e.isUnit()&&(!!(e.equals(2)||e.equals(3)||e.equals(5))||!(e.isEven()||e.isDivisibleBy(3)||e.isDivisibleBy(5))&&(!!e.lesser(25)||void 0))}function T(t){return("number"==typeof t||"string"==typeof t)&&+Math.abs(t)<=z||t instanceof r&&t.value.length<=1}function R(t,n,r){n=F(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=[],h=0;h=0;p--){var h=l?s.value[p]:z,d=f(Math.random()*h);c.unshift(d),d"}function U(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(D(a))}return i.push(D(s)),r+i.reverse().join("")}function N(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 h=[],d=t.length,v=H,m=d-v;d>0;)h.push(+t.slice(m,d)),m-=v,m<0&&(m=0),d-=v;return u(h),new r(h,n)}function q(t){if(i(t)){if(t!==f(t))throw new Error(t+" is not an integer.");return new o(t)}return N(t.toString())}function F(t){return"number"==typeof t?q(t):"string"==typeof t?N(t):t}var z=1e7,H=7,W=9007199254740992,V=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=F(t);if(this.sign!==e.sign)return this.subtract(e.negate());var n=this.value,o=e.value;return e.isSmall?new r(h(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=F(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(h(a,Math.abs(n)),n<0)},o.prototype.plus=o.prototype.add,r.prototype.subtract=function(t){var e=F(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=F(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=F(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=F(t),n=this.value,r=e.value;return this.sign!==e.sign?e.sign?1:-1:e.isSmall?this.sign?-1:1:O(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=F(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=F(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(V,!0)};for(var G=[1];G[G.length-1]<=z;)G.push(2*G[G.length-1]);var K=G.length,Z=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(Z),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=k(n,Z),n=e[1].isNegative()?e[0].prev():e[0],t-=K-1}return e=k(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 J=1<<30,X=(z&-z)*(z&-z)|J,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=F(e);var a,u=[],c="-"===t[0];for(a=c?1:0;a"!==t[a]);u.push(F(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?U(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=I,n.lcm=B,n.isInstance=function(t){return t instanceof r||t instanceof o},n.randBetween=$,n}();"undefined"!=typeof t&&t.hasOwnProperty("exports")&&(t.exports=e)}).call(e,n(79)(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(21).Transform,i=n(1),s=n(47).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(197)],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(160),t.exports=n(6).Object.assign},function(t,e,n){n(161);var r=n(6).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){n(162),t.exports=n(6).Object.keys},function(t,e,n){n(163),n(165),n(166),n(164),t.exports=n(6).Promise},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(40),o=n(67),i=n(156);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(26),o=n(138),i=n(137),s=n(11),a=n(67),u=n(158),c={},f={},e=t.exports=function(t,e,n,l,p){var h,d,v,m,g=p?function(){return t}:u(t),y=r(n,l,e?2:1),w=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(h=a(t.length);h>w;w++)if(m=e?y(s(d=t[w])[0],d[1]):y(t[w]),m===c||m===f)return m}else for(v=g.call(t);!(d=v.next()).done;)if(m=o(v,y,d.value,e),m===c||m===f)return m};e.BREAK=c,e.RETURN=f},function(t,e,n){t.exports=!n(12)&&!n(27)(function(){return 7!=Object.defineProperty(n(35)("div"),"a",{get:function(){return 7}}).a})},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(17),o=n(4)("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(11);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(144),o=n(64),i=n(37),s={};n(13)(s,n(4)("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(4)("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(5),o=n(66).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,u="process"==n(25)(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(36),o=n(146),i=n(149),s=n(41),a=n(61),u=Object.assign;t.exports=!u||n(27)(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,h=a(arguments[c++]),d=f?r(h).concat(f(h)):r(h),v=d.length,m=0;v>m;)l.call(h,p=d[m++])&&(n[p]=h[p]);return n}:u},function(t,e,n){var r=n(11),o=n(145),i=n(59),s=n(38)("IE_PROTO"),a=function(){},u="prototype",c=function(){var t,e=n(35)("iframe"),r=i.length,o="<",s=">";for(e.style.display="none",n(60).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(18),o=n(11),i=n(36);t.exports=n(12)?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){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(28),o=n(41),i=n(38)("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(28),o=n(40),i=n(133)(!1),s=n(38)("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){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(16),o=n(6),i=n(27);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(13);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){t.exports=n(13)},function(t,e,n){"use strict";var r=n(5),o=n(6),i=n(18),s=n(12),a=n(4)("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(11),o=n(33),i=n(4)("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(39),o=n(34);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(39),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(29);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(58),o=n(4)("iterator"),i=n(17);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(131),o=n(141),i=n(17),s=n(40);t.exports=n(62)(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(16);r(r.S+r.F,"Object",{assign:n(143)})},function(t,e,n){var r=n(16);r(r.S+r.F*!n(12),"Object",{defineProperty:n(18).f})},function(t,e,n){var r=n(41),o=n(36);n(150)("keys",function(){return function(t){return o(r(t))}})},function(t,e){},function(t,e,n){"use strict";var r,o,i,s=n(63),a=n(5),u=n(26),c=n(58),f=n(16),l=n(29),p=n(33),h=n(132),d=n(134),v=n(154),m=n(66).set,g=n(142)(),y="Promise",w=a.TypeError,_=a.process,b=a[y],_=a.process,E="process"==c(_),x=function(){},C=!!function(){try{var t=b.resolve(1),e=(t.constructor={})[n(4)("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},A=function(t){var e;return!(!l(t)||"function"!=typeof(e=t.then))&&e},k=function(t){return S(b,t)?new O(t):new o(t)},O=o=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw w("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(w("Promise-chain cycle")):(i=A(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?_.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?_.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))},I=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw w("Promise can't be resolved itself");(e=A(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,u(I,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)}}};C||(b=function(t){h(this,b,y,"_h"),p(t),r.call(this);try{t(u(I,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(151)(b.prototype,{then:function(t,e){var n=k(v(this,b));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=E?_.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)}}),O=function(){var t=new r;this.promise=t,this.resolve=u(I,t,1),this.reject=u(L,t,1)}),f(f.G+f.W+f.F*!C,{Promise:b}),n(37)(b,y),n(153)(y),i=n(6)[y],f(f.S+f.F*!C,y,{reject:function(t){var e=k(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(s||!C),y,{resolve:function(t){if(t instanceof b&&S(t.constructor,this))return t;var e=k(this),n=e.resolve;return n(t),e.promise}}),f(f.S+f.F*!(C&&n(140)(function(t){b.all(t).catch(x)})),y,{all:function(t){var e=this,n=k(e),r=n.resolve,o=n.reject,i=P(function(){var n=[],i=0,s=1;d(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=k(e),r=n.reject,o=P(function(){d(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(155)(!0);n(62)(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(159);for(var r=n(5),o=n(13),i=n(17),s=n(4)("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){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(169),a=n(196),u=n(199),c=n(125);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(168);t.exports=function(t){return l.hash(t,r,16)}},function(t,e,n){e=t.exports=n(20)(),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(20)(),e.push([t.i,".fa-none{display:none}#passwordsList{min-height:320px}",""])},function(t,e,n){e=t.exports=n(20)(),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(20)(),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(20)(),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(175);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(178),u=n(176);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,h=t[e+l];for(l+=p,i=h&(1<<-f)-1,h>>=-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:(h?-1:1)*(1/0);s+=Math.pow(2,r),i-=c}return(h?-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,h=r?0:i-1,d=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=f):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),e+=s+l>=1?p/u:p*Math.pow(2,1-l),e*u>=2&&(s++,u/=2),s+l>=f?(a=0,s=f):s+l>=1?(a=(e*u-1)*Math.pow(2,o),s+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,o),s=0));o>=8;t[n+h]=255&a,h+=d,a/=256,o-=8);for(s=s<0;t[n+h]=255&s,h+=d,s/=256,c-=8);t[n+h-d]|=128*v}},function(t,e,n){(function(e){function r(t,e,n){var r=void 0!==n?n:{},o=r.iterations||8192,i=r.keylen||32;return h(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(d("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,C=e,y=t.apply(r,n)}function i(t){return C=t,w=setTimeout(f,e),S?o(t):y}function u(t){var n=t-x,r=t-C,o=e-n;return A?b(o,g-r):o}function c(t){var n=t-x,r=t-C;return void 0===x||n>=e||n<0||A&&r>=g}function f(){var t=E();return c(t)?l(t):void(w=setTimeout(f,u(t)))}function l(t){return w=void 0,k&&v?o(t):(v=m=void 0,y)}function p(){void 0!==w&&clearTimeout(w),C=0,v=x=m=w=void 0}function h(){return void 0===w?y:l(E())}function d(){var t=E(),n=c(t);if(v=arguments,m=this,x=t,n){if(void 0===w)return i(x);if(A)return w=setTimeout(f,e),o(x)}return void 0===w&&(w=setTimeout(f,e)),y}var v,m,g,y,w,x,C=0,S=!1,A=!1,k=!0;if("function"!=typeof t)throw new TypeError(a);return e=s(e)||0,r(n)&&(S=!!n.leading,A="maxWait"in n,g=A?_(s(n.maxWait)||0,e):g,k="trailing"in n?!!n.trailing:k),d.cancel=p,d.flush=h,d}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)&&w.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||h.test(t)?d(t.slice(2),n?2:8):l.test(t)?u:+t}var a="Expected a function",u=NaN,c="[object Symbol]",f=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,h=/^0o[0-7]+$/i,d=parseInt,v="object"==typeof e&&e&&e.Object===Object&&e,m="object"==typeof self&&self&&self.Object===Object&&self,g=v||m||Function("return this")(),y=Object.prototype,w=y.toString,_=Math.max,b=Math.min,E=function(){return g.Date.now()};t.exports=n}).call(e,n(8))},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 k(t,e){var n=this.__data__,r=z(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function O(t){var e=-1,n=t?t.length:0;for(this.clear();++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<=zt}function Mt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Lt(t){return!!t&&"object"==typeof t}function It(t){if(!Lt(t)||Ne.call(t)!=Qt||p(t))return!1;var e=We(t);if(null===e)return!0;var n=De.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&$e.call(n)==Ue}function Bt(t){return lt(t,Dt(t))}function $t(t){return Pt(t)?N(t):J(t)}function Dt(t){return Pt(t)?N(t,!0):X(t)}function Ut(){return[]}function Nt(){return!1}var qt=200,Ft="__lodash_hash_undefined__",zt=9007199254740991,Ht="[object Arguments]",Wt="[object Array]",Vt="[object Boolean]",Yt="[object Date]",Gt="[object Error]",Kt="[object Function]",Zt="[object GeneratorFunction]",Jt="[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]",he="[object Uint8Array]",de="[object Uint8ClampedArray]",ve="[object Uint16Array]",me="[object Uint32Array]",ge=/[\\^$.*+?()[\]{}|]/g,ye=/\w*$/,we=/^\[object .+?Constructor\]$/,_e=/^(?:0|[1-9]\d*)$/,be={};be[ue]=be[ce]=be[fe]=be[le]=be[pe]=be[he]=be[de]=be[ve]=be[me]=!0,be[Ht]=be[Wt]=be[se]=be[Vt]=be[ae]=be[Yt]=be[Gt]=be[Kt]=be[Jt]=be[Xt]=be[Qt]=be[ee]=be[ne]=be[re]=be[ie]=!1;var Ee={};Ee[Ht]=Ee[Wt]=Ee[se]=Ee[ae]=Ee[Vt]=Ee[Yt]=Ee[ue]=Ee[ce]=Ee[fe]=Ee[le]=Ee[pe]=Ee[Jt]=Ee[Xt]=Ee[Qt]=Ee[ee]=Ee[ne]=Ee[re]=Ee[oe]=Ee[he]=Ee[de]=Ee[ve]=Ee[me]=!0,Ee[Gt]=Ee[Kt]=Ee[ie]=!1;var xe="object"==typeof t&&t&&t.Object===Object&&t,Ce="object"==typeof self&&self&&self.Object===Object&&self,Se=xe||Ce||Function("return this")(),Ae="object"==typeof e&&e&&!e.nodeType&&e,ke=Ae&&"object"==typeof n&&n&&!n.nodeType&&n,Oe=ke&&ke.exports===Ae,Pe=Oe&&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,Ie=Se["__core-js_shared__"],Be=function(){var t=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),$e=Me.toString,De=Le.hasOwnProperty,Ue=$e.call(Object),Ne=Le.toString,qe=RegExp("^"+$e.call(De).replace(ge,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fe=Oe?Se.Buffer:void 0,ze=Se.Symbol,He=Se.Uint8Array,We=d(Object.getPrototypeOf,Object),Ve=Object.create,Ye=Le.propertyIsEnumerable,Ge=je.splice,Ke=Object.getOwnPropertySymbols,Ze=Fe?Fe.isBuffer:void 0,Je=d(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=At(Qe),an=At(tn),un=At(en),cn=At(nn),fn=At(rn),ln=ze?ze.prototype:void 0,pn=ln?ln.valueOf:void 0;m.prototype.clear=g,m.prototype.delete=y,m.prototype.get=w,m.prototype.has=_,m.prototype.set=b,E.prototype.clear=x,E.prototype.delete=C,E.prototype.get=S,E.prototype.has=A,E.prototype.set=k,O.prototype.clear=P,O.prototype.delete=T,O.prototype.get=R,O.prototype.has=j,O.prototype.set=M,L.prototype.clear=I,L.prototype.delete=B,L.prototype.get=$,L.prototype.has=D,L.prototype.set=U;var hn=Ke?d(Ke,Object):Ut,dn=G;(Qe&&dn(new Qe(new ArrayBuffer(1)))!=ae||tn&&dn(new tn)!=Jt||en&&dn(en.resolve())!=te||nn&&dn(new nn)!=ne||rn&&dn(new rn)!=ie)&&(dn=function(t){var e=Ne.call(t),n=e==Qt?t.constructor:void 0,r=n?At(n):void 0;if(r)switch(r){case sn:return ae;case an:return Jt;case un:return te;case cn:return ne;case fn:return ie}return e});var vn=Array.isArray,mn=Ze||Nt,gn=Re?f(Re):Z,yn=ht(function(t,e,n){Q(t,e,n)});n.exports=yn}).call(e,n(8),n(79)(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 h,d,v=1;v<=f;v++){p.writeUInt32BE(v,e.length);var m=o(u,t).update(p).digest();c||(c=m.length,d=new r(c),f=Math.ceil(a/c),h=a-(f-1)*c),m.copy(d,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(72)},function(t,e,n){(function(r){var o=function(){try{return n(21)}catch(t){}}();e=t.exports=n(73),e.Stream=o||e,e.Readable=e,e.Writable=n(46),e.Duplex=n(10),e.Transform=n(45),e.PassThrough=n(72),!r.browser&&"disable"===r.env.READABLE_STREAM&&o&&(t.exports=o)}).call(e,n(9))},function(t,e,n){t.exports=n(45)},function(t,e,n){t.exports=n(46)},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,C,S,A,k;x=y=t[0],C=w=t[1],S=_=t[2],A=b=t[3],k=E=t[4];var O;for(r=0;r<80;r+=1)O=y+e[n+p[r]]|0,O+=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],O|=0,O=f(O,d[r]),O=O+E|0,y=E,E=b,b=f(_,10),_=w,w=O,O=x+e[n+h[r]]|0,O+=r<16?c(C,S,A)+g[0]:r<32?u(C,S,A)+g[1]:r<48?a(C,S,A)+g[2]:r<64?s(C,S,A)+g[3]:i(C,S,A)+g[4],O|=0,O=f(O,v[r]),O=O+k|0,x=k,k=A,A=f(S,10),S=C,C=O;O=t[1]+_+A|0,t[1]=t[2]+b+k|0,t[2]=t[3]+E+x|0,t[3]=t[4]+y+C|0,t[4]=t[0]+w+S|0,t[0]=O}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],h=[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],d=[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(14),c=[1518500249,1859775393,-1894007588,-899497514],f=new Array(80);a(r,u),r.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,a=0|this._c,u=0|this._d,f=0|this._e,l=0;l<16;++l)e[l]=t.readInt32BE(4*l);for(;l<80;++l)e[l]=e[l-3]^e[l-8]^e[l-14]^e[l-16];for(var p=0;p<80;++p){var h=~~(p/20),d=o(n)+s(h,r,a,u)+f+e[p]+c[h]|0;f=u,u=a,a=i(r),r=n,n=d}this._a=n+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=u+this._d|0,this._e=f+this._e|0},r.prototype._hash=function(){var t=new e(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=r}).call(e,n(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(14),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 h=0;h<80;++h){var d=~~(h/20),v=i(n)+a(d,r,u,c)+l+e[h]+f[d]|0;l=c,c=u,u=s(r),r=n,n=v}this._a=n+this._a|0,this._b=r+this._b|0,this._c=u+this._c|0,this._d=c+this._d|0,this._e=l+this._e|0},r.prototype._hash=function(){var t=new e(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=r}).call(e,n(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(74),s=n(14),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(75),s=n(14),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;return t._self._c||e,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":"420px"},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 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,e){if(void 0===e&&(e={}),t){var n;try{n=s(t)}catch(t){n={}}for(var r in e)n[r]=e[r];return n}return e}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 h(t,e){return 0===t.path.replace(Mt,"/").indexOf(e.path.replace(Mt,"/"))&&(!e.hash||t.hash===e.hash)&&d(t.query,e.query)}function d(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 _(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,e,n,r,o){var i=n.path,s=n.name,a={path:x(i,r),components:n.components||{default:n.component},instances:{},name:s,parent:r,matchAs:o,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:null==n.props?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach(function(n){var r=o?_(o+"/"+n.path):void 0;E(t,e,n,a,r)}),void 0!==n.alias)if(Array.isArray(n.alias))n.alias.forEach(function(o){var i={path:o,children:n.children};E(t,e,i,r,a.path)});else{var u={path:n.alias,children:n.children};E(t,e,u,r,a.path)}t[a.path]||(t[a.path]=a),s&&(e[s]||(e[s]=a))}function x(t,e){return t=t.replace(/\/$/,""),"/"===t[0]?t:null==e?t:_(e.path+"/"+t)}function C(t,e){for(var n,r=[],o=0,i=0,s="",a=e&&e.delimiter||"/";null!=(n=Vt.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],h=n[3],d=n[4],v=n[5],m=n[6],g=n[7];s&&(r.push(s),s="");var y=null!=p&&null!=l&&l!==p,w="+"===m||"*"===m,_="?"===m||"*"===m,b=n[2]||a,E=d||v;r.push({name:h||o++,prefix:p||"",delimiter:b,optional:_,repeat:w,partial:y,asterisk:!!g,pattern:E?T(E):g?".*":"[^"+P(b)+"]+?"})}}return i-1&&(r.params[u]=e.params[u]);if(i)return r.path=U(i.path,r.params,'named route "'+o+'"'),s(i,r,n)}else if(r.path){r.params={};for(var l in c)if(z(l,r.params,r.path))return s(c[l],r,n)}return s(null,r)}function o(t,e){var o=t.redirect,i="function"==typeof o?o(u(t,e)):o;if("string"==typeof i&&(i={path:i}),!i||"object"!=typeof i)return s(null,e);var a=i,c=a.name,l=a.path,p=e.query,h=e.hash,d=e.params;if(p=a.hasOwnProperty("query")?a.query:p,h=a.hasOwnProperty("hash")?a.hash:h,d=a.hasOwnProperty("params")?a.params:d,c)return f[c],n({_normalized:!0,name:c,query:p,hash:h,params:d},void 0,e);if(l){var v=H(l,t),m=U(v,d,'redirect route with path "'+v+'"');return n({_normalized:!0,path:m,query:p,hash:h},void 0,e)}return r(!1,"invalid redirect option: "+JSON.stringify(i)),s(null,e)}function i(t,e,r){var o=U(r,e.params,'aliased route with path "'+r+'"'),i=n({_normalized:!0,path:o});if(i){var a=i.matched,u=a[a.length-1];return e.params=i.params,s(u,e)}return s(null,e)}function s(t,e,n){return t&&t.redirect?o(t,n||e):t&&t.matchAs?i(t,e,t.matchAs):u(t,e,n)}var a=b(t),c=a.pathMap,f=a.nameMap;return{match:n,addRoutes:e}}function z(t,e,n){var r=D(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(Dt){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?_(t+"/"+r):r}var At,kt={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 h=c[a]=p.components[a],d=s.hook||(s.hook={});return d.init=function(t){p.instances[a]=t.child},d.prepatch=function(t,e){p.instances[a]=e.child},d.destroy=function(t){p.instances[a]===t.child&&(p.instances[a]=void 0)},s.props=o(u,p.props&&p.props[a]),t(h,s,r)}},Ot=/[!'()*]/g,Pt=function(t){return"%"+t.charCodeAt(0).toString(16)},Tt=/%2C/g,Rt=function(t){return encodeURIComponent(t).replace(Ot,Pt).replace(Tt,",")},jt=decodeURIComponent,Mt=/\/?$/,Lt=u(null,{path:"/"}),It=[String,Object],Bt=[String,Array],$t={name:"router-link",props:{to:{type:It,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,event:{type:Bt,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):h(r,p);var d=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]=d}):g[this.event]=d;var y={class:c};if("a"===this.tag)y.on=g,y.attrs={href:a};else{var w=m(this.$slots.default);if(w){w.isStatic=!1;var _=At.util.extend,b=w.data=_({},w.data);b.on=g;var E=w.data.attrs=_({},w.data.attrs);E.href=a}else y.on=g}return t(this.tag,y,this.$slots.default)}},Dt="undefined"!=typeof window,Ut=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Nt=Ut,qt=$,Ft=C,zt=S,Ht=O,Wt=B,Vt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");qt.parse=Ft,qt.compile=zt,qt.tokensToFunction=Ht,qt.tokensToRegExp=Wt;var Yt=Object.create(null),Gt=Object.create(null),Kt=Object.create(null),Zt=Dt&&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}(),Jt=Dt&&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(wt(r.base),function(t){o&&V(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(_(r.base+t.fullPath)),V(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(_(r.base+t.fullPath)),V(r.router,t,r.current,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(wt(this.base)!==this.current.fullPath){var e=_(this.base+this.current.fullPath);t?nt(e):rt(e)}},e.prototype.getCurrentLocation=function(){return wt(this.base)},e}(Qt),ee=function(t){function e(e,n,r){t.call(this,e,n),r&&_t(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){Ct(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){Ct(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):Ct(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=F(t.routes||[]);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Zt,this.fallback&&(e="hash"),Dt||(e="abstract"),this.mode=e,e){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)}},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 e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof te)n.transitionTo(n.getCurrentLocation());else if(n instanceof ee){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.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=N(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",Dt&&window.Vue&&window.Vue.use(re),t.exports=re},function(t,e,n){var r=n(170);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(22)("0c6daa32",r,!0)},function(t,e,n){var r=n(171);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(22)("259f0750",r,!0)},function(t,e,n){var r=n(172);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(22)("4809fe4b",r,!0)},function(t,e,n){var r=n(173);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(22)("4c8418e0",r,!0)},function(t,e,n){var r=n(174);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(22)("42c88c1d",r,!0)},function(t,e){t.exports=function(t,e){for(var n=[],r={},o=0;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 O(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function w(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function _(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 B(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 $(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 D(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 U(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 N(t,e,n,r,o){return o||U(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(t,e,n,r,23,4),n+4}function q(t,e,n,r,o){return o||U(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(t,e,n,r,52,8),n+8}function F(t){if(t=z(t).replace(et,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function H(t){return t<16?"0"+t.toString(16):t.toString(16)}function 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 V(t){for(var e=[],n=0;n>8,o=n%256,i.push(o),i.push(r);return i}function G(t){return J.toByteArray(F(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 Z(t){return t!==t}var J=n(123),X=n(181),Q=n(70);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 C(this,t,e,n);case"latin1":case"binary":return S(this,t,e,n);case"base64":return A(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(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||I(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return e||I(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return e||I(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return e||I(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||I(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||I(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||I(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||I(t,1,this.length),128&this[t]?(255-this[t]+1)*-1:this[t]},s.prototype.readInt16LE=function(t,e){e||I(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||I(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||I(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||I(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||I(t,4,this.length),X.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return e||I(t,4,this.length),X.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return e||I(t,8,this.length),X.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return e||I(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;B(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||B(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||B(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):$(this,t,e,!0),e+2},s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):$(this,t,e,!1),e+2},s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||B(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):D(this,t,e,!0),e+4},s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||B(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):D(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);B(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);B(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||B(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||B(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):$(this,t,e,!0),e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):$(this,t,e,!1),e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||B(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):D(this,t,e,!0),e+4},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||B(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):D(this,t,e,!1),e+4},s.prototype.writeFloatLE=function(t,e,n){return N(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return N(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return q(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return q(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;i=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)}}},x=n(function(t,n){var o={};return e(n).forEach(function(e){var n=e.key,i=e.val;o[n]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var o=r(this.$store,"mapState",t);if(!o)return;e=o.context.state,n=o.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]}}),o}),C=n(function(t,n){var o={};return e(n).forEach(function(e){var n=e.key,i=e.val;i=t+i,o[n]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(!t||r(this.$store,"mapMutations",t))return this.$store.commit.apply(this.$store,[i].concat(e))}}),o}),S=n(function(t,n){var o={};return e(n).forEach(function(e){var n=e.key,i=e.val;i=t+i,o[n]=function(){if(!t||r(this.$store,"mapGetters",t))return i in this.$store.getters?this.$store.getters[i]:void console.error("[vuex] unknown getter: "+i)}}),o}),A=n(function(t,n){var o={};return e(n).forEach(function(e){var n=e.key,i=e.val;i=t+i,o[n]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(!t||r(this.$store,"mapActions",t))return this.$store.dispatch.apply(this.$store,[i].concat(e))}}),o}),k=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t},O={state:{},namespaced:{}};O.state.get=function(){return this._rawModule.state||{}},O.namespaced.get=function(){return!!this._rawModule.namespaced},k.prototype.addChild=function(t,e){this._children[t]=e},k.prototype.removeChild=function(t){delete this._children[t]},k.prototype.getChild=function(t){return this._children[t]},k.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)},k.prototype.forEachChild=function(t){o(this._children,t)},k.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},k.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},k.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(k.prototype,O);var P=function(t){var e=this;this.root=new k(t,!1),t.modules&&o(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){u(this.root,t)},P.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=this.get(t.slice(0,-1)),s=new k(e,n);i.addChild(t[t.length-1],s),e.modules&&o(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={}),a(T,"must call Vue.use(Vuex) before creating a store instance."),a("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,u=this,c=u.dispatch,p=u.commit;this.dispatch=function(t,e){return c.call(s,t,e)},this.commit=function(t,e,n){return p.call(s,t,e,n)},this.strict=i,l(this,r,[],this._modules.root),f(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){a(!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 a("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]),a(Array.isArray(t),"module path must be a string or an Array."),this._modules.register(t,e),l(this,this.state,t,this._modules.get(t)),f(this,this.state)},R.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),a(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit(function(){var n=y(e.state,t.slice(0,-1));T.delete(n,t[t.length-1])}),c(this)},R.prototype.hotUpdate=function(t){this._modules.update(t),c(this,!0)},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&&_(window.Vue);var M={Store:R,install:_,version:"2.1.2",mapState:x,mapMutations:C,mapGetters:S,mapActions:A};return M})},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){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function s(){v&&h&&(v=!1,h.length?d=h.concat(d):m=-1,d.length&&a())}function a(){if(!v){var t=o(s);v=!0;for(var e=d.length;e;){for(h=d,d=[];++m1)for(var n=1;n=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){function r(t){for(var e=0;en.parts.length&&(r.parts.length=n.parts.length)}else{for(var i=[],o=0;o-1)return t.splice(n,1)}}function s(t,e){return xn.call(t,e)}function a(t){return"string"==typeof t||"number"==typeof t}function u(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function c(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 f(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function l(t,e){for(var n in e)t[n]=e[n];return t}function p(t){return null!==t&&"object"==typeof t}function h(t){return Pn.call(t)===Tn}function d(t){for(var e={},n=0;n1?f(n):n;for(var r=f(arguments,1),o=0,i=n.length;o=0&&vr[n].id>t.id;)n--;vr.splice(Math.max(n,wr)+1,0,t)}else vr.push(t);gr||(gr=!0,Wn(At))}}function Ot(t){Er.clear(),Pt(t,Er)}function Pt(t,e){var n,r,o=Array.isArray(t);if((o||p(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--;)Pt(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)Pt(t[r[n]],e)}}function Tt(t){t._watchers=[];var e=t.$options;e.props&&Rt(t,e.props),e.methods&&It(t,e.methods),e.data?jt(t):k(t._data={},!0),e.computed&&Mt(t,e.computed),e.watch&&Bt(t,e.watch)}function Rt(t,e){var n=t.$options.propsData||{},r=t.$options._propKeys=Object.keys(e),o=!t.$parent;tr.shouldConvert=o;for(var i=function(o){var i=r[o];O(t,i,U(i,e,n,t))},s=0;s-1:t.test(e)}function Zt(t,e){for(var n in t){var r=t[n];if(r){var o=Gt(r.componentOptions);o&&!e(o)&&(Jt(r),t[n]=null)}}}function Jt(t){t&&(t.componentInstance._inactive||Ct(t.componentInstance,"deactivated"),t.componentInstance.$destroy())}function Xt(t){var e={};e.get=function(){return Mn},Object.defineProperty(t,"config",e),t.util=or,t.set=P,t.delete=T,t.nextTick=Wn,t.options=Object.create(null),Mn._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,l(t.options.components,kr),Ht(t),Wt(t),Vt(t),Yt(t)}function Qt(t){for(var e=t.data,n=t,r=t;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(e=te(r.data,e));for(;n=n.parent;)n.data&&(e=te(e,n.data));return ee(e)}function te(t,e){return{staticClass:ne(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function ee(t){var e=t.class,n=t.staticClass;return n||e?ne(n,re(e)):""}function ne(t,e){return t?e?t+" "+e:t:e||""}function re(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?Fr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Fr[t]=/HTMLUnknownElement/.test(e.toString())}function se(t){return"string"!=typeof t||(t=document.querySelector(t))?t:document.createElement("div")}function ae(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 ue(t,e){return document.createElementNS(Dr[t],e)}function ce(t){return document.createTextNode(t)}function fe(t){return document.createComment(t)}function le(t,e,n){t.insertBefore(e,n)}function pe(t,e){t.removeChild(e)}function he(t,e){t.appendChild(e)}function de(t){return t.parentNode}function ve(t){return t.nextSibling}function me(t){return t.tagName}function ge(t,e){t.textContent=e}function ye(t,e,n){t.setAttribute(e,n)}function we(t,e){var n=t.data.ref;if(n){var r=t.context,o=t.componentInstance||t.elm,s=r.$refs;e?Array.isArray(s[n])?i(s[n],o):s[n]===o&&(s[n]=void 0):t.data.refInFor?Array.isArray(s[n])&&s[n].indexOf(o)<0?s[n].push(o):s[n]=[o]:s[n]=o}}function _e(t){return null==t}function be(t){return null!=t}function Ee(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function xe(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,be(o)&&(i[o]=r);return i}function Ce(t){function e(t){return new ir(k.tagName(t).toLowerCase(),{},[],void 0,t)}function n(t,e){function n(){0===--n.listeners&&r(t)}return n.listeners=e,n}function r(t){var e=k.parentNode(t);e&&k.removeChild(e,t)}function i(t,e,n,r,o){if(t.isRootInsert=!o,!s(t,e,n,r)){var i=t.data,a=t.children,u=t.tag;be(u)?(t.elm=t.ns?k.createElementNS(t.ns,u):k.createElement(u,t),d(t),l(t,a,e),be(i)&&h(t,e),f(n,t.elm,r)):t.isComment?(t.elm=k.createComment(t.text),f(n,t.elm,r)):(t.elm=k.createTextNode(t.text),f(n,t.elm,r))}}function s(t,e,n,r){var o=t.data;if(be(o)){var i=be(t.componentInstance)&&o.keepAlive;if(be(o=o.hook)&&be(o=o.init)&&o(t,!1,n,r),be(t.componentInstance))return u(t,e),i&&c(t,e,n,r),!0}}function u(t,e){t.data.pendingInsert&&e.push.apply(e,t.data.pendingInsert),t.elm=t.componentInstance.$el,p(t)?(h(t,e),d(t)):(we(t),e.push(t))}function c(t,e,n,r){for(var o,i=t;i.componentInstance;)if(i=i.componentInstance._vnode,be(o=i.data)&&be(o=o.transition)){for(o=0;op?(c=_e(n[m+1])?null:n[m+1].elm,v(t,c,n,l,m,r)):l>m&&g(t,e,f,p)}function _(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=be(i);s&&be(o=i.hook)&&be(o=o.prepatch)&&o(t,e);var a=e.elm=t.elm,u=t.children,c=e.children;if(s&&p(e)){for(o=0;o-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 We(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 Ve(t){vo(function(){vo(t)})}function Ye(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),He(t,e)}function Ge(t,e){t._transitionClasses&&i(t._transitionClasses,e),We(t,e)}function Ke(t,e,n){var r=Ze(t,e),o=r.type,i=r.timeout,s=r.propCount;if(!o)return n();var a=o===uo?lo:ho,u=0,c=function(){t.removeEventListener(a,f),n()},f=function(e){e.target===t&&++u>=s&&c()};setTimeout(function(){u0&&(n=uo,f=s,l=i.length):e===co?c>0&&(n=co,f=c,l=u.length):(f=Math.max(s,c),n=f>0?s>c?uo:co:null,l=n?n===uo?i.length:u.length:0);var p=n===uo&&mo.test(r[fo+"Property"]);return{type:n,timeout:f,propCount:l,hasTransform:p}}function Je(t,e){for(;t.length1,j=n._enterCb=nn(function(){T&&(Ge(n,S),Ge(n,C)),j.cancelled?(T&&Ge(n,x),P&&P(n)):O&&O(n),n._enterCb=null});t.data.show||ot(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(),k&&k(n,j)},"transition-insert"),A&&A(n),T&&(Ye(n,x),Ye(n,C),Ve(function(){Ye(n,S),Ge(n,x),j.cancelled||R||Ke(n,i,j)})),t.data.show&&(e&&e(),k&&k(n,j)),T||R||j()}}}function tn(t,e){function n(){g.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),f&&f(r),v&&(Ye(r,a),Ye(r,c),Ve(function(){Ye(r,u),Ge(r,a),g.cancelled||m||Ke(r,s,g)})),l&&l(r,g),v||m||g())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var o=en(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,h=o.leaveCancelled,d=o.delayLeave,v=i!==!1&&!Un,m=l&&(l._length||l.length)>1,g=r._leaveCb=nn(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),v&&(Ge(r,u),Ge(r,c)),g.cancelled?(v&&Ge(r,a),h&&h(r)):(e(),p&&p(r)),r._leaveCb=null});d?d(n):n()}}function en(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&l(e,go(t.name||"v")),l(e,t),e}return"string"==typeof t?go(t):void 0}}function nn(t){var e=!1;return function(){e||(e=!0,t())}}function rn(t,e){e.data.show||Qe(e)}function on(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,s,a=0,u=t.options.length;a-1,s.selected!==i&&(s.selected=i);else if(g(an(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));o||(t.selectedIndex=-1)}}function sn(t,e){for(var n=0,r=e.length;n0,Nn=$n&&$n.indexOf("edge/")>0,qn=$n&&$n.indexOf("android")>0,Fn=$n&&/iphone|ipad|ipod|ios/.test($n),zn=function(){return void 0===_n&&(_n=!Bn&&"undefined"!=typeof e&&"server"===e.process.env.VUE_ENV),_n},Hn=Bn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Wn=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e1&&(e[n[0].trim()]=n[1].trim())}}),e}),eo=/^--/,no=/\s*!important$/,ro=function(t,e,n){eo.test(e)?t.style.setProperty(e,n):no.test(n)?t.style.setProperty(e,n.replace(no,""),"important"):t.style[io(e)]=n},oo=["Webkit","Moz","ms"],io=u(function(t){if(Pr=Pr||document.createElement("div"),t=Sn(t),"filter"!==t&&t in Pr.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n0&&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(49):"undefined"!=typeof e&&(t=n(49)),t}var i=n(3),s=n(99),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(9))},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(8))},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(29),o=n(5).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(148),o=n(59);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(20).f,o=n(28),i=n(4)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(65)("keys"),o=n(68);t.exports=function(t){return r[t]||(r[t]=o(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(61),o=n(34);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(34);t.exports=function(t){return Object(r(t))}},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(182),i=n(183),s=n(43),a=n(186);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(188),a=n(71);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 k=n(21);k.inherits=n(1);var O,P={deprecate:n(206)};!function(){try{O=n(22)}catch(t){}finally{O||(O=n(30).EventEmitter)}}();var T=n(0).Buffer,R=n(32);k.inherits(a,O),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(9),n(76).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(85)},function(t,e,n){"use strict";var r=n(3),o=n(91),i=n(94),s=n(100),a=n(98),u=n(52),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(93);t.exports=function(t){return new Promise(function(e,f){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest,d="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||a(t.url)||(h=new window.XDomainRequest,d="onload",v=!0,h.onprogress=function(){},h.ontimeout=function(){}),t.auth){var m=t.auth.username||"",g=t.auth.password||"";p.Authorization="Basic "+c(m+":"+g)}if(h.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h[d]=function(){if(h&&(4===h.readyState||v)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,i={data:r,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:n,config:t,request:h};o(e,f,i),h=null}},h.onerror=function(){f(u("Network Error",t)),h=null},h.ontimeout=function(){f(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),h=null},r.isStandardBrowserEnv()){var y=n(96),w=(t.withCredentials||a(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;w&&(p[t.xsrfHeaderName]=w)}if("setRequestHeader"in h&&r.forEach(p,function(t,e){"undefined"==typeof l&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)}),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(t){if("json"!==h.responseType)throw t}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){h&&(h.abort(),f(t),h=null)}),void 0===l&&(l=null),h.send(l)})}},function(t,e,n){"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(90);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)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}(f.default);t.exports=h})},function(t,e,n){var r=n(25),o=n(4)("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){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){t.exports=n(5).document&&document.documentElement},function(t,e,n){var r=n(25);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(63),o=n(18),i=n(152),s=n(13),a=n(28),u=n(19),c=n(139),f=n(37),l=n(147),p=n(4)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@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,C,S=function(t){if(!h&&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)}},A=e+" Iterator",k=w==m,O=!1,P=t.prototype,T=P[p]||P[d]||w&&P[w],R=T||S(w),j=w?k?S("entries"):R:void 0,M="Array"==e?P.entries||T:T;if(M&&(C=l(M.call(new t)),C!==Object.prototype&&(f(C,A,!0),r||a(C,p)||s(C,p,g))),k&&T&&T.name!==m&&(O=!0,R=function(){return T.call(this)}),r&&!b||!h&&!O&&P[p]||s(P,p,R),u[e]=R,u[A]=g,w)if(E={values:k?R:S(m),keys:_?R:S(v),entries:j},b)for(x in E)x in P||i(P,x,E[x]);else o(o.P+o.F*(h||O),e,E);return E}},function(t,e){t.exports=!0},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},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,n){var r,o,i,s=n(26),a=n(136),u=n(60),c=n(35),f=n(5),l=f.process,p=f.setImmediate,h=f.clearImmediate,d=f.MessageChannel,v=0,m={},g="onreadystatechange",y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},w=function(t){y.call(t.data)};p&&h||(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},h=function(t){delete m[t]},"process"==n(25)(l)?r=function(t){l.nextTick(s(y,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=w,r=s(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",w,!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:h}},function(t,e,n){var r=n(39),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},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))),d(t,e)}else o||(e.reading=!1);return a(e)}function a(t){return!t.ended&&(t.needReadable||t.length=q?t=q:(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||(D("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?T(h,t):h(t))}function h(t){D("emit readable"),t.emit("readable"),_(t)}function d(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 C(t,e){var n=I.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(A,e,t))}function A(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function k(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return D("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;D("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){D("onunpipe"),t===p&&s()}function i(){D("onend"),t.end()}function s(){D("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,!h.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}function a(e){D("ondata"),w=!1;var n=t.write(e);!1!==n||w||((1===h.pipesCount&&h.pipes===t||h.pipesCount>1&&O(h.pipes,t)!==-1)&&!y&&(D("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,w=!0),p.pause())}function u(e){D("onerror",e),l(),t.removeListener("error",u),0===M(t,"error")&&t.emit("error",e)}function c(){t.removeListener("finish",f),l()}function f(){D("onfinish"),t.removeListener("close",c),l()}function l(){D("unpipe"),p.unpipe(t)}var p=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=t;break;case 1:h.pipes=[h.pipes,t];break;default:h.pipes.push(t)}h.pipesCount+=1,D("pipe count=%d opts=%j",h.pipesCount,n);var d=(!n||n.end!==!1)&&t!==e.stdout&&t!==e.stderr,v=d?i:s;h.endEmitted?T(v):p.once("end",v),t.on("unpipe",o);var g=m(p);t.on("drain",g);var y=!1,w=!1;return p.on("data",a),r(t,"error",u),t.once("close",c),t.once("finish",f),t.emit("pipe",p),h.flowing||(D("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(15),p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],h=new Array(64);f(r,l),r.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,f=0|this._c,l=0|this._d,h=0|this._e,d=0|this._f,v=0|this._g,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 w=m+a(h)+o(h,d,v)+p[y]+e[y]|0,_=s(n)+i(n,r,f)|0;m=v,v=d,d=h,h=l+w|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=h+this._e|0,this._f=d+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,d.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 h=n(1),d=n(15),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);h(r,d),r.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,h=0|this._ch,d=0|this._dh,m=0|this._eh,g=0|this._fh,y=0|this._gh,w=0|this._hh,_=0|this._al,b=0|this._bl,E=0|this._cl,x=0|this._dl,C=0|this._el,S=0|this._fl,A=0|this._gl,k=0|this._hl,O=0;O<32;O+=2)e[O]=t.readInt32BE(4*O),e[O+1]=t.readInt32BE(4*O+4);for(;O<160;O+=2){var P=e[O-30],T=e[O-30+1],R=u(P,T),j=c(T,P);P=e[O-4],T=e[O-4+1];var M=f(P,T),L=l(T,P),I=e[O-14],B=e[O-14+1],$=e[O-32],D=e[O-32+1],U=j+B|0,N=R+I+p(U,j)|0;U=U+L|0,N=N+M+p(U,L)|0,U=U+D|0,N=N+$+p(U,D)|0,e[O]=N,e[O+1]=U}for(var q=0;q<160;q+=2){N=e[q],U=e[q+1];var F=i(n,r,h),z=i(_,b,E),H=s(n,_),W=s(_,n),V=a(m,C),Y=a(C,m),G=v[q],K=v[q+1],Z=o(m,g,y),J=o(C,S,A),X=k+Y|0,Q=w+V+p(X,k)|0;X=X+J|0,Q=Q+Z+p(X,J)|0,X=X+K|0,Q=Q+G+p(X,K)|0,X=X+U|0,Q=Q+N+p(X,U)|0;var tt=W+z|0,et=H+F+p(tt,W)|0;w=y,k=A,y=g,A=S,g=m,S=C,C=x+X|0,m=d+Q+p(C,x)|0,d=h,x=E,h=r,E=b,r=n,b=_,_=X+tt|0,n=Q+et+p(_,X)|0}this._al=this._al+_|0,this._bl=this._bl+b|0,this._cl=this._cl+E|0,this._dl=this._dl+x|0,this._el=this._el+C|0,this._fl=this._fl+S|0,this._gl=this._gl+A|0,this._hl=this._hl+k|0,this._ah=this._ah+n+p(this._al,_)|0,this._bh=this._bh+r+p(this._bl,b)|0,this._ch=this._ch+h+p(this._cl,E)|0,this._dh=this._dh+d+p(this._dl,x)|0,this._eh=this._eh+m+p(this._el,C)|0,this._fh=this._fh+g+p(this._fl,S)|0,this._gh=this._gh+y+p(this._gl,A)|0,this._hh=this._hh+w+p(this._hl,k)|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(199),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){var r=n(2)(n(105),n(217),null,null);t.exports=r.exports},function(t,e,n){n(233);var r=n(2)(n(107),n(221),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(23),i=r(o),s=n(230),a=r(s),u=n(211),c=r(u),f=n(212),l=r(f),p=n(213),h=r(p),d=n(214),v=r(d),m=n(215),g=r(m),y=n(216),w=r(y);i.default.use(a.default);var _=[{path:"/",name:"home",component:h.default},{path:"/login",name:"login",component:l.default},{path:"/passwords/",name:"passwords",component:w.default},{path:"/options/default/",name:"configureOptions",component:c.default},{path:"/passwords/:id",name:"password",component:h.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:_});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(23),s=o(i),a=n(7),u=o(a),c=n(116),f=r(c),l=n(117),p=r(l),h=n(118),d=o(h),v=n(238),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:d.default,plugins:[(0,m.default)({key:"lesspass"})]})},function(t,e,n){var r=n(2)(n(102),n(229),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(3),i=n(53),s=n(87),a=n(31),u=r(a);u.Axios=s,u.create=function(t){return r(o.merge(a,t))},u.Cancel=n(50),u.CancelToken=n(86),u.isCancel=n(51),u.all=function(t){return Promise.all(t)},u.spread=n(101),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(50);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(31),i=n(3),s=n(88),a=n(89),u=n(97),c=n(95);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(3);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){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(3),i=n(92),s=n(51),a=n(31);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(52);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(3);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(3);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(3);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(3);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(3);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(3);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(178);var o=n(209),i=r(o),s=n(7);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(42),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(184),i=r(o),s=n(208),a=r(s);e.default={components:{Fingerprint:a.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,i.default)(function(t){this.fingerprint=t},500),togglePasswordType:function(t){"password"===t.type?t.type="text":t.type="password"},triggerEnterMethod:function(){"undefined"!=typeof this.keyupEnter&&this.password&&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(7),i=n(57),s=r(i),a=n(54);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.length=1===t?12:16,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(7),i=n(78),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(17),i=r(o),s=n(42),a=r(s),u=n(24),c=r(u),f=n(7),l=n(77),p=r(l),h={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)({},h),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)({},h)},signIn:function(){var t=this;if(this.formIsValid()){var e=this.baseURL;c.default.login({email:this.email,password:this.password},{baseURL:e}).then(function(n){t.$store.dispatch("login",{token:n.token,baseURL:e}),t.$router.push({name:"home"})}).catch(function(n){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(120),s=r(i),a=n(42),u=r(a),c=n(7),f=n(57),l=r(f),p=n(115),h=n(210),d=r(h),v=n(77),m=r(v),g=n(78),y=r(g),w=n(54),_=n(84),b=r(_);e.default={name:"password-generator-view",components:{RemoveAutoComplete:d.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,w.showTooltip)(e.trigger,"copied !"),setTimeout(function(){t.cleanFormInSeconds(10)},2e3))})},mounted:function(){this.selectBestField()},data:function(){return{masterPassword:"",fingerprint:"",generatedPassword:"",cleanTimeout:null,showOptions:!1,showError:!1,generatingPassword:!1}},watch:{passwords:function(t){var e=this.$refs.site,n=this;null!==e&&t.length>0&&new b.default(e,{list:t.map(function(t){return{label:t.site+" "+t.login,value:t}}),replace:function(t){n.$store.dispatch("savePassword",{password:t.value}),this.input.value=t.value.site,n.selectBestField()}})},"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})},selectBestField:function(){this.$refs.site.focus(),this.password.site&&(this.password.login?this.$refs.masterPassword.$refs.password.focus():this.$refs.login.focus())}}}},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(17),i=r(o),s=n(24),a=r(s),u=n(7);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(17),i=r(o),s=n(24),a=r(s),u=n(7);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(17),s=r(i),a=n(207),u=r(a),c=n(7);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(17),i=r(o),s=n(48),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);return e&&e[1]}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(121),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.savePassword=e.passwordGenerated=e.saveDefaultPassword=e.loadPasswordForSite=e.refreshToken=e.loadPasswordFirstTime=void 0;var i=n(114),s=o(i),a=n(24),u=o(a),c=n(55),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.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(122),u=o(a),c=n(56),f=o(c),l=n(23),p=n(55),h=r(p);e.default=(s={},(0,u.default)(s,h.LOGIN,function(t){t.authenticated=!0}),(0,u.default)(s,h.SET_TOKEN,function(t,e){var n=e.token;t.token=n}),(0,u.default)(s,h.LOGOUT,function(t){t.authenticated=!1,t.token=null,t.passwords=[],i(t,"password",t.defaultPassword)}),(0,u.default)(s,h.SET_PASSWORD,function(t,e){var n=e.password;i(t,"password",n)}),(0,u.default)(s,h.PASSWORD_GENERATED,function(t){t.lastUse=(new Date).getTime()}),(0,u.default)(s,h.SET_DEFAULT_PASSWORD,function(t,e){var n=e.password;i(t,"defaultPassword",n)}),(0,u.default)(s,h.SET_PASSWORDS,function(t,e){var n=e.passwords;t.passwords=n}),(0,u.default)(s,h.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,h.SET_BASE_URL,function(t,e){var n=e.baseURL;t.baseURL=n}),(0,u.default)(s,h.SET_VERSION,function(t,e){var n=e.version,r=1===n?12:16;t.password.version=n,t.password.length=r}),(0,u.default)(s,h.LOAD_PASSWORD_FIRST_TIME,function(t){var e=(new Date).getTime()-6e4;e>t.lastUse&&i(t,"password",t.defaultPassword)}),(0,u.default)(s,h.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+/",h=0,d=p.length;h0?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=z;for(r=0;r=u?1:0,s[r]=n-a*u;for(;r0&&s.push(a),s}function p(t,e){return t.length>=e.length?l(t,e):l(e,t)}function h(t,e){var n,r,o=t.length,i=new Array(o),s=z;for(r=0;r0;)i[r++]=e%s,e=Math.floor(e/s);return i}function d(t,e){var n,r,o=t.length,i=e.length,s=new Array(o),a=0,c=z;for(n=0;n=0?i=d(t,e):(i=d(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=z;for(i=0;i0;)i[r++]=a%s,a=Math.floor(a/s);return i}function w(t,e){for(var n=[];e-- >0;)n.push(0);return n.concat(t)}function _(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=_(o,s),c=_(r,i),f=_(p(o,r),p(s,i)),l=p(p(a,w(d(d(f,a),c),n)),w(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=h-1,g[r+p]!==v&&(n=Math.floor((g[r+p]*h+g[r+p-1])/v)),o=0,i=0,u=w.length,s=0;sc&&(o=(o+1)*p),n=Math.ceil(o/i);do{if(s=y(e,n),O(s,l)<=0)break;n--}while(n);f.push(n),l=d(l,s)}return f.reverse(),[a(f),a(l)]}function A(t,e){var n,r,o,i,s=t.length,a=c(s),u=z;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 k(t,e){var i,u,c=F(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 h=Math.abs(p);if(he.length?1:-1;for(var n=t.length-1;n>=0;n--)if(t[n]!==e[n])return t[n]>e[n]?1:-1;return 0}function P(t){var e=t.abs();return!e.isUnit()&&(!!(e.equals(2)||e.equals(3)||e.equals(5))||!(e.isEven()||e.isDivisibleBy(3)||e.isDivisibleBy(5))&&(!!e.lesser(25)||void 0))}function T(t){return("number"==typeof t||"string"==typeof t)&&+Math.abs(t)<=z||t instanceof r&&t.value.length<=1}function R(t,n,r){n=F(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=[],h=0;h=0;p--){var h=l?s.value[p]:z,d=f(Math.random()*h);c.unshift(d),d"}function U(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(D(a))}return i.push(D(s)),r+i.reverse().join("")}function N(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 h=[],d=t.length,v=H,m=d-v;d>0;)h.push(+t.slice(m,d)),m-=v,m<0&&(m=0),d-=v;return u(h),new r(h,n)}function q(t){if(i(t)){if(t!==f(t))throw new Error(t+" is not an integer.");return new o(t)}return N(t.toString())}function F(t){return"number"==typeof t?q(t):"string"==typeof t?N(t):t}var z=1e7,H=7,W=9007199254740992,V=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=F(t);if(this.sign!==e.sign)return this.subtract(e.negate());var n=this.value,o=e.value;return e.isSmall?new r(h(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=F(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(h(a,Math.abs(n)),n<0)},o.prototype.plus=o.prototype.add,r.prototype.subtract=function(t){var e=F(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=F(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=F(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=F(t),n=this.value,r=e.value;return this.sign!==e.sign?e.sign?1:-1:e.isSmall?this.sign?-1:1:O(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=F(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=F(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(V,!0)};for(var G=[1];G[G.length-1]<=z;)G.push(2*G[G.length-1]);var K=G.length,Z=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(Z),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=k(n,Z),n=e[1].isNegative()?e[0].prev():e[0],t-=K-1}return e=k(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 J=1<<30,X=(z&-z)*(z&-z)|J,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=F(e);var a,u=[],c="-"===t[0];for(a=c?1:0;a"!==t[a]);u.push(F(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?U(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=I,n.lcm=B,n.isInstance=function(t){return t instanceof r||t instanceof o},n.randBetween=$,n}();"undefined"!=typeof t&&t.hasOwnProperty("exports")&&(t.exports=e)}).call(e,n(79)(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(22).Transform,i=n(1),s=n(47).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(198)],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.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(160),t.exports=n(6).Object.assign},function(t,e,n){n(161);var r=n(6).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){n(162),t.exports=n(6).Object.keys},function(t,e,n){n(163),n(165),n(166),n(164),t.exports=n(6).Promise},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(40),o=n(67),i=n(156);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(26),o=n(138),i=n(137),s=n(11),a=n(67),u=n(158),c={},f={},e=t.exports=function(t,e,n,l,p){var h,d,v,m,g=p?function(){return t}:u(t),y=r(n,l,e?2:1),w=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(h=a(t.length);h>w;w++)if(m=e?y(s(d=t[w])[0],d[1]):y(t[w]),m===c||m===f)return m}else for(v=g.call(t);!(d=v.next()).done;)if(m=o(v,y,d.value,e),m===c||m===f)return m};e.BREAK=c,e.RETURN=f},function(t,e,n){t.exports=!n(12)&&!n(27)(function(){return 7!=Object.defineProperty(n(35)("div"),"a",{get:function(){return 7}}).a})},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(19),o=n(4)("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(11);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(144),o=n(64),i=n(37),s={};n(13)(s,n(4)("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(4)("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(5),o=n(66).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,u="process"==n(25)(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(36),o=n(146),i=n(149),s=n(41),a=n(61),u=Object.assign;t.exports=!u||n(27)(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,h=a(arguments[c++]),d=f?r(h).concat(f(h)):r(h),v=d.length,m=0;v>m;)l.call(h,p=d[m++])&&(n[p]=h[p]);return n}:u},function(t,e,n){var r=n(11),o=n(145),i=n(59),s=n(38)("IE_PROTO"),a=function(){},u="prototype",c=function(){var t,e=n(35)("iframe"),r=i.length,o="<",s=">";for(e.style.display="none",n(60).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(20),o=n(11),i=n(36);t.exports=n(12)?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){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(28),o=n(41),i=n(38)("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(28),o=n(40),i=n(133)(!1),s=n(38)("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){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(18),o=n(6),i=n(27);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(13);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){t.exports=n(13)},function(t,e,n){"use strict";var r=n(5),o=n(6),i=n(20),s=n(12),a=n(4)("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(11),o=n(33),i=n(4)("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(39),o=n(34);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(39),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(29);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(58),o=n(4)("iterator"),i=n(19);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(131),o=n(141),i=n(19),s=n(40);t.exports=n(62)(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(18);r(r.S+r.F,"Object",{assign:n(143)})},function(t,e,n){var r=n(18);r(r.S+r.F*!n(12),"Object",{defineProperty:n(20).f})},function(t,e,n){var r=n(41),o=n(36);n(150)("keys",function(){return function(t){return o(r(t))}})},function(t,e){},function(t,e,n){"use strict";var r,o,i,s=n(63),a=n(5),u=n(26),c=n(58),f=n(18),l=n(29),p=n(33),h=n(132),d=n(134),v=n(154),m=n(66).set,g=n(142)(),y="Promise",w=a.TypeError,_=a.process,b=a[y],_=a.process,E="process"==c(_),x=function(){},C=!!function(){try{var t=b.resolve(1),e=(t.constructor={})[n(4)("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},A=function(t){var e;return!(!l(t)||"function"!=typeof(e=t.then))&&e},k=function(t){return S(b,t)?new O(t):new o(t)},O=o=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw w("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(w("Promise-chain cycle")):(i=A(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?_.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?_.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))},I=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw w("Promise can't be resolved itself");(e=A(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,u(I,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)}}};C||(b=function(t){h(this,b,y,"_h"),p(t),r.call(this);try{t(u(I,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(151)(b.prototype,{then:function(t,e){var n=k(v(this,b));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=E?_.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)}}),O=function(){var t=new r;this.promise=t,this.resolve=u(I,t,1),this.reject=u(L,t,1)}),f(f.G+f.W+f.F*!C,{Promise:b}),n(37)(b,y),n(153)(y),i=n(6)[y],f(f.S+f.F*!C,y,{reject:function(t){var e=k(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(s||!C),y,{resolve:function(t){if(t instanceof b&&S(t.constructor,this))return t;var e=k(this),n=e.resolve;return n(t),e.promise}}),f(f.S+f.F*!(C&&n(140)(function(t){b.all(t).catch(x)})),y,{all:function(t){var e=this,n=k(e),r=n.resolve,o=n.reject,i=P(function(){var n=[],i=0,s=1;d(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=k(e),r=n.reject,o=P(function(){d(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(155)(!0);n(62)(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(159);for(var r=n(5),o=n(13),i=n(19),s=n(4)("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){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(169),a=n(197),u=n(200),c=n(125);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(168);t.exports=function(t){return l.hash(t,r,16)}},function(t,e,n){e=t.exports=n(14)(),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(14)(),e.push([t.i,".fa-none{display:none}#passwordsList{min-height:320px}",""])},function(t,e,n){e=t.exports=n(14)(),e.push([t.i,"#options input[type=number]{-moz-appearance:textfield}#options input[type=number]::-webkit-inner-spin-button,#options input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}",""])},function(t,e,n){e=t.exports=n(14)(),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(14)(),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(14)(),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(176);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(179),u=n(177);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,h=t[e+l];for(l+=p,i=h&(1<<-f)-1,h>>=-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:(h?-1:1)*(1/0);s+=Math.pow(2,r),i-=c}return(h?-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,h=r?0:i-1,d=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=f):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),e+=s+l>=1?p/u:p*Math.pow(2,1-l),e*u>=2&&(s++,u/=2),s+l>=f?(a=0,s=f):s+l>=1?(a=(e*u-1)*Math.pow(2,o),s+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,o),s=0));o>=8;t[n+h]=255&a,h+=d,a/=256,o-=8);for(s=s<0;t[n+h]=255&s,h+=d,s/=256,c-=8);t[n+h-d]|=128*v}},function(t,e,n){(function(e){function r(t,e,n){var r=void 0!==n?n:{},o=r.iterations||8192,i=r.keylen||32;return h(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(d("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,C=e,y=t.apply(r,n)}function i(t){return C=t,w=setTimeout(f,e),S?o(t):y}function u(t){var n=t-x,r=t-C,o=e-n;return A?b(o,g-r):o}function c(t){var n=t-x,r=t-C;return void 0===x||n>=e||n<0||A&&r>=g}function f(){var t=E();return c(t)?l(t):void(w=setTimeout(f,u(t)))}function l(t){return w=void 0,k&&v?o(t):(v=m=void 0,y)}function p(){void 0!==w&&clearTimeout(w),C=0,v=x=m=w=void 0}function h(){return void 0===w?y:l(E())}function d(){var t=E(),n=c(t);if(v=arguments,m=this,x=t,n){if(void 0===w)return i(x);if(A)return w=setTimeout(f,e),o(x)}return void 0===w&&(w=setTimeout(f,e)),y}var v,m,g,y,w,x,C=0,S=!1,A=!1,k=!0;if("function"!=typeof t)throw new TypeError(a); +return e=s(e)||0,r(n)&&(S=!!n.leading,A="maxWait"in n,g=A?_(s(n.maxWait)||0,e):g,k="trailing"in n?!!n.trailing:k),d.cancel=p,d.flush=h,d}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)&&w.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||h.test(t)?d(t.slice(2),n?2:8):l.test(t)?u:+t}var a="Expected a function",u=NaN,c="[object Symbol]",f=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,h=/^0o[0-7]+$/i,d=parseInt,v="object"==typeof e&&e&&e.Object===Object&&e,m="object"==typeof self&&self&&self.Object===Object&&self,g=v||m||Function("return this")(),y=Object.prototype,w=y.toString,_=Math.max,b=Math.min,E=function(){return g.Date.now()};t.exports=n}).call(e,n(8))},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 k(t,e){var n=this.__data__,r=z(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function O(t){var e=-1,n=t?t.length:0;for(this.clear();++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<=zt}function Mt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Lt(t){return!!t&&"object"==typeof t}function It(t){if(!Lt(t)||Ne.call(t)!=Qt||p(t))return!1;var e=We(t);if(null===e)return!0;var n=De.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&$e.call(n)==Ue}function Bt(t){return lt(t,Dt(t))}function $t(t){return Pt(t)?N(t):J(t)}function Dt(t){return Pt(t)?N(t,!0):X(t)}function Ut(){return[]}function Nt(){return!1}var qt=200,Ft="__lodash_hash_undefined__",zt=9007199254740991,Ht="[object Arguments]",Wt="[object Array]",Vt="[object Boolean]",Yt="[object Date]",Gt="[object Error]",Kt="[object Function]",Zt="[object GeneratorFunction]",Jt="[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]",he="[object Uint8Array]",de="[object Uint8ClampedArray]",ve="[object Uint16Array]",me="[object Uint32Array]",ge=/[\\^$.*+?()[\]{}|]/g,ye=/\w*$/,we=/^\[object .+?Constructor\]$/,_e=/^(?:0|[1-9]\d*)$/,be={};be[ue]=be[ce]=be[fe]=be[le]=be[pe]=be[he]=be[de]=be[ve]=be[me]=!0,be[Ht]=be[Wt]=be[se]=be[Vt]=be[ae]=be[Yt]=be[Gt]=be[Kt]=be[Jt]=be[Xt]=be[Qt]=be[ee]=be[ne]=be[re]=be[ie]=!1;var Ee={};Ee[Ht]=Ee[Wt]=Ee[se]=Ee[ae]=Ee[Vt]=Ee[Yt]=Ee[ue]=Ee[ce]=Ee[fe]=Ee[le]=Ee[pe]=Ee[Jt]=Ee[Xt]=Ee[Qt]=Ee[ee]=Ee[ne]=Ee[re]=Ee[oe]=Ee[he]=Ee[de]=Ee[ve]=Ee[me]=!0,Ee[Gt]=Ee[Kt]=Ee[ie]=!1;var xe="object"==typeof t&&t&&t.Object===Object&&t,Ce="object"==typeof self&&self&&self.Object===Object&&self,Se=xe||Ce||Function("return this")(),Ae="object"==typeof e&&e&&!e.nodeType&&e,ke=Ae&&"object"==typeof n&&n&&!n.nodeType&&n,Oe=ke&&ke.exports===Ae,Pe=Oe&&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,Ie=Se["__core-js_shared__"],Be=function(){var t=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),$e=Me.toString,De=Le.hasOwnProperty,Ue=$e.call(Object),Ne=Le.toString,qe=RegExp("^"+$e.call(De).replace(ge,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fe=Oe?Se.Buffer:void 0,ze=Se.Symbol,He=Se.Uint8Array,We=d(Object.getPrototypeOf,Object),Ve=Object.create,Ye=Le.propertyIsEnumerable,Ge=je.splice,Ke=Object.getOwnPropertySymbols,Ze=Fe?Fe.isBuffer:void 0,Je=d(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=At(Qe),an=At(tn),un=At(en),cn=At(nn),fn=At(rn),ln=ze?ze.prototype:void 0,pn=ln?ln.valueOf:void 0;m.prototype.clear=g,m.prototype.delete=y,m.prototype.get=w,m.prototype.has=_,m.prototype.set=b,E.prototype.clear=x,E.prototype.delete=C,E.prototype.get=S,E.prototype.has=A,E.prototype.set=k,O.prototype.clear=P,O.prototype.delete=T,O.prototype.get=R,O.prototype.has=j,O.prototype.set=M,L.prototype.clear=I,L.prototype.delete=B,L.prototype.get=$,L.prototype.has=D,L.prototype.set=U;var hn=Ke?d(Ke,Object):Ut,dn=G;(Qe&&dn(new Qe(new ArrayBuffer(1)))!=ae||tn&&dn(new tn)!=Jt||en&&dn(en.resolve())!=te||nn&&dn(new nn)!=ne||rn&&dn(new rn)!=ie)&&(dn=function(t){var e=Ne.call(t),n=e==Qt?t.constructor:void 0,r=n?At(n):void 0;if(r)switch(r){case sn:return ae;case an:return Jt;case un:return te;case cn:return ne;case fn:return ie}return e});var vn=Array.isArray,mn=Ze||Nt,gn=Re?f(Re):Z,yn=ht(function(t,e,n){Q(t,e,n)});n.exports=yn}).call(e,n(8),n(79)(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.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;t.exports=o()?Object.assign:function(t,e){for(var n,o,u=r(t),c=1;c=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 h,d,v=1;v<=f;v++){p.writeUInt32BE(v,e.length);var m=o(u,t).update(p).digest();c||(c=m.length,d=new r(c),f=Math.ceil(a/c),h=a-(f-1)*c),m.copy(d,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(72)},function(t,e,n){(function(r){var o=function(){try{return n(22)}catch(t){}}();e=t.exports=n(73),e.Stream=o||e,e.Readable=e,e.Writable=n(46),e.Duplex=n(10),e.Transform=n(45),e.PassThrough=n(72),!r.browser&&"disable"===r.env.READABLE_STREAM&&o&&(t.exports=o)}).call(e,n(9))},function(t,e,n){t.exports=n(45)},function(t,e,n){t.exports=n(46)},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,C,S,A,k;x=y=t[0],C=w=t[1],S=_=t[2],A=b=t[3],k=E=t[4];var O;for(r=0;r<80;r+=1)O=y+e[n+p[r]]|0,O+=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],O|=0,O=f(O,d[r]),O=O+E|0,y=E,E=b,b=f(_,10),_=w,w=O,O=x+e[n+h[r]]|0,O+=r<16?c(C,S,A)+g[0]:r<32?u(C,S,A)+g[1]:r<48?a(C,S,A)+g[2]:r<64?s(C,S,A)+g[3]:i(C,S,A)+g[4],O|=0,O=f(O,v[r]),O=O+k|0,x=k,k=A,A=f(S,10),S=C,C=O;O=t[1]+_+A|0,t[1]=t[2]+b+k|0,t[2]=t[3]+E+x|0,t[3]=t[4]+y+C|0,t[4]=t[0]+w+S|0,t[0]=O}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],h=[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],d=[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){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(t),r.removeAllRanges(),r.addRange(o),e=r.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(15),c=[1518500249,1859775393,-1894007588,-899497514],f=new Array(80);a(r,u),r.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,a=0|this._c,u=0|this._d,f=0|this._e,l=0;l<16;++l)e[l]=t.readInt32BE(4*l);for(;l<80;++l)e[l]=e[l-3]^e[l-8]^e[l-14]^e[l-16];for(var p=0;p<80;++p){var h=~~(p/20),d=o(n)+s(h,r,a,u)+f+e[p]+c[h]|0;f=u,u=a,a=i(r),r=n,n=d}this._a=n+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=u+this._d|0,this._e=f+this._e|0},r.prototype._hash=function(){var t=new e(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=r}).call(e,n(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(15),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 h=0;h<80;++h){var d=~~(h/20),v=i(n)+a(d,r,u,c)+l+e[h]+f[d]|0;l=c,c=u,u=s(r),r=n,n=v}this._a=n+this._a|0,this._b=r+this._b|0,this._c=u+this._c|0,this._d=c+this._d|0,this._e=l+this._e|0},r.prototype._hash=function(){var t=new e(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=r}).call(e,n(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(74),s=n(15),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(75),s=n(15),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;return t._self._c||e,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":"420px"},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 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,e){if(void 0===e&&(e={}),t){var n;try{n=s(t)}catch(t){n={}}for(var r in e)n[r]=e[r];return n}return e}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 h(t,e){return 0===t.path.replace(Mt,"/").indexOf(e.path.replace(Mt,"/"))&&(!e.hash||t.hash===e.hash)&&d(t.query,e.query)}function d(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 _(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,e,n,r,o){var i=n.path,s=n.name,a={path:x(i,r),components:n.components||{default:n.component},instances:{},name:s,parent:r,matchAs:o,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:null==n.props?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach(function(n){var r=o?_(o+"/"+n.path):void 0;E(t,e,n,a,r)}),void 0!==n.alias)if(Array.isArray(n.alias))n.alias.forEach(function(o){var i={path:o,children:n.children};E(t,e,i,r,a.path)});else{var u={path:n.alias,children:n.children};E(t,e,u,r,a.path)}t[a.path]||(t[a.path]=a),s&&(e[s]||(e[s]=a))}function x(t,e){return t=t.replace(/\/$/,""),"/"===t[0]?t:null==e?t:_(e.path+"/"+t)}function C(t,e){for(var n,r=[],o=0,i=0,s="",a=e&&e.delimiter||"/";null!=(n=Vt.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],h=n[3],d=n[4],v=n[5],m=n[6],g=n[7];s&&(r.push(s),s="");var y=null!=p&&null!=l&&l!==p,w="+"===m||"*"===m,_="?"===m||"*"===m,b=n[2]||a,E=d||v;r.push({name:h||o++,prefix:p||"",delimiter:b,optional:_,repeat:w,partial:y,asterisk:!!g,pattern:E?T(E):g?".*":"[^"+P(b)+"]+?"})}}return i-1&&(r.params[u]=e.params[u]);if(i)return r.path=U(i.path,r.params,'named route "'+o+'"'),s(i,r,n)}else if(r.path){r.params={};for(var l in c)if(z(l,r.params,r.path))return s(c[l],r,n)}return s(null,r)}function o(t,e){var o=t.redirect,i="function"==typeof o?o(u(t,e)):o;if("string"==typeof i&&(i={path:i}),!i||"object"!=typeof i)return s(null,e);var a=i,c=a.name,l=a.path,p=e.query,h=e.hash,d=e.params;if(p=a.hasOwnProperty("query")?a.query:p,h=a.hasOwnProperty("hash")?a.hash:h,d=a.hasOwnProperty("params")?a.params:d,c)return f[c],n({_normalized:!0,name:c,query:p,hash:h,params:d},void 0,e);if(l){var v=H(l,t),m=U(v,d,'redirect route with path "'+v+'"');return n({_normalized:!0,path:m,query:p,hash:h},void 0,e)}return r(!1,"invalid redirect option: "+JSON.stringify(i)),s(null,e)}function i(t,e,r){var o=U(r,e.params,'aliased route with path "'+r+'"'),i=n({_normalized:!0,path:o});if(i){var a=i.matched,u=a[a.length-1];return e.params=i.params,s(u,e)}return s(null,e)}function s(t,e,n){return t&&t.redirect?o(t,n||e):t&&t.matchAs?i(t,e,t.matchAs):u(t,e,n)}var a=b(t),c=a.pathMap,f=a.nameMap;return{match:n,addRoutes:e}}function z(t,e,n){var r=D(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(Dt){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?_(t+"/"+r):r}var At,kt={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 h=c[a]=p.components[a],d=s.hook||(s.hook={});return d.init=function(t){p.instances[a]=t.child},d.prepatch=function(t,e){p.instances[a]=e.child},d.destroy=function(t){p.instances[a]===t.child&&(p.instances[a]=void 0)},s.props=o(u,p.props&&p.props[a]),t(h,s,r)}},Ot=/[!'()*]/g,Pt=function(t){return"%"+t.charCodeAt(0).toString(16)},Tt=/%2C/g,Rt=function(t){return encodeURIComponent(t).replace(Ot,Pt).replace(Tt,",")},jt=decodeURIComponent,Mt=/\/?$/,Lt=u(null,{path:"/"}),It=[String,Object],Bt=[String,Array],$t={name:"router-link",props:{to:{type:It,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,event:{type:Bt,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):h(r,p);var d=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]=d}):g[this.event]=d;var y={class:c};if("a"===this.tag)y.on=g,y.attrs={href:a};else{var w=m(this.$slots.default);if(w){w.isStatic=!1;var _=At.util.extend,b=w.data=_({},w.data);b.on=g;var E=w.data.attrs=_({},w.data.attrs);E.href=a}else y.on=g}return t(this.tag,y,this.$slots.default)}},Dt="undefined"!=typeof window,Ut=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Nt=Ut,qt=$,Ft=C,zt=S,Ht=O,Wt=B,Vt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");qt.parse=Ft,qt.compile=zt,qt.tokensToFunction=Ht,qt.tokensToRegExp=Wt;var Yt=Object.create(null),Gt=Object.create(null),Kt=Object.create(null),Zt=Dt&&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}(),Jt=Dt&&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(wt(r.base),function(t){o&&V(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(_(r.base+t.fullPath)),V(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(_(r.base+t.fullPath)),V(r.router,t,r.current,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(wt(this.base)!==this.current.fullPath){var e=_(this.base+this.current.fullPath);t?nt(e):rt(e)}},e.prototype.getCurrentLocation=function(){return wt(this.base)},e}(Qt),ee=function(t){function e(e,n,r){t.call(this,e,n),r&&_t(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){Ct(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){Ct(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):Ct(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=F(t.routes||[]);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Zt,this.fallback&&(e="hash"),Dt||(e="abstract"),this.mode=e,e){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)}},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 e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof te)n.transitionTo(n.getCurrentLocation());else if(n instanceof ee){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.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=N(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.1",Dt&&window.Vue&&window.Vue.use(re),t.exports=re},function(t,e,n){var r=n(170);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(16)("0c6daa32",r,!0)},function(t,e,n){var r=n(171);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(16)("259f0750",r,!0)},function(t,e,n){var r=n(172);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(16)("257166c0",r,!0)},function(t,e,n){var r=n(173);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(16)("4809fe4b",r,!0)},function(t,e,n){var r=n(174);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(16)("4c8418e0",r,!0)},function(t,e,n){var r=n(175);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(16)("42c88c1d",r,!0)},function(t,e){t.exports=function(t,e){for(var n=[],r={},o=0;o