From 00739fcfcd07616ff31742ca03dd2e2f2e1acdff Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Fri, 13 Jan 2017 15:34:21 +0100 Subject: [PATCH] add lesspass-pure@4.3.1 --- extension/dist/lesspass.min.js | 20 ++++++++++---------- package.json | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/extension/dist/lesspass.min.js b/extension/dist/lesspass.min.js index 4174e3d..07649cf 100644 --- a/extension/dist/lesspass.min.js +++ b/extension/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=232)}([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 z(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 z(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 T(this,e,n);case"ascii":return P(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 N(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 R(r)}function R(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 D(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 B(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 I(t,e,n,r){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);o>>8*(r?o:3-o)&255}function $(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function U(t,e,n,r,o){return o||$(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(t,e,n,r,23,4),n+4}function q(t,e,n,r,o){return o||$(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(t,e,n,r,52,8),n+8}function F(t){if(t=V(t).replace(et,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function V(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function H(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t,e){e=e||1/0;for(var n,r=t.length,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 Y(t){for(var e=[],n=0;n>8,o=n%256,i.push(o),i.push(r);return i}function G(t){return Z.toByteArray(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 J(t){return t!==t}var Z=n(119),X=n(175),Q=n(72);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 k(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(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||L(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return e||L(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return e||L(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return e||L(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||L(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||L(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||L(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||L(t,1,this.length),128&this[t]?(255-this[t]+1)*-1:this[t]},s.prototype.readInt16LE=function(t,e){e||L(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||L(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||L(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||L(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||L(t,4,this.length),X.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return e||L(t,4,this.length),X.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return e||L(t,8,this.length),X.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return e||L(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;D(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||D(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||D(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||D(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):I(this,t,e,!0),e+4},s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||D(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):I(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);D(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);D(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||D(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||D(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||D(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):I(this,t,e,!0),e+4},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||D(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):I(this,t,e,!1),e+4},s.prototype.writeFloatLE=function(t,e,n){return U(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return U(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return 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;i1)for(var n=1;n=2){var r=t.config._lifecycleHooks.indexOf("init")>-1;t.mixin(r?{init:e}:{beforeCreate:e})}else{var o=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,o.call(this,t)}}}function n(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function r(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function o(t,e){console.error("[vuex] module namespace not found in "+t+"(): "+e)}function i(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function s(t){return null!==t&&"object"==typeof t}function a(t){return t&&"function"==typeof t.then}function u(t,e){if(!t)throw new Error("[vuex] "+e)}function c(t,e){if(t.update(e),e.modules)for(var n in e.modules){if(!t.getChild(n))return void console.warn("[vuex] trying to add a new module '"+n+"' on hot reloading, manual reload is needed");c(t.getChild(n),e.modules[n])}}function f(t){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var e=t.state;p(t,e,[],t._modules.root,!0),l(t,e)}function l(t,e){var n=t._vm;t.getters={};var r=t._wrappedGetters,o={};i(r,function(e,n){o[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var s=R.config.silent;R.config.silent=!0,t._vm=new R({data:{state:e},computed:o}),R.config.silent=s,t.strict&&y(t),n&&(t._withCommit(function(){n.state=null}),R.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(){R.set(a,u,r.state)})}var c=r.context=d(t,s);r.forEachMutation(function(e,r){var o=s+r;v(t,o,e,n)}),r.forEachAction(function(e,r){var o=s+r;m(t,o,e,c,n)}),r.forEachGetter(function(e,r){var o=s+r;g(t,o,e,c,n)}),r.forEachChild(function(r,i){p(t,e,n.concat(i),r,o)})}function d(t,e){var n=""===e,r={dispatch:n?t.dispatch:function(n,r,o){var i=_(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 h(t,e)}}),r}function h(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}}),n}function v(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(e){n(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 R?void console.error("[vuex] already installed. Vue.use(Vuex) should be called only once."):(R=t,void e(R))}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}),k=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}),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(){return o in this.$store.getters||console.error("[vuex] unknown getter: "+o),this.$store.getters[o]}}),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(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return this.$store.dispatch.apply(this.$store,[o].concat(t))}}),r}),A=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t},O={state:{},namespaced:{}};O.state.get=function(){return this._rawModule.state||{}},O.namespaced.get=function(){return!!this._rawModule.namespaced},A.prototype.addChild=function(t,e){this._children[t]=e},A.prototype.removeChild=function(t){delete this._children[t]},A.prototype.getChild=function(t){return this._children[t]},A.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},A.prototype.forEachChild=function(t){i(this._children,t)},A.prototype.forEachGetter=function(t){this._rawModule.getters&&i(this._rawModule.getters,t)},A.prototype.forEachAction=function(t){this._rawModule.actions&&i(this._rawModule.actions,t)},A.prototype.forEachMutation=function(t){this._rawModule.mutations&&i(this._rawModule.mutations,t)},Object.defineProperties(A.prototype,O);var T=function(t){var e=this;this.root=new A(t,!1),t.modules&&i(t.modules,function(t,n){e.register([n],t,!1)})};T.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},T.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},T.prototype.update=function(t){c(this.root,t)},T.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=this.get(t.slice(0,-1)),s=new A(e,n);o.addChild(t[t.length-1],s),e.modules&&i(e.modules,function(e,o){r.register(t.concat(o),e,n)})},T.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 R,P=function(e){var n=this;void 0===e&&(e={}),u(R,"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 T(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new R;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.")},P.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)},P.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)},P.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)}},P.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)},P.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm.state=t})},P.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)},P.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));R.delete(n,t[t.length-1])}),f(this)},P.prototype.hotUpdate=function(t){this._modules.update(t),f(this)},P.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(P.prototype,j),"undefined"!=typeof window&&window.Vue&&b(window.Vue);var M={Store:P,install:b,version:"2.1.1",mapState:x,mapMutations:k,mapGetters:C,mapActions:S};return M})},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e,n){"use strict";function r(t){return this instanceof r?(c.call(this,t),f.call(this,t),t&&t.readable===!1&&(this.readable=!1),t&&t.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,t&&t.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",o)):new r(t)}function o(){this.allowHalfOpen||this._writableState.ended||a(i,this)}function i(t){t.end()}var s=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=r;var a=n(45),u=n(22);u.inherits=n(1);var c=n(75),f=n(47);u.inherits(r,c);for(var l=s(f.prototype),p=0;p=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(e,this._blockSize-4);var n=this._update(this._block)||this._hash();return t?n.toString(t):n},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=n}).call(e,n(0).Buffer)},function(t,e){function n(t,e){for(var n=0;n=0&&m.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function a(t,e){var n,r,o;if(e.singleton){var a=v++;n=h||(h=s(e)),r=u.bind(null,n,a,!1),o=u.bind(null,n,a,!0)}else n=s(e),r=c.bind(null,n),o=function(){i(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}function u(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=g(e,o);else{var i=document.createTextNode(o),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}function c(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var f={},l=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},p=l(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),d=l(function(){return document.head||document.getElementsByTagName("head")[0]}),h=null,v=0,m=[];t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},"undefined"==typeof e.singleton&&(e.singleton=p()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var o=r(t);return n(o,e),function(t){for(var i=[],s=0;s0&&void 0!==arguments[0]?arguments[0]:window.localStorage;(0,l.default)(this,t),this.storage=e}return(0,d.default)(t,[{key:"_getLocalStorage",value:function(){return JSON.parse(this.storage.getItem(m)||"{}")}},{key:"json",value:function(){var t={baseURL:"https://lesspass.com",timeout:5e3},e=this._getLocalStorage();return(0,c.default)(t,e)}},{key:"save",value:function(t){var e=(0,c.default)(this._getLocalStorage(),t);this.storage.setItem(m,(0,a.default)(e))}},{key:"clear",value:function(){this.storage.clear()}},{key:"getToken",value:function(){var t=this.json();return g in t?new v.default(t[g]):new v.default}},{key:"saveToken",value:function(t){this.save((0,i.default)({},g,t))}}]),t}();e.default=y},function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},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=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return l.default.post("/api/tokens/auth/",t,e).then(function(t){return t.data.token})}},{key:"_requestNewToken",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l.default.post("/api/tokens/refresh/",t,e).then(function(t){return t.data.token})}}]),t}();e.default=p},function(t,e,n){t.exports={default:n(125),__esModule:!0}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(35);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(4),o=n(7),i=n(27),s=n(12),a="prototype",u=function(t,e,n){var c,f,l,p=t&u.F,d=t&u.G,h=t&u.S,v=t&u.P,m=t&u.B,g=t&u.W,y=d?o:o[e]||(o[e]={}),w=y[a],_=d?r:h?r[e]:(r[e]||{})[a];d&&(n=e);for(c in n)f=!p&&_&&void 0!==_[c],f&&c in y||(l=f?_[c]:n[c],y[c]=d&&"function"!=typeof _[c]?n[c]:m&&f?i(l,r):g&&_[c]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[a]=t[a],e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((y.virtual||(y.virtual={}))[c]=l,t&u.R&&w&&!w[c]&&s(w,c,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(t){return"function"==typeof t}function o(t){return"number"==typeof t}function i(t){return"object"==typeof t&&null!==t}function s(t){return void 0===t}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if(!o(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,n,o,a,u,c;if(this._events||(this._events={}),"error"===t&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if(e=arguments[1],e instanceof Error)throw e;var f=new Error('Uncaught, unspecified "error" event. ('+e+")");throw f.context=e,f}if(n=this._events[t],s(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),n.apply(this,a)}else if(i(n))for(a=Array.prototype.slice.call(arguments,1),c=n.slice(),o=c.length,u=0;u0&&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,n){function r(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function o(t){var e=parseFloat(t,10);return e||0===e?e:t}function i(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}function a(t,e){return Cn.call(t,e)}function u(t){return"string"==typeof t||"number"==typeof t}function c(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function f(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function l(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function p(t,e){for(var n in e)t[n]=e[n];return t}function d(t){return null!==t&&"object"==typeof t}function h(t){return Pn.call(t)===jn}function v(t){for(var e={},n=0;nLn._maxUpdateCount)){Kn("You may have an infinite update loop "+(t.user?'in watcher with expression "'+t.expression+'"':"in a component render function."),t.vm);break}}Yn&&Ln.devtools&&Yn.emit("flush"),W()}function K(t){var e=t.id;if(null==gr[e]){if(gr[e]=!0,_r){for(var n=mr.length-1;n>=0&&mr[n].id>t.id;)n--;mr.splice(Math.max(n,br)+1,0,t)}else mr.push(t);wr||(wr=!0,Wn(G))}}function J(t){Cr.clear(),Z(t,Cr)}function Z(t,e){var n,r,o=Array.isArray(t);if((o||d(t))&&Object.isExtensible(t)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(o)for(n=t.length;n--;)Z(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)Z(t[r[n]],e)}}function X(t){t._watchers=[];var e=t.$options;e.props&&Q(t,e.props),e.methods&&rt(t,e.methods),e.data?tt(t):O(t._data={},!0),e.computed&&et(t,e.computed),e.watch&&ot(t,e.watch)}function Q(t,n){var r=t.$options.propsData||{},o=t.$options._propKeys=Object.keys(n),i=!t.$parent;or.shouldConvert=i;for(var s=function(i){var s=o[i];"production"!==e.env.NODE_ENV?(Sr[s]&&Kn('"'+s+'" is a reserved attribute and cannot be used as component prop.',t),T(t,s,q(s,n,r,t),function(){t.$parent&&!or.isSettingProps&&Kn("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+s+'"',t)})):T(t,s,q(s,n,r,t))},a=0;a1?l(n):n;for(var r=l(arguments,1),o=0,i=n.length;o-1:t.test(e)}function te(t){var n={};n.get=function(){return Ln},"production"!==e.env.NODE_ENV&&(n.set=function(){Kn("Do not replace the Vue.config object, set individual fields instead.")}),Object.defineProperty(t,"config",n),t.util=cr,t.set=R,t.delete=P,t.nextTick=Wn,t.options=Object.create(null),Ln._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,p(t.options.components,Ir),Kt(t),Jt(t),Zt(t),Xt(t)}function ee(t){for(var e=t.data,n=t,r=t;r.child;)r=r.child._vnode,r.data&&(e=ne(r.data,e));for(;n=n.parent;)n.data&&(e=ne(e,n.data));return re(e)}function ne(t,e){return{staticClass:oe(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function re(t){var e=t.class,n=t.staticClass;return n||e?oe(n,ie(e)):""}function oe(t,e){return t?e?t+" "+e:t:e||""}function ie(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?Qr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Qr[t]=/HTMLUnknownElement/.test(e.toString())}function ue(t){if("string"==typeof t){var n=t;if(t=document.querySelector(t),!t)return"production"!==e.env.NODE_ENV&&Kn("Cannot find element: "+n),document.createElement("div")}return t}function ce(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 fe(t,e){return document.createElementNS(Kr[t],e)}function le(t){return document.createTextNode(t)}function pe(t){return document.createComment(t)}function de(t,e,n){t.insertBefore(e,n)}function he(t,e){t.removeChild(e)}function ve(t,e){t.appendChild(e)}function me(t){return t.parentNode}function ge(t){return t.nextSibling}function ye(t){return t.tagName}function we(t,e){t.textContent=e}function _e(t,e,n){t.setAttribute(e,n)}function be(t,e){var n=t.data.ref;if(n){var r=t.context,o=t.child||t.elm,i=r.$refs;e?Array.isArray(i[n])?s(i[n],o):i[n]===o&&(i[n]=void 0):t.data.refInFor?Array.isArray(i[n])&&i[n].indexOf(o)<0?i[n].push(o):i[n]=[o]:i[n]=o}}function Ee(t){return null==t}function xe(t){return null!=t}function ke(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function Ce(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,xe(o)&&(i[o]=r);return i}function Se(t){function n(t){return new Or(T.tagName(t).toLowerCase(),{},[],void 0,t)}function r(t,e){function n(){0===--n.listeners&&o(t)}return n.listeners=e,n}function o(t){var e=T.parentNode(t);e&&T.removeChild(e,t)}function s(t,n,r,o,i){if(t.isRootInsert=!i,!a(t,n,r,o)){var s=t.data,u=t.children,c=t.tag;xe(c)?("production"!==e.env.NODE_ENV&&(s&&s.pre&&R++,R||t.ns||Ln.ignoredElements.length&&Ln.ignoredElements.indexOf(c)>-1||!Ln.isUnknownElement(c)||Kn("Unknown custom element: <"+c+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',t.context)),t.elm=t.ns?T.createElementNS(t.ns,c):T.createElement(c,t),v(t),l(t,u,n),xe(s)&&d(t,n),f(r,t.elm,o),"production"!==e.env.NODE_ENV&&s&&s.pre&&R--):t.isComment?(t.elm=T.createComment(t.text),f(r,t.elm,o)):(t.elm=T.createTextNode(t.text),f(r,t.elm,o))}}function a(t,e,n,r){var o=t.data;if(xe(o)){var i=xe(t.child)&&o.keepAlive;if(xe(o=o.hook)&&xe(o=o.init)&&o(t,!1,n,r),xe(t.child))return h(t,e),i&&c(t,e,n,r),!0}}function c(t,e,n,r){for(var o,i=t;i.child;)if(i=i.child._vnode,xe(o=i.data)&&xe(o=o.transition)){for(o=0;od?(f=Ee(r[g+1])?null:r[g+1].elm,m(t,f,r,p,g,o)):p>g&&y(t,n,l,d)}function b(t,e,n,r){if(t!==e){if(e.isStatic&&t.isStatic&&e.key===t.key&&(e.isCloned||e.isOnce))return e.elm=t.elm,void(e.child=t.child);var o,i=e.data,s=xe(i);s&&xe(o=i.hook)&&xe(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, or missing . Bailing hydration and performing full client-side render.")}t=n(t)}if(c=t.elm,f=T.parentNode(c),s(r,d,f,T.nextSibling(c)),r.parent){for(var v=r.parent;v;)v.elm=r.elm,v=v.parent;if(p(r))for(var m=0;m-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+t.getAttribute("class")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function 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 Ge(t){So(function(){So(t)})}function Ke(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),Ye(t,e)}function Je(t,e){t._transitionClasses&&s(t._transitionClasses,e),We(t,e)}function Ze(t,e,n){var r=Xe(t,e),o=r.type,i=r.timeout,s=r.propCount;if(!o)return n();var a=o===_o?xo:Co,u=0,c=function(){t.removeEventListener(a,f),n()},f=function(e){e.target===t&&++u>=s&&c()};setTimeout(function(){u0&&(n=_o,f=s,l=i.length):e===bo?c>0&&(n=bo,f=c,l=u.length):(f=Math.max(s,c),n=f>0?s>c?_o:bo:null,l=n?n===_o?i.length:u.length:0);var p=n===_o&&Ao.test(r[Eo+"Property"]);return{type:n,timeout:f,propCount:l,hasTransform:p}}function Qe(t,e){for(;t.length1,j=n._enterCb=on(function(){R&&(Je(n,C),Je(n,k)),j.cancelled?(R&&Je(n,x),T&&T(n)):O&&O(n),n._enterCb=null});t.data.show||lt(t.data.hook||(t.data.hook={}),"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.context===t.context&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),A&&A(n,j)},"transition-insert"),S&&S(n),R&&(Ke(n,x),Ke(n,k),Ge(function(){Ke(n,C),Je(n,x),j.cancelled||P||Ze(n,i,j)})),t.data.show&&(e&&e(),A&&A(n,j)),R||P||j()}}}function nn(t,e){function n(){g.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),f&&f(r),v&&(Ke(r,a),Ke(r,c),Ge(function(){Ke(r,u),Je(r,a),g.cancelled||m||Ze(r,s,g)})),l&&l(r,g),v||m||g())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var o=rn(t.data.transition);if(!o)return e();if(!r._leaveCb&&1===r.nodeType){var i=o.css,s=o.type,a=o.leaveClass,u=o.leaveToClass,c=o.leaveActiveClass,f=o.beforeLeave,l=o.leave,p=o.afterLeave,d=o.leaveCancelled,h=o.delayLeave,v=i!==!1&&!qn,m=l&&(l._length||l.length)>1,g=r._leaveCb=on(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),v&&(Je(r,u),Je(r,c)),g.cancelled?(v&&Je(r,a),d&&d(r)):(e(),p&&p(r)),r._leaveCb=null});h?h(n):n()}}function rn(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&p(e,Oo(t.name||"v")),p(e,t),e}return"string"==typeof t?Oo(t):void 0}}function on(t){var e=!1;return function(){e||(e=!0,t())}}function sn(t,e){e.data.show||en(e)}function an(t,n,r){var o=n.value,i=t.multiple;if(i&&!Array.isArray(o))return void("production"!==e.env.NODE_ENV&&Kn(' expects an Array value for its binding, but got '+Object.prototype.toString.call(o).slice(8,-1),r));for(var s,a,u=0,c=t.options.length;u-1,a.selected!==s&&(a.selected=s);else if(y(cn(a),o))return void(t.selectedIndex!==u&&(t.selectedIndex=u));i||(t.selectedIndex=-1)}function un(t,e){for(var n=0,r=e.length;n0,qn=$n&&$n.indexOf("edge/")>0,Vn=$n&&$n.indexOf("android")>0,Hn=$n&&/iphone|ipad|ipod|ios/.test($n),zn=function(){return void 0===En&&(En=!In&&"undefined"!=typeof n&&"server"===n.process.env.VUE_ENV),En},Wn=In&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Yn=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e":"anonymous component")+(t._isVue&&t.$options.__file?" at "+t.$options.__file:"")};var Zn=function(t){return"anonymous component"===t&&(t+=' - use the "name" option for better debugging messages.'), +"\n(found in "+t+")"}}var Xn=0,Qn=function(){this.id=Xn++,this.subs=[]};Qn.prototype.addSub=function(t){this.subs.push(t)},Qn.prototype.removeSub=function(t){s(this.subs,t)},Qn.prototype.depend=function(){Qn.target&&Qn.target.addDep(this)},Qn.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e1&&(e[n[0].trim()]=n[1].trim())}}),e}),po=/^--/,ho=/\s*!important$/,vo=function(t,e,n){po.test(e)?t.style.setProperty(e,n):ho.test(n)?t.style.setProperty(e,n.replace(ho,""),"important"):t.style[go(e)]=n},mo=["Webkit","Moz","ms"],go=c(function(t){if(Ur=Ur||document.createElement("div"),t=On(t),"filter"!==t&&t in Ur.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n. If you are working with contenteditable, it's recommended to wrap a library dedicated for that purpose inside a custom component.",r.context)),"select"===r.tag){var o=function(){an(t,n,r.context)};o(),(Un||qn)&&setTimeout(o,0)}else"textarea"!==r.tag&&"text"!==t.type||(t._vModifiers=n.modifiers,n.modifiers.lazy||(Vn||(t.addEventListener("compositionstart",fn),t.addEventListener("compositionend",ln)),Fn&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){an(t,e,n.context);var r=t.multiple?e.value.some(function(e){return un(e,t.options)}):e.value!==e.oldValue&&un(e.value,t.options);r&&pn(t,"change")}}},Do={bind:function(t,e,n){var r=e.value;n=dn(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o&&!Fn?(n.data.show=!0,en(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,o=e.oldValue;if(r!==o){n=dn(n);var i=n.data&&n.data.transition;i&&!Fn?(n.data.show=!0,r?en(n,function(){t.style.display=t.__vOriginalDisplay}):nn(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},Lo={model:No,show:Do},Bo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String},Io={name:"transition",props:Bo,abstract:!0,render:function(t){var n=this,r=this.$slots.default;if(r&&(r=r.filter(function(t){return t.tag}),r.length)){"production"!==e.env.NODE_ENV&&r.length>1&&Kn(" can only be used on a single element. Use for lists.",this.$parent);var o=this.mode;"production"!==e.env.NODE_ENV&&o&&"in-out"!==o&&"out-in"!==o&&Kn("invalid mode: "+o,this.$parent);var i=r[0];if(gn(this.$vnode))return i;var s=hn(i);if(!s)return i;if(this._leaving)return mn(t,i);var a=s.key=null==s.key||s.isStatic?"__v"+(s.tag+this._uid)+"__":s.key,u=(s.data||(s.data={})).transition=vn(this),c=this._vnode,f=hn(c);if(s.data.directives&&s.data.directives.some(function(t){return"show"===t.name})&&(s.data.show=!0),f&&f.data&&!yn(s,f)){var l=f&&(f.data.transition=p({},u));if("out-in"===o)return this._leaving=!0,lt(l,"afterLeave",function(){n._leaving=!1,n.$forceUpdate()},a),mn(t,i);if("in-out"===o){var d,h=function(){d()};lt(u,"afterEnter",h,a),lt(u,"enterCancelled",h,a),lt(l,"delayLeave",function(t){d=t},a)}}return i}}},$o=p({tag:String,moveClass:String},Bo);delete $o.mode;var Uo={props:$o,render:function(t){for(var n=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),o=this.prevChildren=this.children,i=this.$slots.default||[],s=this.children=[],a=vn(this),u=0;u children must be keyed: <"+l+">")}}if(o){for(var p=[],d=[],h=0;h=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(6))},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(15))},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(24),o=n(4).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(49)("keys"),o=n(38);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(4),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(24);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(4),o=n(5),i=n(34),s=n(53),a=n(9).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,n){e.f=n(2)},function(t,e,n){function r(t,e,n,r){var s=a({},u,r);if(1===s.version){var c={counter:s.counter,length:s.length,lowercase:s.lowercase,uppercase:s.uppercase,numbers:s.numbers,symbols:s.symbols};return o.encryptLogin(e,n).then(function(e){return o.renderPassword(e,t,c).then(function(t){return t})})}return i.generatePassword(t,e,n,s)}var o=n(196),i=n(197),s=n(55),a=n(199);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(200),a=n(86);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 O=n(27);O.inherits=n(1);var A,T={deprecate:n(218)};!function(){try{A=n(29)}catch(t){}finally{A||(A=n(39).EventEmitter)}}();var P=n(0).Buffer,R=n(42);O.inherits(a,A),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:T.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),P.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(6),n(91).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(99)},function(t,e,n){"use strict";(function(e){var r=n(3),o=n(105),i=n(108),s=n(114),a=n(112),u=n(64),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(107);t.exports=function(t){return new Promise(function(f,l){var p=t.data,d=t.headers;r.isFormData(p)&&delete d["Content-Type"];var h=new XMLHttpRequest,v="onreadystatechange",m=!1;if("test"===e.env.NODE_ENV||"undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||a(t.url)||(h=new window.XDomainRequest,v="onload",m=!0,h.onprogress=function(){},h.ontimeout=function(){}),t.auth){var g=t.auth.username||"",y=t.auth.password||"";d.Authorization="Basic "+c(g+":"+y)}if(h.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h[v]=function(){if(h&&(4===h.readyState||m)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var e="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,n=t.responseType&&"text"!==t.responseType?h.response:h.responseText,r={data:n,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:e,config:t,request:h};o(f,l,r),h=null}},h.onerror=function(){l(u("Network Error",t)),h=null},h.ontimeout=function(){l(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),h=null},r.isStandardBrowserEnv()){var w=n(110),_=(t.withCredentials||a(t.url))&&t.xsrfCookieName?w.read(t.xsrfCookieName):void 0;_&&(d[t.xsrfHeaderName]=_)}if("setRequestHeader"in h&&r.forEach(d,function(t,e){"undefined"==typeof p&&"content-type"===e.toLowerCase()?delete d[e]:h.setRequestHeader(e,t)}),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(t){if("json"!==h.responseType)throw t}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){h&&(h.abort(),l(t),h=null)}),void 0===p&&(p=null),h.send(p)})}}).call(e,n(6))},function(t,e){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t,e){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var r=n(104);t.exports=function(t,e,n,o){var i=new Error(t);return r(i,e,n,o)}},function(t,e){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r";for(e.style.display="none",n(70).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(76),o=n(46).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(11),o=n(13),i=n(149)(!1),s=n(48)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),u=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){t.exports=n(12)},function(t,e,n){var r,o,i,s=n(33),a=n(152),u=n(70),c=n(45),f=n(4),l=f.process,p=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,v=0,m={},g="onreadystatechange",y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},w=function(t){y.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++v]=function(){a("function"==typeof t?t:Function(t),e)},r(v),v},d=function(t){delete m[t]},"process"==n(21)(l)?r=function(t){l.nextTick(s(y,t,1))}:h?(o=new h,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:d}},function(t,e,n){var r=n(50),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(44);t.exports=function(t){return Object(r(t))}},function(t,e){},function(t,e,n){"use strict";var r=n(170)(!0);n(73)(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(173);for(var r=n(4),o=n(12),i=n(25),s=n(2)("toStringTag"),a=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],u=0;u<5;u++){var c=a[u],f=r[c],l=f&&f.prototype;l&&!l[s]&&o(l,s,c),i[c]=i.Array}},function(t,e,n){"use strict";(function(e){function r(t,n){s.call(this),t=t.toLowerCase(),"string"==typeof n&&(n=new e(n));var r="sha512"===t||"sha384"===t?128:64;this._alg=t,this._key=n,n.length>r?n=o(t).update(n).digest():n.length0)if(e.ended&&!o){var s=new Error("stream.push() after EOF");t.emit("error",s)}else if(e.endEmitted&&o){var u=new Error("stream.unshift() after end event");t.emit("error",u)}else{var c;!e.decoder||o||r||(n=e.decoder.write(n),c=!e.objectMode&&0===n.length),o||(e.reading=!1),c||(e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,o?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&p(t))),h(t,e)}else o||(e.reading=!1);return a(e)}function a(t){return!t.ended&&(t.needReadable||t.length=F?t=F:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function c(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=u(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function f(t,e){var n=null;return N.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||(I("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?P(d,t):d(t))}function d(t){I("emit readable"),t.emit("readable"),_(t)}function h(t,e){e.readingMore||(e.readingMore=!0,P(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 k(t,e){var n=D.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,P(C,e,t))}function C(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function O(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return I("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;I("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){I("onunpipe"),t===p&&s()}function i(){I("onend"),t.end()}function s(){I("cleanup"),t.removeListener("close",c),t.removeListener("finish",f),t.removeListener("drain",g),t.removeListener("error",u),t.removeListener("unpipe",o),p.removeListener("end",i),p.removeListener("end",s),p.removeListener("data",a),y=!0,!d.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}function a(e){I("ondata"),w=!1;var n=t.write(e);!1!==n||w||((1===d.pipesCount&&d.pipes===t||d.pipesCount>1&&A(d.pipes,t)!==-1)&&!y&&(I("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,w=!0),p.pause())}function u(e){I("onerror",e),l(),t.removeListener("error",u),0===M(t,"error")&&t.emit("error",e)}function c(){t.removeListener("finish",f),l()}function f(){I("onfinish"),t.removeListener("close",c),l()}function l(){I("unpipe"),p.unpipe(t)}var p=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=t;break;case 1:d.pipes=[d.pipes,t];break;default:d.pipes.push(t)}d.pipesCount+=1,I("pipe count=%d opts=%j",d.pipesCount,n);var h=(!n||n.end!==!1)&&t!==e.stdout&&t!==e.stderr,v=h?i:s;d.endEmitted?P(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),d.flowing||(I("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(16),p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],d=new Array(64);f(r,l),r.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,f=0|this._c,l=0|this._d,d=0|this._e,h=0|this._f,v=0|this._g,m=0|this._h,g=0;g<16;++g)e[g]=t.readInt32BE(4*g);for(;g<64;++g)e[g]=c(e[g-2])+e[g-7]+u(e[g-15])+e[g-16]|0;for(var y=0;y<64;++y){var w=m+a(d)+o(d,h,v)+p[y]+e[y]|0,_=s(n)+i(n,r,f)|0;m=v,v=h,h=d,d=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=d+this._e|0,this._f=h+this._f|0,this._g=v+this._g|0,this._h=m+this._h|0},r.prototype._hash=function(){var t=new e(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=r}).call(e,n(0).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=m,h.call(this,128,112)}function o(t,e,n){return n^t&(e^n)}function i(t,e,n){return t&e|n&(t|e)}function s(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function a(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function u(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function c(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function f(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function l(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function p(t,e){return t>>>0>>0?1:0}var d=n(1),h=n(16),v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],m=new Array(160);d(r,h),r.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,d=0|this._ch,h=0|this._dh,m=0|this._eh,g=0|this._fh,y=0|this._gh,w=0|this._hh,_=0|this._al,b=0|this._bl,E=0|this._cl,x=0|this._dl,k=0|this._el,S=0|this._fl,C=0|this._gl,O=0|this._hl,A=0;A<32;A+=2)e[A]=t.readInt32BE(4*A),e[A+1]=t.readInt32BE(4*A+4);for(;A<160;A+=2){var T=e[A-30],P=e[A-30+1],R=u(T,P),j=c(P,T);T=e[A-4],P=e[A-4+1];var M=f(T,P),N=l(P,T),D=e[A-14],L=e[A-14+1],B=e[A-32],I=e[A-32+1],$=j+L|0,U=R+D+p($,j)|0;$=$+N|0,U=U+M+p($,N)|0,$=$+I|0,U=U+B+p($,I)|0,e[A]=U,e[A+1]=$}for(var F=0;F<160;F+=2){U=e[F],$=e[F+1];var q=i(n,r,d),V=i(_,b,E),H=s(n,_),z=s(_,n),W=a(m,k),Y=a(k,m),G=v[F],K=v[F+1],J=o(m,g,y),Z=o(k,S,C),X=O+Y|0,Q=w+W+p(X,O)|0;X=X+Z|0,Q=Q+J+p(X,Z)|0,X=X+K|0,Q=Q+G+p(X,K)|0,X=X+$|0,Q=Q+U+p(X,$)|0;var tt=z+V|0,et=H+q+p(tt,z)|0;w=y,O=C,y=g,C=S,g=m,S=k,k=x+X|0,m=h+Q+p(k,x)|0,h=d,x=E,d=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+k|0,this._fl=this._fl+S|0,this._gl=this._gl+C|0,this._hl=this._hl+O|0,this._ah=this._ah+n+p(this._al,_)|0,this._bh=this._bh+r+p(this._bl,b)|0,this._ch=this._ch+d+p(this._cl,E)|0,this._dh=this._dh+h+p(this._dl,x)|0,this._eh=this._eh+m+p(this._el,k)|0,this._fh=this._fh+g+p(this._fl,S)|0,this._gh=this._gh+y+p(this._gl,C)|0,this._hh=this._hh+w+p(this._hl,O)|0},r.prototype._hash=function(){function t(t,e,r){n.writeInt32BE(t,r),n.writeInt32BE(e,r+4)}var n=new e(64);return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),n},t.exports=r}).call(e,n(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(211),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){var r,o;r=n(119);var i=n(233);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=r},function(t,e,n){var r,o,i=n(235);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=r},function(t,e,n){var r,o;n(242),r=n(121);var i=n(228);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,o._scopeId="data-v-006504df",t.exports=r},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(40),i=r(o),s=n(241),a=r(s),u=n(224),c=r(u),f=n(223),l=r(f),p=n(225),d=r(p),h=n(226),v=r(h),m=n(227),g=r(m);i.default.use(a.default);var y=[{path:"/",name:"home",component:c.default},{path:"/login",name:"login",component:l.default},{path:"/passwords/",name:"passwords",component:g.default},{path:"/passwords/:id",name:"password",component:c.default},{path:"/password/reset",name:"passwordReset",component:d.default},{path:"/password/reset/confirm/:uid/:token",name:"passwordResetConfirm",component:v.default},{path:"*",redirect:"/"}],w=new a.default({routes:y});e.default=w},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return 1===t?(0,s.default)({},E,e,{version:1,length:12}):2===t?(0,s.default)({},E,e,{version:2,length:16}):void 0}Object.defineProperty(e,"__esModule",{value:!0}),e.mutations=void 0;var i=n(32),s=r(i),a=n(40),u=r(a),c=n(7),f=r(c),l=n(31),p=r(l),d=n(127),h=r(d),v=n(17),m=r(v),g=n(66),y=r(g);u.default.use(f.default);var w=new m.default,_=new p.default(w),b=new h.default("passwords",w),E={id:"",site:"",login:"",uppercase:!0,lowercase:!0,numbers:!0,symbols:!0,length:12,counter:1},x=w.json().version||1,k={authenticated:_.isAuthenticated(),passwordStatus:"CLEAN",passwords:[],baseURL:"https://lesspass.com",password:o(x),version:x},S=e.mutations={LOGOUT:function(t){t.authenticated=!1},LOGIN:function(t){t.authenticated=!0},SET_PASSWORDS:function(t,e){t.passwords=e},SET_PASSWORD:function(t,e){var n=e.password;t.password=n},DELETE_PASSWORD:function(t,e){var n=e.id,r=t.passwords;t.passwords=r.filter(function(t){return t.id!==n}),t.password.id===n&&(t.password=t.defaultPassword)},PASSWORD_CLEAN:function(t){setTimeout(function(){t.passwordStatus="CLEAN"},5e3)},CHANGE_PASSWORD_STATUS:function(t,e){t.passwordStatus=e},SET_DEFAULT_PASSWORD:function(t){t.password=(0,s.default)({},E)},UPDATE_SITE:function(t,e){var n=e.site;t.password.site=n},UPDATE_BASE_URL:function(t,e){var n=e.baseURL;t.baseURL=n},UPDATE_EMAIL:function(t,e){var n=e.email;t.email=n},CHANGE_VERSION:function(t,e){var n=e.version;t.password=o(n,t.password),t.version=n},SAVE_DEFAULT_OPTIONS:function(t){var e=new y.default(t.password),n=e.json();w.save({password:n,version:n.version})}},C={LOGOUT:function(t){var e=t.commit;_.logout(),e("LOGOUT")},SAVE_OR_UPDATE_PASSWORD:function(t){var e=t.commit,n=t.state,r=t.dispatch,o=new y.default(n.password);o.isNewPassword(n.passwords)?b.create(o.json()).then(function(){e("CHANGE_PASSWORD_STATUS","CREATED"),e("PASSWORD_CLEAN"),r("FETCH_PASSWORDS")}):b.update(o.json()).then(function(){e("CHANGE_PASSWORD_STATUS","UPDATED"),e("PASSWORD_CLEAN"),r("FETCH_PASSWORDS")})},REFRESH_TOKEN:function(t){var e=t.commit;_.isAuthenticated()&&_.refreshToken().catch(function(){e("LOGOUT")})},FETCH_PASSWORDS:function(t){var e=t.commit;_.isAuthenticated()&&b.all().then(function(t){return e("SET_PASSWORDS",t.data.results)})},FETCH_PASSWORD:function(t,e){var n=t.commit,r=e.id;b.get({id:r}).then(function(t){return n("SET_PASSWORD",{password:t.data})})},DELETE_PASSWORD:function(t,e){var n=t.commit,r=e.id;b.remove({id:r}).then(function(){n("DELETE_PASSWORD",{id:r})})}},O={passwords:function(t){return t.passwords},password:function(t){return t.password},isAuthenticated:function(t){return t.authenticated},isGuest:function(t){return!t.authenticated},passwordStatus:function(t){return t.passwordStatus},version:function(t){return t.version}};e.default=new f.default.Store({state:(0,s.default)(k,w.json()),getters:O,actions:C,mutations:S})},function(t,e){},function(t,e,n){var r,o;n(245),r=n(116);var i=n(236);o=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(o=r=r.default),"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,t.exports=r},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(65),s=n(101),a=n(41),u=r(a);u.Axios=s,u.create=function(t){return r(o.merge(a,t))},u.Cancel=n(62),u.CancelToken=n(100),u.isCancel=n(63),u.all=function(t){return Promise.all(t)},u.spread=n(115),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(62);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(41),i=n(3),s=n(102),a=n(103),u=n(111),c=n(109);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(106),s=n(63),a=n(41);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){"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(64);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){"use strict";function n(){this.message="String contains an invalid character"}function r(t){for(var e,r,i=String(t),s="",a=0,u=o;i.charAt(0|a)||(u="=",a%1);s+=u.charAt(63&e>>8-a%1*8)){if(r=i.charCodeAt(a+=.75),r>255)throw new n;e=e<<8|r}return s}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",t.exports=r},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){"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){"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){"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});var o=n(221),i=r(o),s=n(7);e.default={name:"LessPass",components:{"lesspass-menu":i.default},computed:(0,s.mapGetters)(["version"]),created:function(){var t=this,e=3e5;this.$store.dispatch("REFRESH_TOKEN"),setInterval(function(){t.$store.dispatch("REFRESH_TOKEN")},e)}}},function(t,e){"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(54),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(135),i=r(o),s=n(198),a=r(s),u=n(220),c=r(u);e.default={components:{Fingerprint:c.default},props:["value","keyupEnter"],data:function(){return{fingerprint:"",password:this.value}},watch:{value:function(t){this.password=t,this.updatePassword(t)}},methods:{updatePassword:function(t){this.fingerprint=Math.random().toString(36).substring(7),this.showRealFingerprint(t),this.$emit("input",t)},showRealFingerprint:(0,a.default)(function(t){this.fingerprint=t},500),togglePasswordType:function(t){"password"===t.type?t.type="text":t.type="password"},triggerEnterMethod:function(){void 0!==(0,i.default)(this.keyupEnter)&&this.keyupEnter()}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7);e.default={methods:{logout:function(){this.$store.dispatch("LOGOUT"),this.$router.push({name:"home"})},saveOrUpdatePassword:function(){this.$store.dispatch("SAVE_OR_UPDATE_PASSWORD")}},computed:(0,r.mapGetters)(["isAuthenticated","isGuest","passwordStatus","version"])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n(7);e.default={props:{version:{type:Number}},data:function(){return{checked:2==this.version}},watch:{checked:function(t){var e=void 0;e=t?2:1,this.$store.commit("CHANGE_VERSION",{version:e})},version:function(t){this.checked=2==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(20),i=r(o),s=n(54),a=r(s),u=n(31),c=r(u),f=n(17),l=r(f),p=n(7),d=n(92),h=r(d),v=n(93),m=r(v),g=n(94),y=r(g),w={userNameAlreadyExist:!1,emailInvalid:!1,baseURLRequired:!1,emailRequired:!1,passwordRequired:!1};e.default={data:function(){var t=new l.default,e=new c.default(t);return{auth:e,storage:t,email:"",password:"",baseURL:"https://lesspass.com",transformMasterPassword:!1,showError:!1,errorMessage:"",errors:(0,i.default)({},w),showOptions:!1}},components:{MasterPassword:h.default,OptionsButton:m.default,VersionButton:y.default},computed:(0,i.default)({},(0,p.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:2==this.version?16:12,counter:1,version:this.version};return a.default.generatePassword("lesspass.com",this.email,this.password,n).then(function(t){console.log(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)({},w)},signIn:function(){var t=this;this.formIsValid()&&!function(){var e=t.email,n=t.password,r=t.baseURL;t.auth.login({email:e,password:n},r).then(function(){t.storage.save({baseURL:r}),t.$store.commit("LOGIN"),t.$store.commit("UPDATE_BASE_URL",{baseURL:r}),t.$store.commit("UPDATE_EMAIL",{email:e}),t.$router.push({name:"home"})}).catch(function(e){t.cleanErrors(),void 0===e.response&&"https://lesspass.com"!==r?t.showErrorMessage("Your LessPass Database is not running"):400===e.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.email,n=this.password,r=this.baseURL;this.auth.register({email:e,password:n},r).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("FETCH_PASSWORDS")}Object.defineProperty(e,"__esModule",{value:!0});var i=n(54),s=r(i),a=n(7),u=n(140),c=r(u),f=n(129),l=n(66),p=(r(l),n(130)),d=n(222),h=r(d),v=n(92),m=r(v),g=n(94),y=r(g),w=n(93),_=r(w);e.default={name:"password-generator-view",components:{RemoveAutoComplete:h.default,MasterPassword:m.default,VersionButton:y.default,OptionsButton:_.default},computed:(0,a.mapGetters)(["passwords","password","version"]),preFetch:o,beforeMount:function(){var t=this,e=this.$route.params.id;e?this.$store.dispatch("FETCH_PASSWORD",{id:e}):o(this.$store),(0,p.getSite)(this.version).then(function(e){e&&t.$store.commit("UPDATE_SITE",{site:e})});var n=new c.default("#copyPasswordButton");n.on("success",function(e){e.text&&((0,f.showTooltip)(e.trigger,"copied !"),setTimeout(function(){t.cleanFormInSeconds(10)},2e3))})},mounted:function(){this.password.site?this.$refs.login.focus():this.$refs.site.focus()},data:function(){return{masterPassword:"",fingerprint:"",generatedPassword:"",cleanTimeout:null,showOptions:!1,showError:!1,generatingPassword:!1,optionsSaved:!1}},watch:{"password.site":function(t){this.cleanErrors();var e=t.split(" | ");if(2===e.length)for(var n=e[0],r=e[1],o=this.passwords,i=0;i4&&(this.password.length-=1)},incrementPasswordLength:function(){this.password.length+=1},decrementCounter:function(){this.password.counter>1&&(this.password.counter-=1)},incrementCounter:function(){this.password.counter+=1},saveDefault:function(){var t=this;this.$store.commit("SAVE_DEFAULT_OPTIONS"),this.optionsSaved=!0,setTimeout(function(){t.optionsSaved=!1},3e3)}}}},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(20),i=r(o),s=n(31),a=r(s),u=n(17),c=r(u),f=n(7);e.default={data:function(){var t=new c.default,e=new a.default(t);return{auth:e,storage:t,email:"",emailRequired:!1,showError:!1,loading:!1,successMessage:!1}},computed:(0,i.default)({},(0,f.mapGetters)(["version"])),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 this.auth.resetPassword({email:this.email}).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(20),i=r(o),s=n(31),a=r(s),u=n(17),c=r(u),f=n(7);e.default={data:function(){var t=new c.default,e=new a.default(t);return{auth:e,storage:t,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;return this.cleanErrors(),this.new_password?void this.auth.confirmResetPassword({uid:this.$route.params.uid,token:this.$route.params.token,new_password:this.new_password}).then(function(){t.successMessage=!0}).catch(function(e){400===e.response.status&&(t.errorMessage="This password reset link become invalid."),t.showError=!0}):void(this.passwordRequired=!0)}},computed:(0,i.default)({},(0,f.mapGetters)(["version"]))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return t.dispatch("FETCH_PASSWORDS")}Object.defineProperty(e,"__esModule",{value:!0});var i=n(20),s=r(i),a=n(219),u=r(a),c=n(7);e.default={name:"passwords-view",data:function(){return{searchQuery:""}},components:{DeleteButton:u.default},computed:(0,s.default)({},(0,c.mapGetters)(["passwords","email"]),{filteredPasswords:function(){var t=this;return 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})}}),preFetch:o,beforeMount:function(){o(this.$store)},methods:{deletePassword:function(t){return this.$store.dispatch("DELETE_PASSWORD",{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(20),i=r(o),s=n(18),a=r(s),u=n(19),c=r(u),f=n(60),l=r(f),p=n(17),d=function(){function t(e,n){(0,a.default)(this,t),this.storage=n,this.resource=e}return(0,c.default)(t,[{key:"getRequestConfig",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.storage.json();return(0,i.default)({},t,{baseURL:e.baseURL,headers:{Authorization:"JWT "+e[p.TOKEN_KEY]}})}},{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l.default.post("/api/"+this.resource+"/",t,this.getRequestConfig(e))}},{key:"all",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return l.default.get("/api/"+this.resource+"/",this.getRequestConfig(t))}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l.default.get("/api/"+this.resource+"/"+t.id+"/",this.getRequestConfig(e))}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l.default.put("/api/"+this.resource+"/"+t.id+"/",t,this.getRequestConfig(e))}},{key:"remove",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l.default.delete("/api/"+this.resource+"/"+t.id+"/",this.getRequestConfig(e))}}]),t}();e.default=d},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.TOKEN_KEY=void 0;var o=n(18),i=r(o),s=n(19),a=r(s),u=n(195),c=r(u),f=(e.TOKEN_KEY="jwt",function(){function t(e){(0,i.default)(this,t),this.name=e}return(0,a.default)(t,[{key:"stillValid",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;try{return this._expirationDateSuperiorTo(t)}catch(t){return!1}}},{key:"expiresInMinutes",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;try{var n=new Date(e.getTime()+6e4*t);return this._expirationDateInferiorTo(n)}catch(t){return!1}}},{key:"_expirationDateInferiorTo",value:function(t){var e=this._getTokenExpirationDate();return e1&&void 0!==arguments[1]?arguments[1]:1;return"undefined"==typeof t?"":1===e?i(t):s(t)}function u(){return"undefined"!=typeof chrome&&"undefined"!=typeof chrome.tabs&&"function"==typeof chrome.tabs.query}function c(){return new p.default(function(t){chrome.tabs.query({active:!0,currentWindow:!0},function(e){t(e[0].url)})})}function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return u()?c(t).then(function(t){return a(t)}):new p.default(function(t){t("")})}Object.defineProperty(e,"__esModule",{value:!0}),e.getSite=e.getCurrentUrl=e.isWebExtension=e._ipIsValid=e.getDomainName=void 0;var l=n(68),p=r(l);e.getDomainName=a,e._ipIsValid=o,e.isWebExtension=u,e.getCurrentUrl=c,e.getSite=f},function(t,e,n){t.exports={default:n(141),__esModule:!0}},function(t,e,n){t.exports={default:n(145),__esModule:!0}},function(t,e,n){t.exports={default:n(146),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(67),i=r(o);e.default=function(t,e,n){return e in t?(0,i.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(133),i=r(o),s=n(132),a=r(s),u="function"==typeof a.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===u(i.default)?function(t){return"undefined"==typeof t?"undefined":u(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"==typeof t?"undefined":u(t)}},function(t,e){"use strict";function n(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function r(t){return 3*t.length/4-n(t)}function o(t){var e,r,o,i,s,a,u=t.length;s=n(t),a=new f(3*u/4-s),o=s>0?u-4:u;var l=0;for(e=0,r=0;e>16&255,a[l++]=i>>8&255,a[l++]=255&i;return 2===s?(i=c[t.charCodeAt(e)]<<2|c[t.charCodeAt(e+1)]>>4,a[l++]=255&i):1===s&&(i=c[t.charCodeAt(e)]<<10|c[t.charCodeAt(e+1)]<<4|c[t.charCodeAt(e+2)]>>2,a[l++]=i>>8&255,a[l++]=255&i),a}function i(t){return u[t>>18&63]+u[t>>12&63]+u[t>>6&63]+u[63&t]}function s(t,e,n){for(var r,o=[],s=e;sf?f:c+a));return 1===r?(e=t[n-1],o+=u[e>>2],o+=u[e<<4&63],o+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],o+=u[e>>10],o+=u[e>>4&63],o+=u[e<<2&63],o+="="),i.push(o),i.join("")}e.byteLength=r,e.toByteArray=o,e.fromByteArray=a;for(var u=[],c=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,d=l.length;p0?Math.floor(t):Math.ceil(t)}function l(t,e){var n,r,o=t.length,i=e.length,s=new Array(o),a=0,u=V;for(r=0;r=u?1:0,s[r]=n-a*u;for(;r0&&s.push(a),s}function p(t,e){return t.length>=e.length?l(t,e):l(e,t)}function d(t,e){var n,r,o=t.length,i=new Array(o),s=V;for(r=0;r0;)i[r++]=e%s,e=Math.floor(e/s);return i}function h(t,e){var n,r,o=t.length,i=e.length,s=new Array(o),a=0,c=V;for(n=0;n=0?i=h(t,e):(i=h(e,t),n=!n),i=a(i),"number"==typeof i?(n&&(i=-i),new o(i)):new r(i,n)}function m(t,e,n){var i,s,u=t.length,c=new Array(u),f=-e,l=V;for(i=0;i0;)i[r++]=a%s,a=Math.floor(a/s);return i}function 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(h(h(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=d-1,g[r+p]!==v&&(n=Math.floor((g[r+p]*d+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),A(s,l)<=0)break;n--}while(n);f.push(n),l=h(l,s)}return f.reverse(),[a(f),a(l)]}function C(t,e){var n,r,o,i,s=t.length,a=c(s),u=V;for(o=0,n=s-1;n>=0;--n)i=o*u+t[n],r=f(i/e),o=i-r*e,a[n]=0|r;return[a,0|o]}function O(t,e){var i,u,c=q(e),l=t.value,p=c.value;if(0===p)throw new Error("Cannot divide by zero");if(t.isSmall)return c.isSmall?[new o(f(l/p)),new o(l%p)]:[n[0],t];if(c.isSmall){if(1===p)return[t,n[0]];if(p==-1)return[t.negate(),n[0]];var d=Math.abs(p);if(de.length?1:-1;for(var n=t.length-1;n>=0;n--)if(t[n]!==e[n])return t[n]>e[n]?1:-1;return 0}function T(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 P(t){return("number"==typeof t||"string"==typeof t)&&+Math.abs(t)<=V||t instanceof r&&t.value.length<=1}function R(t,n,r){n=q(n);for(var o=t.isNegative(),i=n.isNegative(),s=o?t.not():t,a=i?n.not():n,u=[],c=[],f=!1,l=!1;!f||!l;)s.isZero()?(f=!0,u.push(o?1:0)):o?u.push(s.isEven()?1:0):u.push(s.isEven()?0:1),a.isZero()?(l=!0,c.push(i?1:0)):i?c.push(a.isEven()?1:0):c.push(a.isEven()?0:1),s=s.over(2),a=a.over(2);for(var p=[],d=0;d=0;p--){var d=l?s.value[p]:V,h=f(Math.random()*d);c.unshift(h),h"}function $(t,n){if(n=e(n),n.isZero()){if(t.isZero())return"0";throw new Error("Cannot convert nonzero numbers to base 0.")}if(n.equals(-1))return t.isZero()?"0":t.isNegative()?new Array(1-t).join("10"):"1"+new Array(+t).join("01");var r="";if(t.isNegative()&&n.isPositive()&&(r="-",t=t.abs()),n.equals(1))return t.isZero()?"0":r+new Array(+t+1).join(1); +for(var o,i=[],s=t;s.isNegative()||s.compareAbs(n)>=0;){o=s.divmod(n),s=o.quotient;var a=o.remainder;a.isNegative()&&(a=n.minus(a).abs(),s=s.next()),i.push(I(a))}return i.push(I(s)),r+i.reverse().join("")}function U(t){if(i(+t)){var e=+t;if(e===f(e))return new o(e);throw"Invalid integer: "+t}var n="-"===t[0];n&&(t=t.slice(1));var s=t.split(/e/i);if(s.length>2)throw new Error("Invalid integer: "+s.join("e"));if(2===s.length){var a=s[1];if("+"===a[0]&&(a=a.slice(1)),a=+a,a!==f(a)||!i(a))throw new Error("Invalid integer: "+a+" is not a valid exponent.");var c=s[0],l=c.indexOf(".");if(l>=0&&(a-=c.length-l-1,c=c.slice(0,l)+c.slice(l+1)),a<0)throw new Error("Cannot include negative exponent part for integers");c+=new Array(a+1).join("0"),t=c}var p=/^([0-9][0-9]*)$/.test(t);if(!p)throw new Error("Invalid integer: "+t);for(var d=[],h=t.length,v=H,m=h-v;h>0;)d.push(+t.slice(m,h)),m-=v,m<0&&(m=0),h-=v;return u(d),new r(d,n)}function F(t){if(i(t)){if(t!==f(t))throw new Error(t+" is not an integer.");return new o(t)}return U(t.toString())}function q(t){return"number"==typeof t?F(t):"string"==typeof t?U(t):t}var V=1e7,H=7,z=9007199254740992,W=s(z),Y=Math.log(z);r.prototype=Object.create(n.prototype),o.prototype=Object.create(n.prototype),r.prototype.add=function(t){var e=q(t);if(this.sign!==e.sign)return this.subtract(e.negate());var n=this.value,o=e.value;return e.isSmall?new r(d(n,Math.abs(o)),this.sign):new r(p(n,o),this.sign)},r.prototype.plus=r.prototype.add,o.prototype.add=function(t){var e=q(t),n=this.value;if(n<0!==e.sign)return this.subtract(e.negate());var a=e.value;if(e.isSmall){if(i(n+a))return new o(n+a);a=s(Math.abs(a))}return new r(d(a,Math.abs(n)),n<0)},o.prototype.plus=o.prototype.add,r.prototype.subtract=function(t){var e=q(t);if(this.sign!==e.sign)return this.add(e.negate());var n=this.value,r=e.value;return e.isSmall?m(n,Math.abs(r),this.sign):v(n,r,this.sign)},r.prototype.minus=r.prototype.subtract,o.prototype.subtract=function(t){var e=q(t),n=this.value;if(n<0!==e.sign)return this.add(e.negate());var r=e.value;return e.isSmall?new o(n-r):m(r,Math.abs(n),n>=0)},o.prototype.minus=o.prototype.subtract,r.prototype.negate=function(){return new r(this.value,!this.sign)},o.prototype.negate=function(){var t=this.sign,e=new o(-this.value);return e.sign=!t,e},r.prototype.abs=function(){return new r(this.value,!1)},o.prototype.abs=function(){return new o(Math.abs(this.value))},r.prototype.multiply=function(t){var e,o=q(t),i=this.value,a=o.value,u=this.sign!==o.sign;if(o.isSmall){if(0===a)return n[0];if(1===a)return this;if(a===-1)return this.negate();if(e=Math.abs(a),er?1:-1):-1},r.prototype.compare=function(t){if(t===1/0)return-1;if(t===-(1/0))return 1;var e=q(t),n=this.value,r=e.value;return this.sign!==e.sign?e.sign?1:-1:e.isSmall?this.sign?-1:1:A(n,r)*(this.sign?-1:1)},r.prototype.compareTo=r.prototype.compare,o.prototype.compare=function(t){if(t===1/0)return-1;if(t===-(1/0))return 1;var e=q(t),n=this.value,r=e.value;return e.isSmall?n==r?0:n>r?1:-1:n<0!==e.sign?n<0?-1:1:n<0?1:-1},o.prototype.compareTo=o.prototype.compare,r.prototype.equals=function(t){return 0===this.compare(t)},o.prototype.eq=o.prototype.equals=r.prototype.eq=r.prototype.equals,r.prototype.notEquals=function(t){return 0!==this.compare(t)},o.prototype.neq=o.prototype.notEquals=r.prototype.neq=r.prototype.notEquals,r.prototype.greater=function(t){return this.compare(t)>0},o.prototype.gt=o.prototype.greater=r.prototype.gt=r.prototype.greater,r.prototype.lesser=function(t){return this.compare(t)<0},o.prototype.lt=o.prototype.lesser=r.prototype.lt=r.prototype.lesser,r.prototype.greaterOrEquals=function(t){return this.compare(t)>=0},o.prototype.geq=o.prototype.greaterOrEquals=r.prototype.geq=r.prototype.greaterOrEquals,r.prototype.lesserOrEquals=function(t){return this.compare(t)<=0},o.prototype.leq=o.prototype.lesserOrEquals=r.prototype.leq=r.prototype.lesserOrEquals,r.prototype.isEven=function(){return 0===(1&this.value[0])},o.prototype.isEven=function(){return 0===(1&this.value)},r.prototype.isOdd=function(){return 1===(1&this.value[0])},o.prototype.isOdd=function(){return 1===(1&this.value)},r.prototype.isPositive=function(){return!this.sign},o.prototype.isPositive=function(){return this.value>0},r.prototype.isNegative=function(){return this.sign},o.prototype.isNegative=function(){return this.value<0},r.prototype.isUnit=function(){return!1},o.prototype.isUnit=function(){return 1===Math.abs(this.value)},r.prototype.isZero=function(){return!1},o.prototype.isZero=function(){return 0===this.value},r.prototype.isDivisibleBy=function(t){var e=q(t),r=e.value;return 0!==r&&(1===r||(2===r?this.isEven():this.mod(e).equals(n[0])))},o.prototype.isDivisibleBy=r.prototype.isDivisibleBy,r.prototype.isPrime=function(){var r=T(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-z?new o(t-1):new r(W,!0)};for(var G=[1];G[G.length-1]<=V;)G.push(2*G[G.length-1]);var K=G.length,J=G[K-1];r.prototype.shiftLeft=function(t){if(!P(t))throw new Error(String(t)+" is too large for shifting.");if(t=+t,t<0)return this.shiftRight(-t);for(var e=this;t>=K;)e=e.multiply(J),t-=K-1;return e.multiply(G[t])},o.prototype.shiftLeft=r.prototype.shiftLeft,r.prototype.shiftRight=function(t){var e;if(!P(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=O(n,J),n=e[1].isNegative()?e[0].prev():e[0],t-=K-1}return e=O(n,G[t]),e[1].isNegative()?e[0].prev():e[0]},o.prototype.shiftRight=r.prototype.shiftRight,r.prototype.not=function(){return this.negate().prev()},o.prototype.not=r.prototype.not,r.prototype.and=function(t){return R(this,t,function(t,e){return t&e})},o.prototype.and=r.prototype.and,r.prototype.or=function(t){return R(this,t,function(t,e){return t|e})},o.prototype.or=r.prototype.or,r.prototype.xor=function(t){return R(this,t,function(t,e){return t^e})},o.prototype.xor=r.prototype.xor;var Z=1<<30,X=(V&-V)*(V&-V)|Z,Q=function(t,e){var r=n[0],i=n[1],s=t.length;if(2<=e&&e<=36&&s<=Y/Math.log(e))return new o(parseInt(t,e));e=q(e);var a,u=[],c="-"===t[0];for(a=c?1:0;a"!==t[a]);u.push(q(t.slice(p+1,a)))}}for(u.reverse(),a=0;a=0;)n=String(r[o]),i+=s.slice(n.length)+n;var a=this.sign?"-":"";return a+i},o.prototype.toString=function(e){return e===t&&(e=10),10!=e?$(this,e):String(this.value)},r.prototype.valueOf=function(){return+this.toString()},r.prototype.toJSNumber=r.prototype.valueOf,o.prototype.valueOf=function(){return this.value},o.prototype.toJSNumber=o.prototype.valueOf;for(var tt=0;tt<1e3;tt++)n[tt]=new o(tt),tt>0&&(n[-tt]=new o(-tt));return n.one=n[1],n.zero=n[0],n.minusOne=n[-1],n.max=M,n.min=N,n.gcd=D,n.lcm=L,n.isInstance=function(t){return t instanceof r||t instanceof o},n.randBetween=B,n}();"undefined"!=typeof t&&t.hasOwnProperty("exports")&&(t.exports=e)}).call(e,n(247)(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(29).Transform,i=n(1),s=n(59).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(210)],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){var r,o,i;!function(s,a){o=[t,n(139),n(217),n(191)],r=a,i="function"==typeof r?r.apply(e,o):r,!(void 0!==i&&(t.exports=i))}(this,function(t,e,n,r){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function u(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}var c=o(e),f=o(n),l=o(r),p=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,l.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c.default({action:this.action(e),target:this.target(e),text:this.text(e),trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return u("action",t)}},{key:"defaultTarget",value:function(t){var e=u("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return u("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}]),e}(f.default);t.exports=d})},function(t,e,n){var r=n(5),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},function(t,e,n){n(174),t.exports=n(5).Object.assign},function(t,e,n){n(175);var r=n(5).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){n(81),n(82),n(83),n(176),t.exports=n(5).Promise},function(t,e,n){n(177),n(81),n(178),n(179),t.exports=n(5).Symbol},function(t,e,n){n(82),n(83),t.exports=n(53).f("iterator")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(13),o=n(79),i=n(171);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(47),i=n(35);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var s,a=n(t),u=i.f,c=0;a.length>c;)u.call(t,s=a[c++])&&e.push(s);return e}},function(t,e,n){var r=n(33),o=n(155),i=n(153),s=n(10),a=n(79),u=n(172),c={},f={},e=t.exports=function(t,e,n,l,p){var d,h,v,m,g=p?function(){return t}:u(t),y=r(n,l,e?2:1),w=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(d=a(t.length);d>w;w++)if(m=e?y(s(h=t[w])[0],h[1]):y(t[w]),m===c||m===f)return m}else for(v=g.call(t);!(h=v.next()).done;)if(m=o(v,y,h.value,e),m===c||m===f)return m};e.BREAK=c,e.RETURN=f},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(25),o=n(2)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(21);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(10);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(74),o=n(36),i=n(37),s={};n(12)(s,n(2)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(2)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},t(i)}catch(t){}return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(26),o=n(13);t.exports=function(t,e){for(var n,i=o(t),s=r(i),a=s.length,u=0;a>u;)if(i[n=s[u++]]===e)return n}},function(t,e,n){var r=n(38)("meta"),o=n(24),i=n(11),s=n(9).f,a=0,u=Object.isExtensible||function(){return!0},c=!n(23)(function(){return u(Object.preventExtensions({}))}),f=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[r].i},p=function(t,e){if(!i(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},d=function(t){return c&&h.NEED&&u(t)&&!i(t,r)&&f(t),t},h=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},function(t,e,n){var r=n(4),o=n(78).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,u="process"==n(21)(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(26),o=n(47),i=n(35),s=n(80),a=n(72),u=Object.assign;t.exports=!u||n(23)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=s(t),u=arguments.length,c=1,f=o.f,l=i.f;u>c;)for(var p,d=a(arguments[c++]),h=f?r(d).concat(f(d)):r(d),v=h.length,m=0;v>m;)l.call(d,p=h[m++])&&(n[p]=d[p]);return n}:u},function(t,e,n){var r=n(9),o=n(10),i=n(26);t.exports=n(8)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),a=s.length,u=0;a>u;)r.f(t,n=s[u++],e[n]);return t}},function(t,e,n){var r=n(35),o=n(36),i=n(13),s=n(51),a=n(11),u=n(71),c=Object.getOwnPropertyDescriptor;e.f=n(8)?c:function(t,e){if(t=i(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(13),o=n(75).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==i.call(t)?a(t):o(r(t))}},function(t,e,n){var r=n(11),o=n(80),i=n(48)("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(12);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},function(t,e,n){"use strict";var r=n(4),o=n(5),i=n(9),s=n(8),a=n(2)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];s&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(10),o=n(43),i=n(2)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[i])?e:o(n)}},function(t,e,n){var r=n(50),o=n(44);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(50),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(69),o=n(2)("iterator"),i=n(25);t.exports=n(5).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(147),o=n(158),i=n(25),s=n(13);t.exports=n(73)(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(22);r(r.S+r.F,"Object",{assign:n(162)})},function(t,e,n){var r=n(22);r(r.S+r.F*!n(8),"Object",{defineProperty:n(9).f})},function(t,e,n){"use strict";var r,o,i,s=n(34),a=n(4),u=n(33),c=n(69),f=n(22),l=n(24),p=n(43),d=n(148),h=n(151),v=n(169),m=n(78).set,g=n(161)(),y="Promise",w=a.TypeError,_=a.process,b=a[y],_=a.process,E="process"==c(_),x=function(){},k=!!function(){try{var t=b.resolve(1),e=(t.constructor={})[n(2)("species")]=function(t){t(x,x)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(x)instanceof e}catch(t){}}(),S=function(t,e){return t===e||t===b&&e===i},C=function(t){var e;return!(!l(t)||"function"!=typeof(e=t.then))&&e},O=function(t){return S(b,t)?new A(t):new o(t)},A=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)},T=function(t){try{t()}catch(t){return{error:t}}},P=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=C(n))?i.call(n,a,u):a(n)):u(r)}catch(t){u(t)}};n.length>i;)s(n[i++]);t._c=[],t._n=!1,e&&!t._h&&R(t)})}},R=function(t){m.call(a,function(){var e,n,r,o=t._v;if(j(t)&&(e=T(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})})},N=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()),P(e,!0))},D=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=C(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,u(D,r,1),u(N,r,1))}catch(t){N.call(r,t)}}):(n._v=t,n._s=1,P(n,!1))}catch(t){N.call({_w:n,_d:!1},t)}}};k||(b=function(t){d(this,b,y,"_h"),p(t),r.call(this);try{t(u(D,this,1),u(N,this,1))}catch(t){N.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(167)(b.prototype,{then:function(t,e){var n=O(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&&P(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),A=function(){var t=new r;this.promise=t,this.resolve=u(D,t,1),this.reject=u(N,t,1)}),f(f.G+f.W+f.F*!k,{Promise:b}),n(37)(b,y),n(168)(y),i=n(5)[y],f(f.S+f.F*!k,y,{reject:function(t){var e=O(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(s||!k),y,{resolve:function(t){if(t instanceof b&&S(t.constructor,this))return t;var e=O(this),n=e.resolve;return n(t),e.promise}}),f(f.S+f.F*!(k&&n(157)(function(t){b.all(t).catch(x)})),y,{all:function(t){var e=this,n=O(e),r=n.resolve,o=n.reject,i=T(function(){var n=[],i=0,s=1;h(t,!1,function(t){var a=i++,u=!1;n.push(void 0),s++,e.resolve(t).then(function(t){u||(u=!0,n[a]=t,--s||r(n))},o)}),--s||r(n)});return i&&o(i.error),n.promise},race:function(t){var e=this,n=O(e),r=n.reject,o=T(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o&&r(o.error),n.promise}})},function(t,e,n){"use strict";var r=n(4),o=n(11),i=n(8),s=n(22),a=n(77),u=n(160).KEY,c=n(23),f=n(49),l=n(37),p=n(38),d=n(2),h=n(53),v=n(52),m=n(159),g=n(150),y=n(154),w=n(10),_=n(13),b=n(51),E=n(36),x=n(74),k=n(165),S=n(164),C=n(9),O=n(26),A=S.f,T=C.f,P=k.f,R=r.Symbol,j=r.JSON,M=j&&j.stringify,N="prototype",D=d("_hidden"),L=d("toPrimitive"),B={}.propertyIsEnumerable,I=f("symbol-registry"),$=f("symbols"),U=f("op-symbols"),F=Object[N],q="function"==typeof R,V=r.QObject,H=!V||!V[N]||!V[N].findChild,z=i&&c(function(){return 7!=x(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=A(F,e);r&&delete F[e],T(t,e,n),r&&t!==F&&T(F,e,r)}:T,W=function(t){var e=$[t]=x(R[N]);return e._k=t,e},Y=q&&"symbol"==typeof R.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof R},G=function(t,e,n){return t===F&&G(U,e,n),w(t),e=b(e,!0),w(n),o($,e)?(n.enumerable?(o(t,D)&&t[D][e]&&(t[D][e]=!1),n=x(n,{enumerable:E(0,!1)})):(o(t,D)||T(t,D,E(1,{})),t[D][e]=!0),z(t,e,n)):T(t,e,n)},K=function(t,e){w(t);for(var n,r=g(e=_(e)),o=0,i=r.length;i>o;)G(t,n=r[o++],e[n]);return t},J=function(t,e){return void 0===e?x(t):K(x(t),e)},Z=function(t){var e=B.call(this,t=b(t,!0));return!(this===F&&o($,t)&&!o(U,t))&&(!(e||!o(this,t)||!o($,t)||o(this,D)&&this[D][t])||e)},X=function(t,e){if(t=_(t),e=b(e,!0),t!==F||!o($,e)||o(U,e)){var n=A(t,e);return!n||!o($,e)||o(t,D)&&t[D][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=P(_(t)),r=[],i=0;n.length>i;)o($,e=n[i++])||e==D||e==u||r.push(e);return r},tt=function(t){for(var e,n=t===F,r=P(n?U:_(t)),i=[],s=0;r.length>s;)!o($,e=r[s++])||n&&!o(F,e)||i.push($[e]);return i};q||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===F&&e.call(U,n),o(this,D)&&o(this[D],t)&&(this[D][t]=!1),z(this,t,E(1,n))};return i&&H&&z(F,t,{configurable:!0,set:e}),W(t)},a(R[N],"toString",function(){return this._k}),S.f=X,C.f=G,n(75).f=k.f=Q,n(35).f=Z,n(47).f=tt,i&&!n(34)&&a(F,"propertyIsEnumerable",Z,!0),h.f=function(t){return W(d(t))}),s(s.G+s.W+s.F*!q,{Symbol:R});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var et=O(d.store),nt=0;et.length>nt;)v(et[nt++]);s(s.S+s.F*!q,"Symbol",{for:function(t){return o(I,t+="")?I[t]:I[t]=R(t)},keyFor:function(t){if(Y(t))return m(I,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){H=!0},useSimple:function(){H=!1}}),s(s.S+s.F*!q,"Object",{create:J,defineProperty:G,defineProperties:K,getOwnPropertyDescriptor:X,getOwnPropertyNames:Q,getOwnPropertySymbols:tt}),j&&s(s.S+s.F*(!q||c(function(){var t=R();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!Y(t)){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return e=r[1],"function"==typeof e&&(n=e),!n&&y(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!Y(e))return e}),r[1]=e,M.apply(j,r)}}}),R[N][L]||n(12)(R[N],L,R[N].valueOf),l(R,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){n(52)("asyncIterator")},function(t,e,n){n(52)("observable")},function(t,e,n){"use strict";(function(e){function r(t){c.call(this,"digest"),this._hash=t,this.buffers=[]}function o(t){c.call(this,"digest"),this._hash=t}var i=n(1),s=n(182),a=n(209),u=n(212),c=n(138);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(181);t.exports=function(t){return l.hash(t,r,16)}},function(t,e,n){e=t.exports=n(28)(),e.push([t.i,'\n.version[data-v-006504df] {\n display: inline-block;\n padding: 0;\n margin: 0;\n position: relative;\n}\n#version-button[data-v-006504df] {\n position: absolute;\n left: -9999px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n#version-button + label[data-v-006504df] {\n margin-bottom: 0;\n}\n#version-button + label[data-v-006504df]:before {\n content: "v2 v1";\n display: inline-block;\n font-weight: normal;\n line-height: 1.25;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n cursor: pointer;\n user-select: none;\n border: 1px solid transparent;\n padding: 0.5rem 0.25rem;\n font-size: 1rem;\n color: white;\n background: #f0ad4e;\n position: relative;\n}\n#version-button + label[data-v-006504df]:after {\n content: "";\n box-sizing: border-box;\n display: inline-block;\n background: white;\n border: 1px solid #f0ad4e;\n width: 45%;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n transition: left 0.3s, border-color 0.3s;\n}\n#version-button:checked + label[data-v-006504df]:after {\n left: 55%;\n border-color: #0275d8;\n}\n#version-button:checked + label[data-v-006504df]:before {\n background-color: #0275d8;\n}\n#version-button:focus + label[data-v-006504df]:after {\n border: 1px dotted #f0ad4e;\n}\n#version-button:checked:focus + label[data-v-006504df]:after {\n border: 1px dotted #0275d8;\n}\n',""])},function(t,e,n){e=t.exports=n(28)(),e.push([t.i,"\n#fingerprint {\n min-width: 90px;\n text-align: center;\n background-color: transparent;\n color: white;\n}\n#fingerprint i {\n color: black;\n position: relative;\n padding: 0;\n text-shadow: 1px 1px 0 white;\n font-size: 1.3em;\n}\n",""])},function(t,e,n){e=t.exports=n(28)(),e.push([t.i,"\n#password-generator {\n color: #555;\n}\n.inner-addon i {\n position: absolute;\n padding: 10px;\n pointer-events: none;\n z-index: 10;\n}\n.inner-addon {\n position: relative;\n}\n.left-addon i {\n left: 0;\n}\n.right-addon i {\n right: 0;\n}\n.left-addon input {\n padding-left: 30px;\n}\n.right-addon input {\n padding-right: 30px;\n}\n",""])},function(t,e,n){e=t.exports=n(28)(),e.push([t.i,"\n#lesspass .white-link {\n color: white;\n}\n#lesspass.card {\n border: none;\n}\n#lesspass .card-block {\n border: 1px solid rgba(0, 0, 0, 0.125);\n border-top: none;\n}\n@media (max-width: 470px) {\n#lesspass .card-block {\n border: none;\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n}\n}\n#lesspass .white-link:hover, #lesspass .white-link:focus, #lesspass .white-link:active {\n text-decoration: none;\n color: white;\n}\n#lesspass, #lesspass * {\n border-radius: 0 !important;\n}\n",""])},function(t,e,n){e=t.exports=n(28)(),e.push([t.i,"\n.white-link {\n color: white;\n}\n.white-link:hover, .white-link:focus, .white-link:active {\n text-decoration: none;\n color: white;\n}\n.fa-clickable {\n cursor: pointer;\n}\n",""])},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(188);t.exports=r},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(190),u=n(189);t.exports=r},function(t,e){e.read=function(t,e,n,r,o){var i,s,a=8*o-r-1,u=(1<>1,f=-7,l=n?o-1:0,p=n?-1:1,d=t[e+l];for(l+=p,i=d&(1<<-f)-1,d>>=-f,f+=a;f>0;i=256*i+t[e+l],l+=p,f-=8);for(s=i&(1<<-f)-1,i>>=-f,f+=r;f>0;s=256*s+t[e+l],l+=p,f-=8);if(0===i)i=1-c;else{if(i===u)return s?NaN:(d?-1:1)*(1/0);s+=Math.pow(2,r),i-=c}return(d?-1:1)*s*Math.pow(2,i-r)},e.write=function(t,e,n,r,o,i){var s,a,u,c=8*i-o-1,f=(1<>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=f):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),e+=s+l>=1?p/u:p*Math.pow(2,1-l),e*u>=2&&(s++,u/=2),s+l>=f?(a=0,s=f):s+l>=1?(a=(e*u-1)*Math.pow(2,o),s+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,o),s=0));o>=8;t[n+d]=255&a,d+=h,a/=256,o-=8);for(s=s<0;t[n+d]=255&s,d+=h,s/=256,c-=8);t[n+d-h]|=128*v}},function(t,e){function n(t){this.message=t}function r(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,i,s=0,a=0,u="";i=e.charAt(a++);~i&&(r=s%4?64*r+i:i,s++%4)?u+=String.fromCharCode(255&r>>(-2*s&6)):0)i=o.indexOf(i);return u}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.name="InvalidCharacterError",t.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||r},function(t,e,n){function r(t){return decodeURIComponent(o(t).replace(/(.)/g,function(t,e){var n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}var o=n(193);t.exports=function(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return r(e)}catch(t){return o(e)}}},function(t,e,n){"use strict";var r=n(194);t.exports=function(t,e){if("string"!=typeof t)throw new Error("Invalid token specified");e=e||{};var n=e.header===!0?0:1;return JSON.parse(r(t.split(".")[n]))}},function(t,e,n){(function(e){function r(t,e,n){var r=void 0!==n?n:{},o=r.iterations||8192,i=r.keylen||32;return d(e,t,o,i,"sha256")}function o(t,e,n){return s(t,e,n).then(function(t){var e=n.template||a(n);return u(t,e)})}function i(t,n){return new v(function(r){r(h("sha256",new e(t)).update(n).digest("hex"))})}function s(t,e,n){var r=void 0!==n?n:{},o=r.length||12,s=r.counter||1,a=e+s.toString();return i(t,a).then(function(t){return t.substring(0,o)})}function a(t){var e={lowercase:"vc",uppercase:"VC",numbers:"n",symbols:"s"},n="";return Object.keys(e).forEach(function(r){t.hasOwnProperty(r)&&t[r]&&(n+=e[r])}),n}function u(t,e){var n="";return c(t).forEach(function(t,r){var o=f(e,r);n+=l(o,t)}),n}function c(t){for(var e=[],n=0;n=r)return{value:t,entropy:e};var o=e.divmod(n.length);return t+=n[o.remainder],s(t,o.quotient,n,r)}function a(t,e,n){for(var r=0;r?@[\\]^_`{|}~"}},function(t,e,n){(function(e){function n(t,e,n){function o(e){var n=v,r=m;return v=m=void 0,k=e,y=t.apply(r,n)}function i(t){return k=t,w=setTimeout(f,e),S?o(t):y}function u(t){var n=t-x,r=t-k,o=e-n;return C?b(o,g-r):o}function c(t){var n=t-x,r=t-k;return void 0===x||n>=e||n<0||C&&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,O&&v?o(t):(v=m=void 0,y)}function p(){void 0!==w&&clearTimeout(w),k=0,v=x=m=w=void 0}function d(){return void 0===w?y:l(E())}function h(){var t=E(),n=c(t);if(v=arguments,m=this,x=t,n){if(void 0===w)return i(x);if(C)return w=setTimeout(f,e),o(x)}return void 0===w&&(w=setTimeout(f,e)),y}var v,m,g,y,w,x,k=0,S=!1,C=!1,O=!0;if("function"!=typeof t)throw new TypeError(a);return e=s(e)||0,r(n)&&(S=!!n.leading,C="maxWait"in n,g=C?_(s(n.maxWait)||0,e):g,O="trailing"in n?!!n.trailing:O),h.cancel=p,h.flush=d,h}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function o(t){return!!t&&"object"==typeof t}function i(t){return"symbol"==typeof t||o(t)&&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||d.test(t)?h(t.slice(2),n?2:8):l.test(t)?u:+t}var a="Expected a function",u=NaN,c="[object Symbol]",f=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt,v="object"==typeof e&&e&&e.Object===Object&&e,m="object"==typeof self&&self&&self.Object===Object&&self,g=v||m||Function("return this")(),y=Object.prototype,w=y.toString,_=Math.max,b=Math.min,E=function(){return g.Date.now()};t.exports=n}).call(e,n(15))},function(t,e){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){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 o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=r()?Object.assign:function(t,e){for(var r,s,a=n(t),u=1;u=6?"utf-8":"binary"}e.pbkdf2Sync=function(t,e,n,a,u){r.isBuffer(t)||(t=new r(t,s)),r.isBuffer(e)||(e=new r(e,s)),i(n,a),u=u||"sha1";var c,f=1,l=new r(a),p=new r(e.length+4);e.copy(p,0,0,e.length);for(var d,h,v=1;v<=f;v++){p.writeUInt32BE(v,e.length);var m=o(u,t).update(p).digest();c||(c=m.length,h=new r(c),f=Math.ceil(a/c),d=a-(f-1)*c),m.copy(h,0,0,c);for(var g=1;gn||e!==e)throw new TypeError("Bad key length")}},function(t,e,n){"use strict";(function(e,n){function r(){for(var t=0;t0?this.tail.next=e:this.head=e,this.tail=e,++this.length},r.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},r.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},r.prototype.concat=function(t){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var e=o.allocUnsafe(t>>>0),n=this.head,r=0;n;)n.data.copy(e,r),r+=n.data.length,n=n.next;return e}},function(t,e,n){t.exports=n(87)},function(t,e,n){(function(r){var o=function(){try{return n(29)}catch(t){}}();e=t.exports=n(88),e.Stream=o||e,e.Readable=e,e.Writable=n(58),e.Duplex=n(14),e.Transform=n(57),e.PassThrough=n(87),!r.browser&&"disable"===r.env.READABLE_STREAM&&o&&(t.exports=o)}).call(e,n(6))},function(t,e,n){t.exports=n(57)},function(t,e,n){t.exports=n(58)},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,k,S,C,O;x=y=t[0],k=w=t[1],S=_=t[2],C=b=t[3],O=E=t[4];var A;for(r=0;r<80;r+=1)A=y+e[n+p[r]]|0,A+=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],A|=0,A=f(A,h[r]),A=A+E|0,y=E,E=b,b=f(_,10),_=w,w=A,A=x+e[n+d[r]]|0,A+=r<16?c(k,S,C)+g[0]:r<32?u(k,S,C)+g[1]:r<48?a(k,S,C)+g[2]:r<64?s(k,S,C)+g[3]:i(k,S,C)+g[4],A|=0,A=f(A,v[r]),A=A+O|0,x=O,O=C,C=f(S,10),S=k,k=A;A=t[1]+_+C|0,t[1]=t[2]+b+O|0,t[2]=t[3]+E+x|0,t[3]=t[4]+y+k|0,t[4]=t[0]+w+S|0,t[0]=A}function i(t,e,n){return t^e^n}function s(t,e,n){return t&e|~t&n}function a(t,e,n){return(t|~e)^n}function u(t,e,n){return t&n|e&~n}function c(t,e,n){return t^(e|~n)}function f(t,e){return t<>>32-e}function l(t){var i=[1732584193,4023233417,2562383102,271733878,3285377520];"string"==typeof t&&(t=new e(t,"utf8"));var s=n(t),a=8*t.length,u=8*t.length;s[a>>>5]|=128<<24-a%32,s[(a+64>>>9<<4)+14]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8);for(var c=0;c>>24)|4278255360&(f<<24|f>>>8)}var l=r(i);return new e(l)}var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],d=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],h=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],m=[0,1518500249,1859775393,2400959708,2840853838],g=[1352829926,1548603684,1836072691,2053994217,0];t.exports=l}).call(e,n(0).Buffer)},function(t,e){function n(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName)t.focus(),t.setSelectionRange(0,t.value.length),e=t.value;else{t.hasAttribute("contenteditable")&&t.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(t),n.removeAllRanges(),n.addRange(r),e=n.toString()}return e}t.exports=n},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n>>27}function i(t){return t<<30|t>>>2}function s(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}var a=n(1),u=n(16),c=[1518500249,1859775393,-1894007588,-899497514],f=new Array(80);a(r,u),r.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,a=0|this._c,u=0|this._d,f=0|this._e,l=0;l<16;++l)e[l]=t.readInt32BE(4*l);for(;l<80;++l)e[l]=e[l-3]^e[l-8]^e[l-14]^e[l-16];for(var p=0;p<80;++p){var d=~~(p/20),h=o(n)+s(d,r,a,u)+f+e[p]+c[d]|0;f=u,u=a,a=i(r),r=n,n=h}this._a=n+this._a|0,this._b=r+this._b|0,this._c=a+this._c|0,this._d=u+this._d|0,this._e=f+this._e|0},r.prototype._hash=function(){var t=new e(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=r}).call(e,n(0).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=l,c.call(this,64,56)}function o(t){return t<<1|t>>>31}function i(t){return t<<5|t>>>27}function s(t){return t<<30|t>>>2}function a(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}var u=n(1),c=n(16),f=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);u(r,c),r.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,u=0|this._c,c=0|this._d,l=0|this._e,p=0;p<16;++p)e[p]=t.readInt32BE(4*p);for(;p<80;++p)e[p]=o(e[p-3]^e[p-8]^e[p-14]^e[p-16]);for(var d=0;d<80;++d){var h=~~(d/20),v=i(n)+a(h,r,u,c)+l+e[d]+f[h]|0;l=c,c=u,u=s(r),r=n,n=v}this._a=n+this._a|0,this._b=r+this._b|0,this._c=u+this._c|0,this._d=c+this._d|0,this._e=l+this._e|0},r.prototype._hash=function(){var t=new e(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=r}).call(e,n(0).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=a,s.call(this,64,56)}var o=n(1),i=n(89),s=n(16),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(90),s=n(16),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;r-1:t.checked},on:{change:function(e){var n=t.checked,r=e.target,o=!!r.checked;if(Array.isArray(n)){var i=null,s=t._i(n,i);o?s<0&&(t.checked=n.concat(i)):s>-1&&(t.checked=n.slice(0,s).concat(n.slice(s+1)))}else t.checked=o}}}),t._v(" "),e("label",{attrs:{for:"version-button"}})])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this;t.$createElement,t._c;return t._m(0)},staticRenderFns:[function(){var t=this,e=(t.$createElement,t._c);return e("div",{staticStyle:{display:"none"}},[e("label",{attrs:{for:"username"}},[e("input",{attrs:{type:"text",id:"username",name:"username",autocomplete:"username"}})]),t._v(" "),e("label",{attrs:{for:"password"}},[e("input",{attrs:{type:"password",id:"password",name:"password",autocomplete:"current-password"}})])])}]}},function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("form",{on:{submit:function(e){e.preventDefault(),t.signIn(e)}}},[e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"inner-addon left-addon"},[e("i",{staticClass:"fa fa-user"}),t._v(" "),e("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(" "),e("small",{staticClass:"form-text text-muted text-danger"},[t.errors.userNameAlreadyExist?e("span",[t._v("Someone already use that username. Do you want to sign in ?")]):t._e(),t._v(" "),t.errors.emailInvalid?e("span",[t._v("Please enter a valid email")]):t._e(),t._v(" "),t.errors.emailRequired?e("span",[t._v("An email is required")]):t._e()])])])]),t._v(" "),e("div",{staticClass:"form-group"},[e("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(" "),e("label",{staticClass:"custom-control custom-checkbox hint--top hint--medium mb-0",attrs:{"data-hint":"Check me to generate encrypted password for lesspass.com"}},[e("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:{change: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(" "),e("span",{staticClass:"custom-control-indicator"}),t._v(" "),e("span",{staticClass:"custom-control-description text-muted"},[t._v("\n encrypt before use\n ")])])],1),t._v(" "),e("div",{staticClass:"form-group row justify-content-between no-gutters"},[e("div",{staticClass:"col col-auto"},[e("button",{staticClass:"btn",class:{"btn-warning":1===t.version,"btn-primary":2===t.version},attrs:{id:"signInButton",type:"submit"}},[t._v("\n Sign In\n ")]),t._v(" "),e("button",{staticClass:"btn btn-secondary",attrs:{id:"registerButton",type:"button"},on:{click:t.register}},[t._v("\n Register\n ")])]),t._v(" "),e("div",{staticClass:"col col-auto"},[e("version-button",{attrs:{version:t.version}}),t._v(" "),e("options-button",{nativeOn:{click:function(e){t.showOptions=!t.showOptions}}})],1)]),t._v(" "),t.showError?e("div",{staticClass:"form-group"},[e("div",{staticClass:"alert alert-danger",attrs:{role:"alert"}},[t._v("\n "+t._s(t.errorMessage)+"\n ")])]):t._e(),t._v(" "),t.showOptions||t.errors.baseURLRequired?e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-12 col-sm-8"},[e("label",{attrs:{for:"baseURL"}},[t._v("LessPass Database Url")]),t._v(" "),e("div",{staticClass:"inner-addon left-addon"},[e("i",{staticClass:"fa fa-globe"}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.baseURL,expression:"baseURL"}],staticClass:"form-control",attrs:{id:"baseURL",type:"text",placeholder:"https://example.org"},domProps:{value:t._s(t.baseURL)},on:{input:function(e){e.target.composing||(t.baseURL=e.target.value)}}}),t._v(" "),t.errors.baseURLRequired?e("small",{staticClass:"form-text text-danger"},[t._v("\n A LessPass database url is required\n ")]):t._e()])])]):t._e(),t._v(" "),e("div",{staticClass:"form-group mb-0"},[e("router-link",{attrs:{to:{name:"passwordReset"}}},[e("small",[t._v("Forgot your password?")])])],1)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return t.fingerprint?e("span",{staticClass:"input-group-btn"},[e("button",{staticClass:"btn",attrs:{id:"fingerprint",type:"button",tabindex:"-1"}},[e("small",{staticClass:"hint--left",attrs:{"aria-label":"master password fingerprint"}},[e("i",{staticClass:"fa fa-fw",class:[t.icon1],style:{color:t.color1}}),t._v(" "),e("i",{staticClass:"fa fa-fw",class:[t.icon2],style:{color:t.color2}}),t._v(" "),e("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,t._c);return e("div",{attrs:{id:"passwords"}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col"},[e("div",{staticClass:"inner-addon left-addon"},[e("i",{staticClass:"fa fa-search"}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.searchQuery,expression:"searchQuery"}],staticClass:"form-control",attrs:{name:"search",placeholder:"Search"},domProps:{value:t._s(t.searchQuery)},on:{input:function(e){e.target.composing||(t.searchQuery=e.target.value)}}})])])]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col"},[e("table",{staticClass:"table"},[e("tbody",t._l(t.filteredPasswords,function(n){return e("tr",[e("td",{staticClass:"col-5"},[e("ul",{staticClass:"list-unstyled mb-0"},[e("li",[e("router-link",{attrs:{to:{name:"password",params:{id:n.id}}}},[t._v("\n "+t._s(n.site)+"\n ")])],1),t._v(" "),e("li",[t._v("\n "+t._s(n.login)+"\n ")])])]),t._v(" "),e("td",{staticClass:"col-7 text-center"},[e("delete-button",{staticClass:"float-right mt-2",attrs:{confirmText:"Are you sure you want to delete this password profile?",confirmButton:"Sure",cancelButton:"Oups no!"},on:{remove:function(e){t.deletePassword(n)}}})],1)])}))])])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("div",{staticClass:"inner-addon left-addon input-group",attrs:{id:"masterPassword"}},[e("label",{staticClass:"sr-only",attrs:{for:"password"}},[t._v("Master Password")]),t._v(" "),e("i",{staticClass:"fa fa-lock"}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],ref:"password",staticClass:"form-control",attrs:{id:"password",name:"password",type:"password",placeholder:"Master password",autocorrect:"off",autocapitalize:"off"},domProps:{value:t._s(t.password)},on:{input:[function(e){e.target.composing||(t.password=e.target.value)},function(e){t.updatePassword(e.target.value)}],keyup:function(e){t._k(e.keyCode,"enter",13)||t.triggerEnterMethod(e)}}}),t._v(" "),e("fingerprint",{attrs:{fingerprint:t.fingerprint},nativeOn:{click:function(e){t.togglePasswordType(t.$refs.password)}}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("form",{attrs:{id:"password-generator"}},[e("div",{staticClass:"form-group"},[e("div",{staticClass:"inner-addon left-addon"},[e("label",{staticClass:"sr-only",attrs:{for:"site"}},[t._v("Site")]),t._v(" "),e("i",{staticClass:"fa fa-globe"}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.password.site,expression:"password.site"}],ref:"site",staticClass:"form-control",attrs:{id:"site",name:"site",type:"text",placeholder:"Site",list:"savedSites",autocorrect:"off",autocapitalize:"none"},domProps:{value:t._s(t.password.site)},on:{input:function(e){e.target.composing||(t.password.site=e.target.value)}}}),t._v(" "),e("datalist",{attrs:{id:"savedSites"}},t._l(t.passwords,function(n){return e("option",[t._v("\n "+t._s(n.site)+" | "+t._s(n.login)+"\n ")])}))])]),t._v(" "),e("remove-auto-complete"),t._v(" "),e("div",{staticClass:"form-group"},[e("div",{staticClass:"inner-addon left-addon"},[e("label",{staticClass:"sr-only",attrs:{for:"login"}},[t._v("Login")]),t._v(" "),e("i",{staticClass:"fa fa-user"}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.password.login,expression:"password.login"}],ref:"login",staticClass:"form-control",attrs:{id:"login",name:"login",type:"text",placeholder:"Login",autocomplete:"off",autocorrect:"off",autocapitalize:"none"},domProps:{value:t._s(t.password.login)},on:{input:function(e){e.target.composing||(t.password.login=e.target.value)}}})])]),t._v(" "),e("div",{staticClass:"form-group"},[e("master-password",{directives:[{name:"model",rawName:"v-model",value:t.masterPassword,expression:"masterPassword"}],attrs:{keyupEnter:t.generatePassword},domProps:{value:t.masterPassword},on:{input:function(e){t.masterPassword=e}}})],1),t._v(" "),e("div",{staticClass:"form-group row justify-content-between no-gutters"},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.generatedPassword,expression:"!generatedPassword"}],staticClass:"col col-auto"},[e("div",{staticStyle:{display:"inline-block"}},[e("button",{staticClass:"btn",class:{"btn-warning":1===t.password.version,"btn-primary":2===t.password.version},attrs:{type:"button"},on:{click:t.generatePassword}},[t.generatingPassword?t._e():e("span",[t._v("Generate")]),t._v(" "),t.generatingPassword?e("span",[t._v("Generating...")]):t._e()])])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.generatedPassword,expression:"generatedPassword"}],staticClass:"col-8"},[e("div",{staticClass:"input-group"},[e("span",{staticClass:"input-group-btn"},[e("button",{ref:"copyPasswordButton",staticClass:"btn",class:{"btn-warning":1===t.password.version,"btn-primary":2===t.password.version},attrs:{id:"copyPasswordButton",type:"button","data-clipboard-text":""}},[e("i",{staticClass:"fa fa-clipboard",attrs:{"aria-hidden":"true"}})])]),t._v(" "),e("input",{ref:"generatedPassword",staticClass:"form-control",class:{"btn-outline-warning":1===t.password.version,"btn-outline-primary":2===t.password.version},attrs:{type:"password",tabindex:"-1"},domProps:{value:t.generatedPassword}}),t._v(" "),e("span",{staticClass:"input-group-btn"},[e("button",{staticClass:"btn",class:{"btn-outline-warning":1===t.password.version,"btn-outline-primary":2===t.password.version},attrs:{id:"revealGeneratedPassword",type:"button"},on:{click:function(e){t.togglePasswordType(t.$refs.generatedPassword)}}},[e("i",{staticClass:"fa fa-eye",attrs:{"aria-hidden":"true"}})])])])]),t._v(" "),e("div",{staticClass:"col col-auto"},[e("version-button",{staticClass:"mr-1",attrs:{version:t.password.version}}),t._v(" "),e("options-button",{nativeOn:{click:function(e){t.showOptions=!t.showOptions}}})],1)]),t._v(" "),t.showOptions?e("div",{staticClass:"form-group py-1 mb-0"},[e("label",{staticClass:"custom-control custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.password.lowercase,expression:"password.lowercase"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"lowercase"},domProps:{checked:Array.isArray(t.password.lowercase)?t._i(t.password.lowercase,null)>-1:t.password.lowercase},on:{change:function(e){var n=t.password.lowercase,r=e.target,o=!!r.checked;if(Array.isArray(n)){var i=null,s=t._i(n,i);o?s<0&&(t.password.lowercase=n.concat(i)):s>-1&&(t.password.lowercase=n.slice(0,s).concat(n.slice(s+1)))}else t.password.lowercase=o}}}),t._v(" "),e("span",{staticClass:"custom-control-indicator"}),t._v(" "),e("span",{staticClass:"custom-control-description"},[t._v("abc")])]),t._v(" "),e("label",{staticClass:"custom-control custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.password.uppercase,expression:"password.uppercase"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"uppercase"},domProps:{checked:Array.isArray(t.password.uppercase)?t._i(t.password.uppercase,null)>-1:t.password.uppercase},on:{change:function(e){var n=t.password.uppercase,r=e.target,o=!!r.checked;if(Array.isArray(n)){var i=null,s=t._i(n,i);o?s<0&&(t.password.uppercase=n.concat(i)):s>-1&&(t.password.uppercase=n.slice(0,s).concat(n.slice(s+1)))}else t.password.uppercase=o}}}),t._v(" "),e("span",{staticClass:"custom-control-indicator"}),t._v(" "),e("span",{staticClass:"custom-control-description"},[t._v("ABC")])]),t._v(" "),e("label",{staticClass:"custom-control custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.password.numbers,expression:"password.numbers"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"numbers"},domProps:{checked:Array.isArray(t.password.numbers)?t._i(t.password.numbers,null)>-1:t.password.numbers},on:{change:function(e){var n=t.password.numbers,r=e.target,o=!!r.checked;if(Array.isArray(n)){var i=null,s=t._i(n,i);o?s<0&&(t.password.numbers=n.concat(i)):s>-1&&(t.password.numbers=n.slice(0,s).concat(n.slice(s+1)))}else t.password.numbers=o}}}),t._v(" "),e("span",{staticClass:"custom-control-indicator"}),t._v(" "),e("span",{staticClass:"custom-control-description"},[t._v("123")])]),t._v(" "),e("label",{staticClass:"custom-control custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.password.symbols,expression:"password.symbols"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"symbols"},domProps:{checked:Array.isArray(t.password.symbols)?t._i(t.password.symbols,null)>-1:t.password.symbols},on:{change:function(e){var n=t.password.symbols,r=e.target,o=!!r.checked;if(Array.isArray(n)){var i=null,s=t._i(n,i);o?s<0&&(t.password.symbols=n.concat(i)):s>-1&&(t.password.symbols=n.slice(0,s).concat(n.slice(s+1)))}else t.password.symbols=o}}}),t._v(" "),e("span",{staticClass:"custom-control-indicator"}),t._v(" "),e("span",{staticClass:"custom-control-description"},[t._v("%!@")])])]):t._e(),t._v(" "),t.showOptions?e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-6 col-sm-4"},[e("label",{attrs:{for:"passwordLength"}},[t._v("\n Length\n ")]),t._v(" "),e("div",{staticClass:"input-group input-group-sm"},[e("span",{staticClass:"input-group-btn",on:{click:function(e){e.preventDefault(),t.decrementPasswordLength(e)}}},[t._m(0)]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.password.length,expression:"password.length"}],staticClass:"form-control",attrs:{type:"number",id:"passwordLength",min:"5",max:"35"},domProps:{value:t._s(t.password.length)},on:{input:function(e){e.target.composing||(t.password.length=t._n(e.target.value))},blur:function(e){t.$forceUpdate()}}}),t._v(" "),e("span",{staticClass:"input-group-btn",on:{click:function(e){e.preventDefault(),t.incrementPasswordLength(e)}}},[t._m(1)])])]),t._v(" "),e("div",{staticClass:"col-6 col-sm-4"},[e("label",{attrs:{for:"passwordCounter"}},[t._v("\n Counter\n ")]),t._v(" "),e("div",{staticClass:"input-group input-group-sm"},[e("span",{staticClass:"input-group-btn",on:{click:function(e){e.preventDefault(),t.decrementCounter(e)}}},[t._m(2)]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.password.counter,expression:"password.counter"}],staticClass:"form-control",attrs:{type:"number",id:"passwordCounter",min:"1"},domProps:{value:t._s(t.password.counter)},on:{input:function(e){e.target.composing||(t.password.counter=t._n(e.target.value))},blur:function(e){t.$forceUpdate()}}}),t._v(" "),e("span",{staticClass:"input-group-btn",on:{click:function(e){e.preventDefault(),t.incrementCounter(e)}}},[t._m(3)])])])]):t._e(),t._v(" "),t.showOptions?e("div",{staticClass:"form-group"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button"},on:{click:t.saveDefault}},[t._v("\n save default\n ")]),t._v(" "),t.optionsSaved?e("span",{staticClass:"text-success"},[e("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}})]):t._e()]):t._e(),t._v(" "),t.showError?e("div",{staticClass:"form-group"},[e("div",{staticClass:"alert alert-danger",attrs:{role:"alert"}},[t._v("\n site, login and master password fields are mandatory\n ")])]):t._e(),t._v(" "),1!==t.version||t.showError||t.showOptions?t._e():e("div",{staticClass:"form-group mb-0"},[e("div",{staticClass:"alert alert-warning mb-0",attrs:{role:"alert"}},[e("small",[e("i",{staticClass:"fa fa-exclamation-triangle",attrs:{"aria-hidden":"true"}}),t._v("\n You are using a deprecated version of LessPass.\n The default version will be version 2 in\n "),e("strong",{staticClass:"hint--right",attrs:{"aria-label":"10 jan 2017"}},[t._v(t._s(t.getDayBeforeV2())+" days")]),t._v(".\n You can continue to use version 1, but we strongly advise you to migrate your passwords to\n version 2.\n ")])])])],1)},staticRenderFns:[function(){var t=this,e=(t.$createElement,t._c);return e("button",{staticClass:"btn btn-secondary",attrs:{type:"button",tabindex:"-1"}},[e("i",{staticClass:"fa fa-minus",attrs:{"aria-hidden":"true"}})])},function(){var t=this,e=(t.$createElement,t._c);return e("button",{staticClass:"btn btn-secondary",attrs:{type:"button",tabindex:"-1"}},[e("i",{staticClass:"fa fa-plus",attrs:{"aria-hidden":"true"}})])},function(){var t=this,e=(t.$createElement,t._c);return e("button",{staticClass:"btn btn-secondary",attrs:{type:"button",tabindex:"-1"}},[e("i",{staticClass:"fa fa-minus",attrs:{"aria-hidden":"true"}})])},function(){var t=this,e=(t.$createElement,t._c);return e("button",{staticClass:"btn btn-secondary",attrs:{type:"button",tabindex:"-1"}},[e("i",{staticClass:"fa fa-plus",attrs:{"aria-hidden":"true"}})])}]}},function(t,e){t.exports={render:function(){var t=this;t.$createElement,t._c;return t._m(0)},staticRenderFns:[function(){var t=this,e=(t.$createElement,t._c);return e("button",{staticClass:"btn btn-secondary px-2 px-sm-3",attrs:{type:"button"}},[e("i",{staticClass:"fa fa-sliders",attrs:{"aria-hidden":"true"}})])}]}},function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("div",{staticClass:"card",class:{v1:1===t.version,v2:2===t.version},staticStyle:{"max-width":"470px"},attrs:{id:"lesspass"}},[e("lesspass-menu"),t._v(" "),e("div",{staticClass:"card-block"},[e("router-view")],1)],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("form",{on:{submit:function(e){e.preventDefault(),t.resetPassword(e)}}},[t.showError?e("div",{staticClass:"form-group row"},[e("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?e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-12 text-muted text-success"},[t._v("\n If a matching account was found an email was sent to allow you to reset your password.\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"inner-addon left-addon"},[e("i",{staticClass:"fa fa-user"}),t._v(" "),e("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(" "),e("small",{staticClass:"form-text text-muted text-danger"},[t.emailRequired?e("span",[t._v("An email is required")]):t._e()])])])]),t._v(" "),e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-12"},[e("button",{staticClass:"btn",class:{"btn-warning":1===t.version,"btn-primary":2===t.version},attrs:{id:"loginButton",type:"submit"}},[t.loading?e("span",[e("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,t._c);return e("div",{attrs:{id:"delete-button"}},[t.confirm?e("div",{staticClass:"form-group has-danger"},[e("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(" "),e("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(" "),e("div",{staticClass:"form-control-feedback"},[t._v(t._s(t.confirmText))])]):t._e(),t._v(" "),t.confirm?t._e():e("button",{staticClass:"btn btn-outline-danger btn-sm",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.confirm=!0}}},[e("i",{staticClass:"fa fa-trash fa-fw"})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("form",{on:{submit:function(e){e.preventDefault(),t.resetPasswordConfirm(e)}}},[t.showError?e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-12 text-muted text-danger"},[t._v("\n "+t._s(t.errorMessage)+"\n ")])]):t._e(),t._v(" "),t.successMessage?e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-12 text-muted text-success"},[t._v("\n You're password was reset successfully.\n "),e("router-link",{attrs:{to:{name:"login"}}},[t._v("Do you want to login ?")])],1)]):t._e(),t._v(" "),e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"inner-addon left-addon"},[e("i",{staticClass:"fa fa-lock"}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.new_password,expression:"new_password"}],staticClass:"form-control",attrs:{id:"new-password",name:"new-password",type:"password",autocomplete:"new-password",placeholder:"New Password"},domProps:{value:t._s(t.new_password)},on:{input:function(e){e.target.composing||(t.new_password=e.target.value)}}}),t._v(" "),e("small",{staticClass:"form-text text-muted text-danger"},[t.passwordRequired?e("span",[t._v("A password is required")]):t._e()])])])]),t._v(" "),e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-12"},[e("button",{staticClass:"btn",class:{"btn-warning":1===t.version,"btn-primary":2===t.version},attrs:{id:"loginButton",type:"submit"}},[t._v("\n Reset my password\n ")])])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=(t.$createElement,t._c);return e("div",{attrs:{id:"menu"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isAuthenticated,expression:"isAuthenticated"}],staticClass:"card-header",class:{"card-warning":1===t.version,"card-primary":2===t.version}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-6"},[e("router-link",{staticClass:"white-link",attrs:{to:{name:"home"}}},[t._v("LessPass")]),t._v(" "),e("span",{staticClass:"white-link",on:{click:t.saveOrUpdatePassword}},["DIRTY"==t.passwordStatus?e("i",{staticClass:"fa fa-save ml-1 fa-clickable"}):t._e()]),t._v(" "),"CREATED"==t.passwordStatus||"UPDATED"==t.passwordStatus?e("span",{staticClass:"text-success"},[e("i",{staticClass:"fa fa-check ml-1 text-success"})]):t._e()],1),t._v(" "),e("div",{staticClass:"col-6 text-right"},[e("router-link",{staticClass:"white-link ml-1",attrs:{to:{name:"passwords"}}},[e("i",{staticClass:"fa fa-key",attrs:{"aria-hidden":"true"}})]),t._v(" "),e("button",{staticClass:"white-link ml-1 btn btn-link p-0 m-0",attrs:{type:"button"},on:{click:t.logout}},[e("i",{staticClass:"fa fa-sign-out",attrs:{"aria-hidden":"true"}})])],1)])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isGuest,expression:"isGuest"}],staticClass:"card-header",class:{"card-warning":1===t.version,"card-primary":2===t.version}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-6"},[e("router-link",{staticClass:"white-link",attrs:{to:{name:"home"}}},[t._v("LessPass")])],1),t._v(" "),e("div",{staticClass:"col-6 text-right"},[e("router-link",{staticClass:"white-link pl-1",attrs:{to:{name:"login"}}},[e("i",{staticClass:"fa fa-user-secret fa-clickable",attrs:{"aria-hidden":"true"}})])],1)])])])},staticRenderFns:[]}},function(t,e,n){"use strict";(function(e){function n(t,e){if(!t)throw new Error("[vue-router] "+e)}function r(t,e){t||"undefined"!=typeof console&&console.warn("[vue-router] "+e)}function o(t,n){if(void 0===n&&(n={}),t){var o;try{o=i(t)}catch(t){"production"!==e.env.NODE_ENV&&r(!1,t.message),o={}}for(var s in n)o[s]=n[s];return o}return n}function i(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=wt(n.shift()),o=n.length>0?wt(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 s(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return yt(e);if(Array.isArray(n)){var r=[];return n.slice().forEach(function(t){void 0!==t&&(null===t?r.push(yt(e)):r.push(yt(e)+"="+yt(t)))}),r.join("&")}return yt(e)+"="+yt(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function a(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:c(e),matched:t?u(t):[]};return n&&(r.redirectedFrom=c(n)),Object.freeze(r)}function u(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function c(t){var e=t.path,n=t.query;void 0===n&&(n={});var r=t.hash;return void 0===r&&(r=""),(e||"/")+s(n)+r}function f(t,e){return e===_t?t===e:!!e&&(t.path&&e.path?t.path.replace(bt,"")===e.path.replace(bt,"")&&t.hash===e.hash&&l(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&l(t.query,e.query)&&l(t.params,e.params)))}function l(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 p(t,e){return 0===t.path.indexOf(e.path.replace(/\/$/,""))&&(!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 h(t){if(!(t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||0!==t.button)){var e=t.target.getAttribute("target");if(!/\b_blank\b/i.test(e))return t.preventDefault(),!0}}function v(t){if(t)for(var e,n=0;n=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function w(t){return t.replace(/\/\//g,"/")}function _(t){var e=Object.create(null),n=Object.create(null);return t.forEach(function(t){b(e,n,t)}),{pathMap:e,nameMap:n}}function b(t,o,i,s,a){var u=i.path,c=i.name;"production"!==e.env.NODE_ENV&&(n(null!=u,'"path" is required in a route configuration.'),n("string"!=typeof i.component,'route config "component" for path: '+String(u||c)+" cannot be a string id. Use an actual component instead."));var f={path:E(u,s),components:i.components||{default:i.component},instances:{},name:c,parent:s,matchAs:a,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{}};i.children&&("production"!==e.env.NODE_ENV&&i.name&&i.children.some(function(t){return/^\/?$/.test(t.path)})&&r(!1,"Named Route '"+i.name+"' has a default child route.\n When navigating to this named route (:to=\"{name: '"+i.name+"'\"), the default child route will not be rendered.\n Remove the name from this route and use the name of the default child route for named links instead."),i.children.forEach(function(e){b(t,o,e,f)})),void 0!==i.alias&&(Array.isArray(i.alias)?i.alias.forEach(function(e){b(t,o,{path:e},s,f.path)}):b(t,o,{path:i.alias},s,f.path)),t[f.path]||(t[f.path]=f),c&&(o[c]?"production"!==e.env.NODE_ENV&&r(!1,'Duplicate named routes definition: { name: "'+c+'", path: "'+f.path+'" }'):o[c]=f)}function E(t,e){return t=t.replace(/\/$/,""),"/"===t[0]?t:null==e?t:w(e.path+"/"+t)}function x(t,e){for(var n,r=[],o=0,i=0,s="",a=e&&e.delimiter||"/";null!=(n=Rt.exec(t));){var u=n[0],c=n[1],f=n.index;if(s+=t.slice(i,f),i=f+u.length,c)s+=c[1];else{var l=t[i],p=n[2],d=n[3],h=n[4],v=n[5],m=n[6],g=n[7];s&&(r.push(s),s="");var y=null!=p&&null!=l&&l!==p,w="+"===m||"*"===m,_="?"===m||"*"===m,b=n[2]||a,E=h||v;r.push({name:d||o++,prefix:p||"",delimiter:b,optional:_,repeat:w,partial:y,asterisk:!!g,pattern:E?T(E):g?".*":"[^"+A(b)+"]+?"})}}return i-1&&(r.params[a]=e.params[a]);if(i)return r.path=I(i.path,r.params,'named route "'+o+'"'),u(i,r,n)}else if(r.path){r.params={};for(var c in f)if(q(c,r.params,r.path))return u(f[c],r,n)}return u(null,r)}function i(t,i){var s=t.redirect,c="function"==typeof s?s(a(t,i)):s;if("string"==typeof c&&(c={path:c}),!c||"object"!=typeof c)return"production"!==e.env.NODE_ENV&&r(!1,"invalid redirect option: "+JSON.stringify(c)),u(null,i);var f=c,p=f.name,d=f.path,h=i.query,v=i.hash,m=i.params;if(h=f.hasOwnProperty("query")?f.query:h,v=f.hasOwnProperty("hash")?f.hash:v,m=f.hasOwnProperty("params")?f.params:m,p){var g=l[p];return"production"!==e.env.NODE_ENV&&n(g,'redirect failed: named route "'+p+'" not found.'),o({_normalized:!0,name:p,query:h,hash:v,params:m},void 0,i)}if(d){var y=V(d,t),w=I(y,m,'redirect route with path "'+y+'"');return o({_normalized:!0,path:w,query:h,hash:v},void 0,i)}return r(!1,"invalid redirect option: "+JSON.stringify(c)),u(null,i)}function s(t,e,n){var r=I(n,e.params,'aliased route with path "'+n+'"'),i=o({_normalized:!0,path:r});if(i){var s=i.matched,a=s[s.length-1];return e.params=i.params,u(a,e)}return u(null,e)}function u(t,e,n){return t&&t.redirect?i(t,n||e):t&&t.matchAs?s(t,e,t.matchAs):a(t,e,n)}var c=_(t),f=c.pathMap,l=c.nameMap;return o}function q(t,e,n){var r=B(t),o=r.regexp,i=r.keys,s=n.match(o);if(!s)return!1;if(!e)return!0;for(var a=1,u=s.length;a=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function z(t){if(!t)if(Nt){var e=document.querySelector("base");t=e?e.getAttribute("href"):"/"}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function W(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e:0)+"#"+t)}function vt(t,e,n){var r="hash"===n?"#"+e:e;return t?w(t+"/"+r):r}var mt,gt={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,i=e.data;i.routerView=!0;for(var s=o.$route,a=o._routerViewCache||(o._routerViewCache={}),u=0,c=!1;o;)o.$vnode&&o.$vnode.data.routerView&&u++,o._inactive&&(c=!0),o=o.$parent;i.routerViewDepth=u;var f=s.matched[u];if(!f)return t();var l=n.name,p=c?a[l]:a[l]=f.components[l];if(!c){var d=i.hook||(i.hook={});d.init=function(t){f.instances[l]=t.child},d.prepatch=function(t,e){f.instances[l]=e.child},d.destroy=function(t){f.instances[l]===t.child&&(f.instances[l]=void 0)}}return t(p,i,r)}},yt=encodeURIComponent,wt=decodeURIComponent,_t=a(null,{path:"/"}),bt=/\/$/,Et=[String,Object],xt={name:"router-link",props:{to:{type:Et,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),i=o.normalizedTo,s=o.resolved,u=o.href,c={},l=this.activeClass||n.options.linkActiveClass||"router-link-active",d=i.path?a(null,i):s;c[l]=this.exact?f(r,d):p(r,d);var m=function(t){h(t)&&(e.replace?n.replace(i):n.push(i))},g={click:h};Array.isArray(this.event)?this.event.forEach(function(t){g[t]=m}):g[this.event]=m;var y={class:c};if("a"===this.tag)y.on=g,y.attrs={href:u};else{var w=v(this.$slots.default);if(w){w.isStatic=!1;var _=mt.util.extend,b=w.data=_({},w.data);b.on=g;var E=w.data.attrs=_({},w.data.attrs);E.href=u}else y.on=g}return t(this.tag,y,this.$slots.default)}},kt=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},St=kt,Ct=L,Ot=x,At=k,Tt=O,Pt=D,Rt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Ct.parse=Ot,Ct.compile=At,Ct.tokensToFunction=Tt,Ct.tokensToRegExp=Pt;var jt=Object.create(null),Mt=Object.create(null),Nt="undefined"!=typeof window,Dt=Nt&&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)}(),Lt=function(t,e){this.router=t,this.base=z(e),this.current=_t,this.pending=null};Lt.prototype.listen=function(t){this.cb=t},Lt.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()},n)},Lt.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current,i=function(){n&&n()};if(f(t,o))return this.ensureURL(),i();var s=W(this.current.matched,t.matched),a=s.deactivated,u=s.activated,c=[].concat(G(a),this.router.beforeHooks,u.map(function(t){return t.beforeEnter}),Q(u));this.pending=t;var l=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)})};H(c,l,function(){var n=[],o=J(u,n,function(){return r.current===t});H(o,l,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()})})))})})},Lt.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 Bt=Object.create(null),It=function(){return String(Date.now())},$t=It(),Ut=function(t){function r(e,n){var r=this;t.call(this,e,n);var o=e.options.scrollBehavior;window.addEventListener("popstate",function(t){$t=t.state&&t.state.key;var e=r.current;r.transitionTo(ut(r.base),function(t){o&&r.handleScroll(t,e,!0)})}),o&&window.addEventListener("scroll",function(){nt($t)})}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.go=function(t){window.history.go(t)},r.prototype.push=function(t){var e=this,n=this.current;this.transitionTo(t,function(t){ct(w(e.base+t.fullPath)),e.handleScroll(t,n,!1)})},r.prototype.replace=function(t){var e=this,n=this.current;this.transitionTo(t,function(t){ft(w(e.base+t.fullPath)),e.handleScroll(t,n,!1)})},r.prototype.ensureURL=function(t){if(ut(this.base)!==this.current.fullPath){var e=w(this.base+this.current.fullPath);t?ct(e):ft(e)}},r.prototype.handleScroll=function(t,r,o){var i=this.router;if(i.app){var s=i.options.scrollBehavior;s&&("production"!==e.env.NODE_ENV&&n("function"==typeof s,"scrollBehavior must be a function"),i.app.$nextTick(function(){var e=rt($t),n=s(t,r,o?e:null);if(n){var i="object"==typeof n;if(i&&"string"==typeof n.selector){var a=document.querySelector(n.selector);a?e=ot(a):it(n)&&(e=st(n))}else i&&it(n)&&(e=st(n));e&&window.scrollTo(e.x,e.y)}}))}},r}(Lt),Ft=function(t){function e(e,n,r){t.call(this,e,n),r&&this.checkFallback()||lt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.checkFallback=function(){var t=ut(this.base);if(!/^\/#/.test(t))return window.location.replace(w(this.base+"/#"+t)),!0},e.prototype.onHashChange=function(){lt()&&this.transitionTo(pt(),function(t){ht(t.fullPath)})},e.prototype.push=function(t){this.transitionTo(t,function(t){dt(t.fullPath)})},e.prototype.replace=function(t){this.transitionTo(t,function(t){ht(t.fullPath)})},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;pt()!==e&&(t?dt(e):ht(e))},e}(Lt),qt=function(t){function e(e){t.call(this,e),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){var e=this;this.transitionTo(t,function(t){e.stack=e.stack.slice(0,e.index+1).concat(t),e.index++})},e.prototype.replace=function(t){var e=this;this.transitionTo(t,function(t){e.stack=e.stack.slice(0,e.index).concat(t)})},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.ensureURL=function(){},e}(Lt),Vt=function(t){void 0===t&&(t={}),this.app=null,this.options=t,this.beforeHooks=[],this.afterHooks=[],this.match=F(t.routes||[]);var r=t.mode||"hash";switch(this.fallback="history"===r&&!Dt,this.fallback&&(r="hash"),Nt||(r="abstract"),this.mode=r,r){case"history":this.history=new Ut(this,t.base);break;case"hash":this.history=new Ft(this,t.base,this.fallback);break;case"abstract":this.history=new qt(this);break;default:"production"!==e.env.NODE_ENV&&n(!1,"invalid mode: "+r)}},Ht={currentRoute:{}};Ht.currentRoute.get=function(){return this.history&&this.history.current},Vt.prototype.init=function(t){var r=this;"production"!==e.env.NODE_ENV&&n(m.installed,"not installed. Make sure to call `Vue.use(VueRouter)` before creating root instance."),this.app=t;var o=this.history;if(o instanceof Ut)o.transitionTo(ut(o.base));else if(o instanceof Ft){var i=function(){window.addEventListener("hashchange",function(){o.onHashChange()})};o.transitionTo(pt(),i,i)}o.listen(function(t){r.app._route=t})},Vt.prototype.beforeEach=function(t){this.beforeHooks.push(t)},Vt.prototype.afterEach=function(t){this.afterHooks.push(t)},Vt.prototype.push=function(t){this.history.push(t)},Vt.prototype.replace=function(t){this.history.replace(t)},Vt.prototype.go=function(t){this.history.go(t)},Vt.prototype.back=function(){this.go(-1)},Vt.prototype.forward=function(){this.go(1)},Vt.prototype.getMatchedComponents=function(t){var e=t?this.resolve(t).resolved:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},Vt.prototype.resolve=function(t,e,n){var r=$(t,e||this.history.current,n),o=this.match(r,e),i=o.redirectedFrom||o.fullPath,s=this.history.base,a=vt(s,i,this.mode);return{normalizedTo:r,resolved:o,href:a}},Object.defineProperties(Vt.prototype,Ht),Vt.install=m,Nt&&window.Vue&&window.Vue.use(Vt),t.exports=Vt}).call(e,n(6))},function(t,e,n){var r=n(183);"string"==typeof r&&(r=[[t.i,r,""]]);n(30)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(184);"string"==typeof r&&(r=[[t.i,r,""]]);n(30)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(185);"string"==typeof r&&(r=[[t.i,r,""]]);n(30)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(186);"string"==typeof r&&(r=[[t.i,r,""]]);n(30)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(187);"string"==typeof r&&(r=[[t.i,r,""]]);n(30)(r,{});r.locals&&(t.exports=r.locals)},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,configurable:!1,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,configurable:!1,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var o=n(40),i=r(o);n(97);var s=n(98),a=r(s),u=n(96),c=r(u),f=n(95),l=r(f);new i.default({el:"#lesspass",store:c.default,router:l.default,render:function(t){return t(a.default)}})}]); \ No newline at end of file diff --git a/package.json b/package.json index 75a8bf2..22b2adb 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "zip": "rm -rf build && mkdir build && cd extension && zip -r extension.zip ./* -x ./*.js && cp extension.zip ../build/lesspass.firefox.xpi && mv extension.zip ../build/lesspass.chrome.zip && cd .." }, "dependencies": { - "lesspass-pure": "^4.3.0" + "lesspass-pure": "^4.3.2" }, "devDependencies": { "gulp": "^3.9.1"