From cb3c89a77187841165461b1b9510410870b23e9a Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Tue, 9 May 2017 13:33:55 +0200 Subject: [PATCH] Adding the lastest version of lesspass-pure --- dist/lesspass.min.js | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dist/lesspass.min.js b/dist/lesspass.min.js index ee684ff..dd21f88 100644 --- a/dist/lesspass.min.js +++ b/dist/lesspass.min.js @@ -1,25 +1,25 @@ -!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={};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=116)}([function(t,e,n){"use strict";(function(t){function r(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,e){if(r()=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function v(t){return+t!=t&&(t=0),i.alloc(+t)}function g(t,e){if(i.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 V(t).length;default:if(r)return z(t).length;e=(""+e).toLowerCase(),r=!0}}function m(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return R(this,e,n);case"utf8":case"utf-8":return k(this,e,n);case"ascii":return T(this,e,n);case"latin1":case"binary":return j(this,e,n);case"base64":return O(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function y(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function w(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=i.from(e,r)),i.isBuffer(e))return 0===e.length?-1:_(t,e,n,r,o);if("number"==typeof e)return e&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):_(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function _(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&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,n/=2}var c;if(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)>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)>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)>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 P(r)}function P(t){var e=t.length;if(e<=Q)return String.fromCharCode.apply(String,t);for(var n="",r=0;rr)&&(n=r);for(var o="",i=e;in)throw new RangeError("Trying to access beyond buffer length")}function $(t,e,n,r,o,s){if(!i.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 I(t,e,n,r){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-n,2);o>>8*(r?o:1-o)}function B(t,e,n,r){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);o>>8*(r?o:3-o)&255}function D(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||D(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(t,e,n,r,23,4),n+4}function N(t,e,n,r,o){return o||D(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(t,e,n,r,52,8),n+8}function F(t){if(t=q(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function q(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function H(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t,e){e=e||1/0;for(var n,r=t.length,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=65536+(o-55296<<10|n-56320)}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 W(t){for(var e=[],n=0;n>8,o=n%256,i.push(o),i.push(r);return i}function V(t){return J.toByteArray(F(t))}function Y(t,e,n,r){for(var o=0;o=e.length||o>=t.length);++o)e[o+n]=t[o];return o}function K(t){return t!==t}/*! +!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={};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=116)}([function(t,e,n){"use strict";(function(t){function r(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,e){if(r()=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function v(t){return+t!=t&&(t=0),i.alloc(+t)}function g(t,e){if(i.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 V(t).length;default:if(r)return z(t).length;e=(""+e).toLowerCase(),r=!0}}function m(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return j(this,e,n);case"utf8":case"utf-8":return O(this,e,n);case"ascii":return T(this,e,n);case"latin1":case"binary":return R(this,e,n);case"base64":return k(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function y(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function w(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=i.from(e,r)),i.isBuffer(e))return 0===e.length?-1:_(t,e,n,r,o);if("number"==typeof e)return e&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):_(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function _(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&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,n/=2}var c;if(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)>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)>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)>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 P(r)}function P(t){var e=t.length;if(e<=Q)return String.fromCharCode.apply(String,t);for(var n="",r=0;rr)&&(n=r);for(var o="",i=e;in)throw new RangeError("Trying to access beyond buffer length")}function $(t,e,n,r,o,s){if(!i.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 I(t,e,n,r){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-n,2);o>>8*(r?o:1-o)}function B(t,e,n,r){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);o>>8*(r?o:3-o)&255}function U(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(t,e,n,r,o){return o||U(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(t,e,n,r,23,4),n+4}function N(t,e,n,r,o){return o||U(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(t,e,n,r,52,8),n+8}function F(t){if(t=q(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function q(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function H(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t,e){e=e||1/0;for(var n,r=t.length,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=65536+(o-55296<<10|n-56320)}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 W(t){for(var e=[],n=0;n>8,o=n%256,i.push(o),i.push(r);return i}function V(t){return J.toByteArray(F(t))}function Y(t,e,n,r){for(var o=0;o=e.length||o>=t.length);++o)e[o+n]=t[o];return o}function K(t){return t!==t}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ -var J=n(127),X=n(189),Z=n(71);e.Buffer=i,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=r(),i.poolSize=8192,i._augment=function(t){return t.__proto__=i.prototype,t},i.from=function(t,e,n){return s(null,t,e,n)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0})),i.alloc=function(t,e,n){return u(null,t,e,n)},i.allocUnsafe=function(t){return c(null,t)},i.allocUnsafeSlow=function(t){return c(null,t)},i.isBuffer=function(t){return!(null==t||!t._isBuffer)},i.compare=function(t,e){if(!i.isBuffer(t)||!i.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,o=0,s=Math.min(n,r);o0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},i.prototype.compare=function(t,e,n,r,o){if(!i.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 s=o-r,a=n-e,u=Math.min(s,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 b(this,t,e,n);case"utf8":case"utf-8":return E(this,t,e,n);case"ascii":return x(this,t,e,n);case"latin1":case"binary":return S(this,t,e,n);case"base64":return C(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;i.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(o*=256);)r+=this[t+--e]*o;return r},i.prototype.readUInt8=function(t,e){return e||L(t,1,this.length),this[t]},i.prototype.readUInt16LE=function(t,e){return e||L(t,2,this.length),this[t]|this[t+1]<<8},i.prototype.readUInt16BE=function(t,e){return e||L(t,2,this.length),this[t]<<8|this[t+1]},i.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]},i.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])},i.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},i.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},i.prototype.readInt8=function(t,e){return e||L(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},i.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},i.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},i.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},i.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]},i.prototype.readFloatLE=function(t,e){return e||L(t,4,this.length),X.read(this,t,!0,23,4)},i.prototype.readFloatBE=function(t,e){return e||L(t,4,this.length),X.read(this,t,!1,23,4)},i.prototype.readDoubleLE=function(t,e){return e||L(t,8,this.length),X.read(this,t,!0,52,8)},i.prototype.readDoubleBE=function(t,e){return e||L(t,8,this.length),X.read(this,t,!1,52,8)},i.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){$(this,t,e,n,Math.pow(2,8*n)-1,0)}var o=1,i=0;for(this[e]=255&t;++i=0&&(i*=256);)this[e+o]=t/i&255;return e+n},i.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,1,255,0),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},i.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},i.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},i.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):B(this,t,e,!0),e+4},i.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},i.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);$(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},i.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);$(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},i.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,1,127,-128),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},i.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},i.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},i.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):B(this,t,e,!0),e+4},i.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},i.prototype.writeFloatLE=function(t,e,n){return U(this,t,e,!0,n)},i.prototype.writeFloatBE=function(t,e,n){return U(this,t,e,!1,n)},i.prototype.writeDoubleLE=function(t,e,n){return N(this,t,e,!0,n)},i.prototype.writeDoubleBE=function(t,e,n){return N(this,t,e,!1,n)},i.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(s<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var s;if("number"==typeof t)for(s=e;sn.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;o0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},i.prototype.compare=function(t,e,n,r,o){if(!i.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 s=o-r,a=n-e,u=Math.min(s,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 b(this,t,e,n);case"utf8":case"utf-8":return x(this,t,e,n);case"ascii":return E(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;i.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(o*=256);)r+=this[t+--e]*o;return r},i.prototype.readUInt8=function(t,e){return e||L(t,1,this.length),this[t]},i.prototype.readUInt16LE=function(t,e){return e||L(t,2,this.length),this[t]|this[t+1]<<8},i.prototype.readUInt16BE=function(t,e){return e||L(t,2,this.length),this[t]<<8|this[t+1]},i.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]},i.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])},i.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},i.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},i.prototype.readInt8=function(t,e){return e||L(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},i.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},i.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},i.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},i.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]},i.prototype.readFloatLE=function(t,e){return e||L(t,4,this.length),X.read(this,t,!0,23,4)},i.prototype.readFloatBE=function(t,e){return e||L(t,4,this.length),X.read(this,t,!1,23,4)},i.prototype.readDoubleLE=function(t,e){return e||L(t,8,this.length),X.read(this,t,!0,52,8)},i.prototype.readDoubleBE=function(t,e){return e||L(t,8,this.length),X.read(this,t,!1,52,8)},i.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){$(this,t,e,n,Math.pow(2,8*n)-1,0)}var o=1,i=0;for(this[e]=255&t;++i=0&&(i*=256);)this[e+o]=t/i&255;return e+n},i.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,1,255,0),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},i.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},i.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},i.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):B(this,t,e,!0),e+4},i.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},i.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);$(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},i.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);$(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},i.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,1,127,-128),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},i.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},i.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},i.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):B(this,t,e,!0),e+4},i.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},i.prototype.writeFloatLE=function(t,e,n){return D(this,t,e,!0,n)},i.prototype.writeFloatBE=function(t,e,n){return D(this,t,e,!1,n)},i.prototype.writeDoubleLE=function(t,e,n){return N(this,t,e,!0,n)},i.prototype.writeDoubleBE=function(t,e,n){return N(this,t,e,!1,n)},i.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(s<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var s;if("number"==typeof t)for(s=e;sn.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],o=0;o=2){var n=t.config._lifecycleHooks.indexOf("init")>-1;t.mixin(n?{init:e}:{beforeCreate:e})}else{var r=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,r.call(this,t)}}},C="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,A=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},O={namespaced:{}};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){o(this._children,t)},A.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},A.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},A.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(A.prototype,O);var k=function(t){var e=this;this.root=new A(t,!1),t.modules&&o(t.modules,function(t,n){e.register([n],t,!1)})};k.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},k.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},k.prototype.update=function(t){u(this.root,t)},k.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=this.get(t.slice(0,-1)),s=new A(e,n);i.addChild(t[t.length-1],s),e.modules&&o(e.modules,function(e,o){r.register(t.concat(o),e,n)})},k.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var P,T=function(t){var e=this;void 0===t&&(t={}),a(P,"must call Vue.use(Vuex) before creating a store instance."),a("undefined"!=typeof Promise,"vuex requires a Promise polyfill in this browser.");var n=t.state;void 0===n&&(n={});var o=t.plugins;void 0===o&&(o=[]);var i=t.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 k(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new P;var s=this,u=this,c=u.dispatch,p=u.commit;this.dispatch=function(t,e){return c.call(s,t,e)},this.commit=function(t,e,n){return p.call(s,t,e,n)},this.strict=i,l(this,n,[],this._modules.root),f(this,n),o.concat(r).forEach(function(t){return t(e)})},j={state:{}};j.state.get=function(){return this._vm._data.$$state},j.state.set=function(t){a(!1,"Use store.replaceState() to explicit replace store state.")},T.prototype.commit=function(t,e,n){var r=this,o=w(t,e,n),i=o.type,s=o.payload,a=o.options,u={type:i,payload:s},c=this._mutations[i];if(!c)return void console.error("[vuex] unknown mutation type: "+i);this._withCommit(function(){c.forEach(function(t){t(s)})}),this._subscribers.forEach(function(t){return t(u,r.state)}),a&&a.silent&&console.warn("[vuex] mutation type: "+i+". Silent option has been removed. Use the filter functionality in the vue-devtools")},T.prototype.dispatch=function(t,e){var n=w(t,e),r=n.type,o=n.payload,i=this._actions[r];return i?i.length>1?Promise.all(i.map(function(t){return t(o)})):i[0](o):void console.error("[vuex] unknown action type: "+r)},T.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)}},T.prototype.watch=function(t,e,n){var r=this;return a("function"==typeof t,"store.watch only accepts a function."),this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},T.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},T.prototype.registerModule=function(t,e){"string"==typeof t&&(t=[t]),a(Array.isArray(t),"module path must be a string or an Array."),this._modules.register(t,e),l(this,this.state,t,this._modules.get(t)),f(this,this.state)},T.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),a(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit(function(){var n=y(e.state,t.slice(0,-1));P.delete(n,t[t.length-1])}),c(this)},T.prototype.hotUpdate=function(t){this._modules.update(t),c(this,!0)},T.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(T.prototype,j),"undefined"!=typeof window&&window.Vue&&_(window.Vue);var R=E(function(t,e){var n={};return b(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=x(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0}),n}),M=E(function(t,e){var n={};return b(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(!t||x(this.$store,"mapMutations",t))return this.$store.commit.apply(this.$store,[o].concat(e))}}),n}),L=E(function(t,e){var n={};return b(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||x(this.$store,"mapGetters",t))return o in this.$store.getters?this.$store.getters[o]:void console.error("[vuex] unknown getter: "+o)},n[r].vuex=!0}),n}),$=E(function(t,e){var n={};return b(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(!t||x(this.$store,"mapActions",t))return this.$store.dispatch.apply(this.$store,[o].concat(e))}}),n}),I={Store:T,install:_,version:"2.3.0",mapState:R,mapMutations:M,mapGetters:L,mapActions:$};e.default=I},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function s(){v&&h&&(v=!1,h.length?d=h.concat(d):g=-1,d.length&&a())}function a(){if(!v){var t=o(s);v=!0;for(var e=d.length;e;){for(h=d,d=[];++g1)for(var n=1;n=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(e,this._blockSize-4);var n=this._update(this._block)||this._hash();return t?n.toString(t):n},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=n}).call(e,n(0).Buffer)},function(t,e,n){var r=n(5),o=n(6),i=n(26),s=n(17),a=function(t,e,n){var u,c,f,l=t&a.F,p=t&a.G,h=t&a.S,d=t&a.P,v=t&a.B,g=t&a.W,m=p?o:o[e]||(o[e]={}),y=m.prototype,w=p?r:h?r[e]:(r[e]||{}).prototype;p&&(n=e);for(u in n)(c=!l&&w&&void 0!==w[u])&&u in m||(f=c?w[u]:n[u],m[u]=p&&"function"!=typeof w[u]?n[u]:v&&c?i(f,r):g&&w[u]==f?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.prototype=t.prototype,e}(f):d&&"function"==typeof f?i(Function.call,f):f,d&&((m.virtual||(m.virtual={}))[u]=f,t&a.R&&y&&!y[u]&&s(y,u,f)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){t.exports={}},function(t,e,n){var r=n(15),o=n(140),i=n(162),s=Object.defineProperty;e.f=n(16)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){(function(t){function n(t){return Array.isArray?Array.isArray(t):"[object Array]"===g(t)}function r(t){return"boolean"==typeof t}function o(t){return null===t}function i(t){return null==t}function s(t){return"number"==typeof t}function a(t){return"string"==typeof t}function u(t){return"symbol"==typeof t}function c(t){return void 0===t}function f(t){return"[object RegExp]"===g(t)}function l(t){return"object"==typeof t&&null!==t}function p(t){return"[object Date]"===g(t)}function h(t){return"[object Error]"===g(t)||t instanceof Error}function d(t){return"function"==typeof t}function v(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function g(t){return Object.prototype.toString.call(t)}e.isArray=n,e.isBoolean=r,e.isNull=o,e.isNullOrUndefined=i,e.isNumber=s,e.isString=a,e.isSymbol=u,e.isUndefined=c,e.isRegExp=f,e.isObject=l,e.isDate=p,e.isError=h,e.isFunction=d,e.isPrimitive=v,e.isBuffer=t.isBuffer}).call(e,n(0).Buffer)},function(t,e,n){function r(){o.call(this)}t.exports=r;var o=n(30).EventEmitter;n(1)(r,o),r.Readable=n(202),r.Writable=n(204),r.Duplex=n(199),r.Transform=n(203),r.PassThrough=n(201),r.Stream=r,r.prototype.pipe=function(t,e){function n(e){t.writable&&!1===t.write(e)&&c.pause&&c.pause()}function r(){c.readable&&c.resume&&c.resume()}function i(){f||(f=!0,t.end())}function s(){f||(f=!0,"function"==typeof t.destroy&&t.destroy())}function a(t){if(u(),0===o.listenerCount(this,"error"))throw t}function u(){c.removeListener("data",n),t.removeListener("drain",r),c.removeListener("end",i),c.removeListener("close",s),c.removeListener("error",a),t.removeListener("error",a),c.removeListener("end",u),c.removeListener("close",u),t.removeListener("close",u)}var c=this;c.on("data",n),t.on("drain",r),t._isStdio||e&&!1===e.end||(c.on("end",i),c.on("close",s));var f=!1;return c.on("error",a),t.on("error",a),c.on("end",u),c.on("close",u),t.on("close",u),t.emit("pipe",c),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(51),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={login:function(t,e){return o.default.post("/api/tokens/auth/",t,e).then(function(t){return t.data})},register:function(t,e){return o.default.post("/api/auth/register/",t,e).then(function(t){return t.data})},resetPassword:function(t,e){return o.default.post("/api/auth/password/reset/",t,e)},confirmResetPassword:function(t,e){return o.default.post("/api/auth/password/reset/confirm/",t,e)},requestNewToken:function(t,e){return o.default.post("/api/tokens/refresh/",t,e).then(function(t){return t.data.token})}}},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){t.exports=function(t){try{return!!t()}catch(t){return!0}}},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])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){return this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,n){"use strict";(function(t){/*! +var C=function(t){function e(){var t=this.$options;t.store?this.$store=t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}if(Number(t.version.split(".")[0])>=2){var n=t.config._lifecycleHooks.indexOf("init")>-1;t.mixin(n?{init:e}:{beforeCreate:e})}else{var r=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,r.call(this,t)}}},S="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,A=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},k={namespaced:{}};k.namespaced.get=function(){return!!this._rawModule.namespaced},A.prototype.addChild=function(t,e){this._children[t]=e},A.prototype.removeChild=function(t){delete this._children[t]},A.prototype.getChild=function(t){return this._children[t]},A.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},A.prototype.forEachChild=function(t){o(this._children,t)},A.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},A.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},A.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(A.prototype,k);var O=function(t){var e=this;this.root=new A(t,!1),t.modules&&o(t.modules,function(t,n){e.register([n],t,!1)})};O.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},O.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},O.prototype.update=function(t){u(this.root,t)},O.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=this.get(t.slice(0,-1)),s=new A(e,n);i.addChild(t[t.length-1],s),e.modules&&o(e.modules,function(e,o){r.register(t.concat(o),e,n)})},O.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var P,T=function(t){var e=this;void 0===t&&(t={}),a(P,"must call Vue.use(Vuex) before creating a store instance."),a("undefined"!=typeof Promise,"vuex requires a Promise polyfill in this browser.");var n=t.state;void 0===n&&(n={});var o=t.plugins;void 0===o&&(o=[]);var i=t.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 O(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new P;var s=this,u=this,c=u.dispatch,p=u.commit;this.dispatch=function(t,e){return c.call(s,t,e)},this.commit=function(t,e,n){return p.call(s,t,e,n)},this.strict=i,l(this,n,[],this._modules.root),f(this,n),o.concat(r).forEach(function(t){return t(e)})},R={state:{}};R.state.get=function(){return this._vm._data.$$state},R.state.set=function(t){a(!1,"Use store.replaceState() to explicit replace store state.")},T.prototype.commit=function(t,e,n){var r=this,o=w(t,e,n),i=o.type,s=o.payload,a=o.options,u={type:i,payload:s},c=this._mutations[i];if(!c)return void console.error("[vuex] unknown mutation type: "+i);this._withCommit(function(){c.forEach(function(t){t(s)})}),this._subscribers.forEach(function(t){return t(u,r.state)}),a&&a.silent&&console.warn("[vuex] mutation type: "+i+". Silent option has been removed. Use the filter functionality in the vue-devtools")},T.prototype.dispatch=function(t,e){var n=w(t,e),r=n.type,o=n.payload,i=this._actions[r];return i?i.length>1?Promise.all(i.map(function(t){return t(o)})):i[0](o):void console.error("[vuex] unknown action type: "+r)},T.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)}},T.prototype.watch=function(t,e,n){var r=this;return a("function"==typeof t,"store.watch only accepts a function."),this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},T.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},T.prototype.registerModule=function(t,e){"string"==typeof t&&(t=[t]),a(Array.isArray(t),"module path must be a string or an Array."),this._modules.register(t,e),l(this,this.state,t,this._modules.get(t)),f(this,this.state)},T.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),a(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit(function(){var n=y(e.state,t.slice(0,-1));P.delete(n,t[t.length-1])}),c(this)},T.prototype.hotUpdate=function(t){this._modules.update(t),c(this,!0)},T.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(T.prototype,R),"undefined"!=typeof window&&window.Vue&&_(window.Vue);var j=x(function(t,e){var n={};return b(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=E(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0}),n}),M=x(function(t,e){var n={};return b(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(!t||E(this.$store,"mapMutations",t))return this.$store.commit.apply(this.$store,[o].concat(e))}}),n}),L=x(function(t,e){var n={};return b(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||E(this.$store,"mapGetters",t))return o in this.$store.getters?this.$store.getters[o]:void console.error("[vuex] unknown getter: "+o)},n[r].vuex=!0}),n}),$=x(function(t,e){var n={};return b(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(!t||E(this.$store,"mapActions",t))return this.$store.dispatch.apply(this.$store,[o].concat(e))}}),n}),I={Store:T,install:_,version:"2.3.0",mapState:j,mapMutations:M,mapGetters:L,mapActions:$};e.default=I},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function s(){v&&d&&(v=!1,d.length?h=d.concat(h):g=-1,h.length&&a())}function a(){if(!v){var t=o(s);v=!0;for(var e=h.length;e;){for(d=h,h=[];++g1)for(var n=1;n=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(e,this._blockSize-4);var n=this._update(this._block)||this._hash();return t?n.toString(t):n},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=n}).call(e,n(0).Buffer)},function(t,e,n){var r=n(5),o=n(6),i=n(26),s=n(17),a=function(t,e,n){var u,c,f,l=t&a.F,p=t&a.G,d=t&a.S,h=t&a.P,v=t&a.B,g=t&a.W,m=p?o:o[e]||(o[e]={}),y=m.prototype,w=p?r:d?r[e]:(r[e]||{}).prototype;p&&(n=e);for(u in n)(c=!l&&w&&void 0!==w[u])&&u in m||(f=c?w[u]:n[u],m[u]=p&&"function"!=typeof w[u]?n[u]:v&&c?i(f,r):g&&w[u]==f?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.prototype=t.prototype,e}(f):h&&"function"==typeof f?i(Function.call,f):f,h&&((m.virtual||(m.virtual={}))[u]=f,t&a.R&&y&&!y[u]&&s(y,u,f)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){t.exports={}},function(t,e,n){var r=n(15),o=n(140),i=n(162),s=Object.defineProperty;e.f=n(16)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){(function(t){function n(t){return Array.isArray?Array.isArray(t):"[object Array]"===g(t)}function r(t){return"boolean"==typeof t}function o(t){return null===t}function i(t){return null==t}function s(t){return"number"==typeof t}function a(t){return"string"==typeof t}function u(t){return"symbol"==typeof t}function c(t){return void 0===t}function f(t){return"[object RegExp]"===g(t)}function l(t){return"object"==typeof t&&null!==t}function p(t){return"[object Date]"===g(t)}function d(t){return"[object Error]"===g(t)||t instanceof Error}function h(t){return"function"==typeof t}function v(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function g(t){return Object.prototype.toString.call(t)}e.isArray=n,e.isBoolean=r,e.isNull=o,e.isNullOrUndefined=i,e.isNumber=s,e.isString=a,e.isSymbol=u,e.isUndefined=c,e.isRegExp=f,e.isObject=l,e.isDate=p,e.isError=d,e.isFunction=h,e.isPrimitive=v,e.isBuffer=t.isBuffer}).call(e,n(0).Buffer)},function(t,e,n){function r(){o.call(this)}t.exports=r;var o=n(30).EventEmitter;n(1)(r,o),r.Readable=n(202),r.Writable=n(204),r.Duplex=n(199),r.Transform=n(203),r.PassThrough=n(201),r.Stream=r,r.prototype.pipe=function(t,e){function n(e){t.writable&&!1===t.write(e)&&c.pause&&c.pause()}function r(){c.readable&&c.resume&&c.resume()}function i(){f||(f=!0,t.end())}function s(){f||(f=!0,"function"==typeof t.destroy&&t.destroy())}function a(t){if(u(),0===o.listenerCount(this,"error"))throw t}function u(){c.removeListener("data",n),t.removeListener("drain",r),c.removeListener("end",i),c.removeListener("close",s),c.removeListener("error",a),t.removeListener("error",a),c.removeListener("end",u),c.removeListener("close",u),t.removeListener("close",u)}var c=this;c.on("data",n),t.on("drain",r),t._isStdio||e&&!1===e.end||(c.on("end",i),c.on("close",s));var f=!1;return c.on("error",a),t.on("error",a),c.on("end",u),c.on("close",u),t.on("close",u),t.emit("pipe",c),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(51),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={login:function(t,e){return o.default.post("/api/tokens/auth/",t,e).then(function(t){return t.data})},register:function(t,e){return o.default.post("/api/auth/register/",t,e).then(function(t){return t.data})},resetPassword:function(t,e){return o.default.post("/api/auth/password/reset/",t,e)},confirmResetPassword:function(t,e){return o.default.post("/api/auth/password/reset/confirm/",t,e)},requestNewToken:function(t,e){return o.default.post("/api/tokens/refresh/",t,e).then(function(t){return t.data.token})}}},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){t.exports=function(t){try{return!!t()}catch(t){return!0}}},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])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){return this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,n){"use strict";(function(t){/*! * Vue.js v2.2.6 * (c) 2014-2017 Evan You * Released under the MIT License. */ -function n(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function r(t){var e=parseFloat(t);return isNaN(e)?t:e}function o(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}function s(t,e){return Fn.call(t,e)}function a(t){return"string"==typeof t||"number"==typeof t}function u(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function c(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function f(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function l(t,e){for(var n in e)t[n]=e[n];return t}function p(t){return null!==t&&"object"==typeof t}function h(t){return Wn.call(t)===Gn}function d(t){for(var e={},n=0;n=0&&kr[n].id>t.id;)n--;kr.splice(Math.max(n,Rr)+1,0,t)}else kr.push(t);Tr||(Tr=!0,fr(vt))}}function mt(t){$r.clear(),yt(t,$r)}function yt(t,e){var n,r,o=Array.isArray(t);if((o||p(t))&&Object.isExtensible(t)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(o)for(n=t.length;n--;)yt(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)yt(t[r[n]],e)}}function wt(t,e,n){Ir.get=function(){return this[e][n]},Ir.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Ir)}function _t(t){t._watchers=[];var e=t.$options;e.props&&bt(t,e.props),e.methods&&Ot(t,e.methods),e.data?Et(t):O(t._data={},!0),e.computed&&St(t,e.computed),e.watch&&kt(t,e.watch)}function bt(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[],i=!t.$parent;yr.shouldConvert=i;for(var s in e)!function(i){o.push(i);var s=U(i,e,n,t);k(r,i,s),i in t||wt(t,"_props",i)}(s);yr.shouldConvert=!0}function Et(t){var e=t.$options.data;e=t._data="function"==typeof e?xt(e,t):e||{},h(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,o=n.length;o--;)r&&s(r,n[o])||w(n[o])||wt(t,"_data",n[o]);O(e,!0)}function xt(t,e){try{return t.call(e)}catch(t){return H(t,e,"data()"),{}}}function St(t,e){var n=t._computedWatchers=Object.create(null);for(var r in e){var o=e[r],i="function"==typeof o?o:o.get;n[r]=new Lr(t,i,v,Br),r in t||Ct(t,r,o)}}function Ct(t,e,n){"function"==typeof n?(Ir.get=At(e),Ir.set=v):(Ir.get=n.get?!1!==n.cache?At(e):n.get:v,Ir.set=n.set?n.set:v),Object.defineProperty(t,e,Ir)}function At(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),hr.target&&e.depend(),e.value}}function Ot(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?v:c(e[n],t)}function kt(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o-1:t instanceof RegExp&&t.test(e)}function he(t,e){for(var n in t){var r=t[n];if(r){var o=le(r.componentOptions);o&&!e(o)&&(de(r),t[n]=null)}}}function de(t){t&&(t.componentInstance._inactive||ht(t.componentInstance,"deactivated"),t.componentInstance.$destroy())}function ve(t){for(var e=t.data,n=t,r=t;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(e=ge(r.data,e));for(;n=n.parent;)n.data&&(e=ge(e,n.data));return me(e)}function ge(t,e){return{staticClass:ye(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function me(t){var e=t.class,n=t.staticClass;return n||e?ye(n,we(e)):""}function ye(t,e){return t?e?t+" "+e:t:e||""}function we(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?so[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:so[t]=/HTMLUnknownElement/.test(e.toString())}function Ee(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function xe(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Se(t,e){return document.createElementNS(no[t],e)}function Ce(t){return document.createTextNode(t)}function Ae(t){return document.createComment(t)}function Oe(t,e,n){t.insertBefore(e,n)}function ke(t,e){t.removeChild(e)}function Pe(t,e){t.appendChild(e)}function Te(t){return t.parentNode}function je(t){return t.nextSibling}function Re(t){return t.tagName}function Me(t,e){t.textContent=e}function Le(t,e,n){t.setAttribute(e,n)}function $e(t,e){var n=t.data.ref;if(n){var r=t.context,o=t.componentInstance||t.elm,s=r.$refs;e?Array.isArray(s[n])?i(s[n],o):s[n]===o&&(s[n]=void 0):t.data.refInFor?Array.isArray(s[n])&&s[n].indexOf(o)<0?s[n].push(o):s[n]=[o]:s[n]=o}}function Ie(t){return void 0===t||null===t}function Be(t){return void 0!==t&&null!==t}function De(t){return!0===t}function Ue(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&Be(t.data)===Be(e.data)&&Ne(t,e)}function Ne(t,e){if("input"!==t.tag)return!0;var n;return(Be(n=t.data)&&Be(n=n.attrs)&&n.type)===(Be(n=e.data)&&Be(n=n.attrs)&&n.type)}function Fe(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,Be(o)&&(i[o]=r);return i}function qe(t,e){(t.data.directives||e.data.directives)&&He(t,e)}function He(t,e){var n,r,o,i=t===co,s=e===co,a=ze(t.data.directives,t.context),u=ze(e.data.directives,e.context),c=[],f=[];for(n in u)r=a[n],o=u[n],r?(o.oldValue=r.value,Ge(o,"update",e,t),o.def&&o.def.componentUpdated&&f.push(o)):(Ge(o,"bind",e,t),o.def&&o.def.inserted&&c.push(o));if(c.length){var l=function(){for(var n=0;n-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function fn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function ln(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&l(e,ko(t.name||"v")),l(e,t),e}return"string"==typeof t?ko(t):void 0}}function pn(t){Io(function(){Io(t)})}function hn(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),cn(t,e)}function dn(t,e){t._transitionClasses&&i(t._transitionClasses,e),fn(t,e)}function vn(t,e,n){var r=gn(t,e),o=r.type,i=r.timeout,s=r.propCount;if(!o)return n();var a=o===To?Mo:$o,u=0,c=function(){t.removeEventListener(a,f),n()},f=function(e){e.target===t&&++u>=s&&c()};setTimeout(function(){u0&&(n=To,f=s,l=i.length):e===jo?c>0&&(n=jo,f=c,l=u.length):(f=Math.max(s,c),n=f>0?s>c?To:jo:null,l=n?n===To?i.length:u.length:0),{type:n,timeout:f,propCount:l,hasTransform:n===To&&Bo.test(r[Ro+"Property"])}}function mn(t,e){for(;t.length1}function xn(t,e){e.data.show||wn(e)}function Sn(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,s,a=0,u=t.options.length;a-1,s.selected!==i&&(s.selected=i);else if(g(An(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));o||(t.selectedIndex=-1)}}function Cn(t,e){for(var n=0,r=e.length;n0,rr=tr&&tr.indexOf("edge/")>0,or=tr&&tr.indexOf("android")>0,ir=tr&&/iphone|ipad|ipod|ios/.test(tr),sr=tr&&/chrome\/\d+/.test(tr)&&!rr,ar=function(){return void 0===Un&&(Un=!Qn&&void 0!==t&&"server"===t.process.env.VUE_ENV),Un},ur=Qn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,cr="undefined"!=typeof Symbol&&E(Symbol)&&"undefined"!=typeof Reflect&&E(Reflect.ownKeys),fr=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e1?f(n):n;for(var r=f(arguments,1),o=0,i=n.length;o1&&(e[n[0].trim()]=n[1].trim())}}),e}),Eo=/^--/,xo=/\s*!important$/,So=function(t,e,n){Eo.test(e)?t.style.setProperty(e,n):xo.test(n)?t.style.setProperty(e,n.replace(xo,""),"important"):t.style[Ao(e)]=n},Co=["Webkit","Moz","ms"],Ao=u(function(t){if(Vr=Vr||document.createElement("div"),"filter"!==(t=qn(t))&&t in Vr.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;np?(c=Ie(n[g+1])?null:n[g+1].elm,v(t,c,n,l,g,r)):l>g&&m(t,e,f,p)}function _(t,e,n,r){if(t!==e){if(De(e.isStatic)&&De(t.isStatic)&&e.key===t.key&&(De(e.isCloned)||De(e.isOnce)))return e.elm=t.elm,void(e.componentInstance=t.componentInstance);var o,i=e.data;Be(i)&&Be(o=i.hook)&&Be(o=o.prepatch)&&o(t,e);var s=e.elm=t.elm,a=t.children,u=e.children;if(Be(i)&&p(e)){for(o=0;o=200&&t<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){a.headers[t]={}}),o.forEach(["post","put","patch"],function(t){a.headers[t]=o.merge(s)}),t.exports=a}).call(e,n(11))},function(t,e,n){t.exports={default:n(132),__esModule:!0}},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);void 0===i&&(i=0);var s=r;if(void 0===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(10))},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(29),o=n(5).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(153),o=n(60);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(21).f,o=n(28),i=n(4)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(66)("keys"),o=n(69);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(62),o=n(36);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(36);t.exports=function(t){return Object(r(t))}},function(t,e,n){function r(t,e,n,r){var s=a({},u,r);if(1===s.version){var c={counter:s.counter,length:s.length,lowercase:s.lowercase,uppercase:s.uppercase,numbers:s.numbers,symbols:s.symbols};return o.encryptLogin(e,n).then(function(e){return o.renderPassword(e,t,c).then(function(t){return t})})}return i.generatePassword(t,e,n,s)}var o=n(190),i=n(191),s=n(45),a=n(194);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(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 o(t,e,n,r,o){return new s(function(s,a){i.pbkdf2(t,e,n,r,o,function(t,e){t?a("error in pbkdf2"):s(e.toString("hex"))})})}var i=n(196),s=n(72);t.exports=function(){return!("undefined"==typeof window||!window.crypto||!window.crypto.subtle)}()?r:o}).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:C;a.WritableState=s;var O=n(22);O.inherits=n(1);var k,P={deprecate:n(214)};!function(){try{k=n(23)}catch(t){}finally{k||(k=n(30).EventEmitter)}}();var T=n(0).Buffer,j=n(34);O.inherits(a,k),s.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(s.prototype,"buffer",{get:P.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(t){}}();var R;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(R=Function.prototype[Symbol.hasInstance],Object.defineProperty(a,Symbol.hasInstance,{value:function(t){return!!R.call(this,t)||t&&t._writableState instanceof s}})):R=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,s=T.isBuffer(t);return"function"==typeof e&&(n=e,e=null),s?e="buffer":e||(e=r.defaultEncoding),"function"!=typeof n&&(n=o),r.ended?u(this,n):(s||c(this,r,t,n))&&(r.pendingcb++,i=l(this,r,s,t,e,n)),i},a.prototype.cork=function(){this._writableState.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(11),n(77).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){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(31),s=o(i),a=n(9),u=o(a),c=n(120),f=r(c),l=n(121),p=r(l),h=n(122),d=o(h),v=n(252),g=o(v),m=n(57),y=o(m);s.default.use(u.default);var w={authenticated:!1,password:y.default,passwords:[],defaultPassword:y.default,lastUse:null,token:null,baseURL:"https://lesspass.com"};e.default=new u.default.Store({state:w,getters:p,actions:f,mutations:d.default,plugins:[(0,g.default)({key:"lesspass"})]})},function(t,e,n){t.exports=n(85)},function(t,e,n){"use strict";var r=n(3),o=n(91),i=n(94),s=n(100),a=n(98),u=n(55),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(93);t.exports=function(t){return new Promise(function(e,f){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest,d="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||a(t.url)||(h=new window.XDomainRequest,d="onload",v=!0,h.onprogress=function(){},h.ontimeout=function(){}),t.auth){var g=t.auth.username||"",m=t.auth.password||"";p.Authorization="Basic "+c(g+":"+m)}if(h.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h[d]=function(){if(h&&(4===h.readyState||v)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,i={data:r,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:n,config:t,request:h};o(e,f,i),h=null}},h.onerror=function(){f(u("Network Error",t)),h=null},h.ontimeout=function(){f(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),h=null},r.isStandardBrowserEnv()){var y=n(96),w=(t.withCredentials||a(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;w&&(p[t.xsrfHeaderName]=w)}if("setRequestHeader"in h&&r.forEach(p,function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)}),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){h&&(h.abort(),f(t),h=null)}),void 0===l&&(l=null),h.send(l)})}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var r=n(90);t.exports=function(t,e,n,o){var i=new Error(t);return r(i,e,n,o)}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;rn;)e.push(arguments[n++]);return g[++v]=function(){a("function"==typeof t?t:Function(t),e)},r(v),v},h=function(t){delete g[t]},"process"==n(25)(l)?r=function(t){l.nextTick(s(m,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=y,r=s(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",y,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),m.call(t)}}:function(t){setTimeout(s(m,t,1),0)}),t.exports={set:p,clear:h}},function(t,e,n){var r=n(41),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";(function(e){function r(t,n){s.call(this),t=t.toLowerCase(),"string"==typeof n&&(n=new e(n));var r="sha512"===t||"sha384"===t?128:64;this._alg=t,this._key=n,n.length>r?n=o(t).update(n).digest():n.length0)if(e.ended&&!o){var s=new Error("stream.push() after EOF");t.emit("error",s)}else if(e.endEmitted&&o){var u=new Error("stream.unshift() after end event");t.emit("error",u)}else{var c;!e.decoder||o||r||(n=e.decoder.write(n),c=!e.objectMode&&0===n.length),o||(e.reading=!1),c||(e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,o?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&p(t))),d(t,e)}else o||(e.reading=!1);return a(e)}function a(t){return!t.ended&&(t.needReadable||t.length=F?t=F:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function c(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=u(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function f(t,e){var n=null;return L.isBuffer(e)||"string"==typeof e||null===e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function l(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,p(t)}}function p(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(D("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?T(h,t):h(t))}function h(t){D("emit readable"),t.emit("readable"),_(t)}function d(t,e){e.readingMore||(e.readingMore=!0,T(v,t,e))}function v(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=E(t,e.buffer,e.decoder),n}function E(t,e,n){var r;return ti.length?i.length:t;if(s===i.length?o+=i:o+=i.slice(0,t),0===(t-=s)){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 S(t,e){var n=$.allocUnsafe(t),r=e.head,o=1;for(r.data.copy(n),t-=r.data.length;r=r.next;){var i=r.data,s=t>i.length?i.length:t;if(i.copy(n,n.length-t,0,s),0===(t-=s)){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 C(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,T(A,e,t))}function A(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function O(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return D("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?C(this):p(this),null;if(0===(t=c(t,e))&&e.ended)return 0===e.length&&C(this),null;var r=e.needReadable;D("need readable",r),(0===e.length||e.length-t0?b(t,e):null,null===o?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&C(this)),null!==o&&this.emit("data",o),o},i.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},i.prototype.pipe=function(t,n){function o(t){D("onunpipe"),t===p&&s()}function i(){D("onend"),t.end()}function s(){D("cleanup"),t.removeListener("close",c),t.removeListener("finish",f),t.removeListener("drain",m),t.removeListener("error",u),t.removeListener("unpipe",o),p.removeListener("end",i),p.removeListener("end",s),p.removeListener("data",a),y=!0,!h.awaitDrain||t._writableState&&!t._writableState.needDrain||m()}function a(e){D("ondata"),w=!1,!1!==t.write(e)||w||((1===h.pipesCount&&h.pipes===t||h.pipesCount>1&&-1!==k(h.pipes,t))&&!y&&(D("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,w=!0),p.pause())}function u(e){D("onerror",e),l(),t.removeListener("error",u),0===M(t,"error")&&t.emit("error",e)}function c(){t.removeListener("finish",f),l()}function f(){D("onfinish"),t.removeListener("close",c),l()}function l(){D("unpipe"),p.unpipe(t)}var p=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=t;break;case 1:h.pipes=[h.pipes,t];break;default:h.pipes.push(t)}h.pipesCount+=1,D("pipe count=%d opts=%j",h.pipesCount,n);var d=(!n||!1!==n.end)&&t!==e.stdout&&t!==e.stderr,v=d?i:s;h.endEmitted?T(v):p.once("end",v),t.on("unpipe",o);var m=g(p);t.on("drain",m);var y=!1,w=!1;return p.on("data",a),r(t,"error",u),t.once("close",c),t.once("finish",f),t.emit("pipe",p),h.flowing||(D("pipe resume"),p.resume()),t},i.prototype.unpipe=function(t){var e=this._readableState;if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this),this);if(!t){var n=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function a(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function u(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function c(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}var f=n(1),l=n(18),p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],h=new Array(64);f(r,l),r.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,f=0|this._c,l=0|this._d,h=0|this._e,d=0|this._f,v=0|this._g,g=0|this._h,m=0;m<16;++m)e[m]=t.readInt32BE(4*m);for(;m<64;++m)e[m]=c(e[m-2])+e[m-7]+u(e[m-15])+e[m-16]|0;for(var y=0;y<64;++y){var w=g+a(h)+o(h,d,v)+p[y]+e[y]|0,_=s(n)+i(n,r,f)|0;g=v,v=d,d=h,h=l+w|0,l=f,f=r,r=n,n=w+_|0}this._a=n+this._a|0,this._b=r+this._b|0,this._c=f+this._c|0,this._d=l+this._d|0,this._e=h+this._e|0,this._f=d+this._f|0,this._g=v+this._g|0,this._h=g+this._h|0},r.prototype._hash=function(){var t=new e(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=r}).call(e,n(0).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=g,d.call(this,128,112)}function o(t,e,n){return n^t&(e^n)}function i(t,e,n){return t&e|n&(t|e)}function s(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function a(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function u(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function c(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function f(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function l(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function p(t,e){return t>>>0>>0?1:0}var h=n(1),d=n(18),v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],g=new Array(160);h(r,d),r.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,h=0|this._ch,d=0|this._dh,g=0|this._eh,m=0|this._fh,y=0|this._gh,w=0|this._hh,_=0|this._al,b=0|this._bl,E=0|this._cl,x=0|this._dl,S=0|this._el,C=0|this._fl,A=0|this._gl,O=0|this._hl,k=0;k<32;k+=2)e[k]=t.readInt32BE(4*k),e[k+1]=t.readInt32BE(4*k+4);for(;k<160;k+=2){var P=e[k-30],T=e[k-30+1],j=u(P,T),R=c(T,P);P=e[k-4],T=e[k-4+1];var M=f(P,T),L=l(T,P),$=e[k-14],I=e[k-14+1],B=e[k-32],D=e[k-32+1],U=R+I|0,N=j+$+p(U,R)|0;U=U+L|0,N=N+M+p(U,L)|0,U=U+D|0,N=N+B+p(U,D)|0,e[k]=N,e[k+1]=U}for(var F=0;F<160;F+=2){N=e[F],U=e[F+1];var q=i(n,r,h),H=i(_,b,E),z=s(n,_),W=s(_,n),G=a(g,S),V=a(S,g),Y=v[F],K=v[F+1],J=o(g,m,y),X=o(S,C,A),Z=O+V|0,Q=w+G+p(Z,O)|0;Z=Z+X|0,Q=Q+J+p(Z,X)|0,Z=Z+K|0,Q=Q+Y+p(Z,K)|0,Z=Z+U|0,Q=Q+N+p(Z,U)|0;var tt=W+H|0,et=z+q+p(tt,W)|0;w=y,O=A,y=m,A=C,m=g,C=S,S=x+Z|0,g=d+Q+p(S,x)|0,d=h,x=E,h=r,E=b,r=n,b=_,_=Z+tt|0,n=Q+et+p(_,Z)|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+S|0,this._fl=this._fl+C|0,this._gl=this._gl+A|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+h+p(this._cl,E)|0,this._dh=this._dh+d+p(this._dl,x)|0,this._eh=this._eh+g+p(this._el,S)|0,this._fh=this._fh+m+p(this._fl,C)|0,this._gh=this._gh+y+p(this._gl,A)|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(207),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){var r=n(2)(n(105),n(227),null,null);t.exports=r.exports},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(31),i=r(o),s=n(241),a=r(s),u=n(222),c=r(u),f=n(223),l=r(f),p=n(224),h=r(p),d=n(225),v=r(d),g=n(226),m=r(g);i.default.use(a.default);var y=[{path:"/",name:"home",component:l.default},{path:"/login",name:"login",component:c.default},{path:"/passwords/",name:"passwords",component:m.default},{path:"/password/reset",name:"passwordReset",component:h.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){var r=n(2)(n(102),n(240),null,null);t.exports=r.exports},function(t,e,n){(function(e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var r=("undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self,"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}),o=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t,e){!function(e,n){t.exports=n()}(0,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){function r(t){var e=new s(t),n=i(s.prototype.request,e);return o.extend(n,s.prototype,e),o.extend(n,e),n}var o=n(2),i=n(3),s=n(4),a=n(5),u=r(a);u.Axios=s,u.create=function(t){return r(o.merge(a,t))},u.Cancel=n(22),u.CancelToken=n(23),u.isCancel=n(19),u.all=function(t){return Promise.all(t)},u.spread=n(24),t.exports=u,t.exports.default=u},function(t,e,n){function o(t){return"[object Array]"===S.call(t)}function i(t){return"[object ArrayBuffer]"===S.call(t)}function s(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function u(t){return"string"==typeof t}function c(t){return"number"==typeof t}function f(t){return void 0===t}function l(t){return null!==t&&"object"===(void 0===t?"undefined":r(t))}function p(t){return"[object Date]"===S.call(t)}function h(t){return"[object File]"===S.call(t)}function d(t){return"[object Blob]"===S.call(t)}function v(t){return"[object Function]"===S.call(t)}function g(t){return l(t)&&v(t.pipe)}function m(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function y(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function w(){return"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof document.createElement}function _(t,e){if(null!==t&&void 0!==t)if("object"===(void 0===t?"undefined":r(t))||o(t)||(t=[t]),o(t))for(var n=0,i=t.length;n=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){u.headers[t]={}}),i.forEach(["post","put","patch"],function(t){u.headers[t]=i.merge(a)}),t.exports=u},function(t,e,n){var r=n(2);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){var r=n(2),o=n(8),i=n(11),s=n(12),a=n(13),u=n(9),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(14);t.exports=function(t){return new Promise(function(e,f){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest,d="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||a(t.url)||(h=new window.XDomainRequest,d="onload",v=!0,h.onprogress=function(){},h.ontimeout=function(){}),t.auth){var g=t.auth.username||"",m=t.auth.password||"";p.Authorization="Basic "+c(g+":"+m)}if(h.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h[d]=function(){if(h&&(4===h.readyState||v)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,i={data:r,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:n,config:t,request:h};o(e,f,i),h=null}},h.onerror=function(){f(u("Network Error",t)),h=null},h.ontimeout=function(){f(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),h=null},r.isStandardBrowserEnv()){var y=n(15),w=(t.withCredentials||a(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;w&&(p[t.xsrfHeaderName]=w)}if("setRequestHeader"in h&&r.forEach(p,function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)}),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(t){if("json"!==h.responseType)throw t}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){h&&(h.abort(),f(t),h=null)}),void 0===l&&(l=null),h.send(l)})}},function(t,e,n){var r=n(9);t.exports=function(t,e,n){var 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){var r=n(10);t.exports=function(t,e,n,o){var i=new Error(t);return r(i,e,n,o)}},function(t,e){t.exports=function(t,e,n,r){return t.config=e,n&&(t.code=n),t.response=r,t}},function(t,e,n){function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n(2);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&&void 0!==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+=(-1===t.indexOf("?")?"?":"&")+i),t}},function(t,e,n){var r=n(2);t.exports=function(t){var e,n,o,i={};return t?(r.forEach(t.split("\n"),function(t){o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e&&(i[e]=i[e]?i[e]+", "+n:n)}),i):i}},function(t,e,n){var r=n(2);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){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))>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){var r=n(2);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),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,n){function r(){this.handlers=[]}var o=n(2);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},function(t,e,n){function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=n(2),i=n(18),s=n(19),a=n(5);t.exports=function(t){return 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]}),(t.adapter||a.adapter)(t).then(function(e){return r(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return s(e)||(r(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){var r=n(2);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e){t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e){t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e){t.exports=function(t,e){return t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,"")}},function(t,e){function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t,e,n){function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new o(t),e(n.reason))})}var o=n(22);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},function(t,e){t.exports=function(t){return function(e){return t.apply(null,e)}}}])})}),i={translate:function(t,e,n,r){return t&&e in t?this.compile(t[e],r):n?this.compile(n,r):e},compile:function(t,e){return e?t.replace(/{(\w*)}/g,function(t,n){return e.hasOwnProperty(n)?e[n]:""}):t},getBestLanguage:function(t,e,n){if(void 0===e)return n;for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{languagesAvailable:[],defaultLanguage:"en-US"};s||(s=new e({data:function(){return{languagesAvailable:n.languagesAvailable,defaultLanguage:n.defaultLanguage,lang:this.getLang(),locales:{}}},computed:{lang:function(){return this.lang},languagesAvailable:function(){return this.languagesAvailable},locale:function(){return this.locales[this.lang]?this.locales[this.lang]:null}},methods:{setLang:function(t){var e=t.lang;this.lang=e},addLangInLanguagesAvailable:function(t){var e=t.lang;-1===this.languagesAvailable.indexOf(e)&&this.languagesAvailable.push(e)},setLocale:function(e){var n=e.lang,r=e.locale;this.locales=Object.assign({},this.locales,t({},n,r))},getLang:function(){var t=n.languagesAvailable,e=window.navigator.userLanguage||window.navigator.language,r=n.defaultLanguage;return i.getBestLanguage(t,e,r)},getLocale:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.baseURL,i=void 0===r?"i18n":r,s=e.lang,a=void 0===s?"auto":s;(a="auto"===a?this.getLang():a)!==n.defaultLanguage&&o.get(i+"/"+a+".json").then(function(e){var n=e.data;t.setLocale({lang:a,locale:n}),t.setLang({lang:a}),t.addLangInLanguagesAvailable({lang:a})})},_t:function(t,e,n){return i.translate(this.locale,t,e,n)}}}),e.prototype.$polyglot=s),e.mixin({methods:{$t:function(t,e,n){return this.$polyglot._t(t,e,n)}}}),e.locales=function(t){Object.keys(t).forEach(function(e){s.$polyglot.setLocale({lang:e,locale:t[e]})})}}}})}).call(e,n(10),n(11))},function(t,e){function n(t,e){var r={name:t.name,path:t.path,hash:t.hash,query:t.query,params:t.params,fullPath:t.fullPath,meta:t.meta};return e&&(r.from=n(e)),Object.freeze(r)}e.sync=function(t,e,r){var o=(r||{}).moduleName||"route";t.registerModule(o,{state:n(e.currentRoute),mutations:{"router/ROUTE_CHANGED":function(e,r){t.state[o]=n(r.to,r.from)}}});var i,s=!1;t.watch(function(t){return t[o]},function(t){t.fullPath!==i&&(s=!0,i=t.fullPath,e.push(t))},{sync:!0}),e.afterEach(function(e,n){if(s)return void(s=!1);i=e.fullPath,t.commit("router/ROUTE_CHANGED",{to:e,from:n})})}},function(t,e){!function(){function e(t){var e=Array.isArray(t)?{label:t[0],value:t[1]}:"object"==typeof t&&"label"in t&&"value"in t?t:{label:t,value:t};this.label=e.label||e.value,this.value=e.value}function n(t,e,n){for(var r in e){var o=e[r],i=t.input.getAttribute("data-"+r.toLowerCase());"number"==typeof o?t[r]=parseInt(i):!1===o?t[r]=null!==i:o instanceof Function?t[r]=null:t[r]=i,t[r]||0===t[r]||(t[r]=r in n?n[r]:o)}}function r(t,e){return"string"==typeof t?(e||document).querySelector(t):t||null}function o(t,e){return a.call((e||document).querySelectorAll(t))}function i(){o("input.awesomplete").forEach(function(t){new s(t)})}var s=function(t,e){var o=this;this.input=r(t),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-autocomplete","list"),e=e||{},n(this,{minChars:2,maxItems:10,autoFirst:!1,data:s.DATA,filter:s.FILTER_CONTAINS,sort:s.SORT_BYLENGTH,item:s.ITEM,replace:s.REPLACE},e),this.index=-1,this.container=r.create("div",{className:"awesomplete",around:t}),this.ul=r.create("ul",{hidden:"hidden",inside:this.container}),this.status=r.create("span",{className:"visually-hidden",role:"status","aria-live":"assertive","aria-relevant":"additions",inside:this.container}),r.bind(this.input,{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(t){var e=t.keyCode;o.opened&&(13===e&&o.selected?(t.preventDefault(),o.select()):27===e?o.close({reason:"esc"}):38!==e&&40!==e||(t.preventDefault(),o[38===e?"previous":"next"]()))}}),r.bind(this.input.form,{submit:this.close.bind(this,{reason:"submit"})}),r.bind(this.ul,{mousedown:function(t){var e=t.target;if(e!==this){for(;e&&!/li/i.test(e.nodeName);)e=e.parentNode;e&&0===t.button&&(t.preventDefault(),o.select(e,t.target))}}}),this.input.hasAttribute("list")?(this.list="#"+this.input.getAttribute("list"),this.input.removeAttribute("list")):this.list=this.input.getAttribute("data-list")||e.list||[],s.all.push(this)};s.prototype={set list(t){if(Array.isArray(t))this._list=t;else if("string"==typeof t&&t.indexOf(",")>-1)this._list=t.split(/\s*,\s*/);else if((t=r(t))&&t.children){var e=[];a.apply(t.children).forEach(function(t){if(!t.disabled){var n=t.textContent.trim(),r=t.value||n,o=t.label||n;""!==r&&e.push({label:o,value:r})}}),this._list=e}document.activeElement===this.input&&this.evaluate()},get selected(){return this.index>-1},get opened(){return!this.ul.hasAttribute("hidden")},close:function(t){this.opened&&(this.ul.setAttribute("hidden",""),this.index=-1,r.fire(this.input,"awesomplete-close",t||{}))},open:function(){this.ul.removeAttribute("hidden"),this.autoFirst&&-1===this.index&&this.goto(0),r.fire(this.input,"awesomplete-open")},next:function(){var t=this.ul.children.length;this.goto(this.index-1&&e.length>0&&(e[t].setAttribute("aria-selected","true"),this.status.textContent=e[t].textContent,r.fire(this.input,"awesomplete-highlight",{text:this.suggestions[this.index]}))},select:function(t,e){if(t?this.index=r.siblingIndex(t):t=this.ul.children[this.index],t){var n=this.suggestions[this.index];r.fire(this.input,"awesomplete-select",{text:n,origin:e||t})&&(this.replace(n),this.close({reason:"select"}),r.fire(this.input,"awesomplete-selectcomplete",{text:n}))}},evaluate:function(){var t=this,n=this.input.value;n.length>=this.minChars&&this._list.length>0?(this.index=-1,this.ul.innerHTML="",this.suggestions=this._list.map(function(r){return new e(t.data(r,n))}).filter(function(e){return t.filter(e,n)}).sort(this.sort).slice(0,this.maxItems),this.suggestions.forEach(function(e){t.ul.appendChild(t.item(e,n))}),0===this.ul.children.length?this.close({reason:"nomatches"}):this.open()):this.close({reason:"nomatches"})}},s.all=[],s.FILTER_CONTAINS=function(t,e){return RegExp(r.regExpEscape(e.trim()),"i").test(t)},s.FILTER_STARTSWITH=function(t,e){return RegExp("^"+r.regExpEscape(e.trim()),"i").test(t)},s.SORT_BYLENGTH=function(t,e){return t.length!==e.length?t.length-e.length:t$&"),"aria-selected":"false"})},s.REPLACE=function(t){this.input.value=t.value},s.DATA=function(t){return t},Object.defineProperty(e.prototype=Object.create(String.prototype),"length",{get:function(){return this.label.length}}),e.prototype.toString=e.prototype.valueOf=function(){return""+this.label};var a=Array.prototype.slice;r.create=function(t,e){var n=document.createElement(t);for(var o in e){var i=e[o];if("inside"===o)r(i).appendChild(n);else if("around"===o){var s=r(i);s.parentNode.insertBefore(n,s),n.appendChild(s)}else o in n?n[o]=i:n.setAttribute(o,i)}return n},r.bind=function(t,e){if(t)for(var n in e){var r=e[n];n.split(/\s+/).forEach(function(e){t.addEventListener(e,r)})}},r.fire=function(t,e,n){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0);for(var o in n)r[o]=n[o];return t.dispatchEvent(r)},r.regExpEscape=function(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")},r.siblingIndex=function(t){for(var e=0;t=t.previousElementSibling;e++);return e},"undefined"!=typeof Document&&("loading"!==document.readyState?i():document.addEventListener("DOMContentLoaded",i)),s.$=r,s.$$=o,"undefined"!=typeof self&&(self.Awesomplete=s),"object"==typeof t&&t.exports&&(t.exports=s)}()},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(56),s=n(87),a=n(32),u=r(a);u.Axios=s,u.create=function(t){return r(o.merge(a,t))},u.Cancel=n(53),u.CancelToken=n(86),u.isCancel=n(54),u.all=function(t){return Promise.all(t)},u.spread=n(101),t.exports=u,t.exports.default=u},function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new o(t),e(n.reason))})}var o=n(53);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new s,response:new s}}var o=n(32),i=n(3),s=n(88),a=n(89),u=n(97),c=n(95);r.prototype.request=function(t){"string"==typeof t&&(t=i.merge({url:arguments[0]},arguments[1])),t=i.merge(o,this.defaults,{method:"get"},t),t.baseURL&&!u(t.url)&&(t.url=c(t.baseURL,t.url));var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},i.forEach(["delete","get","head","options"],function(t){r.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}}),i.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},function(t,e,n){"use strict";function r(){this.handlers=[]}var o=n(3);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=n(3),i=n(92),s=n(54),a=n(32);t.exports=function(t){return 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]}),(t.adapter||a.adapter)(t).then(function(e){return r(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return s(e)||(r(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";t.exports=function(t,e,n,r){return t.config=e,n&&(t.code=n),t.response=r,t}},function(t,e,n){"use strict";var r=n(55);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n)):t(n)}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";function r(){this.message="String contains an invalid character"}function o(t){for(var e,n,o=String(t),s="",a=0,u=i;o.charAt(0|a)||(u="=",a%1);s+=u.charAt(63&e>>8-a%1*8)){if((n=o.charCodeAt(a+=.75))>255)throw new r;e=e<<8|n}return s}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=o},function(t,e,n){"use strict";function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n(3);t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(o.isURLSearchParams(e))i=e.toString();else{var s=[];o.forEach(e,function(t,e){null!==t&&void 0!==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+=(-1===t.indexOf("?")?"?":"&")+i),t}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";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),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";var r=n(3);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(n){var o=r.isString(n)?t(n):n;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t){var e,n,o,i={};return t?(r.forEach(t.split("\n"),function(t){o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e&&(i[e]=i[e]?i[e]+", "+n:n)}),i):i}},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),n(186);var o=n(217),i=r(o),s=n(218),a=r(s),u=n(9);e.default={name:"LessPass",components:{"lesspass-menu":i.default,"lesspass-message":a.default},computed:(0,u.mapGetters)(["version"]),created:function(){this.$store.dispatch("cleanMessage"),this.$store.dispatch("loadPasswordFirstTime"),this.$store.dispatch("refreshToken")}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"avatar",props:{name:{type:String,required:!0},selected:{type:Boolean,default:!1}},data:function(){return{alphabetColors:{a:"#5A8770",b:"#B2B7BB",c:"#6FA9AB",d:"#F5AF29",e:"#0088B9",f:"#F18636",g:"#D93A37",h:"#A6B12E",i:"#5C9BBC",j:"#F5888D",k:"#9A89B5",l:"#407887",m:"#9A89B5",n:"#5A8770",o:"#D33F33",p:"#A2B01F",q:"#F0B126",r:"#0087BF",s:"#F18636",t:"#0087BF",u:"#B2B7BB",v:"#72ACAE",w:"#9C8AB4",x:"#5A8770",y:"#EEB424",z:"#407887"},firstLetter:""}},mounted:function(){this.firstLetter=this.$props.name.charAt(0)},computed:{avatarStyle:function(){return{backgroundColor:this.$props.selected?"#333333":this.alphabetColors[this.firstLetter]||"#5A8770"}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(44),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={data:function(){return{icon1:"",icon2:"",icon3:"",color1:"",color2:"",color3:""}},props:["fingerprint"],watch:{fingerprint:function(t){var e=this;t&&o.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"];return e[parseInt(t,16)%e.length]},getIcon:function(t){var e=["fa-hashtag","fa-heart","fa-hotel","fa-university","fa-plug","fa-ambulance","fa-bus","fa-car","fa-plane","fa-rocket","fa-ship","fa-subway","fa-truck","fa-jpy","fa-eur","fa-btc","fa-usd","fa-gbp","fa-archive","fa-area-chart","fa-bed","fa-beer","fa-bell","fa-binoculars","fa-birthday-cake","fa-bomb","fa-briefcase","fa-bug","fa-camera","fa-cart-plus","fa-certificate","fa-coffee","fa-cloud","fa-coffee","fa-comment","fa-cube","fa-cutlery","fa-database","fa-diamond","fa-exclamation-circle","fa-eye","fa-flag","fa-flask","fa-futbol-o","fa-gamepad","fa-graduation-cap"];return e[parseInt(t,16)%e.length]}}}},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(192),i=r(o),s=n(216),a=r(s);e.default={components:{Fingerprint:a.default},props:["value","keyupEnter"],data:function(){return{fingerprint:"",password:this.value}},watch:{value:function(t){this.password=t,this.updatePassword(t)}},methods:{updatePassword:function(t){this.fingerprint=Math.random().toString(36).substring(7),this.showRealFingerprint(t),this.$emit("input",t)},showRealFingerprint:(0,i.default)(function(t){this.fingerprint=t},500),togglePasswordType:function(t){"password"===t.type?t.type="text":t.type="password"},triggerEnterMethod:function(){void 0!==this.keyupEnter&&this.password&&this.keyupEnter()}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(9);e.default={data:function(){return{saved:!1}},methods:{fullReload:function(){this.$store.dispatch("savePassword",{password:this.defaultPassword}),this.$router.push({name:"home"})},logout:function(){this.$store.dispatch("logout"),this.$router.push({name:"home"})},saveOrUpdatePassword:function(){var t=this;this.$store.dispatch("saveOrUpdatePassword"),this.saved=!0,setTimeout(function(){t.saved=!1},3e3)}},computed:(0,r.mapGetters)(["isAuthenticated","isGuest","password","defaultPassword"])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(9),o=n(12),i=function(t){return t&&t.__esModule?t:{default:t}}(o);e.default={computed:(0,r.mapGetters)(["message"]),methods:{keepMessage:function(){i.default.keepMessage()},hideMessage:function(){i.default.hideMessage()}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i=n(117);e.default={name:"options",props:{password:{type:Object,required:!0}},data:function(){return{options:{uppercase:this.password.uppercase,lowercase:this.password.lowercase,numbers:this.password.numbers,symbols:this.password.symbols,length:this.password.length,counter:this.password.counter,version:this.password.version}}},watch:{options:{handler:function(t){if(1===t.version){var e=this.getDayBeforeOnlyV2(),n=this.$t("WarningV1","Version 1 is deprecated and will be removed in {dayBeforeOnlyV2} days. We strongly advise you to migrate your passwords to version 2.",{dayBeforeOnlyV2:e});o.default.error(n)}this.$emit("optionsUpdated",t)},deep:!0}},methods:{decrement:i.decrement,increment:i.increment,setVersion:function(t){this.options.length=1===t?12:16,this.options.version=t,this.$store.dispatch("saveVersion",{version:t})},getDayBeforeOnlyV2:function(){var t=new Date,e=new Date(2017,4,10);return Math.round(Math.abs((t.getTime()-e.getTime())/864e5))},saveDefaultOptions:function(){this.$store.dispatch("saveDefaultOptions",{options:this.options}),o.default.success(this.$t("Your options have been saved successfully"))}}}},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(215),i=r(o),s=n(12),a=r(s);e.default={name:"password",props:{password:{type:Object,required:!0}},components:{Avatar:i.default},data:function(){return{selected:!1}},methods:{selectPassword:function(){this.selected=!this.selected},deletePassword:function(){if(!0===confirm(this.$t("DeleteProfileConfirm","Are you sure you want to delete this password profile?")))return a.default.success(this.$t("PasswordProfileSuccessfullyDeleted","Your password profile has been successfully deleted!")),this.$emit("deleted"),this.$store.dispatch("deletePassword",{id:this.password.id})},setPassword:function(){this.$store.dispatch("savePassword",{password:this.password}),this.$router.push({name:"home"})}}}},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(13),i=r(o),s=n(44),a=r(s),u=n(24),c=r(u),f=n(9),l=n(78),p=r(l),h=n(12),d=r(h);e.default={data:function(){return{email:"",password:"",baseURL:"https://lesspass.com",transformMasterPassword:!1}},components:{MasterPassword:p.default},computed:(0,i.default)({},(0,f.mapGetters)(["version"])),watch:{password:function(){this.transformMasterPassword=!1},transformMasterPassword:function(t){var e=this;if(t){var n={lowercase:!0,uppercase:!0,numbers:!0,symbols:!0,length:16,counter:1,version:2};return a.default.generatePassword("lesspass.com",this.email,this.password,n).then(function(t){e.password=t})}}},methods:{formIsValid:function(){return!!(this.email&&this.password&&this.baseURL)||(d.default.error(this.$t("LoginFormInvalid","LessPass URL, email, and password are mandatory")),!1)},signIn:function(){var t=this;if(this.formIsValid()){var e=this.baseURL;c.default.login({email:this.email,password:this.password},{baseURL:e}).then(function(n){t.$store.dispatch("login",{token:n.token,baseURL:e}),t.$router.push({name:"home"})}).catch(function(n){void 0===n.response&&"https://lesspass.com"!==e?d.default.error(t.$t("DBNotRunning","Your LessPass Database is not running")):400===n.response.status?d.default.error(t.$t("LoginIncorrectError","The email and password you entered did not match our records. Please double-check and try again.")):d.default.displayGenericError()})}},register:function(){var t=this;if(this.formIsValid()){var e=this.baseURL;c.default.register({email:this.email,password:this.password},{baseURL:e}).then(function(){d.default.success(t.$t("WelcomeRegister","Welcome {email}, thank you for signing up.",{email:t.email})),t.signIn()}).catch(function(e){e.response&&void 0!==e.response.data.email?(-1!==e.response.data.email[0].indexOf("already exists")&&d.default.error(t.$t("EmailAlreadyExist","This email is already registered. Want to login or recover your password?")),-1!==e.response.data.email[0].indexOf("valid email")&&d.default.error(t.$t("EmailInvalid","Please enter a valid email"))):d.default.displayGenericError()})}}}}},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(33),i=r(o),s=n(44),a=r(s),u=n(9),c=n(131),f=r(c),l=n(221),p=r(l),h=n(78),d=r(h),v=n(219),g=r(v),m=n(118),y=n(12),w=r(y),_=n(84),b=r(_);e.default={name:"password-generator-view",components:{RemoveAutoComplete:p.default,MasterPassword:d.default,Options:g.default},computed:(0,u.mapGetters)(["passwords","password","passwordURL"]),beforeMount:function(){var t=this;this.$store.dispatch("getPasswords"),this.$store.dispatch("getSite"),this.$store.dispatch("getPasswordFromUrlQuery",{query:this.$route.query}),new f.default(".btn-copy").on("success",function(e){e.text&&((0,m.showTooltip)(e.trigger,t.$t("Copied","copied !")),setTimeout(function(){t.cleanFormInSeconds(10)},2e3))})},mounted:function(){var t=this;setTimeout(function(){t.focusBestInputField()},500)},data:function(){return{masterPassword:"",fingerprint:"",generatedPassword:"",cleanTimeout:null,showOptions:this.$store.getters.optionsDifferentFromDefault,generatingPassword:!1}},watch:{passwords:function(t){var e=this.$refs.site,n=this;null!==e&&t.length>0&&new b.default(e,{list:t.map(function(t){return{label:t.site+" "+t.login,value:t}}),replace:function(t){n.$store.dispatch("savePassword",{password:t.value}),this.input.value=t.value.site,n.focusBestInputField()}})},"password.site":function(){this.cleanErrors()},"password.login":function(){this.cleanErrors()},generatedPassword:function(){this.cleanFormInSeconds(30)},masterPassword:function(){this.cleanErrors(),this.cleanFormInSeconds(30)}},methods:{togglePasswordType:function(t){"password"===t.type?t.type="text":t.type="password"},cleanErrors:function(){clearTimeout(this.cleanTimeout),this.generatedPassword=""},cleanFormInSeconds:function(t){var e=this;clearTimeout(this.cleanTimeout),this.cleanTimeout=setTimeout(function(){e.masterPassword="",e.generatedPassword="",e.fingerprint=""},1e3*t)},generatePassword:function(){var t=this,e=this.password.site,n=this.password.login,r=this.masterPassword;if(!e&&!n||!r)return void w.default.error(this.$t("SiteLoginMasterPasswordMandatory","Site, login, and master password fields are mandatory."));this.generatingPassword=!0,this.cleanErrors(),this.fingerprint=this.masterPassword;var o={lowercase:this.password.lowercase,uppercase:this.password.uppercase,numbers:this.password.numbers,symbols:this.password.symbols,length:this.password.length,counter:this.password.counter,version:this.password.version};return a.default.generatePassword(e,n,r,o).then(function(e){t.generatingPassword=!1,t.generatedPassword=e,t.$store.dispatch("savePassword",{password:t.password}),t.$store.dispatch("passwordGenerated"),window.document.getElementById("copyPasswordButton").setAttribute("data-clipboard-text",e)})},optionsUpdated:function(t){this.cleanErrors();var e=(0,i.default)({},this.password,t);this.$store.dispatch("savePassword",{password:e})},focusBestInputField:function(){var t=this.$refs.site,e=this.$refs.login,n=this.$refs.masterPassword.$refs.password;t.value?e.value?n.focus():e.focus():t.focus()}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(13),i=r(o),s=n(24),a=r(s),u=n(9),c=n(12),f=r(c);e.default={data:function(){return{email:""}},computed:(0,i.default)({},(0,u.mapGetters)(["version","baseURL"])),methods:{resetPassword:function(){var t=this;if(!this.email)return void f.default.error(this.$t("EmailRequiredError","We need an email to find your account."));a.default.resetPassword({email:this.email},{baseURL:this.baseURL}).then(function(){var e=t.$t("resetPasswordSuccess","If the email address {email} is associated with a LessPass account, you will shortly receive an email from LessPass with instructions on how to reset your password.",{email:t.email});f.default.success(e)}).catch(function(){f.default.displayGenericError()})}}}},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(13),i=r(o),s=n(24),a=r(s),u=n(9),c=n(12),f=r(c);e.default={data:function(){return{new_password:""}},methods:{resetPasswordConfirm:function(){if(!this.new_password)return void f.default.success($t("PasswordResetRequired","A password is required"));a.default.confirmResetPassword({uid:this.$route.params.uid,token:this.$route.params.token,new_password:this.new_password}).then(function(){f.default.success($t("PasswordResetSuccessful","Your password was reset successfully."))}).catch(function(t){400===t.response.status?f.default.error($t("ResetLinkExpired","This password reset link has expired.")):f.default.displayGenericError()})}},computed:(0,i.default)({},(0,u.mapGetters)(["version"]))}},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(13),i=r(o),s=n(220),a=r(s),u=n(9);e.default={name:"passwords-view",data:function(){return{searchQuery:"",pagination:{number_of_pages:1,per_page:4,current_page:1}}},components:{PasswordProfile:a.default},computed:(0,i.default)({},(0,u.mapGetters)(["passwords"]),{filteredPasswords:function(){var t=this,e=this.passwords.filter(function(e){var n=e.login.match(new RegExp(t.searchQuery,"i")),r=e.site.match(new RegExp(t.searchQuery,"i"));return n||r});return this.pagination.number_of_pages=Math.ceil(e.length/this.pagination.per_page),e.slice(this.pagination.current_page*this.pagination.per_page-this.pagination.per_page,this.pagination.current_page*this.pagination.per_page)}})}},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(13),i=r(o),s=n(51),a=r(s);e.default={addAuthorizationHeader:function(t){return(0,i.default)({},t,{headers:{Authorization:"JWT "+t.token}})},all:function(t){return a.default.get("/api/passwords/",this.addAuthorizationHeader(t))},create:function(t,e){return a.default.post("/api/passwords/",t,this.addAuthorizationHeader(e))},read:function(t,e){return a.default.get("/api/passwords/"+t.id+"/",this.addAuthorizationHeader(e))},update:function(t,e){return a.default.put("/api/passwords/"+t.id+"/",t,this.addAuthorizationHeader(e))},delete:function(t,e){return a.default.delete("/api/passwords/"+t.id+"/",this.addAuthorizationHeader(e))}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var o=n(31),i=r(o),s=n(81),a=r(s),u=n(83),c=n(50),f=r(c),l=n(80),p=r(l),h=n(82),d=r(h);i.default.use(d.default,{defaultLanguage:"en",languagesAvailable:["fr","es","de","zh","zh-CN"]}),(0,u.sync)(f.default,p.default),new i.default({el:"#lesspass",beforeCreate:function(){this.$polyglot.getLocale({baseURL:"dist/i18n",lang:"auto"})},store:f.default,router:p.default,render:function(t){return t(a.default)}})},function(t,e,n){"use strict";function r(t,e){var n=e.min,r=e.max;return t>r?r:t=9){var o=p.getPasswordFromUrlQuery(r);n(d.SET_PASSWORD,{password:o})}},e.savePassword=function(t,e){(0,t.commit)(d.SET_PASSWORD,e)}),g=(e.saveVersion=function(t,e){(0,t.commit)(d.SET_VERSION,e)},e.login=function(t,e){var n=t.commit;n(d.SET_BASE_URL,e),n(d.SET_TOKEN,e),n(d.LOGIN)},e.logout=function(t){(0,t.commit)(d.LOGOUT)},e.getPasswords=function(t){var e=t.commit,n=t.state;n.authenticated&&u.default.all(n).then(function(t){return e(d.SET_PASSWORDS,{passwords:t.data.results})})});e.saveOrUpdatePassword=function(t){var e=t.commit,n=t.state;if(n.password&&void 0===n.password.id){var r=n.password.site,o=n.password.login;(r||o)&&u.default.create(n.password,n).then(function(t){v({commit:e},{password:t.data}),g({commit:e,state:n})})}else u.default.update(n.password,n).then(function(){g({commit:e,state:n})})},e.deletePassword=function(t,e){var n=t.commit,r=t.state;u.default.delete(e,r).then(function(){n(d.DELETE_PASSWORD,e)})},e.displayMessage=function(t,e){(0,t.commit)(d.SET_MESSAGE,e)},e.cleanMessage=function(t){(0,t.commit)(d.CLEAN_MESSAGE)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.optionsDifferentFromDefault=e.passwordURL=e.version=e.message=e.baseURL=e.isGuest=e.isAuthenticated=e.defaultPassword=e.password=e.passwords=void 0;var r=n(57);e.passwords=function(t){return t.passwords},e.password=function(t){return t.password},e.defaultPassword=function(t){return t.defaultPassword},e.isAuthenticated=function(t){return t.authenticated},e.isGuest=function(t){return!t.authenticated},e.baseURL=function(t){return t.baseURL},e.message=function(t){return t.message},e.version=function(t){return null===t.password||"/options/default"===t.route.path?t.defaultPassword.version:t.password.version},e.passwordURL=function(t){return t.baseURL+"/#/?login="+t.password.login+"&site="+t.password.site+"&uppercase="+t.password.uppercase+"&lowercase="+t.password.lowercase+"&numbers="+t.password.numbers+"&symbols="+t.password.symbols+"&length="+t.password.length+"&counter="+t.password.counter+"&version="+t.password.version},e.optionsDifferentFromDefault=function(t){for(var e in r.defaultOptions)if(r.defaultOptions[e]!==t.password[e])return!0;return!1}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o,i=n(126),s=r(i),a=n(33),u=r(a),c=n(13),f=r(c),l=n(58),p=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(l);e.default=(o={},(0,s.default)(o,p.LOGIN,function(t){t.authenticated=!0}),(0,s.default)(o,p.SET_TOKEN,function(t,e){var n=e.token;t.token=n}),(0,s.default)(o,p.LOGOUT,function(t){t.authenticated=!1,t.token=null,t.passwords=[],t.password=(0,f.default)({},t.defaultPassword)}),(0,s.default)(o,p.SET_PASSWORD,function(t,e){var n=e.password;t.password=(0,f.default)({},n)}),(0,s.default)(o,p.PASSWORD_GENERATED,function(t){t.lastUse=(new Date).getTime()}),(0,s.default)(o,p.SET_DEFAULT_OPTIONS,function(t,e){var n=e.options;t.defaultPassword=(0,u.default)({},t.defaultPassword,n)}),(0,s.default)(o,p.SET_PASSWORDS,function(t,e){var n=e.passwords;t.passwords=n}),(0,s.default)(o,p.DELETE_PASSWORD,function(t,e){var n=e.id;t.passwords=t.passwords.filter(function(t){return t.id!==n}),t.password&&t.password.id===n&&(t.password=(0,u.default)({},t.defaultPassword))}),(0,s.default)(o,p.SET_BASE_URL,function(t,e){var n=e.baseURL;t.baseURL=n}),(0,s.default)(o,p.SET_SITE,function(t,e){var n=e.site;t.password.site||(t.password.site=n)}),(0,s.default)(o,p.SET_VERSION,function(t,e){var n=e.version,r=1===n?12:16;t.password.version=n,t.password.length=r}),(0,s.default)(o,p.LOAD_PASSWORD_FIRST_TIME,function(t){(new Date).getTime()-6e4>t.lastUse&&(t.password=(0,f.default)({},t.defaultPassword))}),(0,s.default)(o,p.LOAD_PASSWORD_WITH_SITE,function(t,e){for(var n=e.site,r=t.passwords,o=0;o0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function o(t){return 3*t.length/4-r(t)}function i(t){var e,n,o,i,s,a,u=t.length;s=r(t),a=new l(3*u/4-s),o=s>0?u-4:u;var c=0;for(e=0,n=0;e>16&255,a[c++]=i>>8&255,a[c++]=255&i;return 2===s?(i=f[t.charCodeAt(e)]<<2|f[t.charCodeAt(e+1)]>>4,a[c++]=255&i):1===s&&(i=f[t.charCodeAt(e)]<<10|f[t.charCodeAt(e+1)]<<4|f[t.charCodeAt(e+2)]>>2,a[c++]=i>>8&255,a[c++]=255&i),a}function s(t){return c[t>>18&63]+c[t>>12&63]+c[t>>6&63]+c[63&t]}function a(t,e,n){for(var r,o=[],i=e;iu?u:s+16383));return 1===r?(e=t[n-1],o+=c[e>>2],o+=c[e<<4&63],o+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],o+=c[e>>10],o+=c[e>>4&63],o+=c[e<<2&63],o+="="),i.push(o),i.join("")}e.byteLength=o,e.toByteArray=i,e.fromByteArray=u;for(var c=[],f=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,d=p.length;h0?Math.floor(t):Math.ceil(t)}function l(t,e){var n,r,o=t.length,i=e.length,s=new Array(o),a=0,u=H;for(r=0;r=u?1:0,s[r]=n-a*u;for(;r0&&s.push(a),s}function p(t,e){return t.length>=e.length?l(t,e):l(e,t)}function h(t,e){var n,r,o=t.length,i=new Array(o),s=H;for(r=0;r0;)i[r++]=e%s,e=Math.floor(e/s);return i}function d(t,e){var n,r,o=t.length,i=e.length,s=new Array(o),a=0,c=H;for(n=0;n=0?i=d(t,e):(i=d(e,t),n=!n),i=a(i),"number"==typeof i?(n&&(i=-i),new o(i)):new r(i,n)}function g(t,e,n){var i,s,u=t.length,c=new Array(u),f=-e,l=H;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 m(t,e);n=Math.ceil(n/2);var r=t.slice(n),o=t.slice(0,n),i=e.slice(n),s=e.slice(0,n),a=_(o,s),c=_(r,i),f=_(p(o,r),p(s,i)),l=p(p(a,w(d(d(f,a),c),n)),w(c,2*n));return u(l),l}function b(t,e){return-.012*t-.012*e+15e-6*t*e>0}function E(t,e,n){return t=0;r--){for(n=h-1,m[r+p]!==v&&(n=Math.floor((m[r+p]*h+m[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),k(s,l)<=0)break;n--}while(n);f.push(n),l=d(l,s)}return f.reverse(),[a(f),a(l)]}function A(t,e){var n,r,o,i,s=t.length,a=c(s),u=H;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(-1==p)return[t.negate(),n[0]];var h=Math.abs(p);if(he.length?1:-1;for(var n=t.length-1;n>=0;n--)if(t[n]!==e[n])return t[n]>e[n]?1:-1;return 0}function P(t){var e=t.abs();return!e.isUnit()&&(!!(e.equals(2)||e.equals(3)||e.equals(5))||!(e.isEven()||e.isDivisibleBy(3)||e.isDivisibleBy(5))&&(!!e.lesser(25)||void 0))}function T(t){return("number"==typeof t||"string"==typeof t)&&+Math.abs(t)<=H||t instanceof r&&t.value.length<=1}function j(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=[],h=0;h=0;p--){var h=l?s.value[p]:H,d=f(Math.random()*h);c.unshift(d),d"}function U(t,n){if(n=e(n),n.isZero()){if(t.isZero())return"0";throw new Error("Cannot convert nonzero numbers to base 0.")}if(n.equals(-1))return t.isZero()?"0":t.isNegative()?new Array(1-t).join("10"):"1"+new Array(+t).join("01");var r="";if(t.isNegative()&&n.isPositive()&&(r="-",t=t.abs()),n.equals(1))return t.isZero()?"0":r+new Array(+t+1).join(1);for(var o,i=[],s=t;s.isNegative()||s.compareAbs(n)>=0;){o=s.divmod(n),s=o.quotient;var a=o.remainder;a.isNegative()&&(a=n.minus(a).abs(),s=s.next()),i.push(D(a))}return i.push(D(s)),r+i.reverse().join("")}function N(t){if(i(+t)){var e=+t;if(e===f(e))return new o(e);throw"Invalid integer: "+t}var n="-"===t[0];n&&(t=t.slice(1));var s=t.split(/e/i);if(s.length>2)throw new Error("Invalid integer: "+s.join("e"));if(2===s.length){var a=s[1];if("+"===a[0]&&(a=a.slice(1)),(a=+a)!==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}if(!/^([0-9][0-9]*)$/.test(t))throw new Error("Invalid integer: "+t);for(var p=[],h=t.length,d=z,v=h-d;h>0;)p.push(+t.slice(v,h)),v-=d,v<0&&(v=0),h-=d;return u(p),new r(p,n)}function F(t){if(i(t)){if(t!==f(t))throw new Error(t+" is not an integer.");return new o(t)}return N(t.toString())}function q(t){return"number"==typeof t?F(t):"string"==typeof t?N(t):t}var H=1e7,z=7,W=9007199254740992,G=s(W),V=Math.log(W);r.prototype=Object.create(n.prototype),o.prototype=Object.create(n.prototype),r.prototype.add=function(t){var e=q(t);if(this.sign!==e.sign)return this.subtract(e.negate());var n=this.value,o=e.value;return e.isSmall?new r(h(n,Math.abs(o)),this.sign):new r(p(n,o),this.sign)},r.prototype.plus=r.prototype.add,o.prototype.add=function(t){var e=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(h(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?g(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):g(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(-1===a)return this.negate();if((e=Math.abs(a))r?1:-1):-1},r.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=q(t),n=this.value,r=e.value;return this.sign!==e.sign?e.sign?1:-1:e.isSmall?this.sign?-1:1:k(n,r)*(this.sign?-1:1)},r.prototype.compareTo=r.prototype.compare,o.prototype.compare=function(t){if(t===1/0)return-1;if(t===-1/0)return 1;var e=q(t),n=this.value,r=e.value;return e.isSmall?n==r?0:n>r?1:-1:n<0!==e.sign?n<0?-1:1:n<0?1:-1},o.prototype.compareTo=o.prototype.compare,r.prototype.equals=function(t){return 0===this.compare(t)},o.prototype.eq=o.prototype.equals=r.prototype.eq=r.prototype.equals,r.prototype.notEquals=function(t){return 0!==this.compare(t)},o.prototype.neq=o.prototype.notEquals=r.prototype.neq=r.prototype.notEquals,r.prototype.greater=function(t){return this.compare(t)>0},o.prototype.gt=o.prototype.greater=r.prototype.gt=r.prototype.greater,r.prototype.lesser=function(t){return this.compare(t)<0},o.prototype.lt=o.prototype.lesser=r.prototype.lt=r.prototype.lesser,r.prototype.greaterOrEquals=function(t){return this.compare(t)>=0},o.prototype.geq=o.prototype.greaterOrEquals=r.prototype.geq=r.prototype.greaterOrEquals,r.prototype.lesserOrEquals=function(t){return this.compare(t)<=0},o.prototype.leq=o.prototype.lesserOrEquals=r.prototype.leq=r.prototype.lesserOrEquals,r.prototype.isEven=function(){return 0==(1&this.value[0])},o.prototype.isEven=function(){return 0==(1&this.value)},r.prototype.isOdd=function(){return 1==(1&this.value[0])},o.prototype.isOdd=function(){return 1==(1&this.value)},r.prototype.isPositive=function(){return!this.sign},o.prototype.isPositive=function(){return this.value>0},r.prototype.isNegative=function(){return this.sign},o.prototype.isNegative=function(){return this.value<0},r.prototype.isUnit=function(){return!1},o.prototype.isUnit=function(){return 1===Math.abs(this.value)},r.prototype.isZero=function(){return!1},o.prototype.isZero=function(){return 0===this.value},r.prototype.isDivisibleBy=function(t){var e=q(t),r=e.value;return 0!==r&&(1===r||(2===r?this.isEven():this.mod(e).equals(n[0])))},o.prototype.isDivisibleBy=r.prototype.isDivisibleBy,r.prototype.isPrime=function(){var t=P(this);if(void 0!==t)return t;for(var r,o,i,s,a=this.abs(),u=a.prev(),c=[2,3,5,7,11,13,17,19],f=u;f.isEven();)f=f.divide(2);for(i=0;i-W?new o(t-1):new r(G,!0)};for(var Y=[1];Y[Y.length-1]<=H;)Y.push(2*Y[Y.length-1]);var K=Y.length,J=Y[K-1];r.prototype.shiftLeft=function(t){if(!T(t))throw new Error(String(t)+" is too large for shifting.");if((t=+t)<0)return this.shiftRight(-t);for(var e=this;t>=K;)e=e.multiply(J),t-=K-1;return e.multiply(Y[t])},o.prototype.shiftLeft=r.prototype.shiftLeft,r.prototype.shiftRight=function(t){var e;if(!T(t))throw new Error(String(t)+" is too large for shifting.");if((t=+t)<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,Y[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 j(this,t,function(t,e){return t&e})},o.prototype.and=r.prototype.and,r.prototype.or=function(t){return j(this,t,function(t,e){return t|e})},o.prototype.or=r.prototype.or,r.prototype.xor=function(t){return j(this,t,function(t,e){return t^e})},o.prototype.xor=r.prototype.xor;var X=1<<30,Z=(H&-H)*(H&-H)|X,Q=function(t,e){var r=n[0],i=n[1],s=t.length;if(2<=e&&e<=36&&s<=V/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;)e=String(n[r]),o+=i.slice(e.length)+e;return(this.sign?"-":"")+o},o.prototype.toString=function(t){return void 0===t&&(t=10),10!=t?U(this,t):String(this.value)},r.prototype.valueOf=function(){return+this.toString()},r.prototype.toJSNumber=r.prototype.valueOf,o.prototype.valueOf=function(){return this.value},o.prototype.toJSNumber=o.prototype.valueOf;for(var tt=0;tt<1e3;tt++)n[tt]=new o(tt),tt>0&&(n[-tt]=new o(-tt));return n.one=n[1],n.zero=n[0],n.minusOne=n[-1],n.max=M,n.min=L,n.gcd=$,n.lcm=I,n.isInstance=function(t){return t instanceof r||t instanceof o},n.randBetween=B,n}();void 0!==t&&t.hasOwnProperty("exports")&&(t.exports=e)}).call(e,n(79)(t))},function(t,e,n){(function(e){function r(t){o.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._decoder=null,this._encoding=null}var o=n(23).Transform,i=n(1),s=n(49).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(206)],r=a,void 0!==(i="function"==typeof r?r.apply(e,o):r)&&(t.exports=i)}(0,function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=function(t){return t&&t.__esModule?t:{default:t}}(e),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=document.body.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=(0,r.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,r.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"!==(void 0===t?"undefined":o(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=s})},function(t,e,n){var r,o,i;!function(s,a){o=[t,n(130),n(213),n(188)],r=a,void 0!==(i="function"==typeof r?r.apply(e,o):r)&&(t.exports=i)}(0,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)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}(f.default);t.exports=h})},function(t,e,n){n(165),t.exports=n(6).Object.assign},function(t,e,n){n(166);var r=n(6).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){n(167),t.exports=n(6).Object.keys},function(t,e,n){n(168),n(170),n(171),n(169),t.exports=n(6).Promise},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(42),o=n(68),i=n(161);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)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(143),i=n(142),s=n(15),a=n(68),u=n(163),c={},f={},e=t.exports=function(t,e,n,l,p){var h,d,v,g,m=p?function(){return t}:u(t),y=r(n,l,e?2:1),w=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(h=a(t.length);h>w;w++)if((g=e?y(s(d=t[w])[0],d[1]):y(t[w]))===c||g===f)return g}else for(v=m.call(t);!(d=v.next()).done;)if((g=o(v,y,d.value,e))===c||g===f)return g};e.BREAK=c,e.RETURN=f},function(t,e,n){t.exports=!n(16)&&!n(27)(function(){return 7!=Object.defineProperty(n(37)("div"),"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(20),o=n(4)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(15);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(149),o=n(65),i=n(39),s={};n(17)(s,n(4)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(4)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},t(i)}catch(t){}return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(5),o=n(67).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,u="process"==n(25)(s);t.exports=function(){var t,e,n,c=function(){var r,o;for(u&&(r=s.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){s.nextTick(c)};else if(i){var f=!0,l=document.createTextNode("");new i(c).observe(l,{characterData:!0}),n=function(){l.data=f=!f}}else if(a&&a.resolve){var p=a.resolve();n=function(){p.then(c)}}else n=function(){o.call(r,c)};return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e,n){"use strict";var r=n(38),o=n(151),i=n(154),s=n(43),a=n(62),u=Object.assign;t.exports=!u||n(27)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=s(t),u=arguments.length,c=1,f=o.f,l=i.f;u>c;)for(var p,h=a(arguments[c++]),d=f?r(h).concat(f(h)):r(h),v=d.length,g=0;v>g;)l.call(h,p=d[g++])&&(n[p]=h[p]);return n}:u},function(t,e,n){var r=n(15),o=n(150),i=n(60),s=n(40)("IE_PROTO"),a=function(){},u=function(){var t,e=n(37)("iframe"),r=i.length;for(e.style.display="none",n(61).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("